@esri/hub-web-components 0.36.2 → 0.37.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1356) hide show
  1. package/dist/cdn/24SIYWED.js +2 -0
  2. package/dist/cdn/25TYOHZS.js +2 -0
  3. package/dist/cdn/26WZVQ5A.js +2 -0
  4. package/dist/cdn/2B273BBV.js +2 -0
  5. package/dist/cdn/2B6D4MGZ.js +2 -0
  6. package/dist/cdn/2C25X57H.js +2 -0
  7. package/dist/cdn/2DD3P2GE.js +2 -0
  8. package/dist/cdn/2DPSKE3B.js +2 -0
  9. package/dist/cdn/2GV5ZJVP.js +2 -0
  10. package/dist/cdn/2GWRW6YG.js +2 -0
  11. package/dist/cdn/2KUCG2EL.js +2 -0
  12. package/dist/cdn/2NJPYBHN.js +2 -0
  13. package/dist/cdn/2PUMWMNI.js +2 -0
  14. package/dist/cdn/2SYN4GLC.js +2 -0
  15. package/dist/cdn/2TYW7KEN.js +2 -0
  16. package/dist/cdn/2W2UGJLH.js +2 -0
  17. package/dist/cdn/2WQEISGF.js +2 -0
  18. package/dist/cdn/2YBIU2GX.js +2 -0
  19. package/dist/cdn/377TGY4P.js +2 -0
  20. package/dist/cdn/37IO4VH2.js +2 -0
  21. package/dist/cdn/3BJZIUVK.js +2 -0
  22. package/dist/cdn/3C4D6M7U.js +2 -0
  23. package/dist/cdn/3CQWO3Y4.js +2 -0
  24. package/dist/cdn/3J67YE6G.js +2 -0
  25. package/dist/cdn/3LB3CYSI.js +2 -0
  26. package/dist/cdn/3MGFA2AN.js +2 -0
  27. package/dist/cdn/3PBVJ3CK.js +2 -0
  28. package/dist/cdn/3WN3ZWUP.js +2 -0
  29. package/dist/cdn/3ZHXUPIY.js +2 -0
  30. package/dist/cdn/3ZMBKQ2H.js +2 -0
  31. package/dist/cdn/42CWBYSM.js +2 -0
  32. package/dist/cdn/42NTJTRV.js +2 -0
  33. package/dist/cdn/44KVKET3.js +2 -0
  34. package/dist/cdn/46NFE3O2.js +2 -0
  35. package/dist/cdn/47ZOSUE6.js +2 -0
  36. package/dist/cdn/4BGLQILZ.js +2 -0
  37. package/dist/cdn/4BRNZPNW.js +2 -0
  38. package/dist/cdn/4DPYGRIJ.js +2 -0
  39. package/dist/cdn/4EWTHNEV.js +2 -0
  40. package/dist/cdn/4KSDWTJW.js +2 -0
  41. package/dist/cdn/4PQFUUUG.js +2 -0
  42. package/dist/cdn/4QDRXQMV.js +2 -0
  43. package/dist/cdn/4QEFMWHF.js +2 -0
  44. package/dist/cdn/4ST5ERWK.js +2 -0
  45. package/dist/cdn/4ZRQCNU2.js +2 -0
  46. package/dist/cdn/53V23CCM.js +2 -0
  47. package/dist/cdn/56OZPWMC.js +2 -0
  48. package/dist/cdn/5E5J7S54.js +49 -0
  49. package/dist/cdn/5FBDGDSL.js +2 -0
  50. package/dist/cdn/5GNQYAFV.js +2 -0
  51. package/dist/cdn/5H44EM56.js +2 -0
  52. package/dist/cdn/5IANXD5L.js +2 -0
  53. package/dist/cdn/5IZIKW4H.js +2 -0
  54. package/dist/cdn/5J32RGDU.js +2 -0
  55. package/dist/cdn/5KNXEVQR.js +2 -0
  56. package/dist/cdn/5LEP3IWV.js +2 -0
  57. package/dist/cdn/5LJT6UGG.js +2 -0
  58. package/dist/cdn/5NJXZL7F.js +2 -0
  59. package/dist/cdn/5NZ5IS7D.js +2 -0
  60. package/dist/cdn/5ORZPL23.js +2 -0
  61. package/dist/cdn/5PZXLCBE.js +2 -0
  62. package/dist/cdn/5TU3W6P3.js +2 -0
  63. package/dist/cdn/5V53QYYF.js +2 -0
  64. package/dist/cdn/635V3Q2N.js +2 -0
  65. package/dist/cdn/65DPLBLL.js +2 -0
  66. package/dist/cdn/66HUEQL5.js +2 -0
  67. package/dist/cdn/6762DBBI.js +2 -0
  68. package/dist/cdn/6F3NCMF3.js +2 -0
  69. package/dist/cdn/6FPKPREN.js +2 -0
  70. package/dist/cdn/6GJMQB5A.js +2 -0
  71. package/dist/cdn/6IRHI22W.js +9 -0
  72. package/dist/cdn/6LDEVQEO.js +2 -0
  73. package/dist/cdn/6LZU7UCO.js +2 -0
  74. package/dist/cdn/6M5DP7YF.js +2 -0
  75. package/dist/cdn/6P7RNVD7.js +2 -0
  76. package/dist/cdn/6R5V3EGL.js +2 -0
  77. package/dist/cdn/6SPPONRY.js +2 -0
  78. package/dist/cdn/6SSTOHH4.js +2 -0
  79. package/dist/cdn/6TZEJNM7.js +2 -0
  80. package/dist/cdn/6VA6IJMP.js +2 -0
  81. package/dist/cdn/6VE4Q3FO.js +2 -0
  82. package/dist/cdn/6WUAXFQV.js +2 -0
  83. package/dist/cdn/6X3MZZZU.js +2 -0
  84. package/dist/cdn/6YRKIUVP.js +2 -0
  85. package/dist/cdn/72R6GI5S.js +2 -0
  86. package/dist/cdn/733IZVMO.js +3 -0
  87. package/dist/cdn/74ZD6Q4N.js +2 -0
  88. package/dist/cdn/75EIUMLW.js +2 -0
  89. package/dist/cdn/7CZUONP3.js +2 -0
  90. package/dist/cdn/7GTUV67W.js +2 -0
  91. package/dist/cdn/7J2N6ILF.js +2 -0
  92. package/dist/cdn/7JWWAXIQ.js +2 -0
  93. package/dist/cdn/7LNSUWQP.js +2 -0
  94. package/dist/cdn/7MGY3JJQ.js +2 -0
  95. package/dist/cdn/7SELLYRO.js +2 -0
  96. package/dist/cdn/7SOJDYGK.js +2 -0
  97. package/dist/cdn/7UDDAIEI.js +2 -0
  98. package/dist/cdn/A36IL72A.js +2 -0
  99. package/dist/cdn/A6FB2POK.js +2 -0
  100. package/dist/cdn/ACG7WDUT.js +2 -0
  101. package/dist/cdn/AE6NCYFW.js +2 -0
  102. package/dist/cdn/AEPE3IDB.js +2 -0
  103. package/dist/cdn/AG22T6F4.js +2 -0
  104. package/dist/cdn/AHZOMFUT.js +2 -0
  105. package/dist/cdn/AJKLRRS4.js +2 -0
  106. package/dist/cdn/AJOXWMDO.js +2 -0
  107. package/dist/cdn/AKTKIQXI.js +2 -0
  108. package/dist/cdn/AL7OLCOX.js +2 -0
  109. package/dist/cdn/ALUW2GDJ.js +2 -0
  110. package/dist/cdn/AM4QVJ44.js +2 -0
  111. package/dist/cdn/AOSKEGOL.js +2 -0
  112. package/dist/cdn/ARGXJJIR.js +2 -0
  113. package/dist/cdn/AUG7ESKO.js +2 -0
  114. package/dist/cdn/AYFB34A7.js +2 -0
  115. package/dist/cdn/AYK4IBDR.js +2 -0
  116. package/dist/cdn/AZ3MRUIU.js +2 -0
  117. package/dist/cdn/AZKQPOHN.js +2 -0
  118. package/dist/cdn/B5FN4TVW.js +2 -0
  119. package/dist/cdn/B6CP7FIT.js +2 -0
  120. package/dist/cdn/B7DFSP27.js +2 -0
  121. package/dist/cdn/BASDWRBA.js +2 -0
  122. package/dist/cdn/BCAWS3NJ.js +2 -0
  123. package/dist/cdn/BFDKTUKB.js +2 -0
  124. package/dist/cdn/BFNODBIF.js +2 -0
  125. package/dist/cdn/BHYFMWFH.js +10 -0
  126. package/dist/cdn/BMRPHSYL.js +2 -0
  127. package/dist/cdn/BPSQ3CGL.js +2 -0
  128. package/dist/cdn/BU6RNCBS.js +2 -0
  129. package/dist/cdn/BZKD5DHH.js +2 -0
  130. package/dist/cdn/C27C7ZCS.js +101 -0
  131. package/dist/cdn/C3RZCB5I.js +2 -0
  132. package/dist/cdn/CBIG4EMI.js +2 -0
  133. package/dist/cdn/CCX2K4AC.js +2 -0
  134. package/dist/cdn/CCXXOCUE.js +2 -0
  135. package/dist/cdn/CD6LKEQL.js +2 -0
  136. package/dist/cdn/CD736SN3.js +2 -0
  137. package/dist/cdn/CH532URJ.js +2 -0
  138. package/dist/cdn/CHXKFI5R.js +2 -0
  139. package/dist/cdn/CNZGOCEQ.js +2 -0
  140. package/dist/cdn/CQ5TAYO5.js +2 -0
  141. package/dist/cdn/CU2TSBCT.js +2 -0
  142. package/dist/cdn/CWML23HX.js +2 -0
  143. package/dist/cdn/CXKNNQK7.js +2 -0
  144. package/dist/cdn/D2RDQCR6.js +2 -0
  145. package/dist/cdn/D4NLBWYJ.js +2 -0
  146. package/dist/cdn/D4XKOLDN.js +2 -0
  147. package/dist/cdn/DAN7ZYNO.js +2 -0
  148. package/dist/cdn/DBFWM3C6.js +2 -0
  149. package/dist/cdn/DCLYV35L.js +2 -0
  150. package/dist/cdn/DCXY72PD.js +2 -0
  151. package/dist/cdn/DD6UFQOQ.js +2 -0
  152. package/dist/cdn/DELUZ744.js +2 -0
  153. package/dist/cdn/DFSIBYHN.js +2 -0
  154. package/dist/cdn/DH2QF3YA.js +2 -0
  155. package/dist/cdn/DIAOUTLA.js +2 -0
  156. package/dist/cdn/DIQDWGSW.js +2 -0
  157. package/dist/cdn/DJ3H7LZE.js +2 -0
  158. package/dist/cdn/DKMYTCOT.js +2 -0
  159. package/dist/cdn/DLGNRZAS.js +2 -0
  160. package/dist/cdn/DMWDEJZX.js +2 -0
  161. package/dist/cdn/DOER2ALA.js +2 -0
  162. package/dist/cdn/DOOSTAKT.js +2 -0
  163. package/dist/cdn/DPDYPCY7.js +2 -0
  164. package/dist/cdn/DSFT4TPF.js +2 -0
  165. package/dist/cdn/DSULDCNU.js +2 -0
  166. package/dist/cdn/DSUO5O7O.js +2 -0
  167. package/dist/cdn/DYGPQ2O2.js +2 -0
  168. package/dist/cdn/DZCEYSVA.js +2 -0
  169. package/dist/cdn/DZSQQ3ZC.js +2 -0
  170. package/dist/cdn/E2O5UVKQ.js +2 -0
  171. package/dist/cdn/E2RL5I2B.js +2 -0
  172. package/dist/cdn/E2TALV72.js +2 -0
  173. package/dist/cdn/E5HKFFMD.js +2 -0
  174. package/dist/cdn/E6QW4CZ3.js +3 -0
  175. package/dist/cdn/E7RQDZEF.js +2 -0
  176. package/dist/cdn/EG7UYDYW.js +2 -0
  177. package/dist/cdn/EIMMNTTE.js +2 -0
  178. package/dist/cdn/ENIUDJ7K.js +2 -0
  179. package/dist/cdn/EOF2UXV6.js +2 -0
  180. package/dist/cdn/EONYH67A.js +2 -0
  181. package/dist/cdn/EOUHIRVU.js +2 -0
  182. package/dist/cdn/ERN7BZFG.js +2 -0
  183. package/dist/cdn/ETC47ZTE.js +2 -0
  184. package/dist/cdn/ETZTDOJJ.js +2 -0
  185. package/dist/cdn/EXVLM3LY.js +2 -0
  186. package/dist/cdn/F4PVRAMX.js +2 -0
  187. package/dist/cdn/F56NG6UR.js +2 -0
  188. package/dist/cdn/FCTOGFDS.js +7 -0
  189. package/dist/cdn/FDDXGLRF.js +2 -0
  190. package/dist/cdn/FFNG2BKG.js +2 -0
  191. package/dist/cdn/FJLYCKFY.js +2 -0
  192. package/dist/cdn/FKDTJXGG.js +2 -0
  193. package/dist/cdn/FLC2JTMP.js +2 -0
  194. package/dist/cdn/FM3HYPTZ.js +2 -0
  195. package/dist/cdn/FMBEHWFY.js +2 -0
  196. package/dist/cdn/FMSRANRD.js +2 -0
  197. package/dist/cdn/FOYZAUE2.js +2 -0
  198. package/dist/cdn/FPFWOG6D.js +2 -0
  199. package/dist/cdn/FQQX35FA.js +2 -0
  200. package/dist/cdn/FS2LVAOJ.js +2 -0
  201. package/dist/cdn/FY3KPATI.js +2 -0
  202. package/dist/cdn/FZ7ZK37I.js +2 -0
  203. package/dist/cdn/FZCPWCBD.js +2 -0
  204. package/dist/cdn/FZNKGW4A.js +2 -0
  205. package/dist/cdn/G22UXAIP.js +2 -0
  206. package/dist/cdn/G4YSKUJY.js +2 -0
  207. package/dist/cdn/GEQLOXC6.js +2 -0
  208. package/dist/cdn/GEUS66D2.js +2 -0
  209. package/dist/cdn/GI572WEZ.js +2 -0
  210. package/dist/cdn/GJINUBO7.js +2 -0
  211. package/dist/cdn/GJIZO3BY.js +2 -0
  212. package/dist/cdn/GJRBKC6D.js +2 -0
  213. package/dist/cdn/GL6QTMXS.js +2 -0
  214. package/dist/cdn/GLK5OMGB.js +2 -0
  215. package/dist/cdn/GMWTEYRI.js +2 -0
  216. package/dist/cdn/GQUZD452.js +2 -0
  217. package/dist/cdn/GRUKKSRF.js +2 -0
  218. package/dist/cdn/GS3XIBLN.js +2 -0
  219. package/dist/cdn/GSGLH4CM.js +2 -0
  220. package/dist/cdn/GVF26EON.js +2 -0
  221. package/dist/cdn/GVWJBDZW.js +2 -0
  222. package/dist/cdn/GZOH7TH2.js +2 -0
  223. package/dist/cdn/H2EOGBZS.js +2 -0
  224. package/dist/cdn/H2V2RZ6M.js +2 -0
  225. package/dist/cdn/H3CSIYXV.js +2 -0
  226. package/dist/cdn/H4XKOYUB.js +2 -0
  227. package/dist/cdn/H5FX7Z53.js +2 -0
  228. package/dist/cdn/HA3MYKR7.js +2 -0
  229. package/dist/cdn/HEPYE6RX.js +2 -0
  230. package/dist/cdn/HETF33XY.js +2 -0
  231. package/dist/cdn/HF75SET4.js +2 -0
  232. package/dist/cdn/HH5PXKUQ.js +2 -0
  233. package/dist/cdn/HH7X5PFK.js +2 -0
  234. package/dist/cdn/HIJBZFJC.js +2 -0
  235. package/dist/cdn/HINK5GJN.js +2 -0
  236. package/dist/cdn/HITR5JF7.js +2 -0
  237. package/dist/cdn/HM2SQ34E.js +2 -0
  238. package/dist/cdn/HPOK6EKK.js +2 -0
  239. package/dist/cdn/HSFPILSC.js +2 -0
  240. package/dist/cdn/HSYH2RF2.js +2 -0
  241. package/dist/cdn/HTQGWSTE.js +2 -0
  242. package/dist/cdn/HTY7ODQW.js +2 -0
  243. package/dist/cdn/HTYDCXX6.js +2 -0
  244. package/dist/cdn/HUVYHMSC.js +2 -0
  245. package/dist/cdn/HUZVX2LX.js +2 -0
  246. package/dist/cdn/HV466M4A.js +2 -0
  247. package/dist/cdn/HWUCFNAD.js +2 -0
  248. package/dist/cdn/HYUPDCJS.js +2 -0
  249. package/dist/cdn/HZHPBMYE.js +2 -0
  250. package/dist/cdn/I3DM7WYF.js +2 -0
  251. package/dist/cdn/I3LGHXIN.js +2 -0
  252. package/dist/cdn/I4GSA6FV.js +2 -0
  253. package/dist/cdn/I6XITM7G.js +14 -0
  254. package/dist/cdn/I6ZBOCIY.js +2 -0
  255. package/dist/cdn/ICFGB4YA.js +2 -0
  256. package/dist/cdn/IDHZRKXF.js +2 -0
  257. package/dist/cdn/IEDSJLNB.js +2 -0
  258. package/dist/cdn/IGSOBBXK.js +2 -0
  259. package/dist/cdn/II3OUQDN.js +2 -0
  260. package/dist/cdn/IIAM2J7I.js +2 -0
  261. package/dist/cdn/IKDCKYJ5.js +2 -0
  262. package/dist/cdn/ILLXAWCL.js +2 -0
  263. package/dist/cdn/IONZ3SDQ.js +2 -0
  264. package/dist/cdn/IS7DQMPO.js +2 -0
  265. package/dist/cdn/ISFEEC67.js +2 -0
  266. package/dist/cdn/ISLB62MU.js +2 -0
  267. package/dist/cdn/IU5YH2S4.js +2 -0
  268. package/dist/cdn/IXINH2FU.js +2 -0
  269. package/dist/cdn/IZ43EVPH.js +2 -0
  270. package/dist/cdn/J2P53GWU.js +2 -0
  271. package/dist/cdn/J2T727KW.js +2 -0
  272. package/dist/cdn/J4D2HORK.js +2 -0
  273. package/dist/cdn/J6YVMYK4.js +2 -0
  274. package/dist/cdn/J7JW6ADT.js +2 -0
  275. package/dist/cdn/JASFUUT6.js +2 -0
  276. package/dist/cdn/JBND67XM.js +2 -0
  277. package/dist/cdn/JG22JJ4C.js +2 -0
  278. package/dist/cdn/JI5AIZ2W.js +2 -0
  279. package/dist/cdn/JSOZV4HA.js +2 -0
  280. package/dist/cdn/JTE4CLWD.js +2 -0
  281. package/dist/cdn/JWQCCXL5.js +2 -0
  282. package/dist/cdn/JZB5X2MB.js +2 -0
  283. package/dist/cdn/K2DF2MZK.js +2 -0
  284. package/dist/cdn/K33RVKQD.js +2 -0
  285. package/dist/cdn/K3HMF5GC.js +2 -0
  286. package/dist/cdn/K4VVZ2OR.js +2 -0
  287. package/dist/cdn/K5O2OVOP.js +2 -0
  288. package/dist/cdn/K672BF4Z.js +2 -0
  289. package/dist/cdn/KA2RH2XA.js +2 -0
  290. package/dist/cdn/KBPJADC7.js +57 -0
  291. package/dist/cdn/KBYHLIWL.js +2 -0
  292. package/dist/cdn/KI2RNLIW.js +2 -0
  293. package/dist/cdn/KI6QCKOX.js +2 -0
  294. package/dist/cdn/KIEYQKES.js +2 -0
  295. package/dist/cdn/KKON6KFT.js +2 -0
  296. package/dist/cdn/KNZCVIQZ.js +2 -0
  297. package/dist/cdn/KQGFPGAG.js +2 -0
  298. package/dist/cdn/KUB4GMLQ.js +2 -0
  299. package/dist/cdn/KVTXAGQO.js +2 -0
  300. package/dist/cdn/KXGSUPO6.js +2 -0
  301. package/dist/cdn/KZOKH7DH.js +2 -0
  302. package/dist/cdn/L3H4QXUA.js +2 -0
  303. package/dist/cdn/L4D75PLE.js +50 -0
  304. package/dist/cdn/L4XSNBXO.js +2 -0
  305. package/dist/cdn/L6IQ6LTS.js +2 -0
  306. package/dist/cdn/LA2OL44Q.js +2 -0
  307. package/dist/cdn/LDJN5446.js +2 -0
  308. package/dist/cdn/LEVMADAS.js +2 -0
  309. package/dist/cdn/LG3VZTHJ.js +2 -0
  310. package/dist/cdn/LG5BO6HC.js +2 -0
  311. package/dist/cdn/LGCNVPYM.js +2 -0
  312. package/dist/cdn/LK454DSU.js +2 -0
  313. package/dist/cdn/LLGS7DKU.js +2 -0
  314. package/dist/cdn/LLX4O2ZL.js +2 -0
  315. package/dist/cdn/LNVYZ53G.js +2 -0
  316. package/dist/cdn/LPMAR4KQ.js +2 -0
  317. package/dist/cdn/LQ4GVKBA.js +2 -0
  318. package/dist/cdn/LVCMKKG7.js +2 -0
  319. package/dist/cdn/LX5L3QU6.js +2 -0
  320. package/dist/cdn/LY5D6DDL.js +2 -0
  321. package/dist/cdn/M4WTQTD4.js +2 -0
  322. package/dist/cdn/M5TH54YS.js +3 -0
  323. package/dist/cdn/MAKNOF2E.js +2 -0
  324. package/dist/cdn/MBDZ6CTU.js +2 -0
  325. package/dist/cdn/MBJNG2TV.js +2 -0
  326. package/dist/cdn/MCXCKUVJ.js +2 -0
  327. package/dist/cdn/ME6P5KK5.js +2 -0
  328. package/dist/cdn/MGC3EC3F.js +2 -0
  329. package/dist/cdn/MIGVC3YS.js +2 -0
  330. package/dist/cdn/MILBEJO3.js +2 -0
  331. package/dist/cdn/MK2IL6EU.js +2 -0
  332. package/dist/cdn/MPHKEKH4.js +2 -0
  333. package/dist/cdn/MS3RNOP5.js +2 -0
  334. package/dist/cdn/MUN2QI43.js +2 -0
  335. package/dist/cdn/MUVLHU4H.js +2 -0
  336. package/dist/cdn/MWFTBYF7.js +22 -0
  337. package/dist/cdn/MYXIS5RQ.js +2 -0
  338. package/dist/cdn/N2SCAU7I.js +2 -0
  339. package/dist/cdn/N6GGGJDB.js +2 -0
  340. package/dist/cdn/N7CJXIRA.js +2 -0
  341. package/dist/cdn/NABNAFFZ.js +2 -0
  342. package/dist/cdn/NC3HXMKH.js +2 -0
  343. package/dist/cdn/NCDVI3CS.js +2 -0
  344. package/dist/cdn/NCTESU3D.js +2 -0
  345. package/dist/cdn/NE7SMAEP.js +2 -0
  346. package/dist/cdn/NFD3QJ6J.js +2 -0
  347. package/dist/cdn/NFY3ASEY.js +2 -0
  348. package/dist/cdn/NPWIO5CS.js +2 -0
  349. package/dist/cdn/NR4ANSZX.js +2 -0
  350. package/dist/cdn/NSMWYS6Z.js +2 -0
  351. package/dist/cdn/NUH2IEG5.js +2 -0
  352. package/dist/cdn/NW2YTW26.js +2 -0
  353. package/dist/cdn/NYFFZ52T.js +2 -0
  354. package/dist/cdn/NZG4KZHV.js +2 -0
  355. package/dist/cdn/O247GUBF.js +2 -0
  356. package/dist/cdn/OAFVLHOP.js +2 -0
  357. package/dist/cdn/OB5GUG4Q.js +2 -0
  358. package/dist/cdn/OCLH76JV.js +2 -0
  359. package/dist/cdn/OF3K6ILR.js +2 -0
  360. package/dist/cdn/OGP4ICMS.js +2 -0
  361. package/dist/cdn/OHGAZBGC.js +2 -0
  362. package/dist/cdn/OHHSI5BP.js +2 -0
  363. package/dist/cdn/OHRPOEMD.js +2 -0
  364. package/dist/cdn/OLBIGEZV.js +2 -0
  365. package/dist/cdn/OQNAOTWQ.js +2 -0
  366. package/dist/cdn/OQOFL4GS.js +2 -0
  367. package/dist/cdn/OYSFOPFK.js +2 -0
  368. package/dist/cdn/OZDJZBGR.js +2 -0
  369. package/dist/cdn/P25YNGGG.js +2 -0
  370. package/dist/cdn/P32YXLHN.js +2 -0
  371. package/dist/cdn/P4SQ46RJ.js +2 -0
  372. package/dist/cdn/P5C64FCP.js +2 -0
  373. package/dist/cdn/P7D42LBQ.js +2 -0
  374. package/dist/cdn/PHGORKJG.js +4 -0
  375. package/dist/cdn/PJFE4OSA.js +2 -0
  376. package/dist/cdn/PM6CSPJD.js +2 -0
  377. package/dist/cdn/PMG4LRKI.js +2 -0
  378. package/dist/cdn/PQAWOUBJ.js +6 -0
  379. package/dist/cdn/PTT753DR.js +2 -0
  380. package/dist/cdn/PUDNBWDK.js +2 -0
  381. package/dist/cdn/PVUKIX2R.js +2 -0
  382. package/dist/cdn/PWESAKVV.js +6 -0
  383. package/dist/cdn/PXIEZUFC.js +2 -0
  384. package/dist/cdn/Q4GV7FFJ.js +2 -0
  385. package/dist/cdn/Q5A7L43T.js +2 -0
  386. package/dist/cdn/Q5LOYC24.js +2 -0
  387. package/dist/cdn/QA3FAKMR.js +2 -0
  388. package/dist/cdn/QA5B2Y37.js +2 -0
  389. package/dist/cdn/QFSHQXGM.js +2 -0
  390. package/dist/cdn/QK2OPJGK.js +2 -0
  391. package/dist/cdn/QK4D6OMO.js +2 -0
  392. package/dist/cdn/QMYN3FVH.js +2 -0
  393. package/dist/cdn/QQRKMUCB.js +2 -0
  394. package/dist/cdn/QQS6Z4FZ.js +5468 -0
  395. package/dist/cdn/QTIJHBJB.js +2 -0
  396. package/dist/cdn/QTKEVJG2.js +2 -0
  397. package/dist/cdn/QVFTGLEP.js +2 -0
  398. package/dist/cdn/QW4LROIM.js +2 -0
  399. package/dist/cdn/QWOHM2SY.js +2 -0
  400. package/dist/cdn/QYHIY3ME.js +2 -0
  401. package/dist/cdn/QYIYNECI.js +2 -0
  402. package/dist/cdn/R4PTOUBU.js +2 -0
  403. package/dist/cdn/R7CH3OBE.js +2 -0
  404. package/dist/cdn/R7OW7BC6.js +2 -0
  405. package/dist/cdn/RBHMRIVU.js +2 -0
  406. package/dist/cdn/RGKBSVQD.js +2 -0
  407. package/dist/cdn/RGTW5L2M.js +2 -0
  408. package/dist/cdn/RL2IUUBA.js +2 -0
  409. package/dist/cdn/RLTWZY2Y.js +2 -0
  410. package/dist/cdn/ROWHAGC5.js +2 -0
  411. package/dist/cdn/RPCTY5PP.js +2 -0
  412. package/dist/cdn/RPW6M2RS.js +2 -0
  413. package/dist/cdn/RTTSVKW2.js +2 -0
  414. package/dist/cdn/RTUW32PG.js +2 -0
  415. package/dist/cdn/RXVVMKTZ.js +2 -0
  416. package/dist/cdn/S2TL4ARK.js +2 -0
  417. package/dist/cdn/S57GAUCL.js +3 -0
  418. package/dist/cdn/S6DY4JGI.js +2 -0
  419. package/dist/cdn/S6XQNPGY.js +2 -0
  420. package/dist/cdn/SCTDVE2P.js +2 -0
  421. package/dist/cdn/SD326B2E.js +2 -0
  422. package/dist/cdn/SDXNFZ6Q.js +2 -0
  423. package/dist/cdn/SDZ7AXWI.js +2 -0
  424. package/dist/cdn/SEZVVM5Z.js +2 -0
  425. package/dist/cdn/SGM4YRBH.js +2 -0
  426. package/dist/cdn/SNSHV52T.js +2 -0
  427. package/dist/cdn/SR3IHWFL.js +2 -0
  428. package/dist/cdn/SVAOM6PB.js +2 -0
  429. package/dist/cdn/SZJPVJS6.js +2 -0
  430. package/dist/cdn/T3M236GE.js +2 -0
  431. package/dist/cdn/TARH5FST.js +2 -0
  432. package/dist/cdn/TBD7PFFA.js +2 -0
  433. package/dist/cdn/TC2QNSUN.js +2 -0
  434. package/dist/cdn/TCBYBEBE.js +2 -0
  435. package/dist/cdn/TCCZ5S2A.js +2 -0
  436. package/dist/cdn/TFMTKJFO.js +2 -0
  437. package/dist/cdn/TGK6L2ZE.js +2 -0
  438. package/dist/cdn/TH5ZUUV3.js +2 -0
  439. package/dist/cdn/THLIDOGM.js +2 -0
  440. package/dist/cdn/TJLG5Q5Y.js +2 -0
  441. package/dist/cdn/TJMJIAXA.js +2 -0
  442. package/dist/cdn/TO5XR7VA.js +2 -0
  443. package/dist/cdn/TQ5M7ABM.js +2 -0
  444. package/dist/cdn/TVZTOZL7.js +2 -0
  445. package/dist/cdn/TXQQV57A.js +2 -0
  446. package/dist/cdn/TZLGC5F6.js +2 -0
  447. package/dist/cdn/U2H7HOIC.js +2 -0
  448. package/dist/cdn/U7SPPU37.js +2 -0
  449. package/dist/cdn/UA2PWQXW.js +2 -0
  450. package/dist/cdn/UADY5XO7.js +2 -0
  451. package/dist/cdn/UAGYDOBI.js +2 -0
  452. package/dist/cdn/UC7PCLBG.js +2 -0
  453. package/dist/cdn/UCBTNECN.js +2 -0
  454. package/dist/cdn/UCNRE4DW.js +23 -0
  455. package/dist/cdn/UCUSWPVC.js +2 -0
  456. package/dist/cdn/UEMRCQKF.js +2 -0
  457. package/dist/cdn/UGI23J3C.js +2 -0
  458. package/dist/cdn/UGPEDWIJ.js +4 -0
  459. package/dist/cdn/UJKN7G7W.js +2 -0
  460. package/dist/cdn/UJZ32HDH.js +2 -0
  461. package/dist/cdn/UMST4RFY.js +2 -0
  462. package/dist/cdn/UN6MRXZW.js +2 -0
  463. package/dist/cdn/UNAHMPVZ.js +2 -0
  464. package/dist/cdn/UOAJQR2X.js +2 -0
  465. package/dist/cdn/UR5INQGU.js +2 -0
  466. package/dist/cdn/USNX342T.js +2 -0
  467. package/dist/cdn/UTQMJRMF.js +2 -0
  468. package/dist/cdn/UUGPYRMY.js +2 -0
  469. package/dist/cdn/UWA2UA4S.js +2 -0
  470. package/dist/cdn/UXDEAKSF.js +2 -0
  471. package/dist/cdn/UYYBCR75.js +2 -0
  472. package/dist/cdn/V33D2RRV.js +2 -0
  473. package/dist/cdn/V3OFOLDD.js +2 -0
  474. package/dist/cdn/V3U3RRL7.js +2 -0
  475. package/dist/cdn/V6SKJ43C.js +2 -0
  476. package/dist/cdn/V7H25Z5U.js +2 -0
  477. package/dist/cdn/V7PXTC6I.js +2 -0
  478. package/dist/cdn/VANWWSL3.js +2 -0
  479. package/dist/cdn/VCGND4NR.js +2 -0
  480. package/dist/cdn/VFVNN33U.js +2 -0
  481. package/dist/cdn/VHIRPM4L.js +2 -0
  482. package/dist/cdn/VIC2IR7N.js +2 -0
  483. package/dist/cdn/VJ4I63OO.js +2 -0
  484. package/dist/cdn/VPJ4NGJ5.js +2 -0
  485. package/dist/cdn/VT5NU2WH.js +2 -0
  486. package/dist/cdn/VXJI546E.js +2 -0
  487. package/dist/cdn/W2VLXDRD.js +39 -0
  488. package/dist/cdn/W37GIL2C.js +2 -0
  489. package/dist/cdn/W57XOSMI.js +2 -0
  490. package/dist/cdn/W5FA4IWP.js +10 -0
  491. package/dist/cdn/W6BMVYH7.js +2 -0
  492. package/dist/cdn/W6GBJ4BL.js +2 -0
  493. package/dist/cdn/WBUC7HJI.js +2 -0
  494. package/dist/cdn/WEJLZVU6.js +2 -0
  495. package/dist/cdn/WFV47RA4.js +4 -0
  496. package/dist/cdn/WFWIIWQC.js +2 -0
  497. package/dist/cdn/WGUAKT5I.js +2 -0
  498. package/dist/cdn/WJED2YG7.js +2 -0
  499. package/dist/cdn/WJFIZ6DL.js +2 -0
  500. package/dist/cdn/WL6CGZLR.js +2 -0
  501. package/dist/cdn/WMNWHF5U.js +2 -0
  502. package/dist/cdn/WN7GK2WG.js +2 -0
  503. package/dist/cdn/WO6HRRH3.js +2 -0
  504. package/dist/cdn/WPADWRCH.js +2 -0
  505. package/dist/cdn/WTJOWA2D.js +2 -0
  506. package/dist/cdn/WTTSGDHM.js +2 -0
  507. package/dist/cdn/WU3HYV7B.js +2 -0
  508. package/dist/cdn/WVZNJMRA.js +2 -0
  509. package/dist/cdn/X5GRVXSY.js +2 -0
  510. package/dist/cdn/XGOWY36W.js +2 -0
  511. package/dist/cdn/XI72UBIK.js +2 -0
  512. package/dist/cdn/XIWVNNXH.js +2 -0
  513. package/dist/cdn/XKQTJFVJ.js +2 -0
  514. package/dist/cdn/XKUKAFLE.js +2 -0
  515. package/dist/cdn/XLV625TR.js +2 -0
  516. package/dist/cdn/XN55PVRJ.js +2 -0
  517. package/dist/cdn/XP6ZXTST.js +2 -0
  518. package/dist/cdn/XX3BCLUI.js +2 -0
  519. package/dist/cdn/XYUMPZMT.js +2 -0
  520. package/dist/cdn/XZDHV5BV.js +2 -0
  521. package/dist/cdn/Y7N6UKCC.js +2 -0
  522. package/dist/cdn/YBDFIKTN.js +2 -0
  523. package/dist/cdn/YCEXTCZD.js +2 -0
  524. package/dist/cdn/YDWT2GP5.js +2 -0
  525. package/dist/cdn/YHO7A5RX.js +2 -0
  526. package/dist/cdn/YKYTSHP4.js +2 -0
  527. package/dist/cdn/YLRR2XFD.js +2 -0
  528. package/dist/cdn/YMX7NNEY.js +3 -0
  529. package/dist/cdn/YQMHCSXF.js +2 -0
  530. package/dist/cdn/YRCBIK2Y.js +2 -0
  531. package/dist/cdn/YVXHYFKJ.js +2 -0
  532. package/dist/cdn/YWXDWRYJ.js +2 -0
  533. package/dist/cdn/Z2Z5RGR2.js +2 -0
  534. package/dist/cdn/Z3TOG5XS.js +2 -0
  535. package/dist/cdn/Z756THCU.js +2 -0
  536. package/dist/cdn/Z7Q6BWC3.js +2 -0
  537. package/dist/cdn/ZC36M5LD.js +2 -0
  538. package/dist/cdn/ZCQJ26PE.js +2 -0
  539. package/dist/cdn/ZFP6AZG7.js +2 -0
  540. package/dist/cdn/ZKXOPB4E.js +2 -0
  541. package/dist/cdn/ZM3EAORZ.js +2 -0
  542. package/dist/cdn/ZNEDALBA.js +2 -0
  543. package/dist/cdn/ZQPTNYU6.js +2 -0
  544. package/dist/cdn/ZR5F7KBC.js +2 -0
  545. package/dist/cdn/ZT74OVX5.js +2 -0
  546. package/dist/cdn/ZUFDLSS7.js +2 -0
  547. package/dist/cdn/ZVGAVULD.js +2 -0
  548. package/dist/cdn/ZX3NL6MQ.js +2 -0
  549. package/dist/cdn/ZXTOK4AF.js +2 -0
  550. package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
  551. package/dist/cdn/index.js +2 -4
  552. package/dist/cdn/main.css +1 -1
  553. package/dist/chunks/findColumnAndNodeIndex.js +1 -3
  554. package/dist/chunks/getResponsiveClasses.js +1 -3
  555. package/dist/chunks/interpolate-translations.js +1 -3
  556. package/dist/chunks/isNodeVisible.js +1 -3
  557. package/dist/chunks/layoutContext.js +1 -3
  558. package/dist/chunks/migrateTextCard.js +1 -3
  559. package/dist/chunks/processLayout.js +1 -3
  560. package/dist/chunks/runtime.js +4 -5
  561. package/dist/chunks/state.js +1 -3
  562. package/dist/chunks/typeGuards.js +1 -3
  563. package/dist/chunks/useGlobalContext.js +1 -3
  564. package/dist/chunks/useT9n.js +1 -3
  565. package/dist/chunks/util.js +1 -3
  566. package/dist/components/arcgis-chat-shell/customElement.d.ts +37 -16
  567. package/dist/components/arcgis-chat-shell/customElement.js +8 -11
  568. package/dist/components/arcgis-chat-shell/index.d.ts +0 -4
  569. package/dist/components/arcgis-chat-ui/customElement.d.ts +148 -64
  570. package/dist/components/arcgis-chat-ui/customElement.js +15 -18
  571. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -4
  572. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +34 -36
  573. package/dist/components/arcgis-chat-ui/index.d.ts +0 -5
  574. package/dist/components/arcgis-chat-ui/util/types.d.ts +8 -29
  575. package/dist/components/arcgis-hub-ai-assistant/customElement.d.ts +76 -58
  576. package/dist/components/arcgis-hub-ai-assistant/customElement.js +17 -25
  577. package/dist/components/arcgis-hub-ai-assistant/index.d.ts +0 -4
  578. package/dist/components/arcgis-hub-ai-assistant/util/framework.d.ts +69 -176
  579. package/dist/components/arcgis-hub-entity-associations-card/customElement.d.ts +14 -28
  580. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -4
  581. package/dist/components/arcgis-hub-entity-associations-card/index.d.ts +0 -1
  582. package/dist/components/arcgis-hub-entity-metrics-card/customElement.d.ts +8 -20
  583. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +5 -8
  584. package/dist/components/arcgis-hub-entity-metrics-card/index.d.ts +0 -1
  585. package/dist/components/arcgis-hub-entity-status-card/customElement.d.ts +24 -11
  586. package/dist/components/arcgis-hub-entity-status-card/customElement.js +3 -5
  587. package/dist/components/arcgis-hub-entity-status-card/index.d.ts +0 -1
  588. package/dist/components/arcgis-hub-entity-view-layout/customElement.d.ts +81 -21
  589. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -12
  590. package/dist/components/arcgis-hub-entity-view-layout/index.d.ts +0 -3
  591. package/dist/components/arcgis-layout/customElement.d.ts +49 -46
  592. package/dist/components/arcgis-layout/customElement.js +8 -11
  593. package/dist/components/arcgis-layout/index.d.ts +0 -2
  594. package/dist/components/arcgis-layout-column/customElement.js +3 -5
  595. package/dist/components/arcgis-layout-container/customElement.d.ts +311 -49
  596. package/dist/components/arcgis-layout-container/customElement.js +10 -18
  597. package/dist/components/arcgis-layout-container/index.d.ts +0 -9
  598. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +8 -10
  599. package/dist/components/arcgis-layout-node-controls/customElement.js +15 -14
  600. package/dist/components/arcgis-layout-node-editor/customElement.js +6 -8
  601. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -4
  602. package/dist/components/arcgis-layout-node-wrapper/customElement.js +5 -7
  603. package/dist/components/arcgis-layout-row/customElement.js +3 -5
  604. package/dist/components/arcgis-layout-section/customElement.js +3 -5
  605. package/dist/components/arcgis-nav-card/customElement.d.ts +52 -41
  606. package/dist/components/arcgis-nav-card/customElement.js +7 -10
  607. package/dist/components/arcgis-nav-card/index.d.ts +0 -5
  608. package/dist/components/arcgis-text-card/customElement.d.ts +11 -12
  609. package/dist/components/arcgis-text-card/customElement.js +6 -9
  610. package/dist/components/layouts/components/layout-node/customElement.js +3 -5
  611. package/dist/components/layouts/utils/layout-event-types.d.ts +4 -12
  612. package/dist/docs/api.json +1 -2758
  613. package/dist/docs/docs.json +1 -2538
  614. package/dist/docs/vscode.css-custom-data.json +1 -6
  615. package/dist/docs/vscode.html-custom-data.json +1 -257
  616. package/dist/docs/web-types.json +1 -757
  617. package/dist/embed-config.js +1 -3
  618. package/dist/index.d.ts +77 -124
  619. package/dist/index.js +1 -3
  620. package/dist/loader.d.ts +1 -1
  621. package/dist/loader.js +10 -12
  622. package/dist/types/components.d.ts +2 -1
  623. package/dist/types/lumina.d.ts +38 -38
  624. package/dist/types/preact.d.ts +41 -41
  625. package/dist/types/react.d.ts +38 -38
  626. package/dist/types/stencil.d.ts +38 -38
  627. package/package.json +44 -23
  628. package/dist/cdn/23N6W2XZ.js +0 -4
  629. package/dist/cdn/275FHRKN.js +0 -4
  630. package/dist/cdn/27F6TPCS.js +0 -4
  631. package/dist/cdn/27U5R6LS.js +0 -4
  632. package/dist/cdn/2DHYXSZJ.js +0 -4
  633. package/dist/cdn/2ECOUWIG.js +0 -4
  634. package/dist/cdn/2EHESUUD.js +0 -4
  635. package/dist/cdn/2EYFNNQK.js +0 -4
  636. package/dist/cdn/2F7RV46R.js +0 -4
  637. package/dist/cdn/2GOQSJ5T.js +0 -4
  638. package/dist/cdn/2JVRYYJP.js +0 -4
  639. package/dist/cdn/2LS7I4ZX.js +0 -4
  640. package/dist/cdn/2P64B6XL.js +0 -4
  641. package/dist/cdn/2QCDGVM4.js +0 -4
  642. package/dist/cdn/2SXEAW54.js +0 -4
  643. package/dist/cdn/2THHHAJ2.js +0 -4
  644. package/dist/cdn/2XB42DAL.js +0 -4
  645. package/dist/cdn/2YDUDHXA.js +0 -4
  646. package/dist/cdn/2ZDKVOTP.js +0 -4
  647. package/dist/cdn/35M3SKBJ.js +0 -4
  648. package/dist/cdn/35NSLO2Y.js +0 -4
  649. package/dist/cdn/36MK2EXQ.js +0 -4
  650. package/dist/cdn/37FRIOCE.js +0 -4
  651. package/dist/cdn/37VSTUPM.js +0 -4
  652. package/dist/cdn/3ATMJEPW.js +0 -4
  653. package/dist/cdn/3BDJY5BX.js +0 -4
  654. package/dist/cdn/3EDB42ZS.js +0 -4
  655. package/dist/cdn/3I34MZEX.js +0 -4
  656. package/dist/cdn/3IZHO3XL.js +0 -4
  657. package/dist/cdn/3JEIYM7F.js +0 -5
  658. package/dist/cdn/3K67RLX4.js +0 -4
  659. package/dist/cdn/3KLUHSC5.js +0 -4
  660. package/dist/cdn/3MWAPECD.js +0 -4
  661. package/dist/cdn/3NANCCHZ.js +0 -8
  662. package/dist/cdn/3NS4OARL.js +0 -4
  663. package/dist/cdn/3OGQWIGK.js +0 -4
  664. package/dist/cdn/3R77KLWR.js +0 -4
  665. package/dist/cdn/3SINT6IY.js +0 -4
  666. package/dist/cdn/3UHTLHNL.js +0 -4
  667. package/dist/cdn/3VU6MQCN.js +0 -4
  668. package/dist/cdn/42GNBIQC.js +0 -4
  669. package/dist/cdn/42TC5MUI.js +0 -4
  670. package/dist/cdn/44G3VL2P.js +0 -4
  671. package/dist/cdn/45JOGUIC.js +0 -4
  672. package/dist/cdn/46BOI5OY.js +0 -4
  673. package/dist/cdn/46TKGLEV.js +0 -4
  674. package/dist/cdn/4AU2VLXK.js +0 -41
  675. package/dist/cdn/4AUZGHBY.js +0 -4
  676. package/dist/cdn/4FWCTO5Z.js +0 -4
  677. package/dist/cdn/4GJWAZAM.js +0 -4
  678. package/dist/cdn/4GLJPXIC.js +0 -4
  679. package/dist/cdn/4H7COY5K.js +0 -4
  680. package/dist/cdn/4HFM7CFR.js +0 -4
  681. package/dist/cdn/4INYJFY5.js +0 -4
  682. package/dist/cdn/4IOISN3W.js +0 -4
  683. package/dist/cdn/4JJXKJO4.js +0 -4
  684. package/dist/cdn/4MA4XE5T.js +0 -4
  685. package/dist/cdn/4RGQ4DK7.js +0 -4
  686. package/dist/cdn/4SRO4GBN.js +0 -52
  687. package/dist/cdn/4TABEIHC.js +0 -4
  688. package/dist/cdn/4WO4QOTH.js +0 -4
  689. package/dist/cdn/4WXJ5RAV.js +0 -4
  690. package/dist/cdn/532DX3BO.js +0 -4
  691. package/dist/cdn/55EWEJDE.js +0 -4
  692. package/dist/cdn/55EX5FKG.js +0 -4
  693. package/dist/cdn/55GXZBXL.js +0 -4
  694. package/dist/cdn/55KDVWVA.js +0 -6
  695. package/dist/cdn/55XW4CQF.js +0 -4
  696. package/dist/cdn/5AGFUSNI.js +0 -4
  697. package/dist/cdn/5B42DZCB.js +0 -5
  698. package/dist/cdn/5CISGAIA.js +0 -4
  699. package/dist/cdn/5H4KFHK7.js +0 -4
  700. package/dist/cdn/5JKRLZYI.js +0 -8
  701. package/dist/cdn/5KWQPSJS.js +0 -4
  702. package/dist/cdn/5OUNJXIP.js +0 -4
  703. package/dist/cdn/5UGW2XZT.js +0 -4
  704. package/dist/cdn/5VRP6DW2.js +0 -4
  705. package/dist/cdn/5XW2FH55.js +0 -4
  706. package/dist/cdn/5YP55NTH.js +0 -4
  707. package/dist/cdn/5YPL66F7.js +0 -4
  708. package/dist/cdn/5ZPPAF6W.js +0 -4
  709. package/dist/cdn/63O4WMQL.js +0 -4
  710. package/dist/cdn/65JIJXEQ.js +0 -4
  711. package/dist/cdn/65TFPXXY.js +0 -4
  712. package/dist/cdn/66ZISCR6.js +0 -4
  713. package/dist/cdn/67HEP6KG.js +0 -4
  714. package/dist/cdn/67PKG2EB.js +0 -4
  715. package/dist/cdn/6EQZUST4.js +0 -4
  716. package/dist/cdn/6K3LC6CH.js +0 -4
  717. package/dist/cdn/6KWOWU2Z.js +0 -4
  718. package/dist/cdn/6O7K7UFT.js +0 -4
  719. package/dist/cdn/6OJMBA73.js +0 -4
  720. package/dist/cdn/6PJHKXLK.js +0 -4
  721. package/dist/cdn/6SAKZ22T.js +0 -4
  722. package/dist/cdn/6U4RCZDQ.js +0 -4
  723. package/dist/cdn/6VGHC5HS.js +0 -4
  724. package/dist/cdn/6WTWRZM6.js +0 -4
  725. package/dist/cdn/6Y6JDA6N.js +0 -4
  726. package/dist/cdn/6YU6DYYT.js +0 -4
  727. package/dist/cdn/6YWJ4C5F.js +0 -4
  728. package/dist/cdn/6YWWV2OW.js +0 -4
  729. package/dist/cdn/73CZV75P.js +0 -4
  730. package/dist/cdn/755BZUI2.js +0 -4
  731. package/dist/cdn/75Z5QMLZ.js +0 -4
  732. package/dist/cdn/77BM2RZ7.js +0 -4
  733. package/dist/cdn/77QGMIVG.js +0 -4
  734. package/dist/cdn/7BIZJ5CA.js +0 -4
  735. package/dist/cdn/7DAW2MAL.js +0 -4
  736. package/dist/cdn/7EAC2TIQ.js +0 -4
  737. package/dist/cdn/7FBH6TR2.js +0 -4
  738. package/dist/cdn/7FDMUCWK.js +0 -4
  739. package/dist/cdn/7GDAWMPY.js +0 -4
  740. package/dist/cdn/7HD23FOG.js +0 -4
  741. package/dist/cdn/7HHMWN47.js +0 -4
  742. package/dist/cdn/7J3F5BWJ.js +0 -4
  743. package/dist/cdn/7MUBNZ6O.js +0 -4
  744. package/dist/cdn/7N5EDJDD.js +0 -4
  745. package/dist/cdn/7NI3FUYB.js +0 -4
  746. package/dist/cdn/7NMWZDJE.js +0 -4
  747. package/dist/cdn/7NZBRMSJ.js +0 -4
  748. package/dist/cdn/7O5WJZNW.js +0 -4
  749. package/dist/cdn/7P7DPT2S.js +0 -4
  750. package/dist/cdn/7SJYWMWQ.js +0 -4
  751. package/dist/cdn/7TP55GOP.js +0 -4
  752. package/dist/cdn/7TUECNL3.js +0 -4
  753. package/dist/cdn/7UG32IMJ.js +0 -4
  754. package/dist/cdn/7VHCBHXV.js +0 -4
  755. package/dist/cdn/7WEWB3RB.js +0 -4
  756. package/dist/cdn/7Z3BEP7R.js +0 -4
  757. package/dist/cdn/A33YIYKX.js +0 -4
  758. package/dist/cdn/A3T3JHAT.js +0 -4
  759. package/dist/cdn/A5AYE47V.js +0 -4
  760. package/dist/cdn/A5O2NTWA.js +0 -4
  761. package/dist/cdn/AAQEOXA6.js +0 -4
  762. package/dist/cdn/ABZKGHD4.js +0 -4
  763. package/dist/cdn/ACHKJEPE.js +0 -4
  764. package/dist/cdn/ADHUCB3E.js +0 -4
  765. package/dist/cdn/AEMFZ7DJ.js +0 -4
  766. package/dist/cdn/AG67QKP3.js +0 -4
  767. package/dist/cdn/AHBP4VDN.js +0 -4
  768. package/dist/cdn/AJSON6AU.js +0 -4
  769. package/dist/cdn/ANKXEUBF.js +0 -4
  770. package/dist/cdn/AO5GWLKA.js +0 -4
  771. package/dist/cdn/AO7NAFDT.js +0 -4
  772. package/dist/cdn/AOIA5QS4.js +0 -4
  773. package/dist/cdn/B4JVA2NG.js +0 -4
  774. package/dist/cdn/B6IUHY7X.js +0 -4
  775. package/dist/cdn/B7X34H5U.js +0 -4
  776. package/dist/cdn/BAL44ZRR.js +0 -4
  777. package/dist/cdn/BALQQD5M.js +0 -4
  778. package/dist/cdn/BE5RH3YF.js +0 -4
  779. package/dist/cdn/BEX7FP5K.js +0 -4
  780. package/dist/cdn/BFGN5PIQ.js +0 -4
  781. package/dist/cdn/BIJKRQBY.js +0 -4
  782. package/dist/cdn/BINMKNA4.js +0 -4
  783. package/dist/cdn/BJHVV3QQ.js +0 -4
  784. package/dist/cdn/BKPVGAJB.js +0 -59
  785. package/dist/cdn/BL4DSQYC.js +0 -4
  786. package/dist/cdn/BLTDMSA7.js +0 -4
  787. package/dist/cdn/BQBD2DYN.js +0 -4
  788. package/dist/cdn/BQGTAI65.js +0 -4
  789. package/dist/cdn/BRNIYDQI.js +0 -4
  790. package/dist/cdn/BVEJI67A.js +0 -4
  791. package/dist/cdn/BW2JHKMR.js +0 -4
  792. package/dist/cdn/BYA3KMW3.js +0 -4
  793. package/dist/cdn/BZOGYTKT.js +0 -4
  794. package/dist/cdn/C35BKIUH.js +0 -4
  795. package/dist/cdn/C3JLSPAT.js +0 -4
  796. package/dist/cdn/C67URHFR.js +0 -4
  797. package/dist/cdn/C67WP7MS.js +0 -4
  798. package/dist/cdn/C6AQ57B5.js +0 -4
  799. package/dist/cdn/CDZIPYKL.js +0 -4
  800. package/dist/cdn/CFA5WEQ4.js +0 -4
  801. package/dist/cdn/CH7OZZPH.js +0 -4
  802. package/dist/cdn/CHLKYXQJ.js +0 -4
  803. package/dist/cdn/CVAEERSJ.js +0 -4
  804. package/dist/cdn/D2PUGPNE.js +0 -4
  805. package/dist/cdn/D37RW6DM.js +0 -4
  806. package/dist/cdn/D4BTW4HP.js +0 -4
  807. package/dist/cdn/D4P6UND3.js +0 -4
  808. package/dist/cdn/D5EAYWJU.js +0 -4
  809. package/dist/cdn/D6ABLQKG.js +0 -4
  810. package/dist/cdn/DCXA72P4.js +0 -4
  811. package/dist/cdn/DDY7JIJ6.js +0 -4
  812. package/dist/cdn/DGJN7MAO.js +0 -4
  813. package/dist/cdn/DHHWJYBV.js +0 -4
  814. package/dist/cdn/DJMUU3DF.js +0 -4
  815. package/dist/cdn/DN3W3QWA.js +0 -4
  816. package/dist/cdn/DNM3WXJN.js +0 -4
  817. package/dist/cdn/DOTK332X.js +0 -4
  818. package/dist/cdn/DP2XJ3D2.js +0 -4
  819. package/dist/cdn/DQSJYXPO.js +0 -4
  820. package/dist/cdn/DYL7KYHS.js +0 -4
  821. package/dist/cdn/E3WWPI7Y.js +0 -4
  822. package/dist/cdn/E445II4R.js +0 -4
  823. package/dist/cdn/E4JKSRCJ.js +0 -4
  824. package/dist/cdn/E4PN3RFI.js +0 -4
  825. package/dist/cdn/E4RTEACV.js +0 -4
  826. package/dist/cdn/E5GKRHG5.js +0 -4
  827. package/dist/cdn/E6SKCXTA.js +0 -4
  828. package/dist/cdn/EAPLKV2F.js +0 -4
  829. package/dist/cdn/EE5M4R7L.js +0 -4
  830. package/dist/cdn/EENXZK33.js +0 -4
  831. package/dist/cdn/EEP5SC3Q.js +0 -4
  832. package/dist/cdn/EEZWJCAI.js +0 -4
  833. package/dist/cdn/EHQQNEKV.js +0 -4
  834. package/dist/cdn/EJ72P2EL.js +0 -4
  835. package/dist/cdn/ELOXOFXR.js +0 -4
  836. package/dist/cdn/ENYCM2BZ.js +0 -4
  837. package/dist/cdn/EQY55BIN.js +0 -4
  838. package/dist/cdn/EUJMZDKO.js +0 -4
  839. package/dist/cdn/EVUT4MY7.js +0 -4
  840. package/dist/cdn/EWIXPOTG.js +0 -4
  841. package/dist/cdn/EXEA2U5Y.js +0 -4
  842. package/dist/cdn/F2IQQSLX.js +0 -4
  843. package/dist/cdn/F2ZVBXKP.js +0 -4
  844. package/dist/cdn/F44SBKUG.js +0 -4
  845. package/dist/cdn/F45Z3UD5.js +0 -4
  846. package/dist/cdn/F46A6W7U.js +0 -4
  847. package/dist/cdn/FBBSMT6Z.js +0 -4
  848. package/dist/cdn/FCPASE7R.js +0 -4
  849. package/dist/cdn/FEKS34G6.js +0 -4
  850. package/dist/cdn/FHI65R74.js +0 -4
  851. package/dist/cdn/FHO6NOPQ.js +0 -4
  852. package/dist/cdn/FKGQH4GY.js +0 -4
  853. package/dist/cdn/FLH7F6U4.js +0 -4
  854. package/dist/cdn/FMATC3WT.js +0 -4
  855. package/dist/cdn/FMIHPL42.js +0 -4
  856. package/dist/cdn/FQTFDGIQ.js +0 -4
  857. package/dist/cdn/FSDGM2AN.js +0 -4
  858. package/dist/cdn/FTTVWVFK.js +0 -4
  859. package/dist/cdn/FTWVC57H.js +0 -4
  860. package/dist/cdn/FUVIMEYY.js +0 -4
  861. package/dist/cdn/FWAWHAFR.js +0 -4
  862. package/dist/cdn/FY3A5A57.js +0 -4
  863. package/dist/cdn/FYERXL6Y.js +0 -4
  864. package/dist/cdn/FZKWQOCD.js +0 -4
  865. package/dist/cdn/FZQBKEKK.js +0 -4
  866. package/dist/cdn/G3FTBUSH.js +0 -4
  867. package/dist/cdn/G4FKEAQV.js +0 -4
  868. package/dist/cdn/G4ZR75UC.js +0 -4
  869. package/dist/cdn/G72C3232.js +0 -4
  870. package/dist/cdn/GB6W6WWU.js +0 -4
  871. package/dist/cdn/GBO4UUHW.js +0 -4
  872. package/dist/cdn/GEXR5MLE.js +0 -4
  873. package/dist/cdn/GFOKP74Y.js +0 -4
  874. package/dist/cdn/GGQTBNLJ.js +0 -4
  875. package/dist/cdn/GJJ7LJJG.js +0 -4
  876. package/dist/cdn/GJZRCLPU.js +0 -4
  877. package/dist/cdn/GKMAAIGN.js +0 -4
  878. package/dist/cdn/GMULUMPH.js +0 -4
  879. package/dist/cdn/GN4KY7H4.js +0 -4
  880. package/dist/cdn/GOGXUCYY.js +0 -4
  881. package/dist/cdn/GSRECN2Z.js +0 -4
  882. package/dist/cdn/GWPYV2KX.js +0 -4
  883. package/dist/cdn/GWVP4IFU.js +0 -4
  884. package/dist/cdn/GXVTMQSU.js +0 -4
  885. package/dist/cdn/GYEEQUIG.js +0 -4
  886. package/dist/cdn/GYTNDG3P.js +0 -4
  887. package/dist/cdn/HF6BDQ6N.js +0 -4
  888. package/dist/cdn/HHETNGII.js +0 -4
  889. package/dist/cdn/HIQRIHSJ.js +0 -4
  890. package/dist/cdn/HNIK2PZA.js +0 -4
  891. package/dist/cdn/HP2YGZ7I.js +0 -4
  892. package/dist/cdn/HPYJOZTI.js +0 -4
  893. package/dist/cdn/HQ2FHS27.js +0 -4
  894. package/dist/cdn/HSMRPCEX.js +0 -4
  895. package/dist/cdn/HUB47M56.js +0 -4
  896. package/dist/cdn/HWD3SXLY.js +0 -4
  897. package/dist/cdn/HXLBX4JF.js +0 -4
  898. package/dist/cdn/HXOY7JUN.js +0 -4
  899. package/dist/cdn/I22KJABQ.js +0 -4
  900. package/dist/cdn/IAGEN52E.js +0 -4
  901. package/dist/cdn/IEKZTKS7.js +0 -4
  902. package/dist/cdn/IF6JBFZS.js +0 -4
  903. package/dist/cdn/IFXTKCYD.js +0 -4
  904. package/dist/cdn/IG3KK4GI.js +0 -4
  905. package/dist/cdn/IJZQYCXL.js +0 -4
  906. package/dist/cdn/IMO4XFVL.js +0 -24
  907. package/dist/cdn/INKOL5SL.js +0 -4
  908. package/dist/cdn/IOGVG3UZ.js +0 -4
  909. package/dist/cdn/IQG54FJA.js +0 -4
  910. package/dist/cdn/IQOKNUCH.js +0 -4
  911. package/dist/cdn/IV6B6JJ6.js +0 -4
  912. package/dist/cdn/IWKRDSIB.js +0 -4
  913. package/dist/cdn/IXBJ77XU.js +0 -4
  914. package/dist/cdn/J2MBCCXQ.js +0 -4
  915. package/dist/cdn/J4JQXXDL.js +0 -4
  916. package/dist/cdn/J4KFKO7C.js +0 -4
  917. package/dist/cdn/J6VTDIOA.js +0 -4
  918. package/dist/cdn/JA3MN6JC.js +0 -4
  919. package/dist/cdn/JBD43LBV.js +0 -4
  920. package/dist/cdn/JC33AFPY.js +0 -4
  921. package/dist/cdn/JCKU5LHF.js +0 -4
  922. package/dist/cdn/JEOKO63T.js +0 -4
  923. package/dist/cdn/JG5CAU3D.js +0 -4
  924. package/dist/cdn/JGBEZFB5.js +0 -4
  925. package/dist/cdn/JJTHMSAZ.js +0 -4
  926. package/dist/cdn/JKAX7AE6.js +0 -4
  927. package/dist/cdn/JLUZHFEF.js +0 -4
  928. package/dist/cdn/JNBS66XH.js +0 -4
  929. package/dist/cdn/JNUR4CQL.js +0 -4
  930. package/dist/cdn/JOXMJ2FC.js +0 -4
  931. package/dist/cdn/JPRV42GI.js +0 -4
  932. package/dist/cdn/JPVBZB44.js +0 -4
  933. package/dist/cdn/JTIDUTP7.js +0 -4
  934. package/dist/cdn/JTQACUQ3.js +0 -4
  935. package/dist/cdn/JXECAVSQ.js +0 -4
  936. package/dist/cdn/JXQGETHA.js +0 -4
  937. package/dist/cdn/JXRGZBMK.js +0 -4
  938. package/dist/cdn/JYMTWRDN.js +0 -4
  939. package/dist/cdn/K3LRZLCJ.js +0 -4
  940. package/dist/cdn/K3UXAYBZ.js +0 -4
  941. package/dist/cdn/K52ED3JH.js +0 -4
  942. package/dist/cdn/K6R5SBOJ.js +0 -4
  943. package/dist/cdn/K7D47XCP.js +0 -4
  944. package/dist/cdn/KBYTUMKM.js +0 -4
  945. package/dist/cdn/KEVZM3OI.js +0 -4
  946. package/dist/cdn/KFEELHHS.js +0 -4
  947. package/dist/cdn/KIP5TDFY.js +0 -4
  948. package/dist/cdn/KLB7Z3YN.js +0 -4
  949. package/dist/cdn/KNCNTZCH.js +0 -4
  950. package/dist/cdn/KOKGMGFL.js +0 -4
  951. package/dist/cdn/KOTERMBO.js +0 -4
  952. package/dist/cdn/KRMPSD3F.js +0 -4
  953. package/dist/cdn/KS5H5XKS.js +0 -4
  954. package/dist/cdn/KSITFAXI.js +0 -4
  955. package/dist/cdn/KVB4FC5S.js +0 -4
  956. package/dist/cdn/KWPHPCRW.js +0 -4
  957. package/dist/cdn/KWYD4R3E.js +0 -4
  958. package/dist/cdn/KXJ2PUUU.js +0 -4
  959. package/dist/cdn/L23IMB5P.js +0 -4
  960. package/dist/cdn/L3USTO6H.js +0 -4
  961. package/dist/cdn/L43OZW4B.js +0 -4
  962. package/dist/cdn/L4GW4COF.js +0 -4
  963. package/dist/cdn/L4K64IR7.js +0 -4
  964. package/dist/cdn/LBJLDOYG.js +0 -4
  965. package/dist/cdn/LC66JMGS.js +0 -4
  966. package/dist/cdn/LD4MZ6GK.js +0 -4
  967. package/dist/cdn/LL4ZVKHU.js +0 -4
  968. package/dist/cdn/LN53V6BD.js +0 -4
  969. package/dist/cdn/LNGU4ALS.js +0 -4
  970. package/dist/cdn/LNGWJTRV.js +0 -4
  971. package/dist/cdn/LRB5ZQVC.js +0 -4
  972. package/dist/cdn/LSKW6UHW.js +0 -4
  973. package/dist/cdn/M2FYOBGZ.js +0 -4
  974. package/dist/cdn/M2TDQAYO.js +0 -4
  975. package/dist/cdn/M362E7UC.js +0 -4
  976. package/dist/cdn/M52FOHHH.js +0 -4
  977. package/dist/cdn/M5UFLFEC.js +0 -4
  978. package/dist/cdn/M7C64RMA.js +0 -4
  979. package/dist/cdn/MA4MTAJN.js +0 -4
  980. package/dist/cdn/MA6EYJPW.js +0 -4
  981. package/dist/cdn/MC4KWHCA.js +0 -4
  982. package/dist/cdn/MCY5C72G.js +0 -4
  983. package/dist/cdn/MJJ5BBN2.js +0 -4
  984. package/dist/cdn/MJYNRDEF.js +0 -4
  985. package/dist/cdn/MN34FQZ2.js +0 -4
  986. package/dist/cdn/MP6I2EKO.js +0 -4
  987. package/dist/cdn/MPGGGES4.js +0 -4
  988. package/dist/cdn/MQ44GBZQ.js +0 -4
  989. package/dist/cdn/MR7TPTUX.js +0 -4
  990. package/dist/cdn/MRGXBNYI.js +0 -4
  991. package/dist/cdn/MS4LIAG4.js +0 -4
  992. package/dist/cdn/MT7THRI5.js +0 -4
  993. package/dist/cdn/MU3IWV2Z.js +0 -4
  994. package/dist/cdn/MUR2U2VM.js +0 -4
  995. package/dist/cdn/MVSOHNDD.js +0 -4
  996. package/dist/cdn/MXC2JXSB.js +0 -4
  997. package/dist/cdn/N5PVV2WJ.js +0 -4
  998. package/dist/cdn/N7WFOPU7.js +0 -4
  999. package/dist/cdn/NAS76S6Q.js +0 -4
  1000. package/dist/cdn/NBHREWV5.js +0 -4
  1001. package/dist/cdn/NCG7TINR.js +0 -4
  1002. package/dist/cdn/NCKL5I2B.js +0 -4
  1003. package/dist/cdn/NDNNLSQE.js +0 -4
  1004. package/dist/cdn/NIITT37R.js +0 -4
  1005. package/dist/cdn/NIUPAU6A.js +0 -4
  1006. package/dist/cdn/NJ4RYY7M.js +0 -4
  1007. package/dist/cdn/NJAOO7AT.js +0 -4
  1008. package/dist/cdn/NJEDGRTT.js +0 -4
  1009. package/dist/cdn/NLN7H6JK.js +0 -4
  1010. package/dist/cdn/NMQLYCYS.js +0 -4
  1011. package/dist/cdn/NNF3MGFT.js +0 -4
  1012. package/dist/cdn/NOTTXOQS.js +0 -4
  1013. package/dist/cdn/NQBTGPRM.js +0 -4
  1014. package/dist/cdn/NQUO7JKE.js +0 -4
  1015. package/dist/cdn/NR2GVG2P.js +0 -4
  1016. package/dist/cdn/NRWVVW7K.js +0 -4
  1017. package/dist/cdn/NUCWGH2Y.js +0 -4
  1018. package/dist/cdn/NURAQGWN.js +0 -4
  1019. package/dist/cdn/NX3YJ4QV.js +0 -4
  1020. package/dist/cdn/NYON5ZTM.js +0 -4
  1021. package/dist/cdn/O2CQOLBK.js +0 -4
  1022. package/dist/cdn/O2LA4HCN.js +0 -4
  1023. package/dist/cdn/O3BWMGAV.js +0 -4
  1024. package/dist/cdn/O6FCDTGJ.js +0 -4
  1025. package/dist/cdn/OATBLUS3.js +0 -4
  1026. package/dist/cdn/OHKEAC2D.js +0 -4
  1027. package/dist/cdn/OIUCQNK4.js +0 -4
  1028. package/dist/cdn/OOEHXWST.js +0 -4
  1029. package/dist/cdn/OOK546MO.js +0 -4
  1030. package/dist/cdn/OTDBMVMD.js +0 -4
  1031. package/dist/cdn/OTR532PR.js +0 -4
  1032. package/dist/cdn/OUCPKXPQ.js +0 -4
  1033. package/dist/cdn/OUNHCRMY.js +0 -4
  1034. package/dist/cdn/OUOKI3DR.js +0 -4
  1035. package/dist/cdn/OUQO5OPQ.js +0 -4
  1036. package/dist/cdn/OVD456WZ.js +0 -4
  1037. package/dist/cdn/OWK6Y3VH.js +0 -4
  1038. package/dist/cdn/OZBS7QJN.js +0 -4
  1039. package/dist/cdn/P6BWHRL3.js +0 -4
  1040. package/dist/cdn/P6G77QCA.js +0 -4
  1041. package/dist/cdn/PAKJ2B53.js +0 -4
  1042. package/dist/cdn/PC5JRT7R.js +0 -4
  1043. package/dist/cdn/PC6Y5W4I.js +0 -4
  1044. package/dist/cdn/PEKDGBAJ.js +0 -4
  1045. package/dist/cdn/PFGE6PRP.js +0 -4
  1046. package/dist/cdn/PGCKEYPR.js +0 -12
  1047. package/dist/cdn/PI67ROZ5.js +0 -4
  1048. package/dist/cdn/PJGGJUOK.js +0 -4
  1049. package/dist/cdn/PJM65ANE.js +0 -4
  1050. package/dist/cdn/PJVUBHMT.js +0 -4
  1051. package/dist/cdn/PLBPDMDG.js +0 -4
  1052. package/dist/cdn/PNQLRDP5.js +0 -4
  1053. package/dist/cdn/PQIMUC3W.js +0 -4
  1054. package/dist/cdn/PXTT2ACA.js +0 -11
  1055. package/dist/cdn/PYCV5OUJ.js +0 -4
  1056. package/dist/cdn/Q2537NVD.js +0 -9
  1057. package/dist/cdn/Q4MSH5BF.js +0 -4
  1058. package/dist/cdn/Q5YYHBV4.js +0 -4
  1059. package/dist/cdn/QE63H3RK.js +0 -4
  1060. package/dist/cdn/QF6JIVBK.js +0 -4
  1061. package/dist/cdn/QFLXSCS3.js +0 -4
  1062. package/dist/cdn/QGFGSQ3T.js +0 -4
  1063. package/dist/cdn/QITHK2VZ.js +0 -4
  1064. package/dist/cdn/QM7WXUH5.js +0 -4
  1065. package/dist/cdn/QNJODJPL.js +0 -4
  1066. package/dist/cdn/QOAS53GT.js +0 -4
  1067. package/dist/cdn/QPDUZCRZ.js +0 -4
  1068. package/dist/cdn/QQJHRXYO.js +0 -4
  1069. package/dist/cdn/QVP567RY.js +0 -4
  1070. package/dist/cdn/QVXVKVGV.js +0 -4
  1071. package/dist/cdn/QWNWJYQF.js +0 -4
  1072. package/dist/cdn/R2D2XNRZ.js +0 -4
  1073. package/dist/cdn/R35XHRRS.js +0 -4
  1074. package/dist/cdn/R5W5532D.js +0 -4
  1075. package/dist/cdn/R6JME5OD.js +0 -4
  1076. package/dist/cdn/R6LBV3Z4.js +0 -4
  1077. package/dist/cdn/RCUXCD4P.js +0 -4
  1078. package/dist/cdn/RDZWQAPS.js +0 -4
  1079. package/dist/cdn/RFZI2SRT.js +0 -4
  1080. package/dist/cdn/RGP2Z3S4.js +0 -4
  1081. package/dist/cdn/RHTIUG2O.js +0 -4
  1082. package/dist/cdn/RIYCXEYB.js +0 -4
  1083. package/dist/cdn/RIZ55DJG.js +0 -4
  1084. package/dist/cdn/RNTBJAVN.js +0 -5
  1085. package/dist/cdn/ROK7XIVL.js +0 -4
  1086. package/dist/cdn/ROVN6OOF.js +0 -4
  1087. package/dist/cdn/RP44T3XW.js +0 -4
  1088. package/dist/cdn/RRBVBT3L.js +0 -4
  1089. package/dist/cdn/RRCL6ONM.js +0 -4
  1090. package/dist/cdn/RXB2J2LR.js +0 -4
  1091. package/dist/cdn/RZETLIZU.js +0 -4
  1092. package/dist/cdn/RZNKOYFE.js +0 -4
  1093. package/dist/cdn/RZPZLRMD.js +0 -4
  1094. package/dist/cdn/RZYSF5UQ.js +0 -4
  1095. package/dist/cdn/S5JLQ2IU.js +0 -4
  1096. package/dist/cdn/S5MMCXR5.js +0 -4
  1097. package/dist/cdn/S5X5QROD.js +0 -4
  1098. package/dist/cdn/S6HPRAQK.js +0 -4
  1099. package/dist/cdn/SCHYF4WP.js +0 -4
  1100. package/dist/cdn/SCQZXC4R.js +0 -4
  1101. package/dist/cdn/SDP2PKUA.js +0 -4
  1102. package/dist/cdn/SDUTNGKA.js +0 -4
  1103. package/dist/cdn/SDV53K6F.js +0 -4
  1104. package/dist/cdn/SE6YNCIG.js +0 -4
  1105. package/dist/cdn/SHU5W64E.js +0 -4
  1106. package/dist/cdn/SHWREAPR.js +0 -4
  1107. package/dist/cdn/SI4JN6UE.js +0 -4
  1108. package/dist/cdn/SLF5GAG5.js +0 -4
  1109. package/dist/cdn/SLJJZNHT.js +0 -4
  1110. package/dist/cdn/SLX4ZDYH.js +0 -4
  1111. package/dist/cdn/SM3W342U.js +0 -4
  1112. package/dist/cdn/SMUVBCYN.js +0 -4
  1113. package/dist/cdn/STJLTHNT.js +0 -4
  1114. package/dist/cdn/STTBWAGQ.js +0 -16
  1115. package/dist/cdn/SWDB5GF2.js +0 -4
  1116. package/dist/cdn/T3E2XKFY.js +0 -4
  1117. package/dist/cdn/TF4PLKO6.js +0 -4
  1118. package/dist/cdn/TFV5BND7.js +0 -4
  1119. package/dist/cdn/THYELZ6Z.js +0 -4
  1120. package/dist/cdn/TJEI5PBW.js +0 -4
  1121. package/dist/cdn/TLKGGRKI.js +0 -4
  1122. package/dist/cdn/TLXZDCWC.js +0 -4
  1123. package/dist/cdn/TMI2NYGW.js +0 -4
  1124. package/dist/cdn/TMYIZTE5.js +0 -4
  1125. package/dist/cdn/TR5Y4OBZ.js +0 -4
  1126. package/dist/cdn/TTEVQMAG.js +0 -4
  1127. package/dist/cdn/TTK6IQ4A.js +0 -4
  1128. package/dist/cdn/TTWVMUA3.js +0 -25
  1129. package/dist/cdn/TUQR6PHO.js +0 -4
  1130. package/dist/cdn/TVHY3U6N.js +0 -4
  1131. package/dist/cdn/TWPOICKM.js +0 -4
  1132. package/dist/cdn/U5V4JBRW.js +0 -4
  1133. package/dist/cdn/U66TPVOJ.js +0 -4
  1134. package/dist/cdn/U6JOQYDP.js +0 -4
  1135. package/dist/cdn/U7UFT4TL.js +0 -4
  1136. package/dist/cdn/UAPM5F6Z.js +0 -4
  1137. package/dist/cdn/UCYHCB4C.js +0 -4
  1138. package/dist/cdn/UDSKJPEA.js +0 -4
  1139. package/dist/cdn/UF4C4KKB.js +0 -4
  1140. package/dist/cdn/UFYDW7OH.js +0 -4
  1141. package/dist/cdn/UGEUUHMA.js +0 -4
  1142. package/dist/cdn/UJ7B3RYB.js +0 -4
  1143. package/dist/cdn/UJXELXT7.js +0 -4
  1144. package/dist/cdn/UKNMQKUT.js +0 -4
  1145. package/dist/cdn/UMFR2EDX.js +0 -4
  1146. package/dist/cdn/UMPPGZRA.js +0 -4
  1147. package/dist/cdn/UN3PSOWW.js +0 -4
  1148. package/dist/cdn/UO44TYJ3.js +0 -4
  1149. package/dist/cdn/UOWJZBHK.js +0 -4
  1150. package/dist/cdn/UP2L3ZWZ.js +0 -4
  1151. package/dist/cdn/UQN735OX.js +0 -51
  1152. package/dist/cdn/URHQ63VU.js +0 -4
  1153. package/dist/cdn/US2ARALS.js +0 -4
  1154. package/dist/cdn/UUGFQ2HG.js +0 -4
  1155. package/dist/cdn/UVGG6MPZ.js +0 -4
  1156. package/dist/cdn/UVQT64CF.js +0 -4
  1157. package/dist/cdn/UW4GOCXP.js +0 -4
  1158. package/dist/cdn/UW4SEWRF.js +0 -4
  1159. package/dist/cdn/UXFILQEQ.js +0 -4
  1160. package/dist/cdn/UZXCTC2F.js +0 -4
  1161. package/dist/cdn/V2LGHDAX.js +0 -4
  1162. package/dist/cdn/V2NVSI22.js +0 -5
  1163. package/dist/cdn/V2P4ZML3.js +0 -4
  1164. package/dist/cdn/V2SAL62K.js +0 -4
  1165. package/dist/cdn/V4IN6E4E.js +0 -6
  1166. package/dist/cdn/V4XBEUVT.js +0 -4
  1167. package/dist/cdn/V6JS4ENO.js +0 -4
  1168. package/dist/cdn/VDODPDTT.js +0 -4
  1169. package/dist/cdn/VEZNQ773.js +0 -4
  1170. package/dist/cdn/VG63SJJR.js +0 -4
  1171. package/dist/cdn/VGX2Y725.js +0 -4
  1172. package/dist/cdn/VICKRTCU.js +0 -4
  1173. package/dist/cdn/VJHB4PQP.js +0 -4
  1174. package/dist/cdn/VL6MJSJY.js +0 -4
  1175. package/dist/cdn/VLKP54EX.js +0 -4
  1176. package/dist/cdn/VMAZUPWE.js +0 -4
  1177. package/dist/cdn/VNQUWJ5A.js +0 -4
  1178. package/dist/cdn/VQIWTNQA.js +0 -4
  1179. package/dist/cdn/VYDCRKGF.js +0 -4
  1180. package/dist/cdn/VZAGU3XL.js +0 -5
  1181. package/dist/cdn/W3B6TIT5.js +0 -4
  1182. package/dist/cdn/W6KWGXG4.js +0 -4
  1183. package/dist/cdn/W6OLV43Y.js +0 -59
  1184. package/dist/cdn/WANZXP6T.js +0 -5
  1185. package/dist/cdn/WCA3T7PU.js +0 -4
  1186. package/dist/cdn/WCWS2M7P.js +0 -4
  1187. package/dist/cdn/WFUO7RY3.js +0 -4
  1188. package/dist/cdn/WG22EBMC.js +0 -6
  1189. package/dist/cdn/WHZZUUD2.js +0 -4
  1190. package/dist/cdn/WJ5ARG27.js +0 -4
  1191. package/dist/cdn/WKJD3B52.js +0 -4
  1192. package/dist/cdn/WLMFBAA4.js +0 -4
  1193. package/dist/cdn/WM3JPZJP.js +0 -4
  1194. package/dist/cdn/WMKDXU54.js +0 -4
  1195. package/dist/cdn/WMTGRSXS.js +0 -4
  1196. package/dist/cdn/WNBBLIRZ.js +0 -4
  1197. package/dist/cdn/WNNAUK65.js +0 -4
  1198. package/dist/cdn/WO4HJPLA.js +0 -4
  1199. package/dist/cdn/WPZUYOOQ.js +0 -4
  1200. package/dist/cdn/WQSVMNPQ.js +0 -4
  1201. package/dist/cdn/WQY2VKG7.js +0 -4
  1202. package/dist/cdn/WQZCNNTB.js +0 -4
  1203. package/dist/cdn/WTEHMVCT.js +0 -4
  1204. package/dist/cdn/WUOKP6QG.js +0 -4
  1205. package/dist/cdn/WUYWLMQP.js +0 -4
  1206. package/dist/cdn/WWRIVPOG.js +0 -4
  1207. package/dist/cdn/WXJB6XXG.js +0 -4
  1208. package/dist/cdn/X4EJJCW7.js +0 -4
  1209. package/dist/cdn/X6EUCVKE.js +0 -4
  1210. package/dist/cdn/X6MQPAUR.js +0 -4
  1211. package/dist/cdn/XBGQSZRW.js +0 -4
  1212. package/dist/cdn/XBWGQQLX.js +0 -4
  1213. package/dist/cdn/XBYQ4KDE.js +0 -4
  1214. package/dist/cdn/XC7FAG73.js +0 -4
  1215. package/dist/cdn/XELMN4CA.js +0 -4
  1216. package/dist/cdn/XFTTPIPR.js +0 -4
  1217. package/dist/cdn/XHYLHKNU.js +0 -4
  1218. package/dist/cdn/XIU5BZCM.js +0 -4
  1219. package/dist/cdn/XJ43A3U3.js +0 -4
  1220. package/dist/cdn/XJLJ6ZOF.js +0 -4
  1221. package/dist/cdn/XK34CFUD.js +0 -4
  1222. package/dist/cdn/XKNGJWP6.js +0 -4
  1223. package/dist/cdn/XLN7LIYK.js +0 -4
  1224. package/dist/cdn/XPTEBX7D.js +0 -4
  1225. package/dist/cdn/XSAUJAUI.js +0 -4
  1226. package/dist/cdn/XT572UC3.js +0 -12
  1227. package/dist/cdn/XUBXM6YR.js +0 -4
  1228. package/dist/cdn/XVAM5O7R.js +0 -4
  1229. package/dist/cdn/XVF2SK3P.js +0 -4
  1230. package/dist/cdn/XY2VZLXS.js +0 -4
  1231. package/dist/cdn/XZOVMMWF.js +0 -4
  1232. package/dist/cdn/Y42JMJ4E.js +0 -4
  1233. package/dist/cdn/Y4E3UJX7.js +0 -4
  1234. package/dist/cdn/Y4JTR6CX.js +0 -4
  1235. package/dist/cdn/Y5JIRK2F.js +0 -4
  1236. package/dist/cdn/YA4KOUXO.js +0 -4
  1237. package/dist/cdn/YAAA2NZA.js +0 -4
  1238. package/dist/cdn/YAWG4V23.js +0 -4
  1239. package/dist/cdn/YBFFZW2A.js +0 -4
  1240. package/dist/cdn/YDFLXPCN.js +0 -4
  1241. package/dist/cdn/YFLCHD2S.js +0 -4
  1242. package/dist/cdn/YFWLPCOQ.js +0 -4
  1243. package/dist/cdn/YGKPTPLD.js +0 -4
  1244. package/dist/cdn/YKDUL7W4.js +0 -4
  1245. package/dist/cdn/YL7SB3HH.js +0 -4
  1246. package/dist/cdn/YLA42YVT.js +0 -4
  1247. package/dist/cdn/YMVF7TG2.js +0 -4
  1248. package/dist/cdn/YNGHLPFI.js +0 -4
  1249. package/dist/cdn/YOBQQDTU.js +0 -5470
  1250. package/dist/cdn/YPMJI6UD.js +0 -4
  1251. package/dist/cdn/YPTCQNA3.js +0 -4
  1252. package/dist/cdn/YQB74A3V.js +0 -4
  1253. package/dist/cdn/YQIRJMZQ.js +0 -4
  1254. package/dist/cdn/YQL3IIVR.js +0 -4
  1255. package/dist/cdn/YRGJD4VB.js +0 -4
  1256. package/dist/cdn/YS3UNLUP.js +0 -4
  1257. package/dist/cdn/YSOMI367.js +0 -4
  1258. package/dist/cdn/YVJNYDIY.js +0 -4
  1259. package/dist/cdn/YXICRI4L.js +0 -4
  1260. package/dist/cdn/YXK6KDQG.js +0 -4
  1261. package/dist/cdn/Z25YEEZO.js +0 -4
  1262. package/dist/cdn/Z6CFELIT.js +0 -4
  1263. package/dist/cdn/Z6N2OLHB.js +0 -4
  1264. package/dist/cdn/ZBEVHOY7.js +0 -4
  1265. package/dist/cdn/ZCOPTR7V.js +0 -4
  1266. package/dist/cdn/ZCYS2NFV.js +0 -4
  1267. package/dist/cdn/ZEF47TPP.js +0 -4
  1268. package/dist/cdn/ZESTNAGF.js +0 -4
  1269. package/dist/cdn/ZGDRYRSV.js +0 -4
  1270. package/dist/cdn/ZH2VB7YY.js +0 -4
  1271. package/dist/cdn/ZH6CYFWN.js +0 -4
  1272. package/dist/cdn/ZHPVCELO.js +0 -4
  1273. package/dist/cdn/ZJ2P2SRT.js +0 -4
  1274. package/dist/cdn/ZLIT5DA5.js +0 -4
  1275. package/dist/cdn/ZNU7RGVB.js +0 -4
  1276. package/dist/cdn/ZQ4UBBE3.js +0 -4
  1277. package/dist/cdn/ZQ7WKGYV.js +0 -4
  1278. package/dist/cdn/ZR6TGIFS.js +0 -4
  1279. package/dist/cdn/ZREPNK6I.js +0 -4
  1280. package/dist/cdn/ZSEAFPXM.js +0 -4
  1281. package/dist/cdn/ZUTCI2U4.js +0 -4
  1282. package/dist/cdn/ZVE3TI4H.js +0 -4
  1283. package/dist/cdn/ZWFAI4MK.js +0 -4
  1284. package/dist/cdn/ZZ3ZIPMF.js +0 -4
  1285. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.d.ts +0 -13
  1286. package/dist/components/arcgis-chat-ui/functional/chat-action/index.d.ts +0 -3
  1287. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.d.ts +0 -13
  1288. package/dist/components/arcgis-chat-ui/functional/chat-response/index.d.ts +0 -7
  1289. package/dist/components/arcgis-chat-ui/util/contentFallback.d.ts +0 -1
  1290. package/dist/components/arcgis-chat-ui/util/customElement.d.ts +0 -38
  1291. package/dist/components/arcgis-hub-ai-assistant/util/configuration.d.ts +0 -6
  1292. package/dist/components/arcgis-hub-ai-assistant/util/customElement.d.ts +0 -11
  1293. package/dist/components/arcgis-hub-ai-assistant/util/map.d.ts +0 -2
  1294. package/dist/components/arcgis-hub-ai-assistant/util/types.d.ts +0 -23
  1295. package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultEntityLayout.d.ts +0 -5
  1296. package/dist/components/arcgis-hub-entity-view-layout/utils/buildDefaultProjectLayout.d.ts +0 -5
  1297. package/dist/components/arcgis-hub-entity-view-layout/utils/buildLayoutFromEntityView.d.ts +0 -7
  1298. package/dist/components/arcgis-layout-column/customElement.d.ts +0 -43
  1299. package/dist/components/arcgis-layout-column/index.d.ts +0 -2
  1300. package/dist/components/arcgis-layout-editor-toolbar/customElement.d.ts +0 -34
  1301. package/dist/components/arcgis-layout-editor-toolbar/index.d.ts +0 -8
  1302. package/dist/components/arcgis-layout-node-controls/customElement.d.ts +0 -58
  1303. package/dist/components/arcgis-layout-node-controls/index.d.ts +0 -7
  1304. package/dist/components/arcgis-layout-node-editor/customElement.d.ts +0 -22
  1305. package/dist/components/arcgis-layout-node-editor/index.d.ts +0 -3
  1306. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.d.ts +0 -18
  1307. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/index.d.ts +0 -4
  1308. package/dist/components/arcgis-layout-node-wrapper/customElement.d.ts +0 -23
  1309. package/dist/components/arcgis-layout-node-wrapper/index.d.ts +0 -7
  1310. package/dist/components/arcgis-layout-row/customElement.d.ts +0 -33
  1311. package/dist/components/arcgis-layout-row/index.d.ts +0 -2
  1312. package/dist/components/arcgis-layout-section/customElement.d.ts +0 -33
  1313. package/dist/components/arcgis-layout-section/index.d.ts +0 -2
  1314. package/dist/components/arcgis-text-card/utils/migrateTextCard.d.ts +0 -27
  1315. package/dist/components/layouts/components/layout-node/customElement.d.ts +0 -31
  1316. package/dist/components/layouts/components/layout-node/index.d.ts +0 -21
  1317. package/dist/components/layouts/utils/deepFreeze.d.ts +0 -11
  1318. package/dist/components/layouts/utils/findColumnAndNodeIndex.d.ts +0 -19
  1319. package/dist/components/layouts/utils/findNodesReferencingVariable.d.ts +0 -13
  1320. package/dist/components/layouts/utils/findVariableUsagesInNode.d.ts +0 -9
  1321. package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +0 -12
  1322. package/dist/components/layouts/utils/getLayoutNodeConfig.d.ts +0 -12
  1323. package/dist/components/layouts/utils/getLayoutNodeConfigs.d.ts +0 -16
  1324. package/dist/components/layouts/utils/getResponsiveClasses.d.ts +0 -44
  1325. package/dist/components/layouts/utils/isNodeVisible.d.ts +0 -9
  1326. package/dist/components/layouts/utils/layoutContext.d.ts +0 -29
  1327. package/dist/components/layouts/utils/lockLayout.d.ts +0 -9
  1328. package/dist/components/layouts/utils/memoizeAsync.d.ts +0 -7
  1329. package/dist/components/layouts/utils/migrations/getLayoutNodeMigrationFn.d.ts +0 -12
  1330. package/dist/components/layouts/utils/migrations/migrateLayout.d.ts +0 -19
  1331. package/dist/components/layouts/utils/processLayout.d.ts +0 -2
  1332. package/dist/components/layouts/utils/removeNode.d.ts +0 -11
  1333. package/dist/components/layouts/utils/removeUnreferencedVariables.d.ts +0 -8
  1334. package/dist/components/layouts/utils/repositionNode.d.ts +0 -11
  1335. package/dist/components/layouts/utils/typeGuards.d.ts +0 -25
  1336. package/dist/components/layouts/utils/validateLayout.d.ts +0 -7
  1337. package/dist/controllers/querystring.d.ts +0 -102
  1338. package/dist/controllers/useGlobalContext.d.ts +0 -6
  1339. package/dist/controllers/useT9n.d.ts +0 -1
  1340. package/dist/embed-config.d.ts +0 -27
  1341. package/dist/html/arcgis-layout/fixtures/blocks-and-cards-layout.d.ts +0 -2
  1342. package/dist/html/arcgis-layout/fixtures/entity-view-layout.d.ts +0 -2
  1343. package/dist/html/arcgis-layout/fixtures/fluid-section-layout.d.ts +0 -2
  1344. package/dist/html/arcgis-layout/fixtures/holy-grail-layout.d.ts +0 -2
  1345. package/dist/html/arcgis-layout/fixtures/index.d.ts +0 -9
  1346. package/dist/html/arcgis-layout/fixtures/multiple-column-layout.d.ts +0 -2
  1347. package/dist/html/arcgis-layout/fixtures/nested-rows-columns-layout.d.ts +0 -2
  1348. package/dist/html/arcgis-layout/fixtures/nogutters-align-offset.d.ts +0 -2
  1349. package/dist/html/arcgis-layout/fixtures/single-column-layout.d.ts +0 -2
  1350. package/dist/html/arcgis-layout/fixtures/tabbed-layout.d.ts +0 -2
  1351. package/dist/runtime.d.ts +0 -6
  1352. package/dist/util/getTranslatedString.d.ts +0 -15
  1353. package/dist/util/interpolate-translations.d.ts +0 -18
  1354. package/dist/util/interpolate.d.ts +0 -16
  1355. package/dist/util/querySelectorAllDeep.d.ts +0 -7
  1356. package/dist/util/state.d.ts +0 -7
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{b as Ie}from"./LNGU4ALS.js";import{a as Ae}from"./YLA42YVT.js";import{a as we}from"./F2ZVBXKP.js";import{c as K,d as E,e as z,f as B,g as G,i as W,j as T,k as Y,ka as X,m as Ke,n as J,o as b,p as D,q as Ee,r as A,s as I}from"./DNM3WXJN.js";import{a as Q}from"./GYTNDG3P.js";import{g as C,q as p,t as Pe,v as H}from"./36MK2EXQ.js";import{d as Se}from"./BIJKRQBY.js";import{b as Te}from"./3ATMJEPW.js";import{c as De}from"./VNQUWJ5A.js";import{f as w}from"./XT572UC3.js";import{b as S,e as be}from"./QNJODJPL.js";import{a as M}from"./7P7DPT2S.js";import{e as fe,f as ye,m as me,n as V,o as ge}from"./7NI3FUYB.js";import{k as h,n as O}from"./BQGTAI65.js";import{b as pe}from"./QPDUZCRZ.js";import{c as x}from"./HXOY7JUN.js";import{a as v}from"./YKDUL7W4.js";import{d as y}from"./R5W5532D.js";import{a as he}from"./5ZPPAF6W.js";import{a as $,b as le,g as ue,j as de,n as m}from"./E5GKRHG5.js";import{c as g}from"./ZCOPTR7V.js";import{a as f,k as d,s as ce}from"./HWD3SXLY.js";import{a as u}from"./PEKDGBAJ.js";function Re(e,t=""){let n=Pe(e);return n?Y(n,t.toLowerCase(),4):""}function Ye(e,t){let r=e.filter(n=>!n.startsWith(`${T}|`));return r.push([T,t.toLowerCase()].join("|")),r}function ee(e,t){let r=W(e);return _({slug:r},t).then(n=>n.length?y(n[0].id,t):null)}async function _(e,t){if(!e.slug)return[];let n={filter:`typekeywords:"${e.slug.startsWith(`${T}|`)?e.slug:[T,e.slug].join("|")}"`};return t.authentication?n.authentication=t.authentication:t.portal&&(n.portal=t.portal),e.exclude&&(n.q=`NOT id:${e.exclude}`),(await x(n)).results}function Ue(e,t,r=0){let n=r?[e.slug,r].join("-"):e.slug;return _({slug:n,exclude:e.existingId},t).then(s=>s.length?Ue(e,t,r+1):n).catch(s=>{throw Error(`Error in getUniqueSlug ${s}`)})}var F=async(e,t)=>{let r=e.slug,n=e.orgUrlKey.toLowerCase();r&&!r.startsWith(`${n}|`)&&(r=Y(r,n));let{id:s}=e,a=s?{slug:r,existingId:s}:{slug:r};return e.slug=await Ue(a,t),e.typeKeywords=Ye(e.typeKeywords,e.slug),e},k;(function(e){e.map="map",e.image="image"})(k||(k={}));var P;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(P||(P={}));var Je="Hub Initiative",$e=2.2,Xe={name:"",tags:[],typeKeywords:["hubInitiativeV2"],catalog:{schemaVersion:0},permissions:[],schemaVersion:$e,status:P.notStarted,features:$,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}},Ze={item:{type:Je,title:"",description:"",snippet:"",tags:[],typeKeywords:["hubInitiativeV2"],properties:{slug:"",schemaVersion:$e}},data:{catalog:{schemaVersion:0},status:P.notStarted,view:{featuredContentIds:[],hero:k.map,metricDisplays:[]}}};function te(){let e=K();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 ve(e,t){return A(e,t)}function re(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},$),t.links=ve(e.item,r),t}function qe(e){if(!e)return;let t=ye(e);return t.filters.forEach(r=>{r.predicates.forEach(n=>{n.group&&(n.group.not=[...n.group.any||[],...n.group.all||[]],n.group.any=[],n.group.all=[])})}),t}function xe(e,t){let r=e.filter(n=>!n.startsWith("status|"));return r.push(`status|${t}`),r}async function Kr(e,t){let r=Object.assign(Object.assign({},Xe),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t),r.typeKeywords=xe(r.typeKeywords,r.status),r.typeKeywords=C(r.typeKeywords,r.isDiscussable);let n=new p(te()),s=n.entityToStore(r,f(Ze));s=await B(s,t);let a=n.storeToEntity(s,{});return a=re(s,a,t),a}async function Er(e,t){await F(e,t),e.typeKeywords=xe(e.typeKeywords,e.status),e.typeKeywords=C(e.typeKeywords,e.isDiscussable);let r=await z(e.id,t),n=new p(te()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=re(r,o,t),o}function Tr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?et(n,t):null)}async function Dr(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function et(e,t){let r=await I(e,t),s=new p(te()).storeToEntity(r,{});return re(r,s,t)}async function tt(e,t,r){let n={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:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(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=>{n[c.prop]=u(i,c.path)}),n.links=ve(e,r),n}function Ar(e){let t=Ie("Hub Project",`initiative|${e.id}`),r=u(e,"catalog.scopes.item");return t=Ae([t,qe(r)]),t}var q="Hub Project",ne=1.2,Ir={catalog:{schemaVersion:0},name:"",permissions:[],schemaVersion:ne,status:P.notStarted,tags:[],typeKeywords:[q],view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]},features:$},Rr={item:{type:q,title:"",description:"",snippet:"",tags:[],typeKeywords:[q],properties:{slug:"",schemaVersion:ne}},data:{display:"about",permissions:[],catalog:{schemaVersion:0},status:P.notStarted,view:{contacts:[],featuredContentIds:[],showMap:!0,metricDisplays:[]}}};function _e(e,t){return A(e,t)}function rt(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 nt(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function st(e){if(e.schemaVersion===ne)return e;let t=nt(e);return t=rt(t),t}function at(e,t,r){var n,s;let a;return r.authentication&&(a=r.authentication.token),t=E(e.item,t),t.thumbnailUrl=S(e.item,r,a),t.view=Object.assign(Object.assign({},e.data.view),{featuredImageUrl:(n=e.data.view)===null||n===void 0?void 0:n.featuredImageUrl}),t.catalog=H(t.catalog||{}),t.features=D(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},le),t.links=_e(e.item,r),t=st(t),t}function ot(){let e=K();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 se(){let e=K();return["headContent","layout"].forEach(r=>{e.push({entityKey:r,storeKey:`data.values.${r}`})}),e}function ke(e,t){let r=A(e,t),n=O(e.type,Ee(e,!0),e.typeKeywords);return Object.assign(Object.assign({},r),{siteRelative:n,layoutRelative:`/pages/${e.id}/edit`})}var it="Hub Page",Ur="Site Page",Ne="hubPage",ae=1.1,ct={name:"",permissions:[],schemaVersion:ae,tags:[],typeKeywords:[Ne],view:{contacts:[],featuredContentIds:[],showMap:!0},layout:{sections:[]}},lt={item:{type:it,title:"",description:"",snippet:"",tags:[],typeKeywords:[Ne],properties:{slug:"",schemaVersion:ae}},data:{values:{layout:{}}}};function ut(e){if(e.schemaVersion>=1.1)return e;let t=f(e),{slug:r,orgUrlKey:n,typeKeywords:s}=J(t.slug||"",t.orgUrlKey||"",t.typeKeywords||[]);return t.slug=r,t.orgUrlKey=n,t.typeKeywords=s,t.schemaVersion=1.1,t}function dt(e){return e.schemaVersion===ae?e:ut(e)}function oe(e,t,r){var n;let s;r.authentication&&(s=r.authentication.token),t=E(e.item,t);let a=S(e.item,r,s);return t.thumbnailUrl=a,t.links=ke(e.item,r),t.features=D(((n=e.data.settings)===null||n===void 0?void 0:n.features)||{},ue),t=dt(t),t}function pt(e,t){let{id:r,slug:n,orgKey:s}=Ke(e);if(r)return y(r,t);let a=De(n,s||t.siteOrgKey),o=W(a);return _({slug:o},t).then(i=>{if(i.length)return i;{let c=o.split("|").slice(1).join("|");return _({slug:c},t)}}).then(i=>i.length?y(i[0].id,t):null)}async function $r(e,t){let r=Object.assign(Object.assign({},ct),e);r.orgUrlKey=r.orgUrlKey.toLowerCase(),r.slug||(r.slug=Re(r.name,r.orgUrlKey)),await F(r,t);let n=new p(se()),s=n.entityToStore(r,f(lt));s=await B(s,t);let a=n.storeToEntity(s,{});return a=oe(s,a,t),a}async function vr(e,t){await F(e,t);let r=await z(e.id,t),n=new p(se()),s=n.entityToStore(e,r),a=await G(s,t),o=n.storeToEntity(a,e);return o=oe(r,o,t),o}async function xr(e,t){let r=await pt(e,t);return r?yt(r,t):null}function ft(e,t){let n=new p(se()).storeToEntity(e,{});return oe(e,n,t)}async function yt(e,t){let r=await I(e,t);return ft(r,t)}async function _r(e,t){let r=Object.assign(Object.assign({},t),{id:e});await Q(r)}async function mt(e,t,r){let n={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:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(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=>{n[c.prop]=u(i,c.path)}),n.links=ke(e,r),n}function gt(){let e=K();return e.push({entityKey:"previewUrl",storeKey:"item.properties.previewUrl"}),e}function je(e,t){var r;let n=A(e,t),s=(r=e.typeKeywords)===null||r===void 0?void 0:r.includes("Deployed"),{self:a,siteRelative:o,workspaceRelative:i}=n,c=`${o.split("/").slice(0,-1).join("/")}/edit/advanced`;return Object.assign(Object.assign({},n),{workspaceRelative:s?a:i,advancedEditRelative:c})}var Fe=e=>{let t="Solution",r=e.typeKeywords.find(n=>n.startsWith("hubSolutionType|"));if(r){let n=r.split("|")[1];t=he(n).split("-").map(a=>ce(a)).join(" ");let s={storyMap:"StoryMap"};s[n]&&(t=s[n])}return t};function ht(e,t,r){return t=E(e.item,t),t.links=je(e.item,r),t.thumbnailUrl=t.links.thumbnail,t.features=D(u(e,"data.settings.features")||{},de),t.isDeployed=(u(e,"item.typeKeywords")||[]).includes("Deployed"),t.deployedType=Fe(e.item),t}function N(e){return e==null||e===""}function R(e,t){let r=null,n=t.filter(s=>s.predicates.find(a=>!N(a[e])));if(n.length>1)throw new Error(`Only 1 IFilter can have a '${e}' predicate but ${n.length} were detected`);if(n.length){let s=n[0],a=s.predicates.filter(l=>!N(l[e]));if(a.length>1)throw new Error(`Only 1 '${e}' predicate is allowed but ${a.length} were detected`);if(s.operation!=="AND"&&s.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 wt(e){let r=e.filters.map(bt).filter(Le),n=ie(r,"AND"),s=R("bbox",e.filters);return s&&(n.params={bbox:s.bbox}),n}function Le(e){return!(typeof e>"u"||e===null||e==="")}function ie(e,t){return e.reduce((n,s)=>(Object.entries(s).forEach(([a,o])=>{n[a]&&o!==""?n[a]=`${n[a]} ${t} ${o}`:o!==""&&(n[a]=o)}),n),{q:""})}function bt(e){let t=e.operation||"AND",r=e.predicates.map(fe),n=r.map(Pt).filter(a=>a!=null),s=ie(n,t);return r.length>1&&(s.q=`(${s.q})`),s}function Pt(e){let t=["created","modified"],r=["isopendata","isviewonly"],n=["searchUserAccess","searchUserName","memberType","name","categoriesAsParam","categoryFilter","bbox","joined"],s=["filterType","term",...t,...r,...n],a=["access","capabilities","created","categories","categoriesAsParam","categoryFilter","contentstatus","description","disabled","email","emailstatus","firstname","fullname","group","id","isInvitationOnly","isopendata","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!s.includes(i)&&i!=="term"&&(l.q=St(i,c)),(t.includes(i)||Et(c))&&(l.q=Kt(i,c)),r.includes(i)&&(l.q=`${i}:${c}`),n.includes(i)&&(i==="joined"?l[i]=`${c.from},${c.to}`:l[i]=c),i==="term"&&(l.q=c),l}}).filter(Le);if(o.length){let i=ie(o,"AND");return i.q&&(i.q=`(${i.q})`),i}else return null}function St(e,t){var r,n,s;let a="";return!((r=t.any)===null||r===void 0)&&r.length&&(a=`${Z("OR",e,t.any)}`),!((n=t.all)===null||n===void 0)&&n.length&&(a=(a?a+" AND ":"")+`${Z("AND",e,t.all)}`),!((s=t.not)===null||s===void 0)&&s.length&&(a=(a?a+" AND ":"")+`${Z("OR",`-${e}`,t.not)}`),a}function Kt(e,t){return`${e}:[${t.from} TO ${t.to}]`}function Z(e,t,r){let n="";return Array.isArray(r)&&r.length?(n=`${t}:"${r.join(`" ${e} ${t}:"`)}"`,r.length>1&&(n=`(${n})`)):n=`${t}:"${r}"`,n}function Et(e){return typeof e=="object"&&e!==null&&["from","to"].every(t=>typeof e[t]<"u")}function Me(e,t,r,n){let s=f(e);return e.authentication&&(s.authentication=M.deserialize(e.authentication.serialize())),u(e,"requestOptions.authentication")&&(s.requestOptions.authentication=M.deserialize(e.requestOptions.authentication.serialize())),s.start=t>-1?t:r+1,()=>n(s)}async function kr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?Tt(n,t):null)}async function Tt(e,t){let r=await I(e,t),s=new p(gt()).storeToEntity(r,{});return ht(r,s,t)}async function Dt(e,t,r){let n={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:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(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=>{n[c.prop]=u(i,c.path)}),n.links=je(e,r),n.deployedType=Fe(e),n}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 Ve(e,t,r){let n={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:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:h(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=>{n[c.prop]=u(i,c.path)}),n.links.thumbnail=S(e,r),n.links.self=pe(n.id,r),n.links.siteRelative=O(n.type,n.id,e.typeKeywords),n.links.workspaceRelative=Se(n.type,n.id),n}async function At(e,t,r){let n=await Ve(e,t,r),s=be(e,r);return n.links.thumbnail||(n.links.thumbnail=s),n}async function Nr(e,t){let r;return v(e)?r=y(e,t):r=ee(e,t),r.then(n=>n?It(n,t):null)}async function It(e,t){let r=await I(e,t),s=new p(ot()).storeToEntity(r,{});return at(r,s,t)}async function Rt(e,t,r){let n={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:g(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:h(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=>{n[c.prop]=u(i,c.path)}),n.links=_e(e,r),n}async function jr(e,t){let r=me(e),n=Ce(t,r);return Qe(n)}function Fr(e,t){let r=Ce(t,e);return He(r)}function Ce(e,t){var r;if(!e.requestOptions)throw new we("portalSearchItems","options.requestOptions is required.");let n=ge(t),s=wt(n);return["num","sortField","sortOrder","include","start","httpMethod","requestOptions"].forEach(o=>{Object.prototype.hasOwnProperty.call(e,o)&&(s[o]=e[o])}),e.requestOptions.authentication?s.authentication=e.requestOptions.authentication:s.portal=e.requestOptions.portal,!((r=e.aggFields)===null||r===void 0)&&r.length&&(s.countFields=e.aggFields.join(","),s.countSize=e.aggLimit||10),s}async function He(e){let t=await x(e),r=Oe(t);return{total:t.total,results:t.results,aggregations:r,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,He),executedQuerySize:V(e.q)}}async function Qe(e){let t=await x(e),r=a=>ze(a,e.include,e.requestOptions),n=await Promise.all(t.results.map(r)),s=Oe(t);return{total:t.total,results:n,aggregations:s,hasNext:t.nextStart>-1,next:Me(e,t.nextStart,t.total,Qe),executedQuerySize:V(e.q)}}async function ze(e,t=[],r){let n=Ve;switch(e.type){case"Hub Site Application":case"Site Application":n=X;break;case"Hub Page":case"Site Page":n=mt;break;case"Hub Project":n=Rt;break;case"Hub Initiative":n=tt;break;case"Solution":n=Dt;break;case"Web Mapping Application":e.typeKeywords.includes("hubSite")&&(n=X);break;case"Image":n=At;break}return n(e,t,r)}function Lr(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 Ut(e){return e.filters.map($t).filter(Be).join(" AND ")}function $t(e){let t=e.operation||"OR";return`(${e.predicates.map(vt).filter(Be).join(` ${t} `)})`}function vt(e){return`(${Object.entries(e).filter(([r,n])=>r!=="term"&&r!=="bbox"&&r!=="fields"&&r!=="flatten"&&!N(n)).reduce((r,[n,s])=>{let a;return typeof s=="string"||typeof s=="boolean"?a=j(n,s):Array.isArray(s)?a=kt(n,s):xt(s)?a=_t(n,s):a=Nt(n,s),r.push(a),r},[]).join(" AND ")})`}function xt(e){return Number.isInteger(e.from)&&Number.isInteger(e.to)}function _t(e,t){return`${e} BETWEEN ${t.from} AND ${t.to}`}function j(e,t){let r=typeof t=="string"?L(t):t;return`${e}=${r.toString()}`}function kt(e,t){let r=t.map(L);return`${e} IN (${r.join(", ")})`}function Nt(e,t){let r=jt(e,t.any),n=Ft(e,t.all),s=Lt(e,t.not);return[r,n,s].filter(a=>!!a).join(" AND ")}function jt(e,t){let r;if(Array.isArray(t)){let n=t.map(L);r=`${e} IN (${n.join(", ")})`}else t&&(r=j(e,t));return r}function Ft(e,t){let r;return Array.isArray(t)?r=t.map(n=>j(e,n)).join(" AND "):t&&(r=j(e,t)),r}function Lt(e,t){let r;if(t){let s=(Array.isArray(t)?t:[t]).map(L);r=`${e} NOT IN (${s.join(", ")})`}return r}function L(e){return/\s/.test(e)?`'${e}'`:e}function Be(e){return e!=="()"}function Mt(e){let t=R("term",e.filters);return t?.term}function Ot(e){let t=R("bbox",e.filters);return t?.bbox}function Vt(e){let t=Object.entries(e).filter(([r,n])=>!N(n)).map(([r,n])=>`${r}=${encodeURIComponent(n)}`).join("&");return t&&`?${t}`}async function Ct(e,t,r){let n=f(t),s=e+Vt(n),o=await(r.requestOptions.fetch||fetch)(s,{method:"GET"});if(!o.ok)throw new Te(o.statusText,s,o.status);return o.json()}function Ht(e){let t=R("fields",e.filters);return t?.fields}function Qt(e){let t=R("flatten",e.filters);return t?.flatten}function zt(e){let{sortField:t,sortOrder:r}=e,n;return t&&(n=r==="desc"?`-properties.${t}`:`properties.${t}`),n}function Bt(e,t){let r=Ut(e),n=u(t,"requestOptions.authentication.token"),s=t.num,a=t.start,o=Mt(e),i=zt(t),c=Ot(e),l=Qt(e),We=Ht(e);return{filter:r,token:n,limit:s,startindex:a,q:o,sortBy:i,bbox:c,flatten:l,fields:We}}async function Gt(e,t,r){let n=e.properties,s=await ze(n,t,r);return s.source=e.properties.source,s.license=e.properties.license,s}function Wt(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 U={searchOgcItems:Yt,formatOgcItemsResponse:Jt,formatDiscussionPostTargetEntityResponse:Xt,formatItemTargetEntityResponse:Ge,getNextOgcCallback:Zt};async function Yt(e,t,r){let n=Bt(t,r),s=await Ct(e,n,r);return U.formatOgcItemsResponse(s,e,t,r)}async function Jt(e,t,r,n){return r.targetEntity==="discussionPost"?U.formatDiscussionPostTargetEntityResponse(e,t,r,n):Ge(e,t,r,n)}async function Xt(e,t,r,n){let s=await Promise.all(e.features.map(i=>Wt(i))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}async function Ge(e,t,r,n){let s=await Promise.all(e.features.map(i=>Gt(i,n.include,n.requestOptions))),a=U.getNextOgcCallback(e,t,r,n),o=e.links.find(i=>i.rel==="next");return{total:e.numberMatched,results:s,hasNext:!!o,next:a}}function Zt(e,t,r,n){let s=e.links.find(o=>o.rel==="next"),a=()=>null;return s&&(a=()=>{let i=+new URL(s.href).searchParams.get("startindex"),c=Object.assign(Object.assign({},n),{start:i});return U.searchOgcItems(t,r,c)}),a}export{Re as a,Ye as b,ee as c,_ as d,Ue as e,F as f,k as g,P as h,Xe as i,qe as j,xe as k,Kr as l,Er as m,Tr as n,Dr as o,et as p,tt as q,Ar as r,Ir as s,Rr as t,at as u,ot as v,it as w,Ur as x,ct as y,pt as z,$r as A,vr as B,xr as C,ft as D,yt as E,_r as F,mt as G,gt as H,ht as I,wt as J,Me as K,kr as L,Tt as M,Dt as N,Ve as O,At as P,Nr as Q,It as R,Rt as S,jr as T,Fr as U,Lr as V,Ut as W,Mt as X,Ot as Y,Ct as Z,Yt as _};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- var s={DISCUSSION:"discussion"},C=["DAILY","WEEKLY","MONTHLY"];export{s as a,C as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- var t=["hub:project:create","hub:project:create2","hub:project:edit","hub:project:metrics","hub:project:settings"],s=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],e=["hub:site:edit","hub:site:create","hub:site:followers","hub:site:settings","hub:site:assistant","hub:site:settings:discussions"],i=["hub:discussion:edit","hub:discussion:create","hub:discussion:settings","hub:discussion:settings:discussions"],n=["hub:page:edit","hub:page:create"],o=["hub:content:edit","hub:content:settings","hub:content:settings:discussions","hub:content:settings:discussions:compact"],u=["hub:template:edit"],c=["hub:group:edit","hub:group:settings","hub:group:settings:discussions","hub:group:create:followers","hub:group:create:association","hub:group:create:view","hub:group:create:edit","hub:group:create"],a=["hub:initiativeTemplate:edit"],r=["hub:event:create","hub:event:edit","hub:event:registrants"],d=["hub:user:settings"],b=["hub:channel:create","hub:channel:edit"],h=[...t,...o,...s,...e,...i,...n,...u,...c,...a,...r,...d,...b],p=["hub:card:stat"],g=["hub:card:follow"],l=["hub:card:eventGallery"],v=["hub:card:embed"],y=["hub:discussion:settings:discussions","hub:site:settings:discussions","hub:content:settings:discussions","hub:content:settings:discussions:compact","hub:group:settings:discussions"],E=[...p,...g,...l,...v],T=[...h,...E];export{h as a,p as b,g as c,l as d,v as e,y as f,E as g,T as h};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- var a={Arabic:"ar",Bulgarian:"bg",Bosnian:"bs",Catalan:"ca",Czech:"cs",Danish:"da",German:"de",Greek:"el",English:"en",Spanish:"es",Estonian:"et",Finnish:"fi",French:"fr",Hebrew:"he",Croatian:"hr",Hungarian:"hu",Indonesian:"id",Italian:"it",Japanese:"ja",Korean:"ko",Lithuanian:"lt",Latvian:"lv",Norwegian:"no",Dutch:"nl",Polish:"pl",PortugueseBrazil:"pt-BR",PortuguesePortugal:"pt-PT",Romanian:"ro",Russian:"ru",Serbian:"sr",Slovenian:"sl",Slovak:"sk",Swedish:"sv",Thai:"th",Turkish:"tr",Ukrainian:"uk",Vietnamese:"vi",ChineseChina:"zh-CN",ChineseHongKong:"zh-HK",ChineseTaiwan:"zh-TW"},e=[...Object.values(a),"en-AU","en-CA","en-GB","en-IE","es-ES","es-MX","de-CH","de-DE","it-CH","it-IT"],n=[a.Arabic,a.Hebrew];export{a,e as b,n as c};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import"./A3T3JHAT.js";var e={percent:"Procent",values:"Warto\u015Bci",standardizedValues:"Warto\u015Bci standaryzowane",count:"Liczba",aggregationOfValues:"${ aggregation } warto\u015Bci",aggregationOfFieldName:"${ aggregation } z ${ fieldName }"},g={aggrFieldsByCategory:"${ aggregationFields } wed\u0142ug ${ category }",aggrTypeCategory:"${ aggregationType } wed\u0142ug ${ category }",aggrTypeCategoryBySplitBy:"Agregacja ${ aggregationType } wed\u0142ug ${ category } i ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } z ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"Agregacja ${ aggregationType } pola ${ aggregationField } wed\u0142ug ${ category } i ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"Agregacja ${ aggregationType } p\xF3l ${ aggregationFields } wed\u0142ug ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } wed\u0142ug ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } wed\u0142ug ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"Agregacja ${ aggregationType } wed\u0142ug ${ xAxisField } i ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"Agregacja ${ aggregationType } pola ${ aggregationField } wed\u0142ug ${ xAxisField } i ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"Agregacja ${ aggregationType } p\xF3l ${ aggregationFields } wed\u0142ug ${ xAxisField }",distributionOfField:"Rozk\u0142ad warto\u015Bci pola ${ valueField }",distributionOfFields:"Rozk\u0142ad warto\u015Bci pola ${ valueFields }",distributionOfFieldsByCategory:"Rozk\u0142ad ${ valueFields } wed\u0142ug ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Rozk\u0142ad ${ valueFields } wed\u0142ug ${ category } i ${ splitByField }",xAndY:"${ x } i ${ y }"},a={barChart:"Diagram s\u0142upkowy grupowy",lineChart:"Diagram liniowy",pieChart:"Diagram ko\u0142owy",histogram:"Histogram",scatterplot:"Diagram punktowy"},i={axisLabels:e,titleLabels:g,chartType:a};export{e as axisLabels,a as chartType,i as default,g as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as l}from"./RFZI2SRT.js";import{b as t,c as n,e as o,i as h}from"./TMYIZTE5.js";import"./A3T3JHAT.js";var p=class{constructor(e){h(this,e),this.arcgisConfigurationEditorFieldInputChange=o(this,"arcgisConfigurationEditorFieldInputChange",7),this.handleCalciteCheckboxChange=c=>{let a=this.params.value,i=c.target;a=i.checked?[...a,i.value]:a.filter(s=>s!==i.value),this.arcgisConfigurationEditorFieldInputChange.emit(a)},this.params=void 0}renderCheckboxes(){return this.params.schema.items.enum.map((e,c)=>{var a,i,s,r;let d=!((a=this.params.uiSchema.options)===null||a===void 0)&&a.labels?(i=this.params.uiSchema.options.labels[c])!==null&&i!==void 0?i:e:l(this.params.uiSchema,e,this.params.t,{path:"label",fallback:e});return t("calcite-label",{key:e,layout:"inline",scale:this.params.scale},t("calcite-checkbox",{checked:this.params.value.includes(e),disabled:this.params.disabled||((r=(s=this.params.uiSchema.options)===null||s===void 0?void 0:s.disabled)===null||r===void 0?void 0:r[c]),onCalciteCheckboxChange:this.handleCalciteCheckboxChange,scale:this.params.scale,value:e}),d)})}render(){return t(n,{key:"fbc19bbe116fd43e5a211c7ec1c864220c168388"},t("div",{key:"f5594d95acea10966087722f7339ddf672330c91"},this.renderCheckboxes()))}};export{p as hub_field_input_checkbox_group};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import"./A3T3JHAT.js";var e="An error occurred while loading the chart.",a="Cannot apply a log transformation to negative or zero values.",t="Cannot apply a square root transformation to negative values.",r="An error occurred while loading the layer. URL = ${ url }. Portal item ID = ${ portalItemId }.",o="The fields [${ fieldNames }] defined in the config were not found in the layer.",s="${ dataPath } must be unique. The series named ${ seriesName } has an ID (${ seriesID }) that is already used by another series.",n="${ dataPath } cannot perform non-count aggregation on non-numeric field.",i="${ dataPath } is missing a property named ${ missingProperty }.",l="${ dataPath } must not be shorter than ${ limit } characters.",d="${ dataPath } must not have fewer than ${ limit } items.",u="${ dataPath } must not have more than ${ limit } items.",h="${ dataPath } must have at least one non-whitespace character.",m="${ dataPath } must not have ${ additionalProperty }.",p="${ dataPath } must be equal to one of these allowed values: ${ allowedValues }.",y="${ dataPath } must match the schema of one of these: ${ schemaOptions }.",c="Scatterplots with proportional symbols are not supported. Default symbol size has been applied.",g="Failure to read input data.",$="The queryBins operation is not supported on this service.",f="The expected series type at index ${ seriesIndex } is '${ expectedType }' but '${ receivedType }' was received instead",P="or",v={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:o,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:i,minLength:l,minItems:d,maxItems:u,whiteSpacePattern:h,additionalProperty:m,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:c,queryError:g,queryBinsNotSupported:$,invalidSeriesType:f,or:"or"};export{m as additionalProperty,y as anyOfValues,c as bubbleChartValidateMsg,v as default,e as defaultError,s as duplicateSeriesID,p as enumValues,f as invalidSeriesType,o as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,d as minItems,l as minLength,a as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,n as nonNumericAggregation,P as or,$ as queryBinsNotSupported,g as queryError,i as requiredProperty,h as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as V}from"./G72C3232.js";import"./6Y6JDA6N.js";import c from"./WANZXP6T.js";import{b as R}from"./PGCKEYPR.js";import"./TJEI5PBW.js";import"./D6ABLQKG.js";import"./M2FYOBGZ.js";import"./G4FKEAQV.js";import"./755BZUI2.js";import"./HPYJOZTI.js";import"./ZH6CYFWN.js";import"./ENYCM2BZ.js";import"./IQG54FJA.js";import"./E4RTEACV.js";import"./75Z5QMLZ.js";import"./VQIWTNQA.js";import"./QVXVKVGV.js";import"./7TP55GOP.js";import"./GEXR5MLE.js";import"./OUQO5OPQ.js";import"./HF6BDQ6N.js";import"./XIU5BZCM.js";import"./AO5GWLKA.js";import{a as g,b}from"./U66TPVOJ.js";import"./M2TDQAYO.js";import{b as M}from"./5AGFUSNI.js";import{h as k,i as E}from"./UOWJZBHK.js";import{C as S,I as D,a as I,d as u,p as v}from"./WG22EBMC.js";import"./KS5H5XKS.js";import"./5JKRLZYI.js";import"./FBBSMT6Z.js";import"./R35XHRRS.js";import"./YVJNYDIY.js";import"./GGQTBNLJ.js";import"./KXJ2PUUU.js";import"./KFEELHHS.js";import"./VZAGU3XL.js";import"./RNTBJAVN.js";import"./L23IMB5P.js";import a from"./DGJN7MAO.js";import"./BQBD2DYN.js";import"./YMVF7TG2.js";import"./UMPPGZRA.js";import"./ZCYS2NFV.js";import"./QQJHRXYO.js";import"./OTDBMVMD.js";import"./PQIMUC3W.js";import"./JLUZHFEF.js";import"./QGFGSQ3T.js";import"./V2LGHDAX.js";import"./RZPZLRMD.js";import"./N7WFOPU7.js";import"./W3B6TIT5.js";import"./Y42JMJ4E.js";import"./XBYQ4KDE.js";import"./WM3JPZJP.js";import"./KOTERMBO.js";import"./BE5RH3YF.js";import"./DHHWJYBV.js";import"./4WXJ5RAV.js";import"./HHETNGII.js";import"./M7C64RMA.js";import"./XK34CFUD.js";import"./532DX3BO.js";import"./SM3W342U.js";import"./YS3UNLUP.js";import"./XJ43A3U3.js";import"./BLTDMSA7.js";import"./ABZKGHD4.js";import"./2EYFNNQK.js";import"./NBHREWV5.js";import"./7BIZJ5CA.js";import"./LNGU4ALS.js";import"./YLA42YVT.js";import"./F2ZVBXKP.js";import"./DNM3WXJN.js";import"./GYTNDG3P.js";import"./4TABEIHC.js";import"./36MK2EXQ.js";import"./BIJKRQBY.js";import"./YPMJI6UD.js";import"./3ATMJEPW.js";import"./VNQUWJ5A.js";import"./XT572UC3.js";import"./MUR2U2VM.js";import"./LD4MZ6GK.js";import"./QNJODJPL.js";import"./MS4LIAG4.js";import"./CDZIPYKL.js";import"./ZVE3TI4H.js";import"./Y5JIRK2F.js";import"./I22KJABQ.js";import"./C3JLSPAT.js";import"./CHLKYXQJ.js";import"./7P7DPT2S.js";import"./MR7TPTUX.js";import"./RZETLIZU.js";import"./7NI3FUYB.js";import"./JCKU5LHF.js";import"./UN3PSOWW.js";import"./E6SKCXTA.js";import"./IWKRDSIB.js";import"./PLBPDMDG.js";import"./KRMPSD3F.js";import"./BQGTAI65.js";import"./QPDUZCRZ.js";import"./6U4RCZDQ.js";import"./NMQLYCYS.js";import"./HXOY7JUN.js";import"./YKDUL7W4.js";import"./R5W5532D.js";import"./GWVP4IFU.js";import"./3VU6MQCN.js";import"./STJLTHNT.js";import"./F46A6W7U.js";import"./QITHK2VZ.js";import"./6YWJ4C5F.js";import"./LRB5ZQVC.js";import"./UGEUUHMA.js";import"./WO4HJPLA.js";import"./XBWGQQLX.js";import"./5ZPPAF6W.js";import"./5KWQPSJS.js";import"./E5GKRHG5.js";import"./2F7RV46R.js";import"./QE63H3RK.js";import"./ZCOPTR7V.js";import"./JYMTWRDN.js";import"./7FBH6TR2.js";import"./FZKWQOCD.js";import"./UMFR2EDX.js";import"./TMYIZTE5.js";import"./7NZBRMSJ.js";import"./HWD3SXLY.js";import"./PEKDGBAJ.js";import"./35M3SKBJ.js";import"./A3T3JHAT.js";export default $arcgis.t(([])=>{var P={FINDER:"finder"};async function F(i){let{skillId:t,message:e,context:s,token:a,conversationId:o,apiUrl:n="https://api.example.com",pauseMs:c=1e3,retries:d=3}=i,_={Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},y=`${n}/skills/${t}/chat`,w={message:e,context:s};o&&(w.conversationId=o);try{let l=await fetch(y,{method:"POST",headers:_,body:JSON.stringify(w)});if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);let r=await l.json(),L=o??r.conversationId,U=r.inquiryId,$=r.hasMore||r.message==null,T=r.sequenceNumber,m=[];r.message&&m.push(r);let x=0;for(;$&&x<d;){await new Promise(C=>setTimeout(C,c));let p=await fetch(y,{method:"POST",headers:_,body:JSON.stringify({conversationId:L,inquiryId:U,ackSequenceNumber:T})});if(!p.ok)throw new Error(`HTTP error! status: ${p.status}`);let h=await p.json();h.message&&m.push(h),$=h.hasMore,h.message!=null&&(T+=1),x++}return m}catch(l){return console.error("Error during request:",l),[]}}async function q({message:i,context:t,token:e,conversationId:s,apiUrl:a="https://hub.arcgis.com/api/assistants/v1",pauseMs:o=1e3,retries:n=100}){return await F({skillId:P.FINDER,message:i,context:t,token:e,conversationId:s??void 0,apiUrl:a,pauseMs:o,retries:n})}var N=i=>{if(i?.length!==2||i[0].length!==2||i[1].length!==2)return"0, 0";let t=i[0][0],e=i[0][1],s=i[1][0],a=(i[1][1]+e)/2,o=(s+t)/2;return`${a}, ${o}`},z=i=>{if(i?.length!==2||i[0].length!==2||i[1].length!==2)return 1;let t=i[0][0],e=i[0][1],s=i[1][0],a=i[1][1],o=Math.abs(s-t),n=Math.abs(a-e),c=Math.log2(360/o),d=Math.log2(180/n);return Math.floor(Math.min(c,d))+2},G=I`@layer{arcgis-hub-ai-assistant{arcgis-feature-table{height:300px}esri-feature-table{height:300px}}}`;function H(i){return i.replace("http://","").replace("https://","").split(/[/?#]/u)[0]}async function j(i,t,e){try{let[s,a]=await Promise.all([k(i,{authentication:t,portal:e}),E(i,{authentication:t,portal:e})]);return{title:s.title,description:a.assistant?.description,extent:s.extent,hub:H(s.url),location:a.assistant?.location??"",defaultSuggestions:a.assistant?.examplePrompts??[],modified:s.modified}}catch(s){throw console.error("Error fetching configuration:",s),s}}function A(i,t){return t?.map?.layers.find(e=>e.portalItem?.id===i)}var f=class extends S{constructor(){super(...arguments),this.disconnectContext=()=>{},this._messages=M({blocking:!0}),this._mapView=null,this._featureTable=g(),this._mapElRef=g(),this.handleArcGISLocationClick=t=>{let e=t.detail;e.longitude&&e.latitude&&e.zoom&&(this.mapVisible=!0,this._mapView?.goTo({center:[e.longitude,e.latitude],zoom:e.zoom}))},this.handleFinderResponse=async(t,e)=>{let s=await q({message:t,conversationId:e,context:{kind:"FinderRequest",item:this.itemId??void 0,modified:this.itemModifiedDate},token:R(this._context,"session.token",""),apiUrl:this._context.hubUrl?`${this._context.hubUrl}/api/assistants/v1`:void 0});if(s.length===0)throw new Error("Finder response is empty or invalid");return s},this.handleUpdateMapVisibility=t=>{this.mapVisible=t.detail},this._mapReady=t=>{let{view:e,viewElement:s}=t.detail;this._mapView=e,this._mapRef=s},this.handleArcGISDataClick=async t=>{let e=t.detail.data.id;if(this.mapVisible=!0,this.mapShowTable=!0,!A(e,this._mapView))try{await this._mapElRef.value?.addLayer(e);let s=A(e,this._mapView);s&&(this.mapLayers.push(e),this._featureTable.value&&(this._featureTable.value.layer=s,this._layers=[...this._layers,s],this._featureTable.value.layers=this._layers))}catch(s){console.error("could not add layer:",s)}},this._context=V(this),this.mapEnabled=!0,this.mapVisible=!1,this.itemId=null,this.botTitle=void 0,this.extent=[[-77.119,38.791],[-76.909,38.995]],this.mapLayers=[],this._layers=[],this.mapShowTable=!0,this.location="USA",this.hub="https://hub.arcgis.com",this.botDescription=void 0,this.defaultSuggestions=[],this.itemModifiedDate=0}static{this.properties={_mapRef:16,_context:16,mapEnabled:5,mapVisible:5,itemId:1,botTitle:1,extent:0,mapLayers:0,_layers:0,mapShowTable:5,location:1,hub:1,botDescription:1,defaultSuggestions:0,itemModifiedDate:9}}static{this.shadowRootOptions=v}static{this.styles=G}get _botTitle(){return this.botTitle||this._messages.defaultBotTitle}get _botDescription(){return this.botDescription||this._messages.defaultBotDescription}async load(){if(this.itemId){let t=await j(this.itemId,this._context.session,`${this._context.portalUrl}/sharing/rest`);this.botTitle=t.title,this.botDescription=t.description??"",this.hub=t.hub,this.location=t.location,this.extent=t.extent,this.defaultSuggestions=t.defaultSuggestions,this.itemModifiedDate=t.modified}}render(){return u`<arcgis-chat-shell .aboutContent=${this._botDescription} .mapEnabled=${this.mapEnabled} .mapVisible=${this.mapEnabled&&this.mapVisible} @arcgisUpdateMapVisibility=${this.handleUpdateMapVisibility}><arcgis-chat-ui .ariaLabel=${this._messages.aria.chat} .botDescription=${this._botDescription} .botTitle=${this._botTitle} .defaultSuggestions=${this.defaultSuggestions} slot=leftPanel .getFinderResponse=${this.handleFinderResponse} @arcgisAddDataClick=${this.handleArcGISDataClick} @arcgisLocationClick=${this.handleArcGISLocationClick} .domain=${this.hub}></arcgis-chat-ui><arcgis-hub-map-view .ariaLabel=${this._messages.aria.map} slot=map .location=${`${N(this.extent)},${z(this.extent)}`} mouse-wheel=zoom legend search layer-list @arcgisHubMapViewReady=${this._mapReady} ${b(this._mapElRef)}></arcgis-hub-map-view>${this.mapShowTable&&u`<arcgis-feature-table .ariaLabel=${this._messages.aria.featureTable} .referenceElement=${this._mapRef} slot=featureTable show-layer-dropdown ${b(this._featureTable)}></arcgis-feature-table>`||""}</arcgis-chat-shell>`}};D("arcgis-hub-ai-assistant",f);return f},a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as r}from"./6Y6JDA6N.js";import c from"./WANZXP6T.js";import{k as o}from"./PGCKEYPR.js";import"./TJEI5PBW.js";import"./D6ABLQKG.js";import"./M2FYOBGZ.js";import"./G4FKEAQV.js";import"./755BZUI2.js";import"./HPYJOZTI.js";import"./ZH6CYFWN.js";import"./ENYCM2BZ.js";import"./IQG54FJA.js";import"./E4RTEACV.js";import"./75Z5QMLZ.js";import"./VQIWTNQA.js";import"./QVXVKVGV.js";import"./7TP55GOP.js";import"./GEXR5MLE.js";import"./OUQO5OPQ.js";import"./HF6BDQ6N.js";import"./XIU5BZCM.js";import"./AO5GWLKA.js";import"./UOWJZBHK.js";import{C as e,I as a,d as s}from"./WG22EBMC.js";import"./KS5H5XKS.js";import"./5JKRLZYI.js";import"./FBBSMT6Z.js";import"./R35XHRRS.js";import"./YVJNYDIY.js";import"./GGQTBNLJ.js";import"./KXJ2PUUU.js";import"./KFEELHHS.js";import"./VZAGU3XL.js";import"./RNTBJAVN.js";import"./L23IMB5P.js";import b from"./DGJN7MAO.js";import"./BQBD2DYN.js";import"./YMVF7TG2.js";import"./UMPPGZRA.js";import"./ZCYS2NFV.js";import"./QQJHRXYO.js";import"./OTDBMVMD.js";import"./PQIMUC3W.js";import"./JLUZHFEF.js";import"./QGFGSQ3T.js";import"./V2LGHDAX.js";import"./RZPZLRMD.js";import"./N7WFOPU7.js";import"./W3B6TIT5.js";import"./Y42JMJ4E.js";import"./XBYQ4KDE.js";import"./WM3JPZJP.js";import"./KOTERMBO.js";import"./BE5RH3YF.js";import"./DHHWJYBV.js";import"./4WXJ5RAV.js";import"./HHETNGII.js";import"./M7C64RMA.js";import"./XK34CFUD.js";import"./532DX3BO.js";import"./SM3W342U.js";import"./YS3UNLUP.js";import"./XJ43A3U3.js";import"./BLTDMSA7.js";import"./ABZKGHD4.js";import"./2EYFNNQK.js";import"./NBHREWV5.js";import"./7BIZJ5CA.js";import"./LNGU4ALS.js";import"./YLA42YVT.js";import"./F2ZVBXKP.js";import"./DNM3WXJN.js";import"./GYTNDG3P.js";import"./4TABEIHC.js";import"./36MK2EXQ.js";import"./BIJKRQBY.js";import"./YPMJI6UD.js";import"./3ATMJEPW.js";import"./VNQUWJ5A.js";import"./XT572UC3.js";import"./MUR2U2VM.js";import"./LD4MZ6GK.js";import"./QNJODJPL.js";import"./MS4LIAG4.js";import"./CDZIPYKL.js";import"./ZVE3TI4H.js";import"./Y5JIRK2F.js";import"./I22KJABQ.js";import"./C3JLSPAT.js";import"./CHLKYXQJ.js";import"./7P7DPT2S.js";import"./MR7TPTUX.js";import"./RZETLIZU.js";import"./7NI3FUYB.js";import"./JCKU5LHF.js";import"./UN3PSOWW.js";import"./E6SKCXTA.js";import"./IWKRDSIB.js";import"./PLBPDMDG.js";import"./KRMPSD3F.js";import"./BQGTAI65.js";import"./QPDUZCRZ.js";import"./6U4RCZDQ.js";import"./NMQLYCYS.js";import"./HXOY7JUN.js";import"./YKDUL7W4.js";import"./R5W5532D.js";import"./GWVP4IFU.js";import"./3VU6MQCN.js";import"./STJLTHNT.js";import"./F46A6W7U.js";import"./QITHK2VZ.js";import"./6YWJ4C5F.js";import"./LRB5ZQVC.js";import"./UGEUUHMA.js";import"./WO4HJPLA.js";import"./XBWGQQLX.js";import"./5ZPPAF6W.js";import"./5KWQPSJS.js";import"./E5GKRHG5.js";import"./2F7RV46R.js";import"./QE63H3RK.js";import"./ZCOPTR7V.js";import"./JYMTWRDN.js";import"./7FBH6TR2.js";import"./FZKWQOCD.js";import"./UMFR2EDX.js";import"./TMYIZTE5.js";import"./7NZBRMSJ.js";import"./HWD3SXLY.js";import"./PEKDGBAJ.js";import"./35M3SKBJ.js";import"./A3T3JHAT.js";export default $arcgis.t(([])=>{var t=class extends e{constructor(){super(...arguments),this.associationType="initiative"}static{this.properties={_associatedEntitiesQuery:16,entity:0,associationType:1}}get _context(){return r()}willUpdate(i){(i.has("entity")||i.has("associationType"))&&this._init()}async _init(){this.entity&&(this._associatedEntitiesQuery=await o(this.entity,this.associationType,this._context))}render(){return this.entity&&s`<arcgis-hub-gallery layout=compact limit=5 link-target=siteRelative .query=${this._associatedEntitiesQuery}></arcgis-hub-gallery>`||""}};a("arcgis-hub-entity-associations-card",t);return t},b,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{s as t}from"./HWD3SXLY.js";function o(i){return i.split(" ").map(a=>t(a)).join(" ")}export{o as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as d}from"./4AU2VLXK.js";import{a as e,b as a}from"./U66TPVOJ.js";import"./M2TDQAYO.js";import{a as m}from"./IJZQYCXL.js";import{b as p}from"./5AGFUSNI.js";import"./UOWJZBHK.js";import{C as c,D as h,I as r,a as n,d as t,n as s}from"./WG22EBMC.js";import{c as b}from"./A3T3JHAT.js";var o=b(m(),1);var u=n`:host{display:flex;height:100%;.innerContent{overflow-wrap:break-word;height:100%}.hidden{display:none}.aboutPanel{padding:10px;font-size:1rem}.map-panel-outer{height:100%;display:flex;flex-direction:column}::slotted([slot="map"]){flex-grow:1}}`,l=class extends c{constructor(){super(...arguments),this._messages=p({blocking:!0}),this._chatAction=e(),this._aboutAction=e(),this._contentPanel=e(),this._aboutPanel=e(),this._toggleMap=()=>{this.mapVisible=!this.mapVisible,this.arcgisUpdateMapVisibility.emit(this.mapVisible);let i=this.mapVisible?o.dictionary.category.interaction.action.open.label.panel.details.search:o.dictionary.category.interaction.action.close.label.panel.details.search;this.hubTelemetry.emit({...i,details:"Map"})},this._handleChatClick=()=>{this._toggleChatAndAbout("chat")},this._handleAboutClick=()=>{this.activePanelMode==="about"?this._toggleChatAndAbout("chat"):this._toggleChatAndAbout("about")},this.activePanelMode="chat",this.mapEnabled=!1,this.mapVisible=!1,this.aboutContent=void 0,this.arcgisUpdateMapVisibility=s(),this.hubTelemetry=s()}static{this.properties={activePanelMode:16,mapEnabled:5,mapVisible:5,aboutContent:1}}static{this.styles=u}_toggleChatAndAbout(i){this._chatAction.value&&this._aboutAction.value&&this._contentPanel.value&&this._aboutPanel.value&&this.activePanelMode!==i&&(this.activePanelMode=i,this._chatAction.value.toggleAttribute("active"),this._aboutAction.value.toggleAttribute("active"),this._contentPanel.value.classList.toggle("hidden"),this._aboutPanel.value.classList.toggle("hidden"))}renderDefaultAboutContent(){return t`<div style="padding: 20px"><h2>${this._messages.aboutHeader}</h2><p>${this._messages.aboutDescription}</p></div>`}render(){return t`<calcite-action-bar><calcite-action .text=${this._messages.chatAction} icon=speech-bubble active @click=${this._handleChatClick} ${a(this._chatAction)}></calcite-action>${this.mapEnabled&&t`<calcite-action icon=map-pin .text=${this._messages.mapAction} .active=${this.mapVisible} @click=${this._toggleMap}></calcite-action>`||""}<calcite-action icon=information .text=${this._messages.aboutAction} @click=${this._handleAboutClick} ${a(this._aboutAction)}></calcite-action><calcite-tooltip slot=expand-tooltip>${this._messages.actionsTooltip}</calcite-tooltip></calcite-action-bar><calcite-panel ${a(this._contentPanel)}><slot name=leftPanel class="innerContent"></slot></calcite-panel><calcite-panel class="hidden" ${a(this._aboutPanel)}>${this.aboutContent?t`<div class="innerContent aboutPanel" .innerHTML=${d(this.aboutContent)??""}></div>`:t`<div class="innerContent aboutPanel">${this.renderDefaultAboutContent()}</div>`}</calcite-panel><calcite-panel class=${h(this.mapVisible?"":"hidden")}><div class="map-panel-outer"><slot name=map></slot><slot name=featureTable></slot></div></calcite-panel>`}};r("arcgis-chat-shell",l);export{l as ChatShell};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as g}from"./JCKU5LHF.js";import{o as m}from"./BQGTAI65.js";import{a as l}from"./WO4HJPLA.js";import{d as y}from"./ZCOPTR7V.js";import{a as c}from"./HWD3SXLY.js";import{a as f}from"./PEKDGBAJ.js";function T(e){let t={};return Array.isArray(e)?t={any:e}:(typeof e=="string"&&(t={any:[e]}),typeof e=="object"&&(t=e)),t}function w(e){let t={min:6e4,hours:36e5,days:864e5,weeks:6048e5},n=new Date,i={type:"date-range",from:n.getTime(),to:n.getTime()};switch(e.unit){case"hours":case"days":case"weeks":i.from=i.to-t[e.unit]*e.num;break;case"months":n.setMonth(n.getMonth()-e.num),i.from=n.getTime();break;case"years":n.setFullYear(n.getFullYear()-e.num),i.from=n.getTime();break}return i}var b=["created","modified","lastlogin"],P=["bbox","categoriesAsParam","categoryFilter","filterType","isopendata","isviewonly","memberType","name","searchUserAccess","searchUserName","term","openData"],M=[...b,...P];function A(e){let t={};return Object.entries(e).forEach(([n,i])=>{if(M.includes(n)||l(n,T(i),t),b.includes(n)){let r=c(f(e,n));f(e,`${n}.type`)==="relative-date"?l(n,w(r),t):l(n,r,t)}P.includes(n)&&Object.prototype.hasOwnProperty.call(e,n)&&l(n,i,t)}),t}function $(e){let t=c(e);return t.filters=t.filters.map(n=>(n.predicates=n.predicates.map(A),n)),t}function v(e){return["Site","Event","Dataset","Document","App,Map"].includes(e)}function I(e){return e==="App,Map"?"appAndMap":e.toLowerCase()}var h={$application:[{type:{any:["Web Mapping Application","Application","Insights","Web Experience"],not:["Insights Theme","Insights Model"]},typekeywords:{not:["hubSite","Story Map"]}},{type:"Web Mapping Experience",typekeywords:"EXB Experience"}],$dashboard:[{type:{any:["Dashboard"],not:["Operation View"]},typekeywords:{not:["Extension","ArcGIS Operation View"]}}],$dataset:[{type:{any:["Scene Service","Feature Collection","Route Layer","Layer","Explorer Layer","Tile Package","Vector Tile Package","Scene Package","Layer Package","Feature Service","Stream Service","Map Service","Vector Tile Service","Image Service","WMS","WFS","WMTS","KML","KML Collection","Globe Service","CSV","Shapefile","GeoJson","Service Definition","File Geodatabase","CAD Drawing","Relational Database Connection"],not:["Web Mapping Application","Geodata Service"]}},{typekeywords:["OGC","Geodata Service"]}],$document:[{type:["PDF","Microsoft Excel","Microsoft Word","Microsoft Powerpoint","iWork Keynote","iWork Pages","iWork Numbers","Visio Document","Document Link"]}],$initiative:[{type:"Hub Initiative",typekeywords:"hubInitiativeV2"}],$experience:[{type:"Web Experience"}],$feedback:[{type:"Form"}],$page:[{typekeywords:"hubPage"}],$site:[{type:["Hub Site Application","Site Application"]}],$storymap:[{type:"Storymap"},{type:"Web Mapping Application",typekeywords:"Story Map"}],$template:[{type:["Web Mapping Application","Hub Initiative","Hub Initiative Template","Solution"],typekeywords:{any:["hubInitiativeTemplate","hubSolutionTemplate","Template"],not:"Deployed"}}],$webmap:[{type:{any:["Web Map","Web Scene"],not:"Web Mapping Application"}}]};function D(e){let t=!1;return typeof e=="string"&&(t=e in h),t}function W(e){let t=!1;return e&&e.charAt(0)==="$"&&g.includes(e.slice(1))&&(t=!0),t}function E(e){return h[e]}function x(e){let t=c(e);return t.filters=t.filters.map(n=>{let i=!1;return n.predicates=n.predicates.reduce((r,o)=>{if(D(o.type)){let a=E(o.type);r=[...r,...a],i=!0}else o.type&&typeof o.type!="string"&&!Array.isArray(o.type)&&Object.keys(o.type).forEach(a=>{let u=o.type[a];Array.isArray(u)&&(o.type[a]=u.reduce((s,p)=>{if(W(p)){let d=p.slice(1),S=y(d);s=[...s,...S]}else s.push(p);return s},[]))}),r.push(o);return r},[]),i&&(n.operation="OR"),n}),t}function L(e,t,n){let i=null;return t.thumbnail&&(i=`${e}/community/groups/${t.id}/info/${t.thumbnail}`,n&&t.access!=="public"&&(i=`${i}?token=${n}`)),i}function _(e,t,n){let i=null;return t.thumbnail&&(i=`${e}/community/users/${t.username}/info/${t.thumbnail}`,n&&t.access!=="public"&&(i=`${i}?token=${n}`)),i}function V(e){return v(e)?I(e):e}function H(e){console.warn('"getScopeGroupPredicate(query)" is deprecated. Please use "getGroupPredicate(qyr)');let t=i=>!!i.group,n=e.filters.find(i=>i.predicates.find(t));return n&&n.predicates.find(t)}function U(e){let t="group",n=O(e),i=o=>!!o[t],r=n.filters.find(o=>o.predicates.find(i));return r&&r.predicates.find(i)}function j(e,t){var n;let{id:i,type:r,typeKeywords:o}=e,a=(n=e.links)===null||n===void 0?void 0:n.siteRelative;if(a&&m(r,o)){let s=(t?.pages||[]).find(d=>d.id===i),p=s?.slug;p&&(a=a.replace(i,p))}return a}function z(e){let t=c(e),n={predicates:[{type:{not:["Code Attachment"]}}]};return t.filters.push(n),t}function B(e){let t=typeof e=="string"?e:e.toParam();return new TextEncoder().encode(t).length/1024}function O(e){let t=x(e);return $(t)}export{T as a,w as b,b as c,M as d,A as e,$ as f,L as g,_ as h,V as i,H as j,U as k,j as l,z as m,B as n,O as o};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- function e(t){return t.key.startsWith("additionalResource::")}function i(t){return parseInt(t.key.split("::")[1],10)}export{e as a,i as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- var o={logLevel:"error"},r="arcgisHubConfig",l=Object.assign(Object.assign({},o),globalThis[r]),n=l.logLevel,t={all:0,debug:1,info:2,warn:3,error:4,off:5},s=class{static log(e,...i){this.isLevelPermitted(t.debug)&&console.log(e,...i)}static debug(e,...i){this.isLevelPermitted(t.debug)&&console.debug(e,...i)}static info(e,...i){this.isLevelPermitted(t.info)&&console.info(e,...i)}static warn(e,...i){this.isLevelPermitted(t.warn)&&console.warn(e,...i)}static error(e,...i){this.isLevelPermitted(t.error)&&console.error(e,...i)}static isLevelPermitted(e){return t[n]<=e}};export{s as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as r}from"./TTWVMUA3.js";import"./JYMTWRDN.js";import"./7FBH6TR2.js";import{b as i,d as n,e as s,i as a}from"./TMYIZTE5.js";import{a as o}from"./HWD3SXLY.js";import"./PEKDGBAJ.js";import"./35M3SKBJ.js";import"./A3T3JHAT.js";var h={required:["countdownDate"],type:"object",properties:{cardTitle:{type:"string"},countdownDate:{type:"string",format:"date"}}},f=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:"3788c0baa6e3d96e89f6d682fd2221a4576237e6",schema:this.schema,values:this.values})}static get assetsDirs(){return["locales"]}get element(){return n(this)}};export{f as arcgis_countdown_editor};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as g}from"./3VU6MQCN.js";import{a as D,b as C,f as $,g as N,h as f}from"./STJLTHNT.js";var k;(function(s){s.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",s.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",s.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",s.NOT_FEDERATED="NOT_FEDERATED",s.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(k||(k={}));var E=class extends Error{constructor(e="UNKNOWN_ERROR",t=k.UNKNOWN_ERROR_CODE,r,n,i){super(e);let o=new.target.prototype;Object.setPrototypeOf(this,o),this.name="ArcGISTokenRequestError",this.message=`${t}: ${e}`,this.originalMessage=e,this.code=t,this.response=r,this.url=n,this.options=i}},y=class extends Error{constructor(){super("The user has denied your authorization request.");let t=new.target.prototype;Object.setPrototypeOf(this,t),this.name="ArcGISAccessDeniedError"}};function M(s){let[e,t]=s.split("=");return{key:decodeURIComponent(e),value:decodeURIComponent(t)}}function K(s){return!s||s.length<=0?{}:s.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((e,t)=>{let{key:r,value:n}=M(t);return e[r]=n,e},{})}var b=300*1e3;function I(s,e){let t=e;return t.rawResponse=!1,f(s,t).then(r=>{if("token"in r&&"expires"in r)return{token:r.token,username:e.params.username,expires:new Date(r.expires)};let n={token:r.access_token,username:r.username,expires:new Date(Date.now()+r.expires_in*1e3-b),ssl:r.ssl===!0};return r.refresh_token&&(n.refreshToken=r.refresh_token),r.refresh_token_expires_in&&(n.refreshTokenExpires=new Date(Date.now()+r.refresh_token_expires_in*1e3-b)),n})}var F=class{constructor(e){this.portal=e.portal?g(e.portal):"https://www.arcgis.com/sharing/rest",this._username=e.username}get username(){if(this._username)return this._username;if(this._user&&this._user.username)return this._user.username}getUsername(){return this.username?Promise.resolve(this.username):this.getUser().then(e=>e.username)}getUser(e){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let t=`${this.portal}/community/self`,r=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingUserRequest=f(t,r).then(n=>(this._user=n,this._pendingUserRequest=null,n)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}},U=/^https?:\/\/(\S+)\.arcgis\.com.+/;function L(s){return U.test(s)}function q(s){if(!U.test(s))return s;switch(P(s)){case"dev":return"https://devext.arcgis.com/sharing/rest";case"qa":return"https://qaext.arcgis.com/sharing/rest";default:return"https://www.arcgis.com/sharing/rest"}}function P(s){if(!U.test(s))return null;let t=s.match(U)[1].split(".").pop();return t.includes("dev")?"dev":t.includes("qa")?"qa":"production"}function G(s,e){let t=g(q(e)).replace(/https?:\/\//,""),r=g(s).replace(/https?:\/\//,"");return new RegExp(r,"i").test(t)}function V(s,e){let t=L(s),r=L(e),n=P(s),i=P(e);return!!(t&&r&&n===i)}function W(s,e,t="https://www.arcgis.com/sharing/rest"){let r=`${t}/oauth2/validateAppAccess`;return f(r,{method:"POST",params:{f:"json",client_id:e,token:s}})}function J(s){let e=`${g(s.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,t=s.token,r=s.clientId;delete s.portal,delete s.clientId,delete s.token;let n=Object.assign(Object.assign({},s),{httpMethod:"POST",params:{client_id:r,auth_token:t}});return f(e,n).then(i=>{if(!i.success)throw new C("Unable to revoke token",500,i,e,n);return i})}function z(s,e=window){return!e&&window&&(e=window),e.btoa(String.fromCharCode.apply(null,s)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function X(s,e=window){if(!e&&window&&(e=window),s&&e.isSecureContext&&e.crypto&&e.crypto.subtle){let r=new e.TextEncoder().encode(s);return e.crypto.subtle.digest("SHA-256",r).then(n=>z(new Uint8Array(n),e))}return Promise.resolve(null)}function j(s){!s&&window&&(s=window);let e=s.crypto.getRandomValues(new Uint8Array(32));return z(e)}function Q(s){return typeof s.userId=="string"||typeof s.expires=="number"}var H=class s extends F{constructor(e){if(super(e),this.clientId=e.clientId,this._refreshToken=e.refreshToken,this._refreshTokenExpires=e.refreshTokenExpires,this.password=e.password,this._token=e.token,this._tokenExpires=e.tokenExpires,this.portal=e.portal?g(e.portal):"https://www.arcgis.com/sharing/rest",this.ssl=e.ssl,this.provider=e.provider||"arcgis",this.tokenDuration=e.tokenDuration||20160,this.redirectUri=e.redirectUri,this.server=e.server,this.referer=e.referer,this.federatedServers={},this.trustedDomains=[],e.server){let t=this.getServerRootUrl(e.server);this.federatedServers[t]={token:e.token,expires:e.tokenExpires}}this._pendingTokenRequests={}}get token(){return this._token}get tokenExpires(){return this._tokenExpires}get refreshToken(){return this._refreshToken}get refreshTokenExpires(){return this._refreshTokenExpires}get canRefresh(){return!!(this.username&&this.password||this.clientId&&this.refreshToken&&this.redirectUri)}static beginOAuth2(e,t){!t&&window&&(t=window);let{portal:r,provider:n,clientId:i,expiration:o,redirectUri:a,popup:m,popupWindowFeatures:T,locale:c,params:d,style:_,pkce:R,state:h}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",provider:"arcgis",expiration:20160,popup:!0,popupWindowFeatures:"height=400,width=600,menubar=no,location=yes,resizable=yes,scrollbars=yes,status=yes",locale:"",style:"",pkce:!0},e),l=h||j(t),w=`ARCGIS_REST_JS_AUTH_STATE_${i}`;t.localStorage.setItem(w,l);let p=`${g(r)}/oauth2/authorize`,x={client_id:i,response_type:R?"code":"token",expiration:o,redirect_uri:a,state:JSON.stringify({id:l,originalUrl:t.location.href}),locale:c,style:_};n!=="arcgis"&&(p=`${g(r)}/oauth2/social/authorize`,x.socialLoginProviderName=n,x.autoAccountCreateForSocial=!0);let A;if(R){let S=j(t),O=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`;t.localStorage.setItem(O,S),A=X(S,t).then(function(u){x.code_challenge_method=u?"S256":"plain",x.code_challenge=u||S})}else A=Promise.resolve();return A.then(()=>{if(p=`${p}?${D(x)}`,d&&(p=`${p}&${D(d)}`),m)return new Promise((S,O)=>{t.addEventListener(`arcgis-rest-js-popup-auth-${i}`,u=>{if(u.detail.error==="access_denied"){let v=new y;return O(v),v}if(u.detail.errorMessage){let v=new N(u.detail.errorMessage,u.detail.error);return O(v),v}S(new s({clientId:i,portal:r,ssl:u.detail.ssl,token:u.detail.token,tokenExpires:u.detail.expires,username:u.detail.username,refreshToken:u.detail.refreshToken,refreshTokenExpires:u.detail.refreshTokenExpires,redirectUri:a}))},{once:!0}),t.open(p,"oauth-window",T),t.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});t.location.href=p})}static completeOAuth2(e,t){!t&&window&&(t=window);let{portal:r,clientId:n,popup:i,pkce:o,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},e),m=`ARCGIS_REST_JS_AUTH_STATE_${n}`,T=t.localStorage.getItem(m),c=K(o?t.location.search.replace(/^\?/,""):t.location.hash.replace(/^#/,"")),d=c&&c.state?JSON.parse(c.state):void 0;function _(h,l,w){if(t.localStorage.removeItem(m),i&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${n}`,{detail:{error:l,errorMessage:h}})),t.close();return}return w&&t.history.replaceState(t.history.state,"",w),l==="access_denied"?Promise.reject(new y):Promise.reject(new N(h,l))}function R(h,l){if(t.localStorage.removeItem(m),i&&t.opener){t.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${n}`,{detail:Object.assign({},h)})),t.close();return}return t.history.replaceState(t.history.state,"",l),new s({clientId:n,portal:r,ssl:h.ssl,token:h.token,tokenExpires:h.expires,username:h.username,refreshToken:h.refreshToken,refreshTokenExpires:h.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,"")})}if(!T||!d)return _("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(d.id!==T)return _("Saved client state did not match server sent state.","mismatched-auth-state");if(c.error){let h=c.error,l=c.error_description||"Unknown error";return _(l,h,d.originalUrl)}if(o&&c.code){let h=g(`${r}/oauth2/token/`),l=`ARCGIS_REST_JS_CODE_VERIFIER_${n}`,w=t.localStorage.getItem(l);return t.localStorage.removeItem(l),I(h,{httpMethod:"POST",params:{client_id:n,code_verifier:w,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:c.code}}).then(p=>R(Object.assign(Object.assign({},p),d),d.originalUrl)).catch(p=>_(p.originalMessage,p.code,d.originalUrl))}return!o&&c.access_token?Promise.resolve(R(Object.assign({token:c.access_token,expires:new Date(Date.now()+parseInt(c.expires_in,10)*1e3),ssl:c.ssl==="true",username:c.username},d),d.originalUrl)):_("Unknown error","oauth-error",d.originalUrl)}static fromParent(e,t){!t&&window&&(t=window);let r;return new Promise((n,i)=>{r=o=>{if(o.source===t.parent&&o.data)try{return n(s.parentMessageHandler(o))}catch(a){return i(a)}},t.addEventListener("message",r,!1),t.parent.postMessage({type:"arcgis:auth:requestCredential"},e)}).then(n=>(t.removeEventListener("message",r,!1),n))}static authorize(e,t){let{portal:r,clientId:n,expiration:i,redirectUri:o,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},e),m={client_id:n,expiration:i,response_type:"code",redirect_uri:o};a&&(m.state=a);let T=`${r}/oauth2/authorize?${D(m)}`;t.writeHead(301,{Location:T}),t.end()}static exchangeAuthorizationCode(e,t){let{portal:r,clientId:n,redirectUri:i}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},e);return I(`${r}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:n,redirect_uri:i,code:t}}).then(o=>new s({clientId:n,portal:r,ssl:o.ssl,redirectUri:i,refreshToken:o.refreshToken,refreshTokenExpires:o.refreshTokenExpires,token:o.token,tokenExpires:o.expires,username:o.username})).catch(o=>{throw new E(o.message,k.REFRESH_TOKEN_EXCHANGE_FAILED,o.response,o.url,o.options)})}static deserialize(e){let t=JSON.parse(e);return new s({clientId:t.clientId,refreshToken:t.refreshToken,refreshTokenExpires:t.refreshTokenExpires?new Date(t.refreshTokenExpires):void 0,username:t.username,password:t.password,token:t.token,tokenExpires:t.tokenExpires?new Date(t.tokenExpires):void 0,portal:t.portal,ssl:t.ssl,tokenDuration:t.tokenDuration,redirectUri:t.redirectUri,server:t.server})}static fromCredential(e,t){let r=typeof e.ssl<"u"?e.ssl:!0,n=e.expires||Date.now()+72e5;return t.hasServer?new s({server:e.server,ssl:r,token:e.token,username:e.userId,tokenExpires:new Date(n)}):new s({portal:g(e.server.includes("sharing/rest")?e.server:e.server+"/sharing/rest"),ssl:r,token:e.token,username:e.userId,tokenExpires:new Date(n)})}static parentMessageHandler(e){if(e.data.type==="arcgis:auth:credential"){let t=e.data.credential;return Q(t)?s.fromCredential(t,{hasPortal:!0,hasServer:!1,server:t.server}):new s(t)}if(e.data.type==="arcgis:auth:error"){let t=new Error(e.data.error.message);throw t.name=e.data.error.name,t}else throw new Error("Unknown message type.")}static destroy(e){return J({clientId:e.clientId,portal:e.portal,token:e.refreshToken||e.token})}static fromToken(e){let t=new s(e);return t.getUser().then(()=>t)}static signIn(e){let t=new s(e);return t.getUser().then(()=>t)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(e){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let t=`${this.portal}/portals/self`,r=Object.assign(Object.assign({httpMethod:"GET",authentication:this},e),{rawResponse:!1});return this._pendingPortalRequest=f(t,r).then(n=>(this._portalInfo=n,this._pendingPortalRequest=null,n)),this._pendingPortalRequest}}getToken(e,t){return V(this.portal,e)?this.getFreshToken(t):new RegExp(this.portal,"i").test(e)?this.getFreshToken(t):this.getTokenForServer(e,t)}validateAppAccess(e){return this.getToken(this.portal).then(t=>W(t,e))}toJSON(){return{type:"ArcGISIdentityManager",clientId:this.clientId,refreshToken:this.refreshToken,refreshTokenExpires:this.refreshTokenExpires||void 0,username:this.username,password:this.password,token:this.token,tokenExpires:this.tokenExpires||void 0,portal:this.portal,ssl:this.ssl,tokenDuration:this.tokenDuration,redirectUri:this.redirectUri,server:this.server}}serialize(){return JSON.stringify(this)}enablePostMessageAuth(e,t){!t&&window&&(t=window),this._hostHandler=this.createPostMessageHandler(e),t.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(e){!e&&window&&(e=window),e.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(e){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(e):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new E("Unable to refresh token. No refresh token or password present.",k.TOKEN_REFRESH_FAILED))}getServerRootUrl(e){let[t]=g(e).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[r,n,i]=t.match(/(https?:\/\/)(.+)/),[o,...a]=i.split("/");return`${n}${o.toLowerCase()}/${a.join("/")}`}getDomainCredentials(e){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(e=e.toLowerCase(),this.trustedDomains.some(t=>e.startsWith(t.toLowerCase()))?"include":"same-origin")}signOut(){return s.destroy(this)}createPostMessageHandler(e){return t=>{let r=e.indexOf(t.origin)>-1,n=t.data.type==="arcgis:auth:requestCredential",i=this.tokenExpires.getTime()>Date.now();if(r&&n){let o={};if(i){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),o={type:"arcgis:auth:credential",credential:a}}else o={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};t.source.postMessage(o,t.origin)}}}getTokenForServer(e,t){let r=this.getServerRootUrl(e),n=this.federatedServers[r];return n&&n.expires&&n.expires.getTime()>Date.now()?Promise.resolve(n.token):this._pendingTokenRequests[r]?this._pendingTokenRequests[r]:(this._pendingTokenRequests[r]=this.fetchAuthorizedDomains().then(()=>f(`${r}/rest/info`,{credentials:this.getDomainCredentials(e)}).then(i=>{if(i.owningSystemUrl){if(G(i.owningSystemUrl,this.portal))return f(`${i.owningSystemUrl}/sharing/rest/info`,t);throw new E(`${e} is not federated with ${this.portal}.`,k.NOT_FEDERATED)}else{if(i.authInfo&&this.federatedServers[r]!==void 0)return Promise.resolve({authInfo:i.authInfo});throw new E(`${e} is not federated with any portal and is not explicitly trusted.`,k.NOT_FEDERATED)}}).then(i=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(i.authInfo.tokenServicesUrl,r)):this.generateTokenForServer(i.authInfo.tokenServicesUrl,r)).then(i=>(this.federatedServers[r]=i,delete this._pendingTokenRequests[r],i.token))),this._pendingTokenRequests[r])}generateTokenForServer(e,t){return f(e,{params:{token:this.token,serverUrl:t,expiration:this.tokenDuration}}).then(r=>({token:r.token,expires:new Date(r.expires-1e3*60*5)})).catch(r=>{throw new E(r.message,k.GENERATE_TOKEN_FOR_SERVER_FAILED,r.response,r.url,r.options)})}getFreshToken(e){return this.token&&!this.tokenExpires?Promise.resolve(this.token):this.token&&this.tokenExpires&&this.tokenExpires.getTime()>Date.now()?Promise.resolve(this.token):(this._pendingTokenRequests[this.portal]||(this._pendingTokenRequests[this.portal]=this.refreshCredentials(e).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(e){let t={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:$};return(this.server?f(`${this.getServerRootUrl(this.server)}/rest/info`).then(r=>f(r.authInfo.tokenServicesUrl,Object.assign({params:t},e))):f(`${this.portal}/generateToken`,Object.assign({params:t},e))).then(r=>(this.updateToken(r.token,new Date(r.expires)),this)).catch(r=>{throw new E(r.message,k.TOKEN_REFRESH_FAILED,r.response,r.url,r.options)})}refreshWithRefreshToken(e){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(e);let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},e);return I(`${this.portal}/oauth2/token`,r).then(n=>this.updateToken(n.token,n.expires)).catch(n=>{throw new E(n.message,k.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}updateToken(e,t){return this._token=e,this._tokenExpires=t,this}exchangeRefreshToken(e){let t=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},e);return I(`${this.portal}/oauth2/token`,t).then(r=>(this._token=r.token,this._tokenExpires=r.expires,this._refreshToken=r.refreshToken,this._refreshTokenExpires=r.refreshTokenExpires,this)).catch(r=>{throw new E(r.message,k.REFRESH_TOKEN_EXCHANGE_FAILED,r.response,r.url,r.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(e=>(e.authorizedCrossOriginDomains&&e.authorizedCrossOriginDomains.length&&(this.trustedDomains=e.authorizedCrossOriginDomains.filter(t=>!t.startsWith("http://")).map(t=>t.startsWith("https://")?t:`https://${t}`)),this))}};export{H as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as zl,b as Yl}from"./FBBSMT6Z.js";import{a as bd,b as Td}from"./QF6JIVBK.js";import{a as Kl}from"./5H4KFHK7.js";import{a as Bm,b as zm,c as Ym,d as Km,e as Wm,f as qm}from"./5OUNJXIP.js";import{a as od,b as nd}from"./UO44TYJ3.js";import{a as hd}from"./PJM65ANE.js";import{a as Et}from"./5VRP6DW2.js";import{a as De,b as Ne,c as Qm}from"./EVUT4MY7.js";import{a as ed,b as td,c as rd,d as sd}from"./IOGVG3UZ.js";import{a as id}from"./FHI65R74.js";import{a as Jm,b as Xm,c as Zm}from"./3IZHO3XL.js";import{a as tu}from"./3K67RLX4.js";import{a as Em,b as Sm}from"./NJAOO7AT.js";import{a as eu}from"./DOTK332X.js";import{a as Wc,b as qc,c as ft,d as Qc,e as Jc}from"./TTEVQMAG.js";import{a as I,b as dd,c as pd,d as fd}from"./PJVUBHMT.js";import{a as kl,b as Bl}from"./2SXEAW54.js";import{a as we,b as jl}from"./JA3MN6JC.js";import{a as Fl,b as $l,c as Vl}from"./FUVIMEYY.js";import{a as Tm}from"./YL7SB3HH.js";import{a as Wl}from"./UZXCTC2F.js";import{a as gd}from"./K3LRZLCJ.js";import{a as hc}from"./YNGHLPFI.js";import{a as ql,b as Ql}from"./GWPYV2KX.js";import{a as Me}from"./46BOI5OY.js";import{a as Cm,b as Am,c as Pm,d as vm,e as Um,f as Om,g as _m,h as xm,i as H,j as Rm,k as wm,l as Mm,m as Dm,n as ht,o as yt,p as bt,q as Tt,r as Nm,s as Hm,t as Gm,u as Lm,v as Fm}from"./AG67QKP3.js";import{a as Im}from"./37VSTUPM.js";import{a as im,b as cm,c as um,d as lm,e as mm,f as dm,g as pm,h as fm}from"./7EAC2TIQ.js";import{a as $m,b as Vm}from"./YXICRI4L.js";import{a as Ll}from"./77BM2RZ7.js";import{a as Nl,b as Hl,c as Gl}from"./WTEHMVCT.js";import{a as Jl,b as Xl}from"./YA4KOUXO.js";import{b as He}from"./D37RW6DM.js";import{a as jm}from"./KNCNTZCH.js";import{a as Fe}from"./JNUR4CQL.js";import{a as km}from"./6KWOWU2Z.js";import{a as em,b as tm,c as rm,d as sm,e as am,f as om,g as nm}from"./VEZNQ773.js";import{a as Xc}from"./OIUCQNK4.js";import{a as Zc}from"./QWNWJYQF.js";import{a as Yc,b as Kc}from"./C67WP7MS.js";import{c as yc,g as bc}from"./3UHTLHNL.js";import{a as x,b as z}from"./SHU5W64E.js";import{a as da}from"./F44SBKUG.js";import{a as yd}from"./4WO4QOTH.js";import{a as cd,b as ud,c as ld}from"./R35XHRRS.js";import{a as ym,b as bm}from"./DN3W3QWA.js";import{a as Ed}from"./7MUBNZ6O.js";import{a as Zl}from"./2THHHAJ2.js";import{a as md}from"./BL4DSQYC.js";import{a as gm}from"./IV6B6JJ6.js";import{a as Le,b as ad}from"./42GNBIQC.js";import{a as Ge}from"./BQBD2DYN.js";import{a as yl,b as bl,c as Tl,d as El,e as Sl,f as Il,g as Cl,h as Al,i as Pl,j as vl,k as Ul,l as Ol,m as _l,n as xl,o as Rl,p as wl,q as Ml,r as Dl}from"./L43OZW4B.js";import{b as Ju}from"./ACHKJEPE.js";import{a as ml,b as dl,c as pl,d as fl,e as gl}from"./JJTHMSAZ.js";import{a as nl}from"./YMVF7TG2.js";import{d as il,e as cl,f as ul,g as ll}from"./UJXELXT7.js";import{a as gt,b as zu,c as Yu,d as Ku,f as Wu,g as qu,h as Qu,i as xe}from"./IMO4XFVL.js";import{a as yu}from"./66ZISCR6.js";import{a as ol}from"./UMPPGZRA.js";import{a as el}from"./XFTTPIPR.js";import{a as J,b as Re}from"./WLMFBAA4.js";import{a as Zu}from"./4H7COY5K.js";import{a as gu,b as hu}from"./46TKGLEV.js";import{a as pu}from"./ZCYS2NFV.js";import{a as Xu}from"./MP6I2EKO.js";import{a as ou,b as nu}from"./QOAS53GT.js";import{a as ju,b as ku,c as Bu}from"./HXLBX4JF.js";import{a as bu,b as Tu,c as Eu,d as Su,e as Iu,f as Cu,g as Au,h as Pu,i as vu,j as Uu,k as Ou,l as _u,m as xu,n as Ru,o as wu,p as Mu,q as Du,r as Nu,s as Hu}from"./NAS76S6Q.js";import{a as Gu,b as Lu}from"./RRBVBT3L.js";import{c as Lc,d as Fc,e as $c,f as Vc,g as jc,h as kc,i as Bc,j as zc}from"./4GLJPXIC.js";import{a as Fu}from"./VMAZUPWE.js";import{a as tl,b as rl,c as sl,d as al}from"./QQJHRXYO.js";import{a as hl}from"./OTDBMVMD.js";import"./S6HPRAQK.js";import"./WHZZUUD2.js";import{a as su,b as au}from"./ZQ7WKGYV.js";import"./WMTGRSXS.js";import{a as ru}from"./ZQ4UBBE3.js";import"./E4PN3RFI.js";import"./WQY2VKG7.js";import"./JEOKO63T.js";import"./T3E2XKFY.js";import"./2EHESUUD.js";import{a as du}from"./2ZDKVOTP.js";import"./7NMWZDJE.js";import{a as ki,b as Bi,c as zi,d as Yi,e as Ki,f as Wi,g as qi,h as Qi,i as Ji,j as Xi,l as Zi,m as ec,n as tc,o as rc,p as sc,q as ac,r as oc}from"./EWIXPOTG.js";import{b as mc,c as dc,d as pc,e as fc,f as gc}from"./JXECAVSQ.js";import"./ELOXOFXR.js";import{a as cc,b as uc,c as lc}from"./5YP55NTH.js";import{e as Vo}from"./XHYLHKNU.js";import"./UJ7B3RYB.js";import{a as $o}from"./YBFFZW2A.js";import{a as Lo,b as Fo}from"./FMATC3WT.js";import{a as Vu}from"./BAL44ZRR.js";import"./HIQRIHSJ.js";import{a as fu}from"./4FWCTO5Z.js";import{a as iu,b as cu,c as uu,d as lu,e as mu}from"./PQIMUC3W.js";import{a as vc,b as Uc,c as Oc,d as _c,e as xc,f as Rc,g as wc,h as Mc,j as Dc,k as Nc,m as Hc,n as Gc}from"./JLUZHFEF.js";import{a as Ec,b as Sc}from"./QGFGSQ3T.js";import{a as dt,b as E,c as pt}from"./V2LGHDAX.js";import{b as Ho,c as Ee}from"./RZPZLRMD.js";import{a as D}from"./N7WFOPU7.js";import{b as lt,c as mt,d as Gi,e as Li,j as Fi,k as $i,l as Vi,m as ji}from"./W3B6TIT5.js";import{a as ge}from"./Y42JMJ4E.js";import"./XBYQ4KDE.js";import{a as nc,b as ic}from"./WM3JPZJP.js";import"./KOTERMBO.js";import{a as _o,b as xo,c as Ro,d as wo,e as Mo,f as Do}from"./BE5RH3YF.js";import{a as Oe,b as N,c as Cc,d as _e,e as Ac,f as Pc,h as Q}from"./DHHWJYBV.js";import{a as _i,b as xi,c as Ri,d as wi,e as Mi,f as Di,g as Ni,h as Hi}from"./4WXJ5RAV.js";import{a as Ic}from"./HHETNGII.js";import{c as Tc}from"./M7C64RMA.js";import"./XK34CFUD.js";import{$ as Ai,A as Jn,B as Xn,C as Zn,D as ei,E as ti,F as ri,G as si,H as ai,I as oi,J as ni,K as ii,L as ci,M as ui,N as li,O as mi,P as di,Q as pi,R as fi,S as gi,T as hi,U as yi,V as bi,W as Ti,X as Ei,Y as Si,Z as Ii,_ as Ci,a as vn,aa as Pi,b as Un,ba as vi,c as On,ca as Ui,d as _n,da as Oi,f as xn,g as Rn,h as wn,i as Mn,j as Dn,k as Nn,l as Hn,m as Gn,n as Ln,o as Fn,p as $n,q as Vn,r as jn,s as kn,t as Bn,u as zn,v as Yn,w as Kn,x as Wn,y as qn,z as Qn}from"./532DX3BO.js";import{a as ve}from"./SM3W342U.js";import{a as Ue}from"./YS3UNLUP.js";import{b as Pn}from"./XJ43A3U3.js";import"./BLTDMSA7.js";import"./ABZKGHD4.js";import{a as Go,b as Se}from"./2EYFNNQK.js";import{a as q}from"./NBHREWV5.js";import{A as ln,B as mn,C as dn,D as pn,E as fn,F as gn,G as hn,J as Pe,L as yn,M as bn,N as Tn,O as En,P as Sn,Q as In,R as Cn,S as An,a as Wo,b as qo,c as Ae,d as Qo,e as Jo,g as Xo,h as Zo,j as en,l as tn,m as rn,n as sn,o as an,p as on,q as nn,r as cn,z as un}from"./7BIZJ5CA.js";import"./LNGU4ALS.js";import{a as Ko}from"./YLA42YVT.js";import{a as Ys}from"./F2ZVBXKP.js";import{$ as yo,A as za,B as Ya,C as Ka,D as Wa,E as qa,F as Qa,G as Ja,H as Xa,I as Za,J as eo,K as to,L as ro,M as so,N as ao,O as oo,Q as no,R as io,S as fe,T as co,U as uo,V as lo,W as mo,X as po,Y as fo,Z as go,_ as ho,a as Ga,aa as bo,b as La,ba as To,ca as Eo,da as So,e as me,ea as Io,f as Fa,fa as Co,g as $a,ga as Ao,h as ut,ha as Po,ia as vo,ja as Uo,ka as Oo,q as de,s as Va,t as ja,u as ka,v as R,w,x as K,y as pe,z as Ba}from"./DNM3WXJN.js";import{a as ct}from"./GYTNDG3P.js";import{d as Na,e as Y,f as Ha}from"./4TABEIHC.js";import{a as S,b as fa,c as ga,d,e as ha,f as ya,g as ba,h as Ta,i as Ea,j as Sa,k as Ia,l as Ca,m as Aa,n as Pa,o as va,p as Ua,t as Oa,u as _a,v as le}from"./36MK2EXQ.js";import{a as xa,b as Ra,c as wa,d as Ma}from"./BIJKRQBY.js";import"./YPMJI6UD.js";import{a as jo,b as ko,c as Bo}from"./3ATMJEPW.js";import{a as Ie,b as zo,c as Yo,d as Ce}from"./VNQUWJ5A.js";import{a as ca,b as ua,c as la,d as ma}from"./XT572UC3.js";import{a as it}from"./MUR2U2VM.js";import{a as zs}from"./LD4MZ6GK.js";import{a as qs,b as ie,c as ce,d as Qs,e as Js,f as Xs,g as ue,h as Zs,i as ea,j as ta,k as ra,l as _,m as sa,n as aa,o as oa,p as na,q as ia,r as B}from"./QNJODJPL.js";import{a as Ks,b as Ws}from"./MS4LIAG4.js";import{a as Da}from"./CDZIPYKL.js";import{a as P}from"./ZVE3TI4H.js";import{a as gs,b as hs,c as ys,d as bs,e as Ts,f as Es,g as Ss,h as Is}from"./Y5JIRK2F.js";import{a as wr,b as Mr}from"./I22KJABQ.js";import{a as L}from"./C3JLSPAT.js";import"./CHLKYXQJ.js";import"./7P7DPT2S.js";import{a as as,b as os,c as ns,e as is,f as cs,g as us,h as ls,i as ms,j as re,k as ds,l as ps}from"./MR7TPTUX.js";import{a as T}from"./RZETLIZU.js";import{a as Ms,b as Ds,c as Ze,d as et,g as Ns,h as Hs,i as Gs,j as Ls,k as Fs,l as $s,m as Vs,n as js,o as j}from"./7NI3FUYB.js";import{a as Rs,b as ws}from"./JCKU5LHF.js";import{a as _s}from"./UN3PSOWW.js";import{a as xs}from"./E6SKCXTA.js";import{a as fs}from"./IWKRDSIB.js";import"./PLBPDMDG.js";import"./KRMPSD3F.js";import{a as A,b as Jr,c as oe,d as Us,h as Os,n as Qe,o as Je,x as Xe}from"./BQGTAI65.js";import{a as $,b as vs}from"./QPDUZCRZ.js";import{a as Tr,b as Er,c as Sr,d as Ir,e as Cr,f as Ar,g as Pr,h as vr,i as Ur,j as Or,k as _r,l as xr,m as Rr}from"./6U4RCZDQ.js";import"./NMQLYCYS.js";import{c as nt}from"./HXOY7JUN.js";import{a as ne}from"./YKDUL7W4.js";import{d as tt,e as rt,f as k,g as st,h as at,i as ot}from"./R5W5532D.js";import"./GWVP4IFU.js";import"./3VU6MQCN.js";import{b as ze,c as Ye,d as Ke,h as We}from"./STJLTHNT.js";import{a as hm}from"./EHQQNEKV.js";import{a as $u}from"./3BDJY5BX.js";import{a as Bs}from"./NLN7H6JK.js";import{a as No,b as he,c as ye,d as be,e as Te,f as M,g as W}from"./LRB5ZQVC.js";import{a as pa}from"./UGEUUHMA.js";import{a as ae}from"./WO4HJPLA.js";import{a as se}from"./XBWGQQLX.js";import{a as ks}from"./5ZPPAF6W.js";import{a as Ps}from"./5KWQPSJS.js";import{k as Zr,l as es,m as ts,n as rs,o as ss}from"./E5GKRHG5.js";import{a as y}from"./2F7RV46R.js";import{a as As}from"./QE63H3RK.js";import{a as qe,c as V,d as Cs}from"./ZCOPTR7V.js";import{a as Xr}from"./7NZBRMSJ.js";import{a as f,b as Dr,c as Nr,d as te,e as Hr,f as Gr,g as Lr,h as Fr,i as $r,j as F,k as Vr,l as jr,m as kr,n as Br,o as zr,p as Yr,q as Kr,r as Wr,s as qr,t as Qr}from"./HWD3SXLY.js";import{a as m}from"./PEKDGBAJ.js";import"./35M3SKBJ.js";import"./A3T3JHAT.js";function hg(e,t){let r=!1;if(x(t)){let s=e.initiative?m(e,"initiative.item.properties.collaborationGroupId"):m(e,"site.properties.collaborationGroupId"),{groups:a=[]}=t;r=!!s&&!!te(a,"id",s)}return r}function yg(e,t){let r=!1;return!m(e,"properties.isDefaultHubHome")&&x(t)&&(r=z(e,t)),r}var Sd=["portal:user:createGroup","portal:user:createItem","portal:user:shareToGroup","portal:user:viewOrgGroups","portal:user:viewOrgItems"];function bg(e,t){let r=!1,s=m(e,"properties.isDefaultHubHome"),a=x(t);if(!s&&a)r=z(e,t);else if(a){let o=t.orgId,n=e.orgId;if(!!o&&o===n){let c=t.privileges||[];r=Sd.every(l=>P(c,l))}}return r}var Tg=(e,t,r)=>{let s=f(e),a=_(e);return ae("type",a,s),Ee({item:s},t,r)};function Id(e=""){console.warn("DEPRECATED: Use getFamily() instead. getCategory will be removed at the next breaking version");let t=qe(e);return t==="feedback"?"app":t}function Eg(e=""){return ce[e.toLowerCase()]}function Sg(e={}){console.warn("DEPRECATED: getTypeCategories will be removed at the next breaking version");let t=_(e),r=Id(t);if(r){let s=Array.from(r);return s[0]=s[0].toUpperCase(),[s.join("")]}else return["Other"]}function Ig(e,t){if(P(["template","feedback"],e.family))return e.id;if(Je(e.type,e.typeKeywords)){let s=(m(t,"data.values.pages")||[]).find(o=>o.id===e.id);return s?s.slug:de(e.item).split(ut).pop()}if(e.slug){let r,s=m(t,"domainInfo.orgKey");return m(t,"data.values.isUmbrella")?r=e.slug:r=Ce(e.slug,s),r}return e.hubId||e.id}function Cg(e){return B(e)}function Ag(e){let t=Cd(e),{errors:r,boundary:s,metadata:a,slug:o,groupIds:n,orgId:i,orgName:c,organization:l,orgExtent:u,server:p,layers:h,layer:b,recordCount:v,statistics:U,extent:O,searchDescription:X}=e.attributes,Z=b&&b.id;return B(t,{layerId:Z,slug:o,errors:r,metadata:a||null,groupIds:n,org:i&&{id:i,name:c||l,extent:u},server:p,layers:h,recordCount:v,boundary:s,extent:O,searchDescription:X,statistics:U})}function Cd(e){if(!e)return;let{id:t,attributes:r}=e;if(!r)return;let{itemId:s}=Ie(t),{owner:a,orgId:o,created:n,modified:i,name:c,title:l,type:u,typeKeywords:p,description:h,snippet:b,tags:v,thumbnail:U,categories:O,contentStatus:X,spatialReference:Z,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,size:or,protected:nr,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr,itemExtent:fr,itemModified:gr,modifiedProvenance:hr,serviceSpatialReference:yr}=r,br=ee&&Se(ee);return{id:s,owner:a,orgId:o,created:n,modified:gr||hr==="item.modified"&&i,title:l||c,type:br||u,typeKeywords:p,description:h,tags:v,snippet:b,thumbnail:U,extent:fr||[],categories:O,contentStatus:X,spatialReference:Z||yr,accessInformation:Be,licenseInfo:Yt,culture:Kt,url:ee,access:Wt,size:or,protected:nr,proxyFilter:qt,properties:Qt,appCategories:Jt,industries:Xt,languages:Zt,largeThumbnail:er,banner:tr,screenshots:rr,listed:sr,ownerFolder:ar,commentsEnabled:ir,numComments:cr,numRatings:ur,avgRating:lr,numViews:mr,itemControl:dr,scoreCompleteness:pr}}var Pg=(e,t)=>{let r=_(Object.assign(Object.assign({},e.item),{type:t})),s=V(r),a=ue(r),o=Ad(r,e.isProxied),n=Object.assign(Object.assign({},e),{type:r,family:s,contentTypeIcon:a,contentTypeLabel:o});return Pd(n,{relative:vd(n)})},Ad=(e,t)=>t?"CSV":F(e||""),Pd=(e,t)=>{let r=Object.assign(Object.assign({},e.urls),t);return Object.assign(Object.assign({},e),{urls:r})},vd=(e,t)=>Qe(e.type,t||e.identifier,e.typeKeywords),C=e=>({kind:"service",service:{availability:e}});async function vg(e,t){let{timeout:r=3e3}=t,s=q(t,["timeout"]),{url:a}=e;if(!!!a)return C("available");let n=a.includes("?");if(ge(n?a.split("?")[0]:a)){let c=it(Object.assign({url:a},s)).then(()=>C("available")).catch(u=>{if(u.response){let p=u.response.error.code,h=[401,403,499].includes(p);return C(h?"auth-required":"unavailable")}else return C("auth-required")});return Promise.race([c,await we(r)]).then(u=>u||C("slow"))}else return C("available")}var St;(function(e){e.SUCCESS="success",e.ERROR="error",e.WARNING="warning",e.INFO="info"})(St||(St={}));var Ud=["portal","discussions","events","metrics","notifications","hub-search","domains","hub-downloads","hub-ai-assistant"];function Ug(e){return Ud.includes(e)}var It;(function(e){e.CREATED_AT="createdAt",e.CREATOR="creator",e.EDITOR="editor",e.ID="id",e.UPDATED_AT="updatedAt"})(It||(It={}));var Ct;(function(e){e.HUB="hub",e.AGO="ago",e.URBAN="urban"})(Ct||(Ct={}));var At;(function(e){e.POST="post"})(At||(At={}));function Og(e,t={}){let{access:r,groups:s,orgs:a}=e;return Od(t,{access:r,groups:s,orgs:a})}function Od(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n}=t;return r?a===d.PRIVATE?Pt(s,o):Pt(s,o)&&Rd(e,n):!1}function Pt(e,t){return t.every(r=>{let s=e.find(a=>a.id===r);return s&&_d(s)&&xd(s)})}function _d(e){let{userMembership:{memberType:t}}=e;return["owner","admin","member"].includes(t)}function xd(e){let{typeKeywords:t=[]}=e;return!t.includes(S)}function Rd(e,t){return N(e)&&t.includes(e.orgId)}function _g(e,t={}){return new Q(e).canCreateChannel(t)}var wd=Object.freeze(["owner","admin"]);function je(e={},t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?r===i?!0:a===d.PRIVATE?vt(o,s):vt(o,s)||Md(n,e):!1}function vt(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&wd.includes(o)}))}function Md(e,t){return N(t)&&e.includes(t.orgId)}function xg(e,t={}){return pt(t,e.orgId)?!0:je(t,e)}function Rg(e,t={}){return E(t,e.orgId)?!0:je(t,e)}function wg(e,t={}){return _e(t,e.orgId)?!0:je(t,e)}var Dd=Object.freeze(["owner","admin","member"]);function Mg(e,t={}){let{access:r,groups:s,orgs:a,allowAnonymous:o}=e;return E(t,e.orgId)?!0:Nd(t,{access:r,groups:s,orgs:a,allowAnonymous:o})}function Nd(e,t){let{username:r,groups:s,orgId:a}=e,{allowAnonymous:o,access:n,groups:i,orgs:c}=t;return o===!0?!0:r?n===d.PUBLIC?!0:n===d.PRIVATE?Hd(i,s):n===d.ORG?c.includes(a):!1:!1}function Hd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Dd.includes(o)&&!n.includes(S)}))}function Lt(e,t={}){return dt(t,e.orgId)?!0:e.access==="private"?Ut(["member","owner","admin"])(t,e):e.access==="org"?Ut(["member","owner","admin"])(t,e)||Gd(e,t):!0}function Dg(e,t={}){return Lt(e,t)}function Ut(e){return(t,r)=>{let{groups:s=[]}=r,{groups:a=[]}=t,o=a.reduce(Oe(e),[]);return s["some"](i=>o.indexOf(i)>-1)}}function Gd(e,t){return e.orgs.length===1&&e.orgs.indexOf(t.orgId)>-1}var Ld=Object.freeze(["owner","admin","member"]);function Ng(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:Fd(t,{access:r,groups:s,orgs:a})}function Fd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?$d(n,s):o===d.ORG?i.includes(a):!1:!1}function $d(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Ld.includes(o)&&!n.includes(S)}))}var Vd=Object.freeze(["owner","admin","member"]);function Hg(e,t={}){let{access:r,groups:s,orgs:a}=e;return E(t,e.orgId)?!0:jd(t,{access:r,groups:s,orgs:a})}function jd(e,t){let{username:r,groups:s,orgId:a}=e,{access:o,groups:n,orgs:i}=t;return r?o===d.PUBLIC?!0:o===d.PRIVATE?kd(n,s):o===d.ORG?i.includes(a):!1:!1}function kd(e=[],t=[]){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o},typeKeywords:n}=s;return r===a&&Vd.includes(o)&&!n.includes(S)}))}function Gg(e,t={}){return E(t,e.orgId)?!0:e.allowReply?new Q(e).canPostToChannel(t):!1}function Lg(e,t,r={}){return Bd(e,r)||zd(t,r)}function Bd(e,t){return!!t.username&&e.creator===t.username}function zd(e,t){return E(t,e.orgId)?!0:e.channelAcl?new Q(e).canModerateChannel(t):!1}function Fg(e,t={},r){return Yd(e,t,r)}function Yd(e,t={},r){let{access:s,groups:a,orgs:o,allowAnonymous:n}=r;return Kd(e,t)&&Wd(t,{access:s,groups:a,orgs:o,allowAnonymous:n})}function Kd(e,t){return!!t.username&&e.creator===t.username}function Wd(e,t){let{groups:r=[],orgId:s}=e,{access:a,groups:o=[],orgs:n=[]}=t;return a===d.PUBLIC?!0:a===d.ORG?Ot(o,r)||n.includes(s):Ot(o,r)}function Ot(e,t){return e.some(r=>t.some(s=>{let{id:a,typeKeywords:o=[]}=s;return r===a&&!o.includes(S)}))}var qd=Object.freeze(["owner","admin"]);function $g(e,t={}){return Qd(e,t)}function Qd(e,t={}){return E(t,e.orgId)?!0:Jd(t,e)}function Jd(e,t){let{username:r,groups:s=[]}=e,{access:a,groups:o=[],orgs:n=[],creator:i}=t;return r?i===r?!0:a===d.PRIVATE?_t(o,s):_t(o,s)||Xd(n,e):!1}function _t(e,t){return e.some(r=>t.some(s=>{let{id:a,userMembership:{memberType:o}}=s;return r===a&&qd.includes(o)}))}function Xd(e,t){return N(t)&&e.includes(t.orgId)}function Vg(e,t,r={}){return Zd(e,t)?Lt(e,r):!1}function Zd(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function jg(e,t,r={}){return ep(e,t)?Me(e,r):!1}function ep(e,t){let{allowReaction:r,allowedReactions:s}=e;return r?s?s.includes(t):!0:!1}function tp(e){let{autoAddResult:t,inviteResult:r,primaryEmailResult:s,secondaryEmailResult:a}=e,o;if(s||a){let i=[s,a].filter(u=>u),c=i.every(u=>u.success),l=i.reduce((u,p)=>u.concat(y(p,"errors",[])),[]);o={success:c},l.length&&(o.errors=l)}return{success:[t,r,o].filter(i=>i).every(i=>i.success),autoAdd:t,invite:r,email:o}}function rp(e,t){if(e){let r=!m(e,"notAdded.length")&&!e.errors;if(t.autoAddResult={success:r},!r){let s=e.errors||[];m(e,"notAdded.length")&&s.push(new ze(`Users not auto-added: ${e.notAdded.join(", ")}`)),t.autoAddResult.errors=s;let a=t.usersToAutoAdd.filter(o=>P(e.notAdded,o.username));t.usersToInvite=t.usersToInvite.concat(a)}}return t}function sp(e){return De(m(e,"groupId"),m(e,"usersToAutoAdd"),m(e,"primaryRO.authentication")).then(t=>rp(t,e))}function ap(e){return Ne(m(e,"groupId"),m(e,"usersToInvite"),m(e,"primaryRO.authentication")).then(t=>(e.inviteResult=t,e))}function Ft(e){return e.role==="org_admin"&&!e.roleId}function $t(e,t,r,s){let a=Promise.resolve(null);if(e.length){let o={authentication:r,message:t.body,subject:t.subject,notificationChannelType:"email",users:e.map(n=>n.username)};s||(o.batchSize=1),a=Et(o)}return a}function op(e){let t=Promise.resolve(e);return e.email&&m(e,"inviteResult.success")&&(t=$t(e.usersToEmail,e.email,e.primaryRO.authentication,Ft(e.requestingUser)).then(r=>(e.primaryEmailResult=r,e))),t}function Vt(e,t){return e.orgId===t.orgId}function np(e){let t=Promise.resolve(e);if(e.email&&e.secondaryRO&&m(e,"inviteResult.success")){let r=y(e,"secondaryRO.portalSelf.user",{}),s=e.usersToInvite.filter(a=>Vt(a,r));t=$t(s,e.email,e.secondaryRO.authentication,Ft(r)).then(a=>(e.secondaryEmailResult=a,e))}return t}function jt(e,t){let r=[];if(t.privileges.indexOf("portal:admin:assignToGroups")!==-1){let s=[t.orgId,t.cOrgId].filter(a=>a);r=e.filter(a=>s.indexOf(a.orgId)!==-1)}return r}function kt(e,t){let r=jt(e,t);return e.filter(s=>!r.some(a=>a.username===s.username))}function ip(e,t,r=!1){let a=kt(e,t).filter(o=>Vt(o,t));return r&&a.push(t),a}function kg(e,t,r,s,a){let o=f(y(r,"portalSelf.user",{}));o.cOrgId=m(r,"portalSelf.portalProperties.hub.settings.communityOrg.orgId");let n={groupId:e,allUsers:t,primaryRO:r,email:s,secondaryRO:a,requestingUser:o,usersToAutoAdd:jt(t,o),usersToInvite:kt(t,o),usersToEmail:ip(t,o,m(s,"copyMe"))};return sp(n).then(ap).then(op).then(np).then(tp)}function Bg(e){let t=T(lt,{success:!0}),r=T(mt,{success:!0});return t(e).then(()=>r(e))}var xt=["ar","bs","ca","cs","da","de","en","es","et","el","fi","fr","hr","he","hu","it","id","ja","ko","lt","lv","nb","nl","pl","pt","pt-br","pt-pt","ro","ru","sl","sr","sv","th","tr","uk","vi","zh","zh-cn","zh-tw","zh-hk"];function zg(e="en"){let t="en";if(e=e.toLowerCase(),xt.indexOf(e)>-1)t=e;else{let r=e.split("-");r.length>1&&xt.indexOf(r[0])>-1&&(t=r[0])}return t}var Rt={devext:"https://hubdevcdn.arcgis.com",qaext:"https://hubqacdn.arcgis.com",www:"https://hubcdn.arcgis.com"};function cp(e){if(e.isPortal)return`${$(e)}${re}`;{let t=e.portalHostname.split(".")[0];return`${Rt[t]||Rt.www}/opendata-ui/assets`}}function Yg(e,t,r="cors"){let a=`${cp(t)}/locales/${e}.json`.toLocaleLowerCase();return fetch(a,{method:"GET",credentials:"same-origin",mode:r}).then(n=>n.json()).catch(n=>{throw Error(`Attempt to fetch locale ${e} from ${a} failed: ${JSON.stringify(n)}`)})}function Kg(e){return m(e,"portalSelf.user.culture")||m(e,"portalSelf.culture")||"en-us"}function Wg(e){let t=T(He,{success:!0}),r=T(ct,{success:!0});return t(e).then(()=>r(e))}function qg(e,t){return e.map(r=>(r.properties||(r.properties={}),Object.assign(r.properties,t),r))}function up(e,t,r){let s=Object.keys(t).map(o=>`${o}:"${t[o]}"`).join(" AND "),a={q:`title:"${e}" AND ${s}`,authentication:r};return nt(a).then(o=>o.results.length>0).catch(o=>{throw Error(`Error in doesItemExistWithTitle ${o}`)})}function lp(e){let t=f(e.item);return t.text=JSON.stringify(e.data),t}function Qg(e,t){let r=T(Y,{id:e.item.id,success:!0}),s=Object.assign({item:lp(e)},t);return r(s)}var mp=100;function Jg(e,t,r=-1,s){let a=t.num||mp,o=t.start||1;return(r===-1?e(Object.assign(Object.assign({},t),{num:a,start:o})):Promise.resolve({nextStart:o,total:r,results:[],num:a})).then(i=>{if(i.nextStart===-1)return[i];let c=[];for(let u=i.nextStart;u<=i.total;u+=a)c.push(u);return Ue(c,u=>e(Object.assign(Object.assign({},t),{start:u,num:a})),s).then(u=>[i,...u])}).then(i=>{let c=i.reduce((u,p)=>[...u,...p.results],[]),l=r===-1?c.length:r;return c.slice(0,l)})}function Xg(e,t){let r=`${e}Model`,s=`${e}Id`;if(t[r])return Promise.resolve(t[r]);if(t[s])return T(me,{item:{id:t[s]},isMissing:!0})(t[s],t);throw new Error(`getModelFromOptions requires either a .${r} or .${s} property.`)}function dp(e,t,r,s=0){let a=e;return s&&(a=`${e} ${s}`),up(a,t,r).then(o=>o?(s++,dp(e,t,r,s)):a).catch(o=>{throw Error(`Error in getUniqueItemTitle ${o}`)})}function Zg(e){let t={item:{id:e.item.id},appid:e.item.id};return Ge(e,t,{toISO(s,a){return a}})}var pp=["id","isOrgItem","proxyFilter","ownerFolder","protected","owner","created","modified","guid","name","access","size","listed","numComments","numRatings","avgRating","numViews","scoreCompleteness","groupDesignations","listed","screenshots","banner","appCategories","industries","languages","largeThumbnail"];function eh(e){let t=f(e);return pp.forEach(r=>{delete t[r]}),t.extent="{{organization.defaultExtentBBox}}",t}function th(e,t,r){let s=`${A(r)}/oauth2/registerApp`,a={method:"POST",authentication:r.authentication,params:{itemId:e,appType:"browser",redirect_uris:JSON.stringify(t)}};return We(s,a)}function fp(e,t,r){return he(e,function(a){if(!ye(a))return a;let o;return W(t)?o=t:o=new RegExp(t,"g"),a.replace(o,r)})}function rh(e,t,r="{{appid}}"){let s=f(e),a=new RegExp(t,"g");return fp(s,a,r)}function sh(e,t){if(e.item.protected){let r=Object.assign({id:e.item.id},t);return He(r)}else return Promise.resolve({success:!0})}function ah(e,t,r){let s=e.map(o=>o.attributes[t]),a=null;switch(r){case"sum":a=s.reduce((o,n)=>o+n,0);break;case"count":a=s.length;break;case"avg":a=s.reduce((o,n)=>o+n,0)/s.length;break;case"min":a=s.reduce((o,n)=>Math.min(o,n),Number.MAX_VALUE);break;case"max":a=s.reduce((o,n)=>Math.max(o,n),Number.MIN_VALUE);break;case"countByValue":a=s.reduce((o,n)=>(o[n]?o[n]+=1:o[n]=1,o),{});break}return a}async function oh(e,t,r){return Object.entries(t).reduce(async(s,[a,o])=>{let i=await T(at,null)(e.id,Object.assign({fileName:o,readAs:o.split(".").pop()},r));return i&&(s[a]=i),s},{})}function nh(e,t){return Ae(e,t).then(r=>{let s=[Promise.resolve(r)];return r?s.push(rt(r.id,t)):s.push(Promise.resolve(null)),Promise.all(s)}).then(r=>r[0]?{item:r[0],data:r[1]}:null)}async function ih(e,t,r){let s=[];return t.forEach(a=>{s.push(xe(e.item.id,e.item.owner,a.resource,a.filename,r))}),Promise.all(s).then(()=>{let a=t.reduce((o,n)=>{let i=n.filename.split(".").shift();return o[i]=n.resource,o},{});return Object.assign({resources:a},e)})}function gp(e){let{token:t,authentication:r}=e;return r?r.getToken(r.portal):Promise.resolve(t)}async function hp(e,t){let{url:r,method:s,data:a}=e,{mode:o,cache:n,credentials:i}=t,{headers:c,params:l}=bp(e,t),p=`${yp(t.hubApiUrl)}${r}?${new URLSearchParams(l)}`,h={headers:c,method:s,cache:n,credentials:i,mode:o};a&&(h.body=JSON.stringify(a));let b=await fetch(p,h),{statusText:v,status:U}=b;if(b.ok)return b.json();let O=await b.json();throw new Ve(v,p,U,JSON.stringify(O.message))}function yp(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function bp(e,t){let r=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&r.set("Authorization",t.token);let s=Object.assign(Object.assign({},e.params),t.params);return{headers:r,params:s}}var Ve=class extends Error{constructor(t,r,s,a){super(t),this.status=s,this.url=r,this.error=a}},wt;(function(e){e.EMAIL="EMAIL"})(wt||(wt={}));var Mt;(function(e){e.TELEMETRY_REPORT="TELEMETRY_REPORT",e.EVENT="EVENT",e.DISCUSSION_ON_ENTITY="DISCUSSION_ON_ENTITY"})(Mt||(Mt={}));var Dt;(function(e){e.DISCUSSION="DISCUSSION"})(Dt||(Dt={}));var Nt;(function(e){e.ON_EVENT="ON_EVENT",e.DAILY="DAILY",e.WEEKLY="WEEKLY",e.MONTHLY="MONTHLY"})(Nt||(Nt={}));var Ht;(function(e){e.DISCUSSION_POST_PENDING="DISCUSSION_POST_PENDING"})(Ht||(Ht={}));var Tp=(e,t)=>hp({url:"/api/newsletters-scheduler/v1/subscriptions/notify",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);async function ch(e){return e.token=await gp(e),Tp(e.data,e)}async function uh(e){return e.token=await H(e),ht(e.data,e)}async function lh(e){return e.token=await H(e),yt(e.userId,e)}async function mh(e){return e.token=await H(e),bt(e.userId,e.data,e)}async function dh(e){return e.token=await H(e),Tt(e.userId,e)}function Gt(e,t){if(!D(e,t))return Array.isArray(e)?e.reduce((r,s)=>{if(Le(s)){let a=Gt(s,t);a!==void 0&&(r=[...r,a])}else s!==t&&(r=[...r,s]);return r},[]):M(e)?Object.keys(e).reduce((r,s)=>{if(Le(e[s])&&!D(e[s],t)){let a=Gt(e[s],t);r[s]=a}else D(e[s],t)||(r=Object.assign(Object.assign({},r),{[s]:e[s]}));return r},{}):e}function ph(e,t){return se(e,t)}function fh(e,t){return t.reduce((r,s)=>{let a=m(e,s);return a&&r.push(a),r},[])}function $e(e,t){let r=Object.keys(e);return t=t||f(e),r.reduce(function(a,o){if(Array.isArray(e[o]))a[o]=e[o].map(n=>$e(n,t));else if(e[o]&&M(e[o])&&!be(e[o])&&!W(e[o])&&!Te(e[o]))if(e[o]&&e[o].$use){let n=m(t,e[o].$use);M(n)?a[o]=$e(n,t):a[o]=n}else a[o]=$e(e[o],t);else a[o]=e[o];return a},{})}function Ep(e,t){let r=e;return e.indexOf("token")===-1&&e.indexOf(t.authentication.portal)>-1&&(r=`${e}?token=${t.authentication.token}`),r}function gh(e,t){let r=e.assets||e.resources||[];if(e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=r.map(n=>({name:n.name,type:n.type||"resource",url:`${a}/resources/${o}-${n.name}`}))}return r}function hh(e,t){let r=[];if(e.resources&&e.bundleItemId){let a=`${A(t.portalSelf)}/content/items/${e.bundleItemId}`,o=e.itemId;r=e.resources.map(n=>({name:n,type:"resource",url:`${a}/resources/${o}-${n}`}))}return r}async function Bt(e,t={}){t.credentials||(t.credentials="same-origin");return Ke(e)&&await Ye(e),fetch(e,t).then(r=>r.blob())}function Sp(e){return Bt(e.url).then(t=>gt({id:e.id,owner:e.owner,name:e.fileName,resource:t,authentication:e.authentication}))}function Ip(e){return Bt(e.url).then(t=>Y({item:{id:e.id,owner:e.owner},params:{fileName:e.fileName,thumbnail:t},authentication:e.authentication}).catch(r=>Promise.resolve())).catch(t=>Promise.resolve())}function yh(e,t){let s=`${A(t.portalSelf)}/content/items/${e.id}`,a=ie(e,t),o=[];return a&&o.push({name:e.thumbnail,url:a,type:"thumbnail"}),st(e.id,t).then(n=>{let i=n.resources.map(c=>({name:c.resource,type:"resource",url:`${s}/resources/${c.resource}`}));return o.concat(i)})}function bh(e,t,r){if(Array.isArray(t)){let s=t.reduce((a,o)=>{if(o.url){let n={id:e.item.id,owner:e.item.owner,fileName:o.name,url:Ep(o.url,r),authentication:r.authentication};o.type==="thumbnail"?a.push(Ip(n)):a.push(Sp(n))}return a},[]);return Promise.all(s)}else return Promise.resolve([])}function Cp(e,t,r){throw new Error("Not implemented")}function Ap(e,t,r){throw new Error("Not implemented")}async function Pp(e,t,r){let s=Object.keys(e)[0],a=e[s],o={predicate:f(e),matched:!0,reasons:[]},n={};if(s==="group"){let c=await ot(t.id,r);n.groups=[...y(c,"admin",[]),...y(c,"member",[]),...y(c,"other",[])].map(l=>({id:l.id,title:l.title})),t.group=n.groups.map(l=>l.id)}let i=m(t,s);if(i){let c={any:vp,all:Up,not:Op};Object.keys(c).forEach(l=>{let u=m(a,l);if(u){let h=m(c,l)(s,u,i);h.meta=n,o.reasons.push(h)}}),o.matched=o.reasons.every(l=>l.matched)}else o.matched=!1,o.reasons.push({attribute:s,matched:!1,message:`Property ${s} not present on search result, cannot provide explanation`});return Promise.resolve(o)}function vp(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"IN",matched:!1,requirement:g(t).join(","),message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length>0,s.matched?s.message=`Value(s) ${s.values} contained at least one of value from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain any of value from [${s.requirement}]`,s}function Up(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"ALL",requirement:g(t).join(","),matched:!1,message:"No match"},{options:a,matches:o}=ke(g(t),g(r));return s.matched=o.length===a.length,s.matched?s.message=`Value(s) ${s.values} contained all values from [${s.requirement}]`:s.message=`Value(s) ${s.values} did not contain all values from [${s.requirement}]`,s}function Op(e,t,r){let s={attribute:e,values:g(r).join(","),condition:"NOT_IN",requirement:g(t).join(","),matched:!1,message:"No match"},{matches:a}=ke(g(t),g(r));return s.matched=a.length===0,s.matched?s.message=`Value(s) ${s.values} is not contained in [${s.requirement}]`:s.message=`Value(s) ${s.values} is contained in [${s.requirement}]`,s}function g(e){return Array.isArray(e)?e:[e]}function ke(e,t){let r={options:e,values:t,matches:[]};return r.matches=e.reduce((s,a)=>(t.includes(a)&&s.push(a),s),[]),r}async function _p(e,t,r){let s=Object.keys(e)[0],a=Pp;return et.includes(s)&&(Ze.includes(s)?a=Cp:a=Ap),a(e,t,r)}async function xp(e,t,r){let s={filter:f(e),matched:!1,reasons:[]};for(let a of e.predicates){let o=await _p(a,t,r);s.reasons.push(o)}return e.operation==="OR"?s.matched=s.reasons.some(a=>a.matched):s.matched=s.reasons.every(a=>a.matched),s}async function Th(e,t,r){if(t.targetEntity!=="item")throw new Error('explainQueryResult: Only queries with targetEntity: "item" are supported');let s=j(t),a=[];for(let c of s.filters){let l=await xp(c,e,r);a.push(l)}let o=a.reduce((c,l)=>(l.matched||(c=!1),c),!0),n=[];return a.forEach(c=>{c.reasons.forEach(l=>{l.reasons.forEach(u=>{n.push(u)})})}),{result:f(e),query:f(t),matched:o,reasons:a,summary:n}}async function Eh(e,t,r,s){let a=y(e,"catalogs",[]);return Fe(a,t,r,s)}function Sh(e,t){let s=le(e).scopes[t];if(!s)throw new Error(`No query found for scope: ${t}`);let a=j(s);return Pe(a)}function Ih(e,t){if(t.isPortal)return Promise.resolve([]);let r=`${R(t.hubApiUrl)}?siteId=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(K).catch(a=>{throw Error(`Error in getDomainsForSite ${a.toString()}`)})}function Ch(e){return!ne(e.siteId)}function Ah(e,t,r){return pe(e,r).then(s=>s.siteId!==t).catch(()=>!1)}function Ph(e,t){if(t.isPortal)throw new Error("isValidDomain is not available in ArcGIS Enterprise.");let r=`${R(t.hubApiUrl)}/validate?hostname=${e}`,s=w(t);return fetch(r,{method:"GET",headers:s,mode:"cors"}).then(a=>a.json()).catch(a=>({success:!1,input:e,error:{code:400,detail:a,message:"lookupFailed"}}))}function vh(e,t){if(t.isPortal)throw new Error("updateDomain is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let r=w(t);r["Content-Type"]="application/json";let s=`${R(t.hubApiUrl)}/${e.id}`,a=e.siteTitle;return typeof a=="number"&&(e.siteTitle=a.toString()),e.clientKey&&(e.clientKey=""),fetch(s,{method:"PUT",headers:r,mode:"cors",body:JSON.stringify(e)}).then(K)}function Uh(e,t){return ve(e,{},t)}function Oh(e,t,r){if(t==="dcat-us")return wp(e,r);if(t==="dcat-ap")return Rp(e,r);if(t==="rss")return Mp(e,r);throw new Error("Unsupported feed format")}function _h(e,t,r,s){if(t==="dcat-us"){Np(e,r,s);return}if(t==="dcat-ap"){Dp(e,r,s);return}if(t==="rss"){Hp(e,r,s);return}throw new Error("Unsupported feed format")}function Rp(e,t){if(I(t)==="2")return e.data.feeds.dcatAP2XX||e.data.feeds.dcatAP201;throw new Error("Unsupported DCAT AP version")}function wp(e,t){if(I(t)==="1")return e.data.feeds.dcatUS1X||e.data.feeds.dcatUS11;throw new Error("Unsupported DCAT US version")}function Mp(e,t){if(I(t)==="2")return e.data.feeds.rss2;throw new Error("Unsupported RSS version")}function Dp(e,t,r){if(I(t)==="2"){e.data.feeds.dcatAP2XX=r;return}throw new Error("Unsupported DCAT AP Version")}function Np(e,t,r){if(I(t)==="1"){e.data.feeds.dcatUS1X=r;return}throw new Error("Unsupported DCAT US Version")}function Hp(e,t,r){if(I(t)==="2"){e.data.feeds.rss2=r;return}throw new Error("Unsupported RSS Version")}var Gp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Service",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function xh(e,t){return`${t.survey123Url}/share/${e}?portalUrl=${encodeURIComponent(t.portalUrl)}`}var Lp=(e,t)=>k(Object.assign({id:e,relationshipType:"Service2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s}),Fp=(e,t)=>k(Object.assign({id:e,relationshipType:"Survey2Data",direction:"forward"},t)).then(({relatedItems:[r]})=>{let s;return r&&(s={item:r}),s});function $p(e){let t=s=>e.typeKeywords.indexOf(s)>-1,r=t("FieldworkerView");return r||(r=["Survey123","Feature Service","View Service"].every(t)&&!t("StakeholderView")),r}var Rh=(e,t)=>{let r,s;return(typeof e=="string"?tt(e,t):Promise.resolve(e)).then(o=>{let n=[Gp(o.id,t),Fp(o.id,t)];return Promise.all(n).then(([i,c])=>(s=c,i&&$p(i.item)?(r=i,Lp(r.item.id,t)):i)).then(i=>({form:{item:o},featureService:i,fieldworker:r,stakeholder:s}))})};function wh(e){return e.typeKeywords.indexOf("Draft")>-1}var Mh=(e,t,r)=>{let{actionLinks:s=[],baseUrl:a="",locale:o="en-US",target:n="self"}=r||{},i=Re(e,t,n,a);return Object.assign(Object.assign(Object.assign({},zt(e,o)),{actionLinks:s,titleUrl:i}),e.thumbnailUrl&&{thumbnailUrl:e.thumbnailUrl})},Dh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",locale:a="en-US",target:o="self"}=t||{},n=J(e,o,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},zt(e,a)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:n}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},zt=(e,t)=>{var r,s;let a=[{i18nKey:"type",value:e.type},{i18nKey:"dateUpdated",value:e.updatedDate.toLocaleDateString(t)},...!((r=e.tags)===null||r===void 0)&&r.length?[{i18nKey:"tags",value:e.tags.join(", ")}]:[],...!((s=e.categories)===null||s===void 0)&&s.length?[{i18nKey:"categories",value:Xe(e.categories).join(", ")}]:[],{i18nKey:"dateCreated",value:e.createdDate.toLocaleDateString(t)}];return{access:e.access,badges:[],id:e.id,family:V(e.type),source:e.owner,summary:e.summary,title:e.name,type:e.type,additionalInfo:a}};function Nh(e){if(!e)return[];let t=e.replace(/^http(s?):\/\//,"");return[`http://${t}`,`https://${t}`]}function Hh(){if(window)return window.location}function Gh(e){let t=e.match(/((((ftp|https?):\/\/)|(w{3}\.))[-\w@:%_+.~#?,&//=]+)/g);return t&&t.forEach(function(r){e=e.replace(r,'<a target="_blank" href="'+r+'">'+r+"</a>")}),e.replace("(","<br/>(")}function Lh(e){let{portal:t}=e,r=q(e,["portal"]),s=$(t),a=oe(s),o=new URL(`${a}/c`),n=L.btoa(JSON.stringify(r));return o.searchParams.set("d",n),o.toString()}function Vp(e){if(e.isPortal)throw new Error("Hub Url is not available in ArcGIS Enterprise");return oe(e.portalHostname)}function Fh(e){return`${Vp(e)}/api/v3`}var jp=new RegExp("^https?:\\/\\/([a-z0-9-]+\\.)*(arcgis|esri)\\.com"),kp=new RegExp("^https?:$");async function $h(e){let{url:t}=e,r=q(e,["url"]),s;try{if(s=jp.test(t),!s){let{protocol:a,hostname:o}=new URL(t);if(!kp.test(a))throw new Error("invalid protocol");s=await fe(o,r)}}catch{s=!1}return s}function Vh(e){return e.indexOf("http")===-1?`https://${e}`:e.indexOf("http://")!==-1?e.replace(/^http:/i,"https:"):e}var jh=(e,t)=>{let{actionLinks:r=[],baseUrl:s="",target:a="self"}=t||{},o=J(e,a,s);return Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},Bp(e)),{actionLinks:r}),!isNaN(e.index)&&{index:e.index}),{titleUrl:o}),e.links.thumbnail&&{thumbnailUrl:e.links.thumbnail})},Bp=e=>{let t=[],r=e.memberType;return r&&(e.isGroupOwner?t.push({icon:"user-key",color:"gray",i18nKey:"badges.members.owner",hideLabel:!0,tooltip:{i18nKey:"badges.members.owner"}}):r==="admin"?t.push({icon:"user-up",color:"gray",i18nKey:"badges.members.admin",hideLabel:!0,tooltip:{i18nKey:"badges.members.admin"}}):t.push({icon:"user",color:"gray",i18nKey:"badges.members.member",hideLabel:!0,tooltip:{i18nKey:"badges.members.member"}})),{access:e.access,badges:t,family:e.family,id:e.id,source:e.name?`@${e.id}`:void 0,summary:e.summary,title:e.name||`@${e.id}`,type:e.type}};function kh(e,t){let r=!1,s=0,a=t;for(;!r;)P(e,a)?(s++,a=`${t}-${s}`):r=!0;return a}function Bh(e){let r=m(e,"portalProperties.hub.enabled")||!1?"premium":"basic";return e.isPortal&&e.portalMode==="singletenant"&&(r="portal"),r}var zh=e=>y(e,"subscriptionInfo.type","Enterprise");function Yh(e){let t=/-\s(\d+$)/.exec(e);if(t){let r=parseInt(t[1],10),s=r+1;e=e.replace(`- ${r}`,`- ${s}`)}else e=e+" - 1";return e}var zp=e=>e.reduce((t,r)=>t+=`_${typeof r=="object"?JSON.stringify(e):String(r)}_`,""),G={},Kh=e=>{if(!G[`_${e.name}`]){let t={},r=(...s)=>{let a=zp(s);if(t[a])return t[a];let o=e.call(void 0,...s);return t[a]=o,o};G[`_${e.name}`]=r}return G[`_${e.name}`]},Wh=e=>{if(e)delete G[`_${e}`];else{G={};return}};function qh(e){let t=e;return t=t.replace(/^[0-9]*/g,""),t=t.replace(/[^\w\s]/g,""),t=F(t),t}var Qh=(e,t)=>e().then(r=>({status:"fullfilled",results:r,revert:t})).catch(r=>({status:"rejected",error:r})),Jh=e=>Promise.all(e).then(t=>{let r=n=>n.status==="fullfilled",s=t.filter(r),a=t.filter(n=>!r(n));if(a.length){let n=s.map(i=>i.revert());throw Promise.all(n).catch(()=>{}),a[0].error}return s.map(n=>n.results)});function Xh(e,t,r){return r.filter(s=>s[e]!==t)}var Zh=["arcgis-layout-section","arcgis-layout-row","arcgis-layout-column","calcite-button","calcite-chip","calcite-avatar","arcgis-text-card","arcgis-hub-gallery-card","arcgis-hub-image","arcgis-hub-embed-card","arcgis-nav-card","arcgis-hub-timeline","arcgis-hub-entity-metadata","arcgis-hub-catalog","arcgis-hub-map-view","arcgis-hub-entity-metrics-card","arcgis-hub-entity-associations-card","arcgis-hub-entity-status-card","arcgis-hub-entity-metrics-view","arcgis-hub-project-initiatives-view","arcgis-hub-entity-hero","div"],ey=L.atob,ty=L.btoa;export{Is as ALPHA_ORGS,tu as ASSOCIATION_REFERENCE_LIMIT,ga as AclCategory,ha as AclSubCategory,ps as ArcGISContext,Ts as ArcGISContextManager,$l as ArcgisHubDownloadError,Vl as ArcgisHubDownloadFileTooLargeError,S as CANNOT_DISCUSS,em as CARD_TITLE_TAGS,_a as CATALOG_SCHEMA_VERSION,bu as CATALOG_SETUP_TYPES,Mc as COLLABORATION_TYPES,mu as Catalog,nm as CatalogSchema,Hn as ChannelFilter,Gn as ChannelRelation,Ln as ChannelSort,lu as Collection,om as CollectionSchema,It as CommonSort,po as DEFAULT_THEME,Uu as DISCUSSION_SETTINGS_SCHEMA,Rm as DeliveryMethod,Ct as DiscussionSource,Im as DiscussionType,Ll as DownloadOperationStatus,ds as ENTERPRISE_HOME_SUBDOMAIN,re as ENTERPRISE_SITES_PATH,Ss as ENTERPRISE_SITES_SERVICE_STATUS,Su as ENTERPRISE_SITE_ENTITY_NAME_SCHEMA,So as ENTERPRISE_SITE_ITEM_TYPE,Cu as ENTITY_ACCESS_SCHEMA,Nu as ENTITY_CATALOG_SETUP_SCHEMA,Pu as ENTITY_CATEGORIES_SCHEMA,Ou as ENTITY_FEATURED_CONTENT_SCHEMA,Ru as ENTITY_IMAGE_SCHEMA,vu as ENTITY_IS_DISCUSSABLE_SCHEMA,Hu as ENTITY_LAYOUT_SETUP_SCHEMA,_u as ENTITY_LOCATION_SCHEMA,xu as ENTITY_MAP_SCHEMA,Tu as ENTITY_NAME_SCHEMA,Iu as ENTITY_SUMMARY_SCHEMA,Au as ENTITY_TAGS_SCHEMA,wu as ENTITY_TIMELINE_SCHEMA,Tm as EmbedKind,Dl as EntityEditor,La as EntityResourceMap,Gi as EntitySettingType,pu as ExpressionRelationships,Kl as FeatureLayerStyle,_s as FileExtension,sm as FilterSchema,Cr as GLOBAL_EXTENT,tm as GalleryDisplayConfigSchema,Rr as GeoJSONPolygonToBBox,Rt as HUB_CDN_URLMAP,Ra as HUB_ENTITY_TYPES,xa as HUB_ITEM_ENTITY_TYPES,xt as HUB_LOCALES,Es as HUB_SERVICE_STATUS,Eo as HUB_SITE_ITEM_TYPE,El as HubChannel,Sl as HubContent,Il as HubDiscussion,Xo as HubEntityHero,Zo as HubEntityStatus,Ys as HubError,_l as HubEvent,nc as HubEventAttendanceType,ic as HubEventCapacityType,Rs as HubFamilies,Xu as HubGroup,Pl as HubInitiative,wl as HubInitiativeTemplate,Ju as HubPage,Zr as HubPermissionsPolicies,Ol as HubProject,gl as HubSite,Ml as HubTemplate,xs as ItemType,St as JobRecordStatus,kl as JobRecordType,Xr as Logger,Em as MAX_ENTITY_METRICS_ALLOWED,Sm as MAX_FEATURED_METRICS_ALLOWED,fa as MENTION_ATTRIBUTE,fu as MetricVisibility,wm as NewsletterCadence,zs as OperationError,ca as OperationStack,Fl as PORTAL_EXPORT_TYPES,Mu as PRIVACY_CONFIG_SCHEMA,Cm as PostReaction,mi as PostRelation,li as PostSort,ci as PostStatus,ui as PostType,rm as PredicateSchema,Os as PublisherSource,am as QuerySchema,Sd as REQUIRED_PRIVS,At as ReactionRelation,ko as RemoteServerError,Ic as Role,Eu as SITE_ENTITY_NAME_SCHEMA,Ba as SITE_SCHEMA_VERSION,Du as SLUG_SCHEMA,Ks as STANDARD_LICENSES,Nt as SchedulerCadence,wt as SchedulerDeliveryMethod,Ht as SchedulerSubscriptionAction,Mt as SchedulerSystemNotificationSpecNames,vn as SearchPostsFormat,Ho as ServiceCapabilities,$o as ServiceDownloadFormat,d as SharingAccess,Fn as SortOrder,Mm as SubscriptionAction,Dt as SubscriptionEntityType,Dm as SystemNotificationSpecNames,Wl as TIMELINE_STAGE_STATUSES,hm as UiSchemaElementTypes,$u as UiSchemaMessageTypes,Bs as UiSchemaRuleEffects,gm as UiSchemaSectionTypes,Xs as UpdateFrequency,$c as WELL_KNOWN_EVENT_CATALOGS,Fc as WELL_KNOWN_GROUP_CATALOGS,Lc as WELL_KNOWN_ITEM_CATALOGS,Bm as WGS84_WKID,Ep as _addTokenToResourceUrl,Vt as _canEmailUser,K as _checkStatusAndParseJson,tp as _consolidateResults,he as _deepMapValues,uo as _ensureSafeDomainLength,za as _ensureTelemetry,rp as _formatAutoAddResponse,w as _getAuthHeader,jt as _getAutoAddUsers,R as _getDomainServiceUrl,ip as _getEmailUsers,Nh as _getHttpAndHttpsUris,kt as _getInviteUsers,Hh as _getLocation,be as _isDate,Te as _isFunction,M as _isObject,Ft as _isOrgAdmin,W as _isRegExp,ye as _isString,ka as _lookupPortal,No as _mapValues,Ka as _migrateEventListCardConfigs,Ya as _migrateFeedConfig,Ja as _migrateLinkUnderlinesCapability,Wa as _migrateTelemetryConfig,to as _migrateToV2Catalog,sp as _processAutoAdd,ap as _processInvite,op as _processPrimaryEmail,np as _processSecondaryEmail,Bg as _unprotectAndRemoveGroup,Wg as _unprotectAndRemoveItem,ft as acceptAssociation,Yo as addContextToSlug,ws as addCreateItemTypes,Yr as addDays,Vs as addDefaultItemSearchPredicates,go as addDomain,Qm as addGroupMembers,as as addHistoryEntry,ou as addPermissionPolicy,ho as addSiteDomains,gh as addSolutionResourceUrlToAssets,kg as addUsersToGroup,ah as aggregateMetrics,xr as allCoordinatesPossiblyWGS84,qg as applyPropertiesToItems,ml as applyVersion,Dr as arrayToObject,nl as asyncForEach,ey as atob,De as autoAddUsers,Tr as bBoxToExtent,Mr as base64ToUnicode,Ue as batch,Er as bboxToString,Wc as breakAssociation,ty as btoa,Uh as buildDraft,Ym as buildExistingExportsPortalQuery,jo as buildUrl,hu as buildWhereClause,Fu as cacheBustUrl,F as camelize,Og as canCreateChannel,_g as canCreateChannelV2,Ng as canCreatePost,$m as canCreatePostV2,Vg as canCreateReaction,jg as canCreateReactionV2,Hg as canCreateReply,Gg as canCreateReplyV2,xg as canDeleteChannel,Nc as canDeleteChannelV2,Lg as canDeletePost,Om as canDeletePostV2,Rg as canEditChannel,Dc as canEditChannelV2,hg as canEditEvent,z as canEditItem,Yd as canEditPost,Qd as canEditPostStatus,_m as canEditPostStatusV2,jm as canEditPostV2,yg as canEditSite,bg as canEditSiteContent,wg as canModifyChannel,Fg as canModifyPost,$g as canModifyPostStatus,Mg as canPostToChannel,Lt as canReadChannel,Me as canReadChannelV2,Dg as canReadFromChannel,Lo as canUseCreateReplica,Nl as canUseHubDownloadApi,Fo as canUseHubDownloadSystem,Vm as cannotCreatePostGroupsBlockedV2,qr as capitalize,cu as catalogContains,ce as categories,va as channelToSearchResult,dl as checkForStaleVersion,ss as checkPermission,Kr as chunkArray,Wh as clearMemoizedCache,f as cloneObject,Ko as combineQueries,Ha as commitItemUpload,Ga as compareAccess,Gr as compose,B as composeContent,Tg as composeHubContent,Wo as constructSlug,Sc as convertClientEventToHubEvent,_c as convertItemToContent,Uc as convertItemToDiscussion,on as convertItemToInitiative,Rc as convertItemToInitiativeTemplate,fn as convertItemToPage,Cn as convertItemToProject,Uo as convertItemToSite,bn as convertItemToTemplate,pn as convertModelToPage,vo as convertModelToSite,hh as convertSolutionTemplateResourcesToAssets,zg as convertToWellKnownLocale,Gh as convertUrlsToAnchorTags,wn as convertUserToHubUser,jn as createChannel,Kn as createChannelNotificationOptOut,ti as createChannelNotificationOptOutV2,Qn as createChannelV2,ki as createContent,Ki as createDiscussion,Sr as createExtent,yl as createHubChannel,mc as createHubEvent,fc as createHubEventRegistration,Fi as createHubGroup,Lr as createId,tn as createInitiative,Zi as createInitiativeTemplate,Na as createItem,Jm as createItemFromFile,Xm as createItemFromUrl,Zm as createItemFromUrlOrFile,Fa as createModel,ma as createOperationPipeline,ln as createPage,fi as createPost,Ii as createPostV2,Qi as createProject,Am as createReaction,vm as createReactionV2,gi as createReply,Ci as createReplyV2,_i as createSetting,Mi as createSettingV2,Io as createSite,Hm as createSubscription,rc as createTemplate,uh as createUser,fl as createVersion,ks as dasherize,Ag as datasetToContent,Cd as datasetToItem,zl as deepCatalogContains,Gt as deepDeletePropByValue,D as deepEqual,ad as deepFilter,nd as deepFind,od as deepFindById,se as deepSet,fp as deepStringReplace,Xa as defaultSiteCollectionKeys,zi as deleteContent,qi as deleteDiscussion,Tl as deleteHubChannel,pc as deleteHubEvent,gc as deleteHubEventRegistration,ji as deleteHubGroup,an as deleteInitiative,tc as deleteInitiativeTemplate,Yu as deleteItemThumbnail,gn as deletePage,Xi as deleteProject,pa as deleteProp,Ao as deleteSite,oc as deleteTemplate,dh as deleteUser,ll as deleteVersion,ku as deriveUserRoleV2,Un as discussionsApiRequest,On as discussionsApiRequestV2,up as doesItemExistWithTitle,Wu as doesResourceExist,fe as domainExists,no as domainExistsPortal,Vc as dotifyString,Yi as editorToContent,gu as editorToMetric,ac as editorToTemplate,$t as emailOrgUsers,En as enrichContentSearchResult,Nn as enrichGroupSearchResult,Sn as enrichImageSearchResult,nn as enrichInitiativeSearchResult,wc as enrichInitiativeTemplateSearchResult,hn as enrichPageSearchResult,An as enrichProjectSearchResult,Oo as enrichSiteSearchResult,Tn as enrichTemplateSearchResult,Mn as enrichUserSearchResult,ph as ensureProp,lo as ensureUniqueDomainName,kh as ensureUniqueString,j as expandPortalQuery,Th as explainQueryResult,pi as exportPosts,Si as exportPostsV2,zr as extend,Ir as extentToBBox,Or as extentToPolygon,T as failSafe,Qg as failSafeUpdate,Jg as fetchAllPages,Sp as fetchAndUploadResource,Ip as fetchAndUploadThumbnail,Gu as fetchCategoriesUiSchemaElement,kn as fetchChannel,Yn as fetchChannelNotifcationOptOut,ei as fetchChannelNotifcationOptOutV2,Jn as fetchChannelV2,Tc as fetchContent,vc as fetchDiscussion,jl as fetchDownloadFile,Ec as fetchEvent,Hc as fetchHubChannel,Oc as fetchHubContent,Gc as fetchHubEntity,$i as fetchHubGroup,Yg as fetchHubTranslation,Dn as fetchHubUser,Bt as fetchImageAsBlob,sn as fetchInitiative,xc as fetchInitiativeTemplate,un as fetchItem,Bl as fetchItemJobRecords,ys as fetchMaxNumUserGroupsLimit,Va as fetchModelFromItem,oh as fetchModelResources,la as fetchOrg,hs as fetchOrgLimits,oi as fetchOrganization,dn as fetchPage,hi as fetchPost,Ai as fetchPostV2,In as fetchProject,xi as fetchSetting,Di as fetchSettingV2,Po as fetchSite,oo as fetchSiteModel,yn as fetchTemplate,ls as fetchUserHubSettings,cs as fetchUserSiteSettings,Br as filterBy,te as findBy,Qo as findItemsBySlug,Qr as flattenArray,rd as followEntity,Da as generateRandomString,bc as getAssociatedEntitiesQuery,Xc as getAssociationStats,Jc as getAvailableToRequestAssociationCatalogs,qc as getAvailableToRequestEntitiesQuery,Lh as getCampaignUrl,Re as getCardModelUrlFromEntity,J as getCardModelUrlFromResult,eo as getCatalogFromSiteModel,ld as getCatalogGroups,Id as getCategory,ju as getCdnAssetUrl,Ia as getChannelAccess,Aa as getChannelGroupIds,Ca as getChannelOrgIds,Pa as getChannelUsersQuery,yd as getContentHomeUrl,Ig as getContentIdentifier,ue as getContentTypeIcon,Ad as getContentTypeLabel,Kg as getCulture,uc as getDatePickerDate,Li as getDefaultEntitySettings,Ih as getDomainsForSite,Vo as getDownloadConfiguration,Gl as getDownloadFormats,Bu as getEditorConfig,ed as getEntityFollowersGroupId,ql as getEntityGroups,Zu as getEntityMetrics,Vu as getEntityThumbnailUrl,ol as getEntityTypeFromHubEntityType,Jr as getEnvironmentFromPortalUrl,hl as getEventGroups,Pn as getEventThumbnail,Wm as getExportItemTypeKeyword,qm as getExportLayerTypeKeyword,_r as getExtentCenter,V as getFamily,Cs as getFamilyTypes,Oh as getFeedConfiguration,dd as getFeedTemplate,_n as getGroupHomeUrl,Fs as getGroupPredicate,Ns as getGroupThumbnailUrl,gs as getHubApiFromPortalUrl,Us as getHubApiUrl,Fh as getHubApiUrlFromPortal,Hl as getHubDownloadApiFormats,sl as getHubEntityTypeFromPath,cp as getHubLocaleAssetUrl,Bh as getHubProduct,uu as getHubTypeFromItemType,Vp as getHubUrlFromPortal,Gp as getInputFeatureServiceModel,qs as getItemApiUrl,yh as getItemAssets,Ae as getItemBySlug,Js as getItemDataUrl,vs as getItemHomeUrl,aa as getItemHubId,de as getItemIdentifier,na as getItemLayer,sa as getItemLayerId,ie as getItemThumbnailUrl,js as getKilobyteSizeOfQuery,ta as getLayerIdFromUrl,me as getModel,nh as getModelBySlug,Xg as getModelFromOptions,ns as getObjectSize,fo as getOrgDefaultTheme,Pr as getOrgExtentAsBBox,ms as getOrgThumbnailUrl,rl as getPathForHubEntityType,Yc as getPendingEntitiesQuery,cn as getPendingProjectsQuery,es as getPermissionPolicy,A as getPortalApiUrl,fs as getPortalBaseFromOrgUrl,$ as getPortalUrl,Zs as getPortalUrls,Ua as getPostCSVFileName,ai as getPredicateValues,m as getProp,fh as getProps,ea as getProxyUrl,Zc as getReferencedEntityIds,Ma as getRelativeWorkspaceUrl,Kc as getRequestingEntitiesQuery,$s as getResultSiteRelativeLink,hd as getS123EditUrl,xh as getS123ShareUrl,Ls as getScopeGroupPredicate,vg as getServiceStatus,Se as getServiceTypeFromUrl,ao as getSiteById,Lp as getSourceFeatureServiceModelFromFieldworker,Km as getSpatialRefTypeKeyword,Fp as getStakeholderModel,Ws as getStructuredLicense,Lm as getSubscription,zh as getSubscriptionType,Gm as getSubscriptions,Rh as getSurveyModels,Lu as getTagItems,lc as getTimePickerTime,Sg as getTypeCategories,Ps as getTypeFromEntity,Eg as getTypes,yc as getTypesFromEntityType,co as getUniqueDomainName,io as getUniqueDomainNamePortal,dp as getUniqueItemTitle,Jo as getUniqueSlug,lh as getUser,cd as getUserGroupsByMembership,ud as getUserGroupsFromQuery,Rn as getUserHomeUrl,Hs as getUserThumbnailUrl,il as getVersion,Qc as getWellKnownAssociationsCatalog,kc as getWellKnownCatalog,jc as getWellKnownCatalogs,du as getWellKnownGroup,zc as getWellknownCollection,Bc as getWellknownCollections,y as getWithDefault,cc as guessTimeZone,x as hasBasePriv,Mo as hasServiceCapability,Bo as hubApiRequest,Oi as hubSearch,P as includes,Yh as incrementString,Al as initiativeResultToCardModel,Rl as initiativeTemplateResultToCardModel,xl as initiativeTemplateToCardModel,Cl as initiativeToCardModel,Ge as interpolate,Zg as interpolateItemId,Ne as inviteUsers,Ro as isAGOFeatureServiceUrl,bd as isArrayEqual,vr as isBBox,Td as isComboboxItemSelected,iu as isCuid,ya as isDiscussable,Ch as isDomainForLegacySite,Ah as isDomainUsedElsewhere,Qs as isDownloadable,wh as isDraft,bs as isEnterprisePortalUrl,ra as isFeatureService,$p as isFieldworkerView,ne as isGuid,xo as isHostedFeatureServiceMainEntity,_o as isHostedFeatureServiceMainItem,Ug as isHubService,ia as isLayerView,Go as isMapOrFeatureServerUrl,Wr as isNil,Yl as isOpenDataGroup,N as isOrgAdmin,_e as isOrgAdminInOrg,Ea as isOrgChannel,ts as isPermission,Sa as isPrivateChannel,Ta as isPublicChannel,$h as isSafeRedirectUrl,wo as isSecureProxyServiceUrl,ge as isService,ua as isServicesDirectoryDisabled,As as isSiteType,zo as isSlug,da as isUpdateGroup,td as isUserFollowing,Cc as isUserInOrg,Ph as isValidDomain,wa as isValidEntityType,Ur as isValidExtent,pp as itemPropsNotInTemplates,Cg as itemToContent,kr as last,Zh as layoutNodeTags,pe as lookupDomain,rs as mapBy,Fr as maybeAdd,$r as maybePush,Kh as memoize,ve as mergeObjects,qa as migrateBadBasemap,ro as migrateEnsureHeaderComponentName,Gs as migrateToCollectionKey,Qa as migrateWebMappingApplicationSites,Ee as modelToHubEditableContent,en as negateGroupPredicates,_ as normalizeItemType,eh as normalizeSolutionTemplateItem,ch as notify,Nr as objectToArray,yu as objectToJsonBlob,Ar as orgExtent,al as parseContainmentPath,Ie as parseDatasetId,km as parseDiscussionURI,oa as parseItemCategories,xm as parseMentionedUsers,tl as pathMap,xn as pickProps,ru as poll,ii as portalToOrganization,ni as portalToSearchResult,pd as previewFeed,Xl as processActionLink,Jl as processActionLinks,Jh as processRevertableTasks,Ul as projectResultToCardModel,vl as projectToCardModel,qh as propifyString,Oe as reduceByGroupMembership,th as registerBrowserApp,gd as reharvestSiteCatalog,Ds as relativeDateToDateRange,zn as removeChannel,qn as removeChannelActivity,si as removeChannelActivityV2,Wn as removeChannelNotificationOptOut,ri as removeChannelNotificationOptOutV2,Zn as removeChannelV2,Ce as removeContextFromSlug,bo as removeDomain,To as removeDomainByHostname,yo as removeDomainsBySiteId,mo as removeEmptyProps,os as removeHistoryEntry,nu as removePermissionPolicy,yi as removePost,Pi as removePostV2,Pm as removeReaction,Um as removeReactionV2,qu as removeResource,wi as removeSetting,Hi as removeSettingV2,rh as replaceItemId,ft as requestAssociation,el as resolveMetric,$e as resolveReferences,Qh as runRevertableTask,md as searchAssociatedContent,Fe as searchCatalogs,Za as searchCategoriesToCollections,$n as searchChannels,Vn as searchChannelsV2,Eh as searchEntityCatalogs,di as searchPosts,Ei as searchPostsV2,cl as searchVersions,Sh as serializeCatalogScope,lp as serializeModel,Pe as serializeQueryForPortal,zm as serializeSpatialReference,Pg as setContentType,ba as setDiscussableKeyword,Ql as setEntityAccess,eu as setEntityAssociationGroup,_h as setFeedConfiguration,fd as setFeedTemplate,Ku as setItemThumbnail,ae as setProp,qo as setSlugKeyword,ym as shareEntityWithGroups,au as shareItemToGroups,Oa as slugify,Qu as stringToBlob,ja as stripProtocol,Nm as subscribe,Zl as targetEntities,Dh as templateResultToCardModel,Mh as templateToCardModel,Ed as titleize,Do as toggleServiceCapability,sd as unfollowEntity,wr as unicodeToBase64,Vr as unique,jr as uniqueBy,sh as unprotectModel,bm as unshareEntityWithGroups,su as unshareItemFromGroups,Bn as updateChannel,Xn as updateChannelV2,Bi as updateContent,Wi as updateDiscussion,vh as updateDomain,bl as updateHubChannel,hc as updateHubEntity,dc as updateHubEvent,Vi as updateHubGroup,rn as updateInitiative,ec as updateInitiativeTemplate,Y as updateItem,$a as updateModel,mn as updatePage,bi as updatePost,Ti as updatePostStatus,Ui as updatePostStatusV2,vi as updatePostV2,Ji as updateProject,Ri as updateSetting,Ni as updateSettingV2,Co as updateSite,Fm as updateSubscription,sc as updateTemplate,mh as updateUser,us as updateUserHubSettings,is as updateUserSiteSettings,pl as updateVersion,ul as updateVersionMetadata,le as upgradeCatalogSchema,Vh as upgradeProtocol,so as upgradeSiteSchema,zu as uploadImageResource,bh as uploadResourcesFromUrl,ih as upsertModelResources,xe as upsertResource,Ac as userHasPrivilege,Pc as userHasPrivileges,jh as userResultToCardModel,pm as validCardEditorTypes,dm as validDiscussionSettingsEditorTypes,fm as validEditorTypes,mm as validEmbedCardEditorTypes,im as validEntityEditorTypes,lm as validEventGalleryCardEditorTypes,um as validFollowCardEditorTypes,cm as validStatCardEditorTypes,id as validateUrl,Ms as valueToMatchOptions,we as wait,Hr as without,Xh as withoutByProp};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- function d(t,u="OR"){let c=[];return t.length&&t.forEach(l=>{let s={label:l.field,key:l.field,field:l.field,display:"multi-select"},a=[];l.values.filter(e=>!!e.value).forEach(e=>{let o={},n=u==="OR"?"any":"all",i={};i[n]=[e.value],o[l.field]=i;let f={label:e.value,key:e.value,count:e.count,selected:!1,predicates:[o]};a.push(f)}),s.options=a,c.push(s)}),c}export{d as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import"./A3T3JHAT.js";var t={chart:"Chart",barChart:"Bar chart",lineChart:"Line chart",pieChart:"Pie chart",histogram:"Histogram",scatterplot:"Scatterplot",boxPlot:"Box plot"},a={mean:"Mean",median:"Median",sum:"Sum",discretePercentile:"Discrete percentile",minimum:"Minimum",maximum:"Maximum",variance:"Variance",count:"Count",aggregation:"${ statistics } of ${ fieldName }",noAggregation:"No aggregation"},e="Chart",i="Count Series",s="X Axis",r="Not Available",n={start:"Snap to the first data point",end:"Snap to the last data point"},o={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:s,notAvailable:r,timeAggregationTypes:n};export{t as chartType,i as countSeries,o as default,e as defaultTitle,r as notAvailable,a as statistics,n as timeAggregationTypes,s as xAxis};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.36/esri/copyright.txt for details.
3
- v0.36.2 */
4
- import{a as d}from"./GYEEQUIG.js";import{a as m}from"./SM3W342U.js";import{a as b}from"./F46A6W7U.js";import{a as I}from"./WO4HJPLA.js";import"./XBWGQQLX.js";import{a as c}from"./2F7RV46R.js";import{a as E}from"./JTIDUTP7.js";import{a as f}from"./TTWVMUA3.js";import"./JYMTWRDN.js";import"./7FBH6TR2.js";import{b as o,c as w,d as y,e as p,h as u,i as L}from"./TMYIZTE5.js";import{a as h,g,s as _}from"./HWD3SXLY.js";import{a as s}from"./PEKDGBAJ.js";import"./35M3SKBJ.js";import"./A3T3JHAT.js";var v=e=>{let{maxLabelLength:t}=e,i={};return t&&(i.maxLength=t),{type:"object",required:["label"],properties:{label:Object.assign({type:"string"},i)}}},S=e=>{let{maxLabelLength:t,intl:i}=e;return{type:"Layout",elements:[{labelKey:"itemEditModal.fields.label.label",scope:"/properties/label",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:"itemEditModal.fields.label.requiredMessage"},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:i.t("itemEditModal.fields.label.maxLengthMessage",{maxLength:t})}]}}]}},k="calcite-list{background-color:var(--calcite-color-foreground-1)}calcite-button{margin-top:1rem}.width-full{width:100%}.width-auto{width:auto}.width-fit{width:-moz-fit-content;width:fit-content}",x=k,C=class{constructor(e){L(this,e),this.arcgisConfigurationEditorFieldInputChange=p(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=p(this,"hubTelemetry",7),this._setEditorFlowItemRef=t=>{this._editorFlowItemRef=t},this.mergeUpdatedItems=(t,i=!0)=>{let a=h(this._items),r=a.findIndex(n=>n.key===this._editingItemKey),l=this._scopeWrapperProp&&!this._editProp?t[this._scopeWrapperProp]:t;if(b(l))a=a.filter(n=>n.key!==this._editingItemKey),this.closeEditingExperience();else if(r===-1&&i){if(!l.key){let n=l.label.replace(/\s+/g,"_").toLowerCase();l.key=g(n)}a.push(l),this._editingItemKey=l.key}else this._scopeWrapperProp&&!this._editProp?m(l,a[r],Object.keys(t[this._scopeWrapperProp])):this._editProp?m(l,a[r],[this._editProp]):a[r]=l;return a},this.closeEditingExperience=t=>{t&&t.stopPropagation(),this.showEditExperience=!1,this._editingItemKey=""},this.renderAddItemButton=()=>{let t={auto:"width-auto",full:"width-full",fit:"width-fit"}[s(this.params,"uiSchema.options.addItemButtonWidth")]||"width-auto";return o("calcite-button",{appearance:"outline",class:t,disabled:this._isDisabled,onClick:this.handleItemEdit,round:!0},this._addItemLabel)},this.params=void 0,this.showEditExperience=!1,this._editingItemKey="",E(this,"handleListReorder","toggleItemVisibility","handleItemEdit","handleEditApplied","handleItemRemove","renderListItem","translationFunction","handleItemInlineRemove")}async componentWillLoad(){this.intl=await f.loadIntlForComponent(this.element)}translationFunction(e){return this.intl.t(e)}get _editValues(){let e=this._items.find(a=>a.key===this._editingItemKey),t=this._editProp?s(e,this._editProp):e;return(this._scopeWrapperProp?{[this._scopeWrapperProp]:t}:t)||{}}get _editLabel(){let e=this._items.find(t=>t.key===this._editingItemKey);return e?.label||c(this.params,"uiSchema.options.defaultEditLabel","")}get _addItemLabel(){return c(this.params,"uiSchema.options.addItemLabel",this.intl.t("addItem"))}get _editProp(){return s(this.params,"uiSchema.options.editProp")}get _scopeWrapperProp(){return s(this.params,"uiSchema.options.scopeWrapperProp")||s(this.params,"uiSchema.options.editProp")}get _editMode(){return s(this.params,"uiSchema.options.editMode")||d.MODAL}get _editActionIcon(){return{[d.FLOW]:"chevron-right",[d.MODAL]:"pencil"}[this._editMode]||"pencil"}get _flowTarget(){let e,t=s(this.params,"uiSchema.options.calciteFlowRefCallback");return t&&(e=t()),e}get _isDisabled(){var e;return!!(!((e=this.params)===null||e===void 0)&&e.disabled)}get _allowHide(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowHide")}get _hiddenEditProp(){return s(this.params,"uiSchema.options.hiddenEditProp")}get _allowReorder(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowReorder")}get _allowEdit(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowEdit")}get _allowRemove(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowRemove")}get _allowDelete(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowDelete")}get _allowAdd(){return!this._isDisabled&&!!s(this.params,"uiSchema.options.allowAdd")}get _addItemTelemetry(){return s(this.params,"uiSchema.options.addItemTelemetry")}get _items(){var e;return((e=this.params)===null||e===void 0?void 0:e.value)||[]}get _editSchema(){return s(this.params,"uiSchema.options.editSchema")||v({maxLabelLength:s(this.params,"uiSchema.options.maxLabelLength")})}get _editUiSchema(){return s(this.params,"uiSchema.options.editUiSchema")||S({maxLabelLength:s(this.params,"uiSchema.options.maxLabelLength"),intl:this.intl})}_isItemHidden(e){let t=e.hidden;if(this._hiddenEditProp){let i=this._items.find(r=>r.key===e.key);t=(s(i,this._hiddenEditProp)||{}).hidden}return t}handleListReorder(e){let{newIndex:t,oldIndex:i}=e.detail,a=h(this._items),[r]=a.splice(i,1);a.splice(t,0,r),this.arcgisConfigurationEditorFieldInputChange.emit(a)}toggleItemVisibility(e){e.stopPropagation();let t=e.target.dataset.key,i=h(this._items),a=i.find(r=>r.key===t);this._hiddenEditProp?I(`${this._hiddenEditProp}.hidden`,!s(a,`${this._hiddenEditProp}.hidden`),a):a.hidden=!a.hidden,this.arcgisConfigurationEditorFieldInputChange.emit(i)}removeItemByKey(e){let t=h(this._items).filter(i=>i.key!==e);this.arcgisConfigurationEditorFieldInputChange.emit(t)}handleItemRemove(e){let t=e.target.dataset.key;t&&this.removeItemByKey(t)}handleItemInlineRemove(e){let{_editingItemKey:t}=this;t&&this.removeItemByKey(t),this.closeEditingExperience(e)}handleItemEdit(e){var t,i;let a=(i=(t=e.target)===null||t===void 0?void 0:t.dataset)===null||i===void 0?void 0:i.key;this._editingItemKey=a,this._flowTarget&&this._flowTarget.querySelectorAll("calcite-flow-item").forEach(r=>{r.selected=!1}),this.showEditExperience=!0,!a&&this._addItemTelemetry&&this.hubTelemetry.emit(Object.assign(Object.assign({},this._addItemTelemetry),{count:this._items.length}))}handleEditApplied(e){var t,i;e.preventDefault();let{values:a,valid:r=!0}=e.detail||{};if(this._editMode===d.FLOW){let n=(i=(t=this._editorFlowItemRef)===null||t===void 0?void 0:t.shadowRoot)===null||i===void 0?void 0:i.querySelector("calcite-action[slot=header-actions-start");n&&(n.disabled=!r)}let l=this.mergeUpdatedItems(a||e.detail,r);this.arcgisConfigurationEditorFieldInputChange.emit(l),this._editMode===d.MODAL&&this.closeEditingExperience()}renderItemEditModal(){var e,t;let i=!Object.keys(this._editValues).length,a=((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t[i?"newItemModalTitle":"editItemModalTitle"])||this.intl.t("editItem",{itemLabel:this._editLabel});return o("arcgis-wormhole",null,o("arcgis-configuration-form",{isOpen:this.showEditExperience,layout:"modal",messageOverrides:{save:this.intl.t("itemEditModal.apply")},modalTitle:a,onArcgisConfigurationFormModalClosed:this.closeEditingExperience,onArcgisConfigurationFormSaved:this.handleEditApplied,scale:this.params.scale,schema:this._editSchema,t:this.translationFunction,uiSchema:this._editUiSchema,values:this._editValues,variant:s(this.params,"uiSchema.options.variant")}))}renderItemEditInline(){return o("arcgis-configuration-editor",{onArcgisConfigurationEditorChange:this.handleEditApplied,schema:this._editSchema,t:this.translationFunction,uiSchema:this._editUiSchema,values:this._editValues,variant:s(this.params,"uiSchema.options.variant")})}renderListItem(e){let t=e[s(this.params,"uiSchema.options.descriptionProp")||"description"]||"",i=s(this.params,"uiSchema.options.descriptionPropPostfix")||"";return o("calcite-list-item",{closable:this._allowRemove,"data-key":e.key,description:`${_(t)}${i}`,key:e.key,label:e.label,onCalciteListItemClose:this.handleItemRemove,selected:this._allowHide&&!this._isItemHidden(e)},this._allowHide&&o("calcite-action",{"data-key":e.key,icon:this._isItemHidden(e)?"view-hide":"view-visible",onClick:this.toggleItemVisibility,scale:this.params.scale,slot:"actions-start",text:this.intl.t(this._isItemHidden(e)?"showItem":"hideItem",{itemLabel:e.label})}),this._allowEdit&&o("calcite-action",{"data-key":e.key,icon:this._editActionIcon,onClick:this.handleItemEdit,scale:this.params.scale,slot:"actions-end",text:this.intl.t("editItem",{itemLabel:e.label})}),this._allowDelete&&o("calcite-action",{"data-key":e.key,icon:"trash",onClick:this.handleItemRemove,scale:this.params.scale,slot:"actions-end",text:this.intl.t("deleteItem",{itemLabel:e.label})}))}renderList(){return o("calcite-list",{dragEnabled:this._allowReorder,interactionMode:"static",onCalciteListOrderChange:this.handleListReorder,scale:this.params.scale},this._items.map(this.renderListItem),this._allowAdd&&this.renderAddItemButton())}renderWormholedEditFlowList(){return o(u,null,o("calcite-flow-item",{selected:!0},this.renderList()),this.showEditExperience&&this._flowTarget&&o("arcgis-wormhole",{includeWormholeElement:!1,target:this._flowTarget},o("calcite-flow-item",{description:this._editLabel,heading:s(this.params,"uiSchema.options.flowTitle"),onCalciteFlowItemBack:this.closeEditingExperience,ref:this._setEditorFlowItemRef,selected:this.showEditExperience},this._allowDelete&&o("calcite-action",{icon:"trash",onClick:this.handleItemInlineRemove,scale:this.params.scale,slot:"header-actions-end",text:this.intl.t("deleteInlineItem",{itemLabel:s(this.params,"uiSchema.options.flowTitle")})}),this.renderItemEditInline())))}renderEditFlowList(){return o("calcite-flow",null,o("calcite-flow-item",null,this.renderList()),this.showEditExperience&&o("calcite-flow-item",{heading:this._editLabel,onCalciteFlowItemBack:this.closeEditingExperience},this.renderItemEditInline()))}renderEditModalList(){return o(u,null,this.renderItemEditModal(),this.renderList())}renderListField(){switch(this._editMode){case d.FLOW:return this._flowTarget?this.renderWormholedEditFlowList():this.renderEditFlowList();case d.MODAL:return this.renderEditModalList();default:return this.renderEditModalList()}}render(){return o(w,{key:"eaf5f686d00c6ea99f569c04788cd1a05728ead7","data-element":"list-field"},this.renderListField())}static get assetsDirs(){return["locales"]}get element(){return y(this)}};C.style=x;export{C as hub_field_input_list};