@esri/solutions-components 1.0.0-next.20250529.1 → 1.0.0-next.20250530

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 (404) hide show
  1. package/dist/cdn/{PZHEASS4.js → 23QD6NT3.js} +2 -2
  2. package/dist/cdn/{5QPQAJMG.js → 2BKGC3GR.js} +2 -2
  3. package/dist/cdn/{S6OH6PAD.js → 2EOEAV5E.js} +2 -2
  4. package/dist/cdn/2NWAL23W.js +4 -0
  5. package/dist/cdn/{ZOFGHLQB.js → 2VNIKRUP.js} +2 -2
  6. package/dist/cdn/{UZ2HGN74.js → 2WTCHQJH.js} +2 -2
  7. package/dist/cdn/{WWXALFP5.js → 2XITJCRB.js} +2 -2
  8. package/dist/cdn/{V6P4UD6W.js → 2Z3TWB2K.js} +2 -2
  9. package/dist/cdn/{C4JYYMYJ.js → 36LI3UQA.js} +2 -2
  10. package/dist/cdn/{DRS4Z435.js → 3CHLZWTV.js} +2 -2
  11. package/dist/cdn/{HCK5TCOJ.js → 43ULSAMW.js} +2 -2
  12. package/dist/cdn/{NNKQPDXS.js → 474ZEOFB.js} +1 -1
  13. package/dist/cdn/{FR4X4TDZ.js → 4AKAPNSY.js} +2 -2
  14. package/dist/cdn/{WHS2SJGC.js → 4FC3X2PR.js} +2 -2
  15. package/dist/cdn/{4ZHIBJJZ.js → 4M4MXT54.js} +2 -2
  16. package/dist/cdn/{RJS3KPCL.js → 4MBXYMTN.js} +2 -2
  17. package/dist/cdn/{AXBMCFIY.js → 4UN2BYLH.js} +1 -1
  18. package/dist/cdn/{P2ZWJVGZ.js → 4WQSWJOC.js} +6 -6
  19. package/dist/cdn/{GX7WAJDW.js → 57KRALMV.js} +2 -2
  20. package/dist/cdn/{BIGEZCHV.js → 5AXS3KFI.js} +2 -2
  21. package/dist/cdn/{ATXF6EM5.js → 5HIKUFVB.js} +2 -2
  22. package/dist/cdn/{OK3FOLOF.js → 5LO4GJR2.js} +2 -2
  23. package/dist/cdn/{TKOIJYF4.js → 5S2LGZK4.js} +2 -2
  24. package/dist/cdn/5S33JONB.js +18 -0
  25. package/dist/cdn/{CH6BDUYO.js → 5TJLMZD4.js} +2 -2
  26. package/dist/cdn/{2RGHQMD7.js → 5TRKAS2N.js} +1 -1
  27. package/dist/cdn/{CLTGVNIT.js → 5Y5ORVLB.js} +1 -1
  28. package/dist/cdn/{EGBONIMT.js → 5ZNOFKZT.js} +2 -2
  29. package/dist/cdn/{F3APXHAE.js → 623GWCXD.js} +2 -2
  30. package/dist/cdn/{5ZJ5HMBU.js → 624IUPMH.js} +2 -2
  31. package/dist/cdn/{NVSZ6TEP.js → 65WW5KKH.js} +2 -2
  32. package/dist/cdn/{MQSTZCGJ.js → 66KXCMW2.js} +2 -2
  33. package/dist/cdn/{L5VFVPQH.js → 6B752FN2.js} +2 -2
  34. package/dist/cdn/{HXCZBWLK.js → 6DWD2XLO.js} +2 -2
  35. package/dist/cdn/{RNNWBWHE.js → 6EHPMLHH.js} +2 -2
  36. package/dist/cdn/{DOZSTXHI.js → 6OHWZOS5.js} +2 -2
  37. package/dist/cdn/{HCV2XISF.js → 6PMWYOH6.js} +2 -2
  38. package/dist/cdn/{FZAQQCT2.js → 6TLILFC7.js} +2 -2
  39. package/dist/cdn/{6QYC63ET.js → 6WM4LAYI.js} +1 -1
  40. package/dist/cdn/{GRGAE7XV.js → 6Y2HFRCC.js} +2 -2
  41. package/dist/cdn/{I6CL4W66.js → 73MN3UQT.js} +2 -2
  42. package/dist/cdn/{QMAHKDVR.js → 76ZVHQZN.js} +2 -2
  43. package/dist/cdn/{T44MUET5.js → 77XUB3YE.js} +2 -2
  44. package/dist/cdn/7DEB6EKJ.js +4 -0
  45. package/dist/cdn/{EF6B6NVS.js → 7HKKUGXJ.js} +3 -3
  46. package/dist/cdn/{V5KXBFEN.js → 7ICYEZEV.js} +1 -1
  47. package/dist/cdn/{32U4CX5C.js → 7MSPLAAS.js} +1 -1
  48. package/dist/cdn/{EFQVEZGK.js → 7RRAT3I3.js} +2 -2
  49. package/dist/cdn/{226TJMEY.js → A3472HMO.js} +2 -2
  50. package/dist/cdn/{AO367CCB.js → A7QSMG5S.js} +1 -1
  51. package/dist/cdn/{Q2GQGU3O.js → AAZLISVR.js} +2 -2
  52. package/dist/cdn/{ZGN6IAVH.js → ACD5DGKO.js} +2 -2
  53. package/dist/cdn/{FUKHM2ED.js → ADKZI66G.js} +2 -2
  54. package/dist/cdn/{LGXVU5RZ.js → AOWCHDDD.js} +2 -2
  55. package/dist/cdn/{OHVQU6ZJ.js → ASAQWYLX.js} +2 -2
  56. package/dist/cdn/{DW2GOOJO.js → ASMSD26H.js} +2 -2
  57. package/dist/cdn/{5JSGC5AY.js → AWWFUP7R.js} +2 -2
  58. package/dist/cdn/{4FINQGFN.js → B5VH5463.js} +2 -2
  59. package/dist/cdn/{TANB4M2J.js → B6D7BVKN.js} +2 -2
  60. package/dist/cdn/{FTLPMKAC.js → B6UMTBML.js} +2 -2
  61. package/dist/cdn/{5BPG7NP4.js → B7LQMG3R.js} +2 -2
  62. package/dist/cdn/{DCZ6I6AY.js → BHDI3U4H.js} +2 -2
  63. package/dist/cdn/{2M3XDJVT.js → BJMWCYCG.js} +1 -1
  64. package/dist/cdn/{XRHJGG6M.js → BLRHWO52.js} +2 -2
  65. package/dist/cdn/{FLGIBCK5.js → BTLOBHUI.js} +2 -2
  66. package/dist/cdn/BWUWGBTF.js +4 -0
  67. package/dist/cdn/{3DGCRE6C.js → C5O32W6W.js} +2 -2
  68. package/dist/cdn/{AD3MI4SK.js → C6W5EVRT.js} +2 -2
  69. package/dist/cdn/{UP4YI4TT.js → C7F3GRAL.js} +2 -2
  70. package/dist/cdn/{PCME4I7V.js → CDW32ZV2.js} +2 -2
  71. package/dist/cdn/{KMFOS5KM.js → CIR5U4D6.js} +2 -2
  72. package/dist/cdn/{OQKQMGDN.js → CNE6Q3HD.js} +2 -2
  73. package/dist/cdn/{YEH3K6PV.js → COHNJZCA.js} +2 -2
  74. package/dist/cdn/{UD6TTT2A.js → CRVOSDOH.js} +2 -2
  75. package/dist/cdn/{QQ53NCYV.js → CVHD4WPU.js} +2 -2
  76. package/dist/cdn/{JGLLOYRV.js → CVY3C2IL.js} +2 -2
  77. package/dist/cdn/{KZXLFT6A.js → D3CEKY4I.js} +2 -2
  78. package/dist/cdn/{RIOHLLW6.js → D64CJOFO.js} +2 -2
  79. package/dist/cdn/{5GRAGQQP.js → DFVGHMS4.js} +2 -2
  80. package/dist/cdn/DI3ZJNYG.js +4 -0
  81. package/dist/cdn/{DUZUSI6P.js → DKFDVAPB.js} +2 -2
  82. package/dist/cdn/{WP6BQVIA.js → DMOHDVMJ.js} +2 -2
  83. package/dist/cdn/{7C4LS7IK.js → DPCZKJNP.js} +2 -2
  84. package/dist/cdn/{5YPIARSS.js → DPQI6KC3.js} +2 -2
  85. package/dist/cdn/{N47B2PFI.js → DTFCT5IZ.js} +2 -2
  86. package/dist/cdn/{BDSZY6HF.js → DXVTCY4M.js} +2 -2
  87. package/dist/cdn/{VKBPB4XL.js → EDGMFTA5.js} +1 -1
  88. package/dist/cdn/{KAYEVXTW.js → FBFPEXXQ.js} +2 -2
  89. package/dist/cdn/{5LOR6WOH.js → FINGXX6A.js} +2 -2
  90. package/dist/cdn/{VWNZ5PHO.js → FIZQWFHG.js} +2 -2
  91. package/dist/cdn/{QUYSAWNZ.js → FJZZPZAP.js} +1 -1
  92. package/dist/cdn/{TATQRKRO.js → FLMBYBSQ.js} +2 -2
  93. package/dist/cdn/{RAL76SQT.js → FMBJIOBG.js} +2 -2
  94. package/dist/cdn/{2VW6H67C.js → FOARVMCU.js} +1 -1
  95. package/dist/cdn/{N3WHAHAE.js → FT36ADUC.js} +2 -2
  96. package/dist/cdn/{RSHSVMPO.js → FVYY2V6T.js} +2 -2
  97. package/dist/cdn/{3GOXEHUM.js → FX4JCXT3.js} +2 -2
  98. package/dist/cdn/{KWPSUDAQ.js → G2RF3XGL.js} +2 -2
  99. package/dist/cdn/{SJSKBJDQ.js → G6J2G3OU.js} +2 -2
  100. package/dist/cdn/{YQ56TKXB.js → G6RPSMZU.js} +2 -2
  101. package/dist/cdn/{UXS2JZES.js → GAJRZJ5F.js} +2 -2
  102. package/dist/cdn/{FBJW6XEX.js → GHOZRGNX.js} +2 -2
  103. package/dist/cdn/GIZRBHCR.js +18 -0
  104. package/dist/cdn/{WJHLFCHB.js → GNLCPEV7.js} +2 -2
  105. package/dist/cdn/{KKJXYILX.js → GPVKAG4C.js} +2 -2
  106. package/dist/cdn/{XXLWKLVG.js → GULDKM5K.js} +2 -2
  107. package/dist/cdn/{EAVTHFWC.js → GVMSMEI4.js} +2 -2
  108. package/dist/cdn/{22TLYMB5.js → GWZJKQMN.js} +2 -2
  109. package/dist/cdn/{TKSTFENU.js → H22ZUYLG.js} +3 -3
  110. package/dist/cdn/H3WID2XT.js +18 -0
  111. package/dist/cdn/{CAIDATL7.js → H3YXFKQG.js} +2 -2
  112. package/dist/cdn/{OJE3CXRA.js → H46M3Z3P.js} +2 -2
  113. package/dist/cdn/{WGOOZUKO.js → H46O6YAN.js} +2 -2
  114. package/dist/cdn/{N2ME4PMY.js → H5ZIHIO2.js} +3 -3
  115. package/dist/cdn/{5OFRMSV6.js → H6V2DNZK.js} +2 -2
  116. package/dist/cdn/{XIXMB2G5.js → HBZ4X7UP.js} +2 -2
  117. package/dist/cdn/{TD5MSEEV.js → HF75TXAE.js} +2 -2
  118. package/dist/cdn/{VJBYZT6W.js → HK4LMSCI.js} +2 -2
  119. package/dist/cdn/{JNZWDT5I.js → HOZJEHZI.js} +2 -2
  120. package/dist/cdn/{EFN3IWLQ.js → HPD42QK2.js} +2 -2
  121. package/dist/cdn/{E6AZUM5D.js → HSDQUCF6.js} +2 -2
  122. package/dist/cdn/{BAEITQ2C.js → HUJDORKB.js} +2 -2
  123. package/dist/cdn/{57OJYSCR.js → IAZYT5SM.js} +2 -2
  124. package/dist/cdn/{G5HPM6N2.js → IFQJHKJ3.js} +2 -2
  125. package/dist/cdn/{VHODC5K7.js → INHTUKGG.js} +2 -2
  126. package/dist/cdn/{73CALEXO.js → IOFFIYTL.js} +1 -1
  127. package/dist/cdn/{Q5577CJV.js → IWEV46QA.js} +2 -2
  128. package/dist/cdn/{OLAVIJIT.js → IY4EENZ5.js} +2 -2
  129. package/dist/cdn/{NMOQUXR6.js → JDBE77NZ.js} +2 -2
  130. package/dist/cdn/{JQOJYSOZ.js → JDPFMWSP.js} +2 -2
  131. package/dist/cdn/{XWZRUTOX.js → JHW7VZTV.js} +2 -2
  132. package/dist/cdn/{5UMSFFPF.js → JL5VELML.js} +2 -2
  133. package/dist/cdn/{LKCOVVSL.js → JQ5YNHDK.js} +2 -2
  134. package/dist/cdn/{NO53EZBW.js → JRD5PLWA.js} +2 -2
  135. package/dist/cdn/{A3TE2CYP.js → JSUMCSCE.js} +2 -2
  136. package/dist/cdn/{IAHGXPQT.js → K4F6G4OQ.js} +1 -1
  137. package/dist/cdn/{TXF5RICI.js → KPU6AFJN.js} +2 -2
  138. package/dist/cdn/KVNQHEXQ.js +4 -0
  139. package/dist/cdn/{N2Q43IJ2.js → LCP3BY3N.js} +2 -2
  140. package/dist/cdn/{RFC7Q3JW.js → LCUHKJMS.js} +2 -2
  141. package/dist/cdn/{DB2PWS76.js → LI5GC7CN.js} +2 -2
  142. package/dist/cdn/{5YLKLSMJ.js → LMGSYVDG.js} +1 -1
  143. package/dist/cdn/{ABWWFNZH.js → LQRMHTGZ.js} +2 -2
  144. package/dist/cdn/{BGG35RUD.js → LRUGHWTN.js} +1 -1
  145. package/dist/cdn/{Y3VKMBT2.js → LXA33IHT.js} +2 -2
  146. package/dist/cdn/{NB2KN2PS.js → LZS774B3.js} +1 -1
  147. package/dist/cdn/{3WUBH6ZI.js → MFK4TJVR.js} +2 -2
  148. package/dist/cdn/{DLLKABZH.js → MHWXPIZF.js} +2 -2
  149. package/dist/cdn/{3TNNRRLR.js → MJ7SNROO.js} +2 -2
  150. package/dist/cdn/{E4MUA2ED.js → MJ7WUNVY.js} +2 -2
  151. package/dist/cdn/{FKBPJVRW.js → MPF442O4.js} +2 -2
  152. package/dist/cdn/{ZLKFLJAK.js → MPJ2AA4Y.js} +2 -2
  153. package/dist/cdn/{FRI7HIM7.js → MSAGS3RU.js} +2 -2
  154. package/dist/cdn/{7YM72QZ3.js → MSC6SQKC.js} +2 -2
  155. package/dist/cdn/{RMQSJKXT.js → MTI5LVZW.js} +2 -2
  156. package/dist/cdn/{6FVEXKJS.js → MZNCYU5F.js} +2 -2
  157. package/dist/cdn/{4HJRJ7KX.js → N4SJLKUB.js} +2 -2
  158. package/dist/cdn/{JGO5DBSA.js → N6WVCUYZ.js} +2 -2
  159. package/dist/cdn/{2SNUWJEH.js → NFHEIYMD.js} +2 -2
  160. package/dist/cdn/{ZHJOJK4D.js → NGOP7PKK.js} +2 -2
  161. package/dist/cdn/{NBFO57MD.js → NIVL5UGT.js} +2 -2
  162. package/dist/cdn/{GWPISXDC.js → NKOVTFUU.js} +1 -1
  163. package/dist/cdn/{TS32X4ID.js → NO2SL2YF.js} +1 -1
  164. package/dist/cdn/{BQW56YYM.js → NOSOENXA.js} +2 -2
  165. package/dist/cdn/{IJJ6XUUA.js → NPELRLAT.js} +1 -1
  166. package/dist/cdn/{KBDBSCXP.js → NQHY7XX2.js} +2 -2
  167. package/dist/cdn/{RWQERXH4.js → NUCJR6CY.js} +2 -2
  168. package/dist/cdn/{6BG4LKDW.js → NW4KXWWN.js} +2 -2
  169. package/dist/cdn/{BDLLR4WH.js → O34SMVFC.js} +2 -2
  170. package/dist/cdn/{ATBQXDJR.js → O7VNTXYR.js} +1 -1
  171. package/dist/cdn/{T3ZRKXLY.js → OFMVTSKF.js} +2 -2
  172. package/dist/cdn/{UPDKM5C4.js → OGSX3AIB.js} +2 -2
  173. package/dist/cdn/{XMAMECK7.js → OK6EFAL5.js} +2 -2
  174. package/dist/cdn/{X7VDVXPT.js → OKMLPIEO.js} +2 -2
  175. package/dist/cdn/{WOWKKDEA.js → OL6BCU24.js} +2 -2
  176. package/dist/cdn/{EMR2T3VS.js → OLE4GCSZ.js} +2 -2
  177. package/dist/cdn/{I4GUWHGI.js → OOIVSIXL.js} +2 -2
  178. package/dist/cdn/{E45HF3Y4.js → OTV4TIHA.js} +1 -1
  179. package/dist/cdn/{EUCKEPMP.js → OY2EULMD.js} +1 -1
  180. package/dist/cdn/{WAD3QU5V.js → PC7NVT5O.js} +2 -2
  181. package/dist/cdn/{NMW6Q45K.js → PKQBHNHV.js} +2 -2
  182. package/dist/cdn/{44KIKBNN.js → PLZQ55P6.js} +1 -1
  183. package/dist/cdn/{4KEBF4LC.js → PNYGXVOF.js} +2 -2
  184. package/dist/cdn/{ERDDFJBU.js → PQ6UKR2D.js} +2 -2
  185. package/dist/cdn/PQF5AGW3.js +18 -0
  186. package/dist/cdn/{E6ANX74E.js → PUL6DFZP.js} +2 -2
  187. package/dist/cdn/{LB4MHZTX.js → PYTYKQXT.js} +2 -2
  188. package/dist/cdn/{WIJOUEJP.js → Q2NP2O3M.js} +1 -1
  189. package/dist/cdn/{GOFL3CLI.js → QHCRENJA.js} +2 -2
  190. package/dist/cdn/{64GGJXW2.js → QKSO2DZS.js} +2 -2
  191. package/dist/cdn/{LFFZU6FW.js → QQFRILT6.js} +2 -2
  192. package/dist/cdn/{AQ4EWNIS.js → QSOWUBRL.js} +2 -2
  193. package/dist/cdn/{XE4V3N2H.js → QUXU6A5O.js} +2 -2
  194. package/dist/cdn/{EMX7A46W.js → QWW5LVKF.js} +1 -1
  195. package/dist/cdn/{E2WTZA5A.js → R2MSIDPH.js} +2 -2
  196. package/dist/cdn/{CINMF5MV.js → R4TKAAQV.js} +2 -2
  197. package/dist/cdn/{OK6HLZPD.js → R7RG6ML5.js} +2 -2
  198. package/dist/cdn/{NTIAFN5V.js → RFBPGTLV.js} +2 -2
  199. package/dist/cdn/{EMSROVVK.js → RJMRH5EB.js} +2 -2
  200. package/dist/cdn/{ITFUMWIC.js → RM2TEOMI.js} +2 -2
  201. package/dist/cdn/{IUKZJEZR.js → RTSDGCAZ.js} +2 -2
  202. package/dist/cdn/{YBYPMK5B.js → RU4LFZ43.js} +2 -2
  203. package/dist/cdn/{EZZ43ZR6.js → RUXEHYBS.js} +2 -2
  204. package/dist/cdn/{SAYEB7BP.js → RUZUM5JL.js} +2 -2
  205. package/dist/cdn/{YFXB4ISW.js → RVP3IPFW.js} +2 -2
  206. package/dist/cdn/{XJNGHFQY.js → RZ64SXIZ.js} +2 -2
  207. package/dist/cdn/S3DJ42LQ.js +4 -0
  208. package/dist/cdn/{6D3RDJX7.js → S76CATML.js} +2 -2
  209. package/dist/cdn/{7Z62O7FH.js → S7HDN545.js} +2 -2
  210. package/dist/cdn/{US5FGYHG.js → SAVY6UWC.js} +2 -2
  211. package/dist/cdn/{INGNQIJ3.js → SFZSSATF.js} +1 -1
  212. package/dist/cdn/{D4E4KVMH.js → SITUZTCB.js} +1 -1
  213. package/dist/cdn/{F67L3FFT.js → SM4ERQVS.js} +2 -2
  214. package/dist/cdn/SOCFGEQX.js +4 -0
  215. package/dist/cdn/{UTTBCGBU.js → STR7L3II.js} +1 -1
  216. package/dist/cdn/{UYHG2K2R.js → SUYA6BJE.js} +2 -2
  217. package/dist/cdn/SWLTPJE7.js +19 -0
  218. package/dist/cdn/{WIVHCBPP.js → T6ENDM5I.js} +2 -2
  219. package/dist/cdn/{CQEENTBO.js → TDAFNKRF.js} +2 -2
  220. package/dist/cdn/{MLEBNSOQ.js → TGF4D4AP.js} +2 -2
  221. package/dist/cdn/{DJW5RED2.js → TJYWSXAE.js} +2 -2
  222. package/dist/cdn/{KU56AQD3.js → TNKUKSQO.js} +2 -2
  223. package/dist/cdn/{LPCTO7JL.js → TZB4SIVB.js} +2 -2
  224. package/dist/cdn/{BFH5SRQZ.js → U4AOWHPN.js} +2 -2
  225. package/dist/cdn/{2WOG7EWC.js → UCOGDUDQ.js} +2 -2
  226. package/dist/cdn/{JNLPWAOW.js → UF7C45QH.js} +1 -1
  227. package/dist/cdn/{LH2RWSHL.js → UFB3TUWD.js} +2 -2
  228. package/dist/cdn/{T5M4F7YY.js → UJIWOKHV.js} +2 -2
  229. package/dist/cdn/ULUZHD23.js +18 -0
  230. package/dist/cdn/{44BN27VD.js → UMIMUVFB.js} +2 -2
  231. package/dist/cdn/{6SEI3MD4.js → UMQ6LGJX.js} +2 -2
  232. package/dist/cdn/{422X4AIN.js → UPY2LA6F.js} +2 -2
  233. package/dist/cdn/{KHZT65GM.js → USLNR5GM.js} +2 -2
  234. package/dist/cdn/{CYMZ5TR6.js → UTUTEFAQ.js} +2 -2
  235. package/dist/cdn/{AQLKL2NA.js → UU5CNOQW.js} +1 -1
  236. package/dist/cdn/{4YOYUXOM.js → UVD3URNY.js} +2 -2
  237. package/dist/cdn/{HOSQ2AT7.js → V3UMFOSY.js} +2 -2
  238. package/dist/cdn/{OVZZDA7E.js → VI4S4LJS.js} +1 -1
  239. package/dist/cdn/{MXKTM3JR.js → VNKBLONB.js} +2 -2
  240. package/dist/cdn/{JUFXEC5B.js → VQNKIJYJ.js} +2 -2
  241. package/dist/cdn/{2H6MMKLC.js → VSFHEXKM.js} +2 -2
  242. package/dist/cdn/{LVYTI5YO.js → VUE2KPGT.js} +1 -1
  243. package/dist/cdn/{CUWBKPW3.js → VVBT7KBI.js} +2 -2
  244. package/dist/cdn/{DIPTKS7N.js → VVKUWUHS.js} +2 -2
  245. package/dist/cdn/{RZS7265A.js → W3LLXNL3.js} +1 -1
  246. package/dist/cdn/{XNMPWNJU.js → W77AHKSW.js} +2 -2
  247. package/dist/cdn/{RPDZRAZN.js → WB3MRH4D.js} +2 -2
  248. package/dist/cdn/{FWU3TXCH.js → WFQNYZM4.js} +2 -2
  249. package/dist/cdn/{KLDZGQR7.js → WG6YT6NR.js} +2 -2
  250. package/dist/cdn/{DE4JUMCH.js → WJF7O2KL.js} +2 -2
  251. package/dist/cdn/{P6V7CQGP.js → WTHR4PDS.js} +2 -2
  252. package/dist/cdn/{JAHBNPDG.js → WVOYVMPB.js} +2 -2
  253. package/dist/cdn/{JC4DSHFM.js → X472G43W.js} +2 -2
  254. package/dist/cdn/{5OKFWPQF.js → X5I4YW2D.js} +2 -2
  255. package/dist/cdn/{4L3V2YYV.js → X7YNYBQ7.js} +1 -1
  256. package/dist/cdn/{5FNUZG6X.js → XANWM4XJ.js} +2 -2
  257. package/dist/cdn/{XE5DWVXG.js → XJHNY525.js} +2 -2
  258. package/dist/cdn/XJJZC34E.js +4 -0
  259. package/dist/cdn/{R3HTIQI4.js → XQTZGROY.js} +2 -2
  260. package/dist/cdn/{7PPW7OOE.js → XS2PGUTI.js} +2 -2
  261. package/dist/cdn/{PSTKPUKW.js → XUI76RRO.js} +2 -2
  262. package/dist/cdn/{5MAI7MEC.js → XXHTK6SD.js} +2 -2
  263. package/dist/cdn/{UA2S4SRX.js → Y6GOEXCP.js} +1 -1
  264. package/dist/cdn/{TWKAESRO.js → YDQ3OJQO.js} +1 -1
  265. package/dist/cdn/{OZ6MXTPT.js → YEZ45MYI.js} +2 -2
  266. package/dist/cdn/{STM2LDCR.js → YGOJWFRE.js} +1 -1
  267. package/dist/cdn/{WBEQ7VK3.js → YHPDJ5FN.js} +2 -2
  268. package/dist/cdn/{XEKWJEF6.js → YUXVO62S.js} +2 -2
  269. package/dist/cdn/YWKKYK5K.js +18 -0
  270. package/dist/cdn/{MKZNNMPC.js → YWR7J3GR.js} +2 -2
  271. package/dist/cdn/{5BWSNQ4C.js → Z25W4Z6L.js} +2 -2
  272. package/dist/cdn/{CJZSQT35.js → Z3VO6XU3.js} +2 -2
  273. package/dist/cdn/{QQD353LD.js → ZBE4V2ZL.js} +2 -2
  274. package/dist/cdn/{6VV6QBNS.js → ZK3VF62M.js} +1 -1
  275. package/dist/cdn/{NZ6MHZKX.js → ZKKTR3BI.js} +1 -1
  276. package/dist/cdn/{3OJVS3LV.js → ZKOIDQFC.js} +2 -2
  277. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.en.json +1 -1
  278. package/dist/cdn/assets/solution-deploying-panel/t9n/messages.json +1 -1
  279. package/dist/cdn/index.js +2 -2
  280. package/dist/chunks/Auth.js +1 -1
  281. package/dist/chunks/cardFetchingUtils.js +1 -1
  282. package/dist/chunks/common.js +1 -1
  283. package/dist/chunks/deployAppContexts.js +1 -1
  284. package/dist/chunks/downloadUtils.js +140 -138
  285. package/dist/chunks/index.js +1 -1
  286. package/dist/chunks/interfaces.js +1 -1
  287. package/dist/chunks/loadModules.js +1 -1
  288. package/dist/chunks/mapViewUtils.js +1 -1
  289. package/dist/chunks/pciUtils.js +1 -1
  290. package/dist/chunks/popupUtils.js +1 -1
  291. package/dist/chunks/publicNotificationStore.js +1 -1
  292. package/dist/chunks/queryUtils.js +1 -1
  293. package/dist/chunks/runtime.js +1 -1
  294. package/dist/chunks/solution-store.js +1 -1
  295. package/dist/chunks/templates.js +1 -1
  296. package/dist/chunks/useT9n.js +1 -1
  297. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  298. package/dist/components/basemap-gallery/customElement.js +1 -1
  299. package/dist/components/buffer-tools/customElement.js +1 -1
  300. package/dist/components/card-manager/customElement.d.ts +1 -1
  301. package/dist/components/card-manager/customElement.js +1 -1
  302. package/dist/components/consent-manager/customElement.js +1 -1
  303. package/dist/components/create-feature/customElement.d.ts +12 -5
  304. package/dist/components/create-feature/customElement.js +44 -50
  305. package/dist/components/create-related-feature/customElement.js +3 -3
  306. package/dist/components/crowdsource-manager/customElement.js +1 -1
  307. package/dist/components/crowdsource-reporter/customElement.d.ts +0 -6
  308. package/dist/components/crowdsource-reporter/customElement.js +98 -87
  309. package/dist/components/deduct-calculator/customElement.js +1 -1
  310. package/dist/components/delete-button/customElement.d.ts +1 -1
  311. package/dist/components/delete-button/customElement.js +1 -1
  312. package/dist/components/delete-dialog/customElement.js +1 -1
  313. package/dist/components/edit-card/customElement.js +1 -1
  314. package/dist/components/feature-details/customElement.d.ts +2 -0
  315. package/dist/components/feature-details/customElement.js +7 -5
  316. package/dist/components/feature-list/customElement.d.ts +2 -0
  317. package/dist/components/feature-list/customElement.js +20 -20
  318. package/dist/components/field-selection/customElement.js +1 -1
  319. package/dist/components/floor-filter/customElement.js +1 -1
  320. package/dist/components/info-card/customElement.js +1 -1
  321. package/dist/components/json-editor/customElement.js +1 -1
  322. package/dist/components/layer-list/customElement.js +1 -1
  323. package/dist/components/layer-table/customElement.js +1 -1
  324. package/dist/components/map-card/customElement.js +1 -1
  325. package/dist/components/map-draw-tools/customElement.js +1 -1
  326. package/dist/components/map-fullscreen/customElement.js +1 -1
  327. package/dist/components/map-layer-picker/customElement.js +11 -13
  328. package/dist/components/map-legend/customElement.js +1 -1
  329. package/dist/components/map-picker/customElement.d.ts +1 -1
  330. package/dist/components/map-picker/customElement.js +5 -8
  331. package/dist/components/map-search/customElement.js +1 -1
  332. package/dist/components/map-select-tools/customElement.js +1 -1
  333. package/dist/components/map-tools/customElement.js +1 -1
  334. package/dist/components/pci-calculator/customElement.js +1 -1
  335. package/dist/components/pdf-download/customElement.js +1 -1
  336. package/dist/components/public-notification/customElement.js +1 -1
  337. package/dist/components/refine-selection/customElement.js +1 -1
  338. package/dist/components/selection-tool/customElement.js +1 -1
  339. package/dist/components/solution-article-card/customElement.js +1 -1
  340. package/dist/components/solution-configuration/customElement.js +1 -1
  341. package/dist/components/solution-configure-panel/customElement.js +1 -1
  342. package/dist/components/solution-configure-titles/customElement.js +1 -1
  343. package/dist/components/solution-contents/customElement.js +1 -1
  344. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  345. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  346. package/dist/components/solution-deploy-panel/customElement.d.ts +1 -0
  347. package/dist/components/solution-deploy-panel/customElement.js +5 -5
  348. package/dist/components/solution-deployed-card/customElement.js +1 -1
  349. package/dist/components/solution-deploying-panel/customElement.d.ts +7 -0
  350. package/dist/components/solution-deploying-panel/customElement.js +48 -15
  351. package/dist/components/solution-deploying-panel/index.d.ts +7 -0
  352. package/dist/components/solution-deploying-panel/index.js +7 -0
  353. package/dist/components/solution-details-card/customElement.js +1 -1
  354. package/dist/components/solution-details-panel/customElement.js +1 -1
  355. package/dist/components/solution-item/customElement.js +1 -1
  356. package/dist/components/solution-item-accordion/customElement.d.ts +2 -0
  357. package/dist/components/solution-item-accordion/customElement.js +4 -4
  358. package/dist/components/solution-item-details/customElement.js +1 -1
  359. package/dist/components/solution-item-icon/customElement.js +1 -1
  360. package/dist/components/solution-item-sharing/customElement.js +1 -1
  361. package/dist/components/solution-items-diagram/customElement.js +1 -1
  362. package/dist/components/solution-organization-variables/customElement.js +1 -1
  363. package/dist/components/solution-resource-item/customElement.js +1 -1
  364. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  365. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  366. package/dist/components/solution-template-data/customElement.js +1 -1
  367. package/dist/components/solution-variables/customElement.js +1 -1
  368. package/dist/components/solutions-all-panel/customElement.js +1 -1
  369. package/dist/components/solutions-all-shell/customElement.js +1 -1
  370. package/dist/components/solutions-article-panel/customElement.js +1 -1
  371. package/dist/components/solutions-articles/customElement.js +1 -1
  372. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  373. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  374. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  375. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  376. package/dist/components/spatial-ref/customElement.js +1 -1
  377. package/dist/components/store-manager/customElement.js +1 -1
  378. package/dist/docs/api.json +127 -49
  379. package/dist/docs/docs.json +149 -38
  380. package/dist/docs/vscode.html-custom-data.json +14 -14
  381. package/dist/docs/web-types.json +63 -31
  382. package/dist/index.d.ts +2 -0
  383. package/dist/index.js +1 -1
  384. package/dist/loader.js +5 -5
  385. package/dist/types/lumina.d.ts +6 -4
  386. package/dist/types/preact.d.ts +6 -4
  387. package/dist/types/react.d.ts +6 -4
  388. package/dist/types/stencil.d.ts +6 -4
  389. package/package.json +1 -1
  390. package/dist/cdn/4NCQ3IS4.js +0 -18
  391. package/dist/cdn/5Z3SFZPV.js +0 -19
  392. package/dist/cdn/627NUP22.js +0 -4
  393. package/dist/cdn/6K3XKNF7.js +0 -18
  394. package/dist/cdn/FLEZVTRW.js +0 -4
  395. package/dist/cdn/KNHIVMQR.js +0 -4
  396. package/dist/cdn/QY3WDSZE.js +0 -4
  397. package/dist/cdn/RE3SUTYT.js +0 -18
  398. package/dist/cdn/RHY65LV5.js +0 -18
  399. package/dist/cdn/U2HFGKIV.js +0 -18
  400. package/dist/cdn/VJLQ32GX.js +0 -4
  401. package/dist/cdn/WRJ2IISI.js +0 -18
  402. package/dist/cdn/X4XTLJM6.js +0 -4
  403. package/dist/cdn/X6K34YQK.js +0 -4
  404. package/dist/cdn/XLPJWPRX.js +0 -4
@@ -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.20250530 */
4
+ import{a as r}from"./PNYGXVOF.js";import{D as s,G as l,I as c,c as o,d as t,q as a}from"./VUE2KPGT.js";import"./OY2EULMD.js";var p=o`@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
+ */.panel-bg-white{--calcite-panel-background-color: var(--calcite-color-foreground-1)}}`,n=class extends s{constructor(){super(...arguments),this.solutionItem=void 0,this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1,this._translations=r({name:"solution-deploying-panel",blocking:!0})}static{this.properties={solutionItem:0,_isInCancelConfirmation:16,_showCancelConfirmation:16,_translations:16}}static{this.styles=p}static{this.shadowRootOptions=a}close(){this._showCancelConfirmation=!1;let e=this._getDialogObject();e&&(e.open=!1)}confirmCancel(){if(this._isInCancelConfirmation)this.close();else{let e=this._getDialogObject();e&&(e.open=!0,e.closeDisabled=!0,this._isInCancelConfirmation=!0),this._showCancelConfirmation=!0}}async load(){}render(){return t`<calcite-dialog .heading=${this._translations.title.replace("{{solution}}",this.solutionItem?.title??"")} id=${this._translations.title.replace("{{solution}}",this.solutionItem?.title??"")??l} modal open @calciteDialogBeforeClose=${e=>{e.preventDefault(),this.confirmCancel()}} outside-close-disabled>${this._showCancelConfirmation?this.renderCancelModal():t`<calcite-panel class="panel-bg-white"><calcite-loader .label=${this._translations.deploymentInProgress} scale=l .text=${this._translations.deploymentInProgress} type=determinate-value value=75></calcite-loader><calcite-carousel autoplay .label=${this._translations.newsAndFeatures} arrow-type=inline>${this.renderCarouselItems()}</calcite-carousel><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancel}</calcite-button></calcite-panel>`}</calcite-dialog>`}renderCarouselItems(){let e=[],h=this._translations.carousel;for(let[i,u]of Object.entries(h))e.push(t`<calcite-carousel-item .label=${i}><calcite-label layout=inline>${i==="stockMessage1"&&t`<calcite-icon icon=workflow-diagram></calcite-icon>`||""}${i==="stockMessage2"&&t`<calcite-icon icon=trash></calcite-icon>`||""}${u}</calcite-label></calcite-carousel-item>`);return e}renderCancelModal(){return t`<calcite-panel class="panel-bg-white">${this._translations.deploymentCancelMessage}<calcite-button kind=brand @click=${()=>{let e=this._getDialogObject();e&&(e.closeDisabled=!1),this._isInCancelConfirmation=!1,this._showCancelConfirmation=!1}} slot=footer-end>${this._translations.continueDeployment}</calcite-button><calcite-button appearance=outline @click=${this.confirmCancel} slot=footer-end>${this._translations.cancelDeploymentButton}</calcite-button></calcite-panel>`}_getDialogObject(){let e=this._translations.title.replace("{{solution}}",this.solutionItem?.title??"");return document.getElementById(e)}};c("solution-deploying-panel",n);export{n as SolutionDeployingPanel};
@@ -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.20250529.1 */
4
- import{a as o}from"./V5KXBFEN.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r as a};
3
+ v1.0.0-next.20250530 */
4
+ import{a as o}from"./7ICYEZEV.js";function r(n,t){let e;t.authentication&&(e=t.authentication.token);let a=t.authentication?`?token=${e}`:"";return n&&o(`${n}${a}`)}export{r 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.20250529.1 */
4
- import{a as e}from"./BIGEZCHV.js";import"./6VV6QBNS.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./CLTGVNIT.js";import{a,b as s}from"./Q5577CJV.js";import{a as p}from"./4KEBF4LC.js";import{D as c,I as h,c as m,d as l,e as o,q as r}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var u=m`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as e}from"./5AXS3KFI.js";import"./ZK3VF62M.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./5Y5ORVLB.js";import{a,b as s}from"./IWEV46QA.js";import{a as p}from"./PNYGXVOF.js";import{D as c,I as h,c as m,d as l,e as o,q as r}from"./VUE2KPGT.js";import"./OY2EULMD.js";var u=m`@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.20250529.1 */
3
+ v1.0.0-next.20250530 */
4
4
  function i(e){let n={};if(Array.isArray(e))n=e.map(i);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let t=e[r];t!=null&&typeof t=="object"?t instanceof Date?n[r]=new Date(t.getTime()):typeof Blob<"u"&&t instanceof Blob?n[r]=new Blob([t],{type:t.type}):n[r]=i(t):n[r]=t}}else n=e;return n}function c(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function f(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let n=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(n,function(t,o,u){return u?u.toUpperCase():""}).replace(r,function(t,o,u){return t.toLowerCase()})}function s(e,n,r){return r.indexOf(e)===n}var l=e=>e==null;export{i as a,c as b,f as c,s as d,l as e};
@@ -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.20250529.1 */
4
- import{a as d}from"./E6AZUM5D.js";import"./6VV6QBNS.js";import{a as T,d as I}from"./P2ZWJVGZ.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./6QYC63ET.js";import{g as L,j as E}from"./64GGJXW2.js";import{c as l,e as r,f as c}from"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as g,b as _}from"./Q5577CJV.js";import{b as k}from"./2M3XDJVT.js";import{a as x}from"./4KEBF4LC.js";import{D as w,E as h,I as v,J as $,c as f,d as o,g as p,o as y,q as S}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var C=f`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as d}from"./HSDQUCF6.js";import"./ZK3VF62M.js";import{a as T,d as I}from"./4WQSWJOC.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./6WM4LAYI.js";import{g as L,j as E}from"./QKSO2DZS.js";import{c as l,e as r,f as c}from"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as g,b as _}from"./IWEV46QA.js";import{b as k}from"./BJMWCYCG.js";import{a as x}from"./PNYGXVOF.js";import{D as w,E as h,I as v,J as $,c as f,d as o,g as p,o as y,q as S}from"./VUE2KPGT.js";import"./OY2EULMD.js";var C=f`@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.20250529.1 */
4
- import{e as l}from"./CLTGVNIT.js";import{e as c}from"./E45HF3Y4.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
3
+ v1.0.0-next.20250530 */
4
+ import{e as l}from"./5Y5ORVLB.js";import{e as c}from"./OTV4TIHA.js";async function h(a,e){let t;return await a.when(()=>{t=a.map.allLayers.toArray().reduce((n,r)=>((r.type==="feature"||r?.type==="subtype-group")&&(n[r.id]={name:r.title,supportsUpdate:void 0}),n),{})}),d(e,t,a)}async function b(a,e){let t;return await a.when(()=>{t=a.map.allTables.toArray().reduce((n,r)=>(n[r.id]={name:r.title,supportsUpdate:void 0},n),{})}),d(e,t,a)}async function d(a,e,t){if(a){let n={},r=Object.keys(e);for(let s=0;s<r.length;s++)try{let i=r[s],o=await u(t,i);await o.load(),await o.when(),n[i]={name:e[i].name,supportsUpdate:o.editingEnabled&&o.capabilities?.operations.supportsUpdate}}catch(i){console.log(i);continue}return n}else return e}async function g(a,e){let t=await u(a,e);return t?await a.whenLayerView(t):void 0}async function u(a,e){let t=[];return await a?.when(()=>{t=[...a.map.allLayers.toArray(),...a.map.allTables.toArray()].filter(n=>n.id===e)}),t.length>0?t[0]:void 0}async function I(a){let e=a.map.allLayers.filter(n=>n.type==="feature").toArray().map(n=>n),t=[];return await a.when(()=>{t=e.map(n=>a.whenLayerView(n))}),await Promise.allSettled(t),e}async function T(a){let e=a.map.allTables.toArray(),t=[];return await a.when(()=>{t=e.map(n=>n.load())}),await Promise.allSettled(t),e}async function O(a,e,t,n=!1,r=0){return n&&(await p(a,e,t,!1,void 0,r),await new Promise(s=>setTimeout(s,1e3))),e.highlight(a)}async function j(a){let e=y(a);return Object.keys(e).reduce((t,n)=>{let r=e[n];return t.push(r.layerView.highlight(r.ids)),t},[])}function y(a){return a.reduce((e,t)=>{let n=t.layerView,r=n?.layer.id;return r&&Object.keys(e).indexOf(r)>-1?e[r].ids=[...new Set([...t.selectedIds,...e[r].ids])]:r&&(e[r]={layerView:n,ids:t.selectedIds}),t.workflowType===l.REFINE&&Object.keys(t.refineInfos).forEach(s=>{let i=t.refineInfos[s];Object.keys(e).indexOf(s)>-1&&(e[s].ids=[...new Set([...i.addIds,...e[s].ids])],e[s].ids=e[s].ids.filter(o=>i.removeIds.indexOf(o)<0))}),e},{})}async function f(a,e,t){let n={objectIds:a};e.featureEffect={...t,filter:n},setTimeout(()=>{e.featureEffect=void 0},1300)}async function p(a,e,t,n=!0,r,s=0){let i=await c(a,e.layer),o={target:i.extent};i.count===1&&e.layer.geometryType==="point"&&s&&(o.scale=s),await t.goTo(o),n&&await f(a,e,r)}export{h as a,b,g as c,u as d,I as e,T as f,O as g,j as h,y as i,p as j};
@@ -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.20250529.1 */
4
- import{a as f,c as g,e as I}from"./64GGJXW2.js";import"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as w,b as c}from"./2M3XDJVT.js";import{a as u}from"./4KEBF4LC.js";import{D as m,I as L,c as p,d as r,o as h,q as d}from"./LVYTI5YO.js";import"./EUCKEPMP.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as f,c as g,e as I}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as w,b as c}from"./BJMWCYCG.js";import{a as u}from"./PNYGXVOF.js";import{D as m,I as L,c as p,d as r,o as h,q as d}from"./VUE2KPGT.js";import"./OY2EULMD.js";async function _(o,e){let{api:s=4,type:t="decimal",places:i=2}=e||{};if(s===4){let[a]=await c(["esri/intl"]),l=a.convertNumberFormatToIntlOptions({places:i,type:t,digitSeparator:!0});return a.formatNumber(o,l)}let[n]=await c(["dojo/number"]);return n.format(o,{type:t,places:i})}var x=p`@layer{/** @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.20250529.1 */
4
- import"./32U4CX5C.js";import{b as C}from"./P2ZWJVGZ.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import"./6QYC63ET.js";import{a as O}from"./VWNZ5PHO.js";import"./DE4JUMCH.js";import{c as S,d as F,j as b}from"./64GGJXW2.js";import"./CLTGVNIT.js";import{c as E}from"./E45HF3Y4.js";import{a as p,b as g}from"./Q5577CJV.js";import{b as T}from"./2M3XDJVT.js";import{a as x}from"./4KEBF4LC.js";import{D as I,E as _,I as v,c as m,d,g as o,o as c,q as w}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var $=m`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import"./7MSPLAAS.js";import{b as C}from"./4WQSWJOC.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import"./6WM4LAYI.js";import{a as O}from"./FIZQWFHG.js";import"./WJF7O2KL.js";import{c as S,d as F,j as b}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import{c as E}from"./OTV4TIHA.js";import{a as p,b as g}from"./IWEV46QA.js";import{b as T}from"./BJMWCYCG.js";import{a as x}from"./PNYGXVOF.js";import{D as I,E as _,I as v,c as m,d,g as o,o as c,q as w}from"./VUE2KPGT.js";import"./OY2EULMD.js";var $=m`@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.20250529.1 */
4
- import"./EUCKEPMP.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import"./OY2EULMD.js";var l=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.prompt.label`,scope:"/properties/prompt",type:"Control",options:{helperText:{labelKey:`${e}.fields.prompt.helperText`},messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.prompt.maxLengthError`}]}}]});export{l as buildUiSchema};
@@ -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.20250529.1 */
3
+ v1.0.0-next.20250530 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{b as p,v as m}from"./FBJW6XEX.js";import"./KHZT65GM.js";import"./EZZ43ZR6.js";import{e as g}from"./JUFXEC5B.js";import{c as o,t as c,u as d,y as l,z as h}from"./INGNQIJ3.js";import"./OVZZDA7E.js";import{a as v,c as r,e as f,h as w}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
3
+ v1.0.0-next.20250530 */
4
+ import{b as p,v as m}from"./GHOZRGNX.js";import"./USLNR5GM.js";import"./RUXEHYBS.js";import{e as g}from"./VQNKIJYJ.js";import{c as o,t as c,u as d,y as l,z as h}from"./SFZSSATF.js";import"./VI4S4LJS.js";import{a as v,c as r,e as f,h as w}from"./WJF7O2KL.js";import"./OY2EULMD.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
@@ -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.20250529.1 */
4
- import{a as O,c as R,d as g,e as u}from"./Y3VKMBT2.js";import{a}from"./UTTBCGBU.js";import"./TKOIJYF4.js";import"./EMX7A46W.js";import{c as s,e as o,f as c}from"./MKZNNMPC.js";import"./AQLKL2NA.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import{c as r}from"./GWPISXDC.js";import"./EUCKEPMP.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
3
+ v1.0.0-next.20250530 */
4
+ import{a as O,c as R,d as g,e as u}from"./LXA33IHT.js";import{a}from"./STR7L3II.js";import"./5S2LGZK4.js";import"./QWW5LVKF.js";import{c as s,e as o,f as c}from"./YWR7J3GR.js";import"./UU5CNOQW.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import"./Q2NP2O3M.js";import"./7ICYEZEV.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import{c as r}from"./NKOVTFUU.js";import"./OY2EULMD.js";var A={[r.channelRead]:s.READ,[r.channelWrite]:s.WRITE,[r.channelReadWrite]:s.READWRITE,[r.channelManage]:s.MANAGE,[r.channelModerate]:s.MODERATE,[r.channelOwner]:s.OWNER},C={[a.anonymous]:{category:o.ANONYMOUS_USER,subCategory:null},[a.authenticated]:{category:o.AUTHENTICATED_USER,subCategory:null},[a.group]:{category:o.GROUP,subCategory:c.MEMBER},[a.groupAdmin]:{category:o.GROUP,subCategory:c.ADMIN},[a.org]:{category:o.ORG,subCategory:c.MEMBER},[a.orgAdmin]:{category:o.ORG,subCategory:c.ADMIN},[a.owner]:{category:o.USER,subCategory:null},[a.user]:{category:o.USER,subCategory:null}};function i(n){function e(l,t){let E=C[t.collaborationType];return E?[...l,Object.assign(Object.assign({},E),{key:t.collaborationId||null,role:A[t.permission]})]:l}return{name:n.name,blockWords:n.blockWords,allowAsAnonymous:n.allowAsAnonymous,channelAclDefinition:n.permissions.reduce(e,[])}}async function f(n,e){let l=i(n),t=await O(Object.assign({data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function I(n,e){let l=i(n),t=await R(Object.assign({channelId:n.id,data:l},e.hubRequestOptions));return u(t,e.currentUser)}async function T(n,e){await g(Object.assign({channelId:n},e.hubRequestOptions))}export{f as createHubChannel,T as deleteHubChannel,I as updateHubChannel};
@@ -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.20250529.1 */
4
- import{a as h}from"./OK3FOLOF.js";import{a as Y}from"./A3TE2CYP.js";import{a as R}from"./EMX7A46W.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./VJBYZT6W.js";import{c as y,f as E,l as b,m as I}from"./WIVHCBPP.js";import"./5UMSFFPF.js";import"./MKZNNMPC.js";import"./STM2LDCR.js";import{a as M,c as U,e as C}from"./UA2S4SRX.js";import"./AQLKL2NA.js";import{a as N,d as F}from"./44KIKBNN.js";import{a as g}from"./LGXVU5RZ.js";import{d as j}from"./7YM72QZ3.js";import"./JNLPWAOW.js";import{a as p,b as A,c as L,e as u}from"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./CAIDATL7.js";import"./5FNUZG6X.js";import{h as $}from"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import{a as l}from"./4L3V2YYV.js";import{b as T}from"./NB2KN2PS.js";import"./EUCKEPMP.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
3
+ v1.0.0-next.20250530 */
4
+ import{a as h}from"./5LO4GJR2.js";import{a as Y}from"./JSUMCSCE.js";import{a as R}from"./QWW5LVKF.js";import{a as V,d as W,e as H,f as B,g as J,h as G}from"./HK4LMSCI.js";import{c as y,f as E,l as b,m as I}from"./T6ENDM5I.js";import"./JL5VELML.js";import"./YWR7J3GR.js";import"./YGOJWFRE.js";import{a as M,c as U,e as C}from"./Y6GOEXCP.js";import"./UU5CNOQW.js";import{a as N,d as F}from"./PLZQ55P6.js";import{a as g}from"./AOWCHDDD.js";import{d as j}from"./MSC6SQKC.js";import"./UF7C45QH.js";import{a as p,b as A,c as L,e as u}from"./Q2NP2O3M.js";import"./7ICYEZEV.js";import"./H3YXFKQG.js";import"./XANWM4XJ.js";import{h as $}from"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import{a as l}from"./X7YNYBQ7.js";import{b as T}from"./LZS774B3.js";import"./OY2EULMD.js";function X(e,t=!1){let{id:r,properties:i}=e,s=i?.slug;return s?M(t?C(s,r):s):r}var d;(function(e){e.BETWEEN="between",e.IS_EXACTLY="isExactly",e.LIKE="like"})(d||(d={}));var f;(function(e){e.visible="visible",e.hidden="hidden",e.featured="featured"})(f||(f={}));function z(e,t){var r;let i=e._slug;delete e._slug;let s=p(e);return s.orgUrlKey=e.orgUrlKey?e.orgUrlKey:t.urlKey,s.extent=(r=e.location)===null||r===void 0?void 0:r.extent,i?s.slug=U(i,s.orgUrlKey):s.slug="",s}var le=1,ue=e=>[{orgid:[e]},{type:{not:["Code Attachment"]}}],ye=e=>[{orgId:e}],de={item:ue,event:ye};function Q(e){if(l(e,"schemaVersion")===le)return e;{let t=p(e);return t=fe(t),t}}function fe(e){if(l(e,"schemaVersion")>1)return e;{let t={schemaVersion:1,title:"Default Catalog",scopes:{item:{targetEntity:"item",filters:[]},event:{targetEntity:"event",filters:[]}},collections:[]},r=l(e,"groups")||[],i=[];Array.isArray(r)&&r.length?i=r:typeof r=="string"&&(i=[r]),i.length&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>Object.assign(Object.assign({},n),{[o[0]]:Object.assign(Object.assign({},o[1]),{filters:[{predicates:[{group:i}]}]})}),{}));let s=l(e,"orgId");return s&&(t.scopes=Object.entries(t.scopes).reduce((n,o)=>{let a=o[0],c=o[1];return Object.assign(Object.assign({},n),{[a]:Object.assign(Object.assign({},c),{filters:[...c.filters,{operation:"AND",predicates:de[a](s)}]})})},{})),t}}function Z(e,t){let r=Object.assign(Object.assign({},t),e),i=Object.keys(t);return Object.keys(r).reduce((n,o)=>(i.includes(o)||n.push(o),n),[]).forEach(n=>{delete r[n]}),r}function q(e,t){let r;return t.authentication&&(r=t.authentication.token),{self:j(e.id,t),siteRelative:E(e.type,X(e),e.typeKeywords),siteRelativeEntityType:E(e.type),workspaceRelative:Y(e.type,e.id),thumbnail:y(e,t,r)}}var w="Hub Project",ee={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:1,status:T.notStarted,tags:[],typeKeywords:[w],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:N},te={item:{type:w,title:"",description:"",snippet:"",tags:[],typeKeywords:[w],properties:{slug:"",schemaVersion:1}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:T.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function re(e,t){return q(e,t)}function v(e,t,r){var i,s;let n;return r.authentication&&(n=r.authentication.token),t=H(e.item,t),t.thumbnailUrl=y(e.item,r,n),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(i=e.data.view)===null||i===void 0?void 0:i.featuredImageUrl}),t.catalog=Q(t.catalog||{}),t.features=Z(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.links=re(e.item,r),t}function _(){let e=W();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"location",storeKey:"item.properties.location"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function ie(e={displayType:"stat-card",metricId:void 0},t,r){let{value:i,valueType:s,dynamicMetric:n}=e,o=R(e,["value","valueType","dynamicMetric"]),{layerId:a,itemId:c,field:m,statistic:x,serviceUrl:oe,fieldType:ne,sourceLink:D,sourceTitle:O,allowExpressionSet:k,expressionSet:P,legacyWhere:S}=n||{},{entityInfo:ae,metricName:ce}=r||{},pe={source:e.type==="dynamic"?{type:"service-query",serviceUrl:oe,layerId:a,field:m,statistic:x,where:S||ge(k?P:[])}:{type:"static-value",value:i,valueType:s},name:ce||t,entityInfo:ae||{id:void 0,name:void 0,type:void 0},id:t};delete o.itemId;let me=Object.assign(Object.assign({},o),{displayType:o.displayType||"stat-card",visibility:o.visibility||f.hidden,metricId:t,fieldType:ne,itemId:c,expressionSet:P,allowExpressionSet:k,statistic:x,sourceLink:e.type==="dynamic"&&D?D:o.sourceLink,sourceTitle:e.type==="dynamic"&&O?O:o.sourceTitle,allowLink:e.type==="dynamic"?o.allowDynamicLink:o.allowLink,type:e.type});return{metric:pe,displayConfig:me}}function ge(e=[]){let t=e.map(r=>{let{field:i,values:s,relationship:n}=r,o=c=>c.replace&&c.replace(/(['])/g,"$1$1");if(!s||!s.length||!i||!i.name)return!1;let a;switch(i.type){case"esriFieldTypeString":a=n===d.LIKE?`${i.name} like '%${s[0]}%'`:`(${i.name} IN (${s.map(c=>`'${o(c)}'`).join(", ")}))`;break;case"esriFieldTypeDate":typeof s[0]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00'`),typeof s[1]=="string"&&(a=`${i.name} <= timestamp '${o(s[1])} 23:59:59'`),typeof s[0]=="string"&&typeof s[1]=="string"&&(a=`${i.name} >= timestamp '${o(s[0])} 00:00:00' AND ${i.name} <= timestamp '${o(s[1])} 23:59:59'`);break;default:u(s[0])||(a=`(${i.name}) >= ${s[0]}`),u(s[1])||(a=`(${i.name}) <= ${s[1]}`),!u(s[0])&&!u(s[1])&&(a=`(${i.name}) >= ${s[0]} AND (${i.name}) <= ${s[1]}`);break}return a}).filter(Boolean).join(" AND ")||"1=1";return encodeURIComponent(t)}function K(e,t){let r=e.filter(i=>!i.startsWith("status|"));return r.push(`status|${t}`),r}function se(e,t,r){let i=p(e),s=t.id,n=g(i,"metrics",[]),o=n.findIndex(m=>m.id===s),a=g(i,"view.metricDisplays",[]),c=a.findIndex(m=>m.metricId===s);return o>-1?n[o]=t:n.push(t),c>-1?a[c]=r:a.push(r),i.view.metricDisplays=a,i.metrics=n,i}async function Tt(e,t){let r=Object.assign(Object.assign({},ee),e);r.slug||(r.slug=V(r.name,r.orgUrlKey)),await h(r,t),r.typeKeywords=K(r.typeKeywords,r.status),r.typeKeywords=b(r.typeKeywords,r.isDiscussable);let i=new I(_()),s=i.entityToStore(r,p(te));s=await J(s,t);let n=i.storeToEntity(s,{});return n=v(s,n,t),n}function Et(e,t){var r;let i=e._metric;delete e._groups,delete e._thumbnail,(r=e.view)===null||r===void 0||delete r.featuredImage,delete e._metric,delete e._groups;let s=z(e,t);if(i&&Object.keys(i).length){let n=i.metricId||A(L(`${i.cardTitle}_`)),{metric:o,displayConfig:a}=ie(i,n,{metricName:i.cardTitle});s=se(s,o,a)}return s}async function ht(e,t){await h(e,t),e.typeKeywords=K(e.typeKeywords,e.status),e.typeKeywords=b(e.typeKeywords,e.isDiscussable);let r=await B(e.id,t),i=new I(_()),s=i.entityToStore(e,r),n=await G(s,t),o=i.storeToEntity(n,e);return o=v(r,o,t),o}async function bt(e,t){let r=Object.assign(Object.assign({},t),{id:e});await $(r)}export{Tt as createProject,bt as deleteProject,Et as editorToProject,ht as updateProject};
@@ -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.20250529.1 */
4
- import{e as c}from"./P2ZWJVGZ.js";import{b as l}from"./2M3XDJVT.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u as a};
3
+ v1.0.0-next.20250530 */
4
+ import{e as c}from"./4WQSWJOC.js";import{b as l}from"./BJMWCYCG.js";var u=class{async getPopupTitle(t,p){this.arcade||await this._initModules();let r={};for(let[e,o]of Object.entries(t.attributes))r={...r,[`{${e.toUpperCase()}}`]:o};let a=t.layer,n=this._removeTags(a?.popupTemplate?.title);if(n.includes("{expression/expr")&&a?.popupTemplate?.expressionInfos!=null)for(let e=0;e<a.popupTemplate?.expressionInfos.length;e++){let o=a.popupTemplate.expressionInfos[e],i=this.arcade.createArcadeProfile("popup");try{let s=await(await this.arcade.createArcadeExecutor(o.expression,i)).executeAsync({$feature:t,$layer:a,$map:p});(s!=null||s!=="")&&(r[`{expression/${o.name}}`.toUpperCase()]=s)}catch(s){console.error(s);continue}}return a.popupTemplate?.fieldInfos&&a.fields.forEach(e=>{let o=t.attributes[e.name],i=(a?.popupTemplate?.fieldInfos||[]).find(f=>f.fieldName.toLowerCase()===e.name.toLowerCase()),s=c(o,e.type,e?.domain,i?.format,this.intl);r[`{${e.name.toUpperCase()}}`]=s??o}),n?.replace(/{.*?}/g,e=>r[e.toUpperCase()]!=null?r[e.toUpperCase()]:"")}_removeTags(t){return t==null||t===""?"":t.toString().replace(/(<([^>]+)>)/gi,"")}async _initModules(){let[t,p]=await l(["esri/arcade","esri/intl"]);this.arcade=t,this.intl=p}};export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{a}from"./XIXMB2G5.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import"./WIJOUEJP.js";import"./V5KXBFEN.js";import{a as s,b as r}from"./WJHLFCHB.js";import"./CAIDATL7.js";import"./5FNUZG6X.js";import{a as o}from"./JAHBNPDG.js";import{a as i}from"./3DGCRE6C.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import"./4L3V2YYV.js";import"./XWZRUTOX.js";import"./RZS7265A.js";import"./5OFRMSV6.js";import"./GWPISXDC.js";import"./DRS4Z435.js";import"./6SEI3MD4.js";import"./SAYEB7BP.js";import"./SJSKBJDQ.js";import"./RNNWBWHE.js";import"./ATXF6EM5.js";import"./UZ2HGN74.js";import"./3OJVS3LV.js";import"./TWKAESRO.js";import"./3TNNRRLR.js";import"./ATBQXDJR.js";import"./EGBONIMT.js";import"./XEKWJEF6.js";import"./4YOYUXOM.js";import"./AO367CCB.js";import"./422X4AIN.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a}from"./HBZ4X7UP.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import"./Q2NP2O3M.js";import"./7ICYEZEV.js";import{a as s,b as r}from"./GNLCPEV7.js";import"./H3YXFKQG.js";import"./XANWM4XJ.js";import{a as o}from"./WVOYVMPB.js";import{a as i}from"./C5O32W6W.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import"./JHW7VZTV.js";import"./W3LLXNL3.js";import"./H6V2DNZK.js";import"./NKOVTFUU.js";import"./3CHLZWTV.js";import"./UMQ6LGJX.js";import"./RUZUM5JL.js";import"./G6J2G3OU.js";import"./6EHPMLHH.js";import"./5HIKUFVB.js";import"./2WTCHQJH.js";import"./ZKOIDQFC.js";import"./YDQ3OJQO.js";import"./MJ7SNROO.js";import"./O7VNTXYR.js";import"./5ZNOFKZT.js";import"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";var c=async(e,t,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basic.title`,options:{helperText:{labelKey:`${e}.sections.basic.helperText`}},elements:[{labelKey:`${e}.fields.title.label`,scope:"/properties/name",type:"Control",options:{helperText:{labelKey:`${e}.fields.title.hint`},messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.title.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.title.maxLengthError"}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,t.thumbnail,t.thumbnailUrl,"content",l.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await i(t.tags,l.portal.id,l.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,l)]},{labelKey:`${e}.fields.license.label`,scope:"/properties/licenseInfo",type:"Control",options:{control:"arcgis-hub-license-picker"}}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await s(t.location,l.hubRequestOptions),options:await r(t.id,t.type,t.location,l.portal.name,l.hubRequestOptions),noticeTitleElementAriaLevel:3}}]}]});export{c as buildUiSchema};
@@ -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.20250529.1 */
4
- import{c as t}from"./NB2KN2PS.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./QUYSAWNZ.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
3
+ v1.0.0-next.20250530 */
4
+ import{c as t}from"./LZS774B3.js";import{a,c as i,d as e,e as o,f as n,g as s,h as E,i as p,j as c,k as r,l as T,n as _}from"./FJZZPZAP.js";var m={$async:!0,type:"object",required:["name"],properties:{name:a,summary:i,description:{type:"string"},access:e,location:p,tags:o,categories:n,isDiscussable:s,_thumbnail:r,_followers:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"]}),showFollowAction:{type:"boolean",default:!0},isDiscussable:s}},_associations:{type:"object",properties:{groupAccess:Object.assign(Object.assign({},e),{enum:["private","org","public"],default:"private"}),membershipAccess:{type:"string",enum:["organization","collaborators","anyone"],default:"organization"}}},view:{type:"object",properties:{embeds:{type:"array"},featuredContentIds:E,featuredImage:r,featuredImageAltText:{type:"string"},featuredImageName:{type:"string"},mapSettings:c,timeline:T,hero:{type:"string",default:t.map,enum:Object.keys(t)},heroActions:{type:"array"}}},_slug:_}};export{m as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{a as S}from"./OK3FOLOF.js";import{a as d}from"./TKOIJYF4.js";import{a as j,d as U,e as x,f as L,g as C,h as N}from"./VJBYZT6W.js";import{c as v,d as _,l as f,m as y}from"./WIVHCBPP.js";import"./5UMSFFPF.js";import{g as M}from"./MKZNNMPC.js";import"./STM2LDCR.js";import"./UA2S4SRX.js";import"./AQLKL2NA.js";import"./7YM72QZ3.js";import"./JNLPWAOW.js";import{a as O}from"./WIJOUEJP.js";import"./V5KXBFEN.js";import"./5FNUZG6X.js";import{h as I}from"./RSHSVMPO.js";import"./TS32X4ID.js";import"./NZ6MHZKX.js";import"./4L3V2YYV.js";import"./EUCKEPMP.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
3
+ v1.0.0-next.20250530 */
4
+ import{a as S}from"./5LO4GJR2.js";import{a as d}from"./5S2LGZK4.js";import{a as j,d as U,e as x,f as L,g as C,h as N}from"./HK4LMSCI.js";import{c as v,d as _,l as f,m as y}from"./T6ENDM5I.js";import"./JL5VELML.js";import{g as M}from"./YWR7J3GR.js";import"./YGOJWFRE.js";import"./Y6GOEXCP.js";import"./UU5CNOQW.js";import"./MSC6SQKC.js";import"./UF7C45QH.js";import{a as O}from"./Q2NP2O3M.js";import"./7ICYEZEV.js";import"./XANWM4XJ.js";import{h as I}from"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./ZKKTR3BI.js";import"./X7YNYBQ7.js";import"./OY2EULMD.js";var $="Discussion",P={name:"",tags:[],typeKeywords:["Hub Discussion"],permissions:[],catalogs:[],schemaVersion:1,isDiscussable:!0},K={item:{type:$,title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Discussion"],properties:{slug:"",schemaVersion:1}},data:{catalogs:[],prompt:""}};function h(t){return t.httpMethod="POST",d("/settings",t)}function A(t){return t.httpMethod="PATCH",d(`/settings/${t.id}`,t)}function V(t){return t.httpMethod="DELETE",d(`/settings/${t.id}`,t)}var F={discussions:{allowedChannelIds:null,allowedLocations:null}},w={discussion:{type:M.CONTENT,settings:Object.assign({},F)},site:null,project:null,initiative:null,initiativeTemplate:null,page:null,content:null,organization:null,org:null,group:null,template:null,survey:null,event:null,user:null,channel:null};function T(t){if(!w[t])throw new Error(`no default entity settings defined for ${t}`);return{type:w[t].type,settings:Object.assign({},w[t].settings)}}function E(){let t=U();return t.push({entityKey:"prompt",storeKey:"data.prompt"}),t.push({entityKey:"location",storeKey:"item.properties.location"}),t}function b(t,e,i){let o;return i.authentication&&(o=i.authentication.token),e=x(t.item,e),e.thumbnailUrl=v(t.item,i,o),e}async function dt(t,e){var i,o;let s=Object.assign(Object.assign({},P),t);s.slug||(s.slug=j(s.name,s.orgUrlKey)),await S(s,e),s.typeKeywords=f(s.typeKeywords,s.isDiscussable);let c=new y(E()),r=c.entityToStore(s,O(K));r=await C(r,e);let u=T("discussion"),a=Object.assign(Object.assign({},u.settings),{discussions:Object.assign(Object.assign({},u.settings.discussions),s.discussionSettings)});!((i=a.discussions.allowedChannelIds)===null||i===void 0)&&i.length||(a.discussions.allowedChannelIds=null),!((o=a.discussions.allowedLocations)===null||o===void 0)&&o.length||(a.discussions.allowedLocations=null),r.entitySettings=await h(Object.assign({data:{id:r.item.id,type:u.type,settings:a}},e));let n=c.storeToEntity(r,{});return n=b(r,n,e),n}async function gt(t,e){var i,o,s;await S(t,e),t.typeKeywords=f(t.typeKeywords,t.isDiscussable);let c=await L(t.id,e),r=new y(E()),u=r.entityToStore(t,c),a=await N(u,e),n=r.storeToEntity(a,t);n=b(c,n,e);let g;try{g=((i=n.location.geometries)===null||i===void 0?void 0:i.map(m=>_(m)))||null}catch(m){g=null,console.warn("Esri JSON conversion failed",m)}let p=T("discussion"),l=Object.assign(Object.assign({},p.settings),{discussions:Object.assign(Object.assign(Object.assign({},p.settings.discussions),n.discussionSettings),{allowedLocations:g})});!((o=l.discussions.allowedChannelIds)===null||o===void 0)&&o.length||(l.discussions.allowedChannelIds=null),!((s=l.discussions.allowedLocations)===null||s===void 0)&&s.length||(l.discussions.allowedLocations=null);let D=n.entitySettingsId?await A(Object.assign({id:n.entitySettingsId,data:{settings:l}},e)):await h(Object.assign({data:{id:n.id,type:p.type,settings:l}},e));return n.entitySettingsId=D.id,n.discussionSettings=D.settings.discussions,n}async function pt(t,e){let i=Object.assign(Object.assign({},e),{id:t});try{await V(Object.assign({id:t},e))}catch{}await I(i)}export{dt as createDiscussion,pt as deleteDiscussion,gt as updateDiscussion};
@@ -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.20250529.1 */
4
- import{d as I}from"./JUFXEC5B.js";import{C as x,b as g,c as w,z as v}from"./INGNQIJ3.js";import{a as V}from"./IJJ6XUUA.js";import"./OVZZDA7E.js";import{a as L,c,d as E,e as S,f as P}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
3
+ v1.0.0-next.20250530 */
4
+ import{d as I}from"./VQNKIJYJ.js";import{C as x,b as g,c as w,z as v}from"./SFZSSATF.js";import{a as V}from"./NPELRLAT.js";import"./VI4S4LJS.js";import{a as L,c,d as E,e as S,f as P}from"./WJF7O2KL.js";import"./OY2EULMD.js";var D=":host{display:block;--instant-apps-scoreboard-background-color:var(--calcite-color-foreground-1);--instant-apps-scoreboard-text-color:var(--calcite-color-text-1);--instant-apps-scoreboard-mobile-position-bottom:0;background-color:var(--instant-apps-scoreboard-background-color);color:var(--instant-apps-scoreboard-text-color)}:host .instant-apps-scoreboard{box-sizing:border-box;border:1px solid var(--calcite-color-border-1);box-shadow:0px 3px 15px rgba(0, 0, 0, 0.2);border-radius:3px}:host .instant-apps-scoreboard calcite-loader{--calcite-loader-padding:1rem}:host .instant-apps-scoreboard__items-container{display:flex}:host .instant-apps-scoreboard__items-container calcite-action{height:100%}:host .instant-apps-scoreboard__items,:host .instant-apps-scoreboard__item{box-sizing:border-box;display:flex}:host .instant-apps-scoreboard__items{list-style-type:none;padding-left:0;margin:0;padding-top:1.75%;padding-bottom:1.75%;width:100%}:host .instant-apps-scoreboard__item{flex-direction:column;justify-content:flex-end;align-items:center;padding:1%}:host .instant-apps-scoreboard__item-label{box-sizing:border-box;line-height:24px;-webkit-box-orient:vertical;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;word-break:break-word}:host .instant-apps-scoreboard__item-label{font-size:1rem;font-weight:400;text-align:center}:host .instant-apps-scoreboard__item-value{display:flex;justify-content:center;align-items:center;min-width:32px;min-height:32px;margin-top:5px;font-size:1.5rem;font-weight:900}:host .instant-apps-scoreboard__item-value-placeholder{display:inline-block;width:32px;height:32px;background-color:var(--calcite-color-foreground-3);border-radius:4px}:host(.instant-apps-scoreboard__position--bottom){bottom:0}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__items{display:flex;justify-content:center}:host(.instant-apps-scoreboard__position--bottom) .instant-apps-scoreboard__item{min-width:10vw;vertical-align:top}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating){left:50%;max-width:calc(100% - 30px);transform:translate(-50%, -15px)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:25vw}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){left:unset;bottom:0;transform:unset;width:100%}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{min-width:unset}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{width:100%;justify-content:space-between}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard{display:flex;justify-content:center;align-items:center;width:10vw;overflow-y:auto}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container{flex-direction:column;height:100%;box-sizing:border-box}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items-container calcite-action{height:unset;width:100%}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__items{flex-direction:column;padding:10px}:host(.instant-apps-scoreboard__position--side) .instant-apps-scoreboard__item{padding-top:0.5vh;padding-bottom:0.5vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating){top:15px;left:15px;max-height:calc(100% - 30px)}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--floating) .instant-apps-scoreboard{min-width:10vw;min-height:35vh}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned){top:unset;left:unset;transform:unset;height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard{height:100%}:host(.instant-apps-scoreboard__position--side.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__items-container{justify-content:space-between}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--floating){left:15px}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--floating){left:unset;right:15px}:host(.instant-apps-scoreboard__position--left.instant-apps-scoreboard__mode--pinned){left:0}:host(.instant-apps-scoreboard__position--right.instant-apps-scoreboard__mode--pinned){left:unset;right:0}@media only screen and (min-width: 992px){:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned){bottom:var(--instant-apps-scoreboard-mobile-position-bottom)}:host(.instant-apps-scoreboard__position--bottom.instant-apps-scoreboard__mode--pinned) .instant-apps-scoreboard__item{justify-content:center;min-width:unset;flex-grow:1}}",$=D,u="instant-apps-scoreboard",U=6,C=`${u}--`,p=`${u}__`,F=V.medium[1],m={BASE:u,itemsContainer:`${p}items-container`,items:`${p}items`,item:`${p}item`,label:`${p}item-label`,value:`${p}item-value`,valuePlaceholder:`${p}item-value-placeholder`,position:{bottom:`${p}position--bottom`,side:`${p}position--side`,left:`${p}position--left`,right:`${p}position--right`},mode:{floating:`${p}mode--floating`,pinned:`${p}mode--pinned`}},A=class{constructor(t){L(this,t),this.scoreboardItemsUpdated=P(this,"scoreboardItemsUpdated",7),this.view=void 0,this.items=void 0,this.position="bottom",this.mode="floating",this.itemLimit=6,this.autoDockEnabled=!0,this.geometry=null,this.queryType="layerView",this.state="loading",this.messages=void 0,this.itemIndex=0,this.layers=void 0,this.layerViews=void 0,this.isMobile=!1}scoreboardItemsUpdatedHandler(){this.scoreboardItemsUpdated.emit(this.items)}generateUIDs(){this.itemIndex=0,this.items.forEach(this.generateUID())}async storeLayers(){this.state="calculating",await(this.view?.map).loadAll();let t=this.items.map(e=>e?.layer?.id),s=e=>e.type!=="feature"||!e.isTable,o=e=>e.type==="feature"||e.type==="scene",i=e=>t.includes(e.id),a=e=>s(e)&&o(e)&&i(e);this.layers=this.view?.map?.allLayers?.filter(e=>a(e)),this.watchLayerVisibility()}async storeLayerViews(){if(this.layers&&this.layers.length>0){this.layers.forEach(e=>e.outFields=["*"]);let t=[];this.layers.forEach(e=>{let n=e,r=this.view?.whenLayerView(n);t.push(r)});let i=(await Promise.allSettled(t)).filter(e=>e.status==="fulfilled"&&e.value).map(e=>e.value),a=[];i.forEach(e=>a.push(this.reactiveUtils?.whenOnce(()=>!e.updating))),await Promise.all(a),this.layerViews=await g([...i])}}calculateScoreboardItemValuesFromGeometry(){this.calculateScoreboardItemValues()}async calculateScoreboardItemValues(){if(this.layers&&this.layers.length===0||this.layerViews&&this.layerViews.length===0)return;this.state="calculating";let t=[...this.items],s=[];this.queryStatDefinitions(t,s);let o=await Promise.all(s);this.handleQueryFeaturesResponses(o,t),this.items.length=0,t.forEach(i=>this.items.push(i)),this.state="complete",this.scoreboardItemsUpdatedHandler(),this.initStationaryWatcher()}async componentWillLoad(){let t=new ResizeObserver(()=>{this.itemIndex=0,this.autoDockEnabled&&(this.isMobile=!!this.checkMobile)});this.el?.parentElement&&t.observe(this.el.parentElement);try{this.state="loading",await this.initMessages()}catch{return this.state="disabled",Promise.reject(new Error("Failed to load messages"))}finally{if(!this.view||!this.items)this.state="disabled";else try{await this.initModules()}catch{this.state="disabled"}}}async componentDidLoad(){if(this.state!=="disabled")try{await this.reactiveUtils?.whenOnce(()=>this.view?.ready),this.generateUIDs(),await this.loadMapResources(),this.storeLayers(),this.initViewUpdateWatcher()}catch{this.state="disabled",console.error(`${u}: FAILED TO LOAD MAP RESOURCES`)}}disconnectedCallback(){this.state="disabled",this.itemIndex=0,this.layers?.removeAll(),this.layers?.destroy(),this.layers=null,this.layerViews?.removeAll(),this.layerViews?.destroy(),this.layerViews=null,this.handles?.removeAll(),this.handles?.destroy(),this.handles=null}async initMessages(){let t;try{return t=(await I(this.el))[0],this.messages={...this.messages,...t},Promise.resolve()}catch{console.error("FAILED TO LOAD MESSAGES")}}async initModules(){try{let[t,s]=await Promise.all([v(),x()]);return this.reactiveUtils=t,this.intl=s,this.handles=await w(),this.layers=await g([]),this.layerViews=await g([]),Promise.resolve()}catch(t){throw console.error(t),this.state="disabled",new Error("Failed to initialize modules")}}async loadMapResources(){if(this.view){let{map:t}=this.view,s=t;try{return await s.loadAll(),Promise.resolve()}catch(o){throw console.error(o),this.state="disabled",new Error("Failed to load map resources")}}}generateUID(){return t=>{let s=Math.random(),o=Math.floor(Math.random()*10)+11,a=s.toString(o).replace("0.","");t.uid=a}}render(){let{state:t}=this,s=t==="loading",o=t==="calculating",i=t==="disabled",a=s||o||this.queryType==="layerView"&&this.view?.updating?this.renderProgress():null,e=this.getPositionClass,n=this.getStyleClass;return c(E,{key:"2ec5b4e44c244ee935453d96887e07633f2abf37",class:`${e} ${n}`},i?null:[a,this.items?.length>0?this.renderBase():null])}renderBase(){return c("div",{key:"instant-apps-scoreboard-base",class:u},this.renderContent())}renderContent(){let{state:t}=this;return t==="loading"?this.renderLoader():t==="calculating"||t==="complete"?this.renderItemsContainer():null}renderItemsContainer(){let[t,s]=this.renderPreviousNextButtons();return c("div",{class:m.itemsContainer},t,this.renderItems(),s)}renderPreviousNextButtons(){let t=this.getItemLimit(),s=this.items.filter(k=>k.visible)?.length<=t,o=this.itemIndex===0,i=this.isEnd,a=this.isMobile?!0:this.position==="bottom",e=a?"start":"center",l={previous:a?"chevron-left":"chevron-up",next:a?"chevron-right":"chevron-down"},d=o||s?"blank":l.previous,h=i||s?"blank":l.next,b={previous:o||s,next:i||s},_="transparent",f=this.isMobile?"s":"l",y={previous:this.messages?.previous,next:this.messages?.next};return[c("calcite-action",{onClick:this.previousItem.bind(this),icon:d,disabled:b.previous,alignment:e,scale:f,appearance:_,text:y.previous??"",label:y.previous}),c("calcite-action",{onClick:this.nextItem.bind(this),icon:h,disabled:b.next,alignment:e,scale:f,appearance:_,text:y.next??"",label:y.next})]}renderItems(){let{items:t}=m,o=this.getItemsToDisplay.map(i=>this.renderItem(i));return c("ul",{class:t},o)}renderItem(t){let{label:s}=t;return c("li",{class:m.item},c("span",{class:m.label,title:s},s),this.renderValue(t))}renderValue(t){let{displayValue:s}=t,o=this.state==="calculating",i=this.state==="disabled",a=s===void 0&&o,e=s||this.messages?.NA,r=!this.layers?.find(d=>t?.layer?.id===d.id)?.visible,l=a?this.renderValuePlaceholder():i?"":r?c("calcite-icon",{icon:"view-hide",scale:"l",title:this.messages?.layerVisibilityOff}):e;return c("span",{class:m.value},l)}renderValuePlaceholder(){return c("span",{class:m.valuePlaceholder})}renderProgress(){let t=`${C}calcite-`;return c("calcite-progress",{key:`${t}progress`,type:"indeterminate"})}renderLoader(){let t=`${C}calcite-`,s=this.messages?.loading;return c("calcite-loader",{key:`${t}loader`,label:s??"",text:s,scale:"m"})}get getPositionClass(){let{bottom:t,left:s,right:o,side:i}=m.position,a=`${this.position==="left"?s:o} ${i}`;return this.isMobile||this.position==="bottom"?t:a}get getStyleClass(){let{floating:t,pinned:s}=m.mode;return this.isMobile?s:this.mode==="floating"?t:s}get checkMobile(){let t=this.el?.parentElement?.offsetWidth;return t&&!Number.isNaN(t)&&t>0?t<F:!1}get getItemsToDisplay(){let t=this.getItemLimit();return this.items.filter(s=>s.visible).slice(this.itemIndex,t+this.itemIndex)}get isEnd(){let t=this.getItemLimit(),o=this.items.slice(this.items.length-t).map(a=>a.uid),i=this.items.slice(this.itemIndex,this.itemIndex+t).map(a=>a.uid);return o.every((a,e)=>a===i[e])}previousItem(){this.itemIndex=this.itemIndex-1}nextItem(){this.itemIndex=this.itemIndex+1}queryStatDefinitions(t,s){let o=e=>{let{field:n,operation:r}=e,l=n,d=`${n}_${r}`;return{onStatisticField:l,outStatisticFieldName:d,statisticType:r}},i=(e,n)=>{let r=this.queryType==="layer"?e.layer.createQuery():e.createQuery(),l=[n],d=this.geometry?this.geometry:this.view?.extent;r.outStatistics=l,r.geometry=d;let h=e?.filter?.timeExtent??e?.featureEffect?.filter?.timeExtent??null;return h&&(r.timeExtent=h),r},a=()=>async e=>{let n=this.layerViews?.find(h=>h.layer.id===e?.layer?.id);if(!n)return;let r=o(e),l=i(n,r),d=this.queryType==="layer"?n.layer.queryFeatures(l):n.queryFeatures(l);s.push(d)};t.forEach(a())}handleQueryFeaturesResponses(t,s){let o=e=>{let r=e.features[0],{attributes:l}=r;return Object.values(l)[0]},i=()=>({notation:"compact",compactDisplay:"short"}),a=()=>(e,n)=>{let r=o(e),l=i(),d=r!==null,h=d?this.intl.formatNumber(r,l):null,b=d?`${h}`:"";s[n].displayValue=b,s[n].value=r};t.forEach(a())}initStationaryWatcher(){let t={once:!0,initial:!0},s=()=>this.reactiveUtils?.when(()=>!this.view?.interacting,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},t),o=()=>this.reactiveUtils?.when(()=>this.view?.stationary,()=>s()),i="stationary-watcher-key";this.handles?.has(i)&&this.handles.remove(i),this.handles?.add(o(),i)}initViewUpdateWatcher(){return this.reactiveUtils.watch(()=>this.view?.updating,()=>{this.reactiveUtils.when(()=>!this.view?.updating,()=>{this.queryType==="layerView"&&this.calculateScoreboardItemValues()},{once:!0,initial:!0})},{initial:!0})}watchLayerVisibility(){if(!this.layers)return;let t="visbilityWatcherKey";this.handles?.remove(t);let s=[],o=i=>{let a=async()=>{let n=await this.view?.whenLayerView(i);await this.reactiveUtils.whenOnce(()=>!n?.updating),this.calculateScoreboardItemValues()},e=this.reactiveUtils.watch(()=>i?.visible,async()=>await a());s.push(e)};this.layers.forEach(o),this.handles?.add([...s],t)}getItemLimit(){return this.itemLimit<2||this.itemLimit>6?U:this.itemLimit}get el(){return S(this)}static get watchers(){return{items:["generateUIDs","storeLayers"],layers:["storeLayerViews"],geometry:["calculateScoreboardItemValuesFromGeometry"],layerViews:["calculateScoreboardItemValues"]}}};A.style=$;export{A as instant_apps_scoreboard};
@@ -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.20250529.1 */
4
- import{g as u,h as g}from"./DE4JUMCH.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{c=new Map(Object.entries(h(e)??{})),i.reset.forEach(t=>t())},E=()=>{i.dispose.forEach(t=>t()),l()},p=t=>(i.get.forEach(n=>n(t)),c.get(t)),a=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return p(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return a(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:p,set:a,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S as a};
3
+ v1.0.0-next.20250530 */
4
+ import{g as u,h as g}from"./WJF7O2KL.js";var M=(e,o,s)=>{let c=e.get(o);c?c.includes(s)||c.push(s):e.set(o,[s])},O=(e,o)=>{let s;return(...c)=>{s&&clearTimeout(s),s=setTimeout(()=>{s=0,e(...c)},o)}},_=e=>!("isConnected"in e)||e.isConnected,w=O(e=>{for(let o of e.keys())e.set(o,e.get(o).filter(_))},2e3),T=()=>{if(typeof u!="function")return{};let e=new Map;return{dispose:()=>e.clear(),get:o=>{let s=u();s&&M(e,o,s)},set:o=>{let s=e.get(o);s&&e.set(o,s.filter(g)),w(e)},reset:()=>{e.forEach(o=>o.forEach(g)),w(e)}}},h=e=>typeof e=="function"?e():e,U=(e,o=(s,c)=>s!==c)=>{let s=h(e),c=new Map(Object.entries(s??{})),i={dispose:[],get:[],set:[],reset:[]},l=()=>{c=new Map(Object.entries(h(e)??{})),i.reset.forEach(t=>t())},E=()=>{i.dispose.forEach(t=>t()),l()},p=t=>(i.get.forEach(n=>n(t)),c.get(t)),a=(t,n)=>{let r=c.get(t);o(n,r,t)&&(c.set(t,n),i.set.forEach(f=>f(t,n,r)))},y=typeof Proxy>"u"?{}:new Proxy(s,{get(t,n){return p(n)},ownKeys(t){return Array.from(c.keys())},getOwnPropertyDescriptor(){return{enumerable:!0,configurable:!0}},has(t,n){return c.has(n)},set(t,n,r){return a(n,r),!0}}),d=(t,n)=>(i[t].push(n),()=>{P(i[t],n)});return{state:y,get:p,set:a,on:d,onChange:(t,n)=>{let r=d("set",(x,C)=>{x===t&&n(C)}),f=d("reset",()=>n(h(e)[t]));return()=>{r(),f()}},use:(...t)=>{let n=t.reduce((r,f)=>(f.set&&r.push(d("set",f.set)),f.get&&r.push(d("get",f.get)),f.reset&&r.push(d("reset",f.reset)),f.dispose&&r.push(d("dispose",f.dispose)),r),[]);return()=>n.forEach(r=>r())},dispose:E,reset:l,forceUpdate:t=>{let n=c.get(t);i.set.forEach(r=>r(t,n,n))}}},P=(e,o)=>{let s=e.indexOf(o);s>=0&&(e[s]=e[e.length-1],e.length--)},S=(e,o)=>{let s=U(e,o);return s.use(T()),s};export{S as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{a as e}from"./ITFUMWIC.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as b};
3
+ v1.0.0-next.20250530 */
4
+ import{a as e}from"./RM2TEOMI.js";var n=["hub:content:edit","hub:content:settings","hub:content:discussions"],s=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{licenseInfo:{type:"string"},serverExtractCapability:{type:"boolean",enum:[!0,!1]},schedule:{type:"object"},_forceUpdate:{type:"array",items:{type:"boolean",enum:[!0]}},downloadFormats:{type:"array",items:{type:"object"}}})});export{n as a,s as 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.20250529.1 */
4
- import{a as I}from"./VWNZ5PHO.js";import"./DE4JUMCH.js";import{d as C}from"./64GGJXW2.js";import{a as s}from"./CLTGVNIT.js";import"./E45HF3Y4.js";import{a as h,b as r}from"./Q5577CJV.js";import{a as x}from"./4KEBF4LC.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var F=g`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as I}from"./FIZQWFHG.js";import"./WJF7O2KL.js";import{d as C}from"./QKSO2DZS.js";import{a as s}from"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as h,b as r}from"./IWEV46QA.js";import{a as x}from"./PNYGXVOF.js";import{D as $,E as m,F as v,I as L,c as g,d as l,g as w,o as b,q as y}from"./VUE2KPGT.js";import"./OY2EULMD.js";var F=g`@layer{/** @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.20250529.1 */
4
- import{a as r}from"./4KEBF4LC.js";import{D as n,I as o,c as l,d as a,o as i}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var c=l`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as r}from"./PNYGXVOF.js";import{D as n,I as o,c as l,d as a,o as i}from"./VUE2KPGT.js";import"./OY2EULMD.js";var c=l`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250530 */
4
+ import{a,b}from"./YUXVO62S.js";import"./UVD3URNY.js";import"./A7QSMG5S.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as InitiativeEditorTypes,b as InitiativeSchema};
@@ -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.20250529.1 */
4
- import{k as s,v as p}from"./FBJW6XEX.js";import"./KHZT65GM.js";import"./EZZ43ZR6.js";import"./INGNQIJ3.js";import{a as d,c as e,e as r,f as c}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var o=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0;overflow-x:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",g=o,n={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},v=class{constructor(t){d(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=c(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let t=s(this.activeLayerInfo),{expanded:a}=this,i=a?this.messages?.collapse:this.messages?.expand,l=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return e("header",{key:"54b3774af9d12ff52ca01429e1edc5aa987481dd",class:`${n.interacitveLegendHeader} ${p(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},e("span",{key:"ec9dfadf2376efd474b0333cb6f7d5ddb47c19c8"},e("span",{key:"1ea320fc3b7cd497c5d388d4c7fe7382289a8420",class:n.headerActionContainer},e("calcite-action",{key:"9bd10275be0564e1ec044df25944f4b2b559fe1e",onClick:this.toggleExpanded(),icon:a?"chevron-down":"chevron-up",appearance:"transparent",text:i,label:i,scale:"s"}),e("h3",{key:"3cdfbad64a12e8b968ca8c225b457793721cf59e",class:`${n.header} ${n.label}${l}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&t?e("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return r(this)}};v.style=g;export{v as instant_apps_interactive_legend_group_legend_element_caption};
3
+ v1.0.0-next.20250530 */
4
+ import{k as s,v as p}from"./GHOZRGNX.js";import"./USLNR5GM.js";import"./RUXEHYBS.js";import"./SFZSSATF.js";import{a as d,c as e,e as r,f as c}from"./WJF7O2KL.js";import"./OY2EULMD.js";var o=".sc-instant-apps-interactive-legend-group-legend-element-caption-h{display:block;--instant-apps-interactive-legend-heading-font-size:1rem;--instant-apps-interactive-legend-heading-font-weight:normal;--instant-apps-interactive-legend-secondary-color:var(--calcite-color-text-1);--instant-apps-interactive-legend-ui-padding:15px 10px}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{overflow:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0;overflow-x:hidden}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{display:inline-block;font-size:var(--instant-apps-interactive-legend-heading-font-size)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption{font-weight:var(--instant-apps-interactive-legend-heading-font-weight)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;text-align:left;padding:var(--instant-apps-interactive-legend-ui-padding);background-color:var(--instant-apps-interactive-legend-secondary-background-color);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption h3.sc-instant-apps-interactive-legend-group-legend-element-caption{margin-bottom:0;overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;line-clamp:2;-webkit-box-orient:vertical;line-height:normal;color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__heading-text--group-item.sc-instant-apps-interactive-legend-group-legend-element-caption{-webkit-line-clamp:2;line-clamp:2}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption span.sc-instant-apps-interactive-legend-group-legend-element-caption{width:100%;font-size:var(--instant-apps-interactive-legend-total-feature-count-font-size);color:var(--instant-apps-interactive-legend-secondary-color)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h header.sc-instant-apps-interactive-legend-group-legend-element-caption .instant-apps-interactive-legend__header-action-container.sc-instant-apps-interactive-legend-group-legend-element-caption{display:flex;align-items:center}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget__heading.sc-instant-apps-interactive-legend-group-legend-element-caption header.sc-instant-apps-interactive-legend-group-legend-element-caption{padding:var(--instant-apps-interactive-legend-ui-padding)}.sc-instant-apps-interactive-legend-group-legend-element-caption-h .esri-widget--panel.sc-instant-apps-interactive-legend-group-legend-element-caption{margin:0}.calcite-mode-dark.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#242424;color:var(--calcite-color-text-1)}.calcite-mode-light.sc-instant-apps-interactive-legend-group-legend-element-caption-h .instant-apps-interactive-legend__header.sc-instant-apps-interactive-legend-group-legend-element-caption{background-color:#ffffff;color:var(--calcite-color-text-1)}",g=o,n={label:"esri-legend__service-label",header:"esri-widget__heading",interacitveLegendHeader:"instant-apps-interactive-legend__header",headerActionContainer:"instant-apps-interactive-legend__header-action-container"},v=class{constructor(t){d(this,t),this.groupLayerCaptionElementExpandUpdatedEvent=c(this,"groupLayerCaptionElementExpandUpdated",7),this.legendvm=void 0,this.featureCount=void 0,this.activeLayerInfo=void 0,this.messages=void 0,this.isChild=!1,this.expanded=!0}render(){let t=s(this.activeLayerInfo),{expanded:a}=this,i=a?this.messages?.collapse:this.messages?.expand,l=this.isChild?" instant-apps-interactive-legend__heading-text--group-item":"";return e("header",{key:"54b3774af9d12ff52ca01429e1edc5aa987481dd",class:`${n.interacitveLegendHeader} ${p(this.el)}`,style:{borderLeft:"1px solid var(--calcite-color-border-3)"}},e("span",{key:"ec9dfadf2376efd474b0333cb6f7d5ddb47c19c8"},e("span",{key:"1ea320fc3b7cd497c5d388d4c7fe7382289a8420",class:n.headerActionContainer},e("calcite-action",{key:"9bd10275be0564e1ec044df25944f4b2b559fe1e",onClick:this.toggleExpanded(),icon:a?"chevron-down":"chevron-up",appearance:"transparent",text:i,label:i,scale:"s"}),e("h3",{key:"3cdfbad64a12e8b968ca8c225b457793721cf59e",class:`${n.header} ${n.label}${l}`,title:this.activeLayerInfo?.title??""},this.activeLayerInfo?.title)),this.featureCount&&t?e("instant-apps-interactive-legend-count",{activeLayerInfo:this.activeLayerInfo,"show-total":!0,messages:this.messages,legendvm:this.legendvm}):null))}toggleExpanded(){return()=>{this.expanded=!this.expanded,this.groupLayerCaptionElementExpandUpdatedEvent.emit(this.expanded)}}get el(){return r(this)}};v.style=g;export{v as instant_apps_interactive_legend_group_legend_element_caption};