@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
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
3
+ v1.0.0-next.20250506 */
4
4
  var p="::",r="|";function c(t){return t.indexOf(r)>-1&&(t=t.replace(r,p)),t}var u="~",R=256,o="slug";function _(t,e,n=0){return[o,e.toLowerCase(),t].join("|").substring(0,R-n).replace(/-+$/,"").replace(new RegExp(`^${o}\\|`),"")}function l(t){let e=`${o}|${t}|`;return R-e.length}var s=(t,e)=>`${t.split(r).pop()}${u}${e}`;export{c as a,o as b,_ as c,l as d,s as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as l}from"./TMAKEW62.js";import{b as t,c as u}from"./ROKV4HKO.js";import"./NTX6LIB3.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
3
+ v1.0.0-next.20250506 */
4
+ import{a as l}from"./BVQYLN5G.js";import{b as t,c as u}from"./ZINUZJUT.js";import"./YL7EG5AA.js";var m=o=>{let i=o.find(({collaborationType:n})=>n===l.anonymous),e=o.find(({collaborationType:n})=>n===l.authenticated);return[{key:"public",roles:{anonymous:{value:i?.permission||t,id:i?.id},authenticated:{value:e?.permission||t,id:e?.id}}}]},c=o=>{let i=o.reduce((e,n)=>[l.group,l.groupAdmin].includes(n.collaborationType)&&n.permission!==u.channelOwner?Object.assign(Object.assign({},e),{[n.collaborationId]:Object.assign(Object.assign({},e[n.collaborationId]),{[n.collaborationType]:n})}):e,{});return Object.entries(i).reduce((e,[n,{group:r,["group-admin"]:s}])=>[...e,{key:n,entityId:n,entityType:"group",roles:{member:{value:r?.permission||t,id:r?.id},admin:{value:s?.permission||t,id:s?.id}}}],[])},v=(o,i)=>{let e=o.reduce((r,s)=>[l.org,l.orgAdmin].includes(s.collaborationType)?Object.assign(Object.assign({},r),{[s.collaborationId]:Object.assign(Object.assign({},r[s.collaborationId]),{[s.collaborationType]:s})}):r,{}),n=Object.entries(e).reduce((r,[s,{org:a,["org-admin"]:d}])=>[...r,{key:s,entityId:s,entityType:"organization",roles:{member:{value:a?.permission||t,id:a?.id},admin:{value:d?.permission||t,id:d?.id}}}],[]);return n.length||n.push({key:i,entityId:i,entityType:"organization",roles:{member:{value:t,id:void 0},admin:{value:u.channelOwner,id:void 0}}}),n},b=o=>o.reduce((i,e)=>e.collaborationType===l.user?[...i,{key:e.collaborationId,entityId:e.collaborationId,entityType:"user",roles:{user:{value:e.permission,id:e.id}}}]:i,[]);function p(o,i){return{id:o.id,name:o.name,blockWords:o.blockWords.join(","),allowAsAnonymous:o.allowAsAnonymous,publicConfigs:m(o.permissions),orgConfigs:v(o.permissions,i.currentUser.orgId),groupConfigs:c(o.permissions),userConfigs:b(o.permissions)}}export{p as transformEntityToEditor};
@@ -0,0 +1,18 @@
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.20250506 */
4
+ import{a as d}from"./T2KV5AD5.js";import"./MRQ546N3.js";import{a as T,d as I}from"./TWWXSJS5.js";import"./4EGMVXYU.js";import"./RXXW5VAY.js";import"./QANVXL5I.js";import"./VXWKIKTD.js";import"./LHDUZO7G.js";import"./6L454NXU.js";import"./7BZS2MB3.js";import{g as L,j as E}from"./2CIE6LR3.js";import{c as l,e as r,f as c}from"./JPZXVCEU.js";import"./MW3SBXWD.js";import{a as g,b as _}from"./AD55O7ES.js";import{b as k}from"./JDW5U5DH.js";import{a as x}from"./FNPIEXII.js";import{B as v,C as $,c as f,d as o,f as p,n as y,q as S,w,x as h}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var C=f`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block;--calcite-input-message-spacing-value: 0}.align-center{align-items:center}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.action-bar-size{height:3.5rem;width:100%}.w-1-2{width:50%}.w-1-3{width:33.33%}.width-full{width:100%}.height-full{height:100%}.padding-1{padding:1rem}.padding-top-sides-1{padding-block-start:1rem;padding-inline-start:1rem;padding-inline-end:1rem}.padding-sides-1{padding-inline-start:1rem;padding-inline-end:1rem}.padding-end-1-2{padding-inline-end:.5rem}.padding-top-1-2{padding-block-start:.5rem}.padding-top-1{padding-top:1rem}.padding-bottom-1{padding-bottom:1rem}.padding-bottom-1-2{padding-bottom:.5rem}.info-blue{color:#00a0ff}.info-message{justify-content:center;display:grid}.font-bold{font-weight:700}.display-flex{display:flex}.display-block{display:block}.display-none{display:none}.border-bottom{border-bottom:1px solid var(--calcite-color-border-2)}.padding-start-1-2{padding-inline-start:.5rem}.list-border{border:1px solid var(--calcite-color-border-2)}.margin-sides-1{margin-inline-start:1rem;margin-inline-end:1rem}.margin-start-1-2{margin-inline-start:.5rem}.float-right{float:right}.float-right[dir=rtl],.float-left{float:left}.float-left[dir=rtl]{float:right}.margin-top-0{margin-block-start:0!important}.height-1-1-2{height:1.5rem}.main-background{background-color:var(--calcite-color-foreground-2)}.position-right{position:absolute;right:1rem}.position-right[dir=rtl]{position:absolute;left:1rem}.label-margin-0{--calcite-label-margin-bottom: 0}.list-label{color:var(--calcite-color-text-1)}.list-label,.list-description{font-family:var(--calcite-sans-family);font-size:var(--calcite-font-size--2);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.list-description{margin-block-start:.125rem;color:var(--calcite-color-text-3)}.img-container{width:100%;height:100%}.font-weight-500{font-weight:500}.background-override{height:100%;width:100%;--calcite-color-foreground-3: var(--calcite-color-brand);--calcite-color-foreground-2: var(--calcite-color-brand-hover);--calcite-color-text-1: var(--calcite-color-text-inverse)}.word-wrap-anywhere{word-wrap:anywhere}.tooltip-message{padding:5px 8px;font-weight:var(--calcite-font-weight-normal);color:var(--calcite-color-text-2);max-width:400px}}`,b=class extends w{constructor(){super(),this.addresseeLayerIds=[],this.bufferColor=[227,139,79,.8],this.bufferOutlineColor=[255,255,255],this.customLabelEnabled=!1,this.defaultBufferDistance=0,this.defaultBufferUnit="feet",this.defaultExportTitle="",this.defaultNumLabelsPerPage=6,this.enableLayerFeatures=!0,this.enableLayerFeaturesOnLoad=!1,this.enableSearchDistance=!0,this.enableSearchDistanceOnLoad=!1,this.enableSketchTools=!0,this.featureHighlightEnabled=!1,this.noResultText="",this.initialNotice="",this.selectionLayerIds=[],this.showRefineSelection=!1,this.showSearchSettings=!0,this._exportGraphics=!1,this._addMap=!1,this._addResults=!0,this._addTitle=!1,this._downloadActive=!0,this._exportType=c.PDF,this._fetchingData=!1,this._isMobile=!1,this._numDuplicates=0,this._pageType=l.LIST,this._saveEnabled=!1,this._selectionSets=[],this._translations=x({name:"public-notification",blocking:!0}),this._downloadTools=g(),this._onboardingImageUrl="",this._popupsEnabled=!1,this._removeDuplicates=g(),this._selectTools=g(),this._titleElement=g(),this._titleValue=void 0,this._numSelected=0,this.searchConfigurationChange=y(),this.listenOn(window,"selectionSetsChanged",this.selectionSetsChanged)}static{this.properties={addresseeLayerIds:0,bufferColor:1,bufferOutlineColor:1,customLabelEnabled:5,defaultBufferDistance:9,defaultBufferUnit:1,defaultExportTitle:1,defaultNumLabelsPerPage:9,enableLayerFeatures:5,enableLayerFeaturesOnLoad:5,enableSearchDistance:5,enableSearchDistanceOnLoad:5,enableSketchTools:5,featureEffect:0,featureHighlightEnabled:5,mapView:0,noResultText:1,initialNotice:1,searchConfiguration:0,selectionLayerIds:0,showRefineSelection:5,showSearchSettings:5,sketchLineSymbol:0,sketchPointSymbol:0,sketchPolygonSymbol:0,_exportGraphics:16,_addMap:16,_addResults:16,_addTitle:16,_downloadActive:16,_exportType:16,_fetchingData:16,_isMobile:16,_numDuplicates:16,_pageType:16,_saveEnabled:16,_selectionSets:16,_translations:16}}static{this.styles=C}static{this.shadowRootOptions=S}willUpdate(e){e.has("mapView")&&this.mapView&&this.mapViewWatchHandler(this.mapView),e.has("searchConfiguration")&&this.searchConfiguration&&this.watchSearchConfigurationHandler(this.searchConfiguration,e.get("searchConfiguration")),e.has("sketchLineSymbol")&&this.sketchLineSymbolWatchHandler(this.sketchLineSymbol,e.get("sketchLineSymbol")),e.has("sketchPointSymbol")&&this.sketchPointSymbolWatchHandler(this.sketchPointSymbol,e.get("sketchPointSymbol")),e.has("sketchPolygonSymbol")&&this.sketchPolygonSymbolWatchHandler(this.sketchPolygonSymbol,e.get("sketchPolygonSymbol")),e.has("_pageType")&&(this.hasUpdated||this._pageType!==l.LIST)&&this.pageTypeWatchHandler(this._pageType,e.get("_pageType"))}async mapViewWatchHandler(e){e?.popup&&(this._popupsEnabled=e?.popupEnabled),this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}async watchSearchConfigurationHandler(e,t){let i=JSON.stringify(e);this.mapView&&(i!==JSON.stringify(t)||i&&!this._searchConfiguration)&&(this._searchConfiguration=JSON.parse(i),this._searchConfiguration&&this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}async sketchLineSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setLineSymbol(e)}async sketchPointSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPointSymbol(e)}async sketchPolygonSymbolWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._setPolygonSymbol(e)}async pageTypeWatchHandler(e,t){if(this._checkPopups(),this.mapView?.popup&&(this.mapView.popupEnabled=e!==l.LIST?!1:this._popupsEnabled),e===l.EXPORT&&(this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._updateExportGraphics(),this._fetchingData=!1),this._clearHighlight(),(t===l.SELECT||t===l.REFINE)&&await this._clearSelection(),t===l.EXPORT&&this._removeExportGraphics(),e!==l.SELECT)return this._highlightFeatures()}selectionSetsChanged(e){this._selectionSets=[...e.detail]}connectedCallback(){super.connectedCallback(),this._mediaQuery=window.matchMedia("(max-width: 600px)"),this.listenOn(this._mediaQuery,"change",e=>this._setIsMobile(e))}async load(){await this._initModules(),this._initSymbols(),this._onboardingImageUrl=$("assets/public-notification/images/onboarding.png")}render(){let e=this._isMobile?"footer":"header";return o`<calcite-shell><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=${e??p}>${this._getActionGroup("list-check",l.LIST,this._translations.myLists)}${this.showRefineSelection?this._getActionGroup("test-data",l.REFINE,this._translations.refineSelection):null}${this._getActionGroup("export",l.EXPORT,this._translations.export)}</calcite-action-bar>${this._getPage(this._pageType)}</calcite-shell>`}loaded(){this.searchConfiguration&&this._initSearchConfiguration(this.searchConfiguration)}disconnectedCallback(){super.disconnectedCallback()}async _initModules(){let[e,t,i]=await k(["esri/geometry/geometryEngine","esri/symbols/support/jsonUtils","esri/Graphic"]);this._geometryEngine=e,this._jsonUtils=t,this.Graphic=i}_initSearchConfiguration(e){this.searchConfiguration&&!this._searchConfiguration&&this.mapView&&(this._searchConfiguration=e,this.searchConfigurationChange.emit(this._searchConfiguration),this._home())}_initSymbols(){this._setLineSymbol(this.sketchLineSymbol),this._setPointSymbol(this.sketchPointSymbol),this._setPolygonSymbol(this.sketchPolygonSymbol)}_setLineSymbol(e){let t=e?.type==="simple-line";this.sketchLineSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSLS",color:[130,130,130,255],width:2,style:"esriSLSSolid"})}_setPointSymbol(e){let t=e?.type==="simple-marker";this.sketchPointSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSMS",color:[255,255,255,255],angle:0,xoffset:0,yoffset:0,size:6,style:"esriSMSCircle",outline:{type:"esriSLS",color:[50,50,50,255],width:1,style:"esriSLSSolid"}})}_setPolygonSymbol(e){let t=e?.type==="simple-fill";this.sketchPolygonSymbol=t?e:this._jsonUtils?.fromJSON(e||{type:"esriSFS",color:[150,150,150,51],outline:{type:"esriSLS",color:[50,50,50,255],width:2,style:"esriSLSSolid"},style:"esriSFSSolid"})}_setIsMobile(e){this._isMobile=e.matches}_getActionGroup(e,t,i){let s=this.showRefineSelection?"w-1-3":"w-1-2";return o`<calcite-action-group class=${h(s)} layout=horizontal><div class="background-override"><calcite-action .active=${this._pageType===t} alignment=center class="width-full height-full" .icon=${e} id=${e??p} @click=${()=>{this._setPageType(t)}} text></calcite-action></div><calcite-tooltip label placement=bottom .referenceElement=${e}><span>${i}</span></calcite-tooltip></calcite-action-group>`}_setPageType(e){this._pageType=e}_getPage(e){let t;switch(e){case l.LIST:t=this._getListPage();break;case l.SELECT:t=this._getSelectPage();break;case l.EXPORT:t=this._getExportPage();break;case l.REFINE:t=this._getRefinePage();break}return t}_getListPage(){let e=this._hasSelections(),t=e?this._translations.listHasSetsTip:this.initialNotice!==""?this.initialNotice:this._translations.selectLayerAndAdd;return o`<calcite-panel>${this._getLabel(this._translations.myLists)}${this._getNotice(t||"","padding-sides-1 padding-bottom-1","word-wrap-anywhere")}${e?this._getSelectionSetList():this._getOnboardingImage()}<div class="display-flex padding-1"><calcite-button @click=${()=>{this._setPageType(l.SELECT)}} width=full><span class="font-weight-500">${this._translations.add}</span></calcite-button></div></calcite-panel>`}_getOnboardingImage(){return o`<div class="display-flex padding-sides-1"><img class="img-container" role=presentation src=${this._onboardingImageUrl??p}></div>`}_getSelectionSetList(){return o`<div class="padding-top-1-2 padding-bottom-1-2"><calcite-list class="list-border margin-sides-1" label>${this._selectionSets.reduce((e,t,i)=>{let s=this._getSelectionSetIds(t),a=!0;return t.workflowType===r.REFINE&&(a=Object.keys(t.refineInfos).reduce((n,u)=>{let m=t.refineInfos[u];return n+=m.addIds.length+m.removeIds.length,n},0)>0),a&&e.push(o`<calcite-list-item .label=${t.label} @click=${()=>this.mapView&&this._gotoSelection(t,this.mapView)}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",s.length.toString())}</div></div>${this._getAction(!0,"pencil","",n=>this._openSelection(t,n),!1,"actions-end")}${this._getAction(!0,"x","",n=>this._deleteSelection(i,n),!1,"actions-end")}</calcite-list-item>`),e},[])}</calcite-list></div>`}_getSelectionSetIds(e){return e.workflowType!==r.REFINE?e.selectedIds:Object.keys(e.refineInfos).reduce((t,i)=>[...t,...e.refineInfos[i].addIds],[])}_hasSelections(e=!1){let t=[],i=this._selectionSets.some(s=>s.workflowType===r.REFINE?(t=this._getSelectionSetIds(s),!0):!1);return e&&i?t.length>0||this._selectionSets.length>1:this._selectionSets.length>0}async _getNumDuplicates(){let e=this._getExportInfos(),t=this.mapView?.map&&await T(this.mapView.map,e),i=t&&I(t);return t&&i?t.length-i.length:0}_getExportInfos(){return this._selectionSets.reduce((e,t)=>{if(t.download)if(t.workflowType!==r.REFINE&&t?.layerView){let i=t.layerView.layer.id;i!==void 0&&this._updateIds(i,t.layerView,t.selectedIds,e)}else Object.keys(t.refineInfos).forEach(i=>{let s=t.refineInfos[i];s.addIds.length>0&&this._updateIds(i,s.layerView,s.addIds,e)});return e},{})}_updateIds(e,t,i,s){return s[e]?s[e].ids=s[e].ids.concat(i):s[e]={layerView:t,ids:i},s}_getSelectPage(){let e=this._translations.selectSearchTip;return o`<calcite-panel>${this._getLabel(this._translations?.stepTwoFull,!0)}${this._getNotice(e,"padding-1","word-wrap-anywhere")}<div><map-select-tools .bufferColor=${this.bufferColor} .bufferOutlineColor=${this.bufferOutlineColor} class="font-bold" .customLabelEnabled=${this.customLabelEnabled} .defaultBufferDistance=${this.defaultBufferDistance} .defaultBufferUnit=${this.defaultBufferUnit} .enableLayerFeatures=${this.enableLayerFeatures} .enableLayerFeaturesOnLoad=${this.enableLayerFeaturesOnLoad} .enableSearchDistance=${this.enableSearchDistance} .enableSearchDistanceOnLoad=${this.enableSearchDistanceOnLoad} .enableSketchTools=${this.enableSketchTools} .enabledLayerIds=${this.addresseeLayerIds} .isUpdate=${!!this._activeSelection} .mapView=${this.mapView} .noResultText=${this.noResultText} @selectionSetChange=${this._updateForSelection} .searchConfiguration=${this._searchConfiguration} .searchDistanceEnabled=${this.enableSearchDistanceOnLoad} .selectionLayerIds=${this.selectionLayerIds} .selectionSet=${this._activeSelection} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol} .useLayerFeaturesEnabled=${this.enableLayerFeaturesOnLoad} ${_(this._selectTools)}></map-select-tools></div>${this._getPageNavButtons(this._translations.done,this._numSelected===0,()=>{this._saveSelection()},this._translations.cancel,!1,()=>{this._home()})}</calcite-panel>`}_getExportPage(){let e=this._hasSelections(this.showRefineSelection),t=this._numDuplicates>0?"display-block":"display-none";return o`<calcite-panel><div>${this._getLabel(this._translations.export,!1)}${e?o`<div>${this._getNotice(this._translations.exportTip,"padding-sides-1")}${this._getLabel(this._translations.exportListsLabel)}${this._getExportSelectionLists()}<div class=${`padding-sides-1 ${t}`}><div class="display-flex"><calcite-label layout=inline><calcite-checkbox ${_(this._removeDuplicates)}></calcite-checkbox><div class="display-flex">${this._translations.removeDuplicate}<div class="info-message padding-start-1-2"><calcite-input-message class="info-blue margin-top-0" scale=m>${` ${this._translations.numDuplicates.replace("{{n}}",this._numDuplicates.toString())}`}</calcite-input-message></div></div></calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=remove-duplicates-icon scale=s></calcite-icon></div><calcite-popover closable label overlay-positioning=fixed reference-element=remove-duplicates-icon><span class="tooltip-message">${this._translations.duplicatesTip}</span></calcite-popover></div><div class="border-bottom"></div><div class="padding-top-sides-1"><calcite-segmented-control class="w-100" @calciteSegmentedControlChange=${this._exportTypeChange} width=full><calcite-segmented-control-item .checked=${this._exportType===c.PDF} class="w-50 end-border" .value=${c.PDF}><span class="font-weight-500">${this._translations.pdf}</span></calcite-segmented-control-item><calcite-segmented-control-item .checked=${this._exportType===c.CSV} class="w-50" .value=${c.CSV}><span class="font-weight-500">${this._translations.csv}</span></calcite-segmented-control-item></calcite-segmented-control></div><div class="padding-bottom-1">${this._getExportOptions()}</div><div class="padding-1 display-flex"><calcite-button .disabled=${!this._downloadActive||this._fetchingData||!this._addMap&&!this._addResults} .loading=${this._fetchingData} @click=${()=>void this._export()} width=full><span class="font-weight-500">${this._translations.export}</span></calcite-button></div></div>`:this._getNotice(this._translations.downloadNoLists,"padding-sides-1 padding-bottom-1")}</div></calcite-panel>`}_exportTypeChange(e){this._exportType=e.target.value}_getExportOptions(){let e=this._exportType===c.PDF?"display-block":"display-none",t=this._addTitle?"display-block":"display-none",i=this._addMap?"display-flex":"display-none",s=this._titleValue?this._titleValue:this.defaultExportTitle?this.defaultExportTitle:"",a=this._addResults?"":"display-none";return o`<div class=${h(e)}>${this._getLabel(this._translations.pdfOptions,!0)}<div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addResults} @calciteCheckboxChange=${()=>this._addResults=!this._addResults}></calcite-checkbox>${this._translations.addResults}</calcite-label></div><div class=${`padding-top-sides-1 ${a}`}><calcite-label class="label-margin-0">${this._translations.selectPDFLabelOption}</calcite-label></div><div class=${`padding-sides-1 ${a}`}><pdf-download .defaultNumLabelsPerPage=${Number.parseInt(this.defaultNumLabelsPerPage.toString(),10)} .disabled=${!this._downloadActive} ${_(this._downloadTools)}></pdf-download></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addTitle} @calciteCheckboxChange=${()=>this._addTitle=!this._addTitle}></calcite-checkbox>${this._translations.title}</calcite-label></div><div class=${h(t)}>${this._getLabel(this._translations.title,!0,"")}<calcite-input-text class="padding-sides-1" @calciteInputTextInput=${()=>this._changeTitle()} .placeholder=${this._translations.titlePlaceholder} .value=${s} ${_(this._titleElement)}></calcite-input-text></div><div class="padding-top-sides-1"><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._addMap} @calciteCheckboxChange=${()=>this._handleAddMapChange()}></calcite-checkbox>${this._translations.includeMap}</calcite-label></div><div class=${`padding-top-sides-1 ${i}`}><calcite-label class="label-margin-0" layout=inline><calcite-checkbox .checked=${this._exportGraphics} @calciteCheckboxChange=${()=>this._handleExportGraphicsChange()}></calcite-checkbox>${this._translations.listGraphics}</calcite-label><calcite-icon class="padding-start-1-2 icon" .flipRtl=${this._translations._lang?.toLowerCase()!=="he"} icon=question id=list-graphics-icon scale=s></calcite-icon><calcite-popover closable label overlay-positioning=fixed reference-element=list-graphics-icon><span class="tooltip-message">${this._translations.listGraphicsTip}</span></calcite-popover></div></div>`}_handleAddMapChange(){this._addMap=!this._addMap,this._updateExportGraphics()}_handleExportGraphicsChange(){this._exportGraphics=!this._exportGraphics,this._updateExportGraphics()}_getManagedLayer(e){let t;return Object.keys(d.managedLayers).some(i=>{let s=this.mapView?.map.layers.findIndex(a=>a.title===i);return d.managedLayers[i]===e&&s!==void 0?(t=this.mapView?.map.layers.getItemAt(s),!0):!1}),t}_updateExportGraphics(e=!1){(e||!this._exportGraphics||!this._addMap)&&this._removeExportGraphics(),this._exportGraphics&&this._addMap&&this._addExportGraphics()}_removeExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");e&&e.graphics.removeAll(),t&&t.graphics.removeAll()}_addExportGraphics(){let e=this._getManagedLayer("sketch"),t=this._getManagedLayer("buffer");this._selectionSets.forEach(i=>{if(i.download&&(e&&i.sketchGraphic&&e.graphics.add(i.sketchGraphic),t)){let s={type:"simple-fill",color:this.bufferColor,outline:{color:this.bufferOutlineColor,width:1}},a=this.Graphic&&new this.Graphic({geometry:i.buffer,symbol:s});a&&t.graphics.add(a)}})}_getRefinePage(){let e=this._hasSelections();return o`<calcite-panel>${this._getLabel(this._translations.refineSelection)}${e?o`<div>${this._getNotice(this._translations.refineTip,"padding-sides-1")}<refine-selection .enabledLayerIds=${this.selectionLayerIds} .mapView=${this.mapView} .selectionSets=${this._selectionSets} .sketchLineSymbol=${this.sketchLineSymbol} .sketchPointSymbol=${this.sketchPointSymbol} .sketchPolygonSymbol=${this.sketchPolygonSymbol}></refine-selection></div>`:this._getNotice(this._translations.refineTipNoSelections,"padding-sides-1")}</calcite-panel>`}_getPageNavButtons(e,t,i,s,a,n){return o`<div class="padding-bottom-1"><div class="display-flex padding-top-sides-1"><calcite-button .disabled=${t} @click=${i} width=full><span class="font-weight-500">${e}</span></calcite-button></div><div class="display-flex padding-top-1-2 padding-sides-1"><calcite-button appearance=outline .disabled=${a} @click=${n} width=full><span class="font-weight-500">${s}</span></calcite-button></div></div>`}_changeTitle(){this._titleElement.value?.value&&(this._titleValue=this._titleElement.value.value||"")}_getNotice(e,t="padding-1",i=""){return o`<calcite-notice class=${h(t)} icon=lightbulb kind=success open><div class=${h(i)} slot=message>${e}</div></calcite-notice>`}_getLabel(e,t=!1,i="font-bold"){return i+=t?" label-margin-0":"",o`<div class=padding-top-sides-1><calcite-label class=${h(i)}>${e}</calcite-label></div>`}_getExportSelectionLists(){return this._selectionSets.reduce((e,t)=>{let i=this._getSelectionSetIds(t),s=t.workflowType!==r.REFINE||i.length>0;return!this._downloadActive&&t.download&&s&&(this._downloadActive=!0),s&&e.push(o`<div class="display-flex padding-sides-1 padding-bottom-1"><calcite-checkbox .checked=${t.download} class="align-center" @click=${()=>{this._toggleDownload(t.id)}}></calcite-checkbox><calcite-list class="list-border margin-start-1-2 width-full" id=download-list label><calcite-list-item .disabled=${!t.download} .label=${t.label} @click=${()=>{this._toggleDownload(t.id)}}><div slot=content><div class="list-label">${t.label}</div><div class="list-description">${t?.layerView?.layer.title}</div><div class="list-description">${this._translations.selectedFeatures.replace("{{n}}",i.length.toString())}</div></div></calcite-list-item></calcite-list></div>`),e},[])||o`<div></div>`}async _toggleDownload(e){let t=!1;this._selectionSets=this._selectionSets.map(i=>(i.download=i.id===e?!i.download:i.download,t=i.download?!0:t,i)),this._updateExportGraphics(!0),this._downloadActive=t,this._fetchingData=!0,this._numDuplicates=await this._getNumDuplicates(),this._fetchingData=!1,await this._highlightFeatures()}async _export(){let e=this._addResults?this._getSelectionIdsAndViews(this._selectionSets,!0):{};if(this._exportType===c.PDF){let t="";this._addMap&&this.mapView&&(t=(await this.mapView.takeScreenshot({width:1500,height:2e3}))?.dataUrl),this._fetchingData=!0,this._downloadTools.value&&this._removeDuplicates.value&&this.mapView?.map&&await this._downloadTools.value.downloadPDF(this.mapView.map,e,this._removeDuplicates.value.checked,this._addTitle&&this._titleElement.value?this._titleElement.value.value:"",t),this._fetchingData=!1}this._exportType===c.CSV&&(this._fetchingData=!0,this._downloadTools.value&&this.mapView?.map&&await this._downloadTools.value.downloadCSV(this.mapView.map,e,this._removeDuplicates.value?.checked||!1),this._fetchingData=!1)}_getSelectionIdsAndViews(e,t=!1){return(t?e.filter(i=>i.download):e).reduce((i,s)=>{if(s.workflowType===r.REFINE)Object.keys(s.refineInfos).forEach(a=>{let n=s.refineInfos[a];if(n.addIds){let u=n.layerView.layer.id;i=this._updateExportInfos(i,u,s.label,n.addIds,n.layerView)}});else{let a=s?.layerView?.layer.id;a!==void 0&&s.layerView&&(i=this._updateExportInfos(i,a,s.label,s.selectedIds,s.layerView))}return i},{})}_updateExportInfos(e,t,i,s,a){return t&&Object.keys(e).indexOf(t)>-1?(e[t].ids=[...new Set([...e[t].ids,...s])],e[t].selectionSetNames.push(i)):t&&(e[t]={ids:s,layerView:a,selectionSetNames:[i]}),e}_getAction(e,t,i,s,a=!1,n=""){return o`<calcite-action .disabled=${!e} .icon=${t} icon-flip-rtl .indicator=${a} @click=${s} slot=${n??p} .text=${i}></calcite-action>`}_updateForSelection(e){this._numSelected=e.detail,this._saveEnabled=this._numSelected>0}async _home(){await this._clearSelection(),this._setPageType(l.LIST)}async _saveSelection(){let e=await this._selectTools.value?.getSelection();if(e){let t=this._selectTools.value?.isUpdate;this._selectionSets=t?this._selectionSets.map(i=>i.id===e.id?e:i):[...this._selectionSets,e]}return this._home()}async _clearSelection(){await this._selectTools.value?.clearSelection(),this._numSelected=0,this._activeSelection=void 0}async _deleteSelection(e,t){return t.stopPropagation(),this._selectionSets=this._selectionSets.filter((i,s)=>s!==e?i:!1),this._highlightFeatures()}_gotoSelection(e,t){e.selectedIds&&e.layerView&&E(e.selectedIds,e.layerView,t,this.featureHighlightEnabled,this.featureEffect)}_openSelection(e,t){t.stopPropagation(),this._activeSelection=e,this._pageType=e.workflowType===r.REFINE?l.REFINE:l.SELECT}async _highlightFeatures(){this._clearHighlight();let e=this._getSelectionIdsAndViews(this._selectionSets,this._pageType===l.EXPORT),t=Object.keys(e);if(t.length>0)for(let i=0;i<t.length;i++){let s=e[t[i]];s.layerView&&this.mapView&&d.highlightHandles.push(await L(s.ids,s.layerView,this.mapView))}}_checkPopups(){typeof this._popupsEnabled!="boolean"&&(this._popupsEnabled=!!this.mapView?.popupEnabled)}_clearHighlight(){console.log("_clearHighlight"),d&&d.highlightHandles&&d.removeHandles()}};v("public-notification",b);export{b as PublicNotification};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
3
+ v1.0.0-next.20250506 */
4
4
  var a={xsmall:[545],small:[545,768],medium:[769,992],large:[993,1200],xlarge:[1200]};export{a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as h,b as d}from"./WH474D65.js";import{b as c}from"./5ECSGZTG.js";import{B as n,c as r,d as a,n as s,w as o}from"./QTX5AWKY.js";import"./NTX6LIB3.js";var m=r`/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{a as h,b as d}from"./AD55O7ES.js";import{b as c}from"./JDW5U5DH.js";import{B as n,c as r,d as a,n as s,w as o}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var m=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as r}from"./7YDOYPIR.js";import{B as n,c as t,d as s,q as i,w as o}from"./QTX5AWKY.js";import"./NTX6LIB3.js";var a=t`@layer{/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{a as r}from"./FNPIEXII.js";import{B as n,c as t,d as s,q as i,w as o}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var a=t`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{e as o}from"./ROJP3BVV.js";import"./QJLYBT43.js";import"./6ZRQCBMV.js";import{a,c as e,e as i,f as l}from"./G7MUJYUQ.js";import"./NTX6LIB3.js";function r(t){window?.localStorage.setItem(t,"false")}function c(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},m=class{constructor(t){a(this,t),this.splashClose=l(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!c(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"ba8a3a6d05ad63fda7a86a659845d09e11a39de7",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"aaae89fdb17ddb18f732ee5f6122645df1bb4022",innerHTML:this.content}),e("slot",{key:"32a89986bbea7e9d5dceb439de793d4ab78d51d6",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=c(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:h}=n;h?r(s):d(s)}get el(){return i(this)}static get watchers(){return{content:["sanitizeContent"]}}};m.style=u;export{m as instant_apps_splash};
3
+ v1.0.0-next.20250506 */
4
+ import{e as o}from"./HNVWWRBO.js";import"./WT4NOXZO.js";import"./7T7WF7EI.js";import{a,c as e,e as i,f as l}from"./D3QJCJFO.js";import"./YL7EG5AA.js";function r(t){window?.localStorage.setItem(t,"false")}function c(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},m=class{constructor(t){a(this,t),this.splashClose=l(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!c(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"ba8a3a6d05ad63fda7a86a659845d09e11a39de7",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"aaae89fdb17ddb18f732ee5f6122645df1bb4022",innerHTML:this.content}),e("slot",{key:"32a89986bbea7e9d5dceb439de793d4ab78d51d6",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=c(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:h}=n;h?r(s):d(s)}get el(){return i(this)}static get watchers(){return{content:["sanitizeContent"]}}};m.style=u;export{m as instant_apps_splash};
@@ -0,0 +1,4 @@
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.20250506 */
4
+ function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(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 n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;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 K=globalThis.FormData,de=globalThis.File,me=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){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=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),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 n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=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:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("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=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)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")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),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 Z(r){return F.test(r)}function ue(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 ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function qe(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(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"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){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=n,this.url=o,this.options=s}};var D=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 ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=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`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).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 oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).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 k=class r extends A{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:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=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),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.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 n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,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:n,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 oe({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`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(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=>re(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 y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.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 n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};s?i={type:"arcgis:auth:credential",credential:this.toCredential()}: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 n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.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?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.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 v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.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 S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.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`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.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."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,qe as c,m as d,k as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as o,b as s,c as i,d as p}from"./XRGC4MMG.js";import{c as r}from"./7ZIZFBYY.js";import{a as e}from"./VDQ3CIF6.js";import{b as t}from"./3YD5KBWQ.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
3
+ v1.0.0-next.20250506 */
4
+ import{a as o,b as s,c as i,d as p}from"./MOBCKLO5.js";import{c as r}from"./6Q7ROHDK.js";import{a as e}from"./DCT33VJ3.js";import{b as t}from"./5HT54T3T.js";var E=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],b=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:r.properties}}),allOf:[s,o,p,i]});export{E as a,b};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as c,b as n,c as y}from"./AUPHHHE2.js";import{a,b as s}from"./WH474D65.js";import{B as d,c as u,d as t,n as p,w as m}from"./QTX5AWKY.js";import"./NTX6LIB3.js";var h=u`/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{a as c,b as n,c as y}from"./CLQIEIJQ.js";import{a,b as s}from"./AD55O7ES.js";import{B as d,c as u,d as t,n as p,w as m}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as m}from"./WYPYO2VQ.js";import"./L6BDEN2S.js";import"./TJNPKXSI.js";import"./AUYGSPKE.js";import"./2TRYHNAQ.js";import"./HKE2Q7CZ.js";import"./ZVQFWNID.js";import"./S7DMVS57.js";import"./W3AKQ2QN.js";import"./WSFOZXFE.js";import{b}from"./5ECSGZTG.js";import{a as w}from"./7YDOYPIR.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./QTX5AWKY.js";import"./NTX6LIB3.js";var F=d`@layer{/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{a as m}from"./H2VXOJH7.js";import"./TWWXSJS5.js";import"./4EGMVXYU.js";import"./RXXW5VAY.js";import"./QANVXL5I.js";import"./VXWKIKTD.js";import"./LHDUZO7G.js";import"./6L454NXU.js";import"./7BZS2MB3.js";import"./MW3SBXWD.js";import{b}from"./JDW5U5DH.js";import{a as w}from"./FNPIEXII.js";import{B as f,c as d,d as i,f as p,n as a,q as u,w as _,x as n,y as g}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var F=d`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as m}from"./WYPYO2VQ.js";import"./L6BDEN2S.js";import"./TJNPKXSI.js";im
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block;--calcite-label-margin-bottom: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-foreground-1)!important;height:100%!important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`,r=class extends _{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=[],this.isLoading=!1,this.isMobile=!1,this.allowEditing=!0,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=w({name:"info-card",blocking:!0}),this._navigatedToRelatedFeature=!1,this._editEnabled=!1,this._featuresNodeId=`features-node${new Date().getMilliseconds().toString()}`,this.popupClosed=a(),this.clearSelection=a(),this.selectionChanged=a(),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"refreshGraphics",this.refreshGraphics)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphics:0,isLoading:5,isMobile:5,mapView:0,allowEditing:5,highlightEnabled:5,paginationEnabled:5,position:1,showCloseBtn:5,_alertOpen:16,_count:16,_editRecordOpen:16,_mobileTitle:16,_showListView:16,_translations:16,_navigatedToRelatedFeature:16}}static{this.styles=F}static{this.shadowRootOptions=u}willUpdate(e){if(e.has("graphics")&&this.graphicsWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_translations")){let t=this._translations._lang,s=e.get("_translations")?._lang;if(t&&s&&t!==s&&this._features){let o=[...this.graphics];this.graphics=[],this.graphics=o}}}async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features?.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features?.previous(),this._count=this._getCount()}async next(){this._features?.next(),this._count=this._getCount()}async toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}async updateCurrentGraphic(e){this._features?.selectedFeatureWidget&&console.log(e)}async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(e){this._navigatedToRelatedFeature||(this.graphics=[...e.detail])}async load(){await this._initModules(),this._popupUtils=new m}async loaded(){this.graphics?.length>0&&await this.setGraphics()}render(){let e=this.isLoading?"":"display-none",t=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",s=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",l=this._features?.features&&this._features.features.length<2||this._navigatedToRelatedFeature,v=this.isMobile?"display-none":"",h=Number(this._features?.selectedFeature?.getObjectId()),y=Number.isNaN(h)?[]:[h],c=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,$=this._relatedFeature?[this._relatedFeature]:this.graphics,x=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return i`<calcite-shell class="z-index-1" style=${g({position:this.position})}>${this._getHeader()}<calcite-loader class=${n(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${n("esri-widget feature-node "+t)} id=${this._featuresNodeId??p}></div><div class=${`${o} width-100`} slot=footer>${this.allowEditing&&i`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${()=>this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile&&c?i`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${y} .layer=${this._layer} @editsComplete=${()=>this._closePopup()}></delete-button>`:void 0}<calcite-tooltip placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile&&c?i`<calcite-tooltip placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>`:void 0}</div>`||""}${this.paginationEnabled&&!l&&i`<div class=${`display-flex padding-1-2 button-container top-border ${v}`}><div><calcite-button appearance=transparent .disabled=${l} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${()=>this._back()} width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action class="pagination-action" icon-flip-rtl @click=${()=>this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${l} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._next()} width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`||""}</div><edit-card class=${n(s)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${x} .graphics=${$} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert icon=layer-broken kind=warning label @calciteAlertClose=${()=>this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`}async _initModules(){let[e,t]=await b(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=e,this.reactiveUtils=t}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=!!(this._layer.editingEnabled&&this._layer.capabilities?.operations.supportsUpdate),this._mobileTitle=this.mapView&&await this._popupUtils?.getPopupTitle(this.graphics[0],this.mapView.map)||"",this._features?.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return this.isMobile!==void 0?await this.mapView?.when(()=>{if(this._features)this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!!this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile;else if(this._features=this.Features&&new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features){this._features.viewModel.highlightEnabled=!!this.highlightEnabled,this.reactiveUtils?.watch(()=>(this._features?.viewModel).featureMenuOpen,t=>{this._count=this._getCount(),t||(this._showListView=t)}),this.reactiveUtils?.watch(()=>this._features?.selectedFeatureIndex,t=>{t!==void 0&&t>-1&&this._features?.selectedFeature&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})}),this.reactiveUtils?.watch(()=>this._features.selectedDrillInFeature,t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=void 0,this._navigatedToRelatedFeature=!1)});let e=this.el.querySelector("#"+this._featuresNodeId);this.listenOn(e,"calciteFlowItemClose",()=>{this.clearSelection.emit()})}}):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i`<calcite-panel class="border-width-0" slot=header><calcite-action class="end-border" icon=chevron-left icon-flip-rtl @click=${()=>this._closePopup()} scale=s slot=header-actions-start text></calcite-action><span class="font-bold" slot=header-content>${this._mobileTitle}</span></calcite-panel>`:void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features?.previous(),this._count=this._getCount()}_next(){this._features?.next(),this._count=this._getCount()}_getCount(){let e=this._features?.viewModel&&(this._features?.viewModel.selectedFeatureIndex+1).toString()||"",t=this._features?.features?.length.toString()||"";return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)||""}_toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}};f("info-card",r);export{r as InfoCard};
18
+ */:host{display:block;--calcite-label-margin-bottom: 0}.padding-1-2{padding:.5rem}.display-none{display:none!important}.display-flex{display:flex}.position-absolute{position:absolute;inset:0;overflow:auto}.feature-node{position:relative!important}.feature-node .esri-features__footer{display:none!important}.button-container{justify-content:center;align-items:center}.top-border{border-top:1px solid var(--calcite-color-border-1)}.width-100{width:100%}.esri-features__container{padding:.5rem!important;background-color:var(--calcite-color-foreground-1)!important;height:100%!important}.overflow-hidden{overflow:hidden}.height-40{height:40px}.end-border{border-inline-end:1px solid var(--calcite-color-border-1)}.font-bold{font-weight:700}.z-index-1{z-index:1}.visibility-hidden{visibility:hidden;height:0px}.padding-inline-start-1{padding-inline-start:1rem}.border-width-0{border-width:0px}.pagination-action{position:relative;left:3px}.pagination-count{color:var(--calcite-color-brand);border-bottom:1px solid var(--calcite-color-brand);font-weight:700}}`,r=class extends _{constructor(){super(),this.enableEditGeometry=!1,this.enableSnapping=!1,this.graphics=[],this.isLoading=!1,this.isMobile=!1,this.allowEditing=!0,this.highlightEnabled=!0,this.paginationEnabled=!0,this.position="absolute",this.showCloseBtn=!1,this._alertOpen=!1,this._count="",this._editRecordOpen=!1,this._mobileTitle="",this._showListView=!1,this._translations=w({name:"info-card",blocking:!0}),this._navigatedToRelatedFeature=!1,this._editEnabled=!1,this._featuresNodeId=`features-node${new Date().getMilliseconds().toString()}`,this.popupClosed=a(),this.clearSelection=a(),this.selectionChanged=a(),this.listenOn(window,"closeEdit",this.closeEdit),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.listenOn(window,"refreshGraphics",this.refreshGraphics)}static{this.properties={enableEditGeometry:5,enableSnapping:5,graphics:0,isLoading:5,isMobile:5,mapView:0,allowEditing:5,highlightEnabled:5,paginationEnabled:5,position:1,showCloseBtn:5,_alertOpen:16,_count:16,_editRecordOpen:16,_mobileTitle:16,_showListView:16,_translations:16,_navigatedToRelatedFeature:16}}static{this.styles=F}static{this.shadowRootOptions=u}willUpdate(e){if(e.has("graphics")&&this.graphicsWatchHandler(),e.has("isMobile")&&this.isMobileWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("_translations")){let t=this._translations._lang,s=e.get("_translations")?._lang;if(t&&s&&t!==s&&this._features){let o=[...this.graphics];this.graphics=[],this.graphics=o}}}async graphicsWatchHandler(){this._navigatedToRelatedFeature&&this._features&&(this._features.clear(),this._features.close(),this._count="",this._navigatedToRelatedFeature=!1),await this.setGraphics()}async isMobileWatchHandler(){await this._initFeaturesWidget()}async mapViewWatchHandler(){return await this._initFeaturesWidget()}async getSelectedFeature(){return this._features?.selectedFeature}async refresh(){await this.setGraphics()}async back(){this._features?.previous(),this._count=this._getCount()}async next(){this._features?.next(),this._count=this._getCount()}async toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}async updateCurrentGraphic(e){this._features?.selectedFeatureWidget&&console.log(e)}async closeEdit(){this._editRecordOpen=!1}async layerSelectionChange(){this._showListView=!1,this._features?.viewModel&&(this._features.viewModel.featureMenuOpen=!1,this._features.close())}async refreshGraphics(e){this._navigatedToRelatedFeature||(this.graphics=[...e.detail])}async load(){await this._initModules(),this._popupUtils=new m}async loaded(){this.graphics?.length>0&&await this.setGraphics()}render(){let e=this.isLoading?"":"display-none",t=this.isLoading||this._editRecordOpen?"visibility-hidden":"position-absolute",s=!this.isLoading&&this._editRecordOpen?"position-absolute":"display-none",o=!this.isLoading&&this._editRecordOpen||this._showListView?"display-none":"",l=this._features?.features&&this._features.features.length<2||this._navigatedToRelatedFeature,v=this.isMobile?"display-none":"",h=Number(this._features?.selectedFeature?.getObjectId()),y=Number.isNaN(h)?[]:[h],c=this._layer?.editingEnabled&&this._layer?.capabilities?.operations?.supportsDelete,$=this._relatedFeature?[this._relatedFeature]:this.graphics,x=this._navigatedToRelatedFeature?0:this._features?.selectedFeatureIndex;return i`<calcite-shell class="z-index-1" style=${g({position:this.position})}>${this._getHeader()}<calcite-loader class=${n(e)} .label=${this._translations.fetchingData}></calcite-loader><div class=${n("esri-widget feature-node "+t)} id=${this._featuresNodeId??p}></div><div class=${`${o} width-100`} slot=footer>${this.allowEditing&&i`<div class="display-flex top-border padding-1-2"><calcite-button appearance=solid id=solutions-edit @click=${()=>this._openEditRecord()} width=full>${this._translations.edit}</calcite-button>${this.isMobile&&c?i`<delete-button class="padding-inline-start-1 width-100" id=solutions-delete .ids=${y} .layer=${this._layer} @editsComplete=${()=>this._closePopup()}></delete-button>`:void 0}<calcite-tooltip placement=bottom reference-element=solutions-edit><span>${this._translations.edit}</span></calcite-tooltip>${this.isMobile&&c?i`<calcite-tooltip placement=bottom reference-element=solutions-delete><span>${this._translations.delete}</span></calcite-tooltip>`:void 0}</div>`||""}${this.paginationEnabled&&!l&&i`<div class=${`display-flex padding-1-2 button-container top-border ${v}`}><div><calcite-button appearance=transparent .disabled=${l} icon-flip-rtl=both icon-start=chevron-left id=solutions-back @click=${()=>this._back()} width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-back><span>${this._translations.back}</span></calcite-tooltip></div><calcite-action class="pagination-action" icon-flip-rtl @click=${()=>this._toggleListView()} scale=s text text-enabled><span class="pagination-count">${this._count}</span></calcite-action><div><calcite-button appearance=transparent .disabled=${l} icon-flip-rtl=both icon-start=chevron-right id=solutions-next @click=${()=>this._next()} width=full></calcite-button><calcite-tooltip placement=top reference-element=solutions-next><span>${this._translations.next}</span></calcite-tooltip></div></div>`||""}</div><edit-card class=${n(s)} .enableEditGeometry=${this.enableEditGeometry} .enableSnapping=${this.enableSnapping} .graphicIndex=${x} .graphics=${$} .mapView=${this.mapView} .open=${this._editRecordOpen}></edit-card><calcite-alert icon=layer-broken kind=warning label @calciteAlertClose=${()=>this._alertClosed()} .open=${this._alertOpen} placement=top><div slot=title>${this._translations.editDisabled}</div><div slot=message>${this._translations.enableEditing}</div></calcite-alert></calcite-shell>`}async _initModules(){let[e,t]=await b(["esri/widgets/Features","esri/core/reactiveUtils"]);this.Features=e,this.reactiveUtils=t}async setGraphics(){this._features||await this._initFeaturesWidget(),this.graphics.length>0?(this._layer=this.graphics[0]?.layer,this._editEnabled=!!(this._layer.editingEnabled&&this._layer.capabilities?.operations.supportsUpdate),this._mobileTitle=this.mapView?.map&&await this._popupUtils?.getPopupTitle(this.graphics[0],this.mapView.map)||"",this._features?.open({features:this.graphics})):(this._features?.clear(),this._features?.close()),this._count=this._getCount()}async _initFeaturesWidget(){return this.isMobile!==void 0?await this.mapView?.when(()=>{if(this._features)this._features.view=this.mapView,this._features.visibleElements.actionBar=!1,this._features.visibleElements.closeButton=!!this.showCloseBtn,this._features.visibleElements.heading=!this.isMobile;else if(this._features=this.Features&&new this.Features({view:this.mapView,container:this._featuresNodeId,visibleElements:{actionBar:!1,closeButton:this.showCloseBtn,featureMenuHeading:!1,heading:!this.isMobile}}),this._features){this._features.viewModel.highlightEnabled=!!this.highlightEnabled,this.reactiveUtils?.watch(()=>(this._features?.viewModel).featureMenuOpen,t=>{this._count=this._getCount(),t||(this._showListView=t)}),this.reactiveUtils?.watch(()=>this._features?.selectedFeatureIndex,t=>{t!==void 0&&t>-1&&this._features?.selectedFeature&&this.selectionChanged.emit({selectedFeature:[this._features.selectedFeature],selectedFeatureIndex:this._features.selectedFeatureIndex})}),this.reactiveUtils?.watch(()=>this._features.selectedDrillInFeature,t=>{t?(this._relatedFeature=t,this._navigatedToRelatedFeature=!0):(this._relatedFeature=void 0,this._navigatedToRelatedFeature=!1)});let e=this.el.querySelector("#"+this._featuresNodeId);this.listenOn(e,"calciteFlowItemClose",()=>{this.clearSelection.emit()})}}):Promise.resolve()}_getHeader(){return this.isMobile&&!this._editRecordOpen?i`<calcite-panel class="border-width-0" slot=header><calcite-action class="end-border" icon=chevron-left icon-flip-rtl @click=${()=>this._closePopup()} scale=s slot=header-actions-start text></calcite-action><span class="font-bold" slot=header-content>${this._mobileTitle}</span></calcite-panel>`:void 0}_closePopup(){this.popupClosed.emit()}_alertClosed(){this._alertOpen=!1}_openEditRecord(){this._editEnabled?this._editRecordOpen=!0:this._alertOpen=!0}_back(){this._features?.previous(),this._count=this._getCount()}_next(){this._features?.next(),this._count=this._getCount()}_getCount(){let e=this._features?.viewModel&&(this._features?.viewModel.selectedFeatureIndex+1).toString()||"",t=this._features?.features?.length.toString()||"";return this._translations.indexOfTotal.replace("{{index}}",e).replace("{{total}}",t)||""}_toggleListView(){if(this._showListView=!this._showListView,this._features){let e=this._features.selectedFeatureIndex;this._features.open({features:this.graphics,featureMenuOpen:this._showListView}),this._features.selectedFeatureIndex=e}}};f("info-card",r);export{r as InfoCard};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as S}from"./XHMJBPMV.js";import"./G7MUJYUQ.js";import{c as L,j as $}from"./MYGCG5HU.js";import"./WLS6FMCQ.js";import"./WSFOZXFE.js";import{a as r,b as n}from"./WH474D65.js";import{b as w}from"./5ECSGZTG.js";import{a as I}from"./7YDOYPIR.js";import{B as y,c as b,d as h,f as u,n as d,q as g,w as _,x as c}from"./QTX5AWKY.js";import"./NTX6LIB3.js";function M(o){return o?.indexOf("http://")!==-1}function m(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=m(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=m(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=m(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{a as S}from"./SDRMIMTR.js";import"./D3QJCJFO.js";import{c as L,j as $}from"./2CIE6LR3.js";import"./JPZXVCEU.js";import"./MW3SBXWD.js";import{a as r,b as n}from"./AD55O7ES.js";import{b as w}from"./JDW5U5DH.js";import{a as I}from"./FNPIEXII.js";import{B as y,c as b,d as h,f as u,n as d,q as g,w as _,x as c}from"./WFJQLKTW.js";import"./YL7EG5AA.js";function M(o){return o?.indexOf("http://")!==-1}function m(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=m(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=m(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=m(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as o}from"./TMAKEW62.js";import{b as l}from"./ROKV4HKO.js";import"./NTX6LIB3.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.0.0-next.20250506 */
4
+ import{a as o}from"./BVQYLN5G.js";import{b as l}from"./ZINUZJUT.js";import"./YL7EG5AA.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as v}from"./7WQQZZLP.js";import{a as y}from"./QPVCT46N.js";import{a as p}from"./IJ74774M.js";import{a as d}from"./GLZYDVD7.js";import{a as E}from"./YE6E2BT6.js";import{a as s}from"./GHW5LEGA.js";import{a as n}from"./AWZIS4B2.js";import{a}from"./2BKHL2W2.js";import{a as l}from"./6GYUNHDH.js";import{a as e}from"./EVZVFSLL.js";import{a as r}from"./GKBSDRDK.js";import{a as t}from"./WIIRZMUB.js";import{a as i}from"./7LZMV6CE.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.0.0-next.20250506 */
4
+ import{a as v}from"./472FBZK2.js";import{a as y}from"./MN3WPQFX.js";import{a as p}from"./QSDCS2V6.js";import{a as d}from"./HGKMH45K.js";import{a as E}from"./P22XPKGL.js";import{a as s}from"./XK7RUU5U.js";import{a as n}from"./GCXOG3FT.js";import{a}from"./HK5BM2IR.js";import{a as l}from"./RXICRR2Z.js";import{a as e}from"./YAAHEQLO.js";import{a as r}from"./LHPBHUX2.js";import{a as t}from"./HEOEJ7XC.js";import{a as i}from"./NHIIJKLQ.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{a as e}from"./VPBJWSZ5.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.0.0-next.20250506 */
4
+ import{a as e}from"./MALANZ3X.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
3
+ v1.0.0-next.20250506 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{d as V,e as L}from"./MYGCG5HU.js";import"./WLS6FMCQ.js";import"./WSFOZXFE.js";import{a as p,b as m}from"./WH474D65.js";import{b as v}from"./5ECSGZTG.js";import{a as b}from"./7YDOYPIR.js";import{B as M,c as g,d as h,n as d,q as f,w as y,x as c}from"./QTX5AWKY.js";import"./NTX6LIB3.js";var S=g`@layer{/** @license
3
+ v1.0.0-next.20250506 */
4
+ import{d as V,e as L}from"./2CIE6LR3.js";import"./JPZXVCEU.js";import"./MW3SBXWD.js";import{a as p,b as m}from"./AD55O7ES.js";import{b as v}from"./JDW5U5DH.js";import{a as b}from"./FNPIEXII.js";import{B as M,c as g,d as h,n as d,q as f,w as y,x as c}from"./WFJQLKTW.js";import"./YL7EG5AA.js";var S=g`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{d as V,e as L}from"./MYGCG5HU.js";import"./WLS6FMCQ.js";import"./WSFOZXFE
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,w=class extends y{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this._currentPage="templatePicker",this._editorLoading=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=d(),this.fail=d(),this.drawComplete=d(),this.editingAttachment=d(),this.progressStatus=d(),this.modeChanged=d()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,_currentPage:16,_editorLoading:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("isMobile")&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],s={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(s),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&this._setFloorLevel(e)}async load(){await this.initModules()}async loaded(){await this.init()}updated(){if(this.isMobile&&this._calciteNotice.value&&this._searchDiv.value&&this._mapViewContainer.value){let e=this._calciteNotice.value.offsetHeight+this._searchDiv.value.offsetHeight+80;this._mapViewContainer.value.style.top=`${e}px`}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"?"":"display-none",t=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",i=this.isMobile?"show-map":"display-none",o=this.showGuidingMsg&&this._currentPage!=="templatePicker",a=this._translations.chooseCategoryMsg;return this._currentPage==="drawing"?a=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(a=this._translations.provideDetailsMsg),h`${o&&h`<calcite-notice class="notice-msg" icon=lightbulb kind=success open ${m(this._calciteNotice)}><div slot=message>${a}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader><div class=${c(s)} id=feature-form></div>${this.enableSearch&&h`<div class=${`search-widget ${e} ${s}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(i)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,s,i,o,a,r]=await v(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=e,this.reactiveUtils=t,this.Search=s,this.ExpressionInfo=i,this.FieldElement=o,this.FormTemplate=a,this.MapView=r}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom}).when(e=>{this._updatedMapView=e,this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),s=this.mapView&&await V(this.mapView,this.selectedLayerId);if(s&&(this._selectedLayer=s,!this._selectedLayer?.isTable&&t&&t.forEach(i=>{e.push({layer:i,enabled:i?.type==="feature"&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container)),this._editor){let i=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="adding-attachment"||n==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});i&&this._editor.viewModel.addHandles(i);let o=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,n=>{n==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});o&&this._editor.viewModel.addHandles(o);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,n=>{n==="ready"&&this._editor?.viewModel.featureFormViewModel&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});r&&this._editor.viewModel.addHandles(r)}}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let s=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},o=>t(o))},700)})),s.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(s[0]);let i=s.length>1;this.hideEditorsElements().then(()=>{i&&e({})},o=>i&&t(o))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",i=>{this._updatedMapView?.goTo(i.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=i.results[0].results[0]?.feature.geometry)}));let s=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,i=>{i==="ready"&&setTimeout(()=>{this._editor?.viewModel.sketchViewModel?.createGraphic&&t&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())},100)});s&&this._search.viewModel.addHandles(s)}}_getSearchConfig(e,t){let s="includeDefaultSources",i=e.sources;return i&&i?.length>0?(e[s]=!1,i.forEach(o=>{if(o.hasOwnProperty("layer")){let a=o,r=a.layer?.id,n=r?t.map.findLayerById(r):"",l=a?.layer?.url;n?a.layer=n:l&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(l))}}),i?.forEach(o=>{if(o.hasOwnProperty("locator")){let a=o;if(a?.name==="ArcGIS World Geocoding Service"){let r=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=r,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,s=t?.floorInfo?.floorField;if(s){let i=t.fields.find(o=>o.name===s);if(i&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(i.name,e),i.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let o=new this.ExpressionInfo({expression:`"${e}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),a=new this.FieldElement({label:s,editableExpression:"false",fieldName:s,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:o.name});this._updatedMapView?.map.editableLayers.forEach(r=>{let n=this.formElements.orgElements,l=this.formElements.orgExpressionInfos,u=[...n];if(u.push(a),r.type==="feature"&&this.FormTemplate){let _=r,E=new this.FormTemplate({title:_?.formTemplate?.title,description:_?.formTemplate?.description,elements:u,expressionInfos:[o].concat(l)});r.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};M("create-feature",w);export{w as CreateFeature};
18
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar{display:none!important}.esri-editor__panel-content{padding-block:0px!important}.esri-editor .esri-item-list__group__header,.esri-editor__panel-content__section .esri-widget__heading{display:none!important}.esri-editor .esri-item-list__filter-container--sticky{padding-block:0px!important;padding-inline:10px!important}.search-widget{width:92%!important;margin:5px 14px 20px}.display-none{display:none!important}.hide-map{height:1%;visibility:hidden}.show-map{padding:10px!important;position:absolute!important;bottom:0;height:auto!important;width:calc(100% - 22px)}.notice-msg{padding:10px;width:calc(100% - 20px)}.esri-editor__panel-content{padding-block:10px!important}@media only screen and (max-width: 600px){.esri-editor__panel-content{padding-block:0!important;min-height:0!important}}}`,w=class extends y{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSearch=!1,this.enableSnapping=!1,this.floorLevel="",this.isMobile=!1,this.selectedLayerId="",this.showGuidingMsg=!0,this.submitNewReportsMessage="",this._currentPage="templatePicker",this._editorLoading=!1,this._translations=b({name:"create-feature",blocking:!0}),this._addingAttachment=!1,this._calciteNotice=p(),this._isSubmitBtnClicked=!1,this._mapViewContainer=p(),this._searchDiv=p(),this.success=d(),this.fail=d(),this.drawComplete=d(),this.editingAttachment=d(),this.progressStatus=d(),this.modeChanged=d()}static{this.properties={customizeSubmit:5,enableSearch:5,enableSnapping:5,floorLevel:1,formElements:1,isMobile:5,mapView:0,searchConfiguration:0,selectedLayerId:1,showGuidingMsg:5,submitNewReportsMessage:1,_currentPage:16,_editorLoading:16,_translations:16}}static{this.styles=S}static{this.shadowRootOptions=f}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("isMobile")&&this.isMobileHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){this.mapView&&await this.mapView.when(async()=>{await this.init()})}async isMobileHandler(){this.modeChanged.emit()}async _editorLoadingWatchHandler(e){if(e){if(this._container?.classList.add("display-none"),this._selectedLayer?.isTable){if(this._selectedLayer.templates&&this._editor){let t=this._selectedLayer.templates[0],s={layer:this._selectedLayer,template:t};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(s),await this.hideEditorsElements()}}else await this.startCreate();this._container?.classList.remove("display-none"),this._editorLoading=!1}}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async refresh(e){this._editor&&this._setFloorLevel(e)}async load(){await this.initModules()}async loaded(){await this.init()}updated(){if(this.isMobile&&this._calciteNotice.value&&this._searchDiv.value&&this._mapViewContainer.value){let e=this._calciteNotice.value.offsetHeight+this._searchDiv.value.offsetHeight+80;this._mapViewContainer.value.style.top=`${e}px`}}disconnectedCallback(){super.disconnectedCallback(),this._editor&&(this._editor.viewModel.sketchViewModel&&this._editor.viewModel.sketchViewModel?.destroy(),this._editor.destroy(),this.enableSnapping&&this.mapView?.ui.view&&((this.mapView?.ui.view).grid=null))}render(){let e=this._currentPage==="drawing"?"":"display-none",t=this._editorLoading?"":"display-none",s=this._editorLoading?"display-none":"",i=this.isMobile?"show-map":"display-none",o=this.showGuidingMsg&&this._currentPage!=="templatePicker",a=this._translations.chooseCategoryMsg;return this._currentPage==="drawing"?a=this._translations.provideLocationMsg:this._currentPage==="featureForm"&&(a=this._translations.provideDetailsMsg),h`${o&&h`<calcite-notice class="notice-msg" icon=lightbulb kind=success open ${m(this._calciteNotice)}><div slot=message>${a}</div></calcite-notice>`||""}<calcite-loader class=${c(t)} label scale=s></calcite-loader><div class=${c(s)} id=feature-form></div>${this.enableSearch&&h`<div class=${`search-widget ${e} ${s}`} id=search-widget-ref ${m(this._searchDiv)}></div>`||""}<div class=${c(i)} ${m(this._mapViewContainer)}></div>`}async init(){this.mapView&&this.selectedLayerId&&(this._updatedMapView=this.mapView,await(this.isMobile?this.createMobileMapView():this._loadWidgets()))}async initModules(){let[e,t,s,i,o,a,r]=await v(["esri/widgets/Editor","esri/core/reactiveUtils","esri/widgets/Search","esri/form/ExpressionInfo","esri/form/elements/FieldElement","esri/form/FormTemplate","esri/views/MapView"]);this.Editor=e,this.reactiveUtils=t,this.Search=s,this.ExpressionInfo=i,this.FieldElement=o,this.FormTemplate=a,this.MapView=r}async createMobileMapView(){this._mapViewContainer.value&&this.MapView&&this.mapView&&(this._mapViewContainer.value.classList.add("hide-map"),await new this.MapView({map:this.mapView.map,container:this._mapViewContainer.value,zoom:this.mapView.zoom}).when(e=>{this._updatedMapView=e,this._loadWidgets()},e=>{console.log(e)}))}async _loadWidgets(){await this.createEditorWidget(),this.enableSearch&&await this.createSearchWidget()}async createEditorWidget(){this._editor&&this._editor.destroy();let e=[];this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar");let t=this._updatedMapView&&await L(this._updatedMapView),s=this.mapView&&await V(this.mapView,this.selectedLayerId);if(s&&(this._selectedLayer=s,!this._selectedLayer?.isTable&&t&&t.forEach(i=>{e.push({layer:i,enabled:i?.type==="feature"&&i?.id===this.selectedLayerId,addEnabled:!0,updateEnabled:!1,deleteEnabled:!1})})),this.Editor&&(this._editor=new this.Editor({view:this._updatedMapView,layerInfos:e,visibleElements:{settingsMenu:this.enableSnapping,snappingControls:this.enableSnapping,createFeaturesSection:!0,editFeaturesSection:!1,flow:!0,sketch:!1},container:this._container}),this._mapViewContainer.value?this.el.insertBefore(this._container,this._mapViewContainer.value):this.el.appendChild(this._container)),this._editor){let i=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="adding-attachment"||n==="editing-attachment"?(this._addingAttachment=!0,this.editingAttachment.emit(!0)):this._addingAttachment&&(this.editingAttachment.emit(!1),this._addingAttachment=!1)});i&&this._editor.viewModel.addHandles(i);let o=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,n=>{n==="ready"&&this._editor?.viewModel?.activeWorkflow?.type!=="create-features"&&(this.progressStatus.emit(50),this._editorLoading=!0)});o&&this._editor.viewModel.addHandles(o);let a=this.reactiveUtils?.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,n=>{n==="ready"&&this._editor?.viewModel.featureFormViewModel&&(this._mapViewContainer.value?.classList?.replace("show-map","hide-map"),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this))),setTimeout(()=>{this._setFloorLevel(this.floorLevel)},50),this._currentPage="featureForm",this.progressStatus.emit(100),this.drawComplete.emit())});a&&this._editor.viewModel.addHandles(a);let r=this.reactiveUtils?.watch(()=>this._editor?.viewModel.state,n=>{n==="creating-features"&&this._editor?.viewModel.featureFormViewModel&&this._editor.viewModel.featureFormViewModel.state==="disabled"&&(this._mapViewContainer.value?.classList?.replace("hide-map","show-map"),this._selectedLayer&&!this._selectedLayer.isTable&&(this._currentPage="drawing"))});r&&this._editor.viewModel.addHandles(r)}}async startCreate(){return await this.hideEditorsElements(),new Promise((e,t)=>{if(this._editor?.viewModel.featureTemplatesViewModel.items?.length){let s=this._editor.viewModel.featureTemplatesViewModel.items[0].items;this._editor.viewModel.featureTemplatesViewModel.addHandles(this._editor.viewModel.featureTemplatesViewModel.on("select",()=>{this.progressStatus.emit(75),setTimeout(()=>{this.hideEditorsElements().then(()=>{e({})},o=>t(o))},700)})),s.length===1&&this._editor.viewModel.featureTemplatesViewModel.select(s[0]);let i=s.length>1;this.hideEditorsElements().then(()=>{i&&e({})},o=>i&&t(o))}})}async createSearchWidget(){if(this._updatedMapView&&this.Search){let e={view:this._updatedMapView};this.searchConfiguration&&(e={...this._getSearchConfig(this.searchConfiguration,this._updatedMapView)}),this._search=new this.Search(e),this._search.container="search-widget-ref",this._search.popupEnabled=!1,this._search.resultGraphicEnabled=!1;let t;this._search.viewModel.addHandles(this._search.on("search-complete",i=>{this._updatedMapView?.goTo(i.results[0].results[0].extent),this._selectedLayer?.geometryType==="point"&&(t=i.results[0].results[0]?.feature.geometry)}));let s=this.reactiveUtils?.watch(()=>this._search?.viewModel.state,i=>{i==="ready"&&setTimeout(()=>{this._editor?.viewModel.sketchViewModel?.createGraphic&&t&&(this._editor.viewModel.sketchViewModel.createGraphic.set("geometry",t),this._editor.viewModel.sketchViewModel.complete(),this.hideEditorsElements())},100)});s&&this._search.viewModel.addHandles(s)}}_getSearchConfig(e,t){let s="includeDefaultSources",i=e.sources;return i&&i?.length>0?(e[s]=!1,i.forEach(o=>{if(o.hasOwnProperty("layer")){let a=o,r=a.layer?.id,n=r?t.map?.findLayerById(r):"",l=a?.layer?.url;n?a.layer=n:l&&this.FeatureLayer&&(a.layer=new this.FeatureLayer(l))}}),i?.forEach(o=>{if(o.hasOwnProperty("locator")){let a=o;if(a?.name==="ArcGIS World Geocoding Service"){let r=a.outFields||["Addr_type","Match_addr","StAddr","City"];a.outFields=r,a.singleLineFieldName="SingleLine"}a.url=a.url,delete a.url}})):e={...e,includeDefaultSources:!0},e}async _setFloorLevel(e){if(!e)return;let t=this._selectedLayer,s=t?.floorInfo?.floorField;if(s){let i=t.fields.find(o=>o.name===s);if(i&&!t?.formTemplate)this._editor?.viewModel.featureFormViewModel&&(this._editor.viewModel.featureFormViewModel.setValue(i.name,e),i.editable=!1);else if(t.formTemplate&&this.formElements&&this.ExpressionInfo&&this.FieldElement){let o=new this.ExpressionInfo({expression:`"${e}"`,name:"floor-info-test",title:"Floor Info",returnType:"string"}),a=new this.FieldElement({label:s,editableExpression:"false",fieldName:s,input:{type:"text-box",maxLength:50,minLength:0},valueExpression:o.name});this._updatedMapView?.map.editableLayers.forEach(r=>{let n=this.formElements.orgElements,l=this.formElements.orgExpressionInfos,u=[...n];if(u.push(a),r.type==="feature"&&this.FormTemplate){let _=r,E=new this.FormTemplate({title:_?.formTemplate?.title,description:_?.formTemplate?.description,elements:u,expressionInfos:[o].concat(l)});r.formTemplate=E}})}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};M("create-feature",w);export{w as CreateFeature};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{b as t,c as e}from"./ROKV4HKO.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.0.0-next.20250506 */
4
+ import{b as t,c as e}from"./ZINUZJUT.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250501 */
4
- import{b as e}from"./7ZIZFBYY.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};
3
+ v1.0.0-next.20250506 */
4
+ import{b as e}from"./6Q7ROHDK.js";var r={if:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"}}}}},then:{type:"object",properties:{_metric:{type:"object",required:["value"]}}}},p={if:{type:"object",properties:{_metric:{type:"object",properties:{sourceTitle:{not:{const:""}}},required:["sourceTitle"]}}},then:{type:"object",properties:{_metric:{type:"object",required:["sourceLink"]}}}},o={if:{type:"object",properties:{_metric:{type:"object",properties:{valueType:{enum:["string","date"]}}}}},then:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"string"}}}}},else:{type:"object",properties:{_metric:{type:"object",properties:{value:{type:"number"}}}}}},i={if:{type:"object",properties:{_metric:{properties:{type:{const:e.static}}}}},then:{type:"object",properties:{_metric:{properties:{sourceLink:{format:"url"}}}}}};export{r as a,p as b,o as c,i as d};