@esri/solutions-components 1.0.0-next.20250501.1 → 1.0.0-next.20250506

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 (706) hide show
  1. package/dist/cdn/{2XYGKVMI.js → 2BNBYNZL.js} +2 -2
  2. package/dist/cdn/{MYGCG5HU.js → 2CIE6LR3.js} +2 -2
  3. package/dist/cdn/{55L42YVM.js → 2EXNFW3A.js} +2 -2
  4. package/dist/cdn/{UE7MRJTV.js → 2FLOQCFJ.js} +2 -2
  5. package/dist/cdn/{4BFOGSD7.js → 2RC2UMSX.js} +2 -2
  6. package/dist/cdn/{PHRX37GL.js → 2YF54KJU.js} +2 -2
  7. package/dist/cdn/{EEGULFK4.js → 3A7FXKY2.js} +2 -2
  8. package/dist/cdn/{K2AEW6QQ.js → 3BXQBQ54.js} +2 -2
  9. package/dist/cdn/{44UGS6U3.js → 3CPIHDNH.js} +2 -2
  10. package/dist/cdn/3FZWNANP.js +4 -0
  11. package/dist/cdn/{42NO2VM2.js → 3GPZVEES.js} +2 -2
  12. package/dist/cdn/{I2FHSU7W.js → 3PIKDQ7B.js} +2 -2
  13. package/dist/cdn/3SG4KYD4.js +18 -0
  14. package/dist/cdn/{MKAKSQW7.js → 3TWUDXKA.js} +2 -2
  15. package/dist/cdn/{XIYFBERJ.js → 3VQLTGIB.js} +2 -2
  16. package/dist/cdn/{SXYVFJKU.js → 3X7CET35.js} +2 -2
  17. package/dist/cdn/{WKFO2RUX.js → 3ZRGEQCY.js} +2 -2
  18. package/dist/cdn/{7WQQZZLP.js → 472FBZK2.js} +1 -1
  19. package/dist/cdn/4A6QNOIE.js +4 -0
  20. package/dist/cdn/{TJNPKXSI.js → 4EGMVXYU.js} +4 -4
  21. package/dist/cdn/{HCELP62U.js → 4FALIKEZ.js} +2 -2
  22. package/dist/cdn/{KQRA5TYU.js → 4NJQRXPT.js} +2 -2
  23. package/dist/cdn/{HK5IZI5Z.js → 4NREZRZW.js} +2 -2
  24. package/dist/cdn/4OKIWPYX.js +4 -0
  25. package/dist/cdn/{R3N73BWH.js → 4WBS6U7F.js} +2 -2
  26. package/dist/cdn/{2QU3HOZH.js → 4ZCGTKRB.js} +2 -2
  27. package/dist/cdn/{5DMLAY7O.js → 4ZMC6JAM.js} +1 -1
  28. package/dist/cdn/{WZ5FDMXT.js → 54SRG2XP.js} +2 -2
  29. package/dist/cdn/{MWFRMEVF.js → 55MKMXGS.js} +1 -1
  30. package/dist/cdn/{HAGG3RYD.js → 5AT6U7IM.js} +2 -2
  31. package/dist/cdn/{LXNSX5GC.js → 5ATRS4TL.js} +3 -3
  32. package/dist/cdn/5BLFSPAT.js +4 -0
  33. package/dist/cdn/{VO7XJBPW.js → 5FCSNF7Z.js} +2 -2
  34. package/dist/cdn/{3QRK5WNP.js → 5FDGCTBP.js} +3 -3
  35. package/dist/cdn/{6K2PA3FB.js → 5FW2PG4A.js} +2 -2
  36. package/dist/cdn/{3YD5KBWQ.js → 5HT54T3T.js} +1 -1
  37. package/dist/cdn/5O4AB33V.js +4 -0
  38. package/dist/cdn/{46TJPKNY.js → 5XNVKERC.js} +1 -1
  39. package/dist/cdn/{APJDAB5T.js → 5YYG3KZ3.js} +2 -2
  40. package/dist/cdn/{34DVI6WH.js → 6BVRDKCQ.js} +2 -2
  41. package/dist/cdn/{S7DMVS57.js → 6L454NXU.js} +1 -1
  42. package/dist/cdn/{FBOWYGQD.js → 6MVFUDAF.js} +2 -2
  43. package/dist/cdn/{7ZIZFBYY.js → 6Q7ROHDK.js} +1 -1
  44. package/dist/cdn/{OTMBUW5V.js → 6UBVRTY3.js} +2 -2
  45. package/dist/cdn/{SZIWG7IM.js → 72OD3HKE.js} +2 -2
  46. package/dist/cdn/{TJ2UJ5M2.js → 735FUYLP.js} +2 -2
  47. package/dist/cdn/{DNP7Z6AL.js → 7BYZWZW5.js} +2 -2
  48. package/dist/cdn/{W3AKQ2QN.js → 7BZS2MB3.js} +1 -1
  49. package/dist/cdn/{OGB7O254.js → 7EMRFRMY.js} +2 -2
  50. package/dist/cdn/{CK6YOFSG.js → 7LHSSDR5.js} +2 -2
  51. package/dist/cdn/{ZW5YO4DP.js → 7RFDZNLL.js} +2 -2
  52. package/dist/cdn/{M3LX3IKJ.js → 7T43FSC7.js} +2 -2
  53. package/dist/cdn/{6ZRQCBMV.js → 7T7WF7EI.js} +1 -1
  54. package/dist/cdn/{R22Y543P.js → 7YWBSS6J.js} +2 -2
  55. package/dist/cdn/{3FZHZ2IN.js → A4KYPGE5.js} +2 -2
  56. package/dist/cdn/{WKHWO7PP.js → A5UPNZVE.js} +2 -2
  57. package/dist/cdn/A6GN4AGX.js +9 -0
  58. package/dist/cdn/{R6YADSJG.js → AD46D2SM.js} +2 -2
  59. package/dist/cdn/{WH474D65.js → AD55O7ES.js} +2 -2
  60. package/dist/cdn/{M73YHO37.js → AIOO2QWL.js} +2 -2
  61. package/dist/cdn/{JSLAGZEI.js → AQ66RIGB.js} +1 -1
  62. package/dist/cdn/{TRB4RXO2.js → AREJ3VDO.js} +1 -1
  63. package/dist/cdn/ARLUTHYH.js +4 -0
  64. package/dist/cdn/{WP5XQ4DT.js → AY3QSNRE.js} +2 -2
  65. package/dist/cdn/{76ZHXQ5P.js → AYJVDDFY.js} +2 -2
  66. package/dist/cdn/{EXT55FWG.js → BCQHCY5J.js} +2 -2
  67. package/dist/cdn/{WWOWRJ32.js → BE3YZGYN.js} +2 -2
  68. package/dist/cdn/BM3NZBB5.js +18 -0
  69. package/dist/cdn/{4K7M7ZQ3.js → BOFSVHG2.js} +2 -2
  70. package/dist/cdn/{TFRZL4EC.js → BUL7XHMT.js} +2 -2
  71. package/dist/cdn/{2C57RBI5.js → BVCZUB6R.js} +3 -3
  72. package/dist/cdn/{TMAKEW62.js → BVQYLN5G.js} +1 -1
  73. package/dist/cdn/{LOYETYKV.js → BY66JXUA.js} +2 -2
  74. package/dist/cdn/{6FVY7QMN.js → C6ZAXIN6.js} +2 -2
  75. package/dist/cdn/{JBDRTLXO.js → CB7FE7TZ.js} +2 -2
  76. package/dist/cdn/{54F6FEYA.js → CD63U7CH.js} +2 -2
  77. package/dist/cdn/{LEUE4A7G.js → CDLBM5OZ.js} +2 -2
  78. package/dist/cdn/{AA7ZOXAH.js → CE6F7GKW.js} +2 -2
  79. package/dist/cdn/{T7GZUTHH.js → CLPKSXFK.js} +1 -1
  80. package/dist/cdn/{AUPHHHE2.js → CLQIEIJQ.js} +1 -1
  81. package/dist/cdn/CRCAD7BU.js +4 -0
  82. package/dist/cdn/{GSK6MI4V.js → CZ7QSRM3.js} +2 -2
  83. package/dist/cdn/{G7MUJYUQ.js → D3QJCJFO.js} +2 -2
  84. package/dist/cdn/{KRYPAQ3V.js → D3XWHE4G.js} +2 -2
  85. package/dist/cdn/{VDQ3CIF6.js → DCT33VJ3.js} +2 -2
  86. package/dist/cdn/DGCQZ6RA.js +4 -0
  87. package/dist/cdn/{WSBY7R3N.js → DJYP6V6T.js} +2 -2
  88. package/dist/cdn/{A53RY67S.js → DY5UIEJA.js} +2 -2
  89. package/dist/cdn/EBQ6BYPP.js +18 -0
  90. package/dist/cdn/{COO74PLS.js → EBSDJW3N.js} +2 -2
  91. package/dist/cdn/{SK4HOTRH.js → EBSKW3LL.js} +2 -2
  92. package/dist/cdn/{CMF6LDBR.js → EVZ2UXRX.js} +2 -2
  93. package/dist/cdn/{D7RN32CF.js → F5E6TK4C.js} +2 -2
  94. package/dist/cdn/{TXHJL574.js → FDLJGA75.js} +2 -2
  95. package/dist/cdn/{PFBJJBFN.js → FE2BUSRT.js} +2 -2
  96. package/dist/cdn/{PRGLDAAF.js → FN4YCITS.js} +2 -2
  97. package/dist/cdn/{7YDOYPIR.js → FNPIEXII.js} +2 -2
  98. package/dist/cdn/{GKDOBPIL.js → FT4IQX2Z.js} +2 -2
  99. package/dist/cdn/{ESF5DKBG.js → FTVZ2Y4Y.js} +2 -2
  100. package/dist/cdn/{CTTMT6VX.js → G5VNHWHQ.js} +6 -6
  101. package/dist/cdn/{O2BCL7OO.js → GBBL6RYB.js} +2 -2
  102. package/dist/cdn/{AWZIS4B2.js → GCXOG3FT.js} +2 -2
  103. package/dist/cdn/{EVNN74SW.js → GHUCQESF.js} +2 -2
  104. package/dist/cdn/{Q4366DLL.js → GJ4TW7CF.js} +2 -2
  105. package/dist/cdn/{O5IREWKJ.js → GLZ263ZP.js} +1 -1
  106. package/dist/cdn/{AO7ARCIR.js → GRH3FNUR.js} +2 -2
  107. package/dist/cdn/{WYPYO2VQ.js → H2VXOJH7.js} +2 -2
  108. package/dist/cdn/{6BIAHCPG.js → H3PEVOTC.js} +2 -2
  109. package/dist/cdn/{2C57RBI5.js.LEGAL.txt → H5DJ47IK.js} +1 -1
  110. package/dist/cdn/{NSDF5N7C.js → HBAHYGF7.js} +2 -2
  111. package/dist/cdn/{WIIRZMUB.js → HEOEJ7XC.js} +2 -2
  112. package/dist/cdn/{GLZYDVD7.js → HGKMH45K.js} +2 -2
  113. package/dist/cdn/{2BKHL2W2.js → HK5BM2IR.js} +2 -2
  114. package/dist/cdn/{TPFUNAZK.js → HKSIUKXF.js} +1 -1
  115. package/dist/cdn/{HJ5RNDHX.js → HLIZJTZF.js} +3 -3
  116. package/dist/cdn/{ROJP3BVV.js → HNVWWRBO.js} +2 -2
  117. package/dist/cdn/{JX6PKGNK.js → I5TLTNQV.js} +2 -2
  118. package/dist/cdn/{P5VRMQGO.js → I6YHTRIM.js} +2 -2
  119. package/dist/cdn/{LD4NPNXI.js → I7EFEOUT.js} +2 -2
  120. package/dist/cdn/{MMEXN3JJ.js → I7MNDC3F.js} +2 -2
  121. package/dist/cdn/{B4AN7EIK.js → IHD5L26J.js} +2 -2
  122. package/dist/cdn/{GHBRSRHR.js → J3MLABD7.js} +2 -2
  123. package/dist/cdn/{NIPQB2A6.js → J3QWUVMY.js} +2 -2
  124. package/dist/cdn/{5ECSGZTG.js → JDW5U5DH.js} +1 -1
  125. package/dist/cdn/JJG25DHQ.js +18 -0
  126. package/dist/cdn/{WLS6FMCQ.js → JPZXVCEU.js} +1 -1
  127. package/dist/cdn/{XJWRTXYA.js → JSC6Q76O.js} +2 -2
  128. package/dist/cdn/{KSLUWU76.js → JSS75EUB.js} +2 -2
  129. package/dist/cdn/{JNSUSFC4.js → JT5QQSZM.js} +2 -2
  130. package/dist/cdn/{BJM5URMJ.js → JXNAB5WB.js} +2 -2
  131. package/dist/cdn/{2OUZZH5F.js → K33KLMEF.js} +2 -2
  132. package/dist/cdn/{IZUA3C3T.js → KBPHRWS4.js} +2 -2
  133. package/dist/cdn/{LV2TLK37.js → KBZQB5ZG.js} +2 -2
  134. package/dist/cdn/KC63JROC.js +4 -0
  135. package/dist/cdn/{GBSVVPRB.js → KDSQ5CZA.js} +2 -2
  136. package/dist/cdn/KIDIMMPV.js +25 -0
  137. package/dist/cdn/{HSTIKC26.js → KJ64N7XQ.js} +2 -2
  138. package/dist/cdn/{2KH5COX3.js → KO2M3OMZ.js} +2 -2
  139. package/dist/cdn/{BXEUPCWA.js → KP4M7FMS.js} +1 -1
  140. package/dist/cdn/{KCQN2FTO.js → KP5OJ3ZT.js} +2 -2
  141. package/dist/cdn/KTLARGFA.js +18 -0
  142. package/dist/cdn/{TQKSLOZN.js → LAL3OHQ7.js} +1 -1
  143. package/dist/cdn/{UFY6HRGR.js → LBHMN5IN.js} +2 -2
  144. package/dist/cdn/{MYKH54YC.js → LFLMQMLV.js} +2 -2
  145. package/dist/cdn/{3ZSWLY6T.js → LGQBFWDJ.js} +2 -2
  146. package/dist/cdn/LHDUZO7G.js +4 -0
  147. package/dist/cdn/{GKBSDRDK.js → LHPBHUX2.js} +2 -2
  148. package/dist/cdn/{YDQQI3ML.js → LKBK7FXJ.js} +2 -2
  149. package/dist/cdn/{BWJJNSBT.js → LMPILBZH.js} +3 -3
  150. package/dist/cdn/{DGMZ6QXM.js → LWHYYFKA.js} +2 -2
  151. package/dist/cdn/{N3OGD5JL.js → M4DFLFMZ.js} +2 -2
  152. package/dist/cdn/{VPBJWSZ5.js → MALANZ3X.js} +2 -2
  153. package/dist/cdn/{HYDYMELB.js → MCEPX3HS.js} +2 -2
  154. package/dist/cdn/{R45VSIPD.js → MJSJKWQE.js} +1 -1
  155. package/dist/cdn/{MX3QK4BD.js → MMQJDH4M.js} +3 -3
  156. package/dist/cdn/{QPVCT46N.js → MN3WPQFX.js} +2 -2
  157. package/dist/cdn/{XRGC4MMG.js → MOBCKLO5.js} +2 -2
  158. package/dist/cdn/{GG27ACFI.js → MPAYLI27.js} +2 -2
  159. package/dist/cdn/MRQ546N3.js +8 -0
  160. package/dist/cdn/{WSFOZXFE.js → MW3SBXWD.js} +1 -1
  161. package/dist/cdn/{BGKV42DN.js → N4YIU2XQ.js} +2 -2
  162. package/dist/cdn/{MK7XBGW3.js → NFBSLKRV.js} +2 -2
  163. package/dist/cdn/{7LZMV6CE.js → NHIIJKLQ.js} +2 -2
  164. package/dist/cdn/{2OJ7UM6M.js → NVFYR6WF.js} +2 -2
  165. package/dist/cdn/{2LCKJUCI.js → NYXG3TT3.js} +2 -2
  166. package/dist/cdn/O2MAWXMU.js +4 -0
  167. package/dist/cdn/{TRSIPJC6.js → O4B2DT7W.js} +2 -2
  168. package/dist/cdn/O7GA42LQ.js +18 -0
  169. package/dist/cdn/{2PYO5DQ6.js → OI4YQ3XL.js} +2 -2
  170. package/dist/cdn/{ENUDMNIE.js → OMJNNLKQ.js} +3 -3
  171. package/dist/cdn/{HYVHA4FY.js → OOMZPP3K.js} +2 -2
  172. package/dist/cdn/{2VZGDCVN.js → OOVTB7G5.js} +2 -2
  173. package/dist/cdn/{ZB7B53HR.js → OQPGXB2C.js} +2 -2
  174. package/dist/cdn/{SWZWQRLB.js → ORCWQHX7.js} +2 -2
  175. package/dist/cdn/{O6BV4GPQ.js → OWEVUGJE.js} +2 -2
  176. package/dist/cdn/{CEWTTZUS.js → OWJHYCCR.js} +2 -2
  177. package/dist/cdn/{YE6E2BT6.js → P22XPKGL.js} +2 -2
  178. package/dist/cdn/{ZU4TTJP2.js → PD6S74N6.js} +2 -2
  179. package/dist/cdn/{ZML4232C.js → PNYR3EK6.js} +1 -1
  180. package/dist/cdn/{7N54X5AD.js → PRRNPYDZ.js} +1 -1
  181. package/dist/cdn/{DXQKJY5N.js → Q6QSFU5G.js} +2 -2
  182. package/dist/cdn/{WKKTZWYF.js → QAHXORCG.js} +2 -2
  183. package/dist/cdn/{2TRYHNAQ.js → QANVXL5I.js} +1 -1
  184. package/dist/cdn/{322K3SOO.js → QFH4HW4C.js} +2 -2
  185. package/dist/cdn/QGQLOURY.js +4 -0
  186. package/dist/cdn/{ESK6OHUN.js → QL7QVIQU.js} +1 -1
  187. package/dist/cdn/{OY6GGSCZ.js → QLHSQI3A.js} +2 -2
  188. package/dist/cdn/{22766OH7.js → QLPHOVPS.js} +2 -2
  189. package/dist/cdn/{XUZO7LAS.js → QLPVPSY7.js} +1 -1
  190. package/dist/cdn/{O4VZYHOJ.js → QNADLQ7I.js} +2 -2
  191. package/dist/cdn/{IJ74774M.js → QSDCS2V6.js} +2 -2
  192. package/dist/cdn/{XCPRA7LM.js → QSVT2DE7.js} +2 -2
  193. package/dist/cdn/{YAR2GV2A.js → QVHT3S4J.js} +2 -2
  194. package/dist/cdn/{DUGXKEJO.js → QZ2OG4ZJ.js} +2 -2
  195. package/dist/cdn/{ZGAAVSNN.js → R2NGOWNQ.js} +2 -2
  196. package/dist/cdn/R6NRJXSL.js +4 -0
  197. package/dist/cdn/{53FQYX5H.js → RBSL4YEZ.js} +2 -2
  198. package/dist/cdn/{7C54RIKB.js → RCWM332G.js} +2 -2
  199. package/dist/cdn/{MPVIIZEA.js → RJRX6YJH.js} +2 -2
  200. package/dist/cdn/{VZ2W4YKN.js → RKQKF2D5.js} +2 -2
  201. package/dist/cdn/{6GYUNHDH.js → RXICRR2Z.js} +2 -2
  202. package/dist/cdn/{AUYGSPKE.js → RXXW5VAY.js} +2 -2
  203. package/dist/cdn/{WEKUO2VU.js → S5W5A5J7.js} +2 -2
  204. package/dist/cdn/{XHMJBPMV.js → SDRMIMTR.js} +2 -2
  205. package/dist/cdn/{2BB5DIBK.js → SL4XZ3A5.js} +2 -2
  206. package/dist/cdn/{6DHIQIEH.js → STB44EY7.js} +1 -1
  207. package/dist/cdn/{73BC7MBM.js → STCY7MQT.js} +2 -2
  208. package/dist/cdn/{SJKTTY3N.js → STNI3XU5.js} +2 -2
  209. package/dist/cdn/{3GYA7KXY.js → T2KV5AD5.js} +2 -2
  210. package/dist/cdn/{IDWOAEMD.js → T77OJIMR.js} +2 -2
  211. package/dist/cdn/{KZN3RUJK.js → TE4BFLBG.js} +2 -2
  212. package/dist/cdn/{ABH3W56U.js → TEFM3AA3.js} +2 -2
  213. package/dist/cdn/{5YI5R2WO.js → TFL3T2ME.js} +2 -2
  214. package/dist/cdn/{O3WLWBNP.js → TK7AMW2A.js} +2 -2
  215. package/dist/cdn/{6PKXXMG2.js → TLLOLMEW.js} +2 -2
  216. package/dist/cdn/{LLIJ7Z4U.js → TU2V5WMX.js} +2 -2
  217. package/dist/cdn/{Q4KIQYU7.js → TU6P27JN.js} +2 -2
  218. package/dist/cdn/{GHCYH4VO.js → TUSBYZ4U.js} +2 -2
  219. package/dist/cdn/{L6BDEN2S.js → TWWXSJS5.js} +4 -4
  220. package/dist/cdn/{IRPEFZSQ.js → U4SXAT5F.js} +2 -2
  221. package/dist/cdn/{BTD3APL7.js → U7OA3Y5P.js} +2 -2
  222. package/dist/cdn/UBZEAPAX.js +18 -0
  223. package/dist/cdn/{UH7XUBQU.js → UCYOOMX5.js} +1 -1
  224. package/dist/cdn/UDHJ5CFN.js +4 -0
  225. package/dist/cdn/{KTM3K5IU.js → UG3LJWJU.js} +3 -3
  226. package/dist/cdn/UGLKEWDX.js +4 -0
  227. package/dist/cdn/{VS4MDZ35.js → ULKSAGQV.js} +2 -2
  228. package/dist/cdn/VBYD2OER.js +4 -0
  229. package/dist/cdn/{Q7UEJVBO.js → VDHBL26E.js} +2 -2
  230. package/dist/cdn/VG2YZYBI.js +4 -0
  231. package/dist/cdn/{5Z4JBIKS.js → VJBJUXPU.js} +2 -2
  232. package/dist/cdn/{SLDVKLZQ.js → VN4AH5OX.js} +2 -2
  233. package/dist/cdn/VTNNA7UU.js +4 -0
  234. package/dist/cdn/{43SAG5RR.js → VUO6JDGQ.js} +2 -2
  235. package/dist/cdn/{HKE2Q7CZ.js → VXWKIKTD.js} +2 -2
  236. package/dist/cdn/{FB5ZHS5O.js → VZOVLKJA.js} +2 -2
  237. package/dist/cdn/{TVPK2MIP.js → VZQJJJ7N.js} +2 -2
  238. package/dist/cdn/{ZOQYNMEP.js → W2IA7LER.js} +2 -2
  239. package/dist/cdn/{TA4GSV32.js → W2LECCSV.js} +1 -1
  240. package/dist/cdn/{5VVMS46I.js → WBFFCQWF.js} +2 -2
  241. package/dist/cdn/WFJQLKTW.js +6 -0
  242. package/dist/cdn/{ZZOCSPXM.js → WIGPC3KR.js} +2 -2
  243. package/dist/cdn/{Z5PZ6FMA.js → WLPQLTES.js} +2 -2
  244. package/dist/cdn/WLUGQLQU.js +4 -0
  245. package/dist/cdn/{VW7MOUFV.js → WRAEKXFO.js} +2 -2
  246. package/dist/cdn/WT4NOXZO.js +4 -0
  247. package/dist/cdn/{FFW5OHCB.js → X2EMSYIO.js} +2 -2
  248. package/dist/cdn/{ZZH5J3U4.js → XB53RDG3.js} +2 -2
  249. package/dist/cdn/{YOUSAPL3.js → XEPFDR33.js} +2 -2
  250. package/dist/cdn/{PADMJS2B.js → XIJKTNHS.js} +2 -2
  251. package/dist/cdn/{GHW5LEGA.js → XK7RUU5U.js} +2 -2
  252. package/dist/cdn/XPN5427G.js +4 -0
  253. package/dist/cdn/YAAHEQLO.js +4 -0
  254. package/dist/cdn/{L6KLN34F.js → YBNSJHOY.js} +2 -2
  255. package/dist/cdn/{26STIPX4.js → YBUDPKCM.js} +1 -1
  256. package/dist/cdn/{W5LVWH37.js → YDJNMGKZ.js} +2 -2
  257. package/dist/cdn/{W76TCV4C.js → YGLJWGAU.js} +2 -2
  258. package/dist/cdn/{NTX6LIB3.js → YL7EG5AA.js} +1 -1
  259. package/dist/cdn/{72S7VOBU.js → YQGEIDBI.js} +2 -2
  260. package/dist/cdn/{XQBASMJ4.js → YYBBUCKA.js} +2 -2
  261. package/dist/cdn/{UVJAK4O2.js → Z3PMA3N3.js} +1 -1
  262. package/dist/cdn/{232TPVWZ.js → ZBFSMOWC.js} +2 -2
  263. package/dist/cdn/{ROKV4HKO.js → ZINUZJUT.js} +1 -1
  264. package/dist/cdn/{WGCV6GTL.js → ZLHIEPB4.js} +2 -2
  265. package/dist/cdn/{IXTE7FV7.js → ZVA5E3YN.js} +2 -2
  266. package/dist/cdn/{X2XCOBZY.js → ZXUZYZ63.js} +2 -2
  267. package/dist/cdn/index.esm.js +2 -2
  268. package/dist/chunks/common.js +1 -1
  269. package/dist/chunks/downloadUtils.js +1 -1
  270. package/dist/chunks/index.js +405 -313
  271. package/dist/chunks/interfaces.js +1 -1
  272. package/dist/chunks/loadModules.js +1 -1
  273. package/dist/chunks/mapViewUtils.js +1 -1
  274. package/dist/chunks/pciUtils.js +1 -1
  275. package/dist/chunks/popupUtils.js +1 -1
  276. package/dist/chunks/publicNotificationStore.js +1 -1
  277. package/dist/chunks/queryUtils.js +1 -1
  278. package/dist/chunks/runtime.js +1 -1
  279. package/dist/chunks/solution-store.js +1 -1
  280. package/dist/chunks/templates.js +1 -1
  281. package/dist/chunks/useT9n.js +1 -1
  282. package/dist/components/arcgis-solution-assistant/customElement.d.ts +1 -0
  283. package/dist/components/arcgis-solution-assistant/customElement.js +1 -5
  284. package/dist/components/basemap-gallery/customElement.js +1 -25
  285. package/dist/components/buffer-tools/customElement.d.ts +36 -7
  286. package/dist/components/buffer-tools/customElement.js +1 -91
  287. package/dist/components/card-manager/customElement.d.ts +36 -8
  288. package/dist/components/card-manager/customElement.js +1 -41
  289. package/dist/components/consent-manager/customElement.d.ts +21 -4
  290. package/dist/components/consent-manager/customElement.js +1392 -1458
  291. package/dist/components/create-feature/customElement.d.ts +37 -7
  292. package/dist/components/create-feature/customElement.js +2 -106
  293. package/dist/components/create-related-feature/customElement.d.ts +12 -2
  294. package/dist/components/create-related-feature/customElement.js +1 -65
  295. package/dist/components/crowdsource-manager/customElement.d.ts +148 -28
  296. package/dist/components/crowdsource-manager/customElement.js +5 -213
  297. package/dist/components/crowdsource-reporter/customElement.d.ts +160 -32
  298. package/dist/components/crowdsource-reporter/customElement.js +1 -432
  299. package/dist/components/deduct-calculator/customElement.js +1 -46
  300. package/dist/components/delete-button/customElement.d.ts +16 -4
  301. package/dist/components/delete-button/customElement.js +1 -39
  302. package/dist/components/delete-dialog/customElement.d.ts +6 -2
  303. package/dist/components/delete-dialog/customElement.js +2 -17
  304. package/dist/components/edit-card/customElement.d.ts +20 -4
  305. package/dist/components/edit-card/customElement.js +1 -34
  306. package/dist/components/feature-details/customElement.d.ts +15 -3
  307. package/dist/components/feature-details/customElement.js +1 -82
  308. package/dist/components/feature-list/customElement.d.ts +65 -13
  309. package/dist/components/feature-list/customElement.js +2 -154
  310. package/dist/components/field-selection/customElement.js +1 -58
  311. package/dist/components/floor-filter/customElement.d.ts +5 -1
  312. package/dist/components/floor-filter/customElement.js +1 -35
  313. package/dist/components/info-card/customElement.d.ts +45 -9
  314. package/dist/components/info-card/customElement.js +2 -92
  315. package/dist/components/json-editor/customElement.d.ts +11 -1
  316. package/dist/components/json-editor/customElement.js +1 -137
  317. package/dist/components/layer-list/customElement.d.ts +20 -4
  318. package/dist/components/layer-list/customElement.js +1 -80
  319. package/dist/components/layer-table/customElement.d.ts +74 -16
  320. package/dist/components/layer-table/customElement.js +2 -345
  321. package/dist/components/map-card/customElement.d.ts +98 -18
  322. package/dist/components/map-card/customElement.js +1 -131
  323. package/dist/components/map-draw-tools/customElement.d.ts +22 -4
  324. package/dist/components/map-draw-tools/customElement.js +1 -94
  325. package/dist/components/map-fullscreen/customElement.js +1 -37
  326. package/dist/components/map-layer-picker/customElement.d.ts +52 -10
  327. package/dist/components/map-layer-picker/customElement.js +1 -115
  328. package/dist/components/map-legend/customElement.js +1 -25
  329. package/dist/components/map-picker/customElement.d.ts +5 -1
  330. package/dist/components/map-picker/customElement.js +1 -53
  331. package/dist/components/map-search/customElement.d.ts +12 -2
  332. package/dist/components/map-search/customElement.js +2 -44
  333. package/dist/components/map-select-tools/customElement.d.ts +47 -9
  334. package/dist/components/map-select-tools/customElement.js +2 -198
  335. package/dist/components/map-tools/customElement.d.ts +51 -9
  336. package/dist/components/map-tools/customElement.js +1 -66
  337. package/dist/components/pci-calculator/customElement.js +1 -58
  338. package/dist/components/pdf-download/customElement.d.ts +5 -1
  339. package/dist/components/pdf-download/customElement.js +1 -55
  340. package/dist/components/public-notification/customElement.d.ts +69 -13
  341. package/dist/components/public-notification/customElement.js +5 -350
  342. package/dist/components/refine-selection/customElement.js +1 -97
  343. package/dist/components/solution-arcticle-card/customElement.js +1 -37
  344. package/dist/components/solution-card/customElement.js +1 -37
  345. package/dist/components/solution-configuration/customElement.d.ts +11 -2
  346. package/dist/components/solution-configuration/customElement.js +1 -114
  347. package/dist/components/solution-contents/customElement.d.ts +9 -3
  348. package/dist/components/solution-contents/customElement.js +1 -13
  349. package/dist/components/solution-delete-dialog/customElement.js +1 -37
  350. package/dist/components/solution-deploy-dialog/customElement.js +1 -37
  351. package/dist/components/solution-deploy-panel/customElement.js +1 -37
  352. package/dist/components/solution-deployed-card/customElement.js +1 -37
  353. package/dist/components/solution-deployed-panel/customElement.js +1 -37
  354. package/dist/components/solution-deploying-panel/customElement.js +1 -37
  355. package/dist/components/solution-item/customElement.d.ts +15 -3
  356. package/dist/components/solution-item/customElement.js +1 -41
  357. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  358. package/dist/components/solution-item-accordion/customElement.js +1 -92
  359. package/dist/components/solution-item-details/customElement.d.ts +5 -1
  360. package/dist/components/solution-item-details/customElement.js +1 -48
  361. package/dist/components/solution-item-icon/customElement.d.ts +14 -4
  362. package/dist/components/solution-item-icon/customElement.js +1 -51
  363. package/dist/components/solution-item-sharing/customElement.d.ts +5 -1
  364. package/dist/components/solution-item-sharing/customElement.js +1 -39
  365. package/dist/components/solution-organization-variables/customElement.d.ts +5 -1
  366. package/dist/components/solution-organization-variables/customElement.js +1 -31
  367. package/dist/components/solution-resource-item/customElement.d.ts +2 -0
  368. package/dist/components/solution-resource-item/customElement.js +1 -87
  369. package/dist/components/solution-spatial-ref/customElement.d.ts +10 -2
  370. package/dist/components/solution-spatial-ref/customElement.js +1 -64
  371. package/dist/components/solution-template-data/customElement.d.ts +15 -7
  372. package/dist/components/solution-template-data/customElement.js +1 -29
  373. package/dist/components/solution-variables/customElement.d.ts +5 -1
  374. package/dist/components/solution-variables/customElement.js +1 -34
  375. package/dist/components/solutions-article-panel/customElement.js +1 -37
  376. package/dist/components/solutions-articles/customElement.js +1 -37
  377. package/dist/components/solutions-articles-shell/customElement.js +1 -37
  378. package/dist/components/solutions-deployed-panel/customElement.js +1 -37
  379. package/dist/components/solutions-deployed-shell/customElement.js +1 -37
  380. package/dist/components/solutions-filter/customElement.js +1 -37
  381. package/dist/components/solutions-panel/customElement.js +1 -38
  382. package/dist/components/solutions-shell/customElement.js +1 -37
  383. package/dist/components/spatial-ref/customElement.d.ts +10 -2
  384. package/dist/components/spatial-ref/customElement.js +1 -75
  385. package/dist/components/store-manager/customElement.d.ts +5 -1
  386. package/dist/components/store-manager/customElement.js +1 -26
  387. package/dist/docs/api.json +8 -8
  388. package/dist/docs/docs.json +20 -20
  389. package/dist/docs/web-types.json +8 -8
  390. package/dist/index.js +1 -1
  391. package/dist/loader.js +1 -1
  392. package/dist/utils/mapViewUtils.d.ts +3 -3
  393. package/dist/utils/queryUtils.d.ts +4 -4
  394. package/package.json +4 -22
  395. package/dist/cdn/22766OH7.js.LEGAL.txt +0 -0
  396. package/dist/cdn/232TPVWZ.js.LEGAL.txt +0 -0
  397. package/dist/cdn/26KK2VF2.js +0 -4
  398. package/dist/cdn/26KK2VF2.js.LEGAL.txt +0 -0
  399. package/dist/cdn/26STIPX4.js.LEGAL.txt +0 -0
  400. package/dist/cdn/2BB5DIBK.js.LEGAL.txt +0 -0
  401. package/dist/cdn/2BKHL2W2.js.LEGAL.txt +0 -0
  402. package/dist/cdn/2KH5COX3.js.LEGAL.txt +0 -0
  403. package/dist/cdn/2LCKJUCI.js.LEGAL.txt +0 -0
  404. package/dist/cdn/2OJ7UM6M.js.LEGAL.txt +0 -3
  405. package/dist/cdn/2OUZZH5F.js.LEGAL.txt +0 -0
  406. package/dist/cdn/2PYO5DQ6.js.LEGAL.txt +0 -3
  407. package/dist/cdn/2QU3HOZH.js.LEGAL.txt +0 -0
  408. package/dist/cdn/2RUSM53S.js +0 -18
  409. package/dist/cdn/2RUSM53S.js.LEGAL.txt +0 -3
  410. package/dist/cdn/2TRYHNAQ.js.LEGAL.txt +0 -0
  411. package/dist/cdn/2VZGDCVN.js.LEGAL.txt +0 -3
  412. package/dist/cdn/2XYGKVMI.js.LEGAL.txt +0 -0
  413. package/dist/cdn/322K3SOO.js.LEGAL.txt +0 -27
  414. package/dist/cdn/34DVI6WH.js.LEGAL.txt +0 -0
  415. package/dist/cdn/3FZHZ2IN.js.LEGAL.txt +0 -3
  416. package/dist/cdn/3GYA7KXY.js.LEGAL.txt +0 -19
  417. package/dist/cdn/3QRK5WNP.js.LEGAL.txt +0 -3
  418. package/dist/cdn/3YD5KBWQ.js.LEGAL.txt +0 -0
  419. package/dist/cdn/3ZSWLY6T.js.LEGAL.txt +0 -0
  420. package/dist/cdn/42NO2VM2.js.LEGAL.txt +0 -14
  421. package/dist/cdn/43SAG5RR.js.LEGAL.txt +0 -0
  422. package/dist/cdn/44UGS6U3.js.LEGAL.txt +0 -0
  423. package/dist/cdn/46TJPKNY.js.LEGAL.txt +0 -0
  424. package/dist/cdn/4BFOGSD7.js.LEGAL.txt +0 -0
  425. package/dist/cdn/4K7M7ZQ3.js.LEGAL.txt +0 -3
  426. package/dist/cdn/4V4FINZ6.js +0 -25
  427. package/dist/cdn/4V4FINZ6.js.LEGAL.txt +0 -7
  428. package/dist/cdn/53FQYX5H.js.LEGAL.txt +0 -3
  429. package/dist/cdn/54F6FEYA.js.LEGAL.txt +0 -3
  430. package/dist/cdn/55L42YVM.js.LEGAL.txt +0 -3
  431. package/dist/cdn/5DMLAY7O.js.LEGAL.txt +0 -0
  432. package/dist/cdn/5ECSGZTG.js.LEGAL.txt +0 -19
  433. package/dist/cdn/5K4R3YLU.js +0 -4
  434. package/dist/cdn/5K4R3YLU.js.LEGAL.txt +0 -0
  435. package/dist/cdn/5PHGREB2.js +0 -4
  436. package/dist/cdn/5PHGREB2.js.LEGAL.txt +0 -0
  437. package/dist/cdn/5VVMS46I.js.LEGAL.txt +0 -0
  438. package/dist/cdn/5YI5R2WO.js.LEGAL.txt +0 -0
  439. package/dist/cdn/5Z4JBIKS.js.LEGAL.txt +0 -3
  440. package/dist/cdn/6BIAHCPG.js.LEGAL.txt +0 -3
  441. package/dist/cdn/6DHIQIEH.js.LEGAL.txt +0 -0
  442. package/dist/cdn/6FVY7QMN.js.LEGAL.txt +0 -0
  443. package/dist/cdn/6GYUNHDH.js.LEGAL.txt +0 -0
  444. package/dist/cdn/6K2PA3FB.js.LEGAL.txt +0 -0
  445. package/dist/cdn/6PKXXMG2.js.LEGAL.txt +0 -0
  446. package/dist/cdn/6Q5GNZGO.js +0 -4
  447. package/dist/cdn/6Q5GNZGO.js.LEGAL.txt +0 -3
  448. package/dist/cdn/6ZRQCBMV.js.LEGAL.txt +0 -0
  449. package/dist/cdn/72S7VOBU.js.LEGAL.txt +0 -0
  450. package/dist/cdn/73BC7MBM.js.LEGAL.txt +0 -0
  451. package/dist/cdn/76ZHXQ5P.js.LEGAL.txt +0 -0
  452. package/dist/cdn/7C54RIKB.js.LEGAL.txt +0 -0
  453. package/dist/cdn/7LZMV6CE.js.LEGAL.txt +0 -0
  454. package/dist/cdn/7N54X5AD.js.LEGAL.txt +0 -0
  455. package/dist/cdn/7WQQZZLP.js.LEGAL.txt +0 -0
  456. package/dist/cdn/7YDOYPIR.js.LEGAL.txt +0 -3
  457. package/dist/cdn/7ZIZFBYY.js.LEGAL.txt +0 -0
  458. package/dist/cdn/A53RY67S.js.LEGAL.txt +0 -0
  459. package/dist/cdn/AA7ZOXAH.js.LEGAL.txt +0 -0
  460. package/dist/cdn/AAHUJR53.js +0 -4
  461. package/dist/cdn/AAHUJR53.js.LEGAL.txt +0 -0
  462. package/dist/cdn/ABH3W56U.js.LEGAL.txt +0 -19
  463. package/dist/cdn/AO7ARCIR.js.LEGAL.txt +0 -0
  464. package/dist/cdn/APJDAB5T.js.LEGAL.txt +0 -3
  465. package/dist/cdn/AUPHHHE2.js.LEGAL.txt +0 -19
  466. package/dist/cdn/AUYGSPKE.js.LEGAL.txt +0 -0
  467. package/dist/cdn/AWZIS4B2.js.LEGAL.txt +0 -0
  468. package/dist/cdn/B4AN7EIK.js.LEGAL.txt +0 -0
  469. package/dist/cdn/BGKV42DN.js.LEGAL.txt +0 -3
  470. package/dist/cdn/BJM5URMJ.js.LEGAL.txt +0 -0
  471. package/dist/cdn/BOTZPFN6.js +0 -18
  472. package/dist/cdn/BOTZPFN6.js.LEGAL.txt +0 -3
  473. package/dist/cdn/BTD3APL7.js.LEGAL.txt +0 -0
  474. package/dist/cdn/BWJJNSBT.js.LEGAL.txt +0 -3
  475. package/dist/cdn/BXEUPCWA.js.LEGAL.txt +0 -0
  476. package/dist/cdn/CEWTTZUS.js.LEGAL.txt +0 -0
  477. package/dist/cdn/CK6YOFSG.js.LEGAL.txt +0 -0
  478. package/dist/cdn/CMF6LDBR.js.LEGAL.txt +0 -0
  479. package/dist/cdn/COO74PLS.js.LEGAL.txt +0 -4
  480. package/dist/cdn/CTTMT6VX.js.LEGAL.txt +0 -17
  481. package/dist/cdn/D7RN32CF.js.LEGAL.txt +0 -0
  482. package/dist/cdn/DGMZ6QXM.js.LEGAL.txt +0 -3
  483. package/dist/cdn/DNP7Z6AL.js.LEGAL.txt +0 -0
  484. package/dist/cdn/DUGXKEJO.js.LEGAL.txt +0 -0
  485. package/dist/cdn/DXQKJY5N.js.LEGAL.txt +0 -3
  486. package/dist/cdn/EEGULFK4.js.LEGAL.txt +0 -0
  487. package/dist/cdn/ENUDMNIE.js.LEGAL.txt +0 -3
  488. package/dist/cdn/ESF5DKBG.js.LEGAL.txt +0 -0
  489. package/dist/cdn/ESK6OHUN.js.LEGAL.txt +0 -19
  490. package/dist/cdn/EVNN74SW.js.LEGAL.txt +0 -0
  491. package/dist/cdn/EVZVFSLL.js +0 -4
  492. package/dist/cdn/EVZVFSLL.js.LEGAL.txt +0 -0
  493. package/dist/cdn/EXT55FWG.js.LEGAL.txt +0 -0
  494. package/dist/cdn/FB5ZHS5O.js.LEGAL.txt +0 -0
  495. package/dist/cdn/FBOWYGQD.js.LEGAL.txt +0 -0
  496. package/dist/cdn/FFW5OHCB.js.LEGAL.txt +0 -3
  497. package/dist/cdn/FSHN7NRE.js +0 -4
  498. package/dist/cdn/FSHN7NRE.js.LEGAL.txt +0 -0
  499. package/dist/cdn/G7MUJYUQ.js.LEGAL.txt +0 -4
  500. package/dist/cdn/GBSVVPRB.js.LEGAL.txt +0 -0
  501. package/dist/cdn/GFCR7XIN.js +0 -18
  502. package/dist/cdn/GFCR7XIN.js.LEGAL.txt +0 -3
  503. package/dist/cdn/GG27ACFI.js.LEGAL.txt +0 -22
  504. package/dist/cdn/GHBRSRHR.js.LEGAL.txt +0 -0
  505. package/dist/cdn/GHCYH4VO.js.LEGAL.txt +0 -0
  506. package/dist/cdn/GHW5LEGA.js.LEGAL.txt +0 -0
  507. package/dist/cdn/GKBSDRDK.js.LEGAL.txt +0 -0
  508. package/dist/cdn/GKDOBPIL.js.LEGAL.txt +0 -0
  509. package/dist/cdn/GLZYDVD7.js.LEGAL.txt +0 -0
  510. package/dist/cdn/GMNLGPRE.js +0 -4
  511. package/dist/cdn/GMNLGPRE.js.LEGAL.txt +0 -0
  512. package/dist/cdn/GSK6MI4V.js.LEGAL.txt +0 -0
  513. package/dist/cdn/GTB46XNN.js +0 -4
  514. package/dist/cdn/GTB46XNN.js.LEGAL.txt +0 -0
  515. package/dist/cdn/GTRMB3A4.js +0 -18
  516. package/dist/cdn/GTRMB3A4.js.LEGAL.txt +0 -3
  517. package/dist/cdn/HAGG3RYD.js.LEGAL.txt +0 -0
  518. package/dist/cdn/HCELP62U.js.LEGAL.txt +0 -0
  519. package/dist/cdn/HJ5RNDHX.js.LEGAL.txt +0 -3
  520. package/dist/cdn/HK5IZI5Z.js.LEGAL.txt +0 -0
  521. package/dist/cdn/HKE2Q7CZ.js.LEGAL.txt +0 -0
  522. package/dist/cdn/HSTIKC26.js.LEGAL.txt +0 -0
  523. package/dist/cdn/HYDYMELB.js.LEGAL.txt +0 -0
  524. package/dist/cdn/HYVHA4FY.js.LEGAL.txt +0 -0
  525. package/dist/cdn/I2FHSU7W.js.LEGAL.txt +0 -3
  526. package/dist/cdn/IC3ZV4NO.js +0 -4
  527. package/dist/cdn/IC3ZV4NO.js.LEGAL.txt +0 -0
  528. package/dist/cdn/ICR52UL7.js +0 -4
  529. package/dist/cdn/ICR52UL7.js.LEGAL.txt +0 -0
  530. package/dist/cdn/IDWOAEMD.js.LEGAL.txt +0 -0
  531. package/dist/cdn/IFMZU3GF.js +0 -18
  532. package/dist/cdn/IFMZU3GF.js.LEGAL.txt +0 -3
  533. package/dist/cdn/IJ74774M.js.LEGAL.txt +0 -0
  534. package/dist/cdn/IRPEFZSQ.js.LEGAL.txt +0 -0
  535. package/dist/cdn/IXTE7FV7.js.LEGAL.txt +0 -0
  536. package/dist/cdn/IZUA3C3T.js.LEGAL.txt +0 -3
  537. package/dist/cdn/JBDRTLXO.js.LEGAL.txt +0 -3
  538. package/dist/cdn/JHGPYLWD.js +0 -3
  539. package/dist/cdn/JHGPYLWD.js.LEGAL.txt +0 -15
  540. package/dist/cdn/JNSUSFC4.js.LEGAL.txt +0 -3
  541. package/dist/cdn/JSLAGZEI.js.LEGAL.txt +0 -0
  542. package/dist/cdn/JX6PKGNK.js.LEGAL.txt +0 -0
  543. package/dist/cdn/K2AEW6QQ.js.LEGAL.txt +0 -0
  544. package/dist/cdn/KCQN2FTO.js.LEGAL.txt +0 -0
  545. package/dist/cdn/KQRA5TYU.js.LEGAL.txt +0 -0
  546. package/dist/cdn/KRYPAQ3V.js.LEGAL.txt +0 -3
  547. package/dist/cdn/KSLUWU76.js.LEGAL.txt +0 -0
  548. package/dist/cdn/KSMY6KVH.js +0 -4
  549. package/dist/cdn/KSMY6KVH.js.LEGAL.txt +0 -0
  550. package/dist/cdn/KTM3K5IU.js.LEGAL.txt +0 -19
  551. package/dist/cdn/KZN3RUJK.js.LEGAL.txt +0 -0
  552. package/dist/cdn/L6BDEN2S.js.LEGAL.txt +0 -244
  553. package/dist/cdn/L6KLN34F.js.LEGAL.txt +0 -0
  554. package/dist/cdn/LD4NPNXI.js.LEGAL.txt +0 -0
  555. package/dist/cdn/LEPGK4UW.js +0 -4
  556. package/dist/cdn/LEPGK4UW.js.LEGAL.txt +0 -0
  557. package/dist/cdn/LEUE4A7G.js.LEGAL.txt +0 -0
  558. package/dist/cdn/LLIJ7Z4U.js.LEGAL.txt +0 -3
  559. package/dist/cdn/LOSFVM3J.js +0 -18
  560. package/dist/cdn/LOSFVM3J.js.LEGAL.txt +0 -3
  561. package/dist/cdn/LOYETYKV.js.LEGAL.txt +0 -3
  562. package/dist/cdn/LV2TLK37.js.LEGAL.txt +0 -0
  563. package/dist/cdn/LXNSX5GC.js.LEGAL.txt +0 -3
  564. package/dist/cdn/M3LX3IKJ.js.LEGAL.txt +0 -3
  565. package/dist/cdn/M73YHO37.js.LEGAL.txt +0 -3
  566. package/dist/cdn/MC52CZ2B.js +0 -4
  567. package/dist/cdn/MC52CZ2B.js.LEGAL.txt +0 -0
  568. package/dist/cdn/MK7XBGW3.js.LEGAL.txt +0 -0
  569. package/dist/cdn/MKAKSQW7.js.LEGAL.txt +0 -0
  570. package/dist/cdn/MKHMLHY3.js +0 -4
  571. package/dist/cdn/MKHMLHY3.js.LEGAL.txt +0 -0
  572. package/dist/cdn/MMEXN3JJ.js.LEGAL.txt +0 -0
  573. package/dist/cdn/MPVIIZEA.js.LEGAL.txt +0 -3
  574. package/dist/cdn/MSYDEBQH.js +0 -4
  575. package/dist/cdn/MSYDEBQH.js.LEGAL.txt +0 -0
  576. package/dist/cdn/MWFRMEVF.js.LEGAL.txt +0 -0
  577. package/dist/cdn/MX3QK4BD.js.LEGAL.txt +0 -3
  578. package/dist/cdn/MYGCG5HU.js.LEGAL.txt +0 -19
  579. package/dist/cdn/MYKH54YC.js.LEGAL.txt +0 -3
  580. package/dist/cdn/N3OGD5JL.js.LEGAL.txt +0 -0
  581. package/dist/cdn/NIPQB2A6.js.LEGAL.txt +0 -3
  582. package/dist/cdn/NSDF5N7C.js.LEGAL.txt +0 -0
  583. package/dist/cdn/NTX6LIB3.js.LEGAL.txt +0 -0
  584. package/dist/cdn/O2BCL7OO.js.LEGAL.txt +0 -3
  585. package/dist/cdn/O3WLWBNP.js.LEGAL.txt +0 -0
  586. package/dist/cdn/O4VZYHOJ.js.LEGAL.txt +0 -0
  587. package/dist/cdn/O5IREWKJ.js.LEGAL.txt +0 -0
  588. package/dist/cdn/O6BV4GPQ.js.LEGAL.txt +0 -0
  589. package/dist/cdn/OGB7O254.js.LEGAL.txt +0 -3
  590. package/dist/cdn/OTMBUW5V.js.LEGAL.txt +0 -0
  591. package/dist/cdn/OY6GGSCZ.js.LEGAL.txt +0 -3
  592. package/dist/cdn/P5VRMQGO.js.LEGAL.txt +0 -0
  593. package/dist/cdn/PADMJS2B.js.LEGAL.txt +0 -0
  594. package/dist/cdn/PFBJJBFN.js.LEGAL.txt +0 -0
  595. package/dist/cdn/PHRX37GL.js.LEGAL.txt +0 -0
  596. package/dist/cdn/PRGLDAAF.js.LEGAL.txt +0 -8
  597. package/dist/cdn/Q4366DLL.js.LEGAL.txt +0 -3
  598. package/dist/cdn/Q4KIQYU7.js.LEGAL.txt +0 -0
  599. package/dist/cdn/Q7UEJVBO.js.LEGAL.txt +0 -0
  600. package/dist/cdn/QJLYBT43.js +0 -4
  601. package/dist/cdn/QJLYBT43.js.LEGAL.txt +0 -0
  602. package/dist/cdn/QPVCT46N.js.LEGAL.txt +0 -0
  603. package/dist/cdn/QTX5AWKY.js +0 -6
  604. package/dist/cdn/QTX5AWKY.js.LEGAL.txt +0 -145
  605. package/dist/cdn/R22Y543P.js.LEGAL.txt +0 -3
  606. package/dist/cdn/R3N73BWH.js.LEGAL.txt +0 -0
  607. package/dist/cdn/R45VSIPD.js.LEGAL.txt +0 -0
  608. package/dist/cdn/R6YADSJG.js.LEGAL.txt +0 -3
  609. package/dist/cdn/ROEPJEQQ.js +0 -9
  610. package/dist/cdn/ROEPJEQQ.js.LEGAL.txt +0 -0
  611. package/dist/cdn/ROJP3BVV.js.LEGAL.txt +0 -0
  612. package/dist/cdn/ROKV4HKO.js.LEGAL.txt +0 -0
  613. package/dist/cdn/RRIX5A5N.js +0 -18
  614. package/dist/cdn/RRIX5A5N.js.LEGAL.txt +0 -12
  615. package/dist/cdn/S7DMVS57.js.LEGAL.txt +0 -0
  616. package/dist/cdn/SJKTTY3N.js.LEGAL.txt +0 -0
  617. package/dist/cdn/SK4HOTRH.js.LEGAL.txt +0 -0
  618. package/dist/cdn/SLDVKLZQ.js.LEGAL.txt +0 -3
  619. package/dist/cdn/SWZWQRLB.js.LEGAL.txt +0 -0
  620. package/dist/cdn/SXYVFJKU.js.LEGAL.txt +0 -3
  621. package/dist/cdn/SZIWG7IM.js.LEGAL.txt +0 -0
  622. package/dist/cdn/T7GZUTHH.js.LEGAL.txt +0 -0
  623. package/dist/cdn/TA4GSV32.js.LEGAL.txt +0 -0
  624. package/dist/cdn/TFRZL4EC.js.LEGAL.txt +0 -3
  625. package/dist/cdn/TJ2UJ5M2.js.LEGAL.txt +0 -0
  626. package/dist/cdn/TJNPKXSI.js.LEGAL.txt +0 -1113
  627. package/dist/cdn/TMAKEW62.js.LEGAL.txt +0 -0
  628. package/dist/cdn/TPFUNAZK.js.LEGAL.txt +0 -0
  629. package/dist/cdn/TQKSLOZN.js.LEGAL.txt +0 -0
  630. package/dist/cdn/TRB4RXO2.js.LEGAL.txt +0 -0
  631. package/dist/cdn/TRSIPJC6.js.LEGAL.txt +0 -0
  632. package/dist/cdn/TVPK2MIP.js.LEGAL.txt +0 -0
  633. package/dist/cdn/TXHJL574.js.LEGAL.txt +0 -3
  634. package/dist/cdn/UE7MRJTV.js.LEGAL.txt +0 -0
  635. package/dist/cdn/UFY6HRGR.js.LEGAL.txt +0 -3
  636. package/dist/cdn/UH7XUBQU.js.LEGAL.txt +0 -0
  637. package/dist/cdn/UVJAK4O2.js.LEGAL.txt +0 -0
  638. package/dist/cdn/VDJARONJ.js +0 -4
  639. package/dist/cdn/VDJARONJ.js.LEGAL.txt +0 -0
  640. package/dist/cdn/VDQ3CIF6.js.LEGAL.txt +0 -0
  641. package/dist/cdn/VO7XJBPW.js.LEGAL.txt +0 -0
  642. package/dist/cdn/VPBJWSZ5.js.LEGAL.txt +0 -0
  643. package/dist/cdn/VS4MDZ35.js.LEGAL.txt +0 -0
  644. package/dist/cdn/VVDJCZMW.js +0 -4
  645. package/dist/cdn/VVDJCZMW.js.LEGAL.txt +0 -0
  646. package/dist/cdn/VW7MOUFV.js.LEGAL.txt +0 -0
  647. package/dist/cdn/VZ2W4YKN.js.LEGAL.txt +0 -0
  648. package/dist/cdn/W3AKQ2QN.js.LEGAL.txt +0 -0
  649. package/dist/cdn/W5LVWH37.js.LEGAL.txt +0 -3
  650. package/dist/cdn/W76TCV4C.js.LEGAL.txt +0 -0
  651. package/dist/cdn/WEKUO2VU.js.LEGAL.txt +0 -3
  652. package/dist/cdn/WGCV6GTL.js.LEGAL.txt +0 -3
  653. package/dist/cdn/WH474D65.js.LEGAL.txt +0 -15
  654. package/dist/cdn/WIIRZMUB.js.LEGAL.txt +0 -0
  655. package/dist/cdn/WKFO2RUX.js.LEGAL.txt +0 -0
  656. package/dist/cdn/WKHWO7PP.js.LEGAL.txt +0 -0
  657. package/dist/cdn/WKKTZWYF.js.LEGAL.txt +0 -0
  658. package/dist/cdn/WLS6FMCQ.js.LEGAL.txt +0 -19
  659. package/dist/cdn/WP5XQ4DT.js.LEGAL.txt +0 -0
  660. package/dist/cdn/WSBY7R3N.js.LEGAL.txt +0 -3
  661. package/dist/cdn/WSFOZXFE.js.LEGAL.txt +0 -19
  662. package/dist/cdn/WVOU6WZB.js +0 -4
  663. package/dist/cdn/WVOU6WZB.js.LEGAL.txt +0 -0
  664. package/dist/cdn/WWOWRJ32.js.LEGAL.txt +0 -0
  665. package/dist/cdn/WYPYO2VQ.js.LEGAL.txt +0 -19
  666. package/dist/cdn/WZ5FDMXT.js.LEGAL.txt +0 -3
  667. package/dist/cdn/X2XCOBZY.js.LEGAL.txt +0 -0
  668. package/dist/cdn/XCPRA7LM.js.LEGAL.txt +0 -3
  669. package/dist/cdn/XEMUI366.js +0 -4
  670. package/dist/cdn/XEMUI366.js.LEGAL.txt +0 -0
  671. package/dist/cdn/XHMJBPMV.js.LEGAL.txt +0 -0
  672. package/dist/cdn/XIYFBERJ.js.LEGAL.txt +0 -0
  673. package/dist/cdn/XJWRTXYA.js.LEGAL.txt +0 -0
  674. package/dist/cdn/XKL7ITR5.js +0 -4
  675. package/dist/cdn/XKL7ITR5.js.LEGAL.txt +0 -0
  676. package/dist/cdn/XQBASMJ4.js.LEGAL.txt +0 -0
  677. package/dist/cdn/XRGC4MMG.js.LEGAL.txt +0 -0
  678. package/dist/cdn/XUZO7LAS.js.LEGAL.txt +0 -0
  679. package/dist/cdn/YAR2GV2A.js.LEGAL.txt +0 -3
  680. package/dist/cdn/YDQQI3ML.js.LEGAL.txt +0 -3
  681. package/dist/cdn/YE6E2BT6.js.LEGAL.txt +0 -0
  682. package/dist/cdn/YKIB4GYY.js +0 -4
  683. package/dist/cdn/YKIB4GYY.js.LEGAL.txt +0 -0
  684. package/dist/cdn/YOUSAPL3.js.LEGAL.txt +0 -0
  685. package/dist/cdn/YTHBJD3I.js +0 -4
  686. package/dist/cdn/YTHBJD3I.js.LEGAL.txt +0 -0
  687. package/dist/cdn/YUAX7YM4.js +0 -4
  688. package/dist/cdn/YUAX7YM4.js.LEGAL.txt +0 -0
  689. package/dist/cdn/Z5PZ6FMA.js.LEGAL.txt +0 -3
  690. package/dist/cdn/Z6MQY432.js +0 -4
  691. package/dist/cdn/Z6MQY432.js.LEGAL.txt +0 -0
  692. package/dist/cdn/Z6WH4RBZ.js +0 -4
  693. package/dist/cdn/Z6WH4RBZ.js.LEGAL.txt +0 -0
  694. package/dist/cdn/ZB7B53HR.js.LEGAL.txt +0 -0
  695. package/dist/cdn/ZGAAVSNN.js.LEGAL.txt +0 -0
  696. package/dist/cdn/ZIGKETIQ.js +0 -4
  697. package/dist/cdn/ZIGKETIQ.js.LEGAL.txt +0 -0
  698. package/dist/cdn/ZML4232C.js.LEGAL.txt +0 -17
  699. package/dist/cdn/ZOQYNMEP.js.LEGAL.txt +0 -3
  700. package/dist/cdn/ZU4TTJP2.js.LEGAL.txt +0 -19
  701. package/dist/cdn/ZVQFWNID.js +0 -4
  702. package/dist/cdn/ZVQFWNID.js.LEGAL.txt +0 -0
  703. package/dist/cdn/ZW5YO4DP.js.LEGAL.txt +0 -0
  704. package/dist/cdn/ZZH5J3U4.js.LEGAL.txt +0 -0
  705. package/dist/cdn/ZZOCSPXM.js.LEGAL.txt +0 -0
  706. package/dist/cdn/index.esm.js.LEGAL.txt +0 -3
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as b,b as x}from"./Z6WH4RBZ.js";import{a as I,b as C}from"./MC52CZ2B.js";import{e as g,g as _}from"./ZIGKETIQ.js";import{d as f,f as y}from"./XEMUI366.js";import{a as r,b as d}from"./ICR52UL7.js";import{a as v}from"./GTB46XNN.js";import"./6PKXXMG2.js";import{C as u}from"./QJLYBT43.js";import{a as h,c as n,e as m,f as L,h as w}from"./G7MUJYUQ.js";import"./NTX6LIB3.js";var k=".sc-instant-apps-interactive-legend-count-h{display:flex;align-items:center}.instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-weight:var(--calcite-font-weight-medium);font-size:var(--calcite-font-size-0)}.instant-apps-interactive-legend__info-count-text.sc-instant-apps-interactive-legend-count{font-size:var(--instant-apps-interactive-legend-info-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.calcite-mode-dark.instant-apps-interactive-legend__info-count-text.instant-apps-interactive-legend__info-count-text--selected.sc-instant-apps-interactive-legend-count{color:var(--calcite-color-text-inverse)}.instant-apps-interactive-legend-count--compact.sc-instant-apps-interactive-legend-count .instant-apps-interactive-legend__total-feature-count.sc-instant-apps-interactive-legend-count{font-size:0.75rem}html[dir=rtl] .sc-instant-apps-interactive-legend-count-h{margin-left:0;margin-right:auto}",E=k,p={countText:" instant-apps-interactive-legend__info-count-text",countTextSelected:" instant-apps-interactive-legend__info-count-text--selected",totalFeatureCount:"instant-apps-interactive-legend__total-feature-count",compact:"instant-apps-interactive-legend-count--compact"},A=class{constructor(e){h(this,e),this.showTotal=!1,this.legendvm=void 0,this.activeLayerInfo=void 0,this.categoryId="",this.infoIndex=void 0,this.messages=void 0,this.selected=void 0,this.legendElement=void 0}async componentWillLoad(){new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0});let t=await u();this.intl=t}render(){let e=d.get("compact")?p.compact:"";return n("div",{key:"int-legend-count",class:e},this.showTotal?n("span",{class:p.totalFeatureCount},this.messages?.totalFeatureCount,": ",this.getTotalFeatureCount()):n("span",{key:"element-info-count",class:`${p.countText} ${v(this.el)}${this.selected?p.countTextSelected:""}`},this.getCount()))}getCount(){let{categoryId:e}=this,t=this.activeLayerInfo.layer.id,i=r.data[t]?.categories?.size;if((!r.data||!t||!e)&&!i)return"";let s=r.data[t];if(!s)return;let{categories:o}=s,a=o.get(e),c;return a?.nestedInfos?c=I(a,this.infoIndex):c=a,Number.isNaN(c.count)?"":this.intl.formatNumber(c.count)}getTotalFeatureCount(){let e=this.activeLayerInfo.layer.id;if(!r.data||!e)return"";let t=r.data[e];if(!t)return;let{categories:i}=t,s=g(i),o=C(i),a;if(o)a=x(s);else if(y(this.activeLayerInfo)){let c=_(this.activeLayerInfo.layer);a=g(c.categories)[1].count}else a=b(s);return this.intl.formatNumber(a)}get el(){return m(this)}};A.style=E;var S=".sc-instant-apps-interactive-legend-layer-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:500;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header--compact.sc-instant-apps-interactive-legend-layer-element-caption .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{font-size:0.9rem}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption{overflow:hidden;margin:0;display:inline-block;font-size:var(--calcite-font-size-1);font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption h3.sc-instant-apps-interactive-legend-layer-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color);margin-bottom:5px}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-layer-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption span.sc-instant-apps-interactive-legend-layer-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-layer-element-caption-h header.sc-instant-apps-interactive-legend-layer-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-layer-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-layer-element-caption header.sc-instant-apps-interactive-legend-layer-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-layer-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-layer-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-layer-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-layer-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",z=S,l={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container",compact:"instant-apps-interactive-legend__header--compact"},T=class{constructor(e){h(this,e),this.layerCaptionElementExpandUpdatedEvent=L(this,"layerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let e=f(this.activeLayerInfo),{expanded:t}=this,i=t?this.messages?.collapse:this.messages?.expand,s=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"",o=d.get("compact")?` ${l.compact}`:"";return n("header",{key:"c194d2abe0cfa85a8397cd737784c6ab0c331b94",class:`${l.interacitveLegendHeader} ${v(this.el)}${o}`},n("calcite-action",{key:"431639f91b44288b821b03fa628a465e7573d3b1",onClick:this.toggleExpanded(),icon:t?"chevron-down":"chevron-up",appearance:"transparent",text:i??"",label:i,scale:"s"}),n("span",{key:"c56cfacb433d911b853bc04ec630ce47add0accd"},n("span",{key:"2a47c8d7b8a2e8be92fd9fa8fc584aa7ba4ba4e3",class:l.headerActionContainer},n("h3",{key:"6a0304473364a5658f40aecff617d3a82b8c8a2a",class:`${l.header} ${l.label}${s}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&e?n("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.layerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return m(this)}};T.style=z;export{A as instant_apps_interactive_legend_count,T as instant_apps_interactive_legend_layer_element_caption};
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{b as e,e as r}from"./EVNN74SW.js";import"./TMAKEW62.js";import"./O6BV4GPQ.js";import"./ZML4232C.js";import{d as t}from"./ESF5DKBG.js";import"./R45VSIPD.js";import"./VS4MDZ35.js";import"./TA4GSV32.js";import"./2TRYHNAQ.js";import"./T7GZUTHH.js";import"./HKE2Q7CZ.js";import"./ZVQFWNID.js";import"./S7DMVS57.js";import"./ROKV4HKO.js";import"./NTX6LIB3.js";async function c(a,n){let o=await e(Object.assign({channelId:a,data:{relations:[t.CHANNEL_ACL]}},n.hubRequestOptions));return r(o,n.currentUser)}export{c as fetchHubChannel};
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,15 +0,0 @@
1
- Bundled license information:
2
-
3
- lit-html/async-directive.js:
4
- /**
5
- * @license
6
- * Copyright 2017 Google LLC
7
- * SPDX-License-Identifier: BSD-3-Clause
8
- */
9
-
10
- lit-html/directives/ref.js:
11
- /**
12
- * @license
13
- * Copyright 2020 Google LLC
14
- * SPDX-License-Identifier: BSD-3-Clause
15
- */
File without changes
File without changes
File without changes
File without changes
@@ -1,19 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- /**
5
- * @license
6
- * Copyright 2025 Esri
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,19 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- /**
5
- * @license
6
- * Copyright 2025 Esri
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as u}from"./LEUE4A7G.js";import{a as w}from"./ZIGKETIQ.js";import{h as E,i as a}from"./QJLYBT43.js";async function I(e,f,r,t,s){let{fLayerView:i}=e,c=w(e,f,r,s),n=i?.filter?.timeExtent??i?.featureEffect?.filter?.timeExtent??null,{type:l}=t;if(l==="filter")i.filter=await a({where:c,timeExtent:n});else if(t.effect){let{includedEffect:o,excludedEffect:d}=t.effect,h=await u(d,i,"excludedEffect"),x=await u(o,i,"includedEffect");i.featureEffect=await E({filter:await a({where:c,timeExtent:n}),includedEffect:x,excludedEffect:h})}return void await Promise.resolve()}function q(e){return e.queryExpressions=[],e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.categories.forEach(f=>{f.selected=!1}),e}function F(e,f){e.categories.get(f)?.nestedInfos?.forEach(n=>{let l=`${e.field} = '${n.legendElementInfo.value}'`,o=e.queryExpressions.indexOf(l);o!==-1&&e.queryExpressions.splice(o,1),n.selected=!1});let t=[],s=Array.from(e.categories).map(n=>n[1]);s.forEach(n=>{n.nestedInfos?.every(o=>!o.selected)&&n.nestedInfos?.forEach(o=>{t.push(`${e.field} = '${o.legendElementInfo.value}'`)})}),t.forEach(n=>{e.queryExpressions.includes(n)||e.queryExpressions.push(n)});let i=e.queryExpressions.join(" OR ");return s.every(n=>n.nestedInfos?.every(l=>!l.selected))?(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=""),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect=null),e.queryExpressions=[]):(e?.fLayerView?.filter?.where&&(e.fLayerView.filter.where=i),e?.fLayerView?.featureEffect?.filter?.where&&(e.fLayerView.featureEffect.filter.where=i)),e}async function v(e,f,r){let t=e.fLayerView.createQuery();if(r)if(r.nestedInfos.every(i=>!i.selected)){let i=r.nestedInfos.map(c=>`${e.field} = '${c.legendElementInfo.value}'`).join(" OR ");t.where=i}else{let i=r.nestedInfos.filter(c=>c.selected).map(c=>`${e.field} = '${c.legendElementInfo.value}'`).join(" OR ");t.where=i}else{let s=e.queryExpressions.join(" OR ");t.where=s}try{let{extent:s}=await e.fLayerView.layer.queryExtent(t);await f.goTo(s)}catch{}}function $(e,f){if(typeof f?.title=="string")return e?.categories?.get(f?.title)}function O(e,f){let{type:r}=e;r==="filter"?p(f):r==="effect"&&g(e,f)}function p(e){e?.allLayerViews?.filter(f=>f?.layer?.type==="feature")?.forEach(f=>{let r=f,t=y(r);r.filter=t,r.set("featureEffect",null)})}function g(e,f){f?.allLayerViews?.filter(r=>r?.layer?.type==="feature").forEach(async r=>{let t=r;if(e?.effect&&t){let{includedEffect:s,excludedEffect:i}=e.effect,c=await u(i,t,"excludedEffect"),n=await u(s,t,"includedEffect"),l=y(t);t.featureEffect=await E({filter:l,includedEffect:n,excludedEffect:c}),t.set("filter",null)}})}function y(e){return e?.filter??e?.featureEffect?.filter}export{I as a,q as b,F as c,v as d,$ as e,O as f};
File without changes
File without changes
@@ -1,19 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- /**
5
- * @license
6
- * Copyright 2025 Esri
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- function A(e,n){let s=n?.layer?.renderer?.authoringInfo?.fields??[];if(s.length===0)return"";let t=e?.value;if(t)return s.filter(l=>l!==t).map(l=>N(t,l)).join(" AND ");let o=d(s,"= 0"),i=d(s,"IS NULL");if(s.length>2){let c=b(s);return[`(${o})`,`(${c})`,`(${i})`].join(" OR ")}let r=g(s),a=S(s);return[`(${r})`,`(${o})`,`(${a})`].join(" OR ")}function N(e,n){return`(${e} > ${n} OR (${n} IS NULL AND ${e} IS NOT NULL AND (${e} > 0 OR ${e} < 0)))`}function d(e,n){return e.map(s=>`${s} ${n}`).join(" AND ")}function b(e){let n=[];for(let s of e)for(let t of e){if(s===t)continue;let o=[];for(let i of e){if(i===s||i===t)continue;let r=`${s} = ${t} AND (${s} > ${i} OR ${s} >= ${i})`;o.push(r)}o.length>0&&n.push(`(${o.join(" AND ")})`)}return n.join(" OR ")}function g(e){let n=[];for(let s=0;s<e.length;s++){let t=e[s];for(let o=s+1;o<e.length;o++){let i=e[o];n.push(`${t} = ${i}`)}}return n.join(" OR ")}function S(e){let n=[];for(let s=0;s<e.length;s++){let t=e[s];for(let o=s+1;o<e.length;o++){let i=e[o],r=`(${t} = 0 AND ${i} IS NULL) OR (${t} IS NULL AND ${i} IS NULL)`;n.push(r)}}return n.join(" OR ")}function F(e,n,s){e[0]==="1=0"&&e.shift(),e.length===1&&e[0]===n?e[0]="1=0":s===-1?e.push(n):e.splice(s,1)}function R(e){return e?.layer?.renderer?.authoringInfo?.type==="predominance"}function j(e,n,s){let o=e.layer?.renderer?.field,i=n?.type,r=e?.layerView,a=e?.layer?.type==="feature",c=r?.layer?.renderer?.authoringInfo?.type,l=k(r),u=O(r,o,i,c,n),f=x(e,s),p=z(n,e),h=E(n),m=C(e),y=c==="dot-density",$=D(e?.layer,o);return a&&!f&&!p.color&&!p.size&&!h&&!m&&!y&&$?l||u:!1}function k(e){let n=e?.layer?.renderer?.classBreakInfos;return!!(e&&n&&n.length>1)}function O(e,n,s,t,o){let i=s==="size-ramp",r=t==="class-breaks-color",a=t==="class-breaks-size",c=o?.infos?.length===1&&!n,l=t==="relationship"&&o?.type!=="size-ramp"&&o?.type!=="symbol-table",u=e?.layer?.renderer?.uniqueValueInfos&&n;return!!(R(e)&&!i||r&&n||a&&n||c&&!n&&n!==null||l||u)}function x(e,n){return!!(e?.layer?.featureReduction&&e?.legendElements?.[n]?.type==="size-ramp")}function z(e,n){let s=e?.type==="symbol-table"&&e?.infos?.length===1,t=!n?.legendElements.every(i=>i.type!=="color-ramp"),o=!n?.legendElements.every(i=>i.type!=="size-ramp");return{color:s&&t,size:s&&o}}function E(e){return e?.infos?.every(n=>typeof n.value=="number")??!1}function C(e){return e?.legendElements?.[0]?.type==="symbol-table"&&e?.legendElements?.[1]?.type==="color-ramp"}function D(e,n){let t=e?.fields?.map(o=>o.name);return n?t?.includes(n)??!1:!0}function I(e){return Array.isArray(e)?e.every(n=>!n.selected):e&&Array.from(e.categories.entries()).every(n=>!n[1].selected)&&e.queryExpressions[0]!=="1=0"}function U(e){return e?.legendElements[1]?.type==="relationship-ramp"}export{A as a,F as b,R as c,j as d,I as e,U as f};
File without changes
File without changes
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{c as le}from"./Z6WH4RBZ.js";import{a as fe,e as Fe,f as Ue}from"./WVOU6WZB.js";import"./LEUE4A7G.js";import{c as re,d as ze,f as Pe,g as Te,h as $e}from"./ZIGKETIQ.js";import{d as ke,e as xe}from"./XEMUI366.js";import{a as E,b as B,c as ve}from"./ICR52UL7.js";import{a as K}from"./GTB46XNN.js";import"./6PKXXMG2.js";import{C as Ce,E as Ae,c as Re,z as Se}from"./QJLYBT43.js";import{a as Me,c as g,e as Ee,h as ce}from"./G7MUJYUQ.js";import"./NTX6LIB3.js";var je=96;function j(a){return a?a/72*je:0}var Ve=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{},me={exports:{}};(function(a,n){(function(c,s){s(n)})(Ve,function(c){var s="http://www.w3.org/",l="".concat(s,"2000/svg"),o="".concat(s,"1999/xlink"),u=[],_=function(e,t){var i={};return Object.keys(e).forEach(function(r){i[r]=e[r]}),t&&Object.keys(t).forEach(function(r){i[r]=t[r]}),i},b=function(e,t){return e.vnodeSelector!==t.vnodeSelector?!1:e.properties&&t.properties?e.properties.key!==t.properties.key?!1:e.properties.bind===t.properties.bind:!e.properties&&!t.properties},L=function(e){if(typeof e!="string")throw new Error("Style values must be strings")},A=function(e,t,i){if(t.vnodeSelector!==""){for(var r=i;r<e.length;r++)if(b(e[r],t))return r}return-1},R=function(e,t,i,r){var d=e[t];if(d.vnodeSelector!==""){var p=d.properties,S=p?p.key===void 0?p.bind:p.key:void 0;if(!S){for(var h=0;h<e.length;h++)if(h!==t){var f=e[h];if(b(f,d))throw{error:new Error("".concat(i.vnodeSelector," had a ").concat(d.vnodeSelector," child ").concat(r==="added"?r:"removed",", but there is now more than one. You must add unique key properties to make them distinguishable.")),parentNode:i,childNode:d}}}}},P=function(e){if(e.properties){var t=e.properties.enterAnimation;t&&t(e.domNode,e.properties)}},x=[],z=!1,k=function(e){(e.children||[]).forEach(k),e.properties&&e.properties.afterRemoved&&e.properties.afterRemoved.apply(e.properties.bind||e.properties,[e.domNode])},$=function(){z=!1,x.forEach(k),x.length=0},D=function(e){x.push(e),z||(z=!0,typeof window<"u"&&"requestIdleCallback"in window?window.requestIdleCallback($,{timeout:16}):setTimeout($,16))},J=function(e){var t=e.domNode;if(e.properties){var i=e.properties.exitAnimation;if(i){t.style.pointerEvents="none";var r=function(){t.parentNode&&(t.parentNode.removeChild(t),D(e))};i(t,r,e.properties);return}}t.parentNode&&(t.parentNode.removeChild(t),D(e))},X=["afterCreate","afterUpdate","afterRemoved","enterAnimation","exitAnimation","updateAnimation"];function U(e){return!X.includes(e)}var M=function(e,t,i){if(t)for(var r=i.eventHandlerInterceptor,d=Object.keys(t).filter(U),p=d.length,S=0;S<p;S++){var h=d[S],f=t[h];if(h==="className")throw new Error('Property "className" is not supported, use "class".');if(h==="class")de(e,f,!0);else if(h==="classes")for(var v=Object.keys(f),C=v.length,w=0;w<C;w++){var y=v[w];f[y]&&e.classList.add(y)}else if(h==="styles")for(var F=Object.keys(f),T=F.length,w=0;w<T;w++){var I=F[w],Z=f[I];Z&&(L(Z),i.styleApplyer(e,I,Z))}else if(h==="on"&&f)for(var te=0,ae=Object.entries(t.on);te<ae.length;te++){var ne=ae[te],G=ne[0],H=ne[1],O=typeof H=="function"?H:H.listener;r&&(O=r(G,O,e,t)),O&&e.addEventListener(G,O,typeof H=="function"?void 0:H.options)}else if(h!=="key"&&f!==null&&f!==void 0){var se=typeof f;se==="function"?(h.lastIndexOf("on",0)===0&&r&&(f=r(h,f,e,t)),e[h]=f):i.namespace===l?h==="href"?e.setAttributeNS(o,h,f):e.setAttribute(h,f):se==="string"&&h!=="value"&&h!=="innerHTML"?e.setAttribute(h,f):e[h]=f}}},W=function(e,t,i){if(t)for(var r=0,d=t;r<d.length;r++){var p=d[r];q(p,e,void 0,i)}},Y=function(e,t,i){W(e,t.children,i),t.text&&(e.textContent=t.text),M(e,t.properties,i),t.properties&&t.properties.afterCreate&&t.properties.afterCreate.apply(t.properties.bind||t.properties,[e,i,t.vnodeSelector,t.properties,t.children])},q=function(e,t,i,r){var d,p,S=0,h=e.vnodeSelector,f=t.ownerDocument;if(h==="")e.domNode?e.domNode.nodeValue=e.text:(p=e.domNode=f.createTextNode(e.text),i!==void 0?t.insertBefore(p,i):t.appendChild(p));else{for(var v=0;v<=h.length;++v){var C=h.charAt(v);if(v===h.length||C==="."||C==="#"){var w=h.charAt(S-1),y=h.slice(S,v);w==="."?p.classList.add(y):w==="#"?p.id=y:(y==="svg"&&(r=_(r,{namespace:l})),r.namespace!==void 0?p=e.domNode=f.createElementNS(r.namespace,y):(p=e.domNode=e.domNode||(!((d=e.properties)===null||d===void 0)&&d.is?f.createElement(y,{is:e.properties.is}):f.createElement(y)),y==="input"&&e.properties&&e.properties.type!==void 0&&p.setAttribute("type",e.properties.type)),i!==void 0?t.insertBefore(p,i):p.parentNode!==t&&t.appendChild(p)),S=v+1}}Y(p,e,r)}},ie,de=function(e,t,i){t&&t.split(" ").forEach(function(r){r&&e.classList.toggle(r,i)})},We=function(e,t,i,r){if(i){for(var d=!1,p=Object.keys(i).filter(U),S=p.length,h=0;h<S;h++){var f=p[h],v=i[f],C=t[f];if(f==="class")C!==v&&(de(e,C,!1),de(e,v,!0));else if(f==="classes")for(var w=e.classList,y=Object.keys(v),F=y.length,T=0;T<F;T++){var I=y[T],Z=!!v[I],te=!!C[I];Z!==te&&(d=!0,Z?w.add(I):w.remove(I))}else if(f==="styles")for(var ae=Object.keys(v),ne=ae.length,T=0;T<ne;T++){var G=ae[T],H=v[G],O=C[G];H!==O&&(d=!0,H?(L(H),r.styleApplyer(e,G,H)):r.styleApplyer(e,G,""))}else if(!v&&typeof C=="string"&&(v=""),f==="value"){var se=e[f];se!==v&&v!==C&&(e[f]=v),v!==C&&(d=!0)}else if(v!==C){var Le=typeof v;(Le!=="function"||!r.eventHandlerInterceptor)&&(r.namespace===l?f==="href"?e.setAttributeNS(o,f,v):e.setAttribute(f,v):Le==="string"&&f!=="innerHTML"?f==="role"&&v===""?e.removeAttribute(f):e.setAttribute(f,v):e[f]!==v&&(e[f]=v),d=!0)}}return d}},qe=function(e,t,i,r,d){if(i===r)return!1;i=i||u,r=r||u;for(var p=i.length,S=r.length,h=0,f=0,v,C=!1;f<S;){var w=h<p?i[h]:void 0,y=r[f];if(w!==void 0&&b(w,y))C=ie(w,y,d)||C,h++;else{var F=A(i,y,h+1);if(F>=0){for(v=h;v<F;v++)J(i[v]),R(i,v,e,"removed");C=ie(i[F],y,d)||C,h=F+1}else q(y,t,h<p?i[h].domNode:void 0,d),P(y),R(r,f,e,"added")}f++}if(p>h)for(v=h;v<p;v++)J(i[v]),R(i,v,e,"removed");return C};ie=function(e,t,i){var r=e.domNode,d=!1;if(e===t)return!1;var p=!1;if(t.vnodeSelector===""){if(t.text!==e.text){var S=r.ownerDocument.createTextNode(t.text);return r.parentNode.replaceChild(S,r),t.domNode=S,d=!0,d}t.domNode=r}else t.vnodeSelector.lastIndexOf("svg",0)===0&&(i=_(i,{namespace:l})),e.text!==t.text&&(p=!0,t.text===void 0?r.removeChild(r.firstChild):r.textContent=t.text),t.domNode=r,p=qe(t,r,e.children,t.children,i)||p,p=We(r,e.properties,t.properties,i)||p,t.properties&&t.properties.afterUpdate&&t.properties.afterUpdate.apply(t.properties.bind||t.properties,[r,i,t.vnodeSelector,t.properties,t.children]);return p&&t.properties&&t.properties.updateAnimation&&t.properties.updateAnimation(r,t.properties,e.properties),d};var V=function(e,t){return{getLastRender:function(){return e},update:function(i){if(e.vnodeSelector!==i.vnodeSelector)throw new Error("The selector for the root VNode may not be changed. (consider using dom.merge and add one extra level to the virtual DOM)");var r=e;e=i,ie(r,i,t)},domNode:e.domNode}},Ge={namespace:void 0,performanceLogger:function(){},eventHandlerInterceptor:void 0,styleApplyer:function(e,t,i){t.charAt(0)==="-"?e.style.setProperty(t,i):e.style[t]=i}},Q=function(e){return _(Ge,e)},ee={create:function(e,t){return t=Q(t),q(e,document.createElement("div"),void 0,t),V(e,t)},append:function(e,t,i){return i=Q(i),q(t,e,void 0,i),V(t,i)},insertBefore:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),V(t,i)},merge:function(e,t,i){return i=Q(i),t.domNode=e,Y(e,t,i),V(t,i)},replace:function(e,t,i){return i=Q(i),q(t,e.parentNode,e,i),e.parentNode.removeChild(e),V(t,i)}},Ke=function(e){return{vnodeSelector:"",properties:void 0,children:void 0,text:e.toString(),domNode:null}},_e=function(e,t,i){for(var r=0,d=t.length;r<d;r++){var p=t[r];Array.isArray(p)?_e(e,p,i):p!=null&&p!==!1&&(typeof p=="string"&&(p=Ke(p)),i.push(p))}};function Je(e,t,i){if(Array.isArray(t))i=t,t=void 0;else if(t&&(typeof t=="string"||t.vnodeSelector)||i&&(typeof i=="string"||i.vnodeSelector))throw new Error("h called with invalid arguments");var r,d;return i&&i.length===1&&typeof i[0]=="string"?r=i[0]:i&&(d=[],_e(e,i,d),d.length===0&&(d=void 0)),{vnodeSelector:e,properties:t,children:d,text:r===""?void 0:r,domNode:null}}var Xe=function(e,t){for(var i=[];e&&e!==t;)i.push(e),e=e.parentNode;return i},pe;Array.prototype.find?pe=function(e,t){return e.find(t)}:pe=function(e,t){return e.filter(t)[0]};var Ye=function(e,t){var i=e;return t.forEach(function(r){i=i&&i.children?pe(i.children,function(d){return d.domNode===r}):void 0}),i},Qe=function(e,t,i){return function(d,p,S,h){return r};function r(d){var p,S;i("domEvent",d);var h=t(),f=Xe(d.currentTarget,h.domNode);f.reverse();var v=Ye(h.getLastRender(),f);e.scheduleRender();var C;if(v){var w=(S=(p=v.properties["on".concat(d.type)])!==null&&p!==void 0?p:v.properties.on[d.type].listener)!==null&&S!==void 0?S:v.properties.on[d.type];C=w.apply(v.properties.bind||this,arguments)}return i("domEventProcessed",d),C}},Ze=function(e){var t,i=Q(e),r=i.performanceLogger,d=!0,p,S=!1,h=[],f=[],v=function(w,y,F){var T,I=function(){return T};i.eventHandlerInterceptor=Qe(t,I,r),T=w(y,F(),i),h.push(T),f.push(F)},C=function(){if(p=void 0,!!d){d=!1,r("renderStart",void 0);for(var w=0;w<h.length;w++){var y=f[w]();r("rendered",void 0),h[w].update(y),r("patched",void 0)}r("renderDone",void 0),d=!0}};return t={renderNow:C,scheduleRender:function(){!p&&!S&&(p=requestAnimationFrame(C))},stop:function(){p&&(cancelAnimationFrame(p),p=void 0),S=!0},resume:function(){S=!1,d=!0,t.scheduleRender()},append:function(w,y){v(ee.append,w,y)},insertBefore:function(w,y){v(ee.insertBefore,w,y)},merge:function(w,y){v(ee.merge,w,y)},replace:function(w,y){v(ee.replace,w,y)},detach:function(w){for(var y=0;y<f.length;y++)if(f[y]===w)return f.splice(y,1),h.splice(y,1)[0];throw new Error("renderFunction was not found")}},t},Oe=function(){var e,t;return{invalidate:function(){t=void 0,e=void 0},result:function(i,r){if(e)for(var d=0;d<i.length;d++)e[d]!==i[d]&&(t=void 0);return t||(t=r(),e=i),t}}},Ne=function(e,t,i){var r=[],d=[];return{results:d,map:function(p){for(var S=p.map(e),h=d.slice(),f=0,v=0;v<p.length;v++){var C=p[v],w=S[v];if(w===r[f])d[v]=h[f],i(C,h[f],v),f++;else{for(var y=!1,F=1;F<r.length+1;F++){var T=(f+F)%r.length;if(r[T]===w){d[v]=h[T],i(p[v],h[T],v),f=T+1,y=!0;break}}y||(d[v]=t(C,v))}}d.length=p.length,r=S}}};c.createCache=Oe,c.createMapping=Ne,c.createProjector=Ze,c.dom=ee,c.h=Je})})(me,me.exports);var et=me.exports.createProjector(),Be=10,ye=20,oe=10,be=20,we={univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",colorRamp:"esri-legend__color-ramp"};function tt(a="vertical"){let n={stroke:"rgb(200, 200, 200)",strokeWidth:"1"};return a==="vertical"?g("svg",{height:"4",width:"10"},g("line",{x1:"0",y1:"2",x2:"10",y2:"2",style:n})):g("svg",{height:"10",width:"10"},g("line",{x1:"5",y1:"0",x2:"5",y2:"10",style:n}))}function at(a,n="vertical"){let c=document.createElement("div");return c.style.height=`${ye}px`,c.className=we.univariateAboveAndBelowSymbol,a!=null&&(c.style.opacity=a.toString()),et.append(c,tt.bind(null,n)),c}function Ie(a,n,c="vertical",s){a.infos.forEach((l,o)=>{if(s&&o===2)l.preview=at(n,c);else{let{size:u}=l,_=j(u)+(c==="horizontal"?be:oe),b=l.preview.tagName.toLowerCase()==="div",L=b?l.preview:document.createElement("div");L&&(L.className=we.univariateAboveAndBelowSymbol),c==="horizontal"?L&&(L.style.width=`${_}px`):L&&(L.style.height=`${_}px`),b||L&&L.appendChild(l.preview),l.preview=L}})}function De(a,n="classic"){let c=a.infos,s=c[0].size,l=c[c.length-1].size;return n==="classic"?(j(s)+oe)/2:(j(s)-j(l))/2}function ge(a,n,c){if(!a)return null;let s=a.infos.map(o=>o.color),l=n.renderColorRampPreviewHTML(c.type==="full"?s:c.type==="above"?s.slice(0,3):s.slice(2,5),{width:c.width,height:c.height,align:c.rampAlignment,effectList:c.effectList});return l.className=we.colorRamp,c.opacity!=null&&(l.style.opacity=c.opacity.toString()),l}function it(a,n,c,s="vertical"){let l=0,o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u;for(let L=_;L<=b;L++)if(c&&L===u)l+=s==="horizontal"?Be:ye;else{let A=o[L].size,R=j(A)+(s==="horizontal"?be:oe);l+=R}return Math.round(l)}function he(a,n,c,s="vertical"){let l=it(a,n,c,s),o=a.infos,u=Math.floor(o.length/2),_=n==="full"||n==="above"?0:u,b=n==="full"||n==="below"?o.length-1:u,L=n==="full"?o[_].size+o[b].size:n==="above"?o[_].size:o[b].size,A=c?s==="vertical"?ye:Be:0,R=s==="vertical"?oe*(n==="full"?2:1):be*(n==="full"?2:1);return Math.round(l-(j(L)/2+A/2+R/2))}function nt(a,n,c="vertical"){let s=a.infos,l=s.find(({type:u})=>u==="size-ramp"),o=s.find(({type:u})=>u==="color-ramp");return l&&(l={...l},l.infos=[...l.infos],Ie(l,n,c,!0)),o&&(o={...o},o.infos=[...o.infos]),c==="horizontal"&&(l?.infos.reverse(),o?.infos.reverse()),{sizeRampElement:l,colorRampElement:o}}function st(a,n="vertical"){let c=a.infos,s=c.find(({type:o})=>o==="size-ramp"),l=c.find(({type:o})=>o==="color-ramp");return s&&(s={...s},s.infos=[...s.infos],Ie(s,null,n,!1)),l&&(l={...l},l.infos=[...l.infos]),n==="horizontal"&&(s?.infos.reverse(),l?.infos.reverse()),{sizeRampElement:s,colorRampElement:l}}function rt(a,n){return!0}var lt=".sc-instant-apps-interactive-legend-classic-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-caption-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-field-name-font-size:1rem;--instant-apps-interactive-legend-total-feature-count-font-size:0.875rem;--instant-apps-interactive-legend-info-font-size:0.875rem;--instant-apps-interactive-legend-info-item-background--selected:#c7ebff;--instant-apps-interactive-legend-info-item-background--selected--dark:#009af2;--instant-apps-interactive-legend-info-item-background--hover:#e9e9e9;--instant-apps-interactive-legend-info-item-background--hover--dark:#4a4a4a;--instant-apps-interactive-legend-info-item-color--selected:var(--calcite-color-text-2);--instant-apps-interactive-legend-secondary-background-color:var(--calcite-color-background);--instant-apps-interactive-legend-ui-margin:20px 15px;--instant-apps-interactive-legend-ui-padding:20px 15px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__service.sc-instant-apps-interactive-legend-classic{padding:0}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-table.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__group-layer-child.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-child-table.sc-instant-apps-interactive-legend-classic{margin:0;overflow:hidden}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center;font-size:var(--instant-apps-interactive-legend-field-name-font-size);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic calcite-action.sc-instant-apps-interactive-legend-classic{margin-right:5px}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic{white-space:nowrap}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-caption-btn-container.sc-instant-apps-interactive-legend-classic calcite-button.sc-instant-apps-interactive-legend-classic{margin:2px}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{font-weight:var(--instant-apps-interactive-legend-caption-font-weight)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{font-size:var(--instant-apps-interactive-legend-info-font-size);text-align:left}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:flex;align-items:center}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{display:block;margin:var(--instant-apps-interactive-legend-ui-margin)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.instant-apps-interactive-legend__nested-unique-symbol.sc-instant-apps-interactive-legend-classic>.esri-legend__layer-body.sc-instant-apps-interactive-legend-classic{margin:0}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{display:table-row}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__non-interactive.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell.sc-instant-apps-interactive-legend-classic{display:table-cell}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--symbols.sc-instant-apps-interactive-legend-classic{justify-content:center;width:20%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{width:65%}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{margin:1px;background:transparent;border:none;width:100%}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic,.sc-instant-apps-interactive-legend-classic-h .esri-legend__layer-caption.sc-instant-apps-interactive-legend-classic{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{position:relative}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{background-color:var(--instant-apps-interactive-legend-info-item-background--selected)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic{cursor:pointer;background-color:var(--instant-apps-interactive-legend-info-item-background--selected--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend-element-info--selected.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{color:var(--calcite-color-text-inverse)}.sc-instant-apps-interactive-legend-classic-h .hide.sc-instant-apps-interactive-legend-classic{display:none}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic{--instant-apps-interactive-legend-ui-padding:10px 5px}.instant-apps-interactive-legend__compact.sc-instant-apps-interactive-legend-classic .esri-legend__layer-row.sc-instant-apps-interactive-legend-classic .esri-legend__layer-cell--info.sc-instant-apps-interactive-legend-classic{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;text-overflow:ellipsis;line-clamp:2;line-height:1.3125rem;max-height:2.625rem}@media (min-width: 992px){.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic{cursor:pointer}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover)}.sc-instant-apps-interactive-legend-classic-h .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#e2f2fe}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover{background-color:var(--instant-apps-interactive-legend-info-item-background--hover--dark)}.sc-instant-apps-interactive-legend-classic-h .calcite-mode-dark.sc-instant-apps-interactive-legend-classic .instant-apps-interactive-legend__layer-row--interactive.sc-instant-apps-interactive-legend-classic:hover.instant-apps-interactive-legend-element-info--selected{background-color:#26a9f4}}",ct=lt,m={service:"esri-legend__service",label:"esri-legend__service-label",layer:"esri-legend__layer",groupLayer:"esri-legend__group-layer",groupLayerChild:"esri-legend__group-layer-child",layerTable:"esri-legend__layer-table",layerTableSizeRamp:"esri-legend__layer-table--size-ramp",layerChildTable:"esri-legend__layer-child-table",layerCaption:"esri-legend__layer-caption",layerBody:"esri-legend__layer-body",layerRow:"esri-legend__layer-row",layerCell:"esri-legend__layer-cell",layerInfo:"esri-legend__layer-cell esri-legend__layer-cell--info",imageryLayerStretchedImage:"esri-legend__imagery-layer-image--stretched",imageryLayerCellStretched:"esri-legend__imagery-layer-cell--stretched",imageryLayerInfoStretched:"esri-legend__imagery-layer-info--stretched",symbolContainer:"esri-legend__layer-cell esri-legend__layer-cell--symbols",symbol:"esri-legend__symbol",rampContainer:"esri-legend__ramps",sizeRamp:"esri-legend__size-ramp",colorRamp:"esri-legend__color-ramp",opacityRamp:"esri-legend__opacity-ramp",borderlessRamp:"esri-legend__borderless-ramp",rampTick:"esri-legend__ramp-tick",rampFirstTick:"esri-legend__ramp-tick-first",rampLastTick:"esri-legend__ramp-tick-last",rampLabelsContainer:"esri-legend__ramp-labels",rampLabel:"esri-legend__ramp-label",univariateAboveAndBelowSymbol:"esri-univariate-above-and-below-ramp__symbol",univariateAboveAndBelowLabel:"esri-univariate-above-and-below-ramp__label",message:"esri-legend__message",header:"esri-widget__heading",hidden:"esri-hidden",interactiveLegendHeader:"instant-apps-interactive-legend__header",layerCaptionBtnContainer:"instant-apps-interactive-legend__layer-caption-btn-container",interactiveLayerRow:"instant-apps-interactive-legend__layer-row--interactive",infoSelected:"instant-apps-interactive-legend-element-info--selected",compact:"instant-apps-interactive-legend__compact"},ot=24,He={display:"flex",alignItems:"flex-start"},ue={marginLeft:"3px"},N={display:"table-cell",verticalAlign:"middle"},dt=class{constructor(a){Me(this,a),this.calculatingFeatureCount=!1,this.legendvm=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.messages=void 0,this.isLoading=!0}handleFilterModeChange(){this.legendvm?.view&&Ue(this.filterMode,this.legendvm.view)}async connectedCallback(){this.handles||(this.handles=await Re())}async componentWillLoad(){new MutationObserver(()=>{ce(this.el)}).observe(this.el,{attributes:!0});let[n,c]=await Promise.all([Ce(),Se()]),s=await Ae();this.reactiveUtils=c,this.intl=n,this.symbolUtils=s}async componentDidLoad(){await this.initLegend()}async initLegend(){try{await this.reactiveUtils.whenOnce(()=>this.legendvm?.view);let a=async()=>{try{let n=this.legendvm?.view?.map;await n?.load(),await n?.basemap?.load();let s=n?.allLayers?.map(async b=>await b.load()),o=(await Promise.allSettled(s)).map(b=>b?.status==="fulfilled"&&b?.value?b.value:null).filter(b=>!!b),u=[];o.forEach(b=>{this.legendvm?.view&&u.push(this.legendvm.view.whenLayerView(b))}),await Promise.allSettled(u);let _=await re(this.legendvm,this.reactiveUtils);B.set("data",{...E.data,..._}),this.isLoading=!1,await this.setupWatchersAndListeners()}catch(n){console.error(n),this.isLoading=!1}};this.legendvm?.view?.when(a),this.legendvm?.view?.map?.layers?.on("after-changes",a)}catch{this.isLoading=!1}}disconnectedCallback(){this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}render(){let a=this.renderFilteredLayers(),n=B.get("compact")?` ${m.compact}`:"";return this.isLoading?g("calcite-loader",{key:"interactive-legend-loader",scale:"m",label:this.messages?.loading,text:this.messages?.loading}):g("div",{key:"interactive-legend-classic-container",class:`${K(this.el)}${n}`},a?.length>0?a:g("div",{class:m.message},this.messages?.noLegend))}renderFilteredLayers(){return(this.legendvm?.activeLayerInfos?.toArray()).map(n=>this.renderLegendForLayer(n)).filter(n=>!!n)}renderLegendForLayer(a,n){if(!a.ready)return null;if(!!a.children.length){let o=a.children.map(u=>this.renderLegendForLayer(u,!0)).toArray();return g("instant-apps-interactive-legend-group-legend-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,isChild:n},g("div",{style:{paddingLeft:"20px"},id:`${a?.layer?.id}-legend-layer`,slot:"content"},o))}let s=a.legendElements;if(s&&!s.length)return null;let l=s.map((o,u)=>this.renderLegendForElement(o,a.layer,a.effectList,a,u)).filter(o=>!!o);return l.length?g("instant-apps-interactive-legend-layer-element",{class:K(this.el),legendvm:this.legendvm,featureCount:this.featureCount,activeLayerInfo:a,messages:this.messages,isChild:!!n},g("div",{slot:"content",id:`${a?.layer?.id}-legend-layer`,class:m.layer},l)):null}renderLegendForElement(a,n,c,s,l,o,u){let _=a.type==="color-ramp",b=a.type==="opacity-ramp",L=a.type==="size-ramp",A=null,R=ke(s,a,l),P=a?.type==="relationship-ramp";if(a.type==="symbol-table"||L){let k=a.infos.map(($,D)=>this.renderLegendForElementInfo($,n,c,L,a,s,l,D,R,u)).filter($=>!!$);k.length&&(A=g("div",{class:m.layerBody},k))}else if(a.type==="color-ramp"||a.type==="opacity-ramp"||a.type==="heatmap-ramp"||a.type==="stretch-ramp"){let k=a;A=this.renderLegendForRamp(k,n.opacity)}else if(P)A=g("instant-apps-interactive-legend-relationship",{class:K(this.el),key:"relationship-ramp",filterMode:this.filterMode,activeLayerInfo:s,legendElement:a,messages:this.messages});else if(a.type==="pie-chart-ramp"){let k=a;A=this.renderPieChartRamp(k)}else if(a.type==="univariate-above-and-below-ramp"){let k=a;A=this.renderUnivariateAboveAndBelowRamp(k,n.opacity,c)}else if(a.type==="univariate-color-size-ramp"){let k=a;A=this.renderUnivariateColorSizeRamp(k,n.opacity,c)}if(!A)return null;let x=a.title,z=null;if(typeof x=="string")z=x;else if(x){let k=x,$=this.getTitle(this.messages,k,_||b);this.isRendererTitle(_||b)?"title"in x&&(z=`${x.title} (${$})`):z=$}return g("instant-apps-interactive-legend-legend-element",{class:K(this.el),activeLayerInfo:s,isSizeRamp:L,isChild:!!o,isColorRamp:_,isRelationshipRamp:P,isInteractive:R,zoomTo:this.zoomTo,legendElement:a,titleText:z,legendvm:this.legendvm,legendElementIndex:l,messages:this.messages},g("div",{slot:"content"},A))}renderPieChartRamp(a){return g("div",{innerHTML:`${a.preview?.outerHTML}`})}renderUnivariateAboveAndBelowRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=nt(a,n);if(!s)return null;let o=he(s,"above",!0),u=he(s,"below",!0),_=12,b=ge(l,this.symbolUtils,{width:_,height:o,rampAlignment:"vertical",opacity:n,type:"above",effectList:c}),L=ge(l,this.symbolUtils,{width:_,height:u,rampAlignment:"vertical",opacity:n,type:"below",effectList:c}),A=De(s),R=s.infos.map(U=>U.label),P=R.map((U,M)=>M===0?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):M===2?g("div",null):null),x=R.length-1,z=Math.floor(R.length/2),k=R.map((U,M)=>M===z||M===x?g("div",{class:U?b?m.univariateAboveAndBelowLabel:m.rampLabel:""},U):null),$={display:"table-cell",verticalAlign:"middle"},D={marginTop:`${A}px`},J={height:`${o}px`},X={height:`${u}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map((U,M)=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:$,innerHTML:U?.preview?.outerHTML??""}),!b&&M%2===0?g("div",{class:m.layerInfo},R[M]):null))),b?g("div",{style:D,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:N},g("div",{class:m.rampContainer},b)),g("div",{style:N},g("div",{class:m.rampLabelsContainer,style:J},P))),g("div",{style:ue},g("div",{style:N},g("div",{class:m.rampContainer},L)),g("div",{style:N},g("div",{class:m.rampLabelsContainer,style:X},k)))):null)}renderUnivariateColorSizeRamp(a,n,c){let{sizeRampElement:s,colorRampElement:l}=st(a);if(!s)return null;let o=De(s),u=12,_=he(s,"full",!1),b=ge(l,this.symbolUtils,{width:u,height:_,rampAlignment:"vertical",opacity:n,type:"full",effectList:c}),L=s.infos.length-1,A=s.infos.map((z,k)=>k===0||k===L?g("div",{class:z.label?l?m.univariateAboveAndBelowLabel:m.rampLabel:""},z.label):null),R={display:"table-cell",verticalAlign:"middle"},P={marginTop:`${o}px`},x={height:`${_}px`};return g("div",{key:"univariate-above-and-below-ramp-preview",style:He},g("div",{class:m.layerBody},s.infos.map(z=>g("div",{class:`${m.layerRow} ${m.sizeRamp}`},g("div",{class:m.symbol,style:R,innerHTML:z?.preview?.outerHTML??""})))),g("div",{style:P,key:"color-ramp-preview"},g("div",{style:ue},g("div",{style:N},g("div",{class:m.rampContainer},b)),g("div",{style:N},g("div",{class:m.rampLabelsContainer,style:x},A)))))}renderLegendForRamp(a,n){let c=a.infos,s=a.type==="opacity-ramp",l=a.type==="heatmap-ramp",o=a.type==="stretch-ramp",u=a.preview,_=s?m.opacityRamp:"";u&&(u.classList.add(m.colorRamp),_&&u.classList.add(_)),n!=null&&u&&(u.style.opacity=n.toString());let b=c.map(R=>{let P;if(l){let x=this.messages[R.label];P=typeof x=="string"?x:R.label}else o?P="value"in R?this.getStretchStopLabel(R):R.label:P=R.label;return g("div",{class:R.label?m.rampLabel:""},P)}),L={width:`${ot}px`},A={height:u?.style?.height};return g("div",{class:m.layerRow},g("div",{class:m.symbolContainer,style:{...L}},g("div",{ref:R=>{R?.firstChild&&R?.firstChild?.remove(),R?.appendChild(u)},class:m.rampContainer})),g("div",{class:m.layerInfo},g("div",{class:m.rampLabelsContainer,style:{...A}},b)))}getStretchStopLabel(a){let n=this.messages[a.label];return a.label?`${n}: ${typeof a.value=="string"?a.value:this.intl.formatNumber(a.value,{style:"decimal",notation:a.value.toString().includes("e")?"scientific":"standard"})}`:""}renderLegendForElementInfo(a,n,c,s,l,o,u,_,b,L){if("infos"in a)return this.renderLegendForElement(a,n,c,o,u,!0,a);let A=null,R=!rt();if("preview"in a){let{outerHTML:W}=a.preview;A=g("div",{class:m.symbol,innerHTML:W})}else"src"in a&&(A=this.renderImage(a,n,R));if(!A)return null;let P="",x=s?` ${m.sizeRamp}`:"",z,k=Te(n),$=Fe(k,L);if(E.data){let W=Pe(k,n,a,$,_),Y=$?$?.nestedInfos:k,q=xe(Y);z=k?.categories?.size===1?!W?.selected:q||W?.selected}let D="label"in a?a.label:null,J=$&&!("value"in a)?!1:b,X=B.get("compact"),U=this.getTitle(this.messages,D,!1)||"",M=$?l.title:D??n?.id;return J?g("button",{onClick:this.applyFilter(a,n,_,L),class:`${m.layerRow} ${m.interactiveLayerRow}${z?` ${m.infoSelected}`:""}`,title:X?`${U}`:void 0,"aria-pressed":z?"true":"false"},g("div",{class:`${m.symbolContainer}${P}${x}`},A),g("div",{class:`${m.layerInfo}${P}`},this.getTitle(this.messages,D,!1)||""),this.featureCount&&!X?g("instant-apps-interactive-legend-count",{class:K(this.el),categoryId:M,activeLayerInfo:o,legendvm:this.legendvm,messages:this.messages,selected:!!z,legendElement:l,infoIndex:_}):null):g("div",{class:m.layerRow},g("div",{class:`${m.symbolContainer}${P}${x}`},A),g("div",{class:`${m.layerInfo}${P}`},U))}renderImage(a,n,c){let{label:s,src:l,opacity:o}=a,u=c?` ${m.imageryLayerStretchedImage}`:"",_=c?"":` ${m.symbol}`,b={opacity:`${o??n.opacity}`};return g("img",{alt:this.getTitle(this.messages,s,!1),src:l,width:a.width,height:a.height,class:`$${u}${_}`,style:b})}getTitle(a,n,c){if(!n)return;if(typeof n=="string"||typeof n=="number")return n;if("value"in n||"unit"in n){let o=typeof a?.dotValue=="string"?a.dotValue:"";return this.intl.substitute(o,n)}if("colorName"in n||"bandName"in n){let{colorName:o,bandName:u}=n,_=a[o],b=typeof a[u]=="string"?a[u]:u;return`${_}: ${b}`}if("showCount"in n)return n.showCount?a.clusterCountTitle:null;let s=null;if(c){let o=n;s=o.ratioPercentTotal?"showRatioPercentTotal":o.ratioPercent?"showRatioPercent":o.ratio?"showRatio":n.normField?"showNormField":n.field?"showField":null}else if(this.isRendererTitle(c)){let o=n;s=o.normField?"showNormField":o.normByPct?"showNormPct":o.field?"showField":null}let l=s==="showField"?"{field}":typeof s=="string"?a[s]:"";return s?this.intl?.substitute(l,{field:n.field,normField:n.normField}):""}isRendererTitle(a){return!a}async setupWatchersAndListeners(){let a=this.legendvm?.view?.map?.allLayers?.filter(s=>s?.type==="feature"),n=[];for(let s of a)this.legendvm?.view&&n.push(this.legendvm?.view?.whenLayerView(s));let c=[];try{c=await Promise.all(n)}catch(s){console.error(s)}for(let s of c){let l=`fLayerViewScale-${s.layer.id}`;!this.handles?.has(l)&&s&&this.handles?.add(s.watch("visibleAtCurrentScale",()=>{this.createDataForLayer(s.layer).catch(o=>{console.error(o)})}),l)}a?.forEach(s=>{let l=`fLayer-${s?.id}`;this.handles?.has(l)||this.handles?.add(this.reactiveUtils?.watch(()=>s?.visible,()=>{this.createDataForLayer(s).catch(o=>{console.error(o)})}),l)}),this.handles?.add(this.reactiveUtils.when(()=>this.legendvm,()=>{this.reactiveUtils.watch(()=>this.legendvm?.view?.updating,()=>{this.calculatingFeatureCount||this.legendvm?.view?.updating&&(this.calculatingFeatureCount=!0,this.reactiveUtils.when(()=>!this.legendvm?.view?.updating,()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})},{once:!0,initial:!0}))},{initial:!0})},{initial:!0,once:!0})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.activeLayerInfos,"change",s=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).then(()=>{this.handles?.add(this.reactiveUtils.on(()=>s.children,"change",()=>{re(this.legendvm,this.reactiveUtils).then(l=>{B.set("data",{...E.data,...l}),ce(this.el)}).catch(l=>{console.error(l)})}))}).catch(l=>{console.error(l)})})),this.handles?.add(this.reactiveUtils.on(()=>this.legendvm?.view?.map?.layers,"after-changes",()=>{le(this.legendvm,E.data).then(s=>{B.set("data",{...E.data,...s}),this.calculatingFeatureCount=!1}).catch(s=>{console.error(s)})}))}async createDataForLayer(a){let c=B.get("data")?.[a?.id],l=$e(this.legendvm?.activeLayerInfos)?.find(o=>o?.layer?.id===a?.id);if(!c&&l){let o=await ze(this.legendvm,l,this.reactiveUtils);if(ve({intLegendLayerData:o,layerId:a?.id}),this.featureCount){let u=await le(this.legendvm,E.data);B.set("data",{...E.data,...u})}}}applyFilter(a,n,c,s){return async()=>{let l={...E.data?.[n?.id]};s?await fe(l,a,c,this.filterMode,s):await fe(l,a,c,this.filterMode),ve({intLegendLayerData:l,layerId:n?.id})}}get el(){return Ee(this)}static get watchers(){return{filterMode:["handleFilterModeChange"]}}};dt.style=ct;export{dt as instant_apps_interactive_legend_classic};
File without changes
File without changes
File without changes
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{d as s}from"./XEMUI366.js";import{a as p}from"./GTB46XNN.js";import{a as d,c as e,e as r,f as c}from"./G7MUJYUQ.js";import"./NTX6LIB3.js";var o=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0;overflow-x:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",g=o,n={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},v=class{constructor(t){d(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=c(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let t=s(this.activeLayerInfo),{expanded:a}=this,i=a?this.messages?.collapse:this.messages?.expand,l=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return e("header",{key:"57a59414955f0c4dc1cb8dd3df44513d7f6dedca",class:`${n.interacitveLegendHeader} ${p(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},e("span",{key:"c0342cf86465afaa8b40bbf12e2806e6ea9415ee"},e("span",{key:"7b5dd9f84150c9d6fb05ce1610b1bdaf494042a9",class:n.headerActionContainer},e("calcite-action",{key:"6e29b8777d88a405b3716eefbc7c2633aaa2efa3",onClick:this.toggleExpanded(),icon:a?"chevron-down":"chevron-up",appearance:"transparent",text:i,label:i,scale:"s"}),e("h3",{key:"a8e7635ae320aced909a93b4f17583b27cc39d48",class:`${n.header} ${n.label}${l}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&t?e("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return r(this)}};v.style=g;export{v as instant_apps_interactive_legend_group_legend_element_caption};
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a,b}from"./EVZVFSLL.js";import"./UH7XUBQU.js";import"./HYVHA4FY.js";import"./XUZO7LAS.js";import"./MWFRMEVF.js";import"./NTX6LIB3.js";export{a as EventEditorTypes,b as buildSchema};
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as n}from"./PFBJJBFN.js";var p=["content","discussion","event","group","initiative","initiativeTemplate","org","organization","page","project","site","survey","template","user","channel"];var s=e=>p.includes(e);var u=(e,a,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${a}`,o&&(i+=`/${o}`)}return i};export{u as a};
File without changes
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a,b}from"./GKBSDRDK.js";import"./XRGC4MMG.js";import"./7ZIZFBYY.js";import"./VDQ3CIF6.js";import"./3YD5KBWQ.js";import"./MWFRMEVF.js";import"./NTX6LIB3.js";export{a as ProjectEditorTypes,b as ProjectSchema};
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{b as P}from"./ZIGKETIQ.js";import{a as F,c as N}from"./XEMUI366.js";function q(h){return h.map(a=>a?.count).reduce((a,l)=>a+l)}function O(h){return h.flatMap(t=>t?.nestedInfos?.map(a=>a.count)||[]).reduce((t,a)=>t+a,0)}async function A({extent:h,fLayerView:t,field:a,info:l,infoIndex:y,legendElement:E,nestedUniqueSymbolInfo:e,nestedUniqueSymbolInfoIndex:r}){if(!t||!w(t?.layer,a))return;let f=t?.layer?.type==="feature"?t.createQuery():null,o;N(t)?o=F(l,t):l.type?o=P(e,a,r,l,l.infos,""):o=P(l,a,y,E,E.infos,""),f&&o&&(f.where=o==="1=0"?"1=1":o,h&&(f.geometry=h));try{let s=f?await t.queryFeatureCount(f):null;return Promise.resolve({[l.label??t?.layer?.id]:s})}catch(s){console.error("FAILURE AT 'getInfoCount': ",s)}return await Promise.resolve(null)}async function S(h,t){let{activeLayerInfos:a}=h,l=h?.view?.extent,y={},E={};a.forEach(async e=>{let r=e.legendElements[0],f=e.layer,o=t[e?.layer?.id]?.fLayerView,s=f.renderer?.field??"",c=[];E[e.layer.id]=[],r?.infos?.forEach((n,d)=>{if(r.infos?.every(m=>m.type==="symbol-table")){let m=[];n.infos.forEach((p,g)=>{let b=A({extent:l,fLayerView:o,field:s,info:n,infoIndex:d,legendElement:r,nestedUniqueSymbolInfo:p,nestedUniqueSymbolInfoIndex:g});m.push(b)}),E[e.layer.id].push(m)}else c.push(A({extent:l,fLayerView:o,field:s,info:n,infoIndex:d,legendElement:r})),E[e.layer.id]=c});let u=n=>{let d=[],i=n.legendElements[0],m=n.layer,p=t[n?.layer?.id]?.fLayerView,g=m.renderer?.field??"";i?.infos?.forEach((b,x)=>d.push(A({extent:l,fLayerView:p,field:g,info:b,infoIndex:x,legendElement:i}))),E[n.layer.id]=d};e.children.forEach(async n=>{u(n),n?.children?.length>0&&n.children.forEach(d=>{u(d),d?.children?.length>0&&d.children.forEach(i=>{u(i)})})})});for(let e in E){let r=y[e];r||(r=y[e]={});let f=await Promise.all(E[e]);if(f.every(o=>Array.isArray(o))){let o=await Promise.all(f.map(async s=>(await Promise.all(s)).map(n=>n&&Object.values(n)[0])));r[e]=o,y[e]={...r[e]}}else{let o={};f.forEach(s=>{if(!s)return;let c=Object.keys(s)[0];o[c]=s[c]}),e&&(r[e]=o),y[e]={...r[e]}}}return a.forEach(e=>{let r=t[e.layer.id],f=e.layer.id;r?.categories?.forEach((c,u)=>{let d=Array.from(r?.categories).findIndex(i=>i[0]===u);if(c?.nestedInfos)c?.nestedInfos.forEach((i,m)=>{let p=y?.[e?.layer?.id]?.[d]?.[m];i.count=isNaN(p)?null:p});else{let i=y?.[f]?.[u];c.count=isNaN(i)?null:i}});let s=c=>{let u=c.layer.id;t[u]?.categories?.forEach((d,i)=>{let m=y?.[u]?.[i];d.count=m})};e?.children?.forEach(c=>{s(c),c?.children?.length>0&&c.children.forEach(u=>{s(u),u?.children?.length>0&&u.children.forEach(n=>{s(n)})})})}),await Promise.resolve(t)}function w(h,t){let l=h?.fields?.map(y=>y.name);return t?l?.includes(t):!0}export{q as a,O as b,S as c};
File without changes
File without changes
File without changes
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as y,b as m,c as w}from"./XEMUI366.js";import{a as g}from"./ICR52UL7.js";function x(e,t,n,s){let{field:a,legendElement:r,categories:o,fLayerView:l,queryExpressions:c}=e;if(!c)return"";let i=r?.infos??[],d=w(l);s&&N(e,a,c);let h=d?y(t,l):O(t,a,n,r,i,"");C(o,s,t,l,n),D(c,h,d,i.length===1),s&&A(e,a,c);let u=c.every(f=>f&&f.includes("<>"))?" AND ":" OR ";return c.join(u)}function C(e,t,n,s,a){let r=t?e?.get(t.title)?.nestedInfos?.[a]:e?.get(n.label??s?.layer?.id);r&&(r.selected=!r.selected)}function D(e,t,n,s){let a=e.indexOf(t);n?m(e,t,a):Q(e,t,a,s)}function O(e,t,n,s,a,r){if(!t||!s)return r;let o=a[n],l=o?.minValue??o?.value[0],c=o?.maxValue??o?.value[1];if(l!=null&&c!=null)return`${t} >= ${l} AND ${t} <= ${c}`;let i=e?.value??e?.label;return`${t} = '${i}'`}function N(e,t,n){for(let s of e.categories.values())s.nestedInfos?.every(a=>!a.selected)&&s.nestedInfos.forEach(a=>{let r=`${t} = '${a.legendElementInfo.value}'`,o=n.indexOf(r);o!==-1&&n.splice(o,1)})}function A(e,t,n){for(let s of e.categories.values())s.nestedInfos?.every(a=>!a.selected)&&s.nestedInfos.forEach(a=>{let r=`${t} = '${a.legendElementInfo.value}'`;n.includes(r)||n.push(r)})}function Q(e,t,n,s){if(e.length===0||n===-1){e[0]==="1=0"&&e.shift(),e.push(t);return}if(e.length===1){let a=e[0];e[0]=a===t&&!s?"1=0":t;return}e.splice(n,1)}async function F(e,t){let n={},s=[];e.activeLayerInfos.forEach(S(s,e,t));try{return(await Promise.all(s)).forEach(r=>{let o=r?.activeLayerInfo?.layer?.id;n[o]=r}),Promise.resolve(n)}catch{return await Promise.reject(new Error("Failed to generate data"))}}function S(e,t,n){return s=>{let a=s?.layer?.type;if(a==="feature"||a==="group"){let r=b(t,s,n).then(l=>l);r&&e.push(r);let o=l=>{let c=b(t,l,n).then(i=>i);c&&e.push(c)};s.children.forEach(l=>{o(l),l?.children?.length>0&&l.children.forEach(c=>{o(c),c?.children?.length>0&&c.children.forEach(i=>{o(i)})})})}}}async function b(e,t,n){try{let s=t?.layer?.type==="group",a=t?.layer?.layers?.some(u=>u.visible),r=t?.layer?.layers?.every(u=>!u?.legendEnabled);await n.whenOnce(()=>e?.state==="ready"),!s||s&&a?s&&r?await n.whenOnce(()=>t?.layer?.loaded):await n.whenOnce(()=>t?.ready):await n.whenOnce(()=>t?.legendElements);let o=t?.legendElements?.[0],l=new Map,c=t.layer,i=await e?.view?.whenLayerView(c),d=c.renderer?.field??"";o!==void 0&&o?.infos?.forEach(u=>{if(u.type==="symbol-table"){let f=[];u.infos.forEach(E=>{let $={count:null,selected:!1,legendElementInfo:E};f.push($)});let v={count:null,selected:!1,legendElementInfo:u,nestedInfos:f};l.set(u.title,v)}else{let f={count:null,selected:!1,legendElementInfo:u};l.set(u.label??c.id,f)}});let h=[];return i?Promise.resolve({activeLayerInfo:t,title:i.layer.title,categories:l,field:d,queryExpressions:h,totalCount:null,fLayerView:i,legendElement:o}):Promise.resolve(null)}catch{return await Promise.resolve(null)}}function G(e){return[...e.values()]}function K(e,t,n,s,a){if(s)return s?.nestedInfos?.[a];let r=j(t,n);return e?.categories?.get(r)}function j(e,t){return"label"in t?t?.label:e?.id}function L(e){return g?.data?.[e?.id]}function R(e){let t=[];return e.forEach(n=>p(n,t)),t}function p(e,t){t.push(e),e.children&&e.children.length>0&&e.children.forEach(n=>{p(n,t)})}export{x as a,O as b,F as c,b as d,G as e,K as f,L as g,R as h};
File without changes
@@ -1,17 +0,0 @@
1
- Bundled license information:
2
-
3
- tslib/tslib.es6.js:
4
- /*! *****************************************************************************
5
- Copyright (c) Microsoft Corporation.
6
-
7
- Permission to use, copy, modify, and/or distribute this software for any
8
- purpose with or without fee is hereby granted.
9
-
10
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
11
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
13
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
15
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16
- PERFORMANCE OF THIS SOFTWARE.
17
- ***************************************************************************** */
@@ -1,3 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
@@ -1,19 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- /**
5
- * @license
6
- * Copyright 2025 Esri
7
- *
8
- * Licensed under the Apache License, Version 2.0 (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.apache.org/licenses/LICENSE-2.0
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- */
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- function j(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var s,o;let n=r[t];if(n&&n.toParam&&(n=n.toParam()),!n&&n!==0&&typeof n!="boolean"&&typeof n!="string")return;let i=n.constructor.name,a;switch(i){case"Array":let h=(o=(s=n[0])===null||s===void 0?void 0:s.constructor)===null||o===void 0?void 0:o.name;a=h==="Array"?n:h==="Object"?JSON.stringify(n):n.join(",");break;case"Object":a=JSON.stringify(n);break;case"Date":a=n.valueOf();break;case"Function":a=null;break;case"Boolean":a=n+"";break;default:a=n;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var L=globalThis.FormData,pe=globalThis.File,de=globalThis.Blob;function K(r,e){let t=j(r)||e,s=N(r);if(t){let o=new L;return Object.keys(s).forEach(n=>{if(typeof Blob<"u"&&s[n]instanceof Blob){let i=s.fileName||s[n].name||n;o.append(n,s[n],i)}else o.append(n,s[n])}),o}else return O(r)}var R=class extends Error{constructor(e,t,s,o,n){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=s,this.url=o,this.options=n}};function W(r){console&&console.warn&&console.warn.apply(console,[r])}function V(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function oe(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var S=class extends R{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",s,o,n){super(e,t,s,o,n),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let s=0,o=(n,i)=>{s=s+1,e(this.url,this.options).then(a=>{let h=Object.assign(Object.assign({},this.options),{authentication:a});return Q(this.url,h)}).then(a=>{n(a)}).catch(a=>{a.name==="ArcGISAuthError"&&s<t?o(n,i):a.name===this.name&&a.message===this.message&&s>=t?i(this):i(a)})};return new Promise((n,i)=>{o(n,i)})}};function ie(r,e,t,s,o){if(r.code>=400){let{message:n,code:i}=r;throw new R(n,i,r,e,s)}if(r.error){let{message:n,code:i,messageCode:a}=r.error,h=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new S(n,h,r,e,s):new R(n,h,r,e,s)}if(r.status==="failed"||r.status==="failure"){let n,i="UNKNOWN_ERROR_CODE";try{n=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{n=r.statusMessage||r.message}throw new R(n,i,r,e,s)}return r}function Q(r,e){let t=oe(),s=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:n}=s,i=Object.assign({f:"json"},s.params),a=null,h={method:o,signal:s.signal,credentials:s.credentials||"same-origin"};s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(h.credentials="include");let g;if(typeof s.authentication=="string"){let c=s.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!s.authentication.startsWith("AAPK")&&!s.authentication.startsWith("AATK")&&!s.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(W("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=s.authentication;let f=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=s,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(h.credentials=g.getDomainCredentials(r));let l={};if(h.method==="GET"){i.token&&s.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let p=O(i)===""?r:r+"?"+O(i);s.maxUrlLength&&p.length>s.maxUrlLength||i.token&&s.hideToken?(h.method="POST",c.length&&s.hideToken&&(i.token=c,delete l["X-Esri-Authorization"])):r=p}let E=new RegExp("/items/.+/updateResources").test(r);return h.method==="POST"&&(h.body=K(i,E)),h.headers=Object.assign(Object.assign({},l),s.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!h.headers.referer&&(h.headers.referer=q),!j(i)&&!E&&(h.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,h):V().then(({fetch:u})=>u(r,h))}).then(c=>{if(!c.ok)return c.json().then(l=>{let{status:E,statusText:u}=c,{message:p,details:b}=l.error,k=`${p}. ${b?b.join(" "):""}`.trim();throw new R(k,`HTTP ${E} ${u}`,l,r,s)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:E,statusText:u}=c;throw new R(u,`HTTP ${E}`,c,r,s)});if(n)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!n){let l=ie(c,f,i,s,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];s.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return l}else return c})}function d(r,e={params:{f:"json"}}){return Q(r,e).catch(t=>t instanceof S&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?t.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(t))}function ae(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function X(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:s,value:o}=ae(t);return e[s]=o,e},{})}var Y=5*60*1e3;function I(r,e){let t=e;return t.rawResponse=!1,d(r,t).then(s=>{if("token"in s&&"expires"in s)return{token:s.token,username:e.params.username,expires:new Date(s.expires)};let o={token:s.access_token,username:s.username,expires:new Date(Date.now()+s.expires_in*1e3-Y),ssl:s.ssl===!0};return s.refresh_token&&(o.refreshToken=s.refresh_token),s.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+s.refresh_token_expires_in*1e3-Y)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function B(r){return F.test(r)}function ce(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function Z(r,e){let t=m(ce(e)).replace(/https?:\/\//,""),s=m(r).replace(/https?:\/\//,"");return new RegExp(s,"i").test(t)}function ee(r,e){let t=B(r),s=B(e),o=G(r),n=G(e);return!!(t&&s&&o===n)}function te(r,e,t="https://www.arcgis.com/sharing/rest"){let s=`${t}/oauth2/validateAppAccess`;return d(s,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Fe(r,e,t){let s=["params","httpMethod","rawResponse","authentication","portal","fetch","maxUrlLength","headers"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((n,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(n[i]=r[i]),n),o.params),s.reduce((n,i)=>(o[i]&&(n[i]=o[i]),n),{})}var w;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(w||(w={}));var _=class extends Error{constructor(e="UNKNOWN_ERROR",t=w.UNKNOWN_ERROR_CODE,s,o,n){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=s,this.url=o,this.options=n}};var P=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var re;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(re||(re={}));var D=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,s=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=d(t,s).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function se(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,s=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:s,auth_token:t}});return d(e,o).then(n=>{if(!n.success)throw new R("Unable to revoke token",500,n,e,o);return n})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function ne(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let s=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",s).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}var T=class r extends D{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:s,provider:o,clientId:n,expiration:i,redirectUri:a,popup:h,popupWindowFeatures:g,locale:f,params:c,style:l,pkce:E,state:u}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),p=u||z(t),b=`ARCGIS_REST_JS_AUTH_STATE_${n}`;t.localStorage.setItem(b,p);let k=`${m(s)}/oauth2/authorize`,y={client_id:n,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:p,originalUrl:t.location.href}),locale:f,style:l};o!=="arcgis"&&(k=`${m(s)}/oauth2/social/authorize`,y.socialLoginProviderName=o,y.autoAccountCreateForSocial=!0);let $;if(E){let U=z(t),C=`ARCGIS_REST_JS_CODE_VERIFIER_${n}`;t.localStorage.setItem(C,U),$=ne(U,t).then(function(x){y.code_challenge_method=x?"S256":"plain",y.code_challenge=x||U})}else $=Promise.resolve();return $.then(()=>{if(k=`${k}?${O(y)}`,c&&(k=`${k}&${O(c)}`),h)return new Promise((U,C)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${n}`,x=>{if(x.detail.error==="access_denied"){let v=new P;return C(v),v}if(x.detail.errorMessage){let v=new S(x.detail.errorMessage,x.detail.error);return C(v),v}U(new r({clientId:n,portal:s,ssl:x.detail.ssl,token:x.detail.token,tokenExpires:x.detail.expires,username:x.detail.username,refreshToken:x.detail.refreshToken,refreshTokenExpires:x.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(k,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=k})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:s,clientId:o,popup:n,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),h=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(h),f=X(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=f&&f.state?JSON.parse(f.state):void 0;function l(u,p,b){if(t.localStorage.removeItem(h),n&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:p,errorMessage:u}})),t.close();return}return b&&t.history.replaceState(t.history.state,"",b),p==="access_denied"?Promise.reject(new P):Promise.reject(new S(u,p))}function E(u,p){if(t.localStorage.removeItem(h),n&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},u)})),t.close();return}return t.history.replaceState(t.history.state,"",p),new r({clientId:o,portal:s,ssl:u.ssl,token:u.token,tokenExpires:u.expires,username:u.username,refreshToken:u.refreshToken,refreshTokenExpires:u.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return l("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return l("Saved client state did not match server sent state.","mismatched-auth-state");if(f.error){let u=f.error,p=f.error_description||"Unknown error";return l(p,u,c.originalUrl)}if(i&&f.code){let u=m(`${s}/oauth2/token/`),p=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,b=t.localStorage.getItem(p);return t.localStorage.removeItem(p),I(u,{httpMethod:"POST",params:{client_id:o,code_verifier:b,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:f.code}}).then(k=>E(Object.assign(Object.assign({},k),c),c.originalUrl)).catch(k=>l(k.originalMessage,k.code,c.originalUrl))}return!i&&f.access_token?Promise.resolve(E(Object.assign({token:f.access_token,expires:new Date(Date.now()+parseInt(f.expires_in,10)*1e3),ssl:f.ssl==="true",username:f.username},c),c.originalUrl)):l("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let s;return new Promise((o,n)=>{s=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return n(a)}},t.addEventListener("message",s,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",s,!1),o))}static authorize(e,t){let{portal:s,clientId:o,expiration:n,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),h={client_id:o,expiration:n,response_type:"code",redirect_uri:i};a&&(h.state=a);let g=`${s}/oauth2/authorize?${O(h)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:s,clientId:o,redirectUri:n}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return I(`${s}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:n,code:t}}).then(i=>new r({clientId:o,portal:s,ssl:i.ssl,redirectUri:n,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new _(i.message,w.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let s=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:s,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:s,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential")return new r(e.data.credential);if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return se({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,s=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=d(t,s).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return ee(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>te(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new _("Unable to refresh token. No refresh token or password present.",w.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[s,o,n]=t.match(/(https?:\/\/)(.+)/),[i,...a]=n.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let s=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",n=this.tokenExpires.getTime()>Date.now();if(s&&o){let i={};n?i={type:"arcgis:auth:credential",credential:this.toJSON()}:i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}},t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let s=this.getServerRootUrl(e),o=this.federatedServers[s];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[s]?this._pendingTokenRequests[s]:(this._pendingTokenRequests[s]=this.fetchAuthorizedDomains().then(()=>d(`${s}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(n=>{if(n.owningSystemUrl){if(Z(n.owningSystemUrl,this.portal))return d(`${n.owningSystemUrl}/sharing/rest/info`,t);throw new _(`${e} is not federated with ${this.portal}.`,w.NOT_FEDERATED)}else{if(n.authInfo&&this.federatedServers[s]!==void 0)return Promise.resolve({authInfo:n.authInfo});throw new _(`${e} is not federated with any portal and is not explicitly trusted.`,w.NOT_FEDERATED)}}).then(n=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(n.authInfo.tokenServicesUrl,s)):this.generateTokenForServer(n.authInfo.tokenServicesUrl,s)).then(n=>(this.federatedServers[s]=n,delete this._pendingTokenRequests[s],n.token))),this._pendingTokenRequests[s])}generateTokenForServer(e,t){return d(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(s=>({token:s.token,expires:new Date(s.expires-1e3*60*5)})).catch(s=>{throw new _(s.message,w.GENERATE_TOKEN_FOR_SERVER_FAILED,s.response,s.url,s.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?d(`${this.getServerRootUrl(this.server)}/rest/info`).then(s=>d(s.authInfo.tokenServicesUrl,Object.assign({params:t},e))):d(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(s=>(this.updateToken(s.token,new Date(s.expires)),this)).catch(s=>{throw new _(s.message,w.TOKEN_REFRESH_FAILED,s.response,s.url,s.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let s=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return I(`${this.portal}/oauth2/token`,s).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new _(o.message,w.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return I(`${this.portal}/oauth2/token`,t).then(s=>(this._token=s.token,this._tokenExpires=s.expires,this._refreshToken=s.refreshToken,this._refreshTokenExpires=s.refreshTokenExpires,this)).catch(s=>{throw new _(s.message,w.REFRESH_TOKEN_EXCHANGE_FAILED,s.response,s.url,s.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function A(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new T(r)}A.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),T.beginOAuth2(...r)};A.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),T.completeOAuth2(...r)};A.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),T.fromParent(...r)};A.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),T.authorize(...r)};A.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),T.exchangeAuthorizationCode(...r)};A.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),T.fromCredential(...r)};A.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),T.deserialize(...r)};export{W as a,d as b,Fe as c,m as d,T as e};
File without changes
File without changes