@esri/calcite-components 3.0.0-next.82 → 3.0.0-next.84

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 (395) hide show
  1. package/dist/calcite/{RUCJ2YIC.js → 2B222AGN.js} +3 -3
  2. package/dist/calcite/{CGR2NRXF.js → 2JH2NEPF.js} +1 -1
  3. package/dist/calcite/{HMW3C2HU.js → 2K5YCJ3P.js} +2 -2
  4. package/dist/calcite/{25G773KI.js → 2M7K26GF.js} +2 -2
  5. package/dist/calcite/{XTD27E7Z.js → 2ORYILLU.js} +2 -2
  6. package/dist/calcite/{HVVDFP5Y.js → 33CNJ7AX.js} +2 -2
  7. package/dist/calcite/{SFKMWJQS.js → 342KE7QX.js} +1 -1
  8. package/dist/calcite/{F4BDV6BL.js → 34VWMNXV.js} +2 -2
  9. package/dist/calcite/{YRUP3MTG.js → 3AKOKDTD.js} +2 -2
  10. package/dist/calcite/{Q2AJCP3N.js → 3BI5ORUX.js} +2 -2
  11. package/dist/calcite/{ZPMHZZGM.js → 3PJUPPWE.js} +2 -2
  12. package/dist/calcite/{47CMYXSP.js → 3Q4RMZF2.js} +2 -2
  13. package/dist/calcite/{4WVL6Y6U.js → 4I2JOTVW.js} +2 -2
  14. package/dist/calcite/{HVUTHWC6.js → 4NAYQUFL.js} +2 -2
  15. package/dist/calcite/{SOKCUWZL.js → 4T35QDCF.js} +2 -2
  16. package/dist/calcite/{TWNTN4SJ.js → 4VVZT35E.js} +2 -2
  17. package/dist/calcite/{OB4SWPV6.js → 53DKILHC.js} +2 -2
  18. package/dist/calcite/{OPFB2ILU.js → 5QOVCOIQ.js} +2 -2
  19. package/dist/calcite/{7UMN6XLR.js → 5UA4LPXE.js} +2 -2
  20. package/dist/calcite/{QBN3UWXM.js → 5ZJCRPXH.js} +2 -2
  21. package/dist/calcite/{KBIFUK7D.js → 623PPNHS.js} +1 -1
  22. package/dist/calcite/{6JK5HP2P.js → 62KXKPHB.js} +1 -1
  23. package/dist/calcite/{HQKP25AU.js → 67FJEYAP.js} +2 -2
  24. package/dist/calcite/{TNETSLU2.js → 6FERBBWO.js} +2 -2
  25. package/dist/calcite/{TS2DWJAH.js → 6K2UTSS6.js} +2 -2
  26. package/dist/calcite/{LQ36DEJZ.js → 6MRLDXAV.js} +2 -2
  27. package/dist/calcite/{QFQUEU6L.js → 75RQRGXH.js} +2 -2
  28. package/dist/calcite/{ASYOW6SM.js → 7DJFQ6EK.js} +2 -2
  29. package/dist/calcite/{YZJQ3YZS.js → 7EGRJ7TJ.js} +2 -2
  30. package/dist/calcite/{LTW3NEAF.js → 7GDOMS7G.js} +2 -2
  31. package/dist/calcite/{ZEIU4UGQ.js → 7H43L3IF.js} +2 -2
  32. package/dist/calcite/{GQYXJQQR.js → 7I5RCRSM.js} +1 -1
  33. package/dist/calcite/{3WWW7QG6.js → 7PDPLCTD.js} +2 -2
  34. package/dist/calcite/{JXQ7RQNC.js → 7QTS5AEY.js} +2 -2
  35. package/dist/calcite/{CJQSECCZ.js → A5PL2BZT.js} +2 -2
  36. package/dist/calcite/{FRE6ZXOM.js → AEF7CAF5.js} +2 -2
  37. package/dist/calcite/{AYMMPXPE.js → AIB6BDFQ.js} +2 -2
  38. package/dist/calcite/{HV6NCHU6.js → AJVBCHZ2.js} +2 -2
  39. package/dist/calcite/{QC4APNZF.js → AOUXRQAZ.js} +1 -1
  40. package/dist/calcite/{CEDU7YEK.js → APBMBAI7.js} +2 -2
  41. package/dist/calcite/{YTFXYMRM.js → AZA5B45M.js} +2 -2
  42. package/dist/calcite/{4XV5WGAZ.js → B2OPXJUJ.js} +2 -2
  43. package/dist/calcite/{WLXPZGTA.js → BAFOFEPD.js} +2 -2
  44. package/dist/calcite/{JYSUV7GL.js → BDVN4J5M.js} +2 -2
  45. package/dist/calcite/{RAEJPZYW.js → BFDB573I.js} +2 -2
  46. package/dist/calcite/{DRHDNHUC.js → BIONMN2K.js} +2 -2
  47. package/dist/calcite/{O37N6JSF.js → BN3PRZXK.js} +2 -2
  48. package/dist/calcite/{QXKR7ZN5.js → BWAWPCN7.js} +2 -2
  49. package/dist/calcite/{HPO7B7C7.js → C5GLEROR.js} +2 -2
  50. package/dist/calcite/{7M563QS4.js → C7MSAVT4.js} +2 -2
  51. package/dist/calcite/{5OLBVW7Y.js → C7Z35C7B.js} +2 -2
  52. package/dist/calcite/{UIL3G4FH.js → CE23D57T.js} +1 -1
  53. package/dist/calcite/{PLQ5A4UE.js → CGKAOGSJ.js} +1 -1
  54. package/dist/calcite/{5S4QZRNY.js → CGS6YE7P.js} +2 -2
  55. package/dist/calcite/{MFCPVXI2.js → CNTHFTPJ.js} +2 -2
  56. package/dist/calcite/{62QVUFAA.js → CR6EZ65T.js} +2 -2
  57. package/dist/calcite/{APDHQJ5L.js → CTMPKJUK.js} +2 -2
  58. package/dist/calcite/{X2Q5YZBK.js → CW25IHRA.js} +2 -2
  59. package/dist/calcite/D2FBEGTL.js +6 -0
  60. package/dist/calcite/{CDKPB2N2.js → DDL2TLUK.js} +2 -2
  61. package/dist/calcite/{3XT2JRQE.js → DDLDTRUK.js} +1 -1
  62. package/dist/calcite/{E4ML2KZF.js → DJUAPBF3.js} +2 -2
  63. package/dist/calcite/{P6VH53GP.js → DNYQPBAP.js} +2 -2
  64. package/dist/calcite/{ZUM6R34J.js → DTMBSVW3.js} +2 -2
  65. package/dist/calcite/{NKHP4WWI.js → DYY4U6I3.js} +2 -2
  66. package/dist/calcite/{DU7U6EGE.js → E6NE6ZMT.js} +1 -1
  67. package/dist/calcite/{M7T7FVZF.js → E7A3ORBM.js} +2 -2
  68. package/dist/calcite/{FVWQJMLR.js → E7G7HIBP.js} +2 -2
  69. package/dist/calcite/{OJ6Z7QMC.js → EBDASEOS.js} +2 -2
  70. package/dist/calcite/{7XMBVLZZ.js → EE2PPTAQ.js} +2 -2
  71. package/dist/calcite/{4DTAM2VC.js → EFBZPWOM.js} +2 -2
  72. package/dist/calcite/{ML7IHENB.js → EQXJTXVQ.js} +2 -2
  73. package/dist/calcite/{FQJKMAWL.js → ETIAXZCD.js} +2 -2
  74. package/dist/calcite/{3EFCTHOW.js → EUEHHKWA.js} +2 -2
  75. package/dist/calcite/{RBJX2OOO.js → EYBYRHKW.js} +2 -2
  76. package/dist/calcite/{ICK4VUI4.js → EZOVUTVR.js} +2 -2
  77. package/dist/calcite/{YBFARBUA.js → F2IHO2Q3.js} +2 -2
  78. package/dist/calcite/{STD2AP3Y.js → F4NWRRTA.js} +2 -2
  79. package/dist/calcite/{DLI27ZUP.js → F5Q7QJ6B.js} +1 -1
  80. package/dist/calcite/{TWJ2IZLY.js → F74WQCWA.js} +2 -2
  81. package/dist/calcite/{IHY7S6PX.js → FBLZ6S5T.js} +2 -2
  82. package/dist/calcite/{MV4PYCMP.js → FJLMCAXW.js} +2 -2
  83. package/dist/calcite/{3UG3CXLK.js → FPD5GZ7M.js} +2 -2
  84. package/dist/calcite/{ORR22ILW.js → FX6HAWGY.js} +2 -2
  85. package/dist/calcite/{VWBS5ADI.js → FYWO3MDP.js} +2 -2
  86. package/dist/calcite/{Q7DW2ZFF.js → GB7WGHOJ.js} +2 -2
  87. package/dist/calcite/{LPFHFF45.js → GG7KA5OD.js} +2 -2
  88. package/dist/calcite/{5ZJ6CMS7.js → GHPMDLYA.js} +2 -2
  89. package/dist/calcite/{DE7PIQGY.js → GK3UZBIT.js} +2 -2
  90. package/dist/calcite/{LN5AMK7K.js → GZ35QIP2.js} +2 -2
  91. package/dist/calcite/{WYV7ETW3.js → HBCJKJMX.js} +2 -2
  92. package/dist/calcite/{YSAI3BLA.js → HDNV3PF7.js} +2 -2
  93. package/dist/calcite/{FD76KHJ7.js → HKMMMKQI.js} +2 -2
  94. package/dist/calcite/{V3BLRVXB.js → HLZWAYW5.js} +1 -1
  95. package/dist/calcite/{QBQDBKAM.js → HVFCAWS2.js} +2 -2
  96. package/dist/calcite/{7DCNB7H3.js → HXN6EKOU.js} +2 -2
  97. package/dist/calcite/IG4BQV4Y.js +6 -0
  98. package/dist/calcite/{KUBB4J5G.js → IHIUN3XP.js} +2 -2
  99. package/dist/calcite/{PQDFPQMT.js → IJL3UMFG.js} +2 -2
  100. package/dist/calcite/{I2DMIYDU.js → IK4TTOIB.js} +2 -2
  101. package/dist/calcite/{DKYRZ5XS.js → IKRNLJMV.js} +2 -2
  102. package/dist/calcite/{2KZR2Z74.js → IKSYTVDP.js} +2 -2
  103. package/dist/calcite/{CWNA2WBK.js → IVYZGG6K.js} +2 -2
  104. package/dist/calcite/{ZBBAXQ55.js → IWL2OMGM.js} +2 -2
  105. package/dist/calcite/{5NEFDHZX.js → J3D7GPBE.js} +2 -2
  106. package/dist/calcite/{3E525ZBN.js → JLHEVPIZ.js} +1 -1
  107. package/dist/calcite/{MJ3HDO5Q.js → JNSHVH6O.js} +2 -2
  108. package/dist/calcite/{DL2X5PFD.js → JO4OZ4DO.js} +2 -2
  109. package/dist/calcite/{CSKZDUXI.js → JQASIKMI.js} +2 -2
  110. package/dist/calcite/{GONPQPO6.js → JV5URXPX.js} +2 -2
  111. package/dist/calcite/{CQRAMSMD.js → JWQGEOAZ.js} +2 -2
  112. package/dist/calcite/{JHNUI7TA.js → JYSKP5YD.js} +2 -2
  113. package/dist/calcite/{RGNXTP2V.js → K7BEW2PM.js} +2 -2
  114. package/dist/calcite/{C3VUZXGF.js → KFQJBH4X.js} +2 -2
  115. package/dist/calcite/{X5YYELFL.js → KLEEMH5L.js} +2 -2
  116. package/dist/calcite/{P6BVZUUE.js → KRKMZJ3X.js} +2 -2
  117. package/dist/calcite/{JFRJ4MOX.js → KTKRJHQC.js} +2 -2
  118. package/dist/calcite/{RL44Q2AZ.js → KUCCLW22.js} +2 -2
  119. package/dist/calcite/{O5IVR3JR.js → L3GZ3HRR.js} +2 -2
  120. package/dist/calcite/{S75RIRQZ.js → LDATK5SG.js} +2 -2
  121. package/dist/calcite/{H5TDALHG.js → LFN4PVQD.js} +2 -2
  122. package/dist/calcite/{QFZMTF6S.js → LJAXSMER.js} +2 -2
  123. package/dist/calcite/{MRMMI5ZP.js → LKONEUIG.js} +2 -2
  124. package/dist/calcite/{NOHHSBOL.js → LLJVMXBP.js} +2 -2
  125. package/dist/calcite/{6D32ZIRK.js → LXOVWVMC.js} +2 -2
  126. package/dist/calcite/{RNTUKANP.js → M2HBFFXF.js} +2 -2
  127. package/dist/calcite/{OCOAM76U.js → M3ICKOWV.js} +2 -2
  128. package/dist/calcite/{WN62YHCC.js → MCJXG6VJ.js} +2 -2
  129. package/dist/calcite/{DOLYCAFR.js → MKC6N3VP.js} +2 -2
  130. package/dist/calcite/{R2L7KVF6.js → ML2DMQGY.js} +2 -2
  131. package/dist/calcite/{QHIDOGQU.js → ML2UKCLR.js} +2 -2
  132. package/dist/calcite/{Q2C67I76.js → MLIQBSSJ.js} +1 -1
  133. package/dist/calcite/{VQ5BEZGA.js → MMMLAOOT.js} +2 -2
  134. package/dist/calcite/{F55AUP2X.js → MNJIVGHG.js} +2 -2
  135. package/dist/calcite/{CWL44IJQ.js → MSOD4E3L.js} +2 -2
  136. package/dist/calcite/{SJ5A6JWZ.js → MUFPESFC.js} +2 -2
  137. package/dist/calcite/{7RKPKBIH.js → MXODMPSH.js} +2 -2
  138. package/dist/calcite/{RWMUTKK6.js → MZQB4QP4.js} +2 -2
  139. package/dist/calcite/{ZYCTRPIN.js → NGNXHGEL.js} +2 -2
  140. package/dist/calcite/{SRKTMYY6.js → NJ2PVXQG.js} +2 -2
  141. package/dist/calcite/{LMIREMTA.js → NPII2Q35.js} +2 -2
  142. package/dist/calcite/{7SUNR345.js → NS2GPFHG.js} +2 -2
  143. package/dist/calcite/{754OLB4V.js → O6YKJPRC.js} +2 -2
  144. package/dist/calcite/{ZS4KQKAB.js → OK56UTUU.js} +1 -1
  145. package/dist/calcite/{PWX23YID.js → OOPZLIZR.js} +2 -2
  146. package/dist/calcite/{MY6CZIYN.js → OUZLFEKO.js} +2 -2
  147. package/dist/calcite/{OFHY4SKI.js → OZSHGAG3.js} +2 -2
  148. package/dist/calcite/P5NQWNZG.js +6 -0
  149. package/dist/calcite/{AVLS5K4H.js → P6SAF3GG.js} +2 -2
  150. package/dist/calcite/{AGGJOMNS.js → PCX32CR6.js} +2 -2
  151. package/dist/calcite/{FQYFZQIF.js → PFCYVHRG.js} +2 -2
  152. package/dist/calcite/{HZASQWDT.js → PHAKPY5L.js} +2 -2
  153. package/dist/calcite/{FBHWA7RF.js → PIR7LICW.js} +2 -2
  154. package/dist/calcite/{LNBJX7RY.js → PMSSOKUF.js} +2 -2
  155. package/dist/calcite/{I7AM4WPA.js → PPUPKZXX.js} +2 -2
  156. package/dist/calcite/{A7AGDPDH.js → PYGVTJN6.js} +2 -2
  157. package/dist/calcite/{GR62OEKX.js → PZREYG2G.js} +2 -2
  158. package/dist/calcite/{ZSR43WSH.js → Q5IKZ5ZK.js} +2 -2
  159. package/dist/calcite/{KZYSMB6W.js → QN2HAXAU.js} +2 -2
  160. package/dist/calcite/{7BUF5J7K.js → QRQI5YX4.js} +2 -2
  161. package/dist/calcite/{AUC76UVO.js → QUTSIJZV.js} +2 -2
  162. package/dist/calcite/{TU64NXMW.js → QV6NQVOP.js} +2 -2
  163. package/dist/calcite/{6YSRV25S.js → QXB32XQB.js} +1 -1
  164. package/dist/calcite/{Q7ZCZL35.js → R7RMEI6S.js} +2 -2
  165. package/dist/calcite/{UMC52CF6.js → RBHKJU4S.js} +2 -2
  166. package/dist/calcite/RECWSVU7.js +6 -0
  167. package/dist/calcite/RPLYU2D3.js +6 -0
  168. package/dist/calcite/{EV4OXYPE.js → RVFVIISC.js} +2 -2
  169. package/dist/calcite/{2TEJNCNM.js → RZLLNUPB.js} +2 -2
  170. package/dist/calcite/{ABSSD23O.js → S2SUBMXD.js} +2 -2
  171. package/dist/calcite/{6XRIF2BP.js → S3NGEUEA.js} +2 -2
  172. package/dist/calcite/{VCVJ5VG5.js → S5LTEN37.js} +2 -2
  173. package/dist/calcite/{VX3OLBVY.js → S6XJ6L5N.js} +2 -2
  174. package/dist/calcite/{H7CAY454.js → SFG253IQ.js} +2 -2
  175. package/dist/calcite/{LHFGY74T.js → STBAVFDS.js} +2 -2
  176. package/dist/calcite/{SWFVD2VT.js → SUVOKGS7.js} +1 -1
  177. package/dist/calcite/{UTAERYOW.js → SWZ4DDMI.js} +2 -2
  178. package/dist/calcite/{A7LDGVLO.js → T6LUOCD4.js} +2 -2
  179. package/dist/calcite/{L3U7Y2XN.js → T76GVQGO.js} +2 -2
  180. package/dist/calcite/{YGMTUUGX.js → TDGQKE3K.js} +2 -2
  181. package/dist/calcite/{YIC37N3V.js → TEFPYUS6.js} +2 -2
  182. package/dist/calcite/{TVRT6EGG.js → TFI5RCOZ.js} +2 -2
  183. package/dist/calcite/{NUSVSJP3.js → TI62HZ2F.js} +2 -2
  184. package/dist/calcite/{BBRAA7LJ.js → TIRIDNBY.js} +2 -2
  185. package/dist/calcite/{DCB2ESGE.js → TK7FOJDN.js} +2 -2
  186. package/dist/calcite/{VMETH66L.js → TWBH2UHB.js} +1 -1
  187. package/dist/calcite/{FFEENBKV.js → TYYIVT26.js} +2 -2
  188. package/dist/calcite/{ZXEMXPVQ.js → UBEIJQN3.js} +2 -2
  189. package/dist/calcite/{JBS64GT5.js → UEQP2TWU.js} +2 -2
  190. package/dist/calcite/{DKJH3C3T.js → UNTKHSJ4.js} +2 -2
  191. package/dist/calcite/{SO5RLKRO.js → UVQEZBBQ.js} +2 -2
  192. package/dist/calcite/{CGCHHPN6.js → V4KBZ2V6.js} +2 -2
  193. package/dist/calcite/{YMDW7EK6.js → W5QPPKGP.js} +2 -2
  194. package/dist/calcite/{QOZRS54C.js → WCBZA5DF.js} +1 -1
  195. package/dist/calcite/{3QTUJFQH.js → WENH3F36.js} +2 -2
  196. package/dist/calcite/{ZTTE4L55.js → WJIN2Q4E.js} +2 -2
  197. package/dist/calcite/{FGGHP3HO.js → WQOSDEIS.js} +2 -2
  198. package/dist/calcite/{BRMNQ4DW.js → WYDDPMLM.js} +2 -2
  199. package/dist/calcite/{35NU6CGQ.js → XBQHSIGD.js} +2 -2
  200. package/dist/calcite/{WFA5ZKPD.js → XDPIBZKN.js} +1 -1
  201. package/dist/calcite/{QVQEBCZY.js → XDZFPWA3.js} +1 -1
  202. package/dist/calcite/{YDXB6YSE.js → XIA5Y3BA.js} +2 -2
  203. package/dist/calcite/{TGIGQYPM.js → XKWMPRCU.js} +2 -2
  204. package/dist/calcite/{7NUJC7ME.js → XUC6URNW.js} +2 -2
  205. package/dist/calcite/{BBDQ2W3E.js → XV5KQKF4.js} +2 -2
  206. package/dist/calcite/{OUCOOI5K.js → XYDS563E.js} +2 -2
  207. package/dist/calcite/{YYJJFH7C.js → Y3PNEFK2.js} +2 -2
  208. package/dist/calcite/{BXXPSTLS.js → Y4IZ2BUR.js} +2 -2
  209. package/dist/calcite/{XWRNREXC.js → YU4JT3AK.js} +2 -2
  210. package/dist/calcite/{IJNCOGJX.js → YX73WVEU.js} +2 -2
  211. package/dist/calcite/{HGEJC5A4.js → YZN5HWYU.js} +2 -2
  212. package/dist/calcite/{2CEOV7OO.js → Z2KT76M5.js} +2 -2
  213. package/dist/calcite/{FSYDWN6D.js → Z6JPLJ5J.js} +1 -1
  214. package/dist/calcite/{JVVNLEKO.js → ZD2MGAIM.js} +2 -2
  215. package/dist/calcite/{DRUYH3WO.js → ZFJAVACE.js} +2 -2
  216. package/dist/calcite/{ISPQEUWY.js → ZJCXUS4F.js} +2 -2
  217. package/dist/calcite/ZN5XRI7K.js +6 -0
  218. package/dist/calcite/{ZICGLZGI.js → ZQ4O2CX6.js} +2 -2
  219. package/dist/calcite/{RWTWWTTQ.js → ZQKI7GB7.js} +2 -2
  220. package/dist/calcite/{EF2LPHWG.js → ZYBRWCWA.js} +2 -2
  221. package/dist/calcite/{PTKTVQL2.js → ZZ3Q3XTX.js} +2 -2
  222. package/dist/calcite/{NDCKLWZM.js → ZZ5FNRFA.js} +2 -2
  223. package/dist/calcite/calcite.esm.js +2 -2
  224. package/dist/chunks/ExpandToggle.js +1 -1
  225. package/dist/chunks/FloatingArrow.js +1 -1
  226. package/dist/chunks/Heading.js +1 -1
  227. package/dist/chunks/Validation.js +1 -1
  228. package/dist/chunks/_commonjsHelpers.js +1 -1
  229. package/dist/chunks/array.js +1 -1
  230. package/dist/chunks/component.js +1 -1
  231. package/dist/chunks/core.js +1 -1
  232. package/dist/chunks/date.js +1 -1
  233. package/dist/chunks/dom.js +1 -1
  234. package/dist/chunks/dynamicClasses.js +1 -1
  235. package/dist/chunks/filter.js +1 -1
  236. package/dist/chunks/floating-ui.js +1 -1
  237. package/dist/chunks/focusTrapComponent.js +1 -1
  238. package/dist/chunks/form.js +1 -1
  239. package/dist/chunks/global.js +1 -1
  240. package/dist/chunks/guid.js +1 -1
  241. package/dist/chunks/input.js +1 -1
  242. package/dist/chunks/interact.min.js +1 -1
  243. package/dist/chunks/interactive.js +1 -1
  244. package/dist/chunks/key.js +1 -1
  245. package/dist/chunks/label.js +1 -1
  246. package/dist/chunks/loadable.js +1 -1
  247. package/dist/chunks/locale.js +1 -1
  248. package/dist/chunks/logger.js +1 -1
  249. package/dist/chunks/math.js +1 -1
  250. package/dist/chunks/observers.js +1 -1
  251. package/dist/chunks/openCloseComponent.js +1 -1
  252. package/dist/chunks/resources.js +1 -1
  253. package/dist/chunks/resources2.js +1 -1
  254. package/dist/chunks/resources3.js +1 -1
  255. package/dist/chunks/resources4.js +1 -1
  256. package/dist/chunks/resources5.js +1 -1
  257. package/dist/chunks/resources6.js +1 -1
  258. package/dist/chunks/resources7.js +1 -1
  259. package/dist/chunks/responsive.js +1 -1
  260. package/dist/chunks/runtime.js +6 -6
  261. package/dist/chunks/sortableComponent.js +1 -1
  262. package/dist/chunks/text.js +15 -0
  263. package/dist/chunks/time.js +1 -1
  264. package/dist/chunks/useT9n.js +1 -1
  265. package/dist/chunks/utils.js +1 -1
  266. package/dist/chunks/utils2.js +1 -1
  267. package/dist/chunks/utils3.js +1 -1
  268. package/dist/chunks/utils4.js +1 -1
  269. package/dist/components/calcite-accordion/customElement.js +1 -1
  270. package/dist/components/calcite-accordion-item/customElement.js +1 -1
  271. package/dist/components/calcite-action/customElement.js +1 -1
  272. package/dist/components/calcite-action-bar/customElement.js +1 -1
  273. package/dist/components/calcite-action-group/customElement.js +1 -1
  274. package/dist/components/calcite-action-menu/customElement.js +1 -1
  275. package/dist/components/calcite-action-pad/customElement.js +1 -1
  276. package/dist/components/calcite-alert/customElement.js +1 -1
  277. package/dist/components/calcite-autocomplete/customElement.js +36 -34
  278. package/dist/components/calcite-autocomplete-item/customElement.js +31 -24
  279. package/dist/components/calcite-autocomplete-item-group/customElement.js +1 -1
  280. package/dist/components/calcite-avatar/customElement.js +1 -1
  281. package/dist/components/calcite-block/customElement.js +23 -23
  282. package/dist/components/calcite-block-section/customElement.js +1 -1
  283. package/dist/components/calcite-button/customElement.js +1 -1
  284. package/dist/components/calcite-card/customElement.js +1 -1
  285. package/dist/components/calcite-card-group/customElement.js +1 -1
  286. package/dist/components/calcite-carousel/customElement.js +1 -1
  287. package/dist/components/calcite-carousel-item/customElement.js +1 -1
  288. package/dist/components/calcite-checkbox/customElement.js +1 -1
  289. package/dist/components/calcite-chip/customElement.js +1 -1
  290. package/dist/components/calcite-chip-group/customElement.js +1 -1
  291. package/dist/components/calcite-color-picker/customElement.js +1 -1
  292. package/dist/components/calcite-color-picker-hex-input/customElement.js +1 -1
  293. package/dist/components/calcite-color-picker-swatch/customElement.js +1 -1
  294. package/dist/components/calcite-combobox/customElement.js +1 -1
  295. package/dist/components/calcite-combobox-item/customElement.js +42 -40
  296. package/dist/components/calcite-combobox-item/resources.d.ts +0 -1
  297. package/dist/components/calcite-combobox-item-group/customElement.js +1 -1
  298. package/dist/components/calcite-date-picker/customElement.js +1 -1
  299. package/dist/components/calcite-date-picker-day/customElement.js +1 -1
  300. package/dist/components/calcite-date-picker-month/customElement.js +1 -1
  301. package/dist/components/calcite-date-picker-month-header/customElement.js +1 -1
  302. package/dist/components/calcite-dialog/customElement.js +1 -1
  303. package/dist/components/calcite-dropdown/customElement.js +1 -1
  304. package/dist/components/calcite-dropdown-group/customElement.js +1 -1
  305. package/dist/components/calcite-dropdown-item/customElement.js +1 -1
  306. package/dist/components/calcite-fab/customElement.js +1 -1
  307. package/dist/components/calcite-filter/customElement.js +1 -1
  308. package/dist/components/calcite-flow/customElement.js +1 -1
  309. package/dist/components/calcite-flow-item/customElement.js +1 -1
  310. package/dist/components/calcite-graph/customElement.js +1 -1
  311. package/dist/components/calcite-handle/customElement.js +1 -1
  312. package/dist/components/calcite-icon/customElement.js +1 -1
  313. package/dist/components/calcite-inline-editable/customElement.js +1 -1
  314. package/dist/components/calcite-input/customElement.js +1 -1
  315. package/dist/components/calcite-input-date-picker/customElement.js +1 -1
  316. package/dist/components/calcite-input-message/customElement.js +1 -1
  317. package/dist/components/calcite-input-number/customElement.js +1 -1
  318. package/dist/components/calcite-input-text/customElement.js +1 -1
  319. package/dist/components/calcite-input-time-picker/customElement.js +1 -1
  320. package/dist/components/calcite-input-time-zone/customElement.js +6 -6
  321. package/dist/components/calcite-label/customElement.js +1 -1
  322. package/dist/components/calcite-link/customElement.js +1 -1
  323. package/dist/components/calcite-list/customElement.js +1 -1
  324. package/dist/components/calcite-list-item/customElement.js +2 -2
  325. package/dist/components/calcite-list-item-group/customElement.js +1 -1
  326. package/dist/components/calcite-loader/customElement.js +1 -1
  327. package/dist/components/calcite-menu/customElement.js +1 -1
  328. package/dist/components/calcite-menu-item/customElement.js +1 -1
  329. package/dist/components/calcite-meter/customElement.js +1 -1
  330. package/dist/components/calcite-modal/customElement.js +1 -1
  331. package/dist/components/calcite-navigation/customElement.js +1 -1
  332. package/dist/components/calcite-navigation-logo/customElement.js +1 -1
  333. package/dist/components/calcite-navigation-user/customElement.js +1 -1
  334. package/dist/components/calcite-notice/customElement.js +1 -1
  335. package/dist/components/calcite-option/customElement.js +1 -1
  336. package/dist/components/calcite-option-group/customElement.js +1 -1
  337. package/dist/components/calcite-pagination/customElement.js +1 -1
  338. package/dist/components/calcite-panel/customElement.js +1 -1
  339. package/dist/components/calcite-popover/customElement.js +1 -1
  340. package/dist/components/calcite-progress/customElement.js +1 -1
  341. package/dist/components/calcite-radio-button/customElement.js +1 -1
  342. package/dist/components/calcite-radio-button-group/customElement.js +1 -1
  343. package/dist/components/calcite-rating/customElement.js +1 -1
  344. package/dist/components/calcite-scrim/customElement.js +1 -1
  345. package/dist/components/calcite-segmented-control/customElement.js +1 -1
  346. package/dist/components/calcite-segmented-control-item/customElement.js +1 -1
  347. package/dist/components/calcite-select/customElement.js +1 -1
  348. package/dist/components/calcite-sheet/customElement.js +1 -1
  349. package/dist/components/calcite-shell/customElement.js +1 -1
  350. package/dist/components/calcite-shell-center-row/customElement.js +1 -1
  351. package/dist/components/calcite-shell-panel/customElement.js +1 -1
  352. package/dist/components/calcite-slider/customElement.js +1 -1
  353. package/dist/components/calcite-sort-handle/customElement.js +1 -1
  354. package/dist/components/calcite-sortable-list/customElement.js +1 -1
  355. package/dist/components/calcite-split-button/customElement.js +1 -1
  356. package/dist/components/calcite-stack/customElement.js +1 -1
  357. package/dist/components/calcite-stepper/customElement.js +1 -1
  358. package/dist/components/calcite-stepper-item/customElement.js +1 -1
  359. package/dist/components/calcite-switch/customElement.js +1 -1
  360. package/dist/components/calcite-tab/customElement.js +1 -1
  361. package/dist/components/calcite-tab-nav/customElement.js +1 -1
  362. package/dist/components/calcite-tab-title/customElement.js +1 -1
  363. package/dist/components/calcite-table/customElement.js +1 -1
  364. package/dist/components/calcite-table-cell/customElement.js +1 -1
  365. package/dist/components/calcite-table-header/customElement.js +1 -1
  366. package/dist/components/calcite-table-row/customElement.js +1 -1
  367. package/dist/components/calcite-tabs/customElement.js +1 -1
  368. package/dist/components/calcite-text-area/customElement.js +1 -1
  369. package/dist/components/calcite-tile/customElement.js +1 -1
  370. package/dist/components/calcite-tile-group/customElement.js +1 -1
  371. package/dist/components/calcite-tile-select/customElement.js +1 -1
  372. package/dist/components/calcite-tile-select-group/customElement.js +1 -1
  373. package/dist/components/calcite-time-picker/customElement.js +1 -1
  374. package/dist/components/calcite-tip/customElement.js +1 -1
  375. package/dist/components/calcite-tip-group/customElement.js +1 -1
  376. package/dist/components/calcite-tip-manager/customElement.js +1 -1
  377. package/dist/components/calcite-tooltip/customElement.js +1 -1
  378. package/dist/components/calcite-tree/customElement.js +1 -1
  379. package/dist/components/calcite-tree-item/customElement.js +1 -1
  380. package/dist/custom-theme/block.d.ts +10 -0
  381. package/dist/docs/api.json +27 -3
  382. package/dist/docs/docs.json +33 -3
  383. package/dist/docs/vscode.css-custom-data.json +25 -1
  384. package/dist/docs/vscode.html-custom-data.json +1 -1
  385. package/dist/docs/web-types.json +27 -3
  386. package/dist/extras/vscode-data.json +1 -1
  387. package/dist/index.js +1 -1
  388. package/dist/loader.js +2 -2
  389. package/dist/utils/text.d.ts +5 -0
  390. package/package.json +5 -5
  391. package/dist/calcite/AETLBEN4.js +0 -6
  392. package/dist/calcite/ILLRPJY4.js +0 -6
  393. package/dist/calcite/N3YMPIRM.js +0 -6
  394. package/dist/calcite/TVUWKS5N.js +0 -6
  395. package/dist/calcite/YK2BEBTB.js +0 -6
@@ -1,8 +1,8 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- var E=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ft(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Gt(e,t,o){let{subscribe:s}=Kt(t);return s(n=>{n.some(i=>Ft(e,i.target))&&o()})}var _e={};function Kt(e){let t=e.join(","),o=_e[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),{remove:()=>{s.delete(i),s.size===0&&(n.disconnect(),_e[t]=void 0)}}}};return _e[t]=r,r}function Jt(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Yt(e,t,o){return Jt(e,`[${t}]`)?.getAttribute(t)??o}function p(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function H(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}var Zt=["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"],Qt=new Set(Zt),ee="en",Xt={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function We(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return Ce[n]??(Ce[n]=qe(e,s)),await Ce[n]}var Ce={};async function qe(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===ee?{}:await qe(ee,t)}function we(e){let t=Yt(e,"lang",globalThis.navigator?.language||ee);return{lang:t,t9nLocale:Be(t)}}function Be(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=Xt[n]??n,Qt.has(n)?n:o?Be(s):ee}function Fe(e,t,o,s){let n,r=()=>void eo(e,t,s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return r(),Gt(e,["lang"],r)}async function eo(e,t,o=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=we(e),r=`${t}/${o}/t9n`,c=o===null?{}:await We(n,r,"messages.");if(o!==null&&Object.keys(c).length===0){let a=`${o}.t9n.`;c=await We(n,r,a)}return{lang:s,t9nLocale:n,t9nStrings:c}}var te=e=>e.replace(to,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),to=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ge(e,t){let o=t>oo?so:t/no,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var oo=4e3,so=2e3,no=4;function Ke(e){return e!==void 0}function Je(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Ke))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function Ye(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Ze=(e,t)=>e.manager.internals.members?.[t]?.[0];var se=Symbol.for("controller");var et=e=>typeof e=="object"&&e!==null&&(se in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var W;function T(e){W!==e&&(W=e,queueMicrotask(()=>{W===e&&(W=void 0)}))}function N(e){return W}var P=[];function ne(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Ae(){return P}var M;function ro(e){M!==e&&(M=e,queueMicrotask(()=>{M===e&&(M=void 0)}))}function io(){let e=M;return M=void 0,e}var ao=async(e,t)=>{let o=Le(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},co=async e=>{let t=Le(e);return await t.ready,t},Le=e=>{let t=io();if(t!==void 0)return t;let s=N().manager.internals.resolveExports(e);if(s!==void 0)return s;if(et(e))return e},q={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,tt;tt=se;var re=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[tt]=!0,this.ready=this._ready.promise,this._exports=Xe(this),this._exportWatchers=new Set;let t=e??N(new.target.name);this.component=t,this.component.addController(this),ne(this),this.component.manager===void 0||queueMicrotask(()=>this.catchUpLifecycle())}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Xe(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return T(this.component),ao}get useRef(){return T(this.component),co}get useRefSync(){return T(this.component),Le}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await H(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Qe,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Qe,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){T(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function Qe(e){p(e,void 0,this)}var ot=re;function Xe(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(lo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var lo=new Set(["exports","_exports"]);function st(e,t,o){let s=Object.keys(e),n=s.length;S===void 0&&queueMicrotask(F),S??(S=new Map);let r=S.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},S.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[n];a===void 0?c(void 0):e[a]===o?c(a):c(void 0)}),o}var S=void 0;function F(){Array.from(S?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),S=void 0}function ie(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var nt=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([o,[s]])=>{var n;s&2048&&((n=t.setters)[o]??(n[o]=[]),t.setters[o].push(t.readonlySetter))})},this.trackedValue=xe,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,o,s)=>{if(q.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let o=this.keyTrackers;this.trackedValue=xe,this.keyTrackers=[],o.forEach(s=>s(e,t))}getSetProxy(e){let t=this.component,o=t.constructor.prototype;if(this._getSetProxy(o,e,"class"),t.manager.isLit)return;let s=t.el.constructor.prototype;o!==s&&this._getSetProxy(s,e,"html")}_getSetProxy(e,t,o){let s=this.component,n=Ze(s,t),r;do r=Object.getOwnPropertyDescriptor(e,t);while(!r&&(e=Object.getPrototypeOf(e)));if(!r)return;let i=r.get,c=r.set,a=oe in i,l=oe in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let b=i.call(this),C=B.get(this);if(q.getter||C===void 0)return b;let L=C.manager.internals;b=L.accessorGetter[t](b,t);let g=L.getters[t]??$e;for(let w=0;w<g.length;w++)b=g[w](b,t);return b}:i,u=h?function(b){let C=i.call(this),L=B.get(this);if(L===void 0){c.call(this,b);return}let g=L.manager.isLit?b??void 0:Ye(b,n),w=L.manager.internals;if(g===C)c.call(this,g);else{let He=q.setter?$e:w.setters[t]??$e;for(let z=0;z<He.length&&(g=He[z](g,C,t),g!==C);z++);g=w.accessorSetter[t](g,C,t),c.call(this,g),g!==C&&w.enabledWatchers[t]?.forEach(z=>z(g,C,t))}w.keyTrackers.length>0&&w?.firePropTrackers(t,b)}:c;d&&(m[oe]=!0),h&&(u[oe]=!0),Object.defineProperty(e,t,{...r,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},$e=[],oe=Symbol(),xe=Symbol();function rt(e,t,o){let s=e.manager.internals;return s.trackedValue!==xe&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(t,void 0,o===r?n:void 0)),o}function ae(e=[N(),...Ae()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&t(c)};s.forEach(c=>st(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&rt(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function it(e){q.readOnly=!0;try{return e()}finally{q.readOnly=!1}}var at=e=>(...t)=>{let o=Ae(),s=new e(...t),n=s.exports;ne(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),ro(s);let i=[s.component,...o].reverse();return ae(i,c=>c===void 0?void 0:ho(s,c,n),n)};function ho(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,c=r[o]!==n,a=n!==e.exports;if(i&&!c&&a&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;c&&d.markExports(e,r[o]),ie(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?it(()=>{r[o]=e.exports}):r[o]=e.exports})}var lt=(e,t)=>new po(e,t),po=class extends ot{constructor(e,t){let o="addController"in e,s=new Set;function n(a){s.add(a),!(se in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=n,i.removeController=r,!o){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new nt(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Je(e,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Oe in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ct,c.accessorSetter[a]=ct,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),ne(void 0),T(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,o=e.el===e;this._originalLifecycles={_connectedCallback:t||o?void 0:e.connectedCallback,_disconnectedCallback:t||o?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(e.connectedCallback=s,e.disconnectedCallback=n,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=r,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Oe} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(fo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(mo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,yo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&ie(this.component,Oe,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(vo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(go,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(bo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new E,t.resolve(!0)}}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,this._controllers.forEach(Eo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Ge(e,uo)}}},Oe="autoDestroyDisabled",uo=1e3;var ct=e=>e;function fo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function mo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function yo(e){"triggerLoad"in e?await e.triggerLoad():await H(e.hostLoad,e)}function vo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function go(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function bo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Eo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var _o=e=>wo(void 0,e);var Co=class extends re{constructor(e,t){super(e);let o=this.exports;try{T(this.component);let s=t(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},wo=at(Co),Os=(e,t)=>new $o(e,t),$o=class extends re{constructor(e,t){super(),this._attributes=e,this._callback=t,this._observer=new MutationObserver(o=>{o.forEach(s=>{e.includes(s.attributeName)&&t.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(e=>{this.component.el.hasAttribute(e)&&this._callback.call(this.component,null,this.component.el.getAttribute(e),e)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ss=(e,t)=>(o={})=>_o((s,n)=>{let r=we(s.el),i={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},c=s;queueMicrotask(()=>n.onLifecycle(()=>Fe(s.el,e("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let m={...d,_lang:h,_t9nLocale:l,_loading:!1};n.exports=m;let u=d.componentLabel??d.widgetLabel;typeof u=="string"&&"label"in s&&s.label==null&&(s.label??(s.label=u)),a(c.messageOverrides)},o.name)));function a(l){let d=n.exports,h=d._original??d,m=ht(h,l);l&&(m._original=h),n.exports=m}return"messageOverrides"in c&&n.onLifecycle(()=>ie(c,"messageOverrides",a)),o.blocking?(n.setProvisionalExports(i,!1),n.ready):i});function ht(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=ht(e[s],n):o[s]=n??e[s]}),o}var ce=globalThis,le=ce.ShadowRoot&&(ce.ShadyCSS===void 0||ce.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pe=Symbol(),dt=new WeakMap,G=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==Pe)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(le&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=dt.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&dt.set(o,t))}return t}toString(){return this.cssText}},pt=e=>new G(typeof e=="string"?e:e+"",void 0,Pe),xo=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(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)+e[r+1],e[0]);return new G(o,e,Pe)},Se=(e,t)=>{if(le)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=ce.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},he=le?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return pt(o)})(e):e;var Ne=globalThis,de=Ne.trustedTypes,ut=de?de.createPolicy("lit-html",{createHTML:e=>e}):void 0,ke="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,De="?"+$,Ao=`<${De}>`,R=document,J=()=>R.createComment(""),Y=e=>e===null||typeof e!="object"&&typeof e!="function",Re=Array.isArray,bt=e=>Re(e)||typeof e?.[Symbol.iterator]=="function",Te=`[
6
+ var E=class{resolve(e){}reject(e){}constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}};function Ft(e,t){let o=e;for(;o;){if(o===t)return!0;if(!o.parentNode)return!1;o.parentNode instanceof ShadowRoot?o=o.parentNode.host:o=o.parentNode}return!1}function Gt(e,t,o){let{subscribe:s}=Kt(t);return s(n=>{n.some(i=>Ft(e,i.target))&&o()})}var Ee={};function Kt(e){let t=e.join(","),o=Ee[t];if(o!==void 0)return o;let s=new Set,n=new MutationObserver(i=>s.forEach(c=>c(i)));globalThis.document&&n.observe(document.documentElement,{attributes:!0,attributeFilter:e,subtree:!0});let r={subscribe(i){return s.add(i),{remove:()=>{s.delete(i),s.size===0&&(n.disconnect(),Ee[t]=void 0)}}}};return Ee[t]=r,r}function Jt(e,t){let o=e;for(;o;){let s=o.closest?.(t);if(s)return s;let n=o.getRootNode?.();if(n===globalThis.document)return null;o=n.host}return null}function Yt(e,t,o){return Jt(e,`[${t}]`)?.getAttribute(t)??o}function p(e,t,...o){try{return e?.call(t,...o)}catch(s){console.error(s,e)}}async function H(e,t,...o){try{let s=e?.call(t,...o);return s instanceof Promise?await s:s}catch(s){console.error(s,e)}}var Zt=["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"],Qt=new Set(Zt),ee="en",Xt={pt:"pt-PT",nb:"no",zh:"zh-CN"};async function We(e,t,o=""){let s=`${t}/${o}`,n=`${s}${e}.json`;return _e[n]??(_e[n]=qe(e,s)),await _e[n]}var _e={};async function qe(e,t){let o=`${t}${e}.json`;try{let s=await fetch(o);if(s.ok)return await s.json()}catch(s){return console.error(s),{}}return e===ee?{}:await qe(ee,t)}function Ce(e){let t=Yt(e,"lang",globalThis.navigator?.language||ee);return{lang:t,t9nLocale:Be(t)}}function Be(e){let[t,o]=e.split("-"),s=t.toLowerCase(),n=s;return o&&(n=`${s}-${o.toUpperCase()}`),n=Xt[n]??n,Qt.has(n)?n:o?Be(s):ee}function Fe(e,t,o,s){let n,r=()=>void eo(e,t,s).then(i=>{(n?.lang!==i.lang||n.t9nLocale!==i.t9nLocale||n.t9nStrings!==i.t9nStrings)&&o(i),n=i}).catch(console.error);return r(),Gt(e,["lang"],r)}async function eo(e,t,o=e.tagName.toLowerCase().split("-").slice(1).join("-")){let{lang:s,t9nLocale:n}=Ce(e),r=`${t}/${o}/t9n`,c=o===null?{}:await We(n,r,"messages.");if(o!==null&&Object.keys(c).length===0){let a=`${o}.t9n.`;c=await We(n,r,a)}return{lang:s,t9nLocale:n,t9nStrings:c}}var te=e=>e.replace(to,(t,o)=>`${o===0?"":"-"}${t.toLowerCase()}`),to=/[A-Z]+(?![a-z])|[A-Z]/gu;function Ge(e,t){let o=t>oo?so:t/no,s=0,n=setInterval(()=>{s+=o,s>=t&&(clearInterval(n),e())},o);return n}var oo=4e3,so=2e3,no=4;function Ke(e){return e!==void 0}function Je(e,t){if(t){let o=e.constructor.elementProperties;e.manager.internals.members=Object.fromEntries(Array.from(o,([s,n])=>n.noAccessor?void 0:[s,[(n.readOnly?2048:0)|(n.state?32:16)]]).filter(Ke))}else{let o=e.constructor,s=o.__registerControllers?.(e)??void 0;if(o.__registerControllers=void 0,typeof s!="object")throw new Error("Failed to retrieve component meta");e.manager.internals.members=Object.fromEntries(Object.entries(s).filter(([n,[r]])=>(r&63)!==0))}}function Ye(e,t=8){return e==null||typeof e=="object"||typeof e=="function"?e:t&4?e==="false"?!1:e===""||!!e:t&2?Number.parseFloat(e):t&1?String(e):e}var Ze=(e,t)=>e.manager.internals.members?.[t]?.[0];var se=Symbol.for("controller");var et=e=>typeof e=="object"&&e!==null&&(se in e||"hostConnected"in e||"hostDisconnected"in e||"hostUpdate"in e||"hostUpdated"in e);var W;function T(e){W!==e&&(W=e,queueMicrotask(()=>{W===e&&(W=void 0)}))}function N(e){return W}var P=[];function xe(e){if(e===void 0){P=[];return}let t=P.indexOf(e);P=t===-1?[...P,e]:P.slice(0,t+1),queueMicrotask(()=>{P=[]})}function Ae(){return P}var M;function ro(e){M!==e&&(M=e,queueMicrotask(()=>{M===e&&(M=void 0)}))}function io(){let e=M;return M=void 0,e}var ao=async(e,t)=>{let o=Le(e);if(o===void 0)return e;if(await o.ready,typeof t=="function"){let s=o.watchExports(n=>t(n,s))}return o.exports},co=async e=>{let t=Le(e);return await t.ready,t},Le=e=>{let o=N().manager.internals.resolveExports(e);if(o!==void 0)return o;if(et(e))return e;let s=io();if(s!==void 0)return s},q={setter:!1,getter:!1,readOnly:!1},B=new WeakMap,tt;tt=se;var ne=class{constructor(e){this._callbacks={hostConnected:[],hostDisconnected:[],hostLoad:[],hostLoaded:[],hostUpdate:[],hostUpdated:[],hostDestroy:[],hostLifecycle:[]},this._ready=new E,this._lifecycleCleanups=[],this.connectedCalled=!1,this._loadCalled=!1,this.loadedCalled=!1,this[tt]=!0,this.ready=this._ready.promise,this._exports=Xe(this),this._exportWatchers=new Set;let t=e??N(new.target.name);this.component=t,this.component.addController(this),this.component.manager===void 0||(xe(this),queueMicrotask(()=>this.catchUpLifecycle()))}catchUpLifecycle(){let{manager:e}=this.component;e.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),e._loadCalled&&this.triggerLoad().then(()=>{e.loadedCalled&&this.triggerLoaded()}).catch(console.error)}get exports(){return this._exports}set exports(e){let t=this._exports;t!==e&&(this._exports=e,this._exportWatchers.forEach(p),this.connectedCalled&&this.assignedProperty!==!1&&this.component.requestUpdate(this.assignedProperty,t)),this._ready.resolve(e)}setProvisionalExports(e,t=!0){this._exports=t?Xe(e):e,this._exportWatchers.forEach(p)}watchExports(e){let t=()=>e(this._exports);return this._exportWatchers.add(t),()=>void this._exportWatchers.delete(t)}get use(){return T(this.component),ao}get useRef(){return T(this.component),co}get useRefSync(){return T(this.component),Le}controllerRemoved(){this.component.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(e){this._callbacks.hostConnected.push(e)}onDisconnected(e){this._callbacks.hostDisconnected.push(e)}onLoad(e){this._callbacks.hostLoad.push(e)}onLoaded(e){this._callbacks.hostLoaded.push(e)}onUpdate(e){this._callbacks.hostUpdate.push(e)}onUpdated(e){this._callbacks.hostUpdated.push(e)}onDestroy(e){this._callbacks.hostDestroy.push(e)}onLifecycle(e){this._callbacks.hostLifecycle.push(e),this.connectedCalled&&this.component.el.isConnected&&this._callLifecycle(e)}triggerConnected(){let e=this;e.hostConnected&&p(e.hostConnected,e),this._callbacks.hostConnected.forEach(p),this.triggerLifecycle(),this.connectedCalled=!0}triggerDisconnected(){let e=this;e.hostDisconnected&&p(e.hostDisconnected,e),this._callbacks.hostDisconnected.forEach(p),this._lifecycleCleanups.forEach(p),this._lifecycleCleanups=[]}async triggerLoad(){if(this._loadCalled)return;this._loadCalled=!0;let e=this;e.hostLoad&&await H(e.hostLoad,e),this._callbacks.hostLoad.length>0&&await Promise.allSettled(this._callbacks.hostLoad.map(H)),this._ready.resolve(this._exports)}triggerLoaded(){if(this.loadedCalled)return;let e=this;e.hostLoaded&&p(e.hostLoaded,e),this._callbacks.hostLoaded.forEach(p),this.loadedCalled=!0}triggerUpdate(e){let t=this;t.hostUpdate&&p(t.hostUpdate,t,e),this._callbacks.hostUpdate.forEach(Qe,e)}triggerUpdated(e){let t=this;t.hostUpdated&&p(t.hostUpdated,t,e),this._callbacks.hostUpdated.forEach(Qe,e)}triggerDestroy(){let e=this;e.hostDestroy&&p(e.hostDestroy,e),this._callbacks.hostDestroy.forEach(p)}triggerLifecycle(){let e=this;e.hostLifecycle&&this._callLifecycle(()=>e.hostLifecycle()),this._callbacks.hostLifecycle.forEach(this._callLifecycle,this)}_callLifecycle(e){T(this.component);let t=p(e);(Array.isArray(t)?t:[t]).forEach(s=>{typeof s=="function"?this._lifecycleCleanups.push(s):typeof s=="object"&&typeof s.remove=="function"&&this._lifecycleCleanups.push(s.remove)})}};function Qe(e){p(e,void 0,this)}var ot=ne;function Xe(e){if(typeof e!="object"&&typeof e!="function"||e===null)return e;let t=new Proxy(e,{get(o,s,n){if(!(lo.has(s)&&s in o&&o[s]===t)&&(s in o||s in Promise.prototype||typeof s=="symbol"))return typeof o=="function"?o[s]:Reflect.get(o,s,n)},set:(o,s,n,r)=>Reflect.set(o,s,n,r)});return t}var lo=new Set(["exports","_exports"]);function st(e,t,o){let s=Object.keys(e),n=s.length;S===void 0&&queueMicrotask(F),S??(S=new Map);let r=S.get(e);return r===void 0&&(r={callbacks:[],keyCount:n},S.set(e,r)),r.keyCount!==n&&(r.callbacks.forEach(i=>i(s)),r.callbacks=[],r.keyCount=n),r.callbacks.push(i=>{let c=l=>p(t,null,l),a=i[n];a===void 0?c(void 0):e[a]===o?c(a):c(void 0)}),o}var S=void 0;function F(){Array.from(S?.entries()??[]).forEach(([e,{callbacks:t}])=>{let o=Object.keys(e);t.forEach(s=>s(o))}),S=void 0}function re(e,t,o){var s;let n=t,r=e.manager.internals;(s=r.allWatchers)[n]??(s[n]=[]);let i=r.allWatchers[n],c=o,a=(l,d,h)=>p(c,null,l,d,h);return i.push(a),()=>{let l=i.indexOf(a);l!==-1&&i.splice(l,1)}}var nt=class{constructor(e){this.enabledWatchers={},this.allWatchers={},this.enableReadonly=()=>{if(this.enableReadonly=void 0,!this.component.manager.isLit)return;let t=this.component.manager.internals;Object.entries(t.members).forEach(([o,[s]])=>{var n;s&2048&&((n=t.setters)[o]??(n[o]=[]),t.setters[o].push(t.readonlySetter))})},this.trackedValue=$e,this.keyTrackers=[],this.getters={},this.setters={},this.accessorGetter={},this.accessorSetter={},this._exports=new WeakMap,this.readonlySetter=(t,o,s)=>{if(q.readOnly)return t;throw new Error(`Cannot assign to read-only property "${s}" of ${this.component.el.tagName.toLowerCase()}. Trying to assign "${String(t)}"`)},this.component=e}firePropTrackers(e,t){let o=this.keyTrackers;this.trackedValue=$e,this.keyTrackers=[],o.forEach(s=>s(e,t))}getSetProxy(e){let t=this.component,o=t.constructor.prototype;if(this._getSetProxy(o,e,"class"),t.manager.isLit)return;let s=t.el.constructor.prototype;o!==s&&this._getSetProxy(s,e,"html")}_getSetProxy(e,t,o){let s=this.component,n=Ze(s,t),r;do r=Object.getOwnPropertyDescriptor(e,t);while(!r&&(e=Object.getPrototypeOf(e)));if(!r)return;let i=r.get,c=r.set,a=oe in i,l=oe in c;if(a&&l)return;let d=!a,h=!l,m=d?function(){let b=i.call(this),C=B.get(this);if(q.getter||C===void 0)return b;let L=C.manager.internals;b=L.accessorGetter[t](b,t);let g=L.getters[t]??we;for(let w=0;w<g.length;w++)b=g[w](b,t);return b}:i,u=h?function(b){let C=i.call(this),L=B.get(this);if(L===void 0){c.call(this,b);return}let g=L.manager.isLit?b??void 0:Ye(b,n),w=L.manager.internals;if(g===C)c.call(this,g);else{let He=q.setter?we:w.setters[t]??we;for(let z=0;z<He.length&&(g=He[z](g,C,t),g!==C);z++);g=w.accessorSetter[t](g,C,t),c.call(this,g),g!==C&&w.enabledWatchers[t]?.forEach(z=>z(g,C,t))}w.keyTrackers.length>0&&w?.firePropTrackers(t,b)}:c;d&&(m[oe]=!0),h&&(u[oe]=!0),Object.defineProperty(e,t,{...r,get:m,set:u})}markExports(e,t){(typeof t=="object"&&t!==null||typeof t=="function")&&this._exports.set(t,e)}resolveExports(e){if(typeof e=="object"&&e!==null||typeof e=="function")return this._exports.get(e)}},we=[],oe=Symbol(),$e=Symbol();function rt(e,t,o){let s=e.manager.internals;return s.trackedValue!==$e&&s.trackedValue!==o&&s.firePropTrackers(void 0,void 0),s.keyTrackers.length===0&&queueMicrotask(()=>s.firePropTrackers(void 0,void 0)),s.trackedValue=o,s.keyTrackers.push((n,r)=>p(t,void 0,o===r?n:void 0)),o}function ie(e=[N(),...Ae()],t,o){let s=Array.isArray(e)?e:[e],n=s.length+1,r=c=>{n-=1,c!==void 0&&(n=Math.min(n,0)),n===0&&t(c)};s.forEach(c=>st(c,a=>r(a===void 0?void 0:{key:a,host:c,isReactive:!1}),o));let i=s.find(c=>"manager"in c&&typeof c.manager=="object"&&c.manager.component===c);return i&&rt(i,c=>r(c===void 0?void 0:{key:c,host:i,isReactive:!0}),o),o}function it(e){q.readOnly=!0;try{return e()}finally{q.readOnly=!1}}var at=e=>(...t)=>{let o=Ae(),s=new e(...t),n=s.exports;xe(o.at(-1));let r=s.component.manager.internals;r.markExports(s,n),s.watchExports(c=>r.markExports(s,c)),ro(s);let i=[s.component,...o].reverse();return ie(i,c=>c===void 0?void 0:ho(s,c,n),n)};function ho(e,{host:t,key:o,isReactive:s},n){let r=t,i=r[o]!==e.exports,c=r[o]!==n,a=n!==e.exports;if(i&&!c&&a&&(r[o]=e.exports),t===e.component){if(s){let d=e.component.manager.internals;c&&d.markExports(e,r[o]),re(e.component,o,h=>{h!==e.exports&&d.markExports(e,h)})}e.assignedProperty=s?void 0:o}e.watchExports(()=>{if(r[o]===e.exports)return;let d=e.component.manager;d.internals.setters[o]?.includes(d.internals.readonlySetter)?it(()=>{r[o]=e.exports}):r[o]=e.exports})}var lt=(e,t)=>new po(e,t),po=class extends ot{constructor(e,t){let o="addController"in e,s=new Set;function n(a){s.add(a),!(se in a)&&e.renderRoot&&e.el.isConnected&&a.hostConnected?.()}function r(a){s.delete(a),a.controllerRemoved?.()}let i=e;if(i.addController=n,i.removeController=r,!o){let a=t??e.constructor.__forceUpdate;i.requestUpdate=()=>a(e)}super(e),this.internals=new nt(this.component),this.destroyed=!1,this._updatePromise=new E,this._originalLifecycles={},this.isLit=o,this.component.manager=this,Je(e,o),this._controllers=s,this.exports=void 0,this.hasDestroy=Oe in this.component&&typeof this.component.destroy=="function",this._bindLifecycleMethods();let c=this.internals;Object.keys(c.members).forEach(a=>{c.accessorGetter[a]=ct,c.accessorSetter[a]=ct,c.getSetProxy(a)}),o?this.internals.enabledWatchers=this.internals.allWatchers:Object.defineProperty(e,"updateComplete",{get:async()=>await this._updatePromise.promise}),queueMicrotask(c.enableReadonly),T(e),B.set(e.el,e),B.set(e,e)}_bindLifecycleMethods(){let e=this.component,t=this.isLit,o=e.el===e;this._originalLifecycles={_connectedCallback:t||o?void 0:e.connectedCallback,_disconnectedCallback:t||o?void 0:e.disconnectedCallback,_load:t?e.load:e.componentWillLoad,_loaded:t?e.loaded:e.componentDidLoad,_willUpdate:t?void 0:e.componentWillUpdate,_updated:t?void 0:e.componentDidUpdate,_destroy:e.destroy};let s=this._connectedCallback.bind(this),n=this._disconnectedCallback.bind(this),r=this._update.bind(this),i=this._updated.bind(this);t?e.constructor.prototype.addController.call(e,{hostConnected:s,hostDisconnected:n,hostUpdate:r,hostUpdated:i}):(e.connectedCallback=s,e.disconnectedCallback=n,e.componentWillLoad=this._load.bind(this),e.componentDidLoad=this._loaded.bind(this),e.componentWillUpdate=r,e.componentDidUpdate=i),this.hasDestroy&&(e.destroy=this.destroy.bind(this))}_connectedCallback(){if(this.destroyed){let t=this.component.el.tagName.toLowerCase();throw this.component.el.remove(),new Error(`The ${t} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${Oe} prop.`)}this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout);let e=this.internals;e.enabledWatchers=e.allWatchers,F(),e.enableReadonly?.(),this._controllers.forEach(fo),this._originalLifecycles._connectedCallback?.call(this.component)}_disconnectedCallback(){this.destroyed||(this._controllers.forEach(mo),this._originalLifecycles._disconnectedCallback?.call(this.component),this.hasDestroy&&this._setAutoDestroyTimeout())}async _load(){await Promise.allSettled(Array.from(this._controllers,yo)),await this._originalLifecycles._load?.call(this.component),this.hasDestroy&&re(this.component,Oe,()=>this._setAutoDestroyTimeout())}_loaded(){this._controllers.forEach(vo),this._originalLifecycles._loaded?.call(this.component)}_update(){let e=this.component;this._controllers.forEach(go,e.$changes),this._originalLifecycles._willUpdate?.call(this.component)}_updated(){let e=this.component;if(this._controllers.forEach(bo,e.$changes),this._originalLifecycles._updated?.call(this.component),this.isLit)e.$changes=new Map;else{let t=this._updatePromise;this._updatePromise=new E,t.resolve(!0)}}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,this._controllers.forEach(Eo),this._controllers.clear(),await this._originalLifecycles._destroy?.call(this.component)}}_setAutoDestroyTimeout(){if(this._autoDestroyTimeout!==void 0&&clearTimeout(this._autoDestroyTimeout),!this.component.el.isConnected&&!this.component.autoDestroyDisabled){let e=()=>void this.destroy().catch(console.error);this._autoDestroyTimeout=Ge(e,uo)}}},Oe="autoDestroyDisabled",uo=1e3;var ct=e=>e;function fo(e){"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)}function mo(e){"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e)}async function yo(e){"triggerLoad"in e?await e.triggerLoad():await H(e.hostLoad,e)}function vo(e){"triggerLoaded"in e?e.triggerLoaded():p(e.hostLoaded,e)}function go(e){"triggerUpdate"in e?e.triggerUpdate(this):p(e.hostUpdate,e,this)}function bo(e){"triggerUpdated"in e?e.triggerUpdated(this):p(e.hostUpdated,e,this)}function Eo(e){"triggerDestroy"in e?e.triggerDestroy():p(e.hostDestroy,e)}var _o=e=>wo(void 0,e);var Co=class extends ne{constructor(e,t){super(e);let o=this.exports;try{T(this.component);let s=t(this.component,this),n=this.exports!==o;if(s instanceof Promise){n||this.setProvisionalExports(s);let r=s.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this._ready.reject(i),console.error(i)});this.onLoad(async()=>await r)}else(!n||s!==void 0)&&(this.exports=s),queueMicrotask(()=>super.catchUpLifecycle())}catch(s){this._ready.reject(s),console.error(s)}}catchUpLifecycle(){}},wo=at(Co),Os=(e,t)=>new $o(e,t),$o=class extends ne{constructor(e,t){super(),this._attributes=e,this._callback=t,this._observer=new MutationObserver(o=>{o.forEach(s=>{e.includes(s.attributeName)&&t.call(this.component,this.component.el.getAttribute(s.attributeName),s.oldValue,s.attributeName)})})}hostConnected(){this._attributes.forEach(e=>{this.component.el.hasAttribute(e)&&this._callback.call(this.component,null,this.component.el.getAttribute(e),e)}),this._observer.observe(this.component.el,{attributes:!0,attributeOldValue:!0,attributeFilter:this._attributes})}hostDisconnected(){this._observer.disconnect()}};var Ss=(e,t)=>(o={})=>_o((s,n)=>{let r=Ce(s.el),i={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},c=s;queueMicrotask(()=>n.onLifecycle(()=>Fe(s.el,e("./assets"),({t9nLocale:l,t9nStrings:d,lang:h})=>{let m={...d,_lang:h,_t9nLocale:l,_loading:!1};n.exports=m;let u=d.componentLabel??d.widgetLabel;typeof u=="string"&&"label"in s&&s.label==null&&(s.label??(s.label=u)),a(c.messageOverrides)},o.name)));function a(l){let d=n.exports,h=d._original??d,m=ht(h,l);l&&(m._original=h),n.exports=m}return"messageOverrides"in c&&n.onLifecycle(()=>re(c,"messageOverrides",a)),o.blocking?(n.setProvisionalExports(i,!1),n.ready):i});function ht(e,t){if(!t)return e;let o={...e};return Object.entries(t).forEach(([s,n])=>{typeof n=="object"?o[s]=ht(e[s],n):o[s]=n??e[s]}),o}var ae=globalThis,ce=ae.ShadowRoot&&(ae.ShadyCSS===void 0||ae.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Pe=Symbol(),dt=new WeakMap,G=class{constructor(t,o,s){if(this._$cssResult$=!0,s!==Pe)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=o}get styleSheet(){let t=this.o,o=this.t;if(ce&&t===void 0){let s=o!==void 0&&o.length===1;s&&(t=dt.get(o)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),s&&dt.set(o,t))}return t}toString(){return this.cssText}},pt=e=>new G(typeof e=="string"?e:e+"",void 0,Pe),xo=(e,...t)=>{let o=e.length===1?e[0]:t.reduce((s,n,r)=>s+(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)+e[r+1],e[0]);return new G(o,e,Pe)},Se=(e,t)=>{if(ce)e.adoptedStyleSheets=t.map(o=>o instanceof CSSStyleSheet?o:o.styleSheet);else for(let o of t){let s=document.createElement("style"),n=ae.litNonce;n!==void 0&&s.setAttribute("nonce",n),s.textContent=o.cssText,e.appendChild(s)}},le=ce?e=>e:e=>e instanceof CSSStyleSheet?(t=>{let o="";for(let s of t.cssRules)o+=s.cssText;return pt(o)})(e):e;var Ne=globalThis,he=Ne.trustedTypes,ut=he?he.createPolicy("lit-html",{createHTML:e=>e}):void 0,ke="$lit$",$=`lit$${Math.random().toFixed(9).slice(2)}$`,De="?"+$,Ao=`<${De}>`,R=document,J=()=>R.createComment(""),Y=e=>e===null||typeof e!="object"&&typeof e!="function",Re=Array.isArray,bt=e=>Re(e)||typeof e?.[Symbol.iterator]=="function",Te=`[
7
7
  \f\r]`,K=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,ft=/-->/g,mt=/>/g,k=RegExp(`>|${Te}(?:([^\\s"'>=/]+)(${Te}*=${Te}*(?:[^
8
- \f\r"'\`<>=]|("|')|))|$)`,"g"),yt=/'/g,vt=/"/g,Et=/^(?:script|style|textarea|title)$/i,je=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),js=je(1),Us=je(2),Is=je(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),gt=new WeakMap,D=R.createTreeWalker(R,129);function _t(e,t){if(!Re(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ut!==void 0?ut.createHTML(t):t}var Ct=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=K;for(let c=0;c<o;c++){let a=e[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===K?d[1]==="!--"?i=ft:d[1]!==void 0?i=mt:d[2]!==void 0?(Et.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=k):d[3]!==void 0&&(i=k):i===k?d[0]===">"?(i=n??K,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?k:d[3]==='"'?vt:yt):i===vt||i===yt?i=k:i===ft||i===mt?i=K:(i=k,n=void 0);let u=i===k&&e[c+1].startsWith("/>")?" ":"";r+=i===K?a+Ao:h>=0?(s.push(l),a.slice(0,h)+ke+a.slice(h)+$+u):a+$+(h===-2?c:u)}return[_t(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},Z=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,d]=Ct(t,o);if(this.el=e.createElement(l,s),D.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=D.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(ke)){let m=d[i++],u=n.getAttribute(h).split($),v=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:v[2],strings:u,ctor:v[1]==="."?ue:v[1]==="?"?fe:v[1]==="@"?me:U}),n.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Et.test(n.tagName)){let h=n.textContent.split($),m=h.length-1;if(m>0){n.textContent=de?de.emptyScript:"";for(let u=0;u<m;u++)n.append(h[u],J()),D.nextNode(),a.push({type:2,index:++r});n.append(h[m],J())}}}else if(n.nodeType===8)if(n.data===De)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)a.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(t,o){let s=R.createElement("template");return s.innerHTML=t,s}};function j(e,t,o=e,s){if(t===y)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Y(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=j(e,n._$AS(e,t.values),n,s)),t}var pe=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??R).importNode(o,!0);D.currentNode=n;let r=D.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new ye(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=D.nextNode(),i++)}return D.currentNode=R,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},V=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=j(this,t,o),Y(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):bt(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!==f&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Z.createElement(_t(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new pe(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=gt.get(t.strings);return o===void 0&&gt.set(t.strings,o=new Z(t)),o}k(t){Re(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(J()),this.O(J()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=j(this,t,o,0),i=!Y(t)||t!==this._$AH&&t!==y,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=j(this,c[s+a],o,a),l===y&&(l=this._$AH[a]),i||=!Y(l)||l!==this._$AH[a],l===f?t=f:t!==f&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ue=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},fe=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},me=class extends U{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=j(this,t,o,0)??f)===y)return;let s=this._$AH,n=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==f&&(s===f||n);n&&this.element.removeEventListener(this.name,this,s),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)}},ye=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}},wt={M:ke,P:$,A:De,C:1,L:Ct,R:pe,D:bt,V:j,I:V,H:U,N:fe,U:me,B:ue,F:ye},Lo=Ne.litHtmlPolyfillSupport;Lo?.(Z,V),(Ne.litHtmlVersions??=[]).push("3.2.1");var $t=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new V(t.insertBefore(J(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:Oo,defineProperty:Po,getOwnPropertyDescriptor:So,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,ge=globalThis,xt=ge.trustedTypes,Do=xt?xt.emptyScript:"",Ro=ge.reactiveElementPolyfillSupport,Q=(e,t)=>e,ve={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ue=(e,t)=>!Oo(e,t),At={attribute:!0,type:String,converter:ve,reflect:!1,hasChanged:Ue};Symbol.metadata??=Symbol("metadata"),ge.litPropertyMetadata??=new WeakMap;var x=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,o=At){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&Po(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=So(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let t=ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...No(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(he(n))}else t!==void 0&&o.push(he(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s: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,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Se(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,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:ve).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:ve;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Ue)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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 s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(ge.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=$t(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return y}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var jo=globalThis.litElementPolyfillSupport;jo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=e=>(...t)=>({_$litDirective$:e,values:t}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:Uo}=wt;var Ot=e=>e.strings===void 0,Lt=()=>document.createComment(""),on=(e,t,o)=>{let s=e._$AA.parentNode,n=t===void 0?e._$AB:t._$AA;if(o===void 0){let r=s.insertBefore(Lt(),n),i=s.insertBefore(Lt(),n);o=new Uo(r,i,e,e.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==e;if(c){let a;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(a=e._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},sn=(e,t,o=e)=>(e._$AI(t,o),e),Io={},Pt=(e,t=Io)=>e._$AH=t,nn=e=>e._$AH,rn=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let s=t.nextSibling;t.remove(),t=s}};var Mo=I(class extends O{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ot(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===y||t===f)return t;let o=e.element,s=e.name;if(e.type===_.PROPERTY){if(t===o[s])return y}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return y}else if(e.type===_.ATTRIBUTE&&o.getAttribute(s)===t+"")return y;return Pt(e),t}});var St=";",be=",",Tt=":";function Ie(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Vo=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(zo)};function zo([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(St),i=s?s?.split(be).map(Nt):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(be):void 0}static{this._syncMethods=r?.split(be)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var Ee=Object.defineProperty;function Nt(e){let t=e.split(Tt);return t.length===1?[t[0],te(t[0])]:t}var Ho=globalThis.HTMLElement??Nt,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}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(e){Ee(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){Ee(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){Ee(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=t[o],delete t[o])})}attributeChangedCallback(e,t,o){this._litElement?.attributeChangedCallback(e,t,o),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Ie(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,o=t._name,s=this._store,n=Object.values(e).find(u=>u.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(u,v){a.setAttribute.call(this.el,u,v)},c.removeAttribute=function(u){a.removeAttribute.call(this.el,u)},Ee(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let h=document.createElement(r);n.lazy=void 0,this._litElement=h,this._store=h,this._pendingAttributes.forEach(u=>{let v=this.getAttribute(u);h.attributeChangedCallback(u,null,v)}),Object.entries(s).forEach(qo,h);let m=this.isConnected;(m||this._ancestorLoad)&&(h.connectedCallback?.(),m||h.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([e,t]){this[e]=t}var Me={};var Rt=I(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return y}});var jt="important",Fo=" !"+jt,Ut=I(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Fo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?jt:""):o[s]=n}}return y}});var It=(e="",t={},o=N())=>{let s={emit:n=>{e===""&&F();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&&ae(void 0,n=>{e=n.key},s),s},ur=It.bind(null,"");var Go=()=>{},Ko=class Mt extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=lt(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let t=Mt.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Me;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&1&&typeof t=="string"?te(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...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(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Me?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return A.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Ie(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=It;function Vt(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var $r=e=>typeof e=="object"&&e!=null?Rt(e):e,xr=e=>typeof e=="object"&&e!=null?Ut(e):e;var Lr=f;function Or(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)}var Pr={toAttribute:e=>e===!0?"":e===!1?null:e};var Wt="calcite-mode-auto",qt="calcite-mode-dark",Jo="calcite-mode-light",kr={autoMode:Wt,darkMode:qt,lightMode:Jo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Dr={filter:250,nextTick:0,resize:150,reposition:100};function zt(){let{classList:e}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>e.contains(qt)||e.contains(Wt)&&t?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Rr=X?.focusTrapStack||[],jr=X?.logLevel||"info",Ht="3.0.0-next.82",Yo="2024-12-28",Zo="6bc1ab0b4";function Qo(){if(X&&X.version)return;console.info(`Using Calcite Components ${Ht} [Date: ${Yo}, Revision: ${Zo}]`);let e=X||globalThis.calciteConfig||{};Object.defineProperty(e,"version",{value:Ht,writable:!1}),globalThis.calciteConfig=e}var Bt=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function Xo(){return navigator.userAgentData}function Ur(){if(!Bt())return"";let e=Xo();return e?.brands?e.brands.map(({brand:t,version:o})=>`${t}/${o}`).join(" "):navigator.userAgent}function es(){Bt()&&(document.readyState==="interactive"?zt():document.addEventListener("DOMContentLoaded",()=>zt(),{once:!0})),Qo()}es();var ts=Vt({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.0-next.82/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:Ir,getAssetPath:Mr,setAssetPath:Vr}=ts;export{Vo as a,Os as b,Ss as c,xo as d,js as e,Us as f,Is as g,y as h,f as i,$t as j,_ as k,I as l,O as m,Ot as n,on as o,sn as p,Pt as q,nn as r,rn as s,Mo as t,ur as u,Ko as v,$r as w,xr as x,Lr as y,Or as z,Pr as A,kr as B,Dr as C,Rr as D,jr as E,Bt as F,Ur as G,ts as H,Ir as I,Mr as J};
8
+ \f\r"'\`<>=]|("|')|))|$)`,"g"),yt=/'/g,vt=/"/g,Et=/^(?:script|style|textarea|title)$/i,je=e=>(t,...o)=>({_$litType$:e,strings:t,values:o}),js=je(1),Us=je(2),Is=je(3),y=Symbol.for("lit-noChange"),f=Symbol.for("lit-nothing"),gt=new WeakMap,D=R.createTreeWalker(R,129);function _t(e,t){if(!Re(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return ut!==void 0?ut.createHTML(t):t}var Ct=(e,t)=>{let o=e.length-1,s=[],n,r=t===2?"<svg>":t===3?"<math>":"",i=K;for(let c=0;c<o;c++){let a=e[c],l,d,h=-1,m=0;for(;m<a.length&&(i.lastIndex=m,d=i.exec(a),d!==null);)m=i.lastIndex,i===K?d[1]==="!--"?i=ft:d[1]!==void 0?i=mt:d[2]!==void 0?(Et.test(d[2])&&(n=RegExp("</"+d[2],"g")),i=k):d[3]!==void 0&&(i=k):i===k?d[0]===">"?(i=n??K,h=-1):d[1]===void 0?h=-2:(h=i.lastIndex-d[2].length,l=d[1],i=d[3]===void 0?k:d[3]==='"'?vt:yt):i===vt||i===yt?i=k:i===ft||i===mt?i=K:(i=k,n=void 0);let u=i===k&&e[c+1].startsWith("/>")?" ":"";r+=i===K?a+Ao:h>=0?(s.push(l),a.slice(0,h)+ke+a.slice(h)+$+u):a+$+(h===-2?c:u)}return[_t(e,r+(e[o]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),s]},Z=class e{constructor({strings:t,_$litType$:o},s){let n;this.parts=[];let r=0,i=0,c=t.length-1,a=this.parts,[l,d]=Ct(t,o);if(this.el=e.createElement(l,s),D.currentNode=this.el.content,o===2||o===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(n=D.nextNode())!==null&&a.length<c;){if(n.nodeType===1){if(n.hasAttributes())for(let h of n.getAttributeNames())if(h.endsWith(ke)){let m=d[i++],u=n.getAttribute(h).split($),v=/([.?@])?(.*)/.exec(m);a.push({type:1,index:r,name:v[2],strings:u,ctor:v[1]==="."?pe:v[1]==="?"?ue:v[1]==="@"?fe:U}),n.removeAttribute(h)}else h.startsWith($)&&(a.push({type:6,index:r}),n.removeAttribute(h));if(Et.test(n.tagName)){let h=n.textContent.split($),m=h.length-1;if(m>0){n.textContent=he?he.emptyScript:"";for(let u=0;u<m;u++)n.append(h[u],J()),D.nextNode(),a.push({type:2,index:++r});n.append(h[m],J())}}}else if(n.nodeType===8)if(n.data===De)a.push({type:2,index:r});else{let h=-1;for(;(h=n.data.indexOf($,h+1))!==-1;)a.push({type:7,index:r}),h+=$.length-1}r++}}static createElement(t,o){let s=R.createElement("template");return s.innerHTML=t,s}};function j(e,t,o=e,s){if(t===y)return t;let n=s!==void 0?o._$Co?.[s]:o._$Cl,r=Y(t)?void 0:t._$litDirective$;return n?.constructor!==r&&(n?._$AO?.(!1),r===void 0?n=void 0:(n=new r(e),n._$AT(e,o,s)),s!==void 0?(o._$Co??=[])[s]=n:o._$Cl=n),n!==void 0&&(t=j(e,n._$AS(e,t.values),n,s)),t}var de=class{constructor(t,o){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=o}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:o},parts:s}=this._$AD,n=(t?.creationScope??R).importNode(o,!0);D.currentNode=n;let r=D.nextNode(),i=0,c=0,a=s[0];for(;a!==void 0;){if(i===a.index){let l;a.type===2?l=new V(r,r.nextSibling,this,t):a.type===1?l=new a.ctor(r,a.name,a.strings,this,t):a.type===6&&(l=new me(r,this,t)),this._$AV.push(l),a=s[++c]}i!==a?.index&&(r=D.nextNode(),i++)}return D.currentNode=R,n}p(t){let o=0;for(let s of this._$AV)s!==void 0&&(s.strings!==void 0?(s._$AI(t,s,o),o+=s.strings.length-2):s._$AI(t[o])),o++}},V=class e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,o,s,n){this.type=2,this._$AH=f,this._$AN=void 0,this._$AA=t,this._$AB=o,this._$AM=s,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,o=this._$AM;return o!==void 0&&t?.nodeType===11&&(t=o.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,o=this){t=j(this,t,o),Y(t)?t===f||t==null||t===""?(this._$AH!==f&&this._$AR(),this._$AH=f):t!==this._$AH&&t!==y&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):bt(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!==f&&Y(this._$AH)?this._$AA.nextSibling.data=t:this.T(R.createTextNode(t)),this._$AH=t}$(t){let{values:o,_$litType$:s}=t,n=typeof s=="number"?this._$AC(t):(s.el===void 0&&(s.el=Z.createElement(_t(s.h,s.h[0]),this.options)),s);if(this._$AH?._$AD===n)this._$AH.p(o);else{let r=new de(n,this),i=r.u(this.options);r.p(o),this.T(i),this._$AH=r}}_$AC(t){let o=gt.get(t.strings);return o===void 0&&gt.set(t.strings,o=new Z(t)),o}k(t){Re(this._$AH)||(this._$AH=[],this._$AR());let o=this._$AH,s,n=0;for(let r of t)n===o.length?o.push(s=new e(this.O(J()),this.O(J()),this,this.options)):s=o[n],s._$AI(r),n++;n<o.length&&(this._$AR(s&&s._$AB.nextSibling,n),o.length=n)}_$AR(t=this._$AA.nextSibling,o){for(this._$AP?.(!1,!0,o);t&&t!==this._$AB;){let s=t.nextSibling;t.remove(),t=s}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},U=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,o,s,n,r){this.type=1,this._$AH=f,this._$AN=void 0,this.element=t,this.name=o,this._$AM=n,this.options=r,s.length>2||s[0]!==""||s[1]!==""?(this._$AH=Array(s.length-1).fill(new String),this.strings=s):this._$AH=f}_$AI(t,o=this,s,n){let r=this.strings,i=!1;if(r===void 0)t=j(this,t,o,0),i=!Y(t)||t!==this._$AH&&t!==y,i&&(this._$AH=t);else{let c=t,a,l;for(t=r[0],a=0;a<r.length-1;a++)l=j(this,c[s+a],o,a),l===y&&(l=this._$AH[a]),i||=!Y(l)||l!==this._$AH[a],l===f?t=f:t!==f&&(t+=(l??"")+r[a+1]),this._$AH[a]=l}i&&!n&&this.j(t)}j(t){t===f?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},pe=class extends U{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===f?void 0:t}},ue=class extends U{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==f)}},fe=class extends U{constructor(t,o,s,n,r){super(t,o,s,n,r),this.type=5}_$AI(t,o=this){if((t=j(this,t,o,0)??f)===y)return;let s=this._$AH,n=t===f&&s!==f||t.capture!==s.capture||t.once!==s.once||t.passive!==s.passive,r=t!==f&&(s===f||n);n&&this.element.removeEventListener(this.name,this,s),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)}},me=class{constructor(t,o,s){this.element=t,this.type=6,this._$AN=void 0,this._$AM=o,this.options=s}get _$AU(){return this._$AM._$AU}_$AI(t){j(this,t)}},wt={M:ke,P:$,A:De,C:1,L:Ct,R:de,D:bt,V:j,I:V,H:U,N:ue,U:fe,B:pe,F:me},Lo=Ne.litHtmlPolyfillSupport;Lo?.(Z,V),(Ne.litHtmlVersions??=[]).push("3.2.1");var $t=(e,t,o)=>{let s=o?.renderBefore??t,n=s._$litPart$;if(n===void 0){let r=o?.renderBefore??null;s._$litPart$=n=new V(t.insertBefore(J(),r),r,void 0,o??{})}return n._$AI(e),n};var{is:Oo,defineProperty:Po,getOwnPropertyDescriptor:So,getOwnPropertyNames:To,getOwnPropertySymbols:No,getPrototypeOf:ko}=Object,ve=globalThis,xt=ve.trustedTypes,Do=xt?xt.emptyScript:"",Ro=ve.reactiveElementPolyfillSupport,Q=(e,t)=>e,ye={toAttribute(e,t){switch(t){case Boolean:e=e?Do:null;break;case Object:case Array:e=e==null?e:JSON.stringify(e)}return e},fromAttribute(e,t){let o=e;switch(t){case Boolean:o=e!==null;break;case Number:o=e===null?null:Number(e);break;case Object:case Array:try{o=JSON.parse(e)}catch{o=null}}return o}},Ue=(e,t)=>!Oo(e,t),At={attribute:!0,type:String,converter:ye,reflect:!1,hasChanged:Ue};Symbol.metadata??=Symbol("metadata"),ve.litPropertyMetadata??=new WeakMap;var x=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,o=At){if(o.state&&(o.attribute=!1),this._$Ei(),this.elementProperties.set(t,o),!o.noAccessor){let s=Symbol(),n=this.getPropertyDescriptor(t,s,o);n!==void 0&&Po(this.prototype,t,n)}}static getPropertyDescriptor(t,o,s){let{get:n,set:r}=So(this.prototype,t)??{get(){return this[o]},set(i){this[o]=i}};return{get(){return n?.call(this)},set(i){let c=n?.call(this);r.call(this,i),this.requestUpdate(t,c,s)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??At}static _$Ei(){if(this.hasOwnProperty(Q("elementProperties")))return;let t=ko(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(Q("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(Q("properties"))){let o=this.properties,s=[...To(o),...No(o)];for(let n of s)this.createProperty(n,o[n])}let t=this[Symbol.metadata];if(t!==null){let o=litPropertyMetadata.get(t);if(o!==void 0)for(let[s,n]of o)this.elementProperties.set(s,n)}this._$Eh=new Map;for(let[o,s]of this.elementProperties){let n=this._$Eu(o,s);n!==void 0&&this._$Eh.set(n,o)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let o=[];if(Array.isArray(t)){let s=new Set(t.flat(1/0).reverse());for(let n of s)o.unshift(le(n))}else t!==void 0&&o.push(le(t));return o}static _$Eu(t,o){let s=o.attribute;return s===!1?void 0:typeof s=="string"?s: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,o=this.constructor.elementProperties;for(let s of o.keys())this.hasOwnProperty(s)&&(t.set(s,this[s]),delete this[s]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return Se(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,o,s){this._$AK(t,s)}_$EC(t,o){let s=this.constructor.elementProperties.get(t),n=this.constructor._$Eu(t,s);if(n!==void 0&&s.reflect===!0){let r=(s.converter?.toAttribute!==void 0?s.converter:ye).toAttribute(o,s.type);this._$Em=t,r==null?this.removeAttribute(n):this.setAttribute(n,r),this._$Em=null}}_$AK(t,o){let s=this.constructor,n=s._$Eh.get(t);if(n!==void 0&&this._$Em!==n){let r=s.getPropertyOptions(n),i=typeof r.converter=="function"?{fromAttribute:r.converter}:r.converter?.fromAttribute!==void 0?r.converter:ye;this._$Em=n,this[n]=i.fromAttribute(o,r.type),this._$Em=null}}requestUpdate(t,o,s){if(t!==void 0){if(s??=this.constructor.getPropertyOptions(t),!(s.hasChanged??Ue)(this[t],o))return;this.P(t,o,s)}this.isUpdatePending===!1&&(this._$ES=this._$ET())}P(t,o,s){this._$AL.has(t)||this._$AL.set(t,o),s.reflect===!0&&this._$Em!==t&&(this._$Ej??=new Set).add(t)}async _$ET(){this.isUpdatePending=!0;try{await this._$ES}catch(o){Promise.reject(o)}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 s=this.constructor.elementProperties;if(s.size>0)for(let[n,r]of s)r.wrapped!==!0||this._$AL.has(n)||this[n]===void 0||this.P(n,this[n],r)}let t=!1,o=this._$AL;try{t=this.shouldUpdate(o),t?(this.willUpdate(o),this._$EO?.forEach(s=>s.hostUpdate?.()),this.update(o)):this._$EU()}catch(s){throw t=!1,this._$EU(),s}t&&this._$AE(o)}willUpdate(t){}_$AE(t){this._$EO?.forEach(o=>o.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EU(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Ej&&=this._$Ej.forEach(o=>this._$EC(o,this[o])),this._$EU()}updated(t){}firstUpdated(t){}};x.elementStyles=[],x.shadowRootOptions={mode:"open"},x[Q("elementProperties")]=new Map,x[Q("finalized")]=new Map,Ro?.({ReactiveElement:x}),(ve.reactiveElementVersions??=[]).push("2.0.4");var A=class extends x{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 o=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=$t(o,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return y}};A._$litElement$=!0,A.finalized=!0,globalThis.litElementHydrateSupport?.({LitElement:A});var jo=globalThis.litElementPolyfillSupport;jo?.({LitElement:A});(globalThis.litElementVersions??=[]).push("4.1.1");var _={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},I=e=>(...t)=>({_$litDirective$:e,values:t}),O=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,o,s){this._$Ct=t,this._$AM=o,this._$Ci=s}_$AS(t,o){return this.update(t,o)}update(t,o){return this.render(...o)}};var{I:Uo}=wt;var Ot=e=>e.strings===void 0,Lt=()=>document.createComment(""),on=(e,t,o)=>{let s=e._$AA.parentNode,n=t===void 0?e._$AB:t._$AA;if(o===void 0){let r=s.insertBefore(Lt(),n),i=s.insertBefore(Lt(),n);o=new Uo(r,i,e,e.options)}else{let r=o._$AB.nextSibling,i=o._$AM,c=i!==e;if(c){let a;o._$AQ?.(e),o._$AM=e,o._$AP!==void 0&&(a=e._$AU)!==i._$AU&&o._$AP(a)}if(r!==n||c){let a=o._$AA;for(;a!==r;){let l=a.nextSibling;s.insertBefore(a,n),a=l}}}return o},sn=(e,t,o=e)=>(e._$AI(t,o),e),Io={},Pt=(e,t=Io)=>e._$AH=t,nn=e=>e._$AH,rn=e=>{e._$AP?.(!1,!0);let t=e._$AA,o=e._$AB.nextSibling;for(;t!==o;){let s=t.nextSibling;t.remove(),t=s}};var Mo=I(class extends O{constructor(e){if(super(e),e.type!==_.PROPERTY&&e.type!==_.ATTRIBUTE&&e.type!==_.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!Ot(e))throw Error("`live` bindings can only contain a single expression")}render(e){return e}update(e,[t]){if(t===y||t===f)return t;let o=e.element,s=e.name;if(e.type===_.PROPERTY){if(t===o[s])return y}else if(e.type===_.BOOLEAN_ATTRIBUTE){if(!!t===o.hasAttribute(s))return y}else if(e.type===_.ATTRIBUTE&&o.getAttribute(s)===t+"")return y;return Pt(e),t}});var St=";",ge=",",Tt=":";function Ie(e){let t=e;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let o=t;return o.manager?.loadedCalled||o._offspring.push(e),o._postLoad.promise}return!1}var Vo=(e,t)=>function(s,n){if(!globalThis.customElements)return;let i=(n??s??{}).resourcesUrl;i&&e.setAssetPath(i),Object.entries(t).forEach(zo)};function zo([e,[t,o=""]]){if(customElements.get(e))return;let[s,n,r]=o.split(St),i=s?s?.split(ge).map(Nt):void 0,c=i?.map(([l])=>l),a=class extends Wo{static{this.observedAttributes=i?.map(([,l])=>l).filter(l=>l!=="")}static{this._properties=c}static{this._asyncMethods=n?n?.split(ge):void 0}static{this._syncMethods=r?.split(ge)}static{this._name=e}constructor(){!a._loadPromise&&(a._loadPromise=t(),a._initializePrototype()),super()}};customElements.define(e,a)}var be=Object.defineProperty;function Nt(e){let t=e.split(Tt);return t.length===1?[t[0],te(t[0])]:t}var Ho=globalThis.HTMLElement??Nt,Wo=class extends Ho{constructor(){super(),this._store={},this._pendingAttributes=[],this._postLoad=new E,this._postLoaded=new E,this._offspring=[],this._saveInstanceProperties();let e=this.constructor;e._LitConstructor?this._initializeComponent({a:e._LitConstructor}):e._loadPromise.then(this._initializeComponent.bind(this)).catch(t=>{this._postLoaded.reject(t),setTimeout(()=>{throw t})})}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(e){be(this.prototype,e,{configurable:!0,enumerable:!0,get(){return this._store[e]},set(t){this._store[e]=t}})}static _bindAsync(e){be(this.prototype,e,{async value(...t){return this._litElement||await this._postLoaded.promise,await this._litElement[e](...t)},configurable:!0})}static _bindSync(e){be(this.prototype,e,{value(...t){return this._litElement[e](...t)},configurable:!0})}get manager(){return this._litElement?.manager}_saveInstanceProperties(){let e=this.constructor,t=this;e._properties?.forEach(o=>{Object.hasOwn(this,o)&&(this._store[o]=t[o],delete t[o])})}attributeChangedCallback(e,t,o){this._litElement?.attributeChangedCallback(e,t,o),this._litElement||this._pendingAttributes.push(e)}connectedCallback(){this._litElement?this._litElement.connectedCallback?.():queueMicrotask(()=>{this._ancestorLoad=Ie(this)})}disconnectedCallback(){this._litElement?.disconnectedCallback?.()}async componentOnReady(){return await this._postLoaded.promise,this}_initializeComponent(e){let t=this.constructor,o=t._name,s=this._store,n=Object.values(e).find(u=>u.tagName===o),r=`${o}--lazy`,i=n;for(;i&&!Object.hasOwn(i,"lumina");)i=Object.getPrototypeOf(i);let c=i.prototype,a=Element.prototype;Object.hasOwn(c,"isConnected")||(c.setAttribute=function(u,v){a.setAttribute.call(this.el,u,v)},c.removeAttribute=function(u){a.removeAttribute.call(this.el,u)},be(c,"isConnected",{get(){return Reflect.get(a,"isConnected",this.el)}})),!t._LitConstructor&&(t._LitConstructor=n,customElements.define(r,n)),n.lazy=this;let h=document.createElement(r);n.lazy=void 0,this._litElement=h,this._store=h,this._pendingAttributes.forEach(u=>{let v=this.getAttribute(u);h.attributeChangedCallback(u,null,v)}),Object.entries(s).forEach(qo,h);let m=this.isConnected;(m||this._ancestorLoad)&&(h.connectedCallback?.(),m||h.disconnectedCallback())}addController(){}requestUpdate(){this._litElement?.requestUpdate()}};function qo([e,t]){this[e]=t}var Me={};var Rt=I(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="class"||e.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){if(this.st===void 0){this.st=new Set,e.strings!==void 0&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(s=>s!=="")));for(let s in t)t[s]&&!this.nt?.has(s)&&this.st.add(s);return this.render(t)}let o=e.element.classList;for(let s of this.st)s in t||(o.remove(s),this.st.delete(s));for(let s in t){let n=!!t[s];n===this.st.has(s)||this.nt?.has(s)||(n?(o.add(s),this.st.add(s)):(o.remove(s),this.st.delete(s)))}return y}});var jt="important",Fo=" !"+jt,Ut=I(class extends O{constructor(e){if(super(e),e.type!==_.ATTRIBUTE||e.name!=="style"||e.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(e){return Object.keys(e).reduce((t,o)=>{let s=e[o];return s==null?t:t+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${s};`},"")}update(e,[t]){let{style:o}=e.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let s of this.ft)t[s]==null&&(this.ft.delete(s),s.includes("-")?o.removeProperty(s):o[s]=null);for(let s in t){let n=t[s];if(n!=null){this.ft.add(s);let r=typeof n=="string"&&n.endsWith(Fo);s.includes("-")||r?o.setProperty(s,r?n.slice(0,-11):n,r?jt:""):o[s]=n}}return y}});var It=(e="",t={},o=N())=>{let s={emit:n=>{e===""&&F();let r=new CustomEvent(e,{detail:n,cancelable:!0,bubbles:!0,composed:!0,...t});return o.el.dispatchEvent(r),r}};return e===""&&ie(void 0,n=>{e=n.key},s),s},ur=It.bind(null,"");var Go=()=>{},Ko=class Mt extends A{constructor(){super(),this.el=this.constructor.lazy??this,this.manager=lt(this),this._postLoad=this.constructor.lazy?._postLoad??new E,this._offspring=this.constructor.lazy?._offspring??[],this._postLoaded=this.constructor.lazy?._postLoaded??new E,this._enableUpdating=this.enableUpdating,this.enableUpdating=Go;let t=Mt.prototype.shouldUpdate;this.shouldUpdate!==t&&(this._originalShouldUpdate=this.shouldUpdate,this.shouldUpdate=t),!1}static finalizeStyles(t){let o=super.finalizeStyles(t),s=this.shadowRootOptions===Me;return this.runtime?.commonStyles===void 0||s?o:[this.runtime.commonStyles,...o]}static createProperty(t,o){let s=typeof o=="number"?o:Array.isArray(o)?o[0]:0,n=Array.isArray(o)?o[1]:void 0;super.createProperty(t,{attribute:s&1&&typeof t=="string"?te(t):!1,reflect:!!(s&2),type:s&4?Boolean:s&8?Number:void 0,state:!!(s&16),readOnly:!!(s&32),noAccessor:!!(s&64),...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(o=>{this._postLoaded.reject(o),setTimeout(()=>{throw o})}))}createRenderRoot(){let t=this.el.shadowRoot,o=this.constructor,s=o.shadowRootOptions,r=t??(s===Me?this.el:this.el.attachShadow(s));if(Object.defineProperty(this,"shadowRoot",{value:r}),t)return A.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=r.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...o.elementStyles.map(c=>"styleSheet"in c?c.styleSheet:c)]}return r}async _load(){let t=this.el._ancestorLoad??Ie(this.el);t&&await t,await this.manager._load(),this._enableUpdating(!0),this.performUpdate(),this._postLoad.resolve(),await Promise.resolve();let o=this._offspring.filter(s=>!s.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async s=>await s.componentOnReady())),this._offspring.length=0,this.el.setAttribute(this.constructor.runtime.hydratedAttribute,""),this.manager._loaded(),this._postLoaded.resolve()}shouldUpdate(t){return this.$changes=t,this._originalShouldUpdate?.(t)??!0}listen(t,o,s){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(this.el.addEventListener(t,n,s),()=>this.el.removeEventListener(t,n,s)))}listenOn(t,o,s,n){let r=s?.bind(this)??s;this.manager.onLifecycle(()=>(t.addEventListener(o,r,n),()=>t.removeEventListener(o,r,n)))}async componentOnReady(){return await this._postLoaded.promise,this}};Ko.$createEvent=It;function Vt(e){let t,o=n=>{t=new URL(n,globalThis.location?.href||void 0).href},s={...e,getAssetPath(n){let r=new URL(n,t);return r.origin!==globalThis.location?.origin?r.href:r.pathname},setAssetPath:o,customElement(n,r){r.runtime=s,r.tagName=n,customElements.get(n)||customElements.define(n,r)}};return o(e.defaultAssetPath),s}var $r=e=>typeof e=="object"&&e!=null?Rt(e):e,xr=e=>typeof e=="object"&&e!=null?Ut(e):e;var Lr=f;function Or(e,t,o){o==null?e.removeAttribute(t):e.setAttribute(t,o)}var Pr={toAttribute:e=>e===!0?"":e===!1?null:e};var Wt="calcite-mode-auto",qt="calcite-mode-dark",Jo="calcite-mode-light",kr={autoMode:Wt,darkMode:qt,lightMode:Jo,rtl:"calcite--rtl",calciteAnimate:"calcite-animate",calciteAnimateIn:"calcite-animate__in",calciteAnimateInUp:"calcite-animate__in-up",calciteAnimateInDown:"calcite-animate__in-down",calciteAnimateInRight:"calcite-animate__in-right",calciteAnimateInLeft:"calcite-animate__in-left",calciteAnimateInScale:"calcite-animate__in-scale"},Dr={filter:250,nextTick:0,resize:150,reposition:100};function zt(){let{classList:e}=document.body,t=window.matchMedia("(prefers-color-scheme: dark)").matches,o=()=>e.contains(qt)||e.contains(Wt)&&t?"dark":"light",s=i=>document.body.dispatchEvent(new CustomEvent("calciteModeChange",{bubbles:!0,detail:{mode:i}})),n=i=>{r!==i&&s(i),r=i},r=o();s(r),window.matchMedia("(prefers-color-scheme: dark)").addEventListener("change",i=>n(i.matches?"dark":"light")),new MutationObserver(()=>n(o())).observe(document.body,{attributes:!0,attributeFilter:["class"]})}var X=globalThis.calciteConfig,Rr=X?.focusTrapStack||[],jr=X?.logLevel||"info",Ht="3.0.0-next.84",Yo="2024-12-31",Zo="39358618e";function Qo(){if(X&&X.version)return;console.info(`Using Calcite Components ${Ht} [Date: ${Yo}, Revision: ${Zo}]`);let e=X||globalThis.calciteConfig||{};Object.defineProperty(e,"version",{value:Ht,writable:!1}),globalThis.calciteConfig=e}var Bt=()=>!!1&&typeof navigator<"u"&&typeof window<"u"&&typeof location<"u"&&typeof document<"u"&&window.location===location&&window.document===document;function Xo(){return navigator.userAgentData}function Ur(){if(!Bt())return"";let e=Xo();return e?.brands?e.brands.map(({brand:t,version:o})=>`${t}/${o}`).join(" "):navigator.userAgent}function es(){Bt()&&(document.readyState==="interactive"?zt():document.addEventListener("DOMContentLoaded",()=>zt(),{once:!0})),Qo()}es();var ts=Vt({defaultAssetPath:"https://cdn.jsdelivr.net/npm/@esri/calcite-components@3.0.0-next.84/dist/calcite/",hydratedAttribute:"calcite-hydrated"}),{customElement:Ir,getAssetPath:Mr,setAssetPath:Vr}=ts;export{Vo as a,Os as b,Ss as c,xo as d,js as e,Us as f,Is as g,y as h,f as i,$t as j,_ as k,I as l,O as m,Ot as n,on as o,sn as p,Pt as q,nn as r,rn as s,Mo as t,ur as u,Ko as v,$r as w,xr as x,Lr as y,Or as z,Pr as A,kr as B,Dr as C,Rr as D,jr as E,Bt as F,Ur as G,ts as H,Ir as I,Mr as J};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
6
  var l=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function t(o){return o&&o.__esModule&&Object.prototype.hasOwnProperty.call(o,"default")?o.default:o}export{l as a,t as b};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{b as e}from"./FRE6ZXOM.js";import"./ZS4KQKAB.js";var _={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(o){return o+"\xBA"}};e.locale(_,null,!0);var a=_;export{a as default};
6
+ import{b as e}from"./AEF7CAF5.js";import"./OK56UTUU.js";var _={name:"es",monthsShort:"ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),weekdays:"domingo_lunes_martes_mi\xE9rcoles_jueves_viernes_s\xE1bado".split("_"),weekdaysShort:"dom._lun._mar._mi\xE9._jue._vie._s\xE1b.".split("_"),weekdaysMin:"do_lu_ma_mi_ju_vi_s\xE1".split("_"),months:"enero_febrero_marzo_abril_mayo_junio_julio_agosto_septiembre_octubre_noviembre_diciembre".split("_"),weekStart:1,formats:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},relativeTime:{future:"en %s",past:"hace %s",s:"unos segundos",m:"un minuto",mm:"%d minutos",h:"una hora",hh:"%d horas",d:"un d\xEDa",dd:"%d d\xEDas",M:"un mes",MM:"%d meses",y:"un a\xF1o",yy:"%d a\xF1os"},ordinal:function(o){return o+"\xBA"}};e.locale(_,null,!0);var a=_;export{a as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{b as a}from"./FRE6ZXOM.js";import"./ZS4KQKAB.js";var _={name:"tr",weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(r){return r+"."}};a.locale(_,null,!0);var e=_;export{e as default};
6
+ import{b as a}from"./AEF7CAF5.js";import"./OK56UTUU.js";var _={name:"tr",weekdays:"Pazar_Pazartesi_Sal\u0131_\xC7ar\u015Famba_Per\u015Fembe_Cuma_Cumartesi".split("_"),weekdaysShort:"Paz_Pts_Sal_\xC7ar_Per_Cum_Cts".split("_"),weekdaysMin:"Pz_Pt_Sa_\xC7a_Pe_Cu_Ct".split("_"),months:"Ocak_\u015Eubat_Mart_Nisan_May\u0131s_Haziran_Temmuz_A\u011Fustos_Eyl\xFCl_Ekim_Kas\u0131m_Aral\u0131k".split("_"),monthsShort:"Oca_\u015Eub_Mar_Nis_May_Haz_Tem_A\u011Fu_Eyl_Eki_Kas_Ara".split("_"),weekStart:1,formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},relativeTime:{future:"%s sonra",past:"%s \xF6nce",s:"birka\xE7 saniye",m:"bir dakika",mm:"%d dakika",h:"bir saat",hh:"%d saat",d:"bir g\xFCn",dd:"%d g\xFCn",M:"bir ay",MM:"%d ay",y:"bir y\u0131l",yy:"%d y\u0131l"},ordinal:function(r){return r+"."}};a.locale(_,null,!0);var e=_;export{e as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{r as g,s as b}from"./LTW3NEAF.js";import"./SFKMWJQS.js";import{I as m,d as s,e as o,u as d,v as h,w as i}from"./RUCJ2YIC.js";var p={input:"input"},l={label:"label",labelScale:r=>`label--scale-${r}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},f=s`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(: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))));outline-offset:-1px}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends h{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=d({cancelable:!1})}static{this.properties={hasSlottedContent:16,appearance:1,checked:7,iconEnd:3,iconFlipRtl:7,iconStart:3,layout:1,scale:1,value:1}}static{this.styles=f}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=b(e)}renderIcon(e,t=!1){return e?o`<calcite-icon class=${i({[l.icon]:!0,[l.iconSolo]:t})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:t,layout:n,scale:a,value:u}=this;return this.el.ariaChecked=g(t),this.el.ariaLabel=u,this.el.role="radio",o`<label class=${i({[l.label]:!0,[l.labelScale(a)]:!0,[l.labelHorizontal]:n==="horizontal",[l.labelOutline]:e==="outline",[l.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:t,iconStart:n}=this,a=n||t;return!e&&a?[this.renderIcon(a,!0),o`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),o`<slot @slotchange=${this.handleSlotChange}></slot>`,o`<slot name=${p.input}></slot>`,this.renderIcon(t)]}};m("calcite-segmented-control-item",c);export{c as SegmentedControlItem};
6
+ import{r as g,s as b}from"./7GDOMS7G.js";import"./342KE7QX.js";import{I as m,d as s,e as o,u as d,v as h,w as i}from"./2B222AGN.js";var p={input:"input"},l={label:"label",labelScale:r=>`label--scale-${r}`,labelHorizontal:"label--horizontal",labelOutline:"label--outline",labelOutlineFill:"label--outline-fill",icon:"icon",iconSolo:"icon--solo"},f=s`:host{display:flex;cursor:pointer;align-self:stretch;font-weight:var(--calcite-font-weight-normal);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-animation-timing) ease-in-out}:host label{pointer-events:none;margin:.125rem;box-sizing:border-box;display:flex;flex:1 1 0%;align-items:center;color:var(--calcite-color-text-3);transition:background-color var(--calcite-internal-animation-timing-fast) ease-in-out,border-color var(--calcite-internal-animation-timing-fast) ease-in-out,color var(--calcite-internal-animation-timing-fast) ease-in-out}.label--horizontal{justify-content:center}:host{outline-color:transparent}:host(: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))));outline-offset:-1px}.label--scale-s{padding-inline:.5rem;font-size:var(--calcite-font-size--2);line-height:1rem;padding-block:.125rem}.label--scale-m{padding-inline:.75rem;font-size:var(--calcite-font-size--1);line-height:1rem;padding-block:.375rem}.label--scale-l{padding-inline:1rem;padding-block:.625rem;font-size:var(--calcite-font-size-0);line-height:1.25rem}:host(:hover) label{background-color:var(--calcite-color-foreground-2);color:var(--calcite-color-text-1)}:host(:active) label{background-color:var(--calcite-color-foreground-3)}:host([checked]) label{cursor:default;border-color:var(--calcite-color-brand);background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{border-color:var(--calcite-color-brand);background-color:var(--calcite-color-foreground-1);box-shadow:inset 0 0 0 1px var(--calcite-color-brand);color:var(--calcite-color-brand)}:host([checked]) .label--outline{background-color:transparent}::slotted(input){display:none}@media (forced-colors: active){:host([checked]) label{background-color:highlight}:host([checked]) .label--outline,:host([checked]) .label--outline-fill{outline:2px solid transparent;outline-offset:2px}:host([checked]) label:not([class~=label--outline]) .icon{color:highlightText}}.icon{position:relative;margin:0;display:inline-flex;line-height:inherit;margin-inline-start:var(--calcite-internal-segmented-control-icon-margin-start);margin-inline-end:var(--calcite-internal-segmented-control-icon-margin-end)}:host([icon-start]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-end: .5rem}:host([icon-end]) .label--scale-s{--calcite-internal-segmented-control-icon-margin-start: .5rem}:host([icon-start]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-end: .75rem}:host([icon-end]) .label--scale-m{--calcite-internal-segmented-control-icon-margin-start: .75rem}:host([icon-start]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-end: 1rem}:host([icon-end]) .label--scale-l{--calcite-internal-segmented-control-icon-margin-start: 1rem}.label .icon--solo{--calcite-internal-segmented-control-icon-margin-start: 0;--calcite-internal-segmented-control-icon-margin-end: 0}:host([hidden]){display:none}[hidden]{display:none}`,c=class extends h{constructor(){super(...arguments),this.hasSlottedContent=!1,this.appearance="solid",this.checked=!1,this.iconFlipRtl=!1,this.layout="horizontal",this.scale="m",this.calciteInternalSegmentedControlItemChange=d({cancelable:!1})}static{this.properties={hasSlottedContent:16,appearance:1,checked:7,iconEnd:3,iconFlipRtl:7,iconStart:3,layout:1,scale:1,value:1}}static{this.styles=f}willUpdate(e){e.has("checked")&&(this.hasUpdated||this.checked!==!1)&&this.calciteInternalSegmentedControlItemChange.emit()}handleSlotChange(e){this.hasSlottedContent=b(e)}renderIcon(e,t=!1){return e?o`<calcite-icon class=${i({[l.icon]:!0,[l.iconSolo]:t})} .flipRtl=${this.iconFlipRtl} .icon=${e} scale=s></calcite-icon>`:null}render(){let{appearance:e,checked:t,layout:n,scale:a,value:u}=this;return this.el.ariaChecked=g(t),this.el.ariaLabel=u,this.el.role="radio",o`<label class=${i({[l.label]:!0,[l.labelScale(a)]:!0,[l.labelHorizontal]:n==="horizontal",[l.labelOutline]:e==="outline",[l.labelOutlineFill]:e==="outline-fill"})}>${this.renderContent()}</label>`}renderContent(){let{hasSlottedContent:e,iconEnd:t,iconStart:n}=this,a=n||t;return!e&&a?[this.renderIcon(a,!0),o`<slot @slotchange=${this.handleSlotChange}></slot>`]:[this.renderIcon(n),o`<slot @slotchange=${this.handleSlotChange}></slot>`,o`<slot name=${p.input}></slot>`,this.renderIcon(t)]}};m("calcite-segmented-control-item",c);export{c as SegmentedControlItem};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{F as i}from"./RUCJ2YIC.js";function a(e,n,o){if(!i())return;let t=c(e);return new t(n,o)}function c(e){class n extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,r){return this.observedEntry.push({target:t,options:r}),super.observe(t,r)}unobserve(t){let r=this.observedEntry.filter(s=>s.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),r.forEach(s=>this.observe(s.target,s.options))}}return function(){return e==="intersection"?window.IntersectionObserver:e==="mutation"?n:window.ResizeObserver}()}export{a};
6
+ import{F as i}from"./2B222AGN.js";function a(e,n,o){if(!i())return;let t=c(e);return new t(n,o)}function c(e){class n extends window.MutationObserver{constructor(t){super(t),this.observedEntry=[],this.callback=t}observe(t,r){return this.observedEntry.push({target:t,options:r}),super.observe(t,r)}unobserve(t){let r=this.observedEntry.filter(s=>s.target!==t);this.observedEntry=[],this.callback(super.takeRecords(),this),this.disconnect(),r.forEach(s=>this.observe(s.target,s.options))}}return function(){return e==="intersection"?window.IntersectionObserver:e==="mutation"?n:window.ResizeObserver}()}export{a};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
6
  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,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{b as e}from"./FRE6ZXOM.js";import"./ZS4KQKAB.js";var _={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xE1b".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_S\xE1".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"\xBA"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(_,null,!0);var m=_;export{m as default};
6
+ import{b as e}from"./AEF7CAF5.js";import"./OK56UTUU.js";var _={name:"pt-br",weekdays:"domingo_segunda-feira_ter\xE7a-feira_quarta-feira_quinta-feira_sexta-feira_s\xE1bado".split("_"),weekdaysShort:"dom_seg_ter_qua_qui_sex_s\xE1b".split("_"),weekdaysMin:"Do_2\xAA_3\xAA_4\xAA_5\xAA_6\xAA_S\xE1".split("_"),months:"janeiro_fevereiro_mar\xE7o_abril_maio_junho_julho_agosto_setembro_outubro_novembro_dezembro".split("_"),monthsShort:"jan_fev_mar_abr_mai_jun_jul_ago_set_out_nov_dez".split("_"),ordinal:function(a){return a+"\xBA"},formats:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY [\xE0s] HH:mm",LLLL:"dddd, D [de] MMMM [de] YYYY [\xE0s] HH:mm"},relativeTime:{future:"em %s",past:"h\xE1 %s",s:"poucos segundos",m:"um minuto",mm:"%d minutos",h:"uma hora",hh:"%d horas",d:"um dia",dd:"%d dias",M:"um m\xEAs",MM:"%d meses",y:"um ano",yy:"%d anos"}};e.locale(_,null,!0);var m=_;export{m as default};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{a as s}from"./WYV7ETW3.js";import{I as i,d as e,e as t,v as r}from"./RUCJ2YIC.js";var a=e`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{static{this.properties={groupTitle:1}}static{this.styles=a}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return t`<slot></slot>`}};i("calcite-tip-group",o);export{o as TipGroup};
6
+ import{a as s}from"./HBCJKJMX.js";import{I as i,d as e,e as t,v as r}from"./2B222AGN.js";var a=e`:host{box-sizing:border-box;display:block;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size--1);line-height:1rem;color:var(--calcite-color-text-2)}::slotted(calcite-tip){margin:0;border-style:none;max-inline-size:var(--calcite-tip-max-width)}:host([hidden]){display:none}[hidden]{display:none}`,o=class extends r{static{this.properties={groupTitle:1}}static{this.styles=a}load(){s.deprecated("component",{name:"tip-group",removalVersion:4,suggested:["carousel","carousel-item"]})}render(){return t`<slot></slot>`}};i("calcite-tip-group",o);export{o as TipGroup};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{b as G}from"./CGR2NRXF.js";var q={exports:{}},N={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},X={exports:{}},Z=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Y=Z,ee=Array.prototype.concat,re=Array.prototype.slice,R=X.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var o=e[n];Y(o)?r=ee.call(r,re.call(o)):r.push(o)}return r};R.wrap=function(e){return function(){return e(R(arguments))}};var ne=X.exports,x=N,H=ne,P=Object.hasOwnProperty,V=Object.create(null);for(C in x)P.call(x,C)&&(V[x[C]]=C);var C,y=q.exports={to:{},get:{}};y.get=function(e){var r=e.substring(0,3).toLowerCase(),n,t;switch(r){case"hsl":n=y.get.hsl(e),t="hsl";break;case"hwb":n=y.get.hwb(e),t="hwb";break;default:n=y.get.rgb(e),t="rgb";break}return n?{model:t,value:n}:null};y.get.rgb=function(e){if(!e)return null;var r=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,t=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,s=[0,0,0,1],l,i,h;if(l=e.match(n)){for(h=l[2],l=l[1],i=0;i<3;i++){var p=i*2;s[i]=parseInt(l.slice(p,p+2),16)}h&&(s[3]=parseInt(h,16)/255)}else if(l=e.match(r)){for(l=l[1],h=l[3],i=0;i<3;i++)s[i]=parseInt(l[i]+l[i],16);h&&(s[3]=parseInt(h+h,16)/255)}else if(l=e.match(t)){for(i=0;i<3;i++)s[i]=parseInt(l[i+1],0);l[4]&&(l[5]?s[3]=parseFloat(l[4])*.01:s[3]=parseFloat(l[4]))}else if(l=e.match(o)){for(i=0;i<3;i++)s[i]=Math.round(parseFloat(l[i+1])*2.55);l[4]&&(l[5]?s[3]=parseFloat(l[4])*.01:s[3]=parseFloat(l[4]))}else return(l=e.match(a))?l[1]==="transparent"?[0,0,0,0]:P.call(x,l[1])?(s=x[l[1]],s[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=w(s[i],0,255);return s[3]=w(s[3],0,1),s};y.get.hsl=function(e){if(!e)return null;var r=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(r);if(n){var t=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,a=w(parseFloat(n[2]),0,100),s=w(parseFloat(n[3]),0,100),l=w(isNaN(t)?1:t,0,1);return[o,a,s,l]}return null};y.get.hwb=function(e){if(!e)return null;var r=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(r);if(n){var t=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,a=w(parseFloat(n[2]),0,100),s=w(parseFloat(n[3]),0,100),l=w(isNaN(t)?1:t,0,1);return[o,a,s,l]}return null};y.to.hex=function(){var e=H(arguments);return"#"+j(e[0])+j(e[1])+j(e[2])+(e[3]<1?j(Math.round(e[3]*255)):"")};y.to.rgb=function(){var e=H(arguments);return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};y.to.rgb.percent=function(){var e=H(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"};y.to.hsl=function(){var e=H(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};y.to.hwb=function(){var e=H(arguments),r="";return e.length>=4&&e[3]!==1&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"};y.to.keyword=function(e){return V[e.slice(0,3)]};function w(e,r,n){return Math.min(Math.max(r,e),n)}function j(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}var te=q.exports,A=N,U={};for(let e of Object.keys(A))U[A[e]]=e;var c={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},W=c;for(let e of Object.keys(c)){if(!("channels"in c[e]))throw new Error("missing channels property: "+e);if(!("labels"in c[e]))throw new Error("missing channel labels property: "+e);if(c[e].labels.length!==c[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:r,labels:n}=c[e];delete c[e].channels,delete c[e].labels,Object.defineProperty(c[e],"channels",{value:r}),Object.defineProperty(c[e],"labels",{value:n})}c.rgb.hsl=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.min(r,n,t),a=Math.max(r,n,t),s=a-o,l,i;a===o?l=0:r===a?l=(n-t)/s:n===a?l=2+(t-r)/s:t===a&&(l=4+(r-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);let h=(o+a)/2;return a===o?i=0:h<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,h*100]};c.rgb.hsv=function(e){let r,n,t,o,a,s=e[0]/255,l=e[1]/255,i=e[2]/255,h=Math.max(s,l,i),p=h-Math.min(s,l,i),v=function(Q){return(h-Q)/6/p+1/2};return p===0?(o=0,a=0):(a=p/h,r=v(s),n=v(l),t=v(i),s===h?o=t-n:l===h?o=1/3+r-t:i===h&&(o=2/3+n-r),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,h*100]};c.rgb.hwb=function(e){let r=e[0],n=e[1],t=e[2],o=c.rgb.hsl(e)[0],a=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[o,a*100,t*100]};c.rgb.cmyk=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.min(1-r,1-n,1-t),a=(1-r-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-t-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function oe(e,r){return(e[0]-r[0])**2+(e[1]-r[1])**2+(e[2]-r[2])**2}c.rgb.keyword=function(e){let r=U[e];if(r)return r;let n=1/0,t;for(let o of Object.keys(A)){let a=A[o],s=oe(e,a);s<n&&(n=s,t=o)}return t};c.keyword.rgb=function(e){return A[e]};c.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;let o=r*.4124+n*.3576+t*.1805,a=r*.2126+n*.7152+t*.0722,s=r*.0193+n*.1192+t*.9505;return[o*100,a*100,s*100]};c.rgb.lab=function(e){let r=c.rgb.xyz(e),n=r[0],t=r[1],o=r[2];n/=95.047,t/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let a=116*t-16,s=500*(n-t),l=200*(t-o);return[a,s,l]};c.hsl.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100,o,a,s;if(n===0)return s=t*255,[s,s,s];t<.5?o=t*(1+n):o=t+n-t*n;let l=2*t-o,i=[0,0,0];for(let h=0;h<3;h++)a=r+1/3*-(h-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[h]=s*255;return i};c.hsl.hsv=function(e){let r=e[0],n=e[1]/100,t=e[2]/100,o=n,a=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,o*=a<=1?a:2-a;let s=(t+n)/2,l=t===0?2*o/(a+o):2*n/(t+n);return[r,l*100,s*100]};c.hsv.rgb=function(e){let r=e[0]/60,n=e[1]/100,t=e[2]/100,o=Math.floor(r)%6,a=r-Math.floor(r),s=255*t*(1-n),l=255*t*(1-n*a),i=255*t*(1-n*(1-a));switch(t*=255,o){case 0:return[t,i,s];case 1:return[l,t,s];case 2:return[s,t,i];case 3:return[s,l,t];case 4:return[i,s,t];case 5:return[t,s,l]}};c.hsv.hsl=function(e){let r=e[0],n=e[1]/100,t=e[2]/100,o=Math.max(t,.01),a,s;s=(2-n)*t;let l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[r,a*100,s*100]};c.hwb.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100,o=n+t,a;o>1&&(n/=o,t/=o);let s=Math.floor(6*r),l=1-t;a=6*r-s,s&1&&(a=1-a);let i=n+a*(l-n),h,p,v;switch(s){default:case 6:case 0:h=l,p=i,v=n;break;case 1:h=i,p=l,v=n;break;case 2:h=n,p=l,v=i;break;case 3:h=n,p=i,v=l;break;case 4:h=i,p=n,v=l;break;case 5:h=l,p=n,v=i;break}return[h*255,p*255,v*255]};c.cmyk.rgb=function(e){let r=e[0]/100,n=e[1]/100,t=e[2]/100,o=e[3]/100,a=1-Math.min(1,r*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,t*(1-o)+o);return[a*255,s*255,l*255]};c.xyz.rgb=function(e){let r=e[0]/100,n=e[1]/100,t=e[2]/100,o,a,s;return o=r*3.2406+n*-1.5372+t*-.4986,a=r*-.9689+n*1.8758+t*.0415,s=r*.0557+n*-.204+t*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};c.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;let o=116*n-16,a=500*(r-n),s=200*(n-t);return[o,a,s]};c.lab.xyz=function(e){let r=e[0],n=e[1],t=e[2],o,a,s;a=(r+16)/116,o=n/500+a,s=a-t/200;let l=a**3,i=o**3,h=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=h>.008856?h:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};c.lab.lch=function(e){let r=e[0],n=e[1],t=e[2],o;o=Math.atan2(t,n)*360/2/Math.PI,o<0&&(o+=360);let a=Math.sqrt(n*n+t*t);return[r,a,o]};c.lch.lab=function(e){let r=e[0],n=e[1],t=e[2]/360*2*Math.PI,o=n*Math.cos(t),a=n*Math.sin(t);return[r,o,a]};c.rgb.ansi16=function(e,r=null){let[n,t,o]=e,a=r===null?c.rgb.hsv(e)[2]:r;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])};c.rgb.ansi256=function(e){let r=e[0],n=e[1],t=e[2];return r===n&&n===t?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)};c.ansi16.rgb=function(e){let r=e%10;if(r===0||r===7)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];let n=(~~(e>50)+1)*.5,t=(r&1)*n*255,o=(r>>1&1)*n*255,a=(r>>2&1)*n*255;return[t,o,a]};c.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let r,n=Math.floor(e/36)/5*255,t=Math.floor((r=e%36)/6)/5*255,o=r%6/5*255;return[n,t,o]};c.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};c.hex.rgb=function(e){let r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];r[0].length===3&&(n=n.split("").map(l=>l+l).join(""));let t=parseInt(n,16),o=t>>16&255,a=t>>8&255,s=t&255;return[o,a,s]};c.rgb.hcg=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.max(Math.max(r,n),t),a=Math.min(Math.min(r,n),t),s=o-a,l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===r?i=(n-t)/s%6:o===n?i=2+(t-r)/s:i=4+(r-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};c.hsl.hcg=function(e){let r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n),o=0;return t<1&&(o=(n-.5*t)/(1-t)),[e[0],t*100,o*100]};c.hsv.hcg=function(e){let r=e[1]/100,n=e[2]/100,t=r*n,o=0;return t<1&&(o=(n-t)/(1-t)),[e[0],t*100,o*100]};c.hcg.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100;if(n===0)return[t*255,t*255,t*255];let o=[0,0,0],a=r%1*6,s=a%1,l=1-s,i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*t,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};c.hcg.hsv=function(e){let r=e[1]/100,n=e[2]/100,t=r+n*(1-r),o=0;return t>0&&(o=r/t),[e[0],o*100,t*100]};c.hcg.hsl=function(e){let r=e[1]/100,n=e[2]/100*(1-r)+.5*r,t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],t*100,n*100]};c.hcg.hwb=function(e){let r=e[1]/100,n=e[2]/100,t=r+n*(1-r);return[e[0],(t-r)*100,(1-t)*100]};c.hwb.hcg=function(e){let r=e[1]/100,n=1-e[2]/100,t=n-r,o=0;return t<1&&(o=(n-t)/(1-t)),[e[0],t*100,o*100]};c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};c.gray.hsl=function(e){return[0,0,e[0]]};c.gray.hsv=c.gray.hsl;c.gray.hwb=function(e){return[0,100,e[0]]};c.gray.cmyk=function(e){return[0,0,0,e[0]]};c.gray.lab=function(e){return[e[0],0,0]};c.gray.hex=function(e){let r=Math.round(e[0]/100*255)&255,n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n};c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var F=W;function se(){let e={},r=Object.keys(F);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}function ae(e){let r=se(),n=[e];for(r[e].distance=0;n.length;){let t=n.pop(),o=Object.keys(F[t]);for(let a=o.length,s=0;s<a;s++){let l=o[s],i=r[l];i.distance===-1&&(i.distance=r[t].distance+1,i.parent=t,n.unshift(l))}}return r}function le(e,r){return function(n){return r(e(n))}}function ie(e,r){let n=[r[e].parent,e],t=F[r[e].parent][e],o=r[e].parent;for(;r[o].parent;)n.unshift(r[o].parent),t=le(F[r[o].parent][o],t),o=r[o].parent;return t.conversion=n,t}var ce=function(e){let r=ae(e),n={},t=Object.keys(r);for(let o=t.length,a=0;a<o;a++){let s=t[a];r[s].parent!==null&&(n[s]=ie(s,r))}return n},L=W,he=ce,k={},ue=Object.keys(L);function ge(e){let r=function(...n){let t=n[0];return t==null?t:(t.length>1&&(n=t),e(n))};return"conversion"in e&&(r.conversion=e.conversion),r}function de(e){let r=function(...n){let t=n[0];if(t==null)return t;t.length>1&&(n=t);let o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s<a;s++)o[s]=Math.round(o[s]);return o};return"conversion"in e&&(r.conversion=e.conversion),r}ue.forEach(e=>{k[e]={},Object.defineProperty(k[e],"channels",{value:L[e].channels}),Object.defineProperty(k[e],"labels",{value:L[e].labels});let r=he(e);Object.keys(r).forEach(n=>{let t=r[n];k[e][n]=de(t),k[e][n].raw=ge(t)})});var fe=k,M=te,m=fe,D=["keyword","gray","hex"],E={};for(let e of Object.keys(m))E[[...m[e].labels].sort().join("")]=e;var O={};function b(e,r){if(!(this instanceof b))return new b(e,r);if(r&&r in D&&(r=null),r&&!(r in m))throw new Error("Unknown model: "+r);let n,t;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof b)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){let o=M.get(e);if(o===null)throw new Error("Unable to parse color from string: "+e);this.model=o.model,t=m[this.model].channels,this.color=o.value.slice(0,t),this.valpha=typeof o.value[t]=="number"?o.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=m[this.model].channels;let o=Array.prototype.slice.call(e,0,t);this.color=z(o,t),this.valpha=typeof e[t]=="number"?e[t]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;let o=Object.keys(e);"alpha"in e&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);let a=o.sort().join("");if(!(a in E))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=E[a];let{labels:s}=m[this.model],l=[];for(n=0;n<s.length;n++)l.push(e[s[n]]);this.color=z(l)}if(O[this.model])for(t=m[this.model].channels,n=0;n<t;n++){let o=O[this.model][n];o&&(this.color[n]=o(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in M.to?this:this.rgb();r=r.round(typeof e=="number"?e:1);let n=r.valpha===1?r.color:[...r.color,this.valpha];return M.to[r.model](n)},percentString(e){let r=this.rgb().round(typeof e=="number"?e:1),n=r.valpha===1?r.color:[...r.color,this.valpha];return M.to.rgb.percent(n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:r}=m[this.model],{labels:n}=m[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new b([...this.color.map(pe(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new b([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,f(255)),green:u("rgb",1,f(255)),blue:u("rgb",2,f(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,f(100)),lightness:u("hsl",2,f(100)),saturationv:u("hsv",1,f(100)),value:u("hsv",2,f(100)),chroma:u("hcg",1,f(100)),gray:u("hcg",2,f(100)),white:u("hwb",1,f(100)),wblack:u("hwb",2,f(100)),cyan:u("cmyk",0,f(100)),magenta:u("cmyk",1,f(100)),yellow:u("cmyk",2,f(100)),black:u("cmyk",3,f(100)),x:u("xyz",0,f(95.047)),y:u("xyz",1,f(100)),z:u("xyz",2,f(108.833)),l:u("lab",0,f(100)),a:u("lab",1),b:u("lab",2),keyword(e){return e!==void 0?new b(e):m[this.model].keyword(this.color)},hex(e){return e!==void 0?new b(e):M.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new b(e);let r=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),M.to.hex(r)+n},rgbNumber(){let e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){let e=this.rgb().color,r=[];for(let[n,t]of e.entries()){let o=t/255;r[n]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){let r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){let r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){let r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){let r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){let r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){let r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){let r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){let r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){let e=this.rgb().color,r=e[0]*.3+e[1]*.59+e[2]*.11;return b.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let r=this.hsl(),n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),t=this.rgb(),o=r===void 0?.5:r,a=2*o-1,s=n.alpha()-t.alpha(),l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2,i=1-l;return b.rgb(l*n.red()+i*t.red(),l*n.green()+i*t.green(),l*n.blue()+i*t.blue(),n.alpha()*o+t.alpha()*(1-o))}};for(let e of Object.keys(m)){if(D.includes(e))continue;let{channels:r}=m[e];b.prototype[e]=function(...n){return this.model===e?new b(this):n.length>0?new b(n,e):new b([...me(m[this.model][e].raw(this.color)),this.valpha],e)},b[e]=function(...n){let t=n[0];return typeof t=="number"&&(t=z(n,r)),new b(t,e)}}function be(e,r){return Number(e.toFixed(r))}function pe(e){return function(r){return be(r,e)}}function u(e,r,n){e=Array.isArray(e)?e:[e];for(let t of e)(O[t]||(O[t]=[]))[r]=n;return e=e[0],function(t){let o;return t!==void 0?(n&&(t=n(t)),o=this[e](),o.color[r]=t,o):(o=this[e]().color[r],n&&(o=n(o)),o)}}function f(e){return function(r){return Math.max(0,Math.min(e,r))}}function me(e){return Array.isArray(e)?e:[e]}function z(e,r){for(let n=0;n<r;n++)typeof e[n]!="number"&&(e[n]=0);return e}var ye=b,ve=G(ye),je={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},$e=ve("#007AC2"),Fe="calcite-color-",Oe={r:255,g:255,b:255},we={h:360,s:100,v:100},Le=we.h-1,Ee={min:0,max:100},Se={s:{slider:{height:12,width:142},colorField:{height:110,width:198},thumb:{radius:7},preview:{size:20}},m:{slider:{height:12,width:170},colorField:{height:132,width:238},thumb:{radius:7},preview:{size:24}},l:{slider:{height:12,width:222},colorField:{height:168,width:302},thumb:{radius:7},preview:{size:32}}},ze=1,Be=/^[0-9A-F]$/i,ke=/^#[0-9A-F]{3}$/i,Me=/^#[0-9A-F]{6}$/i,xe=/^#[0-9A-F]{4}$/i,Ae=/^#[0-9A-F]{8}$/i,Ge=e=>Number((e*100).toFixed()),Re=e=>Number((e/100).toFixed(2));function J(e,r=!1){return B(e,r)||He(e,r)}function K(e,r,n){return e?e.length===r&&n.test(e):!1}function B(e,r=!1){return K(e,r?5:4,r?xe:ke)}function He(e,r=!1){return K(e,r?9:7,r?Ae:Me)}function _e(e,r=!1,n=!1){if(e=e.toLowerCase(),e.startsWith("#")||(e=`#${e}`),B(e,r))return _(I(e,r));if(r&&n&&J(e,!1)){let t=B(e,!1);return _(I(`${e}${t?"f":"ff"}`,!0))}return e}function Ie(e,r=!1){return r?e.hexa():e.hex()}function _(e){let{r,g:n,b:t}=e,o=$(r),a=$(n),s=$(t),l="a"in e?$(e.a*255):"";return`#${o}${a}${s}${l}`.toLowerCase()}function $(e){return e.toString(16).padStart(2,"0")}function qe(e){let r={...e,a:e.alpha??1};return delete r.alpha,r}function Ne(e){let r={...e,alpha:e.a??1};return delete r.a,r}function I(e,r=!1){if(!J(e,r))return null;e=e.replace("#","");let n,t,o,a;if(e.length===3||e.length===4){let[s,l,i,h]=e.split("");n=parseInt(`${s}${s}`,16),t=parseInt(`${l}${l}`,16),o=parseInt(`${i}${i}`,16),a=parseInt(`${h}${h}`,16)/255}else n=parseInt(e.slice(0,2),16),t=parseInt(e.slice(2,4),16),o=parseInt(e.slice(4,6),16),a=parseInt(e.slice(6,8),16)/255;return isNaN(a)?{r:n,g:t,b:o}:{r:n,g:t,b:o,a}}var T=e=>e,g=T({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"}),d=T({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function Xe(e){if(typeof e=="string"){if(e.startsWith("#")){let{length:r}=e;if(r===4||r===7)return g.HEX;if(r===5||r===9)return g.HEXA}if(e.startsWith("rgba("))return g.RGBA_CSS;if(e.startsWith("rgb("))return g.RGB_CSS;if(e.startsWith("hsl("))return g.HSL_CSS;if(e.startsWith("hsla("))return g.HSLA_CSS}if(typeof e=="object"){if(S(e,"r","g","b"))return S(e,"a")?d.RGBA:d.RGB;if(S(e,"h","s","l"))return S(e,"a")?d.HSLA:d.HSL;if(S(e,"h","s","v"))return S(e,"a")?d.HSVA:d.HSV}return null}function S(e,...r){return r.every(n=>n&&e&&`${n}`in e)}function Pe(e,r){return e?.rgb().array().toString()===r?.rgb().array().toString()}function Ve(e){return e===g.HEXA||e===g.RGBA_CSS||e===g.HSLA_CSS||e===d.RGBA||e===d.HSLA||e===d.HSVA}function Ue(e){return e===g.HEX?g.HEXA:e===g.RGB_CSS?g.RGBA_CSS:e===g.HSL_CSS?g.HSLA_CSS:e===d.RGB?d.RGBA:e===d.HSL?d.HSLA:e===d.HSV?d.HSVA:e}function We(e){return e===g.HEXA?g.HEX:e===g.RGBA_CSS?g.RGB_CSS:e===g.HSLA_CSS?g.HSL_CSS:e===d.RGBA?d.RGB:e===d.HSLA?d.HSL:e===d.HSVA?d.HSV:e}function De(e,r){let{slider:{width:n},preview:t}=e;if(r)return n;let o=Se.l.preview.size-t.size;return n+o}export{ve as a,je as b,$e as c,Fe as d,Oe as e,we as f,Le as g,Ee as h,Se as i,ze as j,Be as k,Ge as l,Re as m,J as n,B as o,He as p,_e as q,Ie as r,_ as s,qe as t,Ne as u,I as v,g as w,Xe as x,Pe as y,Ve as z,Ue as A,We as B,De as C};
6
+ import{b as G}from"./2JH2NEPF.js";var q={exports:{}},N={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},X={exports:{}},Z=function(e){return!e||typeof e=="string"?!1:e instanceof Array||Array.isArray(e)||e.length>=0&&(e.splice instanceof Function||Object.getOwnPropertyDescriptor(e,e.length-1)&&e.constructor.name!=="String")},Y=Z,ee=Array.prototype.concat,re=Array.prototype.slice,R=X.exports=function(e){for(var r=[],n=0,t=e.length;n<t;n++){var o=e[n];Y(o)?r=ee.call(r,re.call(o)):r.push(o)}return r};R.wrap=function(e){return function(){return e(R(arguments))}};var ne=X.exports,x=N,H=ne,P=Object.hasOwnProperty,V=Object.create(null);for(C in x)P.call(x,C)&&(V[x[C]]=C);var C,y=q.exports={to:{},get:{}};y.get=function(e){var r=e.substring(0,3).toLowerCase(),n,t;switch(r){case"hsl":n=y.get.hsl(e),t="hsl";break;case"hwb":n=y.get.hwb(e),t="hwb";break;default:n=y.get.rgb(e),t="rgb";break}return n?{model:t,value:n}:null};y.get.rgb=function(e){if(!e)return null;var r=/^#([a-f0-9]{3,4})$/i,n=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,t=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,o=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,a=/^(\w+)$/,s=[0,0,0,1],l,i,h;if(l=e.match(n)){for(h=l[2],l=l[1],i=0;i<3;i++){var p=i*2;s[i]=parseInt(l.slice(p,p+2),16)}h&&(s[3]=parseInt(h,16)/255)}else if(l=e.match(r)){for(l=l[1],h=l[3],i=0;i<3;i++)s[i]=parseInt(l[i]+l[i],16);h&&(s[3]=parseInt(h+h,16)/255)}else if(l=e.match(t)){for(i=0;i<3;i++)s[i]=parseInt(l[i+1],0);l[4]&&(l[5]?s[3]=parseFloat(l[4])*.01:s[3]=parseFloat(l[4]))}else if(l=e.match(o)){for(i=0;i<3;i++)s[i]=Math.round(parseFloat(l[i+1])*2.55);l[4]&&(l[5]?s[3]=parseFloat(l[4])*.01:s[3]=parseFloat(l[4]))}else return(l=e.match(a))?l[1]==="transparent"?[0,0,0,0]:P.call(x,l[1])?(s=x[l[1]],s[3]=1,s):null:null;for(i=0;i<3;i++)s[i]=w(s[i],0,255);return s[3]=w(s[3],0,1),s};y.get.hsl=function(e){if(!e)return null;var r=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(r);if(n){var t=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,a=w(parseFloat(n[2]),0,100),s=w(parseFloat(n[3]),0,100),l=w(isNaN(t)?1:t,0,1);return[o,a,s,l]}return null};y.get.hwb=function(e){if(!e)return null;var r=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,n=e.match(r);if(n){var t=parseFloat(n[4]),o=(parseFloat(n[1])%360+360)%360,a=w(parseFloat(n[2]),0,100),s=w(parseFloat(n[3]),0,100),l=w(isNaN(t)?1:t,0,1);return[o,a,s,l]}return null};y.to.hex=function(){var e=H(arguments);return"#"+j(e[0])+j(e[1])+j(e[2])+(e[3]<1?j(Math.round(e[3]*255)):"")};y.to.rgb=function(){var e=H(arguments);return e.length<4||e[3]===1?"rgb("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+")":"rgba("+Math.round(e[0])+", "+Math.round(e[1])+", "+Math.round(e[2])+", "+e[3]+")"};y.to.rgb.percent=function(){var e=H(arguments),r=Math.round(e[0]/255*100),n=Math.round(e[1]/255*100),t=Math.round(e[2]/255*100);return e.length<4||e[3]===1?"rgb("+r+"%, "+n+"%, "+t+"%)":"rgba("+r+"%, "+n+"%, "+t+"%, "+e[3]+")"};y.to.hsl=function(){var e=H(arguments);return e.length<4||e[3]===1?"hsl("+e[0]+", "+e[1]+"%, "+e[2]+"%)":"hsla("+e[0]+", "+e[1]+"%, "+e[2]+"%, "+e[3]+")"};y.to.hwb=function(){var e=H(arguments),r="";return e.length>=4&&e[3]!==1&&(r=", "+e[3]),"hwb("+e[0]+", "+e[1]+"%, "+e[2]+"%"+r+")"};y.to.keyword=function(e){return V[e.slice(0,3)]};function w(e,r,n){return Math.min(Math.max(r,e),n)}function j(e){var r=Math.round(e).toString(16).toUpperCase();return r.length<2?"0"+r:r}var te=q.exports,A=N,U={};for(let e of Object.keys(A))U[A[e]]=e;var c={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}},W=c;for(let e of Object.keys(c)){if(!("channels"in c[e]))throw new Error("missing channels property: "+e);if(!("labels"in c[e]))throw new Error("missing channel labels property: "+e);if(c[e].labels.length!==c[e].channels)throw new Error("channel and label counts mismatch: "+e);let{channels:r,labels:n}=c[e];delete c[e].channels,delete c[e].labels,Object.defineProperty(c[e],"channels",{value:r}),Object.defineProperty(c[e],"labels",{value:n})}c.rgb.hsl=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.min(r,n,t),a=Math.max(r,n,t),s=a-o,l,i;a===o?l=0:r===a?l=(n-t)/s:n===a?l=2+(t-r)/s:t===a&&(l=4+(r-n)/s),l=Math.min(l*60,360),l<0&&(l+=360);let h=(o+a)/2;return a===o?i=0:h<=.5?i=s/(a+o):i=s/(2-a-o),[l,i*100,h*100]};c.rgb.hsv=function(e){let r,n,t,o,a,s=e[0]/255,l=e[1]/255,i=e[2]/255,h=Math.max(s,l,i),p=h-Math.min(s,l,i),v=function(Q){return(h-Q)/6/p+1/2};return p===0?(o=0,a=0):(a=p/h,r=v(s),n=v(l),t=v(i),s===h?o=t-n:l===h?o=1/3+r-t:i===h&&(o=2/3+n-r),o<0?o+=1:o>1&&(o-=1)),[o*360,a*100,h*100]};c.rgb.hwb=function(e){let r=e[0],n=e[1],t=e[2],o=c.rgb.hsl(e)[0],a=1/255*Math.min(r,Math.min(n,t));return t=1-1/255*Math.max(r,Math.max(n,t)),[o,a*100,t*100]};c.rgb.cmyk=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.min(1-r,1-n,1-t),a=(1-r-o)/(1-o)||0,s=(1-n-o)/(1-o)||0,l=(1-t-o)/(1-o)||0;return[a*100,s*100,l*100,o*100]};function oe(e,r){return(e[0]-r[0])**2+(e[1]-r[1])**2+(e[2]-r[2])**2}c.rgb.keyword=function(e){let r=U[e];if(r)return r;let n=1/0,t;for(let o of Object.keys(A)){let a=A[o],s=oe(e,a);s<n&&(n=s,t=o)}return t};c.keyword.rgb=function(e){return A[e]};c.rgb.xyz=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255;r=r>.04045?((r+.055)/1.055)**2.4:r/12.92,n=n>.04045?((n+.055)/1.055)**2.4:n/12.92,t=t>.04045?((t+.055)/1.055)**2.4:t/12.92;let o=r*.4124+n*.3576+t*.1805,a=r*.2126+n*.7152+t*.0722,s=r*.0193+n*.1192+t*.9505;return[o*100,a*100,s*100]};c.rgb.lab=function(e){let r=c.rgb.xyz(e),n=r[0],t=r[1],o=r[2];n/=95.047,t/=100,o/=108.883,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116,o=o>.008856?o**(1/3):7.787*o+16/116;let a=116*t-16,s=500*(n-t),l=200*(t-o);return[a,s,l]};c.hsl.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100,o,a,s;if(n===0)return s=t*255,[s,s,s];t<.5?o=t*(1+n):o=t+n-t*n;let l=2*t-o,i=[0,0,0];for(let h=0;h<3;h++)a=r+1/3*-(h-1),a<0&&a++,a>1&&a--,6*a<1?s=l+(o-l)*6*a:2*a<1?s=o:3*a<2?s=l+(o-l)*(2/3-a)*6:s=l,i[h]=s*255;return i};c.hsl.hsv=function(e){let r=e[0],n=e[1]/100,t=e[2]/100,o=n,a=Math.max(t,.01);t*=2,n*=t<=1?t:2-t,o*=a<=1?a:2-a;let s=(t+n)/2,l=t===0?2*o/(a+o):2*n/(t+n);return[r,l*100,s*100]};c.hsv.rgb=function(e){let r=e[0]/60,n=e[1]/100,t=e[2]/100,o=Math.floor(r)%6,a=r-Math.floor(r),s=255*t*(1-n),l=255*t*(1-n*a),i=255*t*(1-n*(1-a));switch(t*=255,o){case 0:return[t,i,s];case 1:return[l,t,s];case 2:return[s,t,i];case 3:return[s,l,t];case 4:return[i,s,t];case 5:return[t,s,l]}};c.hsv.hsl=function(e){let r=e[0],n=e[1]/100,t=e[2]/100,o=Math.max(t,.01),a,s;s=(2-n)*t;let l=(2-n)*o;return a=n*o,a/=l<=1?l:2-l,a=a||0,s/=2,[r,a*100,s*100]};c.hwb.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100,o=n+t,a;o>1&&(n/=o,t/=o);let s=Math.floor(6*r),l=1-t;a=6*r-s,s&1&&(a=1-a);let i=n+a*(l-n),h,p,v;switch(s){default:case 6:case 0:h=l,p=i,v=n;break;case 1:h=i,p=l,v=n;break;case 2:h=n,p=l,v=i;break;case 3:h=n,p=i,v=l;break;case 4:h=i,p=n,v=l;break;case 5:h=l,p=n,v=i;break}return[h*255,p*255,v*255]};c.cmyk.rgb=function(e){let r=e[0]/100,n=e[1]/100,t=e[2]/100,o=e[3]/100,a=1-Math.min(1,r*(1-o)+o),s=1-Math.min(1,n*(1-o)+o),l=1-Math.min(1,t*(1-o)+o);return[a*255,s*255,l*255]};c.xyz.rgb=function(e){let r=e[0]/100,n=e[1]/100,t=e[2]/100,o,a,s;return o=r*3.2406+n*-1.5372+t*-.4986,a=r*-.9689+n*1.8758+t*.0415,s=r*.0557+n*-.204+t*1.057,o=o>.0031308?1.055*o**(1/2.4)-.055:o*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,s=s>.0031308?1.055*s**(1/2.4)-.055:s*12.92,o=Math.min(Math.max(0,o),1),a=Math.min(Math.max(0,a),1),s=Math.min(Math.max(0,s),1),[o*255,a*255,s*255]};c.xyz.lab=function(e){let r=e[0],n=e[1],t=e[2];r/=95.047,n/=100,t/=108.883,r=r>.008856?r**(1/3):7.787*r+16/116,n=n>.008856?n**(1/3):7.787*n+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;let o=116*n-16,a=500*(r-n),s=200*(n-t);return[o,a,s]};c.lab.xyz=function(e){let r=e[0],n=e[1],t=e[2],o,a,s;a=(r+16)/116,o=n/500+a,s=a-t/200;let l=a**3,i=o**3,h=s**3;return a=l>.008856?l:(a-16/116)/7.787,o=i>.008856?i:(o-16/116)/7.787,s=h>.008856?h:(s-16/116)/7.787,o*=95.047,a*=100,s*=108.883,[o,a,s]};c.lab.lch=function(e){let r=e[0],n=e[1],t=e[2],o;o=Math.atan2(t,n)*360/2/Math.PI,o<0&&(o+=360);let a=Math.sqrt(n*n+t*t);return[r,a,o]};c.lch.lab=function(e){let r=e[0],n=e[1],t=e[2]/360*2*Math.PI,o=n*Math.cos(t),a=n*Math.sin(t);return[r,o,a]};c.rgb.ansi16=function(e,r=null){let[n,t,o]=e,a=r===null?c.rgb.hsv(e)[2]:r;if(a=Math.round(a/50),a===0)return 30;let s=30+(Math.round(o/255)<<2|Math.round(t/255)<<1|Math.round(n/255));return a===2&&(s+=60),s};c.hsv.ansi16=function(e){return c.rgb.ansi16(c.hsv.rgb(e),e[2])};c.rgb.ansi256=function(e){let r=e[0],n=e[1],t=e[2];return r===n&&n===t?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(t/255*5)};c.ansi16.rgb=function(e){let r=e%10;if(r===0||r===7)return e>50&&(r+=3.5),r=r/10.5*255,[r,r,r];let n=(~~(e>50)+1)*.5,t=(r&1)*n*255,o=(r>>1&1)*n*255,a=(r>>2&1)*n*255;return[t,o,a]};c.ansi256.rgb=function(e){if(e>=232){let a=(e-232)*10+8;return[a,a,a]}e-=16;let r,n=Math.floor(e/36)/5*255,t=Math.floor((r=e%36)/6)/5*255,o=r%6/5*255;return[n,t,o]};c.rgb.hex=function(e){let r=(((Math.round(e[0])&255)<<16)+((Math.round(e[1])&255)<<8)+(Math.round(e[2])&255)).toString(16).toUpperCase();return"000000".substring(r.length)+r};c.hex.rgb=function(e){let r=e.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!r)return[0,0,0];let n=r[0];r[0].length===3&&(n=n.split("").map(l=>l+l).join(""));let t=parseInt(n,16),o=t>>16&255,a=t>>8&255,s=t&255;return[o,a,s]};c.rgb.hcg=function(e){let r=e[0]/255,n=e[1]/255,t=e[2]/255,o=Math.max(Math.max(r,n),t),a=Math.min(Math.min(r,n),t),s=o-a,l,i;return s<1?l=a/(1-s):l=0,s<=0?i=0:o===r?i=(n-t)/s%6:o===n?i=2+(t-r)/s:i=4+(r-n)/s,i/=6,i%=1,[i*360,s*100,l*100]};c.hsl.hcg=function(e){let r=e[1]/100,n=e[2]/100,t=n<.5?2*r*n:2*r*(1-n),o=0;return t<1&&(o=(n-.5*t)/(1-t)),[e[0],t*100,o*100]};c.hsv.hcg=function(e){let r=e[1]/100,n=e[2]/100,t=r*n,o=0;return t<1&&(o=(n-t)/(1-t)),[e[0],t*100,o*100]};c.hcg.rgb=function(e){let r=e[0]/360,n=e[1]/100,t=e[2]/100;if(n===0)return[t*255,t*255,t*255];let o=[0,0,0],a=r%1*6,s=a%1,l=1-s,i=0;switch(Math.floor(a)){case 0:o[0]=1,o[1]=s,o[2]=0;break;case 1:o[0]=l,o[1]=1,o[2]=0;break;case 2:o[0]=0,o[1]=1,o[2]=s;break;case 3:o[0]=0,o[1]=l,o[2]=1;break;case 4:o[0]=s,o[1]=0,o[2]=1;break;default:o[0]=1,o[1]=0,o[2]=l}return i=(1-n)*t,[(n*o[0]+i)*255,(n*o[1]+i)*255,(n*o[2]+i)*255]};c.hcg.hsv=function(e){let r=e[1]/100,n=e[2]/100,t=r+n*(1-r),o=0;return t>0&&(o=r/t),[e[0],o*100,t*100]};c.hcg.hsl=function(e){let r=e[1]/100,n=e[2]/100*(1-r)+.5*r,t=0;return n>0&&n<.5?t=r/(2*n):n>=.5&&n<1&&(t=r/(2*(1-n))),[e[0],t*100,n*100]};c.hcg.hwb=function(e){let r=e[1]/100,n=e[2]/100,t=r+n*(1-r);return[e[0],(t-r)*100,(1-t)*100]};c.hwb.hcg=function(e){let r=e[1]/100,n=1-e[2]/100,t=n-r,o=0;return t<1&&(o=(n-t)/(1-t)),[e[0],t*100,o*100]};c.apple.rgb=function(e){return[e[0]/65535*255,e[1]/65535*255,e[2]/65535*255]};c.rgb.apple=function(e){return[e[0]/255*65535,e[1]/255*65535,e[2]/255*65535]};c.gray.rgb=function(e){return[e[0]/100*255,e[0]/100*255,e[0]/100*255]};c.gray.hsl=function(e){return[0,0,e[0]]};c.gray.hsv=c.gray.hsl;c.gray.hwb=function(e){return[0,100,e[0]]};c.gray.cmyk=function(e){return[0,0,0,e[0]]};c.gray.lab=function(e){return[e[0],0,0]};c.gray.hex=function(e){let r=Math.round(e[0]/100*255)&255,n=((r<<16)+(r<<8)+r).toString(16).toUpperCase();return"000000".substring(n.length)+n};c.rgb.gray=function(e){return[(e[0]+e[1]+e[2])/3/255*100]};var F=W;function se(){let e={},r=Object.keys(F);for(let n=r.length,t=0;t<n;t++)e[r[t]]={distance:-1,parent:null};return e}function ae(e){let r=se(),n=[e];for(r[e].distance=0;n.length;){let t=n.pop(),o=Object.keys(F[t]);for(let a=o.length,s=0;s<a;s++){let l=o[s],i=r[l];i.distance===-1&&(i.distance=r[t].distance+1,i.parent=t,n.unshift(l))}}return r}function le(e,r){return function(n){return r(e(n))}}function ie(e,r){let n=[r[e].parent,e],t=F[r[e].parent][e],o=r[e].parent;for(;r[o].parent;)n.unshift(r[o].parent),t=le(F[r[o].parent][o],t),o=r[o].parent;return t.conversion=n,t}var ce=function(e){let r=ae(e),n={},t=Object.keys(r);for(let o=t.length,a=0;a<o;a++){let s=t[a];r[s].parent!==null&&(n[s]=ie(s,r))}return n},L=W,he=ce,k={},ue=Object.keys(L);function ge(e){let r=function(...n){let t=n[0];return t==null?t:(t.length>1&&(n=t),e(n))};return"conversion"in e&&(r.conversion=e.conversion),r}function de(e){let r=function(...n){let t=n[0];if(t==null)return t;t.length>1&&(n=t);let o=e(n);if(typeof o=="object")for(let a=o.length,s=0;s<a;s++)o[s]=Math.round(o[s]);return o};return"conversion"in e&&(r.conversion=e.conversion),r}ue.forEach(e=>{k[e]={},Object.defineProperty(k[e],"channels",{value:L[e].channels}),Object.defineProperty(k[e],"labels",{value:L[e].labels});let r=he(e);Object.keys(r).forEach(n=>{let t=r[n];k[e][n]=de(t),k[e][n].raw=ge(t)})});var fe=k,M=te,m=fe,D=["keyword","gray","hex"],E={};for(let e of Object.keys(m))E[[...m[e].labels].sort().join("")]=e;var O={};function b(e,r){if(!(this instanceof b))return new b(e,r);if(r&&r in D&&(r=null),r&&!(r in m))throw new Error("Unknown model: "+r);let n,t;if(e==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(e instanceof b)this.model=e.model,this.color=[...e.color],this.valpha=e.valpha;else if(typeof e=="string"){let o=M.get(e);if(o===null)throw new Error("Unable to parse color from string: "+e);this.model=o.model,t=m[this.model].channels,this.color=o.value.slice(0,t),this.valpha=typeof o.value[t]=="number"?o.value[t]:1}else if(e.length>0){this.model=r||"rgb",t=m[this.model].channels;let o=Array.prototype.slice.call(e,0,t);this.color=z(o,t),this.valpha=typeof e[t]=="number"?e[t]:1}else if(typeof e=="number")this.model="rgb",this.color=[e>>16&255,e>>8&255,e&255],this.valpha=1;else{this.valpha=1;let o=Object.keys(e);"alpha"in e&&(o.splice(o.indexOf("alpha"),1),this.valpha=typeof e.alpha=="number"?e.alpha:0);let a=o.sort().join("");if(!(a in E))throw new Error("Unable to parse color from object: "+JSON.stringify(e));this.model=E[a];let{labels:s}=m[this.model],l=[];for(n=0;n<s.length;n++)l.push(e[s[n]]);this.color=z(l)}if(O[this.model])for(t=m[this.model].channels,n=0;n<t;n++){let o=O[this.model][n];o&&(this.color[n]=o(this.color[n]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}b.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(e){let r=this.model in M.to?this:this.rgb();r=r.round(typeof e=="number"?e:1);let n=r.valpha===1?r.color:[...r.color,this.valpha];return M.to[r.model](n)},percentString(e){let r=this.rgb().round(typeof e=="number"?e:1),n=r.valpha===1?r.color:[...r.color,this.valpha];return M.to.rgb.percent(n)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){let e={},{channels:r}=m[this.model],{labels:n}=m[this.model];for(let t=0;t<r;t++)e[n[t]]=this.color[t];return this.valpha!==1&&(e.alpha=this.valpha),e},unitArray(){let e=this.rgb().color;return e[0]/=255,e[1]/=255,e[2]/=255,this.valpha!==1&&e.push(this.valpha),e},unitObject(){let e=this.rgb().object();return e.r/=255,e.g/=255,e.b/=255,this.valpha!==1&&(e.alpha=this.valpha),e},round(e){return e=Math.max(e||0,0),new b([...this.color.map(pe(e)),this.valpha],this.model)},alpha(e){return e!==void 0?new b([...this.color,Math.max(0,Math.min(1,e))],this.model):this.valpha},red:u("rgb",0,f(255)),green:u("rgb",1,f(255)),blue:u("rgb",2,f(255)),hue:u(["hsl","hsv","hsl","hwb","hcg"],0,e=>(e%360+360)%360),saturationl:u("hsl",1,f(100)),lightness:u("hsl",2,f(100)),saturationv:u("hsv",1,f(100)),value:u("hsv",2,f(100)),chroma:u("hcg",1,f(100)),gray:u("hcg",2,f(100)),white:u("hwb",1,f(100)),wblack:u("hwb",2,f(100)),cyan:u("cmyk",0,f(100)),magenta:u("cmyk",1,f(100)),yellow:u("cmyk",2,f(100)),black:u("cmyk",3,f(100)),x:u("xyz",0,f(95.047)),y:u("xyz",1,f(100)),z:u("xyz",2,f(108.833)),l:u("lab",0,f(100)),a:u("lab",1),b:u("lab",2),keyword(e){return e!==void 0?new b(e):m[this.model].keyword(this.color)},hex(e){return e!==void 0?new b(e):M.to.hex(this.rgb().round().color)},hexa(e){if(e!==void 0)return new b(e);let r=this.rgb().round().color,n=Math.round(this.valpha*255).toString(16).toUpperCase();return n.length===1&&(n="0"+n),M.to.hex(r)+n},rgbNumber(){let e=this.rgb().color;return(e[0]&255)<<16|(e[1]&255)<<8|e[2]&255},luminosity(){let e=this.rgb().color,r=[];for(let[n,t]of e.entries()){let o=t/255;r[n]=o<=.04045?o/12.92:((o+.055)/1.055)**2.4}return .2126*r[0]+.7152*r[1]+.0722*r[2]},contrast(e){let r=this.luminosity(),n=e.luminosity();return r>n?(r+.05)/(n+.05):(n+.05)/(r+.05)},level(e){let r=this.contrast(e);return r>=7?"AAA":r>=4.5?"AA":""},isDark(){let e=this.rgb().color;return(e[0]*2126+e[1]*7152+e[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){let e=this.rgb();for(let r=0;r<3;r++)e.color[r]=255-e.color[r];return e},lighten(e){let r=this.hsl();return r.color[2]+=r.color[2]*e,r},darken(e){let r=this.hsl();return r.color[2]-=r.color[2]*e,r},saturate(e){let r=this.hsl();return r.color[1]+=r.color[1]*e,r},desaturate(e){let r=this.hsl();return r.color[1]-=r.color[1]*e,r},whiten(e){let r=this.hwb();return r.color[1]+=r.color[1]*e,r},blacken(e){let r=this.hwb();return r.color[2]+=r.color[2]*e,r},grayscale(){let e=this.rgb().color,r=e[0]*.3+e[1]*.59+e[2]*.11;return b.rgb(r,r,r)},fade(e){return this.alpha(this.valpha-this.valpha*e)},opaquer(e){return this.alpha(this.valpha+this.valpha*e)},rotate(e){let r=this.hsl(),n=r.color[0];return n=(n+e)%360,n=n<0?360+n:n,r.color[0]=n,r},mix(e,r){if(!e||!e.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof e);let n=e.rgb(),t=this.rgb(),o=r===void 0?.5:r,a=2*o-1,s=n.alpha()-t.alpha(),l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2,i=1-l;return b.rgb(l*n.red()+i*t.red(),l*n.green()+i*t.green(),l*n.blue()+i*t.blue(),n.alpha()*o+t.alpha()*(1-o))}};for(let e of Object.keys(m)){if(D.includes(e))continue;let{channels:r}=m[e];b.prototype[e]=function(...n){return this.model===e?new b(this):n.length>0?new b(n,e):new b([...me(m[this.model][e].raw(this.color)),this.valpha],e)},b[e]=function(...n){let t=n[0];return typeof t=="number"&&(t=z(n,r)),new b(t,e)}}function be(e,r){return Number(e.toFixed(r))}function pe(e){return function(r){return be(r,e)}}function u(e,r,n){e=Array.isArray(e)?e:[e];for(let t of e)(O[t]||(O[t]=[]))[r]=n;return e=e[0],function(t){let o;return t!==void 0?(n&&(t=n(t)),o=this[e](),o.color[r]=t,o):(o=this[e]().color[r],n&&(o=n(o)),o)}}function f(e){return function(r){return Math.max(0,Math.min(e,r))}}function me(e){return Array.isArray(e)?e:[e]}function z(e,r){for(let n=0;n<r;n++)typeof e[n]!="number"&&(e[n]=0);return e}var ye=b,ve=G(ye),je={channel:"channel",channels:"channels",colorField:"color-field",colorFieldScope:"scope--color-field",colorMode:"color-mode",colorModeContainer:"color-mode-container",container:"container",control:"control",controlAndScope:"control-and-scope",controlSection:"control-section",deleteColor:"delete-color",header:"header",hexAndChannelsGroup:"hex-and-channels-group",hexOptions:"color-hex-options",hueScope:"scope--hue",hueSlider:"hue-slider",opacityScope:"scope--opacity",opacitySlider:"opacity-slider",preview:"preview",previewAndSliders:"preview-and-sliders",saveColor:"save-color",savedColor:"saved-color",savedColors:"saved-colors",savedColorsButtons:"saved-colors-buttons",savedColorsSection:"saved-colors-section",scope:"scope",section:"section",slider:"slider",sliders:"sliders",splitSection:"section--split"},$e=ve("#007AC2"),Fe="calcite-color-",Oe={r:255,g:255,b:255},we={h:360,s:100,v:100},Le=we.h-1,Ee={min:0,max:100},Se={s:{slider:{height:12,width:142},colorField:{height:110,width:198},thumb:{radius:7},preview:{size:20}},m:{slider:{height:12,width:170},colorField:{height:132,width:238},thumb:{radius:7},preview:{size:24}},l:{slider:{height:12,width:222},colorField:{height:168,width:302},thumb:{radius:7},preview:{size:32}}},ze=1,Be=/^[0-9A-F]$/i,ke=/^#[0-9A-F]{3}$/i,Me=/^#[0-9A-F]{6}$/i,xe=/^#[0-9A-F]{4}$/i,Ae=/^#[0-9A-F]{8}$/i,Ge=e=>Number((e*100).toFixed()),Re=e=>Number((e/100).toFixed(2));function J(e,r=!1){return B(e,r)||He(e,r)}function K(e,r,n){return e?e.length===r&&n.test(e):!1}function B(e,r=!1){return K(e,r?5:4,r?xe:ke)}function He(e,r=!1){return K(e,r?9:7,r?Ae:Me)}function _e(e,r=!1,n=!1){if(e=e.toLowerCase(),e.startsWith("#")||(e=`#${e}`),B(e,r))return _(I(e,r));if(r&&n&&J(e,!1)){let t=B(e,!1);return _(I(`${e}${t?"f":"ff"}`,!0))}return e}function Ie(e,r=!1){return r?e.hexa():e.hex()}function _(e){let{r,g:n,b:t}=e,o=$(r),a=$(n),s=$(t),l="a"in e?$(e.a*255):"";return`#${o}${a}${s}${l}`.toLowerCase()}function $(e){return e.toString(16).padStart(2,"0")}function qe(e){let r={...e,a:e.alpha??1};return delete r.alpha,r}function Ne(e){let r={...e,alpha:e.a??1};return delete r.a,r}function I(e,r=!1){if(!J(e,r))return null;e=e.replace("#","");let n,t,o,a;if(e.length===3||e.length===4){let[s,l,i,h]=e.split("");n=parseInt(`${s}${s}`,16),t=parseInt(`${l}${l}`,16),o=parseInt(`${i}${i}`,16),a=parseInt(`${h}${h}`,16)/255}else n=parseInt(e.slice(0,2),16),t=parseInt(e.slice(2,4),16),o=parseInt(e.slice(4,6),16),a=parseInt(e.slice(6,8),16)/255;return isNaN(a)?{r:n,g:t,b:o}:{r:n,g:t,b:o,a}}var T=e=>e,g=T({HEX:"hex",HEXA:"hexa",RGB_CSS:"rgb-css",RGBA_CSS:"rgba-css",HSL_CSS:"hsl-css",HSLA_CSS:"hsla-css"}),d=T({RGB:"rgb",RGBA:"rgba",HSL:"hsl",HSLA:"hsla",HSV:"hsv",HSVA:"hsva"});function Xe(e){if(typeof e=="string"){if(e.startsWith("#")){let{length:r}=e;if(r===4||r===7)return g.HEX;if(r===5||r===9)return g.HEXA}if(e.startsWith("rgba("))return g.RGBA_CSS;if(e.startsWith("rgb("))return g.RGB_CSS;if(e.startsWith("hsl("))return g.HSL_CSS;if(e.startsWith("hsla("))return g.HSLA_CSS}if(typeof e=="object"){if(S(e,"r","g","b"))return S(e,"a")?d.RGBA:d.RGB;if(S(e,"h","s","l"))return S(e,"a")?d.HSLA:d.HSL;if(S(e,"h","s","v"))return S(e,"a")?d.HSVA:d.HSV}return null}function S(e,...r){return r.every(n=>n&&e&&`${n}`in e)}function Pe(e,r){return e?.rgb().array().toString()===r?.rgb().array().toString()}function Ve(e){return e===g.HEXA||e===g.RGBA_CSS||e===g.HSLA_CSS||e===d.RGBA||e===d.HSLA||e===d.HSVA}function Ue(e){return e===g.HEX?g.HEXA:e===g.RGB_CSS?g.RGBA_CSS:e===g.HSL_CSS?g.HSLA_CSS:e===d.RGB?d.RGBA:e===d.HSL?d.HSLA:e===d.HSV?d.HSVA:e}function We(e){return e===g.HEXA?g.HEX:e===g.RGBA_CSS?g.RGB_CSS:e===g.HSLA_CSS?g.HSL_CSS:e===d.RGBA?d.RGB:e===d.HSLA?d.HSL:e===d.HSVA?d.HSV:e}function De(e,r){let{slider:{width:n},preview:t}=e;if(r)return n;let o=Se.l.preview.size-t.size;return n+o}export{ve as a,je as b,$e as c,Fe as d,Oe as e,we as f,Le as g,Ee as h,Se as i,ze as j,Be as k,Ge as l,Re as m,J as n,B as o,He as p,_e as q,Ie as r,_ as s,qe as t,Ne as u,I as v,g as w,Xe as x,Pe as y,Ve as z,Ue as A,We as B,De as C};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{i as r,l as s,m as i,q as o}from"./RUCJ2YIC.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
6
+ import{i as r,l as s,m as i,q as o}from"./2B222AGN.js";var c=s(class extends i{constructor(){super(...arguments),this.key=r}render(t,e){return this.key=t,e}update(t,[e,a]){return e!==this.key&&(o(t),this.key=e),a}});export{c as a};
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * All material copyright ESRI, All Rights Reserved, unless otherwise specified.
3
3
  * See https://github.com/Esri/calcite-design-system/blob/dev/LICENSE.md for details.
4
- * v3.0.0-next.82
4
+ * v3.0.0-next.84
5
5
  */
6
- import{J as r,c as o}from"./RUCJ2YIC.js";var s=o(r);export{s as a};
6
+ import{J as r,c as o}from"./2B222AGN.js";var s=o(r);export{s as a};