@esri/solutions-components 1.0.0-next.20250528 → 1.0.0-next.20250528.1

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 (385) hide show
  1. package/dist/cdn/{BBZU6JPM.js → 25PBJJQW.js} +2 -2
  2. package/dist/cdn/{AGVDOFMZ.js → 2BKLFFV3.js} +2 -2
  3. package/dist/cdn/{25ZWUXFO.js → 2GFLPWN7.js} +2 -2
  4. package/dist/cdn/{B2FYFHU7.js → 2XJALQPT.js} +2 -2
  5. package/dist/cdn/{FKXGGTJC.js → 35V32ZGG.js} +2 -2
  6. package/dist/cdn/{2ACVTFWH.js → 3I4NEFH6.js} +2 -2
  7. package/dist/cdn/{UHGNCI7M.js → 3UDIIW5C.js} +2 -2
  8. package/dist/cdn/{WOMBW52B.js → 3VARNN3H.js} +2 -2
  9. package/dist/cdn/{MYDDP7BI.js → 3WNIWICF.js} +1 -1
  10. package/dist/cdn/{VTPBT7MQ.js → 43IF6RVS.js} +2 -2
  11. package/dist/cdn/{DRMYZSAV.js → 43OPIVHU.js} +2 -2
  12. package/dist/cdn/{YHDZXWFB.js → 4BCOHKBU.js} +2 -2
  13. package/dist/cdn/4CZ6KARN.js +4 -0
  14. package/dist/cdn/{MGD53ADT.js → 4EEFLJ7L.js} +2 -2
  15. package/dist/cdn/{DX5OVPFT.js → 4FJ6YIEW.js} +2 -2
  16. package/dist/cdn/{SDPZNJWX.js → 4ICGVS3H.js} +2 -2
  17. package/dist/cdn/{JFS4GZ6K.js → 4KQPYQDK.js} +1 -1
  18. package/dist/cdn/{6CWLNSWC.js → 5GTGLHQA.js} +2 -2
  19. package/dist/cdn/{EMWBSXP7.js → 5P7OI5M3.js} +2 -2
  20. package/dist/cdn/{WF52YQCF.js → 5R67XATC.js} +2 -2
  21. package/dist/cdn/{4KRD733S.js → 6CDGGVGE.js} +1 -1
  22. package/dist/cdn/{2QJG47YD.js → 6CNRWGJ4.js} +2 -2
  23. package/dist/cdn/{W7XBKGFN.js → 6EP7M7XJ.js} +2 -2
  24. package/dist/cdn/{UWM44QLQ.js → 6GZ3P7MW.js} +2 -2
  25. package/dist/cdn/{TUGBBV6B.js → 6HHL5FY3.js} +2 -2
  26. package/dist/cdn/{NGTSVG7L.js → 6NZPPYBU.js} +2 -2
  27. package/dist/cdn/{ST5JB4CK.js → 72HVUAV7.js} +2 -2
  28. package/dist/cdn/{SEPT44JR.js → 77Q75LZE.js} +2 -2
  29. package/dist/cdn/{4ZZ767AP.js → 7B4R56TM.js} +2 -2
  30. package/dist/cdn/{SWWLO6K6.js → 7EPNN646.js} +2 -2
  31. package/dist/cdn/{DXKDQ4AX.js → 7O72W7MF.js} +2 -2
  32. package/dist/cdn/{RAYJRNTN.js → 7PBXJUEO.js} +2 -2
  33. package/dist/cdn/{4JGCEBGT.js → 7TRQSZUN.js} +1 -1
  34. package/dist/cdn/{INHRZ23K.js → AICVPUBP.js} +2 -2
  35. package/dist/cdn/{6XZWFS7Y.js → AJGIKTXY.js} +1 -1
  36. package/dist/cdn/{IJIQR7LK.js → AK7RIEHS.js} +2 -2
  37. package/dist/cdn/{YKWSPTR2.js → ANGZ4WNK.js} +2 -2
  38. package/dist/cdn/{SXHBKU6W.js → ATD6DCLS.js} +2 -2
  39. package/dist/cdn/{X6X5OCFG.js → ATVPQHJY.js} +2 -2
  40. package/dist/cdn/{XIBAIK2Z.js → AUPBYR3G.js} +2 -2
  41. package/dist/cdn/{GP7NQO7J.js → AYFLC652.js} +2 -2
  42. package/dist/cdn/{M4VWLPTM.js → B3LCPBNL.js} +2 -2
  43. package/dist/cdn/{6PVCA5ZX.js → B7PLQJPS.js} +2 -2
  44. package/dist/cdn/{4433JH2R.js → BQJ4XZB4.js} +1 -1
  45. package/dist/cdn/{DYIHGLWU.js → BQWBXINS.js} +2 -2
  46. package/dist/cdn/{UBZ6KMGN.js → BTD7DMX5.js} +2 -2
  47. package/dist/cdn/{CVIE4PDN.js → BUFXQMR4.js} +1 -1
  48. package/dist/cdn/BYQMGQYW.js +4 -0
  49. package/dist/cdn/{EOQESQYS.js → BZAHWVGQ.js} +1 -1
  50. package/dist/cdn/{SOLDJVDR.js → C2QYX64L.js} +2 -2
  51. package/dist/cdn/{L7R6K4A2.js → C6CUID27.js} +1 -1
  52. package/dist/cdn/{ZKIE5GVW.js → CBDBYDEC.js} +2 -2
  53. package/dist/cdn/{ZSU4BSTS.js → CDAJFWOQ.js} +3 -3
  54. package/dist/cdn/{44MEZFTF.js → CFAG2FSB.js} +2 -2
  55. package/dist/cdn/{T74GEZCH.js → CHQTMB53.js} +2 -2
  56. package/dist/cdn/{FCJVHDUH.js → CJWTSXB2.js} +2 -2
  57. package/dist/cdn/{MQKIZQYU.js → CKS2TCJA.js} +3 -3
  58. package/dist/cdn/{UKW7WIFN.js → CQDWK2WT.js} +2 -2
  59. package/dist/cdn/{M2TA6G4S.js → CQVD5CBU.js} +2 -2
  60. package/dist/cdn/{55BUMEUY.js → CSHPIQ5D.js} +2 -2
  61. package/dist/cdn/CSLY3NAJ.js +4 -0
  62. package/dist/cdn/{FII3CMHX.js → CY46FXGX.js} +2 -2
  63. package/dist/cdn/{GNLAD5Z6.js → D47MDJ3H.js} +1 -1
  64. package/dist/cdn/{TOODIZT4.js → D7KUWDF4.js} +2 -2
  65. package/dist/cdn/{FR3L4TW7.js → DTGGAA3W.js} +2 -2
  66. package/dist/cdn/{BVKD52TV.js → DWC5BEDO.js} +1 -1
  67. package/dist/cdn/{EI6DJKRP.js → E4W6U2SB.js} +2 -2
  68. package/dist/cdn/{UC5VQMM6.js → EBAAUYON.js} +2 -2
  69. package/dist/cdn/{W5OOXAU4.js → ECUWZTYK.js} +1 -1
  70. package/dist/cdn/{GMA3NBTA.js → EEA33WZI.js} +2 -2
  71. package/dist/cdn/{C47XZYAG.js → EEPQSN7Q.js} +2 -2
  72. package/dist/cdn/{6N2DIXJF.js → EMLYZ2SS.js} +2 -2
  73. package/dist/cdn/{OX2K54DK.js → ETIBVIWV.js} +2 -2
  74. package/dist/cdn/{GXXVAQDK.js → F3PTGHYO.js} +2 -2
  75. package/dist/cdn/{QUJHDDZX.js → F53ZDM22.js} +1 -1
  76. package/dist/cdn/{65N7XAWB.js → FCUG4KCK.js} +1 -1
  77. package/dist/cdn/{YFZCGZOB.js → FGXWHEON.js} +2 -2
  78. package/dist/cdn/{5IAANDGE.js → FHO5VR6B.js} +2 -2
  79. package/dist/cdn/{BV7DCC4N.js → FJFCA3JN.js} +2 -2
  80. package/dist/cdn/{LSAVJADZ.js → FRFEDLSJ.js} +2 -2
  81. package/dist/cdn/{DFKPE66D.js → FU7XT4WQ.js} +2 -2
  82. package/dist/cdn/{RXO3BGVO.js → G24GFGOQ.js} +2 -2
  83. package/dist/cdn/{JDVDAXYA.js → G2LRWQIG.js} +2 -2
  84. package/dist/cdn/{E6VMU3PC.js → G5U4WJ6F.js} +2 -2
  85. package/dist/cdn/{AMJZ2LFK.js → GBW3TB6N.js} +2 -2
  86. package/dist/cdn/{D5UC5SVZ.js → GE7Z77AB.js} +2 -2
  87. package/dist/cdn/{QQCYF2HJ.js → GEXPP6OZ.js} +2 -2
  88. package/dist/cdn/{7EJ7QFCG.js → GFGFGTPN.js} +3 -3
  89. package/dist/cdn/{NYLKYV7F.js → GMXEQORB.js} +2 -2
  90. package/dist/cdn/{BLY5B6IS.js → GOJUA34O.js} +1 -1
  91. package/dist/cdn/{WHWBIGAH.js → GPPR5STT.js} +2 -2
  92. package/dist/cdn/{F7J5AVP6.js → GUKAJOM3.js} +1 -1
  93. package/dist/cdn/{AKIPP4VC.js → GWBHN5NX.js} +2 -2
  94. package/dist/cdn/{OLFBYRLF.js → GWZZSWGD.js} +2 -2
  95. package/dist/cdn/H2B7HOSC.js +4 -0
  96. package/dist/cdn/{ABFH5NTH.js → HQRVKXX3.js} +2 -2
  97. package/dist/cdn/{BRT74BII.js → HRPJRXCN.js} +2 -2
  98. package/dist/cdn/{KV7CP4TD.js → HSQGDLNP.js} +2 -2
  99. package/dist/cdn/{EKDX37DH.js → I6S2QECH.js} +2 -2
  100. package/dist/cdn/{SC3ZFF3Y.js → I6XJAIFC.js} +2 -2
  101. package/dist/cdn/{ANX7JVYO.js → IE537KVP.js} +2 -2
  102. package/dist/cdn/{TRAZ3VPR.js → IFDRGA6G.js} +2 -2
  103. package/dist/cdn/IOMQBKLV.js +4 -0
  104. package/dist/cdn/{N7CW4A4R.js → IPQ4FLYZ.js} +2 -2
  105. package/dist/cdn/{CFTM5CZE.js → IS7TFPZJ.js} +2 -2
  106. package/dist/cdn/{4EDDSKZS.js → IYU2EMNF.js} +1 -1
  107. package/dist/cdn/{24W4CW4F.js → J6V5STA2.js} +2 -2
  108. package/dist/cdn/JDNXYCIG.js +4 -0
  109. package/dist/cdn/{HITN2DRN.js → JFW3ETMX.js} +1 -1
  110. package/dist/cdn/{7LP7G3G5.js → JKUIOQXV.js} +2 -2
  111. package/dist/cdn/{HMLEGLZ7.js → JLDFHYKB.js} +2 -2
  112. package/dist/cdn/{X3LPGOUH.js → JLOUT5MX.js} +2 -2
  113. package/dist/cdn/{QU6F2S3L.js → JPKSZ5IW.js} +2 -2
  114. package/dist/cdn/{CO5U6E2B.js → JQ2FK77O.js} +2 -2
  115. package/dist/cdn/{BYTWF7MG.js → JR76OCEB.js} +2 -2
  116. package/dist/cdn/{VC6W4X4W.js → JSGP47F6.js} +1 -1
  117. package/dist/cdn/{TM4ZSPAB.js → JTR2SH4G.js} +2 -2
  118. package/dist/cdn/{E645QUGL.js → JU2E7OJJ.js} +2 -2
  119. package/dist/cdn/{25RUIQSO.js → JV6ZPBUH.js} +2 -2
  120. package/dist/cdn/{CN7CLX6P.js → JXE3ERND.js} +2 -2
  121. package/dist/cdn/{QTIN4PMT.js → KANXN4TE.js} +2 -2
  122. package/dist/cdn/{LOIPX2ER.js → KCERPNOX.js} +2 -2
  123. package/dist/cdn/{ZSYHLMKN.js → KGCLTR2S.js} +1 -1
  124. package/dist/cdn/{BPPOS7VC.js → KH77SOOF.js} +1 -1
  125. package/dist/cdn/{FEZB7BTL.js → KHX3R2Z4.js} +2 -2
  126. package/dist/cdn/{BUTQMMJS.js → KIBBTGLB.js} +2 -2
  127. package/dist/cdn/{UFWRGJDV.js → KIFEL7BK.js} +2 -2
  128. package/dist/cdn/{5VBCGIEG.js → KLOTZOBR.js} +2 -2
  129. package/dist/cdn/{V6KN5QPT.js → KNTNR7IZ.js} +2 -2
  130. package/dist/cdn/{M7IGOHUD.js → KONDPSKH.js} +2 -2
  131. package/dist/cdn/{RSWKNEWY.js → KQUX7BEF.js} +2 -2
  132. package/dist/cdn/{L4PVVSFZ.js → KREDNK7J.js} +2 -2
  133. package/dist/cdn/{2SL6Z6TM.js → KRGDTQIC.js} +2 -2
  134. package/dist/cdn/{NBW6TGCY.js → KSS3APGW.js} +2 -2
  135. package/dist/cdn/{T3JY6H4E.js → KTBOVBO5.js} +2 -2
  136. package/dist/cdn/{Q5UREG2V.js → L3QLTAE7.js} +1 -1
  137. package/dist/cdn/{24WYI66F.js → LAMCTX2N.js} +2 -2
  138. package/dist/cdn/{X5DGQ5OF.js → LDBZTZKY.js} +2 -2
  139. package/dist/cdn/{HQHIIMPM.js → LDUWYS5W.js} +2 -2
  140. package/dist/cdn/{HA3GGXFE.js → LEPBL2Y4.js} +2 -2
  141. package/dist/cdn/{EJ5VJ4MH.js → LGDOEW7U.js} +2 -2
  142. package/dist/cdn/{LEY2V5RH.js → LGMAK23W.js} +2 -2
  143. package/dist/cdn/{RURXPJYT.js → LIA4W3XJ.js} +2 -2
  144. package/dist/cdn/{C6W4EBHD.js → LLDUTJLC.js} +2 -2
  145. package/dist/cdn/{X4HL3D2I.js → LSN7P2WQ.js} +2 -2
  146. package/dist/cdn/{QFZ4AJSY.js → LUEDPLY5.js} +2 -2
  147. package/dist/cdn/{DNCEXQFU.js → LVMAXE6W.js} +2 -2
  148. package/dist/cdn/{6N7OJ52Y.js → M3IHDXDC.js} +2 -2
  149. package/dist/cdn/{FYTWFRTO.js → MD4FE2CK.js} +1 -1
  150. package/dist/cdn/{XQFJPY6R.js → MEJKJ4M5.js} +2 -2
  151. package/dist/cdn/{NVQA2OXP.js → MIYEYP2E.js} +2 -2
  152. package/dist/cdn/{5ENIF5PT.js → MKKLL5ZS.js} +2 -2
  153. package/dist/cdn/{J5J7VURJ.js → MLUU7VQW.js} +2 -2
  154. package/dist/cdn/{UD7F6DCG.js → MV7WFJWQ.js} +1 -1
  155. package/dist/cdn/{T33NVZXY.js → MXWAIEZD.js} +2 -2
  156. package/dist/cdn/{JUSJWXDQ.js → MZR4QIPT.js} +1 -1
  157. package/dist/cdn/{YWGNQDQM.js → N25XK6FN.js} +1 -1
  158. package/dist/cdn/{RE44UO66.js → ND675HM5.js} +1 -1
  159. package/dist/cdn/{XI7PRITM.js → NDIWTIWO.js} +2 -2
  160. package/dist/cdn/{HVU2EO42.js → NG7TRKJC.js} +2 -2
  161. package/dist/cdn/NHLCW2BL.js +4 -0
  162. package/dist/cdn/{CYUT3EFC.js → NLEAVUXF.js} +2 -2
  163. package/dist/cdn/{MSJQ4JDQ.js → NQ4GJ2EY.js} +1 -1
  164. package/dist/cdn/{UDLBJXHJ.js → NRKV4EJ5.js} +2 -2
  165. package/dist/cdn/{IUZA5X57.js → NX52APT5.js} +2 -2
  166. package/dist/cdn/{NK3PNJXB.js → NXSWGBEL.js} +2 -2
  167. package/dist/cdn/{5RNOJK2U.js → NYVDHE7E.js} +2 -2
  168. package/dist/cdn/{URWOL2IQ.js → O3VZ3S2D.js} +2 -2
  169. package/dist/cdn/{E7E3UI3G.js → O5J4RJ7B.js} +2 -2
  170. package/dist/cdn/{MI5ZANBW.js → O5KMAS35.js} +2 -2
  171. package/dist/cdn/{5YIEEOQO.js → O6HZLBPG.js} +2 -2
  172. package/dist/cdn/{LFZ4GYFK.js → O6O3MX2S.js} +2 -2
  173. package/dist/cdn/{Y57AHJQ2.js → OC7VO4DN.js} +2 -2
  174. package/dist/cdn/{LUZ6KCKH.js → OFT4RWEQ.js} +2 -2
  175. package/dist/cdn/{FZRUF6CO.js → OGZ3UIZT.js} +2 -2
  176. package/dist/cdn/{FGFMYMTA.js → OH2C77EU.js} +2 -2
  177. package/dist/cdn/{VFEXPJTW.js → OLCSJ76K.js} +2 -2
  178. package/dist/cdn/OTBCJJWT.js +18 -0
  179. package/dist/cdn/{MJEB763W.js → OWFH5BT6.js} +1 -1
  180. package/dist/cdn/{HBJLJEV6.js → OXNEUTDS.js} +2 -2
  181. package/dist/cdn/{YP6FSEFL.js → OYGGU32Q.js} +4 -4
  182. package/dist/cdn/{LMK5U4FX.js → P3YM6KJZ.js} +2 -2
  183. package/dist/cdn/{ZHH6EKP5.js → PDSHIJNC.js} +2 -2
  184. package/dist/cdn/{AAQIWO65.js → PEAUVPGM.js} +2 -2
  185. package/dist/cdn/{CEDHHVFY.js → PIIJOLSO.js} +2 -2
  186. package/dist/cdn/{YQNXV3P3.js → PMGGZDUN.js} +2 -2
  187. package/dist/cdn/{D3FZEWBP.js → PQYDJLKT.js} +1 -1
  188. package/dist/cdn/{TI446Z7R.js → PRJAT3UX.js} +2 -2
  189. package/dist/cdn/{GKMXDGZF.js → PTJY6HJV.js} +2 -2
  190. package/dist/cdn/{37VSZ3UG.js → PW6BCLMM.js} +2 -2
  191. package/dist/cdn/{67VSRPIM.js → PWAKHJK5.js} +2 -2
  192. package/dist/cdn/{BWTP5UGR.js → Q5XIIJWU.js} +2 -2
  193. package/dist/cdn/{R6U6QOKC.js → QAYAJ4FV.js} +2 -2
  194. package/dist/cdn/{75AICF3J.js → QB3JQLSH.js} +1 -1
  195. package/dist/cdn/{A3VAIZ52.js → QBAOABKC.js} +2 -2
  196. package/dist/cdn/{3LVLGGLP.js → QJF7KQWQ.js} +2 -2
  197. package/dist/cdn/{WLHFDDBG.js → QTWHZ3DL.js} +2 -2
  198. package/dist/cdn/{5VQIZRBI.js → R73PDU63.js} +1 -1
  199. package/dist/cdn/{KRBE6UMS.js → RCJYMJC7.js} +1 -1
  200. package/dist/cdn/{52W5VWDL.js → RHIPAMD6.js} +1 -1
  201. package/dist/cdn/{ZA32GRGJ.js → RPFPO2CV.js} +2 -2
  202. package/dist/cdn/{DMPPY7GI.js → RTK3SRIT.js} +2 -2
  203. package/dist/cdn/{GDOS5KO6.js → RV2K4TCT.js} +2 -2
  204. package/dist/cdn/{G24WN4EN.js → S6W7RXCG.js} +2 -2
  205. package/dist/cdn/{EKVI5K4J.js → SDZEVUAE.js} +2 -2
  206. package/dist/cdn/{BLLKRGVR.js → SJRG6HSF.js} +2 -2
  207. package/dist/cdn/{MB7QENIY.js → SJXIUCRN.js} +1 -1
  208. package/dist/cdn/{H2NSBFWF.js → SXA34E2S.js} +2 -2
  209. package/dist/cdn/{J7CYSJA6.js → T6F66PP6.js} +2 -2
  210. package/dist/cdn/{LXYX76VN.js → T7CCQFVO.js} +2 -2
  211. package/dist/cdn/{2S6OZOKM.js → TE37N2QX.js} +2 -2
  212. package/dist/cdn/{HIHCOY2K.js → TILTEUIM.js} +2 -2
  213. package/dist/cdn/{UZOCT7SV.js → TJ7USYVU.js} +2 -2
  214. package/dist/cdn/{O3N5NP7L.js → TNVAHKZK.js} +1 -1
  215. package/dist/cdn/{LAXD5CVD.js → TWC3U47D.js} +2 -2
  216. package/dist/cdn/{GWXVNAEF.js → TZMAAM5M.js} +2 -2
  217. package/dist/cdn/{2AYAUMKZ.js → U4QTERGW.js} +2 -2
  218. package/dist/cdn/{Z2GSRYNO.js → U7UDQUDH.js} +2 -2
  219. package/dist/cdn/{DOZD6J4O.js → UN6AJVDX.js} +2 -2
  220. package/dist/cdn/{HEMGGNXH.js → UPK424CD.js} +2 -2
  221. package/dist/cdn/{AAW2CYTN.js → UREM6GTN.js} +2 -2
  222. package/dist/cdn/{KQTZ6C5H.js → UU7VMXV4.js} +2 -2
  223. package/dist/cdn/{JNS7O2LI.js → UZTDCPJS.js} +2 -2
  224. package/dist/cdn/{VIJAXFTF.js → V52IJEN4.js} +2 -2
  225. package/dist/cdn/{ZZZOCU5W.js → V6HLBAH2.js} +2 -2
  226. package/dist/cdn/{X6UMCCK5.js → VJF4PI5U.js} +2 -2
  227. package/dist/cdn/{GUYZ6TVU.js → VMYRQS35.js} +2 -2
  228. package/dist/cdn/{5A3GJKYM.js → VOA4OGLR.js} +2 -2
  229. package/dist/cdn/{DX3SET3L.js → VPZ5SZQL.js} +2 -2
  230. package/dist/cdn/{3YNQSVNT.js → VQ6Q6POM.js} +1 -1
  231. package/dist/cdn/{XLUHLOEX.js → VSHIFJKY.js} +2 -2
  232. package/dist/cdn/{PEDUZUAO.js → VSZYFVFD.js} +2 -2
  233. package/dist/cdn/{SJ3Q55BE.js → VUPD7KXT.js} +2 -2
  234. package/dist/cdn/{5IBV6E7G.js → VWG7PXDE.js} +2 -2
  235. package/dist/cdn/{SYQODL47.js → W3GEDPI3.js} +2 -2
  236. package/dist/cdn/{ABWFIKPD.js → W5Y6RZM3.js} +2 -2
  237. package/dist/cdn/{CZXYR4ZF.js → W7L5ZB6Y.js} +2 -2
  238. package/dist/cdn/{PYJIK3CR.js → WFWVO6JC.js} +2 -2
  239. package/dist/cdn/{YFR4OJTM.js → WFZTAET5.js} +2 -2
  240. package/dist/cdn/{W3A6FIHZ.js → WIUOXWKD.js} +2 -2
  241. package/dist/cdn/{KPYNNZU2.js → WPS526RU.js} +2 -2
  242. package/dist/cdn/{APENH3LP.js → WVBNKWGH.js} +2 -2
  243. package/dist/cdn/{3L6DEVIK.js → WVH5MJSX.js} +2 -2
  244. package/dist/cdn/{E4RIBJ2G.js → WWUUOJSY.js} +2 -2
  245. package/dist/cdn/{E65KQPOC.js → WWYCJLBB.js} +2 -2
  246. package/dist/cdn/{6GACAQSQ.js → XA42UGQ7.js} +2 -2
  247. package/dist/cdn/{GJ2OS72Q.js → XGZWD23R.js} +2 -2
  248. package/dist/cdn/{3GDPB4SN.js → XIE4A7B3.js} +2 -2
  249. package/dist/cdn/{D42V7PBV.js → XKK7HJBO.js} +2 -2
  250. package/dist/cdn/{PL35BRBK.js → XT622WJC.js} +2 -2
  251. package/dist/cdn/{5XJ6SZ36.js → XTBY6TYN.js} +2 -2
  252. package/dist/cdn/{KRI567KM.js → XTJG5DFS.js} +2 -2
  253. package/dist/cdn/{OJFX5K3G.js → XUB7T7AY.js} +2 -2
  254. package/dist/cdn/{JHVRHMPX.js → XYAE4MT5.js} +2 -2
  255. package/dist/cdn/{E2FWRG3J.js → XZIMLV7H.js} +1 -1
  256. package/dist/cdn/{6CED3D3P.js → Y35URT5Q.js} +2 -2
  257. package/dist/cdn/{CH65TEDK.js → Y5PUS34W.js} +1 -1
  258. package/dist/cdn/{R5UW5BBB.js → YHLJU5F5.js} +2 -2
  259. package/dist/cdn/{7YJX66H4.js → YI5CBQRZ.js} +1 -1
  260. package/dist/cdn/{5GM4BLLQ.js → YJSQANUI.js} +2 -2
  261. package/dist/cdn/{K2P2DNKH.js → YQFC4GG5.js} +2 -2
  262. package/dist/cdn/{BLURTZNI.js → YYNAOG7P.js} +2 -2
  263. package/dist/cdn/{A32DRANT.js → Z2PPSD4G.js} +2 -2
  264. package/dist/cdn/{FXKW2C3F.js → Z3IGCQ5P.js} +2 -2
  265. package/dist/cdn/{X3SEAUPP.js → ZEXSMSCH.js} +2 -2
  266. package/dist/cdn/{X2K4VP7N.js → ZGCS2MUQ.js} +2 -2
  267. package/dist/cdn/{HTWTYESZ.js → ZGLNJWEU.js} +2 -2
  268. package/dist/cdn/{YP6O3AK4.js → ZIB46UQF.js} +2 -2
  269. package/dist/cdn/ZIBR3KWF.js +4 -0
  270. package/dist/cdn/{EL2LQYMI.js → ZQ3NC6T5.js} +2 -2
  271. package/dist/cdn/{I33AEX6O.js → ZRSXDUMU.js} +2 -2
  272. package/dist/cdn/{IHDMSZP6.js → ZWADX6AH.js} +2 -2
  273. package/dist/cdn/{QSEANYSR.js → ZXNSOMLE.js} +2 -2
  274. package/dist/cdn/{PRIGD4HE.js → ZYGUTXA6.js} +2 -2
  275. package/dist/cdn/{ZI7JVVEX.js → ZYKXXCGE.js} +2 -2
  276. package/dist/cdn/{OPNL2BKB.js → ZZOPKSTN.js} +2 -2
  277. package/dist/cdn/index.js +2 -2
  278. package/dist/chunks/Auth.js +1 -1
  279. package/dist/chunks/cardFetchingUtils.js +1 -1
  280. package/dist/chunks/common.js +1 -1
  281. package/dist/chunks/deployAppContexts.js +1 -1
  282. package/dist/chunks/downloadUtils.js +1 -1
  283. package/dist/chunks/index.js +1 -1
  284. package/dist/chunks/interfaces.js +1 -1
  285. package/dist/chunks/loadModules.js +1 -1
  286. package/dist/chunks/mapViewUtils.js +1 -1
  287. package/dist/chunks/pciUtils.js +1 -1
  288. package/dist/chunks/popupUtils.js +1 -1
  289. package/dist/chunks/publicNotificationStore.js +1 -1
  290. package/dist/chunks/queryUtils.js +1 -1
  291. package/dist/chunks/runtime.js +1 -1
  292. package/dist/chunks/solution-store.js +1 -1
  293. package/dist/chunks/templates.js +1 -1
  294. package/dist/chunks/useT9n.js +1 -1
  295. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  296. package/dist/components/basemap-gallery/customElement.js +1 -1
  297. package/dist/components/buffer-tools/customElement.js +1 -1
  298. package/dist/components/card-manager/customElement.js +2 -2
  299. package/dist/components/consent-manager/customElement.js +1 -1
  300. package/dist/components/create-feature/customElement.js +1 -1
  301. package/dist/components/create-related-feature/customElement.js +1 -1
  302. package/dist/components/crowdsource-manager/customElement.js +6 -6
  303. package/dist/components/crowdsource-reporter/customElement.d.ts +12 -0
  304. package/dist/components/crowdsource-reporter/customElement.js +3 -3
  305. package/dist/components/deduct-calculator/customElement.js +1 -1
  306. package/dist/components/delete-button/customElement.js +1 -1
  307. package/dist/components/delete-dialog/customElement.js +1 -1
  308. package/dist/components/edit-card/customElement.js +1 -1
  309. package/dist/components/feature-details/customElement.js +1 -1
  310. package/dist/components/feature-list/customElement.js +1 -1
  311. package/dist/components/field-selection/customElement.js +1 -1
  312. package/dist/components/floor-filter/customElement.js +1 -1
  313. package/dist/components/info-card/customElement.d.ts +1 -1
  314. package/dist/components/info-card/customElement.js +2 -2
  315. package/dist/components/json-editor/customElement.js +1 -1
  316. package/dist/components/layer-list/customElement.js +1 -1
  317. package/dist/components/layer-table/customElement.js +1 -1
  318. package/dist/components/map-card/customElement.js +1 -1
  319. package/dist/components/map-draw-tools/customElement.js +1 -1
  320. package/dist/components/map-fullscreen/customElement.js +1 -1
  321. package/dist/components/map-layer-picker/customElement.js +1 -1
  322. package/dist/components/map-legend/customElement.js +1 -1
  323. package/dist/components/map-picker/customElement.js +1 -1
  324. package/dist/components/map-search/customElement.js +1 -1
  325. package/dist/components/map-select-tools/customElement.js +1 -1
  326. package/dist/components/map-tools/customElement.js +1 -1
  327. package/dist/components/pci-calculator/customElement.js +1 -1
  328. package/dist/components/pdf-download/customElement.js +1 -1
  329. package/dist/components/public-notification/customElement.js +1 -1
  330. package/dist/components/refine-selection/customElement.js +1 -1
  331. package/dist/components/selection-tool/customElement.js +1 -1
  332. package/dist/components/solution-article-card/customElement.js +1 -1
  333. package/dist/components/solution-configuration/customElement.js +1 -1
  334. package/dist/components/solution-configure-panel/customElement.js +1 -1
  335. package/dist/components/solution-configure-titles/customElement.js +1 -1
  336. package/dist/components/solution-contents/customElement.js +1 -1
  337. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  338. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  339. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  340. package/dist/components/solution-deployed-card/customElement.js +1 -1
  341. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  342. package/dist/components/solution-details-card/customElement.js +1 -1
  343. package/dist/components/solution-details-panel/customElement.js +1 -1
  344. package/dist/components/solution-item/customElement.js +1 -1
  345. package/dist/components/solution-item-accordion/customElement.js +1 -1
  346. package/dist/components/solution-item-details/customElement.js +1 -1
  347. package/dist/components/solution-item-icon/customElement.js +1 -1
  348. package/dist/components/solution-item-sharing/customElement.js +1 -1
  349. package/dist/components/solution-items-diagram/customElement.js +1 -1
  350. package/dist/components/solution-organization-variables/customElement.js +1 -1
  351. package/dist/components/solution-resource-item/customElement.js +1 -1
  352. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  353. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  354. package/dist/components/solution-template-data/customElement.js +1 -1
  355. package/dist/components/solution-variables/customElement.js +1 -1
  356. package/dist/components/solutions-all-panel/customElement.js +1 -1
  357. package/dist/components/solutions-all-shell/customElement.js +1 -1
  358. package/dist/components/solutions-article-panel/customElement.js +1 -1
  359. package/dist/components/solutions-articles/customElement.js +1 -1
  360. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  361. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  362. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  363. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  364. package/dist/components/spatial-ref/customElement.js +1 -1
  365. package/dist/components/store-manager/customElement.js +1 -1
  366. package/dist/docs/api.json +62 -4
  367. package/dist/docs/docs.json +47 -3
  368. package/dist/docs/vscode.html-custom-data.json +10 -0
  369. package/dist/docs/web-types.json +29 -3
  370. package/dist/index.js +1 -1
  371. package/dist/loader.js +2 -2
  372. package/dist/types/lumina.d.ts +1 -1
  373. package/dist/types/preact.d.ts +1 -1
  374. package/dist/types/react.d.ts +1 -1
  375. package/dist/types/stencil.d.ts +1 -1
  376. package/package.json +1 -1
  377. package/dist/cdn/E24CFSF6.js +0 -4
  378. package/dist/cdn/GFYWDQWM.js +0 -4
  379. package/dist/cdn/HMVKLXKH.js +0 -4
  380. package/dist/cdn/I4DHTV7R.js +0 -4
  381. package/dist/cdn/JCWMZ7NC.js +0 -4
  382. package/dist/cdn/JWTZEV6W.js +0 -4
  383. package/dist/cdn/LLEBDKSN.js +0 -18
  384. package/dist/cdn/MCX2WJIW.js +0 -4
  385. package/dist/cdn/Y7EKW72S.js +0 -4
@@ -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.20250528 */
4
- import{a as m}from"./XLUHLOEX.js";import{a as i}from"./HIHCOY2K.js";import"./EKDX37DH.js";import{a as c}from"./MGD53ADT.js";import"./TM4ZSPAB.js";import"./4EDDSKZS.js";import"./UD7F6DCG.js";import"./BLY5B6IS.js";import{a as n,b as p}from"./ZHH6EKP5.js";import"./AMJZ2LFK.js";import"./W3A6FIHZ.js";import{a}from"./24WYI66F.js";import{a as r}from"./UDLBJXHJ.js";import"./AAQIWO65.js";import"./D3FZEWBP.js";import"./FYTWFRTO.js";import"./HITN2DRN.js";import"./UFWRGJDV.js";import"./4KRD733S.js";import"./HA3GGXFE.js";import"./JUSJWXDQ.js";import"./ABFH5NTH.js";import"./YHDZXWFB.js";import"./CYUT3EFC.js";import"./M4VWLPTM.js";import"./AGVDOFMZ.js";import"./X5DGQ5OF.js";import"./LUZ6KCKH.js";import"./WF52YQCF.js";import"./MJEB763W.js";import"./SXHBKU6W.js";import"./75AICF3J.js";import"./5XJ6SZ36.js";import"./RAYJRNTN.js";import"./6CWLNSWC.js";import"./L7R6K4A2.js";import"./M2TA6G4S.js";import"./X4HL3D2I.js";import"./YWGNQDQM.js";import"./ZSYHLMKN.js";import"./6XZWFS7Y.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as m}from"./VSHIFJKY.js";import{a as i}from"./TILTEUIM.js";import"./I6S2QECH.js";import{a as c}from"./4EEFLJ7L.js";import"./JTR2SH4G.js";import"./IYU2EMNF.js";import"./MV7WFJWQ.js";import"./GOJUA34O.js";import{a as n,b as p}from"./PDSHIJNC.js";import"./GBW3TB6N.js";import"./WIUOXWKD.js";import{a}from"./LAMCTX2N.js";import{a as r}from"./NRKV4EJ5.js";import"./PEAUVPGM.js";import"./PQYDJLKT.js";import"./MD4FE2CK.js";import"./JFW3ETMX.js";import"./KIFEL7BK.js";import"./6CDGGVGE.js";import"./LEPBL2Y4.js";import"./MZR4QIPT.js";import"./HQRVKXX3.js";import"./4BCOHKBU.js";import"./NLEAVUXF.js";import"./B3LCPBNL.js";import"./2BKLFFV3.js";import"./LDBZTZKY.js";import"./OFT4RWEQ.js";import"./5R67XATC.js";import"./OWFH5BT6.js";import"./ATD6DCLS.js";import"./QB3JQLSH.js";import"./XTBY6TYN.js";import"./7PBXJUEO.js";import"./5GTGLHQA.js";import"./C6CUID27.js";import"./CQVD5CBU.js";import"./LSN7P2WQ.js";import"./N25XK6FN.js";import"./KGCLTR2S.js";import"./AJGIKTXY.js";function s(e){return["myContent","favorites","organization","world"].map(o=>i("shared.fields.featuredContent",o,"item",{user:e}))}var T=async(e,l,t)=>{var o;return{type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.summary.label`,scope:"/properties/summary",type:"Control",options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.purpose.maxLengthError"}]}},...c(e,l.thumbnail,l.thumbnailUrl,"project",t.requestOptions),{type:"Section",labelKey:`${e}.sections.description.label`,options:{section:"block"},elements:[{labelKey:`${e}.fields.description.label`,scope:"/properties/description",type:"Control",options:{control:"hub-field-input-rich-text",type:"textarea"}}]},{type:"Section",labelKey:`${e}.sections.discoverability.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.discoverability.helperText`}},elements:[{labelKey:`${e}.fields.tags.label`,scope:"/properties/tags",type:"Control",options:{control:"hub-field-input-combobox",items:await r(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await a(e,t)]}]},{type:"Section",labelKey:`${e}.sections.location.label`,elements:[{scope:"/properties/location",type:"Control",options:{control:"hub-field-input-location-picker",extent:await n(l.location,t.hubRequestOptions),options:await p(l.id,l.type,l.location,t.portal.name,t.hubRequestOptions),noticeTitleElementAriaLevel:3}}]},{type:"Section",labelKey:`${e}.sections.status.label`,elements:[{scope:"/properties/status",type:"Control",labelKey:`${e}.fields.status.label`,options:{control:"hub-field-input-select",enum:{i18nScope:`${e}.fields.status.enum`}}},{type:"Section",labelKey:`${e}.sections.timeline.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.timeline.helperText`}},elements:[{scope:"/properties/view/properties/timeline",type:"Control",options:{control:"arcgis-hub-timeline-editor",showTitleAndDescription:!1}}]}]},{type:"Section",labelKey:"shared.sections.heroBanner.label",elements:[{type:"Section",labelKey:"shared.sections.heroActions.label",options:{section:"block",helperText:{labelKey:"shared.sections.heroActions.helperText"}},elements:[{scope:"/properties/view/properties/heroActions",type:"Control",options:{control:"hub-composite-input-action-links",type:"button",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.callToAction.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.callToAction.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0}}]}]},{type:"Section",labelKey:`${e}.sections.view.label`,elements:[{type:"Section",labelKey:`${e}.sections.view.image.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.image.helperText`}},elements:[{labelKey:"shared.fields.featuredImage.label",scope:"/properties/view/properties/featuredImage",type:"Control",options:{control:"hub-field-input-image-picker",imgSrc:m((o=l.view)===null||o===void 0?void 0:o.featuredImageUrl,t.requestOptions),maxWidth:727,maxHeight:484,aspectRatio:1.5,sizeDescription:{labelKey:"shared.fields.featuredImage.sizeDescription"}}},{labelKey:"shared.fields.featuredImage.altText.label",scope:"/properties/view/properties/featuredImageAltText",type:"Control"}]},{type:"Section",labelKey:`${e}.sections.view.embed.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.embed.helperText`}},elements:[{scope:"/properties/view/properties/embeds",type:"Control",options:{control:"hub-composite-input-embeds"}}]},{type:"Section",labelKey:`${e}.sections.view.content.label`,options:{section:"block",helperText:{labelKey:`${e}.sections.view.content.helperText`}},elements:[{scope:"/properties/view/properties/featuredContentIds",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:s(t.currentUser),facets:[{label:`{{${e}.fields.featuredContent.facets.type:translate}}`,key:"type",display:"multi-select",field:"type",options:[],operation:"OR",aggLimit:100},{label:`{{${e}.fields.featuredContent.facets.sharing:translate}}`,key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}],showAllCollectionFacet:!0,showAddContent:!0}}]}]}]}};export{T as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{a as i}from"./AMJZ2LFK.js";import{a as s,c as l,d as r}from"./W3A6FIHZ.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g as b};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as i}from"./GBW3TB6N.js";import{a as s,c as l,d as r}from"./WIUOXWKD.js";async function u(n,a){var e;return!((e=n?.extent)===null||e===void 0)&&e.length?s(n.extent):await r(a)}async function g(n,a,e,c,d){let o=await r(d);return[{label:"{{shared.fields.location.none:translate}}",location:{type:"none"}},{label:"{{shared.fields.location.org:translate}}",description:c,location:{type:"org",extent:l(o),spatialReference:o.spatialReference}},{label:"{{shared.fields.location.custom:translate}}",description:"{{shared.fields.location.customDescription:translate}}",entityType:i({type:a}),location:{type:"custom",spatialReference:o.spatialReference}}].map(t=>(!n&&t.location.type==="custom"||n&&!e&&t.location.type==="none"?t.selected=!0:e?.type===t.location.type&&(t.location=e,t.selected=!0),t))}export{u as a,g 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.20250528 */
4
- import{a as c,b as e,c as s,d as x}from"./D3FZEWBP.js";function o(r={}){return r.portal?x(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function i(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function h(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function p(r){return r.join(",")}function N(r,t){let n=b(r,t),a=Object.assign({httpMethod:"GET"},t);return e(n,a)}var b=(r,t)=>`${typeof t=="string"?t:o(t)}/content/items/${r}`;function F(r,t){let n=`${b(r,t)}/data`,a=Object.assign({httpMethod:"GET",params:{}},t);return a.file&&(a.params.f=null),e(n,a).catch(m=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(m.message))throw m})}function Y(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/delete`;return e(n,r)})}function z(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),e(n,r)})}function L(r,t){let n=r||"self",a=`${o(t)}/portals/${n}/settings`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}function y(r){return i(r).then(t=>{let n=r.folderId?`${o(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${o(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent)),e(n,r)})}function O(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),e(n,r)})}function nr(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),e(n,r)})}function I(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):i(r).then(t=>{let n=`${o(r)}/content/users/${t}`,a=`${n}/addItem`;r.folderId&&(a=`${n}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent));let m=s(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return e(a,m)})}function dr(r){let t=Object.assign({folderId:null},r);return I(t)}var f=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let n=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(c(`${n} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(c("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(c('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(c('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(c(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(c(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(c(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&c("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function l(r,t){let n;typeof r=="string"||r instanceof f?n={httpMethod:"GET",params:{q:r}}:n=s(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let a;switch(t){case"item":a="/search";break;case"group":a="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof f)&&r.groupId)a=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":a="/community/users";break;default:a="/portals/self/users/search";break}let m=o(n)+a;return e(m,n).then(u=>(u.nextStart&&u.nextStart!==-1&&(u.nextPage=function(){let d;return typeof r=="string"||r instanceof f?d={q:r,start:u.nextStart}:(d=r,d.start=u.nextStart),l(d,t)}),u))}function U(r){return l(r,"item")}function xt(r){return l(r,"groupContent")}function We(r,t){let n=r||"self",a=`${o(t)}/portals/${n}`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}export{o as a,y as b,O as c,nr as d,dr as e,N as f,F as g,Y as h,z as i,f as j,U as k,xt as l,We as m,L as n};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as c,b as e,c as s,d as x}from"./PQYDJLKT.js";function o(r={}){return r.portal?x(r.portal):r.authentication&&typeof r.authentication!="string"?r.authentication.portal:"https://www.arcgis.com/sharing/rest"}function i(r){return r.owner?Promise.resolve(r.owner):r.item&&r.item.owner?Promise.resolve(r.item.owner):r.authentication&&r.authentication.getUsername?r.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function h(r){return Array.isArray(r)&&Array.isArray(r[0])&&Array.isArray(r[1])}function p(r){return r.join(",")}function N(r,t){let n=b(r,t),a=Object.assign({httpMethod:"GET"},t);return e(n,a)}var b=(r,t)=>`${typeof t=="string"?t:o(t)}/content/items/${r}`;function F(r,t){let n=`${b(r,t)}/data`,a=Object.assign({httpMethod:"GET",params:{}},t);return a.file&&(a.params.f=null),e(n,a).catch(m=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(m.message))throw m})}function Y(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/delete`;return e(n,r)})}function z(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/removeResources`;return r.params=Object.assign(Object.assign({},r.params),{resource:r.resource}),typeof r.deleteAll<"u"&&(r.params.deleteAll=r.deleteAll),e(n,r)})}function L(r,t){let n=r||"self",a=`${o(t)}/portals/${n}/settings`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}function y(r){return i(r).then(t=>{let n=r.folderId?`${o(r)}/content/users/${t}/${r.folderId}/items/${r.item.id}/update`:`${o(r)}/content/users/${t}/items/${r.item.id}/update`;return r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent)),e(n,r)})}function O(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/updateResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content},r.params),typeof r.private<"u"&&(r.params.access=r.private?"private":"inherit"),e(n,r)})}function nr(r){return i(r).then(t=>{let n=`${o(r)}/content/users/${t}/items/${r.id}/addResources`;return r.params=Object.assign({file:r.resource,fileName:r.name,resourcesPrefix:r.prefix,text:r.content,access:r.private?"private":"inherit"},r.params),e(n,r)})}function I(r){return r.multipart&&!r.filename?Promise.reject(new Error("The filename is required for a multipart request.")):i(r).then(t=>{let n=`${o(r)}/content/users/${t}`,a=`${n}/addItem`;r.folderId&&(a=`${n}/${r.folderId}/addItem`),r.params=Object.assign(Object.assign({},r.params),r.item),r.params.extent&&h(r.params.extent)&&(r.params.extent=p(r.params.extent));let m=s(r,["owner","folderId","file","dataUrl","text","async","multipart","filename","overwrite"],{params:Object.assign({},r.params)});return e(a,m)})}function dr(r){let t=Object.assign({folderId:null},r);return I(t)}var f=class r{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let n=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?(c(`${n} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?(c("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?(c('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?(c('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new r(this.q+"")}addModifier(t){return this.currentModifer?(c(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?(c(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for(c(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&c("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function l(r,t){let n;typeof r=="string"||r instanceof f?n={httpMethod:"GET",params:{q:r}}:n=s(r,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let a;switch(t){case"item":a="/search";break;case"group":a="/community/groups";break;case"groupContent":if(typeof r!="string"&&!(r instanceof f)&&r.groupId)a=`/content/groups/${r.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":a="/community/users";break;default:a="/portals/self/users/search";break}let m=o(n)+a;return e(m,n).then(u=>(u.nextStart&&u.nextStart!==-1&&(u.nextPage=function(){let d;return typeof r=="string"||r instanceof f?d={q:r,start:u.nextStart}:(d=r,d.start=u.nextStart),l(d,t)}),u))}function U(r){return l(r,"item")}function xt(r){return l(r,"groupContent")}function We(r,t){let n=r||"self",a=`${o(t)}/portals/${n}`,m=Object.assign({httpMethod:"GET"},t);return e(a,m)}export{o as a,y as b,O as c,nr as d,dr as e,N as f,F as g,Y as h,z as i,f as j,U as k,xt as l,We as m,L as n};
@@ -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.20250528 */
4
- import{d as r}from"./7YJX66H4.js";import{a as o,b as n}from"./KV7CP4TD.js";import{D as d,E as a,I as c,c as s,d as i}from"./Q5UREG2V.js";import"./6XZWFS7Y.js";var p=s`/** @license
3
+ v1.0.0-next.20250528.1 */
4
+ import{d as r}from"./YI5CBQRZ.js";import{a as o,b as n}from"./HSQGDLNP.js";import{D as d,E as a,I as c,c as s,d as i}from"./L3QLTAE7.js";import"./AJGIKTXY.js";var p=s`/** @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.20250528 */
4
- import{a,b}from"./CYUT3EFC.js";import"./X4HL3D2I.js";import"./YWGNQDQM.js";import"./ZSYHLMKN.js";import"./6XZWFS7Y.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a,b}from"./NLEAVUXF.js";import"./LSN7P2WQ.js";import"./N25XK6FN.js";import"./KGCLTR2S.js";import"./AJGIKTXY.js";export{a as ContentEditorTypes,b as ContentSchema};
@@ -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.20250528 */
3
+ v1.0.0-next.20250528.1 */
4
4
  function L(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(r);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(r,n[o])&&(t[n[o]]=r[n[o]]);return t}function C(r){return Object.keys(r).some(e=>{let t=r[e];if(!t)return!1;switch(t&&t.toParam&&(t=t.toParam()),t.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function N(r){let e={};return Object.keys(r).forEach(t=>{var n,o;let s=r[t];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,a;switch(i){case"Array":let u=(o=(n=s[0])===null||n===void 0?void 0:n.constructor)===null||o===void 0?void 0:o.name;a=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":a=JSON.stringify(s);break;case"Date":a=s.valueOf();break;case"Function":a=null;break;case"Boolean":a=s+"";break;default:a=s;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(e[t]=a)}),e}function J(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>J(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function O(r){let e=N(r);return Object.keys(e).map(t=>J(t,e[t])).join("&")}var K=globalThis.FormData,me=globalThis.File,ge=globalThis.Blob;function W(r,e){let t=C(r)||e,n=N(r);if(t){let o=new K;return Object.keys(n).forEach(s=>{if(typeof Blob<"u"&&n[s]instanceof Blob){let i=n.fileName||n[s].name||s;o.append(s,n[s],i)}else o.append(s,n[s])}),o}else return O(r)}var b=class extends Error{constructor(e,t,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",t=t||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=t==="UNKNOWN_ERROR_CODE"?e:`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};function V(r){console&&console.warn&&console.warn.apply(console,[r])}function Q(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var q="@esri/arcgis-rest-js";function ie(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends b{constructor(e="AUTHENTICATION_ERROR",t="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,t,n,o,s),this.name="ArcGISAuthError",this.message=t==="AUTHENTICATION_ERROR_CODE"?e:`${t}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,t=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(a=>{let u=Object.assign(Object.assign({},this.options),{authentication:a});return X(this.url,u)}).then(a=>{s(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<t?o(s,i):a.name===this.name&&a.message===this.message&&n>=t?i(this):i(a)})};return new Promise((s,i)=>{o(s,i)})}};function ae(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new b(s,i,r,e,n)}if(r.error){let{message:s,code:i,messageCode:a}=r.error,u=a||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new R(s,u,r,e,n):new b(s,u,r,e,n)}if(r.status==="failed"||r.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(r.statusMessage).message,i=JSON.parse(r.statusMessage).code}catch{s=r.statusMessage||r.message}throw new b(s,i,r,e,n)}return r}function X(r,e){let t=ie(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},t),e),{params:Object.assign(Object.assign({},t.params),e.params),headers:Object.assign(Object.assign({},t.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),a=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let g;if(typeof n.authentication=="string"){let c=n.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(c)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AATK")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(V("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else g=n.authentication;let d=r;return(g?g.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),g&&g.getDomainCredentials&&(u.credentials=g.getDomainCredentials(r));let h={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(h["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let f=O(i)===""?r:r+"?"+O(i);n.maxUrlLength&&f.length>n.maxUrlLength||!n.maxUrlLength&&f.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete h["X-Esri-Authorization"])):r=f}let E=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=W(i,E)),u.headers=Object.assign(Object.assign({},h),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=q),!C(i)&&!E&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):Q().then(({fetch:l})=>l(r,u))}).then(c=>{if(!c.ok)return c.json().then(h=>{let{status:E,statusText:l}=c,{message:f,details:T}=h.error,w=`${f}. ${T?T.join(" "):""}`.trim();throw new b(w,`HTTP ${E} ${l}`,h,r,n)}).catch(h=>{if(h.name==="ArcGISRequestError")throw h;let{status:E,statusText:l}=c;throw new b(l,`HTTP ${E}`,c,r,n)});if(s)return c;switch(i.f){case"json":return c.json();case"geojson":return c.json();case"html":return c.text();case"text":return c.text();default:return c.blob()}}).then(c=>{if((i.f==="json"||i.f==="geojson")&&!s){let h=ae(c,d,i,n,a);if(a){let E=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[E]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return h}else return c})}function p(r,e={params:{f:"json"}}){let{request:t}=e,n=L(e,["request"]);return t?t(r,n):X(r,n).catch(o=>o instanceof R&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function ce(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function Y(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=ce(t);return e[n]=o,e},{})}var B=5*60*1e3;function v(r,e){let t=e;return t.rawResponse=!1,p(r,t).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:e.params.username,expires:new Date(n.expires)};let o={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-B),ssl:n.ssl===!0};return n.refresh_token&&(o.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(o.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-B)),o})}function m(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var F=/^https?:\/\/(\S+)\.arcgis\.com.+/;function Z(r){return F.test(r)}function ue(r){if(!F.test(r))return r;switch(G(r)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function G(r){if(!F.test(r))return null;let t=r.match(F)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ee(r,e){let t=m(ue(e)).replace(/https?:\/\//,""),n=m(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function te(r,e){let t=Z(r),n=Z(e),o=G(r),s=G(e);return!!(t&&n&&o===s)}function re(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return p(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function Ge(r,e,t){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},t),r);return o.params=e.reduce((s,i)=>((r[i]||typeof r[i]=="boolean"||typeof r[i]=="number"&&r[i]===0)&&(s[i]=r[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var x;(function(r){r.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",r.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",r.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",r.NOT_FEDERATED="NOT_FEDERATED",r.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(x||(x={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",t=x.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=n,this.url=o,this.options=s}};var D=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};var ne;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(ne||(ne={}));var A=class{constructor(e){this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=p(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var H;(function(r){r.Success="Succeeded",r.Failed="Failed",r.Waiting="Waiting",r.Cancelled="Cancelled",r.Cancelling="Cancelling",r.New="New",r.Executing="Executing",r.Submitted="Submitted",r.Failure="Failure",r.TimedOut="TimedOut",r.Error="Error",r.Status="Etatus",r.Unknown="Unknown"})(H||(H={}));function oe(r){let e=`${m(r.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=r.token,n=r.clientId;delete r.portal,delete r.clientId,delete r.token;let o=Object.assign(Object.assign({},r),{httpMethod:"POST",params:{client_id:n,auth_token:t}});return p(e,o).then(s=>{if(!s.success)throw new b("Unable to revoke token",500,s,e,o);return s})}function M(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function se(r,e=window){if(!e&&window&&(e=window),r&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(r);return e.crypto.subtle.digest("SHA-256",n).then(o=>M(new Uint8Array(o),e))}return Promise.resolve(null)}function z(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return M(e)}function le(r){return typeof r.userId=="string"||typeof r.expires=="number"}var k=class r extends A{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?m(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:a,popup:u,popupWindowFeatures:g,locale:d,params:c,style:h,pkce:E,state:l}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),f=l||z(t),T=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(T,f);let w=`${m(n)}/oauth2/authorize`,I={client_id:s,response_type:E?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:f,originalUrl:t.location.href}),locale:d,style:h};o!=="arcgis"&&(w=`${m(n)}/oauth2/social/authorize`,I.socialLoginProviderName=o,I.autoAccountCreateForSocial=!0);let $;if(E){let P=z(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,P),$=se(P,t).then(function(_){I.code_challenge_method=_?"S256":"plain",I.code_challenge=_||P})}else $=Promise.resolve();return $.then(()=>{if(w=`${w}?${O(I)}`,c&&(w=`${w}&${O(c)}`),u)return new Promise((P,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new D;return U(j),j}if(_.detail.errorMessage){let j=new R(_.detail.errorMessage,_.detail.error);return U(j),j}P(new r({clientId:s,portal:n,ssl:_.detail.ssl,token:_.detail.token,tokenExpires:_.detail.expires,username:_.detail.username,refreshToken:_.detail.refreshToken,refreshTokenExpires:_.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(w,"oauth-window",g),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=w})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,g=t.localStorage.getItem(u),d=Y(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),c=d&&d.state?JSON.parse(d.state):void 0;function h(l,f,T){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:f,errorMessage:l}})),t.close();return}return T&&t.history.replaceState(t.history.state,"",T),f==="access_denied"?Promise.reject(new D):Promise.reject(new R(l,f))}function E(l,f){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},l)})),t.close();return}return t.history.replaceState(t.history.state,"",f),new r({clientId:o,portal:n,ssl:l.ssl,token:l.token,tokenExpires:l.expires,username:l.username,refreshToken:l.refreshToken,refreshTokenExpires:l.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!g||!c)return h("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(c.id!==g)return h("Saved client state did not match server sent state.","mismatched-auth-state");if(d.error){let l=d.error,f=d.error_description||"Unknown error";return h(f,l,c.originalUrl)}if(i&&d.code){let l=m(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,T=t.localStorage.getItem(f);return t.localStorage.removeItem(f),v(l,{httpMethod:"POST",params:{client_id:o,code_verifier:T,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:d.code}}).then(w=>E(Object.assign(Object.assign({},w),c),c.originalUrl)).catch(w=>h(w.originalMessage,w.code,c.originalUrl))}return!i&&d.access_token?Promise.resolve(E(Object.assign({token:d.access_token,expires:new Date(Date.now()+parseInt(d.expires_in,10)*1e3),ssl:d.ssl==="true",username:d.username},c),c.originalUrl)):h("Unknown error","oauth-error",c.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===t.parent&&i.data)try{return o(r.parentMessageHandler(i))}catch(a){return s(a)}},t.addEventListener("message",n,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(t.removeEventListener("message",n,!1),o))}static authorize(e,t){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};a&&(u.state=a);let g=`${n}/oauth2/authorize?${O(u)}`;t.writeHead(301,{Location:g}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return v(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:o,redirect_uri:s,code:t}}).then(i=>new r({clientId:o,portal:n,ssl:i.ssl,redirectUri:s,refreshToken:i.refreshToken,refreshTokenExpires:i.refreshTokenExpires,token:i.token,tokenExpires:i.expires,username:i.username})).catch(i=>{throw new y(i.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let t=JSON.parse(e);return new r({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return t.hasServer?new r({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new r({portal:m(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return le(t)?r.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new r(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return oe({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new r(e);return t.getUser().then(()=>t)}static signIn(e){let t=new r(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=p(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return te(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>re(t,e))}toJSON(){return{clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new y("Unable to refresh token. No refresh token or password present.",x.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=m(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=t.match(/(https?:\/\/)(.+)/),[i,...a]=s.split("/");return`${o}${i.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return r.destroy(this)}createPostMessageHandler(e){return t=>{let n=e.indexOf(t.origin)>-1,o=t.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:a}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(i,t.origin)}}}getTokenForServer(e,t){let n=this.getServerRootUrl(e),o=this.federatedServers[n];return o&&o.expires&&o.expires.getTime()>Date.now()?Promise.resolve(o.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>p(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ee(s.owningSystemUrl,this.portal))return p(`${s.owningSystemUrl}/sharing/rest/info`,t);throw new y(`${e} is not federated with ${this.portal}.`,x.NOT_FEDERATED)}else{if(s.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:s.authInfo});throw new y(`${e} is not federated with any portal and is not explicitly trusted.`,x.NOT_FEDERATED)}}).then(s=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(s.authInfo.tokenServicesUrl,n)).then(s=>(this.federatedServers[n]=s,delete this._pendingTokenRequests[n],s.token))),this._pendingTokenRequests[n])}generateTokenForServer(e,t){return p(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,x.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:q};return(this.server?p(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>p(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):p(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,x.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return v(`${this.portal}/oauth2/token`,n).then(o=>this.updateToken(o.token,o.expires)).catch(o=>{throw new y(o.message,x.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return v(`${this.portal}/oauth2/token`,t).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new y(n.message,x.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};function S(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new k(r)}S.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),k.beginOAuth2(...r)};S.completeOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),r.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),k.completeOAuth2(...r)};S.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),k.fromParent(...r)};S.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),k.authorize(...r)};S.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),k.exchangeAuthorizationCode(...r)};S.fromCredential=function(...r){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),k.fromCredential(...r)};S.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),k.deserialize(...r)};export{V as a,p as b,Ge as c,m as d,k as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{a as e}from"./UFWRGJDV.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as e}from"./KIFEL7BK.js";var o={condition:{scope:"/properties/_metric/properties/type",schema:{const:"static"}},effect:e.SHOW},c={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"string"}}}}}},effect:e.SHOW},p={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"number"}}}}}},effect:e.SHOW},s={condition:{schema:{type:"object",properties:{_metric:{type:"object",properties:{type:{const:"static"},valueType:{const:"date"}}}}}},effect:e.SHOW},r={condition:{scope:"/properties/_metric/properties/type",schema:{const:"dynamic"}},effect:e.SHOW},i={condition:{scope:"/properties/_metric/properties/shareable",schema:{const:!0}},effect:e.SHOW};export{o as a,c as b,p as c,s as d,r as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{c as n}from"./TM4ZSPAB.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
3
+ v1.0.0-next.20250528.1 */
4
+ import{c as n}from"./JTR2SH4G.js";var A;(function(r){r.ASC="ASC",r.DESC="DESC"})(A||(A={}));var E;(function(r){r.CLAPPING_HANDS="clapping_hands",r.CONFUSED="confused",r.DOWN_ARROW="down_arrow",r.EYES="eyes",r.FACE_WITH_TEARS_OF_JOY="face_with_tears_of_joy",r.FIRE="fire",r.GRINNING="grinning",r.HEART="heart",r.LAUGH="laugh",r.ONE_HUNDRED="one_hundred",r.PARTYING="partying",r.PARTY_POPPER="party_popper",r.RAISING_HANDS="raising_hands",r.ROCKET="rocket",r.SAD="sad",r.SLIGHTLY_SMILING="slightly_smiling",r.SURPRISED="surprised",r.THINKING="thinking",r.THUMBS_UP="thumbs_up",r.THUMBS_DOWN="thumbs_down",r.TROPHY="trophy",r.UP_ARROW="up_arrow",r.WAVING_HAND="waving_hand",r.WINKING="winking",r.WORLD_MAP="world_map"})(E||(E={}));var p;(function(r){r.PUBLIC="public",r.ORG="org",r.PRIVATE="private"})(p||(p={}));var a;(function(r){r.PENDING="pending",r.APPROVED="approved",r.REJECTED="rejected",r.DELETED="deleted",r.HIDDEN="hidden",r.BLOCKED="blocked"})(a||(a={}));var T;(function(r){r.GROUP="group",r.CONTENT="content",r.BOARD="board"})(T||(T={}));var i;(function(r){r.HUB="hub",r.AGO="ago",r.URBAN="urban"})(i||(i={}));var u;(function(r){r.REPLIES="replies",r.REACTIONS="reactions",r.PARENT="parent",r.CHANNEL="channel",r.CHANNEL_ACL="channelAcl"})(u||(u={}));var _;(function(r){r.POST="post"})(_||(_={}));var d;(function(r){r.HAS_USER_POSTS="has_user_posts"})(d||(d={}));var N;(function(r){r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.UPDATED_AT="updatedAt"})(N||(N={}));var D;(function(r){r.CSV="csv",r.JSON="json"})(D||(D={}));var I;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(I||(I={}));var t;(function(r){r.BODY="body",r.CHANNEL_ID="channelId",r.CREATED_AT="createdAt",r.CREATOR="creator",r.DISCUSSION="discussion",r.EDITOR="editor",r.ID="id",r.PARENT_ID="parentId",r.STATUS="status",r.TITLE="title",r.UPDATED_AT="updatedAt"})(t||(t={}));var c;(function(r){r.Text="text",r.Announcement="announcement",r.Poll="poll",r.Question="question"})(c||(c={}));var O;(function(r){r.ACCESS="access",r.CREATED_AT="createdAt",r.CREATOR="creator",r.EDITOR="editor",r.ID="id",r.LAST_ACTIVITY="last_activity",r.UPDATED_AT="updatedAt"})(O||(O={}));var f;(function(r){r.CHANNEL_ACL="channelAcl"})(f||(f={}));var U;(function(r){r.ANONYMOUS_USER="anonymousUser",r.AUTHENTICATED_USER="authenticatedUser",r.GROUP="group",r.ORG="org",r.USER="user"})(U||(U={}));var h;(function(r){r.ADMIN="admin",r.MEMBER="member"})(h||(h={}));var v;(function(r){r.CONTENT="content"})(v||(v={}));function R(r){let e;return r.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://hubqa.arcgis.com":r.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://hubdev.arcgis.com":r.match(/(www|\.maps)\.arcgis.com/)&&(e="https://hub.arcgis.com"),e}function C(r){let e=r&&r.hubApiUrl;return e||R(n(r))}export{C as a,D as b,I as c,f as d,U as e,h as f,v as g};
@@ -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.20250528 */
4
- import"./6XZWFS7Y.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.20250528.1 */
4
+ import"./AJGIKTXY.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,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.20250528 */
4
- import{e as l}from"./PYJIK3CR.js";import{a as o,f as r,z as c}from"./4JGCEBGT.js";import"./52W5VWDL.js";import{a as p,c as t,d as g,e as d}from"./VFEXPJTW.js";import"./6XZWFS7Y.js";var h=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',u=h,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator"},m=class{constructor(n){p(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let n=this.ready?this.renderContent():null;return t(g,{key:"da0c1f1bb7efb0c0bd243612ab6212b61d6e9d2e"},n)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:a.base},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){let n=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",s=this.user?.id??this.user?.sourceJSON?.id;return t("calcite-dropdown",{placement:"bottom-end",scale:n},this.type==="navigation"?t("calcite-navigation-user",{class:i,slot:"trigger",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s})),t("slot",{name:"sign-in-dropdown-top"}),t("calcite-dropdown-group",{"selection-mode":"none"},this.signInDropdownItems?.map(e=>t("calcite-dropdown-item",{onClick:e.onClick},e.label)),t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},this.messages?.signOut)))}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return t("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},this.messages?.signIn)}renderLandingPageSignIn(){return t("div",{class:a.buttonContainer},t("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),t("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,i]=await Promise.all([o(),c()]);this.idManager=n,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date,i=2e3;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return d(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};m.style=u;export{m as instant_apps_sign_in};
3
+ v1.0.0-next.20250528.1 */
4
+ import{e as l}from"./WFWVO6JC.js";import{a as o,f as r,z as c}from"./7TRQSZUN.js";import"./RHIPAMD6.js";import{a as p,c as t,d as g,e as d}from"./OLCSJ76K.js";import"./AJGIKTXY.js";var h=':host{--instant-apps-sign-in-indicator-color:#007ac2;display:block;box-shadow:none !important}:host .instant-apps-sign-in__container{height:inherit;display:flex;align-items:center}:host .instant-apps-sign-in__container calcite-dropdown,:host .instant-apps-sign-in__container calcite-navigation-user{height:100%}:host .instant-apps-sign-in__container calcite-navigation-user{--calcite-color-foreground-2:rgba(0, 0, 0, 0.04);--calcite-color-foreground-3:rgba(0, 0, 0, 0.04)}:host .instant-apps-sign-in__container .instant-apps-sign-in__indicator::after{content:"";position:absolute;block-size:0.5rem;inline-size:0.5rem;border-radius:9999px;inset-block-end:-0.275rem;inset-inline-end:-0.275rem;background-color:var(--instant-apps-sign-in-indicator-color);bottom:calc(50% - 15px);right:calc(50% - 15px)}:host .instant-apps-sign-in__container .instant-apps-sign-in__sign-in-btn{margin:10px}:host .instant-apps-sign-in__container calcite-dropdown[scale=m] calcite-dropdown-group{min-width:140px}:host .instant-apps-sign-in__container calcite-dropdown[scale=s] calcite-dropdown-group{min-width:100px}:host .instant-apps-sign-in__container button{height:32px;width:32px;padding:0;box-sizing:border-box;display:flex;cursor:pointer;-webkit-user-select:none;user-select:none;appearance:none;-moz-appearance:none;-webkit-appearance:none;text-decoration-line:none;transition:color var(--calcite-animation-timing) ease-in-out, background-color var(--calcite-animation-timing) ease-in-out, box-shadow var(--calcite-animation-timing) ease-in-out, outline-color var(--calcite-internal-animation-timing-fast) ease-in-out;border:none;border-radius:50%;background:#000}:host .instant-apps-sign-in__container button:hover calcite-avatar{opacity:0.7;transition:0.3s}:host .instant-apps-sign-in__landing-page{display:flex;flex-direction:column;justify-content:center;padding:40px;width:50%;min-height:30%;background:rgba(255, 255, 255, 0.8);color:#151515;text-align:center}:host .instant-apps-sign-in__landing-page h1{font-size:22px;margin:10px 0}:host .instant-apps-sign-in__landing-page h2{font-size:16px;margin:0 0 10px}:host .instant-apps-sign-in__landing-page p{font-size:16px;margin:0}:host .instant-apps-sign-in__entry-button-container{display:flex;justify-content:center;gap:8px}:host .instant-apps-sign-in__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color);min-width:165px}:host .instant-apps-sign-in__entry-button[appearance=solid]{border:1px solid #fff}:host .instant-apps-sign-in__entry-button[appearance=solid]:hover,:host .instant-apps-sign-in__entry-button[appearance=solid]:focus{filter:brightness(0.9)}@media screen and (max-width: 767px){:host{flex-direction:column;align-items:center}:host calcite-button{width:100%}:host .instant-apps-sign-in__entry-button-container{display:flex;flex-direction:column}}',u=h,a={base:"instant-apps-sign-in__container",SignInBtn:"instant-apps-sign-in__sign-in-btn",buttonContainer:"instant-apps-sign-in__entry-button-container",entryButton:"instant-apps-sign-in__entry-button",indicator:"instant-apps-sign-in__indicator"},m=class{constructor(n){p(this,n),this.type="navigation",this.portal=void 0,this.oauthappid=void 0,this.openInPopup=!1,this.landingPage=!1,this.showIndicator=!0,this.closeLandingPage=void 0,this.signInDropdownItems=void 0,this.ready=!1,this.isSignedIn=!1,this.user=void 0,this.messages=void 0}async watchPortal(){await this.initSignIn()}async watchOauthappid(){await this.initSignIn()}async componentWillLoad(){l(this),await this.initSignIn()}render(){let n=this.ready?this.renderContent():null;return t(g,{key:"da0c1f1bb7efb0c0bd243612ab6212b61d6e9d2e"},n)}renderContent(){return this.type==="landingPage"?this.renderLandingPageSignIn():this.renderSignInContainer()}renderSignInContainer(){return t("div",{class:a.base},this.isSignedIn?this.renderSignInDropdown():this.renderSignInButton())}renderSignInDropdown(){let n=this.type==="navigation"?"m":"s",i=this.showIndicator?a.indicator:"",s=this.user?.id??this.user?.sourceJSON?.id;return t("calcite-dropdown",{placement:"bottom-end",scale:n},this.type==="navigation"?t("calcite-navigation-user",{class:i,slot:"trigger",thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s,textDisabled:!0}):t("button",{slot:"trigger"},t("calcite-avatar",{class:i,thumbnail:this.user?.thumbnailUrl??"","full-name":this.user?.fullName,username:this.user?.username,"user-id":s})),t("slot",{name:"sign-in-dropdown-top"}),t("calcite-dropdown-group",{"selection-mode":"none"},this.signInDropdownItems?.map(e=>t("calcite-dropdown-item",{onClick:e.onClick},e.label)),t("calcite-dropdown-item",{onClick:this.signOut.bind(this)},this.messages?.signOut)))}renderSignInButton(){let n=this.type==="navigation"?"transparent":"solid",i=this.type==="navigation"?a.SignInBtn:"";return t("calcite-button",{class:i,onClick:this.signIn.bind(this),scale:"s","icon-start":"sign-in",appearance:n},this.messages?.signIn)}renderLandingPageSignIn(){return t("div",{class:a.buttonContainer},t("calcite-button",{class:a.entryButton,scale:"l",onClick:this.landingPageSignIn.bind(this)},this.messages?.signIn),t("calcite-button",{class:a.entryButton,scale:"l",appearance:"outline-fill",onClick:this.guestOnClick.bind(this)},this.messages?.continueAsGuest))}async initSignIn(){if(this.portal==null||this.oauthappid==null)return;let[n,i]=await Promise.all([o(),c()]);this.idManager=n,this.info=await r({appId:this.oauthappid,portalUrl:this.portal.url,flowType:"authorization-code",popup:this.openInPopup}),this.idManager.registerOAuthInfos([this.info]),this.isSignedIn=await this.checkSignInStatus(),this.ready=!0,this.isSignedIn&&(await i.whenOnce(()=>this.portal.user),this.portal.user&&(this.user=this.portal.user))}async signIn(){this.setSignInLocalStorage(),await this.idManager.getCredential(`${this.info.portalUrl}/sharing`,{oAuthPopupConfirmation:!1}),await this.checkSignInStatus()}signOut(){this.portal.credential?.destroy(),this.idManager.destroyCredentials(),this.portal.authMode="anonymous",this.portal.credential=null;let n=window.location.href;this.setSignInLocalStorage(),window.location.href=`${this.portal.restUrl}/oauth2/signout?client_id=${this.oauthappid}&redirect_uri=${n}`}async landingPageSignIn(){await this.signIn(),this.closeLandingPage!=null&&this.closeLandingPage()}guestOnClick(){this.isSignedIn?this.signOut():this.closeLandingPage!=null&&this.closeLandingPage()}async checkSignInStatus(){try{let n=await this.idManager.checkSignInStatus(`${this.info.portalUrl}/sharing`);return this.portal.credential=n,!0}catch{return this.portal.credential=null,!1}}setSignInLocalStorage(){let n=new Date,i=2e3;localStorage.setItem("signing-in",n.getTime().toString()),setTimeout(()=>{localStorage.removeItem("signing-in")},i)}get el(){return d(this)}static get watchers(){return{portal:["watchPortal"],oauthappid:["watchOauthappid"]}}};m.style=u;export{m as instant_apps_sign_in};
@@ -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.20250528 */
4
- import{a as l,b as o}from"./E2FWRG3J.js";import{a as r,c as t,d,e as c,f as p}from"./VFEXPJTW.js";import"./6XZWFS7Y.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),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.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=l(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as l,b as o}from"./XZIMLV7H.js";import{a as r,c as t,d,e as c,f as p}from"./OLCSJ76K.js";import"./AJGIKTXY.js";var g;(function(n){n.TopLeft="top-left",n.TopCenter="top-center",n.TopRight="top-right",n.CenterLeft="center-left",n.Center="center",n.CenterRight="center-right",n.BottomLeft="bottom-left",n.BottomCenter="bottom-center",n.BottomRight="bottom-right"})(g||(g={}));var _=":host{--instant-apps-landing-page-background-color:var(--calcite-color-brand);--instant-apps-landing-page-text-color:var(--calcite-color-text-inverse);--instant-apps-landing-page-entry-button-color:var(--calcite-color-brand);--instant-apps-landing-page-title-text-font-size:var(--calcite-font-size-6);--instant-apps-landing-page-subtitle-text-font-size:var(--calcite-font-size-3);--instant-apps-landing-page-description-text-font-size:var(--calcite-font-size-0);--instant-apps-landing-page-icon-image-scale--s:100px;--instant-apps-landing-page-icon-image-scale--m:250px;--instant-apps-landing-page-icon-image-scale--l:500px;--instant-apps-landing-page-entry-button-margin:0}:host .instant-apps-landing-page{box-sizing:border-box;position:absolute;top:0;left:0;z-index:9000;display:flex;flex-direction:column;width:100%;height:100%;padding:2.5%;transition:top 0.5s ease-in-out;background-color:var(--instant-apps-landing-page-background-color);color:var(--instant-apps-landing-page-text-color)}:host .instant-apps-landing-page__title-text{color:var(--instant-apps-landing-page-text-color);font-size:var(--instant-apps-landing-page-title-text-font-size);margin:0}:host .instant-apps-landing-page__subtitle-text{font-weight:var(--calcite-font-weight-medium);font-size:var(--instant-apps-landing-page-subtitle-text-font-size)}:host .instant-apps-landing-page__description-text{font-size:var(--instant-apps-landing-page-description-text-font-size);width:50%;min-width:250px}:host .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__subtitle-text{text-shadow:0px 4px 3px rgba(0, 0, 0, 0.4), 0px 8px 13px rgba(0, 0, 0, 0.1), 0px 18px 23px rgba(0, 0, 0, 0.1)}:host .instant-apps-landing-page__icon-image{margin-bottom:5px}:host .instant-apps-landing-page__icon-image-scale--s{width:100px}:host .instant-apps-landing-page__icon-image-scale--m{width:250px}:host .instant-apps-landing-page__icon-image-scale--l{width:500px}:host .instant-apps-landing-page__button-container{display:flex}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{margin:var(--instant-apps-landing-page-entry-button-margin)}:host .instant-apps-landing-page__entry-button{--calcite-color-brand:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-hover:var(--instant-apps-landing-page-entry-button-color);--calcite-color-brand-press:var(--instant-apps-landing-page-entry-button-color)}:host .instant-apps-landing-page__background-action{position:absolute;top:1%;right:0.5%;max-width:300px}:host .instant-apps-landing-page__remove-transition{transition:none}:host .instant-apps-landing-page__remove-padding{padding:0}:host .instant-apps-landing-page--closed-no-transition{display:none}:host .instant-apps-landing-page--closed{top:-100%}:host .instant-apps-landing-page__alignment--top-center{justify-content:flex-start;align-items:center}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;justify-content:center}:host .instant-apps-landing-page__alignment--center{justify-content:center;align-items:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center{justify-content:flex-end;align-items:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center}:host .instant-apps-landing-page__alignment--top-left{justify-content:flex-start;align-items:flex-start}:host .instant-apps-landing-page__alignment--center-left{justify-content:center;align-items:flex-start}:host .instant-apps-landing-page__alignment--bottom-left{justify-content:flex-end;align-items:flex-start}:host .instant-apps-landing-page__alignment--top-right{justify-content:flex-start;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right{justify-content:center;align-items:flex-end}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right{justify-content:flex-end;align-items:flex-end}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:flex-end}:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-left .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:left}:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-center .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:center}:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--top-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--center-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__title-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__subtitle-text,:host .instant-apps-landing-page__alignment--bottom-right .instant-apps-landing-page__content-container .instant-apps-landing-page__description-text{text-align:right}:host instant-apps-sign-in{width:50%}@media screen and (max-width: 500px){:host instant-apps-sign-in{width:100%}}@media only screen and (max-width: 768px){:host .instant-apps-landing-page__icon-image{max-width:70%;margin-bottom:20px}:host .instant-apps-landing-page__description-text{width:80%}:host .instant-apps-landing-page__title-text{font-size:var(--calcite-font-size-3)}:host .instant-apps-landing-page__subtitle-text{font-size:var(--calcite-font-size-0)}:host .instant-apps-landing-page__content-container{display:flex;flex-direction:column;align-items:center;margin-top:auto}:host .instant-apps-landing-page__button-container{display:flex;flex-direction:column;width:100%;margin-top:auto}:host .instant-apps-landing-page__button-container .instant-apps-landing-page__entry-button{width:100%;margin-right:unset;margin-bottom:10px}:host .instant-apps-landing-page instant-apps-sign-in{margin-bottom:auto}}@media only screen and (max-width: 896px) and (orientation: landscape){:host .instant-apps-landing-page__icon-image{max-width:25%}}",h=_,a={BASE:"instant-apps-landing-page",titleText:"instant-apps-landing-page__title-text",subtitleText:"instant-apps-landing-page__subtitle-text",descriptionText:"instant-apps-landing-page__description-text",closed:"instant-apps-landing-page--closed",closedNoTransition:"instant-apps-landing-page--closed-no-transition",iconImage:"instant-apps-landing-page__icon-image",removeTransition:"instant-apps-landing-page__remove-transition",removePadding:"instant-apps-landing-page__remove-padding",alignment:"instant-apps-landing-page__alignment--",entryButton:"instant-apps-landing-page__entry-button",contentContainer:"instant-apps-landing-page__content-container",buttonContainer:"instant-apps-landing-page__button-container",backgroundAction:"instant-apps-landing-page__background-action",iconImageScale:{s:" instant-apps-landing-page__icon-image-scale--s",m:" instant-apps-landing-page__icon-image-scale--m",l:" instant-apps-landing-page__icon-image-scale--l"}},m=class{constructor(n){r(this,n),this.landingPageOpen=p(this,"landingPageOpen",7),this.landingPageClose=p(this,"landingPageClose",7),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.titleText=void 0,this.subtitleText=void 0,this.descriptionText=void 0,this.entryButtonText=void 0,this.iconImage=void 0,this.iconImageScale="m",this.iconImageAltText=void 0,this.alignment=g.Center,this.disableTransition=!0,this.backgroundImageSrc=void 0,this.open=!0,this.entryButtonScale="l",this.fontFamily="var(--calcite-sans-family);",this.enableSignIn=void 0,this.portal=void 0,this.oauthappid=void 0}emitToggleEvent(){this.open?this.landingPageOpen.emit():this.landingPageClose.emit()}async componentWillRender(){await this.checkEnableSignIn()}render(){let n=this.renderLandingPageContent();return t(d,{key:"8d2f9b0895fcd2f570d645fd5dbab3aaff9e9a45"},n)}renderLandingPageContent(){let n=this.open?"":this.disableTransition?` ${a.closedNoTransition}`:` ${a.closed}`,e=this.getAlignmentClass(),i=this.disableTransition?` ${a.removeTransition}`:"",s=this.getContentStyle();return t("div",{style:s,class:`${a.BASE}${e}${n}${i}`},t("div",{class:a.backgroundAction},t("slot",{name:"background-action"})),t("div",{class:a.contentContainer},this.renderIconImage(),this.renderTitleText(),this.renderSubtitleText(),this.renderDescriptionText()),this.renderEntryButtonContainer())}renderEntryButtonContainer(){return this.enableSignIn?this.renderLandingPageSignIn():t("div",{class:a.buttonContainer},this.renderEntryButton(),t("slot",{name:"secondary-action"}))}renderLandingPageSignIn(){return t("instant-apps-sign-in",{type:"landingPage",landingPage:!0,portal:this.portal,oauthappid:this.oauthappid,closeLandingPage:this.closeLandingPage.bind(this)})}renderIconImage(){return this.iconImage?t("img",{class:`${a.iconImage}${this.getIconImageScale()}`,src:this.iconImage,alt:this.iconImageAltText}):null}renderTitleText(){return t("h1",{class:a.titleText},this.titleText)}renderSubtitleText(){return t("span",{class:a.subtitleText},this.subtitleText)}renderDescriptionText(){return t("p",{class:a.descriptionText,innerHTML:this._sanitizer?.sanitize(this.descriptionText)??""})}renderEntryButton(){return t("calcite-button",{class:a.entryButton,onClick:this.closeLandingPage.bind(this),scale:this.entryButtonScale,appearance:"outline-fill"},this.entryButtonText?this.entryButtonText:"Enter")}closeLandingPage(){this.open=!1}getAlignmentClass(){return` ${a.alignment}${this.alignment}`}getIconImageScale(){let{iconImageScale:n}=this,{s:e,m:i,l:s}=a.iconImageScale;return n==="l"?s:n==="s"?e:i}getContentStyle(){let n=l(this.fontFamily);return this.backgroundImageSrc?{fontFamily:n,backgroundSize:"cover",backgroundImage:`url("${this.backgroundImageSrc}")`,backgroundRepeat:"no-repeat",backgroundPosition:"center"}:{fontFamily:n}}async checkEnableSignIn(){await new Promise(n=>{if(this.enableSignIn){let e=localStorage.getItem("signing-in")?Number(localStorage.getItem("signing-in")):null;e!=null&&((Date.now()-e)/(60*1e3)<2&&(this.open=!1),localStorage.removeItem("signing-in"))}n(null)})}get el(){return c(this)}static get watchers(){return{open:["emitToggleEvent"]}}};m.style=h;export{m as instant_apps_landing_page};
@@ -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.20250528 */
4
- import{a as f}from"./BPPOS7VC.js";import{e as b}from"./PYJIK3CR.js";import{c as u,n as g,t as _,z as x}from"./4JGCEBGT.js";import"./52W5VWDL.js";import{a as m,c as a,d as w,e as v,f as y}from"./VFEXPJTW.js";import"./6XZWFS7Y.js";var k=`
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as f}from"./KH77SOOF.js";import{e as b}from"./WFWVO6JC.js";import{c as u,n as g,t as _,z as x}from"./7TRQSZUN.js";import"./RHIPAMD6.js";import{a as m,c as a,d as w,e as v,f as y}from"./OLCSJ76K.js";import"./AJGIKTXY.js";var k=`
5
5
  @media print {
6
6
  @page {
7
7
  size: Portrait;
@@ -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.20250528 */
3
+ v1.0.0-next.20250528.1 */
4
4
  var n;(function(i){i.InPerson="inPerson",i.Online="online",i.Both="both"})(n||(n={}));var o;(function(i){i.Unlimited="unlimited",i.Fixed="fixed"})(o||(o={}));export{n as a,o 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.20250528 */
4
- import"./JFS4GZ6K.js";import{b as m}from"./KV7CP4TD.js";import{a as p}from"./SOLDJVDR.js";import{D as c,I as h,c as r,d}from"./Q5UREG2V.js";import"./6XZWFS7Y.js";var f=r`/** @license
3
+ v1.0.0-next.20250528.1 */
4
+ import"./4KQPYQDK.js";import{b as m}from"./HSQGDLNP.js";import{a as p}from"./C2QYX64L.js";import{D as c,I as h,c as r,d}from"./L3QLTAE7.js";import"./AJGIKTXY.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,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.20250528 */
4
- import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./4ZZ767AP.js";import"./EJ5VJ4MH.js";import"./PYJIK3CR.js";import"./4JGCEBGT.js";import"./52W5VWDL.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./VFEXPJTW.js";import"./6XZWFS7Y.js";var A=`
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as g,b as E,c as p,d as I,e as f,f as r,i as y,j as S,l as k}from"./7B4R56TM.js";import"./LGDOEW7U.js";import"./WFWVO6JC.js";import"./7TRQSZUN.js";import"./RHIPAMD6.js";import{a as _,c as i,d as v,e as U,f as b,j as w}from"./OLCSJ76K.js";import"./AJGIKTXY.js";var A=`
5
5
  .ck.ck-reset.ck-editor.ck-rounded-corners {
6
6
  margin-top: 10px !important;
7
7
  margin-left: 55px !important;
@@ -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.20250528 */
4
- import{b as p,v as m}from"./ZKIE5GVW.js";import"./D42V7PBV.js";import"./EJ5VJ4MH.js";import{e as g}from"./PYJIK3CR.js";import{c as o,t as c,u as d,y as l,z as h}from"./4JGCEBGT.js";import"./52W5VWDL.js";import{a as v,c as r,e as f,h as w}from"./VFEXPJTW.js";import"./6XZWFS7Y.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
3
+ v1.0.0-next.20250528.1 */
4
+ import{b as p,v as m}from"./CBDBYDEC.js";import"./XKK7HJBO.js";import"./LGDOEW7U.js";import{e as g}from"./WFWVO6JC.js";import{c as o,t as c,u as d,y as l,z as h}from"./7TRQSZUN.js";import"./RHIPAMD6.js";import{a as v,c as r,e as f,h as w}from"./OLCSJ76K.js";import"./AJGIKTXY.js";var u=".sc-instant-apps-interactive-legend-h{display:block;height:100%}.sc-instant-apps-interactive-legend-h .esri-legend.sc-instant-apps-interactive-legend{height:100%;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1)}.sc-instant-apps-interactive-legend-h .esri-legend.esri-component.esri-widget.esri-widget--panel.sc-instant-apps-interactive-legend{margin:0}",y=u,L={esri:{base:"esri-legend",widget:"esri-widget",widgetPanel:"esri-widget--panel",component:"esri-component",iconLayerList:"esri-icon-layer-list"}},C=class{constructor(e){v(this,e),this.handles=void 0,this.reactiveUtils=void 0,this.legendvm=void 0,this.widget=void 0,this.view=void 0,this.zoomTo=!1,this.featureCount=!1,this.filterMode={type:"filter"},this.compact=!1,this.messages=void 0}async componentWillLoad(){this.compactHandler(),new MutationObserver(()=>{w(this.el)}).observe(this.el,{attributes:!0}),await this.initializeModules()}async componentDidLoad(){await g(this)}async initializeModules(){let e=await h();this.handles=await o(),this.reactiveUtils=e,this.widget=await l({});let t=await c({});return await e.whenOnce(()=>t?.messages),this.messages={...this.messages,...t.messages},void await Promise.resolve()}async init(){if(!(!this.reactiveUtils||!this.view||!this.handles))try{let{on:e,whenOnce:t}=this.reactiveUtils,s=this.view?.map?.allLayers?.map(async a=>await a.load());await Promise.allSettled(s),await t(()=>this.view?.ready);let n={view:this.view,respectLayerDefinitionExpression:!0},i=await d(n);this.legendvm=i,this.handles.add([e(()=>this.legendvm?.activeLayerInfos,"change",()=>this._refreshActiveLayerInfos(this?.legendvm?.activeLayerInfos,this.reactiveUtils))])}catch(e){console.error('Failed at "init": ',e)}}compactHandler(){p.set("compact",this.compact)}render(){let{base:e,component:t,widget:s,widgetPanel:n}=L.esri;return r("div",{key:"interactive-legend",class:this.widget?.classes(e,t,s,n)},this.legendvm?r("instant-apps-interactive-legend-classic",{key:"interactive-legend-classic",ref:i=>{i&&(this.ref=i)},class:m(this.el),legendvm:this.legendvm,"zoom-to":this.zoomTo,filterMode:this.filterMode,"feature-count":this.featureCount,messages:this.messages}):null)}_refreshActiveLayerInfos(e,t){e&&(this.handles.removeAll(),e.forEach(s=>this._renderOnActiveLayerInfoChange(s,t)))}_renderOnActiveLayerInfoChange(e,t){let{on:s}=this.reactiveUtils,n=s(()=>e.children,"change",()=>e.children.forEach(i=>this._renderOnActiveLayerInfoChange(i,t)));this.handles.add(n,`children_${e?.layer?.uid}`),e.children.forEach(i=>{this._renderOnActiveLayerInfoChange(i,t),i?.children?.length>0&&i?.children?.forEach(a=>this._renderOnActiveLayerInfoChange(a,t))})}get el(){return f(this)}static get watchers(){return{handles:["init"],reactiveUtils:["init"],view:["init"],compact:["compactHandler"]}}};C.style=y;export{C as instant_apps_interactive_legend};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
3
+ v1.0.0-next.20250528.1 */
4
4
  function a(r){return Array.isArray(r)?r:Array.from(r)}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.20250528 */
3
+ v1.0.0-next.20250528.1 */
4
4
  var p;(function(e){e.BMP="bmp",e.GIF="gif",e.JPG="jpg",e.JPG_PNG="jpgpng",e.PNG="png",e.PNG8="png8",e.PNG24="png24",e.TIFF="tiff",e.PNG32="png32",e.BIP="bip",e.BSQ="bsq",e.LERC="lerc",e.CSV="csv",e.EXCEL="excel",e.FEATURE_COLLECTION="featureCollection",e.FILE_GDB="filegdb",e.GEOJSON="geojson",e.GEO_PACKAGE="geoPackage",e.JSON="json",e.KML="kml",e.SHAPEFILE="shapefile",e.SQLITE="sqlite"})(p||(p={}));var t;(function(e){e.PENDING="pending",e.PROCESSING="processing",e.CONVERTING="converting",e.COMPLETED="completed",e.FAILED="failed"})(t||(t={}));var P=class extends Error{constructor(s){super(s.rawMessage),this.name="ArcgisHubDownloadError",this.message=s.rawMessage,this.messageId=s.messageId,this.operation=s.operation}};export{p as a,t as b,P as c};
@@ -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.20250528 */
3
+ v1.0.0-next.20250528.1 */
4
4
  var l=new Map([["ar","ar"],["bg","bg"],["bs","bs"],["ca","ca"],["cs","cs"],["da","da"],["de","de"],["el","el"],["en","en"],["es","es"],["et","et"],["fi","fi"],["fr","fr"],["he","he"],["hr","hr"],["hu","hu"],["id","id"],["it","it"],["ja","ja"],["ko","ko"],["lt","lt"],["lv","lv"],["no","no"],["nb","no"],["nn","no"],["nl","nl"],["pl","pl"],["pt-br","pt-BR"],["pt-pt","pt-PT"],["ro","ro"],["ru","ru"],["sk","sk"],["sl","sl"],["sr","sr"],["sv","sv"],["th","th"],["tr","tr"],["uk","uk"],["vi","vi"],["zh-cn","zh-CN"],["zh-hk","zh-HK"],["zh-tw","zh-TW"]]);function h(t){return s(t,"dir","ltr")}function s(t,e,n){let r=t.closest(`[${e}]`);return r?r.getAttribute(e):n}export{l as a,h 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.20250528 */
4
- import{a as r,b as l}from"./KV7CP4TD.js";import{a as b}from"./SOLDJVDR.js";import{D as c,E as h,F as m,I as f,c as d,d as a,o as n}from"./Q5UREG2V.js";import"./6XZWFS7Y.js";var g=d`/** @license
3
+ v1.0.0-next.20250528.1 */
4
+ import{a as r,b as l}from"./HSQGDLNP.js";import{a as b}from"./C2QYX64L.js";import{D as c,E as h,F as m,I as f,c as d,d as a,o as n}from"./L3QLTAE7.js";import"./AJGIKTXY.js";var g=d`/** @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.20250528 */
4
- import"./6XZWFS7Y.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250528.1 */
4
+ import"./AJGIKTXY.js";var o=async(e,l,s)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.followers.groupAccess.label`,scope:"/properties/_followers/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.followers.groupAccess.helperText`},labels:[`{{${e}.fields.followers.groupAccess.private.label:translate}}`,`{{${e}.fields.followers.groupAccess.org.label:translate}}`,`{{${e}.fields.followers.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.followers.groupAccess.private.description:translate}}`,`{{${e}.fields.followers.groupAccess.org.description:translate}}`,`{{${e}.fields.followers.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.followers.showFollowAction.label`,scope:"/properties/_followers/properties/showFollowAction",type:"Control",options:{control:"hub-field-input-switch",layout:"inline-space-between",helperText:{labelKey:`${e}.fields.followers.showFollowAction.helperText`}}},{labelKey:`${e}.fields.followers.discussable.label`,scope:"/properties/_followers/properties/isDiscussable",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",labels:[`{{${e}.fields.followers.discussable.enabled.label:translate}}`,`{{${e}.fields.followers.discussable.disabled.label:translate}}`],descriptions:[`{{${e}.fields.followers.discussable.enabled.description:translate}}`,`{{${e}.fields.followers.discussable.disabled.description:translate}}`],icons:["speech-bubbles","circle-disallowed"],type:"radio",styles:{"max-width":"45rem"}}}]}]});export{o as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import"./6XZWFS7Y.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250528.1 */
4
+ import"./AJGIKTXY.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o 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.20250528 */
4
- import a from"./E645QUGL.js";import{a as y,b as _,c as v}from"./VC6W4X4W.js";import"./M7IGOHUD.js";import"./T33NVZXY.js";import"./UD7F6DCG.js";import"./AAQIWO65.js";import{e as m}from"./D3FZEWBP.js";import"./HITN2DRN.js";import{a as f,b as g}from"./KV7CP4TD.js";import{a as b}from"./SOLDJVDR.js";import{B as s,D as h,F as l,G as n,I as u,c as p,d as i,o as r}from"./Q5UREG2V.js";import"./6XZWFS7Y.js";export default $arcgis.t(([{a:w,b:a,c:S,d:x,e:c,f:C}])=>{var P=p`/** @license
3
+ v1.0.0-next.20250528.1 */
4
+ import a from"./JU2E7OJJ.js";import{a as y,b as _,c as v}from"./JSGP47F6.js";import"./KONDPSKH.js";import"./MXWAIEZD.js";import"./MV7WFJWQ.js";import"./PEAUVPGM.js";import{e as m}from"./PQYDJLKT.js";import"./JFW3ETMX.js";import{a as f,b as g}from"./HSQGDLNP.js";import{a as b}from"./C2QYX64L.js";import{B as s,D as h,F as l,G as n,I as u,c as p,d as i,o as r}from"./L3QLTAE7.js";import"./AJGIKTXY.js";export default $arcgis.t(([{a:w,b:a,c:S,d:x,e:c,f:C}])=>{var P=p`/** @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.20250528 */
4
- import{a}from"./SDPZNJWX.js";import{a as l}from"./BYTWF7MG.js";import"./4433JH2R.js";import"./EKDX37DH.js";import{a as i}from"./HITN2DRN.js";import{a as s}from"./UFWRGJDV.js";import"./4KRD733S.js";import"./HA3GGXFE.js";import"./JUSJWXDQ.js";import"./ABFH5NTH.js";import"./YHDZXWFB.js";import"./CYUT3EFC.js";import"./M4VWLPTM.js";import"./AGVDOFMZ.js";import"./X5DGQ5OF.js";import"./LUZ6KCKH.js";import"./WF52YQCF.js";import"./MJEB763W.js";import"./SXHBKU6W.js";import"./75AICF3J.js";import"./5XJ6SZ36.js";import"./RAYJRNTN.js";import"./6CWLNSWC.js";import"./L7R6K4A2.js";import"./M2TA6G4S.js";import"./X4HL3D2I.js";import"./YWGNQDQM.js";import"./ZSYHLMKN.js";import"./6XZWFS7Y.js";var d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d as buildUiSchema};
3
+ v1.0.0-next.20250528.1 */
4
+ import{a}from"./4ICGVS3H.js";import{a as l}from"./JR76OCEB.js";import"./BQJ4XZB4.js";import"./I6S2QECH.js";import{a as i}from"./JFW3ETMX.js";import{a as s}from"./KIFEL7BK.js";import"./6CDGGVGE.js";import"./LEPBL2Y4.js";import"./MZR4QIPT.js";import"./HQRVKXX3.js";import"./4BCOHKBU.js";import"./NLEAVUXF.js";import"./B3LCPBNL.js";import"./2BKLFFV3.js";import"./LDBZTZKY.js";import"./OFT4RWEQ.js";import"./5R67XATC.js";import"./OWFH5BT6.js";import"./ATD6DCLS.js";import"./QB3JQLSH.js";import"./XTBY6TYN.js";import"./7PBXJUEO.js";import"./5GTGLHQA.js";import"./C6CUID27.js";import"./CQVD5CBU.js";import"./LSN7P2WQ.js";import"./N25XK6FN.js";import"./KGCLTR2S.js";import"./AJGIKTXY.js";var d=async(e,r,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}},{labelKey:`${e}.fields.access.label`,scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",descriptions:[`{{${e}.fields.access.private.description:translate}}`,`{{${e}.fields.access.org.description:translate}}`,`{{${e}.fields.access.public.description:translate}}`],icons:["users","organization","globe"],labels:[`{{${e}.fields.access.private.label:translate}}`,`{{${e}.fields.access.org.label:translate}}`,`{{${e}.fields.access.public.label:translate}}`],rules:[{effect:s.NONE},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToOrg",t).access]},{effect:s.ENABLE,conditions:[l("platform:portal:user:shareGroupToPublic",t).access]}]}}]},{type:"Section",labelKey:`${e}.sections.capabilities.label`,elements:[{labelKey:`${e}.fields.isSharedUpdate.label`,scope:"/properties/isSharedUpdate",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isSharedUpdate.helperText`}},rule:{effect:s.ENABLE,conditions:[l("platform:portal:admin:createUpdateCapableGroup",t).access]}},{labelKey:`${e}.fields.isAdmin.label`,scope:"/properties/leavingDisallowed",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isAdmin.helperText`}},rules:[{effect:s.ENABLE,conditions:[l("platform:portal:admin:createLeavingDisallowedGroup",t).access]}]},{labelKey:`${e}.fields.isOpenData.label`,scope:"/properties/isOpenData",type:"Control",options:{control:"hub-field-input-switch",helperText:{labelKey:`${e}.fields.isOpenData.helperText`},messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.isOpenData.constError`}]},rules:[{effect:s.ENABLE,conditions:[{scope:"/properties/access",schema:{const:"public"}},l("platform:opendata:user:designateGroup",t).access]},{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{not:{const:"public"}}}]},{effect:s.SHOW,conditions:[!!i(t,"portal.portalProperties.openData.enabled")]}]}]},{type:"Section",labelKey:`${e}.sections.membershipAccess.label`,elements:[{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.membershipAccess.org.label:translate}}`,`{{${e}.fields.membershipAccess.collab.label:translate}}`,`{{${e}.fields.membershipAccess.any.label:translate}}`],descriptions:[`{{${e}.fields.membershipAccess.org.description:translate}}`,`{{${e}.fields.membershipAccess.collab.description:translate}}`,`{{${e}.fields.membershipAccess.any.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.membershipAccess.patternError`},{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.membershipAccess.constError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/membershipAccess",schema:{const:"anyone"}}]}]},{labelKey:`${e}.fields.join.label`,scope:"/properties/_join",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.join.invite.label:translate}}`,`{{${e}.fields.join.request.label:translate}}`,`{{${e}.fields.join.auto.label:translate}}`],descriptions:[`{{${e}.fields.join.invite.description:translate}}`,`{{${e}.fields.join.request.description:translate}}`,`{{${e}.fields.join.auto.description:translate}}`],rules:[[{effect:s.NONE}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]}],[{effect:s.DISABLE,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}}]},{effect:s.DISABLE,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}}]}]],messages:[{type:"ERROR",keyword:"const",icon:!0,labelKey:`${e}.fields.join.constError`},{type:"ERROR",keyword:"pattern",icon:!0,labelKey:`${e}.fields.join.patternError`}]},rules:[{effect:s.RESET,conditions:[{scope:"/properties/access",schema:{const:"private"}}]},{effect:s.RESET,conditions:[{scope:"/properties/leavingDisallowed",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]},{effect:s.RESET,conditions:[{scope:"/properties/isSharedUpdate",schema:{const:!0}},{scope:"/properties/_join",schema:{const:"auto"}}]}]},{labelKey:`${e}.fields.hiddenMembers.label`,scope:"/properties/hiddenMembers",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.hiddenMembers.members.label:translate}}`,`{{${e}.fields.hiddenMembers.admins.label:translate}}`],descriptions:[`{{${e}.fields.hiddenMembers.members.description:translate}}`,`{{${e}.fields.hiddenMembers.admins.description:translate}}`]}},{labelKey:`${e}.fields.contributeContent.label`,scope:"/properties/isViewOnly",type:"Control",options:{control:"hub-field-input-tile-select",labels:[`{{${e}.fields.contributeContent.members.label:translate}}`,`{{${e}.fields.contributeContent.admins.label:translate}}`],descriptions:[`{{${e}.fields.contributeContent.members.description:translate}}`,`{{${e}.fields.contributeContent.admins.description:translate}}`]}}]}]}),f=async(e,r,t)=>Object.assign(Object.assign({},a("hubGroup",t)),r);export{f as buildDefaults,d as buildUiSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250528 */
4
- import{g as c}from"./TM4ZSPAB.js";import{a as o}from"./HITN2DRN.js";import{a as n}from"./YWGNQDQM.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};
3
+ v1.0.0-next.20250528.1 */
4
+ import{g as c}from"./JTR2SH4G.js";import{a as o}from"./JFW3ETMX.js";import{a as n}from"./N25XK6FN.js";function x(e){return f(e.type,e.typeKeywords)}function f(e,r=[]){return e==="Feature Service"&&r.includes("Hosted Service")}function u(e){let r=/(feature)server(\/|\/(\d+))?$/i;return!!e&&e.includes("arcgis.com")&&r.test(e)&&!m(e)}function m(e){return/\/(sharing|usrsvcs)\/(appservices|servers)\//i.test(e)}var p;(function(e){e.EXTRACT="Extract",e.QUERY="Query"})(p||(p={}));function b(e,r){return(r.capabilities||"").split(",").includes(e)}function S(e,r){return b(e,r)?v(e,r):g(e,r)}function g(e,r){let t=(r.capabilities||"").split(",").filter(s=>!!s).concat(e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function v(e,r){let t=r.capabilities.split(",").filter(s=>s!==e).join(",");return Object.assign(Object.assign({},r),{capabilities:t})}function l(e){return u(e.url)&&!!e.serverExtractCapability}function d(e){let r=c(e.url),t=e.access==="public",i=e.serverQueryCapability;return r&&t&&i}function a(e){let{type:r,typeKeywords:t=[]}=e;return r===n["Image Service"]&&!t.includes("Tiled Imagery")}function M(e,r){let t=null;return l(e)?t="createReplica":d(e)&&!r?t=!!o(e,"extendedProps.serverExtractCapability")?"fgdb":"paging":a(e)&&(t="exportImage"),t}function A(e){let r=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),t=o(e,"extendedProps.server.layers.length")===1,i=a(e);return r||t||i}export{x as a,p as b,b as c,S as d,M as e,A as f};