@arcgis/map-components 5.2.0-next.110 → 5.2.0-next.111

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 (707) hide show
  1. package/dist/cdn/{V4LYKRHX.js → 22TB66OC.js} +2 -2
  2. package/dist/cdn/{SMFVYWST.js → 25ELW5DP.js} +2 -2
  3. package/dist/cdn/{J4FI675H.js → 26OEUDIF.js} +2 -2
  4. package/dist/cdn/{H66RBIBR.js → 26WVOAIW.js} +2 -2
  5. package/dist/cdn/{L7QRRMGT.js → 27IFADBQ.js} +2 -2
  6. package/dist/cdn/{KYH6PAOO.js → 2D6JTL4E.js} +2 -2
  7. package/dist/cdn/{QRA5SO4Y.js → 2YXG2UVO.js} +2 -2
  8. package/dist/cdn/{4QLCH54V.js → 336MK3L4.js} +2 -2
  9. package/dist/cdn/{WMMO4HZL.js → 3477AJGP.js} +2 -2
  10. package/dist/cdn/{AXDXX5K6.js → 367Z3TKY.js} +2 -2
  11. package/dist/cdn/{YZ3EEMKQ.js → 3IQBOCXJ.js} +2 -2
  12. package/dist/cdn/{5J2DJRO2.js → 3Q5ZNKFA.js} +2 -2
  13. package/dist/cdn/{V5SKEBVP.js → 3TTIKHXP.js} +2 -2
  14. package/dist/cdn/{5UCDPHHJ.js → 3WTBTYMS.js} +1 -1
  15. package/dist/cdn/{P3ETMB3K.js → 44ELZBSR.js} +2 -2
  16. package/dist/cdn/{PDR3X32P.js → 454H3MLO.js} +2 -2
  17. package/dist/cdn/{OJOU3DLS.js → 46RONL5G.js} +2 -2
  18. package/dist/cdn/{64A7DEAH.js → 4ETC2MMZ.js} +2 -2
  19. package/dist/cdn/{VFM4G4QD.js → 4LJO7QFG.js} +2 -2
  20. package/dist/cdn/{OE44JHDC.js → 4MJJOPAL.js} +1 -1
  21. package/dist/cdn/{L6CP7445.js → 4MSBOUHQ.js} +2 -2
  22. package/dist/cdn/{LQU2J7A6.js → 4P2WLM6E.js} +2 -2
  23. package/dist/cdn/{KKQ3ACC5.js → 4QGIFHEA.js} +2 -2
  24. package/dist/cdn/{5A3LVD4P.js → 4RGFCQOB.js} +1 -1
  25. package/dist/cdn/{CYLGGQOU.js → 4SOK3D4T.js} +2 -2
  26. package/dist/cdn/{G2EC47IN.js → 4TMO432K.js} +2 -2
  27. package/dist/cdn/{CBUMGTZM.js → 4TXSVEFQ.js} +2 -2
  28. package/dist/cdn/{EDSBUG3P.js → 4U3UYYQ5.js} +2 -2
  29. package/dist/cdn/{QE3GCUUF.js → 52FPKUAS.js} +2 -2
  30. package/dist/cdn/{I4G2JFOM.js → 54HCOOFG.js} +2 -2
  31. package/dist/cdn/{D7JTITKB.js → 54M2I4JP.js} +2 -2
  32. package/dist/cdn/54NZLYOR.js +2 -0
  33. package/dist/cdn/{Z5662OCH.js → 54ST7ZFM.js} +2 -2
  34. package/dist/cdn/{GNSW6P7K.js → 564IIZBI.js} +2 -2
  35. package/dist/cdn/{QJ2RBJVE.js → 57GMYMVT.js} +2 -2
  36. package/dist/cdn/{KFR2GYVV.js → 5ASN6KWI.js} +2 -2
  37. package/dist/cdn/{TY7SR7RT.js → 5CKRSEWZ.js} +2 -2
  38. package/dist/cdn/{7R6NJB4S.js → 5D7JP2MD.js} +2 -2
  39. package/dist/cdn/{PGFYIHWY.js → 5H4I5K6T.js} +2 -2
  40. package/dist/cdn/{DOOJ4KZC.js → 5IWPAMQX.js} +2 -2
  41. package/dist/cdn/{4YPVOOZR.js → 5L5UYV3H.js} +1 -1
  42. package/dist/cdn/{D7UGWYJ7.js → 5MMZAQYH.js} +2 -2
  43. package/dist/cdn/{EDTFC52Z.js → 5TX463UL.js} +2 -2
  44. package/dist/cdn/5UVZPECS.js +2 -0
  45. package/dist/cdn/{ZDLE6XVT.js → 5VFOV7OL.js} +2 -2
  46. package/dist/cdn/{YTJGD2W3.js → 5YUG57HI.js} +2 -2
  47. package/dist/cdn/{B2IAVMYR.js → 6A365EUI.js} +2 -2
  48. package/dist/cdn/{EP4XYNN7.js → 6AXSN2JJ.js} +2 -2
  49. package/dist/cdn/{REMBI4YT.js → 6CXH46LW.js} +2 -2
  50. package/dist/cdn/{VAUTZPJM.js → 6ERK6Z6K.js} +2 -2
  51. package/dist/cdn/{LATAWKE3.js → 6F3A7GUW.js} +2 -2
  52. package/dist/cdn/{57WFUSGF.js → 6FNDBTL7.js} +2 -2
  53. package/dist/cdn/{BLHNQPFT.js → 6G2T2G3Q.js} +2 -2
  54. package/dist/cdn/{37WTHXKN.js → 6J2RC2ZI.js} +2 -2
  55. package/dist/cdn/{XVKP7S37.js → 6KYWLAYH.js} +2 -2
  56. package/dist/cdn/{7FPLBSNW.js → 6LUL555P.js} +2 -2
  57. package/dist/cdn/{SUMWYYWD.js → 6NRNLMJK.js} +2 -2
  58. package/dist/cdn/{AKBDQKSI.js → 6O55JEOW.js} +2 -2
  59. package/dist/cdn/{W36KFT44.js → 6P7CWH4S.js} +2 -2
  60. package/dist/cdn/{LQVRN5GK.js → 6S3ODLME.js} +2 -2
  61. package/dist/cdn/{RJ2BEJIZ.js → 6T2UQ2JE.js} +2 -2
  62. package/dist/cdn/{3EWJ3VWQ.js → 6T5SVWDF.js} +2 -2
  63. package/dist/cdn/{SW35H74D.js → 6YNNDY3K.js} +2 -2
  64. package/dist/cdn/{ICWUIDDR.js → 77NK4UBY.js} +2 -2
  65. package/dist/cdn/{HVWUNAHD.js → 7BTU3W4U.js} +2 -2
  66. package/dist/cdn/{BNG6O7PJ.js → 7DI2ZSB3.js} +1 -1
  67. package/dist/cdn/{OAQLYTXL.js → 7EKSEHUY.js} +2 -2
  68. package/dist/cdn/{ZRPYF6IU.js → 7HZIEA5X.js} +2 -2
  69. package/dist/cdn/{EY4TJMGT.js → 7LR4MDUB.js} +2 -2
  70. package/dist/cdn/{MBJVKKHZ.js → 7N4V2IN6.js} +1 -1
  71. package/dist/cdn/{53IRBPTL.js → 7TKEMQVG.js} +2 -2
  72. package/dist/cdn/{MWJWKG2I.js → A3DPBGUE.js} +2 -2
  73. package/dist/cdn/{OOB3UCSG.js → A5VS6EJR.js} +2 -2
  74. package/dist/cdn/{XYQZYGWJ.js → ADSOI3MN.js} +2 -2
  75. package/dist/cdn/{E7XCBQHK.js → AEGRRGUN.js} +2 -2
  76. package/dist/cdn/{AF2YSVIQ.js → AH7T5E6X.js} +2 -2
  77. package/dist/cdn/{LVHDT4DO.js → AJBOKAK6.js} +2 -2
  78. package/dist/cdn/{RPBPC667.js → AOBYM5ZK.js} +2 -2
  79. package/dist/cdn/{DN6BWCPL.js → ARFMGLVC.js} +2 -2
  80. package/dist/cdn/{XJDZM35T.js → ATBK5KMZ.js} +2 -2
  81. package/dist/cdn/{4DHQTKGK.js → AUTF57U5.js} +2 -2
  82. package/dist/cdn/{RF4WDU6M.js → AWT5DF4F.js} +2 -2
  83. package/dist/cdn/{V5EF7QMF.js → AXEVIUBZ.js} +2 -2
  84. package/dist/cdn/{C3HQBKB7.js → AZ6IOGGT.js} +2 -2
  85. package/dist/cdn/{XYQPGCHX.js → B4DLIKAN.js} +2 -2
  86. package/dist/cdn/{ZCAKKXF4.js → B4JHLZUL.js} +2 -2
  87. package/dist/cdn/{MHRMU4DC.js → B4KOVXN3.js} +2 -2
  88. package/dist/cdn/{FVVN2IRD.js → BAI3SYHE.js} +2 -2
  89. package/dist/cdn/{KSMKKJXJ.js → BCD5SUFK.js} +2 -2
  90. package/dist/cdn/{ECBSOPGD.js → BCGLGOZZ.js} +2 -2
  91. package/dist/cdn/{IFD5SJHS.js → BFLBF7PA.js} +3 -3
  92. package/dist/cdn/{P7QPCE36.js → BIU6VS3K.js} +1 -1
  93. package/dist/cdn/{KJJZRW6J.js → BJL2DTRG.js} +2 -2
  94. package/dist/cdn/{FRGDKC3E.js → BN7OHAZB.js} +2 -2
  95. package/dist/cdn/{KIRGDRFT.js → BOPKJR3D.js} +2 -2
  96. package/dist/cdn/{HWH7Q6FB.js → BRWY53GW.js} +2 -2
  97. package/dist/cdn/{2KZ54377.js → BTDEIRWG.js} +2 -2
  98. package/dist/cdn/{EN2GJ3CQ.js → BV3Q2Y7F.js} +2 -2
  99. package/dist/cdn/{GUKBUKX3.js → BVVR27JR.js} +2 -2
  100. package/dist/cdn/{HO5QMOYM.js → C23PR4ZX.js} +2 -2
  101. package/dist/cdn/{NGK3WT5D.js → C2PS2HSE.js} +2 -2
  102. package/dist/cdn/{5UUZ36KO.js → C66EUSNM.js} +2 -2
  103. package/dist/cdn/{LQEUZRIS.js → CEQXB7WX.js} +2 -2
  104. package/dist/cdn/{DXFE2GZ4.js → CEUIFOR6.js} +1 -1
  105. package/dist/cdn/{EGDL3WNU.js → CEW4IP7H.js} +2 -2
  106. package/dist/cdn/{VTXG5AKD.js → CIPZN7LE.js} +2 -2
  107. package/dist/cdn/{Q3X36PGB.js → CIVENBYG.js} +1 -1
  108. package/dist/cdn/{Z4GIERIV.js → CJLML2XS.js} +2 -2
  109. package/dist/cdn/{MIAIIQGU.js → CX3ID4GM.js} +2 -2
  110. package/dist/cdn/{I7ENSEQQ.js → D7AYX2M2.js} +2 -2
  111. package/dist/cdn/{QPXPOX5V.js → DATBQXOK.js} +2 -2
  112. package/dist/cdn/DBA7NSTP.js +2 -0
  113. package/dist/cdn/{TZCGZMQF.js → DBLLBQTY.js} +2 -2
  114. package/dist/cdn/{HH3GLPQE.js → DCCWOMAC.js} +2 -2
  115. package/dist/cdn/{5SU2WJLV.js → DFKHGL3E.js} +2 -2
  116. package/dist/cdn/{UU6NZBJ5.js → DJTW52JH.js} +1 -1
  117. package/dist/cdn/{A76ATXEQ.js → DSROAKFP.js} +2 -2
  118. package/dist/cdn/{WNKDZ6CS.js → E3ILZB5S.js} +2 -2
  119. package/dist/cdn/{HBSGE2KS.js → E5TRFG7X.js} +2 -2
  120. package/dist/cdn/EAQV7AZQ.js +2 -0
  121. package/dist/cdn/{NQM3V5OD.js → EFOY5CY5.js} +2 -2
  122. package/dist/cdn/{4RBCI33X.js → EHCISJXP.js} +2 -2
  123. package/dist/cdn/{FR4LZGHG.js → ENC6727H.js} +2 -2
  124. package/dist/cdn/{UNP6V754.js → ETXQKL6T.js} +2 -2
  125. package/dist/cdn/{5N6T6F3O.js → EVXKGM66.js} +2 -2
  126. package/dist/cdn/{WE2GCN2O.js → EXIPQBCY.js} +2 -2
  127. package/dist/cdn/{APO4UXMF.js → F5G3VJU7.js} +2 -2
  128. package/dist/cdn/{CQYXOG3R.js → F5GIAKDV.js} +2 -2
  129. package/dist/cdn/{3D32DVXO.js → FCNNRX3Q.js} +1 -1
  130. package/dist/cdn/{SDSC2VEY.js → FCVLHRLJ.js} +2 -2
  131. package/dist/cdn/{KU37AO7J.js → FECA7CTQ.js} +2 -2
  132. package/dist/cdn/{US6OTQQW.js → FJT32TIN.js} +2 -2
  133. package/dist/cdn/FON3CKWF.js +2 -0
  134. package/dist/cdn/{LYED6MDH.js → G5VPRDMX.js} +1 -1
  135. package/dist/cdn/{QZEOZYWP.js → G743AW46.js} +2 -2
  136. package/dist/cdn/{MHBU2W7T.js → GG7KEBIO.js} +2 -2
  137. package/dist/cdn/{YNTFRY73.js → GU3M4JMW.js} +1 -1
  138. package/dist/cdn/{BQAMCCUR.js → GVALHSMR.js} +2 -2
  139. package/dist/cdn/{MBWYYKMF.js → H6I3JKBD.js} +2 -2
  140. package/dist/cdn/{DUIJO5RQ.js → H6RQVSYM.js} +1 -1
  141. package/dist/cdn/{TWSIDKAY.js → H7KG55LR.js} +2 -2
  142. package/dist/cdn/{M23VRNVD.js → HB7XTMBR.js} +2 -2
  143. package/dist/cdn/{UEAS2CHC.js → HMK6VULW.js} +2 -2
  144. package/dist/cdn/{KNX5HZGN.js → HPISDMLX.js} +2 -2
  145. package/dist/cdn/{5M3X2JDH.js → HUPYGWUJ.js} +2 -2
  146. package/dist/cdn/{J4LLVNZI.js → HVHQMAZ4.js} +2 -2
  147. package/dist/cdn/{VSQ6XF6J.js → HXNLIDLQ.js} +2 -2
  148. package/dist/cdn/{MUFZWCGR.js → HYRFW7KG.js} +2 -2
  149. package/dist/cdn/{6LDR6PAF.js → I4D3VLLY.js} +2 -2
  150. package/dist/cdn/{DRT6YF2C.js → I4KA3CNC.js} +2 -2
  151. package/dist/cdn/{KYTRFWGZ.js → IBNFHSSF.js} +2 -2
  152. package/dist/cdn/{TUAAVPLO.js → IDKRMHDS.js} +1 -1
  153. package/dist/cdn/{6I4BYACE.js → IE7XJM27.js} +2 -2
  154. package/dist/cdn/{JLYZMRH3.js → IFJS7BSY.js} +2 -2
  155. package/dist/cdn/IHJ6ACP2.js +2 -0
  156. package/dist/cdn/{FNNUL4J5.js → IJWUCK2O.js} +2 -2
  157. package/dist/cdn/{KQEOXXIJ.js → ITQE4OCT.js} +2 -2
  158. package/dist/cdn/{ZRQN6ULW.js → IVLA67I4.js} +2 -2
  159. package/dist/cdn/{GBUSRXLN.js → IZ46HAUJ.js} +1 -1
  160. package/dist/cdn/{4HQU43ZT.js → J3KQKQSU.js} +2 -2
  161. package/dist/cdn/J7ZMGZ6U.js +2 -0
  162. package/dist/cdn/{XJDACZMI.js → JB5333UG.js} +2 -2
  163. package/dist/cdn/{EN5VHOWB.js → JBJNQGGE.js} +2 -2
  164. package/dist/cdn/{G54WYOWK.js → JCRPP54Z.js} +1 -1
  165. package/dist/cdn/{X3ZN3AMW.js → JD74LG7K.js} +1 -1
  166. package/dist/cdn/{CZ5UJMHM.js → JFVNGZNJ.js} +2 -2
  167. package/dist/cdn/{TPWONZOT.js → JGSPD7XA.js} +2 -2
  168. package/dist/cdn/{KR7K2J2H.js → JKB6V2RD.js} +2 -2
  169. package/dist/cdn/{ZF7Q6JNG.js → JMYDF3AT.js} +2 -2
  170. package/dist/cdn/{4OUXORZF.js → JOUNNARF.js} +2 -2
  171. package/dist/cdn/{JIUQ2MYX.js → JVC76RB3.js} +2 -2
  172. package/dist/cdn/{WAF5I4GK.js → K2MQIU34.js} +2 -2
  173. package/dist/cdn/{6S6IV76L.js → K3DQPSQI.js} +2 -2
  174. package/dist/cdn/{YT7FHHUP.js → K3HJCSMO.js} +2 -2
  175. package/dist/cdn/{XPCTOHUR.js → KDM7EERW.js} +2 -2
  176. package/dist/cdn/{WFZHXRJS.js → KFL7RYUP.js} +2 -2
  177. package/dist/cdn/{GHYY7IC3.js → KGJLTL75.js} +2 -2
  178. package/dist/cdn/{HAW4K5EZ.js → KMV445BK.js} +2 -2
  179. package/dist/cdn/{ONLQP6HM.js → KPDHXWSC.js} +2 -2
  180. package/dist/cdn/{ZLLQUINC.js → KR4EB5AC.js} +2 -2
  181. package/dist/cdn/{XGKEMO2Z.js → KXGRFYAN.js} +2 -2
  182. package/dist/cdn/{Q5GH3AS2.js → L3YJAQBN.js} +2 -2
  183. package/dist/cdn/{AUETQR5T.js → LCG5BEEY.js} +2 -2
  184. package/dist/cdn/{QQBPYVK7.js → LEWWYNW5.js} +2 -2
  185. package/dist/cdn/{NOUENLHY.js → LHW3ZEOB.js} +2 -2
  186. package/dist/cdn/{GLGQV2VJ.js → LOMGP565.js} +2 -2
  187. package/dist/cdn/{GJ4GPLO5.js → LW6SRLBI.js} +2 -2
  188. package/dist/cdn/{R67SG7JY.js → M4BXOW2Q.js} +2 -2
  189. package/dist/cdn/{GGDYKOE6.js → M4IP3YJG.js} +2 -2
  190. package/dist/cdn/{FGXOZY5V.js → M6LV7VM5.js} +2 -2
  191. package/dist/cdn/{2SU665WO.js → M7KQOIH2.js} +2 -2
  192. package/dist/cdn/{7FXJH3PV.js → MDTNPISF.js} +1 -1
  193. package/dist/cdn/{CFM6Q6QR.js → MH324PA6.js} +2 -2
  194. package/dist/cdn/{Z45KTQXG.js → MPHO6N5K.js} +2 -2
  195. package/dist/cdn/{Q4VYTMFM.js → MSQKXANF.js} +2 -2
  196. package/dist/cdn/{L3ETMNA2.js → MZWO5JYA.js} +1 -1
  197. package/dist/cdn/{QDAGCFYS.js → N2RLGXGJ.js} +2 -2
  198. package/dist/cdn/{63JBTP6W.js → NAEALB6J.js} +2 -2
  199. package/dist/cdn/{N4BV7HE2.js → NFLVE6GY.js} +2 -2
  200. package/dist/cdn/{A3RZLV73.js → NFLYLXEE.js} +2 -2
  201. package/dist/cdn/{PY2P7UXG.js → NG4IEHMS.js} +2 -2
  202. package/dist/cdn/{3756VDQU.js → NIGSZZQA.js} +2 -2
  203. package/dist/cdn/{NDYPQNRE.js → NPIJLONQ.js} +2 -2
  204. package/dist/cdn/{GGZEHDWG.js → NXYIGLH3.js} +2 -2
  205. package/dist/cdn/{HWEEU45Z.js → O5WV2YAQ.js} +2 -2
  206. package/dist/cdn/{DSAJ2RIZ.js → O7RSAJOS.js} +1 -1
  207. package/dist/cdn/{KOR47IXI.js → OD3BO6AL.js} +2 -2
  208. package/dist/cdn/{XPL3W54C.js → ONZ7UTQO.js} +2 -2
  209. package/dist/cdn/{ME7XKLYF.js → OTQZC2PT.js} +2 -2
  210. package/dist/cdn/{VYVOEI5X.js → OVXR64PW.js} +2 -2
  211. package/dist/cdn/{T3PYCVD2.js → OZ55Z6OE.js} +2 -2
  212. package/dist/cdn/{3P32KF3U.js → P2JBFLSB.js} +2 -2
  213. package/dist/cdn/{3DPNMGSO.js → P3ZJGUIA.js} +2 -2
  214. package/dist/cdn/{7VWLW24H.js → P63WHRTI.js} +2 -2
  215. package/dist/cdn/{4A6PD3J7.js → P7DYWBMK.js} +2 -2
  216. package/dist/cdn/{46V55DCJ.js → PAZBKL7R.js} +2 -2
  217. package/dist/cdn/{TMGT427N.js → PBIEHFTW.js} +2 -2
  218. package/dist/cdn/{HWP64DDT.js → PCRSL2XJ.js} +2 -2
  219. package/dist/cdn/{4MWM4YEV.js → PEXZHNPA.js} +2 -2
  220. package/dist/cdn/{WTAK75A7.js → PFP7KVAD.js} +2 -2
  221. package/dist/cdn/{JCDJCRWD.js → POKO37D3.js} +1 -1
  222. package/dist/cdn/{EPZMUWR4.js → POZ7OKIJ.js} +1 -1
  223. package/dist/cdn/{IICP6TEK.js → PTKUNH6D.js} +2 -2
  224. package/dist/cdn/{ZSU7OXFW.js → Q446NT7X.js} +2 -2
  225. package/dist/cdn/{MYK3RY5B.js → QCZLDGXP.js} +2 -2
  226. package/dist/cdn/{BOZVF5EL.js → QGJBQDLI.js} +2 -2
  227. package/dist/cdn/{GV2MGKQN.js → QMJTMBWB.js} +2 -2
  228. package/dist/cdn/QUZTFUWM.js +1 -0
  229. package/dist/cdn/{5NUVRUVJ.js → QVAISNQE.js} +2 -2
  230. package/dist/cdn/{VF76D5JD.js → QY2MHZO6.js} +2 -2
  231. package/dist/cdn/R4XZ3N7G.js +2 -0
  232. package/dist/cdn/{KPFBVAKN.js → R54BWOJL.js} +2 -2
  233. package/dist/cdn/{F67HSLMH.js → RBQLAUGL.js} +2 -2
  234. package/dist/cdn/{4QORNXMT.js → RC7BSNQ3.js} +2 -2
  235. package/dist/cdn/REOCH4MZ.js +2 -0
  236. package/dist/cdn/{ONHUE4I7.js → REUYYFCX.js} +2 -2
  237. package/dist/cdn/{3XGFNFJZ.js → RIVFCEGS.js} +2 -2
  238. package/dist/cdn/{T3FLTZPV.js → RM4OPQBM.js} +1 -1
  239. package/dist/cdn/{7H3DB74N.js → RXM62PW2.js} +2 -2
  240. package/dist/cdn/{UFLNPLKG.js → SB3WKE5H.js} +2 -2
  241. package/dist/cdn/{ZVWU3FCO.js → SKNX46RX.js} +2 -2
  242. package/dist/cdn/{WLE3NI2C.js → SLS6H5OI.js} +2 -2
  243. package/dist/cdn/SO3OASNI.js +2 -0
  244. package/dist/cdn/{U2YB2KXD.js → SOUZEOKR.js} +2 -2
  245. package/dist/cdn/{WWXOLNVA.js → SQQKMKRG.js} +2 -2
  246. package/dist/cdn/{DTUSCYK3.js → SSNWCNXP.js} +2 -2
  247. package/dist/cdn/{SUZSV5HG.js → SSWT6Y3N.js} +2 -2
  248. package/dist/cdn/{6ZEBMPDI.js → SWTIFZKP.js} +2 -2
  249. package/dist/cdn/{5AWFZVI2.js → SXAPY3VV.js} +2 -2
  250. package/dist/cdn/{4E5L3XOE.js → T46FMVXL.js} +2 -2
  251. package/dist/cdn/{CZP5TXWA.js → T6NUABZU.js} +2 -2
  252. package/dist/cdn/{3COXTA43.js → T7L5Q45E.js} +2 -2
  253. package/dist/cdn/{VCESUV4Y.js → T7WPIWCX.js} +2 -2
  254. package/dist/cdn/{Y2HHAELS.js → TDUAPWT6.js} +2 -2
  255. package/dist/cdn/{DWI64JPC.js → TJDYWZRT.js} +2 -2
  256. package/dist/cdn/{3LLSKZP3.js → TJVLRJS5.js} +2 -2
  257. package/dist/cdn/{66N2GD3G.js → TJVROK6B.js} +2 -2
  258. package/dist/cdn/{BUCUVOLP.js → TN5C3MSL.js} +1 -1
  259. package/dist/cdn/{Y7K7NLD2.js → TPPHNJZM.js} +2 -2
  260. package/dist/cdn/{XOSDQCIA.js → TROUKXL3.js} +2 -2
  261. package/dist/cdn/{DY5ZZZTY.js → TRVSOZ6E.js} +2 -2
  262. package/dist/cdn/{RFBTMGOA.js → TSBXS3ZU.js} +2 -2
  263. package/dist/cdn/{SR6HD7KJ.js → TUC2QO55.js} +2 -2
  264. package/dist/cdn/{RCVWQDCP.js → TVEUPC5T.js} +1 -1
  265. package/dist/cdn/{JEQERLV7.js → TVMNE62W.js} +2 -2
  266. package/dist/cdn/{JIUYWHMY.js → TZ23FBZ7.js} +2 -2
  267. package/dist/cdn/{AE7GZR3T.js → U2O4UBGQ.js} +2 -2
  268. package/dist/cdn/{MFPOH2KX.js → U4L3Z5QH.js} +2 -2
  269. package/dist/cdn/{PNMF55SN.js → UC26JN7I.js} +2 -2
  270. package/dist/cdn/{2RSBXTPW.js → UDUPHECB.js} +2 -2
  271. package/dist/cdn/{HQBOASUM.js → UKEFVOLB.js} +2 -2
  272. package/dist/cdn/{TUV2ZUII.js → UKFAXZIW.js} +2 -2
  273. package/dist/cdn/{44OU6U2B.js → UMHYCSDV.js} +2 -2
  274. package/dist/cdn/{KKPNC232.js → UMYF32YV.js} +2 -2
  275. package/dist/cdn/{GMH447GP.js → UOZG2EH7.js} +2 -2
  276. package/dist/cdn/{5YCZ6WCS.js → UUPYWQ7D.js} +2 -2
  277. package/dist/cdn/UXG2BAGY.js +2 -0
  278. package/dist/cdn/{DIOI3GAG.js → UXSGOUNZ.js} +2 -2
  279. package/dist/cdn/{IAZFRYC4.js → VC4YUXRW.js} +2 -2
  280. package/dist/cdn/{RP4OAPJP.js → VESS43VK.js} +2 -2
  281. package/dist/cdn/{NG242ROT.js → VHMDAMVX.js} +2 -2
  282. package/dist/cdn/{Q5TD3W4O.js → VJVKFKSG.js} +1 -1
  283. package/dist/cdn/{I34PJ3KY.js → W3NK36SU.js} +2 -2
  284. package/dist/cdn/{6UIH74UY.js → W452TPUB.js} +2 -2
  285. package/dist/cdn/W5LZWE6R.js +2 -0
  286. package/dist/cdn/{CZY4XQ6R.js → W6IFUQTQ.js} +2 -2
  287. package/dist/cdn/{ODWVHMJF.js → WELPWQGO.js} +2 -2
  288. package/dist/cdn/{ZD6U62UH.js → WFPR2VUW.js} +2 -2
  289. package/dist/cdn/{4NXHNK7Q.js → WIW3AOTK.js} +2 -2
  290. package/dist/cdn/{2DO76JGB.js → WJKXUGQQ.js} +2 -2
  291. package/dist/cdn/{HRWFFMAL.js → WMK7RLBA.js} +2 -2
  292. package/dist/cdn/{AL2WKZR5.js → WNJOIQDJ.js} +2 -2
  293. package/dist/cdn/{2UITSTVB.js → WNLMIARH.js} +2 -2
  294. package/dist/cdn/{KIFYA6MD.js → WQISNLF7.js} +1 -1
  295. package/dist/cdn/{TZ5R3V3C.js → WSKCCC7H.js} +2 -2
  296. package/dist/cdn/{A6BJAV52.js → WUHDP2W5.js} +2 -2
  297. package/dist/cdn/{E4NVOXNZ.js → XEK22IDA.js} +1 -1
  298. package/dist/cdn/{WNYBWOMJ.js → XFA3SAYB.js} +2 -2
  299. package/dist/cdn/{D5I4FT6B.js → XHPTQBX4.js} +2 -2
  300. package/dist/cdn/{WA53OYU5.js → XHVJIJON.js} +2 -2
  301. package/dist/cdn/{35MV5ARD.js → XKRMD24I.js} +2 -2
  302. package/dist/cdn/{K24A4HOF.js → XS3Z2WXL.js} +2 -2
  303. package/dist/cdn/{KIPBFR6J.js → XVRI7KL6.js} +2 -2
  304. package/dist/cdn/{46ZL65H3.js → XWROBCOJ.js} +2 -2
  305. package/dist/cdn/{7TV5T7QI.js → XWWXBWU2.js} +2 -2
  306. package/dist/cdn/{6UNFSSGW.js → XX5K2YYE.js} +2 -2
  307. package/dist/cdn/{BMFWQYDT.js → XZ2BN6X5.js} +2 -2
  308. package/dist/cdn/{2YBIOK75.js → Y6UJT3A4.js} +2 -2
  309. package/dist/cdn/{FAI6OGRG.js → Y7JWA34G.js} +2 -2
  310. package/dist/cdn/{KNRQ2F6D.js → YB3YZ6U5.js} +2 -2
  311. package/dist/cdn/{GTKAQ2TV.js → YBXUZO5Y.js} +2 -2
  312. package/dist/cdn/{HJ5M4ARG.js → YC6OF77P.js} +2 -2
  313. package/dist/cdn/{PXIDNTAZ.js → YFA64UQH.js} +2 -2
  314. package/dist/cdn/{LX23TNEM.js → YHNCQVNV.js} +2 -2
  315. package/dist/cdn/{JQ6KVXC5.js → YIAGW5MM.js} +2 -2
  316. package/dist/cdn/{6QMDEHMD.js → YOIVWFJK.js} +2 -2
  317. package/dist/cdn/{AWHZZLXZ.js → YQMGSWPQ.js} +2 -2
  318. package/dist/cdn/{L7DKVYKJ.js → YU5BTZEI.js} +1 -1
  319. package/dist/cdn/{3T4STZIV.js → YUCXRBNY.js} +2 -2
  320. package/dist/cdn/{ZADX4BRJ.js → Z3UPOVNZ.js} +2 -2
  321. package/dist/cdn/{WSTSRANF.js → ZAHLQBAK.js} +2 -2
  322. package/dist/cdn/{ZNQV6S3B.js → ZDGZMFCR.js} +2 -2
  323. package/dist/cdn/{RINU4G7C.js → ZGGQQPWY.js} +2 -2
  324. package/dist/cdn/{EZTFGVFO.js → ZJP2RY4T.js} +2 -2
  325. package/dist/cdn/{QT72URYJ.js → ZOZSYLAP.js} +2 -2
  326. package/dist/cdn/{XDOFECT4.js → ZTLILWC7.js} +2 -2
  327. package/dist/cdn/{CAUIUSB6.js → ZTRBY6QR.js} +2 -2
  328. package/dist/cdn/assets/exploratory-analysis/t9n/messages.en.json +1 -0
  329. package/dist/cdn/index.js +2 -2
  330. package/dist/cdn/main.css +1 -1
  331. package/dist/chunks/AnalysisViewModel.js +1 -1
  332. package/dist/chunks/GeolocationPositioning.js +1 -1
  333. package/dist/chunks/action-utils.js +1 -1
  334. package/dist/chunks/async-utils.js +1 -1
  335. package/dist/chunks/chart-utils.js +1 -1
  336. package/dist/chunks/chartCommon.js +1 -1
  337. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  338. package/dist/chunks/component-utils.js +1 -1
  339. package/dist/chunks/component-wrapper.js +1 -1
  340. package/dist/chunks/constants.js +1 -1
  341. package/dist/chunks/constants2.js +1 -1
  342. package/dist/chunks/css.js +1 -1
  343. package/dist/chunks/dateUtils.js +1 -1
  344. package/dist/chunks/earth-utils.js +1 -1
  345. package/dist/chunks/esri-main.js +1 -1
  346. package/dist/chunks/feature-utils.js +1 -1
  347. package/dist/chunks/globalCss.js +1 -1
  348. package/dist/chunks/goTo.js +1 -1
  349. package/dist/chunks/graphicsLayerController.js +1 -1
  350. package/dist/chunks/handle.js +1 -1
  351. package/dist/chunks/heading.js +1 -1
  352. package/dist/chunks/keyboard-utils.js +1 -1
  353. package/dist/chunks/layer-list-next.js +1 -1
  354. package/dist/chunks/layer-list-utils.js +1 -1
  355. package/dist/chunks/layer-utils.js +1 -1
  356. package/dist/chunks/layer-utils2.js +1 -1
  357. package/dist/chunks/legacyIcon.js +1 -1
  358. package/dist/chunks/maybe.js +1 -1
  359. package/dist/chunks/measurementUtils.js +1 -1
  360. package/dist/chunks/messages.en.js +1 -1
  361. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  362. package/dist/chunks/resources.js +1 -1
  363. package/dist/chunks/runtime.js +1 -1
  364. package/dist/chunks/screenLocation.js +1 -1
  365. package/dist/chunks/slots.js +2 -2
  366. package/dist/chunks/sr.js +1 -1
  367. package/dist/chunks/svgUtils.js +1 -1
  368. package/dist/chunks/time-utils.js +1 -1
  369. package/dist/chunks/titleUtils.js +1 -1
  370. package/dist/chunks/univariateUtils.js +1 -1
  371. package/dist/chunks/urlUtils.js +1 -1
  372. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  373. package/dist/chunks/useCloseEvent.js +1 -1
  374. package/dist/chunks/useLayerById.js +1 -1
  375. package/dist/chunks/useT9n.js +1 -1
  376. package/dist/chunks/useView.js +1 -1
  377. package/dist/chunks/useViewModel.js +1 -1
  378. package/dist/chunks/useWidget.js +1 -1
  379. package/dist/chunks/utils.js +1 -1
  380. package/dist/chunks/utils2.js +1 -1
  381. package/dist/chunks/utils3.js +1 -1
  382. package/dist/chunks/utils4.js +1 -1
  383. package/dist/chunks/utils5.js +1 -1
  384. package/dist/chunks/video-utils.js +1 -1
  385. package/dist/chunks/visible-element.js +1 -1
  386. package/dist/chunks/zoom.js +1 -1
  387. package/dist/components/arcgis-aggregated-features/customElement.js +1 -1
  388. package/dist/components/arcgis-area-measurement-2d/customElement.d.ts +1 -1
  389. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  390. package/dist/components/arcgis-area-measurement-3d/customElement.d.ts +1 -1
  391. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  392. package/dist/components/arcgis-attachments/customElement.d.ts +1 -1
  393. package/dist/components/arcgis-attachments/customElement.js +1 -1
  394. package/dist/components/arcgis-basemap-gallery/customElement.d.ts +2 -2
  395. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  396. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  397. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  398. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  399. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +1 -1
  400. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +1 -1
  401. package/dist/components/arcgis-basemap-toggle/customElement.d.ts +1 -1
  402. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  403. package/dist/components/arcgis-bookmarks/customElement.d.ts +2 -2
  404. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  405. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  406. package/dist/components/arcgis-building-explorer/customElement.d.ts +1 -1
  407. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  408. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  409. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  410. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  411. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  412. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  413. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +1 -1
  414. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +1 -1
  415. package/dist/components/arcgis-clipboard/customElement.d.ts +1 -1
  416. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  417. package/dist/components/arcgis-color-select/customElement.js +1 -1
  418. package/dist/components/arcgis-compass/customElement.d.ts +1 -1
  419. package/dist/components/arcgis-compass/customElement.js +1 -1
  420. package/dist/components/arcgis-coordinate-conversion/customElement.d.ts +1 -1
  421. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  422. package/dist/components/arcgis-coordinate-conversion-next/customElement.d.ts +1 -1
  423. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  424. package/dist/components/arcgis-daylight/customElement.d.ts +1 -1
  425. package/dist/components/arcgis-daylight/customElement.js +1 -1
  426. package/dist/components/arcgis-direct-line-measurement-3d/customElement.d.ts +1 -1
  427. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  428. package/dist/components/arcgis-directional-pad/customElement.d.ts +2 -2
  429. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  430. package/dist/components/arcgis-directions/customElement.d.ts +1 -1
  431. package/dist/components/arcgis-directions/customElement.js +1 -1
  432. package/dist/components/arcgis-distance-measurement-2d/customElement.d.ts +1 -1
  433. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  434. package/dist/components/arcgis-editor/customElement.d.ts +1 -3
  435. package/dist/components/arcgis-editor/customElement.js +1 -1
  436. package/dist/components/arcgis-elevation-profile/customElement.d.ts +1 -1
  437. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  438. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  439. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  440. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  441. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  442. package/dist/components/arcgis-expand/customElement.d.ts +1 -1
  443. package/dist/components/arcgis-expand/customElement.js +1 -1
  444. package/dist/components/arcgis-exploratory-analysis/customElement.d.ts +166 -0
  445. package/dist/components/arcgis-exploratory-analysis/customElement.js +124 -0
  446. package/dist/components/arcgis-exploratory-analysis/index.js +7 -0
  447. package/dist/components/arcgis-feature/customElement.d.ts +1 -1
  448. package/dist/components/arcgis-feature/customElement.js +1 -1
  449. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  450. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  451. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  452. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  453. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  454. package/dist/components/arcgis-feature-form/customElement.d.ts +2 -2
  455. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  459. package/dist/components/arcgis-feature-next/customElement.d.ts +1 -1
  460. package/dist/components/arcgis-feature-next/customElement.js +1 -1
  461. package/dist/components/arcgis-feature-relationship/customElement.js +1 -1
  462. package/dist/components/arcgis-feature-table/customElement.d.ts +2 -4
  463. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  464. package/dist/components/arcgis-feature-templates/customElement.d.ts +2 -2
  465. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  466. package/dist/components/arcgis-feature-templates-legacy/customElement.d.ts +1 -1
  467. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  468. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  469. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  470. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +1 -1
  471. package/dist/components/arcgis-features/customElement.d.ts +1 -1
  472. package/dist/components/arcgis-features/customElement.js +1 -1
  473. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  474. package/dist/components/arcgis-features-next/customElement.js +1 -1
  475. package/dist/components/arcgis-floor-filter/customElement.d.ts +1 -1
  476. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  477. package/dist/components/arcgis-fullscreen/customElement.d.ts +1 -1
  478. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  479. package/dist/components/arcgis-grid-controls/customElement.d.ts +1 -1
  480. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  481. package/dist/components/arcgis-histogram-range-slider/customElement.d.ts +1 -1
  482. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  483. package/dist/components/arcgis-home/customElement.d.ts +1 -1
  484. package/dist/components/arcgis-home/customElement.js +1 -1
  485. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  486. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  487. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  488. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  489. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  490. package/dist/components/arcgis-layer-list-next/customElement.d.ts +1 -1
  491. package/dist/components/arcgis-layer-list-next/customElement.js +1 -1
  492. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  493. package/dist/components/arcgis-legend/customElement.d.ts +1 -1
  494. package/dist/components/arcgis-legend/customElement.js +1 -1
  495. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  496. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  497. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  498. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  499. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  500. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  501. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  502. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  503. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  504. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  505. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  506. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  507. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  508. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  509. package/dist/components/arcgis-line-of-sight/customElement.d.ts +1 -1
  510. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  511. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  512. package/dist/components/arcgis-link-chart-layout-switcher/customElement.d.ts +1 -1
  513. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  514. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.d.ts +1 -1
  515. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  516. package/dist/components/arcgis-locate/customElement.d.ts +1 -1
  517. package/dist/components/arcgis-locate/customElement.js +1 -1
  518. package/dist/components/arcgis-map/customElement.js +1 -1
  519. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  520. package/dist/components/arcgis-multi-feature-form/customElement.d.ts +1 -1
  521. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  522. package/dist/components/arcgis-navigation-toggle/customElement.d.ts +1 -1
  523. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  524. package/dist/components/arcgis-oriented-imagery-viewer/customElement.d.ts +1 -1
  525. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  526. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  527. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  528. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.d.ts +1 -1
  529. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  530. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  531. package/dist/components/arcgis-paste/customElement.d.ts +1 -1
  532. package/dist/components/arcgis-paste/customElement.js +1 -1
  533. package/dist/components/arcgis-popup/customElement.d.ts +1 -1
  534. package/dist/components/arcgis-popup/customElement.js +1 -1
  535. package/dist/components/arcgis-presentation/customElement.d.ts +1 -1
  536. package/dist/components/arcgis-presentation/customElement.js +1 -1
  537. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  538. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  539. package/dist/components/arcgis-print/customElement.d.ts +1 -1
  540. package/dist/components/arcgis-print/customElement.js +1 -1
  541. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  542. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +1 -1
  543. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  544. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  545. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  546. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  547. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  548. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  549. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  550. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  551. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  552. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  553. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  554. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  555. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  556. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  557. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  558. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  559. package/dist/components/arcgis-scale-bar/customElement.d.ts +1 -1
  560. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  561. package/dist/components/arcgis-scale-range-slider/customElement.d.ts +2 -2
  562. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  563. package/dist/components/arcgis-scene/customElement.js +1 -1
  564. package/dist/components/arcgis-search/customElement.d.ts +2 -2
  565. package/dist/components/arcgis-search/customElement.js +1 -1
  566. package/dist/components/arcgis-search-result-renderer/customElement.d.ts +1 -1
  567. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  568. package/dist/components/arcgis-selection-list/customElement.d.ts +2 -2
  569. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  570. package/dist/components/arcgis-selection-toolbar/customElement.d.ts +142 -67
  571. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  572. package/dist/components/arcgis-shadow-cast/customElement.d.ts +1 -1
  573. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  574. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  575. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  576. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  577. package/dist/components/arcgis-sketch/customElement.d.ts +1 -1
  578. package/dist/components/arcgis-sketch/customElement.js +1 -1
  579. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  580. package/dist/components/arcgis-slice/customElement.d.ts +1 -1
  581. package/dist/components/arcgis-slice/customElement.js +1 -1
  582. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.d.ts +1 -1
  583. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  584. package/dist/components/arcgis-slider-classed-color-legacy/customElement.d.ts +1 -1
  585. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  586. package/dist/components/arcgis-slider-classed-size-legacy/customElement.d.ts +1 -1
  587. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  588. package/dist/components/arcgis-slider-color-legacy/customElement.d.ts +1 -1
  589. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  590. package/dist/components/arcgis-slider-color-size-legacy/customElement.d.ts +1 -1
  591. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  592. package/dist/components/arcgis-slider-heatmap-legacy/customElement.d.ts +1 -1
  593. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  594. package/dist/components/arcgis-slider-opacity-legacy/customElement.d.ts +1 -1
  595. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  596. package/dist/components/arcgis-slider-scale-range/customElement.d.ts +2 -2
  597. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  598. package/dist/components/arcgis-slider-size-legacy/customElement.d.ts +1 -1
  599. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  600. package/dist/components/arcgis-snapping-controls/customElement.d.ts +1 -1
  601. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  602. package/dist/components/arcgis-spinner/customElement.js +1 -1
  603. package/dist/components/arcgis-swipe/customElement.d.ts +2 -2
  604. package/dist/components/arcgis-swipe/customElement.js +1 -1
  605. package/dist/components/arcgis-table-list/customElement.d.ts +1 -1
  606. package/dist/components/arcgis-table-list/customElement.js +1 -1
  607. package/dist/components/arcgis-table-list-next/customElement.d.ts +1 -1
  608. package/dist/components/arcgis-table-list-next/customElement.js +1 -1
  609. package/dist/components/arcgis-template-image/customElement.js +1 -1
  610. package/dist/components/arcgis-time-bar/customElement.d.ts +2 -2
  611. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  612. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  613. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  614. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  615. package/dist/components/arcgis-time-bar-slider/customElement.js +1 -1
  616. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  617. package/dist/components/arcgis-time-slider/customElement.d.ts +2 -2
  618. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  619. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  620. package/dist/components/arcgis-time-zone-label/customElement.d.ts +2 -2
  621. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  622. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  623. package/dist/components/arcgis-track/customElement.d.ts +1 -1
  624. package/dist/components/arcgis-track/customElement.js +1 -1
  625. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  626. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  627. package/dist/components/arcgis-utility-network-aggregated-geometry/customElement.js +1 -1
  628. package/dist/components/arcgis-utility-network-aggregated-geometry-result-item/customElement.js +1 -1
  629. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  630. package/dist/components/arcgis-utility-network-associations/customElement.d.ts +1 -1
  631. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  632. package/dist/components/arcgis-utility-network-elements-result-item/customElement.js +1 -1
  633. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  634. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  635. package/dist/components/arcgis-utility-network-trace/customElement.d.ts +2 -2
  636. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  637. package/dist/components/arcgis-utility-network-trace-analysis/customElement.d.ts +1 -1
  638. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  639. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.d.ts +1 -1
  640. package/dist/components/arcgis-utility-network-trace-analysis-next/customElement.js +1 -1
  641. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  642. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  643. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  644. package/dist/components/arcgis-utility-network-trace-inputs-next/customElement.js +1 -1
  645. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  646. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  647. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  648. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  649. package/dist/components/arcgis-utility-network-trace-results-next/customElement.js +1 -1
  650. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.d.ts +2 -2
  651. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  652. package/dist/components/arcgis-utility-network-validate-topology/customElement.d.ts +1 -1
  653. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  654. package/dist/components/arcgis-value-picker-legacy/customElement.d.ts +1 -1
  655. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  656. package/dist/components/arcgis-version-management/customElement.d.ts +1 -1
  657. package/dist/components/arcgis-version-management/customElement.js +1 -1
  658. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  659. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  660. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  661. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  662. package/dist/components/arcgis-video/customElement.js +1 -1
  663. package/dist/components/arcgis-video-player/customElement.d.ts +1 -1
  664. package/dist/components/arcgis-video-player/customElement.js +1 -1
  665. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  666. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  667. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  668. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  669. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  670. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  671. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  672. package/dist/components/arcgis-volume-measurement/customElement.d.ts +1 -1
  673. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  674. package/dist/components/arcgis-weather/customElement.d.ts +1 -1
  675. package/dist/components/arcgis-weather/customElement.js +1 -1
  676. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  677. package/dist/components/arcgis-zoom/customElement.d.ts +1 -1
  678. package/dist/components/arcgis-zoom/customElement.js +1 -1
  679. package/dist/docs/api.json +1 -1
  680. package/dist/docs/docs.json +1 -1
  681. package/dist/docs/vscode.html-custom-data.json +1 -1
  682. package/dist/docs/web-types.json +1 -1
  683. package/dist/index.d.ts +10 -10
  684. package/dist/index.js +1 -1
  685. package/dist/loader.js +2 -2
  686. package/dist/types/lumina.d.ts +9 -8
  687. package/dist/types/preact.d.ts +10 -9
  688. package/dist/types/react.d.ts +11 -10
  689. package/dist/types/stencil.d.ts +9 -8
  690. package/package.json +5 -5
  691. package/dist/cdn/25Z2KWU5.js +0 -2
  692. package/dist/cdn/36OTNB5O.js +0 -2
  693. package/dist/cdn/5R6GEYRK.js +0 -2
  694. package/dist/cdn/6GCV73ZT.js +0 -2
  695. package/dist/cdn/DV6IEROR.js +0 -2
  696. package/dist/cdn/FNTOIL4D.js +0 -2
  697. package/dist/cdn/FWR73QLI.js +0 -1
  698. package/dist/cdn/OSQYK2LT.js +0 -2
  699. package/dist/cdn/Q6AMLLT2.js +0 -2
  700. package/dist/cdn/RBAD6ZAC.js +0 -2
  701. package/dist/cdn/S7KOCJ2V.js +0 -2
  702. package/dist/cdn/YMM6X7XV.js +0 -2
  703. package/dist/cdn/ZE74GPMH.js +0 -2
  704. package/dist/components/arcgis-measurement/customElement.d.ts +0 -212
  705. package/dist/components/arcgis-measurement/customElement.js +0 -32
  706. package/dist/components/arcgis-measurement/index.js +0 -1
  707. /package/dist/components/{arcgis-measurement → arcgis-exploratory-analysis}/index.d.ts +0 -0
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import{a as M}from"./TUAAVPLO.js";import{a as v}from"./YNTFRY73.js";import{a as k}from"./WLE3NI2C.js";import{a as w}from"./WNKDZ6CS.js";import{L as P,M as L,N as $,O as c,P as u,Q as h,T as y,a as b,b as l,w as x}from"./T3FLTZPV.js";import"./DUIJO5RQ.js";export default $arcgis.t(([{watch:B}])=>{var a=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,i),i);var H;function C(t){return(e,i)=>a(e,i,{get(){return(this.renderRoot??(H??=document.createDocumentFragment())).querySelectorAll(t)}})}var W=b`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`,j=Object.defineProperty,F=(t,e,i,n)=>{for(var r=void 0,o=t.length-1,s;o>=0;o--)(s=t[o])&&(r=s(e,i,r)||r);return r&&j(e,i,r),r},d=class extends ${constructor(){super(...arguments),this.hovering=!1,this.onPointerMove=e=>{if(!this.hovering)return!1;if(window.getSelection()?.removeAllRanges(),this.containerPosTop!=null){let i=this.containerPosTop,n=40,r=this.expandedLevelsMargin,o=this.levelsHeight,s=i+n+r,m=this.levelHeight/2;s+=m,o-=m;let f=(e.clientY-s)/o;f+=.035,this.normalizedPointerPosition=f}return!1},this.onPointerEnter=()=>{let e=this.levelsContainer.value;this.hovering||e==null||(this.hovering=!0,this.containerPosTop=e.getBoundingClientRect().top??0)},this.levelsContainer=P(),this.onPointerLeave=()=>{if(this.hovering){window.getSelection()?.removeAllRanges();for(let e of this.levelItems)e.width=void 0;this.normalizedPointerPosition=0,this.hoveredLevel=null,this.hovering=!1}},this.onPointerUp=()=>{window.getSelection()?.removeAllRanges();let e=this.level;this.hoveredLevel==null||e==null||this.#o()},this.expandedLevelsHeight=void 0,this.normalizedPointerPosition=0,this.hoveredLevel=null,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0})}static{this.properties={expandedLevelsHeight:16,normalizedPointerPosition:16,hoveredLevel:16,messages:0,level:0,numberOfLevels:32,levelHeight:32,levelsHeight:32}}static{this.styles=W}get levels(){return this.level?.allowedValues??[]}get levelWidth(){let{levelWidthNominator:e,levelWidthConstant:i}=M,n=e/Math.sqrt(this.numberOfLevels)+i;return Math.round(v(n,30,80))}get _gaussianFactor(){let e=this.numberOfLevels;return e/Math.log(30*e)*10}get expandedLevelsMargin(){return Math.round(((this.expandedLevelsHeight??0)-this.levelsHeight)/2)}get levelClosestToPointer(){if(!this.hovering)return null;let e=this.numberOfLevels-1,i=this.clampedNormalizedPointerPosition;return e>=0&&i!=null?this.levels[Math.round((1-i)*e)]:null}get clampedNormalizedPointerPosition(){return v(this.normalizedPointerPosition,0,1)}get numberOfLevels(){return this.levels.length}get levelHeight(){let e=14,i=e*2/Math.sqrt(this.numberOfLevels);return Math.round(v(i,2,e))}get levelsHeight(){return Math.round(this.levelHeight*this.numberOfLevels)}async loaded(){this.listen("keydown",this.#n.bind(this)),this.manager.onLifecycle(()=>[B(()=>[this.normalizedPointerPosition,this.hovering],()=>this.onPointerPositionChange(),{initial:!0})])}onPointerPositionChange(){let e=0;this.levelItems.forEach((n,r)=>{let{width:o,height:s}=this.getLevelWidgetSize(r);n.height=s,n.width=o,e+=s}),this.hoveredLevel=this.levelClosestToPointer;let i=this.expandedLevelsHeight;(i==null||Math.abs(i-e)>30)&&(this.expandedLevelsHeight=e)}getLevelWidgetSize(e){let i={width:this.levelWidth,height:this.levelHeight};if(this.hovering){let n=this.getGaussianFactor(e,this.clampedNormalizedPointerPosition);i.width+=20*n,i.height+=30*n}return i}getGaussianFactor(e,i){let n=this.numberOfLevels-1,r=(n-e)/n,o=this._gaussianFactor*(r-i);return Math.exp(-(o**2))}#n(e){switch(e.key){case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),this.#i(),this.#e();break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),this.#t(),this.#e();break}}#e(){Array.from(this.levelItems).find(e=>e.level===this.level?.value)?.focus()}#t(){this.level&&(this.level.next(),this.arcgisBuildingLevelChange.emit())}#i(){this.level&&(this.level.previous(),this.arcgisBuildingLevelChange.emit())}#o(){this.level==null||this.hoveredLevel==null||(this.level.value===this.hoveredLevel&&!this.level.disabled?this.#r():(this.level.select(this.hoveredLevel),this.arcgisBuildingLevelChange.emit()))}#r(){this.level&&!this.level.disabled&&(this.level.clear(),this.arcgisBuildingLevelChange.emit())}render(){if(!this.messages)return null;let e=this.level;e?.value;let i=e&&!e.disabled,n=this.numberOfLevels>1?k(this.levels,r=>r,r=>l`<arcgis-building-level-item .level=${r} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel===r} .active=${e&&!e.disabled&&e.value===r} class=${c({"animate-level":!this.hovering})} .messages=${this.messages}></arcgis-building-level-item>`):null;return l`<div class=${c({container:!0,"no-level":this.numberOfLevels<2,"animate-level":this.hovering})}>${T({messages:this.messages,active:i,hasNext:e?.hasNext,hasPrevious:e?.hasPrevious,onNext:()=>this.#t(),onPrevious:()=>this.#i(),children:U({messages:this.messages,level:this.hoveredLevel??e?.value,active:i,onClear:()=>this.#r()})})}${D({ref:this.levelsContainer,expandedLevelsMargin:this.expandedLevelsMargin,levelsHeight:this.levelsHeight,onPointerEnter:this.onPointerEnter,onPointerMove:this.onPointerMove,onPointerLeave:this.onPointerLeave,onPointerUp:this.onPointerUp,children:n})}</div>`}};F([C("arcgis-building-level-item")],d.prototype,"levelItems");function T(t){return l`<div class=${c({"label-container":!0,empty:!t.active,active:!0,hover:!0})} title=${t.messages.selectLevel??h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`}function U(t){let e=t.messages;return l`<div aria-label=${e.clearLevel??h} class=${c({"level-label":!0,active:t.active&&t.level!=null})} @click=${t.onClear} title=${e.clearLevel??h}>${t.active?l`<span>${t.level}</span>${w("clear-button",l`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}`:l`<span>${e.selectLevel}</span>`}</div>`}function D(t){let e=40,i=-e/2,n=t.levelsHeight,r=n+e*2;return l`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${u({height:`${r}px`,marginBlockStart:`${i}px`,marginBlockEnd:`${i}px`})} ${L(t.ref)}><div class="tiles-inner-container" style=${u({height:`${n}px`,margin:"0",marginBlockStart:`${20-t.expandedLevelsMargin}px`})}>${t.children}</div></div>`}y("arcgis-building-level-picker",d);return d},"core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as M}from"./IDKRMHDS.js";import{a as v}from"./GU3M4JMW.js";import{a as k}from"./SLS6H5OI.js";import{a as w}from"./E3ILZB5S.js";import{L as P,M as L,N as $,O as c,P as u,Q as h,T as y,a as b,b as l,w as x}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:B}])=>{var a=(t,e,i)=>(i.configurable=!0,i.enumerable=!0,Reflect.decorate&&typeof e!="object"&&Object.defineProperty(t,e,i),i);var H;function C(t){return(e,i)=>a(e,i,{get(){return(this.renderRoot??(H??=document.createDocumentFragment())).querySelectorAll(t)}})}var W=b`:host{transition:max-height .25s ease-in-out;--esri-widget-padding: 12px 15px;--level-picker-padding: var(--calcite-spacing-md);--level-label-color: var(--calcite-color-text-1);--level-label-color--empty: var(--calcite-color-text-2);--level-label-color--active: var(--calcite-color-brand);--level-border-width: 2px;--level-border-color: var(--calcite-color-border-2);--level-border-color--hover: var(--calcite-color-brand);--level-border-color--active: var(--calcite-color-brand);--level-background-color: rgb(from var(--calcite-color-foreground-1) r g b / 70%);--level-background-color--hover: rgb(from var(--calcite-color-foreground-1) r g b / 90%);--level-background-color--active: var(--calcite-color-brand);--focus-outline-width: 2px;--focus-outline-color: var(--calcite-color-brand);--focus-outline-offset: 2px}.container{height:max-content;display:flex;flex-direction:row;align-items:center;&.no-level{display:none}>*{height:max-content}}.clear-button{appearance:none;margin-inline-start:7px;display:none;position:absolute;inset-block-start:-4px}.label-container{--width: 90px;--height: 40px;flex-direction:column;justify-content:space-between;align-items:center;width:50%;margin-inline-end:var(--calcite-spacing-md);display:flex;&.active{color:var(--calcite-color-brand)}&.empty{cursor:default;color:var(--calcite-color-border-2);font-size:var(--calcite-font-size);font-weight:var(--calcite-font-weight-light)}&:focus{outline:none}&:focus-visible{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus)}}.level-label{position:relative;text-align:center;>span{pointer-events:none}&.active{font-size:var(--height);line-height:calc(var(--height) + 6px);>.clear-button{display:inline-block}}}.tiles-container{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;transform:rotate(180deg);cursor:pointer;padding:20px 0;width:50%}.tiles-inner-container{transition:margin .3s}`,j=Object.defineProperty,F=(t,e,i,n)=>{for(var r=void 0,o=t.length-1,s;o>=0;o--)(s=t[o])&&(r=s(e,i,r)||r);return r&&j(e,i,r),r},d=class extends ${constructor(){super(...arguments),this.hovering=!1,this.onPointerMove=e=>{if(!this.hovering)return!1;if(window.getSelection()?.removeAllRanges(),this.containerPosTop!=null){let i=this.containerPosTop,n=40,r=this.expandedLevelsMargin,o=this.levelsHeight,s=i+n+r,m=this.levelHeight/2;s+=m,o-=m;let f=(e.clientY-s)/o;f+=.035,this.normalizedPointerPosition=f}return!1},this.onPointerEnter=()=>{let e=this.levelsContainer.value;this.hovering||e==null||(this.hovering=!0,this.containerPosTop=e.getBoundingClientRect().top??0)},this.levelsContainer=P(),this.onPointerLeave=()=>{if(this.hovering){window.getSelection()?.removeAllRanges();for(let e of this.levelItems)e.width=void 0;this.normalizedPointerPosition=0,this.hoveredLevel=null,this.hovering=!1}},this.onPointerUp=()=>{window.getSelection()?.removeAllRanges();let e=this.level;this.hoveredLevel==null||e==null||this.#o()},this.expandedLevelsHeight=void 0,this.normalizedPointerPosition=0,this.hoveredLevel=null,this.arcgisBuildingLevelChange=x({bubbles:!0,composed:!0})}static{this.properties={expandedLevelsHeight:16,normalizedPointerPosition:16,hoveredLevel:16,messages:0,level:0,numberOfLevels:32,levelHeight:32,levelsHeight:32}}static{this.styles=W}get levels(){return this.level?.allowedValues??[]}get levelWidth(){let{levelWidthNominator:e,levelWidthConstant:i}=M,n=e/Math.sqrt(this.numberOfLevels)+i;return Math.round(v(n,30,80))}get _gaussianFactor(){let e=this.numberOfLevels;return e/Math.log(30*e)*10}get expandedLevelsMargin(){return Math.round(((this.expandedLevelsHeight??0)-this.levelsHeight)/2)}get levelClosestToPointer(){if(!this.hovering)return null;let e=this.numberOfLevels-1,i=this.clampedNormalizedPointerPosition;return e>=0&&i!=null?this.levels[Math.round((1-i)*e)]:null}get clampedNormalizedPointerPosition(){return v(this.normalizedPointerPosition,0,1)}get numberOfLevels(){return this.levels.length}get levelHeight(){let e=14,i=e*2/Math.sqrt(this.numberOfLevels);return Math.round(v(i,2,e))}get levelsHeight(){return Math.round(this.levelHeight*this.numberOfLevels)}async loaded(){this.listen("keydown",this.#n.bind(this)),this.manager.onLifecycle(()=>[B(()=>[this.normalizedPointerPosition,this.hovering],()=>this.onPointerPositionChange(),{initial:!0})])}onPointerPositionChange(){let e=0;this.levelItems.forEach((n,r)=>{let{width:o,height:s}=this.getLevelWidgetSize(r);n.height=s,n.width=o,e+=s}),this.hoveredLevel=this.levelClosestToPointer;let i=this.expandedLevelsHeight;(i==null||Math.abs(i-e)>30)&&(this.expandedLevelsHeight=e)}getLevelWidgetSize(e){let i={width:this.levelWidth,height:this.levelHeight};if(this.hovering){let n=this.getGaussianFactor(e,this.clampedNormalizedPointerPosition);i.width+=20*n,i.height+=30*n}return i}getGaussianFactor(e,i){let n=this.numberOfLevels-1,r=(n-e)/n,o=this._gaussianFactor*(r-i);return Math.exp(-(o**2))}#n(e){switch(e.key){case"ArrowDown":case"ArrowLeft":e.preventDefault(),e.stopPropagation(),this.#i(),this.#e();break;case"ArrowUp":case"ArrowRight":e.preventDefault(),e.stopPropagation(),this.#t(),this.#e();break}}#e(){Array.from(this.levelItems).find(e=>e.level===this.level?.value)?.focus()}#t(){this.level&&(this.level.next(),this.arcgisBuildingLevelChange.emit())}#i(){this.level&&(this.level.previous(),this.arcgisBuildingLevelChange.emit())}#o(){this.level==null||this.hoveredLevel==null||(this.level.value===this.hoveredLevel&&!this.level.disabled?this.#r():(this.level.select(this.hoveredLevel),this.arcgisBuildingLevelChange.emit()))}#r(){this.level&&!this.level.disabled&&(this.level.clear(),this.arcgisBuildingLevelChange.emit())}render(){if(!this.messages)return null;let e=this.level;e?.value;let i=e&&!e.disabled,n=this.numberOfLevels>1?k(this.levels,r=>r,r=>l`<arcgis-building-level-item .level=${r} .baseWidth=${this.levelWidth} .hovered=${this.hoveredLevel===r} .active=${e&&!e.disabled&&e.value===r} class=${c({"animate-level":!this.hovering})} .messages=${this.messages}></arcgis-building-level-item>`):null;return l`<div class=${c({container:!0,"no-level":this.numberOfLevels<2,"animate-level":this.hovering})}>${T({messages:this.messages,active:i,hasNext:e?.hasNext,hasPrevious:e?.hasPrevious,onNext:()=>this.#t(),onPrevious:()=>this.#i(),children:U({messages:this.messages,level:this.hoveredLevel??e?.value,active:i,onClear:()=>this.#r()})})}${D({ref:this.levelsContainer,expandedLevelsMargin:this.expandedLevelsMargin,levelsHeight:this.levelsHeight,onPointerEnter:this.onPointerEnter,onPointerMove:this.onPointerMove,onPointerLeave:this.onPointerLeave,onPointerUp:this.onPointerUp,children:n})}</div>`}};F([C("arcgis-building-level-item")],d.prototype,"levelItems");function T(t){return l`<div class=${c({"label-container":!0,empty:!t.active,active:!0,hover:!0})} title=${t.messages.selectLevel??h} tabindex=0><calcite-action icon=chevron-up appearance=transparent .text=${t.messages.nextLevel} @click=${t.onNext} .disabled=${!t.hasNext}></calcite-action>${t.children}<calcite-action icon=chevron-down appearance=transparent .text=${t.messages.previousLevel} @click=${t.onPrevious} .disabled=${!t.hasPrevious}></calcite-action></div>`}function U(t){let e=t.messages;return l`<div aria-label=${e.clearLevel??h} class=${c({"level-label":!0,active:t.active&&t.level!=null})} @click=${t.onClear} title=${e.clearLevel??h}>${t.active?l`<span>${t.level}</span>${w("clear-button",l`<calcite-fab appearance=outline-fill class="clear-button" icon=x kind=neutral @click=${t.onClear} scale=s></calcite-fab>`)}`:l`<span>${e.selectLevel}</span>`}</div>`}function D(t){let e=40,i=-e/2,n=t.levelsHeight,r=n+e*2;return l`<div class="tiles-container" @pointerenter=${t.onPointerEnter} @pointerover=${t.onPointerEnter} @pointermove=${t.onPointerMove} @pointerleave=${t.onPointerLeave} @pointerup=${t.onPointerUp} @click=${t.onClick} style=${u({height:`${r}px`,marginBlockStart:`${i}px`,marginBlockEnd:`${i}px`})} ${L(t.ref)}><div class="tiles-inner-container" style=${u({height:`${n}px`,margin:"0",marginBlockStart:`${20-t.expandedLevelsMargin}px`})}>${t.children}</div></div>`}y("arcgis-building-level-picker",d);return d},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
2
  var Y=globalThis,Z=Y.ShadowRoot&&(Y.ShadyCSS===void 0||Y.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Et=Symbol(),jt=new WeakMap,M=class{constructor(t,e,o){if(this._$cssResult$=!0,o!==Et)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e}get styleSheet(){let t=this.o,e=this.t;if(Z&&t===void 0){let o=e!==void 0&&e.length===1;o&&(t=jt.get(e)),t===void 0&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),o&&jt.set(e,t))}return t}toString(){return this.cssText}},Ht=s=>new M(typeof s=="string"?s:s+"",void 0,Et),$t=(s,...t)=>{let e=s.length===1?s[0]:t.reduce((o,r,n)=>o+(i=>{if(i._$cssResult$===!0)return i.cssText;if(typeof i=="number")return i;throw Error("Value passed to 'css' function must be a 'css' function result: "+i+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+s[n+1],s[0]);return new M(e,s,Et)},zt=(s,t)=>{if(Z)s.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(let e of t){let o=document.createElement("style"),r=Y.litNonce;r!==void 0&&o.setAttribute("nonce",r),o.textContent=e.cssText,s.appendChild(o)}},bt=Z?s=>s:s=>s instanceof CSSStyleSheet?(t=>{let e="";for(let o of t.cssRules)e+=o.cssText;return Ht(e)})(s):s;var{is:we,defineProperty:Oe,getOwnPropertyDescriptor:Te,getOwnPropertyNames:Se,getOwnPropertySymbols:Pe,getPrototypeOf:Ne}=Object,tt=globalThis,Vt=tt.trustedTypes,xe=Vt?Vt.emptyScript:"",De=tt.reactiveElementPolyfillSupport,k=(s,t)=>s,X={toAttribute(s,t){switch(t){case Boolean:s=s?xe:null;break;case Object:case Array:s=s==null?s:JSON.stringify(s)}return s},fromAttribute(s,t){let e=s;switch(t){case Boolean:e=s!==null;break;case Number:e=s===null?null:Number(s);break;case Object:case Array:try{e=JSON.parse(s)}catch{e=null}}return e}},j=(s,t)=>!we(s,t),Bt={attribute:!0,type:String,converter:X,reflect:!1,useDefault:!1,hasChanged:j};Symbol.metadata??=Symbol("metadata"),tt.litPropertyMetadata??=new WeakMap;var A=class extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,e=Bt){if(e.state&&(e.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(t)&&((e=Object.create(e)).wrapped=!0),this.elementProperties.set(t,e),!e.noAccessor){let o=Symbol(),r=this.getPropertyDescriptor(t,o,e);r!==void 0&&Oe(this.prototype,t,r)}}static getPropertyDescriptor(t,e,o){let{get:r,set:n}=Te(this.prototype,t)??{get(){return this[e]},set(i){this[e]=i}};return{get:r,set(i){let a=r?.call(this);n?.call(this,i),this.requestUpdate(t,a,o)},configurable:!0,enumerable:!0}}static getPropertyOptions(t){return this.elementProperties.get(t)??Bt}static _$Ei(){if(this.hasOwnProperty(k("elementProperties")))return;let t=Ne(this);t.finalize(),t.l!==void 0&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties)}static finalize(){if(this.hasOwnProperty(k("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(k("properties"))){let e=this.properties,o=[...Se(e),...Pe(e)];for(let r of o)this.createProperty(r,e[r])}let t=this[Symbol.metadata];if(t!==null){let e=litPropertyMetadata.get(t);if(e!==void 0)for(let[o,r]of e)this.elementProperties.set(o,r)}this._$Eh=new Map;for(let[e,o]of this.elementProperties){let r=this._$Eu(e,o);r!==void 0&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(t){let e=[];if(Array.isArray(t)){let o=new Set(t.flat(1/0).reverse());for(let r of o)e.unshift(bt(r))}else t!==void 0&&e.push(bt(t));return e}static _$Eu(t,e){let o=e.attribute;return o===!1?void 0:typeof o=="string"?o:typeof t=="string"?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(t=>this.enableUpdating=t),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(t=>t(this))}addController(t){(this._$EO??=new Set).add(t),this.renderRoot!==void 0&&this.isConnected&&t.hostConnected?.()}removeController(t){this._$EO?.delete(t)}_$E_(){let t=new Map,e=this.constructor.elementProperties;for(let o of e.keys())this.hasOwnProperty(o)&&(t.set(o,this[o]),delete this[o]);t.size>0&&(this._$Ep=t)}createRenderRoot(){let t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return zt(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(t=>t.hostConnected?.())}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach(t=>t.hostDisconnected?.())}attributeChangedCallback(t,e,o){this._$AK(t,o)}_$ET(t,e){let o=this.constructor.elementProperties.get(t),r=this.constructor._$Eu(t,o);if(r!==void 0&&o.reflect===!0){let n=(o.converter?.toAttribute!==void 0?o.converter:X).toAttribute(e,o.type);this._$Em=t,n==null?this.removeAttribute(r):this.setAttribute(r,n),this._$Em=null}}_$AK(t,e){let o=this.constructor,r=o._$Eh.get(t);if(r!==void 0&&this._$Em!==r){let n=o.getPropertyOptions(r),i=typeof n.converter=="function"?{fromAttribute:n.converter}:n.converter?.fromAttribute!==void 0?n.converter:X;this._$Em=r;let a=i.fromAttribute(e,n.type);this[r]=a??this._$Ej?.get(r)??a,this._$Em=null}}requestUpdate(t,e,o,r=!1,n){if(t!==void 0){let i=this.constructor;if(r===!1&&(n=this[t]),o??=i.getPropertyOptions(t),!((o.hasChanged??j)(n,e)||o.useDefault&&o.reflect&&n===this._$Ej?.get(t)&&!this.hasAttribute(i._$Eu(t,o))))return;this.C(t,e,o)}this.isUpdatePending===!1&&(this._$ES=this._$EP())}C(t,e,{useDefault:o,reflect:r,wrapped:n},i){o&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,i??e??this[t]),n!==!0||i!==void 0)||(this._$AL.has(t)||(this.hasUpdated||o||(e=void 0),this._$AL.set(t,e)),r===!0&&this._$Em!==t&&(this._$Eq??=new Set).add(t))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}let t=this.scheduleUpdate();return t!=null&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(let[r,n]of this._$Ep)this[r]=n;this._$Ep=void 0}let o=this.constructor.elementProperties;if(o.size>0)for(let[r,n]of o){let{wrapped:i}=n,a=this[r];i!==!0||this._$AL.has(r)||a===void 0||this.C(r,void 0,n,a)}}let t=!1,e=this._$AL;try{t=this.shouldUpdate(e),t?(this.willUpdate(e),this._$EO?.forEach(o=>o.hostUpdate?.()),this.update(e)):this._$EM()}catch(o){throw t=!1,this._$EM(),o}t&&this._$AE(e)}willUpdate(t){}_$AE(t){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(t)),this.updated(t)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return!0}update(t){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(t){}firstUpdated(t){}};A.elementStyles=[],A.shadowRootOptions={mode:"open"},A[k("elementProperties")]=new Map,A[k("finalized")]=new Map,De?.({ReactiveElement:A}),(tt.reactiveElementVersions??=[]).push("2.1.2");var _t=globalThis,Wt=s=>s,et=_t.trustedTypes,Ft=et?et.createPolicy("lit-html",{createHTML:s=>s}):void 0,Ct="$lit$",_=`lit$${Math.random().toFixed(9).slice(2)}$`,wt="?"+_,Le=`<${wt}>`,T=document,z=()=>T.createComment(""),V=s=>s===null||typeof s!="object"&&typeof s!="function",Ot=Array.isArray,Yt=s=>Ot(s)||typeof s?.[Symbol.iterator]=="function",At=`[
3
3
  \f\r]`,H=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,qt=/-->/g,Gt=/>/g,w=RegExp(`>|${At}(?:([^\\s"'>=/]+)(${At}*=${At}*(?:[^
4
4
  \f\r"'\`<>=]|("|')|))|$)`,"g"),Kt=/'/g,Qt=/"/g,Zt=/^(?:script|style|textarea|title)$/i,Tt=s=>(t,...e)=>({_$litType$:s,strings:t,values:e}),vs=Tt(1),Es=Tt(2),$s=Tt(3),f=Symbol.for("lit-noChange"),d=Symbol.for("lit-nothing"),Jt=new WeakMap,O=T.createTreeWalker(T,129);function Xt(s,t){if(!Ot(s)||!s.hasOwnProperty("raw"))throw Error("invalid template strings array");return Ft!==void 0?Ft.createHTML(t):t}var te=(s,t)=>{let e=s.length-1,o=[],r,n=t===2?"<svg>":t===3?"<math>":"",i=H;for(let a=0;a<e;a++){let c=s[a],l,u,h=-1,m=0;for(;m<c.length&&(i.lastIndex=m,u=i.exec(c),u!==null);)m=i.lastIndex,i===H?u[1]==="!--"?i=qt:u[1]!==void 0?i=Gt:u[2]!==void 0?(Zt.test(u[2])&&(r=RegExp("</"+u[2],"g")),i=w):u[3]!==void 0&&(i=w):i===w?u[0]===">"?(i=r??H,h=-1):u[1]===void 0?h=-2:(h=i.lastIndex-u[2].length,l=u[1],i=u[3]===void 0?w:u[3]==='"'?Qt:Kt):i===Qt||i===Kt?i=w:i===qt||i===Gt?i=H:(i=w,r=void 0);let v=i===w&&s[a+1].startsWith("/>")?" ":"";n+=i===H?c+Le:h>=0?(o.push(l),c.slice(0,h)+Ct+c.slice(h)+_+v):c+_+(h===-2?a:v)}return[Xt(s,n+(s[e]||"<?>")+(t===2?"</svg>":t===3?"</math>":"")),o]},B=class s{constructor({strings:t,_$litType$:e},o){let r;this.parts=[];let n=0,i=0,a=t.length-1,c=this.parts,[l,u]=te(t,e);if(this.el=s.createElement(l,o),O.currentNode=this.el.content,e===2||e===3){let h=this.el.content.firstChild;h.replaceWith(...h.childNodes)}for(;(r=O.nextNode())!==null&&c.length<a;){if(r.nodeType===1){if(r.hasAttributes())for(let h of r.getAttributeNames())if(h.endsWith(Ct)){let m=u[i++],v=r.getAttribute(h).split(_),C=/([.?@])?(.*)/.exec(m);c.push({type:1,index:n,name:C[2],strings:v,ctor:C[1]==="."?ot:C[1]==="?"?rt:C[1]==="@"?nt:P}),r.removeAttribute(h)}else h.startsWith(_)&&(c.push({type:6,index:n}),r.removeAttribute(h));if(Zt.test(r.tagName)){let h=r.textContent.split(_),m=h.length-1;if(m>0){r.textContent=et?et.emptyScript:"";for(let v=0;v<m;v++)r.append(h[v],z()),O.nextNode(),c.push({type:2,index:++n});r.append(h[m],z())}}}else if(r.nodeType===8)if(r.data===wt)c.push({type:2,index:n});else{let h=-1;for(;(h=r.data.indexOf(_,h+1))!==-1;)c.push({type:7,index:n}),h+=_.length-1}n++}}static createElement(t,e){let o=T.createElement("template");return o.innerHTML=t,o}};function S(s,t,e=s,o){if(t===f)return t;let r=o!==void 0?e._$Co?.[o]:e._$Cl,n=V(t)?void 0:t._$litDirective$;return r?.constructor!==n&&(r?._$AO?.(!1),n===void 0?r=void 0:(r=new n(s),r._$AT(s,e,o)),o!==void 0?(e._$Co??=[])[o]=r:e._$Cl=r),r!==void 0&&(t=S(s,r._$AS(s,t.values),r,o)),t}var st=class{constructor(t,e){this._$AV=[],this._$AN=void 0,this._$AD=t,this._$AM=e}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(t){let{el:{content:e},parts:o}=this._$AD,r=(t?.creationScope??T).importNode(e,!0);O.currentNode=r;let n=O.nextNode(),i=0,a=0,c=o[0];for(;c!==void 0;){if(i===c.index){let l;c.type===2?l=new L(n,n.nextSibling,this,t):c.type===1?l=new c.ctor(n,c.name,c.strings,this,t):c.type===6&&(l=new it(n,this,t)),this._$AV.push(l),c=o[++a]}i!==c?.index&&(n=O.nextNode(),i++)}return O.currentNode=T,r}p(t){let e=0;for(let o of this._$AV)o!==void 0&&(o.strings!==void 0?(o._$AI(t,o,e),e+=o.strings.length-2):o._$AI(t[e])),e++}},L=class s{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(t,e,o,r){this.type=2,this._$AH=d,this._$AN=void 0,this._$AA=t,this._$AB=e,this._$AM=o,this.options=r,this._$Cv=r?.isConnected??!0}get parentNode(){let t=this._$AA.parentNode,e=this._$AM;return e!==void 0&&t?.nodeType===11&&(t=e.parentNode),t}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(t,e=this){t=S(this,t,e),V(t)?t===d||t==null||t===""?(this._$AH!==d&&this._$AR(),this._$AH=d):t!==this._$AH&&t!==f&&this._(t):t._$litType$!==void 0?this.$(t):t.nodeType!==void 0?this.T(t):Yt(t)?this.k(t):this._(t)}O(t){return this._$AA.parentNode.insertBefore(t,this._$AB)}T(t){this._$AH!==t&&(this._$AR(),this._$AH=this.O(t))}_(t){this._$AH!==d&&V(this._$AH)?this._$AA.nextSibling.data=t:this.T(T.createTextNode(t)),this._$AH=t}$(t){let{values:e,_$litType$:o}=t,r=typeof o=="number"?this._$AC(t):(o.el===void 0&&(o.el=B.createElement(Xt(o.h,o.h[0]),this.options)),o);if(this._$AH?._$AD===r)this._$AH.p(e);else{let n=new st(r,this),i=n.u(this.options);n.p(e),this.T(i),this._$AH=n}}_$AC(t){let e=Jt.get(t.strings);return e===void 0&&Jt.set(t.strings,e=new B(t)),e}k(t){Ot(this._$AH)||(this._$AH=[],this._$AR());let e=this._$AH,o,r=0;for(let n of t)r===e.length?e.push(o=new s(this.O(z()),this.O(z()),this,this.options)):o=e[r],o._$AI(n),r++;r<e.length&&(this._$AR(o&&o._$AB.nextSibling,r),e.length=r)}_$AR(t=this._$AA.nextSibling,e){for(this._$AP?.(!1,!0,e);t!==this._$AB;){let o=Wt(t).nextSibling;Wt(t).remove(),t=o}}setConnected(t){this._$AM===void 0&&(this._$Cv=t,this._$AP?.(t))}},P=class{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(t,e,o,r,n){this.type=1,this._$AH=d,this._$AN=void 0,this.element=t,this.name=e,this._$AM=r,this.options=n,o.length>2||o[0]!==""||o[1]!==""?(this._$AH=Array(o.length-1).fill(new String),this.strings=o):this._$AH=d}_$AI(t,e=this,o,r){let n=this.strings,i=!1;if(n===void 0)t=S(this,t,e,0),i=!V(t)||t!==this._$AH&&t!==f,i&&(this._$AH=t);else{let a=t,c,l;for(t=n[0],c=0;c<n.length-1;c++)l=S(this,a[o+c],e,c),l===f&&(l=this._$AH[c]),i||=!V(l)||l!==this._$AH[c],l===d?t=d:t!==d&&(t+=(l??"")+n[c+1]),this._$AH[c]=l}i&&!r&&this.j(t)}j(t){t===d?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,t??"")}},ot=class extends P{constructor(){super(...arguments),this.type=3}j(t){this.element[this.name]=t===d?void 0:t}},rt=class extends P{constructor(){super(...arguments),this.type=4}j(t){this.element.toggleAttribute(this.name,!!t&&t!==d)}},nt=class extends P{constructor(t,e,o,r,n){super(t,e,o,r,n),this.type=5}_$AI(t,e=this){if((t=S(this,t,e,0)??d)===f)return;let o=this._$AH,r=t===d&&o!==d||t.capture!==o.capture||t.once!==o.once||t.passive!==o.passive,n=t!==d&&(o===d||r);r&&this.element.removeEventListener(this.name,this,o),n&&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)}},it=class{constructor(t,e,o){this.element=t,this.type=6,this._$AN=void 0,this._$AM=e,this.options=o}get _$AU(){return this._$AM._$AU}_$AI(t){S(this,t)}},ee={M:Ct,P:_,A:wt,C:1,L:te,R:st,D:Yt,V:S,I:L,H:P,N:rt,U:nt,B:ot,F:it},Ue=_t.litHtmlPolyfillSupport;Ue?.(B,L),(_t.litHtmlVersions??=[]).push("3.3.2");var at=(s,t,e)=>{let o=e?.renderBefore??t,r=o._$litPart$;if(r===void 0){let n=e?.renderBefore??null;o._$litPart$=r=new L(t.insertBefore(z(),n),n,void 0,e??{})}return r._$AI(s),r};var St=globalThis,E=class extends A{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){let t=super.createRenderRoot();return this.renderOptions.renderBefore??=t.firstChild,t}update(t){let e=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(t),this._$Do=at(e,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return f}};E._$litElement$=!0,E.finalized=!0,St.litElementHydrateSupport?.({LitElement:E});var Re=St.litElementPolyfillSupport;Re?.({LitElement:E});(St.litElementVersions??=[]).push("4.2.2");var p=(s,t,...e)=>{try{return s?.call(t,...e)}catch(o){console.error(o,s)}},W=async(s,t,...e)=>{try{return await s?.call(t,...e)}catch(o){console.error(o,s)}};var q=Symbol.for("controller"),Ie=s=>typeof s=="object"&&s!==null&&(q in s||"hostConnected"in s||"hostDisconnected"in s||"hostUpdate"in s||"hostUpdated"in s),Us=s=>typeof s?.then=="function",Rs=s=>s.M.length,F,x=s=>{F!==s&&(F=s,queueMicrotask(()=>F===s?F=void 0:0))},G=s=>F,N=[],lt=s=>{if(s===void 0){N=[];return}let t=N.indexOf(s);N=t===-1?[...N,s]:N.slice(0,t+1),queueMicrotask(()=>N=[])},se=()=>N,U,Is=s=>{U!==s&&(U=s,queueMicrotask(()=>U===s?U=void 0:0))},Me=()=>{let s=U;return U=void 0,s},oe=async(s,t)=>{let e=ht(s);if(e===void 0)return s;if(await e.ready,typeof t=="function"){let o=e.watchExports(r=>t(r,o))}return e.exports},re=async s=>{let t=ht(s);return await t.ready,t},ht=s=>{let e=G().manager.X(s);if(e!==void 0)return e;if(Ie(s))return s;let o=Me();if(o!==void 0)return o},ct=!1,Ms=s=>{ct=!0;try{return s()}finally{ct=!1}};var ne=new Set,ie;var ae=s=>typeof s=="string"?s:"el"in s?s.el.localName:"localName"in s?s.localName:s.declaredClass,ke=(s,t,e,o)=>{let r=ae(t);if(o?.once){let i=`${s}${r}${e}`;if(ne.has(i))return;ne.add(i)}let n;if(o?.detail){n={};for(let[i,a]of Object.entries(o.detail))if((typeof a=="object"||typeof a=="function")&&a!==null){let c=new WeakRef(a);Object.defineProperty(n,i,{enumerable:!0,get(){return c.deref()}})}else n[i]=a;ie?.log.interceptors?.forEach(i=>i(s,r,e,n)),console[s](`[${r}]: ${e}`,n)}else ie?.log.interceptors?.forEach(i=>i(s,r,e)),console[s](`[${r}]: ${e}`)},ce=s=>{let t=`[${ae(s)}] `;return e=>{let o=e instanceof Error&&e.message?e:new Error(String(e));o.message=`${t}${o.message}`,setTimeout(()=>{throw e})}},js=s=>`The property \`${s.toString()}\` is required but missing.`,Hs=s=>`The property \`${s.toString()}\` is empty but must have at least one element.`,zs=(s,t,e,o)=>ke("warn",s,`\`${t.toString()}\` is deprecated. Use \`${e.toString()}\` instead.`,o);var b=class{constructor(){this.promise=new Promise((t,e)=>{this.resolve=t,this.reject=e})}};var le=(s,t)=>{let e=t>je?He:t/ze,o=0,r=setInterval(()=>{o+=e,o>=t&&(clearInterval(r),s())},e);return r},je=4e3,He=2e3,ze=4;var Ve=(s,t,e)=>{let o=Object.keys(s),r=o.length;R===void 0&&queueMicrotask(I),R??=new Map;let n=R.get(s);return n===void 0&&(n={callbacks:[],keyCount:r},R.set(s,n)),n.keyCount!==r&&(n.callbacks.forEach(i=>i(o)),n.callbacks=[],n.keyCount=r),n.callbacks.push(i=>{let a=l=>p(t,null,l),c=i[r];c===void 0?a(void 0):s[c]===e?a(c):a(void 0)}),e},R,I=()=>{R?.forEach(({callbacks:s},t)=>{let e=Object.keys(t);s.forEach(o=>o(e))}),R=void 0},Be=(s,t,e)=>{let o=s.manager;return o.V!==d&&o.V!==e&&o.S(void 0,void 0),o.T.length===0&&queueMicrotask(()=>o.S(void 0,void 0)),o.V=e,o.T.push((r,n)=>p(t,void 0,e===n?r:void 0)),e},We=(s=[G(),...se()],t,e)=>{let o=Array.isArray(s)?s:[s],r=o.length+1,n=i=>{r-=1,i!==void 0&&(r=Math.min(r,0)),r===0&&t(i)};o.forEach(i=>Ve(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!1}),e));for(let i of o)if("manager"in i&&i.manager.component===i){Be(i,a=>n(a===void 0?void 0:{key:a,host:i,isReactive:!0}),e);break}return e},Fe=(s="",t={},e=G())=>{let o={emit:r=>{s===""&&I();let n=new CustomEvent(s,{detail:r,cancelable:!0,bubbles:!0,composed:!0,...t});return e.el.dispatchEvent(n),n}};return s===""&&We(void 0,r=>s=r.key,o),o},qe=Fe.bind(null,""),pe;pe=q;var Pt=class{constructor(t){this.#t=[],this.#e=[],this.#s=[],this.#r=[],this.#n=[],this.#c=[],this.#l=[],this.#d=[],this.#i=[],this.#p=!1,this.P=new b,this.connectedCalled=!1,this.loadedCalled=!1,this[pe]=!0,this.#h=[];let e=this,o=t??G(new.target.name);e.#o=o,e.ready=e.P.promise,e.#a=de(e),e.component=o,e.#o.addController(e),e.#o.manager===void 0||(lt(e),queueMicrotask(()=>e.catchUpLifecycle()))}#t;#e;#s;#r;#n;#c;#l;#d;#i;#p;#o;catchUpLifecycle(){let{manager:t}=this.#o;t.connectedCalled&&!this.connectedCalled&&this.triggerConnected(),t.#p&&this.triggerLoad().then(()=>t.loadedCalled&&this.triggerLoaded()).catch(ce(this.#o))}#a;get exports(){return this.#a}set exports(t){let e=this.#a;e!==t&&(this.#a=t,this.#h.forEach(p),this.connectedCalled&&this.O!==!1&&this.#o.requestUpdate(this.O,e)),this.P.resolve(t)}setProvisionalExports(t,e=!0){this.#a=e?de(t):t,this.#h.forEach(p)}#h;watchExports(t){let e=()=>t(this.#a);return this.#h.push(e),()=>{this.#h.splice(this.#h.indexOf(e),1)}}get use(){return x(this.#o),oe}get useRef(){return x(this.#o),re}get useRefSync(){return x(this.#o),ht}controllerRemoved(){this.#o.el.isConnected&&this.triggerDisconnected(),this.triggerDestroy()}onConnected(t){this.#t.push(t)}onDisconnected(t){this.#e.push(t)}onLoad(t){this.#s.push(t)}onLoaded(t){this.#r.push(t)}onUpdate(t){this.#n.push(t)}onUpdated(t){this.#c.push(t)}onDestroy(t){this.#l.push(t)}onLifecycle(t){this.#d.push(t),this.connectedCalled&&this.#o.el.isConnected&&this.#u(t)}triggerConnected(){let t=this;t.hostConnected&&p(t.hostConnected,t),t.#t.forEach(p),t.triggerLifecycle(),t.connectedCalled=!0}triggerDisconnected(){let t=this;t.hostDisconnected&&p(t.hostDisconnected,t),t.#e.forEach(p),t.#i.forEach(p),t.#i=[]}async triggerLoad(){if(this.#p)return;this.#p=!0;let t=this;t.hostLoad&&await W(t.hostLoad,t),this.#s.length>0&&await Promise.allSettled(this.#s.map(W)),this.P.resolve(this.#a)}triggerLoaded(){this.loadedCalled||(this.hostLoaded&&p(this.hostLoaded,this),this.#r.forEach(p),this.loadedCalled=!0)}triggerUpdate(t){this.hostUpdate&&p(this.hostUpdate,this,t),this.#n.forEach(he,t)}triggerUpdated(t){this.hostUpdated&&p(this.hostUpdated,this,t),this.#c.forEach(he,t)}triggerDestroy(){this.hostDestroy&&p(this.hostDestroy,this),this.#l.forEach(p)}triggerLifecycle(){this.hostLifecycle&&this.#u(()=>this.hostLifecycle()),this.#d.forEach(this.#u,this)}#u(t){x(this.#o);let e=p(t);(Array.isArray(e)?e:[e]).forEach(r=>{typeof r=="function"?this.#i.push(r):typeof r=="object"&&typeof r.remove=="function"&&this.#i.push(r.remove)})}};function he(s){p(s,void 0,this)}var de=s=>{if(typeof s!="object"&&typeof s!="function"||s===null)return s;let t={get(o,r,n){if(!((r==="exports"||r==="_exports")&&r in o&&o[r]===e)&&(r in o||r in Promise.prototype||typeof r=="symbol"))return typeof o=="function"?o[r]:Reflect.get(o,r,n)}},e=new Proxy(s,t);return e};var ue=Pt;var dt=s=>s.replace(Ge,(t,e)=>`${e===0?"":"-"}${t.toLowerCase()}`),Ge=/[A-Z]+(?![a-z])|[A-Z]/gu;var Ys=s=>`\u200E${s??""}\u200E`,Ke="randomUUID"in crypto,Zs=()=>{if(Ke)return crypto.randomUUID();let s=crypto.getRandomValues(new Uint16Array(8));s[3]=s[3]&4095|16384,s[4]=s[4]&16383|32768;let t=e=>s[e].toString(16).padStart(4,"0");return`${t(0)+t(1)}-${t(2)}-${t(3)}-${t(4)}-${t(5)}${t(6)}${t(7)}`};var y={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},$=s=>(...t)=>({_$litDirective$:s,values:t}),g=class{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,o){this._$Ct=t,this._$AM=e,this._$Ci=o}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}};var{I:Qe}=ee,fe=s=>s;var pt=s=>s.strings===void 0,me=()=>document.createComment(""),so=(s,t,e)=>{let o=s._$AA.parentNode,r=t===void 0?s._$AB:t._$AA;if(e===void 0){let n=o.insertBefore(me(),r),i=o.insertBefore(me(),r);e=new Qe(n,i,s,s.options)}else{let n=e._$AB.nextSibling,i=e._$AM,a=i!==s;if(a){let c;e._$AQ?.(s),e._$AM=s,e._$AP!==void 0&&(c=s._$AU)!==i._$AU&&e._$AP(c)}if(n!==r||a){let c=e._$AA;for(;c!==n;){let l=fe(c).nextSibling;fe(o).insertBefore(c,r),c=l}}}return e},oo=(s,t,e=s)=>(s._$AI(t,e),s),Je={},ye=(s,t=Je)=>s._$AH=t,ro=s=>s._$AH,no=s=>{s._$AR(),s._$AA.remove()};var Ye=$(class extends g{constructor(s){if(super(s),s.type!==y.PROPERTY&&s.type!==y.ATTRIBUTE&&s.type!==y.BOOLEAN_ATTRIBUTE)throw Error("The `live` directive is not allowed on child or event bindings");if(!pt(s))throw Error("`live` bindings can only contain a single expression")}render(s){return s}update(s,[t]){if(t===f||t===d)return t;let e=s.element,o=s.name;if(s.type===y.PROPERTY){if(t===e[o])return f}else if(s.type===y.BOOLEAN_ATTRIBUTE){if(!!t===e.hasAttribute(o))return f}else if(s.type===y.ATTRIBUTE&&e.getAttribute(o)===t+"")return f;return ye(s),t}});var K=(s,t)=>{let e=s._$AN;if(e===void 0)return!1;for(let o of e)o._$AO?.(t,!1),K(o,t);return!0},ut=s=>{let t,e;do{if((t=s._$AM)===void 0)break;e=t._$AN,e.delete(s),s=t}while(e?.size===0)},ge=s=>{for(let t;t=s._$AM;s=t){let e=t._$AN;if(e===void 0)t._$AN=e=new Set;else if(e.has(s))break;e.add(s),ts(t)}};function Ze(s){this._$AN!==void 0?(ut(this),this._$AM=s,ge(this)):this._$AM=s}function Xe(s,t=!1,e=0){let o=this._$AH,r=this._$AN;if(r!==void 0&&r.size!==0)if(t)if(Array.isArray(o))for(let n=e;n<o.length;n++)K(o[n],!1),ut(o[n]);else o!=null&&(K(o,!1),ut(o));else K(this,s)}var ts=s=>{s.type==y.CHILD&&(s._$AP??=Xe,s._$AQ??=Ze)},ft=class extends g{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,e,o){super._$AT(t,e,o),ge(this),this.isConnected=t._$AU}_$AO(t,e=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),e&&(K(this,t),ut(this))}setValue(t){if(pt(this._$Ct))this._$Ct._$AI(t,this);else{let e=[...this._$Ct._$AH];e[this._$Ci]=t,this._$Ct._$AI(e,this,0)}}disconnected(){}reconnected(){}};var Ao=()=>new xt,xt=class{},Nt=new WeakMap,Dt=$(class extends ft{render(s){return d}update(s,[t]){let e=t!==this.G;return e&&this.G!==void 0&&this.rt(void 0),(e||this.lt!==this.ct)&&(this.G=t,this.ht=s.options?.host,this.rt(this.ct=s.element)),d}rt(s){if(this.isConnected||(s=void 0),typeof this.G=="function"){let t=this.ht??globalThis,e=Nt.get(t);e===void 0&&(e=new WeakMap,Nt.set(t,e)),e.get(this.G)!==void 0&&this.G.call(this.ht,void 0),e.set(this.G,s),s!==void 0&&this.G.call(this.ht,s)}else this.G.value=s}get lt(){return typeof this.G=="function"?Nt.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});var Ut=s=>{let t=s;for(;t=t.parentNode??t.host;)if(t?.constructor?.lumina){let e=t;return e.manager?.loadedCalled||(e.J??e._offspring).push(s),(e.I??e._postLoad).promise}return!1},Rt={};function It(){}function Mt(s){for(let t of["Associated","Disabled","Reset","StateRestore"]){let e=`orm${t}Callback`;s.prototype["f"+e]=async function(...o){await this.componentOnReady(),(this.el??this).dispatchEvent(new CustomEvent(`luminaF${e}`,{detail:o}))}}}var ss=(s,t)=>function(o,r){if(!globalThis.customElements)return;let i=(r??o??{}).resourcesUrl;i&&s.setAssetPath(i);for(let[a,[c,l="",u=0]]of Object.entries(t)){if(customElements.get(a))continue;let[h,m,v]=l.split(";"),C=h?h?.split(",").map(os):void 0,vt=C?.map(([D])=>D),J=class extends Lt{static{this.formAssociated=u===1}static{this.observedAttributes=C?.map(([,D])=>D).filter(D=>D!=="")}static{this.C=vt}static{this.E=m?m?.split(","):void 0}static{this.D=v?.split(",")}static{this.L=a}static{this.K=s}constructor(){!J.B&&(J.B=c(),J.F()),super()}};customElements.define(a,J)}},mt=Object.defineProperty,os=s=>{let t=s.split(":");return t.length===1?[t[0],dt(t[0])]:t},rs=globalThis.HTMLElement??It,Lt=class extends rs{constructor(){super(),this.#e={},this.#s=[],this.I=new b,this.H=new b,this.J=[];let t=this,e=t.constructor;t._offspring=t.J,t._postLoad=t.I,e.C?.forEach(o=>{Object.hasOwn(t,o)&&(t.#e[o]=t[o],delete t[o])}),e.A?t.#r({a:e.A}):e.B.then(async o=>{await e.K.p,t.#r(await(o.default?.then(r=>typeof r=="function"?{a:r}:r)??o))}).catch(o=>{t.H.reject(o),setTimeout(()=>{throw o})})}static{this.lumina=!0}static F(){for(let t of this.C??[])mt(this.prototype,t,{configurable:!0,enumerable:!0,get(){return this.#e[t]},set(e){this.#e[t]=e}});for(let t of this.E??[])mt(this.prototype,t,{async value(...e){return this.#t||await this.H.promise,await this.#t[t](...e)},configurable:!0});for(let t of this.D??[])mt(this.prototype,t,{value(...e){return this.#t[t](...e)},configurable:!0})}static{Mt(this)}#t;#e;#s;get manager(){return this.#t?.manager}attributeChangedCallback(t,e,o){this.#t?.attributeChangedCallback(t,e,o),this.#t||this.#s.push(t)}connectedCallback(){this.#t?this.#t.connectedCallback?.():queueMicrotask(()=>this.G=Ut(this))}disconnectedCallback(){this.#t?.disconnectedCallback?.()}async componentOnReady(){return await this.H.promise,this}#r(t){let e=this.constructor,o=e.L,r=this.#e,n=Object.values(t).find(h=>h.L===o),i=`${o}--lazy`,a=n;for(;a&&!Object.hasOwn(a,"lumina");)a=Object.getPrototypeOf(a);is(a),!e.A&&(e.A=n,customElements.define(i,n)),n.N=this;let l=document.createElement(i);n.N=void 0,this.#t=l,this.#e=l,this.#s.forEach(h=>l.attributeChangedCallback(h,null,this.getAttribute(h))),Object.entries(r).forEach(ns,l);let u=this.isConnected;(u||this.G)&&(l.connectedCallback?.(),u||l.disconnectedCallback())}addController(){}requestUpdate(){this.#t?.requestUpdate()}};function ns([s,t]){this[s]=t}var is=s=>{let t=s.prototype,e=Element.prototype;Object.hasOwn(t,"isConnected")||(t.setAttribute=function(r,n){e.setAttribute.call(this.el,r,n)},t.removeAttribute=function(r){e.removeAttribute.call(this.el,r)},t.hasAttribute=function(r){return e.hasAttribute.call(this.el,r)},mt(t,"isConnected",{get(){return Reflect.get(e,"isConnected",this.el)}}))};var yt=class extends ue{constructor(t){super(t),this.destroyed=!1,this.R=!1,this.V=d,this.T=[],this.#s=new WeakMap,this.#e=t,this.exports=void 0,this.hasDestroy=gt in t&&typeof t.destroy=="function",E.prototype.addController.call(t,{hostConnected:()=>{if(this.destroyed){let e=t.el.localName;throw t.el.remove(),new Error(`The ${e} component has already been destroyed. It cannot be used again. If you meant to disconnect and reconnect a component without automatic destroy, set the ${gt} prop.`)}this.#t!==void 0&&clearTimeout(this.#t),I();for(let e of t.M)"triggerConnected"in e?e.triggerConnected():p(e.hostConnected,e)},hostDisconnected:()=>{for(let e of t.M)"triggerDisconnected"in e?e.triggerDisconnected():p(e.hostDisconnected,e);this.hasDestroy&&!this.destroyed&&this.U()},hostUpdate:()=>{for(let e of t.M)"triggerUpdate"in e?e.triggerUpdate(this.Q):p(e.hostUpdate,e,this.Q)},hostUpdated:()=>{for(let e of t.M)"triggerUpdated"in e?e.triggerUpdated(this.Q):p(e.hostUpdated,e,this.Q);this.Q=void 0}}),queueMicrotask(()=>this.R=!0),lt(void 0),x(t)}#t;#e;async destroy(){if(!this.destroyed){this.#e.el.isConnected&&(this.hasDestroy=!1,this.#e.el.remove()),this.#t=void 0,this.destroyed=!0;for(let t of this.#e.M)"triggerDestroy"in t?t.triggerDestroy():p(t.hostDestroy,t);this.#e.M.splice(0)}}U(){if(this.#t!==void 0&&clearTimeout(this.#t),!this.#e.el.isConnected&&!this.#e.autoDestroyDisabled){let t=()=>{this.#e.destroy()};this.#t=le(t,as)}}S(t,e){let o=this.T;this.V=d,this.T=[],o.forEach(r=>r(t,e))}#s;W(t,e){(typeof e=="object"&&e!==null||typeof e=="function")&&this.#s.set(e,t)}X(t){if(typeof t=="object"&&t!==null||typeof t=="function")return this.#s.get(t)}},as=1e3,gt="autoDestroyDisabled";var Ee=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="class"||s.strings?.length>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(s){return" "+Object.keys(s).filter(t=>s[t]).join(" ")+" "}update(s,[t]){if(this.st===void 0){this.st=new Set,s.strings!==void 0&&(this.nt=new Set(s.strings.join(" ").split(/\s/).filter(o=>o!=="")));for(let o in t)t[o]&&!this.nt?.has(o)&&this.st.add(o);return this.render(t)}let e=s.element.classList;for(let o of this.st)o in t||(e.remove(o),this.st.delete(o));for(let o in t){let r=!!t[o];r===this.st.has(o)||this.nt?.has(o)||(r?(e.add(o),this.st.add(o)):(e.remove(o),this.st.delete(o)))}return f}});var $e="important",cs=" !"+$e,be=$(class extends g{constructor(s){if(super(s),s.type!==y.ATTRIBUTE||s.name!=="style"||s.strings?.length>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(s){return Object.keys(s).reduce((t,e)=>{let o=s[e];return o==null?t:t+`${e=e.includes("-")?e:e.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${o};`},"")}update(s,[t]){let{style:e}=s.element;if(this.ft===void 0)return this.ft=new Set(Object.keys(t)),this.render(t);for(let o of this.ft)t[o]==null&&(this.ft.delete(o),o.includes("-")?e.removeProperty(o):e[o]=null);for(let o in t){let r=t[o];if(r!=null){this.ft.add(o);let n=typeof r=="string"&&r.endsWith(cs);o.includes("-")||n?e.setProperty(o,n?r.slice(0,-11):r,n?$e:""):e[o]=r}}return f}});var Ae=class s extends E{constructor(){super(),this.M=[],this.manager=new yt(this);let t=this,e=t.constructor,o=e.N,r=e.K.o,n=s.prototype.shouldUpdate;t.#r=o?.H??new b,t.I=o?.I??new b,t.J=o?.J??[],t._offspring=t.J,t._postLoad=t.I,t.el=o??t,t.#s=t.enableUpdating,t.enableUpdating=It,t.shouldUpdate!==n&&(t.#e=t.shouldUpdate,t.shouldUpdate=n),r&&(t.#t=new Map,e.elementProperties.forEach((i,a)=>t.#t.set(a,r()))),!1}static finalizeStyles(t){let e=super.finalizeStyles(t),o=this.shadowRootOptions===Rt;return this.K?.commonStyles===void 0||o?e:[this.K.commonStyles,...e]}static createProperty(t,e){let o=typeof e=="number"?e:Array.isArray(e)?e[0]:0,r=Array.isArray(e)?e[1]:void 0,n=r?.hasChanged??j,i={attribute:o&1&&typeof t=="string"?dt(t):!1,reflect:!!(o&2),type:o&4?Boolean:o&8?Number:void 0,state:!!(o&16),readOnly:!!(o&32),noAccessor:!!(o&64),useDefault:!!(o&128),c:!1,...r,hasChanged(a,c){let l=n(a,c);return i.c=l,l}};super.createProperty(t,i)}static getPropertyDescriptor(t,e,o){let r=this.K,n=super.getPropertyDescriptor(t,e,o);return o.d=n,{...n,get(){return r.t?.(this.#t.get(t)),n.get?.call(this)},set(i){let a=this.manager;if(o.readOnly&&!ct&&(a.R||a.connectedCalled))throw Error(`Cannot assign to read-only property "${t}" of ${this.el.localName}. Trying to assign "${i}"`);n.set.call(this,i??void 0),o.c&&this.#t?.get(t)?.notify(),a.T.length>0&&(I(),a?.S(t,i))}}}static{this.lumina=!0}static{Mt(this)}#t;#e;#s;#r;#n;#c;get elementInternals(){return this.#c??=this.el.attachInternals(),this.#c}connectedCallback(){this.hasAttribute("defer-hydration")||this.#l(!0)}#l(t){let e=this.constructor.K.c?.(()=>this.requestUpdate());this.#n=e;let o=!this.manager.connectedCalled;t&&super.connectedCallback(),o?queueMicrotask(()=>this.#i().catch(r=>{this.#r.reject(r),setTimeout(()=>{throw r})})):e&&this.requestUpdate()}#d(t){try{this.#n.clear(),this.constructor.K.r(this.#n,()=>super.update(t))}catch(e){throw this.#n.clear(),e}}disconnectedCallback(){super.disconnectedCallback(),this.#n?.destroy(),this.#n=void 0}createRenderRoot(){let t=this.el.shadowRoot,e=this.constructor,o=e.shadowRootOptions,n=t??(o===Rt?this.el:this.el.attachShadow(o));if(t)return this.manager.connectedCalled||this.#l(!1),E.prototype.createRenderRoot.call(this),t;if(this.isConnected){let i=n.getRootNode();i.adoptedStyleSheets=[...i.adoptedStyleSheets,...e.elementStyles.map(a=>"styleSheet"in a?a.styleSheet:a)]}return n}async#i(){let t=this.el.G??Ut(this.el);t&&await t;let e=[];for(let r of this.M)"triggerLoad"in r?e.push(r.triggerLoad()):e.push(W(r.hostLoad,r));await Promise.all(e),await this.load?.(),this.manager.hasDestroy&&this.manager.onUpdate(r=>r.has(gt)&&this.manager.U()),this.#s(!0),this.performUpdate(),this.I.resolve(),await 0;let o=this.J.filter(r=>!r.manager?.loadedCalled);o.length&&await Promise.allSettled(o.map(async r=>await r.componentOnReady())),this.J.length=0,this.el.setAttribute(this.constructor.K.hydratedAttribute,"");for(let r of this.M)"triggerLoaded"in r?r.triggerLoaded():p(r.hostLoaded,r);this.loaded?.(),this.#r.resolve()}shouldUpdate(t){return this.manager.Q=t,this.#e?.(t)??!0}update(t){this.#n?this.#d(t):super.update(t)}listen(t,e,o){let r=e?.bind(this)??e;this.manager.onLifecycle(()=>(this.el.addEventListener(t,r,o),()=>this.el.removeEventListener(t,r,o)))}listenOn(t,e,o,r){let n=o?.bind(this)??o;this.manager.onLifecycle(()=>(t.addEventListener(e,n,r),()=>t.removeEventListener(e,n,r)))}async componentOnReady(){return await this.#r.promise,this}addController(t){this.M.push(t),!(q in t)&&this.renderRoot&&this.el.isConnected&&t.hostConnected?.()}removeController(t){this.M.splice(this.M.indexOf(t),1),t.controllerRemoved?.()}};var Ce=s=>{let t,e=r=>{t=new URL(r,globalThis.location?.href||void 0).href},o={...s,getAssetPath(r){let n=new URL(r,t);return n.origin!==globalThis.location?.origin?n.href:n.pathname},setAssetPath:e,customElement(r,n){n.K=o,n.L=r,customElements.get(r)||customElements.define(r,n)}};return e(s.defaultAssetPath),o};var Ir=s=>typeof s=="object"&&s!=null?Ee(s):s,Mr=s=>typeof s=="object"&&s!=null?be(s):s;var kt=class extends g{#t;#e;constructor(t){super(t);let e=this;this.#e=function(r){return e.#t.call(this,r)}}render(t){return typeof t=="function"?(this.#t=t,Dt(this.#e)):Dt(t)}},kr=$(kt);var jr=d;var Hr=s=>{let t=document.createElement("div");return at(s,t),t.firstElementChild};var us=$t`:host{display:block;box-sizing:border-box;*,*:before,*:after{box-sizing:inherit}}:host([hidden]){display:none}:host(:not(arcgis-basemap-gallery-item,arcgis-layer-list-item,arcgis-layer-list-item-indicator,arcgis-layer-list-item-panel,arcgis-print-custom-text-elements,arcgis-print-dpi-input,arcgis-print-export-button,arcgis-print-exported-link,arcgis-print-exports-panel,arcgis-print-format-select,arcgis-print-layout-advanced-options,arcgis-print-layout-panel,arcgis-print-main-panel,arcgis-print-map-only-advanced-options,arcgis-print-map-only-panel,arcgis-print-out-spatial-reference-input,arcgis-print-preview-input,arcgis-print-scale-section,arcgis-print-template-select,arcgis-print-template-selector,arcgis-labeled-switch,arcgis-measurement-content,arcgis-version-management-service-item,arcgis-version-management-version-item,arcgis-version-management-version-list,arcgis-version-management-version-properties,arcgis-video-player-action-bar,arcgis-video-player-actions-group,arcgis-video-player-controls-group,arcgis-video-player-metadata,arcgis-video-player-settings,arcgis-video-player-slider)){font-family:var(--calcite-font-family)}`,Q=Ce({defaultAssetPath:"https://jsdev.arcgis.com/5.2.0-next/map-components/",hydratedAttribute:"hydrated",commonStyles:us}),{customElement:qr,getAssetPath:Gr,setAssetPath:Kr}=Q;Q.t=void 0;Q.o=void 0;Q.c=void 0;Q.r=void 0;export{$t as a,vs as b,Es as c,$s as d,f as e,d as f,Us as g,Rs as h,x as i,G as j,lt as k,se as l,Is as m,Ms as n,ke as o,ce as p,js as q,Hs as r,zs as s,Be as t,We as u,Fe as v,qe as w,Pt as x,ue as y,Ys as z,Zs as A,ss as B,y as C,$ as D,g as E,so as F,oo as G,ye as H,ro as I,no as J,Ye as K,Ao as L,Dt as M,Ae as N,Ir as O,Mr as P,jr as Q,Hr as R,Q as S,qr as T,Gr as U};
@@ -1,5 +1,5 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import c from"./ZVWU3FCO.js";import a from"./L7DKVYKJ.js";import{a as u}from"./LQU2J7A6.js";import{a as w}from"./X3ZN3AMW.js";import"./FWR73QLI.js";import{d as l}from"./MUFZWCGR.js";import{N as _,O as r,P as b,Q as p,T as L,a as k,b as i}from"./T3FLTZPV.js";import"./DUIJO5RQ.js";export default $arcgis.t(([v,{a:f,b:z},{b:F,e:$,f:x}])=>{var I=k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;height:100%;height:-moz-available;height:-webkit-fill-available;height:fill-available;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;function C(h){return h?h.r*.299+h.g*.587+h.b*.114>=127:void 0}var E=class extends _{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3}static{this.properties={cssEffectFilter:1,stacked:7,activeLayerInfo:0,headingLevel:9,layer:0,legendElement:0,messages:0}}static{this.styles=I}_getBackgroundStyles(e){let s=e.symbol,a=s.color,n=!!a?.a,t="outline"in s?s.outline:null,c=!!t?.color?.a,o=n&&a?new v([a.r,a.g,a.b,a.a*this.layer.opacity]):new v([255,255,255,0]),d=c&&t.color?new v([t.color.r,t.color.g,t.color.b,t.color.a*this.layer.opacity]):new v([255,255,255,0]),m=C(e.symbol.color)??!0,g=m?"black":"white",y=m?"rgba(255, 255, 255, .6)":"rgba(0, 0, 0, .6)";return{background:n?o.toCss(!0):"none",color:g,textShadow:`-1px -1px 0 ${y},
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import c from"./SKNX46RX.js";import a from"./YU5BTZEI.js";import{a as u}from"./4P2WLM6E.js";import{a as w}from"./JD74LG7K.js";import"./QUZTFUWM.js";import{d as l}from"./HYRFW7KG.js";import{N as _,O as r,P as b,Q as p,T as L,a as k,b as i}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([v,{a:f,b:z},{b:F,e:$,f:x}])=>{var I=k`.esri-widget__heading{color:var(--calcite-color-text-2);margin:0 0 .5rem;font-weight:var(--calcite-font-weight-semibold)}h1.esri-widget__heading{font-size:var(--calcite-font-size-xl)}h2.esri-widget__heading{font-size:var(--calcite-font-size-md)}h3.esri-widget__heading,h4.esri-widget__heading,h5.esri-widget__heading,h6.esri-widget__heading{font-size:var(--calcite-font-size)}.section{word-break:break-word;word-wrap:break-word;padding:var(--calcite-space-sm) var(--calcite-space-md);min-width:250px;max-width:500px;height:100%;height:-moz-available;height:-webkit-fill-available;height:fill-available;overflow:auto;font-size:var(--calcite-font-size-sm)}.carousel-title-container{margin-bottom:var(--calcite-space-sm)}.carousel-title{margin:0}.section-title{font-weight:var(--calcite-font-weight-regular)}.layer-caption{padding:var(--calcite-space-2xs) 0;margin:0;font-weight:var(--calcite-font-weight-regular)}.imagery-layer-stretched-image{display:block;margin-bottom:-2px}.image-label{padding-inline-start:var(--calcite-space-xs)}.label-element{margin:.1em;padding:.5em 1em;min-width:2em;min-height:1em;text-align:center;display:flex;align-items:center;justify-content:center;flex:1}.layer-row{display:flex;align-items:center}.symbol{display:block;margin:auto}.pie-chart-ramp-preview{display:flex;justify-content:center}.relationship-container{display:flex;flex-direction:column}.relationship-container .layer-row{padding-bottom:.5em}.relationship-container .layer-row:last-child{padding-bottom:0}.container{display:flex;gap:var(--calcite-space-sm);flex-wrap:wrap}.background-styles-container{display:flex;flex-wrap:wrap}:host([stacked]) .container{display:table}:host([stacked]) .symbol-row{display:table-row;width:100%}:host([stacked]) .symbol-row:not(:last-child) .label-cell,:host([stacked]) .symbol-row:not(:last-child) .symbol-cell{padding-bottom:var(--calcite-space-xs)}:host([stacked]) .label-cell{display:table-cell;vertical-align:middle}:host([stacked]) .symbol-cell{display:table-cell;vertical-align:middle;text-align:center}:host([stacked]) .symbol-cell div{display:flex;align-items:center;justify-content:center}`;function C(h){return h?h.r*.299+h.g*.587+h.b*.114>=127:void 0}var E=class extends _{constructor(){super(...arguments),this.stacked=!1,this.headingLevel=3}static{this.properties={cssEffectFilter:1,stacked:7,activeLayerInfo:0,headingLevel:9,layer:0,legendElement:0,messages:0}}static{this.styles=I}_getBackgroundStyles(e){let s=e.symbol,a=s.color,n=!!a?.a,t="outline"in s?s.outline:null,c=!!t?.color?.a,o=n&&a?new v([a.r,a.g,a.b,a.a*this.layer.opacity]):new v([255,255,255,0]),d=c&&t.color?new v([t.color.r,t.color.g,t.color.b,t.color.a*this.layer.opacity]):new v([255,255,255,0]),m=C(e.symbol.color)??!0,g=m?"black":"white",y=m?"rgba(255, 255, 255, .6)":"rgba(0, 0, 0, .6)";return{background:n?o.toCss(!0):"none",color:g,textShadow:`-1px -1px 0 ${y},
3
3
  1px -1px 0 ${y},
4
4
  -1px 1px 0 ${y},
5
5
  1px 1px 0 ${y}`,border:c?`1px solid ${d.toCss(!0)}`:"none",filter:this.cssEffectFilter??""}}render(){let e=this._renderLegendElement(),s=z(this.legendElement,this.messages),a=this.stacked?i`<div class="carousel-title-container">${u({class:l("carousel-title",w.heading),level:this.headingLevel,children:this.activeLayerInfo.title})}${s?i`<p class="layer-caption">${s}</p>`:null}</div>`:s?u({class:l("section-title",w.heading),level:this.headingLevel,children:s}):null;return i`<section class="section" role=tabpanel tabindex=0>${a}${e}</section>`}_renderLegendElement(){switch(this.legendElement.type){case"symbol-table":return this._renderSymbolTable(this.legendElement);case"size-ramp":return i`<arcgis-legend-card-size-ramp .hasIndicators=${this.stacked} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-size-ramp>`;case"color-ramp":case"opacity-ramp":case"heatmap-ramp":case"stretch-ramp":return i`<arcgis-legend-card-color-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-color-ramp>`;case"relationship-ramp":return i`<arcgis-legend-relationship-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .opacity=${this.layer.opacity} .messages=${this.messages}></arcgis-legend-relationship-ramp>`;case"pie-chart-ramp":{let{preview:e}=this.legendElement;return x(e,this.messages.previewPieChartAriaLabel),i`<div class="pie-chart-ramp-preview">${e}</div>`}case"univariate-above-and-below-ramp":return i`<arcgis-legend-card-univariate-above-and-below-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-above-and-below-ramp>`;case"univariate-color-size-ramp":return i`<arcgis-legend-card-univariate-color-size-ramp .cssEffectFilter=${this.cssEffectFilter} .legendElement=${this.legendElement} .messages=${this.messages} .opacity=${this.layer.opacity}></arcgis-legend-card-univariate-color-size-ramp>`;default:return null}}_renderSymbolTable(e){let s=e.infos.map(t=>this._renderElementInfo(t,e.legendType)).filter(Boolean);if(!s.length)return null;let a=e.infos.some(t=>"symbol"in t&&t.symbol?.type.includes("simple-fill")),n=this.activeLayerInfo.legendElements.some(({type:t})=>t==="relationship-ramp")?"relationship-container":a?"background-styles-container":"container";return i`<div class=${r(n)}>${s}</div>`}_renderElementInfo(e,s){let{layer:a}=this,n="label"in e?e.label:null;if("type"in e&&e.type)return i`<arcgis-legend-card-element .activeLayerInfo=${this.activeLayerInfo} .cssEffectFilter=${this.cssEffectFilter} .stacked=${this.stacked} .headingLevel=${this.headingLevel} .layer=${a} .legendElement=${e} .messages=${this.messages}></arcgis-legend-card-element>`;if(!("preview"in e&&e.preview)&&!("src"in e&&e.src))return null;let t=F(a,s),c=f(this.messages,n,!1)||"";if("src"in e&&e.src){let o={"symbol-cell":this.stacked};return i`<div class=${r(l("layer-row",{"symbol-row":this.stacked}))}><div class=${r(l(o))}>${this._renderImage(e,a,t)}</div><div class=${r(l("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}if("symbol"in e&&e.preview){if(!e.symbol?.type.includes("simple-fill")){if(!e.label)return i`<div>${e.preview}</div>`;let o={"symbol-cell":this.stacked},{preview:d}=e,m="previewAriaLabel"in e?e.previewAriaLabel:null,g="label"in e?f(this.messages,e.label,!1):null;return x(d,$(this.messages,m||g)),i`<div class=${r(l("layer-row",{"symbol-row":this.stacked}))}><div class=${r(l(o))}>${d}</div><div class=${r(l("image-label",{"label-cell":this.stacked}))}>${c}</div></div>`}return i`<div class="layer-row"><div class="label-element" style=${b(this._getBackgroundStyles(e))}>${c}</div></div>`}return null}_renderImage(e,s,a){let{previewAriaLabel:n,src:t,opacity:c}=e,o=f(this.messages,e.label,!1),d={"imagery-layer-stretched-image":a,symbol:!a},m={opacity:`${c??s.opacity}`},g=$(this.messages,n||o);return i`<img alt=${g??p} .ariaLabel=${g} class=${r(l(d))} height=${e.height??void 0??p} src=${t??p} style=${b(m)} width=${e.width??void 0??p}>`}};L("arcgis-legend-card-element",E);return E},"Color",a,c)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import h from"./MWJWKG2I.js";import"./Q5TD3W4O.js";import g from"./6I4BYACE.js";import{a as x}from"./6GCV73ZT.js";import f from"./ZD6U62UH.js";import e from"./6QMDEHMD.js";import"./VAUTZPJM.js";import"./FGXOZY5V.js";import a from"./JIUQ2MYX.js";import"./FWR73QLI.js";import"./MUFZWCGR.js";import{N as S,T as V,a as b,b as c,o as d,p as y,w as u}from"./T3FLTZPV.js";import"./DUIJO5RQ.js";export default $arcgis.t(([{once:N,watch:M},B,,,,E,{a:_}])=>{var q=b`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}`,R=E(B),f=class extends S{constructor(){super(...arguments),this._messages=x({blocking:!0}),this.#t=[],this.#r=[],this.#a=[],this.#e=R(this),this._currentPage=1,this._filterText="",this._isInitialFeatureServiceInvalid=!1,this._mode="browse-services",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.#e.state,this.versioningStates=this.#e.versioningStates,this.view=this.#e.view,this.arcgisReady=u(),this.arcgisVersioningStateChanged=u()}static{this.properties={_currentPage:16,_editVersionInfo:16,_filterText:16,_isInitialFeatureServiceInvalid:16,_loadError:16,_mode:16,_selectedFeatureService:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,initialVersionInfos:0,label:1,messageOverrides:0,mode:1,pageSize:9,referenceElement:1,state:32,versioningStates:0,view:0}}static{this.styles=q}#t;#r;#a;#e;get initialVersionInfos(){return this.#t}set initialVersionInfos(e){this.#t=e.map(i=>({...i,url:this.#y(i.url)}))}async destroy(){await this.manager.destroy()}async load(){N(()=>this.#e.state==="failed"||this.#e.state==="ready").then(()=>{this._loadError||(this.#S(),this._loadError||this.#l())}),this.manager.onLifecycle(()=>[M(()=>this.view?.map,()=>{this.#b()})])}#l(){this.initialVersionInfos.forEach(e=>{try{this.#c(e)}catch(i){y(this)(i)}})}#c(e){let{url:i,name:a}=e,r=this.#e.versioningStateLookup.get(i);if(!r){this._isInitialFeatureServiceInvalid=!0,d("error",this,`No versioning state found for feature service ${i}`);return}let t=r?.versionInfos.find(g=>g.versionIdentifier.name.toUpperCase()===a.toUpperCase());if(!t){this.#r.push(i),this.requestUpdate(),d("error",this,`Version ${a} not found in the versioning state for feature service ${i}`);return}let s=t.versionIdentifier,l=r?.currentVersionInfo?.versionIdentifier;s.guid!==l?.guid&&this.#e.changeVersion(i,s.name,s.guid)}#s(e){let{_messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-version-management-service-found":return i.loadErrors.noVersionManagementServiceFound;case"no-view-property":return i.loadErrors.noViewProperty;case"webmap-failed-to-load":return i.loadErrors.webmapFailedToLoad;default:return e}}#i(e){let{_messages:i}=this,a=!1,r,t,s;switch(e){case"invalid-feature-service":a=!0,r=i.loadErrors.invalidInitialFeatureService,t=this.#w,s=i.headers.invalidInitialFeatureService;break;case"no-version-management-service-found":r=this.#s("no-version-management-service-found");break;case"view-model-load":r=this.#s(this.#e.loadError??"");break;case"webmap-load":r=this.#s("webmap-failed-to-load");break}return c`<calcite-notice .closable=${a} icon kind=warning open scale=s width=full @calciteNoticeClose=${t}>${s?c`<div slot=title>${s}</div>`:void 0}<div slot=message>${r}</div></calcite-notice>`}async#d(e){e.stopPropagation();let{alterVersionParameters:i}=e.detail;await this.#e.alterVersion(i).finally(()=>{this._mode="browse-versions"})&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:i.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(i.featureServerUrl)})}async#g(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{createVersionParameters:a,switchToVersion:r}=e.detail,t=await this.#e.createVersion(a).finally(()=>{this._mode="browse-versions"});t&&(i.emit({type:"version-created",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)}),r&&await this.#e.changeVersion(a.featureServerUrl,t.versionIdentifier.name,t.versionIdentifier.guid).then(s=>{s&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)})}))}#v(e){e.stopPropagation(),this._mode="browse-versions",this._editVersionInfo=void 0}async#h(e){e.stopPropagation(),await this.#e.getVersionInfos(e.detail.serviceUrl)}#p(e){e.stopPropagation(),this._filterText=e.detail.filterText,this.#n()}async#o(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{actionType:a,serviceUrl:r,versionInfo:t}=e.detail;switch(a){case"changeVersion":{await this.#e.changeVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"deleteVersion":{await this.#e.deleteVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"editVersion":{this._mode="edit-version",this._editVersionInfo={...e.detail.versionInfo};break}}}#m(e){e.stopPropagation(),this._mode="create-version"}#u(e){e.stopPropagation(),this._currentPage=e.detail.currentPage}#f(e){e.detail.name==="selectedFeatureService"&&(this._selectedFeatureService=e.target.selectedFeatureService,this._mode="browse-versions",this.#n())}#w(){this._isInitialFeatureServiceInvalid=!1}#$(){this._mode="browse-services"}#I(){this._mode="browse-versions",this._editVersionInfo=void 0}async#b(){let e=this.view?.map;try{e.loaded||await e.load()}catch(i){this._loadError="webmap-failed-to-load",_(i,this,"Error while loading 'view.map'")}}#y(e){return e.replace(/\/+$/u,"")}#n(){this._currentPage=1}#S(){if(!this.#e?.versioningStateLookup.size){this._loadError="no-version-management-service-found",d("error",this,"No version management service found");return}this.#e?.versioningStateLookup.forEach((e,i)=>{e.loadStatus==="failed"&&(this.#a.push(i),d("error",this,`Failed to load versioning state for feature service ${i}`))}),this.requestUpdate()}render(){let{_currentPage:e,_editVersionInfo:i,_filterText:a,_messages:r,_mode:t,_selectedFeatureService:s,closable:l,label:g,pageSize:v,state:o}=this,k=this._loadError==="webmap-failed-to-load"?this.#i("webmap-load"):void 0,F=o==="disabled"&&this.#e.loadError?this.#i("view-model-load"):void 0,P=this._loadError==="no-version-management-service-found"?this.#i("no-version-management-service-found"):void 0,U=this._isInitialFeatureServiceInvalid?this.#i("invalid-feature-service"):void 0,L=Array.from(this.#e.serviceNameLookup,([n,A])=>({url:n,name:A})),h=s?.url??"",w=this.#e?.versioningStateLookup.get(h),p=w?.versionInfos??[],C=w?.currentVersionInfo??void 0,D=p.length<=v,m=a===""?p:p.filter(n=>n.versionIdentifier.name.toUpperCase().includes(a.toUpperCase())||n.versionIdentifier.guid.toUpperCase().includes(a.toUpperCase())),$=m.slice((e-1)*v,e*v);$.length===0&&this.#n();let I=this.#e.userLookup.get(h),T=this.#e.versionAdministratorLookup.get(h),z=(this.#e.serverVersionLookup.get(h)??0)>=11.2;return c`<calcite-flow><calcite-flow-item .closable=${l} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-services"}>${k}${F}${P}${U}${L.map(n=>c`<arcgis-version-management-service-item .allowEditingDisabled=${this.allowEditingDisabled} .invalidInitialVersion=${this.#r.includes(n.url)} .messages=${r} .selectedFeatureService=${s} .serviceName=${n.name} .serviceUrl=${n.url} .versioningStateFailedToLoad=${this.#a.includes(n.url)} .viewModel=${this.#e} @arcgisInternalManageVersion=${this.#o} @arcgisPropertyChange=${this.#f}></arcgis-version-management-service-item>`)}</calcite-flow-item><calcite-flow-item .closable=${l} .description=${s?.name} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-versions"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#$()}}><arcgis-version-management-version-list .currentPage=${e} .currentUser=${I} .currentVersionInfo=${C} .executionError=${this.#e.executionError??void 0} .featureServiceName=${s?.name} .featureServiceUrl=${s?.url} .hideFilter=${D} .isVersionAdministrator=${T} .isVersioningApiAvailable=${z} .messages=${r} .mode=${t} .totalPages=${Math.ceil(m.length/v)} .totalVersions=${m.length} .versionInfos=${$} @arcgisInternalFilterVersions=${this.#p} @arcgisInternalGetVersions=${this.#h} @arcgisInternalManageVersion=${this.#o} @arcgisInternalNewVersion=${this.#m} @arcgisInternalPageChange=${this.#u}></arcgis-version-management-version-list></calcite-flow-item><calcite-flow-item .closable=${l} .description=${t==="create-version"?"":i?.versionIdentifier.name} .heading=${t==="create-version"?r?.actions.newVersion:r?.actions.editVersion} .loading=${o==="loading"||o==="executing"} .selected=${t==="create-version"||t==="edit-version"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#I()}}><arcgis-version-management-version-properties .currentUser=${I} .editVersionInfo=${i} .featureServiceUrl=${s?.url} .messages=${r} .mode=${t} @arcgisInternalAlterVersion=${this.#d} @arcgisInternalCreateVersion=${this.#g} @arcgisInternalDiscardEdits=${this.#v}></arcgis-version-management-version-properties></calcite-flow-item></calcite-flow>`}};V("arcgis-version-management",f);return f},"core/reactiveUtils","versionManagement/VersionManager",a,e,f,g,h)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import h from"./A3DPBGUE.js";import"./VJVKFKSG.js";import g from"./IE7XJM27.js";import{a as x}from"./5UVZPECS.js";import f from"./WFPR2VUW.js";import e from"./YOIVWFJK.js";import"./6ERK6Z6K.js";import"./M6LV7VM5.js";import a from"./JVC76RB3.js";import"./QUZTFUWM.js";import"./HYRFW7KG.js";import{N as S,T as V,a as b,b as c,o as d,p as y,w as u}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{once:N,watch:M},B,,,,E,{a:_}])=>{var q=b`:host{--arcgis-internal-color-black-30: color-mix(in srgb, #000000 30.2%, transparent);--arcgis-internal-box-shadow: var(--calcite-spacing-none) var(--calcite-spacing-px) var(--calcite-spacing-base) var(--arcgis-internal-color-black-30);--arcgis-internal-top-max-width: calc(min(100cqw, 100vw) - var(--calcite-spacing-xxxl));--arcgis-internal-panel-width: 300px;--arcgis-internal-panel-height: 100%;--arcgis-internal-panel-height-sm: 240px;--arcgis-internal-panel-height-md: 420px;--arcgis-internal-panel-height-lg: 540px;--arcgis-internal-panel-height-xl: 680px;--arcgis-internal-panel-gap: var(--calcite-spacing-lg);--arcgis-internal-panel-actions-gap: var(--calcite-spacing-sm);--arcgis-internal-basemap-gallery-width-lg: 450px;--arcgis-internal-collapse-icon-flip: scaleX(1);--arcgis-internal-row-direction: row;--arcgis-internal-legend-width: 300px;--arcgis-internal-layout-overlay-space-top: var(--arcgis-layout-overlay-space-top, 0px);--arcgis-internal-layout-overlay-space-bottom: var(--arcgis-layout-overlay-space-bottom, 0px);--arcgis-internal-layout-overlay-space-left: var(--arcgis-layout-overlay-space-left, 0px);--arcgis-internal-layout-overlay-space-right: var(--arcgis-layout-overlay-space-right, 0px);--arcgis-internal-view-color-focus: var(--arcgis-view-color-focus, var(--calcite-color-brand));--arcgis-internal-attribution-space-bottom: var(--arcgis-internal-layout-overlay-space-bottom);--arcgis-internal-attribution-space-left: var(--arcgis-internal-layout-overlay-space-left);--arcgis-internal-attribution-space-right: var(--arcgis-internal-layout-overlay-space-right);--arcgis-internal-attribution-font-size: var(--calcite-font-size-sm);--arcgis-internal-attribution-font-size-sm: var(--calcite-font-size-xs);--arcgis-internal-sketch-justify-content: flex-start}:host{display:flex;flex-direction:column;height:var(--arcgis-internal-panel-height, 100%)}calcite-notice{background-color:var(--calcite-color-surface-2);padding:var(--calcite-space-sm)}`,R=E(B),f=class extends S{constructor(){super(...arguments),this._messages=x({blocking:!0}),this.#t=[],this.#r=[],this.#a=[],this.#e=R(this),this._currentPage=1,this._filterText="",this._isInitialFeatureServiceInvalid=!1,this._mode="browse-services",this.allowEditingDisabled=!1,this.autoDestroyDisabled=!1,this.closable=!1,this.pageSize=5,this.state=this.#e.state,this.versioningStates=this.#e.versioningStates,this.view=this.#e.view,this.arcgisReady=u(),this.arcgisVersioningStateChanged=u()}static{this.properties={_currentPage:16,_editVersionInfo:16,_filterText:16,_isInitialFeatureServiceInvalid:16,_loadError:16,_mode:16,_selectedFeatureService:16,allowEditingDisabled:5,autoDestroyDisabled:5,closable:7,icon:1,initialVersionInfos:0,label:1,messageOverrides:0,mode:1,pageSize:9,referenceElement:1,state:32,versioningStates:0,view:0}}static{this.styles=q}#t;#r;#a;#e;get initialVersionInfos(){return this.#t}set initialVersionInfos(e){this.#t=e.map(i=>({...i,url:this.#y(i.url)}))}async destroy(){await this.manager.destroy()}async load(){N(()=>this.#e.state==="failed"||this.#e.state==="ready").then(()=>{this._loadError||(this.#S(),this._loadError||this.#l())}),this.manager.onLifecycle(()=>[M(()=>this.view?.map,()=>{this.#b()})])}#l(){this.initialVersionInfos.forEach(e=>{try{this.#c(e)}catch(i){y(this)(i)}})}#c(e){let{url:i,name:a}=e,r=this.#e.versioningStateLookup.get(i);if(!r){this._isInitialFeatureServiceInvalid=!0,d("error",this,`No versioning state found for feature service ${i}`);return}let t=r?.versionInfos.find(g=>g.versionIdentifier.name.toUpperCase()===a.toUpperCase());if(!t){this.#r.push(i),this.requestUpdate(),d("error",this,`Version ${a} not found in the versioning state for feature service ${i}`);return}let s=t.versionIdentifier,l=r?.currentVersionInfo?.versionIdentifier;s.guid!==l?.guid&&this.#e.changeVersion(i,s.name,s.guid)}#s(e){let{_messages:i}=this;switch(e){case"no-feature-services":return i.loadErrors.noFeatureServices;case"no-version-management-service-found":return i.loadErrors.noVersionManagementServiceFound;case"no-view-property":return i.loadErrors.noViewProperty;case"webmap-failed-to-load":return i.loadErrors.webmapFailedToLoad;default:return e}}#i(e){let{_messages:i}=this,a=!1,r,t,s;switch(e){case"invalid-feature-service":a=!0,r=i.loadErrors.invalidInitialFeatureService,t=this.#w,s=i.headers.invalidInitialFeatureService;break;case"no-version-management-service-found":r=this.#s("no-version-management-service-found");break;case"view-model-load":r=this.#s(this.#e.loadError??"");break;case"webmap-load":r=this.#s("webmap-failed-to-load");break}return c`<calcite-notice .closable=${a} icon kind=warning open scale=s width=full @calciteNoticeClose=${t}>${s?c`<div slot=title>${s}</div>`:void 0}<div slot=message>${r}</div></calcite-notice>`}async#d(e){e.stopPropagation();let{alterVersionParameters:i}=e.detail;await this.#e.alterVersion(i).finally(()=>{this._mode="browse-versions"})&&this.arcgisVersioningStateChanged.emit({type:"version-changed",versionIdentifier:i.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(i.featureServerUrl)})}async#g(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{createVersionParameters:a,switchToVersion:r}=e.detail,t=await this.#e.createVersion(a).finally(()=>{this._mode="browse-versions"});t&&(i.emit({type:"version-created",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)}),r&&await this.#e.changeVersion(a.featureServerUrl,t.versionIdentifier.name,t.versionIdentifier.guid).then(s=>{s&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(a.featureServerUrl)})}))}#v(e){e.stopPropagation(),this._mode="browse-versions",this._editVersionInfo=void 0}async#h(e){e.stopPropagation(),await this.#e.getVersionInfos(e.detail.serviceUrl)}#p(e){e.stopPropagation(),this._filterText=e.detail.filterText,this.#n()}async#o(e){e.stopPropagation();let{arcgisVersioningStateChanged:i}=this,{actionType:a,serviceUrl:r,versionInfo:t}=e.detail;switch(a){case"changeVersion":{await this.#e.changeVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-switched",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"deleteVersion":{await this.#e.deleteVersion(r,t.versionIdentifier.name,t.versionIdentifier.guid)&&i.emit({type:"version-deleted",versionIdentifier:t.versionIdentifier,versioningState:this.#e.versioningStateLookup.get(r)});break}case"editVersion":{this._mode="edit-version",this._editVersionInfo={...e.detail.versionInfo};break}}}#m(e){e.stopPropagation(),this._mode="create-version"}#u(e){e.stopPropagation(),this._currentPage=e.detail.currentPage}#f(e){e.detail.name==="selectedFeatureService"&&(this._selectedFeatureService=e.target.selectedFeatureService,this._mode="browse-versions",this.#n())}#w(){this._isInitialFeatureServiceInvalid=!1}#$(){this._mode="browse-services"}#I(){this._mode="browse-versions",this._editVersionInfo=void 0}async#b(){let e=this.view?.map;try{e.loaded||await e.load()}catch(i){this._loadError="webmap-failed-to-load",_(i,this,"Error while loading 'view.map'")}}#y(e){return e.replace(/\/+$/u,"")}#n(){this._currentPage=1}#S(){if(!this.#e?.versioningStateLookup.size){this._loadError="no-version-management-service-found",d("error",this,"No version management service found");return}this.#e?.versioningStateLookup.forEach((e,i)=>{e.loadStatus==="failed"&&(this.#a.push(i),d("error",this,`Failed to load versioning state for feature service ${i}`))}),this.requestUpdate()}render(){let{_currentPage:e,_editVersionInfo:i,_filterText:a,_messages:r,_mode:t,_selectedFeatureService:s,closable:l,label:g,pageSize:v,state:o}=this,k=this._loadError==="webmap-failed-to-load"?this.#i("webmap-load"):void 0,F=o==="disabled"&&this.#e.loadError?this.#i("view-model-load"):void 0,P=this._loadError==="no-version-management-service-found"?this.#i("no-version-management-service-found"):void 0,U=this._isInitialFeatureServiceInvalid?this.#i("invalid-feature-service"):void 0,L=Array.from(this.#e.serviceNameLookup,([n,A])=>({url:n,name:A})),h=s?.url??"",w=this.#e?.versioningStateLookup.get(h),p=w?.versionInfos??[],C=w?.currentVersionInfo??void 0,D=p.length<=v,m=a===""?p:p.filter(n=>n.versionIdentifier.name.toUpperCase().includes(a.toUpperCase())||n.versionIdentifier.guid.toUpperCase().includes(a.toUpperCase())),$=m.slice((e-1)*v,e*v);$.length===0&&this.#n();let I=this.#e.userLookup.get(h),T=this.#e.versionAdministratorLookup.get(h),z=(this.#e.serverVersionLookup.get(h)??0)>=11.2;return c`<calcite-flow><calcite-flow-item .closable=${l} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-services"}>${k}${F}${P}${U}${L.map(n=>c`<arcgis-version-management-service-item .allowEditingDisabled=${this.allowEditingDisabled} .invalidInitialVersion=${this.#r.includes(n.url)} .messages=${r} .selectedFeatureService=${s} .serviceName=${n.name} .serviceUrl=${n.url} .versioningStateFailedToLoad=${this.#a.includes(n.url)} .viewModel=${this.#e} @arcgisInternalManageVersion=${this.#o} @arcgisPropertyChange=${this.#f}></arcgis-version-management-service-item>`)}</calcite-flow-item><calcite-flow-item .closable=${l} .description=${s?.name} .heading=${g} .loading=${o==="loading"||o==="executing"} .selected=${t==="browse-versions"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#$()}}><arcgis-version-management-version-list .currentPage=${e} .currentUser=${I} .currentVersionInfo=${C} .executionError=${this.#e.executionError??void 0} .featureServiceName=${s?.name} .featureServiceUrl=${s?.url} .hideFilter=${D} .isVersionAdministrator=${T} .isVersioningApiAvailable=${z} .messages=${r} .mode=${t} .totalPages=${Math.ceil(m.length/v)} .totalVersions=${m.length} .versionInfos=${$} @arcgisInternalFilterVersions=${this.#p} @arcgisInternalGetVersions=${this.#h} @arcgisInternalManageVersion=${this.#o} @arcgisInternalNewVersion=${this.#m} @arcgisInternalPageChange=${this.#u}></arcgis-version-management-version-list></calcite-flow-item><calcite-flow-item .closable=${l} .description=${t==="create-version"?"":i?.versionIdentifier.name} .heading=${t==="create-version"?r?.actions.newVersion:r?.actions.editVersion} .loading=${o==="loading"||o==="executing"} .selected=${t==="create-version"||t==="edit-version"} @calciteFlowItemBack=${n=>{n.preventDefault(),this.#I()}}><arcgis-version-management-version-properties .currentUser=${I} .editVersionInfo=${i} .featureServiceUrl=${s?.url} .messages=${r} .mode=${t} @arcgisInternalAlterVersion=${this.#d} @arcgisInternalCreateVersion=${this.#g} @arcgisInternalDiscardEdits=${this.#v}></arcgis-version-management-version-properties></calcite-flow-item></calcite-flow>`}};V("arcgis-version-management",f);return f},"core/reactiveUtils","versionManagement/VersionManager",a,e,f,g,h)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import a from"./L7DKVYKJ.js";export default $arcgis.t(([{formatNumber:o,substitute:l},{a:i}])=>{var u=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/iu;function p(e,r,n){switch(r){case"heatmap-ramp":return(n[e.label]||e.label)??null;case"stretch-ramp":let t="value"in e?e.value:void 0,a=e.label?n[e.label]:"";return a?`${a}: ${typeof t=="string"?t:o(t??0,{style:"decimal",notation:t?.toString().toLowerCase().includes("e")?"scientific":"standard"})}`:"";default:return e.label??null}}function b(e,r){return!!(r&&r==="Stretched"&&"version"in e&&typeof e.version=="number"&&e.version>=10.3&&e.declaredClass==="esri.layers.ImageryLayer")}function d(e){return e?e/72*96:0}function c(e){return e?e*72/96:0}function v(e){if(typeof e=="string"){let r=e.match(u);if(r){let n=Number(r[1]),t=r[3]?.toLowerCase(),a=e.startsWith("-"),s=t==="px"?c(n):n;return a?-s:s}return null}return e}function g(e,r){let n=i(e,r,!1),t=n?e.previewTemplateAriaLabel:e.previewAriaLabel;return l(t??"",{label:n})}function y(e,r){if(!r||!e)return;let n=e.querySelector("svg")??e.querySelector("canvas")??e;!(n instanceof SVGElement)&&!n.hasAttribute("role")&&n.setAttribute("role","img"),n.setAttribute("aria-label",r)}return{a:p,b:b,c:d,d:v,e:g,f:y}},"intl",a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./YU5BTZEI.js";export default $arcgis.t(([{formatNumber:o,substitute:l},{a:i}])=>{var u=/^-?(\d+(\.\d+)?)\s*((px)|(pt))?$/iu;function p(e,r,n){switch(r){case"heatmap-ramp":return(n[e.label]||e.label)??null;case"stretch-ramp":let t="value"in e?e.value:void 0,a=e.label?n[e.label]:"";return a?`${a}: ${typeof t=="string"?t:o(t??0,{style:"decimal",notation:t?.toString().toLowerCase().includes("e")?"scientific":"standard"})}`:"";default:return e.label??null}}function b(e,r){return!!(r&&r==="Stretched"&&"version"in e&&typeof e.version=="number"&&e.version>=10.3&&e.declaredClass==="esri.layers.ImageryLayer")}function d(e){return e?e/72*96:0}function c(e){return e?e*72/96:0}function v(e){if(typeof e=="string"){let r=e.match(u);if(r){let n=Number(r[1]),t=r[3]?.toLowerCase(),a=e.startsWith("-"),s=t==="px"?c(n):n;return a?-s:s}return null}return e}function g(e,r){let n=i(e,r,!1),t=n?e.previewTemplateAriaLabel:e.previewAriaLabel;return l(t??"",{label:n})}function y(e,r){if(!r||!e)return;let n=e.querySelector("svg")??e.querySelector("canvas")??e;!(n instanceof SVGElement)&&!n.hasAttribute("role")&&n.setAttribute("role","img"),n.setAttribute("aria-label",r)}return{a:p,b:b,c:d,d:v,e:g,f:y}},"intl",a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import{C as k,D as w,E as V,F as m,G as h,H as A,I as D,J as y,e as P}from"./T3FLTZPV.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{C as k,D as w,E as V,F as m,G as h,H as A,I as D,J as y,e as P}from"./RM4OPQBM.js";var b=(s,f,c)=>{let p=new Map;for(let e=f;e<=c;e++)p.set(s[e],e);return p},I=w(class extends V{constructor(s){if(super(s),s.type!==k.CHILD)throw Error("repeat() can only be used in text expressions")}dt(s,f,c){let p;c===void 0?c=f:f!==void 0&&(p=f);let e=[],n=[],o=0;for(let a of s)e[o]=p?p(a,o):o,n[o]=c(a,o),o++;return{values:n,keys:e}}render(s,f,c){return this.dt(s,f,c).values}update(s,[f,c,p]){let e=D(s),{values:n,keys:o}=this.dt(f,c,p);if(!Array.isArray(e))return this.ut=o,n;let a=this.ut??=[],u=[],v,g,t=0,l=e.length-1,r=0,i=n.length-1;for(;t<=l&&r<=i;)if(e[t]===null)t++;else if(e[l]===null)l--;else if(a[t]===o[r])u[r]=h(e[t],n[r]),t++,r++;else if(a[l]===o[i])u[i]=h(e[l],n[i]),l--,i--;else if(a[t]===o[i])u[i]=h(e[t],n[i]),m(s,u[i+1],e[t]),t++,i--;else if(a[l]===o[r])u[r]=h(e[l],n[r]),m(s,e[t],e[l]),l--,r++;else if(v===void 0&&(v=b(o,r,i),g=b(a,t,l)),v.has(a[t]))if(v.has(a[l])){let d=g.get(o[r]),x=d!==void 0?e[d]:null;if(x===null){let C=m(s,e[t]);h(C,n[r]),u[r]=C}else u[r]=h(x,n[r]),m(s,e[t],x),e[d]=null;r++}else y(e[l]),l--;else y(e[t]),t++;for(;r<=i;){let d=m(s,u[i+1]);h(d,n[r]),u[r++]=d}for(;t<=l;){let d=e[t++];d!==null&&y(d)}return this.ut=o,A(s,u),P}});export{I as a};
@@ -0,0 +1,2 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./NPIJLONQ.js";import"./E3ILZB5S.js";import"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([a])=>{return a},a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import a from"./JIUQ2MYX.js";import"./MUFZWCGR.js";import{N as l,T as h,b as r,w as n}from"./T3FLTZPV.js";import"./DUIJO5RQ.js";export default $arcgis.t(([{b:d}])=>{var o=class extends l{constructor(){super(...arguments),this.#e={access:void 0,description:void 0,featureServerUrl:"",ownerName:void 0,versionName:void 0,versionIdentifier:{name:"",guid:""}},this.#t={access:"public",description:"",featureServerUrl:"",ownerName:"",versionName:""},this.#i=!0,this.mode="browse-versions",this.arcgisInternalAlterVersion=n(),this.arcgisInternalCreateVersion=n(),this.arcgisInternalDiscardEdits=n()}static{this.properties={_validationError:16,currentUser:1,editVersionInfo:0,featureServiceUrl:1,messages:0,mode:1}}#e;#t;#i;willUpdate(t){let{editVersionInfo:i,featureServiceUrl:e}=this;if(t.has("currentUser")&&(this.#t.ownerName=this.currentUser??""),t.has("featureServiceUrl")&&(this.#t.featureServerUrl=e??""),t.has("editVersionInfo")){let s=i?.versionIdentifier.name,a=s?.substring(0,s.lastIndexOf(".")),c=s?.substring(s.lastIndexOf(".")+1);this.#e={...this.#e,access:i?.access,description:i?.description,featureServerUrl:e??"",ownerName:a,versionName:c,versionIdentifier:i?.versionIdentifier??{name:"",guid:""}}}t.has("mode")&&this.#r()}#a(){this.arcgisInternalDiscardEdits.emit(),this.#r()}#s(t){let{mode:i}=this;switch(t.type){case"calciteChipGroupSelect":{let e=t.target.selectedItems[0].label;i==="create-version"&&(this.#t.access=e),i==="edit-version"&&(this.#e.access=e);break}case"calciteInputTextInput":{let e=t.target.name,s=t.target.value;i==="create-version"&&(e==="versionName"||e==="ownerName")&&(this.#t[e]=s),i==="edit-version"&&(e==="versionName"||e==="ownerName")&&(this.#e[e]=s);break}case"calciteTextAreaInput":{let e=t.target.value;i==="create-version"&&(this.#t.description=e),i==="edit-version"&&(this.#e.description=e);break}}}#c(){let{messages:t,mode:i}=this,e=i==="create-version"?this.#t?.versionName?.trim()??"":this.#e?.versionName?.trim()??"",s=d(e),a=[".",";","'",'"'].some(c=>e.includes(c));if(s){this._validationError=t?.validationErrors.emptyVersionName;return}if(a){this._validationError=t?.validationErrors.invalidCharacters;return}i==="create-version"&&this.arcgisInternalCreateVersion.emit({createVersionParameters:this.#t,switchToVersion:this.#i}),i==="edit-version"&&this.arcgisInternalAlterVersion.emit({alterVersionParameters:this.#e}),this.#r()}#n(t){this.#i=t.target.checked}#r(){this.#t={...this.#t,access:"public",description:"",ownerName:this.currentUser,versionName:""},this.editVersionInfo=void 0,this.#i=!0,this._validationError=void 0}render(){let{_validationError:t,currentUser:i,messages:e,mode:s}=this,a=r`<calcite-label>${e?.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${s==="create-version"?this.#t?.versionName:this.#e?.versionName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,c=r`<calcite-label>${e?.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${s==="create-version"?this.#t?.description:this.#e?.description} @calciteTextAreaInput=${this.#s}></calcite-text-area></calcite-label>`,v=r`<calcite-label>${e?.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this.#s} selection-mode=single-persist><calcite-chip .selected=${this.#e.access==="public"||s==="create-version"} label=public>${e?.accessLevels.public}</calcite-chip><calcite-chip .selected=${this.#e.access==="protected"} label=protected>${e?.accessLevels.protected}</calcite-chip><calcite-chip .selected=${this.#e.access==="private"} label=private>${e?.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,p=r`<calcite-label>${e?.input.versionOwner}<calcite-input-text name=ownerName .value=${s==="create-version"?i:this.#e.ownerName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,m=s==="create-version"?r`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this.#n}></calcite-checkbox>${e?.actions.switchToVersion}</calcite-label>`:void 0,u=t?r`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${()=>{this._validationError=void 0}}><div slot=message>${t}</div></calcite-notice>`:void 0,b=r`<calcite-button appearance=outline slot=footer width=full @click=${this.#a}>${e?.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this.#c}>${e?.actions.saveVersion}</calcite-button>`;return r`<calcite-panel><calcite-block expanded .label=${e?.headers.versionProperties}>${a}${c}${v}${p}${m}${u}</calcite-block>${b}</calcite-panel>`}};h("arcgis-version-management-version-properties",o);return o},a)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import a from"./JVC76RB3.js";import"./HYRFW7KG.js";import{N as l,T as h,b as r,w as n}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([{b:d}])=>{var o=class extends l{constructor(){super(...arguments),this.#e={access:void 0,description:void 0,featureServerUrl:"",ownerName:void 0,versionName:void 0,versionIdentifier:{name:"",guid:""}},this.#t={access:"public",description:"",featureServerUrl:"",ownerName:"",versionName:""},this.#i=!0,this.mode="browse-versions",this.arcgisInternalAlterVersion=n(),this.arcgisInternalCreateVersion=n(),this.arcgisInternalDiscardEdits=n()}static{this.properties={_validationError:16,currentUser:1,editVersionInfo:0,featureServiceUrl:1,messages:0,mode:1}}#e;#t;#i;willUpdate(t){let{editVersionInfo:i,featureServiceUrl:e}=this;if(t.has("currentUser")&&(this.#t.ownerName=this.currentUser??""),t.has("featureServiceUrl")&&(this.#t.featureServerUrl=e??""),t.has("editVersionInfo")){let s=i?.versionIdentifier.name,a=s?.substring(0,s.lastIndexOf(".")),c=s?.substring(s.lastIndexOf(".")+1);this.#e={...this.#e,access:i?.access,description:i?.description,featureServerUrl:e??"",ownerName:a,versionName:c,versionIdentifier:i?.versionIdentifier??{name:"",guid:""}}}t.has("mode")&&this.#r()}#a(){this.arcgisInternalDiscardEdits.emit(),this.#r()}#s(t){let{mode:i}=this;switch(t.type){case"calciteChipGroupSelect":{let e=t.target.selectedItems[0].label;i==="create-version"&&(this.#t.access=e),i==="edit-version"&&(this.#e.access=e);break}case"calciteInputTextInput":{let e=t.target.name,s=t.target.value;i==="create-version"&&(e==="versionName"||e==="ownerName")&&(this.#t[e]=s),i==="edit-version"&&(e==="versionName"||e==="ownerName")&&(this.#e[e]=s);break}case"calciteTextAreaInput":{let e=t.target.value;i==="create-version"&&(this.#t.description=e),i==="edit-version"&&(this.#e.description=e);break}}}#c(){let{messages:t,mode:i}=this,e=i==="create-version"?this.#t?.versionName?.trim()??"":this.#e?.versionName?.trim()??"",s=d(e),a=[".",";","'",'"'].some(c=>e.includes(c));if(s){this._validationError=t?.validationErrors.emptyVersionName;return}if(a){this._validationError=t?.validationErrors.invalidCharacters;return}i==="create-version"&&this.arcgisInternalCreateVersion.emit({createVersionParameters:this.#t,switchToVersion:this.#i}),i==="edit-version"&&this.arcgisInternalAlterVersion.emit({alterVersionParameters:this.#e}),this.#r()}#n(t){this.#i=t.target.checked}#r(){this.#t={...this.#t,access:"public",description:"",ownerName:this.currentUser,versionName:""},this.editVersionInfo=void 0,this.#i=!0,this._validationError=void 0}render(){let{_validationError:t,currentUser:i,messages:e,mode:s}=this,a=r`<calcite-label>${e?.input.versionName}<calcite-input-text max-length=62 name=versionName .value=${s==="create-version"?this.#t?.versionName:this.#e?.versionName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,c=r`<calcite-label>${e?.input.versionDescription}<calcite-text-area limit-text max-length=64 name=description resize=none rows=2 scale=s .value=${s==="create-version"?this.#t?.description:this.#e?.description} @calciteTextAreaInput=${this.#s}></calcite-text-area></calcite-label>`,v=r`<calcite-label>${e?.input.versionAccess}<calcite-chip-group label=access @calciteChipGroupSelect=${this.#s} selection-mode=single-persist><calcite-chip .selected=${this.#e.access==="public"||s==="create-version"} label=public>${e?.accessLevels.public}</calcite-chip><calcite-chip .selected=${this.#e.access==="protected"} label=protected>${e?.accessLevels.protected}</calcite-chip><calcite-chip .selected=${this.#e.access==="private"} label=private>${e?.accessLevels.private}</calcite-chip></calcite-chip-group></calcite-label>`,p=r`<calcite-label>${e?.input.versionOwner}<calcite-input-text name=ownerName .value=${s==="create-version"?i:this.#e.ownerName} @calciteInputTextInput=${this.#s}></calcite-input-text></calcite-label>`,m=s==="create-version"?r`<calcite-label layout=inline><calcite-checkbox checked name=switchToVersion @calciteCheckboxChange=${this.#n}></calcite-checkbox>${e?.actions.switchToVersion}</calcite-label>`:void 0,u=t?r`<calcite-notice closable kind=warning open scale=s width=full @calciteNoticeClose=${()=>{this._validationError=void 0}}><div slot=message>${t}</div></calcite-notice>`:void 0,b=r`<calcite-button appearance=outline slot=footer width=full @click=${this.#a}>${e?.actions.cancelSave}</calcite-button><calcite-button appearance=solid slot=footer width=full @click=${this.#c}>${e?.actions.saveVersion}</calcite-button>`;return r`<calcite-panel><calcite-block expanded .label=${e?.headers.versionProperties}>${a}${c}${v}${p}${m}${u}</calcite-block>${b}</calcite-panel>`}};h("arcgis-version-management-version-properties",o);return o},a)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import{a as h}from"./WNKDZ6CS.js";import{L as r,M as c,N as u,O as l,T as d,b as a}from"./T3FLTZPV.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.currentTarget)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as h}from"./E3ILZB5S.js";import{L as r,M as c,N as u,O as l,T as d,b as a}from"./RM4OPQBM.js";export default $arcgis.t(([{createReactiveMap:v},{watch:m},{substitute:F}])=>{var o=class extends u{constructor(){super(...arguments),this._associationFeaturesIntersectionObserver=new IntersectionObserver(([t])=>{t?.isIntersecting&&this._increaseFeaturePage()},{root:window.document}),this._associationFeaturesIntersectionObserverNode=r(),this._currentFeaturePage=1,this._increaseFeaturePage=()=>{let{state:t,showAllEnabled:e,associatedFeatureCount:i,featuresPerPage:s,currentFeaturePage:n}=this;t==="ready"&&e&&i>=s*n&&this.currentFeaturePage++},this._isFeatureCountNoticeOpen=!0,this.associationViewModels=new Map,this.featuresPerPage=50,this.maxFeatureCount=1e3,this.showAllEnabled=!1,this.state="ready",this.tooltipReferenceMap=v()}static{this.properties={associatedFeatureCount:32,associationViewModels:0,currentFeaturePage:9,featuresPerPage:9,maxFeatureCount:9,messages:0,parentFeatureViewModel:0,selectedLayer:0,showAllEnabled:5,state:1,tooltipReferenceMap:0}}get associatedFeatureCount(){let t=this.associationViewModels,e=this.selectedLayer?t.get(this.selectedLayer):null;return e?e.length:0}get currentFeaturePage(){return this._currentFeaturePage}set currentFeaturePage(t){let{featuresPerPage:e,associatedFeatureCount:i}=this,s=Math.ceil(i/e)||1,n=Math.max(Math.min(t,s),1);this._currentFeaturePage=n}loaded(){this.manager.onLifecycle(()=>[m(()=>[this.state,this.showAllEnabled,this._associationFeaturesIntersectionObserverNode],()=>{this._handleAssociationFeaturesObserverChange()},{initial:!0})])}getConnectivityTooltip(t){let{messages:e}=this;if(!e)return"";switch(t){case"connectivity":case"junction-junction-connectivity":return e.associationsJunctionJunction;case"junction-edge-from-connectivity":return e.associationsJunctionEdgeFrom;case"junction-edge-midspan-connectivity":return e.associationsJunctionEdgeMidspan;case"junction-edge-to-connectivity":return e.associationsJunctionEdgeTo;default:return""}}_handleAssociationFeaturesObserverChange(){this._unobserveAssociationFeaturesObserver();let{state:t,showAllEnabled:e}=this;this._associationFeaturesIntersectionObserverNode.value&&t==="ready"&&e&&this._associationFeaturesIntersectionObserver.observe(this._associationFeaturesIntersectionObserverNode.value)}_unobserveAssociationFeaturesObserver(){this._associationFeaturesIntersectionObserverNode.value&&this._associationFeaturesIntersectionObserver.unobserve(this._associationFeaturesIntersectionObserverNode.value)}_renderConnectivityIcon(t,e){let{tooltipReferenceMap:i}=this,s;switch(t){case"junction-edge-from-connectivity":s="connection-end-left";break;case"junction-edge-to-connectivity":s="connection-end-right";break;case"junction-edge-midspan-connectivity":s="connection-middle";break;default:s="connection-to-connection"}return a`<calcite-icon .icon=${s} @pointerover=${n=>{i.set(e,n.currentTarget)}} scale=s slot=content-start></calcite-icon>`}_renderFeatureCountWarning(){let{associatedFeatureCount:t,maxFeatureCount:e,messages:i}=this,s=F(i?.associationsLimitNoticeMessage??"",{number:e}),n=t>e,g=i?.associationsLimitNoticeTitle??"";return n?a`<calcite-notice class=${l(this._isFeatureCountNoticeOpen?"notice-container":"")} closable icon=information kind=info open scale=s width=full @calciteNoticeBeforeOpen=${()=>this._isFeatureCountNoticeOpen=!0} @calciteNoticeClose=${()=>this._isFeatureCountNoticeOpen=!1}><div slot=title>${g}</div><div slot=message>${s}</div></calcite-notice>`:null}_renderFeatureObserver(){return a`<div class="feature-observer" ${c(this._associationFeaturesIntersectionObserverNode)}></div>`}_renderLoading(){return h("loading-container",a`<div class="loading-container">${this._renderLoadingIcon()}</div>`)}_renderLoadingIcon(){let t=this.messages?.loading??"";return a`<calcite-loader inline .label=${t}></calcite-loader>`}};d("arcgis-utility-network-association-list",o);return o},"applications/Components/featureUtils","core/reactiveUtils","intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import b from"./ZD6U62UH.js";import a from"./6QMDEHMD.js";import{a as f}from"./VAUTZPJM.js";import{h as d,t as v}from"./T3FLTZPV.js";export default $arcgis.t(([{watch:E},{b:b},{c:w,d:u,e:y}])=>{var k=(m,e)=>t=>g(t,m),h=class extends w{#o=new Map;#e;#t;constructor(e,t){super(e,t),new b(e);let s=this,o=s.instance,i=o.viewModel,r=o.visibleElements,l=new Proxy(this.exports,{get(n,c,p){return c==="viewModel"?i:c==="visibleElements"?r:Reflect.get(n,c,p)}});if(s.#t=o,s.instance=l,s.exports=l,i){let n={component:e,get exports(){return s.instance.viewModel}};y(s).set("viewModel","viewModel"),e.addController(n),i=u(e,new WeakRef(n),d(e)-1,i,s.#o)}s.instance.visibleElements&&(r=s.#s(o))}hostConnected(){this.instance=this.#t,super.hostConnected()}hostLoad(){this.#e=E(()=>this.component.el.view,e=>{let t=this.instance;!("view"in t)&&typeof t.viewModel=="object"?t.viewModel.view=e:t.view=e,!("map"in t)&&typeof t.viewModel=="object"?t.viewModel.map=e?.map:t.map=e?.map},{sync:!0,initial:!0})}hostUpdate(e){e.has("closed")&&(this.instance.visible=!this.component.closed)}hostLoaded(){let{el:e}=this.component;e.childElem??=document.createElement("div"),e.childElem.setAttribute("arcgis-widget-wrapped",""),this.instance.container=e.childElem,(this.component.el.shadowRoot??this.component.el).appendChild(this.instance.container),this.component.closed!==void 0&&this.onLifecycle(()=>E(()=>this.instance.visible,t=>this.component.closed=!t,{initial:!0}))}#s(e){return new Proxy(e.visibleElements,{get:(t,s)=>{if(typeof s=="symbol"||s in Promise.prototype)return t[s];let o=[s],i=this.#n(o);return v(this.component,r=>{let l=r;this.component[l]=!1;let n=e.visibleElements??{},c;for(let a of o.slice(0,-1))if(typeof n[a]=="object"&&n[a]!==null)n=n[a];else{c=!!n[a];break}c===void 0&&(c=!!(n[o.slice(-1)[0]]??!0));let p=l.startsWith("hide")||l.startsWith("show")?l.startsWith("hide"):c;this.onUpdate(a=>{if(a.has(l)){let x=this.component[l];this.#i(o,x,p)}})},i)}})}#n(e){let t=new Proxy({},{get:(s,o)=>{let i=Reflect.get(s,o);return typeof o=="symbol"||o in Promise.prototype?i:(e.push(o),t)}});return t}#i(e,t,s){let o=this.instance.visibleElements??{};for(let r of e.slice(0,-1))(typeof o[r]!="object"||o[r]===null)&&(o[r]={}),o=o[r];let i=!!(s?!t:t);o[e.at(-1)]=i}hostDestroy(){this.#e?.remove(),super.hostDestroy()}},g=f(h);return k},"core/reactiveUtils",a,b)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import b from"./WFPR2VUW.js";import a from"./YOIVWFJK.js";import{a as f}from"./6ERK6Z6K.js";import{h as d,t as v}from"./RM4OPQBM.js";export default $arcgis.t(([{watch:E},{b:b},{c:w,d:u,e:y}])=>{var k=(m,e)=>t=>g(t,m),h=class extends w{#o=new Map;#e;#t;constructor(e,t){super(e,t),new b(e);let s=this,o=s.instance,i=o.viewModel,r=o.visibleElements,l=new Proxy(this.exports,{get(n,c,p){return c==="viewModel"?i:c==="visibleElements"?r:Reflect.get(n,c,p)}});if(s.#t=o,s.instance=l,s.exports=l,i){let n={component:e,get exports(){return s.instance.viewModel}};y(s).set("viewModel","viewModel"),e.addController(n),i=u(e,new WeakRef(n),d(e)-1,i,s.#o)}s.instance.visibleElements&&(r=s.#s(o))}hostConnected(){this.instance=this.#t,super.hostConnected()}hostLoad(){this.#e=E(()=>this.component.el.view,e=>{let t=this.instance;!("view"in t)&&typeof t.viewModel=="object"?t.viewModel.view=e:t.view=e,!("map"in t)&&typeof t.viewModel=="object"?t.viewModel.map=e?.map:t.map=e?.map},{sync:!0,initial:!0})}hostUpdate(e){e.has("closed")&&(this.instance.visible=!this.component.closed)}hostLoaded(){let{el:e}=this.component;e.childElem??=document.createElement("div"),e.childElem.setAttribute("arcgis-widget-wrapped",""),this.instance.container=e.childElem,(this.component.el.shadowRoot??this.component.el).appendChild(this.instance.container),this.component.closed!==void 0&&this.onLifecycle(()=>E(()=>this.instance.visible,t=>this.component.closed=!t,{initial:!0}))}#s(e){return new Proxy(e.visibleElements,{get:(t,s)=>{if(typeof s=="symbol"||s in Promise.prototype)return t[s];let o=[s],i=this.#n(o);return v(this.component,r=>{let l=r;this.component[l]=!1;let n=e.visibleElements??{},c;for(let a of o.slice(0,-1))if(typeof n[a]=="object"&&n[a]!==null)n=n[a];else{c=!!n[a];break}c===void 0&&(c=!!(n[o.slice(-1)[0]]??!0));let p=l.startsWith("hide")||l.startsWith("show")?l.startsWith("hide"):c;this.onUpdate(a=>{if(a.has(l)){let x=this.component[l];this.#i(o,x,p)}})},i)}})}#n(e){let t=new Proxy({},{get:(s,o)=>{let i=Reflect.get(s,o);return typeof o=="symbol"||o in Promise.prototype?i:(e.push(o),t)}});return t}#i(e,t,s){let o=this.instance.visibleElements??{};for(let r of e.slice(0,-1))(typeof o[r]!="object"||o[r]===null)&&(o[r]={}),o=o[r];let i=!!(s?!t:t);o[e.at(-1)]=i}hostDestroy(){this.#e?.remove(),super.hostDestroy()}},g=f(h);return k},"core/reactiveUtils",a,b)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import{a as u}from"./6GCV73ZT.js";import"./VAUTZPJM.js";import"./FGXOZY5V.js";import"./FWR73QLI.js";import"./MUFZWCGR.js";import{A as h,M as m,N as d,Q as s,T as f,a as n,b as a,w as p}from"./T3FLTZPV.js";import"./DUIJO5RQ.js";export default $arcgis.t(([i,{substitute:b}])=>{var g=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within .swatch-wrapper{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:2px}`,l=class extends d{constructor(){super(...arguments),this._messages=u(),this.#t=e=>{this._popoverReferenceElement=e??void 0},this.#e=h(),this._color=new i([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=g}#t;#e;get color(){return this._color}set color(e){let o=e instanceof i?e:new i(e);o.equals(this._color)||(this._color=o)}#s(e){(e.key===" "||e.key==="Enter")&&this.#o(e)}#o(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}render(){let e=this._color.toCss(!0),[o,_,$,v]=this._color.toRgba(),r=b(this._messages?.ariaDescription??"",{label:this.label??this._messages?.label??"",color:`${o}, ${_}, ${$}, ${v}`});return a`<calcite-label layout=inline scale=s @click=${this.#o}><div class="swatch-wrapper" tabindex=0 role=button aria-controls=${this.#e??s} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${r??s} @keydown=${this.#s} @click=${this.#o} ${m(this.#t)}><calcite-swatch .color=${e} .label=${r}></calcite-swatch></div>${this.label??this._messages?.label}${this._popoverReferenceElement?a`<calcite-popover id=${this.#e??s} auto-close class="popover" .label=${this._messages?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let c=new i(t);this.color=c,this.arcgisColorChanged.emit(c)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};f("arcgis-color-select",l);return l},"Color","intl")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as u}from"./5UVZPECS.js";import"./6ERK6Z6K.js";import"./M6LV7VM5.js";import"./QUZTFUWM.js";import"./HYRFW7KG.js";import{A as h,M as m,N as d,Q as s,T as f,a as n,b as a,w as p}from"./RM4OPQBM.js";import"./H6RQVSYM.js";export default $arcgis.t(([i,{substitute:b}])=>{var g=n`:host{display:inline-block;position:relative;width:fit-content;isolation:isolate}calcite-label:focus-within .swatch-wrapper{outline:var(--calcite-border-width-md) solid var(--calcite-color-focus, var(--calcite-ui-focus-color, var(--calcite-color-brand)));outline-offset:2px}`,l=class extends d{constructor(){super(...arguments),this._messages=u(),this.#t=e=>{this._popoverReferenceElement=e??void 0},this.#e=h(),this._color=new i([0,0,0,1]),this._open=!1,this.arcgisColorChanged=p()}static{this.properties={_color:16,_open:16,_popoverReferenceElement:16,color:1,label:1}}static{this.styles=g}#t;#e;get color(){return this._color}set color(e){let o=e instanceof i?e:new i(e);o.equals(this._color)||(this._color=o)}#s(e){(e.key===" "||e.key==="Enter")&&this.#o(e)}#o(e){e.preventDefault(),e.stopPropagation(),this._open=!this._open}render(){let e=this._color.toCss(!0),[o,_,$,v]=this._color.toRgba(),r=b(this._messages?.ariaDescription??"",{label:this.label??this._messages?.label??"",color:`${o}, ${_}, ${$}, ${v}`});return a`<calcite-label layout=inline scale=s @click=${this.#o}><div class="swatch-wrapper" tabindex=0 role=button aria-controls=${this.#e??s} aria-expanded=${this._open?"true":"false"} aria-haspopup=dialog aria-label=${r??s} @keydown=${this.#s} @click=${this.#o} ${m(this.#t)}><calcite-swatch .color=${e} .label=${r}></calcite-swatch></div>${this.label??this._messages?.label}${this._popoverReferenceElement?a`<calcite-popover id=${this.#e??s} auto-close class="popover" .label=${this._messages?.popoverLabel??""} .open=${this._open} @calcitePopoverClose=${()=>this._open=!1} @calcitePopoverOpen=${()=>this._open=!0} overlay-positioning=fixed .referenceElement=${this._popoverReferenceElement}><calcite-color-picker alpha-channel channels-disabled @click=${t=>{t.stopPropagation()}} @calciteColorPickerInput=${({target:{value:t}})=>{if(typeof t=="string"){let c=new i(t);this.color=c,this.arcgisColorChanged.emit(c)}}} saved-disabled .value=${e}></calcite-color-picker></calcite-popover>`:void 0}</calcite-label>`}};f("arcgis-color-select",l);return l},"Color","intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import"./DUIJO5RQ.js";var _={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"MMM dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. l.",_era_bc:"pr. n. l.",A:"dop.",P:"odp.",AM:"dop.",PM:"odp.","A.M.":"dop.","P.M.":"odp.",January:"janu\xE1ra",February:"febru\xE1ra",March:"marca",April:"apr\xEDla",May:"m\xE1ja",June:"j\xFAna",July:"j\xFAla",August:"augusta",September:"septembra",October:"okt\xF3bra",November:"novembra",December:"decembra",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"m\xE1j",Jun:"j\xFAn",Jul:"j\xFAl",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedela",Monday:"pondelok",Tuesday:"utorok",Wednesday:"streda",Thursday:"\u0161tvrtok",Friday:"piatok",Saturday:"sobota",Sun:"ne",Mon:"po",Tue:"ut",Wed:"st",Thu:"\u0161t",Fri:"pi",Sat:"so",_dateOrd:function(e){return"."},"Zoom Out":"Zv\xE4\u010D\u0161enie",Play:"Prehra\u0165",Stop:"Ukon\u010Di\u0165 iter\xE1ciu (Stop)",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"Na\u010D\xEDtanie",Home:"Domov",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Export",Image:"Obr\xE1zok",Data:"Data",Print:"Tla\u010D","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{_ as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import"./H6RQVSYM.js";var _={_decimalSeparator:",",_thousandSeparator:"\xA0",_percentPrefix:null,_percentSuffix:"%",_big_number_suffix_3:"k",_big_number_suffix_6:"M",_big_number_suffix_9:"G",_big_number_suffix_12:"T",_big_number_suffix_15:"P",_big_number_suffix_18:"E",_big_number_suffix_21:"Z",_big_number_suffix_24:"Y",_small_number_suffix_3:"m",_small_number_suffix_6:"\u03BC",_small_number_suffix_9:"n",_small_number_suffix_12:"p",_small_number_suffix_15:"f",_small_number_suffix_18:"a",_small_number_suffix_21:"z",_small_number_suffix_24:"y",_byte_suffix_B:"B",_byte_suffix_KB:"KB",_byte_suffix_MB:"MB",_byte_suffix_GB:"GB",_byte_suffix_TB:"TB",_byte_suffix_PB:"PB",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"HH:mm:ss",_date_second_full:"HH:mm:ss",_date_minute:"HH:mm",_date_minute_full:"HH:mm - yyyy-MM-dd",_date_hour:"HH:mm",_date_hour_short:"HH",_date_hour_full:"HH:mm - yyyy-MM-dd",_date_day:"MMM dd",_date_day_full:"yyyy-MM-dd",_date_week:"ww",_date_week_full:"yyyy-MM-dd",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_millisecond_second:"ss.SSS",_duration_millisecond_minute:"mm:ss SSS",_duration_millisecond_hour:"hh:mm:ss SSS",_duration_millisecond_day:"d'd' mm:ss SSS",_duration_millisecond_week:"d'd' mm:ss SSS",_duration_millisecond_month:"M'm' dd'd' mm:ss SSS",_duration_millisecond_year:"y'y' MM'm' dd'd' mm:ss SSS",_duration_second:"ss",_duration_second_minute:"mm:ss",_duration_second_hour:"hh:mm:ss",_duration_second_day:"d'd' hh:mm:ss",_duration_second_week:"d'd' hh:mm:ss",_duration_second_month:"M'm' dd'd' hh:mm:ss",_duration_second_year:"y'y' MM'm' dd'd' hh:mm:ss",_duration_minute:"mm",_duration_minute_hour:"hh:mm",_duration_minute_day:"d'd' hh:mm",_duration_minute_week:"d'd' hh:mm",_duration_minute_month:"M'm' dd'd' hh:mm",_duration_minute_year:"y'y' MM'm' dd'd' hh:mm",_duration_hour:"hh'h'",_duration_hour_day:"d'd' hh'h'",_duration_hour_week:"d'd' hh'h'",_duration_hour_month:"M'm' dd'd' hh'h'",_duration_hour_year:"y'y' MM'm' dd'd' hh'h'",_duration_day:"d'd'",_duration_day_week:"d'd'",_duration_day_month:"M'm' dd'd'",_duration_day_year:"y'y' MM'm' dd'd'",_duration_week:"w'w'",_duration_week_month:"w'w'",_duration_week_year:"w'w'",_duration_month:"M'm'",_duration_month_year:"y'y' MM'm'",_duration_year:"y'y'",_era_ad:"n. l.",_era_bc:"pr. n. l.",A:"dop.",P:"odp.",AM:"dop.",PM:"odp.","A.M.":"dop.","P.M.":"odp.",January:"janu\xE1ra",February:"febru\xE1ra",March:"marca",April:"apr\xEDla",May:"m\xE1ja",June:"j\xFAna",July:"j\xFAla",August:"augusta",September:"septembra",October:"okt\xF3bra",November:"novembra",December:"decembra",Jan:"jan",Feb:"feb",Mar:"mar",Apr:"apr","May(short)":"m\xE1j",Jun:"j\xFAn",Jul:"j\xFAl",Aug:"aug",Sep:"sep",Oct:"okt",Nov:"nov",Dec:"dec",Sunday:"nedela",Monday:"pondelok",Tuesday:"utorok",Wednesday:"streda",Thursday:"\u0161tvrtok",Friday:"piatok",Saturday:"sobota",Sun:"ne",Mon:"po",Tue:"ut",Wed:"st",Thu:"\u0161t",Fri:"pi",Sat:"so",_dateOrd:function(e){return"."},"Zoom Out":"Zv\xE4\u010D\u0161enie",Play:"Prehra\u0165",Stop:"Ukon\u010Di\u0165 iter\xE1ciu (Stop)",Legend:"Legenda","Click, tap or press ENTER to toggle":"",Loading:"Na\u010D\xEDtanie",Home:"Domov",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Flow diagram":"","Chord diagram":"","TreeMap chart":"","Sliced chart":"",Series:"","Candlestick Series":"","OHLC Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","Funnel Series":"","Pyramid Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"Export",Image:"Obr\xE1zok",Data:"Data",Print:"Tla\u010D","Click, tap or press ENTER to open":"","Click, tap or press ENTER to print.":"","Click, tap or press ENTER to export as %1.":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"Od %1 do %2","From %1":"Od %1","To %1":"Do %1","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{_ as default};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/1.0/LICENSE.txt */
2
- import{a as vt}from"./KFR2GYVV.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./YZ3EEMKQ.js";import{P as R,a as z,u as C}from"./JLYZMRH3.js";import{a as gt,b as tt,d as D,e as f}from"./RCVWQDCP.js";import{W,X as yt,g as Y,o as k}from"./QRA5SO4Y.js";import"./DUIJO5RQ.js";var st=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let s=t("Graphics",["pictorial","background"]);s.setAll({fillOpacity:.2}),xt(s,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(st.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,s=0,i=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>s&&(s=r),r<i&&(i=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",i),this.setPrivateRaw("valueHigh",s),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let s=[];s.push(t.show.call(this,e)),s.push(this._sequencedShowHide(!0,e)),yield Promise.all(s)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let s=[];s.push(t.hide.call(this,e)),s.push(this._sequencedShowHide(!1,e)),yield Promise.all(s)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let s=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let i=[s.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&i.push(r.waitForStop());let n=e.get("tick");n&&i.push(n.show(t));let u=e.get("label");u&&i.push(u.show(t));let o=e.get("slice");o&&i.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(i)})}hideDataItem(e,t){let s=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let i=[s.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&i.push(r.waitForStop());let n=e.get("tick");n&&i.push(n.hide(t));let u=e.get("label");u&&i.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&i.push(o.hide(t)),yield Promise.all(i)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let s=e.get("tick");s&&(this.ticks.removeValue(s),s.dispose());let i=e.get("slice");i&&(this.slices.removeValue(i),i.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let s=e.get("legendDataItem");if(s){let i=s.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&i.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((s,i)=>s.y>i.y?1:s.y<i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.top;s.y+a<t&&(s.y=t-a),s.label.set("y",s.y),t=s.y+i.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((s,i)=>s.y<i.y?1:s.y>i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.bottom;s.y+a>t&&(s.y=t-a),s.label.set("y",s.y),t=s.y+i.top})}}_arrangeRight(e){if(e){let t=0;e.sort((s,i)=>s.y>i.y?1:s.y<i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.left;s.y+a<t&&(s.y=t-a),s.label._setC("x",s.y),t=s.y+i.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((s,i)=>s.y<i.y?1:s.y>i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.right;s.y+a>t&&(s.y=t-a),s.label._setC("x",s.y),t=s.y+i.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),s=e.innerHeight(),i=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,i,a,1),n=t/(r.right-r.left),u=s/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(s,t))/g,o=ht(0,0,i,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),s=C(this.get("innerRadius",0),t);if(e){let i=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?s+C(l,t-s):s+(t-s)/a*(i+1)}return t}innerRadius(e){let t=this.radius(),s=C(this.get("innerRadius",0),t);if(s<0&&(s=t+s),e){let i=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?s+C(l,t-s):s+(t-s)/a*i}return s}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let s=this.makeLabel(e);s.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{s.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let s=t.get("textType");(s==null||s=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),i=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=i*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),s=e.get("label"),i=e.get("slice"),a=t.get("location",1);if(t&&s&&i){let l=(i.get("shiftRadius",0)+i.get("radius",0))*i.get("scale",1)*a,r=s.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=s.x(),g=s.y();let c=[];if(p!=0||g!=0){if(s.get("textType")=="circular"){let y=s.radius()-s.get("paddingBottom",0),x=s.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;s.getPrivate("left")&&(d=m),c=[{x:i.x()+l*n,y:i.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let i=t.dataItem.get("slice");if(i){let a=i.get("innerRadius",0),l=i.get("radius",0),r=i.get("startAngle",0),n=i.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),s=this.height(),i=Math.min(t,s)/2,a=C(this.get("cornerRadiusTL",0),i),l=C(this.get("cornerRadiusTR",0),i),r=C(this.get("cornerRadiusBR",0),i),n=C(this.get("cornerRadiusBL",0),i),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),it=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,it),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let s=this.width(),i=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:i*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:s*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),s=this.get("topWidth",0),i=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-s/2,this._tly=0,this._trx=s/2,this._try=0,this._brx=i/2,this._bry=t,this._blx=-i/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=s/2,this._tlx=0,this._try=-s/2,this._trx=0,this._bry=-i/2,this._brx=e,this._bly=i/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let s=this.makeLabel(e);s.on("x",()=>{this._updateTick(e)}),s.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{s.markDirty()}),t.events.on("boundschanged",()=>{let i=t.dataItem;i&&this._updateTick(i)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,s=>{let i=s.get("value");Y(i)&&(t++,i>0?e+=Math.abs(s.get("valueWorking",i)/i):this.get("ignoreZeroValues",!1)||s.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let s=this.slicesContainer,i;this.get("orientation")=="vertical"?i=s.innerHeight():i=s.innerWidth(),this._nextCoord=this.get("startLocation",0)*i,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,s=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),s._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),s._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),s._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),s._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),s=e.get("valueWorking",0);if(t<this.dataItems.length-1){let i=this.dataItems[t+1];if(s=i.get("valueWorking",0),i.isHidden()||i.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(i)}return s}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let s=t+1;s<this.dataItems.length;s++)if(!this.dataItems[s].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),s=e.get("slice"),i=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;s._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,s._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));s._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;i._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,s._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));s._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;i._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let s=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),s.hideDataItem.call(this,e,t)})}showDataItem(e,t){let s=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),s.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),s=e.get("label"),i=e.get("slice");if(t&&i&&s){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=i.getPoint(r,.5),g.x+=i.x()+l.x(),g.y+=i.y()+l.y(),this._opposite?(c.x=n,c.y=s.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=s.y(),d.x=c.x+n-s.width()-m,d.y=c.y)):(g=i.getPoint(.5,r),g.x+=i.x()+l.x(),g.y+=i.y()+l.y(),this._opposite?(c.y=u,c.x=s.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=s.x(),d.y=c.y+u-s.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let i=t.dataItem.get("slice");if(i){let a=i.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:i.x()+a.x,y:i.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),s=this.slicesContainer,i=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=s.innerHeight(),x=s.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let it=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*it*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*it-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),i.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],i.set("width",c)),i.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),s=e.innerHeight(),i=this.seriesMask,a=this.seriesGraphics,l=i.get("scale",1),r=i.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=s/u,l!=1/0&&!Number.isNaN(l)&&(i.set("scale",l),i.set("x",t/2),i.set("y",s/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",s/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{st as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
+ import{a as vt}from"./5ASN6KWI.js";import{D as _t,E as q,P as at,R as ft,S as xt,c as M,ga as ct,i as w,j as v,ja as bt,k as T,l as mt,m as ht,n as dt,o as et,qa as ut,ra as lt,sa as kt}from"./3IQBOCXJ.js";import{P as R,a as z,u as C}from"./IFJS7BSY.js";import{a as gt,b as tt,d as D,e as f}from"./TVEUPC5T.js";import{W,X as yt,g as Y,o as k}from"./2YXG2UVO.js";import"./H6RQVSYM.js";var st=class extends yt{setupDefaultRules(){super.setupDefaultRules();let e=this._root.interfaceColors,t=this.rule.bind(this);t("PercentSeries").setAll({legendLabelText:"{category}",legendValueText:"{valuePercentTotal.formatNumber('0.00p')}",colors:kt.new(this._root,{}),width:D,height:D}),t("PieChart").setAll({radius:tt(80),startAngle:-90,endAngle:270}),t("PieSeries").setAll({alignLabels:!0,startAngle:-90,endAngle:270}),t("PieSeries").states.create("hidden",{endAngle:-90,opacity:0}),t("Slice",["pie"]).setAll({position:"absolute",isMeasured:!1,x:0,y:0,toggleKey:"active",tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}",strokeWidth:1,strokeOpacity:1,role:"figure",lineJoin:"round"}),t("Slice",["pie"]).states.create("active",{shiftRadius:20,scale:1}),t("Slice",["pie"]).states.create("hoverActive",{scale:1.04}),t("Slice",["pie"]).states.create("hover",{scale:1.04}),t("RadialLabel",["pie"]).setAll({textType:"aligned",radius:10,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",paddingTop:5,paddingBottom:5,populateText:!0}),t("Tick",["pie"]).setAll({location:1}),t("SlicedChart").setAll({paddingLeft:10,paddingRight:10,paddingTop:10,paddingBottom:10}),t("FunnelSeries").setAll({startLocation:0,endLocation:1,orientation:"vertical",alignLabels:!0,sequencedInterpolation:!0}),t("FunnelSlice").setAll({interactive:!0,expandDistance:0}),t("FunnelSlice").states.create("hover",{expandDistance:.15}),t("Label",["funnel"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["funnel","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["funnel","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["funnel"]).setAll({location:1}),t("FunnelSlice",["funnel","link"]).setAll({fillOpacity:.5,strokeOpacity:0,expandDistance:-.1}),t("FunnelSlice",["funnel","link","vertical"]).setAll({height:10}),t("FunnelSlice",["funnel","link","horizontal"]).setAll({width:10}),t("PyramidSeries").setAll({valueIs:"area"}),t("FunnelSlice",["pyramid","link"]).setAll({fillOpacity:.5}),t("FunnelSlice",["pyramid","link","vertical"]).setAll({height:0}),t("FunnelSlice",["pyramid","link","horizontal"]).setAll({width:0}),t("FunnelSlice",["pyramid"]).setAll({interactive:!0,expandDistance:0}),t("FunnelSlice",["pyramid"]).states.create("hover",{expandDistance:.15}),t("Label",["pyramid"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pyramid","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pyramid","vertical"]).setAll({centerY:f,centerX:0}),t("Tick",["pyramid"]).setAll({location:1}),t("FunnelSlice",["pictorial"]).setAll({interactive:!0,tooltipText:"{category}: {valuePercentTotal.formatNumber('0.00p')}"}),t("Label",["pictorial"]).setAll({populateText:!0,text:"{category}: {valuePercentTotal.formatNumber('0.00p')}",centerY:f}),t("Label",["pictorial","horizontal"]).setAll({centerX:0,centerY:f,rotation:-90}),t("Label",["pictorial","vertical"]).setAll({centerY:f,centerX:0}),t("FunnelSlice",["pictorial","link"]).setAll({fillOpacity:.5,width:0,height:0}),t("Tick",["pictorial"]).setAll({location:.5});{let s=t("Graphics",["pictorial","background"]);s.setAll({fillOpacity:.2}),xt(s,"fill",e,"alternativeBackground")}}};var $=class extends ut{_afterNew(){this._defaultThemes.push(st.new(this._root)),super._afterNew(),this.chartContainer.children.push(this.seriesContainer),this.seriesContainer.children.push(this.bulletsContainer)}_processSeries(e){super._processSeries(e),this.seriesContainer.children.moveValue(this.bulletsContainer,this.seriesContainer.children.length-1)}};$.className="PercentChart";$.classNames=ut.classNames.concat([$.className]);var L=class extends ct{constructor(){super(...arguments),this.slicesContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.labelsContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this.ticksContainer=this.children.push(at.new(this._root,{position:"absolute",isMeasured:!1})),this._lLabels=[],this._rLabels=[],this._hLabels=[],this.slices=this.addDisposer(this._makeSlices()),this.labels=this.addDisposer(this._makeLabels()),this.ticks=this.addDisposer(this._makeTicks())}_applyThemes(e=!1){let t=this.get("colors");return t&&t.reset(),super._applyThemes(e)}makeSlice(e){let t=this.slicesContainer.children.push(this.slices.make());return t.on("fill",()=>{this.updateLegendMarker(e)}),t.on("fillPattern",()=>{this.updateLegendMarker(e)}),t.on("stroke",()=>{this.updateLegendMarker(e)}),t._setDataItem(e),e.set("slice",t),this.slices.push(t),t}makeLabel(e){let t=this.labelsContainer.children.push(this.labels.make());return t._setDataItem(e),e.set("label",t),this.labels.push(t),t}_shouldMakeBullet(e){return e.get("value")!=null}makeTick(e){let t=this.ticksContainer.children.push(this.ticks.make());return t._setDataItem(e),e.set("tick",t),this.ticks.push(t),t}_afterNew(){this.fields.push("category","fill"),super._afterNew()}_placeBulletsContainer(){this.children.moveValue(this.bulletsContainer)}_onDataClear(){let e=this.get("colors");e&&e.reset();let t=this.get("patterns");t&&t.reset()}_prepareChildren(){if(super._prepareChildren(),this._lLabels=[],this._rLabels=[],this._hLabels=[],this._valuesDirty){let e=0,t=0,s=0,i=1/0,a=0;k(this._dataItems,l=>{let r=l.get("valueWorking",0);e+=r,t+=Math.abs(r)}),k(this._dataItems,l=>{let r=l.get("valueWorking",0);r>s&&(s=r),r<i&&(i=r),a++;let n=r/t;t==0&&(n=0),l.setRaw("valuePercentTotal",n*100)}),this.setPrivateRaw("valueLow",i),this.setPrivateRaw("valueHigh",s),this.setPrivateRaw("valueSum",e),this.setPrivateRaw("valueAverage",e/a),this.setPrivateRaw("valueAbsoluteSum",t)}}show(e){let t=Object.create(null,{show:{get:()=>super.show}});return z(this,void 0,void 0,function*(){let s=[];s.push(t.show.call(this,e)),s.push(this._sequencedShowHide(!0,e)),yield Promise.all(s)})}hide(e){let t=Object.create(null,{hide:{get:()=>super.hide}});return z(this,void 0,void 0,function*(){let s=[];s.push(t.hide.call(this,e)),s.push(this._sequencedShowHide(!1,e)),yield Promise.all(s)})}_updateChildren(){super._updateChildren(),this._valuesDirty&&k(this._dataItems,e=>{e.get("label").text.markDirtyText()}),(this.isDirty("legendLabelText")||this.isDirty("legendValueText"))&&k(this._dataItems,e=>{this.updateLegendValue(e)}),this._arrange()}_arrange(){this._arrangeDown(this._lLabels),this._arrangeUp(this._lLabels),this._arrangeDown(this._rLabels),this._arrangeUp(this._rLabels),this._arrangeLeft(this._hLabels),this._arrangeRight(this._hLabels),k(this.dataItems,e=>{this._updateTick(e)})}_afterChanged(){super._afterChanged(),this._arrange()}processDataItem(e){if(super.processDataItem(e),e.get("fill")==null){let t=this.get("colors");t&&e.setRaw("fill",t.next())}if(e.get("fillPattern")==null){let t=this.get("patterns");t&&e.setRaw("fillPattern",t.next())}}showDataItem(e,t){let s=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){let i=[s.showDataItem.call(this,e,t)];Y(t)||(t=this.get("stateAnimationDuration",0));let a=this.get("stateAnimationEasing"),l=e.get("value"),r=e.animate({key:"valueWorking",to:l,duration:t,easing:a});r&&i.push(r.waitForStop());let n=e.get("tick");n&&i.push(n.show(t));let u=e.get("label");u&&i.push(u.show(t));let o=e.get("slice");o&&i.push(o.show(t)),o.get("active")&&o.states.applyAnimate("active"),yield Promise.all(i)})}hideDataItem(e,t){let s=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){let i=[s.hideDataItem.call(this,e,t)],a=this.states.create("hidden",{});Y(t)||(t=a.get("stateAnimationDuration",this.get("stateAnimationDuration",0)));let l=a.get("stateAnimationEasing",this.get("stateAnimationEasing")),r=e.animate({key:"valueWorking",to:0,duration:t,easing:l});r&&i.push(r.waitForStop());let n=e.get("tick");n&&i.push(n.hide(t));let u=e.get("label");u&&i.push(u.hide(t));let o=e.get("slice");o.hideTooltip(),o&&i.push(o.hide(t)),yield Promise.all(i)})}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("label");t&&(this.labels.removeValue(t),t.dispose());let s=e.get("tick");s&&(this.ticks.removeValue(s),s.dispose());let i=e.get("slice");i&&(this.slices.removeValue(i),i.dispose())}hoverDataItem(e){let t=e.get("slice");t&&!t.isHidden()&&t.hover()}unhoverDataItem(e){let t=e.get("slice");t&&t.unhover()}updateLegendMarker(e){if(e){let t=e.get("slice");if(t){let s=e.get("legendDataItem");if(s){let i=s.get("markerRectangle");k(_t,a=>{t.get(a)!=null&&i.set(a,t.get(a))})}}}}_arrangeDown(e){if(e){let t=this._getNextDown();e.sort((s,i)=>s.y>i.y?1:s.y<i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.top;s.y+a<t&&(s.y=t-a),s.label.set("y",s.y),t=s.y+i.bottom})}}_getNextUp(){return this.labelsContainer.maxHeight()}_getNextDown(){return 0}_arrangeUp(e){if(e){let t=this._getNextUp();e.sort((s,i)=>s.y<i.y?1:s.y>i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.bottom;s.y+a>t&&(s.y=t-a),s.label.set("y",s.y),t=s.y+i.top})}}_arrangeRight(e){if(e){let t=0;e.sort((s,i)=>s.y>i.y?1:s.y<i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.left;s.y+a<t&&(s.y=t-a),s.label._setC("x",s.y),t=s.y+i.right})}}_arrangeLeft(e){if(e){let t=this.labelsContainer.maxWidth();e.sort((s,i)=>s.y<i.y?1:s.y>i.y?-1:0),k(e,s=>{let i=s.label.adjustedLocalBounds(),a=i.right;s.y+a>t&&(s.y=t-a),s.label._setC("x",s.y),t=s.y+i.left})}}_updateSize(){super._updateSize(),this.markDirty()}_updateTick(e){}_dispose(){super._dispose();let e=this.chart;e&&e.series.removeValue(this)}};L.className="PercentSeries";L.classNames=ct.classNames.concat([L.className]);var G=class extends ${constructor(){super(...arguments),this._maxRadius=1}_afterNew(){super._afterNew(),this.seriesContainer.setAll({x:f,y:f})}_processSeries(e){super._processSeries(e),this.series.each(t=>{t._markDirtyKey("innerRadius")})}_prepareChildren(){super._prepareChildren();let e=this.chartContainer,t=e.innerWidth(),s=e.innerHeight(),i=this.get("startAngle",0),a=this.get("endAngle",0),l=this.get("innerRadius"),r=ht(0,0,i,a,1),n=t/(r.right-r.left),u=s/(r.bottom-r.top),o={left:0,right:0,top:0,bottom:0};if(l instanceof gt){let p=l.value,g=Math.min(n,u);p=Math.max(g*p,g-Math.min(s,t))/g,o=ht(0,0,i,a,p),this.setPrivateRaw("irModifyer",p/l.value)}r=dt([r,o]);let m=this._maxRadius;this._maxRadius=Math.min(n,u);let h=C(this.get("radius",0),this._maxRadius);this.seriesContainer.setAll({dy:-h*(r.bottom+r.top)/2,dx:-h*(r.right+r.left)/2}),(this.isDirty("startAngle")||this.isDirty("endAngle")||m!=this._maxRadius)&&this.series.each(p=>{p._markDirtyKey("startAngle")}),(this.isDirty("innerRadius")||this.isDirty("radius"))&&this.series.each(p=>{p._markDirtyKey("innerRadius")})}radius(e){let t=C(this.get("radius",0),this._maxRadius),s=C(this.get("innerRadius",0),t);if(e){let i=this.series.indexOf(e),a=this.series.length,l=e.get("radius");return l!=null?s+C(l,t-s):s+(t-s)/a*(i+1)}return t}innerRadius(e){let t=this.radius(),s=C(this.get("innerRadius",0),t);if(s<0&&(s=t+s),e){let i=this.series.indexOf(e),a=this.series.length,l=e.get("innerRadius");return l!=null?s+C(l,t-s):s+(t-s)/a*i}return s}_updateSize(){super._updateSize(),this.markDirtyKey("radius")}};G.className="PieChart";G.classNames=$.classNames.concat([G.className]);var U=class extends L{_makeSlices(){return new M(W.new({}),()=>vt._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),["pie","series"])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>bt._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),["pie","series"])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),["pie","series"])},[this.ticks.template]))}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t.on("scale",()=>{this._updateTick(e)}),t.on("shiftRadius",()=>{this._updateTick(e)}),t.events.on("positionchanged",()=>{this._updateTick(e)});let s=this.makeLabel(e);s.events.on("positionchanged",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{s.markDirty()})}_getNextUp(){let e=this.chart;return e?e._maxRadius:this.labelsContainer.maxHeight()/2}_getNextDown(){let e=this.chart;return e?-e._maxRadius:-this.labelsContainer.maxHeight()/2}_prepareChildren(){super._prepareChildren();let e=this.chart;if(e){if(this.isDirty("alignLabels")){let t=this.labels.template;if(this.get("alignLabels"))t._setC("textType","aligned");else{let s=t.get("textType");(s==null||s=="aligned")&&t._setC("textType","adjusted")}}if(this._valuesDirty||this.isDirty("radius")||this.isDirty("innerRadius")||this.isDirty("startAngle")||this.isDirty("endAngle")||this.isDirty("alignLabels")){this.markDirtyBounds();let t=this.get("startAngle",e.get("startAngle",-90)),i=this.get("endAngle",e.get("endAngle",270))-t,a=t,l=e.radius(this);this.setPrivateRaw("radius",l);let r=e.innerRadius(this)*e.getPrivate("irModifyer",1);r<0&&(r=l+r),k(this._dataItems,n=>{this.updateLegendValue(n);let u=i*n.get("valuePercentTotal")/100,o=n.get("slice");if(o){o.set("radius",l),o.set("innerRadius",r),o.set("startAngle",a),o.set("arc",u);let p=n.get("fill");o._setDefault("fill",p),o._setDefault("stroke",p);let g=n.get("fillPattern");o._setDefault("fillPattern",g)}let m=mt(a+u/2),h=n.get("label");if(h&&(h.setPrivate("radius",l),h.setPrivate("innerRadius",r),h.set("labelAngle",m),h.get("textType")=="aligned")){let p=l+h.get("radius",0),g=l*w(m);m>90&&m<=270?(!h.isHidden()&&!h.isHiding()&&this._lLabels.push({label:h,y:g}),p*=-1,p-=this.labelsContainer.get("paddingLeft",0),h.set("centerX",D),h.setPrivateRaw("left",!0)):(!h.isHidden()&&!h.isHiding()&&this._rLabels.push({label:h,y:g}),p+=this.labelsContainer.get("paddingRight",0),h.set("centerX",0),h.setPrivateRaw("left",!1)),h.set("x",p),h.set("y",l*w(m))}a+=u,this._updateTick(n)})}}}_updateTick(e){let t=e.get("tick"),s=e.get("label"),i=e.get("slice"),a=t.get("location",1);if(t&&s&&i){let l=(i.get("shiftRadius",0)+i.get("radius",0))*i.get("scale",1)*a,r=s.get("labelAngle",0),n=T(r),u=w(r),o=this.labelsContainer,m=o.get("paddingLeft",0),h=o.get("paddingRight",0),p=0,g=0;p=s.x(),g=s.y();let c=[];if(p!=0||g!=0){if(s.get("textType")=="circular"){let y=s.radius()-s.get("paddingBottom",0),x=s.get("labelAngle",0);p=y*T(x),g=y*w(x)}let d=-h;s.getPrivate("left")&&(d=m),c=[{x:i.x()+l*n,y:i.y()+l*u},{x:p+d,y:g},{x:p,y:g}]}t.set("points",c)}}_positionBullet(e){let t=e.get("sprite");if(t){let i=t.dataItem.get("slice");if(i){let a=i.get("innerRadius",0),l=i.get("radius",0),r=i.get("startAngle",0),n=i.get("arc",0),u=e.get("locationX",.5),o=e.get("locationY",.5),m=r+n*u,h=a+(l-a)*o;t.setAll({x:T(m)*h,y:w(m)*h})}}}};U.className="PieSeries";U.classNames=L.classNames.concat([U.className]);var V=class extends q{constructor(){super(...arguments),this._projectionDirty=!1,this._tlx=0,this._tly=0,this._trx=0,this._try=0,this._blx=0,this._bly=0,this._brx=0,this._bry=0,this._cprx=0,this._cplx=0,this._cpry=0,this._cply=0}_afterNew(){super._afterNew(),this.set("draw",e=>{let t=this.width(),s=this.height(),i=Math.min(t,s)/2,a=C(this.get("cornerRadiusTL",0),i),l=C(this.get("cornerRadiusTR",0),i),r=C(this.get("cornerRadiusBR",0),i),n=C(this.get("cornerRadiusBL",0),i),u=this._trx,o=this._try,m=this._tlx,h=this._tly,p=this._brx,g=this._bry,c=this._blx,d=this._bly;o==h&&(o=o-.01),g==d&&(g=g-.01);let y=et({x:m,y:h},{x:u,y:o}),x=et({x:u,y:o},{x:p,y:g}),b=et({x:p,y:g},{x:c,y:d}),_=et({x:c,y:d},{x:m,y:h});this.get("orientation")=="horizontal"?(a=Math.min(a,Math.abs(h-o)/2),l=Math.min(l,Math.abs(h-o)/2),r=Math.min(r,Math.abs(d-g)/2),n=Math.min(n,Math.abs(d-g)/2)):(a=Math.min(a,Math.abs(m-u)/2),l=Math.min(l,Math.abs(m-u)/2),r=Math.min(r,Math.abs(c-p)/2),n=Math.min(n,Math.abs(c-p)/2));let A=m-a*v((y-_)/2)*T(_),P=h-a*v((y-_)/2)*w(_),F=m-a*v((_-y)/2)*T(y),Z=h-a*v((_-y)/2)*w(y),N=u-l*v((x-y)/2)*T(y),nt=o-l*v((x-y)/2)*w(y),B=u-l*v((y-x)/2)*T(x),O=o-l*v((y-x)/2)*w(x),J=p-r*v((b-x)/2)*T(x),j=g-r*v((b-x)/2)*w(x),Q=p-r*v((x-b)/2)*T(b),I=g-r*v((x-b)/2)*w(b),pt=c-n*v((_-b)/2)*T(b),it=d-n*v((_-b)/2)*w(b),ot=c-n*v((b-_)/2)*T(_),Tt=d-n*v((b-_)/2)*w(_);e.moveTo(F,Z),e.lineTo(N,nt),e.arcTo(u,o,B,O,l),e.quadraticCurveTo(this._cprx,this._cpry,J,j),e.arcTo(p,g,Q,I,r),e.lineTo(pt,it),e.arcTo(c,d,ot,Tt,n),e.quadraticCurveTo(this._cplx,this._cply,A,P),e.arcTo(m,h,F,Z,a)})}getPoint(e,t){let s=this.width(),i=this.height(),a=this.get("topWidth",0),l=this.get("bottomWidth",0);if(this.get("orientation")=="vertical"){let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*t,h=n+(u-n)*t;return{x:m+(h-m)*e,y:i*t}}else{let r=-a/2,n=a/2,u=l/2,o=-l/2,m=r+(o-r)*e,h=n+(u-n)*e;return{x:s*e,y:m+(h-m)*t}}}_changed(){if(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("expandDistance")||this.isDirty("orientation")||this.isDirty("width")||this.isDirty("height")||this.isDirty("cornerRadiusTL")||this.isDirty("cornerRadiusTR")||this.isDirty("cornerRadiusBR")||this.isDirty("cornerRadiusBL")){let e=this.width(),t=this.height(),s=this.get("topWidth",0),i=this.get("bottomWidth",0);this._clear=!0;let a=this.get("expandDistance",0);this.get("orientation")=="vertical"?(this._tlx=-s/2,this._tly=0,this._trx=s/2,this._try=0,this._brx=i/2,this._bry=t,this._blx=-i/2,this._bly=t,this._cprx=this._trx+(this._brx-this._trx)/2+a*t,this._cpry=this._try+.5*t,this._cplx=this._tlx+(this._blx-this._tlx)/2-a*t,this._cply=this._tly+.5*t):(this._tly=s/2,this._tlx=0,this._try=-s/2,this._trx=0,this._bry=-i/2,this._brx=e,this._bly=i/2,this._blx=e,this._cpry=this._try+(this._bry-this._try)/2-a*e,this._cprx=this._trx+.5*e,this._cply=this._tly+(this._bly-this._tly)/2+a*e,this._cplx=this._tlx+.5*e)}super._changed()}};V.className="FunnelSlice";V.classNames=q.classNames.concat([V.className]);var H=class extends L{constructor(){super(...arguments),this._tag="funnel",this.links=this.addDisposer(this._makeLinks()),this._total=0,this._count=0,this._nextCoord=0,this._opposite=!1}_makeSlices(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.slices.template.get("themeTags",[]),[this._tag,"series","slice",this.get("orientation")])},[this.slices.template]))}_makeLabels(){return new M(W.new({}),()=>ft._new(this._root,{themeTags:R(this.labels.template.get("themeTags",[]),[this._tag,"series","label",this.get("orientation")])},[this.labels.template]))}_makeTicks(){return new M(W.new({}),()=>lt._new(this._root,{themeTags:R(this.ticks.template.get("themeTags",[]),[this._tag,"series","tick",this.get("orientation")])},[this.ticks.template]))}_makeLinks(){return new M(W.new({}),()=>V._new(this._root,{themeTags:R(this.links.template.get("themeTags",[]),[this._tag,"series","link",this.get("orientation")])},[this.links.template]))}makeLink(e){let t=this.slicesContainer.children.push(this.links.make());return t._setDataItem(e),e.set("link",t),this.links.push(t),t}_afterNew(){super._afterNew();let e=this.slicesContainer;e.setAll({isMeasured:!0,position:"relative",width:tt(100),height:tt(100)}),e.onPrivate("width",()=>{this.markDirtySize()}),e.onPrivate("height",()=>{this.markDirtySize()}),this.get("orientation")=="vertical"?this._setC("layout",this._root.horizontalLayout):this._setC("layout",this._root.verticalLayout)}processDataItem(e){super.processDataItem(e);let t=this.makeSlice(e);t._setDataItem(e),e.set("slice",t),this.makeLink(e);let s=this.makeLabel(e);s.on("x",()=>{this._updateTick(e)}),s.on("y",()=>{this._updateTick(e)}),this.makeTick(e),t.events.on("positionchanged",()=>{s.markDirty()}),t.events.on("boundschanged",()=>{let i=t.dataItem;i&&this._updateTick(i)})}_updateChildren(){this._opposite=!1,this.children.indexOf(this.labelsContainer)==0&&(this._opposite=!0);let e=0,t=0;if(k(this.dataItems,s=>{let i=s.get("value");Y(i)&&(t++,i>0?e+=Math.abs(s.get("valueWorking",i)/i):this.get("ignoreZeroValues",!1)||s.isHidden()?t--:e+=1)}),this._total=1/t*e,this._count=t,this.isDirty("alignLabels")&&this._fixLayout(),this._total>0&&(this._valuesDirty||this._sizeDirty||this.isDirty("bottomRatio")||this.isDirty("startLocation")||this.isDirty("endLocation"))){let s=this.slicesContainer,i;this.get("orientation")=="vertical"?i=s.innerHeight():i=s.innerWidth(),this._nextCoord=this.get("startLocation",0)*i,this.markDirtyBounds();let a=0;k(this._dataItems,l=>{this.updateLegendValue(l),l.set("index",a),a++;let r=l.get("slice"),n=l.get("tick"),u=l.get("label"),o=l.get("link"),m=l.get("fill"),h=l.get("fillPattern");r._setDefault("fill",m),r._setDefault("stroke",m),r._setDefault("fillPattern",h),o._setDefault("fill",m),o._setDefault("stroke",m);let p=l.get("value");Y(p)&&(p==0&&this.get("ignoreZeroValues")?(r.setPrivate("visible",!1),n.setPrivate("visible",!1),u.setPrivate("visible",!1)):(r.setPrivate("visible",!0),n.setPrivate("visible",!0),u.setPrivate("visible",!0),this.decorateSlice(l),this.isLast(l)?o.setPrivate("visible",!1):l.isHidden()||o.setPrivate("visible",!0)))})}super._updateChildren()}_fixLayout(){let e=this.get("orientation"),t=this.labelsContainer,s=this.labels.template;this.get("alignLabels")?(t._setC("position","relative"),t._setCAll({isMeasured:!0}),e=="vertical"?(this._setC("layout",this._root.horizontalLayout),s._setCAll({centerX:D,x:D})):(this._setC("layout",this._root.verticalLayout),s._setCAll({centerX:0,x:0}))):(t._setCAll({isMeasured:!1,position:"absolute"}),e=="vertical"?(t._setCAll({x:f}),s._setCAll({centerX:f,x:0})):(t._setCAll({y:f}),s._setCAll({centerX:f,y:0}))),this.markDirtySize()}getNextValue(e){let t=e.get("index"),s=e.get("valueWorking",0);if(t<this.dataItems.length-1){let i=this.dataItems[t+1];if(s=i.get("valueWorking",0),i.isHidden()||i.get("value")==0&&this.get("ignoreZeroValues"))return this.getNextValue(i)}return s}isLast(e){let t=e.get("index");if(t==this.dataItems.length-1)return!0;for(let s=t+1;s<this.dataItems.length;s++)if(!this.dataItems[s].isHidden())return!1;return!0}decorateSlice(e){let t=this.get("orientation"),s=e.get("slice"),i=e.get("label"),a=e.get("link"),l=this.slicesContainer,r=l.innerWidth(),n=l.innerHeight(),u=r;t=="horizontal"&&(u=n);let o=this.getNextValue(e),m=e.get("value",0),h=Math.abs(e.get("valueWorking",m)),p=this.get("bottomRatio",0),g=this.getPrivate("valueHigh",0),c=1;m!=0?c=h/Math.abs(m):e.isHidden()&&(c=1e-6),this._nextCoord==1/0&&(this._nextCoord=0);let d=h/g*u,y=(h-(h-o)*p)/g*u;s._setCAll({topWidth:d,bottomWidth:y,orientation:t}),a._setCAll({topWidth:y,bottomWidth:(h-(h-o))/g*u,orientation:t});let x=this.get("startLocation",0),b=this.get("endLocation",1);if(t=="vertical"){let _=a.height()*c;n=n*(b-x)+_,s._setC("y",this._nextCoord);let A=Math.min(1e5,Math.max(0,n/this._count*c/this._total-_));s._setCAll({height:A,x:r/2});let P=this._nextCoord+A/2;i._setC("y",P),this._nextCoord+=A+_,a._setCAll({y:this._nextCoord-_,x:r/2})}else{let _=a.width()*c;r=r*(b-x)+_,s._setC("x",this._nextCoord);let A=Math.min(1e5,Math.max(0,r/this._count*c/this._total-_));s._setCAll({width:A,y:n/2});let P=this._nextCoord+A/2;i._setC("x",P),this._nextCoord+=A+_,a._setCAll({x:this._nextCoord-_,y:n/2})}}hideDataItem(e,t){let s=Object.create(null,{hideDataItem:{get:()=>super.hideDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").hide(t),s.hideDataItem.call(this,e,t)})}showDataItem(e,t){let s=Object.create(null,{showDataItem:{get:()=>super.showDataItem}});return z(this,void 0,void 0,function*(){return e.get("link").show(t),s.showDataItem.call(this,e,t)})}_updateTick(e){if(this.get("alignLabels")){let t=e.get("tick"),s=e.get("label"),i=e.get("slice");if(t&&i&&s){let a=this.labelsContainer,l=this.slicesContainer,r=t.get("location",.5),n=a.width(),u=a.height(),o=a.get("paddingLeft",0),m=a.get("paddingRight",0),h=a.get("paddingTop",0),p=a.get("paddingBottom",0),g={x:0,y:0},c={x:0,y:0},d={x:0,y:0};this._opposite&&(r=1-r),this.get("orientation")=="vertical"?(g=i.getPoint(r,.5),g.x+=i.x()+l.x(),g.y+=i.y()+l.y(),this._opposite?(c.x=n,c.y=s.y(),d.x=n-o,d.y=c.y):(c.x=l.x()+l.width(),c.y=s.y(),d.x=c.x+n-s.width()-m,d.y=c.y)):(g=i.getPoint(.5,r),g.x+=i.x()+l.x(),g.y+=i.y()+l.y(),this._opposite?(c.y=u,c.x=s.x(),d.y=u-h,d.x=c.x):(c.y=l.y()+l.height(),c.x=s.x(),d.y=c.y+u-s.height()-p,d.x=c.x)),t.set("points",[g,c,d])}}}disposeDataItem(e){super.disposeDataItem(e);let t=e.get("link");t&&(this.links.removeValue(t),t.dispose())}_positionBullet(e){let t=e.get("sprite");if(t){let i=t.dataItem.get("slice");if(i){let a=i.getPoint(e.get("locationX",.5),e.get("locationY",.5));t.setAll({x:i.x()+a.x,y:i.y()+a.y})}}}};H.className="FunnelSeries";H.classNames=L.classNames.concat([H.className]);var X=class extends H{constructor(){super(...arguments),this._tag="pyramid"}_prepareChildren(){super._prepareChildren(),this._nextSize=void 0,(this.isDirty("topWidth")||this.isDirty("bottomWidth")||this.isDirty("valueIs"))&&(this._valuesDirty=!0)}decorateSlice(e){let t=this.get("orientation"),s=this.slicesContainer,i=e.get("slice"),a=e.get("label"),l=e.get("link"),r=this.get("valueIs","area"),n=this.getPrivate("valueAbsoluteSum",0);if(n==0)return;let u=this.get("startLocation",0),o=this.get("endLocation",1),m=this.get("topWidth",0),h=this.get("bottomWidth",D),p=Math.abs(e.get("valueWorking",0)),g=e.get("value",0),c,d,y=s.innerHeight(),x=s.innerWidth(),b=l.width(),_=l.height();t=="horizontal"&&([x,y]=[y,x],[b,_]=[_,b]);let A=x/2,P=1;g!=0?P=p/Math.abs(g):e.isHidden()&&(P=1e-6),_*=P,y=y*(o-u)-_*(this._count*this._total-1);let F=C(m,x);Y(this._nextSize)||(this._nextSize=F);let Z=C(h,x),N=this._nextSize,nt=Math.atan2(y,F-Z),B=Math.tan(Math.PI/2-nt);if(B==0&&(B=1e-8),r=="area"){let it=(F+Z)/2*y*p/n,ot=Math.abs(N*N-2*it*B);c=(N-Math.sqrt(ot))/B,c>0?d=(2*it-c*N)/c:d=N}else c=y*p/n,d=N-c*B;let O=this._nextCoord+c/2,J=A,j=this._nextCoord,Q=A,I=j+c;t=="vertical"?(a.set("y",O),a.get("opacity")>0&&this._rLabels.push({label:a,y:O}),i.set("height",c)):(a.set("x",O),a.get("opacity")>0&&this._hLabels.push({label:a,y:O}),[J,j]=[j,J],[Q,I]=[I,Q],i.set("width",c)),i.setAll({orientation:t,bottomWidth:d,topWidth:N,x:J,y:j}),l.setAll({orientation:t,x:Q,y:I,topWidth:d,bottomWidth:d}),this._nextSize=d,this._nextCoord+=c+_}};X.className="PyramidSeries";X.classNames=H.classNames.concat([X.className]);var K=class extends X{constructor(){super(...arguments),this._tag="pictorial",this.seriesMask=q.new(this._root,{position:"absolute",x:f,y:f,centerX:f,centerY:f}),this.seriesGraphics=this.slicesContainer.children.push(q.new(this._root,{themeTags:["pictorial","background"],position:"absolute",x:f,y:f,centerX:f,centerY:f})._markC("themeTags","position","x","y","centerX","centerY"))}_afterNew(){super._afterNew(),this._setC("topWidth",D),this._setC("bottomWidth",D),this._setC("valueIs","height"),this.slicesContainer._setC("mask",this.seriesMask)}_updateScale(){let e=this.slicesContainer,t=e.innerWidth(),s=e.innerHeight(),i=this.seriesMask,a=this.seriesGraphics,l=i.get("scale",1),r=i.localBounds(),n=r.right-r.left,u=r.bottom-r.top;this.get("orientation")=="horizontal"?l=t/n:l=s/u,l!=1/0&&!Number.isNaN(l)&&(i.set("scale",l),i.set("x",t/2),i.set("y",s/2),a._setC("scale",l),a._setC("x",t/2),a._setC("y",s/2))}_prepareChildren(){if(super._prepareChildren(),this.isDirty("svgPath")){let e=this.get("svgPath");this.seriesMask.set("svgPath",e),this.seriesGraphics._setC("svgPath",e)}this._updateScale()}};K.className="PictorialStackedSeries";K.classNames=X.classNames.concat([K.className]);var E=class extends ${_afterNew(){super._afterNew(),this.seriesContainer.setAll({isMeasured:!0,layout:this._root.horizontalLayout})}};E.className="SlicedChart";E.classNames=$.classNames.concat([E.className]);export{st as DefaultTheme,H as FunnelSeries,V as FunnelSlice,$ as PercentChart,L as PercentSeries,K as PictorialStackedSeries,G as PieChart,U as PieSeries,X as PyramidSeries,E as SlicedChart};