@esri/hub-web-components 0.37.2 → 0.38.0

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 (1148) hide show
  1. package/dist/cdn/236HAGEK.js +2 -0
  2. package/dist/cdn/24WHEGS7.js +2 -0
  3. package/dist/cdn/25LZMJQW.js +2 -0
  4. package/dist/cdn/2BWJP4KH.js +2 -0
  5. package/dist/cdn/2DUPJPOK.js +2 -0
  6. package/dist/cdn/2EE4427F.js +2 -0
  7. package/dist/cdn/2EQH4CNE.js +2 -0
  8. package/dist/cdn/2EW2MAGT.js +2 -0
  9. package/dist/cdn/2H3NL2VR.js +2 -0
  10. package/dist/cdn/2ILIJZDY.js +2 -0
  11. package/dist/cdn/2JB3S3J4.js +2 -0
  12. package/dist/cdn/2LVSW3ED.js +2 -0
  13. package/dist/cdn/2OWGC2HG.js +2 -0
  14. package/dist/cdn/2RDZQFBD.js +2 -0
  15. package/dist/cdn/2TXGBFPG.js +2 -0
  16. package/dist/cdn/2WDM2VJM.js +2 -0
  17. package/dist/cdn/2WECGEBX.js +2 -0
  18. package/dist/cdn/2ZIJNDHQ.js +2 -0
  19. package/dist/cdn/2ZXVJSBO.js +2 -0
  20. package/dist/cdn/32UA342W.js +2 -0
  21. package/dist/cdn/32XX3F4E.js +2 -0
  22. package/dist/cdn/3BR5KKQ7.js +2 -0
  23. package/dist/cdn/3CHF3GEJ.js +2 -0
  24. package/dist/cdn/3CY6I4EO.js +2 -0
  25. package/dist/cdn/3FJHYATI.js +2 -0
  26. package/dist/cdn/3GDGENCS.js +2 -0
  27. package/dist/cdn/3GKXMAXM.js +2 -0
  28. package/dist/cdn/3HVIG2SK.js +2 -0
  29. package/dist/cdn/3JKXA4Q3.js +2 -0
  30. package/dist/cdn/3JODVSTM.js +2 -0
  31. package/dist/cdn/3KHULCZO.js +2 -0
  32. package/dist/cdn/3LBQDCLR.js +2 -0
  33. package/dist/cdn/3M5VO5CS.js +2 -0
  34. package/dist/cdn/3OVLI4PU.js +9 -0
  35. package/dist/cdn/3OWO3OYZ.js +2 -0
  36. package/dist/cdn/3PZNRYMF.js +2 -0
  37. package/dist/cdn/3QTUUB7M.js +2 -0
  38. package/dist/cdn/3UW2TBEZ.js +2 -0
  39. package/dist/cdn/3UXE5BF3.js +2 -0
  40. package/dist/cdn/3VUHOWXT.js +2 -0
  41. package/dist/cdn/3WXL3KU4.js +2 -0
  42. package/dist/cdn/3XPQULRS.js +2 -0
  43. package/dist/cdn/45CLNG4V.js +2 -0
  44. package/dist/cdn/45V63GZB.js +2 -0
  45. package/dist/cdn/45Z5LSII.js +2 -0
  46. package/dist/cdn/46JROUMF.js +2 -0
  47. package/dist/cdn/4D3KDOGU.js +2 -0
  48. package/dist/cdn/4E7UX35B.js +2 -0
  49. package/dist/cdn/4GF4O5CD.js +2 -0
  50. package/dist/cdn/4KOILCWX.js +2 -0
  51. package/dist/cdn/4LSDKVY5.js +2 -0
  52. package/dist/cdn/4MK7XIAZ.js +2 -0
  53. package/dist/cdn/4QLO26TU.js +2 -0
  54. package/dist/cdn/4RF57BXA.js +2 -0
  55. package/dist/cdn/4RW76P4G.js +3 -0
  56. package/dist/cdn/4WFBSXCD.js +2 -0
  57. package/dist/cdn/4YKJQWLZ.js +2 -0
  58. package/dist/cdn/52EXRWO7.js +2 -0
  59. package/dist/cdn/546UMMXC.js +4 -0
  60. package/dist/cdn/564WTIUK.js +2 -0
  61. package/dist/cdn/5AQLELE7.js +2 -0
  62. package/dist/cdn/5AY5O6NA.js +2 -0
  63. package/dist/cdn/5BFO4SMC.js +23 -0
  64. package/dist/cdn/5BNQ7WYV.js +2 -0
  65. package/dist/cdn/5BSBS5SB.js +2 -0
  66. package/dist/cdn/5DW6FQAN.js +2 -0
  67. package/dist/cdn/5IE6W375.js +2 -0
  68. package/dist/cdn/5KW2QPZC.js +2 -0
  69. package/dist/cdn/5MLRZJVF.js +2 -0
  70. package/dist/cdn/5PCBOJUL.js +2 -0
  71. package/dist/cdn/5PGWPW32.js +2 -0
  72. package/dist/cdn/5PWUXR6C.js +2 -0
  73. package/dist/cdn/5T2V664O.js +2 -0
  74. package/dist/cdn/5VOM4C4C.js +2 -0
  75. package/dist/cdn/5XEIW7CT.js +2 -0
  76. package/dist/cdn/634MHX5H.js +2 -0
  77. package/dist/cdn/63S2PXLQ.js +2 -0
  78. package/dist/cdn/677XOGDW.js +2 -0
  79. package/dist/cdn/6ANGFMIE.js +2 -0
  80. package/dist/cdn/6CHWESL2.js +2 -0
  81. package/dist/cdn/6EVJFJHR.js +2 -0
  82. package/dist/cdn/6GKOYJ5G.js +2 -0
  83. package/dist/cdn/6HR5VJ5Z.js +2 -0
  84. package/dist/cdn/6PGSCXG5.js +3 -0
  85. package/dist/cdn/6PP6S4SR.js +2 -0
  86. package/dist/cdn/6PXXMBGG.js +101 -0
  87. package/dist/cdn/6QTH3TK4.js +2 -0
  88. package/dist/cdn/6SBBIF36.js +2 -0
  89. package/dist/cdn/6UI543V2.js +2 -0
  90. package/dist/cdn/6WWLOLK2.js +2 -0
  91. package/dist/cdn/72JEALD6.js +2 -0
  92. package/dist/cdn/73VGDY64.js +2 -0
  93. package/dist/cdn/76PBLDOW.js +2 -0
  94. package/dist/cdn/76VGL2OG.js +2 -0
  95. package/dist/cdn/77X4MPIK.js +2 -0
  96. package/dist/cdn/7ASFWI7S.js +2 -0
  97. package/dist/cdn/7G2NGRSE.js +2 -0
  98. package/dist/cdn/7GI2O7DN.js +2 -0
  99. package/dist/cdn/7IGM7SZV.js +2 -0
  100. package/dist/cdn/7J23Y6UZ.js +2 -0
  101. package/dist/cdn/7JJRW4NC.js +2 -0
  102. package/dist/cdn/7LZEINS7.js +2 -0
  103. package/dist/cdn/7M6WAN4F.js +2 -0
  104. package/dist/cdn/7NHQNVMM.js +2 -0
  105. package/dist/cdn/7OKY7BOU.js +2 -0
  106. package/dist/cdn/7QXOPKDR.js +2 -0
  107. package/dist/cdn/7YFSWA6Y.js +2 -0
  108. package/dist/cdn/7ZNOM7XH.js +2 -0
  109. package/dist/cdn/A5ALDCCE.js +2 -0
  110. package/dist/cdn/A5DE26HL.js +5468 -0
  111. package/dist/cdn/A6MK5ZPP.js +2 -0
  112. package/dist/cdn/A7UTEGFQ.js +2 -0
  113. package/dist/cdn/ACFPNLIK.js +2 -0
  114. package/dist/cdn/ADYIOWEG.js +2 -0
  115. package/dist/cdn/AH23WNQW.js +2 -0
  116. package/dist/cdn/AHSJJDVA.js +2 -0
  117. package/dist/cdn/AJHFVXHK.js +2 -0
  118. package/dist/cdn/AJR3J6MJ.js +2 -0
  119. package/dist/cdn/AMGCL5N6.js +2 -0
  120. package/dist/cdn/AOJJIJRH.js +2 -0
  121. package/dist/cdn/AOSFOFZC.js +2 -0
  122. package/dist/cdn/AS6M5YBE.js +2 -0
  123. package/dist/cdn/AT75BQVI.js +2 -0
  124. package/dist/cdn/B4SFNUJX.js +2 -0
  125. package/dist/cdn/B7A7RSZ4.js +2 -0
  126. package/dist/cdn/B7XZZQM4.js +2 -0
  127. package/dist/cdn/BDCNWDSM.js +2 -0
  128. package/dist/cdn/BE4JSUS6.js +2 -0
  129. package/dist/cdn/BGUBTLON.js +2 -0
  130. package/dist/cdn/BIAMJNHV.js +2 -0
  131. package/dist/cdn/BK6XX2AU.js +2 -0
  132. package/dist/cdn/BMPXQTR3.js +2 -0
  133. package/dist/cdn/BN2OLK73.js +2 -0
  134. package/dist/cdn/BNGN57J7.js +2 -0
  135. package/dist/cdn/BOV2P5AR.js +2 -0
  136. package/dist/cdn/BOXLFPBZ.js +2 -0
  137. package/dist/cdn/BREHLWWL.js +2 -0
  138. package/dist/cdn/BRRV3DOR.js +22 -0
  139. package/dist/cdn/BRTJWWHS.js +2 -0
  140. package/dist/cdn/BTELCOY5.js +2 -0
  141. package/dist/cdn/BWE2I5AG.js +2 -0
  142. package/dist/cdn/BWUAY2LE.js +2 -0
  143. package/dist/cdn/BZAKLMBW.js +2 -0
  144. package/dist/cdn/C5YJ666N.js +2 -0
  145. package/dist/cdn/C67HM5IZ.js +2 -0
  146. package/dist/cdn/C6J22WJW.js +2 -0
  147. package/dist/cdn/CDLDZD7A.js +57 -0
  148. package/dist/cdn/CFPF74RM.js +2 -0
  149. package/dist/cdn/CGY4TVMV.js +2 -0
  150. package/dist/cdn/CHENEYUV.js +2 -0
  151. package/dist/cdn/CL6SOVSI.js +2 -0
  152. package/dist/cdn/CSGFPAKT.js +2 -0
  153. package/dist/cdn/CSWPB3OX.js +2 -0
  154. package/dist/cdn/CSYFGNUQ.js +2 -0
  155. package/dist/cdn/CU5WQBOB.js +2 -0
  156. package/dist/cdn/CWFJZAPU.js +2 -0
  157. package/dist/cdn/CWYD5K4S.js +2 -0
  158. package/dist/cdn/CXTLB2JC.js +2 -0
  159. package/dist/cdn/D2FW5KKG.js +2 -0
  160. package/dist/cdn/D2PJNXW6.js +2 -0
  161. package/dist/cdn/D3BILNAQ.js +2 -0
  162. package/dist/cdn/D3R4UBO6.js +2 -0
  163. package/dist/cdn/D55X5MXF.js +2 -0
  164. package/dist/cdn/DAVFVKTV.js +2 -0
  165. package/dist/cdn/DAX4IQBA.js +2 -0
  166. package/dist/cdn/DB7GEQTR.js +2 -0
  167. package/dist/cdn/DBRFT7B4.js +2 -0
  168. package/dist/cdn/DBXBA6HT.js +2 -0
  169. package/dist/cdn/DCDDWF2I.js +2 -0
  170. package/dist/cdn/DDJLRFBZ.js +2 -0
  171. package/dist/cdn/DDQO772J.js +2 -0
  172. package/dist/cdn/DEDRO7EB.js +2 -0
  173. package/dist/cdn/DF7ABV7W.js +2 -0
  174. package/dist/cdn/DFJJV4QP.js +2 -0
  175. package/dist/cdn/DHG3VO5E.js +2 -0
  176. package/dist/cdn/DN2VD27M.js +2 -0
  177. package/dist/cdn/DQTK57GS.js +2 -0
  178. package/dist/cdn/DR5DLTDD.js +2 -0
  179. package/dist/cdn/DUUDWZXE.js +2 -0
  180. package/dist/cdn/DUXSX52F.js +49 -0
  181. package/dist/cdn/DVL64T57.js +2 -0
  182. package/dist/cdn/DXTZVNWA.js +3 -0
  183. package/dist/cdn/DZN62VYN.js +2 -0
  184. package/dist/cdn/DZYZIET6.js +2 -0
  185. package/dist/cdn/E4CJ5ZNU.js +2 -0
  186. package/dist/cdn/E7JK3E34.js +2 -0
  187. package/dist/cdn/EAHWXQSY.js +2 -0
  188. package/dist/cdn/EBGADEP4.js +2 -0
  189. package/dist/cdn/ECVIS6PA.js +2 -0
  190. package/dist/cdn/EDJVOECM.js +2 -0
  191. package/dist/cdn/EH5WKZDX.js +2 -0
  192. package/dist/cdn/EIJD2PFU.js +2 -0
  193. package/dist/cdn/EJKK6I5R.js +2 -0
  194. package/dist/cdn/EKJB7MLI.js +2 -0
  195. package/dist/cdn/ENWVIHLH.js +2 -0
  196. package/dist/cdn/EP5J4JOX.js +2 -0
  197. package/dist/cdn/EPA7NLL3.js +2 -0
  198. package/dist/cdn/EPITUUL4.js +2 -0
  199. package/dist/cdn/EQZAUOXD.js +2 -0
  200. package/dist/cdn/ETNEKEKW.js +2 -0
  201. package/dist/cdn/EVEBEV3F.js +2 -0
  202. package/dist/cdn/EWAU66TF.js +2 -0
  203. package/dist/cdn/EXQCLQJD.js +2 -0
  204. package/dist/cdn/F3QYJUVR.js +2 -0
  205. package/dist/cdn/F4W62LF6.js +2 -0
  206. package/dist/cdn/F5MRLCKP.js +2 -0
  207. package/dist/cdn/F67HAQPI.js +2 -0
  208. package/dist/cdn/FCWCW2DB.js +2 -0
  209. package/dist/cdn/FELT6CWD.js +2 -0
  210. package/dist/cdn/FGXWNIN4.js +4 -0
  211. package/dist/cdn/FII3RW6D.js +10 -0
  212. package/dist/cdn/FLLYEIGM.js +2 -0
  213. package/dist/cdn/FNKBHO4M.js +2 -0
  214. package/dist/cdn/FO7JXNJA.js +2 -0
  215. package/dist/cdn/FONOHWD4.js +2 -0
  216. package/dist/cdn/FQ67NRY3.js +2 -0
  217. package/dist/cdn/FQTSRTTQ.js +2 -0
  218. package/dist/cdn/FR67HD5Q.js +2 -0
  219. package/dist/cdn/FUJECPFL.js +2 -0
  220. package/dist/cdn/G2VRBYFE.js +2 -0
  221. package/dist/cdn/G2VZF3XU.js +2 -0
  222. package/dist/cdn/G5LBL73C.js +2 -0
  223. package/dist/cdn/G6H6YQAR.js +2 -0
  224. package/dist/cdn/GFRFAB56.js +2 -0
  225. package/dist/cdn/GHNVBIZM.js +2 -0
  226. package/dist/cdn/GMWP6LCV.js +2 -0
  227. package/dist/cdn/GQCVJRFN.js +2 -0
  228. package/dist/cdn/GQEOGWRS.js +2 -0
  229. package/dist/cdn/GQJNXTQT.js +2 -0
  230. package/dist/cdn/GUVU7ZKH.js +2 -0
  231. package/dist/cdn/GWE7MB6R.js +2 -0
  232. package/dist/cdn/GXN2DYTV.js +2 -0
  233. package/dist/cdn/GY557TE4.js +2 -0
  234. package/dist/cdn/H22LIWN5.js +2 -0
  235. package/dist/cdn/H2OV5BRE.js +2 -0
  236. package/dist/cdn/H4KV7MLW.js +2 -0
  237. package/dist/cdn/H6RS3MWN.js +2 -0
  238. package/dist/cdn/HAVGOHEF.js +2 -0
  239. package/dist/cdn/HFGNOB7X.js +2 -0
  240. package/dist/cdn/HFO5EQR7.js +2 -0
  241. package/dist/cdn/HHG5BEOE.js +2 -0
  242. package/dist/cdn/HKZINVVZ.js +2 -0
  243. package/dist/cdn/HM3XWGWB.js +2 -0
  244. package/dist/cdn/HS5U6SAB.js +2 -0
  245. package/dist/cdn/HT6X7J7I.js +2 -0
  246. package/dist/cdn/HUBM7ZHQ.js +2 -0
  247. package/dist/cdn/HWJYICV2.js +2 -0
  248. package/dist/cdn/HX2ANNLW.js +2 -0
  249. package/dist/cdn/HXAEGJHA.js +2 -0
  250. package/dist/cdn/HZZPNHJD.js +2 -0
  251. package/dist/cdn/HZZT4ENK.js +39 -0
  252. package/dist/cdn/I6NM57PS.js +2 -0
  253. package/dist/cdn/IEFGEXRM.js +2 -0
  254. package/dist/cdn/IIVZDUOO.js +2 -0
  255. package/dist/cdn/ILA26VYV.js +2 -0
  256. package/dist/cdn/INL22W2K.js +2 -0
  257. package/dist/cdn/IPB6I32R.js +2 -0
  258. package/dist/cdn/IQKUMB36.js +2 -0
  259. package/dist/cdn/IRDXKWHN.js +2 -0
  260. package/dist/cdn/IRK5TOIL.js +2 -0
  261. package/dist/cdn/ISFIYPYM.js +50 -0
  262. package/dist/cdn/ISKLXQSB.js +2 -0
  263. package/dist/cdn/IT7YVVDI.js +2 -0
  264. package/dist/cdn/ITUDVJWT.js +2 -0
  265. package/dist/cdn/J3IYBH53.js +2 -0
  266. package/dist/cdn/J43Y4A2N.js +2 -0
  267. package/dist/cdn/J5GHLLAB.js +2 -0
  268. package/dist/cdn/JAM7T5PB.js +4 -0
  269. package/dist/cdn/JBSROA2H.js +2 -0
  270. package/dist/cdn/JC6ZBDVV.js +2 -0
  271. package/dist/cdn/JDLEH54P.js +2 -0
  272. package/dist/cdn/JH4TZ3IY.js +2 -0
  273. package/dist/cdn/JKGOCFVC.js +2 -0
  274. package/dist/cdn/JKK5LJAI.js +2 -0
  275. package/dist/cdn/JMUGY3OJ.js +2 -0
  276. package/dist/cdn/JN6YHOUS.js +2 -0
  277. package/dist/cdn/JNSS6JH3.js +2 -0
  278. package/dist/cdn/JOX32ZKP.js +2 -0
  279. package/dist/cdn/JR6CWQ3R.js +2 -0
  280. package/dist/cdn/JSSFWJCY.js +2 -0
  281. package/dist/cdn/JUIATBR3.js +2 -0
  282. package/dist/cdn/JUNOFH56.js +2 -0
  283. package/dist/cdn/JXP5MO3J.js +2 -0
  284. package/dist/cdn/JYIVT4P3.js +2 -0
  285. package/dist/cdn/JYREZGPA.js +2 -0
  286. package/dist/cdn/K2D5G22Z.js +2 -0
  287. package/dist/cdn/K5HZ2G74.js +2 -0
  288. package/dist/cdn/K6AMDRTV.js +2 -0
  289. package/dist/cdn/K6CWANHE.js +2 -0
  290. package/dist/cdn/K7BNQOOW.js +2 -0
  291. package/dist/cdn/KBNCRVPP.js +2 -0
  292. package/dist/cdn/KGGAN2FF.js +2 -0
  293. package/dist/cdn/KLMBAQIW.js +2 -0
  294. package/dist/cdn/KNLJ2Y2L.js +2 -0
  295. package/dist/cdn/KQHNHQIC.js +6 -0
  296. package/dist/cdn/KRXEHAAE.js +2 -0
  297. package/dist/cdn/KTRB3474.js +2 -0
  298. package/dist/cdn/KUUU37O7.js +2 -0
  299. package/dist/cdn/KWAQZHYD.js +2 -0
  300. package/dist/cdn/KYWSYVJC.js +2 -0
  301. package/dist/cdn/L2PPM2B2.js +2 -0
  302. package/dist/cdn/L3E7MHJD.js +2 -0
  303. package/dist/cdn/L4JCSXPA.js +2 -0
  304. package/dist/cdn/L5EFE534.js +2 -0
  305. package/dist/cdn/L6JOUO4R.js +2 -0
  306. package/dist/cdn/L6KTWLZO.js +2 -0
  307. package/dist/cdn/LAGV6T2P.js +2 -0
  308. package/dist/cdn/LAPB4R6P.js +2 -0
  309. package/dist/cdn/LLPWCLVS.js +2 -0
  310. package/dist/cdn/LN5YCGL5.js +2 -0
  311. package/dist/cdn/LNSWRA2E.js +2 -0
  312. package/dist/cdn/LQLM5UFO.js +2 -0
  313. package/dist/cdn/LRLKKT6E.js +2 -0
  314. package/dist/cdn/LST2TEQ7.js +2 -0
  315. package/dist/cdn/LT5EGN2B.js +2 -0
  316. package/dist/cdn/LV543PTH.js +2 -0
  317. package/dist/cdn/LZC3KVDN.js +2 -0
  318. package/dist/cdn/M6WEQLC4.js +2 -0
  319. package/dist/cdn/M7PXGKUN.js +2 -0
  320. package/dist/cdn/MA4PQFDN.js +2 -0
  321. package/dist/cdn/MDGTCFT7.js +2 -0
  322. package/dist/cdn/MIV7EHSX.js +2 -0
  323. package/dist/cdn/MK64YJZT.js +2 -0
  324. package/dist/cdn/MKFRUSCH.js +2 -0
  325. package/dist/cdn/MKK63VCT.js +2 -0
  326. package/dist/cdn/MLZ3XGVR.js +2 -0
  327. package/dist/cdn/MOFQMUCX.js +2 -0
  328. package/dist/cdn/MPUNYAO6.js +2 -0
  329. package/dist/cdn/MS7HEOST.js +2 -0
  330. package/dist/cdn/MSDIL3V2.js +2 -0
  331. package/dist/cdn/MUNTT3ZX.js +2 -0
  332. package/dist/cdn/MX2LFKDN.js +2 -0
  333. package/dist/cdn/MZPEHZQ6.js +2 -0
  334. package/dist/cdn/MZTSQFVF.js +2 -0
  335. package/dist/cdn/N5GAHY3Z.js +2 -0
  336. package/dist/cdn/N5Q4VONY.js +2 -0
  337. package/dist/cdn/N6YCTEBM.js +2 -0
  338. package/dist/cdn/NA26EC7V.js +2 -0
  339. package/dist/cdn/NEIM3TBD.js +2 -0
  340. package/dist/cdn/NGHDJBY5.js +2 -0
  341. package/dist/cdn/NHJYS2PI.js +2 -0
  342. package/dist/cdn/NIAU4VO5.js +2 -0
  343. package/dist/cdn/NIJNUESB.js +2 -0
  344. package/dist/cdn/NK3ILYT4.js +2 -0
  345. package/dist/cdn/NKTEP5PG.js +2 -0
  346. package/dist/cdn/NMDYCBFW.js +2 -0
  347. package/dist/cdn/NQU3EFLX.js +2 -0
  348. package/dist/cdn/NZKEUWJO.js +2 -0
  349. package/dist/cdn/O24TJJIA.js +2 -0
  350. package/dist/cdn/OB5VPFBQ.js +2 -0
  351. package/dist/cdn/OCROULRG.js +2 -0
  352. package/dist/cdn/ODWK4PGO.js +2 -0
  353. package/dist/cdn/OEYT6KBR.js +2 -0
  354. package/dist/cdn/OGW276HU.js +2 -0
  355. package/dist/cdn/OHDLPBUL.js +2 -0
  356. package/dist/cdn/OKPRBA73.js +2 -0
  357. package/dist/cdn/OLIXHQ45.js +2 -0
  358. package/dist/cdn/OM6RXTNE.js +2 -0
  359. package/dist/cdn/OMUDX3KZ.js +2 -0
  360. package/dist/cdn/ONB5KTQJ.js +2 -0
  361. package/dist/cdn/OODAGA7S.js +2 -0
  362. package/dist/cdn/OQ2B5D7H.js +2 -0
  363. package/dist/cdn/OT6SCCRW.js +2 -0
  364. package/dist/cdn/OU5H6LGW.js +2 -0
  365. package/dist/cdn/OY4XFH6U.js +2 -0
  366. package/dist/cdn/P2RUPXUY.js +2 -0
  367. package/dist/cdn/P6CKD2GP.js +2 -0
  368. package/dist/cdn/PBJKVPW5.js +2 -0
  369. package/dist/cdn/PE2YQIC4.js +2 -0
  370. package/dist/cdn/PG7E7354.js +2 -0
  371. package/dist/cdn/PIFGTBYR.js +2 -0
  372. package/dist/cdn/PJNURHKH.js +2 -0
  373. package/dist/cdn/PPTPAJVV.js +2 -0
  374. package/dist/cdn/PR4YIRMU.js +2 -0
  375. package/dist/cdn/PRO345O5.js +2 -0
  376. package/dist/cdn/PTRRO6WN.js +2 -0
  377. package/dist/cdn/PUUASAJ2.js +2 -0
  378. package/dist/cdn/PUUPBPMV.js +2 -0
  379. package/dist/cdn/PVBRAWDN.js +2 -0
  380. package/dist/cdn/PVJYYXFI.js +2 -0
  381. package/dist/cdn/PX2LKSL6.js +2 -0
  382. package/dist/cdn/Q26WYPCD.js +2 -0
  383. package/dist/cdn/Q4DVCEF3.js +2 -0
  384. package/dist/cdn/Q67H57WZ.js +2 -0
  385. package/dist/cdn/Q6BO676X.js +2 -0
  386. package/dist/cdn/Q6PGP3ZV.js +2 -0
  387. package/dist/cdn/Q7LIRPNK.js +2 -0
  388. package/dist/cdn/QBXTRM4A.js +2 -0
  389. package/dist/cdn/QFB257DG.js +2 -0
  390. package/dist/cdn/QHE543NP.js +2 -0
  391. package/dist/cdn/QLBQIWYL.js +2 -0
  392. package/dist/cdn/QLXCZ3NE.js +2 -0
  393. package/dist/cdn/QN2SIA7O.js +2 -0
  394. package/dist/cdn/QN6BOKR7.js +2 -0
  395. package/dist/cdn/QNV4N454.js +2 -0
  396. package/dist/cdn/QO2PWUWM.js +2 -0
  397. package/dist/cdn/QQLO6W5R.js +2 -0
  398. package/dist/cdn/QQNCKFBK.js +2 -0
  399. package/dist/cdn/QREJXP7C.js +2 -0
  400. package/dist/cdn/QRPVQBFD.js +2 -0
  401. package/dist/cdn/QUDAZ77Y.js +2 -0
  402. package/dist/cdn/QUEMC3AN.js +2 -0
  403. package/dist/cdn/QYJYDEZE.js +2 -0
  404. package/dist/cdn/QYPLXIBB.js +2 -0
  405. package/dist/cdn/QYQIPUGM.js +2 -0
  406. package/dist/cdn/R3GQKIJ5.js +2 -0
  407. package/dist/cdn/R7C6MNQH.js +2 -0
  408. package/dist/cdn/RBGNUTQK.js +2 -0
  409. package/dist/cdn/RC5E7RLU.js +2 -0
  410. package/dist/cdn/RCP7UO3I.js +2 -0
  411. package/dist/cdn/REWZLA3K.js +2 -0
  412. package/dist/cdn/RGXVBRFC.js +2 -0
  413. package/dist/cdn/RN7HGMZW.js +6 -0
  414. package/dist/cdn/RQIJVACD.js +2 -0
  415. package/dist/cdn/RUVOYVVB.js +2 -0
  416. package/dist/cdn/RXEDODJY.js +2 -0
  417. package/dist/cdn/RY3BOHEX.js +2 -0
  418. package/dist/cdn/S4F4TUDC.js +2 -0
  419. package/dist/cdn/S5UG2OK3.js +2 -0
  420. package/dist/cdn/S652H4VN.js +2 -0
  421. package/dist/cdn/SADDC2DK.js +2 -0
  422. package/dist/cdn/SDQL72GW.js +2 -0
  423. package/dist/cdn/SEJFEDAL.js +2 -0
  424. package/dist/cdn/SERXR2LG.js +2 -0
  425. package/dist/cdn/SEXTYSOH.js +2 -0
  426. package/dist/cdn/SR3XA2A2.js +3 -0
  427. package/dist/cdn/SRE3UGET.js +2 -0
  428. package/dist/cdn/SRMTUU32.js +2 -0
  429. package/dist/cdn/SSUMP2NE.js +2 -0
  430. package/dist/cdn/ST3YYA5D.js +2 -0
  431. package/dist/cdn/SVRAUC4L.js +2 -0
  432. package/dist/cdn/SWVXW2PZ.js +2 -0
  433. package/dist/cdn/T64QL6SH.js +2 -0
  434. package/dist/cdn/T74ADXHD.js +2 -0
  435. package/dist/cdn/T7QPSQ6X.js +2 -0
  436. package/dist/cdn/TE3YDUFZ.js +2 -0
  437. package/dist/cdn/TEMTRFHO.js +2 -0
  438. package/dist/cdn/TH2B62CH.js +2 -0
  439. package/dist/cdn/TIXP2JWX.js +2 -0
  440. package/dist/cdn/TJH2CAQN.js +2 -0
  441. package/dist/cdn/TJNCJLFE.js +2 -0
  442. package/dist/cdn/TOY6PXDP.js +2 -0
  443. package/dist/cdn/TRW2D3YU.js +2 -0
  444. package/dist/cdn/TTL4NSLD.js +2 -0
  445. package/dist/cdn/TVV2X45U.js +2 -0
  446. package/dist/cdn/TVX5SDUH.js +2 -0
  447. package/dist/cdn/TWWDY4C3.js +2 -0
  448. package/dist/cdn/TZXHHOXC.js +10 -0
  449. package/dist/cdn/U5GGWHZO.js +2 -0
  450. package/dist/cdn/U5V2PMFO.js +2 -0
  451. package/dist/cdn/U7DDSGRI.js +2 -0
  452. package/dist/cdn/UDP7EENP.js +2 -0
  453. package/dist/cdn/UHJI2POJ.js +2 -0
  454. package/dist/cdn/UHMRHQSA.js +2 -0
  455. package/dist/cdn/UJLWEMLF.js +2 -0
  456. package/dist/cdn/ULND2AHT.js +3 -0
  457. package/dist/cdn/UMTI4ASY.js +2 -0
  458. package/dist/cdn/UOFMXXCF.js +2 -0
  459. package/dist/cdn/UPJ5YFB3.js +2 -0
  460. package/dist/cdn/UPQGR6XZ.js +2 -0
  461. package/dist/cdn/UQFU44VU.js +2 -0
  462. package/dist/cdn/USNKSSNY.js +2 -0
  463. package/dist/cdn/UTYIY6RX.js +2 -0
  464. package/dist/cdn/UUBB3CRW.js +2 -0
  465. package/dist/cdn/UVZ42TD3.js +2 -0
  466. package/dist/cdn/UWIAJV2I.js +2 -0
  467. package/dist/cdn/UWUNHI7L.js +2 -0
  468. package/dist/cdn/UXXI3SQO.js +2 -0
  469. package/dist/cdn/UZV5ZDGJ.js +2 -0
  470. package/dist/cdn/V2I47N23.js +2 -0
  471. package/dist/cdn/V6NN26QF.js +2 -0
  472. package/dist/cdn/V7NGWJV5.js +2 -0
  473. package/dist/cdn/VJKJWIVW.js +2 -0
  474. package/dist/cdn/VNEAUDVI.js +2 -0
  475. package/dist/cdn/VQOZUBFA.js +2 -0
  476. package/dist/cdn/VQXRDNZT.js +2 -0
  477. package/dist/cdn/VTCPJ62B.js +2 -0
  478. package/dist/cdn/VTQYNCAR.js +2 -0
  479. package/dist/cdn/VURQPTCW.js +2 -0
  480. package/dist/cdn/VVLYSGUR.js +2 -0
  481. package/dist/cdn/VWAVVQJJ.js +2 -0
  482. package/dist/cdn/VXTU6DWN.js +2 -0
  483. package/dist/cdn/W5EQWPZT.js +2 -0
  484. package/dist/cdn/W6CIIV4Z.js +2 -0
  485. package/dist/cdn/W6YU4GHY.js +2 -0
  486. package/dist/cdn/W75PS2IE.js +2 -0
  487. package/dist/cdn/WBSLYVPQ.js +2 -0
  488. package/dist/cdn/WCDWD2B6.js +2 -0
  489. package/dist/cdn/WE2BDIRX.js +7 -0
  490. package/dist/cdn/WIS2JCU5.js +2 -0
  491. package/dist/cdn/WJFSSYRR.js +2 -0
  492. package/dist/cdn/WJVYYTL2.js +2 -0
  493. package/dist/cdn/WMNYXLEQ.js +2 -0
  494. package/dist/cdn/WNHQOQRJ.js +2 -0
  495. package/dist/cdn/WOGIQMDO.js +2 -0
  496. package/dist/cdn/WOPCBDZP.js +2 -0
  497. package/dist/cdn/WPYXFHC7.js +2 -0
  498. package/dist/cdn/WU3HBTHL.js +2 -0
  499. package/dist/cdn/WUEDA64M.js +2 -0
  500. package/dist/cdn/WUNRRAKS.js +2 -0
  501. package/dist/cdn/WUZQBPV4.js +2 -0
  502. package/dist/cdn/X3WMLB6V.js +2 -0
  503. package/dist/cdn/X5G7VGWH.js +2 -0
  504. package/dist/cdn/X65V22WZ.js +2 -0
  505. package/dist/cdn/XAYV7IBF.js +2 -0
  506. package/dist/cdn/XCFQMY4U.js +2 -0
  507. package/dist/cdn/XEYOWJGY.js +14 -0
  508. package/dist/cdn/XFCHMSR7.js +2 -0
  509. package/dist/cdn/XI6X55QD.js +2 -0
  510. package/dist/cdn/XKBY6EJC.js +2 -0
  511. package/dist/cdn/XLHG5W2O.js +2 -0
  512. package/dist/cdn/XRGUZJA3.js +2 -0
  513. package/dist/cdn/XWSO2EDX.js +2 -0
  514. package/dist/cdn/Y2JIY5K6.js +2 -0
  515. package/dist/cdn/Y3GRFUW3.js +2 -0
  516. package/dist/cdn/Y6Q6ENTP.js +2 -0
  517. package/dist/cdn/Y6Y62AIY.js +2 -0
  518. package/dist/cdn/YAJEJUPD.js +2 -0
  519. package/dist/cdn/YDJH3ZVL.js +2 -0
  520. package/dist/cdn/YEIHJDUB.js +2 -0
  521. package/dist/cdn/YHDGXQY6.js +2 -0
  522. package/dist/cdn/YIM7DW7Q.js +2 -0
  523. package/dist/cdn/YL3CSDPR.js +2 -0
  524. package/dist/cdn/YMACXVV6.js +2 -0
  525. package/dist/cdn/YMTAIN3S.js +2 -0
  526. package/dist/cdn/YO2Z7OX4.js +2 -0
  527. package/dist/cdn/YPCQEKG3.js +2 -0
  528. package/dist/cdn/YS3WYU6Q.js +2 -0
  529. package/dist/cdn/YSXFXSDF.js +2 -0
  530. package/dist/cdn/YUMQIDHT.js +2 -0
  531. package/dist/cdn/YWYHMMVI.js +2 -0
  532. package/dist/cdn/YZ6PJ4WA.js +2 -0
  533. package/dist/cdn/YZGO6EXJ.js +2 -0
  534. package/dist/cdn/Z7DMCQET.js +2 -0
  535. package/dist/cdn/Z7XRFVR2.js +2 -0
  536. package/dist/cdn/ZAXWIIVO.js +2 -0
  537. package/dist/cdn/ZCZVGMIV.js +2 -0
  538. package/dist/cdn/ZDKCRMXL.js +2 -0
  539. package/dist/cdn/ZHGSLQOD.js +2 -0
  540. package/dist/cdn/ZLIWQVLB.js +2 -0
  541. package/dist/cdn/ZMRTK5JK.js +2 -0
  542. package/dist/cdn/ZN44BYAC.js +2 -0
  543. package/dist/cdn/ZNBJRJBQ.js +2 -0
  544. package/dist/cdn/ZOHGPFJY.js +2 -0
  545. package/dist/cdn/ZSGSUGWJ.js +2 -0
  546. package/dist/cdn/ZV3N2SYE.js +2 -0
  547. package/dist/cdn/ZVJUBUUM.js +2 -0
  548. package/dist/cdn/ZZBJZPDW.js +2 -0
  549. package/dist/cdn/ZZRKDSLS.js +2 -0
  550. package/dist/cdn/index.js +2 -2
  551. package/dist/chunks/findColumnAndNodeIndex.js +1 -1
  552. package/dist/chunks/getResponsiveClasses.js +1 -1
  553. package/dist/chunks/interpolate-translations.js +1 -1
  554. package/dist/chunks/isNodeVisible.js +1 -1
  555. package/dist/chunks/layoutContext.js +1 -1
  556. package/dist/chunks/migrateTextCard.js +1 -1
  557. package/dist/chunks/processLayout.js +1 -1
  558. package/dist/chunks/runtime.js +2 -2
  559. package/dist/chunks/state.js +1 -1
  560. package/dist/chunks/typeGuards.js +1 -1
  561. package/dist/chunks/useGlobalContext.js +1 -1
  562. package/dist/chunks/useT9n.js +1 -1
  563. package/dist/chunks/util.js +1 -1
  564. package/dist/components/arcgis-chat-shell/customElement.js +1 -1
  565. package/dist/components/arcgis-chat-ui/customElement.js +1 -1
  566. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +1 -1
  567. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +1 -1
  568. package/dist/components/arcgis-hub-ai-assistant/customElement.js +1 -1
  569. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +1 -1
  570. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +1 -1
  571. package/dist/components/arcgis-hub-entity-status-card/customElement.js +1 -1
  572. package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +4 -10
  573. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +684 -665
  574. package/dist/components/arcgis-layout/customElement.js +1 -1
  575. package/dist/components/arcgis-layout-column/customElement.js +1 -1
  576. package/dist/components/arcgis-layout-container/customElement.d.ts +3 -3
  577. package/dist/components/arcgis-layout-container/customElement.js +275 -258
  578. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +14 -14
  579. package/dist/components/arcgis-layout-node-controls/customElement.js +28 -28
  580. package/dist/components/arcgis-layout-node-editor/customElement.js +1 -1
  581. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +1 -1
  582. package/dist/components/arcgis-layout-node-wrapper/customElement.js +32 -32
  583. package/dist/components/arcgis-layout-row/customElement.js +1 -1
  584. package/dist/components/arcgis-layout-section/customElement.js +1 -1
  585. package/dist/components/arcgis-nav-card/customElement.js +1 -1
  586. package/dist/components/arcgis-text-card/customElement.js +1 -1
  587. package/dist/components/layouts/components/layout-node/customElement.js +1 -1
  588. package/dist/docs/api.json +1 -1
  589. package/dist/docs/docs.json +1 -1
  590. package/dist/docs/vscode.html-custom-data.json +1 -1
  591. package/dist/docs/web-types.json +1 -1
  592. package/dist/embed-config.js +1 -1
  593. package/dist/index.js +1 -1
  594. package/dist/loader.js +2 -2
  595. package/dist/types/lumina.d.ts +1 -1
  596. package/dist/types/preact.d.ts +1 -1
  597. package/dist/types/react.d.ts +1 -1
  598. package/dist/types/stencil.d.ts +1 -1
  599. package/package.json +55 -54
  600. package/dist/cdn/24SIYWED.js +0 -2
  601. package/dist/cdn/25TYOHZS.js +0 -2
  602. package/dist/cdn/26WZVQ5A.js +0 -2
  603. package/dist/cdn/2B273BBV.js +0 -2
  604. package/dist/cdn/2B6D4MGZ.js +0 -2
  605. package/dist/cdn/2C25X57H.js +0 -2
  606. package/dist/cdn/2DD3P2GE.js +0 -2
  607. package/dist/cdn/2DPSKE3B.js +0 -2
  608. package/dist/cdn/2GV5ZJVP.js +0 -2
  609. package/dist/cdn/2GWRW6YG.js +0 -2
  610. package/dist/cdn/2KUCG2EL.js +0 -2
  611. package/dist/cdn/2NJPYBHN.js +0 -2
  612. package/dist/cdn/2PUMWMNI.js +0 -2
  613. package/dist/cdn/2SYN4GLC.js +0 -2
  614. package/dist/cdn/2TYW7KEN.js +0 -2
  615. package/dist/cdn/2W2UGJLH.js +0 -2
  616. package/dist/cdn/2WQEISGF.js +0 -2
  617. package/dist/cdn/2YBIU2GX.js +0 -2
  618. package/dist/cdn/377TGY4P.js +0 -2
  619. package/dist/cdn/37IO4VH2.js +0 -2
  620. package/dist/cdn/3BJZIUVK.js +0 -2
  621. package/dist/cdn/3C4D6M7U.js +0 -2
  622. package/dist/cdn/3CQWO3Y4.js +0 -2
  623. package/dist/cdn/3J67YE6G.js +0 -2
  624. package/dist/cdn/3LB3CYSI.js +0 -2
  625. package/dist/cdn/3MGFA2AN.js +0 -2
  626. package/dist/cdn/3PBVJ3CK.js +0 -2
  627. package/dist/cdn/3SHBZF4M.js +0 -2
  628. package/dist/cdn/3WN3ZWUP.js +0 -2
  629. package/dist/cdn/3ZHXUPIY.js +0 -2
  630. package/dist/cdn/3ZMBKQ2H.js +0 -2
  631. package/dist/cdn/425VBETO.js +0 -2
  632. package/dist/cdn/42CWBYSM.js +0 -2
  633. package/dist/cdn/42NTJTRV.js +0 -2
  634. package/dist/cdn/44KVKET3.js +0 -2
  635. package/dist/cdn/46NFE3O2.js +0 -2
  636. package/dist/cdn/47ZOSUE6.js +0 -2
  637. package/dist/cdn/4BGLQILZ.js +0 -2
  638. package/dist/cdn/4BRNZPNW.js +0 -2
  639. package/dist/cdn/4DPYGRIJ.js +0 -2
  640. package/dist/cdn/4EWTHNEV.js +0 -2
  641. package/dist/cdn/4KSDWTJW.js +0 -2
  642. package/dist/cdn/4PQFUUUG.js +0 -2
  643. package/dist/cdn/4QDRXQMV.js +0 -2
  644. package/dist/cdn/4QEFMWHF.js +0 -2
  645. package/dist/cdn/4ST5ERWK.js +0 -2
  646. package/dist/cdn/4ZRQCNU2.js +0 -2
  647. package/dist/cdn/53V23CCM.js +0 -2
  648. package/dist/cdn/56OZPWMC.js +0 -2
  649. package/dist/cdn/5E5J7S54.js +0 -49
  650. package/dist/cdn/5FBDGDSL.js +0 -2
  651. package/dist/cdn/5GNQYAFV.js +0 -2
  652. package/dist/cdn/5H44EM56.js +0 -2
  653. package/dist/cdn/5IANXD5L.js +0 -2
  654. package/dist/cdn/5IZIKW4H.js +0 -2
  655. package/dist/cdn/5J32RGDU.js +0 -2
  656. package/dist/cdn/5KNXEVQR.js +0 -2
  657. package/dist/cdn/5LEP3IWV.js +0 -2
  658. package/dist/cdn/5LJT6UGG.js +0 -2
  659. package/dist/cdn/5NJXZL7F.js +0 -2
  660. package/dist/cdn/5NZ5IS7D.js +0 -2
  661. package/dist/cdn/5ORZPL23.js +0 -2
  662. package/dist/cdn/5TU3W6P3.js +0 -2
  663. package/dist/cdn/5V53QYYF.js +0 -2
  664. package/dist/cdn/635V3Q2N.js +0 -2
  665. package/dist/cdn/65DPLBLL.js +0 -2
  666. package/dist/cdn/66HUEQL5.js +0 -2
  667. package/dist/cdn/6762DBBI.js +0 -2
  668. package/dist/cdn/6F3NCMF3.js +0 -2
  669. package/dist/cdn/6FPKPREN.js +0 -2
  670. package/dist/cdn/6GJMQB5A.js +0 -2
  671. package/dist/cdn/6IRHI22W.js +0 -9
  672. package/dist/cdn/6LDEVQEO.js +0 -2
  673. package/dist/cdn/6LZU7UCO.js +0 -2
  674. package/dist/cdn/6M5DP7YF.js +0 -2
  675. package/dist/cdn/6P7RNVD7.js +0 -2
  676. package/dist/cdn/6R5V3EGL.js +0 -2
  677. package/dist/cdn/6SPPONRY.js +0 -2
  678. package/dist/cdn/6SSTOHH4.js +0 -2
  679. package/dist/cdn/6TZEJNM7.js +0 -2
  680. package/dist/cdn/6VA6IJMP.js +0 -2
  681. package/dist/cdn/6VE4Q3FO.js +0 -2
  682. package/dist/cdn/6WUAXFQV.js +0 -2
  683. package/dist/cdn/6YRKIUVP.js +0 -2
  684. package/dist/cdn/72R6GI5S.js +0 -2
  685. package/dist/cdn/733IZVMO.js +0 -3
  686. package/dist/cdn/74ZD6Q4N.js +0 -2
  687. package/dist/cdn/75EIUMLW.js +0 -2
  688. package/dist/cdn/77R2C3NY.js +0 -2
  689. package/dist/cdn/7CZUONP3.js +0 -2
  690. package/dist/cdn/7GTUV67W.js +0 -2
  691. package/dist/cdn/7J2N6ILF.js +0 -2
  692. package/dist/cdn/7JWWAXIQ.js +0 -2
  693. package/dist/cdn/7LNSUWQP.js +0 -2
  694. package/dist/cdn/7MGY3JJQ.js +0 -2
  695. package/dist/cdn/7SELLYRO.js +0 -2
  696. package/dist/cdn/7SOJDYGK.js +0 -2
  697. package/dist/cdn/7UDDAIEI.js +0 -2
  698. package/dist/cdn/A36IL72A.js +0 -2
  699. package/dist/cdn/A6FB2POK.js +0 -2
  700. package/dist/cdn/ACG7WDUT.js +0 -2
  701. package/dist/cdn/AE6NCYFW.js +0 -2
  702. package/dist/cdn/AEPE3IDB.js +0 -2
  703. package/dist/cdn/AG22T6F4.js +0 -2
  704. package/dist/cdn/AHZOMFUT.js +0 -2
  705. package/dist/cdn/AJKLRRS4.js +0 -2
  706. package/dist/cdn/AJOXWMDO.js +0 -2
  707. package/dist/cdn/AKTKIQXI.js +0 -2
  708. package/dist/cdn/AL7OLCOX.js +0 -2
  709. package/dist/cdn/ALUW2GDJ.js +0 -2
  710. package/dist/cdn/AM4QVJ44.js +0 -2
  711. package/dist/cdn/AOSKEGOL.js +0 -2
  712. package/dist/cdn/ARGXJJIR.js +0 -2
  713. package/dist/cdn/AUG7ESKO.js +0 -2
  714. package/dist/cdn/AYFB34A7.js +0 -2
  715. package/dist/cdn/AYK4IBDR.js +0 -2
  716. package/dist/cdn/AZ3MRUIU.js +0 -2
  717. package/dist/cdn/AZKQPOHN.js +0 -2
  718. package/dist/cdn/B5FN4TVW.js +0 -2
  719. package/dist/cdn/B6CP7FIT.js +0 -2
  720. package/dist/cdn/B7DFSP27.js +0 -2
  721. package/dist/cdn/BASDWRBA.js +0 -2
  722. package/dist/cdn/BCAWS3NJ.js +0 -2
  723. package/dist/cdn/BFNODBIF.js +0 -2
  724. package/dist/cdn/BHYFMWFH.js +0 -10
  725. package/dist/cdn/BMRPHSYL.js +0 -2
  726. package/dist/cdn/BPSQ3CGL.js +0 -2
  727. package/dist/cdn/BU6RNCBS.js +0 -2
  728. package/dist/cdn/BZKD5DHH.js +0 -2
  729. package/dist/cdn/C27C7ZCS.js +0 -101
  730. package/dist/cdn/C3RZCB5I.js +0 -2
  731. package/dist/cdn/CBIG4EMI.js +0 -2
  732. package/dist/cdn/CCX2K4AC.js +0 -2
  733. package/dist/cdn/CCXXOCUE.js +0 -2
  734. package/dist/cdn/CD6LKEQL.js +0 -2
  735. package/dist/cdn/CD736SN3.js +0 -2
  736. package/dist/cdn/CH532URJ.js +0 -2
  737. package/dist/cdn/CHXKFI5R.js +0 -2
  738. package/dist/cdn/CNZGOCEQ.js +0 -2
  739. package/dist/cdn/CP5CMZPK.js +0 -2
  740. package/dist/cdn/CQ5TAYO5.js +0 -2
  741. package/dist/cdn/CU2TSBCT.js +0 -2
  742. package/dist/cdn/CWML23HX.js +0 -2
  743. package/dist/cdn/CXKNNQK7.js +0 -2
  744. package/dist/cdn/D2RDQCR6.js +0 -2
  745. package/dist/cdn/D4NLBWYJ.js +0 -2
  746. package/dist/cdn/D4XKOLDN.js +0 -2
  747. package/dist/cdn/DAN7ZYNO.js +0 -2
  748. package/dist/cdn/DBFWM3C6.js +0 -2
  749. package/dist/cdn/DCLYV35L.js +0 -2
  750. package/dist/cdn/DCXY72PD.js +0 -2
  751. package/dist/cdn/DD6UFQOQ.js +0 -2
  752. package/dist/cdn/DELUZ744.js +0 -2
  753. package/dist/cdn/DEVEFEZB.js +0 -2
  754. package/dist/cdn/DFSIBYHN.js +0 -2
  755. package/dist/cdn/DH2QF3YA.js +0 -2
  756. package/dist/cdn/DIAOUTLA.js +0 -2
  757. package/dist/cdn/DIQDWGSW.js +0 -2
  758. package/dist/cdn/DJ3H7LZE.js +0 -2
  759. package/dist/cdn/DKMYTCOT.js +0 -2
  760. package/dist/cdn/DLGNRZAS.js +0 -2
  761. package/dist/cdn/DMWDEJZX.js +0 -2
  762. package/dist/cdn/DOER2ALA.js +0 -2
  763. package/dist/cdn/DOOSTAKT.js +0 -2
  764. package/dist/cdn/DPDYPCY7.js +0 -2
  765. package/dist/cdn/DSFT4TPF.js +0 -2
  766. package/dist/cdn/DSULDCNU.js +0 -2
  767. package/dist/cdn/DSUO5O7O.js +0 -2
  768. package/dist/cdn/DYGPQ2O2.js +0 -2
  769. package/dist/cdn/DZCEYSVA.js +0 -2
  770. package/dist/cdn/DZSQQ3ZC.js +0 -2
  771. package/dist/cdn/E2O5UVKQ.js +0 -2
  772. package/dist/cdn/E2RL5I2B.js +0 -2
  773. package/dist/cdn/E2TALV72.js +0 -2
  774. package/dist/cdn/E6QW4CZ3.js +0 -3
  775. package/dist/cdn/E7RQDZEF.js +0 -2
  776. package/dist/cdn/EIMMNTTE.js +0 -2
  777. package/dist/cdn/EOF2UXV6.js +0 -2
  778. package/dist/cdn/EONYH67A.js +0 -2
  779. package/dist/cdn/EOUHIRVU.js +0 -2
  780. package/dist/cdn/ERN7BZFG.js +0 -2
  781. package/dist/cdn/ETC47ZTE.js +0 -2
  782. package/dist/cdn/ETZTDOJJ.js +0 -2
  783. package/dist/cdn/EXVLM3LY.js +0 -2
  784. package/dist/cdn/F4PVRAMX.js +0 -2
  785. package/dist/cdn/F56NG6UR.js +0 -2
  786. package/dist/cdn/FCTOGFDS.js +0 -7
  787. package/dist/cdn/FDDXGLRF.js +0 -2
  788. package/dist/cdn/FFNG2BKG.js +0 -2
  789. package/dist/cdn/FJLYCKFY.js +0 -2
  790. package/dist/cdn/FKDTJXGG.js +0 -2
  791. package/dist/cdn/FLC2JTMP.js +0 -2
  792. package/dist/cdn/FM3HYPTZ.js +0 -2
  793. package/dist/cdn/FMBEHWFY.js +0 -2
  794. package/dist/cdn/FMSRANRD.js +0 -2
  795. package/dist/cdn/FOYZAUE2.js +0 -2
  796. package/dist/cdn/FPFWOG6D.js +0 -2
  797. package/dist/cdn/FQQX35FA.js +0 -2
  798. package/dist/cdn/FS2LVAOJ.js +0 -2
  799. package/dist/cdn/FY3KPATI.js +0 -2
  800. package/dist/cdn/FZ7ZK37I.js +0 -2
  801. package/dist/cdn/FZCPWCBD.js +0 -2
  802. package/dist/cdn/FZNKGW4A.js +0 -2
  803. package/dist/cdn/G22UXAIP.js +0 -2
  804. package/dist/cdn/G3DW5HI6.js +0 -2
  805. package/dist/cdn/G4YSKUJY.js +0 -2
  806. package/dist/cdn/GEQLOXC6.js +0 -2
  807. package/dist/cdn/GEUS66D2.js +0 -2
  808. package/dist/cdn/GI572WEZ.js +0 -2
  809. package/dist/cdn/GJINUBO7.js +0 -2
  810. package/dist/cdn/GJIZO3BY.js +0 -2
  811. package/dist/cdn/GJRBKC6D.js +0 -2
  812. package/dist/cdn/GL6QTMXS.js +0 -2
  813. package/dist/cdn/GLK5OMGB.js +0 -2
  814. package/dist/cdn/GMWTEYRI.js +0 -2
  815. package/dist/cdn/GQUZD452.js +0 -2
  816. package/dist/cdn/GRUKKSRF.js +0 -2
  817. package/dist/cdn/GS3XIBLN.js +0 -2
  818. package/dist/cdn/GSGLH4CM.js +0 -2
  819. package/dist/cdn/GTMYGR72.js +0 -2
  820. package/dist/cdn/GVF26EON.js +0 -2
  821. package/dist/cdn/GVWJBDZW.js +0 -2
  822. package/dist/cdn/GZOH7TH2.js +0 -2
  823. package/dist/cdn/H2EOGBZS.js +0 -2
  824. package/dist/cdn/H2V2RZ6M.js +0 -2
  825. package/dist/cdn/H3CSIYXV.js +0 -2
  826. package/dist/cdn/H5FX7Z53.js +0 -2
  827. package/dist/cdn/HA3MYKR7.js +0 -2
  828. package/dist/cdn/HEPYE6RX.js +0 -2
  829. package/dist/cdn/HETF33XY.js +0 -2
  830. package/dist/cdn/HF75SET4.js +0 -2
  831. package/dist/cdn/HH5PXKUQ.js +0 -2
  832. package/dist/cdn/HH7X5PFK.js +0 -2
  833. package/dist/cdn/HIJBZFJC.js +0 -2
  834. package/dist/cdn/HINK5GJN.js +0 -2
  835. package/dist/cdn/HITR5JF7.js +0 -2
  836. package/dist/cdn/HM2SQ34E.js +0 -2
  837. package/dist/cdn/HPOK6EKK.js +0 -2
  838. package/dist/cdn/HSFPILSC.js +0 -2
  839. package/dist/cdn/HSKNYFFN.js +0 -2
  840. package/dist/cdn/HSYH2RF2.js +0 -2
  841. package/dist/cdn/HTQGWSTE.js +0 -2
  842. package/dist/cdn/HTY7ODQW.js +0 -2
  843. package/dist/cdn/HTYDCXX6.js +0 -2
  844. package/dist/cdn/HUVYHMSC.js +0 -2
  845. package/dist/cdn/HUZVX2LX.js +0 -2
  846. package/dist/cdn/HV466M4A.js +0 -2
  847. package/dist/cdn/HWUCFNAD.js +0 -2
  848. package/dist/cdn/HYUPDCJS.js +0 -2
  849. package/dist/cdn/HZHPBMYE.js +0 -2
  850. package/dist/cdn/I3DM7WYF.js +0 -2
  851. package/dist/cdn/I3LGHXIN.js +0 -2
  852. package/dist/cdn/I6XITM7G.js +0 -14
  853. package/dist/cdn/I6ZBOCIY.js +0 -2
  854. package/dist/cdn/ICFGB4YA.js +0 -2
  855. package/dist/cdn/IDHZRKXF.js +0 -2
  856. package/dist/cdn/IEDSJLNB.js +0 -2
  857. package/dist/cdn/IGSOBBXK.js +0 -2
  858. package/dist/cdn/II3OUQDN.js +0 -2
  859. package/dist/cdn/IIAM2J7I.js +0 -2
  860. package/dist/cdn/IKDCKYJ5.js +0 -2
  861. package/dist/cdn/ILLXAWCL.js +0 -2
  862. package/dist/cdn/IONZ3SDQ.js +0 -2
  863. package/dist/cdn/IS7DQMPO.js +0 -2
  864. package/dist/cdn/ISFEEC67.js +0 -2
  865. package/dist/cdn/ISLB62MU.js +0 -2
  866. package/dist/cdn/IU5YH2S4.js +0 -2
  867. package/dist/cdn/IV7AWQ4I.js +0 -2
  868. package/dist/cdn/IXINH2FU.js +0 -2
  869. package/dist/cdn/IZ43EVPH.js +0 -2
  870. package/dist/cdn/J2P53GWU.js +0 -2
  871. package/dist/cdn/J4D2HORK.js +0 -2
  872. package/dist/cdn/J7JW6ADT.js +0 -2
  873. package/dist/cdn/JASFUUT6.js +0 -2
  874. package/dist/cdn/JBND67XM.js +0 -2
  875. package/dist/cdn/JEQW7KPC.js +0 -2
  876. package/dist/cdn/JG22JJ4C.js +0 -2
  877. package/dist/cdn/JI5AIZ2W.js +0 -2
  878. package/dist/cdn/JSOZV4HA.js +0 -2
  879. package/dist/cdn/JTE4CLWD.js +0 -2
  880. package/dist/cdn/JWQCCXL5.js +0 -2
  881. package/dist/cdn/JZB5X2MB.js +0 -2
  882. package/dist/cdn/K2DF2MZK.js +0 -2
  883. package/dist/cdn/K33RVKQD.js +0 -2
  884. package/dist/cdn/K3HMF5GC.js +0 -2
  885. package/dist/cdn/K4VVZ2OR.js +0 -2
  886. package/dist/cdn/K5O2OVOP.js +0 -2
  887. package/dist/cdn/K672BF4Z.js +0 -2
  888. package/dist/cdn/KA2RH2XA.js +0 -2
  889. package/dist/cdn/KBPJADC7.js +0 -57
  890. package/dist/cdn/KBYHLIWL.js +0 -2
  891. package/dist/cdn/KI2RNLIW.js +0 -2
  892. package/dist/cdn/KI6QCKOX.js +0 -2
  893. package/dist/cdn/KIEYQKES.js +0 -2
  894. package/dist/cdn/KKON6KFT.js +0 -2
  895. package/dist/cdn/KNZCVIQZ.js +0 -2
  896. package/dist/cdn/KQGFPGAG.js +0 -2
  897. package/dist/cdn/KUB4GMLQ.js +0 -2
  898. package/dist/cdn/KVTXAGQO.js +0 -2
  899. package/dist/cdn/KXGSUPO6.js +0 -2
  900. package/dist/cdn/KZOKH7DH.js +0 -2
  901. package/dist/cdn/L3H4QXUA.js +0 -2
  902. package/dist/cdn/L4D75PLE.js +0 -50
  903. package/dist/cdn/L4XSNBXO.js +0 -2
  904. package/dist/cdn/L6IQ6LTS.js +0 -2
  905. package/dist/cdn/LA2OL44Q.js +0 -2
  906. package/dist/cdn/LDJN5446.js +0 -2
  907. package/dist/cdn/LEVMADAS.js +0 -2
  908. package/dist/cdn/LG3VZTHJ.js +0 -2
  909. package/dist/cdn/LG5BO6HC.js +0 -2
  910. package/dist/cdn/LK454DSU.js +0 -2
  911. package/dist/cdn/LLGS7DKU.js +0 -2
  912. package/dist/cdn/LLX4O2ZL.js +0 -2
  913. package/dist/cdn/LNVYZ53G.js +0 -2
  914. package/dist/cdn/LPMAR4KQ.js +0 -2
  915. package/dist/cdn/LQ4GVKBA.js +0 -2
  916. package/dist/cdn/LVCMKKG7.js +0 -2
  917. package/dist/cdn/LY5D6DDL.js +0 -2
  918. package/dist/cdn/M3ZUOUC3.js +0 -6
  919. package/dist/cdn/M5TH54YS.js +0 -3
  920. package/dist/cdn/MAKNOF2E.js +0 -2
  921. package/dist/cdn/MBDZ6CTU.js +0 -2
  922. package/dist/cdn/MBJNG2TV.js +0 -2
  923. package/dist/cdn/MCXCKUVJ.js +0 -2
  924. package/dist/cdn/ME6P5KK5.js +0 -2
  925. package/dist/cdn/MGC3EC3F.js +0 -2
  926. package/dist/cdn/MIGVC3YS.js +0 -2
  927. package/dist/cdn/MILBEJO3.js +0 -2
  928. package/dist/cdn/MKMW2OIY.js +0 -2
  929. package/dist/cdn/MPHKEKH4.js +0 -2
  930. package/dist/cdn/MS3RNOP5.js +0 -2
  931. package/dist/cdn/MTV6GBRX.js +0 -2
  932. package/dist/cdn/MUN2QI43.js +0 -2
  933. package/dist/cdn/MUVLHU4H.js +0 -2
  934. package/dist/cdn/MWFTBYF7.js +0 -22
  935. package/dist/cdn/MYXIS5RQ.js +0 -2
  936. package/dist/cdn/N2SCAU7I.js +0 -2
  937. package/dist/cdn/N6GGGJDB.js +0 -2
  938. package/dist/cdn/N7CJXIRA.js +0 -2
  939. package/dist/cdn/NABNAFFZ.js +0 -2
  940. package/dist/cdn/NC3HXMKH.js +0 -2
  941. package/dist/cdn/NCTESU3D.js +0 -2
  942. package/dist/cdn/NE7SMAEP.js +0 -2
  943. package/dist/cdn/NFD3QJ6J.js +0 -2
  944. package/dist/cdn/NFY3ASEY.js +0 -2
  945. package/dist/cdn/NPWIO5CS.js +0 -2
  946. package/dist/cdn/NQJLGBVK.js +0 -2
  947. package/dist/cdn/NR4ANSZX.js +0 -2
  948. package/dist/cdn/NSMWYS6Z.js +0 -2
  949. package/dist/cdn/NUH2IEG5.js +0 -2
  950. package/dist/cdn/NW2YTW26.js +0 -2
  951. package/dist/cdn/NYFFZ52T.js +0 -2
  952. package/dist/cdn/NZG4KZHV.js +0 -2
  953. package/dist/cdn/O247GUBF.js +0 -2
  954. package/dist/cdn/OAFVLHOP.js +0 -2
  955. package/dist/cdn/OAR2EXND.js +0 -2
  956. package/dist/cdn/OB5GUG4Q.js +0 -2
  957. package/dist/cdn/OF3K6ILR.js +0 -2
  958. package/dist/cdn/OGP4ICMS.js +0 -2
  959. package/dist/cdn/OHGAZBGC.js +0 -2
  960. package/dist/cdn/OHHSI5BP.js +0 -2
  961. package/dist/cdn/OHRPOEMD.js +0 -2
  962. package/dist/cdn/OLBIGEZV.js +0 -2
  963. package/dist/cdn/OQNAOTWQ.js +0 -2
  964. package/dist/cdn/OQOFL4GS.js +0 -2
  965. package/dist/cdn/OYSFOPFK.js +0 -2
  966. package/dist/cdn/OZDJZBGR.js +0 -2
  967. package/dist/cdn/P32YXLHN.js +0 -2
  968. package/dist/cdn/P4SQ46RJ.js +0 -2
  969. package/dist/cdn/P5C64FCP.js +0 -2
  970. package/dist/cdn/P7D42LBQ.js +0 -2
  971. package/dist/cdn/PJFE4OSA.js +0 -2
  972. package/dist/cdn/PM6CSPJD.js +0 -2
  973. package/dist/cdn/PMG4LRKI.js +0 -2
  974. package/dist/cdn/PTT753DR.js +0 -2
  975. package/dist/cdn/PUDNBWDK.js +0 -2
  976. package/dist/cdn/PVUKIX2R.js +0 -2
  977. package/dist/cdn/PWESAKVV.js +0 -6
  978. package/dist/cdn/PXIEZUFC.js +0 -2
  979. package/dist/cdn/Q4GV7FFJ.js +0 -2
  980. package/dist/cdn/Q5A7L43T.js +0 -2
  981. package/dist/cdn/Q5LOYC24.js +0 -2
  982. package/dist/cdn/QA5B2Y37.js +0 -2
  983. package/dist/cdn/QFSHQXGM.js +0 -2
  984. package/dist/cdn/QK2OPJGK.js +0 -2
  985. package/dist/cdn/QK4D6OMO.js +0 -2
  986. package/dist/cdn/QMYN3FVH.js +0 -2
  987. package/dist/cdn/QQRKMUCB.js +0 -2
  988. package/dist/cdn/QQS6Z4FZ.js +0 -5468
  989. package/dist/cdn/QTIJHBJB.js +0 -2
  990. package/dist/cdn/QTKEVJG2.js +0 -2
  991. package/dist/cdn/QVFTGLEP.js +0 -2
  992. package/dist/cdn/QW4LROIM.js +0 -2
  993. package/dist/cdn/QWOHM2SY.js +0 -2
  994. package/dist/cdn/QYHIY3ME.js +0 -2
  995. package/dist/cdn/QYIYNECI.js +0 -2
  996. package/dist/cdn/R4PTOUBU.js +0 -2
  997. package/dist/cdn/R7CH3OBE.js +0 -2
  998. package/dist/cdn/R7OW7BC6.js +0 -2
  999. package/dist/cdn/RBHMRIVU.js +0 -2
  1000. package/dist/cdn/RGKBSVQD.js +0 -2
  1001. package/dist/cdn/RGTW5L2M.js +0 -2
  1002. package/dist/cdn/RIMWN7PN.js +0 -4
  1003. package/dist/cdn/RL2IUUBA.js +0 -2
  1004. package/dist/cdn/RLTWZY2Y.js +0 -2
  1005. package/dist/cdn/ROWHAGC5.js +0 -2
  1006. package/dist/cdn/RPCTY5PP.js +0 -2
  1007. package/dist/cdn/RPW6M2RS.js +0 -2
  1008. package/dist/cdn/RTTSVKW2.js +0 -2
  1009. package/dist/cdn/RTUW32PG.js +0 -2
  1010. package/dist/cdn/RXVVMKTZ.js +0 -2
  1011. package/dist/cdn/S2TL4ARK.js +0 -2
  1012. package/dist/cdn/S57GAUCL.js +0 -3
  1013. package/dist/cdn/S6DY4JGI.js +0 -2
  1014. package/dist/cdn/S6XQNPGY.js +0 -2
  1015. package/dist/cdn/SCTDVE2P.js +0 -2
  1016. package/dist/cdn/SD326B2E.js +0 -2
  1017. package/dist/cdn/SDXNFZ6Q.js +0 -2
  1018. package/dist/cdn/SDZ7AXWI.js +0 -2
  1019. package/dist/cdn/SEZVVM5Z.js +0 -2
  1020. package/dist/cdn/SGM4YRBH.js +0 -2
  1021. package/dist/cdn/SMQJD2L6.js +0 -2
  1022. package/dist/cdn/SNHGQLES.js +0 -2
  1023. package/dist/cdn/SNSHV52T.js +0 -2
  1024. package/dist/cdn/SR3IHWFL.js +0 -2
  1025. package/dist/cdn/SVAOM6PB.js +0 -2
  1026. package/dist/cdn/SZJPVJS6.js +0 -2
  1027. package/dist/cdn/T3M236GE.js +0 -2
  1028. package/dist/cdn/TARH5FST.js +0 -2
  1029. package/dist/cdn/TBD7PFFA.js +0 -2
  1030. package/dist/cdn/TC2QNSUN.js +0 -2
  1031. package/dist/cdn/TCBYBEBE.js +0 -2
  1032. package/dist/cdn/TCCZ5S2A.js +0 -2
  1033. package/dist/cdn/TFMTKJFO.js +0 -2
  1034. package/dist/cdn/TGK6L2ZE.js +0 -2
  1035. package/dist/cdn/TH5ZUUV3.js +0 -2
  1036. package/dist/cdn/THLIDOGM.js +0 -2
  1037. package/dist/cdn/TJLG5Q5Y.js +0 -2
  1038. package/dist/cdn/TJMJIAXA.js +0 -2
  1039. package/dist/cdn/TO5XR7VA.js +0 -2
  1040. package/dist/cdn/TQ5M7ABM.js +0 -2
  1041. package/dist/cdn/TVZTOZL7.js +0 -2
  1042. package/dist/cdn/TWLLLMPH.js +0 -2
  1043. package/dist/cdn/TXQQV57A.js +0 -2
  1044. package/dist/cdn/U2H7HOIC.js +0 -2
  1045. package/dist/cdn/U7SPPU37.js +0 -2
  1046. package/dist/cdn/UA2PWQXW.js +0 -2
  1047. package/dist/cdn/UADY5XO7.js +0 -2
  1048. package/dist/cdn/UAGYDOBI.js +0 -2
  1049. package/dist/cdn/UC7PCLBG.js +0 -2
  1050. package/dist/cdn/UCBTNECN.js +0 -2
  1051. package/dist/cdn/UCNRE4DW.js +0 -23
  1052. package/dist/cdn/UCUSWPVC.js +0 -2
  1053. package/dist/cdn/UEMRCQKF.js +0 -2
  1054. package/dist/cdn/UGI23J3C.js +0 -2
  1055. package/dist/cdn/UGPEDWIJ.js +0 -4
  1056. package/dist/cdn/UJKN7G7W.js +0 -2
  1057. package/dist/cdn/UJZ32HDH.js +0 -2
  1058. package/dist/cdn/UMST4RFY.js +0 -2
  1059. package/dist/cdn/UN6MRXZW.js +0 -2
  1060. package/dist/cdn/UOAJQR2X.js +0 -2
  1061. package/dist/cdn/UR5INQGU.js +0 -2
  1062. package/dist/cdn/USNX342T.js +0 -2
  1063. package/dist/cdn/UTLMCJD2.js +0 -2
  1064. package/dist/cdn/UTQMJRMF.js +0 -2
  1065. package/dist/cdn/UUGPYRMY.js +0 -2
  1066. package/dist/cdn/UWA2UA4S.js +0 -2
  1067. package/dist/cdn/UXDEAKSF.js +0 -2
  1068. package/dist/cdn/UYYBCR75.js +0 -2
  1069. package/dist/cdn/V33D2RRV.js +0 -2
  1070. package/dist/cdn/V3U3RRL7.js +0 -2
  1071. package/dist/cdn/V6SKJ43C.js +0 -2
  1072. package/dist/cdn/V76BJGGX.js +0 -2
  1073. package/dist/cdn/V7H25Z5U.js +0 -2
  1074. package/dist/cdn/V7PXTC6I.js +0 -2
  1075. package/dist/cdn/VANWWSL3.js +0 -2
  1076. package/dist/cdn/VCGND4NR.js +0 -2
  1077. package/dist/cdn/VFVNN33U.js +0 -2
  1078. package/dist/cdn/VHIRPM4L.js +0 -2
  1079. package/dist/cdn/VIC2IR7N.js +0 -2
  1080. package/dist/cdn/VJ4I63OO.js +0 -2
  1081. package/dist/cdn/VJWEGXQY.js +0 -2
  1082. package/dist/cdn/VPJ4NGJ5.js +0 -2
  1083. package/dist/cdn/VT5NU2WH.js +0 -2
  1084. package/dist/cdn/VXJI546E.js +0 -2
  1085. package/dist/cdn/W2VLXDRD.js +0 -39
  1086. package/dist/cdn/W37GIL2C.js +0 -2
  1087. package/dist/cdn/W57XOSMI.js +0 -2
  1088. package/dist/cdn/W5FA4IWP.js +0 -10
  1089. package/dist/cdn/W6BMVYH7.js +0 -2
  1090. package/dist/cdn/W6GBJ4BL.js +0 -2
  1091. package/dist/cdn/WBUC7HJI.js +0 -2
  1092. package/dist/cdn/WEJLZVU6.js +0 -2
  1093. package/dist/cdn/WFV47RA4.js +0 -4
  1094. package/dist/cdn/WFWIIWQC.js +0 -2
  1095. package/dist/cdn/WGUAKT5I.js +0 -2
  1096. package/dist/cdn/WJED2YG7.js +0 -2
  1097. package/dist/cdn/WJFIZ6DL.js +0 -2
  1098. package/dist/cdn/WL6CGZLR.js +0 -2
  1099. package/dist/cdn/WMNWHF5U.js +0 -2
  1100. package/dist/cdn/WN7GK2WG.js +0 -2
  1101. package/dist/cdn/WPADWRCH.js +0 -2
  1102. package/dist/cdn/WTEVUXDK.js +0 -2
  1103. package/dist/cdn/WTJOWA2D.js +0 -2
  1104. package/dist/cdn/WTTSGDHM.js +0 -2
  1105. package/dist/cdn/WU3HYV7B.js +0 -2
  1106. package/dist/cdn/WVZNJMRA.js +0 -2
  1107. package/dist/cdn/X5GRVXSY.js +0 -2
  1108. package/dist/cdn/XGOWY36W.js +0 -2
  1109. package/dist/cdn/XI72UBIK.js +0 -2
  1110. package/dist/cdn/XIWVNNXH.js +0 -2
  1111. package/dist/cdn/XKQTJFVJ.js +0 -2
  1112. package/dist/cdn/XKUKAFLE.js +0 -2
  1113. package/dist/cdn/XLV625TR.js +0 -2
  1114. package/dist/cdn/XN55PVRJ.js +0 -2
  1115. package/dist/cdn/XP6ZXTST.js +0 -2
  1116. package/dist/cdn/XX3BCLUI.js +0 -2
  1117. package/dist/cdn/XYUMPZMT.js +0 -2
  1118. package/dist/cdn/XZDHV5BV.js +0 -2
  1119. package/dist/cdn/Y7N6UKCC.js +0 -2
  1120. package/dist/cdn/YBDFIKTN.js +0 -2
  1121. package/dist/cdn/YCEXTCZD.js +0 -2
  1122. package/dist/cdn/YDWT2GP5.js +0 -2
  1123. package/dist/cdn/YHO7A5RX.js +0 -2
  1124. package/dist/cdn/YKYTSHP4.js +0 -2
  1125. package/dist/cdn/YLRR2XFD.js +0 -2
  1126. package/dist/cdn/YMX7NNEY.js +0 -3
  1127. package/dist/cdn/YQMHCSXF.js +0 -2
  1128. package/dist/cdn/YRCBIK2Y.js +0 -2
  1129. package/dist/cdn/YVXHYFKJ.js +0 -2
  1130. package/dist/cdn/YWXDWRYJ.js +0 -2
  1131. package/dist/cdn/YXKNVWVS.js +0 -2
  1132. package/dist/cdn/Z2Z5RGR2.js +0 -2
  1133. package/dist/cdn/Z3TOG5XS.js +0 -2
  1134. package/dist/cdn/Z756THCU.js +0 -2
  1135. package/dist/cdn/Z7Q6BWC3.js +0 -2
  1136. package/dist/cdn/ZC36M5LD.js +0 -2
  1137. package/dist/cdn/ZCQJ26PE.js +0 -2
  1138. package/dist/cdn/ZFP6AZG7.js +0 -2
  1139. package/dist/cdn/ZKXOPB4E.js +0 -2
  1140. package/dist/cdn/ZM3EAORZ.js +0 -2
  1141. package/dist/cdn/ZNEDALBA.js +0 -2
  1142. package/dist/cdn/ZQPTNYU6.js +0 -2
  1143. package/dist/cdn/ZR5F7KBC.js +0 -2
  1144. package/dist/cdn/ZT74OVX5.js +0 -2
  1145. package/dist/cdn/ZUFDLSS7.js +0 -2
  1146. package/dist/cdn/ZVGAVULD.js +0 -2
  1147. package/dist/cdn/ZX3NL6MQ.js +0 -2
  1148. package/dist/cdn/ZXTOK4AF.js +0 -2
package/package.json CHANGED
@@ -1,11 +1,7 @@
1
1
  {
2
2
  "name": "@esri/hub-web-components",
3
- "version": "0.37.2",
3
+ "version": "0.38.0",
4
4
  "description": "A collection of web components to build web experiences with ArcGIS Hub.",
5
- "publishConfig": {
6
- "access": "public",
7
- "registry": "https://registry.npmjs.org/"
8
- },
9
5
  "type": "module",
10
6
  "main": "dist/index.js",
11
7
  "module": "dist/index.js",
@@ -24,14 +20,61 @@
24
20
  "files": [
25
21
  "dist/"
26
22
  ],
23
+ "publishConfig": {
24
+ "access": "public",
25
+ "registry": "https://registry.npmjs.org/"
26
+ },
27
27
  "license": "SEE LICENSE IN LICENSE.md",
28
+ "scripts": {
29
+ "prepare": "husky",
30
+ "start": "npm run build-harness-tree && vite",
31
+ "start-internal-storybook": "storybook dev -c .storybook/internal -p 6007 --quiet",
32
+ "disabled-start-external-storybook": "storybook dev -c .storybook/external dev -p 6017 --quiet",
33
+ "build": "vite build",
34
+ "copy-redirect": "shx cp redirect.html www/redirect.html",
35
+ "copy-config": "shx cp dist/embed-config.js www/src/embed-config.js",
36
+ "build-dev": "vite build --mode development",
37
+ "ci:lint": "npm run lint -- --quiet",
38
+ "ci:stylelint": "stylelint 'src/components/**/*.css' --quiet",
39
+ "ci:test:install": "npx playwright install --with-deps chromium chrome",
40
+ "ci:test:coverage": "vitest run --coverage --browser.headless",
41
+ "ci:test:e2e": "npx playwright test",
42
+ "ci:release": "npm run ci:build && npx @changesets/cli publish",
43
+ "dev": "npm run build-harness-tree && vite",
44
+ "watch": "npm run build-dev --watch",
45
+ "build-internal-storybook": "storybook build -c .storybook/internal --quiet",
46
+ "disabled-build-external-storybook": "storybook build -c .storybook/external -o storybook-static-external --quiet",
47
+ "lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.ts' --config eslint.config.js",
48
+ "madge:circular": "madge --circular --ts-config ./tsconfig.json --extensions ts,tsx ./src",
49
+ "precommit": "lint-staged --config lint-staged.config.js",
50
+ "test:install": "npx playwright install --with-deps chromium",
51
+ "test": "npm run test:unit && npm run test:e2e",
52
+ "test:unit": "vitest run --browser.headless",
53
+ "test:e2e": "npx playwright test",
54
+ "test:e2e:ui": "npm run test:e2e -- --ui",
55
+ "test:e2e:update": "npm run test:e2e -- -u",
56
+ "test:debug": "vitest run --no-file-parallelism --no-isolate --inspect",
57
+ "test:watch": "vitest --coverage.enabled=true",
58
+ "test:coverage": "vitest run --coverage --browser.headless",
59
+ "test:coverage:update": "npm run test:coverage -- --coverage.thresholds.autoUpdate=true",
60
+ "test-pre": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install",
61
+ "test-debug": "echo 'keeping for compatibility with other Lumina repos' && npm run test:debug",
62
+ "test-watch": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install && npm run test:debug",
63
+ "clean": "rimraf ./coverage ./www ./storybook-static ./storybook-static-external ./.turbo ./dist ./playwright-report ./test-results",
64
+ "reset": "npm run clean && rimraf ./node_modules",
65
+ "format": "prettier 'src/**' --check",
66
+ "format:fix": "prettier 'src/**' --write",
67
+ "build-harness-tree": "node scripts/buildTree.js",
68
+ "changeset": "npx @changesets/cli",
69
+ "sync-snapshots": "./scripts/sync-snapshots.sh"
70
+ },
28
71
  "dependencies": {
29
72
  "@arcgis/lumina": "~5.0.9",
30
73
  "@arcgis/map-components": "~5.0.9",
31
74
  "@arcgis/toolkit": "~5.0.9",
32
75
  "@esri/arcgis-rest-portal": "^4.4.1",
33
76
  "@esri/arcgis-rest-request": "^4.2.3",
34
- "@esri/hub-common": "^28.3.0",
77
+ "@esri/hub-common": "^28.6.0",
35
78
  "@esri/telemetry-dictionary-hub": "^4.28.0",
36
79
  "@lit/context": "^1.1.6",
37
80
  "@open-wc/lit-helpers": "^0.7.0",
@@ -51,6 +94,7 @@
51
94
  "@axe-core/playwright": "^4.10.2",
52
95
  "@changesets/cli": "^2.29.7",
53
96
  "@esri/calcite-components": "^5.0.2",
97
+ "@esri/calcite-design-tokens": "^4.0.0",
54
98
  "@esri/calcite-tailwind-preset": "^1.0.2",
55
99
  "@esri/hub-components": ">=5.422.0-next.1",
56
100
  "@playwright/test": "~1.56.0",
@@ -89,53 +133,6 @@
89
133
  "html.customData": [
90
134
  "dist/docs/vscode.html-custom-data.json"
91
135
  ],
92
- "web-types": "dist/docs/web-types.json",
93
- "scripts": {
94
- "prepare": "husky",
95
- "start": "npm run build-harness-tree && vite",
96
- "start-internal-storybook": "storybook dev -c .storybook/internal -p 6007 --quiet",
97
- "disabled-start-external-storybook": "storybook dev -c .storybook/external dev -p 6017 --quiet",
98
- "build": "vite build",
99
- "copy-redirect": "shx cp redirect.html www/redirect.html",
100
- "copy-config": "shx cp dist/embed-config.js www/src/embed-config.js",
101
- "build-dev": "vite build --mode development",
102
- "ci:lint": "npm run lint -- --quiet && npm run ci:stylelint && npm run madge:circular",
103
- "ci:stylelint": "stylelint 'src/components/**/*.css' --quiet",
104
- "ci:test:install": "npx playwright install --with-deps chromium chrome",
105
- "ci:test:coverage": "vitest run --coverage --browser.headless",
106
- "ci:test:e2e": "npx playwright test",
107
- "ci:release": "npm run ci:build && npx @changesets/cli publish",
108
- "dev": "npm run build-harness-tree && vite",
109
- "watch": "npm run build-dev --watch",
110
- "build-internal-storybook": "storybook build -c .storybook/internal --quiet",
111
- "disabled-build-external-storybook": "storybook build -c .storybook/external -o storybook-static-external --quiet",
112
- "lint": "eslint 'src/**/*.{ts,tsx}' 'tests/**/*.ts' --config eslint.config.js",
113
- "madge:circular": "madge --circular --ts-config ./tsconfig.json --extensions ts,tsx ./src",
114
- "precommit": "lint-staged --config lint-staged.config.js",
115
- "test:install": "npx playwright install --with-deps chromium",
116
- "test": "npm run test:unit && npm run test:e2e",
117
- "test:unit": "vitest run --browser.headless",
118
- "test:e2e": "npx playwright test",
119
- "test:e2e:ui": "npm run test:e2e -- --ui",
120
- "test:e2e:update": "npm run test:e2e -- -u",
121
- "test:debug": "vitest run --no-file-parallelism --no-isolate --inspect",
122
- "test:watch": "vitest --coverage.enabled=true",
123
- "test:coverage": "vitest run --coverage --browser.headless",
124
- "test:coverage:update": "npm run test:coverage -- --coverage.thresholds.autoUpdate=true",
125
- "test-pre": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install",
126
- "test-debug": "echo 'keeping for compatibility with other Lumina repos' && npm run test:debug",
127
- "test-watch": "echo 'keeping for compatibility with other Lumina repos' && npm run test:install && npm run test:debug",
128
- "clean": "rimraf ./coverage ./www ./storybook-static ./storybook-static-external ./.turbo ./dist ./playwright-report ./test-results",
129
- "reset": "npm run clean && rimraf ./node_modules",
130
- "format": "prettier 'src/**' --check",
131
- "format:fix": "prettier 'src/**' --write",
132
- "build-harness-tree": "node scripts/buildTree.js",
133
- "changeset": "npx @changesets/cli",
134
- "sync-snapshots": "./scripts/sync-snapshots.sh"
135
- },
136
- "volta": {
137
- "extends": "../../package.json"
138
- },
139
136
  "madge": {
140
137
  "fontSize": "10px",
141
138
  "tsConfig": "tsconfig.json",
@@ -152,5 +149,9 @@
152
149
  "skipTypeImports": true
153
150
  }
154
151
  }
155
- }
152
+ },
153
+ "volta": {
154
+ "extends": "../../package.json"
155
+ },
156
+ "web-types": "dist/docs/web-types.json"
156
157
  }
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as r}from"./JG22JJ4C.js";import{a}from"./UADY5XO7.js";import{b as i}from"./DKMYTCOT.js";var m={extent:"default"},n=a.polygon.color,p={type:"simple-fill",color:[...n,.005],style:"solid",outline:{color:n,width:1}},y={type:"simple-marker",style:"circle",color:[...n,.5],size:"8px",outline:{color:n,width:1}},f={type:"simple-line",color:n,width:"2px",style:"solid"},E=t=>{let e;switch(t){case"point":e=y;break;case"polyline":e=f;break;default:e=p}return e},h={color:"#00ffff",haloOpacity:.8,fillOpacity:0},u={color:"#00ffff",haloOpacity:.8,fillOpacity:.15},M=t=>t==="hover"?h:u,O={type:"extent",xmin:-200375083427892e-7,ymin:-200375083427892e-7,xmax:200375083427892e-7,ymax:200375083427892e-7,spatialReference:{wkid:102100}},b=t=>{t.constraints.minZoom=2,t.constraints.geometry=O},L=t=>r(t.extent),I=(t,e,s=L)=>{if((t.type==="point"||t.type==="polyline")&&(e.type==="point"||e.type==="polyline"))return 0;if(t.type==="point"||t.type==="polyline")return 1;if(e.type==="point"||e.type==="polyline")return-1;try{let o=Math.abs(s(t)),l=Math.abs(s(e));if(o<l)return 1;if(o>l)return-1;if(o===l)return 0}catch{return 0}},T=t=>{t.closePopup()},S=({checked:t,class:e,slot:s,label:o,onChange:l,scale:c="m"})=>i("div",{class:e,slot:s},i("calcite-label",{class:"checkbox-label",layout:"inline",scale:c},i("calcite-checkbox",{checked:t,onCalciteCheckboxChange:l,scale:c}),o));export{m as a,E as b,M as c,b as d,I as e,T as f,S as g};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as i}from"./PM6CSPJD.js";function p(e,r){return e&&!i(r)&&(e=`${e}_${r}`),e&&(e=`${e}?showData=true`),e}export{p as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{c as s}from"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import"./J2P53GWU.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a as o}from"./7GTUV67W.js";import{a as e}from"./USNX342T.js";import{b as i,c as d,i as m}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var p=":host{display:block;border:thin solid #DDD;margin:0.5rem 0}tr:nth-child(even){background-color:#f3f3f3}th,td{padding:0.8rem 1rem}@keyframes shimmer{0%{background-size:200% 100%;background-position:100% 0}100%{background-size:200% 100%;background-position:-100% 0}}td.loading{animation:shimmer 2s cubic-bezier(0.4, 0, 0.2, 0.8) infinite}tbody tr.active-row{font-weight:bold;color:#009879}",c=p,h=class{constructor(t){m(this,t),this.isLoading=!0,this.entityId=null,this.metadata=[],this.entity={}}metadataUpdated(t){e.log("ArcGISHubMetadataList: metadata",t),t&&(this.metadata=JSON.parse(t))}entityIdUpdated(t){t&&this.fetchEntity(t)}lookup(t,n){let a=o(n,t.element),r=a;if(a!==null)switch(t.format){case"datetime":{r=new Date(a).toISOString();break}case"array":{Array.isArray(a)&&(r=a.join(", "));break}}return r}async fetchEntity(t){this.entity=await s(t),this.isLoading=!1,e.log("ArcGISHubMetadataList: fetchEntity",[this.entity.title,this.entity.title,this.metadata,this.entity])}componentWillLoad(){this.fetchEntity(this.entityId)}render(){return i(d,{key:"a22d93c341983dc55a0b269a41a69beed4398d92","data-element":"metadata-list"},i("slot",{key:"10d82265671ecc3407b4b36384ad2f90793f4d0d"}),i("table",{key:"212de3d1a1a999634609eeda39e641249a67946b"},this.metadata.map(t=>i("tr",{key:t.label},i("td",null,t.label),i("td",null,this.isLoading?"Lame Loading State \u{1F92E}...":this.lookup(t,this.entity))))))}static get watchers(){return{metadata:["metadataUpdated"],entityId:["entityIdUpdated"]}}};h.style=c;export{h as arcgis_hub_metadata_list};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function n(t){return t.target.assignedElements({flatten:!0})}var s=(t="")=>t.replace(/\n/g,"<br>"),a=t=>{let e=t.composedPath&&t.composedPath();return e&&e[0]||null};export{n as a,s as b,a as c};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var n=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],c=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],s=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],l=["Hub Event"],p=["Form","Quick Capture Project"],g=["Hub Initiative"],d=["Solution"],u=["Hub Initiative Template"],S=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","3DTiles Service","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],k=["360 VR Experience","3DTiles Package","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],b=["Hub Site Application","Site Application"],P=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(r=>r.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:n,dataset:c,document:s,event:l,feedback:p,initiative:g,template:u,solution:d,map:S,other:k,site:b};function m(a){return{other:"content",solution:"template"}[a]||a}function M(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=m(P(a))}return e}function v(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{P as a,i as b,M as c,v as d};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as C}from"./OB5GUG4Q.js";import{a as w}from"./LLGS7DKU.js";import{a as k,b as T,c as v}from"./IKDCKYJ5.js";import{d as y}from"./UWA2UA4S.js";import{a as p}from"./DBFWM3C6.js";import"./TARH5FST.js";import"./HH5PXKUQ.js";import"./42NTJTRV.js";import"./KI2RNLIW.js";import"./XKUKAFLE.js";import"./JSOZV4HA.js";import"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import{g as f}from"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as b}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{j as d}from"./FLC2JTMP.js";import"./RL2IUUBA.js";import{a as g}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as i,c as S,d as E,e as o,h,i as R}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:A}])=>{var L=":host{display:block}.title{font-family:var(--hub-heading-family, inherit);font-size:var(--calcite-font-size--1);line-height:1rem;font-weight:var(--calcite-font-weight-medium);margin-block:0 0.25rem}.title calcite-link{text-decoration:underline;color:var(--calcite-color-text-link)}.title calcite-link div{display:flex;gap:0.25rem}calcite-list-item>calcite-button{margin-inline-end:0.25rem}calcite-popover>calcite-button{margin:0.25rem}arcgis-hub-image{aspect-ratio:200 / 133;height:2.5rem}.previous-results-end{position:absolute}dl{margin-block:0}dl div{display:inline-flex;flex-wrap:wrap;gap:0.25rem}dl div:not(:last-child){margin-inline-end:0.25rem}dd{margin:0px;font-weight:var(--calcite-font-weight-bold)}",I=L,H=class{constructor(t){R(this,t),this.arcgisHubCardSelect=o(this,"arcgisHubCardSelect",7),this.arcgisHubGalleryOrderChange=o(this,"arcgisHubGalleryOrderChange",7),this.arcgisHubGalleryLinkClick=o(this,"arcgisHubGalleryLinkClick",7),this.arcgisHubCardAction=o(this,"arcgisHubCardAction",7),this.hubTelemetry=o(this,"hubTelemetry",7),this.searchResults=[],this.loading=!1,this.selectedIds=[],this.baseUrl=void 0,this.linkTarget="self",this.limit=10,this.newTab=!1,this.cardTitleTag="div",this.showEmptyState=!0,this.showThumbnail=!0,this.imageType=d.thumbnail,this.lazy=!1,this.selectionMode="none",this.showAdditionalInfo=!0,this.cardActionLinks=[],this.reorderable=!1,this.lastSearchResultsCount=void 0,this.hasError=!1,this.callback=void 0,this.disableTelemetry=!1,this.isMobile=!1,b(this,"handleOrderChange","handleResize","handleSelect","setPreviousResultsEnd","onTitleLinkClick","onTitleLinkKeyDown")}get shouldRenderEmptyState(){return!this.searchResults.length&&this.showEmptyState||this.hasError}get context(){return A()}connectedCallback(){p.addHandler(this.element,this.handleResize)}disconnectedCallback(){p.unobserve(this.element)}async componentWillLoad(){this.intl=await g.loadIntlForComponent(this.element)}componentDidUpdate(){var t;(t=this.previousResultsEnd)===null||t===void 0||t.focus({preventScroll:!0})}handleResize(){this.isMobile=this.element.clientWidth<w.SMALL}handleSelect(t){let e=t.target.dataset.id;this.arcgisHubCardSelect.emit({id:e})}handleOrderChange(t){let{detail:{newIndex:e,oldIndex:r,dragEl:s}}=t,n={id:s.dataset.id,newIndex:e,oldIndex:r};this.arcgisHubGalleryOrderChange.emit(n)}setPreviousResultsEnd(t){this.previousResultsEnd=t}renderThumbnail(t){let e;return this.showThumbnail&&this.imageType===d.thumbnail&&(t.type==="User"||t.type==="channel"?e=i("calcite-avatar",{"aria-hidden":"true",fullName:C(t),slot:"content-start",thumbnail:t.thumbnailUrl,username:t.source}):e=i("arcgis-hub-image",{alt:`${t.title} thumbnail`,"aria-hidden":"true",class:{"group-thumbnail":t.type==="Group"},fallback:T(t),lazy:this.lazy,slot:"content-start",src:k(t,40,this.context)})),e}getViewModel(t){let e={actionLinks:this.cardActionLinks,baseUrl:this.baseUrl,locale:this.intl.formatLocale,target:this.linkTarget};return v(t,"row",e,this.callback,this.context,this.intl)}renderResult(t){let e=this.getViewModel(t),r=e.actionLinks?e.actionLinks:this.cardActionLinks,s=this.selectedIds.includes(t.id);return i("calcite-list-item",{"data-id":e.id,iconStart:this.showThumbnail&&this.imageType===d.icon?f(e.type):"",key:e.id,onCalciteListItemSelect:this.handleSelect,selected:s},this.renderThumbnail(e),i("div",{slot:"content"},this.renderTitle(e)),this.renderAdditionalInfo(e.additionalInfo),this.renderActionLinks(e,r,this.newTab))}renderTitle(t){let e=t.titleUrl,r=this.cardTitleTag,s=i("arcgis-multiline-ellipsis",{breakAnywhere:!0,lines:1,tabIndex:-1,tooltipEnabled:!0,tooltipOverlayPositioning:"fixed"},t.title);if(e){let a=this.newTab?"_blank":"_self";return i(r,{class:"title","data-href":e,"data-target":a,onKeyDown:this.onTitleLinkKeyDown,tabIndex:0},i("calcite-link",{"data-key":t.id,href:e,onClick:this.onTitleLinkClick,tabIndex:-1,target:a},this.newTab?i("div",null,s,i("calcite-icon",{icon:"launch-2",scale:"s"})):s))}else return i(r,{class:"title"},s)}onTitleLinkClick(t){this.linkTarget==="event"&&(t.stopPropagation(),t.preventDefault());let r=(t.type==="click"?t.currentTarget:t.target.firstElementChild).dataset.key,s=this.getViewModel(this.searchResults.find(n=>n.id===r)),a=y(this.linkTarget,s);!this.disableTelemetry&&a&&this.hubTelemetry.emit(a),this.arcgisHubGalleryLinkClick.emit({model:s,event:t})}onTitleLinkKeyDown(t){if((t.key==="Enter"||t.key===" ")&&(this.onTitleLinkClick(t),this.linkTarget!=="event")){let e=t.target.dataset.href,r=t.target.dataset.target;setTimeout(()=>window.open(e,r),0)}}renderAdditionalInfo(t){if(this.showAdditionalInfo&&t.length)return i("dl",{slot:"content"},t.slice(0,2).map((e,r)=>i("div",{key:r},i("dt",{key:`dt${r}`},e.i18nKey?this.intl.t(e.i18nKey):e.label),i("dd",{key:`dd${r}`},e.value))))}renderActionLinks(t,e,r){let{isMobile:s}=this,a=s&&e.length>1,n=e.filter(l=>!!l.href||!!l.action).map((l,m)=>this.renderActionLink(t,l,r,`${t.id}-${m}`,a));if(a){let l=`${t.id}-overflow-menu-trigger`;return[i("calcite-popover",{autoClose:!0,key:`${t.id}-overflow-menu`,"overlay-positioning":"fixed","reference-element":l,slot:"actions-end"},n),i("calcite-button",{appearance:"outline",iconStart:"ellipsis",id:l,key:l,round:!0,slot:"actions-end"})]}else return n}renderActionLink(t,e,r,s,a){let n=a?"":"actions-end",l=e.label;!l&&e.i18nKey&&(l=this.intl.t(e.i18nKey));let m=e.showLabel||a,u=e.action&&this.actionHandler.bind(this,e.action,t),c=e.ariaLabel||l;return c.includes(t.title)||(c=`${c}: ${t.title}`),i(h,null,i("calcite-button",{appearance:e.buttonStyle,disabled:e.disabled,href:e.href,iconStart:e.icon,id:`al-${s}`,key:s,kind:e.buttonKind,label:c,onClick:u||void 0,round:!a,slot:n,target:r?"_blank":"_self"},m&&l),!a&&this.renderActionTooltip(e,s))}actionHandler(t,e){this.arcgisHubCardAction.emit({action:t,model:e})}renderActionTooltip(t,e){if(t.tooltip)return i("calcite-tooltip",{key:e,label:t.ariaLabel,"overlay-positioning":"fixed",placement:"bottom","reference-element":`al-${e}`,slot:"actions-end"},i("span",null,t.tooltip))}renderLoading(){return i("div",{class:"card-container"},i("arcgis-skeleton-loader",{active:!0,rows:this.limit}))}renderEmptyState(){let t=this.hasError?"helpState.error.message":"helpState.noResults.message",e=this.intl.t(t),r=this.hasError?"search-error-action":"no-results-action";return i(h,null,i("arcgis-hub-help-state",{icon:"file-magnifying-glass"},i("div",{"aria-live":"polite",role:"status",slot:"message"},i("h3",null,e)),i("span",{slot:"actions"},i("div",{class:"no-results-action-container"},i("slot",{name:r})))))}renderResults(){let{searchResults:t}=this,e;if(t.length){let r=t.reduce((s,a,n)=>(s.push(this.renderResult(a)),n===this.lastSearchResultsCount-1&&s.push(i("div",{class:"previous-results-end",ref:this.setPreviousResultsEnd,tabIndex:-1})),s),[]);e=i(h,null,i("div",{class:"card-container","data-test":"result-container"},i("calcite-list",{dragEnabled:this.reorderable,interactionMode:"static",label:this.intl.t("label"),onCalciteListOrderChange:this.handleOrderChange,selectionMode:this.selectionMode},r)))}else this.shouldRenderEmptyState&&(e=this.renderEmptyState());return e}render(){return i(S,{key:"79deb6fec1d55e3096b82c253532eb7a2396a228","data-element":"gallery-layout-compact"},this.loading?this.renderLoading():this.renderResults())}static get assetsDirs(){return["locales"]}get element(){return E(this)}};H.style=I;return H},a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as a}from"./DKMYTCOT.js";var x=({breadcrumbs:t,onClick:l})=>t.map((r,i)=>{let{title:e,icon:o,link:n,label:c}=r,m=n?"":"non-interactive",b=c||e,s=i===t.length-1;return a("calcite-menu-item",{active:s,breadcrumb:!s,class:m,href:n,"icon-start":o,label:b,onClick:l,text:e,"text-enabled":!0})});export{x as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{c as e}from"./ZUFDLSS7.js";import{a}from"./HV466M4A.js";function o(r){return e(r.url)&&!!r.serverExtractCapability}function l(r){let s=a(r.url),i=r.access==="public",c=r.serverQueryCapability;return s&&i&&c}export{o as a,l as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import j from"./72R6GI5S.js";import i from"./2YBIU2GX.js";import h from"./IDHZRKXF.js";import g from"./HIJBZFJC.js";import f from"./B5FN4TVW.js";import e from"./VCGND4NR.js";import d from"./YDWT2GP5.js";import c from"./DZCEYSVA.js";import b from"./733IZVMO.js";import a from"./C27C7ZCS.js";import"./AJOXWMDO.js";import"./2PUMWMNI.js";import"./L3H4QXUA.js";import"./BMRPHSYL.js";import"./5V53QYYF.js";import"./7GTUV67W.js";import"./USNX342T.js";import"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,,,,,,,,,,,,,,,,,,,,{Aa:at,Ja:f,a:st,b:y,gb:s,ma:nt},{R:e},,,,,,{f:m},,{A:X,B:Y,C:G,D:H,E:N,F:V,G:j,H:Z,I:J,J:q,K:z,L:K,M:Q,N:tt,O:it,P:h,R:et,S:ot,U:rt,a:u,b:_,c:S,d:C,e:T,f:A,g:O,h:x,i:F,j:v,k:b,l:L,m:w,n:D,o:I,p:P,q:k,r:B,s:R,t:U,u:c,v:l,w:W,x:$,y:E,z:M}])=>{var gt=Object.defineProperty,pt=Object.getOwnPropertyDescriptor,o=(p,t,r,a)=>{for(var n=pt(t,r),g=p.length-1,d;g>=0;g--)(d=p[g])&&(n=d(t,r,n)||n);return n&&gt(t,r,n),n},i=class extends rt{constructor(){super(...arguments),this._chartType=st.HeatSeries}generateChartTitle(){return this.layerInfo!==void 0?it(this._config,this.layerInfo,this.commonStrings):""}generateYAxisTitle(){let t=this.yTemporalBinning?.unit;return t!==void 0?this.commonStrings.utilsStrings.heatChartCalendarDatePartsUnits[t]:""}async setup(t){await this.loadConfigFromLayer(t),this.setupLocalProps(),typeof this.resolveSetup=="function"&&this.resolveSetup()}get yAxisField(){return x(this._config)}set yAxisField(t){O({yField:t,config:this._config,layerInfo:this.layerInfo})}get viewType(){return j(this._config)}set viewType(t){this.guardSetterFromAsyncOverwrite(()=>{Z(t,this._config),this.emitConfigUpdate("heatChartViewType")})}get xTemporalBinning(){return v(this._config)}set xTemporalBinning(t){F({commonStrings:this.commonStrings,binning:t,config:this._config})}get yTemporalBinning(){return L(this._config)}set yTemporalBinning(t){b({commonStrings:this.commonStrings,binning:t,config:this._config})}get breaksCount(){return J(this._config)}set breaksCount(t){this.guardSetterFromAsyncOverwrite(()=>{q(t,this._config),this.emitConfigUpdate("breaksCount")})}get classificationMethod(){return z(this._config)}set classificationMethod(t){this.guardSetterFromAsyncOverwrite(()=>{t&&(K(t,this._config),this.emitConfigUpdate("classificationMethod"))})}get hideEmptyRowsAndColumns(){return u(this._config)}set hideEmptyRowsAndColumns(t){_(this._config,t)}get gridLineWidth(){return D(this._config)}set gridLineWidth(t){w(t,this._config)}get gridLineColor(){return P(this._config)}set gridLineColor(t){I(t,this._config)}get seriesName(){return et(0,this._config)}set seriesName(t){typeof t=="string"&&ot(t,0,this._config)}get heatRulesType(){return C(this._config)}set heatRulesType(t){S(this._config,t)}get gradientRules(){return A(this._config)}set gradientRules(t){T(this._config,t)}getGridLinesSymbol(){return this._config.series?.[0]?.gridLine}setGridLinesSymbol(t){this._config.series?.[0]&&(this._config.series[0].gridLine=t)}get numericFields(){let t=R(this._config);return t!==void 0?[t]:[]}set numericFields(t){let{idField:r}=f(this.layerInfo.layer),a=at(t[0]),n=a?r:t[0];U({field:n,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings});let g=c(this._config);a&&g!==y.Count&&l({aggregationType:y.Count,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get aggregationType(){return c(this._config)}set aggregationType(t){l({aggregationType:t,config:this._config,layerInfo:this.layerInfo,commonStrings:this.commonStrings})}get splitByField(){return""}set splitByField(t){}get legendPosition(){return B(this._config)}set legendPosition(t){k(t,this._config)}get nullPolicy(){return W(this._config)}set nullPolicy(t){$(t,this._config)}get emptyCell(){return E(this._config)}set emptyCell(t){this.guardSetterFromAsyncOverwrite(()=>{M(t,this._config),this.emitConfigUpdate("emptyCell")})}getSortOrder(){return s.Asc}setSortOrder(t,r){}getXAxisSortOrder(){let t=h(this._config)[0];return t===s.Asc||t===s.Desc||t===s.customSort?t:s.Asc}setXAxisSortOrder(t,r){m(t,this._config,r)}getYAxisSortOrder(){let t=h(this._config)[1];return t===s.Asc||t===s.Desc||t===s.customSort?t:s.Asc}setYAxisSortOrder(t,r){m(t,this._config,r,!0)}get emptyCellText(){return X(this._config)}set emptyCellText(t){Y(t,this._config)}get includeLeapDay(){return G(this._config)}set includeLeapDay(t){this.guardSetterFromAsyncOverwrite(()=>{H(t,this._config),this.emitConfigUpdate("includeLeapDay")})}get firstDayOfWeek(){return tt(this._config)}set firstDayOfWeek(t){this.guardSetterFromAsyncOverwrite(()=>{Q(t,this._config),this.emitConfigUpdate("firstDayOfWeek")})}get emptyCellSymbol(){return N(this._config)}set emptyCellSymbol(t){V(t,this._config)}get rotatedState(){return!1}set rotatedState(t){}setAssignToSecondValueAxis(t,r){}set stackedType(t){}set binTemporalData(t){}set nullCategory(t){}generateDefaultConfig(){let t=nt(this.commonStrings,f(this.layerInfo.layer).idField);return t.axes?.forEach((r,a)=>{r&&(r.valueFormat={intlOptions:{timeZone:void 0,dateStyle:a>0?"long":"medium"},type:"date"})}),t}};o([e],i.prototype,"yAxisField");o([e],i.prototype,"xTemporalBinning");o([e],i.prototype,"yTemporalBinning");o([e],i.prototype,"hideEmptyRowsAndColumns");o([e],i.prototype,"gridLineWidth");o([e],i.prototype,"gridLineColor");o([e],i.prototype,"seriesName");o([e],i.prototype,"heatRulesType");o([e],i.prototype,"gradientRules");o([e],i.prototype,"setGridLinesSymbol");o([e],i.prototype,"numericFields");o([e],i.prototype,"aggregationType");o([e],i.prototype,"splitByField");o([e],i.prototype,"legendPosition");o([e],i.prototype,"nullPolicy");o([e],i.prototype,"setSortOrder");o([e],i.prototype,"setXAxisSortOrder");o([e],i.prototype,"setYAxisSortOrder");o([e],i.prototype,"emptyCellText");o([e],i.prototype,"firstDayOfWeek");o([e],i.prototype,"emptyCellSymbol");o([e],i.prototype,"rotatedState");o([e],i.prototype,"setAssignToSecondValueAxis");o([e],i.prototype,"stackedType");o([e],i.prototype,"binTemporalData");o([e],i.prototype,"nullCategory");return i},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","layers/FeatureLayer","layers/support/Field","layers/support/fieldUtils","portal/Portal","rest/support/FeatureSet","applications/Components/reactiveUtils",a,b,c,d,e,f,g,h,i,j)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{c as e}from"./A36IL72A.js";function n(a,s){let o=e("platform:portal:user:shareGroupToPublic",s).access&&"public",r=e("platform:portal:user:shareGroupToOrg",s).access&&"org";return{hubGroup:{type:"Group",access:"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:"organization"},hubViewGroup:{type:"Group",access:o||r||"private",autoJoin:!1,isSharedUpdate:!1,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization"},hubEditGroup:{type:"Group",access:"org",autoJoin:!1,isSharedUpdate:!0,isInvitationOnly:!1,hiddenMembers:!1,isViewOnly:!1,leavingDisallowed:!1,tags:["Hub Group"],membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"collaborators":"organization"},hubFollowersGroup:{type:"Group",access:"public",autoJoin:!0,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1},hubAssociationsGroup:{type:"Group",access:"public",autoJoin:!1,isInvitationOnly:!1,isViewOnly:!0,leavingDisallowed:!1,membershipAccess:e("platform:portal:user:addExternalMembersToGroup",s).access?"anyone":"organization",protected:!0}}[a]}export{n as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as d}from"./37IO4VH2.js";import{a as c}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as r}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./USNX342T.js";import{b as e,c as u,d as g,e as h,h as l,i as f}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var C=":host{display:inline-block;font-weight:initial;text-align:initial}:host([hide-manage-button]){position:absolute}",S=C,b=class{get allTrackingConfigured(){return this.anonTrackingConfigured&&this.thirdPartyTrackingConfigured}get eueiDisabled(){var t;return((t=this.orgInfo)===null||t===void 0?void 0:t.eueiEnabled)===!1}constructor(t){f(this,t),this.hubUserPrivacySettingsChanged=h(this,"hubUserPrivacySettingsChanged",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.config=void 0,this.userSettings=void 0,this.hideManageButton=!1,this.anonTrackingConfigured=!1,this.thirdPartyTrackingConfigured=!1,this.orgInfo=void 0,this.globalPrivacyControl=navigator?.globalPrivacyControl||!1,this._userSettings=void 0,this.shouldShowModal=!1,this.shouldShowNonmodal=!1,this.shouldShowNotice=!0,d(this,"handleAcceptAllClick","handleAcceptNecessaryClick","handleConfirmClick","handleManagePrivacyClick","handleModalClose","handleNonmodalClose","handleSettingsChange","handleViewSettingsClick")}async componentWillLoad(){var t,i,n,s;this.userSettingsChanged(this.userSettings),this.intl=await c.loadIntlForComponent(this.element);let o=!!(!((t=this.config)===null||t===void 0)&&t.allowPrivacyConfig)&&!(!((i=this._userSettings)===null||i===void 0)&&i.accepted);this.shouldShowNonmodal=o&&!(!((n=this.config)===null||n===void 0)&&n.blocking),this.shouldShowModal=o&&!!(!((s=this.config)===null||s===void 0)&&s.blocking)}componentDidLoad(){var t;!((t=this._userSettings)===null||t===void 0)&&t.accepted||this.hubTelemetry.emit(r.dictionary.category.interaction.action.viewed.label.notice.details.privacy)}userSettingsChanged(t){(this.eueiDisabled||this.globalPrivacyControl)&&(t=Object.assign(Object.assign({},t),{functional:!1,performance:!1,targeting:!1})),this._userSettings=Object.assign({},t)}async handleManagePrivacyClick(){this.shouldShowNotice=!0,this.shouldShowModal=!0,this.shouldShowNonmodal=!1,this.hubTelemetry.emit(r.dictionary.category.interaction.action.open.label.notice.details.privacy)}handleAcceptAllClick(){this._userSettings=Object.assign(Object.assign({},this._userSettings),{accepted:!0,functional:!0,performance:!0,targeting:!0}),this.hubUserPrivacySettingsChanged.emit(this._userSettings),this.shouldShowModal=!1,this.shouldShowNonmodal=!1}handleAcceptNecessaryClick(){this._userSettings=Object.assign(Object.assign({},this._userSettings),{accepted:!0,functional:!1,performance:!1,targeting:!1}),this.hubUserPrivacySettingsChanged.emit(this._userSettings),this.shouldShowModal=!1,this.shouldShowNonmodal=!1}handleViewSettingsClick(){this.shouldShowNotice=!1,this.shouldShowNonmodal=!1,this.shouldShowModal=!0,this.hubTelemetry.emit(r.dictionary.category.interaction.action.open.label.settings.details.privacy)}handleSettingsChange(t){t.stopPropagation(),this._userSettings=Object.assign(Object.assign({},this._userSettings),t.detail)}async handleConfirmClick(){this._userSettings=Object.assign(Object.assign({},this._userSettings),{accepted:!0}),this.hubUserPrivacySettingsChanged.emit(this._userSettings),this.shouldShowModal=!1,this.shouldShowNonmodal=!1}handleModalClose(){this.shouldShowModal=!1}handleNonmodalClose(){this.shouldShowNonmodal=!1}get buttonSecondarySlot(){return this.shouldShowModal?"footer-end":"secondary"}get buttonWidth(){return this.shouldShowModal?"":"full"}renderButtons(){let t=e("calcite-button",{appearance:"outline-fill",key:"view-settings",kind:"brand",onClick:this.handleViewSettingsClick,slot:this.shouldShowModal?"footer-start":"back",width:this.buttonWidth},this.intl.t("notice.reviewSettingsButton")),i=e("calcite-button",{appearance:"outline","data-testid":"secondary",key:"accept-necessary",onClick:this.handleAcceptNecessaryClick,slot:this.buttonSecondarySlot,width:this.buttonWidth},this.intl.t("notice.acceptNecessaryButton")),n=e("calcite-button",{appearance:"solid","data-testid":"secondary",key:"accept-necessary",onClick:this.handleAcceptNecessaryClick,slot:this.buttonSecondarySlot,width:this.buttonWidth},this.intl.t("notice.acceptNecessaryButton")),s=e("calcite-button",{appearance:"solid","data-testid":"secondary",key:"accept-necessary",onClick:this.handleAcceptNecessaryClick,slot:this.buttonSecondarySlot,width:this.buttonWidth},this.intl.t("notice.confirmButton")),o=e("calcite-button",{"data-testid":"primary",key:"accept-all",onClick:this.handleAcceptAllClick,slot:this.shouldShowModal?"footer-end":"primary",width:this.buttonWidth},this.intl.t("notice.acceptAllButton")),y=this.anonTrackingConfigured||this.thirdPartyTrackingConfigured,a;return y?this.eueiDisabled||this.globalPrivacyControl?a=[t,n]:a=[t,i,o]:a=[t,s],a}renderNotice(){return e(l,null,e("arcgis-privacy-consent",{anonTrackingConfigured:this.anonTrackingConfigured,config:this.config,globalPrivacyControl:this.globalPrivacyControl,intl:this.intl,orgInfo:this.orgInfo,slot:this.shouldShowModal?"":"content",thirdPartyTrackingConfigured:this.thirdPartyTrackingConfigured}),this.renderButtons())}renderSettings(){return e(l,null,e("arcgis-privacy-consent",{anonTrackingConfigured:this.anonTrackingConfigured,config:this.config,globalPrivacyControl:this.globalPrivacyControl,intl:this.intl,orgInfo:this.orgInfo,thirdPartyTrackingConfigured:this.thirdPartyTrackingConfigured}),e("arcgis-privacy-settings",{anonTrackingConfigured:this.anonTrackingConfigured,globalPrivacyControl:this.globalPrivacyControl,intl:this.intl,onHubInternalUserPrivacySettingsChanged:this.handleSettingsChange,orgInfo:this.orgInfo,thirdPartyTrackingConfigured:this.thirdPartyTrackingConfigured,userSettings:this._userSettings}),e("calcite-button",{appearance:"solid",onClick:this.handleConfirmClick,slot:"footer-end"},this.intl.t("settings.confirmButton")))}renderModal(){let{shouldShowNotice:t}=this;return e("arcgis-wormhole",{elAttributes:{unthemed:""}},e("calcite-dialog",{closeDisabled:!0,docked:!0,escapeDisabled:!0,heading:this.shouldShowNotice?this.intl.t("notice.heading"):this.intl.t("settings.heading"),modal:!0,onCalciteDialogClose:this.handleModalClose,open:this.shouldShowModal,outsideCloseDisabled:!0,scale:"s",width:t?"m":"s"},this.shouldShowNotice?this.renderNotice():this.renderSettings()))}renderNonmodal(){let t={onHubNonmodalClose:this.handleNonmodalClose,open:this.shouldShowNonmodal};return e("arcgis-hub-nonmodal",Object.assign({},t),e("div",{slot:"header"},this.intl.t("notice.heading")),this.renderNotice())}renderButton(){let t;return this.hideManageButton||(t=e("calcite-button",{appearance:"transparent",kind:"neutral",onClick:this.handleManagePrivacyClick,scale:"l"},this.intl.t("managePrivacyButton"))),t}_render(){return e(l,null,this.renderButton(),this.renderModal(),this.renderNonmodal())}render(){return e(u,{key:"43b4a9b486f5f30c5055c337260635c9a78284fd","data-element":"privacy-preferences"},this._render())}static get assetsDirs(){return["locales"]}get element(){return g(this)}static get watchers(){return{userSettings:["userSettingsChanged"]}}};b.style=S;export{b as arcgis_privacy};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{c as Ee,d as Ie}from"./635V3Q2N.js";import{b as Re}from"./3MGFA2AN.js";import{a as Ae}from"./2WQEISGF.js";import{c as S,d as K,e as z,ea as J,f as B,g as G,h as W,i as b,j as D,k as De,l as E,m as I}from"./CBIG4EMI.js";import{a as Q}from"./UJKN7G7W.js";import{g as M,q as p,w as me,y as V}from"./K3HMF5GC.js";import{a as ye}from"./XP6ZXTST.js";import{b as Pe,d as C,e as Se,f as v,g as H,h as Ke}from"./GJINUBO7.js";import{c as Te}from"./5GNQYAFV.js";import{c as he,f as we,h as be,n as w}from"./BHYFMWFH.js";import{b as P,e as ge}from"./47ZOSUE6.js";import{a as j}from"./HSFPILSC.js";import{e as le,f as ue,m as de,n as L,o as pe}from"./H3CSIYXV.js";import{k as g,n as F}from"./SD326B2E.js";import{b as ce}from"./HZHPBMYE.js";import{a as fe}from"./Y7N6UKCC.js";import{a as U}from"./CU2TSBCT.js";import{c as O}from"./OQOFL4GS.js";import{d as h}from"./KUB4GMLQ.js";import{b as m}from"./A36IL72A.js";import{a as R,b as ae,g as oe,j as ie}from"./ZFP6AZG7.js";import{c as y}from"./2B6D4MGZ.js";import{a as f,k as d,s as ne}from"./HEPYE6RX.js";import{a as u}from"./7GTUV67W.js";var k=async(e,t)=>{let r=e.slug,s=e.orgUrlKey.toLowerCase();r&&!r.startsWith(`${s}|`)&&(r=we(r,s));let{id:n}=e,a=n?{slug:r,existingId:n}:{slug:r};return e.slug=await Ke(a,t),e.typeKeywords=Se(e.typeKeywords,e.slug),e},Ue={map:"map",image:"image"},N={notStarted:"notStarted",inProgress:"inProgress",onHold:"onHold",complete:"complete"},Je="Hub Initiative",ve=2.2,Ye={name:"",tags:[],typeKeywords:["hubInitiativeV2"],catalog:{schemaVersion:0},permissions:[],schemaVersion:ve,status:N.notStarted,features:R,view:{featuredContentIds:[],hero:Ue.map,metricDisplays:[]}},Xe={item:{type:Je,title:"",description:"",snippet:"",tags:[],typeKeywords:["hubInitiativeV2"],properties:{slug:"",schemaVersion:ve}},data:{catalog:{schemaVersion:0},status:N.notStarted,view:{featuredContentIds:[],hero:Ue.map,metricDisplays:[]}}};function Z(){let e=S();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"contacts",storeKey:"data.contacts"}),e.push({entityKey:"timeline",storeKey:"data.timeline"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e.push({entityKey:"followersGroupId",storeKey:"item.properties.followersGroupId"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e}function $e(e,t){return E(e,t)}function q(e,t,r){var s,n;let a;return r.authentication&&(a=r.authentication.token),t=K(e.item,t),t.thumbnailUrl=P(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(s=e.data.view)===null||s===void 0?void 0:s.featuredImageUrl}),t.catalog=V(t.catalog||{}),t.features=D(((n=e.data.settings)===null||n===void 0?void 0:n.features)||{},R),t.links=$e(e.item,r),t}function Ze(e){if(!e)return;let t=ue(e);return t.filters.forEach(r=>{r.predicates.forEach(s=>{s.group&&(s.group.not=[...s.group.any||[],...s.group.all||[]],s.group.any=[],s.group.all=[])})}),t}function xe(e,t){let r=e.filter(s=>!s.startsWith("status|"));return r.push(`status|${t}`),r}async function br(e,t){let r=Object.assign(Object.assign({},Ye),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=C(r.name,r.orgUrlKey)),await k(r,t),r.typeKeywords=xe(r.typeKeywords,r.status),r.typeKeywords=M(r.typeKeywords,r.isDiscussable);let s=new p(Z()),n=s.entityToStore(r,f(Xe));n=await B(n,t);let a=s.storeToEntity(n,{});return a=q(n,a,t),a}async function Pr(e,t){await k(e,t),e.typeKeywords=xe(e.typeKeywords,e.status),e.typeKeywords=M(e.typeKeywords,e.isDiscussable);let r=await z(e.id,t),s=new p(Z()),n=s.entityToStore(e,r),a=await G(n,t),o=s.storeToEntity(a,e);return o=q(r,o,t),o}function Sr(e,t){let r;return U(e)?r=h(e,t):r=v(e,t),r.then(s=>s?qe(s,t):null)}async function Kr(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function qe(e,t){let r=await I(e,t),n=new p(Z()).storeToEntity(r,{});return q(r,n,t)}async function et(e,t,r){let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:y(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:g(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{s[c.prop]=u(i,c.path)}),s.links=$e(e,r),s}function Dr(e){let t=Re("Hub Project",`initiative|${e.id}`),r=u(e,"catalog.scopes.item");return t=Ae([t,Ze(r)]),t}var X="Hub Project",ee=1.2,Er={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:ee,status:N.notStarted,tags:[],typeKeywords:[X],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:R},Ir={item:{type:X,title:"",description:"",snippet:"",tags:[],typeKeywords:[X],properties:{slug:"",schemaVersion:ee}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:N.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function ke(e,t){return E(e,t)}function tt(e){if(e.schemaVersion>=1.2)return e;let t=f(e);return t.view&&t.view.timeline&&t.view.timeline.stages&&Array.isArray(t.view.timeline.stages)&&(t.view.timeline.stages=t.view.timeline.stages.filter(r=>!!r.title)),t.schemaVersion=1.2,t}function rt(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:s,typeKeywords:n}=W(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=s,t.typeKeywords=n,t.schemaVersion=1.1,t}function st(e){if(e.schemaVersion===ee)return e;let t=rt(e);return t=tt(t),t}function nt(e,t,r){var s,n;let a;return r.authentication&&(a=r.authentication.token),t=K(e.item,t),t.thumbnailUrl=P(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(s=e.data.view)===null||s===void 0?void 0:s.featuredImageUrl}),t.catalog=V(t.catalog||{}),t.features=D(((n=e.data.settings)===null||n===void 0?void 0:n.features)||{},ae),t.links=ke(e.item,r),t=st(t),t}function at(){let e=S();return e.push({entityKey:"status",storeKey:"data.status"}),e.push({entityKey:"catalog",storeKey:"data.catalog"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"metrics",storeKey:"item.properties.metrics"}),e}function te(){let e=S();return["headContent","layout"].forEach(r=>{e.push({entityKey:r,storeKey:`data.values.${r}`})}),e}function Ne(e,t){let r=E(e,t),s=F(e.type,De(e,!0),e.typeKeywords);return Object.assign(Object.assign({},r),{siteRelative:s,layoutRelative:`/pages/${e.id}/edit`})}function ot(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:s,typeKeywords:n}=W(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=s,t.typeKeywords=n,t.schemaVersion=1.1,t}function it(e){return e.schemaVersion===1.1?e:ot(e)}function re(e,t,r){var s;let n;r.authentication&&(n=r.authentication.token),t=K(e.item,t);let a=P(e.item,r,n);return t.thumbnailUrl=a,t.links=Ne(e.item,r),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},oe),t=it(t),t}function ct(e,t){let{id:r,slug:s,orgKey:n}=be(e);if(r)return h(r,t);let a=Te(s,n||t.siteOrgKey),o=he(a);return H({slug:o},t).then(i=>{if(i.length)return i;{let c=o.split("|").slice(1).join("|");return H({slug:c},t)}}).then(i=>i.length?h(i[0].id,t):null)}async function Tr(e,t){let r=Object.assign(Object.assign({},Ee),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=C(r.name,r.orgUrlKey)),await k(r,t);let s=new p(te()),n=s.entityToStore(r,f(Ie));n=await B(n,t);let a=s.storeToEntity(n,{});return a=re(n,a,t),a}async function Ar(e,t){await k(e,t);let r=await z(e.id,t),s=new p(te()),n=s.entityToStore(e,r),a=await G(n,t),o=s.storeToEntity(a,e);return o=re(r,o,t),o}async function Rr(e,t){let r=await ct(e,t);return r?ut(r,t):null}function lt(e,t){let s=new p(te()).storeToEntity(e,{});return re(e,s,t)}async function ut(e,t){let r=await I(e,t);return lt(r,t)}async function Ur(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function dt(e,t,r){let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:y(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:g(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{s[c.prop]=u(i,c.path)}),s.links=Ne(e,r),s}function pt(){let e=S();return e.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),e}function _e(e,t){var r;let s=E(e,t),n=(r=e.typeKeywords)===null||r===void 0?void 0:r.includes("Deployed"),{self:a,siteRelative:o,workspaceRelative:i}=s,c=`${o.split("/").slice(0,-1).join("/")}/edit/advanced`;return Object.assign(Object.assign({},s),{workspaceRelative:n?a:i,advancedEditRelative:c})}var je=e=>{let t="Solution",r=e.typeKeywords.find(s=>s.startsWith("hubSolutionType|"));if(r){let s=r.split("|")[1];t=fe(s).split("-").map(a=>ne(a)).join(" ");let n={storyMap:"StoryMap"};n[s]&&(t=n[s])}return t};function ft(e,t,r){return t=K(e.item,t),t.links=_e(e.item,r),t.thumbnailUrl=t.links.thumbnail,t.features=D(u(e,"data.settings.features")||{},ie),t.isDeployed=(u(e,"item.typeKeywords")||[]).includes("Deployed"),t.deployedType=je(e.item),t}function $(e){return e==null||e===""}function T(e,t){let r=null,s=t.filter(n=>n.predicates.find(a=>!$(a[e])));if(s.length>1)throw new Error(`Only 1 IFilter can have a '${e}' predicate but ${s.length} were detected`);if(s.length){let n=s[0],a=n.predicates.filter(l=>!$(l[e]));if(a.length>1)throw new Error(`Only 1 '${e}' predicate is allowed but ${a.length} were detected`);if(n.operation!=="AND"&&n.predicates.length>1)throw new Error(`'${e}' predicates cannot be OR'd to other predicates`);let o=a[0],i=o[e];if(!(typeof i=="string"||typeof i=="boolean"))throw new Error(`'${e}' predicate must be a string or boolean primitive. string[] and IMatchOptions are not allowed.`);r=o}return r}function mt(e){let r=e.filters.map(yt).filter(Fe),s=se(r,"AND"),n=T("bbox",e.filters);return n&&(s.params={bbox:n.bbox}),s}function Fe(e){return!(typeof e>"u"||e===null||e==="")}function se(e,t){return e.reduce((s,n)=>(Object.entries(n).forEach(([a,o])=>{s[a]&&o!==""?s[a]=`${s[a]} ${t} ${o}`:o!==""&&(s[a]=o)}),s),{q:""})}function yt(e){let t=e.operation||"AND",r=e.predicates.map(le),s=r.map(gt).filter(a=>a!=null),n=se(s,t);return r.length>1&&(n.q=`(${n.q})`),n}function gt(e){let t=["created","modified"],r=["isopendata","isviewonly","isleavingdisallowed"],s=["searchUserAccess","searchUserName","memberType","name","categoriesAsParam","categoryFilter","bbox","joined"],n=["filterType","term",...t,...r,...s],a=["access","capabilities","created","categories","categoriesAsParam","categoryFilter","contentstatus","description","disabled","email","emailstatus","firstname","fullname","group","id","isInvitationOnly","isopendata","isleavingdisallowed","membershipaccess","joined","lastlogin","lastname","memberType","modified","name","orgid","orgIds","owner","provider","role","searchUserAccess","searchUserName","snippet","tags","term","title","type","typekeywords","userlicensetype","username","isviewonly"],o=Object.entries(e).map(([i,c])=>{if(a.includes(i)){let l={q:""};return!n.includes(i)&&i!=="term"&&(l.q=ht(i,c)),(t.includes(i)||bt(c))&&(l.q=wt(i,c)),r.includes(i)&&(l.q=`${i}:${c}`),s.includes(i)&&(i==="joined"?l[i]=`${c.from},${c.to}`:l[i]=c),i==="term"&&(l.q=c),l}}).filter(Fe);if(o.length){let i=se(o,"AND");return i.q&&(i.q=`(${i.q})`),i}else return null}function ht(e,t){var r,s,n;let a="";return!((r=t.any)===null||r===void 0)&&r.length&&(a=`${Y("OR",e,t.any)}`),!((s=t.all)===null||s===void 0)&&s.length&&(a=(a?a+" AND ":"")+`${Y("AND",e,t.all)}`),!((n=t.not)===null||n===void 0)&&n.length&&(a=(a?a+" AND ":"")+`${Y("OR",`-${e}`,t.not)}`),a}function wt(e,t){return`${e}:[${t.from} TO ${t.to}]`}function Y(e,t,r){let s="";return Array.isArray(r)&&r.length?(s=`${t}:"${r.join(`" ${e} ${t}:"`)}"`,r.length>1&&(s=`(${s})`)):s=`${t}:"${r}"`,s}function bt(e){return typeof e=="object"&&e!==null&&["from","to"].every(t=>typeof e[t]<"u")}function Le(e,t,r,s){let n=f(e);return e.authentication&&(n.authentication=j.deserialize(e.authentication.serialize())),u(e,"requestOptions.authentication")&&(n.requestOptions.authentication=j.deserialize(e.requestOptions.authentication.serialize())),n.start=t>-1?t:r+1,()=>s(n)}async function vr(e,t){let r;return U(e)?r=h(e,t):r=v(e,t),r.then(s=>s?Pt(s,t):null)}async function Pt(e,t){let r=await I(e,t),n=new p(pt()).storeToEntity(r,{});return ft(r,n,t)}async function St(e,t,r){let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:y(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:g(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{s[c.prop]=u(i,c.path)}),s.links=_e(e,r),s.deployedType=je(e),s}function Oe(e){var t;return!((t=e.aggregations)===null||t===void 0)&&t.counts?e.aggregations.counts.map(r=>({mode:"terms",field:r.fieldName,values:r.fieldValues})):[]}async function Me(e,t,r){let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,tags:e.tags,typeKeywords:e.typeKeywords,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:y(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:g(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{s[c.prop]=u(i,c.path)}),s.links.thumbnail=P(e,r),s.links.self=ce(s.id,r),s.links.siteRelative=F(s.type,s.id,e.typeKeywords),s.links.workspaceRelative=me(s.type,s.id),s}async function Kt(e,t,r){let s=await Me(e,t,r),n=ge(e,r);return s.links.thumbnail||(s.links.thumbnail=n),s}async function $r(e,t){let r;return U(e)?r=h(e,t):r=v(e,t),r.then(s=>s?Dt(s,t):null)}async function Dt(e,t){let r=await I(e,t),n=new p(at()).storeToEntity(r,{});return nt(r,n,t)}async function Et(e,t,r){let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:y(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:g(e),rawResult:e};t=[...[],...t].filter(d);let a=t.map(b),o=m("enrichment",a).filter(d),i={};return o.length&&(i=await w(e,o,r)),a.forEach(c=>{s[c.prop]=u(i,c.path)}),s.links=ke(e,r),s}async function xr(e,t){let r=de(e),s=Ve(t,r);return He(s)}function kr(e,t){let r=Ve(t,e);return Ce(r)}function Ve(e,t){var r;if(!e.requestOptions)throw new ye("portalSearchItems","options.requestOptions is required.");let s=pe(t),n=mt(s);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(o=>{Object.prototype.hasOwnProperty.call(e,o)&&(n[o]=e[o])}),e.requestOptions.authentication?n.authentication=e.requestOptions.authentication:n.portal=e.requestOptions.portal,!((r=e.aggFields)===null||r===void 0)&&r.length&&(n.countFields=e.aggFields.join(","),n.countSize=e.aggLimit||10),n}async function Ce(e){let t=await O(e),r=Oe(t);return{total:t.total,results:t.results,aggregations:r,hasNext:t.nextStart>-1,next:Le(e,t.nextStart,t.total,Ce),executedQuerySize:L(e.q)}}async function He(e){let t=await O(e),r=a=>Qe(a,e.include,e.requestOptions),s=await Promise.all(t.results.map(r)),n=Oe(t);return{total:t.total,results:s,aggregations:n,hasNext:t.nextStart>-1,next:Le(e,t.nextStart,t.total,He),executedQuerySize:L(e.q)}}async function Qe(e,t=[],r){let s=Me;switch(e.type){case"Hub Site Application":case"Site Application":s=J;break;case"Hub Page":case"Site Page":s=dt;break;case"Hub Project":s=Et;break;case"Hub Initiative":s=et;break;case"Solution":s=St;break;case"Web Mapping Application":e.typeKeywords.includes("hubSite")&&(s=J);break;case"Image":s=Kt;break}return s(e,t,r)}function Nr(e,t){let r=new URL(t.requestOptions.hubApiUrl).hostname;return e.targetEntity==="discussionPost"?`https://${r}/api/search/v2/collections/discussion-post`:`https://${r}/api/search/v1/collections/all`}function It(e){return e.filters.map(Tt).filter(ze).join(" AND ")}function Tt(e){let t=e.operation||"OR";return`(${e.predicates.map(At).filter(ze).join(` ${t} `)})`}function At(e){return`(${Object.entries(e).filter(([r,s])=>r!=="term"&&r!=="bbox"&&r!=="fields"&&r!=="flatten"&&!$(s)).reduce((r,[s,n])=>{let a;return typeof n=="string"||typeof n=="boolean"?a=x(s,n):Array.isArray(n)?a=vt(s,n):Rt(n)?a=Ut(s,n):a=$t(s,n),r.push(a),r},[]).join(" AND ")})`}function Rt(e){return Number.isInteger(e.from)&&Number.isInteger(e.to)}function Ut(e,t){return`${e} BETWEEN ${t.from} AND ${t.to}`}function x(e,t){let r=typeof t=="string"?_(t):t;return`${e}=${r.toString()}`}function vt(e,t){let r=t.map(_);return`${e} IN (${r.join(", ")})`}function $t(e,t){let r=xt(e,t.any),s=kt(e,t.all),n=Nt(e,t.not);return[r,s,n].filter(a=>!!a).join(" AND ")}function xt(e,t){let r;if(Array.isArray(t)){let s=t.map(_);r=`${e} IN (${s.join(", ")})`}else t&&(r=x(e,t));return r}function kt(e,t){let r;return Array.isArray(t)?r=t.map(s=>x(e,s)).join(" AND "):t&&(r=x(e,t)),r}function Nt(e,t){let r;if(t){let n=(Array.isArray(t)?t:[t]).map(_);r=`${e} NOT IN (${n.join(", ")})`}return r}function _(e){return/\s/.test(e)?`'${e}'`:e}function ze(e){return e!=="()"}function _t(e){let t=T("term",e.filters);return t?.term}function jt(e){let t=T("bbox",e.filters);return t?.bbox}function Ft(e){let t=Object.entries(e).filter(([r,s])=>!$(s)).map(([r,s])=>`${r}=${encodeURIComponent(s)}`).join("&");return t&&`?${t}`}async function Lt(e,t,r){let s=f(t),n=e+Ft(s),o=await(r.requestOptions.fetch||fetch)(n,{method:"GET"});if(!o.ok)throw new Pe(o.statusText,n,o.status);return o.json()}function Ot(e){let t=T("fields",e.filters);return t?.fields}function Mt(e){let t=T("flatten",e.filters);return t?.flatten}function Vt(e){let{sortField:t,sortOrder:r}=e,s;return t&&(s=r==="desc"?`-properties.${t}`:`properties.${t}`),s}function Ct(e,t){let r=It(e),s=u(t,"requestOptions.authentication.token"),n=t.num,a=t.start,o=_t(e),i=Vt(t),c=jt(e),l=Mt(e),Ge=Ot(e);return{filter:r,token:s,limit:n,startindex:a,q:o,sortBy:i,bbox:c,flatten:l,fields:Ge}}async function Ht(e,t,r){let s=e.properties,n=await Qe(s,t,r);return n.source=e.properties.source,n.license=e.properties.license,n}function Qt(e){return Promise.resolve({id:e.id,name:e.properties.title,summary:e.properties.body,createdDate:new Date(e.properties.createdAt),createdDateSource:"properties.createdAt",updatedDate:new Date(e.properties.updatedAt),updatedDateSource:"properties.updatedAt",type:"post",owner:e.properties.creator,location:null,created:new Date(e.properties.createdAt),modified:new Date(e.properties.updatedAt),title:e.properties.title,rawResult:e,access:null,family:null})}var A={searchOgcItems:zt,formatOgcItemsResponse:Bt,formatDiscussionPostTargetEntityResponse:Gt,formatItemTargetEntityResponse:Be,getNextOgcCallback:Wt};async function zt(e,t,r){let s=Ct(t,r),n=await Lt(e,s,r);return A.formatOgcItemsResponse(n,e,t,r)}async function Bt(e,t,r,s){return r.targetEntity==="discussionPost"?A.formatDiscussionPostTargetEntityResponse(e,t,r,s):Be(e,t,r,s)}async function Gt(e,t,r,s){let n=await Promise.all(e.features.map(i=>Qt(i))),a=A.getNextOgcCallback(e,t,r,s),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:n,hasNext:!!o,next:a}}async function Be(e,t,r,s){let n=await Promise.all(e.features.map(i=>Ht(i,s.include,s.requestOptions))),a=A.getNextOgcCallback(e,t,r,s),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:n,hasNext:!!o,next:a}}function Wt(e,t,r,s){let n=e.links.find(o=>o.rel==="next"),a=()=>null;return n&&(a=()=>{let i=+new URL(n.href).searchParams.get("startindex"),c=Object.assign(Object.assign({},s),{start:i});return A.searchOgcItems(t,r,c)}),a}export{k as a,Ue as b,N as c,Ye as d,Ze as e,xe as f,br as g,Pr as h,Sr as i,Kr as j,qe as k,et as l,Dr as m,Er as n,Ir as o,nt as p,at as q,ct as r,Tr as s,Ar as t,Rr as u,lt as v,ut as w,Ur as x,dt as y,pt as z,ft as A,mt as B,Le as C,vr as D,Pt as E,St as F,Me as G,Kt as H,$r as I,Dt as J,Et as K,xr as L,kr as M,Nr as N,It as O,_t as P,jt as Q,Lt as R,zt as S};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as g,c as u}from"./L3H4QXUA.js";import{e as c}from"./BMRPHSYL.js";var f="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(","),L=new Set(f),i="en",$={pt:"pt-PT",nb:"no",nn:"no",zh:"zh-CN"},b=async(n,o,r="")=>{let e=`${o}/${r}`,t=`${e}${n}.json`;return l[t]??(l[t]=p(n,e)),await l[t]},l={},p=async(n,o)=>{let r=`${o}${n}.json`;try{let e=await fetch(r);if(e.ok)return await e.json()}catch(e){return c("error","intl",`An unknown error occurred while fetching localization strings at ${r}`,{detail:{error:e}}),{}}return n===i?{}:await p(i,o)},k=n=>{let o=u(n,"lang",globalThis.navigator?.language||i);return{lang:o,t9nLocale:h(o)}},h=n=>{let[o,r]=n.split("-"),e=o.toLowerCase(),t=e;return r&&(t=`${e}-${r.toUpperCase()}`),t=$[t]??t,L.has(t)?t:r?h(e):i},C=(n,o,r,e)=>{let t,s=()=>v(n,o(),e).then(a=>{(t?.lang!==a.lang||t.t9nLocale!==a.t9nLocale||t.t9nStrings!==a.t9nStrings)&&r(a),t=a}).catch(a=>{c("error","intl","Error updating component locale state",{detail:{error:a}})});return queueMicrotask(s),g(n,["lang"],s)},v=async(n,o,r=n.localName.split("-").slice(1).join("-"))=>{let{lang:e,t9nLocale:t}=k(n),s=`${o}/${r}/t9n`,d=r===null?{}:await b(t,s,"messages.");return{lang:e,t9nLocale:t,t9nStrings:d}};export{b as a,k as b,C as c};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{M as a}from"./CBIG4EMI.js";async function s(i,n){let{isHub:t}=i;if(t===void 0)try{t=await a(globalThis.location.hostname,n)}catch{t=!1}return{isHub:t}}export{s as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function o(e,i){let n=e||[],l=i||[],s=!!n.filter(t=>!l.includes(t)).length,d=!!l.filter(t=>!n.includes(t)).length;return s||d}export{o as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as f}from"./XI72UBIK.js";import{a as b}from"./WBUC7HJI.js";import{b as g}from"./SD326B2E.js";import{a as _}from"./HZHPBMYE.js";import{h as p}from"./FZ7ZK37I.js";import{c as m}from"./A36IL72A.js";import{a as h}from"./P7D42LBQ.js";import{a as o}from"./HEPYE6RX.js";import{a as u}from"./7GTUV67W.js";function E(e,t){let r={sites:10,entities:50},s=e.type==="site"?"sites":"entities",i=o(t.entries),n=i.filter(a=>a.type==="site"),c=i.filter(a=>a.type!=="site");return e.type==="site"?i=n:i=c,i=i.filter(a=>a.id!==e.id),i.length<r[s]||i.pop(),i.unshift(e),e.type==="site"?t.entries=[...i,...c]:t.entries=[...n,...i],t}function P(e,t){let r=o(t);return r.entries=r.entries.filter(s=>s.id!==e.id),r}function $(e){let t=JSON.stringify(e).length*2,r=t/1024,s=r/1024;return{bytes:t,kilobytes:r,megabytes:s}}async function U(e,t,r,s,i=!1){if($(e.data).megabytes>4.95)throw new Error("User Resource is too large to store. Please ensure it is less than 5MB in size");let n=e.data;if(!i){let H=await f(d,{})(t,e.key,r,s);n=Object.assign(Object.assign({},H),e.data)}let c={portal:r,httpMethod:"POST",params:{text:JSON.stringify(n),access:e.access,key:e.key,token:s}};return p(`${r}/sharing/rest/community/users/${t}/addResource`,c)}function d(e,t,r,s){let i={portal:r};return p(`${r}/sharing/rest/community/users/${e}/resources/${t}?token=${s}`,i)}var y="self",v="hub-site-settings.json",O="hubforarcgis",k="hub-settings.json";function T(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function R(e){return o(e)}function w(e){let t=o(e);return t=A(t),t}function A(e){return e.schemaVersion<1.1&&(e.schemaVersion=1.1,T(e,"preview")&&(e.features=o(e.preview),delete e.preview,delete e.features.workspace),e.features||(e.features={})),e}async function I(e,t,r){let i=await f(d,F(e))(e,k,t,r);return w(i)}function F(e){return{schemaVersion:1.1,username:e,updated:new Date().getTime(),features:{workspace:!0}}}async function W(e,t,r=!1){let s=t.tokenFor(y);if(s)return e.updated=new Date().getTime(),e.username=t.currentUser.username,U({key:v,data:e,access:"userappprivate"},t.currentUser.username,t.portalUrl,s,r);throw new Error("No user-app-resource token available to store Site Settings")}async function Q(e){let t=e.tokenFor(y);if(t){let r=await d(e.currentUser.username,v,e.portalUrl,t);return R(r)}else return Promise.resolve(null)}async function N(e,t,r=!1){let s=t.tokenFor(O);if(s)return e.updated=new Date().getTime(),e.username=t.currentUser.username,U({key:k,data:e,access:"userappprivate"},t.currentUser.username,t.portalUrl,s,r);throw new Error("No user-app-resource token available to store Site Settings")}async function X(e){let t=e.tokenFor(O);return t?await I(e.currentUser.username,e.portalUrl,t):Promise.resolve(null)}function G(e,t){let r=null;return e?.thumbnail&&(r=`${_(e)}/sharing/rest/portals/${e.id}/resources/${e.thumbnail}`,t&&e.access!=="public"&&(r=`${r}?token=${t}`)),r}var j="/apps/sites",q="home",l={domains:"/api/v3/domains",search:"/api/v3/datasets",discussions:"/api/discussions/v1",ogcRecords:"/api/search/v1",assistant:"/api/assistants/v1"},B={qaext:["da45c26e67764c79840928cd8d05561a"],devext:[],production:["e3db35f7de63451f8243415445694761"],enterprise:[],"enterprise-k8s":[]},S=class{constructor(t){this._portalUrl="https://www.arcgis.com",this._featureFlags={},this._trustedOrgIds=[],this._trustedOrgs=[],this._userResourceTokens=[],this.id=t.id,this._portalUrl=t.portalUrl,this._hubUrl=t.hubUrl,this._serviceStatus=t.serviceStatus,t.authentication&&(this._authentication=t.authentication),t.portalSelf&&(this._portalSelf=t.portalSelf),t.portalSettings&&(this._portalSettings=t.portalSettings),t.currentUser&&(this._currentUser=t.currentUser),t.properties&&(this._properties=t.properties),t.trustedOrgIds&&(this._trustedOrgIds=t.trustedOrgIds),t.trustedOrgs&&(this._trustedOrgs=t.trustedOrgs),this._featureFlags=t.featureFlags||{},this._userResourceTokens=t.userResourceTokens||[],this._userHubSettings=t.userHubSettings||{schemaVersion:1}}get session(){return this._authentication}get isAuthenticated(){return!!this._authentication}get featureFlags(){return this._featureFlags}get isAlphaOrg(){var t,r;let s=!1,i=((t=this._properties)===null||t===void 0?void 0:t.alphaOrgs)||[],n=(r=this._portalSelf)===null||r===void 0?void 0:r.id;return i.length&&n&&(s=i.includes(n)),s}get isBetaOrg(){var t,r;let s=!1,i=((t=this._properties)===null||t===void 0?void 0:t.betaOrgs)||[],n=(r=this._portalSelf)===null||r===void 0?void 0:r.id;return i.length&&n&&(s=i.includes(n)),s}get environment(){return g(this._portalUrl)}get userRequestOptions(){if(this.isAuthenticated)return{authentication:this._authentication,portal:this.sharingApiUrl}}get requestOptions(){let t={portal:this.sharingApiUrl};return this.isAuthenticated&&(t={authentication:this._authentication,portal:this.sharingApiUrl}),t}get hubRequestOptions(){return{authentication:this.session,isPortal:this.isPortal,portalSelf:this.portal,hubApiUrl:this.hubUrl,portal:this.sharingApiUrl}}get portalUrl(){return this.isAuthenticated?this.isPortal||!this._portalSelf.urlKey?`https://${this._portalSelf.portalHostname}`:`https://${this._portalSelf.urlKey}.${this._portalSelf.customBaseUrl}`:this._portalUrl}get hubHomeUrl(){if(this.isPortal)return`${this.portalUrl}${j}/#/${q}`;if(this.isAuthenticated){let t=this._hubUrl.replace("https://","");return`https://${this._portalSelf.urlKey}.${t}`}else return this._hubUrl}get hubLicense(){return this.isPortal?"enterprise-sites":this.hubEnabled?"hub-premium":"hub-basic"}get serviceStatus(){return this._serviceStatus}get sharingApiUrl(){return`${this.portalUrl}/sharing/rest`}get hubUrl(){return this._hubUrl}get isPortal(){let t=g(this._portalUrl);return h(this._portalSelf,"isPortal",t==="enterprise")}get discussionsServiceUrl(){if(this._hubUrl)return`${this._hubUrl}${l.discussions}`}get hubSearchServiceUrl(){if(this._hubUrl)return`${this._hubUrl}${l.search}`}get domainServiceUrl(){if(this._hubUrl)return`${this._hubUrl}${l.domains}`}get ogcApiUrl(){if(this._hubUrl)return`${this._hubUrl.replace("hub","opendata")}${l.ogcRecords}`}get assistantApiUrl(){if(this._hubUrl)return`${this._hubUrl}${l.assistant}`}get eventsConfig(){return u(this._portalSelf,"portalProperties.hub.settings.events")}get hubEnabled(){return h(this._portalSelf,"portalProperties.hub.enabled",!1)}get communityOrgId(){return u(this._portalSelf,"portalProperties.hub.settings.communityOrg.orgId")}get enterpriseOrgId(){return u(this._portalSelf,"portalProperties.hub.settings.enterpriseOrg.orgId")}get communityOrgHostname(){return u(this._portalSelf,"portalProperties.hub.settings.communityOrg.portalHostname")}get communityOrgUrl(){if(this.communityOrgHostname)return`https://${this.communityOrgHostname}`}get helperServices(){return h(this._portalSelf,"helperServices",[])}get currentUser(){return this._currentUser}get portal(){return this._portalSelf}get portalSettings(){return this._portalSettings}get properties(){return this._properties}get trustedOrgIds(){return this._trustedOrgIds}get trustedOrgs(){return this._trustedOrgs}get isCommunityOrg(){let t=!1;return t=u(this._portalSelf,"portalProperties.hub.settings.orgType")==="community",t}get isOrgAdmin(){let{_currentUser:t}=this,r=!1;return t&&(r=t.role==="org_admin"&&!t.roleId),r}get userResourceTokens(){return this._userResourceTokens}get userHubSettings(){return this._userHubSettings}get orgThumbnailUrl(){var t;return G(this.portal,(t=this.session)===null||t===void 0?void 0:t.token)}get survey123Url(){var t;return`https://survey123${(t={qaext:"qa",devext:"dev"}[this.environment])!==null&&t!==void 0?t:""}.arcgis.com`}tokenFor(t){let r=this._userResourceTokens.find(s=>s.app===t);if(r)return r.token}refreshUser(){let t={authentication:this.session,portal:this.sharingApiUrl,username:this.session.username};return b(t).then(r=>{this._currentUser=r})}get history(){return this._userHubSettings.history||{entries:[]}}get resourceGroupIDs(){return B[this.environment]}checkPermission(t,r){return m(t,this,r)}async addToHistory(t){if(!this.isAuthenticated||!this.checkPermission("hub:feature:history").access)return;let s=E(t,this.history);return this._userHubSettings.history=s,this.updateUserHubSettings(this._userHubSettings)}async clearHistory(){if(!this.isAuthenticated||!this.checkPermission("hub:feature:history").access)return;let r={entries:[]};return this._userHubSettings.history=r,this.updateUserHubSettings(this._userHubSettings)}async removeFromHistory(t){if(!this.isAuthenticated||!this.checkPermission("hub:feature:history").access)return;let s=P(t,this.history);return this._userHubSettings.history=s,this.updateUserHubSettings(this._userHubSettings)}async updateUserHubSettings(t){if(!this._authentication)throw new Error("Cannot update user hub settings without an authenticated user");await N(t,this,!0),this._userHubSettings=t,Object.keys(h(t,"features",{})).forEach(r=>{let s=u(t,`features.${r}`);this._featureFlags[`hub:feature:${r}`]=s})}};export{E as a,P as b,$ as c,I as d,W as e,Q as f,N as g,X as h,G as i,j,q as k,S as l};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var s=t=>{t=t.filter(e=>e);let r=t[0].targetEntity;if(t.some(e=>e.targetEntity!==r))throw new Error("Cannot combine queries for different entity types");let n=t.reduce((e,o)=>[...e,...o.filters],[]);return{targetEntity:r,filters:n}};export{s as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import b from"./733IZVMO.js";import a from"./C27C7ZCS.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{xa:s},{Q:a,R:n}])=>{var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,f=(t,r,i,S)=>{for(var o=d(r,i),p=t.length-1,m;p>=0;p--)(m=t[p])&&(o=m(r,i,o)||o);return o&&c(r,i,o),o},g=t=>s(t),h=(t,r)=>{r.rotated=t},e=class extends a{get rotatedState(){return g(this._config)}set rotatedState(r){h(r,this._config)}};f([n],e.prototype,"rotatedState");return e},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a,b)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var t={section:"Section",control:"Control",layout:"Layout",slot:"Slot",notice:"Notice",text:"Text"};export{t as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var b=(n,...r)=>{r.forEach(i=>{if(typeof n[i]!="function")throw new Error(`Cannot bind context. ${i} must be a function`);n[i]=n[i].bind(n)})};export{b as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as r}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import{a as o}from"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as i,d as n,e as s,i as a}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var h={required:["countdownDate"],type:"object",properties:{cardTitle:{type:"string"},countdownDate:{type:"string",format:"date"}}},E=class{constructor(t){a(this,t),this.arcgisCountdownEditorChange=s(this,"arcgisCountdownEditorChange",7),this.values={}}handleEditorChangeEvent(t){t.stopPropagation(),this.arcgisCountdownEditorChange.emit(t.detail)}async componentWillLoad(){this.intl=await r.loadIntlForComponent(this.element)}get schema(){let t=o(h),c=e=>this.intl.t(e);return Object.entries(t.properties).forEach(([e,d])=>{d.title=c(e)}),t}render(){return i("arcgis-configuration-editor",{key:"477ef685c919ef285f816fa0d24671ddfa53f68b",schema:this.schema,values:this.values})}static get assetsDirs(){return["locales"]}get element(){return n(this)}};export{E as arcgis_countdown_editor};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import a from"./733IZVMO.js";export default $arcgis.t(([,,,,,,,,,,,,,,,{t:o}])=>{var B=(e,i)=>o(i.series?.[e])?i.series?.[e].hideOversizedSideBySideLabels:void 0,n=(e,i,r)=>{o(r.series?.[i])&&(r.series[i].hideOversizedSideBySideLabels=e)},x=(e,i)=>o(i.series?.[e])?i.series?.[e].hideOversizedStackedLabels:void 0,E=(e,i,r)=>{[i!==void 0?r.series?.[i]:r.series].flat().forEach(t=>{o(t)&&(t.hideOversizedStackedLabels=e)})};return{a:B,b:n,c:x,d:E}},"Graphic","renderers/support/jsonUtils","symbols/support/symbolUtils","intl","layers/support/FeatureFilter","smartMapping/statistics/histogram","smartMapping/statistics/summaryStatistics","request","core/sql","AttributeBinsGraphic","geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils",a)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as g}from"./A6FB2POK.js";import{a as o}from"./PWESAKVV.js";import c from"./K5O2OVOP.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import{a as m}from"./37IO4VH2.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import{a as p}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import b from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as u}from"./YCEXTCZD.js";import"./5V53QYYF.js";import"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import"./7GTUV67W.js";import"./USNX342T.js";import{b as a,c as _,d as y,e as d,i as v}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([,,{f:b}])=>{var w=".sc-arcgis-boundary-picker-ui-h{display:block}@media (min-width: 640px){.row.sc-arcgis-boundary-picker-ui{display:flex}.row.sc-arcgis-boundary-picker-ui{flex-direction:row-reverse}}arcgis-hub-map-view.sc-arcgis-boundary-picker-ui{height:300px;position:relative;margin-bottom:1rem;width:100%}@media (min-width: 640px){arcgis-hub-map-view.sc-arcgis-boundary-picker-ui{margin-bottom:0px}}arcgis-hub-map-view.sc-arcgis-boundary-picker-ui .arcgis-boundary-map-overlay.sc-arcgis-boundary-picker-ui{position:absolute;top:0px;left:0px;z-index:10;display:flex;height:100%;width:100%;flex-direction:column;justify-content:center;background-color:#0000004d;color:var(--calcite-color-text-inverse)}.arcgis-boundary-none-message.sc-arcgis-boundary-picker-ui{text-align:center}calcite-list.sc-arcgis-boundary-picker-ui{width:100%;background-color:var(--calcite-color-foreground-3);padding:1rem;color:var(--calcite-color-text-3)}@media (min-width: 640px){calcite-list.sc-arcgis-boundary-picker-ui{max-width:20rem}}.buttons.sc-arcgis-boundary-picker-ui{display:flex;justify-content:flex-end;padding:1rem}.buttons.sc-arcgis-boundary-picker-ui calcite-button.sc-arcgis-boundary-picker-ui{margin-left:0.5rem}",G=w,E=function(e,t,i,s){var n=arguments.length,r=n<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,c;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var h=e.length-1;h>=0;h--)(c=e[h])&&(r=(n<3?c(r):n>3?c(t,i,r):c(t,i))||r);return n>3&&r&&Object.defineProperty(t,i,r),r},f=1.5,l="none",k=class{constructor(e){v(this,e),this.arcgisBoundaryPickerUpdate=d(this,"arcgisBoundaryPickerUpdate",7),this.arcgisBoundaryPickerCancel=d(this,"arcgisBoundaryPickerCancel",7),this.arcgisBoundaryPickerSave=d(this,"arcgisBoundaryPickerSave",7),this.state=void 0,this.authenticated=!1,this.sources=void 0,this.extent=void 0,this.resetDrawingToolsOnDisconnect=!0,this._selected=void 0,this._savedEditState=void 0,this._view=void 0,this._editGeometry=void 0,this._updatedGeometry=void 0,m(this,"handleSave","handleCancel","handleEditClick","handleCancelEditClick","handleSaveEditClick","_setMapDrawElement")}get _editing(){return!!this._editGeometry}get _selectedGraphic(){var e;return(e=this._selected)===null||e===void 0?void 0:e.graphic}get _selectedGraphics(){let e=this._selectedGraphic;return e&&!e.symbol&&e.geometry&&e.geometry.type&&(e.symbol=b()),this._editing?[]:[e]}get _selectedValue(){var e;return(e=this._selected)===null||e===void 0?void 0:e.value}get _isNone(){return this._selectedValue===l}get _initialSelection(){var e;return(e=this.sources)===null||e===void 0?void 0:e.find(t=>t.selected)}get _isGeometryDirty(){return!!this._updatedGeometry}get _isDirty(){var e;return this._selectedValue!==((e=this._initialSelection)===null||e===void 0?void 0:e.value)||this._isGeometryDirty}get _isLoadingOrSaving(){return this.state==="loading"||this.state==="saving"}get _canSave(){return this.authenticated&&this._isDirty&&!this._isLoadingOrSaving}get _noneOption(){var e;return(e=this.sources)===null||e===void 0?void 0:e.find(t=>t.value===l)}get _otherOptions(){var e;return(e=this.sources)===null||e===void 0?void 0:e.filter(t=>t.value!==l)}get _saveGeometry(){return this._isGeometryDirty?this._selectedValue==="item"?this._webMercatorToGeographic(this._updatedGeometry.extent):this._updatedGeometry:this._selectedGraphic.geometry}get _saveSource(){let e=this._selectedGraphic,t=this._saveGeometry,i=Object.assign(Object.assign({},e),{geometry:t});return Object.assign(Object.assign({},this._selected),{graphic:i})}get _overlayMessage(){var e;if(!this._editing)return this._isNone?this.intl.t("noLocationSet"):this._selectedValue==="item"&&!(!((e=this._selectedGraphic)===null||e===void 0)&&e.geometry)?this.intl.t("clickEditAndDraw"):void 0}_getDefaultLabel(e){return[l,"item"].includes(e)?this.intl.t(e==="item"?"itemsCurrentExtent":e):void 0}_cancelEditGeometry(){this._editGeometry=null,this._updatedGeometry=null,this._mapDrawElement.forceReset()}_setMapDrawElement(e){this._mapDrawElement=e}_emitGeometryUpdate(){this.arcgisBoundaryPickerUpdate.emit(this._saveSource)}async componentWillLoad(){this.intl=await p.loadIntlForComponent(this.element),this._webMercatorToGeographic=(await $arcgis.t(m=>m[0],"geometry/support/webMercatorUtils")).webMercatorToGeographic,this.onSourcesUpdate()}onSourcesUpdate(){this._selected=this._initialSelection}async handleMapViewReady(e){e.stopPropagation();let{detail:{view:t}}=e;await t.when(),t.ui.components=[],this._view=t}handleListChange(e){var t;e.stopPropagation(),this._cancelEditGeometry();let i=e.target.value,s=(t=this.sources)===null||t===void 0?void 0:t.find(n=>n.value===i);this._savedEditState&&s.value===this._savedEditState.value&&(s=this._savedEditState),this._selected=Object.assign(Object.assign({},s),{selected:!0}),this.arcgisBoundaryPickerUpdate.emit(this._selected)}handleGraphicsChange(e){var t;let{graphics:i}=e.detail;this._updatedGeometry=(t=i.getItemAt(0))===null||t===void 0?void 0:t.geometry,this._emitGeometryUpdate()}handleTelemetry(e){let t=e.detail,i=u.dictionary.category.interaction.action;(o(t,i.search.label.filter)||o(t,i.enable.label.draw.details.update)||o(t,i.disable.label.draw.details.update))&&e.stopPropagation()}async cancelEditGeometry(){this._cancelEditGeometry()}handleSave(e){e.preventDefault(),this.arcgisBoundaryPickerSave.emit(this._saveSource)}handleCancel(e){e.preventDefault(),this.arcgisBoundaryPickerCancel.emit(),this._cancelEditGeometry()}handleEditClick(e){var t;e.preventDefault();let i=(t=this._selectedGraphic)===null||t===void 0?void 0:t.geometry;i?this._editGeometry=i:(this._editGeometry=this._view.extent.expand(1/f),this._updatedGeometry=this._editGeometry,this.arcgisBoundaryPickerUpdate.emit(this._saveSource))}handleCancelEditClick(e){e.preventDefault(),this._cancelEditGeometry(),this.arcgisBoundaryPickerUpdate.emit(this._selected)}handleSaveEditClick(e){e.preventDefault(),this._savedEditState=this._saveSource,this._selected=this._saveSource,this._cancelEditGeometry(),this._emitGeometryUpdate()}renderEditConfirmButton(){if(this._editing)return a("calcite-action",{icon:"check",onClick:this.handleSaveEditClick,slot:"actions-end",text:""})}render(){var e;return a(_,{key:"dabe4f1d332b66ea2355feee413a9de9e579fca7"},a("div",{key:"105e49215627f834b566ebaaceec668e8652954f",class:"row"},a("arcgis-hub-map-view",{key:"68279b5670a2fb02c44b28315a74678c1bffbe7c",expand:f,extent:this.extent,graphics:this._selectedGraphics},a("arcgis-hub-map-widget-container",{key:"d9f90b4cebdb1e8c2cb903a73b68db2e41237c9e",scale:"s","view-position":"top-right"},a("arcgis-hub-map-widget-draw",{key:"8370c99997a8ed121abec7cd00dec5770e54a68b",disableEditOptions:!0,disablePrimaryOptions:!0,geometry:this._editGeometry,ref:this._setMapDrawElement,resetOnDisconnect:this.resetDrawingToolsOnDisconnect,tools:[],view:this._view})),this._overlayMessage?a("div",{class:"arcgis-boundary-map-overlay"},a("div",{class:"arcgis-boundary-none-message"},this._overlayMessage)):null),a("calcite-list",{key:"7703bd91d9d54fae37544d9a7b74ca18b674a2d0","aria-busy":"false","aria-disabled":this._isLoadingOrSaving,disabled:this._isLoadingOrSaving,role:"menu",selectionMode:"single-persist"},this._noneOption?a("calcite-list-item",{label:this._noneOption.label||this._getDefaultLabel(this._noneOption.value),selected:this._noneOption.selected,tabindex:"-1",value:this._noneOption.value}):null,a("calcite-list-group",{key:"f9dc066930eab59cf35965d78de66a20258cea32","group-title":this.intl.t("startFrom")},(e=this._otherOptions)===null||e===void 0?void 0:e.map(t=>a("calcite-list-item",{key:t.value,label:t.label||this._getDefaultLabel(t.value),selected:t.selected,value:t.value},this.renderEditConfirmButton(),a("calcite-action",{disabled:this._selectedValue!==t.value,icon:this._editing?"x":"pencil",onClick:this._editing?this.handleCancelEditClick:this.handleEditClick,slot:"actions-end",text:""})))))),this.authenticated&&a("div",{class:"buttons"},a("calcite-button",{appearance:"solid",color:"blue",disabled:!this._canSave||this.state==="saving",loading:this.state==="saving",onClick:this.handleSave,scale:"m",type:"button",width:"auto"},this.intl.t("save")),a("calcite-button",{appearance:"outline",color:"blue",disabled:this._isLoadingOrSaving,onClick:this.handleCancel,scale:"m",type:"button",width:"auto"},this.intl.t("cancel"))))}static get assetsDirs(){return["locales"]}get element(){return y(this)}static get watchers(){return{sources:["onSourcesUpdate"]}}};E([g({timeout:300})],k.prototype,"_emitGeometryUpdate",null);k.style=G;return k},"config",b,c)
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as t,d as o,e as r,h as l,i as h}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var g=":host{display:block}",u=g,n={PUBLIC:"public",ORG:"org",PRIVATE:"private"},d={public:"public",publicInfo:"publicInfo",organization:"organization",organizationInfo:"organizationInfo",owner:"owner",ownerInfo:"ownerInfo"},p={discussion:["publicInfo","organization","organizationInfo","owner","ownerInfo"]},m=class{constructor(e){h(this,e),this.arcgisHubItemAccessLevelChange=r(this,"arcgisHubItemAccessLevelChange",7),this.updateAccessLevel=i=>{let{access:s}=i.detail.values;i.stopPropagation(),this.arcgisHubItemAccessLevelChange.emit(s)},this.accessLevel=void 0,this.accessOptions=void 0,this.orgName=void 0,this.itemType=void 0}async componentWillLoad(){this.intl=await a.loadIntlForComponent(this.element)}get values(){return{access:this.accessLevel}}get canShareToPublic(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToPublic)}get canShareToOrg(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToOrg)}get canSetPrivate(){var e;return!!(!((e=this.accessOptions)===null||e===void 0)&&e.canSetAccessToPrivate)}get canSetAnyAccessLevel(){return this.canShareToPublic&&this.canShareToOrg&&this.canSetPrivate}get schema(){return{type:"object",properties:{access:{type:"string",enum:[n.PUBLIC,n.ORG,n.PRIVATE]}}}}get strings(){var e;let i=(e=p[this.itemType])!==null&&e!==void 0?e:[];return Object.assign(Object.assign({},d),i.reduce((s,c)=>Object.assign(Object.assign({},s),{[c]:[this.itemType,c].join(".")}),{}))}get uiSchema(){let{strings:e}=this;return{type:"Layout",elements:[{scope:"/properties/access",type:"Control",options:{control:"hub-field-input-tile-select",layout:"vertical",labels:[this.intl.t(e.public),this.intl.t(e.organization),this.intl.t(e.owner)],descriptions:[this.intl.t(e.publicInfo,{itemType:this.itemType}),this.intl.t(e.organizationInfo,{orgName:this.orgName,itemType:this.itemType}),this.intl.t(e.ownerInfo,{itemType:this.itemType})],icons:["globe","organization","user"],type:"radio",disabled:[!this.canShareToPublic,!this.canShareToOrg,!this.canSetPrivate]}}]}}renderSharingLimitedNotice(){return!this.canSetAnyAccessLevel&&t("calcite-notice",{icon:"exclamation-mark-triangle",kind:"danger",open:!0,width:"full"},t("div",{slot:"title"},this.intl.t("disabledNotice.title")),t("div",{slot:"message"},this.intl.t("disabledNotice.message")))}render(){return t(l,{key:"6c1ddb0d45193a8c2b6c1fc4989012281bb0237c"},t("arcgis-configuration-editor",{key:"e1f2ea6af2f4a789d4b6c6841030d27c57903512",onArcgisConfigurationEditorChange:this.updateAccessLevel,schema:this.schema,uiSchema:this.uiSchema,values:this.values}),this.renderSharingLimitedNotice())}static get assetsDirs(){return["locales"]}get element(){return o(this)}};m.style=u;export{m as arcgis_hub_access_level_controls};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as s}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import"./USNX342T.js";import{b as t,d as a,i as r}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";var l="div{font-size:var(--calcite-font-size--1);line-height:1rem}calcite-notice{margin-bottom:0.5rem}calcite-loader{margin-right:0.5rem}calcite-loader[active]{display:inline-block}",n=l,o=class{constructor(e){r(this,e),this.fileStatus=void 0,this.exportRequested=!1,this.apiError=void 0,this.cannotExport=!1}async componentWillLoad(){this.intl=await s.loadIntlForComponent(this.element),this.setLabels(),this.resetUndefinedProps()}resetUndefinedProps(){["fileStatus","exportRequested","apiError"].forEach(e=>{this[e]=this[e]==="undefined"?void 0:this[e]})}async setLocalization(){this.setLabels()}setLabels(){this.labels={titleFileGeneration:this.intl.t("titleFileGeneration"),titleDatasetNotFound:this.intl.t("titleDatasetNotFound"),titleApiError:this.intl.t("titleApiError"),titleFormatDisabled:this.intl.t("titleFormatDisabled"),titleFileGenerationFailed:this.intl.t("titleFileGenerationFailed"),messageCreatingFile:this.intl.t("messageCreatingFile"),messageUpdatingFile:this.intl.t("messageUpdatingFile"),messageFailedStaleAvailable:this.intl.t("messageFailedStaleAvailable"),messageFileNeedsGenerating:this.intl.t("messageFileNeedsGenerating"),messageFormatDisabled:this.intl.t("messageFormatDisabled")}}getNoticeTitle(){if(this.fileStatus==="disabled")return this.labels.titleFormatDisabled;if(this.exportInProgress())return this.labels.titleFileGeneration;if(this.apiError==="404")return this.labels.titleDatasetNotFound;if(this.apiError)return this.labels.titleApiError;if(this.requestedExportHasFailed())return this.labels.titleFileGenerationFailed}getNoticeMessage(){return this.fileStatus==="disabled"?this.labels.messageFormatDisabled:this.fileStatus==="creating"?this.labels.messageCreatingFile:this.fileStatus==="updating"?this.labels.messageUpdatingFile:this.downloadCached()&&this.requestedExportHasFailed()?this.labels.messageFailedStaleAvailable:this.fileStatus==="ready_unknown"?this.labels.messageFileNeedsGenerating:this.fileStatus==="locked"||this.fileStatus==="stale_locked"?this.labels.messageDataSourceLocked:this.downloadCached()?this.labels.messageFileNeedsGenerating:this.labels.messageFileNeedsGenerating}shouldShowMessage(){return!this.apiError&&!this.exportFailed()&&!this.requestedExportIsReady()}_getNoticeKind(){return this.requestedExportHasFailed()||this.apiError?"danger":"warning"}exportFailed(){return this.fileStatus==="error"||this.fileStatus==="error_creating"||this.fileStatus==="error_updating"}exportInProgress(){return this.fileStatus==="creating"||this.fileStatus==="updating"}requestedExportIsReady(){return this.exportRequested&&this.downloadUpToDate()}requestedExportHasFailed(){let{exportRequested:e,fileStatus:i}=this;return e&&(i==="error"||i==="error_updating"||i==="error_creating")}downloadCached(){return["ready","ready_unknown","stale","updating","error_updating"].includes(this.fileStatus)}downloadUpToDate(){return this.fileStatus==="ready"}shouldHide(){return this.downloadUpToDate()||this.cannotExport||this.exportFailed()&&!this.exportRequested}render(){if(this.shouldHide())return t("calcite-notice",{open:!1});let e=this.shouldShowMessage()?t("div",{slot:"message"},this.getNoticeMessage()):null;return t("calcite-notice",{dir:"ltr",kind:this._getNoticeKind(),open:!0,scale:"m",width:"full"},t("div",{slot:"title"},t("calcite-loader",{hidden:!this.exportInProgress(),inline:!0,label:this.getNoticeMessage()}),this.getNoticeTitle()),e)}static get assetsDirs(){return["locales"]}get element(){return a(this)}};o.style=n;export{o as hub_download_notice};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- function r(e){let t="item";return["group","event","user","channel","organization"].includes(e.toLowerCase())&&(t=e.toLocaleLowerCase()),e.toLowerCase()==="group member"&&(t="groupMember"),t}function n(e,t){return{targetEntity:r(typeof e=="string"?e:e[0]),filters:[{operation:"AND",predicates:[{type:e,typekeywords:[t]}]}]}}export{r as a,n as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- var e={Hub:"hub",Item:"item",Service:"service"};export{e as a};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as O,c as w}from"./2PUMWMNI.js";import{I as P,e as x,f as y,h,i as u,j as b,k as E,l as f,n as C}from"./RIMWN7PN.js";var L=e=>(...n)=>{let t=u(),o=new e(...n),r=o.exports;h(t.at(-1));let s=o.component.manager;s.W(o,r),o.watchExports(s.W.bind(s,o)),b(o);let a=[o.component,...t].reverse();return f(a,i=>i===void 0?void 0:A(o,i,r),r)},A=(e,{host:n,key:t,isReactive:o},r)=>{let s=n,a=s[t]!==e.exports,i=s[t]!==r,c=r!==e.exports;if(a&&!i&&c&&(s[t]=e.exports),n===e.component){if(o){let p=e.component.manager;i&&p.W(e,s[t]),e.onUpdate(m=>{if(m.has(t)){let g=s[t];g!==e.exports&&p.W(e,g)}})}e.O=o?void 0:t}let d=e.component.constructor.elementProperties.get(t)?.readOnly;e.watchExports(()=>{s[t]!==e.exports&&(d?E(()=>{s[t]=e.exports}):s[t]=e.exports)})};var M=e=>_(void 0,e),H=e=>n=>_(n,e),v=class extends C{constructor(n,t){super(n);let o=this.exports;try{y(this.component);let r=t(this.component,this),s=this.exports!==o;if(x(r)){s||this.setProvisionalExports(r);let a=r.then(i=>{this.exports=i,super.catchUpLifecycle()}).catch(i=>{this.P.reject(i)});this.onLoad(async()=>await a)}else(!s||r!==void 0)&&(this.exports=r),queueMicrotask(()=>super.catchUpLifecycle())}catch(r){this.P.reject(r)}}catchUpLifecycle(){}},_=L(v);var N=e=>(n={})=>M((t,o)=>{let r=O(t.el),s={_lang:r.lang,_t9nLocale:r.t9nLocale,_loading:!0},a=t;o.onLifecycle(()=>w(t.el,()=>e("./assets"),({t9nLocale:c,t9nStrings:l,lang:d})=>{let p={...l,_lang:d,_t9nLocale:c,_loading:!1};o.exports=p;let m=l.componentLabel;typeof m=="string"&&"label"in t&&t.label==null&&(t.label??=m),i(a.messageOverrides)},n.name));let i=c=>{let l=o.exports,d=l._original??l,p=D(d,c);c&&(p._original=d),o.exports=p};return"messageOverrides"in a&&o.onUpdate(c=>{c.has("messageOverrides")&&i(a.messageOverrides)}),n.blocking?(o.setProvisionalExports(s,!1),o.ready):s}),D=(e,n)=>{if(!n)return e;let t={...e};return Object.entries(n).forEach(([o,r])=>{e[o]!==void 0&&(typeof r=="object"?t[o]=D(e[o],r):t[o]=r??e[o])}),t};var B=N(P);export{H as a,B as b};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{a as x,b as T}from"./AM4QVJ44.js";import{a as O}from"./K672BF4Z.js";import{a as I}from"./HSFPILSC.js";import{d as E,g as k,l as g}from"./2W2UGJLH.js";import{a as f}from"./XI72UBIK.js";import{a as P}from"./MUN2QI43.js";import{a as A}from"./I3LGHXIN.js";import{a as d}from"./S2TL4ARK.js";import{a as v}from"./WBUC7HJI.js";import{h as p}from"./FZ7ZK37I.js";import{a as _}from"./P7D42LBQ.js";import{a as u,h as l}from"./HEPYE6RX.js";import{a as h}from"./7GTUV67W.js";import{a as m}from"./USNX342T.js";function C(i,t,s="https://www.arcgis.com/sharing/rest"){let e=`${s}/oauth2/exchangeToken`;return p(e,{method:"POST",params:{f:"json",client_id:t,token:i}}).then(n=>n.token)}function U(i){let t;return/(qaext|\.mapsqa)\.arcgis.com/.exec(i)?t="https://hubqa.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(i)?t="https://hubdev.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(i)&&(t="https://hub.arcgis.com"),t}function H(i,t,s,e){let n=`${e.authentication.portal}/portals/${i}/limits?limitsType=${t}&limitName=${s}&f=json`;return p(n,e)}function ut(i,t){return H(i,"Groups","MaxNumUserGroups",t).then(s=>s.limitValue).catch(s=>512)}function F(i){return!i||typeof i!="string"||!i.startsWith("https://")?!1:!/^https?:\/\/([^.]+\.)*arcgis\.com(\/|$)/i.test(i)}var w=["portalUrl","serviceStatus","featureFlags","properties","resourceConfigs","trustedOrgIds","trustedOrgs","portalSettings","portal"],R=["resourceTokens","currentUser"],y=class i{constructor(t){this._portalUrl="https://www.arcgis.com",this._properties={},this._featureFlags={},this._trustedOrgIds=[],this._trustedOrgs=[],this._resourceConfigs=[],this._userResourceTokens=[],this.id=new Date().getTime(),m.debug(`ArcGISContextManager:ctor: Creating ${this.id}`),t.properties&&(this._properties=t.properties),this._properties.alphaOrgs||(this._properties.alphaOrgs=[...W]),t.authentication?(this._authentication=t.authentication,this._portalUrl=this._authentication.portal.replace("/sharing/rest",""),this._hubUrl=U(this._portalUrl)):t.portalUrl?(this._portalUrl=t.portalUrl,this._hubUrl=U(this._portalUrl)):this._hubUrl=U(this._portalUrl),t.portal&&(this._portal=u(t.portal)),t.portalSettings&&(this._portalSettings=u(t.portalSettings)),t.currentUser&&(this._currentUser=u(t.currentUser)),t.serviceStatus&&(this._serviceStatus=t.serviceStatus),t.featureFlags&&(this._featureFlags=u(t.featureFlags)),t.serviceFlags&&(this._serviceFlags=u(t.serviceFlags)),t.trustedOrgIds&&(this._trustedOrgIds=u(t.trustedOrgIds)),t.trustedOrgs&&(this._trustedOrgs=u(t.trustedOrgs)),t.resourceConfigs&&(this._resourceConfigs=u(t.resourceConfigs)),t.resourceTokens&&(this._userResourceTokens=u(t.resourceTokens)),t.userHubSettings&&(this._userHubSettings=u(t.userHubSettings))}static async create(t={}){let s=new i(t);return await s.initialize(),s}static async deserialize(t){let s=T(t),e=JSON.parse(s),r={};if(w.forEach(n=>{r=l(n,h(e,n),r)}),e.session){let n=I.deserialize(e.session);n.tokenExpires.getTime()>Date.now()&&(R.forEach(a=>{r=l(a,h(e,a),r)}),r.authentication=n)}return i.create(r)}serialize(){let t={};return w.forEach(s=>{t=l(s,h(this,`_${s}`),t)}),this._authentication&&(t.session=this._authentication.serialize(),R.forEach(s=>{t=l(s,h(this,`_${s}`),t)})),x(JSON.stringify(t))}async setAuthentication(t){this._authentication=t,this._portalUrl=t.portal.replace("/sharing/rest",""),await this.initialize()}setProperties(t){this._properties=t,this._context=new g(this.contextOpts)}async clearAuthentication(){this._context.isPortal||(this._portalUrl=A(this._portalUrl)),this._authentication=null,this._currentUser=null,this._userResourceTokens=[];let t=f(d,null);this._portal=await t({portal:`${this._portalUrl}/sharing/rest`});let s=f(O,{});this._portalSettings=await s("self",{portal:`${this._portalUrl}/sharing/rest`}),this._context=new g(this.contextOpts)}get context(){return this._context}async updateUserHubSettings(t){if(!this._authentication)throw new Error("Cannot update user hub settings without an authenticated user");await k(t,this.context,!0),this._userHubSettings=t,Object.keys(_(t,"features",{})).forEach(s=>{let e=h(t,`features.${s}`);this._featureFlags[`hub:feature:${s}`]=e}),this._context=new g(this.contextOpts)}async initialize(){var t;let s=[],e=[];if(this._serviceStatus||(s.push(L(this._portalUrl)),e.push("serviceStatus")),(!this._portal||!this._portal.id&&this._authentication)&&(this._authentication?s.push(z(this._authentication)):s.push(d({portal:`${this._portalUrl}/sharing/rest`})),e.push("portal")),!this._portalSettings||!(!((t=this._portal)===null||t===void 0)&&t.id)&&this._authentication){let a=f(O,{});this._authentication?s.push(a("self",{authentication:this._authentication})):s.push(a("self",{portal:`${this._portalUrl}/sharing/rest`})),e.push("portalSettings")}if(this._authentication){let a=await this._authentication.getToken(this._authentication.portal);if(this._portal&&!this._portal.limits&&(s.push($(this._portal.id,this._authentication)),e.push("portalLimits")),!this._currentUser){let o=this._authentication.username;s.push(v({username:o,authentication:this._authentication})),e.push("user")}this._trustedOrgs.length||(s.push(G(this._portalUrl,this._authentication)),e.push("trustedOrgs")),!this._userResourceTokens.length&&this._resourceConfigs.length&&(s.push(M(this._resourceConfigs,a,this._portalUrl+"/sharing/rest")),e.push("tokens")),this._userResourceTokens.push({app:"self",token:a,clientId:this._authentication.clientId||"self"})}let r;try{r=await Promise.all(s)}catch(a){let o="ArcGISContextManager failed while initializing.";throw this._authentication&&(o=`ArcGISContextManager failed while initializing for "${this._authentication.username}" using ${this._authentication.portal}.`),m.error(o),console.error(o),P("message",o+" "+_(a,"message",""),a),a}e.forEach((a,o)=>{let c=r[o];switch(a){case"portal":this._portal=c;break;case"portalSettings":this._portalSettings=c;break;case"portalLimits":this._portal.limits=c;break;case"user":this._currentUser=c;break;case"trustedOrgs":this._trustedOrgs=c,this._trustedOrgIds=j(this._trustedOrgs);break;case"tokens":this._userResourceTokens=[...this._userResourceTokens,...c];break;case"serviceStatus":let S=c;this._serviceFlags&&Object.keys(this._serviceFlags).forEach(b=>{S[b]&&(S[b]=this._serviceFlags[b])}),this._serviceStatus=S;break}});let n=this._userResourceTokens.find(a=>a.app==="hubforarcgis");this._authentication&&n&&(this._userHubSettings=await E(this._authentication.username,this._portalUrl,n.token),Object.keys(_(this._userHubSettings,"features",{})).forEach(a=>{let o=h(this._userHubSettings,`features.${a}`);this._featureFlags[`hub:feature:${a}`]=o})),m.debug(`ArcGISContextManager-${this.id}: updating context`),this._context=new g(this.contextOpts)}get contextOpts(){let t=["hubUrl",...w],s=["currentUser","userResourceTokens","userHubSettings"],e={id:this.id,portalUrl:this._portalUrl};return t.forEach(r=>{e=l(r,h(this,`_${r}`),e)}),this._authentication&&(s.forEach(r=>{e=l(r,h(this,`_${r}`),e)}),e.authentication=this._authentication),e.portalSelf=this._portal,e}};async function L(i){let t=N;return F(i)&&(t=V),Promise.resolve(t)}async function G(i,t){return(await f(p,{trustedOrgs:[]})(`${i}/sharing/rest/portals/self/trustedOrgs?f=json`,{params:{token:t.token}})).trustedOrgs}function j(i){return i.map(t=>t.to.orgId)}async function z(i){let t=await d({authentication:i}),s=await $(t.id,i);return t.limits=s,t}async function $(i,t){let s=[{type:"Groups",name:"MaxNumUserGroups",fallback:512}];return(await Promise.all(s.map(async r=>{try{return await H(i,r.type,r.name,{authentication:t,portal:t.portal})}catch{return{type:r.type,name:r.name,limitValue:r.fallback}}}))).reduce((r,n)=>(r[n.name]=n.limitValue,r),{})}async function M(i,t,s){let e=f(C,null),r=i.map(a=>e(t,a.clientId,s).then(o=>{if(o)return Object.assign(Object.assign({},a),{token:o})}));return(await Promise.all(r)).filter(a=>!!a)}var N={portal:"online",discussions:"online",events:"online",metrics:"online",notifications:"online","hub-search":"online",domains:"online","hub-downloads":"online","hub-ai-assistant":"online"},V={portal:"online",discussions:"not-available",events:"not-available",metrics:"not-available",notifications:"not-available","hub-search":"not-available",domains:"not-available","hub-downloads":"not-available","hub-ai-assistant":"not-available"},B=["LjjARY1mkhxulWPq","q2ikdtW0bkt5EgtQ","yHYVvboBBOdmcKci"],q=["97KLIFOSt5CxbiRI","MiFBHFxEZWumnKCx","8HRYeOqprj872mxP","Xj56SBi2udA78cC9","uFEMdY4VMonzH8sG"],D=["CrA5hYOKgL3Vwan8","zj227gjeSqEyG4HF","bkrWlSKcjUDFDtgw","vIu5NCxQFilhVymO"],W=[...D,...q,...B];export{U as a,H as b,ut as c,F as d,y as e,N as f,V as g,W as h};
@@ -1,2 +0,0 @@
1
- /* COPYRIGHT Esri - https://js.arcgis.com/0.37/LICENSE.txt */
2
- import{b as S}from"./QYIYNECI.js";import{b as E}from"./MIGVC3YS.js";import{a as y}from"./HUZVX2LX.js";import"./MWFTBYF7.js";import"./CCX2K4AC.js";import"./NW2YTW26.js";import"./HM2SQ34E.js";import"./D4XKOLDN.js";import"./OYSFOPFK.js";import"./GJRBKC6D.js";import"./ETC47ZTE.js";import"./QK2OPJGK.js";import"./BFNODBIF.js";import"./SGM4YRBH.js";import"./XN55PVRJ.js";import"./5FBDGDSL.js";import"./GZOH7TH2.js";import"./6VE4Q3FO.js";import"./F4PVRAMX.js";import"./FZCPWCBD.js";import"./BPSQ3CGL.js";import"./SCTDVE2P.js";import"./VPJ4NGJ5.js";import"./JZB5X2MB.js";import"./CHXKFI5R.js";import{q as W}from"./4PQFUUUG.js";import"./FM3HYPTZ.js";import"./XKUKAFLE.js";import"./DLGNRZAS.js";import"./AJKLRRS4.js";import"./OQNAOTWQ.js";import"./2GWRW6YG.js";import"./WPADWRCH.js";import"./5LJT6UGG.js";import"./UJZ32HDH.js";import"./2DPSKE3B.js";import"./WL6CGZLR.js";import"./K4VVZ2OR.js";import"./THLIDOGM.js";import"./FZNKGW4A.js";import"./LK454DSU.js";import"./AYFB34A7.js";import{k as P}from"./53V23CCM.js";import"./SNSHV52T.js";import"./HITR5JF7.js";import"./E2RL5I2B.js";import"./4ZRQCNU2.js";import"./YLRR2XFD.js";import"./LEVMADAS.js";import"./U7SPPU37.js";import"./JSOZV4HA.js";import{x as b}from"./VXJI546E.js";import"./ZQPTNYU6.js";import"./UCUSWPVC.js";import"./HTYDCXX6.js";import"./LDJN5446.js";import"./6LDEVQEO.js";import"./ZUFDLSS7.js";import"./2NJPYBHN.js";import"./635V3Q2N.js";import"./3MGFA2AN.js";import"./2WQEISGF.js";import{$ as v}from"./CBIG4EMI.js";import"./IXINH2FU.js";import"./UJKN7G7W.js";import"./K3HMF5GC.js";import"./NPWIO5CS.js";import"./B6CP7FIT.js";import"./XP6ZXTST.js";import"./MS3RNOP5.js";import"./LVCMKKG7.js";import"./UTQMJRMF.js";import"./AEPE3IDB.js";import"./UR5INQGU.js";import"./HV466M4A.js";import"./GJINUBO7.js";import"./5GNQYAFV.js";import"./BHYFMWFH.js";import"./47ZOSUE6.js";import"./JI5AIZ2W.js";import"./SVAOM6PB.js";import"./WTJOWA2D.js";import"./II3OUQDN.js";import"./3WN3ZWUP.js";import"./AM4QVJ44.js";import"./GVF26EON.js";import"./K672BF4Z.js";import"./HSFPILSC.js";import"./2W2UGJLH.js";import"./XI72UBIK.js";import"./H3CSIYXV.js";import"./46NFE3O2.js";import"./MUN2QI43.js";import"./U2H7HOIC.js";import"./IEDSJLNB.js";import"./NR4ANSZX.js";import"./I3LGHXIN.js";import"./S2TL4ARK.js";import"./WBUC7HJI.js";import"./SD326B2E.js";import"./HZHPBMYE.js";import"./MYXIS5RQ.js";import"./Y7N6UKCC.js";import"./H2V2RZ6M.js";import"./CU2TSBCT.js";import"./OQOFL4GS.js";import"./KUB4GMLQ.js";import"./FDDXGLRF.js";import"./RGKBSVQD.js";import"./FZ7ZK37I.js";import"./RL2IUUBA.js";import{a as w}from"./UCNRE4DW.js";import"./4QEFMWHF.js";import"./J2P53GWU.js";import a from"./BU6RNCBS.js";import"./ZM3EAORZ.js";import{a as h}from"./YCEXTCZD.js";import"./5V53QYYF.js";import{c as f}from"./A36IL72A.js";import"./P7D42LBQ.js";import"./ZFP6AZG7.js";import"./NE7SMAEP.js";import"./2B6D4MGZ.js";import"./HEPYE6RX.js";import{a as k}from"./7GTUV67W.js";import{a as m}from"./USNX342T.js";import{b as p,c as O,d as j,e as d,i as A}from"./DKMYTCOT.js";import"./IONZ3SDQ.js";export default $arcgis.t(([{c:_}])=>{var r={isSpecifyInfo:i=>i.tag==="SpecifyInfo",isSelectGroups:i=>i.tag==="SelectGroups",isWorking:i=>i.tag==="Working",isConfirmation:i=>i.tag==="Confirmation",isFailure:i=>i.tag==="Failure"},I={tag:"SpecifyInfo",component:"arcgis-configuration-editor",configurationValues:{},selectedGroupIds:[],stepIndex:0},G={tag:"SelectGroups",component:"arcgis-hub-gallery",selectedGroupIds:[],stepIndex:1},C={tag:"Working",action:"migratePage",component:y,componentArgs:{state:"loading",headingKey:"working.heading",loadingLabel:"working.loadingLabel"},stepIndex:2};function H(i,t,e){let o=b("group",t.scopes.item),{alreadySharedWithGroupIds:s=[],state:n={}}=e;return{corners:"round",layout:"grid",limit:8,linkTarget:"siteRelative",newTab:!0,query:{targetEntity:"group",filters:[{predicates:[{searchUserAccess:"groupMember",searchUserName:i.currentUser.username,id:o},{id:{not:[...s]}}]}]},selectionMode:"multiple",showLayoutSwitcher:!0,showMoreResultsBtn:!0,showResultsCount:!0,showSearch:!0,showSelection:!0,showSort:!0,state:Object.assign({},n)}}var u={isInitialize:i=>i.tag==="Initialize",isGallerySelectionChanged:i=>i.tag==="GallerySelectionChanged",isGalleryStateChanged:i=>i.tag==="GalleryStateChanged",isConfigurationEditorChanged:i=>i.tag==="ConfigurationEditorChanged",isNextStep:i=>i.tag==="NextStep",isPreviousStep:i=>i.tag==="PreviousStep",isStepChanged:i=>i.tag==="StepChanged",isSuccess:i=>i.tag==="Success",isFailure:i=>i.tag==="Failure",isRetry:i=>i.tag==="Retry"},K={$async:!0,type:"object",required:["name","slug"],properties:{name:{type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},slug:W}},R={type:"Layout",elements:[{labelKey:"form.title.label",scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"form.title.requiredError"},{type:"ERROR",keyword:"format",icon:!0,labelKey:"form.title.entityTitleValidatorError"}]}},{labelKey:"form.slug.label",scope:"/properties/slug",type:"Control",options:{control:"hub-field-input-input",helperText:{labelKey:"form.slug.helperText"},messages:[{type:"ERROR",keyword:"pattern",icon:!0,labelKey:"form.slug.patternError"},{type:"ERROR",keyword:"required",icon:!0,labelKey:"form.slug.requiredError"}]}}]},x=class{constructor(t,e){this.context=t,this.t=e?.t,this.page=e.page,this.site=e.site,this.history=[]}async start(){this.history=[];let t=(await this.page.sharedWith()).map(n=>n.id),s={tag:"SpecifyInfo",alreadySharedWithGroupIds:b("group",this.site.catalog.scopes.item).filter(n=>t.includes(n)),selectedGroupIds:[]};return this.reduce({tag:"Initialize"},s)}reduce(t,e){let o=e,s;if(u.isInitialize(t)?s=this.reduceInitial(t,e):r.isSpecifyInfo(e)?s=this.reduceSpecifyInfo(t,e):r.isSelectGroups(e)?s=this.reduceSelectGroups(t,e):r.isWorking(e)?s=this.reduceWorking(t,e):r.isFailure(e)&&(s=this.reduceFailure(t,e)),s){let n=this.reduceSteps(t,s),a=this.reduceControls(t,s);o=Object.assign(Object.assign(Object.assign({},s),n),a)}else m.warn(`reducer for state: ${e.tag}, and action: ${t.tag} is not implemented`);return this.history.push({action:t,state:e,result:o}),o}logHistory(){m.debug("MigratePageMachine",this.history)}get helpStateProps(){return{heading:this.t("heading"),icon:"file-text",isMain:!1}}reduceInitial(t,e){if(u.isInitialize(t)){let{helpStateProps:o}=this,s=f("hub:page:edit",this.context,this.page).access,{alreadySharedWithGroupIds:n,selectedGroupIds:a}=e;if(s){let l=this.site.pages.find(c=>c.id===this.page.id).slug;return Object.assign(Object.assign({},I),{canEditPage:s,componentArgs:{schema:K,scale:"l",uiSchema:R,values:{name:this.page.toJson().name,slug:l}},helpStateProps:o,selectedGroupIds:a,alreadySharedWithGroupIds:n})}else return Object.assign(Object.assign({},I),{canEditPage:s,component:void 0,componentArgs:void 0,helpStateProps:{heading:this.t("noPagePermission.heading"),icon:"exclamation-mark-triangle",message:this.t("noPagePermission.message")},selectedGroupIds:a,alreadySharedWithGroupIds:n})}}reduceSpecifyInfo(t,e){let{canEditPage:o,componentArgs:s,configurationValues:n,groupsGalleryState:a,selectedGroupIds:l,alreadySharedWithGroupIds:c}=e;if(u.isConfigurationEditorChanged(t)){let{helpStateProps:g}=this;return Object.assign(Object.assign({},I),{canEditPage:o,componentArgs:Object.assign(Object.assign({},s),{values:t.configurationValues.values}),configurationValues:t.configurationValues,helpStateProps:g,selectedGroupIds:l,alreadySharedWithGroupIds:c})}if(u.isNextStep(t))return Object.assign(Object.assign({},G),{canEditPage:o,componentArgs:H(this.context,this.site.catalog,{selectedGroupIds:e.selectedGroupIds,alreadySharedWithGroupIds:c,state:a,t:this.t}),configurationValues:n,groupsGalleryState:a,noticeId:c?.length>0?"page-migration-already-shared-to-groups":void 0,selectedGroupIds:l,alreadySharedWithGroupIds:c});if(u.isStepChanged(t)){if(t.stepIndex===e.stepIndex)return e;if(t.stepIndex===1)return this.reduceSpecifyInfo({tag:"NextStep"},e);if(t.stepIndex===2)return Object.assign(Object.assign({},C),{canEditPage:o,configurationValues:n,selectedGroupIds:l,alreadySharedWithGroupIds:c})}}reduceSelectGroups(t,e){let{canEditPage:o,componentArgs:s,configurationValues:n,groupsGalleryState:a,selectedGroupIds:l,alreadySharedWithGroupIds:c}=e;if(u.isGallerySelectionChanged(t))return s.gallerySelection=t.selected,Object.assign(Object.assign({},G),{canEditPage:o,componentArgs:s,groupsGalleryState:a,noticeId:c?.length>0?"page-migration-already-shared-to-groups":void 0,configurationValues:n,selectedGroupIds:t.selected.group,alreadySharedWithGroupIds:c});if(u.isGalleryStateChanged(t))return Object.assign(Object.assign({},G),{canEditPage:o,componentArgs:s,configurationValues:n,groupsGalleryState:t.galleryState,noticeId:c?.length>0?"page-migration-already-shared-to-groups":void 0,selectedGroupIds:l,alreadySharedWithGroupIds:c});if(u.isPreviousStep(t)){let g=this.reduceInitial({tag:"Initialize"},e);return Object.assign(Object.assign({},g),{componentArgs:e.canEditPage?{context:this.context,values:e.configurationValues.values,schema:K,uiSchema:R,scale:"l"}:void 0,configurationValues:e.configurationValues,groupsGalleryState:a,selectedGroupIds:l,alreadySharedWithGroupIds:c})}if(u.isNextStep(t))return Object.assign(Object.assign({},C),{canEditPage:o,configurationValues:n,selectedGroupIds:l,alreadySharedWithGroupIds:c});if(u.isStepChanged(t)){if(t.stepIndex===e.stepIndex)return e;if(t.stepIndex===0)return this.reduceSelectGroups({tag:"PreviousStep"},e);if(t.stepIndex===2)return this.reduceSelectGroups({tag:"NextStep"},e)}}reduceWorking(t,e){let{alreadySharedWithGroupIds:o,configurationValues:s,selectedGroupIds:n}=e;if(u.isSuccess(t)){let a=t.results.overallStatus==="success",l=a?"check-circle":"exclamation-mark-triangle";return{tag:"Confirmation",component:"arcgis-hub-page-migration-results",stepIndex:2,componentArgs:{results:t.results,alreadySharedWithGroupIds:o,icon:l,helpStateConfig:{heading:a?"successHeading":"failureHeading",icon:l,kind:a?"success":"warning",isMain:!1}},telemetry:h.dictionary.category.content.action.update.label.migrate.details.page}}if(u.isFailure(t))return{tag:"Failure",component:y,configurationValues:s,selectedGroupIds:n,alreadysharedWithGroupIds:o,stepIndex:2,componentArgs:{actionKey:"failure.action",headingKey:"failure.heading",icon:"frown",kind:"danger",messageKey:"failure.message"}}}reduceFailure(t,e){let{alreadySharedWithGroupIds:o,configurationValues:s,selectedGroupIds:n}=e;if(u.isRetry(t))return Object.assign(Object.assign({},C),{configurationValues:s,selectedGroupIds:n,alreadySharedWithGroupIds:o})}reduceSteps(t,e){let o=e.selectedGroupIds||[],s=e.configurationValues||{},n=[{labelKey:"steps.specifyInfo",complete:r.isWorking(e)||r.isSelectGroups(e)||r.isConfirmation(e)||r.isFailure(e),disabled:r.isWorking(e)||r.isConfirmation(e)||r.isFailure(e),error:!1}],a=!0;r.isWorking(e)||r.isConfirmation(e)||r.isFailure(e)?a=!0:a=!k(e,"configurationValues.valid")&&e.canEditPage,n.push({labelKey:"steps.selectGroups",complete:r.isWorking(e)||r.isConfirmation(e)||r.isFailure(e),disabled:a,error:!1});let l=!0;return r.isConfirmation(e)||r.isFailure(e)||r.isWorking(e)?l=!1:(r.isSpecifyInfo(e)||r.isSelectGroups(e))&&(l=!s.valid||!o.length),n.push({labelKey:"steps.confirmation",complete:r.isConfirmation(e),disabled:l,error:r.isFailure(e)}),{steps:n}}reduceControls(t,e){let o=e.selectedGroupIds||[],s=e.alreadySharedWithGroupIds||[],n=!0;r.isSpecifyInfo(e)?n=!e.configurationValues.valid&&e.canEditPage:r.isSelectGroups(e)&&(n=![...o,...s].length);let a="controls.next";return r.isSelectGroups(e)&&(a="controls.migrate"),{controls:{back:{visible:r.isSelectGroups(e),labelKey:"controls.back"},selection:{visible:r.isSelectGroups(e),count:o.length},next:{visible:r.isSpecifyInfo(e)||r.isSelectGroups(e),disabled:n,labelKey:a},cancel:{visible:r.isSpecifyInfo(e)||r.isSelectGroups(e),labelKey:"controls.cancel"},close:{visible:r.isConfirmation(e)||r.isFailure(e)||r.isWorking(e),disabled:r.isWorking(e),labelKey:"controls.close"}}}}},M=":host{display:flex;flex-direction:column;justify-content:space-between;gap:1rem;width:calc(100% - 2px)}.sc-arcgis-hub-page-migration-scroll-container{height:65vh;overflow-y:auto;padding-inline:4px}.sc-arcgis-hub-page-migration-scroll-container>arcgis-hub-notice{margin-bottom:1.5rem}arcgis-configuration-editor{max-width:60%;margin:0 auto}arcgis-configuration-editor-field calcite-label>span:first-child{font-weight:var(--calcite-font-weight-bold)}.sc-arcgis-hub-page-migration-footer{display:flex;justify-content:space-between;gap:0.5rem;border-width:0px;border-top-width:1px;border-style:solid;border-color:var(--calcite-color-border-1);padding-block-start:var(--calcite-panel-content-space)}.sc-arcgis-hub-page-migration-footer-start,.sc-arcgis-hub-page-migration-footer-end{display:flex;gap:0.5rem}.sc-arcgis-hub-page-migration-selection-count{display:flex;align-items:center;border-radius:0.25rem;padding:0.75rem;background-color:var(--calcite-color-foreground-1);--calcite-label-margin-bottom:0;border:solid 1px var(--calcite-color-text-1)}",F=M,T=class{constructor(i){A(this,i),this.hubTelemetry=d(this,"hubTelemetry",7),this.arcgisHubPageMigrationWorkflowComplete=d(this,"arcgisHubPageMigrationWorkflowComplete",7),this.arcgisHubPageMigrationWorkflowClose=d(this,"arcgisHubPageMigrationWorkflowClose",7),this.handleStepperChange=t=>{let{state:e}=this,s={tag:"StepChanged",stepIndex:Array.from(t.target.children).reduce((n,a,l)=>a.selected?l:n,-1)};this.state=this.machine.reduce(s,e)},this.handleBackButton=()=>{let{state:t}=this,e={tag:"PreviousStep"};this.state=this.machine.reduce(e,t)},this.handleNextButton=()=>{let{state:t}=this,e={tag:"NextStep"};this.state=this.machine.reduce(e,t)},this.handleCancelButton=()=>{this.arcgisHubPageMigrationWorkflowClose.emit()},this.handleCloseButton=()=>{this.arcgisHubPageMigrationWorkflowClose.emit()},this.pageId=void 0,this.site=void 0,this.state=void 0,this.shouldShowModal=!1}get _context(){return _()}async componentWillLoad(){this.intl=await w.loadIntlForComponent(this.element),this.initMachine()}async initMachine(){let i=await S.fetch(this.pageId,this._context),t={t:(e,o)=>this.intl.t(e,o),page:i,site:this.site};this.machine=new x(this._context,t),this.state=await this.machine.start()}async sharePageWithGroups(i,t){let e=i.map(s=>P(s,this._context.hubRequestOptions)),o=await Promise.all(e);return E(o,[t.toJson()],this._context)}async migratePage(i){var t;try{let e=await S.fetch(this.pageId,this._context),o=await this.sharePageWithGroups(i.selectedGroupIds,e);(o.results.some(a=>a.status==="success")||((t=i.alreadySharedWithGroupIds)===null||t===void 0?void 0:t.length)>0)&&(f("hub:page:edit",this._context,e).access&&(e.update(i.configurationValues.values),await e.save(),this.hubTelemetry.emit(h.dictionary.category.content.action.update.label.slug)),this.site.pages=this.site.pages.filter(l=>l.id!==this.pageId),await v(this.site,this._context.hubRequestOptions));let n={tag:"Success",results:o};this.state=this.machine.reduce(n,i)}catch(e){this.state=this.machine.reduce({tag:"Failure",error:e},i)}}stateChanged(i){i.telemetry&&this.hubTelemetry.emit(i.telemetry),r.isWorking(i)&&i.action&&this[i.action](i),r.isConfirmation(i)&&this.arcgisHubPageMigrationWorkflowComplete.emit(this.pageId)}handleGalleryStateChange(i){if(!i.detail.isInitialization){let{state:t}=this,e={tag:"GalleryStateChanged",galleryState:i.detail};this.state=this.machine.reduce(e,t)}}handleGallerySelect(i){let{state:t}=this,e={tag:"GallerySelectionChanged",selected:i.detail};this.state=this.machine.reduce(e,t)}handleHelpStateActionClick(){let{state:i}=this;this.state=this.machine.reduce({tag:"Retry"},i)}handleConfigEditorChange(i){let{state:t}=this;this.state=this.machine.reduce({tag:"ConfigurationEditorChanged",configurationValues:i.detail},t)}renderCurrentStep(i){let{state:t}=this;if(t&&t.stepIndex===i){let e=[];if(t.helpStateProps&&e.push(p("arcgis-hub-help-state",Object.assign({class:"create-help-state"},t.helpStateProps))),t.noticeId&&e.push(p("arcgis-hub-notice",{noticeId:t.noticeId})),t.component){let o=Object.assign(Object.assign({},t.componentArgs),{t:s=>this.intl.t(s)});e.push(p(this.state.component,Object.assign({},o)))}return e}}renderSelectionCount(i){let{selection:t}=i.controls;if(t.visible){let e=t.limit?"selection.limited":"selection.unlimited";return p("div",{class:"sc-arcgis-hub-page-migration-selection-count"},p("calcite-label",null,this.intl.t(e,t)))}}renderControls(i){return p("div",{class:"sc-arcgis-hub-page-migration-footer"},p("div",{class:"sc-arcgis-hub-page-migration-footer-start"},i.controls.back.visible&&p("calcite-button",{appearance:"outline",disabled:i.controls.back.disabled,kind:"neutral",onClick:this.handleBackButton,round:!0,scale:"l"},this.intl.t(i.controls.back.labelKey)),this.renderSelectionCount(i)),p("div",{class:"sc-arcgis-hub-page-migration-footer-end"},i.controls.cancel.visible&&p("calcite-button",{appearance:"outline",disabled:i.controls.cancel.disabled,onClick:this.handleCancelButton,round:!0,scale:"l"},this.intl.t(i.controls.cancel.labelKey)),i.controls.next.visible&&p("calcite-button",{disabled:i.controls.next.disabled,onClick:this.handleNextButton,round:!0,scale:"l"},this.intl.t(i.controls.next.labelKey)),i.controls.close.visible&&p("calcite-button",{disabled:i.controls.close.disabled,onClick:this.handleCloseButton,round:!0,scale:"l"},this.intl.t(i.controls.close.labelKey))))}render(){let{state:i}=this;if(i)return p(O,{key:"ee31706192e192904a285e5c2935e91899cedc8c","data-element":"hub-page-migration-workflow"},p("calcite-stepper",{key:"f34c388f06828fdf49a166c1a37fb9103fbe0cae",icon:!0,numbered:!0,onCalciteStepperChange:this.handleStepperChange},i.steps.map((t,e)=>p("calcite-stepper-item",{complete:t.complete,disabled:t.disabled,error:t.error,heading:this.intl.t(t.labelKey),key:t.labelKey,selected:i.stepIndex===e},p("div",{class:"sc-arcgis-hub-page-migration-scroll-container"},this.renderCurrentStep(e))))),this.renderControls(i))}static get assetsDirs(){return["locales"]}get element(){return j(this)}static get watchers(){return{state:["stateChanged"]}}};T.style=F;return T},a)