@esri/solutions-components 1.2.0-next.16 → 1.2.0-next.17

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 (458) hide show
  1. package/dist/cdn/{VEFMWNVR.js → 27BOBMXT.js} +2 -2
  2. package/dist/cdn/{7GX4DJGT.js → 2DHFQ4N2.js} +2 -2
  3. package/dist/cdn/{7N5QKFNB.js → 2DTYDBXS.js} +1 -1
  4. package/dist/cdn/{PP2BY544.js → 2EOGMSRN.js} +2 -2
  5. package/dist/cdn/{ID5T7DGW.js → 2FBUYJCK.js} +2 -2
  6. package/dist/cdn/{MWSOZQDY.js → 2GTHNFSE.js} +2 -2
  7. package/dist/cdn/{UIQXA63E.js → 2HCRUNSQ.js} +2 -2
  8. package/dist/cdn/{D3H64MRR.js → 2KGZQDH2.js} +1 -1
  9. package/dist/cdn/{NLXHAQLL.js → 2LAHNZGS.js} +2 -2
  10. package/dist/cdn/{E3MRIPN4.js → 2PJAQGID.js} +2 -2
  11. package/dist/cdn/{U2MFSKGL.js → 2PRRHM2Y.js} +2 -2
  12. package/dist/cdn/{PEOJQHTO.js → 2RZMEB72.js} +1 -1
  13. package/dist/cdn/{YCZQXPZS.js → 2UXW5KO4.js} +2 -2
  14. package/dist/cdn/{VGW3E33G.js → 2VT6QFXD.js} +2 -2
  15. package/dist/cdn/{XRRTWRCI.js → 2Y2SG6DQ.js} +2 -2
  16. package/dist/cdn/{3WACVNJA.js → 2YU7LJ6B.js} +2 -2
  17. package/dist/cdn/{DUFCXSJZ.js → 34SXZTS2.js} +2 -2
  18. package/dist/cdn/{734PV7FU.js → 3C47ORNV.js} +2 -2
  19. package/dist/cdn/{7ILSE3KA.js → 3CU2JBY7.js} +2 -2
  20. package/dist/cdn/{KUMDM2TP.js → 3FAMJ4OZ.js} +1 -1
  21. package/dist/cdn/{V5H4AUIH.js → 3GRFO42O.js} +2 -2
  22. package/dist/cdn/{CRM5UVP3.js → 3JURGZ5M.js} +2 -2
  23. package/dist/cdn/{PD5P6RHL.js → 3LVCIFRL.js} +2 -2
  24. package/dist/cdn/{47U3M3WM.js → 3NEX5ORN.js} +2 -2
  25. package/dist/cdn/{LRDXMMOD.js → 3RWM24EV.js} +2 -2
  26. package/dist/cdn/{NCCMANMO.js → 3T7DDHN7.js} +2 -2
  27. package/dist/cdn/{FE7BOUXR.js → 3UH5436X.js} +2 -2
  28. package/dist/cdn/{REIHKE4M.js → 3WWKKDE4.js} +2 -2
  29. package/dist/cdn/{BFBKMPXC.js → 3X5REHMK.js} +1 -1
  30. package/dist/cdn/{HZWJW4N4.js → 3XSLDIV4.js} +2 -2
  31. package/dist/cdn/{3ZAF7BHV.js → 3Y77NKTJ.js} +2 -2
  32. package/dist/cdn/{BIFWKQ4A.js → 42SJEHYX.js} +2 -2
  33. package/dist/cdn/{VTAI23DN.js → 46C77Y5Z.js} +2 -2
  34. package/dist/cdn/{YN5RGMUY.js → 4ARUZELT.js} +2 -2
  35. package/dist/cdn/{CG7LU7SQ.js → 4ESEI5R4.js} +2 -2
  36. package/dist/cdn/{GF6FVCOF.js → 4GDX4ZXE.js} +2 -2
  37. package/dist/cdn/{Z2FCSBUU.js → 4LVGOINA.js} +2 -2
  38. package/dist/cdn/{7ITUUMFZ.js → 4MSQLZ5Y.js} +2 -2
  39. package/dist/cdn/{QG6QJLC4.js → 4QCS44Z3.js} +2 -2
  40. package/dist/cdn/{JA42BMTT.js → 4SHO6M7C.js} +1 -1
  41. package/dist/cdn/{XYYHWXEE.js → 4SL2RRGS.js} +2 -2
  42. package/dist/cdn/{YNJMZX3I.js → 563I356Y.js} +2 -2
  43. package/dist/cdn/{NUCUGNUX.js → 56UBDUWD.js} +2 -2
  44. package/dist/cdn/{BWZE7DXC.js → 5B5KYPTC.js} +2 -2
  45. package/dist/cdn/{2HITWCFR.js → 5GYSKDUA.js} +2 -2
  46. package/dist/cdn/{ZDD7KPSE.js → 5HMNBLKG.js} +2 -2
  47. package/dist/cdn/{SMDGUFAX.js → 5I6K7NTD.js} +1 -1
  48. package/dist/cdn/{Z4ZF2BDG.js → 5IYPCZW6.js} +2 -2
  49. package/dist/cdn/{BAJD2MAY.js → 5MVZZM6V.js} +2 -2
  50. package/dist/cdn/{N5STZ7GZ.js → 5YPQ4LZ3.js} +2 -2
  51. package/dist/cdn/{IWEORJKW.js → 5ZHHMGZZ.js} +2 -2
  52. package/dist/cdn/{GTWKDTTV.js → 62Q3SLA3.js} +2 -2
  53. package/dist/cdn/{EKU2FTBE.js → 63Q66P6F.js} +1 -1
  54. package/dist/cdn/{IBECKWAF.js → 652RYQFN.js} +2 -2
  55. package/dist/cdn/{GHMZLDRQ.js → 66PDPDVE.js} +2 -2
  56. package/dist/cdn/{M2HCD4O7.js → 6GRTHDGT.js} +2 -2
  57. package/dist/cdn/6HJAZ3LW.js +4 -0
  58. package/dist/cdn/{QPXISNSE.js → 6KQRVWTI.js} +2 -2
  59. package/dist/cdn/{5QCHMT6O.js → 6VIADVHK.js} +2 -2
  60. package/dist/cdn/{M4Q775XV.js → 6VWDGFL6.js} +2 -2
  61. package/dist/cdn/{O6NVE7E5.js → 6XU7WJNI.js} +2 -2
  62. package/dist/cdn/{G6BHRJBM.js → 7FHFKLWA.js} +2 -2
  63. package/dist/cdn/{SMC7MDBC.js → 7FWXRIU7.js} +2 -2
  64. package/dist/cdn/{54US2Z6M.js → 7GWOVTJO.js} +2 -2
  65. package/dist/cdn/{5QIH33SB.js → 7H2RRDEL.js} +2 -2
  66. package/dist/cdn/{KJJQAQBD.js → 7KHRLY2A.js} +1 -1
  67. package/dist/cdn/{7IXKEJ6E.js → 7KKY5M2N.js} +1 -1
  68. package/dist/cdn/{UIOO7RGA.js → 7PC34Q7O.js} +2 -2
  69. package/dist/cdn/{EBFHYLAT.js → 7S4FXSIR.js} +2 -2
  70. package/dist/cdn/{CLEGGOAG.js → 7WXT73B4.js} +2 -2
  71. package/dist/cdn/{4QWU62YY.js → 7XVZ32CS.js} +2 -2
  72. package/dist/cdn/{FOS4FALQ.js → A4GTRWDC.js} +1 -1
  73. package/dist/cdn/{5KJRUSMT.js → AADEDLYT.js} +2 -2
  74. package/dist/cdn/{3SQYZSFK.js → AB5UPFJB.js} +2 -2
  75. package/dist/cdn/{SVKVDVSA.js → ABDJATA6.js} +2 -2
  76. package/dist/cdn/{64Q6BQ3T.js → ABGL2HG3.js} +2 -2
  77. package/dist/cdn/{24WM5BYO.js → ACALZ6GV.js} +2 -2
  78. package/dist/cdn/{VU7CLW5T.js → AG6F6HF7.js} +2 -2
  79. package/dist/cdn/{B46CQCIJ.js → AJ4T6IK5.js} +1 -1
  80. package/dist/cdn/{3K6T5N6M.js → AL6RPFXD.js} +2 -2
  81. package/dist/cdn/{UHI3J3HW.js → ALYHD6EZ.js} +2 -2
  82. package/dist/cdn/{AQNHCJUJ.js → AMHVEMHP.js} +2 -2
  83. package/dist/cdn/{FT3JQVXW.js → AP2AUIRH.js} +2 -2
  84. package/dist/cdn/{HHQ6EAEC.js → ARKITXRN.js} +1 -1
  85. package/dist/cdn/{XFLIYFY3.js → ATPO7XCC.js} +2 -2
  86. package/dist/cdn/{5NPHA45T.js → AUJEH7WT.js} +2 -2
  87. package/dist/cdn/{4LIZAOSQ.js → B2HGNK4E.js} +2 -2
  88. package/dist/cdn/{MUZW3RGH.js → B3FLSEYU.js} +2 -2
  89. package/dist/cdn/{PTLTCZI4.js → B4CKWQX4.js} +2 -2
  90. package/dist/cdn/{ZUGHV55K.js → B6QGXXOB.js} +2 -2
  91. package/dist/cdn/{N67QCQ7V.js → B6VXPA2U.js} +2 -2
  92. package/dist/cdn/{ZQJ3I7NF.js → B7VNWA2I.js} +2 -2
  93. package/dist/cdn/{FPQW2SHJ.js → BAIIGCU2.js} +2 -2
  94. package/dist/cdn/{CWMZQMNZ.js → BGW7ENSZ.js} +2 -2
  95. package/dist/cdn/{GGBR6YO3.js → BQZLDBCM.js} +2 -2
  96. package/dist/cdn/{QF64CVJ5.js → BSTJYCIB.js} +2 -2
  97. package/dist/cdn/{QNRYJM3B.js → BVDZWF5S.js} +1 -1
  98. package/dist/cdn/{SWYEHTYD.js → BVJQTZWN.js} +2 -2
  99. package/dist/cdn/{6HMY55NE.js → BZARB46I.js} +2 -2
  100. package/dist/cdn/{AABIQ6OI.js → C327AQYW.js} +2 -2
  101. package/dist/cdn/{PZIFPW3P.js → C43ZM6C5.js} +2 -2
  102. package/dist/cdn/{KBECYN7X.js → CBV6OFST.js} +2 -2
  103. package/dist/cdn/{5I53UUNF.js → CBYIZL6Z.js} +2 -2
  104. package/dist/cdn/{RAP3WBHW.js → CGEEY2O4.js} +2 -2
  105. package/dist/cdn/{XK6TMGUD.js → CIN5HZUI.js} +2 -2
  106. package/dist/cdn/{G32WYZWI.js → CMVISKR5.js} +2 -2
  107. package/dist/cdn/{5PL5BX7B.js → CSKXUBCU.js} +2 -2
  108. package/dist/cdn/{BOM2RSTG.js → CZWVK5EA.js} +2 -2
  109. package/dist/cdn/{GSWFBSAI.js → D3XPGKZT.js} +2 -2
  110. package/dist/cdn/{QCJZFBZQ.js → D5NTX244.js} +2 -2
  111. package/dist/cdn/{COE7UBMY.js → DBE4WPUJ.js} +1 -1
  112. package/dist/cdn/{KRUFNCWC.js → DBPMUME6.js} +2 -2
  113. package/dist/cdn/{LF3V5ZAK.js → DBWRMI5E.js} +2 -2
  114. package/dist/cdn/{F7XUO6AF.js → DF52UEIX.js} +2 -2
  115. package/dist/cdn/{SQGDT3MI.js → DHYVTMIA.js} +2 -2
  116. package/dist/cdn/{4S7GJLXK.js → DJ4IJPOT.js} +2 -2
  117. package/dist/cdn/{DFNL2TA5.js → DMV6IORF.js} +2 -2
  118. package/dist/cdn/{L2M6XD4J.js → DPJW2IPD.js} +2 -2
  119. package/dist/cdn/{M3DGWEUL.js → DSDUBJ7H.js} +2 -2
  120. package/dist/cdn/{PD3YZ7ZC.js → DW4CLX73.js} +2 -2
  121. package/dist/cdn/{V24FB5XD.js → DXNAVKBQ.js} +2 -2
  122. package/dist/cdn/{6XA66MT6.js → DZB4RDAF.js} +2 -2
  123. package/dist/cdn/{WC3Z4EDF.js → E7NO6EZ6.js} +1 -1
  124. package/dist/cdn/{JLPMEQ4C.js → EGXMVFW7.js} +2 -2
  125. package/dist/cdn/{5QGDLNDG.js → EIU5YTO4.js} +2 -2
  126. package/dist/cdn/{AXFQLPZQ.js → EOXVDL7W.js} +2 -2
  127. package/dist/cdn/{T24OWJ2D.js → EQETDODC.js} +2 -2
  128. package/dist/cdn/{2J76IXAQ.js → EUNIFQ72.js} +2 -2
  129. package/dist/cdn/{7PUOSBZG.js → EURJJU52.js} +1 -1
  130. package/dist/cdn/{TLK5UCOJ.js → EX4NPQG4.js} +2 -2
  131. package/dist/cdn/{6X3COWPL.js → EYZYTDPR.js} +2 -2
  132. package/dist/cdn/{VNJMC7H7.js → F2UORXTI.js} +2 -2
  133. package/dist/cdn/{2CNPC7JI.js → F7B4W6SN.js} +2 -2
  134. package/dist/cdn/{VSGIKV5X.js → FB44TDEK.js} +2 -2
  135. package/dist/cdn/FCKFGJ6W.js +4 -0
  136. package/dist/cdn/{463BGXGZ.js → FDRRD62C.js} +2 -2
  137. package/dist/cdn/{4GMTW4GE.js → FH57VOJA.js} +2 -2
  138. package/dist/cdn/{ZGZ2DUJK.js → FHTNC2HR.js} +2 -2
  139. package/dist/cdn/{2CJ5PXL4.js → FJYEO22A.js} +2 -2
  140. package/dist/cdn/{76ZCQD7O.js → FKNPEEI6.js} +2 -2
  141. package/dist/cdn/{ASYSKXRU.js → FKVAAIA2.js} +2 -2
  142. package/dist/cdn/{UQY7HMMM.js → FOPTUCYJ.js} +2 -2
  143. package/dist/cdn/{BGIC54NM.js → FRZ5GSSV.js} +2 -2
  144. package/dist/cdn/{QXFNX2NB.js → FXSHLDPT.js} +2 -2
  145. package/dist/cdn/{RYZD436N.js → G6KP2QQM.js} +2 -2
  146. package/dist/cdn/{ZCSEKMUG.js → GC652FKU.js} +2 -2
  147. package/dist/cdn/{MOZ76AMD.js → GCBBUA7Q.js} +2 -2
  148. package/dist/cdn/{GXVG6TBE.js → GCLSSW7P.js} +2 -2
  149. package/dist/cdn/{KQCOJSEM.js → GDN4X6TO.js} +2 -2
  150. package/dist/cdn/{GK6BZ5CA.js → GITYOQSJ.js} +2 -2
  151. package/dist/cdn/{D24MF5EE.js → GKVVEXGN.js} +2 -2
  152. package/dist/cdn/{F4JC7HOE.js → GR7VI3CO.js} +1 -1
  153. package/dist/cdn/{HRRYHXJV.js → GRK5SXGG.js} +2 -2
  154. package/dist/cdn/{GXE4VLPB.js → GRUWCAME.js} +2 -2
  155. package/dist/cdn/{XSELGOTY.js → GT3QLTVG.js} +2 -2
  156. package/dist/cdn/GT6NYEHE.js +4 -0
  157. package/dist/cdn/{5BELOZCM.js → GXRSIH57.js} +1 -1
  158. package/dist/cdn/{7UDEXBGV.js → H5KK4MYX.js} +2 -2
  159. package/dist/cdn/{MVZGGYJE.js → H6QSE5GL.js} +1 -1
  160. package/dist/cdn/{SFUF6JRQ.js → HA7MAWXP.js} +2 -2
  161. package/dist/cdn/{5MOL5QM7.js → HBH6H2OI.js} +2 -2
  162. package/dist/cdn/HCSUTBKT.js +4 -0
  163. package/dist/cdn/{ECHGKTAQ.js → HMMBGUGZ.js} +2 -2
  164. package/dist/cdn/{6KHLLWW2.js → HNB27GVR.js} +1 -1
  165. package/dist/cdn/{BTVG2AUT.js → HVHBVKKQ.js} +2 -2
  166. package/dist/cdn/I2D7I3KR.js +4 -0
  167. package/dist/cdn/{34W4ROJB.js → I3QWGBYF.js} +2 -2
  168. package/dist/cdn/{SO57WMZT.js → I3X55COD.js} +2 -2
  169. package/dist/cdn/{PGJVADNQ.js → I7OHX6PO.js} +2 -2
  170. package/dist/cdn/{E3O3ATEP.js → IBNEYOZG.js} +2 -2
  171. package/dist/cdn/{PZ7RGXSK.js → IFTHUL4R.js} +2 -2
  172. package/dist/cdn/{SLK6RJZ6.js → IKVBCRGA.js} +1 -1
  173. package/dist/cdn/{FLWQFTL6.js → IO7LHPOE.js} +2 -2
  174. package/dist/cdn/{5NGJJHY7.js → IOM3DORP.js} +2 -2
  175. package/dist/cdn/{GKUGVMPR.js → IOZQWPI7.js} +2 -2
  176. package/dist/cdn/{7C3OLASZ.js → IRUZSWD7.js} +2 -2
  177. package/dist/cdn/{CLNJC6L6.js → ITMUWA35.js} +1 -1
  178. package/dist/cdn/{FJRODNHS.js → IUUVVBCD.js} +2 -2
  179. package/dist/cdn/{X7MBI4XC.js → IXZBLLNR.js} +1 -1
  180. package/dist/cdn/{D3FKVFUM.js → J2TJO42Q.js} +2 -2
  181. package/dist/cdn/{MOEDT57I.js → J36FZHRF.js} +2 -2
  182. package/dist/cdn/{Y3GNKHWX.js → J3E2BBAK.js} +2 -2
  183. package/dist/cdn/{THGYUWHS.js → JG34FC2D.js} +2 -2
  184. package/dist/cdn/{4FW2NSUM.js → JGLCZAUL.js} +2 -2
  185. package/dist/cdn/{JS3S6ATX.js → JMREX3S5.js} +2 -2
  186. package/dist/cdn/{4PQQRVYV.js → JPMW6AZR.js} +2 -2
  187. package/dist/cdn/{MZFDKMPX.js → JR337GLV.js} +2 -2
  188. package/dist/cdn/{S4PLZNT3.js → JW24MNHZ.js} +2 -2
  189. package/dist/cdn/{A25HLWUP.js → JY533DEK.js} +2 -2
  190. package/dist/cdn/{IRIIUZ4P.js → K22CUDDI.js} +2 -2
  191. package/dist/cdn/{FL74QEC5.js → K5IVCB5B.js} +2 -2
  192. package/dist/cdn/K62GKZZ7.js +4 -0
  193. package/dist/cdn/{M4C4FAYK.js → KFZHE4FJ.js} +2 -2
  194. package/dist/cdn/{HMZDUHVH.js → KJWT64C2.js} +4 -4
  195. package/dist/cdn/{RTOP6BXN.js → KS5CANUK.js} +2 -2
  196. package/dist/cdn/{Q2QCS4J2.js → KS63246P.js} +2 -2
  197. package/dist/cdn/{7F7DT3AI.js → KSY6OHNW.js} +2 -2
  198. package/dist/cdn/{HPB7LMZB.js → L5RDQLF7.js} +2 -2
  199. package/dist/cdn/{TNHDJIYU.js → LPMZ6LX4.js} +2 -2
  200. package/dist/cdn/{TMXC3CNK.js → LSHA4FZB.js} +3 -3
  201. package/dist/cdn/{AGPZ3ZW3.js → MBPWNRYN.js} +1 -1
  202. package/dist/cdn/{CQLWNONE.js → MESHJKW3.js} +1 -1
  203. package/dist/cdn/{UPA6H3UK.js → MHUOZK4R.js} +2 -2
  204. package/dist/cdn/{T7ZYB7QK.js → MM6AI27P.js} +1 -1
  205. package/dist/cdn/{445VP5V5.js → MNZ6BW4N.js} +2 -2
  206. package/dist/cdn/{ONHJPLZM.js → MRFSLXLS.js} +2 -2
  207. package/dist/cdn/{VHMETX5C.js → MS6Z2PL4.js} +2 -2
  208. package/dist/cdn/{4ZTJFATS.js → MSFOOONQ.js} +2 -2
  209. package/dist/cdn/{V4XH652F.js → MSOYRSMG.js} +2 -2
  210. package/dist/cdn/{JXBYVSDN.js → MY6N5CRA.js} +2 -2
  211. package/dist/cdn/{TKJ3SF4I.js → N4SCVSKX.js} +1 -1
  212. package/dist/cdn/{7C7V3TXJ.js → NCVZKXNS.js} +2 -2
  213. package/dist/cdn/{KKWP4MFI.js → NG7G3CC5.js} +2 -2
  214. package/dist/cdn/{YG53B4I2.js → NGDOV2K2.js} +2 -2
  215. package/dist/cdn/{RRUGRUVI.js → NOCVDMRB.js} +2 -2
  216. package/dist/cdn/NORSIRXT.js +4 -0
  217. package/dist/cdn/{W2YFZYV5.js → NRMADILD.js} +2 -2
  218. package/dist/cdn/{PZLHAJTW.js → NXC6ZQGX.js} +2 -2
  219. package/dist/cdn/{4PFGFYB7.js → NXKGV7YT.js} +2 -2
  220. package/dist/cdn/{4SUYESMM.js → NYPCINNZ.js} +2 -2
  221. package/dist/cdn/{75QVLAGK.js → NYTRP5FO.js} +2 -2
  222. package/dist/cdn/{FRMOXCIW.js → O5DWH3SO.js} +2 -2
  223. package/dist/cdn/{AIIP4SWB.js → O5F2ZWVO.js} +2 -2
  224. package/dist/cdn/{T6URJ7UY.js → OCVSZQ7H.js} +2 -2
  225. package/dist/cdn/{KEH7PCJF.js → OFXIZNWO.js} +2 -2
  226. package/dist/cdn/{BXW5OPJA.js → OKIUNTWP.js} +1 -1
  227. package/dist/cdn/{CX7EB6FR.js → OLPGM6L7.js} +2 -2
  228. package/dist/cdn/{SLMOR34E.js → OMZIZMEP.js} +2 -2
  229. package/dist/cdn/{LTEMSWE5.js → ONDC6J54.js} +2 -2
  230. package/dist/cdn/{IKW7KKVU.js → OOWXU7Q7.js} +1 -1
  231. package/dist/cdn/{YWNRR2PJ.js → OP2LHXOJ.js} +2 -2
  232. package/dist/cdn/{64BACTQY.js → P4M32O5E.js} +2 -2
  233. package/dist/cdn/{MB4QMMLX.js → P4TVQ6HZ.js} +2 -2
  234. package/dist/cdn/{US2R7MQA.js → PFJ3SIGW.js} +9 -9
  235. package/dist/cdn/{ZTH6BNEM.js → PN22WD6L.js} +2 -2
  236. package/dist/cdn/{BL65R7NF.js → PVBVVNKG.js} +2 -2
  237. package/dist/cdn/{Z3WPTT5X.js → PX2NC6RT.js} +2 -2
  238. package/dist/cdn/{WMMQCH4Z.js → Q3JNHWRO.js} +2 -2
  239. package/dist/cdn/{AC5ZYR6U.js → Q53KK4EL.js} +2 -2
  240. package/dist/cdn/{X3W3VZ6Q.js → QBE6BXGP.js} +1 -1
  241. package/dist/cdn/{WVRENFYB.js → QBPCCTWK.js} +2 -2
  242. package/dist/cdn/{VUA6EP7Q.js → QFCX3LSO.js} +2 -2
  243. package/dist/cdn/{7VUSH2YE.js → QHTC5IWP.js} +1 -1
  244. package/dist/cdn/{NHWSJLLO.js → QJA5DJYL.js} +2 -2
  245. package/dist/cdn/{S2DMLXK2.js → QLLON6ES.js} +2 -2
  246. package/dist/cdn/{33UX3ORX.js → QO6QD2UA.js} +2 -2
  247. package/dist/cdn/{TJYDXN5N.js → QRY3L7AK.js} +2 -2
  248. package/dist/cdn/{H6UWK3YK.js → QS5OSTSD.js} +2 -2
  249. package/dist/cdn/{GJFOY4MZ.js → QSKPI3OM.js} +2 -2
  250. package/dist/cdn/{WR3I7AM2.js → QX7NTJMT.js} +2 -2
  251. package/dist/cdn/{UH35QWCX.js → QZGUP7S4.js} +2 -2
  252. package/dist/cdn/{CWSJDBQ4.js → RDUM35IY.js} +2 -2
  253. package/dist/cdn/RPLGE4VG.js +18 -0
  254. package/dist/cdn/{LEKPGQ27.js → RQO77UQI.js} +2 -2
  255. package/dist/cdn/{EHEYAZL3.js → RSHUZE2U.js} +2 -2
  256. package/dist/cdn/{7AM6FTIY.js → RSRX5ZSQ.js} +2 -2
  257. package/dist/cdn/{AJQDBHCZ.js → S32VNNZI.js} +2 -2
  258. package/dist/cdn/{XFF62RTG.js → S7VEMRYS.js} +2 -2
  259. package/dist/cdn/{QGJJKXZ7.js → SDH326NI.js} +2 -2
  260. package/dist/cdn/{AZDCP65Y.js → SG4AMZUD.js} +2 -2
  261. package/dist/cdn/{6LQTNDBM.js → SG7HE54E.js} +2 -2
  262. package/dist/cdn/{ET6LIIRW.js → SGPCNWI6.js} +2 -2
  263. package/dist/cdn/{OTXXGUOE.js → SHB6H2AY.js} +2 -2
  264. package/dist/cdn/{2KQOSCAG.js → SHBK62UO.js} +2 -2
  265. package/dist/cdn/{MASIZZCI.js → SJFT75LT.js} +2 -2
  266. package/dist/cdn/{VOI26VZU.js → SKT3KZVN.js} +2 -2
  267. package/dist/cdn/{O3IDDO6J.js → SQQCS6W7.js} +2 -2
  268. package/dist/cdn/{XCXTGRF4.js → SQU6O5NM.js} +2 -2
  269. package/dist/cdn/{4LTQAJ7Q.js → SU2J5HZD.js} +1 -1
  270. package/dist/cdn/{UL7RSTG3.js → SU3SZXNP.js} +2 -2
  271. package/dist/cdn/{4QWHJISX.js → SVB3MCB4.js} +1 -1
  272. package/dist/cdn/{Q5J5XNAP.js → SVYOYRYN.js} +2 -2
  273. package/dist/cdn/{QAXTCQ2U.js → T3UGCYO3.js} +2 -2
  274. package/dist/cdn/{DAMKXRGU.js → TCI5WS23.js} +2 -2
  275. package/dist/cdn/{EU6EDFI6.js → TCUI64QI.js} +2 -2
  276. package/dist/cdn/{MDGONFN6.js → TCWOZOHF.js} +2 -2
  277. package/dist/cdn/{7IYU7N4H.js → TF5CR6IC.js} +2 -2
  278. package/dist/cdn/{47TJEFIE.js → TJABFH4J.js} +2 -2
  279. package/dist/cdn/{L5CLDC55.js → TPEAD2VE.js} +2 -2
  280. package/dist/cdn/{VZO4BIVY.js → TSUACFNM.js} +2 -2
  281. package/dist/cdn/{GCYZFLHS.js → TX3BH26Y.js} +2 -2
  282. package/dist/cdn/{4I6Q6O7Q.js → TXDJ6LWQ.js} +2 -2
  283. package/dist/cdn/{MOTBFN4G.js → TY4OPURB.js} +2 -2
  284. package/dist/cdn/{BKKW36VD.js → TYTKNIAO.js} +2 -2
  285. package/dist/cdn/{IUORSNIC.js → TZL4KAXW.js} +2 -2
  286. package/dist/cdn/{NEHYX5WH.js → UA4EHWWN.js} +2 -2
  287. package/dist/cdn/{YVVDUMNS.js → UECWXQLL.js} +2 -2
  288. package/dist/cdn/{4STQ6HY6.js → UI7GBBEG.js} +2 -2
  289. package/dist/cdn/{BHT4KXCJ.js → UO36ASRK.js} +2 -2
  290. package/dist/cdn/{SYLD7AOJ.js → UQ25NGTK.js} +2 -2
  291. package/dist/cdn/{KW3H64Z3.js → USOOBDPS.js} +2 -2
  292. package/dist/cdn/{PIUQ5LMJ.js → UTROK7UB.js} +2 -2
  293. package/dist/cdn/{UWJAFW32.js → UUPQPUGK.js} +2 -2
  294. package/dist/cdn/{PWLKYE5P.js → VHQXOQJ2.js} +2 -2
  295. package/dist/cdn/{4QMBH3EN.js → VTTOHDYS.js} +2 -2
  296. package/dist/cdn/{MHQB5WNU.js → VU3X4U7U.js} +2 -2
  297. package/dist/cdn/{E2I2FH4I.js → VXEWSLGI.js} +1 -1
  298. package/dist/cdn/{MKH2DA7O.js → VXUOIWSG.js} +2 -2
  299. package/dist/cdn/{7MXST5RQ.js → VYTFYRFY.js} +2 -2
  300. package/dist/cdn/{O3VFVJOS.js → VZD6APGK.js} +2 -2
  301. package/dist/cdn/{WGCXCMFS.js → W2EG7GOY.js} +2 -2
  302. package/dist/cdn/{JRAWXTC2.js → W4CXKC7H.js} +2 -2
  303. package/dist/cdn/{CSI5GAPY.js → WE6RXE36.js} +2 -2
  304. package/dist/cdn/{BYGI6ZG4.js → WFV4PGVA.js} +2 -2
  305. package/dist/cdn/{XWM3XGZT.js → WG4H4RU4.js} +2 -2
  306. package/dist/cdn/{PSDCQKCH.js → WGFEQGBZ.js} +2 -2
  307. package/dist/cdn/{SIY7FRU2.js → WI5MHDVM.js} +2 -2
  308. package/dist/cdn/{TP6TK5QG.js → WL4IX6VR.js} +2 -2
  309. package/dist/cdn/{ADWQSEII.js → WM4MCBYB.js} +2 -2
  310. package/dist/cdn/WV2CKOO7.js +4 -0
  311. package/dist/cdn/{L2YFBS6Q.js → WWXBVK5X.js} +1 -1
  312. package/dist/cdn/{33SUDNLJ.js → WZH6KHYA.js} +1 -1
  313. package/dist/cdn/X2XJ3W6P.js +18 -0
  314. package/dist/cdn/{BSDT7WHN.js → X6L6A3RW.js} +2 -2
  315. package/dist/cdn/{CIPEOZGL.js → X7YHISH3.js} +2 -2
  316. package/dist/cdn/{OENBSLHM.js → XH24SHF6.js} +2 -2
  317. package/dist/cdn/{LI3HHQ6A.js → XKUGZBQ5.js} +2 -2
  318. package/dist/cdn/{5ROFL3RL.js → XLBD7W7N.js} +2 -2
  319. package/dist/cdn/{QM3ILXY3.js → XN4NZKWU.js} +2 -2
  320. package/dist/cdn/{BA2JZZPZ.js → XPUTXW3J.js} +2 -2
  321. package/dist/cdn/{E3MM5XBG.js → XRKVRBMI.js} +2 -2
  322. package/dist/cdn/{CKEIWQPE.js → XZI4XMDG.js} +2 -2
  323. package/dist/cdn/{BOMBADXF.js → XZQVERDX.js} +1 -1
  324. package/dist/cdn/{SFMJHS2P.js → Y2NQJ6HP.js} +2 -2
  325. package/dist/cdn/{XLBG2RJT.js → Y2Z2DTEP.js} +2 -2
  326. package/dist/cdn/{SML6VAVH.js → Y3OMISYU.js} +2 -2
  327. package/dist/cdn/{YEUCZM52.js → Y3XWT7FR.js} +2 -2
  328. package/dist/cdn/{N2W6QSZD.js → Y3ZXSPOY.js} +2 -2
  329. package/dist/cdn/{M37XXGZU.js → Y4KAUYJU.js} +2 -2
  330. package/dist/cdn/{UCZH23H5.js → YCSIAOGC.js} +2 -2
  331. package/dist/cdn/{MEZGELTC.js → YFFW4WLZ.js} +2 -2
  332. package/dist/cdn/{MBVBYMPA.js → YFQJV37X.js} +2 -2
  333. package/dist/cdn/{SVGQ6RRF.js → YOKTAT5E.js} +2 -2
  334. package/dist/cdn/{2WNSA4HV.js → Z2GLYFWZ.js} +2 -2
  335. package/dist/cdn/{OQF3PZAV.js → Z5KSW6MV.js} +2 -2
  336. package/dist/cdn/{A76EPYVI.js → Z5Y5RWJT.js} +2 -2
  337. package/dist/cdn/{YLCN5LJA.js → Z7GSRTZU.js} +2 -2
  338. package/dist/cdn/{HOYCR6CW.js → ZBTANS7G.js} +2 -2
  339. package/dist/cdn/{JXZF4HP3.js → ZFKT7KHP.js} +2 -2
  340. package/dist/cdn/{JYVKD3AY.js → ZHFEO5HT.js} +2 -2
  341. package/dist/cdn/{VBUG7NUZ.js → ZHNJ644N.js} +2 -2
  342. package/dist/cdn/{Q2RUM7UN.js → ZWGSLBDU.js} +2 -2
  343. package/dist/cdn/{7K22NQSD.js → ZZYYX62Y.js} +1 -1
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.en.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.json +1 -1
  346. package/dist/cdn/index.js +2 -2
  347. package/dist/chunks/Auth.js +1 -1
  348. package/dist/chunks/CardsFetcher.js +1 -1
  349. package/dist/chunks/appConfig.js +1 -1
  350. package/dist/chunks/cardFetchingUtils.js +1 -1
  351. package/dist/chunks/cardsHelpers.js +1 -1
  352. package/dist/chunks/common.js +1 -1
  353. package/dist/chunks/deployAppContexts.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/getItemIcon.js +1 -1
  356. package/dist/chunks/helpers.js +1 -1
  357. package/dist/chunks/interfaces.js +1 -1
  358. package/dist/chunks/loadModules.js +1 -1
  359. package/dist/chunks/mapViewUtils.js +1 -1
  360. package/dist/chunks/pciUtils.js +1 -1
  361. package/dist/chunks/popupUtils.js +1 -1
  362. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  363. package/dist/chunks/privilegeUtils.js +1 -1
  364. package/dist/chunks/publicNotificationContext.js +1 -1
  365. package/dist/chunks/queryUtils.js +1 -1
  366. package/dist/chunks/runtime.js +1 -1
  367. package/dist/chunks/solution-store.js +1 -1
  368. package/dist/chunks/templates.js +1 -1
  369. package/dist/chunks/useT9n.js +1 -1
  370. package/dist/components/arcgis-solutions-assistant/customElement.js +26 -17
  371. package/dist/components/basemap-gallery/customElement.js +1 -1
  372. package/dist/components/buffer-tools/customElement.js +1 -1
  373. package/dist/components/card-manager/customElement.js +1 -1
  374. package/dist/components/consent-manager/customElement.js +1 -1
  375. package/dist/components/create-feature/customElement.js +1 -1
  376. package/dist/components/create-related-feature/customElement.js +1 -1
  377. package/dist/components/crowdsource-manager/customElement.js +1 -1
  378. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  379. package/dist/components/deduct-calculator/customElement.js +1 -1
  380. package/dist/components/delete-button/customElement.js +1 -1
  381. package/dist/components/delete-dialog/customElement.js +1 -1
  382. package/dist/components/edit-card/customElement.js +1 -1
  383. package/dist/components/feature-details/customElement.js +1 -1
  384. package/dist/components/feature-list/customElement.js +1 -1
  385. package/dist/components/field-selection/customElement.js +1 -1
  386. package/dist/components/floor-filter/customElement.js +1 -1
  387. package/dist/components/info-card/customElement.js +1 -1
  388. package/dist/components/json-editor/customElement.js +1 -1
  389. package/dist/components/layer-list/customElement.js +1 -1
  390. package/dist/components/layer-table/customElement.js +1 -1
  391. package/dist/components/map-card/customElement.js +1 -1
  392. package/dist/components/map-draw-tools/customElement.js +1 -1
  393. package/dist/components/map-fullscreen/customElement.js +1 -1
  394. package/dist/components/map-layer-picker/customElement.js +1 -1
  395. package/dist/components/map-legend/customElement.js +1 -1
  396. package/dist/components/map-picker/customElement.js +1 -1
  397. package/dist/components/map-search/customElement.js +1 -1
  398. package/dist/components/map-select-tools/customElement.js +1 -1
  399. package/dist/components/map-tools/customElement.js +1 -1
  400. package/dist/components/pci-calculator/customElement.js +1 -1
  401. package/dist/components/pdf-download/customElement.js +1 -1
  402. package/dist/components/public-notification/customElement.js +1 -1
  403. package/dist/components/refine-selection/customElement.js +1 -1
  404. package/dist/components/selection-tool/customElement.js +1 -1
  405. package/dist/components/solution-configuration/customElement.js +1 -1
  406. package/dist/components/solution-configure-titles/customElement.js +1 -1
  407. package/dist/components/solution-contents/customElement.js +1 -1
  408. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  409. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  410. package/dist/components/solution-deployed-card/customElement.js +1 -1
  411. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  412. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  413. package/dist/components/solution-details-card/customElement.js +1 -1
  414. package/dist/components/solution-details-panel/customElement.js +7 -7
  415. package/dist/components/solution-item/customElement.js +1 -1
  416. package/dist/components/solution-item-accordion/customElement.js +1 -1
  417. package/dist/components/solution-item-details/customElement.js +1 -1
  418. package/dist/components/solution-item-diagram/customElement.js +1 -1
  419. package/dist/components/solution-item-icon/customElement.js +1 -1
  420. package/dist/components/solution-item-sharing/customElement.js +1 -1
  421. package/dist/components/solution-organization-variables/customElement.js +1 -1
  422. package/dist/components/solution-resource-card/customElement.js +1 -1
  423. package/dist/components/solution-resource-item/customElement.js +1 -1
  424. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  425. package/dist/components/solution-social-share/customElement.js +1 -1
  426. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  427. package/dist/components/solution-template-data/customElement.js +1 -1
  428. package/dist/components/solution-variables/customElement.js +1 -1
  429. package/dist/components/solutions-all-panel/customElement.js +1 -1
  430. package/dist/components/solutions-all-shell/customElement.js +1 -1
  431. package/dist/components/solutions-deploy-app/customElement.js +2 -2
  432. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  433. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  434. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  435. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  436. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  437. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  438. package/dist/components/solutions-resources/customElement.js +1 -1
  439. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  440. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  441. package/dist/components/spatial-ref/customElement.js +1 -1
  442. package/dist/components/store-manager/customElement.js +1 -1
  443. package/dist/docs/api.json +1 -1
  444. package/dist/docs/docs.json +1 -1
  445. package/dist/docs/web-types.json +1 -1
  446. package/dist/index.js +1 -1
  447. package/dist/loader.js +1 -1
  448. package/package.json +1 -1
  449. package/dist/cdn/D35IRVYQ.js +0 -4
  450. package/dist/cdn/DGOXBH7E.js +0 -4
  451. package/dist/cdn/EW3R6IN2.js +0 -4
  452. package/dist/cdn/OI7P2J4Y.js +0 -18
  453. package/dist/cdn/OJJHKR7F.js +0 -4
  454. package/dist/cdn/SGSJNZRS.js +0 -4
  455. package/dist/cdn/WR37QCTD.js +0 -4
  456. package/dist/cdn/XNA6WRSK.js +0 -4
  457. package/dist/cdn/Y755NJQD.js +0 -18
  458. package/dist/cdn/Z2SGK7LL.js +0 -4
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
+ v1.2.0-next.17 */
4
+ import{a as O}from"./MBPWNRYN.js";import{e as _}from"./WWXBVK5X.js";import{a as l,f as p}from"./7KHRLY2A.js";import"./AJ4T6IK5.js";import"./IKVBCRGA.js";function C(e,a){let i=[];return O(e,(t,o)=>(o.split(".").pop()===a&&i.push(t),t)),i.filter(p)}function E(e){return C(e,"scope").map(a=>a.split("/")[2]).filter(p)}function h(e,a){let i=l(e);return i.required&&(i.required=[...i.required].filter(t=>a.includes(t))),i.properties&&Object.keys(i.properties).forEach(t=>{a.indexOf(t)===-1&&delete i.properties[t]}),i.allOf&&(i.allOf=i.allOf.map(t=>h(t,a))),i.if&&(i.if=h(i.if,a)),i.then&&(i.then=h(i.then,a)),i.else&&(i.else=h(i.else,a)),i}function w(e,a){let i=E(a);return e=h(e,i),e}function q(e){return e&&e.split(":")[2]}async function G(e,a,i,t){let o=q(a),r,u,s,m,d;switch(o){case"stat":s=import("./OP2LHXOJ.js"),m={"hub:card:stat":()=>import("./TJABFH4J.js")}[a],await Promise.all([s,m()]).then(async([f,c])=>{let{MetricSchema:n}=f;r=l(n),u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(d=c.buildDefaults(e,i,t))});break;case"follow":s=import("./XPUTXW3J.js"),m={"hub:card:follow":()=>import("./7FWXRIU7.js")}[a],await Promise.all([s,m()]).then(([f,c])=>{let{FollowSchema:n}=f;r=l(n),u=c.buildUiSchema(e,i,t)});break;case"eventGallery":s=import("./CMVISKR5.js"),m=import("./Y3OMISYU.js");let[{EventGalleryCardSchema:g},{buildUiSchema:b}]=await Promise.all([s,m]);r=l(g),u=await b(e,i,t);break}return r=w(r,u),Promise.resolve({schema:r,uiSchema:u})}var V=(e,a)=>{var i;let t=l((i=e.properties)===null||i===void 0?void 0:i._slug);if(!t)return e;let{orgUrlKey:o}=a;o||(o=""),t.maxLength=_(o);let r=l(e.allOf)||[],{pattern:u}=t;delete t.pattern;let{id:s}=a;r.push({if:{properties:{_slug:{minLength:1}}},then:{properties:{_slug:{pattern:u}}}},{if:{properties:{_slug:{pattern:u}}},then:{properties:{_slug:{isUniqueSlug:{id:s,orgUrlKey:o}}}}});let m=l(e);return m.properties._slug=t,m.allOf=r,m};async function L(e,a,i,t){let o=a.split(":")[1],r,u,s;switch(o){case"site":let{getSiteSchema:m}=await import("./B2HGNK4E.js");r=m(i.id);let d=await{"hub:site:edit":()=>import("./GCLSSW7P.js"),"hub:site:create":()=>import("./TF5CR6IC.js"),"hub:site:followers":()=>import("./DZB4RDAF.js"),"hub:site:discussions":()=>import("./S32VNNZI.js"),"hub:site:settings":()=>import("./WGFEQGBZ.js")}[a]();u=await d.buildUiSchema(e,i,t),d.buildDefaults&&(s=await d.buildDefaults(e,i,t));break;case"discussion":let{DiscussionSchema:g}=await import("./4SL2RRGS.js");r=l(g);let b=await{"hub:discussion:edit":()=>import("./QBPCCTWK.js"),"hub:discussion:create":()=>import("./NXC6ZQGX.js"),"hub:discussion:settings":()=>import("./IBNEYOZG.js"),"hub:discussion:settings:discussions":()=>import("./4QCS44Z3.js")}[a]();u=await b.buildUiSchema(e,i,t),b.buildDefaults&&(s=await b.buildDefaults(e,i,t));break;case"channel":let{ChannelSchema:f}=await import("./NORSIRXT.js");r=l(f);let c=await{"hub:channel:edit":()=>import("./42SJEHYX.js"),"hub:channel:create":()=>import("./K62GKZZ7.js")}[a]();u=await c.buildUiSchema(e,i,t),c.buildDefaults&&(s=await c.buildDefaults(e,i,t));break;case"project":let{ProjectSchema:n}=await import("./WV2CKOO7.js");r=l(n);let v=await{"hub:project:edit":()=>import("./IOM3DORP.js"),"hub:project:create":()=>import("./FB44TDEK.js"),"hub:project:create2":()=>import("./PX2NC6RT.js"),"hub:project:metrics":()=>import("./DBWRMI5E.js"),"hub:project:settings":()=>import("./SQU6O5NM.js")}[a]();u=await v.buildUiSchema(e,i,t),v.buildDefaults&&(s=await v.buildDefaults(e,i,t));break;case"initiative":let{InitiativeSchema:F}=await import("./HCSUTBKT.js");r=l(F);let S=await{"hub:initiative:edit":()=>import("./GC652FKU.js"),"hub:initiative:create":()=>import("./5YPQ4LZ3.js"),"hub:initiative:create2":()=>import("./2FBUYJCK.js"),"hub:initiative:metrics":()=>import("./RSRX5ZSQ.js"),"hub:initiative:associations":()=>import("./BGW7ENSZ.js"),"hub:initiative:settings":()=>import("./7XVZ32CS.js")}[a]();u=await S.buildUiSchema(e,i,t),S.buildDefaults&&(s=await S.buildDefaults(e,i,t));break;case"page":let{PageSchema:I}=await import("./Y4KAUYJU.js");r=l(I);let D=await{"hub:page:edit":()=>import("./UQ25NGTK.js"),"hub:page:create":()=>import("./CGEEY2O4.js")}[a]();u=await D.buildUiSchema(e,i,t),D.buildDefaults&&(s=await D.buildDefaults(e,i,t));break;case"content":let{ContentSchema:K}=await import("./TZL4KAXW.js");r=l(K);let U=await{"hub:content:edit":()=>import("./GDN4X6TO.js"),"hub:content:discussions":()=>import("./IUUVVBCD.js"),"hub:content:settings":()=>import("./T3UGCYO3.js")}[a]();u=await U.buildUiSchema(e,i,t),U.buildDefaults&&(s=await U.buildDefaults(e,i,t));break;case"template":let{TemplateSchema:y}=await import("./2EOGMSRN.js");r=l(y);let k=await{"hub:template:edit":()=>import("./L5RDQLF7.js")}[a]();u=await k.buildUiSchema(e,i,t),k.buildDefaults&&(s=await k.buildDefaults(e,i,t));break;case"group":let{GroupSchema:z}=await import("./FCKFGJ6W.js");r=l(z);let M=await{"hub:group:create:followers":()=>import("./4GDX4ZXE.js"),"hub:group:create:association":()=>import("./FXSHLDPT.js"),"hub:group:create:view":()=>import("./UTROK7UB.js"),"hub:group:create:edit":()=>import("./NYPCINNZ.js"),"hub:group:create":()=>import("./TSUACFNM.js"),"hub:group:edit":()=>import("./W4CXKC7H.js"),"hub:group:settings":()=>import("./3Y77NKTJ.js"),"hub:group:discussions":()=>import("./AMHVEMHP.js")}[a]();u=await M.buildUiSchema(e,i,t),M.buildDefaults&&(s=await M.buildDefaults(e,i,t));break;case"survey":let{SurveySchema:A}=await import("./HVHBVKKQ.js");r=l(A),u=await(await{"hub:survey:edit":()=>import("./NGDOV2K2.js"),"hub:survey:settings":()=>import("./MHUOZK4R.js")}[a]()).buildUiSchema(e,i,t);break;case"event":let B=await{"hub:event:create":()=>import("./GT6NYEHE.js"),"hub:event:edit":()=>import("./NXKGV7YT.js"),"hub:event:registrants":()=>import("./MS6Z2PL4.js")}[a](),H=await{"hub:event:create":()=>import("./EQETDODC.js"),"hub:event:edit":()=>import("./F2UORXTI.js"),"hub:event:registrants":()=>import("./KS5CANUK.js")}[a]();r=B.buildSchema(),u=await H.buildUiSchema(e,i,t);break;case"initiativeTemplate":let{InitiativeTemplateSchema:J}=await import("./ACALZ6GV.js");r=l(J);let j=await{"hub:initiativeTemplate:edit":()=>import("./DF52UEIX.js")}[a]();u=await j.buildUiSchema(e,i,t),j.buildDefaults&&(s=await j.buildDefaults(e,i,t));break;case"user":let{UserSchema:N}=await import("./CBV6OFST.js");r=l(N);let P=await{"hub:user:settings":()=>import("./YFQJV37X.js")}[a]();u=await P.buildUiSchema(e,i,t),P.buildDefaults&&(s=await P.buildDefaults(e,i,t));break;case"card":let T=await G(e,a,i,t);r=T.schema,u=T.uiSchema,s=T.defaults}return r=w(r,u),r=V(r,i),Promise.resolve({schema:r,uiSchema:u,defaults:s})}async function gi(e,a,i,t){return L(e,a,i,t)}export{gi as getEditorConfig};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{K as l,M as I}from"./YLCN5LJA.js";import{h}from"./6KHLLWW2.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
3
+ v1.2.0-next.17 */
4
+ import{K as l,M as I}from"./Z7GSRTZU.js";import{h}from"./HNB27GVR.js";function w(i){return i.reduce((r,n)=>{let t=n.item.title||n.item.name;if(n.type==="Feature Service"&&(n.item.typeKeywords||[]).indexOf("View Service")<0&&r.indexOf(t)<0){let e=l(n,"properties.service.spatialReference.wkid");r.push({id:n.itemId,name:t,enabled:e.toString().startsWith(h),wkid:e})}return r},[])}function b(i){let r=x(i),n=r.reduce((t,e)=>(t.push(e.id),t),[]);return i.reduce((t,e)=>{if(n.indexOf(e.itemId)>-1){let d=r.filter(o=>o.id===e.itemId);t.push(y(e,i,d[0].dependencies))}return t},[])}function x(i){let r=[];function n(s,c){let u=s.findIndex(a=>c===a.itemId);return u>=0?s[u]:null}function t(s,c,u=[]){let a=n(i,s);if(a){let p={id:s,dependencies:[]};u.indexOf(s)<0&&(u.push(s),a.dependencies.forEach(m=>{let f=e.indexOf(m);f>=0&&e.splice(f,1),t(m,p.dependencies,u)})),c.push(p)}}let e=$(i),d=i.filter(s=>e.indexOf(s.itemId)<0).sort((s,c)=>c.dependencies.length-s.dependencies.length);e=e.concat(d.map(s=>s.itemId));let o=e.shift();for(;typeof o<"u";)t(o,r),o=e.shift();return r}function S(i){return[{id:"",title:i.geocodeUrl,value:"{{organization.helperServices.geocode:getDefaultLocatorURL}}"},{id:"",title:i.geometryUrl,value:"{{organization.helperServices.geometry.url}}"},{id:"",title:i.portalBaseUrl,value:"{{portalBaseUrl}}"},{id:"",title:i.routeUrl,value:"{{organization.helperServices.route.url}}"},{id:"",title:i.solutionItemExtent,value:"{{solutionItemExtent}}"}]}function U(i,r){let n=[];return i.forEach(t=>{let e={id:t.itemId,title:t.item.title||t.item.name,type:t.type,value:void 0,dependencies:[{id:t.itemId,title:r.itemId,value:`{{${t.itemId}.itemId}}`}]};t.item.url&&e.dependencies.push({id:t.itemId,title:r.url,value:`{{${t.itemId}.url}}`}),t.type==="Feature Service"&&(e.dependencies.push({id:t.itemId,title:r.solutionExtent,value:`{{${t.itemId}.solutionExtent}}`}),v(t.properties.layers||[],e,t,r),v(t.properties.tables||[],e,t,r)),n.push(e)}),n}function k(i,r){let n={};i.forEach(d=>{n[d.id]=d.enabled});let t=l(r,"params.wkid.default"),e=I(r,"params.wkid.attributes.required",!1);return t?{enabled:e,default:t,services:n}:{enabled:e,services:n}}function v(i,r,n,t){i.forEach(e=>{let d=e.name&&e.name.indexOf("||")>-1?e.name.split("||")[1].replace("}}","").trim():e.name;r.dependencies.push({id:n.itemId,title:`${d} (${t.id})`,value:`{{${n.itemId}.layer${e.id}.id}}`}),r.dependencies.push({id:n.itemId,title:`${d} (${t.name})`,value:`{{${n.itemId}.layer${e.id}.name||${d}}}`})})}function y(i,r,n){return{id:i.itemId||"",title:i.item.title||"",dependencies:g(n,r),type:i.item.type||"",typeKeywords:i.item.typeKeywords||[]}}function g(i,r){let n=[],t=i.reduce((e,d)=>(e.push(d.id),n.push(d),e),[]);return r.reduce((e,d)=>{let o=t.indexOf(d.itemId);return o>-1&&e.push(y(d,r,n[o].dependencies)),e},[])}function $(i){let r=i.map(n=>n.itemId);return i.forEach(n=>{(n.dependencies||[]).forEach(t=>{let e=r.indexOf(t);e>=0&&r.splice(e,1)})}),r}export{w as a,b,S as c,U as d,k as e};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as D}from"./EKU2FTBE.js";import{a as P}from"./EU6EDFI6.js";import{a as C,d as I}from"./HMZDUHVH.js";import"./YLCN5LJA.js";import"./V24FB5XD.js";import"./AGPZ3ZW3.js";import"./MKH2DA7O.js";import"./4S7GJLXK.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./CQLWNONE.js";import"./7VUSH2YE.js";import{g as E,j as T}from"./Q2RUM7UN.js";import{c as l,e as r,f as c}from"./6KHLLWW2.js";import"./KUMDM2TP.js";import{b as L}from"./BFBKMPXC.js";import{a as x}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as $,c as k}from"./XSELGOTY.js";import{C as p,D as g,E as v,G as h,h as f,i as n,l as d,o as y,p as S,r as w}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var V=f`@layer{/** @license
3
+ v1.2.0-next.17 */
4
+ import{a as D}from"./63Q66P6F.js";import{a as P}from"./TCUI64QI.js";import{a as C,d as I}from"./KJWT64C2.js";import"./Z7GSRTZU.js";import"./DXNAVKBQ.js";import"./MBPWNRYN.js";import"./VXUOIWSG.js";import"./DJ4IJPOT.js";import"./HBH6H2OI.js";import"./QBE6BXGP.js";import"./WWXBVK5X.js";import"./D3XPGKZT.js";import"./ARKITXRN.js";import"./7KHRLY2A.js";import"./GR7VI3CO.js";import"./VYTFYRFY.js";import"./2PJAQGID.js";import"./ZFKT7KHP.js";import"./7KKY5M2N.js";import"./XZQVERDX.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import"./IXZBLLNR.js";import"./MESHJKW3.js";import"./QHTC5IWP.js";import{g as E,j as T}from"./ZWGSLBDU.js";import{c as l,e as r,f as c}from"./HNB27GVR.js";import"./3FAMJ4OZ.js";import{b as L}from"./3X5REHMK.js";import{a as x}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as $,c as k}from"./GT3QLTVG.js";import{C as p,D as g,E as v,G as h,h as f,i as n,l as d,o as y,p as S,r as w}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var V=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as e,b as t}from"./33SUDNLJ.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
3
+ v1.2.0-next.17 */
4
+ import{a as e,b as t}from"./WZH6KHYA.js";var n={if:{properties:{isAllDay:{const:!1}}},then:{required:["startTime","endTime"],properties:{endTime:{format:"timePickerTime",formatExclusiveMinimum:{$data:"1/startTime"}}}}},r={if:{properties:{attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineUrl"],properties:{onlineUrl:{format:"url"}}}},o={if:{properties:{onlineCapacityType:{const:t.Fixed},attendanceType:{enum:[e.Online,e.Both]}}},then:{required:["onlineCapacity"],properties:{onlineCapacity:{minimum:1}}}},p={if:{properties:{inPersonCapacityType:{const:t.Fixed},attendanceType:{enum:[e.InPerson,e.Both]}}},then:{required:["inPersonCapacity"],properties:{inPersonCapacity:{minimum:1}}}};export{n as a,r as b,o as c,p as d};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{d as r}from"./WC3Z4EDF.js";import{b as n}from"./XSELGOTY.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var p=s`/** @license
3
+ v1.2.0-next.17 */
4
+ import{d as r}from"./E7NO6EZ6.js";import{b as n}from"./GT3QLTVG.js";import{C as d,D as c,E as o,G as a,h as s,i}from"./4SHO6M7C.js";import"./IKVBCRGA.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{b as p}from"./4ZTJFATS.js";import{E as a,h as i,i as n,r}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
3
+ v1.2.0-next.17 */
4
+ import{b as p}from"./MSFOOONQ.js";import{E as a,h as i,i as n,r}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var h=i`@layer{:host{display:block}}`,e=class extends a{constructor(){super(...arguments),this.inTour=!1,this.instantAppsPopovers=new Map,this.beforeOpen=async()=>await Promise.resolve()}static{this.properties={inTour:7,currentId:3,instantAppsPopovers:0,beforeOpen:0}}static{this.styles=h}static{this.shadowRootOptions=r}async beginTour(){this.inTour=!0,this.handlePopoverProps({pagination:!0,disableAction:!0});let s=Array.from(this.instantAppsPopovers.keys());await this.open(s[0])}async close(s){let t=this.instantAppsPopovers.get(s)?.firstElementChild;t&&(t.open=!1)}async endTour(){await this.close(this.currentId),this.inTour=!1,this.handlePopoverProps({pagination:!1,disableAction:!1})}async open(s){await this.beforeOpen();let t=this.instantAppsPopovers.get(s)?.firstElementChild;t.open=!0}async next(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)+1,o=s[t];await this.close(this.currentId),await this.open(o)}async previous(){let s=Array.from(this.instantAppsPopovers.keys()),t=s.indexOf(this.currentId)-1,o=s[t];await this.close(this.currentId),await this.open(o)}async done(){await this.endTour()}load(){let s=this.el.querySelector("[slot='popovers']");(s?Array.from(s.children):[]).forEach((t,o)=>{let c=t.getAttribute("ref-id");t.parent=this,t.index=o,this.instantAppsPopovers.set(c,t)}),this.listen("calcitePopoverOpen",t=>{let o=t.target.getAttribute("ref-id")??"";this.currentId=o})}handlePopoverProps(s){Array.from(this.el.querySelector("[slot='popovers']")?.children??[]).forEach(t=>{t.disableAction=s.disableAction,t.pagination=s.pagination})}render(){return n`<slot name=popovers></slot>`}};p("instant-apps-popovers",e);export{e as InstantAppsPopovers};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as l}from"./QCJZFBZQ.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import{a as o}from"./HRRYHXJV.js";import"./4PQQRVYV.js";import"./VUA6EP7Q.js";import"./4QWHJISX.js";import"./M4Q775XV.js";import"./33SUDNLJ.js";import"./COE7UBMY.js";import"./3SQYZSFK.js";import"./X7MBI4XC.js";import"./KRUFNCWC.js";import"./2J76IXAQ.js";import"./GHMZLDRQ.js";import"./U2MFSKGL.js";import"./AXFQLPZQ.js";import"./CKEIWQPE.js";import"./445VP5V5.js";import"./MOTBFN4G.js";import"./L2M6XD4J.js";import"./CRM5UVP3.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./5BELOZCM.js";import"./SLK6RJZ6.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u as buildUiSchema};
3
+ v1.2.0-next.17 */
4
+ import{a as l}from"./D5NTX244.js";import"./XZQVERDX.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import{a as o}from"./GRK5SXGG.js";import"./JPMW6AZR.js";import"./QFCX3LSO.js";import"./SVB3MCB4.js";import"./6VWDGFL6.js";import"./WZH6KHYA.js";import"./DBE4WPUJ.js";import"./AB5UPFJB.js";import"./IXZBLLNR.js";import"./DBPMUME6.js";import"./EUNIFQ72.js";import"./66PDPDVE.js";import"./2PRRHM2Y.js";import"./EOXVDL7W.js";import"./XZI4XMDG.js";import"./MNZ6BW4N.js";import"./TY4OPURB.js";import"./DPJW2IPD.js";import"./3JURGZ5M.js";import"./FKVAAIA2.js";import"./H6QSE5GL.js";import"./SU2J5HZD.js";import"./GXRSIH57.js";import"./IKVBCRGA.js";function p(e){return["myContent","organization"].map(t=>l("selectContent.facets",t,"item",{user:e,collectionNames:["site"]}))}var u=(e,i,t)=>({type:"Layout",elements:[{labelKey:"selectContent.title",scope:"/properties/entityId",type:"Control",options:{control:"hub-field-input-gallery-picker",targetEntity:"item",catalogs:p(t.currentUser),facets:[{label:"{{selectContent.facets.sharing:translate}}",key:"access",display:"multi-select",field:"access",options:[],operation:"OR"}]}},{type:"Section",labelKey:"callToAction.title",rule:n,options:{helperText:{labelKey:"callToAction.helperText"}},elements:[{scope:"/properties/callToActionText",type:"Control",options:{type:"textarea",rows:4}},{labelKey:"callToAction.alignment",scope:"/properties/callToActionAlign",type:"Control",options:{control:"hub-field-input-alignment"}}]},{type:"Section",labelKey:"followButton.title",options:{helperText:{labelKey:"followButton.helperText"}},rule:n,elements:[{labelKey:"followButton.buttonText",scope:"/properties/buttonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.unfollowButtonText",scope:"/properties/unfollowButtonText",type:"Control",options:{control:"hub-field-input-input"}},{labelKey:"followButton.alignment",scope:"/properties/buttonAlign",type:"Control",options:{control:"hub-field-input-alignment"}},{labelKey:"followButton.buttonStyle",scope:"/properties/buttonStyle",type:"Control",options:{control:"hub-field-input-select",labels:["{{followButton.solid:translate}}","{{followButton.outline:translate}}"]}}]}]}),n={effect:o.HIDE,condition:{scope:"/properties/entityId",schema:{const:[]}}};export{u 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{b as m}from"./JXBYVSDN.js";import{c as S}from"./7PUOSBZG.js";import{b as u}from"./EU6EDFI6.js";import{m as c}from"./6KHLLWW2.js";import{a as g}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as d}from"./XSELGOTY.js";import{E as p,I as a,h,i as o,o as n}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var y=h`/** @license
3
+ v1.2.0-next.17 */
4
+ import{b as m}from"./MY6N5CRA.js";import{c as S}from"./EURJJU52.js";import{b as u}from"./TCUI64QI.js";import{m as c}from"./HNB27GVR.js";import{a as g}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as d}from"./GT3QLTVG.js";import{E as p,I as a,h,i as o,o as n}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var y=h`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import"./SLK6RJZ6.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
3
+ v1.2.0-next.17 */
4
+ import"./IKVBCRGA.js";var a="Nemate dovoljno kredita da bi se izvr\u0161ila ova radnja. Obratite se svom administratoru za sustav ArcGIS za pomo\u0107.",e="Ovaj alat objavljen je iz usluge notebook. Pristup usluzi ArcGIS Notebooks blokirala je va\u0161a organizacija. Za pode\u0161avanje postavki obratite se svom administratoru.",o="${ dataPath } ne smije imati ${ additionalProperty }.",i="${ dataPath } mora odgovarati shemi jednog od ovih: ${ schemaOptions }.",r="Poku\u0161ajte ponovno spremiti kartu.",t="Procjena kredita nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno procijenite kredite.",s="Do\u0161lo je do pogre\u0161ke tijekom izvo\u0111enja analize.",n="${ dataPath } mora biti jednak jednoj od ovih dopu\u0161tenih vrijednosti: ${ allowedValues }.",l="Spremanje povijesti analize nije uspjelo",j="Pohrana povijesti je puna. Uklonite neke stavke iz povijesti analize i poku\u0161ajte ponovno spremiti.",d="Naziv usluge sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova.",v="Spremanje privremenog sloja kao hostiranog sloja geoobjekta nije dovr\u0161eno.",m="Nije uspjelo dohva\u0107anje klju\u010Dnih svojstava.",p="U\u010Ditavanje sloja nije uspjelo.",u="Sloj nije dostupan.",k="${ dataPath } ne smije imati vi\u0161e od ${ limit } stavki.",c="Do\u0161lo je do pogre\u0161ke prilikom spremanja modela. Poku\u0161ajte ponovno spremiti.",h="${ dataPath } ne smije imati manje od ${ limit } stavki.",z="${ dataPath } mora biti kra\u0107e od ${ limit } znakova.",P="Neuspjelo u\u010Ditavanje stavke modela. Provjerite postoji li model i je li odobren pristup.",g="Zahtjev nije dovr\u0161en.",E="Nemate dopu\u0161tenje za pokretanje ovog alata. <calcite-link target='_blank' href='${ docLink }'>Saznajte vi\u0161e</calcite-link>",S="Prijava na portal nije uspjela.",b="U\u010Ditavanje ulaznih podataka nije uspjelo.",y="${ dataPath } nedostaje svojstvo naziva ${ missingProperty }.",$="Sloj rezultata ve\u0107 postoji pod tim nazivom. Slojevi rezultata moraju imati jedinstven naziv u cijeloj organizaciji. Koristite drugo ime.",f="Izlazni naziv sadr\u017Ei jedan ili vi\u0161e neva\u017Ee\u0107ih znakova. <a href='${docLink}' target='_blank'>Saznajte vi\u0161e.</a>",I="Objavljivanje privremenog sloja kao hostiranog sloja nije uspjelo zbog jednog ili vi\u0161e neva\u017Ee\u0107ih polja. Ponovno pokrenite alat za stvaranje sloja s va\u017Ee\u0107im poljima.",F="Predaja posla nije uspjela. Pomaknite se prema dolje, ispravite pogre\u0161ke i ponovno pokrenite analizu.",N="${ dataPath } mora imati barem jedan znak koji nije razmak.",T={InsufficientCreditsError:a,accessBlocked:e,additionalProperty:o,anyOfValues:i,cannotWriteToItemResource:r,creditEstimationError:t,defaultError:s,enumValues:n,failedToSaveHistory:l,fullSessionStorage:j,hostedFeatureServiceInvalidTitle:d,hostedFeatureServicePublishDidNotComplete:v,keyPropertiesError:m,layerLoadFailure:p,layerUnavailable:u,maxItems:k,mbFailedToSave:c,minItems:h,minLength:z,modelNotFound:P,networkError:g,noPermissionToAccessTool:E,portalLoadError:S,queryFeaturesError:b,requiredProperty:y,serviceNameExistsError:$,specialCharactersInServiceNameError:f,temporaryLayerFieldsError:I,toolValidationError:F,whiteSpacePattern:N};export{a as InsufficientCreditsError,e as accessBlocked,o as additionalProperty,i as anyOfValues,r as cannotWriteToItemResource,t as creditEstimationError,T as default,s as defaultError,n as enumValues,l as failedToSaveHistory,j as fullSessionStorage,d as hostedFeatureServiceInvalidTitle,v as hostedFeatureServicePublishDidNotComplete,m as keyPropertiesError,p as layerLoadFailure,u as layerUnavailable,k as maxItems,c as mbFailedToSave,h as minItems,z as minLength,P as modelNotFound,g as networkError,E as noPermissionToAccessTool,S as portalLoadError,b as queryFeaturesError,y as requiredProperty,$ as serviceNameExistsError,f as specialCharactersInServiceNameError,I as temporaryLayerFieldsError,F as toolValidationError,N as whiteSpacePattern};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
3
+ v1.2.0-next.17 */
4
4
  function c(e){let t={};if(Array.isArray(e))t=e.map(c);else if(typeof e=="object"){if(e===null)return e;for(let r in e)if(e.hasOwnProperty(r)){let n=e[r];n!=null&&typeof n=="object"?n instanceof Date?t[r]=new Date(n.getTime()):typeof Blob<"u"&&n instanceof Blob?t[r]=new Blob([n],{type:n.type}):t[r]=c(n):t[r]=n}}else t=e;return t}function s(e,t){return e.filter(n=>n!==t)}function l(e="i"){return`${e}${Math.random().toString(36).substr(2,8)}`}function a(e,t){return e!=null&&(t=c(t),t.push(e)),t}function d(e){e=e.toLowerCase(),e=e.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi," ");let t=/(\-|\_|\.|\s)+(.)?/g,r=/(^|\/)([A-Z])/g;return e.replace(t,function(n,i,u){return u?u.toUpperCase():""}).replace(r,function(n,i,u){return n.toLowerCase()})}function p(e,t,r){return r.indexOf(e)===t}function f(e,t,r=!0){let n=c(e);return Object.keys(t).reduce((i,u)=>{if(t[u]!==null&&t[u]!==void 0){let o=c(t[u]);Array.isArray(o)?i[u]=o:r&&typeof o=="object"?i[u]=f(i[u]||{},o,r):i[u]=o}return i},n)}function x(e,t){let r=[],n=0;for(;n<e.length;)r.push(e.slice(n,n+t)),n+=t;return r}var y=e=>e==null;export{c as a,s as b,l as c,a as d,d as e,p as f,f as g,x as h,y as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
3
+ v1.2.0-next.17 */
4
4
  function V(t,e){var r={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&e.indexOf(n)<0&&(r[n]=t[n]);if(t!=null&&typeof Object.getOwnPropertySymbols=="function")for(var o=0,n=Object.getOwnPropertySymbols(t);o<n.length;o++)e.indexOf(n[o])<0&&Object.prototype.propertyIsEnumerable.call(t,n[o])&&(r[n[o]]=t[n[o]]);return r}function F(t){return Object.keys(t).some(e=>{let r=t[e];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.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(t){let e={};return Object.keys(t).forEach(r=>{var n,o;let s=t[r];if(s&&s.toParam&&(s=s.toParam()),!s&&s!==0&&typeof s!="boolean"&&typeof s!="string")return;let i=s.constructor.name,c;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;c=u==="Array"?s:u==="Object"?JSON.stringify(s):s.join(",");break;case"Object":c=JSON.stringify(s);break;case"Date":c=s.valueOf();break;case"Function":c=null;break;case"Boolean":c=s+"";break;default:c=s;break}(c||c===0||typeof c=="string"||Array.isArray(c))&&(e[r]=c)}),e}function Q(t,e){return Array.isArray(e)&&e[0]&&Array.isArray(e[0])?e.map(r=>Q(t,r)).join("&"):encodeURIComponent(t)+"="+encodeURIComponent(e)}function T(t){let e=M(t);return Object.keys(e).map(r=>Q(r,e[r])).join("&")}var X=globalThis.FormData,Te=globalThis.File,Se=globalThis.Blob;function Y(t,e){let r=F(t)||e,n=M(t);if(r){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(t)}var k=class extends Error{constructor(e,r,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),e=e||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?e:`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var ge={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},L="ARCGIS_REST_JS_NO_CORS";globalThis[L]||(globalThis[L]=Object.assign({},ge));var w=globalThis[L];function B(t){let e=new URL(t);t=e.origin+e.pathname,e.search.includes("f=json")&&(t+="?f=json");let r=e.origin;return w.pendingNoCorsRequests[r]?w.pendingNoCorsRequests[r]:(w.pendingNoCorsRequests[r]=fetch(t,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r),w.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete w.pendingNoCorsRequests[r]}).catch(n=>(delete w.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),w.pendingNoCorsRequests[r])}function Z(t){t.forEach(e=>{e=e.toLowerCase(),/^https?:\/\//.test(e)?z(e):(z("http://"+e),z("https://"+e))})}function z(t){let r=new URL(t).origin;w.noCorsDomains.indexOf(r)===-1&&w.noCorsDomains.push(r)}function J(t){let e=!1;if(w.noCorsDomains.length){let r=new URL(t).origin.toLowerCase();e=w.noCorsDomains.some(n=>r.includes(n))}return e}function ee(t){let e=!1;if(J(t)){let r=new URL(t).origin.toLowerCase(),n=w.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(e=!0)}return e}function te(t){console&&console.warn&&console.warn.apply(console,[t])}function re(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function ne(t,e){var r;if(!e&&!window||!t)return!1;{e=e||window;let n=(r=e.location)===null||r===void 0?void 0:r.origin;return t.startsWith(n)}}var H="@esri/arcgis-rest-js";function we(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends k{constructor(e="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,o,s){super(e,r,n,o,s),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?e:`${r}: ${e}`;let i=new.target.prototype;Object.setPrototypeOf(this,i)}retry(e,r=1){let n=0,o=(s,i)=>{n=n+1,e(this.url,this.options).then(c=>{let u=Object.assign(Object.assign({},this.options),{authentication:c});return oe(this.url,u)}).then(c=>{s(c)}).catch(c=>{c.name==="ArcGISAuthError"&&n<r?o(s,i):c.name===this.name&&c.message===this.message&&n>=r?i(this):i(c)})};return new Promise((s,i)=>{o(s,i)})}};function Ee(t,e,r,n,o){if(t.code>=400){let{message:s,code:i}=t;throw new k(s,i,t,e,n)}if(t.error){let{message:s,code:i,messageCode:c}=t.error,u=c||i||"UNKNOWN_ERROR_CODE";throw i===498||i===499?o||new A(s,u,t,e,n):new k(s,u,t,e,n)}if(t.status==="failed"||t.status==="failure"){let s,i="UNKNOWN_ERROR_CODE";try{s=JSON.parse(t.statusMessage).message,i=JSON.parse(t.statusMessage).code}catch{s=t.statusMessage||t.message}throw new k(s,i,t,e,n)}return t}function oe(t,e){let r=we(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),e),{params:Object.assign(Object.assign({},r.params),e.params),headers:Object.assign(Object.assign({},r.headers),e.headers)}),{httpMethod:o,rawResponse:s}=n,i=Object.assign({f:"json"},n.params),c=null,u={method:o,signal:n.signal,credentials:n.credentials||"same-origin"};J(t)&&(u.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let x;if(typeof n.authentication=="string"){let a=n.authentication;x={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!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 x=n.authentication;let p=t,d=!1;typeof window<"u"&&(d=ne(t));let R=!d&&ee(t);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&t.indexOf("/oauth2/platformSelf")>-1&&(u.credentials="include");let S=Promise.resolve();return R&&(u.credentials="include",S=B(t)),S.then(()=>x?x.getToken(t).catch(a=>(a.url=t,a.options=n,c=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(i.token=a),x&&x.getDomainCredentials&&(u.credentials=x.getDomainCredentials(t));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)===""?t:t+"?"+T(i);n.maxUrlLength&&b.length>n.maxUrlLength||!n.maxUrlLength&&b.length>2e3||i.token&&n.hideToken?(u.method="POST",a.length&&n.hideToken&&(i.token=a,delete l["X-Esri-Authorization"])):t=b}let m=new RegExp("/items/.+/updateResources").test(t);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=H),!F(i)&&!m&&(u.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(t,u):re().then(({fetch:h})=>h(t,u))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:m,statusText:h}=a,{message:b,details:D}=l.error,v=`${b}. ${D?D.join(" "):""}`.trim();throw new k(v,`HTTP ${m} ${h}`,l,t,n)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:m,statusText:h}=a;throw new k(h,`HTTP ${m}`,a,t,n)});if(s)return a;switch(i.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((i.f==="json"||i.f==="geojson")&&!s){let l=Ee(a,p,i,n,c);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(t)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&Z(a.authorizedCrossOriginNoCorsDomains),c){let m=t.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[m]={token:[],expires:new Date(Date.now()+86400*1e3)},c=null}return l}else return a})}function f(t,e={params:{f:"json"}}){let{request:r}=e,n=V(e,["request"]);return r?r(t,n):oe(t,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 xe(t){let[e,r]=t.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(r)}}function se(t){return!t||t.length<=0?{}:t.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,r)=>{let{key:n,value:o}=xe(r);return e[n]=o,e},{})}var ie=300*1e3;function C(t,e){let r=e;return r.rawResponse=!1,f(t,r).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 E(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}var q=/^https?:\/\/(\S+)\.arcgis\.com.+/;function ae(t){return q.test(t)}function _e(t){if(!q.test(t))return t;switch(K(t)){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 K(t){if(!q.test(t))return null;let r=t.match(q)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function ce(t,e){let r=E(_e(e)).replace(/https?:\/\//,""),n=E(t).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function ue(t,e){let r=ae(t),n=ae(e),o=K(t),s=K(e);return!!(r&&n&&o===s)}function le(t,e,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return f(n,{method:"POST",params:{f:"json",client_id:e,token:t}})}function ot(t,e,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],o=Object.assign(Object.assign({params:{}},r),t);return o.params=e.reduce((s,i)=>((t[i]||typeof t[i]=="boolean"||typeof t[i]=="number"&&t[i]===0)&&(s[i]=t[i]),s),o.params),n.reduce((s,i)=>(o[i]&&(s[i]=o[i]),s),{})}var _;(function(t){t.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",t.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",t.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",t.NOT_FEDERATED="NOT_FEDERATED",t.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(_||(_={}));var y=class extends Error{constructor(e="UNKNOWN_ERROR",r=_.UNKNOWN_ERROR_CODE,n,o,s){super(e);let i=new.target.prototype;Object.setPrototypeOf(this,i),this.name="ArcGISTokenRequestError",this.message=`${r}: ${e}`,this.originalMessage=e,this.code=r,this.response=n,this.url=o,this.options=s}};var N=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};var he;(function(t){t.ArcGISRequestError="ArcGISRequestError",t.ArcGISAuthError="ArcGISAuthError",t.ArcGISAccessDeniedError="ArcGISAccessDeniedError",t.ArcGISTokenRequestError="ArcGISTokenRequestError"})(he||(he={}));var j=class{constructor(e){this.portal=e.portal?E(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 r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(r,n).then(o=>(this._user=o,this._pendingUserRequest=null,o)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var W;(function(t){t.Success="Succeeded",t.Failed="Failed",t.Waiting="Waiting",t.Cancelled="Cancelled",t.Cancelling="Cancelling",t.New="New",t.Executing="Executing",t.Submitted="Submitted",t.Failure="Failure",t.TimedOut="TimedOut",t.Error="Error",t.Status="Etatus",t.Unknown="Unknown"})(W||(W={}));function fe(t){let e=`${E(t.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=t.token,n=t.clientId;delete t.portal,delete t.clientId,delete t.token;let o=Object.assign(Object.assign({},t),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return f(e,o).then(s=>{if(!s.success)throw new k("Unable to revoke token",500,s,e,o);return s})}function $(t,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,t)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function pe(t,e=window){if(!e&&window&&(e=window),t&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let n=new e.TextEncoder().encode(t);return e.crypto.subtle.digest("SHA-256",n).then(o=>$(new Uint8Array(o),e))}return Promise.resolve(null)}function G(t){!t&&window&&(t=window);let e=t.crypto.getRandomValues(new Uint8Array(32));return $(e)}function de(t,e){return typeof t=="string"?t:typeof t=="object"?t.id:G(e)}function me(t,e,r){return JSON.stringify(typeof e=="string"||!e?{id:t,originalUrl:r}:Object.assign({id:t},e))}function ye(t){return typeof t.userId=="string"||typeof t.expires=="number"}var O=class t extends j{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?E(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.state=e.state,this.federatedServers={},this.trustedDomains=[],e.server){let r=this.getServerRootUrl(e.server);this.federatedServers[r]={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,r){!r&&window&&(r=window);let{portal:n,provider:o,clientId:s,expiration:i,redirectUri:c,popup:u,popupWindowFeatures:x,locale:p,params:d,style:R,pkce:S,state:a}=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=de(a,r),m=`ARCGIS_REST_JS_AUTH_STATE_${s}`;r.localStorage.setItem(m,l);let h=`${E(n)}/oauth2/authorize`,b={client_id:s,response_type:S?"code":"token",expiration:i,redirect_uri:c,state:me(l,a,r.location.href),locale:p,style:R};o!=="arcgis"&&(h=`${E(n)}/oauth2/social/authorize`,b.socialLoginProviderName=o,b.autoAccountCreateForSocial=!0);let D;if(S){let v=G(r),U=`ARCGIS_REST_JS_CODE_VERIFIER_${s}`;r.localStorage.setItem(U,v),D=pe(v,r).then(function(g){b.code_challenge_method=g?"S256":"plain",b.code_challenge=g||v})}else D=Promise.resolve();return D.then(()=>{if(h=`${h}?${T(b)}`,d&&(h=`${h}&${T(d)}`),u)return new Promise((v,U)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${s}`,g=>{if(g.detail.error==="access_denied"){let P=new N;return U(P),P}if(g.detail.errorMessage){let P=new A(g.detail.errorMessage,g.detail.error);return U(P),P}v(new t({clientId:s,portal:n,ssl:g.detail.ssl,token:g.detail.token,tokenExpires:g.detail.expires,username:g.detail.username,refreshToken:g.detail.refreshToken,refreshTokenExpires:g.detail.refreshTokenExpires,redirectUri:c,state:g.detail.state}))},{once:!0}),r.open(h,"oauth-window",x),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=h})}static completeOAuth2(e,r){!r&&window&&(r=window);let{portal:n,clientId:o,popup:s,pkce:i,redirectUri:c}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),u=`ARCGIS_REST_JS_AUTH_STATE_${o}`,x=r.localStorage.getItem(u),p=se(i?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),d=p&&p.state?JSON.parse(p.state):void 0;function R(a,l,m){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:{error:l,errorMessage:a}})),r.close();return}return m&&r.history.replaceState(r.history.state,"",m),l==="access_denied"?Promise.reject(new N):Promise.reject(new A(a,l))}function S(a,l){if(r.localStorage.removeItem(u),s&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${o}`,{detail:Object.assign(Object.assign({},a),{state:l})})),r.close();return}return l.originalUrl&&r.history.replaceState(r.history.state,"",l.originalUrl),new t({clientId:o,portal:n,ssl:a.ssl,token:a.token,tokenExpires:a.expires,username:a.username,refreshToken:a.refreshToken,refreshTokenExpires:a.refreshTokenExpires,redirectUri:c||location.href.replace(location.search,""),state:l})}if(!x||!d)return R("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==x)return R("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let a=p.error,l=p.error_description||"Unknown error";return R(l,a,d.originalUrl)}if(i&&p.code){let a=E(`${n}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`,m=r.localStorage.getItem(l);return r.localStorage.removeItem(l),C(a,{httpMethod:"POST",params:{client_id:o,code_verifier:m,grant_type:"authorization_code",redirect_uri:c||location.href.replace(location.search,""),code:p.code}}).then(h=>S(Object.assign(Object.assign({},h),d),d)).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)):R("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,r){!r&&window&&(r=window);let n;return new Promise((o,s)=>{n=i=>{if(i.source===r.parent&&i.data)try{return o(t.parentMessageHandler(i))}catch(c){return s(c)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(o=>(r.removeEventListener("message",n,!1),o))}static authorize(e,r){let{portal:n,clientId:o,expiration:s,redirectUri:i,state:c}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),u={client_id:o,expiration:s,response_type:"code",redirect_uri:i};c&&(u.state=c);let x=`${n}/oauth2/authorize?${T(u)}`;r.writeHead(301,{Location:x}),r.end()}static exchangeAuthorizationCode(e,r){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:r}}).then(i=>new t({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,_.REFRESH_TOKEN_EXCHANGE_FAILED,i.response,i.url,i.options)})}static deserialize(e){let r=JSON.parse(e);return new t({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(e,r){let n=typeof e.ssl<"u"?e.ssl:!0,o=e.expires||Date.now()+72e5;return r.hasServer?new t({server:e.server,ssl:n,token:e.token,username:e.userId,tokenExpires:new Date(o)}):new t({portal:E(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 r=e.data.credential;return ye(r)?t.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new t(r)}if(e.data.type==="arcgis:auth:error"){let r=new Error(e.data.error.message);throw r.name=e.data.error.name,r}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 r=new t(e);return r.getUser().then(()=>r)}static signIn(e){let r=new t(e);return r.getUser().then(()=>r)}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 r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(r,n).then(o=>(this._portalInfo=o,this._pendingPortalRequest=null,o)),this._pendingPortalRequest}}getToken(e,r){return ue(this.portal,e)?this.getFreshToken(r):new RegExp(this.portal,"i").test(e)?this.getFreshToken(r):this.getTokenForServer(e,r)}validateAppAccess(e){return this.getToken(this.portal).then(r=>le(r,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,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(e),r.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.",_.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[r]=E(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,o,s]=r.match(/(https?:\/\/)(.+)/),[i,...c]=s.split("/");return`${o}${i.toLowerCase()}/${c.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(r=>e.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return t.destroy(this)}createPostMessageHandler(e){return r=>{let n=e.indexOf(r.origin)>-1,o=r.data.type==="arcgis:auth:requestCredential",s=this.tokenExpires.getTime()>Date.now();if(n&&o){let i={};if(s){let c=this.toCredential();c.server=c.server.replace("/sharing/rest",""),i={type:"arcgis:auth:credential",credential:c}}else i={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(i,r.origin)}}}getTokenForServer(e,r){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`,r);throw new y(`${e} is not federated with ${this.portal}.`,_.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.`,_.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,r){return f(e,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new y(n.message,_.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 r={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:H};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>f(n.authInfo.tokenServicesUrl,Object.assign({params:r},e))):f(`${this.portal}/generateToken`,Object.assign({params:r},e))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new y(n.message,_.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,_.TOKEN_REFRESH_FAILED,o.response,o.url,o.options)})}updateToken(e,r){return this._token=e,this._tokenExpires=r,this}exchangeRefreshToken(e){let r=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`,r).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,_.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(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function I(t){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new O(t)}I.beginOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),O.beginOAuth2(...t)};I.completeOAuth2=function(...t){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),t.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),O.completeOAuth2(...t)};I.fromParent=function(...t){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),O.fromParent(...t)};I.authorize=function(...t){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),O.authorize(...t)};I.exchangeAuthorizationCode=function(...t){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),O.exchangeAuthorizationCode(...t)};I.fromCredential=function(...t){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(...t)};I.deserialize=function(...t){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),O.deserialize(...t)};export{Y as a,te as b,A as c,f as d,ot as e,E as f,O as g};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import b from"./BSDT7WHN.js";import a from"./BOM2RSTG.js";import"./YLCN5LJA.js";import"./V24FB5XD.js";import"./AGPZ3ZW3.js";import"./MKH2DA7O.js";import"./4S7GJLXK.js";import"./5MOL5QM7.js";import"./X3W3VZ6Q.js";import"./L2YFBS6Q.js";import"./GSWFBSAI.js";import"./HHQ6EAEC.js";import"./KJJQAQBD.js";import"./F4JC7HOE.js";import"./7MXST5RQ.js";import"./E3MRIPN4.js";import"./JXZF4HP3.js";import"./7IXKEJ6E.js";import"./BOMBADXF.js";import"./BKKW36VD.js";import"./B46CQCIJ.js";import"./X7MBI4XC.js";import"./6KHLLWW2.js";import{a as h}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as d}from"./XSELGOTY.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([,{e:p}])=>{var g=c`/** @license
3
+ v1.2.0-next.17 */
4
+ import b from"./X6L6A3RW.js";import a from"./CZWVK5EA.js";import"./Z7GSRTZU.js";import"./DXNAVKBQ.js";import"./MBPWNRYN.js";import"./VXUOIWSG.js";import"./DJ4IJPOT.js";import"./HBH6H2OI.js";import"./QBE6BXGP.js";import"./WWXBVK5X.js";import"./D3XPGKZT.js";import"./ARKITXRN.js";import"./7KHRLY2A.js";import"./GR7VI3CO.js";import"./VYTFYRFY.js";import"./2PJAQGID.js";import"./ZFKT7KHP.js";import"./7KKY5M2N.js";import"./XZQVERDX.js";import"./TYTKNIAO.js";import"./AJ4T6IK5.js";import"./IXZBLLNR.js";import"./HNB27GVR.js";import{a as h}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as d}from"./GT3QLTVG.js";import{E as l,G as n,I as i,h as c,i as t,o as r}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([,{e:p}])=>{var g=c`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{w as a}from"./JXZF4HP3.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
3
+ v1.2.0-next.17 */
4
+ import{w as a}from"./ZFKT7KHP.js";async function g(s,n,o){try{let e={q:`orgid:${n}`,countFields:"tags",countSize:200,authentication:o.authentication},i=await a(e),[r]=i.aggregations.counts.map(t=>({mode:"terms",field:t.fieldName,values:t.fieldValues})),c=s||[];return[...new Set([...r.values.map(t=>t.value),...c])].filter(t=>t).map(t=>({value:t}))}catch{return[]}}export{g as a};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as v,b as y}from"./7PUOSBZG.js";import{b as n}from"./EU6EDFI6.js";import{a as _}from"./DFNL2TA5.js";import{k as b,l as m}from"./6KHLLWW2.js";import{a as g}from"./N67QCQ7V.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{b as f}from"./XSELGOTY.js";import{C as r,D as a,E as p,H as o,I as u,h,i as t,o as d}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var S=h`/** @license
3
+ v1.2.0-next.17 */
4
+ import{a as v,b as y}from"./EURJJU52.js";import{b as n}from"./TCUI64QI.js";import{a as _}from"./DMV6IORF.js";import{k as b,l as m}from"./HNB27GVR.js";import{a as g}from"./B6VXPA2U.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{b as f}from"./GT3QLTVG.js";import{C as r,D as a,E as p,H as o,I as u,h,i as t,o as d}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var S=h`/** @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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import"./SLK6RJZ6.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s as buildUiSchema};
3
+ v1.2.0-next.17 */
4
+ import"./IKVBCRGA.js";var s=async(e,t,o)=>({type:"Layout",elements:[{type:"Section",labelKey:"shared.sections.mapSettings.label",elements:[{type:"Control",scope:"/properties/view/properties/mapSettings",labelKey:`${e}.fields.mapSettings.label`,options:{type:"Control",control:"hub-composite-input-map-settings",visibleSettings:["gallery"],showPreview:!0}}]}]});export{s 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
3
+ v1.2.0-next.17 */
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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as _}from"./DFNL2TA5.js";import{a as m}from"./CIPEOZGL.js";import{b as p}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{C as h,D as b,E as d,h as o,i as c}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
3
+ v1.2.0-next.17 */
4
+ import{a as _}from"./DMV6IORF.js";import{a as m}from"./X7YHISH3.js";import{b as p}from"./MSFOOONQ.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{C as h,D as b,E as d,h as o,i as c}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([g,D,{watch:w},a,B,x])=>{var v=o`:host{--label-padding-inline: 12px;--calcite-action-bar-items-space: 8px}calcite-label span,.checkbox-wrapper{padding-inline:var(--label-padding-inline)}`,n={style:"solid",color:[100,100,100,.5],outline:{color:[255,255,255,255],width:.75}};function M(f,e){return new x({geometry:f,symbol:e})}async function C({graphic:f,distance:e,unit:t,isGeodesic:r}){r&&!a.isLoaded()&&await a.load();let i=r?a:B;try{let s={unit:t},l=i.execute(f.geometry,e,s);if(!l)throw new Error("buffer failed");return l}catch(s){console.error(String(s))}}var y=["meters","kilometers","miles","yards","feet","us-feet"],u=class extends d{constructor(){super(),this._bufferDistance=1,this._bufferMinDistance=.1,this._bufferMaxDistance=1e6,this._bufferInputStep=1,this._bufferUnit="miles",this._messages=m({name:"instant-apps-buffer",blocking:!0}),this._readyToBuffer=!1,this._firstFocusableElement=h(),this.geodesicBufferEnabled=!1,this.disabled=!1,this.bufferColor=n.color,this.bufferStyle=n.style,this.bufferOutlineColor=n.outline.color,this.bufferOutlineWidth=n.outline.width,this.bufferLayer=new g}static{this.properties={bufferLayer:0,inputGraphics:0,view:0,bufferUnit:3,bufferInputStep:11,bufferDistance:11,bufferMinDistance:11,bufferMaxDistance:11,geodesicBufferEnabled:7,disabled:7,readyToBuffer:32,bufferColor:1,bufferStyle:1,bufferOutlineColor:1,bufferOutlineWidth:9,bufferGraphicSymbol:32}}static{this.styles=v}get bufferUnit(){return this._bufferUnit}set bufferUnit(e){if(y.includes(e))this._bufferUnit=e;else throw Error("bufferDistance must be a valid length unit type")}get bufferInputStep(){return this._bufferInputStep}set bufferInputStep(e){this._validateBufferNumber(e,"bufferInputStep"),this._bufferInputStep=e}get bufferDistance(){return this._bufferDistance}set bufferDistance(e){if(this._validateBufferNumber(e,"bufferDistance"),e<this.bufferMinDistance)throw new Error("bufferDistance must be greater than bufferMinDistance");if(e>this.bufferMaxDistance)throw new Error("bufferDistance must be less than bufferMaxDistance");this._bufferDistance=e}get bufferMinDistance(){return this._bufferMinDistance}set bufferMinDistance(e){if(this._validateBufferNumber(e,"bufferMinDistance"),e>this.bufferMaxDistance)throw new Error("bufferMinDistance must be less than bufferMaxDistance");this._bufferMinDistance=e}get bufferMaxDistance(){return this._bufferMaxDistance}set bufferMaxDistance(e){if(this._validateBufferNumber(e,"bufferMaxDistance"),e<this.bufferMinDistance)throw new Error("bufferMaxDistance must be greater than bufferMinDistance");this._bufferMaxDistance=e}get readyToBuffer(){return this._readyToBuffer}get bufferGraphicSymbol(){let e=typeof this.bufferOutlineWidth=="number"&&this.bufferOutlineWidth>0,t=typeof this.bufferOutlineColor<"u"&&e;return new D({color:this.bufferColor,style:this.bufferStyle,outline:t?{color:this.bufferOutlineColor,width:this.bufferOutlineWidth}:null})}async clearBufferLayer(){this._clearBufferLayer()}async setFocus(){await this._firstFocusableElement.value?.setFocus()}async willUpdate(e){(e.has("view")||e.has("inputGraphics")||e.has("bufferLayer"))&&this._validateBufferCapability()}disconnectedCallback(){super.disconnectedCallback(),this._inputGraphicsWatchHandle?.remove()}_clearBufferLayer(){this.bufferLayer?.removeAll()}async _onCreateBufferClick(){this._readyToBuffer&&await this._bufferInputGraphics()}_onRemoveBufferClick(){this._clearBufferLayer()}_onBufferDistanceChange(e){let t=Number(e.target.value);t>=this.bufferMinDistance&&t<=this.bufferMaxDistance&&(this.bufferDistance=t)}_onBufferUnitChange(e){let t=e.target.value;this.bufferUnit=t}_onGeodesicBufferChange(e){let t=e.target.checked;this.geodesicBufferEnabled=t}_validateBufferNumber(e,t){if(typeof e!="number"||Number.isNaN(e))throw new Error(`${t} must be a valid number`);if(e<=0)throw new Error(`${t} must be > 0`)}_validateBufferCapability(){let e=!!this.view,t=!!this.inputGraphics,r=!!this.bufferLayer;e&&t&&r?(this._inputGraphicsWatchHandle?.remove(),this._inputGraphicsWatchHandle=w(()=>this.inputGraphics?.length,i=>{i&&i>0?this._readyToBuffer=!0:this._readyToBuffer=!1},{initial:!0})):(this._readyToBuffer=!1,this._inputGraphicsWatchHandle?.remove())}async _bufferInputGraphics(){if(!this.bufferLayer||!this.view||!this.inputGraphics)return;this.view.map?.layers.indexOf(this.bufferLayer)===-1?this.view.map.add(this.bufferLayer):this.bufferLayer.removeAll();let e=[];for(let i of this.inputGraphics){let s=C({graphic:i,distance:this.bufferDistance,unit:this.bufferUnit,isGeodesic:this.geodesicBufferEnabled});e.push(s)}let t=this.bufferGraphicSymbol,r=(await Promise.all(e)).filter(i=>!!i).map(i=>M(i,t));this.bufferLayer.addMany(r)}render(){return c`<calcite-action-bar expand-disabled expanded><calcite-action-group><calcite-action .text=${this._messages.labels.draw} icon=circle text-enabled .disabled=${this.disabled} @click=${this._onCreateBufferClick} ${b(this._firstFocusableElement)}></calcite-action><calcite-action .text=${this._messages.labels.remove} icon=trash text-enabled .disabled=${this.disabled} @click=${this._onRemoveBufferClick}></calcite-action></calcite-action-group><calcite-action-group><calcite-label><span>${this._messages.labels.distance}</span><calcite-input-number .value=${`${this.bufferDistance}`} .step=${this.bufferInputStep} .min=${this.bufferMinDistance} .max=${this.bufferMaxDistance} .disabled=${this.disabled} @calciteInputNumberChange=${this._onBufferDistanceChange}></calcite-input-number></calcite-label><calcite-label><span>${this._messages.labels.unit}</span><calcite-select .label=${this._messages.labels.unit} @calciteSelectChange=${this._onBufferUnitChange} .disabled=${this.disabled}>${_(y,e=>e,e=>c`<calcite-option .value=${e} .selected=${this.bufferUnit===e}>${this._messages.units[e]}</calcite-option>`)}</calcite-select></calcite-label><div class="checkbox-wrapper"><calcite-label layout=inline><calcite-checkbox .checked=${this.geodesicBufferEnabled} .disabled=${this.disabled} @calciteCheckboxChange=${this._onGeodesicBufferChange}></calcite-checkbox>${this._messages.labels.toggleGeodesic}</calcite-label></div></calcite-action-group></calcite-action-bar>`}};p("instant-apps-buffer",u);return u},"layers/GraphicsLayer","symbols/SimpleFillSymbol","core/reactiveUtils","geometry/operators/geodesicBufferOperator","geometry/operators/bufferOperator","Graphic")
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{b as t,c as e}from"./X7MBI4XC.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
3
+ v1.2.0-next.17 */
4
+ import{b as t,c as e}from"./IXZBLLNR.js";var r=["hub:channel:create","hub:channel:edit"],p={type:"object",properties:{name:{type:"string"},blockWords:{type:"string",format:"blockWords"},publicConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{anonymous:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead],default:t},id:{type:"string"}}},authenticated:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},orgConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[e.channelOwner],default:e.channelOwner},id:{type:"string"}}}}}}}},groupConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{member:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}},admin:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite,e.channelManage],default:t},id:{type:"string"}}}}}}}},userConfigs:{type:"array",items:{type:"object",properties:{key:{type:"string"},entityId:{type:"string"},entityType:{type:"string"},roles:{type:"object",properties:{user:{type:"object",properties:{value:{type:"string",enum:[t,e.channelRead,e.channelReadWrite],default:t},id:{type:"string"}}}}}}}},allowAsAnonymous:{type:"boolean",default:!1}},required:["name"]};export{r as a,p as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import c from"./KKWP4MFI.js";import{a as d,b as w,e as C,f as I}from"./6X3COWPL.js";import a from"./UIQXA63E.js";import{a as S}from"./DFNL2TA5.js";import{a as y}from"./ZTH6BNEM.js";import{a as x}from"./CIPEOZGL.js";import{C as T}from"./IKW7KKVU.js";import{b}from"./4ZTJFATS.js";import"./FT3JQVXW.js";import"./GKUGVMPR.js";import{E as f,G as r,h as v,i as n,o as $}from"./JA42BMTT.js";import"./SLK6RJZ6.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,c)
3
+ v1.2.0-next.17 */
4
+ import c from"./NG7G3CC5.js";import{a as d,b as w,e as C,f as I}from"./EYZYTDPR.js";import a from"./2HCRUNSQ.js";import{a as S}from"./DMV6IORF.js";import{a as y}from"./PN22WD6L.js";import{a as x}from"./X7YHISH3.js";import{C as T}from"./OOWXU7Q7.js";import{b}from"./MSFOOONQ.js";import"./AP2AUIRH.js";import"./IOZQWPI7.js";import{E as f,G as r,h as v,i as n,o as $}from"./4SHO6M7C.js";import"./IKVBCRGA.js";export default $arcgis.t(([,{c:u,e:h,f:e,g:L,h:m,j:D,l:k}])=>{var E=v`calcite-modal{--calcite-modal-content-padding: 0}.instant-apps-language-translator__header{display:flex;justify-content:space-between;width:100%}.instant-apps-language-translator__header-text{font-size:18px}.instant-apps-language-translator__saving-indicator{display:flex;align-items:center;font-size:14.5px;color:var(--calcite-color-brand)}.instant-apps-language-translator__writing-icon{display:flex;justify-content:center;align-items:center;margin-right:5px}.instant-apps-language-translator__close-button{width:175px}.instant-apps-language-translator__header-tip{padding:20px;max-width:45vw}.instant-apps-language-translator__top-bar{display:flex;width:100%;position:sticky;top:-2%;background:var(--calcite-color-foreground-1);z-index:1}.instant-apps-language-translator__top-bar calcite-label{--calcite-label-margin-bottom: 0;font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section{box-sizing:border-box;display:flex;align-items:center;width:50%;padding:.5%}.instant-apps-language-translator__user-lang-text{font-weight:var(--calcite-font-weight-medium)}.instant-apps-language-translator__top-bar-section:first-child{display:flex;justify-content:space-between}.instant-apps-language-translator__top-bar-section:nth-child(2) calcite-select{width:255px}.instant-apps-language-translator__collapse-search-container{display:flex;justify-content:space-between}.instant-apps-language-translator__collapse-search-container calcite-input{width:300px;margin-left:30px}.instant-apps-language-translator__primary-content{display:flex;align-items:center}.instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,.instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,.instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:20px}.ck.ck-reset.ck-editor.ck-rounded-corners{margin-top:10px!important;margin-left:55px!important}.ck-editor__editable{height:70px!important;font-size:.875rem!important;line-height:1.375!important}.ck.ck-editor__editable_inline>:first-child,.ck.ck-editor__editable_inline>:last-child{--ck-spacing-large: .5rem !important}:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__close-button,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__saving-indicator,:host:dir(rtl) .instant-apps-language-translator__primary-content .instant-apps-language-translator__last-auto-save{margin-right:unset;margin-left:20px}`,l="instant-apps-language-translator",i={header:`${l}__header`,headerText:`${l}__header-text`,savingIndicator:`${l}__saving-indicator`,closeButton:`${l}__close-button`,headerTip:`${l}__header-tip`,topBar:`${l}__top-bar`,topBarSection:`${l}__top-bar-section`,collapseSearchContainer:`${l}__collapse-search-container`,userLangText:`${l}__user-lang-text`,primaryContent:`${l}__primary-content`,lastAutoSave:`${l}__last-auto-save`},_=class extends f{constructor(){super(),this._messages=x({name:"instant-apps-language-translator",blocking:!0}),this.saving=!1,this.isCollapse=!0,this.open=!1,this.translatorDataUpdated=$(),this.listenOn(window,"translatorItemDataUpdated",this.handleT9nItemUpdate)}static{this.properties={saving:16,isCollapse:16,portalItem:0,appSettings:0,locales:0,open:5,userLocaleInputOnChangeCallback:0,translatedLocaleInputOnChangeCallback:0}}static{this.styles=E}async batchWriteToPortalItemResource(t){e.set("saving",!0);try{let a=await this.getPortalItemResource();if(!a){e.set("saving",!1);return}let s=Date.now();e.set("lastSave",s);let o=[JSON.stringify({...t,lastSave:s})],p={type:"application/json"},c=new Blob(o,p);return await a.update(c),setTimeout(()=>e.set("saving",!1),1500),this.translatorDataUpdated.emit(),Promise.resolve()}catch(a){return console.error("Error writing to portal item resource: ",a),e.set("saving",!1),await Promise.reject(new Error("Failed to batch write to portal item resource"))}}async getPortalItemResource(){return e.get("portalItemResource")}async getTranslationData(){return e.get("portalItemResourceT9n")}async setTranslationData(t){e.set("portalItemResourceT9n",t)}load(){k()}willUpdate(t){(t.has("locales")||t.has("appSettings"))&&(this.initUIData(),this.initSelectLanguage())}async loaded(){await this.initialize()}handleT9nItemUpdate(){this.translatorDataUpdated.emit()}async initialize(){let[t]=await Promise.all([T()]);this.intl=t,this.initUIData(),await this.initPortalItemResourceT9nData(),this.initSelectLanguage()}initUIData(){let{appSettings:t,locales:a}=this,s=L(t,a);e.set("uiData",s)}initSelectLanguage(){if(!this.intl)return;let t=this.locales?.[0]?.locale??this.intl.getLocale(),a=e.get("currentLanguage");this.locales.filter(s=>s.locale===a).length===0&&e.set("currentLanguage",t)}async initPortalItemResourceT9nData(){try{let t=await I(this.portalItem);e.set("portalItemResource",t);let a=await C(t);e.set("lastSave",a.lastSave),e.set("portalItemResourceT9n",a??{})}catch{}}handleExpandCollapseAll(){this.isCollapse=!this.isCollapse;let t=new Map(h.uiData);m().forEach(a=>t.get(a).expanded=this.isCollapse),e.set("uiData",t)}onSuggestionSelect(t){let a=t.detail,s=new Map(h.uiData),o=m(),p=c=>{let g=s.get(c);if(c===a){g.selected=!0;return}g.selected=!1};o.forEach(p),e.set("uiData",s)}close(){this.open=!1}handleLanguageSelection(t){let a=t.target.value;e.set("currentLanguage",a)}render(){return n`${this.renderDialog()}${this.renderPopoverTip()}`}renderDialog(){return n`<calcite-dialog .open=${this.open} scale=l placement=cover @calciteDialogClose=${this.close}>${this.renderHeader()}${this.renderContent()}${this.renderPrimaryContent()}</calcite-dialog>`}renderPopoverTip(){return n`<calcite-popover label reference-element=headerTip placement=trailing auto-close closable><div class=${r(i.headerTip)}>${this._messages.headerTip}</div></calcite-popover>`}renderHeader(){return n`<header class=${r(i.header)} slot=header-content>${this.renderHeaderText()}</header>`}renderHeaderText(){return n`<div class=${r(i.headerText)}><span>${this._messages.header}</span><calcite-button id=headerTip appearance=transparent><calcite-icon .icon=${u.Popover} scale=s></calcite-icon></calcite-button></div>`}renderSavingIndicator(){return n`<div class=${r(i.savingIndicator)}><calcite-loader .label=${this._messages.saving} inline></calcite-loader><span>${this._messages.saving}</span></div>`}renderContent(){return n`<div>${this.renderTopBar()}<slot name=language-translator-content></slot></div>`}renderTopBar(){return n`<div class=${r(i.topBar)}>${this.renderLeadingTopBarSection()}${this.renderTrailingTopBarSection()}</div>`}renderLeadingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderUserLocale()}${this.renderCollapseSearchContainer()}</div>`}renderUserLocale(){let t=this._messages.languages,a=w(),s=t?.[a];return n`<div class=${r(i.userLangText)}>${s}</div>`}renderCollapseSearchContainer(){return n`<div class=${r(i.collapseSearchContainer)}>${this.renderExpandCollapseButton()}${this.renderSearch()}</div>`}renderExpandCollapseButton(){let{isCollapse:t,_messages:a}=this,s=t?a?.collapseAll:a?.expandAll;return n`<slot name=primary-custom-action></slot><slot name=secondary-custom-action></slot><calcite-button @click=${this.handleExpandCollapseAll} appearance=transparent .iconStart=${u.ExpandCollapse}>${s}</calcite-button>`}renderSearch(){return n`<instant-apps-language-translator-search @suggestionSelected=${this.onSuggestionSelect} .t9nPlaceholder=${this._messages.searchPlaceholder}></instant-apps-language-translator-search>`}renderTrailingTopBarSection(){return n`<div class=${r(i.topBarSection)}>${this.renderLanguageSelection()}<slot name=translation-custom-action></slot></div>`}renderLanguageSelection(){return n`<calcite-label layout=inline>${this._messages.translatedLanguage}<calcite-select label @calciteSelectChange=${this.handleLanguageSelection}>${this.renderTranslatedLangOptions()}</calcite-select></calcite-label>`}renderTranslatedLangOptions(){let t=e.get("uiData")?.get("locales"),a=D(t),s=Object.keys(d.partial);return S(a,o=>`translated-lang-option-${o}`,o=>{let p=s.includes(o)?"partial":"full",c=d[p],{language:g,translated:B}=c[o],P=`${g} - ${B}`;return n`<calcite-option .value=${o}>${P}</calcite-option>`})}renderPrimaryContent(){return n`<div class=${r(i.primaryContent)} slot=footer-end>${e.get("saving")?this.renderSavingIndicator():null}${e.get("lastSave")?y("last-save",n`<span class=${r(i.lastAutoSave)}>${this._messages.lastAutoSave} ${this.intl.formatDate(e.get("lastSave"))}</span>`):null}<calcite-button @click=${()=>this.open=!1} class=${r(i.closeButton)}>${this._messages.close}</calcite-button></div>`}};b("instant-apps-language-translator",_);return _},a,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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{e as l,f as o}from"./MKH2DA7O.js";import{d as g}from"./L2YFBS6Q.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};export{p as a};
3
+ v1.2.0-next.17 */
4
+ import{e as l,f as o}from"./VXUOIWSG.js";import{d as g}from"./WWXBVK5X.js";var p=async(s,e)=>{s.slug&&!s.slug.startsWith(`${s.orgUrlKey}|`)&&(s.slug=g(s.slug,s.orgUrlKey));let{id:r,slug:u}=s,a=r?{slug:u,existingId:r}:{slug:u};return s.slug=await o(a,e),s.typeKeywords=l(s.typeKeywords,s.slug),s};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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a,b}from"./MOTBFN4G.js";import"./ASYSKXRU.js";import"./MVZGGYJE.js";import"./4LTQAJ7Q.js";import"./SLK6RJZ6.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
3
+ v1.2.0-next.17 */
4
+ import{a,b}from"./TY4OPURB.js";import"./FKVAAIA2.js";import"./H6QSE5GL.js";import"./SU2J5HZD.js";import"./IKVBCRGA.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as g,c as S,d as y,e as u,f as m}from"./6X3COWPL.js";import{a as p}from"./ZTH6BNEM.js";import{C as $,m as h}from"./IKW7KKVU.js";import{b as D}from"./4ZTJFATS.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./JA42BMTT.js";import"./SLK6RJZ6.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
3
+ v1.2.0-next.17 */
4
+ import{a as g,c as S,d as y,e as u,f as m}from"./EYZYTDPR.js";import{a as p}from"./PN22WD6L.js";import{C as $,m as h}from"./OOWXU7Q7.js";import{b as D}from"./MSFOOONQ.js";import{C as I,D as b,E as v,h as L,i as n,o as f}from"./4SHO6M7C.js";import"./IKVBCRGA.js";var E=L`:host{display:block;background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);min-width:200px}:host calcite-dropdown{width:100%}:host calcite-button{--calcite-color-brand: var(--calcite-color-text-3);--calcite-color-brand-hover: var(--calcite-color-text-3)}`,w=class extends v{constructor(){super(...arguments),this.trigger=I(),this.t9nData=null,this.icon="language",this.locales=[],this.selectedLanguage=null,this.calciteDropdownOverlayPositioning="absolute",this.selectedLanguageUpdated=f()}static{this.properties={t9nData:16,icon:1,portalItem:0,view:0,locales:0,defaultLocale:1,selectedLanguage:1,calciteDropdownOverlayPositioning:1}}static{this.styles=E}async refresh(){try{let e=await m(this.portalItem),t=await u(e);this.t9nData=t;let a={locale:this.selectedLanguage,data:t[this.selectedLanguage]};this.selectedLanguageUpdated.emit(a)}catch{}}async load(){let[e]=await Promise.all([$()]);this.intl=e;try{this.portalItemResource=await m(this.portalItem);let t=await u(this.portalItemResource);this.t9nData=t??{}}catch{this.t9nData={},console.error("NO PORTAL ITEM RESOURCE AVAILABLE.")}finally{this.userLocale=this.defaultLocale;let t=new URLSearchParams(window.location.search).get("locale"),a=this.locales?.map(i=>i?.locale)?.filter(i=>i===t)?.length>0,c=S(e,this.portalItem.portal),r=this.locales?.map(i=>i?.locale)?.filter(i=>i===c)?.length>0;this.selectedLanguage=a?t:r?c:this.userLocale;let o=this.selectedLanguage;if(o!==this.userLocale&&(this.calciteDropdownItemSelectCallback(o)(),this.selectedLanguageUpdated.emit({locale:o,data:this.t9nData?.[o]??null})),this.view){let i=this.view.map;this.defaultWebMapId=i?.portalItem?.id??"";let s=this.locales?.filter(l=>l?.webmap&&l?.webmap!==this.defaultWebMapId&&l?.locale===this.selectedLanguage)?.[0]?.webmap;s&&(this.view.map=await h({portalItem:{id:s}}))}}}calciteDropdownItemSelectCallback(e){return async()=>{this.selectedLanguage=e;let{intl:t,selectedLanguage:a,t9nData:c,userLocale:r}=this,o=this.locales.find(l=>l.locale===a);c&&o&&a!==r&&(o.data=c[e]);let i=new URLSearchParams(window.location.search),s=await y(this.selectedLanguage);if(t.setLocale(s),i.set("locale",s),this.view){let l=this.locales.filter(d=>d.locale===a)?.[0]?.webmap;if(l)this.view.map=await h({portalItem:{id:l}});else{let d=this.view?.map?.portalItem?.id;d&&this.defaultWebMapId!==d&&(this.view.map=await h({portalItem:{id:this.defaultWebMapId}}))}}document.documentElement.setAttribute("lang",s),this.intl.prefersRTL()?document.documentElement.setAttribute("dir","rtl"):document.documentElement.setAttribute("dir","ltr"),window.history.replaceState({},"",decodeURIComponent(`${window.location.pathname}?${i}`)),this.selectedLanguageUpdated.emit(o)}}getSelectedLanguageText(e){let t=Object.keys(g.partial).includes(e)?"partial":"full",a=g[t],{language:c,translated:r}=a[e];return`${c} - ${r}`}render(){let e=this.renderTrigger(),t=this.renderDropdownItems(),a=this.renderDefaultLocale();return n`<calcite-dropdown @calciteDropdownBeforeOpen=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-up")}} @calciteDropdownBeforeClose=${()=>{this.trigger.value&&(this.trigger.value.iconEnd="chevron-down")}} .overlayPositioning=${this.calciteDropdownOverlayPositioning} width-scale=m>${e}<calcite-dropdown-group>${a}${t}</calcite-dropdown-group></calcite-dropdown>`}renderDefaultLocale(){let{userLocale:e}=this;return p(`default-${e}`,n`<calcite-dropdown-item @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)} .selected=${this.selectedLanguage===this.userLocale}>${this.getSelectedLanguageText(e)}</calcite-dropdown-item>`)}renderTrigger(){return n`<calcite-button slot=trigger .iconStart=${this.icon} icon-end=chevron-down width=full appearance=outline ${b(this.trigger)}>${this.getSelectedLanguageText(this.selectedLanguage)}</calcite-button>`}renderDropdownItems(){return this.locales?.map(e=>e.locale)?.map(e=>this.renderDropdownItem(e))}renderDropdownItem(e){let t=this.getSelectedLanguageText(e),a=e===this.selectedLanguage;return p(e,n`<calcite-dropdown-item .selected=${a} @calciteDropdownItemSelect=${this.calciteDropdownItemSelectCallback(e)}>${t}</calcite-dropdown-item>`)}};D("instant-apps-language-switcher",w);export{w as InstantAppsLanguageSwitcher};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
3
+ v1.2.0-next.17 */
4
4
  var u=(i,r)=>r.split(".").reduce(function(e,n){let l=n.match(/\[(.*?)\]$/);if(l){let t=l[1],s=n.replace(l[0],"");if(parseInt(t,10)>-1){let a=parseInt(t,10);return Array.isArray(e[s])&&e[s][a]?e[s][a]:void 0}else return o(e[s],t)}else return e&&e[n]!==void 0?e[n]!==null&&e[n].$use?u(i,e[n].$use):e[n]:void 0},i);function o(i,r){let e=r.split("(");if(!e||e.length!==2)return;let n,l=e[0],t=e[1].replace(")","").split(",").map(s=>s.trim());switch(l){case"findBy":let s=t[0],a;d(t[1])?a=parseFloat(t[1]):a=t[1].replace(/'/g,""),n=i.find(f=>f[s]===a);break;default:n=void 0}return n}function d(i){return!isNaN(parseFloat(i))}export{u as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{l as c}from"./GSWFBSAI.js";import{a as o}from"./B46CQCIJ.js";import{a as n}from"./MVZGGYJE.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.2.0-next.17 */
4
+ import{l as c}from"./D3XPGKZT.js";import{a as o}from"./AJ4T6IK5.js";import{a as n}from"./H6QSE5GL.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};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as o}from"./D3H64MRR.js";import{b as l}from"./X7MBI4XC.js";import"./SLK6RJZ6.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
3
+ v1.2.0-next.17 */
4
+ import{a as o}from"./2KGZQDH2.js";import{b as l}from"./IXZBLLNR.js";import"./IKVBCRGA.js";function c(i){return i.reduce((t,n)=>Object.entries(n.roles).reduce((e,[r,a])=>{if(a.value===l)return e;let s;return n.key==="public"?s={collaborationType:r==="authenticated"?o.authenticated:o.anonymous,collaborationId:null}:n.entityType==="group"?s={collaborationType:r==="admin"?o.groupAdmin:o.group,collaborationId:n.entityId}:n.entityType==="organization"?s={collaborationType:r==="admin"?o.orgAdmin:o.org,collaborationId:n.entityId}:n.entityType==="user"&&(s={collaborationType:o.user,collaborationId:n.entityId}),s?[...e,Object.assign(Object.assign({},s),{permission:a.value,id:a.id})]:e},t),[])}function b(i){let t=[...i.publicConfigs,...i.orgConfigs,...i.groupConfigs,...i.userConfigs];return{name:i.name,blockWords:i.blockWords.split(",").map(n=>n.trim()),allowAsAnonymous:i.allowAsAnonymous,permissions:c(t)}}export{b as transformEditorToEntity};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import"./SLK6RJZ6.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.2.0-next.17 */
4
+ import"./IKVBCRGA.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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
4
- import{a as N}from"./GKUGVMPR.js";import{a as y,b as C,p as L}from"./JA42BMTT.js";var T=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},d=(n,r,e)=>{let t=M(r).subscribe;return t(o=>{o.some(s=>T(n,s.target))&&e()})},m={},M=n=>{let r=n.join(","),e=m[r];if(e!==void 0)return e;let t=new Set,o=new MutationObserver(s=>t.forEach(a=>a(s)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(t.add(s),()=>{t.delete(s),t.size===0&&(o.disconnect(),m[r]=void 0)})};return m[r]=i,i},_=(n,r)=>{let e=n;for(;e;){let t=e.closest?.(r);if(t)return t;let o=e.getRootNode?.();if(o===globalThis.document)return;e=o.host}};var h=(n,r,e)=>_(n,`[${r}]`)?.getAttribute(r)??e;var $="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),S=new Set($),f="en",j={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},F=async(n,r,e="")=>{let t=`${r}/${e}`,o=`${t}${n}.json`;return g[o]??(g[o]=x(n,t)),await g[o]},g={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let t=await fetch(e);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return n===f?{}:await x(f,r)},b=n=>{let r=h(n,"lang",globalThis.navigator?.language||f);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),t=r.toLowerCase(),o=t;return e&&(o=`${t}-${e.toUpperCase()}`),o=j[o]??o,S.has(o)?o:e?w(t):f},P=(n,r,e,t)=>{let o,i=()=>D(n,r(),t).then(s=>{(o?.lang!==s.lang||o.t9nLocale!==s.t9nLocale||o.t9nStrings!==s.t9nStrings)&&e(s),o=s}).catch(console.error);return queueMicrotask(i),d(n,["lang"],i)},D=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:t,t9nLocale:o}=b(n),i=`${r}/${e}/t9n`,a=e===null?{}:await F(o,i,"messages.");return{lang:t,t9nLocale:o,t9nStrings:a}};var O=n=>z(void 0,n);var v=class extends L{constructor(r,e){super(r);let t=this.exports;try{C(this.component);let o=e(this.component,this),i=this.exports!==t;if(y(o)){i||this.setProvisionalExports(o);let s=o.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this.P.reject(o),console.error(o)}}catchUpLifecycle(){}},z=N(v);var k="ltr",pe=()=>O((n,r)=>{r.exports=k,r.onLifecycle(()=>{let e=()=>{let t=h(n.el,"dir",k);r.exports=t==="rtl"?"rtl":"ltr"};return e(),d(n.el,["dir"],e)})}),de=n=>(r={})=>O((e,t)=>{let o=b(e.el),i={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},s=e;t.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};t.exports=p;let E=l.componentLabel;typeof E=="string"&&"label"in e&&e.label==null&&(e.label??=E),a(s.messageOverrides)},r.name));let a=c=>{let l=t.exports,u=l._original??l,p=A(u,c);c&&(p._original=u),t.exports=p};return"messageOverrides"in s&&t.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(t.setProvisionalExports(i,!1),t.ready):i}),A=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([t,o])=>{typeof o=="object"?e[t]=A(n[t],o):e[t]=o??n[t]}),e};export{pe as a,de as b};
3
+ v1.2.0-next.17 */
4
+ import{a as N}from"./IOZQWPI7.js";import{a as y,b as C,p as L}from"./4SHO6M7C.js";var T=(n,r)=>{let e=n;for(;e;){if(e===r)return!0;if(!e.parentNode)return!1;e.parentNode instanceof ShadowRoot?e=e.parentNode.host:e=e.parentNode}return!1},d=(n,r,e)=>{let t=M(r).subscribe;return t(o=>{o.some(s=>T(n,s.target))&&e()})},m={},M=n=>{let r=n.join(","),e=m[r];if(e!==void 0)return e;let t=new Set,o=new MutationObserver(s=>t.forEach(a=>a(s)));globalThis.document&&o.observe(document.documentElement,{attributes:!0,attributeFilter:n,subtree:!0});let i={subscribe:s=>(t.add(s),()=>{t.delete(s),t.size===0&&(o.disconnect(),m[r]=void 0)})};return m[r]=i,i},_=(n,r)=>{let e=n;for(;e;){let t=e.closest?.(r);if(t)return t;let o=e.getRootNode?.();if(o===globalThis.document)return;e=o.host}};var h=(n,r,e)=>_(n,`[${r}]`)?.getAttribute(r)??e;var $="ar,bg,bs,ca,cs,da,de,el,en,es,et,fi,fr,he,hr,hu,id,it,ja,ko,lt,lv,nl,nb,no,pl,pt-BR,pt-PT,ro,ru,sk,sl,sr,sv,th,tr,uk,vi,zh-CN,zh-HK,zh-TW".split(","),S=new Set($),f="en",j={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},F=async(n,r,e="")=>{let t=`${r}/${e}`,o=`${t}${n}.json`;return g[o]??(g[o]=x(n,t)),await g[o]},g={},x=async(n,r)=>{let e=`${r}${n}.json`;try{let t=await fetch(e);if(t.ok)return await t.json()}catch(t){return console.error(t),{}}return n===f?{}:await x(f,r)},b=n=>{let r=h(n,"lang",globalThis.navigator?.language||f);return{lang:r,t9nLocale:w(r)}},w=n=>{let[r,e]=n.split("-"),t=r.toLowerCase(),o=t;return e&&(o=`${t}-${e.toUpperCase()}`),o=j[o]??o,S.has(o)?o:e?w(t):f},P=(n,r,e,t)=>{let o,i=()=>D(n,r(),t).then(s=>{(o?.lang!==s.lang||o.t9nLocale!==s.t9nLocale||o.t9nStrings!==s.t9nStrings)&&e(s),o=s}).catch(console.error);return queueMicrotask(i),d(n,["lang"],i)},D=async(n,r,e=n.localName.split("-").slice(1).join("-"))=>{let{lang:t,t9nLocale:o}=b(n),i=`${r}/${e}/t9n`,a=e===null?{}:await F(o,i,"messages.");return{lang:t,t9nLocale:o,t9nStrings:a}};var O=n=>z(void 0,n);var v=class extends L{constructor(r,e){super(r);let t=this.exports;try{C(this.component);let o=e(this.component,this),i=this.exports!==t;if(y(o)){i||this.setProvisionalExports(o);let s=o.then(a=>{this.exports=a,super.catchUpLifecycle()}).catch(a=>{this.P.reject(a),console.error(a)});this.onLoad(async()=>await s)}else(!i||o!==void 0)&&(this.exports=o),queueMicrotask(()=>super.catchUpLifecycle())}catch(o){this.P.reject(o),console.error(o)}}catchUpLifecycle(){}},z=N(v);var k="ltr",pe=()=>O((n,r)=>{r.exports=k,r.onLifecycle(()=>{let e=()=>{let t=h(n.el,"dir",k);r.exports=t==="rtl"?"rtl":"ltr"};return e(),d(n.el,["dir"],e)})}),de=n=>(r={})=>O((e,t)=>{let o=b(e.el),i={_lang:o.lang,_t9nLocale:o.t9nLocale,_loading:!0},s=e;t.onLifecycle(()=>P(e.el,()=>n("./assets"),({t9nLocale:c,t9nStrings:l,lang:u})=>{let p={...l,_lang:u,_t9nLocale:c,_loading:!1};t.exports=p;let E=l.componentLabel;typeof E=="string"&&"label"in e&&e.label==null&&(e.label??=E),a(s.messageOverrides)},r.name));let a=c=>{let l=t.exports,u=l._original??l,p=A(u,c);c&&(p._original=u),t.exports=p};return"messageOverrides"in s&&t.onUpdate(c=>{c.has("messageOverrides")&&a(s.messageOverrides)}),r.blocking?(t.setProvisionalExports(i,!1),t.ready):i}),A=(n,r)=>{if(!r)return n;let e={...n};return Object.entries(r).forEach(([t,o])=>{typeof o=="object"?e[t]=A(n[t],o):e[t]=o??n[t]}),e};export{pe as a,de 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.2/esri/copyright.txt for details.
3
- v1.2.0-next.16 */
3
+ v1.2.0-next.17 */
4
4
  function a(t){let e=t;return t.match(/(qaext|\.mapsqa)\.arcgis.com/)?e="https://qaext.arcgis.com":t.match(/(devext|\.mapsdevext)\.arcgis.com/)?e="https://devext.arcgis.com":t.match(/(www|\.maps)\.arcgis.com/)&&(e="https://www.arcgis.com"),e}export{a};