@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
@@ -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{b as g}from"./2M3XDJVT.js";import{a as b}from"./4KEBF4LC.js";import{D as u,E as p,I as w,c as h,d as l,o as r,q as m}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var y=h`@layer{/**
3
+ v1.0.0-next.20250530 */
4
+ import{b as g}from"./BJMWCYCG.js";import{a as b}from"./PNYGXVOF.js";import{D as u,E as p,I as w,c as h,d as l,o as r,q as m}from"./VUE2KPGT.js";import"./OY2EULMD.js";var y=h`@layer{/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -16,4 +16,4 @@ import{b as g}from"./2M3XDJVT.js";import{a as b}from"./4KEBF4LC.js";import{D as
16
16
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
17
  * See the License for the specific language governing permissions and
18
18
  * limitations under the License.
19
- */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends u{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSnapping=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=b({name:"create-related-feature",blocking:!0}),this._addingAttachment=!1,this._isSubmitBtnClicked=!1,this.success=r(),this.fail=r(),this.isActionPending=r(),this.formReady=r()}static{this.properties={customizeSubmit:5,enableSnapping:5,mapView:0,selectedFeature:0,showGuidingMsg:5,table:0,_editorLoading:16,_translations:16}}static{this.styles=y}static{this.shadowRootOptions=m}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this.init()})}async _editorLoadingWatchHandler(e){e&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async load(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){let[e,t]=await g(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=e,this.reactiveUtils=t}render(){let e=this._editorLoading?"":"display-none";return l`${this.showGuidingMsg&&l`<calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.provideDetailsMsg}</div></calcite-notice>`||""}<calcite-loader class=${p(e)} label scale=s></calcite-loader>`}loaded(){this.init()}disconnectedCallback(){super.disconnectedCallback(),this._editor&&this._editor.destroy()}async createEditorWidget(){if(this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this.Editor&&(this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container),this.reactiveUtils)){let e=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,i=>{i==="ready"&&(this._editorLoading=!0)});this._editor.viewModel.addHandles(e);let t=this.reactiveUtils.watch(()=>this._editor?.viewModel.state,i=>{i==="adding-attachment"||i==="editing-attachment"?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)});this._editor.viewModel.addHandles(t);let o=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,i=>{i==="ready"&&this.formReady.emit()});this._editor.viewModel.addHandles(o)}}async startCreate(){let e=this.selectedFeature?.layer,t=this.table;if(e?.relationships&&t?.relationships&&this._editor?.viewModel.featureFormViewModel&&this.selectedFeature&&t.templates){let o=e.relationships[0],i=t.relationships.find(a=>e.layerId===a.relatedTableId),s=Number(this.selectedFeature.getObjectId());if(!Number.isNaN(s)&&i){let a=(await e.queryFeatures({objectIds:[s],outFields:[e.objectIdField,o.keyField]})).features[0],n=t.templates[0],d={attributeOverrides:this.makeAttributesForRelatedFeature(a,o,i),layer:t,template:n};await this._editor.startCreateFeaturesWorkflowAtFeatureCreation(d),await this.hideEditorsElements(),this._editor.viewModel.featureFormViewModel.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(e=>{let t=e.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");t?.querySelector("header")?.setAttribute("style","display: none"),t?.querySelector("footer")?.setAttribute("style","display: none")}))}makeAttributesForRelatedFeature(e,t,o){let i=t.keyField,s;e.attributes.hasOwnProperty(i)?s=e.getAttribute(i):e.attributes.hasOwnProperty(i.toLowerCase())?s=e.getAttribute(i.toLowerCase()):e.attributes.hasOwnProperty(i.toUpperCase())&&(s=e.getAttribute(i.toUpperCase()));let a=o.keyField,n=this.table?.fields.find(d=>d.name.toLocaleLowerCase()===a.toLocaleLowerCase());if(n)return a=n.name,{[a]:s}}async submitted(e){if(e.invalid.length){this._isSubmitBtnClicked=!1;return}if(e.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(t=>{if(t.error)throw t.error}))}catch(t){this.fail.emit(t);return}this.success.emit()}}async timeout(e){return new Promise(t=>setTimeout(t,e))}};w("create-related-feature",c);export{c as CreateRelatedFeature};
19
+ */:host{display:block}.hide-editor-toolbar .esri-editor__panel-toolbar,.display-none{display:none!important}.esri-editor__panel-content{padding-block:10px!important}.notice-msg{padding:10px;width:calc(100% - 20px)}}`,c=class extends u{constructor(){super(...arguments),this.customizeSubmit=!1,this.enableSnapping=!1,this.showGuidingMsg=!0,this._editorLoading=!1,this._translations=b({name:"create-related-feature",blocking:!0}),this._addingAttachment=!1,this._isSubmitBtnClicked=!1,this.success=r(),this.fail=r(),this.isActionPending=r(),this.formReady=r()}static{this.properties={customizeSubmit:5,enableSnapping:5,mapView:0,selectedFeature:0,showGuidingMsg:5,table:0,_editorLoading:16,_translations:16}}static{this.styles=y}static{this.shadowRootOptions=m}willUpdate(t){t.has("mapView")&&this.mapViewWatchHandler(),t.has("_editorLoading")&&(this.hasUpdated||this._editorLoading!==!1)&&this._editorLoadingWatchHandler(this._editorLoading)}async mapViewWatchHandler(){await this.mapView?.when(async()=>{await this.init()})}async _editorLoadingWatchHandler(t){t&&(this._container?.classList.add("display-none"),await this.startCreate(),this._container?.classList.remove("display-none"),this._editorLoading=!1)}async submit(){this._editor?.viewModel?.featureFormViewModel&&(this._isSubmitBtnClicked=!0,this._editor.viewModel.featureFormViewModel.submit())}async load(){await this.initModules()}async init(){this.mapView&&await this.createEditorWidget()}async initModules(){let[t,e]=await g(["esri/widgets/Editor","esri/core/reactiveUtils"]);this.Editor=t,this.reactiveUtils=e}render(){let t=this._editorLoading?"":"display-none";return l`${this.showGuidingMsg&&l`<calcite-notice class="notice-msg" icon=lightbulb kind=success open><div slot=message>${this._translations.provideDetailsMsg}</div></calcite-notice>`||""}<calcite-loader class=${p(t)} label scale=s></calcite-loader>`}loaded(){this.init()}disconnectedCallback(){super.disconnectedCallback(),this._editor&&this._editor.destroy()}async createEditorWidget(){if(this._editor&&this._editor.destroy(),this._container=document.createElement("div"),this._container?.classList.add("display-none"),this.enableSnapping||this._container.classList.add("hide-editor-toolbar"),this.Editor&&(this._editor=new this.Editor({view:this.mapView,visibleElements:{flow:!0,settingsMenu:this.enableSnapping,sketch:!1,snappingControls:this.enableSnapping},container:this._container}),this.el.appendChild(this._container),this.reactiveUtils)){let t=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureTemplatesViewModel.state,i=>{i==="ready"&&(this._editorLoading=!0)});this._editor.viewModel.addHandles(t);let e=this.reactiveUtils.watch(()=>this._editor?.viewModel.state,i=>{i==="adding-attachment"||i==="editing-attachment"?(this._addingAttachment=!0,this.isActionPending.emit(!0)):this._addingAttachment&&(this.isActionPending.emit(!1),this._addingAttachment=!1)});this._editor.viewModel.addHandles(e);let o=this.reactiveUtils.watch(()=>this._editor?.viewModel.featureFormViewModel?.state,i=>{i==="ready"&&this.formReady.emit()});this._editor.viewModel.addHandles(o)}}async startCreate(){let t=this.selectedFeature?.layer,e=this.table;if(t?.relationships&&e?.relationships&&this.selectedFeature&&e.templates){let o=t.relationships[0],i=e.relationships.find(a=>t.layerId===a.relatedTableId),s=Number(this.selectedFeature.getObjectId());if(!Number.isNaN(s)&&i){let a=(await t.queryFeatures({objectIds:[s],outFields:[t.objectIdField,o.keyField]})).features[0],n=e.templates[0],d={attributeOverrides:this.makeAttributesForRelatedFeature(a,o,i),layer:e,template:n};await this._editor?.startCreateFeaturesWorkflowAtFeatureCreation(d),await this.hideEditorsElements(),this._editor?.viewModel?.featureFormViewModel?.addHandles(this._editor.viewModel.featureFormViewModel.on("submit",this.submitted.bind(this)))}}}async hideEditorsElements(){this.customizeSubmit&&(await this.timeout(700),this.el.querySelector(".esri-editor")?.querySelectorAll("calcite-flow-item")?.forEach(t=>{let e=t.shadowRoot?.querySelector("calcite-panel")?.shadowRoot?.querySelector("article");e?.querySelector("header")?.setAttribute("style","display: none"),e?.querySelector("footer")?.setAttribute("style","display: none")}))}makeAttributesForRelatedFeature(t,e,o){let i=e.keyField,s;t.attributes.hasOwnProperty(i)?s=t.getAttribute(i):t.attributes.hasOwnProperty(i.toLowerCase())?s=t.getAttribute(i.toLowerCase()):t.attributes.hasOwnProperty(i.toUpperCase())&&(s=t.getAttribute(i.toUpperCase()));let a=o.keyField,n=this.table?.fields.find(d=>d.name.toLocaleLowerCase()===a.toLocaleLowerCase());if(n)return a=n.name,{[a]:s}}async submitted(t){if(t.invalid.length){this._isSubmitBtnClicked=!1;return}if(t.valid.length&&this._isSubmitBtnClicked){this._isSubmitBtnClicked=!1;try{this._editor?.activeWorkflow&&(await this._editor.activeWorkflow.commit(),this._editor.viewModel.failures?.length&&this._editor.viewModel.failures.some(e=>{if(e.error)throw e.error}))}catch(e){this.fail.emit(e);return}this.success.emit()}}async timeout(t){return new Promise(e=>setTimeout(e,t))}};w("create-related-feature",c);export{c as CreateRelatedFeature};
@@ -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 y}from"./HSDQUCF6.js";import"./ZK3VF62M.js";import{a as w,b as f,d as v}from"./QKSO2DZS.js";import"./5Y5ORVLB.js";import"./OTV4TIHA.js";import{a as d,b as c}from"./IWEV46QA.js";import{a as L}from"./PNYGXVOF.js";import{D as g,E as p,F as o,I as u,c as b,d as i,g as l,o as h,q as _}from"./VUE2KPGT.js";import"./OY2EULMD.js";var I=b`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.map-layer-picker-container{width:100%;align-items:center}.map-layer-picker{position:relative;width:100%;display:inline-block}.padding-bottom-1{padding-bottom:1rem}.layer-picker-dropdown{height:100%;width:100%}.max-width-350{max-width:350px}.height-100{height:100%}.disabled{cursor:default!important;user-select:none;opacity:var(--calcite-opacity-disabled);pointer-events:none}.no-bottom-margin{--calcite-label-margin-bottom: 0px}.layer-picker-label-container{align-items:center;display:inline-flex;height:100%;padding-inline-start:1rem;padding-inline-end:1rem}.padding-start-1{padding-inline-start:1rem}.cursor-default{cursor:default}.popover-list{overflow:auto;width:250px}}`,m=class extends g{constructor(){super(...arguments),this.appearance="transparent",this.defaultLayerId="",this.display="inline-block",this.enabledLayerIds=[],this.enabledTableIds=[],this.isMobile=!1,this.showOnlyUpdatableLayers=!1,this.placeholderIcon="",this.selectedIds=[],this.scale="m",this.showTables=!1,this.showTablesDisabled=!1,this.showSingleLayerAsLabel=!1,this.type="select",this.showLayersListInPopover=!1,this.referenceElement="",this.force=!1,this._hasMultipleLayers=!0,this._hasValidLayers=!0,this._isDropdownOpen=!1,this.ids=[],this.selectedName="",this._translations=L({name:"map-layer-picker",blocking:!0}),this.defaultLayerHonored=!1,this._layerSelectElement=d(),this._layerComboboxElement=d(),this._skipEditCheck=!1,this._popover=d(),this.beforeLayerSelectionChange=h(),this.idsFound=h(),this.noLayersFound=h(),this.layerSelectionChange=h()}static{this.properties={appearance:1,defaultLayerId:1,display:1,enabledLayerIds:0,enabledTableIds:0,height:9,isMobile:5,mapView:0,showOnlyUpdatableLayers:5,placeholderIcon:1,selectedIds:0,scale:1,showTables:5,showTablesDisabled:5,showSingleLayerAsLabel:5,type:1,showLayersListInPopover:5,referenceElement:1,force:16,_hasMultipleLayers:16,_hasValidLayers:16,_isDropdownOpen:16,ids:16,selectedName:16,_translations:16}}static{this.styles=I}static{this.shadowRootOptions=_}willUpdate(e){e.has("mapView")&&this.hasUpdated&&this.mapViewWatchHandler(),e.has("type")&&(this._layerElement=this.type==="select"?this._layerSelectElement:this._layerComboboxElement)}async mapViewWatchHandler(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}async setLayerById(e,t=!1){this._skipEditCheck=t,!t||t&&e!==this.selectedIds[0]?this._setSelectedLayer(e):t&&e===this.selectedIds[0]&&(this.force=!0,setTimeout(()=>{this.force=!1},10)),this._skipEditCheck=!1}async setLayerByIds(e,t=!1){this._skipEditCheck=t,this._layerSelectionChange(e),this._skipEditCheck=!1}async updateLayer(){await this._setSelectedLayer(this.ids[0])}async load(){await this._setLayers(),this.ids?.length>0?(this._hasValidLayers=!0,this._hasMultipleLayers=this.ids.length>1,await this._setSelectedLayer(this.ids[0])):(this._hasValidLayers=!1,this.noLayersFound.emit())}render(){let e="map-layer-picker",t=this.height&&this.height>0&&!this.showLayersListInPopover?{height:`${this.height.toString()}px`}:{};return t={...t,display:this.display},i`<div class="map-layer-picker-container" style=${o(t)}><div class="map-layer-picker" style=${o(t)}>${this._hasValidLayers?!this._hasMultipleLayers&&this.showSingleLayerAsLabel?this._getSingleLayerPlaceholder():this.type==="combobox"?this._getCombobox(e):this.type==="select"?this._getSelect(e):this.showLayersListInPopover?this._getMapLayerPopOver():this._getDropdown(e):this._getInvalidPlaceholder()}</div></div>`}loaded(){if(this.ids?.length>0||this.selectedIds?.length===1){let e=this.selectedIds.length===1?this.selectedIds[0]:this.ids[0];this.type==="select"?this._layerElement.value&&(this._layerElement.value.value=e):this.type==="dropdown"&&(this.selectedName=this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e].name:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e].name:"")}this._popover.value?.addEventListener("calcitePopoverOpen",()=>{this.el.querySelector("calcite-dropdown-item[selected]").setFocus()})}_getMapLayerPopOver(){let e=this.height&&this.height>0?{height:`${this.height.toString()}px`}:{};return i`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} scale=s ${c(this._popover)}><div class=popover-list style=${o(e)}>${this._getMapLayerOptions()}</div></calcite-popover>`}_getInvalidPlaceholder(){return i`<div><calcite-notice class="height-100" icon=exclamation-mark-triangle id=no-valid-layers kind=danger open><div slot=message>${this._translations.noLayersFound}</div></calcite-notice><calcite-tooltip .label=${this._translations.enableEditUpdate} placement=bottom reference-element=no-valid-layers><span>${this._translations.enableEditUpdate}</span></calcite-tooltip></div>`}_getSingleLayerPlaceholder(){let e=this._getItemTypeIcon();return i`<div class="layer-picker-label-container cursor-default"><calcite-icon .icon=${e} scale=s></calcite-icon><calcite-label class="no-bottom-margin padding-start-1">${this.selectedName}</calcite-label></div>`}_getSelect(e){return i`<calcite-select id=${e??l} label @calciteSelectChange=${()=>this._layerSelectionChange()} .scale=${this.scale} ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-select>`}_getCombobox(e){return i`<calcite-combobox clear-disabled id=${e??l} label @calciteComboboxChange=${()=>this._layerSelectionChange()} .placeholderIcon=${this.placeholderIcon} .scale=${this.scale} selection-mode=single ${c(this._layerElement)}>${this._getMapLayerOptions()}</calcite-combobox>`}_getDropdown(e){return i`<calcite-dropdown class="layer-picker-dropdown" @calciteDropdownBeforeClose=${()=>this._isDropdownOpen=!1} @calciteDropdownBeforeOpen=${()=>this._isDropdownOpen=!0}>${this.isMobile?this._getDropdownButton():this._getActionDropdownButton(e)}<calcite-dropdown-group selection-mode=single>${this._getMapLayerOptions()}</calcite-dropdown-group></calcite-dropdown>`}_getActionDropdownButton(e){return i`<calcite-action id=${e??l} slot=trigger text>${this._getDropdownButton()}</calcite-action>`}_getDropdownButton(){let e=this._getItemTypeIcon(),t=this.isMobile?"":"max-width-350",s=this.isMobile?"trigger":"",a=this._isDropdownOpen?"chevron-up":"chevron-down";return i`<calcite-button alignment=icon-end-space-between .appearance=${this.appearance} class=${p(t)} .iconEnd=${a} .iconStart=${e} kind=neutral slot=${s??l} width=full><div>${this.selectedName}</div></calcite-button>`}_getItemTypeIcon(){let e="layers";if(this.selectedIds.length>0&&this._layerNameHash){let t=this.selectedIds[0];e=Object.keys(this._layerNameHash).indexOf(t)>-1?"layers":"table"}return e}_getMapLayerOptions(){return this.ids.reduce((e,t)=>(this._validLayer(t)?e.push(this._getItem(t,"layer")):this._validTable(t)&&e.push(this._getItem(t,"table")),e),[])}_getItem(e,t){let s=t==="layer"&&this._layerNameHash?this._layerNameHash[e]:this._tableNameHash?this._tableNameHash[e]:void 0,a=this.showOnlyUpdatableLayers?s&&!s.supportsUpdate:!1,r=s?.name,n=this.selectedIds.indexOf(e)>-1;return this.type==="combobox"?i`<calcite-combobox-item .disabled=${a} .selected=${n} .textLabel=${r} .value=${e}></calcite-combobox-item>`:this.type==="select"?i`<calcite-option .disabled=${a} .label=${r} .selected=${n} .value=${e}></calcite-option>`:this.force&&n||!this.force?i`<calcite-dropdown-group class=${p(a?"disabled":"")} id=${r??l} .selectionMode=${a?"none":"single"}><calcite-dropdown-item .disabled=${!!(t==="table"&&this.showTablesDisabled)} .iconStart=${t} @click=${a?void 0:()=>void this._setSelectedLayer(e)} .selected=${n}>${r}</calcite-dropdown-item></calcite-dropdown-group>`:null}async _setSelectedLayer(e){if(e!==this.selectedIds[0]){let t;if(this.defaultLayerId&&!this.defaultLayerHonored&&(t=this._getLayerFromHash(this.defaultLayerId),this.defaultLayerHonored=t!==void 0,e=this.defaultLayerHonored?this.defaultLayerId:e),t=t||this._getLayerFromHash(e),!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentId:this.selectedIds[0],newId:e,ref:this.el}).defaultPrevented)return;this.selectedName=t?.name,this.selectedIds=[e],this._popover.value&&(this._popover.value.open=!1),this.layerSelectionChange.emit(this.selectedIds)}else{let t=this.mapView&&await v(this.mapView,this.selectedIds[0]);this.selectedName=t?.title||""}}_getLayerFromHash(e){return this._layerNameHash&&Object.keys(this._layerNameHash).indexOf(e)>-1?this._layerNameHash[e]:this._tableNameHash&&Object.keys(this._tableNameHash).indexOf(e)>-1?this._tableNameHash[e]:void 0}async _setLayers(){if(this.mapView){await this._initLayerTableHash();let e=[];this._layerNameHash&&(e=this.showOnlyUpdatableLayers?this._getEditableIds(this._layerNameHash):Object.keys(this._layerNameHash));let t=[];this._tableNameHash&&(t=this.showTables?this.showOnlyUpdatableLayers?this._getEditableIds(this._tableNameHash):Object.keys(this._tableNameHash):[]),this.ids=[...e.reverse().filter(s=>this.enabledLayerIds?.length>0?this.enabledLayerIds.reverse().indexOf(s)>-1:!0),...t.reverse().filter(s=>this.enabledTableIds?.length>0?this.enabledTableIds.reverse().indexOf(s)>-1:!0)],this.idsFound.emit({layerIds:e,tableIds:t})}}_getEditableIds(e){return Object.keys(e).reduce((t,s)=>(e[s].supportsUpdate&&t.push(s),t),[])}async _initLayerTableHash(){this._layerNameHash=this.mapView&&await w(this.mapView,this.showOnlyUpdatableLayers),this._tableNameHash=this.showTables&&this.mapView?await f(this.mapView,this.showOnlyUpdatableLayers):{}}_validLayer(e){let t=this._layerNameHash&&this._layerNameHash[e]?.name;return t!==void 0&&Object.keys(y.managedLayers).indexOf(t)<0&&(this.enabledLayerIds?.length>0?this.enabledLayerIds.indexOf(e)>-1:!0)}_validTable(e){let t=this._tableNameHash&&this._tableNameHash[e]?.name,s=t&&this.showTables;return s?y.managedTables.indexOf(t)<0&&(this.enabledTableIds?.length>0?this.enabledTableIds.indexOf(e)>-1:!0):s!==void 0}_layerSelectionChange(e){if(this._layerElement.value){let t=e||(Array.isArray(this._layerElement.value.value)?this._layerElement.value.value:[this._layerElement.value.value]);if(JSON.stringify(t)!==JSON.stringify([""])){if(!this._skipEditCheck&&this.beforeLayerSelectionChange.emit({currentIds:this.selectedIds,newIds:t,ref:this.el}).defaultPrevented)return;this.selectedIds=t,this.layerSelectionChange.emit(this.selectedIds)}}}};u("map-layer-picker",m);export{m as MapLayerPicker};
@@ -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 t}from"./NZ6MHZKX.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.0.0-next.20250530 */
4
+ import{a as t}from"./ZKKTR3BI.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s 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 l}from"./4KEBF4LC.js";import{D as n,I as o,c as r,d as a,o as s}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var c=r`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as l}from"./PNYGXVOF.js";import{D as n,I as o,c as r,d as a,o as s}from"./VUE2KPGT.js";import"./OY2EULMD.js";var c=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import a from"./NMOQUXR6.js";import{a as y,c as f}from"./BGG35RUD.js";import"./BFH5SRQZ.js";import"./5UMSFFPF.js";import"./WIJOUEJP.js";import"./RSHSVMPO.js";import"./TS32X4ID.js";import"./4L3V2YYV.js";import{j as g,k as m,n as r}from"./CLTGVNIT.js";import{a as p}from"./4KEBF4LC.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./LVYTI5YO.js";import"./EUCKEPMP.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import a from"./JDBE77NZ.js";import{a as y,c as f}from"./LRUGHWTN.js";import"./U4AOWHPN.js";import"./JL5VELML.js";import"./Q2NP2O3M.js";import"./FVYY2V6T.js";import"./NO2SL2YF.js";import"./X7YNYBQ7.js";import{j as g,k as m,n as r}from"./5Y5ORVLB.js";import{a as p}from"./PNYGXVOF.js";import{C as i,D as c,G as d,I as u,c as n,d as s,e as l,o as h}from"./VUE2KPGT.js";import"./OY2EULMD.js";export default $arcgis.t(([{b:a,c:_}])=>{var x=n`/** @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,b as l}from"./Q5577CJV.js";import{a as b}from"./4KEBF4LC.js";import{D as c,E as h,F as m,I as f,c as d,d as a,o as n}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var g=d`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as r,b as l}from"./IWEV46QA.js";import{a as b}from"./PNYGXVOF.js";import{D as c,E as h,F as m,I as f,c as d,d as a,o as n}from"./VUE2KPGT.js";import"./OY2EULMD.js";var g=d`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -15,4 +15,4 @@ import{a as r,b as l}from"./Q5577CJV.js";import{a as b}from"./4KEBF4LC.js";impor
15
15
  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
16
  * See the License for the specific language governing permissions and
17
17
  * limitations under the License.
18
- */:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-foreground-1);width:100%}.width-full{width:100%}.width-26{width:26%!important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}.position-absolute{position:absolute}.position-relative{position:relative}`,p=class extends c{constructor(){super(...arguments),this.mapInfos=[],this.isMapLayout=!1,this.showMapListInPopover=!1,this.referenceElement="",this.selectedWebMapId="",this._mapListExpanded=!1,this._translations=b({name:"map-picker",blocking:!0}),this._list=r(),this._loadedId="",this._skipEditCheck=!1,this._popover=r(),this.beforeMapInfoChange=n(),this.mapInfoChange=n()}static{this.properties={mapInfos:0,isMapLayout:5,height:9,showMapListInPopover:5,referenceElement:1,selectedWebMapId:1,_mapListExpanded:16,_translations:16}}static{this.styles=g}willUpdate(e){e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(this.mapInfos,e.get("mapInfos")),e.has("selectedWebMapId")&&this.hasUpdated&&this.selectedWebMapIdWatchHandler(this.selectedWebMapId)}_webMapInfoWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&(this._loadedId=e?.id,this.mapInfoChange.emit(e))}async mapInfosWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._webMapSelected(e[0])}async selectedWebMapIdWatchHandler(e){this._loadedId=e}async setMapByID(e,t=!1){this._skipEditCheck=t;let i=this.mapInfos?.filter(o=>o.id===e);e&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(e){this._mapListExpanded=e}render(){return a`${!this.showMapListInPopover&&this._getToolbar()||""}${this.showMapListInPopover?this._getMapListPopover():this._getMapNameList(this._mapListExpanded)}`}loaded(){let e=this._getWebMapInfo();e&&this._webMapSelected(e)}updated(){this._popover.value?.addEventListener("calcitePopoverOpen",()=>{(this._list.value?.querySelector("calcite-list-item[selected]")).setFocus()})}_getMapPicker(){let e="map-picker-expand-toggle",t=this._mapListExpanded?"chevron-up":"chevron-down";return a`<div class="width-full"><calcite-button alignment=icon-end-space-between appearance=transparent class="width-full height-full" .iconEnd=${t} icon-start=map id=${e} kind=neutral @click=${()=>this._chooseMap()} width=full>${this._getWebMapInfo().name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${e}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){return a`<div class="display-flex border-left-right"><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=header>${this._getMapPicker()}</calcite-action-bar></div>`}_getMapNameList(e){let t=this.height&&this.height>0&&this.showMapListInPopover?{height:`${this.height.toString()}px`}:{},i=this.showMapListInPopover?"position-relative":"position-absolute",o=this.isMapLayout?"width-26":"width-full",u=e?`map-list border-bottom-1 adjusted-height ${o} ${i}`:"display-none";return a`<div class=${h(u)} style=${m(t)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${l(this._list)}>${this.mapInfos.map(s=>a`<calcite-list-item .label=${s.name} @click=${()=>this._webMapSelected(s)} .selected=${s.id===this._loadedId} .value=${s.id}></calcite-list-item>`)}</calcite-list></div>`}_getMapListPopover(){return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} ${l(this._popover)}>${this._getMapNameList(!0)}</calcite-popover>`}_getWebMapInfo(){let e=this.mapInfos.find(t=>this.selectedWebMapId===t.id);if(!e&&this.mapInfos.length>0&&(e=this.mapInfos[0]),!e)throw new Error("No valid web map info available");return e}_webMapSelected(e){let t=this._loadedId;this._loadedId=e.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:t,mapInfo:e,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(e,this._webMapInfo),this._webMapInfo=e),this._popover.value&&(this._popover.value.open=!1),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};f("map-picker",p);export{p as MapPicker};
18
+ */:host{display:block;--solutions-theme-foreground-color: var(--calcite-color-foreground-1);width:100%}.width-full{width:100%}.width-26{width:26%!important}.height-full{height:100%}.display-flex{display:flex}.border-bottom-1{border-width:0px;border-bottom-width:1px;border-style:solid;border-color:var(--calcite-color-border-3)}.border-left-right{border-left:1px solid var(--calcite-color-border-3);border-right:1px solid var(--calcite-color-border-3)}.action-bar-size{height:51px;width:100%}.map-list{display:flex;flex-direction:column;animation:calcite-scrim-fade-in var(--calcite-internal-animation-timing-medium) ease-in-out;background-color:var(--calcite-color-background);z-index:1000}.display-none{display:none}.align-center{align-items:center}.adjusted-height{max-height:calc(100% - 52px);overflow-y:auto}.position-absolute{position:absolute}.position-relative{position:relative}`,p=class extends c{constructor(){super(...arguments),this.mapInfos=[],this.isMapLayout=!1,this.showMapListInPopover=!1,this.referenceElement="",this.selectedWebMapId="",this._mapListExpanded=!1,this._translations=b({name:"map-picker",blocking:!0}),this._list=r(),this._loadedId="",this._skipEditCheck=!1,this._popover=r(),this.beforeMapInfoChange=n(),this.mapInfoChange=n()}static{this.properties={mapInfos:0,isMapLayout:5,height:9,showMapListInPopover:5,referenceElement:1,selectedWebMapId:1,_mapListExpanded:16,_translations:16}}static{this.styles=g}willUpdate(e){e.has("mapInfos")&&this.hasUpdated&&this.mapInfosWatchHandler(this.mapInfos,e.get("mapInfos")),e.has("selectedWebMapId")&&this.hasUpdated&&this.selectedWebMapIdWatchHandler(this.selectedWebMapId)}_webMapInfoWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&(this._loadedId=e?.id,this.mapInfoChange.emit(e))}async mapInfosWatchHandler(e,t){e&&JSON.stringify(e)!==JSON.stringify(t)&&this._webMapSelected(e[0])}async selectedWebMapIdWatchHandler(e){this._loadedId=e}async setMapByID(e,t=!1){this._skipEditCheck=t;let i=this.mapInfos?.filter(o=>o.id===e);e&&i?.length>0&&this._webMapSelected(i[0]),this._skipEditCheck=!1}async close(){this._mapListExpanded&&(this._mapListExpanded=!1)}async toggle(e){this._mapListExpanded=e}render(){return a`${!this.showMapListInPopover&&this._getToolbar()||""}${this.showMapListInPopover?this._getMapListPopover():this._getMapNameList(this._mapListExpanded)}`}loaded(){let e=this._getWebMapInfo();e&&this._webMapSelected(e),this._popover.value?.addEventListener("calcitePopoverOpen",()=>{(this._list.value?.querySelector("calcite-list-item[selected]")).setFocus()})}_getMapPicker(){let e="map-picker-expand-toggle",t=this._mapListExpanded?"chevron-up":"chevron-down";return a`<div class="width-full"><calcite-button alignment=icon-end-space-between appearance=transparent class="width-full height-full" .iconEnd=${t} icon-start=map id=${e} kind=neutral @click=${()=>this._chooseMap()} width=full>${this._getWebMapInfo().name}</calcite-button><calcite-tooltip placement=bottom .referenceElement=${e}><span>${this._translations.switchMap}</span></calcite-tooltip></div>`}_getToolbar(){return a`<div class="display-flex border-left-right"><calcite-action-bar class="border-bottom-1 action-bar-size" expand-disabled layout=horizontal slot=header>${this._getMapPicker()}</calcite-action-bar></div>`}_getMapNameList(e){let t=this.height&&this.height>0&&this.showMapListInPopover?{height:`${this.height.toString()}px`}:{},i=this.showMapListInPopover?"position-relative":"position-absolute",o=this.isMapLayout?"width-26":"width-full",u=e?`map-list border-bottom-1 adjusted-height ${o} ${i}`:"display-none";return a`<div class=${h(u)} style=${m(t)}><calcite-list id=mapList label selection-appearance=border selection-mode=single-persist ${l(this._list)}>${this.mapInfos.map(s=>a`<calcite-list-item .label=${s.name} @click=${()=>this._webMapSelected(s)} .selected=${s.id===this._loadedId} .value=${s.id}></calcite-list-item>`)}</calcite-list></div>`}_getMapListPopover(){return a`<calcite-popover auto-close focus-trap-disabled .label=${this.referenceElement} placement=auto .referenceElement=${this.referenceElement} ${l(this._popover)}>${this._getMapNameList(!0)}</calcite-popover>`}_getWebMapInfo(){let e=this.mapInfos.find(t=>this.selectedWebMapId===t.id);if(!e&&this.mapInfos.length>0&&(e=this.mapInfos[0]),!e)throw new Error("No valid web map info available");return e}_webMapSelected(e){let t=this._loadedId;this._loadedId=e.id;let i=!1;this._skipEditCheck?i=!0:this.beforeMapInfoChange.emit({currentId:t,mapInfo:e,ref:this.el}).defaultPrevented||(i=!0),i&&(this._webMapInfoWatchHandler(e,this._webMapInfo),this._webMapInfo=e),this._popover.value&&(this._popover.value.open=!1),this._mapListExpanded=!1}_chooseMap(){this._mapListExpanded=!this._mapListExpanded}};f("map-picker",p);export{p as MapPicker};
@@ -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 t,c as e}from"./GWPISXDC.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.0.0-next.20250530 */
4
+ import{b as t,c as e}from"./NKOVTFUU.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{f as a}from"./7YM72QZ3.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d as a};
3
+ v1.0.0-next.20250530 */
4
+ import{f as a}from"./MSC6SQKC.js";var n={discussion:"/ember-arcgis-opendata-components/assets/images/placeholders/discussion.png",group:"/ember-arcgis-opendata-components/assets/images/placeholders/group.png",event:"/ember-arcgis-opendata-components/assets/images/placeholders/event.png",content:"/ember-arcgis-opendata-components/assets/images/placeholders/content.png"};function d(t,p,o,e,l){var i;let r=(i=n[e])!==null&&i!==void 0?i:n.content,c=a(r,l),s;return e==="group"?s={aspectRatio:1,sizeDescription:{labelKey:`${t}.fields._thumbnail.sizeDescription`}}:e==="event"?s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"},sources:["url"]}:s={aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields._thumbnail.sizeDescription"}},[{labelKey:e==="group"?`${t}.fields._thumbnail.label`:"shared.fields._thumbnail.label",scope:"/properties/_thumbnail",type:"Control",options:Object.assign({control:"hub-field-input-image-picker",imgSrc:o,defaultImgUrl:c,maxWidth:727,maxHeight:484},s)}]}export{d 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,b}from"./422X4AIN.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as SiteEditorTypes,b as getSiteSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a,b}from"./UPY2LA6F.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as SiteEditorTypes,b as getSiteSchema};
@@ -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 y,e as g,k as h}from"./WIVHCBPP.js";import{b as s,c as f}from"./UA2S4SRX.js";import{a as i}from"./WIJOUEJP.js";import{b as c}from"./5FNUZG6X.js";import{b as m,e as p,f as a,g as d,k as l}from"./RSHSVMPO.js";function M(e,t){return f(y(e),t,4)}function U(e,t){let r=e.filter(o=>!o.startsWith(`${s}|`));return r.push([s,t].join("|")),r}async function b(e,t){if(!e.slug)return[];let o={filter:`typekeywords:"${e.slug.startsWith(`${s}|`)?e.slug:[s,e.slug].join("|")}"`};t.authentication?o.authentication=t.authentication:t.portal&&(o.portal=t.portal),e.exclude&&(o.q=`NOT id:${e.exclude}`);try{return(await l(o)).results}catch(n){throw n}}function w(e,t,r=0){let o=r?[e.slug,r].join("-"):e.slug;return b({slug:o,exclude:e.existingId},t).then(n=>n.length?w(e,t,r+1):o).catch(n=>{throw Error(`Error in getUniqueSlug ${n}`)})}function u(e){return e.params=Object.assign(Object.assign({},e.params),j(e.item)),e}function j(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return p(u(e[0]))}function K(...e){return m(u(e[0]))}var S={location:"location.json"};function z(){let e=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],r=Object.keys(S),o=[];return e.forEach(n=>{o.push({entityKey:n,storeKey:`item.${n}`})}),t.forEach(n=>{o.push({entityKey:n,storeKey:`data.${n}`})}),r.forEach(n=>{o.push({entityKey:n,storeKey:`resources.${n}`})}),o.push({entityKey:"slug",storeKey:"item.properties.slug"}),o.push({entityKey:"summary",storeKey:"item.snippet"}),o.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),o.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),o.push({entityKey:"name",storeKey:"item.title"}),o.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),o.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),o.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),o}function J(e,t){return t.createdDate=new Date(e.created),t.createdDateSource="item.created",t.updatedDate=new Date(e.modified),t.updatedDateSource="item.modified",t.location=t.location||g(e),t.isDiscussable=h(e),t}function I(e,t){return Promise.all([a(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function O(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let o=await x(Object.assign({item:r},t));return I(o.id,t)}function Q(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),E(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let o=Object.assign({item:r},t);return K(o).then(()=>r.data?I(r.id,t):a(r.id,t).then(n=>({item:n})))}function E(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{M as a,U as b,w as c,z as d,J as e,I as f,O as g,Q as h};
3
+ v1.0.0-next.20250530 */
4
+ import{b as y,e as g,k as h}from"./T6ENDM5I.js";import{b as s,c as f}from"./Y6GOEXCP.js";import{a as i}from"./Q2NP2O3M.js";import{b as c}from"./XANWM4XJ.js";import{b as m,e as p,f as a,g as d,k as l}from"./FVYY2V6T.js";function M(e,t){return f(y(e),t,4)}function U(e,t){let r=e.filter(o=>!o.startsWith(`${s}|`));return r.push([s,t].join("|")),r}async function b(e,t){if(!e.slug)return[];let o={filter:`typekeywords:"${e.slug.startsWith(`${s}|`)?e.slug:[s,e.slug].join("|")}"`};t.authentication?o.authentication=t.authentication:t.portal&&(o.portal=t.portal),e.exclude&&(o.q=`NOT id:${e.exclude}`);try{return(await l(o)).results}catch(n){throw n}}function w(e,t,r=0){let o=r?[e.slug,r].join("-"):e.slug;return b({slug:o,exclude:e.existingId},t).then(n=>n.length?w(e,t,r+1):o).catch(n=>{throw Error(`Error in getUniqueSlug ${n}`)})}function u(e){return e.params=Object.assign(Object.assign({},e.params),j(e.item)),e}function j(e){let t=JSON.parse(JSON.stringify(e));return t.data&&(typeof Blob<"u"&&e.data instanceof Blob||e.data.constructor.name==="ReadStream"?t.file=e.data:t.text=e.data,delete t.data),t}function x(...e){return p(u(e[0]))}function K(...e){return m(u(e[0]))}var S={location:"location.json"};function z(){let e=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant"],r=Object.keys(S),o=[];return e.forEach(n=>{o.push({entityKey:n,storeKey:`item.${n}`})}),t.forEach(n=>{o.push({entityKey:n,storeKey:`data.${n}`})}),r.forEach(n=>{o.push({entityKey:n,storeKey:`resources.${n}`})}),o.push({entityKey:"slug",storeKey:"item.properties.slug"}),o.push({entityKey:"summary",storeKey:"item.snippet"}),o.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),o.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),o.push({entityKey:"name",storeKey:"item.title"}),o.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),o.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),o.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),o}function J(e,t){return t.createdDate=new Date(e.created),t.createdDateSource="item.created",t.updatedDate=new Date(e.modified),t.updatedDateSource="item.modified",t.location=t.location||g(e),t.isDiscussable=h(e),t}function I(e,t){return Promise.all([a(e,t),d(e,t)]).then(r=>({item:r[0],data:r[1]}))}async function O(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent));let o=await x(Object.assign({item:r},t));return I(o.id,t)}function Q(e,t){let r=i(e.item);r.data=i(e.data),r.extent&&typeof r.extent!="string"&&(r.extent=c(r.extent)),E(r)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let o=Object.assign({item:r},t);return K(o).then(()=>r.data?I(r.id,t):a(r.id,t).then(n=>({item:n})))}function E(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var r;return e[t]===""||((r=e[t])===null||r===void 0?void 0:r.length)===0})}export{M as a,U as b,w as c,z as d,J as e,I as f,O as g,Q as h};
@@ -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"./IJJ6XUUA.js";import{a as n,b as o}from"./IAHGXPQT.js";import{b as i}from"./OVZZDA7E.js";import{a as r,c as t,d as l,e as d,f as p}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,e={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(a){r(this,a),this.infoIsOpenChanged=p(this,"infoIsOpenChanged",6),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=h.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let a=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(a),g=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?e.headerContent.concat(" ",e.alignment[this.headerAlignment]):e.headerContent,m=n(this.fontFamily);return t(l,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${e.base}${this.dir==="rtl"?` ${e.flipRtl}`:""}${this.logoImage&&!a?` ${e.logoHeight}${this.logoScale}`:` ${e.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:e.headerContainer},t("span",{class:c},s,g,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:e.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(a){return a?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),void await Promise.resolve()}mqlCallback(){return a=>{let{matches:s}=a;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let a=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(a);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return d(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
3
+ v1.0.0-next.20250530 */
4
+ import{a as h}from"./NPELRLAT.js";import{a as n,b as o}from"./K4F6G4OQ.js";import{b as i}from"./VI4S4LJS.js";import{a as r,c as t,d as l,e as d,f as p}from"./WJF7O2KL.js";import"./OY2EULMD.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,e={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(a){r(this,a),this.infoIsOpenChanged=p(this,"infoIsOpenChanged",6),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=h.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let a=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(a),g=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?e.headerContent.concat(" ",e.alignment[this.headerAlignment]):e.headerContent,m=n(this.fontFamily);return t(l,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${e.base}${this.dir==="rtl"?` ${e.flipRtl}`:""}${this.logoImage&&!a?` ${e.logoHeight}${this.logoScale}`:` ${e.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:e.headerContainer},t("span",{class:c},s,g,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:e.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(a){return a?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),void await Promise.resolve()}mqlCallback(){return a=>{let{matches:s}=a;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let a=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(a);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return d(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
@@ -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,b}from"./6SEI3MD4.js";import"./ITFUMWIC.js";import"./NB2KN2PS.js";import"./QUYSAWNZ.js";import"./EUCKEPMP.js";export{a as PageEditorTypes,b as PageSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a,b}from"./UMQ6LGJX.js";import"./RM2TEOMI.js";import"./LZS774B3.js";import"./FJZZPZAP.js";import"./OY2EULMD.js";export{a as PageEditorTypes,b as PageSchema};
@@ -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"./6VV6QBNS.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
3
+ v1.0.0-next.20250530 */
4
+ import{a as e}from"./ZK3VF62M.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{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{o,p as a,q as r,r as d,v as c,w as m}from"./INGNQIJ3.js";import{a as l,c as i,d as h,e as u}from"./DE4JUMCH.js";import"./EUCKEPMP.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
3
+ v1.0.0-next.20250530 */
4
+ import{o,p as a,q as r,r as d,v as c,w as m}from"./SFZSSATF.js";import{a as l,c as i,d as h,e as u}from"./WJF7O2KL.js";import"./OY2EULMD.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
@@ -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 t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import"./OY2EULMD.js";var t=async(e,s,l)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.discussions.label`,elements:[{labelKey:`${e}.fields.discussable.label`,scope:"/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.discussable.enabled.label:translate}}`,`{{${e}.fields.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.discussable.enabled.description:translate}}`,`{{${e}.fields.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{t as buildUiSchema};
@@ -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 _}from"./E6AZUM5D.js";import"./6VV6QBNS.js";import{c as g,g as $,j as F}from"./64GGJXW2.js";import{e as d}from"./CLTGVNIT.js";import{a as E,d as O,f as T}from"./E45HF3Y4.js";import{a as u,b as p}from"./Q5577CJV.js";import{b as I}from"./2M3XDJVT.js";import{a as k}from"./4KEBF4LC.js";import{D as C,E as y,F as V,I as G,c as L,d as c,o as S,q as v}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var N=L`@layer{/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as _}from"./HSDQUCF6.js";import"./ZK3VF62M.js";import{c as g,g as $,j as F}from"./QKSO2DZS.js";import{e as d}from"./5Y5ORVLB.js";import{a as E,d as O,f as T}from"./OTV4TIHA.js";import{a as u,b as p}from"./IWEV46QA.js";import{b as I}from"./BJMWCYCG.js";import{a as k}from"./PNYGXVOF.js";import{D as C,E as y,F as V,I as G,c as L,d as c,o as S,q as v}from"./VUE2KPGT.js";import"./OY2EULMD.js";var N=L`@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{a as m,b as o,c as T,d as E}from"./3TNNRRLR.js";import{a as t,b as e}from"./ATBQXDJR.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./QUYSAWNZ.js";import"./EUCKEPMP.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a as m,b as o,c as T,d as E}from"./MJ7SNROO.js";import{a as t,b as e}from"./O7VNTXYR.js";import{a as n,c as i,e as a,f as r,i as s,k as p}from"./FJZZPZAP.js";import"./OY2EULMD.js";var l=()=>({$async:!0,required:["name","startDate","endDate","timeZone"],properties:{name:n,description:{type:"string"},_thumbnail:p,attendanceType:{type:"string",enum:[t.InPerson,t.Online,t.Both],default:t.InPerson},startDate:{type:"string",format:"date"},endDate:{type:"string",format:"date",formatMinimum:{$data:"1/startDate"}},startTime:{type:"string"},endTime:{type:"string"},isAllDay:{type:"boolean",default:!1},timeZone:{type:"string"},inPersonCapacity:{type:"number"},inPersonCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},location:Object.assign(Object.assign({},s),{allOf:[{if:{properties:{type:{enum:["custom","org"]}}},then:{required:["name"]}}]}),onlineUrl:{type:"string"},onlineDetails:{type:"string"},onlineCapacity:{type:"number"},onlineCapacityType:{type:"string",enum:[e.Unlimited,e.Fixed],default:e.Unlimited},summary:i,tags:a,categories:r},allOf:[o,m,T,E]});export{l as buildSchema};
@@ -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
  var s="calcite-mode-light",t="calcite-mode-dark";function o(r){let e=r?.closest(`.${t}, .${s}`);return e==null?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":e?.classList.contains(t)?"dark":"light"}export{o 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{g as c,s as $,t as d,u as f,v as A}from"./LVYTI5YO.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w as b};
3
+ v1.0.0-next.20250530 */
4
+ import{g as c,s as $,t as d,u as f,v as A}from"./VUE2KPGT.js";var o=(t,e)=>{let s=t._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(e,!1),o(i,e);return!0},n=t=>{let e,s;do{if((e=t._$AM)===void 0)break;s=e._$AN,s.delete(t),t=e}while(s?.size===0)},v=t=>{for(let e;e=t._$AM;t=e){let s=e._$AN;if(s===void 0)e._$AN=s=new Set;else if(s.has(t))break;s.add(t),m(e)}};function p(t){this._$AN!==void 0?(n(this),this._$AM=t,v(this)):this._$AM=t}function u(t,e=!1,s=0){let i=this._$AH,_=this._$AN;if(_!==void 0&&_.size!==0)if(e)if(Array.isArray(i))for(let h=s;h<i.length;h++)o(i[h],!1),n(i[h]);else i!=null&&(o(i,!1),n(i));else o(this,t)}var m=t=>{t.type==$.CHILD&&(t._$AP??=u,t._$AQ??=p)},r=class extends f{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,s,i){super._$AT(e,s,i),v(this),this.isConnected=e._$AU}_$AO(e,s=!0){e!==this.isConnected&&(this.isConnected=e,e?this.reconnected?.():this.disconnected?.()),s&&(o(this,e),n(this))}setValue(e){if(A(this._$Ct))this._$Ct._$AI(e,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=e,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};var T=()=>new l,l=class{},a=new WeakMap,w=d(class extends r{render(t){return c}update(t,[e]){let s=e!==this.G;return s&&this.G!==void 0&&this.rt(void 0),(s||this.lt!==this.ct)&&(this.G=e,this.ht=t.options?.host,this.rt(this.ct=t.element)),c}rt(t){if(this.isConnected||(t=void 0),typeof this.G=="function"){let e=this.ht??globalThis,s=a.get(e);s===void 0&&(s=new WeakMap,a.set(e,s)),s.get(this.G)!==void 0&&this.G.call(this.ht,void 0),s.set(this.G,t),t!==void 0&&this.G.call(this.ht,t)}else this.G.value=t}get lt(){return typeof this.G=="function"?a.get(this.ht??globalThis)?.get(this.G):this.G?.value}disconnected(){this.lt===this.ct&&this.rt(void 0)}reconnected(){this.rt(this.ct)}});export{T as a,w 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 r,b as d}from"./Q5577CJV.js";import{b as o}from"./2M3XDJVT.js";import{D as n,I as a,c as t,d as s}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var h=t`/**
3
+ v1.0.0-next.20250530 */
4
+ import{a as r,b as d}from"./IWEV46QA.js";import{b as o}from"./BJMWCYCG.js";import{D as n,I as a,c as t,d as s}from"./VUE2KPGT.js";import"./OY2EULMD.js";var h=t`/**
5
5
  * @license
6
6
  * Copyright 2025 Esri
7
7
  *
@@ -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 b,e as I,k as E,l as w,w as k}from"./BFH5SRQZ.js";import{e as P}from"./TS32X4ID.js";import{n as A}from"./CLTGVNIT.js";export default $arcgis.t(([])=>{function M(s,r){let e=[];return s.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(s,r,e){if(r<1||s.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:s.length}};let t=Math.min(r+e,s.length+1),a=t<s.length?t:-1;return{cards:s.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:a,total:s.length}}}function N(s,r){let e=L(s);return T(e,r)}function T(s,r){let e=[];return r.forEach(t=>{let a=x(t);a&&s.indexOf(a)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function x(s){let r="solutionid-",e=s.typeKeywords.filter(a=>a.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function L(s){let r=[];return s.forEach(e=>{let t=x(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function y(s,r,e){let t,a=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>a*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>a*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>a*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return s.sort(t),s}function Y(s){return s?k(s,{}).then(r=>Promise.resolve(!!r)):Promise.resolve(!1)}function j(s){if(s){let r=s.trim();return r?"<div>"+r+"</div>":""}else return""}function K(s){let r="",e="?";return s.forEach(t=>{t.k&&t.v&&(r+=e+t.k+"="+t.v,e="&")}),r}function G(s,r,e,t){let a="";return r?a=t+"/sharing/rest/content/items/"+s+"/info/"+r+K([{k:"w",v:"400"}]):a=e,a}function V(s,r="en"){return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric"}).format(s)}function D(s,r){let e="";return s.some(t=>t.startsWith(r)?(e=t.substring(r.length),!0):!1),e}var R=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new P({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,a,o,i){let l=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",m=this.agolPortalUrl+"/sharing/rest",B=this.anonAgolSession,S=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==S||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:S,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let n=M(this.cardCache,i);c=u(n,l,h)}else c=u(this.cardCache,l,h);return Promise.resolve(c)}let U={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},p=[];if(e){let c=a||new P({});p.push(w(e,r.q,c,U,g))}return t&&p.push(w(t,r.q,B,U,m)),Promise.allSettled(p).then(c=>{let n=[];c.forEach((d,J)=>{let O=!!e&&J===0;if(d.status==="fulfilled"){let F=d.value,f="",v=!1;O?f=this.portalUrl:(f=this.agolPortalUrl,v=!0),F.results.forEach(q=>{q.sourcePortalUrl=f,q.knownToBePublicSource=v}),n.push(F)}else if(d.status==="rejected")throw new Error(O?d.reason.message:"enterpriseCannotAccessAGO")}),n.length===0?this.cardCache=[]:n.length===1?this.cardCache=this.getCardsFromResponse(n[0]):this.cardCache=y(this.getCardsFromResponse(this.mergeResponses(n)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let C;if(i&&i.size>0){let d=M(this.cardCache,i);C=u(d,l,h)}else C=u(this.cardCache,l,h);return Promise.resolve(C)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let a={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return E(a).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+K([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:G(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:V(e.created,this.locale),modified:V(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:j(e.licenseInfo),deployCommonId:D(e.typeKeywords||[],"solutionid-"),deployVersion:D(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(a=>e+=a.total);let t=[];return r.forEach(a=>t=t.concat(a.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(a=>(a.format==="image"&&(a.name=t+"/sharing/rest/content/items/"+r+"/resources/"+a.name),a)):[]}};async function Z(s,r,e,t,a=A,o="created",i="desc",l=!1,h=[],g=[]){if(!s?.SignedIn)return;let m={q:a,filter:"type:Solution",sortField:o,sortOrder:i,delay:l,categories:h};return m.q+=z(s),await W(r,m,t,g)}function z(s){let r="",e=s.PortalUserOrg,t=s.PortalUserName;return e&&(r+=" orgid:"+e),t&&(r+=" owner:"+t),r}async function W(s,r,e,t){let a=await e.requestDeployedSolutionCards(r,s),o=N(a.cards,t);return{cards:a.cards,relatedSolutions:o}}return{a:Y,b:R,c:Z}},"intl")
3
+ v1.0.0-next.20250530 */
4
+ import{d as b,e as I,k as E,l as w,w as k}from"./U4AOWHPN.js";import{e as P}from"./NO2SL2YF.js";import{n as A}from"./5Y5ORVLB.js";export default $arcgis.t(([])=>{function M(s,r){let e=[];return s.forEach(t=>{r.has(t.id)&&e.push(t)}),e}function u(s,r,e){if(r<1||s.length<r)return{cards:[],paging:{start:r,num:0,nextStart:-1,total:s.length}};let t=Math.min(r+e,s.length+1),a=t<s.length?t:-1;return{cards:s.slice(r-1,t-1),paging:{start:r,num:t-r,nextStart:a,total:s.length}}}function N(s,r){let e=L(s);return T(e,r)}function T(s,r){let e=[];return r.forEach(t=>{let a=x(t);a&&s.indexOf(a)>=0&&t.relatedSolutions&&(e=e.concat(t.relatedSolutions))}),new Set(e)}function x(s){let r="solutionid-",e=s.typeKeywords.filter(a=>a.startsWith(r)),t=null;return Array.isArray(e)&&e.length>0&&(t=e[0].substring(r.length)),t}function L(s){let r=[];return s.forEach(e=>{let t=x(e);t&&r.push(t)}),r=Array.from(new Set(r)),r}function y(s,r,e){let t,a=e==="asc"?1:-1;switch(r){case"created":t=(o,i)=>a*(o.createdMs<i.createdMs?-1:o.createdMs>i.createdMs?1:0);break;case"numviews":t=(o,i)=>a*(o.numViews<i.numViews?-1:o.numViews>i.numViews?1:0);break;case"title":t=(o,i)=>a*(o.title.toLowerCase()<i.title.toLowerCase()?-1:o.title.toLowerCase()>i.title.toLowerCase()?1:0);break;default:t=()=>0;break}return s.sort(t),s}function Y(s){return s?k(s,{}).then(r=>Promise.resolve(!!r)):Promise.resolve(!1)}function j(s){if(s){let r=s.trim();return r?"<div>"+r+"</div>":""}else return""}function K(s){let r="",e="?";return s.forEach(t=>{t.k&&t.v&&(r+=e+t.k+"="+t.v,e="&")}),r}function G(s,r,e,t){let a="";return r?a=t+"/sharing/rest/content/items/"+s+"/info/"+r+K([{k:"w",v:"400"}]):a=e,a}function V(s,r="en"){return new Intl.DateTimeFormat(r,{year:"numeric",month:"long",day:"numeric"}).format(s)}function D(s,r){let e="";return s.some(t=>t.startsWith(r)?(e=t.substring(r.length),!0):!1),e}var R=class{constructor(r,e,t){this.cMissingImageDataURI="https://static.arcgis.com/images/solution.png",this.cardCache=[],this.cardCacheParams={q:"",categoriesAsStr:"[]",sortField:"title",sortOrder:"asc"},this.locale=r,this.orgUrl=e,this.portalUrl=t,this.anonAgolSession=new P({}),this.agolPortalUrl="https://www.arcgis.com"}addToCache(r){this.cardCache.push(r)}getCache(){return this.cardCache}removeFromCache(r){this.cardCache=this.cardCache.filter(e=>e.id!==r)}requestAvailableSolutionCards(r,e,t,a,o,i){let l=o?.start?o.start:1,h=o?.num?o.num:24,g=this.portalUrl+"/sharing/rest",m=this.agolPortalUrl+"/sharing/rest",B=this.anonAgolSession,S=JSON.stringify(r.categories);if(this.cardCacheParams.q!==r.q||this.cardCacheParams.categoriesAsStr!==S||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:S,sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let c;if(i&&i.size>0){let n=M(this.cardCache,i);c=u(n,l,h)}else c=u(this.cardCache,l,h);return Promise.resolve(c)}let U={filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,categories:r?.categories?this.convertSearchCategories(r.categories):""},p=[];if(e){let c=a||new P({});p.push(w(e,r.q,c,U,g))}return t&&p.push(w(t,r.q,B,U,m)),Promise.allSettled(p).then(c=>{let n=[];c.forEach((d,J)=>{let O=!!e&&J===0;if(d.status==="fulfilled"){let F=d.value,f="",v=!1;O?f=this.portalUrl:(f=this.agolPortalUrl,v=!0),F.results.forEach(q=>{q.sourcePortalUrl=f,q.knownToBePublicSource=v}),n.push(F)}else if(d.status==="rejected")throw new Error(O?d.reason.message:"enterpriseCannotAccessAGO")}),n.length===0?this.cardCache=[]:n.length===1?this.cardCache=this.getCardsFromResponse(n[0]):this.cardCache=y(this.getCardsFromResponse(this.mergeResponses(n)),this.cardCacheParams.sortField,this.cardCacheParams.sortOrder);let C;if(i&&i.size>0){let d=M(this.cardCache,i);C=u(d,l,h)}else C=u(this.cardCache,l,h);return Promise.resolve(C)}).catch(c=>Promise.reject(new Error(c.message)))}requestDeployedSolutionCards(r,e){let t=this.portalUrl+"/sharing/rest";if(this.cardCacheParams.q!==r.q||r.sortField==="relevance"?(this.cardCache=[],this.cardCacheParams={q:r.q,categoriesAsStr:"[]",sortField:r.sortField,sortOrder:r.sortOrder}):(this.cardCacheParams.sortField!==r.sortField||this.cardCacheParams.sortOrder!==r.sortOrder)&&(this.cardCacheParams.sortField=r.sortField,this.cardCacheParams.sortOrder=r.sortOrder,this.cardCache=y(this.cardCache,this.cardCacheParams.sortField,this.cardCacheParams.sortOrder)),this.cardCache.length>0){let o=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(o)}let a={q:r.q,filter:r.filter,sortField:r.sortField,sortOrder:r.sortOrder,authentication:e,portal:t,categories:r?.categories?JSON.stringify(r.categories):""};return E(a).then(o=>{this.cardCache=this.getCardsFromResponse(o);let i=u(this.cardCache,1,this.cardCache.length);return Promise.resolve(i)}).catch(o=>Promise.reject(new Error(o)))}convertSearchCategories(r){return r&&(Array.isArray(r)?r=r.map(e=>JSON.stringify(Array.isArray(e)?e:[e])):r=JSON.stringify([r])),r}getCardsFromResponse(r){return r.results.length>0?b(r.results).map(e=>{let t={id:e.id,title:e.title,snippet:e.snippet||"",description:e.description||"",url:e.url||"",itemUrl:this.orgUrl+"/home/item.html"+K([{k:"id",v:e.id}])||"",thumbnailFilename:e.thumbnail,thumbnailUrl:G(e.id,e.thumbnail,this.cMissingImageDataURI,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),tryitUrl:e.url||"",typeKeywords:e.typeKeywords,learnMoreUrl:e.properties?.learnMoreUrl||"",createdMs:e.created,created:V(e.created,this.locale),modified:V(e.modified,this.locale),numViews:e.numViews,tags:e.tags,categories:e.groupCategories&&e.groupCategories.length>0?e.groupCategories:e.categories||[],licenseInfo:j(e.licenseInfo),deployCommonId:D(e.typeKeywords||[],"solutionid-"),deployVersion:D(e.typeKeywords||[],"solutionversion-"),canDelete:e.created>16183314e5,canDeploy:(e.typeKeywords||[]).indexOf("Display Only")<0,preview:this.preparePreviewImageUrls(e.id,e.properties?.preview,e.sourcePortalUrl?e.sourcePortalUrl:this.portalUrl),sourcePortalUrl:e.sourcePortalUrl||"",knownToBePublicSource:e.knownToBePublicSource||!1,waitId:"",relatedSolutions:I(e,"properties.relatedSolutions")||[],owner:e.owner};return t.deployCommonId!==""&&t.deployVersion!==""?t:null}).filter(e=>e!=null):[]}mergeResponses(r){let e=0;r.forEach(a=>e+=a.total);let t=[];return r.forEach(a=>t=t.concat(a.results)),{query:r[0].query,start:1,num:e,nextStart:-1,total:e,results:t}}preparePreviewImageUrls(r,e,t){return e?e.map(a=>(a.format==="image"&&(a.name=t+"/sharing/rest/content/items/"+r+"/resources/"+a.name),a)):[]}};async function Z(s,r,e,t,a=A,o="created",i="desc",l=!1,h=[],g=[]){if(!s?.SignedIn)return;let m={q:a,filter:"type:Solution",sortField:o,sortOrder:i,delay:l,categories:h};return m.q+=z(s),await W(r,m,t,g)}function z(s){let r="",e=s.PortalUserOrg,t=s.PortalUserName;return e&&(r+=" orgid:"+e),t&&(r+=" owner:"+t),r}async function W(s,r,e,t){let a=await e.requestDeployedSolutionCards(r,s),o=N(a.cards,t);return{cards:a.cards,relatedSolutions:o}}return{a:Y,b:R,c:Z}},"intl")
@@ -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 m}from"./Q5577CJV.js";import{a as p}from"./4KEBF4LC.js";import{D as c,I as h,c as r,d}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var f=r`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import"./7MSPLAAS.js";import{b as m}from"./IWEV46QA.js";import{a as p}from"./PNYGXVOF.js";import{D as c,I as h,c as r,d}from"./VUE2KPGT.js";import"./OY2EULMD.js";var f=r`/** @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{a as v}from"./RZS7265A.js";import{a as y}from"./5OFRMSV6.js";import{a as p}from"./DRS4Z435.js";import{a as d}from"./6SEI3MD4.js";import{a as E}from"./SAYEB7BP.js";import{a as s}from"./SJSKBJDQ.js";import{a as n}from"./RNNWBWHE.js";import{a}from"./ATXF6EM5.js";import{a as l}from"./UZ2HGN74.js";import{a as e}from"./3OJVS3LV.js";import{a as r}from"./EGBONIMT.js";import{a as t}from"./XEKWJEF6.js";import{a as i}from"./422X4AIN.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
3
+ v1.0.0-next.20250530 */
4
+ import{a as v}from"./W3LLXNL3.js";import{a as y}from"./H6V2DNZK.js";import{a as p}from"./3CHLZWTV.js";import{a as d}from"./UMQ6LGJX.js";import{a as E}from"./RUZUM5JL.js";import{a as s}from"./G6J2G3OU.js";import{a as n}from"./6EHPMLHH.js";import{a}from"./5HIKUFVB.js";import{a as l}from"./2WTCHQJH.js";import{a as e}from"./ZKOIDQFC.js";import{a as r}from"./5ZNOFKZT.js";import{a as t}from"./YUXVO62S.js";import{a as i}from"./UPY2LA6F.js";var x=[...r,...E,...t,...i,...p,...d,...s,...n,...a,...l,...e,...v,...y],f=["hub:card:stat"],C=["hub:card:follow"],b=["hub:card:eventGallery"],I=[...f,...C,...b],F=[...x,...I],T;(function(o){o.SHOW="SHOW",o.HIDE="HIDE",o.DISABLE="DISABLE",o.ENABLE="ENABLE",o.NONE="",o.RESET="RESET"})(T||(T={}));var c;(function(o){o.section="Section",o.control="Control",o.layout="Layout",o.slot="Slot",o.notice="Notice",o.text="Text"})(c||(c={}));var m;(function(o){o.accordion="accordion",o.accordionItem="accordionItem",o.block="block",o.stepper="stepper",o.step="step",o.subblock="subblock",o.card="card"})(m||(m={}));var u;(function(o){o.error="ERROR",o.success="SUCCESS",o.custom="CUSTOM"})(u||(u={}));export{T as a,u as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250529.1 */
4
- import{b as e,c as n,d as r}from"./TS32X4ID.js";var s=new RegExp(/.+(?:map|feature|image)server/i);function i(t){let a=t.match(s);return a?a[0]:c(t)}function c(t){let a=t.split("?")[0];return r(a)}function d(t){return e(r(t.url),t)}function x(t,a){let o=`${r(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return a.params=Object.assign({updateDefinition:{}},a.params),a.updateDefinition&&(a.params.updateDefinition=a.updateDefinition),e(o,a)}function Y(t){let a=n(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return e(`${r(t.url)}/queryRelatedRecords`,a)}export{i as a,d as b,Y as c,x as d};
3
+ v1.0.0-next.20250530 */
4
+ import{b as e,c as n,d as r}from"./NO2SL2YF.js";var s=new RegExp(/.+(?:map|feature|image)server/i);function i(t){let a=t.match(s);return a?a[0]:c(t)}function c(t){let a=t.split("?")[0];return r(a)}function d(t){return e(r(t.url),t)}function x(t,a){let o=`${r(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return a.params=Object.assign({updateDefinition:{}},a.params),a.updateDefinition&&(a.params.updateDefinition=a.updateDefinition),e(o,a)}function Y(t){let a=n(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return e(`${r(t.url)}/queryRelatedRecords`,a)}export{i as a,d as b,Y as c,x as d};
@@ -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,b as i,c as l,d as s,e as t}from"./LPCTO7JL.js";import{a as r}from"./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 d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250530 */
4
+ import{a as e,b as i,c as l,d as s,e as t}from"./TZB4SIVB.js";import{a as r}from"./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 d=async(o,p,a)=>({type:"Layout",elements:[{type:"Notice",options:{notice:{id:"metric-editor-preview-notice",title:"{{shared.notices.metrics.preview.label:translate}}",message:"{{shared.notices.metrics.preview.message:translate}}",configuration:{noticeType:"notice",icon:!0,kind:"info",closable:!1,scale:"s"}}}},{type:"Section",labelKey:"shared.sections.metrics.basic.label",elements:[{labelKey:"shared.fields.metrics.cardTitle.label",scope:"/properties/_metric/properties/cardTitle",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.cardTitle.message.required",icon:!0}]}}]},{type:"Section",labelKey:"shared.sections.metrics.source.label",elements:[{labelKey:"shared.fields.metrics.type.label",scope:"/properties/_metric/properties/type",type:"Control",options:{control:"hub-field-input-tile-select",rules:[[],[],[{effect:r.SHOW,conditions:[!1]}]],enum:{i18nScope:"shared.fields.metrics.type.enum"}}},{scope:"/properties/_metric/properties/valueType",type:"Control",labelKey:"shared.fields.metrics.valueType.label",rule:e,options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:"shared.fields.metrics.valueType.helperText",placement:"top"},enum:{i18nScope:"shared.fields.metrics.valueType.enum"}}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[i],options:{control:"hub-field-input-input",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[l],options:{control:"hub-field-input-input",type:"number",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{labelKey:"shared.fields.metrics.value.label",scope:"/properties/_metric/properties/value",type:"Control",rules:[s],options:{control:"hub-field-input-date",clearOnHidden:!0,messages:[{type:"ERROR",keyword:"required",labelKey:"shared.fields.metrics.value.message.required",icon:!0}]}},{scope:"/properties/_metric/properties/dynamicMetric",type:"Control",labelKey:"shared.fields.metrics.dynamicMetric.label",rule:t,options:{control:"hub-composite-input-service-query-metric"}},{labelKey:"shared.fields.metrics.unit.label",scope:"/properties/_metric/properties/unit",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unit.helperText",placement:"top"}}},{labelKey:"shared.fields.metrics.unitPosition.label",scope:"/properties/_metric/properties/unitPosition",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.unitPosition.helperText",placement:"bottom"},control:"hub-field-input-select",enum:{i18nScope:"shared.fields.metrics.unitPosition.enum"}}}]},{type:"Section",labelKey:"shared.sections.metrics.formatting.label",elements:[{labelKey:"shared.fields.metrics.trailingText.label",scope:"/properties/_metric/properties/trailingText",type:"Control",options:{helperText:{labelKey:"shared.fields.metrics.trailingText.helperText",placement:"bottom"}}},{labelKey:"shared.fields.metrics.sourceLink.label",scope:"/properties/_metric/properties/sourceLink",type:"Control",rule:e,options:{placeholder:"https://esri.com",messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"shared.fields.metrics.sourceLink.message.required",allowShowBeforeInteract:!0},{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}},{labelKey:"shared.fields.metrics.sourceTitle.label",scope:"/properties/_metric/properties/sourceTitle",type:"Control",rule:e},{type:"Control",scope:"/properties/_metric/properties/allowDynamicLink",labelKey:"shared.fields.metrics.allowDynamicLink.label",rule:t,options:{layout:"inline-space-between",control:"hub-field-input-switch"}}]}]}),u=async(o,p,a)=>({_metric:{cardTitle:"{{shared.fields.metrics.cardTitle.label:translate}}"}});export{u as buildDefaults,d as buildUiSchema};
@@ -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 c,b as n,c as y}from"./NNKQPDXS.js";import{a,b as s}from"./Q5577CJV.js";import{D as m,I as d,c as u,d as t,o as p}from"./LVYTI5YO.js";import"./EUCKEPMP.js";var h=u`/** @license
3
+ v1.0.0-next.20250530 */
4
+ import{a as c,b as n,c as y}from"./474ZEOFB.js";import{a,b as s}from"./IWEV46QA.js";import{D as m,I as d,c as u,d as t,o as p}from"./VUE2KPGT.js";import"./OY2EULMD.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,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 n}from"./CAIDATL7.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};
3
+ v1.0.0-next.20250530 */
4
+ import{a as n}from"./H3YXFKQG.js";var c=["content","initiative","initiativeTemplate","page","project","site","survey","template"],p=[...c,"discussion","event","group","org","organization","user","channel"];var s=e=>p.includes(e);var u=(e,T,o)=>{let i="/",r=n({type:e});if(s(r)){let t=r;t!=="content"&&(t=`${t}s`),i=`/workspace/${t}/${T}`,o&&(i+=`/${o}`)}return i};export{u as a};