zignal-stencil-library 1.1.203 → 1.1.204

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (240) hide show
  1. package/dist/cjs/{autocomplete-address_46.cjs.entry.js → autocomplete-address_47.cjs.entry.js} +218 -86
  2. package/dist/cjs/create-master-data-dialog.master-data-item.entry.cjs.js.map +1 -1
  3. package/dist/cjs/create-master-data-dialog_2.cjs.entry.js +6 -6
  4. package/dist/cjs/{icon-svg-BqYq756b.js → icon-svg-CGcEST80.js} +5 -3
  5. package/dist/{esm/icon-svg--8GeUz-y.js.map → cjs/icon-svg-CGcEST80.js.map} +1 -1
  6. package/dist/cjs/{index-tLvGuETS.js → index-DaHyy2aG.js} +21 -3
  7. package/dist/cjs/{index-tLvGuETS.js.map → index-DaHyy2aG.js.map} +1 -1
  8. package/dist/cjs/{index-B6QjP10w.js → index-GQ_IlGv9.js} +24 -4
  9. package/dist/cjs/{index-B6QjP10w.js.map → index-GQ_IlGv9.js.map} +1 -1
  10. package/dist/cjs/index.cjs.js +1 -1
  11. package/dist/cjs/loader.cjs.js +1 -1
  12. package/dist/cjs/master-status-app.cjs.entry.js +4 -4
  13. package/dist/cjs/master-tag-app.cjs.entry.js +5 -5
  14. package/dist/cjs/master-tag-app.entry.cjs.js.map +1 -1
  15. package/dist/cjs/quick-message-app.cjs.entry.js +3 -3
  16. package/dist/cjs/{store-CqwN580I.js → store-BoPqQ7tN.js} +3 -3
  17. package/dist/cjs/{store-CqwN580I.js.map → store-BoPqQ7tN.js.map} +1 -1
  18. package/dist/cjs/{z-input-CBSYTeCa.js → z-input-TfBu5gkx.js} +58 -58
  19. package/dist/cjs/{z-input-CBSYTeCa.js.map → z-input-TfBu5gkx.js.map} +1 -1
  20. package/dist/cjs/zignal-stencil-library.cjs.js +1 -1
  21. package/dist/collection/api/index.js +16 -0
  22. package/dist/collection/api/index.js.map +1 -1
  23. package/dist/collection/api/type.js.map +1 -1
  24. package/dist/collection/collection-manifest.json +1 -0
  25. package/dist/collection/components/autocomplete-address/autocomplete-address.css +1 -1
  26. package/dist/collection/components/autocomplete-multiple-select/autocomplete-multiple-select.css +1 -1
  27. package/dist/collection/components/autocomplete-select/autocomplete-select.css +1 -1
  28. package/dist/collection/components/background-jobs/background-jobs.css +1 -1
  29. package/dist/collection/components/channel-box/channel-box.css +1 -1
  30. package/dist/collection/components/chat-app/chat-app.css +1 -1
  31. package/dist/collection/components/chat-header/chat-header.css +1 -1
  32. package/dist/collection/components/chat-input/chat-input.css +1 -1
  33. package/dist/collection/components/checkbox-list/checkbox-list.css +1 -1
  34. package/dist/collection/components/create-master-data-dialog/create-master-data-dialog.css +1 -1
  35. package/dist/collection/components/dialog-bill-editor/dialog-bill-editor.css +1 -1
  36. package/dist/collection/components/dialog-custom-filter/dialog-custom-filter.css +1 -1
  37. package/dist/collection/components/dialog-editor/dialog-editor.css +1 -1
  38. package/dist/collection/components/dialog-preview-media/dialog-preview-media.css +1 -1
  39. package/dist/collection/components/dialog-search/dialog-search.css +1 -1
  40. package/dist/collection/components/master-data-item/master-data-item.css +1 -1
  41. package/dist/collection/components/master-tag-app/master-tag-app.css +1 -1
  42. package/dist/collection/components/menu-chat-channel/menu-chat-channel.css +1 -1
  43. package/dist/collection/components/menu-chat-type/menu-chat-type.css +1 -1
  44. package/dist/collection/components/menu-list/menu-list.css +1 -1
  45. package/dist/collection/components/message-box/message-box.css +1 -1
  46. package/dist/collection/components/message-content/message-content.css +1 -1
  47. package/dist/collection/components/message-item/message-item.css +1 -1
  48. package/dist/collection/components/message-media/message-media.css +1 -1
  49. package/dist/collection/components/profile-cart-summary/profile-cart-summary.css +1 -0
  50. package/dist/collection/components/profile-cart-summary/profile-cart-summary.js +141 -0
  51. package/dist/collection/components/profile-cart-summary/profile-cart-summary.js.map +1 -0
  52. package/dist/collection/components/profile-history/profile-history.css +1 -1
  53. package/dist/collection/components/profile-history/profile-history.js +1 -1
  54. package/dist/collection/components/profile-info/profile-info.css +1 -1
  55. package/dist/collection/components/profile-info/user-info-section.js +5 -5
  56. package/dist/collection/components/profile-media/profile-media.css +1 -1
  57. package/dist/collection/components/profile-media/profile-media.js +1 -1
  58. package/dist/collection/components/profile-tabs/profile-tabs.css +1 -1
  59. package/dist/collection/components/profile-tabs/profile-tabs.js +20 -9
  60. package/dist/collection/components/profile-tabs/profile-tabs.js.map +1 -1
  61. package/dist/collection/components/quick-message-add-template/quick-message-add-template.css +1 -1
  62. package/dist/collection/components/quick-message-add-template/quick-message-add-template.js +3 -3
  63. package/dist/collection/components/quick-message-add-template/quick-message-text-content.js +1 -1
  64. package/dist/collection/components/quick-message-app/quick-message-app.js +1 -1
  65. package/dist/collection/components/quick-message-file/quick-message-file.css +1 -1
  66. package/dist/collection/components/quick-message-file/quick-message-file.js +1 -1
  67. package/dist/collection/components/quick-message-image/quick-message-image.css +1 -1
  68. package/dist/collection/components/quick-message-image/quick-message-image.js +1 -1
  69. package/dist/collection/components/quick-message-modal/quick-message-modal.css +1 -1
  70. package/dist/collection/components/quick-message-modal/quick-message-modal.js +1 -1
  71. package/dist/collection/components/quick-message-template/quick-message-template.css +1 -1
  72. package/dist/collection/components/quick-message-template/quick-message-template.js +3 -3
  73. package/dist/collection/components/search-box/search-box.css +1 -1
  74. package/dist/collection/components/search-box/search-box.js +5 -5
  75. package/dist/collection/components/status-badge/status-badge.css +1 -1
  76. package/dist/collection/components/status-badge/status-badge.js +2 -2
  77. package/dist/collection/components/tag-list/tag-list.css +1 -1
  78. package/dist/collection/components/tag-list/tag-list.js +1 -1
  79. package/dist/collection/components/tag-or-status-item/tag-or-status-item.css +1 -1
  80. package/dist/collection/components/tag-or-status-item/tag-or-status-item.js +2 -2
  81. package/dist/collection/components/tag-popper/tag-popper.css +1 -1
  82. package/dist/collection/components/tag-popper/tag-popper.js +2 -2
  83. package/dist/collection/components/typography-clamp/typography-clamp.css +1 -1
  84. package/dist/collection/components/typography-clamp/typography-clamp.js +2 -2
  85. package/dist/collection/components/z-avatar/z-avatar.css +1 -1
  86. package/dist/collection/components/z-dialog/z-dialog.css +1 -1
  87. package/dist/collection/components/z-tooltip/z-tooltip.css +1 -1
  88. package/dist/collection/utils/icon-svg.js +1 -0
  89. package/dist/collection/utils/icon-svg.js.map +1 -1
  90. package/dist/components/autocomplete-address2.js +1 -1
  91. package/dist/components/autocomplete-address2.js.map +1 -1
  92. package/dist/components/autocomplete-multiple-select2.js +1 -1
  93. package/dist/components/autocomplete-multiple-select2.js.map +1 -1
  94. package/dist/components/autocomplete-select2.js +1 -1
  95. package/dist/components/autocomplete-select2.js.map +1 -1
  96. package/dist/components/background-jobs2.js +3 -3
  97. package/dist/components/background-jobs2.js.map +1 -1
  98. package/dist/components/channel-box2.js +1 -1
  99. package/dist/components/channel-box2.js.map +1 -1
  100. package/dist/components/chat-app.js +47 -41
  101. package/dist/components/chat-app.js.map +1 -1
  102. package/dist/components/chat-header2.js +2 -2
  103. package/dist/components/chat-header2.js.map +1 -1
  104. package/dist/components/chat-input2.js +1 -1
  105. package/dist/components/chat-input2.js.map +1 -1
  106. package/dist/components/checkbox-list2.js +1 -1
  107. package/dist/components/checkbox-list2.js.map +1 -1
  108. package/dist/components/create-master-data-dialog2.js +1 -1
  109. package/dist/components/create-master-data-dialog2.js.map +1 -1
  110. package/dist/components/dialog-bill-editor2.js +1 -1
  111. package/dist/components/dialog-bill-editor2.js.map +1 -1
  112. package/dist/components/dialog-custom-filter2.js +1 -1
  113. package/dist/components/dialog-custom-filter2.js.map +1 -1
  114. package/dist/components/dialog-editor2.js +1 -1
  115. package/dist/components/dialog-editor2.js.map +1 -1
  116. package/dist/components/dialog-preview-media2.js +1 -1
  117. package/dist/components/dialog-preview-media2.js.map +1 -1
  118. package/dist/components/dialog-search2.js +1 -1
  119. package/dist/components/dialog-search2.js.map +1 -1
  120. package/dist/components/icon-svg.js +2 -1
  121. package/dist/components/icon-svg.js.map +1 -1
  122. package/dist/components/icon.js +55 -55
  123. package/dist/components/icon.js.map +1 -1
  124. package/dist/components/index.js +22 -2
  125. package/dist/components/index.js.map +1 -1
  126. package/dist/components/index3.js +17 -1
  127. package/dist/components/index3.js.map +1 -1
  128. package/dist/components/master-data-item2.js +1 -1
  129. package/dist/components/master-data-item2.js.map +1 -1
  130. package/dist/components/master-status-app.js +1 -1
  131. package/dist/components/master-tag-app.js +2 -2
  132. package/dist/components/master-tag-app.js.map +1 -1
  133. package/dist/components/menu-chat-channel2.js +1 -1
  134. package/dist/components/menu-chat-channel2.js.map +1 -1
  135. package/dist/components/menu-chat-type2.js +1 -1
  136. package/dist/components/menu-chat-type2.js.map +1 -1
  137. package/dist/components/menu-list2.js +1 -1
  138. package/dist/components/menu-list2.js.map +1 -1
  139. package/dist/components/message-box2.js +1 -1
  140. package/dist/components/message-box2.js.map +1 -1
  141. package/dist/components/message-content2.js +1 -1
  142. package/dist/components/message-content2.js.map +1 -1
  143. package/dist/components/message-item2.js +1 -1
  144. package/dist/components/message-item2.js.map +1 -1
  145. package/dist/components/message-media2.js +1 -1
  146. package/dist/components/message-media2.js.map +1 -1
  147. package/dist/components/message.js +1 -1
  148. package/dist/components/profile-cart-summary.d.ts +11 -0
  149. package/dist/components/profile-cart-summary.js +9 -0
  150. package/dist/components/profile-cart-summary.js.map +1 -0
  151. package/dist/components/profile-cart-summary2.js +154 -0
  152. package/dist/components/profile-cart-summary2.js.map +1 -0
  153. package/dist/components/profile-history2.js +3 -3
  154. package/dist/components/profile-history2.js.map +1 -1
  155. package/dist/components/profile-info2.js +2 -2
  156. package/dist/components/profile-info2.js.map +1 -1
  157. package/dist/components/profile-media2.js +2 -2
  158. package/dist/components/profile-media2.js.map +1 -1
  159. package/dist/components/profile-tabs2.js +35 -18
  160. package/dist/components/profile-tabs2.js.map +1 -1
  161. package/dist/components/quick-message-add-template2.js +4 -4
  162. package/dist/components/quick-message-add-template2.js.map +1 -1
  163. package/dist/components/quick-message-app.js +1 -1
  164. package/dist/components/quick-message-file2.js +2 -2
  165. package/dist/components/quick-message-file2.js.map +1 -1
  166. package/dist/components/quick-message-image2.js +2 -2
  167. package/dist/components/quick-message-image2.js.map +1 -1
  168. package/dist/components/quick-message-modal2.js +2 -2
  169. package/dist/components/quick-message-modal2.js.map +1 -1
  170. package/dist/components/quick-message-template2.js +4 -4
  171. package/dist/components/quick-message-template2.js.map +1 -1
  172. package/dist/components/quick-message-text-content2.js +1 -1
  173. package/dist/components/search-box2.js +6 -6
  174. package/dist/components/search-box2.js.map +1 -1
  175. package/dist/components/status-badge2.js +3 -3
  176. package/dist/components/status-badge2.js.map +1 -1
  177. package/dist/components/summarize-message-section2.js +1 -1
  178. package/dist/components/summarize-message-section2.js.map +1 -1
  179. package/dist/components/tag-list2.js +2 -2
  180. package/dist/components/tag-list2.js.map +1 -1
  181. package/dist/components/tag-or-status-item2.js +3 -3
  182. package/dist/components/tag-or-status-item2.js.map +1 -1
  183. package/dist/components/tag-popper2.js +3 -3
  184. package/dist/components/tag-popper2.js.map +1 -1
  185. package/dist/components/typography-clamp2.js +3 -3
  186. package/dist/components/typography-clamp2.js.map +1 -1
  187. package/dist/components/user-info-section2.js +7 -7
  188. package/dist/components/user-info-section2.js.map +1 -1
  189. package/dist/components/z-avatar2.js +1 -1
  190. package/dist/components/z-avatar2.js.map +1 -1
  191. package/dist/components/z-dialog2.js +1 -1
  192. package/dist/components/z-dialog2.js.map +1 -1
  193. package/dist/components/z-tooltip2.js +1 -1
  194. package/dist/components/z-tooltip2.js.map +1 -1
  195. package/dist/esm/{autocomplete-address_46.entry.js → autocomplete-address_47.entry.js} +218 -87
  196. package/dist/esm/create-master-data-dialog.master-data-item.entry.js.map +1 -1
  197. package/dist/esm/create-master-data-dialog_2.entry.js +6 -6
  198. package/dist/{zignal-stencil-library/icon-svg--8GeUz-y.js → esm/icon-svg-CVIP7oOf.js} +5 -4
  199. package/dist/{zignal-stencil-library/icon-svg--8GeUz-y.js.map → esm/icon-svg-CVIP7oOf.js.map} +1 -1
  200. package/dist/esm/{index-Cx-o7KBa.js → index-BKcCAjDn.js} +20 -4
  201. package/dist/{zignal-stencil-library/index-Cx-o7KBa.js.map → esm/index-BKcCAjDn.js.map} +1 -1
  202. package/dist/esm/{index-D1QcrFnO.js → index-DQUcZi9F.js} +24 -4
  203. package/dist/esm/{index-D1QcrFnO.js.map → index-DQUcZi9F.js.map} +1 -1
  204. package/dist/esm/index.js +1 -1
  205. package/dist/esm/loader.js +1 -1
  206. package/dist/esm/master-status-app.entry.js +4 -4
  207. package/dist/esm/master-tag-app.entry.js +5 -5
  208. package/dist/esm/master-tag-app.entry.js.map +1 -1
  209. package/dist/esm/quick-message-app.entry.js +3 -3
  210. package/dist/{zignal-stencil-library/store-C3fWMAaY.js → esm/store-CROYTjew.js} +3 -3
  211. package/dist/esm/{store-C3fWMAaY.js.map → store-CROYTjew.js.map} +1 -1
  212. package/dist/esm/{z-input-CLVePWUU.js → z-input-A_SgwIim.js} +58 -58
  213. package/dist/esm/{z-input-CLVePWUU.js.map → z-input-A_SgwIim.js.map} +1 -1
  214. package/dist/esm/zignal-stencil-library.js +1 -1
  215. package/dist/types/api/index.d.ts +2 -0
  216. package/dist/types/api/type.d.ts +23 -0
  217. package/dist/types/components/profile-cart-summary/profile-cart-summary.d.ts +18 -0
  218. package/dist/types/components/profile-tabs/profile-tabs.d.ts +2 -1
  219. package/dist/types/components.d.ts +13 -0
  220. package/dist/types/utils/icon-svg.d.ts +1 -0
  221. package/dist/zignal-stencil-library/{autocomplete-address_46.entry.js → autocomplete-address_47.entry.js} +218 -87
  222. package/dist/zignal-stencil-library/create-master-data-dialog.master-data-item.entry.esm.js.map +1 -1
  223. package/dist/zignal-stencil-library/create-master-data-dialog_2.entry.js +6 -6
  224. package/dist/{esm/icon-svg--8GeUz-y.js → zignal-stencil-library/icon-svg-CVIP7oOf.js} +5 -4
  225. package/dist/{cjs/icon-svg-BqYq756b.js.map → zignal-stencil-library/icon-svg-CVIP7oOf.js.map} +1 -1
  226. package/dist/zignal-stencil-library/{index-Cx-o7KBa.js → index-BKcCAjDn.js} +20 -4
  227. package/dist/{esm/index-Cx-o7KBa.js.map → zignal-stencil-library/index-BKcCAjDn.js.map} +1 -1
  228. package/dist/zignal-stencil-library/{index-D1QcrFnO.js → index-DQUcZi9F.js} +24 -4
  229. package/dist/zignal-stencil-library/{index-D1QcrFnO.js.map → index-DQUcZi9F.js.map} +1 -1
  230. package/dist/zignal-stencil-library/index.esm.js +1 -1
  231. package/dist/zignal-stencil-library/master-status-app.entry.js +4 -4
  232. package/dist/zignal-stencil-library/master-tag-app.entry.esm.js.map +1 -1
  233. package/dist/zignal-stencil-library/master-tag-app.entry.js +5 -5
  234. package/dist/zignal-stencil-library/quick-message-app.entry.js +3 -3
  235. package/dist/{esm/store-C3fWMAaY.js → zignal-stencil-library/store-CROYTjew.js} +3 -3
  236. package/dist/zignal-stencil-library/{store-C3fWMAaY.js.map → store-CROYTjew.js.map} +1 -1
  237. package/dist/zignal-stencil-library/{z-input-CLVePWUU.js → z-input-A_SgwIim.js} +58 -58
  238. package/dist/zignal-stencil-library/{z-input-CLVePWUU.js.map → z-input-A_SgwIim.js.map} +1 -1
  239. package/dist/zignal-stencil-library/zignal-stencil-library.esm.js +1 -1
  240. package/package.json +3 -3
@@ -1,8 +1,8 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-DPhBM48K.js');
4
- var index$1 = require('./index-B6QjP10w.js');
5
- var store = require('./store-CqwN580I.js');
4
+ var index$1 = require('./index-GQ_IlGv9.js');
5
+ var store = require('./store-BoPqQ7tN.js');
6
6
  var dayjs = require('./dayjs-DJhkF-a1.js');
7
7
 
8
8
  const quickMessageAppCss = "@layer base{*,::backdrop,:after,:before{--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-alpha:100%;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-offset-width:0;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-drop-shadow-alpha:100%;--tw-border-style:solid;border:0 solid;box-sizing:border-box;margin:0;padding:0}}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid}}}@layer theme{:host,:root{--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace;--color-red-500:oklch(63.7% .237 25.331);--color-blue-600:oklch(54.6% .245 262.881);--color-gray-300:oklch(87.2% .01 258.338);--color-gray-500:oklch(55.1% .027 264.364);--color-black:#000;--color-white:#fff;--spacing:.25rem;--text-xs:.75rem;--text-xs--line-height:1.33333;--text-sm:.875rem;--text-sm--line-height:1.42857;--text-base:1rem;--text-base--line-height:1.5;--text-lg:1.125rem;--text-lg--line-height:1.55556;--font-weight-medium:500;--radius-sm:.25rem;--radius-md:.375rem;--radius-lg:.5rem;--radius-xl:.75rem;--radius-2xl:1rem;--radius-3xl:1.5rem;--default-transition-duration:.15s;--default-transition-timing-function:cubic-bezier(.4,0,.2,1);--default-font-family:\"Kanit\",var(--default-font);--default-mono-font-family:var(--font-mono);--default-font:ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\";--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-surface:#000;--color-paper:#f3f4f6;--color-divider:#e5e7eb;--color-theme-gray:#6b7280;--color-overlay:#0000004d;--color-selected:#fdeef1}}@layer base{::file-selector-button{appearance:button;background-color:#0000;border:0 solid;border-radius:0;box-sizing:border-box;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;margin:0;margin-inline-end:4px;opacity:1;padding:0}:host,html{-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\",\"Segoe UI Symbol\",\"Noto Color Emoji\");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);tab-size:4;-webkit-tap-highlight-color:transparent;line-height:1.5}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,\"Liberation Mono\",\"Courier New\",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}button,input,optgroup,select,textarea{background-color:#0000;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::placeholder{opacity:1}@supports (not ((-webkit-appearance:-apple-pay-button))) or (contain-intrinsic-size:1px){::placeholder{color:currentColor}@supports (color:color-mix(in lab,red,red)){::placeholder{color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;min-height:1.5em;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit,::-webkit-datetime-edit-year-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-month-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-minute-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-second-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-datetime-edit-meridiem-field{padding-block:0;padding-bottom:0;padding-top:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}button,input:where([type=button],[type=reset],[type=submit]){appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}[multiple],[type=date],[type=datetime-local],[type=email],[type=month],[type=number],[type=password],[type=search],[type=tel],[type=text],[type=time],[type=url],[type=week],input:where(:not([type])),select,textarea{appearance:none;--tw-shadow:0 0 #0000;background-color:#fff;border-color:oklch(55.1% .027 264.364);border-radius:0;border-width:1px;font-size:1rem;line-height:1.5rem;padding:.5rem .75rem}:is([type=text],input:where(:not([type])),[type=email],[type=url],[type=password],[type=number],[type=date],[type=datetime-local],[type=month],[type=search],[type=tel],[type=time],[type=week],[multiple],textarea,select):focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(1px + var(--tw-ring-offset-width))var(--tw-ring-color);border-color:oklch(54.6% .245 262.881);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}input::placeholder,textarea::placeholder{color:oklch(55.1% .027 264.364);opacity:1}::-webkit-datetime-edit-fields-wrapper{padding:0}select{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3E%3Cpath stroke='oklch(55.1%25 0.027 264.364)' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3E%3C/svg%3E\");background-position:right .5rem center;background-repeat:no-repeat;background-size:1.5em 1.5em;padding-right:2.5rem;print-color-adjust:exact}[multiple],[size]:where(select:not([size=\"1\"])){background-image:none;background-position:0 0;background-repeat:unset;background-size:initial;padding-right:.75rem;print-color-adjust:unset}[type=checkbox],[type=radio]{appearance:none;color:oklch(54.6% .245 262.881);print-color-adjust:exact;-webkit-user-select:none;user-select:none;vertical-align:middle;--tw-shadow:0 0 #0000;background-color:#fff;background-origin:border-box;border-color:oklch(55.1% .027 264.364);border-width:1px;display:inline-block;flex-shrink:0;height:1rem;padding:0;width:1rem}[type=checkbox]{border-radius:0}[type=radio]{border-radius:100%}[type=checkbox]:focus,[type=radio]:focus{outline-offset:2px;--tw-ring-inset:var(--tw-empty, );--tw-ring-offset-width:2px;--tw-ring-offset-color:#fff;--tw-ring-color:oklch(54.6% .245 262.881);--tw-ring-offset-shadow:var(--tw-ring-inset)0 0 0 var(--tw-ring-offset-width)var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset)0 0 0 calc(2px + var(--tw-ring-offset-width))var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);outline:2px solid #0000}[type=checkbox]:checked,[type=radio]:checked{background-color:currentColor;background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Cpath d='M12.207 4.793a1 1 0 0 1 0 1.414l-5 5a1 1 0 0 1-1.414 0l-2-2a1 1 0 0 1 1.414-1.414L6.5 9.086l4.293-4.293a1 1 0 0 1 1.414 0'/%3E%3C/svg%3E\")}[type=radio]:checked{background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23fff' viewBox='0 0 16 16'%3E%3Ccircle cx='8' cy='8' r='3'/%3E%3C/svg%3E\")}[type=checkbox]:checked:focus,[type=checkbox]:checked:hover,[type=radio]:checked:focus,[type=radio]:checked:hover{background-color:currentColor;border-color:#0000}[type=checkbox]:indeterminate{background-color:currentColor;background-image:url(\"data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 16 16'%3E%3Cpath stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M4 8h8'/%3E%3C/svg%3E\");background-position:50%;background-repeat:no-repeat;background-size:100% 100%;border-color:#0000}[type=checkbox]:indeterminate:focus,[type=checkbox]:indeterminate:hover{background-color:currentColor;border-color:#0000}[type=file]{background:unset;border-color:inherit;border-radius:0;border-width:0;font-size:unset;line-height:inherit;padding:0}[type=file]:focus{outline:1px solid buttontext;outline:1px auto -webkit-focus-ring-color}}@layer components{.dialog-backdrop{align-items:center;background-color:#0006;display:flex;inset:calc(var(--spacing)*0);justify-content:center;position:fixed;z-index:50}@supports (color:color-mix(in lab,red,red)){.dialog-backdrop{background-color:color-mix(in oklab,var(--color-black)40%,transparent);background-color:color-mix(in srgb,#00040%,transparent)}}.chat-item{border-radius:var(--radius-xl);cursor:pointer;margin-block:calc(var(--spacing)*1);margin-inline:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4);--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,#0000001a),0 1px 2px -1px var(--tw-shadow-color,#0000001a);align-items:flex-start;box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:flex;position:relative}:where(.chat-item>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-pin{position:absolute;right:calc(var(--spacing)*-3);top:calc(var(--spacing)*1)}.chat-item .chat-item-pin-icon{fill:currentColor;height:calc(var(--spacing)*3);rotate:45deg;width:calc(var(--spacing)*3)}.chat-item .chat-item-content-container{display:flex;flex-direction:row;width:100%}:where(.chat-item .chat-item-content-container>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}.chat-item .chat-item-avatar-wrapper{align-self:center;flex-shrink:0;position:relative}.chat-item .chat-item-avatar-badge{bottom:calc(var(--spacing)*-.5);position:absolute;right:calc(var(--spacing)*-.5)}.chat-item .chat-item-content-wrapper{min-height:calc(var(--spacing)*18);width:100%}.chat-item .chat-item-content-main{align-items:center;display:flex}:where(.chat-item .chat-item-content-main>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}.chat-item .chat-item-content-main-image{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.chat-item .chat-item-content-main-name{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-main-time{color:var(--color-gray-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-secondary{align-items:flex-start;display:flex;flex-direction:row;width:100%}.chat-item .chat-item-content-secondary-nickname{font-size:var(--text-base);line-height:var(--tw-leading,var(--text-base--line-height))}.chat-item .chat-item-content-secondary-message,.chat-item .chat-item-content-secondary-nickname{color:var(--color-surface);-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-secondary-message{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.chat-item .chat-item-content-unread{background-color:var(--color-primary);border-radius:3.40282e+38px;color:var(--color-white);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-left:auto}.chat-item .chat-item-content-unread-mark{display:inline-block;height:calc(var(--spacing)*2.5);width:calc(var(--spacing)*2.5)}.chat-item .chat-item-content-unread-count{padding-block:calc(var(--spacing)*.5);padding-inline:calc(var(--spacing)*2)}.z-icon-button{cursor:pointer;font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-icon-button:focus{--tw-outline-style:none;outline-style:none}.z-icon-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-icon-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-icon-button-disabled{cursor:not-allowed;opacity:.5}.z-button{cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-radius:3.40282e+38px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button:focus{--tw-outline-style:none;outline-style:none}.z-button-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-primary{background-color:var(--color-primary);color:var(--color-white)}.z-button-outlined{border-color:var(--color-primary);border-style:var(--tw-border-style);border-width:1px;color:var(--color-primary)}.z-button-disabled{cursor:not-allowed;opacity:.5}.z-button-text{margin-inline:calc(var(--spacing)*2);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.z-input-area-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input-area-input,.z-input-area-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input-area-input{background-color:var(--color-paper);border-color:var(--color-surface);border-radius:var(--radius-lg);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input-area-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-area-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-input-label{margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-input,.z-input-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-input{background-color:var(--color-background);border-color:var(--color-divider);border-radius:var(--radius-md);border-style:var(--tw-border-style);padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);--tw-ring-color:var(--color-primary);border-width:1px;width:100%}.z-input:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-input-error{color:var(--color-red-500);font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));margin-top:calc(var(--spacing)*1)}.z-select-input-label{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));margin-bottom:calc(var(--spacing)*1);--tw-font-weight:var(--font-weight-medium);display:block;font-weight:var(--font-weight-medium)}.z-tag-or-status-item{align-items:center;border-radius:var(--radius-2xl);gap:calc(var(--spacing)*2);padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*3);--tw-shadow:0 1px 2px 0 var(--tw-shadow-color,#0000000d);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow);display:inline-flex}.z-tag-or-status-item .z-tag-or-status-item-name{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));max-width:calc(var(--spacing)*20)}.z-tag-or-status-item .z-tag-or-status-item-icon{border-radius:3.40282e+38px;height:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-context-input{align-items:stretch;display:flex;flex-direction:row;margin-block:calc(var(--spacing)*1)}.z-context-input-key{background-color:var(--color-background);border-bottom-left-radius:var(--radius-3xl);border-color:var(--color-divider);border-style:var(--tw-border-style);border-top-left-radius:var(--radius-3xl);border-width:1px;color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);flex:1}.z-context-input-key:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-context-input-value{background-color:var(--color-background);border-bottom-right-radius:var(--radius-3xl);border-color:var(--color-primary);border-style:var(--tw-border-style);border-top-right-radius:var(--radius-3xl);border-width:1px;color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));max-height:6.4rem;min-height:2.4rem;padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*4);resize:none;width:100%;--tw-ring-color:var(--color-primary);flex:1}.z-context-input-value:focus{border-color:var(--color-primary);--tw-outline-style:none;outline-style:none}.z-text-with-link{color:var(--color-blue-600);text-decoration-line:underline}.z-button-group{display:inline-flex}.z-button-group-tab{border-radius:var(--radius-md);display:flex;gap:calc(var(--spacing)*1);padding:calc(var(--spacing)*.5)!important}.z-button-group-tab-overlay{background-color:var(--color-overlay)}.z-button-group-item{border-style:var(--tw-border-style);cursor:pointer;--tw-font-weight:var(--font-weight-medium);align-items:center;border-width:1px;display:inline-flex;font-weight:var(--font-weight-medium);justify-content:center;transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,-webkit-backdrop-filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.z-button-group-item:focus{--tw-outline-style:none;outline-style:none}.z-button-group-item-tab{align-items:center;border-radius:var(--radius-sm);border-style:var(--tw-border-style)!important;border-width:0!important;display:flex;flex:1;flex-direction:column;gap:calc(var(--spacing)*2);justify-content:center;padding:calc(var(--spacing)*1)!important}.z-button-group-item-tab-selected{background-color:var(--color-white);--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-selected,.z-button-group-item-tab-unselected{border-style:var(--tw-border-style)!important;border-width:0!important}.z-button-group-small{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height));padding-block:calc(var(--spacing)*1.5);padding-inline:calc(var(--spacing)*2)}.z-button-group-medium{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height));padding-block:calc(var(--spacing)*2);padding-inline:calc(var(--spacing)*3)}.z-button-group-large{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height));padding-block:calc(var(--spacing)*3);padding-inline:calc(var(--spacing)*4)}.z-button-group-item-first{border-bottom-left-radius:3.40282e+38px;border-top-left-radius:3.40282e+38px}.z-button-group-item-last{border-bottom-right-radius:3.40282e+38px;border-top-right-radius:3.40282e+38px}.z-button-group-item-middle{border-radius:0}.z-button-group-item-primary-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-primary-unselected{background-color:var(--color-white);border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-outlined-selected{background-color:var(--color-primary);border-color:var(--color-primary);color:var(--color-white)}.z-button-group-item-outlined-unselected{background-color:#0000;border-color:var(--color-primary);color:var(--color-primary)}.z-button-group-item-disabled{cursor:not-allowed;opacity:.5}.z-button-group-item:not(:first-child){margin-left:-1px}.z-avatar-error{align-items:center;display:flex;justify-content:center}.z-avatar-2x-small{height:calc(var(--spacing)*3);min-height:calc(var(--spacing)*3);min-width:calc(var(--spacing)*3);width:calc(var(--spacing)*3)}.z-avatar-x-small{height:calc(var(--spacing)*4);min-height:calc(var(--spacing)*4);min-width:calc(var(--spacing)*4);width:calc(var(--spacing)*4)}.z-avatar-small{height:calc(var(--spacing)*8);min-height:calc(var(--spacing)*8);min-width:calc(var(--spacing)*8);width:calc(var(--spacing)*8)}.z-avatar-medium{height:calc(var(--spacing)*16);min-height:calc(var(--spacing)*16);min-width:calc(var(--spacing)*16);width:calc(var(--spacing)*16)}.z-avatar-large{height:calc(var(--spacing)*32);min-height:calc(var(--spacing)*32);min-width:calc(var(--spacing)*32);width:calc(var(--spacing)*32)}.z-avatar-full{height:100%;width:100%}.z-avatar-group{background-color:#023761;border-radius:3.40282e+38px}}@layer utilities{.contents{display:contents}.bg-background{background-color:var(--color-background)}.px-4{padding-inline:calc(var(--spacing)*4)}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-surface{color:var(--color-surface)}}[data-theme=light]{--color-primary:#e02848;--color-secondary:#023761;--color-background:#fff;--color-surface:#000;--color-paper:#f3f4f6;--color-divider:#e5e7eb;--color-theme-gray:#6b7280;--color-overlay:#0000004d;--color-selected:#fdeef1}[data-theme=dark]{--color-primary:#b50f30;--color-secondary:#fff;--color-background:#23292d;--color-surface:#fff;--color-paper:#374151;--color-divider:#4b5563;--color-theme-gray:#d1d5db;--color-overlay:#ffffff4d;--color-selected:#3a242e}.scroll-container::-webkit-scrollbar{background:#0000001a;height:8px;width:8px}.scroll-container:active::-webkit-scrollbar,.scroll-container:hover::-webkit-scrollbar{background:#0003}.scroll-container:active::-webkit-scrollbar-thumb,.scroll-container:hover::-webkit-scrollbar-thumb{background:#0006;border-radius:4px}.z-zwiz-max-height{height:100vh}.bg-time-badge{background-color:#0000004d}@supports (color:color-mix(in lab,red,red)){.bg-time-badge{background-color:color-mix(in srgb,var(--color-surface)30%,transparent);background-color:color-mix(in srgb,#00030%,transparent)}}.placeholder-surface::placeholder{color:var(--color-text-gray)}.z-width-100{width:100%}.z-width-90{width:90%}.z-width-75{width:75%}.z-width-50{width:50%}.z-width-25{width:25%}.z-width-0{width:0}.z-animate-width{transition-duration:.5s;transition-property:width;transition-timing-function:cubic-bezier(.4,0,.2,1)}.z-animate-grid-template-cols{transition:grid-template-rows .5s}[type=checkbox]{background-color:var(--color-gray-300);border-color:var(--color-gray-300);border-radius:4px;cursor:pointer}[type=checkbox]:checked,[type=checkbox]:indeterminate{background-color:var(--color-primary);border-color:var(--color-primary);border-radius:4px;cursor:pointer}[type=checkbox]:focus{offset:0;outline-offset:0;--tw-ring-color:var(--color-primary);outline:none}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.grid-cols-1{grid-template-columns:1fr}.grid-cols-1_3{grid-template-columns:1fr 3fr}.grid-cols-1_2_1{grid-template-columns:1fr 2fr 1fr}/*! tailwindcss v4.1.17 | MIT License | https://tailwindcss.com */@layer properties{@supports (((-webkit-hyphens:none)) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-space-x-reverse:0;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-font-weight:initial;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-border-style:solid}}}@layer base{}@layer components{.chat-item .chat-item-content-main-name,.chat-item .chat-item-content-main-time{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.chat-item .chat-item-content-secondary-message,.chat-item .chat-item-content-secondary-nickname{color:var(--color-surface);-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;overflow:hidden}.z-icon-button-outlined,.z-icon-button-text{color:var(--color-primary)}.z-input,.z-input-area-input,.z-input-area-label,.z-input-label{color:var(--color-surface);font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.z-button-group-item-tab,.z-button-group-item-tab-selected{border-style:var(--tw-border-style)!important;border-width:0!important}}.quick-message-app__host,:host{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr;max-height:var(--quick-message-app-max-height,calc(100vh - 120px));min-height:var(--quick-message-app-min-height,calc(100vh - 120px));overflow:hidden;width:100%}.quick-message-app__shell{box-sizing:border-box;height:100%;max-height:var(--quick-message-app-max-height,calc(100vh - 120px));min-height:var(--quick-message-app-min-height,calc(100vh - 120px));--quick-app-primary:var(--color-primary);--quick-modal-surface:var(--color-background);--quick-modal-primary:var(--quick-app-primary);--quick-modal-primary-soft:var(--quick-modal-primary);--quick-modal-primary-border:var(--quick-modal-primary);--quick-modal-primary-shadow:var(--quick-modal-primary);--quick-modal-primary-ghost:var(--quick-modal-primary);display:flex;flex:1;flex-direction:column;gap:8px;overflow:hidden}@supports (color:color-mix(in lab,red,red)){.quick-message-app__shell{--quick-modal-primary-soft:var(--quick-modal-primary);--quick-modal-primary-soft:color-mix(in srgb,var(--quick-modal-primary)14%,transparent);--quick-modal-primary-border:var(--quick-modal-primary);--quick-modal-primary-border:color-mix(in srgb,var(--quick-modal-primary)55%,transparent);--quick-modal-primary-shadow:var(--quick-modal-primary);--quick-modal-primary-shadow:color-mix(in srgb,var(--quick-modal-primary)22%,transparent);--quick-modal-primary-ghost:var(--quick-modal-primary);--quick-modal-primary-ghost:color-mix(in srgb,var(--quick-modal-primary)18%,var(--quick-modal-surface))}}.quick-message-app__host.z-background-dark .quick-message-app__shell{--quick-app-primary:var(--color-primary-dark);--quick-modal-surface:var(--color-background-dark)}.quick-message-app__header{display:flex;flex-direction:column;gap:12px}.quick-message-app__header-text h1{font-size:20px;font-weight:600;margin:0}.quick-message-app__header-text p{font-size:14px;margin:4px 0 0;opacity:.7}.quick-message-app__stats{display:flex;flex-wrap:wrap;font-size:12px;gap:12px;opacity:.8}.quick-message-app__tabs{border-bottom:1px solid #94a3b859;display:flex;gap:12px;padding-bottom:8px}.quick-message-app__tabs button{background:0 0;border:none;border-radius:9999px;color:inherit;cursor:pointer;font-weight:600;opacity:.7;padding:8px 20px;transition:background .2s,opacity .2s}.quick-message-app__tabs button.active{background:var(--quick-app-primary);color:var(--quick-app-primary);opacity:1}@supports (color:color-mix(in lab,red,red)){.quick-message-app__tabs button.active{background:var(--quick-app-primary);background:color-mix(in srgb,var(--quick-app-primary)14%,transparent)}}.quick-message-app__content{display:flex;flex-direction:column;overflow:hidden}.quick-message-app__content,.quick-message-app__content quick-message-file,.quick-message-app__content quick-message-image,.quick-message-app__content quick-message-template{flex:1;min-height:0;min-width:0}@property --tw-space-x-reverse{syntax:\"*\";inherits:false;initial-value:0}@property --tw-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:\"*\";inherits:false}@property --tw-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:\"*\";inherits:false}@property --tw-inset-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:\"*\";inherits:false}@property --tw-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:\"*\";inherits:false}@property --tw-inset-ring-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:\"*\";inherits:false}@property --tw-ring-offset-width{syntax:\"<length>\";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:\"*\";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:\"*\";inherits:false;initial-value:0 0 #0000}@property --tw-font-weight{syntax:\"*\";inherits:false}@property --tw-blur{syntax:\"*\";inherits:false}@property --tw-brightness{syntax:\"*\";inherits:false}@property --tw-contrast{syntax:\"*\";inherits:false}@property --tw-grayscale{syntax:\"*\";inherits:false}@property --tw-hue-rotate{syntax:\"*\";inherits:false}@property --tw-invert{syntax:\"*\";inherits:false}@property --tw-opacity{syntax:\"*\";inherits:false}@property --tw-saturate{syntax:\"*\";inherits:false}@property --tw-sepia{syntax:\"*\";inherits:false}@property --tw-drop-shadow{syntax:\"*\";inherits:false}@property --tw-drop-shadow-color{syntax:\"*\";inherits:false}@property --tw-drop-shadow-alpha{syntax:\"<percentage>\";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:\"*\";inherits:false}@property --tw-border-style{syntax:\"*\";inherits:false;initial-value:solid}@media (forced-colors:active){[type=checkbox]:checked,[type=radio]:checked{appearance:auto}[type=checkbox]:indeterminate{appearance:auto}[type=checkbox]:checked,[type=checkbox]:indeterminate,[type=radio]:checked{appearance:auto}}@media (hover:hover){.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-tab:hover{--tw-shadow:0 4px 6px -1px var(--tw-shadow-color,#0000001a),0 2px 4px -2px var(--tw-shadow-color,#0000001a);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.z-button-group-item-tab-unselected:hover{background-color:var(--color-white)}.z-button-group-item-primary-unselected:hover{--tw-brightness:brightness(95%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}.z-button-group-item-outlined-unselected:hover{background-color:#e028481a}@supports (color:color-mix(in lab,red,red)){.z-button-group-item-outlined-unselected:hover{background-color:color-mix(in oklab,var(--color-primary)10%,transparent);background-color:color-mix(in srgb,#e0284810%,transparent)}}.z-button-outlined:hover,.z-button-primary:hover,.z-icon-button-outlined:hover,.z-icon-button-primary:hover,.z-icon-button-text:hover{--tw-brightness:brightness(110%);filter:var(--tw-blur,)var(--tw-brightness,)var(--tw-contrast,)var(--tw-grayscale,)var(--tw-hue-rotate,)var(--tw-invert,)var(--tw-saturate,)var(--tw-sepia,)var(--tw-drop-shadow,)}}@media screen and (min-width:0){.z-max-height{height:calc(100vh - 56px)}}@media screen and (min-width:600px){.z-max-height{height:calc(100vh - 64px)}}@media (min-width:768px){.quick-message-app__header{align-items:flex-start;flex-direction:row;justify-content:space-between}.quick-message-app__header-text{max-width:480px}}@media (max-width:640px){.quick-message-app__shell{padding:16px}}";
@@ -202,7 +202,7 @@ const QuickMessageAppComponent = class {
202
202
  render() {
203
203
  const t = store.useTranslation();
204
204
  const theme = store.configStore.get('theme');
205
- return (index.h(index.Host, { key: '333cb094bd4a886d27c9be10bbb95aa4c3b30924', class: "quick-message-app__host bg-background text-surface", "data-theme": theme }, index.h("div", { key: 'eafe697c27a3a737fcbcc5c5b1c8b57141e5bce6', class: "quick-message-app__shell px-4" }, index.h("header", { key: '2ad9866e8155ff25dd38c3f4f490d58fdb98c2a5', class: "quick-message-app__header" }, index.h("div", { key: '6488bcda3abea7a67de75b37e7f9c9b3905ddb0c', class: "quick-message-app__header-text" }, index.h("h1", { key: 'c46ce60cfbb06a722c47d3cd38b2f4b0a9d2ebbc' }, t('quick_message.title')))), index.h("nav", { key: 'a9761a4059e69837429206aa4ae3d51296c31e43', class: "quick-message-app__tabs text-sm" }, index.h("button", { key: '32298673acd7d8dcc8fced5813d56c2085640d93', type: "button", class: this.activeTab === 'template' ? 'active' : '', onClick: () => this.setActiveTab('template') }, t('quick_message.tab_template')), index.h("button", { key: '791fd177d978658ce532f3b5fb069cda176e0c23', type: "button", class: this.activeTab === 'image' ? 'active' : '', onClick: () => this.setActiveTab('image') }, t('image')), index.h("button", { key: '4fb0897ce2077d1a24799c454f8832b51ed8da2f', type: "button", class: this.activeTab === 'file' ? 'active' : '', onClick: () => this.setActiveTab('file') }, t('file'))), index.h("section", { key: 'e308372e7dc58ac62539284d4ea754e232903628', class: "quick-message-app__content" }, this.activeTab === 'template' && index.h("quick-message-template", { key: '25e12e4a063828970c2276106fb982e37204d31e', value: this.templates, onTemplatesChange: event => this.handleTemplatesChange(event), isMaster: true }), this.activeTab === 'image' && index.h("quick-message-image", { key: 'e0289feccafc83efb1749a029d71184f3a577a99', value: this.images, onImagesChange: event => this.handleImagesChange(event), isMaster: true }), this.activeTab === 'file' && index.h("quick-message-file", { key: '88e30c747b51b01c1801454f9d3c5535477b106b', value: this.files, onFilesChange: event => this.handleFilesChange(event), isMaster: true }))), index.h("z-dialog", { key: '5e2c8e14a1b79118a8a059f65c1d656ea4356158' })));
205
+ return (index.h(index.Host, { key: 'b9444ee6c9ddce6794616385499adc53cb23de09', class: "quick-message-app__host bg-background text-surface", "data-theme": theme }, index.h("div", { key: '788a904d0b78f4354b0639c0ec26e728c79fb7ea', class: "quick-message-app__shell px-4" }, index.h("header", { key: 'b0c063085252958bece4583aba430931165b32bd', class: "quick-message-app__header" }, index.h("div", { key: 'bcf2afcb3c93100aa90afdbc2ac213805acc58c3', class: "quick-message-app__header-text" }, index.h("h1", { key: 'a5c33b9713872758c3744eaf365a63f264e00303' }, t('quick_message.title')))), index.h("nav", { key: '2a6fe0fe9dc1b30470780c2e1ce5f2b118e7249a', class: "quick-message-app__tabs text-sm" }, index.h("button", { key: 'd15e357a295cd78cf50e3ea8f6c7713f7dbd1391', type: "button", class: this.activeTab === 'template' ? 'active' : '', onClick: () => this.setActiveTab('template') }, t('quick_message.tab_template')), index.h("button", { key: '2f3557f02bc48b203fca5541763d401368418ffc', type: "button", class: this.activeTab === 'image' ? 'active' : '', onClick: () => this.setActiveTab('image') }, t('image')), index.h("button", { key: '512785b12bbe9200e1cc31c95bbec6760f9c1e53', type: "button", class: this.activeTab === 'file' ? 'active' : '', onClick: () => this.setActiveTab('file') }, t('file'))), index.h("section", { key: '692a7879873a08cc16e3a3ec49b7bcb40d1b3161', class: "quick-message-app__content" }, this.activeTab === 'template' && index.h("quick-message-template", { key: 'acbd6258b1bae373cda8bb022a1afbbda3b9e4b8', value: this.templates, onTemplatesChange: event => this.handleTemplatesChange(event), isMaster: true }), this.activeTab === 'image' && index.h("quick-message-image", { key: '9f64f14719f07126b6aecbc4121aa7f4e8f6bba6', value: this.images, onImagesChange: event => this.handleImagesChange(event), isMaster: true }), this.activeTab === 'file' && index.h("quick-message-file", { key: '63f831b0cb3885facfffd2c23f1a858b2e87bf95', value: this.files, onFilesChange: event => this.handleFilesChange(event), isMaster: true }))), index.h("z-dialog", { key: 'b5c573eb57781050ad3d47771cbfd9d679ebf50b' })));
206
206
  }
207
207
  static get watchers() { return {
208
208
  "languagePref": ["handleLanguageChange"],
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index = require('./index-B6QjP10w.js');
3
+ var index = require('./index-GQ_IlGv9.js');
4
4
  var index$1 = require('./index-DPhBM48K.js');
5
5
 
6
6
  function useTranslation() {
@@ -359,6 +359,6 @@ exports.translateStore = translateStore;
359
359
  exports.useTranslation = useTranslation;
360
360
  exports.userAddressStore = userAddressStore;
361
361
  exports.userStore = userStore;
362
- //# sourceMappingURL=store-CqwN580I.js.map
362
+ //# sourceMappingURL=store-BoPqQ7tN.js.map
363
363
 
364
- //# sourceMappingURL=store-CqwN580I.js.map
364
+ //# sourceMappingURL=store-BoPqQ7tN.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"store-CqwN580I.js","sources":["src/utils/utils.ts","../../node_modules/@stencil/store/dist/index.js","src/store/store.ts"],"sourcesContent":["import i18n from '../global/i18n';\n\nexport function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function useTranslation() {\n return i18n.t;\n}\n\nexport const rgbToHex = (rgb: string): string => {\n const values = rgb.match(/\\d+/g) || [];\n const hexValues = values.map(val => {\n const hex = parseInt(val, 10).toString(16);\n return hex.length === 1 ? '0' + hex : hex;\n });\n return '#' + hexValues.join('');\n};\n\nexport const calculateBrightness = (hexColor: string): number => {\n // Formula for calculating brightness: 0.299*R + 0.587*G + 0.114*B\n const r = parseInt(hexColor.substring(1, 3), 16);\n const g = parseInt(hexColor.substring(3, 5), 16);\n const b = parseInt(hexColor.substring(5, 7), 16);\n\n return 0.299 * r + 0.587 * g + 0.114 * b;\n};\n\nexport const getContrastColorHelper = (color: string, isInvert = false): string => {\n let hexColor = '#000';\n const format = color.includes('rgb') ? 'rgb' : 'hex';\n if (format === 'hex') {\n hexColor = color;\n } else if (format === 'rgb') {\n hexColor = rgbToHex(color);\n }\n\n const brightness = calculateBrightness(hexColor);\n if (isInvert) {\n return brightness > 128 ? '#fff' : '#000';\n }\n return brightness > 128 ? '#000' : '#fff';\n};\n\nexport function getRandomHexColor(): string {\n const hex = Math.floor(Math.random() * 0xffffff).toString(16);\n return `#${hex.padStart(6, '0')}`;\n}\n\nexport function base64ToFileList(base64Array: string[], filenames?: string[]): FileList {\n const dataTransfer = new DataTransfer();\n\n base64Array.forEach((base64, index) => {\n const arr = base64.split(',');\n const mimeMatch = arr[0].match(/:(.*?);/);\n const mime = mimeMatch ? mimeMatch[1] : 'image/png';\n const bstr = atob(arr[1]);\n let n = bstr.length;\n const u8arr = new Uint8Array(n);\n\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n);\n }\n\n const fileName = filenames && filenames.length > index ? filenames[index] : `image${index}.png`;\n const file = new File([u8arr], fileName, { type: mime });\n dataTransfer.items.add(file);\n });\n\n return dataTransfer.files;\n}\n\nexport const preventInputNoneBasicNumber = (event: any) => {\n return (['e', 'E', '+', '-', 'ArrowDown'].includes(event.key) || ((event.key === 'ArrowDown') && ((parseInt(event.target.value) === 0) || (event.target.value === '')))) && event.preventDefault()\n}\n\nexport const preventInputNoneBasicNumberAndDot = (event: any) => {\n return (['e', 'E', '+', '-', '.'].includes(event.key) || ((event.key === 'ArrowDown') && ((parseInt(event.target.value) === 0) || (event.target.value === '')))) && event.preventDefault()\n}\n","import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2_000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState ?? {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n // Track onChange listeners to enable removeListener functionality\n const changeListeners = new Map();\n const reset = () => {\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries(unwrap(defaultState) ?? {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const setHandler = (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n };\n const resetHandler = () => cb(unwrap(defaultState)[propName]);\n // Register the handlers\n const unSet = on('set', setHandler);\n const unReset = on('reset', resetHandler);\n // Track the relationship between the user callback and internal handlers\n changeListeners.set(cb, { setHandler, resetHandler, propName });\n return () => {\n unSet();\n unReset();\n changeListeners.delete(cb);\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n const removeListener = (propName, listener) => {\n const listenerInfo = changeListeners.get(listener);\n if (listenerInfo && listenerInfo.propName === propName) {\n // Remove the specific handlers that were created for this listener\n removeFromArray(handlers.set, listenerInfo.setHandler);\n removeFromArray(handlers.reset, listenerInfo.resetHandler);\n changeListeners.delete(listener);\n }\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n removeListener,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n","import { createStore } from '@stencil/store';\nimport * as Types from '../store/type';\nimport { GetChatMessagesResponse, GetChatsResponse, SearchChatsParams, ChatFilter, GetChatFilterConfigResponse, GetConnectionJobsResponse } from '../api/type';\n\nexport const configStore = createStore<Types.ConfigStore>({\n language: 'en',\n theme: 'light',\n businessId: null,\n shopId: null,\n accessToken: null,\n isProduction: false,\n timeZone: null,\n translationSettings: {\n is_auto: false,\n target_language: null,\n exclude_languages: [],\n },\n isNotConnected: false,\n isZwiz: false,\n connectionList: [],\n memberList: [],\n});\n\nexport const messagesStore = createStore<\n Omit<GetChatMessagesResponse, 'next' | 'prev'> & {\n loadedKeys: Set<string>;\n readsMap: Record<string, Types.ChatMessageReader[]>;\n jumpMessageId?: string;\n older?: {\n next?: string;\n prev?: string;\n };\n newer?: {\n next?: string;\n prev?: string;\n };\n }\n>({\n messages: [],\n reads: [],\n loadedKeys: new Set<string>(),\n readsMap: {},\n});\n\nexport const filterChatsStore = createStore<{ filterChat?: SearchChatsParams, filterType: 'quick' | 'advanced' | 'custom', filterConfig?: GetChatFilterConfigResponse }>({\n filterType: 'quick',\n});\n\nexport const statusesStore = createStore<{ statuses: Types.TTagOrStatusItem[] }>({\n statuses: [],\n});\n\nexport const tagsStore = createStore<{ tags: Types.TTagOrStatusItem[] }>({\n tags: [],\n});\n\nexport const chatsStore = createStore<GetChatsResponse & { loadedKeys: Set<string> }>({\n chats: [],\n loadedKeys: new Set<string>(),\n});\n\nexport const userStore = createStore<{ user: Types.UserItem | null }>({\n user: null,\n});\n\nexport const userAddressStore = createStore<{ userAddress: Types.UserAddress | null }>({\n userAddress: null,\n});\n\nexport const selectedChatStore = createStore<{ selectedChat: Types.TChatItem | null; isSyncingTag: boolean; isSyncingMessage: boolean }>({\n selectedChat: null,\n isSyncingTag: false,\n isSyncingMessage: false,\n});\n\nexport const selectedMessageToReplyStore = createStore<{ selectedMessageToReply: Types.ChatMessageItem | null }>({\n selectedMessageToReply: null,\n});\n\nexport const responsiveStore = createStore<{ isMobile: boolean }>({\n isMobile: false,\n});\n\nexport const profilePanelStore = createStore<{ isShowProfile: boolean }>({\n isShowProfile: false,\n});\n\nexport const customFiltersStore = createStore<{ filters: ChatFilter[]; selectedFilter: ChatFilter | null; loading: boolean }>({\n filters: [],\n selectedFilter: null,\n loading: false,\n});\n\nexport const chatLanguageStore = createStore<{\n isEdit: boolean\n loading?: boolean\n originalLanguage?: string\n}>({\n isEdit: false\n});\n\nexport const translateStore = createStore<{ translatedMessages: Record<string, string> }>({ translatedMessages: {} });\n\nexport const chatInputStore = createStore<{ originalText: string }>({\n originalText: '',\n});\n\nexport const connectionJobsStore = createStore<GetConnectionJobsResponse>({\n jobs: [],\n});"],"names":["i18n","getRenderingRef","forceUpdate"],"mappings":";;;;;SAMgB,cAAc,GAAA;IAC5B,OAAOA,cAAI,CAAC,CAAC;AACf;AAEO,MAAM,QAAQ,GAAG,CAAC,GAAW,KAAY;IAC9C,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE;IACtC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,IAAG;AACjC,QAAA,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;AAC1C,QAAA,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;AAC3C,KAAC,CAAC;IACF,OAAO,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;AACjC,CAAC;AAEM,MAAM,mBAAmB,GAAG,CAAC,QAAgB,KAAY;;AAE9D,IAAA,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;AAChD,IAAA,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;AAChD,IAAA,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC,EAAE,CAAC,CAAC,EAAE,EAAE,CAAC;IAEhD,OAAO,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC,GAAG,KAAK,GAAG,CAAC;AAC1C,CAAC;AAEY,MAAA,sBAAsB,GAAG,CAAC,KAAa,EAAE,QAAQ,GAAG,KAAK,KAAY;IAChF,IAAI,QAAQ,GAAG,MAAM;AACrB,IAAA,MAAM,M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;AACvE,IAAA,aAAa,EAAE,KAAK;AACrB,CAAA;AAEM,MAAM,kBAAkB,GAAG,WAAW,CAAiF;AAC5H,IAAA,OAAO,EAAE,EAAE;AACX,IAAA,cAAc,EAAE,IAAI;AACpB,IAAA,OAAO,EAAE,KAAK;AACf,CAAA;AAEM,MAAM,iBAAiB,GAAG,WAAW,CAIzC;AACD,IAAA,MAAM,EAAE;AACT,CAAA;AAEM,MAAM,cAAc,GAAG,WAAW,CAAiD,EAAE,kBAAkB,EAAE,EAAE,EAAE;AAE7G,MAAM,cAAc,GAAG,WAAW,CAA2B;AAClE,IAAA,YAAY,EAAE,EAAE;AACjB,CAAA;AAEM,MAAM,mBAAmB,GAAG,WAAW,CAA4B;AACxE,IAAA,IAAI,EAAE,EAAE;AACT,CAAA;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[1]}
1
+ {"version":3,"file":"store-BoPqQ7tN.js","sources":["src/utils/utils.ts","../../node_modules/@stencil/store/dist/index.js","src/store/store.ts"],"sourcesContent":["import i18n from '../global/i18n';\n\nexport function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\nexport function useTranslation() {\n return i18n.t;\n}\n\nexport const rgbToHex = (rgb: string): string => {\n const values = rgb.match(/\\d+/g) || [];\n const hexValues = values.map(val => {\n const hex = parseInt(val, 10).toString(16);\n return hex.length === 1 ? '0' + hex : hex;\n });\n return '#' + hexValues.join('');\n};\n\nexport const calculateBrightness = (hexColor: string): number => {\n // Formula for calculating brightness: 0.299*R + 0.587*G + 0.114*B\n const r = parseInt(hexColor.substring(1, 3), 16);\n const g = parseInt(hexColor.substring(3, 5), 16);\n const b = parseInt(hexColor.substring(5, 7), 16);\n\n return 0.299 * r + 0.587 * g + 0.114 * b;\n};\n\nexport const getContrastColorHelper = (color: string, isInvert = false): string => {\n let hexColor = '#000';\n const format = color.includes('rgb') ? 'rgb' : 'hex';\n if (format === 'hex') {\n hexColor = color;\n } else if (format === 'rgb') {\n hexColor = rgbToHex(color);\n }\n\n const brightness = calculateBrightness(hexColor);\n if (isInvert) {\n return brightness > 128 ? '#fff' : '#000';\n }\n return brightness > 128 ? '#000' : '#fff';\n};\n\nexport function getRandomHexColor(): string {\n const hex = Math.floor(Math.random() * 0xffffff).toString(16);\n return `#${hex.padStart(6, '0')}`;\n}\n\nexport function base64ToFileList(base64Array: string[], filenames?: string[]): FileList {\n const dataTransfer = new DataTransfer();\n\n base64Array.forEach((base64, index) => {\n const arr = base64.split(',');\n const mimeMatch = arr[0].match(/:(.*?);/);\n const mime = mimeMatch ? mimeMatch[1] : 'image/png';\n const bstr = atob(arr[1]);\n let n = bstr.length;\n const u8arr = new Uint8Array(n);\n\n while (n--) {\n u8arr[n] = bstr.charCodeAt(n);\n }\n\n const fileName = filenames && filenames.length > index ? filenames[index] : `image${index}.png`;\n const file = new File([u8arr], fileName, { type: mime });\n dataTransfer.items.add(file);\n });\n\n return dataTransfer.files;\n}\n\nexport const preventInputNoneBasicNumber = (event: any) => {\n return (['e', 'E', '+', '-', 'ArrowDown'].includes(event.key) || ((event.key === 'ArrowDown') && ((parseInt(event.target.value) === 0) || (event.target.value === '')))) && event.preventDefault()\n}\n\nexport const preventInputNoneBasicNumberAndDot = (event: any) => {\n return (['e', 'E', '+', '-', '.'].includes(event.key) || ((event.key === 'ArrowDown') && ((parseInt(event.target.value) === 0) || (event.target.value === '')))) && event.preventDefault()\n}\n","import { getRenderingRef, forceUpdate } from '@stencil/core';\n\nconst appendToMap = (map, propName, value) => {\n const items = map.get(propName);\n if (!items) {\n map.set(propName, [value]);\n }\n else if (!items.includes(value)) {\n items.push(value);\n }\n};\nconst debounce = (fn, ms) => {\n let timeoutId;\n return (...args) => {\n if (timeoutId) {\n clearTimeout(timeoutId);\n }\n timeoutId = setTimeout(() => {\n timeoutId = 0;\n fn(...args);\n }, ms);\n };\n};\n\n/**\n * Check if a possible element isConnected.\n * The property might not be there, so we check for it.\n *\n * We want it to return true if isConnected is not a property,\n * otherwise we would remove these elements and would not update.\n *\n * Better leak in Edge than to be useless.\n */\nconst isConnected = (maybeElement) => !('isConnected' in maybeElement) || maybeElement.isConnected;\nconst cleanupElements = debounce((map) => {\n for (let key of map.keys()) {\n map.set(key, map.get(key).filter(isConnected));\n }\n}, 2_000);\nconst stencilSubscription = () => {\n if (typeof getRenderingRef !== 'function') {\n // If we are not in a stencil project, we do nothing.\n // This function is not really exported by @stencil/core.\n return {};\n }\n const elmsToUpdate = new Map();\n return {\n dispose: () => elmsToUpdate.clear(),\n get: (propName) => {\n const elm = getRenderingRef();\n if (elm) {\n appendToMap(elmsToUpdate, propName, elm);\n }\n },\n set: (propName) => {\n const elements = elmsToUpdate.get(propName);\n if (elements) {\n elmsToUpdate.set(propName, elements.filter(forceUpdate));\n }\n cleanupElements(elmsToUpdate);\n },\n reset: () => {\n elmsToUpdate.forEach((elms) => elms.forEach(forceUpdate));\n cleanupElements(elmsToUpdate);\n },\n };\n};\n\nconst unwrap = (val) => (typeof val === 'function' ? val() : val);\nconst createObservableMap = (defaultState, shouldUpdate = (a, b) => a !== b) => {\n const unwrappedState = unwrap(defaultState);\n let states = new Map(Object.entries(unwrappedState ?? {}));\n const handlers = {\n dispose: [],\n get: [],\n set: [],\n reset: [],\n };\n // Track onChange listeners to enable removeListener functionality\n const changeListeners = new Map();\n const reset = () => {\n // When resetting the state, the default state may be a function - unwrap it to invoke it.\n // otherwise, the state won't be properly reset\n states = new Map(Object.entries(unwrap(defaultState) ?? {}));\n handlers.reset.forEach((cb) => cb());\n };\n const dispose = () => {\n // Call first dispose as resetting the state would\n // cause less updates ;)\n handlers.dispose.forEach((cb) => cb());\n reset();\n };\n const get = (propName) => {\n handlers.get.forEach((cb) => cb(propName));\n return states.get(propName);\n };\n const set = (propName, value) => {\n const oldValue = states.get(propName);\n if (shouldUpdate(value, oldValue, propName)) {\n states.set(propName, value);\n handlers.set.forEach((cb) => cb(propName, value, oldValue));\n }\n };\n const state = (typeof Proxy === 'undefined'\n ? {}\n : new Proxy(unwrappedState, {\n get(_, propName) {\n return get(propName);\n },\n ownKeys(_) {\n return Array.from(states.keys());\n },\n getOwnPropertyDescriptor() {\n return {\n enumerable: true,\n configurable: true,\n };\n },\n has(_, propName) {\n return states.has(propName);\n },\n set(_, propName, value) {\n set(propName, value);\n return true;\n },\n }));\n const on = (eventName, callback) => {\n handlers[eventName].push(callback);\n return () => {\n removeFromArray(handlers[eventName], callback);\n };\n };\n const onChange = (propName, cb) => {\n const setHandler = (key, newValue) => {\n if (key === propName) {\n cb(newValue);\n }\n };\n const resetHandler = () => cb(unwrap(defaultState)[propName]);\n // Register the handlers\n const unSet = on('set', setHandler);\n const unReset = on('reset', resetHandler);\n // Track the relationship between the user callback and internal handlers\n changeListeners.set(cb, { setHandler, resetHandler, propName });\n return () => {\n unSet();\n unReset();\n changeListeners.delete(cb);\n };\n };\n const use = (...subscriptions) => {\n const unsubs = subscriptions.reduce((unsubs, subscription) => {\n if (subscription.set) {\n unsubs.push(on('set', subscription.set));\n }\n if (subscription.get) {\n unsubs.push(on('get', subscription.get));\n }\n if (subscription.reset) {\n unsubs.push(on('reset', subscription.reset));\n }\n if (subscription.dispose) {\n unsubs.push(on('dispose', subscription.dispose));\n }\n return unsubs;\n }, []);\n return () => unsubs.forEach((unsub) => unsub());\n };\n const forceUpdate = (key) => {\n const oldValue = states.get(key);\n handlers.set.forEach((cb) => cb(key, oldValue, oldValue));\n };\n const removeListener = (propName, listener) => {\n const listenerInfo = changeListeners.get(listener);\n if (listenerInfo && listenerInfo.propName === propName) {\n // Remove the specific handlers that were created for this listener\n removeFromArray(handlers.set, listenerInfo.setHandler);\n removeFromArray(handlers.reset, listenerInfo.resetHandler);\n changeListeners.delete(listener);\n }\n };\n return {\n state,\n get,\n set,\n on,\n onChange,\n use,\n dispose,\n reset,\n forceUpdate,\n removeListener,\n };\n};\nconst removeFromArray = (array, item) => {\n const index = array.indexOf(item);\n if (index >= 0) {\n array[index] = array[array.length - 1];\n array.length--;\n }\n};\n\nconst createStore = (defaultState, shouldUpdate) => {\n const map = createObservableMap(defaultState, shouldUpdate);\n map.use(stencilSubscription());\n return map;\n};\n\nexport { createObservableMap, createStore };\n","import { createStore } from '@stencil/store';\nimport * as Types from '../store/type';\nimport { GetChatMessagesResponse, GetChatsResponse, SearchChatsParams, ChatFilter, GetChatFilterConfigResponse, GetConnectionJobsResponse } from '../api/type';\n\nexport const configStore = createStore<Types.ConfigStore>({\n language: 'en',\n theme: 'light',\n businessId: null,\n shopId: null,\n accessToken: null,\n isProduction: false,\n timeZone: null,\n translationSettings: {\n is_auto: false,\n target_language: null,\n exclude_languages: [],\n },\n isNotConnected: false,\n isZwiz: false,\n connectionList: [],\n memberList: [],\n});\n\nexport const messagesStore = createStore<\n Omit<GetChatMessagesResponse, 'next' | 'prev'> & {\n loadedKeys: Set<string>;\n readsMap: Record<string, Types.ChatMessageReader[]>;\n jumpMessageId?: string;\n older?: {\n next?: string;\n prev?: string;\n };\n newer?: {\n next?: string;\n prev?: string;\n };\n }\n>({\n messages: [],\n reads: [],\n loadedKeys: new Set<string>(),\n readsMap: {},\n});\n\nexport const filterChatsStore = createStore<{ filterChat?: SearchChatsParams, filterType: 'quick' | 'advanced' | 'custom', filterConfig?: GetChatFilterConfigResponse }>({\n filterType: 'quick',\n});\n\nexport const statusesStore = createStore<{ statuses: Types.TTagOrStatusItem[] }>({\n statuses: [],\n});\n\nexport const tagsStore = createStore<{ tags: Types.TTagOrStatusItem[] }>({\n tags: [],\n});\n\nexport const chatsStore = createStore<GetChatsResponse & { loadedKeys: Set<string> }>({\n chats: [],\n loadedKeys: new Set<string>(),\n});\n\nexport const userStore = createStore<{ user: Types.UserItem | null }>({\n user: null,\n});\n\nexport const userAddressStore = createStore<{ userAddress: Types.UserAddress | null }>({\n userAddress: null,\n});\n\nexport const selectedChatStore = createStore<{ selectedChat: Types.TChatItem | null; isSyncingTag: boolean; isSyncingMessage: boolean }>({\n selectedChat: null,\n isSyncingTag: false,\n isSyncingMessage: false,\n});\n\nexport const selectedMessageToReplyStore = createStore<{ selectedMessageToReply: Types.ChatMessageItem | null }>({\n selectedMessageToReply: null,\n});\n\nexport const responsiveStore = createStore<{ isMobile: boolean }>({\n isMobile: false,\n});\n\nexport const profilePanelStore = createStore<{ isShowProfile: boolean }>({\n isShowProfile: false,\n});\n\nexport const customFiltersStore = createStore<{ filters: ChatFilter[]; selectedFilter: ChatFilter | null; loading: boolean }>({\n filters: [],\n selectedFilter: null,\n loading: false,\n});\n\nexport const chatLanguageStore = createStore<{\n isEdit: boolean\n loading?: boolean\n originalLanguage?: string\n}>({\n isEdit: false\n});\n\nexport const translateStore = createStore<{ translatedMessages: Record<string, string> }>({ translatedMessages: {} });\n\nexport const chatInputStore = createStore<{ originalText: string }>({\n originalText: '',\n});\n\nexport const connectionJobsStore = createStore<GetConnectionJobsResponse>({\n jobs: [],\n});"],"names":["i18n","getRenderingRef","forceUpdate"],"mappings":";;;;;SAMgB,cAAc,GAAA;IAC5B,OAAOA,cAAI,CAAC,CAAC;AACf;AAEO,MAAM,QAAQ,GAAG,CAAC,GAAW,KAAY;IAC9C,MAAM,MAAM,GAAG,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,EAAE;IACtC,MAAM,SAAS,GAAG,MAAM,CAAC,GAAG,CAAC,GAAG,IAAG;AACjC,QAAA,MAAM,GAAG,GAAG,QAAQ,CAAC,GAAG,EAAE,EAAE,CAAC,CAAC,QAAQ,CAAC,EAAE,CAAC;AAC1C,QAAA,OAAO,GAAG,CAAC,MAAM,KAAK,CAAC,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;AAC3C,KAAC,CAAC;IACF,OAAO,GAAG,GAAG,SAAS,CAAC,IAAI,CAAC,EAAE,CAAC;AACjC,CAAC;AAEM,MAAM,mBAAmB,GAAG,CAAC,QAAgB,KAAY;;AAE9D,IAAA,MAAM,CAAC,GAAG,QAAQ,CAAC,QAAQ,CAAC,SAAS,CAAC,CAAC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