@arcgis/map-components 5.2.0-next.139 → 5.2.0-next.140

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 (631) hide show
  1. package/dist/cdn/{DMYMCGHJ.js → 26URLKXD.js} +2 -2
  2. package/dist/cdn/{63FA3UEL.js → 2BGZVOT3.js} +2 -2
  3. package/dist/cdn/{QMYL4UM7.js → 2BUURGFL.js} +2 -2
  4. package/dist/cdn/{AYJQLWX4.js → 2DAGREZP.js} +2 -2
  5. package/dist/cdn/{3A3DGDW5.js → 2F4IGA4W.js} +2 -2
  6. package/dist/cdn/{IJLCJVC4.js → 2KPCMM7D.js} +2 -2
  7. package/dist/cdn/{YWS5RHVM.js → 2SO5S66J.js} +2 -2
  8. package/dist/cdn/{NBHZZ4E6.js → 2TY3T3GH.js} +2 -2
  9. package/dist/cdn/{PYTZ3YBE.js → 2U3VASQT.js} +1 -1
  10. package/dist/cdn/{XTPRVANS.js → 2UKSCGYU.js} +2 -2
  11. package/dist/cdn/{COKGOKO2.js → 2ZMXUAQZ.js} +2 -2
  12. package/dist/cdn/{7N4V2IN6.js → 366GLQ5R.js} +1 -1
  13. package/dist/cdn/{CX45KI3X.js → 3C6FN5WT.js} +2 -2
  14. package/dist/cdn/{GV3IXBBT.js → 3GHQZCMV.js} +2 -2
  15. package/dist/cdn/{LHFB44QW.js → 3N5MWYUQ.js} +2 -2
  16. package/dist/cdn/{4F2ZWXO2.js → 3ONY25MG.js} +2 -2
  17. package/dist/cdn/{EKR2SAT2.js → 3UMLR76Y.js} +2 -2
  18. package/dist/cdn/{OHLJ6POC.js → 3VCGDZEU.js} +2 -2
  19. package/dist/cdn/{CIUI5B52.js → 4432P7Z5.js} +2 -2
  20. package/dist/cdn/{7UWE25UH.js → 44CQCIZB.js} +2 -2
  21. package/dist/cdn/4B2TLORL.js +2 -0
  22. package/dist/cdn/{OCLOCCB6.js → 4IU5R6VO.js} +2 -2
  23. package/dist/cdn/{YHKTMUY7.js → 4IWYFG2G.js} +2 -2
  24. package/dist/cdn/{FMIWBKT4.js → 4KQA2GRX.js} +2 -2
  25. package/dist/cdn/{JCRPP54Z.js → 4L43F7HU.js} +1 -1
  26. package/dist/cdn/{XAD4PUBU.js → 4O3HLHQQ.js} +2 -2
  27. package/dist/cdn/{ZPH7M75T.js → 4PI54LJH.js} +2 -2
  28. package/dist/cdn/{DOEKV7G3.js → 4WKWYFIH.js} +2 -2
  29. package/dist/cdn/{DL57EVZ4.js → 4XERPOOU.js} +2 -2
  30. package/dist/cdn/{J657IBDC.js → 4XJ6RYYC.js} +2 -2
  31. package/dist/cdn/{PLTLRYBF.js → 4ZLIA5OM.js} +2 -2
  32. package/dist/cdn/{JPKB745U.js → 52CUDGKY.js} +2 -2
  33. package/dist/cdn/{4TTVVGYW.js → 53OXTCE6.js} +2 -2
  34. package/dist/cdn/{RQLMXLJC.js → 5AMF6NZN.js} +2 -2
  35. package/dist/cdn/{6BLFYSDN.js → 5DY7GHBN.js} +2 -2
  36. package/dist/cdn/{SFSWQGLY.js → 5ESNA4SF.js} +2 -2
  37. package/dist/cdn/5KN3AKHQ.js +2 -0
  38. package/dist/cdn/{FFJCCMDZ.js → 5RAIBYCT.js} +2 -2
  39. package/dist/cdn/{5SLLYIWJ.js → 5TKSFDKY.js} +2 -2
  40. package/dist/cdn/{3HS3DM5B.js → 62IE7RFR.js} +2 -2
  41. package/dist/cdn/{YPNGSV66.js → 65MI3MW2.js} +2 -2
  42. package/dist/cdn/{ELYDZHP5.js → 67PT3A4A.js} +2 -2
  43. package/dist/cdn/{PRTHX6OC.js → 6A2OF3TO.js} +2 -2
  44. package/dist/cdn/{POKO37D3.js → 6J3KSMFG.js} +1 -1
  45. package/dist/cdn/{OJXNUBIA.js → 6MCDOI5M.js} +2 -2
  46. package/dist/cdn/{JCR7S6RP.js → 6QH2NH2Z.js} +2 -2
  47. package/dist/cdn/{CORNSRXU.js → 6UYEO5Q7.js} +2 -2
  48. package/dist/cdn/{GXRPNW37.js → 6VO7G2UX.js} +2 -2
  49. package/dist/cdn/77U2VO5P.js +2 -0
  50. package/dist/cdn/{ECNRW3D5.js → 7DFCYS72.js} +2 -2
  51. package/dist/cdn/{EDTGV4YF.js → 7DM32WQP.js} +2 -2
  52. package/dist/cdn/{ZEKQYUW3.js → 7FCZLFJD.js} +2 -2
  53. package/dist/cdn/{TPC2FJJX.js → 7FFBCPVE.js} +2 -2
  54. package/dist/cdn/{IWWDRGYJ.js → 7TULU5QF.js} +2 -2
  55. package/dist/cdn/{Z5C6UBYP.js → 7VDBR3SK.js} +2 -2
  56. package/dist/cdn/{T4V5O3FK.js → 7VJQVX42.js} +2 -2
  57. package/dist/cdn/{F5WKI5HZ.js → A3DPMZWE.js} +2 -2
  58. package/dist/cdn/{5763ZV75.js → A4VK42OW.js} +2 -2
  59. package/dist/cdn/{27MP6TEF.js → A6H4JIO7.js} +2 -2
  60. package/dist/cdn/{UWKXYCO3.js → A7RLC6ZT.js} +2 -2
  61. package/dist/cdn/{TN5C3MSL.js → AL3PLZEE.js} +1 -1
  62. package/dist/cdn/{FZWFKZLW.js → ALVAGE57.js} +2 -2
  63. package/dist/cdn/{I5ZESLWO.js → AO6ONNIJ.js} +2 -2
  64. package/dist/cdn/{CF4OY56S.js → AS4FG6IT.js} +2 -2
  65. package/dist/cdn/{H4FH2RBM.js → B32GNMHD.js} +2 -2
  66. package/dist/cdn/{3LOGBSQP.js → BHCAFGIA.js} +1 -1
  67. package/dist/cdn/{2CWTV6TC.js → BI2SI2HK.js} +2 -2
  68. package/dist/cdn/{TNFZHEWD.js → BLOQ2AJ5.js} +2 -2
  69. package/dist/cdn/{QTOA5MBN.js → BM4TS2RT.js} +2 -2
  70. package/dist/cdn/{CQQM24VF.js → BQBWXR6P.js} +2 -2
  71. package/dist/cdn/{SP73K22L.js → BQGY4YCS.js} +2 -2
  72. package/dist/cdn/{R2IBOCMY.js → BVTEQMDF.js} +2 -2
  73. package/dist/cdn/{KKP7ZZUD.js → BXB5PSFB.js} +2 -2
  74. package/dist/cdn/{KO7RD6SS.js → CAC3OOFR.js} +2 -2
  75. package/dist/cdn/{LE373OSG.js → CBVICP6P.js} +2 -2
  76. package/dist/cdn/{BSTO7TGD.js → CKS5ACAB.js} +2 -2
  77. package/dist/cdn/{5L5UYV3H.js → CKZBNHMD.js} +1 -1
  78. package/dist/cdn/CNYZSE22.js +2 -0
  79. package/dist/cdn/{F46CTQWP.js → COCGWEUR.js} +2 -2
  80. package/dist/cdn/{PLVTYVUG.js → CP5JALYQ.js} +2 -2
  81. package/dist/cdn/{Y2LELW5Y.js → CPYVZPJ7.js} +2 -2
  82. package/dist/cdn/{VABVK3ZN.js → CR6PVUCT.js} +2 -2
  83. package/dist/cdn/CVJOD6H3.js +2 -0
  84. package/dist/cdn/{5M56ZA46.js → D7FBQECJ.js} +2 -2
  85. package/dist/cdn/{E4NTQBM3.js → DDSIQO4G.js} +2 -2
  86. package/dist/cdn/{VDTRRLON.js → DFUR3C3D.js} +1 -1
  87. package/dist/cdn/{4T2A7PAO.js → DK7HXJSX.js} +2 -2
  88. package/dist/cdn/{IU22RA7Z.js → DLWQZHNA.js} +2 -2
  89. package/dist/cdn/{EAM45WZP.js → DN2EFA4T.js} +2 -2
  90. package/dist/cdn/{BEFZSVBT.js → DSD2SY73.js} +2 -2
  91. package/dist/cdn/DTORO2OE.js +2 -0
  92. package/dist/cdn/{XAADUJ74.js → DUMHDAYP.js} +2 -2
  93. package/dist/cdn/{VCSX4G2U.js → DY2EOHFD.js} +2 -2
  94. package/dist/cdn/{O57LOC52.js → DYUCS5QP.js} +2 -2
  95. package/dist/cdn/{3SG4AC5C.js → DYWCAORU.js} +2 -2
  96. package/dist/cdn/{CGN2BQTU.js → E54VGGFM.js} +2 -2
  97. package/dist/cdn/{3DSZKELU.js → E5L3MOIC.js} +2 -2
  98. package/dist/cdn/{YPNJ5V4R.js → EHEWQ23K.js} +2 -2
  99. package/dist/cdn/{N4MW5VBL.js → EK7Y6JBZ.js} +2 -2
  100. package/dist/cdn/{YOUMOTN3.js → EMXGW73P.js} +2 -2
  101. package/dist/cdn/{3NL42TBJ.js → EOAVDNBZ.js} +2 -2
  102. package/dist/cdn/{FMBY3L4S.js → EPAR65ZP.js} +2 -2
  103. package/dist/cdn/{7DAQGPGD.js → EPH5BN6X.js} +2 -2
  104. package/dist/cdn/{HZX7MSQG.js → ESOCZAMZ.js} +2 -2
  105. package/dist/cdn/{FNSGB45I.js → EV7IIQBP.js} +2 -2
  106. package/dist/cdn/{QVL33OWJ.js → EZCHUWDK.js} +2 -2
  107. package/dist/cdn/{VYYFRZLI.js → F34QQ4DO.js} +2 -2
  108. package/dist/cdn/{PEH4U3YV.js → F5IHFPKA.js} +2 -2
  109. package/dist/cdn/{3WTBTYMS.js → F5JYYT42.js} +1 -1
  110. package/dist/cdn/{GQ6SYNZS.js → FACY5XHG.js} +2 -2
  111. package/dist/cdn/{AI5PXN2E.js → FDJGQHUA.js} +2 -2
  112. package/dist/cdn/{J23DTKII.js → FF7BSRYW.js} +2 -2
  113. package/dist/cdn/{IZ46HAUJ.js → FH3WFF5O.js} +1 -1
  114. package/dist/cdn/{7EQZKGJN.js → FHHVGI4H.js} +2 -2
  115. package/dist/cdn/FIZMK7GS.js +1 -0
  116. package/dist/cdn/{IRZGEFF5.js → FPPWXIBA.js} +2 -2
  117. package/dist/cdn/{6J55YK5V.js → FQSHLYKX.js} +2 -2
  118. package/dist/cdn/{3MQPSWL6.js → FSBLGH6E.js} +2 -2
  119. package/dist/cdn/{BAOWXZTE.js → FXUZU52U.js} +1 -1
  120. package/dist/cdn/{GVZKVOM7.js → FZAQZSRA.js} +2 -2
  121. package/dist/cdn/{UCTJVPYB.js → G26V76WA.js} +2 -2
  122. package/dist/cdn/{RQG75Q2X.js → GCEBFEZ5.js} +2 -2
  123. package/dist/cdn/{GU3M4JMW.js → GDLDEHUJ.js} +1 -1
  124. package/dist/cdn/{MEZHGYCH.js → GFNCEZSN.js} +2 -2
  125. package/dist/cdn/{A4U2PDJP.js → GHVT7W4O.js} +2 -2
  126. package/dist/cdn/{54CLZESW.js → GII4POXM.js} +2 -2
  127. package/dist/cdn/{QX33OCXB.js → GIIYVCKT.js} +2 -2
  128. package/dist/cdn/{CZOM5NWO.js → GJKFDTVX.js} +2 -2
  129. package/dist/cdn/{SBIOND5K.js → GK47522P.js} +2 -2
  130. package/dist/cdn/{NZBID35V.js → GNSNEUMI.js} +2 -2
  131. package/dist/cdn/{MKCJXRXB.js → GS2HJTMU.js} +2 -2
  132. package/dist/cdn/{VWFQCWGB.js → GUHSWQMF.js} +2 -2
  133. package/dist/cdn/{XEK22IDA.js → GUL7EIJ4.js} +1 -1
  134. package/dist/cdn/{HCN3UC4W.js → GUZYCRYS.js} +2 -2
  135. package/dist/cdn/{OX55WUIT.js → H7NR6B6S.js} +2 -2
  136. package/dist/cdn/{MUWOF7W4.js → HBWEW6R7.js} +2 -2
  137. package/dist/cdn/{SFFTE3TG.js → HDHWPKJ4.js} +2 -2
  138. package/dist/cdn/{RKTSSP3O.js → HI7BF3DL.js} +2 -2
  139. package/dist/cdn/{N6VSP7BU.js → HKLBQ7JD.js} +2 -2
  140. package/dist/cdn/{QPFX5XH3.js → HKVIWCPL.js} +2 -2
  141. package/dist/cdn/{JBHRVHGS.js → HPWF3IQV.js} +2 -2
  142. package/dist/cdn/{55Y5ATNY.js → HQSY7TKA.js} +2 -2
  143. package/dist/cdn/{UMHGXP3S.js → HQWUQFN5.js} +2 -2
  144. package/dist/cdn/HTC4LCZQ.js +2 -0
  145. package/dist/cdn/{TMJX7DFH.js → HU57LQOA.js} +1 -1
  146. package/dist/cdn/{B4CANXID.js → HY2JY2TT.js} +2 -2
  147. package/dist/cdn/{VEAJ52RN.js → IAWXCNTX.js} +2 -2
  148. package/dist/cdn/{2COOBXHG.js → IDIAWXUO.js} +2 -2
  149. package/dist/cdn/{JAZGNQRP.js → IFR4IYSI.js} +2 -2
  150. package/dist/cdn/IITDAOGZ.js +2 -0
  151. package/dist/cdn/{4RMVG2NH.js → ILQDA7LL.js} +2 -2
  152. package/dist/cdn/{O7RSAJOS.js → IM6IDWYR.js} +1 -1
  153. package/dist/cdn/{UINNR6FV.js → IQEEQOMD.js} +2 -2
  154. package/dist/cdn/{N2HG34QB.js → IQOQTYRR.js} +2 -2
  155. package/dist/cdn/{2KP3MSHV.js → IT52WNCR.js} +3 -3
  156. package/dist/cdn/{4PGC5LTJ.js → J3FRSWZD.js} +2 -2
  157. package/dist/cdn/{Y4WOZJQX.js → J4CHCFLS.js} +2 -2
  158. package/dist/cdn/{VWN2LORT.js → J6HOUEVT.js} +2 -2
  159. package/dist/cdn/{2JWHVMJ3.js → JBK5HTJ2.js} +2 -2
  160. package/dist/cdn/{VSDQVSOV.js → JF7VJGL4.js} +2 -2
  161. package/dist/cdn/{VCRVQMYT.js → JRCEICO2.js} +2 -2
  162. package/dist/cdn/{LQ76PRWK.js → JS3IKVKM.js} +2 -2
  163. package/dist/cdn/{IDKRMHDS.js → JXQEGZDB.js} +1 -1
  164. package/dist/cdn/{I23AZWQL.js → K23R26AN.js} +2 -2
  165. package/dist/cdn/{5UOXHOVU.js → K7ELALW4.js} +2 -2
  166. package/dist/cdn/{H77SMV46.js → K7XSWKZ2.js} +2 -2
  167. package/dist/cdn/{HLGU3U73.js → KBA5OIES.js} +2 -2
  168. package/dist/cdn/{XPGC5GAG.js → KCLVDXWB.js} +2 -2
  169. package/dist/cdn/{IXWGGAVX.js → KFTFKI6A.js} +2 -2
  170. package/dist/cdn/{KM2GXXBO.js → KGUALNRF.js} +2 -2
  171. package/dist/cdn/{Z42QB2QP.js → KLVBRTYU.js} +2 -2
  172. package/dist/cdn/{GP3PLD2F.js → KPUEQZ7O.js} +2 -2
  173. package/dist/cdn/{5SL2HI4G.js → KVYBIOH5.js} +2 -2
  174. package/dist/cdn/{BZR4MSO5.js → L2F4HQYY.js} +2 -2
  175. package/dist/cdn/{ALROLX35.js → L46JLXJT.js} +2 -2
  176. package/dist/cdn/{JD74LG7K.js → L5IRXOCJ.js} +1 -1
  177. package/dist/cdn/{M7LDGJG6.js → LC37F7HF.js} +2 -2
  178. package/dist/cdn/{JE6NC2E6.js → LH2T4TMP.js} +2 -2
  179. package/dist/cdn/{KRVLKKXB.js → LKAJVIS2.js} +2 -2
  180. package/dist/cdn/{UPZVIKOH.js → LYT35TNY.js} +2 -2
  181. package/dist/cdn/{NA7GF7PI.js → M2LKA37F.js} +2 -2
  182. package/dist/cdn/{RYYBMDGS.js → M3FI4K44.js} +2 -2
  183. package/dist/cdn/{ITRD7ZY4.js → M42QFFPZ.js} +2 -2
  184. package/dist/cdn/{ZW2ZBNX2.js → M5KYBYZT.js} +2 -2
  185. package/dist/cdn/{Q73T55TC.js → M6YVO33A.js} +2 -2
  186. package/dist/cdn/{ZWN6DXNO.js → M7AFSV3C.js} +2 -2
  187. package/dist/cdn/{SQYMNL75.js → MA2GVVQJ.js} +2 -2
  188. package/dist/cdn/MA7GBKLW.js +2 -0
  189. package/dist/cdn/{GQXUCZYM.js → MCMACXJV.js} +2 -2
  190. package/dist/cdn/{7VVOJSSE.js → MDWBYUFG.js} +2 -2
  191. package/dist/cdn/{3V3PYL2L.js → MFWSWLBW.js} +2 -2
  192. package/dist/cdn/{3O4SVNIK.js → MICLX7QW.js} +2 -2
  193. package/dist/cdn/{DCQQKR3O.js → MMYODAC2.js} +2 -2
  194. package/dist/cdn/{6NWR2Z4F.js → MQYTZX24.js} +2 -2
  195. package/dist/cdn/{45JO7F4Y.js → MTFIK3F4.js} +2 -2
  196. package/dist/cdn/{7AHOPT65.js → MUNSXJ5X.js} +2 -2
  197. package/dist/cdn/{HX4CSRAB.js → MWIDHMQZ.js} +2 -2
  198. package/dist/cdn/{SXQRPAPL.js → MYLIX42T.js} +2 -2
  199. package/dist/cdn/{AYNGSZAL.js → N3DTZRST.js} +2 -2
  200. package/dist/cdn/{CEUIFOR6.js → NB7O2TXG.js} +1 -1
  201. package/dist/cdn/{T2DT5I33.js → ND3V4Z4F.js} +1 -1
  202. package/dist/cdn/{DJTW52JH.js → ND7BSIVO.js} +1 -1
  203. package/dist/cdn/{3A7S62FX.js → NFCFPU7K.js} +2 -2
  204. package/dist/cdn/{2DKTF2EL.js → NJPPZJ3L.js} +2 -2
  205. package/dist/cdn/{BKVCAAPF.js → NQOS7L2J.js} +2 -2
  206. package/dist/cdn/{2AQYGR7K.js → NY7RHFLZ.js} +2 -2
  207. package/dist/cdn/{ISIH65JW.js → O5YJPUFM.js} +2 -2
  208. package/dist/cdn/{TU6ZG6ZI.js → O6HYZKBU.js} +2 -2
  209. package/dist/cdn/{MPKC74OS.js → OAMA6SL3.js} +2 -2
  210. package/dist/cdn/{5XVK5ZBK.js → OAMPGCZF.js} +2 -2
  211. package/dist/cdn/{3YXCLF3K.js → OAYNZFL2.js} +2 -2
  212. package/dist/cdn/{XAMLHDWZ.js → OJIYHIGC.js} +2 -2
  213. package/dist/cdn/{7DDCU3NB.js → OPNJGHML.js} +2 -2
  214. package/dist/cdn/{R3IITUG6.js → OSDGWHZZ.js} +2 -2
  215. package/dist/cdn/{H5AYEQ6D.js → OUC5HWPQ.js} +2 -2
  216. package/dist/cdn/{HX4CDWS4.js → P2I63WVL.js} +2 -2
  217. package/dist/cdn/P3PXDT5V.js +2 -0
  218. package/dist/cdn/{Q22KIHFH.js → PBHNO4J7.js} +2 -2
  219. package/dist/cdn/{2GDB3C5I.js → PBYHBRG7.js} +2 -2
  220. package/dist/cdn/{D3LYSFXK.js → PCOXR45L.js} +2 -2
  221. package/dist/cdn/{XURL7UVF.js → PDH2DA3L.js} +2 -2
  222. package/dist/cdn/{4GRP4KX3.js → PGK2ZJCX.js} +2 -2
  223. package/dist/cdn/{7MOL5GJB.js → PGSBUAGV.js} +2 -2
  224. package/dist/cdn/{I2A6UYGZ.js → PGXNWDD3.js} +2 -2
  225. package/dist/cdn/{KBHLE7HT.js → PIDNZKSJ.js} +2 -2
  226. package/dist/cdn/{LGW5AS6R.js → PJ5OUPGO.js} +2 -2
  227. package/dist/cdn/{GIOUZTHM.js → PMRI66RQ.js} +2 -2
  228. package/dist/cdn/{AW3C3DKA.js → PPAFKBPN.js} +2 -2
  229. package/dist/cdn/{NRJ6LV6O.js → PWHXRRFU.js} +2 -2
  230. package/dist/cdn/{DPPZZO5W.js → PZSKFFTG.js} +2 -2
  231. package/dist/cdn/{K6D2JHC4.js → PZUVKZGQ.js} +2 -2
  232. package/dist/cdn/{QMQV37ML.js → PZZU36OG.js} +2 -2
  233. package/dist/cdn/{BLYJE76S.js → Q4L65YE5.js} +2 -2
  234. package/dist/cdn/{RAOEF6YV.js → QEPANMVK.js} +2 -2
  235. package/dist/cdn/{OGAUCGGG.js → QKZ552KI.js} +2 -2
  236. package/dist/cdn/{CL2NYK7A.js → QOIURU47.js} +2 -2
  237. package/dist/cdn/{7V7IKYJG.js → QPSAD5DG.js} +2 -2
  238. package/dist/cdn/{6IVEAPNI.js → QT7GRA34.js} +2 -2
  239. package/dist/cdn/{GTRQNPQ7.js → QTB5YKHB.js} +2 -2
  240. package/dist/cdn/{3PVLBFNC.js → QWIDIEXY.js} +2 -2
  241. package/dist/cdn/{6GFUBVBL.js → R5QMO5FY.js} +2 -2
  242. package/dist/cdn/{FUQD5XQR.js → R5TCWJ6V.js} +2 -2
  243. package/dist/cdn/{AZ73DBU3.js → R5TXJ5FN.js} +2 -2
  244. package/dist/cdn/{S6M66TIN.js → R5YW65AI.js} +2 -2
  245. package/dist/cdn/{TC6HL72N.js → R67ZOCIR.js} +2 -2
  246. package/dist/cdn/{4WAV5GOL.js → RGTUSH6U.js} +2 -2
  247. package/dist/cdn/{YLC4L2QV.js → RRSU6QD4.js} +2 -2
  248. package/dist/cdn/{DSDPDMLP.js → RUYAWRPV.js} +2 -2
  249. package/dist/cdn/{AAUN23S6.js → RVEUCXT4.js} +2 -2
  250. package/dist/cdn/{4W35GLNO.js → RVIHQZ44.js} +2 -2
  251. package/dist/cdn/{3L2J4JFP.js → RZGWZ2FJ.js} +2 -2
  252. package/dist/cdn/{WVRJQQKH.js → S6BPBG7D.js} +2 -2
  253. package/dist/cdn/{AAMRTS35.js → S7ORGB5E.js} +2 -2
  254. package/dist/cdn/{55AW5TTI.js → SAOLD6MH.js} +2 -2
  255. package/dist/cdn/{XPIX7Z2Q.js → SEY3WDK2.js} +2 -2
  256. package/dist/cdn/{DMYAI77Y.js → SG55TVJ5.js} +2 -2
  257. package/dist/cdn/{B476G3EX.js → SHU4AE2X.js} +2 -2
  258. package/dist/cdn/{YAEJKOYY.js → SIFBGT4D.js} +2 -2
  259. package/dist/cdn/{TZ2LE7KS.js → SIZZ3BQA.js} +2 -2
  260. package/dist/cdn/{HH5GEJCC.js → SK5CTCTZ.js} +2 -2
  261. package/dist/cdn/{4WXSFT6G.js → SLAFIIZU.js} +2 -2
  262. package/dist/cdn/{27GJE7OY.js → SLSGW7B6.js} +2 -2
  263. package/dist/cdn/{5CER2N5T.js → SMVLPJDD.js} +2 -2
  264. package/dist/cdn/{IETZFE3P.js → SNNAV3AS.js} +2 -2
  265. package/dist/cdn/{4MJJOPAL.js → SOZWCZ7A.js} +1 -1
  266. package/dist/cdn/{7FVXPOAG.js → SQEKT3GV.js} +2 -2
  267. package/dist/cdn/{X3DQNCTZ.js → SR4V2CUQ.js} +2 -2
  268. package/dist/cdn/{YU5BTZEI.js → SZ3T7YEB.js} +1 -1
  269. package/dist/cdn/{KJ6TWPZT.js → T7WW3YQN.js} +2 -2
  270. package/dist/cdn/{Z4WS2RBO.js → TA723HWT.js} +2 -2
  271. package/dist/cdn/{H6RQVSYM.js → TAVTDQ6S.js} +1 -1
  272. package/dist/cdn/{CJ4KIA26.js → TDZIH5OK.js} +2 -2
  273. package/dist/cdn/{JBR3FYAN.js → THJMCEEO.js} +2 -2
  274. package/dist/cdn/{4WP4DUBT.js → TJQ3GP5V.js} +2 -2
  275. package/dist/cdn/{3DUIQTNG.js → TKILR2SM.js} +2 -2
  276. package/dist/cdn/{4RGFCQOB.js → TMTFZSJS.js} +1 -1
  277. package/dist/cdn/{RPHJDEZH.js → TO6SOEDF.js} +2 -2
  278. package/dist/cdn/{OBMM7WJD.js → TPVHN6P2.js} +2 -2
  279. package/dist/cdn/{VTCM7AV2.js → TSNUOFL7.js} +2 -2
  280. package/dist/cdn/{E5JCJOB3.js → U5DIWFPP.js} +2 -2
  281. package/dist/cdn/{QTDJVI5F.js → UTV2A7J4.js} +2 -2
  282. package/dist/cdn/{RFSBZHJD.js → UUHCMLK6.js} +2 -2
  283. package/dist/cdn/{TZHXSIXK.js → UUNHAVGJ.js} +2 -2
  284. package/dist/cdn/{43IOCYG5.js → UVJWDKLK.js} +2 -2
  285. package/dist/cdn/{BIU6VS3K.js → UZLEFNJL.js} +1 -1
  286. package/dist/cdn/{LL7R6ETJ.js → V2YPYCU6.js} +2 -2
  287. package/dist/cdn/{3DPVKWFO.js → VDEMMP33.js} +2 -2
  288. package/dist/cdn/{3E56Q4ZY.js → VDKEQI3H.js} +2 -2
  289. package/dist/cdn/{BIWQEPK4.js → VLPNB2Z3.js} +2 -2
  290. package/dist/cdn/{XYNRLVTU.js → VTCE3YQW.js} +2 -2
  291. package/dist/cdn/{N6QTPGCU.js → VUAYNF3K.js} +2 -2
  292. package/dist/cdn/{26LWK3XB.js → VZ6UFS6H.js} +2 -2
  293. package/dist/cdn/{276JOEH5.js → W3TSTSES.js} +2 -2
  294. package/dist/cdn/{IFMBHZHX.js → WBBTZNZU.js} +2 -2
  295. package/dist/cdn/{VJVKFKSG.js → WJQUE4DR.js} +1 -1
  296. package/dist/cdn/WK4TNKKC.js +2 -0
  297. package/dist/cdn/{3JCF73F4.js → WNWTWPV6.js} +2 -2
  298. package/dist/cdn/{QOQRNYM5.js → WO26ZR5Z.js} +2 -2
  299. package/dist/cdn/{NBDQBLRI.js → WQI5PKS4.js} +2 -2
  300. package/dist/cdn/{5V2DO6ZW.js → WS46QSWM.js} +2 -2
  301. package/dist/cdn/{WCEDE4CZ.js → WSHG4LV7.js} +2 -2
  302. package/dist/cdn/{3TGYCCNJ.js → WUTCKBNC.js} +2 -2
  303. package/dist/cdn/{GT6FFZHJ.js → X7BOBKIH.js} +2 -2
  304. package/dist/cdn/{ZOHGLZNV.js → XCTPKDKL.js} +2 -2
  305. package/dist/cdn/{OUXE3CSQ.js → XDU23V37.js} +2 -2
  306. package/dist/cdn/{D47546HM.js → XHOI3WNI.js} +1 -1
  307. package/dist/cdn/{VJE33ARY.js → XP74F2F6.js} +2 -2
  308. package/dist/cdn/{YKSVOTDV.js → XYF36P2O.js} +2 -2
  309. package/dist/cdn/{J6MU74RO.js → Y42K6IOP.js} +2 -2
  310. package/dist/cdn/{3ZXNGXHC.js → Y77AVOAH.js} +1 -1
  311. package/dist/cdn/{CUF7GCDT.js → YCHVPSSP.js} +2 -2
  312. package/dist/cdn/{B5GJ5JEW.js → YDZZPLVB.js} +2 -2
  313. package/dist/cdn/{P5HSMYWG.js → YFTQR2WS.js} +2 -2
  314. package/dist/cdn/{CESFJ6AD.js → YQV2OMBS.js} +2 -2
  315. package/dist/cdn/{E53ARLWV.js → YTLRTUMD.js} +2 -2
  316. package/dist/cdn/{MW6AOK5D.js → YYA4ZFSW.js} +2 -2
  317. package/dist/cdn/{TILA2OKK.js → YZJKSAQ5.js} +2 -2
  318. package/dist/cdn/{WBI4RS3V.js → YZUSPKNF.js} +2 -2
  319. package/dist/cdn/{S62FQUEJ.js → Z2ABUIL3.js} +2 -2
  320. package/dist/cdn/{KXGVE4NK.js → Z2UUXST4.js} +2 -2
  321. package/dist/cdn/{PXAY7IM4.js → Z2WYULU3.js} +2 -2
  322. package/dist/cdn/{QKON7YGO.js → Z3W7LQ5M.js} +2 -2
  323. package/dist/cdn/{EESGZV4K.js → Z6AVJWLP.js} +2 -2
  324. package/dist/cdn/{JIQ4P34C.js → Z7H4V2JZ.js} +2 -2
  325. package/dist/cdn/{GF7RZ4IH.js → ZAUG5MSY.js} +2 -2
  326. package/dist/cdn/{FCNNRX3Q.js → ZCFWKPXL.js} +1 -1
  327. package/dist/cdn/{3XEPXV4Q.js → ZDMSSGIM.js} +2 -2
  328. package/dist/cdn/{KT7MEZHJ.js → ZF4DFDLT.js} +2 -2
  329. package/dist/cdn/{AENNGCAE.js → ZFO3PVZQ.js} +2 -2
  330. package/dist/cdn/{YWC5AUFV.js → ZGOAZB5L.js} +1 -1
  331. package/dist/cdn/{QJWFZYU4.js → ZHSESERJ.js} +2 -2
  332. package/dist/cdn/{EOTKZ4F3.js → ZIBQTNB6.js} +2 -2
  333. package/dist/cdn/{WQMZ7BDQ.js → ZKWI43WZ.js} +2 -2
  334. package/dist/cdn/{SREWXCMU.js → ZO7TUIUE.js} +2 -2
  335. package/dist/cdn/ZSPYPXBY.js +2 -0
  336. package/dist/cdn/index.js +2 -2
  337. package/dist/chunks/AnalysisViewModel.js +1 -1
  338. package/dist/chunks/GeolocationPositioning.js +1 -1
  339. package/dist/chunks/action-utils.js +8 -8
  340. package/dist/chunks/async-utils.js +1 -1
  341. package/dist/chunks/attachment-utils.js +1 -1
  342. package/dist/chunks/chart-utils.js +1 -1
  343. package/dist/chunks/chartCommon.js +1 -1
  344. package/dist/chunks/clipoardSymbolHelper.js +1 -1
  345. package/dist/chunks/component-utils.js +1 -1
  346. package/dist/chunks/component-wrapper.js +1 -1
  347. package/dist/chunks/constants.js +1 -1
  348. package/dist/chunks/constants2.js +1 -1
  349. package/dist/chunks/css.js +1 -1
  350. package/dist/chunks/dateUtils.js +1 -1
  351. package/dist/chunks/earth-utils.js +1 -1
  352. package/dist/chunks/esri-main.js +1 -1
  353. package/dist/chunks/feature-utils.js +1 -1
  354. package/dist/chunks/field.js +1 -1
  355. package/dist/chunks/formattingUtils.js +1 -1
  356. package/dist/chunks/globalCss.js +1 -1
  357. package/dist/chunks/goTo.js +1 -1
  358. package/dist/chunks/graphicsLayerController.js +1 -1
  359. package/dist/chunks/handle.js +1 -1
  360. package/dist/chunks/heading.js +1 -1
  361. package/dist/chunks/keyboard-utils.js +1 -1
  362. package/dist/chunks/layer-list-next.js +1 -1
  363. package/dist/chunks/layer-list-utils.js +1 -1
  364. package/dist/chunks/layer-utils.js +1 -1
  365. package/dist/chunks/layer-utils2.js +1 -1
  366. package/dist/chunks/legacyIcon.js +1 -1
  367. package/dist/chunks/maybe.js +1 -1
  368. package/dist/chunks/measurementUtils.js +1 -1
  369. package/dist/chunks/print-exports-panel-item-popover.js +1 -1
  370. package/dist/chunks/resources.js +1 -1
  371. package/dist/chunks/runtime.js +2 -2
  372. package/dist/chunks/screenLocation.js +1 -1
  373. package/dist/chunks/slots.js +1 -1
  374. package/dist/chunks/sr.js +1 -1
  375. package/dist/chunks/svgUtils.js +1 -1
  376. package/dist/chunks/time-utils.js +1 -1
  377. package/dist/chunks/titleUtils.js +1 -1
  378. package/dist/chunks/types.js +1 -1
  379. package/dist/chunks/univariateUtils.js +1 -1
  380. package/dist/chunks/urlUtils.js +1 -1
  381. package/dist/chunks/useArcgisViewReadyError.js +1 -1
  382. package/dist/chunks/useCloseEvent.js +1 -1
  383. package/dist/chunks/useLayerById.js +1 -1
  384. package/dist/chunks/useT9n.js +1 -1
  385. package/dist/chunks/useView.js +1 -1
  386. package/dist/chunks/useViewModel.js +1 -1
  387. package/dist/chunks/useWidget.js +1 -1
  388. package/dist/chunks/utils.js +1 -1
  389. package/dist/chunks/utils2.js +1 -1
  390. package/dist/chunks/utils3.js +1 -1
  391. package/dist/chunks/utils4.js +1 -1
  392. package/dist/chunks/utils5.js +1 -1
  393. package/dist/chunks/utils6.js +1 -1
  394. package/dist/chunks/video-utils.js +1 -1
  395. package/dist/chunks/visible-element.js +1 -1
  396. package/dist/chunks/zoom.js +1 -1
  397. package/dist/components/arcgis-add-attachment-view/customElement.js +1 -1
  398. package/dist/components/arcgis-aggregated-features/customElement.js +2 -2
  399. package/dist/components/arcgis-area-measurement-2d/customElement.js +1 -1
  400. package/dist/components/arcgis-area-measurement-3d/customElement.js +1 -1
  401. package/dist/components/arcgis-attachment-preview/customElement.js +1 -1
  402. package/dist/components/arcgis-attachment-thumbnail/customElement.js +1 -1
  403. package/dist/components/arcgis-attachment-validation-view/customElement.js +1 -1
  404. package/dist/components/arcgis-attachments/customElement.js +1 -1
  405. package/dist/components/arcgis-basemap-gallery/customElement.js +1 -1
  406. package/dist/components/arcgis-basemap-gallery-item/customElement.js +1 -1
  407. package/dist/components/arcgis-basemap-layer-list/customElement.js +1 -1
  408. package/dist/components/arcgis-basemap-layer-list-next/customElement.d.ts +13 -13
  409. package/dist/components/arcgis-basemap-layer-list-next/customElement.js +30 -30
  410. package/dist/components/arcgis-basemap-layer-list-next/types.d.ts +1 -1
  411. package/dist/components/arcgis-basemap-toggle/customElement.js +1 -1
  412. package/dist/components/arcgis-bookmarks/customElement.js +1 -1
  413. package/dist/components/arcgis-building-discipline-tree/customElement.js +1 -1
  414. package/dist/components/arcgis-building-explorer/customElement.js +1 -1
  415. package/dist/components/arcgis-building-level-item/customElement.js +1 -1
  416. package/dist/components/arcgis-building-level-picker/customElement.js +1 -1
  417. package/dist/components/arcgis-building-phase-picker/customElement.js +1 -1
  418. package/dist/components/arcgis-catalog-layer-list/customElement.js +1 -1
  419. package/dist/components/arcgis-catalog-layer-list-next/customElement.d.ts +7 -7
  420. package/dist/components/arcgis-catalog-layer-list-next/customElement.js +17 -17
  421. package/dist/components/arcgis-catalog-layer-list-next/types.d.ts +2 -2
  422. package/dist/components/arcgis-clipboard/customElement.js +1 -1
  423. package/dist/components/arcgis-color-select/customElement.js +1 -1
  424. package/dist/components/arcgis-compass/customElement.js +1 -1
  425. package/dist/components/arcgis-coordinate-conversion/customElement.js +1 -1
  426. package/dist/components/arcgis-coordinate-conversion-next/customElement.js +1 -1
  427. package/dist/components/arcgis-daylight/customElement.js +1 -1
  428. package/dist/components/arcgis-direct-line-measurement-3d/customElement.js +1 -1
  429. package/dist/components/arcgis-directional-pad/customElement.js +1 -1
  430. package/dist/components/arcgis-directions/customElement.js +1 -1
  431. package/dist/components/arcgis-distance-measurement-2d/customElement.js +1 -1
  432. package/dist/components/arcgis-editor/customElement.js +1 -1
  433. package/dist/components/arcgis-elevation-profile/customElement.js +1 -1
  434. package/dist/components/arcgis-elevation-profile-legend/customElement.js +1 -1
  435. package/dist/components/arcgis-elevation-profile-legend-item/customElement.js +1 -1
  436. package/dist/components/arcgis-elevation-profile-settings/customElement.js +1 -1
  437. package/dist/components/arcgis-elevation-profile-statistics/customElement.js +1 -1
  438. package/dist/components/arcgis-expand/customElement.js +1 -1
  439. package/dist/components/arcgis-exploratory-analysis/customElement.js +1 -1
  440. package/dist/components/arcgis-feature/customElement.js +1 -1
  441. package/dist/components/arcgis-feature-attachments/customElement.js +1 -1
  442. package/dist/components/arcgis-feature-content/customElement.js +1 -1
  443. package/dist/components/arcgis-feature-element-info/customElement.js +1 -1
  444. package/dist/components/arcgis-feature-expression/customElement.js +1 -1
  445. package/dist/components/arcgis-feature-fields/customElement.js +1 -1
  446. package/dist/components/arcgis-feature-form/customElement.js +1 -1
  447. package/dist/components/arcgis-feature-form-field/customElement.js +1 -1
  448. package/dist/components/arcgis-feature-form-field-number/customElement.js +1 -1
  449. package/dist/components/arcgis-feature-form-utility-network-association-list/customElement.js +1 -1
  450. package/dist/components/arcgis-feature-form-utility-network-association-settings/customElement.js +1 -1
  451. package/dist/components/arcgis-feature-image/customElement.js +1 -1
  452. package/dist/components/arcgis-feature-media/customElement.js +1 -1
  453. package/dist/components/arcgis-feature-next/customElement.js +2 -2
  454. package/dist/components/arcgis-feature-relationship/customElement.js +13 -13
  455. package/dist/components/arcgis-feature-table/customElement.js +1 -1
  456. package/dist/components/arcgis-feature-templates/customElement.js +1 -1
  457. package/dist/components/arcgis-feature-templates-legacy/customElement.js +1 -1
  458. package/dist/components/arcgis-feature-title/customElement.js +1 -1
  459. package/dist/components/arcgis-feature-utility-network-association-list/customElement.js +1 -1
  460. package/dist/components/arcgis-feature-utility-network-associations/customElement.js +2 -2
  461. package/dist/components/arcgis-features/customElement.js +1 -1
  462. package/dist/components/arcgis-features-next/customElement.d.ts +1 -1
  463. package/dist/components/arcgis-features-next/customElement.js +2 -2
  464. package/dist/components/arcgis-file-picker/customElement.js +1 -1
  465. package/dist/components/arcgis-filter-builder/customElement.js +1 -1
  466. package/dist/components/arcgis-floor-filter/customElement.js +1 -1
  467. package/dist/components/arcgis-fullscreen/customElement.js +1 -1
  468. package/dist/components/arcgis-grid-controls/customElement.js +1 -1
  469. package/dist/components/arcgis-histogram-range-slider/customElement.js +1 -1
  470. package/dist/components/arcgis-home/customElement.js +1 -1
  471. package/dist/components/arcgis-labeled-switch/customElement.js +1 -1
  472. package/dist/components/arcgis-layer-list/customElement.js +1 -1
  473. package/dist/components/arcgis-layer-list-item-indicator/customElement.js +1 -1
  474. package/dist/components/arcgis-layer-list-item-panel/customElement.js +1 -1
  475. package/dist/components/arcgis-layer-list-next/customElement.d.ts +9 -9
  476. package/dist/components/arcgis-layer-list-next/customElement.js +15 -15
  477. package/dist/components/arcgis-layer-list-next/layer-list-item/customElement.js +1 -1
  478. package/dist/components/arcgis-legend/customElement.js +1 -1
  479. package/dist/components/arcgis-legend-card-color-ramp/customElement.js +1 -1
  480. package/dist/components/arcgis-legend-card-element/customElement.js +1 -1
  481. package/dist/components/arcgis-legend-card-size-ramp/customElement.js +1 -1
  482. package/dist/components/arcgis-legend-card-univariate-above-and-below-ramp/customElement.js +1 -1
  483. package/dist/components/arcgis-legend-card-univariate-color-size-ramp/customElement.js +1 -1
  484. package/dist/components/arcgis-legend-card-view/customElement.js +1 -1
  485. package/dist/components/arcgis-legend-classic-color-ramp/customElement.js +1 -1
  486. package/dist/components/arcgis-legend-classic-element/customElement.js +1 -1
  487. package/dist/components/arcgis-legend-classic-size-ramp/customElement.js +1 -1
  488. package/dist/components/arcgis-legend-classic-univariate-above-and-below-ramp/customElement.js +1 -1
  489. package/dist/components/arcgis-legend-classic-univariate-color-size-ramp/customElement.js +1 -1
  490. package/dist/components/arcgis-legend-classic-view/customElement.js +1 -1
  491. package/dist/components/arcgis-legend-relationship-ramp/customElement.js +1 -1
  492. package/dist/components/arcgis-legend-spike-ramp/customElement.js +1 -1
  493. package/dist/components/arcgis-line-of-sight/customElement.js +1 -1
  494. package/dist/components/arcgis-link-chart/customElement.js +1 -1
  495. package/dist/components/arcgis-link-chart-layout-switcher/customElement.js +1 -1
  496. package/dist/components/arcgis-link-chart-nonspatial-visibility-toggle/customElement.js +1 -1
  497. package/dist/components/arcgis-locate/customElement.js +1 -1
  498. package/dist/components/arcgis-map/customElement.js +1 -1
  499. package/dist/components/arcgis-measurement-content/customElement.js +1 -1
  500. package/dist/components/arcgis-multi-feature-form/customElement.js +1 -1
  501. package/dist/components/arcgis-navigation-toggle/customElement.js +1 -1
  502. package/dist/components/arcgis-oriented-imagery-viewer/customElement.js +1 -1
  503. package/dist/components/arcgis-oriented-imagery-viewer-non-panoramic-viewer/customElement.js +1 -1
  504. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer/customElement.js +1 -1
  505. package/dist/components/arcgis-oriented-imagery-viewer-panoramic-viewer-zoom/customElement.js +1 -1
  506. package/dist/components/arcgis-oriented-imagery-viewer-video-controls/customElement.js +1 -1
  507. package/dist/components/arcgis-paste/customElement.js +1 -1
  508. package/dist/components/arcgis-popup/customElement.d.ts +1 -1
  509. package/dist/components/arcgis-popup/customElement.js +11 -11
  510. package/dist/components/arcgis-presentation/customElement.js +1 -1
  511. package/dist/components/arcgis-presentation-captions/customElement.js +1 -1
  512. package/dist/components/arcgis-presentation-slide-list/customElement.js +1 -1
  513. package/dist/components/arcgis-print/customElement.js +1 -1
  514. package/dist/components/arcgis-print-custom-text-elements/customElement.js +1 -1
  515. package/dist/components/arcgis-print-datum-transformation-input/customElement.js +1 -1
  516. package/dist/components/arcgis-print-dpi-input/customElement.js +1 -1
  517. package/dist/components/arcgis-print-export-button/customElement.js +1 -1
  518. package/dist/components/arcgis-print-exports-panel/customElement.js +1 -1
  519. package/dist/components/arcgis-print-exports-panel-item-popover/customElement.js +1 -1
  520. package/dist/components/arcgis-print-format-select/customElement.js +1 -1
  521. package/dist/components/arcgis-print-layout-advanced-options/customElement.js +1 -1
  522. package/dist/components/arcgis-print-layout-panel/customElement.js +1 -1
  523. package/dist/components/arcgis-print-main-panel/customElement.js +1 -1
  524. package/dist/components/arcgis-print-map-only-advanced-options/customElement.js +1 -1
  525. package/dist/components/arcgis-print-map-only-panel/customElement.js +1 -1
  526. package/dist/components/arcgis-print-out-spatial-reference-input/customElement.js +1 -1
  527. package/dist/components/arcgis-print-preview-input/customElement.js +1 -1
  528. package/dist/components/arcgis-print-scale-section/customElement.js +1 -1
  529. package/dist/components/arcgis-print-template-select/customElement.js +1 -1
  530. package/dist/components/arcgis-print-template-selector/customElement.js +1 -1
  531. package/dist/components/arcgis-reverse-geocode-list/customElement.js +1 -1
  532. package/dist/components/arcgis-scale-bar/customElement.js +1 -1
  533. package/dist/components/arcgis-scale-range-slider/customElement.js +1 -1
  534. package/dist/components/arcgis-scene/customElement.js +1 -1
  535. package/dist/components/arcgis-search/customElement.js +1 -1
  536. package/dist/components/arcgis-search-result-renderer/customElement.js +1 -1
  537. package/dist/components/arcgis-selection-list/customElement.d.ts +0 -1
  538. package/dist/components/arcgis-selection-list/customElement.js +1 -1
  539. package/dist/components/arcgis-selection-toolbar/customElement.js +1 -1
  540. package/dist/components/arcgis-shadow-cast/customElement.js +1 -1
  541. package/dist/components/arcgis-shadow-cast-discrete-config/customElement.js +1 -1
  542. package/dist/components/arcgis-shadow-cast-min-duration-config/customElement.js +1 -1
  543. package/dist/components/arcgis-shadow-cast-total-duration-config/customElement.js +1 -1
  544. package/dist/components/arcgis-sketch/customElement.js +1 -1
  545. package/dist/components/arcgis-sketch-tooltip-controls/customElement.js +1 -1
  546. package/dist/components/arcgis-slice/customElement.js +1 -1
  547. package/dist/components/arcgis-slider-binary-color-size-legacy/customElement.js +1 -1
  548. package/dist/components/arcgis-slider-classed-color-legacy/customElement.js +1 -1
  549. package/dist/components/arcgis-slider-classed-size-legacy/customElement.js +1 -1
  550. package/dist/components/arcgis-slider-color-legacy/customElement.js +1 -1
  551. package/dist/components/arcgis-slider-color-size-legacy/customElement.js +1 -1
  552. package/dist/components/arcgis-slider-heatmap-legacy/customElement.js +1 -1
  553. package/dist/components/arcgis-slider-opacity-legacy/customElement.js +1 -1
  554. package/dist/components/arcgis-slider-scale-range/customElement.js +1 -1
  555. package/dist/components/arcgis-slider-size-legacy/customElement.js +1 -1
  556. package/dist/components/arcgis-snapping-controls/customElement.js +1 -1
  557. package/dist/components/arcgis-spinner/customElement.js +1 -1
  558. package/dist/components/arcgis-swipe/customElement.js +1 -1
  559. package/dist/components/arcgis-table-list/customElement.js +1 -1
  560. package/dist/components/arcgis-table-list-next/customElement.d.ts +3 -3
  561. package/dist/components/arcgis-table-list-next/customElement.js +6 -6
  562. package/dist/components/arcgis-template-image/customElement.js +1 -1
  563. package/dist/components/arcgis-time-bar/customElement.js +1 -1
  564. package/dist/components/arcgis-time-bar-date/customElement.js +1 -1
  565. package/dist/components/arcgis-time-bar-extent/customElement.js +1 -1
  566. package/dist/components/arcgis-time-bar-settings/customElement.js +1 -1
  567. package/dist/components/arcgis-time-bar-slider/customElement.js +1 -1
  568. package/dist/components/arcgis-time-of-day-slider/customElement.js +1 -1
  569. package/dist/components/arcgis-time-slider/customElement.js +1 -1
  570. package/dist/components/arcgis-time-zone-chip/customElement.js +1 -1
  571. package/dist/components/arcgis-time-zone-label/customElement.js +1 -1
  572. package/dist/components/arcgis-time-zone-selector/customElement.js +1 -1
  573. package/dist/components/arcgis-track/customElement.js +1 -1
  574. package/dist/components/arcgis-unit-radio-button-group/customElement.js +1 -1
  575. package/dist/components/arcgis-unit-select/customElement.js +1 -1
  576. package/dist/components/arcgis-utility-network-association-list/customElement.js +1 -1
  577. package/dist/components/arcgis-utility-network-associations/customElement.js +1 -1
  578. package/dist/components/arcgis-utility-network-picker/customElement.js +1 -1
  579. package/dist/components/arcgis-utility-network-trace/customElement.js +1 -1
  580. package/dist/components/arcgis-utility-network-trace-aggregated-geometry-result-item/customElement.js +1 -1
  581. package/dist/components/arcgis-utility-network-trace-analysis/customElement.js +1 -1
  582. package/dist/components/arcgis-utility-network-trace-configuration-picker/customElement.js +1 -1
  583. package/dist/components/arcgis-utility-network-trace-elements-result-item/customElement.js +1 -1
  584. package/dist/components/arcgis-utility-network-trace-functions-result-item/customElement.js +1 -1
  585. package/dist/components/arcgis-utility-network-trace-inputs/customElement.js +1 -1
  586. package/dist/components/arcgis-utility-network-trace-locations/customElement.js +1 -1
  587. package/dist/components/arcgis-utility-network-trace-results/customElement.js +1 -1
  588. package/dist/components/arcgis-utility-network-trace-results-pane/customElement.js +1 -1
  589. package/dist/components/arcgis-utility-network-validate-network-topology/customElement.js +1 -1
  590. package/dist/components/arcgis-utility-network-validate-topology/customElement.js +1 -1
  591. package/dist/components/arcgis-value-picker-legacy/customElement.js +1 -1
  592. package/dist/components/arcgis-version-management/customElement.js +1 -1
  593. package/dist/components/arcgis-version-management-service-item/customElement.js +1 -1
  594. package/dist/components/arcgis-version-management-version-list/customElement.js +1 -1
  595. package/dist/components/arcgis-version-management-version-list-item/customElement.js +1 -1
  596. package/dist/components/arcgis-version-management-version-properties/customElement.js +1 -1
  597. package/dist/components/arcgis-video/customElement.js +1 -1
  598. package/dist/components/arcgis-video-player/customElement.js +1 -1
  599. package/dist/components/arcgis-video-player-action-bar/customElement.js +1 -1
  600. package/dist/components/arcgis-video-player-actions-group/customElement.js +1 -1
  601. package/dist/components/arcgis-video-player-controls-group/customElement.js +1 -1
  602. package/dist/components/arcgis-video-player-metadata/customElement.js +1 -1
  603. package/dist/components/arcgis-video-player-settings/customElement.js +1 -1
  604. package/dist/components/arcgis-video-player-slider/customElement.js +1 -1
  605. package/dist/components/arcgis-view-popover/customElement.js +1 -1
  606. package/dist/components/arcgis-volume-measurement/customElement.js +1 -1
  607. package/dist/components/arcgis-weather/customElement.js +1 -1
  608. package/dist/components/arcgis-webgl-error/customElement.js +1 -1
  609. package/dist/components/arcgis-zoom/customElement.js +1 -1
  610. package/dist/components/feature-form-next/customElement.js +1 -1
  611. package/dist/docs/api.json +1 -1
  612. package/dist/docs/docs.json +1 -1
  613. package/dist/docs/vscode.html-custom-data.json +1 -1
  614. package/dist/docs/web-types.json +1 -1
  615. package/dist/index.js +1 -1
  616. package/dist/loader.js +1 -1
  617. package/dist/utils/layer-list-utils.d.ts +2 -2
  618. package/package.json +6 -6
  619. package/dist/cdn/AKDB2XVJ.js +0 -2
  620. package/dist/cdn/AN3BGKZP.js +0 -2
  621. package/dist/cdn/DBA7NSTP.js +0 -2
  622. package/dist/cdn/EZCNI254.js +0 -2
  623. package/dist/cdn/F4O7DFPZ.js +0 -2
  624. package/dist/cdn/KY3ND2AY.js +0 -2
  625. package/dist/cdn/QUZTFUWM.js +0 -1
  626. package/dist/cdn/WEAGLY7B.js +0 -2
  627. package/dist/cdn/WYNLO2MH.js +0 -2
  628. package/dist/cdn/XIYYT5SJ.js +0 -2
  629. package/dist/cdn/XKHGN6LQ.js +0 -2
  630. package/dist/cdn/YDB2XJRU.js +0 -2
  631. package/dist/cdn/YY45XUPP.js +0 -2
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import l from"./KXGVE4NK.js";import{a as k}from"./KBHLE7HT.js";import j from"./IFMBHZHX.js";import i from"./TMJX7DFH.js";import g from"./DSDPDMLP.js";import{a as T}from"./VJVKFKSG.js";import{b as V,c as Z,d as U}from"./7N4V2IN6.js";import e from"./CQQM24VF.js";import{a as P}from"./WEAGLY7B.js";import d from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{f as N,h as B}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{a as E,e as M}from"./WQMZ7BDQ.js";import{N as f,O as m,P as L,R as b,U as h,V as O,X as H,a as S,b as n,n as x,x as $}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([X,W,J,{initializeProjection:Q},{renderingSanitizer:C},{stripHTML:A},{substitute:c,formatNumber:I},{when:Y,watch:u},{getGraphicOriginTitle:ee},,,,z,,,{e:D},{d:j}])=>{var te=S`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.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)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;function ie(_){return _?.declaredClass.startsWith("esri.layers.")??!1}function se(_){if(!(!_||!("featureReduction"in _)))return _.featureReduction?.type}var ae=z(J),ne=25,oe=5,R=class extends L{constructor(){super(...arguments),this._zoomToFeature=new X({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),this._fetchFeaturesController=null,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._setFocusAnimationFrameId=null,this._setFocusAnimationFrameResolve=null,this._rootFlowItemNode=f(),this._featureMenuViewportNode=f(),this._actionBarMenuNode=f(),this._flowContainerNode=f(),this._aggregatedFeaturesComponent=f(),this.messages=P(),this._selectedFeatureComponent=f(),this._actionFlowItems=new WeakSet,this._direction=N(),this._cancelOpenRelatedFeature=()=>{this._openRelatedFeatureAbortController=T(this._openRelatedFeatureAbortController)},this._spinnerVisible=!1,this._spinnerVisibilityTimeout=null,this._openRelatedFeatureAbortController=null,this.flowItems=new W,this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._hasActionsStartSlotContent=!1,this._hasActionsEndSlotContent=!1,this.viewModel=ae(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.focusTrapEnabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.diagnostics=this.viewModel.diagnostics,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.effectiveHeading=this.viewModel.effectiveHeading,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=!1,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureItemAbilities=this.viewModel.featureItemAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new W,this.heading=this.viewModel.heading,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSelectFeature=!1,this.hideSpinner=!1,this.hideContent=!1,this.chartAnimationDisabled=this.viewModel.featureItemAbilities?.chartAnimation,this.hideAttachmentsContent=this.viewModel.featureItemAbilities?.attachmentsContent,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=this.viewModel.featureItemAbilities?.customContent,this.hideExpressionContent=!1,this.hideFieldsContent=this.viewModel.featureItemAbilities?.fieldsContent,this.hideMediaContent=this.viewModel.featureItemAbilities?.mediaContent,this.hideRelationshipContent=this.viewModel.featureItemAbilities?.relationshipContent,this.hideTextContent=this.viewModel.featureItemAbilities?.textContent,this.hideUtilityNetworkContent=this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent,this.hideLastEditedInfo=!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.open=this.viewModel.open,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.arcgisClose=$(),this.arcgisPropertyChange=B()("active","collapsed","effectiveHeading","featureCount","featureMenuOpen","features","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","open"),this.arcgisReady=$(),this.arcgisTriggerAction=$()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_aggregatedFeatureCount:16,_selectedAggregatedFeatureIndex:16,_aggregatedFeaturesLoading:16,_hasActionsStartSlotContent:16,_hasActionsEndSlotContent:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,_selectedFeatureHeading:16,_selectedFeatureHeadingText:16,_selectedFeatureContent:16,_featureFlowItemSelected:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,focusTrapEnabled:5,collapseDirection:1,collapsed:5,content:1,diagnostics:0,defaultPopupTemplateEnabled:5,effectiveHeading:32,featureCount:9,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureItemAbilities:0,goToOverride:0,headerActions:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSelectFeature:5,hideSpinner:5,hideContent:5,chartAnimationDisabled:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,hideRelationshipContent:5,hideTextContent:5,hideUtilityNetworkContent:5,hideLastEditedInfo:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,open:5,referenceElement:1,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:32,timeZone:1,updateLocationEnabled:5,view:0}}static{this.styles=te}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._selectedFeatureHeading)&&!!(this.content||this._selectedFeatureContent))}get _selectedFeatureHeading(){return this.viewModel.selectedFeatureItem?.heading}get _selectedFeatureHeadingText(){return this._selectedFeatureHeading??this.messages.untitled}get _selectedFeatureContent(){return this.viewModel.selectedFeatureItem?.content}get _featureFlowItemSelected(){return this.initialDisplayMode==="list"?!!this.selectedFeature:!this.featureMenuOpen}clear(){this.viewModel.clear()}close(){this.open=!1}async destroy(){await this.manager.destroy(),this._clearSpinnerVisibilityTimeout(),this._removeSpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._cancelSetFocusAnimationFrame(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._cancelFetchingFeatures(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){this._cancelFetchingFeatures();let{signal:i}=t??{},s=new AbortController,{signal:a}=s,o=i?AbortSignal.any([a,i]):a;this._fetchFeaturesController=s,!e&&this.view&&this.location&&(await Q(this.location.spatialReference,this.view.spatialReference,null,{signal:o}),e=this.view.toScreen(this.location)??void 0),e&&await this.viewModel.fetchFeatures(e,{...t,signal:o})}next(){this.viewModel.next()}previous(){this.viewModel.previous()}async setFocus(){this._cancelSetFocusAnimationFrame(),await new Promise(e=>{this._setFocusAnimationFrameResolve=e,this._setFocusAnimationFrameId=requestAnimationFrame(()=>{this._setFocusAnimationFrameId=null;try{if(!this.isConnected||!this.viewModel?.active)return;this._flowContainerNode.value?.setFocus()}finally{this._resolveSetFocusAnimationFrame()}})})}connectedCallback(){super.connectedCallback(),this._createSpinner()}updated(){let e=this._selectedFeatureComponent.value??void 0;this.selectedFeatureComponent!==e&&x(()=>this.selectedFeatureComponent=e)}loaded(){this.manager.onLifecycle(()=>[Y(()=>[this.initialDisplayMode==="list"&&!!this.viewModel?.selectedFeature,this.viewModel?.active],()=>{this.setFocus()}),u(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),u(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),u(()=>this.viewModel?.view?.scale,()=>this._viewScaleChange()),u(()=>this.viewModel?.view,(e,t)=>t&&this._viewChange()),u(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),u(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),u(()=>this.viewModel?.featureItems,()=>this._featureMenuViewportScrollTop()),u(()=>this.flowItems.toArray(),()=>this._handleFlowItemsChange(),{initial:!0}),u(()=>this.viewModel.aggregatedFeaturesEnabled,e=>{e||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._removeFlowItems())}),u(()=>this.referenceElement,(e,t)=>{this._removeSpinner(t),this._createSpinner()},{initial:!0}),u(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.pendingLocation,this.viewModel?.waitingForResult,this.viewModel?.open],()=>this._createSpinner(),{initial:!0})])}disconnectedCallback(){super.disconnectedCallback(),this._clearSpinnerVisibilityTimeout(),this._cancelSetFocusAnimationFrame(),this._removeSpinner(this.referenceElement)}_resolveSetFocusAnimationFrame(){let e=this._setFocusAnimationFrameResolve;this._setFocusAnimationFrameResolve=null,e?.()}_cancelSetFocusAnimationFrame(){this._setFocusAnimationFrameId!=null&&(cancelAnimationFrame(this._setFocusAnimationFrameId),this._setFocusAnimationFrameId=null),this._resolveSetFocusAnimationFrame()}_cancelFetchingFeatures(){this._fetchFeaturesController=T(this._fetchFeaturesController)}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureItems:e}=this.viewModel,t=new Map;return e.forEach(i=>{let s=i?.graphic;if(!s)return;let a=D(s),o=ie(a)?a:null,r=t.get(o);r||(r=[],t.set(o,r)),r.push(i)}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;if(this._openRelatedFeatureAbortController=t,await e.updateGeometry(),t.signal.aborted)return;let i=e.graphic,s=i?.geometry;if(s==null||i==null){this._openRelatedFeatureAbortController=null;return}if(this._removeFlowItems(),await this.viewModel.zoomTo({target:s}),t.signal.aborted)return;let{labelPointExecute:a}=await $arcgis.t(m=>m[0],"geometry/operators/labelPointOperator");if(t.signal.aborted)return;let o=a(s);o!=null&&(this.location=o),this.features=[i],this.open=!0,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._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?this.selectedFeatureIndex=-1: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()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionLabel(e,t){let{messages:i}=this;return e.id==="zoom-to-feature"?c(i.zoomLabel??"",{messages:i,title:t?A(t.heading??i.untitled??""):this._selectedFeatureHeadingText}):null}_getActionTitle(e,t){let{messages:i}=this,s=t?t.graphic:this.selectedFeature,{id:a}=e,o=s?.attributes,r=e.title??"",l=a==="zoom-to-feature"?c(r,{messages:i}):a==="remove-selected-feature"?c(r,{messages:i}):a==="zoom-to-aggregated-features"?c(r,{messages:i}):a==="browse-aggregated-features"?c(r,{messages:i}):e.title;return l&&o?c(l,o):l??""}_onMainKeydown(e){let{key:t}=e;e.defaultPrevented||V(e)||(U(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.previous()),Z(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.next()))}_featureMenuViewportScrollTop(){this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:s}=this.viewModel;s||!i||e===t||e===-1||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e,t=this.flowItems.getItemAt(this.flowItems.length-1)){if(e.disabled)return;e?.type==="toggle"&&(e.value=!e.value);let i=t&&"allActions"in t?t.viewModel:void 0;j(e,this.viewModel,i),this.arcgisTriggerAction.emit({action:e})}_viewScaleChange(){let{selectedFeature:e}=this,t=D(e);!e?.isAggregate||se(t)!=="cluster"||(this.viewModel.aggregatedFeaturesEnabled=!1,this.open=!1,this.clear())}_viewChange(){this.viewModel.clear(),this.open=!1,this._aggregatedFeatureCount=0,this._removeFlowItems()}_handleAggregatedFeaturesPropertyChange({detail:e,target:t}){e.name==="aggregatedFeatureCount"&&(this._aggregatedFeatureCount=t.aggregatedFeatureCount),e.name==="selectedAggregatedFeatureIndex"&&(this._selectedAggregatedFeatureIndex=t.selectedAggregatedFeatureIndex,this._syncSelectedDrillInFeature()),e.name==="loading"&&(this._aggregatedFeaturesLoading=t.loading)}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_handleFlowItemsChange(){this._syncSelectedDrillInFeature(),this.flowItems.forEach(e=>{!("allActions"in e)||this._actionFlowItems.has(e)||(this._actionFlowItems.add(e),e.componentOnReady().then(()=>{this.isConnected&&this.flowItems.includes(e)&&this.requestUpdate()}))})}_syncSelectedDrillInFeature(){let e=this.flowItems.getItemAt(this.flowItems.length-1);x(()=>this.selectedDrillInFeature=e?.graphic??void 0)}_removeFlowItems(){this.viewModel.aggregatedFeaturesEnabled=!1,this.flowItems?.destroyAll()}_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()?.destroy()}_getHeading(){let{effectiveHeading:e}=this.viewModel;return!this.hideHeading&&e?e:""}_handleActionsStartSlotChange(e){this._hasActionsStartSlotContent=E(e)}_handleActionsEndSlotChange(e){this._hasActionsEndSlotContent=E(e)}_removeSpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl),this._spinnerEl=void 0}_clearSpinnerVisibilityTimeout(){this._spinnerVisibilityTimeout!=null&&(clearTimeout(this._spinnerVisibilityTimeout),this._spinnerVisibilityTimeout=null)}_getSpinnerTrackLocation(){return!this.hideSpinner&&this.viewModel.open&&this.viewModel?.waitingForResult?this._spinnerVisible?!0:(this._spinnerVisibilityTimeout??=setTimeout(()=>{this._spinnerVisibilityTimeout=null,this._spinnerVisible=!0,this._createSpinner()},ne),!1):(this._clearSpinnerVisibilityTimeout(),this._spinnerVisible=!1,!1)}_createSpinner(){let e=this.referenceElement;e&&(this._removeSpinner(e),this._spinnerEl=O(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.pendingLocation??this.viewModel?.location??void 0} .referenceElement=${e} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}#e(e){let t=e&&"allActions"in e?e:void 0,{selectedFeatureItem:i}=this.viewModel;if(t&&!t.allActions)return[];let s=t?t.isFeatureFromTable:i?.isFeatureFromTable;return(t?.allActions??i?.allActions??(!e&&this.viewModel.includeDefaultActions?this.viewModel.defaultActions.concat(this.viewModel.actions):this.viewModel.actions)).toArray().filter(a=>!(e&&a.id==="browse-aggregated-features")&&!(s&&!this.location&&a.id===this._zoomToFeature.id))}render(){return n`<div class="root">${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(()=>this._previousFeature(),()=>this._nextFeature()),this.initialDisplayMode==="list"?this._renderFeaturePaginationText(this.viewModel.featureCount,this.viewModel.selectedFeatureIndex):this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(e,t){let{messages:i}=this;return n`<div class="pagination-text">${c(i.pageText??"",{index:I(t+1),total:I(e)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,streamingFeatures:s,selectedFeatureIndex:a}=t;return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures??""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${c(e.pageText??"",{index:I(a+1),total:I(i)})} text-enabled title=${e.showAllFeatures??""??h}></calcite-action>`}_renderPagination(e,t){let{previous:i,next:s}=this.messages;return n`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${i??""} @click=${e} .text=${i??""} title=${i??""??h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${s??""} @click=${t} .text=${s??""} title=${s??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e,t){let{initialDisplayMode:i}=this,{selectedFeatureItem:s}=this.viewModel,a=e===s;return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(t)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(t)} .selected=${a} @calciteListItemSelect=${()=>this._selectFeature(t)}><span .innerHTML=${(C.sanitize(e.heading)||this.messages.untitled)??""} slot=content></span>${i==="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(),s=new Map;t.featureItems.forEach((o,r)=>s.set(o,r));let a=this.initialDisplayMode==="list"?"none":"single";return t.featureItems.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),o=>{let r=i.get(o)?.map(d=>{let g=s.get(d);return g==null?null:this._renderFeatureMenuItem(d,g)}),l=o?o.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&l!==null?k(o??"map-graphics",n`<calcite-list-item-group .heading=${l}>${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} .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(e){let{headingLevel:t,hideCloseButton:i,_isCollapsed:s,_collapseEnabled:a,featureNavigationTop:o,initialDisplayMode:r,selectedFeature:l,hideHeading:d}=this,{active:g,selectedFeatureItem:v,content:F}=this.viewModel,p=this._getHeading();if(r==="list"&&!l)return null;let w=v?!v.content:!F;return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${b(M({"content-feature":!0,"flow-item-collapsed":s}))} .closable=${!i} .closed=${!g} .collapsed=${s} .collapseDirection=${this.collapseDirection??(o?"down":"up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand}} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d&&p?A(p):void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d&&p?n`<div slot=heading><div .innerHTML=${C.sanitize(p??"")??""}></div></div>`:null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${b(M("container","content-container",{"content-hidden":w}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderDiagnosticsRefineResults(){let{messages:e}=this,{view:t}=this.viewModel;return t!=null&&"effectiveMaxZoom"in t.constraints&&t.constraints.effectiveMaxZoom>=0&&t.zoom>=t.constraints.effectiveMaxZoom?e.maxRecordCountDescriptionRefineResultsMaxZoomLevel:e.maxRecordCountDescriptionRefineResults}_renderDiagnosticsList(e){let{messages:t}=this,i=Array.from(e,s=>ee(s)??t.untitled);return i.length?n`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map(s=>n`<li>${s}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>`:null}_renderDiagnosticsMultipleLayers(){let{messages:e}=this;return n`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`}_renderDiagnostics(){let{messages:e}=this,{diagnostics:t}=this.viewModel,i=t?.layerLimitExceeded;return i?.size?n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size<=oe?this._renderDiagnosticsList(i):this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>`:null}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:s,initialDisplayMode:a,featureMenuOpen:o,_featureFlowItemSelected:r,_collapseEnabled:l,_isCollapsed:d,featureNavigationTop:g,headingLevel:v}=this,{active:F,featureItems:p,streamingFeatures:w}=e,q=i??s.selectFeature,y=c(s.backLabel??"",{title:this._selectedFeatureHeadingText});if(a==="feature"&&!o)return null;let G=!r;return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${b(M({"flow-item-collapsed":d}))} .closable=${!t} .closed=${!F} .collapsed=${a==="list"&&d} .collapseDirection=${this.collapseDirection??(g?"down":"up")} .collapsible=${a==="list"&&l} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand,back:y}} .description=${this.hideFeatureMenuHeading?void 0:c(s.total??"",{total:p.length})} .heading=${this.hideFeatureMenuHeading?void 0:q} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${G} @calciteFlowItemBack=${K=>{K.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${a==="list"?this._renderHeaderActions():null}${w?n`<calcite-loader class="loader" inline .label=${s.loading??""} slot=header-actions-end></calcite-loader>`:null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${m(this._featureMenuIntersectionObserverCreated)}></div>${a==="feature"?n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${y} title=${y??h}>${s.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{hideCloseButton:i,active:s,hideHeading:a,hideSelectFeature:o,messages:r}=this,l=r.returnToInitialFeature??"",d=r?.selectFeature,g="showAllEnabled"in e?e.showAllEnabled:!1,v=e.flowType==="feature"||e.flowType==="feature-association"||e.flowType==="feature-relationship"&&!g,F=e.flowType!=="feature"&&v&&"isFeatureFromTable"in e&&!e.isFeatureFromTable&&!o,p=e.flowType==="feature"&&this.viewModel.aggregatedFeaturesEnabled?n`<div class="footer" slot=footer>${this._renderPagination(()=>{this._aggregatedFeaturesComponent.value?.previous()},()=>{this._aggregatedFeaturesComponent.value?.next()})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount,this._selectedAggregatedFeatureIndex)}</div>`:null;return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${A(this._getDrillInFlowItemDescription(e)??"")} .heading=${a?void 0:A(e.heading??"")} .selected=${t} @calciteFlowItemBack=${w=>{w.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a?null:n`<div slot=heading><div .innerHTML=${C.sanitize(e.heading??"")??""}></div></div>`}<div slot=description><div .innerHTML=${C.sanitize(this._getDrillInFlowItemDescription(e)??"")??""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l??""} title=${l??""??h}></calcite-action>${F?n`<calcite-action icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${d??""} title=${d??h}></calcite-action>`:null}${v&&this._renderActionBar(e)||""}<div class="container">${e}</div>${p}</calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e.length>0,i=this.viewModel.aggregatedFeaturesEnabled&&this.viewModel.selectedFeature?.isAggregate&&!t,s=i&&e.length===0,a=e.length===0&&this._featureFlowItemSelected&&!i,o=e?.map((d,g)=>this._renderFlowItem(d,this._featureFlowItemSelected&&g===e.length-1)),r=this._renderBrowseAggregateContainer(!!s),l=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(a)]:[this._renderContentFeature(a),this._renderFeatureMenuContainer()];return n`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`}_renderBrowseAggregateContainer(e){let{hideCloseButton:t,active:i,messages:s}=this,{selectedFeature:a}=this.viewModel,o=this.viewModel.aggregatedFeaturesEnabled&&a?.isAggregate,r=c(s.backLabel??"",{title:this._selectedFeatureHeadingText});return o?n`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount?c(s.total??"",{total:this._aggregatedFeatureCount}):""} .heading=${s.aggregatedFeatures} @calciteFlowItemBack=${l=>{l.preventDefault(),this.viewModel.aggregatedFeaturesEnabled=!1}} .messageOverrides=${{back:r}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${a??void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map??void 0} .messageOverrides=${this.messageOverrides} .messages=${s} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.view??void 0} ${m(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${()=>this.viewModel.aggregatedFeaturesEnabled=!1} slot=footer-start scale=s width=full .label=${r} title=${r??h}>${s.back}</calcite-button></calcite-flow-item>`:null}_renderActionBar(e){let t=this.#e(e),i=!!t.length||this._hasActionsStartSlotContent||this._hasActionsEndSlotContent,s=this._isCollapsed||this.hideActionBar||!i;return n`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s?void 0:"action-bar")??h} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t,e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`}_renderActions(e,t){return e.map(i=>{let s=this._getActionTitle(i,t),a=this._getActionLabel(i,t);return n`<calcite-action .active=${i.type==="toggle"?i.value:!1} .disabled=${i.disabled} .icon=${i.icon??void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${s??""} .label=${a??s} title=${a??s??h} .hidden=${!i.visible} @click=${()=>this._triggerAction(i,t)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureItem:t,includeDefaultActions:i,actions:s}=this.viewModel;return t?n`<arcgis-feature-next .actions=${s} .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>`:typeof e=="string"?k(e,n`<div .innerHTML=${C.sanitize(e)??""}></div>`):e??null}};H("arcgis-features-next",R);return R},"support/actions/ActionButton","core/Collection","popup/FeatureContentCollection","applications/Components/featureUtils","applications/Components/sanitizerUtils","applications/Components/stringUtils","intl","core/reactiveUtils","graphic/getGraphicOriginTitle",a,c,d,e,g,i,j,l)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import l from"./Z2UUXST4.js";import{a as k}from"./PIDNZKSJ.js";import j from"./WBBTZNZU.js";import i from"./HU57LQOA.js";import g from"./RUYAWRPV.js";import{a as T}from"./WJQUE4DR.js";import{b as V,c as Z,d as U}from"./366GLQ5R.js";import e from"./BQBWXR6P.js";import{a as P}from"./ZSPYPXBY.js";import d from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{f as N,h as B}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{a as E,e as M}from"./ZKWI43WZ.js";import{N as f,O as m,P as L,R as b,U as h,V as O,X as H,a as S,b as n,n as x,x as $}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([X,W,J,{initializeProjection:Q},{renderingSanitizer:C},{stripHTML:A},{substitute:c,formatNumber:I},{when:Y,watch:u},{getGraphicOriginTitle:ee},,,,z,,,{e:D},{d:j}])=>{var te=S`:host{display:flex;overflow:hidden;flex:1 1 auto}.root{--calcite-color-background: var(--calcite-color-foreground-1);display:flex;overflow:hidden;flex:1 1 auto;flex-direction:column}.root img{image-orientation:from-image}.flow-item-collapsed{--calcite-flow-item-header-border-block-end: none}.container{display:flex;flex:1 1 auto;background-color:var(--calcite-color-foreground-1)}.container calcite-list{width:100%}.container:not(:empty,.content-hidden){padding:var(--arcgis-internal-padding-md, var(--calcite-spacing-md))}.root .arcgis-feature,.root .arcgis-feature-relationship,.root .arcgis-feature-utility-network-associations{background-color:transparent}.heading{word-break:break-word;word-wrap:break-word}.header,.footer{display:flex;align-items:center;justify-content:flex-end;background-color:var(--calcite-color-foreground-1)}.footer{flex:1}.pagination-text{padding-inline:var(--calcite-spacing-sm);color:var(--calcite-color-text-3);font-size:var(--calcite-font-size-sm)}.loader{align-self:center;padding-inline:var(--calcite-spacing-lg)}.pagination-action-bar{flex:1}.pagination-menu-button{padding-inline:var(--calcite-spacing-xxs);border-inline-start:var(--calcite-border-width-sm) solid var(--calcite-color-border-3)}.icon{display:inline-block;flex:0 0 var(--calcite-spacing-lg);width:var(--calcite-spacing-lg);height:var(--calcite-spacing-lg)}.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)}.content-feature{--calcite-flow-item-footer-padding: 0;--calcite-flow-header-top-space: 0}.feature-menu-observer{position:relative;bottom:var(--calcite-spacing-xxl);z-index:2;text-align:center}.action-exit{transform:scaleX(-1)}.flow-item-drill-in{--calcite-flow-item-footer-padding: 0}.diagnostics-notice{padding:var(--calcite-space-md)}`;function ie(_){return _?.declaredClass.startsWith("esri.layers.")??!1}function se(_){if(!(!_||!("featureReduction"in _)))return _.featureReduction?.type}var ae=z(J),ne=25,oe=5,R=class extends L{constructor(){super(...arguments),this._zoomToFeature=new X({icon:"magnifying-glass-plus",id:"zoom-to-feature",title:"{messages.zoom}"}),this._fetchFeaturesController=null,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._setFocusAnimationFrameId=null,this._setFocusAnimationFrameResolve=null,this._rootFlowItemNode=f(),this._featureMenuViewportNode=f(),this._actionBarMenuNode=f(),this._flowContainerNode=f(),this._aggregatedFeaturesComponent=f(),this.messages=P(),this._selectedFeatureComponent=f(),this._actionFlowItems=new WeakSet,this._direction=N(),this._cancelOpenRelatedFeature=()=>{this._openRelatedFeatureAbortController=T(this._openRelatedFeatureAbortController)},this._spinnerVisible=!1,this._spinnerVisibilityTimeout=null,this._openRelatedFeatureAbortController=null,this.flowItems=new W,this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._hasActionsStartSlotContent=!1,this._hasActionsEndSlotContent=!1,this.viewModel=ae(this),this.actions=this.viewModel.actions,this.active=this.viewModel.active,this.autoDestroyDisabled=!1,this.focusTrapEnabled=!1,this.collapsed=!1,this.content=this.viewModel.content,this.diagnostics=this.viewModel.diagnostics,this.defaultPopupTemplateEnabled=this.viewModel.defaultPopupTemplateEnabled,this.effectiveHeading=this.viewModel.effectiveHeading,this.featureCount=this.viewModel.featureCount,this.featureMenuOpen=!1,this.featureNavigationTop=!1,this.features=this.viewModel.features,this.featuresPerPage=this.viewModel.featuresPerPage,this.featureItemAbilities=this.viewModel.featureItemAbilities,this.goToOverride=this.viewModel.goToOverride,this.headerActions=new W,this.heading=this.viewModel.heading,this.headingLevel=2,this.hideActionBar=!1,this.hideCloseButton=!1,this.hideFeatureMenuHeading=!1,this.hideFeatureNavigation=!1,this.hideFeatureListLayerTitle=!1,this.hideHeading=!1,this.hideSelectFeature=!1,this.hideSpinner=!1,this.hideContent=!1,this.chartAnimationDisabled=this.viewModel.featureItemAbilities?.chartAnimation,this.hideAttachmentsContent=this.viewModel.featureItemAbilities?.attachmentsContent,this.hideEmptyRelationshipContent=!1,this.hideCustomContent=this.viewModel.featureItemAbilities?.customContent,this.hideExpressionContent=!1,this.hideFieldsContent=this.viewModel.featureItemAbilities?.fieldsContent,this.hideMediaContent=this.viewModel.featureItemAbilities?.mediaContent,this.hideRelationshipContent=this.viewModel.featureItemAbilities?.relationshipContent,this.hideTextContent=this.viewModel.featureItemAbilities?.textContent,this.hideUtilityNetworkContent=this.viewModel.featureItemAbilities?.utilityNetworkAssociationsContent,this.hideLastEditedInfo=!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.open=this.viewModel.open,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.arcgisClose=$(),this.arcgisPropertyChange=B()("active","collapsed","effectiveHeading","featureCount","featureMenuOpen","features","selectedDrillInFeature","selectedFeature","selectedFeatureComponent","selectedFeatureIndex","state","open"),this.arcgisReady=$(),this.arcgisTriggerAction=$()}static{this.properties={_openRelatedFeatureAbortController:16,flowItems:16,_aggregatedFeatureCount:16,_selectedAggregatedFeatureIndex:16,_aggregatedFeaturesLoading:16,_hasActionsStartSlotContent:16,_hasActionsEndSlotContent:16,_hideActionText:16,_featureNavigationVisible:16,_isCollapsed:16,_collapseEnabled:16,_selectedFeatureHeading:16,_selectedFeatureHeadingText:16,_selectedFeatureContent:16,_featureFlowItemSelected:16,viewModel:0,actions:0,active:0,autoDestroyDisabled:5,focusTrapEnabled:5,collapseDirection:1,collapsed:5,content:1,diagnostics:0,defaultPopupTemplateEnabled:5,effectiveHeading:32,featureCount:9,featureMenuOpen:5,featureMenuTitle:1,featureNavigationTop:5,features:0,featuresPerPage:9,featureItemAbilities:0,goToOverride:0,headerActions:0,heading:1,headingLevel:9,hideActionBar:5,hideCloseButton:5,hideFeatureMenuHeading:5,hideFeatureNavigation:5,hideFeatureListLayerTitle:5,hideHeading:5,hideSelectFeature:5,hideSpinner:5,hideContent:5,chartAnimationDisabled:5,hideAttachmentsContent:5,hideEmptyRelationshipContent:5,hideCustomContent:5,hideExpressionContent:5,hideFieldsContent:5,hideMediaContent:5,hideRelationshipContent:5,hideTextContent:5,hideUtilityNetworkContent:5,hideLastEditedInfo:5,highlightDisabled:5,icon:1,includeDefaultActionsDisabled:5,initialDisplayMode:1,label:1,location:0,map:0,messageOverrides:0,open:5,referenceElement:1,responsiveActionsEnabled:5,selectedDrillInFeature:32,selectedFeature:0,selectedFeatureComponent:32,selectedFeatureIndex:9,showCollapseButton:5,spatialReference:0,state:32,timeZone:1,updateLocationEnabled:5,view:0}}static{this.styles=te}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._selectedFeatureHeading)&&!!(this.content||this._selectedFeatureContent))}get _selectedFeatureHeading(){return this.viewModel.selectedFeatureItem?.heading}get _selectedFeatureHeadingText(){return this._selectedFeatureHeading??this.messages.untitled}get _selectedFeatureContent(){return this.viewModel.selectedFeatureItem?.content}get _featureFlowItemSelected(){return this.initialDisplayMode==="list"?!!this.selectedFeature:!this.featureMenuOpen}clear(){this.viewModel.clear()}close(){this.open=!1}async destroy(){await this.manager.destroy(),this._clearSpinnerVisibilityTimeout(),this._removeSpinner(this.referenceElement),this._cancelOpenRelatedFeature(),this._cancelSetFocusAnimationFrame(),this._removeFlowItems(),this._unobserveFeatureMenuObserver(),this._cancelFetchingFeatures(),this._featureMenuIntersectionObserver?.disconnect()}async fetchFeatures(e,t){this._cancelFetchingFeatures();let{signal:i}=t??{},s=new AbortController,{signal:a}=s,o=i?AbortSignal.any([a,i]):a;this._fetchFeaturesController=s,!e&&this.view&&this.location&&(await Q(this.location.spatialReference,this.view.spatialReference,null,{signal:o}),e=this.view.toScreen(this.location)??void 0),e&&await this.viewModel.fetchFeatures(e,{...t,signal:o})}next(){this.viewModel.next()}previous(){this.viewModel.previous()}async setFocus(){this._cancelSetFocusAnimationFrame(),await new Promise(e=>{this._setFocusAnimationFrameResolve=e,this._setFocusAnimationFrameId=requestAnimationFrame(()=>{this._setFocusAnimationFrameId=null;try{if(!this.isConnected||!this.viewModel?.active)return;this._flowContainerNode.value?.setFocus()}finally{this._resolveSetFocusAnimationFrame()}})})}connectedCallback(){super.connectedCallback(),this._createSpinner()}updated(){let e=this._selectedFeatureComponent.value??void 0;this.selectedFeatureComponent!==e&&x(()=>this.selectedFeatureComponent=e)}loaded(){this.manager.onLifecycle(()=>[Y(()=>[this.initialDisplayMode==="list"&&!!this.viewModel?.selectedFeature,this.viewModel?.active],()=>{this.setFocus()}),u(()=>[this.flowItems?.length,this.featureMenuOpen],()=>{this.setFocus()}),u(()=>this.viewModel?.selectedFeatureIndex,(e,t)=>this._selectedFeatureIndexUpdated(e,t)),u(()=>this.viewModel?.view?.scale,()=>this._viewScaleChange()),u(()=>this.viewModel?.view,(e,t)=>t&&this._viewChange()),u(()=>this._spinnerEl?.screenLocation,()=>this._closeOpenActionMenu()),u(()=>this.selectedFeatureComponent?.viewModel,()=>this._removeFlowItems()),u(()=>this.viewModel?.featureItems,()=>this._featureMenuViewportScrollTop()),u(()=>this.flowItems.toArray(),()=>this._handleFlowItemsChange(),{initial:!0}),u(()=>this.viewModel.aggregatedFeaturesEnabled,e=>{e||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._aggregatedFeaturesLoading=!1,this._removeFlowItems())}),u(()=>this.referenceElement,(e,t)=>{this._removeSpinner(t),this._createSpinner()},{initial:!0}),u(()=>[this.hideSpinner,this.viewModel?.view,this.viewModel?.location,this.viewModel?.pendingLocation,this.viewModel?.waitingForResult,this.viewModel?.open],()=>this._createSpinner(),{initial:!0})])}disconnectedCallback(){super.disconnectedCallback(),this._clearSpinnerVisibilityTimeout(),this._cancelSetFocusAnimationFrame(),this._removeSpinner(this.referenceElement)}_resolveSetFocusAnimationFrame(){let e=this._setFocusAnimationFrameResolve;this._setFocusAnimationFrameResolve=null,e?.()}_cancelSetFocusAnimationFrame(){this._setFocusAnimationFrameId!=null&&(cancelAnimationFrame(this._setFocusAnimationFrameId),this._setFocusAnimationFrameId=null),this._resolveSetFocusAnimationFrame()}_cancelFetchingFeatures(){this._fetchFeaturesController=T(this._fetchFeaturesController)}_handleClose(){this.close(),this.arcgisClose.emit()}_groupResultsByLayer(){let{featureItems:e}=this.viewModel,t=new Map;return e.forEach(i=>{let s=i?.graphic;if(!s)return;let a=D(s),o=ie(a)?a:null,r=t.get(o);r||(r=[],t.set(o,r)),r.push(i)}),t}_handleCollapseToggle(){this.collapsed=!this.collapsed}async _openRelatedFeature(e){this._cancelOpenRelatedFeature();let t=new AbortController;if(this._openRelatedFeatureAbortController=t,await e.updateGeometry(),t.signal.aborted)return;let i=e.graphic,s=i?.geometry;if(s==null||i==null){this._openRelatedFeatureAbortController=null;return}if(this._removeFlowItems(),await this.viewModel.zoomTo({target:s}),t.signal.aborted)return;let{labelPointExecute:a}=await $arcgis.t(m=>m[0],"geometry/operators/labelPointOperator");if(t.signal.aborted)return;let o=a(s);o!=null&&(this.location=o),this.features=[i],this.open=!0,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._openFeatureMenu()}_handleFeatureMenuBack(){this.initialDisplayMode==="list"?this.selectedFeatureIndex=-1: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()}_unobserveFeatureMenuObserver(){this._featureMenuIntersectionObserverNode&&this._featureMenuIntersectionObserver.unobserve(this._featureMenuIntersectionObserverNode)}_featureMenuIntersectionObserverCreated(e){this._unobserveFeatureMenuObserver(),e&&this._featureMenuIntersectionObserver.observe(e),this._featureMenuIntersectionObserverNode=e}_getActionLabel(e,t){let{messages:i}=this;return e.id==="zoom-to-feature"?c(i.zoomLabel??"",{messages:i,title:t?A(t.heading??i.untitled??""):this._selectedFeatureHeadingText}):null}_getActionTitle(e,t){let{messages:i}=this,s=t?t.graphic:this.selectedFeature,{id:a}=e,o=s?.attributes,r=e.title??"",l=a==="zoom-to-feature"?c(r,{messages:i}):a==="remove-selected-feature"?c(r,{messages:i}):a==="zoom-to-aggregated-features"?c(r,{messages:i}):a==="browse-aggregated-features"?c(r,{messages:i}):e.title;return l&&o?c(l,o):l??""}_onMainKeydown(e){let{key:t}=e;e.defaultPrevented||V(e)||(U(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.previous()),Z(t,this._direction,{horizontalOnly:!0})&&(e.preventDefault(),e.stopPropagation(),this._closeFeatureMenu(),this.next()))}_featureMenuViewportScrollTop(){this._featureMenuViewportNode.value?.scrollContentTo({top:0})}_selectedFeatureIndexUpdated(e,t){let{featureCount:i,waitingForResult:s}=this.viewModel;s||!i||e===t||e===-1||(this._aggregatedFeatureCount=0,this._selectedAggregatedFeatureIndex=-1,this._removeFlowItems(),this._rootFlowItemNode.value?.scrollContentTo({top:0}))}_triggerAction(e,t=this.flowItems.getItemAt(this.flowItems.length-1)){if(e.disabled)return;e?.type==="toggle"&&(e.value=!e.value);let i=t&&"allActions"in t?t.viewModel:void 0;j(e,this.viewModel,i),this.arcgisTriggerAction.emit({action:e})}_viewScaleChange(){let{selectedFeature:e}=this,t=D(e);!e?.isAggregate||se(t)!=="cluster"||(this.viewModel.aggregatedFeaturesEnabled=!1,this.open=!1,this.clear())}_viewChange(){this.viewModel.clear(),this.open=!1,this._aggregatedFeatureCount=0,this._removeFlowItems()}_handleAggregatedFeaturesPropertyChange({detail:e,target:t}){e.name==="aggregatedFeatureCount"&&(this._aggregatedFeatureCount=t.aggregatedFeatureCount),e.name==="selectedAggregatedFeatureIndex"&&(this._selectedAggregatedFeatureIndex=t.selectedAggregatedFeatureIndex,this._syncSelectedDrillInFeature()),e.name==="loading"&&(this._aggregatedFeaturesLoading=t.loading)}_closeOpenActionMenu(){let{_actionBarMenuNode:e}=this;e.value&&(e.value.menuOpen=!1)}_handleFlowItemsChange(){this._syncSelectedDrillInFeature(),this.flowItems.forEach(e=>{!("allActions"in e)||this._actionFlowItems.has(e)||(this._actionFlowItems.add(e),e.componentOnReady().then(()=>{this.isConnected&&this.flowItems.includes(e)&&this.requestUpdate()}))})}_syncSelectedDrillInFeature(){let e=this.flowItems.getItemAt(this.flowItems.length-1);x(()=>this.selectedDrillInFeature=e?.graphic??void 0)}_removeFlowItems(){this.viewModel.aggregatedFeaturesEnabled=!1,this.flowItems?.destroyAll()}_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()?.destroy()}_getHeading(){let{effectiveHeading:e}=this.viewModel;return!this.hideHeading&&e?e:""}_handleActionsStartSlotChange(e){this._hasActionsStartSlotContent=E(e)}_handleActionsEndSlotChange(e){this._hasActionsEndSlotContent=E(e)}_removeSpinner(e){e?.manager?.component?.extraContent?.remove(this._spinnerEl),this._spinnerEl=void 0}_clearSpinnerVisibilityTimeout(){this._spinnerVisibilityTimeout!=null&&(clearTimeout(this._spinnerVisibilityTimeout),this._spinnerVisibilityTimeout=null)}_getSpinnerTrackLocation(){return!this.hideSpinner&&this.viewModel.open&&this.viewModel?.waitingForResult?this._spinnerVisible?!0:(this._spinnerVisibilityTimeout??=setTimeout(()=>{this._spinnerVisibilityTimeout=null,this._spinnerVisible=!0,this._createSpinner()},ne),!1):(this._clearSpinnerVisibilityTimeout(),this._spinnerVisible=!1,!1)}_createSpinner(){let e=this.referenceElement;e&&(this._removeSpinner(e),this._spinnerEl=O(n`<arcgis-spinner .label=${this.messages.loading??""} .trackLocation=${this._getSpinnerTrackLocation()} .location=${this.viewModel?.pendingLocation??this.viewModel?.location??void 0} .referenceElement=${e} .view=${this.viewModel?.view??void 0}></arcgis-spinner>`),e.manager?.component?.extraContent?.add(this._spinnerEl))}#e(e){let t=e&&"allActions"in e?e:void 0,{selectedFeatureItem:i}=this.viewModel;if(t&&!t.allActions)return[];let s=t?t.isFeatureFromTable:i?.isFeatureFromTable;return(t?.allActions??i?.allActions??(!e&&this.viewModel.includeDefaultActions?this.viewModel.defaultActions.concat(this.viewModel.actions):this.viewModel.actions)).toArray().filter(a=>!(e&&a.id==="browse-aggregated-features")&&!(s&&!this.location&&a.id===this._zoomToFeature.id))}render(){return n`<div class="root">${this._renderContentContainer()}</div>`}_renderFeatureNavigation(){return[this._renderPagination(()=>this._previousFeature(),()=>this._nextFeature()),this.initialDisplayMode==="list"?this._renderFeaturePaginationText(this.viewModel.featureCount,this.viewModel.selectedFeatureIndex):this._renderFeatureMenuButton()]}_renderHeader(){return this.featureNavigationTop&&this._featureNavigationVisible?n`<div slot=header-top class="header">${this._renderFeatureNavigation()}</div>`:null}_renderFooter(){return!this.featureNavigationTop&&this._featureNavigationVisible?n`<div class="footer" slot=footer>${this._renderFeatureNavigation()}</div>`:null}_renderFeaturePaginationText(e,t){let{messages:i}=this;return n`<div class="pagination-text">${c(i.pageText??"",{index:I(t+1),total:I(e)})}</div>`}_renderFeatureMenuButton(){let{messages:e,viewModel:t}=this,{featureCount:i,streamingFeatures:s,selectedFeatureIndex:a}=t;return n`<calcite-action class="pagination-menu-button" icon=list .label=${e.showAllFeatures??""} .loading=${s} @click=${this._handlePaginationMenuButton} .text=${c(e.pageText??"",{index:I(a+1),total:I(i)})} text-enabled title=${e.showAllFeatures??""??h}></calcite-action>`}_renderPagination(e,t){let{previous:i,next:s}=this.messages;return n`<calcite-action-bar class="pagination-action-bar" expand-toggle-disabled layout=horizontal overflow-mode=none scale=s><calcite-action-group scale=s><calcite-action class="pagination-previous" icon=chevron-left icon-flip-rtl .label=${i??""} @click=${e} .text=${i??""} title=${i??""??h}></calcite-action><calcite-action icon=chevron-right icon-flip-rtl .label=${s??""} @click=${t} .text=${s??""} title=${s??""??h}></calcite-action></calcite-action-group></calcite-action-bar>`}_renderFeatureMenuItem(e,t){let{initialDisplayMode:i}=this,{selectedFeatureItem:s}=this.viewModel,a=e===s;return n`<calcite-list-item @blur=${this._removeActiveFeature} @focus=${()=>this._setActiveFeature(t)} @mouseleave=${this._removeActiveFeature} @mouseover=${()=>this._setActiveFeature(t)} .selected=${a} @calciteListItemSelect=${()=>this._selectFeature(t)}><span .innerHTML=${(C.sanitize(e.heading)||this.messages.untitled)??""} slot=content></span>${i==="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(),s=new Map;t.featureItems.forEach((o,r)=>s.set(o,r));let a=this.initialDisplayMode==="list"?"none":"single";return t.featureItems.length?n`<calcite-list display-mode=flat .label=${e?.featuresList??""} selection-appearance=icon .selectionMode=${a}>${Array.from(i.keys(),o=>{let r=i.get(o)?.map(d=>{let g=s.get(d);return g==null?null:this._renderFeatureMenuItem(d,g)}),l=o?o.title??this.messages.untitled:null;return!this.hideFeatureListLayerTitle&&l!==null?k(o??"map-graphics",n`<calcite-list-item-group .heading=${l}>${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} .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(e){let{headingLevel:t,hideCloseButton:i,_isCollapsed:s,_collapseEnabled:a,featureNavigationTop:o,initialDisplayMode:r,selectedFeature:l,hideHeading:d}=this,{active:g,selectedFeatureItem:v,content:F}=this.viewModel,p=this._getHeading();if(r==="list"&&!l)return null;let w=v?!v.content:!F;return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${b(M({"content-feature":!0,"flow-item-collapsed":s}))} .closable=${!i} .closed=${!g} .collapsed=${s} .collapseDirection=${this.collapseDirection??(o?"down":"up")} .collapsible=${a} .headingLevel=${t} .selected=${e} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand}} @calciteFlowItemBack=${this._handleFeatureBack} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} @keydown=${this._onMainKeydown} .heading=${!d&&p?A(p):void 0} ${m(this._rootFlowItemNode)}>${this._renderHeader()}${!d&&p?n`<div slot=heading><div .innerHTML=${C.sanitize(p??"")??""}></div></div>`:null}${this._renderHeaderActions()}${this._renderActionBar()}<div class=${b(M("container","content-container",{"content-hidden":w}))}>${this._renderContent()}</div>${this._renderFooter()}</calcite-flow-item>`}_renderDiagnosticsRefineResults(){let{messages:e}=this,{view:t}=this.viewModel;return t!=null&&"effectiveMaxZoom"in t.constraints&&t.constraints.effectiveMaxZoom>=0&&t.zoom>=t.constraints.effectiveMaxZoom?e.maxRecordCountDescriptionRefineResultsMaxZoomLevel:e.maxRecordCountDescriptionRefineResults}_renderDiagnosticsList(e){let{messages:t}=this,i=Array.from(e,s=>ee(s)??t.untitled);return i.length?n`<p>${t.maxRecordCountDescriptionWithLayerList}</p><ul>${i.map(s=>n`<li>${s}</li>`)}</ul><p>${this._renderDiagnosticsRefineResults()}</p>`:null}_renderDiagnosticsMultipleLayers(){let{messages:e}=this;return n`<p>${e.maxRecordCountDescriptionMultipleLayers}</p><p>${this._renderDiagnosticsRefineResults()}</p>`}_renderDiagnostics(){let{messages:e}=this,{diagnostics:t}=this.viewModel,i=t?.layerLimitExceeded;return i?.size?n`<calcite-notice class="diagnostics-notice" open kind=info scale=s><span slot=title>${e.maxRecordCountHeading}</span><div slot=message>${i.size<=oe?this._renderDiagnosticsList(i):this._renderDiagnosticsMultipleLayers()}</div></calcite-notice>`:null}_renderFeatureMenuContainer(){let{viewModel:e,hideCloseButton:t,featureMenuTitle:i,messages:s,initialDisplayMode:a,featureMenuOpen:o,_featureFlowItemSelected:r,_collapseEnabled:l,_isCollapsed:d,featureNavigationTop:g,headingLevel:v}=this,{active:F,featureItems:p,streamingFeatures:w}=e,q=i??s.selectFeature,y=c(s.backLabel??"",{title:this._selectedFeatureHeadingText});if(a==="feature"&&!o)return null;let G=!r;return n`<calcite-flow-item .focusTrapEnabled=${this.focusTrapEnabled} class=${b(M({"flow-item-collapsed":d}))} .closable=${!t} .closed=${!F} .collapsed=${a==="list"&&d} .collapseDirection=${this.collapseDirection??(g?"down":"up")} .collapsible=${a==="list"&&l} .messageOverrides=${{collapse:this.messages.collapse,expand:this.messages.expand,back:y}} .description=${this.hideFeatureMenuHeading?void 0:c(s.total??"",{total:p.length})} .heading=${this.hideFeatureMenuHeading?void 0:q} .headingLevel=${v} .loading=${e.waitingForContents} .selected=${G} @calciteFlowItemBack=${K=>{K.preventDefault(),this._handleFeatureMenuBack()}} @calciteFlowItemClose=${this._handleClose} @calciteFlowItemToggle=${this._handleCollapseToggle} ${m(this._featureMenuViewportNode)}>${a==="list"?this._renderHeaderActions():null}${w?n`<calcite-loader class="loader" inline .label=${s.loading??""} slot=header-actions-end></calcite-loader>`:null}${this._renderDiagnostics()}<div class="container">${this._renderFeatureMenu()}</div><div class="feature-menu-observer" ${m(this._featureMenuIntersectionObserverCreated)}></div>${a==="feature"?n`<calcite-button scale=s appearance=transparent @click=${this._handleFeatureMenuBack} slot=footer-start width=full .label=${y} title=${y??h}>${s.back}</calcite-button>`:null}</calcite-flow-item>`}_renderFlowItem(e,t){let{hideCloseButton:i,active:s,hideHeading:a,hideSelectFeature:o,messages:r}=this,l=r.returnToInitialFeature??"",d=r?.selectFeature,g="showAllEnabled"in e?e.showAllEnabled:!1,v=e.flowType==="feature"||e.flowType==="feature-association"||e.flowType==="feature-relationship"&&!g,F=e.flowType!=="feature"&&v&&"isFeatureFromTable"in e&&!e.isFeatureFromTable&&!o,p=e.flowType==="feature"&&this.viewModel.aggregatedFeaturesEnabled?n`<div class="footer" slot=footer>${this._renderPagination(()=>{this._aggregatedFeaturesComponent.value?.previous()},()=>{this._aggregatedFeaturesComponent.value?.next()})}${this._renderFeaturePaginationText(this._aggregatedFeatureCount,this._selectedAggregatedFeatureIndex)}</div>`:null;return n`<calcite-flow-item .closable=${!i} .closed=${!s} .focusTrapEnabled=${this.focusTrapEnabled} class="flow-item-drill-in" .description=${A(this._getDrillInFlowItemDescription(e)??"")} .heading=${a?void 0:A(e.heading??"")} .selected=${t} @calciteFlowItemBack=${w=>{w.preventDefault(),this._handleDrillInBackClick()}} .loading=${!!this._openRelatedFeatureAbortController} @calciteFlowItemClose=${this._handleClose}>${a?null:n`<div slot=heading><div .innerHTML=${C.sanitize(e.heading??"")??""}></div></div>`}<div slot=description><div .innerHTML=${C.sanitize(this._getDrillInFlowItemDescription(e)??"")??""}></div></div><calcite-action class="action-exit" icon=move-up @click=${this._removeFlowItems} slot=header-actions-start .text=${l??""} title=${l??""??h}></calcite-action>${F?n`<calcite-action icon=zoom-to-object @click=${()=>this._openRelatedFeature(e)} slot=header-actions-end .text=${d??""} title=${d??h}></calcite-action>`:null}${v&&this._renderActionBar(e)||""}<div class="container">${e}</div>${p}</calcite-flow-item>`}_renderContentContainer(){let e=this.flowItems?.toArray(),t=e.length>0,i=this.viewModel.aggregatedFeaturesEnabled&&this.viewModel.selectedFeature?.isAggregate&&!t,s=i&&e.length===0,a=e.length===0&&this._featureFlowItemSelected&&!i,o=e?.map((d,g)=>this._renderFlowItem(d,this._featureFlowItemSelected&&g===e.length-1)),r=this._renderBrowseAggregateContainer(!!s),l=this.initialDisplayMode==="list"?[this._renderFeatureMenuContainer(),this._renderContentFeature(a)]:[this._renderContentFeature(a),this._renderFeatureMenuContainer()];return n`<calcite-flow ${m(this._flowContainerNode)}>${l}${r}${o}</calcite-flow>`}_renderBrowseAggregateContainer(e){let{hideCloseButton:t,active:i,messages:s}=this,{selectedFeature:a}=this.viewModel,o=this.viewModel.aggregatedFeaturesEnabled&&a?.isAggregate,r=c(s.backLabel??"",{title:this._selectedFeatureHeadingText});return o?n`<calcite-flow-item .selected=${e} .closable=${!t} .closed=${!i} .focusTrapEnabled=${this.focusTrapEnabled} .description=${this._aggregatedFeatureCount?c(s.total??"",{total:this._aggregatedFeatureCount}):""} .heading=${s.aggregatedFeatures} @calciteFlowItemBack=${l=>{l.preventDefault(),this.viewModel.aggregatedFeaturesEnabled=!1}} .messageOverrides=${{back:r}} .loading=${this._aggregatedFeaturesLoading} @calciteFlowItemClose=${this._handleClose}><arcgis-aggregated-features .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .feature=${a??void 0} .flowItems=${this.flowItems} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .location=${this.location} .map=${this.map??void 0} .messageOverrides=${this.messageOverrides} .messages=${s} @arcgisPropertyChange=${this._handleAggregatedFeaturesPropertyChange} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference??void 0} .timeZone=${this.timeZone??void 0} .view=${this.view??void 0} ${m(this._aggregatedFeaturesComponent)}></arcgis-aggregated-features><calcite-button appearance=transparent @click=${()=>this.viewModel.aggregatedFeaturesEnabled=!1} slot=footer-start scale=s width=full .label=${r} title=${r??h}>${s.back}</calcite-button></calcite-flow-item>`:null}_renderActionBar(e){let t=this.#e(e),i=!!t.length||this._hasActionsStartSlotContent||this._hasActionsEndSlotContent,s=this._isCollapsed||this.hideActionBar||!i;return n`<calcite-action-bar expand-toggle-disabled .expanded=${!this._hideActionText} scale=s slot=${(s?void 0:"action-bar")??h} .hidden=${s}><slot name=actions-start @slotchange=${this._handleActionsStartSlotChange}></slot><calcite-action-group overlay-positioning=fixed scale=s ${m(this._actionBarMenuNode)}>${this._renderActions(t,e)}</calcite-action-group><slot name=actions-end @slotchange=${this._handleActionsEndSlotChange}></slot></calcite-action-bar>`}_renderActions(e,t){return e.map(i=>{let s=this._getActionTitle(i,t),a=this._getActionLabel(i,t);return n`<calcite-action .active=${i.type==="toggle"?i.value:!1} .disabled=${i.disabled} .icon=${i.icon??void 0} .loading=${i.active} scale=s .textEnabled=${!this._hideActionText} .text=${s??""} .label=${a??s} title=${a??s??h} .hidden=${!i.visible} @click=${()=>this._triggerAction(i,t)}></calcite-action>`})}_renderContent(){let{content:e,selectedFeatureItem:t,includeDefaultActions:i,actions:s}=this.viewModel;return t?n`<arcgis-feature-next .actions=${s} .autoDestroyDisabled=${this.autoDestroyDisabled} .chartAnimationDisabled=${this.chartAnimationDisabled} .defaultPopupTemplateEnabled=${this.defaultPopupTemplateEnabled} .flowItems=${this.flowItems} .graphic=${t.graphic} .headingLevel=${this.headingLevel+1} .hideAttachmentsContent=${this.hideAttachmentsContent} .hideContent=${this.hideContent} .hideCustomContent=${this.hideCustomContent} .hideEmptyRelationshipContent=${this.hideEmptyRelationshipContent} .hideExpressionContent=${this.hideExpressionContent} .hideFieldsContent=${this.hideFieldsContent} hide-heading .hideLastEditedInfo=${this.hideLastEditedInfo} .hideMediaContent=${this.hideMediaContent} .hideTextContent=${this.hideTextContent} .includeDefaultActions=${i} .location=${this.location} .map=${this.map} .messageOverrides=${this.messageOverrides} .referenceElement=${this.referenceElement} .showRelationshipContent=${!this.hideRelationshipContent} .showUtilityNetworkContent=${!this.hideUtilityNetworkContent} .spatialReference=${this.spatialReference} .timeZone=${this.timeZone} ${m(this._selectedFeatureComponent)}></arcgis-feature-next>`:typeof e=="string"?k(e,n`<div .innerHTML=${C.sanitize(e)??""}></div>`):e??null}};H("arcgis-features-next",R);return R},"support/actions/ActionButton","core/Collection","popup/FeaturesModel","applications/Components/featureUtils","applications/Components/sanitizerUtils","applications/Components/stringUtils","intl","core/reactiveUtils","graphic/getGraphicOriginTitle",a,c,d,e,g,i,j,l)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import l from"./NZBID35V.js";import{a as G}from"./JCRPP54Z.js";import k from"./3DPVKWFO.js";import j from"./KXGVE4NK.js";import{a as A,b as x,c as B,g as R}from"./FCNNRX3Q.js";import{a as U}from"./XAADUJ74.js";import{a as w}from"./KBHLE7HT.js";import i from"./IFMBHZHX.js";import g from"./TMJX7DFH.js";import f from"./DSDPDMLP.js";import"./VJVKFKSG.js";import e from"./CQQM24VF.js";import{a as T}from"./WEAGLY7B.js";import{a as m}from"./JD74LG7K.js";import d from"./AN3BGKZP.js";import c from"./FZWFKZLW.js";import b from"./JBHRVHGS.js";import{h as D}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as F}from"./WQMZ7BDQ.js";import{B as y,N as C,O as $,P as M,R as p,U as E,X as L,b as o,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([j,{watch:b,on:q},V,,,,N,P,,,,,,{a:O,b:S,c:k}])=>{var _=G,H="nested",J=P(V),v=class extends M{constructor(){super(...arguments),this._lastDragDetail=null,this._rootGroupUid=`table-${y()}`,this._rootListRef=C(),this._selectedDragItemLayerUid=null,this.messages=T(),this.viewModel=J(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,l=this._getItem(e);if(!l||!("sortable"in l)||!l.sortable)return!1;let c=this._getItem(t),d=this._getLayerType(t),n=this._getItem(i),g=this._getLayerType(i),I=!!d&&!!g&&d===g,u={selected:l,from:c,to:n},f=t?.group,r=i?.group;return f&&r&&typeof a=="function"?a(u):I},this._onPanelOpen=()=>{this.requestUpdate()},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="table",this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.map=this.viewModel.map,this.minDragEnabledItems=B,this.minFilterItems=x,this.selectedItems=new j,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryTableIndicators=!1,this.tables=this.viewModel.tables,this.arcgisClose=h(),this.arcgisFilterChange=h(),this.arcgisPropertyChange=D()("state"),this.arcgisReady=h(),this.arcgisSelectedItemsChange=h(),this.arcgisTableItemsChanged=h(),this.arcgisTriggerAction=N(()=>this.viewModel,"trigger-action")}static{this.properties={_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,label:1,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,map:0,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryTableIndicators:5,state:32,tableItems:32,tables:0,view:0}}static{this.styles=[k,S]}get _visibleItems(){return this.tableItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this.viewModel.totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this.viewModel.totalItems>=this.minFilterItems&&this.showFilter}get state(){return this.viewModel.state}get tableItems(){return this.viewModel.tableItems}async destroy(){await this.manager.destroy()}willUpdate(e){e.has("map")&&(this.viewModel.map=this.map),e.has("tables")&&(this.viewModel.tables=this.tables),e.has("listItemCreatedFunction")&&(this.viewModel.listItemCreatedFunction=this.listItemCreatedFunction)}loaded(){this.manager.onLifecycle(()=>[b(()=>this.view?.map,e=>{this.map||(this.viewModel.map=e)},{initial:!0}),q(()=>this.viewModel.tableItems,"change",()=>{R(this.selectedItems),this.arcgisTableItemsChanged.emit(),this.requestUpdate()},{initial:!0}),q(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),b(()=>[this.viewModel.state,this.viewModel.totalItems],()=>this.requestUpdate(),{initial:!0}),b(()=>[this.filterPredicate,this._rootListRef.value],()=>this._setFilterPredicate())])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_getItem(e){if(e?.tagName.toLowerCase()==="calcite-list-item")return e.value;let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.tableItems?.toArray()??[];for(;t.length;){let i=t.shift();if(i){if(i.uid===e)return i;t.push(...i.children?.toArray()??[])}}return null}_getLayerType(e){return e?.getAttribute("data-layer-type")??null}_setFilterPredicate(){let e=this._rootListRef.value;e&&(e.filterPredicate=this.filterPredicate?t=>{let i=this._getItem(t);return i?this.filterPredicate(i):!1}:void 0)}_handlePanelFlowItemBack(e){e.open=!1}_sortTablesToIds(e,t){e?.sort((i,s)=>{let a=i.uid!=null?t.indexOf(i.uid):-1,l=s.uid!=null?t.indexOf(s.uid):-1;return a>l?-1:a<l?1:0})}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:s}=e;s==null||!t||!i||t.insertBefore(i,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:l}=e,c=t?.newIndex===l&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||c)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value;let d=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortTablesToIds(this.viewModel.tables,d)}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let s=e.target.selectedItems.map(a=>this._getItem(a)).filter(Boolean);i.removeAll(),i.addMany(s)}_handleFlowItemClose(){this.closed=!0,this.arcgisClose.emit(),this.autoDestroyDisabled||this.destroy()}render(){let{state:e}=this,t={[m.hidden]:e==="loading",[m.disabled]:e==="disabled"};return o`<div class=${p(F(m.widget,m.panel,t))}>${this._renderItems()}</div>`}_renderNoItemsMessage(){return o`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:o`<div class=${p(_.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderPanelFlowItems(){return U(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return o`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${t===this._openedPanelItems.length-1} @calciteFlowItemBack=${l=>{l.preventDefault(),a()}}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_filterEnabled:i,_rootGroupUid:s,showCloseButton:a,showCollapseButton:l,showHeading:c,_dragEnabled:d,selectionMode:n,filterText:g,filterPlaceholder:I,messages:u}=this,f=[o`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${c?this.label??u.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!this._openedPanelItems.length} @calciteFlowItemClose=${()=>this._handleFlowItemClose()}>${t?.length?o`<calcite-list .canPull=${r=>this._canMove(r,"pull")} .canPut=${r=>this._canMove(r,"put")} data-layer-type=${s??E} .displayMode=${H} .dragEnabled=${d} .filterEnabled=${i} .filterPlaceholder=${I} .filterProps=${A} .filterText=${i?g:""} .group=${s} .label=${this.label??u.componentLabel} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${r=>this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${r=>{this.filterText=r.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${r=>this._onCalciteListOrderChange(r.detail)} ${$(this._rootListRef)}>${t.toArray().map(r=>this._renderItem(r))}${i&&!this.hideNoFilterResultsNotice?o`<div class=${p(_.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems()];return this.closed?null:w("root-flow",o`<calcite-flow>${f}</calcite-flow>`)}_renderItem(e){return w(e.uid,O({canMove:this._canMove,css:_,displayMode:H,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,item:e,itemType:"table",listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,showErrors:this.showErrors,showFilter:this.showFilter,showTemporaryTableIndicators:this.showTemporaryTableIndicators,handleAction:(t,i)=>this._onTriggerAction(t,i),handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,view:this.view}))}};L("arcgis-table-list-next",v);return v},"core/Collection","core/reactiveUtils","layers/list/TableItemCollection",a,b,c,d,e,f,g,i,j,k,l)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import l from"./GNSNEUMI.js";import{a as G}from"./4L43F7HU.js";import k from"./VDEMMP33.js";import j from"./Z2UUXST4.js";import{a as A,b as x,c as B,g as R}from"./ZCFWKPXL.js";import{a as U}from"./DUMHDAYP.js";import{a as w}from"./PIDNZKSJ.js";import i from"./WBBTZNZU.js";import g from"./HU57LQOA.js";import f from"./RUYAWRPV.js";import"./WJQUE4DR.js";import e from"./BQBWXR6P.js";import{a as T}from"./ZSPYPXBY.js";import{a as m}from"./L5IRXOCJ.js";import d from"./P3PXDT5V.js";import c from"./ALVAGE57.js";import b from"./HPWF3IQV.js";import{h as D}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as F}from"./ZKWI43WZ.js";import{B as y,N as C,O as $,P as M,R as p,U as E,X as L,b as o,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([j,{watch:b,on:q},V,,,,N,P,,,,,,{a:O,b:S,c:k}])=>{var _=G,H="nested",J=P(V),v=class extends M{constructor(){super(...arguments),this._lastDragDetail=null,this._rootGroupUid=`table-${y()}`,this._rootListRef=C(),this._selectedDragItemLayerUid=null,this.messages=T(),this.viewModel=J(this),this._canMove=({dragEl:e,fromEl:t,toEl:i},s)=>{let a=s==="pull"?this.listItemCanGiveFunction:this.listItemCanReceiveFunction,l=this._getItem(e);if(!l||!("sortable"in l)||!l.sortable)return!1;let c=this._getItem(t),d=this._getLayerType(t),n=this._getItem(i),g=this._getLayerType(i),I=!!d&&!!g&&d===g,u={selected:l,from:c,to:n},f=t?.group,r=i?.group;return f&&r&&typeof a=="function"?a(u):I},this._onPanelOpen=()=>{this.requestUpdate()},this._onSelectedDragItemLayerUidChange=e=>{this._selectedDragItemLayerUid=e},this._onTriggerAction=(e,t)=>{this.triggerAction(e,t)},this.autoDestroyDisabled=!1,this.closed=!1,this.collapsed=!1,this.dragEnabled=!1,this.filterPlaceholder="",this.filterText="",this.headingLevel=2,this.hideNoFilterResultsNotice=!1,this.hideNoItemsNotice=!1,this.hideStatusIndicators=!1,this.icon="table",this.listItemCreatedFunction=this.viewModel.listItemCreatedFunction,this.listModeDisabled=this.viewModel.listModeDisabled,this.map=this.viewModel.map,this.minDragEnabledItems=B,this.minFilterItems=x,this.selectedItems=new j,this.selectionMode="none",this.showCloseButton=!1,this.showCollapseButton=!1,this.showErrors=!1,this.showFilter=!1,this.showHeading=!1,this.showTemporaryTableIndicators=!1,this.tables=this.viewModel.tables,this.arcgisClose=h(),this.arcgisFilterChange=h(),this.arcgisPropertyChange=D()("state"),this.arcgisReady=h(),this.arcgisSelectedItemsChange=h(),this.arcgisTableItemsChanged=h(),this.arcgisTriggerAction=N(()=>this.viewModel,"trigger-action")}static{this.properties={_visibleItems:16,_openedPanelItems:16,_dragEnabled:16,_filterEnabled:16,autoDestroyDisabled:5,closed:5,collapsed:7,dragEnabled:5,filterPlaceholder:1,filterPredicate:0,filterText:1,headingLevel:9,hideNoFilterResultsNotice:5,hideNoItemsNotice:5,hideStatusIndicators:5,icon:1,label:1,listItemCanGiveFunction:0,listItemCanReceiveFunction:0,listItemCreatedFunction:0,listModeDisabled:5,map:0,messageOverrides:0,minDragEnabledItems:9,minFilterItems:9,referenceElement:1,selectedItems:0,selectionMode:1,showCloseButton:5,showCollapseButton:5,showErrors:5,showFilter:5,showHeading:5,showTemporaryTableIndicators:5,state:32,tableItems:32,tables:0,view:0}}static{this.styles=[k,S]}get _visibleItems(){return this.tableItems?.filter(e=>!e.hidden&&(this.showErrors||!e.error))}get _openedPanelItems(){return this._visibleItems.filter(({hidden:e,panel:t})=>!e&&t?.open&&!t.disabled&&t.flowEnabled)}get _dragEnabled(){return this.viewModel.totalItems>=this.minDragEnabledItems&&this.dragEnabled}get _filterEnabled(){return this.viewModel.totalItems>=this.minFilterItems&&this.showFilter}get state(){return this.viewModel.state}get tableItems(){return this.viewModel.tableItems}async destroy(){await this.manager.destroy()}willUpdate(e){e.has("map")&&(this.viewModel.map=this.map),e.has("tables")&&(this.viewModel.tables=this.tables),e.has("listItemCreatedFunction")&&(this.viewModel.listItemCreatedFunction=this.listItemCreatedFunction)}loaded(){this.manager.onLifecycle(()=>[b(()=>this.view?.map,e=>{this.map||(this.viewModel.map=e)},{initial:!0}),q(()=>this.viewModel.tableItems,"change",()=>{R(this.selectedItems),this.arcgisTableItemsChanged.emit(),this.requestUpdate()},{initial:!0}),q(()=>this.selectedItems,"change",()=>this.arcgisSelectedItemsChange.emit()),b(()=>[this.viewModel.state,this.viewModel.totalItems],()=>this.requestUpdate(),{initial:!0}),b(()=>[this.filterPredicate,this._rootListRef.value],()=>this._setFilterPredicate())])}triggerAction(e,t){return this.viewModel.triggerAction(e,t)}_getItem(e){if(e?.tagName.toLowerCase()==="calcite-list-item")return e.value;let t=e?.getAttribute("data-item");return t?this._findItemByUid(t):null}_findItemByUid(e){let t=this.tableItems?.toArray()??[];for(;t.length;){let i=t.shift();if(i){if(i.uid===e)return i;t.push(...i.children?.toArray()??[])}}return null}_getLayerType(e){return e?.getAttribute("data-layer-type")??null}_setFilterPredicate(){let e=this._rootListRef.value;e&&(e.filterPredicate=this.filterPredicate?t=>{let i=this._getItem(t);return i?this.filterPredicate(i):!1}:void 0)}_handlePanelFlowItemBack(e){e.open=!1}_sortTablesToIds(e,t){e?.sort((i,s)=>{let a=i.uid!=null?t.indexOf(i.uid):-1,l=s.uid!=null?t.indexOf(s.uid):-1;return a>l?-1:a<l?1:0})}_handleCalciteListDragEnd(e){let{fromEl:t,dragEl:i,oldIndex:s}=e;s==null||!t||!i||t.insertBefore(i,t.children[s])}_onCalciteListOrderChange(e){let{_lastDragDetail:t}=this,{toEl:i,fromEl:s,dragEl:a,newIndex:l}=e,c=t?.newIndex===l&&t?.dragEl===a&&t?.toEl===i&&t?.fromEl===s;if(!s||!i||c)return;this._lastDragDetail=e,this._selectedDragItemLayerUid=a.value;let d=Array.from(s.children).filter(n=>n?.matches("calcite-list-item")).map(n=>n.value.layer?.uid??"");this._sortTablesToIds(this.viewModel.tables,d)}_handleCalciteListChange(e){let{selectionMode:t,selectedItems:i}=this;if(t==="none")return;let s=e.target.selectedItems.map(a=>this._getItem(a)).filter(Boolean);i.removeAll(),i.addMany(s)}_handleFlowItemClose(){this.closed=!0,this.arcgisClose.emit(),this.autoDestroyDisabled||this.destroy()}render(){let{state:e}=this,t={[m.hidden]:e==="loading",[m.disabled]:e==="disabled"};return o`<div class=${p(F(m.widget,m.panel,t))}>${this._renderItems()}</div>`}_renderNoItemsMessage(){return o`<div slot=message>${this.messages.noItemsToDisplay}</div>`}_renderNoItems(){return this.hideNoItemsNotice?null:o`<div class=${p(_.itemMessage)}><calcite-notice icon=information kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`}_renderPanelFlowItems(){return U(this._openedPanelItems.toArray(),e=>e.uid,(e,t)=>{let{panel:i,title:s}=e,a=()=>this._handlePanelFlowItemBack(i);return o`<calcite-flow-item .description=${s} .heading=${i.title} .headingLevel=${this.headingLevel} .selected=${t===this._openedPanelItems.length-1} @calciteFlowItemBack=${l=>{l.preventDefault(),a()}}><arcgis-layer-list-item-panel .item=${e} .view=${this.view}></arcgis-layer-list-item-panel><calcite-button appearance=transparent @click=${a} slot=footer-actions width=full>${this.messages.back}</calcite-button></calcite-flow-item>`})}_renderItems(){let{collapsed:e,_visibleItems:t,_filterEnabled:i,_rootGroupUid:s,showCloseButton:a,showCollapseButton:l,showHeading:c,_dragEnabled:d,selectionMode:n,filterText:g,filterPlaceholder:I,messages:u}=this,f=[o`<calcite-flow-item .closable=${a} .closed=${this.closed} .collapsed=${e} .collapsible=${l} .heading=${c?this.label??u.componentLabel:void 0} .headingLevel=${this.headingLevel} .selected=${!this._openedPanelItems.length} @calciteFlowItemClose=${()=>this._handleFlowItemClose()}>${t?.length?o`<calcite-list .canPull=${r=>this._canMove(r,"pull")} .canPut=${r=>this._canMove(r,"put")} data-layer-type=${s??E} .displayMode=${H} .dragEnabled=${d} .filterEnabled=${i} .filterPlaceholder=${I} .filterProps=${A} .filterText=${i?g:""} .group=${s} .label=${this.label??u.componentLabel} selection-appearance=border .selectionMode=${n} @calciteListChange=${this._handleCalciteListChange} @calciteListDragEnd=${r=>this._handleCalciteListDragEnd(r.detail)} @calciteListFilter=${r=>{this.filterText=r.currentTarget?.filterText??"",this.arcgisFilterChange.emit()}} @calciteListOrderChange=${r=>this._onCalciteListOrderChange(r.detail)} ${$(this._rootListRef)}>${t.toArray().map(r=>this._renderItem(r))}${i&&!this.hideNoFilterResultsNotice?o`<div class=${p(_.filterNoResults)} slot=filter-no-results><calcite-notice kind=info open width=full>${this._renderNoItemsMessage()}</calcite-notice></div>`:null}</calcite-list>`:this._renderNoItems()}</calcite-flow-item>`,this._renderPanelFlowItems()];return this.closed?null:w("root-flow",o`<calcite-flow>${f}</calcite-flow>`)}_renderItem(e){return w(e.uid,O({canMove:this._canMove,css:_,displayMode:H,dragEnabled:this.dragEnabled,hideStatusIndicators:this.hideStatusIndicators,item:e,itemType:"table",listModeDisabled:this.viewModel.listModeDisabled,messages:this.messages,rootGroupUid:this._rootGroupUid,selectedDragItemLayerUid:this._selectedDragItemLayerUid,selectedItems:this.selectedItems,selectionMode:this.selectionMode,showErrors:this.showErrors,showFilter:this.showFilter,showTemporaryTableIndicators:this.showTemporaryTableIndicators,handleAction:(t,i)=>this._onTriggerAction(t,i),handlePanelOpen:this._onPanelOpen,handleSelectedDragItemLayerUidChange:this._onSelectedDragItemLayerUidChange,view:this.view}))}};L("arcgis-table-list-next",v);return v},"core/Collection","core/reactiveUtils","layerList/TableListModel",a,b,c,d,e,f,g,i,j,k,l)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{d as s}from"./O7RSAJOS.js";import{a as f}from"./XAADUJ74.js";import{a as n}from"./POKO37D3.js";import{a as g}from"./Z5C6UBYP.js";import"./WQMZ7BDQ.js";import{P as p,X as u,a as d,b as i}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{d as s}from"./IM6IDWYR.js";import{a as f}from"./DUMHDAYP.js";import{a as n}from"./6J3KSMFG.js";import{a as g}from"./7VDBR3SK.js";import"./ZKWI43WZ.js";import{P as p,X as u,a as d,b as i}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([$])=>{var v=d`:host{--calcite-label-margin-bottom: 0;gap:var(--calcite-spacing-md);flex-direction:column;display:flex}calcite-label{display:block}`,m=class extends p{constructor(){super(...arguments),this.scale="s",this.hideColorPicker=!1,this.hideInterval=!1}static{this.properties={options:0,scale:1,hideColorPicker:5,hideInterval:5,messages:0}}static{this.styles=v}render(){let{options:t,scale:l}=this,{color:r,interval:c}=t,a=this.messages?.discrete;return i`${n({hidden:this.hideInterval,children:i`<calcite-label .scale=${l}>${a?.intervalLabel}<calcite-select .label=${a?.intervalLabel??""} .scale=${l} @calciteSelectChange=${e=>{let b=e.target.value,h=Number.parseInt(b,10);Number.isFinite(h)&&(this.options.interval=h)}}>${f(I,e=>e,e=>i`<calcite-option .selected=${e===c} .value=${String(e)} .label=${C(e,g(this.el).t9nLocale)}></calcite-option>`)}</calcite-select></calcite-label>`})}${n({hidden:this.hideColorPicker,children:i`<arcgis-color-select .color=${r} .label=${a?.colorLabel} @arcgisColorChanged=${e=>{this.options.color=e.detail}}></arcgis-color-select>`})}`}};function C(o,t){return new Intl.DurationFormat(t,{style:"long"}).format(L(o))}function L(o){let t=Math.floor(o/1e3),l=Math.floor(t/3600),r=Math.floor(t%3600/60),c=t%60;return{hours:l,minutes:r,seconds:c}}var I=new $([s(15,"minutes","milliseconds"),s(30,"minutes","milliseconds"),s(1,"hours","milliseconds"),s(2,"hours","milliseconds"),s(3,"hours","milliseconds")]);u("arcgis-shadow-cast-discrete-config",m);return m},"core/Collection")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  export default $arcgis.t(([o])=>{var a=/\.(\w+)$/iv;function r(e){let t=new URL(e).pathname.match(a);if(!(!t||t.length<2))return t[1].toUpperCase()}async function p(e,t){let n=(await o(e,{...t,method:"head"}))?.getHeader?.("Content-Type");if(n)return n.split("/")[1].toUpperCase()}return{a:r,b:p}},"request")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import"./H6RQVSYM.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import"./TAVTDQ6S.js";var o={_decimalSeparator:".",_thousandSeparator:",",_percentPrefix:null,_percentSuffix:"%",_date_millisecond:"mm:ss SSS",_date_millisecond_full:"HH:mm:ss SSS",_date_second:"hh:mm:ss a",_date_second_full:"hh:mm:ss a",_date_minute:"hh:mm a",_date_minute_full:"hh:mm a - MMM dd, yyyy",_date_hour:"hh:mm a",_date_hour_short:"hhaaa",_date_hour_full:"hh:mm a - MMM dd, yyyy",_date_day:"MMM dd",_date_day_full:"MMM dd, yyyy",_date_week:"ww",_date_week_full:"MMM dd, yyyy",_date_month:"MMM",_date_month_full:"MMM, yyyy",_date_year:"yyyy",_duration_millisecond:"SSS",_duration_second:"ss",_duration_minute:"mm",_duration_hour:"hh",_duration_day:"dd",_duration_week:"ww",_duration_month:"MM",_duration_year:"yyyy",_era_ad:"AD",_era_bc:"BC",A:"",P:"",AM:"",PM:"","A.M.":"","P.M.":"",January:"",February:"",March:"",April:"",May:"",June:"",July:"",August:"",September:"",October:"",November:"",December:"",Jan:"",Feb:"",Mar:"",Apr:"","May(short)":"May",Jun:"",Jul:"",Aug:"",Sep:"",Oct:"",Nov:"",Dec:"",Sunday:"",Monday:"",Tuesday:"",Wednesday:"",Thursday:"",Friday:"",Saturday:"",Sun:"",Mon:"",Tue:"",Wed:"",Thu:"",Fri:"",Sat:"",_dateOrd:function(a){let e="th";if(a<11||a>13)switch(a%10){case 1:e="st";break;case 2:e="nd";break;case 3:e="rd";break}return e},Play:"",Stop:"","Zoom Out":"",Legend:"","Press ENTER to toggle":"",Loading:"",Home:"",Chart:"","Serial chart":"","X/Y chart":"","Pie chart":"","Gauge chart":"","Radar chart":"","Sankey diagram":"","Chord diagram":"","Flow diagram":"","TreeMap chart":"",Series:"","Candlestick Series":"","Column Series":"","Line Series":"","Pie Slice Series":"","X/Y Series":"",Map:"","Press ENTER to zoom in":"","Press ENTER to zoom out":"","Use arrow keys to zoom in and out":"","Use plus and minus keys on your keyboard to zoom in and out":"",Export:"",Image:"",Data:"",Print:"","Press ENTER to open":"","Press ENTER to print.":"","Press ENTER to export as %1.":"","(Press ESC to close this message)":"","Image Export Complete":"","Export operation took longer than expected. Something might have gone wrong.":"","Saved from":"",PNG:"",JPG:"",GIF:"",SVG:"",PDF:"",JSON:"",CSV:"",XLSX:"",HTML:"","Use TAB to select grip buttons or left and right arrows to change selection":"","Use left and right arrows to move selection":"","Use left and right arrows to move left selection":"","Use left and right arrows to move right selection":"","Use TAB select grip buttons or up and down arrows to change selection":"","Use up and down arrows to move selection":"","Use up and down arrows to move lower selection":"","Use up and down arrows to move upper selection":"","From %1 to %2":"","From %1":"","To %1":"","No parser available for file: %1":"","Error parsing file: %1":"","Unable to load file: %1":"","Invalid date":"",Close:"",Minimize:"",Confirm:""};export{o as default};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{b as m}from"./VJVKFKSG.js";import{a as b}from"./WEAGLY7B.js";import{h as A}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import{c as v}from"./WQMZ7BDQ.js";import{P as y,U as d,X as p,a as g,b as r,x as h}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:f}])=>{var w=g`:host{--arcgis-internal-exploratory-analysis-width: fit-content;display:flex;justify-content:flex-end;width:var(--arcgis-internal-exploratory-analysis-width)}:host(:is([data-content-open],[show-heading])){--arcgis-internal-exploratory-analysis-width: var(--arcgis-internal-panel-width, 300px);calcite-panel{min-width:var(--arcgis-internal-panel-width, 300px)}calcite-action-bar{width:100%}}calcite-panel{flex:none}calcite-action-bar{width:fit-content}.selection-notice-container{padding:var(--calcite-spacing-md)}.selection-notice-list{margin-block:0;padding-inline-start:var(--calcite-spacing-lg)}.measurement-content{--arcgis-internal-padding: var(--calcite-space-md) var(--calcite-space-none);margin-block-end:var(--calcite-space-none)}.measurement-content,slot::slotted(*){width:100%}.footer{display:grid;grid-template-columns:1fr 2fr;gap:var(--calcite-spacing-md);width:100%}`,_=["arcgis-area-measurement-2d","arcgis-area-measurement-3d","arcgis-direct-line-measurement-3d","arcgis-distance-measurement-2d","arcgis-elevation-profile","arcgis-volume-measurement"];function C(o){return o?.state==="measuring"||o?.state==="creating"||o?.state==="selecting"}var $=_.join(","),u=class extends y{constructor(){super(),this._messages=b({blocking:!0}),this.#s=!1,this.#t=new WeakMap,this._activeAnalysisHasInput=!1,this._measurements=[],this.autoDestroyDisabled=!1,this.autoStartDisabled=!1,this.closed=!1,this.icon="measure",this.preserveAnalysisOnChange=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showHeading=!1,this.arcgisClose=h(),this.arcgisPropertyChange=A()("activeAnalysis"),this.arcgisReady=h(),this.listen("arcgisPropertyChange",this.#r.bind(this)),this.listen("arcgisReady",this.#r.bind(this))}static{this.properties={_activeAnalysisHasInput:16,_activeAnalysisState:16,_measurements:16,activeAnalysis:1,autoDestroyDisabled:5,autoStartDisabled:5,closed:5,icon:1,messageOverrides:0,preserveAnalysisOnChange:5,showCloseButton:5,showCollapseButton:5,showHeading:7}}static{this.styles=w}#a;#s;#t;#e;#n;#i;get activeAnalysis(){return this.#a}set activeAnalysis(e){this.#e=typeof e=="string"?e:void 0,this.#c(typeof e=="string"?this._measurements.find(i=>i.localName===e):e??void 0)}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>(this.#o(),()=>{this.#i=m(this.#i),this.#n=void 0}))}async#l(){await this.activeAnalysis?.clear()}#m(){this.closed=!0,this.arcgisClose.emit(),this.autoDestroyDisabled||this.destroy()}async#u({target:e}){let i=Number(e.selectedActions.at(0)?.dataset.measurementIndex),s=this._measurements[i],a=this.activeAnalysis;if(s){if(s!==a&&(!this.preserveAnalysisOnChange||C(a))&&await this.#l(),this.#h(s),this.autoStartDisabled||s.interactionDisabled||this.preserveAnalysisOnChange&&s.analysis?.valid)return;await s.start()}else await this.#l(),this.#h(void 0)}#r(){this._activeAnalysisState=this.activeAnalysis?this.activeAnalysis.state??"disabled":void 0,this.#o(),this.#d(),this.requestUpdate()}#g({currentTarget:e}){let i=v(e,$),s=this._measurements.filter(t=>!i.includes(t));for(let t of s){let l=this.#t.get(t);t.hidden=l?.hidden??!1,t.hideStartButton=l?.hideStartButton??!1,"hideClearButton"in t&&(t.hideClearButton=l?.hideClearButton??!1),"hideHeader"in t&&(t.hideHeader=l?.hideHeader??!1),this.#t.delete(t)}for(let t of i)this.#t.has(t)||(this.#t.set(t,{hidden:t.hidden,hideClearButton:"hideClearButton"in t?t.hideClearButton:void 0,hideStartButton:t.hideStartButton,hideHeader:"hideHeader"in t?t.hideHeader:void 0}),t.componentOnReady().then(()=>{this.isConnected&&t.isConnected&&this._measurements.includes(t)&&this.requestUpdate()})),t.hideStartButton=!0,"hideClearButton"in t&&(t.hideClearButton=!0),"hideHeader"in t&&(t.hideHeader=!0);this._measurements=i;let a;this.#e&&(a=i.find(t=>t.localName===this.#e));let c;!this.#e&&i.length===1&&(c=i[0]);let n;this.#e?n=a:this.#s&&i.length>1?n=void 0:this.activeAnalysis&&i.includes(this.activeAnalysis)?n=this.activeAnalysis:n=c,this.#c(n),this.#s=!!c}#h(e){this.#e=void 0,this.#s=!1,this.#c(e)}#c(e){let i=this.#a;this.#a=e,this.el.toggleAttribute("data-content-open",!!e),this.requestUpdate("activeAnalysis",i),this.#y()}#y(){this._activeAnalysisState=this.activeAnalysis?this.activeAnalysis.state??"disabled":void 0,this.#o(),this.#d()}#d(){for(let e of this._measurements)e.hidden=e!==this.activeAnalysis||(this.#t.get(e)?.hidden??!1)||e===this.activeAnalysis&&this._activeAnalysisState==="ready"}async#p(){await this.activeAnalysis?.start()}#o(){let e=this.activeAnalysis?.analysis;if(!(e===this.#n&&(e==null||this.#i))){if(this.#i=m(this.#i),this.#n=e,!e){this._activeAnalysisHasInput=!1;return}this.#i=f(()=>e.valid,i=>this._activeAnalysisHasInput=i,{initial:!0,sync:!0})}}render(){let{showCloseButton:e,showCollapseButton:i,showHeading:s}=this,a=this._activeAnalysisState==="disabled",c=this._measurements.length>1,n=this.activeAnalysis?.label||this._messages.componentLabel;return r`<calcite-panel .closed=${this.closed} .heading=${s?this._messages.componentLabel:void 0} .collapsible=${i} .closable=${e} @calcitePanelClose=${this.#m}><div .hidden=${!c}><calcite-action-bar expand-toggle-disabled layout=horizontal .overflowMode=${!s&&!this.activeAnalysis?"none":"collapse"}><calcite-action-group .label=${this._messages.toolbarLabel} @calciteActionGroupChange=${this.#u} selection-mode=single>${this._measurements.map((t,l)=>r`<calcite-action .active=${t===this.activeAnalysis} data-measurement-index=${l??d} .icon=${t.icon} .label=${t.label} .text=${t.label??""} title=${t.label??d}></calcite-action>`)}</calcite-action-group></calcite-action-bar></div><div class="measurement-container" .hidden=${!this.activeAnalysis||a}><calcite-block class="measurement-content" .expanded=${this.isConnected&&!!this.activeAnalysis&&!a} .heading=${n}><slot @slotchange=${this.#g.bind(this)}></slot></calcite-block></div>${this.activeAnalysis?r`<div class="footer" slot=footer><calcite-button appearance=transparent .disabled=${!this._activeAnalysisHasInput} kind=danger @click=${this.#l} width=full>${this._messages.clear}</calcite-button><calcite-button .disabled=${this.activeAnalysis.interactionDisabled||this._activeAnalysisState!=="ready"&&!this._activeAnalysisHasInput} @click=${this.#p} width=full>${this.activeAnalysis?.matches("arcgis-elevation-profile")?this._messages.newProfile:this._messages.newMeasurement}</calcite-button></div>`:null}</calcite-panel>`}};p("arcgis-exploratory-analysis",u);return u},"core/reactiveUtils")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{b as m}from"./WJQUE4DR.js";import{a as b}from"./ZSPYPXBY.js";import{h as A}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import{c as v}from"./ZKWI43WZ.js";import{P as y,U as d,X as p,a as g,b as r,x as h}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:f}])=>{var w=g`:host{--arcgis-internal-exploratory-analysis-width: fit-content;display:flex;justify-content:flex-end;width:var(--arcgis-internal-exploratory-analysis-width)}:host(:is([data-content-open],[show-heading])){--arcgis-internal-exploratory-analysis-width: var(--arcgis-internal-panel-width, 300px);calcite-panel{min-width:var(--arcgis-internal-panel-width, 300px)}calcite-action-bar{width:100%}}calcite-panel{flex:none}calcite-action-bar{width:fit-content}.selection-notice-container{padding:var(--calcite-spacing-md)}.selection-notice-list{margin-block:0;padding-inline-start:var(--calcite-spacing-lg)}.measurement-content{--arcgis-internal-padding: var(--calcite-space-md) var(--calcite-space-none);margin-block-end:var(--calcite-space-none)}.measurement-content,slot::slotted(*){width:100%}.footer{display:grid;grid-template-columns:1fr 2fr;gap:var(--calcite-spacing-md);width:100%}`,_=["arcgis-area-measurement-2d","arcgis-area-measurement-3d","arcgis-direct-line-measurement-3d","arcgis-distance-measurement-2d","arcgis-elevation-profile","arcgis-volume-measurement"];function C(o){return o?.state==="measuring"||o?.state==="creating"||o?.state==="selecting"}var $=_.join(","),u=class extends y{constructor(){super(),this._messages=b({blocking:!0}),this.#s=!1,this.#t=new WeakMap,this._activeAnalysisHasInput=!1,this._measurements=[],this.autoDestroyDisabled=!1,this.autoStartDisabled=!1,this.closed=!1,this.icon="measure",this.preserveAnalysisOnChange=!1,this.showCloseButton=!1,this.showCollapseButton=!1,this.showHeading=!1,this.arcgisClose=h(),this.arcgisPropertyChange=A()("activeAnalysis"),this.arcgisReady=h(),this.listen("arcgisPropertyChange",this.#r.bind(this)),this.listen("arcgisReady",this.#r.bind(this))}static{this.properties={_activeAnalysisHasInput:16,_activeAnalysisState:16,_measurements:16,activeAnalysis:1,autoDestroyDisabled:5,autoStartDisabled:5,closed:5,icon:1,messageOverrides:0,preserveAnalysisOnChange:5,showCloseButton:5,showCollapseButton:5,showHeading:7}}static{this.styles=w}#a;#s;#t;#e;#n;#i;get activeAnalysis(){return this.#a}set activeAnalysis(e){this.#e=typeof e=="string"?e:void 0,this.#c(typeof e=="string"?this._measurements.find(i=>i.localName===e):e??void 0)}async destroy(){await this.manager.destroy()}load(){this.manager.onLifecycle(()=>(this.#o(),()=>{this.#i=m(this.#i),this.#n=void 0}))}async#l(){await this.activeAnalysis?.clear()}#m(){this.closed=!0,this.arcgisClose.emit(),this.autoDestroyDisabled||this.destroy()}async#u({target:e}){let i=Number(e.selectedActions.at(0)?.dataset.measurementIndex),s=this._measurements[i],a=this.activeAnalysis;if(s){if(s!==a&&(!this.preserveAnalysisOnChange||C(a))&&await this.#l(),this.#h(s),this.autoStartDisabled||s.interactionDisabled||this.preserveAnalysisOnChange&&s.analysis?.valid)return;await s.start()}else await this.#l(),this.#h(void 0)}#r(){this._activeAnalysisState=this.activeAnalysis?this.activeAnalysis.state??"disabled":void 0,this.#o(),this.#d(),this.requestUpdate()}#g({currentTarget:e}){let i=v(e,$),s=this._measurements.filter(t=>!i.includes(t));for(let t of s){let l=this.#t.get(t);t.hidden=l?.hidden??!1,t.hideStartButton=l?.hideStartButton??!1,"hideClearButton"in t&&(t.hideClearButton=l?.hideClearButton??!1),"hideHeader"in t&&(t.hideHeader=l?.hideHeader??!1),this.#t.delete(t)}for(let t of i)this.#t.has(t)||(this.#t.set(t,{hidden:t.hidden,hideClearButton:"hideClearButton"in t?t.hideClearButton:void 0,hideStartButton:t.hideStartButton,hideHeader:"hideHeader"in t?t.hideHeader:void 0}),t.componentOnReady().then(()=>{this.isConnected&&t.isConnected&&this._measurements.includes(t)&&this.requestUpdate()})),t.hideStartButton=!0,"hideClearButton"in t&&(t.hideClearButton=!0),"hideHeader"in t&&(t.hideHeader=!0);this._measurements=i;let a;this.#e&&(a=i.find(t=>t.localName===this.#e));let c;!this.#e&&i.length===1&&(c=i[0]);let n;this.#e?n=a:this.#s&&i.length>1?n=void 0:this.activeAnalysis&&i.includes(this.activeAnalysis)?n=this.activeAnalysis:n=c,this.#c(n),this.#s=!!c}#h(e){this.#e=void 0,this.#s=!1,this.#c(e)}#c(e){let i=this.#a;this.#a=e,this.el.toggleAttribute("data-content-open",!!e),this.requestUpdate("activeAnalysis",i),this.#y()}#y(){this._activeAnalysisState=this.activeAnalysis?this.activeAnalysis.state??"disabled":void 0,this.#o(),this.#d()}#d(){for(let e of this._measurements)e.hidden=e!==this.activeAnalysis||(this.#t.get(e)?.hidden??!1)||e===this.activeAnalysis&&this._activeAnalysisState==="ready"}async#p(){await this.activeAnalysis?.start()}#o(){let e=this.activeAnalysis?.analysis;if(!(e===this.#n&&(e==null||this.#i))){if(this.#i=m(this.#i),this.#n=e,!e){this._activeAnalysisHasInput=!1;return}this.#i=f(()=>e.valid,i=>this._activeAnalysisHasInput=i,{initial:!0,sync:!0})}}render(){let{showCloseButton:e,showCollapseButton:i,showHeading:s}=this,a=this._activeAnalysisState==="disabled",c=this._measurements.length>1,n=this.activeAnalysis?.label||this._messages.componentLabel;return r`<calcite-panel .closed=${this.closed} .heading=${s?this._messages.componentLabel:void 0} .collapsible=${i} .closable=${e} @calcitePanelClose=${this.#m}><div .hidden=${!c}><calcite-action-bar expand-toggle-disabled layout=horizontal .overflowMode=${!s&&!this.activeAnalysis?"none":"collapse"}><calcite-action-group .label=${this._messages.toolbarLabel} @calciteActionGroupChange=${this.#u} selection-mode=single>${this._measurements.map((t,l)=>r`<calcite-action .active=${t===this.activeAnalysis} data-measurement-index=${l??d} .icon=${t.icon} .label=${t.label} .text=${t.label??""} title=${t.label??d}></calcite-action>`)}</calcite-action-group></calcite-action-bar></div><div class="measurement-container" .hidden=${!this.activeAnalysis||a}><calcite-block class="measurement-content" .expanded=${this.isConnected&&!!this.activeAnalysis&&!a} .heading=${n}><slot @slotchange=${this.#g.bind(this)}></slot></calcite-block></div>${this.activeAnalysis?r`<div class="footer" slot=footer><calcite-button appearance=transparent .disabled=${!this._activeAnalysisHasInput} kind=danger @click=${this.#l} width=full>${this._messages.clear}</calcite-button><calcite-button .disabled=${this.activeAnalysis.interactionDisabled||this._activeAnalysisState!=="ready"&&!this._activeAnalysisHasInput} @click=${this.#p} width=full>${this.activeAnalysis?.matches("arcgis-elevation-profile")?this._messages.newProfile:this._messages.newMeasurement}</calcite-button></div>`:null}</calcite-panel>`}};p("arcgis-exploratory-analysis",u);return u},"core/reactiveUtils")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import f from"./HLGU3U73.js";import e from"./DL57EVZ4.js";import b from"./YU5BTZEI.js";import{f as p}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import"./QUZTFUWM.js";import"./WQMZ7BDQ.js";import{P as n,S as i,X as d,a as c,b as a}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,{a:m,b:f,c:v,d:y,f:h}])=>{var D=c`.layer-row,.symbol{display:flex;align-items:center}.symbol-container{position:relative}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.layer-cell{padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.univariate-color-ramp-card{position:relative}.univariate-color-ramp-card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,r=class extends n{constructor(){super(...arguments),this._direction=p(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=D}render(){let{legendElement:b,opacity:g}=this,{sizeRampElement:e,colorRampElement:u}=h(b,this.messages,"horizontal");if(!e)return null;let w=v(e,"full",!1,"horizontal"),x=y(e,"full",!1,"horizontal"),$=f(u,{width:x,height:12,rampAlignment:"horizontal",opacity:g,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages?.previewColorRampAriaLabel}),s=m(e,"card"),z=e.infos.length-1,E=e.infos.map((l,o)=>o===0||o===z?a`<div>${l.label}</div>`:null),R={display:"flex",flexDirection:"column"},C={display:"flex",flexDirection:"row"},t={marginTop:"3px",display:"flex"};this._direction==="rtl"?t.marginRight=`${s}px`:t.marginLeft=`${s}px`;let k={width:`${w}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return a`<div class="layer-row" style=${i(R)}><div class="symbol-container" style=${i(C)}>${e.infos.map(l=>a`<div class="symbol">${l.preview}</div>`)}</div><div class="univariate-color-ramp-card" style=${i(t)}><div>${$}</div></div><div class="layer-cell layer-cell-info"><div class="ramp-labels" style=${i(k)}>${E}</div></div></div>`}};d("arcgis-legend-card-univariate-color-size-ramp",r);return r},b,e,f)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import f from"./KBA5OIES.js";import e from"./4XERPOOU.js";import b from"./SZ3T7YEB.js";import{f as p}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import"./FIZMK7GS.js";import"./ZKWI43WZ.js";import{P as n,S as i,X as d,a as c,b as a}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,,{a:m,b:f,c:v,d:y,f:h}])=>{var D=c`.layer-row,.symbol{display:flex;align-items:center}.symbol-container{position:relative}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.layer-cell{padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.univariate-color-ramp-card{position:relative}.univariate-color-ramp-card:before{content:"";border-left:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);border-right:var(--calcite-border-width-sm) solid var(--calcite-color-surface-1);width:100%;height:15px;display:block;position:absolute;top:var(--calcite-border-width-sm)}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,r=class extends n{constructor(){super(...arguments),this._direction=p(),this.legendElement=null,this.opacity=1}static{this.properties={cssEffectFilter:1,legendElement:0,opacity:9,messages:0}}static{this.styles=D}render(){let{legendElement:b,opacity:g}=this,{sizeRampElement:e,colorRampElement:u}=h(b,this.messages,"horizontal");if(!e)return null;let w=v(e,"full",!1,"horizontal"),x=y(e,"full",!1,"horizontal"),$=f(u,{width:x,height:12,rampAlignment:"horizontal",opacity:g,type:"full",cssEffectFilter:this.cssEffectFilter,ariaLabel:this.messages?.previewColorRampAriaLabel}),s=m(e,"card"),z=e.infos.length-1,E=e.infos.map((l,o)=>o===0||o===z?a`<div>${l.label}</div>`:null),R={display:"flex",flexDirection:"column"},C={display:"flex",flexDirection:"row"},t={marginTop:"3px",display:"flex"};this._direction==="rtl"?t.marginRight=`${s}px`:t.marginLeft=`${s}px`;let k={width:`${w}px`,display:"flex",flexDirection:"row",justifyContent:"space-between"};return a`<div class="layer-row" style=${i(R)}><div class="symbol-container" style=${i(C)}>${e.infos.map(l=>a`<div class="symbol">${l.preview}</div>`)}</div><div class="univariate-color-ramp-card" style=${i(t)}><div>${$}</div></div><div class="layer-cell layer-cell-info"><div class="ramp-labels" style=${i(k)}>${E}</div></div></div>`}};d("arcgis-legend-card-univariate-color-size-ramp",r);return r},b,e,f)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  var n={remove:()=>{}};function o(e){return e?{remove:e}:n}export{o as a};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import c from"./HLGU3U73.js";import b from"./DL57EVZ4.js";import a from"./YU5BTZEI.js";import{P as u,R as n,S as e,X as $,a as w,b as i}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([,,{a:x,b:d,d:p,e:z,g:v,h:o,i:E}])=>{var H=w`.layer-body{display:table}.layer-row{display:table-row}.layer-cell{display:table-cell;padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.symbol{display:flex;justify-content:center}.ramps{margin-left:var(--calcite-space-md)}:dir(rtl) .ramps{margin-right:var(--calcite-space-md);margin-left:auto}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.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:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.univariate-above-below-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.univariate-above-below-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.univariate-above-below-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.univariate-above-below-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .univariate-above-below-label{margin-right:var(--calcite-space-sm);margin-left:auto}:dir(rtl) .univariate-above-below-label:before{right:-19px;left:auto}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,m=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=H}render(){let{legendElement:A,opacity:c}=this,{sizeRampElement:t,colorRampElement:b}=z(A,this.messages,c);if(!t)return null;let f=this.messages.previewColorRampAriaLabel,h=p(t,"above",!0),y=p(t,"below",!0),g=12,s=d(b,{width:g,height:h,rampAlignment:"vertical",opacity:c,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),k=d(b,{width:g,height:y,rampAlignment:"vertical",opacity:c,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),F=x(t),r=t.infos.map(a=>a.label),L=r.map((a,l)=>l===0?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:l===2?i`<div></div>`:null),R=r.length-1,j=Math.floor(r.length/2),C=r.map((a,l)=>l===j||l===R?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${F}px`},S={height:`${h}px`},U={height:`${y}px`};return i`<div style=${e(E)}><div class="layer-body">${t.infos.map((a,l)=>i`<div class="layer-row"><div class="symbol" style=${e(M)}>${a.preview}</div>${!s&&l%2===0?i`<div class="layer-cell layer-cell-info">${r[l]}</div>`:null}</div>`)}</div>${s?i`<div style=${e(B)}><div style=${e(v)}><div style=${e(o)}><div class="ramps">${s}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(S)}>${L}</div></div></div><div style=${e(v)}><div style=${e(o)}><div class="ramps">${k}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(U)}>${C}</div></div></div></div>`:null}</div>`}};$("arcgis-legend-classic-univariate-above-and-below-ramp",m);return m},a,b,c)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import c from"./KBA5OIES.js";import b from"./4XERPOOU.js";import a from"./SZ3T7YEB.js";import{P as u,R as n,S as e,X as $,a as w,b as i}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([,,{a:x,b:d,d:p,e:z,g:v,h:o,i:E}])=>{var H=w`.layer-body{display:table}.layer-row{display:table-row}.layer-cell{display:table-cell;padding:var(--calcite-space-2xs) 0;min-width:100px;vertical-align:middle;word-break:break-word}.layer-cell-info{padding-right:var(--calcite-space-sm);padding-left:var(--calcite-space-sm);max-width:250px;word-break:normal;word-wrap:normal;font-size:var(--calcite-font-size-sm)}.symbol{display:flex;justify-content:center}.ramps{margin-left:var(--calcite-space-md)}:dir(rtl) .ramps{margin-right:var(--calcite-space-md);margin-left:auto}.ramp-labels{display:flex;flex-flow:column nowrap;justify-content:space-between}.ramp-label{position:relative;padding:0 var(--calcite-space-sm);line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.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:""}.ramp-label:first-child{margin-top:calc(var(--calcite-font-size-sm) / 3 * -1)}.ramp-label:last-child{bottom:calc(var(--calcite-font-size-sm) * .25 * -1)}:dir(rtl) .ramp-label:before{right:auto;left:100%;border-width:3px 0 3px 4px;border-color:transparent transparent transparent var(--calcite-color-text-1)}.univariate-above-below-label{position:relative;margin-left:7px;line-height:1em;white-space:nowrap;font-size:var(--calcite-font-size-sm)}.univariate-above-below-label:before{display:block;position:absolute;top:.45em;left:-19px;border-width:1px 0 0;border-style:solid;width:14px;height:0;content:""}.univariate-above-below-label:first-child{top:calc(var(--calcite-font-size-sm) / 2.2 * -1)}.univariate-above-below-label:last-child{bottom:calc(var(--calcite-font-size-sm) / 2.2 * -1)}:dir(rtl) .univariate-above-below-label{margin-right:var(--calcite-space-sm);margin-left:auto}:dir(rtl) .univariate-above-below-label:before{right:-19px;left:auto}.univariate-above-below-symbol{display:flex;align-items:center;justify-content:center}`,m=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=H}render(){let{legendElement:A,opacity:c}=this,{sizeRampElement:t,colorRampElement:b}=z(A,this.messages,c);if(!t)return null;let f=this.messages.previewColorRampAriaLabel,h=p(t,"above",!0),y=p(t,"below",!0),g=12,s=d(b,{width:g,height:h,rampAlignment:"vertical",opacity:c,type:"above",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),k=d(b,{width:g,height:y,rampAlignment:"vertical",opacity:c,type:"below",cssEffectFilter:this.cssEffectFilter,ariaLabel:f}),F=x(t),r=t.infos.map(a=>a.label),L=r.map((a,l)=>l===0?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:l===2?i`<div></div>`:null),R=r.length-1,j=Math.floor(r.length/2),C=r.map((a,l)=>l===j||l===R?i`<div class=${n(a?s?"univariate-above-below-label":"ramp-label":void 0)}>${a}</div>`:null),M={display:"table-cell",verticalAlign:"middle"},B={marginTop:`${F}px`},S={height:`${h}px`},U={height:`${y}px`};return i`<div style=${e(E)}><div class="layer-body">${t.infos.map((a,l)=>i`<div class="layer-row"><div class="symbol" style=${e(M)}>${a.preview}</div>${!s&&l%2===0?i`<div class="layer-cell layer-cell-info">${r[l]}</div>`:null}</div>`)}</div>${s?i`<div style=${e(B)}><div style=${e(v)}><div style=${e(o)}><div class="ramps">${s}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(S)}>${L}</div></div></div><div style=${e(v)}><div style=${e(o)}><div class="ramps">${k}</div></div><div style=${e(o)}><div class="ramp-labels" style=${e(U)}>${C}</div></div></div></div>`:null}</div>`}};$("arcgis-legend-classic-univariate-above-and-below-ramp",m);return m},a,b,c)
@@ -0,0 +1 @@
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{P as d,R as h,S as p,U as r,X as g,a as o,b as s,x as c}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{substitute:v}])=>{var x=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-collapse-toggle-size: 32px;--internal-color-indicator-width: 3px;--internal-opacity-disabled: .4}.container{position:relative;background:var(--calcite-color-foreground-2)}.disabled{filter:grayscale(1);opacity:var(--internal-opacity-disabled)}.color-indicator{position:absolute;inset-inline-start:0;top:0;width:var(--internal-color-indicator-width);height:100%}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.content{display:block;padding:var(--internal-block-spacing) var(--internal-inline-spacing);padding-top:0}.collapse-toggle{flex-shrink:0;width:var(--internal-collapse-toggle-size);height:var(--internal-collapse-toggle-size)}.label{--calcite-label-margin-bottom: 0;flex-grow:1;flex-shrink:1;padding-inline-start:var(--internal-inline-spacing);min-width:0;overflow-wrap:anywhere}`,l=class extends d{constructor(){super(...arguments),this.expanded=!1,this.featureSelected=!1,this.hideCheckbox=!1,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,expanded:5,featureSelected:5,hideCheckbox:5,messages:0,result:0}}static{this.styles=x}async destroy(){await this.manager.destroy()}render(){return s`<div class=${h({container:!0,expanded:this.expanded,disabled:this._disabled})}>${this._renderColorIndicator()}<div class="header">${this._renderLabelWithCheckbox()}${this._renderCollapseToggleButton()}</div>${this.expanded?this._renderStatistics():void 0}</div>`}_renderColorIndicator(){return s`<div class="color-indicator" style=${p({backgroundColor:this.result.profile.color.toCss()})}></div>`}_renderCollapseToggleButton(){let{expanded:e,messages:t}=this,i=t[e?"hideDetails":"showDetails"]??"";return s`<calcite-action class="collapse-toggle" .icon=${e?"chevron-up":"chevron-down"} @click=${()=>this.arcgisExpandedToggle.emit(this.result.profile)} .text=${i} title=${i??r}></calcite-action>`}_renderLabelWithCheckbox(){let{result:e,hideCheckbox:t,messages:i}=this;return s`<calcite-label class="label" layout=inline>${t?void 0:this._renderCheckbox()}${u(e,i)}</calcite-label>`}_renderCheckbox(){let{result:e,messages:t}=this,{profile:i}=e,n=i.enabled,f=t[n?"hideProfile":"showProfile"]??"",b=v(f,{name:u(e,t)});return s`<calcite-checkbox .checked=${n} class="checkbox" title=${b??r} .disabled=${this._disabled} @calciteCheckboxChange=${()=>{i.enabled=!i.enabled}}></calcite-checkbox>`}_renderStatistics(){return s`<div class="content"><arcgis-elevation-profile-statistics .messages=${this.messages} .result=${this._disabled?void 0:this.result} .effectiveDisplayUnits=${this.effectiveDisplayUnits}></arcgis-elevation-profile-statistics></div>`}get _disabled(){return!this.featureSelected&&this.result.profile.type==="input"}};function u({profile:a},{profiles:e}){let t=a.title;if(t!=null)return t;if(!e)return"";switch(a.type){case"ground":return e.ground;case"input":return e.input;case"query":return e.query;case"scene":return e.scene;default:return""}}g("arcgis-elevation-profile-legend-item",l);return l},"intl")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{P as d,R as h,S as p,U as r,X as g,a as o,b as s,x as c}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{substitute:v}])=>{var x=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-collapse-toggle-size: 32px;--internal-color-indicator-width: 3px;--internal-opacity-disabled: .4}.container{position:relative;background:var(--calcite-color-foreground-2)}.disabled{filter:grayscale(1);opacity:var(--internal-opacity-disabled)}.color-indicator{position:absolute;inset-inline-start:0;top:0;width:var(--internal-color-indicator-width);height:100%}.header{display:flex;flex-direction:row;align-items:center;justify-content:flex-start}.content{display:block;padding:var(--internal-block-spacing) var(--internal-inline-spacing);padding-top:0}.collapse-toggle{flex-shrink:0;width:var(--internal-collapse-toggle-size);height:var(--internal-collapse-toggle-size)}.label{--calcite-label-margin-bottom: 0;flex-grow:1;flex-shrink:1;padding-inline-start:var(--internal-inline-spacing);min-width:0;overflow-wrap:anywhere}`,l=class extends d{constructor(){super(...arguments),this.expanded=!1,this.featureSelected=!1,this.hideCheckbox=!1,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,expanded:5,featureSelected:5,hideCheckbox:5,messages:0,result:0}}static{this.styles=x}async destroy(){await this.manager.destroy()}render(){return s`<div class=${h({container:!0,expanded:this.expanded,disabled:this._disabled})}>${this._renderColorIndicator()}<div class="header">${this._renderLabelWithCheckbox()}${this._renderCollapseToggleButton()}</div>${this.expanded?this._renderStatistics():void 0}</div>`}_renderColorIndicator(){return s`<div class="color-indicator" style=${p({backgroundColor:this.result.profile.color.toCss()})}></div>`}_renderCollapseToggleButton(){let{expanded:e,messages:t}=this,i=t[e?"hideDetails":"showDetails"]??"";return s`<calcite-action class="collapse-toggle" .icon=${e?"chevron-up":"chevron-down"} @click=${()=>this.arcgisExpandedToggle.emit(this.result.profile)} .text=${i} title=${i??r}></calcite-action>`}_renderLabelWithCheckbox(){let{result:e,hideCheckbox:t,messages:i}=this;return s`<calcite-label class="label" layout=inline>${t?void 0:this._renderCheckbox()}${u(e,i)}</calcite-label>`}_renderCheckbox(){let{result:e,messages:t}=this,{profile:i}=e,n=i.enabled,f=t[n?"hideProfile":"showProfile"]??"",b=v(f,{name:u(e,t)});return s`<calcite-checkbox .checked=${n} class="checkbox" title=${b??r} .disabled=${this._disabled} @calciteCheckboxChange=${()=>{i.enabled=!i.enabled}}></calcite-checkbox>`}_renderStatistics(){return s`<div class="content"><arcgis-elevation-profile-statistics .messages=${this.messages} .result=${this._disabled?void 0:this.result} .effectiveDisplayUnits=${this.effectiveDisplayUnits}></arcgis-elevation-profile-statistics></div>`}get _disabled(){return!this.featureSelected&&this.result.profile.type==="input"}};function u({profile:a},{profiles:e}){let t=a.title;if(t!=null)return t;if(!e)return"";switch(a.type){case"ground":return e.ground;case"input":return e.input;case"query":return e.query;case"scene":return e.scene;default:return""}}g("arcgis-elevation-profile-legend-item",l);return l},"intl")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{P as v,U as g,X as m,b as e,x as $}from"./EKR2SAT2.js";import"./H6RQVSYM.js";var l=class extends v{constructor(){super(...arguments),this.arcgisInternalManageVersion=$()}static{this.properties={currentUser:1,currentVersionInfo:0,featureServiceUrl:1,isVersionAdministrator:5,isVersioningApiAvailable:5,messages:0,versionInfo:0}}render(){let{currentUser:p,currentVersionInfo:f,featureServiceUrl:a,isVersionAdministrator:V,isVersioningApiAvailable:b,messages:r,versionInfo:i}=this,n=i?.versionIdentifier.name??"",I=n.substring(n.lastIndexOf(".")+1),d=n.substring(0,n.lastIndexOf(".")),t=i?.versionIdentifier.guid??"",s=f?.versionIdentifier.guid===i?.versionIdentifier.guid,h=n.toUpperCase()==="SDE.DEFAULT",c=d.toUpperCase()===p?.toUpperCase()&&b||V,o=`action-start-switch-to-version-${t}`,u=s?void 0:e`<calcite-tooltip overlay-positioning=fixed .referenceElement=${o}><span>${r?.actions.switchToVersion}</span></calcite-tooltip>`,x=e`<div slot=actions-start><calcite-action .disabled=${s} icon=code-branch id=${o??g} .label=${o} .text=${o} @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"changeVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>${u}</div>`,U=e`<calcite-action .disabled=${s} icon=code-branch .label=${`action-switch-to-version-${t}`} scale=s .text=${r?.actions.switchToVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"changeVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,A=e`<calcite-action .disabled=${!c||s} icon=code-branch-edit .label=${`action-edit-version-${t}`} scale=s .text=${r?.actions.editVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"editVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,y=h?void 0:e`<calcite-action .disabled=${!c||c&&s} icon=trash .label=${`action-delete-version-${t}`} scale=s .text=${r?.actions.deleteVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"deleteVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,E=e`<calcite-action-menu .label=${`action-version-menu-${t}`} overlay-positioning=fixed slot=actions-end>${U}${A}${y}</calcite-action-menu>`;return e`<calcite-list-item .description=${d} .label=${I} .value=${t}>${x}${E}</calcite-list-item>`}};m("arcgis-version-management-version-list-item",l);export{l as ArcgisVersionManagementVersionListItem};
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{P as v,U as g,X as m,b as e,x as $}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";var l=class extends v{constructor(){super(...arguments),this.arcgisInternalManageVersion=$()}static{this.properties={currentUser:1,currentVersionInfo:0,featureServiceUrl:1,isVersionAdministrator:5,isVersioningApiAvailable:5,messages:0,versionInfo:0}}render(){let{currentUser:p,currentVersionInfo:f,featureServiceUrl:a,isVersionAdministrator:V,isVersioningApiAvailable:b,messages:r,versionInfo:i}=this,n=i?.versionIdentifier.name??"",I=n.substring(n.lastIndexOf(".")+1),d=n.substring(0,n.lastIndexOf(".")),t=i?.versionIdentifier.guid??"",s=f?.versionIdentifier.guid===i?.versionIdentifier.guid,h=n.toUpperCase()==="SDE.DEFAULT",c=d.toUpperCase()===p?.toUpperCase()&&b||V,o=`action-start-switch-to-version-${t}`,u=s?void 0:e`<calcite-tooltip overlay-positioning=fixed .referenceElement=${o}><span>${r?.actions.switchToVersion}</span></calcite-tooltip>`,x=e`<div slot=actions-start><calcite-action .disabled=${s} icon=code-branch id=${o??g} .label=${o} .text=${o} @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"changeVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>${u}</div>`,U=e`<calcite-action .disabled=${s} icon=code-branch .label=${`action-switch-to-version-${t}`} scale=s .text=${r?.actions.switchToVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"changeVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,A=e`<calcite-action .disabled=${!c||s} icon=code-branch-edit .label=${`action-edit-version-${t}`} scale=s .text=${r?.actions.editVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"editVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,y=h?void 0:e`<calcite-action .disabled=${!c||c&&s} icon=trash .label=${`action-delete-version-${t}`} scale=s .text=${r?.actions.deleteVersion??""} text-enabled @click=${()=>{this.arcgisInternalManageVersion.emit({actionType:"deleteVersion",serviceUrl:a,versionInfo:i})}}></calcite-action>`,E=e`<calcite-action-menu .label=${`action-version-menu-${t}`} overlay-positioning=fixed slot=actions-end>${U}${A}${y}</calcite-action-menu>`;return e`<calcite-list-item .description=${d} .label=${I} .value=${t}>${x}${E}</calcite-list-item>`}};m("arcgis-version-management-version-list-item",l);export{l as ArcgisVersionManagementVersionListItem};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{P as v,X as g,a as o,b as n,x as c}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([d])=>{var p=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`,l=class extends v{constructor(){super(...arguments),this._formatter=new d,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,messages:0,result:0}}static{this.styles=p}async destroy(){await this.manager.destroy()}async load(){await this._formatter.when()}render(){let e=this.messages?.statistics;if(e)return n`<div class="container">${this._renderDistance("maxDistance",e.maxDistance)}${this._renderElevation("elevationGain",e.gain)}${this._renderElevation("elevationLoss",e.loss)}${this._renderElevation("minElevation",e.minElevation)}${this._renderElevation("maxElevation",e.maxElevation)}${this._renderElevation("avgElevation",e.avgElevation)}${this._renderSlope("maxPositiveSlope","maxNegativeSlope",e.maxSlope)}${this._renderSlope("avgPositiveSlope","avgNegativeSlope",e.avgSlope)}</div>`}_renderDistance(e,i){let a=this._renderValue(e,t=>{let s=this.effectiveDisplayUnits?.distance;return s?this._formatter.formatLength({type:"length",value:t,unit:s},r):""});return this._renderStatistic(i,a)}_renderElevation(e,i){let a=this._renderValue(e,t=>{let s=this.effectiveDisplayUnits?.elevation;return s?this._formatter.formatVerticalLength({type:"length",value:t,unit:s},r):""});return this._renderStatistic(i,a)}_renderSlope(e,i,a){return this._renderStatistic(a,n`<div class="slope-values"><calcite-icon icon=arrow-up scale=s></calcite-icon>${this._renderValue(e,t=>this._formatter.formatAngleDegrees(t,"degrees","geographic","geographic",r))}<calcite-icon icon=arrow-down scale=s></calcite-icon>${this._renderValue(i,t=>this._formatter.formatAngleDegrees(t,"degrees","geographic","geographic",r))}</div>`)}_renderStatistic(e,i){return n`<div class="statistic"><label class="statistic-label">${e}</label><div class="statistic-value">${i}</div></div>`}_renderValue(e,i){let{result:a}=this,t=a?.progress===1?a.statistics?.[e]:void 0;return t==null?" \u2015 ":i(t)}},r=1;g("arcgis-elevation-profile-statistics",l);return l},"applications/Components/QuantityFormatter")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{P as v,X as g,a as o,b as n,x as c}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([d])=>{var p=o`:host{--internal-block-spacing: var(--calcite-spacing-sm-plus);--internal-inline-spacing: var(--calcite-spacing-md);--internal-columns: 1;--internal-icon-size: 16px;container-type:inline-size}.container{display:grid;isolation:isolate;grid-template-columns:repeat(var(--internal-columns, 1),1fr);gap:var(--calcite-spacing-xxs) var(--calcite-spacing-md)}.statistic{display:block;width:max-content;text-align:start;white-space:nowrap}.statistic-label,.statistic-value,.slope-values{font-size:var(--calcite-font-size-xs);font-weight:var(--calcite-font-weight-bold)}.statistic-label{font-weight:var(--calcite-font-weight-regular)}.statistic-value{margin-top:-.15em}.slope-values{display:flex;align-items:center;calcite-icon{width:var(--internal-icon-size);height:var(--internal-icon-size)}}@container (width > 200px){.container{--internal-columns: 2}}@container (width > 400px){.container{--internal-columns: 4}}@container (width > 800px){.container{--internal-columns: 8}}`,l=class extends v{constructor(){super(...arguments),this._formatter=new d,this.arcgisExpandedToggle=c()}static{this.properties={effectiveDisplayUnits:0,messages:0,result:0}}static{this.styles=p}async destroy(){await this.manager.destroy()}async load(){await this._formatter.when()}render(){let e=this.messages?.statistics;if(e)return n`<div class="container">${this._renderDistance("maxDistance",e.maxDistance)}${this._renderElevation("elevationGain",e.gain)}${this._renderElevation("elevationLoss",e.loss)}${this._renderElevation("minElevation",e.minElevation)}${this._renderElevation("maxElevation",e.maxElevation)}${this._renderElevation("avgElevation",e.avgElevation)}${this._renderSlope("maxPositiveSlope","maxNegativeSlope",e.maxSlope)}${this._renderSlope("avgPositiveSlope","avgNegativeSlope",e.avgSlope)}</div>`}_renderDistance(e,i){let a=this._renderValue(e,t=>{let s=this.effectiveDisplayUnits?.distance;return s?this._formatter.formatLength({type:"length",value:t,unit:s},r):""});return this._renderStatistic(i,a)}_renderElevation(e,i){let a=this._renderValue(e,t=>{let s=this.effectiveDisplayUnits?.elevation;return s?this._formatter.formatVerticalLength({type:"length",value:t,unit:s},r):""});return this._renderStatistic(i,a)}_renderSlope(e,i,a){return this._renderStatistic(a,n`<div class="slope-values"><calcite-icon icon=arrow-up scale=s></calcite-icon>${this._renderValue(e,t=>this._formatter.formatAngleDegrees(t,"degrees","geographic","geographic",r))}<calcite-icon icon=arrow-down scale=s></calcite-icon>${this._renderValue(i,t=>this._formatter.formatAngleDegrees(t,"degrees","geographic","geographic",r))}</div>`)}_renderStatistic(e,i){return n`<div class="statistic"><label class="statistic-label">${e}</label><div class="statistic-value">${i}</div></div>`}_renderValue(e,i){let{result:a}=this,t=a?.progress===1?a.statistics?.[e]:void 0;return t==null?" \u2015 ":i(t)}},r=1;g("arcgis-elevation-profile-statistics",l);return l},"applications/Components/QuantityFormatter")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  function m({supported:e,disabled:s,ready:t,operationState:r,valid:i}){return e?s||!t?"disabled":r==="active"?"measuring":i?"measured":"ready":"unsupported"}function d(e,s){switch(e){case"unsupported":case"measured":case"ready":return e;case"disabled":return"ready";case"measuring":return s?"measured":"measuring"}}var u=["metric","imperial"],c=["inches","feet","yards","miles","nautical-miles","us-feet","millimeters","centimeters","decimeters","meters","kilometers"],n=["square-inches","square-feet","square-yards","square-miles","square-nautical-miles","square-us-feet","square-millimeters","square-centimeters","square-decimeters","square-meters","square-kilometers","acres","ares","hectares"],l=["liters","megaliters","gigaliters","cubic-millimeters","cubic-centimeters","cubic-decimeters","cubic-meters","cubic-kilometers","cubic-inches","cubic-us-feet","cubic-feet","cubic-yards","cubic-miles"],o=[...u,...c],f=[...u,...n],b=[...u,...l];function p(e,s=!0){return s?e==null?{state:"unavailable"}:{state:"available",value:e}:{state:"invalid"}}function q(e,s){switch(s.type){case"length":return e.formatLength(s);case"area":return e.formatArea(s);case"volume":return e.formatVolume(s);default:return""}}function g(e){return e==="imperial"||e==="metric"}function h(e,s,t=s){let r=e?.filter(i=>s.includes(i));return r&&r.length>0?r.slice():t.slice()}function y({userUnit:e,analysisUnit:s,options:t,defaultUnit:r,viewUnit:i}){if(e==null&&s==null&&i!=null&&t.includes(i))return i;let a=e??s??r??void 0;return a&&t.includes(a)?a:t[0]}export{m as a,d as b,c,o as d,f as e,b as f,p as g,q as h,g as i,h as j,y as k};
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import{a as r}from"./JAZGNQRP.js";import{z as c}from"./EKR2SAT2.js";export default $arcgis.t(([{watch:s},{projectIsLoaded:i,projectLoad:p,projectExecute:l}])=>{var n=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:e}=this.component;return t&&o&&e?[t,e,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>{this._updateScreenLocation()},{initial:!0}))}async _updateScreenLocation(){{i()||await p();let{location:o,view:t}=this.component,e=t?.spatialReference,a=e&&o?l(o,e):null;this.exports=this.component.trackLocation&&a&&t?.ready?t.toScreen(a):null}}},L=r(n);return L},"core/reactiveUtils","geometry/operators/projectOperator")
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import{a as r}from"./IFR4IYSI.js";import{z as c}from"./3UMLR76Y.js";export default $arcgis.t(([{watch:s},{projectIsLoaded:i,projectLoad:p,projectExecute:l}])=>{var n=class extends c{constructor(o){super(o),this.exports=void 0}hostLoaded(){this.component.manager.onLifecycle(()=>s(()=>{let{view:o,trackLocation:t,location:e}=this.component;return t&&o&&e?[t,e,o.size,o.type==="3d"?o.camera:o.viewpoint]:null},()=>{this._updateScreenLocation()},{initial:!0}))}async _updateScreenLocation(){{i()||await p();let{location:o,view:t}=this.component,e=t?.spatialReference,a=e&&o?l(o,e):null;this.exports=this.component.trackLocation&&a&&t?.ready?t.toScreen(a):null}}},L=r(n);return L},"core/reactiveUtils","geometry/operators/projectOperator")
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import h from"./HX4CDWS4.js";import{a as S}from"./PYTZ3YBE.js";import g from"./DSDPDMLP.js";import"./VJVKFKSG.js";import f from"./CQQM24VF.js";import{a as O}from"./WEAGLY7B.js";import{a as x}from"./JD74LG7K.js";import e from"./FZWFKZLW.js";import c from"./JBHRVHGS.js";import{h as E}from"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as T}from"./WQMZ7BDQ.js";import{P as k,R as w,U as _,X as I,a as b,b as d,x as u}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{watch:B},{property:n,subclass:C},,,,P,{c:M,e:W},{b:D}])=>{function y(i,o=0,m={}){typeof m!="object"&&(m={});let{leading:s=!1,trailing:r=!0,maxWait:f}=m,p=Array(2);s&&(p[0]="leading"),r&&(p[1]="trailing");let t,c=null,l=S(function(...h){t=i.apply(this,h),c=null},o,{edges:p}),g=function(...h){return f!=null&&(c===null&&(c=Date.now()),Date.now()-c>=f)?((s||r)&&(t=i.apply(this,h)),c=Date.now(),l.cancel(),l.schedule(),t):(l.apply(this,h),t)},A=()=>(l.flush(),t);return g.cancel=l.cancel,g.flush=A,g}var R=b`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,F=Object.defineProperty,L=Object.getOwnPropertyDescriptor,a=(i,o,m,s)=>{for(var r=s>1?void 0:s?L(o,m):o,f=i.length-1,p;f>=0;f--)(p=i[f])&&(r=(s?p(o,m,r):p(r))||r);return s&&r&&F(o,m,r),r},z=15e3,e=class extends D{constructor(i){super(i)}destroy(){this._stopTracking()}get state(){return this._geolocationUsable?this.view&&!this.view.ready?"disabled":this._settingPosition||this._trackStartingTimeoutId!==void 0?"waiting":this.tracking?"tracking":this.error!=null?"error":"ready":"feature-unsupported"}get tracking(){return this._watchId!==void 0}start(){this.state==="disabled"||this.state==="feature-unsupported"||this._startTracking()}stop(){this.state==="disabled"||this.state==="feature-unsupported"||this._stopTracking()}_stopWatchingPosition(){this._watchId!==void 0&&(navigator.geolocation.clearWatch(this._watchId),this._watchId=void 0)}_stopTracking(){this._abortTrack(),this._clearWaitingTimer(),this._stopWatchingPosition(),this._clearGraphic()}_startTracking(){this._stopTracking();let i=y(async o=>{this._abortTrack();let m=new AbortController;this._trackController=m;let{timestamp:s,coords:r}=o,f=r.toJSON(),p={timestamp:s,coords:f};this.error=void 0;try{let t=this.positionFilterFunction;if(typeof t=="function"&&!t({position:p})||(await this.updatePosition(o,m),this._trackController!==m))return;this._clearWaitingTimer(),this._addGraphic(),this.currentPosition=o,this._trackController=void 0}catch(t){if(M(t))return;throw this._trackController=void 0,this.error=t,this._clearWaitingTimer(),t}},0);this._watchId=navigator.geolocation.watchPosition(o=>{this._settingPosition=i(o)?.catch(W)},this._handleWatchPositionError.bind(this),this.geolocationOptions??void 0),this._trackStartingTimeoutId=setTimeout(()=>{this._trackStartingTimeoutId=void 0},z)}_handleWatchPositionError(i){i.code===i.PERMISSION_DENIED&&this._stopTracking(),this.error=i}_abortTrack(){this._trackController?.abort(),this._trackController=void 0}_clearWaitingTimer(){clearTimeout(this._trackStartingTimeoutId),this._trackStartingTimeoutId=void 0,this._settingPosition=void 0}};a([n()],e.prototype,"_watchId",2);a([n()],e.prototype,"_trackStartingTimeoutId",2);a([n()],e.prototype,"_settingPosition",2);a([n()],e.prototype,"currentPosition",2);a([n()],e.prototype,"error",2);a([n()],e.prototype,"positionFilterFunction",2);a([n({readOnly:!0})],e.prototype,"state",1);a([n({readOnly:!0})],e.prototype,"tracking",1);a([n()],e.prototype,"start",1);a([n()],e.prototype,"stop",1);e=a([C("map-components.track.TrackViewModel")],e);var $=P(e),v=class extends k{constructor(){super(...arguments),this.messages=O(),this.viewModel=$(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.currentPosition=this.viewModel.currentPosition,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.rotationDisabled=this.viewModel.rotationEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.visualScale="m",this.arcgisComplete=u(),this.arcgisError=u(),this.arcgisPropertyChange=E()("state"),this.arcgisReady=u()}static{this.properties={view:0,autoDestroyDisabled:5,currentPosition:0,error:0,geolocationOptions:0,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:1,label:1,messageOverrides:0,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:0,tracking:36,visualScale:1}}static{this.styles=R}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}loaded(){this.manager.onLifecycle(()=>[B(()=>this.viewModel.error,o=>{this.arcgisError.emit({error:o})}),B(()=>this.viewModel.currentPosition,o=>{this.arcgisComplete.emit({position:o})})])}_localizeError(o){if(o instanceof GeolocationPositionError)return o.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:o.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(o instanceof Error)return o.message}_toggleTracking(){if(!this.viewModel)return;let{state:o}=this.viewModel;if(!(o==="feature-unsupported"||o==="disabled")){if(o==="tracking"||o==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:o,messages:m,icon:s}=this,r=o?.state,f=r==="tracking",p=this._localizeError(this.viewModel?.error),t=(f?m?.stopTracking:m?.startTracking)??"",c=r==="feature-unsupported",l=(r==="tracking"?"pause":void 0)??s??void 0;return d`<div class=${w(T("root",x.arcgisButton))}>${!c&&d`<calcite-button .disabled=${r==="disabled"} .iconStart=${l} kind=neutral .label=${t} .loading=${r==="waiting"} @click=${this._toggleTracking} .scale=${this.visualScale} title=${t??_}></calcite-button>`||""}${p?d`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${p}</calcite-tooltip>`:null}</div>`}};I("arcgis-track",v);return v},"core/reactiveUtils","core/accessorSupport/decorators",a,c,e,f,g,h)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import h from"./P2I63WVL.js";import{a as S}from"./2U3VASQT.js";import g from"./RUYAWRPV.js";import"./WJQUE4DR.js";import f from"./BQBWXR6P.js";import{a as O}from"./ZSPYPXBY.js";import{a as x}from"./L5IRXOCJ.js";import e from"./ALVAGE57.js";import c from"./HPWF3IQV.js";import{h as E}from"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as T}from"./ZKWI43WZ.js";import{P as k,R as w,U as _,X as I,a as b,b as d,x as u}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{watch:B},{property:n,subclass:C},,,,P,{c:M,e:W},{b:D}])=>{function y(i,o=0,m={}){typeof m!="object"&&(m={});let{leading:s=!1,trailing:r=!0,maxWait:f}=m,p=Array(2);s&&(p[0]="leading"),r&&(p[1]="trailing");let t,c=null,l=S(function(...h){t=i.apply(this,h),c=null},o,{edges:p}),g=function(...h){return f!=null&&(c===null&&(c=Date.now()),Date.now()-c>=f)?((s||r)&&(t=i.apply(this,h)),c=Date.now(),l.cancel(),l.schedule(),t):(l.apply(this,h),t)},A=()=>(l.flush(),t);return g.cancel=l.cancel,g.flush=A,g}var R=b`.arcgis-button{--calcite-icon-color: var(--calcite-color-text-3);--calcite-button-background-color: var(--calcite-color-foreground-1);color:var(--calcite-color-text-3);line-height:var(--calcite-font-line-height-relative-tight);calcite-button{--calcite-offset-invert-focus: 1}display:flex;flex-flow:column;cursor:pointer;background-color:var(--calcite-color-foreground-1);font-size:var(--calcite-font-size);:hover{--calcite-icon-color: var(--calcite-color-text-1);--calcite-button-background-color: var(--calcite-color-transparent-hover)}}:host{width:fit-content;height:fit-content}`,F=Object.defineProperty,L=Object.getOwnPropertyDescriptor,a=(i,o,m,s)=>{for(var r=s>1?void 0:s?L(o,m):o,f=i.length-1,p;f>=0;f--)(p=i[f])&&(r=(s?p(o,m,r):p(r))||r);return s&&r&&F(o,m,r),r},z=15e3,e=class extends D{constructor(i){super(i)}destroy(){this._stopTracking()}get state(){return this._geolocationUsable?this.view&&!this.view.ready?"disabled":this._settingPosition||this._trackStartingTimeoutId!==void 0?"waiting":this.tracking?"tracking":this.error!=null?"error":"ready":"feature-unsupported"}get tracking(){return this._watchId!==void 0}start(){this.state==="disabled"||this.state==="feature-unsupported"||this._startTracking()}stop(){this.state==="disabled"||this.state==="feature-unsupported"||this._stopTracking()}_stopWatchingPosition(){this._watchId!==void 0&&(navigator.geolocation.clearWatch(this._watchId),this._watchId=void 0)}_stopTracking(){this._abortTrack(),this._clearWaitingTimer(),this._stopWatchingPosition(),this._clearGraphic()}_startTracking(){this._stopTracking();let i=y(async o=>{this._abortTrack();let m=new AbortController;this._trackController=m;let{timestamp:s,coords:r}=o,f=r.toJSON(),p={timestamp:s,coords:f};this.error=void 0;try{let t=this.positionFilterFunction;if(typeof t=="function"&&!t({position:p})||(await this.updatePosition(o,m),this._trackController!==m))return;this._clearWaitingTimer(),this._addGraphic(),this.currentPosition=o,this._trackController=void 0}catch(t){if(M(t))return;throw this._trackController=void 0,this.error=t,this._clearWaitingTimer(),t}},0);this._watchId=navigator.geolocation.watchPosition(o=>{this._settingPosition=i(o)?.catch(W)},this._handleWatchPositionError.bind(this),this.geolocationOptions??void 0),this._trackStartingTimeoutId=setTimeout(()=>{this._trackStartingTimeoutId=void 0},z)}_handleWatchPositionError(i){i.code===i.PERMISSION_DENIED&&this._stopTracking(),this.error=i}_abortTrack(){this._trackController?.abort(),this._trackController=void 0}_clearWaitingTimer(){clearTimeout(this._trackStartingTimeoutId),this._trackStartingTimeoutId=void 0,this._settingPosition=void 0}};a([n()],e.prototype,"_watchId",2);a([n()],e.prototype,"_trackStartingTimeoutId",2);a([n()],e.prototype,"_settingPosition",2);a([n()],e.prototype,"currentPosition",2);a([n()],e.prototype,"error",2);a([n()],e.prototype,"positionFilterFunction",2);a([n({readOnly:!0})],e.prototype,"state",1);a([n({readOnly:!0})],e.prototype,"tracking",1);a([n()],e.prototype,"start",1);a([n()],e.prototype,"stop",1);e=a([C("map-components.track.TrackViewModel")],e);var $=P(e),v=class extends k{constructor(){super(...arguments),this.messages=O(),this.viewModel=$(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.currentPosition=this.viewModel.currentPosition,this.error=this.viewModel.error,this.geolocationOptions=this.viewModel.geolocationOptions,this.goToOverride=this.viewModel.goToOverride,this.goToLocationDisabled=this.viewModel.goToLocationEnabled,this.graphic=this.viewModel.graphic,this.icon="compass-north-circle",this.positionFilterFunction=this.viewModel.positionFilterFunction,this.rotationDisabled=this.viewModel.rotationEnabled,this.scale=this.viewModel.scale,this.state=this.viewModel.state,this.tracking=this.viewModel.tracking,this.visualScale="m",this.arcgisComplete=u(),this.arcgisError=u(),this.arcgisPropertyChange=E()("state"),this.arcgisReady=u()}static{this.properties={view:0,autoDestroyDisabled:5,currentPosition:0,error:0,geolocationOptions:0,goToOverride:0,goToLocationDisabled:7,graphic:0,icon:1,label:1,messageOverrides:0,positionFilterFunction:0,referenceElement:1,rotationDisabled:5,scale:9,state:0,tracking:36,visualScale:1}}static{this.styles=R}async destroy(){await this.manager.destroy()}async start(){this.viewModel.start()}async stop(){this.viewModel.stop()}loaded(){this.manager.onLifecycle(()=>[B(()=>this.viewModel.error,o=>{this.arcgisError.emit({error:o})}),B(()=>this.viewModel.currentPosition,o=>{this.arcgisComplete.emit({position:o})})])}_localizeError(o){if(o instanceof GeolocationPositionError)return o.code===GeolocationPositionError.PERMISSION_DENIED?this.messages?.permissionError:o.code===GeolocationPositionError.TIMEOUT?this.messages?.timeoutError:this.messages?.positionUnavailable;if(o instanceof Error)return o.message}_toggleTracking(){if(!this.viewModel)return;let{state:o}=this.viewModel;if(!(o==="feature-unsupported"||o==="disabled")){if(o==="tracking"||o==="waiting"){this.viewModel.stop();return}this.viewModel.start()}}render(){let{viewModel:o,messages:m,icon:s}=this,r=o?.state,f=r==="tracking",p=this._localizeError(this.viewModel?.error),t=(f?m?.stopTracking:m?.startTracking)??"",c=r==="feature-unsupported",l=(r==="tracking"?"pause":void 0)??s??void 0;return d`<div class=${w(T("root",x.arcgisButton))}>${!c&&d`<calcite-button .disabled=${r==="disabled"} .iconStart=${l} kind=neutral .label=${t} .loading=${r==="waiting"} @click=${this._toggleTracking} .scale=${this.visualScale} title=${t??_}></calcite-button>`||""}${p?d`<calcite-tooltip open overlay-positioning=fixed .referenceElement=${this.el}>${p}</calcite-tooltip>`:null}</div>`}};I("arcgis-track",v);return v},"core/reactiveUtils","core/accessorSupport/decorators",a,c,e,f,g,h)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
2
- import e from"./CQQM24VF.js";import{a as k}from"./WEAGLY7B.js";import{a as u}from"./JD74LG7K.js";import d from"./FZWFKZLW.js";import b from"./JBHRVHGS.js";import"./JAZGNQRP.js";import"./Z5C6UBYP.js";import a from"./7V7IKYJG.js";import"./QUZTFUWM.js";import{e as s}from"./WQMZ7BDQ.js";import{O as w,P as x,R as l,S as h,X as y,a as v,b as c,x as _}from"./EKR2SAT2.js";import"./H6RQVSYM.js";export default $arcgis.t(([{getDefaultUnitForView:M},{watch:$},{formatNumber:C},R,,,,z])=>{function D(b=0,e=0){return{x:b,y:e}}var U=v`.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{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__heading{word-break:break-word}.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}.root{box-shadow:none!important;background:0 0}.root.esri-widget{box-shadow:none;background:0 0}.bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.bar-container-ruler{flex-direction:column}.ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.ruler:before,.ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.ruler:after{transform:scaleX(-1)}.bar-container-line:last-child{align-items:flex-start}.line{--line-thickness: var(--calcite-border-width-md);--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.line-top{border-bottom:var(--border-style)}.line-bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.line-top:before,.line-top:after,.line-bottom:before,.line-bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.line-top:before{bottom:calc(-1 * var(--line-thickness));left:0}.line-top:after{bottom:calc(-1 * var(--line-thickness));right:0}.line-bottom:before{top:calc(-1 * var(--line-thickness));left:0}.line-bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.label-container-line{position:absolute;left:0}.label-container-ruler{justify-content:space-between;width:100%;display:flex;position:relative}.label-container-ruler .label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.label-container-top{bottom:0}.label-container-bottom{top:1px}.label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .ruler{margin:0 .5ch 0 2ch}:dir(rtl) .label-container-line{left:auto;right:0}`,E=z(R),f=class extends x{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=k(),this.viewModel=E(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.arcgisReady=_()}static{this.properties={view:0,autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,referenceElement:1,unit:1}}static{this.styles=U}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>$(()=>({defaultUnit:this.viewModel.view?M(this.viewModel.view):void 0,stationary:this.viewModel.view?.stationary,center:this.viewModel.view?.center,scale:this.viewModel.view?.scale,zoom:this.viewModel.view?.zoom}),({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()},{initial:!0}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){let e=this.el;if(!this.viewModel&&!e.childElem)return;let i=e.childElem?.getBoundingClientRect();if(!i)return;let{scaleComputedFrom:r}=this.viewModel,a=i.left+window.pageXOffset,t=i.top+window.pageYOffset,o=D(a,t);(o.x!==r.x||o.y!==r.y)&&(this.viewModel.scaleComputedFrom=o)}_formatDistance(e,i){return C(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[u.disabled]:e},r,a;if(!e){let{unit:t,barStyle:o}=this,g=t==="imperial"||t==="dual",p=t==="metric"||t==="dual",d=100,m=t==="dual"?"line":o;if(g){let n=this.viewModel.getScaleBarProperties(d,"imperial");n&&(a=m==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(d,"metric");n&&(r=m==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${l(s("root",u.widget,i))} ${w(this._handleContainerRef)}>${r}${a}</div>`}_renderRuler(e){let{length:i,unit:r,value:a}=e,t=Math.round(i),o=this._formatDistance(a,r);return c`<div class=${l(s("bar-container","bar-container-ruler"))}><div class="ruler" style=${h({width:`${t}px`})}></div><div class=${l(s("label-container","label-container-ruler"))}><div class="label">0</div><div class="label">${o}</div></div></div>`}_renderLine(e,i){let{length:r,unit:a,value:t}=e,o=Math.round(r),g=this._formatDistance(t,a),p=c`<div class=${l(s("label-container","label-container-line",{"label-container-top":i==="top","label-container-bottom":i==="bottom"}))}><div class="label">${g}</div></div>`,d=c`<div class=${l(s("line",{"line-top":i==="top","line-bottom":i==="bottom"}))} style=${h({width:`${o}px`})}></div>`;return c`<div class=${l(s("bar-container","bar-container-line"))}>${[d,p]}</div>`}};y("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,d,e)
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
+ import e from"./BQBWXR6P.js";import{a as k}from"./ZSPYPXBY.js";import{a as u}from"./L5IRXOCJ.js";import d from"./ALVAGE57.js";import b from"./HPWF3IQV.js";import"./IFR4IYSI.js";import"./7VDBR3SK.js";import a from"./QPSAD5DG.js";import"./FIZMK7GS.js";import{e as s}from"./ZKWI43WZ.js";import{O as w,P as x,R as l,S as h,X as y,a as v,b as c,x as _}from"./3UMLR76Y.js";import"./TAVTDQ6S.js";export default $arcgis.t(([{getDefaultUnitForView:M},{watch:$},{formatNumber:C},R,,,,z])=>{function D(b=0,e=0){return{x:b,y:e}}var U=v`.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{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__heading{word-break:break-word}.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}.root{box-shadow:none!important;background:0 0}.root.esri-widget{box-shadow:none;background:0 0}.bar-container{align-items:flex-end;font-size:var(--calcite-font-size-sm);transition:width .25s ease-in-out;display:flex;position:relative}.bar-container-ruler{flex-direction:column}.ruler{--color-ruler-background: var(--calcite-color-inverse);--color-ruler-foreground: var(--calcite-color-foreground-1);height:var(--calcite-spacing-xs);box-shadow:0 0 0 1px var(--calcite-color-text-1),0 1px 2px var(--calcite-color-foreground-1)}.ruler:before,.ruler:after{content:"";display:block;height:50%;background-image:linear-gradient(to right,var(--color-ruler-foreground) 0%,var(--color-ruler-foreground) 25%,var(--color-ruler-background) 25%,var(--color-ruler-background) 50%,var(--color-ruler-foreground) 50%,var(--color-ruler-foreground) 75%,var(--color-ruler-background) 75%,var(--color-ruler-background) 100%)}.ruler:after{transform:scaleX(-1)}.bar-container-line:last-child{align-items:flex-start}.line{--line-thickness: var(--calcite-border-width-md);--tic-height: 1.5em;--border-style: var(--line-thickness) solid var(--calcite-color-text-1);background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);height:var(--tic-height);position:relative;left:0}.line-top{border-bottom:var(--border-style)}.line-bottom{border-top:var(--border-style);top:calc(-1 * var(--line-thickness))}.line-top:before,.line-top:after,.line-bottom:before,.line-bottom:after{content:"";background-color:color-mix(in srgb,var(--calcite-color-foreground-1) 50%,transparent);border-right:var(--border-style);width:1px;height:var(--tic-height);display:block;position:absolute}.line-top:before{bottom:calc(-1 * var(--line-thickness));left:0}.line-top:after{bottom:calc(-1 * var(--line-thickness));right:0}.line-bottom:before{top:calc(-1 * var(--line-thickness));left:0}.line-bottom:after{height:var(--tic-height);top:calc(-1 * var(--line-thickness));right:0}.label-container-line{position:absolute;left:0}.label-container-ruler{justify-content:space-between;width:100%;display:flex;position:relative}.label-container-ruler .label{text-shadow:1px 0 var(--calcite-color-foreground-1),0 1px var(--calcite-color-foreground-1),1px 1px var(--calcite-color-foreground-1),-1px 0 var(--calcite-color-foreground-1),0 -1px var(--calcite-color-foreground-1),-1px -1px var(--calcite-color-foreground-1);padding:6px 0 0}.label-container-top{bottom:0}.label-container-bottom{top:1px}.label{white-space:nowrap;color:var(--calcite-color-text-1);font-size:inherit;padding:0 7px;font-weight:var(--calcite-font-weight-semibold)}:dir(rtl) .ruler{margin:0 .5ch 0 2ch}:dir(rtl) .label-container-line{left:auto;right:0}`,E=z(R),f=class extends x{constructor(){super(...arguments),this._defaultUnit="metric",this.messages=k(),this.viewModel=E(this),this.view=this.viewModel.view,this.autoDestroyDisabled=!1,this.barStyle="line",this.icon="actual-size",this.arcgisReady=_()}static{this.properties={view:0,autoDestroyDisabled:5,barStyle:1,icon:1,label:1,messageOverrides:0,referenceElement:1,unit:1}}static{this.styles=U}get unit(){return this._unit??this._defaultUnit}set unit(e){this._unit=e}async destroy(){await this.manager.destroy()}updated(){this._handleRootCreateOrUpdate()}loaded(){this.manager.onLifecycle(()=>$(()=>({defaultUnit:this.viewModel.view?M(this.viewModel.view):void 0,stationary:this.viewModel.view?.stationary,center:this.viewModel.view?.center,scale:this.viewModel.view?.scale,zoom:this.viewModel.view?.zoom}),({defaultUnit:e,stationary:i})=>{this._defaultUnit=e??"metric",i&&this.requestUpdate()},{initial:!0}))}_handleContainerRef(e){e!==void 0&&this._handleRootCreateOrUpdate()}_handleRootCreateOrUpdate(){let e=this.el;if(!this.viewModel&&!e.childElem)return;let i=e.childElem?.getBoundingClientRect();if(!i)return;let{scaleComputedFrom:r}=this.viewModel,a=i.left+window.pageXOffset,t=i.top+window.pageYOffset,o=D(a,t);(o.x!==r.x||o.y!==r.y)&&(this.viewModel.scaleComputedFrom=o)}_formatDistance(e,i){return C(e,{style:"unit",unit:i,unitDisplay:"short"})}render(){let e=this.viewModel.state==="disabled",i={[u.disabled]:e},r,a;if(!e){let{unit:t,barStyle:o}=this,g=t==="imperial"||t==="dual",p=t==="metric"||t==="dual",d=100,m=t==="dual"?"line":o;if(g){let n=this.viewModel.getScaleBarProperties(d,"imperial");n&&(a=m==="ruler"?this._renderRuler(n):this._renderLine(n,"bottom"))}if(p){let n=this.viewModel.getScaleBarProperties(d,"metric");n&&(r=m==="ruler"?this._renderRuler(n):this._renderLine(n,"top"))}}return c`<div class=${l(s("root",u.widget,i))} ${w(this._handleContainerRef)}>${r}${a}</div>`}_renderRuler(e){let{length:i,unit:r,value:a}=e,t=Math.round(i),o=this._formatDistance(a,r);return c`<div class=${l(s("bar-container","bar-container-ruler"))}><div class="ruler" style=${h({width:`${t}px`})}></div><div class=${l(s("label-container","label-container-ruler"))}><div class="label">0</div><div class="label">${o}</div></div></div>`}_renderLine(e,i){let{length:r,unit:a,value:t}=e,o=Math.round(r),g=this._formatDistance(t,a),p=c`<div class=${l(s("label-container","label-container-line",{"label-container-top":i==="top","label-container-bottom":i==="bottom"}))}><div class="label">${g}</div></div>`,d=c`<div class=${l(s("line",{"line-top":i==="top","line-bottom":i==="bottom"}))} style=${h({width:`${o}px`})}></div>`;return c`<div class=${l(s("bar-container","bar-container-line"))}>${[d,p]}</div>`}};y("arcgis-scale-bar",f);return f},"applications/Components/getDefaultUnits","core/reactiveUtils","intl","widgets/ScaleBar/ScaleBarViewModel",a,b,d,e)
@@ -1,2 +1,2 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/5.2/LICENSE.txt */
1
+ /* COPYRIGHT Esri - https://js.arcgis.com/6.0/LICENSE.txt */
2
2
  function a(t,n,r){return Math.max(n,Math.min(r,t))}export{a};