@esri/solutions-components 1.0.0-next.20250605 → 1.0.0-next.20250610

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 (462) hide show
  1. package/dist/assets/spatialReferences.json.d.ts +3 -0
  2. package/dist/cdn/{W2YR6DCI.js → 243XIJUK.js} +2 -2
  3. package/dist/cdn/{GK37CEKN.js → 25SG2GT6.js} +2 -2
  4. package/dist/cdn/26V65KO5.js +4 -0
  5. package/dist/cdn/{NLIFCBCW.js → 2KAZVBXF.js} +2 -2
  6. package/dist/cdn/2NFTBOR6.js +4 -0
  7. package/dist/cdn/{XK4Y3NEC.js → 2QLL7KRA.js} +3 -3
  8. package/dist/cdn/{5JEZVAD4.js → 2SPB6YWD.js} +1 -1
  9. package/dist/cdn/{SPASMJZ7.js → 2VLL65Q3.js} +2 -2
  10. package/dist/cdn/{T5NML6EW.js → 2ZBKRLIH.js} +2 -2
  11. package/dist/cdn/{SBYXJC54.js → 2ZYGIAK7.js} +2 -2
  12. package/dist/cdn/3FYSHEGC.js +4 -0
  13. package/dist/cdn/{ND4M76E6.js → 3GQWIJEV.js} +2 -2
  14. package/dist/cdn/{4RAQTPVG.js → 3IM72Q7I.js} +2 -2
  15. package/dist/cdn/3MMNPTWA.js +4 -0
  16. package/dist/cdn/3RSE7GWO.js +18 -0
  17. package/dist/cdn/3TPK447W.js +18 -0
  18. package/dist/cdn/{JDEXVRJ5.js → 3U5ZQLVD.js} +2 -2
  19. package/dist/cdn/{PB7R6EJV.js → 3YU6HJT3.js} +2 -2
  20. package/dist/cdn/{EFQJYMT3.js → 3ZZA5SJJ.js} +2 -2
  21. package/dist/cdn/4BBMUYOY.js +4 -0
  22. package/dist/cdn/{CZL4FXMV.js → 4CU2JG7Y.js} +2 -2
  23. package/dist/cdn/{ROVGEAF3.js → 4D7Q4GOL.js} +2 -2
  24. package/dist/cdn/{CIHLT7JJ.js → 4RCKKVLX.js} +2 -2
  25. package/dist/cdn/{L23ZIKAY.js → 4REMJIC2.js} +2 -2
  26. package/dist/cdn/{KI4MEEVP.js → 4YZYX25D.js} +2 -2
  27. package/dist/cdn/{F3L5GFZI.js → 55WTY3OW.js} +2 -2
  28. package/dist/cdn/{OG3HGM7O.js → 5BVRVDRV.js} +2 -2
  29. package/dist/cdn/5FJYF35Q.js +18 -0
  30. package/dist/cdn/{CH2SVK4L.js → 5GOMCD3R.js} +2 -2
  31. package/dist/cdn/{UWKDTPML.js → 5PTXJEIG.js} +1 -1
  32. package/dist/cdn/{NU2EHQKG.js → 5QW7OUY4.js} +2 -2
  33. package/dist/cdn/{ZIZC3PWT.js → 62U5XQ53.js} +2 -2
  34. package/dist/cdn/{I3DYDXPP.js → 6J57YUW2.js} +2 -2
  35. package/dist/cdn/{PHJTNAEQ.js → 6JMHJ4JX.js} +2 -2
  36. package/dist/cdn/{EACONZXN.js → 6JNDGVGH.js} +2 -2
  37. package/dist/cdn/{PDE5YS33.js → 6MX6UN7I.js} +2 -2
  38. package/dist/cdn/{H7DFMVRR.js → 6N4W6KCO.js} +2 -2
  39. package/dist/cdn/{TB6EIWVL.js → 6POZOMRQ.js} +2 -2
  40. package/dist/cdn/{QADXDV6V.js → 6QCOPT4C.js} +2 -2
  41. package/dist/cdn/{XOLJEZVW.js → 6QFNQCBR.js} +2 -2
  42. package/dist/cdn/{CZC5E6PT.js → 6SWIDSO3.js} +2 -2
  43. package/dist/cdn/{UTDSMFWL.js → 6XDCOPQY.js} +1 -1
  44. package/dist/cdn/{MXZE6DRA.js → 6ZFIZXBP.js} +2 -2
  45. package/dist/cdn/{KN36CLI6.js → 6ZSHJ5AZ.js} +1 -1
  46. package/dist/cdn/747TJLHD.js +4 -0
  47. package/dist/cdn/7CYK6OHD.js +4 -0
  48. package/dist/cdn/{WSM3I5LT.js → 7EC2QANE.js} +2 -2
  49. package/dist/cdn/7KHJWE7I.js +46 -0
  50. package/dist/cdn/7NVOEDDR.js +4 -0
  51. package/dist/cdn/{VPORF37W.js → 7NYELHIW.js} +2 -2
  52. package/dist/cdn/{66C54WBP.js → 7PGOUADZ.js} +2 -2
  53. package/dist/cdn/{OEHWO6ML.js → 7QIPUZMZ.js} +2 -2
  54. package/dist/cdn/{4L4IBTJF.js → 7URYQJYI.js} +2 -2
  55. package/dist/cdn/{WMFM2LJJ.js → A57VSTIU.js} +2 -2
  56. package/dist/cdn/{ZRH55DSX.js → A7I5BLUD.js} +2 -2
  57. package/dist/cdn/{3I4OEU4B.js → A7XA3HJY.js} +2 -2
  58. package/dist/cdn/{NZBLJRVM.js → AA2RTEXB.js} +2 -2
  59. package/dist/cdn/{PMETOHGA.js → AE4QMTGD.js} +2 -2
  60. package/dist/cdn/AJ4EANAJ.js +4 -0
  61. package/dist/cdn/{JCWH5TGE.js → AKVBZAV2.js} +2 -2
  62. package/dist/cdn/AL32QPJO.js +18 -0
  63. package/dist/cdn/{J6PNQKBC.js → AMA3CIUW.js} +2 -2
  64. package/dist/cdn/{WZEIIAU2.js → ANDBAAW7.js} +2 -2
  65. package/dist/cdn/{HEPGER72.js → AO22ELU2.js} +2 -2
  66. package/dist/cdn/{TFY5N3WM.js → AO3Y73S4.js} +2 -2
  67. package/dist/cdn/{C4NNXXEU.js → APPDDPRJ.js} +2 -2
  68. package/dist/cdn/{XSYAZ3QX.js → ARFHWNZW.js} +2 -2
  69. package/dist/cdn/{JURO4ER3.js → AZRDVXFS.js} +2 -2
  70. package/dist/cdn/BCT6TYYF.js +4 -0
  71. package/dist/cdn/BJEE2QDX.js +4 -0
  72. package/dist/cdn/{SRNUXUPT.js → BMCGFY4D.js} +2 -2
  73. package/dist/cdn/{WUF32TGT.js → C2WZRDNU.js} +2 -2
  74. package/dist/cdn/{ONPGGFF4.js → CHIYX226.js} +2 -2
  75. package/dist/cdn/{ZRMVLR6Z.js → CHPCWQV3.js} +1 -1
  76. package/dist/cdn/{D4ZAKPPN.js → CKPYQPTD.js} +2 -2
  77. package/dist/cdn/{SA6AJPBT.js → COVJW67Z.js} +2 -2
  78. package/dist/cdn/{P7IZEV4L.js → CQQABTQM.js} +2 -2
  79. package/dist/cdn/{3S7YVVVZ.js → CTYWBQY2.js} +2 -2
  80. package/dist/cdn/{TROND5WN.js → CUNBBRGG.js} +2 -2
  81. package/dist/cdn/{TWXRBFOF.js → CZGM62A6.js} +2 -2
  82. package/dist/cdn/{PGUKFHUT.js → D3O2HT2V.js} +2 -2
  83. package/dist/cdn/{FM5G7FRN.js → D5G2QLXU.js} +2 -2
  84. package/dist/cdn/{BVF77XL3.js → DAEBIZTJ.js} +2 -2
  85. package/dist/cdn/DI3SB5LW.js +4 -0
  86. package/dist/cdn/{EJFAX7DQ.js → DJD52FAE.js} +3 -3
  87. package/dist/cdn/{4SADSXOQ.js → DKKDSFW7.js} +2 -2
  88. package/dist/cdn/{ELZ7PG6K.js → DWL6QFE4.js} +2 -2
  89. package/dist/cdn/DX7BBY5L.js +18 -0
  90. package/dist/cdn/DYZLHNVS.js +4 -0
  91. package/dist/cdn/{N67Z7ZNA.js → DZTZIDHJ.js} +2 -2
  92. package/dist/cdn/{J7MKHQD5.js → E4GHAC43.js} +2 -2
  93. package/dist/cdn/{GB5JUBYE.js → E5SVQDAC.js} +2 -2
  94. package/dist/cdn/{7Z27VXFW.js → E6LAV57F.js} +2 -2
  95. package/dist/cdn/{55C6EXD4.js → E7LSGXZN.js} +2 -2
  96. package/dist/cdn/{O7NFPTWX.js → E7TY2OIZ.js} +2 -2
  97. package/dist/cdn/{HRSOPFCG.js → EBHIEP3O.js} +2 -2
  98. package/dist/cdn/{F3B6EWIS.js → ECUMDGF6.js} +2 -2
  99. package/dist/cdn/{4RRDEPWJ.js → EDPMTOWD.js} +2 -2
  100. package/dist/cdn/{JPYE25NL.js → EGTQT3ZY.js} +2 -2
  101. package/dist/cdn/{DVL6LPJA.js → EHA23YLG.js} +2 -2
  102. package/dist/cdn/{PGUOGQLS.js → EJ7MPJF2.js} +2 -2
  103. package/dist/cdn/{DUW7R25K.js → ELFPC4FQ.js} +2 -2
  104. package/dist/cdn/{JANCWVYC.js → EOURQHYH.js} +2 -2
  105. package/dist/cdn/{FJTPGHCP.js → EWLVZYDD.js} +2 -2
  106. package/dist/cdn/{Z55KW3GE.js → EWPN7Y3J.js} +2 -2
  107. package/dist/cdn/{FNEE7DUR.js → EY76BJOK.js} +2 -2
  108. package/dist/cdn/{3PFSXVNI.js → EZROAF3H.js} +2 -2
  109. package/dist/cdn/{PSFFYGFC.js → F75ZTCHZ.js} +2 -2
  110. package/dist/cdn/{2UP2HWNK.js → FGIPZYFM.js} +3 -3
  111. package/dist/cdn/{2WRSC34B.js → FNMXMPWJ.js} +2 -2
  112. package/dist/cdn/{DKEAKE2K.js → FO3XKEOC.js} +1 -1
  113. package/dist/cdn/{6UUULLLC.js → FWTBUEHA.js} +2 -2
  114. package/dist/cdn/{WNKH5IG6.js → G3FC7NQX.js} +2 -2
  115. package/dist/cdn/{STFHU6UJ.js → G54HYU4T.js} +2 -2
  116. package/dist/cdn/G6HN6TFX.js +4 -0
  117. package/dist/cdn/{5M4BUTK4.js → GA2ZUKPH.js} +2 -2
  118. package/dist/cdn/{U4TZ7FO3.js → GLQGCQKQ.js} +1 -1
  119. package/dist/cdn/{IL2JAPH7.js → GLZNOZSV.js} +2 -2
  120. package/dist/cdn/{JGA5STLE.js → GRH6L6AX.js} +1 -1
  121. package/dist/cdn/{VHB6NDP6.js → GT7ZLIPV.js} +1 -1
  122. package/dist/cdn/{7H5QHDT3.js → GWCLKO7W.js} +1 -1
  123. package/dist/cdn/GXLRWAQM.js +4 -0
  124. package/dist/cdn/GZTSZRL2.js +4 -0
  125. package/dist/cdn/{XYVZEUU3.js → H2TUSR7R.js} +1 -1
  126. package/dist/cdn/{KMPEI3WK.js → H7XUQNKK.js} +1 -1
  127. package/dist/cdn/{ZYH25ZQL.js → HAXSU4N2.js} +2 -2
  128. package/dist/cdn/HDPFTEW7.js +4 -0
  129. package/dist/cdn/{3R3QUK2F.js → HIXGXDSF.js} +2 -2
  130. package/dist/cdn/{OGO5SDYD.js → HJW7MRV7.js} +2 -2
  131. package/dist/cdn/{LFRLPN2S.js → HPIQJM5V.js} +2 -2
  132. package/dist/cdn/{H6KOMX3B.js → HR26NMCP.js} +2 -2
  133. package/dist/cdn/{55R3KRVW.js → HRXPEGPN.js} +2 -2
  134. package/dist/cdn/{5WBJ7JHK.js → HTGPVMDF.js} +4 -4
  135. package/dist/cdn/{MQX3K4RF.js → HY2FPZMQ.js} +3 -3
  136. package/dist/cdn/I5BHAIXT.js +18 -0
  137. package/dist/cdn/{GKGR6CL5.js → I6IP3HEU.js} +1 -1
  138. package/dist/cdn/{Y2F6P2NH.js → IAYSY7E4.js} +2 -2
  139. package/dist/cdn/{I6Q6CZKU.js → IDOXNWMU.js} +2 -2
  140. package/dist/cdn/{2IQP5CPJ.js → IQIUJCL5.js} +1 -1
  141. package/dist/cdn/{WCDC3LA2.js → IQZR2JNQ.js} +2 -2
  142. package/dist/cdn/{PLF2X6MM.js → IWQEYRKW.js} +2 -2
  143. package/dist/cdn/J32WUI3V.js +4 -0
  144. package/dist/cdn/{LMBHKGYA.js → J42OBAV6.js} +2 -2
  145. package/dist/cdn/{TT63U5XZ.js → JA6ZHJAG.js} +1 -1
  146. package/dist/cdn/{T3YBLIK3.js → JEFKNJI4.js} +2 -2
  147. package/dist/cdn/{QB54S7F4.js → JFIQPHVY.js} +1 -1
  148. package/dist/cdn/JHGRJIHO.js +18 -0
  149. package/dist/cdn/JRP43TMR.js +18 -0
  150. package/dist/cdn/{ZRJNRVE3.js → JTR6HRTY.js} +2 -2
  151. package/dist/cdn/{5TQFPX44.js → JTSY6HU4.js} +2 -2
  152. package/dist/cdn/JXXQJ623.js +18 -0
  153. package/dist/cdn/{NJS2N5K3.js → KB55TNLB.js} +2 -2
  154. package/dist/cdn/{LLHQVJKK.js → KKHWQSXB.js} +2 -2
  155. package/dist/cdn/KLYS5Y7D.js +4 -0
  156. package/dist/cdn/{MLJEVKSP.js → KMLGXG55.js} +2 -2
  157. package/dist/cdn/{7HTKOKPV.js → KPZNCFK7.js} +1 -1
  158. package/dist/cdn/{WRV54M6S.js → KVDLSZT5.js} +2 -2
  159. package/dist/cdn/{XSPGKSFV.js → KXIP4DWR.js} +3 -3
  160. package/dist/cdn/{MVBPZBKK.js → KZ5AJUM6.js} +2 -2
  161. package/dist/cdn/LC4T5GIX.js +4 -0
  162. package/dist/cdn/LFIVJEK2.js +4 -0
  163. package/dist/cdn/{TTCDYWE4.js → LMDJKC64.js} +2 -2
  164. package/dist/cdn/LOMV7XIZ.js +4 -0
  165. package/dist/cdn/{FUXLF2VF.js → LQVTKXFQ.js} +2 -2
  166. package/dist/cdn/{HVZJ36FS.js → LR42KSD7.js} +3 -3
  167. package/dist/cdn/{3CA2UUPB.js → LUCGZBV3.js} +2 -2
  168. package/dist/cdn/{YNKDS73P.js → LUWKLSCB.js} +2 -2
  169. package/dist/cdn/{HVNXNVUK.js → LZ37AJKN.js} +2 -2
  170. package/dist/cdn/{HITJF4RQ.js → M4X65SJB.js} +2 -2
  171. package/dist/cdn/{GRYSKL7I.js → M74AMYXF.js} +2 -2
  172. package/dist/cdn/MFATTJGH.js +6 -0
  173. package/dist/cdn/{R2CS5FOZ.js → MGTISYNJ.js} +2 -2
  174. package/dist/cdn/{POF7HICC.js → MLRAY2VI.js} +2 -2
  175. package/dist/cdn/MSN724ZV.js +4 -0
  176. package/dist/cdn/{A6VHGI5U.js → MXTL3VB4.js} +2 -2
  177. package/dist/cdn/{ZFYQGS6G.js → N4PA6ZFU.js} +2 -2
  178. package/dist/cdn/NB6P2ZLZ.js +18 -0
  179. package/dist/cdn/{CQZPEOV3.js → NS5FDWXK.js} +2 -2
  180. package/dist/cdn/{VYJNSH4L.js → O5WPS53A.js} +1 -1
  181. package/dist/cdn/{T2W5CMQT.js → O7LAX6TU.js} +2 -2
  182. package/dist/cdn/{2P5UHGEH.js → OBGE3PJZ.js} +2 -2
  183. package/dist/cdn/{WL5HYM67.js → ODZBAUH3.js} +2 -2
  184. package/dist/cdn/OEIXBUC3.js +4 -0
  185. package/dist/cdn/{T62HZRZ4.js → OG4YXHRH.js} +2 -2
  186. package/dist/cdn/{FBEKXE53.js → OGISURJ2.js} +1 -1
  187. package/dist/cdn/{HBJNKM2C.js → OOYAGXFU.js} +2 -2
  188. package/dist/cdn/{AOA73IL2.js → OUTGXSIV.js} +2 -2
  189. package/dist/cdn/OWN2B732.js +4 -0
  190. package/dist/cdn/{DUWNVKPD.js → P7PGGEDY.js} +1 -1
  191. package/dist/cdn/{5XNGEXET.js → PERO5WYC.js} +1 -1
  192. package/dist/cdn/{XKZSGZGT.js → PITFPHXJ.js} +2 -2
  193. package/dist/cdn/{UXLQNMFU.js → PWNQPO7M.js} +2 -2
  194. package/dist/cdn/{OGISVN6B.js → Q2RVLL7P.js} +1 -1
  195. package/dist/cdn/{34F5RSDO.js → QB5Q44P3.js} +2 -2
  196. package/dist/cdn/{SP2JO6Q3.js → QBKQKD2G.js} +2 -2
  197. package/dist/cdn/{DQBC22ZI.js → QDCUDH5M.js} +1 -1
  198. package/dist/cdn/{B2ZUA2SA.js → QEONXNFP.js} +2 -2
  199. package/dist/cdn/{D3MPEAVK.js → QS3XVQM7.js} +2 -2
  200. package/dist/cdn/{C3JZDZSB.js → QVNQSDMG.js} +2 -2
  201. package/dist/cdn/{6VLCRTPG.js → QZUUFSWN.js} +2 -2
  202. package/dist/cdn/{26YTMD6C.js → REUK7FUQ.js} +1 -1
  203. package/dist/cdn/RJCPG2OD.js +4 -0
  204. package/dist/cdn/{4ZGXBIVH.js → RKK6IXRN.js} +1 -1
  205. package/dist/cdn/{NJ3ACG6J.js → RLTUCGPF.js} +2 -2
  206. package/dist/cdn/{UYHKYPA5.js → RQNTLRQO.js} +2 -2
  207. package/dist/cdn/S2DOD45C.js +4 -0
  208. package/dist/cdn/{36QOQZUH.js → S7S35K4N.js} +2 -2
  209. package/dist/cdn/{NUVLGW3I.js → SA3FJIMJ.js} +2 -2
  210. package/dist/cdn/{I6GLKTED.js → SCC7OFOE.js} +1 -1
  211. package/dist/cdn/{76RSSIAE.js → SCJF5DK5.js} +2 -2
  212. package/dist/cdn/{GMIFING2.js → SKJFR7RS.js} +2 -2
  213. package/dist/cdn/{ZMNMOEFY.js → SKNW5XHW.js} +2 -2
  214. package/dist/cdn/{V4EKVAQ2.js → SMVLVIKJ.js} +1 -1
  215. package/dist/cdn/{AHQ3XGAS.js → SPDKAPN2.js} +2 -2
  216. package/dist/cdn/{CTHU3ZDE.js → SPJUB4WW.js} +2 -2
  217. package/dist/cdn/{I4DZFH7G.js → STTIKHQJ.js} +2 -2
  218. package/dist/cdn/{FAMDDI7C.js → SUUXG2YV.js} +2 -2
  219. package/dist/cdn/SV5SVPCF.js +4 -0
  220. package/dist/cdn/{XLFGPXWZ.js → SXV6GOCF.js} +2 -2
  221. package/dist/cdn/T3L6RRVE.js +4 -0
  222. package/dist/cdn/{2K4LEPDI.js → TQBG4MEK.js} +2 -2
  223. package/dist/cdn/TVJRJKDY.js +4 -0
  224. package/dist/cdn/{NL5KEH5L.js → U5WH4XWF.js} +2 -2
  225. package/dist/cdn/U7YWLWVS.js +4 -0
  226. package/dist/cdn/{FJU4NZYE.js → UC6XV223.js} +2 -2
  227. package/dist/cdn/{IJU4WTDO.js → UFK4WM7T.js} +2 -2
  228. package/dist/cdn/{D37USTZ3.js → UHSG6QNQ.js} +2 -2
  229. package/dist/cdn/{GQGYZ5UC.js → UI54E7VB.js} +2 -2
  230. package/dist/cdn/{7K5ZFURJ.js → UIUU6DED.js} +2 -2
  231. package/dist/cdn/UPMKLS4C.js +4 -0
  232. package/dist/cdn/UXH6MGRX.js +4 -0
  233. package/dist/cdn/V3GT6ZDE.js +4 -0
  234. package/dist/cdn/{W2MSJDRL.js → V4ESJ7QL.js} +2 -2
  235. package/dist/cdn/{MUSGKJHI.js → V74PXGTC.js} +2 -2
  236. package/dist/cdn/{CT4IZZF2.js → VANG24M3.js} +2 -2
  237. package/dist/cdn/VGIYVVAU.js +4 -0
  238. package/dist/cdn/{GNVUXY6S.js → VHT2MWYW.js} +2 -2
  239. package/dist/cdn/{NE2UAOWL.js → VLQDRULY.js} +2 -2
  240. package/dist/cdn/VMFAWFAM.js +4 -0
  241. package/dist/cdn/VOEWFARL.js +4 -0
  242. package/dist/cdn/{3RJL5JGR.js → VPUUIWE2.js} +2 -2
  243. package/dist/cdn/VQL327GB.js +18 -0
  244. package/dist/cdn/{YHJQLEL5.js → W27KI4TX.js} +2 -2
  245. package/dist/cdn/WCIL4Y2K.js +18 -0
  246. package/dist/cdn/{JI774UUM.js → WCZZYOTM.js} +1 -1
  247. package/dist/cdn/{RPSFV63U.js → WE523ZR2.js} +2 -2
  248. package/dist/cdn/{O6TVLT3A.js → WEVRGLHV.js} +2 -2
  249. package/dist/cdn/{3T72AHYQ.js → WH2I2W6Q.js} +2 -2
  250. package/dist/cdn/{T4XGEVZN.js → WNR7QUVP.js} +2 -2
  251. package/dist/cdn/WRV2RHJ6.js +18 -0
  252. package/dist/cdn/{R3TVF6ES.js → X77OKZCY.js} +2 -2
  253. package/dist/cdn/{JOUJ6B3E.js → XA6VGCTE.js} +2 -2
  254. package/dist/cdn/{YNOM76J7.js → XARXAL4K.js} +2 -2
  255. package/dist/cdn/{Q2SYWGNQ.js → XFOQ237Z.js} +2 -2
  256. package/dist/cdn/{B22SBUCC.js → XIWWE2AH.js} +2 -2
  257. package/dist/cdn/{DL73WI42.js → XJYLRRFL.js} +2 -2
  258. package/dist/cdn/{N74LH7NF.js → XKTGW3XN.js} +2 -2
  259. package/dist/cdn/{NHGBIUB5.js → XKYLZR42.js} +2 -2
  260. package/dist/cdn/{HPKI63DN.js → XOEQBFVP.js} +1 -1
  261. package/dist/cdn/{YESDLOJA.js → XPJYK2RV.js} +2 -2
  262. package/dist/cdn/{VLUKESNO.js → XSUHYP6Q.js} +2 -2
  263. package/dist/cdn/{MANN6WHT.js → XVFOF3T5.js} +1 -1
  264. package/dist/cdn/{FNTEHVST.js → XVV53OIG.js} +2 -2
  265. package/dist/cdn/{6FA2FL3C.js → Y4MLXPRQ.js} +2 -2
  266. package/dist/cdn/{XUJO4B4K.js → YFYERRHB.js} +1 -1
  267. package/dist/cdn/{EKG3CXMP.js → YGNM3KWY.js} +1 -1
  268. package/dist/cdn/{P3FCJEZO.js → YJ3QUHDU.js} +2 -2
  269. package/dist/cdn/{6AYWXJGE.js → YJ6YWNY6.js} +2 -2
  270. package/dist/cdn/{FCGJ2VZH.js → YJVHNGLM.js} +2 -2
  271. package/dist/cdn/{TULGRERT.js → YKGOPNZG.js} +2 -2
  272. package/dist/cdn/{RJCEZOX5.js → YN6JZ5LC.js} +2 -2
  273. package/dist/cdn/YOUEIKMV.js +18 -0
  274. package/dist/cdn/{JJL2DXOK.js → YYIW4SX5.js} +2 -2
  275. package/dist/cdn/Z4QMYZMZ.js +4 -0
  276. package/dist/cdn/{FSN5FQRG.js → ZBC2KSKJ.js} +1 -1
  277. package/dist/cdn/ZCJBWPBW.js +4 -0
  278. package/dist/cdn/{4D4Q4I4W.js → ZHYUBIKC.js} +2 -2
  279. package/dist/cdn/{DFH335RF.js → ZIXRBHFZ.js} +2 -2
  280. package/dist/cdn/ZRRGRRES.js +4 -0
  281. package/dist/cdn/{VK73BGU2.js → ZSCGQDPT.js} +2 -2
  282. package/dist/cdn/{LU6KZOCK.js → ZX7QCDFK.js} +2 -2
  283. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.en.json +1 -1
  284. package/dist/cdn/assets/solution-deploy-dialog/t9n/messages.json +1 -1
  285. package/dist/cdn/assets/solution-details-panel/t9n/messages.en.json +1 -1
  286. package/dist/cdn/assets/solution-details-panel/t9n/messages.json +1 -1
  287. package/dist/cdn/assets/solutions-filter-panel/t9n/messages.en.json +1 -1
  288. package/dist/cdn/index.js +2 -2
  289. package/dist/cdn/main.css +1 -1
  290. package/dist/chunks/Auth.js +3 -9
  291. package/dist/chunks/appConfig.js +11 -0
  292. package/dist/chunks/cardFetchingUtils.js +102 -150
  293. package/dist/chunks/common.js +1 -1
  294. package/dist/chunks/deployAppContexts.js +1 -1
  295. package/dist/chunks/downloadUtils.js +1 -1
  296. package/dist/chunks/helpers.js +76 -0
  297. package/dist/chunks/index.js +1 -1
  298. package/dist/chunks/interfaces.js +21 -20
  299. package/dist/chunks/loadModules.js +1 -1
  300. package/dist/chunks/mapViewUtils.js +1 -1
  301. package/dist/chunks/pciUtils.js +1 -1
  302. package/dist/chunks/popupUtils.js +1 -1
  303. package/dist/chunks/publicNotificationStore.js +1 -1
  304. package/dist/chunks/queryUtils.js +1 -1
  305. package/dist/chunks/runtime.js +1 -1
  306. package/dist/chunks/solution-store.js +1 -1
  307. package/dist/chunks/templates.js +1 -1
  308. package/dist/chunks/useT9n.js +1 -1
  309. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  310. package/dist/components/basemap-gallery/customElement.js +1 -1
  311. package/dist/components/buffer-tools/customElement.js +1 -1
  312. package/dist/components/card-manager/customElement.js +24 -23
  313. package/dist/components/consent-manager/customElement.js +1 -1
  314. package/dist/components/create-feature/customElement.d.ts +6 -0
  315. package/dist/components/create-feature/customElement.js +8 -8
  316. package/dist/components/create-related-feature/customElement.js +1 -1
  317. package/dist/components/crowdsource-manager/customElement.js +13 -13
  318. package/dist/components/crowdsource-reporter/customElement.js +19 -16
  319. package/dist/components/deduct-calculator/customElement.js +1 -1
  320. package/dist/components/delete-button/customElement.js +1 -1
  321. package/dist/components/delete-dialog/customElement.js +1 -1
  322. package/dist/components/edit-card/customElement.js +24 -18
  323. package/dist/components/feature-details/customElement.js +1 -1
  324. package/dist/components/feature-list/customElement.js +1 -1
  325. package/dist/components/field-selection/customElement.js +1 -1
  326. package/dist/components/floor-filter/customElement.js +1 -1
  327. package/dist/components/info-card/customElement.js +1 -1
  328. package/dist/components/json-editor/customElement.js +1 -1
  329. package/dist/components/layer-list/customElement.js +1 -1
  330. package/dist/components/layer-table/customElement.js +1 -1
  331. package/dist/components/map-card/customElement.d.ts +12 -0
  332. package/dist/components/map-card/customElement.js +25 -25
  333. package/dist/components/map-draw-tools/customElement.js +2 -2
  334. package/dist/components/map-fullscreen/customElement.js +1 -1
  335. package/dist/components/map-layer-picker/customElement.js +2 -2
  336. package/dist/components/map-legend/customElement.js +1 -1
  337. package/dist/components/map-picker/customElement.js +22 -18
  338. package/dist/components/map-search/customElement.js +1 -1
  339. package/dist/components/map-select-tools/customElement.js +1 -1
  340. package/dist/components/map-tools/customElement.js +2 -2
  341. package/dist/components/pci-calculator/customElement.js +1 -1
  342. package/dist/components/pdf-download/customElement.js +1 -1
  343. package/dist/components/public-notification/customElement.js +2 -2
  344. package/dist/components/refine-selection/customElement.js +2 -2
  345. package/dist/components/selection-tool/customElement.js +1 -1
  346. package/dist/components/solution-article-card/customElement.js +1 -1
  347. package/dist/components/solution-configuration/customElement.js +1 -1
  348. package/dist/components/solution-configure-panel/customElement.js +1 -1
  349. package/dist/components/solution-configure-titles/customElement.js +1 -1
  350. package/dist/components/solution-contents/customElement.js +1 -1
  351. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  352. package/dist/components/solution-deploy-dialog/customElement.d.ts +42 -0
  353. package/dist/components/solution-deploy-dialog/customElement.js +154 -16
  354. package/dist/components/solution-deploy-dialog/index.d.ts +9 -0
  355. package/dist/components/solution-deploy-dialog/index.js +9 -0
  356. package/dist/components/solution-deployed-card/customElement.d.ts +4 -0
  357. package/dist/components/solution-deployed-card/customElement.js +16 -11
  358. package/dist/components/solution-deploying-panel/customElement.js +1 -1
  359. package/dist/components/solution-details-card/customElement.d.ts +4 -11
  360. package/dist/components/solution-details-card/customElement.js +16 -16
  361. package/dist/components/solution-details-panel/customElement.d.ts +17 -0
  362. package/dist/components/solution-details-panel/customElement.js +113 -18
  363. package/dist/components/solution-details-panel/index.d.ts +12 -0
  364. package/dist/components/solution-details-panel/index.js +12 -0
  365. package/dist/components/solution-item/customElement.js +1 -1
  366. package/dist/components/solution-item-accordion/customElement.js +1 -1
  367. package/dist/components/solution-item-details/customElement.js +1 -1
  368. package/dist/components/solution-item-icon/customElement.js +1 -1
  369. package/dist/components/solution-item-sharing/customElement.js +1 -1
  370. package/dist/components/solution-items-diagram/customElement.js +1 -1
  371. package/dist/components/solution-organization-variables/customElement.js +1 -1
  372. package/dist/components/solution-resource-item/customElement.js +1 -1
  373. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  374. package/dist/components/solution-spatial-ref/customElement.js +2 -2
  375. package/dist/components/solution-template-data/customElement.js +1 -1
  376. package/dist/components/solution-variables/customElement.js +1 -1
  377. package/dist/components/solutions-all-panel/customElement.d.ts +8 -8
  378. package/dist/components/solutions-all-panel/customElement.js +50 -52
  379. package/dist/components/solutions-all-shell/customElement.d.ts +1 -1
  380. package/dist/components/solutions-all-shell/customElement.js +31 -29
  381. package/dist/components/solutions-article-panel/customElement.js +1 -1
  382. package/dist/components/solutions-articles/customElement.js +1 -1
  383. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  384. package/dist/components/solutions-deployed-panel/customElement.js +15 -14
  385. package/dist/components/solutions-deployed-shell/customElement.d.ts +1 -1
  386. package/dist/components/solutions-deployed-shell/customElement.js +28 -26
  387. package/dist/components/solutions-filter-panel/customElement.d.ts +8 -3
  388. package/dist/components/solutions-filter-panel/customElement.js +82 -101
  389. package/dist/components/spatial-ref/customElement.js +1 -1
  390. package/dist/components/store-manager/customElement.js +1 -1
  391. package/dist/docs/api.json +521 -259
  392. package/dist/docs/docs.json +504 -192
  393. package/dist/docs/vscode.html-custom-data.json +32 -43
  394. package/dist/docs/web-types.json +172 -87
  395. package/dist/index.d.ts +32 -6
  396. package/dist/index.js +1 -1
  397. package/dist/loader.js +7 -8
  398. package/dist/types/lumina.d.ts +10 -10
  399. package/dist/types/preact.d.ts +10 -11
  400. package/dist/types/react.d.ts +10 -12
  401. package/dist/types/stencil.d.ts +10 -10
  402. package/dist/utils/cardFetchingUtils.d.ts +3 -3
  403. package/dist/utils/interfaces.d.ts +47 -9
  404. package/package.json +3 -2
  405. package/dist/cdn/33CJMY5K.js +0 -18
  406. package/dist/cdn/3FEML345.js +0 -18
  407. package/dist/cdn/3IP3UCC6.js +0 -4
  408. package/dist/cdn/4OW4FAGV.js +0 -18
  409. package/dist/cdn/4ZZY4G5L.js +0 -4
  410. package/dist/cdn/5CTYL5OX.js +0 -4
  411. package/dist/cdn/5VVOF3UA.js +0 -4
  412. package/dist/cdn/6BLHHHGI.js +0 -18
  413. package/dist/cdn/6QGWW2DJ.js +0 -4
  414. package/dist/cdn/AS2YP4CC.js +0 -4
  415. package/dist/cdn/BFNEXKKP.js +0 -18
  416. package/dist/cdn/C5ZEFQEX.js +0 -4
  417. package/dist/cdn/CMO56LFB.js +0 -4
  418. package/dist/cdn/CR2HG4F6.js +0 -4
  419. package/dist/cdn/D57MZFOU.js +0 -4
  420. package/dist/cdn/DDWTO2EM.js +0 -4
  421. package/dist/cdn/DL42SYVU.js +0 -4
  422. package/dist/cdn/EI3DVNTC.js +0 -4
  423. package/dist/cdn/GAEZB6HN.js +0 -4
  424. package/dist/cdn/HA2OGFHW.js +0 -4
  425. package/dist/cdn/HIYIOXEQ.js +0 -4
  426. package/dist/cdn/I2GIDS2K.js +0 -4
  427. package/dist/cdn/IPXVQFFH.js +0 -4
  428. package/dist/cdn/J2ZOLADT.js +0 -4
  429. package/dist/cdn/JH33JHRL.js +0 -4
  430. package/dist/cdn/KCMPZ54Y.js +0 -18
  431. package/dist/cdn/KS3MADXB.js +0 -4
  432. package/dist/cdn/LK4UQLYZ.js +0 -18
  433. package/dist/cdn/LROPDZCW.js +0 -4
  434. package/dist/cdn/M6XME7OM.js +0 -4
  435. package/dist/cdn/PEOMHSG3.js +0 -4
  436. package/dist/cdn/PFGUJCMD.js +0 -18
  437. package/dist/cdn/PGXMYR7Q.js +0 -18
  438. package/dist/cdn/PIBSUTGK.js +0 -18
  439. package/dist/cdn/PJPC75F5.js +0 -4
  440. package/dist/cdn/RMYNQEIN.js +0 -18
  441. package/dist/cdn/RRRRSVAS.js +0 -4
  442. package/dist/cdn/SYSZXXPY.js +0 -4
  443. package/dist/cdn/TKRGTLNR.js +0 -18
  444. package/dist/cdn/TQ2X7VMW.js +0 -6
  445. package/dist/cdn/U44MKOB3.js +0 -4
  446. package/dist/cdn/VJPEZ2CS.js +0 -18
  447. package/dist/cdn/VLHFZNHN.js +0 -4
  448. package/dist/cdn/VUAQDVTL.js +0 -18
  449. package/dist/cdn/XCZRYZDV.js +0 -4
  450. package/dist/cdn/XEG2HRCV.js +0 -4
  451. package/dist/cdn/YNVH5WET.js +0 -4
  452. package/dist/cdn/YS42NZJY.js +0 -4
  453. package/dist/cdn/YZNBB7J7.js +0 -4
  454. package/dist/cdn/ZE5UWIMJ.js +0 -4
  455. package/dist/cdn/ZIAYAVCI.js +0 -18
  456. package/dist/cdn/ZVTVCHDD.js +0 -18
  457. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.en.json +0 -1
  458. package/dist/cdn/assets/solution-deploy-panel/t9n/messages.json +0 -1
  459. package/dist/components/solution-deploy-panel/customElement.d.ts +0 -18
  460. package/dist/components/solution-deploy-panel/customElement.js +0 -72
  461. package/dist/components/solution-deploy-panel/index.d.ts +0 -12
  462. package/dist/components/solution-deploy-panel/index.js +0 -12
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as xn}from"./FCGJ2VZH.js";import{D as bn,I as wn,c as yn,o as vn}from"./XSPGKSFV.js";import"./NUVLGW3I.js";function zi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Wi(n)||$i(n)||Vi(n))}function Wi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function $i(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Vi(e){return!e.user&&e.ipCntryCode==="US"}var Ne={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]}}},zr="esri-telemetry";function Hi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Fi(e)||e.body)&&t()})}function Ki(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${zr}="${n}"]`)}function Fi(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:l,onerror:d}=e;if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");if(Ki(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=qi({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:l,onerror:d});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ye=class extends Error{};function qi({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${zr}`,t),a&&(l.src=a),o&&(l.innerText=o),l.type=n,l.async=r,l.defer=i,s&&(l.onload=s),u&&(l.onerror=u),l}function Gi(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 Ji=["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=zi(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=Ji.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:u})=>!s&&!u);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=Ne.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){Ne.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Ne.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(Xi(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 Xi(e,t){return function(n,[r,i]){return Bi(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 Bi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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 Et=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 Gi(this._getScripts())}async init(){if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Hi(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=nn(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),{})}},Sn="TELEMETRY_COGNITO_CREDENTIALS";function Qi(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Ne.get(Sn);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})=>(Ne.set(Sn,o),o))}function Wr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Yi(t,r),value:e[r]}:{key:r,value:Zi(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Zi(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Yi(e,t){return`dimension${e[t]}`}var eo=["size","duration","position","number","count"];function $r(e,t={}){return Object.keys(e).filter(n=>t[n]||eo.includes(n)).map(n=>t[n]?{key:to(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function to(e,t){return`metric${e[t]}`}function no({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=$r(e,n),u=Wr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),l=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,l}function ro({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=$r(n,i),a=Wr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:l,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:l,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function On(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 qe="undefined",kn="object",io=function(){},In="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var Ve=typeof document<"u";et.versions!=null&&et.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 Vr(e,t){return t.charAt(0)[e]()+t.slice(1)}var oo=Vr.bind(null,"toUpperCase"),ao=Vr.bind(null,"toLowerCase");function so(e){return Hr(e)?oo("null"):typeof e=="object"?lo(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=so(e);return t?ao(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Hr(e){return e===null}function uo(e){return tt(e)==="number"&&!isNaN(e)}function co(e){return tt(e)==="array"}function lo(e){return Pt(e.constructor)?e.constructor.name:null}function fo(e){return e instanceof Error||Tt(e.message)&&e.constructor&&uo(e.constructor.stackTraceLimit)}function Kr(e,t){if(typeof t!="object"||Hr(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(fo(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Kr.bind(null,TypeError);Kr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?po(e,t):n}function po(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function go(e){return e?co(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ho(){if(Ve){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function mo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function yo(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 u in r){var l=u.split("[");l.length>1&&(vo(r,l.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return Ve&&window.location.search.substring(1)}())}function vo(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 Ce="global",Ie=In+"global"+In,Ae=typeof self===kn&&self.self===self&&self||typeof global===kn&&global.global===global&&global||void 0;function ce(e){return Ae[Ie][e]}function se(e,t){return Ae[Ie][e]=t}function we(e){delete Ae[Ie][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[Ie]||(Ae[Ie]={});var Ge={};function ut(e){if(typeof Ge[e]!==qe)return Ge[e];try{var t=window[e];t.setItem(qe,qe),t.removeItem(qe)}catch{return Ge[e]=!1}return Ge[e]=!0}var jn,ze="__",_t=typeof process<"u"?process:{};(jn=_t.env)!=null&&jn.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 ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Ze=ct.bind(null,"string");ct.bind(null,"undefined");var bo=ct.bind(null,"boolean");function wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function xo(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!xo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(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 So(e){if(Array.isArray(e))return Nt(e)}function Oo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fr(e,t){if(e){if(typeof e=="string")return Nt(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 Nt(e,t)}}function ko(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
3
+ v1.0.0-next.20250610 */
4
+ import{a as xn}from"./YJVHNGLM.js";import{D as wn,c as yn,n as vn,y as bn}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";function zi(e={}){let{disabled:t,portal:n}=e;return t||n?.eueiEnabled===!1?!0:!(!n||Wi(n)||$i(n)||Vi(n))}function Wi(e){return e.eueiEnabled&&e.user&&e.user.orgId===e.id}function $i(e){return e.user&&!e.user.orgId&&e.ipCntryCode==="US"}function Vi(e){return!e.user&&e.ipCntryCode==="US"}var Ne={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]}}},zr="esri-telemetry";function Hi(e){return new Promise((t,n)=>{e.onload=t,e.onerror=n,(!Fi(e)||e.body)&&t()})}function Ki(e){let{id:t,dataAttribute:n}=e;return!!document.getElementById(t)||!!document.querySelector(`[data-${zr}="${n}"]`)}function Fi(e){let{body:t,src:n,id:r,dataAttribute:i,section:o="body",type:a="text/javascript",async:s=!1,defer:u=!1,onload:l,onerror:d}=e;if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");if(Ki(e)){console.log(`script (${r||i}) is already present, skipping`);return}let c=qi({id:r,dataAttribute:i,type:a,async:s,defer:u,body:t,src:n,onload:l,onerror:d});return o==="body"?document.body.appendChild(c):document.head.appendChild(c)}var Ye=class extends Error{};function qi({id:e,dataAttribute:t,type:n,async:r,defer:i,body:o,src:a,onload:s,onerror:u}){let l=document.createElement("script");return e&&(l.id=e),t&&l.setAttribute(`data-${zr}`,t),a&&(l.src=a),o&&(l.innerText=o),l.type=n,l.async=r,l.defer=i,s&&(l.onload=s),u&&(l.onerror=u),l}function Gi(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 Ji=["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=zi(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=Ji.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:u})=>!s&&!u);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=Ne.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){Ne.set(`TELEMETRY-WORKFLOW:${t.name}`,t)}deleteWorkflow(t){Ne.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(Xi(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 Xi(e,t){return function(n,[r,i]){return Bi(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 Bi(e){return["string","number","boolean","undefined"].includes(typeof e)||e&&typeof e.valueOf()=="string"}function nn(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 Et=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 Gi(this._getScripts())}async init(){if(typeof window>"u")throw new Ye("Window is undefined: Cannot add script element.");await Promise.all(this._getScripts().map(t=>Hi(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=nn(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),{})}},Sn="TELEMETRY_COGNITO_CREDENTIALS";function Qi(e,t={}){let n=`https://cognito-identity${t.fips===!0?"-fips":""}.us-east-1.amazonaws.com/`,r=Ne.get(Sn);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})=>(Ne.set(Sn,o),o))}function Wr({telemetryData:e,dimensionLookup:t={},excludeKeys:n=[]}){return Object.keys(e).filter(r=>!n.includes(r)).map(r=>t[r]?{key:Yi(t,r),value:e[r]}:{key:r,value:Zi(e,r)}).reduce((r,{key:i,value:o})=>(r[i]=o,r),{})}function Zi(e,t){return t==="json"?e[t]?JSON.stringify(e[t]):"null":e[t]===void 0?"null":e[t].toString()}function Yi(e,t){return`dimension${e[t]}`}var eo=["size","duration","position","number","count"];function $r(e,t={}){return Object.keys(e).filter(n=>t[n]||eo.includes(n)).map(n=>t[n]?{key:to(t,n),value:e[n]}:{key:n,value:e[n]}).reduce((n,{key:r,value:i})=>(n[r]=i,n),{})}function to(e,t){return`metric${e[t]}`}function no({event:e={},dimensionLookup:t={},metricLookup:n={}}){var r,i;let{pathname:o,eventType:a="other"}=e,s=$r(e,n),u=Wr({telemetryData:Object.assign({eventType:a},e),dimensionLookup:t,excludeKeys:["workflow","pathname",...Object.keys(s),...Object.keys(n)]}),l=Object.assign(Object.assign({name:a},u),s);return typeof document<"u"&&document.referrer&&(l.referrer=document.referrer),typeof window<"u"&&!l.hostname&&(l.hostname=(r=window.location)===null||r===void 0?void 0:r.hostname),l.path=typeof window<"u"&&window.location.pathname?(i=window.location)===null||i===void 0?void 0:i.pathname:o,l}function ro({page:e,previousPage:t={},options:n={},dimensionLookup:r={},metricLookup:i={}}){let o=$r(n,i),a=Wr({telemetryData:n,dimensionLookup:r,excludeKeys:["workflow",...Object.keys(o),...Object.keys(i)]}),{referrer:s,title:u}=document||{},{hostname:l,pathname:d}=window&&window.location?window.location:{};return Object.assign(Object.assign({name:"pageView",referrer:s,hostname:l,path:e||d,pageUrl:e||d,pageName:u,previousPageUrl:t.pageUrl,previousPageName:t.pageName},a),o)}function On(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 qe="undefined",kn="object",io=function(){},In="__",et=typeof process<"u"?process:{};et.env&&et.env.NODE_ENV;var Ve=typeof document<"u";et.versions!=null&&et.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 Vr(e,t){return t.charAt(0)[e]()+t.slice(1)}var oo=Vr.bind(null,"toUpperCase"),ao=Vr.bind(null,"toLowerCase");function so(e){return Hr(e)?oo("null"):typeof e=="object"?lo(e):Object.prototype.toString.call(e).slice(8,-1)}function tt(e,t){t===void 0&&(t=!0);var n=so(e);return t?ao(n):n}function He(e,t){return typeof t===e}var Pt=He.bind(null,"function"),Tt=He.bind(null,"string");He.bind(null,"undefined");He.bind(null,"boolean");He.bind(null,"symbol");function Hr(e){return e===null}function uo(e){return tt(e)==="number"&&!isNaN(e)}function co(e){return tt(e)==="array"}function lo(e){return Pt(e.constructor)?e.constructor.name:null}function fo(e){return e instanceof Error||Tt(e.message)&&e.constructor&&uo(e.constructor.stackTraceLimit)}function Kr(e,t){if(typeof t!="object"||Hr(t))return!1;if(t instanceof e)return!0;var n=tt(new e(""));if(fo(t))for(;t;){if(tt(t)===n)return!0;t=Object.getPrototypeOf(t)}return!1}Kr.bind(null,TypeError);Kr.bind(null,SyntaxError);function at(e,t){var n=e instanceof Element||e instanceof HTMLDocument;return n&&t?po(e,t):n}function po(e,t){return t===void 0&&(t=""),e&&e.nodeName===t.toUpperCase()}function st(e){var t=[].slice.call(arguments,1);return function(){return e.apply(void 0,[].slice.call(arguments).concat(t))}}st(at,"form");st(at,"button");st(at,"input");st(at,"select");function go(e){return e?co(e)?e:[e]:[]}function An(e){try{return decodeURIComponent(e.replace(/\+/g," "))}catch{return null}}function ho(){if(Ve){var e=navigator,t=e.languages;return e.userLanguage||(t&&t.length?t[0]:e.language)}}function mo(){try{return Intl.DateTimeFormat().resolvedOptions().timeZone}catch{}}function yo(e){return function(t){for(var n,r=Object.create(null),i=/([^&=]+)=?([^&]*)/g;n=i.exec(t);){var o=An(n[1]),a=An(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 u in r){var l=u.split("[");l.length>1&&(vo(r,l.map(function(d){return d.replace(/[?[\]\\ ]/g,"")}),r[u]),delete r[u])}return r}(function(t){return Ve&&window.location.search.substring(1)}())}function vo(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 Ce="global",Ie=In+"global"+In,Ae=typeof self===kn&&self.self===self&&self||typeof global===kn&&global.global===global&&global||void 0;function ce(e){return Ae[Ie][e]}function se(e,t){return Ae[Ie][e]=t}function we(e){delete Ae[Ie][e]}function le(e,t,n){var r;try{if(ut(e)){var i=window[e];r=i[t].bind(i)}}catch{}return r||n}Ae[Ie]||(Ae[Ie]={});var Ge={};function ut(e){if(typeof Ge[e]!==qe)return Ge[e];try{var t=window[e];t.setItem(qe,qe),t.removeItem(qe)}catch{return Ge[e]=!1}return Ge[e]=!0}var jn,ze="__",_t=typeof process<"u"?process:{};(jn=_t.env)!=null&&jn.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 ct(e,t){return typeof t===e}var ie=ct.bind(null,"function"),Ze=ct.bind(null,"string");ct.bind(null,"undefined");var bo=ct.bind(null,"boolean");function wo(e){return Object.prototype.toString.call(e)==="[object Array]"}function xo(e){return e&&(typeof e=="object"||e!==null)}function te(e){if(!xo(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function Nt(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 So(e){if(Array.isArray(e))return Nt(e)}function Oo(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Fr(e,t){if(e){if(typeof e=="string")return Nt(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 Nt(e,t)}}function ko(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
5
5
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Me(e){return So(e)||Oo(e)||Fr(e)||ko()}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 En(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){n(l);return}s.done?t(u):Promise.resolve(u).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(u){En(o,r,i,a,s,"next",u)}function s(u){En(o,r,i,a,s,"throw",u)}a(void 0)})}}function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Pn(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 k(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Pn(Object(n),!0).forEach(function(r){de(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Pn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}var qr={exports:{}};(function(e){var t=function(n){var r=Object.prototype,i=r.hasOwnProperty,o,a=typeof Symbol=="function"?Symbol:{},s=a.iterator||"@@iterator",u=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function d(h,v,f){return Object.defineProperty(h,v,{value:f,enumerable:!0,configurable:!0,writable:!0}),h[v]}try{d({},"")}catch{d=function(h,v,f){return h[v]=f}}function c(h,v,f,m){var S=v&&v.prototype instanceof w?v:w,A=Object.create(S.prototype),M=new K(m||[]);return A._invoke=C(h,f,M),A}n.wrap=c;function g(h,v,f){try{return{type:"normal",arg:h.call(v,f)}}catch(m){return{type:"throw",arg:m}}}var y="suspendedStart",x="suspendedYield",I="executing",b="completed",p={};function w(){}function j(){}function O(){}var E={};d(E,s,function(){return this});var P=Object.getPrototypeOf,T=P&&P(P(G([])));T&&T!==r&&i.call(T,s)&&(E=T);var L=O.prototype=w.prototype=Object.create(E);j.prototype=O,d(L,"constructor",O),d(O,"constructor",j),j.displayName=d(O,l,"GeneratorFunction");function R(h){["next","throw","return"].forEach(function(v){d(h,v,function(f){return this._invoke(v,f)})})}n.isGeneratorFunction=function(h){var v=typeof h=="function"&&h.constructor;return v?v===j||(v.displayName||v.name)==="GeneratorFunction":!1},n.mark=function(h){return Object.setPrototypeOf?Object.setPrototypeOf(h,O):(h.__proto__=O,d(h,l,"GeneratorFunction")),h.prototype=Object.create(L),h},n.awrap=function(h){return{__await:h}};function N(h,v){function f(A,M,D,$){var F=g(h[A],h,M);if(F.type==="throw")$(F.arg);else{var H=F.arg,V=H.value;return V&&typeof V=="object"&&i.call(V,"__await")?v.resolve(V.__await).then(function(X){f("next",X,D,$)},function(X){f("throw",X,D,$)}):v.resolve(V).then(function(X){H.value=X,D(H)},function(X){return f("throw",X,D,$)})}}var m;function S(A,M){function D(){return new v(function($,F){f(A,M,$,F)})}return m=m?m.then(D,D):D()}this._invoke=S}R(N.prototype),d(N.prototype,u,function(){return this}),n.AsyncIterator=N,n.async=function(h,v,f,m,S){S===void 0&&(S=Promise);var A=new N(c(h,v,f,m),S);return n.isGeneratorFunction(v)?A:A.next().then(function(M){return M.done?M.value:A.next()})};function C(h,v,f){var m=y;return function(S,A){if(m===I)throw new Error("Generator is already running");if(m===b){if(S==="throw")throw A;return z()}for(f.method=S,f.arg=A;;){var M=f.delegate;if(M){var D=q(M,f);if(D){if(D===p)continue;return D}}if(f.method==="next")f.sent=f._sent=f.arg;else if(f.method==="throw"){if(m===y)throw m=b,f.arg;f.dispatchException(f.arg)}else f.method==="return"&&f.abrupt("return",f.arg);m=I;var $=g(h,v,f);if($.type==="normal"){if(m=f.done?b:x,$.arg===p)continue;return{value:$.arg,done:f.done}}else $.type==="throw"&&(m=b,f.method="throw",f.arg=$.arg)}}}function q(h,v){var f=h.iterator[v.method];if(f===o){if(v.delegate=null,v.method==="throw"){if(h.iterator.return&&(v.method="return",v.arg=o,q(h,v),v.method==="throw"))return p;v.method="throw",v.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var m=g(f,h.iterator,v.arg);if(m.type==="throw")return v.method="throw",v.arg=m.arg,v.delegate=null,p;var S=m.arg;if(!S)return v.method="throw",v.arg=new TypeError("iterator result is not an object"),v.delegate=null,p;if(S.done)v[h.resultName]=S.value,v.next=h.nextLoc,v.method!=="return"&&(v.method="next",v.arg=o);else return S;return v.delegate=null,p}R(L),d(L,l,"Generator"),d(L,s,function(){return this}),d(L,"toString",function(){return"[object Generator]"});function W(h){var v={tryLoc:h[0]};1 in h&&(v.catchLoc=h[1]),2 in h&&(v.finallyLoc=h[2],v.afterLoc=h[3]),this.tryEntries.push(v)}function U(h){var v=h.completion||{};v.type="normal",delete v.arg,h.completion=v}function K(h){this.tryEntries=[{tryLoc:"root"}],h.forEach(W,this),this.reset(!0)}n.keys=function(h){var v=[];for(var f in h)v.push(f);return v.reverse(),function m(){for(;v.length;){var S=v.pop();if(S in h)return m.value=S,m.done=!1,m}return m.done=!0,m}};function G(h){if(h){var v=h[s];if(v)return v.call(h);if(typeof h.next=="function")return h;if(!isNaN(h.length)){var f=-1,m=function S(){for(;++f<h.length;)if(i.call(h,f))return S.value=h[f],S.done=!1,S;return S.value=o,S.done=!0,S};return m.next=m}}return{next:z}}n.values=G;function z(){return{value:o,done:!0}}return K.prototype={constructor:K,reset:function(h){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),!h)for(var v in this)v.charAt(0)==="t"&&i.call(this,v)&&!isNaN(+v.slice(1))&&(this[v]=o)},stop:function(){this.done=!0;var h=this.tryEntries[0],v=h.completion;if(v.type==="throw")throw v.arg;return this.rval},dispatchException:function(h){if(this.done)throw h;var v=this;function f($,F){return A.type="throw",A.arg=h,v.next=$,F&&(v.method="next",v.arg=o),!!F}for(var m=this.tryEntries.length-1;m>=0;--m){var S=this.tryEntries[m],A=S.completion;if(S.tryLoc==="root")return f("end");if(S.tryLoc<=this.prev){var M=i.call(S,"catchLoc"),D=i.call(S,"finallyLoc");if(M&&D){if(this.prev<S.catchLoc)return f(S.catchLoc,!0);if(this.prev<S.finallyLoc)return f(S.finallyLoc)}else if(M){if(this.prev<S.catchLoc)return f(S.catchLoc,!0)}else if(D){if(this.prev<S.finallyLoc)return f(S.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(h,v){for(var f=this.tryEntries.length-1;f>=0;--f){var m=this.tryEntries[f];if(m.tryLoc<=this.prev&&i.call(m,"finallyLoc")&&this.prev<m.finallyLoc){var S=m;break}}S&&(h==="break"||h==="continue")&&S.tryLoc<=v&&v<=S.finallyLoc&&(S=null);var A=S?S.completion:{};return A.type=h,A.arg=v,S?(this.method="next",this.next=S.finallyLoc,p):this.complete(A)},complete:function(h,v){if(h.type==="throw")throw h.arg;return h.type==="break"||h.type==="continue"?this.next=h.arg:h.type==="return"?(this.rval=this.arg=h.arg,this.method="return",this.next="end"):h.type==="normal"&&v&&(this.next=v),p},finish:function(h){for(var v=this.tryEntries.length-1;v>=0;--v){var f=this.tryEntries[v];if(f.finallyLoc===h)return this.complete(f.completion,f.afterLoc),U(f),p}},catch:function(h){for(var v=this.tryEntries.length-1;v>=0;--v){var f=this.tryEntries[v];if(f.tryLoc===h){var m=f.completion;if(m.type==="throw"){var S=m.arg;U(f)}return S}}throw new Error("illegal catch attempt")},delegateYield:function(h,v,f){return this.delegate={iterator:G(h),resultName:v,nextLoc:f},this.method==="next"&&(this.arg=o),p}},n}(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(qr);var B=qr.exports,pe="function",ae="undefined",Ue="reducer",Gr="@@redux/",Ct=Gr+"INIT",Io=Gr+Math.random().toString(36),Tn=function(){return(typeof Symbol>"u"?"undefined":Q(Symbol))===pe&&Symbol.observable||"@@observable"}(),Je=" != "+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"+Je);return n(Jr)(e,t)}if(Q(e)!==pe)throw new Error(Ue+Je);var r=e,i=t,o=[],a=o,s=!1;function u(){a===o&&(a=o.slice())}function l(){return i}function d(x){if(Q(x)!==pe)throw new Error("Listener"+Je);var I=!0;return u(),a.push(x),function(){if(I){I=!1,u();var b=a.indexOf(x);a.splice(b,1)}}}function c(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,b=0;b<I.length;b++){var p=I[b];p()}return x}function g(x){if(Q(x)!==pe)throw new Error("next "+Ue+Je);r=x,c({type:Ct})}function y(){var x=d;return de({subscribe:function(I){if(Q(I)!=="object")throw new TypeError("Observer != obj");function b(){I.next&&I.next(l())}b();var p=x(b);return{unsubscribe:p}}},Tn,function(){return this})}return c({type:Ct}),de({dispatch:c,subscribe:d,getState:l,replaceReducer:g},Tn,y)}function Ao(e,t){var n=t&&t.type,r=n&&n.toString()||"?";return"action "+r+Ue+" "+e+" returns "+ae}function jo(e){Object.keys(e).forEach(function(t){var n=e[t],r=n(void 0,{type:Ct});if(Q(r)===ae||Q(n(void 0,{type:Io}))===ae)throw new Error(Ue+" "+t+" "+ae)})}function Eo(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{jo(n)}catch(s){a=s}return function(){var s=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},u=arguments.length>1?arguments[1]:void 0;if(a)throw a;for(var l=!1,d={},c=0;c<o.length;c++){var g=o[c],y=n[g],x=s[g],I=y(x,u);if(Q(I)===ae){var b=Ao(g,u);throw new Error(b)}d[g]=I,l=l||I!==x}return l?d:s}}function je(){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 Po(){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),u=s.dispatch,l=[],d={getState:s.getState,dispatch:function(c){return u(c)}};return l=t.map(function(c){return c(d)}),u=je.apply(void 0,Me(l))(s.dispatch),k(k({},s),{},{dispatch:u})}}}var ge=ze+"anon_id",ye=ze+"user_id",Oe=ze+"user_traits",Mt="analytics",fe="userId",xe="anonymousId",To="https://lytics.dev/errors/",nt=["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"],_o={registerPluginType:function(e){return"registerPlugin:".concat(e)},pluginReadyType:function(e){return"ready:".concat(e)}},No=nt.reduce(function(e,t){return e[t]=t,e},_o),_=No;function Co(e){return nt.includes(e)}var _n=/^utm_/,Nn=/^an_prop_/,Cn=/^an_trait_/;function Mo(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,u=i.initialUser,l=s.userId===a.userId;s.anonymousId!==a.anonymousId&&t(ge,a.anonymousId),l||t(ye,a.userId),u.traits&&t(Oe,k(k({},l&&s.traits?s.traits:{}),u.traits));var d=Object.keys(i.params);if(d.length){var c=o.an_uid,g=o.an_event,y=d.reduce(function(x,I){if(I.match(_n)||I.match(/^(d|g)clid/)){var b=I.replace(_n,""),p=b==="campaign"?"name":b;x.campaign[p]=o[I]}return I.match(Nn)&&(x.props[I.replace(Nn,"")]=o[I]),I.match(Cn)&&(x.traits[I.replace(Cn,"")]=o[I]),x},{campaign:{},props:{},traits:{}});n.dispatch(k(k({type:_.params,raw:o},y),c?{userId:c}:{})),c&&setTimeout(function(){return e.identify(c,y.traits)},0),g&&setTimeout(function(){return e.track(g,y.props)},0),Object.keys(y.campaign).length&&n.dispatch({type:_.campaign,campaign:y.campaign})}}return r(i)}}}}function Uo(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===ge)return k(k({},t),{anonymousId:n.value});if(n.key===ye)return k(k({},t),{userId:n.value})}switch(n.type){case _.identify:return Object.assign({},t,{userId:n.userId,traits:k(k({},t.traits),n.traits)});case _.reset:return[ye,ge,Oe].forEach(function(r){e.removeItem(r)}),Object.assign({},t,{userId:null,anonymousId:null,traits:{}});default:return t}}}function Xr(e){return{userId:e.getItem(ye),anonymousId:e.getItem(ge),traits:e.getItem(Oe)}}var rn=function(e){return ze+"TEMP"+ze+e};function Do(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=Xr(e)[t];return o||ce(rn(t))||null}}function Lo(e){var t=e.storage,n=t.setItem,r=t.removeItem,i=t.getItem;return function(o){return function(a){return function(s){var u=s.userId,l=s.traits,d=s.options;if(s.type===_.reset&&([ye,Oe,ge].forEach(function(y){r(y)}),[fe,xe,"traits"].forEach(function(y){we(rn(y))})),s.type===_.identify){i(ge)||n(ge,be());var c=i(ye),g=i(Oe)||{};c&&c!==u&&o.dispatch({type:_.userIdChanged,old:{userId:c,traits:g},new:{userId:u,traits:l},options:d}),u&&n(ye,u),l&&n(Oe,k(k({},g),l))}return a(s)}}}}var _e={};function Br(e,t){_e[e]&&ie(_e[e])&&(_e[e](t),delete _e[e])}function Qr(e,t,n){return new Promise(function(r,i){return t()?r(e):n<1?i(k(k({},e),{},{queue:!0})):Ro(10).then(function(o){return Qr(e,t,n-10).then(r,i)})})}function Ro(e){return new Promise(function(t){return setTimeout(t,e)})}function Zr(e,t,n){var r=t(),i=e.getState(),o=i.plugins,a=i.context,s=i.queue,u=i.user,l=!a.offline;if(l&&s&&s.actions&&s.actions.length){var d=s.actions.reduce(function(g,y,x){var I=o[y.plugin].loaded;return I?(g.process.push(y),g.processIndex.push(x)):(g.requeue.push(y),g.requeueIndex.push(x)),g},{processIndex:[],process:[],requeue:[],requeueIndex:[]});if(d.processIndex&&d.processIndex.length){d.processIndex.forEach(function(g){var y=s.actions[g],x=y.plugin,I=y.payload.type,b=r[x][I];if(b&&ie(b)){var p=Wo(y.payload,u);b({payload:p,config:o[x].config,instance:n});var w="".concat(I,":").concat(x);e.dispatch(k(k({},p),{},{type:w,_:{called:w,from:"queueDrain"}}))}});var c=s.actions.filter(function(g,y){return!~d.processIndex.indexOf(y)});s.actions=c}}}function zo(e,t,n){return setInterval(function(){return Zr(e,t,n)},3e3)}function Wo(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return[fe,xe].reduce(function(n,r){return e.hasOwnProperty(r)&&t[r]&&t[r]!==e[r]&&(n[r]=t[r]),n},e)}function $o(e){if(Array.isArray(e))return e}function Vo(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(u){o=!0,s=u}finally{try{!i&&n.return!=null&&n.return()}finally{if(o)throw s}}return r}}function Ho(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
6
6
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ko(e,t){return $o(e)||Vo(e,t)||Fr(e,t)||Ho()}function Fo(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 bo(i[r])?i[r]:!(i.all===!1||t[r]&&t[r].enabled===!1)}).map(function(r){return e[r]})}var Ee=/Start$/,Mn=/^bootstrap/,Un=/^ready/;function qo(e,t,n,r,i){return Dt.apply(this,arguments)}function Dt(){return Dt=oe(B.mark(function e(t,n,r,i,o){var a,s,u,l,d,c,g,y,x,I,b;return B.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:if(a=ie(n)?n():n,s=t.type,u=s.replace(Ee,""),!(t._&&t._.called)){p.next=5;break}return p.abrupt("return",t);case 5:return l=r.getState(),d=Fo(a,l.plugins,t.options),s===_.initializeStart&&t.fromEnable&&(d=Object.keys(l.plugins).filter(function(w){var j=l.plugins[w];return t.plugins.includes(w)&&!j.initialized}).map(function(w){return a[w]})),c=d.map(function(w){return w.name}),g=Jo(s,d),p.next=12,mt({action:t,data:{exact:g.before,namespaced:g.beforeNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 12:if(y=p.sent,!Yr(y,c.length)){p.next=15;break}return p.abrupt("return",y);case 15:if(s!==u){p.next=19;break}x=y,p.next=22;break;case 19:return p.next=21,mt({action:k(k({},y),{},{type:u}),data:{exact:g.during,namespaced:g.duringNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 21:x=p.sent;case 22:if(!s.match(Ee)){p.next=28;break}return I="".concat(u,"End"),p.next=26,mt({action:k(k({},x),{},{type:I}),data:{exact:g.after,namespaced:g.afterNS},state:l,allPlugins:a,allMatches:g,instance:r,store:i,EVENTS:o});case 26:b=p.sent,b.meta&&b.meta.hasCallback&&Br(b.meta.rid,{payload:b});case 28:return p.abrupt("return",y);case 29:case"end":return p.stop()}},e)})),Dt.apply(this,arguments)}function mt(e){return Lt.apply(this,arguments)}function Lt(){return Lt=oe(B.mark(function e(t){var n,r,i,o,a,s,u,l,d,c,g,y,x,I,b,p,w,j;return B.wrap(function(O){for(;;)switch(O.prev=O.next){case 0:return n=t.data,r=t.action,i=t.instance,o=t.state,a=t.allPlugins,s=t.allMatches,u=t.store,l=t.EVENTS,d=o.plugins,c=o.context,g=r.type,y=g.match(Ee),x=n.exact.map(function(E){return E.pluginName}),y&&(x=s.during.map(function(E){return E.pluginName})),I=Xo(i,x),b=n.exact.reduce(function(E,P){var T=P.pluginName,L=P.methodName,R=!1;return!L.match(/^initialize/)&&!L.match(/^reset/)&&(R=!d[T].loaded),c.offline&&L.match(/^(page|track|identify)/)&&(R=!0),E["".concat(T)]=R,E},{}),O.next=10,n.exact.reduce(function(){var E=oe(B.mark(function P(T,L,R){var N,C,q;return B.wrap(function(W){for(;;)switch(W.prev=W.next){case 0:return N=L.pluginName,W.next=3,T;case 3:if(C=W.sent,!(n.namespaced&&n.namespaced[N])){W.next=11;break}return W.next=7,n.namespaced[N].reduce(function(){var U=oe(B.mark(function K(G,z,h){var v,f,m,S;return B.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return f=function(M,D,$){return function(F,H){var V=$||D;return k(k({},M),{},{abort:{reason:F,plugins:H||[D],caller:g,from:V}})}},A.next=3,G;case 3:if(v=A.sent,!(!z.method||!ie(z.method))){A.next=6;break}return A.abrupt("return",v);case 6:return Zo(z.methodName,z.pluginName),A.next=9,z.method({payload:v,instance:i,abort:f(v,N,z.pluginName),config:Dn(z.pluginName,d,a),plugins:d});case 9:return m=A.sent,S=te(m)?m:{},A.abrupt("return",Promise.resolve(k(k({},v),S)));case 12:case"end":return A.stop()}},K)}));return function(K,G,z){return U.apply(this,arguments)}}(),Promise.resolve(r));case 7:q=W.sent,C[N]=q,W.next=12;break;case 11:C[N]=r;case 12:return W.abrupt("return",Promise.resolve(C));case 13:case"end":return W.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}}(),Promise.resolve({}));case 10:return p=O.sent,O.next=13,n.exact.reduce(function(){var E=oe(B.mark(function P(T,L,R){var N,C,q,W,U,K,G,z,h,v,f,m,S;return B.wrap(function(A){for(;;)switch(A.prev=A.next){case 0:return N=n.exact.length===R+1,C=L.pluginName,q=a[C],A.next=5,T;case 5:if(W=A.sent,U=p[C]?p[C]:{},y&&(U=W),!vt(U,C)){A.next=11;break}return yt({data:U,method:g,instance:i,pluginName:C,store:u}),A.abrupt("return",Promise.resolve(W));case 11:if(!vt(W,C)){A.next=14;break}return N&&yt({data:W,method:g,instance:i,store:u}),A.abrupt("return",Promise.resolve(W));case 14:if(!(b.hasOwnProperty(C)&&b[C]===!0)){A.next=17;break}return u.dispatch({type:"queue",plugin:C,payload:U,_:{called:"queue",from:"queueMechanism"}}),A.abrupt("return",Promise.resolve(W));case 17:return K=I(p[C],a[C]),A.next=20,q[g]({abort:K.abort,payload:U,instance:i,config:Dn(C,d,a),plugins:d});case 20:return G=A.sent,z=te(G)?G:{},h=k(k({},W),z),v=p[C],vt(v,C)?yt({data:v,method:g,instance:i,pluginName:C,store:u}):(f="".concat(g,":").concat(C),m=(f.match(/:/g)||[]).length,m<2&&!g.match(Mn)&&!g.match(Un)&&(S=y?h:U,i.dispatch(k(k({},S),{},{type:f,_:{called:f,from:"submethod"}})))),A.abrupt("return",Promise.resolve(h));case 26:case"end":return A.stop()}},P)}));return function(P,T,L){return E.apply(this,arguments)}}(),Promise.resolve(r));case 13:if(w=O.sent,!(!g.match(Ee)&&!g.match(/^registerPlugin/)&&!g.match(Un)&&!g.match(Mn)&&!g.match(/^params/)&&!g.match(/^userIdChanged/))){O.next=21;break}if(l.plugins.includes(g),!(w._&&w._.originalAction===g)){O.next=18;break}return O.abrupt("return",w);case 18:j=k(k({},w),{_:{originalAction:w.type,called:w.type,from:"engineEnd"}}),Yr(w,n.exact.length)&&!g.match(/End$/)&&(j=k(k({},j),{type:w.type+"Aborted"})),u.dispatch(j);case 21:return O.abrupt("return",w);case 22:case"end":return O.stop()}},e)})),Lt.apply(this,arguments)}function yt(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(k(k({},t),{},{type:a,_:{called:a,from:"abort"}}))}function Dn(e,t,n){var r=t[e]||n[e];return r&&r.config?r.config:{}}function Ln(e,t){return t.reduce(function(n,r){return r[e]?n.concat({methodName:e,pluginName:r.name,method:r[e]}):n},[])}function Go(e){return e.replace(Ee,"")}function Rn(e,t){var n=Go(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 Jo(e,t,n){var r=Rn(e),i=r.map(function(o){return Ln(o,t)});return t.reduce(function(o,a){var s=a.name,u=Rn(e,s),l=u.map(function(x){return Ln(x,t)}),d=Ko(l,3),c=d[0],g=d[1],y=d[2];return c.length&&(o.beforeNS[s]=c),g.length&&(o.duringNS[s]=g),y.length&&(o.afterNS[s]=y),o},{before:i[0],beforeNS:{},during:i[1],duringNS:{},after:i[2],afterNS:{}})}function vt(e,t){var n=e.abort;return n?n===!0?!0:zn(n,t)||n&&zn(n.plugins,t):!1}function Yr(e,t){var n=e.abort;if(!n)return!1;if(n===!0||Ze(n))return!0;var r=n.plugins;return We(n)&&n.length===t||We(r)&&r.length===t}function We(e){return Array.isArray(e)}function zn(e,t){return!e||!We(e)?!1:e.includes(t)}function Xo(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 u=n.type.match(Ee)?Bo(a,s,t,i,n):Qo(n,s);return{payload:Yo(n),instance:e,config:o||{},abort:u}}}function Bo(e,t,n,r,i){return function(o,a){var s=r?r.name:e,u=a&&We(a)?a:n;if(r&&(u=a&&We(a)?a:[e],!u.includes(e)||u.length!==1))throw new Error("Method ".concat(t," can only abort ").concat(e," plugin. ").concat(JSON.stringify(u)," input valid"));return k(k({},i),{},{abort:{reason:o,plugins:u,caller:t,_:s}})}}function Qo(e,t){return function(){throw new Error(e.type+" action not cancellable. Remove abort in "+t)}}function Zo(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
7
  `))}}function Wn(e){var t=e.match(/(.*):(.*)/);return t?{method:t[1],name:t[2]}:!1}function Yo(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 ea(e,t,n){var r={};return function(i){return function(o){return function(){var a=oe(B.mark(function s(u){var l,d,c,g,y,x,I,b,p,w,j,O;return B.wrap(function(E){for(;;)switch(E.prev=E.next){case 0:if(l=u.type,d=u.abort,c=u.plugins,g=u,!d){E.next=4;break}return E.abrupt("return",o(u));case 4:if(l===_.enablePlugin&&i.dispatch({type:_.initializeStart,plugins:c,disabled:[],fromEnable:!0,meta:u.meta}),l===_.disablePlugin&&setTimeout(function(){return Br(u.meta.rid,{payload:u})},0),l===_.initializeEnd&&(y=t(),x=Object.keys(y),I=x.filter(function(P){return c.includes(P)}).map(function(P){return y[P]}),b=[],p=[],w=u.disabled,j=I.map(function(P){var T=P.loaded,L=P.name;return Qr(P,T,1e4).then(function(R){return r[L]||(i.dispatch({type:_.pluginReadyType(L),name:L,events:Object.keys(P).filter(function(N){return!Ut.includes(N)})}),r[L]=!0),b=b.concat(L),P}).catch(function(R){if(R instanceof Error)throw new Error(R);return p=p.concat(R.name),R})}),Promise.all(j).then(function(P){var T={plugins:b,failed:p,disabled:w};setTimeout(function(){x.length===j.length+w.length&&i.dispatch(k(k({},{type:_.ready}),T))},0)})),l===_.bootstrap){E.next=13;break}return/^ready:([^:]*)$/.test(l)&&setTimeout(function(){return Zr(i,t,e)},0),E.next=11,qo(u,t,e,i,n);case 11:return O=E.sent,E.abrupt("return",o(O));case 13:return E.abrupt("return",o(g));case 14:case"end":return E.stop()}},s)}));return function(s){return a.apply(this,arguments)}}()}}}function ta(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 na(e,t,n){return Object.defineProperty(e,"prototype",{writable:!1}),e}function ra(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var ia=na(function e(){var t=this;ra(this,e),de(this,"before",[]),de(this,"after",[]),de(this,"addMiddleware",function(n,r){t[r]=t[r].concat(n)}),de(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))))}),de(this,"dynamicMiddlewares",function(n){return function(r){return function(i){return function(o){var a={getState:r.getState,dispatch:function(u){return r.dispatch(u)}},s=t[n].map(function(u){return u(a)});return je.apply(void 0,Me(s))(i)(o)}}}})});function oa(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||{}},k(k({},t),r)}if(/^initialize:([^:]*)$/.test(n.type)){var s=$n(n.type,_.initialize),u=e()[s];return!u||!s?t:(r[s]=k(k({},t[s]),{initialized:!0,loaded:!!u.loaded()}),k(k({},t),r))}if(/^ready:([^:]*)$/.test(n.type))return r[n.name]=k(k({},t[n.name]),{loaded:!0}),k(k({},t),r);switch(n.type){case _.disablePlugin:return k(k({},t),Vn(n.plugins,!1,t));case _.enablePlugin:return k(k({},t),Vn(n.plugins,!0,t));default:return t}}}function $n(e,t){return e.substring(t.length+1,e.length)}function Vn(e,t,n){return e.reduce(function(r,i){return r[i]=k(k({},n[i]),{enabled:t}),r},n)}function ei(e){try{return JSON.parse(JSON.stringify(e))}catch{}return e}var aa={last:{},history:[]};function sa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:aa,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=ei(k(k({event:r,properties:i},Object.keys(o).length&&{options:o}),{},{meta:a}));return k(k({},e),{last:s,history:e.history.concat(s)});default:return e}}var ua={actions:[]};function ca(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ua,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),k(k({},e),{},{actions:i});case"dequeue":return[];default:return e}}var ti=/#.*$/;function la(){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 fa(e){var t=/(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g,n=t.exec(e),r=n&&n[3]?n[3].split("?")[0].replace(ti,""):"";return"/"+r}function da(e){var t=la();return t?t.match(/\?/)?t:t+e:window.location.href.replace(ti,"")}var pa=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,u=o.hash,l=o.search,d=da(l),c={title:n,url:d,path:fa(d),hash:u,search:l,width:a,height:s};return r&&r!==""&&(c.referrer=r),k(k({},c),e)},ga={last:{},history:[]};function ha(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ga,t=arguments.length>1?arguments[1]:void 0,n=t.properties,r=t.options,i=t.meta;switch(t.type){case _.page:var o=ei(k({properties:n,meta:i},Object.keys(r).length&&{options:r}));return k(k({},e),{last:o,history:e.history.concat(o)});default:return e}}function ma(){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 ni,ri,ii,oi;ni=ma(),ri=ue?document.referrer:null,ii=ho(),oi=mo();var Hn={initialized:!1,sessionId:be(),app:null,version:null,debug:!1,offline:ue?!navigator.onLine:!1,os:{name:ni},userAgent:ue?navigator.userAgent:"node",library:{name:Mt,version:"0.10.22"},timezone:oi,locale:ii,campaign:{},referrer:ri};function ya(){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 k(k({},e),{campaign:i});case _.offline:return k(k({},e),{offline:!0});case _.online:return k(k({},e),{offline:!1});default:return n?e:k(k(k({},Hn),e),{initialized:!0})}}var va=["plugins","reducers","storage"];function ba(e){return Object.keys(e).reduce(function(t,n){return va.includes(n)||(t[n]=e[n]),t},{})}function wa(e,t,n){if(ue){var r=window[(n?"add":"remove")+"EventListener"];e.split(" ").forEach(function(i){r(i,t)})}}function xa(){return Promise.resolve(!navigator.onLine)}function Sa(e){var t=function(r){return xa().then(e)},n=wa.bind(null,"online offline",t);return n(!0),function(r){return n(!1)}}function ai(){return se(Mt,[]),function(e){return function(t,n,r){var i=e(t,n,r),o=i.dispatch,a=function(s){var u=s.action||s;return Ae[Ie][Mt].push(u),o(s)};return Object.assign(i,{dispatch:a})}}}function Kn(e){return function(){return je(je.apply(null,arguments),ai())}}function bt(e){return e?wo(e)?e:[e]:[]}function Oa(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 ka(){return new Date().getTime()}function Ia(e,t){return function(n){t&&t(n),e(n)}}function Fn(){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]=Ia(t,Oa(n))),k(k({},e),{},{rid:r,ts:ka()},t?{hasCallback:!0}:{})}function Aa(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=e.reducers||{},n=e.initialUser||{},r=(e.plugins||[]).reduce(function(f,m){if(ie(m))return f.middlewares=f.middlewares.concat(m),f;if(m.NAMESPACE&&(m.name=m.NAMESPACE),!m.name)throw new Error(To+"1");var S=m.EVENTS?Object.keys(m.EVENTS).map(function(H){return m.EVENTS[H]}):[],A=m.enabled!==!1,M=!(m.config&&m.config.enabled===!1);f.pluginEnabled[m.name]=A&&M,delete m.enabled,m.methods&&(f.methods[m.name]=Object.keys(m.methods).reduce(function(H,V){return H[V]=v(m.methods[V]),H},{}),delete m.methods);var D=Object.keys(m),$=D.concat(S),F=new Set(f.events.concat($));if(f.events=Array.from(F),f.pluginsArray=f.pluginsArray.concat(m),f.plugins[m.name])throw new Error(m.name+"AlreadyLoaded");return f.plugins[m.name]=m,f.plugins[m.name].loaded||(f.plugins[m.name].loaded=function(){return!0}),f},{plugins:{},pluginEnabled:{},methods:{},pluginsArray:[],middlewares:[],events:[]}),i=e.storage?e.storage:{getItem:ce,setItem:se,removeItem:we},o=Do(i),a=r.plugins,s=r.events.filter(function(f){return!Ut.includes(f)}).sort(),u=new Set(s.concat(nt).filter(function(f){return!Ut.includes(f)})),l=Array.from(u).sort(),d=function(){return a},c=new ia,g=c.addMiddleware,y=c.removeMiddleware,x=c.dynamicMiddlewares,I=function(){throw new Error("Abort disabled inListener")},b=yo(),p=Xr(i),w=k(k(k(k({},p),n),b.an_uid?{userId:b.an_uid}:{}),b.an_aid?{anonymousId:b.an_aid}:{});w.anonymousId||(w.anonymousId=be());var j=k({enable:function(f,m){return new Promise(function(S){U.dispatch({type:_.enablePlugin,plugins:bt(f),_:{originalAction:_.enablePlugin}},S,[m])})},disable:function(f,m){return new Promise(function(S){U.dispatch({type:_.disablePlugin,plugins:bt(f),_:{originalAction:_.disablePlugin}},S,[m])})}},r.methods),O={identify:function(){var f=oe(B.mark(function S(A,M,D,$){var F,H,V,X,Ke;return B.wrap(function(Fe){for(;;)switch(Fe.prev=Fe.next){case 0:return F=Ze(A)?A:null,H=te(A)?A:M,V=D||{},X=O.user(),se(rn(fe),F),Ke=F||H.userId||o(fe,O,H),Fe.abrupt("return",new Promise(function(Ri){U.dispatch(k({type:_.identifyStart,userId:Ke,traits:H||{},options:V,anonymousId:X.anonymousId},X.id&&X.id!==F&&{previousId:X.id}),Ri,[M,D,$])}));case 7:case"end":return Fe.stop()}},S)}));function m(S,A,M,D){return f.apply(this,arguments)}return m}(),track:function(){var f=oe(B.mark(function S(A,M,D,$){var F,H,V;return B.wrap(function(X){for(;;)switch(X.prev=X.next){case 0:if(F=te(A)?A.event:A,!(!F||!Ze(F))){X.next=3;break}throw new Error("EventMissing");case 3:return H=te(A)?A:M||{},V=te(D)?D:{},X.abrupt("return",new Promise(function(Ke){U.dispatch({type:_.trackStart,event:F,properties:H,options:V,userId:o(fe,O,M),anonymousId:o(xe,O,M)},Ke,[M,D,$])}));case 6:case"end":return X.stop()}},S)}));function m(S,A,M,D){return f.apply(this,arguments)}return m}(),page:function(){var f=oe(B.mark(function S(A,M,D){var $,F;return B.wrap(function(H){for(;;)switch(H.prev=H.next){case 0:return $=te(A)?A:{},F=te(M)?M:{},H.abrupt("return",new Promise(function(V){U.dispatch({type:_.pageStart,properties:pa($),options:F,userId:o(fe,O,$),anonymousId:o(xe,O,$)},V,[A,M,D])}));case 3:case"end":return H.stop()}},S)}));function m(S,A,M){return f.apply(this,arguments)}return m}(),user:function(f){if(f===fe||f==="id")return o(fe,O);if(f===xe||f==="anonId")return o(xe,O);var m=O.getState("user");return f?On(m,f):m},reset:function(f){return new Promise(function(m){U.dispatch({type:_.resetStart},m,f)})},ready:function(f){return O.on(_.ready,f)},on:function(f,m){if(!f||!ie(m))return!1;if(f===_.bootstrap)throw new Error(".on disabled for "+f);var S=/Start$|Start:/;if(f==="*"){var A=function(F){return function(H){return function(V){return V.type.match(S)&&m({payload:V,instance:O,plugins:a}),H(V)}}},M=function(F){return function(H){return function(V){return V.type.match(S)||m({payload:V,instance:O,plugins:a}),H(V)}}};return g(A,Xe),g(M,Be),function(){y(A,Xe),y(M,Be)}}var D=f.match(S)?Xe:Be,$=function(F){return function(H){return function(V){return V.type===f&&m({payload:V,instance:O,plugins:a,abort:I}),H(V)}}};return g($,D),function(){return y($,D)}},once:function(f,m){if(!f||!ie(m))return!1;if(f===_.bootstrap)throw new Error(".once disabled for "+f);var S=O.on(f,function(A){var M=A.payload;m({payload:M,instance:O,plugins:a,abort:I}),S()});return S},getState:function(f){var m=U.getState();return f?On(m,f):Object.assign({},m)},dispatch:function(f){var m=Ze(f)?{type:f}:f;if(Co(m.type))throw new Error("reserved action "+m.type);var S=f._||{},A=k(k({},m),{},{_:k({originalAction:m.type},S)});U.dispatch(A)},enablePlugin:j.enable,disablePlugin:j.disable,plugins:j,storage:{getItem:i.getItem,setItem:function(f,m,S){U.dispatch({type:_.setItemStart,key:f,value:m,options:S})},removeItem:function(f,m){U.dispatch({type:_.removeItemStart,key:f,options:m})}},setAnonymousId:function(f,m){O.storage.setItem(ge,f,m)},events:{all:l,core:nt,plugins:s}},E=function(f){return function(m){return function(S){return S.meta||(S.meta=Fn()),m(S)}}},P=r.middlewares.concat([E,x(Xe),ea(O,d,{all:l,plugins:s}),ta(i),Mo(O),Lo(O),x(Be)]),T={context:ya,user:Uo(i),page:ha,track:sa,plugins:oa(d),queue:ca},L=je,R=je;if(ue&&e.debug){var N=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;N&&(L=N({trace:!0,traceLimit:25})),R=function(){return arguments.length===0?ai():te(Q(arguments[0]))?Kn():Kn().apply(null,arguments)}}var C=ba(e),q=r.pluginsArray.reduce(function(f,m){var S=m.name,A=m.config,M=m.loaded,D=r.pluginEnabled[S];return f[S]={enabled:D,initialized:D?!m.initialize:!1,loaded:!!M(),config:A||{}},f},{}),W={context:C,user:w,plugins:q},U=Jr(Eo(k(k({},T),t)),W,R(L(Po.apply(void 0,Me(P)))));function K(f){return function(m,S,A){var M=Fn(m.meta,S,bt(A)),D=k(k({},m),{meta:M});return f.apply(null,[D])}}U.dispatch=K(U.dispatch);var G=Object.keys(a);U.dispatch({type:_.bootstrap,plugins:G,config:C,params:b,user:w,initialUser:n,persistedUser:p});var z=G.filter(function(f){return r.pluginEnabled[f]}),h=G.filter(function(f){return!r.pluginEnabled[f]});U.dispatch({type:_.registerPlugins,plugins:G,enabled:r.pluginEnabled}),r.pluginsArray.map(function(f,m){var S=f.bootstrap,A=f.config,M=f.name;S&&ie(S)&&S({instance:O,config:A,payload:f}),U.dispatch({type:_.registerPluginType(M),name:M,enabled:r.pluginEnabled[M],plugin:f}),r.pluginsArray.length===m+1&&U.dispatch({type:_.initializeStart,plugins:z,disabled:h})}),Sa(function(f){U.dispatch({type:f?_.offline:_.online})}),zo(U,d,O);function v(f){return function(){for(var m=Array.prototype.slice.call(arguments),S=new Array(f.length),A=0;A<m.length;A++)S[A]=m[A];return S[S.length]=O,f.apply({instance:O},S)}}return O}var Xe="before",Be="after",De="cookie",me=ci(),on=lt,si=lt;function ui(e){return me?lt(e,"",-1):we(e)}function ci(){if(me!==void 0)return me;var e="cookiecookie";try{lt(e,e),me=document.cookie.indexOf(e)!==-1,ui(e)}catch{me=!1}return me}function lt(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 Le="localStorage",ja=ut.bind(null,"localStorage"),an=le("localStorage","getItem",ce),Ea=le("localStorage","setItem",se),li=le("localStorage","removeItem",we),Re="sessionStorage",Pa=ut.bind(null,"sessionStorage");le("sessionStorage","getItem",ce);le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var qn,fi="any",di="*",Rt=typeof process<"u"?process:{};(qn=Rt.env)!=null&&qn.NODE_ENV;var Ta=typeof window<"u";Rt.versions!=null&&Rt.versions.node!=null;typeof Deno<"u"&&Deno.core;Ta&&window.name==="nodejs"||typeof navigator<"u"&&(navigator.userAgent.includes("Node.js")||navigator.userAgent.includes("jsdom"));function ft(e,t){return typeof t===e}ft.bind(null,"function");var _a=ft.bind(null,"string"),Se=ft.bind(null,"undefined");ft.bind(null,"boolean");function Na(e){return e&&(typeof e=="object"||e!==null)}function Ca(e){if(!Na(e))return!1;for(var t=e;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}function ke(e){var t=e;try{if((t=JSON.parse(e))==="true")return!0;if(t==="false")return!1;if(Ca(t))return t;parseFloat(t)===t&&(t=parseFloat(t))}catch{}if(t!==null&&t!=="")return t}var Ma=ja(),Ua=Pa(),Da=ci();function pi(e,t){if(e){var n=sn(t),r=!fn(n),i=un(n)?ke(localStorage.getItem(e)):void 0;if(r&&!Se(i))return i;var o=cn(n)?ke(on(e)):void 0;if(r&&o)return o;var a=ln(n)?ke(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 La(e,t,n){if(e&&!Se(t)){var r={},i=sn(n),o=JSON.stringify(t),a=!fn(i);return un(i)&&(r[Le]=Qe(Le,t,ke(localStorage.getItem(e))),localStorage.setItem(e,o),a)?r[Le]:cn(i)&&(r[De]=Qe(De,t,ke(on(e))),si(e,o),a)?r[De]:ln(i)&&(r[Re]=Qe(Re,t,ke(sessionStorage.getItem(e))),sessionStorage.setItem(e,o),a)?r[Re]:(r[Ce]=Qe(Ce,t,ce(e)),se(e,t),a?r[Ce]:r)}}function Ra(e,t){if(e){var n=sn(t),r=pi(e,di),i={};return!Se(r.localStorage)&&un(n)&&(localStorage.removeItem(e),i[Le]=r.localStorage),!Se(r.cookie)&&cn(n)&&(ui(e),i[De]=r.cookie),!Se(r.sessionStorage)&&ln(n)&&(sessionStorage.removeItem(e),i[Re]=r.sessionStorage),!Se(r.global)&&dt(n,Ce)&&(we(e),i[Ce]=r.global),i}}function sn(e){return e?_a(e)?e:e.storage:fi}function un(e){return Ma&&dt(e,Le)}function cn(e){return Da&&dt(e,De)}function ln(e){return Ua&&dt(e,Re)}function fn(e){return e===di||e==="all"}function dt(e,t){return e===fi||e===t||fn(e)}function Qe(e,t,n){return{location:e,current:t,previous:n}}var za={setItem:La,getItem:pi,removeItem:Ra};function Wa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Gn(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?Gn(Object(n),!0).forEach(function(r){Wa(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function $a(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t={storage:za};return Aa(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 Va(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 Ha(e){var t=Va(e,"string");return ne(t)=="symbol"?t:t+""}function dn(e,t,n){return(t=Ha(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Xn(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 Z(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Xn(Object(n),!0).forEach(function(r){dn(e,r,n[r])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Xn(Object(n)).forEach(function(r){Object.defineProperty(e,r,Object.getOwnPropertyDescriptor(n,r))})}return e}function gi(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Bn={exports:{}},Qn={exports:{}},Zn;function hi(){return Zn||(Zn=1,function(e){function t(n,r){this.v=n,this.k=r}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(Qn)),Qn.exports}var Yn={exports:{}},er={exports:{}},tr;function mi(){return tr||(tr=1,function(e){function t(n,r,i,o){var a=Object.defineProperty;try{a({},"",{})}catch{a=0}e.exports=t=function(s,u,l,d){if(u)a?a(s,u,{value:l,enumerable:!d,configurable:!d,writable:!d}):s[u]=l;else{var c=function(g,y){t(s,g,function(x){return this._invoke(g,y,x)})};c("next",0),c("throw",1),c("return",2)}},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r,i,o)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(er)),er.exports}var nr;function yi(){return nr||(nr=1,function(e){var t=mi();function n(){var r,i,o=typeof Symbol=="function"?Symbol:{},a=o.iterator||"@@iterator",s=o.toStringTag||"@@toStringTag";function u(b,p,w,j){var O=p&&p.prototype instanceof d?p:d,E=Object.create(O.prototype);return t(E,"_invoke",function(P,T,L){var R,N,C,q=0,W=L||[],U=!1,K={p:0,n:0,v:r,a:G,f:G.bind(r,4),d:function(z,h){return R=z,N=0,C=r,K.n=h,l}};function G(z,h){for(N=z,C=h,i=0;!U&&q&&!v&&i<W.length;i++){var v,f=W[i],m=K.p,S=f[2];z>3?(v=S===h)&&(C=f[(N=f[4])?5:(N=3,3)],f[4]=f[5]=r):f[0]<=m&&((v=z<2&&m<f[1])?(N=0,K.v=h,K.n=f[1]):m<S&&(v=z<3||f[0]>h||h>S)&&(f[4]=z,f[5]=h,K.n=S,N=0))}if(v||z>1)return l;throw U=!0,h}return function(z,h,v){if(q>1)throw TypeError("Generator is already running");for(U&&h===1&&G(h,v),N=h,C=v;(i=N<2?r:C)||!U;){R||(N?N<3?(N>1&&(K.n=-1),G(N,C)):K.n=C:K.v=C);try{if(q=2,R){if(N||(z="next"),i=R[z]){if(!(i=i.call(R,C)))throw TypeError("iterator result is not an object");if(!i.done)return i;C=i.value,N<2&&(N=0)}else N===1&&(i=R.return)&&i.call(R),N<2&&(C=TypeError("The iterator does not provide a '"+z+"' method"),N=1);R=r}else if((i=(U=K.n<0)?C:P.call(T,K))!==l)break}catch(f){R=r,N=1,C=f}finally{q=1}}return{value:i,done:U}}}(b,w,j),!0),E}var l={};function d(){}function c(){}function g(){}i=Object.getPrototypeOf;var y=[][a]?i(i([][a]())):(t(i={},a,function(){return this}),i),x=g.prototype=d.prototype=Object.create(y);function I(b){return Object.setPrototypeOf?Object.setPrototypeOf(b,g):(b.__proto__=g,t(b,s,"GeneratorFunction")),b.prototype=Object.create(x),b}return c.prototype=g,t(x,"constructor",g),t(g,"constructor",c),c.displayName="GeneratorFunction",t(g,s,"GeneratorFunction"),t(x),t(x,s,"Generator"),t(x,a,function(){return this}),t(x,"toString",function(){return"[object Generator]"}),(e.exports=n=function(){return{w:u,m:I}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(Yn)),Yn.exports}var rr={exports:{}},ir={exports:{}},or={exports:{}},ar;function vi(){return ar||(ar=1,function(e){var t=hi(),n=mi();function r(i,o){function a(u,l,d,c){try{var g=i[u](l),y=g.value;return y instanceof t?o.resolve(y.v).then(function(x){a("next",x,d,c)},function(x){a("throw",x,d,c)}):o.resolve(y).then(function(x){g.value=x,d(g)},function(x){return a("throw",x,d,c)})}catch(x){c(x)}}var s;this.next||(n(r.prototype),n(r.prototype,typeof Symbol=="function"&&Symbol.asyncIterator||"@asyncIterator",function(){return this})),n(this,"_invoke",function(u,l,d){function c(){return new o(function(g,y){a(u,d,g,y)})}return s=s?s.then(c,c):c()},!0)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(or)),or.exports}var sr;function bi(){return sr||(sr=1,function(e){var t=yi(),n=vi();function r(i,o,a,s,u){return new n(t().w(i,o,a,s),u||Promise)}e.exports=r,e.exports.__esModule=!0,e.exports.default=e.exports}(ir)),ir.exports}var ur;function Ka(){return ur||(ur=1,function(e){var t=bi();function n(r,i,o,a,s){var u=t(r,i,o,a,s);return u.next().then(function(l){return l.done?l.value:u.next()})}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(rr)),rr.exports}var cr={exports:{}},lr;function Fa(){return lr||(lr=1,function(e){function t(n){var r=Object(n),i=[];for(var o in r)i.unshift(o);return function a(){for(;i.length;)if((o=i.pop())in r)return a.value=o,a.done=!1,a;return a.done=!0,a}}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports}(cr)),cr.exports}var fr={exports:{}},dr={exports:{}},pr;function qa(){return pr||(pr=1,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}(dr)),dr.exports}var gr;function Ga(){return gr||(gr=1,function(e){var t=qa().default;function n(r){if(r!=null){var i=r[typeof Symbol=="function"&&Symbol.iterator||"@@iterator"],o=0;if(i)return i.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length))return{next:function(){return r&&o>=r.length&&(r=void 0),{value:r&&r[o++],done:!r}}}}throw new TypeError(t(r)+" is not iterable")}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports}(fr)),fr.exports}var hr;function Ja(){return hr||(hr=1,function(e){var t=hi(),n=yi(),r=Ka(),i=bi(),o=vi(),a=Fa(),s=Ga();function u(){var l=n(),d=l.m(u),c=(Object.getPrototypeOf?Object.getPrototypeOf(d):d.__proto__).constructor;function g(I){var b=typeof I=="function"&&I.constructor;return!!b&&(b===c||(b.displayName||b.name)==="GeneratorFunction")}var y={throw:1,return:2,break:3,continue:3};function x(I){var b,p;return function(w){b||(b={stop:function(){return p(w.a,2)},catch:function(){return w.v},abrupt:function(j,O){return p(w.a,y[j],O)},delegateYield:function(j,O,E){return b.resultName=O,p(w.d,s(j),E)},finish:function(j){return p(w.f,j)}},p=function(j,O,E){w.p=b.prev,w.n=b.next;try{return j(O,E)}finally{b.next=w.n}}),b.resultName&&(b[b.resultName]=w.v,b.resultName=void 0),b.sent=w.v,b.next=w.n;try{return I.call(this,b)}finally{w.p=b.prev,w.n=b.next}}}return(e.exports=u=function(){return{wrap:function(I,b,p,w){return l.w(x(I),b,p,w&&w.reverse())},isGeneratorFunction:g,mark:l.m,awrap:function(I,b){return new t(I,b)},AsyncIterator:o,async:function(I,b,p,w,j){return(g(b)?i:r)(x(I),b,p,w,j)},keys:a,values:s}},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=u,e.exports.__esModule=!0,e.exports.default=e.exports}(Bn)),Bn.exports}var wt,mr;function Xa(){if(mr)return wt;mr=1;var e=Ja()();wt=e;try{regeneratorRuntime=e}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}return wt}var Ba=Xa(),J=gi(Ba);function yr(e,t,n,r,i,o,a){try{var s=e[o](a),u=s.value}catch(l){return void n(l)}s.done?t(u):Promise.resolve(u).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(u){yr(o,r,i,a,s,"next",u)}function s(u){yr(o,r,i,a,s,"throw",u)}a(void 0)})}}var vr=function(){};function Qa(e,t){var n,r,i,o=(t=t||{}).initial||[],a=t.max||1/0,s=t.interval||1e4,u=t.onEmpty||vr,l=t.onPause||vr;function d(g){clearInterval(n);var y=o.splice(0,a);return y.length&&e(y,o),o.length?g?d():c():(i=!1,u(o))}function c(){i=!0,n=setInterval(d,s)}return o.length&&c(),{flush:function(g){d(g)},resume:d,push:function(g){return(r=o.push(g))>=a&&!t.throttle&&d(),i||c(),r},size:function(){return o.length},pause:function(g){g&&d(),clearInterval(n),i=!1,l(o)}}}ut.bind(null,"sessionStorage");var Za=le("sessionStorage","getItem",ce),Ya=le("sessionStorage","setItem",se);le("sessionStorage","removeItem",we);var wi="__session",br=["id","createdAt","created"];function zt(e){var t=e?new Date(e):new Date;return[t.toISOString(),t.getTime()]}function xi(){var e=zt(),t=e[0],n=e[1];return{id:be(),created:n,createdAt:t}}var es={session:[Za,Ya],page:[ce,se]};function pt(e,t){for(var n=es[e],r=n[0],i=n[1],o=xi(),a=!1,s={},u=0;u<br.length;u++){var l=br[u],d="__"+e+"__session__"+l,c=r(d);a=t||!c,(t||!t&&!c)&&i(d,o[l]);var g=c&&!t?c:o[l],y=l!=="created"?g:Number(g);s[l]=y}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 $e(e,t){e===void 0&&(e=30);var n=on(wi),r=n?JSON.parse(n):rt(e);return t?r:pn(r,!n)}function rt(e,t,n){e===void 0&&(e=30);var r=n?$e(e,!0):xi(),i=60*e,o=r.created;if(n){var a=zt(),s=a[0],u=a[1];r.modified=u,r.modifiedAt=s,o=u}var l=zt(o+1e3*i),d=l[0];return r.expires=l[1],r.expiresAt=d,r.duration=1e3*i,t&&(r=Object.assign(r,t)),si(wi,JSON.stringify(r),i),pn(r,!n)}var ts=function(e,t){return rt(e,t,!0)},Si=pt.bind(null,"session"),ns=pt.bind(null,"session",!0),gn=pt.bind(null,"page"),wr=pt.bind(null,"page",!0),ve=typeof window<"u";function rs(e){return typeof e=="string"}function xr(e){return typeof e=="boolean"}var xt,Sr;function is(){if(Sr)return xt;Sr=1;var e=function(p){return t(p)&&!n(p)};function t(p){return!!p&&typeof p=="object"}function n(p){var w=Object.prototype.toString.call(p);return w==="[object RegExp]"||w==="[object Date]"||o(p)}var r=typeof Symbol=="function"&&Symbol.for,i=r?Symbol.for("react.element"):60103;function o(p){return p.$$typeof===i}function a(p){return Array.isArray(p)?[]:{}}function s(p,w){return w.clone!==!1&&w.isMergeableObject(p)?I(a(p),p,w):p}function u(p,w,j){return p.concat(w).map(function(O){return s(O,j)})}function l(p,w){if(!w.customMerge)return I;var j=w.customMerge(p);return typeof j=="function"?j:I}function d(p){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(p).filter(function(w){return Object.propertyIsEnumerable.call(p,w)}):[]}function c(p){return Object.keys(p).concat(d(p))}function g(p,w){try{return w in p}catch{return!1}}function y(p,w){return g(p,w)&&!(Object.hasOwnProperty.call(p,w)&&Object.propertyIsEnumerable.call(p,w))}function x(p,w,j){var O={};return j.isMergeableObject(p)&&c(p).forEach(function(E){O[E]=s(p[E],j)}),c(w).forEach(function(E){y(p,E)||(g(p,E)&&j.isMergeableObject(w[E])?O[E]=l(E,j)(p[E],w[E],j):O[E]=s(w[E],j))}),O}function I(p,w,j){j=j||{},j.arrayMerge=j.arrayMerge||u,j.isMergeableObject=j.isMergeableObject||e,j.cloneUnlessOtherwiseSpecified=s;var O=Array.isArray(w),E=Array.isArray(p),P=O===E;return P?O?j.arrayMerge(p,w,j):x(p,w,j):s(w,j)}I.all=function(p,w){if(!Array.isArray(p))throw new Error("first argument should be an array");return p.reduce(function(j,O){return I(j,O,w)},{})};var b=I;return xt=b,xt}var os=is(),as=gi(os);var Wt=new TextEncoder,ss={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"},us=new Set(["authorization","content-type","content-length","user-agent","presigned-expires","expect","x-amzn-trace-id","range","connection"]),$t=class{constructor({accessKeyId:t,secretAccessKey:n,sessionToken:r,service:i,region:o,cache:a,retries:s,initRetryMs:u}){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=u||50}async sign(t,n){if(t instanceof Request){let{method:o,url:a,headers:s,body:u}=t;n=Object.assign({method:o,url:a,headers:s},n),n.body==null&&s.has("Content-Type")&&(n.body=u!=null&&s.has("X-Amz-Content-Sha256")?u:await t.clone().arrayBuffer()),t=a}let r=new Vt(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")}},Vt=class{constructor({method:t,url:n,headers:r,body:i,accessKeyId:o,secretAccessKey:a,sessionToken:s,service:u,region:l,cache:d,datetime:c,signQuery:g,appendSessionToken:y,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 b,p;(!u||!l)&&([b,p]=cs(this.url,this.headers)),this.service=u||b||"",this.region=l||p||"us-east-1",this.cache=d||new Map,this.datetime=c||new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),this.signQuery=g,this.appendSessionToken=y||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 w=this.signQuery?this.url.searchParams:this.headers;if(w.set("X-Amz-Date",this.datetime),this.sessionToken&&!this.appendSessionToken&&w.set("X-Amz-Security-Token",this.sessionToken),this.signableHeaders=["host",...this.headers.keys()].filter(O=>x||!us.has(O)).sort(),this.signedHeaders=this.signableHeaders.join(";"),this.canonicalHeaders=this.signableHeaders.map(O=>O+":"+(O==="host"?this.url.host:(this.headers.get(O)||"").replace(/\s+/g," "))).join(`
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as l}from"./FCGJ2VZH.js";import{D as n,I as o,c as r,d as a,o as s}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var c=r`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as l}from"./YJVHNGLM.js";import{D as o,c as r,d as a,n as s,y as n}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var c=r`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250610 */
4
+ import{l as g}from"./AJ4EANAJ.js";import{c as i,d as f}from"./4BBMUYOY.js";import{a}from"./MSN724ZV.js";import{b as s}from"./XKTGW3XN.js";import{c as m,j as l,k as c,l as d,w as p}from"./3MMNPTWA.js";function P(t,e){return f(g(t),e,4)}function M(t,e){let r=t.filter(n=>!n.startsWith(`${i}|`));return r.push([i,e].join("|")),r}async function S(t,e){if(!t.slug)return[];let n={filter:`typekeywords:"${t.slug.startsWith(`${i}|`)?t.slug:[i,t.slug].join("|")}"`};e.authentication?n.authentication=e.authentication:e.portal&&(n.portal=e.portal),t.exclude&&(n.q=`NOT id:${t.exclude}`);try{return(await p(n)).results}catch(o){throw o}}function I(t,e,r=0){let n=r?[t.slug,r].join("-"):t.slug;return S({slug:n,exclude:t.existingId},e).then(o=>o.length?I(t,e,r+1):n).catch(o=>{throw Error(`Error in getUniqueSlug ${o}`)})}function U(t){let e=a(t.item);return e.text=JSON.stringify(t.data),e}function u(t){return t.params=Object.assign(Object.assign({},t.params),b(t.item)),t}function b(t){let e=JSON.parse(JSON.stringify(t));return e.data&&(typeof Blob<"u"&&t.data instanceof Blob||t.data.constructor.name==="ReadStream"?e.file=t.data:e.text=t.data,delete e.data),e}function x(...t){return l(u(t[0]))}function h(...t){return m(u(t[0]))}function y(t,e){return Promise.all([c(t,e),d(t,e)]).then(r=>({item:r[0],data:r[1]}))}async function D(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent));let n=await x(Object.assign({item:r},e));return y(n.id,e)}function Y(t,e){let r=a(t.item);r.data=a(t.data),r.extent&&typeof r.extent!="string"&&(r.extent=s(r.extent)),j(r)&&(e.params=Object.assign(Object.assign({},e.params),{clearEmptyFields:!0}));let n=Object.assign({item:r},e);return h(n).then(()=>r.data?y(r.id,e):c(r.id,e).then(o=>({item:o})))}function j(t){return["description","snippet","tags","categories","licenseInfo"].some(e=>{var r;return t[e]===""||((r=t[e])===null||r===void 0?void 0:r.length)===0})}export{U as a,x as b,h as c,P as d,M as e,I as f,y as g,D as h,Y as i};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as r,b as s,c as a,d as n}from"./2P5UHGEH.js";import{c as e}from"./5XNGEXET.js";import{a as i}from"./ZIZC3PWT.js";import{b as t}from"./7H5QHDT3.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
3
+ v1.0.0-next.20250610 */
4
+ import{a as r,b as s,c as a,d as n}from"./OBGE3PJZ.js";import{c as e}from"./PERO5WYC.js";import{a as i}from"./62U5XQ53.js";import{b as t}from"./GWCLKO7W.js";var m=["hub:initiative:edit","hub:initiative:create","hub:initiative:create2","hub:initiative:metrics","hub:initiative:associations","hub:initiative:settings"],b=Object.assign(Object.assign({},i),{properties:Object.assign(Object.assign({},i.properties),{_groups:{type:"array",items:{type:"string"}},status:{type:"string",default:t.notStarted,enum:Object.keys(t)},_metric:{type:"object",required:["cardTitle"],properties:e.properties}}),allOf:[s,r,n,a]});export{m as a,b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  var e=["hub:user:settings"],t={type:"object",properties:{settings:{type:"object",properties:{preview:{type:"object",properties:{workspace:{type:"boolean",default:!1}}}}},hubOrgSettings:{type:"object",properties:{showInformationalBanner:{type:"boolean",default:!1},enableTermsAndConditions:{type:"boolean",default:!1},termsAndConditions:{type:"string",default:""},enableSignupText:{type:"boolean",default:!1},signupText:{type:"string",default:""}}}}};export{e as a,t as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as h}from"./7HTKOKPV.js";import{a as n,b as o}from"./5JEZVAD4.js";import{b as i}from"./FSN5FQRG.js";import{a as r,c as t,d as l,e as d,f as p}from"./WUF32TGT.js";import"./NUVLGW3I.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,e={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(a){r(this,a),this.infoIsOpenChanged=p(this,"infoIsOpenChanged",6),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=h.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let a=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(a),g=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?e.headerContent.concat(" ",e.alignment[this.headerAlignment]):e.headerContent,m=n(this.fontFamily);return t(l,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${e.base}${this.dir==="rtl"?` ${e.flipRtl}`:""}${this.logoImage&&!a?` ${e.logoHeight}${this.logoScale}`:` ${e.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:e.headerContainer},t("span",{class:c},s,g,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:e.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(a){return a?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),void await Promise.resolve()}mqlCallback(){return a=>{let{matches:s}=a;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let a=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(a);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return d(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
3
+ v1.0.0-next.20250610 */
4
+ import{a as h}from"./KPZNCFK7.js";import{a as n,b as o}from"./2SPB6YWD.js";import{b as i}from"./ZBC2KSKJ.js";import{a as r,c as t,d as l,e as d,f as p}from"./C2WZRDNU.js";import"./SA3FJIMJ.js";var _=":host{--instant-apps-header-height:auto;--instant-apps-header-min-height:50px;--instant-apps-header-title-text-link-decoration:underline;--instant-apps-header-height--logo-scale--s:55px;--instant-apps-header-logo-width--logo-scale--s:35px;--instant-apps-header-logo-height--logo-scale--s:35px;--instant-apps-header-height--logo-scale--m:70px;--instant-apps-header-logo-width--logo-scale--m:50px;--instant-apps-header-logo-height--logo-scale--m:50px;--instant-apps-header-height--logo-scale--l:80px;--instant-apps-header-logo-width--logo-scale--l:60px;--instant-apps-header-logo-height--logo-scale--l:60px;--instant-apps-header-actions-end-height:auto;width:100%}:host .image.image_resized img{width:100%}:host .instant-apps-header--standard{box-sizing:border-box;display:flex;align-items:center;justify-content:space-between;width:100%;height:var(--instant-apps-header-height);background-color:var(--calcite-color-foreground-1);color:var(--calcite-color-text-1);font-family:var(--calcite-sans-family);min-height:var(--instant-apps-header-min-height)}:host .instant-apps-header--standard .instant-apps-header__header-container{display:flex;align-items:center;width:100%;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container slot{display:flex;height:inherit}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*){display:flex;min-height:var(--instant-apps-header-min-height);height:var(--instant-apps-header-height)}:host .instant-apps-header--standard .instant-apps-header__header-container ::slotted(*) calcite-button{height:100%}:host .instant-apps-header--standard .instant-apps-header__header-content{box-sizing:border-box;display:flex;align-items:center;width:100%;min-width:0;height:inherit;padding:5px 10px}:host .instant-apps-header--standard .instant-apps-header__header-content a{display:flex;align-items:center;text-decoration:var(--instant-apps-header-title-text-link-decoration)}:host .instant-apps-header--standard .instant-apps-header__header-content a img{padding-right:0}:host .instant-apps-header--standard .instant-apps-header__header-content img{margin:10px}:host .instant-apps-header--standard .instant-apps-header__header-content h1{margin:0;font-size:1.25rem;color:var(--calcite-color-text-1);font-weight:430;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}:host .instant-apps-header--standard .instant-apps-header__header-content #infoButton{margin-inline-start:10px}:host .instant-apps-header--standard .instant-apps-header__header-content--center{justify-content:center}:host .instant-apps-header--standard .instant-apps-header__header-content--right{justify-content:end}:host .instant-apps-header__logo-height--s{height:var(--instant-apps-header-height--logo-scale--s)}:host .instant-apps-header__logo-height--s .instant-apps-header__header-content h1{font-size:1.125rem}:host .instant-apps-header__logo-scale--s{width:var(--instant-apps-header-logo-width--logo-scale--s);height:var(--instant-apps-header-logo-height--logo-scale--s)}:host .instant-apps-header__logo-height--m{height:var(--instant-apps-header-height--logo-scale--m)}:host .instant-apps-header__logo-scale--m{width:var(--instant-apps-header-logo-width--logo-scale--m);height:var(--instant-apps-header-logo-height--logo-scale--m)}:host .instant-apps-header__logo-height--l{height:var(--instant-apps-header-height--logo-scale--l)}:host .instant-apps-header__logo-height--l .instant-apps-header__header-content h1{font-size:1.375rem}:host .instant-apps-header__logo-scale--l{width:var(--instant-apps-header-logo-width--logo-scale--l);height:var(--instant-apps-header-logo-height--logo-scale--l)}:host .instant-apps-header__actions-end-container{height:var(--instant-apps-header-actions-end-height);display:flex}:host .instant-apps-header__sign-in-container{height:inherit;display:flex;align-items:center}:host .instant-apps-header__sign-in-container calcite-dropdown,:host .instant-apps-header__sign-in-container calcite-navigation-user{height:100%}:host .instant-apps-header__sign-in-container calcite-button{margin:0 10px}:host .instant-apps-header__sign-in-container calcite-dropdown-group{min-width:140px}",f=_,e={base:"instant-apps-header--standard",headerContainer:"instant-apps-header__header-container",headerContent:"instant-apps-header__header-content",flipRtl:"instant-apps-header--rtl",logoScale:"instant-apps-header__logo-scale--",logoHeight:"instant-apps-header__logo-height--",standardHeight:"instant-apps-header__standard-height",actionsEndContainer:"instant-apps-header__actions-end-container",alignment:{center:"instant-apps-header__header-content--center",right:"instant-apps-header__header-content--right"}},u=class{constructor(a){r(this,a),this.infoIsOpenChanged=p(this,"infoIsOpenChanged",6),this._sanitizer=new o({whiteList:{h1:["style"],h2:["style"],h3:["style"],h4:["style"],h5:["style"],h6:["style"],img:["style","src","width","height"],pre:["style"],p:["id","class","style"],div:["id","class","style","role"],span:["id","class","style","role"],figure:["class","style"],header:["id","class","style","role"]}},!0),this.dir=void 0,this.titleText="",this.titleTextLink=void 0,this.backgroundColor=void 0,this.textColor=void 0,this.logoImage=void 0,this.logoScale="m",this.logoImageAltText=void 0,this.logoLink=void 0,this.infoButton=!1,this.infoIsOpen=!1,this.infoTitleText=void 0,this.customHeaderHtml=void 0,this.headerAlignment="left",this.customHeaderCss=void 0,this.fontFamily="var(--calcite-sans-family);",this.mobileWidthBreakpoint=h.medium[1],this.initialScale="m"}sanitizeCustomHeaderHtml(){this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}componentWillLoad(){this.dir=i(this.el),this.handleMobileBreakpoints(),this.dir=i(this.el),this.customHeaderHtml=this._sanitizer.sanitize(this.customHeaderHtml)}render(){let a=this.logoImage==="undefined"||this.logoImage?.split("?")?.[0]==="undefined"||this.logoImage?.split("?")?.[0]===""||!this.logoImage,s=this.renderLogo(a),g=this.renderTitle(),c=this.headerAlignment==="right"||this.headerAlignment==="center"?e.headerContent.concat(" ",e.alignment[this.headerAlignment]):e.headerContent,m=n(this.fontFamily);return t(l,{key:"67508c680a63356bffe44968e023768d34a3a8d1"},this.customHeaderHtml?[t("style",null,this.customHeaderCss),t("div",{id:"customHeader",innerHTML:this.customHeaderHtml})]:t("header",{class:`${e.base}${this.dir==="rtl"?` ${e.flipRtl}`:""}${this.logoImage&&!a?` ${e.logoHeight}${this.logoScale}`:` ${e.standardHeight}`}`,style:{backgroundColor:this.backgroundColor,fontFamily:m}},t("div",{class:e.headerContainer},t("span",{class:c},s,g,this.infoButton?t("calcite-button",{style:{"--calcite-color-text-1":this.textColor},id:"infoButton",alignment:"start",appearance:"transparent",kind:"neutral","icon-start":"information-f",scale:"s",label:this.infoTitleText,title:this.infoTitleText,onClick:this.toggleInfo.bind(this)}):null),t("div",{class:e.actionsEndContainer},t("slot",{name:"actions-end"})))))}renderLogo(a){return a?"":this.logoImage&&this.logoLink?t("a",{href:this.logoLink,target:"_blank"},t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText})):this.logoImage?t("img",{class:`${e.logoScale}${this.logoScale}`,src:this.logoImage,alt:this.logoImageAltText}):""}renderTitle(){return this.titleText&&this.titleTextLink?t("a",{style:{color:this.textColor},href:this.titleTextLink,rel:"noopener noreferrer",target:"_blank"},t("h1",{style:{color:this.textColor}},this.titleText)):t("h1",{style:{color:this.textColor}},this.titleText)}async toggleInfo(){return this.infoIsOpen=!this.infoIsOpen,this.infoIsOpenChanged.emit(this.infoIsOpen),void await Promise.resolve()}mqlCallback(){return a=>{let{matches:s}=a;if(s){this.logoScale="s";return}this.logoScale=this.initialScale}}handleMobileBreakpoints(){this.initialScale=this.logoScale;let a=`(max-width: ${this.mobileWidthBreakpoint}px)`,s=window.matchMedia(a);s.matches&&(this.logoScale="s"),s.addEventListener("change",this.mqlCallback())}get el(){return d(this)}static get watchers(){return{customHeaderHtml:["sanitizeCustomHeaderHtml"]}}};u.style=f;export{u as instant_apps_header};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  var c=["Application","City Engine Web Scene","CityEngine Web Scene","Dashboard","Insights Page","Insights Workbook","Operation View","Web Mapping Application","StoryMap","Web Experience","Urban Model"],s=["CSV Collection","CSV","Feature Collection Template","Feature Collection","Feature Layer","Feature Service","File Geodatabase","GeoJSON","GeoJson","KML Collection","KML","Microsoft Excel","Raster Layer","Shapefile","Stream Service","Table"],l=["CAD Drawing","Document Link","Hub Page","Site Page","Image","iWork Keynote","iWork Numbers","iWork Pages","Microsoft Powerpoint","Microsoft Visio","Microsoft Word","Notebook","PDF","Pro Map","Report Template"],p=["Hub Event"],g=["Form","Quick Capture Project"],d=["Hub Initiative"],u=["Solution"],S=["Hub Initiative Template"],k=["Image Collection","Image Service","Map Service Layer","Map Service","Scene Service","Scene Layer","Vector Tile Service","Web Map Service","Web Map Tile Service","Web Map","Web Scene","WFS","WMS","WMTS"],b=["360 VR Experience","3DTiles Package","3DTiles Service","API Key","Activity","Addin Package","Administrative Report","AllSource Project","Analysis Model","Apache Parquet","App Bundle","AppBuilder Extension","AppBuilder Widget Package","Application Configuration","Application SDK","ArcGIS Pro Add In","ArcGIS Pro Configuration","ArcPad Package","Arcade Module","Basemap Package","Big Data Analytic","Big Data File Share","Code Attachment","Code Sample","Color Set","Compact Tile Package","Content Category Set","Data Package Collection","Data Pipeline","Data Store","Deep Learning Package","Deep Learning Studio Project","Desktop Add In","Desktop Application","Desktop Application Template","Desktop Style","Earth Configuration","Esri Classification Schema","Esri Classifier Definition","Excalibur Imagery Project","Experience Builder Widget","Experience Builder Widget Package","Explorer Add In","Explorer Layer","Explorer Map","Export Package","Featured Items","Feed","GML","GeoBIM Application","GeoBIM Project","GeoPackage","Geocoding Service","Geodata Service","Geoenrichment Service","Geometry Service","Geoprocessing Package","Geoprocessing Sample","Geoprocessing Service","Globe Document","Globe Service","Group Layer","IPS Configuration","Indoors Map Configuration","Insights Data Engineering Model","Insights Data Engineering Workbook","Insights Model","Insights Script","Insights Theme","Insights Workbook Package","Kernel Gateway Connection","Knowledge Graph","Knowledge Graph Layer","Knowledge Graph Web Investigation","Knowledge Studio Project","Layer","Layer File","Layer Package","Layer Template","Layout","Legend","Living Atlas Export Package","Locator Package","Map Area","Map Document","Map Package","Map Service Definition","Map Template","Media Layer","Mission","Mission Report","Mission Template","Mobile Application","Mobile Basemap Package","Mobile Map Package","Mobile Scene Package","Native Application","Native Application Installer","Native Application Template","Network Analysis Service","Notebook Code Snippet Library","Notebook Code Snippets","OGCFeatureServer","Operations Dashboard Add In","Operations Dashboard Extension","Oriented Imagery Catalog","Ortho Mapping Project","Ortho Mapping Template","Pro Presentation","Pro Project","Pro Report","Pro Report Template","Project Package","Project Template","Published Map","QuickCapture Project","Raster Function Template","Real Time Analytic","Reality Mapping Project","Reality Studio Project","Relational Database Connection","Replication Package","Rule Package","SMX Item","SMX Map","SMX Theme","SQLite Geodatabase","Scene Document","Scene Package","Scene Package Part","Server","Service Definition","Statistical Data Collection","StoryMap Theme","Style","Suitability Model","Survey123 Add In","Symbol Service","Symbol Set","Task File","Tile Package","Urban Project","User License Type Extension","Vector Tile Package","Video Service","Viewer Configuration","Visio Document","WCS","Web AppBuilder Widget","Web Experience Template","Web Link Chart","Windows Mobile Package","Windows Viewer Add In","Workflow","Workflow Manager Package","Workflow Manager Service","Workforce Project","netCDF"],m=["Hub Site Application","Site Application"],r=a=>{if(!a)return;let e=a.toLocaleLowerCase();return Object.keys(i).find(t=>i[t].some(n=>n.toLocaleLowerCase()===e))},o=a=>{if(!a)return;let e=a.toLocaleLowerCase();return i[e]},i={app:c,dataset:s,document:l,event:p,feedback:g,initiative:d,template:S,solution:u,map:k,other:b,site:m};function P(a){return{other:"content",solution:"template"}[a]||a}function y(a){let e;switch(a.toLowerCase()){case"image service":e="dataset";break;case"feature service":case"raster layer":e="map";break;case"microsoft excel":e="document";break;case"cad drawing":case"feature collection template":case"report template":e="content";break;case"hub project":e="project";break;case"discussion":e="discussion";break;case"event":e="event";break;case"hub initiative":e="initiative";break;case"organization":e="organization";break;default:e=P(r(a))}return e}function A(a){let e;switch(a.toLowerCase()){case"content":e=o("other"),e=e.concat(["CAD Drawing","Feature Collection Template","Report Template"]);break;case"template":e=[...o("template"),...o("solution")];break;case"dataset":e=o(a.toLowerCase()).filter(t=>t!=="Feature Collection Template"&&t!=="Raster Layer"&&t!=="Microsoft Excel"),e=e.concat("Image Service");break;case"map":e=o(a.toLowerCase()).filter(t=>t!=="Image Service"),e=e.concat(["Raster Layer"]);break;case"document":e=o(a.toLowerCase()).filter(t=>t!=="CAD Drawing"&&t!=="Report Template"),e=e.concat("Microsoft Excel");break;case"project":e=["Hub Project"];break;case"discussion":e=["Discussion"];break;case"initiative":e=["Hub Initiative"];break;default:e=o(a.toLowerCase())}return e}export{y as a,A as b};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  async function q(t,e){let r=[],n=t?t.map(o=>b(o,e)):[Promise.resolve()];return(await Promise.all(n)).forEach(o=>{r=[...r,...o||[]]}),r}async function m(t,e,r,n,o,a){let s=e.capabilities?.query.maxRecordCount||1e3,y=0;t.length===0&&(t=await e.queryObjectIds());let c=e.createQuery();if(c.returnGeometry=n,c.objectIds=t.slice(y,s),o&&(c.outSpatialReference=o),a){let d=e.fields.map(i=>i.name.toLowerCase());c.outFields=a.filter(i=>d.indexOf(i.toLowerCase())>-1)}let f=await e.queryFeatures(c);r=r.concat(f.features);let l=t.slice(s,t.length);return l.length>0?m(l,e,r,n,o,a):Promise.resolve(r)}async function g(t,e){let r=e.globalIdField;if(!r)return[];let n=e.createQuery();return n.returnGeometry=!1,n.outFields=[e.objectIdField],n.where=t.map(o=>`${r} = '${o}'`).join(" or "),(await e.queryFeatures(n)).features}async function p(t,e,r,n){let o=e.capabilities?.query.maxRecordCount||1e3,a=e.createQuery();a.start=t,a.num=o,a.geometry=r;let s=await e.queryFeatures(a);return n[e.id]=n[e.id].concat(s.features),s.exceededTransferLimit?p(t+=o,e,r,n):Promise.resolve(n)}async function w(t,e){let r=e.createQuery();return r.objectIds=t,e.queryExtent(r)}function F(t,e){return[...u(t,"polygon",e),...u(t,"polyline",e),...u(t,"point",e)]}function u(t,e,r){let n=t?.filter(o=>o.type===e)||[];return n.length<=1?n:[r.union(n)]}async function b(t,e){let r=e.createQuery();return r.spatialRelationship="intersects",r.geometry=t,e.queryObjectIds(r)}export{q as a,m as b,g as c,p as d,w as e,F as f};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  var a;(function(e){e.aptx="aptx",e.bpk="bpk",e.csv="csv",e.eaz="eaz",e.esriaddin="esriaddin",e.esriaddinx="esriaddinx",e.doc="doc",e.docx="docx",e.dlpk="dlpk",e.featurecollection="featurecollection",e.geojson="geojson",e.gcpk="gcpk",e.gpk="gpk",e.gpkg="gpkg",e.gpkx="gpkx",e.insightswbk="insightswbk",e.ipynb="ipynb",e.jpg="jpg",e.jpeg="jpeg",e.json="json",e.key="key",e.kml="kml",e.kmz="kmz",e.lpk="lpk",e.lpkx="lpkx",e.lyr="lyr",e.lyrx="lyrx",e.mapx="mapx",e.mmpk="mmpk",e.mpk="mpk",e.mpkx="mpkx",e.msd="msd",e.mspk="mspk",e.mxd="mxd",e.ncfg="ncfg",e.nmc="nmc",e.nmf="nmf",e.numbers="numbers",e.pages="pages",e.pagx="pagx",e.parquet="parquet",e.pdf="pdf",e.pmf="pmf",e.png="png",e.ppkx="ppkx",e.ppt="ppt",e.pptx="pptx",e.proconfigx="proconfigx",e.rpk="rpk",e.rptx="rptx",e.sd="sd",e.slpk="slpk",e.spk="spk",e.stylx="stylx",e.surveyaddin="surveyaddin",e.sxd="sxd",e.tif="tif",e.tiff="tiff",e.tpk="tpk",e.tpkx="tpkx",e.vsd="vsd",e.vtpk="vtpk",e.wmpk="wmpk",e.wpk="wpk",e.xls="xls",e.xml="xml",e.xlsx="xlsx",e.zip="zip",e["3dd"]="3dd",e["3vr"]="3vr",e["3ws"]="3ws",e["rft.json"]="rft.json",e["rft.xml"]="rft.xml"})(a||(a={}));var r;(function(e){e["360 VR Experience"]="360 VR Experience",e["Apache Parquet"]="Apache Parquet",e["AppBuilder Widget Package"]="AppBuilder Widget Package",e["Desktop Add In"]="Desktop Add In",e["Explorer Add In"]="Explorer Add In",e["Explorer Map"]="Explorer Map",e["Explorer Layer"]="Explorer Layer",e["Windows Mobile Package"]="Windows Mobile Package",e["ArcGIS Pro Add In"]="ArcGIS Pro Add In",e["ArcGIS Pro Configuration"]="ArcGIS Pro Configuration",e["Globe Document"]="Globe Document",e["Map Document"]="Map Document",e["ArcPad Package"]="ArcPad Package",e["Published Map"]="Published Map",e["Scene Document"]="Scene Document",e["CityEngine Web Scene"]="CityEngine Web Scene",e["Code Sample"]="Code Sample",e["CSV Collection"]="CSV Collection",e.CSV="CSV",e["CAD Drawing"]="CAD Drawing",e["Deep Learning Package"]="Deep Learning Package",e["Desktop Application"]="Desktop Application",e["Desktop Application Template"]="Desktop Application Template",e["Desktop Style"]="Desktop Style",e["Earth Configuration"]="Earth Configuration",e["Feature Collection"]="Feature Collection",e["File Geodatabase"]="File Geodatabase",e.GeoJson="GeoJson",e["Geoprocessing Package"]="Geoprocessing Package",e.GeoPackage="GeoPackage",e["Geoprocessing Sample"]="Geoprocessing Sample",e.GML="GML",e["Image Collection"]="Image Collection",e.Image="Image",e["iWork Keynote"]="iWork Keynote",e["iWork Numbers"]="iWork Numbers",e["iWork Pages"]="iWork Pages",e["KML Collection"]="KML Collection",e.KML="KML",e.Layer="Layer",e["Layer Package"]="Layer Package",e.Layout="Layout",e["Locator Package"]="Locator Package",e["Map Package"]="Map Package",e["Map Template"]="Map Template",e["Microsoft Excel"]="Microsoft Excel",e["Microsoft Powerpoint"]="Microsoft Powerpoint",e["Visio Document"]="Visio Document",e["Microsoft Word"]="Microsoft Word",e["Mobile Basemap Package"]="Mobile Basemap Package",e["Mobile Map Package"]="Mobile Map Package",e["Mobile Scene Package"]="Mobile Scene Package",e.Notebook="Notebook",e.PDF="PDF",e["Pro Map"]="Pro Map",e["Pro Report"]="Pro Report",e["Project Package"]="Project Package",e["Project Template"]="Project Template",e["Raster function template"]="Raster function template",e["Rule Package"]="Rule Package",e["Scene Package"]="Scene Package",e["Service Definition"]="Service Definition",e.Shapefile="Shapefile",e["Survey123 Add In"]="Survey123 Add In",e["Tile Package"]="Tile Package",e["Vector Tile Package"]="Vector Tile Package",e["Workflow Manager Package"]="Workflow Manager Package",e["Document Link"]="Document Link",e["Feature Service"]="Feature Service",e["Geocoding Service"]="Geocoding Service",e["Geodata Service"]="Geodata Service",e["Geometry Service"]="Geometry Service",e["Geoprocessing Service"]="Geoprocessing Service",e["Geoenrichment Service"]="Geoenrichment Service",e["Globe Service"]="Globe Service",e["Image Service"]="Image Service",e["Map Service"]="Map Service",e["Network Analysis Service"]="Network Analysis Service",e["Vector Tile Service"]="Vector Tile Service",e.WFS="WFS",e.WMS="WMS",e.WMTS="WMTS",e.OGCFeatureServer="OGCFeatureServer",e["Scene Service"]="Scene Service",e["Stream Service"]="Stream Service",e["Workflow Manager Service"]="Workflow Manager Service",e["Web Mapping Application"]="Web Mapping Application",e["Mobile Application"]="Mobile Application",e["AppBuilder Extension"]="AppBuilder Extension",e["Google Drive"]="Google Drive",e.Dropbox="Dropbox",e.OneDrive="OneDrive",e.StoryMap="StoryMap",e.Dashboard="Dashboard",e["Hub Project"]="Hub Project",e["Hub Initiative"]="Hub Initiative",e["Hub Site Application"]="Hub Site Application",e["Web Experience"]="Web Experience",e["Insights Workbook Package"]="Insights Workbook Package",e.Application="Application",e["ArcGIS Explorer Application Configuration"]="ArcGIS Explorer Application Configuration",e["ArcMap Document"]="ArcMap Document",e["Layer File"]="Layer File",e.ogcFeature="ogcFeature",e.FeatureServer="Feature Service",e.GeocodeServer="GeocodeServer",e.GeoDataServer="GeoDataServer",e.GeometryServer="GeometryServer",e.GeoenrichmentServer="GeoenrichmentServer",e.GPServer="GPServer",e.GlobeServer="GlobeServer",e.ImageServer="ImageServer",e.MapServer="MapServer",e.NAServer="NAServer",e.ElevationServer="ElevationServer",e.VectorTileServer="VectorTileServer",e["Scene Server"]="Scene Server",e.StreamServer="StreamServer",e.WMServer="WMServer",e.TiledImageServer="TiledImageServer"})(r||(r={}));var t={"360 VR Experience":{fileExt:[a["3dd"]],type:r["360 VR Experience"],typeKeywords:[]},"Apache Parquet":{fileExt:[a.parquet],type:r["Apache Parquet"],typeKeywords:[]},"AppBuilder Widget Package":{fileExt:[a.zip],type:r["AppBuilder Widget Package"],typeKeywords:[]},"Desktop Add In":{fileExt:[a.esriaddin],type:r["Desktop Add In"],typeKeywords:["Tool","Add In","Desktop Add In","ArcGIS Desktop","ArcMap","ArcGlobe","ArcScene","esriaddin"]},"Explorer Add In":{fileExt:[a.eaz],type:r["Explorer Add In"],typeKeywords:["Tool","Add In","Explorer Add In","ArcGIS Explorer","eaz"]},"Explorer Map":{fileExt:[a.nmf],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Document","2D","3D","ArcGIS Explorer","nmf"]},"ArcGIS Explorer Application Configuration":{fileExt:[a.ncfg],type:r["Explorer Map"],typeKeywords:["Map","Explorer Map","Explorer Mapping Application","2D","3D","ArcGIS Explorer"]},"Explorer Layer":{fileExt:[a.nmc],type:r["Explorer Layer"],typeKeywords:["Data","Layer","Explorer Layer","ArcGIS Explorer","nmc"]},"Windows Mobile Package":{fileExt:[a.wmpk],type:r["Windows Mobile Package"],typeKeywords:[]},"ArcGIS Pro Add In":{fileExt:[a.esriaddinx],type:r["ArcGIS Pro Add In"],typeKeywords:["Tool","Add In","Pro Add In","esriaddinx"]},"ArcGIS Pro Configuration":{fileExt:[a.proconfigx],type:r["ArcGIS Pro Configuration"],typeKeywords:[]},"Globe Document":{fileExt:[a["3dd"]],type:r["Globe Document"],typeKeywords:["Map","Globe Document","3D","ArcGlobe","ArcGIS Server","3dd"]},"Map Document":{fileExt:[a.msd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server","msd"]},"ArcMap Document":{fileExt:[a.mxd],type:r["Map Document"],typeKeywords:["Map Document","Map","2D","ArcMap","ArcGIS Server"]},"ArcPad Package":{fileExt:[a.zip],type:r["ArcPad Package"],typeKeywords:["Map","Layer","Data"]},"Published Map":{fileExt:[a.pmf],type:r["Published Map"],typeKeywords:["Map","Published Map","2D","ArcReader","ArcMap","ArcGIS Server","pmf"]},"Scene Document":{fileExt:[a.sxd],type:r["Scene Document"],typeKeywords:["Map","Scene Document","3D","ArcScene","sxd"]},"CityEngine Web Scene":{fileExt:[a["3ws"]],type:r["CityEngine Web Scene"],typeKeywords:["3D","Map","Scene","Web"]},"Code Sample":{fileExt:[a.zip],type:r["Code Sample"],typeKeywords:["Code","Sample"]},"CSV Collection":{fileExt:[a.zip],type:r["CSV Collection"],typeKeywords:[]},CSV:{fileExt:[a.csv],type:r.CSV,typeKeywords:["CSV"]},"CAD Drawing":{fileExt:[a.zip],type:r["CAD Drawing"],typeKeywords:[]},"Deep Learning Package":{fileExt:[a.zip,a.dlpk],type:r["Deep Learning Package"],typeKeywords:["Deep Learning","Raster"]},"Desktop Application":{type:r["Desktop Application"],typeKeywords:["Desktop Application"]},"Desktop Application Template":{fileExt:[a.zip],type:r["Desktop Application Template"],typeKeywords:["application","template","ArcGIS desktop"]},"Desktop Style":{fileExt:[a.stylx],type:r["Desktop Style"],typeKeywords:["ArcGIS Pro","Symbology","Style","Symbols"]},"Earth Configuration":{fileExt:[a.xml],type:r["Earth Configuration"],typeKeywords:["ArcGIS Earth","Earth","Earth Configuration"]},"Feature Collection":{type:r["Feature Collection"],fileExt:[a.featurecollection],typeKeywords:[]},"File Geodatabase":{fileExt:[a.zip],type:r["File Geodatabase"],typeKeywords:[]},GeoJson:{fileExt:[a.geojson,a.json],type:r.GeoJson,typeKeywords:["Coordinates Type","CRS","Feature","FeatureCollection","GeoJSON","Geometry","GeometryCollection"]},"Geoprocessing Package":{fileExt:[a.gpk,a.gpkx],type:r["Geoprocessing Package"],typeKeywords:["ArcGIS Desktop","ArcGlobe","ArcMap","ArcScene","Geoprocessing Package","gpk","Model","Result","Script","Sharing","Tool","Toolbox"]},GeoPackage:{fileExt:[a.gpkg],type:r.GeoPackage,typeKeywords:["Data","GeoPackage","gpkg"]},"Geoprocessing Sample":{fileExt:[a.zip],type:r["Geoprocessing Sample"],typeKeywords:["tool","geoprocessing","sample"]},GML:{fileExt:[a.zip],type:r.GML,typeKeywords:[]},"Image Collection":{fileExt:[a.zip],type:r["Image Collection"],typeKeywords:[]},Image:{fileExt:[a.jpg,a.jpeg,a.png,a.tif,a.tiff],type:r.Image,typeKeywords:["Data","Image"]},"iWork Keynote":{fileExt:[a.key],type:r["iWork Keynote"],typeKeywords:["Data","Document","Mac"]},"iWork Numbers":{fileExt:[a.numbers],type:r["iWork Numbers"],typeKeywords:["Data","Document","Mac"]},"iWork Pages":{fileExt:[a.pages],type:r["iWork Pages"],typeKeywords:["Data","Document","Mac"]},"KML Collection":{fileExt:[a.zip],type:r["KML Collection"],typeKeywords:[]},KML:{type:r.KML,fileExt:[a.kml,a.kmz],typeKeywords:["Data","Map","kml"]},Layer:{fileExt:[a.lyr],type:r.Layer,typeKeywords:["Data","Layer","ArcMap","ArcGlobe","ArcGIS Explorer","lyr"]},"Layer File":{fileExt:[a.lyrx],type:r.Layer,typeKeywords:["ArcGIS Pro","Layer","Layer File"]},"Layer Package":{fileExt:[a.lpk,a.lpkx],type:r["Layer Package"],typeKeywords:[]},Layout:{fileExt:[a.pagx],type:r.Layout,typeKeywords:["ArcGIS Pro","Layout","Layout File","pagx"]},"Locator Package":{fileExt:[a.gcpk],type:r["Locator Package"],typeKeywords:[]},"Map Package":{fileExt:[a.mpk,a.mpkx],type:r["Map Package"],typeKeywords:[]},"Map Template":{fileExt:[a.zip],type:r["Map Template"],typeKeywords:["map","ArcMap","template","ArcGIS desktop"]},"Microsoft Excel":{fileExt:[a.xls,a.xlsx],type:r["Microsoft Excel"],typeKeywords:["Data","Document","Microsoft Excel"]},"Microsoft Powerpoint":{fileExt:[a.ppt,a.pptx],type:r["Microsoft Powerpoint"],typeKeywords:["Data","Document","Microsoft Powerpoint"]},"Visio Document":{fileExt:[a.vsd],type:r["Visio Document"],typeKeywords:["Data","Document","Visio Document"]},"Microsoft Word":{fileExt:[a.doc,a.docx],type:r["Microsoft Word"],typeKeywords:["Data","Document"]},"Mobile Basemap Package":{fileExt:[a.bpk],type:r["Mobile Basemap Package"],typeKeywords:[]},"Mobile Map Package":{fileExt:[a.mmpk],type:r["Mobile Map Package"],typeKeywords:[]},"Mobile Scene Package":{fileExt:[a.mspk],type:r["Mobile Scene Package"],typeKeywords:[]},Notebook:{fileExt:[a.ipynb],type:r.Notebook,typeKeywords:["Notebook","Python"]},PDF:{fileExt:[a.pdf],type:r.PDF,typeKeywords:["Data","Document","PDF"]},"Pro Map":{fileExt:[a.mapx],type:r["Pro Map"],typeKeywords:["ArcGIS Pro","Map","Map File","mapx"]},"Pro Report":{fileExt:[a.rptx],type:r["Pro Report"],typeKeywords:[]},"Project Package":{fileExt:[a.ppkx],type:r["Project Package"],typeKeywords:[]},"Project Template":{fileExt:[a.aptx],type:r["Project Template"],typeKeywords:[]},"Raster function template":{fileExt:[a["rft.json"],a["rft.xml"]],type:r["Raster function template"],typeKeywords:["Raster","Functions","Processing","rft","srf","function template","templates","ArcGIS Pro"]},"Rule Package":{fileExt:[a.rpk],type:r["Rule Package"],typeKeywords:[]},"Scene Package":{fileExt:[a.slpk,a.spk],type:r["Scene Package"],typeKeywords:[]},"Service Definition":{fileExt:[a.sd],type:r["Service Definition"],typeKeywords:["Data","Service","Service Definition"]},Shapefile:{fileExt:[a.zip],type:r.Shapefile,typeKeywords:["Data","Layer","shapefile"]},"Survey123 Add In":{fileExt:[a.surveyaddin],type:r["Survey123 Add In"],typeKeywords:["Add In","Survey123 Add In","Tool"]},"Tile Package":{fileExt:[a.tpk,a.tpkx],type:r["Tile Package"],typeKeywords:[]},"Vector Tile Package":{fileExt:[a.vtpk],type:r["Vector Tile Package"],typeKeywords:[]},"Workflow Manager Package":{fileExt:[a.wpk],type:r["Workflow Manager Package"],typeKeywords:[]},"Document Link":{type:r["Document Link"],typeKeywords:["Data","Document"]},"Feature Service":{type:r["Feature Service"],typeKeywords:["ArcGIS Server","Data","Feature Access","Feature Service","Service","Singlelayer","Hosted Service"]},GeocodeServer:{type:r["Geocoding Service"],typeKeywords:["ArcGIS Server","Geocoding Service","Locator Service","Service","Tool","Service Proxy"]},GeoDataServer:{type:r["Geodata Service"],typeKeywords:["Data","Service","Geodata Service","ArcGIS Server"]},GeometryServer:{type:r["Geometry Service"],typeKeywords:["Tool","Service","Geometry Service","ArcGIS Server"]},GeoenrichmentServer:{type:r["Geoenrichment Service"],typeKeywords:["Geoenrichment Service","ArcGIS Server"]},GPServer:{type:r["Geoprocessing Service"],typeKeywords:["Tool","Service","Geoprocessing Service","ArcGIS Server"]},GlobeServer:{type:r["Globe Service"],typeKeywords:["Data","Service","Globe Service","ArcGIS Server"]},ImageServer:{type:r["Image Service"],typeKeywords:["Data","Service","Image Service","ArcGIS Server"]},MapServer:{type:r["Map Service"],typeKeywords:["Data","Service","Map Service","ArcGIS Server"]},NAServer:{type:r["Network Analysis Service"],typeKeywords:["Tool","Service","Network Analysis Service","ArcGIS Server"]},ElevationServer:{type:r["Image Service"],typeKeywords:["Elevation 3D Layer"]},VectorTileServer:{type:r["Vector Tile Service"],typeKeywords:[]},WFS:{type:r.WFS,typeKeywords:["Data","Service","Web Feature Service","OGC"]},WMS:{type:r.WMS,typeKeywords:["Data","Service","Web Map Service","OGC"]},WMTS:{type:r.WMTS,typeKeywords:["Data","Service","OGC"]},ogcFeature:{type:r.OGCFeatureServer,typeKeywords:["Data","Service","Feature Service","OGC","OGC Feature Service"]},SceneServer:{type:r["Scene Service"],typeKeywords:["Scene Service"]},StreamServer:{type:r["Stream Service"],typeKeywords:["Data","Service","Stream Service","ArcGIS Server"]},WMServer:{type:r["Workflow Manager Service"],typeKeywords:["Workflow Manager","ArcGIS Server","WMServer","Workflow","JTX","Job Tracking"]},TiledImageServer:{type:r["Image Service"],typeKeywords:["Tiled Imagery"]},"Web Mapping Application":{type:r["Web Mapping Application"],typeKeywords:["JavaScript","Map","Mapping Site","Online Map","Ready To Use","Web AppBuilder","Web Map (+ WAB2D or WAB3D)"]},"Mobile Application":{type:r["Mobile Application"],typeKeywords:["ArcGIS Mobile Map","Mobile Application"]},"AppBuilder Extension":{type:r["AppBuilder Extension"],typeKeywords:["Widget","App Builder"]},"Google Drive":{type:r["Google Drive"],typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},Dropbox:{type:r.Dropbox,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},OneDrive:{type:r.OneDrive,typeKeywords:["CSV","Shapefile","GeoJSON","Excel","FileGeodatabase"]},"Map Service":{type:r["Map Service"],typeKeywords:["ArcGIS Server","Data","Map Service","Service","Hosted Service"]},StoryMap:{type:r.StoryMap,typeKeywords:["arcgis-storymaps","StoryMap","Web Application (smstatusdraft or smsstatuspublished)"]},Dashboard:{type:r.Dashboard,typeKeywords:["Dashboard","Operations Dashboard"]},"Hub Initiative":{type:r["Hub Initiative"],typeKeywords:["Hub","hubInitiative","OpenData"]},"Hub Site Application":{type:r["Hub Site Application"],typeKeywords:["Hub","hubSite","hubSolution","JavaScript","Map","Mapping Site","Online Map","OpenData","Ready To Use","selfConfigured","Web Map","Registered App"]},"Web Experience":{type:r["Web Experience"],typeKeywords:["EXB Experience","JavaScript","Ready To Use Web Application","Web Experience","Web Mapping Application","Web Page","Web Site"]},"Insights Workbook Package":{type:r["Insights Workbook Package"],fileExt:[a.insightswbk],typeKeywords:["Insights","Insights Workbook Package"]}},o;(function(e){e.notStarted="notStarted",e.inProgress="inProgress",e.onHold="onHold",e.complete="complete"})(o||(o={}));var p;(function(e){e.map="map",e.image="image"})(p||(p={}));export{r as a,o as b,p as c};
@@ -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.20250610 */
4
+ var a="WNufTOT96eMYwAik",e="https://www.arcgis.com",b="966b251241bb4e3bb9ee3f2b92921aa5",s="1d3a7ed66deb47269beea05ff9afd4c1",c="en";export{a,e as b,b as c,s as d,c as e};
@@ -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.20250610 */
4
+ import{i as d,j as i}from"./AJ4EANAJ.js";import{a as c}from"./H2TUSR7R.js";import{a as p}from"./MSN724ZV.js";import{a as s}from"./6ZSHJ5AZ.js";function f(r){let e=!1;return r&&(e=!(r.typeKeywords||[]).includes(c)),e}function w(r,e){let o=(r||[]).filter(t=>t!==c);return e||o.push(c),o}var y=class{constructor(e){this.mappings=e}storeToEntity(e,o){let t=S(e,o,this.mappings);if(s(e,"item")){let n=s(e,"item");i("canEdit",["admin","update"].includes(n.itemControl),t),i("canDelete",n.itemControl==="admin",t),i("canRecycle",n.canRecycle||!1,t),i("protected",n.protected,t)}return t}entityToStore(e,o){return C(e,o,this.mappings)}};function C(r,e,o){if(s(e,"item")){let t=s(e,"item");t.typeKeywords&&(t.typeKeywords=s(r,"isDiscussable")?t.typeKeywords.filter(n=>n!==c):[...t.typeKeywords,c],i("item.typeKeywords",t.typeKeywords,e))}return m(r,"entityKey",e,"storeKey",o)}function S(r,e,o){if(s(r,"item")){let t=s(r,"item");i("isDiscussable",f(t),e)}return m(r,"storeKey",e,"entityKey",o)}function m(r,e,o,t,n){let u=p(o);return n.forEach(l=>{let g=s(l,e),A=s(l,t),a=s(r,g);a!=null&&d(u,A,a,!0)}),u}export{f as a,w as b,y as c,C as d,S as e};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  var t="cannotDiscuss";export{t as a};
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
3
+ v1.0.0-next.20250610 */
4
4
  var e={"hub:initiative:events":!1,"hub:initiative:content":!0,"hub:initiative:discussions":!1},i=["hub:initiative","hub:initiative:create","hub:initiative:delete","hub:initiative:edit","hub:initiative:view","hub:initiative:owner","hub:initiative:canChangeAccess","hub:initiative:events","hub:initiative:content","hub:initiative:discussions","hub:initiative:workspace","hub:initiative:workspace:overview","hub:initiative:workspace:dashboard","hub:initiative:workspace:details","hub:initiative:workspace:metrics","hub:initiative:workspace:projects","hub:initiative:workspace:projects:member","hub:initiative:workspace:projects:manager","hub:initiative:workspace:settings","hub:initiative:workspace:collaborators","hub:initiative:workspace:content","hub:initiative:workspace:events","hub:initiative:workspace:metrics","hub:initiative:workspace:catalogs","hub:initiative:workspace:catalog","hub:initiative:workspace:catalog:content","hub:initiative:workspace:catalog:events","hub:initiative:workspace:associationGroup:create","hub:initiative:manage"],t=[{permission:"hub:initiative",services:["portal"],licenses:["hub-premium"]},{permission:"hub:initiative:create",dependencies:["hub:initiative"],authenticated:!0,privileges:["portal:user:createItem"]},{permission:"hub:initiative:view",services:["portal"],authenticated:!1,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:owner",dependencies:["hub:initiative"],authenticated:!0,entityOwner:!0},{permission:"hub:initiative:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:initiative:delete",dependencies:["hub:initiative"],authenticated:!0,entityDelete:!0},{permission:"hub:initiative:canChangeAccess",dependencies:["hub:initiative"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:initiative:events",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:content",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:discussions",dependencies:["hub:initiative:view"]},{permission:"hub:initiative:workspace",dependencies:["hub:feature:workspace"]},{permission:"hub:initiative:workspace:overview",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:dashboard",dependencies:["hub:initiative:workspace","hub:initiative:view"]},{permission:"hub:initiative:workspace:details",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:projects:member",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-member",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:projects:manager",dependencies:["hub:initiative:workspace:projects"],assertions:[{property:"context:currentUser",type:"is-group-admin",value:"entity:associations.groupId"}]},{permission:"hub:initiative:workspace:settings",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:collaborators",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:content",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:events",dependencies:["hub:initiative:workspace","hub:initiative:edit"],availability:["alpha"]},{permission:"hub:initiative:workspace:metrics",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalogs",dependencies:["hub:initiative:workspace","hub:feature:catalogs","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog",dependencies:["hub:initiative:workspace","hub:initiative:edit"]},{permission:"hub:initiative:workspace:catalog:content",dependencies:["hub:initiative:workspace:catalog"]},{permission:"hub:initiative:workspace:catalog:events",dependencies:["hub:initiative:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:initiative:manage",dependencies:["hub:initiative:edit"]},{permission:"hub:initiative:workspace:associationGroup:create",dependencies:["hub:initiative:workspace:projects","hub:group:create"]}];var r={"hub:project:events":!1,"hub:project:content":!0,"hub:project:discussions":!1},a=["hub:project","hub:project:create","hub:project:delete","hub:project:edit","hub:project:view","hub:project:owner","hub:project:canChangeAccess","hub:project:events","hub:project:content","hub:project:discussions","hub:project:associations","hub:project:workspace","hub:project:workspace:overview","hub:project:workspace:dashboard","hub:project:workspace:details","hub:project:workspace:initiatives","hub:project:workspace:settings","hub:project:workspace:collaborators","hub:project:workspace:content","hub:project:workspace:events","hub:project:workspace:metrics","hub:project:workspace:catalog","hub:project:workspace:catalog:content","hub:project:workspace:catalog:events","hub:project:manage"],n=[{permission:"hub:project",services:["portal"],licenses:["hub-premium"]},{permission:"hub:project:create",authenticated:!0,dependencies:["hub:project"],privileges:["portal:user:createItem"]},{permission:"hub:project:view",services:["portal"]},{permission:"hub:project:edit",services:["portal"],authenticated:!0,entityEdit:!0,licenses:["hub-premium","hub-basic"]},{permission:"hub:project:delete",dependencies:["hub:project"],authenticated:!0,entityDelete:!0},{permission:"hub:project:owner",dependencies:["hub:project"],authenticated:!0,entityOwner:!0},{permission:"hub:project:canChangeAccess",dependencies:["hub:project"],authenticated:!0,assertions:[{property:"context:currentUser.privileges",type:"contains-some",value:["portal:admin:shareToPublic","portal:admin:shareToOrg","portal:user:shareToPublic","portal:user:shareToOrg"]},{property:"entity:itemControl",type:"eq",value:"admin"}]},{permission:"hub:project:events",dependencies:["hub:project:view"],entityConfigurable:!0},{permission:"hub:project:content",dependencies:["hub:project:edit"]},{permission:"hub:project:discussions",dependencies:["hub:project:view"]},{permission:"hub:project:associations",dependencies:["hub:project:view"]},{permission:"hub:project:workspace"},{permission:"hub:project:workspace:overview",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:dashboard",dependencies:["hub:project:workspace","hub:project:view"]},{permission:"hub:project:workspace:details",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:initiatives",dependencies:["hub:project:workspace","hub:project:associations","hub:project:edit"]},{permission:"hub:project:workspace:settings",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:collaborators",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:content",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:events",dependencies:["hub:project:workspace","hub:project:edit"],availability:["alpha"],environments:["qaext"]},{permission:"hub:project:workspace:metrics",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog",dependencies:["hub:project:workspace","hub:project:edit"]},{permission:"hub:project:workspace:catalog:content",dependencies:["hub:project:workspace:catalog"]},{permission:"hub:project:workspace:catalog:events",dependencies:["hub:project:workspace:catalog","hub:event","hub:feature:catalogs:edit:advanced"]},{permission:"hub:project:manage",dependencies:["hub:project:edit"]}];export{e as a,i as b,t as c,r as d,a as e,n as f};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as d}from"./GMIFING2.js";import"./DKEAKE2K.js";import{a as T,d as C}from"./5WBJ7JHK.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./GKGR6CL5.js";import{g as L,j as E}from"./3I4OEU4B.js";import{c as l,e as r,f as c}from"./C3JZDZSB.js";import"./VHB6NDP6.js";import{a as g,b as _}from"./FNEE7DUR.js";import{b as k}from"./JI774UUM.js";import{a as x}from"./FCGJ2VZH.js";import{D as w,E as h,I as v,J as $,c as f,d as o,g as p,o as y,q as S}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var I=f`@layer{/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as d}from"./SKJFR7RS.js";import"./FO3XKEOC.js";import{a as T,d as C}from"./HTGPVMDF.js";import"./MFATTJGH.js";import"./XPJYK2RV.js";import"./RLTUCGPF.js";import"./G6HN6TFX.js";import"./AJ4EANAJ.js";import"./LFIVJEK2.js";import"./5PTXJEIG.js";import"./4BBMUYOY.js";import"./V3GT6ZDE.js";import"./OG4YXHRH.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./XKTGW3XN.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import"./I6IP3HEU.js";import{g as L,j as E}from"./A7XA3HJY.js";import{c as l,e as r,f as c}from"./QVNQSDMG.js";import"./GT7ZLIPV.js";import{a as g,b as _}from"./EY76BJOK.js";import{b as k}from"./WCZZYOTM.js";import{a as x}from"./YJVHNGLM.js";import{D as v,E as $,c as f,d as o,f as p,n as y,p as S,y as w,z as h}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var I=f`@layer{/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -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.20250610 */
4
+ import{a as G}from"./XPJYK2RV.js";import{a as L}from"./E6LAV57F.js";import{c as K,d as _,e as U}from"./GZTSZRL2.js";import{l as j,p as P}from"./AJ4EANAJ.js";import"./U7YWLWVS.js";import"./LFIVJEK2.js";import"./H2TUSR7R.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import{a as S}from"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./AE4QMTGD.js";import"./XKTGW3XN.js";import{w}from"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import{b as A}from"./YFYERRHB.js";import{a as c,b as p}from"./OGISURJ2.js";import"./SA3FJIMJ.js";function b(){return["orgId","description","id","tags","categories","timeZone","summary","notifyAttendees","allowRegistration","startDate","startTime","endDate","endTime","thumbnailUrl"].reduce((t,o)=>[...t,{entityKey:o,storeKey:o}],[{entityKey:"isAllDay",storeKey:"allDay"},{entityKey:"name",storeKey:"title"},{entityKey:"owner",storeKey:"creator.username"},{entityKey:"canEdit",storeKey:"permission.canEdit"},{entityKey:"canDelete",storeKey:"permission.canDelete"},{entityKey:"canChangeAccessOrg",storeKey:"permission.canSetAccessToOrg"},{entityKey:"canChangeAccessPrivate",storeKey:"permission.canSetAccessToPrivate"},{entityKey:"canChangeAccessPublic",storeKey:"permission.canSetAccessToPublic"},{entityKey:"canChangeStatusCancelled",storeKey:"permission.canSetStatusToCancelled"},{entityKey:"canChangeStatusRemoved",storeKey:"permission.canSetStatusToRemoved"},{entityKey:"readGroupIds",storeKey:"readGroups"},{entityKey:"editGroupIds",storeKey:"editGroups"},{entityKey:"inPersonRegistrationCount",storeKey:"registrationCount.inPerson"},{entityKey:"onlineRegistrationCount",storeKey:"registrationCount.virtual"}])}function k(){return"https://hubcdn.arcgis.com/opendata-ui/assets/ember-arcgis-opendata-components/assets/images/placeholders/event.png"}function g(e){let{token:t,authentication:o}=e;return o?o.getToken(o.portal):Promise.resolve(t)}async function v(e,t){let{url:o,method:a,data:n}=e,{mode:r,cache:i,credentials:d}=t,{headers:m,params:E}=de(e,t),s=`${le(t.hubApiUrl)}${o}?${new URLSearchParams(E)}`,T={headers:m,method:a,cache:i,credentials:d,mode:r};n&&(T.body=JSON.stringify(n));let y=await fetch(s,T),{statusText:R,status:re}=y;if(y.ok)return y.json();let ce=await y.json();throw new x(R,s,re,JSON.stringify(ce.message))}function le(e="https://hub.arcgis.com"){return e.replace(/\/$/,"")}function de(e,t){let o=new Headers(Object.assign(Object.assign({},e.headers),t.headers));t.token&&o.set("Authorization",t.token);let a=Object.assign(Object.assign({},e.params),t.params);return{headers:o,params:a}}var x=class extends Error{constructor(t,o,a,n){super(t),this.status=a,this.url=o,this.error=n}};var M;(function(e){e.createdAt="createdAt",e.updatedAt="updatedAt",e.firstName="firstName",e.lastName="lastName",e.username="username"})(M||(M={}));var H;(function(e){e.asc="asc",e.desc="desc"})(H||(H={}));var B;(function(e){e.title="title",e.startDateTime="startDateTime",e.createdAt="createdAt",e.updatedAt="updatedAt"})(B||(B={}));var V;(function(e){e.associations="associations",e.creator="creator",e.location="location",e.onlineMeeting="onlineMeeting",e.registrations="registrations"})(V||(V={}));var $;(function(e){e.csv="csv",e.json="json"})($||($={}));var Z;(function(e){e.PENDING="PENDING",e.ACCEPTED="ACCEPTED",e.DECLINED="DECLINED",e.BLOCKED="BLOCKED"})(Z||(Z={}));var F;(function(e){e.OWNER="OWNER",e.ORGANIZER="ORGANIZER",e.ATTENDEE="ATTENDEE"})(F||(F={}));var u;(function(e){e.PLANNED="PLANNED",e.CANCELED="CANCELED",e.REMOVED="REMOVED"})(u||(u={}));var q;(function(e){e.none="none",e.custom="custom",e.org="org",e.item="item"})(q||(q={}));var l;(function(e){e.VIRTUAL="VIRTUAL",e.IN_PERSON="IN_PERSON"})(l||(l={}));var W;(function(e){e.Hub_Site_Application="Hub Site Application",e.Hub_Initiative="Hub Initiative",e.Hub_Project="Hub Project"})(W||(W={}));var f;(function(e){e.PRIVATE="PRIVATE",e.ORG="ORG",e.PUBLIC="PUBLIC"})(f||(f={}));var J=(e,t)=>v({url:"/api/events/v1/events",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var z=(e,t,o)=>v({url:`/api/events/v1/events/${e}`,method:"PATCH",headers:{"Content-Type":"application/json"},data:t},o),Q=(e,t)=>v({url:`/api/events/v1/events/${e}`,method:"DELETE"},t),X=(e,t)=>v({url:"/api/events/v1/registrations",method:"POST",headers:{"Content-Type":"application/json"},data:e},t);var Y=(e,t)=>v({url:`/api/events/v1/registrations/${e}`,method:"DELETE"},t);async function ee(e){return e.token=await g(e),J(e.data,e)}async function te(e){return e.token=await g(e),z(e.eventId,e.data,e)}async function ne(e){return e.token=await g(e),Q(e.eventId,e)}function C(e){return[j(e.title),e.id].join("-").split("-").filter(Boolean).join("-")}function ae(e){var t;let o=P("event",C(e));return{self:o,siteRelative:o,siteRelativeEntityType:P("event"),workspaceRelative:L("Event",e.id),thumbnail:(t=e.thumbnailUrl)!==null&&t!==void 0?t:k()}}function ie(e){return e.location?{type:e.location.type,spatialReference:e.location.spatialReference,extent:e.location.extent,geometries:e.location.geometries,name:e.location.placeName}:{type:"none"}}async function se(e){return e.token=await g(e),X(e.data,e)}async function oe(e){return e.token=await g(e),Y(e.registrationId,e)}function I(){let e=A();return Object.assign(Object.assign({access:"private",allowRegistration:!0,attendanceType:c.InPerson,categories:[],inPersonCapacity:null,inPersonCapacityType:p.Unlimited,isAllDay:!1,isCanceled:!1,isDiscussable:!0,isPlanned:!0,isRemoved:!1,name:"",notifyAttendees:!0,onlineCapacity:null,onlineCapacityType:p.Unlimited,onlineDetails:null,onlineUrl:null,referencedContentIds:[],referencedContentIdsByType:[],schemaVersion:1,tags:[],readGroupIds:[],editGroupIds:[]},e),{view:{heroActions:[],showMap:!1},location:{type:"none"},catalogs:[]})}function N(){let{startDateTime:e,endDateTime:t}=A();return{access:f.PRIVATE,allDay:!1,allowRegistration:!0,associations:[],attendanceType:[l.IN_PERSON],categories:[],inPersonCapacity:null,editGroups:[],endDateTime:t.toISOString(),notifyAttendees:!0,readGroups:[],startDateTime:e.toISOString(),status:u.PLANNED,tags:[],title:"",location:null}}var h=class extends K{storeToEntity(t,o){var a,n,r,i,d,m,E,D;let s=U(t,o,this.mappings);s.type="Event";let T=t.access.toLowerCase();return T==="private"&&(t.readGroups.length>0||t.editGroups.length>0)?s.access="shared":s.access=T,s.isCanceled=t.status===u.CANCELED,s.isPlanned=t.status===u.PLANNED,s.isRemoved=t.status===u.REMOVED,t.attendanceType.includes(l.IN_PERSON)&&t.attendanceType.includes(l.VIRTUAL)?s.attendanceType=c.Both:t.attendanceType.includes(l.IN_PERSON)?s.attendanceType=c.InPerson:s.attendanceType=c.Online,s.onlineCapacity=(n=(a=t.onlineMeeting)===null||a===void 0?void 0:a.capacity)!==null&&n!==void 0?n:null,s.onlineCapacityType=!((r=t.onlineMeeting)===null||r===void 0)&&r.capacity?p.Fixed:p.Unlimited,s.inPersonCapacity=(i=t.inPersonCapacity)!==null&&i!==void 0?i:null,s.inPersonCapacityType=t.inPersonCapacity?p.Fixed:p.Unlimited,s.onlineDetails=(m=(d=t.onlineMeeting)===null||d===void 0?void 0:d.details)!==null&&m!==void 0?m:null,s.onlineUrl=(D=(E=t.onlineMeeting)===null||E===void 0?void 0:E.url)!==null&&D!==void 0?D:null,s.canChangeAccess=[t.permission.canSetAccessToPublic,t.permission.canSetAccessToOrg,t.permission.canSetAccessToPrivate].every(Boolean),s.canChangeStatus=[t.permission.canSetStatusToCancelled,t.permission.canSetStatusToRemoved].some(Boolean),s.referencedContentIds=t.associations.map(({entityId:y})=>y),s.referencedContentIdsByType=t.associations.map(({entityId:y,entityType:R})=>({entityId:y,entityType:R})),s.createdDate=new Date(t.createdAt),s.startDateTime=new Date(t.startDateTime),s.endDateTime=new Date(t.endDateTime),s.isPast=s.endDateTime<new Date,s.createdDateSource="createdAt",s.updatedDate=new Date(t.updatedAt),s.updatedDateSource="updatedAt",s.catalog=G(s.catalog||{}),s.links=ae(t),s.slug=C(t),s.view={showMap:!!t.location},s.location=ie(t),s}entityToStore(t,o){let a=S(t),n=_(a,o,this.mappings),r=a.access;return r==="shared"?n.access=f.PRIVATE:n.access=r.toUpperCase(),a.isRemoved?n.status=u.REMOVED:a.isCanceled?n.status=u.CANCELED:n.status=u.PLANNED,a.attendanceType===c.Both?n.attendanceType=[l.IN_PERSON,l.VIRTUAL]:a.attendanceType===c.InPerson?n.attendanceType=[l.IN_PERSON]:n.attendanceType=[l.VIRTUAL],[c.Online,c.Both].includes(a.attendanceType)&&(n.onlineMeeting={details:a.onlineDetails,capacity:a.onlineCapacityType===p.Fixed?a.onlineCapacity:null,url:a.onlineUrl}),[c.InPerson,c.Both].includes(a.attendanceType)?n.inPersonCapacity=a.inPersonCapacityType===p.Fixed?a.inPersonCapacity:null:n.inPersonCapacity=null,a.isAllDay&&(a.startTime="00:00:00",a.endTime="23:59:59"),n.location=a.location&&a.location.type!=="none"?{type:a.location.type,spatialReference:a.location.spatialReference,extent:a.location.extent,geometries:a.location.geometries,placeName:a.location.name}:null,n}};async function O(e,t,o){let a=e.filter(({entityId:r})=>t.includes(r)),n=t.filter(r=>!a.find(({entityId:i})=>i===r));if(n.length){let{results:r}=await w({q:n.map(d=>`id:${d}`).join(" OR "),num:n.length,authentication:o.authentication}),i=r.map(({id:d,type:m})=>({entityId:d,entityType:m}));a.push(...i)}return a}async function at(e,t){let o=Object.assign(Object.assign({},I()),e);o.endDate=o.startDate;let a=new h(b()),n=a.entityToStore(o,N()),r=await O(e.referencedContentIdsByType,e.referencedContentIds,t),i={access:n.access,allDay:n.allDay,allowRegistration:n.allowRegistration,associations:r,attendanceType:n.attendanceType,categories:n.categories,description:n.description,editGroups:n.editGroups,endDate:n.endDate,endTime:n.endTime,inPersonCapacity:n.inPersonCapacity,notifyAttendees:n.notifyAttendees,onlineMeeting:n.onlineMeeting,readGroups:n.readGroups,startDate:n.startDate,startTime:n.startTime,summary:n.summary,tags:n.tags,timeZone:n.timeZone,title:n.title,location:n.location};return n=await ee(Object.assign({data:i},t)),a.storeToEntity(n,{})}async function it(e,t){var o,a;let n=Object.assign(Object.assign({},I()),e),r=new h(b()),i=r.entityToStore(n,N()),d=await O(e.referencedContentIdsByType,e.referencedContentIds,t),m={access:i.access,allDay:i.allDay,allowRegistration:i.allowRegistration,associations:d,attendanceType:i.attendanceType,categories:i.categories,description:((o=i.description)===null||o===void 0?void 0:o.trim())||null,editGroups:i.editGroups,endDate:i.endDate,endTime:i.endTime,inPersonCapacity:i.inPersonCapacity,notifyAttendees:i.notifyAttendees,onlineMeeting:i.onlineMeeting,readGroups:i.readGroups,startDate:i.startDate,startTime:i.startTime,status:i.status,summary:((a=i.summary)===null||a===void 0?void 0:a.trim())||null,tags:i.tags,thumbnailUrl:i.thumbnailUrl||null,timeZone:i.timeZone,title:i.title,location:i.location};return i=await te(Object.assign({eventId:i.id,data:m},t)),r.storeToEntity(i,{})}async function st(e,t){await ne(Object.assign({eventId:e},t))}function ot(e,t){return se(Object.assign({data:e},t))}async function rt(e,t){await oe(Object.assign({registrationId:e},t))}export{at as createHubEvent,ot as createHubEventRegistration,st as deleteHubEvent,rt as deleteHubEventRegistration,it as updateHubEvent};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as r}from"./GRYSKL7I.js";import"./DKEAKE2K.js";import"./TQ2X7VMW.js";import"./4ZZY4G5L.js";import"./M6XME7OM.js";import"./YNVH5WET.js";import"./YNKDS73P.js";import"./KN36CLI6.js";import"./C3JZDZSB.js";import{a as d}from"./FCGJ2VZH.js";import{D as l,I as p,c as h,d as n,g as a}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var g=h`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as r}from"./M74AMYXF.js";import"./FO3XKEOC.js";import"./MFATTJGH.js";import"./XPJYK2RV.js";import"./RLTUCGPF.js";import"./G6HN6TFX.js";import"./AJ4EANAJ.js";import"./LFIVJEK2.js";import"./5PTXJEIG.js";import"./4BBMUYOY.js";import"./V3GT6ZDE.js";import"./OG4YXHRH.js";import"./ZRRGRRES.js";import"./JFIQPHVY.js";import"./MSN724ZV.js";import"./JA6ZHJAG.js";import"./XKTGW3XN.js";import"./3MMNPTWA.js";import"./LUWKLSCB.js";import"./GRH6L6AX.js";import"./6ZSHJ5AZ.js";import"./QVNQSDMG.js";import{a as d}from"./YJVHNGLM.js";import{D as p,c as h,d as n,f as a,y as l}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var g=h`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,4 +1,4 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import"./NUVLGW3I.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
3
+ v1.0.0-next.20250610 */
4
+ import"./SA3FJIMJ.js";var o=async(e,r,t)=>({type:"Layout",elements:[{labelKey:`${e}.fields.name.label`,scope:"/properties/name",type:"Control",options:{messages:[{type:"ERROR",keyword:"required",icon:!0,labelKey:`${e}.fields.name.requiredError`},{type:"ERROR",keyword:"maxLength",icon:!0,labelKey:`${e}.fields.name.maxLengthError`},{type:"ERROR",keyword:"format",icon:!0,labelKey:`${e}.fields.name.entityTitleValidatorError`}]}}]});export{o as buildUiSchema};
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as c}from"./FCGJ2VZH.js";import{D as n,I as o,c as s,d as i,g as r,o as l}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var d=s`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as c}from"./YJVHNGLM.js";import{D as o,c as s,d as i,f as r,n as l,y as n}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var d=s`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -1,7 +1,7 @@
1
1
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
2
2
  See https://js.arcgis.com/1.0/esri/copyright.txt for details.
3
- v1.0.0-next.20250605 */
4
- import{a as o,b as l}from"./FNEE7DUR.js";import{b as c}from"./JI774UUM.js";import{a as u}from"./FCGJ2VZH.js";import{D as r,I as h,c as n,d as i,o as s}from"./XSPGKSFV.js";import"./NUVLGW3I.js";var m=n`/** @license
3
+ v1.0.0-next.20250610 */
4
+ import{a as o,b as l}from"./EY76BJOK.js";import{b as c}from"./WCZZYOTM.js";import{a as u}from"./YJVHNGLM.js";import{D as h,c as n,d as i,n as s,y as r}from"./KXIP4DWR.js";import"./SA3FJIMJ.js";var m=n`/** @license
5
5
  * Copyright 2025 Esri
6
6
  *
7
7
  * Licensed under the Apache License, Version 2.0 (the "License");