@arcgis/map-components 5.0.0-next.65 → 5.0.0-next.67

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 (437) hide show
  1. package/dist/cdn/{BJHEP4XP.js → 22ZBLGXQ.js} +2 -2
  2. package/dist/cdn/{C6U6JARU.js → 2HMUSZEY.js} +2 -2
  3. package/dist/cdn/{5QBG5EOQ.js → 2J2DJMDL.js} +1 -1
  4. package/dist/cdn/{K47L6NOF.js → 2P6DNJJL.js} +2 -2
  5. package/dist/cdn/{GNHM6SBQ.js → 2V6KWQOC.js} +2 -2
  6. package/dist/cdn/{GBKSMVC7.js → 2V7XLXJV.js} +2 -2
  7. package/dist/cdn/{2QRKVAPO.js → 2VBEQ225.js} +2 -2
  8. package/dist/cdn/{RVWQIUF5.js → 35ICJS3W.js} +2 -2
  9. package/dist/cdn/{XCTFOALH.js → 3ELDEDP2.js} +2 -2
  10. package/dist/cdn/{CJVUGN55.js → 3RWHXN7H.js} +2 -2
  11. package/dist/cdn/{GCOTAHXV.js → 3TFZWVBY.js} +2 -2
  12. package/dist/cdn/{VHOKP7SF.js → 3VJXWJCD.js} +2 -2
  13. package/dist/cdn/{TXOG4Z6N.js → 4KKPB4KM.js} +1 -1
  14. package/dist/cdn/{Q425F5UE.js → 4SMCLBCG.js} +2 -2
  15. package/dist/cdn/{RIHSDHAT.js → 4SRZHHTD.js} +2 -2
  16. package/dist/cdn/{PK4J333D.js → 56U2M5V4.js} +2 -2
  17. package/dist/cdn/{TKCWTYOZ.js → 56XCOWFC.js} +2 -2
  18. package/dist/cdn/{H4H62MBN.js → 5DUABPIN.js} +2 -2
  19. package/dist/cdn/{AWPRUMSC.js → 5L2XFMWY.js} +2 -2
  20. package/dist/cdn/{TA7FJ7HL.js → 5MAN4C7N.js} +2 -2
  21. package/dist/cdn/{Q6N4X2MW.js → 5TIWXMJX.js} +1 -1
  22. package/dist/cdn/{GFD5SGUU.js → 5YK6S4HT.js} +2 -2
  23. package/dist/cdn/{UKP5D6BA.js → 66EWWF6R.js} +2 -2
  24. package/dist/cdn/{RALXK5F3.js → 66XGBQBM.js} +2 -2
  25. package/dist/cdn/{LWXDT3YK.js → 6AOLQOOB.js} +2 -2
  26. package/dist/cdn/{OEMIU6NB.js → 6CTGFFG5.js} +2 -2
  27. package/dist/cdn/{3JCXYH7S.js → 6FGXITHU.js} +2 -2
  28. package/dist/cdn/{XDFS4H76.js → 6MVGR4Q3.js} +2 -2
  29. package/dist/cdn/{TNDFGQEW.js → 6NSZH2NE.js} +2 -2
  30. package/dist/cdn/{IOFNEOYJ.js → 6O3NEH2Z.js} +2 -2
  31. package/dist/cdn/{UQYYPM3W.js → 6QHOZSDW.js} +2 -2
  32. package/dist/cdn/{7PE5UD44.js → 73LVCP3A.js} +2 -2
  33. package/dist/cdn/{WIAVRJTD.js → 74HR3QDO.js} +2 -2
  34. package/dist/cdn/{5PIAYUVO.js → 75BJ2RPY.js} +2 -2
  35. package/dist/cdn/{LD7SNY7V.js → 767ZOISL.js} +2 -2
  36. package/dist/cdn/{G5YF56K3.js → 7CO635RL.js} +2 -2
  37. package/dist/cdn/{QDBIQPQO.js → 7K43K2LZ.js} +2 -2
  38. package/dist/cdn/{3L5UI3AI.js → 7NK4JRQ4.js} +2 -2
  39. package/dist/cdn/{VPUFBN4H.js → A4ZKF2QZ.js} +2 -2
  40. package/dist/cdn/{JOUP23O2.js → A64ZWPDA.js} +2 -2
  41. package/dist/cdn/{X54RL5BW.js → AX3VIDH3.js} +2 -2
  42. package/dist/cdn/{NHIE2466.js → AX5GA5H2.js} +2 -2
  43. package/dist/cdn/{UCJDUGAR.js → B3ER6PBK.js} +2 -2
  44. package/dist/cdn/{R2U35PLT.js → B45A7PJ2.js} +2 -2
  45. package/dist/cdn/B7NJOKRQ.js +4 -0
  46. package/dist/cdn/{L53LKL2S.js → BCIL52FK.js} +2 -2
  47. package/dist/cdn/{DPCRZFAW.js → BLACE246.js} +1 -1
  48. package/dist/cdn/{Y24EAP3X.js → BNTIBG5H.js} +2 -2
  49. package/dist/cdn/{WLUTTI5Q.js → BPYYLGTK.js} +2 -2
  50. package/dist/cdn/{ZOZ4YUTK.js → BQM2ZG55.js} +2 -2
  51. package/dist/cdn/{BM7KL6XM.js → BTRY5MNV.js} +2 -2
  52. package/dist/cdn/{Z3NNJDTM.js → BZ4C7RDY.js} +2 -2
  53. package/dist/cdn/{B56EYQBQ.js → BZPKYCHN.js} +2 -2
  54. package/dist/cdn/{BUM43HIE.js → C37I33FE.js} +2 -2
  55. package/dist/cdn/{53KLRKNE.js → C4HQLDFE.js} +2 -2
  56. package/dist/cdn/{KWMSY74E.js → CDMHHYF4.js} +2 -2
  57. package/dist/cdn/{BCSJYGKD.js → CIYCDAKC.js} +2 -2
  58. package/dist/cdn/{UVKLKBFZ.js → CRE2AMY6.js} +2 -2
  59. package/dist/cdn/{XXZ5OIOO.js → CSCBRVFP.js} +2 -2
  60. package/dist/cdn/{4NRF5SG7.js → CXISHSM6.js} +1 -1
  61. package/dist/cdn/D4WSYFGE.js +4 -0
  62. package/dist/cdn/{T3S6F2QX.js → DA5NWZ6B.js} +2 -2
  63. package/dist/cdn/{DEWXFVA2.js → DFVZAMQJ.js} +2 -2
  64. package/dist/cdn/{JFJWPCQW.js → DGMCD2H7.js} +2 -2
  65. package/dist/cdn/{YEULH7GB.js → DQML4J5Z.js} +2 -2
  66. package/dist/cdn/{FPXZTXZ2.js → DR4S7I7Q.js} +2 -2
  67. package/dist/cdn/{UZJCNUFV.js → DWO6HP37.js} +1 -1
  68. package/dist/cdn/{DYX5JHIZ.js → DYGOKHNM.js} +2 -2
  69. package/dist/cdn/{TIPROZGG.js → E3K2MKZS.js} +2 -2
  70. package/dist/cdn/{E2PNBNYE.js → E44YLMKI.js} +2 -2
  71. package/dist/cdn/{JINP6ERS.js → E5LZVT76.js} +2 -2
  72. package/dist/cdn/{SIBAVBYH.js → EHC32GRH.js} +2 -2
  73. package/dist/cdn/{EUIOCCG7.js → EKROT6MQ.js} +2 -2
  74. package/dist/cdn/{HTEMUI7T.js → EMIZSVVJ.js} +2 -2
  75. package/dist/cdn/{ESIY2O5P.js → EPEPREG4.js} +2 -2
  76. package/dist/cdn/{FIG2JMUZ.js → EPVEF4IV.js} +2 -2
  77. package/dist/cdn/{IAU2D2SB.js → EQMSRY6G.js} +2 -2
  78. package/dist/cdn/{WAP72TTX.js → ESDI347I.js} +2 -2
  79. package/dist/cdn/{N7ANNJIC.js → ETOKITYY.js} +2 -2
  80. package/dist/cdn/{BR3THC3H.js → ETX4WDNX.js} +2 -2
  81. package/dist/cdn/{LE6L63G4.js → EUUXE2QK.js} +2 -2
  82. package/dist/cdn/{4KWASTF5.js → F5O2CLBL.js} +2 -2
  83. package/dist/cdn/{VDDVPZ3G.js → FCPYUKDN.js} +2 -2
  84. package/dist/cdn/{VWT2ZVPA.js → FKKV2GA2.js} +2 -2
  85. package/dist/cdn/{2VSEV6MM.js → FMMVTT4G.js} +1 -1
  86. package/dist/cdn/{T2FTDJIZ.js → FN325N43.js} +1 -1
  87. package/dist/cdn/{OTMOXCM2.js → FO7BGLGZ.js} +2 -2
  88. package/dist/cdn/{NWT3MS2P.js → FPCHUHQ7.js} +2 -2
  89. package/dist/cdn/FS47ANAM.js +4 -0
  90. package/dist/cdn/{DQCAMOIF.js → FUCVCWPB.js} +2 -2
  91. package/dist/cdn/{7GASA4FN.js → FVKBK2X4.js} +2 -2
  92. package/dist/cdn/{NEMIRQXR.js → FZIBVSN4.js} +2 -2
  93. package/dist/cdn/{J5SLQL4V.js → G4MEC757.js} +2 -2
  94. package/dist/cdn/{YJ7OYO7Z.js → GGFE4OKL.js} +2 -2
  95. package/dist/cdn/{I5GCV6SR.js → GJ5F3YQH.js} +2 -2
  96. package/dist/cdn/{HN3W7FJ7.js → GK4E3OLJ.js} +2 -2
  97. package/dist/cdn/{M7AQFRSL.js → GTM6NT6F.js} +2 -2
  98. package/dist/cdn/{7LEGPRNL.js → GV7R6ODQ.js} +2 -2
  99. package/dist/cdn/{EUR7C455.js → HEAAVUAR.js} +2 -2
  100. package/dist/cdn/{CWWB2IAP.js → HEMBK6OH.js} +2 -2
  101. package/dist/cdn/{KSFFCU5K.js → HIK6CZYO.js} +2 -2
  102. package/dist/cdn/{3UVK2EE7.js → HLLVMJQZ.js} +2 -2
  103. package/dist/cdn/{BDTKLJNM.js → HOHMW6S7.js} +3 -3
  104. package/dist/cdn/{O4YDJ4CR.js → HV2MRIAJ.js} +1 -1
  105. package/dist/cdn/{NP6VAK5C.js → HWGN24EU.js} +2 -2
  106. package/dist/cdn/{B5LMEWVN.js → HWW5FTZI.js} +2 -2
  107. package/dist/cdn/{GAAV43RP.js → I2WFMQNC.js} +2 -2
  108. package/dist/cdn/{LKGUWQCT.js → I33HGRWX.js} +2 -2
  109. package/dist/cdn/{HWRCE4FY.js → I47KECCR.js} +2 -2
  110. package/dist/cdn/{UCFUVVL7.js → I4KGNTOS.js} +2 -2
  111. package/dist/cdn/{JXLQWHSV.js → I74RWDF4.js} +2 -2
  112. package/dist/cdn/{2KND3F45.js → IK5ZWXEW.js} +2 -2
  113. package/dist/cdn/{7JDNJOKW.js → IPZIIMC6.js} +2 -2
  114. package/dist/cdn/{EUIFOFK5.js → ITG6MSU7.js} +2 -2
  115. package/dist/cdn/{ATT6DCCW.js → IWMMC4UW.js} +2 -2
  116. package/dist/cdn/{5VA4AXPP.js → JC7BYFF2.js} +2 -2
  117. package/dist/cdn/{4KZV2BWE.js → JDMLYHQR.js} +2 -2
  118. package/dist/cdn/{HH765JZC.js → JH3IT72I.js} +2 -2
  119. package/dist/cdn/{6ZMIDMXE.js → JICZV5CK.js} +2 -2
  120. package/dist/cdn/{OZ3JGZBP.js → JKDYUAUS.js} +2 -2
  121. package/dist/cdn/{IJU3SRGI.js → JZDOQOUQ.js} +2 -2
  122. package/dist/cdn/K3OAPLNY.js +4 -0
  123. package/dist/cdn/{Y6SYTDCJ.js → L2YBSSZ7.js} +2 -2
  124. package/dist/cdn/{TG2MCMXO.js → LC4BNSEU.js} +2 -2
  125. package/dist/cdn/{RRB4SWD2.js → LIWCKT44.js} +2 -2
  126. package/dist/cdn/{5RY4EI4X.js → LNXCX3IL.js} +2 -2
  127. package/dist/cdn/{G4LG5CHE.js → LSAIJBVV.js} +2 -2
  128. package/dist/cdn/LTHV4Y3K.js +4 -0
  129. package/dist/cdn/LTROZPDZ.js +4 -0
  130. package/dist/cdn/{Q57GDWNL.js → LVNJOCMT.js} +2 -2
  131. package/dist/cdn/{5B2DGI4Z.js → LY3LG7G7.js} +2 -2
  132. package/dist/cdn/{RQDXBXI3.js → M4S6FPKH.js} +2 -2
  133. package/dist/cdn/{SV5NIZIA.js → M74AGXWG.js} +2 -2
  134. package/dist/cdn/{AVDPYQ7E.js → MDGFDWY5.js} +2 -2
  135. package/dist/cdn/{JX5RDQFQ.js → MOV6EQSG.js} +2 -2
  136. package/dist/cdn/{LYAWLMJQ.js → MUECXXXB.js} +2 -2
  137. package/dist/cdn/{EJK4WZEP.js → MYM63GNH.js} +2 -2
  138. package/dist/cdn/{X7WRJNWU.js → N7H652A2.js} +2 -2
  139. package/dist/cdn/{HHSEJYOP.js → NCKSIPEG.js} +2 -2
  140. package/dist/cdn/{6LRKZVG3.js → NH45VJDS.js} +2 -2
  141. package/dist/cdn/{HCNDFLNG.js → NIPBEZ3X.js} +2 -2
  142. package/dist/cdn/{5NMAXRTF.js → NISI5RU3.js} +2 -2
  143. package/dist/cdn/{NY47EWBH.js → NMHORQ52.js} +2 -2
  144. package/dist/cdn/{QV5N4DWP.js → NUWADIOT.js} +2 -2
  145. package/dist/cdn/{G2WCBJCC.js → NVMPOZKE.js} +2 -2
  146. package/dist/cdn/{BOPLHEVC.js → NWG43M6P.js} +2 -2
  147. package/dist/cdn/{LNMQCN2Y.js → NY34UR6J.js} +2 -2
  148. package/dist/cdn/{35NY4ARB.js → OIL27XKY.js} +2 -2
  149. package/dist/cdn/{N345D7JI.js → OJ4UKQBC.js} +2 -2
  150. package/dist/cdn/{N624XXEY.js → ON3LHGY2.js} +2 -2
  151. package/dist/cdn/{5STBO2TF.js → P3VNMDEH.js} +2 -2
  152. package/dist/cdn/P5DQ2TDJ.js +4 -0
  153. package/dist/cdn/{EDMGJ53Y.js → P7DGSZ3D.js} +2 -2
  154. package/dist/cdn/{FRJ5L26H.js → PBXLVQH3.js} +2 -2
  155. package/dist/cdn/{O7GA4XVL.js → PC7DZF3S.js} +2 -2
  156. package/dist/cdn/{PV7SKQCM.js → PSX5EREP.js} +2 -2
  157. package/dist/cdn/{7JN5KXNK.js → PXAI3AYM.js} +2 -2
  158. package/dist/cdn/{ZQBWVNZU.js → PZRYBKZH.js} +2 -2
  159. package/dist/cdn/{KF4LI52J.js → Q3MXCJ4L.js} +2 -2
  160. package/dist/cdn/{VEQT2S7L.js → Q44O6KWO.js} +2 -2
  161. package/dist/cdn/{NIPRLTKS.js → Q54MTJLQ.js} +2 -2
  162. package/dist/cdn/{NP42P62U.js → Q6HNUBKI.js} +2 -2
  163. package/dist/cdn/{NUBSWNIX.js → QABUDA5I.js} +2 -2
  164. package/dist/cdn/{QHXH52SD.js → QFKOOJZY.js} +2 -2
  165. package/dist/cdn/{Y3EAIJT2.js → QO2KSZ4L.js} +2 -2
  166. package/dist/cdn/{AX4VYIJJ.js → QS2KF7FA.js} +1 -1
  167. package/dist/cdn/{R5ZME4FZ.js → QSXHJT32.js} +2 -2
  168. package/dist/cdn/{4LS6A43E.js → QVTZKDYF.js} +2 -2
  169. package/dist/cdn/{Z5G7XQPZ.js → QXTZIFMZ.js} +2 -2
  170. package/dist/cdn/{B2PT54EK.js → R3MYPVTD.js} +2 -2
  171. package/dist/cdn/{V5NCCPE6.js → R4M55RG6.js} +2 -2
  172. package/dist/cdn/{QNVLFIM6.js → R5JGKEV2.js} +2 -2
  173. package/dist/cdn/{JFGRGVPS.js → RGKVPOMZ.js} +2 -2
  174. package/dist/cdn/RH2YHX3P.js +4 -0
  175. package/dist/cdn/{AG7JSJKM.js → RJOWS5MZ.js} +2 -2
  176. package/dist/cdn/{CWWQ5DVQ.js → RNC3FJ3S.js} +1 -1
  177. package/dist/cdn/{UBP6DPGX.js → RQQ7IXRP.js} +2 -2
  178. package/dist/cdn/{BZ6JECFC.js → RQTZYZZ6.js} +2 -2
  179. package/dist/cdn/{ROXHM4KC.js → RYNUN4IL.js} +2 -2
  180. package/dist/cdn/{JFJVWP3U.js → S45GQDNX.js} +1 -1
  181. package/dist/cdn/{JNWAAADJ.js → SBTQWSWC.js} +2 -2
  182. package/dist/cdn/{C2EZM4TZ.js → SN25TXJU.js} +2 -2
  183. package/dist/cdn/{REZNHBLL.js → SNDBNSIV.js} +2 -2
  184. package/dist/cdn/{DMPFR2VI.js → SNSDTQMU.js} +2 -2
  185. package/dist/cdn/{AX2T37U6.js → SQGNUFMS.js} +1 -1
  186. package/dist/cdn/{3KDM6YY5.js → SUFS3HTE.js} +2 -2
  187. package/dist/cdn/{JT4BL4MI.js → SVZ6FAM5.js} +2 -2
  188. package/dist/cdn/{KAUAQB5Y.js → SXHIEPVW.js} +2 -2
  189. package/dist/cdn/{7TGU7KD4.js → SXLGVSO6.js} +2 -2
  190. package/dist/cdn/{PMPAGMK6.js → SYAQMZMQ.js} +2 -2
  191. package/dist/cdn/{GLAFC4GB.js → T4WAECZN.js} +2 -2
  192. package/dist/cdn/{4EKNIIEL.js → TFQ7CBIN.js} +2 -2
  193. package/dist/cdn/{VUDJZHBN.js → TME2DRKC.js} +2 -2
  194. package/dist/cdn/{IXXU3CSS.js → TNPOR5E5.js} +2 -2
  195. package/dist/cdn/{TFA2DQO3.js → TO75T3AD.js} +2 -2
  196. package/dist/cdn/{IZRU6BKU.js → TQ4OGM7K.js} +2 -2
  197. package/dist/cdn/{YE55BS2Q.js → TUD7KUZC.js} +2 -2
  198. package/dist/cdn/{E2B4A7JI.js → TVP6XXKF.js} +2 -2
  199. package/dist/cdn/{IBSZVEO4.js → TWCZPC2A.js} +2 -2
  200. package/dist/cdn/{KRRD73M7.js → TYDBNT2V.js} +2 -2
  201. package/dist/cdn/{IHKT5L2N.js → TZVUUDV7.js} +2 -2
  202. package/dist/cdn/{LEFUBLHD.js → UA7XDPNY.js} +2 -2
  203. package/dist/cdn/{A6ZDKGQC.js → UG5KA4NB.js} +2 -2
  204. package/dist/cdn/{NTWYBKV5.js → UHYKDZ7J.js} +2 -2
  205. package/dist/cdn/{E74OSTOG.js → UNUVSU7Q.js} +2 -2
  206. package/dist/cdn/{RT65YYLB.js → UVI2BWG2.js} +2 -2
  207. package/dist/cdn/{UYA7EJAG.js → VAJ24WML.js} +2 -2
  208. package/dist/cdn/{345GKQYL.js → VEJ5FG75.js} +2 -2
  209. package/dist/cdn/{D3JV4VL4.js → VPDXKXCC.js} +1 -1
  210. package/dist/cdn/{Y5OSSEKH.js → W4C2JITJ.js} +1 -1
  211. package/dist/cdn/{ONUUXE7I.js → W6XJGXH6.js} +2 -2
  212. package/dist/cdn/{TG4MX7AM.js → W7KWVBJ5.js} +2 -2
  213. package/dist/cdn/{AYFDVED6.js → WFNLWK76.js} +2 -2
  214. package/dist/cdn/{6QD2NADI.js → WUVYGM7F.js} +2 -2
  215. package/dist/cdn/{L7PM5PWT.js → WYLR6PIL.js} +2 -2
  216. package/dist/cdn/{S5XJEGFM.js → WYYVLYLI.js} +2 -2
  217. package/dist/cdn/{TBPNX6RN.js → WZXWEBI3.js} +1 -1
  218. package/dist/cdn/{UXP7P2OA.js → XILQVE34.js} +2 -2
  219. package/dist/cdn/{OGHVJWW3.js → XNLZGWNP.js} +2 -2
  220. package/dist/cdn/{3HKFIINT.js → XPPYXO3N.js} +2 -2
  221. package/dist/cdn/{ORXTE5WT.js → XPQ6LAON.js} +2 -2
  222. package/dist/cdn/{ATHJBHFY.js → Y33D43YW.js} +2 -2
  223. package/dist/cdn/{YVMGT4OF.js → YKGRMO2T.js} +2 -2
  224. package/dist/cdn/{275CRYH6.js → YPA7PKX3.js} +2 -2
  225. package/dist/cdn/{ZOHOTLJQ.js → YRKQUZJM.js} +2 -2
  226. package/dist/cdn/{OLKD773Z.js → YXHNB6YW.js} +4 -4
  227. package/dist/cdn/{RYM5AUKL.js → Z4BAIRVV.js} +2 -2
  228. package/dist/cdn/{OGXGWEYC.js → ZC6M2WG3.js} +2 -2
  229. package/dist/cdn/{3RWUCAU3.js → ZD5T3TQU.js} +2 -2
  230. package/dist/cdn/{U5VJC7XL.js → ZEWTYDHQ.js} +2 -2
  231. package/dist/cdn/ZJG3JA3R.js +4 -0
  232. package/dist/cdn/{XNSYK37O.js → ZK7LO3AM.js} +2 -2
  233. package/dist/cdn/{WNUC527M.js → ZO6NDZK7.js} +2 -2
  234. package/dist/cdn/{RRKT3GP4.js → ZPN6NMOO.js} +2 -2
  235. package/dist/cdn/assets/presentation/t9n/messages.en.json +1 -1
  236. package/dist/cdn/assets/volume-measurement/t9n/messages.en.json +1 -1
  237. package/dist/cdn/index.js +2 -2
  238. package/dist/chunks/AnalysisViewModel.js +1 -1
  239. package/dist/chunks/action-utils.js +1 -1
  240. package/dist/chunks/async-utils.js +1 -1
  241. package/dist/chunks/basemap-gallery-resources.js +1 -1
  242. package/dist/chunks/chart-utils.js +1 -1
  243. package/dist/chunks/chartCommon.js +1 -1
  244. package/dist/chunks/component-utils.js +1 -1
  245. package/dist/chunks/constants.js +1 -1
  246. package/dist/chunks/createCloseEvent.js +1 -1
  247. package/dist/chunks/esri-main.js +1 -1
  248. package/dist/chunks/feature-utils.js +16 -16
  249. package/dist/chunks/globalCss.js +1 -1
  250. package/dist/chunks/handle.js +1 -1
  251. package/dist/chunks/heading.js +1 -1
  252. package/dist/chunks/layer-list.js +1 -1
  253. package/dist/chunks/legacyIcon.js +1 -1
  254. package/dist/chunks/maybe.js +1 -1
  255. package/dist/chunks/measurementUtils.js +1 -1
  256. package/dist/chunks/runtime.js +1 -1
  257. package/dist/chunks/screenLocation.js +1 -1
  258. package/dist/chunks/slots.js +2 -2
  259. package/dist/chunks/svgUtils.js +1 -1
  260. package/dist/chunks/time-utils.js +1 -1
  261. package/dist/chunks/univariateUtils.js +1 -1
  262. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  263. package/dist/chunks/useHandles.js +1 -1
  264. package/dist/chunks/useT9n.js +1 -1
  265. package/dist/chunks/useView.js +1 -1
  266. package/dist/chunks/useViewModel.js +1 -1
  267. package/dist/chunks/useWidget.js +1 -1
  268. package/dist/chunks/utils.js +1 -1
  269. package/dist/chunks/utils2.js +1 -1
  270. package/dist/chunks/visible-element.js +1 -1
  271. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  272. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  273. package/dist/components/arcgis-attachments/customElement.js +1 -1
  274. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  275. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  276. package/dist/components/arcgis-basemap-layer-list/customElement.d.ts +1 -1
  277. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  278. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  279. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  280. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  281. package/dist/components/arcgis-catalog-layer-list/customElement.d.ts +1 -1
  282. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  283. package/dist/components/arcgis-color-select/customElement.js +1 -1
  284. package/dist/components/arcgis-compass/customElement.js +1 -1
  285. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  286. package/dist/components/arcgis-daylight/customElement.js +3 -1
  287. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  288. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  289. package/dist/components/arcgis-directions/customElement.js +1 -1
  290. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  291. package/dist/components/arcgis-editor/customElement.js +1 -1
  292. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  293. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  294. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  295. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  296. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  297. package/dist/components/arcgis-expand/customElement.js +1 -1
  298. package/dist/components/arcgis-feature/customElement.js +2 -2
  299. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  300. package/dist/components/arcgis-feature-content/customElement.js +2 -2
  301. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  302. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  303. package/dist/components/arcgis-feature-fields/customElement.js +15 -15
  304. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  305. package/dist/components/arcgis-feature-media/customElement.js +2 -2
  306. package/dist/components/arcgis-feature-relationship/customElement.js +51 -50
  307. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  308. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  309. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  310. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +2 -1
  311. package/dist/components/arcgis-features/customElement.js +1 -1
  312. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  313. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  314. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  315. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  316. package/dist/components/arcgis-home/customElement.js +1 -1
  317. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  318. package/dist/components/arcgis-layer-list/customElement.d.ts +1 -1
  319. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  320. package/dist/components/arcgis-layer-list-item/customElement.js +1 -1
  321. package/dist/components/arcgis-legend/customElement.js +1 -1
  322. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  323. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  324. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  325. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  326. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  327. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  328. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  329. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  330. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  331. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  332. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  333. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  334. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  335. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  336. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  337. package/dist/components/arcgis-link-chart/customElement.js +2 -1
  338. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  339. package/dist/components/arcgis-locate/customElement.js +1 -1
  340. package/dist/components/arcgis-map/customElement.js +2 -1
  341. package/dist/components/arcgis-measurement/customElement.js +1 -1
  342. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  343. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  344. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  345. package/dist/components/arcgis-placement/customElement.js +1 -1
  346. package/dist/components/arcgis-popup/customElement.js +1 -1
  347. package/dist/components/arcgis-presentation/PresentationViewModel.d.ts +19 -0
  348. package/dist/components/arcgis-presentation/customElement.d.ts +27 -2
  349. package/dist/components/arcgis-presentation/customElement.js +94 -14
  350. package/dist/components/arcgis-presentation/index.d.ts +1 -0
  351. package/dist/components/arcgis-presentation/index.js +1 -0
  352. package/dist/components/arcgis-print/customElement.js +1 -1
  353. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  354. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  355. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  356. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  357. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  358. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  359. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  360. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  361. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  362. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  363. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  364. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  365. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  366. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  367. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  368. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  369. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  370. package/dist/components/arcgis-scene/customElement.js +2 -1
  371. package/dist/components/arcgis-search/customElement.js +1 -1
  372. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  373. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  374. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  375. package/dist/components/arcgis-shadow-cast-duration-config/customElement.js +1 -1
  376. package/dist/components/arcgis-shadow-cast-threshold-config/customElement.js +1 -1
  377. package/dist/components/arcgis-sketch/customElement.js +1 -1
  378. package/dist/components/arcgis-slice/customElement.js +1 -1
  379. package/dist/components/arcgis-spinner/customElement.js +1 -1
  380. package/dist/components/arcgis-swipe/customElement.js +1 -1
  381. package/dist/components/arcgis-table-list/customElement.js +1 -1
  382. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  383. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  384. package/dist/components/arcgis-track/customElement.js +1 -1
  385. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  386. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  387. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  388. package/dist/components/arcgis-utility-network-result-feature-list/customElement.js +1 -1
  389. package/dist/components/arcgis-utility-network-subnetwork-info/customElement.js +1 -1
  390. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  391. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  392. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  393. package/dist/components/arcgis-utility-network-trace-location/customElement.js +1 -1
  394. package/dist/components/arcgis-utility-network-trace-location-list/customElement.js +1 -1
  395. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  396. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  397. package/dist/components/arcgis-value-picker/customElement.js +1 -1
  398. package/dist/components/arcgis-version-management/customElement.js +1 -1
  399. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  400. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  401. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  402. package/dist/components/arcgis-video/customElement.js +1 -1
  403. package/dist/components/arcgis-video-player/customElement.js +1 -1
  404. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  405. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  406. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  407. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  408. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  409. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  410. package/dist/components/arcgis-volume-measurement/customElement.js +53 -44
  411. package/dist/components/arcgis-volume-measurement/index.d.ts +1 -0
  412. package/dist/components/arcgis-volume-measurement/index.js +1 -0
  413. package/dist/components/arcgis-weather/customElement.js +1 -1
  414. package/dist/components/arcgis-zoom/customElement.js +1 -1
  415. package/dist/docs/api.json +126 -2
  416. package/dist/docs/docs.json +99 -2
  417. package/dist/docs/vscode.html-custom-data.json +28 -2
  418. package/dist/docs/web-types.json +46 -3
  419. package/dist/index.d.ts +74 -74
  420. package/dist/index.js +1 -1
  421. package/dist/loader.d.ts +1 -1
  422. package/dist/loader.js +2 -2
  423. package/dist/types/components.d.ts +1 -1
  424. package/dist/types/lumina.d.ts +75 -75
  425. package/dist/types/preact.d.ts +75 -75
  426. package/dist/types/preact10.d.ts +75 -75
  427. package/dist/types/react.d.ts +75 -75
  428. package/dist/types/stencil.d.ts +75 -75
  429. package/package.json +3 -3
  430. package/dist/cdn/7MFIX2DN.js +0 -4
  431. package/dist/cdn/DBR6LHAF.js +0 -4
  432. package/dist/cdn/DCDHF7LW.js +0 -4
  433. package/dist/cdn/EWOOGZOU.js +0 -4
  434. package/dist/cdn/K2GUDPS7.js +0 -4
  435. package/dist/cdn/LEUPDLKZ.js +0 -4
  436. package/dist/cdn/SZQVEVWP.js +0 -4
  437. package/dist/cdn/VQ2TCARY.js +0 -4
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as l}from"./5B2DGI4Z.js";import d from"./WAP72TTX.js";import c from"./VEQT2S7L.js";import b from"./3HKFIINT.js";import{g as a}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import"./Y5OSSEKH.js";import{I as r,O as o,a as t,s as i}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([c,,{a:s},n])=>{var d=t`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=n(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=s(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d)
3
+ v5.0.0-next.67 */
4
+ import{a as l}from"./LY3LG7G7.js";import d from"./ESDI347I.js";import c from"./Q44O6KWO.js";import b from"./XPPYXO3N.js";import{g as a}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./2J2DJMDL.js";import"./W4C2JITJ.js";import{I as r,O as o,a as t,s as i}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([c,,{a:s},n])=>{var d=t`@keyframes esri-basemap-slide{0%{opacity:0;margin-top:0;margin-left:0}75%{opacity:0;margin-top:0;margin-left:0}to{opacity:1;margin-top:5px;margin-left:5px}}@keyframes esri-docking-animation{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes popup-intro-animation-down{0%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes popup-intro-animation-up{0%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@supports (-ms-ime-align: auto){.esri-slider__anchor:focus{outline:1px dotted #000}}@keyframes esri-spinner--start-animation{0%{opacity:0;transform:scale(0)}to{opacity:1;transform:scale(1)}}@keyframes esri-spinner--finish-animation{0%{opacity:1;transform:scale(1)}to{opacity:0;transform:scale(0)}}@keyframes esri-spinner--rotate-animation{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@media(prefers-reduced-motion){.esri-utility-network-trace__reset-prompt{animation:none!important}}@media(prefers-reduced-motion){.esri-popup--aligned-top-center,.esri-popup--aligned-top-left,.esri-popup--aligned-top-right,.esri-popup--aligned-bottom-center,.esri-popup--aligned-bottom-left,.esri-popup--aligned-bottom-right,.esri-popup--is-docked{animation:none!important}}@media(prefers-reduced-motion:reduce){.esri-fov-overlay{animation:none!important}}@keyframes esri-fade-in-down{0%{opacity:0;transform:translateY(-5px)}25%{opacity:0;transform:translateY(-5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in-up{0%{opacity:0;transform:translateY(5px)}25%{opacity:0;transform:translateY(5px)}to{opacity:1;transform:translate(0)}}@keyframes esri-fade-in{0%{opacity:0}25%{opacity:0}to{opacity:1}}@keyframes esri-fade-in-scale{0%{opacity:0;transform:scale(.95)}to{opacity:1;transform:scale(1)}}@keyframes looping-progresss-bar-ani{0%{width:0;left:0}20%{width:20%;left:0}80%{width:20%;left:80%}to{width:0;left:100%}}@keyframes esri-rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}@keyframes panel-advance{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-advance--rtl{0%{opacity:0;transform:translate(-50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}@keyframes panel-retreat--rtl{0%{opacity:0;transform:translate(50px) scale(.99)}to{opacity:1;transform:translate(0) scale(1)}}.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-table-list{display:flex;width:100%}.esri-table-list__filter-no-results{padding:12px 15px}.esri-table-list__item{--calcite-list-item-icon-center: 8.5px}.esri-table-list__status-indicator{visibility:hidden;color:var(--calcite-color-text-1);margin-inline:0}.esri-table-list__item-action-image{text-align:center;background-position:50%;background-repeat:no-repeat;background-size:contain;flex:0 0 16px;width:16px;height:16px;font-size:var(--calcite-font-size)}.esri-table-list__action-menu .esri-table-list__action-group{display:none}.esri-table-list__action-menu[open] .esri-table-list__action-group{display:flex}.esri-table-list__publishing{visibility:visible;color:var(--calcite-color-text-3);animation:2s infinite esri-table-layer-list__publishing-anim}.esri-table-list__item-content-bottom{margin:12px 15px}.esri-table-list__item-content-bottom .esri-legend__service{padding:0 0 12px}.esri-table-list__item-message{margin:12px 15px}@keyframes esri-table-layer-list__publishing-anim{0%,20%{transform:rotate(45deg)}80%,to{transform:rotate(135deg)}}`,p=n(c),e=class extends r{constructor(){super(...arguments),this.widget=p(this),this.viewModel=this.widget.viewModel,this.arcgisClose=l(this),this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=this.widget.collapsed,this.dragEnabled=this.widget.dragEnabled,this.filterPlaceholder=this.widget.filterPlaceholder,this.filterPredicate=this.widget.filterPredicate,this.filterText=this.widget.filterText,this.icon=this.widget.icon,this.label=this.widget.label,this.listItemCreatedFunction=this.widget.listItemCreatedFunction,this.map=this.widget.map,this.minDragEnabledItems=this.widget.minDragEnabledItems,this.minFilterItems=this.widget.minFilterItems,this.selectedItems=this.widget.selectedItems,this.selectionMode=this.widget.selectionMode,this.state=this.viewModel.state,this.showCloseButton=this.widget.visibleElements.closeButton,this.showCollapseButton=this.widget.visibleElements.collapseButton,this.showErrors=this.widget.visibleElements.errors,this.showFilter=this.widget.visibleElements.filter,this.hideFlow=this.widget.visibleElements.flow,this.showHeading=this.widget.visibleElements.heading,this.hideStatusIndicators=this.widget.visibleElements.statusIndicators,this.showTemporaryTableIndicators=this.widget.visibleElements.temporaryTableIndicators,this.arcgisPropertyChange=a()("state"),this.arcgisReady=i(),this.arcgisTriggerAction=s(()=>this.widget,"trigger-action")}static{this.properties={autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,icon:1,label:1,listItemCreatedFunction:0,map:0,minDragEnabledItems:9,minFilterItems:9,position:1,referenceElement:1,selectedItems:0,selectionMode:1,state:3,tableItems:32,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,hideFlow:5,showHeading:5,hideStatusIndicators:5,showTemporaryTableIndicators:5,view:0}}static{this.styles=d}get tableItems(){return this.widget.tableItems}async destroy(){await this.manager.destroy()}};o("arcgis-table-list",e);return e},"widgets/TableList",b,c,d)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as f,b as g}from"./YVMGT4OF.js";import{a as v,e as k}from"./AX4VYIJJ.js";import{a as p}from"./2VSEV6MM.js";import j from"./IZRU6BKU.js";import"./Q6N4X2MW.js";import i from"./GNHM6SBQ.js";import"./TBPNX6RN.js";import{a as m}from"./275CRYH6.js";import"./3UVK2EE7.js";import e from"./GFD5SGUU.js";import{a as T}from"./IHKT5L2N.js";import{a as u}from"./T2FTDJIZ.js";import d from"./VEQT2S7L.js";import a from"./3HKFIINT.js";import{g as O}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import"./Y5OSSEKH.js";import{I as y,J as h,L as _,O as C,a as x,b as c,s as b}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([P,{property:s,subclass:I},{whenOnce:V},,,D,,$])=>{var E=x`.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;overflow:hidden;width:300px;padding:var(--esri-widget-padding)}.container{display:flex;flex-direction:column;gap:var(--calcite-spacing-lg)}.time-range-section calcite-label:last-child,.visualization-options-section:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--calcite-spacing-md)}.hidden-config{display:none}.threshold-config{.discrete-block{--calcite-label-margin-bottom: 0;flex-direction:column;display:flex}.discrete-label{margin-bottom:var(--calcite-spacing-xs);width:100%;font-weight:var(--calcite-font-weight-medium)}.discrete-label-text{opacity:var(--calcite-opacity-disabled)}.discrete-config{gap:var(--calcite-spacing-xs);padding:0 var(--calcite-spacing-xs)}}`,L=Object.defineProperty,A=Object.getOwnPropertyDescriptor,r=(e,i,a,n)=>{for(var t=n>1?void 0:n?A(i,a):i,l=e.length-1,d;l>=0;l--)(d=e[l])&&(t=(n?d(i,a,t):d(t))||t);return n&&t&&L(i,a,t),t},o=class extends ${constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.minThreshold=0,this.maxThreshold=v(8,"hours","milliseconds")}constructAnalysis(){return new P}get date(){return this.analysis.date}set date(e){this.analysis.date=e}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(e){this.analysis.discreteOptions.color=e}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(e){this.analysis.discreteOptions.interval=e}get durationColor(){return this.analysis.durationOptions.color}set durationColor(e){this.analysis.durationOptions.color=e}get durationMode(){return this.analysis.durationOptions.mode}set durationMode(e){this.analysis.durationOptions.mode=e}get localDate(){return k(this.view)}get mode(){return this.analysis.mode}set mode(e){this.analysis.mode=e}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(e){this.analysis.startTimeOfDay=e}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(e){this.analysis.endTimeOfDay=e}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get thresholdColor(){return this.analysis.thresholdOptions.color}set thresholdColor(e){this.analysis.thresholdOptions.color=e}get threshold(){return this.analysis.thresholdOptions.threshold}set threshold(e){this.analysis.thresholdOptions.threshold=e}get thresholdContextEnabled(){return this.analysis.thresholdOptions.contextEnabled}set thresholdContextEnabled(e){this.analysis.thresholdOptions.contextEnabled=e}get thresholdContextColor(){return this.analysis.thresholdOptions.contextOptions.color}set thresholdContextColor(e){this.analysis.thresholdOptions.contextOptions.color=e}get thresholdContextInterval(){return this.analysis.thresholdOptions.contextOptions.interval}set thresholdContextInterval(e){this.analysis.thresholdOptions.contextOptions.interval=e}get utcOffset(){return this.analysis.utcOffset}set utcOffset(e){this.analysis.utcOffset=e}get hideVisualization(){return!this.visible}set hideVisualization(e){this.visible=!e}async getDurationAtScreen(e){return await(await V(()=>this.analysisView)).getDurationAtScreen(e)}};r([s()],o.prototype,"date",1);r([s()],o.prototype,"discreteColor",1);r([s()],o.prototype,"discreteInterval",1);r([s()],o.prototype,"durationColor",1);r([s()],o.prototype,"durationMode",1);r([s()],o.prototype,"localDate",1);r([s()],o.prototype,"mode",1);r([s()],o.prototype,"startTimeOfDay",1);r([s()],o.prototype,"endTimeOfDay",1);r([s()],o.prototype,"state",1);r([s()],o.prototype,"thresholdColor",1);r([s()],o.prototype,"minThreshold",2);r([s()],o.prototype,"maxThreshold",2);r([s()],o.prototype,"threshold",1);r([s()],o.prototype,"thresholdContextEnabled",1);r([s()],o.prototype,"thresholdContextColor",1);r([s()],o.prototype,"thresholdContextInterval",1);r([s()],o.prototype,"utcOffset",1);r([s()],o.prototype,"hideVisualization",1);o=r([I("components.shadow-cast.ShadowCastViewModel")],o);var R=D(o),w=class extends y{constructor(){super(...arguments),this.viewModel=R(this),this.messages=T(),this.#e="s",this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=!1,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideDurationOptions=!1,this.hideDurationColorPicker=!1,this.hideDurationModeSelect=!1,this.hideThresholdOptions=!1,this.hideThresholdColorPicker=!1,this.hideThresholdSlider=!1,this.hideThresholdContextOptions=!1,this.hideThresholdContextToggle=!1,this.hideThresholdContextColorPicker=!1,this.hideThresholdContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.durationColor=this.viewModel.durationColor,this.durationMode=this.viewModel.durationMode,this.threshold=this.viewModel.threshold,this.thresholdColor=this.viewModel.thresholdColor,this.minThreshold=this.viewModel.minThreshold,this.maxThreshold=this.viewModel.maxThreshold,this.thresholdContextEnabled=this.viewModel.thresholdContextEnabled,this.thresholdContextColor=this.viewModel.thresholdContextColor,this.thresholdContextInterval=this.viewModel.thresholdContextInterval,this.arcgisPropertyChange=O()("state"),this.arcgisReady=b()}static{this.properties={analysis:0,view:0,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideDurationOptions:5,hideDurationColorPicker:5,hideDurationModeSelect:5,hideThresholdOptions:5,hideThresholdColorPicker:5,hideThresholdSlider:5,hideThresholdContextOptions:5,hideThresholdContextToggle:5,hideThresholdContextColorPicker:5,hideThresholdContextInterval:5,icon:3,label:1,mode:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,utcOffset:9,discreteColor:0,discreteInterval:9,durationColor:0,durationMode:1,threshold:9,thresholdColor:0,minThreshold:9,maxThreshold:9,thresholdContextEnabled:5,thresholdContextColor:0,thresholdContextInterval:9}}static{this.styles=E}#e;get date(){return this.viewModel.date}set date(i){this.viewModel.date=i}async destroy(){await this.manager.destroy()}async getDurationAtScreen(i){return await this.viewModel.getDurationAtScreen(i)}render(){return c`<div aria-label=${this.messages.componentLabel??_} class=${h({container:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${p({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(this.hideTimeRangeSlider&&this.hideDatePicker)return;let{messages:i,utcOffset:a,viewModel:n}=this,t=this.#e;return c`<section class="time-range-section">${m({level:this.headingLevel,children:i.timeRangeHeading})}${p({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${p({hidden:this.hideTimezone,children:c`<calcite-label .scale=${t}>${i.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${n.localDate} .scale=${t} .value=${`${v(a??0,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{n.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`})}${p({hidden:this.hideDatePicker,children:c`<calcite-label .scale=${t}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${t} .valueAsDate=${n.date} @calciteInputDatePickerChange=${l=>{let d=l.currentTarget.valueAsDate;n.date=Array.isArray(d)?d[0]:d}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{viewModel:i}=this;return c`<calcite-slider fill-placement=end .labelFormatter=${(a,n)=>{let t=Math.floor(a/g),l=Math.round(a%g/f);return n==="tick"?t%6!==0||l!==0?"":t.toFixed():`${t.toFixed(0).padStart(2,"0")}:${l.toFixed(0).padStart(2,"0")}`}} label-handles label-ticks min=0 .max=${g*24} .step=${f} .scale=${this.#e} .ticks=${g} .value=${[this.startTimeOfDay,this.endTimeOfDay]} @calciteSliderInput=${a=>{let[n,t]=a.currentTarget.value;i.startTimeOfDay=n,i.endTimeOfDay=t}}></calcite-slider>`}_renderVisualizationOptionsSection(){let{headingLevel:i,messages:a,viewModel:n}=this,t=(M,S)=>n.mode===M&&!S?void 0:"hidden-config",{discreteOptions:l,durationOptions:d,thresholdOptions:z}=this.analysis;return c`<section class="visualization-options-section">${m({level:i,children:a.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${h(t("threshold",this.hideThresholdOptions))}><arcgis-shadow-cast-threshold-config .hideColorPicker=${this.hideThresholdColorPicker} .hideContextColorPicker=${this.hideThresholdContextColorPicker} .hideContextInterval=${this.hideThresholdContextInterval} .hideContextOptions=${this.hideThresholdContextOptions} .hideContextToggle=${this.hideThresholdContextToggle} .hideSlider=${this.hideThresholdSlider} .maxThreshold=${this.maxThreshold} .messages=${a} .minThreshold=${this.minThreshold} .options=${z} .scale=${this.#e}></arcgis-shadow-cast-threshold-config></div><div class=${h(t("duration",this.hideDurationOptions))}><arcgis-shadow-cast-duration-config .hideColorPicker=${this.hideDurationColorPicker} .hideModeSelect=${this.hideDurationModeSelect} .messages=${a} .options=${d} .scale=${this.#e}></arcgis-shadow-cast-duration-config></div><div class=${h(t("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${a} .options=${l} .scale=${this.#e}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{messages:i,viewModel:a}=this,{mode:n}=a;return c`<calcite-select .label=${i.visualizationLabel??""} .scale=${this.#e} @calciteSelectChange=${t=>{let l=t.target.selectedOption?.value;a.mode=l??"threshold"}}>${[{mode:"threshold",label:i.threshold?.optionLabel},{mode:"duration",label:i.duration?.optionLabel},{mode:"discrete",label:i.discrete?.optionLabel}].map(({mode:t,label:l})=>c`<calcite-option .selected=${t===n} .value=${t} .label=${l}></calcite-option>`)}</calcite-select>`}};C("arcgis-shadow-cast",w);return w},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
3
+ v5.0.0-next.67 */
4
+ import{a as f,b as g}from"./YKGRMO2T.js";import{a as v,e as k}from"./QS2KF7FA.js";import{a as p}from"./FMMVTT4G.js";import j from"./TQ4OGM7K.js";import"./5TIWXMJX.js";import i from"./2V6KWQOC.js";import"./WZXWEBI3.js";import{a as m}from"./YPA7PKX3.js";import"./HLLVMJQZ.js";import e from"./5YK6S4HT.js";import{a as T}from"./TZVUUDV7.js";import{a as u}from"./FN325N43.js";import d from"./Q44O6KWO.js";import a from"./XPPYXO3N.js";import{g as O}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./2J2DJMDL.js";import"./W4C2JITJ.js";import{I as y,J as h,L as _,O as C,a as x,b as c,s as b}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([P,{property:s,subclass:I},{whenOnce:V},,,D,,$])=>{var E=x`.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)}.esri-widget{--esri-widget-padding-x: 15px;--esri-widget-padding-y: var(--calcite-spacing-md);--esri-widget-padding: var(--esri-widget-padding-y) var(--esri-widget-padding-x);box-sizing:border-box;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget *,.esri-widget :before,.esri-widget :after{box-sizing:inherit}.esri-widget.esri-widget--disabled>*{opacity:.4;pointer-events:none}.esri-widget.esri-widget--compact{--esri-widget-padding-y: 0;--esri-widget-padding-x: 0}.esri-widget__anchor{color:var(--calcite-color-text-2)}.esri-widget__anchor:hover{color:var(--calcite-color-text-3)}.esri-widget__anchor:hover,.esri-widget__anchor:focus{text-decoration:underline}.esri-widget__anchor--disabled{opacity:.4;pointer-events:none}.esri-widget__header{background-color:var(--calcite-color-foreground-1);flex:1 0 100%;justify-content:space-between;align-items:center;width:100%;min-height:48px;padding:12px 0 12px 15px;display:flex}.esri-widget__header .esri-widget__heading{width:calc(100% - 48px);text-align:initial;color:var(--calcite-color-text-1);align-items:center;margin:0;padding:0;display:flex}.esri-widget__header-button{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background-color:var(--calcite-color-foreground-1);border:none;flex:0 0 48px;justify-content:center;align-self:stretch;align-items:center;width:48px;padding:0;display:flex}.esri-widget__footer{background-color:var(--calcite-color-foreground-1);justify-content:center;align-items:center;width:100%;min-height:48px;display:flex}.esri-widget__footer-pagination{color:var(--calcite-color-text-2);justify-content:space-between;align-items:center;display:flex}.esri-widget__footer-pagination-previous-button,.esri-widget__footer-pagination-next-button{cursor:pointer;background-color:var(--calcite-color-foreground-1);border:0;margin:0 7px;padding:12px 15px;transition:background-color .125s ease-in-out}.esri-widget__footer-pagination-previous-button:hover,.esri-widget__footer-pagination-previous-button:focus,.esri-widget__footer-pagination-next-button:hover,.esri-widget__footer-pagination-next-button:focus{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1)}.esri-menu{visibility:hidden;z-index:1;background-clip:padding;background-color:var(--calcite-color-foreground-1);background-clip:padding-box;width:100%;max-height:0;margin:2px 0 0;padding:0;font-size:var(--calcite-font-size);line-height:var(--calcite-spacing-xl);position:absolute;top:100%;left:0;overflow:hidden;box-shadow:0 1px 2px #0000004d}.esri-menu .esri-menu__header{color:var(--calcite-color-text-inverse);background-color:var(--calcite-color-inverse);padding:6px 12px}.esri-menu__list{margin:0;padding:0;list-style:none}.esri-menu__list-item{cursor:pointer;border-top:1px solid #adadad4d;border-left:3px solid #0000;padding:.8em 1em}.esri-menu__list-item [class^=esri-icon-],.esri-menu__list-item [class*=" esri-icon-"]{padding-right:2.8px}.esri-menu__list-item:first-child{border-top:none}.esri-menu__list-item--focus,.esri-menu__list-item:hover,.esri-menu__list-item:focus{background-color:var(--calcite-color-foreground-1)}.esri-menu__list-item:active{background-color:var(--calcite-color-foreground-current)}.esri-menu__list-item--active,.esri-menu__list-item--active:hover,.esri-menu__list-item--active:focus{background-color:var(--calcite-color-foreground-1);border-left-color:var(--calcite-color-brand)}.esri-widget__table{border-collapse:collapse;color:var(--calcite-color-text-1);border:none;width:100%;line-height:var(--calcite-font-line-height-relative-tight)}.esri-widget__table tr:nth-child(odd){background-color:var(--calcite-color-transparent)}.esri-widget__table tr:nth-child(2n){background-color:var(--calcite-color-transparent-press)}.esri-widget__table tr a{color:var(--calcite-color-text-2)}.esri-widget__table tr a:hover,.esri-widget__table tr a:focus{color:var(--calcite-color-text-1)}.esri-widget__table tr td,.esri-widget__table tr th{vertical-align:top;word-break:break-word;padding:.5em .7em;font-size:var(--calcite-font-size-sm);font-weight:var(--calcite-font-weight-regular)}.esri-widget__table tr th{text-align:left;border-right:3px solid #0000000d;width:50%}.esri-widget__table tr td{width:50%}.esri-input{color:var(--calcite-color-text-1);background-color:var(--calcite-color-foreground-1);border:1px solid #959595;font-size:var(--calcite-font-size)}.esri-input::-ms-clear{display:none}.esri-input::placeholder{opacity:1;color:var(--calcite-color-text-2)}.esri-input:placeholder-shown{text-overflow:ellipsis}.esri-input[type=text],.esri-input[type=password],.esri-input[type=number]{height:32px;padding:0 .5em}calcite-combobox.esri-input{border:none}.esri-widget__content--empty{text-align:center;color:var(--calcite-color-border-input);flex-flow:column wrap;align-items:center;padding:18px 22px;display:flex}.esri-widget__content--empty h1.esri-widget__heading,.esri-widget__content--empty h2.esri-widget__heading,.esri-widget__content--empty h3.esri-widget__heading,.esri-widget__content--empty h4.esri-widget__heading,.esri-widget__content--empty h5.esri-widget__heading{font-weight:var(--calcite-font-weight-regular)}.esri-widget__content-illustration--empty{width:128px;padding:1rem 0}.esri-widget__content-icon--empty{width:32px;padding:.5rem 0}.esri-select{appearance:none;cursor:pointer;color:var(--calcite-color-text-2);background:var(--calcite-color-foreground-1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32' width='32' height='32'%3E%3Cpath d='M8 11.207l-4-4V5.793l4 4 4-4v1.414z' fill='%23adadad' fillrule='nonzero'/%3E%3C/svg%3E") 100% no-repeat;border:1px solid #959595;border-radius:0;width:100%;height:32px;margin:0;padding:0 .5em;font-family:inherit;font-size:.85em;display:block}.esri-select[disabled]{cursor:auto}.esri-select::-ms-expand{display:none}.esri-disabled a,.esri-disabled [role=menu],.esri-disabled [role=checkbox],.esri-disabled [class^=esri-icon-],.esri-disabled [class*=" esri-icon-"]{color:var(--calcite-color-text-3)}.keynav-mode .esri-widget:focus,.keynav-mode .esri-widget :focus{z-index:1;outline-offset:2px;outline:2px solid #adadad}.esri-widget__loader-animation{border:.15em solid #adadad4d;border-top-color:var(--calcite-color-border-input);border-radius:100%;width:1em;height:1em;font-size:var(--calcite-font-size-md);animation:1.25s linear infinite esri-rotate;display:block;transform:translateZ(0)}:dir(rtl) .esri-widget__table th{text-align:right;border-left:3px solid #0000000d;border-right:none}:dir(rtl) .esri-select{background-position:0}:dir(rtl) .esri-menu__list-item{border-left:none;border-right:3px solid #0000}:dir(rtl) .esri-menu__list-item [class^=esri-icon-],:dir(rtl) .esri-menu__list-item [class*=" esri-icon-"]{padding-left:2px;padding-right:0}:dir(rtl) .esri-menu__list-item--active{border-right-color:var(--calcite-color-brand)}.esri-icon-font-fallback-text{clip:rect(0 0 0 0);width:1px;height:1px;position:absolute;overflow:hidden}.esri-rotating{animation:1.25s linear infinite esri-rotate;transform:translateZ(0)}.esri-clearfix:before,.esri-clearfix:after{content:" ";display:table}.esri-clearfix:after{clear:both}.esri-interactive{cursor:pointer}.esri-hidden{display:none!important}.esri-invisible{visibility:hidden!important}.esri-offscreen{position:absolute;top:-999em;left:-999em}.esri-match-height{flex-direction:column;flex:auto;display:flex;overflow:hidden}.esri-widget--panel{min-width:300px;min-height:32px;padding:var(--esri-widget-padding);transition:max-height .25s ease-in-out;overflow-y:auto}:host{position:relative;overflow:hidden;width:300px;padding:var(--esri-widget-padding)}.container{display:flex;flex-direction:column;gap:var(--calcite-spacing-lg)}.time-range-section calcite-label:last-child,.visualization-options-section:last-child{--calcite-label-margin-bottom: 0}.date-picker{flex-grow:1;display:block}.visualization-options{flex-direction:column;display:flex;gap:var(--calcite-spacing-md)}.hidden-config{display:none}.threshold-config{.discrete-block{--calcite-label-margin-bottom: 0;flex-direction:column;display:flex}.discrete-label{margin-bottom:var(--calcite-spacing-xs);width:100%;font-weight:var(--calcite-font-weight-medium)}.discrete-label-text{opacity:var(--calcite-opacity-disabled)}.discrete-config{gap:var(--calcite-spacing-xs);padding:0 var(--calcite-spacing-xs)}}`,L=Object.defineProperty,A=Object.getOwnPropertyDescriptor,r=(e,i,a,n)=>{for(var t=n>1?void 0:n?A(i,a):i,l=e.length-1,d;l>=0;l--)(d=e[l])&&(t=(n?d(i,a,t):d(t))||t);return n&&t&&L(i,a,t),t},o=class extends ${constructor(){super(...arguments),this.supportedViewType="3d",this.unsupportedErrorMessage="The Shadow Cast component is only supported in 3D views.",this.minThreshold=0,this.maxThreshold=v(8,"hours","milliseconds")}constructAnalysis(){return new P}get date(){return this.analysis.date}set date(e){this.analysis.date=e}get discreteColor(){return this.analysis.discreteOptions.color}set discreteColor(e){this.analysis.discreteOptions.color=e}get discreteInterval(){return this.analysis.discreteOptions.interval}set discreteInterval(e){this.analysis.discreteOptions.interval=e}get durationColor(){return this.analysis.durationOptions.color}set durationColor(e){this.analysis.durationOptions.color=e}get durationMode(){return this.analysis.durationOptions.mode}set durationMode(e){this.analysis.durationOptions.mode=e}get localDate(){return k(this.view)}get mode(){return this.analysis.mode}set mode(e){this.analysis.mode=e}get startTimeOfDay(){return this.analysis.startTimeOfDay}set startTimeOfDay(e){this.analysis.startTimeOfDay=e}get endTimeOfDay(){return this.analysis.endTimeOfDay}set endTimeOfDay(e){this.analysis.endTimeOfDay=e}get state(){return this.view?.ready&&this.analysisView?"ready":"disabled"}get thresholdColor(){return this.analysis.thresholdOptions.color}set thresholdColor(e){this.analysis.thresholdOptions.color=e}get threshold(){return this.analysis.thresholdOptions.threshold}set threshold(e){this.analysis.thresholdOptions.threshold=e}get thresholdContextEnabled(){return this.analysis.thresholdOptions.contextEnabled}set thresholdContextEnabled(e){this.analysis.thresholdOptions.contextEnabled=e}get thresholdContextColor(){return this.analysis.thresholdOptions.contextOptions.color}set thresholdContextColor(e){this.analysis.thresholdOptions.contextOptions.color=e}get thresholdContextInterval(){return this.analysis.thresholdOptions.contextOptions.interval}set thresholdContextInterval(e){this.analysis.thresholdOptions.contextOptions.interval=e}get utcOffset(){return this.analysis.utcOffset}set utcOffset(e){this.analysis.utcOffset=e}get hideVisualization(){return!this.visible}set hideVisualization(e){this.visible=!e}async getDurationAtScreen(e){return await(await V(()=>this.analysisView)).getDurationAtScreen(e)}};r([s()],o.prototype,"date",1);r([s()],o.prototype,"discreteColor",1);r([s()],o.prototype,"discreteInterval",1);r([s()],o.prototype,"durationColor",1);r([s()],o.prototype,"durationMode",1);r([s()],o.prototype,"localDate",1);r([s()],o.prototype,"mode",1);r([s()],o.prototype,"startTimeOfDay",1);r([s()],o.prototype,"endTimeOfDay",1);r([s()],o.prototype,"state",1);r([s()],o.prototype,"thresholdColor",1);r([s()],o.prototype,"minThreshold",2);r([s()],o.prototype,"maxThreshold",2);r([s()],o.prototype,"threshold",1);r([s()],o.prototype,"thresholdContextEnabled",1);r([s()],o.prototype,"thresholdContextColor",1);r([s()],o.prototype,"thresholdContextInterval",1);r([s()],o.prototype,"utcOffset",1);r([s()],o.prototype,"hideVisualization",1);o=r([I("components.shadow-cast.ShadowCastViewModel")],o);var R=D(o),w=class extends y{constructor(){super(...arguments),this.viewModel=R(this),this.messages=T(),this.#e="s",this.analysis=this.viewModel.analysis,this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.endTimeOfDay=this.viewModel.endTimeOfDay,this.headingLevel=4,this.hideTimeRangeSlider=!1,this.hideTimezone=!1,this.hideDatePicker=!1,this.hideShadowDurationTooltip=!1,this.hideVisualization=this.viewModel.hideVisualization,this.hideVisualizationOptions=!1,this.hideDiscreteOptions=!1,this.hideDiscreteColorPicker=!1,this.hideDiscreteInterval=!1,this.hideDurationOptions=!1,this.hideDurationColorPicker=!1,this.hideDurationModeSelect=!1,this.hideThresholdOptions=!1,this.hideThresholdColorPicker=!1,this.hideThresholdSlider=!1,this.hideThresholdContextOptions=!1,this.hideThresholdContextToggle=!1,this.hideThresholdContextColorPicker=!1,this.hideThresholdContextInterval=!1,this.icon="measure-building-height-shadow",this.mode=this.viewModel.mode,this.startTimeOfDay=this.viewModel.startTimeOfDay,this.state=this.viewModel.state,this.utcOffset=this.viewModel.utcOffset,this.discreteColor=this.viewModel.discreteColor,this.discreteInterval=this.viewModel.discreteInterval,this.durationColor=this.viewModel.durationColor,this.durationMode=this.viewModel.durationMode,this.threshold=this.viewModel.threshold,this.thresholdColor=this.viewModel.thresholdColor,this.minThreshold=this.viewModel.minThreshold,this.maxThreshold=this.viewModel.maxThreshold,this.thresholdContextEnabled=this.viewModel.thresholdContextEnabled,this.thresholdContextColor=this.viewModel.thresholdContextColor,this.thresholdContextInterval=this.viewModel.thresholdContextInterval,this.arcgisPropertyChange=O()("state"),this.arcgisReady=b()}static{this.properties={analysis:0,view:0,autoDestroyDisabled:5,date:1,endTimeOfDay:9,headingLevel:9,hideTimeRangeSlider:5,hideTimezone:5,hideDatePicker:5,hideShadowDurationTooltip:5,hideVisualization:5,hideVisualizationOptions:5,hideDiscreteOptions:5,hideDiscreteColorPicker:5,hideDiscreteInterval:5,hideDurationOptions:5,hideDurationColorPicker:5,hideDurationModeSelect:5,hideThresholdOptions:5,hideThresholdColorPicker:5,hideThresholdSlider:5,hideThresholdContextOptions:5,hideThresholdContextToggle:5,hideThresholdContextColorPicker:5,hideThresholdContextInterval:5,icon:3,label:1,mode:1,position:1,referenceElement:1,startTimeOfDay:9,state:3,utcOffset:9,discreteColor:0,discreteInterval:9,durationColor:0,durationMode:1,threshold:9,thresholdColor:0,minThreshold:9,maxThreshold:9,thresholdContextEnabled:5,thresholdContextColor:0,thresholdContextInterval:9}}static{this.styles=E}#e;get date(){return this.viewModel.date}set date(i){this.viewModel.date=i}async destroy(){await this.manager.destroy()}async getDurationAtScreen(i){return await this.viewModel.getDurationAtScreen(i)}render(){return c`<div aria-label=${this.messages.componentLabel??_} class=${h({container:!0,[u.widget]:!0,[u.widgetDisabled]:this.viewModel.state==="disabled",[u.panel]:!0})} role=presentation>${this._renderTimeRangeSection()}${p({hidden:this.hideVisualizationOptions,children:this._renderVisualizationOptionsSection()})}</div>`}_renderTimeRangeSection(){if(this.hideTimeRangeSlider&&this.hideDatePicker)return;let{messages:i,utcOffset:a,viewModel:n}=this,t=this.#e;return c`<section class="time-range-section">${m({level:this.headingLevel,children:i.timeRangeHeading})}${p({hidden:this.hideTimeRangeSlider,children:this._renderTimeRange()})}${p({hidden:this.hideTimezone,children:c`<calcite-label .scale=${t}>${i.timezoneLabel}<calcite-input-time-zone mode=offset overlay-positioning=fixed .referenceDate=${n.localDate} .scale=${t} .value=${`${v(a??0,"hours","minutes")}`} @calciteInputTimeZoneChange=${l=>{n.utcOffset=+l.target.value/60}}></calcite-input-time-zone></calcite-label>`})}${p({hidden:this.hideDatePicker,children:c`<calcite-label .scale=${t}>${i.dateLabel}<calcite-input-date-picker overlay-positioning=fixed placement=bottom .scale=${t} .valueAsDate=${n.date} @calciteInputDatePickerChange=${l=>{let d=l.currentTarget.valueAsDate;n.date=Array.isArray(d)?d[0]:d}}></calcite-input-date-picker></calcite-label>`})}</section>`}_renderTimeRange(){let{viewModel:i}=this;return c`<calcite-slider fill-placement=end .labelFormatter=${(a,n)=>{let t=Math.floor(a/g),l=Math.round(a%g/f);return n==="tick"?t%6!==0||l!==0?"":t.toFixed():`${t.toFixed(0).padStart(2,"0")}:${l.toFixed(0).padStart(2,"0")}`}} label-handles label-ticks min=0 .max=${g*24} .step=${f} .scale=${this.#e} .ticks=${g} .value=${[this.startTimeOfDay,this.endTimeOfDay]} @calciteSliderInput=${a=>{let[n,t]=a.currentTarget.value;i.startTimeOfDay=n,i.endTimeOfDay=t}}></calcite-slider>`}_renderVisualizationOptionsSection(){let{headingLevel:i,messages:a,viewModel:n}=this,t=(M,S)=>n.mode===M&&!S?void 0:"hidden-config",{discreteOptions:l,durationOptions:d,thresholdOptions:z}=this.analysis;return c`<section class="visualization-options-section">${m({level:i,children:a.visualizationLabel})}<div class="visualization-options">${this._renderModeSelect()}<div class=${h(t("threshold",this.hideThresholdOptions))}><arcgis-shadow-cast-threshold-config .hideColorPicker=${this.hideThresholdColorPicker} .hideContextColorPicker=${this.hideThresholdContextColorPicker} .hideContextInterval=${this.hideThresholdContextInterval} .hideContextOptions=${this.hideThresholdContextOptions} .hideContextToggle=${this.hideThresholdContextToggle} .hideSlider=${this.hideThresholdSlider} .maxThreshold=${this.maxThreshold} .messages=${a} .minThreshold=${this.minThreshold} .options=${z} .scale=${this.#e}></arcgis-shadow-cast-threshold-config></div><div class=${h(t("duration",this.hideDurationOptions))}><arcgis-shadow-cast-duration-config .hideColorPicker=${this.hideDurationColorPicker} .hideModeSelect=${this.hideDurationModeSelect} .messages=${a} .options=${d} .scale=${this.#e}></arcgis-shadow-cast-duration-config></div><div class=${h(t("discrete",this.hideDiscreteOptions))}><arcgis-shadow-cast-discrete-config .hideColorPicker=${this.hideDiscreteColorPicker} .hideInterval=${this.hideDiscreteInterval} .messages=${a} .options=${l} .scale=${this.#e}></arcgis-shadow-cast-discrete-config></div></div></section>`}_renderModeSelect(){let{messages:i,viewModel:a}=this,{mode:n}=a;return c`<calcite-select .label=${i.visualizationLabel??""} .scale=${this.#e} @calciteSelectChange=${t=>{let l=t.target.selectedOption?.value;a.mode=l??"threshold"}}>${[{mode:"threshold",label:i.threshold?.optionLabel},{mode:"duration",label:i.duration?.optionLabel},{mode:"discrete",label:i.discrete?.optionLabel}].map(({mode:t,label:l})=>c`<calcite-option .selected=${t===n} .value=${t} .label=${l}></calcite-option>`)}</calcite-select>`}};C("arcgis-shadow-cast",w);return w},"analysis/ShadowCastAnalysis","core/accessorSupport/decorators","core/reactiveUtils",a,d,e,i,j)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as m}from"./CWWQ5DVQ.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./GBKSMVC7.js";import{a as q}from"./JFJVWP3U.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
3
+ v5.0.0-next.67 */
4
+ import{a as m}from"./RNC3FJ3S.js";import{H as _,K as T,L as A,f as L,g as y,m as U,o as I}from"./2V7XLXJV.js";import{a as q}from"./S45GQDNX.js";var W={};q(W,{StyleRule:()=>P,StyleSheet:()=>O,addClass:()=>ge,addEventListener:()=>N,addSpacing:()=>Pe,alternativeColor:()=>R,blur:()=>ne,brighten:()=>F,capitalizeFirst:()=>Le,cleanFormat:()=>Se,contains:()=>k,decimalPlaces:()=>we,escapeForRgex:()=>Ee,focus:()=>oe,get12Hours:()=>Fe,getBrightnessStep:()=>Ae,getDayFromWeek:()=>Me,getEventKey:()=>pe,getEventTarget:()=>ce,getFormat:()=>ve,getLightnessStep:()=>g,getMonthWeek:()=>Ce,getPointerId:()=>re,getRendererEvent:()=>ie,getSafeResolution:()=>me,getShadowRoot:()=>he,getStyle:()=>ae,getTimeZone:()=>$e,getTimezoneOffset:()=>Re,getWeek:()=>D,getWeekYear:()=>De,getYearDay:()=>je,hslToHsv:()=>Ie,hslToRgb:()=>x,hsvToHsl:()=>Ue,iOS:()=>B,isLight:()=>C,isLocalEvent:()=>le,isTouchEvent:()=>se,lighten:()=>M,mergeTags:()=>He,onZoom:()=>te,padString:()=>b,plainText:()=>Te,ready:()=>X,relativeToValue:()=>_e,removeClass:()=>be,removeElement:()=>ee,rgbToHsl:()=>v,sameBounds:()=>Ne,saturate:()=>$,setInteractive:()=>fe,setStyle:()=>ue,splitString:()=>Oe,stripTags:()=>Y,supports:()=>w,trim:()=>j,trimLeft:()=>z,trimRight:()=>G,truncateTextWithEllipsis:()=>xe});function X(e){if(document.readyState!=="loading")e();else{let t=()=>{document.readyState!=="loading"&&(document.removeEventListener("readystatechange",t),e())};document.addEventListener("readystatechange",t)}}function ee(e){e.parentNode&&e.parentNode.removeChild(e)}function N(e,t,r,n){return e.addEventListener(t,r,n||!1),new A(()=>{e.removeEventListener(t,r,n||!1)})}function te(e){return N(window,"resize",t=>{e()})}function w(e){switch(e){case"touchevents":return window.hasOwnProperty("TouchEvent");case"pointerevents":return window.hasOwnProperty("PointerEvent");case"mouseevents":return window.hasOwnProperty("MouseEvent");case"wheelevents":return window.hasOwnProperty("WheelEvent");case"keyboardevents":return window.hasOwnProperty("KeyboardEvent")}return!1}function re(e){return e.pointerId||0}function ne(){if(document.activeElement&&document.activeElement!=document.body)if(document.activeElement.blur)document.activeElement.blur();else{let e=document.createElement("button");e.style.position="fixed",e.style.top="0px",e.style.left="-10000px",document.body.appendChild(e),e.focus(),e.blur(),document.body.removeChild(e)}}function oe(e){e&&e.focus()}function ie(e){if(w("pointerevents"))return e;if(w("touchevents"))switch(e){case"pointerover":return"touchstart";case"pointerout":return"touchend";case"pointerleave":return"touchend";case"pointerdown":return"touchstart";case"pointermove":return"touchmove";case"pointerup":return"touchend";case"click":return"click";case"dblclick":return"dblclick"}else if(w("mouseevents"))switch(e){case"pointerover":return"mouseover";case"pointerout":return"mouseout";case"pointerleave":return"mouseleave";case"pointerdown":return"mousedown";case"pointermove":return"mousemove";case"pointerup":return"mouseup";case"click":return"click";case"dblclick":return"dblclick"}return e}function se(e){if(typeof Touch<"u"&&e instanceof Touch)return!0;if(typeof PointerEvent<"u"&&e instanceof PointerEvent&&e.pointerType!=null)switch(e.pointerType){case"touch":case"pen":case 2:return!0;case"mouse":case 4:return!1;default:return!(e instanceof MouseEvent)}else if(e.type!=null&&e.type.match(/^mouse/))return!1;return!0}function ue(e,t,r){e.style[t]=r}function ae(e,t){return e.style[t]}function ce(e){if(e.composedPath){let t=e.composedPath();return t.length===0?null:t[0]}else return e.target}function k(e,t){let r=t;for(;;){if(e===r)return!0;if(r.parentNode===null){if(r.host==null)return!1;r=r.host}else r=r.parentNode}}function le(e,t){return e.target&&k(t.root.dom,e.target)}function fe(e,t){t?e.style.pointerEvents="auto":e.style.pointerEvents="none"}function pe(e){if(e.key!==void 0)return e.key;switch(e.keyCode){case 9:return"Tab";case 13:return"Enter";case 16:return"Shift";case 17:return"Control";case 27:return"Escape";case 32:return" ";case 37:return"ArrowLeft";case 38:return"ArrowUp";case 39:return"ArrowRight";case 40:return"ArrowDown";case 46:return"Delete"}return""+e.keyCode}function he(e){let t=e;for(;;){if(t.parentNode===null)return t.host!=null?t:null;t=t.parentNode}}var E;function de(e,t,r=""){let n=document.createElement("style");return n.type="text/css",r!=""&&n.setAttribute("nonce",r),n.textContent=t,e===null?document.head.appendChild(n):e.appendChild(n),n}function ye(e,t=""){if(e===null){if(E==null){let r=document.createElement("style");r.type="text/css",t!=""&&r.setAttribute("nonce",t),document.head.appendChild(r),E=r.sheet}return E}else{let r=document.createElement("style");return r.type="text/css",t!=""&&r.setAttribute("nonce",t),e.appendChild(r),r.sheet}}function H(e,t){let r=e.cssRules.length;return e.insertRule(t+"{}",r),e.cssRules[r]}var P=class extends T{constructor(t,r,n,o=""){super(),Object.defineProperty(this,"_root",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),Object.defineProperty(this,"_rule",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._root=ye(t,o);try{this._rule=H(this._root,r)}catch{this._rule=H(this._root,":not(*)")}_(n,(i,s)=>{this.setStyle(i,s)})}set selector(t){this._rule.selectorText=t}get selector(){return this._rule.selectorText}_dispose(){let t=U(this._root.cssRules,this._rule);if(t===-1)throw new Error("Could not dispose StyleRule");this._root.deleteRule(t)}_setVendorPrefixName(t,r){let n=this._rule.style;n.setProperty("-webkit-"+t,r,""),n.setProperty("-moz-"+t,r,""),n.setProperty("-ms-"+t,r,""),n.setProperty("-o-"+t,r,""),n.setProperty(t,r,"")}setStyle(t,r){t==="transition"?this._setVendorPrefixName(t,r):this._rule.style.setProperty(t,r,"")}},O=class extends T{constructor(t,r,n=""){super(),Object.defineProperty(this,"_element",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._element=de(t,r,n)}_dispose(){this._element.parentNode&&this._element.parentNode.removeChild(this._element)}};function ge(e,t){if(e)if(e.classList){let r=t.split(" ");I(r,n=>{e.classList.add(n)})}else{let r=e.getAttribute("class");r?e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" ")+" "+t):e.setAttribute("class",t)}}function be(e,t){if(e)if(e.classList)e.classList.remove(t);else{let r=e.getAttribute("class");r&&e.setAttribute("class",r.split(" ").filter(n=>n!==t).join(" "))}}function B(){return/apple/i.test(navigator.vendor)&&"ontouchend"in document}function me(){return B()?1:void 0}function _e(e,t){return y(e)?e:e!=null&&y(e.value)&&y(t)?t*e.value:0}function we(e){let t=(""+e).match(/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/);return t?Math.max(0,(t[1]?t[1].length:0)-(t[2]?+t[2]:0)):0}function b(e,t=0,r="0"){return typeof e!="string"&&(e=e.toString()),t>e.length?Array(t-e.length+1).join(r)+e:e}function z(e){return e.replace(/^[\s]*/,"")}function G(e){return e.replace(/[\s]*$/,"")}function j(e){return z(G(e))}function xe(e,t,r=!1,n="..."){if(e.length>t){let o=t-1;for(;o>=0&&e.charAt(o).match(/\w/);)o--;return o>=0&&r==!1?e.substring(0,o+1)+"...":e.substring(0,t)+n}else return e}function ve(e){if(typeof e>"u")return"string";e=e.toLowerCase().replace(/^\[[^\]]*\]/,""),e=e.replace(/\[[^\]]+\]/,""),e=e.trim();let t=e.match(/\/(date|number|duration)$/);return t?t[1]:e==="number"?"number":e==="date"?"date":e==="duration"?"duration":e.match(/[#0]/)?"number":e.match(/[ymwdhnsqaxkzgtei]/)?"date":"string"}function Se(e){return e.replace(/\/(date|number|duration)$/i,"")}function Y(e){return e&&e.replace(/<[^>]*>/g,"")}function Te(e){return e&&Y((""+e).replace(/[\n\r]+/g,". "))}function Ee(e){return e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&")}function Pe(e){let t="";for(let r=0;r<e.length;r++){let n=e.charAt(r);n.toUpperCase()==n&&r!=0&&(t+=" "),t+=n}return t}function Oe(e){let t=/[\u0590-\u05FF\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]/,r=/([^اأدذرزو]*[اأدذرزو])/gi,n=e.split(/(\s+)/),o=[];return n.forEach(i=>{if(i.match(/^\s+$/))(i=" ")&&(i=" "),o.push(i);else if(t.test(i)){let s=i.split(r).filter(u=>u!=="");o=o.concat(s)}else o=o.concat([...i])}),o}function je(e,t=!1){let r=new Date(e.getFullYear(),0,0),n=e.getTime()-r.getTime()+(r.getTimezoneOffset()-e.getTimezoneOffset())*60*1e3,o=1e3*60*60*24;return Math.floor(n/o)}function D(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;r.setUTCDate(r.getUTCDate()+4-n);let o=new Date(Date.UTC(r.getUTCFullYear(),0,1));return Math.ceil(((r.getTime()-o.getTime())/864e5+1)/7)}function De(e,t=!1){let r=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate())),n=r.getUTCDay()||7;return r.setUTCDate(r.getUTCDate()+4-n),new Date(Date.UTC(r.getUTCFullYear(),0,1)).getFullYear()}function Ce(e,t=!1){let r=D(new Date(e.getFullYear(),e.getMonth(),1),t),n=D(e,t);return n==1&&(n=53),n-r+1}function Me(e,t,r=1,n=!1){let o=new Date(t,0,4,0,0,0,0);return n&&o.setUTCFullYear(t),e*7+r-((o.getDay()||7)+3)}function Fe(e,t){return e>12?e-=12:e===0&&(e=12),t!=null?e+(t-1):e}function $e(e,t=!1,r=!1,n=!1,o){if(n)return t?"Coordinated Universal Time":"UTC";if(o){let u=e.toLocaleString("en-US",{timeZone:o}),c=e.toLocaleString("en-US",{timeZone:o,timeZoneName:t?"long":"short"});return j(c.substr(u.length))}let i=e.toLocaleString("UTC"),s=e.toLocaleString("UTC",{timeZoneName:t?"long":"short"}).substr(i.length);return r===!1&&(s=s.replace(/ (standard|daylight|summer|winter) /i," ")),j(s)}function Re(e,t){let r=t||new Date(Date.UTC(2012,0,1,0,0,0,0)),n=new Date(r.toLocaleString("en-US",{timeZone:"UTC"}));return(new Date(r.toLocaleString("en-US",{timeZone:e})).getTime()-n.getTime())/6e4*-1}function Le(e){return e.charAt(0).toUpperCase()+e.slice(1)}function x(e){let t,r,n,o=e.h,i=e.s,s=e.l;if(i==0)t=r=n=s;else{let u=function(l,S,f){return f<0&&(f+=1),f>1&&(f-=1),f<.16666666666666666?l+(S-l)*6*f:f<.5?S:f<.6666666666666666?l+(S-l)*(.6666666666666666-f)*6:l},c=s<.5?s*(1+i):s+i-s*i,a=2*s-c;t=u(a,c,o+1/3),r=u(a,c,o),n=u(a,c,o-1/3)}return{r:Math.round(t*255),g:Math.round(r*255),b:Math.round(n*255)}}function v(e){let t=e.r/255,r=e.g/255,n=e.b/255,o=Math.max(t,r,n),i=Math.min(t,r,n),s=0,u=0,c=(o+i)/2;if(o===i)s=u=0;else{let a=o-i;switch(u=c>.5?a/(2-o-i):a/(o+i),o){case t:s=(r-n)/a+(r<n?6:0);break;case r:s=(n-t)/a+2;break;case n:s=(t-r)/a+4;break}s/=6}return{h:s,s:u,l:c}}function Ue(e){let t=e.v*(1-e.s/2),r=t===0||t===1?0:(e.v-t)/Math.min(t,1-t);return{h:e.h,s:r,l:t,a:e.a}}function Ie(e){let t=e.l+e.s*Math.min(e.l,1-e.l),r=t===0?0:2*(1-e.l/t);return{h:e.h,s:r,v:t,a:e.a}}function M(e,t){return e&&{r:Math.max(0,Math.min(255,e.r+g(e.r,t))),g:Math.max(0,Math.min(255,e.g+g(e.g,t))),b:Math.max(0,Math.min(255,e.b+g(e.b,t))),a:e.a}}function g(e,t){let r=t>0?255-e:e;return Math.round(r*t)}function F(e,t){if(e){let r=Math.min(Math.max(e.r,e.g,e.b),230),n=g(r,t);return{r:Math.max(0,Math.min(255,Math.round(e.r+n))),g:Math.max(0,Math.min(255,Math.round(e.g+n))),b:Math.max(0,Math.min(255,Math.round(e.b+n))),a:e.a}}else return e}function Ae(e,t){return Math.round(255*t)}function C(e){return(e.r*299+e.g*587+e.b*114)/1e3>=128}function $(e,t){if(e===void 0||t==1)return e;let r=v(e);return r.s=t,x(r)}function R(e,t={r:255,g:255,b:255},r={r:255,g:255,b:255}){let n=t,o=r;return C(r)&&(n=r,o=t),C(e)?o:n}function He(e,t){return e||(e=[]),[...e,...t].filter((r,n,o)=>o.indexOf(r)===n)}function Ne(e,t){return!(!t||e.left!=t.left||e.right!=t.right||e.top!=t.top||e.bottom!=t.bottom)}function Z(e,t,r,n){function o(i){return i instanceof r?i:new r(function(s){s(i)})}return new(r||(r=Promise))(function(i,s){function u(h){try{a(n.next(h))}catch(l){s(l)}}function c(h){try{a(n.throw(h))}catch(l){s(l)}}function a(h){h.done?i(h.value):o(h.value).then(u,c)}a((n=n.apply(e,t||[])).next())})}function Je(e){return Z(this,void 0,void 0,function*(){if(e!==void 0){let t=[];_(e,(r,n)=>{t.push(n.waitForStop())}),yield Promise.all(t)}})}function p(e,t,r){return t+e*(r-t)}function ke(e,t,r){return e>=1?r:t}function Be(e,t,r){return new m(p(e,t.percent,r.percent))}function ze(e,t,r){return d.interpolate(e,t,r)}function Qe(e,t){return typeof e=="number"&&typeof t=="number"?p:e instanceof m&&t instanceof m?Be:e instanceof d&&t instanceof d?ze:ke}var V;(function(e){e[e.Stopped=0]="Stopped",e[e.Playing=1]="Playing",e[e.Paused=2]="Paused"})(V||(V={}));function K(e){return e[0]==="#"&&(e=e.substr(1)),e.length==3&&(e=e[0].repeat(2)+e[1].repeat(2)+e[2].repeat(2)),parseInt(e,16)}function Ge(e){e=e.replace(/[ ]/g,"");let t=e.match(/^rgb\(([0-9]*),([0-9]*),([0-9]*)\)/i);if(t)t.push("1");else if(t=e.match(/^rgba\(([0-9]*),([0-9]*),([0-9]*),([.0-9]*)\)/i),!t)return 0;let r="";for(let n=1;n<=3;n++){let o=parseInt(t[n]).toString(16);o.length==1&&(o="0"+o),r+=o}return K(r)}function tt(e){return d.fromAny(e)}var d=class e{constructor(t){Object.defineProperty(this,"_hex",{enumerable:!0,configurable:!0,writable:!0,value:void 0}),this._hex=t|0}get hex(){return this._hex}get r(){return this._hex>>>16}get g(){return this._hex>>8&255}get b(){return this._hex&255}toCSS(t=1){return"rgba("+this.r+", "+this.g+", "+this.b+", "+t+")"}toCSSHex(){return"#"+b(this.r.toString(16),2)+b(this.g.toString(16),2)+b(this.b.toString(16),2)}toHSL(t=1){return v({r:this.r,g:this.g,b:this.b,a:t})}static fromHSL(t,r,n){let o=x({h:t,s:r,l:n});return this.fromRGB(o.r,o.g,o.b)}toString(){return this.toCSSHex()}static fromHex(t){return new e(t)}static fromRGB(t,r,n){return new e((n|0)+(r<<8)+(t<<16))}static fromString(t){return new e(K(t))}static fromCSS(t){return new e(Ge(t))}static fromAny(t){if(L(t)){if(t[0]=="#")return e.fromString(t);if(t.substr(0,3)=="rgb")return e.fromCSS(t)}else{if(y(t))return e.fromHex(t);if(t instanceof e)return e.fromHex(t.hex)}throw new Error("Unknown color syntax: "+t)}static alternative(t,r,n){let o=R({r:t.r,g:t.g,b:t.b},r?{r:r.r,g:r.g,b:r.b}:void 0,n?{r:n.r,g:n.g,b:n.b}:void 0);return this.fromRGB(o.r,o.g,o.b)}static interpolate(t,r,n,o="rgb"){if(o=="hsl"){let i=r.toHSL(),s=n.toHSL();return e.fromHSL(p(t,i.h,s.h),p(t,i.s,s.s),p(t,i.l,s.l))}else return e.fromRGB(p(t,r.r,n.r),p(t,r.g,n.g),p(t,r.b,n.b))}static lighten(t,r){let n=M({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static brighten(t,r){let n=F({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}static saturate(t,r){let n=$({r:t.r,g:t.g,b:t.b},r);return e.fromRGB(n.r,n.g,n.b)}};export{Z as a,X as b,ee as c,N as d,te as e,w as f,re as g,ne as h,oe as i,ie as j,se as k,ue as l,ae as m,ce as n,le as o,fe as p,pe as q,he as r,P as s,me as t,_e as u,we as v,b as w,j as x,xe as y,ve as z,Se as A,Y as B,Ee as C,Oe as D,je as E,D as F,De as G,Ce as H,Me as I,Fe as J,$e as K,Re as L,Le as M,He as N,Ne as O,W as P,tt as Q,d as R,Je as S,Be as T,Qe as U,V};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{A as V,B as m,C as h,D as A,E as D,F as y,e as P,y as k,z as w}from"./OLKD773Z.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};
3
+ v5.0.0-next.67 */
4
+ import{A as V,B as m,C as h,D as A,E as D,F as y,e as P,y as k,z as w}from"./YXHNB6YW.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,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{A as Aa,B as Fa,C as Ga,D as Ha,E as Ia,F as Ja,G as Ka,H as La,I as Ma,J as Oa,K as Pa,L as Qa,M as Ra,N as Sa,O as Ta,P as Ua,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as fa,r as ka,s as la,t as ma,u as na,v as ra,w as ta,x as ua,y as va,z as wa}from"./R5ZME4FZ.js";import{a as Ba}from"./EJK4WZEP.js";import{a as $,b as aa,c as oa,d as za}from"./UBP6DPGX.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as ga,Q as ha,R as ia,S as ja,aa as pa,ba as qa,c as r,ca as sa,da as xa,ea as ya,ka as Ca,la as Da,ma as Ea,na as Na,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./5VA4AXPP.js";import{P as o,Q as p,R as q,b as n}from"./VUDJZHBN.js";import{a,b,c,d,e}from"./CWWQ5DVQ.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./GBKSMVC7.js";import"./JFJVWP3U.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Pa as CSVParser,X as CanvasLayer,W as CanvasRenderer,Ca as Chart,ca as Circle,Ia as CirclePattern,q as Color,Na as ColorSet,ja as Component,ba as ConfirmButton,L as Container,m as CounterDisposer,ia as DataItem,Qa as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,oa as EditableLabel,ea as Ellipse,y as Entity,la as Gradient,Ga as GrainPattern,E as Graphics,J as GridLayout,na as HeatLegend,H as HorizontalLayout,N as InterfaceColors,Oa as JSONParser,ha as JsonData,O as Label,G as Layout,ra as Legend,sa as Line,Ja as LinePattern,ma as LinearGradient,va as Link,ga as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Sa as NumericStepper,ua as OrthogonalLine,La as PathPattern,B as Pattern,Ma as PatternSet,a as Percent,wa as Picture,C as PicturePattern,P as PointedRectangle,da as Polygon,Ta as ProgressPie,Ha as RadialGradient,ya as RadialLabel,xa as RadialText,F as Rectangle,Ka as RectanglePattern,Y as Root,$ as RoundedRectangle,za as Scrollbar,Da as SerialChart,qa as Series,Ba as Slice,Aa as Slider,A as Sprite,Ra as SpriteResizer,fa as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ea as Tick,S as Timezone,Q as Tooltip,ta as Triangle,I as VerticalLayout,Fa as ZoomTools,ka as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Ua as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,pa as time,f as type,o as utils};
3
+ v5.0.0-next.67 */
4
+ import{A as Aa,B as Fa,C as Ga,D as Ha,E as Ia,F as Ja,G as Ka,H as La,I as Ma,J as Oa,K as Pa,L as Qa,M as Ra,N as Sa,O as Ta,P as Ua,a as N,b as P,c as Q,d as R,e as S,f as T,g as U,h as W,i as X,j as Y,k as Z,l as _,m as ba,n as ca,o as da,p as ea,q as fa,r as ka,s as la,t as ma,u as na,v as ra,w as ta,x as ua,y as va,z as wa}from"./QSXHJT32.js";import{a as Ba}from"./MYM63GNH.js";import{a as $,b as aa,c as oa,d as za}from"./RQQ7IXRP.js";import{A as D,C as E,D as F,E as G,F as H,G as I,H as J,I as K,K as L,L as M,M as O,P as ga,Q as ha,R as ia,S as ja,aa as pa,ba as qa,c as r,ca as sa,da as xa,ea as ya,ka as Ca,la as Da,ma as Ea,na as Na,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as A,y as B,z as C}from"./JC7BYFF2.js";import{P as o,Q as p,R as q,b as n}from"./TME2DRKC.js";import{a,b,c,d,e}from"./RNC3FJ3S.js";import{D as g,J as h,L as i,M as j,N as k,O as l,P as m,U as z,V,l as f}from"./2V7XLXJV.js";import"./S45GQDNX.js";export{j as ArrayDisposer,D as BlendMode,_ as Bullet,aa as Button,Pa as CSVParser,X as CanvasLayer,W as CanvasRenderer,Ca as Chart,ca as Circle,Ia as CirclePattern,q as Color,Na as ColorSet,ja as Component,ba as ConfirmButton,L as Container,m as CounterDisposer,ia as DataItem,Qa as DataProcessor,T as DateFormatter,i as Disposer,U as DurationFormatter,oa as EditableLabel,ea as Ellipse,y as Entity,la as Gradient,Ga as GrainPattern,E as Graphics,J as GridLayout,na as HeatLegend,H as HorizontalLayout,N as InterfaceColors,Oa as JSONParser,ha as JsonData,O as Label,G as Layout,ra as Legend,sa as Line,Ja as LinePattern,ma as LinearGradient,va as Link,ga as ListData,r as ListTemplate,Z as Modal,k as MultiDisposer,l as MutableValueDisposer,R as NumberFormatter,Sa as NumericStepper,ua as OrthogonalLine,La as PathPattern,B as Pattern,Ma as PatternSet,a as Percent,wa as Picture,C as PicturePattern,P as PointedRectangle,da as Polygon,Ta as ProgressPie,Ha as RadialGradient,ya as RadialLabel,xa as RadialText,F as Rectangle,Ka as RectanglePattern,Y as Root,$ as RoundedRectangle,za as Scrollbar,Da as SerialChart,qa as Series,Ba as Slice,Aa as Slider,A as Sprite,Ra as SpriteResizer,fa as Star,z as Template,M as Text,K as TextFormatter,V as Theme,Ea as Tick,S as Timezone,Q as Tooltip,ta as Triangle,I as VerticalLayout,Fa as ZoomTools,ka as ZoomableContainer,v as addLicense,g as array,p as color,w as disposeAllRootElements,t as ease,x as getRootById,s as math,Ua as net,h as object,c as p0,d as p100,e as p50,b as percent,n as ready,u as registry,pa as time,f as type,o as utils};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as u}from"./Q6N4X2MW.js";import a from"./GNHM6SBQ.js";import{a as l,b as p}from"./TBPNX6RN.js";export default $arcgis.t(([{forceInteractive:m},g,{property:n,subclass:f},{ignoreAbortErrors:A},{when:O,watch:v,on:b,whenOnce:U},{a:w,b:_,c:d,d:y}])=>{var F=Object.defineProperty,T=Object.getOwnPropertyDescriptor,i=(t,s,a,r)=>{for(var o=r>1?void 0:r?T(s,a):s,c=t.length-1,h;c>=0;c--)(h=t[c])&&(o=(r?h(s,a,o):h(o))||o);return r&&o&&F(s,a,o),o},e=class extends g{constructor(){super({}),this.shouldForceInteractive=!0,this._ownsAnalysis=!1,this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._changeFromReconnect=!1,this._startUserOperation=null}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let t=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let s=!this._changeFromReconnect;this._changeFromReconnect=!1,s&&this._scheduleViewReconnect()};this.addHandles([O(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),v(()=>[this.analysis,this._viewHasAnalysis],t,{sync:!0}),b(()=>this.view,"analysis-view-destroy",s=>{s.analysis===this.analysis&&t()}),v(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:s},a)=>{let r=a?.view;s!==r&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(r)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get supported(){return this.view==null||this.supportedViewType==="both"||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return!this.view?.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get _viewHasAnalysis(){let{view:t}=this;return t?.analyses.includes(this.analysis)===!0}get operationState(){return this._operationState}clear(){this._startUserOperation=l(this._startUserOperation),this.clearAnalysis()}place(t){throw new Error("place() not implemented for this analysis view model")}async start(t){if(!this.visible){console.warn("Cannot start analysis when not visible");return}t?.clear!==!1&&this.clear();let s={task:null,abort:null,state:0},a=y(async r=>{if(s.state=1,await U(()=>this.ready,r),s.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let o=t?.operation?.({signal:r})??this.place({signal:r});await A(o)});return a.promise.finally(()=>{(this._startUserOperation===s||this._startUserOperation==null)&&(this._operationState="inactive")}),s.task=a,s.abort=()=>a.abort(),this._startUserOperation=s,await a.promise}stop(){this._startUserOperation=l(this._startUserOperation)}clearAnalysis(){}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let t=y(async s=>{try{await this._reconnectView(s)}catch(a){if(w(s),!d(a)){console.warn("Failed to use analysis in view model",a);return}throw a}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:s}=this,a=s?.ready&&this.supported,r=this.analysis;if(this._startUserOperation=V(this._startUserOperation),this._disconnectFromView(s),!a||s==null||r==null)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,s.analyses.add(r));let o=await s.whenAnalysisView(r);if(this._analysisView=o,_(t)){this._startUserOperation=V(this._startUserOperation);return}o.visible=this.visible,this._forceInteractiveHandle=this.shouldForceInteractive?m(o):u(),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(o)}_disconnectFromView(t){t!=null&&this._ownsAnalysis&&t.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.clearAnalysis(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(t){this._analysisView!=null&&!this._ownsAnalysis&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",t),this._changeFromReconnect=!1}};i([n()],e.prototype,"supported",1);i([n()],e.prototype,"view",2);i([n({type:Boolean,value:!0})],e.prototype,"visible",1);i([n()],e.prototype,"active",1);i([n()],e.prototype,"disabled",1);i([n()],e.prototype,"analysis",1);i([n()],e.prototype,"_analysisView",2);i([n()],e.prototype,"shouldForceInteractive",2);i([n()],e.prototype,"analysisView",1);i([n()],e.prototype,"ready",1);i([n()],e.prototype,"connectingToView",1);i([n()],e.prototype,"_ownsAnalysis",2);i([n()],e.prototype,"_viewHasAnalysis",1);i([n()],e.prototype,"_reconnectViewTask",2);i([n()],e.prototype,"_forceInteractiveHandle",2);i([n()],e.prototype,"_operationState",2);i([n()],e.prototype,"operationState",1);e=i([f("esri.components.support.AnalysisViewModel")],e);function V(t){return t!=null&&t.state>=2?(t.abort(),null):t}return e},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)
3
+ v5.0.0-next.67 */
4
+ import{a as u}from"./5TIWXMJX.js";import a from"./2V6KWQOC.js";import{a as l,b as p}from"./WZXWEBI3.js";export default $arcgis.t(([{forceInteractive:m},g,{property:n,subclass:f},{ignoreAbortErrors:A},{when:O,watch:v,on:b,whenOnce:U},{a:w,b:_,c:d,d:y}])=>{var F=Object.defineProperty,T=Object.getOwnPropertyDescriptor,i=(t,s,a,r)=>{for(var o=r>1?void 0:r?T(s,a):s,c=t.length-1,h;c>=0;c--)(h=t[c])&&(o=(r?h(s,a,o):h(o))||o);return r&&o&&F(s,a,o),o},e=class extends g{constructor(){super({}),this.shouldForceInteractive=!0,this._ownsAnalysis=!1,this._operationState="inactive",this._loggedUnsupportedErrorMessage=!1,this._changeFromReconnect=!1,this._startUserOperation=null}initialize(){this._set("analysis",this.constructAnalysis()),this._ownsAnalysis=!0;let t=()=>{!this._changeFromReconnect&&!this._viewHasAnalysis&&(this._ownsAnalysis=!1);let s=!this._changeFromReconnect;this._changeFromReconnect=!1,s&&this._scheduleViewReconnect()};this.addHandles([O(()=>this.view?.ready&&!this.supported,()=>{this._loggedUnsupportedErrorMessage||console.error(this.unsupportedErrorMessage)},{sync:!0,initial:!0}),v(()=>[this.analysis,this._viewHasAnalysis],t,{sync:!0}),b(()=>this.view,"analysis-view-destroy",s=>{s.analysis===this.analysis&&t()}),v(()=>({view:this.view,ready:!!this.view?.ready,supported:this.supported}),({view:s},a)=>{let r=a?.view;s!==r&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(r)),this._scheduleViewReconnect()},{sync:!0,initial:!0})])}destroy(){this._reconnectViewTask=l(this._reconnectViewTask),this._startUserOperation=l(this._startUserOperation),this._analysisView!=null&&(this._analysisView.visible=void 0),this._disconnectFromView(this.view),this._set("view",null),this._ownsAnalysis&&this.analysis?.destroy()}get supported(){return this.view==null||this.supportedViewType==="both"||this.view.type===this.supportedViewType}set visible(t){this._set("visible",t),this._analysisView!=null&&(this._analysisView.visible=t)}get active(){return this._startUserOperation?.state===2}get disabled(){return!this.view?.ready||!this.supported}set analysis(t){t!==this._get("analysis")&&(this._startUserOperation=l(this._startUserOperation),this._disconnectFromView(this.view),this._setExternalAnalysis(t),this._scheduleViewReconnect())}get analysisView(){return this._analysisView}get ready(){return this._analysisView!=null&&!this.connectingToView}get connectingToView(){return this._reconnectViewTask!=null}get _viewHasAnalysis(){let{view:t}=this;return t?.analyses.includes(this.analysis)===!0}get operationState(){return this._operationState}clear(){this._startUserOperation=l(this._startUserOperation),this.clearAnalysis()}place(t){throw new Error("place() not implemented for this analysis view model")}async start(t){if(!this.visible){console.warn("Cannot start analysis when not visible");return}t?.clear!==!1&&this.clear();let s={task:null,abort:null,state:0},a=y(async r=>{if(s.state=1,await U(()=>this.ready,r),s.state=2,this._analysisView==null||this.view==null)return;this._operationState="active";let o=t?.operation?.({signal:r})??this.place({signal:r});await A(o)});return a.promise.finally(()=>{(this._startUserOperation===s||this._startUserOperation==null)&&(this._operationState="inactive")}),s.task=a,s.abort=()=>a.abort(),this._startUserOperation=s,await a.promise}stop(){this._startUserOperation=l(this._startUserOperation)}clearAnalysis(){}onConnectToAnalysisView(t){}onDisconnectFromAnalysisView(){}_scheduleViewReconnect(){this._reconnectViewTask=l(this._reconnectViewTask);let t=y(async s=>{try{await this._reconnectView(s)}catch(a){if(w(s),!d(a)){console.warn("Failed to use analysis in view model",a);return}throw a}finally{t===this._reconnectViewTask&&(this._reconnectViewTask=void 0)}});this._reconnectViewTask=t}async _reconnectView(t){let{view:s}=this,a=s?.ready&&this.supported,r=this.analysis;if(this._startUserOperation=V(this._startUserOperation),this._disconnectFromView(s),!a||s==null||r==null)return;this._ownsAnalysis&&(this._changeFromReconnect=!0,s.analyses.add(r));let o=await s.whenAnalysisView(r);if(this._analysisView=o,_(t)){this._startUserOperation=V(this._startUserOperation);return}o.visible=this.visible,this._forceInteractiveHandle=this.shouldForceInteractive?m(o):u(),this.addHandles(this._forceInteractiveHandle),this.onConnectToAnalysisView(o)}_disconnectFromView(t){t!=null&&this._ownsAnalysis&&t.analyses.includes(this.analysis)&&(this._changeFromReconnect=!0,this.clearAnalysis(),t.analyses.remove(this.analysis)),this.onDisconnectFromAnalysisView(),this._forceInteractiveHandle=p(this._forceInteractiveHandle),this._analysisView=void 0}_setExternalAnalysis(t){this._analysisView!=null&&!this._ownsAnalysis&&(this._analysisView.visible=void 0,this._forceInteractiveHandle=p(this._forceInteractiveHandle)),this._analysisView=void 0,this._ownsAnalysis=!1,this._set("analysis",t),this._changeFromReconnect=!1}};i([n()],e.prototype,"supported",1);i([n()],e.prototype,"view",2);i([n({type:Boolean,value:!0})],e.prototype,"visible",1);i([n()],e.prototype,"active",1);i([n()],e.prototype,"disabled",1);i([n()],e.prototype,"analysis",1);i([n()],e.prototype,"_analysisView",2);i([n()],e.prototype,"shouldForceInteractive",2);i([n()],e.prototype,"analysisView",1);i([n()],e.prototype,"ready",1);i([n()],e.prototype,"connectingToView",1);i([n()],e.prototype,"_ownsAnalysis",2);i([n()],e.prototype,"_viewHasAnalysis",1);i([n()],e.prototype,"_reconnectViewTask",2);i([n()],e.prototype,"_forceInteractiveHandle",2);i([n()],e.prototype,"_operationState",2);i([n()],e.prototype,"operationState",1);e=i([f("esri.components.support.AnalysisViewModel")],e);function V(t){return t!=null&&t.state>=2?(t.abort(),null):t}return e},"applications/Components/analysisUtils","core/Accessor","core/accessorSupport/decorators","core/promiseUtils","core/reactiveUtils",a)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import g from"./NUBSWNIX.js";import f from"./DPCRZFAW.js";import{a as b}from"./IOFNEOYJ.js";import e from"./GNHM6SBQ.js";import"./TBPNX6RN.js";import"./3UVK2EE7.js";import d from"./GFD5SGUU.js";import{a as E}from"./IHKT5L2N.js";import c from"./VEQT2S7L.js";import a from"./3HKFIINT.js";import{g as D}from"./XDFS4H76.js";import"./6LRKZVG3.js";import"./5QBG5EOQ.js";import{b as $}from"./Y5OSSEKH.js";import{G as m,H as _,I as k,J as l,L as h,M as B,O,a as T,b as n,s as F}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([G,{substitute:g,formatNumber:C},{watch:v},{stripHTML:I},H,{renderingSanitizer:S},,,N,,{e:L},{a:P,d:R,e:V}])=>{var d="arcgis-features",o={base:d,container:`${d}__container`,contentContainer:`${d}__content-container`,contentFeature:`${d}__content-feature`,flowItemCollapsed:`${d}__flow-item--collapsed`,header:`${d}__header`,footer:`${d}__footer`,featureMenuObserver:`${d}__feature-menu-observer`,actionExit:`${d}__action--exit`,loader:`${d}__loader`,paginationText:`${d}__pagination-text`,paginationActionBar:`${d}__pagination-action-bar`,paginationMenuButton:`${d}__pagination-menu-button`,paginationPrevious:`${d}__pagination-previous`},W=T`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;function X(p){switch(p?.type){case"point":return p;case"extent":return p.center;case"polygon":return p.centroid;case"multipoint":case"polyline":return p.extent?.center;default:return null}}var y=P.clone();function q(p){return p?.declaredClass.startsWith("esri.layers.")??!1}var Q=N(G),A=class extends k{constructor(){super(...arguments),this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=m(),this._featureMenuViewportNode=m(),this._actionBarMenuNode=m(),this._flowContainerNode=m(),this.messages=E(),this._selectedFeatureComponent=m(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new H,this.viewModel=Q(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new H,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideFlow=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=D()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=F(),this.arcgisClose=F(),this.arcgisTriggerAction=F()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:0,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,featuresTitle:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideFlow:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,position:1,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1,updateLocationEnabled:5,view:0,visible:5,closed:5}}static{this.styles=W}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get featuresTitle(){return this.heading}set featuresTitle(e){this.heading=e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}get closed(){return!this.visible}set closed(e){this.visible=!e}async clear(){return this.viewModel.clear()}async close(){this.viewModel.visible=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){return await this.viewModel.fetchFeatures(e,t)}async open(e){this.viewModel.open(e)}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e&&e.type==="toggle"&&(e.value=!e.value),await V(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),v(()=>this.viewModel?.view,()=>this._viewChange()),v(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),v(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),v(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),v(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),v(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),v(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=L(a),r=q(s)?s:null,c=t.get(r)??[];t.set(r,[...c,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=X(a);s!=null&&(this.location=s),this.features=[i],this.visible=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,r=e.title??"",c=a==="zoom-to-feature"?g(r,{messages:t}):a==="remove-selected-feature"?g(r,{messages:t}):a==="zoom-to-clustered-features"?g(r,{messages:t}):a==="browse-clustered-features"?g(r,{messages:t}):e.title;return c&&s?g(c,s):c??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.viewModel.visible=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems.removeAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":case"feature-utility-network-association-type":return e.description;case"feature-relationship":return e.allItemsDescription}}_handleDrillInBackClick(){this.flowItems?.pop()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl)}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=B(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class=${l(o.base)} @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.header)}>${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.footer)} slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class=${l(o.paginationText)}>${g(e.pageText??"",{index:C(a+1),total:C(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action appearance=solid class=${l(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText??"",{index:C(a+1),total:C(i)})} text-enabled title=${e.selectFeature??h}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class=${l(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${l(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} scale=s .text=${e??""} title=${e??""??h}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} scale=s .text=${t??""} title=${t??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,r=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(r)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(r)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(r)}><span .innerHTML=${(S.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let r=i.get(s)?.map(u=>this._renderFeatureMenuItem(u)),c=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&c!==null?b(s??"map-graphics",n`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`):r})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??h}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:r,initialDisplayMode:c,selectedFeature:u,featureMenuOpen:f}=this,{active:w}=this.viewModel,M=this._getHeading();if(c==="list"&&!u)return null;let x=r.length===0&&(c==="list"?!!u:!f);return n`<calcite-flow-item class=${l($({[o.contentFeature]:!0,[o.flowItemCollapsed]:i}))} .closable=${!t} .closed=${!w} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${x} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${I(M)} ${_(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${l($(o.container,o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:r,selectedFeature:c,_collapseEnabled:u,_isCollapsed:f,featureNavigationTop:w,headingLevel:M}=this,{active:x,featureViewModels:z,pendingPromisesCount:Z}=e,j=i??a.selectFeature;if(s==="feature"&&!r)return null;let K=s==="list"?!c:r;return n`<calcite-flow-item class=${l($({[o.flowItemCollapsed]:f}))} .closable=${s==="list"&&!t} .closed=${!x} .collapsed=${s==="list"&&f} .collapseDirection=${w?"down":"up"} .collapsible=${s==="list"&&u} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:z.length})} .heading=${this.hideFeatureMenuHeading?void 0:j} .headingLevel=${M} .loading=${e.waitingForContents} .selected=${K} @calciteFlowItemBack=${U=>{U.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${_(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${Z>0?n`<calcite-loader class=${l(o.loader)} inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class=${l(o.container)}>${this._renderFeatureMenu()}</div><div class=${l(o.featureMenuObserver)} ${_(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,r="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,c=e.flowType==="feature-association",u=i.returnToInitialFeature??"",f=i?.selectFeature,w=this._getActionTitle(y);return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${I(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:I(e.heading??"")} .selected=${t} @calciteFlowItemBack=${M=>{M.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action appearance=transparent class=${l(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u??""} title=${u??""??h}></calcite-action>${r?n`<calcite-action appearance=transparent icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${f??""} title=${f??h}></calcite-action>`:null}${c?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${y.disabled} .icon=${y.icon??void 0} .loading=${y.active} scale=s text-enabled .text=${w} title=${w??h} @click=${()=>R(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class=${l(o.container)}>${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return this.hideFlow?i:n`<calcite-flow ${_(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){return!this._isCollapsed&&!this.hideActionBar&&this.viewModel.allActions?.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${_(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??h} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?b(t,n`<arcgis-feature .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .location=${this.location} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${_(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?b(e,n`<div .innerHTML=${S.sanitize(e)??""}></div>`):e??null}};O("arcgis-features",A);return A},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils",a,c,d,e,f,g)
3
+ v5.0.0-next.67 */
4
+ import g from"./QABUDA5I.js";import f from"./BLACE246.js";import{a as b}from"./6O3NEH2Z.js";import e from"./2V6KWQOC.js";import"./WZXWEBI3.js";import"./HLLVMJQZ.js";import d from"./5YK6S4HT.js";import{a as E}from"./TZVUUDV7.js";import c from"./Q44O6KWO.js";import a from"./XPPYXO3N.js";import{g as D}from"./6MVGR4Q3.js";import"./NH45VJDS.js";import"./2J2DJMDL.js";import{b as $}from"./W4C2JITJ.js";import{G as m,H as _,I as k,J as l,L as h,M as B,O,a as T,b as n,s as F}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([G,{substitute:g,formatNumber:C},{watch:v},{stripHTML:I},H,{renderingSanitizer:S},,,N,,{e:L},{a:P,d:R,e:V}])=>{var d="arcgis-features",o={base:d,container:`${d}__container`,contentContainer:`${d}__content-container`,contentFeature:`${d}__content-feature`,flowItemCollapsed:`${d}__flow-item--collapsed`,header:`${d}__header`,footer:`${d}__footer`,featureMenuObserver:`${d}__feature-menu-observer`,actionExit:`${d}__action--exit`,loader:`${d}__loader`,paginationText:`${d}__pagination-text`,paginationActionBar:`${d}__pagination-action-bar`,paginationMenuButton:`${d}__pagination-menu-button`,paginationPrevious:`${d}__pagination-previous`},W=T`:host{display:flex;overflow:hidden;flex:1 1 auto}.arcgis-features{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.arcgis-features img{image-orientation:from-image}.arcgis-features__flow-item--collapsed{--calcite-flow-item-header-border-block-end: none}.arcgis-features__container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.arcgis-features__container calcite-list{width:100%}.arcgis-features__container:not(:empty){padding:var(--calcite-spacing-md)}.arcgis-features .arcgis-feature,.arcgis-features .arcgis-feature-relationship,.arcgis-features .arcgis-feature-utility-network-associations{background-color:transparent}.arcgis-features__heading{word-break:break-word;word-wrap:break-word}.arcgis-features__header,.arcgis-features__footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.arcgis-features__footer{flex:1}.arcgis-features__pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.arcgis-features__loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.arcgis-features__pagination-action-bar{flex:1}.arcgis-features__pagination-menu-button{border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__action-image{flex:0 0 var(--calcite-spacing-lg);background-position:50% 50%;background-repeat:no-repeat;background-size:contain;width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.arcgis-features__header{border-block-end:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.arcgis-features__content-feature{--calcite-flow-item-footer-padding: 0}.arcgis-features__feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.arcgis-features__action--exit{transform:scaleX(-1)}`;function X(p){switch(p?.type){case"point":return p;case"extent":return p.center;case"polygon":return p.centroid;case"multipoint":case"polyline":return p.extent?.center;default:return null}}var y=P.clone();function q(p){return p?.declaredClass.startsWith("esri.layers.")??!1}var Q=N(G),A=class extends k{constructor(){super(...arguments),this._featureMenuIntersectionObserverCallback=([e])=>{e?.isIntersecting&&this.viewModel.featurePage!=null&&this.viewModel.featurePage++},this._featureMenuIntersectionObserver=new IntersectionObserver(this._featureMenuIntersectionObserverCallback,{root:window.document}),this._featureMenuIntersectionObserverNode=null,this._rootFlowItemNode=m(),this._featureMenuViewportNode=m(),this._actionBarMenuNode=m(),this._flowContainerNode=m(),this.messages=E(),this._selectedFeatureComponent=m(),this._cancelOpenRelatedFeature=()=>{let{_openRelatedFeatureAbortController:e}=this;e&&e.abort(),this._openRelatedFeatureAbortController=null},this._openRelatedFeatureAbortController=null,this.flowItems=new H,this.viewModel=Q(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=this.viewModel.featureMenuOpen,this.featureMenuTitle=this.viewModel.featureMenuTitle,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureViewModelAbilities=this.viewModel.featureViewModelAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new H,this.heading=this.viewModel.title,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideFlow=!1,this.hideHeading=!1,this.hideSpinner=!1,this.highlightDisabled=this.viewModel.highlightEnabled,this.includeDefaultActionsDisabled=this.viewModel.includeDefaultActions,this.initialDisplayMode=this.viewModel.initialDisplayMode,this.location=this.viewModel.location,this.map=this.viewModel.map,this.promises=this.viewModel.promises,this.responsiveActionsEnabled=!1,this.selectedFeature=this.viewModel.selectedFeature,this.selectedFeatureIndex=this.viewModel.selectedFeatureIndex,this.showCollapseButton=!1,this.spatialReference=this.viewModel.spatialReference,this.state=this.viewModel.state,this.timeZone=this.viewModel.timeZone,this.updateLocationEnabled=this.viewModel.updateLocationEnabled,this.view=this.viewModel.view,this.visible=this.viewModel.visible,this.arcgisPropertyChange=D()("active","collapsed","featureCount","featureMenuOpen","features","promises","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","visible"),this.arcgisReady=F(),this.arcgisClose=F(),this.arcgisTriggerAction=F()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,collapsed:5,content:1,defaultPopupTemplateEnabled:5,featureCount:0,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureViewModelAbilities:0,goToOverride:0,headerActions:0,heading:1,featuresTitle:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideFlow:5,hideHeading:5,hideSpinner:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,position:1,referenceElement:1,promises:0,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:3,timeZone:1,updateLocationEnabled:5,view:0,visible:5,closed:5}}static{this.styles=W}get _hideActionText(){if(!this.responsiveActionsEnabled)return!1;let e=this.viewModel.view?.widthBreakpoint;return e==="xsmall"||e==="small"||e==="medium"}get _featureNavigationVisible(){return this.viewModel.active&&this.viewModel.featureCount>1&&!!this.viewModel.selectedFeature&&!this.hideFeatureNavigation}get _isCollapsed(){return this._collapseEnabled&&this.collapsed}get _collapseEnabled(){return this.showCollapseButton&&(this.initialDisplayMode==="list"||!!(this.heading||this.viewModel.selectedFeatureViewModel?.title)&&!!(this.content||this.viewModel.selectedFeatureViewModel?.content))}get featuresTitle(){return this.heading}set featuresTitle(e){this.heading=e}get selectedDrillInFeature(){let e=Array.from(this.flowItems).at(-1);return e&&"graphic"in e?e.graphic??null:null}get selectedFeatureComponent(){return this._selectedFeatureComponent.value??null}get closed(){return!this.visible}set closed(e){this.visible=!e}async clear(){return this.viewModel.clear()}async close(){this.viewModel.visible=!1}async destroy(){await this.manager.destroy(),await this._destroySpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){return await this.viewModel.fetchFeatures(e,t)}async open(e){this.viewModel.open(e)}async next(){return this.viewModel.next()}async previous(){return this.viewModel.previous()}async setFocus(){this._flowContainerNode.value?.setFocus()}async triggerAction(e){if(!e.disabled)return e&&e.type==="toggle"&&(e.value=!e.value),await V(e,this.viewModel)}loaded(){this.manager.onLifecycle(()=>[v(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),v(()=>this.viewModel?.view,()=>this._viewChange()),v(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),v(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),v(()=>this.viewModel?.featureViewModels,()=>this._featureMenuViewportScrollTop()),v(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),v(()=>this.referenceElement,(e,t)=>{this._destroySpinner(t),this._createSpinner()},{initial:!0}),v(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.waitingForResult,this.viewModel?.view],()=>void this._createSpinner(),{initial:!0})])}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureViewModels:e}=this.viewModel,t=new Map;return e.forEach(i=>{let a=i?.graphic;if(!a)return;let s=L(a),r=q(s)?s:null,c=t.get(r)??[];t.set(r,[...c,i])}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;this._openRelatedFeatureAbortController=t,await e.updateGeometry();let i=e.graphic,a=i?.geometry;if(a==null||i==null)return;this._removeFlowItems(),await this.viewModel.zoomTo({target:a});let s=X(a);s!=null&&(this.location=s),this.features=[i],this.visible=!0,await this.setFocus(),this._openRelatedFeatureAbortController===t&&(this._openRelatedFeatureAbortController=null)}_handlePaginationMenuButton(){this._updateFeatureMenu()}_openFeatureMenu(){this._updateFeatureMenu(!0)}_closeFeatureMenu(){this._updateFeatureMenu(!1)}_updateFeatureMenu(e=!this.featureMenuOpen){this.featureMenuOpen=e}_previousFeature(){this.viewModel.previous()}_nextFeature(){this.viewModel.next()}_handleFeatureBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?(this.selectedFeatureIndex=-1,this.setFocus()):this.featureMenuOpen&&this._closeFeatureMenu()}_setActiveFeature(e){let{viewModel:t}=this;t.activeFeature=t.features?.[e]||null}_removeActiveFeature(){this.viewModel.activeFeature=null}_selectFeature(e){this.viewModel.selectedFeatureIndex=e,this.initialDisplayMode==="feature"?this._handleFeatureMenuBack():this.setFocus()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionTitle(e){let{messages:t,selectedFeature:i}=this,{id:a}=e,s=i?.attributes,r=e.title??"",c=a==="zoom-to-feature"?g(r,{messages:t}):a==="remove-selected-feature"?g(r,{messages:t}):a==="zoom-to-clustered-features"?g(r,{messages:t}):a==="browse-clustered-features"?g(r,{messages:t}):e.title;return c&&s?g(c,s):c??""}_onMainKeydown(e){let{key:t}=e;t==="ArrowLeft"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.previous(),this.setFocus()),t==="ArrowRight"&&(e.stopPropagation(),this._handleFeatureMenuBack(),this.next(),this.setFocus())}_featureMenuViewportScrollTop(){this._featureMenuViewportNode&&this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:a}=this.viewModel;a||!i||e===t||e===-1||(this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e){this.triggerAction(e),this.arcgisTriggerAction.emit({action:e})}_viewChange(){this.viewModel.clear(),this.viewModel.visible=!1}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_removeFlowItems(){this.flowItems.removeAll()}_getDrillInFlowItemDescription(e){switch(e.flowType){case"feature":case"feature-association":case"feature-utility-network-associations":case"feature-utility-network-association-type":return e.description;case"feature-relationship":return e.allItemsDescription}}_handleDrillInBackClick(){this.flowItems?.pop()}_getHeading(){let{hideHeading:e}=this,{title:t,selectedFeatureViewModel:i}=this.viewModel;return i&&!e?i?.state==="error"?this.messages?.errorMessage??"":i?.title||"":!e&&t?t:""}async _destroySpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl)}async _createSpinner(){let e=this.referenceElement;e&&(await this._destroySpinner(e),this._spinnerEl=B(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${!this.hideSpinner&&this.viewModel?.waitingForResult} .location=${this.viewModel?.location??void 0} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}render(){return n`<div class=${l(o.base)} @keydown=${this._onMainKeydown}>${this._renderHeader()}${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(),this.initialDisplayMode==="list"?this._renderFeaturePaginationText():this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.header)}>${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class=${l(o.footer)} slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a}=t;return n`<div class=${l(o.paginationText)}>${g(e.pageText??"",{index:C(a+1),total:C(i)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,selectedFeatureIndex:a,pendingPromisesCount:s}=t;return n`<calcite-action appearance=solid class=${l(o.paginationMenuButton)} icon=list .label=${e.selectFeature} .loading=${s>0} @click=${this._handlePaginationMenuButton} scale=s .text=${g(e.pageText??"",{index:C(a+1),total:C(i)})} text-enabled title=${e.selectFeature??h}></calcite-action>`}_renderPagination(){let{previous:e,next:t}=this.messages;return n`<calcite-action-bar class=${l(o.paginationActionBar)} expand-disabled layout=horizontal overflow-actions-disabled scale=s><calcite-action-group scale=s><calcite-action appearance=solid class=${l(o.paginationPrevious)} icon=chevron-left icon-flip-rtl .label=${e??""} @click=${this._previousFeature} scale=s .text=${e??""} title=${e??""??h}></calcite-action><calcite-action appearance=solid icon=chevron-right icon-flip-rtl .label=${t??""} @click=${this._nextFeature} scale=s .text=${t??""} title=${t??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e){let{initialDisplayMode:t}=this,{selectedFeatureViewModel:i,featureViewModels:a}=this.viewModel,s=e===i,r=a.indexOf(e);return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(r)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(r)} .selected=${s} @calciteListItemSelect=${()=>this._selectFeature(r)}><span .innerHTML=${(S.sanitize(e.title)||this.messages.untitled)??""} slot=content></span>${t==="list"?n`<calcite-icon flip-rtl icon=chevron-right scale=s slot=content-end></calcite-icon>`:null}</calcite-list-item>`}_renderFeatureMenu(){let{messages:e,viewModel:t}=this,i=this._groupResultsByLayer(),a=this.initialDisplayMode==="list"?"none":"single";return t.featureViewModels.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),s=>{let r=i.get(s)?.map(u=>this._renderFeatureMenuItem(u)),c=s?s.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&c!==null?b(s??"map-graphics",n`<calcite-list-item-group .heading=${c}>${r}</calcite-list-item-group>`):r})}</calcite-list>`:null}_renderHeaderAction(e){let t=e.title||"";return e.visible?n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .indicator=${e.active} .loading=${e.active} @click=${()=>this._triggerAction(e)} slot=header-actions-end .text=${t} title=${t??h}></calcite-action>`:null}_renderHeaderActions(){return this.headerActions.map(e=>this._renderHeaderAction(e)).toArray()}_renderContentFeature(){let{headingLevel:e,hideCloseButton:t,_isCollapsed:i,_collapseEnabled:a,featureNavigationTop:s,flowItems:r,initialDisplayMode:c,selectedFeature:u,featureMenuOpen:f}=this,{active:w}=this.viewModel,M=this._getHeading();if(c==="list"&&!u)return null;let x=r.length===0&&(c==="list"?!!u:!f);return n`<calcite-flow-item class=${l($({[o.contentFeature]:!0,[o.flowItemCollapsed]:i}))} .closable=${!t} .closed=${!w} .collapsed=${i} .collapseDirection=${s?"down":"up"} .collapsible=${a} .headingLevel=${e} .selected=${x} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} .heading=${I(M)} ${_(this._rootFlowItemNode)}>${this._renderHeaderActions()}${this._renderActionBar()}<div class=${l($(o.container,o.contentContainer))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:a,initialDisplayMode:s,featureMenuOpen:r,selectedFeature:c,_collapseEnabled:u,_isCollapsed:f,featureNavigationTop:w,headingLevel:M}=this,{active:x,featureViewModels:z,pendingPromisesCount:Z}=e,j=i??a.selectFeature;if(s==="feature"&&!r)return null;let K=s==="list"?!c:r;return n`<calcite-flow-item class=${l($({[o.flowItemCollapsed]:f}))} .closable=${s==="list"&&!t} .closed=${!x} .collapsed=${s==="list"&&f} .collapseDirection=${w?"down":"up"} .collapsible=${s==="list"&&u} .description=${this.hideFeatureMenuHeading?void 0:g(a.total??"",{total:z.length})} .heading=${this.hideFeatureMenuHeading?void 0:j} .headingLevel=${M} .loading=${e.waitingForContents} .selected=${K} @calciteFlowItemBack=${U=>{U.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${_(this._featureMenuViewportNode)}>${s==="list"?this._renderHeaderActions():null}${Z>0?n`<calcite-loader class=${l(o.loader)} inline .label=${a.loading??""} slot=header-actions-end></calcite-loader>`:null}<div class=${l(o.container)}>${this._renderFeatureMenu()}</div><div class=${l(o.featureMenuObserver)} ${_(this._featureMenuIntersectionObserverCreated)}></div>${s==="feature"?n`<calcite-button appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-actions width=full>${a.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{messages:i,hideCloseButton:a,active:s}=this,r="graphic"in e&&"isFeatureFromTable"in e&&!e.isFeatureFromTable,c=e.flowType==="feature-association",u=i.returnToInitialFeature??"",f=i?.selectFeature,w=this._getActionTitle(y);return n`<calcite-flow-item .closable=${!a} .closed=${!s} .description=${I(this._getDrillInFlowItemDescription(e)??"")} .heading=${this.hideHeading?void 0:I(e.heading??"")} .selected=${t} @calciteFlowItemBack=${M=>{M.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}><calcite-action appearance=transparent class=${l(o.actionExit)} icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${u??""} title=${u??""??h}></calcite-action>${r?n`<calcite-action appearance=transparent icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${f??""} title=${f??h}></calcite-action>`:null}${c?n`<calcite-action-bar expand-disabled expanded scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s><calcite-action appearance=solid .disabled=${y.disabled} .icon=${y.icon??void 0} .loading=${y.active} scale=s text-enabled .text=${w} title=${w??h} @click=${()=>R(this.viewModel,e)}></calcite-action></calcite-action-group></calcite-action-bar>`:null}<div class=${l(o.container)}>${e}</div></calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e?.map((a,s)=>this._renderFlowItem(a,this.initialDisplayMode==="list"||!this.featureMenuOpen&&s===e.length-1)),i=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(),t]:[this._renderContentFeature(),t,this._renderFeatureMenuContainer()];return this.hideFlow?i:n`<calcite-flow ${_(this._flowContainerNode)}>${i}</calcite-flow>`}_renderActionBar(){return!this._isCollapsed&&!this.hideActionBar&&this.viewModel.allActions?.length?n`<calcite-action-bar expand-disabled .expanded=${!this._hideActionText} scale=s slot=action-bar><calcite-action-group overlay-positioning=fixed scale=s ${_(this._actionBarMenuNode)}>${this._renderActions()}</calcite-action-group></calcite-action-bar>`:null}_renderActions(){return this.viewModel.allActions.toArray().map(e=>{let t=this._getActionTitle(e);return n`<calcite-action .active=${e.type==="toggle"?e.value:!1} appearance=solid .disabled=${e.disabled} .icon=${e.icon??void 0} .loading=${e.active} scale=s .textEnabled=${!this._hideActionText} .text=${t??""} title=${t??h} .hidden=${!e.visible} @click=${()=>this._triggerAction(e)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureViewModel:t}=this.viewModel;return t?b(t,n`<arcgis-feature .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .location=${this.location} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} hide-heading .map=${this.map} .referenceElement=${this.referenceElement} show-relationship-content show-utility-network-content .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${_(this._selectedFeatureComponent)}></arcgis-feature>`):typeof e=="string"?b(e,n`<div .innerHTML=${S.sanitize(e)??""}></div>`):e??null}};O("arcgis-features",A);return A},"widgets/Features/FeaturesViewModel","intl","core/reactiveUtils","applications/Components/stringUtils","core/Collection","applications/Components/sanitizerUtils",a,c,d,e,f,g)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import"./R5ZME4FZ.js";import"./EJK4WZEP.js";import"./UBP6DPGX.js";import"./5VA4AXPP.js";import{Q as o}from"./VUDJZHBN.js";import"./CWWQ5DVQ.js";import"./GBKSMVC7.js";import"./JFJVWP3U.js";var t=["#2888B8","#EB7028","#48A375","#9370B1","#e55035","#3d9ccc","#DC7B04","#b87bb0","#3fa681","#EE6386"],c=t.map(r=>o(r));export{c as esriChartColorSet};
3
+ v5.0.0-next.67 */
4
+ import"./QSXHJT32.js";import"./MYM63GNH.js";import"./RQQ7IXRP.js";import"./JC7BYFF2.js";import{Q as o}from"./TME2DRKC.js";import"./RNC3FJ3S.js";import"./2V7XLXJV.js";import"./S45GQDNX.js";var t=["#2888B8","#EB7028","#48A375","#9370B1","#e55035","#3d9ccc","#DC7B04","#b87bb0","#3fa681","#EE6386"],c=t.map(r=>o(r));export{c as esriChartColorSet};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{I as r,O as d,b as i}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([{watch:u}])=>{function v(a){return a.followingMode==="none"?"circle-disallowed":a.followingMode==="follow-sensor"?"zoom-to-object":a.followingMode==="follow-frame"?"follow":"video"}var n=class extends r{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[u(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:o}=this,t=e.currentTime>0,c=!!e.layer?.telemetry?.sensorLocation,m=!!e.layer?.telemetry?.sensorTrail,g=!!e.layer?.telemetry?.lineOfSight,$=!!e.layer?.telemetry?.frameCenter,s=!!e.layer?.telemetry?.frameOutline,f=!!e.layer?.groundControlPoints,y=i`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .disabled=${t&&!c} .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .disabled=${t&&!g} .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .disabled=${t&&!m} .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .disabled=${t&&!$} .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .disabled=${t&&!s} .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .disabled=${t&&!f} .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,p=i`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}} .selected=${e.followingMode==="none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!c} .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}} .selected=${e.followingMode==="follow-sensor"}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!s} .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}} .selected=${e.followingMode==="follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!s&&!c} .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} .selected=${e.followingMode==="follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} .icon=${v(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,b=i`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,w=i`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return i`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[y,p,b,w]}</calcite-action-bar>`}};d("arcgis-video-player-controls-group",n);return n},"core/reactiveUtils")
3
+ v5.0.0-next.67 */
4
+ import{I as r,O as d,b as i}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([{watch:u}])=>{function v(a){return a.followingMode==="none"?"circle-disallowed":a.followingMode==="follow-sensor"?"zoom-to-object":a.followingMode==="follow-frame"?"follow":"video"}var n=class extends r{constructor(){super(...arguments),this._disabled=!1}static{this.properties={_disabled:16,viewModel:0,toggleMetadata:0,messages:0}}loaded(){this.manager.onLifecycle(()=>[u(()=>this.viewModel.state,e=>{this._disabled=e==="not-ready"||e==="waiting"},{initial:!0})])}render(){let{viewModel:e,messages:l,_disabled:o}=this,t=e.currentTime>0,c=!!e.layer?.telemetry?.sensorLocation,m=!!e.layer?.telemetry?.sensorTrail,g=!!e.layer?.telemetry?.lineOfSight,$=!!e.layer?.telemetry?.frameCenter,s=!!e.layer?.telemetry?.frameOutline,f=!!e.layer?.groundControlPoints,y=i`<div><calcite-popover auto-close .label=${l.layers} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=layers-action scale=s><calcite-panel .heading=${l.layers}><calcite-list .label=${l.layers} selection-mode=multiple><calcite-list-item .disabled=${t&&!c} .label=${l.sensor} @click=${()=>{e.toggleSensorDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorLocation}></calcite-list-item><calcite-list-item .disabled=${t&&!g} .label=${l.sightLine} @click=${()=>{e.toggleSensorSightLineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.lineOfSight}></calcite-list-item><calcite-list-item .disabled=${t&&!m} .label=${l.sensorTrail} @click=${()=>{e.toggleSensorTrailDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.sensorTrail}></calcite-list-item><calcite-list-item .disabled=${t&&!$} .label=${l.frameCenter} @click=${()=>{e.toggleFrameCenterDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameCenter}></calcite-list-item><calcite-list-item .disabled=${t&&!s} .label=${l.frameOutline} @click=${()=>{e.toggleFrameOutlineDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frameOutline}></calcite-list-item><calcite-list-item .disabled=${t&&!f} .label=${l.frame} @click=${()=>{e.toggleFrameDisplay()}} .selected=${!!e.layer?.telemetryDisplay?.frame}></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} icon=layers id=layers-action scale=s slot=trigger .text=${l.layers}></calcite-action></div>`,p=i`<div><calcite-popover auto-close .label=${l.follow} overlay-positioning=fixed placement=top-end pointer-disabled reference-element=follow-action scale=s><calcite-panel .heading=${l.follow}><calcite-list .label=${l.follow} selection-mode=single><calcite-list-item .label=${l.none} @click=${()=>{e.followingMode="none"}} .selected=${e.followingMode==="none"}><calcite-icon icon=circle-disallowed scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!c} .label=${l.sensor} @click=${()=>{e.followingMode="follow-sensor"}} .selected=${e.followingMode==="follow-sensor"}><calcite-icon icon=zoom-to-object scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!s} .label=${l.frame} @click=${()=>{e.followingMode="follow-frame"}} .selected=${e.followingMode==="follow-frame"}><calcite-icon icon=follow scale=s slot=content-start></calcite-icon></calcite-list-item><calcite-list-item .disabled=${t&&!s&&!c} .label=${l.video} @click=${()=>{e.followingMode="follow-both"}} .selected=${e.followingMode==="follow-both"}><calcite-icon icon=video scale=s slot=content-start></calcite-icon></calcite-list-item></calcite-list></calcite-panel></calcite-popover><calcite-action alignment=center .disabled=${o} .icon=${v(e)} id=follow-action scale=s slot=trigger .text=${l.follow}></calcite-action></div>`,b=i`<arcgis-video-player-settings .messages=${l} .viewModel=${e}></arcgis-video-player-settings>`,w=i`<calcite-action alignment=center .disabled=${o} icon=feature-details @click=${()=>this.toggleMetadata()} scale=s .text=${l.metadata}></calcite-action>`;return i`<calcite-action-bar expand-disabled layout=horizontal scale=s>${[y,p,b,w]}</calcite-action-bar>`}};d("arcgis-video-player-controls-group",n);return n},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{b as m}from"./DBR6LHAF.js";import{b as p,e as u}from"./XDFS4H76.js";import{a as h}from"./Y5OSSEKH.js";import{b as l,s as n,u as c}from"./OLKD773Z.js";export default $arcgis.t(([{watch:a,when:g}])=>{var d=class extends c{constructor(t){super(t),this.direction=u(),this.attributionHeight=0,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){let t;return[a(()=>this.component.view?.ready,()=>{let o=this.component.view,e=o.container?.querySelector(".esri-attribution");!e||!o||(t?.disconnect(),t=new ResizeObserver(()=>{let r=e.clientHeight;if(r===this.attributionHeight)return;let s=r-this.attributionHeight;if(s!==0){if(!this.component.el.shadowRoot)return;let b=getComputedStyle(this.component.el.shadowRoot.host).getPropertyValue("--arcgis-layout-overlay-space-bottom").trim(),f=Number.parseInt(b)+s;this.component.el.style.setProperty("--arcgis-layout-overlay-space-bottom",`${f}px`)}this.attributionHeight=r}),t.observe(e))},{once:!0}),g(()=>this.component.view.popup?.visible,()=>{this.popupRef?.visible&&(this.popupRef.visible=!1)}),{remove:()=>{t?.disconnect()}}]}openPopup(t){this.popupRef?this.popupRef.open(t):this.component.view.openPopup(t)}closePopup(){this.popupRef?this.popupRef.visible=!1:this.component.view.closePopup()}async _handleOpenPopup(t){if(this.popupRef&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupRef?.handleViewClick(t);e?.length&&(this.component.view.closePopup(),this.popupRef?.open({location:o,promises:e}))}}_handlePopupSlotChange(t){let o=h(t.target,"arcgis-popup");!this.popupRef&&o.length?this.popupRef=o[0]:o.length||(this.popupRef=void 0)}_webGLErrorAlert(){return this.webGLError?l`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>`:null}render(){return m(this.direction,t=>this._handlePopupSlotChange(t),this._webGLErrorAlert())}},L=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let r=[];return e.loadError&&r.push(e),e.basemap?.loadError&&r.push(e.basemap),e.ground.loadError&&r.push(e.ground),[...e.allLayers,...e.allTables].forEach(s=>{s.loadError&&r.push(s)}),r},e=>{e.length&&(i.loadErrorSources=e,o.emit())})),o}),G=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:d,b:L,c:G}},"core/reactiveUtils")
3
+ v5.0.0-next.67 */
4
+ import{b as m}from"./D4WSYFGE.js";import{b as p,e as u}from"./6MVGR4Q3.js";import{a as h}from"./W4C2JITJ.js";import{b as l,s as n,u as c}from"./YXHNB6YW.js";export default $arcgis.t(([{watch:a,when:g}])=>{var d=class extends c{constructor(t){super(t),this.direction=u(),this.attributionHeight=0,this.component.listen("arcgisViewClick",o=>{this._handleOpenPopup(o.detail)}),this.component.listenOn(globalThis,"unhandledrejection",o=>{if(o.reason?.name==="webgl:required"){let{name:e}=o.reason;this.webGLError={name:e}}})}hostLifecycle(){let t;return[a(()=>this.component.view?.ready,()=>{let o=this.component.view,e=o.container?.querySelector(".esri-attribution");!e||!o||(t?.disconnect(),t=new ResizeObserver(()=>{let r=e.clientHeight;if(r===this.attributionHeight)return;let s=r-this.attributionHeight;if(s!==0){if(!this.component.el.shadowRoot)return;let b=getComputedStyle(this.component.el.shadowRoot.host).getPropertyValue("--arcgis-layout-overlay-space-bottom").trim(),f=Number.parseInt(b)+s;this.component.el.style.setProperty("--arcgis-layout-overlay-space-bottom",`${f}px`)}this.attributionHeight=r}),t.observe(e))},{once:!0}),g(()=>this.component.view.popup?.visible,()=>{this.popupRef?.visible&&(this.popupRef.visible=!1)}),{remove:()=>{t?.disconnect()}}]}openPopup(t){this.popupRef?this.popupRef.open(t):this.component.view.openPopup(t)}closePopup(){this.popupRef?this.popupRef.visible=!1:this.component.view.closePopup()}async _handleOpenPopup(t){if(this.popupRef&&!this.component.popupDisabled){t.stopPropagation();let{location:o,promises:e}=await this.popupRef?.handleViewClick(t);e?.length&&(this.component.view.closePopup(),this.popupRef?.open({location:o,promises:e}))}}_handlePopupSlotChange(t){let o=h(t.target,"arcgis-popup");!this.popupRef&&o.length?this.popupRef=o[0]:o.length||(this.popupRef=void 0)}_webGLErrorAlert(){return this.webGLError?l`<calcite-alert icon=x-octagon kind=danger open .label=${this.webGLError.name}><div slot=title>Unable to display map. WebGL2 support is required.</div><div slot=message>Ensure that your browser and hardware meet the minimum requirements.</div><calcite-link slot=link href=https://esriurl.com/webgl-faq>https://esriurl.com/webgl-faq</calcite-link></calcite-alert>`:null}render(){return m(this.direction,t=>this._handlePopupSlotChange(t),this._webGLErrorAlert())}},L=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>{let{map:e}=i;if(!e||e.destroyed)return[];let r=[];return e.loadError&&r.push(e),e.basemap?.loadError&&r.push(e.basemap),e.ground.loadError&&r.push(e.ground),[...e.allLayers,...e.allTables].forEach(s=>{s.loadError&&r.push(s)}),r},e=>{e.length&&(i.loadErrorSources=e,o.emit())})),o}),G=p((i,t)=>{let o=n();return t.onLifecycle(()=>a(()=>i.view?.readyState,e=>{(e==="map-content-error"||e==="rendering-error")&&o.emit()})),o});return{a:d,b:L,c:G}},"core/reactiveUtils")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{f as r}from"./XDFS4H76.js";import{P as o}from"./OLKD773Z.js";var s=r(o);export{s as a};
3
+ v5.0.0-next.67 */
4
+ import{f as r}from"./6MVGR4Q3.js";import{P as o}from"./YXHNB6YW.js";var s=r(o);export{s as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import b from"./JFGRGVPS.js";import a from"./UZJCNUFV.js";import{I as u,J as i,K as e,O as $,a as w,b as t}from"./OLKD773Z.js";import"./JFJVWP3U.js";export default $arcgis.t(([,{a:x,b:p,d:g,e:L,g:m,h:c,i:A}])=>{var P=w`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row{display:table-row}.arcgis-legend__layer-cell{display:table-cell;padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-univariate-above-and-below-ramp__label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-univariate-above-and-below-ramp__label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-univariate-above-and-below-ramp__label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateAboveAndBelowLabel:"arcgis-univariate-above-and-below-ramp__label"},v=class extends u{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=P}render(){let{legendElement:z,opacity:d}=this,{sizeRampElement:s,colorRampElement:b}=L(z,this.messages,d);if(!s)return null;let f=this.messages.previewColorRampAriaLabel,_=g(s,"above",!0),y=g(s,"below",!0),h=12,n=p(b,{width:h,height:_,rampAlignment:"vertical",opacity:d,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),E=p(b,{width:h,height:y,rampAlignment:"vertical",opacity:d,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),C=x(s),o=s.infos.map(l=>l.label),R=o.map((l,r)=>r===0?t`<div class=${i(l?n?a.univariateAboveAndBelowLabel:a.rampLabel:void 0)}>${l}</div>`:r===2?t`<div></div>`:null),k=o.length-1,B=Math.floor(o.length/2),F=o.map((l,r)=>r===B||r===k?t`<div class=${i(l?n?a.univariateAboveAndBelowLabel:a.rampLabel:void 0)}>${l}</div>`:null),j={display:"table-cell",verticalAlign:"middle"},M={marginTop:`${C}px`},I={height:`${_}px`},U={height:`${y}px`};return t`<div style=${e(A)}><div class=${i(a.layerBody)}>${s.infos.map((l,r)=>t`<div class=${i(a.layerRow)}><div class=${i(a.symbol)} style=${e(j)}>${l.preview}</div>${!n&&r%2===0?t`<div class=${i(a.layerInfo)}>${o[r]}</div>`:null}</div>`)}</div>${n?t`<div style=${e(M)}><div style=${e(m)}><div style=${e(c)}><div class=${i(a.rampContainer)}>${n}</div></div><div style=${e(c)}><div class=${i(a.rampLabelsContainer)} style=${e(I)}>${R}</div></div></div><div style=${e(m)}><div style=${e(c)}><div class=${i(a.rampContainer)}>${E}</div></div><div style=${e(c)}><div class=${i(a.rampLabelsContainer)} style=${e(U)}>${F}</div></div></div></div>`:null}</div>`}};$("arcgis-legend-classic-univariate-above-and-below-ramp",v);return v},a,b)
3
+ v5.0.0-next.67 */
4
+ import b from"./RGKVPOMZ.js";import a from"./DWO6HP37.js";import{I as u,J as i,K as e,O as $,a as w,b as t}from"./YXHNB6YW.js";import"./S45GQDNX.js";export default $arcgis.t(([,{a:x,b:p,d:g,e:L,g:m,h:c,i:A}])=>{var P=w`.arcgis-legend__layer-body{margin-left:var(--calcite-spacing-sm);display:table}:dir(rtl) .arcgis-legend__layer-body{margin-right:var(--calcite-spacing-sm);margin-left:0;overflow:auto}.arcgis-legend__layer-row{display:table-row}.arcgis-legend__layer-cell{display:table-cell;padding:var(--calcite-spacing-xxs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.arcgis-legend__layer-cell--info{padding-right:var(--calcite-spacing-sm);padding-left:var(--calcite-spacing-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.arcgis-legend__symbol{display:flex;justify-content:center}.arcgis-legend__ramps{margin-left:var(--calcite-spacing-md)}:dir(rtl) .arcgis-legend__ramps{margin-right:var(--calcite-spacing-md);margin-left:auto}.arcgis-legend__ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.arcgis-legend__ramp-label{position:relative;padding:0 var(--calcite-spacing-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-legend__ramp-label:before{display:block;position:absolute;top:.25em;right:100%;border-width:3px 4px 3px 0;border-style:solid;border-color:transparent var(--calcite-color-text-1) transparent transparent;width:0;height:0;content:""}.arcgis-legend__ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.arcgis-legend__ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .arcgis-legend__ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.arcgis-univariate-above-and-below-ramp__label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.arcgis-univariate-above-and-below-ramp__label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.arcgis-univariate-above-and-below-ramp__label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.arcgis-univariate-above-and-below-ramp__label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label{margin-right:var(--calcite-spacing-sm);margin-left:auto}:dir(rtl) .arcgis-univariate-above-and-below-ramp__label:before{right:-19px;left:auto}.arcgis-univariate-above-and-below-ramp__symbol{display:flex;align-items:center;justify-content:center}`,a={layerBody:"arcgis-legend__layer-body",layerRow:"arcgis-legend__layer-row",layerInfo:"arcgis-legend__layer-cell arcgis-legend__layer-cell--info",symbol:"arcgis-legend__symbol",rampContainer:"arcgis-legend__ramps",rampLabelsContainer:"arcgis-legend__ramp-labels",rampLabel:"arcgis-legend__ramp-label",univariateAboveAndBelowLabel:"arcgis-univariate-above-and-below-ramp__label"},v=class extends u{constructor(){super(...arguments),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=P}render(){let{legendElement:z,opacity:d}=this,{sizeRampElement:s,colorRampElement:b}=L(z,this.messages,d);if(!s)return null;let f=this.messages.previewColorRampAriaLabel,_=g(s,"above",!0),y=g(s,"below",!0),h=12,n=p(b,{width:h,height:_,rampAlignment:"vertical",opacity:d,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),E=p(b,{width:h,height:y,rampAlignment:"vertical",opacity:d,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),C=x(s),o=s.infos.map(l=>l.label),R=o.map((l,r)=>r===0?t`<div class=${i(l?n?a.univariateAboveAndBelowLabel:a.rampLabel:void 0)}>${l}</div>`:r===2?t`<div></div>`:null),k=o.length-1,B=Math.floor(o.length/2),F=o.map((l,r)=>r===B||r===k?t`<div class=${i(l?n?a.univariateAboveAndBelowLabel:a.rampLabel:void 0)}>${l}</div>`:null),j={display:"table-cell",verticalAlign:"middle"},M={marginTop:`${C}px`},I={height:`${_}px`},U={height:`${y}px`};return t`<div style=${e(A)}><div class=${i(a.layerBody)}>${s.infos.map((l,r)=>t`<div class=${i(a.layerRow)}><div class=${i(a.symbol)} style=${e(j)}>${l.preview}</div>${!n&&r%2===0?t`<div class=${i(a.layerInfo)}>${o[r]}</div>`:null}</div>`)}</div>${n?t`<div style=${e(M)}><div style=${e(m)}><div style=${e(c)}><div class=${i(a.rampContainer)}>${n}</div></div><div style=${e(c)}><div class=${i(a.rampLabelsContainer)} style=${e(I)}>${R}</div></div></div><div style=${e(m)}><div style=${e(c)}><div class=${i(a.rampContainer)}>${E}</div></div><div style=${e(c)}><div class=${i(a.rampLabelsContainer)} style=${e(U)}>${F}</div></div></div></div>`:null}</div>`}};$("arcgis-legend-classic-univariate-above-and-below-ramp",v);return v},a,b)
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/5.0/esri/copyright.txt for details.
3
- v5.0.0-next.65 */
4
- import{a as r}from"./XDFS4H76.js";import{u as c}from"./OLKD773Z.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")
3
+ v5.0.0-next.67 */
4
+ import{a as r}from"./6MVGR4Q3.js";import{u as c}from"./YXHNB6YW.js";export default $arcgis.t(([{watch:s},e])=>{var a=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:n}=this.component;return t&&o&&n?[t,n,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>void this._updateScreenLocation(),{initial:!0}))}async _updateScreenLocation(){{e.isLoaded()||await e.load();let{location:o,view:t}=this.component,n=t?.spatialReference,i=n&&o?e.execute(o,n):null;this.exports=this.component.trackLocation&&i&&t?.ready?t.toScreen(i):null}}},d=r(a);return d},"core/reactiveUtils","geometry/operators/projectOperator")