@esri/solutions-components 1.1.0-next.20250807 → 1.1.0-next.20250808

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (404) hide show
  1. package/dist/cdn/{GUFY3D6V.js → 22WTPZXT.js} +1 -1
  2. package/dist/cdn/{W3PNGM6F.js → 2CLV46ND.js} +2 -2
  3. package/dist/cdn/{QXMCQ54C.js → 2EQWOG4U.js} +2 -2
  4. package/dist/cdn/{PEDNVUYP.js → 2GOU5HIK.js} +2 -2
  5. package/dist/cdn/{JPCKGXDG.js → 2JEEE6YX.js} +2 -2
  6. package/dist/cdn/{WCCJB6HX.js → 2L5RDVZW.js} +2 -2
  7. package/dist/cdn/{A2K3NMH6.js → 2W5KL7LK.js} +2 -2
  8. package/dist/cdn/{O43OSMTE.js → 33HMZMZA.js} +2 -2
  9. package/dist/cdn/{G2SS4KGO.js → 34O3JSKM.js} +2 -2
  10. package/dist/cdn/{GZZN35A5.js → 3CMD5PVX.js} +2 -2
  11. package/dist/cdn/3FPOGXIB.js +4 -0
  12. package/dist/cdn/{MRZENK6I.js → 3JXZX54X.js} +2 -2
  13. package/dist/cdn/{ZEKLNP2G.js → 3NX25KHK.js} +2 -2
  14. package/dist/cdn/{4WA5EUDQ.js → 3OBMAMX2.js} +2 -2
  15. package/dist/cdn/{J7I3BLLD.js → 3T5X6TQS.js} +2 -2
  16. package/dist/cdn/{OQMPAADX.js → 3X5F76DP.js} +2 -2
  17. package/dist/cdn/{QEJJNDK2.js → 3YCH5HF6.js} +2 -2
  18. package/dist/cdn/{CHYLF53H.js → 45QWR7XP.js} +2 -2
  19. package/dist/cdn/{WMKSKX7O.js → 45RT4J6W.js} +2 -2
  20. package/dist/cdn/{CQ3CEIZS.js → 462ZO5LH.js} +2 -2
  21. package/dist/cdn/{23UWFEAE.js → 47G5VVBO.js} +2 -2
  22. package/dist/cdn/{Q5XGXIBI.js → 4IMOHO3P.js} +2 -2
  23. package/dist/cdn/{6C2Z2DBF.js → 4L4JZKJ6.js} +2 -2
  24. package/dist/cdn/{VHZLZ6IC.js → 4NV4YSI4.js} +2 -2
  25. package/dist/cdn/{DTRUDIIQ.js → 4PADNNBY.js} +2 -2
  26. package/dist/cdn/{R2EEX6LB.js → 4WL53LUA.js} +2 -2
  27. package/dist/cdn/{XZ6QT5F4.js → 4ZJMKDMO.js} +2 -2
  28. package/dist/cdn/{RCSIM34B.js → 53VD6TGY.js} +2 -2
  29. package/dist/cdn/{3TFBHSQL.js → 54ZFB7LI.js} +2 -2
  30. package/dist/cdn/{ZMBZ4OPR.js → 5BILF3PR.js} +2 -2
  31. package/dist/cdn/{DJMHUAZO.js → 5C7IZMYM.js} +2 -2
  32. package/dist/cdn/{IJCTLJ3S.js → 5CRH3T2P.js} +2 -2
  33. package/dist/cdn/{2ZOMDEH5.js → 5D2QODTY.js} +1 -1
  34. package/dist/cdn/{CLBTJIJO.js → 5DU7OMGK.js} +2 -2
  35. package/dist/cdn/{KMJTWHMU.js → 5H3COH45.js} +1 -1
  36. package/dist/cdn/{TDGTW5ZD.js → 5HSCQ3YD.js} +2 -2
  37. package/dist/cdn/{XNLHGXFM.js → 5JJMI5T4.js} +2 -2
  38. package/dist/cdn/{CJSWCXUW.js → 5JJT4ZZO.js} +2 -2
  39. package/dist/cdn/{P6J236L4.js → 5LDQ2GL2.js} +2 -2
  40. package/dist/cdn/{P7QDYS5I.js → 5NEGXFEY.js} +1 -1
  41. package/dist/cdn/5NI3FFHS.js +4 -0
  42. package/dist/cdn/{RJ2MPHZN.js → 5QHABXLW.js} +1 -1
  43. package/dist/cdn/{EL3QS227.js → 5TW3VD4R.js} +2 -2
  44. package/dist/cdn/{YMEEILOV.js → 5YGCWUNA.js} +2 -2
  45. package/dist/cdn/{NGFQAGB5.js → 6A5FFXGY.js} +2 -2
  46. package/dist/cdn/{C3ZTMBEV.js → 6B737EGY.js} +2 -2
  47. package/dist/cdn/{ZFGFZKJQ.js → 6FV573R5.js} +2 -2
  48. package/dist/cdn/{MSDCALGZ.js → 6QQLYL4K.js} +2 -2
  49. package/dist/cdn/{A355VKVB.js → 7AVB457O.js} +2 -2
  50. package/dist/cdn/{MFTYI4ZA.js → 7B2HCARZ.js} +2 -2
  51. package/dist/cdn/{SQ2DYZTT.js → 7BFI7TBI.js} +2 -2
  52. package/dist/cdn/{JA33342E.js → 7LZPJOU7.js} +2 -2
  53. package/dist/cdn/{AUN7K4CI.js → 7OBG75DM.js} +2 -2
  54. package/dist/cdn/{D6J3KRJW.js → 7PHORZWE.js} +2 -2
  55. package/dist/cdn/{X5NWLLPN.js → 7UORHXRU.js} +2 -2
  56. package/dist/cdn/{6PLQ3TFJ.js → 7WAVZXMQ.js} +2 -2
  57. package/dist/cdn/{JWRRZMT3.js → 7WRQT2RE.js} +2 -2
  58. package/dist/cdn/{34LFTZHC.js → 7X3JKJVF.js} +2 -2
  59. package/dist/cdn/{RTXWHKDN.js → A76BC4EF.js} +1 -1
  60. package/dist/cdn/{47YCRAOA.js → AAFW2UKV.js} +2 -2
  61. package/dist/cdn/{7DIO7H4Y.js → ABKISPH2.js} +2 -2
  62. package/dist/cdn/{GDMC3AGH.js → ACEZ22CN.js} +2 -2
  63. package/dist/cdn/{ACZOFHOI.js → ACRTXGVC.js} +2 -2
  64. package/dist/cdn/{SSJ2ZQKC.js → AE5NEHRJ.js} +1 -1
  65. package/dist/cdn/{TG2OYQ7P.js → AFZDYZ7T.js} +2 -2
  66. package/dist/cdn/{B6K7HRRU.js → AJX4UOXA.js} +2 -2
  67. package/dist/cdn/{RD33HMPU.js → AO744LTN.js} +2 -2
  68. package/dist/cdn/{MH6BBU67.js → AQR5P57P.js} +2 -2
  69. package/dist/cdn/{X4R4DZVD.js → AS4W6XAM.js} +2 -2
  70. package/dist/cdn/{CSQRLPK5.js → AWKJXH26.js} +2 -2
  71. package/dist/cdn/{S5FLRUY6.js → B347S3OX.js} +2 -2
  72. package/dist/cdn/{IUQL5J7N.js → BFC5QXIT.js} +2 -2
  73. package/dist/cdn/{KTKZUQ4I.js → BFH2Q5U3.js} +2 -2
  74. package/dist/cdn/{5TCD4UCY.js → BINBDWML.js} +2 -2
  75. package/dist/cdn/{SXV2A3WF.js → BLU2VIKU.js} +2 -2
  76. package/dist/cdn/{O226UAP3.js → BMYV5AEO.js} +2 -2
  77. package/dist/cdn/{6VC2QNBM.js → BRK66LT6.js} +1 -1
  78. package/dist/cdn/{KO4Z3EBV.js → C6IW5XPH.js} +1 -1
  79. package/dist/cdn/{VLOP6C2D.js → C6SWDNUF.js} +1 -1
  80. package/dist/cdn/{GIUTD53S.js → CE32N5MH.js} +2 -2
  81. package/dist/cdn/CNFCP73P.js +4 -0
  82. package/dist/cdn/{OXJNTCXG.js → CUQH3TNF.js} +2 -2
  83. package/dist/cdn/{5HJ5WMUT.js → CZVNRFM4.js} +4 -4
  84. package/dist/cdn/{XGS4Y4L7.js → D34LMVM5.js} +2 -2
  85. package/dist/cdn/{BAGEJFMS.js → DBV7PUGF.js} +2 -2
  86. package/dist/cdn/{2C56DLAD.js → DD7EJ4ZW.js} +2 -2
  87. package/dist/cdn/{ALMWOQOE.js → DE4ZQLOG.js} +2 -2
  88. package/dist/cdn/{TZ2HVOE6.js → DEWBDUVG.js} +2 -2
  89. package/dist/cdn/{O4C7KXCW.js → DHB2ACZ2.js} +2 -2
  90. package/dist/cdn/{FCPM5MUJ.js → DJB74632.js} +2 -2
  91. package/dist/cdn/{IWIUNGO7.js → DMGXDHPW.js} +2 -2
  92. package/dist/cdn/{N6DM2Q4G.js → DUZSPRRF.js} +1 -1
  93. package/dist/cdn/{SUV7MWFV.js → EAF3VHRN.js} +1 -1
  94. package/dist/cdn/{HBFX5M4G.js → ESRTCMBM.js} +2 -2
  95. package/dist/cdn/{RO255T5X.js → EU67ANMF.js} +2 -2
  96. package/dist/cdn/{MTNP2I5X.js → EXD4IGJY.js} +2 -2
  97. package/dist/cdn/{O32OXSI3.js → EZFM4ZIN.js} +1 -1
  98. package/dist/cdn/{A2R4QAHH.js → F2PZM5QK.js} +2 -2
  99. package/dist/cdn/{5GRWDTRM.js → FCKAD5C4.js} +2 -2
  100. package/dist/cdn/{B7Q2VTJW.js → FCYIJDDZ.js} +2 -2
  101. package/dist/cdn/{7CR4A6OG.js → FGAJFBW2.js} +1 -1
  102. package/dist/cdn/{P4PQLCYD.js → FLEZREEZ.js} +2 -2
  103. package/dist/cdn/{SUQXPEBH.js → FOHBFDJD.js} +2 -2
  104. package/dist/cdn/{SNTMUWIG.js → FSGAUODS.js} +2 -2
  105. package/dist/cdn/{RIDCSABY.js → FTX66P5U.js} +2 -2
  106. package/dist/cdn/{EHBSXGFN.js → G2NDHZIY.js} +1 -1
  107. package/dist/cdn/{45PRHENB.js → G4ENZOQI.js} +2 -2
  108. package/dist/cdn/{P2MUOSGT.js → G53GBDBC.js} +2 -2
  109. package/dist/cdn/{E6RTSA2V.js → GAH4ZI7P.js} +2 -2
  110. package/dist/cdn/{XC4WT7GZ.js → GHE2ECXL.js} +2 -2
  111. package/dist/cdn/{CKL467ZT.js → GKCKRQWP.js} +2 -2
  112. package/dist/cdn/GMZVBYEW.js +4 -0
  113. package/dist/cdn/{Z2BBV7RY.js → GNDIMMV2.js} +2 -2
  114. package/dist/cdn/{AVVZLUHB.js → GP2IIA76.js} +2 -2
  115. package/dist/cdn/{QF2WSPS3.js → GQUQ25DY.js} +2 -2
  116. package/dist/cdn/{FWOZSJAV.js → GRBLHBF2.js} +2 -2
  117. package/dist/cdn/{NGUS7MOI.js → GU4QPSOO.js} +2 -2
  118. package/dist/cdn/{BSRIHA5H.js → GUCIDMNV.js} +2 -2
  119. package/dist/cdn/GXOZZUNW.js +18 -0
  120. package/dist/cdn/{EEYXYWFV.js → GZU7CS6P.js} +2 -2
  121. package/dist/cdn/{NMGHDXOL.js → HABV25N7.js} +1 -1
  122. package/dist/cdn/{OIUCTBCG.js → HHU2QIT7.js} +2 -2
  123. package/dist/cdn/{37VLMVEC.js → HTU7XXVJ.js} +1 -1
  124. package/dist/cdn/{HUEC3AVY.js → HXOQFNGB.js} +1 -1
  125. package/dist/cdn/{YNOYNNA5.js → I325H2EH.js} +1 -1
  126. package/dist/cdn/{MZN35YDN.js → IA23IYVY.js} +2 -2
  127. package/dist/cdn/{LEDP5BSQ.js → IDZM6JQ2.js} +2 -2
  128. package/dist/cdn/{KIYQZB6J.js → IH5UPO4W.js} +2 -2
  129. package/dist/cdn/{O4XQIIMV.js → IHRUCQ2W.js} +1 -1
  130. package/dist/cdn/{7BUXQ75A.js → INDLPX7C.js} +2 -2
  131. package/dist/cdn/{BAPML7LH.js → IVO43U7Q.js} +2 -2
  132. package/dist/cdn/{NR4OF7Y4.js → IVUHOF7R.js} +2 -2
  133. package/dist/cdn/{EZ6I42W4.js → JDMHXFRB.js} +2 -2
  134. package/dist/cdn/{RCHK4JI3.js → JGXKYEBY.js} +2 -2
  135. package/dist/cdn/{5DEON4XN.js → JJFVVQME.js} +2 -2
  136. package/dist/cdn/{TL2RPK3H.js → JNIPTN7Z.js} +1 -1
  137. package/dist/cdn/{5L62KXJN.js → JOBBMOLV.js} +2 -2
  138. package/dist/cdn/{4KWZDDKF.js → JRLGUPV3.js} +2 -2
  139. package/dist/cdn/{PJOKXK6Y.js → JVGQ4NFQ.js} +2 -2
  140. package/dist/cdn/{KFTKMPJB.js → JXSWQOVW.js} +2 -2
  141. package/dist/cdn/{ITAHRKZF.js → JZPLLKMA.js} +2 -2
  142. package/dist/cdn/K3C5AHY2.js +4 -0
  143. package/dist/cdn/{EHVOBSZZ.js → K55E3GAS.js} +2 -2
  144. package/dist/cdn/{M6RURSMZ.js → KBSLLI3Y.js} +2 -2
  145. package/dist/cdn/{PD47QCT4.js → KIR3VHHX.js} +2 -2
  146. package/dist/cdn/{6TGOLOCW.js → KJVXCJ5J.js} +2 -2
  147. package/dist/cdn/{TSE2VEED.js → KJWROV22.js} +2 -2
  148. package/dist/cdn/{KFUROQ7I.js → KOSFP4TW.js} +2 -2
  149. package/dist/cdn/{3U5DH5OT.js → KPFYEGFG.js} +2 -2
  150. package/dist/cdn/{RV7LHK7S.js → KRJ2L3K4.js} +2 -2
  151. package/dist/cdn/{H4IM7M6P.js → LDIEDUAL.js} +2 -2
  152. package/dist/cdn/{VP4BUQPH.js → LFS6Y6L2.js} +2 -2
  153. package/dist/cdn/{OQW63WOV.js → LFVZUXMO.js} +1 -1
  154. package/dist/cdn/{XWB2NOXJ.js → LM4M3UUJ.js} +2 -2
  155. package/dist/cdn/{HPIBFCQP.js → LQBCAFSW.js} +2 -2
  156. package/dist/cdn/{ZWFKHJAE.js → LU7CTWWV.js} +2 -2
  157. package/dist/cdn/{3ZXWN6PE.js → LW7C6AEQ.js} +1 -1
  158. package/dist/cdn/{2IFPJJ5T.js → LYXAM2X5.js} +2 -2
  159. package/dist/cdn/{P62SJE3A.js → MIBEMEHR.js} +2 -2
  160. package/dist/cdn/{T327226O.js → MKSPCOFR.js} +2 -2
  161. package/dist/cdn/{C2PQ2QXB.js → MNGHV4D2.js} +2 -2
  162. package/dist/cdn/{S7VTUIBP.js → MRS3UBTT.js} +1 -1
  163. package/dist/cdn/{ZDZU6GQQ.js → MS3IFJOL.js} +2 -2
  164. package/dist/cdn/{4OWJPRUZ.js → MTCRAQAJ.js} +2 -2
  165. package/dist/cdn/{JAZAORCH.js → MWNKF7WJ.js} +2 -2
  166. package/dist/cdn/{ODKKI2US.js → MX2RCF7L.js} +2 -2
  167. package/dist/cdn/{2IF7HZSV.js → MZB7PQ2R.js} +2 -2
  168. package/dist/cdn/{QDINIBIY.js → NAMNXPQG.js} +2 -2
  169. package/dist/cdn/{2FY5XAYK.js → NGPTR56X.js} +2 -2
  170. package/dist/cdn/{KV3YUVLG.js → NIYVCETW.js} +2 -2
  171. package/dist/cdn/{FK2MENQV.js → NJMY3FC3.js} +2 -2
  172. package/dist/cdn/{KQMO4G2Q.js → NOFJIVRF.js} +2 -2
  173. package/dist/cdn/{XPXB7KO5.js → NOIUHSNJ.js} +2 -2
  174. package/dist/cdn/{PFDY5TYK.js → NPEYNUYM.js} +2 -2
  175. package/dist/cdn/{YZ7U7BSV.js → NPJHYSKO.js} +2 -2
  176. package/dist/cdn/{25PCEEUI.js → NS7H6YMZ.js} +2 -2
  177. package/dist/cdn/{GWMXEYIF.js → NY4636UE.js} +2 -2
  178. package/dist/cdn/{LS4ZFQHL.js → O2KCUN77.js} +2 -2
  179. package/dist/cdn/{LMT5I55C.js → O4G2XTNM.js} +1 -1
  180. package/dist/cdn/{WQYPXK6M.js → OAFXVMDT.js} +1 -1
  181. package/dist/cdn/{Z3ETPCAX.js → ODQSJCRL.js} +2 -2
  182. package/dist/cdn/{4Q7HUC6D.js → ODROTWXF.js} +2 -2
  183. package/dist/cdn/{R6XB7URW.js → OEYMQ44L.js} +2 -2
  184. package/dist/cdn/{47BWAZPL.js → OIA7VIOQ.js} +1 -1
  185. package/dist/cdn/{KCVINMRG.js → OKIFYM75.js} +2 -2
  186. package/dist/cdn/{SB2PG74V.js → OMBAX252.js} +2 -2
  187. package/dist/cdn/{F7KNFTOL.js → OQQ2FKHA.js} +2 -2
  188. package/dist/cdn/{DOHV6DHD.js → OW5AFJWW.js} +2 -2
  189. package/dist/cdn/{TOESH4WN.js → OYMWRNRK.js} +2 -2
  190. package/dist/cdn/{WUHAMO7D.js → OZ3UWVCA.js} +1 -1
  191. package/dist/cdn/{DTBUHMHE.js → P3GWBGGX.js} +2 -2
  192. package/dist/cdn/{C33FUG2J.js → P3JAAQ5L.js} +2 -2
  193. package/dist/cdn/{NQFOUERQ.js → P5Z3VY3T.js} +2 -2
  194. package/dist/cdn/{K7XUZZSB.js → PEFG2XTS.js} +2 -2
  195. package/dist/cdn/{EFEY5VBE.js → PER3FANK.js} +2 -2
  196. package/dist/cdn/{I6O5A2P5.js → PGAU7XC3.js} +2 -2
  197. package/dist/cdn/{GTAXWPQM.js → PGY3MTHQ.js} +2 -2
  198. package/dist/cdn/{QOZT6CJO.js → PLG6ZCRP.js} +2 -2
  199. package/dist/cdn/{JLQ2HNMG.js → PM2FJP2T.js} +2 -2
  200. package/dist/cdn/{P4SBL5HU.js → PR6643MF.js} +2 -2
  201. package/dist/cdn/{U2TUMFII.js → PRZC7XFU.js} +2 -2
  202. package/dist/cdn/{U3V2FSLQ.js → PSMKR2NS.js} +2 -2
  203. package/dist/cdn/{BT2FLNSX.js → PU52KJGS.js} +2 -2
  204. package/dist/cdn/{FSAQZSUS.js → PWE3WFYX.js} +2 -2
  205. package/dist/cdn/{4B2B7EHG.js → QC5KFLH3.js} +2 -2
  206. package/dist/cdn/{5VVCKM7Z.js → QCMQKKPY.js} +2 -2
  207. package/dist/cdn/{T66J6NTI.js → QDOQAXQ2.js} +1 -1
  208. package/dist/cdn/{YQOZK3AJ.js → QFNACVKW.js} +2 -2
  209. package/dist/cdn/{L76KRRVT.js → QRQBI32B.js} +2 -2
  210. package/dist/cdn/QTHWC2ZJ.js +4 -0
  211. package/dist/cdn/{PS5X27FN.js → QVNEJNZD.js} +2 -2
  212. package/dist/cdn/{Y2BJ446T.js → R4TRXB34.js} +2 -2
  213. package/dist/cdn/{JL5HLTKL.js → RHPNDMP2.js} +2 -2
  214. package/dist/cdn/{5WKTUG4M.js → RM42QQL2.js} +2 -2
  215. package/dist/cdn/{OKTJGBKN.js → RPCHNJ5I.js} +2 -2
  216. package/dist/cdn/{UTHFW7DD.js → RSSBO26R.js} +2 -2
  217. package/dist/cdn/{AAN6KYGA.js → RSTPCTRP.js} +2 -2
  218. package/dist/cdn/{L46627XS.js → RVMICDG4.js} +2 -2
  219. package/dist/cdn/{LE5OLAWE.js → RZ5TXPRK.js} +2 -2
  220. package/dist/cdn/{CXNTZ26E.js → S7G6BX5M.js} +2 -2
  221. package/dist/cdn/{BS6FETLT.js → SHBMYV5S.js} +1 -1
  222. package/dist/cdn/{DNU5K63O.js → SHMGFOGS.js} +2 -2
  223. package/dist/cdn/{WLPBJYVG.js → SLMABSAX.js} +2 -2
  224. package/dist/cdn/{QBU6ELER.js → SLOADIPP.js} +2 -2
  225. package/dist/cdn/{AWQXV4OE.js → SMORLQMB.js} +2 -2
  226. package/dist/cdn/{762LBUVT.js → SOSJBYR7.js} +2 -2
  227. package/dist/cdn/{2UFC6UA7.js → STIAMNME.js} +2 -2
  228. package/dist/cdn/{HQPHASJI.js → STZUGXN3.js} +2 -2
  229. package/dist/cdn/{UGTKYNAU.js → SVQOIQXG.js} +2 -2
  230. package/dist/cdn/{JRV3QRPV.js → SW2PKNVK.js} +2 -2
  231. package/dist/cdn/{2AUNKB7Q.js → SXBM6EZP.js} +2 -2
  232. package/dist/cdn/{BLIIGOV4.js → T23GUATM.js} +2 -2
  233. package/dist/cdn/{ZHOLZY3J.js → T35I7QYT.js} +2 -2
  234. package/dist/cdn/{AKEG4Q55.js → T3JO7MJX.js} +2 -2
  235. package/dist/cdn/{TMEJHTFD.js → T5Z3DCYK.js} +1 -1
  236. package/dist/cdn/{6K65KN3A.js → TBDSM4RN.js} +1 -1
  237. package/dist/cdn/{X5VJW65F.js → TEHO6PBT.js} +2 -2
  238. package/dist/cdn/{OC6XTUJ6.js → TG27VP3D.js} +2 -2
  239. package/dist/cdn/{R4IMTVZY.js → TLBL4ZQ2.js} +2 -2
  240. package/dist/cdn/{PBDTJK6W.js → TRGIVBAD.js} +2 -2
  241. package/dist/cdn/{IAOPQBHX.js → TSHGNGUT.js} +2 -2
  242. package/dist/cdn/{4L6SA7O2.js → TVST3VSU.js} +1 -1
  243. package/dist/cdn/{45M7AJCE.js → TWRDYP6L.js} +2 -2
  244. package/dist/cdn/{LQ6ZCPMS.js → TXZPVJC3.js} +2 -2
  245. package/dist/cdn/{VNKDH3U3.js → TZ7ZADM3.js} +1 -1
  246. package/dist/cdn/{RZM43GVY.js → TZWZBVBO.js} +2 -2
  247. package/dist/cdn/{NH6YVOBX.js → U2XK5RP7.js} +1 -1
  248. package/dist/cdn/{DVXHQHDU.js → U3VBMULC.js} +2 -2
  249. package/dist/cdn/U57WJLGP.js +4 -0
  250. package/dist/cdn/{AAMRLHQE.js → U5TJXXJ2.js} +1 -1
  251. package/dist/cdn/{TW7OPMEY.js → UK46FFWF.js} +2 -2
  252. package/dist/cdn/{SIYAWD2U.js → ULX3XZXE.js} +2 -2
  253. package/dist/cdn/{EL3KDH3D.js → UNRNLKUZ.js} +2 -2
  254. package/dist/cdn/{APP23IPC.js → UR63X3E7.js} +2 -2
  255. package/dist/cdn/{EB45NXY2.js → UVLVIG72.js} +2 -2
  256. package/dist/cdn/{Z7WA3WBC.js → UVONSEDL.js} +2 -2
  257. package/dist/cdn/{QQTKMUG3.js → UY5ERYZ7.js} +2 -2
  258. package/dist/cdn/V5AFQGVT.js +4 -0
  259. package/dist/cdn/{VOZSXVEM.js → V6HZBTAM.js} +2 -2
  260. package/dist/cdn/{6TU3GTPA.js → VBZITN63.js} +2 -2
  261. package/dist/cdn/{KAEGPKNN.js → VCTV42TG.js} +2 -2
  262. package/dist/cdn/{VSATWLFJ.js → VHYFDDVW.js} +2 -2
  263. package/dist/cdn/{UEWCZT2W.js → VNBMQTBB.js} +2 -2
  264. package/dist/cdn/{TBO2RREN.js → VOWE4FUE.js} +2 -2
  265. package/dist/cdn/{HMNYGSMG.js → VOZWKTOI.js} +2 -2
  266. package/dist/cdn/{MB6KBR5S.js → VPDNYNYU.js} +2 -2
  267. package/dist/cdn/{EYSAK274.js → VRZ5U6KO.js} +2 -2
  268. package/dist/cdn/{QRCRSTCC.js → VX6N3BA2.js} +2 -2
  269. package/dist/cdn/{NDLIPMHN.js → VYZHM626.js} +2 -2
  270. package/dist/cdn/{IP7WWE4J.js → VZOMSRAD.js} +2 -2
  271. package/dist/cdn/{KSJYABTP.js → W75WYPAF.js} +2 -2
  272. package/dist/cdn/{MNSBUMKL.js → WEUSJWAE.js} +2 -2
  273. package/dist/cdn/{DUX2E7IA.js → WGDVAD44.js} +1 -1
  274. package/dist/cdn/{MP7ONC7J.js → WKBFYG4Q.js} +2 -2
  275. package/dist/cdn/{5EYC6CWL.js → WMBQMXJM.js} +2 -2
  276. package/dist/cdn/{RD5BPY34.js → WQAXXKFO.js} +2 -2
  277. package/dist/cdn/{OZIVUD7N.js → WQFPFLZV.js} +2 -2
  278. package/dist/cdn/{J3EPHUSR.js → WQRVOAAE.js} +2 -2
  279. package/dist/cdn/{ZYHDOOAO.js → WXDCPXQ7.js} +2 -2
  280. package/dist/cdn/{JYDRTFPO.js → WZEM4BXK.js} +2 -2
  281. package/dist/cdn/{673MKMRU.js → X6TYRAA2.js} +2 -2
  282. package/dist/cdn/{IZRXDPAA.js → XI4BRTEG.js} +2 -2
  283. package/dist/cdn/{GWBWVBO2.js → XMJ3GY6B.js} +2 -2
  284. package/dist/cdn/{5HZFMPIU.js → XORPA3LU.js} +2 -2
  285. package/dist/cdn/{55UXVEQV.js → XOYSU3NN.js} +2 -2
  286. package/dist/cdn/{BIOAZX2F.js → XZQQP3SH.js} +2 -2
  287. package/dist/cdn/{74NWIYS4.js → XZXQA66P.js} +2 -2
  288. package/dist/cdn/{IYZORPXE.js → YL7442RB.js} +2 -2
  289. package/dist/cdn/{LC2BPPCI.js → YSPC2R7G.js} +2 -2
  290. package/dist/cdn/{IN6PY4KQ.js → ZAUF26RB.js} +2 -2
  291. package/dist/cdn/{PGA4E5PO.js → ZC5VEUEH.js} +1 -1
  292. package/dist/cdn/{XPPHGVDC.js → ZHBCW2M7.js} +1 -1
  293. package/dist/cdn/{EU5VZNDS.js → ZNAL4DDQ.js} +2 -2
  294. package/dist/cdn/{BTXB4NY6.js → ZYH6DEJC.js} +2 -2
  295. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.en.json +1 -1
  296. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.json +1 -1
  297. package/dist/cdn/index.js +2 -2
  298. package/dist/chunks/Auth.js +1 -1
  299. package/dist/chunks/appConfig.js +1 -1
  300. package/dist/chunks/cardFetchingUtils.js +1 -1
  301. package/dist/chunks/common.js +1 -1
  302. package/dist/chunks/deployAppContexts.js +1 -1
  303. package/dist/chunks/downloadUtils.js +1 -1
  304. package/dist/chunks/helpers.js +1 -1
  305. package/dist/chunks/index.js +1 -1
  306. package/dist/chunks/interfaces.js +1 -1
  307. package/dist/chunks/loadModules.js +1 -1
  308. package/dist/chunks/mapViewUtils.js +1 -1
  309. package/dist/chunks/pciUtils.js +1 -1
  310. package/dist/chunks/popupUtils.js +1 -1
  311. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  312. package/dist/chunks/privilegeUtils.js +1 -1
  313. package/dist/chunks/publicNotificationStore.js +1 -1
  314. package/dist/chunks/queryUtils.js +1 -1
  315. package/dist/chunks/runtime.js +1 -1
  316. package/dist/chunks/solution-store.js +1 -1
  317. package/dist/chunks/templates.js +1 -1
  318. package/dist/chunks/useT9n.js +1 -1
  319. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  320. package/dist/components/basemap-gallery/customElement.js +1 -1
  321. package/dist/components/buffer-tools/customElement.js +1 -1
  322. package/dist/components/card-manager/customElement.js +1 -1
  323. package/dist/components/consent-manager/customElement.js +1 -1
  324. package/dist/components/create-feature/customElement.js +1 -1
  325. package/dist/components/create-related-feature/customElement.js +1 -1
  326. package/dist/components/crowdsource-manager/customElement.js +1 -1
  327. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  328. package/dist/components/deduct-calculator/customElement.js +1 -1
  329. package/dist/components/delete-button/customElement.js +1 -1
  330. package/dist/components/delete-dialog/customElement.js +1 -1
  331. package/dist/components/edit-card/customElement.js +1 -1
  332. package/dist/components/feature-details/customElement.js +1 -1
  333. package/dist/components/feature-list/customElement.js +1 -1
  334. package/dist/components/field-selection/customElement.js +1 -1
  335. package/dist/components/floor-filter/customElement.js +1 -1
  336. package/dist/components/info-card/customElement.js +1 -1
  337. package/dist/components/json-editor/customElement.js +1 -1
  338. package/dist/components/layer-list/customElement.js +1 -1
  339. package/dist/components/layer-table/customElement.js +1 -1
  340. package/dist/components/map-card/customElement.js +1 -1
  341. package/dist/components/map-draw-tools/customElement.js +1 -1
  342. package/dist/components/map-fullscreen/customElement.js +1 -1
  343. package/dist/components/map-layer-picker/customElement.js +1 -1
  344. package/dist/components/map-legend/customElement.js +1 -1
  345. package/dist/components/map-picker/customElement.js +1 -1
  346. package/dist/components/map-search/customElement.js +1 -1
  347. package/dist/components/map-select-tools/customElement.js +1 -1
  348. package/dist/components/map-tools/customElement.js +1 -1
  349. package/dist/components/pci-calculator/customElement.js +1 -1
  350. package/dist/components/pdf-download/customElement.js +1 -1
  351. package/dist/components/public-notification/customElement.js +1 -1
  352. package/dist/components/refine-selection/customElement.js +1 -1
  353. package/dist/components/selection-tool/customElement.js +1 -1
  354. package/dist/components/solution-article-card/customElement.js +1 -1
  355. package/dist/components/solution-configuration/customElement.js +1 -1
  356. package/dist/components/solution-configure-dialog/customElement.js +29 -25
  357. package/dist/components/solution-configure-dialog/index.d.ts +1 -1
  358. package/dist/components/solution-configure-dialog/index.js +1 -1
  359. package/dist/components/solution-configure-titles/customElement.js +1 -1
  360. package/dist/components/solution-contents/customElement.js +1 -1
  361. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  362. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  363. package/dist/components/solution-deployed-card/customElement.js +1 -1
  364. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  365. package/dist/components/solution-details-card/customElement.js +1 -1
  366. package/dist/components/solution-details-panel/customElement.js +1 -1
  367. package/dist/components/solution-item/customElement.js +1 -1
  368. package/dist/components/solution-item-accordion/customElement.js +1 -1
  369. package/dist/components/solution-item-details/customElement.js +1 -1
  370. package/dist/components/solution-item-diagram/customElement.js +1 -1
  371. package/dist/components/solution-item-icon/customElement.js +1 -1
  372. package/dist/components/solution-item-sharing/customElement.js +1 -1
  373. package/dist/components/solution-organization-variables/customElement.js +1 -1
  374. package/dist/components/solution-resource-item/customElement.js +1 -1
  375. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  376. package/dist/components/solution-social-share/customElement.js +1 -1
  377. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  378. package/dist/components/solution-template-data/customElement.js +1 -1
  379. package/dist/components/solution-variables/customElement.js +1 -1
  380. package/dist/components/solutions-all-panel/customElement.js +1 -1
  381. package/dist/components/solutions-all-shell/customElement.js +1 -1
  382. package/dist/components/solutions-article-panel/customElement.js +1 -1
  383. package/dist/components/solutions-articles/customElement.js +1 -1
  384. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  385. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  386. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  387. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  388. package/dist/components/spatial-ref/customElement.js +1 -1
  389. package/dist/components/store-manager/customElement.js +1 -1
  390. package/dist/docs/api.json +1 -1
  391. package/dist/docs/docs.json +1 -1
  392. package/dist/docs/web-types.json +1 -1
  393. package/dist/index.js +1 -1
  394. package/dist/loader.js +1 -1
  395. package/package.json +1 -1
  396. package/dist/cdn/2MCT2F24.js +0 -4
  397. package/dist/cdn/3KWL6RYZ.js +0 -4
  398. package/dist/cdn/C3KR7HPF.js +0 -4
  399. package/dist/cdn/CV6OFTSP.js +0 -18
  400. package/dist/cdn/ETSPZGFB.js +0 -4
  401. package/dist/cdn/T4ZKHZ72.js +0 -4
  402. package/dist/cdn/WCI57YT4.js +0 -4
  403. package/dist/cdn/WHSG5POK.js +0 -4
  404. package/dist/cdn/Z2ZINQA6.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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{d as m,e as c,f as d,g as f,m as C}from"./BS6FETLT.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
3
+ v1.1.0-next.20250808 */
4
+ import{d as m,e as c,f as d,g as f,m as C}from"./SHBMYV5S.js";var P=t=>(...p)=>{let s=c(),e=new t(...p),o=e.exports;m(s.at(-1));let n=e.component.manager;n.W(e,o),e.watchExports(n.W.bind(n,e)),d(e);let r=[e.component,...s].reverse();return C(r,a=>a===void 0?void 0:E(e,a,o),o)},E=(t,{host:p,key:s,isReactive:e},o)=>{let n=p,r=n[s]!==t.exports,a=n[s]!==o,g=o!==t.exports;if(r&&!a&&g&&(n[s]=t.exports),p===t.component){if(e){let i=t.component.manager;a&&i.W(t,n[s]),t.onUpdate(v=>{if(v.has(s)){let x=n[s];x!==t.exports&&i.W(t,x)}})}t.O=e?void 0:s}let h=t.component.constructor.elementProperties.get(s)?.readOnly;t.watchExports(()=>{n[s]!==t.exports&&(h?f(()=>{n[s]=t.exports}):n[s]=t.exports)})};export{P as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a}from"./NQFOUERQ.js";import"./47BWAZPL.js";export default a();
3
+ v1.1.0-next.20250808 */
4
+ import{a}from"./P5Z3VY3T.js";import"./OIA7VIOQ.js";export default 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
3
+ v1.1.0-next.20250808 */
4
4
  function V(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 F(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 M(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 Q(r,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(t=>Q(r,t)).join("&"):encodeURIComponent(r)+"="+encodeURIComponent(e)}function T(r){let e=M(r);return Object.keys(e).map(t=>Q(t,e[t])).join("&")}var X=globalThis.FormData,Oe=globalThis.File,Re=globalThis.Blob;function Y(r,e){let t=F(r)||e,n=M(r);if(t){let o=new X;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 T(r)}var k=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}};var de={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},G="ARCGIS_REST_JS_NO_CORS";globalThis[G]||(globalThis[G]=Object.assign({},de));var g=globalThis[G];function B(r){let e=new URL(r);r=e.origin+e.pathname,e.search.includes("f=json")&&(r+="?f=json");let t=e.origin;return g.pendingNoCorsRequests[t]?g.pendingNoCorsRequests[t]:(g.pendingNoCorsRequests[t]=fetch(r,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t),g.crossOriginNoCorsDomains[t.toLowerCase()]=Date.now(),delete g.pendingNoCorsRequests[t]}).catch(n=>(delete g.pendingNoCorsRequests[t],Promise.reject(new Error(`no-cors request to ${t} failed`)))),g.pendingNoCorsRequests[t])}function Z(r){r.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?L(e):(L("http://"+e),L("https://"+e))})}function L(r){let t=new URL(r).origin;g.noCorsDomains.indexOf(t)===-1&&g.noCorsDomains.push(t)}function z(r){let e=!1;if(g.noCorsDomains.length){let t=new URL(r).origin.toLowerCase();e=g.noCorsDomains.some(n=>t.includes(n))}return e}function ee(r){let e=!1;if(z(r)){let t=new URL(r).origin.toLowerCase(),n=g.crossOriginNoCorsDomains[t]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(r){console&&console.warn&&console.warn.apply(console,[r])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(r,e){var t;if(!e&&!window||!r)return!1;{e=e||window;let n=(t=e.location)===null||t===void 0?void 0:t.origin;return r.startsWith(n)}}var J="@esri/arcgis-rest-js";function me(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{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 oe(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 ge(r,e,t,n,o){if(r.code>=400){let{message:s,code:i}=r;throw new k(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 A(s,u,r,e,n):new k(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 k(s,i,r,e,n)}return r}function oe(r,e){let t=me(),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"};z(r)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let E;if(typeof n.authentication=="string"){let c=n.authentication;E={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&&(te("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 E=n.authentication;let p=r,d=!1;typeof window<"u"&&(d=ne(r));let R=!d&&ee(r);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&r.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(r)),S.then(()=>E?E.getToken(r).catch(c=>(c.url=r,c.options=n,a=c,Promise.resolve(""))):Promise.resolve("")).then(c=>{c.length&&(i.token=c),E&&E.getDomainCredentials&&(u.credentials=E.getDomainCredentials(r));let l={};if(u.method==="GET"){i.token&&n.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${i.token}`,delete i.token);let b=T(i)===""?r:r+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",c.length&&n.hideToken&&(i.token=c,delete l["X-Esri-Authorization"])):r=b}let m=new RegExp("/items/.+/updateResources").test(r);return u.method==="POST"&&(u.body=Y(i,m)),u.headers=Object.assign(Object.assign({},l),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!u.headers.referer&&(u.headers.referer=J),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(r,u):re().then(({fetch:h})=>h(r,u))}).then(c=>{if(!c.ok)return c.json().then(l=>{let{status:m,statusText:h}=c,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,r,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=c;throw new k(h,`HTTP ${m}`,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 l=ge(c,p,i,n,a);if(c&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(r)&&Array.isArray(c.authorizedCrossOriginNoCorsDomains)&&Z(c.authorizedCrossOriginNoCorsDomains),a){let m=r.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return l}else return c})}function f(r,e={params:{f:"json"}}){let{request:t}=e,n=V(e,["request"]);return t?t(r,n):oe(r,n).catch(o=>o instanceof A&&e.authentication&&typeof e.authentication!="string"&&e.authentication.canRefresh&&e.authentication.refreshCredentials?o.retry(()=>e.authentication.refreshCredentials(),1):Promise.reject(o))}function we(r){let[e,t]=r.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function se(r){return!r||r.length<=0?{}:r.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:n,value:o}=we(t);return e[n]=o,e},{})}var ie=300*1e3;function C(r,e){let t=e;return t.rawResponse=!1,f(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-ie),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-ie)),o})}function w(r){return typeof r!="string"||(r=r.trim(),r[r.length-1]==="/"&&(r=r.slice(0,-1))),r}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(r){return q.test(r)}function Ee(r){if(!q.test(r))return r;switch(H(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 H(r){if(!q.test(r))return null;let t=r.match(q)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function ce(r,e){let t=w(Ee(e)).replace(/https?:\/\//,""),n=w(r).replace(/https?:\/\//,"");return new RegExp(n,"i").test(t)}function ue(r,e){let t=ae(r),n=ae(e),o=H(r),s=H(e);return!!(t&&n&&o===s)}function le(r,e,t="https://www.arcgis.com/sharing/rest"){let n=`${t}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:r}})}function rt(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 N=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 he;(function(r){r.ArcGISRequestError="ArcGISRequestError",r.ArcGISAuthError="ArcGISAuthError",r.ArcGISAccessDeniedError="ArcGISAccessDeniedError",r.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var P=class{constructor(e){this.portal=e.portal?w(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=f(t,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var K;(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"})(K||(K={}));function fe(r){let e=`${w(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 f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(r,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,r)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(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=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function W(r){!r&&window&&(r=window);let e=r.crypto.getRandomValues(new Uint8Array(32));return $(e)}function _e(r){return typeof r.userId=="string"||typeof r.expires=="number"}var O=class r extends P{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?w(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:E,locale:p,params:d,style:R,pkce:S,state:c}=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),l=c||W(t),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;t.localStorage.setItem(m,l);let h=`${w(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:p,style:R};o!=="arcgis"&&(h=`${w(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=W(t),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;t.localStorage.setItem(U,v),D=pe(v,t).then(function(_){b.code_challenge_method=_?"S256":"plain",b.code_challenge=_||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${s}`,_=>{if(_.detail.error==="access_denied"){let j=new N;return U(j),j}if(_.detail.errorMessage){let j=new A(_.detail.errorMessage,_.detail.error);return U(j),j}v(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(h,"oauth-window",E),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=h})}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}`,E=t.localStorage.getItem(u),p=se(i?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(c,l,m){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:c}})),t.close();return}return m&&t.history.replaceState(t.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(c,l))}function S(c,l){if(t.localStorage.removeItem(u),s&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign({},c)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new r({clientId:o,portal:n,ssl:c.ssl,token:c.token,tokenExpires:c.expires,username:c.username,refreshToken:c.refreshToken,refreshTokenExpires:c.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!E||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==E)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let c=p.error,l=p.error_description||"Unknown error";return R(l,c,d.originalUrl)}if(i&&p.code){let c=w(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=t.localStorage.getItem(l);return t.localStorage.removeItem(l),C(c,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d.originalUrl)).catch(h=>R(h.originalMessage,h.code,d.originalUrl))}return!i&&p.access_token?Promise.resolve(S(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},d),d.originalUrl)):R("Unknown error","oauth-error",d.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 E=`${n}/oauth2/authorize?${T(u)}`;t.writeHead(301,{Location:E}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:n,clientId:o,redirectUri:s}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return C(`${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:w(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 _e(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 fe({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=f(t,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,t){return ue(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=>le(t,e))}toJSON(){return{type:"ArcGISIdentityManager",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]=w(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(()=>f(`${n}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(s=>{if(s.owningSystemUrl){if(ce(s.owningSystemUrl,this.portal))return f(`${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 f(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:J};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${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 C(`${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 C(`${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 I(r){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(r)}I.beginOAuth2=function(...r){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...r)};I.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`."),O.completeOAuth2(...r)};I.fromParent=function(...r){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...r)};I.authorize=function(...r){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...r)};I.exchangeAuthorizationCode=function(...r){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...r)};I.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."),O.fromCredential(...r)};I.deserialize=function(...r){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...r)};export{Y as a,te as b,A as c,f as d,rt as e,w as f,O 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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a as e}from"./YNOYNNA5.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
3
+ v1.1.0-next.20250808 */
4
+ import{a as e}from"./I325H2EH.js";var{state:a,onChange:n}=e({managedLayers:{},managedTables:[],highlightHandles:[],removeHandles:()=>{a.highlightHandles.forEach(s=>s?.remove()),a.highlightHandles=[]}}),h=new CustomEvent("managedLayersChanged",{bubbles:!0,cancelable:!1,composed:!0});n("managedLayers",()=>{dispatchEvent(h)});export{a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a,b}from"./Q5XGXIBI.js";import"./BLIIGOV4.js";import"./37VLMVEC.js";import"./7CR4A6OG.js";import"./47BWAZPL.js";export{a as ContentEditorTypes,b as ContentSchema};
3
+ v1.1.0-next.20250808 */
4
+ import{a,b}from"./4IMOHO3P.js";import"./T23GUATM.js";import"./HTU7XXVJ.js";import"./FGAJFBW2.js";import"./OIA7VIOQ.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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
3
+ v1.1.0-next.20250808 */
4
4
  function i(e,o){var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&o.indexOf(t)<0&&(r[t]=e[t]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var n=0,t=Object.getOwnPropertySymbols(e);n<t.length;n++)o.indexOf(t[n])<0&&Object.prototype.propertyIsEnumerable.call(e,t[n])&&(r[t[n]]=e[t[n]]);return r}export{i as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a as i}from"./WUHAMO7D.js";import{a}from"./CLBTJIJO.js";import"./EHVOBSZZ.js";import"./OQW63WOV.js";import"./6K65KN3A.js";import"./WQYPXK6M.js";import"./EL3KDH3D.js";import{a as o}from"./NGUS7MOI.js";import{a as s}from"./EZ6I42W4.js";import"./J3EPHUSR.js";import"./4L6SA7O2.js";import"./KAEGPKNN.js";import"./N6DM2Q4G.js";import{b as r}from"./2FY5XAYK.js";import"./CHYLF53H.js";import"./DUX2E7IA.js";import"./J7I3BLLD.js";import"./Q5XGXIBI.js";import"./BAGEJFMS.js";import"./EEYXYWFV.js";import"./EFEY5VBE.js";import"./DTBUHMHE.js";import"./EYSAK274.js";import"./2ZOMDEH5.js";import"./GTAXWPQM.js";import"./NH6YVOBX.js";import"./TMEJHTFD.js";import"./QBU6ELER.js";import"./ZEKLNP2G.js";import"./KIYQZB6J.js";import"./O4XQIIMV.js";import"./TG2OYQ7P.js";import"./YZ7U7BSV.js";import"./BLIIGOV4.js";import"./37VLMVEC.js";import"./7CR4A6OG.js";import"./47BWAZPL.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",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 s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{d as buildUiSchema};
3
+ v1.1.0-next.20250808 */
4
+ import{a as i}from"./OZ3UWVCA.js";import{a}from"./5DU7OMGK.js";import"./K55E3GAS.js";import"./LFVZUXMO.js";import"./TBDSM4RN.js";import"./OAFXVMDT.js";import"./UNRNLKUZ.js";import{a as o}from"./GU4QPSOO.js";import{a as s}from"./JDMHXFRB.js";import"./WQRVOAAE.js";import"./TVST3VSU.js";import"./VCTV42TG.js";import"./DUZSPRRF.js";import{b as r}from"./NGPTR56X.js";import"./45QWR7XP.js";import"./WGDVAD44.js";import"./3T5X6TQS.js";import"./4IMOHO3P.js";import"./DBV7PUGF.js";import"./GZU7CS6P.js";import"./PER3FANK.js";import"./P3GWBGGX.js";import"./VRZ5U6KO.js";import"./5D2QODTY.js";import"./PGY3MTHQ.js";import"./U2XK5RP7.js";import"./T5Z3DCYK.js";import"./SLOADIPP.js";import"./3NX25KHK.js";import"./IH5UPO4W.js";import"./IHRUCQ2W.js";import"./AFZDYZ7T.js";import"./NPJHYSKO.js";import"./T23GUATM.js";import"./HTU7XXVJ.js";import"./FGAJFBW2.js";import"./OIA7VIOQ.js";var d=async(e,l,t)=>({type:"Layout",elements:[{type:"Section",labelKey:`${e}.sections.basicInfo.label`,options:{helperText:{labelKey:`${e}.sections.basicInfo.helperText`}},elements:[{type:"Control",scope:"/properties/name",labelKey:`${e}.fields.name.label`,options:{messages:[{type:r.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`}]}},{type:"Control",scope:"/properties/summary",labelKey:`${e}.fields.summary.label`,options:{control:"hub-field-input-input",type:"textarea",rows:4,messages:[{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:"shared.fields.summary.maxLengthError"}]}},...a(e,l.thumbnail,i(l),"template",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 s(l.tags,t.portal.id,t.hubRequestOptions),allowCustomValues:!0,selectionMode:"multiple",placeholderIcon:"label"}},...await o(e,t)]}]},{type:"Section",labelKey:`${e}.sections.templateDetails.label`,elements:[{type:"Control",scope:"/properties/previewUrl",labelKey:`${e}.fields.previewUrl.label`,options:{helperText:{labelKey:`${e}.fields.previewUrl.helperText`},messages:[{type:"ERROR",keyword:"format",icon:!0,labelKey:"shared.errors.urlFormat"},{type:"ERROR",keyword:"if",hidden:!0}]}}]}]});export{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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
3
+ v1.1.0-next.20250808 */
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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a as c,b as n,c as y}from"./PGA4E5PO.js";import{b as d}from"./2IF7HZSV.js";import{h as u,i as t,n as p,w as a,x as s,y as m}from"./BS6FETLT.js";import"./47BWAZPL.js";var h=u`/** @license
3
+ v1.1.0-next.20250808 */
4
+ import{a as c,b as n,c as y}from"./ZC5VEUEH.js";import{b as d}from"./MZB7PQ2R.js";import{h as u,i as t,n as p,w as a,x as s,y as m}from"./SHBMYV5S.js";import"./OIA7VIOQ.js";var h=u`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
+ v1.1.0-next.20250808 */
4
+ import{a,b}from"./45QWR7XP.js";import"./WGDVAD44.js";import"./OIA7VIOQ.js";export{a as ChannelEditorTypes,b as ChannelSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
3
+ v1.1.0-next.20250808 */
4
4
  function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import b from"./HBFX5M4G.js";import a from"./GZZN35A5.js";import{a as _}from"./H4IM7M6P.js";import{b as T}from"./P2MUOSGT.js";import"./PBDTJK6W.js";import{A as l,C as g,h as C,i as r,n as x,q as L,x as $,y}from"./BS6FETLT.js";import"./47BWAZPL.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,b)
3
+ v1.1.0-next.20250808 */
4
+ import b from"./ESRTCMBM.js";import a from"./3CMD5PVX.js";import{a as _}from"./LDIEDUAL.js";import{b as T}from"./G53GBDBC.js";import"./TRGIVBAD.js";import{A as l,C as g,h as C,i as r,n as x,q as L,x as $,y}from"./SHBMYV5S.js";import"./OIA7VIOQ.js";export default $arcgis.t(([,{a:d,b:b,c:u,d:m,e:I,f:i,h:E,i:D,k:U}])=>{var R=C`@layer{:host{display:block}:host .instant-apps-language-translator-item{display:flex}:host .instant-apps-language-translator-item__section{padding:10px;border-bottom:1px solid var(--calcite-color-border-1);background-color:var(--calcite-color-foreground-2);width:49%}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__top-row{display:flex;align-items:center;justify-content:space-between}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label-container{display:flex;align-items:center}:host .instant-apps-language-translator-item__section .instant-apps-language-translator-item__label{display:inline-block;margin-left:10px;font-size:14px;font-weight:var(--calcite-font-weight-medium)}:host .instant-apps-language-translator-item__section calcite-input{margin-top:10px;margin-left:55px}:host .instant-apps-language-translator-item__section--last-item{border-bottom:none}:host .instant-apps-language-translator-item__section--selected{background-color:#f1faff}:host .instant-apps-language-translator-item__section:first-child{margin-right:1%}:host .instant-apps-language-translator-item__ui-location-popover-content{display:inline-block;padding:10px;max-width:400px}:host .instant-apps-language-translator-item__ui-location-items{display:flex}:host .instant-apps-language-translator-item__ui-location-item{display:flex;align-items:center;font-weight:var(--calcite-font-weight-medium);font-size:14px}:host .instant-apps-language-translator-item__tip{display:inline-block;font-size:14px;line-height:22px}:host .instant-apps-language-translator-item__info-icon{color:var(--calcite-color-brand)}:host .instant-apps-language-translator-item__info-button{border:0;background-color:transparent;cursor:pointer}:host .instant-apps-language-translator-item__nested-input{margin-left:60px;margin-top:8px}:host .instant-apps-language-translator-item__nested-input calcite-input{margin-left:30px}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected{background-color:#f1faff;background-color:var(--calcite-color-brand);color:var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-action{--calcite-ui-icon-color: var(--calcite-color-text-inverse)}:host(.calcite-mode-dark) .instant-apps-language-translator-item__section--selected calcite-icon{color:var(--calcite-color-text-inverse)}:host(.instant-apps-language-translator--last-item) .instant-apps-language-translator-item__section{border-bottom:none}}`,p="instant-apps-language-translator-item",c={section:`${p}__section`,selected:`${p}__section--selected`,topRow:`${p}__top-row`,labelContainer:`${p}__label-container`,label:`${p}__label`,uiLocationPopoverContent:`${p}__ui-location-popover-content`,uiLocationItems:`${p}__ui-location-items`,uiLocationItem:`${p}__ui-location-item`,infoIcon:`${p}__info-icon`,infoButton:`${p}__info-button`,tip:`${p}__tip`,nestedInput:`${p}__nested-input`},v=class extends y{constructor(){super(...arguments),this.userInputs={},this.translatedInputs={},this.translatorItemDataUpdated=x()}static{this.properties={fieldName:1,translatedLanguageLabels:0,setting:0,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=R}static{this.shadowRootOptions=L}get isTextEditor(){return this.setting.type===b.TextEditor}get calciteMode(){return U()?m.Dark:m.Light}get hasNestedContent(){return!!this.setting?.content}get tipID(){return`${this.fieldName}goTo`}loaded(){this.isTextEditor&&i.onChange("uiData",()=>this.handleEditorCollapse())}handleInputRender(e,t,a){return this.getUIDataItem()?.expanded?this.hasNestedContent?this.renderNestedInputs(e):this.renderInput(e,t,a):null}getUIDataItem(){if(I.uiData)return I.uiData.get(this.fieldName)}updateT9nStore(e,t){let a=i.get("currentLanguage"),n={[e]:t},s=D(a,n);i.set("portalItemResourceT9n",s)}handleExpand(){let e=this.getUIDataItem();e.expanded=!e.expanded;let t=new Map(I.uiData);t.set(this.fieldName,e),i.set("uiData",t)}handleEditorCollapse(){if(!i.get("uiData")?.get(this.fieldName)?.expanded&&this.userEditorWrapper?.editorInstance&&this.translatedEditorWrapper?.editorInstance){let{userEditorWrapper:e,translatedEditorWrapper:t}=this,a=e.editorInstance.getData();e.value=a;let n=t.editorInstance.getData();t.value=n,e.editorInstance.destroy(),t.editorInstance.destroy()}}handleSelection(e){let t=new Map(I.uiData),a=E();a.forEach(n=>{let s=t?.get(n);s.selected=!1}),a.forEach(n=>{let s=e?.target?.getAttribute("data-field-name");if(n===s){let o=t?.get(n);o.selected=!0}}),i.set("uiData",t)}getUILocation(){let e=this.getUIDataItem(),{uiLocation:t,userLocaleData:a}=e,{section:n,subsection:s}=t,o=[n.label,s.label,a.label].filter(h=>!!h);return o.map((h,f)=>r`<span class=${l(c.uiLocationItem)}><span>${h}</span>${f!==o.length-1?r`<calcite-icon icon=chevron-right scale=s></calcite-icon>`:null}</span>`)}getTip(){let e=this.getUIDataItem(),{tip:t}=e;return t}copySelection(e,t){this.setting.type===b.TextEditor?this.copyTextEditorContent(e):this.copyCalciteInputContent(t,e)}copyTextEditorContent(e){let t=e===d.User?this.userEditorWrapper?.editorInstance:this.translatedEditorWrapper?.editorInstance,a=50;setTimeout(()=>{this.selectContent(t),setTimeout(()=>this.selectContent(t),a)},a),this.copyContent(t)}selectContent(e){e.editing.view.focus();let{model:t}=e,a=t.document.getRoot();if(a){let n=t.createRangeIn(a);t.change(s=>s.setSelection(n))}}copyContent(e){let t=e.getData(),a=document.createElement("div");a.contentEditable="true",a.innerHTML=t,document.body.appendChild(a);let n=document.createRange();n.selectNodeContents(a);let s=window.getSelection();s?.removeAllRanges(),s?.addRange(n),document.execCommand("copy"),document.body.removeChild(a)}copyCalciteInputContent(e,t){let a=t===d.User?this.userInputs[e]:this.translatedInputs[e];if(a){a.selectText();let n=a.value;navigator.clipboard.writeText(n)}}setEditor(e,t){t&&(e===d.User?this.userEditorWrapper=t:this.translatedEditorWrapper=t)}async handleUserInputChange(e){i.set("saving",!0);try{let t=e.target,a=t.id,n=t.value,s=this.getUIDataItem();s.userLocaleData.value=n,await this.userLocaleInputOnChangeCallback(a,n),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleUserTextEditorChange(e){i.set("saving",!0);try{let t=e.detail,a=e.target.id,n=this.getUIDataItem();n.userLocaleData.value=t,await this.userLocaleInputOnChangeCallback(a,t),i.set("saving",!1)}catch{i.set("saving",!1)}}async handleTranslatedInputChange(e){i.set("saving",!0);try{let t=e.composedPath()[0],a=t.id;this.updateT9nStore(a,t.value);let{locale:n,resource:s}=this.getTranslatedLocaleCallbackData(),o=e.target.value;await this.translatedLocaleInputOnChangeCallback(a,o,n,s),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}async handleTranslatedTextEditorChange(e){i.set("saving",!0);try{let t=e.target.id;this.updateT9nStore(t,e.detail);let{locale:a,resource:n}=this.getTranslatedLocaleCallbackData(),s=e.detail;await this.translatedLocaleInputOnChangeCallback(t,s,a,n),setTimeout(()=>i.set("saving",!1),1500),this.translatorItemDataUpdated.emit()}catch(t){console.error("Error writing to portal item resource: ",t),i.set("saving",!1)}}handleTextEditorDataChange(e,t){e===d.User?this.handleUserTextEditorChange(t):this.handleTranslatedTextEditorChange(t)}getTranslatedLocaleCallbackData(){let e=i.get("currentLanguage"),t=i.get("portalItemResource");return{locale:e,resource:t}}getIcon(e){switch((e??this.setting).stringType){case"title":return u.Title;case"subtitle":return u.Subtitle;case"text":return u.Text;case"button":return u.Button;case"string":return u.String;default:return u.SettingIndicator}}render(){return"content"in this.setting&&this.setting.content?.every(e=>e?.content?.length===0)?(this.el.classList.remove(this.calciteMode),""):(this.el.classList.add(this.calciteMode),r`${this.renderBase()}${this.renderPopover()}`)}renderBase(){return r`<div class=${l(p)}>${this.renderUserLocaleSection()}${this.renderTranslatedLanguageSection()}</div>`}renderPopover(){let e=this.getTip();return r`<calcite-popover .referenceElement=${this.tipID} label auto-close placement=trailing closable><span class=${l(c.uiLocationPopoverContent)}><span class=${l(c.uiLocationItems)}>${this.getUILocation()}</span>${e?r`<span class=${l(c.tip)}>${e}</span>`:null}</span></calcite-popover>`}renderUserLocaleSection(){let e=this.getUIDataItem(),t=e?.userLocaleData,a=e?.selected?` ${c.selected}`:"",n=t?.label,s=t?.value,o=this.setting.id;return r`<div class=${`${c.section}${a}`}>${this.renderItemHeader(d.User,n,o)}${this.handleInputRender(d.User,s,o)}</div>`}renderTranslatedLanguageSection(){let e=this.getUIDataItem(),t=this.setting.id,a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=this.translatedLanguageLabels?.[this.fieldName],o=typeof n=="object"&&n!==null&&a in n&&typeof n!="number"&&!Array.isArray(n)?String(n[a]?.[t]??""):"",h=e?.selected?` ${c.selected}`:"";return r`<div class=${`${c.section}${h}`}>${this.renderItemHeader(d.Translation,s,t)}${this.handleInputRender(d.Translation,o,t)}</div>`}renderNestedInputs(e,t){let a=t??this.setting,{content:n}=a;return n?.map(s=>"content"in s?this.renderNestedInputs(e,s):this.renderNestedInput(e,s)).filter(s=>s!==void 0)}renderNestedInput(e,t){let a=i.get("currentLanguage"),n=i.get("portalItemResourceT9n"),s=t?.id,o=n?.[a],h=typeof o=="object"&&o!==null?o[s]:void 0,{label:f,value:w,id:k}=t,S=e===d.Translation?this.translatedLanguageLabels?.[k]:f,N=e===d.User?w:h??"";return r`<div class=${l(c.nestedInput)}>${this.renderItemHeader(e,S,s,t)}${this.renderInput(e,String(N),s,t)}</div>`}renderItemHeader(e,t,a,n){let s=!this.hasNestedContent||!!n;return r`<div class=${l(c.topRow)}>${this.renderItemHeaderLabel(e,t,n)}${s?this.renderCopyButton(e,a):null}</div>`}renderItemHeaderLabel(e,t,a){let n=e===d.User&&!a;return r`<div class=${l(c.labelContainer)}>${a?null:this.renderExpandCollapseButton()}<calcite-icon .icon=${this.getIcon(a)} scale=s></calcite-icon><span class=${l(c.label)}>${t}</span>${n?this.renderInfoButton():null}</div>`}renderExpandCollapseButton(){let e=this.getUIDataItem()?.expanded?u.Expanded:u.Collapsed;return r`<calcite-action @click=${this.handleExpand} .icon=${e} scale=s appearance=transparent text></calcite-action>`}renderInfoButton(){return r`<button id=${this.tipID??g} class=${l(c.infoButton)}><calcite-icon class=${l(c.infoIcon)} .icon=${u.Popover} scale=s></calcite-icon></button>`}renderCopyButton(e,t){return r`<calcite-action class=${l(this.calciteMode)} @click=${this.copySelection.bind(this,e,t)} slot=action .icon=${u.Copy} appearance=transparent text></calcite-action>`}renderInput(e,t,a,n){let s=n??this.setting;return s.type==="string"||s.type==="textarea"?e===d.User?this.renderUserLocaleInput(t,a):this.renderTranslatedLanguageInput(t,a):this.renderTextEditor(t,e,a)}renderUserLocaleInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleUserInputChange} ${$(a=>{a&&(this.userInputs[t]=a)})}></calcite-input>`)}renderTranslatedLanguageInput(e,t){return _(t,r`<calcite-input id=${t??g} class=${l(m.Light)} data-field-name=${this.fieldName??g} .value=${e} @focus=${this.handleSelection} @calciteInputChange=${this.handleTranslatedInputChange} ${$(a=>{a&&(this.translatedInputs[t]=a)})}></calcite-input>`)}renderTextEditor(e,t,a){let n={toolbar:[]};return r`<instant-apps-ckeditor-wrapper id=${a??g} @dataChanged=${this.handleTextEditorDataChange.bind(this,t)} @isFocused=${this.handleSelection} .value=${e??""} data-field-name=${this.fieldName??g} .config=${n} ${$(this.setEditor.bind(this,t))}></instant-apps-ckeditor-wrapper>`}};T("instant-apps-language-translator-item",v);return v},a,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.1/esri/copyright.txt for details.
3
- v1.1.0-next.20250807 */
4
- import{a as t}from"./GUFY3D6V.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};
3
+ v1.1.0-next.20250808 */
4
+ import{a as t}from"./22WTPZXT.js";function s(a){let e;switch(a.type){case"Hub Site Application":case"Site Application":e="site";break;case"Hub Page":case"Site Page":e="page";break;case"Hub Project":e="project";break;case"Hub Initiative":e="initiative";break;case"Discussion":e="discussion";break;case"Solution":e="template";break;case"Channel":e="channel";break;case"Group":e="group";break;case"Form":e="survey";break;case"Hub Initiative Template":e="initiativeTemplate";break;case"Event":e="event";break;case"User":e="user";break;default:["app","content","dataset","document","map"].includes(t(a.type||""))&&(e="content")}return e}export{s as a};