@esri/solutions-components 1.1.0-next.20250808 → 1.1.0-next.20250811

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 (444) hide show
  1. package/dist/cdn/{NPJHYSKO.js → 25BPRYOW.js} +2 -2
  2. package/dist/cdn/{PWE3WFYX.js → 27FMVAFE.js} +2 -2
  3. package/dist/cdn/{A76BC4EF.js → 2D4J4M2J.js} +1 -1
  4. package/dist/cdn/{BMYV5AEO.js → 2DLI4Y75.js} +2 -2
  5. package/dist/cdn/{2GOU5HIK.js → 2ROXBM6C.js} +2 -2
  6. package/dist/cdn/{AQR5P57P.js → 2RZAN4J3.js} +2 -2
  7. package/dist/cdn/{MS3IFJOL.js → 2YZRRBF7.js} +2 -2
  8. package/dist/cdn/{45RT4J6W.js → 32BEPLL5.js} +2 -2
  9. package/dist/cdn/{33HMZMZA.js → 3BO2FDBN.js} +2 -2
  10. package/dist/cdn/{22WTPZXT.js → 3FBYTHDB.js} +1 -1
  11. package/dist/cdn/{P3JAAQ5L.js → 3FFRXMAG.js} +2 -2
  12. package/dist/cdn/{5H3COH45.js → 3FZJXHAQ.js} +1 -1
  13. package/dist/cdn/{I325H2EH.js → 3GPCAH34.js} +1 -1
  14. package/dist/cdn/{7UORHXRU.js → 3JIZ4OVA.js} +2 -2
  15. package/dist/cdn/{P3GWBGGX.js → 3RYCYG6M.js} +2 -2
  16. package/dist/cdn/{AE5NEHRJ.js → 3Y2HEM7T.js} +1 -1
  17. package/dist/cdn/{RSTPCTRP.js → 47GUYAPC.js} +2 -2
  18. package/dist/cdn/{TVST3VSU.js → 4B5UZHGF.js} +1 -1
  19. package/dist/cdn/{XMJ3GY6B.js → 4BSGFS3K.js} +2 -2
  20. package/dist/cdn/{2L5RDVZW.js → 4CSTDFLN.js} +2 -2
  21. package/dist/cdn/{FCYIJDDZ.js → 4FHN36IJ.js} +2 -2
  22. package/dist/cdn/4GFQFORZ.js +18 -0
  23. package/dist/cdn/{4IMOHO3P.js → 4GN7SIYX.js} +2 -2
  24. package/dist/cdn/{G53GBDBC.js → 4M6QLQL3.js} +2 -2
  25. package/dist/cdn/{VOZWKTOI.js → 4OPYQ2ZV.js} +2 -2
  26. package/dist/cdn/{TSHGNGUT.js → 4TMVLWUO.js} +2 -2
  27. package/dist/cdn/{WQRVOAAE.js → 4TZFTGP5.js} +2 -2
  28. package/dist/cdn/{OKIFYM75.js → 4WAKHUFX.js} +2 -2
  29. package/dist/cdn/{VX6N3BA2.js → 5HYO7JGY.js} +2 -2
  30. package/dist/cdn/{GHE2ECXL.js → 5KHJ2Q7T.js} +2 -2
  31. package/dist/cdn/5KN2AFRH.js +25 -0
  32. package/dist/cdn/{SMORLQMB.js → 5LBKY3ZB.js} +2 -2
  33. package/dist/cdn/{ACEZ22CN.js → 5LHOUR5X.js} +2 -2
  34. package/dist/cdn/{JNIPTN7Z.js → 5LZ4OM3G.js} +1 -1
  35. package/dist/cdn/{SOSJBYR7.js → 5MVQM3XO.js} +2 -2
  36. package/dist/cdn/{YL7442RB.js → 5NHYI3W6.js} +2 -2
  37. package/dist/cdn/{V6HZBTAM.js → 5NLTGNGB.js} +2 -2
  38. package/dist/cdn/{AJX4UOXA.js → 5UWVK7QB.js} +2 -2
  39. package/dist/cdn/{5CRH3T2P.js → 5V5IWZML.js} +2 -2
  40. package/dist/cdn/{XZXQA66P.js → 5XNY2IPV.js} +2 -2
  41. package/dist/cdn/{4ZJMKDMO.js → 5ZDDGZJ2.js} +2 -2
  42. package/dist/cdn/{VPDNYNYU.js → 62NXY2XK.js} +2 -2
  43. package/dist/cdn/{ACRTXGVC.js → 67IWZ3KD.js} +3 -3
  44. package/dist/cdn/{KJVXCJ5J.js → 6D2PTEFV.js} +2 -2
  45. package/dist/cdn/{JGXKYEBY.js → 6FFTVBS4.js} +2 -2
  46. package/dist/cdn/{K55E3GAS.js → 6GXM6APH.js} +2 -2
  47. package/dist/cdn/{5LDQ2GL2.js → 6I3NSNO2.js} +2 -2
  48. package/dist/cdn/{AO744LTN.js → 6THHSLTV.js} +2 -2
  49. package/dist/cdn/{ZNAL4DDQ.js → 7KVWVAR4.js} +2 -2
  50. package/dist/cdn/{PGAU7XC3.js → 7MFEM32P.js} +2 -2
  51. package/dist/cdn/{HABV25N7.js → 7PUAGOWX.js} +1 -1
  52. package/dist/cdn/{AAFW2UKV.js → 7QRMYMOR.js} +2 -2
  53. package/dist/cdn/{UR63X3E7.js → 7RA5VI2M.js} +2 -2
  54. package/dist/cdn/{AWKJXH26.js → 7VJLUWJW.js} +2 -2
  55. package/dist/cdn/{7OBG75DM.js → 7VKBF2FF.js} +2 -2
  56. package/dist/cdn/{PGY3MTHQ.js → 7WGHDJ4F.js} +2 -2
  57. package/dist/cdn/{RHPNDMP2.js → A3XXT3VU.js} +2 -2
  58. package/dist/cdn/{QFNACVKW.js → AB3EXVBZ.js} +2 -2
  59. package/dist/cdn/AHCZJWA5.js +4 -0
  60. package/dist/cdn/{BRK66LT6.js → ANFQG7LD.js} +1 -1
  61. package/dist/cdn/{SLMABSAX.js → AVJALFKF.js} +2 -2
  62. package/dist/cdn/{GQUQ25DY.js → B4ACCQYI.js} +2 -2
  63. package/dist/cdn/{OW5AFJWW.js → B65VFI5R.js} +2 -2
  64. package/dist/cdn/{3NX25KHK.js → BBWZXQIW.js} +2 -2
  65. package/dist/cdn/{C6IW5XPH.js → BE7WZVUC.js} +1 -1
  66. package/dist/cdn/{VNBMQTBB.js → BI64QLWY.js} +2 -2
  67. package/dist/cdn/{2EQWOG4U.js → BJ7XQIDM.js} +2 -2
  68. package/dist/cdn/{GNDIMMV2.js → BSBEZTMF.js} +2 -2
  69. package/dist/cdn/{ABKISPH2.js → BVTZQPBH.js} +2 -2
  70. package/dist/cdn/{NOIUHSNJ.js → BXW3TA6O.js} +2 -2
  71. package/dist/cdn/{HXOQFNGB.js → C4EGGW6P.js} +1 -1
  72. package/dist/cdn/{EU67ANMF.js → C52XX5ZG.js} +2 -2
  73. package/dist/cdn/{XOYSU3NN.js → CA2EPZXH.js} +2 -2
  74. package/dist/cdn/{JJFVVQME.js → CBIUUXGC.js} +2 -2
  75. package/dist/cdn/{7X3JKJVF.js → CC7GNQZN.js} +2 -2
  76. package/dist/cdn/{PR6643MF.js → CD53XWYA.js} +2 -2
  77. package/dist/cdn/{VCTV42TG.js → CGC5HVLI.js} +2 -2
  78. package/dist/cdn/{3YCH5HF6.js → CGVNTPMW.js} +2 -2
  79. package/dist/cdn/{PSMKR2NS.js → CNFZJ3VN.js} +2 -2
  80. package/dist/cdn/{RM42QQL2.js → CO6Y4JQA.js} +2 -2
  81. package/dist/cdn/{MX2RCF7L.js → CVY6NXHC.js} +2 -2
  82. package/dist/cdn/{5C7IZMYM.js → CXF62MZS.js} +2 -2
  83. package/dist/cdn/{G2NDHZIY.js → D3HBPTA4.js} +1 -1
  84. package/dist/cdn/{GAH4ZI7P.js → D4QGPQND.js} +2 -2
  85. package/dist/cdn/{OIA7VIOQ.js → D5LUMTLN.js} +1 -1
  86. package/dist/cdn/{5DU7OMGK.js → D7XRMPPD.js} +2 -2
  87. package/dist/cdn/{TZ7ZADM3.js → DDV5UYE5.js} +1 -1
  88. package/dist/cdn/{PEFG2XTS.js → DIYKBW3U.js} +2 -2
  89. package/dist/cdn/{QRQBI32B.js → DNEPWMNI.js} +2 -2
  90. package/dist/cdn/{6A5FFXGY.js → DSGRTZC7.js} +2 -2
  91. package/dist/cdn/{UY5ERYZ7.js → DSKVWLGY.js} +2 -2
  92. package/dist/cdn/{U5TJXXJ2.js → DT5LM7Y4.js} +1 -1
  93. package/dist/cdn/{3OBMAMX2.js → DUYAP33V.js} +2 -2
  94. package/dist/cdn/{LU7CTWWV.js → DWZUCJFG.js} +2 -2
  95. package/dist/cdn/{TXZPVJC3.js → EBYHWRAD.js} +2 -2
  96. package/dist/cdn/{W75WYPAF.js → ELFWTILT.js} +2 -2
  97. package/dist/cdn/{DUZSPRRF.js → ELWIFWTO.js} +1 -1
  98. package/dist/cdn/{T3JO7MJX.js → EO6UJOYB.js} +2 -2
  99. package/dist/cdn/{LW7C6AEQ.js → EPUOFHKO.js} +1 -1
  100. package/dist/cdn/{KBSLLI3Y.js → ETN3A2QC.js} +2 -2
  101. package/dist/cdn/{KIR3VHHX.js → ETSR4DTU.js} +2 -2
  102. package/dist/cdn/{STIAMNME.js → EX7VYQYO.js} +2 -2
  103. package/dist/cdn/{VOWE4FUE.js → F3NKARWH.js} +2 -2
  104. package/dist/cdn/{AFZDYZ7T.js → F527WKRH.js} +2 -2
  105. package/dist/cdn/{6FV573R5.js → FFGPVCLB.js} +2 -2
  106. package/dist/cdn/FINOANYC.js +20 -0
  107. package/dist/cdn/{UK46FFWF.js → FKJHLJPA.js} +2 -2
  108. package/dist/cdn/{4WL53LUA.js → FOEUECEM.js} +2 -2
  109. package/dist/cdn/{ZYH6DEJC.js → FQO2HG7M.js} +2 -2
  110. package/dist/cdn/{RSSBO26R.js → FRUGMWTJ.js} +2 -2
  111. package/dist/cdn/FZCKTFLA.js +4 -0
  112. package/dist/cdn/{462ZO5LH.js → G5PJOI2S.js} +2 -2
  113. package/dist/cdn/{HTU7XXVJ.js → GBVJR7G4.js} +1 -1
  114. package/dist/cdn/{DEWBDUVG.js → GDMJG5O6.js} +2 -2
  115. package/dist/cdn/{AS4W6XAM.js → GHAEWQ4U.js} +2 -2
  116. package/dist/cdn/{FOHBFDJD.js → GI4X7A5E.js} +2 -2
  117. package/dist/cdn/{LQBCAFSW.js → GLN7BTBK.js} +2 -2
  118. package/dist/cdn/{MRS3UBTT.js → GNS3QL7M.js} +1 -1
  119. package/dist/cdn/{2W5KL7LK.js → GNYR5T7P.js} +2 -2
  120. package/dist/cdn/{5HSCQ3YD.js → GPLQK6HM.js} +2 -2
  121. package/dist/cdn/GSM6TAUA.js +4 -0
  122. package/dist/cdn/{WKBFYG4Q.js → GTLD5NIN.js} +2 -2
  123. package/dist/cdn/{3T5X6TQS.js → GU74TCNP.js} +2 -2
  124. package/dist/cdn/{JOBBMOLV.js → GUAMN5PO.js} +2 -2
  125. package/dist/cdn/{QVNEJNZD.js → H36K2KKY.js} +2 -2
  126. package/dist/cdn/{KPFYEGFG.js → HANAFVAT.js} +2 -2
  127. package/dist/cdn/{JDMHXFRB.js → HH7VHJVF.js} +2 -2
  128. package/dist/cdn/{MIBEMEHR.js → HZGI4IYF.js} +2 -2
  129. package/dist/cdn/{LM4M3UUJ.js → I6YRZF2Z.js} +2 -2
  130. package/dist/cdn/{JVGQ4NFQ.js → I7LH7SU3.js} +2 -2
  131. package/dist/cdn/{TRGIVBAD.js → IFJSYBIO.js} +2 -2
  132. package/dist/cdn/{VBZITN63.js → IGWBDOPR.js} +2 -2
  133. package/dist/cdn/{VRZ5U6KO.js → IMFSUJYA.js} +2 -2
  134. package/dist/cdn/{NPEYNUYM.js → IODYGL3H.js} +2 -2
  135. package/dist/cdn/{ZC5VEUEH.js → IX46G3WW.js} +1 -1
  136. package/dist/cdn/{DHB2ACZ2.js → J7JR3RI7.js} +2 -2
  137. package/dist/cdn/{5JJMI5T4.js → JHG32IWY.js} +2 -2
  138. package/dist/cdn/{RPCHNJ5I.js → JIKGR7Y6.js} +2 -2
  139. package/dist/cdn/{EZFM4ZIN.js → JNHPEUSM.js} +1 -1
  140. package/dist/cdn/{ZHBCW2M7.js → JU5GXMWH.js} +1 -1
  141. package/dist/cdn/{SVQOIQXG.js → JV6ZKXC4.js} +3 -3
  142. package/dist/cdn/{GKCKRQWP.js → JYBX6OYZ.js} +2 -2
  143. package/dist/cdn/{54ZFB7LI.js → KCVS4LMM.js} +2 -2
  144. package/dist/cdn/KGY74VYL.js +4 -0
  145. package/dist/cdn/{ULX3XZXE.js → KJEZ63MM.js} +2 -2
  146. package/dist/cdn/{53VD6TGY.js → KLT2SHIJ.js} +2 -2
  147. package/dist/cdn/{KJWROV22.js → KO3ONQ7A.js} +2 -2
  148. package/dist/cdn/{STZUGXN3.js → KQH7RQH7.js} +2 -2
  149. package/dist/cdn/KV53YB72.js +4 -0
  150. package/dist/cdn/{4L4JZKJ6.js → KWP3A7C6.js} +2 -2
  151. package/dist/cdn/{UVLVIG72.js → KZSEXK4T.js} +2 -2
  152. package/dist/cdn/{CZVNRFM4.js → L7XDT5RE.js} +4 -4
  153. package/dist/cdn/{WXDCPXQ7.js → LB5UU74B.js} +2 -2
  154. package/dist/cdn/{O4G2XTNM.js → LEGB4PPF.js} +1 -1
  155. package/dist/cdn/{NGPTR56X.js → LG5UWDJZ.js} +2 -2
  156. package/dist/cdn/{LFS6Y6L2.js → LKQE3JX7.js} +2 -2
  157. package/dist/cdn/{C6SWDNUF.js → LLHTR24H.js} +1 -1
  158. package/dist/cdn/{KOSFP4TW.js → LQFPA4NV.js} +2 -2
  159. package/dist/cdn/{NOFJIVRF.js → LU4ZYEEQ.js} +2 -2
  160. package/dist/cdn/{SW2PKNVK.js → LWFA6HIB.js} +2 -2
  161. package/dist/cdn/{3CMD5PVX.js → LWLLBQ5N.js} +2 -2
  162. package/dist/cdn/{XZQQP3SH.js → M4O6K73H.js} +2 -2
  163. package/dist/cdn/{BFC5QXIT.js → M4PMDTEE.js} +2 -2
  164. package/dist/cdn/{HHU2QIT7.js → MDUE7TQA.js} +2 -2
  165. package/dist/cdn/{D34LMVM5.js → MILUGKNK.js} +2 -2
  166. package/dist/cdn/{TLBL4ZQ2.js → MM4EA25Z.js} +2 -2
  167. package/dist/cdn/{4NV4YSI4.js → MN2EPGVQ.js} +2 -2
  168. package/dist/cdn/{DBV7PUGF.js → MQBQ5D5G.js} +2 -2
  169. package/dist/cdn/{34O3JSKM.js → MUN27JUW.js} +2 -2
  170. package/dist/cdn/{BINBDWML.js → N4VN6R7P.js} +2 -2
  171. package/dist/cdn/{2JEEE6YX.js → N4YEVO4Y.js} +2 -2
  172. package/dist/cdn/{CE32N5MH.js → N5ILEPMJ.js} +2 -2
  173. package/dist/cdn/{O2KCUN77.js → N5T6H735.js} +2 -2
  174. package/dist/cdn/{FGAJFBW2.js → N7CCSN2V.js} +1 -1
  175. package/dist/cdn/{ODQSJCRL.js → N7XVZJMY.js} +2 -2
  176. package/dist/cdn/{FCKAD5C4.js → NAM4J36C.js} +2 -2
  177. package/dist/cdn/{LDIEDUAL.js → NBQUUMZE.js} +2 -2
  178. package/dist/cdn/{TBDSM4RN.js → NBSLCKRM.js} +1 -1
  179. package/dist/cdn/{PLG6ZCRP.js → NLW3FUGS.js} +2 -2
  180. package/dist/cdn/{GZU7CS6P.js → NUWXRXBH.js} +2 -2
  181. package/dist/cdn/{EXD4IGJY.js → NV33KYL6.js} +2 -2
  182. package/dist/cdn/{PU52KJGS.js → NWWSZQFW.js} +2 -2
  183. package/dist/cdn/{QDOQAXQ2.js → NXWK2VRW.js} +1 -1
  184. package/dist/cdn/{WQFPFLZV.js → OCARJJQL.js} +2 -2
  185. package/dist/cdn/{DE4ZQLOG.js → ODAHMIEG.js} +2 -2
  186. package/dist/cdn/{WQAXXKFO.js → OEUYYOHY.js} +2 -2
  187. package/dist/cdn/{JRLGUPV3.js → ONBSV4YT.js} +2 -2
  188. package/dist/cdn/{YSPC2R7G.js → OYY2X6G5.js} +2 -2
  189. package/dist/cdn/{FLEZREEZ.js → P5NIA3Y5.js} +2 -2
  190. package/dist/cdn/PDMQWXIW.js +4 -0
  191. package/dist/cdn/{EAF3VHRN.js → PDR2NMR5.js} +2 -2
  192. package/dist/cdn/{4PADNNBY.js → PE3SSYAD.js} +2 -2
  193. package/dist/cdn/{NAMNXPQG.js → PE4QKLMA.js} +2 -2
  194. package/dist/cdn/{VYZHM626.js → PFFJNYXP.js} +2 -2
  195. package/dist/cdn/{B347S3OX.js → PHJF3WTM.js} +2 -2
  196. package/dist/cdn/{G4ENZOQI.js → PJ4OOX6H.js} +2 -2
  197. package/dist/cdn/{7WRQT2RE.js → PJC6SXTD.js} +2 -2
  198. package/dist/cdn/{F2PZM5QK.js → PKS62HB2.js} +2 -2
  199. package/dist/cdn/{UNRNLKUZ.js → PMMQB3WH.js} +2 -2
  200. package/dist/cdn/{GU4QPSOO.js → PMUI6RJ4.js} +2 -2
  201. package/dist/cdn/{OEYMQ44L.js → PQVYRUBP.js} +2 -2
  202. package/dist/cdn/{MZB7PQ2R.js → PSUXO4NH.js} +2 -2
  203. package/dist/cdn/{OAFXVMDT.js → PVQZBQBD.js} +1 -1
  204. package/dist/cdn/PWFUVQTO.js +4 -0
  205. package/dist/cdn/{ZAUF26RB.js → PYTEXGKE.js} +2 -2
  206. package/dist/cdn/{GUCIDMNV.js → PZLYNDNS.js} +2 -2
  207. package/dist/cdn/{IVUHOF7R.js → Q2SKOFQP.js} +2 -2
  208. package/dist/cdn/{OQQ2FKHA.js → Q3TRQVCN.js} +2 -2
  209. package/dist/cdn/{MKSPCOFR.js → Q6G6KGZ3.js} +2 -2
  210. package/dist/cdn/QABYI35N.js +18 -0
  211. package/dist/cdn/{PER3FANK.js → QFZD7GCJ.js} +2 -2
  212. package/dist/cdn/{7AVB457O.js → QLWQDLYJ.js} +2 -2
  213. package/dist/cdn/{FTX66P5U.js → QSEHUKUK.js} +2 -2
  214. package/dist/cdn/{BLU2VIKU.js → QSFRU6ZE.js} +2 -2
  215. package/dist/cdn/{NIYVCETW.js → QU74S4RI.js} +2 -2
  216. package/dist/cdn/{U3VBMULC.js → QU7JNZVG.js} +2 -2
  217. package/dist/cdn/{BFH2Q5U3.js → QUWBDRBE.js} +2 -2
  218. package/dist/cdn/{47G5VVBO.js → QZMNFU3O.js} +2 -2
  219. package/dist/cdn/{TZWZBVBO.js → R2QN2NVA.js} +2 -2
  220. package/dist/cdn/{5D2QODTY.js → R6NWJH2T.js} +1 -1
  221. package/dist/cdn/{DJB74632.js → RECU3VB6.js} +2 -2
  222. package/dist/cdn/{FSGAUODS.js → RLYWJIWS.js} +2 -2
  223. package/dist/cdn/{WGDVAD44.js → RQHAO57B.js} +1 -1
  224. package/dist/cdn/{X6TYRAA2.js → RRQM3WWS.js} +2 -2
  225. package/dist/cdn/{INDLPX7C.js → RSOVP27Q.js} +2 -2
  226. package/dist/cdn/{6B737EGY.js → S3GATO3B.js} +2 -2
  227. package/dist/cdn/{5JJT4ZZO.js → S5LJNAVJ.js} +2 -2
  228. package/dist/cdn/{PRZC7XFU.js → S7LILHZ6.js} +2 -2
  229. package/dist/cdn/{5QHABXLW.js → SD2CLQWR.js} +1 -1
  230. package/dist/cdn/{MNGHV4D2.js → SDEYHR34.js} +2 -2
  231. package/dist/cdn/{GRBLHBF2.js → SEE5QR2R.js} +2 -2
  232. package/dist/cdn/{RVMICDG4.js → SGXSUJVY.js} +2 -2
  233. package/dist/cdn/{WZEM4BXK.js → SL2Z2VTM.js} +2 -2
  234. package/dist/cdn/{LFVZUXMO.js → TAHX7L7N.js} +1 -1
  235. package/dist/cdn/{NS7H6YMZ.js → TGLYOQNV.js} +2 -2
  236. package/dist/cdn/{VHYFDDVW.js → TGXRWCA5.js} +2 -2
  237. package/dist/cdn/{WEUSJWAE.js → TJI4XQVF.js} +2 -2
  238. package/dist/cdn/{3JXZX54X.js → TT3JSL5E.js} +2 -2
  239. package/dist/cdn/{U2XK5RP7.js → TZD5MGUT.js} +1 -1
  240. package/dist/cdn/{5YGCWUNA.js → U37LWH4D.js} +2 -2
  241. package/dist/cdn/{JXSWQOVW.js → U7HGDUHD.js} +17 -17
  242. package/dist/cdn/UB6QDVHQ.js +4 -0
  243. package/dist/cdn/{OYMWRNRK.js → UBBCUI4G.js} +2 -2
  244. package/dist/cdn/{MWNKF7WJ.js → UBITOVMY.js} +2 -2
  245. package/dist/cdn/{P5Z3VY3T.js → UBSSSD4F.js} +2 -2
  246. package/dist/cdn/{OZ3UWVCA.js → UFH2ESKV.js} +1 -1
  247. package/dist/cdn/{7B2HCARZ.js → UG2VB4I7.js} +2 -2
  248. package/dist/cdn/{2CLV46ND.js → UHVWYTHM.js} +2 -2
  249. package/dist/cdn/UITXXEST.js +4 -0
  250. package/dist/cdn/{45QWR7XP.js → ULGNQG43.js} +2 -2
  251. package/dist/cdn/{IVO43U7Q.js → UM332TFA.js} +2 -2
  252. package/dist/cdn/{7BFI7TBI.js → UQVY46LL.js} +2 -2
  253. package/dist/cdn/{T35I7QYT.js → UTMGYYPC.js} +2 -2
  254. package/dist/cdn/{WMBQMXJM.js → V67M3XNW.js} +2 -2
  255. package/dist/cdn/{T23GUATM.js → VAQT7ARN.js} +2 -2
  256. package/dist/cdn/{5TW3VD4R.js → VDKRDZJM.js} +2 -2
  257. package/dist/cdn/{PM2FJP2T.js → VDRZPPZC.js} +2 -2
  258. package/dist/cdn/{IHRUCQ2W.js → VEFFB5HW.js} +1 -1
  259. package/dist/cdn/{7PHORZWE.js → VSTHZ6AJ.js} +2 -2
  260. package/dist/cdn/{QCMQKKPY.js → VWFYEGZK.js} +2 -2
  261. package/dist/cdn/{GXOZZUNW.js → VXHKEQOL.js} +2 -2
  262. package/dist/cdn/{MTCRAQAJ.js → VXNYWTA2.js} +2 -2
  263. package/dist/cdn/{SXBM6EZP.js → VYQNTISJ.js} +2 -2
  264. package/dist/cdn/{R4TRXB34.js → VZTVT7W4.js} +2 -2
  265. package/dist/cdn/W3IPZTUY.js +6 -0
  266. package/dist/cdn/{5BILF3PR.js → WCAMEDNK.js} +2 -2
  267. package/dist/cdn/{JZPLLKMA.js → WL2QS77G.js} +2 -2
  268. package/dist/cdn/{DMGXDHPW.js → WN7I3CLH.js} +2 -2
  269. package/dist/cdn/{ODROTWXF.js → WOWM46JN.js} +2 -2
  270. package/dist/cdn/{NJMY3FC3.js → WT27D7OF.js} +2 -2
  271. package/dist/cdn/{SHMGFOGS.js → WUDMEAHZ.js} +2 -2
  272. package/dist/cdn/{XORPA3LU.js → WVCE4HNT.js} +2 -2
  273. package/dist/cdn/{SLOADIPP.js → WYVS67DX.js} +2 -2
  274. package/dist/cdn/{7WAVZXMQ.js → XETIOQJS.js} +2 -2
  275. package/dist/cdn/{UVONSEDL.js → XGCJQZRI.js} +2 -2
  276. package/dist/cdn/{T5Z3DCYK.js → XKB4YYB6.js} +1 -1
  277. package/dist/cdn/{IA23IYVY.js → XKWWXYCP.js} +2 -2
  278. package/dist/cdn/{RZ5TXPRK.js → YAGUTU2N.js} +2 -2
  279. package/dist/cdn/{XI4BRTEG.js → YGDH5YVZ.js} +2 -2
  280. package/dist/cdn/{TEHO6PBT.js → YJY766UU.js} +2 -2
  281. package/dist/cdn/{QC5KFLH3.js → YKW4FGXP.js} +2 -2
  282. package/dist/cdn/{TWRDYP6L.js → YNLF6CBA.js} +2 -2
  283. package/dist/cdn/{CUQH3TNF.js → YSF3U2S4.js} +2 -2
  284. package/dist/cdn/{ESRTCMBM.js → YZWFSEWM.js} +2 -2
  285. package/dist/cdn/{KRJ2L3K4.js → Z2TQAG2W.js} +2 -2
  286. package/dist/cdn/{IDZM6JQ2.js → Z46YZXN7.js} +2 -2
  287. package/dist/cdn/{GP2IIA76.js → Z76A5P6D.js} +2 -2
  288. package/dist/cdn/{IH5UPO4W.js → ZBIVULLU.js} +2 -2
  289. package/dist/cdn/{3X5F76DP.js → ZDR25IQ2.js} +2 -2
  290. package/dist/cdn/{S7G6BX5M.js → ZHO4ZAWI.js} +2 -2
  291. package/dist/cdn/{OMBAX252.js → ZOSUIDTX.js} +2 -2
  292. package/dist/cdn/{6QQLYL4K.js → ZPQHWXVT.js} +2 -2
  293. package/dist/cdn/{5NEGXFEY.js → ZQ6TRYQI.js} +1 -1
  294. package/dist/cdn/{TG27VP3D.js → ZQCQVKSK.js} +2 -2
  295. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ar.json +1 -1
  296. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bg.json +1 -1
  297. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.bs.json +1 -1
  298. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ca.json +1 -1
  299. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.cs.json +1 -1
  300. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.da.json +1 -1
  301. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.de.json +1 -1
  302. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.el.json +1 -1
  303. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.es.json +1 -1
  304. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.et.json +1 -1
  305. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fi.json +1 -1
  306. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.fr.json +1 -1
  307. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.he.json +1 -1
  308. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hr.json +1 -1
  309. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.hu.json +1 -1
  310. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.id.json +1 -1
  311. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.it.json +1 -1
  312. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ja.json +1 -1
  313. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ko.json +1 -1
  314. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lt.json +1 -1
  315. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.lv.json +1 -1
  316. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.nl.json +1 -1
  317. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.no.json +1 -1
  318. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pl.json +1 -1
  319. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-BR.json +1 -1
  320. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.pt-PT.json +1 -1
  321. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ro.json +1 -1
  322. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.ru.json +1 -1
  323. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sk.json +1 -1
  324. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sl.json +1 -1
  325. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sr.json +1 -1
  326. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.sv.json +1 -1
  327. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.th.json +1 -1
  328. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.tr.json +1 -1
  329. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.uk.json +1 -1
  330. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.vi.json +1 -1
  331. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-CN.json +1 -1
  332. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-HK.json +1 -1
  333. package/dist/cdn/assets/solution-configure-dialog/t9n/messages.zh-TW.json +1 -1
  334. package/dist/cdn/index.js +2 -2
  335. package/dist/chunks/Auth.js +1 -1
  336. package/dist/chunks/appConfig.js +1 -1
  337. package/dist/chunks/cardFetchingUtils.js +1 -1
  338. package/dist/chunks/common.js +1 -1
  339. package/dist/chunks/deployAppContexts.js +1 -1
  340. package/dist/chunks/downloadUtils.js +1 -1
  341. package/dist/chunks/helpers.js +1 -1
  342. package/dist/chunks/index.js +1 -1
  343. package/dist/chunks/interfaces.js +1 -1
  344. package/dist/chunks/loadModules.js +1 -1
  345. package/dist/chunks/mapViewUtils.js +1 -1
  346. package/dist/chunks/pciUtils.js +1 -1
  347. package/dist/chunks/popupUtils.js +1 -1
  348. package/dist/chunks/prepareDataForSolutionDisplay.js +1 -1
  349. package/dist/chunks/privilegeUtils.js +1 -1
  350. package/dist/chunks/publicNotificationStore.js +1 -1
  351. package/dist/chunks/queryUtils.js +1 -1
  352. package/dist/chunks/runtime.js +1 -1
  353. package/dist/chunks/solution-store.js +1 -1
  354. package/dist/chunks/templates.js +1 -1
  355. package/dist/chunks/useT9n.js +1 -1
  356. package/dist/components/arcgis-solutions-assistant/customElement.js +1 -1
  357. package/dist/components/basemap-gallery/customElement.js +1 -1
  358. package/dist/components/buffer-tools/customElement.js +1 -1
  359. package/dist/components/card-manager/customElement.js +1 -1
  360. package/dist/components/consent-manager/customElement.js +1129 -1128
  361. package/dist/components/create-feature/customElement.js +1 -1
  362. package/dist/components/create-related-feature/customElement.js +1 -1
  363. package/dist/components/crowdsource-manager/customElement.js +1 -1
  364. package/dist/components/crowdsource-reporter/customElement.js +1 -2
  365. package/dist/components/deduct-calculator/customElement.js +1 -1
  366. package/dist/components/delete-button/customElement.js +1 -1
  367. package/dist/components/delete-dialog/customElement.js +1 -1
  368. package/dist/components/edit-card/customElement.js +1 -1
  369. package/dist/components/feature-details/customElement.js +1 -1
  370. package/dist/components/feature-list/customElement.js +1 -1
  371. package/dist/components/field-selection/customElement.js +1 -1
  372. package/dist/components/floor-filter/customElement.js +1 -1
  373. package/dist/components/info-card/customElement.js +1 -1
  374. package/dist/components/json-editor/customElement.js +1 -1
  375. package/dist/components/layer-list/customElement.js +1 -1
  376. package/dist/components/layer-table/customElement.js +1 -1
  377. package/dist/components/map-card/customElement.js +1 -1
  378. package/dist/components/map-draw-tools/customElement.js +1 -1
  379. package/dist/components/map-fullscreen/customElement.js +1 -1
  380. package/dist/components/map-layer-picker/customElement.js +1 -1
  381. package/dist/components/map-legend/customElement.js +1 -1
  382. package/dist/components/map-picker/customElement.js +1 -1
  383. package/dist/components/map-search/customElement.js +1 -1
  384. package/dist/components/map-select-tools/customElement.js +1 -1
  385. package/dist/components/map-tools/customElement.js +1 -1
  386. package/dist/components/pci-calculator/customElement.js +1 -1
  387. package/dist/components/pdf-download/customElement.js +1 -1
  388. package/dist/components/public-notification/customElement.js +1 -1
  389. package/dist/components/refine-selection/customElement.js +1 -1
  390. package/dist/components/selection-tool/customElement.js +1 -1
  391. package/dist/components/solution-article-card/customElement.js +1 -1
  392. package/dist/components/solution-configuration/customElement.js +10 -10
  393. package/dist/components/solution-configure-dialog/customElement.js +1 -1
  394. package/dist/components/solution-configure-titles/customElement.js +1 -1
  395. package/dist/components/solution-contents/customElement.js +1 -1
  396. package/dist/components/solution-delete-dialog/customElement.js +1 -1
  397. package/dist/components/solution-deploy-dialog/customElement.js +1 -1
  398. package/dist/components/solution-deployed-card/customElement.js +1 -1
  399. package/dist/components/solution-deploying-dialog/customElement.js +1 -1
  400. package/dist/components/solution-details-card/customElement.js +1 -1
  401. package/dist/components/solution-details-panel/customElement.js +1 -1
  402. package/dist/components/solution-item/customElement.js +17 -17
  403. package/dist/components/solution-item-accordion/customElement.js +1 -1
  404. package/dist/components/solution-item-details/customElement.js +1 -1
  405. package/dist/components/solution-item-diagram/customElement.js +1 -1
  406. package/dist/components/solution-item-icon/customElement.js +1 -1
  407. package/dist/components/solution-item-sharing/customElement.js +1 -1
  408. package/dist/components/solution-organization-variables/customElement.js +1 -1
  409. package/dist/components/solution-resource-item/customElement.js +1 -1
  410. package/dist/components/solution-snapshot-gallery/customElement.js +1 -1
  411. package/dist/components/solution-social-share/customElement.js +1 -1
  412. package/dist/components/solution-spatial-ref/customElement.js +1 -1
  413. package/dist/components/solution-template-data/customElement.js +1 -1
  414. package/dist/components/solution-variables/customElement.js +1 -1
  415. package/dist/components/solutions-all-panel/customElement.js +1 -1
  416. package/dist/components/solutions-all-shell/customElement.js +1 -1
  417. package/dist/components/solutions-article-panel/customElement.js +1 -1
  418. package/dist/components/solutions-articles/customElement.js +1 -1
  419. package/dist/components/solutions-articles-shell/customElement.js +1 -1
  420. package/dist/components/solutions-deployed-panel/customElement.js +14 -14
  421. package/dist/components/solutions-deployed-shell/customElement.js +1 -1
  422. package/dist/components/solutions-filter-panel/customElement.js +1 -1
  423. package/dist/components/spatial-ref/customElement.js +1 -1
  424. package/dist/components/store-manager/customElement.js +1 -1
  425. package/dist/docs/api.json +2 -2
  426. package/dist/docs/docs.json +2 -2
  427. package/dist/docs/web-types.json +1 -1
  428. package/dist/index.js +1 -1
  429. package/dist/loader.js +1 -1
  430. package/package.json +2 -2
  431. package/dist/cdn/3FPOGXIB.js +0 -4
  432. package/dist/cdn/5NI3FFHS.js +0 -4
  433. package/dist/cdn/7LZPJOU7.js +0 -25
  434. package/dist/cdn/CNFCP73P.js +0 -4
  435. package/dist/cdn/DD7EJ4ZW.js +0 -18
  436. package/dist/cdn/GMZVBYEW.js +0 -4
  437. package/dist/cdn/K3C5AHY2.js +0 -4
  438. package/dist/cdn/LYXAM2X5.js +0 -18
  439. package/dist/cdn/NY4636UE.js +0 -4
  440. package/dist/cdn/QTHWC2ZJ.js +0 -4
  441. package/dist/cdn/SHBMYV5S.js +0 -6
  442. package/dist/cdn/U57WJLGP.js +0 -4
  443. package/dist/cdn/V5AFQGVT.js +0 -4
  444. package/dist/cdn/VZOMSRAD.js +0 -20
@@ -1,24 +1,24 @@
1
- import { c as Ci } from "../../chunks/runtime.js";
2
- import { u as Mi } from "../../chunks/useT9n.js";
3
- import { LitElement as Di, createEvent as _i } from "@arcgis/lumina";
4
- import { css as $i } from "lit";
1
+ import { c as Ui } from "../../chunks/runtime.js";
2
+ import { u as Li } from "../../chunks/useT9n.js";
3
+ import { LitElement as zi, createEvent as Wi } from "@arcgis/lumina";
4
+ import { css as Vi } from "lit";
5
5
  /*! All material copyright Esri, All Rights Reserved, unless otherwise specified.
6
6
  See https://js.arcgis.com/1.1/esri/copyright.txt for details.
7
- v1.1.0-next.20250808 */
8
- function Ui(e = {}) {
7
+ v1.1.0-next.20250811 */
8
+ function Gi(e = {}) {
9
9
  const { disabled: t, portal: r } = e;
10
- return t || r?.eueiEnabled === !1 ? !0 : !(!r || Li(r) || zi(r) || Wi(r));
10
+ return t || r?.eueiEnabled === !1 ? !0 : !(!r || Hi(r) || Fi(r) || Ki(r));
11
11
  }
12
- function Li(e) {
12
+ function Hi(e) {
13
13
  return e.eueiEnabled && e.user && e.user.orgId === e.id;
14
14
  }
15
- function zi(e) {
15
+ function Fi(e) {
16
16
  return e.user && !e.user.orgId && e.ipCntryCode === "US";
17
17
  }
18
- function Wi(e) {
18
+ function Ki(e) {
19
19
  return !e.user && e.ipCntryCode === "US";
20
20
  }
21
- const De = {
21
+ const Le = {
22
22
  storage: {},
23
23
  memory: !0,
24
24
  get(e) {
@@ -52,25 +52,25 @@ const De = {
52
52
  this.memory || (console.error("setting local storage failed, falling back to in-memory storage"), this.memory = !0), delete this.storage[e];
53
53
  }
54
54
  }
55
- }, xn = "esri-telemetry";
56
- function Vi(e) {
55
+ }, Mn = "esri-telemetry";
56
+ function qi(e) {
57
57
  return new Promise((r, n) => {
58
- e.onload = r, e.onerror = n, (!Fi(e) || e.body) && r();
58
+ e.onload = r, e.onerror = n, (!Yi(e) || e.body) && r();
59
59
  });
60
60
  }
61
- function Gi(e) {
61
+ function Bi(e) {
62
62
  const { id: t, dataAttribute: r } = e;
63
- return !!document.getElementById(t) || !!document.querySelector(`[data-${xn}="${r}"]`);
63
+ return !!document.getElementById(t) || !!document.querySelector(`[data-${Mn}="${r}"]`);
64
64
  }
65
- function Fi(e) {
65
+ function Yi(e) {
66
66
  const { body: t, src: r, id: n, dataAttribute: i, section: a = "body", type: s = "text/javascript", async: o = !1, defer: u = !1, onload: l, onerror: c } = e;
67
67
  if (typeof window > "u")
68
- throw new Rn("Window is undefined: Cannot add script element.");
69
- if (Gi(e)) {
68
+ throw new Dn("Window is undefined: Cannot add script element.");
69
+ if (Bi(e)) {
70
70
  console.log(`script (${n || i}) is already present, skipping`);
71
71
  return;
72
72
  }
73
- const m = Hi({
73
+ const m = Ji({
74
74
  id: n,
75
75
  dataAttribute: i,
76
76
  type: s,
@@ -83,13 +83,13 @@ function Fi(e) {
83
83
  });
84
84
  return a === "body" ? document.body.appendChild(m) : document.head.appendChild(m);
85
85
  }
86
- class Rn extends Error {
86
+ class Dn extends Error {
87
87
  }
88
- function Hi({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: u }) {
88
+ function Ji({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: u }) {
89
89
  const l = document.createElement("script");
90
- return e && (l.id = e), t && l.setAttribute(`data-${xn}`, t), s && (l.src = s), a && (l.innerText = a), l.type = r, l.async = n, l.defer = i, o && (l.onload = o), u && (l.onerror = u), l;
90
+ return e && (l.id = e), t && l.setAttribute(`data-${Mn}`, t), s && (l.src = s), a && (l.innerText = a), l.type = r, l.async = n, l.defer = i, o && (l.onload = o), u && (l.onerror = u), l;
91
91
  }
92
- function Ki(e) {
92
+ function Xi(e) {
93
93
  return e.map((t) => {
94
94
  const r = [];
95
95
  return ["src", "id", "dataAttribute", "type"].forEach((n) => {
@@ -100,7 +100,7 @@ function Ki(e) {
100
100
  }), `<script ${r.join(" ")}>${t.body ? t.body : ""}<\/script>`;
101
101
  }).join("");
102
102
  }
103
- const qi = [
103
+ const Qi = [
104
104
  "esri.com",
105
105
  "esriuk.com",
106
106
  "esri.de",
@@ -123,10 +123,10 @@ const qi = [
123
123
  "esriitalia.it",
124
124
  "esri.pl"
125
125
  ];
126
- class Bi {
126
+ class Zi {
127
127
  constructor(t) {
128
128
  var r, n, i;
129
- this.trackers = [], this.options = t, this.debug = t.debug, this.suppressDisabledWarnings = t.suppressDisabledWarnings, this.disabled = Ui(t), this.logger = t.logger || console, this.disabled && !this.suppressDisabledWarnings && this.logger.info("Telemetry Disabled");
129
+ this.trackers = [], this.options = t, this.debug = t.debug, this.suppressDisabledWarnings = t.suppressDisabledWarnings, this.disabled = Gi(t), this.logger = t.logger || console, this.disabled && !this.suppressDisabledWarnings && this.logger.info("Telemetry Disabled");
130
130
  const a = ((r = t.portal) === null || r === void 0 ? void 0 : r.user) || t.user;
131
131
  a && this.setUser(a, (i = (n = t.portal) === null || n === void 0 ? void 0 : n.subscriptionInfo) === null || i === void 0 ? void 0 : i.type), this.disabled || this.initializeTrackers();
132
132
  }
@@ -145,7 +145,7 @@ class Bi {
145
145
  let n;
146
146
  if (t.email && t.email.split) {
147
147
  const i = t.email.split("@")[1];
148
- n = qi.filter((a) => i === a).length > 0;
148
+ n = Qi.filter((a) => i === a).length > 0;
149
149
  }
150
150
  (n || ["In House", "Demo and Marketing"].indexOf(r) > -1) && (this.user.internalUser = !0);
151
151
  }
@@ -198,7 +198,7 @@ class Bi {
198
198
  this.logWorkflow(n);
199
199
  }
200
200
  getWorkflow(t) {
201
- const r = De.get(`TELEMETRY-WORKFLOW:${t}`);
201
+ const r = Le.get(`TELEMETRY-WORKFLOW:${t}`);
202
202
  if (r) {
203
203
  const n = Date.now() - r.start, i = 1800 * 1e3;
204
204
  if (n < i)
@@ -207,10 +207,10 @@ class Bi {
207
207
  }
208
208
  }
209
209
  saveWorkflow(t) {
210
- De.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
210
+ Le.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
211
211
  }
212
212
  deleteWorkflow(t) {
213
- De.delete(`TELEMETRY-WORKFLOW:${t.name}`);
213
+ Le.delete(`TELEMETRY-WORKFLOW:${t.name}`);
214
214
  }
215
215
  logWorkflow(t = {}) {
216
216
  t = this.preProcess(t);
@@ -235,7 +235,7 @@ class Bi {
235
235
  userSince: this.user.created,
236
236
  internalUser: this.user.internalUser || !1,
237
237
  accountType: this.user.accountType
238
- }), Object.entries(Object.assign(Object.assign({}, t), n)).reduce(Yi(r.omitComplexData, this.logger), {});
238
+ }), Object.entries(Object.assign(Object.assign({}, t), n)).reduce(ea(r.omitComplexData, this.logger), {});
239
239
  }
240
240
  disableTracker(t) {
241
241
  var r;
@@ -248,15 +248,15 @@ class Bi {
248
248
  n && !n.hasError && (n.disabled = !1, (r = n.enable) === null || r === void 0 || r.call(n));
249
249
  }
250
250
  }
251
- function Yi(e, t) {
251
+ function ea(e, t) {
252
252
  return function(r, [n, i]) {
253
- return Ji(i) ? r[n] = i : e || (t.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`), r[n] = i), r;
253
+ return ta(i) ? r[n] = i : e || (t.warn(`You are trying to log a non-primitive value, ${n}:${JSON.stringify(i)}. This will get logged as [object Object]`), r[n] = i), r;
254
254
  };
255
255
  }
256
- function Ji(e) {
256
+ function ta(e) {
257
257
  return ["string", "number", "boolean", "undefined"].includes(typeof e) || e && typeof e.valueOf() == "string";
258
258
  }
259
- function ur(e, t) {
259
+ function dr(e, t) {
260
260
  var r = {};
261
261
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
262
262
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -264,7 +264,7 @@ function ur(e, t) {
264
264
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
265
265
  return r;
266
266
  }
267
- class Xi {
267
+ class ra {
268
268
  constructor(t) {
269
269
  var r;
270
270
  if (this.name = "googleAnalytics", this.dimensions = {}, this.metrics = {}, typeof window < "u" && !(!((r = t?.measurementIds) === null || r === void 0) && r.length))
@@ -281,12 +281,12 @@ class Xi {
281
281
  ];
282
282
  }
283
283
  getScriptTags() {
284
- return Ki(this._getScripts());
284
+ return Xi(this._getScripts());
285
285
  }
286
286
  async init() {
287
287
  if (typeof window > "u")
288
- throw new Rn("Window is undefined: Cannot add script element.");
289
- await Promise.all(this._getScripts().map((t) => Vi(t))), this.injectConfig();
288
+ throw new Dn("Window is undefined: Cannot add script element.");
289
+ await Promise.all(this._getScripts().map((t) => qi(t))), this.injectConfig();
290
290
  }
291
291
  // we log page views manually, even though ga4 can do so automatically for pages now
292
292
  logPageView(t, r = {}) {
@@ -294,7 +294,7 @@ class Xi {
294
294
  return window.gtag("event", "page_view", i), !0;
295
295
  }
296
296
  logEvent(t) {
297
- let { action: r } = t, n = ur(t, ["action"]);
297
+ let { action: r } = t, n = dr(t, ["action"]);
298
298
  const i = r || "other", a = this.buildCustomParams(n);
299
299
  return window.gtag("event", i, a), !0;
300
300
  }
@@ -356,10 +356,10 @@ class Xi {
356
356
  }).filter((r) => r).reduce((r, { key: n, value: i }) => (r[n] = i, r), {});
357
357
  }
358
358
  }
359
- const Er = "TELEMETRY_COGNITO_CREDENTIALS";
360
- function Qi(e, t = {}) {
359
+ const Tr = "TELEMETRY_COGNITO_CREDENTIALS";
360
+ function na(e, t = {}) {
361
361
  const n = `https://cognito-identity${t.fips === !0 ? "-fips" : ""}.us-east-1.amazonaws.com/`;
362
- let i = De.get(Er);
362
+ let i = Le.get(Tr);
363
363
  if (i && Date.now() / 1e3 < i.Expiration)
364
364
  return Promise.resolve(i);
365
365
  const a = {
@@ -388,39 +388,39 @@ function Qi(e, t = {}) {
388
388
  if (!s.ok)
389
389
  throw new Error(s.statusText);
390
390
  return s.json();
391
- }).then(({ Credentials: s }) => (De.set(Er, s), s));
391
+ }).then(({ Credentials: s }) => (Le.set(Tr, s), s));
392
392
  }
393
- function kn({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
393
+ function $n({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
394
394
  return Object.keys(e).filter((n) => !r.includes(n)).map((n) => t[n] ? {
395
- key: ea(t, n),
395
+ key: aa(t, n),
396
396
  value: e[n]
397
397
  } : {
398
398
  key: n,
399
- value: Zi(e, n)
399
+ value: ia(e, n)
400
400
  }).reduce((n, { key: i, value: a }) => (n[i] = a, n), {});
401
401
  }
402
- function Zi(e, t) {
402
+ function ia(e, t) {
403
403
  return t === "json" ? e[t] ? JSON.stringify(e[t]) : "null" : e[t] === void 0 ? "null" : e[t].toString();
404
404
  }
405
- function ea(e, t) {
405
+ function aa(e, t) {
406
406
  return `dimension${e[t]}`;
407
407
  }
408
- const ta = ["size", "duration", "position", "number", "count"];
409
- function Cn(e, t = {}) {
410
- return Object.keys(e).filter((r) => t[r] || ta.includes(r)).map((r) => t[r] ? {
411
- key: ra(t, r),
408
+ const sa = ["size", "duration", "position", "number", "count"];
409
+ function _n(e, t = {}) {
410
+ return Object.keys(e).filter((r) => t[r] || sa.includes(r)).map((r) => t[r] ? {
411
+ key: oa(t, r),
412
412
  value: e[r]
413
413
  } : {
414
414
  key: r,
415
415
  value: e[r]
416
416
  }).reduce((r, { key: n, value: i }) => (r[n] = i, r), {});
417
417
  }
418
- function ra(e, t) {
418
+ function oa(e, t) {
419
419
  return `metric${e[t]}`;
420
420
  }
421
- function na({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
421
+ function ua({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
422
422
  var n, i;
423
- const { pathname: a, eventType: s = "other" } = e, o = Cn(e, r), u = kn({
423
+ const { pathname: a, eventType: s = "other" } = e, o = _n(e, r), u = $n({
424
424
  telemetryData: Object.assign({ eventType: s }, e),
425
425
  dimensionLookup: t,
426
426
  excludeKeys: [
@@ -432,8 +432,8 @@ function na({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
432
432
  }), l = Object.assign(Object.assign({ name: s }, u), o);
433
433
  return typeof document < "u" && document.referrer && (l.referrer = document.referrer), typeof window < "u" && !l.hostname && (l.hostname = (n = window.location) === null || n === void 0 ? void 0 : n.hostname), l.path = typeof window < "u" && window.location.pathname ? (i = window.location) === null || i === void 0 ? void 0 : i.pathname : a, l;
434
434
  }
435
- function ia({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n = {}, metricLookup: i = {} }) {
436
- const a = Cn(r, i), s = kn({
435
+ function ca({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n = {}, metricLookup: i = {} }) {
436
+ const a = _n(r, i), s = $n({
437
437
  telemetryData: r,
438
438
  dimensionLookup: n,
439
439
  excludeKeys: [
@@ -453,106 +453,106 @@ function ia({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n
453
453
  previousPageName: t.pageName
454
454
  }, s), a);
455
455
  }
456
- function Ar(e, t, r, n, i) {
456
+ function jr(e, t, r, n, i) {
457
457
  for (t = t.split ? t.split(".") : t, n = 0; n < t.length; n++) e = e ? e[t[n]] : i;
458
458
  return e === i ? r : e;
459
459
  }
460
- var Be = "undefined", Or = "object", aa = function() {
461
- }, Ir = "__", tt = typeof process < "u" ? process : {};
462
- tt.env && tt.env.NODE_ENV;
463
- var He = typeof document < "u";
464
- tt.versions != null && tt.versions.node != null;
465
- typeof Deno < "u" && Deno.core;
466
- He && window.name === "nodejs" || typeof navigator < "u" && navigator.userAgent !== void 0 && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
467
- function Mn(e, t) {
460
+ var la = "function", fa = "string", ae = "undefined", da = "boolean", Wt = "object", pa = "array", ga = "number", ha = "symbol", ma = "null", va = function() {
461
+ }, Nr = "__", ya = "form", ba = "input", wa = "button", Sa = "select", rt = typeof process !== ae ? process : {};
462
+ rt.env && rt.env.NODE_ENV;
463
+ var Ke = typeof document !== ae;
464
+ rt.versions != null && rt.versions.node != null;
465
+ typeof Deno !== ae && Deno.core;
466
+ Ke && window.name === "nodejs" || typeof navigator !== ae && typeof navigator.userAgent !== ae && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
467
+ function Un(e, t) {
468
468
  return t.charAt(0)[e]() + t.slice(1);
469
469
  }
470
- var sa = Mn.bind(null, "toUpperCase"), oa = Mn.bind(null, "toLowerCase");
471
- function ua(e) {
472
- return Dn(e) ? sa("null") : typeof e == "object" ? fa(e) : Object.prototype.toString.call(e).slice(8, -1);
470
+ var Ea = Un.bind(null, "toUpperCase"), Aa = Un.bind(null, "toLowerCase");
471
+ function Oa(e) {
472
+ return Ln(e) ? Ea(ma) : typeof e === Wt ? Ta(e) : Object.prototype.toString.call(e).slice(8, -1);
473
473
  }
474
- function rt(e, t) {
474
+ function nt(e, t) {
475
475
  t === void 0 && (t = !0);
476
- var r = ua(e);
477
- return t ? oa(r) : r;
476
+ var r = Oa(e);
477
+ return t ? Aa(r) : r;
478
478
  }
479
- function Ke(e, t) {
479
+ function qe(e, t) {
480
480
  return typeof t === e;
481
481
  }
482
- var Ut = Ke.bind(null, "function"), Lt = Ke.bind(null, "string");
483
- Ke.bind(null, "undefined");
484
- Ke.bind(null, "boolean");
485
- Ke.bind(null, "symbol");
486
- function Dn(e) {
482
+ var Vt = qe.bind(null, la), Gt = qe.bind(null, fa);
483
+ qe.bind(null, ae);
484
+ qe.bind(null, da);
485
+ qe.bind(null, ha);
486
+ function Ln(e) {
487
487
  return e === null;
488
488
  }
489
- function ca(e) {
490
- return rt(e) === "number" && !isNaN(e);
489
+ function Ia(e) {
490
+ return nt(e) === ga && !isNaN(e);
491
491
  }
492
- function la(e) {
493
- return rt(e) === "array";
492
+ function Pa(e) {
493
+ return nt(e) === pa;
494
494
  }
495
- function fa(e) {
496
- return Ut(e.constructor) ? e.constructor.name : null;
495
+ function Ta(e) {
496
+ return Vt(e.constructor) ? e.constructor.name : null;
497
497
  }
498
- function da(e) {
499
- return e instanceof Error || Lt(e.message) && e.constructor && ca(e.constructor.stackTraceLimit);
498
+ function ja(e) {
499
+ return e instanceof Error || Gt(e.message) && e.constructor && Ia(e.constructor.stackTraceLimit);
500
500
  }
501
- function _n(e, t) {
502
- if (typeof t != "object" || Dn(t)) return !1;
501
+ function zn(e, t) {
502
+ if (typeof t != "object" || Ln(t)) return !1;
503
503
  if (t instanceof e) return !0;
504
- var r = rt(new e(""));
505
- if (da(t)) for (; t; ) {
506
- if (rt(t) === r) return !0;
504
+ var r = nt(new e(""));
505
+ if (ja(t)) for (; t; ) {
506
+ if (nt(t) === r) return !0;
507
507
  t = Object.getPrototypeOf(t);
508
508
  }
509
509
  return !1;
510
510
  }
511
- _n.bind(null, TypeError);
512
- _n.bind(null, SyntaxError);
513
- function st(e, t) {
511
+ zn.bind(null, TypeError);
512
+ zn.bind(null, SyntaxError);
513
+ function ot(e, t) {
514
514
  var r = e instanceof Element || e instanceof HTMLDocument;
515
- return r && t ? pa(e, t) : r;
515
+ return r && t ? Na(e, t) : r;
516
516
  }
517
- function pa(e, t) {
517
+ function Na(e, t) {
518
518
  return t === void 0 && (t = ""), e && e.nodeName === t.toUpperCase();
519
519
  }
520
- function ot(e) {
520
+ function ut(e) {
521
521
  var t = [].slice.call(arguments, 1);
522
522
  return function() {
523
523
  return e.apply(void 0, [].slice.call(arguments).concat(t));
524
524
  };
525
525
  }
526
- ot(st, "form");
527
- ot(st, "button");
528
- ot(st, "input");
529
- ot(st, "select");
530
- function ga(e) {
531
- return e ? la(e) ? e : [e] : [];
526
+ ut(ot, ya);
527
+ ut(ot, wa);
528
+ ut(ot, ba);
529
+ ut(ot, Sa);
530
+ function Ra(e) {
531
+ return e ? Pa(e) ? e : [e] : [];
532
532
  }
533
- function Pr(e) {
533
+ function Rr(e) {
534
534
  try {
535
535
  return decodeURIComponent(e.replace(/\+/g, " "));
536
536
  } catch {
537
537
  return null;
538
538
  }
539
539
  }
540
- function ha() {
541
- if (He) {
540
+ function xa() {
541
+ if (Ke) {
542
542
  var e = navigator, t = e.languages;
543
543
  return e.userLanguage || (t && t.length ? t[0] : e.language);
544
544
  }
545
545
  }
546
- function ma() {
546
+ function ka() {
547
547
  try {
548
548
  return Intl.DateTimeFormat().resolvedOptions().timeZone;
549
549
  } catch {
550
550
  }
551
551
  }
552
- function va(e) {
552
+ function Ca(e) {
553
553
  return function(t) {
554
554
  for (var r, n = /* @__PURE__ */ Object.create(null), i = /([^&=]+)=?([^&]*)/g; r = i.exec(t); ) {
555
- var a = Pr(r[1]), s = Pr(r[2]);
555
+ var a = Rr(r[1]), s = Rr(r[2]);
556
556
  if (a) if (a.substring(a.length - 2) === "[]") {
557
557
  var o = n[a = a.substring(0, a.length - 2)] || (n[a] = []);
558
558
  n[a] = Array.isArray(o) ? o : [], n[a].push(s);
@@ -560,16 +560,16 @@ function va(e) {
560
560
  }
561
561
  for (var u in n) {
562
562
  var l = u.split("[");
563
- l.length > 1 && (ya(n, l.map(function(c) {
563
+ l.length > 1 && (Ma(n, l.map(function(c) {
564
564
  return c.replace(/[?[\]\\ ]/g, "");
565
565
  }), n[u]), delete n[u]);
566
566
  }
567
567
  return n;
568
568
  }(function(t) {
569
- return He && window.location.search.substring(1);
569
+ return Ke && window.location.search.substring(1);
570
570
  }());
571
571
  }
572
- function ya(e, t, r) {
572
+ function Ma(e, t, r) {
573
573
  for (var n = t.length - 1, i = 0; i < n; ++i) {
574
574
  var a = t[i];
575
575
  if (a === "__proto__" || a === "constructor") break;
@@ -577,27 +577,27 @@ function ya(e, t, r) {
577
577
  }
578
578
  e[t[n]] = r;
579
579
  }
580
- function we() {
580
+ function Oe() {
581
581
  for (var e = "", t = 0, r = 4294967295 * Math.random() | 0; t++ < 36; ) {
582
582
  var n = "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx"[t - 1], i = 15 & r;
583
583
  e += n == "-" || n == "4" ? n : (n == "x" ? i : 3 & i | 8).toString(16), r = t % 8 == 0 ? 4294967295 * Math.random() | 0 : r >> 4;
584
584
  }
585
585
  return e;
586
586
  }
587
- var _e = "global", je = Ir + "global" + Ir, Ne = typeof self === Or && self.self === self && self || typeof global === Or && global.global === global && global || void 0;
588
- function fe(e) {
589
- return Ne[je][e];
587
+ var we = "global", ke = Nr + we + Nr, Ce = typeof self === Wt && self.self === self && self || typeof global === Wt && global[we] === global && global || void 0;
588
+ function pe(e) {
589
+ return Ce[ke][e];
590
590
  }
591
- function ce(e, t) {
592
- return Ne[je][e] = t;
591
+ function fe(e, t) {
592
+ return Ce[ke][e] = t;
593
593
  }
594
- function Se(e) {
595
- delete Ne[je][e];
594
+ function Ie(e) {
595
+ delete Ce[ke][e];
596
596
  }
597
- function de(e, t, r) {
597
+ function ge(e, t, r) {
598
598
  var n;
599
599
  try {
600
- if (ut(e)) {
600
+ if (ct(e)) {
601
601
  var i = window[e];
602
602
  n = i[t].bind(i);
603
603
  }
@@ -605,67 +605,67 @@ function de(e, t, r) {
605
605
  }
606
606
  return n || r;
607
607
  }
608
- Ne[je] || (Ne[je] = {});
608
+ Ce[ke] || (Ce[ke] = {});
609
609
  var Ye = {};
610
- function ut(e) {
611
- if (typeof Ye[e] !== Be) return Ye[e];
610
+ function ct(e) {
611
+ if (typeof Ye[e] !== ae) return Ye[e];
612
612
  try {
613
613
  var t = window[e];
614
- t.setItem(Be, Be), t.removeItem(Be);
614
+ t.setItem(ae, ae), t.removeItem(ae);
615
615
  } catch {
616
616
  return Ye[e] = !1;
617
617
  }
618
618
  return Ye[e] = !0;
619
619
  }
620
- var Tr, Ve = "__", zt = typeof process < "u" ? process : {};
621
- (Tr = zt.env) != null && Tr.NODE_ENV;
622
- var le = typeof window < "u";
623
- zt.versions != null && zt.versions.node != null;
620
+ var xr, Ge = "__", Ht = typeof process < "u" ? process : {};
621
+ (xr = Ht.env) != null && xr.NODE_ENV;
622
+ var de = typeof window < "u";
623
+ Ht.versions != null && Ht.versions.node != null;
624
624
  typeof Deno < "u" && Deno.core;
625
- le && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
626
- function ct(e, t) {
625
+ de && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
626
+ function lt(e, t) {
627
627
  return typeof t === e;
628
628
  }
629
- var se = ct.bind(null, "function"), et = ct.bind(null, "string");
630
- ct.bind(null, "undefined");
631
- var ba = ct.bind(null, "boolean");
632
- function wa(e) {
629
+ var oe = lt.bind(null, "function"), et = lt.bind(null, "string");
630
+ lt.bind(null, "undefined");
631
+ var Da = lt.bind(null, "boolean");
632
+ function $a(e) {
633
633
  return Object.prototype.toString.call(e) === "[object Array]";
634
634
  }
635
- function Sa(e) {
635
+ function _a(e) {
636
636
  return e && (typeof e == "object" || e !== null);
637
637
  }
638
638
  function ne(e) {
639
- if (!Sa(e)) return !1;
639
+ if (!_a(e)) return !1;
640
640
  for (var t = e; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t);
641
641
  return Object.getPrototypeOf(e) === t;
642
642
  }
643
- function Wt(e, t) {
643
+ function Ft(e, t) {
644
644
  (t == null || t > e.length) && (t = e.length);
645
645
  for (var r = 0, n = new Array(t); r < t; r++)
646
646
  n[r] = e[r];
647
647
  return n;
648
648
  }
649
- function Ea(e) {
650
- if (Array.isArray(e)) return Wt(e);
649
+ function Ua(e) {
650
+ if (Array.isArray(e)) return Ft(e);
651
651
  }
652
- function Aa(e) {
652
+ function La(e) {
653
653
  if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
654
654
  }
655
- function $n(e, t) {
655
+ function Wn(e, t) {
656
656
  if (e) {
657
- if (typeof e == "string") return Wt(e, t);
657
+ if (typeof e == "string") return Ft(e, t);
658
658
  var r = Object.prototype.toString.call(e).slice(8, -1);
659
659
  if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
660
- if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Wt(e, t);
660
+ if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return Ft(e, t);
661
661
  }
662
662
  }
663
- function Oa() {
663
+ function za() {
664
664
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
665
665
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
666
666
  }
667
- function $e(e) {
668
- return Ea(e) || Aa(e) || $n(e) || Oa();
667
+ function ze(e) {
668
+ return Ua(e) || La(e) || Wn(e) || za();
669
669
  }
670
670
  function Q(e) {
671
671
  "@babel/helpers - typeof";
@@ -675,7 +675,7 @@ function Q(e) {
675
675
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
676
676
  }, Q(e);
677
677
  }
678
- function jr(e, t, r, n, i, a, s) {
678
+ function kr(e, t, r, n, i, a, s) {
679
679
  try {
680
680
  var o = e[a](s), u = o.value;
681
681
  } catch (l) {
@@ -684,22 +684,22 @@ function jr(e, t, r, n, i, a, s) {
684
684
  }
685
685
  o.done ? t(u) : Promise.resolve(u).then(n, i);
686
686
  }
687
- function oe(e) {
687
+ function ue(e) {
688
688
  return function() {
689
689
  var t = this, r = arguments;
690
690
  return new Promise(function(n, i) {
691
691
  var a = e.apply(t, r);
692
692
  function s(u) {
693
- jr(a, n, i, s, o, "next", u);
693
+ kr(a, n, i, s, o, "next", u);
694
694
  }
695
695
  function o(u) {
696
- jr(a, n, i, s, o, "throw", u);
696
+ kr(a, n, i, s, o, "throw", u);
697
697
  }
698
698
  s(void 0);
699
699
  });
700
700
  };
701
701
  }
702
- function ge(e, t, r) {
702
+ function me(e, t, r) {
703
703
  return t in e ? Object.defineProperty(e, t, {
704
704
  value: r,
705
705
  enumerable: !0,
@@ -707,7 +707,7 @@ function ge(e, t, r) {
707
707
  writable: !0
708
708
  }) : e[t] = r, e;
709
709
  }
710
- function Nr(e, t) {
710
+ function Cr(e, t) {
711
711
  var r = Object.keys(e);
712
712
  if (Object.getOwnPropertySymbols) {
713
713
  var n = Object.getOwnPropertySymbols(e);
@@ -720,15 +720,15 @@ function Nr(e, t) {
720
720
  function I(e) {
721
721
  for (var t = 1; t < arguments.length; t++) {
722
722
  var r = arguments[t] != null ? arguments[t] : {};
723
- t % 2 ? Nr(Object(r), !0).forEach(function(n) {
724
- ge(e, n, r[n]);
725
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Nr(Object(r)).forEach(function(n) {
723
+ t % 2 ? Cr(Object(r), !0).forEach(function(n) {
724
+ me(e, n, r[n]);
725
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Cr(Object(r)).forEach(function(n) {
726
726
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
727
727
  });
728
728
  }
729
729
  return e;
730
730
  }
731
- var Un = { exports: {} };
731
+ var Vn = { exports: {} };
732
732
  (function(e) {
733
733
  var t = function(r) {
734
734
  var n = Object.prototype, i = n.hasOwnProperty, a, s = typeof Symbol == "function" ? Symbol : {}, o = s.iterator || "@@iterator", u = s.asyncIterator || "@@asyncIterator", l = s.toStringTag || "@@toStringTag";
@@ -748,7 +748,7 @@ var Un = { exports: {} };
748
748
  };
749
749
  }
750
750
  function m(E, p, h, g) {
751
- var w = p && p.prototype instanceof d ? p : d, T = Object.create(w.prototype), M = new $(g || []);
751
+ var w = p && p.prototype instanceof d ? p : d, T = Object.create(w.prototype), M = new _(g || []);
752
752
  return T._invoke = L(E, h, M), T;
753
753
  }
754
754
  r.wrap = m;
@@ -776,8 +776,8 @@ var Un = { exports: {} };
776
776
  c(j, o, function() {
777
777
  return this;
778
778
  });
779
- var R = Object.getPrototypeOf, x = R && R(R(H([])));
780
- x && x !== n && i.call(x, o) && (j = x);
779
+ var x = Object.getPrototypeOf, R = x && x(x(F([])));
780
+ R && R !== n && i.call(R, o) && (j = R);
781
781
  var N = A.prototype = d.prototype = Object.create(j);
782
782
  P.prototype = A, c(N, "constructor", A), c(A, "constructor", P), P.displayName = c(A, l, "GeneratorFunction");
783
783
  function U(E) {
@@ -920,7 +920,7 @@ var Un = { exports: {} };
920
920
  }), c(N, "toString", function() {
921
921
  return "[object Generator]";
922
922
  });
923
- function F(E) {
923
+ function H(E) {
924
924
  var p = {
925
925
  tryLoc: E[0]
926
926
  };
@@ -930,10 +930,10 @@ var Un = { exports: {} };
930
930
  var p = E.completion || {};
931
931
  p.type = "normal", delete p.arg, E.completion = p;
932
932
  }
933
- function $(E) {
933
+ function _(E) {
934
934
  this.tryEntries = [{
935
935
  tryLoc: "root"
936
- }], E.forEach(F, this), this.reset(!0);
936
+ }], E.forEach(H, this), this.reset(!0);
937
937
  }
938
938
  r.keys = function(E) {
939
939
  var p = [];
@@ -948,7 +948,7 @@ var Un = { exports: {} };
948
948
  return g.done = !0, g;
949
949
  };
950
950
  };
951
- function H(E) {
951
+ function F(E) {
952
952
  if (E) {
953
953
  var p = E[o];
954
954
  if (p)
@@ -969,15 +969,15 @@ var Un = { exports: {} };
969
969
  next: G
970
970
  };
971
971
  }
972
- r.values = H;
972
+ r.values = F;
973
973
  function G() {
974
974
  return {
975
975
  value: a,
976
976
  done: !0
977
977
  };
978
978
  }
979
- return $.prototype = {
980
- constructor: $,
979
+ return _.prototype = {
980
+ constructor: _,
981
981
  reset: function(E) {
982
982
  if (this.prev = 0, this.next = 0, this.sent = this._sent = a, this.done = !1, this.delegate = null, this.method = "next", this.arg = a, this.tryEntries.forEach(C), !E)
983
983
  for (var p in this)
@@ -1059,7 +1059,7 @@ var Un = { exports: {} };
1059
1059
  },
1060
1060
  delegateYield: function(E, p, h) {
1061
1061
  return this.delegate = {
1062
- iterator: H(E),
1062
+ iterator: F(E),
1063
1063
  resultName: p,
1064
1064
  nextLoc: h
1065
1065
  }, this.method === "next" && (this.arg = a), y;
@@ -1077,18 +1077,18 @@ var Un = { exports: {} };
1077
1077
  } catch {
1078
1078
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = t : Function("r", "regeneratorRuntime = r")(t);
1079
1079
  }
1080
- })(Un);
1081
- var X = Un.exports, he = "function", ue = "undefined", Ue = "reducer", Ln = "@@redux/", Vt = Ln + "INIT", Ia = Ln + Math.random().toString(36), xr = /* @__PURE__ */ function() {
1082
- return (typeof Symbol > "u" ? "undefined" : Q(Symbol)) === he && Symbol.observable || "@@observable";
1083
- }(), Je = " != " + he;
1084
- function zn(e, t, r) {
1085
- if (Q(t) === he && Q(r) === ue && (r = t, t = void 0), Q(r) !== ue) {
1086
- if (Q(r) !== he)
1080
+ })(Vn);
1081
+ var X = Vn.exports, ve = "function", ce = "undefined", We = "reducer", Gn = "@@redux/", Kt = Gn + "INIT", Wa = Gn + Math.random().toString(36), Mr = /* @__PURE__ */ function() {
1082
+ return (typeof Symbol > "u" ? "undefined" : Q(Symbol)) === ve && Symbol.observable || "@@observable";
1083
+ }(), Je = " != " + ve;
1084
+ function Hn(e, t, r) {
1085
+ if (Q(t) === ve && Q(r) === ce && (r = t, t = void 0), Q(r) !== ce) {
1086
+ if (Q(r) !== ve)
1087
1087
  throw new Error("enhancer" + Je);
1088
- return r(zn)(e, t);
1088
+ return r(Hn)(e, t);
1089
1089
  }
1090
- if (Q(e) !== he)
1091
- throw new Error(Ue + Je);
1090
+ if (Q(e) !== ve)
1091
+ throw new Error(We + Je);
1092
1092
  var n = e, i = t, a = [], s = a, o = !1;
1093
1093
  function u() {
1094
1094
  s === a && (s = a.slice());
@@ -1097,7 +1097,7 @@ function zn(e, t, r) {
1097
1097
  return i;
1098
1098
  }
1099
1099
  function c(v) {
1100
- if (Q(v) !== he)
1100
+ if (Q(v) !== ve)
1101
1101
  throw new Error("Listener" + Je);
1102
1102
  var O = !0;
1103
1103
  return u(), s.push(v), function() {
@@ -1111,10 +1111,10 @@ function zn(e, t, r) {
1111
1111
  function m(v) {
1112
1112
  if (!ne(v))
1113
1113
  throw new Error("Act != obj");
1114
- if (Q(v.type) === ue)
1115
- throw new Error("ActType " + ue);
1114
+ if (Q(v.type) === ce)
1115
+ throw new Error("ActType " + ce);
1116
1116
  if (o)
1117
- throw new Error("Dispatch in " + Ue);
1117
+ throw new Error("Dispatch in " + We);
1118
1118
  try {
1119
1119
  o = !0, i = n(i, v);
1120
1120
  } finally {
@@ -1127,15 +1127,15 @@ function zn(e, t, r) {
1127
1127
  return v;
1128
1128
  }
1129
1129
  function f(v) {
1130
- if (Q(v) !== he)
1131
- throw new Error("next " + Ue + Je);
1130
+ if (Q(v) !== ve)
1131
+ throw new Error("next " + We + Je);
1132
1132
  n = v, m({
1133
- type: Vt
1133
+ type: Kt
1134
1134
  });
1135
1135
  }
1136
1136
  function S() {
1137
1137
  var v = c;
1138
- return ge({
1138
+ return me({
1139
1139
  /*
1140
1140
  * The minimal observable subscription method.
1141
1141
  * @param {Object} observer Any object that can be used as an observer.
@@ -1156,42 +1156,42 @@ function zn(e, t, r) {
1156
1156
  unsubscribe: d
1157
1157
  };
1158
1158
  }
1159
- }, xr, function() {
1159
+ }, Mr, function() {
1160
1160
  return this;
1161
1161
  });
1162
1162
  }
1163
1163
  return m({
1164
- type: Vt
1165
- }), ge({
1164
+ type: Kt
1165
+ }), me({
1166
1166
  dispatch: m,
1167
1167
  subscribe: c,
1168
1168
  getState: l,
1169
1169
  replaceReducer: f
1170
- }, xr, S);
1170
+ }, Mr, S);
1171
1171
  }
1172
- function Pa(e, t) {
1172
+ function Va(e, t) {
1173
1173
  var r = t && t.type, n = r && r.toString() || "?";
1174
- return "action " + n + Ue + " " + e + " returns " + ue;
1174
+ return "action " + n + We + " " + e + " returns " + ce;
1175
1175
  }
1176
- function Ta(e) {
1176
+ function Ga(e) {
1177
1177
  Object.keys(e).forEach(function(t) {
1178
1178
  var r = e[t], n = r(void 0, {
1179
- type: Vt
1179
+ type: Kt
1180
1180
  });
1181
- if (Q(n) === ue || Q(r(void 0, {
1182
- type: Ia
1183
- })) === ue)
1184
- throw new Error(Ue + " " + t + " " + ue);
1181
+ if (Q(n) === ce || Q(r(void 0, {
1182
+ type: Wa
1183
+ })) === ce)
1184
+ throw new Error(We + " " + t + " " + ce);
1185
1185
  });
1186
1186
  }
1187
- function ja(e) {
1187
+ function Ha(e) {
1188
1188
  for (var t = Object.keys(e), r = {}, n = 0; n < t.length; n++) {
1189
1189
  var i = t[n];
1190
- Q(e[i]) === he && (r[i] = e[i]);
1190
+ Q(e[i]) === ve && (r[i] = e[i]);
1191
1191
  }
1192
1192
  var a = Object.keys(r), s;
1193
1193
  try {
1194
- Ta(r);
1194
+ Ga(r);
1195
1195
  } catch (o) {
1196
1196
  s = o;
1197
1197
  }
@@ -1201,8 +1201,8 @@ function ja(e) {
1201
1201
  throw s;
1202
1202
  for (var c = !1, m = {}, f = 0; f < a.length; f++) {
1203
1203
  var S = a[f], v = r[S], O = u[S], b = v(O, l);
1204
- if (Q(b) === ue) {
1205
- var y = Pa(S, l);
1204
+ if (Q(b) === ce) {
1205
+ var y = Va(S, l);
1206
1206
  throw new Error(y);
1207
1207
  }
1208
1208
  m[S] = b, c = c || b !== O;
@@ -1210,7 +1210,7 @@ function ja(e) {
1210
1210
  return c ? m : u;
1211
1211
  };
1212
1212
  }
1213
- function xe() {
1213
+ function Me() {
1214
1214
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1215
1215
  t[r] = arguments[r];
1216
1216
  return t.length === 0 ? function(n) {
@@ -1221,7 +1221,7 @@ function xe() {
1221
1221
  };
1222
1222
  });
1223
1223
  }
1224
- function Na() {
1224
+ function Fa() {
1225
1225
  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
1226
1226
  t[r] = arguments[r];
1227
1227
  return function(n) {
@@ -1234,13 +1234,13 @@ function Na() {
1234
1234
  };
1235
1235
  return l = t.map(function(m) {
1236
1236
  return m(c);
1237
- }), u = xe.apply(void 0, $e(l))(o.dispatch), I(I({}, o), {}, {
1237
+ }), u = Me.apply(void 0, ze(l))(o.dispatch), I(I({}, o), {}, {
1238
1238
  dispatch: u
1239
1239
  });
1240
1240
  };
1241
1241
  };
1242
1242
  }
1243
- var me = Ve + "anon_id", ye = Ve + "user_id", Ie = Ve + "user_traits", Gt = "analytics", pe = "userId", Ae = "anonymousId", xa = "https://lytics.dev/errors/", nt = [
1243
+ var ye = Ge + "anon_id", Se = Ge + "user_id", Ne = Ge + "user_traits", qt = "analytics", he = "userId", Te = "anonymousId", Ka = "https://lytics.dev/errors/", it = [
1244
1244
  /**
1245
1245
  * `bootstrap` - Fires when analytics library starts up.
1246
1246
  * This is the first event fired. '.on/once' listeners are not allowed on bootstrap
@@ -1423,43 +1423,43 @@ var me = Ve + "anon_id", ye = Ve + "user_id", Ie = Ve + "user_traits", Gt = "ana
1423
1423
  * `removeItemAborted` - Fires when removeItem storage is cancelled by a plugin.
1424
1424
  */
1425
1425
  "removeItemAborted"
1426
- ], Ft = ["name", "EVENTS", "config", "loaded"], Ra = {
1426
+ ], Bt = ["name", "EVENTS", "config", "loaded"], qa = {
1427
1427
  registerPluginType: function(t) {
1428
1428
  return "registerPlugin:".concat(t);
1429
1429
  },
1430
1430
  pluginReadyType: function(t) {
1431
1431
  return "ready:".concat(t);
1432
1432
  }
1433
- }, ka = nt.reduce(function(e, t) {
1433
+ }, Ba = it.reduce(function(e, t) {
1434
1434
  return e[t] = t, e;
1435
- }, Ra), _ = ka;
1436
- function Ca(e) {
1437
- return nt.includes(e);
1435
+ }, qa), $ = Ba;
1436
+ function Ya(e) {
1437
+ return it.includes(e);
1438
1438
  }
1439
- var Rr = /^utm_/, kr = /^an_prop_/, Cr = /^an_trait_/;
1440
- function Ma(e) {
1439
+ var Dr = /^utm_/, $r = /^an_prop_/, _r = /^an_trait_/;
1440
+ function Ja(e) {
1441
1441
  var t = e.storage.setItem;
1442
1442
  return function(r) {
1443
1443
  return function(n) {
1444
1444
  return function(i) {
1445
- if (i.type === _.bootstrap) {
1445
+ if (i.type === $.bootstrap) {
1446
1446
  var a = i.params, s = i.user, o = i.persistedUser, u = i.initialUser, l = o.userId === s.userId;
1447
- o.anonymousId !== s.anonymousId && t(me, s.anonymousId), l || t(ye, s.userId), u.traits && t(Ie, I(I({}, l && o.traits ? o.traits : {}), u.traits));
1447
+ o.anonymousId !== s.anonymousId && t(ye, s.anonymousId), l || t(Se, s.userId), u.traits && t(Ne, I(I({}, l && o.traits ? o.traits : {}), u.traits));
1448
1448
  var c = Object.keys(i.params);
1449
1449
  if (c.length) {
1450
1450
  var m = a.an_uid, f = a.an_event, S = c.reduce(function(v, O) {
1451
- if (O.match(Rr) || O.match(/^(d|g)clid/)) {
1452
- var b = O.replace(Rr, ""), y = b === "campaign" ? "name" : b;
1451
+ if (O.match(Dr) || O.match(/^(d|g)clid/)) {
1452
+ var b = O.replace(Dr, ""), y = b === "campaign" ? "name" : b;
1453
1453
  v.campaign[y] = a[O];
1454
1454
  }
1455
- return O.match(kr) && (v.props[O.replace(kr, "")] = a[O]), O.match(Cr) && (v.traits[O.replace(Cr, "")] = a[O]), v;
1455
+ return O.match($r) && (v.props[O.replace($r, "")] = a[O]), O.match(_r) && (v.traits[O.replace(_r, "")] = a[O]), v;
1456
1456
  }, {
1457
1457
  campaign: {},
1458
1458
  props: {},
1459
1459
  traits: {}
1460
1460
  });
1461
1461
  r.dispatch(I(I({
1462
- type: _.params,
1462
+ type: $.params,
1463
1463
  raw: a
1464
1464
  }, S), m ? {
1465
1465
  userId: m
@@ -1468,7 +1468,7 @@ function Ma(e) {
1468
1468
  }, 0), f && setTimeout(function() {
1469
1469
  return e.track(f, S.props);
1470
1470
  }, 0), Object.keys(S.campaign).length && r.dispatch({
1471
- type: _.campaign,
1471
+ type: $.campaign,
1472
1472
  campaign: S.campaign
1473
1473
  });
1474
1474
  }
@@ -1478,27 +1478,27 @@ function Ma(e) {
1478
1478
  };
1479
1479
  };
1480
1480
  }
1481
- function Da(e) {
1481
+ function Xa(e) {
1482
1482
  return function() {
1483
1483
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1484
- if (n.type === _.setItemEnd) {
1485
- if (n.key === me)
1484
+ if (n.type === $.setItemEnd) {
1485
+ if (n.key === ye)
1486
1486
  return I(I({}, r), {
1487
1487
  anonymousId: n.value
1488
1488
  });
1489
- if (n.key === ye)
1489
+ if (n.key === Se)
1490
1490
  return I(I({}, r), {
1491
1491
  userId: n.value
1492
1492
  });
1493
1493
  }
1494
1494
  switch (n.type) {
1495
- case _.identify:
1495
+ case $.identify:
1496
1496
  return Object.assign({}, r, {
1497
1497
  userId: n.userId,
1498
1498
  traits: I(I({}, r.traits), n.traits)
1499
1499
  });
1500
- case _.reset:
1501
- return [ye, me, Ie].forEach(function(i) {
1500
+ case $.reset:
1501
+ return [Se, ye, Ne].forEach(function(i) {
1502
1502
  e.removeItem(i);
1503
1503
  }), Object.assign({}, r, {
1504
1504
  userId: null,
@@ -1511,42 +1511,42 @@ function Da(e) {
1511
1511
  }
1512
1512
  };
1513
1513
  }
1514
- function Wn(e) {
1514
+ function Fn(e) {
1515
1515
  return {
1516
- userId: e.getItem(ye),
1517
- anonymousId: e.getItem(me),
1518
- traits: e.getItem(Ie)
1516
+ userId: e.getItem(Se),
1517
+ anonymousId: e.getItem(ye),
1518
+ traits: e.getItem(Ne)
1519
1519
  };
1520
1520
  }
1521
- var cr = function(t) {
1522
- return Ve + "TEMP" + Ve + t;
1521
+ var pr = function(t) {
1522
+ return Ge + "TEMP" + Ge + t;
1523
1523
  };
1524
- function _a(e) {
1524
+ function Qa(e) {
1525
1525
  return function(r, n, i) {
1526
1526
  var a = n.getState("user")[r];
1527
1527
  if (a)
1528
1528
  return a;
1529
1529
  if (i && ne(i) && i[r])
1530
1530
  return i[r];
1531
- var s = Wn(e)[r];
1532
- return s || fe(cr(r)) || null;
1531
+ var s = Fn(e)[r];
1532
+ return s || pe(pr(r)) || null;
1533
1533
  };
1534
1534
  }
1535
- function $a(e) {
1535
+ function Za(e) {
1536
1536
  var t = e.storage, r = t.setItem, n = t.removeItem, i = t.getItem;
1537
1537
  return function(a) {
1538
1538
  return function(s) {
1539
1539
  return function(o) {
1540
1540
  var u = o.userId, l = o.traits, c = o.options;
1541
- if (o.type === _.reset && ([ye, Ie, me].forEach(function(S) {
1541
+ if (o.type === $.reset && ([Se, Ne, ye].forEach(function(S) {
1542
1542
  n(S);
1543
- }), [pe, Ae, "traits"].forEach(function(S) {
1544
- Se(cr(S));
1545
- })), o.type === _.identify) {
1546
- i(me) || r(me, we());
1547
- var m = i(ye), f = i(Ie) || {};
1543
+ }), [he, Te, "traits"].forEach(function(S) {
1544
+ Ie(pr(S));
1545
+ })), o.type === $.identify) {
1546
+ i(ye) || r(ye, Oe());
1547
+ var m = i(Se), f = i(Ne) || {};
1548
1548
  m && m !== u && a.dispatch({
1549
- type: _.userIdChanged,
1549
+ type: $.userIdChanged,
1550
1550
  old: {
1551
1551
  userId: m,
1552
1552
  traits: f
@@ -1556,32 +1556,32 @@ function $a(e) {
1556
1556
  traits: l
1557
1557
  },
1558
1558
  options: c
1559
- }), u && r(ye, u), l && r(Ie, I(I({}, f), l));
1559
+ }), u && r(Se, u), l && r(Ne, I(I({}, f), l));
1560
1560
  }
1561
1561
  return s(o);
1562
1562
  };
1563
1563
  };
1564
1564
  };
1565
1565
  }
1566
- var Me = {};
1567
- function Vn(e, t) {
1568
- Me[e] && se(Me[e]) && (Me[e](t), delete Me[e]);
1566
+ var Ue = {};
1567
+ function Kn(e, t) {
1568
+ Ue[e] && oe(Ue[e]) && (Ue[e](t), delete Ue[e]);
1569
1569
  }
1570
- function Gn(e, t, r) {
1570
+ function qn(e, t, r) {
1571
1571
  return new Promise(function(n, i) {
1572
1572
  return t() ? n(e) : r < 1 ? i(I(I({}, e), {}, {
1573
1573
  queue: !0
1574
- })) : Ua(10).then(function(a) {
1575
- return Gn(e, t, r - 10).then(n, i);
1574
+ })) : es(10).then(function(a) {
1575
+ return qn(e, t, r - 10).then(n, i);
1576
1576
  });
1577
1577
  });
1578
1578
  }
1579
- function Ua(e) {
1579
+ function es(e) {
1580
1580
  return new Promise(function(t) {
1581
1581
  return setTimeout(t, e);
1582
1582
  });
1583
1583
  }
1584
- function Fn(e, t, r) {
1584
+ function Bn(e, t, r) {
1585
1585
  var n = t(), i = e.getState(), a = i.plugins, s = i.context, o = i.queue, u = i.user, l = !s.offline;
1586
1586
  if (l && o && o.actions && o.actions.length) {
1587
1587
  var c = o.actions.reduce(function(f, S, v) {
@@ -1596,8 +1596,8 @@ function Fn(e, t, r) {
1596
1596
  if (c.processIndex && c.processIndex.length) {
1597
1597
  c.processIndex.forEach(function(f) {
1598
1598
  var S = o.actions[f], v = S.plugin, O = S.payload.type, b = n[v][O];
1599
- if (b && se(b)) {
1600
- var y = za(S.payload, u);
1599
+ if (b && oe(b)) {
1600
+ var y = rs(S.payload, u);
1601
1601
  b({
1602
1602
  payload: y,
1603
1603
  config: a[v].config,
@@ -1621,21 +1621,21 @@ function Fn(e, t, r) {
1621
1621
  }
1622
1622
  }
1623
1623
  }
1624
- function La(e, t, r) {
1624
+ function ts(e, t, r) {
1625
1625
  return setInterval(function() {
1626
- return Fn(e, t, r);
1626
+ return Bn(e, t, r);
1627
1627
  }, 3e3);
1628
1628
  }
1629
- function za() {
1629
+ function rs() {
1630
1630
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
1631
- return [pe, Ae].reduce(function(r, n) {
1631
+ return [he, Te].reduce(function(r, n) {
1632
1632
  return e.hasOwnProperty(n) && t[n] && t[n] !== e[n] && (r[n] = t[n]), r;
1633
1633
  }, e);
1634
1634
  }
1635
- function Wa(e) {
1635
+ function ns(e) {
1636
1636
  if (Array.isArray(e)) return e;
1637
1637
  }
1638
- function Va(e, t) {
1638
+ function is(e, t) {
1639
1639
  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
1640
1640
  if (r != null) {
1641
1641
  var n = [], i = !0, a = !1, s, o;
@@ -1654,47 +1654,47 @@ function Va(e, t) {
1654
1654
  return n;
1655
1655
  }
1656
1656
  }
1657
- function Ga() {
1657
+ function as() {
1658
1658
  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
1659
1659
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
1660
1660
  }
1661
- function Fa(e, t) {
1662
- return Wa(e) || Va(e, t) || $n(e, t) || Ga();
1661
+ function ss(e, t) {
1662
+ return ns(e) || is(e, t) || Wn(e, t) || as();
1663
1663
  }
1664
- function Ha(e) {
1664
+ function os(e) {
1665
1665
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
1666
1666
  return Object.keys(e).filter(function(n) {
1667
1667
  var i = r.plugins || {};
1668
- return ba(i[n]) ? i[n] : !(i.all === !1 || t[n] && t[n].enabled === !1);
1668
+ return Da(i[n]) ? i[n] : !(i.all === !1 || t[n] && t[n].enabled === !1);
1669
1669
  }).map(function(n) {
1670
1670
  return e[n];
1671
1671
  });
1672
1672
  }
1673
- var Re = /Start$/, Mr = /^bootstrap/, Dr = /^ready/;
1674
- function Ka(e, t, r, n, i) {
1675
- return Ht.apply(this, arguments);
1673
+ var De = /Start$/, Ur = /^bootstrap/, Lr = /^ready/;
1674
+ function us(e, t, r, n, i) {
1675
+ return Yt.apply(this, arguments);
1676
1676
  }
1677
- function Ht() {
1678
- return Ht = oe(/* @__PURE__ */ X.mark(function e(t, r, n, i, a) {
1677
+ function Yt() {
1678
+ return Yt = ue(/* @__PURE__ */ X.mark(function e(t, r, n, i, a) {
1679
1679
  var s, o, u, l, c, m, f, S, v, O, b;
1680
1680
  return X.wrap(function(d) {
1681
1681
  for (; ; )
1682
1682
  switch (d.prev = d.next) {
1683
1683
  case 0:
1684
- if (s = se(r) ? r() : r, o = t.type, u = o.replace(Re, ""), !(t._ && t._.called)) {
1684
+ if (s = oe(r) ? r() : r, o = t.type, u = o.replace(De, ""), !(t._ && t._.called)) {
1685
1685
  d.next = 5;
1686
1686
  break;
1687
1687
  }
1688
1688
  return d.abrupt("return", t);
1689
1689
  case 5:
1690
- return l = n.getState(), c = Ha(s, l.plugins, t.options), o === _.initializeStart && t.fromEnable && (c = Object.keys(l.plugins).filter(function(P) {
1690
+ return l = n.getState(), c = os(s, l.plugins, t.options), o === $.initializeStart && t.fromEnable && (c = Object.keys(l.plugins).filter(function(P) {
1691
1691
  var A = l.plugins[P];
1692
1692
  return t.plugins.includes(P) && !A.initialized;
1693
1693
  }).map(function(P) {
1694
1694
  return s[P];
1695
1695
  })), m = c.map(function(P) {
1696
1696
  return P.name;
1697
- }), f = Ba(o, c), d.next = 12, mt({
1697
+ }), f = ls(o, c), d.next = 12, bt({
1698
1698
  action: t,
1699
1699
  data: {
1700
1700
  exact: f.before,
@@ -1708,7 +1708,7 @@ function Ht() {
1708
1708
  EVENTS: a
1709
1709
  });
1710
1710
  case 12:
1711
- if (S = d.sent, !Hn(S, m.length)) {
1711
+ if (S = d.sent, !Yn(S, m.length)) {
1712
1712
  d.next = 15;
1713
1713
  break;
1714
1714
  }
@@ -1721,7 +1721,7 @@ function Ht() {
1721
1721
  v = S, d.next = 22;
1722
1722
  break;
1723
1723
  case 19:
1724
- return d.next = 21, mt({
1724
+ return d.next = 21, bt({
1725
1725
  action: I(I({}, S), {}, {
1726
1726
  type: u
1727
1727
  }),
@@ -1739,11 +1739,11 @@ function Ht() {
1739
1739
  case 21:
1740
1740
  v = d.sent;
1741
1741
  case 22:
1742
- if (!o.match(Re)) {
1742
+ if (!o.match(De)) {
1743
1743
  d.next = 28;
1744
1744
  break;
1745
1745
  }
1746
- return O = "".concat(u, "End"), d.next = 26, mt({
1746
+ return O = "".concat(u, "End"), d.next = 26, bt({
1747
1747
  action: I(I({}, v), {}, {
1748
1748
  type: O
1749
1749
  }),
@@ -1759,7 +1759,7 @@ function Ht() {
1759
1759
  EVENTS: a
1760
1760
  });
1761
1761
  case 26:
1762
- b = d.sent, b.meta && b.meta.hasCallback && Vn(b.meta.rid, {
1762
+ b = d.sent, b.meta && b.meta.hasCallback && Kn(b.meta.rid, {
1763
1763
  payload: b
1764
1764
  });
1765
1765
  case 28:
@@ -1769,70 +1769,70 @@ function Ht() {
1769
1769
  return d.stop();
1770
1770
  }
1771
1771
  }, e);
1772
- })), Ht.apply(this, arguments);
1772
+ })), Yt.apply(this, arguments);
1773
1773
  }
1774
- function mt(e) {
1775
- return Kt.apply(this, arguments);
1774
+ function bt(e) {
1775
+ return Jt.apply(this, arguments);
1776
1776
  }
1777
- function Kt() {
1778
- return Kt = oe(/* @__PURE__ */ X.mark(function e(t) {
1777
+ function Jt() {
1778
+ return Jt = ue(/* @__PURE__ */ X.mark(function e(t) {
1779
1779
  var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P;
1780
1780
  return X.wrap(function(j) {
1781
1781
  for (; ; )
1782
1782
  switch (j.prev = j.next) {
1783
1783
  case 0:
1784
- return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, u = t.store, l = t.EVENTS, c = a.plugins, m = a.context, f = n.type, S = f.match(Re), v = r.exact.map(function(R) {
1785
- return R.pluginName;
1786
- }), S && (v = o.during.map(function(R) {
1787
- return R.pluginName;
1788
- })), O = Ya(i, v), b = r.exact.reduce(function(R, x) {
1789
- var N = x.pluginName, U = x.methodName, D = !1;
1790
- return !U.match(/^initialize/) && !U.match(/^reset/) && (D = !c[N].loaded), m.offline && U.match(/^(page|track|identify)/) && (D = !0), R["".concat(N)] = D, R;
1784
+ return r = t.data, n = t.action, i = t.instance, a = t.state, s = t.allPlugins, o = t.allMatches, u = t.store, l = t.EVENTS, c = a.plugins, m = a.context, f = n.type, S = f.match(De), v = r.exact.map(function(x) {
1785
+ return x.pluginName;
1786
+ }), S && (v = o.during.map(function(x) {
1787
+ return x.pluginName;
1788
+ })), O = fs(i, v), b = r.exact.reduce(function(x, R) {
1789
+ var N = R.pluginName, U = R.methodName, D = !1;
1790
+ return !U.match(/^initialize/) && !U.match(/^reset/) && (D = !c[N].loaded), m.offline && U.match(/^(page|track|identify)/) && (D = !0), x["".concat(N)] = D, x;
1791
1791
  }, {}), j.next = 10, r.exact.reduce(/* @__PURE__ */ function() {
1792
- var R = oe(/* @__PURE__ */ X.mark(function x(N, U, D) {
1793
- var L, z, F;
1794
- return X.wrap(function($) {
1792
+ var x = ue(/* @__PURE__ */ X.mark(function R(N, U, D) {
1793
+ var L, z, H;
1794
+ return X.wrap(function(_) {
1795
1795
  for (; ; )
1796
- switch ($.prev = $.next) {
1796
+ switch (_.prev = _.next) {
1797
1797
  case 0:
1798
- return L = U.pluginName, $.next = 3, N;
1798
+ return L = U.pluginName, _.next = 3, N;
1799
1799
  case 3:
1800
- if (z = $.sent, !(r.namespaced && r.namespaced[L])) {
1801
- $.next = 11;
1800
+ if (z = _.sent, !(r.namespaced && r.namespaced[L])) {
1801
+ _.next = 11;
1802
1802
  break;
1803
1803
  }
1804
- return $.next = 7, r.namespaced[L].reduce(/* @__PURE__ */ function() {
1805
- var H = oe(/* @__PURE__ */ X.mark(function G(E, p, h) {
1804
+ return _.next = 7, r.namespaced[L].reduce(/* @__PURE__ */ function() {
1805
+ var F = ue(/* @__PURE__ */ X.mark(function G(E, p, h) {
1806
1806
  var g, w, T, M;
1807
1807
  return X.wrap(function(W) {
1808
1808
  for (; ; )
1809
1809
  switch (W.prev = W.next) {
1810
1810
  case 0:
1811
1811
  return w = function(B, K, q) {
1812
- return function(Y, qe) {
1813
- var Ee = q || K;
1812
+ return function(Y, Be) {
1813
+ var Pe = q || K;
1814
1814
  return I(I({}, B), {}, {
1815
1815
  abort: {
1816
1816
  reason: Y,
1817
- plugins: qe || [K],
1817
+ plugins: Be || [K],
1818
1818
  caller: f,
1819
- from: Ee
1819
+ from: Pe
1820
1820
  }
1821
1821
  });
1822
1822
  };
1823
1823
  }, W.next = 3, E;
1824
1824
  case 3:
1825
- if (g = W.sent, !(!p.method || !se(p.method))) {
1825
+ if (g = W.sent, !(!p.method || !oe(p.method))) {
1826
1826
  W.next = 6;
1827
1827
  break;
1828
1828
  }
1829
1829
  return W.abrupt("return", g);
1830
1830
  case 6:
1831
- return Qa(p.methodName, p.pluginName), W.next = 9, p.method({
1831
+ return gs(p.methodName, p.pluginName), W.next = 9, p.method({
1832
1832
  payload: g,
1833
1833
  instance: i,
1834
1834
  abort: w(g, L, p.pluginName),
1835
- config: _r(p.pluginName, c, s),
1835
+ config: zr(p.pluginName, c, s),
1836
1836
  plugins: c
1837
1837
  });
1838
1838
  case 9:
@@ -1844,53 +1844,53 @@ function Kt() {
1844
1844
  }, G);
1845
1845
  }));
1846
1846
  return function(G, E, p) {
1847
- return H.apply(this, arguments);
1847
+ return F.apply(this, arguments);
1848
1848
  };
1849
1849
  }(), Promise.resolve(n));
1850
1850
  case 7:
1851
- F = $.sent, z[L] = F, $.next = 12;
1851
+ H = _.sent, z[L] = H, _.next = 12;
1852
1852
  break;
1853
1853
  case 11:
1854
1854
  z[L] = n;
1855
1855
  case 12:
1856
- return $.abrupt("return", Promise.resolve(z));
1856
+ return _.abrupt("return", Promise.resolve(z));
1857
1857
  case 13:
1858
1858
  case "end":
1859
- return $.stop();
1859
+ return _.stop();
1860
1860
  }
1861
- }, x);
1861
+ }, R);
1862
1862
  }));
1863
- return function(x, N, U) {
1864
- return R.apply(this, arguments);
1863
+ return function(R, N, U) {
1864
+ return x.apply(this, arguments);
1865
1865
  };
1866
1866
  }(), Promise.resolve({}));
1867
1867
  case 10:
1868
1868
  return y = j.sent, j.next = 13, r.exact.reduce(/* @__PURE__ */ function() {
1869
- var R = oe(/* @__PURE__ */ X.mark(function x(N, U, D) {
1870
- var L, z, F, C, $, H, G, E, p, h, g, w, T;
1869
+ var x = ue(/* @__PURE__ */ X.mark(function R(N, U, D) {
1870
+ var L, z, H, C, _, F, G, E, p, h, g, w, T;
1871
1871
  return X.wrap(function(k) {
1872
1872
  for (; ; )
1873
1873
  switch (k.prev = k.next) {
1874
1874
  case 0:
1875
- return L = r.exact.length === D + 1, z = U.pluginName, F = s[z], k.next = 5, N;
1875
+ return L = r.exact.length === D + 1, z = U.pluginName, H = s[z], k.next = 5, N;
1876
1876
  case 5:
1877
- if (C = k.sent, $ = y[z] ? y[z] : {}, S && ($ = C), !yt($, z)) {
1877
+ if (C = k.sent, _ = y[z] ? y[z] : {}, S && (_ = C), !St(_, z)) {
1878
1878
  k.next = 11;
1879
1879
  break;
1880
1880
  }
1881
- return vt({
1882
- data: $,
1881
+ return wt({
1882
+ data: _,
1883
1883
  method: f,
1884
1884
  instance: i,
1885
1885
  pluginName: z,
1886
1886
  store: u
1887
1887
  }), k.abrupt("return", Promise.resolve(C));
1888
1888
  case 11:
1889
- if (!yt(C, z)) {
1889
+ if (!St(C, z)) {
1890
1890
  k.next = 14;
1891
1891
  break;
1892
1892
  }
1893
- return L && vt({
1893
+ return L && wt({
1894
1894
  data: C,
1895
1895
  method: f,
1896
1896
  instance: i,
@@ -1905,7 +1905,7 @@ function Kt() {
1905
1905
  return u.dispatch({
1906
1906
  type: "queue",
1907
1907
  plugin: z,
1908
- payload: $,
1908
+ payload: _,
1909
1909
  /* Internal data for analytics engine */
1910
1910
  _: {
1911
1911
  called: "queue",
@@ -1914,23 +1914,23 @@ function Kt() {
1914
1914
  }
1915
1915
  }), k.abrupt("return", Promise.resolve(C));
1916
1916
  case 17:
1917
- return H = O(y[z], s[z]), k.next = 20, F[f]({
1917
+ return F = O(y[z], s[z]), k.next = 20, H[f]({
1918
1918
  // currentPlugin: pluginName,
1919
- abort: H.abort,
1919
+ abort: F.abort,
1920
1920
  // Send in original action value or scope payload
1921
- payload: $,
1921
+ payload: _,
1922
1922
  instance: i,
1923
- config: _r(z, c, s),
1923
+ config: zr(z, c, s),
1924
1924
  plugins: c
1925
1925
  });
1926
1926
  case 20:
1927
- return G = k.sent, E = ne(G) ? G : {}, p = I(I({}, C), E), h = y[z], yt(h, z) ? vt({
1927
+ return G = k.sent, E = ne(G) ? G : {}, p = I(I({}, C), E), h = y[z], St(h, z) ? wt({
1928
1928
  data: h,
1929
1929
  method: f,
1930
1930
  instance: i,
1931
1931
  pluginName: z,
1932
1932
  store: u
1933
- }) : (g = "".concat(f, ":").concat(z), w = (g.match(/:/g) || []).length, w < 2 && !f.match(Mr) && !f.match(Dr) && (T = S ? p : $, i.dispatch(I(I({}, T), {}, {
1933
+ }) : (g = "".concat(f, ":").concat(z), w = (g.match(/:/g) || []).length, w < 2 && !f.match(Ur) && !f.match(Lr) && (T = S ? p : _, i.dispatch(I(I({}, T), {}, {
1934
1934
  type: g,
1935
1935
  _: {
1936
1936
  called: g,
@@ -1941,16 +1941,16 @@ function Kt() {
1941
1941
  case "end":
1942
1942
  return k.stop();
1943
1943
  }
1944
- }, x);
1944
+ }, R);
1945
1945
  }));
1946
- return function(x, N, U) {
1947
- return R.apply(this, arguments);
1946
+ return function(R, N, U) {
1947
+ return x.apply(this, arguments);
1948
1948
  };
1949
1949
  }(), Promise.resolve(n));
1950
1950
  case 13:
1951
- if (d = j.sent, !(!f.match(Re) && !f.match(/^registerPlugin/) && // !method.match(/^disablePlugin/) &&
1951
+ if (d = j.sent, !(!f.match(De) && !f.match(/^registerPlugin/) && // !method.match(/^disablePlugin/) &&
1952
1952
  // !method.match(/^enablePlugin/) &&
1953
- !f.match(Dr) && !f.match(Mr) && !f.match(/^params/) && !f.match(/^userIdChanged/))) {
1953
+ !f.match(Lr) && !f.match(Ur) && !f.match(/^params/) && !f.match(/^userIdChanged/))) {
1954
1954
  j.next = 21;
1955
1955
  break;
1956
1956
  }
@@ -1966,7 +1966,7 @@ function Kt() {
1966
1966
  called: d.type,
1967
1967
  from: "engineEnd"
1968
1968
  }
1969
- }), Hn(d, r.exact.length) && !f.match(/End$/) && (P = I(I({}, P), {
1969
+ }), Yn(d, r.exact.length) && !f.match(/End$/) && (P = I(I({}, P), {
1970
1970
  type: d.type + "Aborted"
1971
1971
  })), u.dispatch(P);
1972
1972
  case 21:
@@ -1976,9 +1976,9 @@ function Kt() {
1976
1976
  return j.stop();
1977
1977
  }
1978
1978
  }, e);
1979
- })), Kt.apply(this, arguments);
1979
+ })), Jt.apply(this, arguments);
1980
1980
  }
1981
- function vt(e) {
1981
+ function wt(e) {
1982
1982
  var t = e.data, r = e.method;
1983
1983
  e.instance;
1984
1984
  var n = e.pluginName, i = e.store, a = n ? ":" + n : "", s = r + "Aborted" + a;
@@ -1990,11 +1990,11 @@ function vt(e) {
1990
1990
  }
1991
1991
  }));
1992
1992
  }
1993
- function _r(e, t, r) {
1993
+ function zr(e, t, r) {
1994
1994
  var n = t[e] || r[e];
1995
1995
  return n && n.config ? n.config : {};
1996
1996
  }
1997
- function $r(e, t) {
1997
+ function Wr(e, t) {
1998
1998
  return t.reduce(function(r, n) {
1999
1999
  return n[e] ? r.concat({
2000
2000
  methodName: e,
@@ -2003,21 +2003,21 @@ function $r(e, t) {
2003
2003
  }) : r;
2004
2004
  }, []);
2005
2005
  }
2006
- function qa(e) {
2007
- return e.replace(Re, "");
2006
+ function cs(e) {
2007
+ return e.replace(De, "");
2008
2008
  }
2009
- function Ur(e, t) {
2010
- var r = qa(e), n = t ? ":".concat(t) : "", i = "".concat(e).concat(n), a = "".concat(r).concat(n), s = "".concat(r, "End").concat(n);
2009
+ function Vr(e, t) {
2010
+ var r = cs(e), n = t ? ":".concat(t) : "", i = "".concat(e).concat(n), a = "".concat(r).concat(n), s = "".concat(r, "End").concat(n);
2011
2011
  return [i, a, s];
2012
2012
  }
2013
- function Ba(e, t, r) {
2014
- var n = Ur(e), i = n.map(function(a) {
2015
- return $r(a, t);
2013
+ function ls(e, t, r) {
2014
+ var n = Vr(e), i = n.map(function(a) {
2015
+ return Wr(a, t);
2016
2016
  });
2017
2017
  return t.reduce(function(a, s) {
2018
- var o = s.name, u = Ur(e, o), l = u.map(function(v) {
2019
- return $r(v, t);
2020
- }), c = Fa(l, 3), m = c[0], f = c[1], S = c[2];
2018
+ var o = s.name, u = Vr(e, o), l = u.map(function(v) {
2019
+ return Wr(v, t);
2020
+ }), c = ss(l, 3), m = c[0], f = c[1], S = c[2];
2021
2021
  return m.length && (a.beforeNS[o] = m), f.length && (a.duringNS[o] = f), S.length && (a.afterNS[o] = S), a;
2022
2022
  }, {
2023
2023
  before: i[0],
@@ -2028,42 +2028,42 @@ function Ba(e, t, r) {
2028
2028
  afterNS: {}
2029
2029
  });
2030
2030
  }
2031
- function yt(e, t) {
2031
+ function St(e, t) {
2032
2032
  var r = e.abort;
2033
- return r ? r === !0 ? !0 : Lr(r, t) || r && Lr(r.plugins, t) : !1;
2033
+ return r ? r === !0 ? !0 : Gr(r, t) || r && Gr(r.plugins, t) : !1;
2034
2034
  }
2035
- function Hn(e, t) {
2035
+ function Yn(e, t) {
2036
2036
  var r = e.abort;
2037
2037
  if (!r) return !1;
2038
2038
  if (r === !0 || et(r)) return !0;
2039
2039
  var n = r.plugins;
2040
- return Ge(r) && r.length === t || Ge(n) && n.length === t;
2040
+ return He(r) && r.length === t || He(n) && n.length === t;
2041
2041
  }
2042
- function Ge(e) {
2042
+ function He(e) {
2043
2043
  return Array.isArray(e);
2044
2044
  }
2045
- function Lr(e, t) {
2046
- return !e || !Ge(e) ? !1 : e.includes(t);
2045
+ function Gr(e, t) {
2046
+ return !e || !He(e) ? !1 : e.includes(t);
2047
2047
  }
2048
- function Ya(e, t) {
2048
+ function fs(e, t) {
2049
2049
  return function(r, n, i) {
2050
2050
  var a = n.config, s = n.name, o = "".concat(s, ".").concat(r.type);
2051
2051
  i && (o = i.event);
2052
- var u = r.type.match(Re) ? Ja(s, o, t, i, r) : Xa(r, o);
2052
+ var u = r.type.match(De) ? ds(s, o, t, i, r) : ps(r, o);
2053
2053
  return {
2054
2054
  /* self: plugin, for future maybe */
2055
2055
  // clone objects to avoid reassign
2056
- payload: Za(r),
2056
+ payload: hs(r),
2057
2057
  instance: e,
2058
2058
  config: a || {},
2059
2059
  abort: u
2060
2060
  };
2061
2061
  };
2062
2062
  }
2063
- function Ja(e, t, r, n, i) {
2063
+ function ds(e, t, r, n, i) {
2064
2064
  return function(a, s) {
2065
- var o = n ? n.name : e, u = s && Ge(s) ? s : r;
2066
- if (n && (u = s && Ge(s) ? s : [e], !u.includes(e) || u.length !== 1))
2065
+ var o = n ? n.name : e, u = s && He(s) ? s : r;
2066
+ if (n && (u = s && He(s) ? s : [e], !u.includes(e) || u.length !== 1))
2067
2067
  throw new Error("Method ".concat(t, " can only abort ").concat(e, " plugin. ").concat(JSON.stringify(u), " input valid"));
2068
2068
  return I(I({}, i), {}, {
2069
2069
  // 🔥 todo verify this merge is ok
@@ -2076,79 +2076,79 @@ function Ja(e, t, r, n, i) {
2076
2076
  });
2077
2077
  };
2078
2078
  }
2079
- function Xa(e, t) {
2079
+ function ps(e, t) {
2080
2080
  return function() {
2081
2081
  throw new Error(e.type + " action not cancellable. Remove abort in " + t);
2082
2082
  };
2083
2083
  }
2084
- function Qa(e, t) {
2085
- var r = zr(e), n = r && r.name === t;
2084
+ function gs(e, t) {
2085
+ var r = Hr(e), n = r && r.name === t;
2086
2086
  if (n) {
2087
- var i = zr(r.method), a = i ? "or " + i.method : "";
2087
+ var i = Hr(r.method), a = i ? "or " + i.method : "";
2088
2088
  throw new Error([t + " plugin is calling method " + e, "Plugins cant call self", "Use ".concat(r.method, " ").concat(a, " in ").concat(t, " plugin insteadof ").concat(e)].join(`
2089
2089
  `));
2090
2090
  }
2091
2091
  }
2092
- function zr(e) {
2092
+ function Hr(e) {
2093
2093
  var t = e.match(/(.*):(.*)/);
2094
2094
  return t ? {
2095
2095
  method: t[1],
2096
2096
  name: t[2]
2097
2097
  } : !1;
2098
2098
  }
2099
- function Za(e) {
2099
+ function hs(e) {
2100
2100
  return Object.keys(e).reduce(function(t, r) {
2101
2101
  return r === "type" || (ne(e[r]) ? t[r] = Object.assign({}, e[r]) : t[r] = e[r]), t;
2102
2102
  }, {});
2103
2103
  }
2104
- function es(e, t, r) {
2104
+ function ms(e, t, r) {
2105
2105
  var n = {};
2106
2106
  return function(i) {
2107
2107
  return function(a) {
2108
2108
  return /* @__PURE__ */ function() {
2109
- var s = oe(/* @__PURE__ */ X.mark(function o(u) {
2109
+ var s = ue(/* @__PURE__ */ X.mark(function o(u) {
2110
2110
  var l, c, m, f, S, v, O, b, y, d, P, A;
2111
- return X.wrap(function(R) {
2111
+ return X.wrap(function(x) {
2112
2112
  for (; ; )
2113
- switch (R.prev = R.next) {
2113
+ switch (x.prev = x.next) {
2114
2114
  case 0:
2115
2115
  if (l = u.type, c = u.abort, m = u.plugins, f = u, !c) {
2116
- R.next = 4;
2116
+ x.next = 4;
2117
2117
  break;
2118
2118
  }
2119
- return R.abrupt("return", a(u));
2119
+ return x.abrupt("return", a(u));
2120
2120
  case 4:
2121
- if (l === _.enablePlugin && i.dispatch({
2122
- type: _.initializeStart,
2121
+ if (l === $.enablePlugin && i.dispatch({
2122
+ type: $.initializeStart,
2123
2123
  plugins: m,
2124
2124
  disabled: [],
2125
2125
  fromEnable: !0,
2126
2126
  meta: u.meta
2127
- }), l === _.disablePlugin && setTimeout(function() {
2128
- return Vn(u.meta.rid, {
2127
+ }), l === $.disablePlugin && setTimeout(function() {
2128
+ return Kn(u.meta.rid, {
2129
2129
  payload: u
2130
2130
  });
2131
- }, 0), l === _.initializeEnd && (S = t(), v = Object.keys(S), O = v.filter(function(x) {
2132
- return m.includes(x);
2133
- }).map(function(x) {
2134
- return S[x];
2135
- }), b = [], y = [], d = u.disabled, P = O.map(function(x) {
2136
- var N = x.loaded, U = x.name;
2137
- return Gn(x, N, 1e4).then(function(D) {
2131
+ }, 0), l === $.initializeEnd && (S = t(), v = Object.keys(S), O = v.filter(function(R) {
2132
+ return m.includes(R);
2133
+ }).map(function(R) {
2134
+ return S[R];
2135
+ }), b = [], y = [], d = u.disabled, P = O.map(function(R) {
2136
+ var N = R.loaded, U = R.name;
2137
+ return qn(R, N, 1e4).then(function(D) {
2138
2138
  return n[U] || (i.dispatch({
2139
- type: _.pluginReadyType(U),
2139
+ type: $.pluginReadyType(U),
2140
2140
  // `ready:${name}`
2141
2141
  name: U,
2142
- events: Object.keys(x).filter(function(L) {
2143
- return !Ft.includes(L);
2142
+ events: Object.keys(R).filter(function(L) {
2143
+ return !Bt.includes(L);
2144
2144
  })
2145
- }), n[U] = !0), b = b.concat(U), x;
2145
+ }), n[U] = !0), b = b.concat(U), R;
2146
2146
  }).catch(function(D) {
2147
2147
  if (D instanceof Error)
2148
2148
  throw new Error(D);
2149
2149
  return y = y.concat(D.name), D;
2150
2150
  });
2151
- }), Promise.all(P).then(function(x) {
2151
+ }), Promise.all(P).then(function(R) {
2152
2152
  var N = {
2153
2153
  plugins: b,
2154
2154
  failed: y,
@@ -2156,23 +2156,23 @@ function es(e, t, r) {
2156
2156
  };
2157
2157
  setTimeout(function() {
2158
2158
  v.length === P.length + d.length && i.dispatch(I(I({}, {
2159
- type: _.ready
2159
+ type: $.ready
2160
2160
  }), N));
2161
2161
  }, 0);
2162
- })), l === _.bootstrap) {
2163
- R.next = 13;
2162
+ })), l === $.bootstrap) {
2163
+ x.next = 13;
2164
2164
  break;
2165
2165
  }
2166
2166
  return /^ready:([^:]*)$/.test(l) && setTimeout(function() {
2167
- return Fn(i, t, e);
2168
- }, 0), R.next = 11, Ka(u, t, e, i, r);
2167
+ return Bn(i, t, e);
2168
+ }, 0), x.next = 11, us(u, t, e, i, r);
2169
2169
  case 11:
2170
- return A = R.sent, R.abrupt("return", a(A));
2170
+ return A = x.sent, x.abrupt("return", a(A));
2171
2171
  case 13:
2172
- return R.abrupt("return", a(f));
2172
+ return x.abrupt("return", a(f));
2173
2173
  case 14:
2174
2174
  case "end":
2175
- return R.stop();
2175
+ return x.stop();
2176
2176
  }
2177
2177
  }, o);
2178
2178
  }));
@@ -2183,40 +2183,40 @@ function es(e, t, r) {
2183
2183
  };
2184
2184
  };
2185
2185
  }
2186
- function ts(e) {
2186
+ function vs(e) {
2187
2187
  return function(t) {
2188
2188
  return function(r) {
2189
2189
  return function(n) {
2190
2190
  var i = n.type, a = n.key, s = n.value, o = n.options;
2191
- if (i === _.setItem || i === _.removeItem) {
2191
+ if (i === $.setItem || i === $.removeItem) {
2192
2192
  if (n.abort)
2193
2193
  return r(n);
2194
- i === _.setItem ? e.setItem(a, s, o) : e.removeItem(a, o);
2194
+ i === $.setItem ? e.setItem(a, s, o) : e.removeItem(a, o);
2195
2195
  }
2196
2196
  return r(n);
2197
2197
  };
2198
2198
  };
2199
2199
  };
2200
2200
  }
2201
- function rs(e, t, r) {
2201
+ function ys(e, t, r) {
2202
2202
  return Object.defineProperty(e, "prototype", {
2203
2203
  writable: !1
2204
2204
  }), e;
2205
2205
  }
2206
- function ns(e, t) {
2206
+ function bs(e, t) {
2207
2207
  if (!(e instanceof t))
2208
2208
  throw new TypeError("Cannot call a class as a function");
2209
2209
  }
2210
- var is = /* @__PURE__ */ rs(function e() {
2210
+ var ws = /* @__PURE__ */ ys(function e() {
2211
2211
  var t = this;
2212
- ns(this, e), ge(this, "before", []), ge(this, "after", []), ge(this, "addMiddleware", function(r, n) {
2212
+ bs(this, e), me(this, "before", []), me(this, "after", []), me(this, "addMiddleware", function(r, n) {
2213
2213
  t[n] = t[n].concat(r);
2214
- }), ge(this, "removeMiddleware", function(r, n) {
2214
+ }), me(this, "removeMiddleware", function(r, n) {
2215
2215
  var i = t[n].findIndex(function(a) {
2216
2216
  return a === r;
2217
2217
  });
2218
- i !== -1 && (t[n] = [].concat($e(t[n].slice(0, i)), $e(t[n].slice(i + 1))));
2219
- }), ge(this, "dynamicMiddlewares", function(r) {
2218
+ i !== -1 && (t[n] = [].concat(ze(t[n].slice(0, i)), ze(t[n].slice(i + 1))));
2219
+ }), me(this, "dynamicMiddlewares", function(r) {
2220
2220
  return function(n) {
2221
2221
  return function(i) {
2222
2222
  return function(a) {
@@ -2228,19 +2228,19 @@ var is = /* @__PURE__ */ rs(function e() {
2228
2228
  }, o = t[r].map(function(u) {
2229
2229
  return u(s);
2230
2230
  });
2231
- return xe.apply(void 0, $e(o))(i)(a);
2231
+ return Me.apply(void 0, ze(o))(i)(a);
2232
2232
  };
2233
2233
  };
2234
2234
  };
2235
2235
  });
2236
2236
  });
2237
- function as(e) {
2237
+ function Ss(e) {
2238
2238
  return function() {
2239
2239
  var r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = arguments.length > 1 ? arguments[1] : void 0, i = {};
2240
2240
  if (n.type === "initialize:aborted")
2241
2241
  return r;
2242
2242
  if (/^registerPlugin:([^:]*)$/.test(n.type)) {
2243
- var a = Wr(n.type, "registerPlugin"), s = e()[a];
2243
+ var a = Fr(n.type, "registerPlugin"), s = e()[a];
2244
2244
  if (!s || !a)
2245
2245
  return r;
2246
2246
  var o = n.enabled;
@@ -2254,7 +2254,7 @@ function as(e) {
2254
2254
  }, I(I({}, r), i);
2255
2255
  }
2256
2256
  if (/^initialize:([^:]*)$/.test(n.type)) {
2257
- var u = Wr(n.type, _.initialize), l = e()[u];
2257
+ var u = Fr(n.type, $.initialize), l = e()[u];
2258
2258
  return !l || !u ? r : (i[u] = I(I({}, r[u]), {
2259
2259
  initialized: !0,
2260
2260
  /* check plugin.loaded function */
@@ -2275,42 +2275,42 @@ function as(e) {
2275
2275
  return { ...state, ...newState }
2276
2276
  */
2277
2277
  /* When analytics.plugins.disable called */
2278
- case _.disablePlugin:
2279
- return I(I({}, r), Vr(n.plugins, !1, r));
2278
+ case $.disablePlugin:
2279
+ return I(I({}, r), Kr(n.plugins, !1, r));
2280
2280
  /* When analytics.plugins.enable called */
2281
- case _.enablePlugin:
2282
- return I(I({}, r), Vr(n.plugins, !0, r));
2281
+ case $.enablePlugin:
2282
+ return I(I({}, r), Kr(n.plugins, !0, r));
2283
2283
  default:
2284
2284
  return r;
2285
2285
  }
2286
2286
  };
2287
2287
  }
2288
- function Wr(e, t) {
2288
+ function Fr(e, t) {
2289
2289
  return e.substring(t.length + 1, e.length);
2290
2290
  }
2291
- function Vr(e, t, r) {
2291
+ function Kr(e, t, r) {
2292
2292
  return e.reduce(function(n, i) {
2293
2293
  return n[i] = I(I({}, r[i]), {
2294
2294
  enabled: t
2295
2295
  }), n;
2296
2296
  }, r);
2297
2297
  }
2298
- function Kn(e) {
2298
+ function Jn(e) {
2299
2299
  try {
2300
2300
  return JSON.parse(JSON.stringify(e));
2301
2301
  } catch {
2302
2302
  }
2303
2303
  return e;
2304
2304
  }
2305
- var ss = {
2305
+ var Es = {
2306
2306
  last: {},
2307
2307
  history: []
2308
2308
  };
2309
- function os() {
2310
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ss, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.event, i = t.properties, a = t.options, s = t.meta;
2309
+ function As() {
2310
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Es, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.event, i = t.properties, a = t.options, s = t.meta;
2311
2311
  switch (r) {
2312
- case _.track:
2313
- var o = Kn(I(I({
2312
+ case $.track:
2313
+ var o = Jn(I(I({
2314
2314
  event: n,
2315
2315
  properties: i
2316
2316
  }, Object.keys(a).length && {
@@ -2327,15 +2327,15 @@ function os() {
2327
2327
  return e;
2328
2328
  }
2329
2329
  }
2330
- var us = {
2330
+ var Os = {
2331
2331
  actions: []
2332
2332
  };
2333
- function cs() {
2334
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : us, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.payload;
2333
+ function Is() {
2334
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Os, t = arguments.length > 1 ? arguments[1] : void 0, r = t.type, n = t.payload;
2335
2335
  switch (r) {
2336
2336
  case "queue":
2337
2337
  var i;
2338
- return n && n.type && n.type === _.identify ? i = [t].concat(e.actions) : i = e.actions.concat(t), I(I({}, e), {}, {
2338
+ return n && n.type && n.type === $.identify ? i = [t].concat(e.actions) : i = e.actions.concat(t), I(I({}, e), {}, {
2339
2339
  actions: i
2340
2340
  });
2341
2341
  case "dequeue":
@@ -2345,44 +2345,44 @@ function cs() {
2345
2345
  return e;
2346
2346
  }
2347
2347
  }
2348
- var qn = /#.*$/;
2349
- function ls() {
2350
- if (le) {
2348
+ var Xn = /#.*$/;
2349
+ function Ps() {
2350
+ if (de) {
2351
2351
  for (var e = document.getElementsByTagName("link"), t = 0, r; r = e[t]; t++)
2352
2352
  if (r.getAttribute("rel") === "canonical")
2353
2353
  return r.getAttribute("href");
2354
2354
  }
2355
2355
  }
2356
- function fs(e) {
2357
- var t = /(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g, r = t.exec(e), n = r && r[3] ? r[3].split("?")[0].replace(qn, "") : "";
2356
+ function Ts(e) {
2357
+ var t = /(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g, r = t.exec(e), n = r && r[3] ? r[3].split("?")[0].replace(Xn, "") : "";
2358
2358
  return "/" + n;
2359
2359
  }
2360
- function ds(e) {
2361
- var t = ls();
2362
- return t ? t.match(/\?/) ? t : t + e : window.location.href.replace(qn, "");
2360
+ function js(e) {
2361
+ var t = Ps();
2362
+ return t ? t.match(/\?/) ? t : t + e : window.location.href.replace(Xn, "");
2363
2363
  }
2364
- var ps = function() {
2364
+ var Ns = function() {
2365
2365
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2366
- if (!le) return t;
2367
- var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, u = a.innerHeight, l = s.hash, c = s.search, m = ds(c), f = {
2366
+ if (!de) return t;
2367
+ var r = document, n = r.title, i = r.referrer, a = window, s = a.location, o = a.innerWidth, u = a.innerHeight, l = s.hash, c = s.search, m = js(c), f = {
2368
2368
  title: n,
2369
2369
  url: m,
2370
- path: fs(m),
2370
+ path: Ts(m),
2371
2371
  hash: l,
2372
2372
  search: c,
2373
2373
  width: o,
2374
2374
  height: u
2375
2375
  };
2376
2376
  return i && i !== "" && (f.referrer = i), I(I({}, f), t);
2377
- }, gs = {
2377
+ }, Rs = {
2378
2378
  last: {},
2379
2379
  history: []
2380
2380
  };
2381
- function hs() {
2382
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : gs, t = arguments.length > 1 ? arguments[1] : void 0, r = t.properties, n = t.options, i = t.meta;
2381
+ function xs() {
2382
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Rs, t = arguments.length > 1 ? arguments[1] : void 0, r = t.properties, n = t.options, i = t.meta;
2383
2383
  switch (t.type) {
2384
- case _.page:
2385
- var a = Kn(I({
2384
+ case $.page:
2385
+ var a = Jn(I({
2386
2386
  properties: r,
2387
2387
  meta: i
2388
2388
  }, Object.keys(n).length && {
@@ -2397,88 +2397,88 @@ function hs() {
2397
2397
  return e;
2398
2398
  }
2399
2399
  }
2400
- function ms() {
2401
- if (!le) return !1;
2400
+ function ks() {
2401
+ if (!de) return !1;
2402
2402
  var e = navigator.appVersion;
2403
2403
  return ~e.indexOf("Win") ? "Windows" : ~e.indexOf("Mac") ? "MacOS" : ~e.indexOf("X11") ? "UNIX" : ~e.indexOf("Linux") ? "Linux" : "Unknown OS";
2404
2404
  }
2405
- var Bn, Yn, Jn, Xn;
2406
- Bn = ms(), Yn = le ? document.referrer : null, Jn = ha(), Xn = ma();
2407
- var Gr = {
2405
+ var Qn, Zn, ei, ti;
2406
+ Qn = ks(), Zn = de ? document.referrer : null, ei = xa(), ti = ka();
2407
+ var qr = {
2408
2408
  initialized: !1,
2409
- sessionId: we(),
2409
+ sessionId: Oe(),
2410
2410
  app: null,
2411
2411
  version: null,
2412
2412
  debug: !1,
2413
- offline: le ? !navigator.onLine : !1,
2413
+ offline: de ? !navigator.onLine : !1,
2414
2414
  // use node network is-online
2415
2415
  os: {
2416
- name: Bn
2416
+ name: Qn
2417
2417
  },
2418
- userAgent: le ? navigator.userAgent : "node",
2418
+ userAgent: de ? navigator.userAgent : "node",
2419
2419
  // https://github.com/bestiejs/platform.js
2420
2420
  library: {
2421
- name: Gt,
2421
+ name: qt,
2422
2422
  // TODO fix version number. npm run publish:patch has wrong version
2423
2423
  version: "0.10.22"
2424
2424
  },
2425
- timezone: Xn,
2426
- locale: Jn,
2425
+ timezone: ti,
2426
+ locale: ei,
2427
2427
  campaign: {},
2428
- referrer: Yn
2428
+ referrer: Zn
2429
2429
  };
2430
- function vs() {
2431
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : Gr, t = arguments.length > 1 ? arguments[1] : void 0, r = e.initialized, n = t.type, i = t.campaign;
2430
+ function Cs() {
2431
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : qr, t = arguments.length > 1 ? arguments[1] : void 0, r = e.initialized, n = t.type, i = t.campaign;
2432
2432
  switch (n) {
2433
- case _.campaign:
2433
+ case $.campaign:
2434
2434
  return I(I({}, e), {
2435
2435
  campaign: i
2436
2436
  });
2437
- case _.offline:
2437
+ case $.offline:
2438
2438
  return I(I({}, e), {
2439
2439
  offline: !0
2440
2440
  });
2441
- case _.online:
2441
+ case $.online:
2442
2442
  return I(I({}, e), {
2443
2443
  offline: !1
2444
2444
  });
2445
2445
  default:
2446
- return r ? e : I(I(I({}, Gr), e), {
2446
+ return r ? e : I(I(I({}, qr), e), {
2447
2447
  initialized: !0
2448
2448
  });
2449
2449
  }
2450
2450
  }
2451
- var ys = ["plugins", "reducers", "storage"];
2452
- function bs(e) {
2451
+ var Ms = ["plugins", "reducers", "storage"];
2452
+ function Ds(e) {
2453
2453
  return Object.keys(e).reduce(function(t, r) {
2454
- return ys.includes(r) || (t[r] = e[r]), t;
2454
+ return Ms.includes(r) || (t[r] = e[r]), t;
2455
2455
  }, {});
2456
2456
  }
2457
- function ws(e, t, r) {
2458
- if (le) {
2457
+ function $s(e, t, r) {
2458
+ if (de) {
2459
2459
  var n = window[(r ? "add" : "remove") + "EventListener"];
2460
2460
  e.split(" ").forEach(function(i) {
2461
2461
  n(i, t);
2462
2462
  });
2463
2463
  }
2464
2464
  }
2465
- function Ss() {
2465
+ function _s() {
2466
2466
  return Promise.resolve(!navigator.onLine);
2467
2467
  }
2468
- function Es(e) {
2468
+ function Us(e) {
2469
2469
  var t = function(i) {
2470
- return Ss().then(e);
2471
- }, r = ws.bind(null, "online offline", t);
2470
+ return _s().then(e);
2471
+ }, r = $s.bind(null, "online offline", t);
2472
2472
  return r(!0), function(n) {
2473
2473
  return r(!1);
2474
2474
  };
2475
2475
  }
2476
- function Qn() {
2477
- return ce(Gt, []), function(e) {
2476
+ function ri() {
2477
+ return fe(qt, []), function(e) {
2478
2478
  return function(t, r, n) {
2479
2479
  var i = e(t, r, n), a = i.dispatch, s = function(u) {
2480
2480
  var l = u.action || u;
2481
- return Ne[je][Gt].push(l), a(u);
2481
+ return Ce[ke][qt].push(l), a(u);
2482
2482
  };
2483
2483
  return Object.assign(i, {
2484
2484
  dispatch: s
@@ -2486,45 +2486,45 @@ function Qn() {
2486
2486
  };
2487
2487
  };
2488
2488
  }
2489
- function Fr(e) {
2489
+ function Br(e) {
2490
2490
  return function() {
2491
- return xe(xe.apply(null, arguments), Qn());
2491
+ return Me(Me.apply(null, arguments), ri());
2492
2492
  };
2493
2493
  }
2494
- function bt(e) {
2495
- return e ? wa(e) ? e : [e] : [];
2494
+ function Et(e) {
2495
+ return e ? $a(e) ? e : [e] : [];
2496
2496
  }
2497
- function As(e) {
2497
+ function Ls(e) {
2498
2498
  for (var t = e || Array.prototype.slice.call(arguments), r, n = 0; n < t.length; n++)
2499
- if (se(t[n])) {
2499
+ if (oe(t[n])) {
2500
2500
  r = t[n];
2501
2501
  break;
2502
2502
  }
2503
2503
  return r;
2504
2504
  }
2505
- function Os() {
2505
+ function zs() {
2506
2506
  return (/* @__PURE__ */ new Date()).getTime();
2507
2507
  }
2508
- function Is(e, t) {
2508
+ function Ws(e, t) {
2509
2509
  return function(r) {
2510
2510
  t && t(r), e(r);
2511
2511
  };
2512
2512
  }
2513
- function Hr() {
2514
- var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, n = we();
2515
- return t && (Me[n] = Is(t, As(r))), I(I({}, e), {}, {
2513
+ function Yr() {
2514
+ var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 ? arguments[1] : void 0, r = arguments.length > 2 ? arguments[2] : void 0, n = Oe();
2515
+ return t && (Ue[n] = Ws(t, Ls(r))), I(I({}, e), {}, {
2516
2516
  rid: n,
2517
- ts: Os()
2517
+ ts: zs()
2518
2518
  }, t ? {
2519
2519
  hasCallback: !0
2520
2520
  } : {});
2521
2521
  }
2522
- function Ps() {
2522
+ function Vs() {
2523
2523
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.reducers || {}, r = e.initialUser || {}, n = (e.plugins || []).reduce(function(h, g) {
2524
- if (se(g))
2524
+ if (oe(g))
2525
2525
  return h.middlewares = h.middlewares.concat(g), h;
2526
2526
  if (g.NAMESPACE && (g.name = g.NAMESPACE), !g.name)
2527
- throw new Error(xa + "1");
2527
+ throw new Error(Ka + "1");
2528
2528
  var w = g.EVENTS ? Object.keys(g.EVENTS).map(function(B) {
2529
2529
  return g.EVENTS[B];
2530
2530
  }) : [], T = g.enabled !== !1, M = !(g.config && g.config.enabled === !1);
@@ -2545,23 +2545,23 @@ function Ps() {
2545
2545
  middlewares: [],
2546
2546
  events: []
2547
2547
  }), i = e.storage ? e.storage : {
2548
- getItem: fe,
2549
- setItem: ce,
2550
- removeItem: Se
2551
- }, a = _a(i), s = n.plugins, o = n.events.filter(function(h) {
2552
- return !Ft.includes(h);
2553
- }).sort(), u = new Set(o.concat(nt).filter(function(h) {
2554
- return !Ft.includes(h);
2548
+ getItem: pe,
2549
+ setItem: fe,
2550
+ removeItem: Ie
2551
+ }, a = Qa(i), s = n.plugins, o = n.events.filter(function(h) {
2552
+ return !Bt.includes(h);
2553
+ }).sort(), u = new Set(o.concat(it).filter(function(h) {
2554
+ return !Bt.includes(h);
2555
2555
  })), l = Array.from(u).sort(), c = function() {
2556
2556
  return s;
2557
- }, m = new is(), f = m.addMiddleware, S = m.removeMiddleware, v = m.dynamicMiddlewares, O = function() {
2557
+ }, m = new ws(), f = m.addMiddleware, S = m.removeMiddleware, v = m.dynamicMiddlewares, O = function() {
2558
2558
  throw new Error("Abort disabled inListener");
2559
- }, b = va(), y = Wn(i), d = I(I(I(I({}, y), r), b.an_uid ? {
2559
+ }, b = Ca(), y = Fn(i), d = I(I(I(I({}, y), r), b.an_uid ? {
2560
2560
  userId: b.an_uid
2561
2561
  } : {}), b.an_aid ? {
2562
2562
  anonymousId: b.an_aid
2563
2563
  } : {});
2564
- d.anonymousId || (d.anonymousId = we());
2564
+ d.anonymousId || (d.anonymousId = Oe());
2565
2565
  var P = I({
2566
2566
  /**
2567
2567
  * Enable analytics plugin
@@ -2583,10 +2583,10 @@ function Ps() {
2583
2583
  enable: function(g, w) {
2584
2584
  return new Promise(function(T) {
2585
2585
  C.dispatch({
2586
- type: _.enablePlugin,
2587
- plugins: bt(g),
2586
+ type: $.enablePlugin,
2587
+ plugins: Et(g),
2588
2588
  _: {
2589
- originalAction: _.enablePlugin
2589
+ originalAction: $.enablePlugin
2590
2590
  }
2591
2591
  }, T, [w]);
2592
2592
  });
@@ -2610,10 +2610,10 @@ function Ps() {
2610
2610
  disable: function(g, w) {
2611
2611
  return new Promise(function(T) {
2612
2612
  C.dispatch({
2613
- type: _.disablePlugin,
2614
- plugins: bt(g),
2613
+ type: $.disablePlugin,
2614
+ plugins: Et(g),
2615
2615
  _: {
2616
- originalAction: _.disablePlugin
2616
+ originalAction: $.disablePlugin
2617
2617
  }
2618
2618
  }, T, [w]);
2619
2619
  });
@@ -2663,26 +2663,26 @@ function Ps() {
2663
2663
  * })
2664
2664
  */
2665
2665
  identify: function() {
2666
- var h = oe(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
2666
+ var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
2667
2667
  var V, B, K, q, Y;
2668
- return X.wrap(function(Ee) {
2668
+ return X.wrap(function(Pe) {
2669
2669
  for (; ; )
2670
- switch (Ee.prev = Ee.next) {
2670
+ switch (Pe.prev = Pe.next) {
2671
2671
  case 0:
2672
- return V = et(T) ? T : null, B = ne(T) ? T : M, K = k || {}, q = A.user(), ce(cr(pe), V), Y = V || B.userId || a(pe, A, B), Ee.abrupt("return", new Promise(function(ki) {
2672
+ return V = et(T) ? T : null, B = ne(T) ? T : M, K = k || {}, q = A.user(), fe(pr(he), V), Y = V || B.userId || a(he, A, B), Pe.abrupt("return", new Promise(function(_i) {
2673
2673
  C.dispatch(I({
2674
- type: _.identifyStart,
2674
+ type: $.identifyStart,
2675
2675
  userId: Y,
2676
2676
  traits: B || {},
2677
2677
  options: K,
2678
2678
  anonymousId: q.anonymousId
2679
2679
  }, q.id && q.id !== V && {
2680
2680
  previousId: q.id
2681
- }), ki, [M, k, W]);
2681
+ }), _i, [M, k, W]);
2682
2682
  }));
2683
2683
  case 7:
2684
2684
  case "end":
2685
- return Ee.stop();
2685
+ return Pe.stop();
2686
2686
  }
2687
2687
  }, w);
2688
2688
  }));
@@ -2740,7 +2740,7 @@ function Ps() {
2740
2740
  * })
2741
2741
  */
2742
2742
  track: function() {
2743
- var h = oe(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
2743
+ var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k, W) {
2744
2744
  var V, B, K;
2745
2745
  return X.wrap(function(Y) {
2746
2746
  for (; ; )
@@ -2752,15 +2752,15 @@ function Ps() {
2752
2752
  }
2753
2753
  throw new Error("EventMissing");
2754
2754
  case 3:
2755
- return B = ne(T) ? T : M || {}, K = ne(k) ? k : {}, Y.abrupt("return", new Promise(function(qe) {
2755
+ return B = ne(T) ? T : M || {}, K = ne(k) ? k : {}, Y.abrupt("return", new Promise(function(Be) {
2756
2756
  C.dispatch({
2757
- type: _.trackStart,
2757
+ type: $.trackStart,
2758
2758
  event: V,
2759
2759
  properties: B,
2760
2760
  options: K,
2761
- userId: a(pe, A, M),
2762
- anonymousId: a(Ae, A, M)
2763
- }, qe, [M, k, W]);
2761
+ userId: a(he, A, M),
2762
+ anonymousId: a(Te, A, M)
2763
+ }, Be, [M, k, W]);
2764
2764
  }));
2765
2765
  case 6:
2766
2766
  case "end":
@@ -2815,7 +2815,7 @@ function Ps() {
2815
2815
  * })
2816
2816
  */
2817
2817
  page: function() {
2818
- var h = oe(/* @__PURE__ */ X.mark(function w(T, M, k) {
2818
+ var h = ue(/* @__PURE__ */ X.mark(function w(T, M, k) {
2819
2819
  var W, V;
2820
2820
  return X.wrap(function(K) {
2821
2821
  for (; ; )
@@ -2823,11 +2823,11 @@ function Ps() {
2823
2823
  case 0:
2824
2824
  return W = ne(T) ? T : {}, V = ne(M) ? M : {}, K.abrupt("return", new Promise(function(q) {
2825
2825
  C.dispatch({
2826
- type: _.pageStart,
2827
- properties: ps(W),
2826
+ type: $.pageStart,
2827
+ properties: Ns(W),
2828
2828
  options: V,
2829
- userId: a(pe, A, W),
2830
- anonymousId: a(Ae, A, W)
2829
+ userId: a(he, A, W),
2830
+ anonymousId: a(Te, A, W)
2831
2831
  }, q, [T, M, k]);
2832
2832
  }));
2833
2833
  case 3:
@@ -2859,12 +2859,12 @@ function Ps() {
2859
2859
  * const companyName = analytics.user('traits.company.name')
2860
2860
  */
2861
2861
  user: function(g) {
2862
- if (g === pe || g === "id")
2863
- return a(pe, A);
2864
- if (g === Ae || g === "anonId")
2865
- return a(Ae, A);
2862
+ if (g === he || g === "id")
2863
+ return a(he, A);
2864
+ if (g === Te || g === "anonId")
2865
+ return a(Te, A);
2866
2866
  var w = A.getState("user");
2867
- return g ? Ar(w, g) : w;
2867
+ return g ? jr(w, g) : w;
2868
2868
  },
2869
2869
  /**
2870
2870
  * Clear all information about the visitor & reset analytic state.
@@ -2879,7 +2879,7 @@ function Ps() {
2879
2879
  reset: function(g) {
2880
2880
  return new Promise(function(w) {
2881
2881
  C.dispatch({
2882
- type: _.resetStart
2882
+ type: $.resetStart
2883
2883
  }, w, g);
2884
2884
  });
2885
2885
  },
@@ -2896,7 +2896,7 @@ function Ps() {
2896
2896
  * })
2897
2897
  */
2898
2898
  ready: function(g) {
2899
- return A.on(_.ready, g);
2899
+ return A.on($.ready, g);
2900
2900
  },
2901
2901
  /**
2902
2902
  * Attach an event handler function for analytics lifecycle events.
@@ -2921,9 +2921,9 @@ function Ps() {
2921
2921
  * removeListener()
2922
2922
  */
2923
2923
  on: function(g, w) {
2924
- if (!g || !se(w))
2924
+ if (!g || !oe(w))
2925
2925
  return !1;
2926
- if (g === _.bootstrap)
2926
+ if (g === $.bootstrap)
2927
2927
  throw new Error(".on disabled for " + g);
2928
2928
  var T = /Start$|Start:/;
2929
2929
  if (g === "*") {
@@ -2994,9 +2994,9 @@ function Ps() {
2994
2994
  * listener()
2995
2995
  */
2996
2996
  once: function(g, w) {
2997
- if (!g || !se(w))
2997
+ if (!g || !oe(w))
2998
2998
  return !1;
2999
- if (g === _.bootstrap)
2999
+ if (g === $.bootstrap)
3000
3000
  throw new Error(".once disabled for " + g);
3001
3001
  var T = A.on(g, function(M) {
3002
3002
  var k = M.payload;
@@ -3026,7 +3026,7 @@ function Ps() {
3026
3026
  */
3027
3027
  getState: function(g) {
3028
3028
  var w = C.getState();
3029
- return g ? Ar(w, g) : Object.assign({}, w);
3029
+ return g ? jr(w, g) : Object.assign({}, w);
3030
3030
  },
3031
3031
  /*
3032
3032
  * Emit events for other plugins or middleware to react to.
@@ -3036,7 +3036,7 @@ function Ps() {
3036
3036
  var w = et(g) ? {
3037
3037
  type: g
3038
3038
  } : g;
3039
- if (Ca(w.type))
3039
+ if (Ya(w.type))
3040
3040
  throw new Error("reserved action " + w.type);
3041
3041
  var T = g._ || {}, M = I(I({}, w), {}, {
3042
3042
  _: I({
@@ -3103,7 +3103,7 @@ function Ps() {
3103
3103
  */
3104
3104
  setItem: function(g, w, T) {
3105
3105
  C.dispatch({
3106
- type: _.setItemStart,
3106
+ type: $.setItemStart,
3107
3107
  key: g,
3108
3108
  value: w,
3109
3109
  options: T
@@ -3121,7 +3121,7 @@ function Ps() {
3121
3121
  */
3122
3122
  removeItem: function(g, w) {
3123
3123
  C.dispatch({
3124
- type: _.removeItemStart,
3124
+ type: $.removeItemStart,
3125
3125
  key: g,
3126
3126
  options: w
3127
3127
  });
@@ -3138,7 +3138,7 @@ function Ps() {
3138
3138
  * analytics.setAnonymousId('1234567')
3139
3139
  */
3140
3140
  setAnonymousId: function(g, w) {
3141
- A.storage.setItem(me, g, w);
3141
+ A.storage.setItem(ye, g, w);
3142
3142
  },
3143
3143
  /*
3144
3144
  * Events exposed by core analytics library and all loaded plugins
@@ -3146,49 +3146,49 @@ function Ps() {
3146
3146
  */
3147
3147
  events: {
3148
3148
  all: l,
3149
- core: nt,
3149
+ core: it,
3150
3150
  plugins: o
3151
3151
  // byType: (type) => {} @Todo grab logic from engine and give inspectable events
3152
3152
  }
3153
3153
  }, j = function(g) {
3154
3154
  return function(w) {
3155
3155
  return function(T) {
3156
- return T.meta || (T.meta = Hr()), w(T);
3156
+ return T.meta || (T.meta = Yr()), w(T);
3157
3157
  };
3158
3158
  };
3159
- }, R = n.middlewares.concat([
3159
+ }, x = n.middlewares.concat([
3160
3160
  j,
3161
3161
  /* Core analytics middleware */
3162
3162
  v(Xe),
3163
3163
  // Before dynamic middleware <-- fixed pageStart .on listener
3164
3164
  /* Plugin engine */
3165
- es(A, c, {
3165
+ ms(A, c, {
3166
3166
  all: l,
3167
3167
  plugins: o
3168
3168
  }),
3169
- ts(i),
3170
- Ma(A),
3171
- $a(A),
3169
+ vs(i),
3170
+ Ja(A),
3171
+ Za(A),
3172
3172
  /* after dynamic middleware */
3173
3173
  v(Qe)
3174
- ]), x = {
3175
- context: vs,
3176
- user: Da(i),
3177
- page: hs,
3178
- track: os,
3179
- plugins: as(c),
3180
- queue: cs
3181
- }, N = xe, U = xe;
3182
- if (le && e.debug) {
3174
+ ]), R = {
3175
+ context: Cs,
3176
+ user: Xa(i),
3177
+ page: xs,
3178
+ track: As,
3179
+ plugins: Ss(c),
3180
+ queue: Is
3181
+ }, N = Me, U = Me;
3182
+ if (de && e.debug) {
3183
3183
  var D = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
3184
3184
  D && (N = D({
3185
3185
  trace: !0,
3186
3186
  traceLimit: 25
3187
3187
  })), U = function() {
3188
- return arguments.length === 0 ? Qn() : ne(Q(arguments[0])) ? Fr() : Fr().apply(null, arguments);
3188
+ return arguments.length === 0 ? ri() : ne(Q(arguments[0])) ? Br() : Br().apply(null, arguments);
3189
3189
  };
3190
3190
  }
3191
- var L = bs(e), z = n.pluginsArray.reduce(function(h, g) {
3191
+ var L = Ds(e), z = n.pluginsArray.reduce(function(h, g) {
3192
3192
  var w = g.name, T = g.config, M = g.loaded, k = n.pluginEnabled[w];
3193
3193
  return h[w] = {
3194
3194
  enabled: k,
@@ -3197,68 +3197,68 @@ function Ps() {
3197
3197
  loaded: !!M(),
3198
3198
  config: T || {}
3199
3199
  }, h;
3200
- }, {}), F = {
3200
+ }, {}), H = {
3201
3201
  context: L,
3202
3202
  user: d,
3203
3203
  plugins: z
3204
3204
  // Todo allow for more userland defined initial state?
3205
- }, C = zn(
3205
+ }, C = Hn(
3206
3206
  // register reducers
3207
- ja(I(I({}, x), t)),
3207
+ Ha(I(I({}, R), t)),
3208
3208
  // set user defined initial state
3209
- F,
3209
+ H,
3210
3210
  // register middleware & plugins used
3211
- U(N(Na.apply(void 0, $e(R))))
3211
+ U(N(Fa.apply(void 0, ze(x))))
3212
3212
  );
3213
- function $(h) {
3213
+ function _(h) {
3214
3214
  return function(g, w, T) {
3215
- var M = Hr(g.meta, w, bt(T)), k = I(I({}, g), {
3215
+ var M = Yr(g.meta, w, Et(T)), k = I(I({}, g), {
3216
3216
  meta: M
3217
3217
  });
3218
3218
  return h.apply(null, [k]);
3219
3219
  };
3220
3220
  }
3221
- C.dispatch = $(C.dispatch);
3222
- var H = Object.keys(s);
3221
+ C.dispatch = _(C.dispatch);
3222
+ var F = Object.keys(s);
3223
3223
  C.dispatch({
3224
- type: _.bootstrap,
3225
- plugins: H,
3224
+ type: $.bootstrap,
3225
+ plugins: F,
3226
3226
  config: L,
3227
3227
  params: b,
3228
3228
  user: d,
3229
3229
  initialUser: r,
3230
3230
  persistedUser: y
3231
3231
  });
3232
- var G = H.filter(function(h) {
3232
+ var G = F.filter(function(h) {
3233
3233
  return n.pluginEnabled[h];
3234
- }), E = H.filter(function(h) {
3234
+ }), E = F.filter(function(h) {
3235
3235
  return !n.pluginEnabled[h];
3236
3236
  });
3237
3237
  C.dispatch({
3238
- type: _.registerPlugins,
3239
- plugins: H,
3238
+ type: $.registerPlugins,
3239
+ plugins: F,
3240
3240
  enabled: n.pluginEnabled
3241
3241
  }), n.pluginsArray.map(function(h, g) {
3242
3242
  var w = h.bootstrap, T = h.config, M = h.name;
3243
- w && se(w) && w({
3243
+ w && oe(w) && w({
3244
3244
  instance: A,
3245
3245
  config: T,
3246
3246
  payload: h
3247
3247
  }), C.dispatch({
3248
- type: _.registerPluginType(M),
3248
+ type: $.registerPluginType(M),
3249
3249
  name: M,
3250
3250
  enabled: n.pluginEnabled[M],
3251
3251
  plugin: h
3252
3252
  }), n.pluginsArray.length === g + 1 && C.dispatch({
3253
- type: _.initializeStart,
3253
+ type: $.initializeStart,
3254
3254
  plugins: G,
3255
3255
  disabled: E
3256
3256
  });
3257
- }), Es(function(h) {
3257
+ }), Us(function(h) {
3258
3258
  C.dispatch({
3259
- type: h ? _.offline : _.online
3259
+ type: h ? $.offline : $.online
3260
3260
  });
3261
- }), La(C, c, A);
3261
+ }), ts(C, c, A);
3262
3262
  function p(h) {
3263
3263
  return function() {
3264
3264
  for (var g = Array.prototype.slice.call(arguments), w = new Array(h.length), T = 0; T < g.length; T++)
@@ -3270,109 +3270,109 @@ function Ps() {
3270
3270
  }
3271
3271
  return A;
3272
3272
  }
3273
- var Xe = "before", Qe = "after", Le = "cookie", ve = ti(), lr = lt, Zn = lt;
3274
- function ei(e) {
3275
- return ve ? lt(e, "", -1) : Se(e);
3273
+ var Xe = "before", Qe = "after", Ee = "cookie", be = ai(), gr = ft, ni = ft;
3274
+ function ii(e) {
3275
+ return be ? ft(e, "", -1) : Ie(e);
3276
3276
  }
3277
- function ti() {
3278
- if (ve !== void 0) return ve;
3279
- var e = "cookiecookie";
3277
+ function ai() {
3278
+ if (be !== void 0) return be;
3279
+ var e = Ee + Ee;
3280
3280
  try {
3281
- lt(e, e), ve = document.cookie.indexOf(e) !== -1, ei(e);
3281
+ ft(e, e), be = document.cookie.indexOf(e) !== -1, ii(e);
3282
3282
  } catch {
3283
- ve = !1;
3283
+ be = !1;
3284
3284
  }
3285
- return ve;
3285
+ return be;
3286
3286
  }
3287
- function lt(e, t, r, n, i, a) {
3287
+ function ft(e, t, r, n, i, a) {
3288
3288
  if (typeof window < "u") {
3289
3289
  var s = arguments.length > 1;
3290
- return ve === !1 && (s ? ce(e, t) : fe(e)), s ? document.cookie = e + "=" + encodeURIComponent(t) + (r ? "; expires=" + new Date(+/* @__PURE__ */ new Date() + 1e3 * r).toUTCString() + (n ? "; path=" + n : "") + (i ? "; domain=" + i : "") + (a ? "; secure" : "") : "") : decodeURIComponent((("; " + document.cookie).split("; " + e + "=")[1] || "").split(";")[0]);
3290
+ return be === !1 && (s ? fe(e, t) : pe(e)), s ? document.cookie = e + "=" + encodeURIComponent(t) + (r ? "; expires=" + new Date(+/* @__PURE__ */ new Date() + 1e3 * r).toUTCString() + (n ? "; path=" + n : "") + (i ? "; domain=" + i : "") + (a ? "; secure" : "") : "") : decodeURIComponent((("; " + document.cookie).split("; " + e + "=")[1] || "").split(";")[0]);
3291
3291
  }
3292
3292
  }
3293
- var ze = "localStorage", Ts = ut.bind(null, "localStorage"), fr = de("localStorage", "getItem", fe), js = de("localStorage", "setItem", ce), ri = de("localStorage", "removeItem", Se), We = "sessionStorage", Ns = ut.bind(null, "sessionStorage");
3294
- de("sessionStorage", "getItem", fe);
3295
- de("sessionStorage", "setItem", ce);
3296
- de("sessionStorage", "removeItem", Se);
3297
- var Kr, ni = "any", ii = "*", qt = typeof process < "u" ? process : {};
3298
- (Kr = qt.env) != null && Kr.NODE_ENV;
3299
- var xs = typeof window < "u";
3300
- qt.versions != null && qt.versions.node != null;
3293
+ var le = "localStorage", Gs = ct.bind(null, le), hr = ge(le, "getItem", pe), Hs = ge(le, "setItem", fe), si = ge(le, "removeItem", Ie), Ve = "sessionStorage", Fs = ct.bind(null, "sessionStorage");
3294
+ ge("sessionStorage", "getItem", pe);
3295
+ ge("sessionStorage", "setItem", fe);
3296
+ ge("sessionStorage", "removeItem", Ie);
3297
+ var Jr, oi = "any", ui = "*", Xt = typeof process < "u" ? process : {};
3298
+ (Jr = Xt.env) != null && Jr.NODE_ENV;
3299
+ var Ks = typeof window < "u";
3300
+ Xt.versions != null && Xt.versions.node != null;
3301
3301
  typeof Deno < "u" && Deno.core;
3302
- xs && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
3303
- function ft(e, t) {
3302
+ Ks && window.name === "nodejs" || typeof navigator < "u" && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
3303
+ function dt(e, t) {
3304
3304
  return typeof t === e;
3305
3305
  }
3306
- ft.bind(null, "function");
3307
- var Rs = ft.bind(null, "string"), Oe = ft.bind(null, "undefined");
3308
- ft.bind(null, "boolean");
3309
- function ks(e) {
3306
+ dt.bind(null, "function");
3307
+ var qs = dt.bind(null, "string"), je = dt.bind(null, "undefined");
3308
+ dt.bind(null, "boolean");
3309
+ function Bs(e) {
3310
3310
  return e && (typeof e == "object" || e !== null);
3311
3311
  }
3312
- function Cs(e) {
3313
- if (!ks(e)) return !1;
3312
+ function Ys(e) {
3313
+ if (!Bs(e)) return !1;
3314
3314
  for (var t = e; Object.getPrototypeOf(t) !== null; ) t = Object.getPrototypeOf(t);
3315
3315
  return Object.getPrototypeOf(e) === t;
3316
3316
  }
3317
- function Pe(e) {
3317
+ function Re(e) {
3318
3318
  var t = e;
3319
3319
  try {
3320
3320
  if ((t = JSON.parse(e)) === "true") return !0;
3321
3321
  if (t === "false") return !1;
3322
- if (Cs(t)) return t;
3322
+ if (Ys(t)) return t;
3323
3323
  parseFloat(t) === t && (t = parseFloat(t));
3324
3324
  } catch {
3325
3325
  }
3326
3326
  if (t !== null && t !== "") return t;
3327
3327
  }
3328
- var Ms = Ts(), Ds = Ns(), _s = ti();
3329
- function ai(e, t) {
3328
+ var Js = Gs(), Xs = Fs(), Qs = ai();
3329
+ function ci(e, t) {
3330
3330
  if (e) {
3331
- var r = dr(t), n = !mr(r), i = pr(r) ? Pe(localStorage.getItem(e)) : void 0;
3332
- if (n && !Oe(i)) return i;
3333
- var a = gr(r) ? Pe(lr(e)) : void 0;
3331
+ var r = mr(t), n = !wr(r), i = vr(r) ? Re(localStorage.getItem(e)) : void 0;
3332
+ if (n && !je(i)) return i;
3333
+ var a = yr(r) ? Re(gr(e)) : void 0;
3334
3334
  if (n && a) return a;
3335
- var s = hr(r) ? Pe(sessionStorage.getItem(e)) : void 0;
3335
+ var s = br(r) ? Re(sessionStorage.getItem(e)) : void 0;
3336
3336
  if (n && s) return s;
3337
- var o = fe(e);
3337
+ var o = pe(e);
3338
3338
  return n ? o : { localStorage: i, sessionStorage: s, cookie: a, global: o };
3339
3339
  }
3340
3340
  }
3341
- function $s(e, t, r) {
3342
- if (e && !Oe(t)) {
3343
- var n = {}, i = dr(r), a = JSON.stringify(t), s = !mr(i);
3344
- return pr(i) && (n[ze] = Ze(ze, t, Pe(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[ze] : gr(i) && (n[Le] = Ze(Le, t, Pe(lr(e))), Zn(e, a), s) ? n[Le] : hr(i) && (n[We] = Ze(We, t, Pe(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[We] : (n[_e] = Ze(_e, t, fe(e)), ce(e, t), s ? n[_e] : n);
3341
+ function Zs(e, t, r) {
3342
+ if (e && !je(t)) {
3343
+ var n = {}, i = mr(r), a = JSON.stringify(t), s = !wr(i);
3344
+ return vr(i) && (n[le] = Ze(le, t, Re(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[le] : yr(i) && (n[Ee] = Ze(Ee, t, Re(gr(e))), ni(e, a), s) ? n[Ee] : br(i) && (n[Ve] = Ze(Ve, t, Re(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[Ve] : (n[we] = Ze(we, t, pe(e)), fe(e, t), s ? n[we] : n);
3345
3345
  }
3346
3346
  }
3347
- function Us(e, t) {
3347
+ function eo(e, t) {
3348
3348
  if (e) {
3349
- var r = dr(t), n = ai(e, ii), i = {};
3350
- return !Oe(n.localStorage) && pr(r) && (localStorage.removeItem(e), i[ze] = n.localStorage), !Oe(n.cookie) && gr(r) && (ei(e), i[Le] = n.cookie), !Oe(n.sessionStorage) && hr(r) && (sessionStorage.removeItem(e), i[We] = n.sessionStorage), !Oe(n.global) && dt(r, _e) && (Se(e), i[_e] = n.global), i;
3349
+ var r = mr(t), n = ci(e, ui), i = {};
3350
+ return !je(n.localStorage) && vr(r) && (localStorage.removeItem(e), i[le] = n.localStorage), !je(n.cookie) && yr(r) && (ii(e), i[Ee] = n.cookie), !je(n.sessionStorage) && br(r) && (sessionStorage.removeItem(e), i[Ve] = n.sessionStorage), !je(n.global) && pt(r, we) && (Ie(e), i[we] = n.global), i;
3351
3351
  }
3352
3352
  }
3353
- function dr(e) {
3354
- return e ? Rs(e) ? e : e.storage : ni;
3353
+ function mr(e) {
3354
+ return e ? qs(e) ? e : e.storage : oi;
3355
3355
  }
3356
- function pr(e) {
3357
- return Ms && dt(e, ze);
3356
+ function vr(e) {
3357
+ return Js && pt(e, le);
3358
3358
  }
3359
- function gr(e) {
3360
- return _s && dt(e, Le);
3359
+ function yr(e) {
3360
+ return Qs && pt(e, Ee);
3361
3361
  }
3362
- function hr(e) {
3363
- return Ds && dt(e, We);
3362
+ function br(e) {
3363
+ return Xs && pt(e, Ve);
3364
3364
  }
3365
- function mr(e) {
3366
- return e === ii || e === "all";
3365
+ function wr(e) {
3366
+ return e === ui || e === "all";
3367
3367
  }
3368
- function dt(e, t) {
3369
- return e === ni || e === t || mr(e);
3368
+ function pt(e, t) {
3369
+ return e === oi || e === t || wr(e);
3370
3370
  }
3371
3371
  function Ze(e, t, r) {
3372
3372
  return { location: e, current: t, previous: r };
3373
3373
  }
3374
- var Ls = { setItem: $s, getItem: ai, removeItem: Us };
3375
- function zs(e, t, r) {
3374
+ var to = { setItem: Zs, getItem: ci, removeItem: eo };
3375
+ function ro(e, t, r) {
3376
3376
  return t in e ? Object.defineProperty(e, t, {
3377
3377
  value: r,
3378
3378
  enumerable: !0,
@@ -3380,7 +3380,7 @@ function zs(e, t, r) {
3380
3380
  writable: !0
3381
3381
  }) : e[t] = r, e;
3382
3382
  }
3383
- function qr(e, t) {
3383
+ function Xr(e, t) {
3384
3384
  var r = Object.keys(e);
3385
3385
  if (Object.getOwnPropertySymbols) {
3386
3386
  var n = Object.getOwnPropertySymbols(e);
@@ -3390,22 +3390,22 @@ function qr(e, t) {
3390
3390
  }
3391
3391
  return r;
3392
3392
  }
3393
- function Br(e) {
3393
+ function Qr(e) {
3394
3394
  for (var t = 1; t < arguments.length; t++) {
3395
3395
  var r = arguments[t] != null ? arguments[t] : {};
3396
- t % 2 ? qr(Object(r), !0).forEach(function(n) {
3397
- zs(e, n, r[n]);
3398
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : qr(Object(r)).forEach(function(n) {
3396
+ t % 2 ? Xr(Object(r), !0).forEach(function(n) {
3397
+ ro(e, n, r[n]);
3398
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Xr(Object(r)).forEach(function(n) {
3399
3399
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3400
3400
  });
3401
3401
  }
3402
3402
  return e;
3403
3403
  }
3404
- function Ws() {
3404
+ function no() {
3405
3405
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = {
3406
- storage: Ls
3406
+ storage: to
3407
3407
  };
3408
- return Ps(Br(Br({}, t), e));
3408
+ return Vs(Qr(Qr({}, t), e));
3409
3409
  }
3410
3410
  function ie(e) {
3411
3411
  "@babel/helpers - typeof";
@@ -3415,7 +3415,7 @@ function ie(e) {
3415
3415
  return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
3416
3416
  }, ie(e);
3417
3417
  }
3418
- function Vs(e, t) {
3418
+ function io(e, t) {
3419
3419
  if (ie(e) != "object" || !e) return e;
3420
3420
  var r = e[Symbol.toPrimitive];
3421
3421
  if (r !== void 0) {
@@ -3425,19 +3425,19 @@ function Vs(e, t) {
3425
3425
  }
3426
3426
  return (t === "string" ? String : Number)(e);
3427
3427
  }
3428
- function Gs(e) {
3429
- var t = Vs(e, "string");
3428
+ function ao(e) {
3429
+ var t = io(e, "string");
3430
3430
  return ie(t) == "symbol" ? t : t + "";
3431
3431
  }
3432
- function vr(e, t, r) {
3433
- return (t = Gs(t)) in e ? Object.defineProperty(e, t, {
3432
+ function Sr(e, t, r) {
3433
+ return (t = ao(t)) in e ? Object.defineProperty(e, t, {
3434
3434
  value: r,
3435
3435
  enumerable: !0,
3436
3436
  configurable: !0,
3437
3437
  writable: !0
3438
3438
  }) : e[t] = r, e;
3439
3439
  }
3440
- function Yr(e, t) {
3440
+ function Zr(e, t) {
3441
3441
  var r = Object.keys(e);
3442
3442
  if (Object.getOwnPropertySymbols) {
3443
3443
  var n = Object.getOwnPropertySymbols(e);
@@ -3450,29 +3450,29 @@ function Yr(e, t) {
3450
3450
  function Z(e) {
3451
3451
  for (var t = 1; t < arguments.length; t++) {
3452
3452
  var r = arguments[t] != null ? arguments[t] : {};
3453
- t % 2 ? Yr(Object(r), !0).forEach(function(n) {
3454
- vr(e, n, r[n]);
3455
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Yr(Object(r)).forEach(function(n) {
3453
+ t % 2 ? Zr(Object(r), !0).forEach(function(n) {
3454
+ Sr(e, n, r[n]);
3455
+ }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : Zr(Object(r)).forEach(function(n) {
3456
3456
  Object.defineProperty(e, n, Object.getOwnPropertyDescriptor(r, n));
3457
3457
  });
3458
3458
  }
3459
3459
  return e;
3460
3460
  }
3461
- function si(e) {
3461
+ function li(e) {
3462
3462
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
3463
3463
  }
3464
- var wt = { exports: {} }, St = { exports: {} }, Jr;
3465
- function oi() {
3466
- return Jr || (Jr = 1, function(e) {
3464
+ var At = { exports: {} }, Ot = { exports: {} }, en;
3465
+ function fi() {
3466
+ return en || (en = 1, function(e) {
3467
3467
  function t(r, n) {
3468
3468
  this.v = r, this.k = n;
3469
3469
  }
3470
3470
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
3471
- }(St)), St.exports;
3471
+ }(Ot)), Ot.exports;
3472
3472
  }
3473
- var Et = { exports: {} }, At = { exports: {} }, Xr;
3474
- function ui() {
3475
- return Xr || (Xr = 1, function(e) {
3473
+ var It = { exports: {} }, Pt = { exports: {} }, tn;
3474
+ function di() {
3475
+ return tn || (tn = 1, function(e) {
3476
3476
  function t(r, n, i, a) {
3477
3477
  var s = Object.defineProperty;
3478
3478
  try {
@@ -3495,40 +3495,40 @@ function ui() {
3495
3495
  }, e.exports.__esModule = !0, e.exports.default = e.exports, t(r, n, i, a);
3496
3496
  }
3497
3497
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
3498
- }(At)), At.exports;
3498
+ }(Pt)), Pt.exports;
3499
3499
  }
3500
- var Qr;
3501
- function ci() {
3502
- return Qr || (Qr = 1, function(e) {
3503
- var t = ui();
3500
+ var rn;
3501
+ function pi() {
3502
+ return rn || (rn = 1, function(e) {
3503
+ var t = di();
3504
3504
  function r() {
3505
3505
  /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
3506
3506
  var n, i, a = typeof Symbol == "function" ? Symbol : {}, s = a.iterator || "@@iterator", o = a.toStringTag || "@@toStringTag";
3507
3507
  function u(b, y, d, P) {
3508
3508
  var A = y && y.prototype instanceof c ? y : c, j = Object.create(A.prototype);
3509
- return t(j, "_invoke", function(R, x, N) {
3510
- var U, D, L, z = 0, F = N || [], C = !1, $ = {
3509
+ return t(j, "_invoke", function(x, R, N) {
3510
+ var U, D, L, z = 0, H = N || [], C = !1, _ = {
3511
3511
  p: 0,
3512
3512
  n: 0,
3513
3513
  v: n,
3514
- a: H,
3515
- f: H.bind(n, 4),
3514
+ a: F,
3515
+ f: F.bind(n, 4),
3516
3516
  d: function(E, p) {
3517
- return U = E, D = 0, L = n, $.n = p, l;
3517
+ return U = E, D = 0, L = n, _.n = p, l;
3518
3518
  }
3519
3519
  };
3520
- function H(G, E) {
3521
- for (D = G, L = E, i = 0; !C && z && !p && i < F.length; i++) {
3522
- var p, h = F[i], g = $.p, w = h[2];
3523
- G > 3 ? (p = w === E) && (L = h[(D = h[4]) ? 5 : (D = 3, 3)], h[4] = h[5] = n) : h[0] <= g && ((p = G < 2 && g < h[1]) ? (D = 0, $.v = E, $.n = h[1]) : g < w && (p = G < 3 || h[0] > E || E > w) && (h[4] = G, h[5] = E, $.n = w, D = 0));
3520
+ function F(G, E) {
3521
+ for (D = G, L = E, i = 0; !C && z && !p && i < H.length; i++) {
3522
+ var p, h = H[i], g = _.p, w = h[2];
3523
+ G > 3 ? (p = w === E) && (L = h[(D = h[4]) ? 5 : (D = 3, 3)], h[4] = h[5] = n) : h[0] <= g && ((p = G < 2 && g < h[1]) ? (D = 0, _.v = E, _.n = h[1]) : g < w && (p = G < 3 || h[0] > E || E > w) && (h[4] = G, h[5] = E, _.n = w, D = 0));
3524
3524
  }
3525
3525
  if (p || G > 1) return l;
3526
3526
  throw C = !0, E;
3527
3527
  }
3528
3528
  return function(G, E, p) {
3529
3529
  if (z > 1) throw TypeError("Generator is already running");
3530
- for (C && E === 1 && H(E, p), D = E, L = p; (i = D < 2 ? n : L) || !C; ) {
3531
- U || (D ? D < 3 ? (D > 1 && ($.n = -1), H(D, L)) : $.n = L : $.v = L);
3530
+ for (C && E === 1 && F(E, p), D = E, L = p; (i = D < 2 ? n : L) || !C; ) {
3531
+ U || (D ? D < 3 ? (D > 1 && (_.n = -1), F(D, L)) : _.n = L : _.v = L);
3532
3532
  try {
3533
3533
  if (z = 2, U) {
3534
3534
  if (D || (G = "next"), i = U[G]) {
@@ -3537,7 +3537,7 @@ function ci() {
3537
3537
  L = i.value, D < 2 && (D = 0);
3538
3538
  } else D === 1 && (i = U.return) && i.call(U), D < 2 && (L = TypeError("The iterator does not provide a '" + G + "' method"), D = 1);
3539
3539
  U = n;
3540
- } else if ((i = (C = $.n < 0) ? L : R.call(x, $)) !== l) break;
3540
+ } else if ((i = (C = _.n < 0) ? L : x.call(R, _)) !== l) break;
3541
3541
  } catch (h) {
3542
3542
  U = n, D = 1, L = h;
3543
3543
  } finally {
@@ -3577,12 +3577,12 @@ function ci() {
3577
3577
  }, e.exports.__esModule = !0, e.exports.default = e.exports)();
3578
3578
  }
3579
3579
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
3580
- }(Et)), Et.exports;
3580
+ }(It)), It.exports;
3581
3581
  }
3582
- var Ot = { exports: {} }, It = { exports: {} }, Pt = { exports: {} }, Zr;
3583
- function li() {
3584
- return Zr || (Zr = 1, function(e) {
3585
- var t = oi(), r = ui();
3582
+ var Tt = { exports: {} }, jt = { exports: {} }, Nt = { exports: {} }, nn;
3583
+ function gi() {
3584
+ return nn || (nn = 1, function(e) {
3585
+ var t = fi(), r = di();
3586
3586
  function n(i, a) {
3587
3587
  function s(u, l, c, m) {
3588
3588
  try {
@@ -3613,22 +3613,22 @@ function li() {
3613
3613
  }, !0);
3614
3614
  }
3615
3615
  e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports;
3616
- }(Pt)), Pt.exports;
3616
+ }(Nt)), Nt.exports;
3617
3617
  }
3618
- var en;
3619
- function fi() {
3620
- return en || (en = 1, function(e) {
3621
- var t = ci(), r = li();
3618
+ var an;
3619
+ function hi() {
3620
+ return an || (an = 1, function(e) {
3621
+ var t = pi(), r = gi();
3622
3622
  function n(i, a, s, o, u) {
3623
3623
  return new r(t().w(i, a, s, o), u || Promise);
3624
3624
  }
3625
3625
  e.exports = n, e.exports.__esModule = !0, e.exports.default = e.exports;
3626
- }(It)), It.exports;
3626
+ }(jt)), jt.exports;
3627
3627
  }
3628
- var tn;
3629
- function Fs() {
3630
- return tn || (tn = 1, function(e) {
3631
- var t = fi();
3628
+ var sn;
3629
+ function so() {
3630
+ return sn || (sn = 1, function(e) {
3631
+ var t = hi();
3632
3632
  function r(n, i, a, s, o) {
3633
3633
  var u = t(n, i, a, s, o);
3634
3634
  return u.next().then(function(l) {
@@ -3636,11 +3636,11 @@ function Fs() {
3636
3636
  });
3637
3637
  }
3638
3638
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
3639
- }(Ot)), Ot.exports;
3639
+ }(Tt)), Tt.exports;
3640
3640
  }
3641
- var Tt = { exports: {} }, rn;
3642
- function Hs() {
3643
- return rn || (rn = 1, function(e) {
3641
+ var Rt = { exports: {} }, on;
3642
+ function oo() {
3643
+ return on || (on = 1, function(e) {
3644
3644
  function t(r) {
3645
3645
  var n = Object(r), i = [];
3646
3646
  for (var a in n) i.unshift(a);
@@ -3650,11 +3650,11 @@ function Hs() {
3650
3650
  };
3651
3651
  }
3652
3652
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
3653
- }(Tt)), Tt.exports;
3653
+ }(Rt)), Rt.exports;
3654
3654
  }
3655
- var jt = { exports: {} }, Nt = { exports: {} }, nn;
3656
- function Ks() {
3657
- return nn || (nn = 1, function(e) {
3655
+ var xt = { exports: {} }, kt = { exports: {} }, un;
3656
+ function uo() {
3657
+ return un || (un = 1, function(e) {
3658
3658
  function t(r) {
3659
3659
  "@babel/helpers - typeof";
3660
3660
  return e.exports = t = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(n) {
@@ -3664,12 +3664,12 @@ function Ks() {
3664
3664
  }, e.exports.__esModule = !0, e.exports.default = e.exports, t(r);
3665
3665
  }
3666
3666
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
3667
- }(Nt)), Nt.exports;
3667
+ }(kt)), kt.exports;
3668
3668
  }
3669
- var an;
3670
- function qs() {
3671
- return an || (an = 1, function(e) {
3672
- var t = Ks().default;
3669
+ var cn;
3670
+ function co() {
3671
+ return cn || (cn = 1, function(e) {
3672
+ var t = uo().default;
3673
3673
  function r(n) {
3674
3674
  if (n != null) {
3675
3675
  var i = n[typeof Symbol == "function" && Symbol.iterator || "@@iterator"], a = 0;
@@ -3687,12 +3687,12 @@ function qs() {
3687
3687
  throw new TypeError(t(n) + " is not iterable");
3688
3688
  }
3689
3689
  e.exports = r, e.exports.__esModule = !0, e.exports.default = e.exports;
3690
- }(jt)), jt.exports;
3690
+ }(xt)), xt.exports;
3691
3691
  }
3692
- var sn;
3693
- function Bs() {
3694
- return sn || (sn = 1, function(e) {
3695
- var t = oi(), r = ci(), n = Fs(), i = fi(), a = li(), s = Hs(), o = qs();
3692
+ var ln;
3693
+ function lo() {
3694
+ return ln || (ln = 1, function(e) {
3695
+ var t = fi(), r = pi(), n = so(), i = hi(), a = gi(), s = oo(), o = co();
3696
3696
  function u() {
3697
3697
  var l = r(), c = l.m(u), m = (Object.getPrototypeOf ? Object.getPrototypeOf(c) : c.__proto__).constructor;
3698
3698
  function f(O) {
@@ -3718,16 +3718,16 @@ function Bs() {
3718
3718
  abrupt: function(A, j) {
3719
3719
  return y(d.a, S[A], j);
3720
3720
  },
3721
- delegateYield: function(A, j, R) {
3722
- return b.resultName = j, y(d.d, o(A), R);
3721
+ delegateYield: function(A, j, x) {
3722
+ return b.resultName = j, y(d.d, o(A), x);
3723
3723
  },
3724
3724
  finish: function(A) {
3725
3725
  return y(d.f, A);
3726
3726
  }
3727
- }, y = function(A, j, R) {
3727
+ }, y = function(A, j, x) {
3728
3728
  d.p = b.prev, d.n = b.next;
3729
3729
  try {
3730
- return A(j, R);
3730
+ return A(j, x);
3731
3731
  } finally {
3732
3732
  b.next = d.n;
3733
3733
  }
@@ -3759,24 +3759,24 @@ function Bs() {
3759
3759
  }, e.exports.__esModule = !0, e.exports.default = e.exports)();
3760
3760
  }
3761
3761
  e.exports = u, e.exports.__esModule = !0, e.exports.default = e.exports;
3762
- }(wt)), wt.exports;
3763
- }
3764
- var xt, on;
3765
- function Ys() {
3766
- if (on) return xt;
3767
- on = 1;
3768
- var e = Bs()();
3769
- xt = e;
3762
+ }(At)), At.exports;
3763
+ }
3764
+ var Ct, fn;
3765
+ function fo() {
3766
+ if (fn) return Ct;
3767
+ fn = 1;
3768
+ var e = lo()();
3769
+ Ct = e;
3770
3770
  try {
3771
3771
  regeneratorRuntime = e;
3772
3772
  } catch {
3773
3773
  typeof globalThis == "object" ? globalThis.regeneratorRuntime = e : Function("r", "regeneratorRuntime = r")(e);
3774
3774
  }
3775
- return xt;
3775
+ return Ct;
3776
3776
  }
3777
- var Js = Ys();
3778
- const J = /* @__PURE__ */ si(Js);
3779
- function un(e, t, r, n, i, a, s) {
3777
+ var po = fo();
3778
+ const J = /* @__PURE__ */ li(po);
3779
+ function dn(e, t, r, n, i, a, s) {
3780
3780
  try {
3781
3781
  var o = e[a](s), u = o.value;
3782
3782
  } catch (l) {
@@ -3784,25 +3784,25 @@ function un(e, t, r, n, i, a, s) {
3784
3784
  }
3785
3785
  o.done ? t(u) : Promise.resolve(u).then(n, i);
3786
3786
  }
3787
- function ae(e) {
3787
+ function se(e) {
3788
3788
  return function() {
3789
3789
  var t = this, r = arguments;
3790
3790
  return new Promise(function(n, i) {
3791
3791
  var a = e.apply(t, r);
3792
3792
  function s(u) {
3793
- un(a, n, i, s, o, "next", u);
3793
+ dn(a, n, i, s, o, "next", u);
3794
3794
  }
3795
3795
  function o(u) {
3796
- un(a, n, i, s, o, "throw", u);
3796
+ dn(a, n, i, s, o, "throw", u);
3797
3797
  }
3798
3798
  s(void 0);
3799
3799
  });
3800
3800
  };
3801
3801
  }
3802
- var cn = function() {
3802
+ var pn = function() {
3803
3803
  };
3804
- function Xs(e, t) {
3805
- var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, u = t.onEmpty || cn, l = t.onPause || cn;
3804
+ function go(e, t) {
3805
+ var r, n, i, a = (t = t || {}).initial || [], s = t.max || 1 / 0, o = t.interval || 1e4, u = t.onEmpty || pn, l = t.onPause || pn;
3806
3806
  function c(f) {
3807
3807
  clearInterval(r);
3808
3808
  var S = a.splice(0, s);
@@ -3821,60 +3821,61 @@ function Xs(e, t) {
3821
3821
  f && c(), clearInterval(r), i = !1, l(a);
3822
3822
  } };
3823
3823
  }
3824
- ut.bind(null, "sessionStorage");
3825
- var Qs = de("sessionStorage", "getItem", fe), Zs = de("sessionStorage", "setItem", ce);
3826
- de("sessionStorage", "removeItem", Se);
3827
- var di = "__session", ln = ["id", "createdAt", "created"];
3828
- function Bt(e) {
3824
+ var gt = "sessionStorage";
3825
+ ct.bind(null, gt);
3826
+ var ho = ge(gt, "getItem", pe), mo = ge(gt, "setItem", fe);
3827
+ ge(gt, "removeItem", Ie);
3828
+ var tt = "__", ht = "session", mi = tt + ht, vi = "page", gn = ["id", "createdAt", "created"];
3829
+ function Qt(e) {
3829
3830
  var t = e ? new Date(e) : /* @__PURE__ */ new Date();
3830
3831
  return [t.toISOString(), t.getTime()];
3831
3832
  }
3832
- function pi() {
3833
- var e = Bt(), t = e[0], r = e[1];
3834
- return { id: we(), created: r, createdAt: t };
3833
+ function yi() {
3834
+ var e = Qt(), t = e[0], r = e[1];
3835
+ return { id: Oe(), created: r, createdAt: t };
3835
3836
  }
3836
- var eo = { session: [Qs, Zs], page: [fe, ce] };
3837
- function pt(e, t) {
3838
- for (var r = eo[e], n = r[0], i = r[1], a = pi(), s = !1, o = {}, u = 0; u < ln.length; u++) {
3839
- var l = ln[u], c = "__" + e + "__session__" + l, m = n(c);
3837
+ var vo = { session: [ho, mo], page: [pe, fe] };
3838
+ function mt(e, t) {
3839
+ for (var r = vo[e], n = r[0], i = r[1], a = yi(), s = !1, o = {}, u = 0; u < gn.length; u++) {
3840
+ var l = gn[u], c = tt + e + tt + ht + tt + l, m = n(c);
3840
3841
  s = t || !m, (t || !t && !m) && i(c, a[l]);
3841
3842
  var f = m && !t ? m : a[l], S = l !== "created" ? f : Number(f);
3842
3843
  o[l] = S;
3843
3844
  }
3844
- return yr(o, s);
3845
+ return Er(o, s);
3845
3846
  }
3846
- function yr(e, t) {
3847
+ function Er(e, t) {
3847
3848
  var r = Date.now();
3848
3849
  return e.elapsed = r - e.created, e.expires && (e.remaining = Math.max(e.expires - r, 0), e.isExpired = e.remaining === 0), e.isNew = t, e;
3849
3850
  }
3850
3851
  function Fe(e, t) {
3851
3852
  e === void 0 && (e = 30);
3852
- var r = lr(di), n = r ? JSON.parse(r) : it(e);
3853
- return t ? n : yr(n, !r);
3853
+ var r = gr(mi), n = r ? JSON.parse(r) : at(e);
3854
+ return t ? n : Er(n, !r);
3854
3855
  }
3855
- function it(e, t, r) {
3856
+ function at(e, t, r) {
3856
3857
  e === void 0 && (e = 30);
3857
- var n = r ? Fe(e, !0) : pi(), i = 60 * e, a = n.created;
3858
+ var n = r ? Fe(e, !0) : yi(), i = 60 * e, a = n.created;
3858
3859
  if (r) {
3859
- var s = Bt(), o = s[0], u = s[1];
3860
+ var s = Qt(), o = s[0], u = s[1];
3860
3861
  n.modified = u, n.modifiedAt = o, a = u;
3861
3862
  }
3862
- var l = Bt(a + 1e3 * i), c = l[0];
3863
- return n.expires = l[1], n.expiresAt = c, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), Zn(di, JSON.stringify(n), i), yr(n, !r);
3863
+ var l = Qt(a + 1e3 * i), c = l[0];
3864
+ return n.expires = l[1], n.expiresAt = c, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), ni(mi, JSON.stringify(n), i), Er(n, !r);
3864
3865
  }
3865
- var to = function(e, t) {
3866
- return it(e, t, !0);
3867
- }, gi = pt.bind(null, "session"), ro = pt.bind(null, "session", !0), br = pt.bind(null, "page"), fn = pt.bind(null, "page", !0), be = typeof window < "u";
3868
- function no(e) {
3866
+ var yo = function(e, t) {
3867
+ return at(e, t, !0);
3868
+ }, bi = mt.bind(null, ht), bo = mt.bind(null, ht, !0), Ar = mt.bind(null, vi), hn = mt.bind(null, vi, !0), Ae = typeof window < "u";
3869
+ function wo(e) {
3869
3870
  return typeof e == "string";
3870
3871
  }
3871
- function dn(e) {
3872
+ function mn(e) {
3872
3873
  return typeof e == "boolean";
3873
3874
  }
3874
- var Rt, pn;
3875
- function io() {
3876
- if (pn) return Rt;
3877
- pn = 1;
3875
+ var Mt, vn;
3876
+ function So() {
3877
+ if (vn) return Mt;
3878
+ vn = 1;
3878
3879
  var e = function(d) {
3879
3880
  return t(d) && !r(d);
3880
3881
  };
@@ -3934,8 +3935,8 @@ function io() {
3934
3935
  }
3935
3936
  function O(y, d, P) {
3936
3937
  P = P || {}, P.arrayMerge = P.arrayMerge || u, P.isMergeableObject = P.isMergeableObject || e, P.cloneUnlessOtherwiseSpecified = o;
3937
- var A = Array.isArray(d), j = Array.isArray(y), R = A === j;
3938
- return R ? A ? P.arrayMerge(y, d, P) : v(y, d, P) : o(d, P);
3938
+ var A = Array.isArray(d), j = Array.isArray(y), x = A === j;
3939
+ return x ? A ? P.arrayMerge(y, d, P) : v(y, d, P) : o(d, P);
3939
3940
  }
3940
3941
  O.all = function(d, P) {
3941
3942
  if (!Array.isArray(d))
@@ -3945,15 +3946,15 @@ function io() {
3945
3946
  }, {});
3946
3947
  };
3947
3948
  var b = O;
3948
- return Rt = b, Rt;
3949
+ return Mt = b, Mt;
3949
3950
  }
3950
- var ao = io();
3951
- const so = /* @__PURE__ */ si(ao);
3951
+ var Eo = So();
3952
+ const Ao = /* @__PURE__ */ li(Eo);
3952
3953
  /**
3953
3954
  * @license MIT <https://opensource.org/licenses/MIT>
3954
3955
  * @copyright Michael Hart 2024
3955
3956
  */
3956
- const Yt = new TextEncoder(), oo = {
3957
+ const Zt = new TextEncoder(), Oo = {
3957
3958
  appstream2: "appstream",
3958
3959
  cloudhsmv2: "cloudhsm",
3959
3960
  email: "ses",
@@ -3964,7 +3965,7 @@ const Yt = new TextEncoder(), oo = {
3964
3965
  "git-codecommit": "codecommit",
3965
3966
  "mturk-requester-sandbox": "mturk-requester",
3966
3967
  "personalize-runtime": "personalize"
3967
- }, uo = /* @__PURE__ */ new Set([
3968
+ }, Io = /* @__PURE__ */ new Set([
3968
3969
  "authorization",
3969
3970
  "content-type",
3970
3971
  "content-length",
@@ -3975,7 +3976,7 @@ const Yt = new TextEncoder(), oo = {
3975
3976
  "range",
3976
3977
  "connection"
3977
3978
  ]);
3978
- class co {
3979
+ class Po {
3979
3980
  constructor({ accessKeyId: t, secretAccessKey: r, sessionToken: n, service: i, region: a, cache: s, retries: o, initRetryMs: u }) {
3980
3981
  if (t == null) throw new TypeError("accessKeyId is a required option");
3981
3982
  if (r == null) throw new TypeError("secretAccessKey is a required option");
@@ -3986,7 +3987,7 @@ class co {
3986
3987
  const { method: a, url: s, headers: o, body: u } = t;
3987
3988
  r = Object.assign({ method: a, url: s, headers: o }, r), r.body == null && o.has("Content-Type") && (r.body = u != null && o.has("X-Amz-Content-Sha256") ? u : await t.clone().arrayBuffer()), t = s;
3988
3989
  }
3989
- const n = new lo(Object.assign({ url: t.toString() }, r, this, r && r.aws)), i = Object.assign({}, r, await n.sign());
3990
+ const n = new To(Object.assign({ url: t.toString() }, r, this, r && r.aws)), i = Object.assign({}, r, await n.sign());
3990
3991
  delete i.aws;
3991
3992
  try {
3992
3993
  return new Request(i.url.toString(), i);
@@ -4009,16 +4010,16 @@ class co {
4009
4010
  throw new Error("An unknown error occurred, ensure retries is not negative");
4010
4011
  }
4011
4012
  }
4012
- class lo {
4013
+ class To {
4013
4014
  constructor({ method: t, url: r, headers: n, body: i, accessKeyId: a, secretAccessKey: s, sessionToken: o, service: u, region: l, cache: c, datetime: m, signQuery: f, appendSessionToken: S, allHeaders: v, singleEncode: O }) {
4014
4015
  if (r == null) throw new TypeError("url is a required option");
4015
4016
  if (a == null) throw new TypeError("accessKeyId is a required option");
4016
4017
  if (s == null) throw new TypeError("secretAccessKey is a required option");
4017
4018
  this.method = t || (i ? "POST" : "GET"), this.url = new URL(r), this.headers = new Headers(n || {}), this.body = i, this.accessKeyId = a, this.secretAccessKey = s, this.sessionToken = o;
4018
4019
  let b, y;
4019
- (!u || !l) && ([b, y] = fo(this.url, this.headers)), this.service = u || b || "", this.region = l || y || "us-east-1", this.cache = c || /* @__PURE__ */ new Map(), this.datetime = m || (/* @__PURE__ */ new Date()).toISOString().replace(/[:-]|\.\d{3}/g, ""), this.signQuery = f, this.appendSessionToken = S || 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");
4020
+ (!u || !l) && ([b, y] = jo(this.url, this.headers)), this.service = u || b || "", this.region = l || y || "us-east-1", this.cache = c || /* @__PURE__ */ new Map(), this.datetime = m || (/* @__PURE__ */ new Date()).toISOString().replace(/[:-]|\.\d{3}/g, ""), this.signQuery = f, this.appendSessionToken = S || 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");
4020
4021
  const d = this.signQuery ? this.url.searchParams : this.headers;
4021
- if (d.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && d.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((A) => v || !uo.has(A)).sort(), this.signedHeaders = this.signableHeaders.join(";"), this.canonicalHeaders = this.signableHeaders.map((A) => A + ":" + (A === "host" ? this.url.host : (this.headers.get(A) || "").replace(/\s+/g, " "))).join(`
4022
+ if (d.set("X-Amz-Date", this.datetime), this.sessionToken && !this.appendSessionToken && d.set("X-Amz-Security-Token", this.sessionToken), this.signableHeaders = ["host", ...this.headers.keys()].filter((A) => v || !Io.has(A)).sort(), this.signedHeaders = this.signableHeaders.join(";"), this.canonicalHeaders = this.signableHeaders.map((A) => A + ":" + (A === "host" ? this.url.host : (this.headers.get(A) || "").replace(/\s+/g, " "))).join(`
4022
4023
  `), this.credentialString = [this.datetime.slice(0, 8), this.region, this.service, "aws4_request"].join("/"), this.signQuery && (this.service === "s3" && !d.has("X-Amz-Expires") && d.set("X-Amz-Expires", "86400"), d.set("X-Amz-Algorithm", "AWS4-HMAC-SHA256"), d.set("X-Amz-Credential", this.accessKeyId + "/" + this.credentialString), d.set("X-Amz-SignedHeaders", this.signedHeaders)), this.service === "s3")
4023
4024
  try {
4024
4025
  this.encodedPath = decodeURIComponent(this.url.pathname.replace(/\+/g, " "));
@@ -4027,7 +4028,7 @@ class lo {
4027
4028
  }
4028
4029
  else
4029
4030
  this.encodedPath = this.url.pathname.replace(/\/+/g, "/");
4030
- O || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath = mn(this.encodedPath);
4031
+ O || (this.encodedPath = encodeURIComponent(this.encodedPath).replace(/%2F/g, "/")), this.encodedPath = wn(this.encodedPath);
4031
4032
  const P = /* @__PURE__ */ new Set();
4032
4033
  this.encodedSearch = [...this.url.searchParams].filter(([A]) => {
4033
4034
  if (!A) return !1;
@@ -4036,7 +4037,7 @@ class lo {
4036
4037
  P.add(A);
4037
4038
  }
4038
4039
  return !0;
4039
- }).map((A) => A.map((j) => mn(encodeURIComponent(j)))).sort(([A, j], [R, x]) => A < R ? -1 : A > R ? 1 : j < x ? -1 : j > x ? 1 : 0).map((A) => A.join("=")).join("&");
4040
+ }).map((A) => A.map((j) => wn(encodeURIComponent(j)))).sort(([A, j], [x, R]) => A < x ? -1 : A > x ? 1 : j < R ? -1 : j > R ? 1 : 0).map((A) => A.join("=")).join("&");
4040
4041
  }
4041
4042
  async sign() {
4042
4043
  return this.signQuery ? (this.url.searchParams.set("X-Amz-Signature", await this.signature()), this.sessionToken && this.appendSessionToken && this.url.searchParams.set("X-Amz-Security-Token", this.sessionToken)) : this.headers.set("Authorization", await this.authHeader()), {
@@ -4057,17 +4058,17 @@ class lo {
4057
4058
  const t = this.datetime.slice(0, 8), r = [this.secretAccessKey, t, this.region, this.service].join();
4058
4059
  let n = this.cache.get(r);
4059
4060
  if (!n) {
4060
- const i = await ke("AWS4" + this.secretAccessKey, t), a = await ke(i, this.region), s = await ke(a, this.service);
4061
- n = await ke(s, "aws4_request"), this.cache.set(r, n);
4061
+ const i = await $e("AWS4" + this.secretAccessKey, t), a = await $e(i, this.region), s = await $e(a, this.service);
4062
+ n = await $e(s, "aws4_request"), this.cache.set(r, n);
4062
4063
  }
4063
- return kt(await ke(n, await this.stringToSign()));
4064
+ return Dt(await $e(n, await this.stringToSign()));
4064
4065
  }
4065
4066
  async stringToSign() {
4066
4067
  return [
4067
4068
  "AWS4-HMAC-SHA256",
4068
4069
  this.datetime,
4069
4070
  this.credentialString,
4070
- kt(await gn(await this.canonicalString()))
4071
+ Dt(await yn(await this.canonicalString()))
4071
4072
  ].join(`
4072
4073
  `);
4073
4074
  }
@@ -4088,38 +4089,38 @@ class lo {
4088
4089
  if (t == null) {
4089
4090
  if (this.body && typeof this.body != "string" && !("byteLength" in this.body))
4090
4091
  throw new Error("body must be a string, ArrayBuffer or ArrayBufferView, unless you include the X-Amz-Content-Sha256 header");
4091
- t = kt(await gn(this.body || ""));
4092
+ t = Dt(await yn(this.body || ""));
4092
4093
  }
4093
4094
  return t;
4094
4095
  }
4095
4096
  }
4096
- async function ke(e, t) {
4097
+ async function $e(e, t) {
4097
4098
  const r = await crypto.subtle.importKey(
4098
4099
  "raw",
4099
- typeof e == "string" ? Yt.encode(e) : e,
4100
+ typeof e == "string" ? Zt.encode(e) : e,
4100
4101
  { name: "HMAC", hash: { name: "SHA-256" } },
4101
4102
  !1,
4102
4103
  ["sign"]
4103
4104
  );
4104
- return crypto.subtle.sign("HMAC", r, Yt.encode(t));
4105
+ return crypto.subtle.sign("HMAC", r, Zt.encode(t));
4105
4106
  }
4106
- async function gn(e) {
4107
- return crypto.subtle.digest("SHA-256", typeof e == "string" ? Yt.encode(e) : e);
4107
+ async function yn(e) {
4108
+ return crypto.subtle.digest("SHA-256", typeof e == "string" ? Zt.encode(e) : e);
4108
4109
  }
4109
- const hn = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
4110
- function kt(e) {
4110
+ const bn = ["0", "1", "2", "3", "4", "5", "6", "7", "8", "9", "a", "b", "c", "d", "e", "f"];
4111
+ function Dt(e) {
4111
4112
  const t = new Uint8Array(e);
4112
4113
  let r = "";
4113
4114
  for (let n = 0; n < t.length; n++) {
4114
4115
  const i = t[n];
4115
- r += hn[i >>> 4 & 15], r += hn[i & 15];
4116
+ r += bn[i >>> 4 & 15], r += bn[i & 15];
4116
4117
  }
4117
4118
  return r;
4118
4119
  }
4119
- function mn(e) {
4120
+ function wn(e) {
4120
4121
  return e.replace(/[!'()*]/g, (t) => "%" + t.charCodeAt(0).toString(16).toUpperCase());
4121
4122
  }
4122
- function fo(e, t) {
4123
+ function jo(e, t) {
4123
4124
  const { hostname: r, pathname: n } = e;
4124
4125
  if (r.endsWith(".on.aws")) {
4125
4126
  const o = r.match(/^[^.]{1,63}\.lambda-url\.([^.]{1,63})\.on\.aws$/);
@@ -4143,30 +4144,30 @@ function fo(e, t) {
4143
4144
  const o = (t.get("X-Amz-Target") || "").split(".")[0];
4144
4145
  o === "AnyScaleFrontendService" ? a = "application-autoscaling" : o === "AnyScaleScalingPlannerFrontendService" && (a = "autoscaling-plans");
4145
4146
  } else s == null && a.startsWith("s3-") ? (s = a.slice(3).replace(/^fips-|^external-1/, ""), a = "s3") : a.endsWith("-fips") ? a = a.slice(0, -5) : s && /-\d$/.test(a) && !/-\d$/.test(s) && ([a, s] = [s, a]);
4146
- return [oo[a] || a, s || ""];
4147
+ return [Oo[a] || a, s || ""];
4147
4148
  }
4148
- var vn = "EventListener";
4149
- function po(e) {
4149
+ var Or = "Event", Sn = Or + "Listener";
4150
+ function No(e) {
4150
4151
  return function(t, r, n, i) {
4151
- var a = n || aa, s = i || !1;
4152
- if (!He) return a;
4153
- var o = at(r), u = at(t, !0);
4152
+ var a = n || va, s = i || !1;
4153
+ if (!Ke) return a;
4154
+ var o = st(r), u = st(t, !0);
4154
4155
  if (!u.length) throw new Error("noElements");
4155
- if (!o.length) throw new Error("noEvent");
4156
+ if (!o.length) throw new Error("no" + Or);
4156
4157
  var l = [];
4157
4158
  return function c(m) {
4158
4159
  m && (l = []);
4159
- for (var f = m ? "add" + vn : "remove" + vn, S = 0; S < u.length; S++) {
4160
+ for (var f = m ? "add" + Sn : "remove" + Sn, S = 0; S < u.length; S++) {
4160
4161
  var v = u[S];
4161
- l[S] = m ? s && s.once ? go(a) : a : l[S] || a;
4162
+ l[S] = m ? s && s.once ? Ro(a) : a : l[S] || a;
4162
4163
  for (var O = 0; O < o.length; O++) v[f] ? v["on" + o[O]] = m ? l[S] : null : v[f](o[O], l[S], s);
4163
4164
  }
4164
4165
  return c.bind(null, !m);
4165
4166
  }(e);
4166
4167
  };
4167
4168
  }
4168
- function at(e, t) {
4169
- if (Lt(e)) return t ? at(document.querySelectorAll(e)) : (r = e).split(r.indexOf(",") > -1 ? "," : " ").map(function(s) {
4169
+ function st(e, t) {
4170
+ if (Gt(e)) return t ? st(document.querySelectorAll(e)) : (r = e).split(r.indexOf(",") > -1 ? "," : " ").map(function(s) {
4170
4171
  return s.trim();
4171
4172
  });
4172
4173
  var r;
@@ -4174,30 +4175,30 @@ function at(e, t) {
4174
4175
  for (var n = [], i = e.length >>> 0; i--; ) n[i] = e[i];
4175
4176
  return n;
4176
4177
  }
4177
- var a = ga(e);
4178
+ var a = Ra(e);
4178
4179
  return t ? a.map(function(s) {
4179
- return Lt(s) ? at(s, !0) : s;
4180
+ return Gt(s) ? st(s, !0) : s;
4180
4181
  }).flat() : a;
4181
4182
  }
4182
- function go(e, t) {
4183
+ function Ro(e, t) {
4183
4184
  var r;
4184
4185
  return function() {
4185
4186
  return e && (r = e.apply(this, arguments), e = null), r;
4186
4187
  };
4187
4188
  }
4188
- var Ct = po("Event");
4189
- function hi(e, t) {
4190
- return He && Ut(window[e]) ? (r = window[e], n = t, (i = window) === void 0 && (i = null), Ut(r) ? function() {
4189
+ var $t = No(Or);
4190
+ function wi(e, t) {
4191
+ return Ke && Vt(window[e]) ? (r = window[e], n = t, (i = window) === void 0 && (i = null), Vt(r) ? function() {
4191
4192
  r.apply(i, arguments), n.apply(i, arguments);
4192
4193
  } : n) : window[e] = t;
4193
4194
  var r, n, i;
4194
4195
  }
4195
- hi.bind(null, "onerror");
4196
- hi.bind(null, "onload");
4197
- var mi = typeof window > "u", yn = "hidden";
4198
- function ho(e) {
4199
- if (mi) return !1;
4200
- var t = mo(), r = "".concat(t.replace(/[H|h]idden/, ""), "visibilitychange"), n = function() {
4196
+ wi.bind(null, "onerror");
4197
+ wi.bind(null, "onload");
4198
+ var Si = typeof window > "u", En = "hidden";
4199
+ function xo(e) {
4200
+ if (Si) return !1;
4201
+ var t = ko(), r = "".concat(t.replace(/[H|h]idden/, ""), "visibilitychange"), n = function() {
4201
4202
  return e(!!document[t]);
4202
4203
  }, i = function() {
4203
4204
  return document.addEventListener(r, n);
@@ -4206,15 +4207,15 @@ function ho(e) {
4206
4207
  return document.removeEventListener(r, n), i;
4207
4208
  };
4208
4209
  }
4209
- function mo() {
4210
+ function ko() {
4210
4211
  var e = ["webkit", "moz", "ms", "o"];
4211
- return mi || yn in document ? yn : e.reduce(function(t, r) {
4212
+ return Si || En in document ? En : e.reduce(function(t, r) {
4212
4213
  var n = r + "Hidden";
4213
4214
  return !t && n in document ? n : t;
4214
4215
  }, null);
4215
4216
  }
4216
- var vo = ["mousemove", "mousedown", "touchmove", "touchstart", "touchend", "keydown"];
4217
- function yo(e, t) {
4217
+ var Co = ["mousemove", "mousedown", "touchmove", "touchstart", "touchend", "keydown"];
4218
+ function Mo(e, t) {
4218
4219
  t === void 0 && (t = {});
4219
4220
  var r = /* @__PURE__ */ function(s, o) {
4220
4221
  var u = this, l = !1;
@@ -4225,12 +4226,12 @@ function yo(e, t) {
4225
4226
  };
4226
4227
  }(e, t.throttle || 1e4), n = [];
4227
4228
  function i() {
4228
- var s = ho(function(o) {
4229
+ var s = xo(function(o) {
4229
4230
  o || r({ type: "tabVisible" });
4230
4231
  });
4231
- return n = [s].concat(vo.map(function(o) {
4232
- return Ct(document, o, r);
4233
- })).concat(Ct(window, "load", r)).concat(Ct(window, "scroll", r, { capture: !0, passive: !0 })), a;
4232
+ return n = [s].concat(Co.map(function(o) {
4233
+ return $t(document, o, r);
4234
+ })).concat($t(window, "load", r)).concat($t(window, "scroll", r, { capture: !0, passive: !0 })), a;
4234
4235
  }
4235
4236
  function a() {
4236
4237
  n.map(function(s) {
@@ -4241,16 +4242,16 @@ function yo(e, t) {
4241
4242
  return a(), i;
4242
4243
  };
4243
4244
  }
4244
- function bo(e) {
4245
+ function Do(e) {
4245
4246
  var t, r, n = e.onIdle, i = e.onWakeUp, a = e.onHeartbeat, s = e.timeout, o = s, u = e.throttle, l = u, c = !1, m = !1, f = /* @__PURE__ */ new Date(), S = function() {
4246
4247
  return clearTimeout(t);
4247
4248
  };
4248
4249
  function v(b) {
4249
- S(), a && !c && a(Ce(f), b), i && c && (c = !1, i(Ce(r), b), f = /* @__PURE__ */ new Date()), t = setTimeout(function() {
4250
- c = !0, n && (r = /* @__PURE__ */ new Date(), n(Ce(f), b));
4250
+ S(), a && !c && a(_e(f), b), i && c && (c = !1, i(_e(r), b), f = /* @__PURE__ */ new Date()), t = setTimeout(function() {
4251
+ c = !0, n && (r = /* @__PURE__ */ new Date(), n(_e(f), b));
4251
4252
  }, o);
4252
4253
  }
4253
- var O = yo(v, { throttle: l });
4254
+ var O = Mo(v, { throttle: l });
4254
4255
  return { disable: function() {
4255
4256
  m = !0, c = !1, S();
4256
4257
  var b = O();
@@ -4258,13 +4259,13 @@ function bo(e) {
4258
4259
  return m = !1, f = /* @__PURE__ */ new Date(), v({ type: "load" }), b();
4259
4260
  };
4260
4261
  }, getStatus: function() {
4261
- return { isIdle: c, isDisabled: m, active: c ? 0 : Ce(f, m), idle: c ? Ce(r, m) : 0 };
4262
+ return { isIdle: c, isDisabled: m, active: c ? 0 : _e(f, m), idle: c ? _e(r, m) : 0 };
4262
4263
  } };
4263
4264
  }
4264
- function Ce(e, t) {
4265
+ function _e(e, t) {
4265
4266
  return t ? 0 : Math.round((/* @__PURE__ */ new Date() - e) / 1e3);
4266
4267
  }
4267
- var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = "", wn = "function", Eo = "undefined", Ao = "BlackBerry", Oo = "Chrome", Io = "Firefox", Sn = {
4268
+ var Ei = "object", $o = "string", An = "?", ee = "name", te = "version", _o = "", On = "function", Uo = "undefined", Lo = "BlackBerry", zo = "Chrome", Wo = "Firefox", In = {
4268
4269
  ME: "4.90",
4269
4270
  "NT 3.11": "NT3.51",
4270
4271
  "NT 4.0": "NT4.0",
@@ -4276,7 +4277,7 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
4276
4277
  "8.1": "NT 6.3",
4277
4278
  10: ["NT 6.4", "NT 10.0"],
4278
4279
  RT: "ARM"
4279
- }, Po = [
4280
+ }, Vo = [
4280
4281
  [
4281
4282
  /* Windows */
4282
4283
  // Windows (iTunes)
@@ -4290,9 +4291,9 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
4290
4291
  /(windows (?:phone(?: os)?|mobile))[\/ ]?([\d\.\w ]*)/i,
4291
4292
  /(windows)[\/ ]?([ntce\d\. ]+\w)(?!.+xbox)/i
4292
4293
  ],
4293
- [ee, [te, En, Sn]],
4294
+ [ee, [te, Pn, In]],
4294
4295
  [/(win(?=3|9|n)|win 9x )([nt\d\.]+)/i],
4295
- [[ee, "Windows"], [te, En, Sn]],
4296
+ [[ee, "Windows"], [te, Pn, In]],
4296
4297
  /* iOS/macOS */
4297
4298
  // iOS
4298
4299
  [/ip[honead]{2,4}\b(?:.*os ([\w]+) like mac|; opera)/i, /cfnetwork\/.+darwin/i],
@@ -4317,17 +4318,17 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
4317
4318
  [ee, te],
4318
4319
  // BlackBerry 10
4319
4320
  [/\(bb(10);/i],
4320
- [te, [ee, Ao]],
4321
+ [te, [ee, Lo]],
4321
4322
  // Firefox OS
4322
4323
  [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
4323
- [te, [ee, Io + " OS"]],
4324
+ [te, [ee, Wo + " OS"]],
4324
4325
  // WebOS
4325
4326
  [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
4326
4327
  [te, [ee, "webOS"]],
4327
4328
  // Google Chromecast
4328
4329
  [/crkey\/([\d\.]+)/i],
4329
4330
  // Google Chromecast
4330
- [te, [ee, Oo + "cast"]],
4331
+ [te, [ee, zo + "cast"]],
4331
4332
  // Chromium OS
4332
4333
  [/(cros) [\w]+ ([\w\.]+\w)/i],
4333
4334
  [[ee, "Chromium OS"], te],
@@ -4346,64 +4347,64 @@ var vi = "object", wo = "string", bn = "?", ee = "name", te = "version", So = ""
4346
4347
  ],
4347
4348
  [ee, te]
4348
4349
  ];
4349
- function To(e, t) {
4350
+ function Go(e, t) {
4350
4351
  for (var r = 0, n, i, a, s, o, u; r < t.length && !o; ) {
4351
4352
  var l = t[r], c = t[r + 1];
4352
4353
  for (n = i = 0; n < l.length && !o; )
4353
4354
  if (o = l[n++].exec(e), o)
4354
4355
  for (a = 0; a < c.length; a++)
4355
- u = o[++i], s = c[a], ie(s) === vi && s.length > 0 ? s.length == 2 ? ie(s[1]) == wn ? this[s[0]] = s[1].call(this, u) : this[s[0]] = s[1] : s.length == 3 ? ie(s[1]) === wn && !(s[1].exec && s[1].test) ? this[s[0]] = u ? s[1].call(this, u, s[2]) : void 0 : this[s[0]] = u ? u.replace(s[1], s[2]) : void 0 : s.length == 4 && (this[s[0]] = u ? s[3].call(this, u.replace(s[1], s[2])) : void 0) : this[s] = u || void 0;
4356
+ u = o[++i], s = c[a], ie(s) === Ei && s.length > 0 ? s.length == 2 ? ie(s[1]) == On ? this[s[0]] = s[1].call(this, u) : this[s[0]] = s[1] : s.length == 3 ? ie(s[1]) === On && !(s[1].exec && s[1].test) ? this[s[0]] = u ? s[1].call(this, u, s[2]) : void 0 : this[s[0]] = u ? u.replace(s[1], s[2]) : void 0 : s.length == 4 && (this[s[0]] = u ? s[3].call(this, u.replace(s[1], s[2])) : void 0) : this[s] = u || void 0;
4356
4357
  r += 2;
4357
4358
  }
4358
4359
  }
4359
- function En(e, t) {
4360
+ function Pn(e, t) {
4360
4361
  for (var r in t)
4361
- if (ie(t[r]) === vi && t[r].length > 0) {
4362
+ if (ie(t[r]) === Ei && t[r].length > 0) {
4362
4363
  for (var n = 0; n < t[r].length; n++)
4363
- if (An(t[r][n], e))
4364
- return r === bn ? void 0 : r;
4365
- } else if (An(t[r], e))
4366
- return r === bn ? void 0 : r;
4364
+ if (Tn(t[r][n], e))
4365
+ return r === An ? void 0 : r;
4366
+ } else if (Tn(t[r], e))
4367
+ return r === An ? void 0 : r;
4367
4368
  return e;
4368
4369
  }
4369
- function An(e, t) {
4370
- return ie(e) === wo ? On(t).indexOf(On(e)) !== -1 : !1;
4370
+ function Tn(e, t) {
4371
+ return ie(e) === $o ? jn(t).indexOf(jn(e)) !== -1 : !1;
4371
4372
  }
4372
- function On(e) {
4373
+ function jn(e) {
4373
4374
  return e.toLowerCase();
4374
4375
  }
4375
- function jo(e) {
4376
- var t = (typeof window > "u" ? "undefined" : ie(window)) !== Eo && window.navigator && window.navigator.userAgent ? window.navigator.userAgent : So, r = {};
4377
- return r[ee] = void 0, r[te] = void 0, To.call(r, t, Po), r;
4376
+ function Ho(e) {
4377
+ var t = (typeof window > "u" ? "undefined" : ie(window)) !== Uo && window.navigator && window.navigator.userAgent ? window.navigator.userAgent : _o, r = {};
4378
+ return r[ee] = void 0, r[te] = void 0, Go.call(r, t, Vo), r;
4378
4379
  }
4379
- var yi = "Brave";
4380
- function wr() {
4380
+ var Ai = "Brave";
4381
+ function Ir() {
4381
4382
  if (typeof window > "u")
4382
4383
  return {};
4383
4384
  if (!window.navigator)
4384
4385
  return {};
4385
- var e = window.navigator, t = e.platform, r = e.product, n = e.vendor, i = Ro(window.navigator), a = i.type, s = i.version, o = a === yi ? a : (n || "").split(" ")[0];
4386
+ var e = window.navigator, t = e.platform, r = e.product, n = e.vendor, i = qo(window.navigator), a = i.type, s = i.version, o = a === Ai ? a : (n || "").split(" ")[0];
4386
4387
  return {
4387
4388
  platform: t,
4388
- os: jo(),
4389
+ os: Ho(),
4389
4390
  make: o || r,
4390
4391
  // product always gecko
4391
4392
  model: a,
4392
4393
  version: s,
4393
4394
  name: [a, s].join("/"),
4394
- language: No(),
4395
- timezone: xo()
4395
+ language: Fo(),
4396
+ timezone: Ko()
4396
4397
  };
4397
4398
  }
4398
- function No() {
4399
+ function Fo() {
4399
4400
  var e = window.navigator, t = e.language, r = e.browserLanguage, n = e.languages;
4400
4401
  return (t || r || (n || ["en_US"])[0]).toLowerCase().replace("-", "_");
4401
4402
  }
4402
- function xo() {
4403
+ function Ko() {
4403
4404
  var e = /\(([A-Za-z\s].*)\)/.exec((/* @__PURE__ */ new Date()).toString());
4404
4405
  return e && e[1] || "";
4405
4406
  }
4406
- function Ro(e) {
4407
+ function qo(e) {
4407
4408
  var t = e.userAgent, r = /.+(Opera[\s[A-Z]*|OPR[\sA-Z]*)\/([0-9\.]+).*/i.exec(t);
4408
4409
  if (r)
4409
4410
  return {
@@ -4426,7 +4427,7 @@ function Ro(e) {
4426
4427
  if (a) {
4427
4428
  var s = e.brave && e.brave.isBrave || !1;
4428
4429
  return {
4429
- type: s ? yi : a[1],
4430
+ type: s ? Ai : a[1],
4430
4431
  version: a[2]
4431
4432
  };
4432
4433
  }
@@ -4448,15 +4449,15 @@ function Ro(e) {
4448
4449
  version: c[2]
4449
4450
  };
4450
4451
  }
4451
- function ko(e) {
4452
+ function Bo(e) {
4452
4453
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4453
4454
  return t[e] || e;
4454
4455
  }
4455
- function Jt(e) {
4456
- return Xt.apply(this, arguments);
4456
+ function er(e) {
4457
+ return tr.apply(this, arguments);
4457
4458
  }
4458
- function Xt() {
4459
- return Xt = ae(/* @__PURE__ */ J.mark(function e(t) {
4459
+ function tr() {
4460
+ return tr = se(/* @__PURE__ */ J.mark(function e(t) {
4460
4461
  var r, n, i, a, s, o, u = arguments;
4461
4462
  return J.wrap(function(c) {
4462
4463
  for (; ; )
@@ -4468,9 +4469,9 @@ function Xt() {
4468
4469
  c.next = 13;
4469
4470
  break;
4470
4471
  }
4471
- return i = c.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], c.next = 9, wi(s, Co);
4472
+ return i = c.t1.value, a = Array.isArray(t[i]) ? t[i] : [t[i]], s = r ? a : a[0], c.next = 9, Ii(s, Yo);
4472
4473
  case 9:
4473
- o = c.sent, Si(o) || (n[i] = o), c.next = 3;
4474
+ o = c.sent, Pi(o) || (n[i] = o), c.next = 3;
4474
4475
  break;
4475
4476
  case 13:
4476
4477
  return c.abrupt("return", n);
@@ -4479,13 +4480,13 @@ function Xt() {
4479
4480
  return c.stop();
4480
4481
  }
4481
4482
  }, e);
4482
- })), Xt.apply(this, arguments);
4483
+ })), tr.apply(this, arguments);
4483
4484
  }
4484
- function bi(e) {
4485
- return Qt.apply(this, arguments);
4485
+ function Oi(e) {
4486
+ return rr.apply(this, arguments);
4486
4487
  }
4487
- function Qt() {
4488
- return Qt = ae(/* @__PURE__ */ J.mark(function e(t) {
4488
+ function rr() {
4489
+ return rr = se(/* @__PURE__ */ J.mark(function e(t) {
4489
4490
  var r, n;
4490
4491
  return J.wrap(function(a) {
4491
4492
  for (; ; )
@@ -4497,7 +4498,7 @@ function Qt() {
4497
4498
  a.next = 9;
4498
4499
  break;
4499
4500
  }
4500
- return n = a.t1.value, a.next = 6, wi(t[n], Mo);
4501
+ return n = a.t1.value, a.next = 6, Ii(t[n], Jo);
4501
4502
  case 6:
4502
4503
  r[n] = a.sent, a.next = 2;
4503
4504
  break;
@@ -4508,13 +4509,13 @@ function Qt() {
4508
4509
  return a.stop();
4509
4510
  }
4510
4511
  }, e);
4511
- })), Qt.apply(this, arguments);
4512
+ })), rr.apply(this, arguments);
4512
4513
  }
4513
- function wi(e, t) {
4514
- return Zt.apply(this, arguments);
4514
+ function Ii(e, t) {
4515
+ return nr.apply(this, arguments);
4515
4516
  }
4516
- function Zt() {
4517
- return Zt = ae(/* @__PURE__ */ J.mark(function e(t, r) {
4517
+ function nr() {
4518
+ return nr = se(/* @__PURE__ */ J.mark(function e(t, r) {
4518
4519
  return J.wrap(function(i) {
4519
4520
  for (; ; )
4520
4521
  switch (i.prev = i.next) {
@@ -4533,39 +4534,39 @@ function Zt() {
4533
4534
  return i.stop();
4534
4535
  }
4535
4536
  }, e);
4536
- })), Zt.apply(this, arguments);
4537
+ })), nr.apply(this, arguments);
4537
4538
  }
4538
- function Co(e) {
4539
+ function Yo(e) {
4539
4540
  if (e != null)
4540
- return Array.isArray(e) ? e.filter(Do).map(function(t) {
4541
+ return Array.isArray(e) ? e.filter(Xo).map(function(t) {
4541
4542
  return t.toString();
4542
- }) : Si(e) ? e : e.toString();
4543
+ }) : Pi(e) ? e : e.toString();
4543
4544
  }
4544
- function Mo(e) {
4545
+ function Jo(e) {
4545
4546
  return parseFloat(Number(Array.isArray(e) ? e[0] : e));
4546
4547
  }
4547
- function Do(e) {
4548
+ function Xo(e) {
4548
4549
  return e !== null && typeof e < "u";
4549
4550
  }
4550
- function Si(e) {
4551
+ function Pi(e) {
4551
4552
  return e == null;
4552
4553
  }
4553
- var er = "_session.start", gt = "_session.stop", Ei = "pageView";
4554
- function _o(e) {
4555
- return tr.apply(this, arguments);
4554
+ var ir = "_session.start", vt = "_session.stop", Ti = "pageView";
4555
+ function Qo(e) {
4556
+ return ar.apply(this, arguments);
4556
4557
  }
4557
- function tr() {
4558
- return tr = ae(/* @__PURE__ */ J.mark(function e(t) {
4559
- var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, R, x, N, U, D, L, z, F, C, $, H, G = arguments;
4558
+ function ar() {
4559
+ return ar = se(/* @__PURE__ */ J.mark(function e(t) {
4560
+ var r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, x, R, N, U, D, L, z, H, C, _, F, G = arguments;
4560
4561
  return J.wrap(function(p) {
4561
4562
  for (; ; )
4562
4563
  switch (p.prev = p.next) {
4563
4564
  case 0:
4564
4565
  if (r = G.length > 1 && G[1] !== void 0 ? G[1] : {}, n = G.length > 2 && G[2] !== void 0 ? G[2] : {}, i = n.appTitle, a = n.appPackageName, s = n.appVersionCode, o = n.eventMapping, u = n.enrichEventAttributes, l = n.enrichEventMetrics, c = n.debug, m = c ? console.log : function() {
4565
- }, f = ko(t, o), S = Fe(), v = r.sessionId || S.id, O = r.sessionStart || S.createdAt, b = r.sessionStart ? new Date(r.sessionStart).getTime() : S.created, m("event sessionData ", JSON.stringify(S)), be && (y = br(), d = gi(), m("event pageSessionInfo", JSON.stringify(y)), m("event tabSessionData ", JSON.stringify(d))), P = r.attributes || {}, A = r.eventId || we(), j = r.time ? new Date(r.time) : /* @__PURE__ */ new Date(), R = j.toISOString(), x = j.getTime() - b, N = Z({
4566
- date: R,
4566
+ }, f = Bo(t, o), S = Fe(), v = r.sessionId || S.id, O = r.sessionStart || S.createdAt, b = r.sessionStart ? new Date(r.sessionStart).getTime() : S.created, m("event sessionData ", JSON.stringify(S)), Ae && (y = Ar(), d = bi(), m("event pageSessionInfo", JSON.stringify(y)), m("event tabSessionData ", JSON.stringify(d))), P = r.attributes || {}, A = r.eventId || Oe(), j = r.time ? new Date(r.time) : /* @__PURE__ */ new Date(), x = j.toISOString(), R = j.getTime() - b, N = Z({
4567
+ date: x,
4567
4568
  sessionId: v
4568
- }, be ? {
4569
+ }, Ae ? {
4569
4570
  pageSession: y.id
4570
4571
  } : {}), !u) {
4571
4572
  p.next = 23;
@@ -4580,7 +4581,7 @@ function tr() {
4580
4581
  case 24:
4581
4582
  if (U = p.t0, D = Z(Z(Z({}, N), U), P), L = r.metrics || {}, z = {
4582
4583
  /* Time of session */
4583
- sessionTime: S.elapsed || x,
4584
+ sessionTime: S.elapsed || R,
4584
4585
  /* Date metrics */
4585
4586
  hour: j.getHours(),
4586
4587
  day: j.getDay() + 1,
@@ -4597,18 +4598,18 @@ function tr() {
4597
4598
  case 34:
4598
4599
  p.t1 = {};
4599
4600
  case 35:
4600
- return F = p.t1, C = Z(Z(Z({}, z), F), L), p.next = 39, Jt(D);
4601
+ return H = p.t1, C = Z(Z(Z({}, z), H), L), p.next = 39, er(D);
4601
4602
  case 39:
4602
- return p.t2 = p.sent, p.next = 42, bi(C);
4603
+ return p.t2 = p.sent, p.next = 42, Oi(C);
4603
4604
  case 42:
4604
- return p.t3 = p.sent, $ = {
4605
+ return p.t3 = p.sent, _ = {
4605
4606
  attributes: p.t2,
4606
4607
  metrics: p.t3
4607
- }, m("".concat(A, ":").concat(f)), m("eventAttributes", $.attributes), m("eventMetrics", $.metrics), be && m("clientInfo", wr()), H = vr({}, A, Z(Z({
4608
+ }, m("".concat(A, ":").concat(f)), m("eventAttributes", _.attributes), m("eventMetrics", _.metrics), Ae && m("clientInfo", Ir()), F = Sr({}, A, Z(Z({
4608
4609
  /* The name of the event */
4609
4610
  EventType: f,
4610
4611
  /* The date and time, in ISO 8601 format, when the event occurred. */
4611
- Timestamp: R,
4612
+ Timestamp: x,
4612
4613
  /* The package name of the app that's recording the event. */
4613
4614
  AppPackageName: a,
4614
4615
  /* The title of the app that's recording the event. */
@@ -4617,13 +4618,13 @@ function tr() {
4617
4618
  AppVersionCode: s
4618
4619
  } : {}), {}, {
4619
4620
  /* Event attributes - One or more custom attributes that are associated with the event. */
4620
- Attributes: $.attributes,
4621
+ Attributes: _.attributes,
4621
4622
  /* The version of the SDK that's running on the client device. */
4622
4623
  // ClientSdkVersion: 'STRING_VALUE',
4623
4624
  /* The name of the SDK that's being used to record the event. */
4624
4625
  // SdkName: 'STRING_VALUE',
4625
4626
  /* Event metrics - One or more custom metrics that are associated with the event. */
4626
- Metrics: $.metrics,
4627
+ Metrics: _.metrics,
4627
4628
  Session: {
4628
4629
  /* SessionId is required */
4629
4630
  Id: v,
@@ -4631,32 +4632,32 @@ function tr() {
4631
4632
  StartTimestamp: O
4632
4633
  // ISOString
4633
4634
  }
4634
- })), t === gt && (H[A].Session.Duration = x, H[A].Session.StopTimestamp = R), p.abrupt("return", H);
4635
+ })), t === vt && (F[A].Session.Duration = R, F[A].Session.StopTimestamp = x), p.abrupt("return", F);
4635
4636
  case 51:
4636
4637
  case "end":
4637
4638
  return p.stop();
4638
4639
  }
4639
4640
  }, e);
4640
- })), tr.apply(this, arguments);
4641
+ })), ar.apply(this, arguments);
4641
4642
  }
4642
- var $o = "__endpoint";
4643
- function ht(e) {
4644
- return "".concat($o, ".").concat(e);
4643
+ var Zo = "__endpoint";
4644
+ function yt(e) {
4645
+ return "".concat(Zo, ".").concat(e);
4645
4646
  }
4646
- var In = "__endpoint", Pn = !1;
4647
- function Sr() {
4648
- return rr.apply(this, arguments);
4647
+ var Nn = "__endpoint", Rn = !1;
4648
+ function Pr() {
4649
+ return sr.apply(this, arguments);
4649
4650
  }
4650
- function rr() {
4651
- return rr = ae(/* @__PURE__ */ J.mark(function e() {
4652
- var t, r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, R = arguments;
4651
+ function sr() {
4652
+ return sr = se(/* @__PURE__ */ J.mark(function e() {
4653
+ var t, r, n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j, x = arguments;
4653
4654
  return J.wrap(function(N) {
4654
4655
  for (; ; )
4655
4656
  switch (N.prev = N.next) {
4656
4657
  case 0:
4657
- return t = R.length > 0 && R[0] !== void 0 ? R[0] : {}, r = R.length > 1 && R[1] !== void 0 ? R[1] : {}, n = r.getUserId, i = r.getEndpointId, a = r.endpointMigration, s = Fo(r), o = s.sessionKey ? s.sessionKey() : "sessions", u = s.pageViewKey ? s.pageViewKey() : "pageViews", be && (m = wr(), l = br(), c = l.id), f = Fe(), N.next = 10, i();
4658
+ return t = x.length > 0 && x[0] !== void 0 ? x[0] : {}, r = x.length > 1 && x[1] !== void 0 ? x[1] : {}, n = r.getUserId, i = r.getEndpointId, a = r.endpointMigration, s = su(r), o = s.sessionKey ? s.sessionKey() : "sessions", u = s.pageViewKey ? s.pageViewKey() : "pageViews", Ae && (m = Ir(), l = Ar(), c = l.id), f = Fe(), N.next = 10, i();
4658
4659
  case 10:
4659
- if (S = N.sent, Pn || (Pn = !0, v = fr(In), v && (Mt(S, v), ri(In))), O = Uo(S), b = Vo(r), y = Lo(b, m), d = {
4660
+ if (S = N.sent, Rn || (Rn = !0, v = hr(Nn), v && (_t(S, v), si(Nn))), O = eu(S), b = iu(r), y = tu(b, m), d = {
4660
4661
  Attributes: {},
4661
4662
  Demographic: y,
4662
4663
  Location: {
@@ -4677,8 +4678,8 @@ function rr() {
4677
4678
  * NONE - Users has not opted out and receives all messages.
4678
4679
  */
4679
4680
  // OptOut: 'STRING_VALUE',
4680
- }, be && (m.device && m.device.vendor && (d.Attributes.DeviceMake = [m.device.vendor]), m.device && m.device.model && (d.Attributes.DeviceModel = [m.device.model]), m.device && m.device.type && (d.Attributes.DeviceType = [m.device.type])), t = so.all([O, d, t], {
4681
- arrayMerge: Go
4681
+ }, Ae && (m.device && m.device.vendor && (d.Attributes.DeviceMake = [m.device.vendor]), m.device && m.device.model && (d.Attributes.DeviceModel = [m.device.model]), m.device && m.device.type && (d.Attributes.DeviceType = [m.device.type])), t = Ao.all([O, d, t], {
4682
+ arrayMerge: au
4682
4683
  // TODO maybe change array merge
4683
4684
  }), !(t.User && t.User.UserId)) {
4684
4685
  N.next = 23;
@@ -4700,43 +4701,43 @@ function rr() {
4700
4701
  N.next = 32;
4701
4702
  break;
4702
4703
  }
4703
- return N.next = 31, Jt(t.User.UserAttributes, !0);
4704
+ return N.next = 31, er(t.User.UserAttributes, !0);
4704
4705
  case 31:
4705
4706
  t.User.UserAttributes = N.sent;
4706
4707
  case 32:
4707
- return N.next = 34, Jt(t.Attributes, !0);
4708
+ return N.next = 34, er(t.Attributes, !0);
4708
4709
  case 34:
4709
- return t.Attributes = N.sent, N.next = 37, bi(t.Metrics);
4710
+ return t.Attributes = N.sent, N.next = 37, Oi(t.Metrics);
4710
4711
  case 37:
4711
4712
  if (t.Metrics = N.sent, t.Metrics[o] || (t.Metrics[o] = 1), t.Metrics[u] || (t.Metrics[u] = 1), a && (t = a(S, t)), j = t.Attributes.lastSession, j) {
4712
4713
  N.next = 47;
4713
4714
  break;
4714
4715
  }
4715
- return t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], c && (t.Attributes.lastPageSession = [c]), N.abrupt("return", Mt(S, t));
4716
+ return t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], c && (t.Attributes.lastPageSession = [c]), N.abrupt("return", _t(S, t));
4716
4717
  case 47:
4717
- return j && j[0] !== f.id && (t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== c && (t.Attributes.lastPageSession = [c], t.Metrics[u] += 1), N.abrupt("return", Mt(S, t));
4718
+ return j && j[0] !== f.id && (t.Attributes.lastSessionDate = [f.createdAt], t.Attributes.lastSession = [f.id], t.Metrics[o] += 1), t.Attributes && t.Attributes.lastPageSession && Array.isArray(t.Attributes.lastPageSession) && t.Attributes.lastPageSession.length > 0 && t.Attributes.lastPageSession[0] !== c && (t.Attributes.lastPageSession = [c], t.Metrics[u] += 1), N.abrupt("return", _t(S, t));
4718
4719
  case 50:
4719
4720
  case "end":
4720
4721
  return N.stop();
4721
4722
  }
4722
4723
  }, e);
4723
- })), rr.apply(this, arguments);
4724
+ })), sr.apply(this, arguments);
4724
4725
  }
4725
- function Mt(e, t) {
4726
- var r = ht(e), n = no(t) ? t : JSON.stringify(t);
4727
- return js(r, n), t;
4726
+ function _t(e, t) {
4727
+ var r = yt(e), n = wo(t) ? t : JSON.stringify(t);
4728
+ return Hs(r, n), t;
4728
4729
  }
4729
- function Uo(e) {
4730
+ function eu(e) {
4730
4731
  try {
4731
- return JSON.parse(fr(ht(e))) || {};
4732
+ return JSON.parse(hr(yt(e))) || {};
4732
4733
  } catch {
4733
4734
  }
4734
4735
  return {};
4735
4736
  }
4736
- function Lo(e, t) {
4737
- return be ? Wo(e, t) : zo(e);
4737
+ function tu(e, t) {
4738
+ return Ae ? nu(e, t) : ru(e);
4738
4739
  }
4739
- function zo(e) {
4740
+ function ru(e) {
4740
4741
  var t = {
4741
4742
  AppVersion: e,
4742
4743
  Make: "generic server",
@@ -4745,7 +4746,7 @@ function zo(e) {
4745
4746
  };
4746
4747
  return t;
4747
4748
  }
4748
- function Wo(e, t) {
4749
+ function nu(e, t) {
4749
4750
  var r = {
4750
4751
  // AppTitle/0.0.0. Maps to application.version_name in kinesis stream
4751
4752
  AppVersion: e,
@@ -4767,33 +4768,33 @@ function Wo(e, t) {
4767
4768
  };
4768
4769
  return t.os && t.os.version && (r.PlatformVersion = t.os.version), r;
4769
4770
  }
4770
- function Vo(e) {
4771
+ function iu(e) {
4771
4772
  var t = e.appTitle || e.appPackageName || "", r = e.appVersionCode || "0.0.0";
4772
4773
  return t ? "".concat(t, "@").concat(r) : r;
4773
4774
  }
4774
- function Go(e, t) {
4775
+ function au(e, t) {
4775
4776
  return t;
4776
4777
  }
4777
- function Fo(e) {
4778
+ function su(e) {
4778
4779
  var t = e.getContext;
4779
4780
  return typeof t == "function" ? t() : t;
4780
4781
  }
4781
- function Ho(e) {
4782
+ function ou(e) {
4782
4783
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
4783
4784
  return /* @__PURE__ */ function() {
4784
- var r = ae(/* @__PURE__ */ J.mark(function i(a) {
4785
+ var r = se(/* @__PURE__ */ J.mark(function i(a) {
4785
4786
  var s, o, u, l, c = arguments;
4786
4787
  return J.wrap(function(f) {
4787
4788
  for (; ; )
4788
4789
  switch (f.prev = f.next) {
4789
4790
  case 0:
4790
- return s = c.length > 1 && c[1] !== void 0 ? c[1] : {}, o = c.length > 2 && c[2] !== void 0 ? c[2] : {}, u = c.length > 3 && c[3] !== void 0 ? c[3] : !1, dn(s) && (s = {}, u = s), dn(o) && (o = {}, u = o), f.next = 7, _o(a, s, t);
4791
+ return s = c.length > 1 && c[1] !== void 0 ? c[1] : {}, o = c.length > 2 && c[2] !== void 0 ? c[2] : {}, u = c.length > 3 && c[3] !== void 0 ? c[3] : !1, mn(s) && (s = {}, u = s), mn(o) && (o = {}, u = o), f.next = 7, Qo(a, s, t);
4791
4792
  case 7:
4792
- if (l = f.sent, !(Object.entries(o).length || a === Ei)) {
4793
+ if (l = f.sent, !(Object.entries(o).length || a === Ti)) {
4793
4794
  f.next = 12;
4794
4795
  break;
4795
4796
  }
4796
- return f.next = 11, Sr(o, t);
4797
+ return f.next = 11, Pr(o, t);
4797
4798
  case 11:
4798
4799
  o = f.sent;
4799
4800
  case 12:
@@ -4814,59 +4815,59 @@ function Ho(e) {
4814
4815
  return n;
4815
4816
  }();
4816
4817
  }
4817
- var Tn, Ko = [429, 500], qo = [202], Bo = 400;
4818
- function Yo(e, t) {
4819
- return nr.apply(this, arguments);
4818
+ var xn, uu = [429, 500], cu = [202], lu = 400;
4819
+ function fu(e, t) {
4820
+ return or.apply(this, arguments);
4820
4821
  }
4821
- function nr() {
4822
- return nr = ae(/* @__PURE__ */ J.mark(function e(t, r) {
4822
+ function or() {
4823
+ return or = se(/* @__PURE__ */ J.mark(function e(t, r) {
4823
4824
  var n, i, a, s, o, u, l, c, m, f, S, v, O, b, y, d, P, A, j;
4824
- return J.wrap(function(x) {
4825
+ return J.wrap(function(R) {
4825
4826
  for (; ; )
4826
- switch (x.prev = x.next) {
4827
+ switch (R.prev = R.next) {
4827
4828
  case 0:
4828
- return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, u = r.getCredentials, l = r.debug, x.next = 3, Jo(o, u);
4829
+ return n = r.pinpointRegion, i = r.pinpointAppId, a = r.lambdaArn, s = r.lambdaRegion, o = r.credentials, u = r.getCredentials, l = r.debug, R.next = 3, du(o, u);
4829
4830
  case 3:
4830
- return c = x.sent, l && console.log("pinpoint auth", c), m = s || n, f = n || s, S = r.fips === !0 ? "-fips" : "", v = "https://lambda.".concat(m, ".amazonaws.com/2015-03-31/functions/").concat(a, "/invocations"), O = "https://pinpoint".concat(S, ".").concat(f, ".amazonaws.com/v1/apps/").concat(i, "/events"), b = a ? v : O, P = {
4831
+ return c = R.sent, l && console.log("pinpoint auth", c), m = s || n, f = n || s, S = r.fips === !0 ? "-fips" : "", v = "https://lambda.".concat(m, ".amazonaws.com/2015-03-31/functions/").concat(a, "/invocations"), O = "https://pinpoint".concat(S, ".").concat(f, ".amazonaws.com/v1/apps/").concat(i, "/events"), b = a ? v : O, P = {
4831
4832
  body: JSON.stringify(t)
4832
- }, y = new co(c), x.next = 16, y.fetch(b, P).then(function(N) {
4833
+ }, y = new Po(c), R.next = 16, y.fetch(b, P).then(function(N) {
4833
4834
  return N.json();
4834
4835
  });
4835
4836
  case 16:
4836
- d = x.sent, x.next = 24;
4837
+ d = R.sent, R.next = 24;
4837
4838
  break;
4838
4839
  case 19:
4839
- return y = new Tn.PinpointClient({
4840
+ return y = new xn.PinpointClient({
4840
4841
  credentials: c,
4841
4842
  region: n
4842
- }), A = new Tn.PutEventsCommand({
4843
+ }), A = new xn.PutEventsCommand({
4843
4844
  ApplicationId: i,
4844
4845
  EventsRequest: t
4845
- }), x.next = 23, y.send(A);
4846
+ }), R.next = 23, y.send(A);
4846
4847
  case 23:
4847
- d = x.sent;
4848
+ d = R.sent;
4848
4849
  case 24:
4849
4850
  return d && d.Results && (j = Object.keys(d.Results).map(function(N) {
4850
4851
  return d.Results[N];
4851
4852
  }), j.forEach(function(N) {
4852
4853
  var U = N.EndpointItemResponse || {}, D = N.EventsItemResponse || {};
4853
- Object.keys(U).length && (qo.includes(U.StatusCode) || Ko.includes(U.StatusCode) || Xo(U, Endpoint));
4854
+ Object.keys(U).length && (cu.includes(U.StatusCode) || uu.includes(U.StatusCode) || pu(U, Endpoint));
4854
4855
  var L = Object.keys(D);
4855
4856
  L.length && L.forEach(function(z) {
4856
4857
  });
4857
- })), x.abrupt("return", d);
4858
+ })), R.abrupt("return", d);
4858
4859
  case 26:
4859
4860
  case "end":
4860
- return x.stop();
4861
+ return R.stop();
4861
4862
  }
4862
4863
  }, e);
4863
- })), nr.apply(this, arguments);
4864
+ })), or.apply(this, arguments);
4864
4865
  }
4865
- function Jo(e, t) {
4866
- return ir.apply(this, arguments);
4866
+ function du(e, t) {
4867
+ return ur.apply(this, arguments);
4867
4868
  }
4868
- function ir() {
4869
- return ir = ae(/* @__PURE__ */ J.mark(function e(t, r) {
4869
+ function ur() {
4870
+ return ur = se(/* @__PURE__ */ J.mark(function e(t, r) {
4870
4871
  var n, i;
4871
4872
  return J.wrap(function(s) {
4872
4873
  for (; ; )
@@ -4895,18 +4896,18 @@ function ir() {
4895
4896
  return s.stop();
4896
4897
  }
4897
4898
  }, e, null, [[2, 8]]);
4898
- })), ir.apply(this, arguments);
4899
+ })), ur.apply(this, arguments);
4899
4900
  }
4900
- function Xo(e, t) {
4901
+ function pu(e, t) {
4901
4902
  var r = e.StatusCode, n = e.Message;
4902
- if (r === Bo) {
4903
+ if (r === lu) {
4903
4904
  if (n.startsWith("Missing ChannelType"))
4904
4905
  throw new Error("Missing ChannelType");
4905
4906
  if (n.startsWith("Exceeded maximum endpoint per user count"))
4906
4907
  throw new Error("Exceeded maximum endpoint per user count");
4907
4908
  }
4908
4909
  }
4909
- var Qo = [
4910
+ var gu = [
4910
4911
  "PUSH",
4911
4912
  "GCM",
4912
4913
  "APNS",
@@ -4920,16 +4921,16 @@ var Qo = [
4920
4921
  "BAIDU",
4921
4922
  "CUSTOM"
4922
4923
  // 'IN_APP' what is this?
4923
- ], Dt = Qo.reduce(function(e, t) {
4924
+ ], Ut = gu.reduce(function(e, t) {
4924
4925
  return e[t] = t, e;
4925
- }, {}), Zo = wr(), jn = er, Nn = gt, eu = /.+\@.+\..+/;
4926
- function tu(e) {
4927
- return eu.test(e);
4926
+ }, {}), hu = Ir(), kn = ir, Cn = vt, mu = /.+\@.+\..+/;
4927
+ function vu(e) {
4928
+ return mu.test(e);
4928
4929
  }
4929
- function ru() {
4930
+ function yu() {
4930
4931
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.getEndpointId, r = e.debug;
4931
4932
  return /* @__PURE__ */ function() {
4932
- var n = ae(/* @__PURE__ */ J.mark(function a() {
4933
+ var n = se(/* @__PURE__ */ J.mark(function a() {
4933
4934
  var s, o, u, l, c, m, f, S, v, O, b = arguments;
4934
4935
  return J.wrap(function(d) {
4935
4936
  for (; ; )
@@ -4947,14 +4948,14 @@ function ru() {
4947
4948
  d.next = 13;
4948
4949
  break;
4949
4950
  }
4950
- d.t0 = nu(u), d.next = 16;
4951
+ d.t0 = bu(u), d.next = 16;
4951
4952
  break;
4952
4953
  case 13:
4953
- return d.next = 15, Sr(o, e);
4954
+ return d.next = 15, Pr(o, e);
4954
4955
  case 15:
4955
4956
  d.t0 = d.sent;
4956
4957
  case 16:
4957
- return c = d.t0, m = c.ChannelType, c.Address && tu(c.Address) && (m = Dt.EMAIL), !m && c.Address && (Zo.platform === "android" ? m = m || Dt.GCM : m = m || Dt.APNS), r && (console.log("Endpoint", c), console.log("CHANNEL_TYPE", m)), c.RequestId = we(), c.ChannelType = m, c.Address && (c.OptOut = c.OptOut || "NONE"), f = iu(s), S = au(u, c, f), d.prev = 26, d.next = 29, Yo(S, e);
4958
+ return c = d.t0, m = c.ChannelType, c.Address && vu(c.Address) && (m = Ut.EMAIL), !m && c.Address && (hu.platform === "android" ? m = m || Ut.GCM : m = m || Ut.APNS), r && (console.log("Endpoint", c), console.log("CHANNEL_TYPE", m)), c.RequestId = Oe(), c.ChannelType = m, c.Address && (c.OptOut = c.OptOut || "NONE"), f = wu(s), S = Su(u, c, f), d.prev = 26, d.next = 29, fu(S, e);
4958
4959
  case 29:
4959
4960
  v = d.sent, d.next = 36;
4960
4961
  break;
@@ -4979,43 +4980,43 @@ function ru() {
4979
4980
  return i;
4980
4981
  }();
4981
4982
  }
4982
- function nu(e) {
4983
+ function bu(e) {
4983
4984
  try {
4984
- return JSON.parse(fr(ht(e))) || {};
4985
+ return JSON.parse(hr(yt(e))) || {};
4985
4986
  } catch {
4986
4987
  }
4987
4988
  return {};
4988
4989
  }
4989
- function iu(e) {
4990
+ function wu(e) {
4990
4991
  return e.sort(function(t, r) {
4991
4992
  var n = t.EventType, i = r.EventType;
4992
- if (n == jn) return -1;
4993
- if (i == jn || n == Nn) return 1;
4994
- if (i == Nn) return -1;
4993
+ if (n == kn) return -1;
4994
+ if (i == kn || n == Cn) return 1;
4995
+ if (i == Cn) return -1;
4995
4996
  }).reduce(function(t, r) {
4996
4997
  return Z(Z({}, r), t);
4997
4998
  }, {});
4998
4999
  }
4999
- function au(e, t, r) {
5000
+ function Su(e, t, r) {
5000
5001
  return {
5001
- BatchItem: vr({}, e, {
5002
+ BatchItem: Sr({}, e, {
5002
5003
  Endpoint: t,
5003
5004
  Events: r
5004
5005
  })
5005
5006
  };
5006
5007
  }
5007
- var su = gt;
5008
- function Ai() {
5008
+ var Eu = vt;
5009
+ function ji() {
5009
5010
  return {};
5010
5011
  }
5011
- function ou() {
5012
+ function Au() {
5012
5013
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = Z({
5013
- getContext: e.getContext || Ai,
5014
+ getContext: e.getContext || ji,
5014
5015
  credentials: e.credentials || {},
5015
5016
  getEndpointId: e.getEndpointId
5016
5017
  }, e), r = t.debug ? console.log : function() {
5017
- }, n = ru(t), i = Xs(/* @__PURE__ */ function() {
5018
- var u = ae(/* @__PURE__ */ J.mark(function l(c, m) {
5018
+ }, n = yu(t), i = go(/* @__PURE__ */ function() {
5019
+ var u = se(/* @__PURE__ */ J.mark(function l(c, m) {
5019
5020
  var f;
5020
5021
  return J.wrap(function(v) {
5021
5022
  for (; ; )
@@ -5044,9 +5045,9 @@ function ou() {
5044
5045
  // Ensure only max is processed at interval
5045
5046
  // onPause: (queue) => {},
5046
5047
  // onEmpty: () => {}
5047
- }), a = Ho(i, t);
5048
- Sr({}, e);
5049
- var s = uu(a);
5048
+ }), a = ou(i, t);
5049
+ Pr({}, e);
5050
+ var s = Ou(a);
5050
5051
  function o(u) {
5051
5052
  return n([], u);
5052
5053
  }
@@ -5058,23 +5059,23 @@ function ou() {
5058
5059
  }
5059
5060
  };
5060
5061
  }
5061
- function uu(e) {
5062
- if (!be)
5063
- return Ai;
5064
- var t = cu(e);
5062
+ function Ou(e) {
5063
+ if (!Ae)
5064
+ return ji;
5065
+ var t = Iu(e);
5065
5066
  return window.addEventListener("beforeunload", t), function() {
5066
5067
  return window.removeEventListener("beforeunload", t);
5067
5068
  };
5068
5069
  }
5069
- function cu(e) {
5070
+ function Iu(e) {
5070
5071
  return function() {
5071
- e(su, !0);
5072
+ e(Eu, !0);
5072
5073
  };
5073
5074
  }
5074
- function _t() {
5075
+ function Lt() {
5075
5076
  throw new Error("Pinpoint not loaded");
5076
5077
  }
5077
- function lu(e) {
5078
+ function Pu(e) {
5078
5079
  return Object.keys(e).reduce(function(t, r) {
5079
5080
  var n = e[r];
5080
5081
  return typeof n == "number" && (t.metrics[r] = n), (typeof n == "string" || typeof n == "boolean") && (t.attributes[r] = n), t;
@@ -5083,14 +5084,14 @@ function lu(e) {
5083
5084
  metrics: {}
5084
5085
  });
5085
5086
  }
5086
- function fu(e) {
5087
+ function Tu(e) {
5087
5088
  var t = e.config, r = e.instance;
5088
5089
  t && t.disableAnonymousTraffic && !r.user("userId") && r.once("identifyStart", function(n) {
5089
5090
  var i = n.plugins, a = i["aws-pinpoint"];
5090
5091
  a.loaded() || r.loadPlugin("aws-pinpoint");
5091
5092
  });
5092
5093
  }
5093
- var du = {
5094
+ var ju = {
5094
5095
  /* Disable anonymous MTU */
5095
5096
  disableAnonymousTraffic: !1,
5096
5097
  // Pinpoint service region
@@ -5098,26 +5099,26 @@ var du = {
5098
5099
  // Custom event mapping
5099
5100
  eventMapping: {}
5100
5101
  };
5101
- function pu() {
5102
+ function Nu() {
5102
5103
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t, r, n = !1;
5103
5104
  function i() {
5104
5105
  var s = Fe();
5105
- e.debug && console.log("Stop session", s), t(gt, !0);
5106
+ e.debug && console.log("Stop session", s), t(vt, !0);
5106
5107
  }
5107
5108
  function a() {
5108
- var s = it(30);
5109
- e.debug && console.log("START SESSION", s), t(er);
5109
+ var s = at(30);
5110
+ e.debug && console.log("START SESSION", s), t(ir);
5110
5111
  }
5111
5112
  return {
5112
5113
  name: "aws-pinpoint",
5113
- config: Z(Z({}, du), e),
5114
- bootstrap: fu,
5114
+ config: Z(Z({}, ju), e),
5115
+ bootstrap: Tu,
5115
5116
  initialize: function(o) {
5116
5117
  var u = o.config, l = o.instance, c = u.disableAnonymousTraffic, m = u.debug, f = m ? console.log : function() {
5117
- }, S = l.getState(), v = S.user || {}, O = v.userId, b = v.anonymousId, y = S.context || {}, d = y.app, P = y.version, A = y.campaign, j = br(), R = gi(), x = Fe();
5118
- if (f("initPageSession", j), f("initTabSession", R), f("initSessionData", x), x && x.anonId && x.anonId !== b) {
5119
- f("anonId different refresh session details"), fn(), ro();
5120
- var N = it(30, {
5118
+ }, S = l.getState(), v = S.user || {}, O = v.userId, b = v.anonymousId, y = S.context || {}, d = y.app, P = y.version, A = y.campaign, j = Ar(), x = bi(), R = Fe();
5119
+ if (f("initPageSession", j), f("initTabSession", x), f("initSessionData", R), R && R.anonId && R.anonId !== b) {
5120
+ f("anonId different refresh session details"), hn(), bo();
5121
+ var N = at(30, {
5121
5122
  anonId: b,
5122
5123
  userId: O
5123
5124
  });
@@ -5125,9 +5126,9 @@ function pu() {
5125
5126
  }
5126
5127
  if (!O && c)
5127
5128
  return !1;
5128
- var U = Object.keys(A).reduce(function(F, C) {
5129
- return F["utm_".concat(C)] = A[C], F;
5130
- }, {}), D = ou(Z(Z({}, u), {}, {
5129
+ var U = Object.keys(A).reduce(function(H, C) {
5130
+ return H["utm_".concat(C)] = A[C], H;
5131
+ }, {}), D = Au(Z(Z({}, u), {}, {
5131
5132
  // The title of the app that's recording the event.
5132
5133
  appTitle: u.appTitle || d,
5133
5134
  // The package name of the app that's recording the event.
@@ -5147,7 +5148,7 @@ function pu() {
5147
5148
  return {
5148
5149
  sessionKey: u.sessionKey,
5149
5150
  pageViewKey: u.pageViewKey,
5150
- initialSession: x
5151
+ initialSession: R
5151
5152
  // scrollDepth: scrollDepthNow,
5152
5153
  // scrollDepthMax
5153
5154
  };
@@ -5172,39 +5173,39 @@ function pu() {
5172
5173
  return {};
5173
5174
  }
5174
5175
  }));
5175
- t = D.recordEvent, r = D.updateEndpoint, x && x.isNew && (f("Start brand new session because cookie not found"), t(er));
5176
+ t = D.recordEvent, r = D.updateEndpoint, R && R.isNew && (f("Start brand new session because cookie not found"), t(ir));
5176
5177
  var L = 18e5, z = L;
5177
- bo({
5178
+ Do({
5178
5179
  timeout: z,
5179
5180
  throttle: 2e4,
5180
- onIdle: function(C, $) {
5181
+ onIdle: function(C, _) {
5181
5182
  f("Session idle. Active ".concat(C, " seconds")), i();
5182
5183
  },
5183
- onWakeUp: function(C, $) {
5184
+ onWakeUp: function(C, _) {
5184
5185
  f("Session wakeup. Idle ".concat(C, " seconds")), a();
5185
5186
  },
5186
- onHeartbeat: function(C, $) {
5187
+ onHeartbeat: function(C, _) {
5187
5188
  f("ping session", /* @__PURE__ */ new Date()), f("total active time", C);
5188
- var H = l.user();
5189
- to(30, {
5190
- anonId: H.anonymousId,
5191
- userId: H.userId
5189
+ var F = l.user();
5190
+ yo(30, {
5191
+ anonId: F.anonymousId,
5192
+ userId: F.userId
5192
5193
  });
5193
5194
  }
5194
5195
  });
5195
5196
  },
5196
5197
  page: function(o) {
5197
5198
  if (o.payload, o.config, !t)
5198
- return _t();
5199
- n && fn(), t(Ei), n = !0;
5199
+ return Lt();
5200
+ n && hn(), t(Ti), n = !0;
5200
5201
  },
5201
5202
  /* Track event & update endpoint details */
5202
5203
  track: function(o) {
5203
5204
  var u = o.payload, l = o.config;
5204
5205
  if (o.instance, !t)
5205
- return _t();
5206
+ return Lt();
5206
5207
  if (!(l.disableAnonymousTraffic && !u.userId)) {
5207
- var c = lu(u.properties);
5208
+ var c = Pu(u.properties);
5208
5209
  t(u.event, c);
5209
5210
  }
5210
5211
  },
@@ -5212,22 +5213,22 @@ function pu() {
5212
5213
  identify: function(o) {
5213
5214
  var u = o.payload, l = u.userId, c = u.traits;
5214
5215
  if (!r)
5215
- return _t();
5216
+ return Lt();
5216
5217
  var m = {}, f = {};
5217
5218
  l && (f.UserId = l), c && Object.keys(c).length && (f.UserAttributes = c), Object.keys(f).length && (m.User = f), r(m, !0);
5218
5219
  },
5219
5220
  /* Reset user details */
5220
5221
  reset: function(o) {
5221
- var u = o.instance, l = u.user("anonymousId"), c = ht(l);
5222
- ri(c);
5222
+ var u = o.instance, l = u.user("anonymousId"), c = yt(l);
5223
+ si(c);
5223
5224
  },
5224
5225
  loaded: function() {
5225
5226
  return !!t;
5226
5227
  }
5227
5228
  };
5228
5229
  }
5229
- var gu = pu;
5230
- function Oi(e) {
5230
+ var Ru = Nu;
5231
+ function Ni(e) {
5231
5232
  return Object.keys(e).some((t) => {
5232
5233
  let r = e[t];
5233
5234
  if (!r)
@@ -5252,7 +5253,7 @@ function Oi(e) {
5252
5253
  }
5253
5254
  });
5254
5255
  }
5255
- function Ii(e) {
5256
+ function Ri(e) {
5256
5257
  const t = {};
5257
5258
  return Object.keys(e).forEach((r) => {
5258
5259
  var n, i;
@@ -5285,18 +5286,18 @@ function Ii(e) {
5285
5286
  (o || o === 0 || typeof o == "string" || Array.isArray(o)) && (t[r] = o);
5286
5287
  }), t;
5287
5288
  }
5288
- function Pi(e, t) {
5289
- return Array.isArray(t) && t[0] && Array.isArray(t[0]) ? t.map((r) => Pi(e, r)).join("&") : encodeURIComponent(e) + "=" + encodeURIComponent(t);
5289
+ function xi(e, t) {
5290
+ return Array.isArray(t) && t[0] && Array.isArray(t[0]) ? t.map((r) => xi(e, r)).join("&") : encodeURIComponent(e) + "=" + encodeURIComponent(t);
5290
5291
  }
5291
- function ar(e) {
5292
- const t = Ii(e);
5293
- return Object.keys(t).map((r) => Pi(r, t[r])).join("&");
5292
+ function cr(e) {
5293
+ const t = Ri(e);
5294
+ return Object.keys(t).map((r) => xi(r, t[r])).join("&");
5294
5295
  }
5295
- const hu = globalThis.FormData;
5296
- function mu(e, t) {
5297
- const r = Oi(e) || t, n = Ii(e);
5296
+ const xu = globalThis.FormData;
5297
+ function ku(e, t) {
5298
+ const r = Ni(e) || t, n = Ri(e);
5298
5299
  if (r) {
5299
- const i = new hu();
5300
+ const i = new xu();
5300
5301
  return Object.keys(n).forEach((a) => {
5301
5302
  if (typeof Blob < "u" && n[a] instanceof Blob) {
5302
5303
  const s = n.fileName || n[a].name || a;
@@ -5305,9 +5306,9 @@ function mu(e, t) {
5305
5306
  i.append(a, n[a]);
5306
5307
  }), i;
5307
5308
  } else
5308
- return ar(e);
5309
+ return cr(e);
5309
5310
  }
5310
- class Te extends Error {
5311
+ class xe extends Error {
5311
5312
  /**
5312
5313
  * Create a new `ArcGISRequestError` object.
5313
5314
  *
@@ -5323,14 +5324,14 @@ class Te extends Error {
5323
5324
  Object.setPrototypeOf(this, s), t = t || "UNKNOWN_ERROR", r = r || "UNKNOWN_ERROR_CODE", this.name = "ArcGISRequestError", this.message = r === "UNKNOWN_ERROR_CODE" ? t : `${r}: ${t}`, this.originalMessage = t, this.code = r, this.response = n, this.url = i, this.options = a;
5324
5325
  }
5325
5326
  }
5326
- const vu = {
5327
+ const Cu = {
5327
5328
  noCorsDomains: [],
5328
5329
  crossOriginNoCorsDomains: {},
5329
5330
  pendingNoCorsRequests: {}
5330
- }, sr = "ARCGIS_REST_JS_NO_CORS";
5331
- globalThis[sr] || (globalThis[sr] = Object.assign({}, vu));
5332
- const re = globalThis[sr];
5333
- function yu(e) {
5331
+ }, lr = "ARCGIS_REST_JS_NO_CORS";
5332
+ globalThis[lr] || (globalThis[lr] = Object.assign({}, Cu));
5333
+ const re = globalThis[lr];
5334
+ function Mu(e) {
5334
5335
  const t = new URL(e);
5335
5336
  e = t.origin + t.pathname, t.search.includes("f=json") && (e += "?f=json");
5336
5337
  const r = t.origin;
@@ -5342,16 +5343,16 @@ function yu(e) {
5342
5343
  re.noCorsDomains.indexOf(r) === -1 && re.noCorsDomains.push(r), re.crossOriginNoCorsDomains[r.toLowerCase()] = Date.now(), delete re.pendingNoCorsRequests[r];
5343
5344
  }).catch((n) => (delete re.pendingNoCorsRequests[r], Promise.reject(new Error(`no-cors request to ${r} failed`))))), re.pendingNoCorsRequests[r];
5344
5345
  }
5345
- function bu(e) {
5346
+ function Du(e) {
5346
5347
  e.forEach((t) => {
5347
- t = t.toLowerCase(), /^https?:\/\//.test(t) ? $t(t) : ($t("http://" + t), $t("https://" + t));
5348
+ t = t.toLowerCase(), /^https?:\/\//.test(t) ? zt(t) : (zt("http://" + t), zt("https://" + t));
5348
5349
  });
5349
5350
  }
5350
- function $t(e) {
5351
+ function zt(e) {
5351
5352
  const r = new URL(e).origin;
5352
5353
  re.noCorsDomains.indexOf(r) === -1 && re.noCorsDomains.push(r);
5353
5354
  }
5354
- function Ti(e) {
5355
+ function ki(e) {
5355
5356
  let t = !1;
5356
5357
  if (re.noCorsDomains.length) {
5357
5358
  const r = new URL(e).origin.toLowerCase();
@@ -5359,18 +5360,18 @@ function Ti(e) {
5359
5360
  }
5360
5361
  return t;
5361
5362
  }
5362
- function wu(e) {
5363
+ function $u(e) {
5363
5364
  let t = !1;
5364
- if (Ti(e)) {
5365
+ if (ki(e)) {
5365
5366
  const r = new URL(e).origin.toLowerCase(), n = re.crossOriginNoCorsDomains[r] || 0;
5366
5367
  Date.now() - 60 * 6e4 > n && (t = !0);
5367
5368
  }
5368
5369
  return t;
5369
5370
  }
5370
- function Su(e) {
5371
+ function _u(e) {
5371
5372
  console && console.warn && console.warn.apply(console, [e]);
5372
5373
  }
5373
- function Eu() {
5374
+ function Uu() {
5374
5375
  return Promise.resolve({
5375
5376
  fetch: globalThis.fetch,
5376
5377
  Headers: globalThis.Headers,
@@ -5378,7 +5379,7 @@ function Eu() {
5378
5379
  Request: globalThis.Request
5379
5380
  });
5380
5381
  }
5381
- function Au(e, t) {
5382
+ function Lu(e, t) {
5382
5383
  var r;
5383
5384
  if (!t && !window || !e)
5384
5385
  return !1;
@@ -5388,8 +5389,8 @@ function Au(e, t) {
5388
5389
  return e.startsWith(n);
5389
5390
  }
5390
5391
  }
5391
- const Ou = "@esri/arcgis-rest-js";
5392
- function Iu() {
5392
+ const zu = "@esri/arcgis-rest-js";
5393
+ function Wu() {
5393
5394
  return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS || {
5394
5395
  httpMethod: "POST",
5395
5396
  params: {
@@ -5397,7 +5398,7 @@ function Iu() {
5397
5398
  }
5398
5399
  };
5399
5400
  }
5400
- class ji extends Te {
5401
+ class Ci extends xe {
5401
5402
  /**
5402
5403
  * Create a new `ArcGISAuthError` object.
5403
5404
  *
@@ -5417,7 +5418,7 @@ class ji extends Te {
5417
5418
  const i = (a, s) => {
5418
5419
  n = n + 1, t(this.url, this.options).then((o) => {
5419
5420
  const u = Object.assign(Object.assign({}, this.options), { authentication: o });
5420
- return Ni(this.url, u);
5421
+ return Mi(this.url, u);
5421
5422
  }).then((o) => {
5422
5423
  a(o);
5423
5424
  }).catch((o) => {
@@ -5429,14 +5430,14 @@ class ji extends Te {
5429
5430
  });
5430
5431
  }
5431
5432
  }
5432
- function Pu(e, t, r, n, i) {
5433
+ function Vu(e, t, r, n, i) {
5433
5434
  if (e.code >= 400) {
5434
5435
  const { message: a, code: s } = e;
5435
- throw new Te(a, s, e, t, n);
5436
+ throw new xe(a, s, e, t, n);
5436
5437
  }
5437
5438
  if (e.error) {
5438
5439
  const { message: a, code: s, messageCode: o } = e.error, u = o || s || "UNKNOWN_ERROR_CODE";
5439
- throw s === 498 || s === 499 ? i || new ji(a, u, e, t, n) : new Te(a, u, e, t, n);
5440
+ throw s === 498 || s === 499 ? i || new Ci(a, u, e, t, n) : new xe(a, u, e, t, n);
5440
5441
  }
5441
5442
  if (e.status === "failed" || e.status === "failure") {
5442
5443
  let a, s = "UNKNOWN_ERROR_CODE";
@@ -5445,12 +5446,12 @@ function Pu(e, t, r, n, i) {
5445
5446
  } catch {
5446
5447
  a = e.statusMessage || e.message;
5447
5448
  }
5448
- throw new Te(a, s, e, t, n);
5449
+ throw new xe(a, s, e, t, n);
5449
5450
  }
5450
5451
  return e;
5451
5452
  }
5452
- function Ni(e, t) {
5453
- const r = Iu(), n = Object.assign(Object.assign(Object.assign({ httpMethod: "POST" }, r), t), {
5453
+ function Mi(e, t) {
5454
+ const r = Wu(), n = Object.assign(Object.assign(Object.assign({ httpMethod: "POST" }, r), t), {
5454
5455
  params: Object.assign(Object.assign({}, r.params), t.params),
5455
5456
  headers: Object.assign(Object.assign({}, r.headers), t.headers)
5456
5457
  }), { httpMethod: i, rawResponse: a } = n, s = Object.assign({ f: "json" }, n.params);
@@ -5462,7 +5463,7 @@ function Ni(e, t) {
5462
5463
  needed to support sending IWA cookies */
5463
5464
  credentials: n.credentials || "same-origin"
5464
5465
  };
5465
- Ti(e) && (u.credentials = "include"), n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
5466
+ ki(e) && (u.credentials = "include"), n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
5466
5467
  let l;
5467
5468
  if (typeof n.authentication == "string") {
5468
5469
  const v = n.authentication;
@@ -5471,38 +5472,38 @@ function Ni(e, t) {
5471
5472
  getToken: () => Promise.resolve(v)
5472
5473
  }, !n.authentication.startsWith("AAPK") && !n.authentication.startsWith("AATK") && // doesn't look like an API Key
5473
5474
  !n.suppressWarnings && // user doesn't want to suppress warnings for this request
5474
- !globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING && (Su("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."), globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING = !0);
5475
+ !globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING && (_u("Using an oAuth 2.0 access token directly in the token option is discouraged. Consider using ArcGISIdentityManager or Application session. See https://esriurl.com/arcgis-rest-js-direct-token-warning for more information."), globalThis.ARCGIS_REST_JS_SUPPRESS_TOKEN_WARNING = !0);
5475
5476
  } else
5476
5477
  l = n.authentication;
5477
5478
  const c = e;
5478
5479
  let m = !1;
5479
- typeof window < "u" && (m = Au(e));
5480
- const f = !m && wu(e);
5480
+ typeof window < "u" && (m = Lu(e));
5481
+ const f = !m && $u(e);
5481
5482
  n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
5482
5483
  let S = Promise.resolve();
5483
- return f && (u.credentials = "include", S = yu(e)), S.then(() => l ? l.getToken(e).catch((v) => (v.url = e, v.options = n, o = v, Promise.resolve(""))) : Promise.resolve("")).then((v) => {
5484
+ return f && (u.credentials = "include", S = Mu(e)), S.then(() => l ? l.getToken(e).catch((v) => (v.url = e, v.options = n, o = v, Promise.resolve(""))) : Promise.resolve("")).then((v) => {
5484
5485
  v.length && (s.token = v), l && l.getDomainCredentials && (u.credentials = l.getDomainCredentials(e));
5485
5486
  const O = {};
5486
5487
  if (u.method === "GET") {
5487
5488
  s.token && n.hideToken && // Sharing API does not support preflight check required by modern browsers https://developer.mozilla.org/en-US/docs/Glossary/Preflight_request
5488
5489
  typeof window > "u" && (O["X-Esri-Authorization"] = `Bearer ${s.token}`, delete s.token);
5489
- const d = ar(s) === "" ? e : e + "?" + ar(s);
5490
+ const d = cr(s) === "" ? e : e + "?" + cr(s);
5490
5491
  // This would exceed the maximum length for URLs by 2000 as default or as specified by the consumer and requires POST
5491
5492
  n.maxUrlLength && d.length > n.maxUrlLength || !n.maxUrlLength && d.length > 2e3 || // Or if the customer requires the token to be hidden and it has not already been hidden in the header (for browsers)
5492
5493
  s.token && n.hideToken ? (u.method = "POST", v.length && n.hideToken && (s.token = v, delete O["X-Esri-Authorization"])) : e = d;
5493
5494
  }
5494
5495
  const b = new RegExp("/items/.+/updateResources").test(e);
5495
- return u.method === "POST" && (u.body = mu(s, b)), u.headers = Object.assign(Object.assign({}, O), n.headers), (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = Ou), !Oi(s) && !b && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), globalThis.fetch ? globalThis.fetch(e, u) : Eu().then(({ fetch: y }) => y(e, u));
5496
+ return u.method === "POST" && (u.body = ku(s, b)), u.headers = Object.assign(Object.assign({}, O), n.headers), (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = zu), !Ni(s) && !b && (u.headers["Content-Type"] = "application/x-www-form-urlencoded"), globalThis.fetch ? globalThis.fetch(e, u) : Uu().then(({ fetch: y }) => y(e, u));
5496
5497
  }).then((v) => {
5497
5498
  if (!v.ok)
5498
5499
  return v.json().then((O) => {
5499
5500
  const { status: b, statusText: y } = v, { message: d, details: P } = O.error, A = `${d}. ${P ? P.join(" ") : ""}`.trim();
5500
- throw new Te(A, `HTTP ${b} ${y}`, O, e, n);
5501
+ throw new xe(A, `HTTP ${b} ${y}`, O, e, n);
5501
5502
  }).catch((O) => {
5502
5503
  if (O.name === "ArcGISRequestError")
5503
5504
  throw O;
5504
5505
  const { status: b, statusText: y } = v;
5505
- throw new Te(y, `HTTP ${b}`, v, e, n);
5506
+ throw new xe(y, `HTTP ${b}`, v, e, n);
5506
5507
  });
5507
5508
  if (a)
5508
5509
  return v;
@@ -5521,8 +5522,8 @@ function Ni(e, t) {
5521
5522
  }
5522
5523
  }).then((v) => {
5523
5524
  if ((s.f === "json" || s.f === "geojson") && !a) {
5524
- const O = Pu(v, c, s, n, o);
5525
- if (v && /\/sharing\/rest\/(accounts|portals)\/self/i.test(e) && Array.isArray(v.authorizedCrossOriginNoCorsDomains) && bu(v.authorizedCrossOriginNoCorsDomains), o) {
5525
+ const O = Vu(v, c, s, n, o);
5526
+ if (v && /\/sharing\/rest\/(accounts|portals)\/self/i.test(e) && Array.isArray(v.authorizedCrossOriginNoCorsDomains) && Du(v.authorizedCrossOriginNoCorsDomains), o) {
5526
5527
  const b = e.toLowerCase().split(/\/rest(\/admin)?\/services\//)[0];
5527
5528
  n.authentication.federatedServers[b] = {
5528
5529
  token: [],
@@ -5535,37 +5536,37 @@ function Ni(e, t) {
5535
5536
  return v;
5536
5537
  });
5537
5538
  }
5538
- function xi(e, t = { params: { f: "json" } }) {
5539
- const { request: r } = t, n = ur(t, ["request"]);
5540
- return r ? r(e, n) : Ni(e, n).catch((i) => i instanceof ji && t.authentication && typeof t.authentication != "string" && t.authentication.canRefresh && t.authentication.refreshCredentials ? i.retry(() => t.authentication.refreshCredentials(), 1) : Promise.reject(i));
5539
+ function Di(e, t = { params: { f: "json" } }) {
5540
+ const { request: r } = t, n = dr(t, ["request"]);
5541
+ return r ? r(e, n) : Mi(e, n).catch((i) => i instanceof Ci && t.authentication && typeof t.authentication != "string" && t.authentication.canRefresh && t.authentication.refreshCredentials ? i.retry(() => t.authentication.refreshCredentials(), 1) : Promise.reject(i));
5541
5542
  }
5542
- function Tu(e) {
5543
+ function Gu(e) {
5543
5544
  return typeof e != "string" || (e = e.trim(), e[e.length - 1] === "/" && (e = e.slice(0, -1))), e;
5544
5545
  }
5545
- function or(e = {}) {
5546
- return e.portal ? Tu(e.portal) : e.authentication && typeof e.authentication != "string" ? e.authentication.portal : "https://www.arcgis.com/sharing/rest";
5546
+ function fr(e = {}) {
5547
+ return e.portal ? Gu(e.portal) : e.authentication && typeof e.authentication != "string" ? e.authentication.portal : "https://www.arcgis.com/sharing/rest";
5547
5548
  }
5548
- function ju(e) {
5549
+ function Hu(e) {
5549
5550
  return e.owner ? Promise.resolve(e.owner) : e.item && e.item.owner ? Promise.resolve(e.item.owner) : e.authentication && e.authentication.getUsername ? e.authentication.getUsername() : Promise.reject(new Error("Could not determine the owner of this item. Pass the `owner`, `item.owner`, or `authentication` option."));
5550
5551
  }
5551
- function Nu(e) {
5552
+ function Fu(e) {
5552
5553
  return Array.isArray(e) && Array.isArray(e[0]) && Array.isArray(e[1]);
5553
5554
  }
5554
- function xu(e) {
5555
+ function Ku(e) {
5555
5556
  return e.join(",");
5556
5557
  }
5557
- function Ru(e) {
5558
- return ju(e).then((t) => {
5559
- const r = e.folderId ? `${or(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update` : `${or(e)}/content/users/${t}/items/${e.item.id}/update`;
5560
- return e.params = Object.assign(Object.assign({}, e.params), e.item), e.params.extent && Nu(e.params.extent) && (e.params.extent = xu(e.params.extent)), xi(r, e);
5558
+ function qu(e) {
5559
+ return Hu(e).then((t) => {
5560
+ const r = e.folderId ? `${fr(e)}/content/users/${t}/${e.folderId}/items/${e.item.id}/update` : `${fr(e)}/content/users/${t}/items/${e.item.id}/update`;
5561
+ return e.params = Object.assign(Object.assign({}, e.params), e.item), e.params.extent && Fu(e.params.extent) && (e.params.extent = Ku(e.params.extent)), Di(r, e);
5561
5562
  });
5562
5563
  }
5563
- function Ri(e, t) {
5564
- const r = ku(e, t), n = Object.assign({ httpMethod: "GET" }, t);
5565
- return xi(r, n);
5564
+ function $i(e, t) {
5565
+ const r = Bu(e, t), n = Object.assign({ httpMethod: "GET" }, t);
5566
+ return Di(r, n);
5566
5567
  }
5567
- const ku = (e, t) => `${typeof t == "string" ? t : or(t)}/content/items/${e}`;
5568
- function Cu(e, t, r) {
5568
+ const Bu = (e, t) => `${typeof t == "string" ? t : fr(t)}/content/items/${e}`;
5569
+ function Yu(e, t, r) {
5569
5570
  return r.reduce((n, i) => {
5570
5571
  const { action: a, targetProperty: s } = i;
5571
5572
  return a === "add" ? n[s] = {
@@ -5574,11 +5575,11 @@ function Cu(e, t, r) {
5574
5575
  } : a === "remove" && delete n[s], n;
5575
5576
  }, t);
5576
5577
  }
5577
- async function Mu({ id: e, authentication: t, username: r, accessChangeset: n }) {
5578
- const { properties: i = {} } = await Ri(e, {
5578
+ async function Ju({ id: e, authentication: t, username: r, accessChangeset: n }) {
5579
+ const { properties: i = {} } = await $i(e, {
5579
5580
  authentication: t
5580
- }), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, u = ur(s, ["arcgis"]), l = Cu(r, o, n);
5581
- return Ru({
5581
+ }), a = i.telemetry, s = a === void 0 ? {} : a, { arcgis: { access: o = {} } = {} } = s, u = dr(s, ["arcgis"]), l = Yu(r, o, n);
5582
+ return qu({
5582
5583
  item: {
5583
5584
  id: e,
5584
5585
  properties: Object.assign(Object.assign({}, i), { telemetry: Object.assign(Object.assign({}, u), { arcgis: {
@@ -5588,24 +5589,24 @@ async function Mu({ id: e, authentication: t, username: r, accessChangeset: n })
5588
5589
  authentication: t
5589
5590
  });
5590
5591
  }
5591
- async function Du({ id: e, authentication: t }) {
5592
- const { properties: { telemetry: { arcgis: { access: r = {} } = {} } = {} } } = await Ri(e, {
5592
+ async function Xu({ id: e, authentication: t }) {
5593
+ const { properties: { telemetry: { arcgis: { access: r = {} } = {} } = {} } } = await $i(e, {
5593
5594
  authentication: t
5594
5595
  });
5595
5596
  return { access: r };
5596
5597
  }
5597
- class _u {
5598
+ class Qu {
5598
5599
  constructor(t) {
5599
5600
  this.name = "amazon";
5600
5601
  const { app: r = {}, fips: n, userPoolID: i } = t;
5601
- this.analytics = Ws({
5602
+ this.analytics = no({
5602
5603
  app: r.name,
5603
5604
  version: r.version,
5604
5605
  plugins: [
5605
- gu({
5606
+ Ru({
5606
5607
  fips: n,
5607
5608
  pinpointAppId: r.id,
5608
- getCredentials: () => Qi(i, { fips: n })
5609
+ getCredentials: () => na(i, { fips: n })
5609
5610
  })
5610
5611
  ]
5611
5612
  }), Object.assign(this, t);
@@ -5614,7 +5615,7 @@ class _u {
5614
5615
  return Promise.resolve();
5615
5616
  }
5616
5617
  static async setAccessPermissions({ id: t, authentication: r, username: n, accessChangeset: i }) {
5617
- return Mu({
5618
+ return Ju({
5618
5619
  id: t,
5619
5620
  authentication: r,
5620
5621
  username: n,
@@ -5622,10 +5623,10 @@ class _u {
5622
5623
  });
5623
5624
  }
5624
5625
  static async getAccessPermissions({ id: t, authentication: r }) {
5625
- return Du({ id: t, authentication: r });
5626
+ return Xu({ id: t, authentication: r });
5626
5627
  }
5627
5628
  logPageView(t, r) {
5628
- const n = ia({
5629
+ const n = ca({
5629
5630
  page: t,
5630
5631
  previousPage: this.previousPage,
5631
5632
  options: r,
@@ -5635,7 +5636,7 @@ class _u {
5635
5636
  this.previousPage = { pageUrl: i, pageName: a }, this.analytics.track("pageView", n);
5636
5637
  }
5637
5638
  logEvent(t = {}) {
5638
- const r = na({
5639
+ const r = ua({
5639
5640
  event: t,
5640
5641
  dimensionLookup: this.dimensions,
5641
5642
  metricLookup: this.metrics
@@ -5643,7 +5644,7 @@ class _u {
5643
5644
  this.analytics.track(n, r);
5644
5645
  }
5645
5646
  }
5646
- const $u = $i`/** @license
5647
+ const Zu = Vi`/** @license
5647
5648
  * Copyright 2025 Esri
5648
5649
  *
5649
5650
  * Licensed under the Apache License, Version 2.0 (the "License");
@@ -5658,15 +5659,15 @@ const $u = $i`/** @license
5658
5659
  * See the License for the specific language governing permissions and
5659
5660
  * limitations under the License.
5660
5661
  */:host{display:block}.consent-panel{position:fixed;display:block;z-index:5000;bottom:0;left:0;width:100%;height:auto;text-align:center}.cookie-consent-popup-container{position:relative;display:block;bottom:0;left:0;width:100%;margin:0;padding-top:1rem;padding-bottom:1rem;transition:transform .5s ease-out 0s;background-color:#333333f2;color:#fff}.button-container{position:static;margin-bottom:1rem;display:flex;justify-content:center;flex-wrap:wrap}.padding-end-1{padding-inline-end:1rem}.link-text{--calcite-ui-text-link: var(--calcite-color-text-inverse);--calcite-ui-brand: var(--calcite-color-text-inverse);--calcite-color-text-link: var(--calcite-color-text-inverse);--calcite-color-brand-underline: var(--calcite-color-text-inverse);--calcite-color-brand: var(--calcite-color-text-inverse)}`;
5661
- class Uu extends Di {
5662
+ class ec extends zi {
5662
5663
  constructor() {
5663
- super(...arguments), this.amazonAppId = "", this.amazonAppName = "", this.amazonUserPoolID = "", this.amazonVersion = "", this.firstUseVar = "", this.measurementIds = [], this._open = !1, this._translations = Mi({ name: "consent-manager", blocking: !0 }), this._loaded = !1, this.consentGranted = _i();
5664
+ super(...arguments), this.amazonAppId = "", this.amazonAppName = "", this.amazonUserPoolID = "", this.amazonVersion = "", this.firstUseVar = "", this.measurementIds = [], this._open = !1, this._translations = Li({ name: "consent-manager", blocking: !0 }), this._loaded = !1, this.consentGranted = Wi();
5664
5665
  }
5665
5666
  static {
5666
5667
  this.properties = { amazonAppId: 1, amazonAppName: 1, amazonUserPoolID: 1, amazonVersion: 1, firstUseVar: 1, measurementIds: 0, portal: 0, _open: 16, _translations: 16 };
5667
5668
  }
5668
5669
  static {
5669
- this.styles = $u;
5670
+ this.styles = Zu;
5670
5671
  }
5671
5672
  async getInstance() {
5672
5673
  if (localStorage.getItem(this.firstUseVar) === "true" || this.portal?.eueiEnabled)
@@ -5690,13 +5691,13 @@ class Uu extends Di {
5690
5691
  portal: this.portal
5691
5692
  };
5692
5693
  if (this.measurementIds?.length > 0) {
5693
- const r = new Xi({
5694
+ const r = new ra({
5694
5695
  measurementIds: this.measurementIds
5695
5696
  });
5696
5697
  t.plugins.push(r);
5697
5698
  }
5698
5699
  if (this.amazonUserPoolID) {
5699
- const r = new _u({
5700
+ const r = new Qu({
5700
5701
  userPoolID: this.amazonUserPoolID,
5701
5702
  app: {
5702
5703
  name: this.amazonAppName,
@@ -5706,7 +5707,7 @@ class Uu extends Di {
5706
5707
  });
5707
5708
  t.plugins.push(r);
5708
5709
  }
5709
- this._telemetryInstance = new Bi(t), await this._telemetryInstance.init(), this._loaded = !0;
5710
+ this._telemetryInstance = new Zi(t), await this._telemetryInstance.init(), this._loaded = !0;
5710
5711
  }
5711
5712
  }
5712
5713
  _alertClosed() {
@@ -5718,7 +5719,7 @@ class Uu extends Di {
5718
5719
  }), this._open = !1;
5719
5720
  }
5720
5721
  }
5721
- Ci("consent-manager", Uu);
5722
+ Ui("consent-manager", ec);
5722
5723
  export {
5723
- Uu as ConsentManager
5724
+ ec as ConsentManager
5724
5725
  };