@esri/hub-web-components 0.15.0 → 0.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (1358) hide show
  1. package/dist/cdn/25GZJ35S.js +4 -0
  2. package/dist/cdn/26E7CRX5.js +4 -0
  3. package/dist/cdn/27TH25Z7.js +4 -0
  4. package/dist/cdn/2BWSSRB4.js +4 -0
  5. package/dist/cdn/2CKGOJC7.js +4 -0
  6. package/dist/cdn/2IWJCHPW.js +4 -0
  7. package/dist/cdn/2NNAA2QV.js +4 -0
  8. package/dist/cdn/2R243H5K.js +4 -0
  9. package/dist/cdn/2TLHCNTF.js +4 -0
  10. package/dist/cdn/2UUTTTDF.js +4 -0
  11. package/dist/cdn/2VQ76URL.js +4 -0
  12. package/dist/cdn/2YJ4GKRK.js +4 -0
  13. package/dist/cdn/2ZNZM6DW.js +4 -0
  14. package/dist/cdn/2ZXJNCQF.js +4 -0
  15. package/dist/cdn/36I2FKQT.js +4 -0
  16. package/dist/cdn/3ADDFNVN.js +4 -0
  17. package/dist/cdn/3BAPJYYO.js +4 -0
  18. package/dist/cdn/3FQQNFHT.js +4 -0
  19. package/dist/cdn/3GDU4SQA.js +4 -0
  20. package/dist/cdn/3LOGMW66.js +4 -0
  21. package/dist/cdn/3O74A7LO.js +4 -0
  22. package/dist/cdn/3OQ4PSYN.js +4 -0
  23. package/dist/cdn/3PGXAYTG.js +4 -0
  24. package/dist/cdn/3PZCQRXR.js +25 -0
  25. package/dist/cdn/3SCXKR5E.js +4 -0
  26. package/dist/cdn/3SQ3ETVU.js +4 -0
  27. package/dist/cdn/3TVVYUN7.js +4 -0
  28. package/dist/cdn/3XEJ6WZC.js +4 -0
  29. package/dist/cdn/3Y23DGKT.js +4 -0
  30. package/dist/cdn/3YHBU653.js +4 -0
  31. package/dist/cdn/424WH5VI.js +4 -0
  32. package/dist/cdn/42POGEUY.js +4 -0
  33. package/dist/cdn/42UKYVTV.js +4 -0
  34. package/dist/cdn/437KAQU5.js +4 -0
  35. package/dist/cdn/456YNAAD.js +4 -0
  36. package/dist/cdn/45MTB2HL.js +4 -0
  37. package/dist/cdn/45SVWDFF.js +4 -0
  38. package/dist/cdn/4AT4VGOV.js +4 -0
  39. package/dist/cdn/4DMYZNEX.js +4 -0
  40. package/dist/cdn/4EBK37AR.js +4 -0
  41. package/dist/cdn/4EQNVR5K.js +52 -0
  42. package/dist/cdn/4FQXDOFU.js +4 -0
  43. package/dist/cdn/4FXHIX37.js +4 -0
  44. package/dist/cdn/4FYCYMNN.js +4 -0
  45. package/dist/cdn/4HKTGVC4.js +4 -0
  46. package/dist/cdn/4I6QI6FP.js +4 -0
  47. package/dist/cdn/4IENVMQP.js +4 -0
  48. package/dist/cdn/4IO65JDG.js +4 -0
  49. package/dist/cdn/4J7ZYMNY.js +4 -0
  50. package/dist/cdn/4LNLNT25.js +4 -0
  51. package/dist/cdn/4MXN2NAV.js +4 -0
  52. package/dist/cdn/4QKD6HND.js +4 -0
  53. package/dist/cdn/4S7ZSXAW.js +4 -0
  54. package/dist/cdn/4SWMNWCX.js +4 -0
  55. package/dist/cdn/4UWUU35L.js +4 -0
  56. package/dist/cdn/4WQ7YVVE.js +4 -0
  57. package/dist/cdn/4XOIDGQW.js +4 -0
  58. package/dist/cdn/4Z4DIUKK.js +4 -0
  59. package/dist/cdn/52EAA37U.js +4 -0
  60. package/dist/cdn/53KUZZXW.js +4 -0
  61. package/dist/cdn/5CHJA46F.js +4 -0
  62. package/dist/cdn/5E67YYYO.js +4 -0
  63. package/dist/cdn/5EQ5PKVN.js +4 -0
  64. package/dist/cdn/5HHI56NM.js +4 -0
  65. package/dist/cdn/5IG7C36W.js +4 -0
  66. package/dist/cdn/5KUPKDSE.js +4 -0
  67. package/dist/cdn/5L2PODXT.js +4 -0
  68. package/dist/cdn/5LNYSV7R.js +4 -0
  69. package/dist/cdn/5M4W7VCQ.js +4 -0
  70. package/dist/cdn/5MKHD6YA.js +4 -0
  71. package/dist/cdn/5PDBJSNY.js +4 -0
  72. package/dist/cdn/5PT6OE4Q.js +4 -0
  73. package/dist/cdn/5RVPBHAB.js +4 -0
  74. package/dist/cdn/5SX6KLHN.js +4 -0
  75. package/dist/cdn/5SXQEIQD.js +4 -0
  76. package/dist/cdn/5TQ5TK35.js +4 -0
  77. package/dist/cdn/5UUTBZ2U.js +4 -0
  78. package/dist/cdn/5V2V5PBO.js +4 -0
  79. package/dist/cdn/5VID5GYV.js +4 -0
  80. package/dist/cdn/5W3ZX45W.js +4 -0
  81. package/dist/cdn/64B3T673.js +4 -0
  82. package/dist/cdn/64F6PGCX.js +4 -0
  83. package/dist/cdn/64IH5T63.js +4 -0
  84. package/dist/cdn/65GZGQWP.js +4 -0
  85. package/dist/cdn/65XLZDR3.js +4 -0
  86. package/dist/cdn/66WCJ7IE.js +4 -0
  87. package/dist/cdn/6A6S42JZ.js +4 -0
  88. package/dist/cdn/6BCAPTM4.js +4 -0
  89. package/dist/cdn/6CA3XT46.js +4 -0
  90. package/dist/cdn/6EHFVHC6.js +4 -0
  91. package/dist/cdn/6GMOH6WL.js +4 -0
  92. package/dist/cdn/6HCR2OHJ.js +4 -0
  93. package/dist/cdn/6HHX27UF.js +4 -0
  94. package/dist/cdn/6INEDRGJ.js +5 -0
  95. package/dist/cdn/6MRKIMZZ.js +4 -0
  96. package/dist/cdn/6NCQDZHS.js +4 -0
  97. package/dist/cdn/6TWTSD4G.js +4 -0
  98. package/dist/cdn/6U7E3KAG.js +4 -0
  99. package/dist/cdn/6VNVCS7M.js +4 -0
  100. package/dist/cdn/6X2AHRD3.js +4 -0
  101. package/dist/cdn/6YEN4DN7.js +4 -0
  102. package/dist/cdn/72R6WIEL.js +5 -0
  103. package/dist/cdn/742MFW5L.js +4 -0
  104. package/dist/cdn/74BEU2ZP.js +4 -0
  105. package/dist/cdn/75HYZECA.js +4 -0
  106. package/dist/cdn/76S52VNU.js +4 -0
  107. package/dist/cdn/76YTOUGA.js +4 -0
  108. package/dist/cdn/7AZLMQAO.js +4 -0
  109. package/dist/cdn/7BLSKHJQ.js +4 -0
  110. package/dist/cdn/7BY6SOH5.js +4 -0
  111. package/dist/cdn/7D4E5PZW.js +4 -0
  112. package/dist/cdn/7FUJGCRU.js +4 -0
  113. package/dist/cdn/7GBZNXSF.js +4 -0
  114. package/dist/cdn/7HNJDWAI.js +4 -0
  115. package/dist/cdn/7IYO4DRP.js +4 -0
  116. package/dist/cdn/7KEQ4U6L.js +4 -0
  117. package/dist/cdn/7KNRJEUR.js +5 -0
  118. package/dist/cdn/7L5TYB6F.js +4 -0
  119. package/dist/cdn/7LFAMVTA.js +4 -0
  120. package/dist/cdn/7O5OMO5M.js +4 -0
  121. package/dist/cdn/7P3BQXTX.js +4 -0
  122. package/dist/cdn/7U45X552.js +4 -0
  123. package/dist/cdn/7V2XOZXO.js +4 -0
  124. package/dist/cdn/7VA273UU.js +4 -0
  125. package/dist/cdn/7X4V2O3R.js +4 -0
  126. package/dist/cdn/7YNRCMSL.js +4 -0
  127. package/dist/cdn/7ZWP4I4G.js +4 -0
  128. package/dist/cdn/A354WYBS.js +4 -0
  129. package/dist/cdn/A4CKNLSG.js +4 -0
  130. package/dist/cdn/A5LNHXJZ.js +4 -0
  131. package/dist/cdn/AAOSIIHS.js +4 -0
  132. package/dist/cdn/ACETULKB.js +4 -0
  133. package/dist/cdn/ACUEIXXF.js +4 -0
  134. package/dist/cdn/AFAKQV25.js +4 -0
  135. package/dist/cdn/AG4ECUV2.js +4 -0
  136. package/dist/cdn/AGEBNAN2.js +4 -0
  137. package/dist/cdn/AHKZIIDG.js +4 -0
  138. package/dist/cdn/AIQZKB5N.js +4 -0
  139. package/dist/cdn/AITQBCN2.js +4 -0
  140. package/dist/cdn/AJUOFKOQ.js +4 -0
  141. package/dist/cdn/ALZCH4YX.js +4 -0
  142. package/dist/cdn/AMEAHUVE.js +4 -0
  143. package/dist/cdn/AMQI7D7M.js +4 -0
  144. package/dist/cdn/AMTXUYV3.js +6 -0
  145. package/dist/cdn/ANWK3QDE.js +4 -0
  146. package/dist/cdn/AQSE7MJU.js +4 -0
  147. package/dist/cdn/ASGFF3GV.js +4 -0
  148. package/dist/cdn/ASR3BV3A.js +4 -0
  149. package/dist/cdn/ASVMCDKR.js +4 -0
  150. package/dist/cdn/AT3NQXBG.js +4 -0
  151. package/dist/cdn/AUCTAMQG.js +4 -0
  152. package/dist/cdn/AUFXLO7F.js +4 -0
  153. package/dist/cdn/AV3APYTE.js +4 -0
  154. package/dist/cdn/AWPPUGBG.js +4 -0
  155. package/dist/cdn/AXXRBLXN.js +4 -0
  156. package/dist/cdn/AYVSAXZW.js +4 -0
  157. package/dist/cdn/B2576TFR.js +4 -0
  158. package/dist/cdn/B5DGZ74V.js +4 -0
  159. package/dist/cdn/B5DVNZWJ.js +4 -0
  160. package/dist/cdn/B5NRJW3Z.js +4 -0
  161. package/dist/cdn/B7PRREKF.js +4 -0
  162. package/dist/cdn/BDPUC3MA.js +4 -0
  163. package/dist/cdn/BFIPAC4I.js +4 -0
  164. package/dist/cdn/BGMW7MRX.js +4 -0
  165. package/dist/cdn/BI3QNJCZ.js +4 -0
  166. package/dist/cdn/BJCMA6SZ.js +4 -0
  167. package/dist/cdn/BKZWGTIM.js +4 -0
  168. package/dist/cdn/BL3GQXKS.js +4 -0
  169. package/dist/cdn/BM2OKETH.js +4 -0
  170. package/dist/cdn/BNZBME5A.js +4 -0
  171. package/dist/cdn/BO5GPB5U.js +4 -0
  172. package/dist/cdn/BPQLY247.js +4 -0
  173. package/dist/cdn/BQWSCEUJ.js +4 -0
  174. package/dist/cdn/BS2VXPR4.js +4 -0
  175. package/dist/cdn/BT4KFGFI.js +4 -0
  176. package/dist/cdn/BT6XFMCF.js +4 -0
  177. package/dist/cdn/BTQF2LU2.js +4 -0
  178. package/dist/cdn/BV6MYUUA.js +4 -0
  179. package/dist/cdn/BVBTGQ2V.js +4 -0
  180. package/dist/cdn/BVK43M7A.js +4 -0
  181. package/dist/cdn/BWB7LL3C.js +4 -0
  182. package/dist/cdn/BWT73WOK.js +4 -0
  183. package/dist/cdn/BYCJ7EN6.js +4 -0
  184. package/dist/cdn/C4P3S6BG.js +4 -0
  185. package/dist/cdn/C7BYUUC3.js +4 -0
  186. package/dist/cdn/CBNZSQYM.js +4 -0
  187. package/dist/cdn/CCXRPN2J.js +4 -0
  188. package/dist/cdn/CDB2GOA6.js +4 -0
  189. package/dist/cdn/CEUZGMUB.js +4 -0
  190. package/dist/cdn/CGGX767X.js +4 -0
  191. package/dist/cdn/CGUS2J4N.js +4 -0
  192. package/dist/cdn/CJA3BHSR.js +4 -0
  193. package/dist/cdn/CJKIL3CL.js +4 -0
  194. package/dist/cdn/CLOVESUF.js +4 -0
  195. package/dist/cdn/COJMPJSQ.js +4 -0
  196. package/dist/cdn/CSB5R22P.js +4 -0
  197. package/dist/cdn/CT22EXNT.js +4 -0
  198. package/dist/cdn/CTFSREYS.js +4 -0
  199. package/dist/cdn/CVIG4M5F.js +4 -0
  200. package/dist/cdn/CVPEFHE7.js +4 -0
  201. package/dist/cdn/CX2MUGTB.js +4 -0
  202. package/dist/cdn/CX4VWOCZ.js +4 -0
  203. package/dist/cdn/D25JFC2W.js +4 -0
  204. package/dist/cdn/D4B42TUJ.js +5 -0
  205. package/dist/cdn/D4KEOID2.js +4 -0
  206. package/dist/cdn/D6FJEJJU.js +41 -0
  207. package/dist/cdn/D7BTD44I.js +4 -0
  208. package/dist/cdn/D7H6TG7P.js +4 -0
  209. package/dist/cdn/D7IUYFE5.js +4 -0
  210. package/dist/cdn/DCK22ESG.js +4 -0
  211. package/dist/cdn/DEBZ6DET.js +4 -0
  212. package/dist/cdn/DGZDXURJ.js +4 -0
  213. package/dist/cdn/DIKFJATW.js +4 -0
  214. package/dist/cdn/DJQUVFJ6.js +4 -0
  215. package/dist/cdn/DJT6CFW3.js +4 -0
  216. package/dist/cdn/DLAKIX76.js +4 -0
  217. package/dist/cdn/DLD4ZINS.js +4 -0
  218. package/dist/cdn/DLHNZCXR.js +4 -0
  219. package/dist/cdn/DLOCL72H.js +4 -0
  220. package/dist/cdn/DNVEQBUQ.js +4 -0
  221. package/dist/cdn/DO4TE3R6.js +4 -0
  222. package/dist/cdn/DPCLHMKD.js +4 -0
  223. package/dist/cdn/DR6XSXPO.js +59 -0
  224. package/dist/cdn/DRUEA4UA.js +4 -0
  225. package/dist/cdn/DTKZTEXP.js +4 -0
  226. package/dist/cdn/DUHVGQ7U.js +4 -0
  227. package/dist/cdn/DVD7OTTE.js +4 -0
  228. package/dist/cdn/E4XR4BMX.js +4 -0
  229. package/dist/cdn/E6OQEVIU.js +9 -0
  230. package/dist/cdn/E732RDCY.js +4 -0
  231. package/dist/cdn/EAFQTRSW.js +4 -0
  232. package/dist/cdn/EDQMH7DB.js +4 -0
  233. package/dist/cdn/EED4RXNZ.js +4 -0
  234. package/dist/cdn/EEJXFO5I.js +4 -0
  235. package/dist/cdn/EGIGRI5Y.js +12 -0
  236. package/dist/cdn/EH4XSZYH.js +4 -0
  237. package/dist/cdn/EIVX2I4K.js +4 -0
  238. package/dist/cdn/EL5QSYKT.js +4 -0
  239. package/dist/cdn/ELKKXB4I.js +4 -0
  240. package/dist/cdn/EN2S6XTM.js +4 -0
  241. package/dist/cdn/EQLLO6JX.js +4 -0
  242. package/dist/cdn/ESDQ56BI.js +16 -0
  243. package/dist/cdn/ETLJNPV6.js +4 -0
  244. package/dist/cdn/ETQAM5SK.js +4 -0
  245. package/dist/cdn/EU6TVZQN.js +4 -0
  246. package/dist/cdn/EUWEE35Q.js +4 -0
  247. package/dist/cdn/EV6HOQMP.js +4 -0
  248. package/dist/cdn/EYAIJPTC.js +4 -0
  249. package/dist/cdn/F2KQKVU2.js +4 -0
  250. package/dist/cdn/F6YFVBBM.js +4 -0
  251. package/dist/cdn/FAAKYWFZ.js +4 -0
  252. package/dist/cdn/FDCQLL3G.js +4 -0
  253. package/dist/cdn/FGIZUXZS.js +4 -0
  254. package/dist/cdn/FGYGHUU3.js +4 -0
  255. package/dist/cdn/FI4YWVLS.js +4 -0
  256. package/dist/cdn/FM2MH3Z7.js +4 -0
  257. package/dist/cdn/FPZGIC5G.js +4 -0
  258. package/dist/cdn/FRIAKRTE.js +51 -0
  259. package/dist/cdn/FS5W5YIY.js +4 -0
  260. package/dist/cdn/FT5CT7LH.js +4 -0
  261. package/dist/cdn/FV4WYNYR.js +4 -0
  262. package/dist/cdn/FYOV5FID.js +4 -0
  263. package/dist/cdn/G3SNXWKK.js +4 -0
  264. package/dist/cdn/G3SOTCDQ.js +59 -0
  265. package/dist/cdn/G54IWZXU.js +4 -0
  266. package/dist/cdn/G6F2RXL2.js +4 -0
  267. package/dist/cdn/G6YF4UOF.js +4 -0
  268. package/dist/cdn/G7CRKPK6.js +4 -0
  269. package/dist/cdn/GAO2WMS2.js +4 -0
  270. package/dist/cdn/GAUNTMTU.js +4 -0
  271. package/dist/cdn/GK2GPCGW.js +4 -0
  272. package/dist/cdn/GKFGZWDH.js +4 -0
  273. package/dist/cdn/GKKATQPI.js +5470 -0
  274. package/dist/cdn/GKO56UU2.js +4 -0
  275. package/dist/cdn/GMEVXVJT.js +4 -0
  276. package/dist/cdn/GNZ7RB7D.js +4 -0
  277. package/dist/cdn/GRLBH5K6.js +4 -0
  278. package/dist/cdn/GRNLRQTK.js +4 -0
  279. package/dist/cdn/GSH4ZMSB.js +4 -0
  280. package/dist/cdn/GTWTIG2V.js +4 -0
  281. package/dist/cdn/GUPVTDLA.js +4 -0
  282. package/dist/cdn/GWOCJV3Z.js +4 -0
  283. package/dist/cdn/GX76SO3V.js +4 -0
  284. package/dist/cdn/H326YL4W.js +4 -0
  285. package/dist/cdn/H767IQU6.js +4 -0
  286. package/dist/cdn/HDPZCDQ4.js +4 -0
  287. package/dist/cdn/HE3DPWLU.js +4 -0
  288. package/dist/cdn/HFZWB4KY.js +4 -0
  289. package/dist/cdn/HGDHJLIA.js +4 -0
  290. package/dist/cdn/HGKTB36S.js +4 -0
  291. package/dist/cdn/HGT5WDAA.js +4 -0
  292. package/dist/cdn/HGTBLQKQ.js +4 -0
  293. package/dist/cdn/HKBERHQS.js +4 -0
  294. package/dist/cdn/HRIUXEHW.js +4 -0
  295. package/dist/cdn/HULAKF2C.js +4 -0
  296. package/dist/cdn/HX43Z6AH.js +4 -0
  297. package/dist/cdn/HXL7R737.js +4 -0
  298. package/dist/cdn/HXPRQ42X.js +4 -0
  299. package/dist/cdn/HXWX5SYL.js +4 -0
  300. package/dist/cdn/HY4LOXSB.js +4 -0
  301. package/dist/cdn/HYR4OU7N.js +4 -0
  302. package/dist/cdn/HYWU54U4.js +4 -0
  303. package/dist/cdn/I2L3N5NY.js +4 -0
  304. package/dist/cdn/I3DO5JDU.js +4 -0
  305. package/dist/cdn/I4C2A7OJ.js +4 -0
  306. package/dist/cdn/I4YQYWJC.js +4 -0
  307. package/dist/cdn/I5ZGWWES.js +4 -0
  308. package/dist/cdn/IC2OM6VG.js +4 -0
  309. package/dist/cdn/ICO45DN7.js +4 -0
  310. package/dist/cdn/ICSQCZ3D.js +4 -0
  311. package/dist/cdn/IFXJX6MT.js +4 -0
  312. package/dist/cdn/IGSBPZXO.js +4 -0
  313. package/dist/cdn/IMQVD5PD.js +4 -0
  314. package/dist/cdn/IOR3CKIL.js +4 -0
  315. package/dist/cdn/IRKKT3W4.js +4 -0
  316. package/dist/cdn/ITOXIPL4.js +4 -0
  317. package/dist/cdn/IUDV75UH.js +4 -0
  318. package/dist/cdn/IXEI35V3.js +4 -0
  319. package/dist/cdn/IXOUBOCR.js +4 -0
  320. package/dist/cdn/IYYFCWCF.js +5 -0
  321. package/dist/cdn/IZTNFMJP.js +4 -0
  322. package/dist/cdn/J2DIXV7O.js +4 -0
  323. package/dist/cdn/J54GG3XK.js +4 -0
  324. package/dist/cdn/JBV3FXH5.js +4 -0
  325. package/dist/cdn/JDWWRJ5E.js +4 -0
  326. package/dist/cdn/JEO6UXDT.js +4 -0
  327. package/dist/cdn/JETIC22B.js +4 -0
  328. package/dist/cdn/JIEFQP6F.js +4 -0
  329. package/dist/cdn/JIUOYBWB.js +4 -0
  330. package/dist/cdn/JM2GTXUC.js +4 -0
  331. package/dist/cdn/JNHLSYA2.js +4 -0
  332. package/dist/cdn/JPHWS4SM.js +4 -0
  333. package/dist/cdn/JR22WAND.js +4 -0
  334. package/dist/cdn/JRL75V64.js +4 -0
  335. package/dist/cdn/JVBRXESK.js +4 -0
  336. package/dist/cdn/JX5D3EZA.js +4 -0
  337. package/dist/cdn/JXTJKFKI.js +4 -0
  338. package/dist/cdn/JXWREVD4.js +4 -0
  339. package/dist/cdn/JYO6YGO5.js +4 -0
  340. package/dist/cdn/K34WFY5T.js +4 -0
  341. package/dist/cdn/K6PW6EP6.js +4 -0
  342. package/dist/cdn/K6QXRTKA.js +4 -0
  343. package/dist/cdn/KHMXWJ7D.js +4 -0
  344. package/dist/cdn/KIXPI6GD.js +4 -0
  345. package/dist/cdn/KLYQHTRE.js +4 -0
  346. package/dist/cdn/KMOMKKLH.js +4 -0
  347. package/dist/cdn/KTNNF7Z4.js +4 -0
  348. package/dist/cdn/KUHMOABE.js +4 -0
  349. package/dist/cdn/KUI4PCOY.js +4 -0
  350. package/dist/cdn/KUMVVSKC.js +4 -0
  351. package/dist/cdn/KWHMDOEM.js +4 -0
  352. package/dist/cdn/KX4QHZRO.js +4 -0
  353. package/dist/cdn/L6EN63C6.js +4 -0
  354. package/dist/cdn/L7KUYXRO.js +4 -0
  355. package/dist/cdn/LFMVMXBO.js +4 -0
  356. package/dist/cdn/LGFYKVAR.js +4 -0
  357. package/dist/cdn/LHOWM23Y.js +4 -0
  358. package/dist/cdn/LKLZE63R.js +4 -0
  359. package/dist/cdn/LL433B4K.js +4 -0
  360. package/dist/cdn/LLS65WGY.js +4 -0
  361. package/dist/cdn/LMKUXN6D.js +4 -0
  362. package/dist/cdn/LMKUZWQB.js +4 -0
  363. package/dist/cdn/LNKXT4L7.js +42 -0
  364. package/dist/cdn/LNMTE6AZ.js +4 -0
  365. package/dist/cdn/LOZ5GX3W.js +4 -0
  366. package/dist/cdn/LQUCDL75.js +4 -0
  367. package/dist/cdn/LRL2W5ZI.js +6 -0
  368. package/dist/cdn/LRXFLDQW.js +4 -0
  369. package/dist/cdn/LTFQMWPZ.js +4 -0
  370. package/dist/cdn/LUI64J2Y.js +4 -0
  371. package/dist/cdn/LV5XM7CN.js +4 -0
  372. package/dist/cdn/LW7I7NVT.js +4 -0
  373. package/dist/cdn/LWVQRWGL.js +4 -0
  374. package/dist/cdn/LXJK6UZ3.js +4 -0
  375. package/dist/cdn/LY3E47FG.js +4 -0
  376. package/dist/cdn/LYCQCP7X.js +4 -0
  377. package/dist/cdn/M56KBLO4.js +4 -0
  378. package/dist/cdn/MB2T74DY.js +4 -0
  379. package/dist/cdn/MELLL4FT.js +4 -0
  380. package/dist/cdn/MEZVVWGZ.js +4 -0
  381. package/dist/cdn/MFRDANTU.js +4 -0
  382. package/dist/cdn/MGUXRE5O.js +4 -0
  383. package/dist/cdn/MHEMLMKX.js +4 -0
  384. package/dist/cdn/MHJX66S5.js +4 -0
  385. package/dist/cdn/MIFKICLJ.js +4 -0
  386. package/dist/cdn/MJKTCX73.js +4 -0
  387. package/dist/cdn/MK3REZZO.js +4 -0
  388. package/dist/cdn/MLLCXIRI.js +4 -0
  389. package/dist/cdn/MLV4ZBAY.js +4 -0
  390. package/dist/cdn/MOGBTAVJ.js +4 -0
  391. package/dist/cdn/MRB6LVEZ.js +4 -0
  392. package/dist/cdn/MXSKKZXN.js +4 -0
  393. package/dist/cdn/N46CZEDC.js +4 -0
  394. package/dist/cdn/N5GZ5Q6L.js +4 -0
  395. package/dist/cdn/N6EUMNFK.js +4 -0
  396. package/dist/cdn/NBC524B4.js +4 -0
  397. package/dist/cdn/NCRPBWUW.js +4 -0
  398. package/dist/cdn/NCYDN5RP.js +4 -0
  399. package/dist/cdn/NGYD3IYC.js +4 -0
  400. package/dist/cdn/NHS3H2PE.js +4 -0
  401. package/dist/cdn/NIOGFUIE.js +4 -0
  402. package/dist/cdn/NJQM3VWV.js +4 -0
  403. package/dist/cdn/NLCGFO2T.js +4 -0
  404. package/dist/cdn/NMIMUEMT.js +4 -0
  405. package/dist/cdn/NNBNN7TZ.js +4 -0
  406. package/dist/cdn/NNSTFS74.js +4 -0
  407. package/dist/cdn/NOBQFPOH.js +12 -0
  408. package/dist/cdn/NOTJXNY2.js +4 -0
  409. package/dist/cdn/NP2IMA33.js +4 -0
  410. package/dist/cdn/NQGONDKB.js +4 -0
  411. package/dist/cdn/NRXQHCVY.js +4 -0
  412. package/dist/cdn/NS75KKN5.js +4 -0
  413. package/dist/cdn/NSJHBARJ.js +4 -0
  414. package/dist/cdn/NVPXMS4J.js +4 -0
  415. package/dist/cdn/NXE3KGIQ.js +4 -0
  416. package/dist/cdn/NYHKCGG4.js +4 -0
  417. package/dist/cdn/O2WK6KFK.js +4 -0
  418. package/dist/cdn/O5IKU6ZT.js +4 -0
  419. package/dist/cdn/O6OYSKNK.js +4 -0
  420. package/dist/cdn/O7PDTSPE.js +4 -0
  421. package/dist/cdn/O7TUI7BX.js +4 -0
  422. package/dist/cdn/OBJKKHP5.js +4 -0
  423. package/dist/cdn/OIAMODPR.js +4 -0
  424. package/dist/cdn/OJV4HZN4.js +4 -0
  425. package/dist/cdn/OKEWD2A5.js +4 -0
  426. package/dist/cdn/OKQIX2CQ.js +4 -0
  427. package/dist/cdn/OMC4MXCR.js +4 -0
  428. package/dist/cdn/OP7IPC2S.js +4 -0
  429. package/dist/cdn/OPOY4IB3.js +4 -0
  430. package/dist/cdn/OPUY3LH5.js +4 -0
  431. package/dist/cdn/OR7HHG32.js +4 -0
  432. package/dist/cdn/OTDCGWUX.js +4 -0
  433. package/dist/cdn/OUY46OEK.js +4 -0
  434. package/dist/cdn/OXUHPNLK.js +4 -0
  435. package/dist/cdn/OY7KPFQP.js +4 -0
  436. package/dist/cdn/OYL5JSCH.js +4 -0
  437. package/dist/cdn/OZPBR7XN.js +4 -0
  438. package/dist/cdn/P2HM7UVP.js +4 -0
  439. package/dist/cdn/P3ISIEIS.js +4 -0
  440. package/dist/cdn/P4HCD6VY.js +4 -0
  441. package/dist/cdn/PA4YFBX6.js +4 -0
  442. package/dist/cdn/PAM3ENEU.js +4 -0
  443. package/dist/cdn/PAT3YU63.js +5 -0
  444. package/dist/cdn/PBX7F7HF.js +4 -0
  445. package/dist/cdn/PCZWPKDO.js +24 -0
  446. package/dist/cdn/PFEOD27S.js +4 -0
  447. package/dist/cdn/PHBNEZEM.js +4 -0
  448. package/dist/cdn/PHZELTNA.js +4 -0
  449. package/dist/cdn/PK6MLE7Y.js +4 -0
  450. package/dist/cdn/PO4EMIQ7.js +4 -0
  451. package/dist/cdn/PPOS2FSX.js +4 -0
  452. package/dist/cdn/PPWWVJR2.js +4 -0
  453. package/dist/cdn/PQAL2QL3.js +4 -0
  454. package/dist/cdn/PVIZISJD.js +4 -0
  455. package/dist/cdn/PZEYRTHV.js +4 -0
  456. package/dist/cdn/Q23GBEBQ.js +4 -0
  457. package/dist/cdn/Q2IJ54HC.js +4 -0
  458. package/dist/cdn/Q35RGZOW.js +4 -0
  459. package/dist/cdn/Q4VIUMXT.js +4 -0
  460. package/dist/cdn/Q5MIQXLC.js +4 -0
  461. package/dist/cdn/Q5RLMJCT.js +4 -0
  462. package/dist/cdn/QABLJDJW.js +4 -0
  463. package/dist/cdn/QBTJAJPV.js +4 -0
  464. package/dist/cdn/QGUC6BJD.js +4 -0
  465. package/dist/cdn/QHTFCZM3.js +4 -0
  466. package/dist/cdn/QHWMQVIL.js +4 -0
  467. package/dist/cdn/QI7M33JY.js +4 -0
  468. package/dist/cdn/QIZIEJOY.js +4 -0
  469. package/dist/cdn/QK7PMJGN.js +4 -0
  470. package/dist/cdn/QLS47QER.js +4 -0
  471. package/dist/cdn/QLTAYNFW.js +4 -0
  472. package/dist/cdn/QMMTZWEG.js +6 -0
  473. package/dist/cdn/QOLK73DY.js +4 -0
  474. package/dist/cdn/QPTUQ4BO.js +4 -0
  475. package/dist/cdn/QRXHI7GN.js +4 -0
  476. package/dist/cdn/QUU3P6DR.js +4 -0
  477. package/dist/cdn/QV2WOXZI.js +4 -0
  478. package/dist/cdn/QVFDCXCG.js +4 -0
  479. package/dist/cdn/QWYU6QFD.js +4 -0
  480. package/dist/cdn/QXU4IREJ.js +4 -0
  481. package/dist/cdn/R34UHWAF.js +4 -0
  482. package/dist/cdn/RB3SBVHO.js +4 -0
  483. package/dist/cdn/RBRW3M7H.js +4 -0
  484. package/dist/cdn/RC7MJEOT.js +4 -0
  485. package/dist/cdn/RCA2X4VZ.js +4 -0
  486. package/dist/cdn/RCLFPTDS.js +4 -0
  487. package/dist/cdn/RGPP4LNC.js +4 -0
  488. package/dist/cdn/RJULKDWQ.js +4 -0
  489. package/dist/cdn/RKMT2NY6.js +4 -0
  490. package/dist/cdn/RLP74XJB.js +4 -0
  491. package/dist/cdn/RMMYTWRE.js +4 -0
  492. package/dist/cdn/RN3Q6CGQ.js +4 -0
  493. package/dist/cdn/RNGYPYGR.js +4 -0
  494. package/dist/cdn/RPM226XK.js +4 -0
  495. package/dist/cdn/RPMUKGNN.js +11 -0
  496. package/dist/cdn/RVCNFO7S.js +4 -0
  497. package/dist/cdn/RVXN5ZXY.js +4 -0
  498. package/dist/cdn/RWWMRT4Z.js +4 -0
  499. package/dist/cdn/RYC6NYEN.js +4 -0
  500. package/dist/cdn/S62Q7DUK.js +4 -0
  501. package/dist/cdn/SC7EGJR6.js +4 -0
  502. package/dist/cdn/SCW4GRVU.js +4 -0
  503. package/dist/cdn/SDL2E7ZI.js +4 -0
  504. package/dist/cdn/SEMUVE2X.js +4 -0
  505. package/dist/cdn/SHZ3BVOY.js +4 -0
  506. package/dist/cdn/SKA2LYNY.js +4 -0
  507. package/dist/cdn/SLMVXVZO.js +4 -0
  508. package/dist/cdn/SM43VVY6.js +4 -0
  509. package/dist/cdn/SMZ746NO.js +4 -0
  510. package/dist/cdn/SNWIXWRV.js +4 -0
  511. package/dist/cdn/SOWMYRGW.js +4 -0
  512. package/dist/cdn/SRBGZ6HH.js +4 -0
  513. package/dist/cdn/SRMOFYIU.js +4 -0
  514. package/dist/cdn/SSP7BZAI.js +4 -0
  515. package/dist/cdn/SSRJH6QT.js +4 -0
  516. package/dist/cdn/ST53KYQD.js +4 -0
  517. package/dist/cdn/STNNVAKO.js +4 -0
  518. package/dist/cdn/STRJFXBV.js +4 -0
  519. package/dist/cdn/SU3LBHNN.js +4 -0
  520. package/dist/cdn/SWXXLR3H.js +4 -0
  521. package/dist/cdn/SYJDBS5F.js +4 -0
  522. package/dist/cdn/SYRLPMNH.js +4 -0
  523. package/dist/cdn/SYTYGFNY.js +4 -0
  524. package/dist/cdn/T4LDL3YP.js +4 -0
  525. package/dist/cdn/T7AHBK7Z.js +4 -0
  526. package/dist/cdn/T7MML4RC.js +4 -0
  527. package/dist/cdn/TARMGQ4J.js +4 -0
  528. package/dist/cdn/TBKHG32E.js +4 -0
  529. package/dist/cdn/TDZRVYYG.js +4 -0
  530. package/dist/cdn/TGA5Q2FU.js +4 -0
  531. package/dist/cdn/TIYSO4IK.js +4 -0
  532. package/dist/cdn/TJU4E7NO.js +4 -0
  533. package/dist/cdn/TKP6QNRC.js +4 -0
  534. package/dist/cdn/TLON4EUT.js +4 -0
  535. package/dist/cdn/TMY6LYM2.js +4 -0
  536. package/dist/cdn/TNNTF4LQ.js +4 -0
  537. package/dist/cdn/TOBFWOYR.js +4 -0
  538. package/dist/cdn/TPTD7CG4.js +8 -0
  539. package/dist/cdn/TUFW4UQY.js +4 -0
  540. package/dist/cdn/TXSOPWNI.js +4 -0
  541. package/dist/cdn/TZXE4FOK.js +4 -0
  542. package/dist/cdn/U3CGYV3F.js +4 -0
  543. package/dist/cdn/U4S4OGNS.js +4 -0
  544. package/dist/cdn/U7MNVXFJ.js +4 -0
  545. package/dist/cdn/UB56SLSW.js +4 -0
  546. package/dist/cdn/UC34KAY2.js +4 -0
  547. package/dist/cdn/UC6JNYTF.js +4 -0
  548. package/dist/cdn/UD6BO5QZ.js +4 -0
  549. package/dist/cdn/UGIZBX5E.js +4 -0
  550. package/dist/cdn/UOEVILEC.js +4 -0
  551. package/dist/cdn/UPE4RV4L.js +4 -0
  552. package/dist/cdn/UPEFE65S.js +4 -0
  553. package/dist/cdn/UR4PCYHL.js +4 -0
  554. package/dist/cdn/UTDHDX2S.js +4 -0
  555. package/dist/cdn/UX6HA5NL.js +4 -0
  556. package/dist/cdn/V3YROYIC.js +4 -0
  557. package/dist/cdn/V734H7MZ.js +4 -0
  558. package/dist/cdn/VA2VDRN5.js +4 -0
  559. package/dist/cdn/VDB3GLUO.js +4 -0
  560. package/dist/cdn/VDX6LUVY.js +4 -0
  561. package/dist/cdn/VHJSQI3X.js +4 -0
  562. package/dist/cdn/VILQN6NG.js +4 -0
  563. package/dist/cdn/VNUQKIE4.js +4 -0
  564. package/dist/cdn/VOE5ZRNJ.js +4 -0
  565. package/dist/cdn/VQJ56NMQ.js +4 -0
  566. package/dist/cdn/VT6HJPRQ.js +4 -0
  567. package/dist/cdn/VU3APGQG.js +4 -0
  568. package/dist/cdn/VU5TSQEF.js +4 -0
  569. package/dist/cdn/VVCQDC4L.js +4 -0
  570. package/dist/cdn/VW6FKBLP.js +4 -0
  571. package/dist/cdn/VWWVVJ7U.js +4 -0
  572. package/dist/cdn/VYOP5OKV.js +4 -0
  573. package/dist/cdn/VYZXXFZJ.js +4 -0
  574. package/dist/cdn/W35BBHYZ.js +4 -0
  575. package/dist/cdn/W3ASUF5R.js +4 -0
  576. package/dist/cdn/W3PUSLMQ.js +4 -0
  577. package/dist/cdn/W5O5I53P.js +4 -0
  578. package/dist/cdn/W6GN2P62.js +4 -0
  579. package/dist/cdn/WCPONLZD.js +4 -0
  580. package/dist/cdn/WDCE6NBF.js +4 -0
  581. package/dist/cdn/WE2VL7CO.js +4 -0
  582. package/dist/cdn/WIBV7NBS.js +4 -0
  583. package/dist/cdn/WJQIS7XB.js +4 -0
  584. package/dist/cdn/WL73HGYZ.js +4 -0
  585. package/dist/cdn/WQ4XR5HT.js +4 -0
  586. package/dist/cdn/WQUOGVEU.js +4 -0
  587. package/dist/cdn/WRG2WRHG.js +4 -0
  588. package/dist/cdn/WTATXIYX.js +4 -0
  589. package/dist/cdn/WVA3KRAQ.js +4 -0
  590. package/dist/cdn/WWM6WLBG.js +4 -0
  591. package/dist/cdn/WXGGM77P.js +4 -0
  592. package/dist/cdn/WZNBFLEY.js +4 -0
  593. package/dist/cdn/WZTO4DQX.js +4 -0
  594. package/dist/cdn/WZXV4KD4.js +4 -0
  595. package/dist/cdn/X3M2SD2Q.js +4 -0
  596. package/dist/cdn/X3W2GSOP.js +4 -0
  597. package/dist/cdn/XBYUWGP5.js +4 -0
  598. package/dist/cdn/XCOYQH7B.js +4 -0
  599. package/dist/cdn/XFIAEZIR.js +4 -0
  600. package/dist/cdn/XHK2F3UZ.js +4 -0
  601. package/dist/cdn/XHNFGU6L.js +4 -0
  602. package/dist/cdn/XHQMOVTX.js +4 -0
  603. package/dist/cdn/XI3WYYSW.js +4 -0
  604. package/dist/cdn/XII75GF3.js +4 -0
  605. package/dist/cdn/XJUFRDR2.js +4 -0
  606. package/dist/cdn/XKPXFBGP.js +4 -0
  607. package/dist/cdn/XLG4GSKM.js +4 -0
  608. package/dist/cdn/XNV4W43J.js +4 -0
  609. package/dist/cdn/XOXSLEYO.js +4 -0
  610. package/dist/cdn/XQBM22E3.js +4 -0
  611. package/dist/cdn/XRJKXGGU.js +4 -0
  612. package/dist/cdn/XU6YFDIV.js +4 -0
  613. package/dist/cdn/Y2CP3E3V.js +4 -0
  614. package/dist/cdn/Y3EEB6JN.js +4 -0
  615. package/dist/cdn/Y3JB5D5X.js +4 -0
  616. package/dist/cdn/Y47HDWM3.js +4 -0
  617. package/dist/cdn/Y4Y4N2XZ.js +4 -0
  618. package/dist/cdn/Y5CYUQFB.js +4 -0
  619. package/dist/cdn/Y5GM62SP.js +4 -0
  620. package/dist/cdn/Y7HH7L7C.js +4 -0
  621. package/dist/cdn/YAMATHWW.js +4 -0
  622. package/dist/cdn/YBC2I4NR.js +4 -0
  623. package/dist/cdn/YBCVJR4E.js +4 -0
  624. package/dist/cdn/YBH7MUR4.js +4 -0
  625. package/dist/cdn/YC22JJXJ.js +4 -0
  626. package/dist/cdn/YCVJWU6P.js +4 -0
  627. package/dist/cdn/YH5SKA4D.js +4 -0
  628. package/dist/cdn/YISGA72L.js +4 -0
  629. package/dist/cdn/YK3AN55U.js +4 -0
  630. package/dist/cdn/YM6IMIFK.js +4 -0
  631. package/dist/cdn/YNRBICZO.js +4 -0
  632. package/dist/cdn/YOYUHPUG.js +4 -0
  633. package/dist/cdn/YSCGVHI4.js +4 -0
  634. package/dist/cdn/YTPVZ5BZ.js +4 -0
  635. package/dist/cdn/YTZPVZTH.js +4 -0
  636. package/dist/cdn/YVTHUU4Z.js +4 -0
  637. package/dist/cdn/Z2OD3XB2.js +4 -0
  638. package/dist/cdn/Z6T7CWS3.js +4 -0
  639. package/dist/cdn/Z75R666Q.js +4 -0
  640. package/dist/cdn/ZBF75RWW.js +4 -0
  641. package/dist/cdn/ZHTZZCZR.js +4 -0
  642. package/dist/cdn/ZHV7RCTO.js +4 -0
  643. package/dist/cdn/ZI77TTXD.js +4 -0
  644. package/dist/cdn/ZJ3N7WIM.js +4 -0
  645. package/dist/cdn/ZJ77LY4M.js +4 -0
  646. package/dist/cdn/ZKMVVHZA.js +4 -0
  647. package/dist/cdn/ZNELEZMF.js +4 -0
  648. package/dist/cdn/ZOIGT4Y4.js +4 -0
  649. package/dist/cdn/ZQL3GNB4.js +4 -0
  650. package/dist/cdn/ZTJQG44E.js +4 -0
  651. package/dist/cdn/ZU6ZAZ6E.js +4 -0
  652. package/dist/cdn/ZULCYX5V.js +4 -0
  653. package/dist/cdn/ZVLERB5Z.js +4 -0
  654. package/dist/cdn/ZZPAJMXC.js +4 -0
  655. package/dist/cdn/ZZSIF7BT.js +4 -0
  656. package/dist/cdn/assets/hub-ai-assistant/t9n/messages.en.json +1 -1
  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/useT9n.js +2 -2
  670. package/dist/chunks/util.js +2 -2
  671. package/dist/components/arcgis-chat-shell/customElement.js +2 -2
  672. package/dist/components/arcgis-chat-ui/customElement.js +57 -36
  673. package/dist/components/arcgis-chat-ui/functional/chat-action/customElement.js +2 -2
  674. package/dist/components/arcgis-chat-ui/functional/chat-response/customElement.js +8 -8
  675. package/dist/components/arcgis-chat-ui/functional/chat-status/customElement.js +2 -2
  676. package/dist/components/arcgis-chat-ui/index.d.ts +1 -0
  677. package/dist/components/arcgis-chat-ui/index.js +1 -0
  678. package/dist/components/arcgis-hub-ai-assistant/customElement.js +22 -22
  679. package/dist/components/arcgis-hub-entity-associations-card/customElement.js +2 -2
  680. package/dist/components/arcgis-hub-entity-metrics-card/customElement.js +2 -2
  681. package/dist/components/arcgis-hub-entity-status-card/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 +51 -51
  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 -3
  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 +3 -3
  703. package/dist/cdn/22TTGM5P.js +0 -4
  704. package/dist/cdn/23XGFWDZ.js +0 -4
  705. package/dist/cdn/26LJEDDW.js +0 -4
  706. package/dist/cdn/26ZZDTPR.js +0 -4
  707. package/dist/cdn/27U7SW2J.js +0 -4
  708. package/dist/cdn/2CYHJGQB.js +0 -4
  709. package/dist/cdn/2FG734UB.js +0 -4
  710. package/dist/cdn/2FRWSDV2.js +0 -4
  711. package/dist/cdn/2GJT7LOR.js +0 -4
  712. package/dist/cdn/2GK3GTC5.js +0 -4
  713. package/dist/cdn/2IDDBPGN.js +0 -4
  714. package/dist/cdn/2IDNOFR3.js +0 -6
  715. package/dist/cdn/2LBEIMXJ.js +0 -4
  716. package/dist/cdn/2MC7RS2C.js +0 -4
  717. package/dist/cdn/2SYLLF6T.js +0 -4
  718. package/dist/cdn/2X5XR674.js +0 -4
  719. package/dist/cdn/35QJTJ4V.js +0 -4
  720. package/dist/cdn/35R6QM45.js +0 -4
  721. package/dist/cdn/36JIAA5V.js +0 -4
  722. package/dist/cdn/3BB5UMQA.js +0 -4
  723. package/dist/cdn/3FPQRHZR.js +0 -4
  724. package/dist/cdn/3IKMLINW.js +0 -9
  725. package/dist/cdn/3IQZS7VY.js +0 -4
  726. package/dist/cdn/3KCJYSQF.js +0 -4
  727. package/dist/cdn/3KXXSU6C.js +0 -4
  728. package/dist/cdn/3L7KL3KR.js +0 -4
  729. package/dist/cdn/3POBCCDK.js +0 -4
  730. package/dist/cdn/3QSMC3OQ.js +0 -4
  731. package/dist/cdn/3WOHRSF5.js +0 -4
  732. package/dist/cdn/3XOFBQ2S.js +0 -4
  733. package/dist/cdn/3ZZGH6IY.js +0 -4
  734. package/dist/cdn/426W4VIO.js +0 -4
  735. package/dist/cdn/42UADHHY.js +0 -52
  736. package/dist/cdn/45562IT4.js +0 -4
  737. package/dist/cdn/45CP3FYM.js +0 -4
  738. package/dist/cdn/45WVEC7U.js +0 -4
  739. package/dist/cdn/465KN276.js +0 -4
  740. package/dist/cdn/4DVHYTM5.js +0 -4
  741. package/dist/cdn/4FGU6SM7.js +0 -4
  742. package/dist/cdn/4HLIISPG.js +0 -4
  743. package/dist/cdn/4J4SYTCY.js +0 -4
  744. package/dist/cdn/4LBRN3Q7.js +0 -4
  745. package/dist/cdn/4MEREPPV.js +0 -12
  746. package/dist/cdn/4NITQJ7O.js +0 -4
  747. package/dist/cdn/4NQMPFXJ.js +0 -4
  748. package/dist/cdn/4PL2DGEX.js +0 -4
  749. package/dist/cdn/4RKKU24Y.js +0 -4
  750. package/dist/cdn/4SCRDLTO.js +0 -4
  751. package/dist/cdn/4SJAMCN2.js +0 -4
  752. package/dist/cdn/4U6WJYOE.js +0 -4
  753. package/dist/cdn/4VBNXJM4.js +0 -3
  754. package/dist/cdn/4XPEKRF3.js +0 -4
  755. package/dist/cdn/4XPVHJXG.js +0 -42
  756. package/dist/cdn/4XQMFHRJ.js +0 -4
  757. package/dist/cdn/4ZH6R7ZV.js +0 -4
  758. package/dist/cdn/54BRLQVQ.js +0 -4
  759. package/dist/cdn/57T6ZUM5.js +0 -4
  760. package/dist/cdn/5AMV6YZ4.js +0 -4
  761. package/dist/cdn/5AOTL72D.js +0 -4
  762. package/dist/cdn/5AUYR2CH.js +0 -4
  763. package/dist/cdn/5DWZEOLQ.js +0 -4
  764. package/dist/cdn/5EN4F64X.js +0 -4
  765. package/dist/cdn/5HOV6LVV.js +0 -4
  766. package/dist/cdn/5IGWGEAC.js +0 -4
  767. package/dist/cdn/5IUZA6NA.js +0 -4
  768. package/dist/cdn/5L7UZL2E.js +0 -4
  769. package/dist/cdn/5LZVTCOX.js +0 -4
  770. package/dist/cdn/5MIKA4ZF.js +0 -5470
  771. package/dist/cdn/5NN6RI6W.js +0 -4
  772. package/dist/cdn/5NTHB5ZG.js +0 -4
  773. package/dist/cdn/5SNCISZI.js +0 -4
  774. package/dist/cdn/5T6ZJSYQ.js +0 -4
  775. package/dist/cdn/5TDRE24H.js +0 -4
  776. package/dist/cdn/5XPNPKQ5.js +0 -4
  777. package/dist/cdn/63AAHA6E.js +0 -4
  778. package/dist/cdn/63OHBUKM.js +0 -4
  779. package/dist/cdn/6CN4EJIL.js +0 -4
  780. package/dist/cdn/6DXNX4QE.js +0 -4
  781. package/dist/cdn/6GDXUI2J.js +0 -4
  782. package/dist/cdn/6H5SGKPP.js +0 -4
  783. package/dist/cdn/6IGSMKZQ.js +0 -4
  784. package/dist/cdn/6J66WHBN.js +0 -4
  785. package/dist/cdn/6LFZJKG2.js +0 -4
  786. package/dist/cdn/6OH33S3R.js +0 -59
  787. package/dist/cdn/6QH76V5O.js +0 -4
  788. package/dist/cdn/6QR76VJD.js +0 -5
  789. package/dist/cdn/6RYMYV4F.js +0 -4
  790. package/dist/cdn/6ST4HHYR.js +0 -4
  791. package/dist/cdn/6UTA3TJQ.js +0 -4
  792. package/dist/cdn/6VDNJMWN.js +0 -4
  793. package/dist/cdn/6WCWWGUD.js +0 -4
  794. package/dist/cdn/6WI5UF43.js +0 -4
  795. package/dist/cdn/6XYB5VVD.js +0 -4
  796. package/dist/cdn/6YAVFA4Y.js +0 -4
  797. package/dist/cdn/745DCNY3.js +0 -4
  798. package/dist/cdn/75AZ54PH.js +0 -4
  799. package/dist/cdn/75CX3J6E.js +0 -4
  800. package/dist/cdn/76GQUUEY.js +0 -4
  801. package/dist/cdn/776MFYCR.js +0 -4
  802. package/dist/cdn/77SAKVJB.js +0 -4
  803. package/dist/cdn/7AIVCOTT.js +0 -4
  804. package/dist/cdn/7DKX72BO.js +0 -4
  805. package/dist/cdn/7EG3NELJ.js +0 -4
  806. package/dist/cdn/7HNEFOXL.js +0 -4
  807. package/dist/cdn/7IRGBBF5.js +0 -4
  808. package/dist/cdn/7JSUTSCH.js +0 -4
  809. package/dist/cdn/7LH7BK4R.js +0 -4
  810. package/dist/cdn/7LLCPELE.js +0 -4
  811. package/dist/cdn/7M27QHVA.js +0 -4
  812. package/dist/cdn/7MHX6BIJ.js +0 -4
  813. package/dist/cdn/7MQKI6XD.js +0 -4
  814. package/dist/cdn/7MZOJXEH.js +0 -4
  815. package/dist/cdn/7P3IQ4SB.js +0 -4
  816. package/dist/cdn/7Q2UPKHH.js +0 -4
  817. package/dist/cdn/7SFAFU2R.js +0 -4
  818. package/dist/cdn/7UB6F5AO.js +0 -4
  819. package/dist/cdn/7VCHRJSF.js +0 -4
  820. package/dist/cdn/7W2LOOMJ.js +0 -4
  821. package/dist/cdn/7Y47NNNH.js +0 -4
  822. package/dist/cdn/7YBGRVJX.js +0 -4
  823. package/dist/cdn/7ZMUAA3G.js +0 -4
  824. package/dist/cdn/A25EQ7QE.js +0 -4
  825. package/dist/cdn/A262ESXH.js +0 -4
  826. package/dist/cdn/A2DI74VI.js +0 -4
  827. package/dist/cdn/A2UJ3Q5D.js +0 -4
  828. package/dist/cdn/A3HKDEYR.js +0 -4
  829. package/dist/cdn/A4H76RDK.js +0 -4
  830. package/dist/cdn/A4P2PN6E.js +0 -4
  831. package/dist/cdn/A62TPLCW.js +0 -4
  832. package/dist/cdn/A7BURFD7.js +0 -4
  833. package/dist/cdn/A7X3364W.js +0 -4
  834. package/dist/cdn/AAW2ZPHH.js +0 -4
  835. package/dist/cdn/AB2M6XVK.js +0 -4
  836. package/dist/cdn/ABIWIUL5.js +0 -4
  837. package/dist/cdn/AD5WGSOH.js +0 -4
  838. package/dist/cdn/ALULASBH.js +0 -4
  839. package/dist/cdn/ANNRRFGP.js +0 -4
  840. package/dist/cdn/AOCECWPM.js +0 -4
  841. package/dist/cdn/API72PJP.js +0 -4
  842. package/dist/cdn/APJA5VR7.js +0 -4
  843. package/dist/cdn/APULFB2T.js +0 -4
  844. package/dist/cdn/ARX6HHDO.js +0 -4
  845. package/dist/cdn/ASQH5OAD.js +0 -4
  846. package/dist/cdn/ASTSD7LP.js +0 -4
  847. package/dist/cdn/AVXCGA6D.js +0 -4
  848. package/dist/cdn/AWR7NN3Z.js +0 -4
  849. package/dist/cdn/AZIQBRHO.js +0 -4
  850. package/dist/cdn/B74FCWTF.js +0 -4
  851. package/dist/cdn/B76VCM3J.js +0 -4
  852. package/dist/cdn/BCCSBAFF.js +0 -4
  853. package/dist/cdn/BE5TFKZF.js +0 -4
  854. package/dist/cdn/BHLMI2ML.js +0 -4
  855. package/dist/cdn/BI3NCEL7.js +0 -4
  856. package/dist/cdn/BKM2QVT2.js +0 -4
  857. package/dist/cdn/BL4RI3YB.js +0 -4
  858. package/dist/cdn/BLBJ444R.js +0 -4
  859. package/dist/cdn/BMW4ORU3.js +0 -4
  860. package/dist/cdn/BNYFKWMI.js +0 -4
  861. package/dist/cdn/BOBHI7HP.js +0 -4
  862. package/dist/cdn/BPSOUEU2.js +0 -4
  863. package/dist/cdn/BR6UDZ2J.js +0 -5
  864. package/dist/cdn/BRHBWLWU.js +0 -4
  865. package/dist/cdn/C552VW3B.js +0 -4
  866. package/dist/cdn/C6XDVNPL.js +0 -4
  867. package/dist/cdn/C6YFOHUW.js +0 -4
  868. package/dist/cdn/C7J6YELA.js +0 -4
  869. package/dist/cdn/CAUGBTCE.js +0 -4
  870. package/dist/cdn/CCWWGO3R.js +0 -4
  871. package/dist/cdn/CDO3OXKM.js +0 -4
  872. package/dist/cdn/CDRD65MM.js +0 -4
  873. package/dist/cdn/CEORB75Y.js +0 -4
  874. package/dist/cdn/CFKMQUTE.js +0 -4
  875. package/dist/cdn/CHM2KN4A.js +0 -4
  876. package/dist/cdn/CHXL4MWY.js +0 -4
  877. package/dist/cdn/CJNPZNAF.js +0 -4
  878. package/dist/cdn/CJRJ4GJ4.js +0 -4
  879. package/dist/cdn/CL7F4VIV.js +0 -4
  880. package/dist/cdn/CLMVLIEZ.js +0 -4
  881. package/dist/cdn/CLU76WQ4.js +0 -4
  882. package/dist/cdn/CMMJ7U7G.js +0 -4
  883. package/dist/cdn/CTN3GO2T.js +0 -4
  884. package/dist/cdn/CVXUUU7X.js +0 -4
  885. package/dist/cdn/CY3QSTTX.js +0 -4
  886. package/dist/cdn/CZFLPUMG.js +0 -4
  887. package/dist/cdn/CZVP7HZF.js +0 -4
  888. package/dist/cdn/D4CFVNJT.js +0 -4
  889. package/dist/cdn/D7NTGMGZ.js +0 -4
  890. package/dist/cdn/DILZIIXJ.js +0 -4
  891. package/dist/cdn/DJMB34RB.js +0 -4
  892. package/dist/cdn/DJYL7JMZ.js +0 -4
  893. package/dist/cdn/DPJA4URR.js +0 -4
  894. package/dist/cdn/DRE4TJ6Z.js +0 -4
  895. package/dist/cdn/DTDDD7RA.js +0 -4
  896. package/dist/cdn/DUHRRXBV.js +0 -4
  897. package/dist/cdn/DXUEF577.js +0 -4
  898. package/dist/cdn/E27LW7DD.js +0 -4
  899. package/dist/cdn/E5K6FEMU.js +0 -4
  900. package/dist/cdn/E7V64C5R.js +0 -4
  901. package/dist/cdn/EA5NCXAJ.js +0 -4
  902. package/dist/cdn/EASI75AH.js +0 -4
  903. package/dist/cdn/EBBSBOJ7.js +0 -4
  904. package/dist/cdn/EDVCEKTU.js +0 -4
  905. package/dist/cdn/EEB77IYE.js +0 -4
  906. package/dist/cdn/EEVM6AHT.js +0 -4
  907. package/dist/cdn/EI44BB7J.js +0 -4
  908. package/dist/cdn/EI75IO6K.js +0 -4
  909. package/dist/cdn/EKMVDX67.js +0 -4
  910. package/dist/cdn/EMDE7UE2.js +0 -4
  911. package/dist/cdn/ER2KMNRQ.js +0 -4
  912. package/dist/cdn/EUE3BAHW.js +0 -4
  913. package/dist/cdn/EWALGYVA.js +0 -4
  914. package/dist/cdn/EXAFIX3N.js +0 -4
  915. package/dist/cdn/EYZYKOSK.js +0 -4
  916. package/dist/cdn/F3O27JYQ.js +0 -4
  917. package/dist/cdn/F3SUJN4B.js +0 -4
  918. package/dist/cdn/F45BRNHJ.js +0 -4
  919. package/dist/cdn/F4WHDVTZ.js +0 -4
  920. package/dist/cdn/F7M7SFLR.js +0 -4
  921. package/dist/cdn/F7PAD2Y4.js +0 -4
  922. package/dist/cdn/FD6VBFMB.js +0 -4
  923. package/dist/cdn/FGGEIQNP.js +0 -4
  924. package/dist/cdn/FH2WAYL3.js +0 -4
  925. package/dist/cdn/FJET5K5U.js +0 -4
  926. package/dist/cdn/FJKJUIZ5.js +0 -4
  927. package/dist/cdn/FN3QWT2G.js +0 -4
  928. package/dist/cdn/FUYOZ3OR.js +0 -4
  929. package/dist/cdn/FV7U22AN.js +0 -4
  930. package/dist/cdn/FWFB7J3U.js +0 -4
  931. package/dist/cdn/FXVCCBKO.js +0 -4
  932. package/dist/cdn/FY3H7EEP.js +0 -4
  933. package/dist/cdn/G3FFTV5X.js +0 -4
  934. package/dist/cdn/GCNFPPAJ.js +0 -4
  935. package/dist/cdn/GELTJKOX.js +0 -4
  936. package/dist/cdn/GFQQCPK3.js +0 -4
  937. package/dist/cdn/GKN5PFQ4.js +0 -4
  938. package/dist/cdn/GTNICTD5.js +0 -4
  939. package/dist/cdn/GUENB7MN.js +0 -4
  940. package/dist/cdn/GUFD3OFA.js +0 -4
  941. package/dist/cdn/GYRTLYVO.js +0 -4
  942. package/dist/cdn/GZ5ZDIDJ.js +0 -4
  943. package/dist/cdn/GZJHKRXF.js +0 -4
  944. package/dist/cdn/GZNSGDKY.js +0 -4
  945. package/dist/cdn/H2BFHXHG.js +0 -4
  946. package/dist/cdn/H2QL3NWC.js +0 -4
  947. package/dist/cdn/H6QAWSA4.js +0 -4
  948. package/dist/cdn/H7672SMZ.js +0 -4
  949. package/dist/cdn/HBIM3T43.js +0 -4
  950. package/dist/cdn/HDBNK5UL.js +0 -4
  951. package/dist/cdn/HE7HS7H3.js +0 -4
  952. package/dist/cdn/HHFQI3WF.js +0 -4
  953. package/dist/cdn/HILBAGUQ.js +0 -4
  954. package/dist/cdn/HK6IGVQV.js +0 -4
  955. package/dist/cdn/HKJ5IL6C.js +0 -4
  956. package/dist/cdn/HKMKZZWA.js +0 -4
  957. package/dist/cdn/HKSLFBCK.js +0 -4
  958. package/dist/cdn/HKZB57MB.js +0 -4
  959. package/dist/cdn/HMJW2PPO.js +0 -4
  960. package/dist/cdn/HMR4NTDN.js +0 -4
  961. package/dist/cdn/HNLN5RIB.js +0 -4
  962. package/dist/cdn/HO724LKR.js +0 -4
  963. package/dist/cdn/HPXL2WJD.js +0 -4
  964. package/dist/cdn/HQWS4XFD.js +0 -4
  965. package/dist/cdn/HSIRCEGC.js +0 -4
  966. package/dist/cdn/HSKWCHNM.js +0 -4
  967. package/dist/cdn/HSPZI7TT.js +0 -4
  968. package/dist/cdn/HTBM5T2P.js +0 -5
  969. package/dist/cdn/HUZLFNS7.js +0 -4
  970. package/dist/cdn/HX2AZDBS.js +0 -4
  971. package/dist/cdn/HXP4WEXC.js +0 -4
  972. package/dist/cdn/HYMB4WFD.js +0 -4
  973. package/dist/cdn/HYW7QI2Z.js +0 -4
  974. package/dist/cdn/HZONPM53.js +0 -4
  975. package/dist/cdn/I2QFGASD.js +0 -4
  976. package/dist/cdn/I3GWQ5Q7.js +0 -4
  977. package/dist/cdn/I5UINEES.js +0 -4
  978. package/dist/cdn/I6OENN45.js +0 -4
  979. package/dist/cdn/IAU6B72A.js +0 -4
  980. package/dist/cdn/IAXLRBWW.js +0 -4
  981. package/dist/cdn/ICG5R6ZA.js +0 -4
  982. package/dist/cdn/ICQ23VJS.js +0 -4
  983. package/dist/cdn/ID3ZQ3FI.js +0 -4
  984. package/dist/cdn/IEDKBJZH.js +0 -4
  985. package/dist/cdn/IF52KUDR.js +0 -4
  986. package/dist/cdn/IGLNMUE2.js +0 -4
  987. package/dist/cdn/IHV3I3Q6.js +0 -5
  988. package/dist/cdn/IHYLUPBT.js +0 -4
  989. package/dist/cdn/IIGUHQYH.js +0 -4
  990. package/dist/cdn/IJGT7OWZ.js +0 -4
  991. package/dist/cdn/IL35QNQE.js +0 -4
  992. package/dist/cdn/ILAMHZ4R.js +0 -4
  993. package/dist/cdn/ILH6ZAOO.js +0 -25
  994. package/dist/cdn/INY6EU3I.js +0 -4
  995. package/dist/cdn/IPHOFWI6.js +0 -4
  996. package/dist/cdn/IRJJL3HL.js +0 -4
  997. package/dist/cdn/IS6LKPKZ.js +0 -4
  998. package/dist/cdn/ISBY5PWM.js +0 -4
  999. package/dist/cdn/IST5N4NY.js +0 -4
  1000. package/dist/cdn/IX5JWUQD.js +0 -4
  1001. package/dist/cdn/J4CPYC7S.js +0 -4
  1002. package/dist/cdn/J4RMVDDE.js +0 -4
  1003. package/dist/cdn/J56Y64OI.js +0 -4
  1004. package/dist/cdn/J7IXBYFW.js +0 -4
  1005. package/dist/cdn/JB4SKGZX.js +0 -4
  1006. package/dist/cdn/JBPGBB7Y.js +0 -4
  1007. package/dist/cdn/JDZTDT4C.js +0 -12
  1008. package/dist/cdn/JE5Y6CHA.js +0 -4
  1009. package/dist/cdn/JFCCVNKY.js +0 -51
  1010. package/dist/cdn/JFR554YK.js +0 -4
  1011. package/dist/cdn/JFXFDL2D.js +0 -4
  1012. package/dist/cdn/JGO7QY4H.js +0 -4
  1013. package/dist/cdn/JHIQBSGX.js +0 -4
  1014. package/dist/cdn/JHMNHZNR.js +0 -4
  1015. package/dist/cdn/JI3ZQVLW.js +0 -4
  1016. package/dist/cdn/JLGJ35YV.js +0 -4
  1017. package/dist/cdn/JPGRSCEE.js +0 -4
  1018. package/dist/cdn/JQULHJPF.js +0 -4
  1019. package/dist/cdn/JRQIMFVG.js +0 -4
  1020. package/dist/cdn/JSU5IPG2.js +0 -4
  1021. package/dist/cdn/JSX4NMSS.js +0 -4
  1022. package/dist/cdn/JTGWHOET.js +0 -4
  1023. package/dist/cdn/JWSMQ7J3.js +0 -4
  1024. package/dist/cdn/JXVRR677.js +0 -4
  1025. package/dist/cdn/K2XHJJ7I.js +0 -4
  1026. package/dist/cdn/K3I6R6RL.js +0 -4
  1027. package/dist/cdn/K3PVIEPV.js +0 -4
  1028. package/dist/cdn/K6EOELEY.js +0 -4
  1029. package/dist/cdn/K6IXTANW.js +0 -4
  1030. package/dist/cdn/K75CZSRT.js +0 -4
  1031. package/dist/cdn/KAOEHC4A.js +0 -4
  1032. package/dist/cdn/KCRX642L.js +0 -4
  1033. package/dist/cdn/KDP5USVC.js +0 -4
  1034. package/dist/cdn/KGE5BYIX.js +0 -4
  1035. package/dist/cdn/KGKYKMBG.js +0 -4
  1036. package/dist/cdn/KHNOAA3N.js +0 -5
  1037. package/dist/cdn/KHXXZQYA.js +0 -4
  1038. package/dist/cdn/KIXDEY34.js +0 -24
  1039. package/dist/cdn/KKXKUYLY.js +0 -4
  1040. package/dist/cdn/KKYGZSD6.js +0 -4
  1041. package/dist/cdn/KNQRMXQU.js +0 -4
  1042. package/dist/cdn/KOZ7K3OI.js +0 -4
  1043. package/dist/cdn/KPEKDUWY.js +0 -4
  1044. package/dist/cdn/KQI6EBMA.js +0 -4
  1045. package/dist/cdn/KVJS4YOV.js +0 -4
  1046. package/dist/cdn/KX23FZWH.js +0 -4
  1047. package/dist/cdn/KYT7VNYZ.js +0 -5
  1048. package/dist/cdn/KZ66VWYW.js +0 -4
  1049. package/dist/cdn/L2RDIFAZ.js +0 -4
  1050. package/dist/cdn/L2ULMXLX.js +0 -4
  1051. package/dist/cdn/LAYLIX55.js +0 -4
  1052. package/dist/cdn/LB4KBGYG.js +0 -4
  1053. package/dist/cdn/LCTVMWU5.js +0 -4
  1054. package/dist/cdn/LFRUF4LI.js +0 -4
  1055. package/dist/cdn/LGDMORBM.js +0 -4
  1056. package/dist/cdn/LGNMRLE2.js +0 -4
  1057. package/dist/cdn/LGWXPULX.js +0 -4
  1058. package/dist/cdn/LJOC7QBV.js +0 -4
  1059. package/dist/cdn/LMFZQSON.js +0 -4
  1060. package/dist/cdn/LQ2OCIJZ.js +0 -4
  1061. package/dist/cdn/LQYWQZAT.js +0 -4
  1062. package/dist/cdn/LR6CJ3PO.js +0 -4
  1063. package/dist/cdn/LRANBNYW.js +0 -4
  1064. package/dist/cdn/LXSGHUOK.js +0 -4
  1065. package/dist/cdn/LYPMMTIF.js +0 -4
  1066. package/dist/cdn/M3BHJU6R.js +0 -4
  1067. package/dist/cdn/M3PPBF6X.js +0 -4
  1068. package/dist/cdn/M6ICYB53.js +0 -4
  1069. package/dist/cdn/MAUW3NTT.js +0 -4
  1070. package/dist/cdn/MBKEDKCA.js +0 -4
  1071. package/dist/cdn/MC6HBAJ3.js +0 -4
  1072. package/dist/cdn/MCOPQDF5.js +0 -4
  1073. package/dist/cdn/MGXFX4OF.js +0 -4
  1074. package/dist/cdn/MHQWPSLZ.js +0 -4
  1075. package/dist/cdn/MJJATQM5.js +0 -4
  1076. package/dist/cdn/MLV5IOGV.js +0 -4
  1077. package/dist/cdn/MM77725Z.js +0 -4
  1078. package/dist/cdn/MOQKFZIH.js +0 -4
  1079. package/dist/cdn/MTCVWQBQ.js +0 -4
  1080. package/dist/cdn/MUM6DLHM.js +0 -4
  1081. package/dist/cdn/MUSQC2O2.js +0 -4
  1082. package/dist/cdn/MYDSQLZH.js +0 -4
  1083. package/dist/cdn/MYFZ3I5E.js +0 -4
  1084. package/dist/cdn/MYHTWY6E.js +0 -4
  1085. package/dist/cdn/N3G3SPYP.js +0 -4
  1086. package/dist/cdn/N4VF5EZ6.js +0 -4
  1087. package/dist/cdn/N5OPTGYS.js +0 -4
  1088. package/dist/cdn/N6HRRD4P.js +0 -4
  1089. package/dist/cdn/N7FA32DG.js +0 -4
  1090. package/dist/cdn/NBU7K44U.js +0 -4
  1091. package/dist/cdn/NCQ2QEK5.js +0 -4
  1092. package/dist/cdn/NDOERDOE.js +0 -4
  1093. package/dist/cdn/NGU6H37P.js +0 -4
  1094. package/dist/cdn/NHDAOPRU.js +0 -4
  1095. package/dist/cdn/NJOQ4ZD4.js +0 -4
  1096. package/dist/cdn/NKJX5547.js +0 -4
  1097. package/dist/cdn/NLHHSXKD.js +0 -4
  1098. package/dist/cdn/NP4UPQVO.js +0 -4
  1099. package/dist/cdn/NQ3T6ADB.js +0 -4
  1100. package/dist/cdn/NSKRAVOG.js +0 -4
  1101. package/dist/cdn/NTDI6QI5.js +0 -4
  1102. package/dist/cdn/NU526B2C.js +0 -4
  1103. package/dist/cdn/NWQCYFQP.js +0 -4
  1104. package/dist/cdn/NXCV3ZPQ.js +0 -4
  1105. package/dist/cdn/NXLZJTGP.js +0 -4
  1106. package/dist/cdn/NXWN7SON.js +0 -4
  1107. package/dist/cdn/NZ4C6PMF.js +0 -4
  1108. package/dist/cdn/NZ6GSOSO.js +0 -4
  1109. package/dist/cdn/NZQW6BDW.js +0 -4
  1110. package/dist/cdn/O3LAPPNM.js +0 -4
  1111. package/dist/cdn/O53M25AM.js +0 -4
  1112. package/dist/cdn/OB2HTJ54.js +0 -4
  1113. package/dist/cdn/OBBMYLL2.js +0 -4
  1114. package/dist/cdn/OBXUFRX4.js +0 -4
  1115. package/dist/cdn/OEBEQOUX.js +0 -4
  1116. package/dist/cdn/OESQ6NHK.js +0 -4
  1117. package/dist/cdn/OMVCAMVU.js +0 -4
  1118. package/dist/cdn/ON3G4XDZ.js +0 -4
  1119. package/dist/cdn/ONSPMCBU.js +0 -4
  1120. package/dist/cdn/OPW4WRYU.js +0 -4
  1121. package/dist/cdn/OS4KESTZ.js +0 -4
  1122. package/dist/cdn/OTJYZHHS.js +0 -4
  1123. package/dist/cdn/OTUUF5TD.js +0 -4
  1124. package/dist/cdn/OVNYYHYJ.js +0 -4
  1125. package/dist/cdn/OWJXIXPC.js +0 -4
  1126. package/dist/cdn/OYRWRBHP.js +0 -4
  1127. package/dist/cdn/P3C6TPKD.js +0 -4
  1128. package/dist/cdn/P5LOB3UY.js +0 -4
  1129. package/dist/cdn/P6457IGN.js +0 -4
  1130. package/dist/cdn/P6EC7XAV.js +0 -4
  1131. package/dist/cdn/P6NPEEUJ.js +0 -4
  1132. package/dist/cdn/P7H2VLLA.js +0 -4
  1133. package/dist/cdn/PA2PNFKO.js +0 -4
  1134. package/dist/cdn/PAN5PVIN.js +0 -4
  1135. package/dist/cdn/PBNDMLBJ.js +0 -4
  1136. package/dist/cdn/PEE6VWR3.js +0 -4
  1137. package/dist/cdn/PGRUXFOH.js +0 -4
  1138. package/dist/cdn/PH3HN7NP.js +0 -4
  1139. package/dist/cdn/PHRVMA66.js +0 -4
  1140. package/dist/cdn/PJI5Y4DE.js +0 -4
  1141. package/dist/cdn/PLUOSW57.js +0 -4
  1142. package/dist/cdn/PMR7DQTQ.js +0 -4
  1143. package/dist/cdn/PNY3FP52.js +0 -4
  1144. package/dist/cdn/PP4YKELI.js +0 -11
  1145. package/dist/cdn/PQIDAEGP.js +0 -4
  1146. package/dist/cdn/PSFV2O7S.js +0 -4
  1147. package/dist/cdn/PSPIW2VH.js +0 -4
  1148. package/dist/cdn/PSTCTJPM.js +0 -4
  1149. package/dist/cdn/PVDRPMCD.js +0 -4
  1150. package/dist/cdn/PXD76QZ4.js +0 -4
  1151. package/dist/cdn/PXTW3RAN.js +0 -4
  1152. package/dist/cdn/PY5HC7O2.js +0 -4
  1153. package/dist/cdn/PYVIXJFW.js +0 -4
  1154. package/dist/cdn/Q3ZDPKHY.js +0 -4
  1155. package/dist/cdn/Q4AMIZBM.js +0 -4
  1156. package/dist/cdn/Q55GWGRZ.js +0 -4
  1157. package/dist/cdn/QAGQ4QHN.js +0 -4
  1158. package/dist/cdn/QAJ454NA.js +0 -4
  1159. package/dist/cdn/QDSIMS62.js +0 -4
  1160. package/dist/cdn/QFWY5MHB.js +0 -4
  1161. package/dist/cdn/QGB2XC6G.js +0 -4
  1162. package/dist/cdn/QH3QC42U.js +0 -4
  1163. package/dist/cdn/QHDVV4UK.js +0 -4
  1164. package/dist/cdn/QHO2JL5F.js +0 -4
  1165. package/dist/cdn/QIBHINH4.js +0 -4
  1166. package/dist/cdn/QKVLGL3F.js +0 -4
  1167. package/dist/cdn/QM5V2W4X.js +0 -4
  1168. package/dist/cdn/QMHG5NRF.js +0 -4
  1169. package/dist/cdn/QN7DKVQY.js +0 -4
  1170. package/dist/cdn/QNS5ZERY.js +0 -4
  1171. package/dist/cdn/QPF5NU3Z.js +0 -4
  1172. package/dist/cdn/QQVOWBAJ.js +0 -4
  1173. package/dist/cdn/QSMG7N4S.js +0 -4
  1174. package/dist/cdn/QUJJ6NUH.js +0 -4
  1175. package/dist/cdn/QVTXY2YV.js +0 -4
  1176. package/dist/cdn/QWDNBT7O.js +0 -4
  1177. package/dist/cdn/QYRDLQNX.js +0 -4
  1178. package/dist/cdn/QZ6Y4XO2.js +0 -4
  1179. package/dist/cdn/QZWMVGPG.js +0 -4
  1180. package/dist/cdn/R24W45XF.js +0 -4
  1181. package/dist/cdn/R2B4QXQG.js +0 -4
  1182. package/dist/cdn/R5USXN63.js +0 -4
  1183. package/dist/cdn/R76WENFD.js +0 -4
  1184. package/dist/cdn/R7AWCKOG.js +0 -4
  1185. package/dist/cdn/R7UFRCCL.js +0 -4
  1186. package/dist/cdn/RAA4SAMN.js +0 -4
  1187. package/dist/cdn/RBJK6KYG.js +0 -4
  1188. package/dist/cdn/RBLVCKU3.js +0 -4
  1189. package/dist/cdn/RFVGGWVL.js +0 -4
  1190. package/dist/cdn/RH3TLIEN.js +0 -4
  1191. package/dist/cdn/RH5DIDQJ.js +0 -4
  1192. package/dist/cdn/RHOPQIPJ.js +0 -4
  1193. package/dist/cdn/RL7UICGG.js +0 -4
  1194. package/dist/cdn/RMLXCYSJ.js +0 -4
  1195. package/dist/cdn/RPEJM5U3.js +0 -4
  1196. package/dist/cdn/RRSV3XQL.js +0 -4
  1197. package/dist/cdn/RSWPH4XP.js +0 -4
  1198. package/dist/cdn/RTM46KKH.js +0 -4
  1199. package/dist/cdn/RTQLZIL5.js +0 -4
  1200. package/dist/cdn/RU37GIGR.js +0 -4
  1201. package/dist/cdn/RXIRVKDV.js +0 -4
  1202. package/dist/cdn/S4CAA3OY.js +0 -4
  1203. package/dist/cdn/S4JR6DV7.js +0 -4
  1204. package/dist/cdn/S4SB6NU3.js +0 -4
  1205. package/dist/cdn/SA2CJAWX.js +0 -4
  1206. package/dist/cdn/SBS2RKF3.js +0 -4
  1207. package/dist/cdn/SC2PKYYC.js +0 -4
  1208. package/dist/cdn/SDXUCXDR.js +0 -4
  1209. package/dist/cdn/SF4M3W3J.js +0 -4
  1210. package/dist/cdn/SJBCHYOZ.js +0 -4
  1211. package/dist/cdn/SJDTTWIS.js +0 -4
  1212. package/dist/cdn/SJTFRPU3.js +0 -4
  1213. package/dist/cdn/SMWYPI46.js +0 -4
  1214. package/dist/cdn/SNA5FCTO.js +0 -4
  1215. package/dist/cdn/SNOWP6QN.js +0 -6
  1216. package/dist/cdn/SORXLV7I.js +0 -4
  1217. package/dist/cdn/SPUX5NJB.js +0 -4
  1218. package/dist/cdn/STETMXRJ.js +0 -4
  1219. package/dist/cdn/SUD74K47.js +0 -4
  1220. package/dist/cdn/T4ISD673.js +0 -4
  1221. package/dist/cdn/T4YGX4CI.js +0 -4
  1222. package/dist/cdn/T53KROG2.js +0 -4
  1223. package/dist/cdn/T5HOLU36.js +0 -4
  1224. package/dist/cdn/T5HRPGU3.js +0 -4
  1225. package/dist/cdn/T6KAJQRJ.js +0 -4
  1226. package/dist/cdn/T76M4SVD.js +0 -4
  1227. package/dist/cdn/T7BDYMZD.js +0 -4
  1228. package/dist/cdn/TDPM4BGT.js +0 -4
  1229. package/dist/cdn/TEVWRRQD.js +0 -4
  1230. package/dist/cdn/TGCCLBCD.js +0 -4
  1231. package/dist/cdn/TJ7NA3HX.js +0 -4
  1232. package/dist/cdn/TKTDRTU4.js +0 -4
  1233. package/dist/cdn/TPS3TDW5.js +0 -4
  1234. package/dist/cdn/TRTLI2FH.js +0 -4
  1235. package/dist/cdn/TUU4RWY4.js +0 -4
  1236. package/dist/cdn/TUZ65JHW.js +0 -4
  1237. package/dist/cdn/TW2SQMWU.js +0 -4
  1238. package/dist/cdn/TXPFF2FN.js +0 -4
  1239. package/dist/cdn/TXXAF5ZP.js +0 -4
  1240. package/dist/cdn/TYBFCJ6P.js +0 -4
  1241. package/dist/cdn/TZYFBQQU.js +0 -4
  1242. package/dist/cdn/U2ZKAIJW.js +0 -4
  1243. package/dist/cdn/U4GVHSMU.js +0 -4
  1244. package/dist/cdn/U5VZWQX5.js +0 -6
  1245. package/dist/cdn/U6ICEYMX.js +0 -4
  1246. package/dist/cdn/UAL46EX6.js +0 -4
  1247. package/dist/cdn/UB43THLT.js +0 -4
  1248. package/dist/cdn/UBTY2V3N.js +0 -4
  1249. package/dist/cdn/UCEN3C4Z.js +0 -4
  1250. package/dist/cdn/UDZXRNZD.js +0 -4
  1251. package/dist/cdn/UEDU4OD4.js +0 -4
  1252. package/dist/cdn/UHZCF2VD.js +0 -4
  1253. package/dist/cdn/UJ736HHB.js +0 -4
  1254. package/dist/cdn/UJU7CDWU.js +0 -4
  1255. package/dist/cdn/ULC3W5KC.js +0 -4
  1256. package/dist/cdn/ULY4TVGR.js +0 -4
  1257. package/dist/cdn/UOB7TZ53.js +0 -4
  1258. package/dist/cdn/UPUCWGLV.js +0 -4
  1259. package/dist/cdn/UQANFMF2.js +0 -4
  1260. package/dist/cdn/UR6QCTZX.js +0 -59
  1261. package/dist/cdn/URFM4CWJ.js +0 -8
  1262. package/dist/cdn/URIL3L43.js +0 -4
  1263. package/dist/cdn/UTM6JP2O.js +0 -4
  1264. package/dist/cdn/UZUNZEZC.js +0 -4
  1265. package/dist/cdn/V2EFVJQW.js +0 -4
  1266. package/dist/cdn/V3FF2JQ4.js +0 -4
  1267. package/dist/cdn/V75Q2QQI.js +0 -4
  1268. package/dist/cdn/V7IEA5EC.js +0 -4
  1269. package/dist/cdn/VF5IAO6E.js +0 -4
  1270. package/dist/cdn/VGJBAACU.js +0 -4
  1271. package/dist/cdn/VJGIJZRY.js +0 -4
  1272. package/dist/cdn/VLAA4BY7.js +0 -4
  1273. package/dist/cdn/VQ7LEEOJ.js +0 -4
  1274. package/dist/cdn/VQSFEO7V.js +0 -4
  1275. package/dist/cdn/VRPAYRU4.js +0 -4
  1276. package/dist/cdn/VTYJ6PRM.js +0 -4
  1277. package/dist/cdn/VU5WND52.js +0 -4
  1278. package/dist/cdn/VWKIUGEY.js +0 -4
  1279. package/dist/cdn/VXGON5WE.js +0 -4
  1280. package/dist/cdn/W5QE55MC.js +0 -4
  1281. package/dist/cdn/W62UGUQV.js +0 -4
  1282. package/dist/cdn/WBDEHNUU.js +0 -4
  1283. package/dist/cdn/WBHAPTGZ.js +0 -4
  1284. package/dist/cdn/WCRCHPCU.js +0 -4
  1285. package/dist/cdn/WDYSI7DM.js +0 -4
  1286. package/dist/cdn/WEVWAFTF.js +0 -4
  1287. package/dist/cdn/WHE5XIF4.js +0 -4
  1288. package/dist/cdn/WHJANDHO.js +0 -4
  1289. package/dist/cdn/WHQKOJYJ.js +0 -4
  1290. package/dist/cdn/WIKFVNM6.js +0 -16
  1291. package/dist/cdn/WKGTMZ4H.js +0 -4
  1292. package/dist/cdn/WKXY2BYP.js +0 -4
  1293. package/dist/cdn/WM7AJFIQ.js +0 -4
  1294. package/dist/cdn/WPYPQZHG.js +0 -4
  1295. package/dist/cdn/WR2RVWTG.js +0 -4
  1296. package/dist/cdn/WR5HYW2T.js +0 -4
  1297. package/dist/cdn/WWL5S7LT.js +0 -4
  1298. package/dist/cdn/WXY223VP.js +0 -4
  1299. package/dist/cdn/X2YQZN6J.js +0 -4
  1300. package/dist/cdn/X3FAW734.js +0 -4
  1301. package/dist/cdn/X3SN57MR.js +0 -4
  1302. package/dist/cdn/X47PJZQS.js +0 -4
  1303. package/dist/cdn/X5UK4T5Z.js +0 -4
  1304. package/dist/cdn/XA4RNB6D.js +0 -4
  1305. package/dist/cdn/XAGAPSYX.js +0 -4
  1306. package/dist/cdn/XBSQLRCD.js +0 -4
  1307. package/dist/cdn/XDK55Y2V.js +0 -4
  1308. package/dist/cdn/XEF6BXMX.js +0 -4
  1309. package/dist/cdn/XEWLTNJP.js +0 -4
  1310. package/dist/cdn/XFDOHUKV.js +0 -4
  1311. package/dist/cdn/XFTVPJAH.js +0 -4
  1312. package/dist/cdn/XIFM23B6.js +0 -4
  1313. package/dist/cdn/XIZSKXLB.js +0 -4
  1314. package/dist/cdn/XJZFSZ7I.js +0 -4
  1315. package/dist/cdn/XLNGBN5R.js +0 -4
  1316. package/dist/cdn/XMPW3ZKS.js +0 -4
  1317. package/dist/cdn/XOUIIXPC.js +0 -4
  1318. package/dist/cdn/XP4N5A7J.js +0 -4
  1319. package/dist/cdn/XQGXOJX2.js +0 -4
  1320. package/dist/cdn/XSG6ONPJ.js +0 -4
  1321. package/dist/cdn/XW5UCSFH.js +0 -4
  1322. package/dist/cdn/Y2K4YUWF.js +0 -4
  1323. package/dist/cdn/Y3PUHRTD.js +0 -4
  1324. package/dist/cdn/Y3RPCHIB.js +0 -4
  1325. package/dist/cdn/Y3WHLXXQ.js +0 -4
  1326. package/dist/cdn/Y4DMJZSI.js +0 -4
  1327. package/dist/cdn/Y4KPD5WU.js +0 -4
  1328. package/dist/cdn/Y4WKE3DP.js +0 -4
  1329. package/dist/cdn/Y6DHTF7N.js +0 -4
  1330. package/dist/cdn/Y7VY2WGL.js +0 -4
  1331. package/dist/cdn/YATR2A7R.js +0 -4
  1332. package/dist/cdn/YDKODMVM.js +0 -4
  1333. package/dist/cdn/YELS5YXV.js +0 -4
  1334. package/dist/cdn/YHT4QUDS.js +0 -4
  1335. package/dist/cdn/YIWRVEMM.js +0 -4
  1336. package/dist/cdn/YJDFI5K2.js +0 -4
  1337. package/dist/cdn/YQKPDBAO.js +0 -4
  1338. package/dist/cdn/YR6XP4JK.js +0 -41
  1339. package/dist/cdn/YSFIFAPX.js +0 -4
  1340. package/dist/cdn/YVT4G7OT.js +0 -4
  1341. package/dist/cdn/Z3FDX2OC.js +0 -4
  1342. package/dist/cdn/Z4C4GTOV.js +0 -4
  1343. package/dist/cdn/Z5D2372E.js +0 -4
  1344. package/dist/cdn/Z7IDJCKP.js +0 -4
  1345. package/dist/cdn/ZD56RQ56.js +0 -4
  1346. package/dist/cdn/ZE625CZL.js +0 -4
  1347. package/dist/cdn/ZEG6TYA7.js +0 -4
  1348. package/dist/cdn/ZGOM5TFM.js +0 -4
  1349. package/dist/cdn/ZLRBZSGH.js +0 -4
  1350. package/dist/cdn/ZMP2MHXU.js +0 -4
  1351. package/dist/cdn/ZMV3ZZNR.js +0 -4
  1352. package/dist/cdn/ZNGKN2UR.js +0 -4
  1353. package/dist/cdn/ZOKGKUSM.js +0 -4
  1354. package/dist/cdn/ZT6NJ2JF.js +0 -4
  1355. package/dist/cdn/ZV6FGNYE.js +0 -4
  1356. package/dist/cdn/ZWWH47Q7.js +0 -4
  1357. package/dist/cdn/ZXXJI7YS.js +0 -4
  1358. package/dist/cdn/ZYHYA4VA.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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as re}from"./ABIWIUL5.js";import{d as ae,e as se}from"./NXCV3ZPQ.js";import{f as Z,g as L,q as b,t as q,v as M}from"./F7M7SFLR.js";import{d as ee}from"./7HNEFOXL.js";import{f as X,g as z}from"./4MEREPPV.js";import{b as $}from"./UEDU4OD4.js";import{a as te}from"./UHZCF2VD.js";import{a as J}from"./A3HKDEYR.js";import{j as R}from"./XW5UCSFH.js";import{k as O}from"./LGDMORBM.js";import{d as A,k as D,n as P}from"./3KXXSU6C.js";import{b as B}from"./6YAVFA4Y.js";import{b as C}from"./MJJATQM5.js";import{c as Y}from"./XA4RNB6D.js";import{a as S}from"./HX2AZDBS.js";import{d as U,e as V}from"./LYPMMTIF.js";import{a as Q}from"./NLHHSXKD.js";import{a as m}from"./OB2HTJ54.js";import{c as F,n as G}from"./M3PPBF6X.js";import{a as g}from"./ICG5R6ZA.js";import{c as W}from"./4PL2DGEX.js";import{a as l,k as _,o as j}from"./K3PVIEPV.js";import{a as i}from"./3ZZGH6IY.js";function we(e,t){let a=["private","shared","org","public"],s=r=>a.indexOf(r);return s(e)>s(t)?"private":e}var Ke={location:"location.json"};function Te(){let e=["access","created","culture","description","extent","id","itemControl","modified","owner","tags","categories","type","typeKeywords","thumbnail","url","orgId"],t=["display","geometry","view","associations","catalogs","assistant","layout"],a=Object.keys(Ke),s=[];return e.forEach(r=>{s.push({entityKey:r,storeKey:`item.${r}`})}),t.forEach(r=>{s.push({entityKey:r,storeKey:`data.${r}`})}),a.forEach(r=>{s.push({entityKey:r,storeKey:`resources.${r}`})}),s.push({entityKey:"slug",storeKey:"item.properties.slug"}),s.push({entityKey:"summary",storeKey:"item.snippet"}),s.push({entityKey:"schemaVersion",storeKey:"item.properties.schemaVersion"}),s.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),s.push({entityKey:"name",storeKey:"item.title"}),s.push({entityKey:"boundary",storeKey:"item.properties.boundary"}),s.push({entityKey:"location",storeKey:"item.properties.location"}),s.push({entityKey:"discussionSettings",storeKey:"entitySettings.settings.discussions"}),s.push({entityKey:"entitySettingsId",storeKey:"entitySettings.id"}),s}function Ie(e,t){return t.createdDate=new Date(e.created),t.createdDateSource="item.created",t.updatedDate=new Date(e.modified),t.updatedDateSource="item.modified",t.location=t.location||D(e),t.isDiscussable=Z(e),t}function N(e,t){return Promise.all([U(e,t),V(e,t)]).then(a=>({item:a[0],data:a[1]}))}async function Ce(e,t){let a=l(e.item);a.data=l(e.data),a.extent&&typeof a.extent!="string"&&(a.extent=C(a.extent));let s=await ae(Object.assign({item:a},t));return N(s.id,t)}function ie(e,t){let a=l(e.item);a.data=l(e.data),a.extent&&typeof a.extent!="string"&&(a.extent=C(a.extent)),_e(a)&&(t.params=Object.assign(Object.assign({},t.params),{clearEmptyFields:!0}));let s=Object.assign({item:a},t);return se(s).then(()=>a.data?N(a.id,t):U(a.id,t).then(r=>({item:r})))}function _e(e){return["description","snippet","tags","categories","licenseInfo"].some(t=>{var a;return e[t]===""||((a=e[t])===null||a===void 0?void 0:a.length)===0})}var v="::",E="|";function Qt(e){return e.indexOf(v)>-1&&(e=e.replace(v,E)),e}function Ae(e){return e.indexOf(E)>-1&&(e=e.replace(E,v)),e}var ce="~",le=256,k="slug";function Zt(e,t="",a=0){let s=[k];return t&&s.push(t.toLowerCase()),s.push(e),s.join("|").substring(0,le-a).replace(/-+$/,"").replace(new RegExp(`^${k}\\|`),"")}function qt(e){let t=`${k}|${e}|`;return le-t.length}var ea=e=>{let t,a,s=S(e)&&e;if(!s){let r;[r,s]=e.split(ce);let n=new RegExp(`^((.*)${v})?(.*)$`).exec(r);n&&(t=n[2],a=n[3])}return{id:s,slug:a,orgKey:t}},De=(e,t)=>`${e.split(E).pop()}${ce}${t}`;function Pe(e,t,a){let s={slug:"",orgUrlKey:"",typeKeywords:[]};return s.orgUrlKey=t.toLowerCase(),e&&(t&&(e=e.replace(new RegExp(`${t.toLowerCase()}\\|`,"gi"),""),e=`${t}|${e}`),s.slug=e.toLowerCase()),s.typeKeywords=a.filter(r=>!r.startsWith("slug|")),s.slug&&s.typeKeywords.push(`slug|${s.slug}`),s}function Ue(e){let t=e.split(" AS "),a=t[0],s=t[1]||a.split(".").reverse()[0];return{enrichment:a.split(".")[0],path:a,prop:s}}function Ve(e,t){let a=Object.assign(Object.assign({},t),e),s=Object.keys(t);return Object.keys(a).reduce((n,o)=>(s.includes(o)||n.push(o),n),[]).forEach(n=>{delete a[n]}),a}function $e(e,t=!1){let{id:a,properties:s}=e,r=s?.slug;return r?Ae(t?De(r,a):r):a}function Le(e,t){let a;return t.authentication&&(a=t.authentication.token),{self:B(e.id,t),siteRelative:P(e.type,$e(e),e.typeKeywords),siteRelativeEntityType:P(e.type),workspaceRelative:ee(e.type,e.id),thumbnail:$(e,t,a)}}async function Me(e,t){let a=z(e)?await V(e.id,t).catch(()=>null):null;return{item:e,data:a}}function w(e){return e=e.toLowerCase(),e.includes("//")&&(e=e.split("//")[1]),e}var x="hubsubdomain";function ke(e){return`${x}|${e.toLowerCase()}`}function xe(e,t){let a=e.filter(s=>!s.startsWith(`${x}|`));return a.push([x,t.toLowerCase()].join("|")),a}var ue=(e,t)=>{e.typeKeywords=xe(e.typeKeywords,e.subdomain),e.url=`${t.authentication.portal.replace("/sharing/rest",R)}/#/${e.subdomain}`};function pe(e,t){let a=e;e.indexOf("#/")>-1&&(a=e.split("#/")[1]);let s=ke(a),r=Object.assign({q:`typekeywords: ${s}`},t);return Y(r).then(n=>n.results.filter(o=>J(o.typeKeywords,s))[0]).then(n=>{if(!n)throw new Error("site not found");return{hostname:n.url,siteId:n.id}})}function y(e){return`${e||"https://hub.arcgis.com"}/api/v3/domains`}function h(e){let t={},a=i(e,"authentication.token");return a&&(t.Authorization=a),t}async function K(e){return e.status>=200&&e.status<300?e.json():e.json().then(t=>{throw t.error?new Error(`${t.error.title} :: ${t.error.detail} :: ${e.status}`):new Error(`Got ${e.status} ${e.statusText}`)})}function de(e,t){if(t.isPortal)return pe(e,t);{let a=`${y(t.hubApiUrl)}/${e}`,s=h(t);return fetch(a,{method:"GET",headers:s,mode:"cors"}).then(K)}}var Ne=1.9;function He(e){if(i(e,"item.properties.schemaVersion")>=1)return e;let t=l(e);if(["groupId","title"].forEach(a=>{delete t.data.values[a]}),t.item.properties||(t.item.properties={}),t.item.properties.schemaVersion=1,t.data.values.groups&&Array.isArray(t.data.values.groups)){let a=t.data.values.groups.map(s=>typeof s=="object"?s.id:s).filter(s=>!!s);t.data.values.groups=a}return t}function je(e){if(i(e,"item.properties.schemaVersion")>=1.1)return e;let t=l(e);return["subdomain","defaultHostname","internalUrl","customHostname","externalUrl"].forEach(a=>{t.data.values[a]&&typeof t.data.values[a]=="string"&&(t.data.values[a]=t.data.values[a].toLowerCase())}),t.item.properties.schemaVersion=1.1,t}function Fe(e){if(i(e,"item.properties.schemaVersion")>=1.2)return e;let t=l(e),a=i(t,"data.catalog")||{};return i(t,"data.values.groups")&&(a.groups=l(t.data.values.groups),delete t.data.values.groups),t.data.catalog=a,t.item.properties.schemaVersion=1.2,t}function Ge(e){if(i(e,"item.properties.schemaVersion")>=1.3)return e;let t=l(e),a=i(t,"data.catalog.groups")||[];return t.data.catalog.groups=a.filter(S),t.item.properties.schemaVersion=1.3,t}function Re(e){if(i(e,"item.properties.schemaVersion")>=1.4)return e;let t=l(e),a=i(t,"data.values.gacode");return t.data.values.telemetry={consentNotice:{isTheme:!0,consentText:"",policyURL:""},customAnalytics:{ga:{customerTracker:{enabled:!!a,id:a}}}},Q(t,"data.values.gacode"),m("item.properties.schemaVersion",1.4,t),t}function We(e){if(i(e,"item.properties.schemaVersion")>=1.5)return e;let t=l(e),a=t.data.values.dcatConfig;return t.data.feeds={},a&&(t.data.feeds.dcatUS11=Be(a)),t.item.properties.schemaVersion=1.5,t}var ne={"{{default.name}}":"{{name}}","{{default.description}}":"{{description}}","{{item.tags}}":"{{tags}}","{{item.created:toISO}}":"{{created:toISO}}","{{item.modified:toISO}}":"{{modified:toISO}}","{{default.source.source}}":"{{source}}","{{item.owner}}":"{{owner}}","{{org.portalProperties.links.contactUs.url}}":"{{orgContactEmail}}","{{org.name}}":"{{orgName}}","{{item.categories}}":"{{categories}}","{{item.licenseInfo}}":"{{licenseInfo}}","{{item.modified}}":"{{modified}}","{{enrichments.categories}}":"{{categories}}","{{default.id}}":"{{id}}","{{item.licenseInfo || No License}}":"{{licenseInfo || No License}}","{{org.portalProperties.links.contactUs.url || mailto:data@tempe.gov}}":"{{orgContactEmail || mailto:data@tempe.gov}}","{{default.description || No Description}}":"{{description || No Description}}","{{item.id}}":"{{id}}"};function Be(e){let t=JSON.stringify(e);return Object.keys(ne).forEach(s=>{let r=ne[s];t=t.split(s).join(r)}),JSON.parse(t)}function Oe(e){var t;if(((t=e.item.properties)===null||t===void 0?void 0:t.schemaVersion)>=1.6)return e;let a=l(e);return a.data.values.layout.sections.map(s=>Object.assign(Object.assign({},s),{rows:(s.rows||[]).map(r=>Object.assign(Object.assign({},r),{cards:(r.cards||[]).map(n=>(n.component.name==="event-list-card"&&(n.component.settings.displayMode=n.component.settings.calendarEnabled?"calendar":"list",delete n.component.settings.calendarEnabled),n))}))})),m("item.properties.schemaVersion",1.6,a),a}var me=[{capability:"hideFollow",feature:"hub:site:feature:follow",negate:!0},{capability:"disableDiscussions",feature:"hub:site:feature:discussions",negate:!0}],Ye=e=>{let t={},a={};(i(e,"data.values.capabilities")||[]).forEach(r=>{t[r]=!0});let s=i(e,"data.settings.features")||{};return a=me.reduce((r,n)=>{let o=n.negate?!t[n.capability]:t[n.capability];return Object.assign(Object.assign({},r),{[n.feature]:o})},s),m("data.settings.features",a,e),e};function Je(e){if(i(e,"item.properties.schemaVersion")>=1.8)return e;let a=l(e);a.data.telemetry={};let r=(i(e,"data.values.capabilities")||[]).includes("consentNotice");a.data.telemetry.consentNotice={allowPrivacyConfig:r,disclaimer:[{text:i(e,"data.values.telemetry.consentNotice.consentText")||"",default:!0}],policyURL:i(e,"data.values.telemetry.consentNotice.policyURL")||""};let n=i(e,"item.properties.telemetry.plugins");return n&&(a.data.telemetry.plugins=n),m("item.properties.schemaVersion",1.8,a),a}function Xe(e){if(i(e,"data.values.map.basemaps"))return e;if(i(e,"data.values.map.baseMapLayers")){let t=l(e),a=i(e,"data.values.map.baseMapLayers"),s=i(e,"data.values.map.title");return delete t.data.values.map.baseMapLayers,delete t.data.values.map.title,t.data.values.map.basemaps={primary:{baseMapLayers:a,title:s}},t}else return e}function ze(e){if(i(e,"data.telemetry"))return e;let t=l(e);return t.data.telemetry={},t}function Qe(e){let t=i(e,"item.type")==="Web Mapping Application",a=g(e,"item.typeKeywords",[]).includes("hubSite");return t&&a&&(e.item.type="Hub Site Application"),e}function Ze(e){let t=l(e),a=i(e,"data.values.capabilities");return a&&(t.data.values.capabilities=a.filter(s=>s!=="underlinedLinks")),t}function qe(e){let t=g(e,"data.catalog",{});if(!t.schemaVersion){let a=l(e);a.data.catalog=M(t);let s=a.data.catalog;return i(a,"data.values.isUmbrella")&&(s.scopes.item.filters=[{predicates:[{openData:!0}]}],s.scopes={item:s.scopes.item}),s.title="Default Site Catalog",a}return e}var p;(function(e){e.DATA="components.search.category_tabs.data",e.SITES="components.search.category_tabs.sites",e.DOCUMENTS="components.search.category_tabs.documents",e.APPS_AND_MAPS="components.search.category_tabs.apps_and_maps",e.EVENTS="components.search.category_tabs.events",e.INITIATIVES="components.search.category_tabs.initiatives"})(p||(p={}));var et=["dataset","document","site","appAndMap"];function tt(e){let t=et.reduce((o,c)=>{let u=c==="appAndMap"?[{type:{any:["$app","$map"]}}]:[{type:{any:[`$${c}`]}}];return o[c]={label:null,key:c,include:[],targetEntity:"item",scope:{targetEntity:"item",filters:[{predicates:u}]},displayConfig:{hidden:!1}},o},{}),a={[p.DATA]:"dataset",[p.INITIATIVES]:"site",[p.SITES]:"site",[p.DOCUMENTS]:"document",[p.APPS_AND_MAPS]:"appAndMap"},s=[{key:p.SITES,hidden:!0},{key:p.DATA},{key:p.DOCUMENTS},{key:p.APPS_AND_MAPS}];return(e||s).filter(o=>o.key!==p.EVENTS).filter(o=>!!a[o.key]).map(o=>{let c=a[o.key],u=t[c];return u.label=o.overrideText||null,u.displayConfig.hidden=!!o.hidden,u})}function at(e){let t=g(e.data,"values.searchCategories",void 0),a=tt(t);return i(e,"data.values.isUmbrella")&&a.forEach(s=>{s.displayConfig.hidden=!1}),m("data.catalog.collections",a,e),e}function T(e){if(e.data.catalogV2)return e.data.catalogV2;let t=l(e);return t=qe(t),t=at(t),t.data.catalog}function st(e){if(i(e,"item.properties.schemaVersion")>=1.9)return e;let a=l(e),s=T(a);return a.data.catalogV2=s,m("item.properties.schemaVersion",1.9,a),a}function rt(e){let t=l(e),a=t.item.properties.slug||"",s=t.item.properties.orgUrlKey||"",r=Pe(a,s,t.item.typeKeywords);return r.slug&&(t.item.properties.slug=r.slug),r.orgUrlKey&&(t.item.properties.orgUrlKey=r.orgUrlKey),t.item.typeKeywords=r.typeKeywords,t}function nt(e){let t=Object.assign({},e),a=i(t,"data.values.layout.header");return a&&a.component&&!a.name&&(a.name="site-header"),t}function fe(e){return i(e,"item.properties.schemaVersion")!==Ne&&(e=He(e),e=je(e),e=Fe(e),e=Ge(e),e=Re(e),e=We(e),e=Oe(e),e=Ye(e),e=Je(e),e=st(e)),e=Xe(e),e=ze(e),e=Qe(e),e=Ze(e),e=rt(e),e=nt(e),e}function oe(e,t){return N(e,t).then(fe)}function ge(e,t){let a;if(S(e))a=oe(e,t);else{let s=e;s=w(s),s=s.split("/")[0],a=de(s,t).then(({siteId:r})=>oe(r,t))}return a}function ot(e){let t=l(e);return t.data.permissions=t.data.permissions||[],[{prop:"item.properties.contentGroupId",type:"group",permissions:["hub:project:create"]},{prop:"item.owner",type:"user",permissions:["hub:site:delete"]}].forEach(s=>{let r=i(t,s.prop);r&&s.permissions.forEach(n=>{t.data.permissions.find(c=>c.permission===n&&c.collaborationId===r)||t.data.permissions.push({permission:n,collaborationType:s.type,collaborationId:r})})}),t}function ye(e,t){let a=Le(e,t);return Object.assign(Object.assign({},a),{self:e.url,layoutRelative:"/edit"})}function it(e,t,a){var s;let r;a.authentication&&(r=a.authentication.token),t=Ie(e.item,t);let n=$(e.item,a,r);return t.thumbnailUrl=n,t.links=ye(e.item,a),t.features=Ve(((s=e.data.settings)===null||s===void 0?void 0:s.features)||{},F),t.catalog=T(e),t.catalog=M(t.catalog),t.isCatalogV1Enabled=!!e.data.catalog,i(t,"assistant.access")&&(t.assistant.access=we(t.assistant.access,t.access)),t}function H(){let e=Te().filter(a=>a.entityKey!=="slug");return e.push({entityKey:"feeds",storeKey:"data.feeds"}),e.push({entityKey:"permissions",storeKey:"data.permissions"}),["pages","theme","subdomain","defaultHostname","customHostname","clientId","defaultExtent","map","headerSass","headContent","layout","isUmbrella"].forEach(a=>{e.push({entityKey:a,storeKey:`data.values.${a}`})}),e.push({entityKey:"events",storeKey:"data.events"}),e.push({entityKey:"initiatives",storeKey:"data.initiatives"}),e.push({entityKey:"projects",storeKey:"data.projects"}),e.push({entityKey:"content",storeKey:"data.content"}),e.push({entityKey:"followersGroupId",storeKey:"item.properties.followersGroupId"}),e.push({entityKey:"legacyCapabilities",storeKey:"data.values.capabilities"}),e.push({entityKey:"orgUrlKey",storeKey:"item.properties.orgUrlKey"}),e.push({entityKey:"name",storeKey:"item.title"}),e.push({entityKey:"legacyTeams",storeKey:"item.properties.teams"}),e.push({entityKey:"isHubHome",storeKey:"item.properties.isHubHome"}),e.push({entityKey:"features",storeKey:"data.settings.features"}),e.push({entityKey:"telemetry",storeKey:"data.telemetry"}),e}function ct(e,t){return pe(e,t).then(a=>!0).catch(a=>!1)}function he(e,t,a=0){let s=e;return a&&(s=[e,a].join("-")),ct(s,t).then(r=>{if(r){let n=a+1;return he(e,t,n)}else return s})}function lt(e,t){if(t.isPortal)throw new Error("domainExists is not available in ArcGIS Enterprise.");e=w(e);let a=`${y(t.hubApiUrl)}/${e}`,s=h(t);return fetch(a,{method:"GET",headers:s,mode:"cors"}).then(r=>r.status!==404)}function Se(e,t,a,s=0){let r=e;s&&(r=[e,s].join("-"));let n=`${r}-${t}`;return lt(n,a).then(o=>{if(o){let c=s+1;return Se(e,t,a,c)}else return r})}function ut(e,t){let a=l(e),s=63;return t&&(s=s-(t.length+1)),a.length>s&&(a=`${a.slice(0,s-6)}-${te(5)}`),a}function pt(e,t){let a;if(t.isPortal)a=he(e,t);else{let s=`${t.portalSelf.urlKey}.${w(A(t))}`;a=Se(e,s,t)}return a.then(s=>ut(s,t.portalSelf.urlKey))}function be(e){return Object.keys(e).forEach(t=>{e[t]&&typeof e[t]=="object"?be(e[t]):e[t]==null&&delete e[t]}),e}var dt={header:{background:"#fff",text:"#4c4c4c"},body:{background:"#fff",text:"#4c4c4c",link:"#0079c1"},button:{background:"#0079c1",text:"#fff"},logo:{small:""},fonts:{base:{url:"",family:"Avenir Next"},heading:{url:"",family:"Avenir Next"}}};function mt(e){let t=l(dt),a=i(e,"portalProperties.sharedTheme");return a&&(a=be(a),t=j(t,a)),t}function ve(e,t){if(t.isPortal)throw new Error("addDomain is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let a=h(t);a["Content-Type"]="application/json";let s=`${y(t.hubApiUrl)}`,r=e.siteTitle;return typeof r=="number"&&(e.siteTitle=r.toString()),e.clientKey&&(e.clientKey=""),fetch(s,{method:"POST",headers:a,mode:"cors",body:JSON.stringify(e)}).then(K)}function ft(e,t){if(t.isPortal)return Promise.resolve([{clientKey:"arcgisonline"}]);{let a=["defaultHostname","customHostname"];return Promise.all(a.reduce((s,r)=>{let n=i(e,`data.values.${r}`);if(n){let o={hostname:n,clientKey:e.data.values.clientId,orgId:t.portalSelf.id,orgTitle:t.portalSelf.name,orgKey:t.portalSelf.urlKey,siteId:e.item.id,siteTitle:e.item.title,sslOnly:!0};s.push(ve(o,t))}return s},[]))}}function gt(e,t){if(t.isPortal)throw new Error("removeDomainsBySiteId is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let a=h(t);a["Content-Type"]="application/json";let s=`${y(t.hubApiUrl)}/?siteId=${e}`;return fetch(s,{method:"DELETE",headers:a,mode:"cors"}).then(K)}function yt(e){let t=l(e),a={dataset:p.DATA,site:p.SITES,appAndMap:p.APPS_AND_MAPS,document:p.DOCUMENTS},s={[p.DATA]:"Dataset",[p.SITES]:"Site",[p.APPS_AND_MAPS]:"App,Map",[p.DOCUMENTS]:"Document"},n=T(t).collections.filter(o=>!!a[o.key]).map(o=>{var c;let u=a[o.key],f={hidden:!!(!((c=o.displayConfig)===null||c===void 0)&&c.hidden),key:u,queryParams:{collection:s[u]}};return o.label&&(f.overrideText=o.label),f});return t.data.values.searchCategories=n,t}function ht(e,t){let a=l(e),s=T(a),r=St(s);if(Array.isArray(r.groups))a.data.catalog=r;else return a.data.catalog=l(t.data.catalog),a;return a}function St(e){var t;let a={groups:[]};if(!((t=e.scopes)===null||t===void 0)&&t.item){let s=O(e.scopes.item);s&&(a.groups=g(s,"group.any",[]))}return a}var bt=(e,t)=>{let a={};(i(t,"data.values.capabilities")||[]).forEach(n=>{a[n]=!0});let s=i(e,"data.settings.features")||{};a=me.reduce((n,o)=>{let c=o.negate?!s[o.feature]:s[o.feature];return Object.assign(Object.assign({},n),{[o.capability]:c})},a);let r=Object.entries(a).reduce((n,[o,c])=>(c&&n.push(o),n),[]);return m("data.values.capabilities",r,e),e};function vt(e,t){if(t.isPortal)throw new Error("removeDomain is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");let a=h(t);a["Content-Type"]="application/json";let s=`${y(t.hubApiUrl)}/${e}`;return fetch(s,{method:"DELETE",headers:a,mode:"cors"}).then(K)}async function Et(e,t){if(t.isPortal)throw new Error("removeDomainByHostname is not available in ArcGIS Enterprise. Instead, edit the hubdomain typekeyword on the item");try{let a=await de(e,t),s=i(a,"id");s&&await vt(s,t)}catch(a){throw new Error(`Error removing domain entry for ${e}: ${a.message}`)}}async function wt(e,t,a){let s={clientKey:e.data.values.clientId,orgId:a.portalSelf.id,orgTitle:a.portalSelf.name,orgKey:a.portalSelf.urlKey,siteId:e.item.id,siteTitle:e.item.title,sslOnly:!0},r={remove:[],add:[]};["customHostname","defaultHostname"].forEach(o=>{let c=i(t,`data.values.${o}`)||"",u=i(e,`data.values.${o}`)||"";u.toLowerCase()!==c.toLowerCase()&&(r.remove.push(c),r.add.push(u))});let n=[];return r.add.map(o=>{let c=Object.assign({hostname:o},s);n.push(ve(c,a))}),r.remove.map(o=>{n.push(Et(o,a))}),Promise.all(n)}var Kt="Hub Site Application",Tt="Site Application",It={name:"",tags:[],typeKeywords:["Hub Site","hubSite","DELETEMESITE"],legacyCapabilities:["api_explorer","pages","my_data","social_logins","json_chart_card","document_iframes","items_view","app_page","underlinedLinks","globalNav","socialSharing"],catalog:{schemaVersion:1},subdomain:"",defaultHostname:"",customHostname:"",clientId:"",map:null,feeds:{},pages:[],theme:null,contentViews:{sidePanelOpen:{app:!0,map:!0,dataset:!0,document:!0,feedback:!0}},telemetry:{},layout:{sections:[],header:{component:{name:"site-header",settings:{fullWidth:!1,title:"",headerType:"default",menuLinks:[],schemaVersion:3,showTitle:!0}}}}},Ct={item:{title:"",description:"",snippet:"",tags:[],typeKeywords:["Hub Site","hubSite","DELETEMESITE"],properties:{orgUrlKey:"",defaultHostname:"",customHostname:"",clientId:"",subdomain:"",schemaVersion:1.5},url:""},data:{catalogV2:{schemaVersion:0},feeds:{},values:{title:"",defaultHostname:"",customHostname:"",subdomain:"",faviconUrl:"",uiVersion:"2.4",clientId:"",map:{basemaps:{}},defaultExtent:{},pages:[],theme:{},layout:{sections:[],header:{component:{name:"site-header",settings:{fullWidth:!1,iframeHeight:"150px",iframeUrl:"",links:[],logoUrl:"",title:"default site",markdown:"",headerType:"default",schemaVersion:3,showLogo:!0,showTitle:!0,logo:{display:{},state:"valid"},shortTitle:"",menuLinks:[],socialLinks:{facebook:{},twitter:{},instagram:{},youtube:{}}}},showEditor:!1},footer:{component:{name:"site-footer",settings:{footerType:"none",markdown:"",schemaVersion:2.1}},showEditor:!1}},contentViews:{sidePanelOpen:{app:!0,map:!0,dataset:!0,document:!0,feedback:!0}}}}};async function ta(e,t){let a=t.portalSelf,s=(a.urlKey||"").toLowerCase();e.orgUrlKey=s;let r=Object.assign(Object.assign({},It),e);r.type=t.isPortal?Tt:Kt,r.subdomain||(r.subdomain=q(r.name)),r.subdomain=await pt(r.subdomain,t),t.isPortal?ue(r,t):(r.defaultHostname=`${r.subdomain}-${s}.${w(A(t))}`,r.url=`https://${r.customHostname?r.customHostname:r.defaultHostname}`),r.theme||(r.theme=mt(a)),r.defaultExtent||(r.defaultExtent=a.defaultExtent),r.culture||(r.culture=a.culture),i(r,"map.basemaps.primary")||m("map.basemaps.primary",a.defaultBasemap,r),i(r,"layout.header.component.settings.title")||m("layout.header.component.settings.title",r.name,r),r.typeKeywords=L(r.typeKeywords,r.isDiscussable);let o=new b(H()).entityToStore(r,l(Ct));o=fe(o),delete o.data.catalog;let c=l(r.catalog);c.collections=[],o.data.catalogV2=c,o.data.useCatalogV2=!0,o=await Ce(o,t);let u=await ft(o,t);o.data.values.clientId=u[0].clientKey;let f=await ie(o,t);return I(f,t)}async function aa(e,t){var a,s,r,n,o,c;e.orgUrlKey=e.orgUrlKey.toLowerCase(),t.isPortal&&ue(e,t),e.typeKeywords=L(e.typeKeywords,e.isDiscussable);let u=await ge(e.id,t),d=new b(H()).entityToStore(e,u);(s=(a=d.data)===null||a===void 0?void 0:a.values)===null||s===void 0||delete s.telemetry,(n=(r=d.item)===null||r===void 0?void 0:r.properties)===null||n===void 0||delete n.telemetry,(c=(o=d.item)===null||o===void 0?void 0:o.properties)===null||c===void 0||delete c.slug,t.isPortal||await wt(d,u,t),d.data.catalogV2=e.catalog,e.isCatalogV1Enabled?(d=yt(d),d=ht(d,u)):(delete d.data.catalog,delete d.data.values.searchCategories,d.data.useCatalogV2=!0),d=bt(d,u);let Ee=await ie(d,t);return I(Ee,t)}async function sa(e,t){t.isPortal||await gt(e,t);let a=Object.assign(Object.assign({},t),{id:e});await re(a)}async function ra(e,t){let a=await ge(e,t);return I(a,t)}function I(e,t){let a=ot(e),r=new b(H()).storeToEntity(a,{});return it(e,r,t)}async function na(e,t){let a=await Me(e,t);return I(a,t)}async function oa(e,t,a){e.type=e.type==="Web Mapping Application"?"Hub Site Application":e.type;let s={access:e.access,id:e.id,type:e.type,name:e.title,owner:e.owner,typeKeywords:e.typeKeywords,tags:e.tags,categories:e.categories,summary:e.snippet||e.description,createdDate:new Date(e.created),createdDateSource:"item.created",updatedDate:new Date(e.modified),updatedDateSource:"item.modified",family:W(e.type),links:{self:"not-implemented",siteRelative:"not-implemented",thumbnail:"not-implemented"},location:D(e),rawResult:e};t=[...[],...t].filter(_);let n=t.map(Ue),o=G("enrichment",n).filter(_),c={};return o.length&&(c=await X(e,o,a)),n.forEach(u=>{s[u.prop]=i(c,u.path)}),s.links=ye(e,a),s}export{we as a,Ke as b,Te as c,Ie as d,N as e,Ce as f,ie as g,v as h,Qt as i,k as j,Zt as k,qt as l,ea as m,Pe as n,Ue as o,Ve as p,$e as q,Le as r,Me as s,w as t,pe as u,y as v,h as w,K as x,de as y,Ne as z,Re as A,We as B,Oe as C,Je as D,Xe as E,Qe as F,Ze as G,et as H,tt as I,T as J,st as K,nt as L,fe as M,oe as N,ge as O,H as P,ct as Q,he as R,lt as S,Se as T,ut as U,pt as V,be as W,dt as X,mt as Y,ve as Z,ft as _,gt as $,vt as aa,Et as ba,Kt as ca,Tt as da,ta as ea,aa as fa,sa as ga,ra as ha,I as ia,na as ja,oa as ka};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var e;(function(o){o.ACTIVE="active",o.HOVER="hover",o.DEFAULT="default"})(e||(e={}));function g(o,t=3.5){return o.resolution*t}function L(o,t=a.callout,i){let{backgroundColor:n,textColor:s,hoverColor:l,activeColor:r,width:E,isOffset:c,is3D:y}=t,p=i+1,C=[255,255,255];return o===e.HOVER?C=l:o===e.ACTIVE&&(C=r),{type:"cim",data:{type:"CIMSymbolReference",symbol:{type:"CIMPointSymbol",symbolLayers:[{type:"CIMVectorMarker",enable:!0,size:30,frame:{xmin:-4,ymin:-4,xmax:4,ymax:4},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{x:c?4.5:4,y:c?y?9:11:4},symbol:{type:"CIMTextSymbol",fontFamilyName:"Sans Serif",fontStyleName:"Bold",height:3.25,horizontalAlignment:"Center",symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidFill",enable:!0,color:[...s,255]}]},verticalAlignment:"Center"},textString:p>99?"99+":`${p}`}],scaleSymbolsProportionally:!0},{type:"CIMVectorMarker",enable:!0,size:30,frame:{xmin:c?-5:-4,ymin:c?y?-9:-11:-4,xmax:c?3:4,ymax:c?y?-1:-3:4},markerGraphics:[{type:"CIMMarkerGraphic",geometry:{rings:[[[0,0],[4,0],[4.35,.02],[4.69,.06],[5.04,.14],[5.37,.24],[5.69,.37],[6,.54],[6.29,.72],[6.57,.94],[6.83,1.17],[7.06,1.43],[7.28,1.71],[7.46,2],[7.63,2.31],[7.76,2.63],[7.86,2.96],[7.94,3.31],[7.98,3.65],[8,4],[7.98,4.35],[7.94,4.69],[7.86,5.04],[7.76,5.37],[7.63,5.69],[7.46,6],[7.28,6.29],[7.06,6.57],[6.83,6.83],[6.57,7.06],[6.29,7.28],[6,7.46],[5.69,7.63],[5.37,7.76],[5.04,7.86],[4.69,7.94],[4.35,7.98],[4,8],[3.65,7.98],[3.31,7.94],[2.96,7.86],[2.63,7.76],[2.31,7.63],[2,7.46],[1.71,7.28],[1.43,7.06],[1.17,6.83],[.94,6.57],[.72,6.29],[.54,6],[.37,5.69],[.24,5.37],[.14,5.04],[.06,4.69],[.02,4.35],[0,4],[0,0]]]},symbol:{type:"CIMPolygonSymbol",symbolLayers:[{type:"CIMSolidStroke",enable:!0,capStyle:"Round",joinStyle:"Round",lineStyle3D:"Strip",miterLimit:10,width:E,color:[...C,255]},{type:"CIMSolidFill",enable:!0,color:[...n,255]}]}}]}]}}}}function b(o=e.DEFAULT,t=a.point){let{activeColor:i,color:n,hoverColor:s}=t,l=n;return o===e.HOVER?l=s:o===e.ACTIVE&&(l=i),{type:"text",color:[...l,.9],text:"\uE61D",font:{size:24,family:"CalciteWebCoreIcons"}}}function h(o=e.DEFAULT,t=a.polyline){let{activeColor:i,color:n,hoverColor:s,width:l}=t,r=n;return o===e.HOVER?r=s:o===e.ACTIVE&&(r=i),{type:"simple-line",color:[...r,1],width:l,style:"solid"}}function f(o=e.DEFAULT,t=a.polygon){let{activeColor:i,color:n,hoverColor:s,width:l}=t,r=n;return o===e.HOVER?r=s:o===e.ACTIVE&&(r=i),{type:"simple-fill",color:[...n,.15],outline:{color:[...r,1],width:l}}}var A=[115,96,167],I=2,u=[39,129,153],O=[169,169,169],d=[255,255,255],x=[0,0,0],S=2,T={activeColor:u,color:A,hoverColor:O},m=Object.assign(Object.assign({},T),{width:I}),a={point:T,polyline:m,polygon:m,callout:{backgroundColor:d,textColor:x,hoverColor:O,activeColor:u,width:S,isOffset:!1},extent:m},M={callout:L,extent:f,point:b,polyline:h,polygon:f};export{e as a,g as b,a as c,M as d};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{da as r}from"./4XPEKRF3.js";async function c(e,t){return await Promise.all(e.map(async s=>o(s,t)))}async function o(e,t){if(e.kind==="section"&&(e.children=await c(e.children,t)),e.kind==="content")try{let n={targetEntity:"item",filters:[{predicates:[{id:e.contentId}]}]},{results:s}=await r(n,{requestOptions:t});return delete e.contentId,Object.assign(Object.assign({},e),{kind:"external",href:s[0].links.siteRelative})}catch{throw new Error(`Unable to fetch entity: ${e.contentId}`)}else return e}export{c as a,o as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var t;(function(e){e.generic="generic",e.timeout="timeout"})(t||(t={}));export{t as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- function n(t){return typeof t!="string"||(t=t.trim(),t[t.length-1]==="/"&&(t=t.slice(0,-1))),t}function a(t={}){return t.portal?n(t.portal):t.authentication&&typeof t.authentication!="string"?t.authentication.portal:"https://www.arcgis.com/sharing/rest"}export{n as a,a as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var N;(function(E){E.PENDING="pending",E.PROCESSING="processing",E.CONVERTING="converting",E.COMPLETED="completed",E.FAILED="failed"})(N||(N={}));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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as c}from"./TGCCLBCD.js";import{c as _}from"./2CYHJGQB.js";import{c as C}from"./M6ICYB53.js";import{a as v}from"./LXSGHUOK.js";import"./5IGWGEAC.js";import"./N6HRRD4P.js";import"./IGLNMUE2.js";import"./KYT7VNYZ.js";import"./BR6UDZ2J.js";import"./P5LOB3UY.js";import{a as y}from"./KKYGZSD6.js";import"./UDZXRNZD.js";import{a as m}from"./EMDE7UE2.js";import"./N4VF5EZ6.js";import{a as u}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as r,c as b,d as I,e as d,h as p,i as S}from"./IL35QNQE.js";import"./GELTJKOX.js";import"./3ZZGH6IY.js";import"./WEVWAFTF.js";import"./DTDDD7RA.js";export default $arcgis.t(([])=>{var A='.image-upload__title{margin-bottom:0px;font-size:var(--calcite-font-size-2);line-height:1.5rem}.image-upload__content{transition:all 200ms ease-in-out;border:1px solid var(--calcite-color-border-3);box-sizing:border-box;background-color:var(--calcite-color-background);padding-left:2rem;padding-right:2rem;padding-top:1rem;padding-bottom:1.5rem}.image-upload__content--with-map{min-height:400px}.image-upload__content--no-padding{padding:0px}.image-upload__canvas{left:-10000px;visibility:hidden;position:fixed}.or-container{margin-top:1rem;margin-bottom:1rem;text-align:center;font-weight:var(--calcite-font-weight-medium)}.or-container:before,.or-container:after{content:"";border-top:solid 1px var(--calcite-color-border-input);width:15%;height:1px;z-index:1;display:inline-block;vertical-align:middle}.or-wrapper{padding-left:0.5rem;padding-right:0.5rem}.image-upload__from-map-button{border:1px solid var(--calcite-color-foreground-3);background-color:var(--calcite-color-foreground-1);padding:1rem;text-align:center}.image-upload__from-map-button:hover{border:1px solid var(--calcite-color-brand)}.image-upload__from-map-title{display:inline-block}.from-map-title-wrapper{display:flex;align-items:center}.from-map-icon{margin-right:0.5rem}.image-upload__from-map-desc{margin:0px;font-size:var(--calcite-font-size-1);line-height:1.5rem}.hide{display:none}.button-container{margin-top:0.5rem;display:flex;width:100%;flex-direction:row;justify-content:space-between;padding-top:1.25rem}.error{background-color:#FFF1EF;border-color:var(--calcite-color-status-danger)}',z=A,L=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},o;(function(e){e.FILE="file",e.EDIT="edit"})(o||(o={}));var U=class{get _messageOverrides(){return{close:this.intl.t("close")}}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.el)}constructor(e){S(this,e),this.arcgisImageUploadCancel=d(this,"arcgisImageUploadCancel",7),this.arcgisImageUploadError=d(this,"arcgisImageUploadError",7),this.arcgisImageUploadSave=d(this,"arcgisImageUploadSave",7),this.hubTelemetry=d(this,"hubTelemetry",7),this.imageFormat="png",this.fileName="",this.triggerErrorState=()=>{this.hasError=!0,setTimeout(()=>{this.resetErrorState()},3e3)},this.resetErrorState=()=>{this.hasError=!1},this.handleCancel=()=>{this.arcgisImageUploadCancel.emit()},this.handleChooseDiffClick=()=>{this.activeStep=o.FILE,this.previewSrc="",this.editExisting=!1,this.arcgisImageUploadSave.emit({source:c.UPLOAD,blob:void 0,base64:void 0,fileName:void 0,format:void 0,url:void 0}),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)},this.handleSaveClick=async()=>{if(this.activeStep===o.FILE)return;this.saving=!0;let t=await this.getCanvasImage();this.arcgisImageUploadSave.emit(t),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image),this.inline&&this.resetState()},this.modalTitle=void 0,this.sizeDescription=void 0,this.zoomToFit=!0,this.maxWidth=300,this.maxHeight=300,this.fillBackground=!1,this.active=void 0,this.height=window.innerWidth<412?200:300,this.aspectRatio=1,this.inline=!1,this.previewSrc=void 0,this.saving=!1,this.editExisting=!1,this.isModified=!1,this.activeStep=o.FILE,this.hasError=!1,y(this,"handleCancel","handleChooseDiffClick","handleSaveClick","getEditStepRef","getCanvasRef")}handleFileChange(e){let{fileName:t,dataURL:a}=e.detail;this.fileName=t,this.previewSrc=a,this.activeStep=o.EDIT,this.resetErrorState()}handleInvalidFile(){this.arcgisImageUploadError.emit("invalid file type."),this.triggerErrorState()}async handleImageChange(){if(this.isModified=!0,this.activeStep===o.FILE)return;let e=await this.getCanvasImage();this.arcgisImageUploadSave.emit(e),this.hubTelemetry.emit(m.dictionary.category.interaction.action.add.label.image)}handleActiveChange(){this.active||this.resetState()}resetState(){this.activeStep=o.FILE,this.saving=!1,this.isModified=!1,this.previewSrc="",this.editExisting=!1,this.resetErrorState()}dataURIToBlob(e){let t=atob(e.split(",")[1]),a=e.split(",")[0].split(":")[1].split(";")[0],i=new ArrayBuffer(t.length),n=new Uint8Array(i);for(let l=0;l<t.length;l++)n[l]=t.charCodeAt(l);return new Blob([i],{type:a})}drawImage({selectionX:e,selectionY:t,selectionWidth:a,selectionHeight:i,canvasWidth:n,canvasHeight:s,minWidth:l,minHeight:h,drawDimensions:g},E,R,f){this.canvasEl.width=n<l?l:n*E,this.canvasEl.height=s<h?h:s*E,this.maxWidth&&this.canvasEl.width>this.maxWidth&&(this.canvasEl.width=this.maxWidth),this.maxHeight&&this.canvasEl.height>this.maxHeight&&(this.canvasEl.height=this.maxHeight);let D=g.left*this.canvasEl.width,F=g.top*this.canvasEl.height,T=g.width*this.canvasEl.width,O=g.height*this.canvasEl.height;this.fillBackground&&(f.fillStyle="#efefef",f.fillRect(0,0,this.canvasEl.width,this.canvasEl.height)),f.drawImage(R,e,t,a,i,D,F,T,O);let w=this.canvasEl.toDataURL("image/png"),k=this.dataURIToBlob(w);return{base64:w,blob:k}}async getScaledImageData(e){let t=this.canvasEl.getContext("2d"),a=await this.editStepEl.getDrawParameters(),i;function n(){return t.clearRect(0,0,this.canvasEl.width,this.canvasEl.height),this.drawImage(a,1600/e.width,e,t)}try{i=this.drawImage(a,1,e,t),(i.blob.size>1e7||i.blob.size===0)&&(i=n())}catch(s){s.name!=="NS_ERROR_FAILURE"?this.arcgisImageUploadError.emit("unable to save the image provided."):i=n()}return{source:c.UPLOAD,blob:i?.blob,base64:i?.base64,format:this.imageFormat,fileName:this.fileName,url:void 0}}getCanvasImage(){return new Promise(e=>{let t=new Image;this.previewSrc.indexOf("arcgis.com")>-1&&(t.crossOrigin="Anonymous"),t.onload=()=>{if(Math.abs(this.aspectRatio-t.width/t.height)<.01&&!this.isModified){e({source:c.UPLOAD,blob:this.dataURIToBlob(this.previewSrc),base64:this.previewSrc,format:this.imageFormat,fileName:this.fileName,url:void 0});return}e(this.getScaledImageData(t))},t.src=this.previewSrc})}getEditStepRef(e){this.editStepEl=e}getCanvasRef(e){this.canvasEl=e}renderInlineEditStateButtons(){if(this.activeStep===o.EDIT)return r("div",{class:"button-container"},r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"back",width:this.inline?"auto":"full"},this.intl.t("chooseDiff")))}renderModalButtons(){return r(p,null,this.activeStep===o.EDIT&&r("calcite-button",{appearance:"transparent",disabled:this.saving,"icon-start":"chevron-left",onClick:this.handleChooseDiffClick,slot:"footer-start"},this.intl.t("chooseDiff")),r("calcite-button",{appearance:"outline",class:{hide:this.inline},disabled:this.saving,onClick:this.handleCancel,slot:"footer-end"},this.intl.t("cancel")),r("calcite-button",{appearance:"solid",class:{hide:this.inline},disabled:this.saving,loading:this.saving,onClick:this.handleSaveClick,slot:"footer-end"},this.intl.t("done")))}renderContent(){return r(p,null,this.modalTitle&&this.inline&&r("h3",{"aria-label":this.modalTitle,class:"image-upload__title",id:"image-upload-modal-title",slot:"header"},this.modalTitle),this.inline&&this.renderInlineEditStateButtons(),r("div",{class:{"image-upload__content":!0,error:this.hasError}},this.activeStep===o.FILE&&r("div",null,r("arcgis-hub-image-upload-file-step",{sizeDescription:this.sizeDescription})),this.activeStep===o.EDIT&&r("arcgis-hub-image-upload-edit-step",{aspectRatio:this.aspectRatio,height:this.height,previewSrc:this.previewSrc,ref:this.getEditStepRef,zoomToFit:this.zoomToFit}),this.activeStep===o.EDIT&&r("canvas",{class:"image-upload__canvas",ref:this.getCanvasRef})),!this.inline&&this.renderModalButtons())}render(){return r(b,{key:"63a8c7c45304971f88f9eedb047b953880f583c2","data-element":"image-upload"},this.inline?r(p,null,this.renderContent()):r("calcite-dialog",{"aria-labelledby":"image-upload-modal-title","aria-modal":"true",heading:this.modalTitle,messageOverrides:this._messageOverrides,modal:!0,onCalciteDialogClose:this.handleCancel,open:this.active,outsideCloseDisabled:!0,role:"dialog",width:"m"},this.renderContent()))}static get assetsDirs(){return["locales"]}get el(){return I(this)}static get watchers(){return{active:["handleActiveChange"]}}};L([v({timeout:1e3})],U.prototype,"handleImageChange",null);U.style=z;var V=":host{display:block}img{margin-top:1rem}",B=V,H=function(e,t,a,i){var n=arguments.length,s=n<3?t:i===null?i=Object.getOwnPropertyDescriptor(t,a):i,l;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")s=Reflect.decorate(e,t,a,i);else for(var h=e.length-1;h>=0;h--)(l=e[h])&&(s=(n<3?l(s):n>3?l(t,a,s):l(t,a))||s);return n>3&&s&&Object.defineProperty(t,a,s),s},x=class{constructor(e){S(this,e),this.arcgisImageUrlSave=d(this,"arcgisImageUrlSave",7),this.handleCalciteInputInputOrChange=t=>{this.imgSrc=t.target.value},this.imgSrc="",this.imgHeight=300,this.imgWidth=400,this.isValid=!1,this.isValidated=!1,this.isValidating=!1}async componentWillLoad(){this.intl=await u.loadIntlForComponent(this.element),this.validate(this.imgSrc)}handleImgSrcUpdated(e,t){this._handleImgSrcUpdated(e,t)}_handleImgSrcUpdated(e,t){this.isValidated=e===t,this.validate(e)}async validate(e){if(this.imgSrc){this.isValidating=!0;try{let t=C(e);this.isValid=await this.verifyImageExists(t),this.arcgisImageUrlSave.emit({source:c.URL,blob:void 0,base64:void 0,format:void 0,fileName:void 0,url:t})}finally{this.isValidating=!1,this.isValidated=!0}}}async verifyImageExists(e){return new Promise(t=>{if(_(e)){let a=new Image;a.src=e,a.onload=()=>t(!0),a.onerror=()=>t(!1)}else t(!1)})}get isInvalidUrl(){return!!this.imgSrc&&this.isValidated&&!this.isValid}get isValidUrl(){return!!this.imgSrc&&this.isValidated&&this.isValid}render(){return r(b,{key:"c3be26e2f8aa5d1c7e557212047f90fb18930f8f"},r("calcite-label",{key:"8c5dec798154076d785b87c5dc8f178f8261bff6"},this.intl.t("label"),r("calcite-input",{key:"003e4ff1ae3f06b21ea05e6a60adb771199af10e",onCalciteInputChange:this.handleCalciteInputInputOrChange,onCalciteInputInput:this.handleCalciteInputInputOrChange,status:this.isInvalidUrl?"invalid":"valid",type:"url",value:this.imgSrc}),this.isInvalidUrl&&r("calcite-input-message",{icon:"x-octagon",status:"invalid"},this.intl.t("error"))),this.isValidUrl&&r("img",{alt:this.intl.t("altText"),height:this.imgHeight,src:this.imgSrc,width:this.imgWidth}))}static get assetsDirs(){return["locales"]}get element(){return I(this)}static get watchers(){return{imgSrc:["handleImgSrcUpdated"]}}};H([v({timeout:250})],x.prototype,"_handleImgSrcUpdated",null);x.style=B;return{arcgis_hub_image_upload:U,arcgis_hub_image_url:x}},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{b as P,c as D}from"./NWQCYFQP.js";import{a as y,c as I}from"./MCOPQDF5.js";import{a as n}from"./OS4KESTZ.js";import{a as E}from"./4XQMFHRJ.js";import{a as m}from"./PEE6VWR3.js";import{a as c}from"./Q55GWGRZ.js";import{h as S}from"./3IQZS7VY.js";import{a as w}from"./3ZZGH6IY.js";var F=e=>new Promise(t=>setTimeout(t,e));async function N(e){b(e);let t=C(e),{pollInterval:o,updateCache:r,progressCallback:a}=e,i;return r&&(i="updateCache"),x(t,o,i,a)}function b(e){let{layers:t=[]}=e;if(t.length===0)throw new c("fetchHubApiDownloadFileUrl","No layers provided for download");if(t.length>1)throw new c("fetchHubApiDownloadFileUrl","Multiple layer downloads are not yet supported")}function C(e){let{entity:t,format:o,context:r,layers:a,geometry:i,where:l}=e,s=new URLSearchParams({redirect:"false",layers:a[0].toString()});if(i){let p=i.toJSON();p.type=i.type,s.append("geometry",JSON.stringify(p))}[m.GEOJSON,m.KML].includes(o)&&s.append("spatialRefId","4326"),l&&s.append("where",l);let d=w(r,"hubRequestOptions.authentication.token");return d&&s.append("token",d),`${r.hubUrl}/api/download/v1/items/${t.id}/${o}?${s.toString()}`}async function x(e,t,o,r){var a;let i=e;o&&(i=`${e}&${o}=true`);let l=await fetch(i);if(!l.ok){let g=await l.json(),u=g.message||((a=g.errors)===null||a===void 0?void 0:a.message);throw u==="Error downloading Shapefile. File size is larger than the 2GB limit."||u==="The dataset is too large for shapefile generation"?new D({rawMessage:u}):new P({rawMessage:u})}let{status:s,progressInPercent:d,resultUrl:p,cacheStatus:h}=await l.json(),f=R(s);if(f===n.FAILED)throw new c("fetchHubApiDownloadFileUrl","Download operation failed with a 200");return p?{type:"url",href:p,cacheStatus:h}:(r&&r(f,d),await F(t),x(e,t,"trackCacheUpdate",r))}function R(e){let t={Pending:n.PENDING,InProgress:n.PROCESSING,ExportingData:n.PROCESSING,ExportAttachments:n.PROCESSING,Completed:n.COMPLETED,CompletedWithErrors:n.FAILED,Failed:n.FAILED,ProvisioningReplica:n.PROCESSING,ImportChanges:n.PROCESSING,ExportChanges:n.PROCESSING,ExportingSnapshot:n.PROCESSING,ImportAttachments:n.PROCESSING,UnRegisteringReplica:n.PROCESSING},o={Pending:n.PENDING,InProgress:n.PROCESSING,PagingData:n.PROCESSING,ConvertingData:n.CONVERTING,Failed:n.FAILED,Completed:n.COMPLETED};return t[e]||o[e]}async function v(e){G(e);let{entity:t,format:o,context:r,progressCallback:a}=e;a&&a(n.PENDING);let i=A(e),{xmin:l,xmax:s,ymin:d,ymax:p}=i,{wkid:h}=i.spatialReference,f=Object.assign({},r.requestOptions);return f.httpMethod="GET",f.params={bbox:`${l},${d},${s},${p}`,bboxSR:`${h}`,f:"image",format:o,mosaicRule:'{"ascending":true,"mosaicMethod":"esriMosaicNorthwest","mosaicOperation":"MT_FIRST"}'},{type:"blob",blob:await S(`${t.url}/exportImage`,f),filename:$(t,o)}}function G(e){let{geometry:t}=e;if(t&&t.type!=="extent")throw new c("fetchExportImageDownloadFileUrl","Only extent geometric filters are supported for this type of download")}function A(e){let{entity:t,geometry:o}=e,r=w(t,"extendedProps.server.extent"),a=null;if(o?a=o:r&&(a=r),!a)throw new c("fetchExportImageDownloadFileUrl","Extent required for this download operation");return a}function $(e,t){let o=e.name||w(e,"extendedProps.server.name"),r=t.includes(m.PNG)?m.PNG:t;return`${o}.${r}`}async function B(e){M(e);let t=e.pollInterval==null?Object.assign(Object.assign({},e),{pollInterval:3e3}):e,o;if(y(t.entity,t.context))o=N;else if(E(t.entity))o=v;else throw new c("fetchDownloadFile","Downloads are not supported for this item in this environment");return o(t)}function M(e){let{entity:t,context:o,format:r}=e;if(!I({entity:t,context:o}).filter(i=>i.type==="dynamic").map(i=>i.format).includes(r))throw new c("fetchDownloadFile",`The following format is not enabled for the entity: ${r}`)}export{F as a,B as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- function p(e,t={}){let{isAuthenticated:s,hasCookie:o,orgBaseUrl:r,orgHasSSO:u}=t,i=e;return n(i)&&(i=c(i),s&&(o||u)&&(i=l(i,r))),i}function n(e){return a(e).endsWith("arcgis.com")}function a(e){let t=e.split("/"),s=t[2];return e.indexOf("http")!==0&&(s=t[0]),s}function c(e){let t=e;return n(e)&&(e.indexOf("http")!==0?t=`https://${e}`:e.indexOf("https:")!==0&&(t=e.replace("http:","https:"))),t}function l(e,t){let s=e;if(n(e)&&n(t)&&f(e)){let o=e.split("arcgis.com")[0];s=e.replace(`${o}arcgis.com`,t)}return s}function f(e){let t=!0,s=a(e);return["survey123.","survey123dev.","survey123qa.","insights.","insightsdev.","insightsqa.","urban.","urbandev.","urbanqa.","solutions.","services.","storymaps.","storymaps2dev.","storymaps2qa.","storymapsqa.","storymapsdev.","hub.arcgis.com","hubqa.arcgis.com","hubdev.arcgis.com","opendata.arcgis.com","opendataqa.arcgis.com","opendatadev.arcgis.com","experience.","experienceqa.","experiencedev.","livingatlas.","bao.","communityanalyst.","hub-sandbox-compass."].forEach(o=>{s.indexOf(o)!==-1&&(t=!1)}),t&&["embedGallery.html"].forEach(o=>{e.indexOf(o)!==-1&&(t=!1)}),t}function d(){let e=!1;return m()&&document.cookie.indexOf("esri_aopc")>-1&&(e=!0),e}function m(){let e=!1;if(window){let t=window.location.hostname||"";["arcgis.com"].some(o=>t===o||t.endsWith(`.${o}`))&&(e=!0)}return e}export{p as a,d as b};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{n as R}from"./NSKRAVOG.js";import{a as J}from"./IX5JWUQD.js";import{da as m}from"./4XPEKRF3.js";import{ha as k,t as S,y as O}from"./OESQ6NHK.js";import{v as b}from"./F7M7SFLR.js";import{a as f}from"./Q55GWGRZ.js";import{e as _}from"./Y7VY2WGL.js";import{a as d}from"./HX2AZDBS.js";import{d as w}from"./LYPMMTIF.js";import{a as v}from"./DRE4TJ6Z.js";import{n as C}from"./M3PPBF6X.js";import{a as u}from"./K3PVIEPV.js";import{a as p}from"./3ZZGH6IY.js";function x(i){return typeof i=="string"&&/^c[a-z0-9]{24}$/.test(i)}async function P(i,t,e,o={}){let s={identifier:i,isContained:!1},r={};d(i)||x(i)?r.id=i:r.typekeywords=`slug|${i}`;let a=[];if(o.entityType)if(t.scopes&&t.scopes[o.entityType])a.push({targetEntity:o.entityType,filters:[{predicates:[r]}]});else{let n=(t.collections||[]).filter(l=>l.targetEntity===o.entityType);if(n.length)n.forEach(l=>{a.push({targetEntity:l.targetEntity,filters:[{predicates:[r]},...l.scope.filters]})});else return Promise.resolve(s)}else Object.keys(t.scopes).forEach(c=>{a.push({targetEntity:c,filters:[{predicates:[r]}]})});let g=await Promise.all(a.map(c=>(t.scopes[c.targetEntity]&&(c.filters=[...c.filters,...t.scopes[c.targetEntity].filters]),m(c,{targetEntity:c.targetEntity,num:10,requestOptions:e.hubRequestOptions}))));return s.isContained=g.reduce((c,n)=>(n.results.length&&(r.id?c=!0:c=n.results.reduce((l,h)=>(h.typeKeywords.includes(r.typekeywords)&&(l=!0),l),!1)),c),!1),s}function F(i){return v({type:i})}async function I(i,t,e){let o;if(i.indexOf("http")===0){let s=i;s=S(s),s.includes("#")||(s=s.split("/")[0]);let r=await O(s,t.hubRequestOptions),a=await k(r.siteId,t.hubRequestOptions);o=p(a,e?.prop||"catalog")}else if(d(i)){let s;if(e?.hubEntityType)s=e.hubEntityType;else{let a=await w(i,t.requestOptions);s=F(a.type)}let r=await R(s,i,t);o=p(r,e?.prop||"catalog")}else if(x(i)){let s=await J(i,t.hubRequestOptions);o=p(s,e?.prop||"catalog")}else throw new f("Catalog.init","Identifier must be a url, item or event id");return o}var y=class i{constructor(t,e){this._collection=t,this._context=e}static fromJson(t,e){return new i(t,e)}toJson(){return u(this._collection)}get label(){return this._collection.label}get key(){return this._collection.key}get include(){return this._collection.include||[]}get scope(){return this._collection.scope}get sortField(){return this._collection.sortField||"title"}get sortDirection(){return this._collection.sortDirection||"asc"}get targetEntity(){return this._collection.targetEntity}async search(t,e={}){let o;typeof t=="string"?o={targetEntity:this._collection.targetEntity,filters:[{predicates:[{term:t}]}]}:o=u(t),o.filters=[...o.filters,...this.scope.filters];let s=u(e);return s.requestOptions=this._context.hubRequestOptions,s.sortField=e.sortField||this.sortField,s.sortOrder=e.sortOrder||this.sortDirection,s.include=e.include||this.include,m(o,s)}},D=class i{constructor(t,e){this._containsCache={},this._catalog=t,this._context=e}static async init(t,e,o){e||(e=(await _.create()).context);let s=await I(t,e,o);if(s)return new i(s,e);throw new f("Catalog.fetch","No catalog found for the entity")}static fromJson(t,e){let o=b(t);return new i(o,e)}toJson(){return u(this._catalog)}get schemaVersion(){return this._catalog.schemaVersion}get title(){return this._catalog.title}set title(t){this._catalog.title=t}get scopes(){return this._catalog.scopes||{}}get availableScopes(){return Object.keys(this.scopes)}get displayConfig(){return this._catalog.displayConfig}getScope(t){var e;return(e=this._catalog.scopes)===null||e===void 0?void 0:e[t]}setScope(t,e){this._catalog.scopes[t]=e}get collections(){return this._catalog.collections||[]}get collectionNames(){return C("key",this.collections)}getCollection(t){let e=this.getCollectionJson(t);return y.fromJson(e,this._context)}addCollection(t){var e;!((e=this._catalog.collections)===null||e===void 0)&&e.length?this._catalog.collections.push(t):this._catalog.collections=[t]}getCollectionJson(t){let e=this.collections.find(o=>o.key===t);if(e){let o=u(e),s=this.getScope(o.scope.targetEntity);return s?.filters&&(o.scope.filters=[...o.scope.filters||[],...s.filters]),o}else throw new f("getCollectionJson",`Collection "${t}" is not present in the Catalog`)}getCustomCollection(t,e){let o=this.getCustomCollectionJson(t,e);return y.fromJson(o,this._context)}getCustomCollectionJson(t,e){let o=this.getScope(t);return{key:`${t}-custom`,label:`${t} Custom`,targetEntity:t,scope:{targetEntity:t,filters:[...o?.filters||[],...e]}}}async searchItems(t,e){if(e||(e=this.getDefaultSearchOptions("item")),this.getScope("item"))return e.targetEntity="item",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for items",data:{scope:"item"}}],Promise.resolve(o)}}async contains(t,e){let o=Date.now();if(this._containsCache[t]){let s=u(this._containsCache[t]);return s.duration=Date.now()-o,Promise.resolve(s)}else{let s=await P(t,this._catalog,this._context,e);return this._containsCache[t]=s,s.duration=Date.now()-o,s}}async searchGroups(t,e){if(e||(e=this.getDefaultSearchOptions("group")),this.getScope("group"))return e.targetEntity="group",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for groups",data:{scope:"group"}}],Promise.resolve(o)}}async searchUsers(t,e={}){if(this.getScope("user"))return e.targetEntity="user",this.search(t,e);{let o=this.getEmptyResult();return o.messages=[{code:"missingScope",message:"Catalog does not have a scope for user",data:{scope:"user"}}],Promise.resolve(o)}}async searchCollections(t,e={}){let o=!0,s;typeof t=="string"?(o=!1,s={targetEntity:"item",filters:[{predicates:[{term:t}]}]}):s=t;let r=[],a=this.collectionNames.reduce((n,l)=>{let h=this.getCollection(l);return o?h.targetEntity===s.targetEntity&&(r.push(l),n.push(h.search(s,e))):(r.push(l),s.targetEntity=h.targetEntity,n.push(h.search(s,e))),n},[]),g=await Promise.all(a),c={};for(let n=0;n<r.length;n++)c[r[n]]=g[n];return c}async searchScopes(t,e={},o){let s;typeof t=="string"?s={targetEntity:"item",filters:[{predicates:[{term:t}]}]}:s=t;let r=[],a=this.availableScopes.reduce((n,l)=>{if(!o||o.includes(l)){r.push(l);let h=u(s),E=u(e);h.targetEntity=l,E.targetEntity=l,n.push(this.search(h,E))}return n},[]),g=await Promise.all(a),c={};for(let n=0;n<r.length;n++)c[r[n]]=g[n];return c}async search(t,e){let o=e.targetEntity,s;typeof t=="string"?s={targetEntity:o,filters:[{predicates:[{term:t}]}]}:(o=t.targetEntity,s=u(t));let r=this.getScope(o);r&&(s.filters=[...s.filters,...r.filters]);let a=u(e);return delete a.authentication,a.requestOptions=this._context.hubRequestOptions,m(s,a)}getEmptyResult(){return{results:[],total:0,hasNext:!1,next:null}}getDefaultSearchOptions(t){return{targetEntity:t,num:10,start:1,requestOptions:this._context.hubRequestOptions}}};export{x as a,P as b,F as c,y as d,D as e};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{b as n,c as s}from"./M6ICYB53.js";import{b as i}from"./7Q2UPKHH.js";import{a as r}from"./K3PVIEPV.js";function m(e){return u(i(e))}function u(e){let t=r(e);return t.type=="custom"&&(t.text=n(e.text),t.url=s(e.url),!t.text&&!t.url&&(t.type="none")),t}export{m as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var n;(function(a){a.start="start",a.center="center",a.end="end"})(n||(n={}));var e;(function(a){a.square="square",a.round="round"})(e||(e={}));var o;(function(a){a.none="none",a.low="low",a.medium="medium",a.heavy="heavy"})(o||(o={}));var r;(function(a){a.simple="simple",a.informational="informational"})(r||(r={}));var t;(function(a){a.small="s",a.medium="m",a.large="l"})(t||(t={}));var i;(function(a){a.before="before",a.after="after",a.below="below"})(i||(i={}));var c;(function(a){a.none="none",a.icon="icon"})(c||(c={}));var u;(function(a){a.caretUp="caret-up",a.caretDown="caret-down",a.caretDouble="caret-double-horizontal"})(u||(u={}));var s;(function(a){a.always="always",a.hover="hover"})(s||(s={}));var l;(function(a){a.dynamic="dynamic",a.static="static",a.itemQuery="itemQuery"})(l||(l={}));var m;(function(a){a.thumbnail="thumbnail",a.icon="icon"})(m||(m={}));export{n as a,e as b,o as c,r as d,t as e,i as f,c as g,u as h,l as i,m as j};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{c as s}from"./MCOPQDF5.js";import{a as m}from"./IAXLRBWW.js";import"./5IGWGEAC.js";import"./N6HRRD4P.js";import"./IGLNMUE2.js";import"./KYT7VNYZ.js";import"./BR6UDZ2J.js";import"./P5LOB3UY.js";import"./PY5HC7O2.js";import"./WKGTMZ4H.js";import"./QQVOWBAJ.js";import"./4XQMFHRJ.js";import"./PEE6VWR3.js";import"./HSKWCHNM.js";import"./YQKPDBAO.js";import"./3FPQRHZR.js";import"./CDO3OXKM.js";import{a as n}from"./KKYGZSD6.js";import{c as h}from"./G3FFTV5X.js";import"./UDZXRNZD.js";import"./EMDE7UE2.js";import"./N4VF5EZ6.js";import{a}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as r,c as l,d,i as p}from"./IL35QNQE.js";import"./DRE4TJ6Z.js";import"./M3PPBF6X.js";import"./ICG5R6ZA.js";import"./5NN6RI6W.js";import"./4PL2DGEX.js";import"./GELTJKOX.js";import"./K3PVIEPV.js";import"./3ZZGH6IY.js";import"./WEVWAFTF.js";import"./DTDDD7RA.js";export default $arcgis.t(([])=>{var c=":host{display:flex;flex-direction:column;gap:0.75rem}",u=c,y=class{constructor(t){p(this,t),this.entity=void 0,this.layerIds=void 0,this.geometry=void 0,this.where=void 0,this.downloadFormats=[],n(this,"renderDownloadFormat")}async componentWillLoad(){this.intl=await a.loadIntlForComponent(this.element)}componentDidLoad(){this.updateDownloadFormats()}updateDownloadFormats(){this.downloadFormats=this.entity?s({entity:this.entity,context:h(),layers:this.layerIds}):[]}renderDownloadFormat(t){return t.type==="static"?this.renderStaticDownloadFormat(t):this.renderDynamicDownloadFormat(t)}renderStaticDownloadFormat(t){let{format:o,label:e,url:i}=m(this.intl,t);return o?r("arcgis-hub-download-list-item",{format:o,headerLabel:e,key:o,url:i}):r("arcgis-hub-download-list-item",{buttonIconEnd:"launch",buttonIconStart:null,buttonLabel:this.intl.t("access"),headerLabel:e,key:e,url:i})}renderDynamicDownloadFormat(t){let{format:o}=t;return r("arcgis-hub-download-list-item",{entity:this.entity,format:o,geometry:this.geometry,key:o,layerIds:this.layerIds,where:this.where})}render(){return r(l,{key:"7851a44996b2f11878041304a1f4615bce62d86b","data-element":"download-list"},this.downloadFormats.map(this.renderDownloadFormat))}static get assetsDirs(){return["locales"]}get element(){return d(this)}static get watchers(){return{entity:["updateDownloadFormats"],layerIds:["updateDownloadFormats"]}}};y.style=u;return y},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var E=50;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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as z}from"./CDRD65MM.js";import{a as j,b as G,c as q}from"./4J4SYTCY.js";import{a as E,b as F}from"./4XPVHJXG.js";import"./FGGEIQNP.js";import{a as D}from"./BOBHI7HP.js";import c from"./IHV3I3Q6.js";import{a as v,b as m,c as $,d as U}from"./AB2M6XVK.js";import{a as w,b as O,c as y,d as V,f as _,n as S}from"./JDZTDT4C.js";import"./QHO2JL5F.js";import"./NJOQ4ZD4.js";import"./D4CFVNJT.js";import"./T76M4SVD.js";import"./HZONPM53.js";import{a as R}from"./IPHOFWI6.js";import"./OWJXIXPC.js";import"./I6OENN45.js";import"./P3C6TPKD.js";import"./ZWWH47Q7.js";import"./TRTLI2FH.js";import"./X3SN57MR.js";import"./6ST4HHYR.js";import"./IS6LKPKZ.js";import"./VF5IAO6E.js";import"./FD6VBFMB.js";import"./CJRJ4GJ4.js";import"./4NQMPFXJ.js";import"./M6ICYB53.js";import"./4VBNXJM4.js";import{a as C}from"./BI3NCEL7.js";import"./7MQKI6XD.js";import{a as W}from"./6XYB5VVD.js";import{a as b,b as L}from"./ZMV3ZZNR.js";import{a as I}from"./QFWY5MHB.js";import"./EEVM6AHT.js";import{A as T,C as H,I as M,a as k,d as f,n as N,p as A}from"./SNOWP6QN.js";import"./2FG734UB.js";import"./URFM4CWJ.js";import"./YELS5YXV.js";import"./7MHX6BIJ.js";import"./IAXLRBWW.js";import"./5IGWGEAC.js";import"./N6HRRD4P.js";import"./IGLNMUE2.js";import"./KYT7VNYZ.js";import"./BR6UDZ2J.js";import"./P5LOB3UY.js";import a from"./HILBAGUQ.js";import"./PY5HC7O2.js";import"./54BRLQVQ.js";import"./WR2RVWTG.js";import"./JWSMQ7J3.js";import"./MHQWPSLZ.js";import"./XLNGBN5R.js";import"./OYRWRBHP.js";import"./NSKRAVOG.js";import"./IX5JWUQD.js";import"./IST5N4NY.js";import"./WR5HYW2T.js";import"./K75CZSRT.js";import"./JFR554YK.js";import"./TW2SQMWU.js";import"./75CX3J6E.js";import"./GYRTLYVO.js";import"./LGWXPULX.js";import"./CAUGBTCE.js";import"./YQKPDBAO.js";import"./PVDRPMCD.js";import"./A62TPLCW.js";import"./BHLMI2ML.js";import"./465KN276.js";import"./4XPEKRF3.js";import"./7YBGRVJX.js";import"./GUFD3OFA.js";import"./HYMB4WFD.js";import"./A4P2PN6E.js";import"./LR6CJ3PO.js";import"./3FPQRHZR.js";import"./XMPW3ZKS.js";import"./I2QFGASD.js";import"./UJU7CDWU.js";import"./KHXXZQYA.js";import"./OESQ6NHK.js";import"./ABIWIUL5.js";import"./NXCV3ZPQ.js";import"./F7M7SFLR.js";import"./7HNEFOXL.js";import"./5SNCISZI.js";import"./Q55GWGRZ.js";import"./IHYLUPBT.js";import"./QZ6Y4XO2.js";import"./4MEREPPV.js";import"./XIFM23B6.js";import"./U2ZKAIJW.js";import"./UEDU4OD4.js";import"./7Q2UPKHH.js";import"./UHZCF2VD.js";import"./A3HKDEYR.js";import"./Y7VY2WGL.js";import"./WKXY2BYP.js";import"./RRSV3XQL.js";import"./K3I6R6RL.js";import"./SUD74K47.js";import"./XW5UCSFH.js";import"./7UB6F5AO.js";import"./LGDMORBM.js";import"./WM7AJFIQ.js";import"./X2YQZN6J.js";import"./CDO3OXKM.js";import"./YDKODMVM.js";import"./CMMJ7U7G.js";import"./HYW7QI2Z.js";import"./3KXXSU6C.js";import"./6YAVFA4Y.js";import"./MJJATQM5.js";import"./YVT4G7OT.js";import"./XA4RNB6D.js";import"./HX2AZDBS.js";import"./LYPMMTIF.js";import"./YATR2A7R.js";import"./OPW4WRYU.js";import"./3IQZS7VY.js";import"./MOQKFZIH.js";import"./G3FFTV5X.js";import"./UDZXRNZD.js";import"./EMDE7UE2.js";import"./N4VF5EZ6.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import"./IL35QNQE.js";import"./RMLXCYSJ.js";import"./NLHHSXKD.js";import"./OB2HTJ54.js";import"./45562IT4.js";import"./XIZSKXLB.js";import"./DRE4TJ6Z.js";import"./M3PPBF6X.js";import"./ICG5R6ZA.js";import"./5NN6RI6W.js";import"./4PL2DGEX.js";import"./GELTJKOX.js";import"./K3PVIEPV.js";import"./3ZZGH6IY.js";import"./WEVWAFTF.js";import{f as B}from"./DTDDD7RA.js";export default $arcgis.t(([])=>{var X=B(W(),1);var J=k`@layer{arcgis-layout-container{display:block;--offsetTop: 0px;calcite-shell{position:static;font-size:inherit}#arcgis-layout-container-edit-mode-live-region{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}}arcgis-layout-container[is-edit-mode]{height:calc(100vh - var(--offsetTop));arcgis-layout{margin-block-start:15px}calcite-panel>*{margin:1rem}calcite-panel>calcite-action.panel-close{margin:0}}}`;function K(i,t){let e=["order","offset","width"],o=[];return e.forEach(s=>{let n;v(i)&&(n=i.sectionProps?.[s]),m(i)&&(n=i.rowProps?.[s]),$(i)&&(n=i.columnProps?.[s]),typeof n=="number"?(n<0||n>12)&&o.push(`Node "${i.id}": ${t} > ${s} out of range (0-12): ${n}`):typeof n=="object"&&Object.entries(n).forEach(([h,a])=>{typeof a=="number"&&(a<0||a>12)&&o.push(`Node "${i.id}": ${t} > ${s}.${h} out of range (0-12): ${a}`)})}),o}function Q(i,t,e,o){let s=[];return i.id||s.push(`${t} > missing required id.`),i.tag||s.push(`${t} > missing required tag.`),i.id&&(e.has(i.id)&&s.push(`Node "${i.id}": ${t} > duplicate id: "${i.id}"`),e.add(i.id)),o.includes(i.tag)||s.push(`Node "${i.id}": ${t} > has invalid tag: ${i.tag}`),s.push(...K(i,t)),(v(i)||m(i)||$(i))&&(!i.children||!Array.isArray(i.children)||i.children.length===0)&&s.push(`Node "${i.id}": ${t} > missing or empty children array.`),s}function P({node:i,nodePath:t,idSet:e,validTags:o,errors:s}){if(i.tag==="arcgis-nav-card"){let n=i.properties;n&&typeof n=="object"&&Array.isArray(n.sections)&&n.sections.forEach((h,a)=>{let c=`${t}.sections[${a}]`;P({node:h,nodePath:c,idSet:e,validTags:["arcgis-layout-section"],errors:s})})}s.push(...Q(i,t,e,o)),Array.isArray(i.children)&&i.children.forEach((n,h)=>{let a=`${t}.Child[${h}]`,c=Array.from(S);v(i)?(c=["arcgis-layout-row"],a=`${t}.Row[${h}]`):m(i)?(c=["arcgis-layout-column"],a=`${t}.Column[${h}]`):$(i)&&(c=Array.from(S).filter(u=>u!=="arcgis-layout-column"&&u!=="arcgis-layout-section")),P({node:n,nodePath:a,idSet:e,validTags:c,errors:s})})}function Z(i){let t=[],e=new Set;return i?typeof i!="object"?(t.push("Layout must be an object."),t):!i.sections.length||!Array.isArray(i.sections)?(t.push("Layout must have a sections array."),t):(i.sections.forEach((o,s)=>{if(U(o)){t.push(`Section[${s}] is a reference and cannot be a direct child.`);return}let n=o,h=`Section[${s}]`;P({node:n,nodePath:h,idSet:e,validTags:["arcgis-layout-section"],errors:t})}),t):(t.push("Layout must be defined."),t)}async function tt(i){switch(i){case"arcgis-text-card":return(await import("./N5OPTGYS.js").then(m=>m.default)).migrateTextCard;default:return(t=>t)}}function it(i){let t=y(i);return t.schemaVersion=2,t}var et={2:it};async function st(i){let t=R(i,et),e=await Promise.all(t.sections.map(async o=>await Y(o)));return t.sections=e,t}async function Y(i){let t=(await tt(i.tag))(i);return Array.isArray(t.children)&&(t.children=await Promise.all(t.children.map(async e=>await Y(e)))),t}function ot(i,t){if(i.children&&t<i.children.length-1)return i.children[t+1]}function nt(i,t){if(i.children&&t>0)return i.children[t-1]}function ht(i,t){if(t<i.sections.length-1)return i.sections[t+1]}function at(i,t){if(t>0)return i.sections[t-1]}function rt(i,t){let e=y(t);function o(s){for(let n=0;n<s.sections.length;n++){let h=s.sections[n];if(h.children)for(let a=0;a<h.children.length;a++){let c=h.children[a];if(c.children)for(let u=0;u<c.children.length;u++){let l=c.children[u];if(l.children)for(let d=0;d<l.children.length;d++){let g=l.children[d];if(g.id===i.id)if(d>0){let r=l.children[d-1];return l.children[d-1]=l.children[d],l.children[d]=r,!0}else{if(u>0)return l.children.splice(d,1),c.children[u-1].children?.push(i),!0;if(a>0){l.children.splice(d,1);let r=nt(h,a);if(r?.children&&r.children.length>0)return r.children[r.children.length-1].children?.push(i),!0}else if(n>0){l.children.splice(d,1);let r=at(s,n);if(r?.children&&r.children.length>0){let p=r.children[r.children.length-1];if(p.children&&p.children.length>0)return p.children[p.children.length-1].children?.push(i),!0}}}if(g.tag==="arcgis-nav-card"){let r=g.properties?.sections;if(r&&o({sections:r}))return!0}if(g.children&&m(g)&&o({sections:[{children:[g]}]}))return!0}}}}return!1}return o(e),e}function dt(i,t){let e=y(t);function o(s){for(let n=0;n<s.sections.length;n++){let h=s.sections[n];if(h.children)for(let a=0;a<h.children.length;a++){let c=h.children[a];if(c.children)for(let u=0;u<c.children.length;u++){let l=c.children[u];if(l.children)for(let d=0;d<l.children.length;d++){let g=l.children[d];if(g.id===i.id)if(d<l.children.length-1){let r=l.children[d+1];return l.children[d+1]=l.children[d],l.children[d]=r,!0}else{if(u<c.children.length-1)return l.children.splice(d,1),c.children[u+1].children?.unshift(i),!0;if(a<h.children.length-1){l.children.splice(d,1);let r=ot(h,a);if(r?.children&&r.children.length>0)return r.children[0].children?.unshift(i),!0}else if(n<s.sections.length-1){l.children.splice(d,1);let r=ht(s,n);if(r?.children&&r.children.length>0){let p=r.children[0];if(p.children&&p.children.length>0)return p.children[0].children?.unshift(i),!0}}}if(g.tag==="arcgis-nav-card"){let r=g.properties?.sections;if(r&&o({sections:r}))return!0}if(g.children&&m(g)&&o({sections:[{children:[g]}]}))return!0}}}}return!1}return o(e),e}function lt(i,t){let e=[];function o(s){if(s.nodeType===Node.ELEMENT_NODE){let n=s;n.matches(t)&&e.push(n);let h=n.shadowRoot;h&&o(h);for(let a of Array.from(n.children))o(a)}else if(s instanceof ShadowRoot)for(let n of Array.from(s.children))o(n)}return o(i),e}var x=class extends H{constructor(){super(),this._messages=I({blocking:!0}),this.#i=T({context:j}),this.#t=!1,this._layoutRef=b(),this._nodeControlsEl=b(),this._initShell=()=>{let t=this.el;t.style.setProperty("--offsetTop",`${t.offsetTop}px`)},this._layoutNodeEditor=b(),this._handleExitEditMode=async t=>{t.stopPropagation(),this.arcgisHubLayoutEditorExit.emit()},this._handlePublishLayout=async t=>{t.stopPropagation(),this.arcgisHubLayoutPublished.emit(this._layout)},this._handleCloseEditPanel=()=>{this._isEditPanelOpen=!1;let t=this._layoutNodeEditorConfig?.layoutNodeConfig?.name||"unknown",e={...X.dictionary.category.interaction.action.close.label.sidePanel,details:t};this.hubTelemetry.emit(e)},this._liveAnnouncement=void 0,this._layoutErrors=[],this._historyStack=[],this._historyIdx=-1,this._isLayoutDirty=!1,this._isLayoutValid=!0,this._isEditPanelOpen=!1,this.debug=!1,this.isEditMode=!1,this.isPublishing=!1,this.options={},this.arcgisHubLayoutChanged=N(),this.arcgisHubLayoutEditorExit=N(),this.arcgisHubLayoutPublished=N(),this.hubTelemetry=N(),this.listen("arcgisLayoutNodeChange",async t=>{await this._handleLayoutNodeEditorChange(t)}),this.listen("arcgisLayoutNodeVisibilityChange",async t=>{await this._handleLayoutNodeVisibilityChange(t)}),this.listen("arcgisLayoutNodeHighlight",t=>this._handleNodeHighlight(t)),this.listen("arcgisLayoutNodeUnHighlight",t=>this._handleNodeUnHighlight(t)),this.listen("arcgisLayoutNodeEditorOpen",this._handleLayoutNodeEditorOpen),this.listen("arcgisLayoutAddNode",async t=>{await this._handleLayoutAddNode(t)}),this.listen("arcgisLayoutNodeReposition",async t=>{await this._handleLayoutRepositionNode(t)}),this.listenOn(window,"resize",this._initShell)}static{this.properties={_liveAnnouncement:16,_processedLayout:16,_layoutErrors:16,_highlightedNode:16,_highlightedElement:16,_layoutNodeEditorConfig:16,_historyStack:16,_historyIdx:16,_isLayoutDirty:16,_isLayoutValid:16,_isEditPanelOpen:16,layout:0,debug:7,isEditMode:7,isPublishing:5,options:0}}static{this.shadowRootOptions=A}static{this.styles=J}get _context(){return D()}#i;#t;connectedCallback(){super.connectedCallback(),this._initShell()}willUpdate(t){(t.has("layout")||t.has("options"))&&this._init(),this.hasUpdated&&t.has("isEditMode")&&(this._highlightedElement=void 0,this._highlightedNode=void 0,this._layoutNodeEditorConfig=void 0,this.updateEditModeAnnouncement(),this.isEditMode&&lt(this._layoutRef.value,"arcgis-hub-gallery, arcgis-hub-image").forEach(e=>{e.lazy=!1})),(!this.hasUpdated||t.has("_processedLayout"))&&this.#i.setValue({messages:this._messages,layout:this._processedLayout})}async getUpdateComplete(){let t=await super.getUpdateComplete();return await this._layoutRef.value?.updateComplete,await new Promise(e=>setTimeout(e,150)),t}suspendSelection(){this.#t=!0}resumeSelection(){this.#t=!1}async updateEditModeAnnouncement(){this._liveAnnouncement="";let t=this.isEditMode?this._messages.editModeActivatedLiveRegion:this._messages.editModeDeactivatedLiveRegion;await this.updateComplete,this._liveAnnouncement=t}async _init(){let t=await st(this.layout);this._layout=y(t),this._processedLayout=await this._validateAndProcess(this._layout,this.options),this._historyStack=[this._processedLayout],this._historyIdx=0}async _handleLayoutNodeEditorChange(t){let{layoutNodeConfig:e,id:o,values:s,valid:n}=t.detail,h=y(this._layout),a=E(h,o);if(a){let c=w(e,"editor.valuesOutCallback")||(u=>u);a.properties=c(s??{}),this._layout=h,this._processedLayout=await this._validateAndProcess(h,this.options),this._highlightedNode=E(this._processedLayout,o),this._historyIdx<this._historyStack.length-1&&(this._historyStack=this._historyStack.slice(0,this._historyIdx+1)),this._historyStack.push(this._processedLayout),this._historyIdx=this._historyStack.length-1,this._isLayoutDirty=!0,this._isLayoutValid=n,this.arcgisHubLayoutChanged.emit()}}async _handleLayoutNodeVisibilityChange(t){let{id:e}=t.detail,o=y(this._layout),s=E(o,e);s&&(s.visibility||(s.visibility={kind:"static",isHidden:!1}),s.visibility.kind==="static"&&(s.visibility.isHidden=!s.visibility.isHidden),this._layout=o,this._processedLayout=await this._validateAndProcess(o,this.options),this._highlightedNode=E(this._processedLayout,e),this._historyIdx<this._historyStack.length-1&&(this._historyStack=this._historyStack.slice(0,this._historyIdx+1)),this._historyStack.push(this._processedLayout),this._historyIdx=this._historyStack.length-1,this._isLayoutDirty=!0,this.arcgisHubLayoutChanged.emit())}async _validateAndProcess(t,e){let o=Z(t);return this._layoutErrors=o,o.length>0&&!this.debug&&_.error("Layout validation errors:",o),await F(t,e,this._context)}hitTest(t){let e=!1;if(this._highlightedElement){let o=this._highlightedElement.getBoundingClientRect();t.clientX>=o.left&&t.clientX<=o.right&&t.clientY>=o.top&&t.clientY<=o.bottom&&(e=!0)}return e}_handleNodeHighlight(t){if(t.stopPropagation(),this.#t)return;_.debug("NODE HIGHLIGHT EVENT >>>",t);let e=t.detail.target,o=e.dataset.nodeId||"";if(o){let s=E(this._processedLayout,o);s?this._highlightedNode!==s&&this._highlightedElement!==e&&(this._highlightedNode=s,this._highlightedElement=e):_.warn(`No node found for target with id ${o}`)}}_handleNodeUnHighlight(t){t.stopPropagation(),!this.#t&&(_.debug("NODE UNHIGHLIGHT EVENT >>>",t),!this._nodeControlsEl.value?.matches(":hover")&&!this.hitTest(t.detail)&&(this._highlightedNode=void 0,this._highlightedElement=void 0))}_handleNodeControlsMouseOut(t){this.#t||this.hitTest(t)||(this._highlightedNode=void 0,this._highlightedElement=void 0)}_handleLayoutNodeEditorOpen(t){if(!this._highlightedElement||!this._highlightedNode)return;this._isEditPanelOpen=!0;let e=G(this._highlightedElement,this._highlightedNode);e&&(e=q(this._messages,e)),this._layoutNodeEditorConfig={layoutNodeConfig:y(e),layoutNode:y(this._highlightedNode)}}async _handleLayoutAddNode(t){_.debug("Add node event:",t.detail.config.tag);let e=y(this._layout),{column:o,index:s}=z(t.detail.adjacentNode,e);_.debug("Found column and index:",o,s);let n={id:V(),tag:t.detail.config.tag,properties:t.detail.config.defaults};o.children?.splice(s+1,0,n),this._layout=e,this._processedLayout=await this._validateAndProcess(e,this.options),this._highlightedNode=n,await this.updateComplete,this._highlightedElement=await this._layoutRef.value?.getCardEl(n.id),this._handleLayoutNodeEditorOpen(),this._historyIdx<this._historyStack.length-1&&(this._historyStack=this._historyStack.slice(0,this._historyIdx+1)),this._historyStack.push(this._processedLayout),this._historyIdx=this._historyStack.length-1,this._isLayoutDirty=!0,this.arcgisHubLayoutChanged.emit(),t.detail.config.telemetry&&this.hubTelemetry.emit(t.detail.config.telemetry)}async _handleLayoutRepositionNode(t){_.debug("Reposition node event:",t.detail.node.id,t.detail.direction),t.detail.direction==="up"?(_.debug("Moving node up..."),this._layout=rt(t.detail.node,this._layout)):(_.debug("Moving node down..."),this._layout=dt(t.detail.node,this._layout)),this.suspendSelection(),this._processedLayout=await this._validateAndProcess(this._layout,this.options),this._highlightedNode=t.detail.node,await this.updateComplete,this._highlightedElement=await this._layoutRef.value?.getCardEl(t.detail.node.id),this._highlightedElement?.scrollIntoView({behavior:"smooth",block:"nearest"}),requestAnimationFrame(()=>{this.resumeSelection()}),this._historyIdx<this._historyStack.length-1&&(this._historyStack=this._historyStack.slice(0,this._historyIdx+1)),this._historyStack.push(this._processedLayout),this._historyIdx=this._historyStack.length-1,this._isLayoutDirty=!0,this.arcgisHubLayoutChanged.emit()}renderEditToolbar(){let t;return this.isEditMode&&(t=f`<arcgis-layout-editor-toolbar .exitEditMode=${this._handleExitEditMode} .isLayoutDirty=${this._isLayoutDirty} .isLayoutValid=${this._isLayoutValid} .isPublishing=${this.isPublishing} .publishLayout=${this._handlePublishLayout} slot=header></arcgis-layout-editor-toolbar>`),t}renderNodeControls(){let t;return this.isEditMode&&this._highlightedElement&&this._highlightedNode&&(t=f`<arcgis-layout-node-controls .layoutNodeEditorRef=${this._layoutNodeEditor.value} .isEditMode=${this.isEditMode} .isLayoutValid=${this._isLayoutValid} .layout=${this._processedLayout} .messages=${this._messages} .node=${this._highlightedNode} @mouseout=${this._handleNodeControlsMouseOut} .referenceElement=${this._highlightedElement} style="position: absolute;" ${L(this._nodeControlsEl)}></arcgis-layout-node-controls>`),t}renderEditor(){if(this.isEditMode&&this._isEditPanelOpen){let t=this._layoutNodeEditorConfig;if(t?.layoutNodeConfig?.editor)return f`<calcite-shell-panel position=end slot=panel-end><calcite-panel .heading=${O(t.layoutNodeConfig,"i18n.label",w(this._messages,"layoutNodeControls.configurableNodes.default.label"))}><calcite-action class="panel-close" .disabled=${!this._isLayoutValid} icon=x @click=${this._handleCloseEditPanel} slot=header-actions-end .text=${this._messages.close}></calcite-action>${C(t.layoutNode.id,f`<arcgis-layout-node-editor .layoutNodeConfig=${t.layoutNodeConfig} .node=${t.layoutNode} ${L(this._layoutNodeEditor)}></arcgis-layout-node-editor>`)}</calcite-panel></calcite-shell-panel>`}return null}render(){return f`<calcite-shell>${C("aria-live-region",f`<div aria-atomic=true aria-live=polite id=arcgis-layout-container-edit-mode-live-region>${this._liveAnnouncement}</div>`)}${this.renderEditToolbar()}${this.renderNodeControls()}${this.renderEditor()}<arcgis-layout .highlightedNode=${this._highlightedNode} .debug=${this.debug} .isEditMode=${this.isEditMode} .layout=${this._processedLayout} .options=${this.options} ${L(this._layoutRef)}></arcgis-layout></calcite-shell>`}};M("arcgis-layout-container",x);return x},a,c)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import"./DTDDD7RA.js";var e="Se ha producido un error al cargar el gr\xE1fico.",a="No se puede aplicar una transformaci\xF3n del registro a valores negativos o de cero.",r="No se puede aplicar una transformaci\xF3n de ra\xEDz cuadrada a valores negativos.",o="Se ha producido un error al cargar la capa. URL = ${ url }. Id. de elemento de portal = ${ portalItemId }.",n="Los campos [${ fieldNames }] definidos en la configuraci\xF3n no se han encontrado en la capa.",t="El elemento ${ dataPath } debe ser \xFAnico. La serie denominada ${ seriesName } tiene un Id. (${ seriesID }) que ya se utiliza en otra serie.",i="${ dataPath } no puede realizar una agregaci\xF3n no num\xE9rica en un campo no num\xE9rico.",s="A ${ dataPath } le falta la propiedad denominada ${ missingProperty }.",d="${ dataPath } no debe tener menos de ${ limit } caracteres.",l="${ dataPath } no debe tener menos de ${ limit } elementos.",u="${ dataPath } no debe tener m\xE1s de ${ limit } elementos.",m="${ dataPath } debe tener al menos un car\xE1cter que no sea un espacio en blanco.",c="${ dataPath } no debe tener ${ additionalProperty }",p="${ dataPath } debe ser igual a uno de los siguientes valores permitidos: ${ allowedValues }.",g="${ dataPath } debe coincidir con el esquema de uno de estos: ${ schemaOptions }.",$="No se admiten diagramas de dispersi\xF3n con s\xEDmbolos proporcionales. Se ha aplicado el tama\xF1o de s\xEDmbolo predeterminado.",y="Error al leer los datos de entrada.",h="En este servicio no se admite la operaci\xF3n queryBins.",b='El tipo de serie esperado en el \xEDndice ${ seriesIndex } es "${ expectedType }", pero en su lugar se ha recibido "${ receivedType }"',P="o",f={defaultError:e,negativeValueInDataForLogTransformation:a,negativeValueInDataForSqrtTransformation:r,layerLoadFailure:o,layerFieldsNotFound:n,duplicateSeriesID:t,nonNumericAggregation:i,requiredProperty:s,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:c,enumValues:p,anyOfValues:g,bubbleChartValidateMsg:$,queryError:y,queryBinsNotSupported:h,invalidSeriesType:b,or:"o"};export{c as additionalProperty,g as anyOfValues,$ as bubbleChartValidateMsg,f as default,e as defaultError,t as duplicateSeriesID,p as enumValues,b as invalidSeriesType,n as layerFieldsNotFound,o as layerLoadFailure,u as maxItems,l as minItems,d as minLength,a as negativeValueInDataForLogTransformation,r as negativeValueInDataForSqrtTransformation,i as nonNumericAggregation,P as or,h as queryBinsNotSupported,y as queryError,s 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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import d from"./5T6ZJSYQ.js";import"./5AUYR2CH.js";import{a as f}from"./F4WHDVTZ.js";import c from"./HNLN5RIB.js";import"./6ST4HHYR.js";import"./JQULHJPF.js";import{a as b,b as Q,c as X,d as x}from"./OMVCAMVU.js";import{a as F}from"./LXSGHUOK.js";import{a as H}from"./WBDEHNUU.js";import"./5IGWGEAC.js";import"./N6HRRD4P.js";import"./IGLNMUE2.js";import"./KYT7VNYZ.js";import"./BR6UDZ2J.js";import"./P5LOB3UY.js";import a from"./HILBAGUQ.js";import"./CAUGBTCE.js";import"./A62TPLCW.js";import"./BHLMI2ML.js";import"./465KN276.js";import{N as K,O as A,X as Y,o as q}from"./4XPEKRF3.js";import"./7YBGRVJX.js";import"./GUFD3OFA.js";import"./HYMB4WFD.js";import"./A4P2PN6E.js";import"./LR6CJ3PO.js";import"./3FPQRHZR.js";import"./XMPW3ZKS.js";import"./I2QFGASD.js";import"./UJU7CDWU.js";import"./KHXXZQYA.js";import"./OESQ6NHK.js";import"./ABIWIUL5.js";import"./NXCV3ZPQ.js";import"./F7M7SFLR.js";import"./7HNEFOXL.js";import"./5SNCISZI.js";import"./Q55GWGRZ.js";import"./IHYLUPBT.js";import"./QZ6Y4XO2.js";import"./4MEREPPV.js";import"./XIFM23B6.js";import"./U2ZKAIJW.js";import"./UEDU4OD4.js";import"./7Q2UPKHH.js";import"./UHZCF2VD.js";import"./A3HKDEYR.js";import"./SUD74K47.js";import"./XW5UCSFH.js";import"./7UB6F5AO.js";import"./LGDMORBM.js";import"./WM7AJFIQ.js";import"./X2YQZN6J.js";import"./CDO3OXKM.js";import"./YDKODMVM.js";import"./CMMJ7U7G.js";import"./HYW7QI2Z.js";import{f as O,g as W}from"./3KXXSU6C.js";import"./6YAVFA4Y.js";import"./MJJATQM5.js";import"./YVT4G7OT.js";import"./XA4RNB6D.js";import"./HX2AZDBS.js";import"./LYPMMTIF.js";import"./YATR2A7R.js";import"./OPW4WRYU.js";import"./3IQZS7VY.js";import{a as M}from"./KKYGZSD6.js";import{c as ie,j as se}from"./G3FFTV5X.js";import"./UDZXRNZD.js";import{a as w}from"./EMDE7UE2.js";import"./N4VF5EZ6.js";import{a as P}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as u,c as S,d as E,e as I,h as $,i as _}from"./IL35QNQE.js";import"./NLHHSXKD.js";import"./OB2HTJ54.js";import"./45562IT4.js";import"./XIZSKXLB.js";import"./DRE4TJ6Z.js";import"./M3PPBF6X.js";import"./ICG5R6ZA.js";import"./5NN6RI6W.js";import"./4PL2DGEX.js";import{a as z}from"./GELTJKOX.js";import"./K3PVIEPV.js";import{a as T}from"./3ZZGH6IY.js";import"./WEVWAFTF.js";import"./DTDDD7RA.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.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as t}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as e,c as s,d as i,i as r}from"./IL35QNQE.js";import"./WEVWAFTF.js";import"./DTDDD7RA.js";var o=".sc-arcgis-hub-entity-group-members-h{display:block;height:100%}",n=o,c=class{constructor(a){r(this,a),this.entity=void 0,this.isMobile=!1}async componentWillLoad(){await this.loadTranslations()}async loadTranslations(){this.intl=await t.loadIntlForComponent(this.element)}render(){return e(s,{key:"68e44024ca0f69d36146652c08dfb9dc5f58caee","data-element":"group-entity-members"},e("arcgis-hub-workspace-pane",{key:"9eefada130090ce3bd923146de4a1974f3494b19",isMobile:this.isMobile},e("h1",{key:"5e720f1ed4e619f88d34ded05e9c46e96eb5b3d8",slot:"title"},this.intl.t("title")),e("arcgis-hub-group-members-manager",{key:"91398878743c651b58a2ae0c97b9388e769014c0",groupId:this.entity.id,isMobile:this.isMobile})))}static get assetsDirs(){return["locales"]}get element(){return i(this)}};c.style=n;export{c as arcgis_hub_entity_group_members};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as T}from"./KKYGZSD6.js";import{a as k}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as t,d as y,e as L,h as c,i as V}from"./IL35QNQE.js";import{a as I}from"./K3PVIEPV.js";import"./3ZZGH6IY.js";import"./WEVWAFTF.js";import"./DTDDD7RA.js";function E(e){let n=/^G-[A-Z0-9]{1,}$/gi,a=e.toString();return n.test(a)}function M(e){let n=/^ua-\d{4,9}-\d{1,4}$/i,a=e.toString();return n.test(a)}function O(e){return E(e)||M(e)}function p(e){return e?.length>0}var R='.sc-arcgis-telemetry-configuration-h{display:block}.consent-message-info.sc-arcgis-telemetry-configuration{font-size:var(--calcite-font-size--2);line-height:1rem}.provider-subtext.sc-arcgis-telemetry-configuration{padding:0.625rem;padding-top:0px;font-size:var(--calcite-font-size--2);line-height:1rem}.provider.sc-arcgis-telemetry-configuration{margin-top:0.625rem;margin-bottom:0.625rem;border-width:2px;border-style:solid;border-color:var(--calcite-color-border-3);padding:0.625rem}.provider.sc-arcgis-telemetry-configuration header.sc-arcgis-telemetry-configuration{margin-top:0.625rem;margin-bottom:0.625rem;font-weight:var(--calcite-font-weight-bold)}.provider-header.sc-arcgis-telemetry-configuration{display:flex;align-items:center;justify-content:space-between}.provider-header__right-container.sc-arcgis-telemetry-configuration{display:flex;width:33.333333%;align-items:center;justify-content:flex-end}.no-show.sc-arcgis-telemetry-configuration{display:none}.provider.sc-arcgis-telemetry-configuration .internal-form.sc-arcgis-telemetry-configuration{margin-top:0.625rem;margin-right:0.625rem;margin-left:0.625rem}.form-input.sc-arcgis-telemetry-configuration calcite-input.sc-arcgis-telemetry-configuration,.form-input.sc-arcgis-telemetry-configuration calcite-input-message.sc-arcgis-telemetry-configuration{margin-left:0.5rem}#tracking-server-ssl-input.sc-arcgis-telemetry-configuration{margin-bottom:0.5rem}[ui="flat"].sc-arcgis-telemetry-configuration-h .provider.sc-arcgis-telemetry-configuration{border-width:0px;padding:0px}[ui="flat"].sc-arcgis-telemetry-configuration-h .provider.sc-arcgis-telemetry-configuration .internal-form.sc-arcgis-telemetry-configuration{margin-left:0px;margin-right:0px}[ui="flat"].sc-arcgis-telemetry-configuration-h .form-input.sc-arcgis-telemetry-configuration calcite-input.sc-arcgis-telemetry-configuration,[ui="flat"].sc-arcgis-telemetry-configuration-h .form-input.sc-arcgis-telemetry-configuration calcite-input-message.sc-arcgis-telemetry-configuration{margin-left:0px}',x=R,g="disabled",_="measurementId",S="trackingServer",f="trackingServerSSL",b="reportSuite",C="code",A="text",G="https://doc.arcgis.com/en/arcgis-online/get-started/create-account.htm#ESRI_SECTION1_24871ED982AC41ED86FF1937E7604CDE",F="https://doc.arcgis.com/en/arcgis-online/reference/faq.htm#ESRI_QUESTIONANSWER_AED97F28DCD84F7682623C2FA9E5CE49",U="https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/trackingserver.html",w="https://experienceleague.adobe.com/docs/analytics/implementation/vars/config-vars/trackingserversecure.html",j="https://experienceleague.adobe.com/docs/analytics/admin/manage-report-suites/new-report-suite/t-create-a-report-suite.html",D="https://help.siteimprove.com/support/solutions/articles/80000448448-adding-siteimprove-analytics-javascript-to-your-website",r;(function(e){e.Google="google",e.Adobe="adobe",e.SiteImprove="siteImprove",e.ConsentMessage="consentMessage"})(r||(r={}));var X=class{get numberOfProviders(){let{googleConfig:e,adobeConfig:n,siteImproveConfig:a}=this;return[e,n,a].filter(s=>s&&!s?.disabled).length}get _getConsentConfiguredMsg(){var e;return!((e=this.consentMessage)===null||e===void 0)&&e.disabled?this.intl.t("notConfigured"):this.intl.t("configured")}get googleConfig(){var e,n,a,s;let o=(s=(n=(e=this.configurationState)===null||e===void 0?void 0:e.plugins)!==null&&n!==void 0?n:(a=this.configuration)===null||a===void 0?void 0:a.plugins)!==null&&s!==void 0?s:{},i=o?.[r.Google];if(i)return{disabled:!!i?.[g],measurementId:i?.[_]}}get adobeConfig(){var e,n,a,s;let o=(s=(n=(e=this.configurationState)===null||e===void 0?void 0:e.plugins)!==null&&n!==void 0?n:(a=this.configuration)===null||a===void 0?void 0:a.plugins)!==null&&s!==void 0?s:{},i=o?.[r.Adobe];if(i)return{disabled:!!i?.[g],trackingServer:i?.[S],trackingServerSSL:i?.[f],reportSuite:i?.[b]}}get siteImproveConfig(){var e,n,a,s;let o=(s=(n=(e=this.configurationState)===null||e===void 0?void 0:e.plugins)!==null&&n!==void 0?n:(a=this.configuration)===null||a===void 0?void 0:a.plugins)!==null&&s!==void 0?s:{},i=o?.[r.SiteImprove];if(i)return{disabled:!!i?.[g],code:i?.[C]}}get consentMessage(){var e,n;let a=(n=(e=this.configurationState)!==null&&e!==void 0?e:this.configuration)!==null&&n!==void 0?n:{},s=a?.[r.ConsentMessage];if(s)return{disabled:!!s?.[g],text:s?.[A]}}get isUpdating(){return Object.values(this.isUpdatingObj).reduce((e,n)=>e||n,!1)}constructor(e){V(this,e),this.arcgisTelemetryConfigurationChange=L(this,"arcgisTelemetryConfigurationChange",7);var n,a,s,o,i,d;this._tempConsentMessageValue=(n=this.consentMessage)===null||n===void 0?void 0:n.text,this._googleAnalyticsKeyValueTemp=(a=this.googleConfig)===null||a===void 0?void 0:a.measurementId,this._adobeTrackingServerValueTemp=(s=this.adobeConfig)===null||s===void 0?void 0:s.trackingServer,this._adobeTrackingServerSSLValueTemp=(o=this.adobeConfig)===null||o===void 0?void 0:o.trackingServerSSL,this._adobeLReportSuiteValueTemp=(i=this.adobeConfig)===null||i===void 0?void 0:i.reportSuite,this._siCodeValueTemp=(d=this.siteImproveConfig)===null||d===void 0?void 0:d.code,this.configuration={plugins:{}},this.allowGA3=!1,this.showArcgisOnlineDisclosure=void 0,this.ui="accordion",this.isUpdatingObj={},this.isListenerSetup={},this.configurationState=void 0,this.isConsentMessageValid=!0,this.isGAValid=null,this.isAdobeTrackingServerValid=null,this.isAdobeTrackingServerSSLValid=null,this.isALReportSuiteValid=null,this.isSIValid=null,T(this,"_assignConsentListener","_saveGoogleKey","_saveAdobeTrackingServer","_saveAdobeTrackingServerSSL","_saveAdobeReportSuite","_saveSiteCode","_validateGMeasurementID","_validateAdobeTrackingServer","_validateAdobeSSLTrackingServer","_validateAdobeReportSuite","_validateSICode","_validateConsentMessage")}async componentWillLoad(){this.intl=await k.loadIntlForComponent(this.element)}componentDidLoad(){this.googleConfig&&this._validateGMeasurementID(),this.adobeConfig&&(this._validateAdobeTrackingServer(),this._validateAdobeReportSuite()),this.siteImproveConfig&&this._validateSICode(),this.consentMessage&&this._validateConsentMessage()}_assignConsentListener(e){this._tempConsentMessageValue=this._tempConsentMessageValue,e.addEventListener("arcgisHubRichTextChange",n=>{var a;let s=(a=n?.path)===null||a===void 0?void 0:a[0].value;this._tempConsentMessageValue=s}),e.addEventListener("focusout",n=>{this._validateConsentMessage(n)})}_addSwitchListener(e,n){this.isListenerSetup[e]==null&&(this.isListenerSetup[e]=!0,n.addEventListener("calciteSwitchChange",a=>{var s;let o=!(!((s=a?.target)===null||s===void 0)&&s.checked);this._updateOutput(e,g,o)}))}render(){return this.ui==="accordion"?this._renderAccordionUI():this._renderFlatUI()}_renderAccordionUI(){return t("calcite-accordion",{"selection-mode":"single"},t("calcite-accordion-item",{description:this.intl.t("enabled",{numberOfProviders:this.numberOfProviders}),heading:this.intl.t("accordionHeader1"),iconStart:"configure-popup"},this._renderProviderForms()),this.consentMessage&&t("calcite-accordion-item",{description:this._getConsentConfiguredMsg,heading:this.intl.t("accordionHeader2"),iconStart:"edit-attributes"},this._renderConsentForm()))}_renderFlatUI(){return t(c,null,this._renderProviderForms(),this.consentMessage&&this._renderConsentForm())}_renderProviderForms(){return[this.googleConfig&&this._renderGoogleAnalyticsForm(),this.adobeConfig&&this._renderAdobeForm(),this.siteImproveConfig&&this._renderSiteImproveForm(),this.showArcgisOnlineDisclosure&&this._renderInfoMsg()]}_renderConsentForm(){return this._renderProvider(this.intl.t("consentMessage"),this.consentMessage,r.ConsentMessage,t(c,null,t("div",null,t("strong",null,this.intl.t("consentMessageLabel"))),t("arcgis-hub-rich-text",{disabled:this.isUpdating,ref:this._assignConsentListener,toolbar:"link",value:this.consentMessage.text})),t("div",{class:"consent-message-info"},t("p",null,this.intl.t("consentMessageInfo")),t("p",null,t("strong",null,this.intl.t("consentGuidance")),"\xA0",t("calcite-link",{href:"https://iapp.org/",target:"_blank"},this.intl.t("learnMore")))))}_renderProvider(e,n,a,s,o){let{disabled:i}=n;return t("div",{class:"provider"},t("div",{class:"provider-header"},t("header",null,e),t("div",{class:"provider-header__right-container"},this.isUpdatingObj[a]==!0?this._renderLoader():null,t("calcite-switch",{checked:!i,"data-test":a,disabled:this.isUpdating,ref:this._addSwitchListener.bind(this,a)}))),o,t("div",{class:i?"no-show":"internal-form"},s))}_renderLoader(){return t("calcite-loader",{label:this.intl.t("updating"),"no-padding":!0,scale:"s",type:"indeterminate"})}_updateOutput(e,n,a){var s,o;let i=I((s=this.configurationState)!==null&&s!==void 0?s:this.configuration);i=e===r.ConsentMessage?Object.assign(Object.assign({},i),{consentMessage:Object.assign(Object.assign({},i.consentMessage),{[n]:a})}):Object.assign(Object.assign({},i),{plugins:Object.assign(Object.assign({},i?.plugins),{[e]:Object.assign(Object.assign({},(o=i?.plugins)===null||o===void 0?void 0:o[e]),{[n]:a})})}),this.configurationState=i,this.arcgisTelemetryConfigurationChange.emit(i)}_renderInfoMsg(){return t("div",{class:"provider-subtext"},this.intl.t("providerInfo",{accountsLink:(...e)=>t("p",null,t("calcite-link",{href:G,target:"_blank"},e)),dataCollectionLink:(...e)=>t("p",null,t("calcite-link",{href:F,target:"_blank"},e))}))}_renderGoogleAnalyticsForm(){let e="Google Analytics";return this.allowGA3||(e=`${e} (GA4)`),this._renderProvider(e,this.googleConfig,r.Google,t(c,null,t("calcite-label",{class:"form-input"},this.intl.t("measurementId"),t("calcite-input",{disabled:this.isUpdating,maxLength:30,onBlur:this._validateGMeasurementID,onCalciteInputInput:this._saveGoogleKey,placeholder:"G-XXXXXXXXXX",status:this._calcStatus(this.isGAValid),value:this.googleConfig.measurementId}),t("calcite-input-message",{hidden:!(this.isGAValid!=null&&!this.isGAValid),icon:"exclamation-mark-triangle",status:"invalid"},this.intl.t("googleInvalidForm"))),t("calcite-block",{collapsible:!0,heading:this.intl.t("additionalInfo")},t("ul",null,t("li",null,this.intl.t("gaInfo1")),t("li",null,this.intl.t("gaInfo2")),t("li",null,this.intl.t("gaInfo3"))))))}_renderAdobeForm(){return this._renderProvider("Adobe Analytics",this.adobeConfig,r.Adobe,t(c,null,t("calcite-label",{class:"form-input"},this.intl.t("trackingServer"),t("calcite-input",{disabled:this.isUpdating,maxLength:256,onBlur:this._validateAdobeTrackingServer,onCalciteInputInput:this._saveAdobeTrackingServer,onLoad:this._validateAdobeTrackingServer,placeholder:`${this.intl.t("example")}: jimsbrims.sc.omtrdc.net`,status:this._calcStatus(this.isAdobeTrackingServerValid),value:this.adobeConfig.trackingServer}),t("calcite-input-message",{hidden:!(this.isAdobeTrackingServerValid!=null&&!this.isAdobeTrackingServerValid),icon:"exclamation-mark-triangle",status:"invalid"},this.intl.t("fieldCannotBeEmpty"))),t("calcite-label",{class:"form-input"},this.intl.t("trackingServerSSL")," (",this.intl.t("optional"),")",t("calcite-input",{disabled:this.isUpdating,id:"tracking-server-ssl-input",maxLength:256,onBlur:this._validateAdobeSSLTrackingServer,onCalciteInputInput:this._saveAdobeTrackingServerSSL,placeholder:`${this.intl.t("example")}: data.example.com`,status:this._calcStatus(this.isAdobeTrackingServerSSLValid),value:this.adobeConfig.trackingServerSSL})),t("calcite-label",{class:"form-input"},this.intl.t("reportSuiteId"),t("calcite-input",{disabled:this.isUpdating,maxLength:256,onBlur:this._validateAdobeReportSuite,onCalciteInputInput:this._saveAdobeReportSuite,placeholder:"mySuiteID",status:this._calcStatus(this.isALReportSuiteValid),value:this.adobeConfig.reportSuite}),t("calcite-input-message",{hidden:!(this.isALReportSuiteValid!=null&&!this.isALReportSuiteValid),icon:"exclamation-mark-triangle",status:"invalid"},this.intl.t("fieldCannotBeEmpty"))),t("calcite-block",{collapsible:!0,heading:this.intl.t("additionalInfo")},t("ul",null,t("li",null,this.intl.t("readAbout")," ",t("calcite-link",{href:`${U}?lang=${this.intl.locale}`,target:"_blank"},this.intl.t("trackingServer"))),t("li",null,this.intl.t("readAbout")," ",t("calcite-link",{href:`${w}?lang=${this.intl.locale}`,target:"_blank"},this.intl.t("trackingServerSSL"))),t("li",null,this.intl.t("readAbout")," ",t("calcite-link",{href:`${j}?lang=${this.intl.locale}`,target:"_blank"},this.intl.t("reportSuiteId")))))))}_renderSiteImproveForm(){return this._renderProvider("Siteimprove",this.siteImproveConfig,r.SiteImprove,t(c,null,t("calcite-label",{class:"form-input"},this.intl.t("siteImproveCode"),t("calcite-input",{disabled:this.isUpdating,maxLength:30,onBlur:this._validateSICode,onCalciteInputInput:this._saveSiteCode,placeholder:"ABC1234",status:this._calcStatus(this.isSIValid),value:this.siteImproveConfig.code}),t("calcite-input-message",{hidden:!(this.isSIValid!=null&&!this.isSIValid),icon:"exclamation-mark-triangle",status:"invalid"},this.intl.t("fieldCannotBeEmpty"))),t("calcite-block",{collapsible:!0,heading:this.intl.t("additionalInfo")},t("ul",null,t("li",null,this.intl.t("siteImproveInfo",{providerName:"Siteimprove Code",codeExample:'"XXXXX"',calciteLink:(...e)=>t("calcite-link",{href:D,target:"_blank"},e)}))))))}_calcStatus(e){return e==null?null:e?"valid":"invalid"}_saveGoogleKey(e){this._googleAnalyticsKeyValueTemp=e.target.value}_saveAdobeTrackingServer(e){this._adobeTrackingServerValueTemp=e.target.value}_saveAdobeTrackingServerSSL(e){this._adobeTrackingServerSSLValueTemp=e.target.value}_saveAdobeReportSuite(e){this._adobeLReportSuiteValueTemp=e.target.value}_saveSiteCode(e){this._siCodeValueTemp=e.target.value}_validateGMeasurementID(e){let n=this.allowGA3?O:E;this._validateForm("_googleAnalyticsKeyValueTemp",n,"isGAValid",_,r.Google,_,e)}_validateAdobeTrackingServer(e){this._validateForm("_adobeTrackingServerValueTemp",p,"isAdobeTrackingServerValid",S,r.Adobe,S,e)}_validateAdobeSSLTrackingServer(e){this._validateForm("_adobeTrackingServerSSLValueTemp",()=>!0,"isAdobeTrackingServerSSLValid",f,r.Adobe,f,e)}_validateAdobeReportSuite(e){this._validateForm("_adobeLReportSuiteValueTemp",p,"isALReportSuiteValid",b,r.Adobe,b,e)}_validateSICode(e){this._validateForm("_siCodeValueTemp",p,"isSIValid",C,r.SiteImprove,C,e)}_validateConsentMessage(e){this._validateForm("_tempConsentMessageValue",()=>!0,"isConsentMessageValid",A,r.ConsentMessage,A,e)}_validateForm(e,n,a,s,o,i,d){var u,h,v,m;let l=(m=(u=this[e])!==null&&u!==void 0?u:(v=(h=d?.path)===null||h===void 0?void 0:h[0])===null||v===void 0?void 0:v.value)!==null&&m!==void 0?m:"";l=l?.trim(),this[a]=n(l),this[a]&&this[s]!=l&&(this[s]=l,this._updateOutput(o,i,l))}static get assetsDirs(){return["locales"]}get element(){return y(this)}};X.style=x;export{X as arcgis_telemetry_configuration};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var g;(function(E){E.BMP="bmp",E.GIF="gif",E.JPG="jpg",E.JPG_PNG="jpgpng",E.PNG="png",E.PNG8="png8",E.PNG24="png24",E.TIFF="tiff",E.PNG32="png32",E.BIP="bip",E.BSQ="bsq",E.LERC="lerc",E.CSV="csv",E.EXCEL="excel",E.FEATURE_COLLECTION="featureCollection",E.FILE_GDB="filegdb",E.GEOJSON="geojson",E.GEO_PACKAGE="geoPackage",E.JSON="json",E.KML="kml",E.SHAPEFILE="shapefile",E.SQLITE="sqlite"})(g||(g={}));export{g as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- var r=t=>{let i=t.title;return!t.thumbnailUrl&&t.title&&(t.title.includes(" ")||(i=(t.title.startsWith("@")?t.title.substring(1,3):t.title.substring(0,2)).split("").join(" "))),i};export{r as a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as p}from"./DXUEF577.js";import{a as m}from"./C7J6YELA.js";import{a as b}from"./LXSGHUOK.js";import"./5IGWGEAC.js";import"./N6HRRD4P.js";import"./IGLNMUE2.js";import"./KYT7VNYZ.js";import"./BR6UDZ2J.js";import"./P5LOB3UY.js";import{a as R}from"./WR2RVWTG.js";import{da as f}from"./4XPEKRF3.js";import"./7YBGRVJX.js";import"./GUFD3OFA.js";import"./HYMB4WFD.js";import"./A4P2PN6E.js";import"./LR6CJ3PO.js";import"./XMPW3ZKS.js";import"./I2QFGASD.js";import"./UJU7CDWU.js";import"./KHXXZQYA.js";import"./OESQ6NHK.js";import"./ABIWIUL5.js";import"./NXCV3ZPQ.js";import"./F7M7SFLR.js";import"./7HNEFOXL.js";import"./5SNCISZI.js";import"./Q55GWGRZ.js";import"./IHYLUPBT.js";import"./QZ6Y4XO2.js";import"./4MEREPPV.js";import"./XIFM23B6.js";import"./U2ZKAIJW.js";import"./UEDU4OD4.js";import"./7Q2UPKHH.js";import"./UHZCF2VD.js";import"./A3HKDEYR.js";import"./SUD74K47.js";import"./XW5UCSFH.js";import"./7UB6F5AO.js";import"./LGDMORBM.js";import"./WM7AJFIQ.js";import"./X2YQZN6J.js";import"./CDO3OXKM.js";import"./YDKODMVM.js";import"./CMMJ7U7G.js";import"./HYW7QI2Z.js";import"./3KXXSU6C.js";import"./6YAVFA4Y.js";import"./MJJATQM5.js";import"./YVT4G7OT.js";import"./XA4RNB6D.js";import"./HX2AZDBS.js";import"./LYPMMTIF.js";import"./YATR2A7R.js";import"./OPW4WRYU.js";import"./3IQZS7VY.js";import{a as g}from"./KKYGZSD6.js";import{c as _}from"./G3FFTV5X.js";import"./UDZXRNZD.js";import"./EMDE7UE2.js";import"./N4VF5EZ6.js";import{a as y}from"./ILH6ZAOO.js";import"./BMW4ORU3.js";import"./UCEN3C4Z.js";import{b as a,c as v,d as E,e as h,i as T}from"./IL35QNQE.js";import"./NLHHSXKD.js";import"./OB2HTJ54.js";import"./45562IT4.js";import"./XIZSKXLB.js";import"./DRE4TJ6Z.js";import"./M3PPBF6X.js";import"./ICG5R6ZA.js";import"./5NN6RI6W.js";import"./4PL2DGEX.js";import{a as u}from"./GELTJKOX.js";import"./K3PVIEPV.js";import"./3ZZGH6IY.js";import"./WEVWAFTF.js";import"./DTDDD7RA.js";export default $arcgis.t(([])=>{var H=':host{display:block}[slot="actions-end"]{display:flex;align-items:center}calcite-select{min-width:10rem}.roles{display:grid;grid-template-columns:repeat(2, minmax(0, 1fr));column-gap:2rem}arcgis-hub-gallery-layout-compact{--calcite-spacing-md:0}arcgis-hub-gallery-layout-compact+.roles{margin-top:0.5rem}:host([data-layout="vertical"]) .roles{grid-template-columns:repeat(1, minmax(0, 1fr));column-gap:0px;row-gap:1rem}:host([data-layout="vertical"]) calcite-select{min-width:-moz-fit-content;min-width:fit-content}',P=H,d=function(t,e,i,s){var o=arguments.length,r=o<3?e:s===null?s=Object.getOwnPropertyDescriptor(e,i):s,n;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")r=Reflect.decorate(t,e,i,s);else for(var c=t.length-1;c>=0;c--)(n=t[c])&&(r=(o<3?n(r):o>3?n(e,i,r):n(e,i))||r);return o>3&&r&&Object.defineProperty(e,i,r),r},O={organization:{family:"organization",type:"Organization"},group:{family:"team",type:"Group"},user:{family:"people",type:"User"}},l=class{constructor(t){T(this,t),this.arcgisHubPermissionsChange=h(this,"arcgisHubPermissionsChange",7),this.arcgisHubPermissionsAction=h(this,"arcgisHubPermissionsAction",7),this.handleCalciteSelectChange=e=>{let i=e.target;this.roles=this.roles.map(s=>i.dataset.roleType===s.roleType?Object.assign(Object.assign({},s),{selectedPermission:i.value}):s),this.arcgisHubPermissionsChange.emit()},this.renderRole=e=>a("calcite-label",{key:e.description,scale:this.scale},e.description,a("calcite-select",{"data-role-type":e.roleType,disabled:e.disabled,label:e.label,onCalciteSelectChange:this.handleCalciteSelectChange,scale:this.scale},e.permissions.map(i=>a("calcite-option",{disabled:!1,key:i.value,selected:e.selectedPermission===i.value,value:i.value},i.label)))),this.entityId=void 0,this.entityType=void 0,this.roles=void 0,this.actionLinks=void 0,this.scale=void 0,this.searchResults=null,this.elementWidth=null,g(this,"handleElementResized")}connectedCallback(){this.addResizeObserverHandler()}async componentWillLoad(){this.addResizeObserverHandler(),await Promise.all([this.fetchTranslations(),this.fetchEntityResults()])}disconnectedCallback(){p.removeHandler(this.element,this.handleElementResized)}async fetchTranslations(){this.intl=await y.loadIntlForComponent(this.element)}async fetchEntityResults(){if(this.entityId&&this.entityType)try{let{results:t}=await f({targetEntity:R(this.entityType),filters:[{predicates:[{id:this.entityId}]}]},{requestOptions:this._context.hubRequestOptions});this.searchResults=t}catch{u.warn(`Failed to search for ${this.entityType} ${this.entityId}`),this.searchResults=[]}else this.searchResults=null}addResizeObserverHandler(){this.element&&p.addHandler(this.element,this.handleElementResized)}handleElementResized(){this.setElementWidth(this.element)}setElementWidth(t){var e;this.elementWidth=(e=t.offsetWidth)!==null&&e!==void 0?e:null}get _context(){return _()}get isSmallLayout(){return this.elementWidth<=500}get inaccessibleEntityResult(){let t=O[this.entityType];return Object.assign({access:"private",id:this.entityId,name:this.intl.t(`inaccessible.${this.entityType}`),createdDate:new Date,createdDateSource:"",updatedDate:new Date,updatedDateSource:""},t)}get _searchResults(){var t;return!((t=this.searchResults)===null||t===void 0)&&t.length?this.searchResults:[this.inaccessibleEntityResult]}renderEntityResults(){if(this.entityId&&this.entityType)return a("arcgis-hub-gallery-layout-compact",{callback:t=>Object.assign(Object.assign({},t),{actionLinks:this.actionLinks}),onArcgisHubCardAction:t=>{this.arcgisHubPermissionsAction.emit({action:t.detail.action})},searchResults:this._searchResults,selectionMode:"none",showThumbnail:!this.isSmallLayout})}renderRoles(){return a("div",{class:"roles"},this.roles.map(this.renderRole))}render(){return a(v,{key:"99ce5a727a9bca2648353b0d6d2ea1ad0e44bdad","data-layout":this.isSmallLayout?"vertical":"horizontal"},this.renderEntityResults(),this.renderRoles(),a("slot",{key:"13962b094c791ab5cbb674324aec8159c71bb118"}))}static get assetsDirs(){return["locales"]}get element(){return E(this)}};d([b({timeout:250})],l.prototype,"handleElementResized",null);d([m("entityId","entityType")],l.prototype,"inaccessibleEntityResult",null);d([m("searchResults")],l.prototype,"_searchResults",null);l.style=P;return l},"config")
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- async function a(s,n){let e=`${n.hubUrl}/api/v3/jobs/site/${s}/harvest`,r={method:"POST",headers:{"content-type":"application/json",authorization:n.hubRequestOptions.authentication.token}};return fetch(e,r).then(t=>t.json()).then(t=>{let o={};return t.groups&&(o.groups=t.groups),t.message&&(o.error=t),o})}export{a};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import f from"./PLUOSW57.js";import e from"./7LH7BK4R.js";import d from"./S4JR6DV7.js";import c from"./FJET5K5U.js";import b from"./E7V64C5R.js";import a from"./6OH33S3R.js";import"./IL35QNQE.js";import"./GELTJKOX.js";import"./3ZZGH6IY.js";import"./DTDDD7RA.js";export default $arcgis.t(([,,,,,,,,,,,,,,{Da:y,Ja:I,ca:p,h:l,ha:S},{$:o,o:a},,,{a:n,b:m,c:c},{a:d,b:h,c:f,d:g}])=>{var b=class extends c{constructor(){super(...arguments),this._chartType=l.BarSeries}async setup(e){await this.loadConfigFromLayer(e),this.commonStrings=await a(),e.config!==void 0&&await this.updateSeriesFromLayerFilter(),this.resolveSetup()}async generateDefaultConfig(){let e=await I();return e.series=[await y({objectIDField:this.layerInfo?.objectIdField})],e}getSeriesHideOversizedSideBySideLabels(e){return d(e,this._config)}setSeriesHideOversizedSideBySideLabels(e,i){h(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedSideBySideLabels")}getSeriesHideOversizedStackedLabels(e){return f(e,this._config)}setSeriesHideOversizedStackedLabels(e,i){g(e,i,this._config),this.emitConfigUpdate("setSeriesHideOversizedStackedLabels")}resetSeriesStyling(){let e=this.getSeriesLength();for(let i=0;i<e;i+=1){let r=this.getSeriesId(i),t=S({colorIndex:i,opacity:p});if(m(t,i,this._config),this.layerInfo!==void 0){let s=o({config:this._config,seriesIndex:i,layerInfo:this.layerInfo,commonStrings:this.commonStrings});s!==this.layerInfo.objectIdField&&n(s??r,i,this._config)}}this._config.colorMatch=!0,this.emitConfigUpdate("resetSeriesStyling")}resetAvailable(){let e=!this.getColorMatch(),i=!1;if(!e&&this.layerInfo!==void 0){let r=this.getSeriesLength();for(let t=0;t<r;t+=1){let s=o({config:this._config,seriesIndex:t,layerInfo:this.layerInfo,commonStrings:this.commonStrings}),v=this.getSeriesName(t);if(s!==void 0&&s!==this.layerInfo.objectIdField&&s!==v){i=!0;break}}}return e||i}};return b},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request","layers/support/fieldUtils","renderers/support/jsonUtils","layers/support/Field","rest/support/FeatureSet","layers/FeatureLayer","portal/Portal","applications/Components/reactiveUtils",a,b,c,d,e,f)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import a from"./E7V64C5R.js";export default $arcgis.t(([,,,,,,,{l:r}])=>{var c=(i,e)=>r(e.series?.[i])?e.series?.[i].hideOversizedSideBySideLabels:void 0,h=(i,e,s)=>{r(s.series?.[e])&&(s.series[e].hideOversizedSideBySideLabels=i)},O=(i,e)=>r(e.series?.[i])?e.series?.[i].hideOversizedStackedLabels:void 0,l=(i,e,s)=>{r(s.series?.[e])&&(s.series[e].hideOversizedStackedLabels=i)};return{a:c,b:h,c:O,d:l}},"geometry/support/jsonUtils","rest/support/AttributeBinsQuery","rest/support/Query","rest/support/StatisticDefinition","time/TimeExtent","core/promiseUtils","request",a)
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import{a as m}from"./FWFB7J3U.js";import{b as p}from"./45CP3FYM.js";import{b as c}from"./AB2M6XVK.js";import{f as a}from"./JDZTDT4C.js";import{a as e}from"./BI3NCEL7.js";import"./7MQKI6XD.js";import"./EEVM6AHT.js";import{C as n,D as o,E as g,I as u,d as s,p as h}from"./SNOWP6QN.js";import"./DTDDD7RA.js";var d=class extends n{constructor(){super(...arguments),this.debug=!1,this.isEditMode=!1}static{this.properties={node:0,highlightedNode:0,utils:0,debug:5,isEditMode:5}}static{this.shadowRootOptions=h}_getChildClasses(t){let i=p(t);return t.id===this.highlightedNode?.id&&i.push("current-node"),i}render(){let{debug:t,utils:i}=this;return(this.node.children??[]).map(r=>{let{id:l}=r;if(!c(r)){a.warn(`Child with id ${l} in arcgis-layout-section is not a row.`);return}try{return e(r.id,s`<arcgis-layout-row class=${o(this._getChildClasses(r).join(" "))} .highlightedNode=${this.highlightedNode} .debug=${t} .isEditMode=${this.isEditMode} .node=${r} .utils=${i} style=${g(r.styles)} .role=${r.rowProps?.role} .ariaLabel=${r.rowProps?.ariaLabel} ${m(r.properties??{})}></arcgis-layout-row>`)}catch(y){return a.error(`Error rendering row with id ${l} in arcgis-hub-layout-row:`,y),e(r.id,s`<arcgis-layout-row class=${o({"layout-error":t})} .debug=${t} .node=${{id:r.id,tag:"arcgis-layout-row"}}></arcgis-layout-row>`)}})}};u("arcgis-layout-section",d);export{d as ArcgisLayoutSection};
@@ -1,4 +0,0 @@
1
- /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
- See https://js.arcgis.com/0.15/esri/copyright.txt for details.
3
- v0.15.0 */
4
- import"./DTDDD7RA.js";var a="\u8F09\u5165\u5716\u8868\u6642\u51FA\u932F\u3002",e="\u7121\u6CD5\u5C07\u5C0D\u6578\u8F49\u63DB\u5957\u7528\u65BC\u8CA0\u503C\u6216\u96F6\u503C\u3002",t="\u7121\u6CD5\u5C07\u5E73\u65B9\u6839\u8F49\u63DB\u5957\u7528\u65BC\u8CA0\u503C\u3002",r="\u8F09\u5165\u5716\u5C64\u6642\u51FA\u932F\u3002 URL = ${ url }\u3002 \u5165\u53E3\u7DB2\u7AD9\u9805\u76EE ID = ${ portalItemId }\u3002",i="\u5728\u5716\u5C64\u4E2D\u627E\u4E0D\u5230\u914D\u7F6E\u4E2D\u5B9A\u7FA9\u7684\u6B04\u4F4D [${ fieldNames }]\u3002",s="${ dataPath } \u5FC5\u9808\u552F\u4E00\u3002 \u540D\u70BA ${ seriesName } \u7684\u6578\u5217\u5177\u6709\u5176\u4ED6\u6578\u5217\u5DF2\u5728\u4F7F\u7528\u7684 ID (${ seriesID })\u3002",n="${ dataPath } \u7121\u6CD5\u5728\u975E\u6578\u503C\u6B04\u4F4D\u4E0A\u57F7\u884C\u975E\u8A08\u6578\u532F\u805A\u3002",o="${ dataPath } \u7F3A\u5C11\u540D\u70BA ${ missingProperty } \u7684\u5C6C\u6027\u3002",d="${ dataPath } \u4E0D\u61C9\u77ED\u65BC ${ limit } \u500B\u5B57\u5143\u3002",l="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u5C11\u65BC ${ limit } \u500B\u3002",u="${ dataPath } \u7684\u9805\u76EE\u6578\u4E0D\u61C9\u591A\u65BC ${ limit } \u500B\u3002",m="${ dataPath } \u81F3\u5C11\u5FC5\u9808\u6709\u4E00\u500B\u975E\u7A7A\u767D\u5B57\u5143\u3002",$="${ dataPath } \u4E0D\u80FD\u6709 ${ additionalProperty }\u3002",p="${ dataPath } \u5FC5\u9808\u7B49\u65BC\u4E0B\u5217\u5176\u4E2D\u4E00\u500B\u5141\u8A31\u503C: ${ allowedValues }\u3002",y="${ dataPath } \u5FC5\u9808\u7B26\u5408\u4E0B\u5217\u5176\u4E2D\u4E00\u9805\u7D50\u69CB\u63CF\u8FF0: ${ schemaOptions }\u3002",g="\u4E0D\u652F\u63F4\u5305\u542B\u6BD4\u4F8B\u7B26\u865F\u7684\u6563\u9EDE\u5716\u3002 \u5DF2\u5957\u7528\u9810\u8A2D\u7B26\u865F\u5927\u5C0F\u3002",P="\u7121\u6CD5\u8B80\u53D6\u8F38\u5165\u8CC7\u6599\u3002",h="\u6B64\u670D\u52D9\u4E0D\u652F\u63F4 queryBins \u64CD\u4F5C\u3002",I="\u7D22\u5F15 ${ seriesIndex } \u4E0A\u9810\u671F\u7684\u6578\u5217\u985E\u578B\u70BA '${ expectedType }'\uFF0C\u4F46\u6539\u70BA\u63A5\u6536 '${ receivedType }'",c="\u6216",f={defaultError:a,negativeValueInDataForLogTransformation:e,negativeValueInDataForSqrtTransformation:t,layerLoadFailure:r,layerFieldsNotFound:i,duplicateSeriesID:s,nonNumericAggregation:n,requiredProperty:o,minLength:d,minItems:l,maxItems:u,whiteSpacePattern:m,additionalProperty:$,enumValues:p,anyOfValues:y,bubbleChartValidateMsg:g,queryError:P,queryBinsNotSupported:h,invalidSeriesType:I,or:"\u6216"};export{$ as additionalProperty,y as anyOfValues,g 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,n as nonNumericAggregation,c as or,h as queryBinsNotSupported,P as queryError,o as requiredProperty,m as whiteSpacePattern};