@luzmo/analytics-components-kit 1.0.1-alpha.4 → 1.0.1-alpha.5

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 (369) hide show
  1. package/components/async-directive-FGzMycjH-Bgeca09f.js +152 -0
  2. package/components/async-directive-FGzMycjH-CeG35vZ3.cjs +56 -0
  3. package/components/base-BjTwmyRF.cjs +24 -0
  4. package/components/base-D76d76ww-BiajPmzU.cjs +40 -0
  5. package/components/base-D76d76ww-gf0ESLsU.js +45 -0
  6. package/components/base-D76d76ww.js +28 -0
  7. package/components/button-base-CDLQV7Vk-BXgdcJZo.cjs +43 -0
  8. package/{lib/button-base-CtfPWS-P.js → components/button-base-CDLQV7Vk-C_3zTrbV.js} +55 -36
  9. package/components/checkbox-mixin-DXUIwtea-DNISZS47.cjs +45 -0
  10. package/components/checkbox-mixin-DXUIwtea-wiCZr_KI.js +88 -0
  11. package/components/directive-helpers-BLDZnGQv-DYFfxaqA.cjs +80 -0
  12. package/components/directive-helpers-BLDZnGQv-oKMCBvb2.js +115 -0
  13. package/components/display-settings/display-settings.d.ts +70 -0
  14. package/components/display-settings/index.cjs +105 -0
  15. package/components/display-settings/index.d.ts +7 -0
  16. package/components/display-settings/index.js +238 -0
  17. package/components/display-settings-binning/display-settings-binning.d.ts +32 -0
  18. package/components/display-settings-binning/index.cjs +51 -0
  19. package/components/display-settings-binning/index.d.ts +7 -0
  20. package/components/display-settings-binning/index.js +137 -0
  21. package/components/display-settings-datetime/display-settings-datetime.d.ts +85 -0
  22. package/{lib/draggable-data-item → components/display-settings-datetime}/index.cjs +1 -1
  23. package/components/display-settings-datetime/index.d.ts +7 -0
  24. package/{lib/draggable-data-item → components/display-settings-datetime}/index.js +2 -2
  25. package/components/display-settings-grand-totals/display-settings-grand-totals.d.ts +30 -0
  26. package/{lib/index-C4ePDYEC.cjs → components/display-settings-grand-totals/index.cjs} +4 -4
  27. package/components/display-settings-grand-totals/index.d.ts +7 -0
  28. package/components/display-settings-grand-totals/index.js +115 -0
  29. package/components/display-settings-numeric/display-settings-numeric.d.ts +73 -0
  30. package/components/display-settings-numeric/helpers/constants.d.ts +17 -0
  31. package/components/display-settings-numeric/index.cjs +146 -0
  32. package/components/display-settings-numeric/index.d.ts +7 -0
  33. package/{lib/index-CM80_HQw.js → components/display-settings-numeric/index.js} +106 -96
  34. package/components/display-settings-period-over-period/display-settings-period-over-period.d.ts +44 -0
  35. package/components/display-settings-period-over-period/helpers/constants.d.ts +33 -0
  36. package/components/display-settings-period-over-period/index.cjs +103 -0
  37. package/components/display-settings-period-over-period/index.d.ts +7 -0
  38. package/{lib/index-DJp_9h0l.js → components/display-settings-period-over-period/index.js} +104 -123
  39. package/components/divider.module-DwOuLGU3-B19eHVg2.js +40 -0
  40. package/components/divider.module-DwOuLGU3-Bg8RrFkc.cjs +36 -0
  41. package/components/draggable-data-item/draggable-data-item.d.ts +25 -0
  42. package/components/draggable-data-item/index.cjs +55 -0
  43. package/components/draggable-data-item/index.d.ts +7 -0
  44. package/components/draggable-data-item/index.js +140 -0
  45. package/components/draggable-data-item-level/draggable-data-item-level.d.ts +29 -0
  46. package/components/draggable-data-item-level/helpers/calculate-type-icon.d.ts +2 -0
  47. package/components/draggable-data-item-level/helpers/generate-preview.d.ts +1 -0
  48. package/components/draggable-data-item-level/index.cjs +36 -0
  49. package/components/draggable-data-item-level/index.d.ts +7 -0
  50. package/{lib/index-DrIA0eFE.js → components/draggable-data-item-level/index.js} +137 -236
  51. package/components/droppable-slot/droppable-slot.d.ts +49 -0
  52. package/components/droppable-slot/index.cjs +69 -0
  53. package/components/droppable-slot/index.d.ts +7 -0
  54. package/components/droppable-slot/index.js +255 -0
  55. package/components/droppable-slot/item-slots-configs/area-chart-slots.config.d.ts +44 -0
  56. package/components/droppable-slot/item-slots-configs/bar-chart-slots.config.d.ts +24 -0
  57. package/components/droppable-slot/item-slots-configs/donut-chart-slots.config.d.ts +20 -0
  58. package/components/edit-item/edit-item.d.ts +50 -0
  59. package/components/edit-item/index.cjs +85 -0
  60. package/components/edit-item/index.d.ts +7 -0
  61. package/components/edit-item/index.js +333 -0
  62. package/components/edit-option/edit-option.d.ts +22 -0
  63. package/components/edit-option/helpers/control-markup.d.ts +14 -0
  64. package/components/edit-option/helpers/control-templates/action-button-group-template.d.ts +2 -0
  65. package/components/edit-option/helpers/control-templates/color-picker-template.d.ts +2 -0
  66. package/components/edit-option/helpers/control-templates/multi-language-field-template.d.ts +8 -0
  67. package/components/edit-option/helpers/control-templates/number-field-template.d.ts +2 -0
  68. package/components/edit-option/helpers/control-templates/picker-template.d.ts +2 -0
  69. package/components/edit-option/helpers/control-templates/positions-number-field-template.d.ts +2 -0
  70. package/components/edit-option/helpers/control-templates/radio-button-group.d.ts +2 -0
  71. package/components/edit-option/helpers/control-templates/slider-template.d.ts +2 -0
  72. package/components/edit-option/helpers/control-templates/switch-template.d.ts +2 -0
  73. package/components/edit-option/helpers/control-templates/text-field-template.d.ts +7 -0
  74. package/components/edit-option/helpers/generate-callback.d.ts +1 -0
  75. package/components/edit-option/helpers/get-control-by-key.d.ts +1 -0
  76. package/components/edit-option/helpers/get-extra-label-values.d.ts +7 -0
  77. package/components/edit-option/helpers/get-value-by-key.d.ts +1 -0
  78. package/components/edit-option/index.cjs +176 -0
  79. package/components/edit-option/index.d.ts +7 -0
  80. package/components/edit-option/index.js +507 -0
  81. package/components/edit-option/item-configs/bar-chart.config.d.ts +108 -0
  82. package/components/edit-option/item-configs/column-chart.config.d.ts +108 -0
  83. package/components/edit-option/item-configs/donut-chart.config.d.ts +102 -0
  84. package/components/edit-option/item-configs/imageobject.config.d.ts +128 -0
  85. package/components/edit-option/item-configs/line-chart.config.d.ts +96 -0
  86. package/components/edit-option/item-configs/textobject.config.d.ts +13 -0
  87. package/components/edit-option/item-translations/bar-chart.en.d.ts +48 -0
  88. package/components/edit-option/item-translations/bar-chart.fr.d.ts +23 -0
  89. package/components/edit-option/item-translations/bar-chart.nl.d.ts +23 -0
  90. package/components/edit-option/item-translations/donut-chart.en.d.ts +64 -0
  91. package/components/edit-option/item-translations/donut-chart.fr.d.ts +18 -0
  92. package/components/edit-option/item-translations/donut-chart.nl.d.ts +18 -0
  93. package/components/edit-option-action-button-group/edit-option-action-button-group.d.ts +27 -0
  94. package/components/edit-option-action-button-group/index.cjs +44 -0
  95. package/components/edit-option-action-button-group/index.d.ts +7 -0
  96. package/components/edit-option-action-button-group/index.js +144 -0
  97. package/components/edit-option-base/edit-option-base.d.ts +22 -0
  98. package/components/edit-option-base-DnrerC_T.cjs +53 -0
  99. package/components/edit-option-base-oIvlolV9.js +120 -0
  100. package/components/edit-option-color-picker/edit-option-color-picker.d.ts +23 -0
  101. package/components/edit-option-color-picker/index.cjs +472 -0
  102. package/components/edit-option-color-picker/index.d.ts +7 -0
  103. package/components/edit-option-color-picker/index.js +2553 -0
  104. package/components/edit-option-multi-language-field/edit-option-multi-language-field.d.ts +15 -0
  105. package/components/edit-option-multi-language-field/index.cjs +31 -0
  106. package/components/edit-option-multi-language-field/index.d.ts +7 -0
  107. package/components/edit-option-multi-language-field/index.js +102 -0
  108. package/components/edit-option-number-field/edit-option-number-field.d.ts +19 -0
  109. package/components/edit-option-number-field/index.cjs +32 -0
  110. package/components/edit-option-number-field/index.d.ts +7 -0
  111. package/components/edit-option-number-field/index.js +115 -0
  112. package/components/edit-option-picker/edit-option-picker.d.ts +22 -0
  113. package/components/edit-option-picker/index.cjs +35 -0
  114. package/components/edit-option-picker/index.d.ts +7 -0
  115. package/components/edit-option-picker/index.js +106 -0
  116. package/components/edit-option-positions-number-field/edit-option-positions-number-field.d.ts +28 -0
  117. package/components/edit-option-positions-number-field/index.cjs +42 -0
  118. package/components/edit-option-positions-number-field/index.d.ts +7 -0
  119. package/components/edit-option-positions-number-field/index.js +170 -0
  120. package/components/edit-option-radio-button-group/edit-option-radio-button-group.d.ts +18 -0
  121. package/components/edit-option-radio-button-group/index.cjs +36 -0
  122. package/components/edit-option-radio-button-group/index.d.ts +7 -0
  123. package/components/edit-option-radio-button-group/index.js +113 -0
  124. package/components/edit-option-slider/edit-option-slider.d.ts +15 -0
  125. package/components/edit-option-slider/index.cjs +48 -0
  126. package/components/edit-option-slider/index.d.ts +7 -0
  127. package/components/edit-option-slider/index.js +1253 -0
  128. package/components/edit-option-switch/edit-option-switch.d.ts +11 -0
  129. package/components/edit-option-switch/index.cjs +50 -0
  130. package/components/edit-option-switch/index.d.ts +7 -0
  131. package/components/edit-option-switch/index.js +171 -0
  132. package/components/edit-option-text-field/edit-option-text-field.d.ts +15 -0
  133. package/components/edit-option-text-field/index.cjs +31 -0
  134. package/components/edit-option-text-field/index.d.ts +7 -0
  135. package/components/edit-option-text-field/index.js +100 -0
  136. package/components/element-resolution-FCUT-wql--7ctE626.js +163 -0
  137. package/components/element-resolution-FCUT-wql-DSTvdyds.cjs +68 -0
  138. package/{lib/en-CIeY2T5K.js → components/en-BsAhbMzm.js} +101 -102
  139. package/components/en-CdROUdjt.cjs +202 -0
  140. package/{lib/en-GB-BqYHIX1v.cjs → components/en-GB-g8rSQSba.cjs} +1 -1
  141. package/{lib/en-GB-CYx--4nh.js → components/en-GB-qub-Kemt.js} +1 -1
  142. package/components/focus-group-DHeTq18L-C9l9oHwM.cjs +36 -0
  143. package/components/focus-group-DHeTq18L-rNUu13eb.js +237 -0
  144. package/{lib/get-css-variable-BHHQ0SnL.js → components/get-css-variable-Bhbr-Kr1.js} +379 -410
  145. package/components/get-css-variable-DLiZYZEi.cjs +24 -0
  146. package/components/if-defined-CYpcjGCb-Bzbg7zmM.cjs +60 -0
  147. package/components/if-defined-CYpcjGCb-tXzyj9Dq.js +95 -0
  148. package/components/if-defined-Ch2dtEOS.js +29 -0
  149. package/components/if-defined-DMSuo5Qx.cjs +24 -0
  150. package/components/index-3ewegRbb.cjs +67 -0
  151. package/components/index-B0cBkCaq.cjs +39 -0
  152. package/components/index-B2N_PZf3.js +164 -0
  153. package/components/index-B2z7i1-X.js +77 -0
  154. package/components/index-B5VaT0lQ.js +145 -0
  155. package/components/index-BC-nmKjU.js +104 -0
  156. package/{lib/droppable-slot/index.js → components/index-BD3VxQBH.js} +18 -4
  157. package/components/index-BGaxFTL4.js +299 -0
  158. package/{lib/index-B9h2L_hV.js → components/index-BRk42NQn.js} +1235 -1112
  159. package/components/index-Bjs6Yqet.cjs +185 -0
  160. package/components/index-Bofs4Q2E.cjs +36 -0
  161. package/components/index-BqTdFs1o.js +77 -0
  162. package/components/index-C2qG2Sm8-BQUlk-w0.js +935 -0
  163. package/components/index-C2qG2Sm8-CbVWlbag.cjs +95 -0
  164. package/components/index-CTPox3yS.cjs +54 -0
  165. package/components/index-C_3Ak4MQ.cjs +59 -0
  166. package/components/index-CayjvyyX.cjs +95 -0
  167. package/components/index-CkDDDzuJ.js +744 -0
  168. package/{lib/progress-circle/index.js → components/index-Cp-lHUlX.js} +53 -20
  169. package/components/index-CtHO6VyI.cjs +42 -0
  170. package/components/index-D4x-O9Uc.cjs +192 -0
  171. package/components/index-D9vzXhtJ.cjs +95 -0
  172. package/components/index-DQiQXn8N.cjs +36 -0
  173. package/{lib/picker/index.js → components/index-DVaeDCbe.js} +22 -6
  174. package/components/index-DskAouD-.js +317 -0
  175. package/{lib/index-CBCm4_7S.js → components/index-DszPbTTD.js} +401 -460
  176. package/{lib/index-Bd4cKS9O.js → components/index-EQldC-LR.js} +67 -47
  177. package/components/index-ON4x-yZ7.cjs +36 -0
  178. package/components/index-gfU9TGd5.cjs +57 -0
  179. package/components/index-liTHhAef.cjs +36 -0
  180. package/components/index.cjs +20 -0
  181. package/components/index.js +74 -0
  182. package/components/language-resolution-8yZa5r_P-CTSmbE1U.js +161 -0
  183. package/components/language-resolution-8yZa5r_P-DQ3rZzW5.cjs +52 -0
  184. package/components/localize-B6AsX_Zv.js +52 -0
  185. package/components/localize-DbobqcKs.cjs +20 -0
  186. package/components/luzmo-icons-BrtBl3E5.cjs +31 -0
  187. package/{lib/index-DdtjeKYI.js → components/luzmo-icons-CZEpXpvy.js} +157 -472
  188. package/components/observe-slot-text-BG0H7bQK-C0wmc4DO.js +221 -0
  189. package/components/observe-slot-text-BG0H7bQK-CrkAqUMj.cjs +86 -0
  190. package/{lib/popover-Bwnkg-5-.js → components/popover-bg0EQQ8p-D4-hrhIx.js} +25 -6
  191. package/components/popover-bg0EQQ8p-Dha09dhV.cjs +48 -0
  192. package/components/property-CD3dwBJC.js +1447 -0
  193. package/components/property-Su1Q6aME.cjs +124 -0
  194. package/components/query-D5qWDopr.cjs +24 -0
  195. package/components/query-Ddbd72Um.js +39 -0
  196. package/components/query-assigned-nodes-C76XVPWY-BcyGjObB.cjs +40 -0
  197. package/components/query-assigned-nodes-C76XVPWY-DPC6kOmH.js +55 -0
  198. package/components/roving-tabindex-DOg4z6ZU-DmyYPRYY.cjs +36 -0
  199. package/components/roving-tabindex-DOg4z6ZU-dufnVmvL.js +85 -0
  200. package/components/sized-mixin-PyCYpyQq-B40Ek2UB.js +82 -0
  201. package/components/sized-mixin-PyCYpyQq-sKzDjc75.cjs +36 -0
  202. package/components/slot-menu/index.cjs +55 -0
  203. package/components/slot-menu/index.d.ts +7 -0
  204. package/components/slot-menu/index.js +188 -0
  205. package/components/slot-menu/slot-menu.d.ts +66 -0
  206. package/components/slot-menu-list/index.cjs +39 -0
  207. package/components/slot-menu-list/index.d.ts +7 -0
  208. package/components/slot-menu-list/index.js +351 -0
  209. package/components/slot-menu-list/slot-menu-list.d.ts +33 -0
  210. package/components/state-B1a8XIDm.js +31 -0
  211. package/components/state-ByiKNRhp.cjs +24 -0
  212. package/components/task-BPD0PyaQ.js +120 -0
  213. package/components/task-HFsHfTra.cjs +24 -0
  214. package/components/text-field-7ITo3Lac-CKXsSqJP.cjs +131 -0
  215. package/components/text-field-7ITo3Lac-DqVO04kR.js +412 -0
  216. package/{lib/index-D_KYpfBM.js → components/utils.cjs} +1 -5
  217. package/{lib/droppable-slot/index.cjs → components/utils.js} +1 -1
  218. package/components/when-CDK1Tt5Y-BN3qcTK0.cjs +40 -0
  219. package/components/when-CDK1Tt5Y-C6ViXC43.js +47 -0
  220. package/custom-elements.json +3562 -884
  221. package/index.d.ts +23 -0
  222. package/package.json +132 -17
  223. package/utils/formatter/calculate-duration.d.ts +2 -0
  224. package/utils/formatter/decompose-numeric-format.d.ts +11 -0
  225. package/utils/formatter/default-local-formats.d.ts +20 -0
  226. package/utils/formatter/formats/cs.d.ts +20 -0
  227. package/utils/formatter/formats/da.d.ts +20 -0
  228. package/utils/formatter/formats/de.d.ts +21 -0
  229. package/utils/formatter/formats/en-GB.d.ts +21 -0
  230. package/utils/formatter/formats/en-US.d.ts +1 -0
  231. package/utils/formatter/formats/en.d.ts +1 -0
  232. package/utils/formatter/formats/es.d.ts +54 -0
  233. package/utils/formatter/formats/fi.d.ts +20 -0
  234. package/utils/formatter/formats/fr.d.ts +54 -0
  235. package/utils/formatter/formats/he.d.ts +20 -0
  236. package/utils/formatter/formats/hu.d.ts +20 -0
  237. package/utils/formatter/formats/it.d.ts +54 -0
  238. package/utils/formatter/formats/ja.d.ts +20 -0
  239. package/utils/formatter/formats/ko.d.ts +20 -0
  240. package/utils/formatter/formats/mk.d.ts +20 -0
  241. package/utils/formatter/formats/nl.d.ts +21 -0
  242. package/utils/formatter/formats/no.d.ts +21 -0
  243. package/utils/formatter/formats/pl.d.ts +20 -0
  244. package/utils/formatter/formats/pt.d.ts +20 -0
  245. package/utils/formatter/formats/ru.d.ts +20 -0
  246. package/utils/formatter/formats/sv.d.ts +20 -0
  247. package/utils/formatter/formats/tr.d.ts +21 -0
  248. package/utils/formatter/formats/zh-CN.d.ts +20 -0
  249. package/utils/formatter/formats/zh-TW.d.ts +20 -0
  250. package/utils/formatter/formatter.d.ts +9 -0
  251. package/utils/formatter/localize.d.ts +3 -0
  252. package/utils/formatter/smart-datetime-formats.const.d.ts +36 -0
  253. package/utils/get-css-variable.d.ts +1 -0
  254. package/utils/index.d.ts +1 -0
  255. package/utils/time/formats.const.d.ts +8 -0
  256. package/utils/time/periods.const.d.ts +29 -0
  257. package/utils/types/column.types.d.ts +56 -0
  258. package/utils/types/type-check.d.ts +7 -0
  259. package/lib/async-directive-CPjMHOPu.cjs +0 -24
  260. package/lib/async-directive-SCUUQ3Mh.js +0 -114
  261. package/lib/button-base-B4PdJFVe.cjs +0 -27
  262. package/lib/directive-helpers-BSB0tfc9.cjs +0 -32
  263. package/lib/directive-helpers-eY1rHtyn.js +0 -154
  264. package/lib/divider.module-BW8qaMVq.js +0 -211
  265. package/lib/divider.module-DEy88Ieh.cjs +0 -20
  266. package/lib/en-BDBzmAXX.cjs +0 -202
  267. package/lib/get-css-variable-D439CdH9.cjs +0 -24
  268. package/lib/if-defined-BbzmSG-O.js +0 -757
  269. package/lib/if-defined-V7yEJWI3.cjs +0 -54
  270. package/lib/index-0314DjEl.cjs +0 -20
  271. package/lib/index-BDXFsKUM.cjs +0 -146
  272. package/lib/index-BmAD29P2.js +0 -106
  273. package/lib/index-Bo1DpZ-1.cjs +0 -58
  274. package/lib/index-C9xEN5Ji.js +0 -82
  275. package/lib/index-CcF-9wyF.cjs +0 -71
  276. package/lib/index-CfEm5P0J.cjs +0 -196
  277. package/lib/index-CrWoFMZ3.cjs +0 -22
  278. package/lib/index-CtEJZdT0.js +0 -1627
  279. package/lib/index-CvX-HLY1.cjs +0 -322
  280. package/lib/index-D37RwuEH.js +0 -1584
  281. package/lib/index-D5puKlcm.cjs +0 -96
  282. package/lib/index-DGz6jCKo.cjs +0 -26
  283. package/lib/index-DSbgZduE.js +0 -501
  284. package/lib/index-Dj7PF4Q9.cjs +0 -63
  285. package/lib/index-Dq3HAOaM.js +0 -127
  286. package/lib/index-jt6FL_uE.cjs +0 -20
  287. package/lib/index-kJR406YZ.cjs +0 -112
  288. package/lib/index-v8ZTprPO.cjs +0 -51
  289. package/lib/index.cjs +0 -875
  290. package/lib/index.js +0 -6411
  291. package/lib/observe-slot-text-DOYmGOZe.js +0 -181
  292. package/lib/observe-slot-text-oJ0a2KY9.cjs +0 -42
  293. package/lib/picker/index.cjs +0 -20
  294. package/lib/popover-CQGN8nbX.cjs +0 -32
  295. package/lib/progress-circle/index.cjs +0 -35
  296. /package/{lib → components}/area-chart-slots.config-BLxiYX05.cjs +0 -0
  297. /package/{lib → components}/area-chart-slots.config-C0c2ZzBh.js +0 -0
  298. /package/{lib → components}/bar-chart-slots.config-GSSL7XVA.js +0 -0
  299. /package/{lib → components}/bar-chart-slots.config-Jx1PveTM.cjs +0 -0
  300. /package/{lib → components}/bar-chart.config-B57geUzJ.cjs +0 -0
  301. /package/{lib → components}/bar-chart.config-CQ6HAvs2.js +0 -0
  302. /package/{lib → components}/bar-chart.en-BqYbiHO3.cjs +0 -0
  303. /package/{lib → components}/bar-chart.en-FwT00qdU.js +0 -0
  304. /package/{lib → components}/bar-chart.fr-DGx9smEh.cjs +0 -0
  305. /package/{lib → components}/bar-chart.fr-DbxKiM0j.js +0 -0
  306. /package/{lib → components}/bar-chart.nl-BYzVExsz.cjs +0 -0
  307. /package/{lib → components}/bar-chart.nl-ahX1ARpH.js +0 -0
  308. /package/{lib → components}/column-chart.config-B57geUzJ.cjs +0 -0
  309. /package/{lib → components}/column-chart.config-C9hP0kX7.js +0 -0
  310. /package/{lib → components}/cs-DVZ0Tapy.js +0 -0
  311. /package/{lib → components}/cs-I9E81keK.cjs +0 -0
  312. /package/{lib → components}/da-DHy05oSR.js +0 -0
  313. /package/{lib → components}/da-QkdvupDg.cjs +0 -0
  314. /package/{lib → components}/de-Dn5mUzha.cjs +0 -0
  315. /package/{lib → components}/de-iM39JlAt.js +0 -0
  316. /package/{lib → components}/decompose-numeric-format-B3rVVHpO.cjs +0 -0
  317. /package/{lib → components}/decompose-numeric-format-BuZcjH2k.js +0 -0
  318. /package/{lib → components}/donut-chart-slots.config-BEwhfq27.js +0 -0
  319. /package/{lib → components}/donut-chart-slots.config-DIp-24lO.cjs +0 -0
  320. /package/{lib → components}/donut-chart.config-3DhKiSSM.js +0 -0
  321. /package/{lib → components}/donut-chart.config-DLWJUlHx.cjs +0 -0
  322. /package/{lib → components}/donut-chart.en-Blb9oSdU.cjs +0 -0
  323. /package/{lib → components}/donut-chart.en-CzjT4-XN.js +0 -0
  324. /package/{lib → components}/donut-chart.fr-BeTVa2wh.cjs +0 -0
  325. /package/{lib → components}/donut-chart.fr-DftPrKbG.js +0 -0
  326. /package/{lib → components}/donut-chart.nl-D9YGbOce.cjs +0 -0
  327. /package/{lib → components}/donut-chart.nl-NMatXfhK.js +0 -0
  328. /package/{lib → components}/es-CwyPlN5d.cjs +0 -0
  329. /package/{lib → components}/es-KhTq4jX8.js +0 -0
  330. /package/{lib → components}/fi-Dh_ebgpe.js +0 -0
  331. /package/{lib → components}/fi-rijeZE5V.cjs +0 -0
  332. /package/{lib → components}/fr-BcgE-6S_.cjs +0 -0
  333. /package/{lib → components}/fr-CU727YF1.js +0 -0
  334. /package/{lib → components}/he-Au3xg6lR.js +0 -0
  335. /package/{lib → components}/he-O6Ih8Bqh.cjs +0 -0
  336. /package/{lib → components}/hu-BnZ8y3xQ.cjs +0 -0
  337. /package/{lib → components}/hu-DNJ-P_MW.js +0 -0
  338. /package/{lib → components}/imageobject.config-B7ld9bj3.cjs +0 -0
  339. /package/{lib → components}/imageobject.config-DZLp9Elq.js +0 -0
  340. /package/{lib → components}/it-Bh5U73z6.js +0 -0
  341. /package/{lib → components}/it-PshtLMkq.cjs +0 -0
  342. /package/{lib → components}/ja-CCcHUL61.js +0 -0
  343. /package/{lib → components}/ja-KIS2HdaG.cjs +0 -0
  344. /package/{lib → components}/ko--l4qmjLV.cjs +0 -0
  345. /package/{lib → components}/ko-DhapsZMM.js +0 -0
  346. /package/{lib → components}/line-chart.config-BZcvfO2c.cjs +0 -0
  347. /package/{lib → components}/line-chart.config-CIVN6uLI.js +0 -0
  348. /package/{lib → components}/mk-B9HPSuKa.js +0 -0
  349. /package/{lib → components}/mk-DZlj-edb.cjs +0 -0
  350. /package/{lib → components}/nl-BKlDqOXb.cjs +0 -0
  351. /package/{lib → components}/nl-BwSt5Bf4.js +0 -0
  352. /package/{lib → components}/no-D-DofYnx.js +0 -0
  353. /package/{lib → components}/no-D_SzxhTu.cjs +0 -0
  354. /package/{lib → components}/pl-D_L_0Boq.js +0 -0
  355. /package/{lib → components}/pl-PIK23rK_.cjs +0 -0
  356. /package/{lib → components}/pt-B0BBS5VB.js +0 -0
  357. /package/{lib → components}/pt-Dqlu4MS5.cjs +0 -0
  358. /package/{lib → components}/ru-Vo-m3O_2.js +0 -0
  359. /package/{lib → components}/ru-zyNDTB04.cjs +0 -0
  360. /package/{lib → components}/sv-1DPTltNQ.cjs +0 -0
  361. /package/{lib → components}/sv-CiozMaev.js +0 -0
  362. /package/{lib → components}/textobject.config-C8opcGG4.js +0 -0
  363. /package/{lib → components}/textobject.config-DbAajFz8.cjs +0 -0
  364. /package/{lib → components}/tr-BkmWvOG2.cjs +0 -0
  365. /package/{lib → components}/tr-D_D4i5iv.js +0 -0
  366. /package/{lib → components}/zh-CN-DTZ4OmdP.cjs +0 -0
  367. /package/{lib → components}/zh-CN-wsl7eFSd.js +0 -0
  368. /package/{lib → components}/zh-TW-DTZ4OmdP.cjs +0 -0
  369. /package/{lib → components}/zh-TW-wsl7eFSd.js +0 -0
@@ -0,0 +1,1447 @@
1
+ /*! * A kit of modern Luzmo Web Components for analytics in your web application.
2
+ *
3
+ * Copyright © 2024 Luzmo
4
+ * All rights reserved.
5
+ * Luzmo web components (“Luzmo Web Components”)
6
+ * must be used according to the Luzmo Terms of Service.
7
+ * This license allows users with a current active Luzmo account
8
+ * to use the Luzmo Web Components. This license terminates
9
+ * automatically if a user no longer has an active Luzmo account.
10
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
11
+ *
12
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18
+ * SOFTWARE.
19
+ * */
20
+ /**
21
+ * @license
22
+ * Copyright 2019 Google LLC
23
+ * SPDX-License-Identifier: BSD-3-Clause
24
+ */
25
+ const B = globalThis, ht = B.ShadowRoot && (B.ShadyCSS === void 0 || B.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Ft = Symbol(), At = /* @__PURE__ */ new WeakMap();
26
+ let se = class {
27
+ constructor(t, e, s) {
28
+ if (this._$cssResult$ = !0, s !== Ft) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
29
+ this.cssText = t, this.t = e;
30
+ }
31
+ get styleSheet() {
32
+ let t = this.o;
33
+ const e = this.t;
34
+ if (ht && t === void 0) {
35
+ const s = e !== void 0 && e.length === 1;
36
+ s && (t = At.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && At.set(e, t));
37
+ }
38
+ return t;
39
+ }
40
+ toString() {
41
+ return this.cssText;
42
+ }
43
+ };
44
+ const ie = (o) => new se(typeof o == "string" ? o : o + "", void 0, Ft), ne = (o, t) => {
45
+ if (ht) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
46
+ else for (const e of t) {
47
+ const s = document.createElement("style"), i = B.litNonce;
48
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, o.appendChild(s);
49
+ }
50
+ }, gt = ht ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
51
+ let e = "";
52
+ for (const s of t.cssRules) e += s.cssText;
53
+ return ie(e);
54
+ })(o) : o;
55
+ /**
56
+ * @license
57
+ * Copyright 2017 Google LLC
58
+ * SPDX-License-Identifier: BSD-3-Clause
59
+ */
60
+ const { is: oe, defineProperty: re, getOwnPropertyDescriptor: ae, getOwnPropertyNames: he, getOwnPropertySymbols: le, getPrototypeOf: ce } = Object, g = globalThis, bt = g.trustedTypes, de = bt ? bt.emptyScript : "", tt = g.reactiveElementPolyfillSupport, H = (o, t) => o, W = { toAttribute(o, t) {
61
+ switch (t) {
62
+ case Boolean:
63
+ o = o ? de : null;
64
+ break;
65
+ case Object:
66
+ case Array:
67
+ o = o == null ? o : JSON.stringify(o);
68
+ }
69
+ return o;
70
+ }, fromAttribute(o, t) {
71
+ let e = o;
72
+ switch (t) {
73
+ case Boolean:
74
+ e = o !== null;
75
+ break;
76
+ case Number:
77
+ e = o === null ? null : Number(o);
78
+ break;
79
+ case Object:
80
+ case Array:
81
+ try {
82
+ e = JSON.parse(o);
83
+ } catch {
84
+ e = null;
85
+ }
86
+ }
87
+ return e;
88
+ } }, lt = (o, t) => !oe(o, t), yt = { attribute: !0, type: String, converter: W, reflect: !1, hasChanged: lt };
89
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), g.litPropertyMetadata ?? (g.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
90
+ let x = class extends HTMLElement {
91
+ static addInitializer(t) {
92
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
93
+ }
94
+ static get observedAttributes() {
95
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
96
+ }
97
+ static createProperty(t, e = yt) {
98
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
99
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
100
+ i !== void 0 && re(this.prototype, t, i);
101
+ }
102
+ }
103
+ static getPropertyDescriptor(t, e, s) {
104
+ const { get: i, set: r } = ae(this.prototype, t) ?? { get() {
105
+ return this[e];
106
+ }, set(n) {
107
+ this[e] = n;
108
+ } };
109
+ return { get() {
110
+ return i == null ? void 0 : i.call(this);
111
+ }, set(n) {
112
+ const h = i == null ? void 0 : i.call(this);
113
+ r.call(this, n), this.requestUpdate(t, h, s);
114
+ }, configurable: !0, enumerable: !0 };
115
+ }
116
+ static getPropertyOptions(t) {
117
+ return this.elementProperties.get(t) ?? yt;
118
+ }
119
+ static _$Ei() {
120
+ if (this.hasOwnProperty(H("elementProperties"))) return;
121
+ const t = ce(this);
122
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
123
+ }
124
+ static finalize() {
125
+ if (this.hasOwnProperty(H("finalized"))) return;
126
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(H("properties"))) {
127
+ const e = this.properties, s = [...he(e), ...le(e)];
128
+ for (const i of s) this.createProperty(i, e[i]);
129
+ }
130
+ const t = this[Symbol.metadata];
131
+ if (t !== null) {
132
+ const e = litPropertyMetadata.get(t);
133
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
134
+ }
135
+ this._$Eh = /* @__PURE__ */ new Map();
136
+ for (const [e, s] of this.elementProperties) {
137
+ const i = this._$Eu(e, s);
138
+ i !== void 0 && this._$Eh.set(i, e);
139
+ }
140
+ this.elementStyles = this.finalizeStyles(this.styles);
141
+ }
142
+ static finalizeStyles(t) {
143
+ const e = [];
144
+ if (Array.isArray(t)) {
145
+ const s = new Set(t.flat(1 / 0).reverse());
146
+ for (const i of s) e.unshift(gt(i));
147
+ } else t !== void 0 && e.push(gt(t));
148
+ return e;
149
+ }
150
+ static _$Eu(t, e) {
151
+ const s = e.attribute;
152
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
153
+ }
154
+ constructor() {
155
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
156
+ }
157
+ _$Ev() {
158
+ var t;
159
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
160
+ }
161
+ addController(t) {
162
+ var e;
163
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
164
+ }
165
+ removeController(t) {
166
+ var e;
167
+ (e = this._$EO) == null || e.delete(t);
168
+ }
169
+ _$E_() {
170
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
171
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
172
+ t.size > 0 && (this._$Ep = t);
173
+ }
174
+ createRenderRoot() {
175
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
176
+ return ne(t, this.constructor.elementStyles), t;
177
+ }
178
+ connectedCallback() {
179
+ var t;
180
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
181
+ var s;
182
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
183
+ });
184
+ }
185
+ enableUpdating(t) {
186
+ }
187
+ disconnectedCallback() {
188
+ var t;
189
+ (t = this._$EO) == null || t.forEach((e) => {
190
+ var s;
191
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
192
+ });
193
+ }
194
+ attributeChangedCallback(t, e, s) {
195
+ this._$AK(t, s);
196
+ }
197
+ _$EC(t, e) {
198
+ var r;
199
+ const s = this.constructor.elementProperties.get(t), i = this.constructor._$Eu(t, s);
200
+ if (i !== void 0 && s.reflect === !0) {
201
+ const n = (((r = s.converter) == null ? void 0 : r.toAttribute) !== void 0 ? s.converter : W).toAttribute(e, s.type);
202
+ this._$Em = t, n == null ? this.removeAttribute(i) : this.setAttribute(i, n), this._$Em = null;
203
+ }
204
+ }
205
+ _$AK(t, e) {
206
+ var r;
207
+ const s = this.constructor, i = s._$Eh.get(t);
208
+ if (i !== void 0 && this._$Em !== i) {
209
+ const n = s.getPropertyOptions(i), h = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((r = n.converter) == null ? void 0 : r.fromAttribute) !== void 0 ? n.converter : W;
210
+ this._$Em = i, this[i] = h.fromAttribute(e, n.type), this._$Em = null;
211
+ }
212
+ }
213
+ requestUpdate(t, e, s) {
214
+ if (t !== void 0) {
215
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? lt)(this[t], e)) return;
216
+ this.P(t, e, s);
217
+ }
218
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
219
+ }
220
+ P(t, e, s) {
221
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
222
+ }
223
+ async _$ET() {
224
+ this.isUpdatePending = !0;
225
+ try {
226
+ await this._$ES;
227
+ } catch (e) {
228
+ Promise.reject(e);
229
+ }
230
+ const t = this.scheduleUpdate();
231
+ return t != null && await t, !this.isUpdatePending;
232
+ }
233
+ scheduleUpdate() {
234
+ return this.performUpdate();
235
+ }
236
+ performUpdate() {
237
+ var s;
238
+ if (!this.isUpdatePending) return;
239
+ if (!this.hasUpdated) {
240
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
241
+ for (const [r, n] of this._$Ep) this[r] = n;
242
+ this._$Ep = void 0;
243
+ }
244
+ const i = this.constructor.elementProperties;
245
+ if (i.size > 0) for (const [r, n] of i) n.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], n);
246
+ }
247
+ let t = !1;
248
+ const e = this._$AL;
249
+ try {
250
+ t = this.shouldUpdate(e), t ? (this.willUpdate(e), (s = this._$EO) == null || s.forEach((i) => {
251
+ var r;
252
+ return (r = i.hostUpdate) == null ? void 0 : r.call(i);
253
+ }), this.update(e)) : this._$EU();
254
+ } catch (i) {
255
+ throw t = !1, this._$EU(), i;
256
+ }
257
+ t && this._$AE(e);
258
+ }
259
+ willUpdate(t) {
260
+ }
261
+ _$AE(t) {
262
+ var e;
263
+ (e = this._$EO) == null || e.forEach((s) => {
264
+ var i;
265
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
266
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
267
+ }
268
+ _$EU() {
269
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
270
+ }
271
+ get updateComplete() {
272
+ return this.getUpdateComplete();
273
+ }
274
+ getUpdateComplete() {
275
+ return this._$ES;
276
+ }
277
+ shouldUpdate(t) {
278
+ return !0;
279
+ }
280
+ update(t) {
281
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
282
+ }
283
+ updated(t) {
284
+ }
285
+ firstUpdated(t) {
286
+ }
287
+ };
288
+ x.elementStyles = [], x.shadowRootOptions = { mode: "open" }, x[H("elementProperties")] = /* @__PURE__ */ new Map(), x[H("finalized")] = /* @__PURE__ */ new Map(), tt == null || tt({ ReactiveElement: x }), (g.reactiveElementVersions ?? (g.reactiveElementVersions = [])).push("2.0.4");
289
+ /**
290
+ * @license
291
+ * Copyright 2017 Google LLC
292
+ * SPDX-License-Identifier: BSD-3-Clause
293
+ */
294
+ const R = globalThis, q = R.trustedTypes, vt = q ? q.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Bt = "$lit$", _ = `lit$${Math.random().toFixed(9).slice(2)}$`, Vt = "?" + _, ue = `<${Vt}>`, S = document, L = () => S.createComment(""), j = (o) => o === null || typeof o != "object" && typeof o != "function", ct = Array.isArray, pe = (o) => ct(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", et = `[
295
+ \f\r]`, O = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Et = /-->/g, St = />/g, b = RegExp(`>|${et}(?:([^\\s"'>=/]+)(${et}*=${et}*(?:[^
296
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), wt = /'/g, xt = /"/g, Wt = /^(?:script|style|textarea|title)$/i, qt = (o) => (t, ...e) => ({ _$litType$: o, strings: t, values: e }), Ye = qt(1), ts = qt(2), P = Symbol.for("lit-noChange"), p = Symbol.for("lit-nothing"), Pt = /* @__PURE__ */ new WeakMap(), v = S.createTreeWalker(S, 129);
297
+ function Kt(o, t) {
298
+ if (!ct(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
299
+ return vt !== void 0 ? vt.createHTML(t) : t;
300
+ }
301
+ const $e = (o, t) => {
302
+ const e = o.length - 1, s = [];
303
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = O;
304
+ for (let h = 0; h < e; h++) {
305
+ const a = o[h];
306
+ let c, d, l = -1, u = 0;
307
+ for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === O ? d[1] === "!--" ? n = Et : d[1] !== void 0 ? n = St : d[2] !== void 0 ? (Wt.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = b) : d[3] !== void 0 && (n = b) : n === b ? d[0] === ">" ? (n = i ?? O, l = -1) : d[1] === void 0 ? l = -2 : (l = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? b : d[3] === '"' ? xt : wt) : n === xt || n === wt ? n = b : n === Et || n === St ? n = O : (n = b, i = void 0);
308
+ const f = n === b && o[h + 1].startsWith("/>") ? " " : "";
309
+ r += n === O ? a + ue : l >= 0 ? (s.push(c), a.slice(0, l) + Bt + a.slice(l) + _ + f) : a + _ + (l === -2 ? h : f);
310
+ }
311
+ return [Kt(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
312
+ };
313
+ let ot = class Zt {
314
+ constructor({ strings: t, _$litType$: e }, s) {
315
+ let i;
316
+ this.parts = [];
317
+ let r = 0, n = 0;
318
+ const h = t.length - 1, a = this.parts, [c, d] = $e(t, e);
319
+ if (this.el = Zt.createElement(c, s), v.currentNode = this.el.content, e === 2 || e === 3) {
320
+ const l = this.el.content.firstChild;
321
+ l.replaceWith(...l.childNodes);
322
+ }
323
+ for (; (i = v.nextNode()) !== null && a.length < h; ) {
324
+ if (i.nodeType === 1) {
325
+ if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(Bt)) {
326
+ const u = d[n++], f = i.getAttribute(l).split(_), m = /([.?@])?(.*)/.exec(u);
327
+ a.push({ type: 1, index: r, name: m[2], strings: f, ctor: m[1] === "." ? me : m[1] === "?" ? _e : m[1] === "@" ? Ae : Q }), i.removeAttribute(l);
328
+ } else l.startsWith(_) && (a.push({ type: 6, index: r }), i.removeAttribute(l));
329
+ if (Wt.test(i.tagName)) {
330
+ const l = i.textContent.split(_), u = l.length - 1;
331
+ if (u > 0) {
332
+ i.textContent = q ? q.emptyScript : "";
333
+ for (let f = 0; f < u; f++) i.append(l[f], L()), v.nextNode(), a.push({ type: 2, index: ++r });
334
+ i.append(l[u], L());
335
+ }
336
+ }
337
+ } else if (i.nodeType === 8) if (i.data === Vt) a.push({ type: 2, index: r });
338
+ else {
339
+ let l = -1;
340
+ for (; (l = i.data.indexOf(_, l + 1)) !== -1; ) a.push({ type: 7, index: r }), l += _.length - 1;
341
+ }
342
+ r++;
343
+ }
344
+ }
345
+ static createElement(t, e) {
346
+ const s = S.createElement("template");
347
+ return s.innerHTML = t, s;
348
+ }
349
+ };
350
+ function C(o, t, e = o, s) {
351
+ var n, h;
352
+ if (t === P) return t;
353
+ let i = s !== void 0 ? (n = e._$Co) == null ? void 0 : n[s] : e._$Cl;
354
+ const r = j(t) ? void 0 : t._$litDirective$;
355
+ return (i == null ? void 0 : i.constructor) !== r && ((h = i == null ? void 0 : i._$AO) == null || h.call(i, !1), r === void 0 ? i = void 0 : (i = new r(o), i._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = i : e._$Cl = i), i !== void 0 && (t = C(o, i._$AS(o, t.values), i, s)), t;
356
+ }
357
+ let fe = class {
358
+ constructor(t, e) {
359
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
360
+ }
361
+ get parentNode() {
362
+ return this._$AM.parentNode;
363
+ }
364
+ get _$AU() {
365
+ return this._$AM._$AU;
366
+ }
367
+ u(t) {
368
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? S).importNode(e, !0);
369
+ v.currentNode = i;
370
+ let r = v.nextNode(), n = 0, h = 0, a = s[0];
371
+ for (; a !== void 0; ) {
372
+ if (n === a.index) {
373
+ let c;
374
+ a.type === 2 ? c = new dt(r, r.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (c = new ge(r, this, t)), this._$AV.push(c), a = s[++h];
375
+ }
376
+ n !== (a == null ? void 0 : a.index) && (r = v.nextNode(), n++);
377
+ }
378
+ return v.currentNode = S, i;
379
+ }
380
+ p(t) {
381
+ let e = 0;
382
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
383
+ }
384
+ }, dt = class Jt {
385
+ get _$AU() {
386
+ var t;
387
+ return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
388
+ }
389
+ constructor(t, e, s, i) {
390
+ this.type = 2, this._$AH = p, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
391
+ }
392
+ get parentNode() {
393
+ let t = this._$AA.parentNode;
394
+ const e = this._$AM;
395
+ return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
396
+ }
397
+ get startNode() {
398
+ return this._$AA;
399
+ }
400
+ get endNode() {
401
+ return this._$AB;
402
+ }
403
+ _$AI(t, e = this) {
404
+ t = C(this, t, e), j(t) ? t === p || t == null || t === "" ? (this._$AH !== p && this._$AR(), this._$AH = p) : t !== this._$AH && t !== P && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : pe(t) ? this.k(t) : this._(t);
405
+ }
406
+ O(t) {
407
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
408
+ }
409
+ T(t) {
410
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
411
+ }
412
+ _(t) {
413
+ this._$AH !== p && j(this._$AH) ? this._$AA.nextSibling.data = t : this.T(S.createTextNode(t)), this._$AH = t;
414
+ }
415
+ $(t) {
416
+ var r;
417
+ const { values: e, _$litType$: s } = t, i = typeof s == "number" ? this._$AC(t) : (s.el === void 0 && (s.el = ot.createElement(Kt(s.h, s.h[0]), this.options)), s);
418
+ if (((r = this._$AH) == null ? void 0 : r._$AD) === i) this._$AH.p(e);
419
+ else {
420
+ const n = new fe(i, this), h = n.u(this.options);
421
+ n.p(e), this.T(h), this._$AH = n;
422
+ }
423
+ }
424
+ _$AC(t) {
425
+ let e = Pt.get(t.strings);
426
+ return e === void 0 && Pt.set(t.strings, e = new ot(t)), e;
427
+ }
428
+ k(t) {
429
+ ct(this._$AH) || (this._$AH = [], this._$AR());
430
+ const e = this._$AH;
431
+ let s, i = 0;
432
+ for (const r of t) i === e.length ? e.push(s = new Jt(this.O(L()), this.O(L()), this, this.options)) : s = e[i], s._$AI(r), i++;
433
+ i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
434
+ }
435
+ _$AR(t = this._$AA.nextSibling, e) {
436
+ var s;
437
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
438
+ const i = t.nextSibling;
439
+ t.remove(), t = i;
440
+ }
441
+ }
442
+ setConnected(t) {
443
+ var e;
444
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
445
+ }
446
+ }, Q = class {
447
+ get tagName() {
448
+ return this.element.tagName;
449
+ }
450
+ get _$AU() {
451
+ return this._$AM._$AU;
452
+ }
453
+ constructor(t, e, s, i, r) {
454
+ this.type = 1, this._$AH = p, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = p;
455
+ }
456
+ _$AI(t, e = this, s, i) {
457
+ const r = this.strings;
458
+ let n = !1;
459
+ if (r === void 0) t = C(this, t, e, 0), n = !j(t) || t !== this._$AH && t !== P, n && (this._$AH = t);
460
+ else {
461
+ const h = t;
462
+ let a, c;
463
+ for (t = r[0], a = 0; a < r.length - 1; a++) c = C(this, h[s + a], e, a), c === P && (c = this._$AH[a]), n || (n = !j(c) || c !== this._$AH[a]), c === p ? t = p : t !== p && (t += (c ?? "") + r[a + 1]), this._$AH[a] = c;
464
+ }
465
+ n && !i && this.j(t);
466
+ }
467
+ j(t) {
468
+ t === p ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
469
+ }
470
+ }, me = class extends Q {
471
+ constructor() {
472
+ super(...arguments), this.type = 3;
473
+ }
474
+ j(t) {
475
+ this.element[this.name] = t === p ? void 0 : t;
476
+ }
477
+ }, _e = class extends Q {
478
+ constructor() {
479
+ super(...arguments), this.type = 4;
480
+ }
481
+ j(t) {
482
+ this.element.toggleAttribute(this.name, !!t && t !== p);
483
+ }
484
+ }, Ae = class extends Q {
485
+ constructor(t, e, s, i, r) {
486
+ super(t, e, s, i, r), this.type = 5;
487
+ }
488
+ _$AI(t, e = this) {
489
+ if ((t = C(this, t, e, 0) ?? p) === P) return;
490
+ const s = this._$AH, i = t === p && s !== p || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== p && (s === p || i);
491
+ i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
492
+ }
493
+ handleEvent(t) {
494
+ var e;
495
+ typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
496
+ }
497
+ }, ge = class {
498
+ constructor(t, e, s) {
499
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
500
+ }
501
+ get _$AU() {
502
+ return this._$AM._$AU;
503
+ }
504
+ _$AI(t) {
505
+ C(this, t);
506
+ }
507
+ };
508
+ const st = R.litHtmlPolyfillSupport;
509
+ st == null || st(ot, dt), (R.litHtmlVersions ?? (R.litHtmlVersions = [])).push("3.2.1");
510
+ const be = (o, t, e) => {
511
+ const s = (e == null ? void 0 : e.renderBefore) ?? t;
512
+ let i = s._$litPart$;
513
+ if (i === void 0) {
514
+ const r = (e == null ? void 0 : e.renderBefore) ?? null;
515
+ s._$litPart$ = i = new dt(t.insertBefore(L(), r), r, void 0, e ?? {});
516
+ }
517
+ return i._$AI(o), i;
518
+ };
519
+ /**
520
+ * @license
521
+ * Copyright 2017 Google LLC
522
+ * SPDX-License-Identifier: BSD-3-Clause
523
+ */
524
+ let k = class extends x {
525
+ constructor() {
526
+ super(...arguments), this.renderOptions = { host: this }, this._$Do = void 0;
527
+ }
528
+ createRenderRoot() {
529
+ var e;
530
+ const t = super.createRenderRoot();
531
+ return (e = this.renderOptions).renderBefore ?? (e.renderBefore = t.firstChild), t;
532
+ }
533
+ update(t) {
534
+ const e = this.render();
535
+ this.hasUpdated || (this.renderOptions.isConnected = this.isConnected), super.update(t), this._$Do = be(e, this.renderRoot, this.renderOptions);
536
+ }
537
+ connectedCallback() {
538
+ var t;
539
+ super.connectedCallback(), (t = this._$Do) == null || t.setConnected(!0);
540
+ }
541
+ disconnectedCallback() {
542
+ var t;
543
+ super.disconnectedCallback(), (t = this._$Do) == null || t.setConnected(!1);
544
+ }
545
+ render() {
546
+ return P;
547
+ }
548
+ };
549
+ var zt;
550
+ k._$litElement$ = !0, k.finalized = !0, (zt = globalThis.litElementHydrateSupport) == null || zt.call(globalThis, { LitElement: k });
551
+ const it = globalThis.litElementPolyfillSupport;
552
+ it == null || it({ LitElement: k });
553
+ (globalThis.litElementVersions ?? (globalThis.litElementVersions = [])).push("4.1.1");
554
+ /*! * Lucero - The design system for Luzmo.
555
+ *
556
+ * Copyright © 2025 Luzmo
557
+ * All rights reserved.
558
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
559
+ * This license allows users with a current active Luzmo account to use Lucero.
560
+ * This license terminates automatically if a user no longer has an active Luzmo account.
561
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
562
+ *
563
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
564
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
565
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
566
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
567
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
568
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
569
+ * SOFTWARE.
570
+ * */
571
+ /**
572
+ * @license
573
+ * Copyright 2019 Google LLC
574
+ * SPDX-License-Identifier: BSD-3-Clause
575
+ */
576
+ const V = globalThis, ut = V.ShadowRoot && (V.ShadyCSS === void 0 || V.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype, Gt = Symbol(), Ct = /* @__PURE__ */ new WeakMap();
577
+ let ye = class {
578
+ constructor(t, e, s) {
579
+ if (this._$cssResult$ = !0, s !== Gt) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
580
+ this.cssText = t, this.t = e;
581
+ }
582
+ get styleSheet() {
583
+ let t = this.o;
584
+ const e = this.t;
585
+ if (ut && t === void 0) {
586
+ const s = e !== void 0 && e.length === 1;
587
+ s && (t = Ct.get(e)), t === void 0 && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), s && Ct.set(e, t));
588
+ }
589
+ return t;
590
+ }
591
+ toString() {
592
+ return this.cssText;
593
+ }
594
+ };
595
+ const ve = (o) => new ye(typeof o == "string" ? o : o + "", void 0, Gt), Ee = (o, t) => {
596
+ if (ut) o.adoptedStyleSheets = t.map((e) => e instanceof CSSStyleSheet ? e : e.styleSheet);
597
+ else for (const e of t) {
598
+ const s = document.createElement("style"), i = V.litNonce;
599
+ i !== void 0 && s.setAttribute("nonce", i), s.textContent = e.cssText, o.appendChild(s);
600
+ }
601
+ }, Ut = ut ? (o) => o : (o) => o instanceof CSSStyleSheet ? ((t) => {
602
+ let e = "";
603
+ for (const s of t.cssRules) e += s.cssText;
604
+ return ve(e);
605
+ })(o) : o;
606
+ /**
607
+ * @license
608
+ * Copyright 2017 Google LLC
609
+ * SPDX-License-Identifier: BSD-3-Clause
610
+ */
611
+ const { is: Se, defineProperty: we, getOwnPropertyDescriptor: xe, getOwnPropertyNames: Pe, getOwnPropertySymbols: Ce, getPrototypeOf: Ue } = Object, U = globalThis, Tt = U.trustedTypes, Te = Tt ? Tt.emptyScript : "", Ot = U.reactiveElementPolyfillSupport, I = (o, t) => o, K = { toAttribute(o, t) {
612
+ switch (t) {
613
+ case Boolean:
614
+ o = o ? Te : null;
615
+ break;
616
+ case Object:
617
+ case Array:
618
+ o = o == null ? o : JSON.stringify(o);
619
+ }
620
+ return o;
621
+ }, fromAttribute(o, t) {
622
+ let e = o;
623
+ switch (t) {
624
+ case Boolean:
625
+ e = o !== null;
626
+ break;
627
+ case Number:
628
+ e = o === null ? null : Number(o);
629
+ break;
630
+ case Object:
631
+ case Array:
632
+ try {
633
+ e = JSON.parse(o);
634
+ } catch {
635
+ e = null;
636
+ }
637
+ }
638
+ return e;
639
+ } }, pt = (o, t) => !Se(o, t), Mt = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: pt };
640
+ Symbol.metadata ?? (Symbol.metadata = Symbol("metadata")), U.litPropertyMetadata ?? (U.litPropertyMetadata = /* @__PURE__ */ new WeakMap());
641
+ let M = class extends HTMLElement {
642
+ static addInitializer(t) {
643
+ this._$Ei(), (this.l ?? (this.l = [])).push(t);
644
+ }
645
+ static get observedAttributes() {
646
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
647
+ }
648
+ static createProperty(t, e = Mt) {
649
+ if (e.state && (e.attribute = !1), this._$Ei(), this.elementProperties.set(t, e), !e.noAccessor) {
650
+ const s = Symbol(), i = this.getPropertyDescriptor(t, s, e);
651
+ i !== void 0 && we(this.prototype, t, i);
652
+ }
653
+ }
654
+ static getPropertyDescriptor(t, e, s) {
655
+ const { get: i, set: r } = xe(this.prototype, t) ?? { get() {
656
+ return this[e];
657
+ }, set(n) {
658
+ this[e] = n;
659
+ } };
660
+ return { get() {
661
+ return i == null ? void 0 : i.call(this);
662
+ }, set(n) {
663
+ const h = i == null ? void 0 : i.call(this);
664
+ r.call(this, n), this.requestUpdate(t, h, s);
665
+ }, configurable: !0, enumerable: !0 };
666
+ }
667
+ static getPropertyOptions(t) {
668
+ return this.elementProperties.get(t) ?? Mt;
669
+ }
670
+ static _$Ei() {
671
+ if (this.hasOwnProperty(I("elementProperties"))) return;
672
+ const t = Ue(this);
673
+ t.finalize(), t.l !== void 0 && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
674
+ }
675
+ static finalize() {
676
+ if (this.hasOwnProperty(I("finalized"))) return;
677
+ if (this.finalized = !0, this._$Ei(), this.hasOwnProperty(I("properties"))) {
678
+ const e = this.properties, s = [...Pe(e), ...Ce(e)];
679
+ for (const i of s) this.createProperty(i, e[i]);
680
+ }
681
+ const t = this[Symbol.metadata];
682
+ if (t !== null) {
683
+ const e = litPropertyMetadata.get(t);
684
+ if (e !== void 0) for (const [s, i] of e) this.elementProperties.set(s, i);
685
+ }
686
+ this._$Eh = /* @__PURE__ */ new Map();
687
+ for (const [e, s] of this.elementProperties) {
688
+ const i = this._$Eu(e, s);
689
+ i !== void 0 && this._$Eh.set(i, e);
690
+ }
691
+ this.elementStyles = this.finalizeStyles(this.styles);
692
+ }
693
+ static finalizeStyles(t) {
694
+ const e = [];
695
+ if (Array.isArray(t)) {
696
+ const s = new Set(t.flat(1 / 0).reverse());
697
+ for (const i of s) e.unshift(Ut(i));
698
+ } else t !== void 0 && e.push(Ut(t));
699
+ return e;
700
+ }
701
+ static _$Eu(t, e) {
702
+ const s = e.attribute;
703
+ return s === !1 ? void 0 : typeof s == "string" ? s : typeof t == "string" ? t.toLowerCase() : void 0;
704
+ }
705
+ constructor() {
706
+ super(), this._$Ep = void 0, this.isUpdatePending = !1, this.hasUpdated = !1, this._$Em = null, this._$Ev();
707
+ }
708
+ _$Ev() {
709
+ var t;
710
+ this._$ES = new Promise((e) => this.enableUpdating = e), this._$AL = /* @__PURE__ */ new Map(), this._$E_(), this.requestUpdate(), (t = this.constructor.l) == null || t.forEach((e) => e(this));
711
+ }
712
+ addController(t) {
713
+ var e;
714
+ (this._$EO ?? (this._$EO = /* @__PURE__ */ new Set())).add(t), this.renderRoot !== void 0 && this.isConnected && ((e = t.hostConnected) == null || e.call(t));
715
+ }
716
+ removeController(t) {
717
+ var e;
718
+ (e = this._$EO) == null || e.delete(t);
719
+ }
720
+ _$E_() {
721
+ const t = /* @__PURE__ */ new Map(), e = this.constructor.elementProperties;
722
+ for (const s of e.keys()) this.hasOwnProperty(s) && (t.set(s, this[s]), delete this[s]);
723
+ t.size > 0 && (this._$Ep = t);
724
+ }
725
+ createRenderRoot() {
726
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
727
+ return Ee(t, this.constructor.elementStyles), t;
728
+ }
729
+ connectedCallback() {
730
+ var t;
731
+ this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this.enableUpdating(!0), (t = this._$EO) == null || t.forEach((e) => {
732
+ var s;
733
+ return (s = e.hostConnected) == null ? void 0 : s.call(e);
734
+ });
735
+ }
736
+ enableUpdating(t) {
737
+ }
738
+ disconnectedCallback() {
739
+ var t;
740
+ (t = this._$EO) == null || t.forEach((e) => {
741
+ var s;
742
+ return (s = e.hostDisconnected) == null ? void 0 : s.call(e);
743
+ });
744
+ }
745
+ attributeChangedCallback(t, e, s) {
746
+ this._$AK(t, s);
747
+ }
748
+ _$EC(t, e) {
749
+ var s;
750
+ const i = this.constructor.elementProperties.get(t), r = this.constructor._$Eu(t, i);
751
+ if (r !== void 0 && i.reflect === !0) {
752
+ const n = (((s = i.converter) == null ? void 0 : s.toAttribute) !== void 0 ? i.converter : K).toAttribute(e, i.type);
753
+ this._$Em = t, n == null ? this.removeAttribute(r) : this.setAttribute(r, n), this._$Em = null;
754
+ }
755
+ }
756
+ _$AK(t, e) {
757
+ var s;
758
+ const i = this.constructor, r = i._$Eh.get(t);
759
+ if (r !== void 0 && this._$Em !== r) {
760
+ const n = i.getPropertyOptions(r), h = typeof n.converter == "function" ? { fromAttribute: n.converter } : ((s = n.converter) == null ? void 0 : s.fromAttribute) !== void 0 ? n.converter : K;
761
+ this._$Em = r, this[r] = h.fromAttribute(e, n.type), this._$Em = null;
762
+ }
763
+ }
764
+ requestUpdate(t, e, s) {
765
+ if (t !== void 0) {
766
+ if (s ?? (s = this.constructor.getPropertyOptions(t)), !(s.hasChanged ?? pt)(this[t], e)) return;
767
+ this.P(t, e, s);
768
+ }
769
+ this.isUpdatePending === !1 && (this._$ES = this._$ET());
770
+ }
771
+ P(t, e, s) {
772
+ this._$AL.has(t) || this._$AL.set(t, e), s.reflect === !0 && this._$Em !== t && (this._$Ej ?? (this._$Ej = /* @__PURE__ */ new Set())).add(t);
773
+ }
774
+ async _$ET() {
775
+ this.isUpdatePending = !0;
776
+ try {
777
+ await this._$ES;
778
+ } catch (e) {
779
+ Promise.reject(e);
780
+ }
781
+ const t = this.scheduleUpdate();
782
+ return t != null && await t, !this.isUpdatePending;
783
+ }
784
+ scheduleUpdate() {
785
+ return this.performUpdate();
786
+ }
787
+ performUpdate() {
788
+ var t;
789
+ if (!this.isUpdatePending) return;
790
+ if (!this.hasUpdated) {
791
+ if (this.renderRoot ?? (this.renderRoot = this.createRenderRoot()), this._$Ep) {
792
+ for (const [r, n] of this._$Ep) this[r] = n;
793
+ this._$Ep = void 0;
794
+ }
795
+ const i = this.constructor.elementProperties;
796
+ if (i.size > 0) for (const [r, n] of i) n.wrapped !== !0 || this._$AL.has(r) || this[r] === void 0 || this.P(r, this[r], n);
797
+ }
798
+ let e = !1;
799
+ const s = this._$AL;
800
+ try {
801
+ e = this.shouldUpdate(s), e ? (this.willUpdate(s), (t = this._$EO) == null || t.forEach((i) => {
802
+ var r;
803
+ return (r = i.hostUpdate) == null ? void 0 : r.call(i);
804
+ }), this.update(s)) : this._$EU();
805
+ } catch (i) {
806
+ throw e = !1, this._$EU(), i;
807
+ }
808
+ e && this._$AE(s);
809
+ }
810
+ willUpdate(t) {
811
+ }
812
+ _$AE(t) {
813
+ var e;
814
+ (e = this._$EO) == null || e.forEach((s) => {
815
+ var i;
816
+ return (i = s.hostUpdated) == null ? void 0 : i.call(s);
817
+ }), this.hasUpdated || (this.hasUpdated = !0, this.firstUpdated(t)), this.updated(t);
818
+ }
819
+ _$EU() {
820
+ this._$AL = /* @__PURE__ */ new Map(), this.isUpdatePending = !1;
821
+ }
822
+ get updateComplete() {
823
+ return this.getUpdateComplete();
824
+ }
825
+ getUpdateComplete() {
826
+ return this._$ES;
827
+ }
828
+ shouldUpdate(t) {
829
+ return !0;
830
+ }
831
+ update(t) {
832
+ this._$Ej && (this._$Ej = this._$Ej.forEach((e) => this._$EC(e, this[e]))), this._$EU();
833
+ }
834
+ updated(t) {
835
+ }
836
+ firstUpdated(t) {
837
+ }
838
+ };
839
+ M.elementStyles = [], M.shadowRootOptions = { mode: "open" }, M[I("elementProperties")] = /* @__PURE__ */ new Map(), M[I("finalized")] = /* @__PURE__ */ new Map(), Ot == null || Ot({ ReactiveElement: M }), (U.reactiveElementVersions ?? (U.reactiveElementVersions = [])).push("2.0.4");
840
+ /**
841
+ * @license
842
+ * Copyright 2017 Google LLC
843
+ * SPDX-License-Identifier: BSD-3-Clause
844
+ */
845
+ const Oe = { attribute: !0, type: String, converter: K, reflect: !1, hasChanged: pt }, Me = (o = Oe, t, e) => {
846
+ const { kind: s, metadata: i } = e;
847
+ let r = globalThis.litPropertyMetadata.get(i);
848
+ if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(e.name, o), s === "accessor") {
849
+ const { name: n } = e;
850
+ return { set(h) {
851
+ const a = t.get.call(this);
852
+ t.set.call(this, h), this.requestUpdate(n, a, o);
853
+ }, init(h) {
854
+ return h !== void 0 && this.P(n, void 0, o), h;
855
+ } };
856
+ }
857
+ if (s === "setter") {
858
+ const { name: n } = e;
859
+ return function(h) {
860
+ const a = this[n];
861
+ t.call(this, h), this.requestUpdate(n, a, o);
862
+ };
863
+ }
864
+ throw Error("Unsupported decorator location: " + s);
865
+ };
866
+ function $t(o) {
867
+ return (t, e) => typeof e == "object" ? Me(o, t, e) : ((s, i, r) => {
868
+ const n = i.hasOwnProperty(r);
869
+ return i.constructor.createProperty(r, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, r) : void 0;
870
+ })(o, t, e);
871
+ }
872
+ const rt = /* @__PURE__ */ new Set(), Ne = () => {
873
+ const o = document.documentElement.dir === "rtl" ? document.documentElement.dir : "ltr";
874
+ rt.forEach((t) => {
875
+ t.setAttribute("dir", o);
876
+ });
877
+ }, He = new MutationObserver(Ne);
878
+ He.observe(document.documentElement, {
879
+ attributes: !0,
880
+ attributeFilter: ["dir"]
881
+ });
882
+ const Re = (o) => o.startManagingContentDirection !== void 0 || o.tagName === "LUZMO-THEME";
883
+ function ke(o) {
884
+ class t extends o {
885
+ /**
886
+ * @private
887
+ */
888
+ get isLTR() {
889
+ return this.dir === "ltr";
890
+ }
891
+ hasVisibleFocusInTree() {
892
+ const s = ((i = document) => {
893
+ var r;
894
+ let n = i.activeElement;
895
+ for (; n != null && n.shadowRoot && n.shadowRoot.activeElement; )
896
+ n = n.shadowRoot.activeElement;
897
+ const h = n ? [n] : [];
898
+ for (; n; ) {
899
+ const a = n.assignedSlot || n.parentElement || ((r = n.getRootNode()) == null ? void 0 : r.host);
900
+ a && h.push(a), n = a;
901
+ }
902
+ return h;
903
+ })(this.getRootNode())[0];
904
+ if (!s)
905
+ return !1;
906
+ try {
907
+ return s.matches(":focus-visible") || s.matches(".focus-visible");
908
+ } catch {
909
+ return s.matches(".focus-visible");
910
+ }
911
+ }
912
+ connectedCallback() {
913
+ if (!this.hasAttribute("dir")) {
914
+ let s = this.assignedSlot || this.parentNode;
915
+ for (; s !== document.documentElement && !Re(s); )
916
+ s = s.assignedSlot || // step into the shadow DOM of the parent of a slotted node
917
+ s.parentNode || // DOM Element detected
918
+ s.host;
919
+ if (this.dir = s.dir === "rtl" ? s.dir : this.dir || "ltr", s === document.documentElement)
920
+ rt.add(this);
921
+ else {
922
+ const { localName: i } = s;
923
+ i.search("-") > -1 && !customElements.get(i) ? customElements.whenDefined(i).then(() => {
924
+ s.startManagingContentDirection(this);
925
+ }) : s.startManagingContentDirection(this);
926
+ }
927
+ this._dirParent = s;
928
+ }
929
+ super.connectedCallback();
930
+ }
931
+ disconnectedCallback() {
932
+ super.disconnectedCallback(), this._dirParent && (this._dirParent === document.documentElement ? rt.delete(this) : this._dirParent.stopManagingContentDirection(this), this.removeAttribute("dir"));
933
+ }
934
+ }
935
+ return t;
936
+ }
937
+ let Ie = class extends ke(k) {
938
+ };
939
+ /*! * Lucero - The design system for Luzmo.
940
+ *
941
+ * Copyright © 2025 Luzmo
942
+ * All rights reserved.
943
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
944
+ * This license allows users with a current active Luzmo account to use Lucero.
945
+ * This license terminates automatically if a user no longer has an active Luzmo account.
946
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
947
+ *
948
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
949
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
950
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
951
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
952
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
953
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
954
+ * SOFTWARE.
955
+ * */
956
+ /**
957
+ * @license
958
+ * Copyright 2017 Google LLC
959
+ * SPDX-License-Identifier: BSD-3-Clause
960
+ */
961
+ const Z = globalThis, J = Z.trustedTypes, Nt = J ? J.createPolicy("lit-html", { createHTML: (o) => o }) : void 0, Qt = "$lit$", A = `lit$${Math.random().toFixed(9).slice(2)}$`, Xt = "?" + A, Le = `<${Xt}>`, w = document, G = () => w.createComment(""), D = (o) => o === null || typeof o != "object" && typeof o != "function", ft = Array.isArray, je = (o) => ft(o) || typeof (o == null ? void 0 : o[Symbol.iterator]) == "function", nt = `[
962
+ \f\r]`, N = /<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g, Ht = /-->/g, Rt = />/g, y = RegExp(`>|${nt}(?:([^\\s"'>=/]+)(${nt}*=${nt}*(?:[^
963
+ \f\r"'\`<>=]|("|')|))|$)`, "g"), kt = /'/g, It = /"/g, Yt = /^(?:script|style|textarea|title)$/i, z = Symbol.for("lit-noChange"), $ = Symbol.for("lit-nothing"), Lt = /* @__PURE__ */ new WeakMap(), E = w.createTreeWalker(w, 129);
964
+ function te(o, t) {
965
+ if (!ft(o) || !o.hasOwnProperty("raw")) throw Error("invalid template strings array");
966
+ return Nt !== void 0 ? Nt.createHTML(t) : t;
967
+ }
968
+ const De = (o, t) => {
969
+ const e = o.length - 1, s = [];
970
+ let i, r = t === 2 ? "<svg>" : t === 3 ? "<math>" : "", n = N;
971
+ for (let h = 0; h < e; h++) {
972
+ const a = o[h];
973
+ let c, d, l = -1, u = 0;
974
+ for (; u < a.length && (n.lastIndex = u, d = n.exec(a), d !== null); ) u = n.lastIndex, n === N ? d[1] === "!--" ? n = Ht : d[1] !== void 0 ? n = Rt : d[2] !== void 0 ? (Yt.test(d[2]) && (i = RegExp("</" + d[2], "g")), n = y) : d[3] !== void 0 && (n = y) : n === y ? d[0] === ">" ? (n = i ?? N, l = -1) : d[1] === void 0 ? l = -2 : (l = n.lastIndex - d[2].length, c = d[1], n = d[3] === void 0 ? y : d[3] === '"' ? It : kt) : n === It || n === kt ? n = y : n === Ht || n === Rt ? n = N : (n = y, i = void 0);
975
+ const f = n === y && o[h + 1].startsWith("/>") ? " " : "";
976
+ r += n === N ? a + Le : l >= 0 ? (s.push(c), a.slice(0, l) + Qt + a.slice(l) + A + f) : a + A + (l === -2 ? h : f);
977
+ }
978
+ return [te(o, r + (o[e] || "<?>") + (t === 2 ? "</svg>" : t === 3 ? "</math>" : "")), s];
979
+ };
980
+ class F {
981
+ constructor({ strings: t, _$litType$: e }, s) {
982
+ let i;
983
+ this.parts = [];
984
+ let r = 0, n = 0;
985
+ const h = t.length - 1, a = this.parts, [c, d] = De(t, e);
986
+ if (this.el = F.createElement(c, s), E.currentNode = this.el.content, e === 2 || e === 3) {
987
+ const l = this.el.content.firstChild;
988
+ l.replaceWith(...l.childNodes);
989
+ }
990
+ for (; (i = E.nextNode()) !== null && a.length < h; ) {
991
+ if (i.nodeType === 1) {
992
+ if (i.hasAttributes()) for (const l of i.getAttributeNames()) if (l.endsWith(Qt)) {
993
+ const u = d[n++], f = i.getAttribute(l).split(A), m = /([.?@])?(.*)/.exec(u);
994
+ a.push({ type: 1, index: r, name: m[2], strings: f, ctor: m[1] === "." ? Fe : m[1] === "?" ? Be : m[1] === "@" ? Ve : Y }), i.removeAttribute(l);
995
+ } else l.startsWith(A) && (a.push({ type: 6, index: r }), i.removeAttribute(l));
996
+ if (Yt.test(i.tagName)) {
997
+ const l = i.textContent.split(A), u = l.length - 1;
998
+ if (u > 0) {
999
+ i.textContent = J ? J.emptyScript : "";
1000
+ for (let f = 0; f < u; f++) i.append(l[f], G()), E.nextNode(), a.push({ type: 2, index: ++r });
1001
+ i.append(l[u], G());
1002
+ }
1003
+ }
1004
+ } else if (i.nodeType === 8) if (i.data === Xt) a.push({ type: 2, index: r });
1005
+ else {
1006
+ let l = -1;
1007
+ for (; (l = i.data.indexOf(A, l + 1)) !== -1; ) a.push({ type: 7, index: r }), l += A.length - 1;
1008
+ }
1009
+ r++;
1010
+ }
1011
+ }
1012
+ static createElement(t, e) {
1013
+ const s = w.createElement("template");
1014
+ return s.innerHTML = t, s;
1015
+ }
1016
+ }
1017
+ function T(o, t, e = o, s) {
1018
+ var i, r;
1019
+ if (t === z) return t;
1020
+ let n = s !== void 0 ? (i = e._$Co) == null ? void 0 : i[s] : e._$Cl;
1021
+ const h = D(t) ? void 0 : t._$litDirective$;
1022
+ return (n == null ? void 0 : n.constructor) !== h && ((r = n == null ? void 0 : n._$AO) == null || r.call(n, !1), h === void 0 ? n = void 0 : (n = new h(o), n._$AT(o, e, s)), s !== void 0 ? (e._$Co ?? (e._$Co = []))[s] = n : e._$Cl = n), n !== void 0 && (t = T(o, n._$AS(o, t.values), n, s)), t;
1023
+ }
1024
+ class ze {
1025
+ constructor(t, e) {
1026
+ this._$AV = [], this._$AN = void 0, this._$AD = t, this._$AM = e;
1027
+ }
1028
+ get parentNode() {
1029
+ return this._$AM.parentNode;
1030
+ }
1031
+ get _$AU() {
1032
+ return this._$AM._$AU;
1033
+ }
1034
+ u(t) {
1035
+ const { el: { content: e }, parts: s } = this._$AD, i = ((t == null ? void 0 : t.creationScope) ?? w).importNode(e, !0);
1036
+ E.currentNode = i;
1037
+ let r = E.nextNode(), n = 0, h = 0, a = s[0];
1038
+ for (; a !== void 0; ) {
1039
+ if (n === a.index) {
1040
+ let c;
1041
+ a.type === 2 ? c = new X(r, r.nextSibling, this, t) : a.type === 1 ? c = new a.ctor(r, a.name, a.strings, this, t) : a.type === 6 && (c = new We(r, this, t)), this._$AV.push(c), a = s[++h];
1042
+ }
1043
+ n !== (a == null ? void 0 : a.index) && (r = E.nextNode(), n++);
1044
+ }
1045
+ return E.currentNode = w, i;
1046
+ }
1047
+ p(t) {
1048
+ let e = 0;
1049
+ for (const s of this._$AV) s !== void 0 && (s.strings !== void 0 ? (s._$AI(t, s, e), e += s.strings.length - 2) : s._$AI(t[e])), e++;
1050
+ }
1051
+ }
1052
+ class X {
1053
+ get _$AU() {
1054
+ var t;
1055
+ return ((t = this._$AM) == null ? void 0 : t._$AU) ?? this._$Cv;
1056
+ }
1057
+ constructor(t, e, s, i) {
1058
+ this.type = 2, this._$AH = $, this._$AN = void 0, this._$AA = t, this._$AB = e, this._$AM = s, this.options = i, this._$Cv = (i == null ? void 0 : i.isConnected) ?? !0;
1059
+ }
1060
+ get parentNode() {
1061
+ let t = this._$AA.parentNode;
1062
+ const e = this._$AM;
1063
+ return e !== void 0 && (t == null ? void 0 : t.nodeType) === 11 && (t = e.parentNode), t;
1064
+ }
1065
+ get startNode() {
1066
+ return this._$AA;
1067
+ }
1068
+ get endNode() {
1069
+ return this._$AB;
1070
+ }
1071
+ _$AI(t, e = this) {
1072
+ t = T(this, t, e), D(t) ? t === $ || t == null || t === "" ? (this._$AH !== $ && this._$AR(), this._$AH = $) : t !== this._$AH && t !== z && this._(t) : t._$litType$ !== void 0 ? this.$(t) : t.nodeType !== void 0 ? this.T(t) : je(t) ? this.k(t) : this._(t);
1073
+ }
1074
+ O(t) {
1075
+ return this._$AA.parentNode.insertBefore(t, this._$AB);
1076
+ }
1077
+ T(t) {
1078
+ this._$AH !== t && (this._$AR(), this._$AH = this.O(t));
1079
+ }
1080
+ _(t) {
1081
+ this._$AH !== $ && D(this._$AH) ? this._$AA.nextSibling.data = t : this.T(w.createTextNode(t)), this._$AH = t;
1082
+ }
1083
+ $(t) {
1084
+ var e;
1085
+ const { values: s, _$litType$: i } = t, r = typeof i == "number" ? this._$AC(t) : (i.el === void 0 && (i.el = F.createElement(te(i.h, i.h[0]), this.options)), i);
1086
+ if (((e = this._$AH) == null ? void 0 : e._$AD) === r) this._$AH.p(s);
1087
+ else {
1088
+ const n = new ze(r, this), h = n.u(this.options);
1089
+ n.p(s), this.T(h), this._$AH = n;
1090
+ }
1091
+ }
1092
+ _$AC(t) {
1093
+ let e = Lt.get(t.strings);
1094
+ return e === void 0 && Lt.set(t.strings, e = new F(t)), e;
1095
+ }
1096
+ k(t) {
1097
+ ft(this._$AH) || (this._$AH = [], this._$AR());
1098
+ const e = this._$AH;
1099
+ let s, i = 0;
1100
+ for (const r of t) i === e.length ? e.push(s = new X(this.O(G()), this.O(G()), this, this.options)) : s = e[i], s._$AI(r), i++;
1101
+ i < e.length && (this._$AR(s && s._$AB.nextSibling, i), e.length = i);
1102
+ }
1103
+ _$AR(t = this._$AA.nextSibling, e) {
1104
+ var s;
1105
+ for ((s = this._$AP) == null ? void 0 : s.call(this, !1, !0, e); t && t !== this._$AB; ) {
1106
+ const i = t.nextSibling;
1107
+ t.remove(), t = i;
1108
+ }
1109
+ }
1110
+ setConnected(t) {
1111
+ var e;
1112
+ this._$AM === void 0 && (this._$Cv = t, (e = this._$AP) == null || e.call(this, t));
1113
+ }
1114
+ }
1115
+ class Y {
1116
+ get tagName() {
1117
+ return this.element.tagName;
1118
+ }
1119
+ get _$AU() {
1120
+ return this._$AM._$AU;
1121
+ }
1122
+ constructor(t, e, s, i, r) {
1123
+ this.type = 1, this._$AH = $, this._$AN = void 0, this.element = t, this.name = e, this._$AM = i, this.options = r, s.length > 2 || s[0] !== "" || s[1] !== "" ? (this._$AH = Array(s.length - 1).fill(new String()), this.strings = s) : this._$AH = $;
1124
+ }
1125
+ _$AI(t, e = this, s, i) {
1126
+ const r = this.strings;
1127
+ let n = !1;
1128
+ if (r === void 0) t = T(this, t, e, 0), n = !D(t) || t !== this._$AH && t !== z, n && (this._$AH = t);
1129
+ else {
1130
+ const h = t;
1131
+ let a, c;
1132
+ for (t = r[0], a = 0; a < r.length - 1; a++) c = T(this, h[s + a], e, a), c === z && (c = this._$AH[a]), n || (n = !D(c) || c !== this._$AH[a]), c === $ ? t = $ : t !== $ && (t += (c ?? "") + r[a + 1]), this._$AH[a] = c;
1133
+ }
1134
+ n && !i && this.j(t);
1135
+ }
1136
+ j(t) {
1137
+ t === $ ? this.element.removeAttribute(this.name) : this.element.setAttribute(this.name, t ?? "");
1138
+ }
1139
+ }
1140
+ class Fe extends Y {
1141
+ constructor() {
1142
+ super(...arguments), this.type = 3;
1143
+ }
1144
+ j(t) {
1145
+ this.element[this.name] = t === $ ? void 0 : t;
1146
+ }
1147
+ }
1148
+ class Be extends Y {
1149
+ constructor() {
1150
+ super(...arguments), this.type = 4;
1151
+ }
1152
+ j(t) {
1153
+ this.element.toggleAttribute(this.name, !!t && t !== $);
1154
+ }
1155
+ }
1156
+ class Ve extends Y {
1157
+ constructor(t, e, s, i, r) {
1158
+ super(t, e, s, i, r), this.type = 5;
1159
+ }
1160
+ _$AI(t, e = this) {
1161
+ if ((t = T(this, t, e, 0) ?? $) === z) return;
1162
+ const s = this._$AH, i = t === $ && s !== $ || t.capture !== s.capture || t.once !== s.once || t.passive !== s.passive, r = t !== $ && (s === $ || i);
1163
+ i && this.element.removeEventListener(this.name, this, s), r && this.element.addEventListener(this.name, this, t), this._$AH = t;
1164
+ }
1165
+ handleEvent(t) {
1166
+ var e;
1167
+ typeof this._$AH == "function" ? this._$AH.call(((e = this.options) == null ? void 0 : e.host) ?? this.element, t) : this._$AH.handleEvent(t);
1168
+ }
1169
+ }
1170
+ class We {
1171
+ constructor(t, e, s) {
1172
+ this.element = t, this.type = 6, this._$AN = void 0, this._$AM = e, this.options = s;
1173
+ }
1174
+ get _$AU() {
1175
+ return this._$AM._$AU;
1176
+ }
1177
+ _$AI(t) {
1178
+ T(this, t);
1179
+ }
1180
+ }
1181
+ const jt = Z.litHtmlPolyfillSupport;
1182
+ jt == null || jt(F, X), (Z.litHtmlVersions ?? (Z.litHtmlVersions = [])).push("3.2.1");
1183
+ /*! * Lucero - The design system for Luzmo.
1184
+ *
1185
+ * Copyright © 2025 Luzmo
1186
+ * All rights reserved.
1187
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1188
+ * This license allows users with a current active Luzmo account to use Lucero.
1189
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1190
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1191
+ *
1192
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1193
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1194
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1195
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1196
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1197
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1198
+ * SOFTWARE.
1199
+ * */
1200
+ let at = !0;
1201
+ try {
1202
+ document.body.querySelector(":focus-visible");
1203
+ } catch {
1204
+ at = !1, Promise.resolve().then(() => qe);
1205
+ }
1206
+ const ee = (o) => {
1207
+ var t, e;
1208
+ const s = (n) => {
1209
+ if (n.shadowRoot == null || Object.hasOwn(n.dataset, "jsFocusVisible"))
1210
+ return () => {
1211
+ };
1212
+ if (self.applyFocusVisiblePolyfill)
1213
+ self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
1214
+ else {
1215
+ const h = () => {
1216
+ self.applyFocusVisiblePolyfill && n.shadowRoot && self.applyFocusVisiblePolyfill(n.shadowRoot), n.manageAutoFocus && n.manageAutoFocus();
1217
+ };
1218
+ return self.addEventListener(
1219
+ "focus-visible-polyfill-ready",
1220
+ h,
1221
+ { once: !0 }
1222
+ ), () => {
1223
+ self.removeEventListener(
1224
+ "focus-visible-polyfill-ready",
1225
+ h
1226
+ );
1227
+ };
1228
+ }
1229
+ return () => {
1230
+ };
1231
+ }, i = Symbol("endPolyfillCoordination");
1232
+ class r extends (e = o, t = i, e) {
1233
+ constructor() {
1234
+ super(...arguments), this[t] = null;
1235
+ }
1236
+ // Attempt to coordinate with the polyfill when connected to the
1237
+ // document:
1238
+ connectedCallback() {
1239
+ super.connectedCallback && super.connectedCallback(), at || requestAnimationFrame(() => {
1240
+ this[i] == null && (this[i] = s(this));
1241
+ });
1242
+ }
1243
+ disconnectedCallback() {
1244
+ super.disconnectedCallback && super.disconnectedCallback(), at || requestAnimationFrame(() => {
1245
+ this[i] != null && (this[i](), this[i] = null);
1246
+ });
1247
+ }
1248
+ }
1249
+ return r;
1250
+ }, qe = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1251
+ __proto__: null,
1252
+ FocusVisiblePolyfillMixin: ee
1253
+ }, Symbol.toStringTag, { value: "Module" }));
1254
+ /*! * Lucero - The design system for Luzmo.
1255
+ *
1256
+ * Copyright © 2025 Luzmo
1257
+ * All rights reserved.
1258
+ * Lucero (“Luzmo Design System”) must be used according to the Luzmo Terms of Service.
1259
+ * This license allows users with a current active Luzmo account to use Lucero.
1260
+ * This license terminates automatically if a user no longer has an active Luzmo account.
1261
+ * Please view the Luzmo Terms of Service at: https://www.luzmo.com/information-pages/terms-of-use.
1262
+ *
1263
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
1264
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
1265
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
1266
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
1267
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
1268
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
1269
+ * SOFTWARE.
1270
+ * */
1271
+ var Ke = Object.defineProperty, Ze = Object.getOwnPropertyDescriptor, mt = (o, t, e, s) => {
1272
+ for (var i = s > 1 ? void 0 : s ? Ze(t, e) : t, r = o.length - 1, n; r >= 0; r--)
1273
+ (n = o[r]) && (i = (s ? n(t, e, i) : n(i)) || i);
1274
+ return s && i && Ke(t, e, i), i;
1275
+ };
1276
+ function Dt() {
1277
+ return new Promise((o) => requestAnimationFrame(() => o()));
1278
+ }
1279
+ let _t = class extends ee(Ie) {
1280
+ constructor() {
1281
+ super(...arguments), this.disabled = !1, this.autofocus = !1, this._tabIndex = 0, this.manipulatingTabindex = !1, this.autofocusReady = Promise.resolve();
1282
+ }
1283
+ get tabIndex() {
1284
+ if (this.focusElement === this) {
1285
+ const e = this.hasAttribute("tabindex") ? Number(this.getAttribute("tabindex")) : Number.NaN;
1286
+ return Number.isNaN(e) ? -1 : e;
1287
+ }
1288
+ const t = Number.parseFloat(
1289
+ this.hasAttribute("tabindex") && this.getAttribute("tabindex") || "0"
1290
+ );
1291
+ return this.disabled || t < 0 ? -1 : this.focusElement ? this._tabIndex : t;
1292
+ }
1293
+ set tabIndex(t) {
1294
+ var e;
1295
+ if (this.manipulatingTabindex) {
1296
+ this.manipulatingTabindex = !1;
1297
+ return;
1298
+ }
1299
+ if (this.focusElement === this) {
1300
+ if (this.disabled)
1301
+ this._tabIndex = t;
1302
+ else if (t !== this._tabIndex) {
1303
+ this._tabIndex = t;
1304
+ const s = "" + t;
1305
+ this.manipulatingTabindex = !0, this.setAttribute("tabindex", s);
1306
+ }
1307
+ return;
1308
+ }
1309
+ if (t === -1 ? this.addEventListener(
1310
+ "pointerdown",
1311
+ this.onPointerdownManagementOfTabIndex
1312
+ ) : (this.manipulatingTabindex = !0, this.removeEventListener(
1313
+ "pointerdown",
1314
+ this.onPointerdownManagementOfTabIndex
1315
+ )), t === -1 || this.disabled) {
1316
+ if (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), this.removeAttribute("focusable"), this.selfManageFocusElement)
1317
+ return;
1318
+ t === -1 ? (e = this.focusElement) == null || e.removeAttribute("tabindex") : (this._tabIndex = t, this.manageFocusElementTabindex(t));
1319
+ return;
1320
+ }
1321
+ this.setAttribute("focusable", ""), this.hasAttribute("tabindex") ? this.removeAttribute("tabindex") : this.manipulatingTabindex = !1, this._tabIndex = t, this.manageFocusElementTabindex(t);
1322
+ }
1323
+ onPointerdownManagementOfTabIndex() {
1324
+ this.tabIndex === -1 && setTimeout(() => {
1325
+ this.tabIndex = 0, this.focus({ preventScroll: !0 }), this.tabIndex = -1;
1326
+ });
1327
+ }
1328
+ async manageFocusElementTabindex(t) {
1329
+ this.focusElement || await this.updateComplete, t === null ? this.focusElement.removeAttribute("tabindex") : this.focusElement !== this && (this.focusElement.tabIndex = t);
1330
+ }
1331
+ /**
1332
+ * @private
1333
+ */
1334
+ get focusElement() {
1335
+ throw new Error("Must implement focusElement getter!");
1336
+ }
1337
+ /**
1338
+ * @public
1339
+ * @returns whether the component should manage its focusElement tab-index or not
1340
+ * Needed for action-menu to be supported in action-group in an accessible way
1341
+ */
1342
+ get selfManageFocusElement() {
1343
+ return !1;
1344
+ }
1345
+ focus(t) {
1346
+ this.disabled || !this.focusElement || (this.focusElement === this ? Reflect.apply(HTMLElement.prototype.focus, this, [t]) : this.focusElement.focus(t));
1347
+ }
1348
+ blur() {
1349
+ const t = this.focusElement || this;
1350
+ t === this ? HTMLElement.prototype.blur.apply(this) : t.blur();
1351
+ }
1352
+ click() {
1353
+ if (this.disabled)
1354
+ return;
1355
+ const t = this.focusElement || this;
1356
+ t === this ? HTMLElement.prototype.click.apply(this) : t.click();
1357
+ }
1358
+ manageAutoFocus() {
1359
+ this.autofocus && (this.dispatchEvent(
1360
+ new KeyboardEvent("keydown", {
1361
+ code: "Tab"
1362
+ })
1363
+ ), this.focusElement.focus());
1364
+ }
1365
+ firstUpdated(t) {
1366
+ super.firstUpdated(t), (!this.hasAttribute("tabindex") || this.getAttribute("tabindex") !== "-1") && this.setAttribute("focusable", "");
1367
+ }
1368
+ update(t) {
1369
+ t.has("disabled") && this.handleDisabledChanged(
1370
+ this.disabled,
1371
+ t.get("disabled")
1372
+ ), super.update(t);
1373
+ }
1374
+ updated(t) {
1375
+ super.updated(t), t.has("disabled") && this.disabled && this.blur();
1376
+ }
1377
+ async handleDisabledChanged(t, e) {
1378
+ const s = () => this.focusElement !== this && this.focusElement.disabled !== void 0;
1379
+ t ? (this.manipulatingTabindex = !0, this.setAttribute("tabindex", "-1"), await this.updateComplete, s() ? this.focusElement.disabled = !0 : this.setAttribute("aria-disabled", "true")) : e && (this.manipulatingTabindex = !0, this.focusElement === this ? this.setAttribute("tabindex", "" + this._tabIndex) : this.removeAttribute("tabindex"), await this.updateComplete, s() ? this.focusElement.disabled = !1 : this.removeAttribute("aria-disabled"));
1380
+ }
1381
+ async getUpdateComplete() {
1382
+ const t = await super.getUpdateComplete();
1383
+ return await this.autofocusReady, t;
1384
+ }
1385
+ connectedCallback() {
1386
+ super.connectedCallback(), this.autofocus && (this.autofocusReady = new Promise(async (t) => {
1387
+ await Dt(), await Dt(), t();
1388
+ }), this.updateComplete.then(() => {
1389
+ this.manageAutoFocus();
1390
+ }));
1391
+ }
1392
+ };
1393
+ mt([
1394
+ $t({ type: Boolean, reflect: !0 })
1395
+ ], _t.prototype, "disabled", 2);
1396
+ mt([
1397
+ $t({ type: Boolean })
1398
+ ], _t.prototype, "autofocus", 2);
1399
+ mt([
1400
+ $t({ type: Number })
1401
+ ], _t.prototype, "tabIndex", 1);
1402
+ /**
1403
+ * @license
1404
+ * Copyright 2017 Google LLC
1405
+ * SPDX-License-Identifier: BSD-3-Clause
1406
+ */
1407
+ const Je = { attribute: !0, type: String, converter: W, reflect: !1, hasChanged: lt }, Ge = (o = Je, t, e) => {
1408
+ const { kind: s, metadata: i } = e;
1409
+ let r = globalThis.litPropertyMetadata.get(i);
1410
+ if (r === void 0 && globalThis.litPropertyMetadata.set(i, r = /* @__PURE__ */ new Map()), r.set(e.name, o), s === "accessor") {
1411
+ const { name: n } = e;
1412
+ return { set(h) {
1413
+ const a = t.get.call(this);
1414
+ t.set.call(this, h), this.requestUpdate(n, a, o);
1415
+ }, init(h) {
1416
+ return h !== void 0 && this.P(n, void 0, o), h;
1417
+ } };
1418
+ }
1419
+ if (s === "setter") {
1420
+ const { name: n } = e;
1421
+ return function(h) {
1422
+ const a = this[n];
1423
+ t.call(this, h), this.requestUpdate(n, a, o);
1424
+ };
1425
+ }
1426
+ throw Error("Unsupported decorator location: " + s);
1427
+ };
1428
+ function us(o) {
1429
+ return (t, e) => typeof e == "object" ? Ge(o, t, e) : ((s, i, r) => {
1430
+ const n = i.hasOwnProperty(r);
1431
+ return i.constructor.createProperty(r, n ? { ...s, wrapped: !0 } : s), n ? Object.getOwnPropertyDescriptor(i, r) : void 0;
1432
+ })(o, t, e);
1433
+ }
1434
+ export {
1435
+ $ as A,
1436
+ be as B,
1437
+ p as E,
1438
+ $t as H,
1439
+ Ie as I,
1440
+ _t as a,
1441
+ ts as b,
1442
+ z as c,
1443
+ lt as f,
1444
+ us as n,
1445
+ ie as r,
1446
+ Ye as x
1447
+ };