@esri/calcite-components 3.2.0-next.55 → 3.2.0-next.56

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 (371) hide show
  1. package/dist/calcite/{YYADGSOO.js → 2FWWRI6N.js} +2 -2
  2. package/dist/calcite/{SGHXACDU.js → 2K32TZJ3.js} +2 -2
  3. package/dist/calcite/346XAUW3.js +4 -0
  4. package/dist/calcite/{WPBE5WN2.js → 35PUDVQE.js} +2 -2
  5. package/dist/calcite/{XZ4SLW6N.js → 3AUM6LCT.js} +2 -2
  6. package/dist/calcite/{V6VQZVQB.js → 3NRKDF6M.js} +2 -2
  7. package/dist/calcite/{66XHXGQF.js → 3XKZ5ICL.js} +2 -2
  8. package/dist/calcite/{JSNTNPWO.js → 42RRWQPO.js} +2 -2
  9. package/dist/calcite/{6IIYJ575.js → 4B6HYBVQ.js} +2 -2
  10. package/dist/calcite/{FN25BDBM.js → 4L4VF67R.js} +2 -2
  11. package/dist/calcite/{CANW2BLU.js → 4LQ6DLGL.js} +1 -1
  12. package/dist/calcite/{S4MIURHR.js → 4SK7XEWP.js} +2 -2
  13. package/dist/calcite/{OO2AZ64I.js → 4XY7UYWG.js} +2 -2
  14. package/dist/calcite/{UH2QBJBL.js → 4Z65SZFY.js} +2 -2
  15. package/dist/calcite/5CQQ7RN5.js +4 -0
  16. package/dist/calcite/{6RBVDOKJ.js → 5DCCWOVQ.js} +2 -2
  17. package/dist/calcite/{CXVEACJA.js → 5V64ERYC.js} +1 -1
  18. package/dist/calcite/{ZFBYO733.js → 5XTMF4K3.js} +2 -2
  19. package/dist/calcite/{DP5PHFGO.js → 5XXI253U.js} +2 -2
  20. package/dist/calcite/{5XEBVKK5.js → 7FEW62J4.js} +2 -2
  21. package/dist/calcite/{FPFROU4B.js → 7GSKSYUX.js} +2 -2
  22. package/dist/calcite/{3KU6FUW7.js → 7KTZDSNM.js} +2 -2
  23. package/dist/calcite/{BZT2CHTH.js → 7QW6OT2W.js} +1 -1
  24. package/dist/calcite/{FXTVRE4J.js → 7SKPOXAH.js} +2 -2
  25. package/dist/calcite/{MM4IRNJZ.js → 7WWNVTVU.js} +2 -2
  26. package/dist/calcite/{UQFUEX6P.js → 7YWV5RCY.js} +2 -2
  27. package/dist/calcite/{JYKOWQEP.js → AAOZY6GQ.js} +2 -2
  28. package/dist/calcite/{Q5OGWOW2.js → ABGVZTXR.js} +2 -2
  29. package/dist/calcite/{W7W6RJXV.js → AJYG3JFR.js} +2 -2
  30. package/dist/calcite/{75N7AXDR.js → ALOUH5W3.js} +2 -2
  31. package/dist/calcite/{OLEKJTZU.js → BBADJJWN.js} +2 -2
  32. package/dist/calcite/{3MORQD53.js → BED63BLQ.js} +2 -2
  33. package/dist/calcite/{QWZRYXBC.js → BEFHE6VE.js} +2 -2
  34. package/dist/calcite/{QQIY2IMI.js → BZIXOYGQ.js} +2 -2
  35. package/dist/calcite/{SJSWLHQS.js → C2ZOZYTX.js} +2 -2
  36. package/dist/calcite/{I3M27YIE.js → CESGWN6F.js} +2 -2
  37. package/dist/calcite/{YWMZTEYV.js → CP6OKYQY.js} +1 -1
  38. package/dist/calcite/{MRZ37AVJ.js → CVSHHFAO.js} +2 -2
  39. package/dist/calcite/{WB65WW5J.js → D2REXFAY.js} +2 -2
  40. package/dist/calcite/{SHQMQORM.js → DBXLXDVV.js} +2 -2
  41. package/dist/calcite/{3NIW6IHW.js → DGLJ5HLY.js} +2 -2
  42. package/dist/calcite/{AUCV7JRG.js → DMSONGSB.js} +2 -2
  43. package/dist/calcite/{GL6YCWBS.js → DU6JOBZK.js} +2 -2
  44. package/dist/calcite/{T7L2UC4Y.js → E7XJOYNY.js} +2 -2
  45. package/dist/calcite/{GW5TMKPL.js → EAA57BFL.js} +2 -2
  46. package/dist/calcite/{R65MRMUP.js → ECYFSGZM.js} +2 -2
  47. package/dist/calcite/{WN7KSGU7.js → EFWPMAQY.js} +2 -2
  48. package/dist/calcite/{3NIU5JSQ.js → EHKIQCUD.js} +2 -2
  49. package/dist/calcite/{UUX3RAUA.js → EHWCEFGZ.js} +2 -2
  50. package/dist/calcite/{5DOD2Y2V.js → EKEYNJII.js} +1 -1
  51. package/dist/calcite/{GTZV37N7.js → EQRBDA66.js} +2 -2
  52. package/dist/calcite/{IPQINVXO.js → ER2AREEC.js} +2 -2
  53. package/dist/calcite/{FPDGC4PR.js → EYGWJN6G.js} +2 -2
  54. package/dist/calcite/{B2W46ZPY.js → EZ3B4T6X.js} +2 -2
  55. package/dist/calcite/{YHMCYX7U.js → EZIJF4UO.js} +2 -2
  56. package/dist/calcite/{DBP4F3SX.js → FESV2GSU.js} +2 -2
  57. package/dist/calcite/{CXXEZVKT.js → FKBFV56W.js} +1 -1
  58. package/dist/calcite/{JF4HMKFB.js → FM74P3FI.js} +2 -2
  59. package/dist/calcite/{E4NZOBSR.js → FNIXXUDQ.js} +2 -2
  60. package/dist/calcite/{SIRWN23H.js → FPM425DT.js} +2 -2
  61. package/dist/calcite/{454MBZRV.js → G7RPXATR.js} +2 -2
  62. package/dist/calcite/{LBNDGE7I.js → H3UD4QTV.js} +2 -2
  63. package/dist/calcite/{BDCXZMU7.js → HJ7A5RCL.js} +2 -2
  64. package/dist/calcite/{4BAKMO2X.js → HJA2QHZE.js} +2 -2
  65. package/dist/calcite/{IQMIKFXQ.js → HMFECFAL.js} +2 -2
  66. package/dist/calcite/{O5PDJA3F.js → HRG336KB.js} +2 -2
  67. package/dist/calcite/{AQ752BXZ.js → HSMFIVFL.js} +1 -1
  68. package/dist/calcite/{OP2OCOPS.js → HWYC3Q5X.js} +2 -2
  69. package/dist/calcite/{JQD46YUR.js → IDWJVZHL.js} +2 -2
  70. package/dist/calcite/{YW3QFOHM.js → IHP56I36.js} +2 -2
  71. package/dist/calcite/{FA4MJQC6.js → IKNG64YF.js} +2 -2
  72. package/dist/calcite/{4MNKDRV3.js → IODV2FF3.js} +2 -2
  73. package/dist/calcite/{URE5XSL2.js → IWBQPPVF.js} +2 -2
  74. package/dist/calcite/{O7Q5FWXM.js → JDEQ4JUV.js} +2 -2
  75. package/dist/calcite/{HQ6O3WDU.js → JL2UTCQX.js} +2 -2
  76. package/dist/calcite/{KQNG2RHQ.js → JLLDSV5Y.js} +2 -2
  77. package/dist/calcite/{UZNUGTVU.js → JOAOWA2B.js} +1 -1
  78. package/dist/calcite/{HDN3N7N3.js → JOFU4GH5.js} +2 -2
  79. package/dist/calcite/{N3B7J4FI.js → JR3YD3CB.js} +1 -1
  80. package/dist/calcite/{YLKGT66B.js → JUMGUDW5.js} +2 -2
  81. package/dist/calcite/{ULLHLOG7.js → JYGETZBH.js} +2 -2
  82. package/dist/calcite/{MDEQDZMU.js → K3JVBUAE.js} +1 -1
  83. package/dist/calcite/{V5HX4RXX.js → K4JPJK7I.js} +2 -2
  84. package/dist/calcite/{FMDGT3EB.js → KJDIFKS4.js} +2 -2
  85. package/dist/calcite/{S6C73BYI.js → L6GJMNCL.js} +2 -2
  86. package/dist/calcite/{T3ZCNBRF.js → LDTFVE64.js} +2 -2
  87. package/dist/calcite/{UNNBYL32.js → LPHYL3IA.js} +2 -2
  88. package/dist/calcite/{XEGXTTL7.js → LSGAHLXL.js} +2 -2
  89. package/dist/calcite/{O6T2WY5M.js → LWKA7S3L.js} +2 -2
  90. package/dist/calcite/{VZTKGCCL.js → MPGVLNFO.js} +2 -2
  91. package/dist/calcite/{QWKWDOAB.js → N6EJDKMX.js} +2 -2
  92. package/dist/calcite/{IKJI7VLV.js → N6ILLU6S.js} +2 -2
  93. package/dist/calcite/{NLWECQ73.js → NBX2S5ZW.js} +2 -2
  94. package/dist/calcite/{DEQAZHEB.js → NC7HFGP6.js} +2 -2
  95. package/dist/calcite/{ERRVAWAU.js → NE6DRDJN.js} +2 -2
  96. package/dist/calcite/{F7RUV6DA.js → NF3VRG7H.js} +2 -2
  97. package/dist/calcite/{EV2WJX7L.js → NRDTXOHP.js} +1 -1
  98. package/dist/calcite/{ADBEBJI2.js → NT5VJV2C.js} +1 -1
  99. package/dist/calcite/{USL2S6XQ.js → NZXP5OWE.js} +2 -2
  100. package/dist/calcite/{NZELVZQH.js → O5DQWM46.js} +2 -2
  101. package/dist/calcite/{T46RA23M.js → OAIWXU2Y.js} +2 -2
  102. package/dist/calcite/{GC4FIXMJ.js → OJVL7LVL.js} +2 -2
  103. package/dist/calcite/{IM2GCF6V.js → OK2WI67G.js} +2 -2
  104. package/dist/calcite/{OUAAF64M.js → OQ6PT6CN.js} +2 -2
  105. package/dist/calcite/{626COM3N.js → OZX4Z664.js} +1 -1
  106. package/dist/calcite/{7KAKEMUL.js → P2XRHPC7.js} +2 -2
  107. package/dist/calcite/{VLIIFXXM.js → PIMDWYUZ.js} +2 -2
  108. package/dist/calcite/{E5KZNHGK.js → PIXJQ334.js} +2 -2
  109. package/dist/calcite/{WDDKTDQX.js → PTBNCWXI.js} +2 -2
  110. package/dist/calcite/{FKAHYBU5.js → PTJ2MNNI.js} +2 -2
  111. package/dist/calcite/{I6FFNTM7.js → PUOUE62Z.js} +1 -1
  112. package/dist/calcite/{UUUDNQJF.js → Q2ILZYK6.js} +2 -2
  113. package/dist/calcite/{NEOMH2KO.js → Q4ZXJMNL.js} +2 -2
  114. package/dist/calcite/{PB3JQV4D.js → QB24BCVQ.js} +2 -2
  115. package/dist/calcite/{FRIJXZ5T.js → QBSW5TMU.js} +2 -2
  116. package/dist/calcite/{NEQZYLWM.js → QE676UAW.js} +2 -2
  117. package/dist/calcite/{V4GPKLHL.js → QFRIDX27.js} +2 -2
  118. package/dist/calcite/{AGOFEL3V.js → QYK2BWCY.js} +2 -2
  119. package/dist/calcite/{DDEHWFJT.js → R3JXXAEC.js} +2 -2
  120. package/dist/calcite/{5Y2XXKVW.js → R64I452A.js} +2 -2
  121. package/dist/calcite/{QNHV5G2G.js → RFR2QZPL.js} +2 -2
  122. package/dist/calcite/{NPLN5XU6.js → RTHN6Y3F.js} +2 -2
  123. package/dist/calcite/{Z7WKLQVW.js → RUFSOSDU.js} +2 -2
  124. package/dist/calcite/{OY3PEW46.js → RXYBWQZF.js} +2 -2
  125. package/dist/calcite/{VEBEFRXO.js → S2SS7NIQ.js} +2 -2
  126. package/dist/calcite/{LUXFZECU.js → SJX36DLP.js} +2 -2
  127. package/dist/calcite/{R2VYSXLV.js → T7JZ45M7.js} +2 -2
  128. package/dist/calcite/{B3LDTFSL.js → TE66BJRV.js} +2 -2
  129. package/dist/calcite/{SX7ACEXB.js → THB2656Y.js} +2 -2
  130. package/dist/calcite/{SYIXT6IH.js → TOYTYID2.js} +1 -1
  131. package/dist/calcite/{U5ABN52J.js → TPPN3AYW.js} +2 -2
  132. package/dist/calcite/{TFU6NC54.js → TZC6UKSC.js} +2 -2
  133. package/dist/calcite/{LM3YWIUC.js → UISGERSP.js} +2 -2
  134. package/dist/calcite/{F3XEVMNH.js → UJQR52XS.js} +2 -2
  135. package/dist/calcite/{XIMAG5HG.js → UUBUZPJX.js} +2 -2
  136. package/dist/calcite/UYG4JCYA.js +4 -0
  137. package/dist/calcite/{G5XPRG5Z.js → VDS4MWQJ.js} +2 -2
  138. package/dist/calcite/{LSZ6IV4U.js → VJVN2SPW.js} +2 -2
  139. package/dist/calcite/{LCCJ6T56.js → VQXAGWDT.js} +2 -2
  140. package/dist/calcite/{K7C4QQZN.js → W53UXTDP.js} +2 -2
  141. package/dist/calcite/{MQ63CMKG.js → W6QNBTW6.js} +2 -2
  142. package/dist/calcite/{FPTOIV52.js → W6USKWQ4.js} +1 -1
  143. package/dist/calcite/{BFSQJLZP.js → WDNS3PM5.js} +2 -2
  144. package/dist/calcite/{4MC6YBVT.js → WK54M4FB.js} +2 -2
  145. package/dist/calcite/{DC34FG72.js → WRIMNUKU.js} +2 -2
  146. package/dist/calcite/{ATAQGLHI.js → WULJERV2.js} +1 -1
  147. package/dist/calcite/{FRVMC26O.js → WWQFHAVQ.js} +2 -2
  148. package/dist/calcite/{WAQ6HIBC.js → X2QCAULI.js} +2 -2
  149. package/dist/calcite/{5ELBAGIY.js → X3BRP762.js} +2 -2
  150. package/dist/calcite/{HSAOSFFA.js → X7HFFGMY.js} +2 -2
  151. package/dist/calcite/{P2WSLF2U.js → XMSYZAZA.js} +1 -1
  152. package/dist/calcite/{EOZ3RMHM.js → XOCBEJXA.js} +2 -2
  153. package/dist/calcite/{TVWX2FWO.js → XWA6MOIB.js} +2 -2
  154. package/dist/calcite/{6NVH42DB.js → XWMY3N4S.js} +2 -2
  155. package/dist/calcite/{FPZDPWMA.js → XX2TGZAE.js} +2 -2
  156. package/dist/calcite/{JHWQREYP.js → XXFS7DV2.js} +2 -2
  157. package/dist/calcite/{IL4QZJBF.js → Y3J6RPHP.js} +2 -2
  158. package/dist/calcite/{KEUA3BJE.js → YA662X4N.js} +1 -1
  159. package/dist/calcite/{LLBISFVA.js → YBA2X4KA.js} +2 -2
  160. package/dist/calcite/{A56QTEXT.js → YE23OADF.js} +2 -2
  161. package/dist/calcite/{IKKWBADI.js → YEDZWNWE.js} +2 -2
  162. package/dist/calcite/{37MPY3KN.js → YOUARJXU.js} +2 -2
  163. package/dist/calcite/{4Z53G5WH.js → YZAHM2PI.js} +1 -1
  164. package/dist/calcite/{YG4T52XL.js → Z4IWO62R.js} +2 -2
  165. package/dist/calcite/{TKZJUJBI.js → Z5QXNA2P.js} +1 -1
  166. package/dist/calcite/{E24AGKAK.js → Z666BMS4.js} +2 -2
  167. package/dist/calcite/{AJJVZGAB.js → Z6EN2X4Q.js} +2 -2
  168. package/dist/calcite/{RUKNXUSQ.js → ZL3SSUPP.js} +2 -2
  169. package/dist/calcite/{MN7Z73EU.js → ZNGFBRKI.js} +2 -2
  170. package/dist/calcite/{RNI6PFHY.js → ZTHUPU6I.js} +1 -1
  171. package/dist/calcite/{ABXDCD6J.js → ZWLPDJDK.js} +2 -2
  172. package/dist/calcite/assets/icon/calendarHeatChart16.json +1 -0
  173. package/dist/calcite/assets/icon/calendarHeatChart24.json +1 -0
  174. package/dist/calcite/assets/icon/calendarHeatChart32.json +1 -0
  175. package/dist/calcite/assets/icon/matrixHeatChart16.json +1 -0
  176. package/dist/calcite/assets/icon/matrixHeatChart24.json +1 -0
  177. package/dist/calcite/assets/icon/matrixHeatChart32.json +1 -0
  178. package/dist/calcite/assets/icon/progressBarChart16.json +1 -0
  179. package/dist/calcite/assets/icon/progressBarChart24.json +1 -0
  180. package/dist/calcite/assets/icon/progressBarChart32.json +1 -0
  181. package/dist/calcite/assets/icon/spikeDataVisualization16.json +1 -0
  182. package/dist/calcite/assets/icon/spikeDataVisualization24.json +1 -0
  183. package/dist/calcite/assets/icon/spikeDataVisualization32.json +1 -0
  184. package/dist/calcite/assets/icon/spikeDataVisualizationOpen16.json +1 -0
  185. package/dist/calcite/assets/icon/spikeDataVisualizationOpen24.json +1 -0
  186. package/dist/calcite/assets/icon/spikeDataVisualizationOpen32.json +1 -0
  187. package/dist/calcite/assets/icon/spikeDataVisualizationOutlined16F.json +1 -0
  188. package/dist/calcite/assets/icon/spikeDataVisualizationOutlined24F.json +1 -0
  189. package/dist/calcite/assets/icon/spikeDataVisualizationOutlined32F.json +1 -0
  190. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked16.json +1 -0
  191. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked24.json +1 -0
  192. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedColorLocked32.json +1 -0
  193. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen16.json +1 -0
  194. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen24.json +1 -0
  195. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpen32.json +1 -0
  196. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked16.json +1 -0
  197. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked24.json +1 -0
  198. package/dist/calcite/assets/icon/spikeDataVisualizationOutlinedOpenColorLocked32.json +1 -0
  199. package/dist/calcite/calcite.esm.js +2 -2
  200. package/dist/chunks/ExpandToggle.js +7 -42
  201. package/dist/chunks/FloatingArrow.js +1 -1
  202. package/dist/chunks/Heading.js +1 -1
  203. package/dist/chunks/Validation.js +1 -1
  204. package/dist/chunks/XButton.js +1 -1
  205. package/dist/chunks/_sortable.js +1 -1
  206. package/dist/chunks/array.js +1 -1
  207. package/dist/chunks/component.js +1 -1
  208. package/dist/chunks/core.js +1 -1
  209. package/dist/chunks/date.js +1 -1
  210. package/dist/chunks/dom.js +1 -1
  211. package/dist/chunks/dynamicClasses.js +1 -1
  212. package/dist/chunks/filter.js +1 -1
  213. package/dist/chunks/floating-ui.js +1 -1
  214. package/dist/chunks/form.js +1 -1
  215. package/dist/chunks/global.js +1 -1
  216. package/dist/chunks/guid.js +1 -1
  217. package/dist/chunks/input.js +1 -1
  218. package/dist/chunks/interact.min.js +1 -1
  219. package/dist/chunks/interactive.js +1 -1
  220. package/dist/chunks/key.js +1 -1
  221. package/dist/chunks/label.js +1 -1
  222. package/dist/chunks/locale.js +1 -1
  223. package/dist/chunks/logger.js +1 -1
  224. package/dist/chunks/math.js +1 -1
  225. package/dist/chunks/observers.js +1 -1
  226. package/dist/chunks/openCloseComponent.js +1 -1
  227. package/dist/chunks/resources.js +1 -1
  228. package/dist/chunks/resources2.js +1 -1
  229. package/dist/chunks/resources3.js +1 -1
  230. package/dist/chunks/resources4.js +1 -1
  231. package/dist/chunks/resources5.js +1 -1
  232. package/dist/chunks/resources6.js +1 -1
  233. package/dist/chunks/resources7.js +1 -1
  234. package/dist/chunks/responsive.js +1 -1
  235. package/dist/chunks/runtime.js +5 -5
  236. package/dist/chunks/sortableComponent.js +1 -1
  237. package/dist/chunks/text.js +1 -1
  238. package/dist/chunks/time.js +1 -1
  239. package/dist/chunks/useFocusTrap.js +1 -1
  240. package/dist/chunks/usePreventDocumentScroll.js +1 -1
  241. package/dist/chunks/useT9n.js +1 -1
  242. package/dist/chunks/utils.js +1 -1
  243. package/dist/chunks/utils2.js +1 -1
  244. package/dist/chunks/utils3.js +1 -1
  245. package/dist/chunks/utils4.js +1 -1
  246. package/dist/components/calcite-accordion/customElement.js +1 -1
  247. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  248. package/dist/components/calcite-action/customElement.js +1 -1
  249. package/dist/components/calcite-action-bar/customElement.js +45 -14
  250. package/dist/components/calcite-action-bar/utils.d.ts +0 -14
  251. package/dist/components/calcite-action-group/customElement.js +1 -1
  252. package/dist/components/calcite-action-menu/customElement.js +1 -1
  253. package/dist/components/calcite-action-pad/customElement.js +1 -1
  254. package/dist/components/calcite-alert/customElement.js +1 -1
  255. package/dist/components/calcite-autocomplete/customElement.js +1 -1
  256. package/dist/components/calcite-autocomplete-item/customElement.js +1 -1
  257. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  258. package/dist/components/calcite-avatar/customElement.js +1 -1
  259. package/dist/components/calcite-block/customElement.js +1 -1
  260. package/dist/components/calcite-block-group/customElement.js +1 -1
  261. package/dist/components/calcite-block-section/customElement.js +1 -1
  262. package/dist/components/calcite-button/customElement.js +1 -1
  263. package/dist/components/calcite-card/customElement.js +1 -1
  264. package/dist/components/calcite-card-group/customElement.js +1 -1
  265. package/dist/components/calcite-carousel/customElement.js +1 -1
  266. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  267. package/dist/components/calcite-checkbox/customElement.js +1 -1
  268. package/dist/components/calcite-chip/customElement.js +1 -1
  269. package/dist/components/calcite-chip-group/customElement.js +1 -1
  270. package/dist/components/calcite-color-picker/customElement.js +1 -1
  271. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  272. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  273. package/dist/components/calcite-combobox/customElement.js +1 -1
  274. package/dist/components/calcite-combobox-item/customElement.js +1 -1
  275. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  276. package/dist/components/calcite-date-picker/customElement.js +1 -1
  277. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  278. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  279. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  280. package/dist/components/calcite-dialog/customElement.js +1 -1
  281. package/dist/components/calcite-dropdown/customElement.js +1 -1
  282. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  283. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  284. package/dist/components/calcite-fab/customElement.js +1 -1
  285. package/dist/components/calcite-filter/customElement.js +1 -1
  286. package/dist/components/calcite-flow/customElement.js +1 -1
  287. package/dist/components/calcite-flow-item/customElement.js +1 -1
  288. package/dist/components/calcite-graph/customElement.js +1 -1
  289. package/dist/components/calcite-handle/customElement.js +1 -1
  290. package/dist/components/calcite-icon/customElement.js +1 -1
  291. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  292. package/dist/components/calcite-input/customElement.js +1 -1
  293. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  294. package/dist/components/calcite-input-message/customElement.js +1 -1
  295. package/dist/components/calcite-input-number/customElement.js +1 -1
  296. package/dist/components/calcite-input-text/customElement.js +1 -1
  297. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  298. package/dist/components/calcite-input-time-zone/customElement.js +1 -1
  299. package/dist/components/calcite-label/customElement.js +1 -1
  300. package/dist/components/calcite-link/customElement.js +1 -1
  301. package/dist/components/calcite-list/customElement.js +1 -1
  302. package/dist/components/calcite-list-item/customElement.js +1 -1
  303. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  304. package/dist/components/calcite-loader/customElement.js +1 -1
  305. package/dist/components/calcite-menu/customElement.js +1 -1
  306. package/dist/components/calcite-menu-item/customElement.js +1 -1
  307. package/dist/components/calcite-meter/customElement.js +1 -1
  308. package/dist/components/calcite-modal/customElement.js +1 -1
  309. package/dist/components/calcite-navigation/customElement.js +1 -1
  310. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  311. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  312. package/dist/components/calcite-notice/customElement.js +1 -1
  313. package/dist/components/calcite-option/customElement.js +1 -1
  314. package/dist/components/calcite-option-group/customElement.js +1 -1
  315. package/dist/components/calcite-pagination/customElement.js +1 -1
  316. package/dist/components/calcite-panel/customElement.js +1 -1
  317. package/dist/components/calcite-popover/customElement.js +1 -1
  318. package/dist/components/calcite-progress/customElement.js +1 -1
  319. package/dist/components/calcite-radio-button/customElement.js +1 -1
  320. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  321. package/dist/components/calcite-rating/customElement.js +1 -1
  322. package/dist/components/calcite-scrim/customElement.js +1 -1
  323. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  324. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  325. package/dist/components/calcite-select/customElement.js +1 -1
  326. package/dist/components/calcite-sheet/customElement.js +1 -1
  327. package/dist/components/calcite-shell/customElement.js +1 -1
  328. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  329. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  330. package/dist/components/calcite-slider/customElement.js +1 -1
  331. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  332. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  333. package/dist/components/calcite-split-button/customElement.js +1 -1
  334. package/dist/components/calcite-stack/customElement.js +1 -1
  335. package/dist/components/calcite-stepper/customElement.js +1 -1
  336. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  337. package/dist/components/calcite-switch/customElement.js +1 -1
  338. package/dist/components/calcite-tab/customElement.js +1 -1
  339. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  340. package/dist/components/calcite-tab-title/customElement.js +1 -1
  341. package/dist/components/calcite-table/customElement.js +1 -1
  342. package/dist/components/calcite-table-cell/customElement.js +1 -1
  343. package/dist/components/calcite-table-header/customElement.js +1 -1
  344. package/dist/components/calcite-table-row/customElement.js +1 -1
  345. package/dist/components/calcite-tabs/customElement.js +1 -1
  346. package/dist/components/calcite-text-area/customElement.js +7 -6
  347. package/dist/components/calcite-text-area/resources.d.ts +1 -0
  348. package/dist/components/calcite-tile/customElement.js +1 -1
  349. package/dist/components/calcite-tile-group/customElement.js +1 -1
  350. package/dist/components/calcite-tile-select/customElement.js +1 -1
  351. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  352. package/dist/components/calcite-time-picker/customElement.js +1 -1
  353. package/dist/components/calcite-tip/customElement.js +1 -1
  354. package/dist/components/calcite-tip-group/customElement.js +1 -1
  355. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  356. package/dist/components/calcite-tooltip/customElement.js +1 -1
  357. package/dist/components/calcite-tree/customElement.js +1 -1
  358. package/dist/components/calcite-tree-item/customElement.js +1 -1
  359. package/dist/docs/api.json +13 -1
  360. package/dist/docs/docs.json +16 -1
  361. package/dist/docs/vscode.css-custom-data.json +12 -0
  362. package/dist/docs/vscode.html-custom-data.json +1 -1
  363. package/dist/docs/web-types.json +14 -2
  364. package/dist/extras/vscode-data.json +1 -1
  365. package/dist/index.js +1 -1
  366. package/dist/loader.js +1 -1
  367. package/dist/utils/overflow.d.ts +28 -0
  368. package/package.json +3 -3
  369. package/dist/calcite/DEYQ6QAD.js +0 -4
  370. package/dist/calcite/HP4BFG3O.js +0 -4
  371. package/dist/calcite/WYFACV5V.js +0 -4
@@ -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.0-next.55 */
4
- import{a as u,b as f}from"./ERRVAWAU.js";import{a as h,b as m}from"./SX7ACEXB.js";import{l as p,z as i}from"./YG4T52XL.js";import"./CANW2BLU.js";import{E as r,R as n,c,d,q as o}from"./FN25BDBM.js";var b=c`: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{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=b}async setFocus(){await this.componentOnReady(),this.disabled||p(this.items[0])}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){u(this)}loaded(){this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":i(s,e.target,"next");break;case"ArrowLeft":i(s,e.target,"previous");break;case"Home":i(s,e.target,"first");break;case"End":i(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let a=s===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=a?!t.selected:!1;break;case"single-persist":t.selected=!!a;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return f({disabled:this.disabled,children:d`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${m(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
3
+ v3.2.0-next.56 */
4
+ import{a as u,b as f}from"./NE6DRDJN.js";import{a as h,b as m}from"./THB2656Y.js";import{l as p,z as i}from"./Z4IWO62R.js";import"./4LQ6DLGL.js";import{E as r,R as n,c,d,q as o}from"./4L4VF67R.js";var b=c`: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{display:flex;flex-wrap:wrap;gap:var(--calcite-card-group-space, var(--calcite-card-group-gap, var(--calcite-spacing-md)))}:host([hidden]){display:none}[hidden]{display:none}:host([disabled]) ::slotted([calcite-hydrated][disabled]),:host([disabled]) [calcite-hydrated][disabled]{opacity:1}.interaction-container{display:contents}`,l=class extends r{constructor(){super(),this.items=[],this.slotRefEl=h(),this.disabled=!1,this.selectedItems=[],this.selectionMode="none",this.calciteCardGroupSelect=o({cancelable:!1}),this.listen("calciteInternalCardKeyEvent",this.calciteInternalCardKeyEventListener),this.listen("calciteCardSelect",this.calciteCardSelectListener)}static{this.properties={disabled:[7,{},{reflect:!0,type:Boolean}],label:1,selectedItems:[0,{},{attribute:!1}],selectionMode:[3,{},{reflect:!0}]}}static{this.styles=b}async setFocus(){await this.componentOnReady(),this.disabled||p(this.items[0])}willUpdate(e){e.has("selectionMode")&&this.hasUpdated&&this.updateItemsOnSelectionModeChange()}updated(){u(this)}loaded(){this.updateSelectedItems()}calciteInternalCardKeyEventListener(e){if(e.composedPath().includes(this.el)){let s=this.items.filter(t=>!t.disabled);switch(e.detail.key){case"ArrowRight":i(s,e.target,"next");break;case"ArrowLeft":i(s,e.target,"previous");break;case"Home":i(s,e.target,"first");break;case"End":i(s,e.target,"last");break}}}calciteCardSelectListener(e){e.composedPath().includes(this.el)&&!e.target.selectable&&this.setSelectedItems(!0,e.target)}updateItemsOnSelectionModeChange(){this.updateSlottedItems(this.slotRefEl.value),this.updateSelectedItems()}updateItemsOnSlotChange(e){this.updateSlottedItems(e.target),this.updateSelectedItems()}updateSlottedItems(e){this.items=e.assignedElements({flatten:!0}).filter(s=>s?.matches("calcite-card"))}updateSelectedItems(){this.items.forEach(e=>{e.selectionMode=this.selectionMode}),this.setSelectedItems(!1)}setSelectedItems(e,s){s&&this.items.forEach(t=>{let a=s===t;switch(this.selectionMode){case"multiple":a&&(t.selected=!t.selected);break;case"single":t.selected=a?!t.selected:!1;break;case"single-persist":t.selected=!!a;break}}),this.selectedItems=this.items.filter(t=>t.selected),e&&this.selectionMode!=="none"&&!this.disabled&&this.calciteCardGroupSelect.emit()}render(){let e=this.selectionMode==="none"||this.selectionMode==="multiple"?"group":"radiogroup";return f({disabled:this.disabled,children:d`<div .ariaLabel=${this.label} class="container" .role=${e}><slot @slotchange=${this.updateItemsOnSlotChange} ${m(this.slotRefEl)}></slot></div>`})}};n("calcite-card-group",l);export{l as CardGroup};
@@ -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.0-next.55 */
4
- import{S as w,a as k,b as P,j as _,k as $,l as y,m as f,n as O,o as v,p as d,r as h,s as C}from"./FN25BDBM.js";var g=e=>(...s)=>{let t=f(),r=new e(...s),o=r.exports;y(t.at(-1));let n=r.component.manager;n._markExports(r,o),r.watchExports(a=>n._markExports(r,a)),O(r);let i=[r.component,...t].reverse();return d(i,a=>a===void 0?void 0:T(r,a,o),o)};function T(e,{host:s,key:t,isReactive:r},o){let n=s,i=n[t]!==e.exports,a=n[t]!==o,c=o!==e.exports;if(i&&!a&&c&&(n[t]=e.exports),s===e.component){if(r){let p=e.component.manager;a&&p._markExports(e,n[t]),e.onUpdate(m=>{if(m.has(t)){let E=n[t];E!==e.exports&&p._markExports(e,E)}})}e.assignedProperty=r?void 0:t}let u=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(u?v(()=>{n[t]=e.exports}):n[t]=e.exports)})}var K=e=>N(void 0,e),L=e=>s=>N(s,e),x=class extends h{constructor(s,t){super(s);let r=this.exports;try{$(this.component);let o=t(this.component,this),n=this.exports!==r;if(_(o)){n||this.setProvisionalExports(o);let i=o.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!n||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},N=g(x),A=(e,s)=>new b(e,s),b=class extends h{constructor(s,t){super(),this._attributes=s,this._callback=t,!!1&&(this._observer=new MutationObserver(r=>{r.forEach(o=>{s.includes(o.attributeName)&&t.call(this.component,this.component.el.getAttribute(o.attributeName),o.oldValue,o.attributeName)})}))}hostConnected(){this._attributes.forEach(s=>{this.component.el.hasAttribute(s)&&this._callback.call(this.component,null,this.component.el.getAttribute(s),s)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var G=e=>(s={})=>K((t,r)=>{let o=k(t.el),n={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>P(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};r.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),a(i.messageOverrides)},s.name));function a(c){let l=r.exports,u=l._original??l,p=D(u,c);c&&(p._original=u),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&a(i.messageOverrides)}),s.blocking?(r.setProvisionalExports(n,!1),r.ready):n});function D(e,s){if(!s)return e;let t={...e};return Object.entries(s).forEach(([r,o])=>{typeof o=="object"?t[r]=D(e[r],o):t[r]=o??e[r]}),t}var ue=C;var me=L,de=A;var M=G;var ve=M(w);export{ue as a,me as b,de as c,ve as d};
3
+ v3.2.0-next.56 */
4
+ import{S as w,a as k,b as P,j as _,k as $,l as y,m as f,n as O,o as v,p as d,r as h,s as C}from"./4L4VF67R.js";var g=e=>(...s)=>{let t=f(),r=new e(...s),o=r.exports;y(t.at(-1));let n=r.component.manager;n._markExports(r,o),r.watchExports(a=>n._markExports(r,a)),O(r);let i=[r.component,...t].reverse();return d(i,a=>a===void 0?void 0:T(r,a,o),o)};function T(e,{host:s,key:t,isReactive:r},o){let n=s,i=n[t]!==e.exports,a=n[t]!==o,c=o!==e.exports;if(i&&!a&&c&&(n[t]=e.exports),s===e.component){if(r){let p=e.component.manager;a&&p._markExports(e,n[t]),e.onUpdate(m=>{if(m.has(t)){let E=n[t];E!==e.exports&&p._markExports(e,E)}})}e.assignedProperty=r?void 0:t}let u=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{n[t]!==e.exports&&(u?v(()=>{n[t]=e.exports}):n[t]=e.exports)})}var K=e=>N(void 0,e),L=e=>s=>N(s,e),x=class extends h{constructor(s,t){super(s);let r=this.exports;try{$(this.component);let o=t(this.component,this),n=this.exports!==r;if(_(o)){n||this.setProvisionalExports(o);let i=o.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this._ready.reject(a),console.error(a)});this.onLoad(async()=>await i)}else(!n||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this._ready.reject(o),console.error(o)}}catchUpLifecycle(){}},N=g(x),A=(e,s)=>new b(e,s),b=class extends h{constructor(s,t){super(),this._attributes=s,this._callback=t,!!1&&(this._observer=new MutationObserver(r=>{r.forEach(o=>{s.includes(o.attributeName)&&t.call(this.component,this.component.el.getAttribute(o.attributeName),o.oldValue,o.attributeName)})}))}hostConnected(){this._attributes.forEach(s=>{this.component.el.hasAttribute(s)&&this._callback.call(this.component,null,this.component.el.getAttribute(s),s)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var G=e=>(s={})=>K((t,r)=>{let o=k(t.el),n={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},i=t;r.onLifecycle(()=>P(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};r.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),a(i.messageOverrides)},s.name));function a(c){let l=r.exports,u=l._original??l,p=D(u,c);c&&(p._original=u),r.exports=p}return"messageOverrides"in i&&r.onUpdate(c=>{c.has("messageOverrides")&&a(i.messageOverrides)}),s.blocking?(r.setProvisionalExports(n,!1),r.ready):n});function D(e,s){if(!s)return e;let t={...e};return Object.entries(s).forEach(([r,o])=>{typeof o=="object"?t[r]=D(e[r],o):t[r]=o??e[r]}),t}var ue=C;var me=L,de=A;var M=G;var ve=M(w);export{ue as a,me as b,de as c,ve as d};
@@ -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.0-next.56 */
4
+ import{a as D}from"./HSMFIVFL.js";import{a as S,b as O,c as T,d as G}from"./5CQQ7RN5.js";import{a as u}from"./XMSYZAZA.js";import"./K3JVBUAE.js";import{d as C}from"./2K32TZJ3.js";import"./THB2656Y.js";import"./YZAHM2PI.js";import{n as A,u as f,v as z}from"./Z4IWO62R.js";import{d as E}from"./3NRKDF6M.js";import"./QFRIDX27.js";import"./4LQ6DLGL.js";import{E as v,F as p,L as w,R as y,c as m,d as h,q as x}from"./4L4VF67R.js";var k=({bufferSize:r=0,containerSize:t,itemSizes:e})=>{let o=t-r,i=e.length,a=0;for(let[n,s]of e.entries())if(a=a+s,a>o){i=n;break}else continue;return i},L=({bufferSize:r=0,containerSize:t,itemSizes:e})=>Math.max(e.length-k({bufferSize:r,itemSizes:e,containerSize:t}),0),H={container:"container",actionGroupEnd:"action-group--end"},b={actionsEnd:"actions-end",bottomActions:"bottom-actions",expandTooltip:"expand-tooltip"},M=m`:host{box-sizing:border-box;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-2);font-size:var(--calcite-font-size--1)}:host *{box-sizing:border-box}:host{display:inline-flex;align-self:stretch;background:transparent}.container{display:inline-flex;flex:1 1 auto;flex-direction:column;gap:var(--calcite-action-bar-items-space, 0);background-color:var(--calcite-action-bar-background-color, var(--calcite-color-foreground-1))}@keyframes in{0%{opacity:0}to{opacity:1}}:host([floating]) .container{animation:in var(--calcite-internal-animation-timing-slow) ease-in-out;overflow:hidden;border-radius:var(--calcite-action-bar-corner-radius, var(--calcite-corner-radius-round));--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--calcite-action-bar-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]){flex-direction:column}:host([layout=vertical]):host([overflow-actions-disabled]) .container{overflow-y:auto}:host([layout=vertical]):host([expanded]) .container{max-inline-size:var(--calcite-action-bar-expanded-max-width, auto)}:host([layout=vertical]) .action-group--end{margin-block-start:auto}:host([layout=vertical]) ::slotted(calcite-action-group:not(:last-of-type)){border-block-end-width:var(--calcite-border-width-sm)}:host([layout=horizontal]){flex-direction:row}:host([layout=horizontal]) .container{flex-direction:row}:host([layout=horizontal]):host([overflow-actions-disabled]) .container{overflow-x:auto}:host([layout=horizontal]) .action-group--end{margin-inline-start:auto}:host([layout=horizontal]) ::slotted(calcite-action-group:not(:last-of-type)){border-inline-end-width:var(--calcite-border-width-sm)}.action-group--end{justify-content:flex-end}:host([hidden]){display:none}[hidden]{display:none}`,g=class extends v{constructor(){super(),this.mutationObserver=u("mutation",()=>this.mutationObserverHandler()),this.resize=D(({width:t,height:e})=>{let{expanded:o,expandDisabled:i,layout:a,overflowActionsDisabled:n,actionGroups:s}=this;if(n||a==="vertical"&&!e||a==="horizontal"&&!t)return;let l=this.getItemSizes();this.updateGroups();let c=this.hasActionsEnd||this.hasBottomActions||!i?s.length+1:s.length,d=L({bufferSize:c,containerSize:a==="horizontal"?t:e,itemSizes:l});O({actionGroups:s,expanded:o,overflowCount:d})},w.resize),this.resizeHandler=t=>{let{width:e,height:o}=t.contentRect;this.resize({width:e,height:o})},this.resizeObserver=u("resize",t=>this.resizeHandlerEntries(t)),this.toggleExpand=()=>{this.expanded=!this.expanded,this.calciteActionBarToggle.emit()},this.messages=C(),this.hasActionsEnd=!1,this.hasBottomActions=!1,this.floating=!1,this.expandDisabled=!1,this.expanded=!1,this.layout="vertical",this.overflowActionsDisabled=!1,this.overlayPositioning="absolute",this.scale="m",this.calciteActionBarToggle=x({cancelable:!1}),this.listen("calciteActionMenuOpen",this.actionMenuOpenHandler)}static{this.properties={expandTooltip:[16,{},{state:!0}],hasActionsEnd:[16,{},{state:!0}],hasBottomActions:[16,{},{state:!0}],actionsEndGroupLabel:1,floating:[7,{},{reflect:!0,type:Boolean}],expandDisabled:[7,{},{reflect:!0,type:Boolean}],expanded:[7,{},{reflect:!0,type:Boolean}],layout:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],overflowActionsDisabled:[7,{},{reflect:!0,type:Boolean}],overlayPositioning:[3,{},{reflect:!0}],position:[3,{},{reflect:!0}],scale:[3,{},{reflect:!0}]}}static{this.styles=M}async overflowActions(){this.resize({width:this.el.clientWidth,height:this.el.clientHeight})}async setFocus(){await E(this),A(this.el)}connectedCallback(){super.connectedCallback(),this.updateGroups(),this.overflowActions(),this.mutationObserver?.observe(this.el,{childList:!0,subtree:!0}),this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}willUpdate(t){t.has("expandDisabled")&&(this.hasUpdated||this.expandDisabled!==!1)&&this.overflowActions(),t.has("expanded")&&this.hasUpdated&&this.expandedHandler(),t.has("layout")&&(this.hasUpdated||this.layout!=="vertical")&&this.updateGroups(),t.has("overflowActionsDisabled")&&(this.hasUpdated||this.overflowActionsDisabled!==!1)&&this.overflowActionsDisabledHandler(this.overflowActionsDisabled)}loaded(){this.overflowActions()}disconnectedCallback(){super.disconnectedCallback(),this.mutationObserver?.disconnect(),this.resizeObserver?.disconnect()}getItemSizes(){let{el:t,layout:e,expandToggleEl:o}=this,i=S(t);o&&i.push(o);let a=e==="horizontal"?"clientWidth":"clientHeight",n=Math.max(...i.map(s=>s[a]||0));return i.map(s=>s[a]||n)}expandedHandler(){let{el:t,expanded:e}=this;T({el:t,expanded:e}),this.overflowActions()}overflowActionsDisabledHandler(t){if(t){this.resizeObserver?.disconnect();return}this.resizeObserver?.observe(this.el),this.overflowActions()}actionMenuOpenHandler(t){if(t.target.menuOpen){let e=t.composedPath();this.actionGroups?.forEach(o=>{e.includes(o)||(o.menuOpen=!1)})}}mutationObserverHandler(){this.updateGroups(),this.overflowActions()}resizeHandlerEntries(t){t.forEach(this.resizeHandler)}updateGroups(){let t=Array.from(this.el.querySelectorAll("calcite-action-group"));this.actionGroups=t,t.forEach(e=>{e.layout=this.layout,e.scale=this.scale})}handleDefaultSlotChange(){this.updateGroups()}handleActionsEndSlotChange(t){this.hasActionsEnd=f(t)}handleBottomActionsSlotChange(t){this.hasBottomActions=f(t)}handleTooltipSlotChange(t){let e=z(t).filter(o=>o?.matches("calcite-tooltip"));this.expandTooltip=e[0]}renderBottomActionGroup(){let{expanded:t,expandDisabled:e,el:o,position:i,toggleExpand:a,scale:n,layout:s,messages:l,actionsEndGroupLabel:c,overlayPositioning:d}=this,$=e?null:G({collapseLabel:l.collapseLabel,collapseText:l.collapse,el:o,expandLabel:l.expandLabel,expandText:l.expand,expanded:t,position:i,ref:B=>this.expandToggleEl=B,scale:n,toggle:a,tooltip:this.expandTooltip});return h`<calcite-action-group class=${p(H.actionGroupEnd)} .hidden=${this.expandDisabled&&!(this.hasActionsEnd||this.hasBottomActions)} .label=${c} .layout=${s} .overlayPositioning=${d} .scale=${n}><slot name=${b.actionsEnd} @slotchange=${this.handleActionsEndSlotChange}></slot><slot name=${b.bottomActions} @slotchange=${this.handleBottomActionsSlotChange}></slot><slot name=${b.expandTooltip} @slotchange=${this.handleTooltipSlotChange}></slot>${$}</calcite-action-group>`}render(){return h`<div class=${p(H.container)}><slot @slotchange=${this.handleDefaultSlotChange}></slot>${this.renderBottomActionGroup()}</div>`}};y("calcite-action-bar",g);export{g as ActionBar};
@@ -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.0-next.55 */
4
- import{a as G,b as T}from"./ADBEBJI2.js";import{a as O,b as x}from"./ERRVAWAU.js";import{a as y}from"./AQ752BXZ.js";import{a as E}from"./P2WSLF2U.js";import{g as C,n as I}from"./YG4T52XL.js";import{d as S}from"./V6VQZVQB.js";import"./V4GPKLHL.js";import{a as B}from"./CANW2BLU.js";import{E as g,F as c,L as v,R as k,c as f,d as h,q as n}from"./FN25BDBM.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.0-next.56 */
4
+ import{a as G,b as T}from"./NT5VJV2C.js";import{a as O,b as x}from"./NE6DRDJN.js";import{a as y}from"./HSMFIVFL.js";import{a as E}from"./XMSYZAZA.js";import{g as C,n as I}from"./Z4IWO62R.js";import{d as S}from"./3NRKDF6M.js";import"./QFRIDX27.js";import{a as B}from"./4LQ6DLGL.js";import{E as g,F as c,L as v,R as k,c as f,d as h,q as n}from"./4L4VF67R.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.0-next.55 */
4
- import{a as p,b as u}from"./UH2QBJBL.js";import"./F7RUV6DA.js";import{a as h}from"./YHMCYX7U.js";import{d as f}from"./SGHXACDU.js";import{u as m}from"./YG4T52XL.js";import{a as g}from"./V4GPKLHL.js";import"./CANW2BLU.js";import{E as c,F as t,R as d,c as l,d as i,q as r}from"./FN25BDBM.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},y={thumbnail:"thumbnail"},T=l`:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}.header{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){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))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends c{constructor(){super(...arguments),this.messages=f(),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.selected=!1,this.calciteTipDismiss=r({cancelable:!1})}static{this.properties={hasThumbnail:[16,{},{state:!0}],closeDisabled:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],messageOverrides:[0,{},{attribute:!1}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=T}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:a,el:b}=this,s=b.closest("calcite-tip-manager")?.headingLevel,v=s?p(s+1):null,x=a||v;return n?i`<header class=${t(e.header)}>${u({class:e.heading,level:x,children:n})}</header>`:null}renderDismissButton(){let{closeDisabled:n,hideTip:a}=this;return n?null:i`<calcite-action class=${t(e.close)} .icon=${$.close} @click=${a} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${t(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${y.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${t({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${t(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${t(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",o);export{o as Tip};
3
+ v3.2.0-next.56 */
4
+ import{a as p,b as u}from"./4Z65SZFY.js";import"./NF3VRG7H.js";import{a as h}from"./EZIJF4UO.js";import{d as f}from"./2K32TZJ3.js";import{u as m}from"./Z4IWO62R.js";import{a as g}from"./QFRIDX27.js";import"./4LQ6DLGL.js";import{E as c,F as t,R as d,c as l,d as i,q as r}from"./4L4VF67R.js";var e={container:"container",header:"header",heading:"heading",close:"close",imageFrame:"image-frame",content:"content",info:"info",infoNoThumbnail:"info--no-thumbnail"},$={close:"x"},y={thumbnail:"thumbnail"},T=l`:host{position:relative;margin:1rem;box-sizing:border-box;display:flex;flex-direction:row;border-width:1px;border-style:solid;border-color:var(--calcite-color-border-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}:host *{box-sizing:border-box}.container{inline-size:100%;padding:1rem}:host([closed]),:host([closed]) .container{display:none}:host([selected]) .container{margin:0;border-style:none;padding:0}.header{margin:0;display:flex;align-content:space-between;align-items:center;fill:var(--calcite-color-text-2);color:var(--calcite-color-text-2)}.heading{margin:0;padding:0;font-weight:var(--calcite-font-weight-medium)}.header .heading{flex:1 1 auto;padding:.5rem}.header{margin-block-end:.5rem}.header .heading{padding:0;font-size:var(--calcite-font-size-0);line-height:1.25rem;color:var(--calcite-color-text-1)}.container[hidden]{display:none}.content{display:flex}.info{padding-block:0px;padding-inline:1rem;inline-size:70%}.info--no-thumbnail{inline-size:100%;padding-inline:0px}::slotted(p){margin-block-start:0px}::slotted(a){outline-color:transparent;color:var(--calcite-color-brand)}::slotted(a:focus){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))))}.image-frame{inline-size:25%}.image-frame img{max-inline-size:100%}::slotted(img){max-inline-size:100%}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends c{constructor(){super(...arguments),this.messages=f(),this.hasThumbnail=!1,this.closeDisabled=!1,this.closed=!1,this.selected=!1,this.calciteTipDismiss=r({cancelable:!1})}static{this.properties={hasThumbnail:[16,{},{state:!0}],closeDisabled:[7,{},{reflect:!0,type:Boolean}],closed:[7,{},{reflect:!0,type:Boolean}],heading:1,headingLevel:[11,{},{type:Number,reflect:!0}],messageOverrides:[0,{},{attribute:!1}],selected:[7,{},{reflect:!0,type:Boolean}]}}static{this.styles=T}async load(){g.deprecated("component",{name:"tip",removalVersion:4,suggested:["card","notice","panel","tile"]})}hideTip(){this.closed=!0,this.calciteTipDismiss.emit()}handleThumbnailSlotChange(n){this.hasThumbnail=m(n)}renderHeader(){let{heading:n,headingLevel:a,el:b}=this,s=b.closest("calcite-tip-manager")?.headingLevel,v=s?p(s+1):null,x=a||v;return n?i`<header class=${t(e.header)}>${u({class:e.heading,level:x,children:n})}</header>`:null}renderDismissButton(){let{closeDisabled:n,hideTip:a}=this;return n?null:i`<calcite-action class=${t(e.close)} .icon=${$.close} @click=${a} scale=l .text=${this.messages.close}></calcite-action>`}renderImageFrame(){return h("thumbnail",i`<div class=${t(e.imageFrame)} .hidden=${!this.hasThumbnail}><slot name=${y.thumbnail} @slotchange=${this.handleThumbnailSlotChange}></slot></div>`)}renderInfoNode(){return i`<div class=${t({[e.info]:!0,[e.infoNoThumbnail]:!this.hasThumbnail})}><slot></slot></div>`}renderContent(){return i`<div class=${t(e.content)}>${this.renderImageFrame()}${this.renderInfoNode()}</div>`}render(){return i`<article class=${t(e.container)}>${this.renderHeader()}${this.renderContent()}</article>${this.renderDismissButton()}`}};d("calcite-tip",o);export{o as Tip};
@@ -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.0-next.55 */
4
- import{a as t}from"./V4GPKLHL.js";function r(i){return i==="l"?"m":"s"}function o(i,n,a){!i[n]&&!i[a]&&t.warn(`[${i.el.localName}] "${n.toString()}" or "${a.toString()}" is required.`)}function s(i){return i.hidden||i.itemHidden}async function u(i){await i.componentOnReady(),await i.updateComplete}export{r as a,o as b,s as c,u as d};
3
+ v3.2.0-next.56 */
4
+ import{a as t}from"./QFRIDX27.js";function r(i){return i==="l"?"m":"s"}function o(i,n,a){!i[n]&&!i[a]&&t.warn(`[${i.el.localName}] "${n.toString()}" or "${a.toString()}" is required.`)}function s(i){return i.hidden||i.itemHidden}async function u(i){await i.componentOnReady(),await i.updateComplete}export{r as a,o as b,s as c,u 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.0-next.55 */
4
- import{A,B as D,C as y,g as P,u as k,v as w,w as V,y as m,z as p}from"./FN25BDBM.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I as a};
3
+ v3.2.0-next.56 */
4
+ import{A,B as D,C as y,g as P,u as k,v as w,w as V,y as m,z as p}from"./4L4VF67R.js";var b=(s,f,c)=>{let h=new Map;for(let e=f;e<=c;e++)h.set(s[e],e);return h},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let h;c===void 0?c=f:f!==void 0&&(h=f);let e=[],n=[],l=0;for(let a of s)e[l]=h?h(a,l):l,n[l]=c(a,l),l++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,h]){let e=D(s),{values:n,keys:l}=this.dt(f,c,h);if(!Array.isArray(e))return this.ut=l,n;let a=this.ut??=[],u=[],v,x,t=0,o=e.length-1,r=0,i=n.length-1;for(;t<=o&&r<=i;)if(e[t]===null)t++;else if(e[o]===null)o--;else if(a[t]===l[r])u[r]=p(e[t],n[r]),t++,r++;else if(a[o]===l[i])u[i]=p(e[o],n[i]),o--,i--;else if(a[t]===l[i])u[i]=p(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[o]===l[r])u[r]=p(e[o],n[r]),m(s,e[t],e[o]),o--,r++;else if(v===void 0&&(v=b(l,r,i),x=b(a,t,o)),v.has(a[t]))if(v.has(a[o])){let d=x.get(l[r]),g=d!==void 0?e[d]:null;if(g===null){let C=m(s,e[t]);p(C,n[r]),u[r]=C}else u[r]=p(g,n[r]),m(s,e[t],g),e[d]=null;r++}else y(e[o]),o--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);p(d,n[r]),u[r++]=d}for(;t<=o;){let d=e[t++];d!==null&&y(d)}return this.ut=l,A(s,u),P}});export{I 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.0-next.55 */
4
- import{a as x,b as p,c as I,e as D,f as g,g as N,h as T,i as H,j as S,l as z,m as E}from"./6IIYJ575.js";import{b as w,c as k}from"./KEUA3BJE.js";import{b as d}from"./DBP4F3SX.js";import{b}from"./5DOD2Y2V.js";import{d as L}from"./SGHXACDU.js";import{b as f}from"./SX7ACEXB.js";import{e as U}from"./YG4T52XL.js";import{a as C,d as $}from"./V6VQZVQB.js";import"./V4GPKLHL.js";import"./CANW2BLU.js";import{E as A,F as r,R as V,c as P,d as m,q as y}from"./FN25BDBM.js";var t={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",decimalSeparator:"decimal-separator",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",minuteSuffix:"minute-suffix",second:"second",secondSuffix:"second-suffix",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},q=P`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;font-weight:var(--calcite-font-weight-medium);--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round));color:var(--calcite-time-picker-color, var(--calcite-color-text-1));background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .button:hover,.time-picker .button:focus{outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0;background-color:var(--calcite-time-picker-button-background-color-hover, var(--calcite-color-foreground-2))}.time-picker .button:active{background-color:var(--calcite-time-picker-button-background-color-press, var(--calcite-color-foreground-3))}.time-picker .button.top-left{border-start-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.top-right{border-start-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button calcite-icon{color:var(--calcite-time-picker-icon-color, var(--calcite-color-text-3))}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-hover, var(--calcite-color-foreground-2));z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-xxs)}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-md)}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:var(--calcite-spacing-xl);padding-block:var(--calcite-spacing-sm)}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xl)}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:var(--calcite-spacing-xxl);padding-block:var(--calcite-spacing-md)}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xxl)}:host([hidden]){display:none}[hidden]{display:none}`;function G(v){return v.charAt(0).toUpperCase()+v.slice(1)}var M=class extends A{constructor(){super(),this.pointerActivated=!1,this.messages=L(),this.localizedDecimalSeparator=".",this.hourFormat="user",this.scale="m",this.step=60,this.value=null,this.calciteTimePickerChange=y({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listen("pointerdown",this.pointerDownHandler)}static{this.properties={activeEl:[16,{},{state:!0}],effectiveHourFormat:[16,{},{state:!0}],fractionalSecond:[16,{},{state:!0}],hour:[16,{},{state:!0}],localizedDecimalSeparator:[16,{},{state:!0}],localizedFractionalSecond:[16,{},{state:!0}],localizedHour:[16,{},{state:!0}],localizedHourSuffix:[16,{},{state:!0}],localizedMeridiem:[16,{},{state:!0}],localizedMinute:[16,{},{state:!0}],localizedMinuteSuffix:[16,{},{state:!0}],localizedSecond:[16,{},{state:!0}],localizedSecondSuffix:[16,{},{state:!0}],meridiem:[16,{},{state:!0}],minute:[16,{},{state:!0}],second:[16,{},{state:!0}],showFractionalSecond:[16,{},{state:!0}],showSecond:[16,{},{state:!0}],hourFormat:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=q}async setFocus(){await $(this),this.el?.focus()}connectedCallback(){super.connectedCallback(),this.updateLocale(),this.toggleSecond()}willUpdate(e){e.has("step")&&(this.hasUpdated||this.step!==60)&&this.toggleSecond(),e.has("value")&&(this.hasUpdated||this.value!==null)&&this.setValue(this.value),(e.has("hourFormat")||e.has("messages"))&&this.updateLocale()}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1}keyDownHandler(e){this.pointerActivated=!1;let{defaultPrevented:i,key:a}=e;if(!i)switch(this.activeEl){case this.hourEl:a==="ArrowRight"&&(this.focusPart("minute"),e.preventDefault());break;case this.minuteEl:switch(a){case"ArrowLeft":this.focusPart("hour"),e.preventDefault();break;case"ArrowRight":this.step!==60?(this.focusPart("second"),e.preventDefault()):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.secondEl:switch(a){case"ArrowLeft":this.focusPart("minute"),e.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.fractionalSecondEl:switch(a){case"ArrowLeft":this.focusPart("second"),e.preventDefault();break;case"ArrowRight":this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.meridiemEl:switch(a){case"ArrowLeft":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.step!==60?(this.focusPart("second"),e.preventDefault()):(this.focusPart("minute"),e.preventDefault());break}break}}pointerDownHandler(){this.pointerActivated=!0}async focusPart(e){await $(this),this[`${e||"hour"}El`]?.focus()}decrementHour(){let e=this.hour?parseInt(this.hour)===0?23:parseInt(this.hour)-1:0;this.setValuePart("hour",e)}decrementMeridiem(){let e=this.meridiem==="PM"?"AM":"PM";this.setValuePart("meridiem",e)}decrementMinuteOrSecond(e){let i;if(d(this[e])){let a=parseInt(this[e]);i=a===0?59:a-1}else i=59;this.setValuePart(e,i)}decrementMinute(){this.decrementMinuteOrSecond("minute")}decrementSecond(){this.decrementMinuteOrSecond("second")}focusHandler(e){this.pointerActivated||(this.activeEl=e.currentTarget)}fractionalSecondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let{stepPrecision:a}=this,s=parseInt(this.fractionalSecond),o=s.toString().length,c;o>=a?c=i.padStart(a,"0"):o<a&&(c=`${s}${i}`.padStart(a,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${c}`))}else switch(i){case"Backspace":case"Delete":this.setValuePart("fractionalSecond",null);break;case"ArrowDown":e.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":e.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":e.preventDefault();break}}fractionalSecondDownClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("down")}fractionalSecondUpClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("up")}hourDownClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.decrementHour()}hourKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.hour))switch(this.effectiveHourFormat){case"12":s=this.hour==="01"&&a>=0&&a<=2?`1${a}`:a;break;case"24":this.hour==="01"?s=`1${a}`:this.hour==="02"&&a>=0&&a<=3?s=`2${a}`:s=a;break}else s=a;this.setValuePart("hour",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault(),this.decrementHour();break;case"ArrowUp":e.preventDefault(),this.incrementHour();break;case" ":e.preventDefault();break}}hourUpClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.incrementHour()}incrementMeridiem(){let e=this.meridiem==="AM"?"PM":"AM";this.setValuePart("meridiem",e)}incrementHour(){let e=d(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setValuePart("hour",e)}incrementMinuteOrSecond(e){let i=d(this[e])?this[e]==="59"?0:parseInt(this[e])+1:0;this.setValuePart(e,i)}incrementMinute(){this.incrementMinuteOrSecond("minute")}incrementSecond(){this.incrementMinuteOrSecond("second")}inputClickHandler(e){this.activeEl=e.target}meridiemUpClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.incrementMeridiem()}meridiemKeyDownHandler(e){switch(e.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":e.preventDefault(),this.decrementMeridiem();break;case" ":e.preventDefault();break}}meridiemDownClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.decrementMeridiem()}minuteDownClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.decrementMinute()}minuteUpClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.incrementMinute()}minuteKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.minute)&&this.minute.startsWith("0")){let o=parseInt(this.minute);s=o>x?a:`${o}${a}`}else s=a;this.setValuePart("minute",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault(),this.decrementMinute();break;case"ArrowUp":e.preventDefault(),this.incrementMinute();break;case" ":e.preventDefault();break}}nudgeFractionalSecond(e){let i=k(this.step),{stepPrecision:a}=this,s=parseInt(this.fractionalSecond),o=parseFloat(`0.${this.fractionalSecond}`),c,n,u,l;e==="up"&&(c=isNaN(s)?0:o+i,n=parseFloat(c.toFixed(a)),u=k(n),l=n<1&&w(u)>0?p(u,a):"".padStart(a,"0")),e==="down"&&(c=isNaN(s)||s===0?1-i:o-i,n=parseFloat(c.toFixed(a)),u=k(n),l=n<1&&w(u)>0&&Math.sign(u)===1?p(u,a):"".padStart(a,"0")),this.setValuePart("fractionalSecond",l)}sanitizeValue(e){let{hour:i,minute:a,second:s,fractionalSecond:o}=E(e);if(o){let c=this.sanitizeFractionalSecond(o);return`${i}:${a}:${s}.${c}`}return H(e)&&e}sanitizeFractionalSecond(e){let{stepPrecision:i}=this;return e&&i!==e.length?parseFloat(`0.${e}`).toFixed(i).replace("0.",""):e}secondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.second)&&this.second.startsWith("0")){let o=parseInt(this.second);s=o>x?a:`${o}${a}`}else s=a;this.setValuePart("second",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":e.preventDefault(),this.decrementSecond();break;case"ArrowUp":e.preventDefault(),this.incrementSecond();break;case" ":e.preventDefault();break}}secondDownClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.decrementSecond()}secondUpClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.incrementSecond()}setHourEl(e){this.hourEl=e}setMeridiemEl(e){this.meridiemEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setFractionalSecondEl(e){this.fractionalSecondEl=e}setValue(e){if(H(e)){let{hour:i,minute:a,second:s,fractionalSecond:o}=E(e),{effectiveHourFormat:c,messages:{_lang:n},numberingSystem:u,step:l}=this,{localizedHour:h,localizedHourSuffix:K,localizedMinute:O,localizedMinuteSuffix:R,localizedSecond:_,localizedDecimalSeparator:B,localizedFractionalSecond:j,localizedSecondSuffix:W,localizedMeridiem:F}=z({value:e,locale:n,numberingSystem:u,hour12:c==="12",step:l});this.hour=i,this.minute=a,this.second=s,this.fractionalSecond=this.sanitizeFractionalSecond(o),this.localizedHour=h,this.localizedHourSuffix=K,this.localizedMinute=O,this.localizedMinuteSuffix=R,this.localizedSecond=_,this.localizedDecimalSeparator=B,this.localizedFractionalSecond=j,this.localizedSecondSuffix=W,F&&(this.localizedMeridiem=F,this.meridiem=N(this.hour))}else this.hour=null,this.fractionalSecond=null,this.localizedHour=null,this.localizedHourSuffix=g("hour",this.messages._lang,this.numberingSystem),this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=g("minute",this.messages._lang,this.numberingSystem),this.localizedSecond=null,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.localizedFractionalSecond=null,this.localizedSecondSuffix=g("second",this.messages._lang,this.numberingSystem),this.meridiem=null,this.minute=null,this.second=null,this.value=null}setValuePart(e,i){let{effectiveHourFormat:a,messages:{_lang:s},numberingSystem:o,step:c}=this,n=a==="12";if(e==="meridiem"){if(this.meridiem=i,d(this.hour)){let h=parseInt(this.hour);switch(i){case"AM":h>=12&&(this.hour=p(h-12));break;case"PM":h<12&&(this.hour=p(h+12));break}this.localizedHour=S({value:this.hour,part:"hour",locale:s,numberingSystem:o,hour12:n})}}else if(e==="fractionalSecond"){let{stepPrecision:h}=this;typeof i=="number"?this.fractionalSecond=i===0?"".padStart(h,"0"):p(i,h):this.fractionalSecond=i,this.localizedFractionalSecond=S({value:this.fractionalSecond,part:"fractionalSecond",locale:s,numberingSystem:o,hour12:n})}else this[e]=typeof i=="number"?p(i):i,this[`localized${G(e)}`]=S({value:this[e],part:e,locale:s,numberingSystem:o,hour12:n});let u=!1,l;this.hour&&this.minute?(l=`${this.hour}:${this.minute}`,this.showSecond&&(l=`${l}:${this.second??"00"}`,this.showFractionalSecond&&this.fractionalSecond&&(l=`${l}.${this.fractionalSecond}`))):l=null,this.value!==l&&(u=!0),this.value=l,this.localizedMeridiem=this.value?z({hour12:n,locale:s,numberingSystem:o,step:c,value:this.value})?.localizedMeridiem||null:S({hour12:n,value:this.meridiem,part:"meridiem",locale:s,numberingSystem:o}),u&&this.calciteTimePickerChange.emit()}toggleSecond(){this.showSecond=this.step<60,this.stepPrecision=w(this.step),this.showFractionalSecond=this.stepPrecision>0}updateLocale(){this.effectiveHourFormat=this.hourFormat==="user"?I(this.messages._lang):this.hourFormat,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.meridiemOrder=T(this.messages._lang),this.setValue(this.sanitizeValue(this.value))}render(){let e=d(this.hour),i=C(this.scale),a=d(this.minute),s=d(this.second),o=d(this.fractionalSecond),c=this.messages._lang!=="bg"&&this.localizedSecondSuffix,n=this.effectiveHourFormat==="12";return m`<div class=${r({[t.timePicker]:!0,[t.showMeridiem]:n,[t.showSecond]:this.showSecond,[t[`scale-${this.scale}`]]:!0})} dir=ltr><div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.hourUp} class=${r({[t.button]:!0,[t.buttonHourUp]:!0,[t.buttonTopLeft]:!0})} @click=${this.hourUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${e&&parseInt(this.hour)||"0"} .ariaValueText=${this.hour} class=${r({[t.input]:!0,[t.hour]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.hourEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.hourKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setHourEl)}>${this.localizedHour||"--"}</span><span .ariaLabel=${this.messages.hourDown} class=${r({[t.button]:!0,[t.buttonHourDown]:!0,[t.buttonBottomLeft]:!0})} @click=${this.hourDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div><span class=${r({[t.delimiter]:!0,[t.hourSuffix]:!0})}>${this.localizedHourSuffix}</span><div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.minuteUp} class=${r({[t.button]:!0,[t.buttonMinuteUp]:!0})} @click=${this.minuteUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${a&&parseInt(this.minute)||"0"} .ariaValueText=${this.minute} class=${r({[t.input]:!0,[t.minute]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.minuteEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.minuteKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMinuteEl)}>${this.localizedMinute||"--"}</span><span .ariaLabel=${this.messages.minuteDown} class=${r({[t.button]:!0,[t.buttonMinuteDown]:!0})} @click=${this.minuteDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>${this.showSecond&&m`<span class=${r({[t.delimiter]:!0,[t.minuteSuffix]:!0})}>${this.localizedMinuteSuffix}</span>`||""}${this.showSecond&&m`<div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.secondUp} class=${r({[t.button]:!0,[t.buttonSecondUp]:!0})} @click=${this.secondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${s&&parseInt(this.second)||"0"} .ariaValueText=${this.second} class=${r({[t.input]:!0,[t.second]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.secondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.secondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setSecondEl)}>${this.localizedSecond||"--"}</span><span .ariaLabel=${this.messages.secondDown} class=${r({[t.button]:!0,[t.buttonSecondDown]:!0})} @click=${this.secondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${this.showFractionalSecond&&m`<span class=${r({[t.delimiter]:!0,[t.decimalSeparator]:!0})}>${this.localizedDecimalSeparator}</span>`||""}${this.showFractionalSecond&&m`<div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.fractionalSecondUp} class=${r({[t.button]:!0,[t.buttonFractionalSecondUp]:!0})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${o&&parseInt(this.fractionalSecond)||"0"} .ariaValueText=${this.localizedFractionalSecond} class=${r({[t.input]:!0,[t.fractionalSecond]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.fractionalSecondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.fractionalSecondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setFractionalSecondEl)}>${this.localizedFractionalSecond||"".padStart(this.stepPrecision,"-")}</span><span .ariaLabel=${this.messages.fractionalSecondDown} class=${r({[t.button]:!0,[t.buttonFractionalSecondDown]:!0})} @click=${this.fractionalSecondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${c&&m`<span class=${r({[t.delimiter]:!0,[t.secondSuffix]:!0})}>${this.localizedSecondSuffix}</span>`||""}${n&&m`<div class=${r({[t.column]:!0,[t.meridiemStart]:this.meridiemOrder===0||U(this.el)==="rtl"})} role=group><span .ariaLabel=${this.messages.meridiemUp} class=${r({[t.button]:!0,[t.buttonMeridiemUp]:!0,[t.buttonTopRight]:!0})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${this.meridiem==="PM"&&"2"||"1"} .ariaValueText=${this.meridiem} class=${r({[t.input]:!0,[t.meridiem]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.meridiemEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.meridiemKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMeridiemEl)}>${this.localizedMeridiem||"--"}</span><span .ariaLabel=${this.messages.meridiemDown} class=${r({[t.button]:!0,[t.buttonMeridiemDown]:!0,[t.buttonBottomRight]:!0})} @click=${this.meridiemDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}</div>`}};V("calcite-time-picker",M);export{M as TimePicker};
3
+ v3.2.0-next.56 */
4
+ import{a as x,b as p,c as I,e as D,f as g,g as N,h as T,i as H,j as S,l as z,m as E}from"./4B6HYBVQ.js";import{b as w,c as k}from"./YA662X4N.js";import{b as d}from"./FESV2GSU.js";import{b}from"./EKEYNJII.js";import{d as L}from"./2K32TZJ3.js";import{b as f}from"./THB2656Y.js";import{e as U}from"./Z4IWO62R.js";import{a as C,d as $}from"./3NRKDF6M.js";import"./QFRIDX27.js";import"./4LQ6DLGL.js";import{E as A,F as r,R as V,c as P,d as m,q as y}from"./4L4VF67R.js";var t={button:"button",buttonBottomLeft:"button--bottom-left",buttonBottomRight:"button--bottom-right",buttonFractionalSecondDown:"button--fractionalSecond-down",buttonFractionalSecondUp:"button--fractionalSecond-up",buttonHourDown:"button--hour-down",buttonHourUp:"button--hour-up",buttonMeridiemDown:"button--meridiem-down",buttonMeridiemUp:"button--meridiem-up",buttonMinuteDown:"button--minute-down",buttonMinuteUp:"button--minute-up",buttonSecondDown:"button--second-down",buttonSecondUp:"button--second-up",buttonTopLeft:"button--top-left",buttonTopRight:"button--top-right",column:"column",decimalSeparator:"decimal-separator",delimiter:"delimiter",fractionalSecond:"fractionalSecond",hour:"hour",hourSuffix:"hour-suffix",input:"input",inputFocus:"inputFocus",meridiem:"meridiem",minute:"minute",minuteSuffix:"minute-suffix",second:"second",secondSuffix:"second-suffix",showMeridiem:"show-meridiem",showSecond:"show-second","scale-s":"scale-s","scale-m":"scale-m","scale-l":"scale-l",timePicker:"time-picker",meridiemStart:"meridiem--start"},q=P`:host{display:inline-block}.time-picker{display:flex;-webkit-user-select:none;user-select:none;align-items:center;font-weight:var(--calcite-font-weight-medium);--tw-shadow: 0 6px 20px -4px rgba(0, 0, 0, .1), 0 4px 12px -2px rgba(0, 0, 0, .08);--tw-shadow-colored: 0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow);border-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round));color:var(--calcite-time-picker-color, var(--calcite-color-text-1));background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .column{display:flex;flex-direction:column}.time-picker .meridiem--start{order:-1}.time-picker .button{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .button:hover,.time-picker .button:focus{outline:2px solid transparent;outline-offset:2px;z-index:var(--calcite-z-index-header);outline-offset:0;background-color:var(--calcite-time-picker-button-background-color-hover, var(--calcite-color-foreground-2))}.time-picker .button:active{background-color:var(--calcite-time-picker-button-background-color-press, var(--calcite-color-foreground-3))}.time-picker .button.top-left{border-start-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-left{border-end-start-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.top-right{border-start-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button.bottom-right{border-end-end-radius:var(--calcite-time-picker-corner-radius, var(--calcite-border-radius-round))}.time-picker .button calcite-icon{color:var(--calcite-time-picker-icon-color, var(--calcite-color-text-3))}.time-picker .input{display:inline-flex;cursor:pointer;align-items:center;justify-content:center;font-weight:var(--calcite-font-weight-medium);background-color:var(--calcite-time-picker-background-color, var(--calcite-color-foreground-1))}.time-picker .input:hover{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-hover, var(--calcite-color-foreground-2));z-index:var(--calcite-z-index-header)}.time-picker .input:focus,.time-picker .input:hover:focus{outline:2px solid transparent;outline-offset:2px;outline-offset:0}.time-picker .input.inputFocus,.time-picker .input:hover.inputFocus{box-shadow:inset 0 0 0 2px var(--calcite-time-picker-input-border-color-press, var(--calcite-color-brand));z-index:var(--calcite-z-index-header)}.time-picker.scale-s{font-size:var(--calcite-font-size--1)}.time-picker.scale-s .button,.time-picker.scale-s .input{padding-inline:var(--calcite-spacing-md);padding-block:var(--calcite-spacing-xxs)}.time-picker.scale-s:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-md)}.time-picker.scale-m{font-size:var(--calcite-font-size-0)}.time-picker.scale-m .button,.time-picker.scale-m .input{padding-inline:var(--calcite-spacing-xl);padding-block:var(--calcite-spacing-sm)}.time-picker.scale-m:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xl)}.time-picker.scale-l{font-size:var(--calcite-font-size-1)}.time-picker.scale-l .button,.time-picker.scale-l .input{padding-inline:var(--calcite-spacing-xxl);padding-block:var(--calcite-spacing-md)}.time-picker.scale-l:not(.show-meridiem) .delimiter:last-child{padding-inline-end:var(--calcite-spacing-xxl)}:host([hidden]){display:none}[hidden]{display:none}`;function G(v){return v.charAt(0).toUpperCase()+v.slice(1)}var M=class extends A{constructor(){super(),this.pointerActivated=!1,this.messages=L(),this.localizedDecimalSeparator=".",this.hourFormat="user",this.scale="m",this.step=60,this.value=null,this.calciteTimePickerChange=y({cancelable:!1}),this.listen("blur",this.blurHandler),this.listen("keydown",this.keyDownHandler),this.listen("pointerdown",this.pointerDownHandler)}static{this.properties={activeEl:[16,{},{state:!0}],effectiveHourFormat:[16,{},{state:!0}],fractionalSecond:[16,{},{state:!0}],hour:[16,{},{state:!0}],localizedDecimalSeparator:[16,{},{state:!0}],localizedFractionalSecond:[16,{},{state:!0}],localizedHour:[16,{},{state:!0}],localizedHourSuffix:[16,{},{state:!0}],localizedMeridiem:[16,{},{state:!0}],localizedMinute:[16,{},{state:!0}],localizedMinuteSuffix:[16,{},{state:!0}],localizedSecond:[16,{},{state:!0}],localizedSecondSuffix:[16,{},{state:!0}],meridiem:[16,{},{state:!0}],minute:[16,{},{state:!0}],second:[16,{},{state:!0}],showFractionalSecond:[16,{},{state:!0}],showSecond:[16,{},{state:!0}],hourFormat:[3,{},{reflect:!0}],messageOverrides:[0,{},{attribute:!1}],numberingSystem:1,scale:[3,{},{reflect:!0}],step:[11,{},{reflect:!0,type:Number}],value:1}}static{this.shadowRootOptions={mode:"open",delegatesFocus:!0}}static{this.styles=q}async setFocus(){await $(this),this.el?.focus()}connectedCallback(){super.connectedCallback(),this.updateLocale(),this.toggleSecond()}willUpdate(e){e.has("step")&&(this.hasUpdated||this.step!==60)&&this.toggleSecond(),e.has("value")&&(this.hasUpdated||this.value!==null)&&this.setValue(this.value),(e.has("hourFormat")||e.has("messages"))&&this.updateLocale()}blurHandler(){this.activeEl=void 0,this.pointerActivated=!1}keyDownHandler(e){this.pointerActivated=!1;let{defaultPrevented:i,key:a}=e;if(!i)switch(this.activeEl){case this.hourEl:a==="ArrowRight"&&(this.focusPart("minute"),e.preventDefault());break;case this.minuteEl:switch(a){case"ArrowLeft":this.focusPart("hour"),e.preventDefault();break;case"ArrowRight":this.step!==60?(this.focusPart("second"),e.preventDefault()):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.secondEl:switch(a){case"ArrowLeft":this.focusPart("minute"),e.preventDefault();break;case"ArrowRight":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.fractionalSecondEl:switch(a){case"ArrowLeft":this.focusPart("second"),e.preventDefault();break;case"ArrowRight":this.effectiveHourFormat==="12"&&(this.focusPart("meridiem"),e.preventDefault());break}break;case this.meridiemEl:switch(a){case"ArrowLeft":this.showFractionalSecond?this.focusPart("fractionalSecond"):this.step!==60?(this.focusPart("second"),e.preventDefault()):(this.focusPart("minute"),e.preventDefault());break}break}}pointerDownHandler(){this.pointerActivated=!0}async focusPart(e){await $(this),this[`${e||"hour"}El`]?.focus()}decrementHour(){let e=this.hour?parseInt(this.hour)===0?23:parseInt(this.hour)-1:0;this.setValuePart("hour",e)}decrementMeridiem(){let e=this.meridiem==="PM"?"AM":"PM";this.setValuePart("meridiem",e)}decrementMinuteOrSecond(e){let i;if(d(this[e])){let a=parseInt(this[e]);i=a===0?59:a-1}else i=59;this.setValuePart(e,i)}decrementMinute(){this.decrementMinuteOrSecond("minute")}decrementSecond(){this.decrementMinuteOrSecond("second")}focusHandler(e){this.pointerActivated||(this.activeEl=e.currentTarget)}fractionalSecondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let{stepPrecision:a}=this,s=parseInt(this.fractionalSecond),o=s.toString().length,c;o>=a?c=i.padStart(a,"0"):o<a&&(c=`${s}${i}`.padStart(a,"0")),this.setValuePart("fractionalSecond",parseFloat(`0.${c}`))}else switch(i){case"Backspace":case"Delete":this.setValuePart("fractionalSecond",null);break;case"ArrowDown":e.preventDefault(),this.nudgeFractionalSecond("down");break;case"ArrowUp":e.preventDefault(),this.nudgeFractionalSecond("up");break;case" ":e.preventDefault();break}}fractionalSecondDownClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("down")}fractionalSecondUpClickHandler(){this.activeEl=this.fractionalSecondEl,this.fractionalSecondEl.focus(),this.nudgeFractionalSecond("up")}hourDownClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.decrementHour()}hourKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.hour))switch(this.effectiveHourFormat){case"12":s=this.hour==="01"&&a>=0&&a<=2?`1${a}`:a;break;case"24":this.hour==="01"?s=`1${a}`:this.hour==="02"&&a>=0&&a<=3?s=`2${a}`:s=a;break}else s=a;this.setValuePart("hour",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("hour",null);break;case"ArrowDown":e.preventDefault(),this.decrementHour();break;case"ArrowUp":e.preventDefault(),this.incrementHour();break;case" ":e.preventDefault();break}}hourUpClickHandler(){this.activeEl=this.hourEl,this.hourEl.focus(),this.incrementHour()}incrementMeridiem(){let e=this.meridiem==="AM"?"PM":"AM";this.setValuePart("meridiem",e)}incrementHour(){let e=d(this.hour)?this.hour==="23"?0:parseInt(this.hour)+1:1;this.setValuePart("hour",e)}incrementMinuteOrSecond(e){let i=d(this[e])?this[e]==="59"?0:parseInt(this[e])+1:0;this.setValuePart(e,i)}incrementMinute(){this.incrementMinuteOrSecond("minute")}incrementSecond(){this.incrementMinuteOrSecond("second")}inputClickHandler(e){this.activeEl=e.target}meridiemUpClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.incrementMeridiem()}meridiemKeyDownHandler(e){switch(e.key){case"a":this.setValuePart("meridiem","AM");break;case"p":this.setValuePart("meridiem","PM");break;case"Backspace":case"Delete":this.setValuePart("meridiem",null);break;case"ArrowUp":e.preventDefault(),this.incrementMeridiem();break;case"ArrowDown":e.preventDefault(),this.decrementMeridiem();break;case" ":e.preventDefault();break}}meridiemDownClickHandler(){this.activeEl=this.meridiemEl,this.meridiemEl.focus(),this.decrementMeridiem()}minuteDownClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.decrementMinute()}minuteUpClickHandler(){this.activeEl=this.minuteEl,this.minuteEl.focus(),this.incrementMinute()}minuteKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.minute)&&this.minute.startsWith("0")){let o=parseInt(this.minute);s=o>x?a:`${o}${a}`}else s=a;this.setValuePart("minute",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("minute",null);break;case"ArrowDown":e.preventDefault(),this.decrementMinute();break;case"ArrowUp":e.preventDefault(),this.incrementMinute();break;case" ":e.preventDefault();break}}nudgeFractionalSecond(e){let i=k(this.step),{stepPrecision:a}=this,s=parseInt(this.fractionalSecond),o=parseFloat(`0.${this.fractionalSecond}`),c,n,u,l;e==="up"&&(c=isNaN(s)?0:o+i,n=parseFloat(c.toFixed(a)),u=k(n),l=n<1&&w(u)>0?p(u,a):"".padStart(a,"0")),e==="down"&&(c=isNaN(s)||s===0?1-i:o-i,n=parseFloat(c.toFixed(a)),u=k(n),l=n<1&&w(u)>0&&Math.sign(u)===1?p(u,a):"".padStart(a,"0")),this.setValuePart("fractionalSecond",l)}sanitizeValue(e){let{hour:i,minute:a,second:s,fractionalSecond:o}=E(e);if(o){let c=this.sanitizeFractionalSecond(o);return`${i}:${a}:${s}.${c}`}return H(e)&&e}sanitizeFractionalSecond(e){let{stepPrecision:i}=this;return e&&i!==e.length?parseFloat(`0.${e}`).toFixed(i).replace("0.",""):e}secondKeyDownHandler(e){let{key:i}=e;if(b.includes(i)){let a=parseInt(i),s;if(d(this.second)&&this.second.startsWith("0")){let o=parseInt(this.second);s=o>x?a:`${o}${a}`}else s=a;this.setValuePart("second",s)}else switch(i){case"Backspace":case"Delete":this.setValuePart("second",null);break;case"ArrowDown":e.preventDefault(),this.decrementSecond();break;case"ArrowUp":e.preventDefault(),this.incrementSecond();break;case" ":e.preventDefault();break}}secondDownClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.decrementSecond()}secondUpClickHandler(){this.activeEl=this.secondEl,this.secondEl.focus(),this.incrementSecond()}setHourEl(e){this.hourEl=e}setMeridiemEl(e){this.meridiemEl=e}setMinuteEl(e){this.minuteEl=e}setSecondEl(e){this.secondEl=e}setFractionalSecondEl(e){this.fractionalSecondEl=e}setValue(e){if(H(e)){let{hour:i,minute:a,second:s,fractionalSecond:o}=E(e),{effectiveHourFormat:c,messages:{_lang:n},numberingSystem:u,step:l}=this,{localizedHour:h,localizedHourSuffix:K,localizedMinute:O,localizedMinuteSuffix:R,localizedSecond:_,localizedDecimalSeparator:B,localizedFractionalSecond:j,localizedSecondSuffix:W,localizedMeridiem:F}=z({value:e,locale:n,numberingSystem:u,hour12:c==="12",step:l});this.hour=i,this.minute=a,this.second=s,this.fractionalSecond=this.sanitizeFractionalSecond(o),this.localizedHour=h,this.localizedHourSuffix=K,this.localizedMinute=O,this.localizedMinuteSuffix=R,this.localizedSecond=_,this.localizedDecimalSeparator=B,this.localizedFractionalSecond=j,this.localizedSecondSuffix=W,F&&(this.localizedMeridiem=F,this.meridiem=N(this.hour))}else this.hour=null,this.fractionalSecond=null,this.localizedHour=null,this.localizedHourSuffix=g("hour",this.messages._lang,this.numberingSystem),this.localizedMeridiem=null,this.localizedMinute=null,this.localizedMinuteSuffix=g("minute",this.messages._lang,this.numberingSystem),this.localizedSecond=null,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.localizedFractionalSecond=null,this.localizedSecondSuffix=g("second",this.messages._lang,this.numberingSystem),this.meridiem=null,this.minute=null,this.second=null,this.value=null}setValuePart(e,i){let{effectiveHourFormat:a,messages:{_lang:s},numberingSystem:o,step:c}=this,n=a==="12";if(e==="meridiem"){if(this.meridiem=i,d(this.hour)){let h=parseInt(this.hour);switch(i){case"AM":h>=12&&(this.hour=p(h-12));break;case"PM":h<12&&(this.hour=p(h+12));break}this.localizedHour=S({value:this.hour,part:"hour",locale:s,numberingSystem:o,hour12:n})}}else if(e==="fractionalSecond"){let{stepPrecision:h}=this;typeof i=="number"?this.fractionalSecond=i===0?"".padStart(h,"0"):p(i,h):this.fractionalSecond=i,this.localizedFractionalSecond=S({value:this.fractionalSecond,part:"fractionalSecond",locale:s,numberingSystem:o,hour12:n})}else this[e]=typeof i=="number"?p(i):i,this[`localized${G(e)}`]=S({value:this[e],part:e,locale:s,numberingSystem:o,hour12:n});let u=!1,l;this.hour&&this.minute?(l=`${this.hour}:${this.minute}`,this.showSecond&&(l=`${l}:${this.second??"00"}`,this.showFractionalSecond&&this.fractionalSecond&&(l=`${l}.${this.fractionalSecond}`))):l=null,this.value!==l&&(u=!0),this.value=l,this.localizedMeridiem=this.value?z({hour12:n,locale:s,numberingSystem:o,step:c,value:this.value})?.localizedMeridiem||null:S({hour12:n,value:this.meridiem,part:"meridiem",locale:s,numberingSystem:o}),u&&this.calciteTimePickerChange.emit()}toggleSecond(){this.showSecond=this.step<60,this.stepPrecision=w(this.step),this.showFractionalSecond=this.stepPrecision>0}updateLocale(){this.effectiveHourFormat=this.hourFormat==="user"?I(this.messages._lang):this.hourFormat,this.localizedDecimalSeparator=D(this.messages._lang,this.numberingSystem),this.meridiemOrder=T(this.messages._lang),this.setValue(this.sanitizeValue(this.value))}render(){let e=d(this.hour),i=C(this.scale),a=d(this.minute),s=d(this.second),o=d(this.fractionalSecond),c=this.messages._lang!=="bg"&&this.localizedSecondSuffix,n=this.effectiveHourFormat==="12";return m`<div class=${r({[t.timePicker]:!0,[t.showMeridiem]:n,[t.showSecond]:this.showSecond,[t[`scale-${this.scale}`]]:!0})} dir=ltr><div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.hourUp} class=${r({[t.button]:!0,[t.buttonHourUp]:!0,[t.buttonTopLeft]:!0})} @click=${this.hourUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.hour} aria-valuemax=23 aria-valuemin=1 .ariaValueNow=${e&&parseInt(this.hour)||"0"} .ariaValueText=${this.hour} class=${r({[t.input]:!0,[t.hour]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.hourEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.hourKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setHourEl)}>${this.localizedHour||"--"}</span><span .ariaLabel=${this.messages.hourDown} class=${r({[t.button]:!0,[t.buttonHourDown]:!0,[t.buttonBottomLeft]:!0})} @click=${this.hourDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div><span class=${r({[t.delimiter]:!0,[t.hourSuffix]:!0})}>${this.localizedHourSuffix}</span><div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.minuteUp} class=${r({[t.button]:!0,[t.buttonMinuteUp]:!0})} @click=${this.minuteUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.minute} aria-valuemax=12 aria-valuemin=1 .ariaValueNow=${a&&parseInt(this.minute)||"0"} .ariaValueText=${this.minute} class=${r({[t.input]:!0,[t.minute]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.minuteEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.minuteKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMinuteEl)}>${this.localizedMinute||"--"}</span><span .ariaLabel=${this.messages.minuteDown} class=${r({[t.button]:!0,[t.buttonMinuteDown]:!0})} @click=${this.minuteDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>${this.showSecond&&m`<span class=${r({[t.delimiter]:!0,[t.minuteSuffix]:!0})}>${this.localizedMinuteSuffix}</span>`||""}${this.showSecond&&m`<div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.secondUp} class=${r({[t.button]:!0,[t.buttonSecondUp]:!0})} @click=${this.secondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.second} aria-valuemax=59 aria-valuemin=0 .ariaValueNow=${s&&parseInt(this.second)||"0"} .ariaValueText=${this.second} class=${r({[t.input]:!0,[t.second]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.secondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.secondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setSecondEl)}>${this.localizedSecond||"--"}</span><span .ariaLabel=${this.messages.secondDown} class=${r({[t.button]:!0,[t.buttonSecondDown]:!0})} @click=${this.secondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${this.showFractionalSecond&&m`<span class=${r({[t.delimiter]:!0,[t.decimalSeparator]:!0})}>${this.localizedDecimalSeparator}</span>`||""}${this.showFractionalSecond&&m`<div class=${r(t.column)} role=group><span .ariaLabel=${this.messages.fractionalSecondUp} class=${r({[t.button]:!0,[t.buttonFractionalSecondUp]:!0})} @click=${this.fractionalSecondUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.fractionalSecond} aria-valuemax=999 aria-valuemin=1 .ariaValueNow=${o&&parseInt(this.fractionalSecond)||"0"} .ariaValueText=${this.localizedFractionalSecond} class=${r({[t.input]:!0,[t.fractionalSecond]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.fractionalSecondEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.fractionalSecondKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setFractionalSecondEl)}>${this.localizedFractionalSecond||"".padStart(this.stepPrecision,"-")}</span><span .ariaLabel=${this.messages.fractionalSecondDown} class=${r({[t.button]:!0,[t.buttonFractionalSecondDown]:!0})} @click=${this.fractionalSecondDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}${c&&m`<span class=${r({[t.delimiter]:!0,[t.secondSuffix]:!0})}>${this.localizedSecondSuffix}</span>`||""}${n&&m`<div class=${r({[t.column]:!0,[t.meridiemStart]:this.meridiemOrder===0||U(this.el)==="rtl"})} role=group><span .ariaLabel=${this.messages.meridiemUp} class=${r({[t.button]:!0,[t.buttonMeridiemUp]:!0,[t.buttonTopRight]:!0})} @click=${this.meridiemUpClickHandler} role=button><calcite-icon icon=chevron-up .scale=${i}></calcite-icon></span><span .ariaLabel=${this.messages.meridiem} aria-valuemax=2 aria-valuemin=1 .ariaValueNow=${this.meridiem==="PM"&&"2"||"1"} .ariaValueText=${this.meridiem} class=${r({[t.input]:!0,[t.meridiem]:!0,[t.inputFocus]:this.activeEl&&this.activeEl===this.meridiemEl})} @click=${this.inputClickHandler} @focus=${this.focusHandler} @keydown=${this.meridiemKeyDownHandler} role=spinbutton tabindex=0 ${f(this.setMeridiemEl)}>${this.localizedMeridiem||"--"}</span><span .ariaLabel=${this.messages.meridiemDown} class=${r({[t.button]:!0,[t.buttonMeridiemDown]:!0,[t.buttonBottomRight]:!0})} @click=${this.meridiemDownClickHandler} role=button><calcite-icon icon=chevron-down .scale=${i}></calcite-icon></span></div>`||""}</div>`}};V("calcite-time-picker",M);export{M as TimePicker};
@@ -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.0-next.55 */
4
- import{b as p}from"./KEUA3BJE.js";import{b as S,f as T,g as F,k as g,l as A}from"./DBP4F3SX.js";var H=5;function x({locale:e,numberingSystem:t,includeSeconds:n=!0,fractionalSecondDigits:i,hour12:r}){let o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:F(t)};return typeof r=="boolean"&&(o.hour12=r),n&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),A(e,o)}function D(e,t){return parseFloat(`0.${e}`).toFixed(p(t)).replace("0.","")}function h(e,t){if(e==null)return;let n=e.toString(),i=p(e);if(e<1&&i>0&&i<4){let r=n.replace("0.","");return!t||r.length===t?r:r.length<t?r.padEnd(t,"0"):r}if(e>=0&&e<10)return n.padStart(2,"0");if(e>=10)return n}function y(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function N(e){let t={locale:e};return e==="mk"?t.hour12=!1:e.toLowerCase()==="es-mx"&&(t.hour12=!0),x(t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))).find(({type:r})=>r==="dayPeriod")?.value?"12":"24"}function b({locale:e,meridiem:t,parts:n}){let i=["he","bs","mk"],r;if(n){if(r=n.find(({type:o})=>o==="dayPeriod")?.value||null,e&&i.includes(e)){let o=T.get(e);r==="PM"&&(r=o.pm),r==="AM"&&(r=o.am)}}else if(t)if(i.includes(e)){let o=T.get(e);r=t==="PM"?o.pm:o.am}else{let o=x({locale:e,hour12:!0}),a=6,s=18,d=new Date(Date.UTC(0,0,0,t==="AM"?a:s,0));r=o.formatToParts(d).find(({type:u})=>u==="dayPeriod")?.value||null}return r}function M(e,t){return g.numberFormatOptions={locale:e,numberingSystem:t},g.localize("1.1").split("")[1]}function U(e,t,n="latn"){let r=x({locale:t,numberingSystem:n}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return c(`${e}Suffix`,r)}function c(e,t,n="en"){if(!e||!t)return null;if(e==="hourSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="hour")),r=t.indexOf(t.find(({type:a})=>a==="minute")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="minute")),r=t.indexOf(t.find(({type:a})=>a==="second")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="secondSuffix"){let i,r=t.indexOf(t.find(({type:o})=>o==="fractionalSecond"));if(r)i=t[r+1];else{let o=t.indexOf(t.find(({type:a})=>a==="second"));i=t[o+1]}return i&&i.type==="literal"&&i.value?.trim()||null}return e==="meridiem"&&(t.find(({type:r})=>r==="dayPeriod")?.value||null)?b({locale:n,parts:t}):t.find(({type:i})=>i===e)?.value||null}function V(e){if(!S(e))return null;let t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function B(e){return new Intl.DateTimeFormat(e,{hour:"2-digit",hour12:!0,minute:"2-digit",timeZone:"UTC"}).formatToParts(new Date(Date.UTC(0,0,0,0,0))).findIndex(i=>i.type==="dayPeriod")}function z(e){if(!e||typeof e=="string"&&(e.startsWith(":")||e.endsWith(":"))||typeof e!="string"&&(!e.hour||!e.minute))return!1;let t,n,i;if(typeof e=="string"?[t,n,i]=e.split(":"):{hour:t,minute:n,second:i}=e,!t||!n)return!1;let r=parseInt(t),o=parseInt(n),a=parseInt(i),s=S(t)&&r>=0&&r<24,d=S(n)&&o>=0&&o<60,m=S(i)&&a>=0&&a<60;return!!(s&&d&&!i||s&&d&&m)}function w(e,t){if(t==="meridiem")return e==="AM"||e==="PM";if(!S(e))return!1;let n=Number(e);return t==="hour"?n>=0&&n<24:t==="fractionalSecond"?n>=0&&n<=999:n>=0&&n<60}function L({value:e,part:t,locale:n,numberingSystem:i="latn",hour12:r}){if(!w(e,t))return;if(t==="fractionalSecond"){let m=M(n,i),u=null;if(e){g.numberFormatOptions={locale:n,numberingSystem:i};let l=g.localize("0");parseInt(e)===0?u="".padStart(e.length,l):(u=g.localize(`0.${e}`).replace(`${l}${m}`,""),u.length<e.length&&(u=u.padEnd(e.length,l)))}return u}let o=parseInt(e),a=new Date(Date.UTC(0,0,0,t==="hour"?o:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?o:0,t==="second"?o:0));if(!a)return;let d=x({hour12:r,locale:n,numberingSystem:i}).formatToParts(a);return c(t,d,n)}function W({hour12:e,includeSeconds:t=!0,locale:n,numberingSystem:i="latn",parts:r=!1,step:o,value:a}){if(!z(a))return null;let{hour:s,minute:d,second:m="0",fractionalSecond:u}=$(a,o),l=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(d),parseInt(m),u&&y(u))),P=x({fractionalSecondDigits:p(o),hour12:e,includeSeconds:t,locale:n,numberingSystem:i});if(r){let f=P.formatToParts(l);return{localizedHour:c("hour",f),localizedHourSuffix:c("hourSuffix",f),localizedMinute:c("minute",f),localizedMinuteSuffix:c("minuteSuffix",f),localizedSecond:c("second",f),localizedDecimalSeparator:M(n,i),localizedFractionalSecond:c("fractionalSecond",f),localizedSecondSuffix:n!=="bg"&&c("secondSuffix",f),localizedMeridiem:c("meridiem",f,n)}}else{let f=P.format(l)||null;if(!r&&typeof f=="string"&&n==="bg"&&f&&f.includes(" \u0447.")&&(f=f.replaceAll(" \u0447.","")),["he","bs","mk"].includes(n)){let I=T.get(n);f.includes("AM")?f=f.replaceAll("AM",I.am):f.includes("PM")&&(f=f.replaceAll("PM",I.pm)),n!=="he"&&f.indexOf(".")!==f.length-1&&(f=f.replace(".",","))}return f}}function k({hour12:e,locale:t,numberingSystem:n="latn",step:i=60,value:r}){if(!z(r))return null;let{hour:o,minute:a,second:s="0",fractionalSecond:d}=$(r,i),m=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(a),parseInt(s),d&&y(d)));if(m){let l=x({fractionalSecondDigits:p(i),hour12:e,locale:t,numberingSystem:n}).formatToParts(m);return{localizedHour:c("hour",l),localizedHourSuffix:c("hourSuffix",l),localizedMinute:c("minute",l),localizedMinuteSuffix:c("minuteSuffix",l),localizedSecond:c("second",l),localizedDecimalSeparator:M(t,n),localizedFractionalSecond:c("fractionalSecond",l),localizedSecondSuffix:t!=="bg"&&c("secondSuffix",l),localizedMeridiem:c("meridiem",l,t)}}return null}function $(e,t){if(z(e)){let[n,i,r]=e.split(":"),o=r,a=null;return r?.includes(".")&&([o,a]=r.split(".")),t&&(a=D(a,t)),{fractionalSecond:a,hour:n,minute:i,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function Z(e,t=60){if(!z(e))return null;let n;if(typeof e=="string"){let[i,r,o]=e.split(":"),a=o,s=null;o?.includes(".")&&([a,s]=o.split(".")),n=`${h(parseInt(i))}:${h(parseInt(r))}`,t<60&&(n+=`:${h(parseInt(a||"0"))}`,t<1&&(n+=`.${D(s,t)}`))}else{let{hour:i,minute:r}=e;i&&r?(n=`${h(parseInt(e.hour))}:${h(parseInt(e.minute))}`,t<60&&(n+=`:${h(parseInt(e.second||"0"))}`,t<1&&(n+=`.${D(e.fractionalSecond||"0",t)}`))):n=null}return n}export{H as a,h as b,N as c,b as d,M as e,U as f,V as g,B as h,z as i,L as j,W as k,k as l,$ as m,Z as n};
3
+ v3.2.0-next.56 */
4
+ import{b as p}from"./YA662X4N.js";import{b as S,f as T,g as F,k as g,l as A}from"./FESV2GSU.js";var H=5;function x({locale:e,numberingSystem:t,includeSeconds:n=!0,fractionalSecondDigits:i,hour12:r}){let o={hour:"2-digit",minute:"2-digit",timeZone:"UTC",numberingSystem:F(t)};return typeof r=="boolean"&&(o.hour12=r),n&&(o.second="2-digit",i&&(o.fractionalSecondDigits=i)),A(e,o)}function D(e,t){return parseFloat(`0.${e}`).toFixed(p(t)).replace("0.","")}function h(e,t){if(e==null)return;let n=e.toString(),i=p(e);if(e<1&&i>0&&i<4){let r=n.replace("0.","");return!t||r.length===t?r:r.length<t?r.padEnd(t,"0"):r}if(e>=0&&e<10)return n.padStart(2,"0");if(e>=10)return n}function y(e){return parseInt((parseFloat(`0.${e}`)/.001).toFixed(3))}function N(e){let t={locale:e};return e==="mk"?t.hour12=!1:e.toLowerCase()==="es-mx"&&(t.hour12=!0),x(t).formatToParts(new Date(Date.UTC(0,0,0,0,0,0))).find(({type:r})=>r==="dayPeriod")?.value?"12":"24"}function b({locale:e,meridiem:t,parts:n}){let i=["he","bs","mk"],r;if(n){if(r=n.find(({type:o})=>o==="dayPeriod")?.value||null,e&&i.includes(e)){let o=T.get(e);r==="PM"&&(r=o.pm),r==="AM"&&(r=o.am)}}else if(t)if(i.includes(e)){let o=T.get(e);r=t==="PM"?o.pm:o.am}else{let o=x({locale:e,hour12:!0}),a=6,s=18,d=new Date(Date.UTC(0,0,0,t==="AM"?a:s,0));r=o.formatToParts(d).find(({type:u})=>u==="dayPeriod")?.value||null}return r}function M(e,t){return g.numberFormatOptions={locale:e,numberingSystem:t},g.localize("1.1").split("")[1]}function U(e,t,n="latn"){let r=x({locale:t,numberingSystem:n}).formatToParts(new Date(Date.UTC(0,0,0,0,0,0)));return c(`${e}Suffix`,r)}function c(e,t,n="en"){if(!e||!t)return null;if(e==="hourSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="hour")),r=t.indexOf(t.find(({type:a})=>a==="minute")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="minuteSuffix"){let i=t.indexOf(t.find(({type:a})=>a==="minute")),r=t.indexOf(t.find(({type:a})=>a==="second")),o=t[i+1];return o&&o.type==="literal"&&r-i===2&&o.value?.trim()||null}if(e==="secondSuffix"){let i,r=t.indexOf(t.find(({type:o})=>o==="fractionalSecond"));if(r)i=t[r+1];else{let o=t.indexOf(t.find(({type:a})=>a==="second"));i=t[o+1]}return i&&i.type==="literal"&&i.value?.trim()||null}return e==="meridiem"&&(t.find(({type:r})=>r==="dayPeriod")?.value||null)?b({locale:n,parts:t}):t.find(({type:i})=>i===e)?.value||null}function V(e){if(!S(e))return null;let t=parseInt(e);return t>=0&&t<=11?"AM":"PM"}function B(e){return new Intl.DateTimeFormat(e,{hour:"2-digit",hour12:!0,minute:"2-digit",timeZone:"UTC"}).formatToParts(new Date(Date.UTC(0,0,0,0,0))).findIndex(i=>i.type==="dayPeriod")}function z(e){if(!e||typeof e=="string"&&(e.startsWith(":")||e.endsWith(":"))||typeof e!="string"&&(!e.hour||!e.minute))return!1;let t,n,i;if(typeof e=="string"?[t,n,i]=e.split(":"):{hour:t,minute:n,second:i}=e,!t||!n)return!1;let r=parseInt(t),o=parseInt(n),a=parseInt(i),s=S(t)&&r>=0&&r<24,d=S(n)&&o>=0&&o<60,m=S(i)&&a>=0&&a<60;return!!(s&&d&&!i||s&&d&&m)}function w(e,t){if(t==="meridiem")return e==="AM"||e==="PM";if(!S(e))return!1;let n=Number(e);return t==="hour"?n>=0&&n<24:t==="fractionalSecond"?n>=0&&n<=999:n>=0&&n<60}function L({value:e,part:t,locale:n,numberingSystem:i="latn",hour12:r}){if(!w(e,t))return;if(t==="fractionalSecond"){let m=M(n,i),u=null;if(e){g.numberFormatOptions={locale:n,numberingSystem:i};let l=g.localize("0");parseInt(e)===0?u="".padStart(e.length,l):(u=g.localize(`0.${e}`).replace(`${l}${m}`,""),u.length<e.length&&(u=u.padEnd(e.length,l)))}return u}let o=parseInt(e),a=new Date(Date.UTC(0,0,0,t==="hour"?o:t==="meridiem"?e==="AM"?0:12:0,t==="minute"?o:0,t==="second"?o:0));if(!a)return;let d=x({hour12:r,locale:n,numberingSystem:i}).formatToParts(a);return c(t,d,n)}function W({hour12:e,includeSeconds:t=!0,locale:n,numberingSystem:i="latn",parts:r=!1,step:o,value:a}){if(!z(a))return null;let{hour:s,minute:d,second:m="0",fractionalSecond:u}=$(a,o),l=new Date(Date.UTC(0,0,0,parseInt(s),parseInt(d),parseInt(m),u&&y(u))),P=x({fractionalSecondDigits:p(o),hour12:e,includeSeconds:t,locale:n,numberingSystem:i});if(r){let f=P.formatToParts(l);return{localizedHour:c("hour",f),localizedHourSuffix:c("hourSuffix",f),localizedMinute:c("minute",f),localizedMinuteSuffix:c("minuteSuffix",f),localizedSecond:c("second",f),localizedDecimalSeparator:M(n,i),localizedFractionalSecond:c("fractionalSecond",f),localizedSecondSuffix:n!=="bg"&&c("secondSuffix",f),localizedMeridiem:c("meridiem",f,n)}}else{let f=P.format(l)||null;if(!r&&typeof f=="string"&&n==="bg"&&f&&f.includes(" \u0447.")&&(f=f.replaceAll(" \u0447.","")),["he","bs","mk"].includes(n)){let I=T.get(n);f.includes("AM")?f=f.replaceAll("AM",I.am):f.includes("PM")&&(f=f.replaceAll("PM",I.pm)),n!=="he"&&f.indexOf(".")!==f.length-1&&(f=f.replace(".",","))}return f}}function k({hour12:e,locale:t,numberingSystem:n="latn",step:i=60,value:r}){if(!z(r))return null;let{hour:o,minute:a,second:s="0",fractionalSecond:d}=$(r,i),m=new Date(Date.UTC(0,0,0,parseInt(o),parseInt(a),parseInt(s),d&&y(d)));if(m){let l=x({fractionalSecondDigits:p(i),hour12:e,locale:t,numberingSystem:n}).formatToParts(m);return{localizedHour:c("hour",l),localizedHourSuffix:c("hourSuffix",l),localizedMinute:c("minute",l),localizedMinuteSuffix:c("minuteSuffix",l),localizedSecond:c("second",l),localizedDecimalSeparator:M(t,n),localizedFractionalSecond:c("fractionalSecond",l),localizedSecondSuffix:t!=="bg"&&c("secondSuffix",l),localizedMeridiem:c("meridiem",l,t)}}return null}function $(e,t){if(z(e)){let[n,i,r]=e.split(":"),o=r,a=null;return r?.includes(".")&&([o,a]=r.split(".")),t&&(a=D(a,t)),{fractionalSecond:a,hour:n,minute:i,second:o}}return{fractionalSecond:null,hour:null,minute:null,second:null}}function Z(e,t=60){if(!z(e))return null;let n;if(typeof e=="string"){let[i,r,o]=e.split(":"),a=o,s=null;o?.includes(".")&&([a,s]=o.split(".")),n=`${h(parseInt(i))}:${h(parseInt(r))}`,t<60&&(n+=`:${h(parseInt(a||"0"))}`,t<1&&(n+=`.${D(s,t)}`))}else{let{hour:i,minute:r}=e;i&&r?(n=`${h(parseInt(e.hour))}:${h(parseInt(e.minute))}`,t<60&&(n+=`:${h(parseInt(e.second||"0"))}`,t<1&&(n+=`.${D(e.fractionalSecond||"0",t)}`))):n=null}return n}export{H as a,h as b,N as c,b as d,M as e,U as f,V as g,B as h,z as i,L as j,W as k,k as l,$ as m,Z as n};
@@ -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.0-next.55 */
3
+ v3.2.0-next.56 */
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}>`,S=document,z=()=>S.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}),Ss=_t(1),Ts=_t(2),Os=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=S.createTreeWalker(S,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=S.createElement("template");return o.innerHTML=t,o}};function T(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=T(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??S).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=S,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=T(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(S.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=T(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=T(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=T(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){T(this,t)}},Kt={M:gt,P:E,A:vt,C:1,L:Ft,R:Q,D:qt,V:T,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:Se,getOwnPropertyDescriptor:Te,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&&Se(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Te(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=St(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=St(s);return await t.ready,t},St=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),St}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 Sn(s,t,e){e==null?s.removeAttribute(t):s.setAttribute(t,e)}var Tn={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.0-next.55",Es="2025-05-09",Cs="a0f042ceb";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.0-next.55/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:jn,getAssetPath:zn,setAssetPath:Vn}=ws;export{qe as a,Ws as b,$e as c,Ss as d,Ts 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,Sn as I,Tn 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}),Ss=_t(1),Ts=_t(2),Os=_t(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Bt=new WeakMap,x=S.createTreeWalker(S,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=S.createElement("template");return o.innerHTML=t,o}};function T(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=T(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??S).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=S,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=T(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(S.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=T(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=T(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=T(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){T(this,t)}},Kt={M:gt,P:E,A:vt,C:1,L:Ft,R:Q,D:qt,V:T,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:Se,getOwnPropertyDescriptor:Te,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&&Se(this.prototype,t,n)}}static getPropertyDescriptor(t,e,o){let{get:n,set:r}=Te(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=St(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=St(s);return await t.ready,t},St=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),St}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 Sn(s,t,e){e==null?s.removeAttribute(t):s.setAttribute(t,e)}var Tn={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.0-next.56",Es="2025-05-12",Cs="f1fcabe26";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.0-next.56/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:jn,getAssetPath:zn,setAssetPath:Vn}=ws;export{qe as a,Ws as b,$e as c,Ss as d,Ts 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,Sn as I,Tn 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.0-next.55 */
3
+ v3.2.0-next.56 */
4
4
  function e(r){return r.map(o=>{let t="";for(let n=0;n<o;n++)t+=((1+Math.random())*65536|0).toString(16).substring(1);return t}).join("-")}var i=()=>e([2,1,1,1,3]);export{i 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.0-next.55 */
4
- import{C as i}from"./YG4T52XL.js";function r(e){return e[e.openProp||"open"]}function s(e){requestAnimationFrame(()=>{e.transitionEl&&i(e.transitionEl,e.transitionProp,()=>{r(e)?e.onBeforeOpen():e.onBeforeClose()},()=>{r(e)?e.onOpen():e.onClose()})})}export{s as a};
3
+ v3.2.0-next.56 */
4
+ import{C as i}from"./Z4IWO62R.js";function r(e){return e[e.openProp||"open"]}function s(e){requestAnimationFrame(()=>{e.transitionEl&&i(e.transitionEl,e.transitionProp,()=>{r(e)?e.onBeforeOpen():e.onBeforeClose()},()=>{r(e)?e.onOpen():e.onClose()})})}export{s as a};