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,EACX,KAAK,CACN;WACI,CAAC;YACN,SAAS;gBACP,oCAAoC;oBACpC,iBAAiB,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,EAAE,IAAI,EAAE,MAAM,CAAC;oBAC3D,iBAAiB,CAAC,OAAO,CAAC,OAAO,EAAE,SAAS,EAAE,KAAK,EAAE,MAAM,CAAC;oBAC5D,QAAQ,CAAC;QACb,CAAC;QAED,OAAO,qFAAqF,iBAAiB,IAC3G,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC,EACrC,0DACE,MAAM,CAAC,EACT,uBAAuB,MAAM,CAAC,IAAI;;;UAG5B,cAAc;UACd,KAAK;UACL,eAAe;;;;YAKb,MAAM,YAAY,cAAc;YAC9B,CAAC,CAAC,cAAc,CAAC,OAAO,CACpB,aAAa,EACb,gDAAgD,EAChD,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EACzB,CAAC,WAAW,CAAC,EACb,CAAC,aAAa,CAAC,CAChB;YACH,CAAC,CAAC,EACN;YAEE,MAAM,YAAY,YAAY;YAC5B,CAAC,CAAC,cAAc,CAAC,OAAO,CACpB,OAAO,EACP,eAAe,EACf,MAAM,CAAC,WAAW,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,EACzB,CAAC,WAAW,CAAC,EACb,CAAC,aAAa,CAAC,CAChB;YACH,CAAC,CAAC,EACN;;UAEA,cAAc;UACd,SAAS;UACT,cAAc,CAAC,OAAO,CACtB,OAAO,EACP,eAAe,EACf,EAAE,EACF,CAAC,WAAW,CAAC,EACb,CAAC,oBAAoB,CAAC,CACvB;WACE,GAAG;;;WAGH,CAAC;IACV,CAAC;CACF","file":"daytool_templates.js","sourcesContent":["import { reset_casting, formatDate } from \"../../helpers.js\";\r\nimport {\r\n daytool_case,\r\n daytool_entity,\r\n daytool_event,\r\n daytool_feed,\r\n daytool_goal,\r\n daytool_need,\r\n daytool_note,\r\n daytool_person,\r\n daytool_plan,\r\n daytool_stat,\r\n} from \"../daytool_entity.js\";\r\nimport { daytool_buttons } from \"./daytool_buttons.js\";\r\nimport { daytool_injector } from \"./daytool_injector.js\";\r\nimport { daytool_inputs } from \"./daytool_inputs.js\";\r\nimport { DAYTOOL } from \"../daytool.js\";\r\nimport { daytool_plan_item } from \"./daytool_plan.js\";\r\nimport { MONTHS_ABV } from \"../.././constants.js\";\r\n\r\nexport class daytool_templates {\r\n // All interactable buttons are pills\r\n static Pill(\r\n container_classes: string,\r\n minimized: boolean,\r\n minimized_active: boolean,\r\n active: boolean,\r\n highlight: boolean,\r\n icon: boolean,\r\n icon_size_px: number,\r\n icon_classes: string,\r\n icon_img_class: string,\r\n microicon: boolean,\r\n microicon_classes: string,\r\n microicon_img_class: string,\r\n label: boolean,\r\n label_text: string,\r\n label_classes: string,\r\n action: boolean,\r\n action_type: string,\r\n action_parameters: string[],\r\n action_args: string[]\r\n ): string {\r\n // Build container_html\r\n var container_html = `