@esri/solutions-components 1.2.0-next.55 → 1.2.0-next.57

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 (496) hide show
  1. package/dist/cdn/22S2FCUI.js +4 -0
  2. package/dist/cdn/24VQB3P7.js +4 -0
  3. package/dist/cdn/{PBPHPTUW.js → 25P7ICZT.js} +2 -2
  4. package/dist/cdn/{5WJZSZ5Z.js → 27XYZPJZ.js} +2 -2
  5. package/dist/cdn/2AD2BCDG.js +4 -0
  6. package/dist/cdn/{LOVZTJRF.js → 2EPNZNUC.js} +2 -2
  7. package/dist/cdn/{7BNUTYVC.js → 2IXD5MKB.js} +2 -2
  8. package/dist/cdn/{QMTPG6TT.js → 2LZEV2CW.js} +2 -2
  9. package/dist/cdn/{KPQOVICW.js → 2NRIEXQX.js} +2 -2
  10. package/dist/cdn/{IU4BBE5H.js → 2W3ETYCA.js} +2 -2
  11. package/dist/cdn/2YD54SNR.js +9 -0
  12. package/dist/cdn/{ZN6ZBVHB.js → 2ZLWR2EW.js} +2 -2
  13. package/dist/cdn/{EILOXWVR.js → 365RIKLW.js} +2 -2
  14. package/dist/cdn/{UXZQXANJ.js → 36DQNHPF.js} +2 -2
  15. package/dist/cdn/36RP7HPP.js +4 -0
  16. package/dist/cdn/{KUJ5QVUF.js → 37E5NJJO.js} +1 -1
  17. package/dist/cdn/{GGN3J6W7.js → 3MCVXCWS.js} +2 -2
  18. package/dist/cdn/{5X22BCQH.js → 3OUZLQE7.js} +2 -2
  19. package/dist/cdn/{X5HU5JHB.js → 3SMVI2AC.js} +2 -2
  20. package/dist/cdn/{DYODK7P7.js → 3UCVHZJC.js} +3 -3
  21. package/dist/cdn/{2BREZK7B.js → 3UQ6JJXL.js} +2 -2
  22. package/dist/cdn/{CKQR46FB.js → 3YMUEKLT.js} +2 -2
  23. package/dist/cdn/{Z2HI5NYM.js → 43OO4UES.js} +2 -2
  24. package/dist/cdn/{LGI3ZXM5.js → 4INRQ3XY.js} +2 -2
  25. package/dist/cdn/{YU3WGZPY.js → 4NGTP4ZJ.js} +2 -2
  26. package/dist/cdn/{CZNNTQTI.js → 4NJE2O26.js} +2 -2
  27. package/dist/cdn/{YVD3X5RF.js → 4PVC3TTT.js} +2 -2
  28. package/dist/cdn/{HBQINVR3.js → 4UAGVXEG.js} +2 -2
  29. package/dist/cdn/{LB5SPU3X.js → 4VRSH6TE.js} +1 -1
  30. package/dist/cdn/{TD3SS2LI.js → 4XWOVULH.js} +2 -2
  31. package/dist/cdn/{YP3XTKH3.js → 4YOGR5BF.js} +2 -2
  32. package/dist/cdn/{CBUDETU2.js → 4YWAVP2K.js} +2 -2
  33. package/dist/cdn/{FXIOSBB7.js → 55AEVWCR.js} +2 -2
  34. package/dist/cdn/{5MIMZDAL.js → 5G5N6ZKZ.js} +1 -1
  35. package/dist/cdn/{N3SLVDZD.js → 5IFHQSZB.js} +2 -2
  36. package/dist/cdn/{OBNP6CPI.js → 5QD257VG.js} +2 -2
  37. package/dist/cdn/{ZDAWOYKL.js → 5TRN5RRD.js} +2 -2
  38. package/dist/cdn/63SMFBVK.js +4 -0
  39. package/dist/cdn/{NEKCBVCK.js → 63WWBL3G.js} +2 -2
  40. package/dist/cdn/{WBGHGWZF.js → 6BKJZUXA.js} +1 -1
  41. package/dist/cdn/{HF7Z5EPN.js → 6CYQF44M.js} +2 -2
  42. package/dist/cdn/{UKBNJZC7.js → 6DMGAZDN.js} +2 -2
  43. package/dist/cdn/{ZNR5ICTL.js → 6EAK6CQF.js} +2 -2
  44. package/dist/cdn/{BHX2V4ZC.js → 6EMWUWBV.js} +2 -2
  45. package/dist/cdn/{TQZGCE4G.js → 6GHM6YXL.js} +2 -2
  46. package/dist/cdn/{G3J5HHEC.js → 6H4O3DWG.js} +1 -1
  47. package/dist/cdn/{E6SSHW4M.js → 6HNCVHKC.js} +2 -2
  48. package/dist/cdn/{GUA3TAA4.js → 6M6OVAM3.js} +1 -1
  49. package/dist/cdn/{YK6DNO6A.js → 6PODZP4W.js} +2 -2
  50. package/dist/cdn/{EVJ3CBD3.js → 6QEYTANI.js} +2 -2
  51. package/dist/cdn/{SNUNTKQH.js → 6WI7U5Q5.js} +2 -2
  52. package/dist/cdn/6ZTR4IBJ.js +4 -0
  53. package/dist/cdn/{3JZWGASI.js → 726HBILP.js} +2 -2
  54. package/dist/cdn/{CQXCUQEH.js → 72EJSQ6D.js} +2 -2
  55. package/dist/cdn/{W6PDOPKY.js → 76LOKGGG.js} +2 -2
  56. package/dist/cdn/{ASLTO4JA.js → 77JNTLDE.js} +2 -2
  57. package/dist/cdn/{CWJBR6CP.js → 7C6GJTE2.js} +2 -2
  58. package/dist/cdn/{SZKRFHVP.js → 7FCU2YJM.js} +2 -2
  59. package/dist/cdn/{ZZ6F2MTP.js → 7HGYIZIP.js} +2 -2
  60. package/dist/cdn/{WZ6YFFNN.js → 7QW55BUA.js} +2 -2
  61. package/dist/cdn/{PAS4FUFT.js → 7S64536V.js} +2 -2
  62. package/dist/cdn/{MIDWMCDF.js → 7SIJKVBT.js} +2 -2
  63. package/dist/cdn/{QB6XOSS4.js → 7VCCYAYT.js} +2 -2
  64. package/dist/cdn/{DVOMGUWB.js → 7VJUPXFN.js} +2 -2
  65. package/dist/cdn/{F7H7OJFA.js → 7VPJCOWY.js} +2 -2
  66. package/dist/cdn/7YA5BCAV.js +4 -0
  67. package/dist/cdn/{3FEW4HQL.js → A2DA3RMI.js} +2 -2
  68. package/dist/cdn/{3VRPE63S.js → A3X4HUR5.js} +2 -2
  69. package/dist/cdn/{2OBS46ZV.js → A3XT462M.js} +1 -1
  70. package/dist/cdn/{DH7M3LEI.js → A6VXVHAW.js} +2 -2
  71. package/dist/cdn/{2SOSAXUE.js → A7YRZPZ4.js} +1 -1
  72. package/dist/cdn/{FZXY7XLX.js → ACCYONRX.js} +2 -2
  73. package/dist/cdn/{67OGPS6D.js → ADZILZCH.js} +2 -2
  74. package/dist/cdn/{2YV2ZNZU.js → AGDR3HHW.js} +2 -2
  75. package/dist/cdn/AMDHMGKU.js +18 -0
  76. package/dist/cdn/ANJ3BCIX.js +4 -0
  77. package/dist/cdn/{XNK3C256.js → AT4AKJDN.js} +2 -2
  78. package/dist/cdn/{OYLO2HBU.js → AU4EGB5P.js} +2 -2
  79. package/dist/cdn/{VY7QIGBF.js → AVS3HWXS.js} +2 -2
  80. package/dist/cdn/{RLXEZIDQ.js → AWKUWSEI.js} +2 -2
  81. package/dist/cdn/{B5SVVNRP.js → AWVKHZGF.js} +2 -2
  82. package/dist/cdn/{JH65RMWU.js → AX7DF4OK.js} +2 -2
  83. package/dist/cdn/{F3AX3CJV.js → B2YXKVY5.js} +2 -2
  84. package/dist/cdn/{GNVZJYJI.js → B3JCBHHX.js} +2 -2
  85. package/dist/cdn/{JLNWEJKG.js → B4IFX7AG.js} +2 -2
  86. package/dist/cdn/{DB3GMHTL.js → B4ZJKYG7.js} +1 -1
  87. package/dist/cdn/{KOLZ3ZLN.js → B5KE4UUU.js} +2 -2
  88. package/dist/cdn/{WL27ITK6.js → B7KCLBGS.js} +2 -2
  89. package/dist/cdn/{7V3JZB7Z.js → B7O4OI5J.js} +2 -2
  90. package/dist/cdn/BAXTOHO3.js +4 -0
  91. package/dist/cdn/{AMN43KEC.js → BBEIKYGF.js} +2 -2
  92. package/dist/cdn/{KHWHX37X.js → BJ5G4OZF.js} +2 -2
  93. package/dist/cdn/{YQYLEISV.js → BJPINA5V.js} +2 -2
  94. package/dist/cdn/{E2KYBK2Y.js → BK7EAFIO.js} +2 -2
  95. package/dist/cdn/{CELOJGUQ.js → BMHM5WKP.js} +2 -2
  96. package/dist/cdn/{RHTFHX5O.js → BNLCMTVB.js} +2 -2
  97. package/dist/cdn/{TN3K4DSG.js → BQNJW4Z3.js} +2 -2
  98. package/dist/cdn/{P7D4F2K6.js → BQWDA5PD.js} +2 -2
  99. package/dist/cdn/BTFQVLDG.js +4 -0
  100. package/dist/cdn/{FVAOB5T2.js → BXXHIE7O.js} +2 -2
  101. package/dist/cdn/{YWXNSYYL.js → C3I7XFU6.js} +2 -2
  102. package/dist/cdn/{43GNT3D4.js → C3RPA3ZL.js} +2 -2
  103. package/dist/cdn/{GK7ZONJQ.js → C4BGJ3MT.js} +2 -2
  104. package/dist/cdn/{RY5RSYS5.js → CBC6NKJX.js} +2 -2
  105. package/dist/cdn/{IO3PWXQU.js → CDNIDYAB.js} +2 -2
  106. package/dist/cdn/{5QFFRNLL.js → CGNV5OV3.js} +1 -1
  107. package/dist/cdn/{LMY66HBZ.js → CLVUXJOQ.js} +2 -2
  108. package/dist/cdn/{H6EJTHOJ.js → CNM2ZTS6.js} +1 -1
  109. package/dist/cdn/{HKRJTSUM.js → CPHZ2GTT.js} +1 -1
  110. package/dist/cdn/{RWCYQ4K4.js → CSF46JVA.js} +2 -2
  111. package/dist/cdn/{ZNAINKNX.js → CUE7HVDZ.js} +2 -2
  112. package/dist/cdn/{LV7MP27E.js → CYR2XMPR.js} +2 -2
  113. package/dist/cdn/{XZQAAG2U.js → CZPZA5H5.js} +2 -2
  114. package/dist/cdn/{PC6UK473.js → D2256TIA.js} +2 -2
  115. package/dist/cdn/{G3B6SEZZ.js → D5XB36JD.js} +2 -2
  116. package/dist/cdn/{IGN2MV2Y.js → DC5V5FHX.js} +2 -2
  117. package/dist/cdn/{TCPWGVOK.js → DCC6Y66B.js} +2 -2
  118. package/dist/cdn/{ZPE2YIBI.js → DEVLZPL2.js} +2 -2
  119. package/dist/cdn/{UZAXMUQD.js → DPWBRDIK.js} +2 -2
  120. package/dist/cdn/{YIGG47DA.js → DS4DWTM7.js} +2 -2
  121. package/dist/cdn/{NGLFBJKC.js → DU7SEJVB.js} +2 -2
  122. package/dist/cdn/{QBRDS2N6.js → DVOM246T.js} +2 -2
  123. package/dist/cdn/{OS3RTCEZ.js → DXSKK4ES.js} +2 -2
  124. package/dist/cdn/{FHYZLNKM.js → E2KGJYG3.js} +2 -2
  125. package/dist/cdn/{VHA4N6WD.js → E37T3EBG.js} +2 -2
  126. package/dist/cdn/E3XRA5SK.js +4 -0
  127. package/dist/cdn/{QVUY7VXL.js → E57WSATX.js} +2 -2
  128. package/dist/cdn/{B7LP5IK6.js → E6PDJDO6.js} +2 -2
  129. package/dist/cdn/{ADSWE2E5.js → E7VB4W47.js} +2 -2
  130. package/dist/cdn/{QKTFZTTV.js → EATD7MUE.js} +2 -2
  131. package/dist/cdn/{RFPBCM5V.js → ED2WT43E.js} +2 -2
  132. package/dist/cdn/{J5FW4RQ2.js → EDEGIKW5.js} +2 -2
  133. package/dist/cdn/{CCWNJZ2Y.js → EDSP3SIB.js} +2 -2
  134. package/dist/cdn/{4XNKMWU2.js → EHFTUM3Q.js} +2 -2
  135. package/dist/cdn/{B4NZWSJI.js → EHR6SZSJ.js} +2 -2
  136. package/dist/cdn/{2R65HLFJ.js → EKDIGUJV.js} +2 -2
  137. package/dist/cdn/{SPSI2OHZ.js → EKFVS34S.js} +2 -2
  138. package/dist/cdn/{WPG5GQZE.js → EKWHII3W.js} +2 -2
  139. package/dist/cdn/{KAZ3C7YR.js → ELZCPMOM.js} +2 -2
  140. package/dist/cdn/{JFURY4V4.js → F3F4PUQU.js} +2 -2
  141. package/dist/cdn/{QHNX76UI.js → F5YBLADI.js} +2 -2
  142. package/dist/cdn/{OREEVT73.js → F6WBY6RR.js} +2 -2
  143. package/dist/cdn/{W6D7IX3Z.js → FCK3DLCP.js} +2 -2
  144. package/dist/cdn/{RADQ3EYG.js → FD5Z4SUU.js} +2 -2
  145. package/dist/cdn/{3ZPGJOBW.js → FFCD4DQE.js} +2 -2
  146. package/dist/cdn/{CF5KICDU.js → FICN6NHQ.js} +2 -2
  147. package/dist/cdn/{RK6EJCH2.js → FN2YPD3P.js} +2 -2
  148. package/dist/cdn/{XUOYMDFV.js → FNPUF66M.js} +2 -2
  149. package/dist/cdn/{FJQUSDQN.js → FSUH6I5R.js} +2 -2
  150. package/dist/cdn/{W63EMNR3.js → FVGON5YK.js} +4 -4
  151. package/dist/cdn/{CSHZPVNB.js → G33IVQ6Z.js} +2 -2
  152. package/dist/cdn/{NPFMNK5X.js → G64LLTW6.js} +2 -2
  153. package/dist/cdn/{UJ6QW5VF.js → G6EDBI26.js} +2 -2
  154. package/dist/cdn/{S7ZUZQ3R.js → GE2O6XGK.js} +1 -1
  155. package/dist/cdn/{2ADAHUB2.js → GFUC7GPF.js} +1 -1
  156. package/dist/cdn/{5CXTKKC5.js → GGATICA5.js} +2 -2
  157. package/dist/cdn/{E4KD6WS7.js → GMUMHYMT.js} +2 -2
  158. package/dist/cdn/{BXAXKUED.js → GUQFALSY.js} +2 -2
  159. package/dist/cdn/{DVUPXAKN.js → GZIXT3VN.js} +2 -2
  160. package/dist/cdn/{XAZHGBRE.js → H2UW2QCH.js} +2 -2
  161. package/dist/cdn/{V4FUYMWB.js → H4CTJWTH.js} +2 -2
  162. package/dist/cdn/{OBLTRHUE.js → HBQDTBIZ.js} +2 -2
  163. package/dist/cdn/{7P42LHOI.js → HEQ3STAB.js} +2 -2
  164. package/dist/cdn/{FYBLR6NE.js → HMAEKDP7.js} +2 -2
  165. package/dist/cdn/{VZTRNLIX.js → HQBDKK6Q.js} +2 -2
  166. package/dist/cdn/{73AR3JO3.js → HTLU2KXO.js} +2 -2
  167. package/dist/cdn/{GZ7YFIH3.js → HWAWVSSA.js} +1 -1
  168. package/dist/cdn/{BQAW3235.js → HZ56K43Q.js} +2 -2
  169. package/dist/cdn/IBKXMH2V.js +4 -0
  170. package/dist/cdn/{5PIKJTFZ.js → IBMXIJQF.js} +2 -2
  171. package/dist/cdn/{LLFM6JXF.js → IBUBXKBP.js} +1 -1
  172. package/dist/cdn/{D3QQDF67.js → ICDJN5WI.js} +2 -2
  173. package/dist/cdn/{TTORRFEI.js → IDKIMKCK.js} +2 -2
  174. package/dist/cdn/{3CXFJMLM.js → IEQDJIPL.js} +2 -2
  175. package/dist/cdn/{2RYK3NHX.js → IFA7V4US.js} +2 -2
  176. package/dist/cdn/IJNDAHUI.js +6 -0
  177. package/dist/cdn/{ZP47EWYV.js → IPI6E7ZG.js} +2 -2
  178. package/dist/cdn/{WHNKTPJB.js → IQFJL5OQ.js} +2 -2
  179. package/dist/cdn/IQI6SLIK.js +4 -0
  180. package/dist/cdn/{NUKC2CKL.js → IQQZZJKX.js} +1 -1
  181. package/dist/cdn/ISIAQK32.js +18 -0
  182. package/dist/cdn/{VWK7EBUR.js → IXIKCAAL.js} +2 -2
  183. package/dist/cdn/J2B4ATLY.js +4 -0
  184. package/dist/cdn/{TLG5D3FT.js → J65A6HMK.js} +2 -2
  185. package/dist/cdn/{SF4XMQC7.js → JDVYX6GW.js} +2 -2
  186. package/dist/cdn/{3C47IZSK.js → JHISG3IY.js} +2 -2
  187. package/dist/cdn/{WS7Y4JMA.js → JLVNRCLM.js} +2 -2
  188. package/dist/cdn/{5P2LJASS.js → JMKGB5EP.js} +2 -2
  189. package/dist/cdn/{4EOT7743.js → JNH5XXRK.js} +2 -2
  190. package/dist/cdn/{3QVAKEVP.js → JTEWF4H7.js} +2 -2
  191. package/dist/cdn/{DGPYEDXC.js → K6EHSTMP.js} +2 -2
  192. package/dist/cdn/{OGN3BNH3.js → K72VLKTT.js} +2 -2
  193. package/dist/cdn/{NEVGBI5K.js → K7TQUHFL.js} +2 -2
  194. package/dist/cdn/{M3XNNERE.js → KDIEOT3U.js} +2 -2
  195. package/dist/cdn/{S4DLWNTB.js → KEBZ5K56.js} +2 -2
  196. package/dist/cdn/{T4EMFZFW.js → KG3WSKXP.js} +2 -2
  197. package/dist/cdn/{UEETBYB6.js → KMDFBWJ7.js} +1 -1
  198. package/dist/cdn/{56GPBXUB.js → KPTNDAVM.js} +2 -2
  199. package/dist/cdn/{M5OTWM7Q.js → KSOBOYUB.js} +1 -1
  200. package/dist/cdn/{G6TIKXQJ.js → KVH7PBGW.js} +2 -2
  201. package/dist/cdn/{SUERHOJJ.js → KWEGGT7V.js} +2 -2
  202. package/dist/cdn/{7WQJRRUV.js → KYQBHBJP.js} +2 -2
  203. package/dist/cdn/{SQTOUAAX.js → KZYHGJTZ.js} +2 -2
  204. package/dist/cdn/L5SLOR5H.js +4 -0
  205. package/dist/cdn/{73XUPTPH.js → LBJE4YUZ.js} +2 -2
  206. package/dist/cdn/{UQGZL5YK.js → LDTCK3S7.js} +2 -2
  207. package/dist/cdn/{SDPSZZBR.js → LMDH75XC.js} +1 -1
  208. package/dist/cdn/{TFTRQFDJ.js → M5IDMMJY.js} +2 -2
  209. package/dist/cdn/{XQIUKGT7.js → M5VHVBDS.js} +1 -1
  210. package/dist/cdn/{CFO5CG3E.js → M6SVSYLR.js} +2 -2
  211. package/dist/cdn/{NVVAJRLJ.js → MCVIHE4V.js} +1 -1
  212. package/dist/cdn/{3SZDZESD.js → MFBOQTXE.js} +2 -2
  213. package/dist/cdn/{6RLWH7ZC.js → MFG4CABX.js} +1 -1
  214. package/dist/cdn/{2DSWRU4B.js → MLVJXI2B.js} +2 -2
  215. package/dist/cdn/{DHCCPSV6.js → MNWU3ANZ.js} +2 -2
  216. package/dist/cdn/{IKKD43F4.js → MQSJBREW.js} +2 -2
  217. package/dist/cdn/{QCVTZNOU.js → N6ROKOHC.js} +2 -2
  218. package/dist/cdn/{NO7M4AK7.js → NFFFNI5R.js} +2 -2
  219. package/dist/cdn/{C5FTK5G4.js → NKZGWH7N.js} +2 -2
  220. package/dist/cdn/{235Y3SWD.js → NNVLL7I3.js} +2 -2
  221. package/dist/cdn/{WIU4XMAP.js → NOIGC2JV.js} +2 -2
  222. package/dist/cdn/{V647EVOJ.js → NRCYHF43.js} +2 -2
  223. package/dist/cdn/{ZDNGOJRL.js → NSBRKH3V.js} +2 -2
  224. package/dist/cdn/{7H7GEZI6.js → NU4YRE5C.js} +2 -2
  225. package/dist/cdn/{W76FOUCG.js → NYB4XZWU.js} +2 -2
  226. package/dist/cdn/{JAUHBQY3.js → O34ZGXQK.js} +2 -2
  227. package/dist/cdn/{VAROEQPI.js → O735XRQD.js} +2 -2
  228. package/dist/cdn/{4XQQLPY4.js → ODV2PJEF.js} +2 -2
  229. package/dist/cdn/{VCE34HG2.js → OIMM5ZBJ.js} +2 -2
  230. package/dist/cdn/OIUNBLJN.js +4 -0
  231. package/dist/cdn/{ZERSA3ZP.js → OKEU3MBX.js} +2 -2
  232. package/dist/cdn/{CJW4EZWA.js → OQJ5TTD4.js} +2 -2
  233. package/dist/cdn/{KBEWDDB3.js → ORKME7HP.js} +2 -2
  234. package/dist/cdn/{EPANPJJR.js → P5GCZMOW.js} +2 -2
  235. package/dist/cdn/{XRESNE77.js → P72QLQYD.js} +2 -2
  236. package/dist/cdn/{PGR2IRRK.js → PMHE7HKR.js} +2 -2
  237. package/dist/cdn/{WBW3Y7XG.js → PO2NV6WK.js} +2 -2
  238. package/dist/cdn/{TK7TKHUK.js → PQOIJKAV.js} +2 -2
  239. package/dist/cdn/{FBQWKKLB.js → PX2TVDTQ.js} +2 -2
  240. package/dist/cdn/{Q6UECGGT.js → PXAGPGO4.js} +2 -2
  241. package/dist/cdn/{YPK6GLU2.js → PYEHVNAV.js} +2 -2
  242. package/dist/cdn/{4TEN6JII.js → Q4CBXIUP.js} +1 -1
  243. package/dist/cdn/{E52RTDPZ.js → QBW4XJVW.js} +2 -2
  244. package/dist/cdn/{TGA3WQGH.js → QF5GF5AZ.js} +2 -2
  245. package/dist/cdn/{IFG7JLWV.js → QJ6VRETT.js} +2 -2
  246. package/dist/cdn/{2Y66DQKC.js → QLHBYUEI.js} +1 -1
  247. package/dist/cdn/{6N3GIPWI.js → QSLYPFRO.js} +2 -2
  248. package/dist/cdn/{5MQ63ISN.js → QTKM5ENC.js} +2 -2
  249. package/dist/cdn/{KICU5HTK.js → QVPERTQ3.js} +2 -2
  250. package/dist/cdn/QX36LHFB.js +4 -0
  251. package/dist/cdn/{VR3OZYNP.js → R3TJWOSD.js} +2 -2
  252. package/dist/cdn/{SH4X7S5K.js → R7WOXUMB.js} +2 -2
  253. package/dist/cdn/{PYYGEAE7.js → R7Z5IOMU.js} +2 -2
  254. package/dist/cdn/{MBV5AKJN.js → RFT7OFWF.js} +2 -2
  255. package/dist/cdn/{EB7Q57RX.js → RIT3TZFO.js} +1 -1
  256. package/dist/cdn/{7AICW7VT.js → RP6N7FDZ.js} +2 -2
  257. package/dist/cdn/{PHNGT5K5.js → RQX2524T.js} +1 -1
  258. package/dist/cdn/RRMSL5OC.js +4 -0
  259. package/dist/cdn/{PUEYAHKB.js → S4NF7TRB.js} +2 -2
  260. package/dist/cdn/S5SVXKYS.js +4 -0
  261. package/dist/cdn/{VGM6OPE4.js → S6KYB7KD.js} +2 -2
  262. package/dist/cdn/{SK2JQXKX.js → S7BSU373.js} +1 -1
  263. package/dist/cdn/{CQETTT4I.js → SDZFNHR2.js} +1 -1
  264. package/dist/cdn/{GZIWU77U.js → SXYVZ6J5.js} +2 -2
  265. package/dist/cdn/{OPKAI5U3.js → T6LE5AV3.js} +2 -2
  266. package/dist/cdn/{YVPZWII4.js → T7SJPERD.js} +2 -2
  267. package/dist/cdn/{46JURNYN.js → TC4IPILH.js} +2 -2
  268. package/dist/cdn/{2Q72DDS2.js → TDIGFD6C.js} +2 -2
  269. package/dist/cdn/{X3VHYZC3.js → TKRPT6WQ.js} +2 -2
  270. package/dist/cdn/TMQI5A3R.js +4 -0
  271. package/dist/cdn/{BWGRSJNQ.js → TP4SNUQP.js} +2 -2
  272. package/dist/cdn/{4IGHSPBK.js → TPB6JX3S.js} +2 -2
  273. package/dist/cdn/{5FLOG7W7.js → TQGVUSFH.js} +2 -2
  274. package/dist/cdn/{MMLKRL6E.js → TUXS2NCO.js} +2 -2
  275. package/dist/cdn/{UWH3WGFG.js → U6MG2EO5.js} +2 -2
  276. package/dist/cdn/UN7DUY2J.js +4 -0
  277. package/dist/cdn/{AHIA32OB.js → URMGN2MT.js} +2 -2
  278. package/dist/cdn/{62PHV45S.js → USTS7Y2B.js} +2 -2
  279. package/dist/cdn/{K6N2G2VW.js → V33QVHAN.js} +2 -2
  280. package/dist/cdn/{C2XGVOSU.js → VATVNS23.js} +2 -2
  281. package/dist/cdn/{HC5CKQUZ.js → VBZIVVTR.js} +2 -2
  282. package/dist/cdn/{N4TNXFX3.js → VDBM24A4.js} +1 -1
  283. package/dist/cdn/{7DSGITFJ.js → VEWR234C.js} +2 -2
  284. package/dist/cdn/VKRTSWEO.js +4 -0
  285. package/dist/cdn/{RUM5UIU2.js → VMK2R6TP.js} +2 -2
  286. package/dist/cdn/{MSEA5RSN.js → VNWU5QZM.js} +2 -2
  287. package/dist/cdn/{43R4PNWS.js → VOI4XM3O.js} +2 -2
  288. package/dist/cdn/{ZRIRYEPC.js → VPQWHAFM.js} +2 -2
  289. package/dist/cdn/{OVBWSQPB.js → VU3JCPIT.js} +2 -2
  290. package/dist/cdn/VVXUJNKX.js +18 -0
  291. package/dist/cdn/{DHXEJOGV.js → VZYDRYPJ.js} +2 -2
  292. package/dist/cdn/{A5GBTJDS.js → W3DSNNVV.js} +2 -2
  293. package/dist/cdn/{23UEJMUU.js → WAAMAT4Z.js} +2 -2
  294. package/dist/cdn/{HQJZLZ22.js → WIVLALY2.js} +2 -2
  295. package/dist/cdn/{2COPLHCI.js → WKFSYBMR.js} +2 -2
  296. package/dist/cdn/{74N5D4VI.js → WLZ45JIK.js} +1 -1
  297. package/dist/cdn/{ZQM4SFHL.js → WSVTHLCV.js} +2 -2
  298. package/dist/cdn/{OST3YKCG.js → WTFTU2IV.js} +2 -2
  299. package/dist/cdn/{RW3PTRSR.js → WXGXIEY7.js} +2 -2
  300. package/dist/cdn/{ETB6HZS5.js → X3GWEKWA.js} +2 -2
  301. package/dist/cdn/{3SWRRKHX.js → X3WKODLF.js} +1 -1
  302. package/dist/cdn/{KFGNFRZU.js → XCCRCMGS.js} +1 -1
  303. package/dist/cdn/{HQRRNTDP.js → XGD7D4IX.js} +2 -2
  304. package/dist/cdn/{SQ7VODPB.js → XI45IAMP.js} +2 -2
  305. package/dist/cdn/{YXFTAWTZ.js → XJ6Y3EBV.js} +2 -2
  306. package/dist/cdn/{TLDJ4WHT.js → XKAZP7P4.js} +2 -2
  307. package/dist/cdn/{B66BJBEV.js → XL6XDS5E.js} +2 -2
  308. package/dist/cdn/{VL4TDNHC.js → XNCB5FKB.js} +2 -2
  309. package/dist/cdn/{JULVZKOB.js → XPVO2MWH.js} +2 -2
  310. package/dist/cdn/{4VYHONBO.js → XRMFFWPT.js} +1 -1
  311. package/dist/cdn/{GCV65VK6.js → XXFII5LS.js} +2 -2
  312. package/dist/cdn/{FL5WEGVV.js → XYQZZOIU.js} +2 -2
  313. package/dist/cdn/{3HOT6GWC.js → XZFBTGLW.js} +2 -2
  314. package/dist/cdn/{NE7UHJ6G.js → XZV5DNY2.js} +2 -2
  315. package/dist/cdn/{ZG7YJ3W6.js → YB5T3A6E.js} +2 -2
  316. package/dist/cdn/{BINLH5FB.js → YM4Y7SHJ.js} +2 -2
  317. package/dist/cdn/{X3Q3LFLZ.js → YMUKWPJU.js} +2 -2
  318. package/dist/cdn/{43O44SEE.js → YNEXDVCT.js} +2 -2
  319. package/dist/cdn/{ZBXBW2T3.js → YO7YXFRF.js} +1 -1
  320. package/dist/cdn/{UK4JWPJR.js → YQ64DIRH.js} +2 -2
  321. package/dist/cdn/{USCWOXYW.js → YRNSIUDG.js} +2 -2
  322. package/dist/cdn/{AHTUZXDB.js → YSAMSVEZ.js} +1 -1
  323. package/dist/cdn/YTE7KWYK.js +4 -0
  324. package/dist/cdn/{RD3REOJJ.js → YYXGVJ7I.js} +2 -2
  325. package/dist/cdn/{PGGTILGK.js → ZEQIUX6A.js} +2 -2
  326. package/dist/cdn/{ENDDED3P.js → ZFZMP4Q2.js} +2 -2
  327. package/dist/cdn/{ZXYEU3JF.js → ZG4NIPTF.js} +3 -3
  328. package/dist/cdn/{KYVZFPSB.js → ZIXYDPDT.js} +2 -2
  329. package/dist/cdn/{U5QYCUQG.js → ZK3V3MSX.js} +2 -2
  330. package/dist/cdn/{HWKHK3ZH.js → ZKHXD5R4.js} +2 -2
  331. package/dist/cdn/{Q3EVL76Y.js → ZWTCU7BC.js} +2 -2
  332. package/dist/cdn/{3Q3EVVXD.js → ZXJRHAHL.js} +2 -2
  333. package/dist/cdn/{PII5DUVH.js → ZXQKKGC3.js} +2 -2
  334. package/dist/cdn/ZYQGX4XV.js +4 -0
  335. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ar.json +1 -1
  336. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bg.json +1 -1
  337. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.bs.json +1 -1
  338. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ca.json +1 -1
  339. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.cs.json +1 -1
  340. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.da.json +1 -1
  341. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.de.json +1 -1
  342. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.el.json +1 -1
  343. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.es.json +1 -1
  344. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.et.json +1 -1
  345. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fi.json +1 -1
  346. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.fr.json +1 -1
  347. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.he.json +1 -1
  348. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hr.json +1 -1
  349. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.hu.json +1 -1
  350. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.id.json +1 -1
  351. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.it.json +1 -1
  352. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ja.json +1 -1
  353. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ko.json +1 -1
  354. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lt.json +1 -1
  355. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.lv.json +1 -1
  356. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.nl.json +1 -1
  357. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.no.json +1 -1
  358. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pl.json +1 -1
  359. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-BR.json +1 -1
  360. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.pt-PT.json +1 -1
  361. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ro.json +1 -1
  362. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.ru.json +1 -1
  363. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sk.json +1 -1
  364. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sl.json +1 -1
  365. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sr.json +1 -1
  366. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.sv.json +1 -1
  367. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.th.json +1 -1
  368. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.tr.json +1 -1
  369. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.uk.json +1 -1
  370. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.vi.json +1 -1
  371. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-CN.json +1 -1
  372. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-HK.json +1 -1
  373. package/dist/cdn/assets/arcgis-solutions-assistant/t9n/messages.zh-TW.json +1 -1
  374. package/dist/cdn/index.js +2 -2
  375. package/dist/chunks/Auth.js +40 -34
  376. package/dist/chunks/appConfig.js +1 -1
  377. package/dist/chunks/cardFetchingUtils.js +1 -1
  378. package/dist/chunks/cardsHelpers.js +1 -1
  379. package/dist/chunks/common.js +4 -4
  380. package/dist/chunks/deployAppContexts.js +1 -1
  381. package/dist/chunks/downloadUtils.js +1 -1
  382. package/dist/chunks/getItemIcon.js +1 -1
  383. package/dist/chunks/helpers.js +1 -1
  384. package/dist/chunks/interfaces.js +4 -4
  385. package/dist/chunks/mapViewUtils.js +1 -1
  386. package/dist/chunks/pciUtils.js +1 -1
  387. package/dist/chunks/popupUtils.js +1 -1
  388. package/dist/chunks/publicNotificationContext.js +1 -1
  389. package/dist/chunks/queryUtils.js +1 -1
  390. package/dist/chunks/runtime.js +1 -1
  391. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  392. package/dist/chunks/useT9n.js +1 -1
  393. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  394. package/dist/components/buffer-tools/customElement.js +1 -1
  395. package/dist/components/card-manager/customElement.js +1 -1
  396. package/dist/components/consent-manager/customElement.js +1 -1
  397. package/dist/components/create-feature/customElement.js +1 -1
  398. package/dist/components/create-related-feature/customElement.js +1 -1
  399. package/dist/components/crowdsource-manager/customElement.js +1 -1
  400. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  401. package/dist/components/deduct-calculator/customElement.js +1 -1
  402. package/dist/components/delete-button/customElement.js +1 -1
  403. package/dist/components/delete-dialog/customElement.js +1 -1
  404. package/dist/components/edit-card/customElement.js +1 -1
  405. package/dist/components/feature-details/customElement.js +1 -1
  406. package/dist/components/feature-list/customElement.js +1 -1
  407. package/dist/components/field-selection/customElement.js +1 -1
  408. package/dist/components/info-card/customElement.js +1 -1
  409. package/dist/components/layer-list/customElement.js +1 -1
  410. package/dist/components/layer-table/customElement.js +1 -1
  411. package/dist/components/map-basemap-gallery/customElement.js +1 -1
  412. package/dist/components/map-card/customElement.js +1 -1
  413. package/dist/components/map-draw-tools/customElement.js +1 -1
  414. package/dist/components/map-floor-filter/customElement.js +1 -1
  415. package/dist/components/map-fullscreen/customElement.js +1 -1
  416. package/dist/components/map-layer-picker/customElement.js +1 -1
  417. package/dist/components/map-legend/customElement.js +1 -1
  418. package/dist/components/map-picker/customElement.js +1 -1
  419. package/dist/components/map-search/customElement.js +1 -1
  420. package/dist/components/map-select-tools/customElement.js +1 -1
  421. package/dist/components/map-tools/customElement.js +1 -1
  422. package/dist/components/pci-calculator/customElement.js +1 -1
  423. package/dist/components/pdf-download/customElement.js +1 -1
  424. package/dist/components/public-notification/customElement.js +1 -1
  425. package/dist/components/refine-selection/customElement.js +1 -1
  426. package/dist/components/selection-tool/customElement.js +1 -1
  427. package/dist/components/solution-configure-titles/customElement.js +1 -1
  428. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  429. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  430. package/dist/components/solution-deployed-card/customElement.js +1 -1
  431. package/dist/components/solution-deployed-card-panel/customElement.js +1 -1
  432. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  433. package/dist/components/solution-details-card/customElement.d.ts +24 -0
  434. package/dist/components/solution-details-card/customElement.js +42 -17
  435. package/dist/components/solution-details-panel/customElement.js +65 -45
  436. package/dist/components/solution-item-accordion/customElement.js +1 -1
  437. package/dist/components/solution-item-diagram/customElement.js +1 -1
  438. package/dist/components/solution-item-icon/customElement.js +1 -1
  439. package/dist/components/solution-resource-card/customElement.js +1 -1
  440. package/dist/components/solution-snapshot-gallery/customElement.js +4 -4
  441. package/dist/components/solution-social-share/customElement.d.ts +18 -0
  442. package/dist/components/solution-social-share/customElement.js +35 -17
  443. package/dist/components/solutions-all-panel/customElement.js +1 -1
  444. package/dist/components/solutions-all-shell/customElement.js +1 -1
  445. package/dist/components/solutions-deploy-app/customElement.js +4 -4
  446. package/dist/components/solutions-deploy-app-nav/customElement.js +1 -1
  447. package/dist/components/solutions-deployed-filter-panel/customElement.js +1 -1
  448. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  449. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  450. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  451. package/dist/components/solutions-resource-panel/customElement.js +1 -1
  452. package/dist/components/solutions-resources/customElement.js +1 -1
  453. package/dist/components/solutions-resources-shell/customElement.js +1 -1
  454. package/dist/components/solutions-searchsort-toolbar/customElement.js +1 -1
  455. package/dist/docs/api.json +207 -2
  456. package/dist/docs/docs.json +156 -2
  457. package/dist/docs/vscode.html-custom-data.json +37 -1
  458. package/dist/docs/web-types.json +94 -2
  459. package/dist/index.js +1 -1
  460. package/dist/loader.js +3 -3
  461. package/dist/types/lumina.d.ts +2 -2
  462. package/dist/types/preact.d.ts +2 -2
  463. package/dist/types/preact10.d.ts +2 -2
  464. package/dist/types/react.d.ts +2 -2
  465. package/dist/types/stencil.d.ts +2 -2
  466. package/dist/utils/Auth.d.ts +1 -1
  467. package/package.json +2 -2
  468. package/dist/cdn/2JWB27IR.js +0 -18
  469. package/dist/cdn/4YZWNDET.js +0 -4
  470. package/dist/cdn/5JHLKHQ4.js +0 -4
  471. package/dist/cdn/5SP6FL2Q.js +0 -4
  472. package/dist/cdn/5T6FU7QD.js +0 -4
  473. package/dist/cdn/6PBOPGTE.js +0 -4
  474. package/dist/cdn/7TEE7O7W.js +0 -4
  475. package/dist/cdn/7WABETWM.js +0 -4
  476. package/dist/cdn/DAJCTF4F.js +0 -4
  477. package/dist/cdn/DVEXZN4R.js +0 -4
  478. package/dist/cdn/FXS53HII.js +0 -4
  479. package/dist/cdn/H4F5GWOW.js +0 -4
  480. package/dist/cdn/HGQRMOJR.js +0 -4
  481. package/dist/cdn/I3ZLOB5P.js +0 -4
  482. package/dist/cdn/I6C5P4HF.js +0 -4
  483. package/dist/cdn/ILQIEMBF.js +0 -4
  484. package/dist/cdn/K4MDVMEP.js +0 -4
  485. package/dist/cdn/MDZT52FE.js +0 -4
  486. package/dist/cdn/NTUPFLSA.js +0 -4
  487. package/dist/cdn/NZKY5FT6.js +0 -4
  488. package/dist/cdn/PLLCPDO2.js +0 -4
  489. package/dist/cdn/R3AH25QR.js +0 -18
  490. package/dist/cdn/S2BPZPPC.js +0 -18
  491. package/dist/cdn/T22U6NZK.js +0 -4
  492. package/dist/cdn/UGIWASGK.js +0 -4
  493. package/dist/cdn/VJSTD2CI.js +0 -6
  494. package/dist/cdn/WWJ2YOFL.js +0 -4
  495. package/dist/cdn/XUHWJWAF.js +0 -4
  496. package/dist/cdn/ZBUZV6PS.js +0 -9
@@ -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.55 */
4
- import{a as S}from"./KHWHX37X.js";import{b as d,c as g,i as y,j as N}from"./V4FUYMWB.js";import{a as I}from"./3SWRRKHX.js";import{a as M,e as E,f as T,g as F}from"./VWK7EBUR.js";import{a as $,b as R}from"./LMY66HBZ.js";import{d as l,e as p,f as c}from"./GZ7YFIH3.js";import{a as A}from"./2OBS46ZV.js";import{a as x}from"./GUA3TAA4.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
3
+ v1.2.0-next.57 */
4
+ import{a as S}from"./BJ5G4OZF.js";import{b as d,c as g,i as y,j as N}from"./H4CTJWTH.js";import{a as I}from"./X3WKODLF.js";import{a as M,e as E,f as T,g as F}from"./IXIKCAAL.js";import{a as $,b as R}from"./CLVUXJOQ.js";import{d as l,e as p,f as c}from"./HWAWVSSA.js";import{a as A}from"./A3XT462M.js";import{a as x}from"./6M6OVAM3.js";var G=new RegExp(/.+(?:map|feature|image)server/i);function b(t){let e=t.match(G);return e?e[0]:J(t)}function J(t){let e=t.split("?")[0];return c(e)}function xe(t){return l(c(t.url),t)}function Ue(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return e.params=Object.assign({updateDefinition:{}},e.params),e.updateDefinition&&(e.params.updateDefinition=e.updateDefinition),l(r,e)}function Re(t,e){let r=`${c(t).replace("/rest/services","/rest/admin/services")}/addToDefinition`;return e.params=Object.assign({addToDefinition:{}},e.params),e.layers&&e.layers.length>0&&(e.params.addToDefinition.layers=e.layers),e.tables&&e.tables.length>0&&(e.params.addToDefinition.tables=e.tables),l(r,e)}function Ee(t){let e=`${c(t.url)}/applyEdits`,r=p(t,["adds","updates","deletes","useGlobalIds","attachments","gdbVersion","returnEditMoment","rollbackOnFailure","trueCurveClient"],{params:Object.assign({},t.params)});return l(e,r)}function Le(t){return R(t).then(e=>{let r=Object.assign(Object.assign({},t),{rawResponse:!1}),n=`${$(t)}/content/users/${e}`,a=!r.folderId||r.folderId==="/"?"":"/"+r.folderId,o=`${n}${a}/createService`;return r.params=Object.assign({createParameters:r.item,outputType:"featureService"},r.params),l(o,r)})}function at(t){let e=p(t,["where","objectIds","relationParam","time","distance","units","outFields","geometry","geometryType","spatialRel","returnGeometry","maxAllowableOffset","geometryPrecision","inSR","outSR","gdbVersion","returnDistinctValues","returnIdsOnly","returnCountOnly","returnExtentOnly","orderByFields","groupByFieldsForStatistics","outStatistics","returnZ","returnM","multipatchOption","resultOffset","resultRecordCount","quantizationParameters","returnCentroid","resultType","historicMoment","returnTrueCurves","sqlFormat","returnExceededLimitFeatures","f"],{httpMethod:"GET",params:Object.assign({where:"1=1",outFields:"*"},t.params)});return l(`${c(t.url)}/query`,e)}function st(t){let e=p(t,["objectIds","relationshipId","definitionExpression","outFields"],{httpMethod:"GET",params:Object.assign({definitionExpression:"1=1",outFields:"*",relationshipId:0},t.params)});return l(`${c(t.url)}/queryRelatedRecords`,e)}function L(t,e,r={},n=!1){let a=e.split("."),o=t,i=a.length-1;a.forEach((s,u)=>{!o.hasOwnProperty(s)||o[s]==null?u===i?o[s]=r:o[s]={}:u===i&&(typeof o[s]=="object"&&!Array.isArray(o[s])?n?o[s]=I(r):o[s]=Object.assign(o[s],I(r)):o[s]=r),o=o[s]})}function Lt(t,e,r,n=!1){Array.isArray(t)&&(t=t.join(".")),L(r,t,e,n)}var Z=function(e,r,n,a){var o=(a[0]-n[0])*(e[1]-n[1])-(a[1]-n[1])*(e[0]-n[0]),i=(r[0]-e[0])*(e[1]-n[1])-(r[1]-e[1])*(e[0]-n[0]),s=(a[1]-n[1])*(r[0]-e[0])-(a[0]-n[0])*(r[1]-e[1]);if(s!==0){var u=o/s,f=i/s;if(u>=0&&u<=1&&f>=0&&f<=1)return!0}return!1},Q=function(e,r){for(var n=!1,a=-1,o=e.length,i=o-1;++a<o;i=a)(e[a][1]<=r[1]&&r[1]<e[i][1]||e[i][1]<=r[1]&&r[1]<e[a][1])&&r[0]<(e[i][0]-e[a][0])*(r[1]-e[a][1])/(e[i][1]-e[a][1])+e[a][0]&&(n=!n);return n},K=function(e,r){for(var n=0;n<e.length;n++)if(e[n]!==r[n])return!1;return!0},j=function(e,r){for(var n=0;n<e.length-1;n++)for(var a=0;a<r.length-1;a++)if(Z(e[n],e[n+1],r[a],r[a+1]))return!0;return!1},U=function(e){return K(e[0],e[e.length-1])||e.push(e[0]),e},D=function(e){var r=0,n=0,a=e.length,o=e[n],i;for(n;n<a-1;n++)i=e[n+1],r+=(i[0]-o[0])*(i[1]+o[1]),o=i;return r>=0},z=function(e){var r={};for(var n in e)e.hasOwnProperty(n)&&(r[n]=e[n]);return r},Y=function(e,r){var n=j(e,r),a=Q(e,r[0]);return!!(!n&&a)},X=function(e){for(var r=[],n=[],a,o,i,s=0;s<e.length;s++){var u=U(e[s].slice(0));if(!(u.length<4))if(D(u)){var f=[u.slice().reverse()];r.push(f)}else n.push(u.slice().reverse())}for(var m=[];n.length;){i=n.pop();var k=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],Y(o,i)){r[a].push(i),k=!0;break}k||m.push(i)}for(;m.length;){i=m.pop();var w=!1;for(a=r.length-1;a>=0;a--)if(o=r[a][0],j(o,i)){r[a].push(i),w=!0;break}w||r.push([i.reverse()])}return r.length===1?{type:"Polygon",coordinates:r[0]}:{type:"MultiPolygon",coordinates:r}},q=function(e,r){for(var n=r?[r,"OBJECTID","FID"]:["OBJECTID","FID"],a=0;a<n.length;a++){var o=n[a];if(o in e&&(typeof e[o]=="string"||typeof e[o]=="number"))return e[o]}throw Error("No valid id attribute found")},zt=function t(e,r){var n={};if(e.features){n.type="FeatureCollection",n.features=[];for(var a=0;a<e.features.length;a++)n.features.push(t(e.features[a],r))}if(typeof e.x=="number"&&typeof e.y=="number"&&(n.type="Point",n.coordinates=[e.x,e.y],typeof e.z=="number"&&n.coordinates.push(e.z)),e.points&&(n.type="MultiPoint",n.coordinates=e.points.slice(0)),e.paths&&(e.paths.length===1?(n.type="LineString",n.coordinates=e.paths[0].slice(0)):(n.type="MultiLineString",n.coordinates=e.paths.slice(0))),e.rings&&(n=X(e.rings.slice(0))),typeof e.xmin=="number"&&typeof e.ymin=="number"&&typeof e.xmax=="number"&&typeof e.ymax=="number"&&(n.type="Polygon",n.coordinates=[[[e.xmax,e.ymax],[e.xmin,e.ymax],[e.xmin,e.ymin],[e.xmax,e.ymin],[e.xmax,e.ymax]]]),(e.geometry||e.attributes)&&(n.type="Feature",n.geometry=e.geometry?t(e.geometry):null,n.properties=e.attributes?z(e.attributes):null,e.attributes))try{n.id=q(e.attributes,r)}catch{}return JSON.stringify(n.geometry)===JSON.stringify({})&&(n.geometry=null),e.spatialReference&&e.spatialReference.wkid&&e.spatialReference.wkid!==4326&&console.warn("Object converted in non-standard crs - "+JSON.stringify(e.spatialReference)),n},B=function(e){var r=[],n=e.slice(0),a=U(n.shift().slice(0));if(a.length>=4){D(a)||a.reverse(),r.push(a);for(var o=0;o<n.length;o++){var i=U(n[o].slice(0));i.length>=4&&(D(i)&&i.reverse(),r.push(i))}}return r},ee=function(e){for(var r=[],n=0;n<e.length;n++)for(var a=B(e[n]),o=a.length-1;o>=0;o--){var i=a[o].slice(0);r.push(i)}return r},O=function t(e,r){r=r||"OBJECTID";var n={wkid:4326},a={},o;switch(e.type){case"Point":a.x=e.coordinates[0],a.y=e.coordinates[1],e.coordinates[2]!=null&&(a.z=e.coordinates[2]),a.spatialReference=n;break;case"MultiPoint":a.points=e.coordinates.slice(0),e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"LineString":a.paths=[e.coordinates.slice(0)],e.coordinates[0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiLineString":a.paths=e.coordinates.slice(0),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Polygon":a.rings=B(e.coordinates.slice(0)),e.coordinates[0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"MultiPolygon":a.rings=ee(e.coordinates.slice(0)),e.coordinates[0][0][0][2]!=null&&(a.hasZ=!0),a.spatialReference=n;break;case"Feature":e.geometry&&(a.geometry=t(e.geometry,r)),a.attributes=e.properties?z(e.properties):{},e.id&&(a.attributes[r]=e.id);break;case"FeatureCollection":for(a=[],o=0;o<e.features.length;o++)a.push(t(e.features[o],r));break;case"GeometryCollection":for(a=[],o=0;o<e.geometries.length;o++)a.push(t(e.geometries[o],r));break}return a};function h(t,e){return t.indexOf(e)!==-1}function Ht(t){return typeof t=="string"?t.trim().toLowerCase().replace(/ +/g,"-").replace(/[^\w-]/g,"").replace(/-+/g,"-"):t}function _t(t,e,r){if(!t||!t.thumbnail)return null;let{token:n,width:a}=r||{};!n&&typeof r=="string"&&(n=r);let o=N(t,e,n),[i,s]=o.split("?"),u=new URLSearchParams(s);u.delete("f"),a&&u.append("w",a+"");let f=u.toString(),m=`${i}/info/${t.thumbnail}`;return f?`${m}?${f}`:m}var H;(function(t){t.Continual="continual",t.Daily="daily",t.Weekly="weekly",t.Fortnightly="fortnightly",t.Monthly="monthly",t.Quarterly="quarterly",t.Biannually="biannually",t.Annually="annually",t.AsNeeded="as-needed",t.Irregular="irregular",t.NotPlanned="not-planned",t.Unknown="unknown",t.Semimonthly="semimonthly"})(H||(H={}));function C(t,e=[]){return t==="Site Application"||t==="Hub Site Application"||t==="Web Mapping Application"&&e.includes("hubSite")}function Qt(t={}){let e=t.type,r=t.typeKeywords||[];return C(t.type,r)&&(e="Hub Site Application"),(t.type==="Site Page"||t.type==="Web Mapping Application"&&h(r,"hubPage"))&&(e="Hub Page"),t.type==="Hub Initiative"&&h(r,"hubInitiativeTemplate")&&(e="Hub Initiative Template"),t.type==="Web Mapping Application"&&h(r,"hubSolutionTemplate")&&(e="Solution"),e}var v={devext:"dev",qaext:"qa",production:""};var te=t=>E(t)?Object.assign(Object.assign({},M(t)),{type:"extent"}):void 0,cr=t=>{let{properties:e,extent:r}=t,n=e?.location;if(n)return n;if(e?.boundary==="none")return{type:"none"};let a=te(r);if(a)return{type:C(t.type)?"org":"custom",extent:r,geometries:[a],spatialReference:a.spatialReference};try{let o=F(r),i={wkid:4326},s=Object.assign(Object.assign({type:"polygon"},O(r)),{spatialReference:T(o)?i:oe(t)||i});return{type:"custom",extent:o,geometries:[s],spatialReference:s.spatialReference}}catch{return{type:"none"}}};var ur=(t,e,r)=>{let n=ne(t,e,r)||ae(t,e,r),a=A(t);if(!n){let i=["app","dataset","document","map","template","project","initiative","discussion","event"],s="/content";a==="feedback"?s=e?"/feedback/surveys":"":re(t,r)?s="/pages":i.indexOf(a)>-1&&(s=`/${a}s`),n=e?`${s}/${e}`:`${s}`}return!e&&!["initiative","project"].includes(a)&&(n=""),n},re=(t,e=[])=>["Hub Page","Site Page"].includes(t)||e.includes("hubPage"),ne=(t,e,r)=>{let n;return t==="Solution"?r?.indexOf("Deployed")>-1?n=`/content/${e}/about`:n=`/templates/${e}/about`:t==="Web Mapping Application"&&r?.indexOf("hubSolutionTemplate")>-1&&(n=`/templates/${e}/about`),n},ae=(t,e,r)=>{if(t==="Hub Initiative"&&r?.indexOf("hubInitiativeTemplate")>-1||t==="Hub Initiative Template")return`/initiatives/templates/${e}/about`};var W;(function(t){t.Year="year",t.Month="month",t.Day="day",t.Time="time"})(W||(W={}));var oe=t=>{let e=t.spatialReference;if(!e||typeof e=="object")return e;let r=e+"",n=parseInt(r,10);return isNaN(n)?null:{wkid:n}},pr=(t,e,r)=>{let n=ie(e);return n&&n.map(a=>({name:a.orName,url:se(a,t,r),isDataSource:V(a,t)}))},ie=t=>{let e=[];return P(x(t,"metadata.distInfo")||[]).forEach(r=>{P(r.distTranOps||[]).forEach(n=>{P(n.onLineSrc||[]).forEach(a=>{e.push(a)})})}),e.length?e:null},P=t=>Array.isArray(t)?t:[t],V=(t,e)=>{let r=e.url&&b(e.url);return r&&t.linkage&&t.linkage.includes(r)},se=(t,e,r)=>{let n=t.linkage,a=x(r,"authentication.token");if(a&&V(t,e)){let o=new URL(t.linkage),i=new URLSearchParams(o.search);i.set("token",a),o.search=i.toString(),n=o.toString()}return n};var dr=(t,e)=>{let r;switch(le(t)){case"Dashboard":r=pe(t,e);break;case"Insights Workbook":r=me(t,e);break;case"Experience":r=ue(t,e);break;case"Web AppBuilder":r=de(t,e);break;case"Form":r=fe(t,e);break;case"StoryMap":r=ce(t,e);break;case"Urban Model":r=ge(t,e);break;default:r=y(t.id,e)}return r},le=t=>{let e=t.typeKeywords||[],r=t.type;return t.type==="StoryMap"||t.type==="Web Mapping Application"&&e.includes("Story Map")?r="StoryMap":t.type==="Insights Page"?r="Insights Page":t.type==="Insights Workbook"?r="Insights Workbook":t.type&&t.type.includes("Insights")?r="Insights":t.type==="Web Experience"||t.type==="Web Mapping Experience"&&e.includes("EXB Experience")?r="Experience":e.includes("Web AppBuilder")&&(r="Web AppBuilder"),r},ce=(t,e)=>{let r={devext:"storymapsdev",qaext:"storymapsqa",production:"storymaps"},n=d(e),a=g(n);return`${`https://${r[a]}.arcgis.com`}/stories/${t.id}/edit`},ue=(t,e)=>{let r=d(e),n=g(r);return`${`https://experience${v[n]}.arcgis.com`}/builder/?id=${t.id}`},pe=(t,e)=>{let r=d(e),n=`${r}/apps/opsdashboard/index.html#/${t.id}?mode=edit`;return t.typeKeywords&&t.typeKeywords.includes("ArcGIS Dashboards")&&(n=`${r}/apps/dashboards/${t.id}#mode=edit`),n},de=(t,e)=>`${d(e)}/apps/webappbuilder/index.html?id=${t.id}`,fe=(t,e)=>{let r=d(e),n=g(r),a=`https://survey123${v[n]}.arcgis.com`,o;return t.typeKeywords.includes("Survey123 Connect")?o=y(t.id,r):o=`${a}/surveys/${t.id}/design?portalUrl=${r}`,o},me=(t,e)=>{let r=d(e),n=g(r),a=`https://insights${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/#/edit/${t.id}`},ge=(t,e)=>{let r=d(e),n=g(r),a=`https://urban${v[n]}.arcgis.com`,o=y(t.id,r);return _(r)?o:`${a}/?id=${t.id}`},_=t=>t.indexOf("arcgis.com")===-1;function fr(t,e){return`${ye(e)}/api/download/v1/items/${t}/schedule?token=${e.authentication.token}`}function ye(t){return S(t).replace(/\/api\/v3$/,"")}var mr=async(t,e)=>{let n=`${S(e)}/api/v3/jobs/item/${t}/forceUpdate`,a={method:"POST",headers:{"content-type":"application/json",authorization:e.authentication.token}};return(await fetch(n,a)).ok};export{Re as a,Ee as b,Le as c,b as d,xe as e,at as f,st as g,Ue as h,L as i,Lt as j,h as k,Ht as l,_t as m,zt as n,cr as o,ur as p,pr as q,dr as r,fr as s,mr as t,Qt as u};
@@ -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.55 */
3
+ v1.2.0-next.57 */
4
4
  var t={medium:[769,992]};export{t 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.55 */
4
- import e from"./FYBLR6NE.js";import{a as P}from"./2Y66DQKC.js";import c from"./W63EMNR3.js";import"./SK2JQXKX.js";import"./G3J5HHEC.js";import b from"./RK6EJCH2.js";import a from"./YXFTAWTZ.js";import{a as L}from"./IU4BBE5H.js";import"./S7ZUZQ3R.js";import"./NEKCBVCK.js";import"./H6EJTHOJ.js";import"./X3VHYZC3.js";import"./XZQAAG2U.js";import"./JULVZKOB.js";import"./KHWHX37X.js";import"./WBGHGWZF.js";import"./XQIUKGT7.js";import"./V4FUYMWB.js";import"./EB7Q57RX.js";import"./3SWRRKHX.js";import"./NVVAJRLJ.js";import"./VWK7EBUR.js";import"./43O44SEE.js";import"./LMY66HBZ.js";import"./GZ7YFIH3.js";import"./2OBS46ZV.js";import"./ZERSA3ZP.js";import"./GUA3TAA4.js";import"./KUJ5QVUF.js";import{a as k}from"./XRESNE77.js";import"./WWJ2YOFL.js";import"./6N3GIPWI.js";import{b as $,c as x}from"./TLG5D3FT.js";import{D as d,E as p,F as v,H as h,h as m,i as n,l as g,p as y,q as S,s as w}from"./VJSTD2CI.js";import"./KFGNFRZU.js";export default $arcgis.t(([O,{g:l,i:c,j:r},{g:E,j:T},{a:C,d:I}])=>{var V=m`@layer{/** @license
3
+ v1.2.0-next.57 */
4
+ import e from"./HMAEKDP7.js";import{a as P}from"./QLHBYUEI.js";import c from"./FVGON5YK.js";import"./S7BSU373.js";import"./6H4O3DWG.js";import b from"./FN2YPD3P.js";import a from"./XJ6Y3EBV.js";import{a as L}from"./2W3ETYCA.js";import"./GE2O6XGK.js";import"./63WWBL3G.js";import"./CNM2ZTS6.js";import"./TKRPT6WQ.js";import"./CZPZA5H5.js";import"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./6BKJZUXA.js";import"./M5VHVBDS.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import"./X3WKODLF.js";import"./MCVIHE4V.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{a as k}from"./P72QLQYD.js";import"./RRMSL5OC.js";import"./QSLYPFRO.js";import{b as $,c as x}from"./J65A6HMK.js";import{E as d,F as p,G as v,I as h,h as m,i as n,l as g,q as y,r as S,t as w}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([O,{g:l,i:c,j:r},{g:E,j:T},{a:C,d:I}])=>{var V=m`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.55 */
4
- import e from"./RK6EJCH2.js";import b from"./YXFTAWTZ.js";import"./IU4BBE5H.js";import{b as m}from"./S7ZUZQ3R.js";import"./NEKCBVCK.js";import"./H6EJTHOJ.js";import"./X3VHYZC3.js";import"./XZQAAG2U.js";import"./JULVZKOB.js";import"./KHWHX37X.js";import"./WBGHGWZF.js";import"./XQIUKGT7.js";import"./V4FUYMWB.js";import"./EB7Q57RX.js";import"./3SWRRKHX.js";import"./NVVAJRLJ.js";import"./VWK7EBUR.js";import"./43O44SEE.js";import"./LMY66HBZ.js";import"./GZ7YFIH3.js";import"./2OBS46ZV.js";import"./ZERSA3ZP.js";import"./GUA3TAA4.js";import"./KUJ5QVUF.js";import{a as u}from"./XRESNE77.js";import"./WWJ2YOFL.js";import"./6N3GIPWI.js";import{b as p}from"./TLG5D3FT.js";import{D as c,E as h,F as d,h as n,i,p as a,s as l}from"./VJSTD2CI.js";import"./KFGNFRZU.js";export default $arcgis.t(([,{d:b}])=>{var f=n`@layer{/** @license
3
+ v1.2.0-next.57 */
4
+ import e from"./FN2YPD3P.js";import b from"./XJ6Y3EBV.js";import"./2W3ETYCA.js";import{b as m}from"./GE2O6XGK.js";import"./63WWBL3G.js";import"./CNM2ZTS6.js";import"./TKRPT6WQ.js";import"./CZPZA5H5.js";import"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./6BKJZUXA.js";import"./M5VHVBDS.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import"./X3WKODLF.js";import"./MCVIHE4V.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{a as u}from"./P72QLQYD.js";import"./RRMSL5OC.js";import"./QSLYPFRO.js";import{b as p}from"./J65A6HMK.js";import{E as c,F as h,G as d,h as n,i,q as a,t as l}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([,{d:b}])=>{var f=n`@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.55 */
4
- import{b as r}from"./56GPBXUB.js";import{F as i,h as a,i as p}from"./VJSTD2CI.js";import"./KFGNFRZU.js";export default $arcgis.t(([l])=>{var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,e)=>{let n=o.content;o.isExpand&&(n=this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}_getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,c=t?.expanded??!1;return new l({content:e,view:o,expanded:c,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);return s},"widgets/Expand")
3
+ v1.2.0-next.57 */
4
+ import{b as r}from"./KPTNDAVM.js";import{G as i,h as a,i as p}from"./IJNDAHUI.js";import"./XCCRCMGS.js";export default $arcgis.t(([l])=>{var d=a`:host{display:block}`,m="floating",h="instant-apps-control-panel",x="border-bottom: 1px solid var(--calcite-color-border-3)",s=class extends i{constructor(){super(...arguments),this.components=[]}static{this.properties={components:0,view:0}}static{this.styles=d}async load(){await this._handleComponents()}async _handleComponents(){let t=this._getComponentsNode();t&&(this._resetUI(t),this._attachComponents(t))}_attachComponents(t){this.components.forEach(this._attachmentComponent(t))}_attachmentComponent(t){return(o,e)=>{let n=o.content;o.isExpand&&(n=this._getExpand(o),o.expandIcon&&(n.expandIcon=o.expandIcon),o.collapseTooltip&&(n.collapseTooltip=o.collapseTooltip),o.expandTooltip&&(n.expandTooltip=o.expandTooltip)),n.container||(n.container=document.createElement("div")),t?.appendChild(n.container),e!==this.components.length-1&&(n.container.style=x)}}_getExpand(t){let{view:o}=this,{content:e,focusTrapDisabled:n}=t,c=t?.expanded??!1;return new l({content:e,view:o,expanded:c,mode:m,group:h,focusTrapDisabled:!!n})}_getComponentsNode(){return this.el.querySelector('[slot="components"]')}_resetUI(t){if(t.children.length>0)for(;t.firstChild;)t.removeChild(t.firstChild)}render(){return p`<slot name=components></slot>`}};r("instant-apps-control-panel",s);return s},"widgets/Expand")
@@ -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.55 */
4
- import{d as s}from"./43O44SEE.js";import"./ZERSA3ZP.js";import"./GUA3TAA4.js";import"./KUJ5QVUF.js";import"./KFGNFRZU.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a as buildUiSchema};
3
+ v1.2.0-next.57 */
4
+ import{d as s}from"./YNEXDVCT.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import"./XCCRCMGS.js";var a=async(e,r,l)=>({type:"Layout",elements:[{type:"Section",elements:[{labelKey:`${e}.fields.groupAccess.label`,scope:"/properties/_associations/properties/groupAccess",type:"Control",options:{control:"hub-field-input-tile-select",layout:"horizontal",helperText:{labelKey:`${e}.fields.groupAccess.helperText`},labels:[`{{${e}.fields.groupAccess.private.label:translate}}`,`{{${e}.fields.groupAccess.org.label:translate}}`,`{{${e}.fields.groupAccess.public.label:translate}}`],descriptions:[`{{${e}.fields.groupAccess.private.description:translate}}`,`{{${e}.fields.groupAccess.org.description:translate}}`,`{{${e}.fields.groupAccess.public.description:translate}}`],icons:["users","organization","globe"],styles:{"max-width":"45rem"}}},{labelKey:`${e}.fields.membershipAccess.label`,scope:"/properties/_associations/properties/membershipAccess",type:"Control",options:{control:"hub-field-input-radio",labels:[`{{${e}.fields.membershipAccess.org:translate}}`,`{{${e}.fields.membershipAccess.collab:translate}}`,`{{${e}.fields.membershipAccess.any:translate}}`],disabled:[!1,!s("platform:portal:user:addExternalMembersToGroup",l).access,!s("platform:portal:user:addExternalMembersToGroup",l).access]}}]}]});export{a 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.55 */
4
- import"./KFGNFRZU.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
3
+ v1.2.0-next.57 */
4
+ import"./XCCRCMGS.js";var e=()=>({properties:{allowRegistration:{type:"boolean",enum:[!0,!1],default:!0},notifyAttendees:{type:"boolean",enum:[!0,!1],default:!0}}});export{e as buildSchema};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.2/esri/copyright.txt for details.
3
- v1.2.0-next.55 */
4
- import{a as e}from"./VL4TDNHC.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r as b};
3
+ v1.2.0-next.57 */
4
+ import{a as e}from"./XNCB5FKB.js";var i=["hub:template:edit"],r=Object.assign(Object.assign({},e),{properties:Object.assign(Object.assign({},e.properties),{previewUrl:{type:"string",if:{minLength:1},then:{format:"url"}}})});export{i as a,r 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.55 */
4
- import{a as G}from"./X3VHYZC3.js";import{a as L}from"./3CXFJMLM.js";import{c as K,d as _,e as U}from"./PBPHPTUW.js";import"./LB5SPU3X.js";import{l as j,p as P}from"./JULVZKOB.js";import"./KHWHX37X.js";import"./4TEN6JII.js";import"./V4FUYMWB.js";import"./EB7Q57RX.js";import{a as S}from"./3SWRRKHX.js";import"./NVVAJRLJ.js";import"./TGA3WQGH.js";import"./VWK7EBUR.js";import"./43O44SEE.js";import{v as w}from"./LMY66HBZ.js";import"./GZ7YFIH3.js";import"./2OBS46ZV.js";import"./ZERSA3ZP.js";import"./GUA3TAA4.js";import"./KUJ5QVUF.js";import{b as A}from"./2ADAHUB2.js";import{a as c,b as p}from"./M5OTWM7Q.js";import"./KFGNFRZU.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
3
+ v1.2.0-next.57 */
4
+ import{a as G}from"./TKRPT6WQ.js";import{a as L}from"./IEQDJIPL.js";import{c as K,d as _,e as U}from"./25P7ICZT.js";import"./4VRSH6TE.js";import{l as j,p as P}from"./XPVO2MWH.js";import"./BJ5G4OZF.js";import"./Q4CBXIUP.js";import"./H4CTJWTH.js";import"./RIT3TZFO.js";import{a as S}from"./X3WKODLF.js";import"./MCVIHE4V.js";import"./QF5GF5AZ.js";import"./IXIKCAAL.js";import"./YNEXDVCT.js";import{v as w}from"./CLVUXJOQ.js";import"./HWAWVSSA.js";import"./A3XT462M.js";import"./OKEU3MBX.js";import"./6M6OVAM3.js";import"./37E5NJJO.js";import{b as A}from"./GFUC7GPF.js";import{a as c,b as p}from"./KSOBOYUB.js";import"./XCCRCMGS.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};