@esri/hub-web-components 0.26.2 → 0.28.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1386) hide show
  1. package/dist/cdn/23L4RILR.js +4 -0
  2. package/dist/cdn/25A2AZ3Y.js +4 -0
  3. package/dist/cdn/26Q4PYMY.js +4 -0
  4. package/dist/cdn/2AAFZ6F7.js +4 -0
  5. package/dist/cdn/2AGPWPKF.js +4 -0
  6. package/dist/cdn/2BROECFM.js +4 -0
  7. package/dist/cdn/2DCYL55K.js +4 -0
  8. package/dist/cdn/2GTCNFYK.js +5 -0
  9. package/dist/cdn/2JIFJLYU.js +6 -0
  10. package/dist/cdn/2MCBVSUR.js +4 -0
  11. package/dist/cdn/2OKAKK5Q.js +4 -0
  12. package/dist/cdn/2PCRPDWP.js +4 -0
  13. package/dist/cdn/2RA3YHN3.js +4 -0
  14. package/dist/cdn/2ROWPBQJ.js +4 -0
  15. package/dist/cdn/2TJ4A53I.js +4 -0
  16. package/dist/cdn/2UAGJPAE.js +4 -0
  17. package/dist/cdn/2WOXXTXL.js +4 -0
  18. package/dist/cdn/2WRCR3W7.js +4 -0
  19. package/dist/cdn/2Z7WPJRK.js +4 -0
  20. package/dist/cdn/2ZCMYIT5.js +4 -0
  21. package/dist/cdn/2ZSRO5E4.js +4 -0
  22. package/dist/cdn/2ZY5IX4N.js +4 -0
  23. package/dist/cdn/34D7H4RF.js +4 -0
  24. package/dist/cdn/34NFPXI7.js +4 -0
  25. package/dist/cdn/357KIAMG.js +4 -0
  26. package/dist/cdn/3AD23GE6.js +4 -0
  27. package/dist/cdn/3BHRKA4G.js +4 -0
  28. package/dist/cdn/3BXG2MMN.js +4 -0
  29. package/dist/cdn/3CWK3VC4.js +4 -0
  30. package/dist/cdn/3D4ILAGR.js +4 -0
  31. package/dist/cdn/3DTT7TQC.js +4 -0
  32. package/dist/cdn/3F3RLY6Z.js +59 -0
  33. package/dist/cdn/3G6R6EJ2.js +4 -0
  34. package/dist/cdn/3G7Q5WGR.js +4 -0
  35. package/dist/cdn/3H4UNHJ2.js +4 -0
  36. package/dist/cdn/3I254S5P.js +4 -0
  37. package/dist/cdn/3IPRWUXP.js +4 -0
  38. package/dist/cdn/3KY4K5TT.js +4 -0
  39. package/dist/cdn/3LZ5QJMC.js +4 -0
  40. package/dist/cdn/3M2RZ3HO.js +4 -0
  41. package/dist/cdn/3NTV4PN2.js +4 -0
  42. package/dist/cdn/3OBGOUXN.js +4 -0
  43. package/dist/cdn/3SIUFZYP.js +4 -0
  44. package/dist/cdn/3TJG6ZAB.js +4 -0
  45. package/dist/cdn/3TUA2AE5.js +4 -0
  46. package/dist/cdn/3VKGKJOZ.js +4 -0
  47. package/dist/cdn/3WETGF6L.js +4 -0
  48. package/dist/cdn/3XCVGIFM.js +4 -0
  49. package/dist/cdn/3YZUOSSJ.js +4 -0
  50. package/dist/cdn/45CDSRI5.js +4 -0
  51. package/dist/cdn/45SK2OR7.js +4 -0
  52. package/dist/cdn/4ALFNRNZ.js +4 -0
  53. package/dist/cdn/4BQK75UB.js +4 -0
  54. package/dist/cdn/4BUOS2TR.js +4 -0
  55. package/dist/cdn/4C4NATLH.js +4 -0
  56. package/dist/cdn/4C5LC6LE.js +4 -0
  57. package/dist/cdn/4CZHCJ5B.js +4 -0
  58. package/dist/cdn/4EB63YDF.js +4 -0
  59. package/dist/cdn/4FSU64NN.js +4 -0
  60. package/dist/cdn/4GB3DKOS.js +4 -0
  61. package/dist/cdn/4I66LN2R.js +4 -0
  62. package/dist/cdn/4JMK5UWS.js +4 -0
  63. package/dist/cdn/4LBKC3W5.js +4 -0
  64. package/dist/cdn/4LTPDPFK.js +4 -0
  65. package/dist/cdn/4NMIL66V.js +4 -0
  66. package/dist/cdn/4PG2ZIGI.js +4 -0
  67. package/dist/cdn/4R3BH4CY.js +4 -0
  68. package/dist/cdn/4RPBAER2.js +4 -0
  69. package/dist/cdn/4SK5XASB.js +4 -0
  70. package/dist/cdn/4VD7BWG2.js +6 -0
  71. package/dist/cdn/4XH7CG3R.js +4 -0
  72. package/dist/cdn/54TR3YZR.js +4 -0
  73. package/dist/cdn/56FTFRIX.js +4 -0
  74. package/dist/cdn/56GVGXYF.js +4 -0
  75. package/dist/cdn/57F4APHG.js +4 -0
  76. package/dist/cdn/5BMR4YJA.js +4 -0
  77. package/dist/cdn/5CALVFN3.js +4 -0
  78. package/dist/cdn/5HVIAMSU.js +9 -0
  79. package/dist/cdn/5INX5FCX.js +4 -0
  80. package/dist/cdn/5JQ76F73.js +4 -0
  81. package/dist/cdn/5KIEQ642.js +4 -0
  82. package/dist/cdn/5MBNZ4SZ.js +4 -0
  83. package/dist/cdn/5MTU7CYY.js +4 -0
  84. package/dist/cdn/5NG3NFF7.js +4 -0
  85. package/dist/cdn/5PD46XVO.js +4 -0
  86. package/dist/cdn/5PE7MPGP.js +4 -0
  87. package/dist/cdn/5Q7IUFFD.js +4 -0
  88. package/dist/cdn/5VE47BLP.js +4 -0
  89. package/dist/cdn/5VJBMHUN.js +4 -0
  90. package/dist/cdn/5XKNMP2E.js +4 -0
  91. package/dist/cdn/5YKPGDVH.js +4 -0
  92. package/dist/cdn/62XTB7L7.js +4 -0
  93. package/dist/cdn/63HHETUU.js +4 -0
  94. package/dist/cdn/64S536N5.js +4 -0
  95. package/dist/cdn/66BQLVNL.js +4 -0
  96. package/dist/cdn/67F3LJ2M.js +4 -0
  97. package/dist/cdn/6C3FMSPX.js +4 -0
  98. package/dist/cdn/6CAWNFDH.js +4 -0
  99. package/dist/cdn/6DBEBVEH.js +4 -0
  100. package/dist/cdn/6F6KTHXN.js +6 -0
  101. package/dist/cdn/6F74HI3G.js +4 -0
  102. package/dist/cdn/6GBUNBMT.js +4 -0
  103. package/dist/cdn/6H5LS5KC.js +4 -0
  104. package/dist/cdn/6I5BVOZZ.js +4 -0
  105. package/dist/cdn/6JOUBGHD.js +4 -0
  106. package/dist/cdn/6JPK5FDJ.js +4 -0
  107. package/dist/cdn/6KIJFG2G.js +4 -0
  108. package/dist/cdn/6KQTAR3Q.js +4 -0
  109. package/dist/cdn/6KU24XTS.js +4 -0
  110. package/dist/cdn/6NP7ZDHW.js +4 -0
  111. package/dist/cdn/6NYR6ABO.js +4 -0
  112. package/dist/cdn/6OP6TSWD.js +4 -0
  113. package/dist/cdn/6PRT6HUL.js +4 -0
  114. package/dist/cdn/6RD55VAZ.js +4 -0
  115. package/dist/cdn/6SHD6D7T.js +4 -0
  116. package/dist/cdn/6ZGMW2PX.js +4 -0
  117. package/dist/cdn/74JK6X5D.js +4 -0
  118. package/dist/cdn/76Q3IPXB.js +4 -0
  119. package/dist/cdn/77UC6G6N.js +4 -0
  120. package/dist/cdn/7BCSYQJZ.js +4 -0
  121. package/dist/cdn/7D53TILZ.js +4 -0
  122. package/dist/cdn/7DNFCJ4Y.js +4 -0
  123. package/dist/cdn/7DPV4677.js +4 -0
  124. package/dist/cdn/7EMA7RLZ.js +4 -0
  125. package/dist/cdn/7EZWXCK6.js +4 -0
  126. package/dist/cdn/7GUQVBK7.js +4 -0
  127. package/dist/cdn/7J2OZWCH.js +4 -0
  128. package/dist/cdn/7KXBM24B.js +4 -0
  129. package/dist/cdn/7KYCV3QZ.js +4 -0
  130. package/dist/cdn/7MBUGPLB.js +5 -0
  131. package/dist/cdn/7ME25N3N.js +4 -0
  132. package/dist/cdn/7PQKJG62.js +4 -0
  133. package/dist/cdn/7QS3CDSF.js +4 -0
  134. package/dist/cdn/7TNY6JYY.js +8 -0
  135. package/dist/cdn/7V2V7EDH.js +8 -0
  136. package/dist/cdn/7ZFGHDB6.js +4 -0
  137. package/dist/cdn/7ZGV32U3.js +4 -0
  138. package/dist/cdn/A2U2VT6L.js +4 -0
  139. package/dist/cdn/A2UIAAW7.js +4 -0
  140. package/dist/cdn/A4SZVZCK.js +4 -0
  141. package/dist/cdn/A56K3UMN.js +4 -0
  142. package/dist/cdn/A5Q4JVZX.js +4 -0
  143. package/dist/cdn/AACBPDMV.js +4 -0
  144. package/dist/cdn/AGKWAXLF.js +4 -0
  145. package/dist/cdn/AGT6S5O7.js +4 -0
  146. package/dist/cdn/AHKV27UN.js +4 -0
  147. package/dist/cdn/AIFOMJMG.js +4 -0
  148. package/dist/cdn/AJL2CHHK.js +4 -0
  149. package/dist/cdn/AJUYFIFV.js +4 -0
  150. package/dist/cdn/ANZK2F2X.js +4 -0
  151. package/dist/cdn/AUM5FERR.js +4 -0
  152. package/dist/cdn/AV44ZQ7V.js +4 -0
  153. package/dist/cdn/AZY32F7E.js +16 -0
  154. package/dist/cdn/B2ZDQIUH.js +4 -0
  155. package/dist/cdn/B4JI5LHW.js +4 -0
  156. package/dist/cdn/B5MPD2EA.js +4 -0
  157. package/dist/cdn/B5OZKC2X.js +4 -0
  158. package/dist/cdn/B6YICNJN.js +4 -0
  159. package/dist/cdn/BA5UAOFV.js +4 -0
  160. package/dist/cdn/BAOELEBW.js +4 -0
  161. package/dist/cdn/BCODJFQW.js +4 -0
  162. package/dist/cdn/BEGZNWVT.js +4 -0
  163. package/dist/cdn/BFXOGIXE.js +4 -0
  164. package/dist/cdn/BGEJWW43.js +4 -0
  165. package/dist/cdn/BGKJTHT6.js +4 -0
  166. package/dist/cdn/BH7YJEGA.js +4 -0
  167. package/dist/cdn/BIHMO2ZC.js +4 -0
  168. package/dist/cdn/BITBC5X6.js +4 -0
  169. package/dist/cdn/BK72IYRB.js +4 -0
  170. package/dist/cdn/BL47E5RE.js +4 -0
  171. package/dist/cdn/BOSDZLKT.js +4 -0
  172. package/dist/cdn/BOWMRFOJ.js +4 -0
  173. package/dist/cdn/BQ3KJIIV.js +4 -0
  174. package/dist/cdn/BQJQZLBG.js +4 -0
  175. package/dist/cdn/BQWYMBID.js +4 -0
  176. package/dist/cdn/BRADWXWG.js +4 -0
  177. package/dist/cdn/BRCR3N2H.js +4 -0
  178. package/dist/cdn/BS7YWQX3.js +4 -0
  179. package/dist/cdn/BUC56IW5.js +4 -0
  180. package/dist/cdn/BUFMIYN4.js +4 -0
  181. package/dist/cdn/BUPYJVFE.js +4 -0
  182. package/dist/cdn/BVLBC7ZW.js +4 -0
  183. package/dist/cdn/BXCYRZYX.js +4 -0
  184. package/dist/cdn/BZ7HHSRE.js +4 -0
  185. package/dist/cdn/C272VI3E.js +4 -0
  186. package/dist/cdn/C4V5RCCU.js +4 -0
  187. package/dist/cdn/C6MI4XMU.js +4 -0
  188. package/dist/cdn/CAHDLZNW.js +4 -0
  189. package/dist/cdn/CEDQJWUG.js +4 -0
  190. package/dist/cdn/CEEI73MV.js +4 -0
  191. package/dist/cdn/CG4FIHNF.js +4 -0
  192. package/dist/cdn/CH72Z6SE.js +4 -0
  193. package/dist/cdn/CHABANZA.js +4 -0
  194. package/dist/cdn/CLMPYWS3.js +4 -0
  195. package/dist/cdn/CMPN4AZX.js +4 -0
  196. package/dist/cdn/CN7Y66EN.js +4 -0
  197. package/dist/cdn/CPDS2432.js +4 -0
  198. package/dist/cdn/CQT6V4AE.js +4 -0
  199. package/dist/cdn/CTMRTTYO.js +4 -0
  200. package/dist/cdn/CV3A22JE.js +4 -0
  201. package/dist/cdn/CWDPOJQM.js +4 -0
  202. package/dist/cdn/CWIENRF2.js +4 -0
  203. package/dist/cdn/CXO3GAR5.js +4 -0
  204. package/dist/cdn/D27JJV5F.js +4 -0
  205. package/dist/cdn/D5YRB4CU.js +4 -0
  206. package/dist/cdn/D6D6TEHT.js +4 -0
  207. package/dist/cdn/D7VPFSKY.js +4 -0
  208. package/dist/cdn/DAEHH2AQ.js +4 -0
  209. package/dist/cdn/DBE2FQPW.js +4 -0
  210. package/dist/cdn/DDVHYAWC.js +5 -0
  211. package/dist/cdn/DELYNYXO.js +4 -0
  212. package/dist/cdn/DFIMKR62.js +4 -0
  213. package/dist/cdn/DFWK6KWM.js +4 -0
  214. package/dist/cdn/DJHHYJQ4.js +4 -0
  215. package/dist/cdn/DK6J6OC7.js +4 -0
  216. package/dist/cdn/DQ7PAT3F.js +4 -0
  217. package/dist/cdn/DS7C4PYG.js +4 -0
  218. package/dist/cdn/DUFB43OQ.js +4 -0
  219. package/dist/cdn/DW26JCKP.js +4 -0
  220. package/dist/cdn/DY6PXLIX.js +4 -0
  221. package/dist/cdn/E2ZF2MR3.js +4 -0
  222. package/dist/cdn/E3ZLOV6H.js +12 -0
  223. package/dist/cdn/E4WFCGRO.js +4 -0
  224. package/dist/cdn/E5Q2GPNG.js +4 -0
  225. package/dist/cdn/E6UUFVPC.js +4 -0
  226. package/dist/cdn/ECQJ6XYA.js +4 -0
  227. package/dist/cdn/EF2DG36I.js +4 -0
  228. package/dist/cdn/EF4QXNCY.js +4 -0
  229. package/dist/cdn/EJCQJKM4.js +4 -0
  230. package/dist/cdn/EJFRFSJA.js +4 -0
  231. package/dist/cdn/EJMWVBAA.js +4 -0
  232. package/dist/cdn/EJXJ4XVO.js +4 -0
  233. package/dist/cdn/EK4HC3CS.js +4 -0
  234. package/dist/cdn/ELNF247X.js +4 -0
  235. package/dist/cdn/EM37TELX.js +4 -0
  236. package/dist/cdn/EOMCNUN7.js +4 -0
  237. package/dist/cdn/EPSAKRJK.js +4 -0
  238. package/dist/cdn/EQ5EMIUX.js +4 -0
  239. package/dist/cdn/EQRTWUYQ.js +4 -0
  240. package/dist/cdn/ESWHGK7M.js +4 -0
  241. package/dist/cdn/ETV4VL7A.js +4 -0
  242. package/dist/cdn/EU4AIHNW.js +4 -0
  243. package/dist/cdn/EXTMSWR4.js +4 -0
  244. package/dist/cdn/EYAOQCFG.js +4 -0
  245. package/dist/cdn/F3TCOKO4.js +4 -0
  246. package/dist/cdn/F5UKMT52.js +4 -0
  247. package/dist/cdn/F6FWO554.js +4 -0
  248. package/dist/cdn/FER6PKUI.js +4 -0
  249. package/dist/cdn/FFQP6APW.js +4 -0
  250. package/dist/cdn/FFWOK2G5.js +51 -0
  251. package/dist/cdn/FGLA7UTG.js +4 -0
  252. package/dist/cdn/FKJOQS25.js +4 -0
  253. package/dist/cdn/FL5VFGFG.js +4 -0
  254. package/dist/cdn/FLP4B4VD.js +4 -0
  255. package/dist/cdn/FM6CYXYV.js +4 -0
  256. package/dist/cdn/FNCR3T4I.js +4 -0
  257. package/dist/cdn/FP6MNZKF.js +4 -0
  258. package/dist/cdn/FSED3NSQ.js +4 -0
  259. package/dist/cdn/FSIPHEN4.js +4 -0
  260. package/dist/cdn/FSSZ3YBK.js +4 -0
  261. package/dist/cdn/FVMEVF2L.js +24 -0
  262. package/dist/cdn/FXZ5PURR.js +4 -0
  263. package/dist/cdn/FYTUKPLU.js +4 -0
  264. package/dist/cdn/G2EW5HKR.js +4 -0
  265. package/dist/cdn/G2LVHU6Z.js +4 -0
  266. package/dist/cdn/G2NZRDXG.js +4 -0
  267. package/dist/cdn/G2RCYMVH.js +4 -0
  268. package/dist/cdn/G3CUJUM6.js +4 -0
  269. package/dist/cdn/G4ARILQR.js +4 -0
  270. package/dist/cdn/G4XLS45R.js +4 -0
  271. package/dist/cdn/G54BWG76.js +4 -0
  272. package/dist/cdn/G5FQI7LR.js +4 -0
  273. package/dist/cdn/G5SY3DPW.js +4 -0
  274. package/dist/cdn/G7SAMETO.js +4 -0
  275. package/dist/cdn/GAHJBERO.js +4 -0
  276. package/dist/cdn/GASJPOSP.js +4 -0
  277. package/dist/cdn/GDP4GTRK.js +4 -0
  278. package/dist/cdn/GF4TP24E.js +4 -0
  279. package/dist/cdn/GFJGOTFT.js +4 -0
  280. package/dist/cdn/GGQ5ABBH.js +4 -0
  281. package/dist/cdn/GGRNH3WB.js +4 -0
  282. package/dist/cdn/GIF64WFE.js +4 -0
  283. package/dist/cdn/GLKKBJK7.js +4 -0
  284. package/dist/cdn/GMFZVWA3.js +4 -0
  285. package/dist/cdn/GO3JI2QV.js +4 -0
  286. package/dist/cdn/GOAOUTK5.js +4 -0
  287. package/dist/cdn/GQJYYVHF.js +4 -0
  288. package/dist/cdn/GS2JPJMM.js +4 -0
  289. package/dist/cdn/GYJQ7BTZ.js +4 -0
  290. package/dist/cdn/GZA5QBOJ.js +4 -0
  291. package/dist/cdn/H4HC7J3K.js +4 -0
  292. package/dist/cdn/H56O72DD.js +4 -0
  293. package/dist/cdn/HA6KAF2N.js +4 -0
  294. package/dist/cdn/HBTIIBSO.js +4 -0
  295. package/dist/cdn/HCDYVVRI.js +4 -0
  296. package/dist/cdn/HDFIDC2A.js +4 -0
  297. package/dist/cdn/HDLNLCMX.js +4 -0
  298. package/dist/cdn/HF2L3XMP.js +4 -0
  299. package/dist/cdn/HIV4EGXL.js +4 -0
  300. package/dist/cdn/HJLGO4RD.js +4 -0
  301. package/dist/cdn/HM55VQ7H.js +4 -0
  302. package/dist/cdn/HPI2VL75.js +4 -0
  303. package/dist/cdn/HW77UVWJ.js +4 -0
  304. package/dist/cdn/HXWJJQ3T.js +4 -0
  305. package/dist/cdn/HXX245ZB.js +4 -0
  306. package/dist/cdn/HYKBHJGT.js +4 -0
  307. package/dist/cdn/HZ6XMOK4.js +4 -0
  308. package/dist/cdn/I3RKM272.js +4 -0
  309. package/dist/cdn/IA5QCDXI.js +4 -0
  310. package/dist/cdn/ID7MIZLE.js +4 -0
  311. package/dist/cdn/IGXWPDPB.js +4 -0
  312. package/dist/cdn/IIR5SHQ5.js +4 -0
  313. package/dist/cdn/IJN5NQRF.js +4 -0
  314. package/dist/cdn/IMPINTQX.js +4 -0
  315. package/dist/cdn/IOVQGKPD.js +4 -0
  316. package/dist/cdn/IP4XH5XX.js +4 -0
  317. package/dist/cdn/IQXRK5KW.js +4 -0
  318. package/dist/cdn/IQXVMS4V.js +4 -0
  319. package/dist/cdn/IR57Z7NA.js +4 -0
  320. package/dist/cdn/IROSRL6L.js +4 -0
  321. package/dist/cdn/ITAQ5MWU.js +4 -0
  322. package/dist/cdn/ITNAKP34.js +4 -0
  323. package/dist/cdn/IUWGKKPA.js +4 -0
  324. package/dist/cdn/IVRSX3RX.js +4 -0
  325. package/dist/cdn/IWYNPR7O.js +4 -0
  326. package/dist/cdn/IY7RV7CN.js +4 -0
  327. package/dist/cdn/IZRYI3MM.js +4 -0
  328. package/dist/cdn/J2FAHFVS.js +4 -0
  329. package/dist/cdn/J2HVWSGE.js +4 -0
  330. package/dist/cdn/J5IXLI5Z.js +4 -0
  331. package/dist/cdn/JDQ54O3E.js +4 -0
  332. package/dist/cdn/JEM6L5VS.js +4 -0
  333. package/dist/cdn/JHYXIFP7.js +4 -0
  334. package/dist/cdn/JIQKZSDC.js +4 -0
  335. package/dist/cdn/JKJ3FV5Y.js +4 -0
  336. package/dist/cdn/JQLTEBBO.js +4 -0
  337. package/dist/cdn/JSBSKHPG.js +4 -0
  338. package/dist/cdn/JTYRFL6J.js +4 -0
  339. package/dist/cdn/JUTQ5AHI.js +4 -0
  340. package/dist/cdn/JWWHXXKA.js +4 -0
  341. package/dist/cdn/JYEHYV4M.js +4 -0
  342. package/dist/cdn/JYEJBKJN.js +4 -0
  343. package/dist/cdn/JZ7Y4RGU.js +4 -0
  344. package/dist/cdn/K2BLNQZL.js +4 -0
  345. package/dist/cdn/K4CRE6CH.js +4 -0
  346. package/dist/cdn/K4ZGRCRA.js +4 -0
  347. package/dist/cdn/K5GVUP4Q.js +4 -0
  348. package/dist/cdn/KCCJYBTA.js +4 -0
  349. package/dist/cdn/KEQTBPM6.js +4 -0
  350. package/dist/cdn/KETLEIMD.js +4 -0
  351. package/dist/cdn/KFZ3LO3B.js +4 -0
  352. package/dist/cdn/KJH763AQ.js +4 -0
  353. package/dist/cdn/KLME7O23.js +4 -0
  354. package/dist/cdn/KNT6QTUC.js +4 -0
  355. package/dist/cdn/KU6UDOCH.js +52 -0
  356. package/dist/cdn/KUNSFRA4.js +4 -0
  357. package/dist/cdn/KXJ4ZAN7.js +4 -0
  358. package/dist/cdn/L2F62SHI.js +4 -0
  359. package/dist/cdn/L2UNTDLO.js +4 -0
  360. package/dist/cdn/L3BFH7BK.js +4 -0
  361. package/dist/cdn/LD3HPIHM.js +4 -0
  362. package/dist/cdn/LDL6MOVK.js +4 -0
  363. package/dist/cdn/LEP2ZFBN.js +4 -0
  364. package/dist/cdn/LGFJ3BIA.js +4 -0
  365. package/dist/cdn/LJLLBO6K.js +4 -0
  366. package/dist/cdn/LLO2KXW6.js +4 -0
  367. package/dist/cdn/LMZGQ5DP.js +4 -0
  368. package/dist/cdn/LOWK75O7.js +4 -0
  369. package/dist/cdn/LPN6XJO5.js +4 -0
  370. package/dist/cdn/LQIWH4XS.js +4 -0
  371. package/dist/cdn/LQP7WSX7.js +4 -0
  372. package/dist/cdn/LRSXO5OR.js +4 -0
  373. package/dist/cdn/LSQUDKF4.js +5 -0
  374. package/dist/cdn/M2QENR2B.js +4 -0
  375. package/dist/cdn/M4AWZWJS.js +4 -0
  376. package/dist/cdn/M4BJTUFK.js +4 -0
  377. package/dist/cdn/M4X4PMPS.js +4 -0
  378. package/dist/cdn/M5YTDBBC.js +4 -0
  379. package/dist/cdn/M6JJVJA6.js +4 -0
  380. package/dist/cdn/MBAZAUME.js +4 -0
  381. package/dist/cdn/MBNBORRB.js +4 -0
  382. package/dist/cdn/MHMS5PPI.js +59 -0
  383. package/dist/cdn/MHSUEZP6.js +4 -0
  384. package/dist/cdn/MI2AXRGX.js +42 -0
  385. package/dist/cdn/MIRVXIUE.js +4 -0
  386. package/dist/cdn/MLJJ3IGC.js +4 -0
  387. package/dist/cdn/MOY6JRMR.js +4 -0
  388. package/dist/cdn/MPVND2JQ.js +4 -0
  389. package/dist/cdn/MQ3KASNU.js +4 -0
  390. package/dist/cdn/MRMJEAPU.js +4 -0
  391. package/dist/cdn/MTKAJ2UC.js +4 -0
  392. package/dist/cdn/MUBTO5M7.js +4 -0
  393. package/dist/cdn/MUOOFFN7.js +4 -0
  394. package/dist/cdn/MVXEUSNJ.js +4 -0
  395. package/dist/cdn/MWFPJBKF.js +4 -0
  396. package/dist/cdn/MXQVYJBT.js +4 -0
  397. package/dist/cdn/N4S7WSGX.js +4 -0
  398. package/dist/cdn/N5Q2MT5V.js +4 -0
  399. package/dist/cdn/N6F7K3VU.js +4 -0
  400. package/dist/cdn/NAGPFHAF.js +4 -0
  401. package/dist/cdn/NBAKPIUY.js +4 -0
  402. package/dist/cdn/NBM7H66N.js +4 -0
  403. package/dist/cdn/ND53SHCA.js +4 -0
  404. package/dist/cdn/ND7SOVND.js +4 -0
  405. package/dist/cdn/NG3RFV4T.js +4 -0
  406. package/dist/cdn/NKLWSZOP.js +4 -0
  407. package/dist/cdn/NNA6XH77.js +4 -0
  408. package/dist/cdn/NOEO726A.js +4 -0
  409. package/dist/cdn/NPA24ENI.js +4 -0
  410. package/dist/cdn/NRM2ESPE.js +4 -0
  411. package/dist/cdn/NTN4UIFJ.js +4 -0
  412. package/dist/cdn/NVDXTQEU.js +4 -0
  413. package/dist/cdn/NWGT43LW.js +4 -0
  414. package/dist/cdn/NWWVU4RO.js +4 -0
  415. package/dist/cdn/NXGMFB55.js +4 -0
  416. package/dist/cdn/NXZVTM34.js +4 -0
  417. package/dist/cdn/O2C3MRFT.js +4 -0
  418. package/dist/cdn/O2GV47HA.js +4 -0
  419. package/dist/cdn/O4L3QINZ.js +4 -0
  420. package/dist/cdn/O4NSEVT7.js +4 -0
  421. package/dist/cdn/O6PPIDLQ.js +4 -0
  422. package/dist/cdn/ODSCCE7A.js +4 -0
  423. package/dist/cdn/OFCXHDB3.js +4 -0
  424. package/dist/cdn/OHHDV3S4.js +4 -0
  425. package/dist/cdn/OIKQFR5I.js +4 -0
  426. package/dist/cdn/OINWMC3E.js +4 -0
  427. package/dist/cdn/OJFZLIDU.js +4 -0
  428. package/dist/cdn/OJGHH4YO.js +4 -0
  429. package/dist/cdn/OJIWEM6E.js +4 -0
  430. package/dist/cdn/OMBJ3DTS.js +4 -0
  431. package/dist/cdn/ON5ALCFY.js +4 -0
  432. package/dist/cdn/ONZCVAGQ.js +4 -0
  433. package/dist/cdn/OOXTNKP7.js +4 -0
  434. package/dist/cdn/OPFRTMMQ.js +4 -0
  435. package/dist/cdn/OQDTXDFH.js +4 -0
  436. package/dist/cdn/ORXZCL2E.js +4 -0
  437. package/dist/cdn/OTSKZIQH.js +4 -0
  438. package/dist/cdn/OVJAU6MK.js +25 -0
  439. package/dist/cdn/OWROFPED.js +4 -0
  440. package/dist/cdn/OWUZYZRM.js +4 -0
  441. package/dist/cdn/P2XYAMH7.js +4 -0
  442. package/dist/cdn/P3UAGHLB.js +4 -0
  443. package/dist/cdn/P7KNZNDY.js +4 -0
  444. package/dist/cdn/PB3NSJ37.js +4 -0
  445. package/dist/cdn/PCCUMVCX.js +4 -0
  446. package/dist/cdn/PCHS2C6S.js +4 -0
  447. package/dist/cdn/PCYCECJV.js +4 -0
  448. package/dist/cdn/PEKESFSW.js +4 -0
  449. package/dist/cdn/PFMAUJER.js +4 -0
  450. package/dist/cdn/PI7L5DKI.js +4 -0
  451. package/dist/cdn/PIIRLRL5.js +4 -0
  452. package/dist/cdn/PMCWLLH5.js +4 -0
  453. package/dist/cdn/PPTR3Z66.js +4 -0
  454. package/dist/cdn/PROCYGKO.js +4 -0
  455. package/dist/cdn/PRWZMHI3.js +4 -0
  456. package/dist/cdn/PRXNQ7XS.js +4 -0
  457. package/dist/cdn/PULSJIOG.js +4 -0
  458. package/dist/cdn/PWMRM5CT.js +12 -0
  459. package/dist/cdn/PWQ7L4BT.js +4 -0
  460. package/dist/cdn/PXAEPVKU.js +4 -0
  461. package/dist/cdn/PXV4MQL6.js +4 -0
  462. package/dist/cdn/Q34RRDZW.js +4 -0
  463. package/dist/cdn/QASSRHLK.js +4 -0
  464. package/dist/cdn/QAWR6PDZ.js +4 -0
  465. package/dist/cdn/QBPVHJA4.js +4 -0
  466. package/dist/cdn/QD3G4VMT.js +4 -0
  467. package/dist/cdn/QE6YNV6B.js +4 -0
  468. package/dist/cdn/QEKCY57G.js +4 -0
  469. package/dist/cdn/QET3JS5Z.js +4 -0
  470. package/dist/cdn/QFSNF3WZ.js +4 -0
  471. package/dist/cdn/QG4K6FYB.js +4 -0
  472. package/dist/cdn/QHKM7MWI.js +4 -0
  473. package/dist/cdn/QPDEHB4M.js +4 -0
  474. package/dist/cdn/QRJWUUWE.js +4 -0
  475. package/dist/cdn/QSJXFZA6.js +4 -0
  476. package/dist/cdn/QTC45KHS.js +4 -0
  477. package/dist/cdn/QTQIBRRA.js +4 -0
  478. package/dist/cdn/QUOFYSPG.js +4 -0
  479. package/dist/cdn/QWFJA5D7.js +4 -0
  480. package/dist/cdn/QWKP7JEG.js +4 -0
  481. package/dist/cdn/QZKFARDR.js +4 -0
  482. package/dist/cdn/QZPN53AL.js +4 -0
  483. package/dist/cdn/QZROLQJV.js +5 -0
  484. package/dist/cdn/R3Q4MJ27.js +4 -0
  485. package/dist/cdn/R6E6BOUQ.js +4 -0
  486. package/dist/cdn/R6V3GOQ6.js +4 -0
  487. package/dist/cdn/R6ZGXRFG.js +4 -0
  488. package/dist/cdn/R7F6NMSF.js +4 -0
  489. package/dist/cdn/RCZRA247.js +4 -0
  490. package/dist/cdn/RDRFYBLS.js +4 -0
  491. package/dist/cdn/REISEF5F.js +4 -0
  492. package/dist/cdn/RHO5U5RQ.js +4 -0
  493. package/dist/cdn/RKXQD3Z6.js +4 -0
  494. package/dist/cdn/RNGZHPFP.js +4 -0
  495. package/dist/cdn/RSAV2NLD.js +4 -0
  496. package/dist/cdn/RTGAN7WW.js +4 -0
  497. package/dist/cdn/RV7INUC6.js +4 -0
  498. package/dist/cdn/RVUDVHW5.js +4 -0
  499. package/dist/cdn/RZLWBUZJ.js +4 -0
  500. package/dist/cdn/S3L4VOV2.js +4 -0
  501. package/dist/cdn/S3Q5JTQS.js +4 -0
  502. package/dist/cdn/S3ZP2UMN.js +4 -0
  503. package/dist/cdn/S663XW2G.js +4 -0
  504. package/dist/cdn/SAABURA5.js +4 -0
  505. package/dist/cdn/SAMAOUNB.js +4 -0
  506. package/dist/cdn/SB4SUS7H.js +4 -0
  507. package/dist/cdn/SDDLGFNV.js +4 -0
  508. package/dist/cdn/SENOE674.js +4 -0
  509. package/dist/cdn/SHCUFSL2.js +4 -0
  510. package/dist/cdn/SKOWYNVX.js +4 -0
  511. package/dist/cdn/SNTIP3FF.js +4 -0
  512. package/dist/cdn/SNUJFOEY.js +4 -0
  513. package/dist/cdn/SPHJZQXW.js +4 -0
  514. package/dist/cdn/SQ3VQ4J3.js +4 -0
  515. package/dist/cdn/SRIBEDW7.js +4 -0
  516. package/dist/cdn/SUICMVFR.js +4 -0
  517. package/dist/cdn/SXNAMKLV.js +4 -0
  518. package/dist/cdn/SZHRBTWF.js +4 -0
  519. package/dist/cdn/T5JWMENF.js +4 -0
  520. package/dist/cdn/TAPWP7AC.js +4 -0
  521. package/dist/cdn/TD62VEE7.js +4 -0
  522. package/dist/cdn/TFSOWCTY.js +4 -0
  523. package/dist/cdn/TGAAIASD.js +4 -0
  524. package/dist/cdn/THRQ2LEP.js +4 -0
  525. package/dist/cdn/THUAHAUQ.js +4 -0
  526. package/dist/cdn/TIIIQ2UK.js +4 -0
  527. package/dist/cdn/TIKG5DJN.js +4 -0
  528. package/dist/cdn/TIVH36NO.js +4 -0
  529. package/dist/cdn/TJHP2D5A.js +4 -0
  530. package/dist/cdn/TJVJOC7L.js +4 -0
  531. package/dist/cdn/TLSIORAY.js +4 -0
  532. package/dist/cdn/TOJZUWSR.js +4 -0
  533. package/dist/cdn/TPKKCDHU.js +4 -0
  534. package/dist/cdn/TR52IHYE.js +4 -0
  535. package/dist/cdn/TSNAXVMJ.js +4 -0
  536. package/dist/cdn/TTOKBIRB.js +4 -0
  537. package/dist/cdn/TUFPRDEG.js +4 -0
  538. package/dist/cdn/TZUHTQNF.js +4 -0
  539. package/dist/cdn/U4BNJM3T.js +4 -0
  540. package/dist/cdn/U4PMKZR4.js +4 -0
  541. package/dist/cdn/U4XAIBB3.js +4 -0
  542. package/dist/cdn/UDKKYD3F.js +4 -0
  543. package/dist/cdn/UF5RYM3U.js +4 -0
  544. package/dist/cdn/ULD3HUJE.js +4 -0
  545. package/dist/cdn/ULN2HCVO.js +4 -0
  546. package/dist/cdn/UMMMSNZ4.js +4 -0
  547. package/dist/cdn/UMVDRYU4.js +4 -0
  548. package/dist/cdn/UN2NIGDT.js +4 -0
  549. package/dist/cdn/UOGBWBOS.js +4 -0
  550. package/dist/cdn/UPEQ5ECO.js +4 -0
  551. package/dist/cdn/UR3J6E4K.js +4 -0
  552. package/dist/cdn/V2QU4ERA.js +4 -0
  553. package/dist/cdn/V5JXDJLF.js +4 -0
  554. package/dist/cdn/V7GE2IYB.js +4 -0
  555. package/dist/cdn/VDD337AI.js +4 -0
  556. package/dist/cdn/VDRJAB5R.js +4 -0
  557. package/dist/cdn/VGNZJWFK.js +4 -0
  558. package/dist/cdn/VMS5AVMS.js +4 -0
  559. package/dist/cdn/VQYBKS5T.js +4 -0
  560. package/dist/cdn/VRARKVU6.js +4 -0
  561. package/dist/cdn/VSNPWBEA.js +4 -0
  562. package/dist/cdn/VTU2J77S.js +4 -0
  563. package/dist/cdn/VVS2S4QP.js +4 -0
  564. package/dist/cdn/VWYQ3WUQ.js +4 -0
  565. package/dist/cdn/W24FPRGY.js +4 -0
  566. package/dist/cdn/W25PEVVY.js +4 -0
  567. package/dist/cdn/W3WPLT4V.js +4 -0
  568. package/dist/cdn/W3XE4OHB.js +4 -0
  569. package/dist/cdn/W5MJZK3C.js +4 -0
  570. package/dist/cdn/W5SJJZHD.js +4 -0
  571. package/dist/cdn/W6ZJZVNH.js +4 -0
  572. package/dist/cdn/WAVFYVUJ.js +4 -0
  573. package/dist/cdn/WBUAETHB.js +4 -0
  574. package/dist/cdn/WCPHI6B3.js +4 -0
  575. package/dist/cdn/WDHIQQOP.js +4 -0
  576. package/dist/cdn/WDHMXVI2.js +4 -0
  577. package/dist/cdn/WDSVJ2KE.js +4 -0
  578. package/dist/cdn/WDZTG4LA.js +4 -0
  579. package/dist/cdn/WF4GEC2O.js +4 -0
  580. package/dist/cdn/WFHEXSJV.js +4 -0
  581. package/dist/cdn/WFL73TBI.js +4 -0
  582. package/dist/cdn/WGT5GAZK.js +4 -0
  583. package/dist/cdn/WJVB5HHU.js +4 -0
  584. package/dist/cdn/WL56WUP3.js +4 -0
  585. package/dist/cdn/WLADUQDP.js +4 -0
  586. package/dist/cdn/WMPGV6RM.js +4 -0
  587. package/dist/cdn/WOGFGQVX.js +4 -0
  588. package/dist/cdn/WPDBDBL2.js +4 -0
  589. package/dist/cdn/WR55OZTA.js +4 -0
  590. package/dist/cdn/WRRDJX5C.js +5470 -0
  591. package/dist/cdn/WSYQNJ4E.js +4 -0
  592. package/dist/cdn/WTGAH5VU.js +4 -0
  593. package/dist/cdn/WTQMC2CT.js +4 -0
  594. package/dist/cdn/WUYBF24V.js +4 -0
  595. package/dist/cdn/WVNFZESW.js +4 -0
  596. package/dist/cdn/WWCJWW6L.js +4 -0
  597. package/dist/cdn/X2JS6UVJ.js +4 -0
  598. package/dist/cdn/X5KQWUCT.js +4 -0
  599. package/dist/cdn/X63HHROV.js +4 -0
  600. package/dist/cdn/XAZRJMA4.js +4 -0
  601. package/dist/cdn/XCJIPSDA.js +4 -0
  602. package/dist/cdn/XCZJ4WLS.js +4 -0
  603. package/dist/cdn/XDC53GZJ.js +4 -0
  604. package/dist/cdn/XDJBEJ6B.js +4 -0
  605. package/dist/cdn/XDME5LSZ.js +4 -0
  606. package/dist/cdn/XEQL3BXY.js +4 -0
  607. package/dist/cdn/XGCCIGLJ.js +4 -0
  608. package/dist/cdn/XJGOFZ5B.js +5 -0
  609. package/dist/cdn/XJYXW6V7.js +4 -0
  610. package/dist/cdn/XL4LT25W.js +4 -0
  611. package/dist/cdn/XNT34EXE.js +4 -0
  612. package/dist/cdn/XPKVD2K6.js +4 -0
  613. package/dist/cdn/XPOBRACF.js +4 -0
  614. package/dist/cdn/XQVRF5PF.js +4 -0
  615. package/dist/cdn/XSBDBYHG.js +4 -0
  616. package/dist/cdn/XTLNUIDA.js +4 -0
  617. package/dist/cdn/XTVKZ3MY.js +4 -0
  618. package/dist/cdn/XVMK5CYH.js +4 -0
  619. package/dist/cdn/XWQNAAPX.js +4 -0
  620. package/dist/cdn/XX56UOMV.js +4 -0
  621. package/dist/cdn/Y2G2AP6U.js +4 -0
  622. package/dist/cdn/Y2MCRSF6.js +4 -0
  623. package/dist/cdn/Y2V2JYKO.js +11 -0
  624. package/dist/cdn/YCJSGNA7.js +4 -0
  625. package/dist/cdn/YDJLE25F.js +4 -0
  626. package/dist/cdn/YEBH5R35.js +4 -0
  627. package/dist/cdn/YFKFDXE7.js +4 -0
  628. package/dist/cdn/YGIDMZTG.js +4 -0
  629. package/dist/cdn/YHTL5UJQ.js +4 -0
  630. package/dist/cdn/YJRYQN3I.js +4 -0
  631. package/dist/cdn/YKYFDNBY.js +4 -0
  632. package/dist/cdn/YNSPL4E3.js +4 -0
  633. package/dist/cdn/YRCVD36M.js +4 -0
  634. package/dist/cdn/YS223CT5.js +4 -0
  635. package/dist/cdn/YT5R2ZYE.js +4 -0
  636. package/dist/cdn/YTRCLOGU.js +4 -0
  637. package/dist/cdn/YWNKOOG5.js +4 -0
  638. package/dist/cdn/YXECHA23.js +4 -0
  639. package/dist/cdn/Z4Y4J4L6.js +4 -0
  640. package/dist/cdn/Z57AEWZJ.js +4 -0
  641. package/dist/cdn/ZBIWKTMX.js +4 -0
  642. package/dist/cdn/ZCFEC733.js +4 -0
  643. package/dist/cdn/ZF5TXBZL.js +4 -0
  644. package/dist/cdn/ZGPACHSH.js +4 -0
  645. package/dist/cdn/ZIQSWKPV.js +4 -0
  646. package/dist/cdn/ZLHNG33N.js +4 -0
  647. package/dist/cdn/ZLRZDKXK.js +4 -0
  648. package/dist/cdn/ZMAQSP62.js +4 -0
  649. package/dist/cdn/ZMQQQWHE.js +4 -0
  650. package/dist/cdn/ZMUXILPQ.js +4 -0
  651. package/dist/cdn/ZRFD6PQO.js +4 -0
  652. package/dist/cdn/ZV5WRN5U.js +4 -0
  653. package/dist/cdn/ZVOJP4AP.js +4 -0
  654. package/dist/cdn/ZWM6SNRH.js +4 -0
  655. package/dist/cdn/ZWYU2CVR.js +41 -0
  656. package/dist/cdn/ZYVLZZEJ.js +4 -0
  657. package/dist/cdn/ZZN5Z3NB.js +4 -0
  658. package/dist/cdn/assets/chat-ui/t9n/messages.en.json +1 -1
  659. package/dist/cdn/assets/hub-entity-status-card/t9n/messages.en.json +1 -1
  660. package/dist/cdn/assets/layout-container/t9n/messages.en.json +1 -1
  661. package/dist/cdn/index.js +3 -3
  662. package/dist/cdn/main.css +1 -1
  663. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  664. package/dist/chunks/getResponsiveClasses.js +2 -2
  665. package/dist/chunks/interpolate-translations.js +338 -237
  666. package/dist/chunks/isNodeVisible.js +2 -2
  667. package/dist/chunks/layoutContext.js +2 -2
  668. package/dist/chunks/migrateTextCard.js +2 -2
  669. package/dist/chunks/processLayout.js +109 -75
  670. package/dist/chunks/runtime.js +3 -3
  671. package/dist/chunks/state.js +2 -2
  672. package/dist/chunks/typeGuards.js +2 -2
  673. package/dist/chunks/useGlobalContext.js +2 -2
  674. package/dist/chunks/useT9n.js +2 -2
  675. package/dist/chunks/util.js +2 -2
  676. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  677. package/dist/components/arcgis-chat-ui/customElement.js +23 -17
  678. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  679. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-entity-associations-card/customElement.d.ts +7 -8
  682. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +15 -42
  683. package/dist/components/arcgis-hub-entity-metrics-card/customElement.d.ts +6 -8
  684. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +18 -48
  685. package/dist/components/arcgis-hub-entity-status-card/customElement.d.ts +5 -11
  686. package/dist/components/arcgis-hub-entity-status-card/customElement.js +12 -38
  687. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  688. package/dist/components/arcgis-layout/customElement.d.ts +6 -1
  689. package/dist/components/arcgis-layout/customElement.js +2 -2
  690. package/dist/components/arcgis-layout-column/customElement.d.ts +1 -1
  691. package/dist/components/arcgis-layout-column/customElement.js +2 -2
  692. package/dist/components/arcgis-layout-container/customElement.d.ts +7 -2
  693. package/dist/components/arcgis-layout-container/customElement.js +83 -77
  694. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
  695. package/dist/components/arcgis-layout-node-controls/customElement.js +15 -15
  696. package/dist/components/arcgis-layout-node-editor/customElement.js +15 -15
  697. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  698. package/dist/components/arcgis-layout-node-wrapper/customElement.d.ts +2 -2
  699. package/dist/components/arcgis-layout-node-wrapper/customElement.js +43 -130
  700. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  701. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  702. package/dist/components/arcgis-nav-card/customElement.d.ts +1 -2
  703. package/dist/components/arcgis-nav-card/customElement.js +16 -34
  704. package/dist/components/arcgis-text-card/customElement.d.ts +1 -8
  705. package/dist/components/arcgis-text-card/customElement.js +16 -70
  706. package/dist/components/layouts/components/layout-node/customElement.js +2 -2
  707. package/dist/components/layouts/utils/getAddableLayoutNodes.d.ts +9 -19
  708. package/dist/components/layouts/utils/getLayoutNodeConfig.d.ts +8 -10
  709. package/dist/components/layouts/utils/getLayoutNodeConfigs.d.ts +16 -0
  710. package/dist/components/layouts/utils/layout-event-types.d.ts +2 -3
  711. package/dist/components/layouts/utils/layoutContext.d.ts +21 -11
  712. package/dist/docs/api.json +482 -561
  713. package/dist/docs/docs.json +497 -624
  714. package/dist/docs/vscode.html-custom-data.json +35 -35
  715. package/dist/docs/web-types.json +130 -154
  716. package/dist/embed-config.js +2 -2
  717. package/dist/index.d.ts +33 -33
  718. package/dist/index.js +2 -2
  719. package/dist/loader.js +10 -10
  720. package/dist/types/lumina.d.ts +17 -17
  721. package/dist/types/preact.d.ts +20 -20
  722. package/dist/types/react.d.ts +23 -23
  723. package/dist/types/stencil.d.ts +17 -17
  724. package/package.json +2 -2
  725. package/dist/cdn/23JPUXNK.js +0 -4
  726. package/dist/cdn/25FJGGRB.js +0 -4
  727. package/dist/cdn/26EPYWTB.js +0 -4
  728. package/dist/cdn/2AJOTAFS.js +0 -4
  729. package/dist/cdn/2B5UGJMQ.js +0 -4
  730. package/dist/cdn/2CHGZOJR.js +0 -4
  731. package/dist/cdn/2DALOKTQ.js +0 -4
  732. package/dist/cdn/2DCVH2PR.js +0 -4
  733. package/dist/cdn/2DGZ32SB.js +0 -4
  734. package/dist/cdn/2EQKBHS3.js +0 -4
  735. package/dist/cdn/2FXQQRWI.js +0 -4
  736. package/dist/cdn/2GCQLA63.js +0 -4
  737. package/dist/cdn/2I5BVRCK.js +0 -4
  738. package/dist/cdn/2IRFXXTD.js +0 -4
  739. package/dist/cdn/2JHASL5Y.js +0 -4
  740. package/dist/cdn/2JNGRIDQ.js +0 -4
  741. package/dist/cdn/2P3U3VOC.js +0 -8
  742. package/dist/cdn/2PZGB3JU.js +0 -4
  743. package/dist/cdn/2RCKG3CQ.js +0 -4
  744. package/dist/cdn/2S66DRXQ.js +0 -4
  745. package/dist/cdn/2SKPT7TG.js +0 -4
  746. package/dist/cdn/2V3QV3A7.js +0 -4
  747. package/dist/cdn/2VWWSTG7.js +0 -4
  748. package/dist/cdn/2XIKZVSN.js +0 -4
  749. package/dist/cdn/2YE6KJV3.js +0 -4
  750. package/dist/cdn/2YQRLMGV.js +0 -4
  751. package/dist/cdn/2ZLTJZJ2.js +0 -4
  752. package/dist/cdn/32RYLCFS.js +0 -4
  753. package/dist/cdn/34HCVMBS.js +0 -4
  754. package/dist/cdn/34WEKZQT.js +0 -4
  755. package/dist/cdn/3DNV7HFQ.js +0 -4
  756. package/dist/cdn/3EAZOASN.js +0 -4
  757. package/dist/cdn/3G524G7A.js +0 -4
  758. package/dist/cdn/3GRGTXIG.js +0 -4
  759. package/dist/cdn/3HCUPVGE.js +0 -4
  760. package/dist/cdn/3HWL4ATP.js +0 -4
  761. package/dist/cdn/3MILC4OQ.js +0 -4
  762. package/dist/cdn/3MVQHZBD.js +0 -4
  763. package/dist/cdn/3NAXVLQW.js +0 -4
  764. package/dist/cdn/3NHJQ6JK.js +0 -4
  765. package/dist/cdn/3OMQMBAG.js +0 -4
  766. package/dist/cdn/3PDS5NJ3.js +0 -4
  767. package/dist/cdn/3PNKURHK.js +0 -4
  768. package/dist/cdn/3RDENW2F.js +0 -4
  769. package/dist/cdn/3RJ3LAYF.js +0 -4
  770. package/dist/cdn/3T7KH3VF.js +0 -4
  771. package/dist/cdn/3U3RQGSV.js +0 -4
  772. package/dist/cdn/3XRQPQS4.js +0 -4
  773. package/dist/cdn/3YFUJPDA.js +0 -4
  774. package/dist/cdn/42AL72S6.js +0 -4
  775. package/dist/cdn/42KV37UX.js +0 -4
  776. package/dist/cdn/42NJCFLX.js +0 -4
  777. package/dist/cdn/4636SCFX.js +0 -4
  778. package/dist/cdn/46QBGEVT.js +0 -4
  779. package/dist/cdn/47AOYGML.js +0 -4
  780. package/dist/cdn/47BLT7I6.js +0 -4
  781. package/dist/cdn/4CX3XEBS.js +0 -4
  782. package/dist/cdn/4D54TOME.js +0 -4
  783. package/dist/cdn/4ECSIMIJ.js +0 -4
  784. package/dist/cdn/4JHJPVSO.js +0 -4
  785. package/dist/cdn/4MOX6RN2.js +0 -4
  786. package/dist/cdn/4PE2NFOC.js +0 -5
  787. package/dist/cdn/4QIE5C6J.js +0 -4
  788. package/dist/cdn/4RBVRP7C.js +0 -4
  789. package/dist/cdn/4SHR4EIA.js +0 -4
  790. package/dist/cdn/4SXLQPAL.js +0 -4
  791. package/dist/cdn/4WKW2K7F.js +0 -4
  792. package/dist/cdn/52O6MQE3.js +0 -4
  793. package/dist/cdn/56LH3MBZ.js +0 -4
  794. package/dist/cdn/56ZFWKVR.js +0 -4
  795. package/dist/cdn/57F2CSS4.js +0 -4
  796. package/dist/cdn/57FJR6LN.js +0 -4
  797. package/dist/cdn/5BYHIXHF.js +0 -4
  798. package/dist/cdn/5CNVOUYD.js +0 -4
  799. package/dist/cdn/5DRRJGCQ.js +0 -4
  800. package/dist/cdn/5G7TJS7G.js +0 -4
  801. package/dist/cdn/5J7NKERQ.js +0 -4
  802. package/dist/cdn/5JLWI2I6.js +0 -4
  803. package/dist/cdn/5NKW7FRV.js +0 -4
  804. package/dist/cdn/5NL2SUBB.js +0 -4
  805. package/dist/cdn/5PCKYS3X.js +0 -4
  806. package/dist/cdn/5PDVGEVF.js +0 -4
  807. package/dist/cdn/5STWV6U5.js +0 -4
  808. package/dist/cdn/5TR33WUP.js +0 -4
  809. package/dist/cdn/5UXKYIJ6.js +0 -4
  810. package/dist/cdn/5V63GZLE.js +0 -4
  811. package/dist/cdn/5VWZMU3L.js +0 -4
  812. package/dist/cdn/5VXAFENN.js +0 -4
  813. package/dist/cdn/5WQWUHZK.js +0 -5
  814. package/dist/cdn/5XTTHOH5.js +0 -4
  815. package/dist/cdn/5Z3NVE5J.js +0 -4
  816. package/dist/cdn/5Z5YFIMI.js +0 -4
  817. package/dist/cdn/5ZSLDJQO.js +0 -4
  818. package/dist/cdn/62L4LQCX.js +0 -4
  819. package/dist/cdn/63HABJDG.js +0 -4
  820. package/dist/cdn/67DCVMVK.js +0 -4
  821. package/dist/cdn/67IAEX4S.js +0 -4
  822. package/dist/cdn/6AWHSDWL.js +0 -4
  823. package/dist/cdn/6CLPH27S.js +0 -4
  824. package/dist/cdn/6CNPVTYM.js +0 -4
  825. package/dist/cdn/6EOXPOGL.js +0 -5
  826. package/dist/cdn/6ESUKQOB.js +0 -4
  827. package/dist/cdn/6H3NMBO5.js +0 -4
  828. package/dist/cdn/6I6OGFWM.js +0 -4
  829. package/dist/cdn/6JZ7LDCM.js +0 -4
  830. package/dist/cdn/6VFSWLHH.js +0 -4
  831. package/dist/cdn/6VGAFV3N.js +0 -4
  832. package/dist/cdn/6VP7IARD.js +0 -4
  833. package/dist/cdn/6YSCNFX7.js +0 -4
  834. package/dist/cdn/6ZGKSLRF.js +0 -4
  835. package/dist/cdn/72LQLPCT.js +0 -4
  836. package/dist/cdn/73CB2DM5.js +0 -4
  837. package/dist/cdn/73Q7OYLK.js +0 -4
  838. package/dist/cdn/75HVV2LK.js +0 -4
  839. package/dist/cdn/7D4LU2RZ.js +0 -4
  840. package/dist/cdn/7HW4PPEX.js +0 -4
  841. package/dist/cdn/7J2CBACO.js +0 -4
  842. package/dist/cdn/7JF2GUKZ.js +0 -4
  843. package/dist/cdn/7LZQYKEZ.js +0 -6
  844. package/dist/cdn/7NHHXT7P.js +0 -4
  845. package/dist/cdn/7OHMQPCQ.js +0 -4
  846. package/dist/cdn/7OSQTTEE.js +0 -4
  847. package/dist/cdn/7PF7MB3P.js +0 -4
  848. package/dist/cdn/7QEGDTY3.js +0 -4
  849. package/dist/cdn/7QID6H2U.js +0 -4
  850. package/dist/cdn/7ROWM7MH.js +0 -4
  851. package/dist/cdn/7U7G6MHG.js +0 -4
  852. package/dist/cdn/7XMGDEII.js +0 -4
  853. package/dist/cdn/A3JQBNV4.js +0 -4
  854. package/dist/cdn/A5FAI6UY.js +0 -4
  855. package/dist/cdn/A75BVZT4.js +0 -4
  856. package/dist/cdn/AAF5HTR4.js +0 -4
  857. package/dist/cdn/AB4EE3PA.js +0 -4
  858. package/dist/cdn/AD36YEIA.js +0 -4
  859. package/dist/cdn/ADDFEVAO.js +0 -4
  860. package/dist/cdn/AEYSZDX3.js +0 -4
  861. package/dist/cdn/AFXAJJVP.js +0 -4
  862. package/dist/cdn/AIERUU2E.js +0 -4
  863. package/dist/cdn/AKIMTFYI.js +0 -4
  864. package/dist/cdn/AL2SY7HZ.js +0 -4
  865. package/dist/cdn/AMXAJNPC.js +0 -4
  866. package/dist/cdn/APGDOLTC.js +0 -4
  867. package/dist/cdn/APGLP6DP.js +0 -4
  868. package/dist/cdn/APHYRV6A.js +0 -4
  869. package/dist/cdn/AQB3NCRV.js +0 -4
  870. package/dist/cdn/ARCEGVDQ.js +0 -4
  871. package/dist/cdn/AXW4MXGE.js +0 -4
  872. package/dist/cdn/AYJ7CQD2.js +0 -4
  873. package/dist/cdn/B3TIRFFD.js +0 -4
  874. package/dist/cdn/B7NE6QFQ.js +0 -4
  875. package/dist/cdn/BA3BSTEZ.js +0 -4
  876. package/dist/cdn/BCAMD6XM.js +0 -4
  877. package/dist/cdn/BD7TUXVT.js +0 -4
  878. package/dist/cdn/BEKHGHHS.js +0 -4
  879. package/dist/cdn/BGX2H2TE.js +0 -6
  880. package/dist/cdn/BH3Y5WEV.js +0 -4
  881. package/dist/cdn/BI3BH3EN.js +0 -4
  882. package/dist/cdn/BIBW6XK2.js +0 -4
  883. package/dist/cdn/BIRTJAV5.js +0 -12
  884. package/dist/cdn/BJVQP4PR.js +0 -4
  885. package/dist/cdn/BKV6TWHW.js +0 -4
  886. package/dist/cdn/BLKOANDQ.js +0 -4
  887. package/dist/cdn/BLSA7SM2.js +0 -4
  888. package/dist/cdn/BM3YXZG2.js +0 -4
  889. package/dist/cdn/BP3MHXV6.js +0 -4
  890. package/dist/cdn/BPLG2NKF.js +0 -4
  891. package/dist/cdn/BQ6W72PC.js +0 -4
  892. package/dist/cdn/BSHAFNY6.js +0 -5470
  893. package/dist/cdn/BWUIQIGB.js +0 -4
  894. package/dist/cdn/BX5J5IO3.js +0 -4
  895. package/dist/cdn/BYL2YWRW.js +0 -4
  896. package/dist/cdn/BZ6ERMGI.js +0 -4
  897. package/dist/cdn/C4IIEZLG.js +0 -4
  898. package/dist/cdn/C4RL3XAX.js +0 -8
  899. package/dist/cdn/C6VYFNV5.js +0 -4
  900. package/dist/cdn/CAKGN3EB.js +0 -4
  901. package/dist/cdn/CCQ57AWJ.js +0 -4
  902. package/dist/cdn/CEUQ7LJ7.js +0 -4
  903. package/dist/cdn/CFL2M3A4.js +0 -4
  904. package/dist/cdn/CFVTSIZD.js +0 -4
  905. package/dist/cdn/CHB546SW.js +0 -4
  906. package/dist/cdn/CHRC4GKW.js +0 -4
  907. package/dist/cdn/CIWUNYVD.js +0 -4
  908. package/dist/cdn/CJ3OKNGV.js +0 -4
  909. package/dist/cdn/CL2B3YGA.js +0 -4
  910. package/dist/cdn/CLKOJLZJ.js +0 -59
  911. package/dist/cdn/CLUBUBSW.js +0 -4
  912. package/dist/cdn/CMECOREW.js +0 -4
  913. package/dist/cdn/CMPCHRYD.js +0 -4
  914. package/dist/cdn/CNFBHYYP.js +0 -4
  915. package/dist/cdn/COJGDYBU.js +0 -4
  916. package/dist/cdn/COUSG7CA.js +0 -4
  917. package/dist/cdn/CP34GWGX.js +0 -4
  918. package/dist/cdn/CPPROWKF.js +0 -4
  919. package/dist/cdn/CPY2VOXB.js +0 -4
  920. package/dist/cdn/CRWNNBVS.js +0 -4
  921. package/dist/cdn/CWNNMY4H.js +0 -4
  922. package/dist/cdn/D2GWEX6J.js +0 -4
  923. package/dist/cdn/DAR7ZME7.js +0 -4
  924. package/dist/cdn/DASVNBUL.js +0 -5
  925. package/dist/cdn/DC6YGZZJ.js +0 -4
  926. package/dist/cdn/DCC7A7ZW.js +0 -4
  927. package/dist/cdn/DCFGBT2M.js +0 -4
  928. package/dist/cdn/DEW5RC5J.js +0 -4
  929. package/dist/cdn/DGBLEDQY.js +0 -4
  930. package/dist/cdn/DHIVPOTF.js +0 -4
  931. package/dist/cdn/DHNNQRY4.js +0 -4
  932. package/dist/cdn/DJFFGA2A.js +0 -4
  933. package/dist/cdn/DJLXLYQU.js +0 -4
  934. package/dist/cdn/DTSC2TFP.js +0 -4
  935. package/dist/cdn/E24Z3MD4.js +0 -4
  936. package/dist/cdn/EAYMTVRR.js +0 -4
  937. package/dist/cdn/EBACRQED.js +0 -4
  938. package/dist/cdn/ECNB72QV.js +0 -4
  939. package/dist/cdn/EDWIHAJL.js +0 -4
  940. package/dist/cdn/EE5S4L2M.js +0 -4
  941. package/dist/cdn/EE7334HA.js +0 -4
  942. package/dist/cdn/EGPDIMIB.js +0 -4
  943. package/dist/cdn/EIC3A33T.js +0 -4
  944. package/dist/cdn/EIZWJYQ6.js +0 -4
  945. package/dist/cdn/EJE54YUW.js +0 -4
  946. package/dist/cdn/EJKN3JDI.js +0 -9
  947. package/dist/cdn/EMTNDON3.js +0 -4
  948. package/dist/cdn/ENC53FVH.js +0 -4
  949. package/dist/cdn/ENLNGPT7.js +0 -4
  950. package/dist/cdn/EO6JMAVT.js +0 -4
  951. package/dist/cdn/EQ5Q4C25.js +0 -4
  952. package/dist/cdn/EQ7I7GQS.js +0 -4
  953. package/dist/cdn/EUJMNFNN.js +0 -4
  954. package/dist/cdn/EUJXIWSK.js +0 -4
  955. package/dist/cdn/EVN6Y5EF.js +0 -4
  956. package/dist/cdn/EXFFF2TM.js +0 -4
  957. package/dist/cdn/EYMJI27A.js +0 -4
  958. package/dist/cdn/F2FVDSEA.js +0 -4
  959. package/dist/cdn/F2P7E3P3.js +0 -4
  960. package/dist/cdn/F2UKS4SM.js +0 -4
  961. package/dist/cdn/F2VWXXCE.js +0 -4
  962. package/dist/cdn/F3I5MFUW.js +0 -51
  963. package/dist/cdn/F3WYSNJT.js +0 -4
  964. package/dist/cdn/F4LNAFCS.js +0 -4
  965. package/dist/cdn/F6TG5PKM.js +0 -4
  966. package/dist/cdn/F73WMMZ7.js +0 -4
  967. package/dist/cdn/F7NBXH7M.js +0 -4
  968. package/dist/cdn/FASQUYUB.js +0 -4
  969. package/dist/cdn/FBLKAJF2.js +0 -4
  970. package/dist/cdn/FCKOVD6A.js +0 -4
  971. package/dist/cdn/FD7CCYFD.js +0 -11
  972. package/dist/cdn/FHIZNEWV.js +0 -4
  973. package/dist/cdn/FHTYJIRZ.js +0 -4
  974. package/dist/cdn/FKNJHLND.js +0 -4
  975. package/dist/cdn/FKUUDSJR.js +0 -4
  976. package/dist/cdn/FNHYG44K.js +0 -5
  977. package/dist/cdn/FNKBNYEE.js +0 -4
  978. package/dist/cdn/FNS2OZIK.js +0 -4
  979. package/dist/cdn/FR6GGAZL.js +0 -4
  980. package/dist/cdn/FS22QFVB.js +0 -4
  981. package/dist/cdn/FS7BEW6J.js +0 -4
  982. package/dist/cdn/FSEDFO3Y.js +0 -4
  983. package/dist/cdn/FSWBXBXW.js +0 -4
  984. package/dist/cdn/FTBY7HBF.js +0 -4
  985. package/dist/cdn/FUEA2EJZ.js +0 -4
  986. package/dist/cdn/FUWHVFAL.js +0 -4
  987. package/dist/cdn/FVVTKFSI.js +0 -4
  988. package/dist/cdn/FWLMX53R.js +0 -4
  989. package/dist/cdn/FXLRUDEY.js +0 -4
  990. package/dist/cdn/FXVEJKV7.js +0 -4
  991. package/dist/cdn/FYNEG5C6.js +0 -4
  992. package/dist/cdn/FYTJF7G5.js +0 -4
  993. package/dist/cdn/G36XFI2R.js +0 -4
  994. package/dist/cdn/G3IIC265.js +0 -41
  995. package/dist/cdn/G3WKXLUC.js +0 -4
  996. package/dist/cdn/G4EDJODO.js +0 -4
  997. package/dist/cdn/G6AWLNLY.js +0 -4
  998. package/dist/cdn/G6JHE7DD.js +0 -4
  999. package/dist/cdn/G7DKNE7L.js +0 -4
  1000. package/dist/cdn/GB3YPGDM.js +0 -4
  1001. package/dist/cdn/GCVUWOYM.js +0 -4
  1002. package/dist/cdn/GE52CGQ2.js +0 -4
  1003. package/dist/cdn/GEINNE2H.js +0 -4
  1004. package/dist/cdn/GHVFP6H3.js +0 -4
  1005. package/dist/cdn/GHZMJ2PX.js +0 -4
  1006. package/dist/cdn/GJD7NYCZ.js +0 -4
  1007. package/dist/cdn/GKTEYJ26.js +0 -4
  1008. package/dist/cdn/GKXVTLMF.js +0 -4
  1009. package/dist/cdn/GLIXAR6O.js +0 -4
  1010. package/dist/cdn/GMPSDNMM.js +0 -4
  1011. package/dist/cdn/GOK5SA4C.js +0 -4
  1012. package/dist/cdn/GOU6E2C7.js +0 -4
  1013. package/dist/cdn/GOWEUB2T.js +0 -4
  1014. package/dist/cdn/GP22E7EM.js +0 -4
  1015. package/dist/cdn/GPCVBTST.js +0 -4
  1016. package/dist/cdn/GPNREVQL.js +0 -4
  1017. package/dist/cdn/GPRLZPTI.js +0 -4
  1018. package/dist/cdn/GRTEBYAH.js +0 -4
  1019. package/dist/cdn/GS2XW2HH.js +0 -4
  1020. package/dist/cdn/GSQQJXBG.js +0 -4
  1021. package/dist/cdn/GTW5S6WM.js +0 -4
  1022. package/dist/cdn/GVYZU2AS.js +0 -4
  1023. package/dist/cdn/H5A2GX5C.js +0 -4
  1024. package/dist/cdn/H6WC2UV4.js +0 -4
  1025. package/dist/cdn/HAJHGFLO.js +0 -4
  1026. package/dist/cdn/HCYR4GSX.js +0 -4
  1027. package/dist/cdn/HDBBQCLU.js +0 -4
  1028. package/dist/cdn/HFYVNYO2.js +0 -4
  1029. package/dist/cdn/HHV44SS7.js +0 -4
  1030. package/dist/cdn/HIEIXVPZ.js +0 -4
  1031. package/dist/cdn/HKDYEJIJ.js +0 -4
  1032. package/dist/cdn/HN6DUTHI.js +0 -4
  1033. package/dist/cdn/HNDVIEIM.js +0 -4
  1034. package/dist/cdn/HNK26QGO.js +0 -4
  1035. package/dist/cdn/HO7ISHZH.js +0 -4
  1036. package/dist/cdn/HRDOTL6Y.js +0 -4
  1037. package/dist/cdn/HTM5MB6W.js +0 -4
  1038. package/dist/cdn/HXTGNPTC.js +0 -4
  1039. package/dist/cdn/I477JRTF.js +0 -4
  1040. package/dist/cdn/I5QNYRNS.js +0 -4
  1041. package/dist/cdn/I6PS53OG.js +0 -4
  1042. package/dist/cdn/I7OL4TW6.js +0 -4
  1043. package/dist/cdn/I7WICGOM.js +0 -4
  1044. package/dist/cdn/IFJC2HL7.js +0 -4
  1045. package/dist/cdn/IGYUCXHV.js +0 -4
  1046. package/dist/cdn/IHS4XDUE.js +0 -4
  1047. package/dist/cdn/IK7KJ5GG.js +0 -4
  1048. package/dist/cdn/INRPCZPN.js +0 -4
  1049. package/dist/cdn/IOO4QZP2.js +0 -4
  1050. package/dist/cdn/IT3EVYVM.js +0 -4
  1051. package/dist/cdn/IUW6AI55.js +0 -4
  1052. package/dist/cdn/IVCQU7VO.js +0 -4
  1053. package/dist/cdn/IVL33QHB.js +0 -4
  1054. package/dist/cdn/IYIVSVYU.js +0 -4
  1055. package/dist/cdn/J34TQAYV.js +0 -4
  1056. package/dist/cdn/J5EOH6S6.js +0 -4
  1057. package/dist/cdn/J6HEDKAP.js +0 -4
  1058. package/dist/cdn/J7PC6VNP.js +0 -4
  1059. package/dist/cdn/J7RCUHL5.js +0 -4
  1060. package/dist/cdn/JAGBJ26H.js +0 -4
  1061. package/dist/cdn/JBAQQFUK.js +0 -4
  1062. package/dist/cdn/JCQNQ5EW.js +0 -4
  1063. package/dist/cdn/JDCHUADH.js +0 -4
  1064. package/dist/cdn/JE344T6E.js +0 -4
  1065. package/dist/cdn/JGFPJ7R7.js +0 -12
  1066. package/dist/cdn/JI6YQKOO.js +0 -4
  1067. package/dist/cdn/JIQHY66R.js +0 -4
  1068. package/dist/cdn/JLXMDNYI.js +0 -4
  1069. package/dist/cdn/JMZKJ4F7.js +0 -4
  1070. package/dist/cdn/JORXTCGI.js +0 -4
  1071. package/dist/cdn/JPKU2WM2.js +0 -4
  1072. package/dist/cdn/JQGVEY7V.js +0 -4
  1073. package/dist/cdn/JQYJKQYD.js +0 -4
  1074. package/dist/cdn/JSIBM6GH.js +0 -4
  1075. package/dist/cdn/JWKJ2ZKX.js +0 -4
  1076. package/dist/cdn/K2EXK65N.js +0 -4
  1077. package/dist/cdn/K7RX6AK6.js +0 -4
  1078. package/dist/cdn/KAGOLIYO.js +0 -4
  1079. package/dist/cdn/KAOBE4EI.js +0 -4
  1080. package/dist/cdn/KCSDHYEX.js +0 -4
  1081. package/dist/cdn/KE2RAVJH.js +0 -4
  1082. package/dist/cdn/KHDOGVWM.js +0 -4
  1083. package/dist/cdn/KHTIEXGC.js +0 -4
  1084. package/dist/cdn/KIL2LVMF.js +0 -4
  1085. package/dist/cdn/KJBONKTE.js +0 -4
  1086. package/dist/cdn/KLR2XNAI.js +0 -4
  1087. package/dist/cdn/KLXK2AI7.js +0 -4
  1088. package/dist/cdn/KMCQA2LL.js +0 -4
  1089. package/dist/cdn/KOEGO7J5.js +0 -4
  1090. package/dist/cdn/KOGJRYRD.js +0 -4
  1091. package/dist/cdn/KQEGZP5E.js +0 -4
  1092. package/dist/cdn/KS43POHI.js +0 -4
  1093. package/dist/cdn/KYFW7WTX.js +0 -4
  1094. package/dist/cdn/KZMQSHE4.js +0 -4
  1095. package/dist/cdn/LAGW3BRK.js +0 -4
  1096. package/dist/cdn/LBPBZWMT.js +0 -4
  1097. package/dist/cdn/LE6ART4S.js +0 -4
  1098. package/dist/cdn/LGWD5IFJ.js +0 -4
  1099. package/dist/cdn/LHHCJOLI.js +0 -4
  1100. package/dist/cdn/LN5YZ4WE.js +0 -4
  1101. package/dist/cdn/LNSLFZBV.js +0 -4
  1102. package/dist/cdn/LPGOBZ5E.js +0 -4
  1103. package/dist/cdn/LPPNCQTB.js +0 -4
  1104. package/dist/cdn/LRN42UH3.js +0 -4
  1105. package/dist/cdn/LS2SN7YU.js +0 -4
  1106. package/dist/cdn/LSUZUJCT.js +0 -4
  1107. package/dist/cdn/LXU77SLN.js +0 -4
  1108. package/dist/cdn/LYO2HDDW.js +0 -4
  1109. package/dist/cdn/LYYBNUDP.js +0 -4
  1110. package/dist/cdn/MASBT6R5.js +0 -4
  1111. package/dist/cdn/MASXXYCI.js +0 -4
  1112. package/dist/cdn/MBBLBR6H.js +0 -4
  1113. package/dist/cdn/MBOJZQDV.js +0 -4
  1114. package/dist/cdn/MBTTZ4AZ.js +0 -4
  1115. package/dist/cdn/MEFKUWL4.js +0 -4
  1116. package/dist/cdn/MGQAX3BN.js +0 -4
  1117. package/dist/cdn/MJEX7NEU.js +0 -4
  1118. package/dist/cdn/MPLU3LUD.js +0 -4
  1119. package/dist/cdn/MPYJEEPG.js +0 -4
  1120. package/dist/cdn/MQOUUQ2S.js +0 -4
  1121. package/dist/cdn/MTAJP2XY.js +0 -4
  1122. package/dist/cdn/MUF3CNTM.js +0 -4
  1123. package/dist/cdn/MVPTSJSP.js +0 -4
  1124. package/dist/cdn/MW2UGGJC.js +0 -4
  1125. package/dist/cdn/MWPFQX72.js +0 -4
  1126. package/dist/cdn/MX6CUETE.js +0 -4
  1127. package/dist/cdn/MZWTLYAM.js +0 -4
  1128. package/dist/cdn/N2BDZNEC.js +0 -4
  1129. package/dist/cdn/N4LNJHEQ.js +0 -4
  1130. package/dist/cdn/N5KRSEC6.js +0 -4
  1131. package/dist/cdn/N64G7ADI.js +0 -4
  1132. package/dist/cdn/N6LEVBTX.js +0 -4
  1133. package/dist/cdn/N6VH27MN.js +0 -4
  1134. package/dist/cdn/NBKN2WQ4.js +0 -4
  1135. package/dist/cdn/NCJNLKUS.js +0 -4
  1136. package/dist/cdn/NFCUHJDO.js +0 -4
  1137. package/dist/cdn/NFNAOMQW.js +0 -4
  1138. package/dist/cdn/NH2IDP76.js +0 -4
  1139. package/dist/cdn/NHIFCAC6.js +0 -4
  1140. package/dist/cdn/NJELTWPE.js +0 -4
  1141. package/dist/cdn/NJQNPXHO.js +0 -4
  1142. package/dist/cdn/NMQA6D7P.js +0 -6
  1143. package/dist/cdn/NOMZGDTQ.js +0 -4
  1144. package/dist/cdn/NQ4UT6TQ.js +0 -4
  1145. package/dist/cdn/NROBKY4U.js +0 -4
  1146. package/dist/cdn/NSJBUWDW.js +0 -4
  1147. package/dist/cdn/NT4DY2AT.js +0 -4
  1148. package/dist/cdn/NUMYYCYO.js +0 -4
  1149. package/dist/cdn/NUQTUWBZ.js +0 -4
  1150. package/dist/cdn/NV7MZ6HX.js +0 -4
  1151. package/dist/cdn/NVETBW2H.js +0 -4
  1152. package/dist/cdn/NVZRASJH.js +0 -4
  1153. package/dist/cdn/NWZXK2CC.js +0 -4
  1154. package/dist/cdn/NXD63H3M.js +0 -4
  1155. package/dist/cdn/NXNCTL4I.js +0 -4
  1156. package/dist/cdn/O4NILMNJ.js +0 -4
  1157. package/dist/cdn/O6R6M22J.js +0 -4
  1158. package/dist/cdn/OA42ZXJC.js +0 -4
  1159. package/dist/cdn/OACG7B7N.js +0 -4
  1160. package/dist/cdn/OB5B6FFH.js +0 -4
  1161. package/dist/cdn/OBUJLKFO.js +0 -4
  1162. package/dist/cdn/OD3IUEDC.js +0 -4
  1163. package/dist/cdn/ODEPOYPS.js +0 -4
  1164. package/dist/cdn/OHLMZ3P2.js +0 -4
  1165. package/dist/cdn/OINASMNQ.js +0 -4
  1166. package/dist/cdn/ORG5GU7I.js +0 -4
  1167. package/dist/cdn/OTLDLXK7.js +0 -4
  1168. package/dist/cdn/OVTA35U7.js +0 -4
  1169. package/dist/cdn/OVUP6RUC.js +0 -4
  1170. package/dist/cdn/OVUPC744.js +0 -4
  1171. package/dist/cdn/OWEDPGRR.js +0 -4
  1172. package/dist/cdn/OWPDDTFM.js +0 -4
  1173. package/dist/cdn/OWUUWZUQ.js +0 -4
  1174. package/dist/cdn/OX3IMMVZ.js +0 -4
  1175. package/dist/cdn/P2L3WL5Z.js +0 -4
  1176. package/dist/cdn/P2M7JNEV.js +0 -4
  1177. package/dist/cdn/P2WTS2FC.js +0 -4
  1178. package/dist/cdn/P7PZEO55.js +0 -4
  1179. package/dist/cdn/PCUDHCU3.js +0 -4
  1180. package/dist/cdn/PF4JUT3T.js +0 -4
  1181. package/dist/cdn/PFWGLOLD.js +0 -4
  1182. package/dist/cdn/PHPRBO34.js +0 -4
  1183. package/dist/cdn/PHU4K57H.js +0 -4
  1184. package/dist/cdn/PHWIFCQ2.js +0 -42
  1185. package/dist/cdn/PKDVVONR.js +0 -4
  1186. package/dist/cdn/PMAW5AKZ.js +0 -4
  1187. package/dist/cdn/POU4C3MX.js +0 -4
  1188. package/dist/cdn/PUJBUJCS.js +0 -4
  1189. package/dist/cdn/Q246XXVV.js +0 -4
  1190. package/dist/cdn/Q3OYXH33.js +0 -4
  1191. package/dist/cdn/Q4W5ETDV.js +0 -4
  1192. package/dist/cdn/Q5QWIH55.js +0 -4
  1193. package/dist/cdn/Q6TROHX5.js +0 -4
  1194. package/dist/cdn/QBR3RHPG.js +0 -4
  1195. package/dist/cdn/QD5TA26C.js +0 -24
  1196. package/dist/cdn/QGJCNXMI.js +0 -4
  1197. package/dist/cdn/QJ4FNT3K.js +0 -4
  1198. package/dist/cdn/QJWJZVE7.js +0 -4
  1199. package/dist/cdn/QL4PQIYT.js +0 -4
  1200. package/dist/cdn/QM6SW57B.js +0 -4
  1201. package/dist/cdn/QMIXSJ5E.js +0 -4
  1202. package/dist/cdn/QMYPLLOC.js +0 -4
  1203. package/dist/cdn/QN5OBUAN.js +0 -4
  1204. package/dist/cdn/QW2ZKGQ3.js +0 -16
  1205. package/dist/cdn/QY7644GQ.js +0 -4
  1206. package/dist/cdn/QZCKZ3ZF.js +0 -4
  1207. package/dist/cdn/R24TDCEN.js +0 -4
  1208. package/dist/cdn/R2MTF2JT.js +0 -4
  1209. package/dist/cdn/R2WNKUFX.js +0 -4
  1210. package/dist/cdn/R3JJRHRI.js +0 -4
  1211. package/dist/cdn/R3QTM5Q2.js +0 -4
  1212. package/dist/cdn/R7QHRT6V.js +0 -4
  1213. package/dist/cdn/R7QLFZP4.js +0 -4
  1214. package/dist/cdn/RBCN52NK.js +0 -4
  1215. package/dist/cdn/RBYGKPW6.js +0 -4
  1216. package/dist/cdn/RD4MTFSQ.js +0 -4
  1217. package/dist/cdn/RDM7KNTU.js +0 -4
  1218. package/dist/cdn/RDP65CYX.js +0 -4
  1219. package/dist/cdn/RDXEB3J2.js +0 -4
  1220. package/dist/cdn/REQUEVY7.js +0 -4
  1221. package/dist/cdn/RGTFEQ4E.js +0 -4
  1222. package/dist/cdn/RI7WOHR4.js +0 -4
  1223. package/dist/cdn/RLM2I7EZ.js +0 -4
  1224. package/dist/cdn/RLU2F5ZD.js +0 -4
  1225. package/dist/cdn/RNJVANY2.js +0 -4
  1226. package/dist/cdn/RPPEB5BH.js +0 -59
  1227. package/dist/cdn/RPQMQN5O.js +0 -4
  1228. package/dist/cdn/RQTSSWUR.js +0 -4
  1229. package/dist/cdn/RRGJHSKO.js +0 -4
  1230. package/dist/cdn/RWSB3C36.js +0 -4
  1231. package/dist/cdn/RWSHCDJE.js +0 -4
  1232. package/dist/cdn/RX2C65P6.js +0 -4
  1233. package/dist/cdn/RXXMEG6P.js +0 -4
  1234. package/dist/cdn/S27QSRJZ.js +0 -4
  1235. package/dist/cdn/S2VRCXFD.js +0 -4
  1236. package/dist/cdn/S4LTO7UW.js +0 -4
  1237. package/dist/cdn/S7RLOMDO.js +0 -4
  1238. package/dist/cdn/SBBCVOPY.js +0 -4
  1239. package/dist/cdn/SCDXAHEM.js +0 -4
  1240. package/dist/cdn/SCNCJGEG.js +0 -4
  1241. package/dist/cdn/SDABMELA.js +0 -4
  1242. package/dist/cdn/SE3NN2MM.js +0 -4
  1243. package/dist/cdn/SED5MW3A.js +0 -4
  1244. package/dist/cdn/SGAM3T3O.js +0 -4
  1245. package/dist/cdn/SGJC7VEK.js +0 -4
  1246. package/dist/cdn/SILQZDEA.js +0 -4
  1247. package/dist/cdn/SJ6QJCW3.js +0 -4
  1248. package/dist/cdn/SK3H6C7B.js +0 -4
  1249. package/dist/cdn/SL63MHTG.js +0 -4
  1250. package/dist/cdn/SLZE4C5B.js +0 -4
  1251. package/dist/cdn/SMIHE76O.js +0 -4
  1252. package/dist/cdn/SNQAVGXZ.js +0 -4
  1253. package/dist/cdn/SQBFG3QO.js +0 -4
  1254. package/dist/cdn/SRDURE3G.js +0 -4
  1255. package/dist/cdn/STI2UNCV.js +0 -4
  1256. package/dist/cdn/SUCN6LJN.js +0 -4
  1257. package/dist/cdn/SXCKUIRS.js +0 -4
  1258. package/dist/cdn/SXO3OVYY.js +0 -4
  1259. package/dist/cdn/T3XVN2LJ.js +0 -4
  1260. package/dist/cdn/T46CWVDY.js +0 -4
  1261. package/dist/cdn/T4NVJI3N.js +0 -4
  1262. package/dist/cdn/TCF4UI7U.js +0 -4
  1263. package/dist/cdn/TDMBRP6E.js +0 -4
  1264. package/dist/cdn/TDTWYCKR.js +0 -4
  1265. package/dist/cdn/TIFLJGRV.js +0 -4
  1266. package/dist/cdn/TKBKXOT4.js +0 -4
  1267. package/dist/cdn/TS3OPCBA.js +0 -4
  1268. package/dist/cdn/TTYNLDLC.js +0 -4
  1269. package/dist/cdn/TWDTMM3T.js +0 -4
  1270. package/dist/cdn/TX2Y43U2.js +0 -4
  1271. package/dist/cdn/TYKPBN7Q.js +0 -4
  1272. package/dist/cdn/TYKZWD4E.js +0 -4
  1273. package/dist/cdn/TYL6OXOC.js +0 -4
  1274. package/dist/cdn/TZPYVYFY.js +0 -4
  1275. package/dist/cdn/U276HDQ6.js +0 -4
  1276. package/dist/cdn/U4ATVL3A.js +0 -4
  1277. package/dist/cdn/U6SM54O2.js +0 -4
  1278. package/dist/cdn/U77Y7EAA.js +0 -4
  1279. package/dist/cdn/U7PQRAMC.js +0 -4
  1280. package/dist/cdn/UD67Z3QR.js +0 -4
  1281. package/dist/cdn/UDROILP3.js +0 -4
  1282. package/dist/cdn/UHUZQQ2F.js +0 -4
  1283. package/dist/cdn/UNTA4CB2.js +0 -4
  1284. package/dist/cdn/UQ25QA44.js +0 -4
  1285. package/dist/cdn/UQ52RLWJ.js +0 -4
  1286. package/dist/cdn/UQP5JL26.js +0 -4
  1287. package/dist/cdn/URJJGTY3.js +0 -4
  1288. package/dist/cdn/UUIQ57YD.js +0 -4
  1289. package/dist/cdn/UV7QVCUS.js +0 -4
  1290. package/dist/cdn/UWUXKSYJ.js +0 -4
  1291. package/dist/cdn/V3OGJVDH.js +0 -4
  1292. package/dist/cdn/V4EH44WJ.js +0 -4
  1293. package/dist/cdn/V56NSXHI.js +0 -4
  1294. package/dist/cdn/V7F3EVV2.js +0 -4
  1295. package/dist/cdn/VA623H7F.js +0 -4
  1296. package/dist/cdn/VEYBB4EX.js +0 -4
  1297. package/dist/cdn/VGFSLZFK.js +0 -4
  1298. package/dist/cdn/VKII53FF.js +0 -4
  1299. package/dist/cdn/VMGVH3GA.js +0 -4
  1300. package/dist/cdn/VPFFXHB3.js +0 -4
  1301. package/dist/cdn/VPKZEDPB.js +0 -4
  1302. package/dist/cdn/VPWSX24P.js +0 -4
  1303. package/dist/cdn/VUZV47IK.js +0 -4
  1304. package/dist/cdn/VVHHIKVK.js +0 -4
  1305. package/dist/cdn/VW7GMUPV.js +0 -4
  1306. package/dist/cdn/VYALMBGZ.js +0 -4
  1307. package/dist/cdn/W4SNOBDM.js +0 -4
  1308. package/dist/cdn/WCVJ6F5S.js +0 -4
  1309. package/dist/cdn/WDKLKPQR.js +0 -4
  1310. package/dist/cdn/WDOO4EKU.js +0 -4
  1311. package/dist/cdn/WHPXA3WS.js +0 -4
  1312. package/dist/cdn/WI5F7V5U.js +0 -5
  1313. package/dist/cdn/WJL6WU6X.js +0 -4
  1314. package/dist/cdn/WKATIS7A.js +0 -4
  1315. package/dist/cdn/WNBXHTC2.js +0 -4
  1316. package/dist/cdn/WNPHKSBU.js +0 -4
  1317. package/dist/cdn/WNQFVKXA.js +0 -4
  1318. package/dist/cdn/WO5VWTMZ.js +0 -4
  1319. package/dist/cdn/WSDPZFXJ.js +0 -4
  1320. package/dist/cdn/WUEICZEU.js +0 -4
  1321. package/dist/cdn/WWHXOTSK.js +0 -4
  1322. package/dist/cdn/WWXI7LGQ.js +0 -4
  1323. package/dist/cdn/X2C6MXEW.js +0 -4
  1324. package/dist/cdn/X4KIWVEJ.js +0 -4
  1325. package/dist/cdn/X55XHJYV.js +0 -4
  1326. package/dist/cdn/X6S7BXE3.js +0 -4
  1327. package/dist/cdn/XAE5VLBQ.js +0 -4
  1328. package/dist/cdn/XAKDTU6D.js +0 -4
  1329. package/dist/cdn/XEVOJXTS.js +0 -4
  1330. package/dist/cdn/XGXTERGD.js +0 -4
  1331. package/dist/cdn/XI6YOURW.js +0 -4
  1332. package/dist/cdn/XIO6OBFS.js +0 -4
  1333. package/dist/cdn/XJ2OLORK.js +0 -4
  1334. package/dist/cdn/XKMF2MJX.js +0 -25
  1335. package/dist/cdn/XLIBYRRK.js +0 -4
  1336. package/dist/cdn/XNAA6A4R.js +0 -4
  1337. package/dist/cdn/XQ525XUY.js +0 -4
  1338. package/dist/cdn/XRHTPVGO.js +0 -4
  1339. package/dist/cdn/XTV5YZQ7.js +0 -4
  1340. package/dist/cdn/XU6GDISF.js +0 -4
  1341. package/dist/cdn/XU6ZRDKM.js +0 -4
  1342. package/dist/cdn/XUDCT7MJ.js +0 -4
  1343. package/dist/cdn/XVMCOPEZ.js +0 -4
  1344. package/dist/cdn/XXFHS7XP.js +0 -4
  1345. package/dist/cdn/Y3PLWXCO.js +0 -4
  1346. package/dist/cdn/Y523JU4I.js +0 -4
  1347. package/dist/cdn/Y66HJPSR.js +0 -4
  1348. package/dist/cdn/Y6SKEO2W.js +0 -4
  1349. package/dist/cdn/Y7HPQZA4.js +0 -4
  1350. package/dist/cdn/YBJRNYO6.js +0 -4
  1351. package/dist/cdn/YBOQ6FWP.js +0 -4
  1352. package/dist/cdn/YDGM2OLJ.js +0 -4
  1353. package/dist/cdn/YE6ONPWW.js +0 -4
  1354. package/dist/cdn/YHOEBLVY.js +0 -4
  1355. package/dist/cdn/YLW3TO5D.js +0 -4
  1356. package/dist/cdn/YMIGNY2C.js +0 -4
  1357. package/dist/cdn/YMLWLHY2.js +0 -4
  1358. package/dist/cdn/YO4ADRP6.js +0 -4
  1359. package/dist/cdn/YOED5CMC.js +0 -4
  1360. package/dist/cdn/YPFU4OKP.js +0 -4
  1361. package/dist/cdn/YQTHJA3P.js +0 -4
  1362. package/dist/cdn/YRQSSUST.js +0 -4
  1363. package/dist/cdn/YT3NTJ5V.js +0 -4
  1364. package/dist/cdn/YTEYO73C.js +0 -4
  1365. package/dist/cdn/YVAQC6SH.js +0 -4
  1366. package/dist/cdn/YWM7YLU3.js +0 -4
  1367. package/dist/cdn/Z7DPSUVB.js +0 -4
  1368. package/dist/cdn/Z7UQO5WC.js +0 -4
  1369. package/dist/cdn/ZAQEUWGT.js +0 -4
  1370. package/dist/cdn/ZBIDCE5B.js +0 -4
  1371. package/dist/cdn/ZEVOUREM.js +0 -4
  1372. package/dist/cdn/ZF4WTQSN.js +0 -52
  1373. package/dist/cdn/ZFLAEMVX.js +0 -4
  1374. package/dist/cdn/ZGYDMRG4.js +0 -4
  1375. package/dist/cdn/ZGYXTG4K.js +0 -4
  1376. package/dist/cdn/ZIGOXYK7.js +0 -4
  1377. package/dist/cdn/ZNBHLIDV.js +0 -4
  1378. package/dist/cdn/ZRDIFJTX.js +0 -4
  1379. package/dist/cdn/ZSUQWT2Z.js +0 -4
  1380. package/dist/cdn/ZWWTI7OO.js +0 -4
  1381. package/dist/cdn/ZXX7LWW2.js +0 -4
  1382. package/dist/cdn/ZYAYYTNI.js +0 -4
  1383. package/dist/cdn/assets/hub-entity-associations-card/t9n/messages.en.json +0 -1
  1384. package/dist/cdn/assets/hub-entity-metrics-card/t9n/messages.en.json +0 -1
  1385. package/dist/cdn/assets/text-card/t9n/messages.en.json +0 -1
  1386. package/dist/chunks/memoizeAsync.js +0 -43
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{g as r}from"./BIHMO2ZC.js";function n(e){return e==="Feature Service"?"data":e?r(e):"file"}export{n as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as k,b as A,c as S,d as $,e as I}from"./SKOWYNVX.js";import"./YWNKOOG5.js";import"./DW26JCKP.js";import"./4I66LN2R.js";import"./DDVHYAWC.js";import"./XJGOFZ5B.js";import"./O4NSEVT7.js";import{e as d}from"./EYAOQCFG.js";import"./3G7Q5WGR.js";import"./3IPRWUXP.js";import"./NVDXTQEU.js";import{a as N}from"./BXCYRZYX.js";import"./67F3LJ2M.js";import"./EJXJ4XVO.js";import{h as E}from"./E6UUFVPC.js";import"./6NP7ZDHW.js";import"./P7KNZNDY.js";import"./7GUQVBK7.js";import"./DBE2FQPW.js";import"./P2XYAMH7.js";import"./K2BLNQZL.js";import"./QSJXFZA6.js";import"./5PE7MPGP.js";import"./M2QENR2B.js";import"./OPFRTMMQ.js";import"./H4HC7J3K.js";import{a as j,b as H,c as u,d as P,f as T,h as L}from"./3BHRKA4G.js";import"./HJLGO4RD.js";import"./A2U2VT6L.js";import"./KFZ3LO3B.js";import{j as w}from"./5INX5FCX.js";import{o as x}from"./QE6YNV6B.js";import"./G4XLS45R.js";import"./XQVRF5PF.js";import"./XDME5LSZ.js";import{a as M}from"./N6F7K3VU.js";import{a as O}from"./OVJAU6MK.js";import"./CN7Y66EN.js";import"./PCHS2C6S.js";import"./OINWMC3E.js";import"./FNCR3T4I.js";import{b as n,c as f,d as D,e as h,h as U,i as p}from"./M4BJTUFK.js";import{a as C}from"./AGKWAXLF.js";import{a as y}from"./AJL2CHHK.js";import{a as v}from"./VVS2S4QP.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";export default $arcgis.t(([])=>{var B=":host{display:block}",F=B,b=(t,e)=>{P(t.context),e&&k(t)},V=class{constructor(t){p(this,t),this.signInCompleted=h(this,"arcgisAppIdentitySignedIn",7),this.signOutCompleted=h(this,"arcgisAppIdentitySignedOut",7),this.clientId=void 0,this.redirectUri=void 0,this.popup=!0,this.persist=!0,this.features=void 0,this.flags={},this.portal="https://www.arcgis.com",this.mode="html",this.contextManager=void 0}async portalUpdated(){this.contextManager=await d.create({portalUrl:this.portal,featureFlags:this.flags}),b(this.contextManager,this.persist)}get sharingApiUrl(){return`${this.portal}/sharing/rest`}async onSignInHandler(t){let{clientId:e,portal:i,redirectUri:s,sharingApiUrl:o}=this;console.info(`app-identity: Caught start signin event. Using ${o}, ${e}`,t);let r=!1,a=e,l=await N.beginOAuth2({clientId:e,pkce:r,portal:o,redirectUri:s,state:a});this.contextManager=await d.create({portalUrl:i,authentication:l,featureFlags:this.flags}),b(this.contextManager,this.persist),console.info(`app-identity: sign-in complete: emitting ArcGISContext ${this.contextManager.id}`),this.signInCompleted.emit(this.contextManager.context)}async onSignOutHandler(){console.info(`app-identity: sign-out for ${this.contextManager.id}`),this.contextManager.clearAuthentication(),b(this.contextManager,this.persist),console.info(`app-identity: sign-out complete. ${this.contextManager.id} isAuthenticated? ${this.contextManager.context.isAuthenticated}`),this.signOutCompleted.emit(this.contextManager.context)}componentWillLoad(){console.info("app-identity: componentWillLoad"),this.mode==="html"&&!this.contextManager&&(console.info("app-identity: creating ArcGISContext based on attrs..."),this._initContextManager(),console.info("app-identity: created."))}componentWillRender(){var t;console.info("app-identity: componentWillRender");let e=(t=this.contextManager)===null||t===void 0?void 0:t.context;e?.isAuthenticated&&this.mode==="html"&&(console.info("app-identity: rendered, emitting signInCompleted w ArcGISContext"),this.signInCompleted.emit(e))}componentDidRender(){var t;console.info("app-identity: componentDidRender");let e=(t=this.contextManager)===null||t===void 0?void 0:t.context;e?.isAuthenticated&&this.mode==="html"&&(console.info("app-identity: rendered, emitting signInCompleted w ArcGISContext"),this.signInCompleted.emit(e))}render(){return n(f,{key:"c1567cbbb6ebfd0022e02d45e8857ac11795e1a9"},n("slot",{key:"bfcf8651bda86edf101b0dced4024b37d3256217"}))}async _initContextManager(){let t=u(),i=t&&await d.create({authentication:t.session,portalUrl:t.portalUrl,portal:t.portal,currentUser:t.currentUser,trustedOrgs:t.trustedOrgs,trustedOrgIds:t.trustedOrgIds,featureFlags:t.featureFlags,properties:t.properties,serviceStatus:t.serviceStatus})||(this.persist?await A():void 0);this.contextManager=i||await d.create({portalUrl:this.portal}),b(this.contextManager,this.persist)}static get watchers(){return{portal:["portalUpdated"]}}};V.style=F;function z(t,e){return!t?.places||t.places.some(i=>typeof i=="string"?i===e:i.test(e))}function q(t){let e=new Date,i=!t?.startDate||new Date(t.startDate)<=e,s=!t?.endDate||e<=new Date(t.endDate);return i&&s}function K(t,e){return!t?.permissions||t.permissions.every(i=>x(i.permission,e).access===i.access)}var X=(t,e,i,s)=>n("div",{class:"section"},n("h4",null,t(`${e}sections.${i}.heading`)),n("ul",null,[...Array(s)].map((o,r)=>n("li",{key:r},t(`${e}sections.${i}.bullets.${r}`))))),J=({notice:t,t:e})=>{let i=`notice.${t.id}.message.`,s=4,o=2;return n("div",null,n("p",null,e(`${i}p1`)),[...Array(s)].map((r,a)=>X(e,i,a,o)),n("p",null,e(`${i}p2`)),n("p",null,e(`${i}p3`)),n("p",null,n("a",{href:"https://doc.arcgis.com/en/hub/get-started/sign-in.htm"},e(`${i}docLink`))))},Q=(t,e,i,s)=>n("div",{class:"section"},n("h4",null,t(`${e}sections.${i}.heading`)),n("ul",null,[...Array(s)].map((o,r)=>n("li",{key:r},t(`${e}sections.${i}.bullets.${r}`))))),Z=({notice:t,t:e,context:i})=>{let s=`notice.${t.id}.message.`,o=v(i,"portal.helpBase"),a=(v(i,"portal.enterpriseVersion")||"12.0.0").split(".").slice(0,2).join("."),l="https://enterprise.arcgis.com/en/sites";o&&(l=`${window.location.origin}${o}sites/${a}`);let g=`${l}/get-started/about-this-application.htm`,m=2,c=2;return n("div",null,n("p",null,e(`${s}p1`)),[...Array(m)].map((_,R)=>Q(e,s,R,c)),n("p",null,n("a",{href:g},e(`${s}docLink`))))},Y=({notice:t,t:e})=>{let i=`notice.${t.id}.message.`;return n("div",null,n("p",null,e(`${i}p1`)),n("p",null,e(`${i}p2`)),n("ul",null,[...Array(4)].map((o,r)=>n("li",{key:r},e(`${i}bullets.${r}`)))),n("p",null,e(`${i}p3`)))},tt=({notice:t,t:e})=>{let i=`notice.${t.id}.message.`;return n("div",null,n("p",null,e(`${i}p1`)),n("p",null,e(`${i}p2`)),n("p",null,e(`${i}p3`)))},et=({notice:t,t:e})=>{let i=`notice.${t.id}.message.`;return n("div",null,n("p",null,e(`${i}p1`)))},it=Object.freeze({__proto__:null,WorkspacesWelcome:J,WorkspacesWelcomeEnt:Z,WorkspacesOptin:Y,TestingAccessGate:tt,MigratedCatalog:et}),nt=":host{display:block}slot[name='actions']{display:flex;gap:0.75rem}calcite-dialog:not([calcite-hydrated]) *{display:none}.popover-reference{display:inline-block}.popover-content{padding:0.75rem}.popover-content slot[name='actions']:has(*){margin-top:1rem}",st=nt,ot=class{constructor(t){p(this,t),this.arcgisHubNoticeClose=h(this,"arcgisHubNoticeClose",7),this.hubTelemetry=h(this,"hubTelemetry",7),this.shouldDismiss=!1,this.translationFunc=(e,i,s)=>this.intl.t(e,i,s),this.noticeId=void 0,this.notice=void 0,this.popoverReferenceElement=void 0,this.place=void 0,this.popoverRef=void 0,M(this,"closeNotice","handleActionClick","onNoticeClose","onNoticeOpen","onDismissChecked","setNoticeElement")}get _context(){return u()}async componentWillLoad(){this.intl=await O.loadIntlForComponent(this.element)}componentShouldUpdate(t,e,i){let s=t!==e;return i==="notice"&&(s=t.id!==e.id),s}get _notice(){return this.notice||j(this.noticeId,this._context)}get shouldShowNotice(){var t,e,i,s;let o=!(!((t=this._notice)===null||t===void 0)&&t.deleted),r=z(this._notice,this.place),a=q(this._notice),l=K(this._notice,this._context),g=!(!((e=this._notice)===null||e===void 0)&&e.dismissable)||$((i=this._notice)===null||i===void 0?void 0:i.id,this._context),m=!!this._notice&&o&&r&&a&&l&&(!this._notice.dismissable||g);if(!m){let c=[];this._notice||c.push("notice not specified or not found in config"),o||c.push("notice is marked as deleted"),r||c.push("place does not match"),a||c.push("dates do not match"),l||c.push("permissions do not match"),g||c.push("notice is dismissable and has been dismissed");let _=`Notice ${(s=this._notice)===null||s===void 0?void 0:s.id} not shown: ${c.join(", ")}`;C.debug(_)}return m}_resetNotice(){return I(this._notice.id,this._context)}setNoticeElement(t){this.noticeElement=t}onDismissChecked(t){let{checked:e,name:i}=t.target;this[i]=e}async onNoticeClose(){var t,e,i,s;let o;return!((t=this._notice.telemetry)===null||t===void 0)&&t.close&&this.hubTelemetry.emit(this._notice.telemetry.close),!((e=this._notice.callbacks)===null||e===void 0)&&e.onClose&&this._notice.callbacks.onClose(),this._notice.dismissable&&(((i=this._notice.configuration)===null||i===void 0?void 0:i.noticeType)!=="modal"||this.shouldDismiss)&&(!((s=this._notice.telemetry)===null||s===void 0)&&s.dismiss&&this.hubTelemetry.emit(this._notice.telemetry.dismiss),o=S(this._notice.id,this._context)),this.arcgisHubNoticeClose.emit(this._notice),o}async handleActionClick(t){let e=this._notice.actions[t.target.dataset.actionIndex],{href:i,target:s}=e;if(e.telemetry&&this.hubTelemetry.emit(e.telemetry),i){let o=i.startsWith("http");s==="_blank"||(o?(t.preventDefault(),await this.onNoticeClose(),w(i)):await this.closeNotice())}}closeNotice(){this.noticeElement&&(this.noticeElement.open=!1)}onNoticeOpen(){var t,e;!((t=this._notice.telemetry)===null||t===void 0)&&t.open&&this.hubTelemetry.emit(this._notice.telemetry.open),!((e=this._notice.callbacks)===null||e===void 0)&&e.onOpen&&this._notice.callbacks.onOpen()}getString(t){var e;let i=this.noticeId||this._notice.id,s=this._notice[t];if(t==="label"&&(s=(e=this._notice.configuration)===null||e===void 0?void 0:e[t]),s===void 0&&i&&t){let o=this._notice.intlValues,r="string-not-found";s=this.intl.t(`notice.${i}.${t}`,Object.assign({},o),{fallback:r}),s=s===r?void 0:s}return s}_renderAction(t,e){let i=`${this._notice.id}_${e}`,s=`notice.${this._notice.id}.actions.${e}.text`,o=t.ariaLabel||this.intl.t(s);return t.i18nAriaLabelKey&&(o=this.intl.t(`notice.${this._notice.id}.actions.${e}.${t.i18nAriaLabelKey}`)),t.buttonStyle?n("calcite-button",{appearance:t.buttonStyle,"data-action-index":e,disabled:t.disabled,href:t.href,iconEnd:t.icon,key:i,label:o,onClick:this.handleActionClick,round:!0,target:t.target},t.label||this.intl.t(s)):n("calcite-link",{"data-action":t.action,"data-action-index":e,disabled:t.disabled,href:t.href,iconEnd:t.target==="_blank"?"launch":null,iconStart:t.icon,key:i,label:o,onClick:this.handleActionClick,target:t.target},t.label||this.intl.t(s))}_renderActions(t){return this._notice.actions&&n("slot",{name:"actions",slot:t},(this._notice.actions||[]).map((e,i)=>this._renderAction(e,i)))}get _getAlertIconName(){var t;switch((t=this._notice.configuration)===null||t===void 0?void 0:t.kind){case"danger":case"warning":return"exclamation-mark-triangle";case"info":return"information";case"success":return"check-circle";case"brand":return"lightbulb"}}renderAlert(){let t=this.getString("title"),e=this.getString("label")||t,i={kind:"brand",scale:"m"},s={open:!0,placement:"top-end",label:e,width:"auto"},o=y(this._notice.configuration);o.icon=this._getAlertIconName;let r=Object.assign(Object.assign(Object.assign({},i),s),o);return n("calcite-alert",Object.assign({},r,{onCalciteAlertClose:this.onNoticeClose,onCalciteAlertOpen:this.onNoticeOpen,ref:this.setNoticeElement}),n("div",{slot:"title"},t),n("div",{innerHTML:this.getString("message"),slot:"message"}),this._renderActions("link"))}renderNotice(){let t={closable:!0,kind:"brand",scale:"m"},e={open:!0,width:"auto"},i=Object.assign(Object.assign(Object.assign({},t),this._notice.configuration),e),s=this.getString("title"),o=this.getString("message");return n("calcite-notice",Object.assign({},i,{onCalciteNoticeClose:this.onNoticeClose,onCalciteNoticeOpen:this.onNoticeOpen,ref:this.setNoticeElement}),s&&n("div",{slot:"title"},s),o&&n("div",{innerHTML:o,slot:"message"}),this._renderActions("link"))}_renderCloseButton(t){let{closeButtonStyle:e="outline",closeButtonI18nKey:i}=t.configuration,s=this.getString(i)||this.intl.t("modal.close");return n("calcite-button",{appearance:e,onClick:this.closeNotice,round:!0,slot:"footer-end"},s)}_renderModalBody(t){let e=this._notice.messageComponent,i=it[e];if(i)return n(i,{context:this._context,notice:t,t:this.translationFunc});{let s=this.getString("message");return n("div",{innerHTML:s})}}renderModal(){var t,e;let i={},s=Object.assign(Object.assign({},this._notice.configuration),{closeDisabled:(t=this._notice.configuration)===null||t===void 0?void 0:t.closeButtonDisabled,width:(e=this._notice.configuration)===null||e===void 0?void 0:e.widthScale}),o={modal:!0,open:!0},r=Object.assign(Object.assign(Object.assign({},i),s),o);return n("calcite-dialog",Object.assign({},r,{onCalciteDialogClose:this.onNoticeClose,onCalciteDialogOpen:this.onNoticeOpen,ref:this.setNoticeElement}),n("div",{slot:"header-content"},n("h3",null,this.getString("title"))),this._renderModalBody(this._notice),this._notice.dismissable&&n("calcite-label",{appearance:"clear",layout:"inline",slot:"footer-start"},n("calcite-checkbox",{checked:this.shouldDismiss,name:"shouldDismiss",onCalciteCheckboxChange:this.onDismissChecked}),this.intl.t("modal.dismiss")),this._renderActions("footer-end"),!r.closeDisabled&&this._renderCloseButton(this._notice))}renderPopover(){let t={closable:!0,scale:"m"},e={heading:this.getString("title")},i=Object.assign(Object.assign(Object.assign({},t),this._notice.configuration),e);return n(U,null,!this.popoverReferenceElement&&n("div",{class:"popover-reference",ref:s=>this.popoverRef=s},n("slot",{name:"popover-reference"})),(this.popoverReferenceElement||this.popoverRef)&&n("calcite-popover",Object.assign({},i,{onCalcitePopoverClose:this.onNoticeClose,onCalcitePopoverOpen:this.onNoticeOpen,ref:this.setNoticeElement,referenceElement:this.popoverReferenceElement||this.popoverRef}),n("div",{class:"popover-content"},n("div",{innerHTML:this.getString("message")}),this._renderActions(""))))}render(){var t;if(this.shouldShowNotice)switch((t=this._notice.configuration)===null||t===void 0?void 0:t.noticeType){case"notice":return this.renderNotice();case"alert":return this.renderAlert();case"modal":return this.renderModal();case"popover":return this.renderPopover();default:return null}}static get assetsDirs(){return["locales"]}get element(){return D(this)}};ot.style=st;var rt=":host{position:absolute;z-index:1045}",ct=rt,at=class{constructor(t){p(this,t),this.onCloseNotice=e=>{L(e.detail.id)},this.place=void 0,this.autoShowDisabled=void 0}get _context(){return u()}get preConfigured(){let t=[];if(!this.autoShowDisabled){let e=s=>["alert","modal"].includes(s.configuration.noticeType),i=H(this._context);t=Object.values(i).filter(s=>s.autoShow&&e(s))}return t}get onDemand(){return T()}get notices(){return[...this.preConfigured,...this.onDemand]}render(){return n(f,{key:"80992698cafc559626bcae6fd45b49e403e3aaa8","data-element":"hub-notice-provider"},this.notices.map(t=>n("arcgis-hub-notice",{id:t.id,key:t.id,notice:t,onArcgisHubNoticeClose:this.onCloseNotice,place:this.place})))}};at.style=ct;var lt="calcite-navigation{position:fixed;top:0;left:0;right:0;z-index:401}calcite-chip{cursor:pointer}",dt=lt,ht=t=>{let e=t?.environment;return e?e==="production"?"prod":e.replace("ext",""):void 0},W={qa:{clientId:"Lmafo8GvkSnPwbek",portal:"https://qaext.arcgis.com"},dev:{clientId:"7zaXMmruGTX0FMzR",portal:"https://devext.arcgis.com"},prod:{clientId:"bHypqtyn5UaaJ1Zt",portal:"https://www.arcgis.com"}},G="qa",pt=class{constructor(t){p(this,t),this.onChangeEnv=e=>{this.environment=e.target.value},this.pageTitle=void 0,this.environment=void 0,this.flags={}}get _context(){return u()}componentWillLoad(){this.environment||(this.environment=G,this._context&&(this.environment=ht(this._context)||G))}get identityConfig(){return Object.assign({flags:this.flags},W[this.environment])}get isGhPages(){return window.location.pathname.includes("/harnesses")}get redirectUri(){let t=new URL(window.location.origin);return t.pathname="/html/redirect.html",this.isGhPages&&(t.pathname="/harnesses/html/redirect.html"),t.toString()}get logoUri(){return`${this.homeUri}build/assets/ArcGIS_Hub_Hexagon_256.png`}get homeUri(){let t="/";return this.isGhPages&&(t="/harnesses/"),t}signIn(){let t=new CustomEvent("arcgisAppIdentityStartSignIn");document.dispatchEvent(t)}signOut(){let t=new CustomEvent("arcgisAppIdentityStartSignOut");document.dispatchEvent(t)}onSignedIn(t){var e;if(t.detail.session.clientId!==((e=this.identityConfig)===null||e===void 0?void 0:e.clientId)){t.stopPropagation();let s=new CustomEvent("arcgisAppIdentityStartSignOut");document.dispatchEvent(s)}}renderAuth(){var t,e;let i=(t=this._context)===null||t===void 0?void 0:t.currentUser,s=(e=this._context)===null||e===void 0?void 0:e.session,o=[];return o.push(n("calcite-chip-group",{label:"environment","selection-mode":"single",slot:"content-end"},Object.keys(W).map(r=>n("calcite-chip",{key:r,label:r,onCalciteChipSelect:this.onChangeEnv,selected:r===this.environment,value:r},r)))),i?(o.push(n("calcite-navigation-user",{"full-name":i.fullName,slot:"user",thumbnail:i.thumbnail&&E(s.portal,i,s.token),"user-id":i.id,username:i.username})),o.push(n("calcite-action",{onClick:this.signOut,scale:"l",slot:"user",text:"Sign Out","text-enabled":!0}))):o.push(n("calcite-action",{onClick:this.signIn,scale:"l",slot:"user",text:"Sign In","text-enabled":!0})),o}render(){return n(f,{key:"aafa2266c33a5da42141ac69e645711b2afdb3db"},n("arcgis-hub-notice-provider",{key:"a56562c3c74d6efb6752087a8a3d53b3196d263c",place:location.href}),n("calcite-navigation",{key:"d8881a285912cae51844bd45207ac00cd6a78f51",slot:"header"},n("calcite-navigation-logo",{key:"0110cd70fbbd8af8b94a0359f7ca689cccaa2c25",heading:"Home",href:this.homeUri,slot:"navigation-action",thumbnail:this.logoUri}),n("calcite-navigation-logo",{key:"6fb61dde859aa89b92196c897b8767f332bffa4a",heading:this.pageTitle,slot:"logo"}),this.renderAuth()),n("arcgis-app-identity",Object.assign({key:"7792101d3ec569c830fe7b0f1c337756c06a4e70"},this.identityConfig,{"redirect-uri":this.redirectUri})))}};pt.style=dt;return{arcgis_app_identity:V,arcgis_hub_notice:ot,arcgis_hub_notice_provider:at,harness_header:pt}},"config")
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ function p(e,t={}){let{isAuthenticated:s,hasCookie:o,orgBaseUrl:r,orgHasSSO:u}=t,i=e;return n(i)&&(i=c(i),s&&(o||u)&&(i=l(i,r))),i}function n(e){return a(e).endsWith("arcgis.com")}function a(e){let t=e.split("/"),s=t[2];return e.indexOf("http")!==0&&(s=t[0]),s}function c(e){let t=e;return n(e)&&(e.indexOf("http")!==0?t=`https://${e}`:e.indexOf("https:")!==0&&(t=e.replace("http:","https:"))),t}function l(e,t){let s=e;if(n(e)&&n(t)&&f(e)){let o=e.split("arcgis.com")[0];s=e.replace(`${o}arcgis.com`,t)}return s}function f(e){let t=!0,s=a(e);return["survey123.","survey123dev.","survey123qa.","insights.","insightsdev.","insightsqa.","urban.","urbandev.","urbanqa.","solutions.","services.","storymaps.","storymaps2dev.","storymaps2qa.","storymapsqa.","storymapsdev.","hub.arcgis.com","hubqa.arcgis.com","hubdev.arcgis.com","opendata.arcgis.com","opendataqa.arcgis.com","opendatadev.arcgis.com","experience.","experienceqa.","experiencedev.","livingatlas.","bao.","communityanalyst.","hub-sandbox-compass."].forEach(o=>{s.indexOf(o)!==-1&&(t=!1)}),t&&["embedGallery.html"].forEach(o=>{e.indexOf(o)!==-1&&(t=!1)}),t}function d(){let e=!1;return m()&&document.cookie.indexOf("esri_aopc")>-1&&(e=!0),e}function m(){let e=!1;if(window){let t=window.location.hostname||"";["arcgis.com"].some(o=>t===o||t.endsWith(`.${o}`))&&(e=!0)}return e}export{p as a,d as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as $}from"./XVMK5CYH.js";import{b as J,c as Q}from"./NG3RFV4T.js";import{c as O,d as k,f as P,g as M,j as N,k as j,l as H,m as U}from"./MRMJEAPU.js";import{e as b,k as B}from"./JSBSKHPG.js";import{a as v}from"./V7GE2IYB.js";import{h as w}from"./TIKG5DJN.js";import{f as y}from"./SRIBEDW7.js";import{a as i}from"./BEGZNWVT.js";import{c as Y}from"./6SHD6D7T.js";import{A as V,I as z,j as K,m as F}from"./4BUOS2TR.js";import{C as _,L as W,Q as G,c as h,n as L}from"./JQLTEBBO.js";import{ha as T,s as m}from"./VDRJAB5R.js";import{c as l,e as f,k as D,q as g}from"./Y2G2AP6U.js";import{f as S}from"./E3ZLOV6H.js";import{l as A}from"./BIHMO2ZC.js";import{k as I}from"./QSJXFZA6.js";import{a as p}from"./WOGFGQVX.js";import{d}from"./WDZTG4LA.js";import{a as R}from"./A2U2VT6L.js";import{f as r}from"./QE6YNV6B.js";import{c as C}from"./XDME5LSZ.js";async function X(e,t){let a;return p(e)?a=d(e,t):a=h(e,t),a.then(n=>n?Z(n,t):null)}async function Z(e,t){let[a,n]=await Promise.all([m(e,t),y(Object.assign({id:e.id},t)).catch(()=>Object.assign({id:null},b("discussion")))]);a.entitySettings=n;let o=new g(M()).storeToEntity(a,{});return N(a,o,t)}async function q(e,t){let a;if(P(t,e.access))try{let{schedule:n}=await k(e.id,t);a=n||{mode:"automatic"}}catch(n){console.warn("Failed to fetch schedule for item",e.id,n)}return a}async function x(e,t,a){let n={};a||(a=ee(e));let s=["schedule"],o=a.filter(u=>!s.includes(u));if(o.length){let u=await S(e,o,t);o.forEach(E=>{n[E]=u[E]})}return a.includes("schedule")&&(n.schedule=await q(e,t)),n}function ee(e){let t=["metadata","schedule"];return v(e.url)&&t.push("server"),t}var te=async(e,t,a)=>{let n=Object.assign(Object.assign({},t),{enrichments:[]}),{item:s}=await Y(e,n),o=await x(s,t,a),u=A(s);return R("type",u,s),ae(s,t,o)},ae=async(e,t,a)=>{let[n,s]=await Promise.all([m(e,t),t.isPortal?null:y(Object.assign({id:e.id},t)).catch(()=>Object.assign({id:null},b("content")))]);return n.entitySettings=s,O(n,t,a)};async function ne(e,t){let a;return p(e)?a=d(e,t):a=h(e,t),a.then(n=>n?se(n,t):null)}async function se(e,t){let a=await m(e,t),s=new g(U()).storeToEntity(a,{});return H(a,s,t)}function Me(e,t,a){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:C(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented",workspaceRelative:"not-implemented"},location:I(e),rawResult:e};return n.links=j(e,a),n}var c={user:"user",group:"group",groupAdmin:"group-admin",org:"org",orgAdmin:"org-admin",authenticated:"authenticated",anonymous:"anonymous",owner:"owner"},oe={[i.READ]:r.channelRead,[i.WRITE]:r.channelWrite,[i.READWRITE]:r.channelReadWrite,[i.MODERATE]:r.channelModerate,[i.MANAGE]:r.channelManage,[i.OWNER]:r.channelOwner},re=e=>{let t=oe[e.role],a;return e.category===l.ANONYMOUS_USER?a=c.anonymous:e.category===l.AUTHENTICATED_USER?a=c.authenticated:e.category===l.GROUP?a=e.subCategory===f.ADMIN?c.groupAdmin:c.group:e.category===l.ORG?a=e.subCategory===f.ADMIN?c.orgAdmin:c.org:a=c.user,{permission:t,collaborationId:e.key||null,collaborationType:a,id:e.id||null}};function ie(e,t={},a){if(J(t,e.orgId))return!0;let n=new w(e);return n.canModerateChannel(t)&&n.canUpdateProperties(t,a)}function ce(e,t={}){return Q(t,e.orgId)?!0:new w(e).canDeleteChannel(t)}function ue(e,t){return{access:D(e),id:e.id,name:e.name,createdDate:new Date(e.createdAt),createdDateSource:"channel.createdAt",updatedDate:new Date(e.updatedAt),updatedDateSource:"channel.updatedAt",type:"Channel",source:e.creator,links:{thumbnail:null,self:null,siteRelative:null,siteRelativeEntityType:null,workspaceRelative:null,layoutRelative:null},blockWords:e.blockWords,permissions:e.channelAcl.map(a=>re(a)),allowAsAnonymous:e.allowAsAnonymous,canEdit:ie(e,t,e),canDelete:ce(e,t),orgId:e.orgId,owner:e.creator,channel:e,typeKeywords:[],thumbnail:void 0,view:void 0,description:void 0,location:void 0,tags:[]}}async function le(e,t){let a=await V(Object.assign({channelId:e,data:{relations:[F.CHANNEL_ACL]}},t.hubRequestOptions));return ue(a,t.currentUser)}async function Ne(e,t,a){let n;switch(e){case"project":n=await G(t,a.requestOptions);break;case"site":n=await T(t,a.hubRequestOptions);break;case"initiative":n=await L(t,a.requestOptions);break;case"discussion":n=await X(t,a.hubRequestOptions);break;case"channel":n=await le(t,a);break;case"page":n=await _(t,a.hubRequestOptions);break;case"content":n=await te(t,a.hubRequestOptions);break;case"template":n=await W(t,a.requestOptions);break;case"group":n=await B(t,a.hubRequestOptions);break;case"event":n=await $(t,a.hubRequestOptions);break;case"organization":n=await z(t,a.requestOptions);break;case"initiativeTemplate":n=await ne(t,a.requestOptions);break;case"user":n=await K(t,a)}return n}export{X as a,Z as b,te as c,ae as d,ne as e,se as f,Me as g,c as h,re as i,ie as j,ce as k,ue as l,le as m,Ne as n};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as n}from"./N6F7K3VU.js";import{a as i}from"./OVJAU6MK.js";import"./CN7Y66EN.js";import"./PCHS2C6S.js";import{b as t,c as a,d as r,e as s,i as l}from"./M4BJTUFK.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";var d=":host{display:block}.list-description{margin-bottom:1.5rem}.feed-container{margin-bottom:0.75rem;display:grid;align-items:flex-end;grid-template-columns:1fr min-content}.feed-container calcite-button{margin-left:0.75rem;margin-bottom:0.75rem;height:2rem}",u=d,b=class{constructor(e){l(this,e),this.hubTelemetry=s(this,"hubTelemetry",7),this.feeds=void 0,n(this,"generateViewButtonHandler")}onCopyButtonClicked(e){let o=e.detail,c=this.feeds.find(m=>m.copyUrl===o);this.hubTelemetry.emit({category:"Interaction",action:"Copy",label:"Content",details:c.telemetryName})}async componentWillLoad(){this.intl=await i.loadIntlForComponent(this.element)}generateViewButtonHandler(e){return()=>{this.hubTelemetry.emit({category:"Navigation",action:"View",label:"Content",details:e.telemetryName})}}render(){return t(a,{key:"52dc275369c07671d713d81f53394a5890f49cfd"},t("p",{key:"d254826ce2ed7529b3f1c438086c9d0fc2479e98",class:"list-description"},t("slot",{key:"5ceb678e96249e9c9910fb1a1bf0f5af5053403c"})),this.feeds.map(e=>t("div",{class:"feed-container",key:e.label},t("arcgis-copyable-input",{label:e.label,readonly:!0,value:e.copyUrl||e.url}),t("calcite-button",{appearance:"outline",href:e.url,iconEnd:"launch",label:this.intl.t("viewButtonLabel"),onClick:this.generateViewButtonHandler(e),target:"_blank"},this.intl.t("viewButtonText")))))}static get assetsDirs(){return["locales"]}get element(){return r(this)}};b.style=u;export{b as arcgis_hub_feeds_list};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as u}from"./AJL2CHHK.js";function o(t){return t.split(".")[0]}function m(){return{"dcat-us":{1:g,3:w},"dcat-ap":{2:U},rss:{2:S}}}var g={title:"{{name}}",description:"{{description}}",keyword:"{{tags}}",issued:"{{created:toISO}}",modified:"{{modified:toISO}}",publisher:{name:"{{source}}"},contactPoint:{fn:"{{owner}}",hasEmail:"{{orgContactEmail}}"},spatial:"{{extent:computeSpatialProperty}}"},w={"dct:title":"{{ name}}","dct:description":"{{ description}}","dct:issued":{"@value":"{{ metadata.metadata.dataIdInfo.idCitation.date.pubDate:toISO || metadata.metadata.dataIdInfo.idCitation.date.createDate:toISO || created:toISO }}","@type":"xsd:dateTime"}},U={"dct:title":"{{name}}","dct:description":"{{description}}","dcat:contactPoint":{"vcard:fn":"{{owner}}","vcard:hasEmail":"{{orgContactEmail}}"}},S={channel:{title:"{{name}}",description:"{{searchDescription}}",link:"{{siteUrl}}",language:"{{culture}}",category:"{{categories}}",item:{title:"{{name}}",description:"{{searchDescription}}",author:"{{orgContactEmail}}",category:"{{categories}}",pubDate:"{{created:toUTC}}"}}};function P(t){let{feedsConfig:r,format:e,version:a}=t,n;if(e==="dcat-us")n=D(r,a);else if(e==="dcat-ap")n=C(r,a);else if(e==="rss")n=h(r,a);else throw new Error("Unsupported feed format");return n||T(e,a)}function T(t,r){let e=o(r),a=m();return u(a[t][e])}function C(t,r){if(o(r)==="2")return t.dcatAP2XX||t.dcatAP201;throw new Error("Unsupported DCAT AP version")}function D(t,r){if(o(r)==="1"){let e=t.dcatUS1X||t.dcatUS11;return e&&typeof e.spatial=="string"&&e.spatial.replace(/\s/g,"")==="{{extent}}"&&(e.spatial="{{extent:computeSpatialProperty}}"),e}if(o(r)==="3")return t.dcatUS3X;throw new Error("Unsupported DCAT US version")}function h(t,r){if(o(r)==="2")return t.rss2;throw new Error("Unsupported RSS version")}async function I(t){let{format:r,version:e,previewHubId:a,context:n}=t,i=JSON.stringify(t.previewTemplate),l=`${n.hubUrl}/api/feed/${r}/${e}`,c=new URLSearchParams;c.set("id",a);let f=r==="rss";c.set(f?"rssConfig":"dcatConfig",i);let s=await fetch(`${l}?${c.toString()}`);if(!s.ok)throw new Error(`Failed to preview feed: ${s.statusText}`);let d;if(f){let p=await s.text();d=decodeURIComponent(p)}else{let p=await s.json();d=JSON.stringify(p,null,2)}return d}function _(t){let{feedsConfig:r,format:e,version:a,updatedTemplate:n}=t,i=u(r);if(e==="dcat-us")E(i,a,n);else if(e==="dcat-ap")A(i,a,n);else if(e==="rss")X(i,a,n);else throw new Error("Unsupported feed format");return i}function A(t,r,e){if(o(r)==="2"){t.dcatAP2XX=e;return}throw new Error("Unsupported DCAT AP Version")}function E(t,r,e){if(o(r)==="1"){t.dcatUS1X=e;return}if(o(r)==="3"){t.dcatUS3X=e;return}throw new Error("Unsupported DCAT US Version")}function X(t,r,e){if(o(r)==="2"){t.rss2=e;return}throw new Error("Unsupported RSS Version")}export{o as a,P as b,I as c,_ as d};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{c as y}from"./3BHRKA4G.js";import"./HJLGO4RD.js";import"./5INX5FCX.js";import{o as c}from"./QE6YNV6B.js";import"./G4XLS45R.js";import"./XQVRF5PF.js";import"./XDME5LSZ.js";import{a as l}from"./OVJAU6MK.js";import"./CN7Y66EN.js";import"./PCHS2C6S.js";import"./OINWMC3E.js";import"./FNCR3T4I.js";import{b as r,c as d,d as h,e as m,h as u,i as p}from"./M4BJTUFK.js";import"./AGKWAXLF.js";import"./AJL2CHHK.js";import"./VVS2S4QP.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";var i=[{categoryKey:"categories.commands",labelKey:"shortcuts.history.label",code:"KeyH",modifiers:["shiftKey"],action:"renderComponent",options:{modalTitleKey:"shortcuts.history.modalTitle"}},{categoryKey:"categories.commands",labelKey:"shortcuts.help.label",key:"?",modifiers:["shiftKey"],action:"renderComponent",options:{modalTitleKey:"shortcuts.help.modalTitle",component:"arcgis-hub-keyboard-shortcuts-help",componentArgs:{}}},{categoryKey:"categories.commands",labelKey:"shortcuts.smile.label",code:"KeyS",modifiers:["ctrlKey","shiftKey"],action:"renderContent",options:{modalTitleKey:"shortcuts.smile.modalTitle",content:'<calcite-icon class="smile" icon="smile" scale="l"></calcite-icon>'}},{categoryKey:"categories.navigation",labelKey:"shortcuts.search.label",code:"KeyS",modifiers:["shiftKey"],action:"broadcastEvent",options:{eventName:"navigate",path:"/search"}}],f=":host{display:block}calcite-dialog{z-index:999999}.modal-content{display:flex;justify-content:center;align-items:center}.smile{height:auto;width:20vh;background-color:yellow;border-radius:50%}",K=f,k=class{constructor(e){p(this,e),this.arcgisHubKeyboardShortcut=m(this,"arcgisHubKeyboardShortcut",7),this.handleKeyPress=t=>{if(this.modalOpen||t.target.tagName!=="BODY")return;let o=i.find(s=>{let a=!1,b=(s.modifiers||[]).every(g=>t[g]),n=!1;return s.code?n=t.code===s.code:s.key&&(n=t.key===s.key),a=n&&b,a});if(o){switch(this.currentShortcut=o,o.action){case"renderComponent":case"renderContent":this.modalOpen=!0;break;case"broadcastEvent":this.arcgisHubKeyboardShortcut.emit(o.options);break}t.preventDefault(),t.stopPropagation()}},this.onModalClose=()=>{this.modalOpen=!1,this.currentShortcut=null},this.modalOpen=!1,this.currentShortcut=void 0}get _context(){return y()}async componentWillLoad(){this.intl=await l.loadIntlForComponent(this.element),this.config=i.map(e=>(e.options.component==="arcgis-hub-keyboard-shortcuts-help"&&(e.options.componentArgs={config:i,intl:this.intl}),e))}connectedCallback(){c("hub:feature:keyboardshortcuts",this._context).access&&document.addEventListener("keypress",this.handleKeyPress)}disconnectedCallback(){document.removeEventListener("keypress",this.handleKeyPress)}renderContent(){let{options:{componentArgs:e,component:t,content:o}}=this.currentShortcut;return t?r(t,Object.assign({},e)):o?r("div",{class:"modal-content",innerHTML:o}):"Component not found"}renderModal(){var e;if(["renderContent","renderComponent"].includes((e=this.currentShortcut)===null||e===void 0?void 0:e.action))return r(u,null,this.renderContent())}render(){var e,t;return r(d,{key:"4030e0f7c254a083343bb9b01a3991df1c02c32c","data-element":"keyboard-shortcuts"},r("calcite-dialog",{key:"acbe8bc182d64ee57b4106f57071827584b3cba5",heading:this.intl.t((t=(e=this.currentShortcut)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.modalTitleKey),modal:!0,onCalciteDialogClose:this.onModalClose,open:this.modalOpen},this.renderModal()))}static get assetsDirs(){return["locales"]}get element(){return h(this)}};k.style=K;export{k as arcgis_hub_keyboard_shortcuts};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ function t(e){let s=e.split("/sharing/rest")[0];return/(qaext|\.mapsqa)\.arcgis.com/.exec(e)?s="https://qaext.arcgis.com":/(devext|\.mapsdevext)\.arcgis.com/.exec(e)?s="https://devext.arcgis.com":/(www|\.maps)\.arcgis.com/.exec(e)&&(s="https://www.arcgis.com"),s}export{t as a};
@@ -0,0 +1,5 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ var G={exports:{}},c={},E={exports:{}},w={};function z(){var e={};return e["align-content"]=!1,e["align-items"]=!1,e["align-self"]=!1,e["alignment-adjust"]=!1,e["alignment-baseline"]=!1,e.all=!1,e["anchor-point"]=!1,e.animation=!1,e["animation-delay"]=!1,e["animation-direction"]=!1,e["animation-duration"]=!1,e["animation-fill-mode"]=!1,e["animation-iteration-count"]=!1,e["animation-name"]=!1,e["animation-play-state"]=!1,e["animation-timing-function"]=!1,e.azimuth=!1,e["backface-visibility"]=!1,e.background=!0,e["background-attachment"]=!0,e["background-clip"]=!0,e["background-color"]=!0,e["background-image"]=!0,e["background-origin"]=!0,e["background-position"]=!0,e["background-repeat"]=!0,e["background-size"]=!0,e["baseline-shift"]=!1,e.binding=!1,e.bleed=!1,e["bookmark-label"]=!1,e["bookmark-level"]=!1,e["bookmark-state"]=!1,e.border=!0,e["border-bottom"]=!0,e["border-bottom-color"]=!0,e["border-bottom-left-radius"]=!0,e["border-bottom-right-radius"]=!0,e["border-bottom-style"]=!0,e["border-bottom-width"]=!0,e["border-collapse"]=!0,e["border-color"]=!0,e["border-image"]=!0,e["border-image-outset"]=!0,e["border-image-repeat"]=!0,e["border-image-slice"]=!0,e["border-image-source"]=!0,e["border-image-width"]=!0,e["border-left"]=!0,e["border-left-color"]=!0,e["border-left-style"]=!0,e["border-left-width"]=!0,e["border-radius"]=!0,e["border-right"]=!0,e["border-right-color"]=!0,e["border-right-style"]=!0,e["border-right-width"]=!0,e["border-spacing"]=!0,e["border-style"]=!0,e["border-top"]=!0,e["border-top-color"]=!0,e["border-top-left-radius"]=!0,e["border-top-right-radius"]=!0,e["border-top-style"]=!0,e["border-top-width"]=!0,e["border-width"]=!0,e.bottom=!1,e["box-decoration-break"]=!0,e["box-shadow"]=!0,e["box-sizing"]=!0,e["box-snap"]=!0,e["box-suppress"]=!0,e["break-after"]=!0,e["break-before"]=!0,e["break-inside"]=!0,e["caption-side"]=!1,e.chains=!1,e.clear=!0,e.clip=!1,e["clip-path"]=!1,e["clip-rule"]=!1,e.color=!0,e["color-interpolation-filters"]=!0,e["column-count"]=!1,e["column-fill"]=!1,e["column-gap"]=!1,e["column-rule"]=!1,e["column-rule-color"]=!1,e["column-rule-style"]=!1,e["column-rule-width"]=!1,e["column-span"]=!1,e["column-width"]=!1,e.columns=!1,e.contain=!1,e.content=!1,e["counter-increment"]=!1,e["counter-reset"]=!1,e["counter-set"]=!1,e.crop=!1,e.cue=!1,e["cue-after"]=!1,e["cue-before"]=!1,e.cursor=!1,e.direction=!1,e.display=!0,e["display-inside"]=!0,e["display-list"]=!0,e["display-outside"]=!0,e["dominant-baseline"]=!1,e.elevation=!1,e["empty-cells"]=!1,e.filter=!1,e.flex=!1,e["flex-basis"]=!1,e["flex-direction"]=!1,e["flex-flow"]=!1,e["flex-grow"]=!1,e["flex-shrink"]=!1,e["flex-wrap"]=!1,e.float=!1,e["float-offset"]=!1,e["flood-color"]=!1,e["flood-opacity"]=!1,e["flow-from"]=!1,e["flow-into"]=!1,e.font=!0,e["font-family"]=!0,e["font-feature-settings"]=!0,e["font-kerning"]=!0,e["font-language-override"]=!0,e["font-size"]=!0,e["font-size-adjust"]=!0,e["font-stretch"]=!0,e["font-style"]=!0,e["font-synthesis"]=!0,e["font-variant"]=!0,e["font-variant-alternates"]=!0,e["font-variant-caps"]=!0,e["font-variant-east-asian"]=!0,e["font-variant-ligatures"]=!0,e["font-variant-numeric"]=!0,e["font-variant-position"]=!0,e["font-weight"]=!0,e.grid=!1,e["grid-area"]=!1,e["grid-auto-columns"]=!1,e["grid-auto-flow"]=!1,e["grid-auto-rows"]=!1,e["grid-column"]=!1,e["grid-column-end"]=!1,e["grid-column-start"]=!1,e["grid-row"]=!1,e["grid-row-end"]=!1,e["grid-row-start"]=!1,e["grid-template"]=!1,e["grid-template-areas"]=!1,e["grid-template-columns"]=!1,e["grid-template-rows"]=!1,e["hanging-punctuation"]=!1,e.height=!0,e.hyphens=!1,e.icon=!1,e["image-orientation"]=!1,e["image-resolution"]=!1,e["ime-mode"]=!1,e["initial-letters"]=!1,e["inline-box-align"]=!1,e["justify-content"]=!1,e["justify-items"]=!1,e["justify-self"]=!1,e.left=!1,e["letter-spacing"]=!0,e["lighting-color"]=!0,e["line-box-contain"]=!1,e["line-break"]=!1,e["line-grid"]=!1,e["line-height"]=!1,e["line-snap"]=!1,e["line-stacking"]=!1,e["line-stacking-ruby"]=!1,e["line-stacking-shift"]=!1,e["line-stacking-strategy"]=!1,e["list-style"]=!0,e["list-style-image"]=!0,e["list-style-position"]=!0,e["list-style-type"]=!0,e.margin=!0,e["margin-bottom"]=!0,e["margin-left"]=!0,e["margin-right"]=!0,e["margin-top"]=!0,e["marker-offset"]=!1,e["marker-side"]=!1,e.marks=!1,e.mask=!1,e["mask-box"]=!1,e["mask-box-outset"]=!1,e["mask-box-repeat"]=!1,e["mask-box-slice"]=!1,e["mask-box-source"]=!1,e["mask-box-width"]=!1,e["mask-clip"]=!1,e["mask-image"]=!1,e["mask-origin"]=!1,e["mask-position"]=!1,e["mask-repeat"]=!1,e["mask-size"]=!1,e["mask-source-type"]=!1,e["mask-type"]=!1,e["max-height"]=!0,e["max-lines"]=!1,e["max-width"]=!0,e["min-height"]=!0,e["min-width"]=!0,e["move-to"]=!1,e["nav-down"]=!1,e["nav-index"]=!1,e["nav-left"]=!1,e["nav-right"]=!1,e["nav-up"]=!1,e["object-fit"]=!1,e["object-position"]=!1,e.opacity=!1,e.order=!1,e.orphans=!1,e.outline=!1,e["outline-color"]=!1,e["outline-offset"]=!1,e["outline-style"]=!1,e["outline-width"]=!1,e.overflow=!1,e["overflow-wrap"]=!1,e["overflow-x"]=!1,e["overflow-y"]=!1,e.padding=!0,e["padding-bottom"]=!0,e["padding-left"]=!0,e["padding-right"]=!0,e["padding-top"]=!0,e.page=!1,e["page-break-after"]=!1,e["page-break-before"]=!1,e["page-break-inside"]=!1,e["page-policy"]=!1,e.pause=!1,e["pause-after"]=!1,e["pause-before"]=!1,e.perspective=!1,e["perspective-origin"]=!1,e.pitch=!1,e["pitch-range"]=!1,e["play-during"]=!1,e.position=!1,e["presentation-level"]=!1,e.quotes=!1,e["region-fragment"]=!1,e.resize=!1,e.rest=!1,e["rest-after"]=!1,e["rest-before"]=!1,e.richness=!1,e.right=!1,e.rotation=!1,e["rotation-point"]=!1,e["ruby-align"]=!1,e["ruby-merge"]=!1,e["ruby-position"]=!1,e["shape-image-threshold"]=!1,e["shape-outside"]=!1,e["shape-margin"]=!1,e.size=!1,e.speak=!1,e["speak-as"]=!1,e["speak-header"]=!1,e["speak-numeral"]=!1,e["speak-punctuation"]=!1,e["speech-rate"]=!1,e.stress=!1,e["string-set"]=!1,e["tab-size"]=!1,e["table-layout"]=!1,e["text-align"]=!0,e["text-align-last"]=!0,e["text-combine-upright"]=!0,e["text-decoration"]=!0,e["text-decoration-color"]=!0,e["text-decoration-line"]=!0,e["text-decoration-skip"]=!0,e["text-decoration-style"]=!0,e["text-emphasis"]=!0,e["text-emphasis-color"]=!0,e["text-emphasis-position"]=!0,e["text-emphasis-style"]=!0,e["text-height"]=!0,e["text-indent"]=!0,e["text-justify"]=!0,e["text-orientation"]=!0,e["text-overflow"]=!0,e["text-shadow"]=!0,e["text-space-collapse"]=!0,e["text-transform"]=!0,e["text-underline-position"]=!0,e["text-wrap"]=!0,e.top=!1,e.transform=!1,e["transform-origin"]=!1,e["transform-style"]=!1,e.transition=!1,e["transition-delay"]=!1,e["transition-duration"]=!1,e["transition-property"]=!1,e["transition-timing-function"]=!1,e["unicode-bidi"]=!1,e["vertical-align"]=!1,e.visibility=!1,e["voice-balance"]=!1,e["voice-duration"]=!1,e["voice-family"]=!1,e["voice-pitch"]=!1,e["voice-range"]=!1,e["voice-rate"]=!1,e["voice-stress"]=!1,e["voice-volume"]=!1,e.volume=!1,e["white-space"]=!1,e.widows=!1,e.width=!0,e["will-change"]=!1,e["word-break"]=!0,e["word-spacing"]=!0,e["word-wrap"]=!0,e["wrap-flow"]=!1,e["wrap-through"]=!1,e["writing-mode"]=!1,e["z-index"]=!1,e}function ne(e,t,r){}function se(e,t,r){}var oe=/javascript\s*\:/img;function le(e,t){return oe.test(t)?"":t}w.whiteList=z();w.getDefaultWhiteList=z;w.onAttr=ne;w.onIgnoreAttr=se;w.safeAttrValue=le;var fe={indexOf:function(e,t){var r,a;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,a=e.length;r<a;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var a,o;if(Array.prototype.forEach)return e.forEach(t,r);for(a=0,o=e.length;a<o;a++)t.call(r,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},trimRight:function(e){return String.prototype.trimRight?e.trimRight():e.replace(/(\s*$)/g,"")}},S=fe;function ue(e,t){e=S.trimRight(e),e[e.length-1]!==";"&&(e+=";");var r=e.length,a=!1,o=0,n=0,u="";function s(){if(!a){var f=S.trim(e.slice(o,n)),l=f.indexOf(":");if(l!==-1){var d=S.trim(f.slice(0,l)),p=S.trim(f.slice(l+1));if(d){var v=t(o,u.length,d,p,f);v&&(u+=v+"; ")}}}o=n+1}for(;n<r;n++){var i=e[n];if(i==="/"&&e[n+1]==="*"){var g=e.indexOf("*/",n+2);if(g===-1)break;n=g+1,o=n+1,a=!1}else i==="("?a=!0:i===")"?a=!1:i===";"?a||s():i===`
5
+ `&&s()}return S.trim(u)}var ce=ue,I=w,ge=ce;function N(e){return e==null}function de(e){var t={};for(var r in e)t[r]=e[r];return t}function B(e){e=de(e||{}),e.whiteList=e.whiteList||I.whiteList,e.onAttr=e.onAttr||I.onAttr,e.onIgnoreAttr=e.onIgnoreAttr||I.onIgnoreAttr,e.safeAttrValue=e.safeAttrValue||I.safeAttrValue,this.options=e}B.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,a=r.whiteList,o=r.onAttr,n=r.onIgnoreAttr,u=r.safeAttrValue,s=ge(e,function(i,g,f,l,d){var p=a[f],v=!1;if(p===!0?v=p:typeof p=="function"?v=p(l):p instanceof RegExp&&(v=p.test(l)),v!==!0&&(v=!1),l=u(f,l),!!l){var b={position:g,sourcePosition:i,source:d,isWhite:v};if(v){var h=o(f,l,b);return N(h)?f+":"+l:h}else{var h=n(f,l,b);if(!N(h))return h}}});return s};var pe=B;(function(e,t){var r=w,a=pe;function o(u,s){var i=new a(s);return i.process(u)}t=e.exports=o,t.FilterCSS=a;for(var n in r)t[n]=r[n];typeof window<"u"&&(window.filterCSS=e.exports)})(E,E.exports);var $={indexOf:function(e,t){var r,a;if(Array.prototype.indexOf)return e.indexOf(t);for(r=0,a=e.length;r<a;r++)if(e[r]===t)return r;return-1},forEach:function(e,t,r){var a,o;if(Array.prototype.forEach)return e.forEach(t,r);for(a=0,o=e.length;a<o;a++)t.call(r,e[a],a,e)},trim:function(e){return String.prototype.trim?e.trim():e.replace(/(^\s*)|(\s*$)/g,"")},spaceIndex:function(e){var t=/\s|\n|\t/,r=t.exec(e);return r?r.index:-1}},ve=E.exports.FilterCSS,he=E.exports.getDefaultWhiteList,P=$;function H(){return{a:["target","href","title"],abbr:["title"],address:[],area:["shape","coords","href","alt"],article:[],aside:[],audio:["autoplay","controls","crossorigin","loop","muted","preload","src"],b:[],bdi:["dir"],bdo:["dir"],big:[],blockquote:["cite"],br:[],caption:[],center:[],cite:[],code:[],col:["align","valign","span","width"],colgroup:["align","valign","span","width"],dd:[],del:["datetime"],details:["open"],div:[],dl:[],dt:[],em:[],figcaption:[],figure:[],font:["color","size","face"],footer:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],header:[],hr:[],i:[],img:["src","alt","title","width","height"],ins:["datetime"],li:[],mark:[],nav:[],ol:[],p:[],pre:[],s:[],section:[],small:[],span:[],sub:[],summary:[],sup:[],strong:[],strike:[],table:["width","border","align","valign"],tbody:["align","valign"],td:["width","rowspan","colspan","align","valign"],tfoot:["align","valign"],th:["width","rowspan","colspan","align","valign"],thead:["align","valign"],tr:["rowspan","align","valign"],tt:[],u:[],ul:[],video:["autoplay","controls","crossorigin","loop","muted","playsinline","poster","preload","src","height","width"]}}var Q=new ve;function be(e,t,r){}function me(e,t,r){}function Ae(e,t,r){}function we(e,t,r){}function q(e){return e.replace(Te,"&lt;").replace(xe,"&gt;")}function ye(e,t,r,a){if(r=j(r),t==="href"||t==="src"){if(r=P.trim(r),r==="#")return"#";if(!(r.substr(0,7)==="http://"||r.substr(0,8)==="https://"||r.substr(0,7)==="mailto:"||r.substr(0,4)==="tel:"||r.substr(0,11)==="data:image/"||r.substr(0,6)==="ftp://"||r.substr(0,2)==="./"||r.substr(0,3)==="../"||r[0]==="#"||r[0]==="/"))return""}else if(t==="background"){if(C.lastIndex=0,C.test(r))return""}else if(t==="style"){if(D.lastIndex=0,D.test(r)||(W.lastIndex=0,W.test(r)&&(C.lastIndex=0,C.test(r))))return"";a!==!1&&(a=a||Q,r=a.process(r))}return r=ee(r),r}var Te=/</g,xe=/>/g,ke=/"/g,Se=/&quot;/g,Ee=/&#([a-zA-Z0-9]*);?/gim,Le=/&colon;?/gim,Ie=/&newline;?/gim,C=/((j\s*a\s*v\s*a|v\s*b|l\s*i\s*v\s*e)\s*s\s*c\s*r\s*i\s*p\s*t\s*|m\s*o\s*c\s*h\s*a):/gi,D=/e\s*x\s*p\s*r\s*e\s*s\s*s\s*i\s*o\s*n\s*\(.*/gi,W=/u\s*r\s*l\s*\(.*/gi;function M(e){return e.replace(ke,"&quot;")}function Z(e){return e.replace(Se,'"')}function J(e){return e.replace(Ee,function(r,a){return a[0]==="x"||a[0]==="X"?String.fromCharCode(parseInt(a.substr(1),16)):String.fromCharCode(parseInt(a,10))})}function K(e){return e.replace(Le,":").replace(Ie," ")}function Y(e){for(var t="",r=0,a=e.length;r<a;r++)t+=e.charCodeAt(r)<32?" ":e.charAt(r);return P.trim(t)}function j(e){return e=Z(e),e=J(e),e=K(e),e=Y(e),e}function ee(e){return e=M(e),e=q(e),e}function Ce(){return""}function _e(e,t){typeof t!="function"&&(t=function(){});var r=!Array.isArray(e);function a(u){return r?!0:P.indexOf(e,u)!==-1}var o=[],n=!1;return{onIgnoreTag:function(u,s,i){if(a(u))if(i.isClosing){var g="[/removed]",f=i.position+g.length;return o.push([n!==!1?n:i.position,f]),n=!1,g}else return n||(n=i.position),"[removed]";else return t(u,s,i)},remove:function(u){var s="",i=0;return P.forEach(o,function(g){s+=u.slice(i,g[0]),i=g[1]}),s+=u.slice(i),s}}}function Re(e){for(var t="",r=0;r<e.length;){var a=e.indexOf("<!--",r);if(a===-1){t+=e.slice(r);break}t+=e.slice(r,a);var o=e.indexOf("-->",a);if(o===-1)break;r=o+3}return t}function Pe(e){var t=e.split("");return t=t.filter(function(r){var a=r.charCodeAt(0);return a===127?!1:a<=31?a===10||a===13:!0}),t.join("")}c.whiteList=H();c.getDefaultWhiteList=H;c.onTag=be;c.onIgnoreTag=me;c.onTagAttr=Ae;c.onIgnoreTagAttr=we;c.safeAttrValue=ye;c.escapeHtml=q;c.escapeQuote=M;c.unescapeQuote=Z;c.escapeHtmlEntities=J;c.escapeDangerHtml5Entities=K;c.clearNonPrintableCharacter=Y;c.friendlyAttrValue=j;c.escapeAttrValue=ee;c.onIgnoreTagStripAll=Ce;c.StripTagBody=_e;c.stripCommentTag=Re;c.stripBlankChar=Pe;c.cssFilter=Q;c.getDefaultCSSWhiteList=he;var O={},A=$;function Oe(e){var t=A.spaceIndex(e),r;return t===-1?r=e.slice(1,-1):r=e.slice(1,t+1),r=A.trim(r).toLowerCase(),r.slice(0,1)==="/"&&(r=r.slice(1)),r.slice(-1)==="/"&&(r=r.slice(0,-1)),r}function Ve(e){return e.slice(0,2)==="</"}function $e(e,t,r){var a="",o=0,n=!1,u=!1,s=0,i=e.length,g="",f="";e:for(s=0;s<i;s++){var l=e.charAt(s);if(n===!1){if(l==="<"){n=s;continue}}else if(u===!1){if(l==="<"){a+=r(e.slice(o,s)),n=s,o=s;continue}if(l===">"||s===i-1){a+=r(e.slice(o,n)),f=e.slice(n,s+1),g=Oe(f),a+=t(n,a.length,g,f,Ve(f)),o=s+1,n=!1;continue}if(l==='"'||l==="'")for(var d=1,p=e.charAt(s-d);p.trim()===""||p==="=";){if(p==="="){u=l;continue e}p=e.charAt(s-++d)}}else if(l===u){u=!1;continue}}return o<i&&(a+=r(e.substr(o))),a}var Fe=/[^a-zA-Z0-9\\_:.-]/gim;function Xe(e,t){var r=0,a=0,o=[],n=!1,u=e.length;function s(d,p){if(d=A.trim(d),d=d.replace(Fe,"").toLowerCase(),!(d.length<1)){var v=t(d,p||"");v&&o.push(v)}}for(var i=0;i<u;i++){var g=e.charAt(i),f,l;if(n===!1&&g==="="){n=e.slice(r,i),r=i+1,a=e.charAt(r)==='"'||e.charAt(r)==="'"?r:Ne(e,i+1);continue}if(n!==!1&&i===a){if(l=e.indexOf(g,i+1),l===-1)break;f=A.trim(e.slice(a+1,l)),s(n,f),n=!1,i=l,r=i+1;continue}if(/\s|\n|\t/.test(g))if(e=e.replace(/\s|\n|\t/g," "),n===!1)if(l=Ge(e,i),l===-1){f=A.trim(e.slice(r,i)),s(f),n=!1,r=i+1;continue}else{i=l-1;continue}else if(l=De(e,i-1),l===-1){f=A.trim(e.slice(r,i)),f=U(f),s(n,f),n=!1,r=i+1;continue}else continue}return r<e.length&&(n===!1?s(e.slice(r)):s(n,U(A.trim(e.slice(r))))),A.trim(o.join(" "))}function Ge(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="="?t:-1}}function Ne(e,t){for(;t<e.length;t++){var r=e[t];if(r!==" ")return r==="'"||r==='"'?t:-1}}function De(e,t){for(;t>0;t--){var r=e[t];if(r!==" ")return r==="="?t:-1}}function We(e){return e[0]==='"'&&e[e.length-1]==='"'||e[0]==="'"&&e[e.length-1]==="'"}function U(e){return We(e)?e.substr(1,e.length-2):e}O.parseTag=$e;O.parseAttr=Xe;var Ue=E.exports.FilterCSS,m=c,re=O,ze=re.parseTag,Be=re.parseAttr,R=$;function _(e){return e==null}function He(e){var t=R.spaceIndex(e);if(t===-1)return{html:"",closing:e[e.length-2]==="/"};e=R.trim(e.slice(t+1,-1));var r=e[e.length-1]==="/";return r&&(e=R.trim(e.slice(0,-1))),{html:e,closing:r}}function Qe(e){var t={};for(var r in e)t[r]=e[r];return t}function qe(e){var t={};for(var r in e)Array.isArray(e[r])?t[r.toLowerCase()]=e[r].map(function(a){return a.toLowerCase()}):t[r.toLowerCase()]=e[r];return t}function te(e){e=Qe(e||{}),e.stripIgnoreTag&&(e.onIgnoreTag&&console.error('Notes: cannot use these two options "stripIgnoreTag" and "onIgnoreTag" at the same time'),e.onIgnoreTag=m.onIgnoreTagStripAll),e.whiteList||e.allowList?e.whiteList=qe(e.whiteList||e.allowList):e.whiteList=m.whiteList,e.onTag=e.onTag||m.onTag,e.onTagAttr=e.onTagAttr||m.onTagAttr,e.onIgnoreTag=e.onIgnoreTag||m.onIgnoreTag,e.onIgnoreTagAttr=e.onIgnoreTagAttr||m.onIgnoreTagAttr,e.safeAttrValue=e.safeAttrValue||m.safeAttrValue,e.escapeHtml=e.escapeHtml||m.escapeHtml,this.options=e,e.css===!1?this.cssFilter=!1:(e.css=e.css||{},this.cssFilter=new Ue(e.css))}te.prototype.process=function(e){if(e=e||"",e=e.toString(),!e)return"";var t=this,r=t.options,a=r.whiteList,o=r.onTag,n=r.onIgnoreTag,u=r.onTagAttr,s=r.onIgnoreTagAttr,i=r.safeAttrValue,g=r.escapeHtml,f=t.cssFilter;r.stripBlankChar&&(e=m.stripBlankChar(e)),r.allowCommentTag||(e=m.stripCommentTag(e));var l=!1;r.stripIgnoreTagBody&&(l=m.StripTagBody(r.stripIgnoreTagBody,n),n=l.onIgnoreTag);var d=ze(e,function(p,v,b,h,ae){var L={sourcePosition:p,position:v,isClosing:ae,isWhite:Object.prototype.hasOwnProperty.call(a,b)},x=o(b,h,L);if(!_(x))return x;if(L.isWhite){if(L.isClosing)return"</"+b+">";var F=He(h),ie=a[b],X=Be(F.html,function(y,T){var V=R.indexOf(ie,y)!==-1,k=u(b,y,T,V);return _(k)?V?(T=i(b,y,T,f),T?y+'="'+T+'"':y):(k=s(b,y,T,V),_(k)?void 0:k):k});return h="<"+b,X&&(h+=" "+X),F.closing&&(h+=" /"),h+=">",h}else return x=n(b,h,L),_(x)?g(h):x},g);return l&&(d=l.remove(d)),d};var Me=te;(function(e,t){var r=c,a=O,o=Me;function n(s,i){var g=new o(i);return g.process(s)}t=e.exports=n,t.filterXSS=n,t.FilterXSS=o,(function(){for(var s in r)t[s]=r[s];for(var i in a)t[i]=a[i]})(),typeof window<"u"&&(window.filterXSS=e.exports);function u(){return typeof self<"u"&&typeof DedicatedWorkerGlobalScope<"u"&&self instanceof DedicatedWorkerGlobalScope}u()&&(self.filterXSS=e.exports)})(G,G.exports);export{G as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{b as n}from"./JIQKZSDC.js";function e(r){return n(r,"group")}function t(r){return n(r,"groupContent")}export{e as a,t as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{c as ut,e as lt}from"./7DNFCJ4Y.js";var pt={};lt(pt,{__addDisposableResource:()=>Ge,__assign:()=>O,__asyncDelegator:()=>ve,__asyncGenerator:()=>$e,__asyncValues:()=>je,__await:()=>N,__awaiter:()=>_e,__classPrivateFieldGet:()=>Ce,__classPrivateFieldIn:()=>Ne,__classPrivateFieldSet:()=>De,__createBinding:()=>Y,__decorate:()=>de,__disposeResources:()=>Me,__esDecorate:()=>xe,__exportStar:()=>Ie,__extends:()=>pe,__generator:()=>Te,__importDefault:()=>Ae,__importStar:()=>Pe,__makeTemplateObject:()=>Ue,__metadata:()=>Ee,__param:()=>ge,__propKey:()=>we,__read:()=>oe,__rest:()=>B,__rewriteRelativeImportExtension:()=>Fe,__runInitializers:()=>be,__setFunctionName:()=>ye,__spread:()=>ke,__spreadArray:()=>Se,__spreadArrays:()=>Re,__values:()=>V,default:()=>ft});function pe(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");re(e,t);function r(){this.constructor=e}e.prototype=t===null?Object.create(t):(r.prototype=t.prototype,new r)}function B(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function de(e,t,r,n){var i=arguments.length,o=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,r):n,s;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")o=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(s=e[a])&&(o=(i<3?s(o):i>3?s(t,r,o):s(t,r))||o);return i>3&&o&&Object.defineProperty(t,r,o),o}function ge(e,t){return function(r,n){t(r,n,e)}}function xe(e,t,r,n,i,o){function s(x){if(x!==void 0&&typeof x!="function")throw new TypeError("Function expected");return x}for(var a=n.kind,m=a==="getter"?"get":a==="setter"?"set":"value",l=!t&&e?n.static?e:e.prototype:null,p=t||(l?Object.getOwnPropertyDescriptor(l,n.name):{}),g,y=!1,d=r.length-1;d>=0;d--){var u={};for(var f in n)u[f]=f==="access"?{}:n[f];for(var f in n.access)u.access[f]=n.access[f];u.addInitializer=function(x){if(y)throw new TypeError("Cannot add initializers after decoration has completed");o.push(s(x||null))};var b=(0,r[d])(a==="accessor"?{get:p.get,set:p.set}:p[m],u);if(a==="accessor"){if(b===void 0)continue;if(b===null||typeof b!="object")throw new TypeError("Object expected");(g=s(b.get))&&(p.get=g),(g=s(b.set))&&(p.set=g),(g=s(b.init))&&i.unshift(g)}else(g=s(b))&&(a==="field"?i.unshift(g):p[m]=g)}l&&Object.defineProperty(l,n.name,p),y=!0}function be(e,t,r){for(var n=arguments.length>2,i=0;i<t.length;i++)r=n?t[i].call(e,r):t[i].call(e);return n?r:void 0}function we(e){return typeof e=="symbol"?e:"".concat(e)}function ye(e,t,r){return typeof t=="symbol"&&(t=t.description?"[".concat(t.description,"]"):""),Object.defineProperty(e,"name",{configurable:!0,value:r?"".concat(r," ",t):t})}function Ee(e,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(e,t)}function _e(e,t,r,n){function i(o){return o instanceof r?o:new r(function(s){s(o)})}return new(r||(r=Promise))(function(o,s){function a(p){try{l(n.next(p))}catch(g){s(g)}}function m(p){try{l(n.throw(p))}catch(g){s(g)}}function l(p){p.done?o(p.value):i(p.value).then(a,m)}l((n=n.apply(e,t||[])).next())})}function Te(e,t){var r={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},n,i,o,s=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return s.next=a(0),s.throw=a(1),s.return=a(2),typeof Symbol=="function"&&(s[Symbol.iterator]=function(){return this}),s;function a(l){return function(p){return m([l,p])}}function m(l){if(n)throw new TypeError("Generator is already executing.");for(;s&&(s=0,l[0]&&(r=0)),r;)try{if(n=1,i&&(o=l[0]&2?i.return:l[0]?i.throw||((o=i.return)&&o.call(i),0):i.next)&&!(o=o.call(i,l[1])).done)return o;switch(i=0,o&&(l=[l[0]&2,o.value]),l[0]){case 0:case 1:o=l;break;case 4:return r.label++,{value:l[1],done:!1};case 5:r.label++,i=l[1],l=[0];continue;case 7:l=r.ops.pop(),r.trys.pop();continue;default:if(o=r.trys,!(o=o.length>0&&o[o.length-1])&&(l[0]===6||l[0]===2)){r=0;continue}if(l[0]===3&&(!o||l[1]>o[0]&&l[1]<o[3])){r.label=l[1];break}if(l[0]===6&&r.label<o[1]){r.label=o[1],o=l;break}if(o&&r.label<o[2]){r.label=o[2],r.ops.push(l);break}o[2]&&r.ops.pop(),r.trys.pop();continue}l=t.call(e,r)}catch(p){l=[6,p],i=0}finally{n=o=0}if(l[0]&5)throw l[1];return{value:l[0]?l[1]:void 0,done:!0}}}function Ie(e,t){for(var r in e)r!=="default"&&!Object.prototype.hasOwnProperty.call(t,r)&&Y(t,e,r)}function V(e){var t=typeof Symbol=="function"&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&typeof e.length=="number")return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function oe(e,t){var r=typeof Symbol=="function"&&e[Symbol.iterator];if(!r)return e;var n=r.call(e),i,o=[],s;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)o.push(i.value)}catch(a){s={error:a}}finally{try{i&&!i.done&&(r=n.return)&&r.call(n)}finally{if(s)throw s.error}}return o}function ke(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(oe(arguments[t]));return e}function Re(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;for(var n=Array(e),i=0,t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function Se(e,t,r){if(r||arguments.length===2)for(var n=0,i=t.length,o;n<i;n++)(o||!(n in t))&&(o||(o=Array.prototype.slice.call(t,0,n)),o[n]=t[n]);return e.concat(o||Array.prototype.slice.call(t))}function N(e){return this instanceof N?(this.v=e,this):new N(e)}function $e(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n=r.apply(e,t||[]),i,o=[];return i=Object.create((typeof AsyncIterator=="function"?AsyncIterator:Object).prototype),a("next"),a("throw"),a("return",s),i[Symbol.asyncIterator]=function(){return this},i;function s(d){return function(u){return Promise.resolve(u).then(d,g)}}function a(d,u){n[d]&&(i[d]=function(f){return new Promise(function(b,x){o.push([d,f,b,x])>1||m(d,f)})},u&&(i[d]=u(i[d])))}function m(d,u){try{l(n[d](u))}catch(f){y(o[0][3],f)}}function l(d){d.value instanceof N?Promise.resolve(d.value.v).then(p,g):y(o[0][2],d)}function p(d){m("next",d)}function g(d){m("throw",d)}function y(d,u){d(u),o.shift(),o.length&&m(o[0][0],o[0][1])}}function ve(e){var t,r;return t={},n("next"),n("throw",function(i){throw i}),n("return"),t[Symbol.iterator]=function(){return this},t;function n(i,o){t[i]=e[i]?function(s){return(r=!r)?{value:N(e[i](s)),done:!1}:o?o(s):s}:o}}function je(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t=e[Symbol.asyncIterator],r;return t?t.call(e):(e=typeof V=="function"?V(e):e[Symbol.iterator](),r={},n("next"),n("throw"),n("return"),r[Symbol.asyncIterator]=function(){return this},r);function n(o){r[o]=e[o]&&function(s){return new Promise(function(a,m){s=e[o](s),i(a,m,s.done,s.value)})}}function i(o,s,a,m){Promise.resolve(m).then(function(l){o({value:l,done:a})},s)}}function Ue(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}function Pe(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var r=ne(e),n=0;n<r.length;n++)r[n]!=="default"&&Y(t,e,r[n]);return mt(t,e),t}function Ae(e){return e&&e.__esModule?e:{default:e}}function Ce(e,t,r,n){if(r==="a"&&!n)throw new TypeError("Private accessor was defined without a getter");if(typeof t=="function"?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return r==="m"?n:r==="a"?n.call(e):n?n.value:t.get(e)}function De(e,t,r,n,i){if(n==="m")throw new TypeError("Private method is not writable");if(n==="a"&&!i)throw new TypeError("Private accessor was defined without a setter");if(typeof t=="function"?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return n==="a"?i.call(e,r):i?i.value=r:t.set(e,r),r}function Ne(e,t){if(t===null||typeof t!="object"&&typeof t!="function")throw new TypeError("Cannot use 'in' operator on non-object");return typeof e=="function"?t===e:e.has(t)}function Ge(e,t,r){if(t!=null){if(typeof t!="object"&&typeof t!="function")throw new TypeError("Object expected.");var n,i;if(r){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");n=t[Symbol.asyncDispose]}if(n===void 0){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");n=t[Symbol.dispose],r&&(i=n)}if(typeof n!="function")throw new TypeError("Object not disposable.");i&&(n=function(){try{i.call(this)}catch(o){return Promise.reject(o)}}),e.stack.push({value:t,dispose:n,async:r})}else r&&e.stack.push({async:!0});return t}function Me(e){function t(o){e.error=e.hasError?new ht(o,e.error,"An error was suppressed during disposal."):o,e.hasError=!0}var r,n=0;function i(){for(;r=e.stack.pop();)try{if(!r.async&&n===1)return n=0,e.stack.push(r),Promise.resolve().then(i);if(r.dispose){var o=r.dispose.call(r.value);if(r.async)return n|=2,Promise.resolve(o).then(i,function(s){return t(s),i()})}else n|=1}catch(s){t(s)}if(n===1)return e.hasError?Promise.reject(e.error):Promise.resolve();if(e.hasError)throw e.error}return i()}function Fe(e,t){return typeof e=="string"&&/^\.\.?\//.test(e)?e.replace(/\.(tsx)$|((?:\.d)?)((?:\.[^./]+?)?)\.([cm]?)ts$/i,function(r,n,i,o,s){return n?t?".jsx":".js":i&&(!o||!s)?r:i+o+"."+s.toLowerCase()+"js"}):e}var re,O,Y,mt,ne,ht,ft,Le=ut(()=>{re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,n){r.__proto__=n}||function(r,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(r[i]=n[i])},re(e,t)};O=function(){return O=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(t[o]=r[o])}return t},O.apply(this,arguments)};Y=Object.create?(function(e,t,r,n){n===void 0&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}):(function(e,t,r,n){n===void 0&&(n=r),e[n]=t[r]});mt=Object.create?(function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}):function(e,t){e.default=t},ne=function(e){return ne=Object.getOwnPropertyNames||function(t){var r=[];for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(r[r.length]=n);return r},ne(e)};ht=typeof SuppressedError=="function"?SuppressedError:function(e,t,r){var n=new Error(r);return n.name="SuppressedError",n.error=e,n.suppressed=t,n};ft={__extends:pe,__assign:O,__rest:B,__decorate:de,__param:ge,__esDecorate:xe,__runInitializers:be,__propKey:we,__setFunctionName:ye,__metadata:Ee,__awaiter:_e,__generator:Te,__createBinding:Y,__exportStar:Ie,__values:V,__read:oe,__spread:ke,__spreadArrays:Re,__spreadArray:Se,__await:N,__asyncGenerator:$e,__asyncDelegator:ve,__asyncValues:je,__makeTemplateObject:Ue,__importStar:Pe,__importDefault:Ae,__classPrivateFieldGet:Ce,__classPrivateFieldSet:De,__classPrivateFieldIn:Ne,__addDisposableResource:Ge,__disposeResources:Me,__rewriteRelativeImportExtension:Fe}});Le();function Q(e){return Object.keys(e).some(t=>{let r=e[t];if(!r)return!1;switch(r&&r.toParam&&(r=r.toParam()),r.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function X(e){let t={};return Object.keys(e).forEach(r=>{var n,i;let o=e[r];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let s=o.constructor.name,a;switch(s){case"Array":let m=(i=(n=o[0])===null||n===void 0?void 0:n.constructor)===null||i===void 0?void 0:i.name;a=m==="Array"?o:m==="Object"?JSON.stringify(o):o.join(",");break;case"Object":a=JSON.stringify(o);break;case"Date":a=o.valueOf();break;case"Function":a=null;break;case"Boolean":a=o+"";break;default:a=o;break}(a||a===0||typeof a=="string"||Array.isArray(a))&&(t[r]=a)}),t}function ze(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(r=>ze(e,r)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function j(e){let t=X(e);return Object.keys(t).map(r=>ze(r,t[r])).join("&")}var Je=globalThis.FormData,Ct=globalThis.File,Dt=globalThis.Blob;function We(e,t){let r=Q(e)||t,n=X(e);if(r){let i=new Je;return Object.keys(n).forEach(o=>{if(typeof Blob<"u"&&n[o]instanceof Blob){let s=n.fileName||n[o].name||o;i.append(o,n[o],s)}else i.append(o,n[o])}),i}else return j(e)}var S=class extends Error{constructor(t,r,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),t=t||"UNKNOWN_ERROR",r=r||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=r==="UNKNOWN_ERROR_CODE"?t:`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var dt={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},ie="ARCGIS_REST_JS_NO_CORS";globalThis[ie]||(globalThis[ie]=Object.assign({},dt));var _=globalThis[ie];function He(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let r=t.origin;return _.pendingNoCorsRequests[r]?_.pendingNoCorsRequests[r]:(_.pendingNoCorsRequests[r]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(n=>{_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r),_.crossOriginNoCorsDomains[r.toLowerCase()]=Date.now(),delete _.pendingNoCorsRequests[r]}).catch(n=>(delete _.pendingNoCorsRequests[r],Promise.reject(new Error(`no-cors request to ${r} failed`)))),_.pendingNoCorsRequests[r])}function Ke(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?se(t):(se("http://"+t),se("https://"+t))})}function se(e){let r=new URL(e).origin;_.noCorsDomains.indexOf(r)===-1&&_.noCorsDomains.push(r)}function ae(e){let t=!1;if(_.noCorsDomains.length){let r=new URL(e).origin.toLowerCase();t=_.noCorsDomains.some(n=>r.includes(n))}return t}function Oe(e){let t=!1;if(ae(e)){let r=new URL(e).origin.toLowerCase(),n=_.crossOriginNoCorsDomains[r]||0;Date.now()-60*6e4>n&&(t=!0)}return t}function $(e){console&&console.warn&&console.warn.apply(console,[e])}function Ve(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}function Be(e,t){var r;if(!t&&!window||!e)return!1;{t=t||window;let n=(r=t.location)===null||r===void 0?void 0:r.origin;return e.startsWith(n)}}var ce="@esri/arcgis-rest-js";function gt(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var A=class extends S{constructor(t="AUTHENTICATION_ERROR",r="AUTHENTICATION_ERROR_CODE",n,i,o){super(t,r,n,i,o),this.name="ArcGISAuthError",this.message=r==="AUTHENTICATION_ERROR_CODE"?t:`${r}: ${t}`;let s=new.target.prototype;Object.setPrototypeOf(this,s)}retry(t,r=1){let n=0,i=(o,s)=>{n=n+1,t(this.url,this.options).then(a=>{let m=Object.assign(Object.assign({},this.options),{authentication:a});return Ye(this.url,m)}).then(a=>{o(a)}).catch(a=>{a.name==="ArcGISAuthError"&&n<r?i(o,s):a.name===this.name&&a.message===this.message&&n>=r?s(this):s(a)})};return new Promise((o,s)=>{i(o,s)})}};function xt(e,t,r,n,i){if(e.code>=400){let{message:o,code:s}=e;throw new S(o,s,e,t,n)}if(e.error){let{message:o,code:s,messageCode:a}=e.error,m=a||s||"UNKNOWN_ERROR_CODE";throw s===498||s===499?i||new A(o,m,e,t,n):new S(o,m,e,t,n)}if(e.status==="failed"||e.status==="failure"){let o,s="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,s=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new S(o,s,e,t,n)}return e}function Ye(e,t){let r=gt(),n=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},r),t),{params:Object.assign(Object.assign({},r.params),t.params),headers:Object.assign(Object.assign({},r.headers),t.headers)}),{httpMethod:i,rawResponse:o}=n,s=Object.assign({f:"json"},n.params),a=null,m={method:i,signal:n.signal,credentials:n.credentials||"same-origin"};ae(e)&&(m.credentials="include"),n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let l;if(typeof n.authentication=="string"){let u=n.authentication;l={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(u)},!n.authentication.startsWith("AAPK")&&!n.authentication.startsWith("AAPT")&&!n.authentication.startsWith("AATK")&&!n.authentication.startsWith("AAST")&&!n.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&($("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else l=n.authentication;let p=e,g=!1;typeof window<"u"&&(g=Be(e));let y=!g&&Oe(e);n.headers&&n.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(m.credentials="include");let d=Promise.resolve();return y&&(m.credentials="include",d=He(e)),d.then(()=>l?l.getToken(e).catch(u=>(u.url=e,u.options=n,a=u,Promise.resolve(""))):Promise.resolve("")).then(u=>{u.length&&(s.token=u),l&&l.getDomainCredentials&&(m.credentials=l.getDomainCredentials(e));let f={};if(m.method==="GET"){s.token&&n.hideToken&&typeof window>"u"&&(f["X-Esri-Authorization"]=`Bearer ${s.token}`,delete s.token);let R=j(s)===""?e:e+"?"+j(s);n.maxUrlLength&&R.length>n.maxUrlLength||!n.maxUrlLength&&R.length>2e3||s.token&&n.hideToken?(m.method="POST",u.length&&n.hideToken&&(s.token=u,delete f["X-Esri-Authorization"])):e=R}let b=new RegExp("/items/.+/updateResources").test(e);return m.method==="POST"&&(m.body=We(s,b)),m.headers=Object.assign(Object.assign({},f),n.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!m.headers.referer&&(m.headers.referer=ce),!Q(s)&&!b&&(m.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,m):Ve().then(({fetch:x})=>x(e,m))}).then(u=>{if(!u.ok)return u.json().then(f=>{let{status:b,statusText:x}=u,{message:R,details:D}=f.error,P=`${R}. ${D?D.join(" "):""}`.trim();throw new S(P,`HTTP ${b} ${x}`,f,e,n)}).catch(f=>{if(f.name==="ArcGISRequestError")throw f;let{status:b,statusText:x}=u;throw new S(x,`HTTP ${b}`,u,e,n)});if(o)return u;switch(s.f){case"json":return u.json();case"geojson":return u.json();case"html":return u.text();case"text":return u.text();default:return u.blob()}}).then(u=>{if((s.f==="json"||s.f==="geojson")&&!o){let f=xt(u,p,s,n,a);if(u&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(u.authorizedCrossOriginNoCorsDomains)&&Ke(u.authorizedCrossOriginNoCorsDomains),a){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];n.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},a=null}return f}else return u})}function c(e,t={params:{f:"json"}}){let{request:r}=t,n=B(t,["request"]);return r?r(e,n):Ye(e,n).catch(i=>i instanceof A&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?i.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(i))}function U(e,t,r){let n=["params","httpMethod","rawResponse","authentication","hideToken","portal","credentials","maxUrlLength","headers","signal","suppressWarnings","request"],i=Object.assign(Object.assign({params:{}},r),e);return i.params=t.reduce((o,s)=>((e[s]||typeof e[s]=="boolean"||typeof e[s]=="number"&&e[s]===0)&&(o[s]=e[s]),o),i.params),n.reduce((o,s)=>(i[s]&&(o[s]=i[s]),o),{})}var T;(function(e){e.TOKEN_REFRESH_FAILED="TOKEN_REFRESH_FAILED",e.GENERATE_TOKEN_FOR_SERVER_FAILED="GENERATE_TOKEN_FOR_SERVER_FAILED",e.REFRESH_TOKEN_EXCHANGE_FAILED="REFRESH_TOKEN_EXCHANGE_FAILED",e.NOT_FEDERATED="NOT_FEDERATED",e.UNKNOWN_ERROR_CODE="UNKNOWN_ERROR_CODE"})(T||(T={}));var I=class extends Error{constructor(t="UNKNOWN_ERROR",r=T.UNKNOWN_ERROR_CODE,n,i,o){super(t);let s=new.target.prototype;Object.setPrototypeOf(this,s),this.name="ArcGISTokenRequestError",this.message=`${r}: ${t}`,this.originalMessage=t,this.code=r,this.response=n,this.url=i,this.options=o}};var z=class extends Error{constructor(){super("The user has denied your authorization request.");let r=new.target.prototype;Object.setPrototypeOf(this,r),this.name="ArcGISAccessDeniedError"}};function w(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function bt(e){let[t,r]=e.split("=");return{key:decodeURIComponent(t),value:decodeURIComponent(r)}}function Qe(e){return!e||e.length<=0?{}:e.replace(/^#/,"").replace(/^\?/,"").split("&").reduce((t,r)=>{let{key:n,value:i}=bt(r);return t[n]=i,t},{})}var Xe;(function(e){e.ArcGISRequestError="ArcGISRequestError",e.ArcGISAuthError="ArcGISAuthError",e.ArcGISAccessDeniedError="ArcGISAccessDeniedError",e.ArcGISTokenRequestError="ArcGISTokenRequestError"})(Xe||(Xe={}));var Ze=300*1e3;function G(e,t){let r=t;return r.rawResponse=!1,c(e,r).then(n=>{if("token"in n&&"expires"in n)return{token:n.token,username:t.params.username,expires:new Date(n.expires)};let i={token:n.access_token,username:n.username,expires:new Date(Date.now()+n.expires_in*1e3-Ze),ssl:n.ssl===!0};return n.refresh_token&&(i.refreshToken=n.refresh_token),n.refresh_token_expires_in&&(i.refreshTokenExpires=new Date(Date.now()+n.refresh_token_expires_in*1e3-Ze)),i})}var M=class{constructor(t){this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this._username=t.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(t=>t.username)}getUser(t){if(this._pendingUserRequest)return this._pendingUserRequest;if(this._user)return Promise.resolve(this._user);{let r=`${this.portal}/community/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingUserRequest=c(r,n).then(i=>(this._user=i,this._pendingUserRequest=null,i)),this._pendingUserRequest}}clearCachedUserInfo(){this._user=null}};var Z=/^https?:\/\/(\S+)\.arcgis\.com.+/;function qe(e){return Z.test(e)}function wt(e){if(!Z.test(e))return e;switch(ue(e)){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 ue(e){if(!Z.test(e))return null;let r=e.match(Z)[1].split(".").pop();return r.includes("dev")?"dev":r.includes("qa")?"qa":"production"}function et(e,t){let r=w(wt(t)).replace(/https?:\/\//,""),n=w(e).replace(/https?:\/\//,"");return new RegExp(n,"i").test(r)}function tt(e,t){let r=qe(e),n=qe(t),i=ue(e),o=ue(t);return!!(r&&n&&i===o)}function rt(e,t,r="https://www.arcgis.com/sharing/rest"){let n=`${r}/oauth2/validateAppAccess`;return c(n,{method:"POST",params:{f:"json",client_id:t,token:e}})}function nt(e){let t=`${w(e.portal||"https://www.arcgis.com/sharing/rest")}/oauth2/revokeToken/`,r=e.token,n=e.clientId;delete e.portal,delete e.clientId,delete e.token;let i=Object.assign(Object.assign({},e),{httpMethod:"POST",params:{client_id:n,auth_token:r}});return c(t,i).then(o=>{if(!o.success)throw new S("Unable to revoke token",500,o,t,i);return o})}function q(e,t=window){return!t&&window&&(t=window),t.btoa(String.fromCharCode.apply(null,e)).replace(/\+/g,"-").replace(/\//g,"_").replace(/=+$/,"")}function ot(e,t=window){if(!t&&window&&(t=window),e&&t.isSecureContext&&t.crypto&&t.crypto.subtle){let n=new t.TextEncoder().encode(e);return t.crypto.subtle.digest("SHA-256",n).then(i=>q(new Uint8Array(i),t))}return Promise.resolve(null)}function ee(e){!e&&window&&(e=window);let t=e.crypto.getRandomValues(new Uint8Array(32));return q(t)}function it(e,t){return typeof e=="string"?e:typeof e=="object"?e.id:ee(t)}function st(e,t,r){return JSON.stringify(typeof t=="string"||!t?{id:e,originalUrl:r}:Object.assign({id:e},t))}function yt(e){return typeof e.userId=="string"||typeof e.expires=="number"}var v=class e extends M{constructor(t){if(super(t),this.clientId=t.clientId,this._refreshToken=t.refreshToken,this._refreshTokenExpires=t.refreshTokenExpires,this.password=t.password,this._token=t.token,this._tokenExpires=t.tokenExpires,this.portal=t.portal?w(t.portal):"https://www.arcgis.com/sharing/rest",this.ssl=t.ssl,this.provider=t.provider||"arcgis",this.tokenDuration=t.tokenDuration||20160,this.redirectUri=t.redirectUri,this.server=t.server,this.referer=t.referer,this.state=t.state,this.federatedServers={},this.trustedDomains=[],t.server){let r=this.getServerRootUrl(t.server);this.federatedServers[r]={token:t.token,expires:t.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(t,r){!r&&window&&(r=window);let{portal:n,provider:i,clientId:o,expiration:s,redirectUri:a,popup:m,popupWindowFeatures:l,locale:p,params:g,style:y,pkce:d,state:u}=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},t),f=it(u,r),b=`ARCGIS_REST_JS_AUTH_STATE_${o}`;r.localStorage.setItem(b,f);let x=`${w(n)}/oauth2/authorize`,R={client_id:o,response_type:d?"code":"token",expiration:s,redirect_uri:a,state:st(f,u,r.location.href),locale:p,style:y};i!=="arcgis"&&(x=`${w(n)}/oauth2/social/authorize`,R.socialLoginProviderName=i,R.autoAccountCreateForSocial=!0);let D;if(d){let P=ee(r),K=`ARCGIS_REST_JS_CODE_VERIFIER_${o}`;r.localStorage.setItem(K,P),D=ot(P,r).then(function(E){R.code_challenge_method=E?"S256":"plain",R.code_challenge=E||P})}else D=Promise.resolve();return D.then(()=>{if(x=`${x}?${j(R)}`,g&&(x=`${x}&${j(g)}`),m)return new Promise((P,K)=>{r.addEventListener(`arcgis-rest-js-popup-auth-${o}`,E=>{if(E.detail.error==="access_denied"){let L=new z;return K(L),L}if(E.detail.errorMessage){let L=new A(E.detail.errorMessage,E.detail.error);return K(L),L}P(new e({clientId:o,portal:n,ssl:E.detail.ssl,token:E.detail.token,tokenExpires:E.detail.expires,username:E.detail.username,refreshToken:E.detail.refreshToken,refreshTokenExpires:E.detail.refreshTokenExpires,redirectUri:a,state:E.detail.state}))},{once:!0}),r.open(x,"oauth-window",l),r.dispatchEvent(new CustomEvent("arcgis-rest-js-popup-auth-start"))});r.location.href=x})}static completeOAuth2(t,r){!r&&window&&(r=window);let{portal:n,clientId:i,popup:o,pkce:s,redirectUri:a}=Object.assign({portal:"https://www.arcgis.com/sharing/rest",popup:!0,pkce:!0},t),m=`ARCGIS_REST_JS_AUTH_STATE_${i}`,l=r.localStorage.getItem(m),p=Qe(s?r.location.search.replace(/^\?/,""):r.location.hash.replace(/^#/,"")),g=p&&p.state?JSON.parse(p.state):void 0;function y(u,f,b){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:{error:f,errorMessage:u}})),r.close();return}return b&&r.history.replaceState(r.history.state,"",b),f==="access_denied"?Promise.reject(new z):Promise.reject(new A(u,f))}function d(u,f){if(r.localStorage.removeItem(m),o&&r.opener){r.opener.dispatchEvent(new CustomEvent(`arcgis-rest-js-popup-auth-${i}`,{detail:Object.assign(Object.assign({},u),{state:f})})),r.close();return}return f.originalUrl&&r.history.replaceState(r.history.state,"",f.originalUrl),new e({clientId:i,portal:n,ssl:u.ssl,token:u.token,tokenExpires:u.expires,username:u.username,refreshToken:u.refreshToken,refreshTokenExpires:u.refreshTokenExpires,redirectUri:a||location.href.replace(location.search,""),state:f})}if(!l||!g)return y("No authentication state was found, call `ArcGISIdentityManager.beginOAuth2(...)` to start the authentication process.","no-auth-state");if(g.id!==l)return y("Saved client state did not match server sent state.","mismatched-auth-state");if(p.error){let u=p.error,f=p.error_description||"Unknown error";return y(f,u,g.originalUrl)}if(s&&p.code){let u=w(`${n}/oauth2/token/`),f=`ARCGIS_REST_JS_CODE_VERIFIER_${i}`,b=r.localStorage.getItem(f);return r.localStorage.removeItem(f),G(u,{httpMethod:"POST",params:{client_id:i,code_verifier:b,grant_type:"authorization_code",redirect_uri:a||location.href.replace(location.search,""),code:p.code}}).then(x=>d(Object.assign(Object.assign({},x),g),g)).catch(x=>y(x.originalMessage,x.code,g.originalUrl))}return!s&&p.access_token?Promise.resolve(d(Object.assign({token:p.access_token,expires:new Date(Date.now()+parseInt(p.expires_in,10)*1e3),ssl:p.ssl==="true",username:p.username},g),g)):y("Unknown error","oauth-error",g.originalUrl)}static fromParent(t,r){!r&&window&&(r=window);let n;return new Promise((i,o)=>{n=s=>{if(s.source===r.parent&&s.data)try{return i(e.parentMessageHandler(s))}catch(a){return o(a)}},r.addEventListener("message",n,!1),r.parent.postMessage({type:"arcgis:auth:requestCredential"},t)}).then(i=>(r.removeEventListener("message",n,!1),i))}static authorize(t,r){let{portal:n,clientId:i,expiration:o,redirectUri:s,state:a}=Object.assign({portal:"https://arcgis.com/sharing/rest",expiration:20160},t),m={client_id:i,expiration:o,response_type:"code",redirect_uri:s};a&&(m.state=a);let l=`${n}/oauth2/authorize?${j(m)}`;r.writeHead(301,{Location:l}),r.end()}static exchangeAuthorizationCode(t,r){let{portal:n,clientId:i,redirectUri:o}=Object.assign({portal:"https://www.arcgis.com/sharing/rest"},t);return G(`${n}/oauth2/token`,{params:{grant_type:"authorization_code",client_id:i,redirect_uri:o,code:r}}).then(s=>new e({clientId:i,portal:n,ssl:s.ssl,redirectUri:o,refreshToken:s.refreshToken,refreshTokenExpires:s.refreshTokenExpires,token:s.token,tokenExpires:s.expires,username:s.username})).catch(s=>{throw new I(s.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,s.response,s.url,s.options)})}static deserialize(t){let r=JSON.parse(t);return new e({clientId:r.clientId,refreshToken:r.refreshToken,refreshTokenExpires:r.refreshTokenExpires?new Date(r.refreshTokenExpires):void 0,username:r.username,password:r.password,token:r.token,tokenExpires:r.tokenExpires?new Date(r.tokenExpires):void 0,portal:r.portal,ssl:r.ssl,tokenDuration:r.tokenDuration,redirectUri:r.redirectUri,server:r.server})}static fromCredential(t,r){let n=typeof t.ssl<"u"?t.ssl:!0,i=t.expires||Date.now()+72e5;return r.hasServer?new e({server:t.server,ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)}):new e({portal:w(t.server.includes("sharing/rest")?t.server:t.server+"/sharing/rest"),ssl:n,token:t.token,username:t.userId,tokenExpires:new Date(i)})}static parentMessageHandler(t){if(t.data.type==="arcgis:auth:credential"){let r=t.data.credential;return yt(r)?e.fromCredential(r,{hasPortal:!0,hasServer:!1,server:r.server}):new e(r)}if(t.data.type==="arcgis:auth:error"){let r=new Error(t.data.error.message);throw r.name=t.data.error.name,r}else throw new Error("Unknown message type.")}static destroy(t){return nt({clientId:t.clientId,portal:t.portal,token:t.refreshToken||t.token})}static fromToken(t){let r=new e(t);return r.getUser().then(()=>r)}static signIn(t){let r=new e(t);return r.getUser().then(()=>r)}toCredential(){return{expires:this.tokenExpires.getTime(),server:this.server||this.portal,ssl:this.ssl,token:this.token,userId:this.username}}getPortal(t){if(this._pendingPortalRequest)return this._pendingPortalRequest;if(this._portalInfo)return Promise.resolve(this._portalInfo);{let r=`${this.portal}/portals/self`,n=Object.assign(Object.assign({httpMethod:"GET",authentication:this},t),{rawResponse:!1});return this._pendingPortalRequest=c(r,n).then(i=>(this._portalInfo=i,this._pendingPortalRequest=null,i)),this._pendingPortalRequest}}getToken(t,r){return tt(this.portal,t)?this.getFreshToken(r):new RegExp(this.portal,"i").test(t)?this.getFreshToken(r):this.getTokenForServer(t,r)}validateAppAccess(t){return this.getToken(this.portal).then(r=>rt(r,t))}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(t,r){!r&&window&&(r=window),this._hostHandler=this.createPostMessageHandler(t),r.addEventListener("message",this._hostHandler,!1)}disablePostMessageAuth(t){!t&&window&&(t=window),t.removeEventListener("message",this._hostHandler,!1)}refreshCredentials(t){return this.clearCachedUserInfo(),this.username&&this.password?this.refreshWithUsernameAndPassword(t):this.clientId&&this.refreshToken?this.refreshWithRefreshToken():Promise.reject(new I("Unable to refresh token. No refresh token or password present.",T.TOKEN_REFRESH_FAILED))}getServerRootUrl(t){let[r]=w(t).split(/\/rest(\/admin)?\/services(?:\/|#|\?|$)/),[n,i,o]=r.match(/(https?:\/\/)(.+)/),[s,...a]=o.split("/");return`${i}${s.toLowerCase()}/${a.join("/")}`}getDomainCredentials(t){return!this.trustedDomains||!this.trustedDomains.length?"same-origin":(t=t.toLowerCase(),this.trustedDomains.some(r=>t.startsWith(r.toLowerCase()))?"include":"same-origin")}signOut(){return e.destroy(this)}createPostMessageHandler(t){return r=>{let n=t.indexOf(r.origin)>-1,i=r.data.type==="arcgis:auth:requestCredential",o=this.tokenExpires.getTime()>Date.now();if(n&&i){let s={};if(o){let a=this.toCredential();a.server=a.server.replace("/sharing/rest",""),s={type:"arcgis:auth:credential",credential:a}}else s={type:"arcgis:auth:error",error:{name:"tokenExpiredError",message:"Token was expired, and not returned to the child application"}};r.source.postMessage(s,r.origin)}}}getTokenForServer(t,r){let n=this.getServerRootUrl(t),i=this.federatedServers[n];return i&&i.expires&&i.expires.getTime()>Date.now()?Promise.resolve(i.token):this._pendingTokenRequests[n]?this._pendingTokenRequests[n]:(this._pendingTokenRequests[n]=this.fetchAuthorizedDomains().then(()=>c(`${n}/rest/info`,{credentials:this.getDomainCredentials(t)}).then(o=>{if(o.owningSystemUrl){if(et(o.owningSystemUrl,this.portal))return c(`${o.owningSystemUrl}/sharing/rest/info`,r);throw new I(`${t} is not federated with ${this.portal}.`,T.NOT_FEDERATED)}else{if(o.authInfo&&this.federatedServers[n]!==void 0)return Promise.resolve({authInfo:o.authInfo});throw new I(`${t} is not federated with any portal and is not explicitly trusted.`,T.NOT_FEDERATED)}}).then(o=>this.token&&this.tokenExpires.getTime()<Date.now()?this.server?this.refreshCredentials().then(()=>({token:this.token,expires:this.tokenExpires})):this.refreshCredentials().then(()=>this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)):this.generateTokenForServer(o.authInfo.tokenServicesUrl,n)).then(o=>(this.federatedServers[n]=o,delete this._pendingTokenRequests[n],o.token))),this._pendingTokenRequests[n])}generateTokenForServer(t,r){return c(t,{params:{token:this.token,serverUrl:r,expiration:this.tokenDuration}}).then(n=>({token:n.token,expires:new Date(n.expires-1e3*60*5)})).catch(n=>{throw new I(n.message,T.GENERATE_TOKEN_FOR_SERVER_FAILED,n.response,n.url,n.options)})}getFreshToken(t){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(t).then(()=>(this._pendingTokenRequests[this.portal]=null,this.token))),this._pendingTokenRequests[this.portal])}refreshWithUsernameAndPassword(t){let r={username:this.username,password:this.password,expiration:this.tokenDuration,client:"referer",referer:this.referer?this.referer:typeof window<"u"&&typeof window.document<"u"&&window.location&&window.location.origin?window.location.origin:ce};return(this.server?c(`${this.getServerRootUrl(this.server)}/rest/info`).then(n=>c(n.authInfo.tokenServicesUrl,Object.assign({params:r},t))):c(`${this.portal}/generateToken`,Object.assign({params:r},t))).then(n=>(this.updateToken(n.token,new Date(n.expires)),this)).catch(n=>{throw new I(n.message,T.TOKEN_REFRESH_FAILED,n.response,n.url,n.options)})}refreshWithRefreshToken(t){if(this.refreshToken&&this.refreshTokenExpires&&this.refreshTokenExpires.getTime()-864e5<Date.now())return this.exchangeRefreshToken(t);let n=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,grant_type:"refresh_token"}},t);return G(`${this.portal}/oauth2/token`,n).then(i=>this.updateToken(i.token,i.expires)).catch(i=>{throw new I(i.message,T.TOKEN_REFRESH_FAILED,i.response,i.url,i.options)})}updateToken(t,r){return this._token=t,this._tokenExpires=r,this}exchangeRefreshToken(t){let r=Object.assign({params:{client_id:this.clientId,refresh_token:this.refreshToken,redirect_uri:this.redirectUri,grant_type:"exchange_refresh_token"}},t);return G(`${this.portal}/oauth2/token`,r).then(n=>(this._token=n.token,this._tokenExpires=n.expires,this._refreshToken=n.refreshToken,this._refreshTokenExpires=n.refreshTokenExpires,this)).catch(n=>{throw new I(n.message,T.REFRESH_TOKEN_EXCHANGE_FAILED,n.response,n.url,n.options)})}fetchAuthorizedDomains(){return this.server||!this.portal?Promise.resolve(this):this.getPortal().then(t=>(t.authorizedCrossOriginDomains&&t.authorizedCrossOriginDomains.length&&(this.trustedDomains=t.authorizedCrossOriginDomains.filter(r=>!r.startsWith("http://")).map(r=>r.startsWith("https://")?r:`https://${r}`)),this))}};function C(e){return console.log("DEPRECATED:, 'UserSession' is deprecated. Use 'ArcGISIdentityManager' instead."),new v(e)}C.beginOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.beginOAuth2' is deprecated. Use 'ArcGISIdentityManager.beginOAuth2' instead."),v.beginOAuth2(...e)};C.completeOAuth2=function(...e){return console.warn("DEPRECATED:, 'UserSession.completeOAuth2()' is deprecated. Use 'ArcGISIdentityManager.completeOAuth2()' instead."),e.length<=1&&console.warn("WARNING:, 'UserSession.completeOAuth2()' is now async and returns a promise the resolves to an instance of `ArcGISIdentityManager`."),v.completeOAuth2(...e)};C.fromParent=function(...e){return console.warn("DEPRECATED:, 'UserSession.fromParent' is deprecated. Use 'ArcGISIdentityManager.fromParent' instead."),v.fromParent(...e)};C.authorize=function(...e){return console.warn("DEPRECATED:, 'UserSession.authorize' is deprecated. Use 'ArcGISIdentityManager.authorize' instead."),v.authorize(...e)};C.exchangeAuthorizationCode=function(...e){return console.warn("DEPRECATED:, 'UserSession.exchangeAuthorizationCode' is deprecated. Use 'ArcGISIdentityManager.exchangeAuthorizationCode' instead."),v.exchangeAuthorizationCode(...e)};C.fromCredential=function(...e){return console.log("DEPRECATED:, 'UserSession.fromCredential' is deprecated. Use 'ArcGISIdentityManager.fromCredential' instead."),console.warn("WARNING:, 'UserSession.fromCredential' now requires a `ServerInfo` object from the JS API as a second parameter."),v.fromCredential(...e)};C.deserialize=function(...e){return console.log("DEPRECATED:, 'UserSession.deserialize' is deprecated. Use 'ArcGISIdentityManager.deserialize' instead."),v.deserialize(...e)};var le;(function(e){e.Success="Succeeded",e.Failed="Failed",e.Waiting="Waiting",e.Cancelled="Cancelled",e.Cancelling="Cancelling",e.New="New",e.Executing="Executing",e.Submitted="Submitted",e.Failure="Failure",e.TimedOut="TimedOut",e.Error="Error",e.Status="Etatus",e.Unknown="Unknown"})(le||(le={}));function h(e={}){return e.portal?w(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}var Et=/[\x00-\x1F\x7F-\x9F\xA0]/g;function at(e){return e.replace(Et,"")}function k(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function me(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function he(e){return e.join(",")}function te(e,t,r){if(!e)return e;let n=null;return typeof e.thumbnail=="string"&&(n=`${t}/content/items/${e.id}/info/${e.thumbnail}`,n&&e.access!=="public"&&r&&(n+=`?${r}`)),Object.assign(Object.assign({},e),n?{thumbnailUrl:n}:{})}function bo(e,t){let r=J(e,t),n=Object.assign({httpMethod:"GET"},t);return c(r,n).then(async i=>{let o=t?.portal||h(t),s;return t?.authentication&&typeof t.authentication!="string"&&i.access!=="public"&&(s=await t.authentication.getToken(r)),te(i,o,s)})}var J=(e,t)=>`${typeof t=="string"?t:h(t)}/content/items/${e}`;function wo(e,t){let r=`${J(e,t)}/data`,n=Object.assign({httpMethod:"GET",params:{}},t);return n.file&&(n.params.f=null),c(r,n).catch(i=>{if(!RegExp(/The string did not match the expected pattern|(Unexpected end of (JSON input|data at line 1 column 1))/i).test(i.message))throw i})}function yo(e,t){let r=`${J(e,t)}/resources`,n=Object.assign({},t);return n.params=Object.assign({num:1e3},n.params),c(r,n)}function Eo(e,t){let r=`${J(e,t)}/groups`;return c(r,t)}function _t(e,t){let{fileName:r="iteminfo.xml",readAs:n="text"}=t||{},i=Object.assign({httpMethod:"GET"},t);return Tt(e,`/info/${r}`,n,i)}function _o(e,t){let r=Object.assign(Object.assign({},t),{fileName:"metadata/metadata.xml"});return _t(e,r)}function Tt(e,t,r,n){let i=`${J(e,n)}${t}`,o=Object.assign({params:{}},n),s=o.rawResponse;return o.rawResponse=!0,o.params.f=null,c(i,o).then(a=>s?a:r!=="json"?a[r]():a.text().then(m=>JSON.parse(at(m))))}function It(e){return k(e).then(t=>{let r=e.folderId?`${h(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${h(e)}/content/users/${t}/items/${e.item.id}/update`;e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&me(e.params.extent)&&(e.params.extent=he(e.params.extent));let n=h(e),i=te(Object.assign(Object.assign({},e.item),{access:e.item.access}),n),o=e.params.thumbnailUrl;return typeof i.thumbnailUrl=="string"&&typeof o=="string"&&i.thumbnailUrl.split("?")[0]===o.split("?")[0]&&delete e.params.thumbnailUrl,c(r,e)})}function Po(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/addResources`;return e.params=Object.assign({file:e.resource,fileName:e.name,resourcesPrefix:e.prefix,text:e.content,access:e.private?"private":"inherit"},e.params),c(r,e)})}function kt(e,t){let r=`${h(t)}/community/groups/${e}`,n=Object.assign({httpMethod:"GET"},t);return c(r,n)}function ui(e){return k(e).then(t=>{let r=`${h(e)}/content/users/${t}/items/${e.id}/removeResources`;return e.params=Object.assign(Object.assign({},e.params),{resource:e.resource}),typeof e.deleteAll<"u"&&(e.params.deleteAll=e.deleteAll),c(r,e)})}var F=class e{constructor(t=""){this.termStack=[],this.rangeStack=[],this.openGroups=0,this.q=t}match(...t){return this.termStack=this.termStack.concat(t),this}in(t){let r=`\`in(${t?`"${t}"`:""})\``;return!this.hasRange&&!this.hasTerms?($(`${r} was called with no call to \`match(...)\` or \`from(...)\`/\`to(...)\`. Your query was not modified.`),this):(t&&t!=="*"&&(this.q+=`${t}:`),this.commit())}startGroup(){return this.commit(),this.openGroups>0&&(this.q+=" "),this.openGroups++,this.q+="(",this}endGroup(){return this.openGroups<=0?($("`endGroup(...)` was called without calling `startGroup(...)` first. Your query was not modified."),this):(this.commit(),this.openGroups--,this.q+=")",this)}and(){return this.addModifier("and")}or(){return this.addModifier("or")}not(){return this.addModifier("not")}from(t){return this.hasTerms?($('`from(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[0]=t,this)}to(t){return this.hasTerms?($('`to(...)` is not allowed after `match(...)` try using `.from(...).to(...).in(...)`. Optionally, you may see this because dates are incorrectly formatted. Dates should be a primative Date value, aka a number in milliseconds or Date object, ie new Date("2020-01-01"). Your query was not modified.'),this):(this.rangeStack[1]=t,this)}boost(t){return this.commit(),this.q+=`^${t}`,this}toParam(){return this.commit(),this.cleanup(),this.q}clone(){return this.commit(),this.cleanup(),new e(this.q+"")}addModifier(t){return this.currentModifer?($(`You have called \`${this.currentModifer}()\` after \`${t}()\`. Your current query was not modified.`),this):(this.commit(),this.q===""&&t!=="not"?($(`You have called \`${t}()\` without calling another method to modify your query first. Try calling \`match()\` first.`),this):(this.currentModifer=t,this.q+=this.q===""?"":" ",this.q+=`${t.toUpperCase()} `,this))}hasWhiteSpace(t){return/\s/g.test(t)}formatTerm(t){return t instanceof Date?t.getTime():typeof t=="string"&&this.hasWhiteSpace(t)?`"${t}"`:t}commit(){return this.currentModifer=void 0,this.hasRange&&(this.q+=`[${this.formatTerm(this.rangeStack[0])} TO ${this.formatTerm(this.rangeStack[1])}]`,this.rangeStack=[void 0,void 0]),this.hasTerms&&(this.q+=this.termStack.map(t=>this.formatTerm(t)).join(" "),this.termStack=[]),this}get hasTerms(){return this.termStack.length>0}get hasRange(){return this.rangeStack.length&&this.rangeStack[0]&&this.rangeStack[1]}cleanup(){if(this.openGroups>0)for($(`Automatically closing ${this.openGroups} group(s). You can use \`endGroup(...)\` to remove this warning.`);this.openGroups>0;)this.q+=")",this.openGroups--;let t=this.q;this.q=t.replace(/( AND ?| NOT ?| OR ?)*$/,""),t!==this.q&&$("`startGroup(...)` was called without calling `endGroup(...)` first. Your query was not modified."),this.q=this.q.replace(/(\(\))*/,"")}};function W(e,t){let r;typeof e=="string"||e instanceof F?r={httpMethod:"GET",params:{q:e}}:r=U(e,["q","num","start","sortField","sortOrder","searchUserAccess","searchUserName","filter","countFields","countSize","categories","categoryFilters"],{httpMethod:"GET"});let n;switch(t){case"item":n="/search";break;case"group":n="/community/groups";break;case"groupContent":if(typeof e!="string"&&!(e instanceof F)&&e.groupId)n=`/content/groups/${e.groupId}/search`;else return Promise.reject(new Error("you must pass a `groupId` option to `searchGroupContent`"));break;case"communityUser":n="/community/users";break;default:n="/portals/self/users/search";break}let i=h(r)+n;return c(i,r).then(o=>(o.nextStart&&o.nextStart!==-1&&(o.nextPage=function(){let s;return typeof e=="string"||e instanceof F?s={q:e,start:o.nextStart}:(s=e,s.start=o.nextStart),W(s,t)}),o))}function St(e){return W(e,"item")}function Zi(e){let t=`${h(e)}/community/groups/${e.group.id}/update`;return e.params=Object.assign(Object.assign({},e.params),e.group),c(t,e)}async function H(e){var t;if(e.username)return encodeURIComponent(e.username);if(!((t=e.authentication)===null||t===void 0)&&t.username)return encodeURIComponent(e.authentication.username);if(e.authentication)return e.authentication.getUsername().then(encodeURIComponent)}async function ct(e){let t,r={httpMethod:"GET"};if(typeof e=="string")t=`https://www.arcgis.com/sharing/rest/community/users/${e}`;else{let n=await H(e);t=`${h(e)}/community/users/${n}`,r=Object.assign(Object.assign({},e),r)}return c(t,r)}function ba(e){return jt(null,e)}function jt(e,t){let r=e||"self",n=`${h(t)}/portals/${r}`,i=Object.assign({httpMethod:"GET"},t);return c(n,i)}export{B as a,pt as b,Le as c,c as d,U as e,w as f,h as g,It as h,Po as i,bo as j,wo as k,yo as l,Eo as m,_o as n,kt as o,ui as p,St as q,Zi as r,ct as s,ba as t,jt as u};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import"./7DNFCJ4Y.js";var t={chart:"Graf",barChart:"Pruhov\xFD graf",lineChart:"\u010Ciarov\xFD graf",pieChart:"Kol\xE1\u010Dov\xFD graf",histogram:"Histogram",scatterplot:"Korela\u010Dn\xFD graf",boxPlot:"Krabicov\xFD graf"},a={mean:"Priemer",median:"Medi\xE1n",sum:"S\xFA\u010Det",discretePercentile:"Diskr\xE9tny percentil",minimum:"Minimum",maximum:"Maximum",variance:"Rozptyl",count:"Po\u010Det",aggregation:"${ statistics } z ${ fieldName }",noAggregation:"Bez agreg\xE1cie"},e="Graf",i="Po\u010Det s\xE9ri\xED",r="Os X",s="Nie je k dispoz\xEDcii",o={start:"Prichyti\u0165 k prv\xE9mu d\xE1tov\xE9mu bodu",end:"Prichyti\u0165 k posledn\xE9mu d\xE1tov\xE9mu bodu"},n={chartType:t,statistics:a,defaultTitle:e,countSeries:i,xAxis:r,notAvailable:s,timeAggregationTypes:o};export{t as chartType,i as countSeries,n as default,e as defaultTitle,s as notAvailable,a as statistics,o as timeAggregationTypes,r as xAxis};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as i}from"./NG3RFV4T.js";import{h as r}from"./TIKG5DJN.js";function t(n,e={}){return i(e,n.orgId)?!0:new r(n).canReadChannel(e)}export{t as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{b as n,c as s}from"./AHKV27UN.js";import{b as i}from"./WGT5GAZK.js";import{a as r}from"./AJL2CHHK.js";function m(e){return u(i(e))}function u(e){let t=r(e);return t.type=="custom"&&(t.text=n(e.text),t.url=s(e.url),!t.text&&!t.url&&(t.type="none")),t}export{m as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as g}from"./UF5RYM3U.js";import"./JHYXIFP7.js";import{a as m}from"./KLME7O23.js";import{a as u}from"./EJCQJKM4.js";import{a as n}from"./4R3BH4CY.js";import"./VTU2J77S.js";import"./D5YRB4CU.js";import"./XVMK5CYH.js";import"./NG3RFV4T.js";import"./MRMJEAPU.js";import"./QRJWUUWE.js";import"./JSBSKHPG.js";import"./V7GE2IYB.js";import"./J2HVWSGE.js";import"./S3L4VOV2.js";import"./2ROWPBQJ.js";import"./CG4FIHNF.js";import"./TIKG5DJN.js";import"./SRIBEDW7.js";import"./BEGZNWVT.js";import"./6SHD6D7T.js";import"./7J2OZWCH.js";import"./4BUOS2TR.js";import"./JZ7Y4RGU.js";import"./ULD3HUJE.js";import"./O2GV47HA.js";import"./DELYNYXO.js";import"./YEBH5R35.js";import"./Y2MCRSF6.js";import"./IA5QCDXI.js";import"./JQLTEBBO.js";import"./MXQVYJBT.js";import"./JTYRFL6J.js";import"./YKYFDNBY.js";import"./VDRJAB5R.js";import"./YJRYQN3I.js";import"./GS2JPJMM.js";import"./Y2G2AP6U.js";import"./BA5UAOFV.js";import"./M5YTDBBC.js";import"./R6ZGXRFG.js";import"./R6E6BOUQ.js";import"./E3ZLOV6H.js";import"./U4XAIBB3.js";import"./2ZY5IX4N.js";import"./BIHMO2ZC.js";import"./WGT5GAZK.js";import"./BK72IYRB.js";import"./GIF64WFE.js";import{b as p}from"./3G7Q5WGR.js";import"./3IPRWUXP.js";import"./BXCYRZYX.js";import"./67F3LJ2M.js";import"./EJXJ4XVO.js";import"./E6UUFVPC.js";import"./6NP7ZDHW.js";import"./P7KNZNDY.js";import"./7GUQVBK7.js";import"./DBE2FQPW.js";import"./P2XYAMH7.js";import"./K2BLNQZL.js";import"./QSJXFZA6.js";import"./5PE7MPGP.js";import"./M2QENR2B.js";import"./MVXEUSNJ.js";import"./JIQKZSDC.js";import"./WOGFGQVX.js";import"./WDZTG4LA.js";import"./XPOBRACF.js";import"./OPFRTMMQ.js";import"./H4HC7J3K.js";import{a as i}from"./ZWM6SNRH.js";import{c as b,j as M}from"./3BHRKA4G.js";import"./HJLGO4RD.js";import"./RKXQD3Z6.js";import"./BS7YWQX3.js";import"./A2U2VT6L.js";import"./KFZ3LO3B.js";import"./7BCSYQJZ.js";import"./5INX5FCX.js";import"./QE6YNV6B.js";import"./G4XLS45R.js";import"./XQVRF5PF.js";import"./XDME5LSZ.js";import{a as f}from"./N6F7K3VU.js";import{a as h}from"./OVJAU6MK.js";import"./CN7Y66EN.js";import"./PCHS2C6S.js";import"./OINWMC3E.js";import"./FNCR3T4I.js";import{b as a,c as v,d as C,i as y}from"./M4BJTUFK.js";import{a as l}from"./AGKWAXLF.js";import{a as d}from"./AJL2CHHK.js";import"./VVS2S4QP.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";function _(e){try{return JSON.parse(p(e))}catch(r){l.error("could not parse prop JSON",r)}}var R=new Error("Timeout"),S=(e,r)=>{let t,o=r*1e3;return Promise.race([e,new Promise((s,c)=>t=setTimeout(c,o,R))]).finally(()=>clearTimeout(t))},T=":host{display:block}",L=T,w=class{constructor(e){y(this,e),this.metric=void 0,this.encodedMetric=void 0,this.cardConfig=void 0,this.encodedCardConfig=void 0,this.headingLevel=2,this.resolvedMetric=void 0,this.errorMessage=void 0,this.isLoading=!1,this._context=b(),f(this,"beginResolveMetric")}connectedCallback(){M(this)}disconnectedCallback(){this.disconnectContext()}async resolveMetric(){var e;let r=this.encodedMetric?_(this.encodedMetric):this.prepareMetric(this.metric);this.verifyCompleteSource(r)&&this._context?this.resolvedMetric=await this.resolveMetricWithTimeout(r,this._context,(e=this._cardConfig)===null||e===void 0?void 0:e.serverTimeout):(console.info("Incomplete metric source."),this.resolvedMetric=void 0,this.isLoading=!1)}beginResolveMetric(){this.isLoading=!0,this.resolveMetric()}componentWillLoad(){this.beginResolveMetric(),this.intl=h.getIntlForComponent(this.element)}async resolveMetricWithTimeout(e,r,t){let o;try{o=t&&!isNaN(t)?await S(n(e,r),t):await n(e,r),this.errorMessage=void 0}catch(s){s==R?(this.errorMessage={premadeType:m.timeout},console.error("Timeout error")):(console.error("Error resolving metric: ",s),this.errorMessage={premadeType:m.generic})}return this.isLoading=!1,o}verifyCompleteSource(e){let r=!1;if(e?.source){let{type:t}=e.source;t==="static-value"?r=this.verifyStaticQuery(e.source):t==="service-query"&&(r=this.verifyServiceQuery(e.source))}return r}verifyStaticQuery(e){let{value:r,type:t}=e;return!i(r)&&!i(t)}verifyServiceQuery(e){let{type:r,serviceUrl:t,layerId:o,field:s,statistic:c}=e;return s&&!i(r)&&!i(t)&&!i(o)&&!i(s)&&!i(c)}prepareMetric(e){let r=d(e);if(r?.source&&r.source.where){let t=r.source;t.where=decodeURIComponent(t.where)}return r}get cardComponent(){return{"stat-card":"arcgis-stat-card"}[this._cardConfig.displayType]||"arcgis-stat-card"}get _cardConfig(){let e={metricId:"",displayType:"stat-card"};return this.cardConfig?e=this.cardConfig:this.encodedCardConfig&&(e=_(this.encodedCardConfig)),e}render(){let e=g(this.resolvedMetric,this._cardConfig,this.intl),r=this.cardComponent;return a(v,{key:"3df3385e7e8dff3dd495ee2d89a58f96ca299a6a","data-element":"metrics-card"},a(u,{key:"9b1f0c201401a26e242697fce59d8e6d29bcf5f6",context:{element:this.element,shareable:this._cardConfig.shareable,shareableOnHover:this._cardConfig.shareableOnHover,shareableByReference:this._cardConfig.shareableByReference,shareableByValue:this._cardConfig.shareableByValue},showShareUi:!0},a(r,Object.assign({key:"5bf4cbb608440a2bf3cd40b631d8eef66f3c6a05",errorMessage:this.errorMessage,headingLevel:this.headingLevel},e,{isLoading:this.isLoading}))))}get element(){return C(this)}static get watchers(){return{metric:["beginResolveMetric"],encodedMetric:["beginResolveMetric"],_context:["beginResolveMetric"]}}};w.style=L;export{w as arcgis_hub_metric_card};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import"./7DNFCJ4Y.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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as m,b as y}from"./45CDSRI5.js";import{a as p}from"./5INX5FCX.js";async function I(e,a,l){return(await Promise.all(e.map(async n=>await Promise.all(a.map(async r=>{let o={id:r.id,groupId:n.id,status:"success"};try{await y(r,[n.id],l)}catch{o.status="fail"}return o}))))).flat()}async function P(e,a,l){let i=(await Promise.all(e.map(async t=>await Promise.all(a.map(async c=>{let u={id:c.id,groupId:t.id,status:"success"};try{await m(c,[t.id],l)}catch{u.status="fail"}return u}))))).flat(),n=p(a[0]),r=["group","event"].includes(n)?n:"item",o=i.some(t=>t.status==="fail")?"fail":"success",d=e.map(t=>{let c=i.filter(s=>s.groupId===t.id&&s.status==="success").map(s=>s.id),u=i.filter(s=>s.groupId===t.id&&s.status==="fail").map(s=>s.id);return{group:t,targetEntity:r,success:c,successQuery:f(r,c),fail:u,failQuery:f(r,u)}});return{overallStatus:o,groups:e,entities:a,results:i,receipts:d}}function f(e,a){return{targetEntity:e,filters:[{predicates:[{id:a}]}]}}export{I as a,P as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ var L;(function(n){n[n.EXTRA_SMALL=576]="EXTRA_SMALL",n[n.SMALL=768]="SMALL",n[n.MEDIUM=992]="MEDIUM",n[n.LARGE=1200]="LARGE"})(L||(L={}));function i(){return Math.min(window.innerWidth,window.innerHeight)<L.SMALL}export{L as a,i as b};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{r as c,t as _,u as $}from"./4VD7BWG2.js";var o=(e,t)=>{let s=e._$AN;if(s===void 0)return!1;for(let i of s)i._$AO?.(t,!1),o(i,t);return!0},r=e=>{let t,s;do{if((t=e._$AM)===void 0)break;s=t._$AN,s.delete(e),e=t}while(s?.size===0)},d=e=>{for(let t;t=e._$AM;e=t){let s=t._$AN;if(s===void 0)t._$AN=s=new Set;else if(s.has(e))break;s.add(e),l(t)}};function a(e){this._$AN!==void 0?(r(this),this._$AM=e,d(this)):this._$AM=e}function f(e,t=!1,s=0){let i=this._$AH,h=this._$AN;if(h!==void 0&&h.size!==0)if(t)if(Array.isArray(i))for(let n=s;n<i.length;n++)o(i[n],!1),r(i[n]);else i!=null&&(o(i,!1),r(i));else o(this,e)}var l=e=>{e.type==c.CHILD&&(e._$AP??=f,e._$AQ??=a)},A=class extends _{constructor(){super(...arguments),this._$AN=void 0}_$AT(t,s,i){super._$AT(t,s,i),d(this),this.isConnected=t._$AU}_$AO(t,s=!0){t!==this.isConnected&&(this.isConnected=t,t?this.reconnected?.():this.disconnected?.()),s&&(o(this,t),r(this))}setValue(t){if($(this._$Ct))this._$Ct._$AI(t,this);else{let s=[...this._$Ct._$AH];s[this._$Ci]=t,this._$Ct._$AI(s,this,0)}}disconnected(){}reconnected(){}};export{A as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as b}from"./X63HHROV.js";import{b as y}from"./QEKCY57G.js";import"./YWNKOOG5.js";import"./DW26JCKP.js";import"./4I66LN2R.js";import"./DDVHYAWC.js";import"./XJGOFZ5B.js";import"./O4NSEVT7.js";import{a as g}from"./QWFJA5D7.js";import"./3TJG6ZAB.js";import"./NNA6XH77.js";import"./E4WFCGRO.js";import"./Q34RRDZW.js";import"./QAWR6PDZ.js";import"./CAHDLZNW.js";import"./SQ3VQ4J3.js";import"./4FSU64NN.js";import"./RCZRA247.js";import"./2MCBVSUR.js";import"./NBM7H66N.js";import"./ZYVLZZEJ.js";import"./SZHRBTWF.js";import"./FGLA7UTG.js";import"./O6PPIDLQ.js";import"./PULSJIOG.js";import"./2PCRPDWP.js";import"./MRMJEAPU.js";import"./QRJWUUWE.js";import"./JSBSKHPG.js";import"./V7GE2IYB.js";import"./J2HVWSGE.js";import"./S3L4VOV2.js";import"./2ROWPBQJ.js";import"./CG4FIHNF.js";import"./TIKG5DJN.js";import"./SRIBEDW7.js";import"./BEGZNWVT.js";import"./4BUOS2TR.js";import"./JZ7Y4RGU.js";import"./ULD3HUJE.js";import"./O2GV47HA.js";import"./DELYNYXO.js";import"./YEBH5R35.js";import"./Y2MCRSF6.js";import"./IA5QCDXI.js";import"./JQLTEBBO.js";import"./MXQVYJBT.js";import"./JTYRFL6J.js";import"./YKYFDNBY.js";import"./VDRJAB5R.js";import"./YJRYQN3I.js";import"./GS2JPJMM.js";import"./Y2G2AP6U.js";import"./BA5UAOFV.js";import"./M5YTDBBC.js";import"./R6ZGXRFG.js";import"./R6E6BOUQ.js";import"./E3ZLOV6H.js";import"./U4XAIBB3.js";import"./2ZY5IX4N.js";import"./BIHMO2ZC.js";import"./WGT5GAZK.js";import"./BK72IYRB.js";import"./GIF64WFE.js";import"./NVDXTQEU.js";import"./BXCYRZYX.js";import"./67F3LJ2M.js";import"./EJXJ4XVO.js";import"./E6UUFVPC.js";import"./6NP7ZDHW.js";import"./P7KNZNDY.js";import"./7GUQVBK7.js";import"./DBE2FQPW.js";import"./P2XYAMH7.js";import"./K2BLNQZL.js";import"./QSJXFZA6.js";import"./5PE7MPGP.js";import"./M2QENR2B.js";import"./MVXEUSNJ.js";import"./JIQKZSDC.js";import"./WOGFGQVX.js";import"./WDZTG4LA.js";import"./XPOBRACF.js";import"./OPFRTMMQ.js";import"./H4HC7J3K.js";import{c as S,d as E}from"./3BHRKA4G.js";import"./HJLGO4RD.js";import"./56FTFRIX.js";import"./BCODJFQW.js";import"./RKXQD3Z6.js";import"./BS7YWQX3.js";import{a as h}from"./A2U2VT6L.js";import"./KFZ3LO3B.js";import"./7BCSYQJZ.js";import{a as u}from"./5INX5FCX.js";import{o as a}from"./QE6YNV6B.js";import"./G4XLS45R.js";import"./XQVRF5PF.js";import"./XDME5LSZ.js";import{a as d}from"./N6F7K3VU.js";import{a as m}from"./OVJAU6MK.js";import"./CN7Y66EN.js";import"./PCHS2C6S.js";import{a as p}from"./OINWMC3E.js";import"./FNCR3T4I.js";import{b as e,c as f,d as w,e as n,i as k}from"./M4BJTUFK.js";import"./AGKWAXLF.js";import{a as c}from"./AJL2CHHK.js";import{a as l}from"./VVS2S4QP.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";export default $arcgis.t(([])=>{var C=".sc-arcgis-hub-entity-followers-h{display:block;height:100%}arcgis-hub-workspace-pane.sc-arcgis-hub-entity-followers{--arcgis-configuration-form-footer-max-width:800px;--arcgis-configuration-form-footer-scalable-padding:0.5rem}.entity-followers__tab.sc-arcgis-hub-entity-followers{display:flex;flex-direction:column;gap:2rem}calcite-tabs.sc-arcgis-hub-entity-followers{height:-moz-fit-content;height:fit-content;width:100%;gap:0px}",G=C,o;(function(t){t.FOLLOWERS="Followers",t.SETTINGS="Followers Settings"})(o||(o={}));var F=class{async init(){await this.fetchFollowersGroup()}constructor(t){k(this,t),this.hubTelemetry=n(this,"hubTelemetry",7),this.arcgisHubWorkspaceEntityChange=n(this,"arcgisHubWorkspaceEntityChange",7),this.handleTabActivated=i=>{i.preventDefault(),i.stopImmediatePropagation();let s=i.target;if(this.isDirty){this.attemptedClick={tab:s.tab,clickEvent:i};return}else this.activeTab=i.target.tab,this.hubTelemetry.emit(Object.assign(Object.assign({},p.dictionary.category.navigation.action.view),{label:this.activeTab}))},this.handleFollowersGroupCreation=async i=>{let s=i.detail,r=c(this.entity);try{await this._context.refreshUser(),E(this._context),this.workspacePaneEl.toggleLoading(!0,{headingRows:1,rows:3,showHeading:!0}),h("followersGroupId",s.id,r),await b(this.entityType,r,this._context),this.arcgisHubWorkspaceEntityChange.emit({entity:r,isDirty:!1})}catch(T){console.error(`There was an error creating a followers group: ${T}`),this.arcgisHubWorkspaceEntityChange.emit({entity:r,isDirty:!0})}finally{this.workspacePaneEl.toggleLoading(!1)}},this.entity=void 0,this.isMobile=!1,this.activeTab=o.FOLLOWERS,this.followersCount=void 0,this.newFollowersCount=void 0,this.footerSlotEl=void 0,this.isUserPickerOpen=!1,this.groupMembersSelected=[],this.isDirty=!1,this.attemptedClick=void 0,d(this,"handleEditorChanged","handleEditorSaved","handleTabActivated","handleFollowersGroupCreation","handlePrimaryTabKeyDown","handleDirtyStateModalClosed")}async componentWillLoad(){await this.loadTranslations(),this.followersGroupId&&this.init()}async loadTranslations(){this.intl=await m.loadIntlForComponent(this.element)}get _context(){return S()}get entityType(){return u(this.entity)}get isMember(){return a("hub:site:workspace:followers:member",this._context,this.entity).access}get canCreateFollowersGroup(){return a("hub:site:workspace:followers:create",this._context,this.entity).access}get followersGroupId(){return l(this.entity,"followersGroupId")}get tabConfigurations(){let t=["hub:site:workspace:followers:member"],i=["hub:site:workspace:followers:manager"];return[{title:this.intl.t("tabs.followers"),key:o.FOLLOWERS,permissions:t,content:this.renderFollowersTab()},{title:this.intl.t("tabs.settings"),key:o.SETTINGS,permissions:i,content:this.renderSettingsTab()}].filter(s=>s.permissions.every(r=>a(r,this._context,this.entity).access))}async fetchFollowersGroup(){this.followersGroup=(await g.fetch(this.followersGroupId,this._context)).toJson()}handlePrimaryTabKeyDown(t){switch(t.key){case" ":case"Enter":this.handleTabActivated(t);return}}handleDirtyStateModalClosed(t){t.detail?this.attemptedClick=null:(this.isDirty=!1,this.activeTab=this.attemptedClick.tab,this.attemptedClick=null)}renderTabs(){return e("calcite-tabs",null,e("calcite-tab-nav",{slot:"title-group"},this.tabConfigurations.map(t=>e("calcite-tab-title",{key:t.key,onClick:this.handleTabActivated,onKeyDown:this.handlePrimaryTabKeyDown,selected:this.activeTab===t.key,tab:t.key},t.title))),this.tabConfigurations.map(t=>e("calcite-tab",{class:"content-tab-container",key:t.key,selected:this.activeTab===t.key,tab:t.key},t.content)))}get shouldShowDirtyStateModal(){return!!this.attemptedClick}renderDirtyStateModal(){return this.shouldShowDirtyStateModal?e("arcgis-hub-workspace-dirty-state-modal",{"is-open":!0}):null}handleEntityChange(t){this.isDirty=t.detail.isDirty}renderFollowersTab(){return e("div",{class:"entity-followers__tab"},e("arcgis-hub-group-members-manager",{groupId:this.followersGroupId,isMobile:this.isMobile,showGalleryFacets:!1}))}handleEditorChanged(t){t.preventDefault(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.values,isDirty:!0})}handleEditorSaved(t){t.preventDefault(),this.arcgisHubWorkspaceEntityChange.emit({entity:t.detail.entity,isDirty:!t.detail.isSuccess})}renderSettingsTab(){return e("arcgis-hub-entity-editor",{editorType:`hub:${this.entityType}:followers`,entity:this.entity,footerSlotRef:this.footerSlotEl,include:["followersGroup.access AS _followers.groupAccess"],onArcgisHubEntityEditorChange:this.handleEditorChanged,onArcgisHubEntityEditorSaved:this.handleEditorSaved,variant:y.workspace})}renderEmptyState(){return e("arcgis-hub-help-state",{icon:"walking",message:this.intl.t("emptyState.message"),slot:"help-state"},this.canCreateFollowersGroup&&e("arcgis-hub-new-content",{"button-appearance":"outline-fill",entityConfigs:[{key:"group",editorType:"hub:group:create:followers",label:this.intl.t("emptyState.action"),description:this.intl.t("createFollowersGroup.formDescription"),defaults:{name:`${this.entity.name} ${this.intl.t("followers")}`,summary:this.intl.t("createFollowersGroup.defaultSummary"),access:"public",isViewOnly:!0,autoJoin:!0}}],onArcgisHubNewContentSuccess:this.handleFollowersGroupCreation,slot:"actions"}))}renderRestrictedAccessState(){return e("arcgis-hub-help-state",{icon:"walking",message:this.intl.t("restrictedAccessState.message"),slot:"help-state"})}render(){return e(f,{key:"12ca21d87455631d1c7f3dd6e0b4c9286e595931","data-element":"entity-followers"},e("arcgis-hub-workspace-pane",{key:"39f9b92c0e3c2b5e56fb0220bf286153f34848fe",isMobile:this.isMobile,ref:t=>{this.workspacePaneEl=t},stickyFooter:!0},e("h1",{key:"14262dc72d7b79df5ae1bf2f598bb8cc9a349a01",slot:"title"},this.intl.t("followers")),this.followersGroupId?this.isMember?this.renderTabs():this.renderRestrictedAccessState():this.renderEmptyState(),this.activeTab===o.SETTINGS&&e("div",{ref:t=>{this.footerSlotEl=t},slot:"footer"})),this.renderDirtyStateModal())}static get assetsDirs(){return["locales"]}get element(){return w(this)}static get watchers(){return{entity:["init"]}}};F.style=G;return F},"config")
@@ -0,0 +1,12 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as ee}from"./U4XAIBB3.js";import{a as D}from"./2ZY5IX4N.js";import{l as te}from"./BIHMO2ZC.js";import{a as B}from"./GIF64WFE.js";import{a as G}from"./DBE2FQPW.js";import{b as W}from"./P2XYAMH7.js";import{a as x}from"./K2BLNQZL.js";import{e as I,v as H}from"./QSJXFZA6.js";import{d as j,e as Q,i as Y,k as K}from"./WDZTG4LA.js";import{h as S}from"./H4HC7J3K.js";import{a as w}from"./G4XLS45R.js";import{c as z}from"./XDME5LSZ.js";import{a as v,g as X}from"./AJL2CHHK.js";import{a as $}from"./VVS2S4QP.js";import{c as q}from"./MUBTO5M7.js";var R=class{constructor(){this.operations=[]}startOperation(t){let r=v(t);r.startedAt=new Date().getTime(),r.state="working",this.operations.push(r)}start(t,r){let n={type:t,id:w(r,"id",X(`${t}_`)),inputs:w(r,"inputs",{}),cleanup:w(r,"cleanup","n/a"),startedAt:new Date().getTime(),state:"working"};return this.operations.push(n),n.id}getOperation(t){return this.operations.find(r=>r.id===t)}getOperations(){return this.operations}finish(t,r){let n=this.getOperation(t);if(n)n.duration=new Date().getTime()-n.startedAt,n.state="completed",r&&(n.output=v(r));else throw new Error(`No operation with id ${t} present in stack`)}merge(t){this.operations=[...this.operations,...t.operations]}getCompleted(){return v(this.operations.filter(t=>t.state==="completed"))}getWorking(){return v(this.operations.filter(t=>t.state==="working"))}toString(){return this.operations.sort((r,n)=>r.startedAt<n.startedAt?-1:n.startedAt<r.startedAt?1:0).map(Ae).join(`
5
+ `)}serialize(){return{operations:v(this.getOperations())}}};function Ae(e){let t=`${e.startedAt} : Operation ${e.id} started with inputs ${JSON.stringify(e.inputs)} but was not completed`;return e.state==="completed"&&(t=`${e.startedAt} : Operation ${e.id} took ${e.duration} ms with inputs ${JSON.stringify(e.inputs)} and output ${e.output?JSON.stringify(e.output):"n/a"}`),t}function Oe(e){let{url:t}=e,r=q(e,["url"]),n=`${I(t)}/layers`;return S(n,r)}var ye=async(e,t)=>{let r;try{let n=typeof e=="string"?await j(e,t):e;if(n.url){let i=I(n.url);if(n.access!=="public"&&t.authentication){let c=await t.authentication.getToken(n.url,t);c&&(i=`${i}?token=${c}`)}r=(await S(i,Object.assign(Object.assign({},t),{rawResponse:!0,httpMethod:"GET"}))).status!==200}else r=!0}catch{r=!0}return r};function Te(e,t){let r=$(t,"portal")||$(t,"authentication.portal")||"www.arcgis.com";r=r.split("/sharing/rest")[0];let n=`${G(r)}/sharing/rest`;return W(e,Object.assign(Object.assign({},t),{portal:n}))}var ve=e=>t=>e.reduce((r,n)=>r.then(n).catch(i=>{if(i.name==="OperationError")return Promise.reject(i);{let s=`IPipeableFn did not reject with an OperationError
6
+ Operation Stack:
7
+ ${t.stack.toString()}`,c=new D("pipeline execution error",s);return c.operationStack=t.stack.serialize(),Promise.reject(c)}}),Promise.resolve(t)),fe={},de={},m={};(function(e){let t=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",r=t+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040",n="["+t+"]["+r+"]*",i=new RegExp("^"+n+"$"),s=function(a,o){let l=[],f=o.exec(a);for(;f;){let u=[];u.startIndex=o.lastIndex-f[0].length;let h=f.length;for(let p=0;p<h;p++)u.push(f[p]);l.push(u),f=o.exec(a)}return l},c=function(a){let o=i.exec(a);return!(o===null||typeof o>"u")};e.isExist=function(a){return typeof a<"u"},e.isEmptyObject=function(a){return Object.keys(a).length===0},e.merge=function(a,o,l){if(o){let f=Object.keys(o),u=f.length;for(let h=0;h<u;h++)l==="strict"?a[f[h]]=[o[f[h]]]:a[f[h]]=o[f[h]]}},e.getValue=function(a){return e.isExist(a)?a:""},e.buildOptions=function(a,o,l){let f={};if(!a)return o;for(let u=0;u<l.length;u++)a[l[u]]!==void 0?f[l[u]]=a[l[u]]:f[l[u]]=o[l[u]];return f},e.isTagNameInArrayMode=function(a,o,l){return o===!1?!1:o instanceof RegExp?o.test(a):typeof o=="function"?!!o(a,l):o==="strict"},e.isName=c,e.getAllMatches=s,e.nameRegexp=n})(m);var A=m,U=function(e,t,r){let n={};if(!t.alwaysCreateTextNode&&(!e.child||A.isEmptyObject(e.child))&&(!e.attrsMap||A.isEmptyObject(e.attrsMap)))return A.isExist(e.val)?e.val:"";if(A.isExist(e.val)&&!(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar))){let s=A.isTagNameInArrayMode(e.tagname,t.arrayMode,r);n[t.textNodeName]=s?[e.val]:e.val}A.merge(n,e.attrsMap,t.arrayMode);let i=Object.keys(e.child);for(let s=0;s<i.length;s++){let c=i[s];if(e.child[c]&&e.child[c].length>1){n[c]=[];for(let a in e.child[c])e.child[c].hasOwnProperty(a)&&n[c].push(U(e.child[c][a],t,c))}else{let a=U(e.child[c][0],t,c),o=t.arrayMode===!0&&typeof a=="object"||A.isTagNameInArrayMode(c,t.arrayMode,r);n[c]=o?[a]:a}}return n};de.convertToJson=U;var y={},Ce=function(e,t,r){this.tagname=e,this.parent=t,this.child={},this.attrsMap={},this.val=r,this.addChild=function(n){Array.isArray(this.child[n.tagname])?this.child[n.tagname].push(n):this.child[n.tagname]=[n]}},Pe=/^[-+]?0x[a-fA-F0-9]+$/,we=/^([\-\+])?(0*)(\.[0-9]+([eE]\-?[0-9]+)?|[0-9]+(\.[0-9]+([eE]\-?[0-9]+)?)?)$/;!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var Ie={hex:!0,leadingZeros:!0,decimalPoint:".",eNotation:!0};function Ee(e,t={}){if(t=Object.assign({},Ie,t),!e||typeof e!="string")return e;let r=e.trim();if(t.skipLike!==void 0&&t.skipLike.test(r))return e;if(t.hex&&Pe.test(r))return Number.parseInt(r,16);{let n=we.exec(r);if(n){let i=n[1],s=n[2],c=Ve(n[3]),a=n[4]||n[6];if(!t.leadingZeros&&s.length>0&&i&&r[2]!==".")return e;if(!t.leadingZeros&&s.length>0&&!i&&r[1]!==".")return e;{let o=Number(r),l=""+o;return l.search(/[eE]/)!==-1||a?t.eNotation?o:e:r.indexOf(".")!==-1?l==="0"&&c===""||l===c||i&&l==="-"+c?o:e:s?c===l||i+c===l?o:e:r===l||r===i+l?o:e}}else return e}}function Ve(e){return e&&e.indexOf(".")!==-1&&(e=e.replace(/0+$/,""),e==="."?e="0":e[0]==="."?e="0"+e:e[e.length-1]==="."&&(e=e.substr(0,e.length-1))),e}var ke=Ee,O=m,Fe=m.buildOptions,E=Ce,Me=ke;"<((!\\[CDATA\\[([\\s\\S]*?)(]]>))|((NAME:)?(NAME))([^>]*)>|((\\/)(NAME)\\s*>))([^<]*)".replace(/NAME/g,O.nameRegexp);!Number.parseInt&&window.parseInt&&(Number.parseInt=window.parseInt);!Number.parseFloat&&window.parseFloat&&(Number.parseFloat=window.parseFloat);var he={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,ignoreNameSpace:!1,allowBooleanAttributes:!1,parseNodeValue:!0,parseAttributeValue:!1,arrayMode:!1,trimValues:!0,cdataTagName:!1,cdataPositionChar:"\\c",numParseOptions:{hex:!0,leadingZeros:!0},tagValueProcessor:function(e,t){return e},attrValueProcessor:function(e,t){return e},stopNodes:[],alwaysCreateTextNode:!1};y.defaultOptions=he;var ge=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","ignoreNameSpace","allowBooleanAttributes","parseNodeValue","parseAttributeValue","arrayMode","trimValues","cdataTagName","cdataPositionChar","tagValueProcessor","attrValueProcessor","parseTrueNumberOnly","numParseOptions","stopNodes","alwaysCreateTextNode"];y.props=ge;function V(e,t,r){return t&&(r.trimValues&&(t=t.trim()),t=r.tagValueProcessor(t,e),t=pe(t,r.parseNodeValue,r.numParseOptions)),t}function $e(e,t){if(t.ignoreNameSpace){let r=e.split(":"),n=e.charAt(0)==="/"?"/":"";if(r[0]==="xmlns")return"";r.length===2&&(e=n+r[1])}return e}function pe(e,t,r){if(t&&typeof e=="string"){let n=e.trim();return n==="true"?!0:n==="false"?!1:Me(e,r)}else return O.isExist(e)?e:""}var Se=new RegExp(`([^\\s=]+)\\s*(=\\s*(['"])(.*?)\\3)?`,"g");function re(e,t){if(!t.ignoreAttributes&&typeof e=="string"){e=e.replace(/\r?\n/g," ");let r=O.getAllMatches(e,Se),n=r.length,i={};for(let s=0;s<n;s++){let c=$e(r[s][1],t);c.length&&(r[s][4]!==void 0?(t.trimValues&&(r[s][4]=r[s][4].trim()),r[s][4]=t.attrValueProcessor(r[s][4],c),i[t.attributeNamePrefix+c]=pe(r[s][4],t.parseAttributeValue,t.numParseOptions)):t.allowBooleanAttributes&&(i[t.attributeNamePrefix+c]=!0))}if(!Object.keys(i).length)return;if(t.attrNodeName){let s={};return s[t.attrNodeName]=i,s}return i}}var je=function(e,t){e=e.replace(/\r\n?/g,`
8
+ `),t=Fe(t,he,ge);let r=new E("!xml"),n=r,i="";for(let s=0;s<e.length;s++)if(e[s]==="<")if(e[s+1]==="/"){let a=C(e,">",s,"Closing Tag is not closed."),o=e.substring(s+2,a).trim();if(t.ignoreNameSpace){let l=o.indexOf(":");l!==-1&&(o=o.substr(l+1))}n&&(n.val?n.val=O.getValue(n.val)+""+V(o,i,t):n.val=V(o,i,t)),t.stopNodes.length&&t.stopNodes.includes(n.tagname)&&(n.child=[],n.attrsMap==null&&(n.attrsMap={}),n.val=e.substr(n.startIndex+1,s-n.startIndex-1)),n=n.parent,i="",s=a}else if(e[s+1]==="?")s=C(e,"?>",s,"Pi Tag is not closed.");else if(e.substr(s+1,3)==="!--")s=C(e,"-->",s,"Comment is not closed.");else if(e.substr(s+1,2)==="!D"){let a=C(e,">",s,"DOCTYPE is not closed.");e.substring(s,a).indexOf("[")>=0?s=e.indexOf("]>",s)+1:s=a}else if(e.substr(s+1,2)==="!["){let a=C(e,"]]>",s,"CDATA is not closed.")-2,o=e.substring(s+9,a);if(i&&(n.val=O.getValue(n.val)+""+V(n.tagname,i,t),i=""),t.cdataTagName){let l=new E(t.cdataTagName,n,o);n.addChild(l),n.val=O.getValue(n.val)+t.cdataPositionChar,o&&(l.val=o)}else n.val=(n.val||"")+(o||"");s=a+2}else{let a=Be(e,s+1),o=a.data,l=a.index,f=o.indexOf(" "),u=o,h=!0;if(f!==-1&&(u=o.substr(0,f).replace(/\s\s*$/,""),o=o.substr(f+1)),t.ignoreNameSpace){let p=u.indexOf(":");p!==-1&&(u=u.substr(p+1),h=u!==a.data.substr(p+1))}if(n&&i&&n.tagname!=="!xml"&&(n.val=O.getValue(n.val)+""+V(n.tagname,i,t)),o.length>0&&o.lastIndexOf("/")===o.length-1){u[u.length-1]==="/"?(u=u.substr(0,u.length-1),o=u):o=o.substr(0,o.length-1);let p=new E(u,n,"");u!==o&&(p.attrsMap=re(o,t)),n.addChild(p)}else{let p=new E(u,n);t.stopNodes.length&&t.stopNodes.includes(p.tagname)&&(p.startIndex=l),u!==o&&h&&(p.attrsMap=re(o,t)),n.addChild(p),n=p}i="",s=l}else i+=e[s];return r};function Be(e,t){let r,n="";for(let i=t;i<e.length;i++){let s=e[i];if(r)s===r&&(r="");else if(s==='"'||s==="'")r=s;else{if(s===">")return{data:n,index:i};s===" "&&(s=" ")}n+=s}}function C(e,t,r,n){let i=e.indexOf(t,r);if(i===-1)throw new Error(n);return i+t.length-1}y.getTraversalObj=je;var be={},M=m,Je={allowBooleanAttributes:!1},Le=["allowBooleanAttributes"];be.validate=function(e,t){t=M.buildOptions(t,Je,Le);let r=[],n=!1,i=!1;e[0]==="\uFEFF"&&(e=e.substr(1));for(let s=0;s<e.length;s++)if(e[s]==="<"&&e[s+1]==="?"){if(s+=2,s=ne(e,s),s.err)return s}else if(e[s]==="<"){let c=s;if(s++,e[s]==="!"){s=se(e,s);continue}else{let a=!1;e[s]==="/"&&(a=!0,s++);let o="";for(;s<e.length&&e[s]!==">"&&e[s]!==" "&&e[s]!==" "&&e[s]!==`
9
+ `&&e[s]!=="\r";s++)o+=e[s];if(o=o.trim(),o[o.length-1]==="/"&&(o=o.substring(0,o.length-1),s--),!Ge(o)){let u;return o.trim().length===0?u="Invalid space after '<'.":u="Tag '"+o+"' is an invalid name.",g("InvalidTag",u,b(e,s))}let l=_e(e,s);if(l===!1)return g("InvalidAttr","Attributes for '"+o+"' have open quote.",b(e,s));let f=l.value;if(s=l.index,f[f.length-1]==="/"){let u=s-f.length;f=f.substring(0,f.length-1);let h=ie(f,t);if(h===!0)n=!0;else return g(h.err.code,h.err.msg,b(e,u+h.err.line))}else if(a)if(l.tagClosed){if(f.trim().length>0)return g("InvalidTag","Closing tag '"+o+"' can't have attributes or invalid starting.",b(e,c));{let u=r.pop();if(o!==u.tagName){let h=b(e,u.tagStartPos);return g("InvalidTag","Expected closing tag '"+u.tagName+"' (opened in line "+h.line+", col "+h.col+") instead of closing tag '"+o+"'.",b(e,c))}r.length==0&&(i=!0)}}else return g("InvalidTag","Closing tag '"+o+"' doesn't have proper closing.",b(e,s));else{let u=ie(f,t);if(u!==!0)return g(u.err.code,u.err.msg,b(e,s-f.length+u.err.line));if(i===!0)return g("InvalidXml","Multiple possible root nodes found.",b(e,s));r.push({tagName:o,tagStartPos:c}),n=!0}for(s++;s<e.length;s++)if(e[s]==="<")if(e[s+1]==="!"){s++,s=se(e,s);continue}else if(e[s+1]==="?"){if(s=ne(e,++s),s.err)return s}else break;else if(e[s]==="&"){let u=Xe(e,s);if(u==-1)return g("InvalidChar","char '&' is not expected.",b(e,s));s=u}e[s]==="<"&&s--}}else{if(e[s]===" "||e[s]===" "||e[s]===`
10
+ `||e[s]==="\r")continue;return g("InvalidChar","char '"+e[s]+"' is not expected.",b(e,s))}if(n){if(r.length==1)return g("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",b(e,r[0].tagStartPos));if(r.length>0)return g("InvalidXml","Invalid '"+JSON.stringify(r.map(s=>s.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1})}else return g("InvalidXml","Start tag expected.",1);return!0};function ne(e,t){let r=t;for(;t<e.length;t++)if(e[t]=="?"||e[t]==" "){let n=e.substr(r,t-r);if(t>5&&n==="xml")return g("InvalidXml","XML declaration allowed only at the start of the document.",b(e,t));if(e[t]=="?"&&e[t+1]==">"){t++;break}else continue}return t}function se(e,t){if(e.length>t+5&&e[t+1]==="-"&&e[t+2]==="-"){for(t+=3;t<e.length;t++)if(e[t]==="-"&&e[t+1]==="-"&&e[t+2]===">"){t+=2;break}}else if(e.length>t+8&&e[t+1]==="D"&&e[t+2]==="O"&&e[t+3]==="C"&&e[t+4]==="T"&&e[t+5]==="Y"&&e[t+6]==="P"&&e[t+7]==="E"){let r=1;for(t+=8;t<e.length;t++)if(e[t]==="<")r++;else if(e[t]===">"&&(r--,r===0))break}else if(e.length>t+9&&e[t+1]==="["&&e[t+2]==="C"&&e[t+3]==="D"&&e[t+4]==="A"&&e[t+5]==="T"&&e[t+6]==="A"&&e[t+7]==="["){for(t+=8;t<e.length;t++)if(e[t]==="]"&&e[t+1]==="]"&&e[t+2]===">"){t+=2;break}}return t}var Re='"',Ue="'";function _e(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if(e[t]===Re||e[t]===Ue)n===""?n=e[t]:n!==e[t]||(n="");else if(e[t]===">"&&n===""){i=!0;break}r+=e[t]}return n!==""?!1:{value:r,index:t,tagClosed:i}}var Ze=new RegExp(`(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['"])(([\\s\\S])*?)\\5)?`,"g");function ie(e,t){let r=M.getAllMatches(e,Ze),n={};for(let i=0;i<r.length;i++){if(r[i][1].length===0)return g("InvalidAttr","Attribute '"+r[i][2]+"' has no space in starting.",k(r[i]));if(r[i][3]===void 0&&!t.allowBooleanAttributes)return g("InvalidAttr","boolean attribute '"+r[i][2]+"' is not allowed.",k(r[i]));let s=r[i][2];if(!xe(s))return g("InvalidAttr","Attribute '"+s+"' is an invalid name.",k(r[i]));if(!n.hasOwnProperty(s))n[s]=1;else return g("InvalidAttr","Attribute '"+s+"' is repeated.",k(r[i]))}return!0}function qe(e,t){let r=/\d/;for(e[t]==="x"&&(t++,r=/[\da-fA-F]/);t<e.length;t++){if(e[t]===";")return t;if(!e[t].match(r))break}return-1}function Xe(e,t){if(t++,e[t]===";")return-1;if(e[t]==="#")return t++,qe(e,t);let r=0;for(;t<e.length;t++,r++)if(!(e[t].match(/\w/)&&r<20)){if(e[t]===";")break;return-1}return t}function g(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function xe(e){return M.isName(e)}function Ge(e){return M.isName(e)}function b(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function k(e){return e.startIndex+e[1].length}var Ne={},N=function(e){return String.fromCharCode(e)},d={nilChar:N(176),missingChar:N(201),nilPremitive:N(175),missingPremitive:N(200),emptyChar:N(178),emptyValue:N(177),boundryChar:N(179),objStart:N(198),arrStart:N(204),arrayEnd:N(185)},We=[d.nilChar,d.nilPremitive,d.missingChar,d.missingPremitive,d.boundryChar,d.emptyChar,d.emptyValue,d.arrayEnd,d.objStart,d.arrStart],P=function(e,t,r){if(typeof t=="string")return e&&e[0]&&e[0].val!==void 0?J(e[0].val):J(e);{let n=ze(e);if(n===!0){let i="";if(Array.isArray(t)){i+=d.arrStart;let s=t[0],c=e.length;if(typeof s=="string")for(let a=0;a<c;a++){let o=J(e[a].val);i=L(i,o)}else for(let a=0;a<c;a++){let o=P(e[a],s,r);i=L(i,o)}i+=d.arrayEnd}else{i+=d.objStart;let s=Object.keys(t);Array.isArray(e)&&(e=e[0]);for(let c in s){let a=s[c],o;!r.ignoreAttributes&&e.attrsMap&&e.attrsMap[a]?o=P(e.attrsMap[a],t[a],r):a===r.textNodeName?o=P(e.val,t[a],r):o=P(e.child[a],t[a],r),i=L(i,o)}}return i}else return n}},J=function(e){switch(e){case void 0:return d.missingPremitive;case null:return d.nilPremitive;case"":return d.emptyValue;default:return e}},L=function(e,t){return!ae(t[0])&&!ae(e[e.length-1])&&(e+=d.boundryChar),e+t},ae=function(e){return We.indexOf(e)!==-1};function ze(e){return e===void 0?d.missingChar:e===null?d.nilChar:e.child&&Object.keys(e.child).length===0&&(!e.attrsMap||Object.keys(e.attrsMap).length===0)?d.emptyChar:!0}var oe=y,He=m.buildOptions,Qe=function(e,t,r){return r=He(r,oe.defaultOptions,oe.props),P(e,t,r)};Ne.convert2nimn=Qe;var me={},F=m,Ye=m.buildOptions,ce=y,Ke=function(e,t){return t=Ye(t,ce.defaultOptions,ce.props),t.indentBy=t.indentBy||"",_(e,t)},_=function(e,t,r){let n="{",i=Object.keys(e.child);for(let s=0;s<i.length;s++){let c=i[s];if(e.child[c]&&e.child[c].length>1){n+='"'+c+'" : [ ';for(let a in e.child[c])n+=_(e.child[c][a],t)+" , ";n=n.substr(0,n.length-1)+" ] "}else n+='"'+c+'" : '+_(e.child[c][0],t)+" ,"}return F.merge(n,e.attrsMap),F.isEmptyObject(n)?F.isExist(e.val)?e.val:"":(F.isExist(e.val)&&(typeof e.val=="string"&&(e.val===""||e.val===t.cdataPositionChar)||(n+='"'+t.textNodeName+'" : '+De(e.val))),n[n.length-1]===","&&(n=n.substr(0,n.length-2)),n+"}")};function De(e){return e===!0||e===!1||!isNaN(e)?e:'"'+e+'"'}me.convertToJsonString=Ke;var et=m.buildOptions,tt={attributeNamePrefix:"@_",attrNodeName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataTagName:!1,cdataPositionChar:"\\c",format:!1,indentBy:" ",supressEmptyNode:!1,tagValueProcessor:function(e){return e},attrValueProcessor:function(e){return e}},rt=["attributeNamePrefix","attrNodeName","textNodeName","ignoreAttributes","cdataTagName","cdataPositionChar","format","indentBy","supressEmptyNode","tagValueProcessor","attrValueProcessor","rootNodeName"];function Z(e){this.options=et(e,tt,rt),this.options.ignoreAttributes||this.options.attrNodeName?this.isAttribute=function(){return!1}:(this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ut),this.options.cdataTagName?this.isCDATA=lt:this.isCDATA=function(){return!1},this.replaceCDATAstr=st,this.replaceCDATAarr=it,this.processTextOrObjNode=nt,this.options.format?(this.indentate=ct,this.tagEndChar=`>
11
+ `,this.newLine=`
12
+ `):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine=""),this.options.supressEmptyNode?(this.buildTextNode=ot,this.buildObjNode=at):(this.buildTextNode=le,this.buildObjNode=ue),this.buildTextValNode=le,this.buildObjectNode=ue}Z.prototype.parse=function(e){return Array.isArray(e)&&this.options.rootNodeName&&this.options.rootNodeName.length>1&&(e={[this.options.rootNodeName]:e}),this.j2x(e,0).val};Z.prototype.j2x=function(e,t){let r="",n="";for(let i in e)if(!(typeof e[i]>"u"))if(e[i]===null)n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar;else if(e[i]instanceof Date)n+=this.buildTextNode(e[i],i,"",t);else if(typeof e[i]!="object"){let s=this.isAttribute(i);s?r+=" "+s+'="'+this.options.attrValueProcessor(""+e[i])+'"':this.isCDATA(i)?e[this.options.textNodeName]?n+=this.replaceCDATAstr(e[this.options.textNodeName],e[i]):n+=this.replaceCDATAstr("",e[i]):i===this.options.textNodeName?e[this.options.cdataTagName]||(n+=this.options.tagValueProcessor(""+e[i])):n+=this.buildTextNode(e[i],i,"",t)}else if(Array.isArray(e[i]))if(this.isCDATA(i))n+=this.indentate(t),e[this.options.textNodeName]?n+=this.replaceCDATAarr(e[this.options.textNodeName],e[i]):n+=this.replaceCDATAarr("",e[i]);else{let s=e[i].length;for(let c=0;c<s;c++){let a=e[i][c];typeof a>"u"||(a===null?n+=this.indentate(t)+"<"+i+"/"+this.tagEndChar:typeof a=="object"?n+=this.processTextOrObjNode(a,i,t):n+=this.buildTextNode(a,i,"",t))}}else if(this.options.attrNodeName&&i===this.options.attrNodeName){let s=Object.keys(e[i]),c=s.length;for(let a=0;a<c;a++)r+=" "+s[a]+'="'+this.options.attrValueProcessor(""+e[i][s[a]])+'"'}else n+=this.processTextOrObjNode(e[i],i,t);return{attrStr:r,val:n}};function nt(e,t,r){let n=this.j2x(e,r+1);return e[this.options.textNodeName]!==void 0&&Object.keys(e).length===1?this.buildTextNode(n.val,t,n.attrStr,r):this.buildObjNode(n.val,t,n.attrStr,r)}function st(e,t){return e=this.options.tagValueProcessor(""+e),this.options.cdataPositionChar===""||e===""?e+"<![CDATA["+t+"]]"+this.tagEndChar:e.replace(this.options.cdataPositionChar,"<![CDATA["+t+"]]"+this.tagEndChar)}function it(e,t){if(e=this.options.tagValueProcessor(""+e),this.options.cdataPositionChar===""||e==="")return e+"<![CDATA["+t.join("]]><![CDATA[")+"]]"+this.tagEndChar;for(let r in t)e=e.replace(this.options.cdataPositionChar,"<![CDATA["+t[r]+"]]>");return e+this.newLine}function ue(e,t,r,n){return r&&e.indexOf("<")===-1?this.indentate(n)+"<"+t+r+">"+e+"</"+t+this.tagEndChar:this.indentate(n)+"<"+t+r+this.tagEndChar+e+this.indentate(n)+"</"+t+this.tagEndChar}function at(e,t,r,n){return e!==""?this.buildObjectNode(e,t,r,n):this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}function le(e,t,r,n){return this.indentate(n)+"<"+t+r+">"+this.options.tagValueProcessor(e)+"</"+t+this.tagEndChar}function ot(e,t,r,n){return e!==""?this.buildTextValNode(e,t,r,n):this.indentate(n)+"<"+t+r+"/"+this.tagEndChar}function ct(e){return this.options.indentBy.repeat(e)}function ut(e){return e.startsWith(this.options.attributeNamePrefix)?e.substr(this.attrPrefixLen):!1}function lt(e){return e===this.options.cdataTagName}var ft=Z;(function(e){let t=de,r=y,n=y,i=m.buildOptions,s=be;e.parse=function(c,a={},o){if(o){o===!0&&(o={});let u=s.validate(c,o);if(u!==!0)throw Error(u.err.msg)}a.parseTrueNumberOnly&&a.parseNodeValue!==!1&&!a.numParseOptions&&(a.numParseOptions={leadingZeros:!1});let l=i(a,n.defaultOptions,n.props),f=r.getTraversalObj(c,l);return t.convertToJson(f,l)},e.convertTonimn=Ne.convert2nimn,e.getTraversalObj=r.getTraversalObj,e.convertToJson=t.convertToJson,e.convertToJsonString=me.convertToJsonString,e.validate=s.validate,e.j2xParser=ft,e.parseToNimn=function(c,a,o){return e.convertTonimn(e.getTraversalObj(c,o),a,o)}})(fe);async function dt(e){let t={ignoreAttributes:!1,attributeNamePrefix:"@_",textNodeName:"#value"};return Promise.resolve(fe.parse(e,t))}async function ht(e,t){try{let r=await K(e,t);return await dt(r)}catch{return null}}var gt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichGroupIds");return Y(t.item.id,n).then(s=>{let{admin:c,member:a,other:o}=s,l=[...c,...a,...o].map(f=>f.id);return r.finish(i),{data:Object.assign(Object.assign({},t),{groupIds:l}),stack:r,requestOptions:n}}).catch(s=>T(s,e,i))},pt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichMetadata");return ht(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{metadata:s}),stack:r,requestOptions:n}))},bt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichOwner"),s=Object.assign({username:t.item.owner},n);return x(s).then(c=>(r.finish(i),{data:Object.assign(Object.assign({},t),{ownerUser:c}),stack:r,requestOptions:n})).catch(c=>T(c,e,i))},Nt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichOrg"),s=H(t.item,t.ownerUser);return(s?Te(s,n):Promise.resolve(void 0)).then(a=>(r.finish(i),{data:Object.assign(Object.assign({},t),{org:a}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},mt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichData");return Q(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{data:s}),stack:r,requestOptions:n})).catch(s=>T(s,e,i))},At=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichData");return j(t.item.id,n).then(s=>(r.finish(i),{data:Object.assign(Object.assign({},t),{item:s}),stack:r,requestOptions:n})).catch(s=>T(s,e,i))},Ot=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichServer"),s=I(t.item.url),c=Object.assign(Object.assign({},n),{url:s});return Promise.all([ee(c),ye(t.item,n)]).then(([a,o])=>(r.finish(i),{data:Object.assign(Object.assign({},t),{server:Object.assign(Object.assign({},a),{servicesDirectoryDisabled:o})}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},yt=e=>{let{data:t,stack:r,requestOptions:n}=e,i=r.start("enrichLayers"),s=t.item.url,c=Object.assign(Object.assign({},n),{url:s});return Oe(c).then(a=>[...a.layers,...a.tables].filter(l=>l.type!=="Group Layer")).then(a=>(r.finish(i),{data:Object.assign(Object.assign({},t),{layers:a}),stack:r,requestOptions:n})).catch(a=>T(a,e,i))},T=(e,t,r)=>{let{data:n,stack:i,requestOptions:s}=t;return i.finish(r,{error:e}),{data:Object.assign(Object.assign({},n),{errors:vt(e,n.errors)}),stack:i,requestOptions:s}},Tt={groupIds:gt,metadata:pt,ownerUser:bt,org:Nt,data:mt,server:Ot,layers:yt,item:At},vt=(e,t=[])=>{let r=typeof e=="string"?e:e.message;return[...t,{type:"Other",message:r}]},Rt=(e,t,r)=>{let n=t.reduce((s,c)=>{let a=Tt[c];return a&&s.push(a),s},[]);return ve(n)({data:{item:e},stack:new R,requestOptions:r}).then(s=>s.data)},Ut=e=>{let t=te(e),r=z(t),n=["template","solution"],i=["Web Map","Web Scene","Feature Service","Discussion","Hub Initiative","Hub Page","Hub Project"];return B(n,r)||B(i,t)};export{R as a,ye as b,Te as c,ve as d,vt as e,Rt as f,Ut as g};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ var t=["blank","newGroup","existingGroup"],e={type:"string",minLength:1,maxLength:250,format:"entityTitleValidator"},s={type:"string",minLength:1,maxLength:250,format:"siteEntityTitleValidator"},r={type:"string",minLength:1,maxLength:240,format:"siteEntityTitleValidator"},p={type:"string",maxLength:2048},n={type:"string",enum:["public","org","private"],default:"private"},a={type:"array",items:{type:"string"}},i={type:"array",items:{type:"string"},maxItems:20},o={type:"boolean",enum:[!0,!1],default:!0},y={type:"object",properties:{allowedChannelIds:{type:"array",items:{type:"string"}},allowedLocations:{type:"array",items:{type:"object"}}}},E={type:"array",maxItems:4,items:{type:"string"}},l={type:"object",default:{type:"none"},properties:{type:{type:"string",enum:["none","org","custom"],default:"none"},name:{type:"string"}}},g={type:"object",properties:{baseViewItemId:{type:"array",items:{type:"string"},maxItems:1}}},T={type:"object",properties:{base64:{type:"string"},format:{type:"string"},fileName:{type:"string"},blob:{type:"object",properties:{type:{type:"string"},size:{type:"number"}}},url:{type:"string"}}},c={type:"object",properties:{title:{type:"string"},description:{type:"string"},canCollapse:{type:"boolean"},stages:{type:"array",items:{type:"object",required:["title"],properties:{title:{type:"string",minLength:1},timeframe:{type:"string"},stageDescription:{type:"string"},status:{type:"string"},link:{type:"object",properties:{href:{type:"string"},title:{type:"string"}}}}}}}},m={type:"object",properties:{consentNotice:{type:"object",properties:{allowPrivacyConfig:{type:"boolean",default:!1},blocking:{type:"boolean",default:!1},disclaimer:{type:"array",items:[{type:"object",properties:{text:{type:"string"},lang:{type:"string"},default:{type:"boolean"}}}]},policyURL:{type:"string",pattern:"^(https?:\\/\\/)?([\\da-z.-]+)\\.([a-z.]{2,6})([\\/\\w.-]*)*\\/?$|^$"}}}}},_={type:"string",pattern:"^[a-z0-9]+(?:-[a-z0-9]+)*$"},S={type:"object",properties:{type:{type:"string",enum:[...t],default:"blank"},groupId:{type:"array",maxItems:1,items:{type:"string"}}},allOf:[{if:{required:["type"],properties:{type:{const:"existingGroup"}}},then:{required:["groupId"]}}]},I={type:"object",properties:{layout:{type:"string",enum:["blank","simple"],default:"blank"}}};export{t as a,e as b,s as c,r as d,p as e,n as f,a as g,i as h,o as i,y as j,E as k,l,g as m,T as n,c as o,m as p,_ as q,S as r,I as s};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ var r=t=>{let i=t.title;return!t.thumbnailUrl&&t.title&&(t.title.includes(" ")||(i=(t.title.startsWith("@")?t.title.substring(1,3):t.title.substring(0,2)).split("").join(" "))),i};export{r as a};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{a as g}from"./6NP7ZDHW.js";import{o as m}from"./QSJXFZA6.js";import{a as l}from"./A2U2VT6L.js";import{d as y}from"./XDME5LSZ.js";import{a as c}from"./AJL2CHHK.js";import{a as f}from"./VVS2S4QP.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};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/0.28/esri/copyright.txt for details.
3
+ v0.28.0 */
4
+ import{e as n}from"./KETLEIMD.js";import"./D5YRB4CU.js";import"./XVMK5CYH.js";import"./NG3RFV4T.js";import"./MRMJEAPU.js";import"./QRJWUUWE.js";import"./JSBSKHPG.js";import"./V7GE2IYB.js";import"./J2HVWSGE.js";import"./S3L4VOV2.js";import"./2ROWPBQJ.js";import"./CG4FIHNF.js";import"./TIKG5DJN.js";import"./SRIBEDW7.js";import"./BEGZNWVT.js";import"./6SHD6D7T.js";import"./7J2OZWCH.js";import"./4BUOS2TR.js";import"./JZ7Y4RGU.js";import"./ULD3HUJE.js";import"./O2GV47HA.js";import"./DELYNYXO.js";import"./YEBH5R35.js";import"./Y2MCRSF6.js";import"./IA5QCDXI.js";import"./JQLTEBBO.js";import"./MXQVYJBT.js";import"./JTYRFL6J.js";import"./YKYFDNBY.js";import"./VDRJAB5R.js";import"./YJRYQN3I.js";import"./GS2JPJMM.js";import"./Y2G2AP6U.js";import"./BA5UAOFV.js";import"./M5YTDBBC.js";import"./R6ZGXRFG.js";import"./R6E6BOUQ.js";import"./E3ZLOV6H.js";import"./U4XAIBB3.js";import"./2ZY5IX4N.js";import"./BIHMO2ZC.js";import"./WGT5GAZK.js";import"./BK72IYRB.js";import"./GIF64WFE.js";import"./EYAOQCFG.js";import"./3G7Q5WGR.js";import"./3IPRWUXP.js";import"./NVDXTQEU.js";import"./BXCYRZYX.js";import"./67F3LJ2M.js";import"./EJXJ4XVO.js";import"./E6UUFVPC.js";import"./6NP7ZDHW.js";import"./P7KNZNDY.js";import"./7GUQVBK7.js";import"./DBE2FQPW.js";import"./P2XYAMH7.js";import"./K2BLNQZL.js";import"./QSJXFZA6.js";import"./5PE7MPGP.js";import"./M2QENR2B.js";import"./MVXEUSNJ.js";import"./JIQKZSDC.js";import"./WOGFGQVX.js";import"./WDZTG4LA.js";import"./XPOBRACF.js";import"./OPFRTMMQ.js";import"./H4HC7J3K.js";import{c as d}from"./3BHRKA4G.js";import"./HJLGO4RD.js";import"./RKXQD3Z6.js";import"./BS7YWQX3.js";import"./A2U2VT6L.js";import"./KFZ3LO3B.js";import"./7BCSYQJZ.js";import"./5INX5FCX.js";import"./QE6YNV6B.js";import"./G4XLS45R.js";import"./XQVRF5PF.js";import"./XDME5LSZ.js";import{a as l}from"./N6F7K3VU.js";import"./OINWMC3E.js";import"./FNCR3T4I.js";import{b as r,c,e as h,h as i,i as u}from"./M4BJTUFK.js";import{a as s}from"./AGKWAXLF.js";import"./AJL2CHHK.js";import"./VVS2S4QP.js";import"./MUBTO5M7.js";import"./7DNFCJ4Y.js";var g=":host{display:block}section{margin-top:1rem}header{display:flex;flex-direction:row;justify-content:space-between}",b=g,f=class{onSearchChange(t){s.debug("search change",t.detail),this.searchValue=t.detail}constructor(t){u(this,t),this.hubBrowseCollectionSelected=h(this,"hubBrowseCollectionSelected",7),this.entity=void 0,this.capability=void 0,this.searchValue=void 0,l(this,"handleClickMore")}get catalog(){return this.entity[this.capability].catalog}get _context(){return d()}handleClickMore(t){t.preventDefault(),t.stopPropagation();let e=t.target.dataset.collection;console.log("click more",e),this.hubBrowseCollectionSelected.emit(e)}get queries(){let t=n.fromJson(this.catalog,this._context);return t.collections.map(o=>o.key).map(o=>t.getCollectionJson(o)).map(o=>Object.assign(Object.assign({},o.scope),{key:o.key,label:o.label||o.key})).sort(y("label"))}renderHeader(){return r(i,null,r("arcgis-hub-search-input",{placeholder:"Search",scale:"m",text:"Search"}),r("hr",null))}renderGallery(t){return r(i,null,r("section",null,r("header",null,r("h2",null,t.label),r("calcite-button",{appearance:"transparent",color:"blue","data-collection":t.key,onClick:this.handleClickMore,scale:"m",type:"button"},"View More...")),r("main",null,r("arcgis-hub-gallery",{layout:"grid",limit:4,query:t,showFacets:!1,showMoreResultsBtn:!1,showSearch:!1,term:this.searchValue}))))}render(){return r(c,{key:"b2c3af03fcd2e2889ca9c950e7f53800e9d76413","data-element":"browse-collections"},r("h2",{key:"2313145b66896743c0e57decc23e420833f5179b"},"Site Catalog: ",this.entity.name),this.renderHeader(),this.queries.map(t=>this.renderGallery(t)))}};function y(t){return function(p,m){let o=p[t].toUpperCase(),a=m[t].toUpperCase();return o<a?-1:o>a?1:0}}f.style=b;export{f as arcgis_hub_browse_collections};