@esri/solutions-components 1.0.0-next.20250501.1 → 1.0.0-next.20250501.2

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 (980) hide show
  1. package/dist/cdn/2627OC35.js +4 -0
  2. package/dist/cdn/2DEOX2UQ.js +4 -0
  3. package/dist/cdn/2LLKAVTV.js +4 -0
  4. package/dist/cdn/2LRVE3JC.js +18 -0
  5. package/dist/cdn/2LRVE3JC.js.LEGAL.txt +3 -0
  6. package/dist/cdn/2WYQDE5Z.js +4 -0
  7. package/dist/cdn/2XJGOOBG.js +4 -0
  8. package/dist/cdn/33DZLRWA.js +18 -0
  9. package/dist/cdn/33DZLRWA.js.LEGAL.txt +3 -0
  10. package/dist/cdn/34WBNSBV.js +4 -0
  11. package/dist/cdn/35NYD4WF.js +4 -0
  12. package/dist/cdn/3DKHAYTM.js +4 -0
  13. package/dist/cdn/3DYBNNJG.js +4 -0
  14. package/dist/cdn/3FL6VQP4.js +4 -0
  15. package/dist/cdn/3GN3HS2Z.js +4 -0
  16. package/dist/cdn/3I7ZK5FK.js +4 -0
  17. package/dist/cdn/3L5P4SFV.js +4 -0
  18. package/dist/cdn/3OSOBTXI.js +4 -0
  19. package/dist/cdn/3OSOBTXI.js.LEGAL.txt +19 -0
  20. package/dist/cdn/3UJWEKFN.js +4 -0
  21. package/dist/cdn/3VIB765B.js +4 -0
  22. package/dist/cdn/3XPDS33A.js +4 -0
  23. package/dist/cdn/3ZL6JNEH.js +18 -0
  24. package/dist/cdn/3ZL6JNEH.js.LEGAL.txt +3 -0
  25. package/dist/cdn/43UDVNH5.js +4 -0
  26. package/dist/cdn/43UDVNH5.js.LEGAL.txt +19 -0
  27. package/dist/cdn/4BUCDYBI.js +4 -0
  28. package/dist/cdn/4O2I2MFG.js +4 -0
  29. package/dist/cdn/4PKH3ZTA.js +289 -0
  30. package/dist/cdn/4R7NGALL.js +4 -0
  31. package/dist/cdn/4S47NFM3.js +4 -0
  32. package/dist/cdn/4UUPLRGU.js +4 -0
  33. package/dist/cdn/4YQFQUCZ.js +4 -0
  34. package/dist/cdn/54TTZEMV.js +4 -0
  35. package/dist/cdn/5A5OYCRM.js +18 -0
  36. package/dist/cdn/5A5OYCRM.js.LEGAL.txt +3 -0
  37. package/dist/cdn/5AG7YD7Y.js +4 -0
  38. package/dist/cdn/5BRHUPJQ.js +6 -0
  39. package/dist/cdn/5COTKFBX.js +4 -0
  40. package/dist/cdn/5F5ZEU66.js +4 -0
  41. package/dist/cdn/5FKQTJXQ.js +4 -0
  42. package/dist/cdn/5K2X6CBZ.js +18 -0
  43. package/dist/cdn/5K2X6CBZ.js.LEGAL.txt +3 -0
  44. package/dist/cdn/5KCRA4JF.js +4 -0
  45. package/dist/cdn/5KN7Z5XE.js +6 -0
  46. package/dist/cdn/5KN7Z5XE.js.LEGAL.txt +145 -0
  47. package/dist/cdn/5NCAUJ2M.js +4 -0
  48. package/dist/cdn/5OIPGQLN.js +4 -0
  49. package/dist/cdn/5YGFEQJH.js +4 -0
  50. package/dist/cdn/62C7U5GV.js +4 -0
  51. package/dist/cdn/63OERAOC.js +4 -0
  52. package/dist/cdn/667HEELR.js +4 -0
  53. package/dist/cdn/66AONU3N.js +4 -0
  54. package/dist/cdn/6EQSCBDC.js +4 -0
  55. package/dist/cdn/6EQSCBDC.js.LEGAL.txt +3 -0
  56. package/dist/cdn/6LPZ6BWV.js +4 -0
  57. package/dist/cdn/6WN23BQU.js +29 -0
  58. package/dist/cdn/74DCBZXT.js +18 -0
  59. package/dist/cdn/74DCBZXT.js.LEGAL.txt +3 -0
  60. package/dist/cdn/7CC4UOSP.js +4 -0
  61. package/dist/cdn/7CC4UOSP.js.LEGAL.txt +19 -0
  62. package/dist/cdn/7NQT5MYQ.js +4 -0
  63. package/dist/cdn/7PCDZNHO.js +18 -0
  64. package/dist/cdn/7PCDZNHO.js.LEGAL.txt +3 -0
  65. package/dist/cdn/7PENT2WI.js +4 -0
  66. package/dist/cdn/7PXLNWUW.js +4 -0
  67. package/dist/cdn/7S3CC4RV.js +18 -0
  68. package/dist/cdn/7S3CC4RV.js.LEGAL.txt +3 -0
  69. package/dist/cdn/7W774KKR.js +4 -0
  70. package/dist/cdn/A7LA5V6P.js +4 -0
  71. package/dist/cdn/ALIYBPUW.js +4 -0
  72. package/dist/cdn/ALZYWZZK.js +4 -0
  73. package/dist/cdn/ARRKQ2WZ.js +4 -0
  74. package/dist/cdn/AVVACE2H.js +8 -0
  75. package/dist/cdn/B6D4QBVH.js +4 -0
  76. package/dist/cdn/BB7AEZC2.js +4 -0
  77. package/dist/cdn/BBIZPRBD.js +4 -0
  78. package/dist/cdn/BCVI5VVW.js +9 -0
  79. package/dist/cdn/BVDPSX3N.js +18 -0
  80. package/dist/cdn/BVDPSX3N.js.LEGAL.txt +3 -0
  81. package/dist/cdn/C75GZINQ.js +18 -0
  82. package/dist/cdn/C75GZINQ.js.LEGAL.txt +3 -0
  83. package/dist/cdn/C7FMD3GO.js +4 -0
  84. package/dist/cdn/CPHOXIAS.js +4 -0
  85. package/dist/cdn/CRQPKJYN.js +4 -0
  86. package/dist/cdn/CVYUV5YV.js +4 -0
  87. package/dist/cdn/D2T5W4MH.js +4 -0
  88. package/dist/cdn/D7MB5F4I.js +4 -0
  89. package/dist/cdn/DKCZUP4C.js +4 -0
  90. package/dist/cdn/DKOI4TMS.js +4 -0
  91. package/dist/cdn/DNG2RCLA.js +18 -0
  92. package/dist/cdn/DNG2RCLA.js.LEGAL.txt +3 -0
  93. package/dist/cdn/DNQVWK3Q.js +4 -0
  94. package/dist/cdn/DOQ3OAB6.js +18 -0
  95. package/dist/cdn/DOQ3OAB6.js.LEGAL.txt +3 -0
  96. package/dist/cdn/DRYWVFXX.js +4 -0
  97. package/dist/cdn/E575ADYG.js +4 -0
  98. package/dist/cdn/E6BIPFS4.js +4 -0
  99. package/dist/cdn/EBSZD5UZ.js +4 -0
  100. package/dist/cdn/EDEOV7AB.js +4 -0
  101. package/dist/cdn/EDYWDMUF.js +18 -0
  102. package/dist/cdn/EDYWDMUF.js.LEGAL.txt +3 -0
  103. package/dist/cdn/EEJ67SFG.js +18 -0
  104. package/dist/cdn/EEJ67SFG.js.LEGAL.txt +12 -0
  105. package/dist/cdn/EFG5WHVI.js +4 -0
  106. package/dist/cdn/EH3TUCW5.js +4 -0
  107. package/dist/cdn/EJ44YJGV.js +18 -0
  108. package/dist/cdn/EJ44YJGV.js.LEGAL.txt +19 -0
  109. package/dist/cdn/EN657RIR.js +4 -0
  110. package/dist/cdn/EQRWAUHH.js +4 -0
  111. package/dist/cdn/ETJDGNYP.js +18 -0
  112. package/dist/cdn/ETJDGNYP.js.LEGAL.txt +3 -0
  113. package/dist/cdn/FJ6RRUAZ.js +4 -0
  114. package/dist/cdn/FR5AUKJH.js +4 -0
  115. package/dist/cdn/FSFU2N3B.js +4 -0
  116. package/dist/cdn/FVCUT5BD.js +369 -0
  117. package/dist/cdn/GB27Q3KN.js +4 -0
  118. package/dist/cdn/GB27Q3KN.js.LEGAL.txt +3 -0
  119. package/dist/cdn/GDO2NL6R.js +4 -0
  120. package/dist/cdn/GDO2NL6R.js.LEGAL.txt +3 -0
  121. package/dist/cdn/GFN5IPB5.js +18 -0
  122. package/dist/cdn/GFN5IPB5.js.LEGAL.txt +3 -0
  123. package/dist/cdn/GGA2BKBI.js +4 -0
  124. package/dist/cdn/GMXHYAWW.js +18 -0
  125. package/dist/cdn/GMXHYAWW.js.LEGAL.txt +3 -0
  126. package/dist/cdn/GV6574C7.js +4 -0
  127. package/dist/cdn/GYTWI2N3.js +4 -0
  128. package/dist/cdn/HEEO2XNR.js +4 -0
  129. package/dist/cdn/HMIZLJTY.js +25 -0
  130. package/dist/cdn/HMIZLJTY.js.LEGAL.txt +7 -0
  131. package/dist/cdn/HNJ5GPBM.js +3 -0
  132. package/dist/cdn/HQVT5GIH.js +4 -0
  133. package/dist/cdn/HRY2AWQR.js +4 -0
  134. package/dist/cdn/HSYJOXKH.js +18 -0
  135. package/dist/cdn/HSYJOXKH.js.LEGAL.txt +3 -0
  136. package/dist/cdn/HVXOFD44.js +18 -0
  137. package/dist/cdn/HVXOFD44.js.LEGAL.txt +3 -0
  138. package/dist/cdn/HYKX4C5U.js +18 -0
  139. package/dist/cdn/HYKX4C5U.js.LEGAL.txt +3 -0
  140. package/dist/cdn/I33SMVY3.js +18 -0
  141. package/dist/cdn/I33SMVY3.js.LEGAL.txt +3 -0
  142. package/dist/cdn/IERS74VR.js +4 -0
  143. package/dist/cdn/IIFJMCMO.js +4 -0
  144. package/dist/cdn/IMLKKE2U.js +4 -0
  145. package/dist/cdn/IQU2F4H3.js +18 -0
  146. package/dist/cdn/IQU2F4H3.js.LEGAL.txt +3 -0
  147. package/dist/cdn/IRKP2OK7.js +18 -0
  148. package/dist/cdn/IRKP2OK7.js.LEGAL.txt +3 -0
  149. package/dist/cdn/ISCLBHEK.js +4 -0
  150. package/dist/cdn/ITVDBPSA.js +18 -0
  151. package/dist/cdn/ITVDBPSA.js.LEGAL.txt +3 -0
  152. package/dist/cdn/IV5VX3CU.js +4 -0
  153. package/dist/cdn/JD7Q6C2C.js +18 -0
  154. package/dist/cdn/JD7Q6C2C.js.LEGAL.txt +3 -0
  155. package/dist/cdn/JHQ47NZN.js +4 -0
  156. package/dist/cdn/JHQRE76I.js +18 -0
  157. package/dist/cdn/JHQRE76I.js.LEGAL.txt +3 -0
  158. package/dist/cdn/JI5JTAYE.js +4 -0
  159. package/dist/cdn/JJ5LIG3E.js +4 -0
  160. package/dist/cdn/JQH6FWBF.js +4 -0
  161. package/dist/cdn/JRNC7PCQ.js +4 -0
  162. package/dist/cdn/JS3KPL65.js +4 -0
  163. package/dist/cdn/JYHXLAK7.js +4 -0
  164. package/dist/cdn/K5U2KIKJ.js +4 -0
  165. package/dist/cdn/KAHTIZBX.js +4 -0
  166. package/dist/cdn/KFIMM3IL.js +4 -0
  167. package/dist/cdn/KHUKO76X.js +4 -0
  168. package/dist/cdn/KOHHJ3Q4.js +18 -0
  169. package/dist/cdn/KOHHJ3Q4.js.LEGAL.txt +3 -0
  170. package/dist/cdn/KPKZMEKZ.js +4 -0
  171. package/dist/cdn/KPPOT7GR.js +4 -0
  172. package/dist/cdn/KRMQR6PO.js +4 -0
  173. package/dist/cdn/KRMQR6PO.js.LEGAL.txt +19 -0
  174. package/dist/cdn/LA4ADRHN.js +4 -0
  175. package/dist/cdn/LAEMDHMW.js +4 -0
  176. package/dist/cdn/LDSB3ZAB.js +4 -0
  177. package/dist/cdn/LGHVEQGE.js +18 -0
  178. package/dist/cdn/LGHVEQGE.js.LEGAL.txt +3 -0
  179. package/dist/cdn/LGYRQXSU.js +4 -0
  180. package/dist/cdn/LNPKEFYF.js +18 -0
  181. package/dist/cdn/LNPKEFYF.js.LEGAL.txt +3 -0
  182. package/dist/cdn/LOCRYUB5.js +4 -0
  183. package/dist/cdn/LQIITPOL.js +18 -0
  184. package/dist/cdn/LQIITPOL.js.LEGAL.txt +3 -0
  185. package/dist/cdn/LQVQ5SYL.js +4 -0
  186. package/dist/cdn/LQYOJKKM.js +4 -0
  187. package/dist/cdn/LSUEYFIK.js +4 -0
  188. package/dist/cdn/LSUEYFIK.js.LEGAL.txt +19 -0
  189. package/dist/cdn/LTVV5X4C.js +18 -0
  190. package/dist/cdn/LTVV5X4C.js.LEGAL.txt +3 -0
  191. package/dist/cdn/M4NMK35G.js +18 -0
  192. package/dist/cdn/M4NMK35G.js.LEGAL.txt +3 -0
  193. package/dist/cdn/M4YVWMXK.js +4 -0
  194. package/dist/cdn/M6OKQSGJ.js +4 -0
  195. package/dist/cdn/MDMPQSN3.js +18 -0
  196. package/dist/cdn/MDMPQSN3.js.LEGAL.txt +3 -0
  197. package/dist/cdn/MLWHYPW3.js +4 -0
  198. package/dist/cdn/MMGJL263.js +4 -0
  199. package/dist/cdn/MQKFPPUQ.js +18 -0
  200. package/dist/cdn/MQKFPPUQ.js.LEGAL.txt +3 -0
  201. package/dist/cdn/NA5LJZU7.js +4 -0
  202. package/dist/cdn/NAJHCCFK.js +4 -0
  203. package/dist/cdn/NAWXGWKC.js +18 -0
  204. package/dist/cdn/NAWXGWKC.js.LEGAL.txt +3 -0
  205. package/dist/cdn/NDRFJNB5.js +4 -0
  206. package/dist/cdn/NGQYRRMX.js +18 -0
  207. package/dist/cdn/NGQYRRMX.js.LEGAL.txt +3 -0
  208. package/dist/cdn/NHOULH2W.js +5 -0
  209. package/dist/cdn/NI6VUXXY.js +4 -0
  210. package/dist/cdn/NMC4BPV4.js +4 -0
  211. package/dist/cdn/NMJB2BJ2.js +18 -0
  212. package/dist/cdn/NMJB2BJ2.js.LEGAL.txt +3 -0
  213. package/dist/cdn/NOAVPB5F.js +5 -0
  214. package/dist/cdn/NQTVJEQJ.js +4 -0
  215. package/dist/cdn/NSCO46UB.js +18 -0
  216. package/dist/cdn/NSCO46UB.js.LEGAL.txt +3 -0
  217. package/dist/cdn/NWNCFKQJ.js +18 -0
  218. package/dist/cdn/NWNCFKQJ.js.LEGAL.txt +3 -0
  219. package/dist/cdn/O2ZHYRZT.js +18 -0
  220. package/dist/cdn/O2ZHYRZT.js.LEGAL.txt +3 -0
  221. package/dist/cdn/O4U462PQ.js +18 -0
  222. package/dist/cdn/O4U462PQ.js.LEGAL.txt +3 -0
  223. package/dist/cdn/OGTPASHM.js +19 -0
  224. package/dist/cdn/OGTPASHM.js.LEGAL.txt +3 -0
  225. package/dist/cdn/OHSYSDBJ.js +4 -0
  226. package/dist/cdn/OJMZUZGG.js +4 -0
  227. package/dist/cdn/OO5QJAUV.js +18 -0
  228. package/dist/cdn/OO5QJAUV.js.LEGAL.txt +3 -0
  229. package/dist/cdn/OPC6J6MC.js +4 -0
  230. package/dist/cdn/OPC6J6MC.js.LEGAL.txt +19 -0
  231. package/dist/cdn/OQMSIWHM.js +18 -0
  232. package/dist/cdn/OQMSIWHM.js.LEGAL.txt +3 -0
  233. package/dist/cdn/OSJ4PK7V.js +4 -0
  234. package/dist/cdn/OZZ6AIHM.js +4 -0
  235. package/dist/cdn/PE2NGOSN.js +4 -0
  236. package/dist/cdn/PFPXYDRH.js +4 -0
  237. package/dist/cdn/PIBX77IR.js +4 -0
  238. package/dist/cdn/PKQMLT3F.js +5 -0
  239. package/dist/cdn/PLPFPFMS.js +4 -0
  240. package/dist/cdn/PMLO3UBD.js +4 -0
  241. package/dist/cdn/PMLO3UBD.js.LEGAL.txt +3 -0
  242. package/dist/cdn/PYOZY3AA.js +4 -0
  243. package/dist/cdn/Q46U6YLX.js +4 -0
  244. package/dist/cdn/Q4QJIANV.js +4 -0
  245. package/dist/cdn/Q4YN3UWN.js +4 -0
  246. package/dist/cdn/Q7CCSRAE.js +18 -0
  247. package/dist/cdn/Q7CCSRAE.js.LEGAL.txt +3 -0
  248. package/dist/cdn/QAOKFIMA.js +4 -0
  249. package/dist/cdn/QAV3ZXVX.js +4 -0
  250. package/dist/cdn/QGQW73YS.js +18 -0
  251. package/dist/cdn/QGQW73YS.js.LEGAL.txt +3 -0
  252. package/dist/cdn/QI7CAGDL.js +4 -0
  253. package/dist/cdn/QJI4YPT2.js +4 -0
  254. package/dist/cdn/QNEZFCY7.js +4 -0
  255. package/dist/cdn/QPZ5DWIV.js +4 -0
  256. package/dist/cdn/QPZ5DWIV.js.LEGAL.txt +19 -0
  257. package/dist/cdn/QSI6TV26.js +82 -0
  258. package/dist/cdn/QSI6TV26.js.LEGAL.txt +244 -0
  259. package/dist/cdn/QSK26NIR.js +4 -0
  260. package/dist/cdn/R4M6CYMY.js +4 -0
  261. package/dist/cdn/R4M6CYMY.js.LEGAL.txt +19 -0
  262. package/dist/cdn/R6JBLWE7.js +4 -0
  263. package/dist/cdn/RBTSB7LW.js +4 -0
  264. package/dist/cdn/RCBI5D2Z.js +4 -0
  265. package/dist/cdn/RCNFZSA5.js +4 -0
  266. package/dist/cdn/RFBZVECY.js +4 -0
  267. package/dist/cdn/RGNEZPQ6.js +19 -0
  268. package/dist/cdn/RGNEZPQ6.js.LEGAL.txt +3 -0
  269. package/dist/cdn/RPBZ5L5A.js +18 -0
  270. package/dist/cdn/RPBZ5L5A.js.LEGAL.txt +3 -0
  271. package/dist/cdn/RU7VN5YX.js +4 -0
  272. package/dist/cdn/RUH56R7L.js +4 -0
  273. package/dist/cdn/RWVKAK4K.js +18 -0
  274. package/dist/cdn/RWVKAK4K.js.LEGAL.txt +3 -0
  275. package/dist/cdn/RYMHJ7M6.js +4 -0
  276. package/dist/cdn/RYWPGCGZ.js +4 -0
  277. package/dist/cdn/SALTFRJ5.js +4 -0
  278. package/dist/cdn/SBPJJXZK.js +4 -0
  279. package/dist/cdn/SDVEOIP6.js +4 -0
  280. package/dist/cdn/SERFTFK4.js +18 -0
  281. package/dist/cdn/SERFTFK4.js.LEGAL.txt +3 -0
  282. package/dist/cdn/SFN7KXBC.js +4 -0
  283. package/dist/cdn/SHSCJK7K.js +4 -0
  284. package/dist/cdn/SHWFC6TE.js +4 -0
  285. package/dist/cdn/SHWFC6TE.js.LEGAL.txt +19 -0
  286. package/dist/cdn/T7EH5UZA.js +18 -0
  287. package/dist/cdn/T7EH5UZA.js.LEGAL.txt +3 -0
  288. package/dist/cdn/TA7QL4YX.js +8 -0
  289. package/dist/cdn/TN4SBIJW.js +4 -0
  290. package/dist/cdn/TS77EOZ2.js +19 -0
  291. package/dist/cdn/TS77EOZ2.js.LEGAL.txt +3 -0
  292. package/dist/cdn/TXARZDSW.js +4 -0
  293. package/dist/cdn/TYLRSAPF.js +4 -0
  294. package/dist/cdn/U2NFHP5I.js +4 -0
  295. package/dist/cdn/UBKKMKS7.js +4 -0
  296. package/dist/cdn/URSDOYPK.js +4 -0
  297. package/dist/cdn/UTQQDI5Q.js +18 -0
  298. package/dist/cdn/UTQQDI5Q.js.LEGAL.txt +3 -0
  299. package/dist/cdn/UTX33TLK.js +4 -0
  300. package/dist/cdn/UWLZA6RY.js +4 -0
  301. package/dist/cdn/UX2H3Z6R.js +4 -0
  302. package/dist/cdn/UZVXLXYQ.js +4 -0
  303. package/dist/cdn/VGD2IUHD.js +4 -0
  304. package/dist/cdn/VIFOVT2H.js +8 -0
  305. package/dist/cdn/VS4BFKH5.js +18 -0
  306. package/dist/cdn/VS4BFKH5.js.LEGAL.txt +3 -0
  307. package/dist/cdn/VTDPGZFT.js +18 -0
  308. package/dist/cdn/VTDPGZFT.js.LEGAL.txt +3 -0
  309. package/dist/cdn/VZMHIBV5.js +4 -0
  310. package/dist/cdn/W7PI4HOW.js +4 -0
  311. package/dist/cdn/WHIJZGSO.js +9 -0
  312. package/dist/cdn/WK4XUJYY.js +4 -0
  313. package/dist/cdn/WK4XUJYY.js.LEGAL.txt +19 -0
  314. package/dist/cdn/WPW7HPVB.js +18 -0
  315. package/dist/cdn/WPW7HPVB.js.LEGAL.txt +3 -0
  316. package/dist/cdn/WSDRBWDO.js +18 -0
  317. package/dist/cdn/WSDRBWDO.js.LEGAL.txt +3 -0
  318. package/dist/cdn/WVFYDL3N.js +4 -0
  319. package/dist/cdn/WXBPYKCV.js +4 -0
  320. package/dist/cdn/WYNYF36Y.js +4 -0
  321. package/dist/cdn/WZV2UPIA.js +18 -0
  322. package/dist/cdn/WZV2UPIA.js.LEGAL.txt +3 -0
  323. package/dist/cdn/X7OXK5DE.js +4 -0
  324. package/dist/cdn/XA4WRYB3.js +4 -0
  325. package/dist/cdn/XAP7KYLB.js +4 -0
  326. package/dist/cdn/XBJF7MJ6.js +4 -0
  327. package/dist/cdn/XDTQLWOL.js +4 -0
  328. package/dist/cdn/XGRMPRIT.js +4 -0
  329. package/dist/cdn/XPPFPOAJ.js +4 -0
  330. package/dist/cdn/XRSL7RGR.js +4 -0
  331. package/dist/cdn/XWVXILJ6.js +18 -0
  332. package/dist/cdn/XWVXILJ6.js.LEGAL.txt +3 -0
  333. package/dist/cdn/Y5QLVYUJ.js +4 -0
  334. package/dist/cdn/YBHXQHED.js +4 -0
  335. package/dist/cdn/YFDRQUEW.js +4 -0
  336. package/dist/cdn/YH55Y5MP.js +4 -0
  337. package/dist/cdn/YHUDJET2.js +4 -0
  338. package/dist/cdn/YLWTVGEO.js +4 -0
  339. package/dist/cdn/YOLXA6ZY.js +4 -0
  340. package/dist/cdn/YPMMBOZ4.js +4 -0
  341. package/dist/cdn/YQDNVPGZ.js +4 -0
  342. package/dist/cdn/YZMHYMNZ.js +4 -0
  343. package/dist/cdn/ZIIYJYM3.js +4 -0
  344. package/dist/cdn/ZJR4525B.js +4 -0
  345. package/dist/cdn/ZKUTSUQ5.js +4 -0
  346. package/dist/cdn/ZLSEU37X.js +4 -0
  347. package/dist/cdn/ZSBOSR2Q.js +4 -0
  348. package/dist/cdn/ZWWF36B7.js +4 -0
  349. package/dist/cdn/ZXEH2RP3.js +18 -0
  350. package/dist/cdn/ZXEH2RP3.js.LEGAL.txt +3 -0
  351. package/dist/cdn/index.esm.js +2 -2
  352. package/dist/cdn/index.esm.js.LEGAL.txt +1 -1
  353. package/dist/chunks/common.js +1 -1
  354. package/dist/chunks/downloadUtils.js +1 -1
  355. package/dist/chunks/index.js +1 -1
  356. package/dist/chunks/interfaces.js +1 -1
  357. package/dist/chunks/loadModules.js +1 -1
  358. package/dist/chunks/mapViewUtils.js +1 -1
  359. package/dist/chunks/pciUtils.js +1 -1
  360. package/dist/chunks/popupUtils.js +1 -1
  361. package/dist/chunks/publicNotificationStore.js +1 -1
  362. package/dist/chunks/queryUtils.js +1 -1
  363. package/dist/chunks/runtime.js +1 -1
  364. package/dist/chunks/solution-store.js +1 -1
  365. package/dist/chunks/templates.js +1 -1
  366. package/dist/chunks/useT9n.js +1 -1
  367. package/dist/components/arcgis-solution-assistant/customElement.js +1 -1
  368. package/dist/components/basemap-gallery/customElement.js +1 -1
  369. package/dist/components/buffer-tools/customElement.js +1 -1
  370. package/dist/components/card-manager/customElement.js +1 -1
  371. package/dist/components/consent-manager/customElement.js +1 -1
  372. package/dist/components/create-feature/customElement.js +1 -1
  373. package/dist/components/create-related-feature/customElement.js +1 -1
  374. package/dist/components/crowdsource-manager/customElement.js +1 -1
  375. package/dist/components/crowdsource-reporter/customElement.js +1 -1
  376. package/dist/components/deduct-calculator/customElement.js +1 -1
  377. package/dist/components/delete-button/customElement.js +1 -1
  378. package/dist/components/delete-dialog/customElement.js +1 -1
  379. package/dist/components/edit-card/customElement.js +1 -1
  380. package/dist/components/feature-details/customElement.js +1 -1
  381. package/dist/components/feature-list/customElement.js +1 -1
  382. package/dist/components/field-selection/customElement.js +1 -1
  383. package/dist/components/floor-filter/customElement.js +1 -1
  384. package/dist/components/info-card/customElement.js +1 -1
  385. package/dist/components/json-editor/customElement.js +1 -1
  386. package/dist/components/layer-list/customElement.js +1 -1
  387. package/dist/components/layer-table/customElement.js +1 -1
  388. package/dist/components/map-card/customElement.js +1 -1
  389. package/dist/components/map-draw-tools/customElement.js +1 -1
  390. package/dist/components/map-fullscreen/customElement.js +1 -1
  391. package/dist/components/map-layer-picker/customElement.js +1 -1
  392. package/dist/components/map-legend/customElement.js +1 -1
  393. package/dist/components/map-picker/customElement.js +1 -1
  394. package/dist/components/map-search/customElement.js +1 -1
  395. package/dist/components/map-select-tools/customElement.js +1 -1
  396. package/dist/components/map-tools/customElement.js +1 -1
  397. package/dist/components/pci-calculator/customElement.js +1 -1
  398. package/dist/components/pdf-download/customElement.js +1 -1
  399. package/dist/components/public-notification/customElement.js +1 -1
  400. package/dist/components/refine-selection/customElement.js +1 -1
  401. package/dist/components/solution-arcticle-card/customElement.js +1 -1
  402. package/dist/components/solution-card/customElement.js +1 -1
  403. package/dist/components/solution-configuration/customElement.js +1 -1
  404. package/dist/components/solution-contents/customElement.js +1 -1
  405. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  406. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  407. package/dist/components/solution-deploy-panel/customElement.js +1 -1
  408. package/dist/components/solution-deployed-card/customElement.js +1 -1
  409. package/dist/components/solution-deployed-panel/customElement.js +1 -1
  410. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  411. package/dist/components/solution-item/customElement.js +1 -1
  412. package/dist/components/solution-item-accordion/customElement.js +1 -1
  413. package/dist/components/solution-item-details/customElement.js +1 -1
  414. package/dist/components/solution-item-icon/customElement.js +1 -1
  415. package/dist/components/solution-item-sharing/customElement.js +1 -1
  416. package/dist/components/solution-organization-variables/customElement.js +1 -1
  417. package/dist/components/solution-resource-item/customElement.js +1 -1
  418. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  419. package/dist/components/solution-template-data/customElement.js +1 -1
  420. package/dist/components/solution-variables/customElement.js +1 -1
  421. package/dist/components/solutions-article-panel/customElement.js +1 -1
  422. package/dist/components/solutions-articles/customElement.js +1 -1
  423. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  424. package/dist/components/solutions-deployed-panel/customElement.js +1 -1
  425. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  426. package/dist/components/solutions-filter/customElement.js +1 -1
  427. package/dist/components/solutions-panel/customElement.js +1 -1
  428. package/dist/components/solutions-shell/customElement.js +1 -1
  429. package/dist/components/spatial-ref/customElement.js +1 -1
  430. package/dist/components/store-manager/customElement.js +1 -1
  431. package/dist/docs/api.json +1 -1
  432. package/dist/docs/docs.json +1 -1
  433. package/dist/docs/web-types.json +1 -1
  434. package/dist/index.js +1 -1
  435. package/dist/loader.js +1 -1
  436. package/package.json +3 -3
  437. package/dist/cdn/22766OH7.js +0 -4
  438. package/dist/cdn/232TPVWZ.js +0 -4
  439. package/dist/cdn/26KK2VF2.js +0 -4
  440. package/dist/cdn/26STIPX4.js +0 -4
  441. package/dist/cdn/2BB5DIBK.js +0 -4
  442. package/dist/cdn/2BKHL2W2.js +0 -4
  443. package/dist/cdn/2C57RBI5.js +0 -18
  444. package/dist/cdn/2C57RBI5.js.LEGAL.txt +0 -3
  445. package/dist/cdn/2KH5COX3.js +0 -4
  446. package/dist/cdn/2LCKJUCI.js +0 -4
  447. package/dist/cdn/2OJ7UM6M.js +0 -18
  448. package/dist/cdn/2OJ7UM6M.js.LEGAL.txt +0 -3
  449. package/dist/cdn/2OUZZH5F.js +0 -4
  450. package/dist/cdn/2PYO5DQ6.js +0 -18
  451. package/dist/cdn/2PYO5DQ6.js.LEGAL.txt +0 -3
  452. package/dist/cdn/2QU3HOZH.js +0 -4
  453. package/dist/cdn/2RUSM53S.js +0 -18
  454. package/dist/cdn/2RUSM53S.js.LEGAL.txt +0 -3
  455. package/dist/cdn/2TRYHNAQ.js +0 -4
  456. package/dist/cdn/2VZGDCVN.js +0 -18
  457. package/dist/cdn/2VZGDCVN.js.LEGAL.txt +0 -3
  458. package/dist/cdn/2XYGKVMI.js +0 -4
  459. package/dist/cdn/322K3SOO.js +0 -5
  460. package/dist/cdn/34DVI6WH.js +0 -4
  461. package/dist/cdn/3FZHZ2IN.js +0 -18
  462. package/dist/cdn/3FZHZ2IN.js.LEGAL.txt +0 -3
  463. package/dist/cdn/3GYA7KXY.js +0 -4
  464. package/dist/cdn/3GYA7KXY.js.LEGAL.txt +0 -19
  465. package/dist/cdn/3QRK5WNP.js +0 -18
  466. package/dist/cdn/3QRK5WNP.js.LEGAL.txt +0 -3
  467. package/dist/cdn/3YD5KBWQ.js +0 -4
  468. package/dist/cdn/3ZSWLY6T.js +0 -4
  469. package/dist/cdn/42NO2VM2.js +0 -5
  470. package/dist/cdn/43SAG5RR.js +0 -4
  471. package/dist/cdn/44UGS6U3.js +0 -4
  472. package/dist/cdn/46TJPKNY.js +0 -4
  473. package/dist/cdn/4BFOGSD7.js +0 -289
  474. package/dist/cdn/4K7M7ZQ3.js +0 -19
  475. package/dist/cdn/4K7M7ZQ3.js.LEGAL.txt +0 -3
  476. package/dist/cdn/4V4FINZ6.js +0 -25
  477. package/dist/cdn/4V4FINZ6.js.LEGAL.txt +0 -7
  478. package/dist/cdn/53FQYX5H.js +0 -18
  479. package/dist/cdn/53FQYX5H.js.LEGAL.txt +0 -3
  480. package/dist/cdn/54F6FEYA.js +0 -18
  481. package/dist/cdn/54F6FEYA.js.LEGAL.txt +0 -3
  482. package/dist/cdn/55L42YVM.js +0 -18
  483. package/dist/cdn/55L42YVM.js.LEGAL.txt +0 -3
  484. package/dist/cdn/5DMLAY7O.js +0 -4
  485. package/dist/cdn/5ECSGZTG.js +0 -4
  486. package/dist/cdn/5ECSGZTG.js.LEGAL.txt +0 -19
  487. package/dist/cdn/5K4R3YLU.js +0 -4
  488. package/dist/cdn/5PHGREB2.js +0 -4
  489. package/dist/cdn/5VVMS46I.js +0 -4
  490. package/dist/cdn/5YI5R2WO.js +0 -4
  491. package/dist/cdn/5Z4JBIKS.js +0 -18
  492. package/dist/cdn/5Z4JBIKS.js.LEGAL.txt +0 -3
  493. package/dist/cdn/6BIAHCPG.js +0 -19
  494. package/dist/cdn/6BIAHCPG.js.LEGAL.txt +0 -3
  495. package/dist/cdn/6DHIQIEH.js +0 -4
  496. package/dist/cdn/6FVY7QMN.js +0 -8
  497. package/dist/cdn/6GYUNHDH.js +0 -4
  498. package/dist/cdn/6K2PA3FB.js +0 -4
  499. package/dist/cdn/6PKXXMG2.js +0 -4
  500. package/dist/cdn/6Q5GNZGO.js +0 -4
  501. package/dist/cdn/6Q5GNZGO.js.LEGAL.txt +0 -3
  502. package/dist/cdn/6ZRQCBMV.js +0 -4
  503. package/dist/cdn/72S7VOBU.js +0 -4
  504. package/dist/cdn/73BC7MBM.js +0 -4
  505. package/dist/cdn/76ZHXQ5P.js +0 -29
  506. package/dist/cdn/7C54RIKB.js +0 -4
  507. package/dist/cdn/7LZMV6CE.js +0 -4
  508. package/dist/cdn/7N54X5AD.js +0 -4
  509. package/dist/cdn/7WQQZZLP.js +0 -4
  510. package/dist/cdn/7YDOYPIR.js +0 -4
  511. package/dist/cdn/7YDOYPIR.js.LEGAL.txt +0 -3
  512. package/dist/cdn/7ZIZFBYY.js +0 -4
  513. package/dist/cdn/A53RY67S.js +0 -4
  514. package/dist/cdn/AA7ZOXAH.js +0 -4
  515. package/dist/cdn/AAHUJR53.js +0 -4
  516. package/dist/cdn/ABH3W56U.js +0 -4
  517. package/dist/cdn/ABH3W56U.js.LEGAL.txt +0 -19
  518. package/dist/cdn/AO7ARCIR.js +0 -4
  519. package/dist/cdn/APJDAB5T.js +0 -18
  520. package/dist/cdn/APJDAB5T.js.LEGAL.txt +0 -3
  521. package/dist/cdn/AUPHHHE2.js +0 -4
  522. package/dist/cdn/AUPHHHE2.js.LEGAL.txt +0 -19
  523. package/dist/cdn/AUYGSPKE.js +0 -4
  524. package/dist/cdn/AWZIS4B2.js +0 -4
  525. package/dist/cdn/B4AN7EIK.js +0 -4
  526. package/dist/cdn/BGKV42DN.js +0 -18
  527. package/dist/cdn/BGKV42DN.js.LEGAL.txt +0 -3
  528. package/dist/cdn/BJM5URMJ.js +0 -4
  529. package/dist/cdn/BOTZPFN6.js +0 -18
  530. package/dist/cdn/BOTZPFN6.js.LEGAL.txt +0 -3
  531. package/dist/cdn/BTD3APL7.js +0 -4
  532. package/dist/cdn/BWJJNSBT.js +0 -18
  533. package/dist/cdn/BWJJNSBT.js.LEGAL.txt +0 -3
  534. package/dist/cdn/BXEUPCWA.js +0 -4
  535. package/dist/cdn/CEWTTZUS.js +0 -4
  536. package/dist/cdn/CK6YOFSG.js +0 -4
  537. package/dist/cdn/CMF6LDBR.js +0 -4
  538. package/dist/cdn/COO74PLS.js +0 -5
  539. package/dist/cdn/CTTMT6VX.js +0 -8
  540. package/dist/cdn/D7RN32CF.js +0 -4
  541. package/dist/cdn/DGMZ6QXM.js +0 -18
  542. package/dist/cdn/DGMZ6QXM.js.LEGAL.txt +0 -3
  543. package/dist/cdn/DNP7Z6AL.js +0 -4
  544. package/dist/cdn/DUGXKEJO.js +0 -4
  545. package/dist/cdn/DXQKJY5N.js +0 -18
  546. package/dist/cdn/DXQKJY5N.js.LEGAL.txt +0 -3
  547. package/dist/cdn/EEGULFK4.js +0 -4
  548. package/dist/cdn/ENUDMNIE.js +0 -18
  549. package/dist/cdn/ENUDMNIE.js.LEGAL.txt +0 -3
  550. package/dist/cdn/ESF5DKBG.js +0 -4
  551. package/dist/cdn/ESK6OHUN.js +0 -4
  552. package/dist/cdn/ESK6OHUN.js.LEGAL.txt +0 -19
  553. package/dist/cdn/EVNN74SW.js +0 -4
  554. package/dist/cdn/EVZVFSLL.js +0 -4
  555. package/dist/cdn/EXT55FWG.js +0 -4
  556. package/dist/cdn/FB5ZHS5O.js +0 -4
  557. package/dist/cdn/FBOWYGQD.js +0 -4
  558. package/dist/cdn/FFW5OHCB.js +0 -4
  559. package/dist/cdn/FFW5OHCB.js.LEGAL.txt +0 -3
  560. package/dist/cdn/FSHN7NRE.js +0 -4
  561. package/dist/cdn/G7MUJYUQ.js +0 -4
  562. package/dist/cdn/GBSVVPRB.js +0 -4
  563. package/dist/cdn/GFCR7XIN.js +0 -18
  564. package/dist/cdn/GFCR7XIN.js.LEGAL.txt +0 -3
  565. package/dist/cdn/GG27ACFI.js +0 -8
  566. package/dist/cdn/GHBRSRHR.js +0 -4
  567. package/dist/cdn/GHCYH4VO.js +0 -4
  568. package/dist/cdn/GHW5LEGA.js +0 -4
  569. package/dist/cdn/GKBSDRDK.js +0 -4
  570. package/dist/cdn/GKDOBPIL.js +0 -4
  571. package/dist/cdn/GLZYDVD7.js +0 -4
  572. package/dist/cdn/GMNLGPRE.js +0 -4
  573. package/dist/cdn/GSK6MI4V.js +0 -4
  574. package/dist/cdn/GTB46XNN.js +0 -4
  575. package/dist/cdn/GTRMB3A4.js +0 -18
  576. package/dist/cdn/GTRMB3A4.js.LEGAL.txt +0 -3
  577. package/dist/cdn/HAGG3RYD.js +0 -4
  578. package/dist/cdn/HCELP62U.js +0 -4
  579. package/dist/cdn/HJ5RNDHX.js +0 -18
  580. package/dist/cdn/HJ5RNDHX.js.LEGAL.txt +0 -3
  581. package/dist/cdn/HK5IZI5Z.js +0 -4
  582. package/dist/cdn/HKE2Q7CZ.js +0 -4
  583. package/dist/cdn/HSTIKC26.js +0 -4
  584. package/dist/cdn/HYDYMELB.js +0 -4
  585. package/dist/cdn/HYVHA4FY.js +0 -4
  586. package/dist/cdn/I2FHSU7W.js +0 -18
  587. package/dist/cdn/I2FHSU7W.js.LEGAL.txt +0 -3
  588. package/dist/cdn/IC3ZV4NO.js +0 -4
  589. package/dist/cdn/ICR52UL7.js +0 -4
  590. package/dist/cdn/IDWOAEMD.js +0 -4
  591. package/dist/cdn/IFMZU3GF.js +0 -18
  592. package/dist/cdn/IFMZU3GF.js.LEGAL.txt +0 -3
  593. package/dist/cdn/IJ74774M.js +0 -4
  594. package/dist/cdn/IRPEFZSQ.js +0 -4
  595. package/dist/cdn/IXTE7FV7.js +0 -4
  596. package/dist/cdn/IZUA3C3T.js +0 -18
  597. package/dist/cdn/IZUA3C3T.js.LEGAL.txt +0 -3
  598. package/dist/cdn/JBDRTLXO.js +0 -18
  599. package/dist/cdn/JBDRTLXO.js.LEGAL.txt +0 -3
  600. package/dist/cdn/JHGPYLWD.js +0 -3
  601. package/dist/cdn/JNSUSFC4.js +0 -18
  602. package/dist/cdn/JNSUSFC4.js.LEGAL.txt +0 -3
  603. package/dist/cdn/JSLAGZEI.js +0 -4
  604. package/dist/cdn/JX6PKGNK.js +0 -4
  605. package/dist/cdn/K2AEW6QQ.js +0 -4
  606. package/dist/cdn/KCQN2FTO.js +0 -4
  607. package/dist/cdn/KQRA5TYU.js +0 -4
  608. package/dist/cdn/KRYPAQ3V.js +0 -18
  609. package/dist/cdn/KRYPAQ3V.js.LEGAL.txt +0 -3
  610. package/dist/cdn/KSLUWU76.js +0 -4
  611. package/dist/cdn/KSMY6KVH.js +0 -4
  612. package/dist/cdn/KTM3K5IU.js +0 -18
  613. package/dist/cdn/KTM3K5IU.js.LEGAL.txt +0 -19
  614. package/dist/cdn/KZN3RUJK.js +0 -4
  615. package/dist/cdn/L6BDEN2S.js +0 -82
  616. package/dist/cdn/L6BDEN2S.js.LEGAL.txt +0 -244
  617. package/dist/cdn/L6KLN34F.js +0 -4
  618. package/dist/cdn/LD4NPNXI.js +0 -4
  619. package/dist/cdn/LEPGK4UW.js +0 -4
  620. package/dist/cdn/LEUE4A7G.js +0 -4
  621. package/dist/cdn/LLIJ7Z4U.js +0 -18
  622. package/dist/cdn/LLIJ7Z4U.js.LEGAL.txt +0 -3
  623. package/dist/cdn/LOSFVM3J.js +0 -18
  624. package/dist/cdn/LOSFVM3J.js.LEGAL.txt +0 -3
  625. package/dist/cdn/LOYETYKV.js +0 -18
  626. package/dist/cdn/LOYETYKV.js.LEGAL.txt +0 -3
  627. package/dist/cdn/LV2TLK37.js +0 -4
  628. package/dist/cdn/LXNSX5GC.js +0 -18
  629. package/dist/cdn/LXNSX5GC.js.LEGAL.txt +0 -3
  630. package/dist/cdn/M3LX3IKJ.js +0 -18
  631. package/dist/cdn/M3LX3IKJ.js.LEGAL.txt +0 -3
  632. package/dist/cdn/M73YHO37.js +0 -18
  633. package/dist/cdn/M73YHO37.js.LEGAL.txt +0 -3
  634. package/dist/cdn/MC52CZ2B.js +0 -4
  635. package/dist/cdn/MK7XBGW3.js +0 -4
  636. package/dist/cdn/MKAKSQW7.js +0 -4
  637. package/dist/cdn/MKHMLHY3.js +0 -4
  638. package/dist/cdn/MMEXN3JJ.js +0 -4
  639. package/dist/cdn/MPVIIZEA.js +0 -18
  640. package/dist/cdn/MPVIIZEA.js.LEGAL.txt +0 -3
  641. package/dist/cdn/MSYDEBQH.js +0 -4
  642. package/dist/cdn/MWFRMEVF.js +0 -4
  643. package/dist/cdn/MX3QK4BD.js +0 -18
  644. package/dist/cdn/MX3QK4BD.js.LEGAL.txt +0 -3
  645. package/dist/cdn/MYGCG5HU.js +0 -4
  646. package/dist/cdn/MYGCG5HU.js.LEGAL.txt +0 -19
  647. package/dist/cdn/MYKH54YC.js +0 -18
  648. package/dist/cdn/MYKH54YC.js.LEGAL.txt +0 -3
  649. package/dist/cdn/N3OGD5JL.js +0 -4
  650. package/dist/cdn/NIPQB2A6.js +0 -18
  651. package/dist/cdn/NIPQB2A6.js.LEGAL.txt +0 -3
  652. package/dist/cdn/NSDF5N7C.js +0 -4
  653. package/dist/cdn/NTX6LIB3.js +0 -4
  654. package/dist/cdn/O2BCL7OO.js +0 -18
  655. package/dist/cdn/O2BCL7OO.js.LEGAL.txt +0 -3
  656. package/dist/cdn/O3WLWBNP.js +0 -4
  657. package/dist/cdn/O4VZYHOJ.js +0 -4
  658. package/dist/cdn/O5IREWKJ.js +0 -4
  659. package/dist/cdn/O6BV4GPQ.js +0 -4
  660. package/dist/cdn/OGB7O254.js +0 -18
  661. package/dist/cdn/OGB7O254.js.LEGAL.txt +0 -3
  662. package/dist/cdn/OTMBUW5V.js +0 -4
  663. package/dist/cdn/OY6GGSCZ.js +0 -18
  664. package/dist/cdn/OY6GGSCZ.js.LEGAL.txt +0 -3
  665. package/dist/cdn/P5VRMQGO.js +0 -4
  666. package/dist/cdn/PADMJS2B.js +0 -4
  667. package/dist/cdn/PFBJJBFN.js +0 -4
  668. package/dist/cdn/PHRX37GL.js +0 -4
  669. package/dist/cdn/PRGLDAAF.js +0 -4
  670. package/dist/cdn/Q4366DLL.js +0 -18
  671. package/dist/cdn/Q4366DLL.js.LEGAL.txt +0 -3
  672. package/dist/cdn/Q4KIQYU7.js +0 -4
  673. package/dist/cdn/Q7UEJVBO.js +0 -4
  674. package/dist/cdn/QJLYBT43.js +0 -4
  675. package/dist/cdn/QPVCT46N.js +0 -4
  676. package/dist/cdn/QTX5AWKY.js +0 -6
  677. package/dist/cdn/QTX5AWKY.js.LEGAL.txt +0 -145
  678. package/dist/cdn/R22Y543P.js +0 -18
  679. package/dist/cdn/R22Y543P.js.LEGAL.txt +0 -3
  680. package/dist/cdn/R3N73BWH.js +0 -4
  681. package/dist/cdn/R45VSIPD.js +0 -4
  682. package/dist/cdn/R6YADSJG.js +0 -19
  683. package/dist/cdn/R6YADSJG.js.LEGAL.txt +0 -3
  684. package/dist/cdn/ROEPJEQQ.js +0 -9
  685. package/dist/cdn/ROJP3BVV.js +0 -4
  686. package/dist/cdn/ROKV4HKO.js +0 -4
  687. package/dist/cdn/RRIX5A5N.js +0 -18
  688. package/dist/cdn/RRIX5A5N.js.LEGAL.txt +0 -12
  689. package/dist/cdn/S7DMVS57.js +0 -4
  690. package/dist/cdn/SJKTTY3N.js +0 -4
  691. package/dist/cdn/SK4HOTRH.js +0 -4
  692. package/dist/cdn/SLDVKLZQ.js +0 -18
  693. package/dist/cdn/SLDVKLZQ.js.LEGAL.txt +0 -3
  694. package/dist/cdn/SWZWQRLB.js +0 -4
  695. package/dist/cdn/SXYVFJKU.js +0 -18
  696. package/dist/cdn/SXYVFJKU.js.LEGAL.txt +0 -3
  697. package/dist/cdn/SZIWG7IM.js +0 -4
  698. package/dist/cdn/T7GZUTHH.js +0 -4
  699. package/dist/cdn/TA4GSV32.js +0 -4
  700. package/dist/cdn/TFRZL4EC.js +0 -18
  701. package/dist/cdn/TFRZL4EC.js.LEGAL.txt +0 -3
  702. package/dist/cdn/TJ2UJ5M2.js +0 -369
  703. package/dist/cdn/TJNPKXSI.js +0 -6
  704. package/dist/cdn/TMAKEW62.js +0 -4
  705. package/dist/cdn/TPFUNAZK.js +0 -4
  706. package/dist/cdn/TQKSLOZN.js +0 -4
  707. package/dist/cdn/TRB4RXO2.js +0 -4
  708. package/dist/cdn/TRSIPJC6.js +0 -4
  709. package/dist/cdn/TVPK2MIP.js +0 -4
  710. package/dist/cdn/TXHJL574.js +0 -4
  711. package/dist/cdn/TXHJL574.js.LEGAL.txt +0 -3
  712. package/dist/cdn/UE7MRJTV.js +0 -4
  713. package/dist/cdn/UFY6HRGR.js +0 -18
  714. package/dist/cdn/UFY6HRGR.js.LEGAL.txt +0 -3
  715. package/dist/cdn/UH7XUBQU.js +0 -4
  716. package/dist/cdn/UVJAK4O2.js +0 -4
  717. package/dist/cdn/VDJARONJ.js +0 -4
  718. package/dist/cdn/VDQ3CIF6.js +0 -4
  719. package/dist/cdn/VO7XJBPW.js +0 -4
  720. package/dist/cdn/VPBJWSZ5.js +0 -4
  721. package/dist/cdn/VS4MDZ35.js +0 -4
  722. package/dist/cdn/VVDJCZMW.js +0 -4
  723. package/dist/cdn/VW7MOUFV.js +0 -9
  724. package/dist/cdn/VZ2W4YKN.js +0 -4
  725. package/dist/cdn/W3AKQ2QN.js +0 -4
  726. package/dist/cdn/W5LVWH37.js +0 -18
  727. package/dist/cdn/W5LVWH37.js.LEGAL.txt +0 -3
  728. package/dist/cdn/W76TCV4C.js +0 -4
  729. package/dist/cdn/WEKUO2VU.js +0 -18
  730. package/dist/cdn/WEKUO2VU.js.LEGAL.txt +0 -3
  731. package/dist/cdn/WGCV6GTL.js +0 -18
  732. package/dist/cdn/WGCV6GTL.js.LEGAL.txt +0 -3
  733. package/dist/cdn/WH474D65.js +0 -4
  734. package/dist/cdn/WIIRZMUB.js +0 -4
  735. package/dist/cdn/WKFO2RUX.js +0 -4
  736. package/dist/cdn/WKHWO7PP.js +0 -4
  737. package/dist/cdn/WKKTZWYF.js +0 -4
  738. package/dist/cdn/WLS6FMCQ.js +0 -4
  739. package/dist/cdn/WLS6FMCQ.js.LEGAL.txt +0 -19
  740. package/dist/cdn/WP5XQ4DT.js +0 -4
  741. package/dist/cdn/WSBY7R3N.js +0 -18
  742. package/dist/cdn/WSBY7R3N.js.LEGAL.txt +0 -3
  743. package/dist/cdn/WSFOZXFE.js +0 -4
  744. package/dist/cdn/WSFOZXFE.js.LEGAL.txt +0 -19
  745. package/dist/cdn/WVOU6WZB.js +0 -4
  746. package/dist/cdn/WWOWRJ32.js +0 -4
  747. package/dist/cdn/WYPYO2VQ.js +0 -4
  748. package/dist/cdn/WYPYO2VQ.js.LEGAL.txt +0 -19
  749. package/dist/cdn/WZ5FDMXT.js +0 -18
  750. package/dist/cdn/WZ5FDMXT.js.LEGAL.txt +0 -3
  751. package/dist/cdn/X2XCOBZY.js +0 -4
  752. package/dist/cdn/XCPRA7LM.js +0 -18
  753. package/dist/cdn/XCPRA7LM.js.LEGAL.txt +0 -3
  754. package/dist/cdn/XEMUI366.js +0 -4
  755. package/dist/cdn/XHMJBPMV.js +0 -4
  756. package/dist/cdn/XIYFBERJ.js +0 -4
  757. package/dist/cdn/XJWRTXYA.js +0 -4
  758. package/dist/cdn/XKL7ITR5.js +0 -4
  759. package/dist/cdn/XQBASMJ4.js +0 -4
  760. package/dist/cdn/XRGC4MMG.js +0 -4
  761. package/dist/cdn/XUZO7LAS.js +0 -4
  762. package/dist/cdn/YAR2GV2A.js +0 -18
  763. package/dist/cdn/YAR2GV2A.js.LEGAL.txt +0 -3
  764. package/dist/cdn/YDQQI3ML.js +0 -18
  765. package/dist/cdn/YDQQI3ML.js.LEGAL.txt +0 -3
  766. package/dist/cdn/YE6E2BT6.js +0 -4
  767. package/dist/cdn/YKIB4GYY.js +0 -4
  768. package/dist/cdn/YOUSAPL3.js +0 -4
  769. package/dist/cdn/YTHBJD3I.js +0 -4
  770. package/dist/cdn/YUAX7YM4.js +0 -4
  771. package/dist/cdn/Z5PZ6FMA.js +0 -18
  772. package/dist/cdn/Z5PZ6FMA.js.LEGAL.txt +0 -3
  773. package/dist/cdn/Z6MQY432.js +0 -4
  774. package/dist/cdn/Z6WH4RBZ.js +0 -4
  775. package/dist/cdn/ZB7B53HR.js +0 -4
  776. package/dist/cdn/ZGAAVSNN.js +0 -4
  777. package/dist/cdn/ZIGKETIQ.js +0 -4
  778. package/dist/cdn/ZML4232C.js +0 -4
  779. package/dist/cdn/ZOQYNMEP.js +0 -18
  780. package/dist/cdn/ZOQYNMEP.js.LEGAL.txt +0 -3
  781. package/dist/cdn/ZU4TTJP2.js +0 -4
  782. package/dist/cdn/ZU4TTJP2.js.LEGAL.txt +0 -19
  783. package/dist/cdn/ZVQFWNID.js +0 -4
  784. package/dist/cdn/ZW5YO4DP.js +0 -4
  785. package/dist/cdn/ZZH5J3U4.js +0 -4
  786. package/dist/cdn/ZZOCSPXM.js +0 -4
  787. /package/dist/cdn/{22766OH7.js.LEGAL.txt → 2627OC35.js.LEGAL.txt} +0 -0
  788. /package/dist/cdn/{232TPVWZ.js.LEGAL.txt → 2DEOX2UQ.js.LEGAL.txt} +0 -0
  789. /package/dist/cdn/{26KK2VF2.js.LEGAL.txt → 2LLKAVTV.js.LEGAL.txt} +0 -0
  790. /package/dist/cdn/{26STIPX4.js.LEGAL.txt → 2WYQDE5Z.js.LEGAL.txt} +0 -0
  791. /package/dist/cdn/{2BB5DIBK.js.LEGAL.txt → 2XJGOOBG.js.LEGAL.txt} +0 -0
  792. /package/dist/cdn/{2BKHL2W2.js.LEGAL.txt → 34WBNSBV.js.LEGAL.txt} +0 -0
  793. /package/dist/cdn/{2KH5COX3.js.LEGAL.txt → 35NYD4WF.js.LEGAL.txt} +0 -0
  794. /package/dist/cdn/{2LCKJUCI.js.LEGAL.txt → 3DKHAYTM.js.LEGAL.txt} +0 -0
  795. /package/dist/cdn/{2OUZZH5F.js.LEGAL.txt → 3DYBNNJG.js.LEGAL.txt} +0 -0
  796. /package/dist/cdn/{2QU3HOZH.js.LEGAL.txt → 3FL6VQP4.js.LEGAL.txt} +0 -0
  797. /package/dist/cdn/{2TRYHNAQ.js.LEGAL.txt → 3GN3HS2Z.js.LEGAL.txt} +0 -0
  798. /package/dist/cdn/{2XYGKVMI.js.LEGAL.txt → 3I7ZK5FK.js.LEGAL.txt} +0 -0
  799. /package/dist/cdn/{34DVI6WH.js.LEGAL.txt → 3L5P4SFV.js.LEGAL.txt} +0 -0
  800. /package/dist/cdn/{3YD5KBWQ.js.LEGAL.txt → 3UJWEKFN.js.LEGAL.txt} +0 -0
  801. /package/dist/cdn/{3ZSWLY6T.js.LEGAL.txt → 3VIB765B.js.LEGAL.txt} +0 -0
  802. /package/dist/cdn/{43SAG5RR.js.LEGAL.txt → 3XPDS33A.js.LEGAL.txt} +0 -0
  803. /package/dist/cdn/{44UGS6U3.js.LEGAL.txt → 4BUCDYBI.js.LEGAL.txt} +0 -0
  804. /package/dist/cdn/{46TJPKNY.js.LEGAL.txt → 4O2I2MFG.js.LEGAL.txt} +0 -0
  805. /package/dist/cdn/{4BFOGSD7.js.LEGAL.txt → 4PKH3ZTA.js.LEGAL.txt} +0 -0
  806. /package/dist/cdn/{5DMLAY7O.js.LEGAL.txt → 4R7NGALL.js.LEGAL.txt} +0 -0
  807. /package/dist/cdn/{5K4R3YLU.js.LEGAL.txt → 4S47NFM3.js.LEGAL.txt} +0 -0
  808. /package/dist/cdn/{5PHGREB2.js.LEGAL.txt → 4UUPLRGU.js.LEGAL.txt} +0 -0
  809. /package/dist/cdn/{5VVMS46I.js.LEGAL.txt → 4YQFQUCZ.js.LEGAL.txt} +0 -0
  810. /package/dist/cdn/{5YI5R2WO.js.LEGAL.txt → 54TTZEMV.js.LEGAL.txt} +0 -0
  811. /package/dist/cdn/{6DHIQIEH.js.LEGAL.txt → 5AG7YD7Y.js.LEGAL.txt} +0 -0
  812. /package/dist/cdn/{TJNPKXSI.js.LEGAL.txt → 5BRHUPJQ.js.LEGAL.txt} +0 -0
  813. /package/dist/cdn/{6FVY7QMN.js.LEGAL.txt → 5COTKFBX.js.LEGAL.txt} +0 -0
  814. /package/dist/cdn/{6GYUNHDH.js.LEGAL.txt → 5F5ZEU66.js.LEGAL.txt} +0 -0
  815. /package/dist/cdn/{6K2PA3FB.js.LEGAL.txt → 5FKQTJXQ.js.LEGAL.txt} +0 -0
  816. /package/dist/cdn/{6PKXXMG2.js.LEGAL.txt → 5KCRA4JF.js.LEGAL.txt} +0 -0
  817. /package/dist/cdn/{6ZRQCBMV.js.LEGAL.txt → 5NCAUJ2M.js.LEGAL.txt} +0 -0
  818. /package/dist/cdn/{72S7VOBU.js.LEGAL.txt → 5OIPGQLN.js.LEGAL.txt} +0 -0
  819. /package/dist/cdn/{73BC7MBM.js.LEGAL.txt → 5YGFEQJH.js.LEGAL.txt} +0 -0
  820. /package/dist/cdn/{76ZHXQ5P.js.LEGAL.txt → 62C7U5GV.js.LEGAL.txt} +0 -0
  821. /package/dist/cdn/{7C54RIKB.js.LEGAL.txt → 63OERAOC.js.LEGAL.txt} +0 -0
  822. /package/dist/cdn/{7LZMV6CE.js.LEGAL.txt → 667HEELR.js.LEGAL.txt} +0 -0
  823. /package/dist/cdn/{7N54X5AD.js.LEGAL.txt → 66AONU3N.js.LEGAL.txt} +0 -0
  824. /package/dist/cdn/{7WQQZZLP.js.LEGAL.txt → 6LPZ6BWV.js.LEGAL.txt} +0 -0
  825. /package/dist/cdn/{7ZIZFBYY.js.LEGAL.txt → 6WN23BQU.js.LEGAL.txt} +0 -0
  826. /package/dist/cdn/{A53RY67S.js.LEGAL.txt → 7NQT5MYQ.js.LEGAL.txt} +0 -0
  827. /package/dist/cdn/{AA7ZOXAH.js.LEGAL.txt → 7PENT2WI.js.LEGAL.txt} +0 -0
  828. /package/dist/cdn/{AAHUJR53.js.LEGAL.txt → 7PXLNWUW.js.LEGAL.txt} +0 -0
  829. /package/dist/cdn/{AO7ARCIR.js.LEGAL.txt → 7W774KKR.js.LEGAL.txt} +0 -0
  830. /package/dist/cdn/{AUYGSPKE.js.LEGAL.txt → A7LA5V6P.js.LEGAL.txt} +0 -0
  831. /package/dist/cdn/{AWZIS4B2.js.LEGAL.txt → ALIYBPUW.js.LEGAL.txt} +0 -0
  832. /package/dist/cdn/{B4AN7EIK.js.LEGAL.txt → ALZYWZZK.js.LEGAL.txt} +0 -0
  833. /package/dist/cdn/{BJM5URMJ.js.LEGAL.txt → ARRKQ2WZ.js.LEGAL.txt} +0 -0
  834. /package/dist/cdn/{CTTMT6VX.js.LEGAL.txt → AVVACE2H.js.LEGAL.txt} +0 -0
  835. /package/dist/cdn/{BTD3APL7.js.LEGAL.txt → B6D4QBVH.js.LEGAL.txt} +0 -0
  836. /package/dist/cdn/{BXEUPCWA.js.LEGAL.txt → BB7AEZC2.js.LEGAL.txt} +0 -0
  837. /package/dist/cdn/{CEWTTZUS.js.LEGAL.txt → BBIZPRBD.js.LEGAL.txt} +0 -0
  838. /package/dist/cdn/{CK6YOFSG.js.LEGAL.txt → BCVI5VVW.js.LEGAL.txt} +0 -0
  839. /package/dist/cdn/{CMF6LDBR.js.LEGAL.txt → C7FMD3GO.js.LEGAL.txt} +0 -0
  840. /package/dist/cdn/{D7RN32CF.js.LEGAL.txt → CPHOXIAS.js.LEGAL.txt} +0 -0
  841. /package/dist/cdn/{DNP7Z6AL.js.LEGAL.txt → CRQPKJYN.js.LEGAL.txt} +0 -0
  842. /package/dist/cdn/{DUGXKEJO.js.LEGAL.txt → CVYUV5YV.js.LEGAL.txt} +0 -0
  843. /package/dist/cdn/{EEGULFK4.js.LEGAL.txt → D2T5W4MH.js.LEGAL.txt} +0 -0
  844. /package/dist/cdn/{ESF5DKBG.js.LEGAL.txt → D7MB5F4I.js.LEGAL.txt} +0 -0
  845. /package/dist/cdn/{EVNN74SW.js.LEGAL.txt → DKCZUP4C.js.LEGAL.txt} +0 -0
  846. /package/dist/cdn/{ZML4232C.js.LEGAL.txt → DKOI4TMS.js.LEGAL.txt} +0 -0
  847. /package/dist/cdn/{EVZVFSLL.js.LEGAL.txt → DNQVWK3Q.js.LEGAL.txt} +0 -0
  848. /package/dist/cdn/{EXT55FWG.js.LEGAL.txt → DRYWVFXX.js.LEGAL.txt} +0 -0
  849. /package/dist/cdn/{FB5ZHS5O.js.LEGAL.txt → E575ADYG.js.LEGAL.txt} +0 -0
  850. /package/dist/cdn/{FBOWYGQD.js.LEGAL.txt → E6BIPFS4.js.LEGAL.txt} +0 -0
  851. /package/dist/cdn/{FSHN7NRE.js.LEGAL.txt → EBSZD5UZ.js.LEGAL.txt} +0 -0
  852. /package/dist/cdn/{GBSVVPRB.js.LEGAL.txt → EDEOV7AB.js.LEGAL.txt} +0 -0
  853. /package/dist/cdn/{GHBRSRHR.js.LEGAL.txt → EFG5WHVI.js.LEGAL.txt} +0 -0
  854. /package/dist/cdn/{GHCYH4VO.js.LEGAL.txt → EH3TUCW5.js.LEGAL.txt} +0 -0
  855. /package/dist/cdn/{GHW5LEGA.js.LEGAL.txt → EN657RIR.js.LEGAL.txt} +0 -0
  856. /package/dist/cdn/{GKBSDRDK.js.LEGAL.txt → EQRWAUHH.js.LEGAL.txt} +0 -0
  857. /package/dist/cdn/{GKDOBPIL.js.LEGAL.txt → FJ6RRUAZ.js.LEGAL.txt} +0 -0
  858. /package/dist/cdn/{GLZYDVD7.js.LEGAL.txt → FR5AUKJH.js.LEGAL.txt} +0 -0
  859. /package/dist/cdn/{GMNLGPRE.js.LEGAL.txt → FSFU2N3B.js.LEGAL.txt} +0 -0
  860. /package/dist/cdn/{GSK6MI4V.js.LEGAL.txt → FVCUT5BD.js.LEGAL.txt} +0 -0
  861. /package/dist/cdn/{GTB46XNN.js.LEGAL.txt → GGA2BKBI.js.LEGAL.txt} +0 -0
  862. /package/dist/cdn/{HAGG3RYD.js.LEGAL.txt → GV6574C7.js.LEGAL.txt} +0 -0
  863. /package/dist/cdn/{HCELP62U.js.LEGAL.txt → GYTWI2N3.js.LEGAL.txt} +0 -0
  864. /package/dist/cdn/{HK5IZI5Z.js.LEGAL.txt → HEEO2XNR.js.LEGAL.txt} +0 -0
  865. /package/dist/cdn/{JHGPYLWD.js.LEGAL.txt → HNJ5GPBM.js.LEGAL.txt} +0 -0
  866. /package/dist/cdn/{HKE2Q7CZ.js.LEGAL.txt → HQVT5GIH.js.LEGAL.txt} +0 -0
  867. /package/dist/cdn/{HSTIKC26.js.LEGAL.txt → HRY2AWQR.js.LEGAL.txt} +0 -0
  868. /package/dist/cdn/{HYDYMELB.js.LEGAL.txt → IERS74VR.js.LEGAL.txt} +0 -0
  869. /package/dist/cdn/{HYVHA4FY.js.LEGAL.txt → IIFJMCMO.js.LEGAL.txt} +0 -0
  870. /package/dist/cdn/{IC3ZV4NO.js.LEGAL.txt → IMLKKE2U.js.LEGAL.txt} +0 -0
  871. /package/dist/cdn/{ICR52UL7.js.LEGAL.txt → ISCLBHEK.js.LEGAL.txt} +0 -0
  872. /package/dist/cdn/{IDWOAEMD.js.LEGAL.txt → IV5VX3CU.js.LEGAL.txt} +0 -0
  873. /package/dist/cdn/{IJ74774M.js.LEGAL.txt → JHQ47NZN.js.LEGAL.txt} +0 -0
  874. /package/dist/cdn/{IRPEFZSQ.js.LEGAL.txt → JI5JTAYE.js.LEGAL.txt} +0 -0
  875. /package/dist/cdn/{IXTE7FV7.js.LEGAL.txt → JJ5LIG3E.js.LEGAL.txt} +0 -0
  876. /package/dist/cdn/{JSLAGZEI.js.LEGAL.txt → JQH6FWBF.js.LEGAL.txt} +0 -0
  877. /package/dist/cdn/{WH474D65.js.LEGAL.txt → JRNC7PCQ.js.LEGAL.txt} +0 -0
  878. /package/dist/cdn/{JX6PKGNK.js.LEGAL.txt → JS3KPL65.js.LEGAL.txt} +0 -0
  879. /package/dist/cdn/{K2AEW6QQ.js.LEGAL.txt → JYHXLAK7.js.LEGAL.txt} +0 -0
  880. /package/dist/cdn/{KCQN2FTO.js.LEGAL.txt → K5U2KIKJ.js.LEGAL.txt} +0 -0
  881. /package/dist/cdn/{G7MUJYUQ.js.LEGAL.txt → KAHTIZBX.js.LEGAL.txt} +0 -0
  882. /package/dist/cdn/{KQRA5TYU.js.LEGAL.txt → KFIMM3IL.js.LEGAL.txt} +0 -0
  883. /package/dist/cdn/{KSLUWU76.js.LEGAL.txt → KHUKO76X.js.LEGAL.txt} +0 -0
  884. /package/dist/cdn/{KSMY6KVH.js.LEGAL.txt → KPKZMEKZ.js.LEGAL.txt} +0 -0
  885. /package/dist/cdn/{KZN3RUJK.js.LEGAL.txt → KPPOT7GR.js.LEGAL.txt} +0 -0
  886. /package/dist/cdn/{L6KLN34F.js.LEGAL.txt → LA4ADRHN.js.LEGAL.txt} +0 -0
  887. /package/dist/cdn/{LD4NPNXI.js.LEGAL.txt → LAEMDHMW.js.LEGAL.txt} +0 -0
  888. /package/dist/cdn/{LEPGK4UW.js.LEGAL.txt → LDSB3ZAB.js.LEGAL.txt} +0 -0
  889. /package/dist/cdn/{LEUE4A7G.js.LEGAL.txt → LGYRQXSU.js.LEGAL.txt} +0 -0
  890. /package/dist/cdn/{LV2TLK37.js.LEGAL.txt → LOCRYUB5.js.LEGAL.txt} +0 -0
  891. /package/dist/cdn/{MC52CZ2B.js.LEGAL.txt → LQVQ5SYL.js.LEGAL.txt} +0 -0
  892. /package/dist/cdn/{MK7XBGW3.js.LEGAL.txt → LQYOJKKM.js.LEGAL.txt} +0 -0
  893. /package/dist/cdn/{MKAKSQW7.js.LEGAL.txt → M4YVWMXK.js.LEGAL.txt} +0 -0
  894. /package/dist/cdn/{MKHMLHY3.js.LEGAL.txt → M6OKQSGJ.js.LEGAL.txt} +0 -0
  895. /package/dist/cdn/{MMEXN3JJ.js.LEGAL.txt → MLWHYPW3.js.LEGAL.txt} +0 -0
  896. /package/dist/cdn/{MSYDEBQH.js.LEGAL.txt → MMGJL263.js.LEGAL.txt} +0 -0
  897. /package/dist/cdn/{MWFRMEVF.js.LEGAL.txt → NA5LJZU7.js.LEGAL.txt} +0 -0
  898. /package/dist/cdn/{N3OGD5JL.js.LEGAL.txt → NAJHCCFK.js.LEGAL.txt} +0 -0
  899. /package/dist/cdn/{NSDF5N7C.js.LEGAL.txt → NDRFJNB5.js.LEGAL.txt} +0 -0
  900. /package/dist/cdn/{COO74PLS.js.LEGAL.txt → NHOULH2W.js.LEGAL.txt} +0 -0
  901. /package/dist/cdn/{NTX6LIB3.js.LEGAL.txt → NI6VUXXY.js.LEGAL.txt} +0 -0
  902. /package/dist/cdn/{O3WLWBNP.js.LEGAL.txt → NMC4BPV4.js.LEGAL.txt} +0 -0
  903. /package/dist/cdn/{42NO2VM2.js.LEGAL.txt → NOAVPB5F.js.LEGAL.txt} +0 -0
  904. /package/dist/cdn/{O4VZYHOJ.js.LEGAL.txt → NQTVJEQJ.js.LEGAL.txt} +0 -0
  905. /package/dist/cdn/{O5IREWKJ.js.LEGAL.txt → OHSYSDBJ.js.LEGAL.txt} +0 -0
  906. /package/dist/cdn/{O6BV4GPQ.js.LEGAL.txt → OJMZUZGG.js.LEGAL.txt} +0 -0
  907. /package/dist/cdn/{OTMBUW5V.js.LEGAL.txt → OSJ4PK7V.js.LEGAL.txt} +0 -0
  908. /package/dist/cdn/{P5VRMQGO.js.LEGAL.txt → OZZ6AIHM.js.LEGAL.txt} +0 -0
  909. /package/dist/cdn/{PADMJS2B.js.LEGAL.txt → PE2NGOSN.js.LEGAL.txt} +0 -0
  910. /package/dist/cdn/{PFBJJBFN.js.LEGAL.txt → PFPXYDRH.js.LEGAL.txt} +0 -0
  911. /package/dist/cdn/{PHRX37GL.js.LEGAL.txt → PIBX77IR.js.LEGAL.txt} +0 -0
  912. /package/dist/cdn/{322K3SOO.js.LEGAL.txt → PKQMLT3F.js.LEGAL.txt} +0 -0
  913. /package/dist/cdn/{Q4KIQYU7.js.LEGAL.txt → PLPFPFMS.js.LEGAL.txt} +0 -0
  914. /package/dist/cdn/{Q7UEJVBO.js.LEGAL.txt → PYOZY3AA.js.LEGAL.txt} +0 -0
  915. /package/dist/cdn/{QJLYBT43.js.LEGAL.txt → Q46U6YLX.js.LEGAL.txt} +0 -0
  916. /package/dist/cdn/{QPVCT46N.js.LEGAL.txt → Q4QJIANV.js.LEGAL.txt} +0 -0
  917. /package/dist/cdn/{R3N73BWH.js.LEGAL.txt → Q4YN3UWN.js.LEGAL.txt} +0 -0
  918. /package/dist/cdn/{R45VSIPD.js.LEGAL.txt → QAOKFIMA.js.LEGAL.txt} +0 -0
  919. /package/dist/cdn/{ROEPJEQQ.js.LEGAL.txt → QAV3ZXVX.js.LEGAL.txt} +0 -0
  920. /package/dist/cdn/{ROJP3BVV.js.LEGAL.txt → QI7CAGDL.js.LEGAL.txt} +0 -0
  921. /package/dist/cdn/{ROKV4HKO.js.LEGAL.txt → QJI4YPT2.js.LEGAL.txt} +0 -0
  922. /package/dist/cdn/{S7DMVS57.js.LEGAL.txt → QNEZFCY7.js.LEGAL.txt} +0 -0
  923. /package/dist/cdn/{SJKTTY3N.js.LEGAL.txt → QSK26NIR.js.LEGAL.txt} +0 -0
  924. /package/dist/cdn/{SK4HOTRH.js.LEGAL.txt → R6JBLWE7.js.LEGAL.txt} +0 -0
  925. /package/dist/cdn/{SWZWQRLB.js.LEGAL.txt → RBTSB7LW.js.LEGAL.txt} +0 -0
  926. /package/dist/cdn/{SZIWG7IM.js.LEGAL.txt → RCBI5D2Z.js.LEGAL.txt} +0 -0
  927. /package/dist/cdn/{T7GZUTHH.js.LEGAL.txt → RCNFZSA5.js.LEGAL.txt} +0 -0
  928. /package/dist/cdn/{TA4GSV32.js.LEGAL.txt → RFBZVECY.js.LEGAL.txt} +0 -0
  929. /package/dist/cdn/{TJ2UJ5M2.js.LEGAL.txt → RU7VN5YX.js.LEGAL.txt} +0 -0
  930. /package/dist/cdn/{TMAKEW62.js.LEGAL.txt → RUH56R7L.js.LEGAL.txt} +0 -0
  931. /package/dist/cdn/{TPFUNAZK.js.LEGAL.txt → RYMHJ7M6.js.LEGAL.txt} +0 -0
  932. /package/dist/cdn/{TQKSLOZN.js.LEGAL.txt → RYWPGCGZ.js.LEGAL.txt} +0 -0
  933. /package/dist/cdn/{TRB4RXO2.js.LEGAL.txt → SALTFRJ5.js.LEGAL.txt} +0 -0
  934. /package/dist/cdn/{TRSIPJC6.js.LEGAL.txt → SBPJJXZK.js.LEGAL.txt} +0 -0
  935. /package/dist/cdn/{TVPK2MIP.js.LEGAL.txt → SDVEOIP6.js.LEGAL.txt} +0 -0
  936. /package/dist/cdn/{UE7MRJTV.js.LEGAL.txt → SFN7KXBC.js.LEGAL.txt} +0 -0
  937. /package/dist/cdn/{UH7XUBQU.js.LEGAL.txt → SHSCJK7K.js.LEGAL.txt} +0 -0
  938. /package/dist/cdn/{UVJAK4O2.js.LEGAL.txt → TA7QL4YX.js.LEGAL.txt} +0 -0
  939. /package/dist/cdn/{VDJARONJ.js.LEGAL.txt → TN4SBIJW.js.LEGAL.txt} +0 -0
  940. /package/dist/cdn/{VDQ3CIF6.js.LEGAL.txt → TXARZDSW.js.LEGAL.txt} +0 -0
  941. /package/dist/cdn/{VO7XJBPW.js.LEGAL.txt → TYLRSAPF.js.LEGAL.txt} +0 -0
  942. /package/dist/cdn/{VPBJWSZ5.js.LEGAL.txt → U2NFHP5I.js.LEGAL.txt} +0 -0
  943. /package/dist/cdn/{VS4MDZ35.js.LEGAL.txt → UBKKMKS7.js.LEGAL.txt} +0 -0
  944. /package/dist/cdn/{VVDJCZMW.js.LEGAL.txt → URSDOYPK.js.LEGAL.txt} +0 -0
  945. /package/dist/cdn/{VW7MOUFV.js.LEGAL.txt → UTX33TLK.js.LEGAL.txt} +0 -0
  946. /package/dist/cdn/{PRGLDAAF.js.LEGAL.txt → UWLZA6RY.js.LEGAL.txt} +0 -0
  947. /package/dist/cdn/{VZ2W4YKN.js.LEGAL.txt → UX2H3Z6R.js.LEGAL.txt} +0 -0
  948. /package/dist/cdn/{W3AKQ2QN.js.LEGAL.txt → UZVXLXYQ.js.LEGAL.txt} +0 -0
  949. /package/dist/cdn/{W76TCV4C.js.LEGAL.txt → VGD2IUHD.js.LEGAL.txt} +0 -0
  950. /package/dist/cdn/{GG27ACFI.js.LEGAL.txt → VIFOVT2H.js.LEGAL.txt} +0 -0
  951. /package/dist/cdn/{WIIRZMUB.js.LEGAL.txt → VZMHIBV5.js.LEGAL.txt} +0 -0
  952. /package/dist/cdn/{WKFO2RUX.js.LEGAL.txt → W7PI4HOW.js.LEGAL.txt} +0 -0
  953. /package/dist/cdn/{WKHWO7PP.js.LEGAL.txt → WHIJZGSO.js.LEGAL.txt} +0 -0
  954. /package/dist/cdn/{WKKTZWYF.js.LEGAL.txt → WVFYDL3N.js.LEGAL.txt} +0 -0
  955. /package/dist/cdn/{WP5XQ4DT.js.LEGAL.txt → WXBPYKCV.js.LEGAL.txt} +0 -0
  956. /package/dist/cdn/{WVOU6WZB.js.LEGAL.txt → WYNYF36Y.js.LEGAL.txt} +0 -0
  957. /package/dist/cdn/{WWOWRJ32.js.LEGAL.txt → X7OXK5DE.js.LEGAL.txt} +0 -0
  958. /package/dist/cdn/{X2XCOBZY.js.LEGAL.txt → XA4WRYB3.js.LEGAL.txt} +0 -0
  959. /package/dist/cdn/{XEMUI366.js.LEGAL.txt → XAP7KYLB.js.LEGAL.txt} +0 -0
  960. /package/dist/cdn/{XHMJBPMV.js.LEGAL.txt → XBJF7MJ6.js.LEGAL.txt} +0 -0
  961. /package/dist/cdn/{XIYFBERJ.js.LEGAL.txt → XDTQLWOL.js.LEGAL.txt} +0 -0
  962. /package/dist/cdn/{XJWRTXYA.js.LEGAL.txt → XGRMPRIT.js.LEGAL.txt} +0 -0
  963. /package/dist/cdn/{XKL7ITR5.js.LEGAL.txt → XPPFPOAJ.js.LEGAL.txt} +0 -0
  964. /package/dist/cdn/{XQBASMJ4.js.LEGAL.txt → XRSL7RGR.js.LEGAL.txt} +0 -0
  965. /package/dist/cdn/{XRGC4MMG.js.LEGAL.txt → Y5QLVYUJ.js.LEGAL.txt} +0 -0
  966. /package/dist/cdn/{XUZO7LAS.js.LEGAL.txt → YBHXQHED.js.LEGAL.txt} +0 -0
  967. /package/dist/cdn/{YE6E2BT6.js.LEGAL.txt → YFDRQUEW.js.LEGAL.txt} +0 -0
  968. /package/dist/cdn/{YKIB4GYY.js.LEGAL.txt → YH55Y5MP.js.LEGAL.txt} +0 -0
  969. /package/dist/cdn/{YOUSAPL3.js.LEGAL.txt → YHUDJET2.js.LEGAL.txt} +0 -0
  970. /package/dist/cdn/{YTHBJD3I.js.LEGAL.txt → YLWTVGEO.js.LEGAL.txt} +0 -0
  971. /package/dist/cdn/{YUAX7YM4.js.LEGAL.txt → YOLXA6ZY.js.LEGAL.txt} +0 -0
  972. /package/dist/cdn/{Z6MQY432.js.LEGAL.txt → YPMMBOZ4.js.LEGAL.txt} +0 -0
  973. /package/dist/cdn/{Z6WH4RBZ.js.LEGAL.txt → YQDNVPGZ.js.LEGAL.txt} +0 -0
  974. /package/dist/cdn/{ZB7B53HR.js.LEGAL.txt → YZMHYMNZ.js.LEGAL.txt} +0 -0
  975. /package/dist/cdn/{ZGAAVSNN.js.LEGAL.txt → ZIIYJYM3.js.LEGAL.txt} +0 -0
  976. /package/dist/cdn/{ZIGKETIQ.js.LEGAL.txt → ZJR4525B.js.LEGAL.txt} +0 -0
  977. /package/dist/cdn/{ZVQFWNID.js.LEGAL.txt → ZKUTSUQ5.js.LEGAL.txt} +0 -0
  978. /package/dist/cdn/{ZW5YO4DP.js.LEGAL.txt → ZLSEU37X.js.LEGAL.txt} +0 -0
  979. /package/dist/cdn/{ZZH5J3U4.js.LEGAL.txt → ZSBOSR2Q.js.LEGAL.txt} +0 -0
  980. /package/dist/cdn/{ZZOCSPXM.js.LEGAL.txt → ZWWF36B7.js.LEGAL.txt} +0 -0
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as h}from"./6EQSCBDC.js";import{B as p,c as a,d as l,f as c,n,w as d}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var u=a`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}.padding-start-1{padding-inline-start:1rem}.border-override{--calcite-accordion-border-color: var(--calcite-color-border-1) !important}.display-flex{display:flex}.align-center{align-items:center}.solution-list-item-label{color:var(--calcite-color-text-1);font-size:var(--calcite-font-size--1)}.solution-list-item-label,.solution-list-item-description{font-family:var(--calcite-font-family);font-weight:var(--calcite-font-weight-normal);overflow-wrap:break-word;word-break:break-word}.solution-list-item-description{font-size:var(--calcite-font-size--2);margin-block-start:.125rem;color:var(--calcite-color-text-3)}.solution-list-item-content{display:flex;flex:1 1 auto;flex-direction:column;justify-content:center;line-height:1.375}`,r=class extends d{constructor(){super(...arguments),this.listSelectionMode="none",this.templateInfos=[],this._sortedTemplateInfos=[],this._translations=h({name:"solution-item-accordion",blocking:!0}),this._sortOrder=["Hub Site Application","Hub Page","Web Experience","Instant App","Web Mapping Application","Dashboard","StoryMap","Form","QuickCapture Project","Workflow","Big Data Analytic (hosted)","Real Time Analytic (hosted)","Feed (hosted)","Tool","Notebook","Data Pipeline","Project Package","Desktop Application Template","TypeNotFound","Web Map","Web Scene","Feature Layer (hosted, view)","Feature Layer (hosted)","Table (hosted, view)","Table (hosted)","Tile Layer","CSV","Microsoft Excel","Microsoft Word","Report Template","Rule Package","Group"],this.solutionItemHover=n(),this.solutionItemSelect=n(),this.solutionTypeHover=n()}static{this.properties={listSelectionMode:1,templateInfos:0,_sortedTemplateInfos:16,_translations:16}}static{this.styles=u}willUpdate(e){e.has("templateInfos")&&(this.hasUpdated||this.templateInfos?.length>0)&&this.templateInfosWatchHandler()}async templateInfosWatchHandler(){this._sortedTemplateInfos=this._sortTemplates()}async collapseAll(){this.el?.shadowRoot?.querySelectorAll("calcite-accordion-item")?.forEach(e=>{e.expanded=!1})}async deselectAll(){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(e=>{e.selected&&(e.selected=!1,(e.parentElement?.parentElement).expanded=!1)})}async selectItem(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id===e&&(t.selected=!0,(t.parentElement?.parentElement).expanded=!0)})}async load(){this._sortedTemplateInfos=this._sortTemplates()}render(){return this._getAccordion()}_deselectOthers(e){(this.listSelectionMode==="single"||this.listSelectionMode==="single-persist")&&this.el?.shadowRoot?.querySelectorAll("calcite-list-item")?.forEach(t=>{t.id!==e&&(t.selected=!1)})}_getAccordion(){let e=[],t=this._sortedTemplateInfos.reduce((i,o)=>{let s=this._getTypeForDisplay(o.type,o.typeKeywords);return e.indexOf(s)<0&&(e.push(s),i.push(this._getAccordionItem(o))),i},[]);return l`<calcite-accordion class="border-override" selection-mode=single>${t}</calcite-accordion>`}_getAccordionItem(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords),i=this._sortedTemplateInfos.filter(o=>this._getTypeForDisplay(o.type,o.typeKeywords)===t);return l`<calcite-accordion-item .description=${`${t} (${i.length})`} @mouseenter=${()=>this.solutionTypeHover.emit({itemType:t,entering:!0})} @mouseleave=${()=>this.solutionTypeHover.emit({itemType:t,entering:!1})}><solution-item-icon class="padding-start-1 display-flex align-center" slot=actions-start .type=${e.type} .typeKeywords=${e.typeKeywords}></solution-item-icon>${this._getList(i)}</calcite-accordion-item>`}_getList(e){let t=this._sortTemplatesByTitle(e);return l`<calcite-list label selection-appearance=border .selectionMode=${this.listSelectionMode}>${t.map(i=>this._getListItem(i))}</calcite-list>`}_getListItem(e){return l`<calcite-list-item id=${e.id??c} @mouseenter=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!0})} @mouseleave=${()=>this.solutionItemHover.emit({itemId:e.id,entering:!1})} @calciteListItemSelect=${()=>{this._deselectOthers(e.id),this.solutionItemSelect.emit({itemId:e.id,selected:!0})}} .value=${e.id}><div class="solution-list-item-content" slot=content><div class="solution-list-item-label">${e.title}</div><div class="solution-list-item-description">${e.snippet}</div></div>${e.url?l`<div slot=actions-end><calcite-action icon=launch .id=${`${e.id}-launch`} @click=${()=>window.open(e.url,"_blank")} text></calcite-action><calcite-tooltip overlay-positioning=fixed .referenceElement=${`${e.id}-launch`}><span>${this._translations?.openDetails}</span></calcite-tooltip></div>`:null}</calcite-list-item>`}_sortTemplatesByTitle(e){return e.sort((t,i)=>t.title<i.title?-1:t.title>i.title?1:0)}_sortTemplates(){return this.templateInfos.sort((e,t)=>{let i=this._getTypeForSort(e),o=this._getTypeForSort(t),s=this._sortOrder.indexOf(i),m=this._sortOrder.indexOf(o);return s-m})}_getTypeForSort(e){let t=this._getTypeForDisplay(e.type,e.typeKeywords);return this._sortOrder.indexOf(t)<0&&(t="TypeNotFound"),t}_getTypeForDisplay(e,t){let i=e;if(e==="Feature Service"){let o=t.indexOf("View Service")>-1,s=t.indexOf("Table")>-1;i=o&&s?"Table (hosted, view)":s?"Table (hosted)":o?"Feature Layer (hosted, view)":"Feature Layer (hosted)"}return e==="Web Mapping Application"&&(i=t.indexOf("configurableApp")>-1?"Instant App":i),i=e==="Geoprocessing Service"?"Tool":i,i=e==="Feed"?"Feed (hosted)":i,i=e==="Real Time Analytic"?"Real Time Analytic (hosted)":i,i=e==="Big Data Analytic"?"Big Data Analytic (hosted)":i,i=e==="Vector Tile Service"?"Tile Layer":i,i}};p("solution-item-accordion",r);export{r as SolutionItemAccordion};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as w}from"./PIBX77IR.js";import{e as E}from"./MLWHYPW3.js";import{B as y,C as b}from"./4S47NFM3.js";import"./Q4YN3UWN.js";import{a as F,c as l,d as C,e as x,f as m}from"./KAHTIZBX.js";import"./ZIIYJYM3.js";var L="instant-apps-filter-list calcite-mode-light",$="instant-apps-filter-list calcite-mode-dark",p=["feature","geojson","wfs","csv","scene","subtype-group","point-cloud","map-image","sublayer"];function g(e){return e.replaceAll("'","''")}function f(e,t=!1){if(e){let i=new Date(e),n=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`;if(t){let s=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`;return`${n} ${s}`}else return n}}function D(e){if(e!=null){e.value=["",""];let t=e.shadowRoot?.querySelectorAll("calcite-input");if(t!=null)for(let i of t)i.value=""}}var S=":host{display:block}.instant-apps-filter-list *{box-sizing:border-box}.instant-apps-filter-list__container{height:100%}.instant-apps-filter-list__container calcite-block:last-of-type{margin-bottom:0}.instant-apps-filter-list__footer{padding:12px;display:flex}.instant-apps-filter-list__footer calcite-button:nth-child(2){margin-left:6px}.instant-apps-filter-list__item-container,.instant-apps-filter-list__item-container--user-input{display:flex;justify-content:space-between;align-items:center}.instant-apps-filter-list__item-container:not(:last-child),.instant-apps-filter-list__item-container--user-input:not(:last-child){padding-bottom:20px}.instant-apps-filter-list__item-container--user-input{margin:0;display:flex;flex-direction:column;align-items:flex-start}.instant-apps-filter-list__item-container--user-input>span{margin:0 0 6px;font-size:14px;font-weight:normal}.instant-apps-filter-list__item-container--user-input calcite-combobox{width:100%;font-size:16px;--calcite-combobox-input-height:24px}.instant-apps-filter-list__number-input-container{width:100%;display:flex;justify-content:center}.instant-apps-filter-list__number-input-container calcite-slider{width:90%}.instant-apps-filter-list__date-picker-input-container{display:flex;align-items:center;justify-content:unset;width:100%}.instant-apps-filter-list__date-picker-input-container calcite-action{height:64px;border-top:1px solid var(--calcite-color-border-input);border-right:1px solid var(--calcite-color-border-input);border-bottom:1px solid var(--calcite-color-border-input)}.instant-apps-filter-list__title{margin-right:20px}.instant-apps-filter-list__title>p{font-size:14px;font-weight:normal;margin:0}.instant-apps-filter-list__checkbox-container{display:flex}.instant-apps-filter-list__checkbox-container calcite-checkbox{height:18px}.instant-apps-filter-list__operator-description{margin:0;--calcite-font-size--1:12px}.instant-apps-filter-list__zoom-to{display:flex;justify-content:flex-end;margin:8px 0 20px}.instant-apps-filter-list__zoom-to calcite-action{width:min-content}.instant-apps-filter-list calcite-input-date-picker{--calcite-font-size--1:16px}@media (prefers-reduced-motion){.instant-apps-filter-list calcite-loader{--calcite-internal-duration-factor:2;--calcite-internal-animation-timing-slow:calc(300ms * 2)}}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__header-container{background:#2b2b2b;color:#fff}.instant-apps-filter-list.calcite-mode-dark .instant-apps-filter-list__operator-description{background:#353535}",k=S,u={base:"instant-apps-filter-list",filterContainer:"instant-apps-filter-list__container",footer:"instant-apps-filter-list__footer",filterItemTitle:"instant-apps-filter-list__title",filterItemContainer:"instant-apps-filter-list__item-container",filterUIItemContainer:"instant-apps-filter-list__item-container--user-input",checkboxContainer:"instant-apps-filter-list__checkbox-container",numberInputContainer:"instant-apps-filter-list__number-input-container",dateInputContainer:"instant-apps-filter-list__date-picker-input-container",operatorDesc:"instant-apps-filter-list__operator-description",zoomTo:"instant-apps-filter-list__zoom-to"},I=class{constructor(e){F(this,e),this.filterListReset=m(this,"filterListReset",7),this.filterUpdate=m(this,"filterUpdate",7),this.isLayerExpUpdated=!1,this.layerExpressions=void 0,this.autoUpdateUrl=!1,this.closeBtn=!1,this.closeBtnOnClick=void 0,this.comboboxOverlayPositioning="absolute",this.closeBtnText=void 0,this.openFilters=!1,this.extentSelector=!1,this.extentSelectorConfig=void 0,this.urlParams=void 0,this.filterCount=0,this.view=void 0,this.zoomBtn=!0,this.resetBtn=!0,this.resetFiltersOnDisconnect=!0,this.loading=void 0,this.filterLayerExpressions=void 0,this.messages=void 0,this.baseClass=L,this.initDefExpressions=void 0,this.initMapImageExpressions=void 0,this.initPointCloudFilters=void 0}watchViewHandler(){this.handleWhenView()}watchLayerExpressions(){this.resetAllFilters(),this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate()}async getFilterInitState(){return await Promise.resolve({initDefExpressions:this.initDefExpressions,initMapImageExpressions:this.initMapImageExpressions,initPointCloudFilters:this.initPointCloudFilters})}async forceReset(){return this.resetExpressions(),await Promise.resolve(!0)}async updateInitDefExpressions(e){return this.initDefExpressions=e.initDefExpressions,this.initMapImageExpressions=e.initMapImageExpressions,this.initPointCloudFilters=e.initPointCloudFilters,await Promise.resolve(!0)}async getCurrentLayerExpressions(){let e=structuredClone(this.filterLayerExpressions);return await Promise.resolve(e)}async handleUpdatingT9nData(e){return e==null?await Promise.resolve(!0):(this.filterLayerExpressions?.forEach(t=>{let i=e?.find(n=>n.id===t.id);i!=null&&(t.title=i.title,t.expressions?.forEach(n=>{let s=i.expressions?.find(a=>a.id===n.id);s!=null&&(n.name=s.name)}))}),await Promise.resolve(!0))}connectedCallback(){this.layerExpressions==null&&this.view==null||(this.isLayerExpUpdated=!0,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.handleLayerExpressionsUpdate())}async componentWillLoad(){this.baseClass=w(this.el)==="dark"?$:L,await this.initializeModules(),E(this),!this.isLayerExpUpdated&&(this.isLayerExpUpdated=!0,this.filterLayerExpressions=this.layerExpressions!=null?structuredClone(this.layerExpressions):[],this.view!=null&&this.handleLayerExpressionsUpdate())}componentDidRender(){this.resetBtnEl!=null&&(this.resetBtnEl.disabled=!(this.filterLayerExpressions&&this.filterLayerExpressions.length>0))}disconnectedCallback(){this.resetFiltersOnDisconnect&&(this.isLayerExpUpdated=!1,this.filterLayerExpressions=structuredClone(this.layerExpressions),this.resetAllFilters())}async initializeModules(){let[e,t]=await Promise.all([b(),y()]);this.geometryJsonUtils=t,this.intl=e}render(){let e=this.loading?this.renderLoading():this.initFilterConfig(),t=this.renderFooter();return l(C,{key:"3db1b211528d0ebe2cc379b9dccbd59c38c2f7c4"},l("calcite-panel",{key:"e4b301eaea85bbe60ec088fbc09b261eb24037b7",class:this.baseClass,ref:i=>this.panelEl=i},l("slot",{key:"11f63da744e4256c860b7d381890b7573fd5d33c",slot:"header-content",name:"filter-header-content"}),l("slot",{key:"e3249343120aff984fed5c6cbda79330efcfc7b4",slot:"header-actions-end",name:"filter-header-actions-end"}),l("div",{key:"filter-container",class:u.filterContainer},e,t)))}renderLoading(){return l("calcite-loader",{label:"Loading filters..."})}renderFilter(e){let{id:t}=e;return e.expressions.map((i,n)=>i.type==="checkbox"||i.type==null?l("div",{key:`${t}-${n}`,class:u.filterItemContainer},l("div",{class:u.filterItemTitle},l("p",null,i.name)),l("div",{class:u.checkboxContainer},l("calcite-checkbox",{id:i.id.toString(),scale:"l",checked:i?.active,onCalciteCheckboxChange:this.handleCheckboxChange.bind(this,e,i)}))):this.initInput(e,i))}renderLayerBlock(){return this.filterLayerExpressions?.map(e=>this.renderFilterBlocks(e))}renderFilterBlocks(e){let t=this.renderFilter(e),{operator:i}=e,n=i?.trim()==="OR"?"orOperator":"andOperator",s=this.renderZoomTo(e);return l("calcite-block",{key:e.id,heading:e.title,description:this.messages?.[n],open:this.openFilters?!0:void 0,collapsible:!0},s,t)}renderCombobox(e,t){return l("label",{key:"combo-select",class:u.filterUIItemContainer},l("span",null,t.name),l("calcite-combobox",{id:t.id.toString(),onCalciteComboboxChange:this.handleComboSelect.bind(this,t,e),label:t.name,placeholder:t.placeholder,selectionMode:"multiple","max-items":"6",scale:"s",overlayPositioning:this.comboboxOverlayPositioning},t.fields?.map((i,n)=>this.renderComboboxItem(t,i,n))))}renderComboboxItem(e,t,i){let n=this.createLabel(e,t),a=e?.selectedFields?.includes(t)??!1;return l("calcite-combobox-item",{key:`${n}-${i}`,value:t,heading:`${n}`,selected:a})}initFilterConfig(){if(this.filterLayerExpressions&&this.filterLayerExpressions.length>0){if(this.filterLayerExpressions.length===1){let{operator:e}=this.filterLayerExpressions[0],t=e?.trim()==="OR"?"orOperator":"andOperator",i=this.renderZoomTo(this.filterLayerExpressions[0]);return l("calcite-block",{class:u.operatorDesc,heading:this.messages?.[t],open:!0},i,this.renderFilter(this.filterLayerExpressions[0]))}else if(this.filterLayerExpressions.length>1)return this.renderLayerBlock()}}renderNumberSlider(e,t){let i=t?.min,n=t?.max,s=t?.step?t.step:1,a=i!=null&&n!=null,r=t?.field??"",o=t?.range?.min!=null?t.range.min:i,c=t?.range?.max!=null?t.range.max:n,d=[o,c];return a?l("label",{key:t?.id.toString(),class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.numberInputContainer},l("calcite-slider",{id:t?.id.toString(),onCalciteSliderChange:this.handleSliderChange.bind(this,t,e),min:i,max:n,minValue:i,maxValue:n,minLabel:this.messages?.minSlider?.replace("{field}",r),maxLabel:this.messages?.maxSlider?.replace("{field}",r),step:s,labelHandles:!0,snap:!0,value:d,"group-separator":t?.format?.digitSeparator,precise:!0}))):void 0}renderDatePicker(e,t){let{min:i,max:n}=t,s=[t?.range?.min,t?.range?.max];return i!=null&&n!=null?l("label",{class:u.filterUIItemContainer},l("span",null,t?.name),l("div",{class:u.dateInputContainer},l("calcite-input-date-picker",{id:t?.id.toString(),onCalciteInputDatePickerChange:this.handleDatePickerRangeChange.bind(this,t,e),min:i,max:n,"overlay-positioning":"fixed",lang:this.intl?.getLocale()??"en",layout:"vertical",value:s,range:!0}),l("calcite-action",{onClick:this.handleResetDatePicker.bind(this,t,e),icon:"reset",text:this.messages?.resetDatePicker,scale:"s"}))):null}renderFooter(){let e=this.closeBtnText??this.messages?.close,t=this.closeBtn&&this.resetBtn?"half":"full";return l("div",{class:u.footer,slot:"footer"},this.resetBtn?l("calcite-button",{appearance:"outline",width:t,ref:i=>this.resetBtnEl=i,onClick:this.handleResetFilter.bind(this)},this.messages?.resetFilter):void 0,this.closeBtn?l("calcite-button",{appearance:"solid",width:t,kind:"brand",onClick:this.closeBtnOnClick?.bind(this)},e):void 0)}renderZoomTo(e){let t=e?.sublayerId?`zoom-to-${e.id}-${e.sublayerId}`:`zoom-to-${e.id}`;return this.zoomBtn?l("div",{class:u.zoomTo},l("calcite-button",{id:t,appearance:"transparent",kind:"neutral",scale:"s",iconStart:"magnifying-glass-plus",onClick:this.handleZoomTo.bind(this,e)},this.messages?.zoomTo)):void 0}handleResetDatePicker(e,t){let i=this.panelEl.querySelector(`[id='${e.id}']`);D(i),e.active=!1,e.definitionExpression=void 0,e.range=void 0,this.generateOutput(t)}initInput(e,t){let{type:i,numDisplayOption:n,displayOption:s}=t;if(i==="string"||i==="coded-value"||(i==="number"||i==="range"||i==="date")&&(n==="drop-down"||s==="drop-down"))return this.renderCombobox(e,t);if(i==="number"||i==="range")return this.renderNumberSlider(e,t);if(i==="date")return this.renderDatePicker(e,t)}async initExpressions(){if(this.loading=!0,this.filterLayerExpressions==null||this.view==null){this.loading=!1;return}await this.processExpressions(),this.loading=!1}async processExpressions(){this.filterLayerExpressions&&await Promise.all(this.filterLayerExpressions.map(async e=>{await Promise.all((e.expressions||[]).map(async t=>await this.setInitExpression(e,t)))}))}handleResetFilter(){this.resetExpressions(),this.resetAllFilters(),this.generateURLParams(),this.filterListReset.emit()}resetExpressions(){this.filterLayerExpressions?.forEach(e=>{e.expressions?.forEach(t=>{let{type:i,numDisplayOption:n,displayOption:s}=t,a="";i==="string"||i==="coded-value"||i==="date"&&(n==="drop-down"||s==="drop-down")||(i==="number"||i==="range")&&(n==="drop-down"||s==="drop-down")?a="combobox":i==="date"?a="datePicker":(i==="number"||i==="range")&&(a="numberRange"),a?this.resetExpressionUI(a,t):this.resetCheckbox(t),t.active=!1})})}resetExpressionUI(e,t){let{id:i}=t;switch(e){case"combobox":{t.selectedFields=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&Array.from(n.children).forEach(s=>{s.selected=!1});break}case"datePicker":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);D(n);break}case"numberRange":{t.range=void 0;let n=this.panelEl.querySelector(`[id='${i}']`);n&&(n.minValue=t.min,n.maxValue=t.max);break}}}resetCheckbox(e){let{id:t}=e,i=this.panelEl.querySelector(`[id='${t}']`);i!=null&&(i.checked=!1)}resetAllFilters(){this.view?.map?.allLayers?.concat(this.view?.map?.allTables)?.forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud"){if(!this.initPointCloudFilters)return;i.filters=this.initPointCloudFilters[i.id]}else if(i.type==="map-image")i.allSublayers.forEach(n=>{n.definitionExpression=this.initMapImageExpressions?.[i.id]?.[n.id]??""});else{if(this.initDefExpressions==null)return;i.definitionExpression=this.initDefExpressions[i.id]}})}async updateStringExpression(e,t){let i=this.findFilterLayer(e);return await this.getFeatureAttributes(i,t),this.handleDateField(i,t),t?.selectedFields?(t.definitionExpression=this.createDefinitionExpression(t),!0):!1}handleDateField(e,t){t.type==="date"&&e.fields.find(({name:n})=>n===t.field)?.type==="date-only"&&(t.dateOnly=!0)}createDefinitionExpression(e){if(!e.selectedFields?.length)return"";let t=e.selectedFields.map(i=>typeof i=="number"?i:`'${g(i)}'`);return`${e.field} IN (${t.join(",")})`}async updateNumberExpression(e,t){if(!t?.min&&t?.min!==0||!t?.max&&t?.max!==0){let i=this.findFilterLayer(e),{field:n}=t;if(n!=null)if(this.setExpressionFormat(i,t,n),t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down")await this.getFeatureAttributes(i,t);else{let a=(await this.calculateMinMaxStatistics(i,n))?.[0]?.attributes;if(t.format?.places!=null?(t.min=this.roundMinNumberDown(a[`min${n}`],t.format.places),t.max=this.roundMaxNumberUp(a[`max${n}`],t.format.places)):(t.min=a[`min${n}`],t.max=a[`max${n}`]),t?.range&&Object.keys(t.range).length){let{min:r,max:o}=t.range;return t.definitionExpression=`${t.field} BETWEEN ${r} AND ${o}`,!0}}}return!1}async updateDateExpression(e,t){let{field:i,range:n}=t,s=this.findFilterLayer(e),r=(await this.calculateMinMaxStatistics(s,i))?.[0]?.attributes;if(t.min=f(r[`min${i}`]),t.max=f(r[`max${i}`]),n!=null&&(n?.max!=null||n?.min!=null)){let{min:o,max:c}=n;if(o=o?.replace("+"," "),c=c?.replace("+"," "),o||c){let d=c&&!o?"<":!c&&o?">":null;return d?t.definitionExpression=`${i} ${d} '${o??c}'`:t.definitionExpression=`${i} BETWEEN '${o}' AND '${c}'`,!0}}return!1}async updateCodedValueExpression(e,t,i){if(!i?.domain||i?.domain?.type!=="coded-value")return!1;let n=this.findFilterLayer(e);await this.getFeatureAttributes(n,t);let a=i.domain.codedValues.reduce((r,{code:o,name:c})=>(r[o]=c,r),{});if(t.codedValues=a,t.selectedFields?.length){let r=t.selectedFields.map(o=>typeof o=="number"?o:`'${g(o)}'`).join(",");return t.definitionExpression=`${t.field} IN (${r})`,!0}return!1}updateRangeExpression(e,t){if(!t?.domain||t?.domain?.type!=="range")return!1;let{field:i,range:n}=e;return e.min=t.domain.minValue,e.max=t.domain.maxValue,n&&Object.keys(n).length?(e.definitionExpression=`${i} BETWEEN ${n.min} AND ${n.max}`,!0):!1}async getFeatureAttributes(e,t){if(!this.isLayerSupported(e)){t.fields=[];return}let i=await this.getQueryLayer(e),{maxRecordCount:n,supportsMaxRecordCountFactor:s}=this.extractQueryCapabilities(e),a=await i.queryFeatureCount(),r=this.createQuery(i,t);await this.queryDistinctFeatures(i,r,t),this.shouldPaginate(n,a,s)&&this.handlePagination(i,r,n,s,a,t)}isLayerSupported(e){return e&&p.includes(e.type)}extractQueryCapabilities(e){return{maxRecordCount:e.capabilities?.query?.maxRecordCount??e.sourceJSON?.maxRecordCount,supportsMaxRecordCountFactor:e.capabilities?.query?.supportsMaxRecordCountFactor}}createQuery(e,t){let i=e.createQuery();this.applyCacheHint(e,i);let n=t?.field;if(n){let s=this.getInitDefExprFromLayer(e);i.where=s||"1=1",i.outFields=[n],i.orderByFields=[`${n} ASC`],i.returnDistinctValues=!0,i.returnGeometry=!1,i.maxRecordCountFactor=5,this.applyQueryGeometryFromExtentSelector(i)}return i}async queryDistinctFeatures(e,t,i){if(!t.outFields)return;let n=await this.queryForFeatures(e,t,t.outFields[0]);n?.length&&(i.fields=[...new Set(n)],i.type==="string"?i.fields=i.fields.sort((s,a)=>s.localeCompare(a)):i.type==="number"&&(i.fields=i.fields.sort((s,a)=>s-a)))}getQueryCount(e,t){return t?e*5:e}shouldPaginate(e,t,i){let n=this.getQueryCount(e,i);return e!=null&&t>n}async handlePagination(e,t,i,n,s,a){let r=this.getQueryCount(i,n),o=[];for(let c=r;c<s;c+=r){let d=t.clone();d.num=i,d.start=c,o.push(this.queryForFeatures(e,d,t?.outFields?.[0]??""))}Promise.all(o).then(c=>{c.forEach(d=>{d?.length&&a.fields&&a.fields.push(...d)}),a.type==="string"?a.fields=[...new Set(a.fields)].sort((d,h)=>d.localeCompare(h)):a.type==="number"?a.fields=[...new Set(a.fields)].sort((d,h)=>d-h):a.fields=[...new Set(a.fields)].sort()})}async queryForFeatures(e,t,i){return(await e.queryFeatures(t))?.features.filter(a=>a.attributes?.[i])?.map(a=>a.attributes?.[i])}async calculateMinMaxStatistics(e,t){if(!e||!p.includes(e.type)||!t)return[];let i=this.createStatisticsQuery(e,t);return(await e.queryFeatures(i))?.features||[]}createStatisticsQuery(e,t){let i=e.createQuery();return i.where=this.getInitDefExprFromLayer(e)||"1=1",this.applyCacheHint(e,i),i.outStatistics=[{onStatisticField:t,outStatisticFieldName:`max${t}`,statisticType:"max"},{onStatisticField:t,outStatisticFieldName:`min${t}`,statisticType:"min"}],this.applyQueryGeometryFromExtentSelector(i),i}getExtent(e,t){if(e&&t){let{constraints:i}=t,s={...i}?.geometry;if(s){let a="extent"in s?s:this.geometryJsonUtils.fromJSON(s);if(a?.type==="extent"||a?.type==="polygon")return a}}}async setInitExpression(e,t){if(!t.field||!t.type){await this.updateExpression(e,t,void 0);return}let i=this.findFilterLayer(e);i&&((i.loadStatus==="not-loaded"||i.loadStatus==="failed")&&await i.load(),await i.when(async()=>{let n=i.fields?.find(({name:a})=>a===t.field),s=n?.domain?.type;t.type=s==="coded-value"||s==="range"?s:t.type,await this.updateExpression(e,t,n)}))}async updateExpression(e,t,i){await this.handleExpressionType(e,t,i)&&this.generateOutput(e)}async handleExpressionType(e,t,i){switch(t.type){case"string":return await this.updateStringExpression(e,t);case"number":return await this.updateNumberExpression(e,t);case"date":return await this.updateDateExpressionBasedOnDisplayOption(e,t);case"coded-value":return await this.updateCodedValueExpression(e,t,i);case"range":return await this.updateRangeExpressionBasedOnDisplayOption(e,t,i);case"checkbox":case null:case void 0:return t.active??!1;default:return!1}}async updateDateExpressionBasedOnDisplayOption(e,t){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):await this.updateDateExpression(e,t)}async updateRangeExpressionBasedOnDisplayOption(e,t,i){return t.displayOption==="drop-down"?await this.updateStringExpression(e,t):this.updateRangeExpression(t,i)}updateRangeExpressions(e,t,i,n){let s=this.getInitDefExprFromLayerExpression(t);(n||n===0)&&(i||i===0)&&(n===e?.min&&i===e?.max?(e.definitionExpression=void 0,e.active=!1):(e.definitionExpression=s?`(${s}) AND ${e?.field} BETWEEN ${n} AND ${i}`:`${e?.field} BETWEEN ${n} AND ${i}`,e.active=!0)),e.range={min:n,max:i}}handleCheckboxChange(e,t,i){let n=i.target;t.active=n.checked,this.generateOutput(e)}handleSliderChange(e,t,i){let{maxValue:n,minValue:s}=i.target;this.updateRangeExpressions(e,t,n,s),this.generateOutput(t)}handleComboSelect(e,t,i){let s=i.target.selectedItems,{field:a,type:r}=e;if(e.selectedFields=s.map(({value:o})=>o),s.length){let o=s.map(({value:c})=>typeof c=="number"?c:`'${g(c)}'`);e.definitionExpression=r==="date"?o.map(c=>this.buildDateExpression(c,a)).join(" OR "):`${a} IN (${o.join(",")})`,e.active=!0}else e.definitionExpression=void 0,e.active=!1;this.generateOutput(t)}handleDatePickerRangeChange(e,t,i){let n=i.target,[s,a]=n.valueAsDate,r=s?f(Math.floor(s.getTime()),!0):void 0,o=a?f(Math.floor(a.getTime()),!0):void 0;(r||o)&&(e.definitionExpression=this.constructDefinitionExpression(e.field,r,o),e.range={min:r,max:o},e.active=!0,this.generateOutput(t))}constructDefinitionExpression(e,t,i){return t?i?`${e} BETWEEN '${t}' AND '${i}'`:`${e} > '${t}'`:`${e} < '${i}'`}handleURLParams(){if(!("URLSearchParams"in window))return;let t=new URLSearchParams(document.location.search).get("filter");if(!t){this.filterCount=0;return}let i=t.split(";").map(n=>JSON.parse(n));this.filterCount=this.applyFilters(i)}applyFilters(e){let t=0;return e.forEach(i=>{let n=this.filterLayerExpressions?.find(s=>s.id===i.layerId);n&&n.expressions?.forEach(s=>{s.id?.toString()===i.expressionId?.toString()&&(this.activateExpression(s,i),t++)})}),t}activateExpression(e,t){e.active=!0,t.type==="range"?e.range=t.range:t.type==="select"&&(e.selectedFields=t.selectedFields)}createURLParamExpression(e,t){let{id:i,range:n,selectedFields:s,type:a}=t;return a==="string"||a==="coded-value"||t?.numDisplayOption==="drop-down"||t?.displayOption==="drop-down"?{type:"select",layerId:e.id,expressionId:i.toString(),selectedFields:s}:a==="number"||a==="range"||a==="date"?{type:"range",layerId:e.id,expressionId:i.toString(),range:n}:{layerId:e.id,expressionId:i.toString()}}autoUpdateURLCheck(e){if(this.autoUpdateUrl){let t=e.toString()?`${window.location.pathname}?${e}`.trim():window.location.pathname;window.history.replaceState({},"",t)}}generateURLParams(){if(!("URLSearchParams"in window))return;let e=new URLSearchParams(window.location.search),t=this.filterLayerExpressions?.flatMap(i=>i?.expressions?.filter(n=>n.active).map(n=>JSON.stringify(this.createURLParamExpression(i,n)))||[])||[];this.filterCount=t.length,t.length>0?e.set("filter",t.join(";")):e.delete("filter"),this.autoUpdateURLCheck(e),this.urlParams=e}updateFilter(e,t,i){let{id:n}=e,s=this.view.map.findLayerById(n)??this.view.map.findTableById(n);if(s!=null)if(s.type==="point-cloud")this.updateFilterLayerPCLFilter(s,i);else if(s.type==="map-image"){let a=s.findSublayerById(e?.sublayerId);a!=null&&this.updateFilterLayerDefExpression(a,t,e)}else this.updateFilterLayerDefExpression(s,t,e)}updateFilterLayerDefExpression(e,t,i){let{operator:n}=i,s=this.getInitDefExprFromLayer(e),a=t?.length>0&&s!=null&&s!==""?`(${t.join(n)}) AND (${s})`:t.length>0?t.join(n):s;e.definitionExpression=a}updateFilterLayerPCLFilter(e,t){e.filters=t}async handleWhenView(){if(this.view==null)return;await this.view.map.loadAll(),this.handleLayerExpressionsUpdate()}async handleLayerExpressionsUpdate(){this.updateInitExpressions(),this.handleURLParams(),this.initExpressions()}async handleZoomTo(e){let t=e?.sublayerId?`#zoom-to-${e.id}-${e.sublayerId}`:`#zoom-to-${e.id}`,i=this.panelEl.querySelector(t),n=(s,a)=>{i&&(i.loading=s,i.disabled=a)};if(n(!0,!0),await this.getZoomToExtent(e),this.zoomToExtent){let s=this.zoomToExtent.type==="point"&&this.zoomToExtent.count===1?{target:this.zoomToExtent.extent,zoom:10}:this.zoomToExtent.extent;await this.view.goTo(s)}n(!1,!1)}async getZoomToExtent(e){let i=this.view.allLayerViews.find(({layer:s})=>s.id===e.id).layer,n=i.type==="map-image"?i.findSublayerById(e.sublayerId):i;if(n&&n.type!=="point-cloud"&&p.includes(n?.type)){let s=await this.getQueryLayer(n),a=s.createQuery();a.where=s.definitionExpression??"1=1";let r=await s.queryExtent(a);this.zoomToExtent={...r,type:s.geometryType}}}applyFilterToQuery(e,t){let i=this.view.allLayerViews.find(({layer:s})=>s.id===t.id),n=i?.featureEffect?.filter??i.filter;n&&["objectIds","distance","geometry","spatialRelationship","units","where","timeExtent"].forEach(a=>{n[a]!=null&&(e[a]=n[a])})}generateOutput(e){if(this.view==null)return;let t=[],i=[];if(e){for(let n of e.expressions){let{active:s,definitionExpression:a,pointCloudFilters:r}=n;s&&a&&t.push(`(${a})`),s&&r!=null&&r.length>0&&(i=i.concat(r))}this.updateFilter(e,t,i),this.generateURLParams(),this.filterUpdate.emit()}}numberWithCommas(e){return e.toLocaleString("en-US",{maximumFractionDigits:20})}scientificRounding(e,t,i){if(e==null)return;let n;if(!String(e).includes("e"))n=Math[i](e*Math.pow(10,t))/Math.pow(10,t);else{let[s,a]=String(e).split("e").map(c=>Number(c)),r=a+t;n=Math[i](+`${s}e${r}`)*Math.pow(10,-t)}return+n.toFixed(t)}roundMinNumberDown(e,t){return this.scientificRounding(e,t,"floor")}roundMaxNumberUp(e,t){return this.scientificRounding(e,t,"ceil")}roundNumber(e,t){return this.scientificRounding(e,t,"round")??e}setExpressionFormat(e,t,i){if(e?.popupTemplate!=null){let n=e?.popupTemplate.fieldInfos?.find(({fieldName:s})=>s===i);n?.format&&(t.format=n.format)}}getInitDefExprFromLayer(e){return e.type==="sublayer"?this.initMapImageExpressions?.[e?.layer?.id??""]?.[e.id]??"":this.initDefExpressions?.[e.id]??""}getInitDefExprFromLayerExpression(e){return e?.sublayerId!=null?this.initMapImageExpressions?.[e.id]?.[e.sublayerId]??"":this.initDefExpressions?.[e.id]??""}findFilterLayer(e){let i=this.view.map.allLayers.concat(this.view.map.allTables).find(({id:n})=>n===e.id);return i.type==="map-image"?i?.findSublayerById(e.sublayerId):i}createLabel(e,t){if(e.type==="coded-value")return e?.codedValues?.[t];if(e.type==="number"&&typeof t=="number"){let i=t;return e.format?.places!=null&&(i=this.roundNumber(t,e.format.places)),e.format?.digitSeparator?this.numberWithCommas(i):i}if(e.type==="date"&&!e.dateOnly){let i=this.intl.convertDateFormatToIntlOptions("short-date-long-time");return this.intl.formatDate(t,i)}return t}buildDateExpression(e,t){if(e){let i=new Date(e),n=new Date(e),s=new Date(n.setDate(i.getDate()+1)),a=`${i.getFullYear()}-${i.getMonth()+1}-${i.getDate()}`,r=`${i.getHours()}:${i.getMinutes()}:${i.getSeconds()}`,o=`${s.getHours()}:${s.getMinutes()}:${s.getSeconds()}`,c=`${s.getFullYear()}-${s.getMonth()+1}-${s.getDate()}`;return`${t} BETWEEN '${a} ${r}' AND '${c} ${o}'`}}async getQueryLayer(e){let t=e.type==="sublayer"?await e.createFeatureLayer():e;if(!t)throw new Error("Failed to create feature layer");return t}applyCacheHint(e,t){e?.capabilities?.query?.supportsCacheHint&&(t.cacheHint=!0)}applyQueryGeometryFromExtentSelector(e){if(!this.extentSelector||!this.extentSelectorConfig)return;let t=this.getExtent(this.extentSelector,this.extentSelectorConfig);t&&(e.geometry=t,e.spatialRelationship="intersects")}updateInitExpressions(){if(this.view==null)return;let e=this.view.map;this.initDefExpressions={},this.initPointCloudFilters={},this.initMapImageExpressions={},e.allLayers.concat(e.allTables).forEach(t=>{if(!p.includes(t.type))return;let i=t;if(i.type==="point-cloud")this.initPointCloudFilters||(this.initPointCloudFilters={}),this.initPointCloudFilters[i.id]=i.filters;else if(i.type==="map-image")this.initMapImageExpressions||(this.initMapImageExpressions={}),this.initMapImageExpressions[i.id]=i.allSublayers.reduce((n,s)=>(n[s.id]=s.definitionExpression??"",n),{});else{if(!this.initDefExpressions)return;this.initDefExpressions[i.id]=i.definitionExpression??""}})}get el(){return x(this)}static get watchers(){return{view:["watchViewHandler"],layerExpressions:["watchLayerExpressions"]}}};I.style=k;export{I as instant_apps_filter_list};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a,b}from"./URSDOYPK.js";import"./UBKKMKS7.js";import"./E575ADYG.js";import"./WYNYF36Y.js";import"./ZIIYJYM3.js";export{a as InitiativeTemplateEditorTypes,b as InitiativeTemplateSchema};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as i}from"./LGYRQXSU.js";var c=class e extends Error{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(r),this.operation=o,this.name="OperationError",this.rootCause=t,Object.setPrototypeOf(this,e.prototype),this.stack=i(t,"stack",new Error().stack)}};var p=class extends c{constructor(o,r,t){r=r||"UNKNOWN_ERROR",t=i(t,"rootCause",t),super(o,r,t),this.name="HubError",this.stack=i(t,"stack",new Error().stack)}};export{p as a};
@@ -0,0 +1,25 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as On}from"./6EQSCBDC.js";import{B as wn,c as yn,n as vn,w as bn}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";function yi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||vi(n)||bi(n)||wi(n))}function vi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function bi(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function wi(e){return!e.user&&e.ipCntryCode==="US"}var Ce={storage:{},memory:!0,get(e){let t;try{t=window.localStorage&&window.localStorage.getItem(e)||this.storage[e]}catch{t=this.storage[e]}if(t)try{return JSON.parse(t)}catch{return}else return},set(e,t){let n=JSON.stringify(t);try{window.localStorage.setItem(e,n)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),this.storage[e]=t}},delete(e){try{window.localStorage.removeItem(e)}catch{this.memory||(console.error("setting local storage failed, falling back to in-memory storage"),this.memory=!0),delete this.storage[e]}}},vr="esri-telemetry";function Oi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Si(e)||e.body)&&t()})}function xi(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${vr}="${n}"]`)}function Si(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:c=!1,onload:f,onerror:h}=e;if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");if(xi(e)){console.log(`script (${r||i}) is already present, skipping`);return}let p=Ei({id:r,dataAttribute:i,type:a,async:s,defer:c,body:t,src:n,onload:f,onerror:h});return o==="body"?document.body.appendChild(p):document.head.appendChild(p)}var nt=class extends Error{};function Ei({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:c}){let f=document.createElement("script");return e&&(f.id=e),t&&f.setAttribute(`data-${vr}`,t),a&&(f.src=a),o&&(f.innerText=o),f.type=n,f.async=r,f.defer=i,s&&(f.onload=s),c&&(f.onerror=c),f}function ki(e){return e.map(t=>{let n=[];return["src","id","dataAttribute","type"].forEach(r=>{let i=r;r==="dataAttribute"&&(i="data-esri-telemetry"),t[r]&&n.push(`${i}="${t[r]}"`)}),["async","defer"].forEach(r=>{t[r]&&n.push(`${r}`)}),`<script ${n.join(" ")}>${t.body?t.body:""}<\/script>`}).join("")}var Ii=["esri.com","esriuk.com","esri.de","esri.ca","esrifrance.fr","esri.nl","esri-portugal.pt","esribulgaria.com","esri.fi","esri.kr","esrimalaysia.com.my","esri.es","esriaustralia.com.au","esri-southafrica.com","esri.cl","esrichina.com.cn","esri.co","esriturkey.com.tr","geodata.no","esriitalia.it","esri.pl"],jt=class{constructor(t){var n,r,i;this.trackers=[],this.options=t,this.debug=t.debug,this.suppressDisabledWarnings=t.suppressDisabledWarnings,this.disabled=yi(t),this.logger=t.logger||console,this.disabled&&!this.suppressDisabledWarnings&&this.logger.info("Telemetry Disabled");let o=((n=t.portal)===null||n===void 0?void 0:n.user)||t.user;o&&this.setUser(o,(i=(r=t.portal)===null||r===void 0?void 0:r.subscriptionInfo)===null||i===void 0?void 0:i.type),this.disabled||this.initializeTrackers()}initializeTrackers(){this.options.plugins&&this.trackers.push(...this.options.plugins),this.trackers.length||this.logger.error(new Error("No trackers configured"))}getScriptTags(){return this.trackers.map(t=>t.getScriptTags&&t.getScriptTags()).join("")}async init(){let t=this.trackers.map(n=>n.init());await Promise.all(t)}setUser(t={},n="Public"){t=typeof t=="string"?{username:t}:t,this.user=t,this.user.accountType=n;let r;if(t.email&&t.email.split){let i=t.email.split("@")[1];r=Ii.filter(o=>i===o).length>0}(r||["In House","Demo and Marketing"].indexOf(n)>-1)&&(this.user.internalUser=!0)}logPageView(t,n={},r={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Page view was not logged because telemetry is disabled."),!1;let i=this.trackers.filter(({disabled:s,hasError:c})=>!s&&!c);if(!i.length)return this.logger.warn("Page view was not logged because no enabled telemetry-plugins are registered."),!1;let o=this.preProcess(n,r);this.debug&&this.logger.info("Tracking page view",JSON.stringify(o));let a=i.map(s=>s.logPageView(t,o));return Promise.all(a).then(),!0}logEvent(t,n={}){if(this.disabled&&!this.suppressDisabledWarnings)return this.logger.info("Event was not logged because telemetry is disabled."),!1;let r=this.trackers.filter(({disabled:a,hasError:s})=>!a&&!s);if(!r.length)return this.logger.warn("Event was not logged because no enabled telemetry-plugins are registered."),!1;let i=this.preProcess(t,n);this.debug&&this.logger.info("Tracking event",JSON.stringify(i));let o=r.map(a=>a.logEvent(i));return Promise.all(o).then(),!0}logError(t={}){t=Object.assign({eventType:"error"},t),this.logEvent(t)}startWorkflow(t,n={}){let r={name:t,start:Date.now(),steps:[],workflowId:Math.floor((1+Math.random())*17592186044416).toString(16)};this.saveWorkflow(r);let i=Object.assign({name:t,step:"start"},n);return this.logWorkflow(i),r}stepWorkflow(t,n,r={}){let i=typeof r=="string"?r:r.details,o=Object.assign({name:t,step:n,details:i},r);this.logWorkflow(o)}endWorkflow(t,n={}){let r=Object.assign({name:t,step:"finish"},n);this.logWorkflow(r)}cancelWorkflow(t,n={}){let r=Object.assign({name:t,step:"cancel"},n);this.logWorkflow(r)}getWorkflow(t){let n=Ce.get(`TELEMETRY-WORKFLOW:${t}`);if(n){let r=Date.now()-n.start,i=30*60*1e3;if(r<i)return n;this.deleteWorkflow(n)}}saveWorkflow(t){Ce.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Ce.delete(`TELEMETRY-WORKFLOW:${t.name}`)}logWorkflow(t={}){t=this.preProcess(t);let n=this.getWorkflow(t.name);n||(this.startWorkflow(t.name),n=this.getWorkflow(t.name)),n.steps.push(t.step),n.duration=(Date.now()-n.start)/1e3,["cancel","finish"].indexOf(t.step)>-1?this.deleteWorkflow(n):this.saveWorkflow(n);let r=Object.assign(t,{eventType:"workflow",category:t.name,action:t.step,label:t.details,duration:n.duration,workflowId:n.workflowId});this.logEvent(r)}preProcess(t={},n={}){let r={};return this.user&&(r={user:"unknown",org:"unknown",lastLogin:this.user.lastLogin,userSince:this.user.created,internalUser:this.user.internalUser||!1,accountType:this.user.accountType}),Object.entries(Object.assign(Object.assign({},t),r)).reduce(Ai(n.omitComplexData,this.logger),{})}disableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!0,(n=r.disable)===null||n===void 0||n.call(r))}enableTracker(t){var n;let r=this.trackers.find(({name:i})=>i===t);r&&!r.hasError&&(r.disabled=!1,(n=r.enable)===null||n===void 0||n.call(r))}};function Ai(e,t){return function(n,[r,i]){return ji(i)?n[r]=i:e||(t.warn(`You are trying to log a non-primitive value, ${r}:${JSON.stringify(i)}. This will get logged as [object Object]`),n[r]=i),n}}function ji(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function br(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]]);return n}var Tt=class{constructor(t){var n;if(this.name="googleAnalytics",this.dimensions={},this.metrics={},typeof window<"u"&&!(!((n=t?.measurementIds)===null||n===void 0)&&n.length))throw new Error("at least one measurementId needs to be provided in your configuration");Object.assign(this,t)}_getScripts(){return[{dataAttribute:"google-analytics",async:!0,src:`https://www.googletagmanager.com/gtag/js?id=${this.measurementIds?this.measurementIds[0]:""}`}]}getScriptTags(){return ki(this._getScripts())}async init(){if(typeof window>"u")throw new nt("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Oi(t))),this.injectConfig()}logPageView(t,n={}){let r=this.buildCustomParams(n),i=Object.assign({page_title:t||window.location.pathname},r);return window.gtag("event","page_view",i),!0}logEvent(t){let{action:n}=t,r=br(t,["action"]),i=n||"other",o=this.buildCustomParams(r);return window.gtag("event",i,o),!0}disable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=!0})}enable(){this.measurementIds&&this.measurementIds.forEach(t=>{window[`ga-disable-${t}`]=void 0})}injectConfig(){window.dataLayer=window.dataLayer||[],window.gtag=function(){window.dataLayer.push(arguments)},window.gtag("js",new Date);let t={custom_map:this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),send_page_view:!1,anonymize_ip:!0};this.measurementIds.forEach(n=>{window.gtag("config",n,t)})}buildCustomParams(t){let n,{category:r,label:i}=t;return n=this.verifyCustomDimensionAndMetrics(t),r&&(n=Object.assign(Object.assign({},n),{event_category:r})),i&&(n=Object.assign(Object.assign({},n),{event_label:i})),n}verifyCustomDimensionAndMetrics(t){let n=this.createDimensionsAndMetricsCustomMap(this.dimensions,this.metrics),r=Object.values(n);return Object.keys(t).filter(i=>r.includes(i)).reduce((i,o)=>Object.assign(i,{[o]:t[o]}),{})}createDimensionsAndMetricsCustomMap(t={},n={}){let r=this.createMetricCustomMap(n),i=this.createDimensionCustomMap(t);return Object.assign(Object.assign({},r),i)}createMetricCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`metric${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}createDimensionCustomMap(t={}){return Object.keys(t).map(function(n){return{key:`dimension${t[n]}`,value:n}}).filter(n=>n).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}},xn="TELEMETRY_COGNITO_CREDENTIALS";function Ti(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Ce.get(xn);if(r&&Date.now()/1e3<r.Expiration)return Promise.resolve(r);let i={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetId"},body:JSON.stringify({IdentityPoolId:e})};return fetch(n,i).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(o=>{let{IdentityId:a}=o,s={method:"POST",headers:{"Content-type":"application/x-amz-json-1.1","X-Amz-Target":"AWSCognitoIdentityService.GetCredentialsForIdentity"},body:JSON.stringify({IdentityId:a})};return fetch(n,s)}).then(o=>{if(!o.ok)throw new Error(o.statusText);return o.json()}).then(({Credentials:o})=>(Ce.set(xn,o),o))}function wr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Ni(t,r),value:e[r]}:{key:r,value:Pi(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Pi(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Ni(e,t){return`dimension${e[t]}`}var _i=["size","duration","position","number","count"];function Or(e,t={}){return Object.keys(e).filter(n=>t[n]||_i.includes(n)).map(n=>t[n]?{key:Ci(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function Ci(e,t){return`metric${e[t]}`}function Li({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=Or(e,n),c=wr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),f=Object.assign(Object.assign({name:a},c),s);return typeof document<"u"&&document.referrer&&(f.referrer=document.referrer),typeof window<"u"&&!f.hostname&&(f.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),f.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,f}function Mi({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=Or(n,i),a=wr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:c}=document||{},{hostname:f,pathname:h}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:f,path:e||h,pageUrl:e||h,pageName:c,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function Sn(e,t,n,r,i){for(t=t.split?t.split("."):t,r=0;r<t.length;r++)e=e?e[t[r]]:i;return e===i?n:e}var Je="undefined",En="object",Ui=function(){},kn="__",rt=typeof process<"u"?process:{};rt.env&&rt.env.NODE_ENV;var Ve=typeof document<"u";rt.versions!=null&&rt.versions.node!=null;typeof Deno<"u"&&Deno.core;Ve&&window.name==="nodejs"||typeof navigator<"u"&&navigator.userAgent!==void 0&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function xr(e,t){return t.charAt(0)[e]()+t.slice(1)}var Di=xr.bind(null,"toUpperCase"),Ri=xr.bind(null,"toLowerCase");function zi(e){return Sr(e)?Di("null"):typeof e=="object"?Ki(e):Object.prototype.toString.call(e).slice(8,-1)}function it(e,t){t===void 0&&(t=!0);var n=zi(e);return t?Ri(n):n}function Ge(e,t){return typeof t===e}var Pt=Ge.bind(null,"function"),Nt=Ge.bind(null,"string");Ge.bind(null,"undefined");Ge.bind(null,"boolean");Ge.bind(null,"symbol");function Sr(e){return e===null}function Wi(e){return it(e)==="number"&&!isNaN(e)}function $i(e){return it(e)==="array"}function Ki(e){return Pt(e.constructor)?e.constructor.name:null}function Hi(e){return e instanceof Error||Nt(e.message)&&e.constructor&&Wi(e.constructor.stackTraceLimit)}function Er(e,t){if(typeof t!="object"||Sr(t))return!1;if(t instanceof e)return!0;var n=it(new e(""));if(Hi(t))for(;t;){if(it(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Er.bind(null,TypeError);Er.bind(null,SyntaxError);function ct(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?Vi(e,t):n}function Vi(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function lt(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}lt(ct,"form");lt(ct,"button");lt(ct,"input");lt(ct,"select");function Gi(e){return e?$i(e)?e:[e]:[]}function In(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function qi(){if(Ve){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function Fi(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function Ji(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=In(n[1]),a=In(n[2]);if(o)if(o.substring(o.length-2)==="[]"){var s=r[o=o.substring(0,o.length-2)]||(r[o]=[]);r[o]=Array.isArray(s)?s:[],r[o].push(a)}else r[o]=a===""||a}for(var c in r){var f=c.split("[");f.length>1&&(Bi(r,f.map(function(h){return h.replace(/[?[\]\\ ]/g,"")}),r[c]),delete r[c])}return r}(function(t){return Ve&&window.location.search.substring(1)}())}function Bi(e,t,n){for(var r=t.length-1,i=0;i<r;++i){var o=t[i];if(o==="__proto__"||o==="constructor")break;o in e||(e[o]={}),e=e[o]}e[t[r]]=n}function be(){for(var e="",t=0,n=4294967295*Math.random()|0;t++<36;){var r="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t-1],i=15&n;e+=r=="-"||r=="4"?r:(r=="x"?i:3&i|8).toString(16),n=t%8==0?4294967295*Math.random()|0:n>>4}return e}var Le="global",ke=kn+"global"+kn,Ie=typeof self===En&&self.self===self&&self||typeof global===En&&global.global===global&&global||void 0;function ce(e){return Ie[ke][e]}function se(e,t){return Ie[ke][e]=t}function we(e){delete Ie[ke][e]}function le(e,t,n){var r;try{if(dt(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ie[ke]||(Ie[ke]={});var Be={};function dt(e){if(typeof Be[e]!==Je)return Be[e];try{var t=window[e];t.setItem(Je,Je),t.removeItem(Je)}catch{return Be[e]=!1}return Be[e]=!0}var An,We="__",_t=typeof process<"u"?process:{};(An=_t.env)!=null&&An.NODE_ENV;var ue=typeof window<"u";_t.versions!=null&&_t.versions.node!=null;typeof Deno<"u"&&Deno.core;ue&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}var ie=ft.bind(null,"function"),et=ft.bind(null,"string");ft.bind(null,"undefined");var Xi=ft.bind(null,"boolean");function Qi(e){return Object.prototype.toString.call(e)==="[object Array]"}function Yi(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!Yi(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ct(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Zi(e){if(Array.isArray(e))return Ct(e)}function eo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function kr(e,t){if(e){if(typeof e=="string")return Ct(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(e);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ct(e,t)}}function to(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e){return Zi(e)||eo(e)||kr(e)||to()}function Q(e){"@babel/helpers - typeof";return Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Q(e)}function jn(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(f){n(f);return}s.done?t(c):Promise.resolve(c).then(r,i)}function oe(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(c){jn(o,r,i,a,s,"next",c)}function s(c){jn(o,r,i,a,s,"throw",c)}a(void 0)})}}function fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Tn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function O(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Tn(Object(n),!0).forEach(function(r){fe(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Tn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var Ir={exports:{}};(function(e){var t=function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",f=a.toStringTag||"@@toStringTag";function h(v,d,u){return Object.defineProperty(v,d,{value:u,enumerable:!0,configurable:!0,writable:!0}),v[d]}try{h({},"")}catch{h=function(v,d,u){return v[d]=u}}function p(v,d,u,l){var m=d&&d.prototype instanceof j?d:j,g=Object.create(m.prototype),k=new B(l||[]);return g._invoke=R(v,u,k),g}n.wrap=p;function y(v,d,u){try{return{type:"normal",arg:v.call(d,u)}}catch(l){return{type:"throw",arg:l}}}var b="suspendedStart",x="suspendedYield",I="executing",E="completed",w={};function j(){}function C(){}function S(){}var N={};h(N,s,function(){return this});var A=Object.getPrototypeOf,T=A&&A(A(F([])));T&&T!==r&&i.call(T,s)&&(N=T);var D=S.prototype=j.prototype=Object.create(N);C.prototype=S,h(D,"constructor",S),h(S,"constructor",C),C.displayName=h(S,f,"GeneratorFunction");function H(v){["next","throw","return"].forEach(function(d){h(v,d,function(u){return this._invoke(d,u)})})}n.isGeneratorFunction=function(v){var d=typeof v=="function"&&v.constructor;return d?d===C||(d.displayName||d.name)==="GeneratorFunction":!1},n.mark=function(v){return Object.setPrototypeOf?Object.setPrototypeOf(v,S):(v.__proto__=S,h(v,f,"GeneratorFunction")),v.prototype=Object.create(D),v},n.awrap=function(v){return{__await:v}};function $(v,d){function u(g,k,P,L){var M=y(v[g],v,k);if(M.type==="throw")L(M.arg);else{var z=M.arg,W=z.value;return W&&typeof W=="object"&&i.call(W,"__await")?d.resolve(W.__await).then(function(q){u("next",q,P,L)},function(q){u("throw",q,P,L)}):d.resolve(W).then(function(q){z.value=q,P(z)},function(q){return u("throw",q,P,L)})}}var l;function m(g,k){function P(){return new d(function(L,M){u(g,k,L,M)})}return l=l?l.then(P,P):P()}this._invoke=m}H($.prototype),h($.prototype,c,function(){return this}),n.AsyncIterator=$,n.async=function(v,d,u,l,m){m===void 0&&(m=Promise);var g=new $(p(v,d,u,l),m);return n.isGeneratorFunction(d)?g:g.next().then(function(k){return k.done?k.value:g.next()})};function R(v,d,u){var l=b;return function(m,g){if(l===I)throw new Error("Generator is already running");if(l===E){if(m==="throw")throw g;return G()}for(u.method=m,u.arg=g;;){var k=u.delegate;if(k){var P=V(k,u);if(P){if(P===w)continue;return P}}if(u.method==="next")u.sent=u._sent=u.arg;else if(u.method==="throw"){if(l===b)throw l=E,u.arg;u.dispatchException(u.arg)}else u.method==="return"&&u.abrupt("return",u.arg);l=I;var L=y(v,d,u);if(L.type==="normal"){if(l=u.done?E:x,L.arg===w)continue;return{value:L.arg,done:u.done}}else L.type==="throw"&&(l=E,u.method="throw",u.arg=L.arg)}}}function V(v,d){var u=v.iterator[d.method];if(u===o){if(d.delegate=null,d.method==="throw"){if(v.iterator.return&&(d.method="return",d.arg=o,V(v,d),d.method==="throw"))return w;d.method="throw",d.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var l=y(u,v.iterator,d.arg);if(l.type==="throw")return d.method="throw",d.arg=l.arg,d.delegate=null,w;var m=l.arg;if(!m)return d.method="throw",d.arg=new TypeError("iterator result is not an object"),d.delegate=null,w;if(m.done)d[v.resultName]=m.value,d.next=v.nextLoc,d.method!=="return"&&(d.method="next",d.arg=o);else return m;return d.delegate=null,w}H(D),h(D,f,"Generator"),h(D,s,function(){return this}),h(D,"toString",function(){return"[object Generator]"});function K(v){var d={tryLoc:v[0]};1 in v&&(d.catchLoc=v[1]),2 in v&&(d.finallyLoc=v[2],d.afterLoc=v[3]),this.tryEntries.push(d)}function U(v){var d=v.completion||{};d.type="normal",delete d.arg,v.completion=d}function B(v){this.tryEntries=[{tryLoc:"root"}],v.forEach(K,this),this.reset(!0)}n.keys=function(v){var d=[];for(var u in v)d.push(u);return d.reverse(),function l(){for(;d.length;){var m=d.pop();if(m in v)return l.value=m,l.done=!1,l}return l.done=!0,l}};function F(v){if(v){var d=v[s];if(d)return d.call(v);if(typeof v.next=="function")return v;if(!isNaN(v.length)){var u=-1,l=function m(){for(;++u<v.length;)if(i.call(v,u))return m.value=v[u],m.done=!1,m;return m.value=o,m.done=!0,m};return l.next=l}}return{next:G}}n.values=F;function G(){return{value:o,done:!0}}return B.prototype={constructor:B,reset:function(v){if(this.prev=0,this.next=0,this.sent=this._sent=o,this.done=!1,this.delegate=null,this.method="next",this.arg=o,this.tryEntries.forEach(U),!v)for(var d in this)d.charAt(0)==="t"&&i.call(this,d)&&!isNaN(+d.slice(1))&&(this[d]=o)},stop:function(){this.done=!0;var v=this.tryEntries[0],d=v.completion;if(d.type==="throw")throw d.arg;return this.rval},dispatchException:function(v){if(this.done)throw v;var d=this;function u(L,M){return g.type="throw",g.arg=v,d.next=L,M&&(d.method="next",d.arg=o),!!M}for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l],g=m.completion;if(m.tryLoc==="root")return u("end");if(m.tryLoc<=this.prev){var k=i.call(m,"catchLoc"),P=i.call(m,"finallyLoc");if(k&&P){if(this.prev<m.catchLoc)return u(m.catchLoc,!0);if(this.prev<m.finallyLoc)return u(m.finallyLoc)}else if(k){if(this.prev<m.catchLoc)return u(m.catchLoc,!0)}else if(P){if(this.prev<m.finallyLoc)return u(m.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(v,d){for(var u=this.tryEntries.length-1;u>=0;--u){var l=this.tryEntries[u];if(l.tryLoc<=this.prev&&i.call(l,"finallyLoc")&&this.prev<l.finallyLoc){var m=l;break}}m&&(v==="break"||v==="continue")&&m.tryLoc<=d&&d<=m.finallyLoc&&(m=null);var g=m?m.completion:{};return g.type=v,g.arg=d,m?(this.method="next",this.next=m.finallyLoc,w):this.complete(g)},complete:function(v,d){if(v.type==="throw")throw v.arg;return v.type==="break"||v.type==="continue"?this.next=v.arg:v.type==="return"?(this.rval=this.arg=v.arg,this.method="return",this.next="end"):v.type==="normal"&&d&&(this.next=d),w},finish:function(v){for(var d=this.tryEntries.length-1;d>=0;--d){var u=this.tryEntries[d];if(u.finallyLoc===v)return this.complete(u.completion,u.afterLoc),U(u),w}},catch:function(v){for(var d=this.tryEntries.length-1;d>=0;--d){var u=this.tryEntries[d];if(u.tryLoc===v){var l=u.completion;if(l.type==="throw"){var m=l.arg;U(u)}return m}}throw new Error("illegal catch attempt")},delegateYield:function(v,d,u){return this.delegate={iterator:F(v),resultName:d,nextLoc:u},this.method==="next"&&(this.arg=o),w}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(Ir);var X=Ir.exports,pe="function",ae="undefined",Ue="reducer",Ar="@@redux/",Lt=Ar+"INIT",no=Ar+Math.random().toString(36),Pn=function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===pe&&Symbol.observable||"@@observable"}(),Xe=" != "+pe;function jr(e,t,n){if(Q(t)===pe&&Q(n)===ae&&(n=t,t=void 0),Q(n)!==ae){if(Q(n)!==pe)throw new Error("enhancer"+Xe);return n(jr)(e,t)}if(Q(e)!==pe)throw new Error(Ue+Xe);var r=e,i=t,o=[],a=o,s=!1;function c(){a===o&&(a=o.slice())}function f(){return i}function h(x){if(Q(x)!==pe)throw new Error("Listener"+Xe);var I=!0;return c(),a.push(x),function(){if(I){I=!1,c();var E=a.indexOf(x);a.splice(E,1)}}}function p(x){if(!te(x))throw new Error("Act != obj");if(Q(x.type)===ae)throw new Error("ActType "+ae);if(s)throw new Error("Dispatch in "+Ue);try{s=!0,i=r(i,x)}finally{s=!1}for(var I=o=a,E=0;E<I.length;E++){var w=I[E];w()}return x}function y(x){if(Q(x)!==pe)throw new Error("next "+Ue+Xe);r=x,p({type:Lt})}function b(){var x=h;return fe({subscribe:function(I){if(Q(I)!=="object")throw new TypeError("Observer != obj");function E(){I.next&&I.next(f())}E();var w=x(E);return{unsubscribe:w}}},Pn,function(){return this})}return p({type:Lt}),fe({dispatch:p,subscribe:h,getState:f,replaceReducer:y},Pn,b)}function ro(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+Ue+" "+e+" returns "+ae}function io(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Lt});if(Q(r)===ae||Q(n(void 0,{type:no}))===ae)throw new Error(Ue+" "+t+" "+ae)})}function oo(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++){var i=t[r];Q(e[i])===pe&&(n[i]=e[i])}var o=Object.keys(n),a;try{io(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},c=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var f=!1,h={},p=0;p<o.length;p++){var y=o[p],b=n[y],x=s[y],I=b(x,c);if(Q(I)===ae){var E=ro(y,c);throw new Error(E)}h[y]=I,f=f||I!==x}return f?h:s}}function Ae(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return t.length===0?function(r){return r}:t.length===1?t[0]:t.reduce(function(r,i){return function(){return r(i.apply(void 0,arguments))}})}function ao(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(r){return function(i,o,a){var s=r(i,o,a),c=s.dispatch,f=[],h={getState:s.getState,dispatch:function(p){return c(p)}};return f=t.map(function(p){return p(h)}),c=Ae.apply(void 0,Me(f))(s.dispatch),O(O({},s),{},{dispatch:c})}}}var he=We+"anon_id",ye=We+"user_id",Se=We+"user_traits",Mt="analytics",de="userId",Oe="anonymousId",so="https://lytics.dev/errors/",ot=["bootstrap","params","campaign","initializeStart","initialize","initializeEnd","ready","resetStart","reset","resetEnd","pageStart","page","pageEnd","pageAborted","trackStart","track","trackEnd","trackAborted","identifyStart","identify","identifyEnd","identifyAborted","userIdChanged","registerPlugins","enablePlugin","disablePlugin","online","offline","setItemStart","setItem","setItemEnd","setItemAborted","removeItemStart","removeItem","removeItemEnd","removeItemAborted"],Ut=["name","EVENTS","config","loaded"],uo={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},co=ot.reduce(function(e,t){return e[t]=t,e},uo),_=co;function lo(e){return ot.includes(e)}var Nn=/^utm_/,_n=/^an_prop_/,Cn=/^an_trait_/;function fo(e){var t=e.storage.setItem;return function(n){return function(r){return function(i){if(i.type===_.bootstrap){var o=i.params,a=i.user,s=i.persistedUser,c=i.initialUser,f=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(he,a.anonymousId),f||t(ye,a.userId),c.traits&&t(Se,O(O({},f&&s.traits?s.traits:{}),c.traits));var h=Object.keys(i.params);if(h.length){var p=o.an_uid,y=o.an_event,b=h.reduce(function(x,I){if(I.match(Nn)||I.match(/^(d|g)clid/)){var E=I.replace(Nn,""),w=E==="campaign"?"name":E;x.campaign[w]=o[I]}return I.match(_n)&&(x.props[I.replace(_n,"")]=o[I]),I.match(Cn)&&(x.traits[I.replace(Cn,"")]=o[I]),x},{campaign:{},props:{},traits:{}});n.dispatch(O(O({type:_.params,raw:o},b),p?{userId:p}:{})),p&&setTimeout(function(){return e.identify(p,b.traits)},0),y&&setTimeout(function(){return e.track(y,b.props)},0),Object.keys(b.campaign).length&&n.dispatch({type:_.campaign,campaign:b.campaign})}}return r(i)}}}}function po(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};if(n.type===_.setItemEnd){if(n.key===he)return O(O({},t),{anonymousId:n.value});if(n.key===ye)return O(O({},t),{userId:n.value})}switch(n.type){case _.identify:return Object.assign({},t,{userId:n.userId,traits:O(O({},t.traits),n.traits)});case _.reset:return[ye,he,Se].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function Tr(e){return{userId:e.getItem(ye),anonymousId:e.getItem(he),traits:e.getItem(Se)}}var rn=function(e){return We+"TEMP"+We+e};function ho(e){return function(t,n,r){var i=n.getState("user")[t];if(i)return i;if(r&&te(r)&&r[t])return r[t];var o=Tr(e)[t];return o||ce(rn(t))||null}}function go(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var c=s.userId,f=s.traits,h=s.options;if(s.type===_.reset&&([ye,Se,he].forEach(function(b){r(b)}),[de,Oe,"traits"].forEach(function(b){we(rn(b))})),s.type===_.identify){i(he)||n(he,be());var p=i(ye),y=i(Se)||{};p&&p!==c&&o.dispatch({type:_.userIdChanged,old:{userId:p,traits:y},new:{userId:c,traits:f},options:h}),c&&n(ye,c),f&&n(Se,O(O({},y),f))}return a(s)}}}}var _e={};function Pr(e,t){_e[e]&&ie(_e[e])&&(_e[e](t),delete _e[e])}function Nr(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(O(O({},e),{},{queue:!0})):mo(10).then(function(o){return Nr(e,t,n-10).then(r,i)})})}function mo(e){return new Promise(function(t){return setTimeout(t,e)})}function _r(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,c=i.user,f=!a.offline;if(f&&s&&s.actions&&s.actions.length){var h=s.actions.reduce(function(y,b,x){var I=o[b.plugin].loaded;return I?(y.process.push(b),y.processIndex.push(x)):(y.requeue.push(b),y.requeueIndex.push(x)),y},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(h.processIndex&&h.processIndex.length){h.processIndex.forEach(function(y){var b=s.actions[y],x=b.plugin,I=b.payload.type,E=r[x][I];if(E&&ie(E)){var w=vo(b.payload,c);E({payload:w,config:o[x].config,instance:n});var j="".concat(I,":").concat(x);e.dispatch(O(O({},w),{},{type:j,_:{called:j,from:"queueDrain"}}))}});var p=s.actions.filter(function(y,b){return!~h.processIndex.indexOf(b)});s.actions=p}}}function yo(e,t,n){return setInterval(function(){return _r(e,t,n)},3e3)}function vo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[de,Oe].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function bo(e){if(Array.isArray(e))return e}function wo(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var r=[],i=!0,o=!1,a,s;try{for(n=n.call(e);!(i=(a=n.next()).done)&&(r.push(a.value),!(t&&r.length===t));i=!0);}catch(c){o=!0,s=c}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Oo(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function xo(e,t){return bo(e)||wo(e,t)||kr(e,t)||Oo()}function So(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return Object.keys(e).filter(function(r){var i=n.plugins||{};return Xi(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var je=/Start$/,Ln=/^bootstrap/,Mn=/^ready/;function Eo(e,t,n,r,i){return Dt.apply(this,arguments)}function Dt(){return Dt=oe(X.mark(function e(t,n,r,i,o){var a,s,c,f,h,p,y,b,x,I,E;return X.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(a=ie(n)?n():n,s=t.type,c=s.replace(je,""),!(t._&&t._.called)){w.next=5;break}return w.abrupt("return",t);case 5:return f=r.getState(),h=So(a,f.plugins,t.options),s===_.initializeStart&&t.fromEnable&&(h=Object.keys(f.plugins).filter(function(j){var C=f.plugins[j];return t.plugins.includes(j)&&!C.initialized}).map(function(j){return a[j]})),p=h.map(function(j){return j.name}),y=Io(s,h),w.next=12,bt({action:t,data:{exact:y.before,namespaced:y.beforeNS},state:f,allPlugins:a,allMatches:y,instance:r,store:i,EVENTS:o});case 12:if(b=w.sent,!Cr(b,p.length)){w.next=15;break}return w.abrupt("return",b);case 15:if(s!==c){w.next=19;break}x=b,w.next=22;break;case 19:return w.next=21,bt({action:O(O({},b),{},{type:c}),data:{exact:y.during,namespaced:y.duringNS},state:f,allPlugins:a,allMatches:y,instance:r,store:i,EVENTS:o});case 21:x=w.sent;case 22:if(!s.match(je)){w.next=28;break}return I="".concat(c,"End"),w.next=26,bt({action:O(O({},x),{},{type:I}),data:{exact:y.after,namespaced:y.afterNS},state:f,allPlugins:a,allMatches:y,instance:r,store:i,EVENTS:o});case 26:E=w.sent,E.meta&&E.meta.hasCallback&&Pr(E.meta.rid,{payload:E});case 28:return w.abrupt("return",b);case 29:case"end":return w.stop()}},e)})),Dt.apply(this,arguments)}function bt(e){return Rt.apply(this,arguments)}function Rt(){return Rt=oe(X.mark(function e(t){var n,r,i,o,a,s,c,f,h,p,y,b,x,I,E,w,j,C;return X.wrap(function(S){for(;;)switch(S.prev=S.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,c=t.store,f=t.EVENTS,h=o.plugins,p=o.context,y=r.type,b=y.match(je),x=n.exact.map(function(N){return N.pluginName}),b&&(x=s.during.map(function(N){return N.pluginName})),I=Ao(i,x),E=n.exact.reduce(function(N,A){var T=A.pluginName,D=A.methodName,H=!1;return!D.match(/^initialize/)&&!D.match(/^reset/)&&(H=!h[T].loaded),p.offline&&D.match(/^(page|track|identify)/)&&(H=!0),N["".concat(T)]=H,N},{}),S.next=10,n.exact.reduce(function(){var N=oe(X.mark(function A(T,D,H){var $,R,V;return X.wrap(function(K){for(;;)switch(K.prev=K.next){case 0:return $=D.pluginName,K.next=3,T;case 3:if(R=K.sent,!(n.namespaced&&n.namespaced[$])){K.next=11;break}return K.next=7,n.namespaced[$].reduce(function(){var U=oe(X.mark(function B(F,G,v){var d,u,l,m;return X.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return u=function(k,P,L){return function(M,z){var W=L||P;return O(O({},k),{},{abort:{reason:M,plugins:z||[P],caller:y,from:W}})}},g.next=3,F;case 3:if(d=g.sent,!(!G.method||!ie(G.method))){g.next=6;break}return g.abrupt("return",d);case 6:return Po(G.methodName,G.pluginName),g.next=9,G.method({payload:d,instance:i,abort:u(d,$,G.pluginName),config:Un(G.pluginName,h,a),plugins:h});case 9:return l=g.sent,m=te(l)?l:{},g.abrupt("return",Promise.resolve(O(O({},d),m)));case 12:case"end":return g.stop()}},B)}));return function(B,F,G){return U.apply(this,arguments)}}(),Promise.resolve(r));case 7:V=K.sent,R[$]=V,K.next=12;break;case 11:R[$]=r;case 12:return K.abrupt("return",Promise.resolve(R));case 13:case"end":return K.stop()}},A)}));return function(A,T,D){return N.apply(this,arguments)}}(),Promise.resolve({}));case 10:return w=S.sent,S.next=13,n.exact.reduce(function(){var N=oe(X.mark(function A(T,D,H){var $,R,V,K,U,B,F,G,v,d,u,l,m;return X.wrap(function(g){for(;;)switch(g.prev=g.next){case 0:return $=n.exact.length===H+1,R=D.pluginName,V=a[R],g.next=5,T;case 5:if(K=g.sent,U=w[R]?w[R]:{},b&&(U=K),!Ot(U,R)){g.next=11;break}return wt({data:U,method:y,instance:i,pluginName:R,store:c}),g.abrupt("return",Promise.resolve(K));case 11:if(!Ot(K,R)){g.next=14;break}return $&&wt({data:K,method:y,instance:i,store:c}),g.abrupt("return",Promise.resolve(K));case 14:if(!(E.hasOwnProperty(R)&&E[R]===!0)){g.next=17;break}return c.dispatch({type:"queue",plugin:R,payload:U,_:{called:"queue",from:"queueMechanism"}}),g.abrupt("return",Promise.resolve(K));case 17:return B=I(w[R],a[R]),g.next=20,V[y]({abort:B.abort,payload:U,instance:i,config:Un(R,h,a),plugins:h});case 20:return F=g.sent,G=te(F)?F:{},v=O(O({},K),G),d=w[R],Ot(d,R)?wt({data:d,method:y,instance:i,pluginName:R,store:c}):(u="".concat(y,":").concat(R),l=(u.match(/:/g)||[]).length,l<2&&!y.match(Ln)&&!y.match(Mn)&&(m=b?v:U,i.dispatch(O(O({},m),{},{type:u,_:{called:u,from:"submethod"}})))),g.abrupt("return",Promise.resolve(v));case 26:case"end":return g.stop()}},A)}));return function(A,T,D){return N.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(j=S.sent,!(!y.match(je)&&!y.match(/^registerPlugin/)&&!y.match(Mn)&&!y.match(Ln)&&!y.match(/^params/)&&!y.match(/^userIdChanged/))){S.next=21;break}if(f.plugins.includes(y),!(j._&&j._.originalAction===y)){S.next=18;break}return S.abrupt("return",j);case 18:C=O(O({},j),{_:{originalAction:j.type,called:j.type,from:"engineEnd"}}),Cr(j,n.exact.length)&&!y.match(/End$/)&&(C=O(O({},C),{type:j.type+"Aborted"})),c.dispatch(C);case 21:return S.abrupt("return",j);case 22:case"end":return S.stop()}},e)})),Rt.apply(this,arguments)}function wt(e){var t=e.data,n=e.method;e.instance;var r=e.pluginName,i=e.store,o=r?":"+r:"",a=n+"Aborted"+o;i.dispatch(O(O({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Un(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function Dn(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function ko(e){return e.replace(je,"")}function Rn(e,t){var n=ko(e),r=t?":".concat(t):"",i="".concat(e).concat(r),o="".concat(n).concat(r),a="".concat(n,"End").concat(r);return[i,o,a]}function Io(e,t,n){var r=Rn(e),i=r.map(function(o){return Dn(o,t)});return t.reduce(function(o,a){var s=a.name,c=Rn(e,s),f=c.map(function(x){return Dn(x,t)}),h=xo(f,3),p=h[0],y=h[1],b=h[2];return p.length&&(o.beforeNS[s]=p),y.length&&(o.duringNS[s]=y),b.length&&(o.afterNS[s]=b),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function Ot(e,t){var n=e.abort;return n?n===!0?!0:zn(n,t)||n&&zn(n.plugins,t):!1}function Cr(e,t){var n=e.abort;if(!n)return!1;if(n===!0||et(n))return!0;var r=n.plugins;return $e(n)&&n.length===t||$e(r)&&r.length===t}function $e(e){return Array.isArray(e)}function zn(e,t){return!e||!$e(e)?!1:e.includes(t)}function Ao(e,t){return function(n,r,i){var o=r.config,a=r.name,s="".concat(a,".").concat(n.type);i&&(s=i.event);var c=n.type.match(je)?jo(a,s,t,i,n):To(n,s);return{payload:No(n),instance:e,config:o||{},abort:c}}}function jo(e,t,n,r,i){return function(o,a){var s=r?r.name:e,c=a&&$e(a)?a:n;if(r&&(c=a&&$e(a)?a:[e],!c.includes(e)||c.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(c)," input valid"));return O(O({},i),{},{abort:{reason:o,plugins:c,caller:t,_:s}})}}function To(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function Po(e,t){var n=Wn(e),r=n&&n.name===t;if(r){var i=Wn(n.method),o=i?"or "+i.method:"";throw new Error([t+" plugin is calling method "+e,"Plugins cant call self","Use ".concat(n.method," ").concat(o," in ").concat(t," plugin insteadof ").concat(e)].join(`
7
+ `))}}function Wn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function No(e){return Object.keys(e).reduce(function(t,n){return n==="type"||(te(e[n])?t[n]=Object.assign({},e[n]):t[n]=e[n]),t},{})}function _o(e,t,n){var r={};return function(i){return function(o){return function(){var a=oe(X.mark(function s(c){var f,h,p,y,b,x,I,E,w,j,C,S;return X.wrap(function(N){for(;;)switch(N.prev=N.next){case 0:if(f=c.type,h=c.abort,p=c.plugins,y=c,!h){N.next=4;break}return N.abrupt("return",o(c));case 4:if(f===_.enablePlugin&&i.dispatch({type:_.initializeStart,plugins:p,disabled:[],fromEnable:!0,meta:c.meta}),f===_.disablePlugin&&setTimeout(function(){return Pr(c.meta.rid,{payload:c})},0),f===_.initializeEnd&&(b=t(),x=Object.keys(b),I=x.filter(function(A){return p.includes(A)}).map(function(A){return b[A]}),E=[],w=[],j=c.disabled,C=I.map(function(A){var T=A.loaded,D=A.name;return Nr(A,T,1e4).then(function(H){return r[D]||(i.dispatch({type:_.pluginReadyType(D),name:D,events:Object.keys(A).filter(function($){return!Ut.includes($)})}),r[D]=!0),E=E.concat(D),A}).catch(function(H){if(H instanceof Error)throw new Error(H);return w=w.concat(H.name),H})}),Promise.all(C).then(function(A){var T={plugins:E,failed:w,disabled:j};setTimeout(function(){x.length===C.length+j.length&&i.dispatch(O(O({},{type:_.ready}),T))},0)})),f===_.bootstrap){N.next=13;break}return/^ready:([^:]*)$/.test(f)&&setTimeout(function(){return _r(i,t,e)},0),N.next=11,Eo(c,t,e,i,n);case 11:return S=N.sent,N.abrupt("return",o(S));case 13:return N.abrupt("return",o(y));case 14:case"end":return N.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}}function Co(e){return function(t){return function(n){return function(r){var i=r.type,o=r.key,a=r.value,s=r.options;if(i===_.setItem||i===_.removeItem){if(r.abort)return n(r);i===_.setItem?e.setItem(o,a,s):e.removeItem(o,s)}return n(r)}}}}function Lo(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function Mo(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Uo=Lo(function e(){var t=this;Mo(this,e),fe(this,"before",[]),fe(this,"after",[]),fe(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),fe(this,"removeMiddleware",function(n,r){var i=t[r].findIndex(function(o){return o===n});i!==-1&&(t[r]=[].concat(Me(t[r].slice(0,i)),Me(t[r].slice(i+1))))}),fe(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(c){return r.dispatch(c)}},s=t[n].map(function(c){return c(a)});return Ae.apply(void 0,Me(s))(i)(o)}}}})});function Do(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0,r={};if(n.type==="initialize:aborted")return t;if(/^registerPlugin:([^:]*)$/.test(n.type)){var i=$n(n.type,"registerPlugin"),o=e()[i];if(!o||!i)return t;var a=n.enabled;return r[i]={enabled:a,initialized:a?!o.initialize:!1,loaded:a?!!o.loaded():!1,config:o.config||{}},O(O({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=$n(n.type,_.initialize),c=e()[s];return!c||!s?t:(r[s]=O(O({},t[s]),{initialized:!0,loaded:!!c.loaded()}),O(O({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=O(O({},t[n.name]),{loaded:!0}),O(O({},t),r);switch(n.type){case _.disablePlugin:return O(O({},t),Kn(n.plugins,!1,t));case _.enablePlugin:return O(O({},t),Kn(n.plugins,!0,t));default:return t}}}function $n(e,t){return e.substring(t.length+1,e.length)}function Kn(e,t,n){return e.reduce(function(r,i){return r[i]=O(O({},n[i]),{enabled:t}),r},n)}function Lr(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var Ro={last:{},history:[]};function zo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Ro,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.event,i=t.properties,o=t.options,a=t.meta;switch(n){case _.track:var s=Lr(O(O({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return O(O({},e),{last:s,history:e.history.concat(s)});default:return e}}var Wo={actions:[]};function $o(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Wo,t=arguments.length>1?arguments[1]:void 0,n=t.type,r=t.payload;switch(n){case"queue":var i;return r&&r.type&&r.type===_.identify?i=[t].concat(e.actions):i=e.actions.concat(t),O(O({},e),{},{actions:i});case"dequeue":return[];default:return e}}var Mr=/#.*$/;function Ko(){if(ue){for(var e=document.getElementsByTagName("link"),t=0,n;n=e[t];t++)if(n.getAttribute("rel")==="canonical")return n.getAttribute("href")}}function Ho(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(Mr,""):"";return"/"+r}function Vo(e){var t=Ko();return t?t.match(/\?/)?t:t+e:window.location.href.replace(Mr,"")}var Go=function(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(!ue)return e;var t=document,n=t.title,r=t.referrer,i=window,o=i.location,a=i.innerWidth,s=i.innerHeight,c=o.hash,f=o.search,h=Vo(f),p={title:n,url:h,path:Ho(h),hash:c,search:f,width:a,height:s};return r&&r!==""&&(p.referrer=r),O(O({},p),e)},qo={last:{},history:[]};function Fo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qo,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case _.page:var o=Lr(O({properties:n,meta:i},Object.keys(r).length&&{options:r}));return O(O({},e),{last:o,history:e.history.concat(o)});default:return e}}function Jo(){if(!ue)return!1;var e=navigator.appVersion;return~e.indexOf("Win")?"Windows":~e.indexOf("Mac")?"MacOS":~e.indexOf("X11")?"UNIX":~e.indexOf("Linux")?"Linux":"Unknown OS"}var Ur,Dr,Rr,zr;Ur=Jo(),Dr=ue?document.referrer:null,Rr=qi(),zr=Fi();var Hn={initialized:!1,sessionId:be(),app:null,version:null,debug:!1,offline:ue?!navigator.onLine:!1,os:{name:Ur},userAgent:ue?navigator.userAgent:"node",library:{name:Mt,version:"0.10.22"},timezone:zr,locale:Rr,campaign:{},referrer:Dr};function Bo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hn,t=arguments.length>1?arguments[1]:void 0,n=e.initialized,r=t.type,i=t.campaign;switch(r){case _.campaign:return O(O({},e),{campaign:i});case _.offline:return O(O({},e),{offline:!0});case _.online:return O(O({},e),{offline:!1});default:return n?e:O(O(O({},Hn),e),{initialized:!0})}}var Xo=["plugins","reducers","storage"];function Qo(e){return Object.keys(e).reduce(function(t,n){return Xo.includes(n)||(t[n]=e[n]),t},{})}function Yo(e,t,n){if(ue){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function Zo(){return Promise.resolve(!navigator.onLine)}function ea(e){var t=function(r){return Zo().then(e)},n=Yo.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function Wr(){return se(Mt,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var c=s.action||s;return Ie[ke][Mt].push(c),o(s)};return Object.assign(i,{dispatch:a})}}}function Vn(e){return function(){return Ae(Ae.apply(null,arguments),Wr())}}function xt(e){return e?Qi(e)?e:[e]:[]}function ta(e){for(var t=e||Array.prototype.slice.call(arguments),n,r=0;r<t.length;r++)if(ie(t[r])){n=t[r];break}return n}function na(){return new Date().getTime()}function ra(e,t){return function(n){t&&t(n),e(n)}}function Gn(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,n=arguments.length>2?arguments[2]:void 0,r=be();return t&&(_e[r]=ra(t,ta(n))),O(O({},e),{},{rid:r,ts:na()},t?{hasCallback:!0}:{})}function ia(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(u,l){if(ie(l))return u.middlewares=u.middlewares.concat(l),u;if(l.NAMESPACE&&(l.name=l.NAMESPACE),!l.name)throw new Error(so+"1");var m=l.EVENTS?Object.keys(l.EVENTS).map(function(z){return l.EVENTS[z]}):[],g=l.enabled!==!1,k=!(l.config&&l.config.enabled===!1);u.pluginEnabled[l.name]=g&&k,delete l.enabled,l.methods&&(u.methods[l.name]=Object.keys(l.methods).reduce(function(z,W){return z[W]=d(l.methods[W]),z},{}),delete l.methods);var P=Object.keys(l),L=P.concat(m),M=new Set(u.events.concat(L));if(u.events=Array.from(M),u.pluginsArray=u.pluginsArray.concat(l),u.plugins[l.name])throw new Error(l.name+"AlreadyLoaded");return u.plugins[l.name]=l,u.plugins[l.name].loaded||(u.plugins[l.name].loaded=function(){return!0}),u},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:ce,setItem:se,removeItem:we},o=ho(i),a=r.plugins,s=r.events.filter(function(u){return!Ut.includes(u)}).sort(),c=new Set(s.concat(ot).filter(function(u){return!Ut.includes(u)})),f=Array.from(c).sort(),h=function(){return a},p=new Uo,y=p.addMiddleware,b=p.removeMiddleware,x=p.dynamicMiddlewares,I=function(){throw new Error("Abort disabled inListener")},E=Ji(),w=Tr(i),j=O(O(O(O({},w),n),E.an_uid?{userId:E.an_uid}:{}),E.an_aid?{anonymousId:E.an_aid}:{});j.anonymousId||(j.anonymousId=be());var C=O({enable:function(u,l){return new Promise(function(m){U.dispatch({type:_.enablePlugin,plugins:xt(u),_:{originalAction:_.enablePlugin}},m,[l])})},disable:function(u,l){return new Promise(function(m){U.dispatch({type:_.disablePlugin,plugins:xt(u),_:{originalAction:_.disablePlugin}},m,[l])})}},r.methods),S={identify:function(){var u=oe(X.mark(function m(g,k,P,L){var M,z,W,q,qe;return X.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return M=et(g)?g:null,z=te(g)?g:k,W=P||{},q=S.user(),se(rn(de),M),qe=M||z.userId||o(de,S,z),Fe.abrupt("return",new Promise(function(mi){U.dispatch(O({type:_.identifyStart,userId:qe,traits:z||{},options:W,anonymousId:q.anonymousId},q.id&&q.id!==M&&{previousId:q.id}),mi,[k,P,L])}));case 7:case"end":return Fe.stop()}},m)}));function l(m,g,k,P){return u.apply(this,arguments)}return l}(),track:function(){var u=oe(X.mark(function m(g,k,P,L){var M,z,W;return X.wrap(function(q){for(;;)switch(q.prev=q.next){case 0:if(M=te(g)?g.event:g,!(!M||!et(M))){q.next=3;break}throw new Error("EventMissing");case 3:return z=te(g)?g:k||{},W=te(P)?P:{},q.abrupt("return",new Promise(function(qe){U.dispatch({type:_.trackStart,event:M,properties:z,options:W,userId:o(de,S,k),anonymousId:o(Oe,S,k)},qe,[k,P,L])}));case 6:case"end":return q.stop()}},m)}));function l(m,g,k,P){return u.apply(this,arguments)}return l}(),page:function(){var u=oe(X.mark(function m(g,k,P){var L,M;return X.wrap(function(z){for(;;)switch(z.prev=z.next){case 0:return L=te(g)?g:{},M=te(k)?k:{},z.abrupt("return",new Promise(function(W){U.dispatch({type:_.pageStart,properties:Go(L),options:M,userId:o(de,S,L),anonymousId:o(Oe,S,L)},W,[g,k,P])}));case 3:case"end":return z.stop()}},m)}));function l(m,g,k){return u.apply(this,arguments)}return l}(),user:function(u){if(u===de||u==="id")return o(de,S);if(u===Oe||u==="anonId")return o(Oe,S);var l=S.getState("user");return u?Sn(l,u):l},reset:function(u){return new Promise(function(l){U.dispatch({type:_.resetStart},l,u)})},ready:function(u){return S.on(_.ready,u)},on:function(u,l){if(!u||!ie(l))return!1;if(u===_.bootstrap)throw new Error(".on disabled for "+u);var m=/Start$|Start:/;if(u==="*"){var g=function(M){return function(z){return function(W){return W.type.match(m)&&l({payload:W,instance:S,plugins:a}),z(W)}}},k=function(M){return function(z){return function(W){return W.type.match(m)||l({payload:W,instance:S,plugins:a}),z(W)}}};return y(g,Qe),y(k,Ye),function(){b(g,Qe),b(k,Ye)}}var P=u.match(m)?Qe:Ye,L=function(M){return function(z){return function(W){return W.type===u&&l({payload:W,instance:S,plugins:a,abort:I}),z(W)}}};return y(L,P),function(){return b(L,P)}},once:function(u,l){if(!u||!ie(l))return!1;if(u===_.bootstrap)throw new Error(".once disabled for "+u);var m=S.on(u,function(g){var k=g.payload;l({payload:k,instance:S,plugins:a,abort:I}),m()});return m},getState:function(u){var l=U.getState();return u?Sn(l,u):Object.assign({},l)},dispatch:function(u){var l=et(u)?{type:u}:u;if(lo(l.type))throw new Error("reserved action "+l.type);var m=u._||{},g=O(O({},l),{},{_:O({originalAction:l.type},m)});U.dispatch(g)},enablePlugin:C.enable,disablePlugin:C.disable,plugins:C,storage:{getItem:i.getItem,setItem:function(u,l,m){U.dispatch({type:_.setItemStart,key:u,value:l,options:m})},removeItem:function(u,l){U.dispatch({type:_.removeItemStart,key:u,options:l})}},setAnonymousId:function(u,l){S.storage.setItem(he,u,l)},events:{all:f,core:ot,plugins:s}},N=function(u){return function(l){return function(m){return m.meta||(m.meta=Gn()),l(m)}}},A=r.middlewares.concat([N,x(Qe),_o(S,h,{all:f,plugins:s}),Co(i),fo(S),go(S),x(Ye)]),T={context:Bo,user:po(i),page:Fo,track:zo,plugins:Do(h),queue:$o},D=Ae,H=Ae;if(ue&&e.debug){var $=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;$&&(D=$({trace:!0,traceLimit:25})),H=function(){return arguments.length===0?Wr():te(Q(arguments[0]))?Vn():Vn().apply(null,arguments)}}var R=Qo(e),V=r.pluginsArray.reduce(function(u,l){var m=l.name,g=l.config,k=l.loaded,P=r.pluginEnabled[m];return u[m]={enabled:P,initialized:P?!l.initialize:!1,loaded:!!k(),config:g||{}},u},{}),K={context:R,user:j,plugins:V},U=jr(oo(O(O({},T),t)),K,H(D(ao.apply(void 0,Me(A)))));function B(u){return function(l,m,g){var k=Gn(l.meta,m,xt(g)),P=O(O({},l),{meta:k});return u.apply(null,[P])}}U.dispatch=B(U.dispatch);var F=Object.keys(a);U.dispatch({type:_.bootstrap,plugins:F,config:R,params:E,user:j,initialUser:n,persistedUser:w});var G=F.filter(function(u){return r.pluginEnabled[u]}),v=F.filter(function(u){return!r.pluginEnabled[u]});U.dispatch({type:_.registerPlugins,plugins:F,enabled:r.pluginEnabled}),r.pluginsArray.map(function(u,l){var m=u.bootstrap,g=u.config,k=u.name;m&&ie(m)&&m({instance:S,config:g,payload:u}),U.dispatch({type:_.registerPluginType(k),name:k,enabled:r.pluginEnabled[k],plugin:u}),r.pluginsArray.length===l+1&&U.dispatch({type:_.initializeStart,plugins:G,disabled:v})}),ea(function(u){U.dispatch({type:u?_.offline:_.online})}),yo(U,h,S);function d(u){return function(){for(var l=Array.prototype.slice.call(arguments),m=new Array(u.length),g=0;g<l.length;g++)m[g]=l[g];return m[m.length]=S,u.apply({instance:S},m)}}return S}var Qe="before",Ye="after",De="cookie",me=Hr(),on=pt,$r=pt;function Kr(e){return me?pt(e,"",-1):we(e)}function Hr(){if(me!==void 0)return me;var e="cookiecookie";try{pt(e,e),me=document.cookie.indexOf(e)!==-1,Kr(e)}catch{me=!1}return me}function pt(e,t,n,r,i,o){if(typeof window<"u"){var a=arguments.length>1;return me===!1&&(a?se(e,t):ce(e)),a?document.cookie=e+"="+encodeURIComponent(t)+(n?"; expires="+new Date(+new Date+1e3*n).toUTCString()+(r?"; path="+r:"")+(i?"; domain="+i:"")+(o?"; secure":""):""):decodeURIComponent((("; "+document.cookie).split("; "+e+"=")[1]||"").split(";")[0])}}var Re="localStorage",oa=dt.bind(null,"localStorage"),an=le("localStorage","getItem",ce),aa=le("localStorage","setItem",se),Vr=le("localStorage","removeItem",we),ze="sessionStorage",sa=dt.bind(null,"sessionStorage");le("sessionStorage","getItem",ce);le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var qn,Gr="any",qr="*",zt=typeof process<"u"?process:{};(qn=zt.env)!=null&&qn.NODE_ENV;var ua=typeof window<"u";zt.versions!=null&&zt.versions.node!=null;typeof Deno<"u"&&Deno.core;ua&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ht(e,t){return typeof t===e}ht.bind(null,"function");var ca=ht.bind(null,"string"),xe=ht.bind(null,"undefined");ht.bind(null,"boolean");function la(e){return e&&(typeof e=="object"||e!==null)}function da(e){if(!la(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Ee(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(da(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var fa=oa(),pa=sa(),ha=Hr();function Fr(e,t){if(e){var n=sn(t),r=!dn(n),i=un(n)?Ee(localStorage.getItem(e)):void 0;if(r&&!xe(i))return i;var o=cn(n)?Ee(on(e)):void 0;if(r&&o)return o;var a=ln(n)?Ee(sessionStorage.getItem(e)):void 0;if(r&&a)return a;var s=ce(e);return r?s:{localStorage:i,sessionStorage:a,cookie:o,global:s}}}function ga(e,t,n){if(e&&!xe(t)){var r={},i=sn(n),o=JSON.stringify(t),a=!dn(i);return un(i)&&(r[Re]=Ze(Re,t,Ee(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[Re]:cn(i)&&(r[De]=Ze(De,t,Ee(on(e))),$r(e,o),a)?r[De]:ln(i)&&(r[ze]=Ze(ze,t,Ee(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[ze]:(r[Le]=Ze(Le,t,ce(e)),se(e,t),a?r[Le]:r)}}function ma(e,t){if(e){var n=sn(t),r=Fr(e,qr),i={};return!xe(r.localStorage)&&un(n)&&(localStorage.removeItem(e),i[Re]=r.localStorage),!xe(r.cookie)&&cn(n)&&(Kr(e),i[De]=r.cookie),!xe(r.sessionStorage)&&ln(n)&&(sessionStorage.removeItem(e),i[ze]=r.sessionStorage),!xe(r.global)&&gt(n,Le)&&(we(e),i[Le]=r.global),i}}function sn(e){return e?ca(e)?e:e.storage:Gr}function un(e){return fa&&gt(e,Re)}function cn(e){return ha&&gt(e,De)}function ln(e){return pa&&gt(e,ze)}function dn(e){return e===qr||e==="all"}function gt(e,t){return e===Gr||e===t||dn(e)}function Ze(e,t,n){return{location:e,current:t,previous:n}}var ya={setItem:ga,getItem:Fr,removeItem:ma};function va(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Fn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Jn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Fn(Object(n),!0).forEach(function(r){va(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Fn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function ba(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:ya};return ia(Jn(Jn({},t),e))}function ne(e){"@babel/helpers - typeof";return ne=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ne(e)}function wa(e,t){if(ne(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t);if(ne(r)!="object")return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Oa(e){var t=wa(e,"string");return ne(t)=="symbol"?t:t+""}function fn(e,t,n){return(t=Oa(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Bn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,r)}return n}function Y(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Bn(Object(n),!0).forEach(function(r){fn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Bn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function Jr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Br={exports:{}},Xr={exports:{}};(function(e){function t(n){"@babel/helpers - typeof";return e.exports=t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports})(Xr);var xa=Xr.exports;(function(e){var t=xa.default;function n(){e.exports=n=function(){return i},e.exports.__esModule=!0,e.exports.default=e.exports;var r,i={},o=Object.prototype,a=o.hasOwnProperty,s=Object.defineProperty||function(d,u,l){d[u]=l.value},c=typeof Symbol=="function"?Symbol:{},f=c.iterator||"@@iterator",h=c.asyncIterator||"@@asyncIterator",p=c.toStringTag||"@@toStringTag";function y(d,u,l){return Object.defineProperty(d,u,{value:l,enumerable:!0,configurable:!0,writable:!0}),d[u]}try{y({},"")}catch{y=function(d,u,l){return d[u]=l}}function b(d,u,l,m){var g=u&&u.prototype instanceof S?u:S,k=Object.create(g.prototype),P=new G(m||[]);return s(k,"_invoke",{value:K(d,l,P)}),k}function x(d,u,l){try{return{type:"normal",arg:d.call(u,l)}}catch(m){return{type:"throw",arg:m}}}i.wrap=b;var I="suspendedStart",E="suspendedYield",w="executing",j="completed",C={};function S(){}function N(){}function A(){}var T={};y(T,f,function(){return this});var D=Object.getPrototypeOf,H=D&&D(D(v([])));H&&H!==o&&a.call(H,f)&&(T=H);var $=A.prototype=S.prototype=Object.create(T);function R(d){["next","throw","return"].forEach(function(u){y(d,u,function(l){return this._invoke(u,l)})})}function V(d,u){function l(g,k,P,L){var M=x(d[g],d,k);if(M.type!=="throw"){var z=M.arg,W=z.value;return W&&t(W)=="object"&&a.call(W,"__await")?u.resolve(W.__await).then(function(q){l("next",q,P,L)},function(q){l("throw",q,P,L)}):u.resolve(W).then(function(q){z.value=q,P(z)},function(q){return l("throw",q,P,L)})}L(M.arg)}var m;s(this,"_invoke",{value:function(g,k){function P(){return new u(function(L,M){l(g,k,L,M)})}return m=m?m.then(P,P):P()}})}function K(d,u,l){var m=I;return function(g,k){if(m===w)throw Error("Generator is already running");if(m===j){if(g==="throw")throw k;return{value:r,done:!0}}for(l.method=g,l.arg=k;;){var P=l.delegate;if(P){var L=U(P,l);if(L){if(L===C)continue;return L}}if(l.method==="next")l.sent=l._sent=l.arg;else if(l.method==="throw"){if(m===I)throw m=j,l.arg;l.dispatchException(l.arg)}else l.method==="return"&&l.abrupt("return",l.arg);m=w;var M=x(d,u,l);if(M.type==="normal"){if(m=l.done?j:E,M.arg===C)continue;return{value:M.arg,done:l.done}}M.type==="throw"&&(m=j,l.method="throw",l.arg=M.arg)}}}function U(d,u){var l=u.method,m=d.iterator[l];if(m===r)return u.delegate=null,l==="throw"&&d.iterator.return&&(u.method="return",u.arg=r,U(d,u),u.method==="throw")||l!=="return"&&(u.method="throw",u.arg=new TypeError("The iterator does not provide a '"+l+"' method")),C;var g=x(m,d.iterator,u.arg);if(g.type==="throw")return u.method="throw",u.arg=g.arg,u.delegate=null,C;var k=g.arg;return k?k.done?(u[d.resultName]=k.value,u.next=d.nextLoc,u.method!=="return"&&(u.method="next",u.arg=r),u.delegate=null,C):k:(u.method="throw",u.arg=new TypeError("iterator result is not an object"),u.delegate=null,C)}function B(d){var u={tryLoc:d[0]};1 in d&&(u.catchLoc=d[1]),2 in d&&(u.finallyLoc=d[2],u.afterLoc=d[3]),this.tryEntries.push(u)}function F(d){var u=d.completion||{};u.type="normal",delete u.arg,d.completion=u}function G(d){this.tryEntries=[{tryLoc:"root"}],d.forEach(B,this),this.reset(!0)}function v(d){if(d||d===""){var u=d[f];if(u)return u.call(d);if(typeof d.next=="function")return d;if(!isNaN(d.length)){var l=-1,m=function g(){for(;++l<d.length;)if(a.call(d,l))return g.value=d[l],g.done=!1,g;return g.value=r,g.done=!0,g};return m.next=m}}throw new TypeError(t(d)+" is not iterable")}return N.prototype=A,s($,"constructor",{value:A,configurable:!0}),s(A,"constructor",{value:N,configurable:!0}),N.displayName=y(A,p,"GeneratorFunction"),i.isGeneratorFunction=function(d){var u=typeof d=="function"&&d.constructor;return!!u&&(u===N||(u.displayName||u.name)==="GeneratorFunction")},i.mark=function(d){return Object.setPrototypeOf?Object.setPrototypeOf(d,A):(d.__proto__=A,y(d,p,"GeneratorFunction")),d.prototype=Object.create($),d},i.awrap=function(d){return{__await:d}},R(V.prototype),y(V.prototype,h,function(){return this}),i.AsyncIterator=V,i.async=function(d,u,l,m,g){g===void 0&&(g=Promise);var k=new V(b(d,u,l,m),g);return i.isGeneratorFunction(u)?k:k.next().then(function(P){return P.done?P.value:k.next()})},R($),y($,p,"Generator"),y($,f,function(){return this}),y($,"toString",function(){return"[object Generator]"}),i.keys=function(d){var u=Object(d),l=[];for(var m in u)l.push(m);return l.reverse(),function g(){for(;l.length;){var k=l.pop();if(k in u)return g.value=k,g.done=!1,g}return g.done=!0,g}},i.values=v,G.prototype={constructor:G,reset:function(d){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(F),!d)for(var u in this)u.charAt(0)==="t"&&a.call(this,u)&&!isNaN(+u.slice(1))&&(this[u]=r)},stop:function(){this.done=!0;var d=this.tryEntries[0].completion;if(d.type==="throw")throw d.arg;return this.rval},dispatchException:function(d){if(this.done)throw d;var u=this;function l(M,z){return k.type="throw",k.arg=d,u.next=M,z&&(u.method="next",u.arg=r),!!z}for(var m=this.tryEntries.length-1;m>=0;--m){var g=this.tryEntries[m],k=g.completion;if(g.tryLoc==="root")return l("end");if(g.tryLoc<=this.prev){var P=a.call(g,"catchLoc"),L=a.call(g,"finallyLoc");if(P&&L){if(this.prev<g.catchLoc)return l(g.catchLoc,!0);if(this.prev<g.finallyLoc)return l(g.finallyLoc)}else if(P){if(this.prev<g.catchLoc)return l(g.catchLoc,!0)}else{if(!L)throw Error("try statement without catch or finally");if(this.prev<g.finallyLoc)return l(g.finallyLoc)}}}},abrupt:function(d,u){for(var l=this.tryEntries.length-1;l>=0;--l){var m=this.tryEntries[l];if(m.tryLoc<=this.prev&&a.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var g=m;break}}g&&(d==="break"||d==="continue")&&g.tryLoc<=u&&u<=g.finallyLoc&&(g=null);var k=g?g.completion:{};return k.type=d,k.arg=u,g?(this.method="next",this.next=g.finallyLoc,C):this.complete(k)},complete:function(d,u){if(d.type==="throw")throw d.arg;return d.type==="break"||d.type==="continue"?this.next=d.arg:d.type==="return"?(this.rval=this.arg=d.arg,this.method="return",this.next="end"):d.type==="normal"&&u&&(this.next=u),C},finish:function(d){for(var u=this.tryEntries.length-1;u>=0;--u){var l=this.tryEntries[u];if(l.finallyLoc===d)return this.complete(l.completion,l.afterLoc),F(l),C}},catch:function(d){for(var u=this.tryEntries.length-1;u>=0;--u){var l=this.tryEntries[u];if(l.tryLoc===d){var m=l.completion;if(m.type==="throw"){var g=m.arg;F(l)}return g}}throw Error("illegal catch attempt")},delegateYield:function(d,u,l){return this.delegate={iterator:v(d),resultName:u,nextLoc:l},this.method==="next"&&(this.arg=r),C}},i}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports})(Br);var Sa=Br.exports,tt=Sa(),Ea=tt;try{regeneratorRuntime=tt}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=tt:Function("r","regeneratorRuntime = r")(tt)}var J=Jr(Ea);function Xn(e,t,n,r,i,o,a){try{var s=e[o](a),c=s.value}catch(f){return void n(f)}s.done?t(c):Promise.resolve(c).then(r,i)}function re(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var o=e.apply(t,n);function a(c){Xn(o,r,i,a,s,"next",c)}function s(c){Xn(o,r,i,a,s,"throw",c)}a(void 0)})}}var Qn=function(){};function ka(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,c=t.onEmpty||Qn,f=t.onPause||Qn;function h(y){clearInterval(n);var b=o.splice(0,a);return b.length&&e(b,o),o.length?y?h():p():(i=!1,c(o))}function p(){i=!0,n=setInterval(h,s)}return o.length&&p(),{flush:function(y){h(y)},resume:h,push:function(y){return(r=o.push(y))>=a&&!t.throttle&&h(),i||p(),r},size:function(){return o.length},pause:function(y){y&&h(),clearInterval(n),i=!1,f(o)}}}dt.bind(null,"sessionStorage");var Ia=le("sessionStorage","getItem",ce),Aa=le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var Qr="__session",Yn=["id","createdAt","created"];function Wt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function Yr(){var e=Wt(),t=e[0],n=e[1];return{id:be(),created:n,createdAt:t}}var ja={session:[Ia,Aa],page:[ce,se]};function mt(e,t){for(var n=ja[e],r=n[0],i=n[1],o=Yr(),a=!1,s={},c=0;c<Yn.length;c++){var f=Yn[c],h="__"+e+"__session__"+f,p=r(h);a=t||!p,(t||!t&&!p)&&i(h,o[f]);var y=p&&!t?p:o[f],b=f!=="created"?y:Number(y);s[f]=b}return pn(s,a)}function pn(e,t){var n=Date.now();return e.elapsed=n-e.created,e.expires&&(e.remaining=Math.max(e.expires-n,0),e.isExpired=e.remaining===0),e.isNew=t,e}function Ke(e,t){e===void 0&&(e=30);var n=on(Qr),r=n?JSON.parse(n):at(e);return t?r:pn(r,!n)}function at(e,t,n){e===void 0&&(e=30);var r=n?Ke(e,!0):Yr(),i=60*e,o=r.created;if(n){var a=Wt(),s=a[0],c=a[1];r.modified=c,r.modifiedAt=s,o=c}var f=Wt(o+1e3*i),h=f[0];return r.expires=f[1],r.expiresAt=h,r.duration=1e3*i,t&&(r=Object.assign(r,t)),$r(Qr,JSON.stringify(r),i),pn(r,!n)}var Ta=function(e,t){return at(e,t,!0)},Zr=mt.bind(null,"session"),Pa=mt.bind(null,"session",!0),hn=mt.bind(null,"page"),Zn=mt.bind(null,"page",!0),ve=typeof window<"u";function Na(e){return typeof e=="string"}function er(e){return typeof e=="boolean"}var _a=function(e){return Ca(e)&&!La(e)};function Ca(e){return!!e&&typeof e=="object"}function La(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||Da(e)}var Ma=typeof Symbol=="function"&&Symbol.for,Ua=Ma?Symbol.for("react.element"):60103;function Da(e){return e.$$typeof===Ua}function Ra(e){return Array.isArray(e)?[]:{}}function He(e,t){return t.clone!==!1&&t.isMergeableObject(e)?Te(Ra(e),e,t):e}function za(e,t,n){return e.concat(t).map(function(r){return He(r,n)})}function Wa(e,t){if(!t.customMerge)return Te;var n=t.customMerge(e);return typeof n=="function"?n:Te}function $a(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter(function(t){return Object.propertyIsEnumerable.call(e,t)}):[]}function tr(e){return Object.keys(e).concat($a(e))}function ei(e,t){try{return t in e}catch{return!1}}function Ka(e,t){return ei(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))}function Ha(e,t,n){var r={};return n.isMergeableObject(e)&&tr(e).forEach(function(i){r[i]=He(e[i],n)}),tr(t).forEach(function(i){Ka(e,i)||(ei(e,i)&&n.isMergeableObject(t[i])?r[i]=Wa(i,n)(e[i],t[i],n):r[i]=He(t[i],n))}),r}function Te(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||za,n.isMergeableObject=n.isMergeableObject||_a,n.cloneUnlessOtherwiseSpecified=He;var r=Array.isArray(t),i=Array.isArray(e),o=r===i;return o?r?n.arrayMerge(e,t,n):Ha(e,t,n):He(t,n)}Te.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(n,r){return Te(n,r,t)},{})};var Va=Te,Ga=Va,qa=Jr(Ga);var $t=new TextEncoder,Fa={appstream2:"appstream",cloudhsmv2:"cloudhsm",email:"ses",marketplace:"aws-marketplace",mobile:"AWSMobileHubService",pinpoint:"mobiletargeting",queue:"sqs","git-codecommit":"codecommit","mturk-requester-sandbox":"mturk-requester","personalize-runtime":"personalize"},Ja=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),Kt=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:c}){if(t==null)throw new TypeError("accessKeyId is a required option");if(n==null)throw new TypeError("secretAccessKey is a required option");this.accessKeyId=t,this.secretAccessKey=n,this.sessionToken=r,this.service=i,this.region=o,this.cache=a||new Map,this.retries=s??10,this.initRetryMs=c||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:c}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=c!=null&&s.has("X-Amz-Content-Sha256")?c:await t.clone().arrayBuffer()),t=a}let r=new Ht(Object.assign({url:t.toString()},n,this,n&&n.aws)),i=Object.assign({},n,await r.sign());delete i.aws;try{return new Request(i.url.toString(),i)}catch(o){if(o instanceof TypeError)return new Request(i.url.toString(),Object.assign({duplex:"half"},i));throw o}}async fetch(t,n){for(let r=0;r<=this.retries;r++){let i=fetch(await this.sign(t,n));if(r===this.retries)return i;let o=await i;if(o.status<500&&o.status!==429)return o;await new Promise(a=>setTimeout(a,Math.random()*this.initRetryMs*Math.pow(2,r)))}throw new Error("An unknown error occurred, ensure retries is not negative")}},Ht=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:c,region:f,cache:h,datetime:p,signQuery:y,appendSessionToken:b,allHeaders:x,singleEncode:I}){if(n==null)throw new TypeError("url is a required option");if(o==null)throw new TypeError("accessKeyId is a required option");if(a==null)throw new TypeError("secretAccessKey is a required option");this.method=t||(i?"POST":"GET"),this.url=new URL(n),this.headers=new Headers(r||{}),this.body=i,this.accessKeyId=o,this.secretAccessKey=a,this.sessionToken=s;let E,w;(!c||!f)&&([E,w]=Ba(this.url,this.headers)),this.service=c||E||"",this.region=f||w||"us-east-1",this.cache=h||new Map,this.datetime=p||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=y,this.appendSessionToken=b||this.service==="iotdevicegateway",this.headers.delete("Host"),this.service==="s3"&&!this.signQuery&&!this.headers.has("X-Amz-Content-Sha256")&&this.headers.set("X-Amz-Content-Sha256","UNSIGNED-PAYLOAD");let j=this.signQuery?this.url.searchParams:this.headers;if(j.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&j.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(S=>x||!Ja.has(S)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(S=>S+":"+(S==="host"?this.url.host:(this.headers.get(S)||"").replace(/\s+/g," "))).join(`
8
+ `),this.credentialString=[this.datetime.slice(0,8),this.region,this.service,"aws4_request"].join("/"),this.signQuery&&(this.service==="s3"&&!j.has("X-Amz-Expires")&&j.set("X-Amz-Expires","86400"),j.set("X-Amz-Algorithm","AWS4-HMAC-SHA256"),j.set("X-Amz-Credential",this.accessKeyId+"/"+this.credentialString),j.set("X-Amz-SignedHeaders",this.signedHeaders)),this.service==="s3")try{this.encodedPath=decodeURIComponent(this.url.pathname.replace(/\+/g," "))}catch{this.encodedPath=this.url.pathname}else this.encodedPath=this.url.pathname.replace(/\/+/g,"/");I||(this.encodedPath=encodeURIComponent(this.encodedPath).replace(/%2F/g,"/")),this.encodedPath=ir(this.encodedPath);let C=new Set;this.encodedSearch=[...this.url.searchParams].filter(([S])=>{if(!S)return!1;if(this.service==="s3"){if(C.has(S))return!1;C.add(S)}return!0}).map(S=>S.map(N=>ir(encodeURIComponent(N)))).sort(([S,N],[A,T])=>S<A?-1:S>A?1:N<T?-1:N>T?1:0).map(S=>S.join("=")).join("&")}async sign(){return this.signQuery?(this.url.searchParams.set("X-Amz-Signature",await this.signature()),this.sessionToken&&this.appendSessionToken&&this.url.searchParams.set("X-Amz-Security-Token",this.sessionToken)):this.headers.set("Authorization",await this.authHeader()),{method:this.method,url:this.url,headers:this.headers,body:this.body}}async authHeader(){return["AWS4-HMAC-SHA256 Credential="+this.accessKeyId+"/"+this.credentialString,"SignedHeaders="+this.signedHeaders,"Signature="+await this.signature()].join(", ")}async signature(){let t=this.datetime.slice(0,8),n=[this.secretAccessKey,t,this.region,this.service].join(),r=this.cache.get(n);if(!r){let i=await Pe("AWS4"+this.secretAccessKey,t),o=await Pe(i,this.region),a=await Pe(o,this.service);r=await Pe(a,"aws4_request"),this.cache.set(n,r)}return St(await Pe(r,await this.stringToSign()))}async stringToSign(){return["AWS4-HMAC-SHA256",this.datetime,this.credentialString,St(await nr(await this.canonicalString()))].join(`
9
+ `)}async canonicalString(){return[this.method.toUpperCase(),this.encodedPath,this.encodedSearch,this.canonicalHeaders+`
10
+ `,this.signedHeaders,await this.hexBodyHash()].join(`
11
+ `)}async hexBodyHash(){let t=this.headers.get("X-Amz-Content-Sha256")||(this.service==="s3"&&this.signQuery?"UNSIGNED-PAYLOAD":null);if(t==null){if(this.body&&typeof this.body!="string"&&!("byteLength"in this.body))throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");t=St(await nr(this.body||""))}return t}};async function Pe(e,t){let n=await crypto.subtle.importKey("raw",typeof e=="string"?$t.encode(e):e,{name:"HMAC",hash:{name:"SHA-256"}},!1,["sign"]);return crypto.subtle.sign("HMAC",n,$t.encode(t))}async function nr(e){return crypto.subtle.digest("SHA-256",typeof e=="string"?$t.encode(e):e)}var rr=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function St(e){let t=new Uint8Array(e),n="";for(let r=0;r<t.length;r++){let i=t[r];n+=rr[i>>>4&15],n+=rr[i&15]}return n}function ir(e){return e.replace(/[!'()*]/g,t=>"%"+t.charCodeAt(0).toString(16).toUpperCase())}function Ba(e,t){let{hostname:n,pathname:r}=e;if(n.endsWith(".on.aws")){let s=n.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);return s!=null?["lambda",s[1]||""]:["",""]}if(n.endsWith(".r2.cloudflarestorage.com"))return["s3","auto"];if(n.endsWith(".backblazeb2.com")){let s=n.match(/^(?:[^.]{1,63}\.)?s3\.([^.]{1,63})\.backblazeb2\.com$/);return s!=null?["s3",s[1]||""]:["",""]}let i=n.replace("dualstack.","").match(/([^.]{1,63})\.(?:([^.]{0,63})\.)?amazonaws\.com(?:\.cn)?$/),o=i&&i[1]||"",a=i&&i[2];if(a==="us-gov")a="us-gov-west-1";else if(a==="s3"||a==="s3-accelerate")a="us-east-1",o="s3";else if(o==="iot")n.startsWith("iot.")?o="execute-api":n.startsWith("data.jobs.iot.")?o="iot-jobs-data":o=r==="/mqtt"?"iotdevicegateway":"iotdata";else if(o==="autoscaling"){let s=(t.get("X-Amz-Target")||"").split(".")[0];s==="AnyScaleFrontendService"?o="application-autoscaling":s==="AnyScaleScalingPlannerFrontendService"&&(o="autoscaling-plans")}else a==null&&o.startsWith("s3-")?(a=o.slice(3).replace(/^fips-|^external-1/,""),o="s3"):o.endsWith("-fips")?o=o.slice(0,-5):a&&/-\d$/.test(o)&&!/-\d$/.test(a)&&([o,a]=[a,o]);return[Fa[o]||o,a||""]}var or="EventListener";function Xa(e){return function(t,n,r,i){var o=r||Ui,a=i||!1;if(!Ve)return o;var s=st(n),c=st(t,!0);if(!c.length)throw new Error("noElements");if(!s.length)throw new Error("noEvent");var f=[];return function h(p){p&&(f=[]);for(var y=p?"add"+or:"remove"+or,b=0;b<c.length;b++){var x=c[b];f[b]=p?a&&a.once?Qa(o):o:f[b]||o;for(var I=0;I<s.length;I++)x[y]?x["on"+s[I]]=p?f[b]:null:x[y](s[I],f[b],a)}return h.bind(null,!p)}(e)}}function st(e,t){if(Nt(e))return t?st(document.querySelectorAll(e)):(n=e).split(n.indexOf(",")>-1?",":" ").map(function(a){return a.trim()});var n;if(NodeList.prototype.isPrototypeOf(e)){for(var r=[],i=e.length>>>0;i--;)r[i]=e[i];return r}var o=Gi(e);return t?o.map(function(a){return Nt(a)?st(a,!0):a}).flat():o}function Qa(e,t){var n;return function(){return e&&(n=e.apply(this,arguments),e=null),n}}var Et=Xa("Event");function ti(e,t){return Ve&&Pt(window[e])?(n=window[e],r=t,(i=window)===void 0&&(i=null),Pt(n)?function(){n.apply(i,arguments),r.apply(i,arguments)}:r):window[e]=t;var n,r,i}ti.bind(null,"onerror");ti.bind(null,"onload");var ni=typeof window>"u",ar="hidden";function Ya(e){if(ni)return!1;var t=Za(),n="".concat(t.replace(/[H|h]idden/,""),"visibilitychange"),r=function(){return e(!!document[t])},i=function(){return document.addEventListener(n,r)};return i(),function(){return document.removeEventListener(n,r),i}}function Za(){var e=["webkit","moz","ms","o"];return ni||ar in document?ar:e.reduce(function(t,n){var r=n+"Hidden";return!t&&r in document?r:t},null)}var es=["mousemove","mousedown","touchmove","touchstart","touchend","keydown"];function ts(e,t){t===void 0&&(t={});var n=function(a,s){var c=this,f=!1;return function(h){f||(a.call(c,h),f=!0,setTimeout(function(){return f=!1},s))}}(e,t.throttle||1e4),r=[];function i(){var a=Ya(function(s){s||n({type:"tabVisible"})});return r=[a].concat(es.map(function(s){return Et(document,s,n)})).concat(Et(window,"load",n)).concat(Et(window,"scroll",n,{capture:!0,passive:!0})),o}function o(){r.map(function(a){return a()})}return i(),function(){return o(),i}}function ns(e){var t,n,r=e.onIdle,i=e.onWakeUp,o=e.onHeartbeat,a=e.timeout,s=a,c=e.throttle,f=c,h=!1,p=!1,y=new Date,b=function(){return clearTimeout(t)};function x(E){b(),o&&!h&&o(Ne(y),E),i&&h&&(h=!1,i(Ne(n),E),y=new Date),t=setTimeout(function(){h=!0,r&&(n=new Date,r(Ne(y),E))},s)}var I=ts(x,{throttle:f});return{disable:function(){p=!0,h=!1,b();var E=I();return function(){return p=!1,y=new Date,x({type:"load"}),E()}},getStatus:function(){return{isIdle:h,isDisabled:p,active:h?0:Ne(y,p),idle:h?Ne(n,p):0}}}}function Ne(e,t){return t?0:Math.round((new Date-e)/1e3)}var ri="object",rs="string",sr="?",Z="name",ee="version",is="",ur="function",os="undefined",as="BlackBerry",ss="Chrome",us="Firefox",cr={ME:"4.90","NT 3.11":"NT3.51","NT 4.0":"NT4.0",2e3:"NT 5.0",XP:["NT 5.1","NT 5.2"],Vista:"NT 6.0",7:"NT 6.1",8:"NT 6.2","8.1":"NT 6.3",10:["NT 6.4","NT 10.0"],RT:"ARM"},cs=[[/microsoft (windows) (vista|xp)/i],[Z,ee],[/(windows) nt 6\.2; (arm)/i,/(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,/(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i],[Z,[ee,lr,cr]],[/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],[[Z,"Windows"],[ee,lr,cr]],[/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i,/cfnetwork\/.+darwin/i],[[ee,/_/g,"."],[Z,"iOS"]],[/(mac os x) ?([\w\. ]*)/i,/(macintosh|mac_powerpc\b)(?!.+haiku)/i],[[Z,"MacOS"],[ee,/_/g,"."]],[/droid ([\w\.]+)\b.+(android[- ]x86)/i],[ee,Z],[/(android|webos|qnx|bada|rim tablet os|maemo|meego|sailfish)[-\/ ]?([\w\.]*)/i,/(blackberry)\w*\/([\w\.]*)/i,/(tizen|kaios)[\/ ]([\w\.]+)/i,/\((series40);/i],[Z,ee],[/\(bb(10);/i],[ee,[Z,as]],[/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],[ee,[Z,us+" OS"]],[/web0s;.+rt(tv)/i,/\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],[ee,[Z,"webOS"]],[/crkey\/([\d\.]+)/i],[ee,[Z,ss+"cast"]],[/(cros) [\w]+ ([\w\.]+\w)/i],[[Z,"Chromium OS"],ee],[/(mageia|vectorlinux)[; ]/i,/([kxln]?ubuntu|debian|suse|opensuse|gentoo|arch(?= linux)|slackware|fedora|mandriva|centos|pclinuxos|red ?hat|zenwalk|linpus|raspbian|plan 9|minix|risc os|contiki|deepin|manjaro|elementary os|sabayon|linspire)(?: gnu\/linux)?(?: enterprise)?(?:[- ]linux)?(?:-gnu)?[-\/ ]?(?!chrom|package)([-\w\.]*)/i,/(hurd|linux) ?([\w\.]*)/i,/(gnu) ?([\w\.]*)/i,/(unix) ?([\w\.]*)/i],[Z,ee]];function ls(e,t){for(var n=0,r,i,o,a,s,c;n<t.length&&!s;){var f=t[n],h=t[n+1];for(r=i=0;r<f.length&&!s;)if(s=f[r++].exec(e),s)for(o=0;o<h.length;o++)c=s[++i],a=h[o],ne(a)===ri&&a.length>0?a.length==2?ne(a[1])==ur?this[a[0]]=a[1].call(this,c):this[a[0]]=a[1]:a.length==3?ne(a[1])===ur&&!(a[1].exec&&a[1].test)?this[a[0]]=c?a[1].call(this,c,a[2]):void 0:this[a[0]]=c?c.replace(a[1],a[2]):void 0:a.length==4&&(this[a[0]]=c?a[3].call(this,c.replace(a[1],a[2])):void 0):this[a]=c||void 0;n+=2}}function lr(e,t){for(var n in t)if(ne(t[n])===ri&&t[n].length>0){for(var r=0;r<t[n].length;r++)if(dr(t[n][r],e))return n===sr?void 0:n}else if(dr(t[n],e))return n===sr?void 0:n;return e}function dr(e,t){return ne(e)===rs?fr(t).indexOf(fr(e))!==-1:!1}function fr(e){return e.toLowerCase()}function ds(e){var t=(typeof window>"u"?"undefined":ne(window))!==os&&window.navigator&&window.navigator.userAgent?window.navigator.userAgent:is,n={};return n[Z]=void 0,n[ee]=void 0,ls.call(n,t,cs),n}var ii="Brave";function gn(){if(typeof window>"u")return{};if(!window.navigator)return{};var e=window.navigator,t=e.platform,n=e.product,r=e.vendor,i=hs(window.navigator),o=i.type,a=i.version,s=o===ii?o:(r||"").split(" ")[0];return{platform:t,os:ds(),make:s||n,model:o,version:a,name:[o,a].join("/"),language:fs(),timezone:ps()}}function fs(){var e=window.navigator,t=e.language,n=e.browserLanguage,r=e.languages;return(t||n||(r||["en_US"])[0]).toLowerCase().replace("-","_")}function ps(){var e=/\(([A-Za-z\s].*)\)/.exec(new Date().toString());return e&&e[1]||""}function hs(e){var t=e.userAgent,n=/.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(t);if(n)return{type:n[1],version:n[2]};var r=/.+(Trident|Edge)\/([0-9\.]+).*/i.exec(t);if(r)return{type:r[1],version:r[2]};var i=/(headlesschrome)(?:\/([\w\.]+)| )/i.exec(t);if(i)return{type:i[1],version:i[2]};var o=/.+(Chrome|Firefox|FxiOS)\/([0-9\.]+).*/i.exec(t);if(o){var a=e.brave&&e.brave.isBrave||!1;return{type:a?ii:o[1],version:o[2]}}var s=/.+(Safari)\/([0-9\.]+).*/i.exec(t);if(s)return{type:s[1],version:s[2]};var c=/.+(AppleWebKit)\/([0-9\.]+).*/i.exec(t);if(c)return{type:c[1],version:c[2]};var f=/.*([A-Z]+)\/([0-9\.]+).*/i.exec(t),h=f||["","NA","0.0.0"];return{type:h[1],version:h[2]}}function gs(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return t[e]||e}function Vt(e){return Gt.apply(this,arguments)}function Gt(){return Gt=re(J.mark(function e(t){var n,r,i,o,a,s,c=arguments;return J.wrap(function(f){for(;;)switch(f.prev=f.next){case 0:n=c.length>1&&c[1]!==void 0?c[1]:!1,r={},f.t0=J.keys(t);case 3:if((f.t1=f.t0()).done){f.next=13;break}return i=f.t1.value,o=Array.isArray(t[i])?t[i]:[t[i]],a=n?o:o[0],f.next=9,ai(a,ms);case 9:s=f.sent,si(s)||(r[i]=s),f.next=3;break;case 13:return f.abrupt("return",r);case 14:case"end":return f.stop()}},e)})),Gt.apply(this,arguments)}function oi(e){return qt.apply(this,arguments)}function qt(){return qt=re(J.mark(function e(t){var n,r;return J.wrap(function(i){for(;;)switch(i.prev=i.next){case 0:n={},i.t0=J.keys(t);case 2:if((i.t1=i.t0()).done){i.next=9;break}return r=i.t1.value,i.next=6,ai(t[r],ys);case 6:n[r]=i.sent,i.next=2;break;case 9:return i.abrupt("return",n);case 10:case"end":return i.stop()}},e)})),qt.apply(this,arguments)}function ai(e,t){return Ft.apply(this,arguments)}function Ft(){return Ft=re(J.mark(function e(t,n){return J.wrap(function(r){for(;;)switch(r.prev=r.next){case 0:if(typeof t!="function"){r.next=4;break}return r.next=3,t();case 3:t=r.sent;case 4:return r.abrupt("return",n(t));case 5:case"end":return r.stop()}},e)})),Ft.apply(this,arguments)}function ms(e){if(e!=null)return Array.isArray(e)?e.filter(vs).map(function(t){return t.toString()}):si(e)?e:e.toString()}function ys(e){return parseFloat(Number(Array.isArray(e)?e[0]:e))}function vs(e){return e!==null&&typeof e<"u"}function si(e){return e==null}var Jt="_session.start",yt="_session.stop",ui="pageView";function bs(e){return Bt.apply(this,arguments)}function Bt(){return Bt=re(J.mark(function e(t){var n,r,i,o,a,s,c,f,h,p,y,b,x,I,E,w,j,C,S,N,A,T,D,H,$,R,V,K,U,B,F,G=arguments;return J.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:if(n=G.length>1&&G[1]!==void 0?G[1]:{},r=G.length>2&&G[2]!==void 0?G[2]:{},i=r.appTitle,o=r.appPackageName,a=r.appVersionCode,s=r.eventMapping,c=r.enrichEventAttributes,f=r.enrichEventMetrics,h=r.debug,p=h?console.log:function(){},y=gs(t,s),b=Ke(),x=n.sessionId||b.id,I=n.sessionStart||b.createdAt,E=n.sessionStart?new Date(n.sessionStart).getTime():b.created,p("event sessionData ",JSON.stringify(b)),ve&&(w=hn(),j=Zr(),p("event pageSessionInfo",JSON.stringify(w)),p("event tabSessionData ",JSON.stringify(j))),C=n.attributes||{},S=n.eventId||be(),N=n.time?new Date(n.time):new Date,A=N.toISOString(),T=N.getTime()-E,D=Y({date:A,sessionId:x},ve?{pageSession:w.id}:{}),!c){v.next=23;break}return v.next=20,c();case 20:v.t0=v.sent,v.next=24;break;case 23:v.t0={};case 24:if(H=v.t0,$=Y(Y(Y({},D),H),C),R=n.metrics||{},V={sessionTime:b.elapsed||T,hour:N.getHours(),day:N.getDay()+1,month:N.getMonth()+1,year:N.getFullYear()},!f){v.next=34;break}return v.next=31,f();case 31:v.t1=v.sent,v.next=35;break;case 34:v.t1={};case 35:return K=v.t1,U=Y(Y(Y({},V),K),R),v.next=39,Vt($);case 39:return v.t2=v.sent,v.next=42,oi(U);case 42:return v.t3=v.sent,B={attributes:v.t2,metrics:v.t3},p("".concat(S,":").concat(y)),p("eventAttributes",B.attributes),p("eventMetrics",B.metrics),ve&&p("clientInfo",gn()),F=fn({},S,Y(Y({EventType:y,Timestamp:A,AppPackageName:o,AppTitle:i},a?{AppVersionCode:a}:{}),{},{Attributes:B.attributes,Metrics:B.metrics,Session:{Id:x,StartTimestamp:I}})),t===yt&&(F[S].Session.Duration=T,F[S].Session.StopTimestamp=A),v.abrupt("return",F);case 51:case"end":return v.stop()}},e)})),Bt.apply(this,arguments)}var ws="__endpoint";function vt(e){return"".concat(ws,".").concat(e)}var pr="__endpoint",hr=!1;function mn(){return Xt.apply(this,arguments)}function Xt(){return Xt=re(J.mark(function e(){var t,n,r,i,o,a,s,c,f,h,p,y,b,x,I,E,w,j,C,S,N,A=arguments;return J.wrap(function(T){for(;;)switch(T.prev=T.next){case 0:return t=A.length>0&&A[0]!==void 0?A[0]:{},n=A.length>1&&A[1]!==void 0?A[1]:{},r=n.getUserId,i=n.getEndpointId,o=n.endpointMigration,a=As(n),s=a.sessionKey?a.sessionKey():"sessions",c=a.pageViewKey?a.pageViewKey():"pageViews",ve&&(p=gn(),f=hn(),h=f.id),y=Ke(),T.next=10,i();case 10:if(b=T.sent,hr||(hr=!0,x=an(pr),x&&(kt(b,x),Vr(pr))),I=Os(b),E=ks(n),w=xs(E,p),j={Attributes:{},Demographic:w,Location:{},Metrics:{}},ve&&(p.device&&p.device.vendor&&(j.Attributes.DeviceMake=[p.device.vendor]),p.device&&p.device.model&&(j.Attributes.DeviceModel=[p.device.model]),p.device&&p.device.type&&(j.Attributes.DeviceType=[p.device.type])),t=qa.all([I,j,t],{arrayMerge:Is}),!(t.User&&t.User.UserId)){T.next=23;break}return T.next=21,r();case 21:C=T.sent,t.User.UserId!==C&&(t.User.UserId=C);case 23:if(!(!t.User||!t.User.UserId)){T.next=28;break}return T.next=26,r();case 26:S=T.sent,S&&(t.User=t.User||{},t.User.UserId=S);case 28:if(!(t.User&&t.User.UserAttributes)){T.next=32;break}return T.next=31,Vt(t.User.UserAttributes,!0);case 31:t.User.UserAttributes=T.sent;case 32:return T.next=34,Vt(t.Attributes,!0);case 34:return t.Attributes=T.sent,T.next=37,oi(t.Metrics);case 37:if(t.Metrics=T.sent,t.Metrics[s]||(t.Metrics[s]=1),t.Metrics[c]||(t.Metrics[c]=1),o&&(t=o(b,t)),N=t.Attributes.lastSession,N){T.next=47;break}return t.Attributes.lastSessionDate=[y.createdAt],t.Attributes.lastSession=[y.id],h&&(t.Attributes.lastPageSession=[h]),T.abrupt("return",kt(b,t));case 47:return N&&N[0]!==y.id&&(t.Attributes.lastSessionDate=[y.createdAt],t.Attributes.lastSession=[y.id],t.Metrics[s]+=1),t.Attributes&&t.Attributes.lastPageSession&&Array.isArray(t.Attributes.lastPageSession)&&t.Attributes.lastPageSession.length>0&&t.Attributes.lastPageSession[0]!==h&&(t.Attributes.lastPageSession=[h],t.Metrics[c]+=1),T.abrupt("return",kt(b,t));case 50:case"end":return T.stop()}},e)})),Xt.apply(this,arguments)}function kt(e,t){var n=vt(e),r=Na(t)?t:JSON.stringify(t);return aa(n,r),t}function Os(e){try{return JSON.parse(an(vt(e)))||{}}catch{}return{}}function xs(e,t){return ve?Es(e,t):Ss(e)}function Ss(e){var t={AppVersion:e,Make:"generic server",Platform:"Node.js",PlatformVersion:process.version};return t}function Es(e,t){var n={AppVersion:e,Locale:t.language,Make:t.make,Model:t.model,ModelVersion:t.version,Platform:t.os.name||t.platform};return t.os&&t.os.version&&(n.PlatformVersion=t.os.version),n}function ks(e){var t=e.appTitle||e.appPackageName||"",n=e.appVersionCode||"0.0.0";return t?"".concat(t,"@").concat(n):n}function Is(e,t){return t}function As(e){var t=e.getContext;return typeof t=="function"?t():t}function js(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return function(){var n=re(J.mark(function i(o){var a,s,c,f,h=arguments;return J.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return a=h.length>1&&h[1]!==void 0?h[1]:{},s=h.length>2&&h[2]!==void 0?h[2]:{},c=h.length>3&&h[3]!==void 0?h[3]:!1,er(a)&&(a={},c=a),er(s)&&(s={},c=s),p.next=7,bs(o,a,t);case 7:if(f=p.sent,!(Object.entries(s).length||o===ui)){p.next=12;break}return p.next=11,mn(s,t);case 11:s=p.sent;case 12:if(e.push(f),!c){p.next=17;break}return p.abrupt("return",e.flush());case 17:case"end":return p.stop()}},i)}));function r(i){return n.apply(this,arguments)}return r}()}var gr,Ts=[429,500],Ps=[202],Ns=400;function _s(e,t){return Qt.apply(this,arguments)}function Qt(){return Qt=re(J.mark(function e(t,n){var r,i,o,a,s,c,f,h,p,y,b,x,I,E,w,j,C,S,N;return J.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return r=n.pinpointRegion,i=n.pinpointAppId,o=n.lambdaArn,a=n.lambdaRegion,s=n.credentials,c=n.getCredentials,f=n.debug,A.next=3,Cs(s,c);case 3:return h=A.sent,f&&console.log("pinpoint auth",h),p=a||r,y=r||a,b=n.fips===!0?"-fips":"",x="https://lambda.".concat(p,".amazonaws.com/2015-03-31/functions/").concat(o,"/invocations"),I="https://pinpoint".concat(b,".").concat(y,".amazonaws.com/v1/apps/").concat(i,"/events"),E=o?x:I,C={body:JSON.stringify(t)},w=new Kt(h),A.next=16,w.fetch(E,C).then(function(T){return T.json()});case 16:j=A.sent,A.next=24;break;case 19:return w=new gr.PinpointClient({credentials:h,region:r}),S=new gr.PutEventsCommand({ApplicationId:i,EventsRequest:t}),A.next=23,w.send(S);case 23:j=A.sent;case 24:return j&&j.Results&&(N=Object.keys(j.Results).map(function(T){return j.Results[T]}),N.forEach(function(T){var D=T.EndpointItemResponse||{},H=T.EventsItemResponse||{};Object.keys(D).length&&(Ps.includes(D.StatusCode)||Ts.includes(D.StatusCode)||Ls(D,Endpoint));var $=Object.keys(H);$.length&&$.forEach(function(R){})})),A.abrupt("return",j);case 26:case"end":return A.stop()}},e)})),Qt.apply(this,arguments)}function Cs(e,t){return Yt.apply(this,arguments)}function Yt(){return Yt=re(J.mark(function e(t,n){var r,i;return J.wrap(function(o){for(;;)switch(o.prev=o.next){case 0:if(r=t,!(!Object.keys(r).length&&n)){o.next=11;break}return o.prev=2,o.next=5,n();case 5:r=o.sent,o.next=11;break;case 8:throw o.prev=8,o.t0=o.catch(2),new Error(o.t0);case 11:return i={accessKeyId:r.accessKeyId||r.AccessKeyId,secretAccessKey:r.secretAccessKey||r.SecretKey,sessionToken:r.sessionToken||r.SessionToken,retries:5},o.abrupt("return",i);case 13:case"end":return o.stop()}},e,null,[[2,8]])})),Yt.apply(this,arguments)}function Ls(e,t){var n=e.StatusCode,r=e.Message;if(n===Ns){if(r.startsWith("Missing ChannelType"))throw new Error("Missing ChannelType");if(r.startsWith("Exceeded maximum endpoint per user count"))throw new Error("Exceeded maximum endpoint per user count")}}var Ms=["PUSH","GCM","APNS","APNS_SANDBOX","APNS_VOIP","APNS_VOIP_SANDBOX","ADM","SMS","VOICE","EMAIL","BAIDU","CUSTOM"],It=Ms.reduce(function(e,t){return e[t]=t,e},{}),Us=gn(),mr=Jt,yr=yt,Ds=/.+\@.+\..+/;function Rs(e){return Ds.test(e)}function zs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.getEndpointId,n=e.debug;return function(){var r=re(J.mark(function o(){var a,s,c,f,h,p,y,b,x,I,E=arguments;return J.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:return a=E.length>0&&E[0]!==void 0?E[0]:[],s=E.length>1&&E[1]!==void 0?E[1]:{},w.next=4,t();case 4:if(c=w.sent,c){w.next=8;break}return console.error("No endpoint id. check getEndpointId()"),w.abrupt("return");case 8:if(f=ne(s)==="object"&&Object.keys(s).length,f){w.next=13;break}w.t0=Ws(c),w.next=16;break;case 13:return w.next=15,mn(s,e);case 15:w.t0=w.sent;case 16:return h=w.t0,p=h.ChannelType,h.Address&&Rs(h.Address)&&(p=It.EMAIL),!p&&h.Address&&(Us.platform==="android"?p=p||It.GCM:p=p||It.APNS),n&&(console.log("Endpoint",h),console.log("CHANNEL_TYPE",p)),h.RequestId=be(),h.ChannelType=p,h.Address&&(h.OptOut=h.OptOut||"NONE"),y=$s(a),b=Ks(c,h,y),w.prev=26,w.next=29,_s(b,e);case 29:x=w.sent,w.next=36;break;case 32:w.prev=32,w.t1=w.catch(26),console.log("Error calling AWS",w.t1),I=w.t1;case 36:return w.abrupt("return",{endpoint:h,response:x,error:I,events:a});case 37:case"end":return w.stop()}},o,null,[[26,32]])}));function i(){return r.apply(this,arguments)}return i}()}function Ws(e){try{return JSON.parse(an(vt(e)))||{}}catch{}return{}}function $s(e){return e.sort(function(t,n){var r=t.EventType,i=n.EventType;if(r==mr)return-1;if(i==mr||r==yr)return 1;if(i==yr)return-1}).reduce(function(t,n){return Y(Y({},n),t)},{})}function Ks(e,t,n){return{BatchItem:fn({},e,{Endpoint:t,Events:n})}}var Hs=yt;function ci(){return{}}function Vs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=Y({getContext:e.getContext||ci,credentials:e.credentials||{},getEndpointId:e.getEndpointId},e),n=t.debug?console.log:function(){},r=zs(t),i=ka(function(){var c=re(J.mark(function f(h,p){var y;return J.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return h.forEach(function(x){return n("> Queue event",x)}),b.next=3,r(h,{});case 3:y=b.sent,n("> Queue response",y);case 5:case"end":return b.stop()}},f)}));return function(f,h){return c.apply(this,arguments)}}(),{max:10,interval:e.flushInterval||3e3,throttle:!0}),o=js(i,t);mn({},e);var a=Gs(o);function s(c){return r([],c)}return{updateEndpoint:s,recordEvent:o,disable:function(){a()}}}function Gs(e){if(!ve)return ci;var t=qs(e);return window.addEventListener("beforeunload",t),function(){return window.removeEventListener("beforeunload",t)}}function qs(e){return function(){e(Hs,!0)}}function At(){throw new Error("Pinpoint not loaded")}function Fs(e){return Object.keys(e).reduce(function(t,n){var r=e[n];return typeof r=="number"&&(t.metrics[n]=r),(typeof r=="string"||typeof r=="boolean")&&(t.attributes[n]=r),t},{attributes:{},metrics:{}})}function Js(e){var t=e.config,n=e.instance;t&&t.disableAnonymousTraffic&&!n.user("userId")&&n.once("identifyStart",function(r){var i=r.plugins,o=i["aws-pinpoint"];o.loaded()||n.loadPlugin("aws-pinpoint")})}var Bs={disableAnonymousTraffic:!1,pinpointRegion:"us-east-1",eventMapping:{}};function Xs(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t,n,r=!1;function i(){var a=Ke();e.debug&&console.log("Stop session",a),t(yt,!0)}function o(){var a=at(30);e.debug&&console.log("START SESSION",a),t(Jt)}return{name:"aws-pinpoint",config:Y(Y({},Bs),e),bootstrap:Js,initialize:function(a){var s=a.config,c=a.instance,f=s.disableAnonymousTraffic,h=s.debug,p=h?console.log:function(){},y=c.getState(),b=y.user||{},x=b.userId,I=b.anonymousId,E=y.context||{},w=E.app,j=E.version,C=E.campaign,S=hn(),N=Zr(),A=Ke();if(p("initPageSession",S),p("initTabSession",N),p("initSessionData",A),A&&A.anonId&&A.anonId!==I){p("anonId different refresh session details"),Zn(),Pa();var T=at(30,{anonId:I,userId:x});p("newSessionForNewUser",T)}if(!x&&f)return!1;var D=Object.keys(C).reduce(function(V,K){return V["utm_".concat(K)]=C[K],V},{}),H=Vs(Y(Y({},s),{},{appTitle:s.appTitle||w,appPackageName:s.appPackageName||w,appVersionCode:s.appVersionCode||j,eventMapping:s.eventMapping,getEndpointId:function(){return c.user("anonymousId")},getUserId:function(){return c.user("userId")},getContext:function(){return{sessionKey:s.sessionKey,pageViewKey:s.pageViewKey,initialSession:A}},enrichEventAttributes:function(){return Y({anonId:c.user("anonymousId"),userId:c.user("userId"),hash:window.location.hash,path:window.location.pathname,referrer:document.referrer,search:window.location.search,title:document.title,host:window.location.hostname,url:window.location.origin+window.location.pathname},D)},enrichUserAttributes:s.enrichUserAttributes,enrichEventMetrics:function(){return{}}}));t=H.recordEvent,n=H.updateEndpoint,A&&A.isNew&&(p("Start brand new session because cookie not found"),t(Jt));var $=18e5,R=$;ns({timeout:R,throttle:2e4,onIdle:function(V,K){p("Session idle. Active ".concat(V," seconds")),i()},onWakeUp:function(V,K){p("Session wakeup. Idle ".concat(V," seconds")),o()},onHeartbeat:function(V,K){p("ping session",new Date),p("total active time",V);var U=c.user();Ta(30,{anonId:U.anonymousId,userId:U.userId})}})},page:function(a){if(a.payload,a.config,!t)return At();r&&Zn(),t(ui),r=!0},track:function(a){var s=a.payload,c=a.config;if(a.instance,!t)return At();if(!(c.disableAnonymousTraffic&&!s.userId)){var f=Fs(s.properties);t(s.event,f)}},identify:function(a){var s=a.payload,c=s.userId,f=s.traits;if(!n)return At();var h={},p={};c&&(p.UserId=c),f&&Object.keys(f).length&&(p.UserAttributes=f),Object.keys(p).length&&(h.User=p),n(h,!0)},reset:function(a){var s=a.instance,c=s.user("anonymousId"),f=vt(c);Vr(f)},loaded:function(){return!!t}}}var Qs=Xs;function li(e){return Object.keys(e).some(t=>{let n=e[t];if(!n)return!1;switch(n&&n.toParam&&(n=n.toParam()),n.constructor.name){case"Array":return!1;case"Object":return!1;case"Date":return!1;case"Function":return!1;case"Boolean":return!1;case"String":return!1;case"Number":return!1;default:return!0}})}function di(e){let t={};return Object.keys(e).forEach(n=>{var r,i;let o=e[n];if(o&&o.toParam&&(o=o.toParam()),!o&&o!==0&&typeof o!="boolean"&&typeof o!="string")return;let a=o.constructor.name,s;switch(a){case"Array":let c=(i=(r=o[0])===null||r===void 0?void 0:r.constructor)===null||i===void 0?void 0:i.name;s=c==="Array"?o:c==="Object"?JSON.stringify(o):o.join(",");break;case"Object":s=JSON.stringify(o);break;case"Date":s=o.valueOf();break;case"Function":s=null;break;case"Boolean":s=o+"";break;default:s=o;break}(s||s===0||typeof s=="string"||Array.isArray(s))&&(t[n]=s)}),t}function fi(e,t){return Array.isArray(t)&&t[0]&&Array.isArray(t[0])?t.map(n=>fi(e,n)).join("&"):encodeURIComponent(e)+"="+encodeURIComponent(t)}function Zt(e){let t=di(e);return Object.keys(t).map(n=>fi(n,t[n])).join("&")}var Ys=globalThis.FormData;function Zs(e,t){let n=li(e)||t,r=di(e);if(n){let i=new Ys;return Object.keys(r).forEach(o=>{if(typeof Blob<"u"&&r[o]instanceof Blob){let a=r.fileName||r[o].name||o;i.append(o,r[o],a)}else i.append(o,r[o])}),i}else return Zt(e)}var ge=class extends Error{constructor(t,n,r,i,o){super(t);let a=new.target.prototype;Object.setPrototypeOf(this,a),t=t||"UNKNOWN_ERROR",n=n||"UNKNOWN_ERROR_CODE",this.name="ArcGISRequestError",this.message=n==="UNKNOWN_ERROR_CODE"?t:`${n}: ${t}`,this.originalMessage=t,this.code=n,this.response=r,this.url=i,this.options=o}};function eu(e){console&&console.warn&&console.warn.apply(console,[e])}function tu(){return Promise.resolve({fetch:globalThis.fetch,Headers:globalThis.Headers,Response:globalThis.Response,Request:globalThis.Request})}var nu="@esri/arcgis-rest-js";function ru(){return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS||{httpMethod:"POST",params:{f:"json"}}}var ut=class extends ge{constructor(t="AUTHENTICATION_ERROR",n="AUTHENTICATION_ERROR_CODE",r,i,o){super(t,n,r,i,o),this.name="ArcGISAuthError",this.message=n==="AUTHENTICATION_ERROR_CODE"?t:`${n}: ${t}`;let a=new.target.prototype;Object.setPrototypeOf(this,a)}retry(t,n=1){let r=0,i=(o,a)=>{r=r+1,t(this.url,this.options).then(s=>{let c=Object.assign(Object.assign({},this.options),{authentication:s});return pi(this.url,c)}).then(s=>{o(s)}).catch(s=>{s.name==="ArcGISAuthError"&&r<n?i(o,a):s.name===this.name&&s.message===this.message&&r>=n?a(this):a(s)})};return new Promise((o,a)=>{i(o,a)})}};function iu(e,t,n,r,i){if(e.code>=400){let{message:o,code:a}=e;throw new ge(o,a,e,t,r)}if(e.error){let{message:o,code:a,messageCode:s}=e.error,c=s||a||"UNKNOWN_ERROR_CODE";throw a===498||a===499?i||new ut(o,c,e,t,r):new ge(o,c,e,t,r)}if(e.status==="failed"||e.status==="failure"){let o,a="UNKNOWN_ERROR_CODE";try{o=JSON.parse(e.statusMessage).message,a=JSON.parse(e.statusMessage).code}catch{o=e.statusMessage||e.message}throw new ge(o,a,e,t,r)}return e}function pi(e,t){let n=ru(),r=Object.assign(Object.assign(Object.assign({httpMethod:"POST"},n),t),{params:Object.assign(Object.assign({},n.params),t.params),headers:Object.assign(Object.assign({},n.headers),t.headers)}),{httpMethod:i,rawResponse:o}=r,a=Object.assign({f:"json"},r.params),s=null,c={method:i,signal:r.signal,credentials:r.credentials||"same-origin"};r.headers&&r.headers["X-Esri-Auth-Client-Id"]&&e.indexOf("/oauth2/platformSelf")>-1&&(c.credentials="include");let f;if(typeof r.authentication=="string"){let p=r.authentication;f={portal:"https://www.arcgis.com/sharing/rest",getToken:()=>Promise.resolve(p)},!r.authentication.startsWith("AAPK")&&!r.authentication.startsWith("AATK")&&!r.suppressWarnings&&!globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING&&(eu("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."),globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING=!0)}else f=r.authentication;let h=e;return(f?f.getToken(e).catch(p=>(p.url=e,p.options=r,s=p,Promise.resolve(""))):Promise.resolve("")).then(p=>{p.length&&(a.token=p),f&&f.getDomainCredentials&&(c.credentials=f.getDomainCredentials(e));let y={};if(c.method==="GET"){a.token&&r.hideToken&&typeof window>"u"&&(y["X-Esri-Authorization"]=`Bearer ${a.token}`,delete a.token);let x=Zt(a)===""?e:e+"?"+Zt(a);r.maxUrlLength&&x.length>r.maxUrlLength||a.token&&r.hideToken?(c.method="POST",p.length&&r.hideToken&&(a.token=p,delete y["X-Esri-Authorization"])):e=x}let b=new RegExp("/items/.+/updateResources").test(e);return c.method==="POST"&&(c.body=Zs(a,b)),c.headers=Object.assign(Object.assign({},y),r.headers),(typeof window>"u"||window&&typeof window.document>"u")&&!c.headers.referer&&(c.headers.referer=nu),!li(a)&&!b&&(c.headers["Content-Type"]="application/x-www-form-urlencoded"),globalThis.fetch?globalThis.fetch(e,c):tu().then(({fetch:x})=>x(e,c))}).then(p=>{if(!p.ok)return p.json().then(y=>{let{status:b,statusText:x}=p,{message:I,details:E}=y.error,w=`${I}. ${E?E.join(" "):""}`.trim();throw new ge(w,`HTTP ${b} ${x}`,y,e,r)}).catch(y=>{if(y.name==="ArcGISRequestError")throw y;let{status:b,statusText:x}=p;throw new ge(x,`HTTP ${b}`,p,e,r)});if(o)return p;switch(a.f){case"json":return p.json();case"geojson":return p.json();case"html":return p.text();case"text":return p.text();default:return p.blob()}}).then(p=>{if((a.f==="json"||a.f==="geojson")&&!o){let y=iu(p,h,a,r,s);if(s){let b=e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];r.authentication.federatedServers[b]={token:[],expires:new Date(Date.now()+86400*1e3)},s=null}return y}else return p})}function hi(e,t={params:{f:"json"}}){return pi(e,t).catch(n=>n instanceof ut&&t.authentication&&typeof t.authentication!="string"&&t.authentication.canRefresh&&t.authentication.refreshCredentials?n.retry(()=>t.authentication.refreshCredentials(),1):Promise.reject(n))}function ou(e){return typeof e!="string"||(e=e.trim(),e[e.length-1]==="/"&&(e=e.slice(0,-1))),e}function en(e={}){return e.portal?ou(e.portal):e.authentication&&typeof e.authentication!="string"?e.authentication.portal:"https://www.arcgis.com/sharing/rest"}function au(e){return e.owner?Promise.resolve(e.owner):e.item&&e.item.owner?Promise.resolve(e.item.owner):e.authentication&&e.authentication.getUsername?e.authentication.getUsername():Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."))}function su(e){return Array.isArray(e)&&Array.isArray(e[0])&&Array.isArray(e[1])}function uu(e){return e.join(",")}function cu(e){return au(e).then(t=>{let n=e.folderId?`${en(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update`:`${en(e)}/content/users/${t}/items/${e.item.id}/update`;return e.params=Object.assign(Object.assign({},e.params),e.item),e.params.extent&&su(e.params.extent)&&(e.params.extent=uu(e.params.extent)),hi(n,e)})}function gi(e,t){let n=lu(e,t),r=Object.assign({httpMethod:"GET"},t);return hi(n,r)}var lu=(e,t)=>`${typeof t=="string"?t:en(t)}/content/items/${e}`;function du(e,t,n){return n.reduce((r,i)=>{let{action:o,targetProperty:a}=i;return o==="add"?r[a]={updatedAt:new Date,updatedBy:e}:o==="remove"&&delete r[a],r},t)}async function fu({id:e,authentication:t,username:n,accessChangeset:r}){let{properties:i={}}=await gi(e,{authentication:t}),o=i.telemetry,a=o===void 0?{}:o,{arcgis:{access:s={}}={}}=a,c=br(a,["arcgis"]),f=du(n,s,r);return cu({item:{id:e,properties:Object.assign(Object.assign({},i),{telemetry:Object.assign(Object.assign({},c),{arcgis:{access:Object.assign({},f)}})})},authentication:t})}async function pu({id:e,authentication:t}){let{properties:{telemetry:{arcgis:{access:n={}}={}}={}}}=await gi(e,{authentication:t});return{access:n}}var tn=class{constructor(t){this.name="amazon";let{app:n={},fips:r,userPoolID:i}=t;this.analytics=ba({app:n.name,version:n.version,plugins:[Qs({fips:r,pinpointAppId:n.id,getCredentials:()=>Ti(i,{fips:r})})]}),Object.assign(this,t)}init(){return Promise.resolve()}static async setAccessPermissions({id:t,authentication:n,username:r,accessChangeset:i}){return fu({id:t,authentication:n,username:r,accessChangeset:i})}static async getAccessPermissions({id:t,authentication:n}){return pu({id:t,authentication:n})}logPageView(t,n){let r=Mi({page:t,previousPage:this.previousPage,options:n,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{pageUrl:i,pageName:o}=r;this.previousPage={pageUrl:i,pageName:o},this.analytics.track("pageView",r)}logEvent(t={}){let n=Li({event:t,dimensionLookup:this.dimensions,metricLookup:this.metrics}),{name:r}=n;this.analytics.track(r,n)}},hu=yn`/** @license
12
+ * Copyright 2025 Esri
13
+ *
14
+ * Licensed under the Apache License, Version 2.0 (the "License");
15
+ * you may not use this file except in compliance with the License.
16
+ * You may obtain a copy of the License at
17
+ *
18
+ * http://www.apache.org/licenses/LICENSE-2.0
19
+ *
20
+ * Unless required by applicable law or agreed to in writing, software
21
+ * distributed under the License is distributed on an "AS IS" BASIS,
22
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
23
+ * See the License for the specific language governing permissions and
24
+ * limitations under the License.
25
+ */:host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform .5s ease-out 0s;background-color:#333333f2;color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link: var(--calcite-color-text-inverse);--calcite-ui-brand: var(--calcite-color-text-inverse);--calcite-color-text-link: var(--calcite-color-text-inverse);--calcite-color-brand-underline: var(--calcite-color-text-inverse);--calcite-color-brand: var(--calcite-color-text-inverse)}`,nn=class extends bn{constructor(){super(...arguments),this.amazonAppId="",this.amazonAppName="",this.amazonUserPoolID="",this.amazonVersion="",this.firstUseVar="",this.measurementIds=[],this._open=!1,this._translations=On({name:"consent-manager",blocking:!0}),this._loaded=!1,this.consentGranted=vn()}static{this.properties={amazonAppId:1,amazonAppName:1,amazonUserPoolID:1,amazonVersion:1,firstUseVar:1,measurementIds:0,portal:0,_open:16,_translations:16}}static{this.styles=hu}async getInstance(){if(localStorage.getItem(this.firstUseVar)==="true"||this.portal?.eueiEnabled)return await this._init(),this._telemetryInstance}async load(){this._open=localStorage.getItem(this.firstUseVar)===null}render(){return""}loaded(){this.consentGranted.emit({granted:localStorage.getItem(this.firstUseVar)==="true"})}async _init(){if(!this._loaded){let t={plugins:[],portal:this.portal};if(this.measurementIds?.length>0){let n=new Tt({measurementIds:this.measurementIds});t.plugins.push(n)}if(this.amazonUserPoolID){let n=new tn({userPoolID:this.amazonUserPoolID,app:{name:this.amazonAppName,id:this.amazonAppId,version:this.amazonVersion}});t.plugins.push(n)}this._telemetryInstance=new jt(t),await this._telemetryInstance.init(),this._loaded=!0}}_alertClosed(){this._open=!1,localStorage.getItem(this.firstUseVar)!=="true"&&localStorage.setItem(this.firstUseVar,"false")}_accept(){localStorage.setItem(this.firstUseVar,"true"),this.consentGranted.emit({granted:!0}),this._open=!1}};wn("consent-manager",nn);export{nn as ConsentManager};
@@ -0,0 +1,7 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ /**
5
+ * @license MIT <https://opensource.org/licenses/MIT>
6
+ * @copyright Michael Hart 2024
7
+ */
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{e as o}from"./MLWHYPW3.js";import"./4S47NFM3.js";import"./Q4YN3UWN.js";import{a,c as e,e as i,f as l}from"./KAHTIZBX.js";import"./ZIIYJYM3.js";function r(t){window?.localStorage.setItem(t,"false")}function c(t){return!!window?.localStorage?.getItem(t)}function d(t){window?.localStorage?.removeItem(t)}var p=":host{--instant-apps-splash-content-max-height:100%;display:block}:host .image.image_resized img{width:100%}:host .instant-apps-splash__back-content{display:flex;align-items:center}:host .instant-apps-splash__back-content calcite-label{--calcite-label-margin-bottom:0}:host .instant-apps-splash__content{max-height:var(--instant-apps-splash-content-max-height)}",u=p,g={back:"instant-apps-splash__back-content",content:"instant-apps-splash__content"},m=class{constructor(t){a(this,t),this.splashClose=l(this,"splashClose",7),this._sanitizer=null,this.localStorageKey=void 0,this.titleText="",this.content="",this.primaryButtonText="",this.open=!0,this.closeButtonDisabled=!1,this.outsideCloseDisabled=!1,this.secondaryButton=!1,this.secondaryButtonText=void 0,this.secondaryButtonIcon=void 0,this.secondaryButtonCallback=void 0,this.messages=void 0}sanitizeContent(){}componentWillLoad(){let t,{localStorageKey:s}=this;s?t=this.open&&!c(this.localStorageKey):t=this.open,this.el.open=t,this.content&&this._sanitizer&&this.sanitizeContent()}componentDidLoad(){o(this)}render(){return e("calcite-dialog",{key:"ba8a3a6d05ad63fda7a86a659845d09e11a39de7",ref:t=>{t&&(t.focusTrapOptions={allowOutsideClick:!0},t.open=this.open)},modal:!0,heading:this.titleText,onCalciteDialogClose:this.close.bind(this),closeDisabled:this.closeButtonDisabled,outsideCloseDisabled:this.outsideCloseDisabled},e("div",{key:"aaae89fdb17ddb18f732ee5f6122645df1bb4022",innerHTML:this.content}),e("slot",{key:"32a89986bbea7e9d5dceb439de793d4ab78d51d6",name:"custom-action"}),this.localStorageKey?this.renderDontShowThisAgainCheckbox():null,this.secondaryButton?this.renderSecondaryButton():null,this.renderPrimaryButton())}renderDontShowThisAgainCheckbox(){let{localStorageKey:t,messages:s}=this,n=c(t)?!0:null;return e("div",{class:g.back,slot:"footer-start"},e("calcite-label",{layout:"inline"},e("calcite-checkbox",{onCalciteCheckboxChange:this.handleDontShowThisAgain.bind(this),checked:n??void 0}),s?.dontShowThisAgain))}renderPrimaryButton(){let{primaryButtonText:t}=this;return e("calcite-button",{onClick:this.close.bind(this),slot:"footer-end"},t||"Enter")}renderSecondaryButton(){return e("calcite-button",{onClick:this.secondaryButtonCallback?.bind(this),slot:"footer-end","icon-start":this.secondaryButtonIcon,appearance:"outline"},this.secondaryButtonText)}close(){this.open=!1,this.splashClose.emit()}handleDontShowThisAgain(t){let{localStorageKey:s}=this;if(!s)return;let n=t.target,{checked:h}=n;h?r(s):d(s)}get el(){return i(this)}static get watchers(){return{content:["sanitizeContent"]}}};m.style=u;export{m as instant_apps_splash};
@@ -0,0 +1,4 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{o,p as a,q as r,r as d,v as c,w as m}from"./4S47NFM3.js";import{a as l,c as i,d as h,e as u}from"./KAHTIZBX.js";import"./ZIIYJYM3.js";var f=".sc-instant-apps-measurement-tool-h .esri-measurement.sc-instant-apps-measurement-tool,.sc-instant-apps-measurement-tool-h .esri-coordinate-conversion.sc-instant-apps-measurement-tool{width:300px}.sc-instant-apps-measurement-tool-h .instant-apps-measurement-tool__hide.sc-instant-apps-measurement-tool{display:none}",v=f,p="instant-apps-measurement-tool",s={base:p,hide:`${p}__hide`},g=class{constructor(e){l(this,e),this.view=void 0,this.measureConfiguration=void 0,this.activeTool=void 0}async componentWillLoad(){await this._initModules()}componentDidLoad(){this._init()}render(){return i(h,{key:"f6bd046c04fd3c17204fd95e4ab5e85cab179671"},i("div",{key:"070603555cb6497ddd67f1f53ebaf89a59bd7c01",class:s.base},i("div",{key:"475bff4347c71401ecb292a74c59aac28b40952f",ref:e=>{e instanceof HTMLElement&&(this._measureElement=e)}}),i("div",{key:"9018f1338b598e9c02e1ea6239ab1ee57c460fa0",class:s.hide,ref:e=>{e instanceof HTMLElement&&(this._coordinateElement=e)}})))}disconnectedCallback(){this._measureWidget?.destroy(),this._coordinateWidget?.destroy()}async _initModules(){let[e,t,n]=await Promise.all([c(),o(),r()]);this.Measurement=e,this.CoordinateConversion=t,this.Conversion=n}_init(){this._initMeasurementWidget(),this._initCoordinateWidget()}_updateToolType(e){this._setActiveTool(e)}async _initMeasurementWidget(){this.view&&this._measureElement&&!this._measureWidget&&(this._measureWidget=await m({view:this.view,container:this._measureElement,...this.measureConfiguration}),this.measureConfiguration.activeToolType&&this._setActiveTool(this.measureConfiguration.activeToolType))}_setActiveTool(e){let t=this.view.type;this._measureWidget.clear(),this._coordinateElement?.classList.add(s.hide),e==="distance"?this._measureWidget.activeTool=t==="2d"?"distance":"direct-line":e==="area"?this._measureWidget.activeTool="area":e==="point"&&this._coordinateElement?.classList?.remove(s.hide)}async _initCoordinateWidget(){let{activeToolType:e,coordinateFormat:t}=this.measureConfiguration;if(this?.view&&this._coordinateElement&&!this._coordinateWidget&&(this._coordinateWidget=await a({view:this.view,storageEnabled:!1,container:this._coordinateElement}),t!=null)){let n=this._coordinateWidget.formats.find(_=>_.name===t);this._coordinateWidget?.conversions?.splice(0,0,await d({format:n}))}e!=null&&this._setActiveTool(e)}get el(){return u(this)}static get watchers(){return{activeTool:["_updateToolType"]}}};g.style=v;export{g as instant_apps_measurement_tool};
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as n}from"./6EQSCBDC.js";import{B as r,c as t,d as i,q as s,w as o}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var a=t`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */}`,e=class extends o{constructor(){super(...arguments),this._translations=n({name:"solutions-filter",blocking:!0})}static{this.properties={_translations:16}}static{this.styles=a}static{this.shadowRootOptions=s}render(){return i`<div></div>`}};r("solutions-filter",e);export{e as SolutionsFilter};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as h,b as d}from"./JRNC7PCQ.js";import{b as c}from"./R4M6CYMY.js";import{B as n,c as r,d as a,n as s,w as o}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";var m=r`/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block}`,l=class extends o{constructor(){super(...arguments),this.enabled=!1,this._floorFilterElement=h(),this.facilityChanged=s(),this.levelChanged=s(),this.siteChanged=s()}static{this.properties={enabled:5,floorFilterWidget:0,mapView:0}}static{this.styles=m}willUpdate(e){e.has("mapView")&&this.mapViewWatchHandler(),e.has("enabled")&&this.enabledWatchHandler()}async mapViewWatchHandler(){this.mapView&&await this._initFloorFilter(this.mapView)}async enabledWatchHandler(){this.enabled?this.mapView&&await this._initFloorFilter(this.mapView):this.enabled||this._destroyWidget()}load(){this._initModules()}render(){return a`<div ${d(this._floorFilterElement)}></div>`}async loaded(){this.mapView&&!this.floorFilterWidget&&await this._initFloorFilter(this.mapView)}async _initModules(){let[e,t]=await c(["esri/widgets/FloorFilter","esri/core/reactiveUtils"]);this.FloorFilter=e,this.reactiveUtils=t}_destroyWidget(){this.floorFilterWidget&&(this.floorFilterWidget.destroy(),this.floorFilterWidget=void 0),this._floorFilterElement.value&&this._floorFilterElement.value.remove()}_initContainer(){this._destroyWidget(),this._floorFilterElement&&(this._floorFilterElement.value=document.createElement("div"))}async _initFloorFilter(e){let t=e?.map;t&&await t.when(()=>{e&&this.enabled&&this.FloorFilter&&t?.floorInfo&&(this._initContainer(),this.floorFilterWidget=new this.FloorFilter({container:this._floorFilterElement.value,view:e}),this._facilityHandle?.remove(),this._facilityHandle=this.reactiveUtils?.watch(()=>this.floorFilterWidget?.facility,i=>{i&&this.facilityChanged.emit(i)}),this._levelHandle?.remove(),this._levelHandle=this.reactiveUtils?.watch(()=>this.floorFilterWidget?.level,i=>{i&&this.levelChanged.emit(i)}),this._siteHandle?.remove(),this._siteHandle=this.reactiveUtils?.watch(()=>this.floorFilterWidget?.site,i=>{i&&this.siteChanged.emit(i)}))})}};n("floor-filter",l);export{l as FloorFilter};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
@@ -0,0 +1,18 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */
4
+ import{a as S}from"./DKCZUP4C.js";import"./KAHTIZBX.js";import{c as L,j as $}from"./OPC6J6MC.js";import"./WK4XUJYY.js";import"./7CC4UOSP.js";import{a as r,b as n}from"./JRNC7PCQ.js";import{b as w}from"./R4M6CYMY.js";import{a as I}from"./6EQSCBDC.js";import{B as y,c as b,d as h,f as u,n as d,q as g,w as _,x as c}from"./5KN7Z5XE.js";import"./ZIIYJYM3.js";function M(o){return o?.indexOf("http://")!==-1}function m(o){return M(o)?o.replace(/^http:\/\//,"https://"):o}function v(o,e,i){return i&&i.forEach(s=>{o.allLayers.forEach(t=>{t&&t.url===s.sourceUrl&&(t.url=m(s.proxyUrl),t.portalItem&&t.portalItem.when(()=>{t.portalItem.url=m(s.proxyUrl)}),e.request?.interceptors?.push({urls:s.sourceUrl,before:a=>{a.url&&a.url===s.sourceUrl&&(a.url=m(s.proxyUrl))}}))})}),o}var W=b`@layer{/** @license
5
+ * Copyright 2025 Esri
6
+ *
7
+ * Licensed under the Apache License, Version 2.0 (the "License");
8
+ * you may not use this file except in compliance with the License.
9
+ * You may obtain a copy of the License at
10
+ *
11
+ * http://www.apache.org/licenses/LICENSE-2.0
12
+ *
13
+ * Unless required by applicable law or agreed to in writing, software
14
+ * distributed under the License is distributed on an "AS IS" BASIS,
15
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ * See the License for the specific language governing permissions and
17
+ * limitations under the License.
18
+ */:host{display:block;--calcite-label-margin-bottom: 0;--calcite-block-padding: 0}.map-height{height:calc(100% - 53px)}.height-full{height:100%}.height-49-px{height:49px}.box-shadow{box-shadow:none!important}.visibility-hidden-1{visibility:hidden;height:1px}.display-flex{display:flex}.display-none{display:none}.display-block{display:block}.absolute-right{position:absolute;right:0;left:unset}html[dir=rtl] .absolute-right{left:0;right:unset}}`,f=class extends _{constructor(){super(),this.defaultWebmapId="",this.defaultLayerId="",this.enableHome=!1,this.enableLegend=!1,this.enableFloorFilter=!1,this.enableFullscreen=!1,this.enableShare=!1,this.enableSingleExpand=!1,this.enableSearch=!1,this.enableBasemap=!1,this.hide=!1,this.homeZoomIndex=3,this.homeZoomPosition="top-left",this.homeZoomToolsSize="m",this.mapInfos=[],this.mapWidgetsIndex=0,this.mapWidgetsPosition="top-right",this.mapWidgetsSize="m",this.stackTools=!1,this.toolOrder=[],this.isMapLayout=!1,this.shareIncludeEmbed=!1,this.shareIncludeSocial=!1,this.selectedFeaturesIds=[],this.onlyShowUpdatableLayers=!1,this.isMobile=!1,this._translations=I({name:"map-card",blocking:!0}),this._toolInfos=[],this._defaultWebmapHonored=!1,this._loadedId="",this._mapDiv=r(),this._mapPicker=r(),this._mapTools=r(),this._mapListExpanded=!1,this._filterActive=!1,this._definitionExpression="",this._mapLayerPicker=r(),this._toolbar=r(),this.mapChanged=d(),this.beforeMapChanged=d(),this.toggleFilter=d(),this.clearSelection=d(),this.listenOn(window,"mapInfoChange",this.mapInfoChange),this.listenOn(window,"noLayersFound",this.noLayersFound),this.listenOn(window,"layerSelectionChange",this.layerSelectionChange),this.enableSingleExpand=!0,this.stackTools=!0,S(window)}static{this.properties={appLayout:1,appProxies:1,defaultWebmapId:1,defaultLayerId:1,enableHome:5,enableLegend:5,enableFloorFilter:5,enableFullscreen:5,enableShare:5,enableSingleExpand:5,enableSearch:5,enableBasemap:5,basemapConfig:0,hide:5,homeZoomIndex:9,homeZoomPosition:1,homeZoomToolsSize:1,mapInfos:0,mapWidgetsIndex:9,mapWidgetsPosition:1,mapWidgetsSize:1,mapView:0,stackTools:5,theme:1,toolOrder:0,isMapLayout:5,shareIncludeEmbed:5,shareIncludeSocial:5,selectedFeaturesIds:0,selectedLayer:0,zoomToScale:9,onlyShowUpdatableLayers:5,isMobile:5,mapInfo:0,_translations:16,_searchConfiguration:16,_webMapInfo:16,_toolInfos:16}}static{this.styles=W}static{this.shadowRootOptions=g}willUpdate(e){e.has("appLayout")&&this.appLayoutWatchHandler(),e.has("enableHome")&&this.enableHomeWatchHandler(),e.has("mapView")&&this.mapViewWatchHandler(),e.has("selectedLayer")&&this.selectedLayerWatchHandler(),e.has("selectedFeaturesIds")&&this.selectedFeaturesIdsWatchHandler()}appLayoutWatchHandler(){this._updateShareUrl()}enableHomeWatchHandler(){this.mapView&&this._initHome()}async mapViewWatchHandler(){this.mapView&&this._updateShareUrl()}async selectedLayerWatchHandler(){await this.selectedLayer?.when(async()=>{this._definitionExpression=this.selectedLayer?.definitionExpression||""})}async selectedFeaturesIdsWatchHandler(){this._updateShareUrl(),this._validateEnabledActions()}async resetFilter(){this._filterActive=!1,this._updateShareUrl()}async updateFilterState(e){this._filterActive=e,this._updateShareUrl()}async updateLayer(){this._mapLayerPicker.value&&this._mapLayerPicker.value.updateLayer()}async mapInfoChange(e){await this._loadMap(e.detail)}noLayersFound(){this.selectedLayer=void 0,this.selectedFeaturesIds=[]}layerSelectionChange(){setTimeout(()=>{this._initToolInfos()},50)}async load(){await this._initModules(),this._initToolInfos()}render(){let e=this.isMapLayout?"display-flex height-49-px":"",i=this.hide?"visibility-hidden-1":"",s=this.theme==="dark"?"calcite-mode-dark":"calcite-mode-light",t=this.mapInfos?.length>1||this.isMapLayout?"map-height":"height-full",a=this.isMapLayout?"":"display-none";return this._validateActiveActions(),h`<div class=${`${e} width-full`} ${n(this._toolbar)}>${this._getActionBar()}<div slot=header-actions-end class="display-flex absolute-right">${this.enableShare&&!this.isMobile&&this.isMapLayout?this._getShare("share"):void 0}</div></div><calcite-progress class=${c(a)} value=0></calcite-progress><div class=${`${t} ${i}`} ${n(this._mapDiv)}></div>${h`<map-tools .basemapConfig=${this.basemapConfig} class=${`box-shadow ${s}`} .enableBasemap=${this.enableBasemap} .enableFloorFilter=${this.enableFloorFilter} .enableFullscreen=${this.enableFullscreen} .enableHome=${this.enableHome} .enableLegend=${this.enableLegend} .enableSearch=${this.enableSearch} .enableSingleExpand=${this.enableSingleExpand} .homeZoomToolsSize=${this.homeZoomToolsSize} .mapView=${this.mapView} .mapWidgetsSize=${this.mapWidgetsSize} .position=${this.mapWidgetsPosition} .searchConfiguration=${this._searchConfiguration} .stackTools=${this.stackTools} .toolOrder=${this.toolOrder} ${n(this._mapTools)}></map-tools>`}`}updated(){document.onclick=e=>this._handleDocumentClick(e)}loaded(){this._updateShareUrl()}async _initModules(){let[e,i,s,t]=await w(["esri/WebMap","esri/views/MapView","esri/widgets/Home","esri/config"]);this.WebMap=e,this.MapView=i,this.Home=s,this.esriConfig=t}async _loadMap(e){let i=!this._defaultWebmapHonored&&this.defaultWebmapId,s=this.mapInfos?.filter(l=>l.id===this.defaultWebmapId),t=JSON.stringify(e)!==JSON.stringify(this._webMapInfo);this._webMapInfo=i&&s?s[0]:!e?.id&&this.mapInfos.length>0?this.mapInfos[0]:e;let a=this._webMapInfo.id,p=i&&e?.id===this.defaultWebmapId;if(this._loadedId!==a&&!i||p){let l=this.WebMap&&new this.WebMap({portalItem:{id:a}});this.appProxies&&l&&this.esriConfig&&(await l.load(),await v(l,this.esriConfig,this.appProxies)),this.mapView=this.MapView&&new this.MapView({container:this._mapDiv.value,map:l,resizeAlign:"center"}),this._loadedId=a,this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapView&&await this.mapView.when(()=>{this._initHome(),this.mapView&&(this._mapTools.value&&this.mapView.ui.add(this._mapTools.value,{position:this.mapWidgetsPosition,index:this.mapWidgetsIndex}),this._defaultWebmapHonored=p?!0:this._defaultWebmapHonored,this.mapChanged.emit({id:a,mapView:this.mapView}))})}else i?(this._defaultWebmapHonored=!0,this._mapPicker.value&&this._mapPicker.value.setMapByID(a)):t&&this.mapView&&(this._searchConfiguration=this._webMapInfo.searchConfiguration,this.beforeMapChanged.emit(),this.mapChanged.emit({id:a,mapView:this.mapView}));this._updateShareUrl()}_getActionBar(){let e=this.mapInfos?.length>1?"":"display-none",i=this.isMapLayout?"display-flex":"display-block",s=this.isMobile?"border-top":"",t=this.isMapLayout?"":"display-none";return h`<calcite-action-bar class=${c(i)} expand-disabled expanded id=${this._getId("bar")??u} layout=horizontal><map-picker class=${c(e)} id=map-picker .isMapLayout=${this.isMapLayout} .mapInfos=${this.mapInfos} ${n(this._mapPicker)}></map-picker><div class=${`mapView-header display-flex ${t}`} id=solutions-map-layer-picker-container><div class=${`border-end ${i} ${s}`}>${this.mapView&&h`<map-layer-picker appearance=transparent .defaultLayerId=${this.defaultLayerId} display=inline-flex height=50 .isMobile=${this.isMobile} .mapView=${this.mapView} @lyShowUpdatableLayers=${this.onlyShowUpdatableLayers} placeholder-icon=layers scale=l .selectedIds=${this.selectedLayer?[this.selectedLayer.id]:[]} show-single-layer-as-label show-tables show-tables-disabled type=dropdown ${n(this._mapLayerPicker)}></map-layer-picker>`||""}</div></div>${!this.isMobile&&this.isMapLayout?this._getActions():void 0}</calcite-action-bar>`}_getShare(e){return h`<div class="share-action" id=${this._getId(e)??u}>${this.mapView&&h`<instant-apps-social-share class="instant-app-share" .embed=${this.shareIncludeEmbed} flip-rtl popover-button-icon-scale=s scale=m share-button-color=neutral share-button-type=action .socialMedia=${this.shareIncludeSocial} .view=${this.mapView} ${n(i=>{i&&(this._shareNode=i,this._updateShareUrl())})}></instant-apps-social-share>`||""}${this._getToolTip("bottom",e,this._translations?.share)}</div>`}_updateShareUrl(){let e=this._shareNode?.shareUrl;if(!e)return;let i=new URL(e);this._loadedId?i.searchParams.set("webmap",this._loadedId):i.searchParams.delete("webmap"),this.selectedLayer?.id?i.searchParams.set("layer",this.selectedLayer.id):i.searchParams.delete("layer"),this.selectedFeaturesIds?.length>0?i.searchParams.set("oid",this.selectedFeaturesIds.join(",")):i.searchParams.delete("oid"),this.appLayout&&i.searchParams.set("applayout",this.appLayout),this._shareNode&&(this._shareNode.shareUrl=i.href)}_initToolInfos(){let e=this.selectedFeaturesIds?.length>0;this.selectedFeaturesIds?.length>1;let i=[];i.push({active:!1,icon:"zoom-to-object",indicator:!1,label:this._translations.zoom,func:()=>this._zoom(),disabled:!e}),i.push({active:!1,icon:"filter",indicator:!1,label:this._translations.filters,func:()=>this._toggleFilter(),disabled:!1}),i.push({active:!1,icon:"refresh",indicator:!1,label:this._translations.refresh,func:()=>this.selectedLayer?.refresh(),disabled:!1}),i.push({active:!1,icon:"erase",indicator:!1,label:this._translations.clearSelection,func:()=>this.clearSelection.emit(),disabled:!e}),this._toolInfos=i}_validateActiveActions(){let e=["filter"];this._toolInfos?.forEach(i=>{i&&e.indexOf(i.icon)>-1&&i.icon==="filter"&&(i.indicator=this._filterActive)})}_validateEnabledActions(){let e=this.selectedFeaturesIds?.length>0,i=this.selectedFeaturesIds?.length>1&&this.selectedLayer?.capabilities?.operations?.supportsUpdate,s=["zoom-to-object","pencil","erase"];this._toolInfos?.forEach(t=>{t&&s.indexOf(t.icon)>-1&&(t.disabled=t.icon==="pencil"?!i:!e)})}_initHome(){if(this.enableHome){if(this._homeWidget=this.Home&&new this.Home({view:this.mapView}),this._homeWidget&&this.mapView){this.mapView.ui.add(this._homeWidget,{position:this.homeZoomPosition,index:this.homeZoomIndex});let e=this.homeZoomToolsSize==="s"?"32px":this.homeZoomToolsSize==="m"?"40px":"48px";this._homeWidget.domNode.style.height=e,this._homeWidget.domNode.style.width=e}}else this._homeWidget&&this.mapView&&this.mapView.ui.remove(this._homeWidget)}_handleDocumentClick(e){e.target.tagName!=="MAP-PICKER"&&(this._mapListExpanded=!1,this._mapPicker.value&&this._mapPicker.value.close())}async _zoom(){if(this.selectedLayer&&this.mapView){let e=await L(this.mapView,this.selectedLayer.id);e&&await $(this.selectedFeaturesIds,e,this.mapView,!0,void 0,this.zoomToScale)}}async _toggleFilter(){this.toggleFilter.emit()}_hasFilterExpressions(){let e=[];return this.mapInfo?.filterConfig?.layerExpressions&&this.selectedLayer?.id&&(e=this.mapInfo.filterConfig.layerExpressions.filter(i=>i.id===this.selectedLayer?.id)),e.length>0}_getActions(){return this._toolInfos?.reduce((e,i)=>(i&&e.push(this._getAction(i.active,i.icon,i.indicator,i.label,i.func,i.disabled,i.loading)),e),[])}_getToolTip(e,i,s){return document.getElementById(i)?h`<calcite-tooltip .placement=${e} .referenceElement=${"map-"+i}><span>${s}</span></calcite-tooltip>`:void 0}_getAction(e,i,s,t,a,p,l){let x=this.selectedLayer===void 0?!0:p;return h`<calcite-action .active=${e} appearance=solid .disabled=${x} .icon=${i} .id=${"map-"+i} .indicator=${s} .label=${t} .loading=${l} @click=${a} .text=${t} text-enabled></calcite-action>`}_getId(e){return`solutions-action-${e}`}};y("map-card",f);export{f as MapCard};
@@ -0,0 +1,3 @@
1
+ /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
+ See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
+ v1.0.0-next.20250501.2 */