@esri/calcite-components 3.2.1-next.0 → 3.2.1

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 (346) hide show
  1. package/README.md +1 -1
  2. package/dist/calcite/{N5IM2RJX.js → 26ZDKGYW.js} +2 -2
  3. package/dist/calcite/{DYOXWON3.js → 2X2SKDMW.js} +2 -2
  4. package/dist/calcite/{PSJRZBEU.js → 2YZEG336.js} +2 -2
  5. package/dist/calcite/{KM6TLQGF.js → 3ADX47DD.js} +2 -2
  6. package/dist/calcite/{U7T7OIS7.js → 3CHPBANK.js} +2 -2
  7. package/dist/calcite/{7DBERQCQ.js → 3FLDDHBX.js} +2 -2
  8. package/dist/calcite/{Y4KRSQNS.js → 3FSOG4LN.js} +1 -1
  9. package/dist/calcite/{IIEPNQWR.js → 3SZHTCCG.js} +2 -2
  10. package/dist/calcite/{OMGS7KX3.js → 3T3FJJK6.js} +2 -2
  11. package/dist/calcite/{7NLQXQCN.js → 423OVVKH.js} +2 -2
  12. package/dist/calcite/{ZD3ACXU2.js → 42GZPUJF.js} +2 -2
  13. package/dist/calcite/{YKYUGHPW.js → 42HRR34B.js} +2 -2
  14. package/dist/calcite/{JRBUMLDA.js → 4E7NW6FV.js} +2 -2
  15. package/dist/calcite/{KGDCB6EO.js → 4KEPIK53.js} +2 -2
  16. package/dist/calcite/{TXDJE4P3.js → 4QNV5EHO.js} +2 -2
  17. package/dist/calcite/{5M7HNCPS.js → 4S6E4EOL.js} +2 -2
  18. package/dist/calcite/{MLPZGERD.js → 4TDPZNBI.js} +2 -2
  19. package/dist/calcite/57GCJ4BY.js +4 -0
  20. package/dist/calcite/{HH7IRVQO.js → 5G2UDPL7.js} +2 -2
  21. package/dist/calcite/{5LKE3YPL.js → 5IHHQ6DZ.js} +2 -2
  22. package/dist/calcite/{JCXDZW2A.js → 5PNUA24A.js} +2 -2
  23. package/dist/calcite/{YV2UI5WA.js → 5RDOSP2E.js} +2 -2
  24. package/dist/calcite/{OK3C6P6X.js → 5VPUXQOI.js} +1 -1
  25. package/dist/calcite/{4FQY25HJ.js → 627VCPG2.js} +2 -2
  26. package/dist/calcite/{LJPD2TU7.js → 62GJRZWE.js} +2 -2
  27. package/dist/calcite/{K6D5IUOV.js → 67VH5FPQ.js} +2 -2
  28. package/dist/calcite/{K7ROPEKR.js → 6AK7I2BY.js} +2 -2
  29. package/dist/calcite/{GTSXIPY3.js → 6FSGXPNB.js} +2 -2
  30. package/dist/calcite/{6DWOUQHW.js → 6OJXNCPY.js} +2 -2
  31. package/dist/calcite/{DRDXXHV2.js → 6WA6WO25.js} +2 -2
  32. package/dist/calcite/{44NGUS6C.js → A6BNQEMP.js} +2 -2
  33. package/dist/calcite/{NW2FUTBX.js → A7B5L2SW.js} +2 -2
  34. package/dist/calcite/{KZ35D5J3.js → ALJBTUHH.js} +2 -2
  35. package/dist/calcite/{D5GFJLXB.js → ARAGXV4I.js} +2 -2
  36. package/dist/calcite/{ZDNLHT4M.js → AYIAAZYA.js} +1 -1
  37. package/dist/calcite/{RYZPI3A3.js → B4ANX5XI.js} +2 -2
  38. package/dist/calcite/{JP5V3RRD.js → B77N7ADH.js} +2 -2
  39. package/dist/calcite/{UFON7XFP.js → BEA6KQAT.js} +1 -1
  40. package/dist/calcite/{RLDQAG62.js → BJZTU5BQ.js} +2 -2
  41. package/dist/calcite/{Z7CVNLKA.js → BQROMW4D.js} +2 -2
  42. package/dist/calcite/{PCCURG2N.js → BVJFCLMH.js} +2 -2
  43. package/dist/calcite/{EFSXJUXH.js → C2TKY27C.js} +2 -2
  44. package/dist/calcite/{ITCQDHGU.js → C4C4DBV4.js} +2 -2
  45. package/dist/calcite/CBQMQDUW.js +4 -0
  46. package/dist/calcite/{HBAK4CXZ.js → CHFX7KAQ.js} +2 -2
  47. package/dist/calcite/{7TQDAMN6.js → CKRTMNFR.js} +2 -2
  48. package/dist/calcite/{KPIIGYAU.js → CMS3QQSF.js} +2 -2
  49. package/dist/calcite/{M4YHLTST.js → CQSTX4F7.js} +1 -1
  50. package/dist/calcite/{W45GVAC2.js → CWN2VGCR.js} +2 -2
  51. package/dist/calcite/{DBXI7K5W.js → CZ4AEX2O.js} +2 -2
  52. package/dist/calcite/{MHP3ZWOD.js → DY5YDEPG.js} +1 -1
  53. package/dist/calcite/{2AULMW25.js → DZCZNN27.js} +2 -2
  54. package/dist/calcite/{OXS6ITW2.js → EORPE6TU.js} +2 -2
  55. package/dist/calcite/{4HSGYKDX.js → ESHROPVK.js} +2 -2
  56. package/dist/calcite/{ST5QN2SZ.js → F6VZXZQD.js} +2 -2
  57. package/dist/calcite/{V2D2UEEN.js → FN2TXRCP.js} +2 -2
  58. package/dist/calcite/{JC25IFZJ.js → FN45KTPK.js} +2 -2
  59. package/dist/calcite/{FLEHMMUC.js → FZ76R5A4.js} +1 -1
  60. package/dist/calcite/{NGY32CJA.js → GGXMMHUG.js} +1 -1
  61. package/dist/calcite/{RNTDC4WC.js → GIR75EYK.js} +2 -2
  62. package/dist/calcite/GMZY2NWY.js +4 -0
  63. package/dist/calcite/{XOMA5362.js → GNQ46GQA.js} +1 -1
  64. package/dist/calcite/{UKT7K6QJ.js → GNXWZ66C.js} +2 -2
  65. package/dist/calcite/{D4YG2RRE.js → GOMKQSX3.js} +2 -2
  66. package/dist/calcite/{QHAAONP5.js → GOXLUS3W.js} +2 -2
  67. package/dist/calcite/{CYHTOKT7.js → GUAVDCKP.js} +2 -2
  68. package/dist/calcite/{MMYTMW2M.js → GVH7TFSD.js} +2 -2
  69. package/dist/calcite/{63GHB2UQ.js → GXMA66EC.js} +2 -2
  70. package/dist/calcite/{ZYM4CHQG.js → HE3WHDG2.js} +2 -2
  71. package/dist/calcite/{L6WXEDTA.js → HPN2C7M6.js} +2 -2
  72. package/dist/calcite/{LD5UBODC.js → HT7HTYYJ.js} +2 -2
  73. package/dist/calcite/{DB3DOXMW.js → HZ2E6V2N.js} +2 -2
  74. package/dist/calcite/{F2GFE4YL.js → IA5WOTDC.js} +2 -2
  75. package/dist/calcite/{ANVKSV6L.js → IFR7DE3R.js} +1 -1
  76. package/dist/calcite/{V3BOIT6Y.js → IGW3KQEG.js} +2 -2
  77. package/dist/calcite/{USHY63NR.js → IHXHMWCP.js} +2 -2
  78. package/dist/calcite/{RRCCRHQ7.js → IS2A4D6A.js} +2 -2
  79. package/dist/calcite/{GDCWWMPB.js → J2NOZBR5.js} +2 -2
  80. package/dist/calcite/{ZVPNP5OB.js → J2Y63QGU.js} +2 -2
  81. package/dist/calcite/{U4R7QQRY.js → JAXCJTDT.js} +2 -2
  82. package/dist/calcite/{YOSUE3YV.js → JDVCZ32P.js} +2 -2
  83. package/dist/calcite/{YK2WY4LH.js → JIIW3NHG.js} +2 -2
  84. package/dist/calcite/{RDYIWF5B.js → JOSABGK6.js} +2 -2
  85. package/dist/calcite/{SGRUNYKB.js → JPN27LLC.js} +2 -2
  86. package/dist/calcite/{UJPFVFWD.js → JSDTVKI3.js} +2 -2
  87. package/dist/calcite/{6XERCURU.js → JUI753HR.js} +1 -1
  88. package/dist/calcite/{XRA2GVJU.js → K56HNP76.js} +2 -2
  89. package/dist/calcite/{U2F7EJQM.js → K5DAISHT.js} +2 -2
  90. package/dist/calcite/{3ADK4OV7.js → KCNOHKM5.js} +2 -2
  91. package/dist/calcite/{Y3OA6OHY.js → KH2E3IN7.js} +2 -2
  92. package/dist/calcite/{NBV6QU3W.js → KJINCV7A.js} +2 -2
  93. package/dist/calcite/{5BUUF5G7.js → KLCUBEHO.js} +2 -2
  94. package/dist/calcite/{QEWJR4RX.js → KVTWQRBA.js} +2 -2
  95. package/dist/calcite/{PRVJHFOO.js → LAHMKNMM.js} +2 -2
  96. package/dist/calcite/{OEXUKBWB.js → LGXLR3FX.js} +1 -1
  97. package/dist/calcite/{PCAXMTLP.js → LQO67DPJ.js} +2 -2
  98. package/dist/calcite/{LC6DJODI.js → M7EAHGE3.js} +1 -1
  99. package/dist/calcite/{ORICNOAV.js → MF5IDY6D.js} +2 -2
  100. package/dist/calcite/{RVGKPXOP.js → MHQIQPXM.js} +2 -2
  101. package/dist/calcite/{2A7GECH3.js → MIOJW772.js} +2 -2
  102. package/dist/calcite/{GZ7JECMD.js → MN5KA2BX.js} +2 -2
  103. package/dist/calcite/{QITKQK5Q.js → MP2JXXRJ.js} +2 -2
  104. package/dist/calcite/{QWSHCC6K.js → MQ2VDGBE.js} +2 -2
  105. package/dist/calcite/{JLM2UZO7.js → MXV2M5ZY.js} +2 -2
  106. package/dist/calcite/{OAULZXHL.js → NBEISU5N.js} +2 -2
  107. package/dist/calcite/{EKWFZB26.js → NC74EUNL.js} +2 -2
  108. package/dist/calcite/{MAO7Y65A.js → NN4IMVBI.js} +2 -2
  109. package/dist/calcite/{3SKYNMLV.js → NNVH7JUI.js} +1 -1
  110. package/dist/calcite/{RVH6GLG4.js → NO4SVV42.js} +2 -2
  111. package/dist/calcite/{LJZF2PSK.js → NRY267XB.js} +1 -1
  112. package/dist/calcite/{ZECMA6JE.js → NUDXMIVB.js} +2 -2
  113. package/dist/calcite/{ZPJW4M4H.js → NYQVKIV5.js} +2 -2
  114. package/dist/calcite/{CYIJAC6L.js → NZC2Y7CZ.js} +2 -2
  115. package/dist/calcite/{D4IJYQFL.js → NZJMPPJZ.js} +2 -2
  116. package/dist/calcite/ON7QUMJ5.js +4 -0
  117. package/dist/calcite/{IQADRY3C.js → OQOKN4KP.js} +1 -1
  118. package/dist/calcite/{KXLNTGFL.js → OUTI6KB3.js} +2 -2
  119. package/dist/calcite/{YKPNRYYE.js → PETHDVW3.js} +2 -2
  120. package/dist/calcite/{GUIZUDJM.js → PL65PKNL.js} +2 -2
  121. package/dist/calcite/{CTEMG3A5.js → PRJLETOI.js} +2 -2
  122. package/dist/calcite/{BWLRBGWS.js → QIMK4R5R.js} +2 -2
  123. package/dist/calcite/{AHFV5MFX.js → QJQKIXDW.js} +2 -2
  124. package/dist/calcite/{UVNAKX7X.js → QPBXEGXZ.js} +2 -2
  125. package/dist/calcite/{T42LLC3R.js → QPW2LVMD.js} +2 -2
  126. package/dist/calcite/{QYP24RCH.js → R3ZBH4R5.js} +2 -2
  127. package/dist/calcite/{DEKHFAFV.js → RAFBV2WY.js} +2 -2
  128. package/dist/calcite/{62BYT7BQ.js → RANAS7OG.js} +2 -2
  129. package/dist/calcite/{XMEAIQAL.js → RE7G2NN7.js} +2 -2
  130. package/dist/calcite/{Q2SFGXK2.js → RFGXC5PG.js} +2 -2
  131. package/dist/calcite/{4EBDWG6W.js → RMUGGCXV.js} +2 -2
  132. package/dist/calcite/{Z2T7K3UW.js → RQ66XQWI.js} +2 -2
  133. package/dist/calcite/{KPNICZ3S.js → RQTAHS3Z.js} +2 -2
  134. package/dist/calcite/{FPGTPUZM.js → RWXANKAK.js} +2 -2
  135. package/dist/calcite/{7ERISF3O.js → RXR4G2F7.js} +1 -1
  136. package/dist/calcite/{BNVZ66T2.js → SBLP5WEE.js} +2 -2
  137. package/dist/calcite/{C2ORZVQK.js → SLLYAKW2.js} +1 -1
  138. package/dist/calcite/{G3GJRTNN.js → SOSYP73R.js} +2 -2
  139. package/dist/calcite/{IVGXSV66.js → T42VIETG.js} +1 -1
  140. package/dist/calcite/{UPFRPLHL.js → TGDV7BPX.js} +2 -2
  141. package/dist/calcite/{VTSYVGAN.js → U7RWMK3H.js} +2 -2
  142. package/dist/calcite/{777PRCMY.js → UDVJWOT6.js} +2 -2
  143. package/dist/calcite/{JIQ3YVIK.js → UFTVSC7W.js} +1 -1
  144. package/dist/calcite/{2EZSWEZ5.js → UJAY6FUF.js} +2 -2
  145. package/dist/calcite/{AHZTTUTD.js → UKPY76M7.js} +2 -2
  146. package/dist/calcite/{32VWPPXA.js → UQ3E32DK.js} +2 -2
  147. package/dist/calcite/UVPZLV5K.js +4 -0
  148. package/dist/calcite/{62KCTA23.js → V6I7KDTX.js} +2 -2
  149. package/dist/calcite/{YAUL3VHY.js → VAHSXLFS.js} +2 -2
  150. package/dist/calcite/{QT2JJ7QV.js → VTQM5LD5.js} +2 -2
  151. package/dist/calcite/{SYWNB3MR.js → VTROLFPV.js} +2 -2
  152. package/dist/calcite/{Z2EOFRMY.js → VXVHDZ57.js} +2 -2
  153. package/dist/calcite/{743WGJSC.js → WB26D4AV.js} +2 -2
  154. package/dist/calcite/{M6BCTJTU.js → WEUKCEKJ.js} +2 -2
  155. package/dist/calcite/{M7XTENWQ.js → WYUF52NP.js} +2 -2
  156. package/dist/calcite/{HHH43UIN.js → WZ7FPLTW.js} +2 -2
  157. package/dist/calcite/{HHBVANUK.js → XDFV3YFY.js} +2 -2
  158. package/dist/calcite/{ITO4MNAX.js → XDKVBD6O.js} +2 -2
  159. package/dist/calcite/{WDMQWBHT.js → XE72EHW2.js} +2 -2
  160. package/dist/calcite/{RBQXKNWJ.js → XSNYPOEC.js} +1 -1
  161. package/dist/calcite/{KCMC35C3.js → XWP2EI3D.js} +2 -2
  162. package/dist/calcite/{TU44I7GA.js → Y5AGWTQN.js} +2 -2
  163. package/dist/calcite/{6MZZWWCT.js → YCSOVIAT.js} +2 -2
  164. package/dist/calcite/{PGEKYIHX.js → YN4KNMO5.js} +2 -2
  165. package/dist/calcite/{BGMUWA3J.js → YSI7ZYDZ.js} +1 -1
  166. package/dist/calcite/{JHZSNJJ6.js → YXYJCSFV.js} +2 -2
  167. package/dist/calcite/{3EEE3VIA.js → YXZ62PQO.js} +2 -2
  168. package/dist/calcite/{CL4545AB.js → Z623INMU.js} +2 -2
  169. package/dist/calcite/{B6O4KE6E.js → Z7VQ7NTS.js} +2 -2
  170. package/dist/calcite/{74SL7MJL.js → ZAT242GT.js} +2 -2
  171. package/dist/calcite/{QJRQ54TT.js → ZCIGG4BA.js} +2 -2
  172. package/dist/calcite/{3PERKLCL.js → ZYNIFWIT.js} +2 -2
  173. package/dist/calcite/calcite.esm.js +2 -2
  174. package/dist/chunks/ExpandToggle.js +1 -1
  175. package/dist/chunks/FloatingArrow.js +1 -1
  176. package/dist/chunks/Heading.js +1 -1
  177. package/dist/chunks/Validation.js +1 -1
  178. package/dist/chunks/XButton.js +1 -1
  179. package/dist/chunks/_sortable.js +1 -1
  180. package/dist/chunks/array.js +1 -1
  181. package/dist/chunks/component.js +1 -1
  182. package/dist/chunks/core.js +1 -1
  183. package/dist/chunks/date.js +1 -1
  184. package/dist/chunks/dom.js +1 -1
  185. package/dist/chunks/dynamicClasses.js +1 -1
  186. package/dist/chunks/filter.js +1 -1
  187. package/dist/chunks/floating-ui.js +1 -1
  188. package/dist/chunks/form.js +1 -1
  189. package/dist/chunks/global.js +1 -1
  190. package/dist/chunks/guid.js +1 -1
  191. package/dist/chunks/input.js +1 -1
  192. package/dist/chunks/interact.min.js +1 -1
  193. package/dist/chunks/interactive.js +1 -1
  194. package/dist/chunks/key.js +1 -1
  195. package/dist/chunks/label.js +1 -1
  196. package/dist/chunks/locale.js +1 -1
  197. package/dist/chunks/logger.js +1 -1
  198. package/dist/chunks/math.js +1 -1
  199. package/dist/chunks/observers.js +1 -1
  200. package/dist/chunks/openCloseComponent.js +1 -1
  201. package/dist/chunks/resources.js +1 -1
  202. package/dist/chunks/resources2.js +1 -1
  203. package/dist/chunks/resources3.js +1 -1
  204. package/dist/chunks/resources4.js +1 -1
  205. package/dist/chunks/resources5.js +1 -1
  206. package/dist/chunks/resources6.js +1 -1
  207. package/dist/chunks/resources7.js +1 -1
  208. package/dist/chunks/responsive.js +1 -1
  209. package/dist/chunks/runtime.js +5 -5
  210. package/dist/chunks/sortableComponent.js +1 -1
  211. package/dist/chunks/text.js +1 -1
  212. package/dist/chunks/time.js +1 -1
  213. package/dist/chunks/useFocusTrap.js +1 -1
  214. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  215. package/dist/chunks/useT9n.js +1 -1
  216. package/dist/chunks/utils.js +1 -1
  217. package/dist/chunks/utils2.js +1 -1
  218. package/dist/chunks/utils3.js +1 -1
  219. package/dist/chunks/utils4.js +1 -1
  220. package/dist/components/calcite-accordion/customElement.js +1 -1
  221. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  222. package/dist/components/calcite-action/customElement.js +1 -1
  223. package/dist/components/calcite-action-bar/customElement.js +1 -1
  224. package/dist/components/calcite-action-group/customElement.js +1 -1
  225. package/dist/components/calcite-action-menu/customElement.js +1 -1
  226. package/dist/components/calcite-action-pad/customElement.js +1 -1
  227. package/dist/components/calcite-alert/customElement.js +1 -1
  228. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  229. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  230. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  231. package/dist/components/calcite-avatar/customElement.js +1 -1
  232. package/dist/components/calcite-block/customElement.js +1 -1
  233. package/dist/components/calcite-block-group/customElement.js +1 -1
  234. package/dist/components/calcite-block-section/customElement.js +1 -1
  235. package/dist/components/calcite-button/customElement.js +1 -1
  236. package/dist/components/calcite-card/customElement.js +1 -1
  237. package/dist/components/calcite-card-group/customElement.js +1 -1
  238. package/dist/components/calcite-carousel/customElement.js +1 -1
  239. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  240. package/dist/components/calcite-checkbox/customElement.js +1 -1
  241. package/dist/components/calcite-chip/customElement.js +1 -1
  242. package/dist/components/calcite-chip-group/customElement.js +1 -1
  243. package/dist/components/calcite-color-picker/customElement.js +1 -1
  244. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  245. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  246. package/dist/components/calcite-combobox/customElement.js +1 -1
  247. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  248. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  249. package/dist/components/calcite-date-picker/customElement.js +1 -1
  250. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  251. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  252. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  253. package/dist/components/calcite-dialog/customElement.js +1 -1
  254. package/dist/components/calcite-dropdown/customElement.js +1 -1
  255. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  256. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  257. package/dist/components/calcite-fab/customElement.js +1 -1
  258. package/dist/components/calcite-filter/customElement.js +1 -1
  259. package/dist/components/calcite-flow/customElement.js +1 -1
  260. package/dist/components/calcite-flow-item/customElement.js +1 -1
  261. package/dist/components/calcite-graph/customElement.js +1 -1
  262. package/dist/components/calcite-handle/customElement.js +1 -1
  263. package/dist/components/calcite-icon/customElement.js +1 -1
  264. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  265. package/dist/components/calcite-input/customElement.js +2 -2
  266. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  267. package/dist/components/calcite-input-message/customElement.js +1 -1
  268. package/dist/components/calcite-input-number/customElement.js +1 -1
  269. package/dist/components/calcite-input-text/customElement.js +1 -1
  270. package/dist/components/calcite-input-time-picker/customElement.js +6 -4
  271. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  272. package/dist/components/calcite-label/customElement.js +1 -1
  273. package/dist/components/calcite-link/customElement.js +1 -1
  274. package/dist/components/calcite-list/customElement.js +6 -6
  275. package/dist/components/calcite-list-item/customElement.js +1 -1
  276. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  277. package/dist/components/calcite-loader/customElement.js +1 -1
  278. package/dist/components/calcite-menu/customElement.js +1 -1
  279. package/dist/components/calcite-menu-item/customElement.js +1 -1
  280. package/dist/components/calcite-meter/customElement.js +1 -1
  281. package/dist/components/calcite-modal/customElement.js +1 -1
  282. package/dist/components/calcite-navigation/customElement.js +1 -1
  283. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  284. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  285. package/dist/components/calcite-notice/customElement.js +1 -1
  286. package/dist/components/calcite-option/customElement.js +1 -1
  287. package/dist/components/calcite-option-group/customElement.js +1 -1
  288. package/dist/components/calcite-pagination/customElement.js +1 -1
  289. package/dist/components/calcite-panel/customElement.js +1 -1
  290. package/dist/components/calcite-popover/customElement.d.ts +7 -1
  291. package/dist/components/calcite-popover/customElement.js +1 -1
  292. package/dist/components/calcite-progress/customElement.js +1 -1
  293. package/dist/components/calcite-radio-button/customElement.js +1 -1
  294. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  295. package/dist/components/calcite-rating/customElement.js +1 -1
  296. package/dist/components/calcite-scrim/customElement.js +1 -1
  297. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  298. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  299. package/dist/components/calcite-select/customElement.js +1 -1
  300. package/dist/components/calcite-sheet/customElement.js +2 -2
  301. package/dist/components/calcite-shell/customElement.js +1 -1
  302. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  303. package/dist/components/calcite-shell-panel/customElement.js +2 -2
  304. package/dist/components/calcite-slider/customElement.js +1 -1
  305. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  306. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  307. package/dist/components/calcite-split-button/customElement.js +1 -1
  308. package/dist/components/calcite-stack/customElement.js +1 -1
  309. package/dist/components/calcite-stepper/customElement.js +1 -1
  310. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  311. package/dist/components/calcite-switch/customElement.js +1 -1
  312. package/dist/components/calcite-tab/customElement.js +1 -1
  313. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  314. package/dist/components/calcite-tab-title/customElement.js +1 -1
  315. package/dist/components/calcite-table/customElement.js +1 -1
  316. package/dist/components/calcite-table-cell/customElement.js +1 -1
  317. package/dist/components/calcite-table-header/customElement.js +1 -1
  318. package/dist/components/calcite-table-row/customElement.js +1 -1
  319. package/dist/components/calcite-tabs/customElement.js +1 -1
  320. package/dist/components/calcite-text-area/customElement.js +1 -1
  321. package/dist/components/calcite-tile/customElement.js +1 -1
  322. package/dist/components/calcite-tile-group/customElement.js +1 -1
  323. package/dist/components/calcite-tile-select/customElement.js +1 -1
  324. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  325. package/dist/components/calcite-time-picker/customElement.js +1 -1
  326. package/dist/components/calcite-tip/customElement.js +1 -1
  327. package/dist/components/calcite-tip-group/customElement.js +1 -1
  328. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  329. package/dist/components/calcite-tooltip/customElement.d.ts +2 -0
  330. package/dist/components/calcite-tooltip/customElement.js +1 -1
  331. package/dist/components/calcite-tree/customElement.js +1 -1
  332. package/dist/components/calcite-tree-item/customElement.js +1 -1
  333. package/dist/controllers/time/time.d.ts +2 -1
  334. package/dist/docs/api.json +5 -5
  335. package/dist/docs/docs.json +3 -3
  336. package/dist/docs/vscode.html-custom-data.json +2 -2
  337. package/dist/docs/web-types.json +5 -5
  338. package/dist/extras/vscode-data.json +2 -2
  339. package/dist/index.js +1 -1
  340. package/dist/loader.js +1 -1
  341. package/package.json +6 -6
  342. package/dist/calcite/3GL7EH7P.js +0 -4
  343. package/dist/calcite/E7CLQGNE.js +0 -4
  344. package/dist/calcite/HNKSCGBU.js +0 -4
  345. package/dist/calcite/PZHJHDUL.js +0 -4
  346. package/dist/calcite/XS75N4LJ.js +0 -4
@@ -1,6 +1,6 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
3
+ v3.2.1 */
4
4
  var Y=globalThis,J=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,pt=Symbol(),Rt=new WeakMap,I=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==pt)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(J&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=Rt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&Rt.set(e,t))}return t}toString(){return this.cssText}},Ut=s=>new I(typeof s=="string"?s:s+"",void 0,pt),$e=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,n,r)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(n)+s[r+1],s[0]);return new I(e,s,pt)},Mt=(s,t)=>{if(J)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),n=Y.litNonce;n!==void 0&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o)}},ft=J?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return Ut(e)})(s):s;var yt=globalThis,Z=yt.trustedTypes,It=Z?Z.createPolicy("lit-html",{createHTML:s=>s}):void 0,gt="$lit$",E=`lit$${Math.random().toFixed(9).slice(2)}$`,vt="?"+E,Ae=`<${vt}>`,T=document,z=()=>T.createComment(""),V=s=>s===null||typeof s!="object"&&typeof s!="function",bt=Array.isArray,qt=s=>bt(s)||typeof s?.[Symbol.iterator]=="function",mt=`[
5
5
  \f\r]`,j=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,jt=/-->/g,zt=/>/g,w=RegExp(`>|${mt}(?:([^\\s"'>=/]+)(${mt}*=${mt}*(?:[^
6
- \f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Ht=/"/g,Wt=/^(?:script|style|textarea|title)$/i,_t=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),Ts=_t(1),Ss=_t(2),Os=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=T.createTreeWalker(T,129);function Gt(s,t){if(!bt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return It!==void 0?It.createHTML(t):t}var Ft=(s,t)=>{let e=s.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=j;for(let c=0;c<e;c++){let a=s[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===j?p[1]==="!--"?i=jt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??j,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?Ht:Vt):i===Ht||i===Vt?i=w:i===jt||i===zt?i=j:(i=w,n=void 0);let y=i===w&&s[c+1].startsWith("/>")?" ":"";r+=i===j?a+Ae:h>=0?(o.push(l),a.slice(0,h)+gt+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Gt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},H=class s{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Ft(t,e);if(this.el=s.createElement(l,o),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(gt)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?X:g[1]==="?"?tt:g[1]==="@"?et:O}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=Z?Z.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===vt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,r=V(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(s),n._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=S(s,n._$AS(s,t.values),n,o)),t}var Q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??T).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new k(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new st(r,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=T,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},k=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=H.createElement(Gt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new Q(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new H(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let r of t)n===e.length?e.push(o=new s(this.O(z()),this.O(z()),this,this.options)):o=e[n],o._$AI(r),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!V(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=S(this,c[o+a],e,a),l===f&&(l=this._$AH[a]),i||=!V(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},X=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},tt=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},et=class extends O{constructor(t,e,o,n,r){super(t,e,o,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,n=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==d&&(o===d||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},st=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Kt={M:gt,P:E,A:vt,C:1,L:Ft,R:Q,D:qt,V:S,I:k,H:O,N:tt,U:et,B:X,F:st},we=yt.litHtmlPolyfillSupport;we?.(H,k),(yt.litHtmlVersions??=[]).push("3.3.0");var Et=(s,t,e)=>{let o=e?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=e?.renderBefore??null;o._$litPart$=n=new k(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(s),n};var{is:xe,defineProperty:Te,getOwnPropertyDescriptor:Se,getOwnPropertyNames:Oe,getOwnPropertySymbols:Le,getPrototypeOf:Pe}=Object,nt=globalThis,Yt=nt.trustedTypes,ke=Yt?Yt.emptyScript:"",Ne=nt.reactiveElementPolyfillSupport,B=(s,t)=>s,ot={toAttribute(s,t){switch(t){case Boolean:s=s?ke:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},Ct=(s,t)=>!xe(s,t),Jt={attribute:!0,type:String,converter:ot,reflect:!1,useDefault:!1,hasChanged:Ct};Symbol.metadata??=Symbol("metadata"),nt.litPropertyMetadata??=new WeakMap;var C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,e);n!==void 0&&Te(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Se(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let c=n?.call(this);r?.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Jt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=Pe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,o=[...Oe(e),...Le(e)];for(let n of o)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,n]of e)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let n=this._$Eu(e,o);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)e.unshift(ft(n))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:ot).toAttribute(e,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:ot;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,o){if(t!==void 0){let n=this.constructor,r=this[t];if(o??=n.getPropertyOptions(t),!((o.hasChanged??Ct)(r,e)||o.useDefault&&o.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:n,wrapped:r},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o){let{wrapped:i}=r,c=this[n];i!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[B("elementProperties")]=new Map,C[B("finalized")]=new Map,Ne?.({ReactiveElement:C}),(nt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,b=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Et(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,$t.litElementHydrateSupport?.({LitElement:b});var De=$t.litElementPolyfillSupport;De?.({LitElement:b});($t.litElementVersions??=[]).push("4.2.0");var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Re(s,t){let e=s;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function Ue(s,t,e){let{subscribe:o}=Me(t);return o(n=>{n.some(i=>Re(s,i.target))&&e()})}var At={};function Me(s){let t=s.join(","),e=At[t];if(e!==void 0)return e;let o=new Set,n=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:s,subtree:!0});let r={subscribe(i){return o.add(i),()=>{o.delete(i),o.size===0&&(n.disconnect(),At[t]=void 0)}}};return At[t]=r,r}function Ie(s,t){let e=s;for(;e;){let o=e.closest?.(t);if(o)return o;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function je(s,t,e){return Ie(s,`[${t}]`)?.getAttribute(t)??e}function u(s,t,...e){try{return s?.call(t,...e)}catch(o){console.error(o,s)}}async function q(s,t,...e){try{return await s?.call(t,...e)}catch(o){console.error(o,s)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Ve=new Set(ze),rt="en",He={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function Be(s,t,e=""){let o=`${t}/${e}`,n=`${o}${s}.json`;return wt[n]??(wt[n]=Zt(s,o)),await wt[n]}var wt={};async function Zt(s,t){let e=`${t}${s}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return s===rt?{}:await Zt(rt,t)}function qe(s){let t=je(s,"lang",globalThis.navigator?.language||rt);return{lang:t,t9nLocale:Qt(t)}}function Qt(s){let[t,e]=s.split("-"),o=t.toLowerCase(),n=o;return e&&(n=`${o}-${e.toUpperCase()}`),n=He[n]??n,Ve.has(n)?n:e?Qt(o):rt}function Ws(s,t,e,o){let n,r=()=>void We(s,t(),o).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),Ue(s,["lang"],r)}async function We(s,t,e=s.localName.split("-").slice(1).join("-")){let{lang:o,t9nLocale:n}=qe(s),r=`${t}/${e}/t9n`,c=e===null?{}:await Be(n,r,"messages.");return{lang:o,t9nLocale:n,t9nStrings:c}}var it=s=>s.replace(Ge,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function Xt(s,t){let e=t>Fe?Ke:t/Ye,o=0,n=setInterval(()=>{o+=e,o>=t&&(clearInterval(n),s())},e);return n}var Fe=4e3,Ke=2e3,Ye=4;var ct=Symbol.for("controller");var Je=s=>typeof s=="object"&&s!==null&&(ct in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s);function Js(s){return typeof s?.then=="function"}var W;function N(s){W!==s&&(W=s,queueMicrotask(()=>{W===s&&(W=void 0)}))}function G(s){return W}var L=[];function Ze(s){if(s===void 0){L=[];return}let t=L.indexOf(s);L=t===-1?[...L,s]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function Qe(){return L}var D;function Zs(s){D!==s&&(D=s,queueMicrotask(()=>{D===s&&(D=void 0)}))}function Xe(){let s=D;return D=void 0,s}var ts=async(s,t)=>{let e=Tt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(n=>t(n,o))}return e.exports},es=async s=>{let t=Tt(s);return await t.ready,t},Tt=s=>{let e=G().manager._resolveExports(s);if(e!==void 0)return e;if(Je(s))return s;let o=Xe();if(o!==void 0)return o},se=!1,at=!1;function Qs(s){at=!0;try{return s()}finally{at=!1}}function ss(s,t,e){let o=Object.keys(s),n=o.length;R===void 0&&queueMicrotask(lt),R??=new Map;let r=R.get(s);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(s,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):s[a]===e?c(a):c(void 0)}),e}var R;function lt(){R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0}function os(s,t,e){let o=s.manager;return o._trackedValue!==d&&o._trackedValue!==e&&o._firePropTrackers(void 0,void 0),o._keyTrackers.length===0&&queueMicrotask(()=>o._firePropTrackers(void 0,void 0)),o._trackedValue=e,o._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function ns(s=[G(),...Qe()],t,e){let o=Array.isArray(s)?s:[s],n=o.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};o.forEach(i=>ss(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){os(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var rs=(s="",t={},e=G())=>{let o={emit:n=>{s===""&&lt();let r=new CustomEvent(s,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return s===""&&ns(void 0,n=>{s=n.key},o),o},is=rs.bind(null,""),oe;oe=ct;var xt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.ready=this._ready.promise,this._exports=ee(this),this._exportWatchers=new Set;let e=t??G(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(Ze(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?ee(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return N(this.component),ts}get useRef(){return N(this.component),es}get useRefSync(){return N(this.component),Tt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await q(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(q)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(te,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(te,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){N(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function te(s){u(s,void 0,this)}var ne=xt;function ee(s){if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t=new Proxy(s,{get(e,o,n){if(!((o==="exports"||o==="_exports")&&o in e&&e[o]===t)&&(o in e||o in Promise.prototype||typeof o=="symbol"))return typeof e=="function"?e[o]:Reflect.get(e,o,n)},set:(e,o,n,r)=>Reflect.set(e,o,n,r)});return t}var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=s=>(...t)=>({_$litDirective$:s,values:t}),$=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:as}=Kt;var ie=s=>s.strings===void 0,re=()=>document.createComment(""),so=(s,t,e)=>{let o=s._$AA.parentNode,n=t===void 0?s._$AB:t._$AA;if(e===void 0){let r=o.insertBefore(re(),n),i=o.insertBefore(re(),n);e=new as(r,i,s,s.options)}else{let r=e._$AB.nextSibling,i=e._$AM,c=i!==s;if(c){let a;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(a=s._$AU)!==i._$AU&&e._$AP(a)}if(r!==n||c){let a=e._$AA;for(;a!==r;){let l=a.nextSibling;o.insertBefore(a,n),a=l}}}return e},oo=(s,t,e=s)=>(s._$AI(t,e),s),cs={},ae=(s,t=cs)=>s._$AH=t,no=s=>s._$AH,ro=s=>{s._$AP?.(!1,!0);let t=s._$AA,e=s._$AB.nextSibling;for(;t!==e;){let o=t.nextSibling;t.remove(),t=o}};var ls=P(class extends ${constructor(s){if(super(s),s.type!==v.PROPERTY&&s.type!==v.ATTRIBUTE&&s.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ie(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===v.PROPERTY){if(t===e[o])return f}else if(s.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===v.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ae(s),t}});var he=";",ht=",",de=":",A=(s=>(s[s.ATTRIBUTE=1]="ATTRIBUTE",s[s.REFLECT=2]="REFLECT",s[s.BOOLEAN=4]="BOOLEAN",s[s.NUMBER=8]="NUMBER",s[s.STATE=16]="STATE",s[s.READ_ONLY=32]="READ_ONLY",s[s.NO_ACCESSOR=64]="NO_ACCESSOR",s))(A||{});function Lt(s){let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(s),e._postLoad.promise}return!1}var ds=(s,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&s.setAssetPath(i),Object.entries(t).forEach(us)};function us([s,[t,e=""]]){if(customElements.get(s))return;let[o,n,r]=e.split(he),i=o?o?.split(ht).map(ue):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ht):void 0}static{this._syncMethods=r?.split(ht)}static{this._name=s}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(s,a)}var dt=Object.defineProperty;function ue(s){let t=s.split(de);return t.length===1?[t[0],it(t[0])]:t}var ps=globalThis.HTMLElement??ue,Ot=class extends ps{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(ys).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){dt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){dt(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){dt(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Lt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===o),i=`${o}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);ms(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(fs,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function fs([s,t]){this[s]=t}function ms(s){let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},dt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var ys=async s=>await(s.default?.then(t=>typeof t=="function"?{a:t}:t)??s),Pt={};var pe=P(class extends ${constructor(s){if(super(s),s.type!==v.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var fe="important",gs=" !"+fe,me=P(class extends ${constructor(s){if(super(s),s.type!==v.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(gs);o.includes("-")||r?e.setProperty(o,r?n.slice(0,-11):n,r?fe:""):e[o]=n}}return f}});var kt=class extends ne{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=Nt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Nt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),lt();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,o)=>{e.noAccessor||(this._accessorGetter[o]=ye,this._accessorSetter[o]=ye,this._getSetProxy(o,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),N(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=Xt(t,vs)}}_firePropTrackers(t,e){let o=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],o.forEach(n=>n(t,e))}_getSetProxy(t,e){let o=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(o,t);while(!n&&(o=Object.getPrototypeOf(o)));if(!n)return;let r=n.get,i=n.set,c=ut in r,a=ut in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return se?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let K=r.call(this),U=g??void 0,M=this.manager;if(U!==K){if(e&&!at&&(M._enforceReadonly||M.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=M._accessorSetter[t](U,K,t)}i.call(this,U),M._keyTrackers.length>0&&M?._firePropTrackers(t,g)}:i;l&&(h[ut]=!0),p&&(m[ut]=!0),Object.defineProperty(o,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},vs=1e3,Nt="autoDestroyDisabled",ye=s=>s,ut=Symbol(),bs=()=>{},ge=class s extends b{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new kt(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=bs;let t=s.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Pt;return this.runtime?.commonStyles===void 0||o?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:o&A.ATTRIBUTE&&typeof t=="string"?it(t):!1,reflect:!!(o&A.REFLECT),type:o&A.BOOLEAN?Boolean:o&A.NUMBER?Number:void 0,state:!!(o&A.STATE),readOnly:!!(o&A.READ_ONLY),noAccessor:!!(o&A.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,r=t??(o===Pt?this.el:this.el.attachShadow(o));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Lt(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(q(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Nt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(n=>!n.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,o){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,e,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(ct in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function ve(s){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...s,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=o,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(s.defaultAssetPath),o}var An=s=>typeof s=="object"&&s!=null?pe(s):s,wn=s=>typeof s=="object"&&s!=null?me(s):s;var xn=d;function Tn(s,t,e){e==null?s.removeAttribute(t):s.setAttribute(t,e)}var Sn={toAttribute:s=>s===!0?"":s===!1?null:s};var Ee="calcite-mode-auto",Ce="calcite-mode-dark",_s="calcite-mode-light",Nn={autoMode:Ee,darkMode:Ce,lightMode:_s,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Dn={filter:250,nextTick:0,resize:150,reposition:100},Rn=10,Un=25;function be(){let{classList:s}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,e=()=>s.contains(Ce)||s.contains(Ee)&&t?"dark":"light",o=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&o(i),r=i},r=e();o(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(e())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var F=globalThis.calciteConfig,Mn=F?.focusTrapStack||[],In=F?.logLevel||"info",_e="3.2.1-next.0",Es="2025-05-16",Cs="3ca2b4799";function $s(){if(F&&F.version)return;console.info(`Using Calcite Components ${_e} [Date: ${Es}, Revision: ${Cs}]`);let s=F||globalThis.calciteConfig||{};Object.defineProperty(s,"version",{value:_e,writable:!1}),globalThis.calciteConfig=s}function As(){document.readyState==="interactive"?be():document.addEventListener("DOMContentLoaded",()=>be(),{once:!0}),$s()}As();var ws=ve({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.2.1-next.0/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:jn,getAssetPath:zn,setAssetPath:Vn}=ws;export{qe as a,Ws as b,$e as c,Ts as d,Ss as e,Os as f,f as g,d as h,Et as i,Js as j,N as k,Ze as l,Qe as m,Zs as n,Qs as o,ns as p,is as q,xt as r,ne as s,ds as t,v as u,P as v,$ as w,ie as x,so as y,oo as z,ae as A,no as B,ro as C,ls as D,ge as E,An as F,wn as G,xn as H,Tn as I,Sn as J,Nn as K,Dn as L,Rn as M,Un as N,Mn as O,In as P,ws as Q,jn as R,zn as S};
6
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),Vt=/'/g,Ht=/"/g,Wt=/^(?:script|style|textarea|title)$/i,_t=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),Ts=_t(1),Ss=_t(2),Os=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=T.createTreeWalker(T,129);function Gt(s,t){if(!bt(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return It!==void 0?It.createHTML(t):t}var Ft=(s,t)=>{let e=s.length-1,o=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=j;for(let c=0;c<e;c++){let a=s[c],l,p,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,p=i.exec(a),p!==null);)m=i.lastIndex,i===j?p[1]==="!--"?i=jt:p[1]!==void 0?i=zt:p[2]!==void 0?(Wt.test(p[2])&&(n=RegExp("</"+p[2],"g")),i=w):p[3]!==void 0&&(i=w):i===w?p[0]===">"?(i=n??j,h=-1):p[1]===void 0?h=-2:(h=i.lastIndex-p[2].length,l=p[1],i=p[3]===void 0?w:p[3]==='"'?Ht:Vt):i===Ht||i===Vt?i=w:i===jt||i===zt?i=j:(i=w,n=void 0);let y=i===w&&s[c+1].startsWith("/>")?" ":"";r+=i===j?a+Ae:h>=0?(o.push(l),a.slice(0,h)+gt+a.slice(h)+E+y):a+E+(h===-2?c:y)}return[Gt(s,r+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},H=class s{constructor({strings:t,_$litType$:e},o){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,p]=Ft(t,e);if(this.el=s.createElement(l,o),x.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=x.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(gt)){let m=p[i++],y=n.getAttribute(h).split(E),g=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:g[2],strings:y,ctor:g[1]==="."?X:g[1]==="?"?tt:g[1]==="@"?et:O}),n.removeAttribute(h)}else h.startsWith(E)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Wt.test(n.tagName)){let h=n.textContent.split(E),m=h.length-1;if(m>0){n.textContent=Z?Z.emptyScript:"";for(let y=0;y<m;y++)n.append(h[y],z()),x.nextNode(),a.push({type:2,index:++r});n.append(h[m],z())}}}else if(n.nodeType===8)if(n.data===vt)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf(E,h+1))!==-1;)a.push({type:7,index:r}),h+=E.length-1}r++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let n=o!==void 0?e._$Co?.[o]:e._$Cl,r=V(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(s),n._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=n:e._$Cl=n),n!==void 0&&(t=S(s,n._$AS(s,t.values),n,o)),t}var Q=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,n=(t?.creationScope??T).importNode(e,!0);x.currentNode=n;let r=x.nextNode(),i=0,c=0,a=o[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new k(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new st(r,this,t)),this._$AV.push(l),a=o[++c]}i!==a?.index&&(r=x.nextNode(),i++)}return x.currentNode=T,n}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},k=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,n){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):qt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,n=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=H.createElement(Gt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===n)this._$AH.p(e);else{let r=new Q(n,this),i=r.u(this.options);r.p(e),this.T(i),this._$AH=r}}_$AC(t){let e=Bt.get(t.strings);return e===void 0&&Bt.set(t.strings,e=new H(t)),e}k(t){bt(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,n=0;for(let r of t)n===e.length?e.push(o=new s(this.O(z()),this.O(z()),this,this.options)):o=e[n],o._$AI(r),n++;n<e.length&&(this._$AR(o&&o._$AB.nextSibling,n),e.length=n)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t&&t!==this._$AB;){let o=t.nextSibling;t.remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},O=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,n,r){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=n,this.options=r,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,n){let r=this.strings,i=!1;if(r===void 0)t=S(this,t,e,0),i=!V(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=S(this,c[o+a],e,a),l===f&&(l=this._$AH[a]),i||=!V(l)||l!==this._$AH[a],l===d?t=d:t!==d&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},X=class extends O{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},tt=class extends O{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},et=class extends O{constructor(t,e,o,n,r){super(t,e,o,n,r),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,n=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,r=t!==d&&(o===d||n);n&&this.element.removeEventListener(this.name,this,o),r&&this.element.addEventListener(this.name,this,t),this._$AH=t}handleEvent(t){typeof this._$AH=="function"?this._$AH.call(this.options?.host??this.element,t):this._$AH.handleEvent(t)}},st=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},Kt={M:gt,P:E,A:vt,C:1,L:Ft,R:Q,D:qt,V:S,I:k,H:O,N:tt,U:et,B:X,F:st},we=yt.litHtmlPolyfillSupport;we?.(H,k),(yt.litHtmlVersions??=[]).push("3.3.0");var Et=(s,t,e)=>{let o=e?.renderBefore??t,n=o._$litPart$;if(n===void 0){let r=e?.renderBefore??null;o._$litPart$=n=new k(t.insertBefore(z(),r),r,void 0,e??{})}return n._$AI(s),n};var{is:xe,defineProperty:Te,getOwnPropertyDescriptor:Se,getOwnPropertyNames:Oe,getOwnPropertySymbols:Le,getPrototypeOf:Pe}=Object,nt=globalThis,Yt=nt.trustedTypes,ke=Yt?Yt.emptyScript:"",Ne=nt.reactiveElementPolyfillSupport,B=(s,t)=>s,ot={toAttribute(s,t){switch(t){case Boolean:s=s?ke:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},Ct=(s,t)=>!xe(s,t),Jt={attribute:!0,type:String,converter:ot,reflect:!1,useDefault:!1,hasChanged:Ct};Symbol.metadata??=Symbol("metadata"),nt.litPropertyMetadata??=new WeakMap;var C=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Jt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),n=this.getPropertyDescriptor(t,o,e);n!==void 0&&Te(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Se(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:n,set(i){let c=n?.call(this);r?.call(this,i),this.requestUpdate(t,c,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Jt}static _$Ei(){if(this.hasOwnProperty(B("elementProperties")))return;let t=Pe(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(B("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(B("properties"))){let e=this.properties,o=[...Oe(e),...Le(e)];for(let n of o)this.createProperty(n,e[n])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,n]of e)this.elementProperties.set(o,n)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let n=this._$Eu(e,o);n!==void 0&&this._$Eh.set(n,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let n of o)e.unshift(ft(n))}else t!==void 0&&e.push(ft(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Mt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,o);if(n!==void 0&&o.reflect===!0){let r=(o.converter?.toAttribute!==void 0?o.converter:ot).toAttribute(e,o.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,e){let o=this.constructor,n=o._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=o.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:ot;this._$Em=n,this[n]=i.fromAttribute(e,r.type)??this._$Ej?.get(n)??null,this._$Em=null}}requestUpdate(t,e,o){if(t!==void 0){let n=this.constructor,r=this[t];if(o??=n.getPropertyOptions(t),!((o.hasChanged??Ct)(r,e)||o.useDefault&&o.reflect&&r===this._$Ej?.get(t)&&!this.hasAttribute(n._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:n,wrapped:r},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),r!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),n===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[n,r]of this._$Ep)this[n]=r;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[n,r]of o){let{wrapped:i}=r,c=this[n];i!==!0||this._$AL.has(n)||c===void 0||this.C(n,void 0,r,c)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};C.elementStyles=[],C.shadowRootOptions={mode:"open"},C[B("elementProperties")]=new Map,C[B("finalized")]=new Map,Ne?.({ReactiveElement:C}),(nt.reactiveElementVersions??=[]).push("2.1.0");var $t=globalThis,b=class extends C{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=Et(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};b._$litElement$=!0,b.finalized=!0,$t.litElementHydrateSupport?.({LitElement:b});var De=$t.litElementPolyfillSupport;De?.({LitElement:b});($t.litElementVersions??=[]).push("4.2.0");var _=class{resolve(t){}reject(t){}constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};function Re(s,t){let e=s;for(;e;){if(e===t)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1}function Ue(s,t,e){let{subscribe:o}=Me(t);return o(n=>{n.some(i=>Re(s,i.target))&&e()})}var At={};function Me(s){let t=s.join(","),e=At[t];if(e!==void 0)return e;let o=new Set,n=new MutationObserver(i=>o.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:s,subtree:!0});let r={subscribe(i){return o.add(i),()=>{o.delete(i),o.size===0&&(n.disconnect(),At[t]=void 0)}}};return At[t]=r,r}function Ie(s,t){let e=s;for(;e;){let o=e.closest?.(t);if(o)return o;let n=e.getRootNode?.();if(n===globalThis.document)return null;e=n.host}return null}function je(s,t,e){return Ie(s,`[${t}]`)?.getAttribute(t)??e}function u(s,t,...e){try{return s?.call(t,...e)}catch(o){console.error(o,s)}}async function q(s,t,...e){try{return await s?.call(t,...e)}catch(o){console.error(o,s)}}var ze=["ar","bg","bs","ca","cs","da","de","el","en","es","et","fi","fr","he","hr","hu","id","it","ja","ko","lt","lv","nl","nb","no","pl","pt-BR","pt-PT","ro","ru","sk","sl","sr","sv","th","tr","uk","vi","zh-CN","zh-HK","zh-TW"],Ve=new Set(ze),rt="en",He={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"};async function Be(s,t,e=""){let o=`${t}/${e}`,n=`${o}${s}.json`;return wt[n]??(wt[n]=Zt(s,o)),await wt[n]}var wt={};async function Zt(s,t){let e=`${t}${s}.json`;try{let o=await fetch(e);if(o.ok)return await o.json()}catch(o){return console.error(o),{}}return s===rt?{}:await Zt(rt,t)}function qe(s){let t=je(s,"lang",globalThis.navigator?.language||rt);return{lang:t,t9nLocale:Qt(t)}}function Qt(s){let[t,e]=s.split("-"),o=t.toLowerCase(),n=o;return e&&(n=`${o}-${e.toUpperCase()}`),n=He[n]??n,Ve.has(n)?n:e?Qt(o):rt}function Ws(s,t,e,o){let n,r=()=>void We(s,t(),o).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&e(i),n=i}).catch(console.error);return queueMicrotask(r),Ue(s,["lang"],r)}async function We(s,t,e=s.localName.split("-").slice(1).join("-")){let{lang:o,t9nLocale:n}=qe(s),r=`${t}/${e}/t9n`,c=e===null?{}:await Be(n,r,"messages.");return{lang:o,t9nLocale:n,t9nStrings:c}}var it=s=>s.replace(Ge,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;function Xt(s,t){let e=t>Fe?Ke:t/Ye,o=0,n=setInterval(()=>{o+=e,o>=t&&(clearInterval(n),s())},e);return n}var Fe=4e3,Ke=2e3,Ye=4;var ct=Symbol.for("controller");var Je=s=>typeof s=="object"&&s!==null&&(ct in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s);function Js(s){return typeof s?.then=="function"}var W;function N(s){W!==s&&(W=s,queueMicrotask(()=>{W===s&&(W=void 0)}))}function G(s){return W}var L=[];function Ze(s){if(s===void 0){L=[];return}let t=L.indexOf(s);L=t===-1?[...L,s]:L.slice(0,t+1),queueMicrotask(()=>{L=[]})}function Qe(){return L}var D;function Zs(s){D!==s&&(D=s,queueMicrotask(()=>{D===s&&(D=void 0)}))}function Xe(){let s=D;return D=void 0,s}var ts=async(s,t)=>{let e=Tt(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(n=>t(n,o))}return e.exports},es=async s=>{let t=Tt(s);return await t.ready,t},Tt=s=>{let e=G().manager._resolveExports(s);if(e!==void 0)return e;if(Je(s))return s;let o=Xe();if(o!==void 0)return o},se=!1,at=!1;function Qs(s){at=!0;try{return s()}finally{at=!1}}function ss(s,t,e){let o=Object.keys(s),n=o.length;R===void 0&&queueMicrotask(lt),R??=new Map;let r=R.get(s);return r===void 0&&(r={callbacks:[],keyCount:n},R.set(s,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(o)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>u(t,null,l),a=i[n];a===void 0?c(void 0):s[a]===e?c(a):c(void 0)}),e}var R;function lt(){R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0}function os(s,t,e){let o=s.manager;return o._trackedValue!==d&&o._trackedValue!==e&&o._firePropTrackers(void 0,void 0),o._keyTrackers.length===0&&queueMicrotask(()=>o._firePropTrackers(void 0,void 0)),o._trackedValue=e,o._keyTrackers.push((n,r)=>u(t,void 0,e===r?n:void 0)),e}function ns(s=[G(),...Qe()],t,e){let o=Array.isArray(s)?s:[s],n=o.length+1,r=i=>{n-=1,i!==void 0&&(n=Math.min(n,0)),n===0&&t(i)};o.forEach(i=>ss(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&typeof i.manager=="object"&&i.manager.component===i){os(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),e);break}return e}var rs=(s="",t={},e=G())=>{let o={emit:n=>{s===""&&lt();let r=new CustomEvent(s,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(r),r}};return s===""&&ns(void 0,n=>{s=n.key},o),o},is=rs.bind(null,""),oe;oe=ct;var xt=class{constructor(t){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new _,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[oe]=!0,this.ready=this._ready.promise,this._exports=ee(this),this._exportWatchers=new Set;let e=t??G(new.target.name);this.component=e,this.component.addController(this),this.component.manager===void 0||(Ze(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:t}=this.component;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t._loadCalled&&this.triggerLoad().then(()=>{t.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(t){let e=this._exports;e!==t&&(this._exports=t,this._exportWatchers.forEach(u),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,e)),this._ready.resolve(t)}setProvisionalExports(t,e=!0){this._exports=e?ee(t):t,this._exportWatchers.forEach(u)}watchExports(t){let e=()=>t(this._exports);return this._exportWatchers.add(e),()=>void this._exportWatchers.delete(e)}get use(){return N(this.component),ts}get useRef(){return N(this.component),es}get useRefSync(){return N(this.component),Tt}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this._callbacks.hostConnected.push(t)}onDisconnected(t){this._callbacks.hostDisconnected.push(t)}onLoad(t){this._callbacks.hostLoad.push(t)}onLoaded(t){this._callbacks.hostLoaded.push(t)}onUpdate(t){this._callbacks.hostUpdate.push(t)}onUpdated(t){this._callbacks.hostUpdated.push(t)}onDestroy(t){this._callbacks.hostDestroy.push(t)}onLifecycle(t){this._callbacks.hostLifecycle.push(t),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(t)}triggerConnected(){let t=this;t.hostConnected&&u(t.hostConnected,t),this._callbacks.hostConnected.forEach(u),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&u(t.hostDisconnected,t),this._callbacks.hostDisconnected.forEach(u),this._lifecycleCleanups.forEach(u),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let t=this;t.hostLoad&&await q(t.hostLoad,t),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(q)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let t=this;t.hostLoaded&&u(t.hostLoaded,t),this._callbacks.hostLoaded.forEach(u),this.loadedCalled=!0}triggerUpdate(t){let e=this;e.hostUpdate&&u(e.hostUpdate,e,t),this._callbacks.hostUpdate.forEach(te,t)}triggerUpdated(t){let e=this;e.hostUpdated&&u(e.hostUpdated,e,t),this._callbacks.hostUpdated.forEach(te,t)}triggerDestroy(){let t=this;t.hostDestroy&&u(t.hostDestroy,t),this._callbacks.hostDestroy.forEach(u)}triggerLifecycle(){let t=this;t.hostLifecycle&&this._callLifecycle(()=>t.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(t){N(this.component);let e=u(t);(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="function"?this._lifecycleCleanups.push(n):typeof n=="object"&&typeof n.remove=="function"&&this._lifecycleCleanups.push(n.remove)})}};function te(s){u(s,void 0,this)}var ne=xt;function ee(s){if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t=new Proxy(s,{get(e,o,n){if(!((o==="exports"||o==="_exports")&&o in e&&e[o]===t)&&(o in e||o in Promise.prototype||typeof o=="symbol"))return typeof e=="function"?e[o]:Reflect.get(e,o,n)},set:(e,o,n,r)=>Reflect.set(e,o,n,r)});return t}var v={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},P=s=>(...t)=>({_$litDirective$:s,values:t}),$=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:as}=Kt;var ie=s=>s.strings===void 0,re=()=>document.createComment(""),so=(s,t,e)=>{let o=s._$AA.parentNode,n=t===void 0?s._$AB:t._$AA;if(e===void 0){let r=o.insertBefore(re(),n),i=o.insertBefore(re(),n);e=new as(r,i,s,s.options)}else{let r=e._$AB.nextSibling,i=e._$AM,c=i!==s;if(c){let a;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(a=s._$AU)!==i._$AU&&e._$AP(a)}if(r!==n||c){let a=e._$AA;for(;a!==r;){let l=a.nextSibling;o.insertBefore(a,n),a=l}}}return e},oo=(s,t,e=s)=>(s._$AI(t,e),s),cs={},ae=(s,t=cs)=>s._$AH=t,no=s=>s._$AH,ro=s=>{s._$AP?.(!1,!0);let t=s._$AA,e=s._$AB.nextSibling;for(;t!==e;){let o=t.nextSibling;t.remove(),t=o}};var ls=P(class extends ${constructor(s){if(super(s),s.type!==v.PROPERTY&&s.type!==v.ATTRIBUTE&&s.type!==v.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!ie(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===v.PROPERTY){if(t===e[o])return f}else if(s.type===v.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===v.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ae(s),t}});var he=";",ht=",",de=":",A=(s=>(s[s.ATTRIBUTE=1]="ATTRIBUTE",s[s.REFLECT=2]="REFLECT",s[s.BOOLEAN=4]="BOOLEAN",s[s.NUMBER=8]="NUMBER",s[s.STATE=16]="STATE",s[s.READ_ONLY=32]="READ_ONLY",s[s.NO_ACCESSOR=64]="NO_ACCESSOR",s))(A||{});function Lt(s){let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||e._offspring.push(s),e._postLoad.promise}return!1}var ds=(s,t)=>function(o,n){if(!globalThis.customElements)return;let i=(n??o??{}).resourcesUrl;i&&s.setAssetPath(i),Object.entries(t).forEach(us)};function us([s,[t,e=""]]){if(customElements.get(s))return;let[o,n,r]=e.split(he),i=o?o?.split(ht).map(ue):void 0,c=i?.map(([l])=>l),a=class extends Ot{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ht):void 0}static{this._syncMethods=r?.split(ht)}static{this._name=s}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(s,a)}var dt=Object.defineProperty;function ue(s){let t=s.split(de);return t.length===1?[t[0],it(t[0])]:t}var ps=globalThis.HTMLElement??ue,Ot=class extends ps{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new _,this._postLoaded=new _,this._offspring=[],this._saveInstanceProperties();let t=this.constructor;t._LitConstructor?this._initializeComponent({a:t._LitConstructor}):t._loadPromise.then(ys).then(this._initializeComponent.bind(this)).catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})})}static{this.lumina=!0}static _initializePrototype(){this._properties?.forEach(this._bindProp,this),this._asyncMethods?.forEach(this._bindAsync,this),this._syncMethods?.forEach(this._bindSync,this)}static _bindProp(t){dt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this._store[t]},set(e){this._store[t]=e}})}static _bindAsync(t){dt(this.prototype,t,{async value(...e){return this._litElement||await this._postLoaded.promise,await this._litElement[t](...e)},configurable:!0})}static _bindSync(t){dt(this.prototype,t,{value(...e){return this._litElement[t](...e)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let t=this.constructor,e=this;t._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=e[o],delete e[o])})}attributeChangedCallback(t,e,o){this._litElement?.attributeChangedCallback(t,e,o),this._litElement||this._pendingAttributes.push(t)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Lt(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(t){let e=this.constructor,o=e._name,n=this._store,r=Object.values(t).find(h=>h.tagName===o),i=`${o}--lazy`,c=r;for(;c&&!Object.hasOwn(c,"lumina");)c=Object.getPrototypeOf(c);ms(c),!e._LitConstructor&&(e._LitConstructor=r,customElements.define(i,r)),r.lazy=this;let l=document.createElement(i);r.lazy=void 0,this._litElement=l,this._store=l,this._pendingAttributes.forEach(h=>{let m=this.getAttribute(h);l.attributeChangedCallback(h,null,m)}),Object.entries(n).forEach(fs,l);let p=this.isConnected;(p||this._ancestorLoad)&&(l.connectedCallback?.(),p||l.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function fs([s,t]){this[s]=t}function ms(s){let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(n,r){e.setAttribute.call(this.el,n,r)},t.removeAttribute=function(n){e.removeAttribute.call(this.el,n)},dt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))}var ys=async s=>await(s.default?.then(t=>typeof t=="function"?{a:t}:t)??s),Pt={};var pe=P(class extends ${constructor(s){if(super(s),s.type!==v.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let n=!!t[o];n===this.st.has(o)||this.nt?.has(o)||(n?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var fe="important",gs=" !"+fe,me=P(class extends ${constructor(s){if(super(s),s.type!==v.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let n=t[o];if(n!=null){this.ft.add(o);let r=typeof n=="string"&&n.endsWith(gs);o.includes("-")||r?e.setProperty(o,r?n.slice(0,-11):n,r?fe:""):e[o]=n}}return f}});var kt=class extends ne{constructor(t){super(t),this.destroyed=!1,this._enforceReadonly=!1,this._trackedValue=d,this._keyTrackers=[],this._accessorGetter={},this._accessorSetter={},this._exportsStore=new WeakMap,this.exports=void 0,this.hasDestroy=Nt in t&&typeof t.destroy=="function",b.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Nt} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),lt();for(let e of t._controllers)"triggerConnected"in e?e.triggerConnected():u(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t._controllers)"triggerDisconnected"in e?e.triggerDisconnected():u(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this._setAutoDestroyTimeout()},hostUpdate:()=>{for(let e of t._controllers)"triggerUpdate"in e?e.triggerUpdate(this._changes):u(e.hostUpdate,e,this._changes)},hostUpdated:()=>{for(let e of t._controllers)"triggerUpdated"in e?e.triggerUpdated(this._changes):u(e.hostUpdated,e,this._changes);this._changes=void 0}}),t.constructor.elementProperties.forEach((e,o)=>{e.noAccessor||(this._accessorGetter[o]=ye,this._accessorSetter[o]=ye,this._getSetProxy(o,e.readOnly))}),queueMicrotask(()=>{this._enforceReadonly=!0}),N(t)}async destroy(){if(!this.destroyed){if(this.component.el.isConnected){this.hasDestroy=!1;try{this.component.el.remove()}finally{this.hasDestroy=!0}}this._autoDestroyTimeout=void 0,this.destroyed=!0;for(let t of this.component._controllers)"triggerDestroy"in t?t.triggerDestroy():u(t.hostDestroy,t);this.component._controllers.clear()}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let t=()=>void this.component.destroy();this._autoDestroyTimeout=Xt(t,vs)}}_firePropTrackers(t,e){let o=this._keyTrackers;this._trackedValue=d,this._keyTrackers=[],o.forEach(n=>n(t,e))}_getSetProxy(t,e){let o=this.component.constructor.prototype,n;do n=Object.getOwnPropertyDescriptor(o,t);while(!n&&(o=Object.getPrototypeOf(o)));if(!n)return;let r=n.get,i=n.set,c=ut in r,a=ut in i;if(c&&a)return;let l=!c,p=!a,h=l?function(){let g=r.call(this);return se?g:this.manager._accessorGetter[t](g,t)}:r,m=p?function(g){let K=r.call(this),U=g??void 0,M=this.manager;if(U!==K){if(e&&!at&&(M._enforceReadonly||M.connectedCalled))throw new Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${String(U)}"`);U=M._accessorSetter[t](U,K,t)}i.call(this,U),M._keyTrackers.length>0&&M?._firePropTrackers(t,g)}:i;l&&(h[ut]=!0),p&&(m[ut]=!0),Object.defineProperty(o,t,{...n,get:h,set:m})}_markExports(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this._exportsStore.set(e,t)}_resolveExports(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this._exportsStore.get(t)}},vs=1e3,Nt="autoDestroyDisabled",ye=s=>s,ut=Symbol(),bs=()=>{},ge=class s extends b{constructor(){super(),this.el=this.constructor.lazy??this,this._controllers=new Set,this.manager=new kt(this),this._postLoad=this.constructor.lazy?._postLoad??new _,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new _,this._enableUpdating=this.enableUpdating,this.enableUpdating=bs;let t=s.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Pt;return this.runtime?.commonStyles===void 0||o?e:[this.runtime.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,n=Array.isArray(e)?e[1]:void 0;super.createProperty(t,{attribute:o&A.ATTRIBUTE&&typeof t=="string"?it(t):!1,reflect:!!(o&A.REFLECT),type:o&A.BOOLEAN?Boolean:o&A.NUMBER?Number:void 0,state:!!(o&A.STATE),readOnly:!!(o&A.READ_ONLY),noAccessor:!!(o&A.NO_ACCESSOR),...n})}static{this.lumina=!0}connectedCallback(){if(this.el.hasAttribute("defer-hydration"))return;let t=!this.manager.connectedCalled;super.connectedCallback(),t&&queueMicrotask(()=>this._load().catch(e=>{this._postLoaded.reject(e),setTimeout(()=>{throw e})}))}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,r=t??(o===Pt?this.el:this.el.attachShadow(o));if(t)return b.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Lt(this.el);t&&await t;let e=[];for(let n of this._controllers)"triggerLoad"in n?e.push(n.triggerLoad()):e.push(q(n.hostLoad,n));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(n=>n.has(Nt)&&this.manager._setAutoDestroyTimeout()),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(n=>!n.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async n=>await n.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,"");for(let n of this._controllers)"triggerLoaded"in n?n.triggerLoaded():u(n.hostLoaded,n);this.loaded?.(),this._postLoaded.resolve()}shouldUpdate(t){return this.manager._changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,e,o){let n=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,o),()=>this.el.removeEventListener(t,n,o)))}listenOn(t,e,o,n){let r=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,r,n),()=>t.removeEventListener(e,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}addController(t){this._controllers.add(t),!(ct in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this._controllers.delete(t),t.controllerRemoved?.()}};function ve(s){let t,e=n=>{t=new URL(n,globalThis.location?.href||void 0).href},o={...s,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:e,customElement(n,r){r.runtime=o,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return e(s.defaultAssetPath),o}var An=s=>typeof s=="object"&&s!=null?pe(s):s,wn=s=>typeof s=="object"&&s!=null?me(s):s;var xn=d;function Tn(s,t,e){e==null?s.removeAttribute(t):s.setAttribute(t,e)}var Sn={toAttribute:s=>s===!0?"":s===!1?null:s};var Ee="calcite-mode-auto",Ce="calcite-mode-dark",_s="calcite-mode-light",Nn={autoMode:Ee,darkMode:Ce,lightMode:_s,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left"},Dn={filter:250,nextTick:0,resize:150,reposition:100},Rn=10,Un=25;function be(){let{classList:s}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,e=()=>s.contains(Ce)||s.contains(Ee)&&t?"dark":"light",o=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&o(i),r=i},r=e();o(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(e())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var F=globalThis.calciteConfig,Mn=F?.focusTrapStack||[],In=F?.logLevel||"info",_e="3.2.1",Es="2025-05-29",Cs="618973fec";function $s(){if(F&&F.version)return;console.info(`Using Calcite Components ${_e} [Date: ${Es}, Revision: ${Cs}]`);let s=F||globalThis.calciteConfig||{};Object.defineProperty(s,"version",{value:_e,writable:!1}),globalThis.calciteConfig=s}function As(){document.readyState==="interactive"?be():document.addEventListener("DOMContentLoaded",()=>be(),{once:!0}),$s()}As();var ws=ve({defaultAssetPath:"https://js.arcgis.com/calcite-components/3.2.1/",hydratedAttribute:"calcite-hydrated"}),{customElement:jn,getAssetPath:zn,setAssetPath:Vn}=ws;export{qe as a,Ws as b,$e as c,Ts as d,Ss as e,Os as f,f as g,d as h,Et as i,Js as j,N as k,Ze as l,Qe as m,Zs as n,Qs as o,ns as p,is as q,xt as r,ne as s,ds as t,v as u,P as v,$ as w,ie as x,so as y,oo as z,ae as A,no as B,ro as C,ls as D,ge as E,An as F,wn as G,xn as H,Tn as I,Sn as J,Nn as K,Dn as L,Rn as M,Un as N,Mn as O,In as P,ws as Q,jn as R,zn as S};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{a as G,b as T}from"./ZDNLHT4M.js";import{a as O,b as x}from"./PCCURG2N.js";import{a as y}from"./IQADRY3C.js";import{a as E}from"./LC6DJODI.js";import{g as C,n as I}from"./KM6TLQGF.js";import{d as S}from"./L6WXEDTA.js";import"./RDYIWF5B.js";import{a as B}from"./3SKYNMLV.js";import{E as g,F as c,L as v,R as k,c as f,d as h,q as n}from"./RLDQAG62.js";function D(d){return d.tagName==="CALCITE-BLOCK"}var p={container:"container",groupContainer:"group-container",scrim:"scrim",assistiveText:"assistive-text"},u="calcite-block-group",m="calcite-block",P=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;function w(d){let e=d.assignedElements({flatten:!0}).filter(s=>s.matches(m));e.forEach(s=>{s.setPosition=e.indexOf(s)+1,s.setSize=e.length})}var b=class extends g{constructor(){super(),this.dragSelector=m,this.handleSelector="calcite-sort-handle",this.mutationObserver=E("mutation",()=>{this.updateBlockItems()}),this.updateBlockItems=y(()=>{this.updateGroupItems();let{dragEnabled:e,el:s,moveToItems:a}=this;Array.from(this.el.querySelectorAll(m)).forEach(t=>{t.closest(u)===s&&(t.moveToItems=a.filter(l=>l.element!==s&&!t.contains(l.element)),t.dragHandle=e)}),this.setUpSorting()},v.nextTick),this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.loading=!1,this.calciteBlockGroupDragEnd=n({cancelable:!1}),this.calciteBlockGroupDragStart=n({cancelable:!1}),this.calciteBlockGroupOrderChange=n({cancelable:!1}),this.calciteBlockGroupMoveHalt=n({cancelable:!1}),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove)}static{this.properties={assistiveText:[16,{},{state:!0}],moveToItems:[16,{},{state:!0}],canPull:[0,{},{attribute:!1}],canPut:[0,{},{attribute:!1}],disabled:[7,{},{reflect:!0,type:Boolean}],dragEnabled:[7,{},{reflect:!0,type:Boolean}],group:[3,{},{reflect:!0}],label:1,loading:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=P}async setFocus(){await S(this),I(this.el)}putFailed(e){this.calciteBlockGroupMoveHalt.emit(e)}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.updateBlockItems(),this.setUpSorting(),this.setParentBlockGroup()}willUpdate(e){(e.has("group")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.updateBlockItems()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),T(this)}updateGroupItems(){let{el:e,group:s}=this,a=C(e),r=s?Array.from(a.querySelectorAll(`${u}[group="${s}"]`)).filter(t=>!t.disabled&&t.dragEnabled):[];this.moveToItems=r.map(t=>({element:t,label:t.label??t.id,id:B()}))}handleCalciteInternalAssistiveTextChange(e){this.assistiveText=e.detail.message,e.stopPropagation()}handleSortReorder(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleReorder(e))}handleSortMove(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleMove(e))}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:e}=this;e&&G(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(e){this.calciteBlockGroupDragEnd.emit(e)}onDragStart(e){e.dragEl.sortHandleOpen=!1,this.calciteBlockGroupDragStart.emit(e)}onDragSort(e){this.setParentBlockGroup(),this.updateBlockItems(),this.calciteBlockGroupOrderChange.emit(e)}setParentBlockGroup(){this.parentBlockGroupEl=this.el.parentElement?.closest(u)}handleDefaultSlotChange(e){w(e.target)}handleMove(e){let{moveTo:s}=e.detail,a=e.target,r=a?.parentElement,t=s.element,i=Array.from(r.children).filter(D).indexOf(a),o=0;if(r){if(r.canPull?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){this.calciteBlockGroupMoveHalt.emit({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}if(t.canPut?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){t.putFailed({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}a.sortHandleOpen=!1,this.disconnectObserver(),t.prepend(a),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:t,newIndex:o,oldIndex:i})}}handleReorder(e){let{reorder:s}=e.detail,a=e.target,r=a?.parentElement;if(!r)return;a.sortHandleOpen=!1;let t=Array.from(r.children).filter(D),l=t.length-1,i=t.indexOf(a),o=i;switch(s){case"top":o=0;break;case"bottom":o=l;break;case"up":o=i===0?0:i-1;break;case"down":o=i===l?l:i+1;break}this.disconnectObserver();let $=s==="up"||s==="top"?t[o]:t[o].nextSibling;r.insertBefore(a,$),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:r,newIndex:o,oldIndex:i})}render(){let{loading:e,label:s}=this;return x({disabled:this.disabled,children:h`<div class=${c(p.container)}>${this.dragEnabled?h`<span aria-live=assertive class=${c(p.assistiveText)}>${this.assistiveText}</span>`:null}${e?h`<calcite-scrim class=${c(p.scrim)} .loading=${e}></calcite-scrim>`:null}<div .ariaBusy=${e} .ariaLabel=${s||""} class=${c(p.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`})}};k("calcite-block-group",b);export{b as BlockGroup};
3
+ v3.2.1 */
4
+ import{a as G,b as T}from"./AYIAAZYA.js";import{a as O,b as x}from"./BVJFCLMH.js";import{a as y}from"./OQOKN4KP.js";import{a as E}from"./M7EAHGE3.js";import{g as C,n as I}from"./3ADX47DD.js";import{d as S}from"./HPN2C7M6.js";import"./JOSABGK6.js";import{a as B}from"./NNVH7JUI.js";import{E as g,F as c,L as v,R as k,c as f,d as h,q as n}from"./BJZTU5BQ.js";function D(d){return d.tagName==="CALCITE-BLOCK"}var p={container:"container",groupContainer:"group-container",scrim:"scrim",assistiveText:"assistive-text"},u="calcite-block-group",m="calcite-block",P=f`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:block}.container{position:relative}.assistive-text{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`;function w(d){let e=d.assignedElements({flatten:!0}).filter(s=>s.matches(m));e.forEach(s=>{s.setPosition=e.indexOf(s)+1,s.setSize=e.length})}var b=class extends g{constructor(){super(),this.dragSelector=m,this.handleSelector="calcite-sort-handle",this.mutationObserver=E("mutation",()=>{this.updateBlockItems()}),this.updateBlockItems=y(()=>{this.updateGroupItems();let{dragEnabled:e,el:s,moveToItems:a}=this;Array.from(this.el.querySelectorAll(m)).forEach(t=>{t.closest(u)===s&&(t.moveToItems=a.filter(l=>l.element!==s&&!t.contains(l.element)),t.dragHandle=e)}),this.setUpSorting()},v.nextTick),this.moveToItems=[],this.disabled=!1,this.dragEnabled=!1,this.loading=!1,this.calciteBlockGroupDragEnd=n({cancelable:!1}),this.calciteBlockGroupDragStart=n({cancelable:!1}),this.calciteBlockGroupOrderChange=n({cancelable:!1}),this.calciteBlockGroupMoveHalt=n({cancelable:!1}),this.listen("calciteInternalAssistiveTextChange",this.handleCalciteInternalAssistiveTextChange),this.listen("calciteSortHandleReorder",this.handleSortReorder),this.listen("calciteSortHandleMove",this.handleSortMove)}static{this.properties={assistiveText:[16,{},{state:!0}],moveToItems:[16,{},{state:!0}],canPull:[0,{},{attribute:!1}],canPut:[0,{},{attribute:!1}],disabled:[7,{},{reflect:!0,type:Boolean}],dragEnabled:[7,{},{reflect:!0,type:Boolean}],group:[3,{},{reflect:!0}],label:1,loading:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=P}async setFocus(){await S(this),I(this.el)}putFailed(e){this.calciteBlockGroupMoveHalt.emit(e)}connectedCallback(){super.connectedCallback(),this.connectObserver(),this.updateBlockItems(),this.setUpSorting(),this.setParentBlockGroup()}willUpdate(e){(e.has("group")||e.has("dragEnabled")&&(this.hasUpdated||this.dragEnabled!==!1))&&this.updateBlockItems()}updated(){O(this)}disconnectedCallback(){super.disconnectedCallback(),this.disconnectObserver(),T(this)}updateGroupItems(){let{el:e,group:s}=this,a=C(e),r=s?Array.from(a.querySelectorAll(`${u}[group="${s}"]`)).filter(t=>!t.disabled&&t.dragEnabled):[];this.moveToItems=r.map(t=>({element:t,label:t.label??t.id,id:B()}))}handleCalciteInternalAssistiveTextChange(e){this.assistiveText=e.detail.message,e.stopPropagation()}handleSortReorder(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleReorder(e))}handleSortMove(e){this.parentBlockGroupEl||e.defaultPrevented||(e.preventDefault(),this.handleMove(e))}connectObserver(){this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0})}disconnectObserver(){this.mutationObserver?.disconnect()}setUpSorting(){let{dragEnabled:e}=this;e&&G(this)}onGlobalDragStart(){this.disconnectObserver()}onGlobalDragEnd(){this.connectObserver()}onDragEnd(e){this.calciteBlockGroupDragEnd.emit(e)}onDragStart(e){e.dragEl.sortHandleOpen=!1,this.calciteBlockGroupDragStart.emit(e)}onDragSort(e){this.setParentBlockGroup(),this.updateBlockItems(),this.calciteBlockGroupOrderChange.emit(e)}setParentBlockGroup(){this.parentBlockGroupEl=this.el.parentElement?.closest(u)}handleDefaultSlotChange(e){w(e.target)}handleMove(e){let{moveTo:s}=e.detail,a=e.target,r=a?.parentElement,t=s.element,i=Array.from(r.children).filter(D).indexOf(a),o=0;if(r){if(r.canPull?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){this.calciteBlockGroupMoveHalt.emit({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}if(t.canPut?.({toEl:t,fromEl:r,dragEl:a,newIndex:o,oldIndex:i})===!1){t.putFailed({toEl:t,fromEl:r,dragEl:a,oldIndex:i,newIndex:o});return}a.sortHandleOpen=!1,this.disconnectObserver(),t.prepend(a),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:t,newIndex:o,oldIndex:i})}}handleReorder(e){let{reorder:s}=e.detail,a=e.target,r=a?.parentElement;if(!r)return;a.sortHandleOpen=!1;let t=Array.from(r.children).filter(D),l=t.length-1,i=t.indexOf(a),o=i;switch(s){case"top":o=0;break;case"bottom":o=l;break;case"up":o=i===0?0:i-1;break;case"down":o=i===l?l:i+1;break}this.disconnectObserver();let $=s==="up"||s==="top"?t[o]:t[o].nextSibling;r.insertBefore(a,$),this.updateBlockItems(),this.connectObserver(),this.calciteBlockGroupOrderChange.emit({dragEl:a,fromEl:r,toEl:r,newIndex:o,oldIndex:i})}render(){let{loading:e,label:s}=this;return x({disabled:this.disabled,children:h`<div class=${c(p.container)}>${this.dragEnabled?h`<span aria-live=assertive class=${c(p.assistiveText)}>${this.assistiveText}</span>`:null}${e?h`<calcite-scrim class=${c(p.scrim)} .loading=${e}></calcite-scrim>`:null}<div .ariaBusy=${e} .ariaLabel=${s||""} class=${c(p.groupContainer)} role=group><slot @slotchange=${this.handleDefaultSlotChange}></slot></div></div>`})}};k("calcite-block-group",b);export{b as BlockGroup};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{F as r,d as i}from"./RLDQAG62.js";function s(){let{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}var o=["mousedown","mouseup","click"];function c(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}var n={capture:!0};function m(e){if(e.disabled){e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),l(e);return}u(e),e.el.removeAttribute("aria-disabled")}function l(e){e.el.click=s,d(e.el)}function d(e){e.addEventListener("pointerdown",a,n),o.forEach(t=>e.addEventListener(t,c,n))}function u(e){delete e.el.click,f(e.el)}function f(e){e.removeEventListener("pointerdown",a,n),o.forEach(t=>e.removeEventListener(t,c,n))}var v={container:"interaction-container"},p=({children:e,disabled:t})=>i`<div class=${r(v.container)} .inert=${t}>${e}</div>`;export{m as a,p as b};
3
+ v3.2.1 */
4
+ import{F as r,d as i}from"./BJZTU5BQ.js";function s(){let{disabled:e}=this;e||HTMLElement.prototype.click.call(this)}function a(e){e.target.disabled&&e.preventDefault()}var o=["mousedown","mouseup","click"];function c(e){e.target.disabled&&(e.stopImmediatePropagation(),e.preventDefault())}var n={capture:!0};function m(e){if(e.disabled){e.el.setAttribute("aria-disabled","true"),e.el.contains(document.activeElement)&&document.activeElement.blur(),l(e);return}u(e),e.el.removeAttribute("aria-disabled")}function l(e){e.el.click=s,d(e.el)}function d(e){e.addEventListener("pointerdown",a,n),o.forEach(t=>e.addEventListener(t,c,n))}function u(e){delete e.el.click,f(e.el)}function f(e){e.removeEventListener("pointerdown",a,n),o.forEach(t=>e.removeEventListener(t,c,n))}var v={container:"interaction-container"},p=({children:e,disabled:t})=>i`<div class=${r(v.container)} .inert=${t}>${e}</div>`;export{m as a,p as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{a as y}from"./6MZZWWCT.js";import{a as S,b as $}from"./PCCURG2N.js";import{a as n}from"./3EEE3VIA.js";import"./IQADRY3C.js";import{c as v}from"./7TQDAMN6.js";import{b as g}from"./YV2UI5WA.js";import"./KM6TLQGF.js";import{d as w}from"./L6WXEDTA.js";import"./RDYIWF5B.js";import"./3SKYNMLV.js";import{E as f,F as c,R as b,c as u,d as a,h as l,q as i}from"./RLDQAG62.js";var D={handle:"handle",dropdown:"dropdown"},I={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},T=["top","up","down","bottom"],H=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends f{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=y,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!0}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!0})}static{this.properties={hasSetInfo:[16,{},{state:!0}],isSetDisabled:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,messageOverrides:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],moveToItems:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],setPosition:[9,{},{type:Number}],setSize:[9,{},{type:Number}],widthScale:[3,{},{reflect:!0}]}}static{this.styles=H}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await w(this),this.dropdownEl?.setFocus()}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){S(this)}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let r=e?t.repositionLabel.replace(p.label,e):t.reposition;return r=r.replace(p.position,o?o.toString():""),r.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:r,scale:m,widthScale:P}=this,d=this.getLabel(),B=e||this.isSetDisabled;return $({disabled:e,children:a`<calcite-dropdown class=${c(D.dropdown)} .disabled=${B} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${r} .scale=${m} .widthScale=${P} ${g(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(D.handle)} .dragHandle=${!0} .icon=${e?I.blank:I.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return n(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?n("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?n("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return n(T[e],a`<calcite-dropdown-item data-value=${T[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};b("calcite-sort-handle",h);export{h as SortHandle};
3
+ v3.2.1 */
4
+ import{a as y}from"./YCSOVIAT.js";import{a as S,b as $}from"./BVJFCLMH.js";import{a as n}from"./YXZ62PQO.js";import"./OQOKN4KP.js";import{d as v}from"./CKRTMNFR.js";import{b as g}from"./5RDOSP2E.js";import"./3ADX47DD.js";import{d as w}from"./HPN2C7M6.js";import"./JOSABGK6.js";import"./NNVH7JUI.js";import{E as f,F as c,R as b,c as u,d as a,h as l,q as i}from"./BJZTU5BQ.js";var D={handle:"handle",dropdown:"dropdown"},I={drag:"drag",blank:"blank"},p={label:"{label}",position:"{position}",total:"{total}"},T=["top","up","down","bottom"],H=u`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex}.dropdown{block-size:100%}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([hidden]){display:none}[hidden]{display:none}`,h=class extends f{constructor(){super(...arguments),this.disabled=!1,this.messages=v({blocking:!0}),this.moveToItems=[],this.open=!1,this.overlayPositioning="absolute",this.placement=y,this.scale="m",this.calciteSortHandleBeforeClose=i({cancelable:!1}),this.calciteSortHandleBeforeOpen=i({cancelable:!1}),this.calciteSortHandleClose=i({cancelable:!1}),this.calciteSortHandleMove=i({cancelable:!0}),this.calciteSortHandleOpen=i({cancelable:!1}),this.calciteSortHandleReorder=i({cancelable:!0})}static{this.properties={hasSetInfo:[16,{},{state:!0}],isSetDisabled:[16,{},{state:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],flipPlacements:[0,{},{attribute:!1}],label:1,messageOverrides:[0,{},{attribute:!1}],messages:[0,{},{attribute:!1}],moveToItems:[0,{},{attribute:!1}],open:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],placement:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],setPosition:[9,{},{type:Number}],setSize:[9,{},{type:Number}],widthScale:[3,{},{reflect:!0}]}}static{this.styles=H}get hasSetInfo(){return typeof this.setPosition=="number"&&typeof this.setSize=="number"}get isSetDisabled(){let{setPosition:e,setSize:t,moveToItems:o}=this;return this.hasSetInfo?e<1||t<1||t<2&&o.length<1:!1}async setFocus(){await w(this),this.dropdownEl?.setFocus()}willUpdate(e){e.has("open")&&(this.hasUpdated||this.open!==!1)&&this.openHandler()}updated(){S(this)}openHandler(){if(this.disabled){this.open=!1;return}this.dropdownEl&&(this.dropdownEl.open=this.open)}setDropdownEl(e){e&&(this.dropdownEl=e,this.openHandler())}getLabel(){let{label:e,messages:t,setPosition:o,setSize:s}=this;if(!this.hasSetInfo)return e??"";let r=e?t.repositionLabel.replace(p.label,e):t.reposition;return r=r.replace(p.position,o?o.toString():""),r.replace(p.total,s?s.toString():"")}handleBeforeOpen(e){e.stopPropagation(),this.calciteSortHandleBeforeOpen.emit()}handleOpen(e){e.stopPropagation(),this.calciteSortHandleOpen.emit(),this.open=!0}handleBeforeClose(e){e.stopPropagation(),this.calciteSortHandleBeforeClose.emit()}handleClose(e){e.stopPropagation(),this.calciteSortHandleClose.emit(),this.open=!1}handleReorder(e){this.calciteSortHandleReorder.emit({reorder:e.target.dataset.value})}handleMoveTo(e){let t=e.target.dataset.id,o=this.moveToItems.find(s=>s.id===t);this.calciteSortHandleMove.emit({moveTo:o})}render(){let{disabled:e,flipPlacements:t,open:o,overlayPositioning:s,placement:r,scale:m,widthScale:P}=this,d=this.getLabel(),B=e||this.isSetDisabled;return $({disabled:e,children:a`<calcite-dropdown class=${c(D.dropdown)} .disabled=${B} .flipPlacements=${t} @calciteDropdownBeforeClose=${this.handleBeforeClose} @calciteDropdownBeforeOpen=${this.handleBeforeOpen} @calciteDropdownClose=${this.handleClose} @calciteDropdownOpen=${this.handleOpen} .overlayPositioning=${s} .placement=${r} .scale=${m} .widthScale=${P} ${g(this.setDropdownEl)}><calcite-action .active=${o} appearance=transparent class=${c(D.handle)} .dragHandle=${!0} .icon=${e?I.blank:I.drag} .label=${d} .scale=${m} slot=trigger .text=${d} title=${d??l}></calcite-action>${this.renderGroup()}${this.renderMoveToGroup()}</calcite-dropdown>`})}renderMoveToItem(e){return n(e.id,a`<calcite-dropdown-item data-id=${e.id??l} .label=${e.label} @calciteDropdownItemSelect=${this.handleMoveTo}>${e.label}</calcite-dropdown-item>`)}renderGroup(){return this.hasSetInfo?n("reorder",a`<calcite-dropdown-group .groupTitle=${this.messages.reorder} .scale=${this.scale} selection-mode=none>${this.renderTop()}${this.renderUp()}${this.renderDown()}${this.renderBottom()}</calcite-dropdown-group>`):null}renderMoveToGroup(){let{messages:e,moveToItems:t,scale:o}=this;return t.length?n("move-to-items",a`<calcite-dropdown-group .groupTitle=${e.moveTo} .scale=${o} selection-mode=none>${t.map(s=>this.renderMoveToItem(s))}</calcite-dropdown-group>`):null}renderDropdownItem(e,t){return n(T[e],a`<calcite-dropdown-item data-value=${T[e]??l} .label=${t} @calciteDropdownItemSelect=${this.handleReorder}>${t}</calcite-dropdown-item>`)}renderTop(){let{setPosition:e}=this;return e!==1&&e!==2?this.renderDropdownItem(0,this.messages.moveToTop):null}renderUp(){return this.setPosition!==1?this.renderDropdownItem(1,this.messages.moveUp):null}renderDown(){return this.setPosition!==this.setSize?this.renderDropdownItem(2,this.messages.moveDown):null}renderBottom(){let{setPosition:e,setSize:t}=this;return e!==t&&e!==t-1?this.renderDropdownItem(3,this.messages.moveToBottom):null}};b("calcite-sort-handle",h);export{h as SortHandle};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{a as x,h as y,k as D,l as v,m as g,n as p,o as d,p as m,q as r,r as c,s as L}from"./UPFRPLHL.js";import"./BGMUWA3J.js";import{a as F}from"./3EEE3VIA.js";import{b as C}from"./YV2UI5WA.js";import{l as T}from"./KM6TLQGF.js";import{d as B}from"./L6WXEDTA.js";import"./RDYIWF5B.js";import"./3SKYNMLV.js";import{E as O,F as I,R as E,c as N,d as f,q as S}from"./RLDQAG62.js";var b={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=N`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,$=x(),V=class extends O{constructor(){super(...arguments),this.internalColor=$,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=r(c($,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=S({cancelable:!1})}static{this.properties={internalColor:[16,{},{state:!0}],alphaChannel:[5,{},{type:Boolean}],allowEmpty:[5,{},{type:Boolean}],hexLabel:1,messages:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],value:[3,{},{reflect:!0}]}}static{this.styles=U}async setFocus(){return await B(this),T(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=r(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==r(c($,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,s=n&&!e,i=m(a);(d(a,!0)||d(a,!1))&&this.onHexInputChange(),!(s||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(L(l.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let e=this.hexInputNode.value;if(e){let a=r(e,!1);if(p(a)&&this.alphaChannel&&this.internalColor){let l=r(this.internalColor.hexa(),!0).slice(-2);e=`${a+l}`}}this.internalSetValue(e,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=g(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&m(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:s,hexInputNode:i,internalColor:o,value:h}=this,{key:u}=t,H=t.composedPath();if(u==="Tab"&&d(h,this.alphaChannel)||u==="Enter"){H.includes(i)?this.onHexInputChange():this.onOpacityInputChange(),u==="Enter"&&t.preventDefault();return}let k=u==="ArrowDown"||u==="ArrowUp",w=this.value;if(k){if(!h){this.internalSetValue(this.previousNonNullValue,w),t.preventDefault();return}let z=u==="ArrowUp"?1:-1,P=l?10:1;this.internalSetValue(c(this.nudgeRGBChannels(o,P*z,H.includes(i)?"rgb":"a"),s),w),t.preventDefault();return}let A=e||a||n,R=u.length===1,K=D.test(u);R&&!A&&!K&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&m(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=r(t,n,n);if(p(l,n)){let{internalColor:s}=this,i=x(l),o=r(c(i,n),n),h=!s||o!==r(c(s,n),n);this.internalColor=i,this.previousNonNullValue=o,this.value=o,h&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${v(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),s=l.slice(0,3);if(a==="rgb")n=[...s.map(o=>o+e),this.alphaChannel?l[3]:void 0];else{let i=g(v(t.alpha())+e);n=[...s,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:s}=this,i=this.formatHexForInternalInput(s),o=this.formatOpacityForInternalInput(a),h=l==="l"?"m":"s";return f`<div class=${I(b.container)}><calcite-input-text class=${I(b.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${h} .value=${i} ${C(this.storeHexInputRef)}></calcite-input-text>${t?F("opacity-input",f`<calcite-input-number class=${I(b.opacityInput)} .label=${n?.opacity} .max=${y.max} max-length=3 .min=${y.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${h} suffix-text=% .value=${o} ${C(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};E("calcite-color-picker-hex-input",V);export{V as ColorPickerHexInput};
3
+ v3.2.1 */
4
+ import{a as x,h as y,k as D,l as v,m as g,n as p,o as d,p as m,q as r,r as c,s as L}from"./TGDV7BPX.js";import"./YSI7ZYDZ.js";import{a as F}from"./YXZ62PQO.js";import{b as C}from"./5RDOSP2E.js";import{l as T}from"./3ADX47DD.js";import{d as B}from"./HPN2C7M6.js";import"./JOSABGK6.js";import"./NNVH7JUI.js";import{E as O,F as I,R as E,c as N,d as f,q as S}from"./BJZTU5BQ.js";var b={container:"container",hexInput:"hex-input",opacityInput:"opacity-input"},U=N`:host{display:block}.container{display:flex;inline-size:100%;flex-wrap:nowrap;align-items:center}.hex-input{flex-grow:1;text-transform:uppercase}.opacity-input{inline-size:100px;margin-inline-start:-1px}:host([hidden]){display:none}[hidden]{display:none}`,$=x(),V=class extends O{constructor(){super(...arguments),this.internalColor=$,this.alphaChannel=!1,this.allowEmpty=!1,this.hexLabel="Hex",this.scale="m",this.value=r(c($,this.alphaChannel),this.alphaChannel,!0),this.calciteColorPickerHexInputChange=S({cancelable:!1})}static{this.properties={internalColor:[16,{},{state:!0}],alphaChannel:[5,{},{type:Boolean}],allowEmpty:[5,{},{type:Boolean}],hexLabel:1,messages:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],value:[3,{},{reflect:!0}]}}static{this.styles=U}async setFocus(){return await B(this),T(this.hexInputNode)}connectedCallback(){super.connectedCallback(),this.previousNonNullValue=this.value;let{allowEmpty:t,alphaChannel:e,value:a}=this;if(a){let n=r(a,e);p(n,e)&&this.internalSetValue(n,n,!1);return}t&&this.internalSetValue(void 0,void 0,!1)}willUpdate(t){t.has("value")&&(this.hasUpdated||this.value!==r(c($,this.alphaChannel),this.alphaChannel,!0))&&this.internalSetValue(this.value,t.get("value"),!1)}onHexInputBlur(){let t=this.hexInputNode,e=t.value,a=`#${e}`,{allowEmpty:n,internalColor:l}=this,s=n&&!e,i=m(a);(d(a,!0)||d(a,!1))&&this.onHexInputChange(),!(s||p(a)&&i)&&(t.value=n&&!l?"":this.formatHexForInternalInput(L(l.object())))}onOpacityInputBlur(){let t=this.opacityInputNode,e=t.value,{allowEmpty:a,internalColor:n}=this;a&&!e||(t.value=a&&!n?"":this.formatOpacityForInternalInput(n))}onOpacityInputInput(){this.onOpacityInputChange()}onHexInputChange(){let e=this.hexInputNode.value;if(e){let a=r(e,!1);if(p(a)&&this.alphaChannel&&this.internalColor){let l=r(this.internalColor.hexa(),!0).slice(-2);e=`${a+l}`}}this.internalSetValue(e,this.value)}onOpacityInputChange(){let t=this.opacityInputNode,e;if(!t.value)e=t.value;else{let a=g(Number(t.value));e=this.internalColor?.alpha(a).hexa()}this.internalSetValue(e,this.value)}onInputFocus(t){t.type==="calciteInternalInputTextFocus"?this.hexInputNode.selectText():this.opacityInputNode.selectText()}onHexInputInput(){let t=`#${this.hexInputNode.value}`,e=this.value;p(t,this.alphaChannel)&&m(t,this.alphaChannel)&&this.internalSetValue(t,e)}onInputKeyDown(t){let{altKey:e,ctrlKey:a,metaKey:n,shiftKey:l}=t,{alphaChannel:s,hexInputNode:i,internalColor:o,value:h}=this,{key:u}=t,H=t.composedPath();if(u==="Tab"&&d(h,this.alphaChannel)||u==="Enter"){H.includes(i)?this.onHexInputChange():this.onOpacityInputChange(),u==="Enter"&&t.preventDefault();return}let k=u==="ArrowDown"||u==="ArrowUp",w=this.value;if(k){if(!h){this.internalSetValue(this.previousNonNullValue,w),t.preventDefault();return}let z=u==="ArrowUp"?1:-1,P=l?10:1;this.internalSetValue(c(this.nudgeRGBChannels(o,P*z,H.includes(i)?"rgb":"a"),s),w),t.preventDefault();return}let A=e||a||n,R=u.length===1,K=D.test(u);R&&!A&&!K&&t.preventDefault()}onHexInputPaste(t){let e=t.clipboardData.getData("text");p(e,this.alphaChannel)&&m(e,this.alphaChannel)&&(t.preventDefault(),this.hexInputNode.value=e.slice(1),this.internalSetValue(e,this.value))}internalSetValue(t,e,a=!0){if(t){let{alphaChannel:n}=this,l=r(t,n,n);if(p(l,n)){let{internalColor:s}=this,i=x(l),o=r(c(i,n),n),h=!s||o!==r(c(s,n),n);this.internalColor=i,this.previousNonNullValue=o,this.value=o,h&&a&&this.calciteColorPickerHexInputChange.emit();return}}else if(this.allowEmpty){this.internalColor=void 0,this.value=void 0,a&&this.calciteColorPickerHexInputChange.emit();return}this.value=e}storeHexInputRef(t){this.hexInputNode=t}storeOpacityInputRef(t){this.opacityInputNode=t}formatHexForInternalInput(t){return t?t.replace("#","").slice(0,6):""}formatOpacityForInternalInput(t){return t?`${v(t.alpha())}`:""}nudgeRGBChannels(t,e,a){let n,l=t.array(),s=l.slice(0,3);if(a==="rgb")n=[...s.map(o=>o+e),this.alphaChannel?l[3]:void 0];else{let i=g(v(t.alpha())+e);n=[...s,i]}return x(n)}render(){let{alphaChannel:t,hexLabel:e,internalColor:a,messages:n,scale:l,value:s}=this,i=this.formatHexForInternalInput(s),o=this.formatOpacityForInternalInput(a),h=l==="l"?"m":"s";return f`<div class=${I(b.container)}><calcite-input-text class=${I(b.hexInput)} .label=${n?.hex||e} .maxLength=${this.alphaChannel?8:6} @keydown=${this.onInputKeyDown} @paste=${this.onHexInputPaste} @calciteInputTextChange=${this.onHexInputChange} @calciteInputTextInput=${this.onHexInputInput} @calciteInternalInputTextBlur=${this.onHexInputBlur} @calciteInternalInputTextFocus=${this.onInputFocus} prefix-text=# .scale=${h} .value=${i} ${C(this.storeHexInputRef)}></calcite-input-text>${t?F("opacity-input",f`<calcite-input-number class=${I(b.opacityInput)} .label=${n?.opacity} .max=${y.max} max-length=3 .min=${y.min} number-button-type=none .numberingSystem=${this.numberingSystem} @keydown=${this.onInputKeyDown} @calciteInputNumberInput=${this.onOpacityInputInput} @calciteInternalInputNumberBlur=${this.onOpacityInputBlur} @calciteInternalInputNumberFocus=${this.onInputFocus} .scale=${h} suffix-text=% .value=${o} ${C(this.storeOpacityInputRef)}></calcite-input-number>`):null}</div>`}};E("calcite-color-picker-hex-input",V);export{V as ColorPickerHexInput};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
+ See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
+ v3.2.1 */
4
+ import{a as $}from"./SLLYAKW2.js";import{a as C}from"./NRY267XB.js";import{a as O}from"./5VPUXQOI.js";import{a as w}from"./YXZ62PQO.js";import{d as _}from"./CKRTMNFR.js";import{b as I}from"./5RDOSP2E.js";import{D as u,e as S,u as L,v as M}from"./3ADX47DD.js";import"./NNVH7JUI.js";import{E as H,F as s,K as z,M as D,N as R,R as V,c as A,d as p,q as B}from"./BJZTU5BQ.js";var o={container:"container",actionBarContainer:"action-bar-container",contentContainer:"content-container",content:"content",contentHeader:"content__header",contentBody:"content__body",contentOverlay:"content--overlay",floatAll:"float-all",floatContent:"float--content",resizeHandle:"resize-handle",resizeHandleBar:"resize-handle-bar"},N={actionBar:"action-bar",header:"header"},U=A`:host{pointer-events:none;position:relative;display:flex;flex:0 1 auto;align-items:stretch;z-index:var(--calcite-shell-panel-z-index, var(--calcite-z-index));--calcite-shell-panel-max-height: unset;--calcite-internal-shell-panel-shadow-block-start: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-block-end: 0 -4px 8px -1px rgba(0, 0, 0, .08), 0 -2px 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-start: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04)}.calcite--rtl.content--overlay{--calcite-internal-shell-panel-shadow-inline-start: -4px 0 8px -1px rgba(0, 0, 0, .08), -2px 0 4px -1px rgba(0, 0, 0, .04);--calcite-internal-shell-panel-shadow-inline-end: 4px 0 8px -1px rgba(0, 0, 0, .08), 2px 0 4px -1px rgba(0, 0, 0, .04)}:host([layout=vertical]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index) + 1))}:host([layout=vertical][display-mode=overlay]){z-index:var(--calcite-shell-panel-z-index, calc(var(--calcite-z-index-header) + 1))}:host([layout=vertical][display-mode=float-all]) .content{flex:2}:host([layout=vertical]:not([display-mode=float-all])) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 300px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical][display-mode=float-all]) .width-s{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 12vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 150px)}:host([layout=vertical]:not([display-mode=float-all])) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 420px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical][display-mode=float-all]) .width-m{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 20vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 240px)}:host([layout=vertical]:not([display-mode=float-all])) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-max-width: var(--calcite-shell-panel-max-width, 680px);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=vertical][display-mode=float-all]) .width-l{--calcite-internal-shell-panel-width: var(--calcite-shell-panel-width, 45vw);--calcite-internal-shell-panel-min-width: var(--calcite-shell-panel-min-width, 340px)}:host([layout=horizontal]) .height-s{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 20vh) )}:host([layout=horizontal]) .content{--calcite-internal-shell-panel-min-height: var(--calcite-shell-panel-min-height, 5vh);--calcite-internal-shell-panel-max-height: var(--calcite-shell-panel-max-height, 30vh)}:host([layout=horizontal]) .height-l{--calcite-internal-shell-panel-max-height: var( --calcite-shell-panel-max-height, var(--calcite-shell-panel-detached-max-height, 40vh) )}.container{pointer-events:none;box-sizing:border-box;display:flex;block-size:100%;flex:1 1 auto;align-items:stretch;background-color:transparent;font-size:var(--calcite-font-size--1);color:var(--calcite-shell-panel-text-color, var(--calcite-color-text-2))}.container *{box-sizing:border-box}.container.float-all{margin-block:var(--calcite-spacing-sm);margin-inline:var(--calcite-spacing-sm)}.float-all{max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) );box-shadow:var(--calcite-shell-panel-shadow, var(--calcite-shadow-sm));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));overflow:hidden}:host([layout=vertical][position=start]) .float-all{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-panel-border-color, var(--calcite-color-border-3))}:host([layout=vertical][position=end]) .float-all{border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .float-all{border-inline:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-shell-panel-border-color, var(--calcite-color-border-3)))}:host([layout=horizontal]) .container{block-size:auto;inline-size:100%;flex-direction:column}.resize-handle{position:absolute;box-sizing:border-box;display:flex;-webkit-user-select:none;user-select:none;align-items:center;justify-content:center;outline:2px solid transparent;outline-offset:2px;--calcite-internal-shell-panel-resize-handle-offset: calc( (var(--calcite-size-fixed-xxl) - var(--calcite-size-fixed-sm-plus)) / 2 * -1 );z-index:var(--calcite-z-index-header)}.resize-handle:active .resize-handle-bar,.resize-handle:hover .resize-handle-bar{color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-text-1));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-foreground-3))}.resize-handle-bar{pointer-events:none;display:flex;align-items:center;justify-content:center;color:var(--calcite-shell-panel-resize-icon-color, var(--calcite-color-border-input));background-color:var(--calcite-shell-panel-resize-background-color, var(--calcite-color-background))}.resize-handle:focus .resize-handle-bar{outline-color:transparent;outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)))}:host([position=start][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-end:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=start][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=vertical]) .resize-handle{inline-size:var(--calcite-size-fixed-xxl);inset-inline-start:var(--calcite-internal-shell-panel-resize-handle-offset);block-size:100%}:host([position=end][layout=vertical]) .resize-handle-bar{block-size:100%;inline-size:var(--calcite-size-fixed-sm-plus);border-inline-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=vertical]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=start][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-end:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=start][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-start:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-end-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-end-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}:host([position=end][layout=horizontal]) .resize-handle{block-size:var(--calcite-size-fixed-xxl);inline-size:100%;inset-block-start:var(--calcite-internal-shell-panel-resize-handle-offset)}:host([position=end][layout=horizontal]) .resize-handle-bar{inline-size:100%;block-size:var(--calcite-size-fixed-sm-plus);border-block-end:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=end][layout=horizontal]):host([display-mode^=float]) .resize-handle-bar{border-start-start-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));border-start-end-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round))}::slotted(calcite-panel),::slotted(calcite-flow){block-size:100%;inline-size:100%;flex:1 1 auto;max-block-size:unset;max-inline-size:unset}::slotted(.calcite-match-height){display:flex;flex:1 1 auto;overflow:hidden}.action-bar-container{pointer-events:auto;box-sizing:border-box;display:flex;flex:1 1 auto}.content-container{position:relative;box-sizing:border-box;display:flex;block-size:100%;inline-size:100%;flex:1 1 auto;align-items:stretch;align-self:stretch}:host([layout=horizontal]) .action-bar-container,:host([layout=horizontal]) .content-container{flex-direction:column}.content{pointer-events:auto;position:relative;box-sizing:border-box;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;align-self:stretch;padding:0;background-color:var(--calcite-shell-panel-background-color, var(--calcite-color-background));transition:max-block-size var(--calcite-animation-timing),max-inline-size var(--calcite-animation-timing)}:host([layout=vertical]:not([display-mode=float-all])) .content{inline-size:var(--calcite-internal-shell-panel-width);max-inline-size:var(--calcite-internal-shell-panel-max-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=vertical][display-mode=float-all]) .content{inline-size:var(--calcite-internal-shell-panel-width);min-inline-size:var(--calcite-internal-shell-panel-min-width)}:host([layout=horizontal]) .content{block-size:var(--calcite-internal-shell-panel-height);max-block-size:var(--calcite-internal-shell-panel-max-height);min-block-size:var(--calcite-internal-shell-panel-min-height)}:host([resizable][layout=vertical][position=start]) .content{padding-inline-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=vertical][position=end]) .content{padding-inline-start:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=start]) .content{padding-block-end:var(--calcite-size-fixed-sm-plus)}:host([resizable][layout=horizontal][position=end]) .content{padding-block-start:var(--calcite-size-fixed-sm-plus)}.content__header{display:flex;flex:0 1 auto;flex-direction:column;flex-wrap:nowrap;align-items:stretch}.content__body{display:flex;flex:1 1 auto;flex-direction:column;overflow:hidden}.content--overlay{position:absolute;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow))}:host([layout=vertical]) .content--overlay{inset-block-start:0px;block-size:100%}:host([layout=horizontal]) .content--overlay{inset-inline-start:0px;inline-size:100%}:host([layout=vertical][position=start]) .content--overlay{inset-inline-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-start)}:host([layout=vertical][position=end]) .content--overlay{inset-inline-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-inline-end)}:host([layout=horizontal][position=start]) .content--overlay{inset-block-start:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-start)}:host([layout=horizontal][position=end]) .content--overlay{inset-block-end:100%;box-shadow:var(--calcite-internal-shell-panel-shadow-block-end)}.float--content{margin-block-end:auto;block-size:auto;overflow:hidden;--tw-shadow: 0 4px 8px -1px rgba(0, 0, 0, .08), 0 2px 4px -1px rgba(0, 0, 0, .04);--tw-shadow-colored: 0 4px 8px -1px var(--tw-shadow-color), 0 2px 4px -1px var(--tw-shadow-color);box-shadow:var(--calcite-shell-panel-shadow, var(--tw-ring-offset-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-ring-shadow, 0 0 rgba(0, 0, 0, 0)), var(--tw-shadow));border-radius:var(--calcite-shell-panel-corner-radius, var(--calcite-corner-radius-round));margin-inline:var(--calcite-spacing-sm);margin-block-start:var(--calcite-spacing-sm);max-block-size:var(--calcite-internal-shell-panel-max-height, calc(100% - 1rem) )}.float--content ::slotted(calcite-panel),.float--content ::slotted(calcite-flow){max-block-size:unset}:host([layout=horizontal]) .float--content{margin-block:var(--calcite-spacing-sm)}:host([position=start]) .float--content ::slotted(calcite-panel),:host([position=start]) .float--content ::slotted(calcite-flow),:host([position=end]) .float--content ::slotted(calcite-panel),:host([position=end]) .float--content ::slotted(calcite-flow){border-style:none}.content[hidden]{display:none}slot[name=action-bar]::slotted(calcite-action-bar),.content ::slotted(calcite-flow),.content ::slotted(calcite-panel:not([closed])){border:var(--calcite-border-width-sm) solid var(--calcite-shell-border-color, var(--calcite-color-border-3))}:host([position=start]:not([slot=panel-end])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-flow),:host([position=start]:not([slot=panel-end])) .content ::slotted(calcite-panel),:host([position=end][slot=panel-start]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end][slot=panel-start]) .content ::slotted(calcite-flow),:host([position=end][slot=panel-start]) .content ::slotted(calcite-panel){border-inline-start:none}:host([resizable][layout=vertical]) .content ::slotted(calcite-flow),:host([resizable][layout=vertical]) .content ::slotted(calcite-panel){border-inline-start:none;border-inline-end:none}:host([resizable][layout=horizontal]) .content ::slotted(calcite-flow),:host([resizable][layout=horizontal]) .content ::slotted(calcite-panel){border-block-start:none;border-block-end:none}:host([position=end]:not([slot=panel-start])) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-flow),:host([position=end]:not([slot=panel-start])) .content ::slotted(calcite-panel),:host([position=start][slot=panel-end]) slot[name=action-bar]::slotted(calcite-action-bar),:host([position=start][slot=panel-end]) .content ::slotted(calcite-flow),:host([position=start][slot=panel-end]) .content ::slotted(calcite-panel){border-inline-end:none}:host([layout=horizontal]) slot[name=action-bar]::slotted(calcite-action-bar){border-inline:0}:host([layout=horizontal][position=start]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=start]) .content ::slotted(calcite-panel){border-inline:0;border-block-start:0}:host([layout=horizontal][position=end]) .content ::slotted(calcite-flow),:host([layout=horizontal][position=end]) .content ::slotted(calcite-panel){border-inline:0;border-block-end:0}:host([hidden]){display:none}[hidden]{display:none}`,E=class extends H{constructor(){super(...arguments),this.actionBars=[],this.messages=_(),this.resizeValues={inlineSize:null,blockSize:null,minInlineSize:null,minBlockSize:null,maxInlineSize:null,maxBlockSize:null},this.hasHeader=!1,this.collapsed=!1,this.displayMode="dock",this.layout="vertical",this.position="start",this.resizable=!1,this.widthScale="m",this.calciteInternalShellPanelResizeEnd=B({cancelable:!1}),this.calciteInternalShellPanelResizeStart=B({cancelable:!1})}static{this.properties={resizeValues:[16,{},{state:!0}],hasHeader:[16,{},{state:!0}],collapsed:[7,{},{reflect:!0,type:Boolean}],displayMode:[3,{},{reflect:!0}],heightScale:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],position:[3,{},{reflect:!0}],resizable:[7,{},{reflect:!0,type:Boolean}],height:[3,{},{reflect:!0}],widthScale:[3,{},{reflect:!0}],width:[3,{},{reflect:!0}]}}static{this.styles=U}willUpdate(e){e.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.setActionBarsLayout(this.actionBars)}disconnectedCallback(){super.disconnectedCallback(),this.cleanupInteractions()}getContentElDOMRect(){return this.contentEl.getBoundingClientRect()}handleKeyDown(e){let{key:l,defaultPrevented:r,shiftKey:a}=e,{position:i,layout:t,resizable:n,contentEl:c,el:x,resizeValues:{maxBlockSize:m,maxInlineSize:y,minBlockSize:v,minInlineSize:g}}=this,k=[...t==="horizontal"?["ArrowUp","ArrowDown"]:["ArrowLeft","ArrowRight"],"Home","End"];if(!n||!c||r||!k.includes(l))return;let h=this.getContentElDOMRect(),f=S(x)==="rtl"?-1:1,d=a?R:D;switch(l){case"ArrowUp":this.updateSize({size:h.height+(t==="horizontal"&&i==="end"?d:-d),type:"blockSize"}),e.preventDefault();break;case"ArrowDown":this.updateSize({size:h.height+(t==="horizontal"&&i==="end"?-d:d),type:"blockSize"}),e.preventDefault();break;case"ArrowLeft":this.updateSize({size:h.width+(t==="vertical"&&i==="end"?d:-d)*f,type:"inlineSize"}),e.preventDefault();break;case"ArrowRight":this.updateSize({size:h.width+(t==="vertical"&&i==="end"?-d:d)*f,type:"inlineSize"}),e.preventDefault();break;case"Home":this.updateSize({size:t==="horizontal"?v:g,type:t==="horizontal"?"blockSize":"inlineSize"}),e.preventDefault();break;case"End":this.updateSize({size:t==="horizontal"?m:y,type:t==="horizontal"?"blockSize":"inlineSize"}),e.preventDefault();break}}updateSize({type:e,size:l}){let{contentEl:r,resizeValues:a}=this;if(!r)return;let i=e==="blockSize"?"minBlockSize":"minInlineSize",t=e==="blockSize"?"maxBlockSize":"maxInlineSize",n=a[i]&&a[t]?O(l,a[i],a[t]):l,c=Math.round(n);this.resizeValues={...a,[e]:c},r.style[e]=l!==null?`${c}px`:null}cleanupInteractions(){this.interaction?.unset(),this.updateSize({size:null,type:"inlineSize"}),this.updateSize({size:null,type:"blockSize"})}async setupInteractions(){this.cleanupInteractions();let{el:e,contentEl:l,resizable:r,position:a,collapsed:i,resizeHandleEl:t,layout:n}=this;if(!l||i||!r||!t)return;await this.el.componentOnReady();let{inlineSize:c,minInlineSize:x,blockSize:m,minBlockSize:y,maxInlineSize:v,maxBlockSize:g}=window.getComputedStyle(l),b={inlineSize:u(c),blockSize:u(m),minInlineSize:u(x),minBlockSize:u(y),maxInlineSize:u(v)||window.innerWidth,maxBlockSize:u(g)||window.innerHeight};this.resizeValues=b;let k=S(e)==="rtl";this.interaction=$(l,{context:e.ownerDocument}).resizable({edges:{top:a==="end"&&n==="horizontal"?t:!1,right:a===(k?"end":"start")&&n==="vertical"?t:!1,bottom:a==="start"&&n==="horizontal"?t:!1,left:a===(k?"start":"end")&&n==="vertical"?t:!1},modifiers:[$.modifiers.restrictSize({min:{width:b.minInlineSize,height:b.minBlockSize},max:{width:b.maxInlineSize,height:b.maxBlockSize}})],listeners:{resizestart:()=>{this.calciteInternalShellPanelResizeStart.emit()},resizeend:()=>{this.calciteInternalShellPanelResizeEnd.emit()},move:({rect:h})=>{let f=n==="horizontal";this.updateSize({size:f?h.height:h.width,type:f?"blockSize":"inlineSize"})}}})}storeContentEl(e){this.contentEl=e}setResizeHandleEl(e){this.resizeHandleEl=e,this.setupInteractions()}setActionBarsLayout(e){e.forEach(l=>l.layout=this.layout)}handleActionBarSlotChange(e){let l=M(e).filter(r=>r?.matches("calcite-action-bar"));this.actionBars=l,this.setActionBarsLayout(l)}handleHeaderSlotChange(e){this.hasHeader=L(e)}getResizeIcon(){let{layout:e}=this;return e==="horizontal"?"drag-resize-vertical":"drag-resize-horizontal"}renderHeader(){return w("header",p`<div class=${s(o.contentHeader)} .hidden=${!this.hasHeader}><slot name=${N.header} @slotchange=${this.handleHeaderSlotChange}></slot></div>`)}render(){let{collapsed:e,position:l,resizable:r,layout:a,displayMode:i,resizeValues:t}=this,n=S(this.el),c=!e&&r?w("resize-handle",p`<div .ariaLabel=${this.messages.resize} .ariaOrientation=${a==="horizontal"?"vertical":"horizontal"} .ariaValueMax=${a=="horizontal"?t.maxBlockSize:t.maxInlineSize} .ariaValueMin=${a=="horizontal"?t.minBlockSize:t.minInlineSize} .ariaValueNow=${a=="horizontal"?t.blockSize:t.inlineSize} class=${s(o.resizeHandle)} @keydown=${this.handleKeyDown} role=separator tabindex=0 touch-action=none ${I(this.setResizeHandleEl)}><div class=${s(o.resizeHandleBar)}><calcite-icon .icon=${this.getResizeIcon()} scale=s></calcite-icon></div></div>`):null,x=()=>a==="horizontal"?l==="start"?z.calciteAnimateInDown:z.calciteAnimateInUp:n==="ltr"&&l==="end"||n==="rtl"&&l==="start"?z.calciteAnimateInLeft:z.calciteAnimateInRight,m=p`<div class=${s(o.contentContainer)}>${w("content",p`<div class=${s({[z.rtl]:n==="rtl",[o.content]:!0,[o.contentOverlay]:i==="overlay",[o.floatContent]:i==="float-content"||i==="float",[z.calciteAnimate]:i==="overlay",[x()]:i==="overlay",[C("width",this.width,this.widthScale)]:!!(this.width||this.widthScale),[C("height",this.height,this.heightScale)]:!!(this.height||this.heightScale)})} .hidden=${e} ${I(this.storeContentEl)}>${this.renderHeader()}<div class=${s(o.contentBody)}><slot></slot></div>${c}</div>`)}</div>`,v=[w("action-bar-container",p`<div class=${s(o.actionBarContainer)}><slot name=${N.actionBar} @slotchange=${this.handleActionBarSlotChange}></slot></div>`),m];return l==="end"&&v.reverse(),p`<div class=${s({[o.container]:!0,[o.floatAll]:i==="float-all"})}>${v}</div>`}};V("calcite-shell-panel",E);export{E as ShellPanel};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{a as S}from"./LC6DJODI.js";import{a as N}from"./3SKYNMLV.js";import{E as P,F as f,H as l,R as X,c as C,d as w,e as d}from"./RLDQAG62.js";function H(n,e,r){let s=e[0]-n[0],o=r[0]-e[0],c=e[1]-n[1],h=r[1]-e[1],a=c/(s||o<0&&0),i=h/(o||s<0&&0),t=(a*o+i*s)/(s+o);return(Math.sign(a)+Math.sign(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(t))||0}function O(n,e,r){let s=e[0]-n[0],o=e[1]-n[1];return s?(3*o/s-r)/2:r}function Y(n,e,r,s,o){let[c,h]=n,[a,i]=e,t=(a-c)/3,$=o([c+t,h+t*r]).join(","),g=o([a-t,i-t*s]).join(","),m=o([a,i]).join(",");return`C ${$} ${g} ${m}`}function A({width:n,height:e,min:r,max:s}){let o=s[0]-r[0],c=s[1]-r[1];return h=>{let a=(h[0]-r[0])/o*n,i=e-(h[1]-r[1])/c*e;return[a,i]}}function B(n){let[e,r]=n[0],s=[e,r],o=[e,r];return n.reduce(({min:c,max:h},[a,i])=>({min:[Math.min(c[0],a),Math.min(c[1],i)],max:[Math.max(h[0],a),Math.max(h[1],i)]}),{min:s,max:o})}function E({data:n,min:e,max:r,t:s}){if(n.length===0)return"";let[o,c]=s(n[0]),[h,a]=s(e),[i]=s(r),t,$,g,m=n.reduce((v,M,p)=>{if($=n[p-2],g=n[p-1],p>1){let u=H($,g,M),b=t===void 0?O($,g,u):t,L=Y($,g,b,u,s);return t=u,`${v} ${L}`}return v},`M ${h},${a} L ${h},${c} L ${o},${c}`),k=n[n.length-1],x=Y(g,k,t,O(g,k,t),s);return`${m} ${x} L ${i},${a} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,y={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${N()}`,this.resizeObserver=S("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:[0,{},{attribute:!1}],data:[0,{},{attribute:!1}],highlightMax:[9,{},{type:Number}],highlightMin:[9,{},{type:Number}],max:[11,{},{reflect:!0,type:Number}],min:[11,{},{reflect:!0,type:Number}]}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:e,colorStops:r,el:s,highlightMax:o,highlightMin:c,min:h,max:a}=this,i=this.graphId,{clientHeight:t,clientWidth:$}=s;if(!e||e.length===0)return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}></svg>`;let{min:g,max:m}=B(e),k=g,x=m;(h<g[0]||h>g[0])&&(k=[h,0]),(a>m[0]||a<m[0])&&(x=[a,m[1]]);let v=A({min:k,max:x,width:$,height:t}),[M]=v([c,x[1]]),[p]=v([o,x[1]]),u=E({data:e,min:g,max:m,t:v}),b=r?`url(#linear-gradient-${i})`:void 0;return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}>${r?d`<defs><linearGradient .id=${`linear-gradient-${i}`} x1=0 x2=1 y1=0 y2=0>${r.map(({offset:L,color:Z,opacity:j})=>d`<stop offset=${`${L*100}%`} stop-color=${Z??l} stop-opacity=${j??l} />`)}</linearGradient></defs>`:null}${c!==void 0?[d`<mask height=100% .id=${`${i}1`} width=100% x=0% y=0%><path d=${`
3
+ v3.2.1 */
4
+ import{a as S}from"./M7EAHGE3.js";import{a as N}from"./NNVH7JUI.js";import{E as P,F as f,H as l,R as X,c as C,d as w,e as d}from"./BJZTU5BQ.js";function H(n,e,r){let s=e[0]-n[0],o=r[0]-e[0],c=e[1]-n[1],h=r[1]-e[1],a=c/(s||o<0&&0),i=h/(o||s<0&&0),t=(a*o+i*s)/(s+o);return(Math.sign(a)+Math.sign(i))*Math.min(Math.abs(a),Math.abs(i),.5*Math.abs(t))||0}function O(n,e,r){let s=e[0]-n[0],o=e[1]-n[1];return s?(3*o/s-r)/2:r}function Y(n,e,r,s,o){let[c,h]=n,[a,i]=e,t=(a-c)/3,$=o([c+t,h+t*r]).join(","),g=o([a-t,i-t*s]).join(","),m=o([a,i]).join(",");return`C ${$} ${g} ${m}`}function A({width:n,height:e,min:r,max:s}){let o=s[0]-r[0],c=s[1]-r[1];return h=>{let a=(h[0]-r[0])/o*n,i=e-(h[1]-r[1])/c*e;return[a,i]}}function B(n){let[e,r]=n[0],s=[e,r],o=[e,r];return n.reduce(({min:c,max:h},[a,i])=>({min:[Math.min(c[0],a),Math.min(c[1],i)],max:[Math.max(h[0],a),Math.max(h[1],i)]}),{min:s,max:o})}function E({data:n,min:e,max:r,t:s}){if(n.length===0)return"";let[o,c]=s(n[0]),[h,a]=s(e),[i]=s(r),t,$,g,m=n.reduce((v,M,p)=>{if($=n[p-2],g=n[p-1],p>1){let u=H($,g,M),b=t===void 0?O($,g,u):t,L=Y($,g,b,u,s);return t=u,`${v} ${L}`}return v},`M ${h},${a} L ${h},${c} L ${o},${c}`),k=n[n.length-1],x=Y(g,k,t,O(g,k,t),s);return`${m} ${x} L ${i},${a} Z`}var I=C`:host{display:block;block-size:100%}.svg{fill:currentColor;stroke:transparent;margin:0;display:block;block-size:100%;inline-size:100%;padding:0}.svg .graph-path--highlight{fill:var(--calcite-graph-highlight-fill-color, var(--calcite-color-brand));opacity:.5}:host([hidden]){display:none}[hidden]{display:none}`,y={svg:"svg",graphPath:"graph-path",graphPathHighlight:"graph-path--highlight"},z=class extends P{constructor(){super(...arguments),this.graphId=`calcite-graph-${N()}`,this.resizeObserver=S("resize",()=>this.requestUpdate()),this.data=[]}static{this.properties={colorStops:[0,{},{attribute:!1}],data:[0,{},{attribute:!1}],highlightMax:[9,{},{type:Number}],highlightMin:[9,{},{type:Number}],max:[11,{},{reflect:!0,type:Number}],min:[11,{},{reflect:!0,type:Number}]}}static{this.styles=I}connectedCallback(){super.connectedCallback(),this.resizeObserver?.observe(this.el)}disconnectedCallback(){super.disconnectedCallback(),this.resizeObserver?.disconnect()}render(){let{data:e,colorStops:r,el:s,highlightMax:o,highlightMin:c,min:h,max:a}=this,i=this.graphId,{clientHeight:t,clientWidth:$}=s;if(!e||e.length===0)return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}></svg>`;let{min:g,max:m}=B(e),k=g,x=m;(h<g[0]||h>g[0])&&(k=[h,0]),(a>m[0]||a<m[0])&&(x=[a,m[1]]);let v=A({min:k,max:x,width:$,height:t}),[M]=v([c,x[1]]),[p]=v([o,x[1]]),u=E({data:e,min:g,max:m,t:v}),b=r?`url(#linear-gradient-${i})`:void 0;return w`<svg aria-hidden=true class=${f(y.svg)} height=${t??l} preserveAspectRatio=none viewBox=${`0 0 ${$} ${t}`} width=${$??l}>${r?d`<defs><linearGradient .id=${`linear-gradient-${i}`} x1=0 x2=1 y1=0 y2=0>${r.map(({offset:L,color:Z,opacity:j})=>d`<stop offset=${`${L*100}%`} stop-color=${Z??l} stop-opacity=${j??l} />`)}</linearGradient></defs>`:null}${c!==void 0?[d`<mask height=100% .id=${`${i}1`} width=100% x=0% y=0%><path d=${`
5
5
  M 0,0
6
6
  L ${M-1},0
7
7
  L ${M-1},${t}
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{S as w,a as b,b as C,j as _,k as P,l as u,m,n as O,o as f,p as v,r as g}from"./RLDQAG62.js";var L=e=>(...o)=>{let t=m(),r=new e(...o),s=r.exports;u(t.at(-1));let n=r.component.manager;n._markExports(r,s),r.watchExports(a=>n._markExports(r,a)),O(r);let i=[r.component,...t].reverse();return v(i,a=>a===void 0?void 0:V(r,a,s),s)};function V(e,{host:o,key:t,isReactive:r},s){let n=o,i=n[t]!==e.exports,a=n[t]!==s,c=s!==e.exports;if(i&&!a&&c&&(n[t]=e.exports),o===e.component){if(r){let p=e.component.manager;a&&p._markExports(e,n[t]),e.onUpdate(h=>{if(h.has(t)){let E=n[t];E!==e.exports&&p._markExports(e,E)}})}e.assignedProperty=r?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})}var M=e=>N(void 0,e),ee=e=>o=>N(o,e),x=class extends g{constructor(o,t){super(o);let r=this.exports;try{P(this.component);let s=t(this.component,this),n=this.exports!==r;if(_(s)){n||this.setProvisionalExports(s);let i=s.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},N=L(x),te=(e,o)=>new y(e,o),y=class extends g{constructor(o,t){super(),this._attributes=o,this._callback=t,!!1&&(this._observer=new MutationObserver(r=>{r.forEach(s=>{o.includes(s.attributeName)&&t.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})}))}hostConnected(){this._attributes.forEach(o=>{this.component.el.hasAttribute(o)&&this._callback.call(this.component,null,this.component.el.getAttribute(o),o)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var k=e=>(o={})=>M((t,r)=>{let s=b(t.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>C(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};r.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),a(i.messageOverrides)},o.name));function a(c){let l=r.exports,d=l._original??l,p=A(d,c);c&&(p._original=d),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&a(i.messageOverrides)}),o.blocking?(r.setProvisionalExports(n,!1),r.ready):n});function A(e,o){if(!o)return e;let t={...e};return Object.entries(o).forEach(([r,s])=>{typeof s=="object"?t[r]=A(e[r],s):t[r]=s??e[r]}),t}var ne=k(w);export{ee as a,te as b,ne as c};
3
+ v3.2.1 */
4
+ import{S as w,a as b,b as C,j as _,k as P,l as u,m,n as O,o as f,p as v,r as g}from"./BJZTU5BQ.js";var L=e=>(...o)=>{let t=m(),r=new e(...o),s=r.exports;u(t.at(-1));let n=r.component.manager;n._markExports(r,s),r.watchExports(a=>n._markExports(r,a)),O(r);let i=[r.component,...t].reverse();return v(i,a=>a===void 0?void 0:V(r,a,s),s)};function V(e,{host:o,key:t,isReactive:r},s){let n=o,i=n[t]!==e.exports,a=n[t]!==s,c=s!==e.exports;if(i&&!a&&c&&(n[t]=e.exports),o===e.component){if(r){let p=e.component.manager;a&&p._markExports(e,n[t]),e.onUpdate(h=>{if(h.has(t)){let E=n[t];E!==e.exports&&p._markExports(e,E)}})}e.assignedProperty=r?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(d?f(()=>{n[t]=e.exports}):n[t]=e.exports)})}var M=e=>N(void 0,e),ee=e=>o=>N(o,e),x=class extends g{constructor(o,t){super(o);let r=this.exports;try{P(this.component);let s=t(this.component,this),n=this.exports!==r;if(_(s)){n||this.setProvisionalExports(s);let i=s.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},N=L(x),te=(e,o)=>new y(e,o),y=class extends g{constructor(o,t){super(),this._attributes=o,this._callback=t,!!1&&(this._observer=new MutationObserver(r=>{r.forEach(s=>{o.includes(s.attributeName)&&t.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})}))}hostConnected(){this._attributes.forEach(o=>{this.component.el.hasAttribute(o)&&this._callback.call(this.component,null,this.component.el.getAttribute(o),o)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var re=e=>(...o)=>{let t=m(),r=new e(...o);return u(t.at(-1)),r};var k=e=>(o={})=>M((t,r)=>{let s=b(t.el),n={_lang:s.lang,_t9nLocale:s.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>C(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};r.exports=p;let h=l.componentLabel;typeof h=="string"&&"label"in t&&t.label==null&&(t.label??=h),a(i.messageOverrides)},o.name));function a(c){let l=r.exports,d=l._original??l,p=A(d,c);c&&(p._original=d),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&a(i.messageOverrides)}),o.blocking?(r.setProvisionalExports(n,!1),r.ready):n});function A(e,o){if(!o)return e;let t={...e};return Object.entries(o).forEach(([r,s])=>{typeof s=="object"?t[r]=A(e[r],s):t[r]=s??e[r]}),t}var ae=k(w);export{ee as a,te as b,re as c,ae as d};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{a as M}from"./JC25IFZJ.js";import{c as x,e as S,f as A,h as D}from"./74SL7MJL.js";import{c as C,d as k}from"./UJPFVFWD.js";import{a as w,b as I}from"./PCCURG2N.js";import"./YV2UI5WA.js";import{e as v,v as y}from"./KM6TLQGF.js";import{d as b}from"./L6WXEDTA.js";import"./RDYIWF5B.js";import"./3SKYNMLV.js";import{E as p,F as f,J as u,R as g,c as h,d as c,q as m}from"./RLDQAG62.js";var $={itemWrapper:"item-wrapper"},E={validationMessage:"segmentedControlValidationMessage"},z=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:fit-content;outline:1px solid var(--calcite-segmented-control-border-color, var(--calcite-color-border-input));outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.items=[],this.appearance="solid",this.disabled=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSegmentedControlChange=m({cancelable:!1}),this.listen("calciteInternalSegmentedControlItemChange",this.handleSelected),this.listen("keydown",this.handleKeyDown),this.listen("click",this.handleClick)}static{this.properties={appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedItem:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:u},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,width:[3,{},{reflect:!0}]}}static{this.styles=z}async setFocus(){await b(this),(this.selectedItem||this.items[0])?.focus()}connectedCallback(){super.connectedCallback(),C(this),x(this)}willUpdate(e){(e.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.handleItemPropChange(),e.has("value")&&(this.hasUpdated||this.value!==null)&&this.valueHandler(this.value),e.has("selectedItem")&&this.handleSelectedItemChange(this.selectedItem,e.get("selectedItem"))}updated(){w(this)}loaded(){A(this,this.value)}disconnectedCallback(){super.disconnectedCallback(),k(this),S(this)}valueHandler(e){let{items:t}=this;t.forEach(a=>a.checked=a.value===e)}handleSelectedItemChange(e,t){if(this.value=e?.value,e===t)return;let{items:a}=this,s=a.filter(i=>i===e).pop();s?this.selectItem(s):a[0]&&(a[0].tabIndex=0)}handleClick(e){this.disabled||e.target.localName==="calcite-segmented-control-item"&&this.selectItem(e.target,!0)}handleSelected(e){e.preventDefault();let t=e.target;t.checked&&this.selectItem(t),e.stopPropagation()}handleKeyDown(e){let t=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:a}=e,{el:s,selectedItem:i}=this;if(t.indexOf(a)===-1)return;let l=a;v(s)==="rtl"&&(a==="ArrowRight"&&(l="ArrowLeft"),a==="ArrowLeft"&&(l="ArrowRight"));let{items:o}=this,n=-1;switch(o.forEach((r,L)=>{r===i&&(n=L)}),l){case"ArrowLeft":case"ArrowUp":{e.preventDefault();let r=n<1?o[o.length-1]:o[n-1];this.selectItem(r,!0);return}case"ArrowRight":case"ArrowDown":{e.preventDefault();let r=n===-1?o[1]:o[n+1]||o[0];this.selectItem(r,!0);return}case" ":e.preventDefault(),this.selectItem(e.target,!0);return;default:return}}handleItemPropChange(){let{items:e}=this;e.forEach(t=>{t.appearance=this.appearance,t.layout=this.layout,t.scale=this.scale})}handleSelectedItem(){let{items:e}=this,t=e.filter(a=>a.checked).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}async handleDefaultSlotChange(e){let t=y(e).filter(a=>a.matches("calcite-segmented-control-item"));await Promise.all(t.map(a=>a.componentOnReady())),this.items=t,this.handleSelectedItem(),this.handleItemPropChange()}onLabelClick(){this.setFocus()}async selectItem(e,t=!1){if(e===this.selectedItem)return;let{items:a}=this,s=null;a.forEach(i=>{let l=i===e;(l&&!i.checked||!l&&i.checked)&&(i.checked=l),i.tabIndex=l?0:-1,l&&(s=i)}),this.selectedItem=s,s&&t&&(await this.updateComplete,this.calciteSegmentedControlChange.emit()),!!1&&s&&s.focus()}render(){return this.el.role="radiogroup",c`<div aria-errormessage=${E.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${f($.itemWrapper)}>${I({disabled:this.disabled,children:c`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${D({component:this})}`})}</div>${this.validationMessage&&this.status==="invalid"?M({icon:this.validationIcon,id:E.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};g("calcite-segmented-control",d);export{d as SegmentedControl};
3
+ v3.2.1 */
4
+ import{a as M}from"./FN45KTPK.js";import{c as x,e as S,f as A,h as D}from"./ZAT242GT.js";import{c as C,d as k}from"./JSDTVKI3.js";import{a as w,b as I}from"./BVJFCLMH.js";import"./5RDOSP2E.js";import{e as v,v as y}from"./3ADX47DD.js";import{d as b}from"./HPN2C7M6.js";import"./JOSABGK6.js";import"./NNVH7JUI.js";import{E as p,F as f,J as u,R as g,c as h,d as c,q as m}from"./BJZTU5BQ.js";var $={itemWrapper:"item-wrapper"},E={validationMessage:"segmentedControlValidationMessage"},z=h`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host{display:flex;flex-direction:column}.item-wrapper{display:flex;background-color:var(--calcite-color-foreground-1);inline-size:fit-content;outline:1px solid var(--calcite-segmented-control-border-color, var(--calcite-color-border-input));outline-offset:-1px}:host([appearance=outline])>.item-wrapper{background-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}:host([layout=vertical])>.item-wrapper{flex-direction:column;align-items:flex-start;align-self:flex-start}:host([width=full])>.item-wrapper{inline-size:100%;min-inline-size:fit-content}:host([width=full])>.item-wrapper ::slotted(calcite-segmented-control-item){flex:1 1 auto}:host([width=full][layout=vertical])>.item-wrapper ::slotted(calcite-segmented-control-item){justify-content:flex-start}.validation-container{display:flex;flex-direction:column;align-items:flex-start;align-self:stretch}:host([scale=m]) .validation-container,:host([scale=l]) .validation-container{padding-block-start:.5rem}:host([scale=s]) .validation-container{padding-block-start:.25rem}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,d=class extends p{constructor(){super(),this.items=[],this.appearance="solid",this.disabled=!1,this.layout="horizontal",this.required=!1,this.scale="m",this.status="idle",this.validity={valid:!1,badInput:!1,customError:!1,patternMismatch:!1,rangeOverflow:!1,rangeUnderflow:!1,stepMismatch:!1,tooLong:!1,tooShort:!1,typeMismatch:!1,valueMissing:!1},this.value=null,this.width="auto",this.calciteSegmentedControlChange=m({cancelable:!1}),this.listen("calciteInternalSegmentedControlItemChange",this.handleSelected),this.listen("keydown",this.handleKeyDown),this.listen("click",this.handleClick)}static{this.properties={appearance:[3,{},{reflect:!0}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],layout:[3,{},{reflect:!0}],name:[3,{},{reflect:!0}],required:[7,{},{reflect:!0,type:Boolean}],scale:[3,{},{reflect:!0}],selectedItem:[0,{},{attribute:!1}],status:[3,{},{reflect:!0}],validationIcon:[3,{converter:u},{reflect:!0}],validationMessage:1,validity:[0,{},{attribute:!1}],value:1,width:[3,{},{reflect:!0}]}}static{this.styles=z}async setFocus(){await b(this),(this.selectedItem||this.items[0])?.focus()}connectedCallback(){super.connectedCallback(),C(this),x(this)}willUpdate(e){(e.has("appearance")&&(this.hasUpdated||this.appearance!=="solid")||e.has("layout")&&(this.hasUpdated||this.layout!=="horizontal")||e.has("scale")&&(this.hasUpdated||this.scale!=="m"))&&this.handleItemPropChange(),e.has("value")&&(this.hasUpdated||this.value!==null)&&this.valueHandler(this.value),e.has("selectedItem")&&this.handleSelectedItemChange(this.selectedItem,e.get("selectedItem"))}updated(){w(this)}loaded(){A(this,this.value)}disconnectedCallback(){super.disconnectedCallback(),k(this),S(this)}valueHandler(e){let{items:t}=this;t.forEach(a=>a.checked=a.value===e)}handleSelectedItemChange(e,t){if(this.value=e?.value,e===t)return;let{items:a}=this,s=a.filter(i=>i===e).pop();s?this.selectItem(s):a[0]&&(a[0].tabIndex=0)}handleClick(e){this.disabled||e.target.localName==="calcite-segmented-control-item"&&this.selectItem(e.target,!0)}handleSelected(e){e.preventDefault();let t=e.target;t.checked&&this.selectItem(t),e.stopPropagation()}handleKeyDown(e){let t=["ArrowLeft","ArrowUp","ArrowRight","ArrowDown"," "],{key:a}=e,{el:s,selectedItem:i}=this;if(t.indexOf(a)===-1)return;let l=a;v(s)==="rtl"&&(a==="ArrowRight"&&(l="ArrowLeft"),a==="ArrowLeft"&&(l="ArrowRight"));let{items:o}=this,n=-1;switch(o.forEach((r,L)=>{r===i&&(n=L)}),l){case"ArrowLeft":case"ArrowUp":{e.preventDefault();let r=n<1?o[o.length-1]:o[n-1];this.selectItem(r,!0);return}case"ArrowRight":case"ArrowDown":{e.preventDefault();let r=n===-1?o[1]:o[n+1]||o[0];this.selectItem(r,!0);return}case" ":e.preventDefault(),this.selectItem(e.target,!0);return;default:return}}handleItemPropChange(){let{items:e}=this;e.forEach(t=>{t.appearance=this.appearance,t.layout=this.layout,t.scale=this.scale})}handleSelectedItem(){let{items:e}=this,t=e.filter(a=>a.checked).pop();t?this.selectItem(t):e[0]&&(e[0].tabIndex=0)}async handleDefaultSlotChange(e){let t=y(e).filter(a=>a.matches("calcite-segmented-control-item"));await Promise.all(t.map(a=>a.componentOnReady())),this.items=t,this.handleSelectedItem(),this.handleItemPropChange()}onLabelClick(){this.setFocus()}async selectItem(e,t=!1){if(e===this.selectedItem)return;let{items:a}=this,s=null;a.forEach(i=>{let l=i===e;(l&&!i.checked||!l&&i.checked)&&(i.checked=l),i.tabIndex=l?0:-1,l&&(s=i)}),this.selectedItem=s,s&&t&&(await this.updateComplete,this.calciteSegmentedControlChange.emit()),!!1&&s&&s.focus()}render(){return this.el.role="radiogroup",c`<div aria-errormessage=${E.validationMessage} .ariaInvalid=${this.status==="invalid"} class=${f($.itemWrapper)}>${I({disabled:this.disabled,children:c`<slot @slotchange=${this.handleDefaultSlotChange}></slot>${D({component:this})}`})}</div>${this.validationMessage&&this.status==="invalid"?M({icon:this.validationIcon,id:E.validationMessage,message:this.validationMessage,scale:this.scale,status:this.status}):null}`}};g("calcite-segmented-control",d);export{d as SegmentedControl};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
3
+ v3.2.1 */
4
4
  var r=["date","datetime-local","month","number","range","time","week"],x=["email","password","search","tel","text","url"],u=["email","password","search","tel","text","textarea","url"];function a(e,n,t,c){let s=t.toLowerCase(),i=e[t];c&&i!=null?n.setAttribute(s,`${i}`):n.removeAttribute(s)}function m(e,n,t){t.type=e==="textarea"?"text":e;let c=r.includes(e),s=n;a(s,t,"min",c),a(s,t,"max",c),a(s,t,"step",c);let i=u.includes(e),o=n;a(o,t,"minLength",i),a(o,t,"maxLength",i);let l=x.includes(e);a(o,t,"pattern",l)}export{m as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright ESRI, All Rights Reserved, unless otherwise specified.
2
2
  See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
3
- v3.2.1-next.0 */
4
- import{c as f,e as g,h as w}from"./74SL7MJL.js";import{c as u,d as k,e as v}from"./UJPFVFWD.js";import{a as b,b as p}from"./PCCURG2N.js";import{a as m}from"./Y4KRSQNS.js";import{b as l}from"./YV2UI5WA.js";import{l as d}from"./KM6TLQGF.js";import{d as h}from"./L6WXEDTA.js";import"./RDYIWF5B.js";import"./3SKYNMLV.js";import{E as s,F as t,R as n,c as o,d as a,q as r}from"./RLDQAG62.js";var i={container:"container",track:"track",handle:"handle"},y=o`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:.75rem}:host([scale=s]) .track{block-size:.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:.5rem;inline-size:.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:.75rem;inline-size:.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;vertical-align:top;outline-color:transparent;border-radius:var(--calcite-switch-corner-radius, 9999px);border-color:var(--calcite-switch-border-color);background-color:var(--calcite-switch-background-color, var(--calcite-color-border-input))}.container:focus .track{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container:hover .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-text-3))}.handle{pointer-events:none;position:absolute;display:block;transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-block-start:var(--calcite-spacing-base);inset-inline:var(--calcite-spacing-base) auto;background-color:var(--calcite-switch-handle-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-switch-handle-border-color);border-radius:var(--calcite-switch-corner-radius, 9999px);box-shadow:var(--calcite-switch-handle-shadow)}:host([checked]) .track{background-color:var(--calcite-switch-background-color, var(--calcite-color-brand))}:host([checked]) .handle{inset-inline:auto var(--calcite-spacing-base)}:host([checked]):host(:hover:not([disabled])) .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-brand-hover))}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends s{constructor(){super(),this.checked=!1,this.disabled=!1,this.scale="m",this.calciteSwitchChange=r({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],label:1,name:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],value:1}}static{this.styles=y}async setFocus(){await h(this),d(this.switchEl)}connectedCallback(){super.connectedCallback(),u(this),f(this)}updated(){b(this)}disconnectedCallback(){super.disconnectedCallback(),k(this),g(this)}syncHiddenFormInput(e){e.type="checkbox"}keyDownHandler(e){!this.disabled&&m(e.key)&&(this.toggle(),e.preventDefault())}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}clickHandler(){this.disabled||this.toggle()}setSwitchEl(e){this.switchEl=e}render(){return p({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${v(this)} class=${t(i.container)} role=switch tabindex=0 ${l(this.setSwitchEl)}><div class=${t(i.track)}><div class=${t(i.handle)}></div></div>${w({component:this})}</div>`})}};n("calcite-switch",c);export{c as Switch};
3
+ v3.2.1 */
4
+ import{c as f,e as g,h as w}from"./ZAT242GT.js";import{c as u,d as k,e as v}from"./JSDTVKI3.js";import{a as b,b as p}from"./BVJFCLMH.js";import{a as m}from"./3FSOG4LN.js";import{b as l}from"./5RDOSP2E.js";import{l as d}from"./3ADX47DD.js";import{d as h}from"./HPN2C7M6.js";import"./JOSABGK6.js";import"./NNVH7JUI.js";import{E as s,F as t,R as n,c as o,d as a,q as r}from"./BJZTU5BQ.js";var i={container:"container",track:"track",handle:"handle"},y=o`:host([disabled]){cursor:default;-webkit-user-select:none;user-select:none;opacity:var(--calcite-opacity-disabled)}:host([disabled]) *,:host([disabled]) ::slotted(*){pointer-events:none}:host([scale=s]) .container{block-size:.75rem}:host([scale=s]) .track{block-size:.75rem;inline-size:1.5rem}:host([scale=s]) .handle{block-size:.5rem;inline-size:.5rem}:host([scale=m]) .container{block-size:1rem}:host([scale=m]) .track{block-size:1rem;inline-size:2rem}:host([scale=m]) .handle{block-size:.75rem;inline-size:.75rem}:host([scale=l]) .container{block-size:1.5rem}:host([scale=l]) .track{block-size:1.5rem;inline-size:3rem}:host([scale=l]) .handle{block-size:1.25rem;inline-size:1.25rem}:host{position:relative;display:inline-block;inline-size:auto;cursor:pointer;-webkit-user-select:none;user-select:none;vertical-align:middle;tap-highlight-color:transparent}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}.container{outline-width:0px}.track{pointer-events:none;position:relative;box-sizing:border-box;display:inline-block;vertical-align:top;outline-color:transparent;border-radius:var(--calcite-switch-corner-radius, 9999px);border-color:var(--calcite-switch-border-color);background-color:var(--calcite-switch-background-color, var(--calcite-color-border-input))}.container:focus .track{outline:2px solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:calc(2px*(1 - (2*clamp(0,var(--calcite-offset-invert-focus),1))))}.container:hover .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-text-3))}.handle{pointer-events:none;position:absolute;display:block;transition-property:all;transition-duration:.15s;transition-timing-function:cubic-bezier(.4,0,.2,1);inset-block-start:var(--calcite-spacing-base);inset-inline:var(--calcite-spacing-base) auto;background-color:var(--calcite-switch-handle-background-color, var(--calcite-color-foreground-1));border-color:var(--calcite-switch-handle-border-color);border-radius:var(--calcite-switch-corner-radius, 9999px);box-shadow:var(--calcite-switch-handle-shadow)}:host([checked]) .track{background-color:var(--calcite-switch-background-color, var(--calcite-color-brand))}:host([checked]) .handle{inset-inline:auto var(--calcite-spacing-base)}:host([checked]):host(:hover:not([disabled])) .track{background-color:var(--calcite-switch-background-color-hover, var(--calcite-color-brand-hover))}@media (forced-colors: active){:host([checked]) .track{background-color:canvasText}}::slotted(input[slot=hidden-form-input]){margin:0!important;opacity:0!important;outline:none!important;padding:0!important;position:absolute!important;inset:0!important;transform:none!important;-webkit-appearance:none!important;z-index:-1!important}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends s{constructor(){super(),this.checked=!1,this.disabled=!1,this.scale="m",this.calciteSwitchChange=r({cancelable:!1}),this.listen("click",this.clickHandler),this.listen("keydown",this.keyDownHandler)}static{this.properties={checked:[7,{},{reflect:!0,type:Boolean}],disabled:[7,{},{reflect:!0,type:Boolean}],form:[3,{},{reflect:!0}],label:1,name:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}],value:1}}static{this.styles=y}async setFocus(){await h(this),d(this.switchEl)}connectedCallback(){super.connectedCallback(),u(this),f(this)}updated(){b(this)}disconnectedCallback(){super.disconnectedCallback(),k(this),g(this)}syncHiddenFormInput(e){e.type="checkbox"}keyDownHandler(e){!this.disabled&&m(e.key)&&(this.toggle(),e.preventDefault())}onLabelClick(){this.disabled||(this.toggle(),this.setFocus())}toggle(){this.checked=!this.checked,this.calciteSwitchChange.emit()}clickHandler(){this.disabled||this.toggle()}setSwitchEl(e){this.switchEl=e}render(){return p({disabled:this.disabled,children:a`<div .ariaChecked=${this.checked} .ariaLabel=${v(this)} class=${t(i.container)} role=switch tabindex=0 ${l(this.setSwitchEl)}><div class=${t(i.track)}><div class=${t(i.handle)}></div></div>${w({component:this})}</div>`})}};n("calcite-switch",c);export{c as Switch};