@esri/hub-web-components 0.20.0 → 0.22.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 (1358) hide show
  1. package/dist/cdn/2256SSAY.js +4 -0
  2. package/dist/cdn/2276WPEU.js +4 -0
  3. package/dist/cdn/22TKX3JU.js +4 -0
  4. package/dist/cdn/233P53IW.js +4 -0
  5. package/dist/cdn/235NJEOQ.js +4 -0
  6. package/dist/cdn/2446WH4Q.js +4 -0
  7. package/dist/cdn/246UNDUX.js +4 -0
  8. package/dist/cdn/24JRANL6.js +4 -0
  9. package/dist/cdn/26DCNQMY.js +4 -0
  10. package/dist/cdn/27K3S6OQ.js +4 -0
  11. package/dist/cdn/27Z3U3PE.js +4 -0
  12. package/dist/cdn/2C7FCT3S.js +4 -0
  13. package/dist/cdn/2DGTS52R.js +4 -0
  14. package/dist/cdn/2EALQ27P.js +4 -0
  15. package/dist/cdn/2EWYM42Z.js +4 -0
  16. package/dist/cdn/2GRA6UXE.js +4 -0
  17. package/dist/cdn/2HRH2KRP.js +4 -0
  18. package/dist/cdn/2HXDIEXL.js +4 -0
  19. package/dist/cdn/2ISO5M3O.js +4 -0
  20. package/dist/cdn/2QX2IWWD.js +4 -0
  21. package/dist/cdn/2RXUJAEO.js +4 -0
  22. package/dist/cdn/2S4AZT4D.js +4 -0
  23. package/dist/cdn/2TX7NVHE.js +4 -0
  24. package/dist/cdn/2ZC2E5SC.js +4 -0
  25. package/dist/cdn/33ZJK5DE.js +4 -0
  26. package/dist/cdn/34UOA22M.js +4 -0
  27. package/dist/cdn/3577DIGD.js +4 -0
  28. package/dist/cdn/3ATBV7CA.js +4 -0
  29. package/dist/cdn/3AUQSHXR.js +4 -0
  30. package/dist/cdn/3GFF2VXH.js +4 -0
  31. package/dist/cdn/3GUXISX6.js +4 -0
  32. package/dist/cdn/3K6GQGF6.js +4 -0
  33. package/dist/cdn/3L57USJR.js +4 -0
  34. package/dist/cdn/3LXQEES7.js +4 -0
  35. package/dist/cdn/3MCJNIWL.js +4 -0
  36. package/dist/cdn/3NKAVLGN.js +4 -0
  37. package/dist/cdn/3OB42GZE.js +4 -0
  38. package/dist/cdn/3UQCN3T7.js +4 -0
  39. package/dist/cdn/3UUNDDBD.js +4 -0
  40. package/dist/cdn/42HBCEJR.js +4 -0
  41. package/dist/cdn/446JTHLC.js +4 -0
  42. package/dist/cdn/44CSXVLF.js +4 -0
  43. package/dist/cdn/45PEETXD.js +4 -0
  44. package/dist/cdn/4BW2JUEM.js +4 -0
  45. package/dist/cdn/4EHO7HD4.js +4 -0
  46. package/dist/cdn/4FUHQK4R.js +4 -0
  47. package/dist/cdn/4HICETC3.js +4 -0
  48. package/dist/cdn/4HJDD2SP.js +4 -0
  49. package/dist/cdn/4KLXSOIX.js +4 -0
  50. package/dist/cdn/4MT4BQTJ.js +4 -0
  51. package/dist/cdn/4NAGMO7U.js +4 -0
  52. package/dist/cdn/4RWBU2WM.js +4 -0
  53. package/dist/cdn/4UVQIEUJ.js +4 -0
  54. package/dist/cdn/4VH2GFVZ.js +4 -0
  55. package/dist/cdn/4VNTHDG6.js +4 -0
  56. package/dist/cdn/4YF5PGQY.js +4 -0
  57. package/dist/cdn/4YWAY3VP.js +4 -0
  58. package/dist/cdn/53QDZENC.js +4 -0
  59. package/dist/cdn/53Y3Q3EB.js +4 -0
  60. package/dist/cdn/54DUK6LT.js +4 -0
  61. package/dist/cdn/54IIHGOD.js +4 -0
  62. package/dist/cdn/54NXTP6R.js +4 -0
  63. package/dist/cdn/564DQD4L.js +4 -0
  64. package/dist/cdn/57GQUOKJ.js +4 -0
  65. package/dist/cdn/5D2CAOO6.js +4 -0
  66. package/dist/cdn/5HN3SD3N.js +4 -0
  67. package/dist/cdn/5JBYIBLJ.js +4 -0
  68. package/dist/cdn/5JNK7MVV.js +4 -0
  69. package/dist/cdn/5JSGW5L6.js +4 -0
  70. package/dist/cdn/5KF45NK3.js +4 -0
  71. package/dist/cdn/5NVHGCKQ.js +4 -0
  72. package/dist/cdn/5OPJIFO3.js +4 -0
  73. package/dist/cdn/5OTC3A4I.js +4 -0
  74. package/dist/cdn/5POVSR3B.js +4 -0
  75. package/dist/cdn/5RYNVIVA.js +8 -0
  76. package/dist/cdn/5SDXEF7N.js +4 -0
  77. package/dist/cdn/5SYVVZMP.js +4 -0
  78. package/dist/cdn/5U4VGH4E.js +4 -0
  79. package/dist/cdn/5UK7YPZP.js +4 -0
  80. package/dist/cdn/63D2DWFD.js +4 -0
  81. package/dist/cdn/6COZVVQ5.js +4 -0
  82. package/dist/cdn/6DZU2LBL.js +4 -0
  83. package/dist/cdn/6F2P3LGW.js +4 -0
  84. package/dist/cdn/6FD3NHWS.js +4 -0
  85. package/dist/cdn/6IXENHHC.js +4 -0
  86. package/dist/cdn/6JOBDZPL.js +4 -0
  87. package/dist/cdn/6K6RJWU2.js +4 -0
  88. package/dist/cdn/6MBXZKU3.js +4 -0
  89. package/dist/cdn/6MLW6TY6.js +4 -0
  90. package/dist/cdn/6RVJO6SC.js +4 -0
  91. package/dist/cdn/6TDSIY7W.js +4 -0
  92. package/dist/cdn/6V2DXAMJ.js +4 -0
  93. package/dist/cdn/6ZDZLF44.js +4 -0
  94. package/dist/cdn/76ISFCG7.js +4 -0
  95. package/dist/cdn/77KH3SYH.js +4 -0
  96. package/dist/cdn/7AXMZCM4.js +4 -0
  97. package/dist/cdn/7BRO6ER3.js +4 -0
  98. package/dist/cdn/7BU7IXQA.js +4 -0
  99. package/dist/cdn/7DCRJRUM.js +4 -0
  100. package/dist/cdn/7DGZ62XT.js +4 -0
  101. package/dist/cdn/7GCQMKRK.js +12 -0
  102. package/dist/cdn/7H5M2NVS.js +4 -0
  103. package/dist/cdn/7ITOT4CU.js +4 -0
  104. package/dist/cdn/7OBNTY3V.js +4 -0
  105. package/dist/cdn/7RW57DJT.js +4 -0
  106. package/dist/cdn/7T47LSHO.js +4 -0
  107. package/dist/cdn/7TKYNHAW.js +4 -0
  108. package/dist/cdn/7U26ULA2.js +4 -0
  109. package/dist/cdn/7WCUCAUI.js +4 -0
  110. package/dist/cdn/7WQE6DAM.js +4 -0
  111. package/dist/cdn/7YJZOAVD.js +4 -0
  112. package/dist/cdn/7YPSF7SK.js +4 -0
  113. package/dist/cdn/7YVFW6AO.js +4 -0
  114. package/dist/cdn/A42GJFP2.js +4 -0
  115. package/dist/cdn/A4LRUT2C.js +4 -0
  116. package/dist/cdn/AAJQMS7R.js +4 -0
  117. package/dist/cdn/AB2O6XPR.js +4 -0
  118. package/dist/cdn/ABOCLCFP.js +25 -0
  119. package/dist/cdn/AHQRLULE.js +4 -0
  120. package/dist/cdn/AL5MFW5C.js +4 -0
  121. package/dist/cdn/AMDQCN2X.js +4 -0
  122. package/dist/cdn/AO6GCGFK.js +4 -0
  123. package/dist/cdn/ASGTZM26.js +4 -0
  124. package/dist/cdn/ASNQUJ7W.js +4 -0
  125. package/dist/cdn/ASUWNH7Y.js +4 -0
  126. package/dist/cdn/AYV32SYS.js +4 -0
  127. package/dist/cdn/AZ7AGSE5.js +4 -0
  128. package/dist/cdn/AZJLBICY.js +4 -0
  129. package/dist/cdn/B4RIZNK3.js +4 -0
  130. package/dist/cdn/B4VCMKVO.js +4 -0
  131. package/dist/cdn/B64YTPJV.js +4 -0
  132. package/dist/cdn/B6ZU3SNM.js +4 -0
  133. package/dist/cdn/B7PV6OEX.js +4 -0
  134. package/dist/cdn/BAB6UDNV.js +4 -0
  135. package/dist/cdn/BEJSX3AR.js +4 -0
  136. package/dist/cdn/BEKQTPNV.js +16 -0
  137. package/dist/cdn/BGTNR7MH.js +4 -0
  138. package/dist/cdn/BGXIKA4E.js +4 -0
  139. package/dist/cdn/BHCTWN2J.js +4 -0
  140. package/dist/cdn/BLAQFEYQ.js +4 -0
  141. package/dist/cdn/BLDGBDWD.js +4 -0
  142. package/dist/cdn/BO43J7FK.js +4 -0
  143. package/dist/cdn/BRINA2OS.js +4 -0
  144. package/dist/cdn/BSZK7E4S.js +4 -0
  145. package/dist/cdn/BT53ZU62.js +4 -0
  146. package/dist/cdn/BTCJSLT3.js +4 -0
  147. package/dist/cdn/BUD2NT46.js +5470 -0
  148. package/dist/cdn/BWGZVAM2.js +4 -0
  149. package/dist/cdn/BWRCUZVY.js +4 -0
  150. package/dist/cdn/C2N3HIJU.js +4 -0
  151. package/dist/cdn/C7ICPOOV.js +4 -0
  152. package/dist/cdn/C7ZMU4VE.js +4 -0
  153. package/dist/cdn/CACQSLKG.js +4 -0
  154. package/dist/cdn/CEVOIKUC.js +4 -0
  155. package/dist/cdn/CF2ZDNFK.js +4 -0
  156. package/dist/cdn/CHJBFRRT.js +4 -0
  157. package/dist/cdn/CHQCJYMX.js +4 -0
  158. package/dist/cdn/CHXGXSLL.js +4 -0
  159. package/dist/cdn/CIEZGCAX.js +4 -0
  160. package/dist/cdn/CIRCLHK5.js +4 -0
  161. package/dist/cdn/CIZ2I3C4.js +4 -0
  162. package/dist/cdn/CJUXA3JF.js +4 -0
  163. package/dist/cdn/CJXBTGAI.js +4 -0
  164. package/dist/cdn/CKFNFWVP.js +4 -0
  165. package/dist/cdn/CL4HRA6E.js +4 -0
  166. package/dist/cdn/CNGMWTFR.js +4 -0
  167. package/dist/cdn/CNYMCNVZ.js +4 -0
  168. package/dist/cdn/CRVGNGVT.js +4 -0
  169. package/dist/cdn/CSILYGOD.js +4 -0
  170. package/dist/cdn/CVDC2SEF.js +4 -0
  171. package/dist/cdn/CVEDOEWU.js +4 -0
  172. package/dist/cdn/CWW5YRS3.js +4 -0
  173. package/dist/cdn/CX5BZQCF.js +4 -0
  174. package/dist/cdn/CYVLFGH5.js +4 -0
  175. package/dist/cdn/CZQDIR55.js +4 -0
  176. package/dist/cdn/D2KAU2PU.js +4 -0
  177. package/dist/cdn/D3CHPB4X.js +4 -0
  178. package/dist/cdn/D76KAY67.js +4 -0
  179. package/dist/cdn/D7BPFQJ2.js +4 -0
  180. package/dist/cdn/DAD7VNGV.js +4 -0
  181. package/dist/cdn/DAFLN6PE.js +4 -0
  182. package/dist/cdn/DCIWOF7Z.js +4 -0
  183. package/dist/cdn/DEHHQCXX.js +4 -0
  184. package/dist/cdn/DEPJR44A.js +4 -0
  185. package/dist/cdn/DEY2IZIC.js +4 -0
  186. package/dist/cdn/DFYK5MTQ.js +4 -0
  187. package/dist/cdn/DG6VXROS.js +4 -0
  188. package/dist/cdn/DIWUQKJL.js +4 -0
  189. package/dist/cdn/DJ7H2C4S.js +4 -0
  190. package/dist/cdn/DOTCDIQZ.js +4 -0
  191. package/dist/cdn/DOUKMJY6.js +4 -0
  192. package/dist/cdn/DP7DQHH7.js +4 -0
  193. package/dist/cdn/DUCCKYPN.js +4 -0
  194. package/dist/cdn/DWSOUBDR.js +4 -0
  195. package/dist/cdn/DWVZMGPY.js +4 -0
  196. package/dist/cdn/DZLP24OA.js +4 -0
  197. package/dist/cdn/DZTJCJIV.js +4 -0
  198. package/dist/cdn/E77MAXM2.js +4 -0
  199. package/dist/cdn/EA2I6I6J.js +4 -0
  200. package/dist/cdn/EENG6KQ3.js +4 -0
  201. package/dist/cdn/EF3AEZDH.js +4 -0
  202. package/dist/cdn/EFGZLY4R.js +4 -0
  203. package/dist/cdn/EFHIAEJS.js +4 -0
  204. package/dist/cdn/EITWJS4Q.js +4 -0
  205. package/dist/cdn/EIXBYLLW.js +4 -0
  206. package/dist/cdn/EJH2JOTK.js +4 -0
  207. package/dist/cdn/EKUAI2WI.js +4 -0
  208. package/dist/cdn/ELMU3K5A.js +4 -0
  209. package/dist/cdn/EM2MT6YE.js +4 -0
  210. package/dist/cdn/EN2KNONC.js +4 -0
  211. package/dist/cdn/EN6YAZLS.js +4 -0
  212. package/dist/cdn/EPPTUR2I.js +4 -0
  213. package/dist/cdn/ESZ3EFBO.js +4 -0
  214. package/dist/cdn/ETIOPYGO.js +4 -0
  215. package/dist/cdn/ETUBFUXW.js +4 -0
  216. package/dist/cdn/EU5QSOUH.js +4 -0
  217. package/dist/cdn/EUTBC7VI.js +4 -0
  218. package/dist/cdn/EVLK7677.js +4 -0
  219. package/dist/cdn/EWDP5VT4.js +4 -0
  220. package/dist/cdn/EYNVUGMX.js +4 -0
  221. package/dist/cdn/EYPFM3SR.js +4 -0
  222. package/dist/cdn/EZIWWDHY.js +4 -0
  223. package/dist/cdn/F4K2BRSM.js +4 -0
  224. package/dist/cdn/F5L6A6ZF.js +4 -0
  225. package/dist/cdn/F6TQ2QTU.js +4 -0
  226. package/dist/cdn/F6ZJCG4P.js +4 -0
  227. package/dist/cdn/F7Z5SJKR.js +4 -0
  228. package/dist/cdn/FBB34BON.js +4 -0
  229. package/dist/cdn/FBIKJLYJ.js +4 -0
  230. package/dist/cdn/FD27V5VT.js +4 -0
  231. package/dist/cdn/FEHI3HPW.js +4 -0
  232. package/dist/cdn/FEXYUGTP.js +4 -0
  233. package/dist/cdn/FF2ONT5V.js +4 -0
  234. package/dist/cdn/FHCILLZ4.js +4 -0
  235. package/dist/cdn/FJ7FP4UP.js +4 -0
  236. package/dist/cdn/FKJQKNVS.js +4 -0
  237. package/dist/cdn/FLY5VUOM.js +4 -0
  238. package/dist/cdn/FPAGNSEQ.js +4 -0
  239. package/dist/cdn/FQHIHNM2.js +4 -0
  240. package/dist/cdn/FSKXNN2S.js +4 -0
  241. package/dist/cdn/FWEV3FVP.js +4 -0
  242. package/dist/cdn/FXVDOBBZ.js +4 -0
  243. package/dist/cdn/G2PYKXM6.js +4 -0
  244. package/dist/cdn/G5FNCPIG.js +6 -0
  245. package/dist/cdn/G6APBXOB.js +4 -0
  246. package/dist/cdn/G6HM7NOD.js +4 -0
  247. package/dist/cdn/G7CUBAMS.js +4 -0
  248. package/dist/cdn/GBZRBIYP.js +4 -0
  249. package/dist/cdn/GJIVRKVL.js +4 -0
  250. package/dist/cdn/GJQEHU2H.js +4 -0
  251. package/dist/cdn/GLW2N4NR.js +4 -0
  252. package/dist/cdn/GM7R3AK2.js +4 -0
  253. package/dist/cdn/GPSMQCOK.js +4 -0
  254. package/dist/cdn/GPZUUGEQ.js +4 -0
  255. package/dist/cdn/GQZAQ5AP.js +4 -0
  256. package/dist/cdn/GR3UGZH3.js +4 -0
  257. package/dist/cdn/GRRPCVFF.js +4 -0
  258. package/dist/cdn/GRZAUWTN.js +4 -0
  259. package/dist/cdn/GTLH2URW.js +4 -0
  260. package/dist/cdn/GTW6ZXE5.js +4 -0
  261. package/dist/cdn/H5PQIXL4.js +4 -0
  262. package/dist/cdn/HA5J4YR2.js +4 -0
  263. package/dist/cdn/HHAL6UHI.js +4 -0
  264. package/dist/cdn/HL2AHUR6.js +4 -0
  265. package/dist/cdn/HMB64JXT.js +4 -0
  266. package/dist/cdn/HNATRVNF.js +4 -0
  267. package/dist/cdn/HQNJJPN7.js +4 -0
  268. package/dist/cdn/HQRL4OIL.js +4 -0
  269. package/dist/cdn/HSSFG44B.js +52 -0
  270. package/dist/cdn/HVTXAHJ6.js +4 -0
  271. package/dist/cdn/HWJZQCIS.js +4 -0
  272. package/dist/cdn/HWPFOWKV.js +4 -0
  273. package/dist/cdn/HYP5F5CS.js +4 -0
  274. package/dist/cdn/HYQ6FS3G.js +4 -0
  275. package/dist/cdn/I57273FC.js +4 -0
  276. package/dist/cdn/I5ILVOOX.js +4 -0
  277. package/dist/cdn/I5UMS2N2.js +4 -0
  278. package/dist/cdn/IA6U6Z3D.js +4 -0
  279. package/dist/cdn/IBY6QCME.js +4 -0
  280. package/dist/cdn/ID6W2LOL.js +4 -0
  281. package/dist/cdn/IDE6XAAZ.js +4 -0
  282. package/dist/cdn/IEXIEOIA.js +4 -0
  283. package/dist/cdn/IFAPSEW5.js +4 -0
  284. package/dist/cdn/IFTEU4H4.js +4 -0
  285. package/dist/cdn/IHOOCXHO.js +4 -0
  286. package/dist/cdn/IKVWB2MP.js +4 -0
  287. package/dist/cdn/INESCUJD.js +4 -0
  288. package/dist/cdn/INLG434R.js +4 -0
  289. package/dist/cdn/IO5WKNV7.js +4 -0
  290. package/dist/cdn/IQ5P6PTE.js +4 -0
  291. package/dist/cdn/ISCNRXV5.js +4 -0
  292. package/dist/cdn/IUTHG3AL.js +4 -0
  293. package/dist/cdn/IV7HBVTQ.js +4 -0
  294. package/dist/cdn/IX3G7EXL.js +4 -0
  295. package/dist/cdn/IYYEWKHS.js +4 -0
  296. package/dist/cdn/IZEJL6AY.js +4 -0
  297. package/dist/cdn/IZHZQ6EF.js +4 -0
  298. package/dist/cdn/J2NHN43U.js +4 -0
  299. package/dist/cdn/J35ATKIQ.js +4 -0
  300. package/dist/cdn/J4T7NDUU.js +4 -0
  301. package/dist/cdn/J5JRJVWD.js +4 -0
  302. package/dist/cdn/J64QCN5K.js +4 -0
  303. package/dist/cdn/JARKIYD2.js +4 -0
  304. package/dist/cdn/JEIJ76WB.js +4 -0
  305. package/dist/cdn/JGDWXUTI.js +4 -0
  306. package/dist/cdn/JK2GBHXZ.js +4 -0
  307. package/dist/cdn/JLPFZENG.js +4 -0
  308. package/dist/cdn/JODHEQ7G.js +4 -0
  309. package/dist/cdn/JOHPLGLH.js +4 -0
  310. package/dist/cdn/JRCBZAZR.js +4 -0
  311. package/dist/cdn/JRWAV35O.js +4 -0
  312. package/dist/cdn/JWXXNO3K.js +4 -0
  313. package/dist/cdn/JXIV5MK4.js +4 -0
  314. package/dist/cdn/JXNVYFDX.js +4 -0
  315. package/dist/cdn/JYGIAH4M.js +4 -0
  316. package/dist/cdn/JZ5QR5FO.js +4 -0
  317. package/dist/cdn/K2BS5D5S.js +4 -0
  318. package/dist/cdn/K2SIPLPJ.js +4 -0
  319. package/dist/cdn/K3Q4RUO3.js +4 -0
  320. package/dist/cdn/K3QNYNWX.js +4 -0
  321. package/dist/cdn/K4HC3MY4.js +4 -0
  322. package/dist/cdn/K57J7EM3.js +4 -0
  323. package/dist/cdn/K6KHXYZZ.js +4 -0
  324. package/dist/cdn/KAVD4EVF.js +4 -0
  325. package/dist/cdn/KCWAEASV.js +4 -0
  326. package/dist/cdn/KDAZYOKO.js +4 -0
  327. package/dist/cdn/KDKCWOEC.js +4 -0
  328. package/dist/cdn/KFKEW3GP.js +4 -0
  329. package/dist/cdn/KFMWS66I.js +4 -0
  330. package/dist/cdn/KFYBM6TV.js +4 -0
  331. package/dist/cdn/KGHQNAWY.js +4 -0
  332. package/dist/cdn/KHLODKJZ.js +4 -0
  333. package/dist/cdn/KJUP7OUD.js +4 -0
  334. package/dist/cdn/KJW7EXI3.js +4 -0
  335. package/dist/cdn/KJXAMYEU.js +4 -0
  336. package/dist/cdn/KLINXFCM.js +4 -0
  337. package/dist/cdn/KLPSYXEL.js +4 -0
  338. package/dist/cdn/KNFU6GBE.js +4 -0
  339. package/dist/cdn/KPCJB6J5.js +4 -0
  340. package/dist/cdn/KR24CDAR.js +4 -0
  341. package/dist/cdn/KR4PG4ZK.js +4 -0
  342. package/dist/cdn/KRSLYJEB.js +4 -0
  343. package/dist/cdn/KRYDUXR6.js +4 -0
  344. package/dist/cdn/KUBGWMI2.js +4 -0
  345. package/dist/cdn/KYVTGLBV.js +4 -0
  346. package/dist/cdn/L2JFFHFV.js +4 -0
  347. package/dist/cdn/L2RMUKTB.js +4 -0
  348. package/dist/cdn/L4PCRLQG.js +4 -0
  349. package/dist/cdn/L5CCTQPT.js +4 -0
  350. package/dist/cdn/L5KLKFUR.js +4 -0
  351. package/dist/cdn/L6CWPXTD.js +4 -0
  352. package/dist/cdn/L72FIR2X.js +4 -0
  353. package/dist/cdn/L7Z6YQFW.js +4 -0
  354. package/dist/cdn/LC3WO5NP.js +4 -0
  355. package/dist/cdn/LCFPTPIY.js +4 -0
  356. package/dist/cdn/LE6WYZEO.js +4 -0
  357. package/dist/cdn/LEKUMEB2.js +4 -0
  358. package/dist/cdn/LG6EXM5X.js +4 -0
  359. package/dist/cdn/LHA2T7ZV.js +4 -0
  360. package/dist/cdn/LHJT4W5L.js +4 -0
  361. package/dist/cdn/LHRTL2XP.js +4 -0
  362. package/dist/cdn/LHSHHJEC.js +4 -0
  363. package/dist/cdn/LIWWWB5E.js +4 -0
  364. package/dist/cdn/LJHUGH4H.js +4 -0
  365. package/dist/cdn/LJXFF4RY.js +4 -0
  366. package/dist/cdn/LP5W3QRL.js +42 -0
  367. package/dist/cdn/LPKRFVAW.js +4 -0
  368. package/dist/cdn/LR3BCKFP.js +4 -0
  369. package/dist/cdn/LR6VAABF.js +4 -0
  370. package/dist/cdn/LRKRDZMO.js +4 -0
  371. package/dist/cdn/LS2HM266.js +4 -0
  372. package/dist/cdn/LSKEJRPA.js +4 -0
  373. package/dist/cdn/LTG6Y2KI.js +4 -0
  374. package/dist/cdn/LVPYW6TQ.js +4 -0
  375. package/dist/cdn/LYEO2ANZ.js +4 -0
  376. package/dist/cdn/M5MGAR6A.js +4 -0
  377. package/dist/cdn/MBUK25W6.js +4 -0
  378. package/dist/cdn/MG4POL72.js +4 -0
  379. package/dist/cdn/MHLCYGFK.js +6 -0
  380. package/dist/cdn/MHVEGZEF.js +4 -0
  381. package/dist/cdn/MI7XEPQ5.js +4 -0
  382. package/dist/cdn/MIO4KH65.js +4 -0
  383. package/dist/cdn/MJQBOIEV.js +4 -0
  384. package/dist/cdn/MSGFE37I.js +59 -0
  385. package/dist/cdn/MT6H4GJ5.js +4 -0
  386. package/dist/cdn/MTE3E7ZP.js +4 -0
  387. package/dist/cdn/MTIFTKNK.js +4 -0
  388. package/dist/cdn/MVVAPZTV.js +4 -0
  389. package/dist/cdn/MX3P5MMD.js +24 -0
  390. package/dist/cdn/MYKK4QMJ.js +4 -0
  391. package/dist/cdn/MZ2T7BL5.js +4 -0
  392. package/dist/cdn/MZA37FC7.js +5 -0
  393. package/dist/cdn/MZWL4OPT.js +4 -0
  394. package/dist/cdn/N2HERFOS.js +4 -0
  395. package/dist/cdn/N2Z4G2FN.js +4 -0
  396. package/dist/cdn/N4CPMRFA.js +4 -0
  397. package/dist/cdn/N4TUBK5V.js +4 -0
  398. package/dist/cdn/N67YDJ42.js +4 -0
  399. package/dist/cdn/N7ONZP4Y.js +4 -0
  400. package/dist/cdn/NE2KNBIH.js +4 -0
  401. package/dist/cdn/NFMHVKLD.js +4 -0
  402. package/dist/cdn/NH3I3ABL.js +4 -0
  403. package/dist/cdn/NJFLB3UB.js +4 -0
  404. package/dist/cdn/NJLLECTW.js +4 -0
  405. package/dist/cdn/NMX43X4C.js +4 -0
  406. package/dist/cdn/NNWNXWEW.js +4 -0
  407. package/dist/cdn/NP5M66NE.js +4 -0
  408. package/dist/cdn/NQOPT663.js +5 -0
  409. package/dist/cdn/NRB3BYOX.js +4 -0
  410. package/dist/cdn/NVD54OW4.js +4 -0
  411. package/dist/cdn/NVOK64OV.js +4 -0
  412. package/dist/cdn/NYOGHDRV.js +4 -0
  413. package/dist/cdn/NZGU4R3G.js +4 -0
  414. package/dist/cdn/O5W7RZJN.js +4 -0
  415. package/dist/cdn/O7YITJXC.js +4 -0
  416. package/dist/cdn/OBT3F3VD.js +4 -0
  417. package/dist/cdn/OCB7PO4P.js +4 -0
  418. package/dist/cdn/OCBATA5Z.js +4 -0
  419. package/dist/cdn/OCYR6EQ3.js +4 -0
  420. package/dist/cdn/OJ3BXAWM.js +4 -0
  421. package/dist/cdn/OJHTR33L.js +4 -0
  422. package/dist/cdn/OJPVGBLO.js +4 -0
  423. package/dist/cdn/OKI2WF24.js +4 -0
  424. package/dist/cdn/OLY7DHH4.js +12 -0
  425. package/dist/cdn/OLZSAUT4.js +4 -0
  426. package/dist/cdn/OOGUQSM6.js +4 -0
  427. package/dist/cdn/OPQYNLYO.js +4 -0
  428. package/dist/cdn/ORDZETJ3.js +4 -0
  429. package/dist/cdn/OROH3GKD.js +4 -0
  430. package/dist/cdn/OTQUS4CE.js +4 -0
  431. package/dist/cdn/OUI4ANIF.js +4 -0
  432. package/dist/cdn/OXGOOOPG.js +4 -0
  433. package/dist/cdn/P5AGP3Y3.js +4 -0
  434. package/dist/cdn/P7S5OXIQ.js +4 -0
  435. package/dist/cdn/PDIFOV2V.js +4 -0
  436. package/dist/cdn/PGEBAVAN.js +4 -0
  437. package/dist/cdn/PIBQAPOE.js +4 -0
  438. package/dist/cdn/PISOKEDS.js +4 -0
  439. package/dist/cdn/PKPV6HBW.js +4 -0
  440. package/dist/cdn/PLHAOEIG.js +4 -0
  441. package/dist/cdn/PLMELWAF.js +4 -0
  442. package/dist/cdn/PN7NUXEI.js +4 -0
  443. package/dist/cdn/POOVLFHY.js +4 -0
  444. package/dist/cdn/POQIJESH.js +4 -0
  445. package/dist/cdn/POYVZ4BR.js +4 -0
  446. package/dist/cdn/PS2Y6BFT.js +4 -0
  447. package/dist/cdn/PWH6OVBT.js +4 -0
  448. package/dist/cdn/PXC4VMKR.js +4 -0
  449. package/dist/cdn/PXEGCE5B.js +4 -0
  450. package/dist/cdn/PYUEL3HY.js +4 -0
  451. package/dist/cdn/Q2CVJGFD.js +4 -0
  452. package/dist/cdn/Q4NANFUE.js +4 -0
  453. package/dist/cdn/Q4RUI5TK.js +4 -0
  454. package/dist/cdn/Q542HPLG.js +4 -0
  455. package/dist/cdn/Q6ZHGFIO.js +4 -0
  456. package/dist/cdn/QADXHVMO.js +4 -0
  457. package/dist/cdn/QDSMVVMO.js +4 -0
  458. package/dist/cdn/QDY7OYPG.js +4 -0
  459. package/dist/cdn/QEQRJWIF.js +4 -0
  460. package/dist/cdn/QF7S7VD7.js +4 -0
  461. package/dist/cdn/QHDTZ3YI.js +4 -0
  462. package/dist/cdn/QHSKOPXR.js +4 -0
  463. package/dist/cdn/QJHW7T4Z.js +4 -0
  464. package/dist/cdn/QJKHL5NF.js +4 -0
  465. package/dist/cdn/QKZCUXW2.js +4 -0
  466. package/dist/cdn/QM3RD343.js +4 -0
  467. package/dist/cdn/QMYHL67U.js +4 -0
  468. package/dist/cdn/QPQR2OUZ.js +59 -0
  469. package/dist/cdn/QQPLZRLY.js +4 -0
  470. package/dist/cdn/QSQYSCIK.js +4 -0
  471. package/dist/cdn/QVLWUG7C.js +4 -0
  472. package/dist/cdn/QYCYNQXS.js +4 -0
  473. package/dist/cdn/R32YU7YT.js +4 -0
  474. package/dist/cdn/R6WJS7X6.js +4 -0
  475. package/dist/cdn/R7SSCQGF.js +4 -0
  476. package/dist/cdn/RDHUTW6P.js +4 -0
  477. package/dist/cdn/RFTD7XAQ.js +4 -0
  478. package/dist/cdn/RHLZENYZ.js +4 -0
  479. package/dist/cdn/RHMCIC4F.js +4 -0
  480. package/dist/cdn/RIJWURTB.js +4 -0
  481. package/dist/cdn/RJEZOW7U.js +4 -0
  482. package/dist/cdn/RKUI52ZD.js +4 -0
  483. package/dist/cdn/RMOYLKPI.js +5 -0
  484. package/dist/cdn/RPMNTCA7.js +11 -0
  485. package/dist/cdn/RUL4SLGR.js +4 -0
  486. package/dist/cdn/RWFEG2UC.js +4 -0
  487. package/dist/cdn/RWIU2A4Y.js +4 -0
  488. package/dist/cdn/S4DOEUJ7.js +4 -0
  489. package/dist/cdn/S5BJK6YA.js +4 -0
  490. package/dist/cdn/S6YSPWPH.js +4 -0
  491. package/dist/cdn/SARQQLMD.js +4 -0
  492. package/dist/cdn/SCYFEVHV.js +4 -0
  493. package/dist/cdn/SDTG3WSQ.js +4 -0
  494. package/dist/cdn/SEZOUCTJ.js +4 -0
  495. package/dist/cdn/SMOD4MIY.js +4 -0
  496. package/dist/cdn/SNXTCENW.js +4 -0
  497. package/dist/cdn/SOL2QDAH.js +4 -0
  498. package/dist/cdn/SPPWYXSP.js +4 -0
  499. package/dist/cdn/SQS7FCCE.js +4 -0
  500. package/dist/cdn/SSF2G2DX.js +4 -0
  501. package/dist/cdn/SX77BGX4.js +4 -0
  502. package/dist/cdn/SXEAPJHX.js +4 -0
  503. package/dist/cdn/SZ6OVCOK.js +4 -0
  504. package/dist/cdn/T32YDS5C.js +4 -0
  505. package/dist/cdn/T4PIJZGL.js +4 -0
  506. package/dist/cdn/T7U5KFW5.js +4 -0
  507. package/dist/cdn/TAJRFAHT.js +4 -0
  508. package/dist/cdn/TAMT5PWF.js +4 -0
  509. package/dist/cdn/TDTXUVDH.js +4 -0
  510. package/dist/cdn/TECHC2JG.js +4 -0
  511. package/dist/cdn/TF4EO5U6.js +5 -0
  512. package/dist/cdn/TJDVX7BX.js +4 -0
  513. package/dist/cdn/TJJZPTKR.js +4 -0
  514. package/dist/cdn/TKZ5PAIK.js +4 -0
  515. package/dist/cdn/TLTRAWAH.js +4 -0
  516. package/dist/cdn/TM3HPR2Y.js +4 -0
  517. package/dist/cdn/TOQJGQAR.js +4 -0
  518. package/dist/cdn/TPTXEFGW.js +4 -0
  519. package/dist/cdn/TPYP7O4R.js +4 -0
  520. package/dist/cdn/TROGWRVY.js +4 -0
  521. package/dist/cdn/TXDOA7IW.js +4 -0
  522. package/dist/cdn/TZHYM3N4.js +4 -0
  523. package/dist/cdn/TZMETBPY.js +4 -0
  524. package/dist/cdn/U2TP4TIX.js +4 -0
  525. package/dist/cdn/U4HZK3Y4.js +4 -0
  526. package/dist/cdn/U5FEXRF4.js +4 -0
  527. package/dist/cdn/U5KXSMLW.js +4 -0
  528. package/dist/cdn/U72QHK73.js +4 -0
  529. package/dist/cdn/U756JVU6.js +4 -0
  530. package/dist/cdn/UCN5VD66.js +4 -0
  531. package/dist/cdn/UHO3UVN2.js +4 -0
  532. package/dist/cdn/UJU2XXYW.js +4 -0
  533. package/dist/cdn/UJUOOVPH.js +4 -0
  534. package/dist/cdn/UKQRGH27.js +4 -0
  535. package/dist/cdn/UKWQVVCU.js +4 -0
  536. package/dist/cdn/UKYG7BBA.js +4 -0
  537. package/dist/cdn/UMLS7WBT.js +5 -0
  538. package/dist/cdn/UO2I6F4K.js +4 -0
  539. package/dist/cdn/UOS4T4L2.js +4 -0
  540. package/dist/cdn/UOVAV6PQ.js +4 -0
  541. package/dist/cdn/UPS45N5X.js +4 -0
  542. package/dist/cdn/UT5GIFSQ.js +8 -0
  543. package/dist/cdn/UTASDJVY.js +4 -0
  544. package/dist/cdn/UXRAZNC2.js +4 -0
  545. package/dist/cdn/V2DNBSMT.js +4 -0
  546. package/dist/cdn/V3MTJ2QQ.js +4 -0
  547. package/dist/cdn/V44ZMFL6.js +4 -0
  548. package/dist/cdn/V4ALJ7RG.js +4 -0
  549. package/dist/cdn/V4ICXESE.js +4 -0
  550. package/dist/cdn/V6FRJ2AE.js +4 -0
  551. package/dist/cdn/V6S2NYFZ.js +4 -0
  552. package/dist/cdn/V7PGCYDW.js +4 -0
  553. package/dist/cdn/VAP3JKDU.js +4 -0
  554. package/dist/cdn/VBIPZCDQ.js +4 -0
  555. package/dist/cdn/VBIQYBLD.js +4 -0
  556. package/dist/cdn/VC6TLGTI.js +4 -0
  557. package/dist/cdn/VF2VVYLN.js +4 -0
  558. package/dist/cdn/VFS4ULOJ.js +4 -0
  559. package/dist/cdn/VG3F7FC6.js +4 -0
  560. package/dist/cdn/VGQZKPXU.js +4 -0
  561. package/dist/cdn/VH7JVMDI.js +4 -0
  562. package/dist/cdn/VHTU7BW5.js +4 -0
  563. package/dist/cdn/VIRRL7M3.js +4 -0
  564. package/dist/cdn/VJYIN333.js +4 -0
  565. package/dist/cdn/VKKZBBIR.js +4 -0
  566. package/dist/cdn/VKQBBPH5.js +4 -0
  567. package/dist/cdn/VKT5OAAK.js +4 -0
  568. package/dist/cdn/VMH6I6KU.js +4 -0
  569. package/dist/cdn/VOWDYNBV.js +4 -0
  570. package/dist/cdn/VPOWMSXA.js +4 -0
  571. package/dist/cdn/VRMG5KLB.js +4 -0
  572. package/dist/cdn/VRYY3ZU7.js +6 -0
  573. package/dist/cdn/VVCSSNQ2.js +4 -0
  574. package/dist/cdn/VVYHHCYG.js +4 -0
  575. package/dist/cdn/W2HCXTL2.js +4 -0
  576. package/dist/cdn/W2XXHXGA.js +4 -0
  577. package/dist/cdn/W4GKWZRQ.js +4 -0
  578. package/dist/cdn/W4OZL7X3.js +4 -0
  579. package/dist/cdn/W6UHZFMV.js +4 -0
  580. package/dist/cdn/WA7J6ECS.js +4 -0
  581. package/dist/cdn/WAWA3R47.js +4 -0
  582. package/dist/cdn/WAZQABB3.js +4 -0
  583. package/dist/cdn/WB3Z3ALF.js +4 -0
  584. package/dist/cdn/WBWVR2BP.js +4 -0
  585. package/dist/cdn/WDE6QMBZ.js +4 -0
  586. package/dist/cdn/WG2YRWOY.js +4 -0
  587. package/dist/cdn/WINDEMAX.js +4 -0
  588. package/dist/cdn/WIYHTGL2.js +4 -0
  589. package/dist/cdn/WJSPRRRS.js +4 -0
  590. package/dist/cdn/WKOEBQSU.js +4 -0
  591. package/dist/cdn/WKZOKLNJ.js +4 -0
  592. package/dist/cdn/WPFQZ4CS.js +4 -0
  593. package/dist/cdn/WQ2TDNUS.js +4 -0
  594. package/dist/cdn/WRBBUW2C.js +4 -0
  595. package/dist/cdn/WSAEOA2G.js +4 -0
  596. package/dist/cdn/WSLEIGM6.js +4 -0
  597. package/dist/cdn/WSWXJZ26.js +4 -0
  598. package/dist/cdn/WSZ7JVPQ.js +4 -0
  599. package/dist/cdn/WTGG4LBO.js +4 -0
  600. package/dist/cdn/WUK7LIHE.js +4 -0
  601. package/dist/cdn/WX2VCMUT.js +4 -0
  602. package/dist/cdn/WY2624X4.js +4 -0
  603. package/dist/cdn/WZE733V2.js +4 -0
  604. package/dist/cdn/XC6X75VC.js +4 -0
  605. package/dist/cdn/XCX7Y47D.js +4 -0
  606. package/dist/cdn/XE6MJE35.js +4 -0
  607. package/dist/cdn/XFWAXS2P.js +4 -0
  608. package/dist/cdn/XG6JGEV5.js +4 -0
  609. package/dist/cdn/XK2GSELM.js +4 -0
  610. package/dist/cdn/XK6VBCCN.js +4 -0
  611. package/dist/cdn/XL32SEQZ.js +4 -0
  612. package/dist/cdn/XLGQVWIK.js +4 -0
  613. package/dist/cdn/XM3V4HQQ.js +4 -0
  614. package/dist/cdn/XPC3LDRT.js +4 -0
  615. package/dist/cdn/XR3JJPXY.js +4 -0
  616. package/dist/cdn/XTTO4M2G.js +4 -0
  617. package/dist/cdn/XUS4R5LC.js +4 -0
  618. package/dist/cdn/XVS2JLNF.js +4 -0
  619. package/dist/cdn/XW5S7AGJ.js +4 -0
  620. package/dist/cdn/XXD4U2MV.js +4 -0
  621. package/dist/cdn/XYZ26NPT.js +41 -0
  622. package/dist/cdn/XZWP7NLX.js +4 -0
  623. package/dist/cdn/Y4YMEIXH.js +4 -0
  624. package/dist/cdn/Y7RPL4BD.js +4 -0
  625. package/dist/cdn/YABK6OOX.js +4 -0
  626. package/dist/cdn/YAZB3JOS.js +4 -0
  627. package/dist/cdn/YBYQIYJC.js +4 -0
  628. package/dist/cdn/YCGEPHTL.js +4 -0
  629. package/dist/cdn/YF6UAW5D.js +4 -0
  630. package/dist/cdn/YH25Y7LC.js +4 -0
  631. package/dist/cdn/YIUFGECC.js +4 -0
  632. package/dist/cdn/YLZMW2R5.js +4 -0
  633. package/dist/cdn/YMJNZK55.js +4 -0
  634. package/dist/cdn/YMUTLPLZ.js +4 -0
  635. package/dist/cdn/YNKIA2E3.js +4 -0
  636. package/dist/cdn/YOD6TNJC.js +4 -0
  637. package/dist/cdn/YQWMLXYZ.js +4 -0
  638. package/dist/cdn/YTQFLOEM.js +4 -0
  639. package/dist/cdn/YUWUZ3LE.js +4 -0
  640. package/dist/cdn/YVHTZPUT.js +4 -0
  641. package/dist/cdn/YWI5H3QN.js +4 -0
  642. package/dist/cdn/YWSDGUPQ.js +4 -0
  643. package/dist/cdn/YXPHJH7R.js +4 -0
  644. package/dist/cdn/YYTJKYFB.js +9 -0
  645. package/dist/cdn/Z2LSOVE4.js +4 -0
  646. package/dist/cdn/Z4K4MXA4.js +5 -0
  647. package/dist/cdn/Z55HQF4I.js +4 -0
  648. package/dist/cdn/Z55NV5A3.js +51 -0
  649. package/dist/cdn/Z5JKDYS4.js +4 -0
  650. package/dist/cdn/ZCXFX6Q4.js +4 -0
  651. package/dist/cdn/ZIECR4G7.js +4 -0
  652. package/dist/cdn/ZKEBCTMS.js +4 -0
  653. package/dist/cdn/ZKGIH763.js +4 -0
  654. package/dist/cdn/ZR22AAK3.js +4 -0
  655. package/dist/cdn/ZUV6CDCS.js +4 -0
  656. package/dist/cdn/ZV5T3X37.js +4 -0
  657. package/dist/cdn/index.js +3 -3
  658. package/dist/chunks/chat-action.js +2 -2
  659. package/dist/chunks/findColumnAndNodeIndex.js +2 -2
  660. package/dist/chunks/getResponsiveClasses.js +2 -2
  661. package/dist/chunks/interpolate-translations.js +2 -2
  662. package/dist/chunks/isNodeVisible.js +2 -2
  663. package/dist/chunks/memoizeAsync.js +2 -2
  664. package/dist/chunks/migrateTextCard.js +2 -2
  665. package/dist/chunks/processLayout.js +2 -2
  666. package/dist/chunks/runtime.js +3 -3
  667. package/dist/chunks/state.js +2 -2
  668. package/dist/chunks/typeGuards.js +2 -2
  669. package/dist/chunks/useGlobalContext.js +2 -2
  670. package/dist/chunks/useT9n.js +2 -2
  671. package/dist/chunks/util.js +2 -2
  672. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  673. package/dist/components/arcgis-chat-ui/customElement.js +2 -2
  674. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  675. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +2 -2
  676. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
  677. package/dist/components/arcgis-hub-ai-assistant/customElement.js +2 -2
  678. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  679. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-entity-status-card/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-entity-view-layout/customElement.js +2 -2
  682. package/dist/components/arcgis-layout/customElement.js +2 -2
  683. package/dist/components/arcgis-layout-column/customElement.js +2 -2
  684. package/dist/components/arcgis-layout-container/customElement.js +2 -2
  685. package/dist/components/arcgis-layout-editor-toolbar/customElement.js +2 -2
  686. package/dist/components/arcgis-layout-node-controls/customElement.js +2 -2
  687. package/dist/components/arcgis-layout-node-editor/customElement.js +2 -2
  688. package/dist/components/arcgis-layout-node-editor/layout-node-editor-dynamic-tag/customElement.js +2 -2
  689. package/dist/components/arcgis-layout-node-highlight/customElement.js +2 -2
  690. package/dist/components/arcgis-layout-node-overlay/customElement.js +2 -2
  691. package/dist/components/arcgis-layout-row/customElement.js +2 -2
  692. package/dist/components/arcgis-layout-section/customElement.js +2 -2
  693. package/dist/components/arcgis-nav-card/customElement.js +2 -2
  694. package/dist/components/arcgis-text-card/customElement.js +2 -2
  695. package/dist/components/layouts/components/layout-node/customElement.js +2 -2
  696. package/dist/docs/api.json +1 -1
  697. package/dist/docs/docs.json +1 -1
  698. package/dist/docs/web-types.json +1 -1
  699. package/dist/embed-config.js +2 -2
  700. package/dist/index.js +2 -2
  701. package/dist/loader.js +2 -2
  702. package/package.json +1 -1
  703. package/dist/cdn/243T2XEU.js +0 -4
  704. package/dist/cdn/25NHBOSH.js +0 -4
  705. package/dist/cdn/2AQ5QTLP.js +0 -4
  706. package/dist/cdn/2BATZAGB.js +0 -4
  707. package/dist/cdn/2BI3EQXO.js +0 -4
  708. package/dist/cdn/2DTK6MG6.js +0 -4
  709. package/dist/cdn/2EQDPYCZ.js +0 -4
  710. package/dist/cdn/2JC7FXWI.js +0 -5470
  711. package/dist/cdn/2JCA7ZJD.js +0 -4
  712. package/dist/cdn/2JNYQVK3.js +0 -4
  713. package/dist/cdn/2KVBB57A.js +0 -4
  714. package/dist/cdn/2MEDPNYZ.js +0 -4
  715. package/dist/cdn/2RMZAEKG.js +0 -59
  716. package/dist/cdn/2T7PFYSR.js +0 -4
  717. package/dist/cdn/2UEVASKF.js +0 -4
  718. package/dist/cdn/2UPXNQGO.js +0 -4
  719. package/dist/cdn/2VKBNUGS.js +0 -4
  720. package/dist/cdn/2WI6PPBN.js +0 -4
  721. package/dist/cdn/2WKLVS35.js +0 -4
  722. package/dist/cdn/2YLBD7L7.js +0 -4
  723. package/dist/cdn/2ZKYOB3H.js +0 -4
  724. package/dist/cdn/34D7NFKP.js +0 -4
  725. package/dist/cdn/3577PA7Q.js +0 -4
  726. package/dist/cdn/36KWNN3Y.js +0 -4
  727. package/dist/cdn/37EQWYLS.js +0 -4
  728. package/dist/cdn/3BWFTEXJ.js +0 -4
  729. package/dist/cdn/3CPLYA4O.js +0 -4
  730. package/dist/cdn/3EAHBQ6E.js +0 -4
  731. package/dist/cdn/3GHOXWWI.js +0 -4
  732. package/dist/cdn/3HFVBFLE.js +0 -4
  733. package/dist/cdn/3HXV5T2M.js +0 -4
  734. package/dist/cdn/3LJEHD46.js +0 -4
  735. package/dist/cdn/3LVQ7GDX.js +0 -4
  736. package/dist/cdn/3NWFRHPZ.js +0 -4
  737. package/dist/cdn/3PJAIL3Y.js +0 -4
  738. package/dist/cdn/3QMYKYKD.js +0 -4
  739. package/dist/cdn/3SPE5VIH.js +0 -4
  740. package/dist/cdn/3SPIG7ZM.js +0 -4
  741. package/dist/cdn/3VCRERJN.js +0 -4
  742. package/dist/cdn/3VSWSCJH.js +0 -4
  743. package/dist/cdn/3X7UK3JI.js +0 -4
  744. package/dist/cdn/3YC6ONOZ.js +0 -4
  745. package/dist/cdn/3Z4X7E2F.js +0 -4
  746. package/dist/cdn/44NERZGP.js +0 -4
  747. package/dist/cdn/44ZPUBHK.js +0 -4
  748. package/dist/cdn/4B75NMOH.js +0 -4
  749. package/dist/cdn/4EIOTNQI.js +0 -4
  750. package/dist/cdn/4EVULSKN.js +0 -4
  751. package/dist/cdn/4H6LJFQS.js +0 -4
  752. package/dist/cdn/4HIGZ4PZ.js +0 -4
  753. package/dist/cdn/4JCVWOVQ.js +0 -4
  754. package/dist/cdn/4JGVMDQT.js +0 -4
  755. package/dist/cdn/4JHIXIZX.js +0 -4
  756. package/dist/cdn/4JOOF6WA.js +0 -4
  757. package/dist/cdn/4K3FDPKJ.js +0 -4
  758. package/dist/cdn/4KCUYLHK.js +0 -4
  759. package/dist/cdn/4LCJ3KKW.js +0 -4
  760. package/dist/cdn/4LICCQTL.js +0 -4
  761. package/dist/cdn/4PLXA4DA.js +0 -4
  762. package/dist/cdn/4RLBITNV.js +0 -4
  763. package/dist/cdn/4S5ZSMM3.js +0 -4
  764. package/dist/cdn/4UOSKPDF.js +0 -4
  765. package/dist/cdn/4VYWQSRC.js +0 -4
  766. package/dist/cdn/4XMXQ54V.js +0 -4
  767. package/dist/cdn/4Z67KUOE.js +0 -4
  768. package/dist/cdn/53IEJDWJ.js +0 -4
  769. package/dist/cdn/53NAEV3L.js +0 -4
  770. package/dist/cdn/55ZEVXT2.js +0 -4
  771. package/dist/cdn/56643I3P.js +0 -4
  772. package/dist/cdn/5AR4R7B7.js +0 -4
  773. package/dist/cdn/5BSPZRBZ.js +0 -16
  774. package/dist/cdn/5EALOBK6.js +0 -4
  775. package/dist/cdn/5EUA55VM.js +0 -4
  776. package/dist/cdn/5FHXYF7H.js +0 -4
  777. package/dist/cdn/5LPZE2JA.js +0 -4
  778. package/dist/cdn/5NKGCFSR.js +0 -4
  779. package/dist/cdn/5QJ6H3EJ.js +0 -4
  780. package/dist/cdn/5TVVXIXR.js +0 -4
  781. package/dist/cdn/5U43IXKQ.js +0 -4
  782. package/dist/cdn/5UBBGG47.js +0 -4
  783. package/dist/cdn/5WXYQC6D.js +0 -4
  784. package/dist/cdn/5Y2CNX4M.js +0 -4
  785. package/dist/cdn/5YGI6JYH.js +0 -4
  786. package/dist/cdn/5YPGWJKT.js +0 -4
  787. package/dist/cdn/62IVG53J.js +0 -4
  788. package/dist/cdn/65MWFV3Z.js +0 -25
  789. package/dist/cdn/662ASTW3.js +0 -4
  790. package/dist/cdn/67YHG7DB.js +0 -4
  791. package/dist/cdn/6DANOR3L.js +0 -4
  792. package/dist/cdn/6EV2WU6T.js +0 -4
  793. package/dist/cdn/6IKTIABJ.js +0 -4
  794. package/dist/cdn/6LHY5HHH.js +0 -4
  795. package/dist/cdn/6NF73DNZ.js +0 -4
  796. package/dist/cdn/6PEVOLQY.js +0 -4
  797. package/dist/cdn/6SBLPFVP.js +0 -4
  798. package/dist/cdn/6VVJQ4RF.js +0 -4
  799. package/dist/cdn/6WG6CY62.js +0 -4
  800. package/dist/cdn/6XRWBNCE.js +0 -4
  801. package/dist/cdn/72RGTFXB.js +0 -4
  802. package/dist/cdn/73EX4DOW.js +0 -4
  803. package/dist/cdn/74DWUNFJ.js +0 -4
  804. package/dist/cdn/75INY2KK.js +0 -4
  805. package/dist/cdn/7B2OJ3WA.js +0 -4
  806. package/dist/cdn/7BZLFOHY.js +0 -4
  807. package/dist/cdn/7BZQ3YZJ.js +0 -4
  808. package/dist/cdn/7CWAKRWQ.js +0 -4
  809. package/dist/cdn/7DAOPALD.js +0 -4
  810. package/dist/cdn/7DBJHUIM.js +0 -4
  811. package/dist/cdn/7DVWWL3W.js +0 -4
  812. package/dist/cdn/7EXEYNLT.js +0 -4
  813. package/dist/cdn/7FR2K5QI.js +0 -4
  814. package/dist/cdn/7GXECL7B.js +0 -4
  815. package/dist/cdn/7HX5U67D.js +0 -4
  816. package/dist/cdn/7IO5QSAA.js +0 -4
  817. package/dist/cdn/7K5KAYAF.js +0 -24
  818. package/dist/cdn/7KQ5EAN4.js +0 -4
  819. package/dist/cdn/7MR2JZVC.js +0 -4
  820. package/dist/cdn/7MZITSXH.js +0 -4
  821. package/dist/cdn/7Q6424T4.js +0 -4
  822. package/dist/cdn/7QSKDBMA.js +0 -4
  823. package/dist/cdn/7T2RRKO3.js +0 -4
  824. package/dist/cdn/7TMO72TN.js +0 -4
  825. package/dist/cdn/7TYIYN24.js +0 -4
  826. package/dist/cdn/7UM2JUNG.js +0 -4
  827. package/dist/cdn/7UPHPYDK.js +0 -4
  828. package/dist/cdn/7VJ6UHHO.js +0 -4
  829. package/dist/cdn/7VSHV3NV.js +0 -4
  830. package/dist/cdn/7VTPJ74Q.js +0 -4
  831. package/dist/cdn/7YXJOLFY.js +0 -4
  832. package/dist/cdn/A7IFPW7Y.js +0 -4
  833. package/dist/cdn/A7L4ED6V.js +0 -4
  834. package/dist/cdn/A7LD4XS5.js +0 -4
  835. package/dist/cdn/AB3P47ER.js +0 -4
  836. package/dist/cdn/ACWD6PVP.js +0 -4
  837. package/dist/cdn/ADSOTXLX.js +0 -4
  838. package/dist/cdn/AMWG552O.js +0 -4
  839. package/dist/cdn/AND63DXS.js +0 -4
  840. package/dist/cdn/ANMSQQXB.js +0 -4
  841. package/dist/cdn/ANUFUMF4.js +0 -4
  842. package/dist/cdn/ASEQGBJY.js +0 -42
  843. package/dist/cdn/AT6NRBC3.js +0 -4
  844. package/dist/cdn/ATAAHLC3.js +0 -4
  845. package/dist/cdn/AXIQ6YTI.js +0 -4
  846. package/dist/cdn/AZJOR644.js +0 -4
  847. package/dist/cdn/B2SLCQKF.js +0 -4
  848. package/dist/cdn/B2TQPFEJ.js +0 -4
  849. package/dist/cdn/BFVDRNL6.js +0 -4
  850. package/dist/cdn/BHCVCX5X.js +0 -4
  851. package/dist/cdn/BJJT2W5W.js +0 -4
  852. package/dist/cdn/BL2LT5E7.js +0 -4
  853. package/dist/cdn/BLVS6FZV.js +0 -4
  854. package/dist/cdn/BMSTFCLU.js +0 -4
  855. package/dist/cdn/BN3H7WEO.js +0 -4
  856. package/dist/cdn/BP543FVS.js +0 -4
  857. package/dist/cdn/BQBPUMIH.js +0 -4
  858. package/dist/cdn/BRB4T4JN.js +0 -4
  859. package/dist/cdn/BT773XGO.js +0 -4
  860. package/dist/cdn/BTQBNX5F.js +0 -4
  861. package/dist/cdn/BU7YWZXM.js +0 -4
  862. package/dist/cdn/BYASGP3K.js +0 -4
  863. package/dist/cdn/BZOJARGM.js +0 -4
  864. package/dist/cdn/C3NGLDJT.js +0 -4
  865. package/dist/cdn/C5JJ7AQN.js +0 -4
  866. package/dist/cdn/C7BYACTY.js +0 -4
  867. package/dist/cdn/C7OYF6CQ.js +0 -4
  868. package/dist/cdn/C7SUKHGV.js +0 -4
  869. package/dist/cdn/CF7CVKAA.js +0 -4
  870. package/dist/cdn/CFM5ADMI.js +0 -4
  871. package/dist/cdn/CK3W5HC3.js +0 -4
  872. package/dist/cdn/CLPN6BV2.js +0 -4
  873. package/dist/cdn/CMIONW4I.js +0 -4
  874. package/dist/cdn/CRNZ6P5F.js +0 -4
  875. package/dist/cdn/CSBR2JSJ.js +0 -4
  876. package/dist/cdn/CU2C3XHB.js +0 -4
  877. package/dist/cdn/CUXPTTAS.js +0 -4
  878. package/dist/cdn/CVF6DB4C.js +0 -4
  879. package/dist/cdn/CVMGL6W6.js +0 -4
  880. package/dist/cdn/CW5BKG7K.js +0 -4
  881. package/dist/cdn/CWB6RNW2.js +0 -4
  882. package/dist/cdn/CWFQONIO.js +0 -4
  883. package/dist/cdn/CWYDF6ZZ.js +0 -4
  884. package/dist/cdn/CZQSDJCI.js +0 -4
  885. package/dist/cdn/D4HT4IGM.js +0 -4
  886. package/dist/cdn/D5MZY6V7.js +0 -4
  887. package/dist/cdn/D6PYX7CZ.js +0 -4
  888. package/dist/cdn/D6SF4K72.js +0 -4
  889. package/dist/cdn/D6SYZV73.js +0 -4
  890. package/dist/cdn/D7AFAUQN.js +0 -4
  891. package/dist/cdn/DC5S42AX.js +0 -4
  892. package/dist/cdn/DCWETNLX.js +0 -4
  893. package/dist/cdn/DCZIH7SC.js +0 -4
  894. package/dist/cdn/DDVRZ2YA.js +0 -4
  895. package/dist/cdn/DGPTSSOL.js +0 -4
  896. package/dist/cdn/DLD46EDJ.js +0 -4
  897. package/dist/cdn/DNGAJCEJ.js +0 -4
  898. package/dist/cdn/DNLZM6N3.js +0 -4
  899. package/dist/cdn/DP26LGI2.js +0 -4
  900. package/dist/cdn/DP27R2BN.js +0 -4
  901. package/dist/cdn/DTDF6Y6R.js +0 -4
  902. package/dist/cdn/DU64QVQI.js +0 -4
  903. package/dist/cdn/DUEHI75A.js +0 -4
  904. package/dist/cdn/DUZQHVD5.js +0 -4
  905. package/dist/cdn/DV3COJJB.js +0 -4
  906. package/dist/cdn/DWH3NEZC.js +0 -4
  907. package/dist/cdn/DXU52RUQ.js +0 -4
  908. package/dist/cdn/E6UNXDNH.js +0 -6
  909. package/dist/cdn/E7RKGYQY.js +0 -4
  910. package/dist/cdn/E7Y62YV7.js +0 -4
  911. package/dist/cdn/ECSWL7LI.js +0 -4
  912. package/dist/cdn/EDITDKRI.js +0 -4
  913. package/dist/cdn/EF3X64JZ.js +0 -4
  914. package/dist/cdn/EFGZVLUO.js +0 -4
  915. package/dist/cdn/EMCYGSLV.js +0 -4
  916. package/dist/cdn/EPHCMMKV.js +0 -4
  917. package/dist/cdn/EPPYURD2.js +0 -4
  918. package/dist/cdn/EQBC3T3H.js +0 -4
  919. package/dist/cdn/ET2C4G5S.js +0 -4
  920. package/dist/cdn/ETB6F67B.js +0 -4
  921. package/dist/cdn/ETCM2HXD.js +0 -4
  922. package/dist/cdn/ETU26SBV.js +0 -4
  923. package/dist/cdn/ETZPKKUY.js +0 -4
  924. package/dist/cdn/EVRAXMOK.js +0 -4
  925. package/dist/cdn/EWKDTEQD.js +0 -5
  926. package/dist/cdn/EXTCCNRG.js +0 -4
  927. package/dist/cdn/EZ35XGCS.js +0 -4
  928. package/dist/cdn/EZRPNVC4.js +0 -4
  929. package/dist/cdn/FAEG2OMI.js +0 -4
  930. package/dist/cdn/FAEMJDA5.js +0 -4
  931. package/dist/cdn/FAFJSCEA.js +0 -4
  932. package/dist/cdn/FFNJRVYV.js +0 -4
  933. package/dist/cdn/FGCNOKTY.js +0 -4
  934. package/dist/cdn/FI6IASF4.js +0 -4
  935. package/dist/cdn/FIQZB2Z7.js +0 -4
  936. package/dist/cdn/FKQFD56M.js +0 -4
  937. package/dist/cdn/FKT55K7U.js +0 -4
  938. package/dist/cdn/FLA4NYFG.js +0 -4
  939. package/dist/cdn/FNOYFNEQ.js +0 -4
  940. package/dist/cdn/FNTVQFEO.js +0 -4
  941. package/dist/cdn/FPY3ND7L.js +0 -4
  942. package/dist/cdn/FQBQ7P5Y.js +0 -4
  943. package/dist/cdn/FQTF6G3C.js +0 -59
  944. package/dist/cdn/FRKAENDA.js +0 -4
  945. package/dist/cdn/FRKOTY2O.js +0 -4
  946. package/dist/cdn/FU5NMQQQ.js +0 -4
  947. package/dist/cdn/FVZ6QWL3.js +0 -4
  948. package/dist/cdn/FW2DXU5X.js +0 -4
  949. package/dist/cdn/FWVA54GY.js +0 -4
  950. package/dist/cdn/FXJW7LXQ.js +0 -4
  951. package/dist/cdn/FYFT45Z7.js +0 -4
  952. package/dist/cdn/G26OC33K.js +0 -4
  953. package/dist/cdn/G2NO2B2R.js +0 -4
  954. package/dist/cdn/G73KPMVO.js +0 -4
  955. package/dist/cdn/G7EBUVWK.js +0 -4
  956. package/dist/cdn/G7GK6Z4E.js +0 -4
  957. package/dist/cdn/G7MKMNLH.js +0 -4
  958. package/dist/cdn/GBM7GBOS.js +0 -4
  959. package/dist/cdn/GBTHWDC7.js +0 -4
  960. package/dist/cdn/GCK4QOCN.js +0 -12
  961. package/dist/cdn/GDN4JAHO.js +0 -4
  962. package/dist/cdn/GDNPOMWJ.js +0 -4
  963. package/dist/cdn/GEP2ZSQY.js +0 -4
  964. package/dist/cdn/GGFS3XDV.js +0 -4
  965. package/dist/cdn/GLRI4XFT.js +0 -4
  966. package/dist/cdn/GM2ICPLX.js +0 -4
  967. package/dist/cdn/GQUSL5XT.js +0 -4
  968. package/dist/cdn/GTNBV3BK.js +0 -4
  969. package/dist/cdn/GX5MH6KQ.js +0 -4
  970. package/dist/cdn/H2AQFQ6W.js +0 -6
  971. package/dist/cdn/H2I2FSVB.js +0 -4
  972. package/dist/cdn/H3MI4NNG.js +0 -4
  973. package/dist/cdn/H57AYUNH.js +0 -4
  974. package/dist/cdn/HDLPYBGS.js +0 -4
  975. package/dist/cdn/HDXNEYLJ.js +0 -4
  976. package/dist/cdn/HIUN3FVN.js +0 -4
  977. package/dist/cdn/HJ63ROVR.js +0 -4
  978. package/dist/cdn/HKM2SQNC.js +0 -4
  979. package/dist/cdn/HKNXOQK3.js +0 -4
  980. package/dist/cdn/HLKZZP3I.js +0 -4
  981. package/dist/cdn/HMMZN5NL.js +0 -4
  982. package/dist/cdn/HQ222MF3.js +0 -4
  983. package/dist/cdn/HQN5XQ2A.js +0 -4
  984. package/dist/cdn/HRDJOZ37.js +0 -4
  985. package/dist/cdn/HXGTCRIK.js +0 -4
  986. package/dist/cdn/HY4ELFS7.js +0 -4
  987. package/dist/cdn/HZDEDJAA.js +0 -4
  988. package/dist/cdn/HZDGEANK.js +0 -5
  989. package/dist/cdn/I2FW4TKD.js +0 -4
  990. package/dist/cdn/I2Z7R5GH.js +0 -4
  991. package/dist/cdn/I6WUTZVS.js +0 -4
  992. package/dist/cdn/I7FQZLMU.js +0 -4
  993. package/dist/cdn/IB4XHKOU.js +0 -4
  994. package/dist/cdn/IEJIHP5W.js +0 -4
  995. package/dist/cdn/IEVC73I7.js +0 -4
  996. package/dist/cdn/IGGIPAS3.js +0 -4
  997. package/dist/cdn/IGMNIZ5N.js +0 -4
  998. package/dist/cdn/ING2FCZV.js +0 -4
  999. package/dist/cdn/IQLDEXFJ.js +0 -4
  1000. package/dist/cdn/IQY4PDMS.js +0 -4
  1001. package/dist/cdn/ITTGQK66.js +0 -4
  1002. package/dist/cdn/IUIRZRSO.js +0 -4
  1003. package/dist/cdn/IUNJR6B2.js +0 -4
  1004. package/dist/cdn/IUVSBACH.js +0 -4
  1005. package/dist/cdn/IWYA6GSC.js +0 -4
  1006. package/dist/cdn/IZ75R56Q.js +0 -4
  1007. package/dist/cdn/J2FLXQXI.js +0 -4
  1008. package/dist/cdn/J2Z3H7KN.js +0 -4
  1009. package/dist/cdn/J373NRPJ.js +0 -4
  1010. package/dist/cdn/J3XP2IJY.js +0 -4
  1011. package/dist/cdn/J6HYCD6C.js +0 -4
  1012. package/dist/cdn/JBACHSHC.js +0 -4
  1013. package/dist/cdn/JEI6JWDI.js +0 -4
  1014. package/dist/cdn/JESZ7LCO.js +0 -4
  1015. package/dist/cdn/JEXQEVPE.js +0 -4
  1016. package/dist/cdn/JKYAQSQL.js +0 -6
  1017. package/dist/cdn/JL3HV5ZS.js +0 -11
  1018. package/dist/cdn/JOCSBXYM.js +0 -4
  1019. package/dist/cdn/JQJ7LCIK.js +0 -4
  1020. package/dist/cdn/JQW537ZL.js +0 -4
  1021. package/dist/cdn/JRVEVHXE.js +0 -4
  1022. package/dist/cdn/JS2MZUVJ.js +0 -4
  1023. package/dist/cdn/JSF24ZAU.js +0 -4
  1024. package/dist/cdn/JTE7URWG.js +0 -4
  1025. package/dist/cdn/JVCENNQX.js +0 -4
  1026. package/dist/cdn/K3PB4YBW.js +0 -4
  1027. package/dist/cdn/K3U2NSRE.js +0 -4
  1028. package/dist/cdn/K42BZ7QH.js +0 -4
  1029. package/dist/cdn/K66H6UJ2.js +0 -4
  1030. package/dist/cdn/K6FLA6CF.js +0 -4
  1031. package/dist/cdn/KE6EDEKS.js +0 -4
  1032. package/dist/cdn/KEPHYMMN.js +0 -8
  1033. package/dist/cdn/KGN6JUG7.js +0 -4
  1034. package/dist/cdn/KLSHWNJK.js +0 -4
  1035. package/dist/cdn/KMJ632M2.js +0 -4
  1036. package/dist/cdn/KNTSUFQP.js +0 -52
  1037. package/dist/cdn/KPGZQQ5Q.js +0 -4
  1038. package/dist/cdn/KPSLQGI6.js +0 -4
  1039. package/dist/cdn/KQASTJTB.js +0 -4
  1040. package/dist/cdn/KQBXRQZT.js +0 -4
  1041. package/dist/cdn/KQT77G2O.js +0 -4
  1042. package/dist/cdn/KRXEJRMM.js +0 -4
  1043. package/dist/cdn/KU54NHGE.js +0 -4
  1044. package/dist/cdn/KUMHAOTM.js +0 -4
  1045. package/dist/cdn/KVEIZ4VX.js +0 -4
  1046. package/dist/cdn/KWKFEPZB.js +0 -51
  1047. package/dist/cdn/L253KV6M.js +0 -4
  1048. package/dist/cdn/L2L2ENS3.js +0 -4
  1049. package/dist/cdn/L6JFHQ4Y.js +0 -4
  1050. package/dist/cdn/L6JJDKAG.js +0 -4
  1051. package/dist/cdn/L77FEMIJ.js +0 -4
  1052. package/dist/cdn/LA3PUGTY.js +0 -4
  1053. package/dist/cdn/LBDUPCRZ.js +0 -4
  1054. package/dist/cdn/LBOJWWUG.js +0 -4
  1055. package/dist/cdn/LCXPAISK.js +0 -4
  1056. package/dist/cdn/LD64FCJE.js +0 -4
  1057. package/dist/cdn/LDWOMVPS.js +0 -4
  1058. package/dist/cdn/LDZOIFZP.js +0 -4
  1059. package/dist/cdn/LHEHHYB4.js +0 -4
  1060. package/dist/cdn/LNBBQZOS.js +0 -4
  1061. package/dist/cdn/LOCC7GQY.js +0 -4
  1062. package/dist/cdn/LOPMSGYJ.js +0 -4
  1063. package/dist/cdn/LPW2EJTB.js +0 -4
  1064. package/dist/cdn/LPYEKXND.js +0 -4
  1065. package/dist/cdn/LRQBSIJQ.js +0 -4
  1066. package/dist/cdn/LSAGDOHE.js +0 -4
  1067. package/dist/cdn/LSKWNFZZ.js +0 -4
  1068. package/dist/cdn/LTHDNRFP.js +0 -4
  1069. package/dist/cdn/LU7V3XFD.js +0 -4
  1070. package/dist/cdn/LUHEKT4I.js +0 -4
  1071. package/dist/cdn/LX5HQ3XH.js +0 -4
  1072. package/dist/cdn/M6QDBYH5.js +0 -41
  1073. package/dist/cdn/M6YQNHAY.js +0 -4
  1074. package/dist/cdn/MAAHMWM3.js +0 -4
  1075. package/dist/cdn/MBCKQ5DG.js +0 -4
  1076. package/dist/cdn/MBDXMRMB.js +0 -4
  1077. package/dist/cdn/MBIUEXEB.js +0 -4
  1078. package/dist/cdn/MBNTFPVY.js +0 -4
  1079. package/dist/cdn/MDHYCYUS.js +0 -4
  1080. package/dist/cdn/MG2AWCWS.js +0 -4
  1081. package/dist/cdn/MG5JS4B7.js +0 -4
  1082. package/dist/cdn/MIEOO4FC.js +0 -4
  1083. package/dist/cdn/MOLLTRKS.js +0 -4
  1084. package/dist/cdn/MP3X2RCP.js +0 -4
  1085. package/dist/cdn/MQ5DW3CA.js +0 -4
  1086. package/dist/cdn/MRK6TBHW.js +0 -4
  1087. package/dist/cdn/MRYA6XBL.js +0 -4
  1088. package/dist/cdn/MXRG2SCO.js +0 -4
  1089. package/dist/cdn/MYSSK6FE.js +0 -4
  1090. package/dist/cdn/MZIT6DDD.js +0 -4
  1091. package/dist/cdn/N2PDDBPH.js +0 -4
  1092. package/dist/cdn/N3WQ6NGS.js +0 -4
  1093. package/dist/cdn/N5KA6WHT.js +0 -4
  1094. package/dist/cdn/N5Q2GVDL.js +0 -4
  1095. package/dist/cdn/NHWSMH2F.js +0 -4
  1096. package/dist/cdn/NJNAL3B7.js +0 -4
  1097. package/dist/cdn/NJV2IIEX.js +0 -4
  1098. package/dist/cdn/NK2FXTDW.js +0 -4
  1099. package/dist/cdn/NK7HPEAZ.js +0 -4
  1100. package/dist/cdn/NNMWEWD5.js +0 -4
  1101. package/dist/cdn/NNOVHCKQ.js +0 -4
  1102. package/dist/cdn/NPXZJE5S.js +0 -4
  1103. package/dist/cdn/NQZDKM5Q.js +0 -4
  1104. package/dist/cdn/NR6654T3.js +0 -4
  1105. package/dist/cdn/NR6VD3ZB.js +0 -4
  1106. package/dist/cdn/NTI336KS.js +0 -4
  1107. package/dist/cdn/NZVEU3YG.js +0 -4
  1108. package/dist/cdn/O5DPAMYZ.js +0 -4
  1109. package/dist/cdn/O6PULMXB.js +0 -4
  1110. package/dist/cdn/O7ZGL2VI.js +0 -4
  1111. package/dist/cdn/OAHEZS7Q.js +0 -4
  1112. package/dist/cdn/OGH55FRN.js +0 -4
  1113. package/dist/cdn/OHCJ6ZAZ.js +0 -4
  1114. package/dist/cdn/OIHD3OXU.js +0 -4
  1115. package/dist/cdn/OIW6DOKM.js +0 -4
  1116. package/dist/cdn/OIZ77F3U.js +0 -4
  1117. package/dist/cdn/OMHNUPK6.js +0 -4
  1118. package/dist/cdn/ON35T5JR.js +0 -4
  1119. package/dist/cdn/ONWWJNUF.js +0 -4
  1120. package/dist/cdn/OOYPVW7Y.js +0 -4
  1121. package/dist/cdn/ORXCL323.js +0 -4
  1122. package/dist/cdn/ORYA3BX5.js +0 -4
  1123. package/dist/cdn/OVDWHM7H.js +0 -4
  1124. package/dist/cdn/OYBP4DKL.js +0 -4
  1125. package/dist/cdn/OYFVP3IW.js +0 -4
  1126. package/dist/cdn/OYPINQAP.js +0 -4
  1127. package/dist/cdn/OZPNCFKF.js +0 -5
  1128. package/dist/cdn/P367NYAX.js +0 -4
  1129. package/dist/cdn/P42FCOM4.js +0 -4
  1130. package/dist/cdn/P44NDFWZ.js +0 -4
  1131. package/dist/cdn/P4AEFIHQ.js +0 -4
  1132. package/dist/cdn/P4TNYL34.js +0 -4
  1133. package/dist/cdn/P62PCRPY.js +0 -4
  1134. package/dist/cdn/PCHLCJBU.js +0 -4
  1135. package/dist/cdn/PDOE2MCK.js +0 -4
  1136. package/dist/cdn/PHHVD3BA.js +0 -5
  1137. package/dist/cdn/PI5JFJYI.js +0 -4
  1138. package/dist/cdn/PIZ4DY6J.js +0 -4
  1139. package/dist/cdn/PJLPTEGG.js +0 -12
  1140. package/dist/cdn/PJM2STN2.js +0 -4
  1141. package/dist/cdn/PQIJDMDJ.js +0 -4
  1142. package/dist/cdn/PUP2BJ5A.js +0 -4
  1143. package/dist/cdn/PUSNCXY7.js +0 -4
  1144. package/dist/cdn/PV6W6JP2.js +0 -4
  1145. package/dist/cdn/PXO5YC5X.js +0 -4
  1146. package/dist/cdn/Q24PHKWZ.js +0 -4
  1147. package/dist/cdn/Q5E5OA7G.js +0 -4
  1148. package/dist/cdn/Q5FJFSV2.js +0 -4
  1149. package/dist/cdn/Q5ZKK74I.js +0 -4
  1150. package/dist/cdn/QAMYABRU.js +0 -4
  1151. package/dist/cdn/QANJTYDV.js +0 -4
  1152. package/dist/cdn/QBIILIMS.js +0 -4
  1153. package/dist/cdn/QBJ6ALCR.js +0 -4
  1154. package/dist/cdn/QBX6KP45.js +0 -4
  1155. package/dist/cdn/QDFIEOPO.js +0 -4
  1156. package/dist/cdn/QEBCUYCO.js +0 -4
  1157. package/dist/cdn/QEXDDDXW.js +0 -4
  1158. package/dist/cdn/QFFQDH3J.js +0 -4
  1159. package/dist/cdn/QHKSRB2Z.js +0 -4
  1160. package/dist/cdn/QJXOWLGE.js +0 -4
  1161. package/dist/cdn/QKC35XTL.js +0 -4
  1162. package/dist/cdn/QLXNQY73.js +0 -4
  1163. package/dist/cdn/QMUQ44T6.js +0 -4
  1164. package/dist/cdn/QNFKE4TH.js +0 -4
  1165. package/dist/cdn/QQSQKVPO.js +0 -4
  1166. package/dist/cdn/QUQQAXSP.js +0 -4
  1167. package/dist/cdn/QUYIR4XG.js +0 -4
  1168. package/dist/cdn/QX2F3R5G.js +0 -4
  1169. package/dist/cdn/QXAEAYSC.js +0 -4
  1170. package/dist/cdn/QZBDUUBT.js +0 -4
  1171. package/dist/cdn/QZJA5FVV.js +0 -4
  1172. package/dist/cdn/R3K2RAAR.js +0 -4
  1173. package/dist/cdn/REJR5H5O.js +0 -4
  1174. package/dist/cdn/RLI3GSM2.js +0 -4
  1175. package/dist/cdn/RLJ5THDM.js +0 -4
  1176. package/dist/cdn/RN3MITCQ.js +0 -4
  1177. package/dist/cdn/RNRVS7HN.js +0 -8
  1178. package/dist/cdn/RO27JXCE.js +0 -4
  1179. package/dist/cdn/RPWNTDO2.js +0 -9
  1180. package/dist/cdn/RR3QZHJE.js +0 -4
  1181. package/dist/cdn/RTDUA26O.js +0 -4
  1182. package/dist/cdn/RVMSZF5A.js +0 -4
  1183. package/dist/cdn/RVZLINVF.js +0 -4
  1184. package/dist/cdn/RWCMQSY5.js +0 -4
  1185. package/dist/cdn/RWTNAH7T.js +0 -4
  1186. package/dist/cdn/RWX7KHPR.js +0 -4
  1187. package/dist/cdn/RYYFB4SS.js +0 -4
  1188. package/dist/cdn/RZGQG2IB.js +0 -4
  1189. package/dist/cdn/RZXY7UNU.js +0 -4
  1190. package/dist/cdn/S3ZG257U.js +0 -4
  1191. package/dist/cdn/S5UXWVOK.js +0 -4
  1192. package/dist/cdn/S6JYQKC5.js +0 -4
  1193. package/dist/cdn/SA2XRLYU.js +0 -4
  1194. package/dist/cdn/SAJ76IOF.js +0 -4
  1195. package/dist/cdn/SICAGT74.js +0 -4
  1196. package/dist/cdn/SLMXJ5YL.js +0 -4
  1197. package/dist/cdn/SLWZNFIV.js +0 -4
  1198. package/dist/cdn/SMXVZ3AX.js +0 -5
  1199. package/dist/cdn/SN2FHUGO.js +0 -4
  1200. package/dist/cdn/SNXQZUGV.js +0 -4
  1201. package/dist/cdn/SS5THVJY.js +0 -4
  1202. package/dist/cdn/T35HMGWF.js +0 -4
  1203. package/dist/cdn/T3VOMOIC.js +0 -4
  1204. package/dist/cdn/T3WZPRTK.js +0 -4
  1205. package/dist/cdn/T54XA7XS.js +0 -4
  1206. package/dist/cdn/T5ZYYQXM.js +0 -4
  1207. package/dist/cdn/T6MGAI6I.js +0 -4
  1208. package/dist/cdn/TFJ5L63S.js +0 -4
  1209. package/dist/cdn/TFMQAUOC.js +0 -4
  1210. package/dist/cdn/TJGDX7P6.js +0 -4
  1211. package/dist/cdn/TJGXSI7R.js +0 -4
  1212. package/dist/cdn/TK4FYBXF.js +0 -4
  1213. package/dist/cdn/TKINC2YX.js +0 -4
  1214. package/dist/cdn/TNPNXCDB.js +0 -4
  1215. package/dist/cdn/TO4L6ALB.js +0 -4
  1216. package/dist/cdn/TO7YOA5J.js +0 -4
  1217. package/dist/cdn/TTMCJ6L6.js +0 -4
  1218. package/dist/cdn/TU5BSKNP.js +0 -4
  1219. package/dist/cdn/TWGJN6KM.js +0 -4
  1220. package/dist/cdn/TXOECWUO.js +0 -4
  1221. package/dist/cdn/TYXK2R62.js +0 -4
  1222. package/dist/cdn/U4RDBHIJ.js +0 -4
  1223. package/dist/cdn/U4Y7OPE2.js +0 -4
  1224. package/dist/cdn/U6RKALDJ.js +0 -4
  1225. package/dist/cdn/UAICFQ2G.js +0 -4
  1226. package/dist/cdn/UBFUELEI.js +0 -4
  1227. package/dist/cdn/UBMG6PJ5.js +0 -4
  1228. package/dist/cdn/UCK5WA5G.js +0 -4
  1229. package/dist/cdn/UD5ASHA3.js +0 -4
  1230. package/dist/cdn/UEYBUXT4.js +0 -4
  1231. package/dist/cdn/UHHUY4JU.js +0 -4
  1232. package/dist/cdn/UI23XBKS.js +0 -4
  1233. package/dist/cdn/UJJS4PAJ.js +0 -4
  1234. package/dist/cdn/UL5HO4VK.js +0 -4
  1235. package/dist/cdn/UM4H5BN3.js +0 -4
  1236. package/dist/cdn/UN3A5J7K.js +0 -4
  1237. package/dist/cdn/UOFWMMF6.js +0 -4
  1238. package/dist/cdn/UOQ6EMCG.js +0 -4
  1239. package/dist/cdn/UOROWPLR.js +0 -4
  1240. package/dist/cdn/UR7KVMUO.js +0 -4
  1241. package/dist/cdn/US4RFERB.js +0 -4
  1242. package/dist/cdn/UTSPTHEW.js +0 -4
  1243. package/dist/cdn/UUD4KTBU.js +0 -4
  1244. package/dist/cdn/UUP4AELJ.js +0 -4
  1245. package/dist/cdn/UUSB3PW7.js +0 -4
  1246. package/dist/cdn/UV2OFHLO.js +0 -4
  1247. package/dist/cdn/UVUP2OSI.js +0 -4
  1248. package/dist/cdn/UWUPXIR4.js +0 -4
  1249. package/dist/cdn/UX4VYBBP.js +0 -4
  1250. package/dist/cdn/UXN5O6MC.js +0 -4
  1251. package/dist/cdn/UYJY4JLH.js +0 -4
  1252. package/dist/cdn/UZ624CER.js +0 -4
  1253. package/dist/cdn/V3EJZZAA.js +0 -4
  1254. package/dist/cdn/V4YUGL6W.js +0 -4
  1255. package/dist/cdn/V5II4CHQ.js +0 -4
  1256. package/dist/cdn/V5LFDG5M.js +0 -4
  1257. package/dist/cdn/V76WMULK.js +0 -4
  1258. package/dist/cdn/VCUTBR5O.js +0 -4
  1259. package/dist/cdn/VFYZQF3P.js +0 -4
  1260. package/dist/cdn/VLGEZRSU.js +0 -4
  1261. package/dist/cdn/VLX46JLW.js +0 -4
  1262. package/dist/cdn/VM6OXXEH.js +0 -4
  1263. package/dist/cdn/VMTK5HB4.js +0 -4
  1264. package/dist/cdn/VQRGQWR5.js +0 -4
  1265. package/dist/cdn/VRIKIDF5.js +0 -4
  1266. package/dist/cdn/VS6RF2DN.js +0 -4
  1267. package/dist/cdn/VS76VAWI.js +0 -4
  1268. package/dist/cdn/VUS5HDIX.js +0 -4
  1269. package/dist/cdn/VVGLJLE7.js +0 -4
  1270. package/dist/cdn/VVWZ5YAC.js +0 -4
  1271. package/dist/cdn/VXXIVEAQ.js +0 -4
  1272. package/dist/cdn/VZ7IOYUY.js +0 -4
  1273. package/dist/cdn/W24JB4AU.js +0 -4
  1274. package/dist/cdn/W26L6553.js +0 -4
  1275. package/dist/cdn/W37OJ3YE.js +0 -4
  1276. package/dist/cdn/W4JRVEZ7.js +0 -4
  1277. package/dist/cdn/W6J3D3IY.js +0 -4
  1278. package/dist/cdn/WB4JL545.js +0 -4
  1279. package/dist/cdn/WD6FNCQS.js +0 -4
  1280. package/dist/cdn/WENUAZDS.js +0 -4
  1281. package/dist/cdn/WGV5XQ3Z.js +0 -4
  1282. package/dist/cdn/WJKC6YOG.js +0 -4
  1283. package/dist/cdn/WONZUND5.js +0 -4
  1284. package/dist/cdn/WQQG5Y3K.js +0 -4
  1285. package/dist/cdn/WREW2VMB.js +0 -4
  1286. package/dist/cdn/WRZTZIOO.js +0 -4
  1287. package/dist/cdn/WTP5VXC4.js +0 -4
  1288. package/dist/cdn/WVGJA2BO.js +0 -4
  1289. package/dist/cdn/WVLFWGIH.js +0 -4
  1290. package/dist/cdn/WW3Q5PXM.js +0 -4
  1291. package/dist/cdn/X2NO7DYF.js +0 -4
  1292. package/dist/cdn/X3BMFKXF.js +0 -4
  1293. package/dist/cdn/X7AGLYO7.js +0 -4
  1294. package/dist/cdn/XALEPV2D.js +0 -4
  1295. package/dist/cdn/XBJRUHEN.js +0 -4
  1296. package/dist/cdn/XBRTRUQF.js +0 -4
  1297. package/dist/cdn/XCDVXZWK.js +0 -4
  1298. package/dist/cdn/XCJEMFEZ.js +0 -4
  1299. package/dist/cdn/XCVCF2DW.js +0 -4
  1300. package/dist/cdn/XDUHNQGY.js +0 -4
  1301. package/dist/cdn/XDXAT4ZG.js +0 -4
  1302. package/dist/cdn/XFVIIMNP.js +0 -4
  1303. package/dist/cdn/XGS7RMWY.js +0 -4
  1304. package/dist/cdn/XI3ZJYQF.js +0 -4
  1305. package/dist/cdn/XJDMZCDS.js +0 -4
  1306. package/dist/cdn/XL7WVRTI.js +0 -4
  1307. package/dist/cdn/XLFV37E2.js +0 -5
  1308. package/dist/cdn/XN6NZYLJ.js +0 -4
  1309. package/dist/cdn/XOTNANB5.js +0 -4
  1310. package/dist/cdn/XS6SONXU.js +0 -4
  1311. package/dist/cdn/XSCGY6R6.js +0 -4
  1312. package/dist/cdn/XZP5UJQ7.js +0 -4
  1313. package/dist/cdn/Y3JSZUIT.js +0 -4
  1314. package/dist/cdn/Y6MZQBNF.js +0 -4
  1315. package/dist/cdn/Y6OMD64U.js +0 -4
  1316. package/dist/cdn/Y6SLNCQH.js +0 -4
  1317. package/dist/cdn/YAH6CIN3.js +0 -4
  1318. package/dist/cdn/YAJTB3PA.js +0 -4
  1319. package/dist/cdn/YDNLQTZY.js +0 -4
  1320. package/dist/cdn/YGVSQOA2.js +0 -4
  1321. package/dist/cdn/YHPHURQN.js +0 -4
  1322. package/dist/cdn/YHZYHWLQ.js +0 -4
  1323. package/dist/cdn/YIQXH53L.js +0 -4
  1324. package/dist/cdn/YJPRPQO7.js +0 -4
  1325. package/dist/cdn/YJUPYN3T.js +0 -4
  1326. package/dist/cdn/YKIDWPTV.js +0 -4
  1327. package/dist/cdn/YKXMUXLR.js +0 -4
  1328. package/dist/cdn/YLA62NZR.js +0 -4
  1329. package/dist/cdn/YLZGNREI.js +0 -4
  1330. package/dist/cdn/YMLEPRVQ.js +0 -4
  1331. package/dist/cdn/YMXNGVSN.js +0 -4
  1332. package/dist/cdn/YOH4MLHJ.js +0 -4
  1333. package/dist/cdn/YOWRMBAQ.js +0 -4
  1334. package/dist/cdn/YRIZLPBW.js +0 -4
  1335. package/dist/cdn/YSJSNNSZ.js +0 -4
  1336. package/dist/cdn/YSSBMCGK.js +0 -4
  1337. package/dist/cdn/YTJYP7P3.js +0 -4
  1338. package/dist/cdn/YVXBCRAB.js +0 -4
  1339. package/dist/cdn/YYH7BHRY.js +0 -4
  1340. package/dist/cdn/YYWTU4BT.js +0 -4
  1341. package/dist/cdn/Z2WRG3CZ.js +0 -4
  1342. package/dist/cdn/Z35FPBLY.js +0 -4
  1343. package/dist/cdn/Z7N3TJCZ.js +0 -4
  1344. package/dist/cdn/ZAFUSNIN.js +0 -4
  1345. package/dist/cdn/ZD3OUVE7.js +0 -4
  1346. package/dist/cdn/ZFKEPLPZ.js +0 -4
  1347. package/dist/cdn/ZGXPZ4WC.js +0 -4
  1348. package/dist/cdn/ZKMFDJ72.js +0 -4
  1349. package/dist/cdn/ZLEVX3F6.js +0 -4
  1350. package/dist/cdn/ZLRQRUKL.js +0 -4
  1351. package/dist/cdn/ZLSFCDZD.js +0 -4
  1352. package/dist/cdn/ZOJWCVHH.js +0 -4
  1353. package/dist/cdn/ZOT2CBOT.js +0 -4
  1354. package/dist/cdn/ZP4DIQNS.js +0 -4
  1355. package/dist/cdn/ZQORCRFA.js +0 -4
  1356. package/dist/cdn/ZRY4U6GB.js +0 -4
  1357. package/dist/cdn/ZWUVB24W.js +0 -4
  1358. package/dist/cdn/ZZFHJZUV.js +0 -4
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as r}from"./FVZ6QWL3.js";import{b as u,j as y}from"./RWX7KHPR.js";import{a as g}from"./UHHUY4JU.js";import{a as c}from"./MBNTFPVY.js";import{a as d}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{b as s,c as m,d as f,e as p,h,i as b}from"./4JOOF6WA.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";var w=':host{display:block;--columns:4;--hub-gallery-font-size-large:var(--calcite-font-size-1);--hub-gallery-bulk-actions-bottom:4rem}h1,h2,h3,h4,h5,h6{font-family:var(--hub-heading-family, inherit);font-weight:var(--calcite-font-weight-bold)}:host([layout="list"]) .card-container,:host([layout="grid"]) .card-container,:host([layout="grid-filled"]) .card-container{display:grid;gap:1.5rem}:host([layout="list"]) .card-container{list-style-type:none;margin-block-start:0;margin-block-end:0;margin-inline-start:0;margin-inline-end:0;padding-inline-start:0}:host([layout="grid"]) .card-container{grid-template-columns:repeat(auto-fill, minmax(max(240px, (100% - (4 - 1) * 24px) / 4), 1fr))}:host([layout="grid-filled"]) .card-container{grid-template-columns:repeat(12, 1fr)}:host([layout="grid-filled"]) .card-container>*{grid-column:span calc(12 / var(--columns))}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):last-of-type,:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+1):last-of-type,:host([layout="grid-filled"]) .card-container.cols-2>*:nth-of-type(2n+1):last-of-type{grid-column:span 12 / span 12}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+2):last-of-type,:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+1):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-3>*:nth-of-type(3n+2):last-of-type{grid-column:span 6 / span 6}:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+1):nth-last-of-type(3),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+2):nth-last-of-type(2),:host([layout="grid-filled"]) .card-container.cols-4>*:nth-of-type(4n+3):last-of-type{grid-column:span 4 / span 4}.previous-results-end{position:absolute}arcgis-hub-entity-card[data-map-selected]{outline-style:solid;outline-width:2px;outline-offset:2px;outline-color:var(--calcite-color-brand)}',T=w,R=class{constructor(t){b(this,t),this.hubTelemetry=p(this,"hubTelemetry",7),this.getCardLayout=(e,i,l)=>{let n=e==="list"?"row":"card";if(e==="grid-filled"){let a=l%this.gridColumns,o=i>=l-a;a<2&&o&&(n="row")}return n},this.layout="list",this.searchResults=[],this.loading=!1,this.selectedMapFeatureIds=[],this.selectedIds=[],this.baseUrl=void 0,this.linkTarget="self",this.limit=10,this.showThumbnail=!0,this.imageType=y.thumbnail,this.lazy=!1,this.newTab=!1,this.disableTelemetry=!1,this.selectionMode="none",this.cardTitleTag=void 0,this.corners=u.square,this.showAdditionalInfo=!0,this.showEmptyState=!0,this.shadow=void 0,this.showLinkButton=!1,this.linkButtonText=void 0,this.linkButtonStyle=void 0,this.showBadges=!0,this.showType=!0,this.showOwner=!0,this.cardActionLinks=[],this.handleMouseEventEntityCard=void 0,this.lastSearchResultsCount=void 0,this.hasError=!1,this.callback=void 0,this.primaryActionsToRender=1,this.gridColumns=4,c(this,"handleResize","setPreviousResultsEnd")}get selectable(){return this.selectionMode!=="none"}get shouldRenderEmptyState(){return!this.searchResults.length&&this.showEmptyState||this.hasError}async componentWillLoad(){this.intl=await d.loadIntlForComponent(this.element)}connectedCallback(){this.layout==="grid-filled"&&r.addHandler(this.element,this.handleResize)}disconnectedCallback(){r.unobserve(this.element)}componentDidUpdate(){var t;(t=this.previousResultsEnd)===null||t===void 0||t.focus({preventScroll:!0})}async handleResize(){let t=this.element.clientWidth,e=1;t>1090?e=4:t>810?e=3:t>530&&(e=2),this.element.style.setProperty("--columns",`${e}`),this.gridColumns=e}setPreviousResultsEnd(t){this.previousResultsEnd=t}renderResult(t,e=0){let{searchResults:i,selectedMapFeatureIds:l}=this,n=this.selectedIds.includes(t.id);t.index=e;let a=[...this.cardActionLinks];return this.showLinkButton&&a.unshift({ariaLabel:`${this.linkButtonText} ${t.name}`,label:this.linkButtonText,showLabel:!0,href:g(t,this.linkTarget,this.baseUrl),buttonStyle:this.linkButtonStyle}),s("arcgis-hub-entity-card",{actionLinks:a,baseUrl:this.baseUrl,callback:this.callback,class:"arcgis-hub-entity-card",corners:this.corners,"data-map-selected":l.includes(t.id),"data-test":t.name,disableTelemetry:this.disableTelemetry,imageType:this.imageType,key:t.id,layout:this.getCardLayout(this.layout,e,i.length),lazy:this.lazy,linkTarget:this.linkTarget,newTab:this.newTab,onMouseDown:this.handleMouseEventEntityCard,onMouseLeave:this.handleMouseEventEntityCard,onMouseOver:this.handleMouseEventEntityCard,primaryActionsToRender:this.primaryActionsToRender,searchResult:t,selectable:this.selectable,selected:n,shadow:this.shadow,showAdditionalInfo:this.showAdditionalInfo,showBadges:this.showBadges,showOwner:this.showOwner,showThumbnail:this.showThumbnail,showType:this.showType,titleTag:this.cardTitleTag})}_renderLoading(){let t=1;this.showType||this.showOwner&&t++,this.layout!=="list"&&t++;let e=[...Array(this.limit).keys()].map(i=>s("arcgis-skeleton-loader",{active:!0,headingRows:t,key:i,rows:3,showHeading:!0,showThumbnail:this.layout!=="list"},this.showLinkButton&&s("div",{class:"loading-link-button"})));return s("div",{class:"card-container"},e)}_renderEmptyState(){let t=this.hasError?"helpState.error.message":"helpState.noResults.message",e=this.intl.t(t),i=this.hasError?"search-error-action":"no-results-action";return s(h,null,s("arcgis-hub-help-state",{icon:"file-magnifying-glass"},s("div",{"aria-live":"polite",role:"status",slot:"message"},s("h3",null,e)),s("span",{slot:"actions"},s("div",{class:"no-results-action-container"},s("slot",{name:i})))))}_renderResults(){let{searchResults:t}=this,e;if(t.length){let i=t.reduce((n,a,o)=>(n.push(this.layout==="list"?s("li",null,this.renderResult(a,o)):this.renderResult(a,o)),o===this.lastSearchResultsCount-1&&n.push(s("div",{class:"previous-results-end",ref:this.setPreviousResultsEnd,tabIndex:-1})),n),[]),l=this.layout==="list"?"ul":"div";e=s(h,null,s(l,{class:{"card-container":!0,[`cols-${this.gridColumns}`]:this.layout==="grid-filled"},"data-test":"result-container"},i))}else this.shouldRenderEmptyState&&(e=this._renderEmptyState());return e}render(){return s(m,{key:"70660eb929442d8681f1bd5206ade5d418a2f5ad","data-element":"gallery-layout-list"},this.loading?this._renderLoading():this._renderResults())}static get assetsDirs(){return["locales"]}get element(){return f(this)}};R.style=T;export{R as arcgis_hub_gallery_layout_list};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import"./PQIJDMDJ.js";var a="\u03A0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7 \u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03C4\u03BF\u03C5 \u03B3\u03C1\u03B1\u03C6\u03AE\u03BC\u03B1\u03C4\u03BF\u03C2.",e="\u0394\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03C5\u03BD\u03B1\u03C4\u03AE \u03B7 \u03B5\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE \u03C4\u03BF\u03C5 \u03BC\u03B5\u03C4\u03B1\u03C3\u03C7\u03B7\u03BC\u03B1\u03C4\u03B9\u03C3\u03BC\u03BF\u03CD \u03B1\u03C1\u03C7\u03B5\u03AF\u03BF\u03C5 \u03BA\u03B1\u03C4\u03B1\u03B3\u03C1\u03B1\u03C6\u03AE\u03C2 \u03C3\u03B5 \u03B1\u03C1\u03BD\u03B7\u03C4\u03B9\u03BA\u03AD\u03C2 \u03AE \u03BC\u03B7\u03B4\u03B5\u03BD\u03B9\u03BA\u03AD\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2.",t="\u0394\u03B5\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03B4\u03C5\u03BD\u03B1\u03C4\u03AE \u03B7 \u03B5\u03C6\u03B1\u03C1\u03BC\u03BF\u03B3\u03AE \u03C4\u03BF\u03C5 \u03BC\u03B5\u03C4\u03B1\u03C3\u03C7\u03B7\u03BC\u03B1\u03C4\u03B9\u03C3\u03BC\u03BF\u03CD \u03C4\u03B5\u03C4\u03C1\u03B1\u03B3\u03C9\u03BD\u03B9\u03BA\u03AE\u03C2 \u03C1\u03AF\u03B6\u03B1\u03C2 \u03C3\u03B5 \u03B1\u03C1\u03BD\u03B7\u03C4\u03B9\u03BA\u03AD\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2.",r="\u03A0\u03B1\u03C1\u03BF\u03C5\u03C3\u03B9\u03AC\u03C3\u03C4\u03B7\u03BA\u03B5 \u03BA\u03AC\u03C0\u03BF\u03B9\u03BF \u03C3\u03C6\u03AC\u03BB\u03BC\u03B1 \u03BA\u03B1\u03C4\u03AC \u03C4\u03B7 \u03C6\u03CC\u03C1\u03C4\u03C9\u03C3\u03B7 \u03C4\u03BF\u03C5 \u03B8\u03B5\u03BC\u03B1\u03C4\u03B9\u03BA\u03BF\u03CD \u03B5\u03C0\u03B9\u03C0\u03AD\u03B4\u03BF\u03C5. \u0394\u03B9\u03B5\u03CD\u03B8\u03C5\u03BD\u03C3\u03B7 URL = ${ url }. \u0391\u03BD\u03B1\u03B3\u03BD\u03C9\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC \u03B1\u03BD\u03C4\u03B9\u03BA\u03B5\u03B9\u03BC\u03AD\u03BD\u03BF\u03C5 \u03C4\u03BF\u03C5 portal = ${ portalItemId }.",i="\u03A4\u03B1 \u03C0\u03B5\u03B4\u03AF\u03B1 [${ fieldNames }] \u03C0\u03BF\u03C5 \u03BF\u03C1\u03AF\u03C3\u03C4\u03B7\u03BA\u03B1\u03BD \u03C3\u03C4\u03B7 \u03B4\u03B9\u03B1\u03BC\u03CC\u03C1\u03C6\u03C9\u03C3\u03B7 \u03B4\u03B5\u03BD \u03B2\u03C1\u03AD\u03B8\u03B7\u03BA\u03B1\u03BD \u03C3\u03C4\u03BF \u03B8\u03B5\u03BC\u03B1\u03C4\u03B9\u03BA\u03CC \u03B5\u03C0\u03AF\u03C0\u03B5\u03B4\u03BF.",s="\u03A4\u03BF ${ dataPath } \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BC\u03BF\u03BD\u03B1\u03B4\u03B9\u03BA\u03CC. \u0397 \u03C3\u03B5\u03B9\u03C1\u03AC \u03BC\u03B5 \u03C4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 ${ seriesName } \u03AD\u03C7\u03B5\u03B9 \u03B1\u03BD\u03B1\u03B3\u03BD\u03C9\u03C1\u03B9\u03C3\u03C4\u03B9\u03BA\u03CC (${ seriesID }) \u03C0\u03BF\u03C5 \u03AE\u03B4\u03B7 \u03C7\u03C1\u03B7\u03C3\u03B9\u03BC\u03BF\u03C0\u03BF\u03B9\u03B5\u03AF\u03C4\u03B1\u03B9 \u03B1\u03C0\u03CC \u03BA\u03AC\u03C0\u03BF\u03B9\u03B1 \u03AC\u03BB\u03BB\u03B7 \u03C3\u03B5\u03B9\u03C1\u03AC.",o="\u03A4\u03BF ${ dataPath } \u03B4\u03B5\u03BD \u03BC\u03C0\u03BF\u03C1\u03B5\u03AF \u03BD\u03B1 \u03B5\u03BA\u03C4\u03B5\u03BB\u03AD\u03C3\u03B5\u03B9 \u03C3\u03C5\u03BD\u03AC\u03B8\u03C1\u03BF\u03B9\u03C3\u03B7 \u03C7\u03C9\u03C1\u03AF\u03C2 \u03BC\u03AD\u03C4\u03C1\u03B7\u03C3\u03B7 \u03C3\u03B5 \u03BC\u03B7 \u03B1\u03C1\u03B9\u03B8\u03BC\u03B7\u03C4\u03B9\u03BA\u03CC \u03C0\u03B5\u03B4\u03AF\u03BF.",n="\u0391\u03C0\u03CC \u03C4\u03BF ${ dataPath } \u03BB\u03B5\u03AF\u03C0\u03B5\u03B9 \u03BC\u03B9\u03B1 \u03B9\u03B4\u03B9\u03CC\u03C4\u03B7\u03C4\u03B1 \u03BC\u03B5 \u03C4\u03BF \u03CC\u03BD\u03BF\u03BC\u03B1 ${ missingProperty }.",d="\u03A4\u03BF ${ dataPath } \u03B4\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03BF\u03C5\u03C2 \u03B1\u03C0\u03CC ${ limit } \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B5\u03C2.",l="\u03A4\u03BF ${ dataPath } \u03B4\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03BB\u03B9\u03B3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC ${ limit } \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1.",u="\u03A4\u03BF ${ dataPath } \u03B4\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C0\u03B5\u03C1\u03B9\u03C3\u03C3\u03CC\u03C4\u03B5\u03C1\u03B1 \u03B1\u03C0\u03CC ${ limit } \u03C3\u03C4\u03BF\u03B9\u03C7\u03B5\u03AF\u03B1.",m="\u03A4\u03BF ${ dataPath } \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 \u03C4\u03BF\u03C5\u03BB\u03AC\u03C7\u03B9\u03C3\u03C4\u03BF\u03BD \u03AD\u03BD\u03B1\u03BD \u03C7\u03B1\u03C1\u03B1\u03BA\u03C4\u03AE\u03C1\u03B1 \u03C0\u03BF\u03C5 \u03BD\u03B1 \u03BC\u03B7\u03BD \u03B5\u03AF\u03BD\u03B1\u03B9 \u03BA\u03B5\u03BD\u03CC \u03B4\u03B9\u03AC\u03C3\u03C4\u03B7\u03BC\u03B1.",$="\u03A4\u03BF ${ dataPath } \u03B4\u03B5\u03BD \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03AD\u03C7\u03B5\u03B9 ${ additionalProperty }.",p="\u03A4\u03BF ${ dataPath } \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03B9\u03C3\u03BF\u03CD\u03C4\u03B1\u03B9 \u03BC\u03B5 \u03BC\u03AF\u03B1 \u03B1\u03C0\u03CC \u03C4\u03B9\u03C2 \u03B5\u03BE\u03AE\u03C2 \u03B5\u03C0\u03B9\u03C4\u03C1\u03B5\u03C0\u03CC\u03BC\u03B5\u03BD\u03B5\u03C2 \u03C4\u03B9\u03BC\u03AD\u03C2: ${ allowedValues }.",y="\u03A4\u03BF ${ dataPath } \u03C0\u03C1\u03AD\u03C0\u03B5\u03B9 \u03BD\u03B1 \u03C3\u03C5\u03BC\u03C6\u03C9\u03BD\u03B5\u03AF \u03BC\u03B5 \u03C4\u03B7 \u03B4\u03BF\u03BC\u03AE \u03B5\u03BD\u03CC\u03C2 \u03B1\u03C0\u03CC \u03C4\u03B1 \u03B5\u03BE\u03AE\u03C2: ${ schemaOptions }.",P="\u0394\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03BF\u03BD\u03C4\u03B1\u03B9 \u03B3\u03C1\u03B1\u03C6\u03AE\u03BC\u03B1\u03C4\u03B1 \u03B4\u03B9\u03B1\u03C3\u03C0\u03BF\u03C1\u03AC\u03C2 \u03BC\u03B5 \u03B1\u03BD\u03B1\u03BB\u03BF\u03B3\u03B9\u03BA\u03AC \u03C3\u03CD\u03BC\u03B2\u03BF\u03BB\u03B1. \u0388\u03C7\u03B5\u03B9 \u03B5\u03C6\u03B1\u03C1\u03BC\u03BF\u03C3\u03C4\u03B5\u03AF \u03C4\u03BF \u03C0\u03C1\u03BF\u03B5\u03C0\u03B9\u03BB\u03B5\u03B3\u03BC\u03AD\u03BD\u03BF \u03BC\u03AD\u03B3\u03B5\u03B8\u03BF\u03C2 \u03C3\u03C5\u03BC\u03B2\u03CC\u03BB\u03BF\u03C5.",g="\u0391\u03C0\u03BF\u03C4\u03C5\u03C7\u03AF\u03B1 \u03B1\u03BD\u03AC\u03B3\u03BD\u03C9\u03C3\u03B7\u03C2 \u03B4\u03B5\u03B4\u03BF\u03BC\u03AD\u03BD\u03C9\u03BD \u03B5\u03B9\u03C3\u03CC\u03B4\u03BF\u03C5",h="\u0397 \u03BB\u03B5\u03B9\u03C4\u03BF\u03C5\u03C1\u03B3\u03AF\u03B1 queryBins \u03B4\u03B5\u03BD \u03C5\u03C0\u03BF\u03C3\u03C4\u03B7\u03C1\u03AF\u03B6\u03B5\u03C4\u03B1\u03B9 \u03C3\u03B5 \u03B1\u03C5\u03C4\u03AE\u03BD \u03C4\u03B7\u03BD \u03C5\u03C0\u03B7\u03C1\u03B5\u03C3\u03AF\u03B1.",I="\u039F \u03B1\u03BD\u03B1\u03BC\u03B5\u03BD\u03CC\u03BC\u03B5\u03BD\u03BF\u03C2 \u03C4\u03CD\u03C0\u03BF\u03C2 \u03C3\u03B5\u03B9\u03C1\u03AC\u03C2 \u03C3\u03C4\u03BF \u03B5\u03C5\u03C1\u03B5\u03C4\u03AE\u03C1\u03B9\u03BF ${ seriesIndex } \u03B5\u03AF\u03BD\u03B1\u03B9 '${ expectedType }', \u03B1\u03BB\u03BB\u03AC \u03BB\u03AE\u03C6\u03B8\u03B7\u03BA\u03B5 '${ receivedType }' \u03B1\u03BD\u03C4\u03AF \u03B3\u03B9' \u03B1\u03C5\u03C4\u03CC",c="\u03AE",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:i,duplicateSeriesID:s,nonNumericAggregation:o,requiredProperty:n,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:$,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:P,queryError:g,queryBinsNotSupported:h,invalidSeriesType:I,or:"\u03AE"};export{$ as additionalProperty,y as anyOfValues,P as bubbleChartValidateMsg,f as default,a as defaultError,s as duplicateSeriesID,p as enumValues,I as invalidSeriesType,i as layerFieldsNotFound,r as layerLoadFailure,u as maxItems,l as minItems,d as minLength,e as negativeValueInDataForLogTransformation,t as negativeValueInDataForSqrtTransformation,o as nonNumericAggregation,c as or,h as queryBinsNotSupported,g as queryError,n as requiredProperty,m as whiteSpacePattern};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{c as X,d as Z,e as tt,f as et}from"./XI3ZJYQF.js";import"./O5DPAMYZ.js";import"./VZ7IOYUY.js";import"./6SBLPFVP.js";import"./DNGAJCEJ.js";import"./OZPNCFKF.js";import"./HZDGEANK.js";import"./RWX7KHPR.js";import{a as Q}from"./4RLBITNV.js";import"./IGMNIZ5N.js";import{a as V}from"./MBDXMRMB.js";import{a as W}from"./36KWNN3Y.js";import{a as Y,e as J}from"./UM4H5BN3.js";import"./T54XA7XS.js";import{a as k}from"./UI23XBKS.js";import{a as B}from"./K3U2NSRE.js";import"./UR7KVMUO.js";import{a as U}from"./LU7V3XFD.js";import{c as G}from"./GM2ICPLX.js";import{c as z}from"./VVGLJLE7.js";import"./UTSPTHEW.js";import{a as O,d as H,j as q}from"./XOTNANB5.js";import"./4JCVWOVQ.js";import{b as L}from"./XN6NZYLJ.js";import{h as _}from"./BQBPUMIH.js";import"./X7AGLYO7.js";import{j}from"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import{a as N}from"./MBNTFPVY.js";import{a as K}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{a as D}from"./JOCSBXYM.js";import"./BFVDRNL6.js";import{b as m,c as rt,d as nt,e as A,i as ot}from"./4JOOF6WA.js";import"./CF7CVKAA.js";import"./PXO5YC5X.js";import{a as P}from"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";export default $arcgis.t(([])=>{var ut=t=>{let{folderId:e,start:r=1,num:n=10,authentication:d}=t,h=e?`/${e}`:"";return O(t).then(c=>`${L(t)}/content/users/${c}${h}`).then(c=>_(c,{httpMethod:"GET",authentication:d,params:{start:r,num:n}}))},ft=t=>{let{authentication:e,id:r,title:n,exportFormat:d,exportParameters:h}=t;return O(t).then(c=>`${L(t)}/content/users/${c}/export`).then(c=>_(c,{httpMethod:"POST",authentication:e,params:{itemId:r,title:n,exportFormat:d,exportParameters:h}}))},lt={exports:{}};(function(t){var e=Object.prototype.hasOwnProperty,r="~";function n(){}Object.create&&(n.prototype=Object.create(null),new n().__proto__||(r=!1));function d(a,o,s){this.fn=a,this.context=o,this.once=s||!1}function h(a,o,s,i,w){if(typeof s!="function")throw new TypeError("The listener must be a function");var f=new d(s,i||a,w),p=r?r+o:o;return a._events[p]?a._events[p].fn?a._events[p]=[a._events[p],f]:a._events[p].push(f):(a._events[p]=f,a._eventsCount++),a}function c(a,o){--a._eventsCount===0?a._events=new n:delete a._events[o]}function l(){this._events=new n,this._eventsCount=0}l.prototype.eventNames=function(){var o=[],s,i;if(this._eventsCount===0)return o;for(i in s=this._events)e.call(s,i)&&o.push(r?i.slice(1):i);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(s)):o},l.prototype.listeners=function(o){var s=r?r+o:o,i=this._events[s];if(!i)return[];if(i.fn)return[i.fn];for(var w=0,f=i.length,p=new Array(f);w<f;w++)p[w]=i[w].fn;return p},l.prototype.listenerCount=function(o){var s=r?r+o:o,i=this._events[s];return i?i.fn?1:i.length:0},l.prototype.emit=function(o,s,i,w,f,p){var y=r?r+o:o;if(!this._events[y])return!1;var u=this._events[y],E=arguments.length,I,g;if(u.fn){switch(u.once&&this.removeListener(o,u.fn,void 0,!0),E){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,s),!0;case 3:return u.fn.call(u.context,s,i),!0;case 4:return u.fn.call(u.context,s,i,w),!0;case 5:return u.fn.call(u.context,s,i,w,f),!0;case 6:return u.fn.call(u.context,s,i,w,f,p),!0}for(g=1,I=new Array(E-1);g<E;g++)I[g-1]=arguments[g];u.fn.apply(u.context,I)}else{var ht=u.length,x;for(g=0;g<ht;g++)switch(u[g].once&&this.removeListener(o,u[g].fn,void 0,!0),E){case 1:u[g].fn.call(u[g].context);break;case 2:u[g].fn.call(u[g].context,s);break;case 3:u[g].fn.call(u[g].context,s,i);break;case 4:u[g].fn.call(u[g].context,s,i,w);break;default:if(!I)for(x=1,I=new Array(E-1);x<E;x++)I[x-1]=arguments[x];u[g].fn.apply(u[g].context,I)}}return!0},l.prototype.on=function(o,s,i){return h(this,o,s,i,!1)},l.prototype.once=function(o,s,i){return h(this,o,s,i,!0)},l.prototype.removeListener=function(o,s,i,w){var f=r?r+o:o;if(!this._events[f])return this;if(!s)return c(this,f),this;var p=this._events[f];if(p.fn)p.fn===s&&(!w||p.once)&&(!i||p.context===i)&&c(this,f);else{for(var y=0,u=[],E=p.length;y<E;y++)(p[y].fn!==s||w&&!p[y].once||i&&p[y].context!==i)&&u.push(p[y]);u.length?this._events[f]=u.length===1?u[0]:u:c(this,f)}return this},l.prototype.removeAllListeners=function(o){var s;return o?(s=r?r+o:o,this._events[s]&&c(this,s)):(this._events=new n,this._eventsCount=0),this},l.prototype.off=l.prototype.removeListener,l.prototype.addListener=l.prototype.on,l.prefixed=r,l.EventEmitter=l,t.exports=l})(lt);var pt=lt.exports,v=class extends Error{constructor(e,r,n){super(e),this.status=n,this.url=r}};function T(t){let{host:e,route:r,query:n}=t,d=e.endsWith("/")?e:`${e}/`,h=new URL(r,d);return h.search=mt(n),h.toString()}function mt(t={}){let e=Object.keys(t).filter(r=>t[r]!==void 0).reduce((r,n)=>(r[n]=t[n],r),{});return new URLSearchParams(e).toString()}function $(t){let{datasetId:e,format:r,spatialRefId:n,geometry:d,where:h}=t;return`${e}:${r}:${n}:${d}:${h}`}var at={Shapefile:"shp",CSV:"csv","File Geodatabase":"fgdb",GeoJson:"geojson",KML:"kml"};function dt(t){if(!at[t])throw new Error(`Unsupported Hub download format: ${t}`);return at[t]}function wt(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,format:dt(t.format),geometry:d,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`});return fetch(l,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(c)}).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s)}).then(()=>({downloadId:$(t)}))}function gt(t){let{datasetId:e,title:r,format:n,authentication:d}=t,[h]=e.split("_");return ft({id:h,exportFormat:n,exportParameters:yt(t),title:r,authentication:d}).then(c=>{let{size:l,jobId:a,exportItemId:o}=c;return{downloadId:o,jobId:a,size:l,exportCreated:Date.now()}})}function yt(t){let{datasetId:e,spatialRefId:r,where:n}=t,d=e.split("_")[1];if(!d)return r?{targetSR:{wkid:Number(r)}}:{};let h=[{id:Number(d),where:n}];return r?{layers:h,targetSR:{wkid:Number(r)}}:{layers:h}}function bt(t){let{host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c,title:l,target:a,authentication:o}=t;return!a||a==="hub"?wt({host:e,datasetId:r,format:n,spatialRefId:d,geometry:h,where:c}):gt({datasetId:r,format:n,title:l,authentication:o,spatialRefId:d,where:c})}var S;(function(t){t.Shapefile="Shapefile",t.CSV="CSV",t.KML="KML",t.GeoJson="GeoJson",t.Excel="Excel",t["File Geodatabase"]="File Geodatabase",t["Feature Collection"]="Feature Collection",t["Scene Package"]="Scene Package"})(S||(S={}));function ct(t){let{host:e,datasetId:r,spatialRefId:n,geometry:d,where:h}=t,c={spatialRefId:n,formats:dt(t.format),geometry:d?JSON.stringify(d):void 0,where:h},l=T({host:e,route:`/api/v3/datasets/${r}/downloads`,query:c});return fetch(l).then(a=>{let{ok:o,status:s,statusText:i}=a;if(!o)throw new v(i,l,s);return a.json()}).then(a=>(Et(a),It(a,$(t))))}function Et({data:t}){if(!t)throw new Error('Unexpected API response; no "data" property.');if(!Array.isArray(t))throw new Error('Unexpected API response; "data" is not an array.');if(t.length>1)throw new Error('Unexpected API response; "data" contains more than one download.')}function It(t,e){let{data:[r]}=t;if(!r)return{downloadId:e,status:"not_ready"};let{attributes:{contentLastModified:n,lastModified:d,status:h,errors:c,contentLength:l,cacheTime:a,source:{lastEditDate:o}},links:{content:s}}=r;return{downloadId:e,contentLastModified:n,lastEditDate:o,lastModified:d,status:h,errors:c||[],downloadUrl:s,contentLength:l,cacheTime:a}}var M=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,eventEmitter:n,pollingInterval:d,existingFileDate:h=new Date(0).toISOString()}=e,c=new Date(h).getTime();this.pollTimer=setInterval(()=>{ct(e).then(l=>{if(Dt(l,c))return n.emit(`${r}ExportComplete`,{detail:{metadata:l}}),this.disablePoll();if(vt(l)){let{errors:[a]}=l;return n.emit(`${r}ExportError`,{detail:{error:a,metadata:l}}),this.disablePoll()}}).catch(l=>(n.emit(`${r}PollingError`,{detail:{error:l,metadata:{status:"error"}}}),this.disablePoll()))},d)}};function xt(t){let e=new M;return e.activatePoll(t),e}function Dt(t,e){let{status:r,lastModified:n}=t,d=new Date(n).getTime();return r==="ready"||r==="ready_unknown"&&d>e}function vt(t){return t&&(t.status==="error_updating"||t.status==="error_creating")}function St(t){return ut({authentication:t}).then(e=>{let r=e.folders.find(n=>n.title==="item-exports");return r?{folder:r}:Y({authentication:t,title:"item-exports"})}).then(e=>{let{folder:r}=e;return r.id})}var b;(function(t){t.READY="ready",t.READY_UNKNOWN="ready_unknown",t.STALE="stale",t.NOT_READY="not_ready",t.LOCKED="locked",t.STALE_LOCKED="stale_locked",t.DISABLED="disabled",t.CREATING="creating",t.UPDATING="updating",t.ERROR_CREATING="error_creating",t.ERROR_UPDATING="error_updating",t.ERROR="error"})(b||(b={}));var C=class t extends Error{constructor(e){super(e),Object.setPrototypeOf(this,t.prototype)}};function Ct(t){let{downloadId:e,datasetId:r,exportCreated:n,spatialRefId:d,eventEmitter:h,authentication:c}=t,{itemId:l,layerId:a}=k(r),o=[tt(l),et(a),`modified:${n}`,Z(d)];return J({item:{id:e,typekeywords:o.join(",")},authentication:c}).then(()=>Q({id:e,authentication:c,access:"private"})).then(()=>St(c)).then(s=>G({itemId:e,folderId:s,authentication:c})).catch(s=>{if(!(s&&s.code==="CONT_0011"))throw W({id:e,authentication:c}),new C(s.message)}).then(()=>h.emit(`${e}ExportComplete`,{detail:{metadata:{downloadId:e,status:b.READY,lastModified:new Date().toISOString(),downloadUrl:T({host:c.portal,route:`content/items/${e}/data`,query:{token:c.token}})}}}))}var F=class{disablePoll(){clearInterval(this.pollTimer),this.pollTimer=null}activatePoll(e){let{downloadId:r,datasetId:n,format:d,spatialRefId:h,jobId:c,authentication:l,exportCreated:a,eventEmitter:o,pollingInterval:s}=e;this.pollTimer=setInterval(()=>{q({id:r,jobId:c,jobType:"export",authentication:l}).then(i=>{if(i.status==="completed")return Ct({datasetId:n,format:d,authentication:l,downloadId:r,spatialRefId:h,exportCreated:a,eventEmitter:o}).then(()=>{this.disablePoll()});if(i.status==="failed")return o.emit(`${r}ExportError`,{detail:{error:new Error(i.statusMessage),metadata:{status:b.ERROR,errors:[new Error(i.statusMessage)]}}}),this.disablePoll()}).catch(i=>(i instanceof C?o.emit(`${r}ExportError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}):o.emit(`${r}PollingError`,{detail:{error:i,metadata:{status:b.ERROR,errors:[i]}}}),this.disablePoll()))},s)}};function Rt(t){let e=new F;return e.activatePoll(t),e}function Tt(t){let{target:e,downloadId:r,datasetId:n,jobId:d,format:h,authentication:c,exportCreated:l,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,host:f,existingFileDate:p}=t;return!e||e==="hub"?xt({host:f,downloadId:r,datasetId:n,format:h,eventEmitter:a,pollingInterval:o,spatialRefId:s,geometry:i,where:w,existingFileDate:p}):Rt({downloadId:r,datasetId:n,jobId:d,authentication:c,exportCreated:l,format:h,spatialRefId:s,eventEmitter:a,pollingInterval:o,geometry:i,where:w})}var Pt=600*1e3;function _t(t,e){return t==="portal"&&e&&new Date().getTime()-e<=Pt}function Lt(t,e){let r=e?e.toLowerCase():"",n=P(t,"properties.downloadsConfig.enabled")!==!1,d=P(t,"properties.downloadsConfig.formats")||{},h=!d[r]||d[r].enabled!==!1;return n?h:!1}var R;(function(t){t.FeatureService="Feature Service",t.MapService="Map Service"})(R||(R={}));var Ot=t=>t===S.CSV||t===S.KML;function kt(t){let{datasetId:e,authentication:r,format:n,spatialRefId:d,target:h,portal:c}=t,{itemId:l,layerId:a}=k(e),o,s,i,w;return H(l,{authentication:r,portal:c}).then(f=>{let{type:p,modified:y,url:u}=f;return w=f,s=y,i=p,At({url:u,authentication:r,type:p,modified:y,format:n,layerId:a,portal:c})}).then(f=>{let{modified:p,format:y}=f;return o=p,z({q:X(l,{layerId:a,onlyTypes:[y],spatialRefId:d}),num:1,sortField:"modified",sortOrder:"DESC",authentication:r,portal:c})}).then(f=>Ut({cachedDownload:f.results[0],datasetId:e,format:n,spatialRefId:d,serviceLastEditDate:o,itemModifiedDate:s,itemType:i,authentication:r,target:h,item:w,portal:c})).catch(f=>{throw f})}function At(t){let{format:e,layerId:r,url:n,type:d,modified:h,authentication:c,portal:l}=t;return d!==R.FeatureService&&d!==R.MapService?Promise.resolve({modified:h,format:e}):st(B({url:n,authentication:c,portal:l})).then(a=>{let s=(a.layers||[]).map(i=>st(V({url:`${n}/${i.id}`,authentication:c,portal:l})));return Promise.all(s)}).then(a=>({format:Mt({format:e,layerId:r,layers:a}),modified:$t(a)}))}function Mt(t){let{format:e,layerId:r,layers:n}=t;return Ft(r,n)&&Ot(e)?`${e} Collection`:e}function Ft(t,e){return t===void 0&&e.length>1}function $t(t){return t.map(r=>{let{editingInfo:{lastEditDate:n}={}}=r;return n}).filter(r=>r!==void 0).sort((r,n)=>n-r)[0]}function Ut(t){let{cachedDownload:e,serviceLastEditDate:r,authentication:n,target:d,item:h,format:c,portal:l}=t,a=r===void 0?void 0:new Date(r).toISOString(),{created:o,id:s}=e||{},i=_t(d,r),f=Lt(h,c)?Kt(r,o,i):b.DISABLED;return e?{downloadId:s,status:f,lastEditDate:a,contentLastModified:new Date(o).toISOString(),lastModified:new Date(o).toISOString(),downloadUrl:T({host:l||n.portal,route:`content/items/${s}/data`,query:{token:n?.token}})}:{downloadId:$(t),status:f,lastEditDate:a}}function Kt(t,e,r){return e?t?t>e?r?b.STALE_LOCKED:b.STALE:b.READY:b.READY_UNKNOWN:r?b.LOCKED:b.NOT_READY}function st(t){return t.catch(e=>{if(e.name==="ArcGISAuthError")return e.retry(()=>Promise.resolve(null),1);throw e})}function Nt(t){let{host:e,datasetId:r,spatialRefId:n,format:d,geometry:h,where:c,target:l,authentication:a}=t;return!l||l==="hub"?ct({host:e,datasetId:r,format:d,spatialRefId:n,geometry:h,where:c}):kt({portal:`${e}/sharing/rest`,datasetId:r,format:d,authentication:a,spatialRefId:n,target:l})}function jt(t){let e=["Bytes","KB","MB","GB","TB"],r=t;if(r===0)return"n/a";let n=Math.floor(Math.log(r)/Math.log(1024));return n===0?[r,e[n]]:[(r/1024**n).toFixed(1),e[n]]}var Ht=`:host{font-size:1em}calcite-card div{font-size:1em}h3{font-size:1.25em}dl{font-size:inherit}dt,dd,calcite-dropdown-item{font-size:0.875em}dt{float:left;clear:left;margin-right:0.25rem}dt.ltr::after{content:':'}dd.rtl::after{content:':'}dd{margin:0px;padding:0px;margin-left:110px;margin-inline-start:0}a{vertical-align:middle}calcite-icon{margin-left:0.25rem}a:visited{color:inherit}calcite-dropdown{width:100%;--calcite-dropdown-width:100%;position:relative}calcite-dropdown-item span{color:#323232}calcite-button{width:100%}calcite-card div{width:100%}div[slot="footer-start"]{display:block}`,qt=Ht,Gt=5e3,zt={year:"numeric",month:"short",day:"numeric",hour:"numeric",minute:"numeric",hour12:!1};function it(t,e){return t==="hub"||!!e}var Bt=class{constructor(t){ot(this,t),this.hubTelemetry=A(this,"hubTelemetry",7),this.hubDownloadCardSuccess=A(this,"hubDownloadCardSuccess",7),this.contentLengthString=null,this.poller=null,this.loading=void 0,this.metadata=void 0,this.exportRequested=!1,this.apiError=void 0,this.host=void 0,this.datasetId=void 0,this.format=void 0,this.name=void 0,this.target="hub",this.spatialRefId="4326",this.where=void 0,this.geometry=void 0,this.filename=void 0,this.username=void 0,this.token=void 0,N(this,"exportDatasetComplete","exportDatasetError","exportPollingError","download","downloadKeyDown","exportDataset","exportDatasetKeyDown")}async componentWillLoad(){this.resetUndefinedProps(),await this.setLocalization(),this.setAuthentication(),await this.fetchMetadataAndSetState(),this.setTranslations()}buildDownloadTelemetry({isSuccess:t=!0,isCached:e=!0}={}){return Object.assign(Object.assign({},e?D.dictionary.category.interaction.action.download.details.cache:D.dictionary.category.interaction.action.download.details.export),{label:this.format,response:t?D.constants.response.SUCCESS:D.constants.response.FAILURE})}resetUndefinedProps(){["spatialRefId","where","geometry","filename","target"].forEach(t=>{this[t]=this[t]==="undefined"?void 0:this[t]}),this.spatialRefId||(this.spatialRefId="4326")}async setLocalization(){this.intl=await K.loadIntlForComponent(this.element),this.dateTimeFormatter=new Intl.DateTimeFormat(this.intl.locale,zt),this.setLabels()}setLabels(){let t=["buttonDownload","fileCreated","fileSize","buttonOptions","menuRequest"];this.labels=t.reduce((e,r)=>(e[r]=this.intl.t(r),e),{})}setAuthentication(){this.username&&this.token&&(this.authentication=new U({username:this.username,portal:`${this.host}/sharing/rest`,token:this.token}),this.authentication.getToken=()=>new Promise(t=>{t(this.token)}))}setTranslations(){this.setContentLengthString()}setContentLengthString(){let{metadata:{contentLength:t}={}}=this;if(t){let e=jt(t);this.contentLengthString=typeof e=="string"?this.intl.t(e.toLowerCase()):`${e[0]} ${this.intl.t(e[1].toLowerCase())}`}}async watchHandler(){this.resetUndefinedProps(),await this.fetchMetadataAndSetState()}async disconnectedCallback(){this.resetUndefinedProps(),this.poller&&this.poller.disablePoll()}async fetchMetadataAndSetState(){this.poller&&this.poller.disablePoll();let t=this.getServiceParams();try{this.metadata=await Nt(t),this.pollingEvent=new pt,this.exportInProgress()&&this.poll()}catch(e){this.apiError=e}}getServiceParams(){let t={host:this.host,datasetId:this.datasetId,format:this.format,target:this.target,authentication:this.authentication,spatialRefId:this.spatialRefId};return this.where&&(t.where=this.where),this.geometry&&(t.geometry=this.geometry),t}poll(){let t=this.getServiceParams();this.pollingEvent.on(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.on(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.on(`${this.metadata.downloadId}PollingError`,this.exportPollingError),this.poller=Tt(Object.assign(Object.assign({},t),{downloadId:this.metadata.downloadId,jobId:this.metadata.jobId,exportCreated:this.metadata.exportCreated,eventEmitter:this.pollingEvent,pollingInterval:Gt,existingFileDate:new Date(this.metadata.lastModified||0).toISOString()}))}async download(){if(this.metadata&&this.metadata.downloadUrl)try{let t=this.transferFile(this.metadata.downloadUrl);return this.hubTelemetry.emit(this.buildDownloadTelemetry()),this.hubDownloadCardSuccess.emit(),t}catch(t){throw this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1})),t}return await this.exportDataset()}transferFile(t){return this.format==="Feature Collection"?window.open(t):j(t)}async exportDataset(){this.exportRequested=!0,this.metadata.status=this.downloadCached()?"updating":"creating";let t=Object.assign({title:this.filename},this.getServiceParams());try{let e=await bt(t);this.metadata=Object.assign(Object.assign({},this.metadata),e),this.poll()}catch(e){this.apiError=e,this.metadata.status="error",this.metadata.errors=[e]}}exportDatasetComplete(t){if(this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isCached:!1})),this.hubDownloadCardSuccess.emit(),this.exportRequested){let{downloadUrl:e}=this.metadata;if(e)return this.transferFile(e)}}exportDatasetError(t){this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportPollingError(t){this.apiError=t.detail.error,this.exportDatasetHandler(t),this.hubTelemetry.emit(this.buildDownloadTelemetry({isSuccess:!1,isCached:!1}))}exportDatasetHandler(t){this.metadata=Object.assign(Object.assign({},this.metadata),t.detail.metadata),this.pollingEvent.off(`${this.metadata.downloadId}ExportComplete`,this.exportDatasetComplete),this.pollingEvent.off(`${this.metadata.downloadId}ExportError`,this.exportDatasetError),this.pollingEvent.off(`${this.metadata.downloadId}PollingError`,this.exportDatasetError)}renderNotice(){let{metadata:t,apiError:e,exportRequested:r}=this,{status:n}=t||{},d=n;n==="locked"?d="not_ready":n==="stale_locked"&&(d="stale");let h=e?e.status||e.message:void 0;return m("hub-download-notice",{"api-error":h,"cannot-export":!it(this.target,this.username),"export-requested":r,"file-status":d})}exportInProgress(){let{metadata:{status:t}={}}=this;return t==="creating"||t==="updating"}downloadCached(){let{metadata:{status:t}={}}=this;return["ready","ready_unknown","stale","stale_locked","updating","error_updating"].includes(t)}downloadUpToDate(){return this.metadata&&this.metadata.status==="ready"}isFormatDownloadDisabled(){return this.metadata&&this.metadata.status==="disabled"}renderFileDescription(){let t=[],{metadata:{lastModified:e}={}}=this;return this.downloadCached()?(e&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.dateTimeFormatter.format(new Date(e))),m("dd",{class:"rtl"},this.labels.fileCreated)):t.push(m("dt",{class:"ltr"},this.labels.fileCreated),m("dd",null,this.dateTimeFormatter.format(new Date(e))))),this.contentLengthString&&(this.intl.direction==="rtl"?t.push(m("dt",null,this.contentLengthString),m("dd",{class:"rtl"},this.labels.fileSize)):t.push(m("dt",{class:"ltr"},this.labels.fileSize),m("dd",null,this.contentLengthString))),t):null}exportDatasetKeyDown(t){["Enter"," "].includes(t.key)&&this.exportDataset()}downloadKeyDown(t){["Enter"," "].includes(t.key)&&this.download()}renderDownloadControl(){return this.shouldUseDownloadButton()?m("calcite-button",{appearance:"solid",color:"blue",disabled:this.shouldDisableDownload(),"icon-position":"start",onClick:this.download,scale:"m",width:"full"},this.labels.buttonDownload):m("calcite-dropdown",{open:!1,placement:"top",scale:"m",type:"click"},m("calcite-button",{appearance:"solid",color:"blue","icon-end":"caretUp",scale:"m",slot:"trigger"},this.labels.buttonOptions),m("calcite-dropdown-group",{"selection-mode":"none"},m("calcite-dropdown-item",{hidden:this.exportInProgress(),onClick:this.exportDataset,onKeyDown:this.exportDatasetKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.labels.menuRequest)),m("calcite-dropdown-item",{onClick:this.download,onKeyDown:this.downloadKeyDown,role:"menuitem","selection-mode":"none",tabindex:"0"},m("span",null,this.intl.t("menuDownload",{createdDate:this.dateTimeFormatter.format(new Date(this.metadata.lastModified))})))))}shouldUseDownloadButton(){return this.downloadUpToDate()||!this.downloadCached()||this.isFormatDownloadDisabled()||!it(this.target,this.username)}shouldDisableDownload(){return this.isFormatDownloadDisabled()||this.exportInProgress()&&!this.downloadCached()}render(){return m(rt,{key:"7bdf71eb74bfc58f41207d66486f451665953c2e","data-element":"download-card"},m("calcite-card",{key:"26c771ef86687e629a04f8e17a23c785d1b95965",dir:this.intl.direction},m("h3",{key:"0a5d94589614f5b61eb738111ea00e1db45489cd",slot:"title"},this.name),m("dl",{key:"eab178e4d5b2d5a2cd56d01106e38c341fc74c8b",slot:"subtitle"},this.renderFileDescription()),m("div",{key:"12843da8e9e9b8881b359086366c86cff78182b7",slot:"footer-start"},this.renderNotice(),this.renderDownloadControl())))}static get assetsDirs(){return["locales"]}get element(){return nt(this)}static get watchers(){return{host:["watchHandler"],datasetId:["watchHandler"],format:["watchHandler"],spatialRefId:["watchHandler"],where:["watchHandler"],geometry:["watchHandler"],target:["watchHandler"],username:["watchHandler"],token:["watchHandler"]}}};Bt.style=qt;return Bt},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- var n=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function a(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function u(e){if(e.__esModule)return e;var o=Object.defineProperty({},"__esModule",{value:!0});return Object.keys(e).forEach(function(t){var r=Object.getOwnPropertyDescriptor(e,t);Object.defineProperty(o,t,r.get?r:{enumerable:!0,get:function(){return e[t]}})}),o}export{n as a,a as b,u as c};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- function t(e){return e.target.assignedElements({flatten:!0})}var n=(e="")=>e.replace(/\n/g,"<br>");export{t as a,n as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import"./PQIJDMDJ.js";var e={percent:"Porcentaje",values:"Valores",standardizedValues:"Valores estandarizados",count:"Recuento",aggregationOfValues:"${ aggregation } de valores",aggregationOfFieldName:"${ aggregation } de ${ fieldName }"},i={aggrFieldsByCategory:"${ aggregationFields } por ${ category }",aggrTypeCategory:"${ aggregationType } por ${ category }",aggrTypeCategoryBySplitBy:"${ aggregationType } por ${ category } por ${ splitByField }",aggrTypeOfAggrFields:"${ aggregationType } de ${ aggregationFields }",aggrTypeOfAggrFieldByCategoryBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ category } por ${ splitByField }",aggrTypeOfAggrFieldsByCategory:"${ aggregationType } de ${ aggregationFields } por ${ category }",aggrFieldsByXAxisField:"${ aggregationFields } por ${ xAxisField }",aggrTypeXAxisField:"${ aggregationType } por ${ xAxisField }",aggrTypeXAxisFieldBySplitBy:"${ aggregationType } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldByXAxisFieldBySplitByField:"${ aggregationType } de ${ aggregationField } por ${ xAxisField } por ${ splitByField }",aggrTypeOfAggrFieldsByXAxisField:"${ aggregationType } de ${ aggregationFields } por ${ xAxisField }",distributionOfField:"Distribuci\xF3n de ${ valueField }",distributionOfFields:"Distribuci\xF3n de ${ valueFields }",distributionOfFieldsByCategory:"Distribuci\xF3n de ${ valueFields } por ${ category }",distributionOfFieldsByCategoryAndSplitBy:"Distribuci\xF3n de ${ valueFields } por ${ category } y ${ splitByField }",xAndY:"${ x } y ${ y }"},a={barChart:"Gr\xE1fico de barras",lineChart:"Gr\xE1fico de l\xEDneas",pieChart:"Gr\xE1fico circular",histogram:"Histograma",scatterplot:"Gr\xE1fico de dispersi\xF3n"},g={axisLabels:e,titleLabels:i,chartType:a};export{e as axisLabels,a as chartType,g as default,i as titleLabels};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as n}from"./VS76VAWI.js";import{b as c}from"./BMSTFCLU.js";import{a as d}from"./MBNTFPVY.js";import{a as o}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{a as s}from"./JOCSBXYM.js";import"./BFVDRNL6.js";import{b as i,c as g,d as m,e as l,i as u}from"./4JOOF6WA.js";import"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";var p=".image-wrapper{display:flex;flex-direction:column;align-items:flex-end;gap:.625rem;}.image-wrapper img{max-width:21.25rem;width:100%;height:auto;margin:auto;object-fit:cover}.image-wrapper calcite-button{height:2rem;padding-left:1rem}.image-source-segmented-control{margin-bottom:1rem}",f=p,v=class{constructor(e){u(this,e),this.arcgisConfigurationEditorFieldInputChange=l(this,"arcgisConfigurationEditorFieldInputChange",7),this.hubTelemetry=l(this,"hubTelemetry",7),this.params=void 0,this.styles=void 0,this.imgSrc=void 0,this.isEditing=!1,this.currentSource=void 0,d(this,"clearSrc","handleArcgisInputImageUploadSave","handleArcgisInputImageUrlSave","handleArcgisInputImageUploadSave","handleCalciteSegmentedControlChange")}get sizeDescription(){return c(this.params.uiSchema,this.params.t,"options.sizeDescription")}get defaultHostStyles(){return{display:"flex","flex-direction":"column",gap:".625rem"}}async componentWillLoad(){var e,a;let r=(e=this.params.uiSchema)!==null&&e!==void 0?e:{options:null},{options:t}=r;this.intl=await o.loadIntlForComponent(this.element),t?.defaultImgUrl&&(this.defaultImg=t?.defaultImgUrl),t?.imgSrc?this.imgSrc=t?.imgSrc:t?.defaultImgUrl&&(this.imgSrc=t?.defaultImgUrl),this.sources=!((a=t?.sources)===null||a===void 0)&&a.length?t.sources.filter(h=>Object.values(n).includes(h)):[n.UPLOAD],this.currentSource=this.sources[0]}handleArcgisInputImageUploadSave(e){this.isEditing=!0,this.imgSrc=e.detail.base64,this.arcgisConfigurationEditorFieldInputChange.emit(e.detail)}handleArcgisInputImageUrlSave(e){this.isEditing=!0,this.imgSrc=e.detail.url,this.arcgisConfigurationEditorFieldInputChange.emit(e.detail)}clearSrc(){this.isEditing=!1,this.imgSrc===this.defaultImg?this.imgSrc=void 0:(this.imgSrc=void 0,this.arcgisConfigurationEditorFieldInputChange.emit({source:void 0,blob:void 0,base64:void 0,fileName:void 0,format:void 0,url:void 0}),this.hubTelemetry.emit(s.dictionary.category.interaction.action.remove.label.image))}onCalciteItemDropdownSelect(e){var a,r;let t=(r=(a=e.target)===null||a===void 0?void 0:a.dataset)===null||r===void 0?void 0:r.value;this.clearSrc(),t==="reset"&&(this.imgSrc=this.defaultImg)}handleCalciteSegmentedControlChange(e){this.currentSource=e.target.value}renderButton(){let e;return this.defaultImg&&this.defaultImg===this.imgSrc?e=i("calcite-button",{appearance:"outline",label:this.intl.t("set"),onClick:this.clearSrc,round:!0},this.intl.t("set")):this.defaultImg&&this.defaultImg!==this.imgSrc?e=i("calcite-dropdown",null,i("calcite-button",{appearance:"transparent","icon-end":"caret-down",slot:"trigger"},this.intl.t("remove")),i("calcite-dropdown-group",null,i("calcite-dropdown-item",{"data-value":"reset"},this.intl.t("reset")),i("calcite-dropdown-item",{"data-value":"upload"},this.intl.t("upload")))):e=i("calcite-button",{appearance:"outline",iconStart:"trash",label:this.intl.t("delete"),onClick:this.clearSrc}),e}renderImagePicker(e){return this.currentSource===n.URL?i("arcgis-hub-image-url",{onArcgisImageUrlSave:this.handleArcgisInputImageUrlSave}):i("arcgis-hub-image-upload",{aspectRatio:e?.aspectRatio,fillBackground:e?.fillBackground,height:e?.height,inline:!0,maxHeight:e?.maxHeight,maxWidth:e?.maxWidth,onArcgisImageUploadSave:this.handleArcgisInputImageUploadSave,sizeDescription:this.sizeDescription})}render(){var e;let a=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options;return i(g,{key:"2ecbe196e9d099e766ece60b3f45cd3ef5b8f6be","data-element":"image-picker-field",style:Object.assign(Object.assign({},this.styles),this.defaultHostStyles)},a.notice&&i("arcgis-hub-notice",{noticeId:a.notice}),!this.isEditing&&this.imgSrc?i("div",{class:"image-wrapper"},i("img",{alt:"",src:this.imgSrc,style:{aspectRatio:a.aspectRatio}}),this.renderButton()):i("div",null,this.sources.length>1&&i("calcite-segmented-control",{class:"image-source-segmented-control",onCalciteSegmentedControlChange:this.handleCalciteSegmentedControlChange},this.sources.map(r=>i("calcite-segmented-control-item",{checked:r===this.currentSource,key:r,value:r},this.intl.t(`sources.${r}`)))),this.renderImagePicker(a)))}static get assetsDirs(){return["locales"]}get element(){return m(this)}};v.style=f;export{v as hub_field_input_image_picker};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{c as a}from"./DV3COJJB.js";import{b as c}from"./GLRI4XFT.js";import{b as r}from"./4JOOF6WA.js";export default $arcgis.t(([])=>{var G={extent:"default"},l=a.polygon.color,p={type:"simple-fill",color:[...l,.005],style:"solid",outline:{color:l,width:1}},y={type:"simple-marker",style:"circle",color:[...l,.5],size:"8px",outline:{color:l,width:1}},f={type:"simple-line",color:l,width:"2px",style:"solid"},R=t=>{let o;switch(t){case"point":o=y;break;case"polyline":o=f;break;default:o=p}return o},m={color:"#00ffff",haloOpacity:.8,fillOpacity:0},h={color:"#00ffff",haloOpacity:.8,fillOpacity:.15},w=t=>t==="hover"?m:h,u={type:"extent",xmin:-200375083427892e-7,ymin:-200375083427892e-7,xmax:200375083427892e-7,ymax:200375083427892e-7,spatialReference:{wkid:102100}},C=t=>{t.constraints.minZoom=2,t.constraints.geometry=u},O=t=>c(t.extent),N=(t,o,n=O)=>{if((t.type==="point"||t.type==="polyline")&&(o.type==="point"||o.type==="polyline"))return 0;if(t.type==="point"||t.type==="polyline")return 1;if(o.type==="point"||o.type==="polyline")return-1;try{let e=Math.abs(n(t)),i=Math.abs(n(o));if(e<i)return 1;if(e>i)return-1;if(e===i)return 0}catch{return 0}},A=t=>{t.closePopup()},D=({checked:t,class:o,ref:n,label:e,onChange:i,scale:s="m"})=>r("div",{class:o,ref:n},r("calcite-label",{class:"checkbox-label",layout:"inline",scale:s},r("calcite-checkbox",{checked:t,onCalciteCheckboxChange:i,scale:s}),e));return{a:G,b:R,c:w,d:C,e:N,f:A,g:D}},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as o}from"./HXGTCRIK.js";var b=(e,l,t,g,a)=>{let{[t]:n,[g]:r}=(a?o(e,a):e)||{},s=n;return r&&(s=l(r)),s},c=(e,l,t)=>b(e,l,"label","labelKey",t);export{b as a,c as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as o}from"./G2NO2B2R.js";import{a as r}from"./HXGTCRIK.js";function c(e){let s=["Feature Service","Map Service"].includes(e.type)&&/\/\d+$/.test(e.url),a=r(e,"extendedProps.server.layers.length")===1,n=o(e);return s||a||n}export{c as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as D}from"./6DANOR3L.js";import"./FRKOTY2O.js";import c from"./PHHVD3BA.js";import{b as V,i as M,j as R}from"./GCK4QOCN.js";import"./HMMZN5NL.js";import"./2UEVASKF.js";import"./CFM5ADMI.js";import"./ZGXPZ4WC.js";import"./CU2C3XHB.js";import"./Q5FJFSV2.js";import"./XZP5UJQ7.js";import"./D7AFAUQN.js";import"./SAJ76IOF.js";import"./EQBC3T3H.js";import"./3HFVBFLE.js";import"./ZWUVB24W.js";import"./FPY3ND7L.js";import"./7VTPJ74Q.js";import"./T5ZYYQXM.js";import"./LRQBSIJQ.js";import"./YGVSQOA2.js";import"./YMLEPRVQ.js";import"./GLRI4XFT.js";import{a as g,b}from"./MQ5DW3CA.js";import"./TKINC2YX.js";import{b as E}from"./SS5THVJY.js";import{C as v,I as k,a as T,d,p as S}from"./H2AQFQ6W.js";import"./XSCGY6R6.js";import"./KEPHYMMN.js";import"./QBJ6ALCR.js";import"./PCHLCJBU.js";import"./ZOT2CBOT.js";import"./VZ7IOYUY.js";import"./6SBLPFVP.js";import"./DNGAJCEJ.js";import"./OZPNCFKF.js";import"./HZDGEANK.js";import"./RWX7KHPR.js";import a from"./4EVULSKN.js";import"./T35HMGWF.js";import"./PI5JFJYI.js";import"./44ZPUBHK.js";import"./HZDEDJAA.js";import"./IUNJR6B2.js";import"./WVGJA2BO.js";import"./ADSOTXLX.js";import"./Q5ZKK74I.js";import"./I2FW4TKD.js";import"./NR6654T3.js";import"./UX4VYBBP.js";import"./5UBBGG47.js";import"./J2Z3H7KN.js";import"./L77FEMIJ.js";import"./662ASTW3.js";import"./Y3JSZUIT.js";import"./7UM2JUNG.js";import"./G7MKMNLH.js";import"./KGN6JUG7.js";import"./WREW2VMB.js";import"./BT773XGO.js";import"./ZFKEPLPZ.js";import"./MBDXMRMB.js";import"./NJV2IIEX.js";import"./7DAOPALD.js";import"./VUS5HDIX.js";import"./A7L4ED6V.js";import"./SNXQZUGV.js";import"./VFYZQF3P.js";import"./N2PDDBPH.js";import"./DXU52RUQ.js";import"./7CWAKRWQ.js";import"./NNOVHCKQ.js";import"./CW5BKG7K.js";import"./X3BMFKXF.js";import"./4H6LJFQS.js";import"./36KWNN3Y.js";import"./UM4H5BN3.js";import"./5U43IXKQ.js";import"./DTDF6Y6R.js";import"./T54XA7XS.js";import"./5Y2CNX4M.js";import"./UI23XBKS.js";import"./PJLPTEGG.js";import"./K3U2NSRE.js";import"./5AR4R7B7.js";import"./W26L6553.js";import"./3LJEHD46.js";import"./UOFWMMF6.js";import"./BRB4T4JN.js";import"./QXAEAYSC.js";import"./Z2WRG3CZ.js";import"./UR7KVMUO.js";import"./7UPHPYDK.js";import"./LU7V3XFD.js";import"./MP3X2RCP.js";import"./62IVG53J.js";import"./2UPXNQGO.js";import"./DUZQHVD5.js";import"./4KCUYLHK.js";import"./67YHG7DB.js";import"./XJDMZCDS.js";import"./NJNAL3B7.js";import"./J373NRPJ.js";import"./DLD46EDJ.js";import"./C7SUKHGV.js";import"./MBIUEXEB.js";import"./GM2ICPLX.js";import"./VVGLJLE7.js";import"./UTSPTHEW.js";import"./XOTNANB5.js";import"./4JCVWOVQ.js";import"./XN6NZYLJ.js";import"./BQBPUMIH.js";import"./FIQZB2Z7.js";import"./FKT55K7U.js";import"./X7AGLYO7.js";import"./SLMXJ5YL.js";import"./CVF6DB4C.js";import"./YLA62NZR.js";import"./4UOSKPDF.js";import"./GTNBV3BK.js";import"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import"./JOCSBXYM.js";import"./BFVDRNL6.js";import"./4JOOF6WA.js";import"./CF7CVKAA.js";import"./PXO5YC5X.js";import"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";export default $arcgis.t(([P,q])=>{async function B(s){let{skillId:t,message:e,context:i,token:a,conversationId:o,apiUrl:r="https://api.example.com",pauseMs:c=1e3,retries:p=3}=s,y={Authorization:`Bearer ${a}`,Accept:"application/json","Content-Type":"application/json"},w=`${r}/skills/${t}/chat`,_={message:e,context:i};o&&(_.conversationId=o);try{let l=await fetch(w,{method:"POST",headers:y,body:JSON.stringify(_)});if(!l.ok)throw new Error(`HTTP error! status: ${l.status}`);let n=await l.json(),A=o??n.conversationId,L=n.inquiryId,I=n.hasMore||n.message==null,$=n.sequenceNumber,m=[];n.message&&m.push(n);let x=0;for(;I&&x<p;){await new Promise(C=>setTimeout(C,c));let u=await fetch(w,{method:"POST",headers:y,body:JSON.stringify({conversationId:A,inquiryId:L,ackSequenceNumber:$})});if(!u.ok)throw new Error(`HTTP error! status: ${u.status}`);let h=await u.json();h.message&&m.push(h),I=h.hasMore,h.message!=null&&($+=1),x++}return m}catch(l){return console.error("Error during request:",l),[]}}async function z({message:s,context:t,token:e,conversationId:i,apiUrl:a="https://hub.arcgis.com/api/assistants/v1",pauseMs:o=1e3,retries:r=50}){return await B({skillId:"finder",message:s,context:t,token:e,conversationId:i??void 0,apiUrl:a,pauseMs:o,retries:r})}var F=s=>{if(s?.length!==2||s[0].length!==2||s[1].length!==2)return"0, 0";let t=s[0][0],e=s[0][1],i=s[1][0],a=(s[1][1]+e)/2,o=(i+t)/2;return`${a}, ${o}`},G=s=>{if(s?.length!==2||s[0].length!==2||s[1].length!==2)return 1;let t=s[0][0],e=s[0][1],i=s[1][0],a=s[1][1],o=Math.abs(i-t),r=Math.abs(a-e),c=Math.log2(360/o),p=Math.log2(180/r);return Math.floor(Math.min(c,p))+2},H=T`@layer{arcgis-hub-ai-assistant{arcgis-feature-table{height:300px}esri-feature-table{height:300px}}}`,U={language:"en",defaultSuggestions:["What can I do with this assistant?"],personality:"You are writing for a government websites readable by 8th graders."};function N(s){return s.replace("http://","").replace("https://","").split(/[/?#]/u)[0]}async function j(s,t,e){try{let[i,a]=await Promise.all([M(s,{authentication:t,portal:e}),R(s,{authentication:t,portal:e})]);return{...U,title:i.title,description:a.assistant?.description,extent:i.extent,personality:a.assistant?.personality,hub:N(i.url),location:a.assistant?.location??"",defaultSuggestions:a.assistant?.examplePrompts??U.defaultSuggestions,context:"",allowChat:!1,showHeader:!1,entityId:"",tools:[]}}catch(i){throw console.error("Error fetching configuration:",i),i}}var f=class extends v{constructor(){super(...arguments),this.disconnectContext=()=>{},this._messages=E({blocking:!0}),this._mapView=null,this._featureTable=g(),this._mapElRef=g(),this.handleArcGISDataClick=t=>{let e=t.detail.data.id;if(this.mapVisible=!0,this.mapShowTable=!0,!this._mapView?.map?.findLayerById(e)){let i=new q({id:e,portal:{url:this._context.portalUrl}});P.fromPortalItem({portalItem:i}).then(a=>{this._mapView?.map?.add(a),this.mapLayers.push(e),a.id=e,this._featureTable.value&&(this._featureTable.value.layer=a,this._layers=[...this._layers,a],this._featureTable.value.layers=this._layers)}).catch(a=>{console.debug("could not add layer:",a)})}},this.handleArcGISLocationClick=t=>{let e=t.detail;e.longitude&&e.latitude&&e.zoom&&(this.mapVisible=!0,this._mapView?.goTo({center:[e.longitude,e.latitude],zoom:e.zoom}))},this.handleFinderResponse=async(t,e)=>{let i=await z({message:t,conversationId:e,context:{kind:"FinderRequest",item:this.itemId??void 0},token:V(this._context,"session.token",""),apiUrl:this.apiUrl});if(i.length===0)throw new Error("Finder response is empty or invalid");return i},this.handleUpdateMapVisibility=t=>{this.mapVisible=t.detail},this._mapReady=t=>{let{view:e,viewElement:i}=t.detail;this._mapView=e,this._mapRef=i},this.assistantsEnabled=!1,this._context=D(this),this.mapEnabled=!0,this.mapVisible=!1,this.itemId=null,this.apiUrl="/api/assistants/v1",this.botTitle=void 0,this.extent=[[-77.119,38.791],[-76.909,38.995]],this.mapLayers=[],this._layers=[],this.mapShowTable=!0,this.mapBasemap="gray-vector",this.location="USA",this.hub="https://hub.arcgis.com",this.entityId=null,this.context=null,this.language=void 0,this.botDescription=void 0,this.defaultSuggestions=["What are some common datasets?"]}static{this.properties={assistantsEnabled:16,_mapRef:16,_context:16,mapEnabled:5,mapVisible:5,itemId:1,apiUrl:1,botTitle:1,extent:0,mapLayers:0,_layers:0,mapShowTable:5,mapBasemap:1,location:1,hub:1,entityId:1,context:1,language:1,botDescription:1,defaultSuggestions:0}}static{this.shadowRootOptions=S}static{this.styles=H}get _botTitle(){return this.botTitle||this._messages.defaultBotTitle}get _botDescription(){return this.botDescription||this._messages.defaultBotDescription}async load(){if(this.itemId){let t=await j(this.itemId,this._context.session,`${this._context.portalUrl}/sharing/rest`);this.botTitle=t.title,this.botDescription=t.description?t.description:"",this.hub=t.hub,this.location=t.location,this.extent=t.extent,this.defaultSuggestions=t.defaultSuggestions}}render(){return d`<arcgis-chat-shell .aboutContent=${this._botDescription} .mapEnabled=${this.mapEnabled} .mapVisible=${this.mapEnabled&&this.mapVisible} @arcgisUpdateMapVisibility=${this.handleUpdateMapVisibility}><arcgis-chat-ui .ariaLabel=${this._messages.aria.chat} .botDescription=${this._botDescription} .botTitle=${this._botTitle} .defaultSuggestions=${this.defaultSuggestions} slot=leftPanel .getFinderResponse=${this.handleFinderResponse} @arcgisAddDataClick=${this.handleArcGISDataClick} @arcgisLocationClick=${this.handleArcGISLocationClick} .domain=${this.hub}></arcgis-chat-ui><arcgis-hub-map-view .ariaLabel=${this._messages.aria.map} slot=map .location=${`${F(this.extent)},${G(this.extent)}`} mouse-wheel=zoom legend search layer-list @arcgisHubMapViewReady=${this._mapReady} ${b(this._mapElRef)}></arcgis-hub-map-view>${this.mapShowTable&&d`<arcgis-feature-table .ariaLabel=${this._messages.aria.featureTable} .referenceElement=${this._mapRef} slot=featureTable show-layer-dropdown ${b(this._featureTable)}></arcgis-feature-table>`||""}</arcgis-chat-shell>`}};k("arcgis-hub-ai-assistant",f);return f},"layers/Layer","portal/PortalItem",a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{c as E}from"./ZLEVX3F6.js";function A(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.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 _(e){let t={};return Object.keys(e).forEach(n=>{var s,c;let r=e[n];if(r&&r.toParam&&(r=r.toParam()),!r&&r!==0&&typeof r!="boolean"&&typeof r!="string")return;let o=r.constructor.name,i;switch(o){case"Array":let f=(c=(s=r[0])===null||s===void 0?void 0:s.constructor)===null||c===void 0?void 0:c.name;i=f==="Array"?r:f==="Object"?JSON.stringify(r):r.join(",");break;case"Object":i=JSON.stringify(r);break;case"Date":i=r.valueOf();break;case"Function":i=null;break;case"Boolean":i=r+"";break;default:i=r;break}(i||i===0||typeof i=="string"||Array.isArray(i))&&(t[n]=i)}),t}function D(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>D(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function C(e){let t=_(e);return Object.keys(t).map(n=>D(n,t[n])).join("&")}var I={FormData:globalThis.FormData,File:globalThis.File,Blob:globalThis.Blob};function q(e,t){let n=A(e)||t,s=_(e);if(n){let c=new I.FormData;return Object.keys(s).forEach(r=>{if(typeof Blob<"u"&&s[r]instanceof Blob){let o=s.fileName||s[r].name||r;c.append(r,s[r],o)}else c.append(r,s[r])}),c}else return C(e)}var d=class extends Error{constructor(t,n,s,c,r){super(t);let o=new.target.prototype;Object.setPrototypeOf(this,o),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=s,this.url=c,this.options=r}},F={noCorsDomains:[],crossOriginNoCorsDomains:{},pendingNoCorsRequests:{}},N="ARCGIS_REST_JS_NO_CORS";globalThis[N]||(globalThis[N]=Object.assign({},F));var u=globalThis[N];function x(e){let t=new URL(e);e=t.origin+t.pathname,t.search.includes("f=json")&&(e+="?f=json");let n=t.origin;return u.pendingNoCorsRequests[n]||(u.pendingNoCorsRequests[n]=fetch(e,{mode:"no-cors",credentials:"include",cache:"no-store"}).then(s=>{u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n),u.crossOriginNoCorsDomains[n.toLowerCase()]=Date.now(),delete u.pendingNoCorsRequests[n]}).catch(s=>(delete u.pendingNoCorsRequests[n],Promise.reject(new Error(`no-cors request to ${n} failed`))))),u.pendingNoCorsRequests[n]}function L(e){e.forEach(t=>{t=t.toLowerCase(),/^https?:\/\//.test(t)?w(t):(w("http://"+t),w("https://"+t))})}function w(e){let n=new URL(e).origin;u.noCorsDomains.indexOf(n)===-1&&u.noCorsDomains.push(n)}function S(e){let t=!1;if(u.noCorsDomains.length){let n=new URL(e).origin.toLowerCase();t=u.noCorsDomains.some(s=>n.includes(s))}return t}function k(e){let t=!1;if(S(e)){let n=new URL(e).origin.toLowerCase(),s=u.crossOriginNoCorsDomains[n]||0;Date.now()-60*6e4>s&&(t=!0)}return t}function v(e){console&&console.warn&&console.warn.apply(console,[e])}var G=function(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.request})};function W(e,t){var n;if(!t&&!window||!e)return!1;{t=t||window;let s=(n=t.location)===null||n===void 0?void 0:n.origin;return e.startsWith(s)}}var $="@esri/arcgis-rest-js";function M(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var R=class extends d{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",s,c,r){super(t,n,s,c,r),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let o=new.target.prototype;Object.setPrototypeOf(this,o)}retry(t,n=1){let s=0,c=(r,o)=>{s=s+1,t(this.url,this.options).then(i=>{let f=Object.assign(Object.assign({},this.options),{authentication:i});return j(this.url,f)}).then(i=>{r(i)}).catch(i=>{i.name==="ArcGISAuthError"&&s<n?c(r,o):i.name===this.name&&i.message===this.message&&s>=n?o(this):o(i)})};return new Promise((r,o)=>{c(r,o)})}};function B(e,t,n,s,c){if(e.code>=400){let{message:r,code:o}=e;throw new d(r,o,e,t,s)}if(e.error){let{message:r,code:o,messageCode:i}=e.error,f=i||o||"UNKNOWN_ERROR_CODE";throw o===498||o===499?c||new R(r,f,e,t,s):new d(r,f,e,t,s)}if(e.status==="failed"||e.status==="failure"){let r,o="UNKNOWN_ERROR_CODE";try{r=JSON.parse(e.statusMessage).message,o=JSON.parse(e.statusMessage).code}catch{r=e.statusMessage||e.message}throw new d(r,o,e,t,s)}return e}function j(e,t){let n=M(),s=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:c,rawResponse:r}=s,o=Object.assign({f:"json"},s.params),i=null,f={method:c,signal:s.signal,credentials:s.credentials||"same-origin"};S(e)&&(f.credentials="include"),s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let g;if(typeof s.authentication=="string"){let a=s.authentication;g={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(a)},!s.authentication.startsWith("AAPK")&&!s.authentication.startsWith("AATK")&&!s.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(v("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 g=s.authentication;let y=e,p=!1;typeof window<"u"&&(p=W(e));let P=!p&&k(e);s.headers&&s.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(f.credentials="include");let b=Promise.resolve();return P&&(f.credentials="include",b=x(e)),b.then(()=>g?g.getToken(e).catch(a=>(a.url=e,a.options=s,i=a,Promise.resolve(""))):Promise.resolve("")).then(a=>{a.length&&(o.token=a),g&&g.getDomainCredentials&&(f.credentials=g.getDomainCredentials(e));let l={};if(f.method==="GET"){o.token&&s.hideToken&&typeof window>"u"&&(l["X-Esri-Authorization"]=`Bearer ${o.token}`,delete o.token);let O=C(o)===""?e:e+"?"+C(o);s.maxUrlLength&&O.length>s.maxUrlLength||!s.maxUrlLength&&O.length>2e3||o.token&&s.hideToken?(f.method="POST",a.length&&s.hideToken&&(o.token=a,delete l["X-Esri-Authorization"])):e=O}let h=new RegExp("/items/.+/updateResources").test(e);return f.method==="POST"&&(f.body=q(o,h)),f.headers=Object.assign(Object.assign({},l),s.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!f.headers.referer&&(f.headers.referer=$),!A(o)&&!h&&(f.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,f):G().then(({fetch:m})=>m(e,f))}).then(a=>{if(!a.ok)return a.json().then(l=>{let{status:h,statusText:m}=a,{message:O,details:T}=l.error,U=`${O}. ${T?T.join(" "):""}`.trim();throw new d(U,`HTTP ${h} ${m}`,l,e,s)}).catch(l=>{if(l.name==="ArcGISRequestError")throw l;let{status:h,statusText:m}=a;throw new d(m,`HTTP ${h}`,a,e,s)});if(r)return a;switch(o.f){case"json":return a.json();case"geojson":return a.json();case"html":return a.text();case"text":return a.text();default:return a.blob()}}).then(a=>{if((o.f==="json"||o.f==="geojson")&&!r){let l=B(a,y,o,s,i);if(a&&/\/sharing\/rest\/(accounts|portals)\/self/i.test(e)&&Array.isArray(a.authorizedCrossOriginNoCorsDomains)&&L(a.authorizedCrossOriginNoCorsDomains),i){let h=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];s.authentication.federatedServers[h]={token:[],expires:new Date(Date.now()+86400*1e3)},i=null}return l}else return a})}function K(e,t={params:{f:"json"}}){let{request:n}=t,s=E(t,["request"]);return n?n(e,s):j(e,s).catch(c=>c instanceof R&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?c.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(c))}export{C as a,d as b,x as c,k as d,v as e,$ as f,R as g,K as h};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- function i(n,e){return n.indexOf(e)!==-1}export{i as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- var E;(function(r){r.READ="read",r.WRITE="write",r.READWRITE="readWrite",r.MODERATE="moderate",r.MANAGE="manage",r.OWNER="owner"})(E||(E={}));export{E as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as ot}from"./BN3H7WEO.js";import{e as at}from"./5LPZE2JA.js";import{b as h}from"./G2NO2B2R.js";import{a as I,b as C,c as Q,e as W,f as Z,g as P,h as q,i as tt,j as et,l as M,m as _}from"./UX4VYBBP.js";import{a as Y}from"./5UBBGG47.js";import{f as D}from"./J2Z3H7KN.js";import{b as v,e as G,f as O}from"./G7MKMNLH.js";import{h as dt}from"./WREW2VMB.js";import{H as nt,I as rt,a as K,f as p,k as j,s as st,t as it,u as L,v as F}from"./7CWAKRWQ.js";import{e as T,f as b,g as m}from"./4H6LJFQS.js";import{a as u}from"./36KWNN3Y.js";import{g as c,q as l}from"./5U43IXKQ.js";import{a as B}from"./K3U2NSRE.js";import{A as X,e as J,f as k}from"./DLD46EDJ.js";import{d as z}from"./XOTNANB5.js";import{a as H}from"./XN6NZYLJ.js";import{h as V}from"./BQBPUMIH.js";import{a as S}from"./YLA62NZR.js";import{i as R}from"./ING2FCZV.js";import{a as d}from"./PXO5YC5X.js";import{a as $}from"./HXGTCRIK.js";function lt(t,a){let e=`${H(t).replace("/rest/services","/rest/admin/services")}/updateDefinition`;return a.params=Object.assign({updateDefinition:{}},a.params),a.updateDefinition&&(a.params.updateDefinition=a.updateDefinition),V(e,a)}var pt={item:{title:"No Title Provided",description:"",snippet:"",tags:[],typeKeywords:[]},data:null};async function Nt(t,a){let e=Object.assign({},t);e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(I()),o=s.entityToStore(e,d(pt));o=await b(o,a);let i=s.storeToEntity(o,{}),n=await D(i,a);return i.entitySettingsId=n.id,i.discussionSettings=n.settings.discussions,i}async function xt(t,a){let e=await z(t.id,a),s={item:e};t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let i=new l(I()).entityToStore(t,s),n=h(t),r=$(t,"extendedProps.downloads.formats"),y=v(t)&&n!=="createReplica";if(ot(t)&&n&&r&&!y){let f=d(t.extendedProps.downloads);S("item.properties.downloads",f,i,!0)}let g=await m(i,a),U={};if(v(t)){let f=await B(Object.assign(Object.assign({},a),{url:t.url}));if(G(C.EXTRACT,f)!==t.serverExtractCapability){let x=O(C.EXTRACT,f),ct={capabilities:x.capabilities};await lt(J(t.url),{authentication:a.authentication,updateDefinition:ct}),U.server=x}else U.server=f}Z(a,t.access)&&(Y(t._forceUpdate,[!0])&&await X(e.id,a),delete t._forceUpdate,await W(t,a));let E=Q(g,a,U,t),N=await D(E,a);return E.entitySettingsId=N.id,E.discussionSettings=N.settings.discussions,E}async function $t(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}function Vt(t,a){var e;let s=d(t);delete s.downloadFormats;let o=d(s);if(h(o)&&t.downloadFormats){let n=at(o),r=t.downloadFormats.map(y=>{let w=d(y);return delete w.label,w});n.formats=r,S("extendedProps.downloads",n,o,!0)}return o.extent=((e=t.location)===null||e===void 0?void 0:e.extent)||[],o}async function Ht(t,a){let e=Object.assign(Object.assign({},q),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(P()),o=s.entityToStore(e,d(tt));o=await b(o,a);let i=s.storeToEntity(o,{}),n=await D(i,a);return i.entitySettingsId=n.id,i.discussionSettings=n.settings.discussions,i}async function Rt(t,a){var e;await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let s=await T(t.id,a),o=new l(P()),i=o.entityToStore(t,s),n=await m(i,a),r=et(s,o.storeToEntity(n,t),a),y;try{y=((e=r.location.geometries)===null||e===void 0?void 0:e.map(g=>k(g)))||null}catch(g){y=null,console.warn("Esri JSON conversion failed",g)}let w=await D(r,a,y);return r.entitySettingsId=w.id,r.discussionSettings=w.settings.discussions,r}async function Jt(t,a){let e=Object.assign(Object.assign({},a),{id:t});try{await dt(Object.assign({id:t},a))}catch{}await u(e)}async function kt(t,a){let e=Object.assign(Object.assign({},st),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=j(e.typeKeywords,e.status),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(F()),o=s.entityToStore(e,d(it));o=await b(o,a);let i=s.storeToEntity(o,{});return i=L(o,i,a),i}async function Xt(t,a){await p(t,a),t.typeKeywords=j(t.typeKeywords,t.status),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let e=await T(t.id,a),s=new l(F()),o=s.entityToStore(t,e),i=await m(o,a),n=s.storeToEntity(i,t);return n=L(e,n,a),n}async function zt(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}var A="Hub Initiative Template",yt={catalog:{schemaVersion:0},name:"No title provided",permissions:[],tags:[],typeKeywords:[A],schemaVersion:1,features:R,values:{},view:{showMap:!0}},wt={item:{type:A,title:"No Title Provided",description:"No Description Provided",snippet:"",tags:[],typeKeywords:[A],properties:{slug:"",schemaVersion:1,previewUrl:""}},data:{recommendedTemplates:[],siteSolutionId:"",view:{showMap:!0}}};async function Bt(t,a){let e=Object.assign(Object.assign({},yt),t);e.orgUrlKey=e.orgUrlKey.toLowerCase(),e.slug||(e.slug=K(e.name,e.orgUrlKey)),await p(e,a),e.typeKeywords=c(e.typeKeywords,e.isDiscussable);let s=new l(_()),o=s.entityToStore(e,d(wt));o=await b(o,a);let i=s.storeToEntity(o,{});return i=M(o,i,a),i}async function Gt(t,a){var e;await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let s=await T(t.id,a),o=new l(_()),i=o.entityToStore(t,s),n=await m(i,a),r=o.storeToEntity(n,t);return((e=t.view)===null||e===void 0?void 0:e.showMap)===void 0&&S("view.showMap",!0,t),t=M(s,r,a),r}async function Ot(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}function Yt(t,a){throw new Error("Template creation is not currently supported from the context of Hub")}async function Qt(t,a){await p(t,a),t.typeKeywords=c(t.typeKeywords,t.isDiscussable);let e=await T(t.id,a),s=new l(nt()),o=s.entityToStore(t,e),i=await m(o,a),n=s.storeToEntity(i,t);return t=rt(e,n,a),n}function Wt(t,a){let e=d(t);return e.orgUrlKey=t.orgUrlKey?t.orgUrlKey:a.urlKey,e.orgUrlKey=e.orgUrlKey.toLowerCase(),e}async function Zt(t,a){let e=Object.assign(Object.assign({},a),{id:t});await u(e)}export{Nt as a,xt as b,$t as c,Vt as d,Ht as e,Rt as f,Jt as g,kt as h,Xt as i,zt as j,yt as k,Bt as l,Gt as m,Ot as n,Yt as o,Qt as p,Wt as q,Zt as r};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as S}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{b as a,c as D,d as z,e as x,i as w}from"./4JOOF6WA.js";import{a as r}from"./PXO5YC5X.js";import{a as V}from"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";var I=".max-w-21{max-width:21rem}.expanded-daily-scheduler-section,.expanded-weekly-scheduler-section,.expanded-monthly-scheduler-section,.expanded-yearly-scheduler-section{display:flex;flex-direction:column}.select-format{display:flex;flex-direction:column;gap:1rem}.expanded-sub-input{padding-bottom:0.5rem}",j=I,P=class{constructor(e){w(this,e),this.arcgisConfigurationEditorFieldInputChange=x(this,"arcgisConfigurationEditorFieldInputChange",7),this.arcgisConfigurationEditorChange=x(this,"arcgisConfigurationEditorChange",7),this.params=void 0,this.value=void 0,this.options=void 0,this.isInitialized=!1}get _disabled(){var e,t;return((t=(e=this.params.uiSchema)===null||e===void 0?void 0:e.options)===null||t===void 0?void 0:t.disabled)||this.params.disabled}get checkedOption(){return this.options.find(e=>e.checked)}get isValueValid(){if(!this.value)return!1;if(this.value.mode==="automatic"||this.value.mode==="manual")return this.isOptionAvailable(this.value.mode);if(this.value.mode==="scheduled")switch(this.value.cadence){case"daily":return this.isHourValid&&this.isTimezoneValid&&this.isOptionAvailable(this.value.cadence);case"weekly":return this.isHourValid&&this.isDayValid&&this.isTimezoneValid&&this.isOptionAvailable(this.value.cadence);case"monthly":return this.isHourValid&&this.isDateValid&&this.isTimezoneValid&&this.isOptionAvailable(this.value.cadence);case"yearly":return this.isHourValid&&this.isValidMonth&&this.isDateValid&&this.isTimezoneValid&&this.isOptionAvailable(this.value.cadence)}}get isHourValid(){return this.value.hour!==null&&this.value.hour!==void 0&&this.value.hour>=0&&this.value.hour<=23}get isDayValid(){return this.value.day!==null&&this.value.day!==void 0&&this.value.day>=0&&this.value.day<=6}get isDateValid(){return this.value.date!==null&&this.value.date!==void 0&&this.value.date>=1&&this.value.date<=28}get isValidMonth(){return this.value.month!==null&&this.value.month!==void 0&&this.value.month>=0&&this.value.month<=11}get isTimezoneValid(){return typeof this.value.timezone=="string"&&!!this.value.timezone}isOptionAvailable(e){return!!this.options.find(t=>t.type===e)}getOptionLabel(e){return e.label==null?this.intl.t(`option.${e.type}.defaultLabel`):e.label}async componentWillLoad(){var e,t,i,l,s;this.isInitialized=!1,this.intl=await S.loadIntlForComponent(this.element),this.options=!((t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0)&&t.options.inputs?r((l=(i=this.params)===null||i===void 0?void 0:i.uiSchema)===null||l===void 0?void 0:l.options.inputs):[{label:"Default",type:"automatic"}],this.value=(s=this.params)===null||s===void 0?void 0:s.value,(!this.isValueValid||this._disabled)&&(this.options[0].checked=!0,this.setValueToBaseSchedule()),this.options=this.options.map(n=>((n.type===this.value.cadence||n.type===this.value.mode)&&(n.checked=!0),n)),this.isInitialized=!0}setValueToBaseSchedule(){var e,t,i,l,s,n,u,d,h,c,v,p,m,b,y,f,g,k,O,_,T;let o=Intl.DateTimeFormat().resolvedOptions().timeZone;switch((e=this.checkedOption)===null||e===void 0?void 0:e.type){case"automatic":this.value={mode:"automatic"},(t=this.value)===null||t===void 0||delete t.cadence,(i=this.value)===null||i===void 0||delete i.hour,(l=this.value)===null||l===void 0||delete l.day,(s=this.value)===null||s===void 0||delete s.date,(n=this.value)===null||n===void 0||delete n.month,(u=this.value)===null||u===void 0||delete u.timezone;break;case"daily":this.value={mode:"scheduled",cadence:"daily",hour:0,timezone:o},(d=this.value)===null||d===void 0||delete d.day,(h=this.value)===null||h===void 0||delete h.date,(c=this.value)===null||c===void 0||delete c.month;break;case"weekly":this.value={mode:"scheduled",cadence:"weekly",hour:0,day:0,timezone:o},(v=this.value)===null||v===void 0||delete v.date,(p=this.value)===null||p===void 0||delete p.month;break;case"monthly":this.value={mode:"scheduled",cadence:"monthly",hour:0,date:null,timezone:o},(m=this.value)===null||m===void 0||delete m.day,(b=this.value)===null||b===void 0||delete b.month;break;case"yearly":this.value={mode:"scheduled",cadence:"yearly",hour:0,date:null,month:0,timezone:o},(y=this.value)===null||y===void 0||delete y.day;break;case"manual":this.value={mode:"manual"},(f=this.value)===null||f===void 0||delete f.cadence,(g=this.value)===null||g===void 0||delete g.hour,(k=this.value)===null||k===void 0||delete k.day,(O=this.value)===null||O===void 0||delete O.date,(_=this.value)===null||_===void 0||delete _.month,(T=this.value)===null||T===void 0||delete T.timezone;break}}handleParamsChange(e,t){let i=V(e,"uiSchema.options.disabled")||e.disabled,l=V(t,"uiSchema.options.disabled")||t.disabled,s=!!this._valueBeforeDisabled&&!!this._optionsBeforeDisabled;!l&&i?(this._valueBeforeDisabled=r(this.value),this._optionsBeforeDisabled=r(this.options),this.options=this.options.map(n=>Object.assign(Object.assign({},n),{checked:!1})),this.options[0].checked=!0,this.setValueToBaseSchedule()):l&&!i&&s&&(this.options=r(this._optionsBeforeDisabled),this.value=r(this._valueBeforeDisabled),delete this._valueBeforeDisabled,delete this._optionsBeforeDisabled)}handleArcgisHubInputSchedulerChange(){this.isInitialized&&(this.isValueValid?this.arcgisConfigurationEditorFieldInputChange.emit(this.value):this.arcgisConfigurationEditorChange.emit({valid:!1}))}updateCheckedOptionSelectFormat(e){let t=e.target;t.id==="scheduler-select"&&(this.options=this.options.map(i=>Object.assign(Object.assign({},i),{checked:i.type===t.value})),this.setValueToBaseSchedule())}updateHour(e){var t;let i=e.target;if(!i.value){this.value=Object.assign(Object.assign({},this.value),{hour:null});return}let l=r(i.value.split(":")),s=Number(l[1]),n=Number(l[0]),u=n===23?"00:00":n+1+":00",d=n===0?"23:00":n-1+":00";switch(s===1?i.value=u:s===59||s<30&&s!==0?i.value=d:s>=30&&(i.value=u),(t=this.checkedOption)===null||t===void 0?void 0:t.type){case"daily":case"weekly":case"monthly":case"yearly":this.value=Object.assign(Object.assign({},this.value),{hour:Number(i.value.split(":")[0])});break}}updateTimezone(e){var t;let i=e.target;switch((t=this.checkedOption)===null||t===void 0?void 0:t.type){case"daily":case"weekly":case"monthly":case"yearly":this.value=Object.assign(Object.assign({},this.value),{timezone:i.value});break}}updateDayOrMonth(e){var t,i;let l=e.target;l.id==="day-picker"&&((t=this.checkedOption)===null||t===void 0?void 0:t.type)==="weekly"?this.value=Object.assign(Object.assign({},this.value),{day:Number(l.value)}):l.id==="month-picker"&&((i=this.checkedOption)===null||i===void 0?void 0:i.type)==="yearly"&&(this.value=Object.assign(Object.assign({},this.value),{month:Number(l.value)}))}updateDateNumber(e){var t;let i=e.target;switch((t=this.checkedOption)===null||t===void 0?void 0:t.type){case"monthly":case"yearly":this.value=Object.assign(Object.assign({},this.value),{date:Number(i.value)||null});break}}renderInvalidInputMessage(e){return a("calcite-input-message",{icon:"x-octagon",status:"invalid"},e)}renderHourPicker(){var e;return a("calcite-label",{class:"expanded-sub-input"},this.intl.t("inputs.hour.helperText"),a("calcite-input-time-picker",{class:"max-w-21",id:"scheduler-time-picker",placement:"bottom",status:this.isHourValid?"idle":"invalid",value:this.isHourValid?`${(e=this.value)===null||e===void 0?void 0:e.hour}:00`:null}),this.isHourValid?a("calcite-input-message",{icon:"information-f",status:"idle"},this.intl.t("inputs.hour.inputMessage")):this.renderInvalidInputMessage(this.intl.t("inputs.hour.error")))}renderDatePicker(){var e;return a("calcite-label",{class:"expanded-sub-input"},this.intl.t("inputs.date.helperText"),a("calcite-input-number",{class:"max-w-21",clearable:!0,integer:!0,max:"28",min:"1","number-button-type":"vertical",placeholder:this.intl.t("inputs.date.inputNumberPlaceholder"),status:this.isDateValid?"idle":"invalid",step:"1",value:((e=this.value)===null||e===void 0?void 0:e.date)||null}),this.isDateValid?a("calcite-input-message",{icon:"information-f",status:"idle"},this.intl.t("inputs.date.inputMessage")):this.renderInvalidInputMessage(this.intl.t("inputs.date.error")))}renderDayPicker(){let e=[{label:this.intl.t("inputs.day.daysOfTheWeek.sunday"),value:"0"},{label:this.intl.t("inputs.day.daysOfTheWeek.monday"),value:"1"},{label:this.intl.t("inputs.day.daysOfTheWeek.tuesday"),value:"2"},{label:this.intl.t("inputs.day.daysOfTheWeek.wednesday"),value:"3"},{label:this.intl.t("inputs.day.daysOfTheWeek.thursday"),value:"4"},{label:this.intl.t("inputs.day.daysOfTheWeek.friday"),value:"5"},{label:this.intl.t("inputs.day.daysOfTheWeek.saturday"),value:"6"}];return a("calcite-label",{class:"expanded-sub-input"},this.intl.t("inputs.day.helperText"),a("calcite-select",{class:"max-w-21",id:"day-picker",label:this.intl.t("inputs.day.selectLabel")},e.map(t=>{var i;let l=`${(i=this.value)===null||i===void 0?void 0:i.day}`===t.value;return a("calcite-option",{key:t.value,label:t.label,selected:l,status:this.isDayValid?"idle":"invalid",value:t.value},t.label)})),!this.isDayValid&&this.renderInvalidInputMessage(this.intl.t("inputs.day.error")))}renderMonthPicker(){let e=[{label:this.intl.t("inputs.month.monthsOfTheYear.january"),value:"0"},{label:this.intl.t("inputs.month.monthsOfTheYear.february"),value:"1"},{label:this.intl.t("inputs.month.monthsOfTheYear.march"),value:"2"},{label:this.intl.t("inputs.month.monthsOfTheYear.april"),value:"3"},{label:this.intl.t("inputs.month.monthsOfTheYear.may"),value:"4"},{label:this.intl.t("inputs.month.monthsOfTheYear.june"),value:"5"},{label:this.intl.t("inputs.month.monthsOfTheYear.july"),value:"6"},{label:this.intl.t("inputs.month.monthsOfTheYear.august"),value:"7"},{label:this.intl.t("inputs.month.monthsOfTheYear.september"),value:"8"},{label:this.intl.t("inputs.month.monthsOfTheYear.october"),value:"9"},{label:this.intl.t("inputs.month.monthsOfTheYear.november"),value:"10"},{label:this.intl.t("inputs.month.monthsOfTheYear.december"),value:"11"}];return a("calcite-label",{class:"expanded-sub-input"},this.intl.t("inputs.month.helperText"),a("calcite-select",{class:"max-w-21",id:"month-picker",label:this.intl.t("inputs.month.selectLabel")},e.map(t=>{var i;let l=`${(i=this.value)===null||i===void 0?void 0:i.month}`===t.value;return a("calcite-option",{key:t.value,label:t.label,selected:l,status:this.isValidMonth?"idle":"invalid",value:t.value},t.label)})),!this.isValidMonth&&this.renderInvalidInputMessage(this.intl.t("inputs.month.error")))}renderTimezonePicker(){var e;return a("calcite-label",{class:"expanded-sub-input"},this.intl.t("inputs.timezone.helperText"),a("calcite-input-time-zone",{class:"max-w-21",mode:"name",status:this.isTimezoneValid?"idle":"invalid",value:(e=this.value)===null||e===void 0?void 0:e.timezone}),!this.isTimezoneValid&&this.renderInvalidInputMessage(this.intl.t("inputs.timezone.error")))}renderDailyOptionSection(){return a("div",{class:"expanded-daily-scheduler-section"},this.renderHourPicker(),this.renderTimezonePicker())}renderWeeklyOptionSection(){return a("div",{class:"expanded-weekly-scheduler-section"},this.renderDayPicker(),this.renderHourPicker(),this.renderTimezonePicker())}renderMonthlyOptionSection(){return a("div",{class:"expanded-monthly-scheduler-section"},this.renderDatePicker(),this.renderHourPicker(),this.renderTimezonePicker())}renderYearlyOptionSection(){return a("div",{class:"expanded-yearly-scheduler-section"},this.renderMonthPicker(),this.renderDatePicker(),this.renderHourPicker(),this.renderTimezonePicker())}renderExpandedOptionSection(){let{type:e}=this.checkedOption;switch(e){case"daily":return a("div",null,this.renderDailyOptionSection());case"weekly":return a("div",null,this.renderWeeklyOptionSection());case"monthly":return a("div",null,this.renderMonthlyOptionSection());case"yearly":return a("div",null,this.renderYearlyOptionSection())}}renderSelectOption(e){let{type:t,checked:i}=e;return a("calcite-option",{selected:i,value:t},this.getOptionLabel(e))}renderSelectFormat(){var e,t,i,l;let s=(t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0?void 0:t.options.labelKey,n=a("calcite-select",{class:"max-w-21",disabled:this._disabled,id:"scheduler-select",label:(i=this.params)===null||i===void 0?void 0:i.label,name:(l=this.params)===null||l===void 0?void 0:l.label,required:!0,width:"full"},this.options.map(u=>{var d;return this.renderSelectOption(Object.assign(Object.assign({},u),{checked:u.type===((d=this.checkedOption)===null||d===void 0?void 0:d.type)}))}));return a("div",{class:"select-format"},s?a("calcite-label",null,this.intl.t(s),n):n,this.renderExpandedOptionSection())}renderSingleFormat(){return a("div",{class:"single-format"},this.renderExpandedOptionSection())}render(){var e,t;let i;switch((t=(e=this.params)===null||e===void 0?void 0:e.uiSchema)===null||t===void 0?void 0:t.options.format){case"select":i=this.renderSelectFormat();break;case"single":i=this.renderSingleFormat();break}return a(D,{key:"c9a85d91ff2d8fe71b6014b730dcfe7f79500f6a","data-element":"scheduler-field"},i)}static get assetsDirs(){return["locales"]}get element(){return z(this)}static get watchers(){return{params:["handleParamsChange"],value:["handleArcgisHubInputSchedulerChange"]}}};P.style=j;export{P as hub_field_input_scheduler};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as c}from"./WB4JL545.js";import"./BTQBNX5F.js";import"./FGCNOKTY.js";import"./BN3H7WEO.js";import"./LTHDNRFP.js";import"./5LPZE2JA.js";import"./G2NO2B2R.js";import"./QEBCUYCO.js";import"./4XMXQ54V.js";import"./UX4VYBBP.js";import"./5UBBGG47.js";import"./J2Z3H7KN.js";import"./L77FEMIJ.js";import"./662ASTW3.js";import"./Y3JSZUIT.js";import"./7UM2JUNG.js";import"./G7MKMNLH.js";import"./WREW2VMB.js";import"./NJV2IIEX.js";import"./7DAOPALD.js";import"./VUS5HDIX.js";import"./A7L4ED6V.js";import"./SNXQZUGV.js";import"./VFYZQF3P.js";import"./N2PDDBPH.js";import"./DXU52RUQ.js";import"./7CWAKRWQ.js";import"./NNOVHCKQ.js";import"./CW5BKG7K.js";import"./X3BMFKXF.js";import"./4H6LJFQS.js";import"./36KWNN3Y.js";import"./UM4H5BN3.js";import"./5U43IXKQ.js";import"./DTDF6Y6R.js";import"./T54XA7XS.js";import"./5Y2CNX4M.js";import"./UI23XBKS.js";import"./PJLPTEGG.js";import"./K3U2NSRE.js";import"./5AR4R7B7.js";import"./W26L6553.js";import"./3LJEHD46.js";import"./UOFWMMF6.js";import"./BRB4T4JN.js";import"./LU7V3XFD.js";import"./MP3X2RCP.js";import"./62IVG53J.js";import"./2UPXNQGO.js";import"./DUZQHVD5.js";import"./4KCUYLHK.js";import"./67YHG7DB.js";import"./XJDMZCDS.js";import"./NJNAL3B7.js";import"./J373NRPJ.js";import"./DLD46EDJ.js";import"./C7SUKHGV.js";import"./MBIUEXEB.js";import"./GM2ICPLX.js";import"./VVGLJLE7.js";import"./UTSPTHEW.js";import"./XOTNANB5.js";import"./4JCVWOVQ.js";import"./XN6NZYLJ.js";import"./BQBPUMIH.js";import{c as d,g as r}from"./FKT55K7U.js";import"./X7AGLYO7.js";import"./SLMXJ5YL.js";import"./CVF6DB4C.js";import"./YLA62NZR.js";import"./4UOSKPDF.js";import"./GTNBV3BK.js";import"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import{a as s}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{a}from"./JOCSBXYM.js";import"./BFVDRNL6.js";import{b as t,c as m,d as l,e as i,i as p}from"./4JOOF6WA.js";import"./CF7CVKAA.js";import"./PXO5YC5X.js";import"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";var y=":host{display:block;height:100%}.entity-settings__entity-name{margin-top:1rem;font-weight:var(--calcite-font-weight-bold)}calcite-button{width:-moz-fit-content;width:fit-content}arcgis-hub-workspace-pane{--arcgis-hub-workspace-pane-max-width:55rem;--arcgis-configuration-form-footer-max-width:50rem}calcite-button{margin-right:1rem}section{display:block;width:100%;border-radius:0.25rem;padding:1.25rem;--tw-shadow:0 1px 6px -1px rgba(0, 0, 0, 0.16), 0 1px 2px -1px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 1px 6px -1px var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);background:white}h2{margin-top:0px;margin-bottom:1.5rem;font-size:var(--calcite-font-size-1);line-height:1.5rem;font-weight:var(--calcite-font-weight-medium);color:var(--calcite-color-text-1)}",f=y,h={noticeType:"alert",autoClose:!0,autoCloseDuration:"fast",icon:!0,kind:"success"},u=class{constructor(o){p(this,o),this.arcgisHubWorkspacePaneEntityDelete=i(this,"arcgisHubWorkspacePaneEntityDelete",7),this.arcgisHubWorkspaceEntityChange=i(this,"arcgisHubWorkspaceEntityChange",7),this.hubTelemetry=i(this,"hubTelemetry",7),this.handleCancelButtonClicked=async()=>{let{entity:n,_context:b}=this,e=!n.isCanceled;try{this.actionPending=!0,this.entity=await c("event",Object.assign(Object.assign({},n),{isCanceled:e}),b),this.arcgisHubWorkspaceEntityChange.emit({entity:this.entity,isDirty:!1}),this.hubTelemetry.emit(a.dictionary.category.interaction.action[e?"cancel":"enable"].label.event),r({title:this.intl.t(`${e?"cancel":"enable"}.notice.success.title`),message:this.intl.t(`${e?"cancel":"enable"}.notice.success.message`),configuration:Object.assign(Object.assign({},h),{label:this.intl.t("notice.label")})})}catch(g){console.error(`Failed to ${e?"cancel":"re-enable"} event: ${g}`),r({title:this.intl.t(`${e?"cancel":"enable"}.notice.error.title`),message:this.intl.t(`${e?"cancel":"enable"}.notice.error.message`),configuration:Object.assign(Object.assign({},h),{kind:"danger",label:this.intl.t("notice.label")})})}finally{this.actionPending=!1}},this.entity=void 0,this.isMobile=!1,this.actionPending=!1}async componentWillLoad(){this.intl=await s.loadIntlForComponent(this.element)}get _context(){return d()}handleEntityDelete(o){o.stopPropagation(),this.arcgisHubWorkspacePaneEntityDelete.emit(this.entity),this.hubTelemetry.emit(a.dictionary.category.interaction.action.delete.label.event)}render(){return t(m,{key:"e4b2a83361cb70f25e633dba7a1cb50410cdeca6","data-element":"entity-settings"},t("arcgis-hub-workspace-pane",{key:"afda205b79a59854c2dd2e398abda1285689967a",isMobile:this.isMobile,stickyFooter:!0},t("h1",{key:"ea103640078d7a853c73a6bc93ca0744510e198b",slot:"title"},this.intl.t("settings")),t("div",{key:"e4b0f8146b93694d287a7b0a342106abf4dfafb1",slot:"primary-actions"},t("section",{key:"707cd9bc84a1d0d063456f74e0c8e45c745869a1"},t("header",{key:"851ba76d18643c2672c7f5b489b1e0fd344baac3"},t("h2",{key:"849e3ca3ce5a078905b9f267dfe0bd73dce6e7e5"},this.intl.t("cancel.header")),t("p",{key:"fba8a4a980571c47ef113e23af7fe50ae2219e57"},this.intl.t(`${this.entity.isCanceled?"enable":"cancel"}.desc`))),t("calcite-button",{key:"15a590f3f0ecbdb5c74c072116662425022ff793",appearance:"outline",disabled:this.actionPending,onClick:this.handleCancelButtonClicked,round:!0},this.entity.isCanceled?this.intl.t("enable.event"):this.intl.t("cancel.event")))),t("div",{key:"3b1cbb892071a88c50ae2f0139324c2c3b863013"},t("arcgis-hub-delete-confirmation",{key:"017bf4fad47102ce272d96e78ae0ea64d5dd99ed",entity:this.entity,entityScopedDeleteButtonText:this.intl.t("delete.deleteButton"),titleText:this.intl.t("delete.item")},t("p",{key:"74427c077fa798be8ec38d984e19858506cac775",slot:"controls-before"},this.intl.t("delete.desc"))))))}static get assetsDirs(){return["locales"]}get element(){return l(this)}};u.style=f;export{u as arcgis_hub_entity_event_settings};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as f}from"./6EV2WU6T.js";import d from"./RVMSZF5A.js";import"./QANJTYDV.js";import c from"./YMXNGVSN.js";import"./ZWUVB24W.js";import"./V5II4CHQ.js";import{a as b,b as Q,c as X,d as x}from"./DV3COJJB.js";import{a as F}from"./ZP4DIQNS.js";import{a as H}from"./TO4L6ALB.js";import"./VZ7IOYUY.js";import"./6SBLPFVP.js";import"./DNGAJCEJ.js";import"./OZPNCFKF.js";import"./HZDGEANK.js";import"./RWX7KHPR.js";import a from"./4EVULSKN.js";import"./WREW2VMB.js";import"./BT773XGO.js";import"./ZFKEPLPZ.js";import"./MBDXMRMB.js";import{N as K,O as A,X as Y,o as q}from"./NJV2IIEX.js";import"./7DAOPALD.js";import"./VUS5HDIX.js";import"./A7L4ED6V.js";import"./SNXQZUGV.js";import"./VFYZQF3P.js";import"./N2PDDBPH.js";import"./DXU52RUQ.js";import"./7CWAKRWQ.js";import"./NNOVHCKQ.js";import"./CW5BKG7K.js";import"./X3BMFKXF.js";import"./4H6LJFQS.js";import"./36KWNN3Y.js";import"./UM4H5BN3.js";import"./5U43IXKQ.js";import"./DTDF6Y6R.js";import"./T54XA7XS.js";import"./5Y2CNX4M.js";import"./UI23XBKS.js";import"./PJLPTEGG.js";import"./K3U2NSRE.js";import"./5AR4R7B7.js";import"./W26L6553.js";import"./3LJEHD46.js";import"./UOFWMMF6.js";import"./BRB4T4JN.js";import"./LU7V3XFD.js";import"./MP3X2RCP.js";import"./62IVG53J.js";import"./2UPXNQGO.js";import"./DUZQHVD5.js";import"./4KCUYLHK.js";import"./67YHG7DB.js";import"./XJDMZCDS.js";import"./NJNAL3B7.js";import"./J373NRPJ.js";import{f as O,g as W}from"./DLD46EDJ.js";import"./C7SUKHGV.js";import"./MBIUEXEB.js";import"./GM2ICPLX.js";import"./VVGLJLE7.js";import"./UTSPTHEW.js";import"./XOTNANB5.js";import"./4JCVWOVQ.js";import"./XN6NZYLJ.js";import"./BQBPUMIH.js";import{c as ie,j as se}from"./FKT55K7U.js";import"./X7AGLYO7.js";import"./CVF6DB4C.js";import"./YLA62NZR.js";import"./4UOSKPDF.js";import"./GTNBV3BK.js";import"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import{a as M}from"./MBNTFPVY.js";import{a as P}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import{a as w}from"./JOCSBXYM.js";import"./BFVDRNL6.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./4JOOF6WA.js";import{a as z}from"./CF7CVKAA.js";import"./PXO5YC5X.js";import{a as T}from"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";export default $arcgis.t(([k,{watch:L},{webMercatorToGeographic:B},ne,J,{isAbortError:ce},{generalize:he},le,de,,{o:V,p:j},{g:ee,h:Z,m:N},{b:te}])=>{var ae={type:"Polygon",coordinates:[[[180,-90],[180,90],[-180,90],[-180,-90],[180,-90]]]},ue=e=>new Promise(t=>setTimeout(t,e)),pe=(e,t,i,s,a)=>{let r=Math.ceil(e/t);return r>s?(z.warn(`Discussions requests exceeds desired threshold, throttling to ${a}ms per batch.`),a):i/r},ge=async(e,t,i=10,s=!0)=>{let a=async r=>{var o;let n=(o=r.start)!==null&&o!==void 0?o:1,h=Object.assign({data:Object.assign({num:i,relations:[A.REPLIES,A.CHANNEL,A.CHANNEL_ACL],sortBy:K.UPDATED_AT,sortOrder:q.DESC,start:n},r)},t),c=Y(h);if(n===1){let{total:l}=await c,d=n+i,g=[c],v=s?pe(l,i,2500,10,250):0;for(;d<=l;)await ue(v),g.push(...await a(Object.assign(Object.assign({geometry:ae},r),{start:d}))),d=d+i;return g}return[c]};try{let r=await Promise.all([...await a(Object.assign(Object.assign({},e),{discussion:`${e.discussion}%?id=%`})),...await a(Object.assign(Object.assign({},e),{geometry:ae,discussion:`${e.discussion}%`}))]),o=[],n=r.map(({items:h})=>h).flat().filter(h=>o.includes(h.id)?!1:(o.push(h.id),!0));return ee(n)}catch(r){let{message:o}=r;z.error("Could not fetch on-map discussions:",o)}},me=".sc-arcgis-hub-discussions-map-integrator-h{display:block}@media only screen and (min-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{padding:0px}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{--tw-shadow:0 6px 20px -4px rgba(0, 0, 0, 0.1), 0 4px 12px -2px rgba(0, 0, 0, 0.08);--tw-shadow-colored:0 6px 20px -4px var(--tw-shadow-color), 0 4px 12px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow)}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + 4.5rem);left:calc(var(--left-offset) - 5rem - 25rem);max-height:calc(var(--panel-height) - 6rem)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:25rem}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset));left:calc(var(--left-offset))}}@media only screen and (max-width: 640px){arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) + 0.05rem);top:calc(var(--top-offset) + var(--panel-height) * .5);max-height:calc(var(--panel-height) * .5);height:calc(var(--panel-height) * .5);left:0.95rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{width:100%}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions.sc-arcgis-hub-discussions-map-integrator{top:calc(var(--top-offset) + var(--panel-height) * .45)}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{z-index:10}arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:calc(var(--panel-width) - 0.95rem);top:calc(var(--panel-height) + 3.2rem);left:0.5rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{position:absolute}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{top:1rem}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{left:0px}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{margin:auto}[is-mobile].sc-arcgis-hub-discussions-map-integrator-h arcgis-hub-discussions-map-preview.sc-arcgis-hub-discussions-map-integrator{width:100%}}",fe=me,m=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},p=class{constructor(e){_(this,e),this.arcgisHubMapPopoverOpen=I(this,"arcgisHubMapPopoverOpen",7),this.arcgisHubMapPopoverClear=I(this,"arcgisHubMapPopoverClear",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.initialized=!1,this.cachedFeatures=[],this.unsavedExistingGeometry=[],this.cachedRelatedFeatureGeometry={},this.layerIds=[],this.persistAttribute="__persist__",this.view=void 0,this.discussionsRef=void 0,this.drawRef=void 0,this.searchRef=void 0,this.theme={},this.discussion=void 0,this.entity=void 0,this.entityId=void 0,this.entityType=void 0,this.discussionSettings=void 0,this.isHub=void 0,this.isMobile=void 0,this.activeFeature=void 0,this.activeMapDiscussion=void 0,this.showChannelAvatar=void 0,this.showChannelName=void 0,this._context=ie(),this.viewHeight=void 0,this.viewWidth=void 0,this.preview=!0,this.previewHeight=void 0,this.leftOffset=void 0,this.topOffset=void 0,this.mapActionNoticeActive=void 0,this.activePost=void 0,this.activeGraphicDetails=void 0,M(this,"makeGraphic","makeCalloutGraphic","setCalloutSymbolOnPointerMove","calculateOffsets","handlePointerMove","handleMapClickDiscussions","handleViewSizeChange","handleMapDrawSelect","handleEditActiveGraphic","handleDeleteActiveGraphic","handlePostPendingGraphic","addRelatedFeature","removeRelatedFeature","cancelAddRelatedFeature","getRelatedFeature","renderAddLocation","renderRemoveLocation","renderPostLocationEditOptions","renderPostLocationPrimaryOptions")}async componentWillLoad(){this.initialize(),this.intl=await P.loadIntlForComponent(this.element),V()}connectedCallback(){se(this)}disconnectedCallback(){this.teardown(),this.disconnectContext()}eventTargetIsDiscussionsRef(e){return e.target===this.discussionsRef||e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef}emitHubTelemetry(e){this.hubTelemetry.emit(Object.assign(Object.assign({},e),{postId:this.sketchPostId,channelId:this.currentDiscussionsRef.channelId}))}async initialize(){let{view:e,_context:t}=this;if(this.saveInitialDrawOptions(),e&&t){if(await e.when(),this.addGeometryGraphicsLayer(),this.addStagedGeometryGraphicsLayer(),this.addCalloutGraphicsLayer(),this.addHighlightGraphicsLayer(),await this.fetchSubject(),this.fetchPosts(),this.handleViewSizeChange(),this.cachedFeatures.length)try{await this.refreshFeatures(this.cachedFeatures)}catch(i){console.warn("Cannot add discussions features to the map",i.message)}this.setDiscussionsRefHasMap(!0),this.mapViewSizeChangeHandler=L(()=>[e.height,e.width],this.handleViewSizeChange),this.mapViewCenterChangeHandler=L(()=>e.center,this.calculateOffsets),this.initialized=!0}}attachView(e,t){let{initialized:i}=this;e&&e!==t?(i&&this.teardown(),this.initialize()):!e&&i&&this.teardown()}attachdiscussionsRef(e){let{initialized:t}=this;e&&!t&&this.initialize()}handleDrawRefUpdate(){this.saveInitialDrawOptions()}calculateOffsets(){let{view:e,preview:t,graphicGeometry:i,isOffset:s,previewHeight:a,activeMapDiscussion:r}=this;if(e&&r&&i){let{container:o}=e,{top:n,left:h,right:c}=o.getBoundingClientRect(),l=e.toScreen(i),d=s?l.x+5:l.x,g=s?l.y-34:l.y;this.leftOffset=t?d+h:c,this.topOffset=t?g+n-a:n}}handlePreviewDidLoad(e){let{detail:t}=e;this.previewHeight=0,this.previewHeight=t}handlePreviewExpanded(){this.preview=!1}handleSearchWidgetPanelToggled(e){let{target:t,detail:i}=e,{searchRef:s}=this;t===s&&!i&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}handleGeometryGoTo(e){let{detail:t}=e,i=[...this.geometryGraphicsLayer.graphics.toArray(),...this.calloutGraphicsLayer.graphics.toArray()],s=[];if(t){let a=t.id,r=t.parentId?t.parentId:t.id;s=i.filter(({attributes:{id:o,parentId:n}})=>o===r||a&&n===a)}else{let{activeMapDiscussion:{locationId:a}}=this;s=i.filter(({attributes:{relatedFeatureId:r}})=>r===a)}s.length&&this.goTo(s)}handleGeometryFeature(e){let{detail:{post:t,create:i}}=e;this.unsavedExistingGeometry=[],this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:a}})=>a!==t.id),Z(t)&&(this.cachedFeatures=[...this.cachedFeatures,...Z(t)],i&&this.cachedFeatures.map(a=>{let{properties:{id:r}}=a,{parentId:o}=t;return r===o&&("replyCount"in a.properties||(a.properties.replyCount=0),a.properties.replyCount+=1),a}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0))}handleGeometryFeatureDeleted(e){let{detail:{id:t,parentId:i}}=e;this.cachedFeatures=this.cachedFeatures.filter(({properties:{id:s}})=>s!==t).map(s=>{let{properties:{id:a}}=s;return a===i&&(s.properties.replyCount-=1),s}),this.refreshFeatures(this.cachedFeatures),this.clearHoverActiveGraphics(!0)}handleGeometryFeatureSelect(e){this.selectFeature(e.detail)}selectFeature(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e);if(r&&this.addHighlightGraphic(!1,r,b.ACTIVE,!1),a){let o=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s);i&&(o=this.makeGraphic(e)),this.goTo(o)}else{let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});if(o){this.addHighlightGraphic(!0,o,b.ACTIVE,!1);let n=i?this.cachedRelatedFeatureGeometry[i].arcgis:this.getGraphicById(t,s);this.goTo(n)}}}handleGeometryFeatureHighlight(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.clearHoverActiveGraphics();let r=this.getMatchingGraphic(e.detail);if(r&&this.addHighlightGraphic(!1,r,b.HOVER,!1),!a){let o=this.calloutGraphicsLayer.graphics.find(n=>{let{attributes:{relatedFeatureId:h,id:c,__index__:l}}=n;return i?i==h:c==t&&(l===null||s==l)});o&&this.addHighlightGraphic(!0,o,b.HOVER,!1)}}handleFeatureRemove(e){let{detail:{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}}=e;this.removeGraphic(t,i,s,a)}removeGraphic(e,t,i,s){let{currentDiscussionsRef:{unsavedFeatures:a,unsavedRelatedFeatures:r,unsavedExistingFeatures:o}}=this;if(s)if(t)this.currentDiscussionsRef.unsavedRelatedFeatures=[...r.slice(0,i),...r.slice(i+1,r.length)];else{this.currentDiscussionsRef.unsavedFeatures=[...a.slice(0,i),...a.slice(i+1,a.length)];let n=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(i);this.unsavedGeometryGraphicsLayer.graphics.remove(n)}else{let n=d=>{let{attributes:{relatedFeatureId:g,id:v,__index__:y}}=d;return t?t==g:v==e&&(y===null||+i==+y)},h=this.calloutGraphicsLayer.graphics.find(n);h&&(h.visible=!1);let c=this.geometryGraphicsLayer.graphics.find(n);c&&(c.visible=!1);let l=this.postToGeoJSON(null,{id:e,index:+i});this.currentDiscussionsRef.unsavedExistingFeatures=[...o.filter(({properties:{id:d,index:g}})=>!(e===d&&+i==+g)),l]}this.clearHoverActiveGraphics(!0)}handleGeometryDrawCreate(e){let{detail:{post:t,postType:i}}=e;this.sketchPostType=i,this.sketchPostId=t?.id,this.drawRef.buffer=!1,this.drawRef.disablePrimaryOptions=!0,this.drawRef.disableEditOptions=!0,this.drawRef.drawTip=void 0,this.drawRef.enableMapTips=!0}handleGeometryDrawTypeSelect(e){this.mapActionNoticeActive=!0,this.drawRef.setActiveTool(e.detail)}handleGeometryDrawDone(){this.mapActionNoticeActive=!1,this.drawRef.setActiveTool(void 0),this.deletePendingGraphics()}handleGeometryDrawCancel(){this.drawRef.setActiveTool(void 0)}handleActiveToolChange(e){let{detail:t}=e;t&&(this.deletePendingGraphics(),this.arcgisHubMapPopoverClear.emit())}handleGeometryDrawEdit(e){let{detail:{properties:{id:t,index:i,unsaved:s}}}=e;this.preview=!1,this.editGraphic(t,i,s)}editGraphic(e,t,i){let{drawRef:s}=this,{geometry:a}=i?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(t):this.getGraphicById(e,t);this.hideLayers(),this.goTo(a),this.sketchPostId=e,this.sketchIndex=t,this.sketchIsUnsaved=i,this.drawRef.geometry=void 0,setTimeout(()=>{s.geometry=a,s.disablePrimaryOptions=!0,s.disableEditOptions=!1,s.buffer=!1,s.enableMapTips=!0},0)}handlePostEditorReady(e){this.activePost=e.detail}handleGeometryDrawEditCancel(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers()}handleDrawGraphicsChange(e){var t;let{detail:{graphics:i,save:s,canceled:a,unsaved:r}}=e,{sketchPostId:o,sketchIndex:n,sketchIsUnsaved:h}=this,c=i.getItemAt(0);if(c.geometry=he(c.geometry.clone(),Q(this.view),!1),s&&this.drawRef.disablePrimaryOptions){this.drawRef.disableEditOptions=!0;let l=B(c.geometry),d=O(l);if(h){let v=this.currentDiscussionsRef.unsavedFeatures.map((R,D)=>(D===n&&(R.geometry=d),R));this.currentDiscussionsRef.unsavedFeatures=v;let y=this.unsavedGeometryGraphicsLayer.graphics.getItemAt(n);y.geometry=c.geometry,!((t=y.attributes)===null||t===void 0)&&t.pending&&setTimeout(()=>{this.activeGraphicDetails={id:o,index:n,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},150)}else{let v=this.postToGeoJSON(d,{index:n,id:o});this.currentDiscussionsRef.unsavedExistingFeatures=[...this.currentDiscussionsRef.unsavedExistingFeatures.filter(({properties:{index:D}})=>D!==n),v];let y=this.getGraphicById(o,n);this.unsavedExistingGeometry.filter(({id:D,index:C})=>D===o&&C===n).length||this.unsavedExistingGeometry.push({id:o,index:n,geometry:y.geometry.clone()}),y.geometry=c.geometry}this.drawRef.forceReset(),this.showLayers();let g=N(d);this.emitHubTelemetry(w.dictionary.category.content.action.update.label.location.details[g])}else if(a)this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.drawRef.forceReset(),this.showLayers();else if(r){this.drawRef.forceReset(),c.symbol=x[c.geometry.type](b.DEFAULT,this.themeWithDefaults[c.geometry.type]),c.attributes={pending:!0},this.addGraphicsToGraphicsLayer(this.unsavedGeometryGraphicsLayer,[c]);let l=[];i.forEach(d=>{let g=B(d.geometry),v=O(g);l.push({type:"Feature",geometry:v,properties:{id:this.sketchPostId,pending:!0}});let y=N(v);this.emitHubTelemetry(w.dictionary.category.content.action.create.label.location.details[y])}),this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures,...l],setTimeout(()=>{this.activeGraphicDetails={id:o,index:this.unsavedGeometryGraphicsLayer.graphics.length-1,unsaved:!0,geometry:c.geometry},this.arcgisHubMapPopoverOpen.emit({geometry:c.geometry,view:this.view,render:this.renderPostLocationPrimaryOptions,source:"action"})},250)}}handleGeometryDrawReset(){this.currentDiscussionsRef.unsavedFeatures=[...this.currentDiscussionsRef.unsavedFeatures],this.restoreInitialDrawOptions(),this.showLayers()}handleGeometryClearAll(){this.resetStagedFeatures(),this.restoreInitialDrawOptions(),this.showLayers(),this.unsavedGeometryGraphicsLayer.graphics.removeAll();let e=t=>{t.visible=!0};this.geometryGraphicsLayer.graphics.forEach(e),this.calloutGraphicsLayer.graphics.forEach(e),this.mapActionNoticeActive=!1,this.activePost=void 0}async handleMapDrawSelect(e){let{detail:t}=e,{targetLayer:i}=this,{results:s}=await this.view.hitTest(t,{include:i}),a=j(s);if(a?.graphic&&this.drawRef.disableEditOptions){let{graphic:r}=a,o=r.layer.objectIdField,n=r.attributes[o];if(this.cacheRelatedFeatureGeometry([n]),!r.attributes.hasOwnProperty(i.displayField)){let{features:[l]}=await i.queryFeatures({objectIds:[n],outFields:["*"],returnGeometry:!1});l&&(r.attributes=l.attributes)}let h=this.currentDiscussionsRef.unsavedRelatedFeatures.map(l=>l.objectId),c=this.renderAddLocation;h.includes(n)&&(c=this.renderRemoveLocation),this.selectedGraphic=r,this.drawRef.enableMapTips=!1,this.arcgisHubMapPopoverOpen.emit({geometry:r.geometry,view:this.view,render:c,source:"action"}),this.highlightGraphic(r)}else this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.highlightGraphic()}handleDiscussionsClose(e){(e.target===this.onMapDiscussionsRef||e.target===this.onMapDiscussionsPreviewRef)&&(this.activeMapDiscussion=void 0,this.preview=!1,this.clearHoverActiveGraphics(!0))}addRelatedFeature(){let e=this.selectedGraphic.layer.objectIdField,t=this.selectedGraphic.attributes[e];this.selectedGraphic.geometry=B(this.selectedGraphic.geometry);let i={postId:this.sketchPostId,objectId:t,feature:O(this.selectedGraphic.toJSON())};this.currentDiscussionsRef.unsavedRelatedFeatures=[...this.currentDiscussionsRef.unsavedRelatedFeatures,i],this.highlightGraphic(),this.arcgisHubMapPopoverClear.emit(),this.drawRef.enableMapTips=!0,this.emitHubTelemetry(w.dictionary.category.interaction.action.select.label.content)}removeRelatedFeature(){let{currentDiscussionsRef:{unsavedRelatedFeatures:e}}=this,t=this.selectedGraphic.layer.objectIdField,i=this.selectedGraphic.attributes[t],s=this.currentDiscussionsRef.unsavedRelatedFeatures.findIndex(a=>a.objectId==i);this.currentDiscussionsRef.unsavedRelatedFeatures=[...e.slice(0,s),...e.slice(s+1,e.length)],this.cancelAddRelatedFeature(),this.emitHubTelemetry(w.dictionary.category.interaction.action.deselect.label.content)}cancelAddRelatedFeature(){this.arcgisHubMapPopoverClear.emit(),this.selectedGraphic=null,this.drawRef.enableMapTips=!0,this.clearHighlights()}setDiscussionsRefHasMap(e){this.discussionsRef&&(this.discussionsRef.hasMap=e)}teardown(){this.clearHighlights(),this.removeViewHandlers(),this.removeLayers(),this.resetSelect(),this.setDiscussionsRefHasMap(!1)}async fetchSubject(){let{discussion:e,entity:t,entityId:i,entityType:s,_context:a,discussionSettings:r}=this,o=await te({discussion:e,entity:t,entityId:i,entityType:s,discussionSettings:r},a.hubRequestOptions,!0);Object.assign(this,o)}fetchPosts(){ge(this.searchParams,this._context.hubRequestOptions).then(e=>{e?.features&&(this.cachedFeatures=e.features,this.initialized&&this.refreshFeatures(e.features))})}addGeometryGraphicsLayer(){this.geometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.geometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addStagedGeometryGraphicsLayer(){this.unsavedGeometryGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"on-the-ground"}}),this.view.map.add(this.unsavedGeometryGraphicsLayer),this.layerIds.push(this.geometryGraphicsLayer.id)}addCalloutGraphicsLayer(){this.calloutGraphicsLayer=new k({graphics:[],effect:"drop-shadow(0px, 2px, 8px, rgba(0, 0, 0, .20))",elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.calloutGraphicsLayer),this.layerIds.push(this.calloutGraphicsLayer.id),this.mapPointerMoveHandler=this.view.on("pointer-move",this.handlePointerMove),this.mapClickDiscussionsHandler=this.view.on("click",this.handleMapClickDiscussions)}addHighlightGraphicsLayer(){this.highlightGraphicsLayer=new k({graphics:[],elevationInfo:{mode:"relative-to-ground"}}),this.view.map.add(this.highlightGraphicsLayer),this.layerIds.push(this.highlightGraphicsLayer.id)}addHighlightGraphic(e,t,i,s){var a,r,o;let{themeWithDefaults:n,highlightGraphicsLayer:h,persistAttribute:c,is3D:l}=this,d=t.clone();if(e)d.symbol=x.callout(i,Object.assign(Object.assign({},n.callout),{isOffset:(a=t?.attributes)===null||a===void 0?void 0:a.isOffset,is3D:l}),(r=d.attributes)===null||r===void 0?void 0:r.totalCount);else if(!((o=t?.geometry)===null||o===void 0)&&o.type){let g=t.geometry.type;d.symbol=x[t.geometry.type](i,Object.assign({},n[g])),this.clearHoverActiveGraphics(s)}d.attributes=Object.assign(Object.assign({},d.attributes),{[c]:s}),h.add(d)}setCalloutSymbolOnPointerMove(e){this.view.hitTest(e,{include:this.calloutGraphicsLayer}).then(t=>{if(this.clearHoverActiveGraphics(!1),t.results.length){let i=j(t.results),{graphic:s}=i;this.addHighlightGraphic(!0,s,b.HOVER,!1)}})}setLocationEditPopover(e){this.view.hitTest(e,{include:[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer]}).then(t=>{if(t.results.length){let{results:[i]}=t,s=i.layer===this.unsavedGeometryGraphicsLayer,a=i.layer===this.geometryGraphicsLayer,r,o,n;if(s){let h=this.unsavedGeometryGraphicsLayer.graphics.findIndex(c=>c===i.graphic);r=void 0,o=h,n=!0}if(a&&this.activePost){let{id:h}=this.activePost,{graphic:{attributes:{id:c,__index__:l}}}=i,d=l||null;h===c&&(r=h,o=d,n=!1)}if(o!==void 0){let{geometry:h,attributes:c}=i.graphic;this.activeGraphicDetails={id:r,index:o,unsaved:n,geometry:h};let l=c?.pending?this.renderPostLocationPrimaryOptions:this.renderPostLocationEditOptions;this.arcgisHubMapPopoverOpen.emit({geometry:h,view:this.view,render:l,source:"action"})}}})}publishPendingGraphics(){this.unsavedGeometryGraphicsLayer.graphics.forEach(e=>{e.attributes.pending&&delete e.attributes.pending}),this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.map(e=>(e.properties.pending&&delete e.properties.pending,e))}deletePendingGraphics(){let e=this.unsavedGeometryGraphicsLayer.graphics.find(t=>{var i;return(i=t.attributes)===null||i===void 0?void 0:i.pending});this.unsavedGeometryGraphicsLayer.remove(e),this.currentDiscussionsRef&&(this.currentDiscussionsRef.unsavedFeatures=this.currentDiscussionsRef.unsavedFeatures.filter(t=>t.properties.pending?!t.properties.pending:!0))}removeLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>this.removeLayer(e))}hideLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=.1)}showLayers(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer,this.highlightGraphicsLayer].forEach(e=>e.opacity=1)}removeLayer(e){e&&e.destroy()}emptyFeatures(){[this.geometryGraphicsLayer,this.unsavedGeometryGraphicsLayer,this.calloutGraphicsLayer].forEach(e=>e.removeAll())}addGraphicsToGraphicsLayer(e,t){e.addMany(t)}async refreshFeatures(e){this.emptyFeatures(),this.resetSelect(),e.forEach(d=>{var g;return d.properties.totalCount=(g=d.properties.replyCount)!==null&&g!==void 0?g:0});let t=({geometry:d})=>!!d,i=e.map(this.makeGraphic).filter(t),s=e.map(this.makeCalloutGraphic).filter(t),a=({properties:d})=>!!H(d.discussion).features,r=e.filter(a),o=Array.from(new Set(r.map(({properties:{discussion:d}})=>H(d).features.map(g=>g)).flat()));await this.cacheRelatedFeatureGeometry(o);let n=[],h=[];for(let d of r){if(h.includes(d.properties.id))continue;h.push(d.properties.id);let{properties:g}=d,{features:v}=H(g.discussion);g.totalCount=0,v.forEach(y=>{var R;let D=({properties:{relatedFeatureId:G}})=>G==y,C=n.find(D);if(C){let{properties:G}=C,oe=((R=g.totalCount)!==null&&R!==void 0?R:0)+1;G.totalCount+=oe}else try{let G=this.getRelatedFeature(y);G.properties=Object.assign(Object.assign({},d.properties),{relatedFeatureId:y}),n.push(G)}catch(G){console.warn("Failed to access post related feature:",G.message)}})}let c=n.map(this.makeCalloutGraphic),l=[...s,...c];this.addGraphicsToGraphicsLayer(this.geometryGraphicsLayer,i),this.addGraphicsToGraphicsLayer(this.calloutGraphicsLayer,l),this.activeFeature&&(this.selectFeature(this.activeFeature),this.activeFeature=void 0)}pointToExtent(e,t=.0025){let{x:i,y:s,spatialReference:a}=e;return new ne({xmin:i-t,ymin:s-t,xmax:i+t,ymax:s+t,spatialReference:a})}goTo(e){if(!this.view)return;let t=e;t.geometry&&t.geometry.type==="point"&&(t=this.pointToExtent(t.geometry)),t.extent&&(t=t.extent.clone().expand(2)),this.view.goTo({target:t},{duration:1e3}).catch(i=>{ce(i)||console.error("Failed to zoom map to target feature or extent:",i.message)})}postToGeoJSON(e,t){return{type:"Feature",geometry:e,properties:t}}makeGraphic(e){var t;let i=W(e),s=J.fromJSON(i);return!((t=s?.geometry)===null||t===void 0)&&t.type&&(s.symbol=x[s.geometry.type](b.DEFAULT,this.themeWithDefaults[s.geometry.type])),s}makeCalloutGraphic(e){var t;let{is3D:i}=this,{callout:s}=x,{geometry:a,properties:r}=e,[o,n]=a.coordinates.flat(1/0),h=!r.relatedFeatureId&&e.geometry.type==="Point",c=W({type:"Feature",geometry:{type:"Point",coordinates:[o,n]},properties:Object.assign(Object.assign({},r),{replyCount:r.replyCount||0,isOffset:h})}),l=J.fromJSON(c);return l.symbol=s(b.DEFAULT,Object.assign(Object.assign({},this.themeWithDefaults.callout),{isOffset:h,is3D:i}),(t=e.properties)===null||t===void 0?void 0:t.totalCount),l}getRelatedFeature(e){return{type:"Feature",geometry:this.cachedRelatedFeatureGeometry[e].geojson,properties:{}}}async cacheRelatedFeatureGeometry(e){let{cachedRelatedFeatureGeometry:t,targetLayer:i}=this;if(!i){console.warn("Discussions service layer not defined; ingnoring related features");return}let s=Object.keys(t),a=e.filter(r=>!s.includes(`${r}`));if(a.length){let r={where:"1=1",objectIds:a.map(n=>+n),returnGeometry:!0,outSpatialReference:{wkid:4326},outFields:[this.targetLayer.objectIdField,this.targetLayer.displayField]},{features:o}=await this.targetLayer.queryFeatures(r);o.forEach(({geometry:n,attributes:h})=>{let c=O(n);this.cachedRelatedFeatureGeometry[h[this.targetLayer.objectIdField]]={arcgis:n,geojson:c}})}}getMatchingGraphic(e){let{properties:{id:t,relatedFeatureId:i,index:s,unsaved:a}}=e,r;return i&&this.cachedRelatedFeatureGeometry[i]?r=new J({geometry:this.cachedRelatedFeatureGeometry[i].arcgis}):r=a?this.unsavedGeometryGraphicsLayer.graphics.getItemAt(s):this.getGraphicById(t,s),r}getGraphicById(e,t){return this.geometryGraphicsLayer.graphics.find(({attributes:{id:s,__index__:a}})=>{let r=t!==null?t==a:!0;return s===e&&r})}highlightGraphic(e){this.clearHighlights(),e&&this.view.whenLayerView(e.layer).then(t=>{this.highlightHandle=t.highlight(e)})}clearHighlights(){this.highlightHandle&&(this.highlightHandle.remove(),this.highlightHandle=null)}clearHoverActiveGraphics(e){let{persistAttribute:t,highlightGraphicsLayer:i}=this;if(e)i.removeAll();else{let s=i.graphics.filter(({attributes:a})=>!a[t]);i.removeMany(s.toArray())}}removeViewHandlers(){[this.mapPointerMoveHandler,this.mapClickDiscussionsHandler,this.mapViewSizeChangeHandler,this.mapViewCenterChangeHandler].forEach(e=>{e&&(e.remove(),e=null)})}resetSelect(){this.clearHighlights()}saveInitialDrawOptions(){let{drawRef:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.initialDrawOptions={buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}restoreInitialDrawOptions(){let{initialDrawOptions:{buffer:e,disableEditOptions:t,disablePrimaryOptions:i,enableMapTips:s}}=this;this.drawRef.buffer=e,this.drawRef.disableEditOptions=t,this.drawRef.disablePrimaryOptions=i,this.drawRef.enableMapTips=s,this.drawRef.setActiveTool(void 0),this.drawRef.forceReset()}resetStagedFeatures(){this.currentDiscussionsRef.unsavedFeatures=[],this.currentDiscussionsRef.unsavedRelatedFeatures=[],this.currentDiscussionsRef.unsavedExistingFeatures=[],this.unsavedExistingGeometry.forEach(({id:e,index:t,geometry:i})=>{let s=this.getGraphicById(e,t);s.geometry=i}),this.unsavedExistingGeometry=[]}handleMapClickDiscussions(e){this.view.hitTest(e,{include:[this.calloutGraphicsLayer]}).then(t=>{if(t.results.length){this.searchRef&&(this.searchRef.active=!1),this.preview=!1,this.clearHoverActiveGraphics(!0);let i=j(t.results),{graphic:s}=i;this.graphicGeometry=s.geometry,this.isOffset=s.attributes.isOffset;let{attributes:{parentId:a,channelId:r,id:o,relatedFeatureId:n}}=s;if(n){let h=n;this.activeMapDiscussion={channelId:r,locationId:h}}else this.activeMapDiscussion={channelId:r,postId:a?o:void 0,parentId:a||o};this.addHighlightGraphic(!0,s,b.ACTIVE,!0),setTimeout(()=>{this.preview=!0},0)}})}handleViewSizeChange(){let{view:{height:e,width:t}}=this;this.viewHeight=e,this.viewWidth=t}handlePointerMove(e){this.setCalloutSymbolOnPointerMove(e),this.setLocationEditPopover(e)}handleEditActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.editGraphic(e,t,i)}handleDeleteActiveGraphic(){let{id:e,index:t,unsaved:i}=this.activeGraphicDetails;this.removeGraphic(e,null,t,i),this.arcgisHubMapPopoverClear.emit()}handlePostPendingGraphic(){this.publishPendingGraphics(),this.arcgisHubMapPopoverClear.emit(),this.currentDiscussionsRef.unsavedFeatures.length===1&&(this.drawRef.drawTip=this.intl.t("draw.tip"))}get searchParams(){var e;let t={channels:(e=this.discussionSettings)===null||e===void 0?void 0:e.allowedChannelIds,discussion:this.discussion};return Object.entries(t).reduce((i,[s,a])=>a?Object.assign(Object.assign({},i),{[s]:a}):i,{})}get currentDiscussionsRef(){return this.activeMapDiscussion?this.onMapDiscussionsRef:this.discussionsRef}get themeWithDefaults(){let{theme:e}=this,t={};return["point","polyline","polygon","callout"].forEach(i=>{t[i]=Object.assign(Object.assign({},X[i]),e[i])}),t}get is3D(){let{view:e}=this;return e.hasOwnProperty("camera")}get targetLayer(){return this.view.map.allLayers.filter(e=>e.type==="feature"&&!this.layerIds.includes(e.id)).getItemAt(0)}get styles(){let{view:e,viewWidth:t,viewHeight:i,leftOffset:s,topOffset:a,previewHeight:r,preview:o}=this,n={};if(e){let{container:h}=e;if(!h)return;let{top:c,left:l,right:d,bottom:g}=h.getBoundingClientRect();n={"--left-offset":`${s??0}px`,"--top-offset":`${a??0}px`,"--panel-left":`${l??0}px`,"--panel-height":`${o?(i??0)-(r??0):(g??0)-(c??0)}px`,"--panel-width":`${(d??0)-(l??0)}px`,"--view-width":`${t??0}px`,"--view-height":`${i??0}px`}}return n}renderAddLocation(){let{intl:e,sketchPostType:t}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.addRelatedFeature,text:e.t(`prompt.add.${t}`),textEnabled:!0})),u("calcite-action-group",null,u("calcite-action",{icon:"undo",onClick:this.cancelAddRelatedFeature,text:e.t("prompt.remove.existing"),textEnabled:!0})))}renderRemoveLocation(){return u("calcite-action-pad",{"expand-disabled":!0,expanded:!0,layout:"horizontal"},u("calcite-action",{icon:"trash",onClick:this.removeRelatedFeature,text:this.intl.t("location.remove"),textEnabled:!0}))}renderPostLocationPrimaryOptions(){let{activeGraphicDetails:{geometry:{type:e}},intl:t,sketchPostType:i}=this;return u($,null,u("calcite-action-group",null,u("calcite-action",{icon:"check",onClick:this.handlePostPendingGraphic,text:t.t(`prompt.add.${i}`),"text-enabled":!0})),u("calcite-action-group",null,u("calcite-action",{icon:e==="point"?"move":"pencil",onClick:this.handleEditActiveGraphic,text:t.t(`prompt.edit.${e}`),"text-enabled":!0}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:t.t(`prompt.remove.${e}`),"text-enabled":!0})))}renderPostLocationEditOptions(){let{intl:e}=this;return u("calcite-action-pad",{"expand-disabled":!0,layout:"horizontal"},u("calcite-action",{icon:"pencil",onClick:this.handleEditActiveGraphic,text:e.t("prompt.location.edit")}),u("calcite-action",{icon:"trash",onClick:this.handleDeleteActiveGraphic,text:e.t("prompt.location.delete")}))}renderMapDiscussion(){let{activeMapDiscussion:e,discussion:t,isHub:i,entityId:s,entity:a,entityType:r,showChannelAvatar:o,showChannelName:n,discussionSettings:h}=this;return this.preview?u("arcgis-hub-discussions-map-preview",{channelId:e.channelId,discussion:t,locationId:e.locationId,parentId:e.postId?e.parentId:void 0,postId:e.postId||e.parentId,ref:c=>{this.onMapDiscussionsPreviewRef=c},showChannelAvatar:o}):u("arcgis-hub-discussions",{channelId:e.channelId,disableNavigation:!e.locationId,discussion:t,discussionSettings:h,dismissible:!0,enableGoTo:!0,entity:a,entityId:s,entityType:r,hasMap:!0,isHub:i,locationId:e.locationId,parentId:e.parentId,postId:e.postId,ref:c=>{this.onMapDiscussionsRef=c},showChannelAvatar:o,showChannelName:n})}render(){let{activeMapDiscussion:e,styles:t,view:i,mapActionNoticeActive:s}=this;return u(S,{key:"ce412a38001cdec7c0839f6e168e1cc9615d0d3a","data-element":"discussions-map-integrator",style:t},e&&this.renderMapDiscussion(),i&&s&&u("arcgis-hub-discussions-map-action-notice",{view:i}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}static get watchers(){return{_context:["initialize"],view:["attachView"],discussionsRef:["attachdiscussionsRef"],drawRef:["handleDrawRefUpdate"],preview:["calculateOffsets"],previewHeight:["calculateOffsets"]}}};m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryGoTo",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeature",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureDeleted",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureSelect",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryFeatureHighlight",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleFeatureRemove",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawCreate",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawTypeSelect",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleActiveToolChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEdit",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handlePostEditorReady",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawEditCancel",null);m([f({when(e){return e.target===this.drawRef}})],p.prototype,"handleDrawGraphicsChange",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryDrawReset",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleGeometryClearAll",null);m([f({when(e){return this.eventTargetIsDiscussionsRef(e)}})],p.prototype,"handleDiscussionsClose",null);m([F({timeout:50})],p.prototype,"setLocationEditPopover",null);m([f({when(e){return e}}),F({timeout:50})],p.prototype,"refreshFeatures",null);m([f({when(){return this.geometryGraphicsLayer}})],p.prototype,"getGraphicById",null);m([f({when(){return this.highlightGraphicsLayer}})],p.prototype,"clearHoverActiveGraphics",null);m([f({when(){return this.drawRef}})],p.prototype,"saveInitialDrawOptions",null);m([f({when(){return this.drawRef&&this.initialDrawOptions}})],p.prototype,"restoreInitialDrawOptions",null);m([f({when(){return this.currentDiscussionsRef}})],p.prototype,"resetStagedFeatures",null);m([f({when(){return!this.mapActionNoticeActive}})],p.prototype,"handleMapClickDiscussions",null);m([F({timeout:50})],p.prototype,"handleViewSizeChange",null);m([F({timeout:15})],p.prototype,"handlePointerMove",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationPrimaryOptions",null);m([f({when(){return!!(this.drawRef&&!this.drawRef.geometry)}})],p.prototype,"renderPostLocationEditOptions",null);p.style=fe;function ye(e){return[{key:"point",text:e.t("point"),sourceIndex:0},{key:"rectangle",text:e.t("rectangle"),sourceIndex:0},{key:"draw",text:e.t("draw"),sourceIndex:0}]}var ve=":host{display:block}arcgis-hub-map-widget-search calcite-dropdown{position:absolute}arcgis-hub-map-widget-search calcite-input{width:var(--width)}arcgis-hub-map-widget-search calcite-dropdown-group{width:var(--width)}.hub-widget-search.top{position:absolute;width:var(--width)}.hub-widget-search.right{right:100%;margin-right:1rem}.hub-widget-search.left{left:100%;margin-left:1rem}",we=ve,re=function(e,t,i,s){var a=arguments.length,r=a<3?t:s===null?s=Object.getOwnPropertyDescriptor(t,i):s,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(e,t,i,s);else for(var n=e.length-1;n>=0;n--)(o=e[n])&&(r=(a<3?o(r):a>3?o(t,i,r):o(t,i))||r);return a>3&&r&&Object.defineProperty(t,i,r),r},U=class{get inputScale(){return this.scale==="s"?"m":"l"}constructor(e){_(this,e),this.arcgisHubGeometryResultSelection=I(this,"arcgisHubGeometryResultSelection",7),this.arcgisHubWidgetPanelToggled=I(this,"arcgisHubWidgetPanelToggled",7),this.hubTelemetry=I(this,"hubTelemetry",7),this.tools=void 0,this.scale="m",this.view=void 0,this.searchViewModelProperties={},this.active=void 0,this.openMenuOnSearchSelection=!1,this.completeValidSearch=void 0,this.loading=void 0,this.suggestions=[],this.value=void 0,this.width="25rem",M(this,"handleSetInputRef","searchIfEnter","toggleActive","setInputWidth")}async componentWillLoad(){let{el:e}=this,t=e&&e.closest("arcgis-hub-map-widget-container");this.viewPosition=t?.viewPosition,this.intl=await P.loadIntlForComponent(e),await this.connectViewModel()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}componentDidLoad(){V()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}handleActiveChange(e){let{hubTelemetry:t}=this,i=e?w.dictionary.category.interaction.action.open.label.search:w.dictionary.category.interaction.action.close.label.search;t.emit(i),this.setInputWidth()}handleValueChange(){let{value:e,searchViewModel:t}=this;t&&e===""&&t.clear()}handleSearchViewModelChange(){this.connectViewModel()}handlePanelToggled(e){let{target:t,detail:i}=e,{el:s}=this;t!==s&&!i&&(this.active=!1)}onCalciteAutocompleteClose(e){let t=e.target.value;this.completeValidSearch?(t!=="draw"&&this.arcgisHubGeometryResultSelection.emit({geometry:this._getGeometry(t),userSelection:t,locationName:T(this.completeValidSearch,"results[0].results[0].name")}),this.suggestions=[]):(this.selectedKey=t,this.value=this.selected.text,this.search())}onCalciteAutocompleteTextChange(e){this.value=e.target.inputValue}onCalciteAutocompleteTextInput(e){this.value=e.target.inputValue,this.value&&this.getSuggestions()}async handleSetInputRef(e){e&&(this.inputEl=e,await e.setFocus())}async getSuggestions(){let{value:e,completeValidSearch:t,hubTelemetry:i,searchViewModel:s}=this;i.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.search.label.query),{search:e}));let{results:[a]}=await s.suggest(e);t?this.completeValidSearch=null:this.suggestions=a?.results||[]}_getGeometry(e){let t;switch(e){case"point":t=T(this.completeValidSearch,"results[0].results[0].feature.geometry");break;case"rectangle":t=T(this.completeValidSearch,"results[0].results[0].extent");break}return t}async search(){let{value:e,hubTelemetry:t,searchViewModel:i}=this;this.loading=!0;let s=this.selected||e,a=await i.search(s);t.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.to),{details:a?.searchTerm})),this.loading=!1,this.selectedKey=null,setTimeout(()=>{this.completeValidSearch=a?.numResults===1?a:null,this.tools&&this.completeValidSearch?this.addLocationType():this.suggestions=[],this.openMenuOnSearchSelection&&(this.inputEl.open=!0)},150)}addLocationType(){let e=ye(this.intl).filter(t=>this.isValidLocationType(t.key+""));this.suggestions=e.length===1?[]:e}isValidLocationType(e){return this.tools.includes(e)&&!!this._getGeometry(e)||e==="draw"}searchIfEnter(e){let{key:t}=e;t==="Enter"&&this.search()}toggleActive(){let{active:e,arcgisHubWidgetPanelToggled:t}=this;this.active=!e,t.emit(e)}connectWatch(){let{view:e}=this;e&&(this.handle=L(()=>e.size,this.setInputWidth))}removeWatch(){let{handle:e}=this;e&&e.remove(),this.handle=void 0}async connectViewModel(){let{view:e}=this;e&&(await e.when(),this.searchViewModel=new le(Object.assign({autoSelect:!0,suggestionsEnabled:!0,maxResults:1,maxSuggestions:5,minSuggestCharacters:3,view:e},this.searchViewModelProperties)))}setInputWidth(){let{inputEl:e,view:{size:t}}=this;if(!e)return;let[i]=t;this.width=i<600?`${i*.65}px`:"25rem"}get positionClass(){let{viewPosition:e}=this;if(e)return`hub-widget-search ${e.split("-").join(" ")}`}get selected(){let{suggestions:e,selectedKey:t}=this;return e.filter(({key:i})=>i===t).pop()}get styles(){let{width:e}=this;return{"--width":e}}render(){let{value:e,loading:t,scale:i,active:s,styles:a}=this,r=this.intl.t("textOpen"),o=this.intl.t("textClose"),n=this.intl.t("placeholder");return u(S,{key:"e6f2f99d38252ee605da42ac7444c1081c6040a0","data-element":"map-widget-search",style:a},this.active&&u("section",{class:this.positionClass},u("calcite-autocomplete",{icon:"search",loading:t,onKeyPress:this.searchIfEnter,placeholder:n,ref:this.handleSetInputRef,scale:this.inputScale,value:e},this.suggestions.map(h=>u("calcite-autocomplete-item",{handle:!0,heading:h.text,key:h.key,value:h.key})))),u("arcgis-hub-map-widget-generic",{key:"75d5010ec337ce13d5e3cae92b2057a89f1bf843",active:s,"data-test":"map-widget-search",icon:"search",onClick:this.toggleActive,scale:i,text:s?o:r}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"],active:["handleActiveChange"],value:["handleValueChange"],searchViewModelProperties:["handleSearchViewModelChange"]}}};re([F({timeout:150})],U.prototype,"getSuggestions",null);re([F({timeout:25})],U.prototype,"setInputWidth",null);U.style=we;var be="",Ge=be,Ie=class{constructor(e){_(this,e),this.hubTelemetry=I(this,"hubTelemetry",7),this.handles=[],this.view=void 0,this.scale="m",this.canZoomIn=void 0,this.canZoomOut=void 0,M(this,"zoomIn","zoomOut","updateCanZoomIn","updateCanZoomOut")}async componentWillLoad(){let{el:e}=this;this.intl=await P.loadIntlForComponent(e),await this.connectViewModel(),this.connectWatch(),V()}connectedCallback(){this.connectWatch()}disconnectedCallback(){this.removeWatch()}handleViewChange(e,t){e&&e!==t&&(this.removeWatch(),this.connectViewModel().then(()=>{this.connectWatch()}))}connectWatch(){let{view:e,handles:t,zoomViewModel:i}=this;e&&i&&t.push(L(()=>i.canZoomIn,this.updateCanZoomIn),L(()=>i.canZoomOut,this.updateCanZoomOut))}removeWatch(){let{handles:e}=this;e.forEach(t=>{t.remove()}),this.handles=[]}async connectViewModel(){let{view:e}=this;if(e){await e.when(),this.zoomViewModel=new de({view:e});let{canZoomIn:t,canZoomOut:i}=this.zoomViewModel;this.canZoomIn=t,this.canZoomOut=i}}updateCanZoomIn(e){this.canZoomIn=e}updateCanZoomOut(e){this.canZoomOut=e}zoomIn(){let{zoomViewModel:e,canZoomIn:t,view:i}=this;e&&t&&(e.zoomIn(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.in),{details:i.zoom})))}zoomOut(){let{zoomViewModel:e,canZoomOut:t,view:i}=this;e&&t&&(this.zoomViewModel.zoomOut(),this.hubTelemetry.emit(Object.assign(Object.assign({},w.dictionary.category.interaction.action.zoom.label.out),{details:i.zoom})))}render(){let{zoomIn:e,zoomOut:t,canZoomIn:i,canZoomOut:s,scale:a}=this,r=this.intl.t("zoomIn"),o=this.intl.t("zoomOut");return u(S,{key:"72e18144a87ea9afdaa5c213bb1fec9417e60518","data-element":"map-widget-zoom"},u("arcgis-hub-map-widget-generic",{key:"d4500ad8e952c706e5f8452cc5826e5dd893e922","data-test":"map-widget-zoom-in",disabled:!i,icon:"plus",onClick:e,scale:a,text:r}),u("arcgis-hub-map-widget-generic",{key:"35705de04180d659268f4312a15d57e2bdc9dd5e","data-test":"map-widget-zoom-out",disabled:!s,icon:"minus",onClick:t,scale:a,text:o}))}static get assetsDirs(){return["locales"]}get el(){return E(this)}static get watchers(){return{view:["handleViewChange"]}}};Ie.style=Ge;return{arcgis_hub_discussions_map_integrator:p,arcgis_hub_map_widget_search:U,arcgis_hub_map_widget_zoom:Ie}},"layers/GraphicsLayer","core/reactiveUtils","geometry/support/webMercatorUtils","geometry/Extent","Graphic","core/promiseUtils","geometry/geometryEngine","widgets/Search/SearchViewModel","widgets/Zoom/ZoomViewModel","config",a,c,d)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import"./PQIJDMDJ.js";var a={chart:"Diagramm",barChart:"Lintdiagramm",lineChart:"Joondiagramm",pieChart:"Sektordiagramm",histogram:"Histogramm",scatterplot:"Punktdiagramm",boxPlot:"Karpdiagramm"},e={mean:"Keskmine",median:"Keskmine",sum:"Summa",discretePercentile:"Diskreetne protsentiil",minimum:"Miinimum",maximum:"Maksimum",variance:"Dispersioon",count:"Kogus",aggregation:"${ statistics } /${ fieldName }",noAggregation:"Agregeerimist pole"},i="Diagramm",t="Sarjade arv",s="X-telg",m="Pole k\xE4ttesaadav",r={start:"Haagi esimesse andmepunkti",end:"Haagi viimasesse andmepunkti"},n={chartType:a,statistics:e,defaultTitle:i,countSeries:t,xAxis:s,notAvailable:m,timeAggregationTypes:r};export{a as chartType,t as countSeries,n as default,i as defaultTitle,m as notAvailable,e as statistics,r as timeAggregationTypes,s as xAxis};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- function M(n){let{host:i,path:a,query:u}=n,p=i.endsWith("/")?i:`${i}/`,h=new URL(a,p);return h.search=tt(u),h.toString()}function tt(n={}){let i=Object.keys(n).filter(a=>n[a]!==void 0).reduce((a,u)=>(a[u]=n[u],a),{});return new URLSearchParams(i).toString()}var $=class extends Error{constructor(i,a,u){super(i),this.status=u,this.url=a}};function T(){T=function(){return i};var n,i={},a=Object.prototype,u=a.hasOwnProperty,p=Object.defineProperty||function(e,t,r){e[t]=r.value},h=typeof Symbol=="function"?Symbol:{},f=h.iterator||"@@iterator",v=h.asyncIterator||"@@asyncIterator",l=h.toStringTag||"@@toStringTag";function m(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{m({},"")}catch{m=function(t,r,s){return t[r]=s}}function j(e,t,r,s){var o=t&&t.prototype instanceof U?t:U,c=Object.create(o.prototype),y=new N(s||[]);return p(c,"_invoke",{value:X(e,r,y)}),c}function L(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(s){return{type:"throw",arg:s}}}i.wrap=j;var D="suspendedStart",b="suspendedYield",x="executing",E="completed",d={};function U(){}function F(){}function O(){}var q={};m(q,f,function(){return this});var C=Object.getPrototypeOf,A=C&&C(C(W([])));A&&A!==a&&u.call(A,f)&&(q=A);var _=O.prototype=U.prototype=Object.create(q);function I(e){["next","throw","return"].forEach(function(t){m(e,t,function(r){return this._invoke(t,r)})})}function R(e,t){function r(o,c,y,g){var w=L(e[o],e,c);if(w.type!=="throw"){var G=w.arg,P=G.value;return P&&typeof P=="object"&&u.call(P,"__await")?t.resolve(P.__await).then(function(k){r("next",k,y,g)},function(k){r("throw",k,y,g)}):t.resolve(P).then(function(k){G.value=k,y(G)},function(k){return r("throw",k,y,g)})}g(w.arg)}var s;p(this,"_invoke",{value:function(o,c){function y(){return new t(function(g,w){r(o,c,g,w)})}return s=s?s.then(y,y):y()}})}function X(e,t,r){var s=D;return function(o,c){if(s===x)throw new Error("Generator is already running");if(s===E){if(o==="throw")throw c;return{value:n,done:!0}}for(r.method=o,r.arg=c;;){var y=r.delegate;if(y){var g=Y(y,r);if(g){if(g===d)continue;return g}}if(r.method==="next")r.sent=r._sent=r.arg;else if(r.method==="throw"){if(s===D)throw s=E,r.arg;r.dispatchException(r.arg)}else r.method==="return"&&r.abrupt("return",r.arg);s=x;var w=L(e,t,r);if(w.type==="normal"){if(s=r.done?E:b,w.arg===d)continue;return{value:w.arg,done:r.done}}w.type==="throw"&&(s=E,r.method="throw",r.arg=w.arg)}}}function Y(e,t){var r=t.method,s=e.iterator[r];if(s===n)return t.delegate=null,r==="throw"&&e.iterator.return&&(t.method="return",t.arg=n,Y(e,t),t.method==="throw")||r!=="return"&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+r+"' method")),d;var o=L(s,e.iterator,t.arg);if(o.type==="throw")return t.method="throw",t.arg=o.arg,t.delegate=null,d;var c=o.arg;return c?c.done?(t[e.resultName]=c.value,t.next=e.nextLoc,t.method!=="return"&&(t.method="next",t.arg=n),t.delegate=null,d):c:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,d)}function Z(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function B(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function N(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(Z,this),this.reset(!0)}function W(e){if(e||e===""){var t=e[f];if(t)return t.call(e);if(typeof e.next=="function")return e;if(!isNaN(e.length)){var r=-1,s=function o(){for(;++r<e.length;)if(u.call(e,r))return o.value=e[r],o.done=!1,o;return o.value=n,o.done=!0,o};return s.next=s}}throw new TypeError(typeof e+" is not iterable")}return F.prototype=O,p(_,"constructor",{value:O,configurable:!0}),p(O,"constructor",{value:F,configurable:!0}),F.displayName=m(O,l,"GeneratorFunction"),i.isGeneratorFunction=function(e){var t=typeof e=="function"&&e.constructor;return!!t&&(t===F||(t.displayName||t.name)==="GeneratorFunction")},i.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,O):(e.__proto__=O,m(e,l,"GeneratorFunction")),e.prototype=Object.create(_),e},i.awrap=function(e){return{__await:e}},I(R.prototype),m(R.prototype,v,function(){return this}),i.AsyncIterator=R,i.async=function(e,t,r,s,o){o===void 0&&(o=Promise);var c=new R(j(e,t,r,s),o);return i.isGeneratorFunction(t)?c:c.next().then(function(y){return y.done?y.value:c.next()})},I(_),m(_,l,"Generator"),m(_,f,function(){return this}),m(_,"toString",function(){return"[object Generator]"}),i.keys=function(e){var t=Object(e),r=[];for(var s in t)r.push(s);return r.reverse(),function o(){for(;r.length;){var c=r.pop();if(c in t)return o.value=c,o.done=!1,o}return o.done=!0,o}},i.values=W,N.prototype={constructor:N,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(B),!e)for(var t in this)t.charAt(0)==="t"&&u.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=n)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if(e.type==="throw")throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function r(w,G){return c.type="throw",c.arg=e,t.next=w,G&&(t.method="next",t.arg=n),!!G}for(var s=this.tryEntries.length-1;s>=0;--s){var o=this.tryEntries[s],c=o.completion;if(o.tryLoc==="root")return r("end");if(o.tryLoc<=this.prev){var y=u.call(o,"catchLoc"),g=u.call(o,"finallyLoc");if(y&&g){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(y){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!g)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var s=this.tryEntries[r];if(s.tryLoc<=this.prev&&u.call(s,"finallyLoc")&&this.prev<s.finallyLoc){var o=s;break}}o&&(e==="break"||e==="continue")&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var c=o?o.completion:{};return c.type=e,c.arg=t,o?(this.method="next",this.next=o.finallyLoc,d):this.complete(c)},complete:function(e,t){if(e.type==="throw")throw e.arg;return e.type==="break"||e.type==="continue"?this.next=e.arg:e.type==="return"?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):e.type==="normal"&&t&&(this.next=t),d},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),B(r),d}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var s=r.completion;if(s.type==="throw"){var o=s.arg;B(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,r){return this.delegate={iterator:W(e),resultName:t,nextLoc:r},this.method==="next"&&(this.arg=n),d}},i}function z(n,i,a,u,p,h,f){try{var v=n[h](f),l=v.value}catch(m){a(m);return}v.done?i(l):Promise.resolve(l).then(u,p)}function V(n){return function(){var i=this,a=arguments;return new Promise(function(u,p){var h=n.apply(i,a);function f(l){z(h,u,p,f,v,"next",l)}function v(l){z(h,u,p,f,v,"throw",l)}f(void 0)})}}function S(){return S=Object.assign?Object.assign.bind():function(n){for(var i=1;i<arguments.length;i++){var a=arguments[i];for(var u in a)Object.prototype.hasOwnProperty.call(a,u)&&(n[u]=a[u])}return n},S.apply(this,arguments)}function et(n,i){var a=n.scope,u=n.startDate,p=n.endDate,h=n.metrics,f=n.dimensions,v=n.dimensionFilters,l=n.timeDimension,m=n.orderBy,j=n.limit,L=n.offset,D=n.emptyRows,b=i.customDimensionsConfig,x=f!=null&&f.length&&b?rt(f,b):f,E=b?nt(v,b):v;return S({},i,{httpMethod:"POST",params:{scope:a,dateRange:{startDate:u,endDate:p},metrics:h,dimensions:x,dimensionFilters:E,timeDimension:l,orderBy:m,limit:j,offset:L,emptyRows:D}})}function rt(n,i){return n.map(function(a){var u=i[a];return u?"dimension"+u:a})}function nt(n,i){return n===void 0&&(n=[]),n.map(function(a){var u=i[a.name];return u?S({},a,{name:"dimension"+u}):a})}var J;function ot(n,i,a){return(J=J||V(T().mark(function u(p,h,f){var v,l,m,j,L,D,b,x;return T().wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return v=et(h,f),l=v.authentication,m=v.httpMethod,j=v.params,L=v.hubApiUrl,D={headers:{"Content-Type":"application/json",Authorization:""+l?.token},method:m,body:JSON.stringify(j)},b=M({host:L||"https://hub.arcgis.com",path:"/api/telemetry/v1/"+p.replace(/^\//,"")}),d.next=5,fetch(b,D);case 5:if(x=d.sent,x.ok){d.next=8;break}throw new $("Error! status: ",b,x.status);case 8:return d.abrupt("return",x.json());case 9:case"end":return d.stop()}},u)}))).apply(this,arguments)}var Q;function st(n,i){return(Q=Q||V(T().mark(function a(u,p){var h,f;return T().wrap(function(l){for(;;)switch(l.prev=l.next){case 0:return l.next=2,ot("/report",u,p);case 2:if(h=l.sent,f=p.customDimensionsConfig,!it(u.dimensions,f)){l.next=6;break}return l.abrupt("return",ut(h,f));case 6:return l.abrupt("return",h);case 7:case"end":return l.stop()}},a)}))).apply(this,arguments)}function it(n,i){return!n||!i?!1:n.some(function(a){return Object.keys(i).includes(a)})}function at(n){return n===void 0&&(n={}),Object.keys(n).reduce(function(i,a){return i["dimension"+n[a]]=a,i},{})}function ut(n,i){var a=n.data,u=at(i);return n.data=a.map(function(p){return Object.keys(p).reduce(function(h,f){return f.includes("dimension")?h[u[f]]=p[f]:h[f]=p[f],h},{})}),n}var H;(function(n){n.sessions="session-activity:count",n.custom="other-events:count",n["page-views"]="page-views:count",n["session-activity"]="session-activity:average"})(H||(H={}));var K;(function(n){n.hour="hour",n.day="day",n.week="week",n.month="month"})(K||(K={}));function ct(n){return Object.entries(n).filter(function(i){var a=i[1];return typeof a=="string"}).map(function(i){var a=i[0],u=i[1];return{name:a,any:[u]}})}export{st as a,H as b,K as c,ct as d};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as C,b as _}from"./RWTNAH7T.js";import{a as x,b as P,c as $}from"./AMWG552O.js";import{a as f}from"./FRKOTY2O.js";import c from"./PHHVD3BA.js";import{a as d,b as y,c as v,l as N}from"./GCK4QOCN.js";import"./HMMZN5NL.js";import"./2UEVASKF.js";import"./CFM5ADMI.js";import"./ZGXPZ4WC.js";import"./CU2C3XHB.js";import"./Q5FJFSV2.js";import"./XZP5UJQ7.js";import"./D7AFAUQN.js";import"./SAJ76IOF.js";import"./EQBC3T3H.js";import"./3HFVBFLE.js";import"./ZWUVB24W.js";import"./FPY3ND7L.js";import"./7VTPJ74Q.js";import"./T5ZYYQXM.js";import"./LRQBSIJQ.js";import"./YGVSQOA2.js";import"./YMLEPRVQ.js";import"./GLRI4XFT.js";import{a as w}from"./GDN4JAHO.js";import{B as m,C as u,G as s,I as b,a as g,d as i,n as r,p}from"./H2AQFQ6W.js";import"./XSCGY6R6.js";import"./KEPHYMMN.js";import"./QBJ6ALCR.js";import"./PCHLCJBU.js";import"./ZOT2CBOT.js";import"./VZ7IOYUY.js";import"./6SBLPFVP.js";import"./DNGAJCEJ.js";import"./OZPNCFKF.js";import"./HZDGEANK.js";import"./RWX7KHPR.js";import a from"./4EVULSKN.js";import"./T35HMGWF.js";import"./PI5JFJYI.js";import"./44ZPUBHK.js";import"./HZDEDJAA.js";import"./IUNJR6B2.js";import"./WVGJA2BO.js";import"./ADSOTXLX.js";import"./Q5ZKK74I.js";import"./I2FW4TKD.js";import"./NR6654T3.js";import"./UX4VYBBP.js";import"./5UBBGG47.js";import"./J2Z3H7KN.js";import"./L77FEMIJ.js";import"./662ASTW3.js";import"./Y3JSZUIT.js";import"./7UM2JUNG.js";import"./G7MKMNLH.js";import"./KGN6JUG7.js";import"./WREW2VMB.js";import"./BT773XGO.js";import"./ZFKEPLPZ.js";import"./MBDXMRMB.js";import"./NJV2IIEX.js";import"./7DAOPALD.js";import"./VUS5HDIX.js";import"./A7L4ED6V.js";import"./SNXQZUGV.js";import"./VFYZQF3P.js";import"./N2PDDBPH.js";import"./DXU52RUQ.js";import"./7CWAKRWQ.js";import"./NNOVHCKQ.js";import"./CW5BKG7K.js";import"./X3BMFKXF.js";import"./4H6LJFQS.js";import"./36KWNN3Y.js";import"./UM4H5BN3.js";import"./5U43IXKQ.js";import"./DTDF6Y6R.js";import"./T54XA7XS.js";import"./5Y2CNX4M.js";import"./UI23XBKS.js";import"./PJLPTEGG.js";import"./K3U2NSRE.js";import"./5AR4R7B7.js";import"./W26L6553.js";import"./3LJEHD46.js";import"./UOFWMMF6.js";import"./BRB4T4JN.js";import"./QXAEAYSC.js";import"./Z2WRG3CZ.js";import"./UR7KVMUO.js";import"./7UPHPYDK.js";import"./LU7V3XFD.js";import"./MP3X2RCP.js";import"./62IVG53J.js";import"./2UPXNQGO.js";import"./DUZQHVD5.js";import"./4KCUYLHK.js";import"./67YHG7DB.js";import"./XJDMZCDS.js";import"./NJNAL3B7.js";import"./J373NRPJ.js";import"./DLD46EDJ.js";import"./C7SUKHGV.js";import"./MBIUEXEB.js";import"./GM2ICPLX.js";import"./VVGLJLE7.js";import"./UTSPTHEW.js";import"./XOTNANB5.js";import"./4JCVWOVQ.js";import"./XN6NZYLJ.js";import"./BQBPUMIH.js";import"./FIQZB2Z7.js";import"./FKT55K7U.js";import"./X7AGLYO7.js";import"./SLMXJ5YL.js";import"./CVF6DB4C.js";import"./YLA62NZR.js";import"./4UOSKPDF.js";import"./GTNBV3BK.js";import"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import"./JOCSBXYM.js";import"./BFVDRNL6.js";import"./4JOOF6WA.js";import"./CF7CVKAA.js";import"./PXO5YC5X.js";import"./HXGTCRIK.js";import"./ZLEVX3F6.js";import{f as I}from"./PQIJDMDJ.js";export default $arcgis.t(([])=>{var h=I(w(),1);var S=g`@layer{arcgis-layout-node-highlight{--button-height: 30px;--label-height: 30px;opacity:0;position:absolute;calcite-label{position:fixed;position-anchor:var(--anchor-element-name);inset-block:calc(anchor(top) - var(--label-height)) calc(anchor(top) + 2px);background-color:#fff;padding:2px 5px;border:solid 2px var(--calcite-ui-brand);border-bottom:none}calcite-button{position:fixed;position-anchor:var(--anchor-element-name);justify-self:anchor-center;inset-block-start:calc(anchor(bottom) - var(--button-height) / 2)}.popover-content{max-height:19.3rem;overflow-y:auto}calcite-list-item{--calcite-list-border-color: transparent}}.current-node+arcgis-layout-node-highlight{opacity:1}}`,l=h.dictionary.category.interaction.action.select.label.layoutNode,B=[{tag:"arcgis-text-card",label:"{{layoutNodeControls.configurableNodes.text.label:translate}}",icon:"text",defaults:{html:"<p>{{layoutNodeControls.configurableNodes.text.default:translate}}</p>"},telemetry:{...l,details:"Text card"}},{tag:"arcgis-hub-image",label:"{{layoutNodeControls.configurableNodes.image.label:translate}}",icon:"image",disabled:!0,defaults:{src:"https://placehold.co/300x200?text=Image",alt:"Placeholder image"},telemetry:{...l,details:"Image card"}},{tag:"arcgis-hub-embed-card",label:"{{layoutNodeControls.configurableNodes.embed.label:translate}}",icon:"embedded-content",telemetry:{...l,details:"Embed card"}},{tag:"arcgis-hub-gallery-card",label:"{{layoutNodeControls.configurableNodes.gallery.label:translate}}",icon:"gallery",defaults:{showEmptyState:!0,cardConfig:{appearance:{layout:"grid-filled"},shouldLimitResults:!0,limit:5,query:{targetEntity:"item",layout:"grid-filled",filters:[{predicates:[{orgid:["{{context.portal.id}}"]}]}]}}},telemetry:{...l,details:"Gallery card"}}];async function k(L,e,t){let o=B.filter(n=>!n.permissions||n.permissions.length===0?!0:n.permissions.every(O=>N(O,t).access)),a={context:t,entity:e.entity??{}},E={messages:d(e,"translations")};return o=C(o,a,E),await Promise.resolve(o)}var A=_(k),c=class extends u{constructor(){super(),this.#e=m({context:x}),this.isPopoverOpen=!1,this.arcgisLayoutAddNode=r(),this.hubTelemetry=r(),this.listen("calcitePopoverBeforeOpen",this.loadConfig),this.listen("calcitePopoverOpen",e=>{this.isPopoverOpen=!0}),this.listen("calcitePopoverClose",e=>{this.isPopoverOpen=!1})}static{this.properties={config:16,isPopoverOpen:16,node:0,highlightedNode:0}}static{this.shadowRootOptions=p}static{this.styles=S}get addButtonId(){return this.node?`add-button-${this.node.id}`:void 0}#e;get _messages(){return this.#e.value.messages}get referenceElement(){return this.el.previousElementSibling}get _layoutNodeConfig(){if(!this.referenceElement||!this.node)return;let e=P(this.referenceElement,this.node);return e&&(e=$(this._messages,e)),v(e)}get _context(){return f()}willUpdate(e){e.has("highlightedNode")&&(!this.highlightedNode||this.node?.id!==this.highlightedNode.id)&&(this.isPopoverOpen=!1)}updated(e){let t=`--overlay-anchor-${this.node?.id}`;this.el.style.setProperty("--anchor-element-name",t)}_handlePopoverOpen(){this.hubTelemetry.emit(h.dictionary.category.interaction.action.open.label.dialog.details.addLayoutNode)}async loadConfig(){this.config||(this.config=await A({},{translations:this._messages},this._context))}_handleListItemSelect(e){let t=e.target.dataset.tag,o=this.config?.find(a=>a.tag===t);if(this.node&&o){let a={adjacentNode:this.node,position:"after",config:o};this.arcgisLayoutAddNode.emit(a)}}renderLabel(){let e;if(this.node!==void 0&&this.highlightedNode!==void 0&&this.node.id===this.highlightedNode.id){let t=y(this._layoutNodeConfig??{},"i18n.label",d(this._messages,"layoutNodeControls.configurableNodes.default.label"));e=i`<calcite-label scale=l>${t}</calcite-label>`}return e}renderControls(){let e;return this.node&&(e=i`<calcite-button icon-start=plus id=${this.addButtonId??s} .label=${this._messages.addButtonLabel} round></calcite-button>`),e}renderPopover(){let e;return this.node&&this.addButtonId&&(e=i`<calcite-popover auto-close .heading=${this._messages.addElementPopoverHeading} .label=${this._messages.addElementPopoverLabel} @calcitePopoverOpen=${this._handlePopoverOpen} .open=${this.isPopoverOpen} .referenceElement=${this.addButtonId}><div class="popover-content"><calcite-list .label=${this._messages.addElementListLabel}>${this.config?.map(t=>i`<calcite-list-item data-tag=${t.tag??s} .disabled=${t.disabled} icon-start=${t.icon??s} .label=${t.label} @calciteListItemSelect=${this._handleListItemSelect}></calcite-list-item>`)}</calcite-list></div></calcite-popover>`),e}render(){return i`${this.renderLabel()}${this.renderControls()}${this.renderPopover()}`}};b("arcgis-layout-node-highlight",c);return c},a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as m}from"./XOTNANB5.js";import{b as o}from"./XN6NZYLJ.js";import{h as n}from"./BQBPUMIH.js";function $(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/protect`;return n(e,r)})}function f(r){return m(r).then(t=>{let e=`${o(r)}/content/users/${t}/items/${r.id}/unprotect`;return n(e,r)})}export{$ as a,f as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{b as l}from"./XN6NZYLJ.js";function r(t){if(typeof t=="string")return t.replace(/\/sharing\/rest\/?$/,"");if(typeof t=="object"){let o=t.portalSelf||t,{portalHostname:a,urlKey:s,customBaseUrl:n}=o;if(a||s&&n)return o.isPortal?`https://${o.portalHostname}`:`https://${o.urlKey}.${o.customBaseUrl}`}return r(l(t))}function m(t,e){return`${r(e)}/home/item.html?id=${t}`}export{r as a,m as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- var o={logLevel:"error"},r="arcgisHubConfig",l=Object.assign(Object.assign({},o),globalThis[r]),n=l.logLevel,t={all:0,debug:1,info:2,warn:3,error:4,off:5},s=class{static log(e,...i){this.isLevelPermitted(t.debug)&&console.log(e,...i)}static debug(e,...i){this.isLevelPermitted(t.debug)&&console.debug(e,...i)}static info(e,...i){this.isLevelPermitted(t.info)&&console.info(e,...i)}static warn(e,...i){this.isLevelPermitted(t.warn)&&console.warn(e,...i)}static error(e,...i){this.isLevelPermitted(t.error)&&console.error(e,...i)}static isLevelPermitted(e){return t[n]<=e}};export{s as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{e as l}from"./ZGXPZ4WC.js";function d(i){let{metricId:e}=i;return e?.includes("_")&&(e=e.split("_")[0]),e}function v(i,e,a){e=m(e);let n=Object.assign({value:"--"},e),o=d(e);if(i?.features){let t,r=p(i.features,o);if(r){t=r.attributes[o];let s=e.fieldType;if(t)if(s==="esriFieldTypeDate"&&e.statistic!=="count")t=a.formatDate(t);else if(r.attributes.valueType==="date"&&e.type==="static"){let[c,u,f]=t.split("-");t=a.formatDate(new Date(c,Number(u)-1,f))}else(!isNaN(parseFloat(t))||l.includes(s))&&a.formatNumber(t)!=="NaN"&&(t=a.formatNumber(t,{style:"decimal",maximumFractionDigits:2}))}t=t||"--",n=Object.assign({value:t},e)}return n}function m(i){return i.border=i.border||!1,i}function p(i,e){return i.filter(n=>n?.attributes).find(n=>n.attributes.hasOwnProperty(e))}export{v as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{g as r}from"./W26L6553.js";function n(e){return e==="Feature Service"?"data":e?r(e):"file"}export{n as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.20/esri/copyright.txt for details.
3
- v0.20.0 */
4
- import{a as s}from"./7BZLFOHY.js";import{g as a}from"./OVDWHM7H.js";import{da as r}from"./NJV2IIEX.js";import"./7DAOPALD.js";import"./VUS5HDIX.js";import"./A7L4ED6V.js";import"./SNXQZUGV.js";import"./VFYZQF3P.js";import"./DXU52RUQ.js";import"./7CWAKRWQ.js";import"./NNOVHCKQ.js";import"./CW5BKG7K.js";import"./X3BMFKXF.js";import"./4H6LJFQS.js";import"./36KWNN3Y.js";import"./UM4H5BN3.js";import"./5U43IXKQ.js";import"./DTDF6Y6R.js";import"./T54XA7XS.js";import"./5Y2CNX4M.js";import"./UI23XBKS.js";import"./PJLPTEGG.js";import"./K3U2NSRE.js";import"./5AR4R7B7.js";import"./W26L6553.js";import"./3LJEHD46.js";import"./UOFWMMF6.js";import"./BRB4T4JN.js";import"./LU7V3XFD.js";import"./MP3X2RCP.js";import"./62IVG53J.js";import"./2UPXNQGO.js";import"./DUZQHVD5.js";import"./4KCUYLHK.js";import"./67YHG7DB.js";import"./XJDMZCDS.js";import"./NJNAL3B7.js";import"./J373NRPJ.js";import"./DLD46EDJ.js";import"./C7SUKHGV.js";import"./MBIUEXEB.js";import"./GM2ICPLX.js";import"./VVGLJLE7.js";import"./UTSPTHEW.js";import"./XOTNANB5.js";import"./4JCVWOVQ.js";import"./XN6NZYLJ.js";import"./BQBPUMIH.js";import{c as h}from"./FKT55K7U.js";import"./X7AGLYO7.js";import"./CVF6DB4C.js";import"./YLA62NZR.js";import"./4UOSKPDF.js";import"./GTNBV3BK.js";import"./QHKSRB2Z.js";import"./ING2FCZV.js";import"./H2I2FSVB.js";import"./TYXK2R62.js";import"./HDXNEYLJ.js";import{a as e}from"./MBNTFPVY.js";import{a as o}from"./65MWFV3Z.js";import"./7KQ5EAN4.js";import"./QKC35XTL.js";import"./JOCSBXYM.js";import"./BFVDRNL6.js";import{b as t,c as n,d as m,e as p,i as c}from"./4JOOF6WA.js";import"./CF7CVKAA.js";import"./PXO5YC5X.js";import"./HXGTCRIK.js";import"./ZLEVX3F6.js";import"./PQIJDMDJ.js";var b=4,l=".initiative-about__projects.sc-arcgis-hub-initiative-about calcite-button.sc-arcgis-hub-initiative-about{margin-top:1.5rem}h2.sc-arcgis-hub-initiative-about{margin:0 0 0.75rem 0;font-size:var(--calcite-font-size-2);line-height:1.5rem;font-weight:var(--calcite-font-weight-bold)}@media only screen and (max-width: 768px){arcgis-hub-entity-about.sc-arcgis-hub-initiative-about{gap:2rem}}",d=l,g=class{constructor(i){c(this,i),this.arcgisHubEntityAboutTabChange=p(this,"arcgisHubEntityAboutTabChange",7),this.handleTabChange=u=>{this.arcgisHubEntityAboutTabChange.emit(u)},this.entity=void 0,this.path="",this._associatedProjectsCount=0,e(this,"handleTabChange")}async init(){if(this._associatedProjectsQuery=this.initiative&&await a(this.initiative,"project",this._context),this._associatedProjectsQuery){let{total:i}=await r(this._associatedProjectsQuery,{requestOptions:this._context.hubRequestOptions});this._associatedProjectsCount=i}}get initiative(){return this.entity}get _context(){return h()}async componentWillLoad(){this.intl=await o.loadIntlForComponent(this.element),this.init()}renderAssociatedProjects(){return t("div",{class:"initiative-about__projects"},t("h2",null,this.intl.t("project")),t("arcgis-hub-gallery",{layout:"grid",limit:b,"link-target":"siteRelative",path:this.path,query:this._associatedProjectsQuery,showAdditionalInfo:!1,sortField:"modified",sortOrder:"desc"}),t("calcite-button",{appearance:"outline","data-scroll":"scroll","data-tab":s.Projects,onClick:this.handleTabChange,round:!0},this.intl.t("exploreAllProjects")))}render(){return t(n,{key:"5401ed15537e29148eea95582e466be714955703","data-element":"initiative-about"},t("arcgis-hub-entity-about",{key:"3e1e71bd9ac2e17cd0422e8f4a84eb235590b131",entity:this.entity},t("div",{key:"a41b3d5196950c1ae36a1067d2cb8ffdbbc1d948",slot:"main"},this._associatedProjectsCount>0&&this.renderAssociatedProjects())))}static get assetsDirs(){return["locales"]}get element(){return m(this)}static get watchers(){return{entity:["init"]}}};g.style=d;export{g as arcgis_hub_initiative_about};