@esri/solutions-components 5.1.0-next.27 → 5.1.0-next.28

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 (175) hide show
  1. package/dist/cdn/{N7OY2PSZ.js → 2P2JRBNM.js} +1 -1
  2. package/dist/cdn/{NYUVCFEV.js → 2PMK3DJF.js} +1 -1
  3. package/dist/cdn/{4DFGN2VE.js → 2TDD4AWX.js} +1 -1
  4. package/dist/cdn/{7DHQVMKX.js → 3KSR7IOU.js} +1 -1
  5. package/dist/cdn/{S423P2GA.js → 3YQ3LN5J.js} +1 -1
  6. package/dist/cdn/{QRF52VT2.js → 45KRLZNR.js} +1 -1
  7. package/dist/cdn/{NDGFJPG7.js → 4652XKVL.js} +1 -1
  8. package/dist/cdn/{V5PIAPEA.js → 4ANWYTKX.js} +1 -1
  9. package/dist/cdn/{GJFVHF5H.js → 4YJEQSFO.js} +1 -1
  10. package/dist/cdn/{6G7RA3PN.js → 5BAV55JO.js} +1 -1
  11. package/dist/cdn/{6UXP2Q63.js → 5V7A6E22.js} +1 -1
  12. package/dist/cdn/{GTYMKTZ5.js → 6ITAU5WA.js} +1 -1
  13. package/dist/cdn/{QMD2WK5F.js → 6KOKLS2W.js} +1 -1
  14. package/dist/cdn/{FXHBHZKG.js → 6LRELQFJ.js} +1 -1
  15. package/dist/cdn/{K5JYHCQ7.js → 6O7SXEOR.js} +1 -1
  16. package/dist/cdn/{TP5EQUBD.js → 6SBFYKDO.js} +1 -1
  17. package/dist/cdn/{EIVJQY2S.js → 6X7TONQA.js} +1 -1
  18. package/dist/cdn/{MFJF6OXL.js → 7ATJP4H7.js} +1 -1
  19. package/dist/cdn/{FFDZB5TW.js → 7WMPOI2D.js} +1 -1
  20. package/dist/cdn/{ZCGIQK3H.js → A3MPUIYQ.js} +1 -1
  21. package/dist/cdn/{ASTBVDA3.js → A75LOABR.js} +1 -1
  22. package/dist/cdn/{F7DLM4RF.js → AGK4AXFX.js} +1 -1
  23. package/dist/cdn/{57DOBXD6.js → AM2DV5FK.js} +1 -1
  24. package/dist/cdn/{EDVUYJ5Q.js → AQX4LQLD.js} +1 -1
  25. package/dist/cdn/{R3KUBISH.js → BDENYZEG.js} +1 -1
  26. package/dist/cdn/{4NALIU6Y.js → BFC3V3IE.js} +1 -1
  27. package/dist/cdn/{MWVSVTGT.js → BGT55URG.js} +1 -1
  28. package/dist/cdn/{NZS3YVIT.js → BQ5WKU6S.js} +1 -1
  29. package/dist/cdn/{2B6VLP3A.js → BUN734I7.js} +1 -1
  30. package/dist/cdn/C22EGSM6.js +2 -0
  31. package/dist/cdn/{K7XOFXRK.js → CDV7UUL5.js} +1 -1
  32. package/dist/cdn/{2H7KJUZG.js → CJ4P6J7C.js} +1 -1
  33. package/dist/cdn/{DJFFGBHM.js → CLSXOECQ.js} +1 -1
  34. package/dist/cdn/{T2WSMUVL.js → CS4IGHMC.js} +1 -1
  35. package/dist/cdn/{JCDM3IJE.js → CUY7MQY5.js} +1 -1
  36. package/dist/cdn/{EBU4JF4W.js → CY4C4VZP.js} +1 -1
  37. package/dist/cdn/{LCWLPXAF.js → D46ACA6D.js} +1 -1
  38. package/dist/cdn/{PUCQJ7PY.js → DBNF3MJK.js} +1 -1
  39. package/dist/cdn/{DLBZRD4H.js → DPD6UBKD.js} +1 -1
  40. package/dist/cdn/{ZDQANIMG.js → E4UKEVGP.js} +1 -1
  41. package/dist/cdn/{P65BBQ5T.js → E5VUML6C.js} +1 -1
  42. package/dist/cdn/{P4FX4W2X.js → E6WWQDDM.js} +1 -1
  43. package/dist/cdn/{D4QQZVLI.js → EJAZTI6O.js} +1 -1
  44. package/dist/cdn/EKVDYGK2.js +2 -0
  45. package/dist/cdn/EPQ6J23O.js +7 -0
  46. package/dist/cdn/{IMPGTDMV.js → EQURPCQ2.js} +1 -1
  47. package/dist/cdn/{P4KZ6OZF.js → F2JKSZOE.js} +1 -1
  48. package/dist/cdn/F2YGRNTN.js +2 -0
  49. package/dist/cdn/{UF67SSGX.js → FEMACR5Y.js} +1 -1
  50. package/dist/cdn/{XC7LLCVS.js → FG6ODB3X.js} +1 -1
  51. package/dist/cdn/{NDUAEC62.js → FLLZBDVI.js} +1 -1
  52. package/dist/cdn/{N2KU5PYY.js → FLQFNPOP.js} +1 -1
  53. package/dist/cdn/{SENL26AU.js → FOFNYI3V.js} +1 -1
  54. package/dist/cdn/{UY2AFOXQ.js → FRE445LD.js} +1 -1
  55. package/dist/cdn/{RTG3SBDS.js → G4FOQX6X.js} +1 -1
  56. package/dist/cdn/{PJH3H7LZ.js → G5YR3YZQ.js} +1 -1
  57. package/dist/cdn/{OMURSGFL.js → GAACGZBE.js} +1 -1
  58. package/dist/cdn/{HGEF25RL.js → GBTCFOFN.js} +1 -1
  59. package/dist/cdn/{VDEFBT2N.js → GFW4PBUK.js} +1 -1
  60. package/dist/cdn/{I5PBBAVM.js → GJ6WYTEI.js} +1 -1
  61. package/dist/cdn/{QNNQGJS4.js → GLRPUU2V.js} +1 -1
  62. package/dist/cdn/{IKN5RLJ4.js → GNVWXRLD.js} +1 -1
  63. package/dist/cdn/{NGCFEPQE.js → GSF5ZZMH.js} +2 -2
  64. package/dist/cdn/HAET3BAD.js +2 -0
  65. package/dist/cdn/HOVTBV7I.js +2 -0
  66. package/dist/cdn/{QQSP7HQH.js → I5RNBPZI.js} +1 -1
  67. package/dist/cdn/{RF7NG5JX.js → IFWNDFJA.js} +1 -1
  68. package/dist/cdn/INWDOVSJ.js +2 -0
  69. package/dist/cdn/IR6AJOBB.js +2 -0
  70. package/dist/cdn/{AKDP6MCB.js → IUFEMLQM.js} +1 -1
  71. package/dist/cdn/{KRFYU445.js → IXXKN5ZI.js} +1 -1
  72. package/dist/cdn/{AA7X6GKH.js → JA3R6YUV.js} +1 -1
  73. package/dist/cdn/{LDHJGX5G.js → JEQXVAQH.js} +1 -1
  74. package/dist/cdn/{EC6NYTSJ.js → JMDRBVRT.js} +1 -1
  75. package/dist/cdn/{36HEIJAI.js → JNRZGJ5J.js} +1 -1
  76. package/dist/cdn/{ATVUAP2X.js → JTAEOL7D.js} +1 -1
  77. package/dist/cdn/{N2ROUAUM.js → JXSSMPRV.js} +1 -1
  78. package/dist/cdn/JZHP22BA.js +2 -0
  79. package/dist/cdn/{JK75TUSP.js → K2OB67JG.js} +1 -1
  80. package/dist/cdn/{UQ3MLIHV.js → K5ULSEDV.js} +1 -1
  81. package/dist/cdn/K6H5LUII.js +2 -0
  82. package/dist/cdn/KN36REDP.js +2 -0
  83. package/dist/cdn/{DUMMIXPH.js → L34HBOOV.js} +1 -1
  84. package/dist/cdn/{JYLXH6OM.js → L6QPBIO3.js} +1 -1
  85. package/dist/cdn/{SXD7ZWLW.js → LDO52PG7.js} +1 -1
  86. package/dist/cdn/{NLTK53B2.js → LVQAS4DN.js} +1 -1
  87. package/dist/cdn/{4GZBBPZQ.js → M7GCQN63.js} +1 -1
  88. package/dist/cdn/{OC2DD3AB.js → MACN5YNL.js} +1 -1
  89. package/dist/cdn/{GN6MDWLZ.js → MDFVVTRI.js} +1 -1
  90. package/dist/cdn/{XYFIAJPT.js → MMQLDIE7.js} +1 -1
  91. package/dist/cdn/NFRTFOHF.js +2 -0
  92. package/dist/cdn/{POE2XE6Y.js → NIFRYAFS.js} +1 -1
  93. package/dist/cdn/{ACF2RXCB.js → NUYS5PGC.js} +1 -1
  94. package/dist/cdn/{RNTJMF4O.js → O4JG6O2G.js} +1 -1
  95. package/dist/cdn/{ULCILXSA.js → ODZNJZG5.js} +1 -1
  96. package/dist/cdn/{JLYGSQEC.js → OUHPCCIT.js} +1 -1
  97. package/dist/cdn/{LPNQJBCN.js → PWAT4NDG.js} +1 -1
  98. package/dist/cdn/{XVRRQMOP.js → Q2IHGYKB.js} +1 -1
  99. package/dist/cdn/{XTUL7OCR.js → QKETH7B7.js} +1 -1
  100. package/dist/cdn/{GTD4LCLX.js → QSUXQICI.js} +1 -1
  101. package/dist/cdn/{LD2NUKM3.js → QXGDMWPW.js} +1 -1
  102. package/dist/cdn/{U4MNIZYO.js → R33D5PLS.js} +1 -1
  103. package/dist/cdn/{OMIISLTG.js → RBVTHO3G.js} +1 -1
  104. package/dist/cdn/{57JYZYF5.js → RP36BC5U.js} +1 -1
  105. package/dist/cdn/{BEGKM3ZM.js → RQ2LHC5I.js} +1 -1
  106. package/dist/cdn/{J33ST6ZG.js → RVKS24LF.js} +1 -1
  107. package/dist/cdn/{3AQ7U2PF.js → SDJWXDEO.js} +1 -1
  108. package/dist/cdn/{VRE7NUZ2.js → SEKKCZV5.js} +1 -1
  109. package/dist/cdn/{FRWN4Q5V.js → SRHO3QX6.js} +1 -1
  110. package/dist/cdn/{7YIQXDUF.js → THSRTNBE.js} +1 -1
  111. package/dist/cdn/{SZRONHSX.js → TLJX3G56.js} +1 -1
  112. package/dist/cdn/{NWTG35WX.js → TOU5OHUQ.js} +1 -1
  113. package/dist/cdn/U4HQWOBP.js +2 -0
  114. package/dist/cdn/{NNCQFR7K.js → UCQAWNYS.js} +1 -1
  115. package/dist/cdn/{5KD4GK7Y.js → UEJPBHBF.js} +1 -1
  116. package/dist/cdn/{RTPXDRZ7.js → UNA43DT6.js} +1 -1
  117. package/dist/cdn/{27G6RESZ.js → UQ575IJB.js} +1 -1
  118. package/dist/cdn/{YMOLIY64.js → VBZWNY3Y.js} +1 -1
  119. package/dist/cdn/{DZLVEIWW.js → VLY57LH7.js} +1 -1
  120. package/dist/cdn/{G5MDCRT6.js → VYZIBDWY.js} +1 -1
  121. package/dist/cdn/{DIDOZ4J6.js → WH2NFOMH.js} +5 -5
  122. package/dist/cdn/WJ72IM7D.js +2 -0
  123. package/dist/cdn/{DQ4POWIJ.js → WQTF5JT3.js} +1 -1
  124. package/dist/cdn/WUVRAE6I.js +2 -0
  125. package/dist/cdn/{7ZMHT4SH.js → WYEVMPYJ.js} +1 -1
  126. package/dist/cdn/X7AHXETC.js +2 -0
  127. package/dist/cdn/{5PUFVAJH.js → XAMESELG.js} +1 -1
  128. package/dist/cdn/XEC2PGQN.js +2 -0
  129. package/dist/cdn/XSNGR44R.js +2 -0
  130. package/dist/cdn/{USM62FP5.js → YBUQ5RAC.js} +3 -3
  131. package/dist/cdn/YLO37ZJE.js +339 -0
  132. package/dist/cdn/{E57JPXDR.js → YXIY7D32.js} +1 -1
  133. package/dist/cdn/Z2IT4SME.js +2 -0
  134. package/dist/cdn/Z4P77LNN.js +2 -0
  135. package/dist/cdn/{FZ7WJ3YG.js → Z576IK7H.js} +1 -1
  136. package/dist/cdn/{QI5LXFA7.js → ZBRNLRN2.js} +1 -1
  137. package/dist/cdn/{CWEEG5MA.js → ZJZBSHOM.js} +1 -1
  138. package/dist/cdn/{NM3YBQUM.js → ZLMQHBVI.js} +1 -1
  139. package/dist/cdn/{SIUUQBL4.js → ZLNJRKMA.js} +1 -1
  140. package/dist/cdn/index.js +1 -1
  141. package/dist/chunks/_commonjsHelpers.js +7 -0
  142. package/dist/chunks/solutions-deploy-app-nav.js +1 -1
  143. package/dist/components/arcgis-solutions-assistant/customElement.d.ts +1 -74
  144. package/dist/components/arcgis-solutions-assistant/customElement.js +44786 -1515
  145. package/dist/components/arcgis-solutions-assistant/index.js +3 -6
  146. package/dist/components/consent-manager/customElement.js +154 -156
  147. package/dist/components/create-feature/customElement.js +1 -1
  148. package/dist/components/solution-details-panel/customElement.js +1 -1
  149. package/dist/docs/api.json +1 -1
  150. package/dist/docs/docs.json +1 -1
  151. package/dist/docs/vscode.html-custom-data.json +1 -1
  152. package/dist/docs/web-types.json +1 -1
  153. package/dist/loader.js +1 -1
  154. package/dist/solutions-components_commit.txt +7 -4
  155. package/package.json +2 -1
  156. package/dist/cdn/45ZS4SG7.js +0 -2
  157. package/dist/cdn/7J2VRW7S.js +0 -2
  158. package/dist/cdn/ALB3HUJ2.js +0 -2
  159. package/dist/cdn/BPSXSDMN.js +0 -2
  160. package/dist/cdn/DIKAKOU5.js +0 -2
  161. package/dist/cdn/EGFXSDFS.js +0 -2
  162. package/dist/cdn/HBPD3T7H.js +0 -2
  163. package/dist/cdn/ITULTY6G.js +0 -2
  164. package/dist/cdn/KWCJDOZU.js +0 -2
  165. package/dist/cdn/QZ3GHISD.js +0 -2
  166. package/dist/cdn/STEJOS7Q.js +0 -2
  167. package/dist/cdn/TRJ6EQRD.js +0 -2
  168. package/dist/cdn/U3LEZXNT.js +0 -2
  169. package/dist/cdn/UYYMXFYQ.js +0 -2
  170. package/dist/cdn/V3S3BZEP.js +0 -2
  171. package/dist/cdn/VLZNUN6G.js +0 -174
  172. package/dist/cdn/WMPUJYLT.js +0 -2
  173. package/dist/cdn/XBR2PGVO.js +0 -7
  174. package/dist/cdn/XCILPMDZ.js +0 -2
  175. package/dist/cdn/XTDFTH5X.js +0 -2
@@ -1,5 +1,6 @@
1
1
  /* COPYRIGHT Esri - https://js.arcgis.com/5.1/LICENSE.txt */
2
2
  import { c as vi } from "../../chunks/runtime.js";
3
+ import { g as gn } from "../../chunks/_commonjsHelpers.js";
3
4
  import { u as yi } from "../../chunks/useT9n.js";
4
5
  import { LitElement as bi, createEvent as wi } from "@arcgis/lumina";
5
6
  import { css as Si } from "lit";
@@ -30,7 +31,7 @@ function Oi(e) {
30
31
  function Pi(e) {
31
32
  return !e.user && e.ipCntryCode === "US";
32
33
  }
33
- const $e = {
34
+ const Me = {
34
35
  storage: {},
35
36
  memory: !0,
36
37
  get(e) {
@@ -64,7 +65,7 @@ const $e = {
64
65
  this.memory || (console.error("setting local storage failed, falling back to in-memory storage"), this.memory = !0), delete this.storage[e];
65
66
  }
66
67
  }
67
- }, gn = "esri-telemetry";
68
+ }, hn = "esri-telemetry";
68
69
  function Ti(e) {
69
70
  return new Promise((r, n) => {
70
71
  e.onload = r, e.onerror = n, (!ji(e) || e.body) && r();
@@ -72,12 +73,12 @@ function Ti(e) {
72
73
  }
73
74
  function xi(e) {
74
75
  const { id: t, dataAttribute: r } = e;
75
- return !!document.getElementById(t) || !!document.querySelector(`[data-${gn}="${r}"]`);
76
+ return !!document.getElementById(t) || !!document.querySelector(`[data-${hn}="${r}"]`);
76
77
  }
77
78
  function ji(e) {
78
79
  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: f } = e;
79
80
  if (typeof window > "u")
80
- throw new hn("Window is undefined: Cannot add script element.");
81
+ throw new mn("Window is undefined: Cannot add script element.");
81
82
  if (xi(e)) {
82
83
  console.log(`script (${n || i}) is already present, skipping`);
83
84
  return;
@@ -95,11 +96,11 @@ function ji(e) {
95
96
  });
96
97
  return a === "body" ? document.body.appendChild(p) : document.head.appendChild(p);
97
98
  }
98
- class hn extends Error {
99
+ class mn extends Error {
99
100
  }
100
101
  function Ni({ id: e, dataAttribute: t, type: r, async: n, defer: i, body: a, src: s, onload: o, onerror: u }) {
101
102
  const l = document.createElement("script");
102
- return e && (l.id = e), t && l.setAttribute(`data-${gn}`, 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;
103
+ return e && (l.id = e), t && l.setAttribute(`data-${hn}`, 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;
103
104
  }
104
105
  function ki(e) {
105
106
  return e.map((t) => {
@@ -248,7 +249,7 @@ class Ri {
248
249
  this.logWorkflow(n);
249
250
  }
250
251
  getWorkflow(t) {
251
- const r = $e.get(`TELEMETRY-WORKFLOW:${t}`);
252
+ const r = Me.get(`TELEMETRY-WORKFLOW:${t}`);
252
253
  if (r) {
253
254
  const n = Date.now() - r.start, i = 1800 * 1e3;
254
255
  if (n < i)
@@ -257,10 +258,10 @@ class Ri {
257
258
  }
258
259
  }
259
260
  saveWorkflow(t) {
260
- $e.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
261
+ Me.set(`TELEMETRY-WORKFLOW:${t.name}`, t);
261
262
  }
262
263
  deleteWorkflow(t) {
263
- $e.delete(`TELEMETRY-WORKFLOW:${t.name}`);
264
+ Me.delete(`TELEMETRY-WORKFLOW:${t.name}`);
264
265
  }
265
266
  logWorkflow(t = {}) {
266
267
  t = this.preProcess(t);
@@ -285,7 +286,7 @@ class Ri {
285
286
  userSince: this.user.created,
286
287
  internalUser: this.user.internalUser || !1,
287
288
  accountType: this.user.accountType
288
- }), Object.entries(Object.assign(Object.assign({}, t), n)).reduce(Mi(r.omitComplexData, this.logger), {});
289
+ }), Object.entries(Object.assign(Object.assign({}, t), n)).reduce($i(r.omitComplexData, this.logger), {});
289
290
  }
290
291
  /**
291
292
  * Disable all configured trackers. This does not deterministically unload
@@ -323,12 +324,12 @@ class Ri {
323
324
  n && !n.hasError && (n.disabled = !1, (r = n.enable) === null || r === void 0 || r.call(n));
324
325
  }
325
326
  }
326
- function Mi(e, t) {
327
+ function $i(e, t) {
327
328
  return function(r, [n, i]) {
328
- return $i(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;
329
+ return Mi(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;
329
330
  };
330
331
  }
331
- function $i(e) {
332
+ function Mi(e) {
332
333
  return ["string", "number", "boolean", "undefined"].includes(typeof e) || e && typeof e.valueOf() == "string";
333
334
  }
334
335
  function _i() {
@@ -367,7 +368,7 @@ class Di {
367
368
  async init() {
368
369
  if (!this.isInitialized) {
369
370
  if (typeof window > "u")
370
- throw new hn("Window is undefined: Cannot add script element.");
371
+ throw new mn("Window is undefined: Cannot add script element.");
371
372
  await Promise.all(this._getScripts().map((t) => Ti(t))), this.injectConfig(), this.isInitialized = !0;
372
373
  }
373
374
  }
@@ -442,7 +443,7 @@ class Di {
442
443
  const lr = "TELEMETRY_COGNITO_CREDENTIALS";
443
444
  function Ui(e, t = {}) {
444
445
  const n = `https://cognito-identity${t.fips === !0 ? "-fips" : ""}.us-east-1.amazonaws.com/`;
445
- let i = $e.get(lr);
446
+ let i = Me.get(lr);
446
447
  if (i && Date.now() / 1e3 < i.Expiration)
447
448
  return Promise.resolve(i);
448
449
  const a = {
@@ -471,9 +472,9 @@ function Ui(e, t = {}) {
471
472
  if (!s.ok)
472
473
  throw new Error(s.statusText);
473
474
  return s.json();
474
- }).then(({ Credentials: s }) => ($e.set(lr, s), s));
475
+ }).then(({ Credentials: s }) => (Me.set(lr, s), s));
475
476
  }
476
- function mn({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
477
+ function vn({ telemetryData: e, dimensionLookup: t = {}, excludeKeys: r = [] }) {
477
478
  return Object.keys(e).filter((n) => !r.includes(n)).map((n) => t[n] ? {
478
479
  key: Li(t, n),
479
480
  value: e[n]
@@ -489,7 +490,7 @@ function Li(e, t) {
489
490
  return `dimension${e[t]}`;
490
491
  }
491
492
  const Wi = ["size", "duration", "position", "number", "count"];
492
- function vn(e, t = {}) {
493
+ function yn(e, t = {}) {
493
494
  return Object.keys(e).filter((r) => t[r] || Wi.includes(r)).map((r) => t[r] ? {
494
495
  key: Vi(t, r),
495
496
  value: e[r]
@@ -503,7 +504,7 @@ function Vi(e, t) {
503
504
  }
504
505
  function Hi({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
505
506
  var n, i;
506
- const { pathname: a, eventType: s = "other" } = e, o = vn(e, r), u = mn({
507
+ const { pathname: a, eventType: s = "other" } = e, o = yn(e, r), u = vn({
507
508
  telemetryData: Object.assign({ eventType: s }, e),
508
509
  dimensionLookup: t,
509
510
  excludeKeys: [
@@ -516,7 +517,7 @@ function Hi({ event: e = {}, dimensionLookup: t = {}, metricLookup: r = {} }) {
516
517
  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;
517
518
  }
518
519
  function Gi({ page: e, previousPage: t = {}, options: r = {}, dimensionLookup: n = {}, metricLookup: i = {} }) {
519
- const a = vn(r, i), s = mn({
520
+ const a = yn(r, i), s = vn({
520
521
  telemetryData: r,
521
522
  dimensionLookup: n,
522
523
  excludeKeys: [
@@ -541,18 +542,18 @@ function fr(e, t, r, n, i) {
541
542
  return e === i ? r : e;
542
543
  }
543
544
  var Ki = "function", Fi = "string", re = "undefined", qi = "boolean", Je = "object", Bi = "array", Ji = "number", Xi = "symbol", Yi = "null", Qi = function() {
544
- }, yn = "any", bn = "*", be = "__", Zi = "form", ea = "input", ta = "button", ra = "select", Xe = typeof process !== re ? process : {};
545
+ }, bn = "any", wn = "*", be = "__", Zi = "form", ea = "input", ta = "button", ra = "select", Xe = typeof process !== re ? process : {};
545
546
  Xe.env && Xe.env.NODE_ENV;
546
547
  var Z = typeof document !== re;
547
548
  Xe.versions != null && Xe.versions.node != null;
548
549
  typeof Deno !== re && Deno.core;
549
550
  Z && window.name === "nodejs" || typeof navigator !== re && typeof navigator.userAgent !== re && (navigator.userAgent.includes("Node.js") || navigator.userAgent.includes("jsdom"));
550
- function wn(e, t) {
551
+ function Sn(e, t) {
551
552
  return t.charAt(0)[e]() + t.slice(1);
552
553
  }
553
- var na = wn.bind(null, "toUpperCase"), ia = wn.bind(null, "toLowerCase");
554
+ var na = Sn.bind(null, "toUpperCase"), ia = Sn.bind(null, "toLowerCase");
554
555
  function aa(e) {
555
- return Sn(e) ? na(Yi) : typeof e === Je ? ca(e) : Object.prototype.toString.call(e).slice(8, -1);
556
+ return En(e) ? na(Yi) : typeof e === Je ? ca(e) : Object.prototype.toString.call(e).slice(8, -1);
556
557
  }
557
558
  function Ye(e, t) {
558
559
  t === void 0 && (t = !0);
@@ -564,13 +565,13 @@ function Le(e, t) {
564
565
  }
565
566
  var ee = Le.bind(null, Ki), le = Le.bind(null, Fi), Se = Le.bind(null, re), sa = Le.bind(null, qi);
566
567
  Le.bind(null, Xi);
567
- function Sn(e) {
568
+ function En(e) {
568
569
  return e === null;
569
570
  }
570
571
  function oa(e) {
571
572
  return Ye(e) === Ji && !isNaN(e);
572
573
  }
573
- function En(e) {
574
+ function An(e) {
574
575
  return Ye(e) === Bi;
575
576
  }
576
577
  function Q(e) {
@@ -587,8 +588,8 @@ function ca(e) {
587
588
  function la(e) {
588
589
  return e instanceof Error || le(e.message) && e.constructor && oa(e.constructor.stackTraceLimit);
589
590
  }
590
- function An(e, t) {
591
- if (typeof t != "object" || Sn(t)) return !1;
591
+ function In(e, t) {
592
+ if (typeof t != "object" || En(t)) return !1;
592
593
  if (t instanceof e) return !0;
593
594
  var r = Ye(new e(""));
594
595
  if (la(t)) for (; t; ) {
@@ -597,8 +598,8 @@ function An(e, t) {
597
598
  }
598
599
  return !1;
599
600
  }
600
- An.bind(null, TypeError);
601
- An.bind(null, SyntaxError);
601
+ In.bind(null, TypeError);
602
+ In.bind(null, SyntaxError);
602
603
  function et(e, t) {
603
604
  var r = e instanceof Element || e instanceof HTMLDocument;
604
605
  return r && t ? fa(e, t) : r;
@@ -617,7 +618,7 @@ tt(et, ta);
617
618
  tt(et, ea);
618
619
  tt(et, ra);
619
620
  function da(e) {
620
- return e ? En(e) ? e : [e] : [];
621
+ return e ? An(e) ? e : [e] : [];
621
622
  }
622
623
  function dr(e) {
623
624
  try {
@@ -715,14 +716,14 @@ function k() {
715
716
  return e;
716
717
  }, k.apply(null, arguments);
717
718
  }
718
- var ce = "function", ae = "undefined", _e = "reducer", In = "@@redux/", Ct = In + "INIT", va = In + Math.random().toString(36), pr = /* @__PURE__ */ (function() {
719
+ var ce = "function", ae = "undefined", _e = "reducer", On = "@@redux/", Ct = On + "INIT", va = On + Math.random().toString(36), pr = /* @__PURE__ */ (function() {
719
720
  return typeof Symbol === ce && Symbol.observable || "@@observable";
720
721
  })(), He = " != " + ce;
721
- function On(e, t, r) {
722
+ function Pn(e, t, r) {
722
723
  var n;
723
724
  if (typeof t === ce && typeof r === ae && (r = t, t = void 0), typeof r !== ae) {
724
725
  if (typeof r !== ce) throw new Error("enhancer" + He);
725
- return r(On)(e, t);
726
+ return r(Pn)(e, t);
726
727
  }
727
728
  if (typeof e !== ce) throw new Error(_e + He);
728
729
  var i = e, a = t, s = [], o = s, u = !1;
@@ -798,7 +799,7 @@ function ba() {
798
799
  };
799
800
  };
800
801
  }
801
- var fe = be + "anon_id", me = be + "user_id", Ae = be + "user_traits", Rt = "analytics", ue = "userId", Ee = "anonymousId", qe = ["bootstrap", "params", "campaign", "initializeStart", "initialize", "initializeEnd", "ready", "resetStart", "reset", "resetEnd", "pageStart", "page", "pageEnd", "pageAborted", "trackStart", "track", "trackEnd", "trackAborted", "identifyStart", "identify", "identifyEnd", "identifyAborted", "userIdChanged", "registerPlugins", "enablePlugin", "disablePlugin", "online", "offline", "setItemStart", "setItem", "setItemEnd", "setItemAborted", "removeItemStart", "removeItem", "removeItemEnd", "removeItemAborted"], Mt = ["name", "EVENTS", "config", "loaded"], N = qe.reduce(function(e, t) {
802
+ var fe = be + "anon_id", me = be + "user_id", Ae = be + "user_traits", Rt = "analytics", ue = "userId", Ee = "anonymousId", qe = ["bootstrap", "params", "campaign", "initializeStart", "initialize", "initializeEnd", "ready", "resetStart", "reset", "resetEnd", "pageStart", "page", "pageEnd", "pageAborted", "trackStart", "track", "trackEnd", "trackAborted", "identifyStart", "identify", "identifyEnd", "identifyAborted", "userIdChanged", "registerPlugins", "enablePlugin", "disablePlugin", "online", "offline", "setItemStart", "setItem", "setItemEnd", "setItemAborted", "removeItemStart", "removeItem", "removeItemEnd", "removeItemAborted"], $t = ["name", "EVENTS", "config", "loaded"], N = qe.reduce(function(e, t) {
802
803
  return e[t] = t, e;
803
804
  }, { registerPluginType: function(e) {
804
805
  return "registerPlugin:" + e;
@@ -855,7 +856,7 @@ function Sa(e) {
855
856
  function vr(e) {
856
857
  return { userId: e.getItem(me), anonymousId: e.getItem(fe), traits: e.getItem(Ae) };
857
858
  }
858
- var $t = function(e) {
859
+ var Mt = function(e) {
859
860
  return be + "TEMP" + be + e;
860
861
  };
861
862
  function Ea(e) {
@@ -867,7 +868,7 @@ function Ea(e) {
867
868
  if (o.type === N.reset && ([me, Ae, fe].forEach(function(S) {
868
869
  n(S);
869
870
  }), [ue, Ee, "traits"].forEach(function(S) {
870
- Ne($t(S));
871
+ Ne(Mt(S));
871
872
  })), o.type === N.identify) {
872
873
  i(fe) || r(fe, we());
873
874
  var p = i(me), g = i(Ae) || {};
@@ -878,23 +879,23 @@ function Ea(e) {
878
879
  };
879
880
  };
880
881
  }
881
- var Me = {};
882
+ var $e = {};
882
883
  function yr(e, t) {
883
- Me[e] && ee(Me[e]) && (Me[e](t), delete Me[e]);
884
+ $e[e] && ee($e[e]) && ($e[e](t), delete $e[e]);
884
885
  }
885
- function Pn(e, t, r) {
886
+ function Tn(e, t, r) {
886
887
  return new Promise(function(n, i) {
887
888
  return t() ? n(e) : r < 1 ? i(k({}, e, { queue: !0 })) : new Promise(function(a) {
888
889
  return setTimeout(a, 10);
889
890
  }).then(function(a) {
890
- return Pn(e, t, r - 10).then(n, i);
891
+ return Tn(e, t, r - 10).then(n, i);
891
892
  });
892
893
  });
893
894
  }
894
895
  function Aa(e) {
895
896
  return { abort: e };
896
897
  }
897
- function Tn(e, t, r) {
898
+ function xn(e, t, r) {
898
899
  var n = {}, i = t(), a = e.getState(), s = a.plugins, o = a.queue, u = a.user;
899
900
  if (!a.context.offline && o && o.actions && o.actions.length) {
900
901
  var l = o.actions.reduce(function(p, g, S) {
@@ -936,11 +937,11 @@ var lt = function(e) {
936
937
  return function(d, A, b) {
937
938
  var v = A.config, x = A.name, T = x + "." + d.type;
938
939
  b && (T = b.event);
939
- var I = d.type.match(Ie) ? /* @__PURE__ */ (function(R, j, $, z, L) {
940
- return function(M, O) {
941
- var V = z ? z.name : R, D = O && Ue(O) ? O : $;
940
+ var I = d.type.match(Ie) ? /* @__PURE__ */ (function(R, j, M, z, L) {
941
+ return function($, O) {
942
+ var V = z ? z.name : R, D = O && Ue(O) ? O : M;
942
943
  if (z && (!(D = O && Ue(O) ? O : [R]).includes(R) || D.length !== 1)) throw new Error("Method " + j + " can only abort " + R + " plugin. " + JSON.stringify(D) + " input valid");
943
- return k({}, L, { abort: { reason: M, plugins: D, caller: j, _: V } });
944
+ return k({}, L, { abort: { reason: $, plugins: D, caller: j, _: V } });
944
945
  };
945
946
  })(x, T, m, b, d) : /* @__PURE__ */ (function(R, j) {
946
947
  return function() {
@@ -962,20 +963,20 @@ var lt = function(e) {
962
963
  var x = (function() {
963
964
  if (t.namespaced && t.namespaced[A]) return Promise.resolve(t.namespaced[A].reduce(function(T, I, R) {
964
965
  return Promise.resolve(T).then(function(j) {
965
- return I.method && ee(I.method) ? ((function(M, O) {
966
- var V = Or(M);
966
+ return I.method && ee(I.method) ? ((function($, O) {
967
+ var V = Or($);
967
968
  if (V && V.name === O) {
968
969
  var D = Or(V.method);
969
- throw new Error([O + " plugin is calling method " + M, "Plugins cant call self", "Use " + V.method + " " + (D ? "or " + D.method : "") + " in " + O + " plugin insteadof " + M].join(`
970
+ throw new Error([O + " plugin is calling method " + $, "Plugins cant call self", "Use " + V.method + " " + (D ? "or " + D.method : "") + " in " + O + " plugin insteadof " + $].join(`
970
971
  `));
971
972
  }
972
- })(I.methodName, I.pluginName), Promise.resolve(I.method({ payload: j, instance: n, abort: ($ = j, z = A, L = I.pluginName, function(M, O) {
973
- return k({}, $, { abort: { reason: M, plugins: O || [z], caller: p, from: L || z } });
974
- }), config: Sr(I.pluginName, l, a), plugins: l })).then(function(M) {
975
- var O = Q(M) ? M : {};
973
+ })(I.methodName, I.pluginName), Promise.resolve(I.method({ payload: j, instance: n, abort: (M = j, z = A, L = I.pluginName, function($, O) {
974
+ return k({}, M, { abort: { reason: $, plugins: O || [z], caller: p, from: L || z } });
975
+ }), config: Sr(I.pluginName, l, a), plugins: l })).then(function($) {
976
+ var O = Q($) ? $ : {};
976
977
  return Promise.resolve(k({}, j, O));
977
978
  })) : j;
978
- var $, z, L;
979
+ var M, z, L;
979
980
  });
980
981
  }, Promise.resolve(r))).then(function(T) {
981
982
  b[A] = T;
@@ -995,11 +996,11 @@ var lt = function(e) {
995
996
  if (E.hasOwnProperty(v) && E[v] === !0) return o.dispatch({ type: "queue", plugin: v, payload: I, _: { called: "queue", from: "queueMechanism" } }), Promise.resolve(T);
996
997
  var R = w(y[v], a[v]);
997
998
  return Promise.resolve(x[p]({ abort: R.abort, payload: I, instance: n, config: Sr(v, l, a), plugins: l })).then(function(j) {
998
- var $ = Q(j) ? j : {}, z = k({}, T, $), L = y[v];
999
+ var M = Q(j) ? j : {}, z = k({}, T, M), L = y[v];
999
1000
  if (dt(L, v)) ft({ data: L, method: p, instance: n, pluginName: v, store: o });
1000
1001
  else {
1001
- var M = p + ":" + v;
1002
- (M.match(/:/g) || []).length < 2 && !p.match(br) && !p.match(wr) && n.dispatch(k({}, g ? z : I, { type: M, _: { called: M, from: "submethod" } }));
1002
+ var $ = p + ":" + v;
1003
+ ($.match(/:/g) || []).length < 2 && !p.match(br) && !p.match(wr) && n.dispatch(k({}, g ? z : I, { type: $, _: { called: $, from: "submethod" } }));
1003
1004
  }
1004
1005
  return Promise.resolve(z);
1005
1006
  });
@@ -1011,7 +1012,7 @@ var lt = function(e) {
1011
1012
  if (!(p.match(Ie) || p.match(/^registerPlugin/) || p.match(wr) || p.match(br) || p.match(/^params/) || p.match(/^userIdChanged/))) {
1012
1013
  if (u.plugins.includes(p), m._ && m._.originalAction === p) return m;
1013
1014
  var d = k({}, m, { _: { originalAction: m.type, called: m.type, from: "engineEnd" } });
1014
- xn(m, t.exact.length) && !p.match(/End$/) && (d = k({}, d, { type: m.type + "Aborted" })), o.dispatch(d);
1015
+ jn(m, t.exact.length) && !p.match(/End$/) && (d = k({}, d, { type: m.type + "Aborted" })), o.dispatch(d);
1015
1016
  }
1016
1017
  return m;
1017
1018
  });
@@ -1041,7 +1042,7 @@ function dt(e, t) {
1041
1042
  var r = e.abort;
1042
1043
  return !!r && (r === !0 || Ir(r, t) || r && Ir(r.plugins, t));
1043
1044
  }
1044
- function xn(e, t) {
1045
+ function jn(e, t) {
1045
1046
  var r = e.abort;
1046
1047
  if (!r) return !1;
1047
1048
  if (r === !0 || le(r)) return !0;
@@ -1082,11 +1083,11 @@ function Oa(e, t, r) {
1082
1083
  return g[b];
1083
1084
  }), E = [], y = [], m = s.disabled, d = w.map(function(b) {
1084
1085
  var v = b.loaded, x = b.name, T = b.config;
1085
- return Pn(b, function() {
1086
+ return Tn(b, function() {
1086
1087
  return v({ config: T });
1087
1088
  }, 1e4).then(function(I) {
1088
1089
  return n[x] || (i.dispatch({ type: N.pluginReadyType(x), name: x, events: Object.keys(b).filter(function(R) {
1089
- return !Mt.includes(R);
1090
+ return !$t.includes(R);
1090
1091
  }) }), n[x] = !0), E = E.concat(x), b;
1091
1092
  }).catch(function(I) {
1092
1093
  if (I instanceof Error) throw new Error(I);
@@ -1102,10 +1103,10 @@ function Oa(e, t, r) {
1102
1103
  }
1103
1104
  var A = (function() {
1104
1105
  if (l !== N.bootstrap) return /^ready:([^:]*)$/.test(l) && setTimeout(function() {
1105
- return Tn(i, t, e);
1106
+ return xn(i, t, e);
1106
1107
  }, 0), Promise.resolve((function(b, v, x, T, I) {
1107
1108
  try {
1108
- var R = ee(v) ? v() : v, j = b.type, $ = j.replace(Ie, "");
1109
+ var R = ee(v) ? v() : v, j = b.type, M = j.replace(Ie, "");
1109
1110
  if (b._ && b._.called) return Promise.resolve(b);
1110
1111
  var z = x.getState(), L = (V = R, (D = z.plugins) === void 0 && (D = {}), (K = b.options) === void 0 && (K = {}), Object.keys(V).filter(function(c) {
1111
1112
  var h = K.plugins || {};
@@ -1119,7 +1120,7 @@ function Oa(e, t, r) {
1119
1120
  }).map(function(c) {
1120
1121
  return R[c];
1121
1122
  }));
1122
- var M = L.map(function(c) {
1123
+ var $ = L.map(function(c) {
1123
1124
  return c.name;
1124
1125
  }), O = (function(c, h) {
1125
1126
  var P = Ar(c).map(function(C) {
@@ -1135,7 +1136,7 @@ function Oa(e, t, r) {
1135
1136
  return Promise.resolve(lt({ action: b, data: { exact: O.before, namespaced: O.beforeNS }, state: z, allPlugins: R, allMatches: O, instance: x, store: T, EVENTS: I })).then(function(c) {
1136
1137
  function h() {
1137
1138
  var U = (function() {
1138
- if (j.match(Ie)) return Promise.resolve(lt({ action: k({}, P, { type: $ + "End" }), data: { exact: O.after, namespaced: O.afterNS }, state: z, allPlugins: R, allMatches: O, instance: x, store: T, EVENTS: I })).then(function(_) {
1139
+ if (j.match(Ie)) return Promise.resolve(lt({ action: k({}, P, { type: M + "End" }), data: { exact: O.after, namespaced: O.afterNS }, state: z, allPlugins: R, allMatches: O, instance: x, store: T, EVENTS: I })).then(function(_) {
1139
1140
  _.meta && _.meta.hasCallback && yr(_.meta.rid, { payload: _ });
1140
1141
  });
1141
1142
  })();
@@ -1143,9 +1144,9 @@ function Oa(e, t, r) {
1143
1144
  return c;
1144
1145
  }) : c;
1145
1146
  }
1146
- if (xn(c, M.length)) return c;
1147
+ if (jn(c, $.length)) return c;
1147
1148
  var P, C = (function() {
1148
- if (j !== $) return Promise.resolve(lt({ action: k({}, c, { type: $ }), data: { exact: O.during, namespaced: O.duringNS }, state: z, allPlugins: R, allMatches: O, instance: x, store: T, EVENTS: I })).then(function(U) {
1149
+ if (j !== M) return Promise.resolve(lt({ action: k({}, c, { type: M }), data: { exact: O.during, namespaced: O.duringNS }, state: z, allPlugins: R, allMatches: O, instance: x, store: T, EVENTS: I })).then(function(U) {
1149
1150
  P = U;
1150
1151
  });
1151
1152
  P = c;
@@ -1241,7 +1242,7 @@ function Tr(e, t, r) {
1241
1242
  return n[i] = k({}, r[i], { enabled: t }), n;
1242
1243
  }, r);
1243
1244
  }
1244
- function jn(e) {
1245
+ function Nn(e) {
1245
1246
  try {
1246
1247
  return JSON.parse(JSON.stringify(e));
1247
1248
  } catch {
@@ -1253,7 +1254,7 @@ function Na(e, t) {
1253
1254
  e === void 0 && (e = ja);
1254
1255
  var r = t.options, n = t.meta;
1255
1256
  if (t.type === N.track) {
1256
- var i = jn(k({ event: t.event, properties: t.properties }, Object.keys(r).length && { options: r }, { meta: n }));
1257
+ var i = Nn(k({ event: t.event, properties: t.properties }, Object.keys(r).length && { options: r }, { meta: n }));
1257
1258
  return k({}, e, { last: i, history: e.history.concat(i) });
1258
1259
  }
1259
1260
  return e;
@@ -1272,12 +1273,12 @@ function Ca(e, t) {
1272
1273
  return e;
1273
1274
  }
1274
1275
  }
1275
- var Nn = /#.*$/;
1276
+ var kn = /#.*$/;
1276
1277
  function Ra(e) {
1277
1278
  var t = /(http[s]?:\/\/)?([^\/\s]+\/)(.*)/g.exec(e);
1278
- return "/" + (t && t[3] ? t[3].split("?")[0].replace(Nn, "") : "");
1279
+ return "/" + (t && t[3] ? t[3].split("?")[0].replace(kn, "") : "");
1279
1280
  }
1280
- var kn, Cn, Rn, Mn, Ma = function(e) {
1281
+ var Cn, Rn, $n, Mn, $a = function(e) {
1281
1282
  if (e === void 0 && (e = {}), !Z) return e;
1282
1283
  var t = document, r = t.title, n = t.referrer, i = window, a = i.location, s = i.innerWidth, o = i.innerHeight, u = a.hash, l = a.search, f = (function(g) {
1283
1284
  var S = (function() {
@@ -1285,25 +1286,25 @@ var kn, Cn, Rn, Mn, Ma = function(e) {
1285
1286
  for (var w, E = document.getElementsByTagName("link"), y = 0; w = E[y]; y++) if (w.getAttribute("rel") === "canonical") return w.getAttribute("href");
1286
1287
  }
1287
1288
  })();
1288
- return S ? S.match(/\?/) ? S : S + g : window.location.href.replace(Nn, "");
1289
+ return S ? S.match(/\?/) ? S : S + g : window.location.href.replace(kn, "");
1289
1290
  })(l), p = { title: r, url: f, path: Ra(f), hash: u, search: l, width: s, height: o };
1290
1291
  return n && n !== "" && (p.referrer = n), k({}, p, e);
1291
- }, $a = { last: {}, history: [] };
1292
+ }, Ma = { last: {}, history: [] };
1292
1293
  function _a(e, t) {
1293
- e === void 0 && (e = $a);
1294
+ e === void 0 && (e = Ma);
1294
1295
  var r = t.options;
1295
1296
  if (t.type === N.page) {
1296
- var n = jn(k({ properties: t.properties, meta: t.meta }, Object.keys(r).length && { options: r }));
1297
+ var n = Nn(k({ properties: t.properties, meta: t.meta }, Object.keys(r).length && { options: r }));
1297
1298
  return k({}, e, { last: n, history: e.history.concat(n) });
1298
1299
  }
1299
1300
  return e;
1300
1301
  }
1301
- kn = (function() {
1302
+ Cn = (function() {
1302
1303
  if (!Z) return !1;
1303
1304
  var e = navigator.appVersion;
1304
1305
  return ~e.indexOf("Win") ? "Windows" : ~e.indexOf("Mac") ? "MacOS" : ~e.indexOf("X11") ? "UNIX" : ~e.indexOf("Linux") ? "Linux" : "Unknown OS";
1305
- })(), Cn = Z ? document.referrer : null, Rn = pa(), Mn = ga();
1306
- var xr = { initialized: !1, sessionId: we(), app: null, version: null, debug: !1, offline: !!Z && !navigator.onLine, os: { name: kn }, userAgent: Z ? navigator.userAgent : "node", library: { name: Rt, version: "0.13.1" }, timezone: Mn, locale: Rn, campaign: {}, referrer: Cn };
1306
+ })(), Rn = Z ? document.referrer : null, $n = pa(), Mn = ga();
1307
+ var xr = { initialized: !1, sessionId: we(), app: null, version: null, debug: !1, offline: !!Z && !navigator.onLine, os: { name: Cn }, userAgent: Z ? navigator.userAgent : "node", library: { name: Rt, version: "0.13.1" }, timezone: Mn, locale: $n, campaign: {}, referrer: Rn };
1307
1308
  function Da(e, t) {
1308
1309
  e === void 0 && (e = xr);
1309
1310
  var r = e.initialized, n = t.campaign;
@@ -1335,7 +1336,7 @@ function La(e) {
1335
1336
  return t(!1);
1336
1337
  };
1337
1338
  }
1338
- function $n() {
1339
+ function _n() {
1339
1340
  return pe(Rt, []), function(e) {
1340
1341
  return function(t, r, n) {
1341
1342
  var i = e(t, r, n), a = i.dispatch;
@@ -1347,16 +1348,16 @@ function $n() {
1347
1348
  }
1348
1349
  function jr(e) {
1349
1350
  return function() {
1350
- return je(je.apply(null, arguments), $n());
1351
+ return je(je.apply(null, arguments), _n());
1351
1352
  };
1352
1353
  }
1353
1354
  function pt(e) {
1354
- return e ? En(e) ? e : [e] : [];
1355
+ return e ? An(e) ? e : [e] : [];
1355
1356
  }
1356
1357
  function Nr(e, t, r) {
1357
1358
  e === void 0 && (e = {});
1358
1359
  var n, i, a = we();
1359
- return t && (Me[a] = (n = t, i = (function(s) {
1360
+ return t && ($e[a] = (n = t, i = (function(s) {
1360
1361
  for (var o, u = s || Array.prototype.slice.call(arguments), l = 0; l < u.length; l++) if (ee(u[l])) {
1361
1362
  o = u[l];
1362
1363
  break;
@@ -1389,12 +1390,12 @@ function Wa(e) {
1389
1390
  }), c;
1390
1391
  }, { plugins: {}, pluginEnabled: {}, methods: {}, pluginsArray: [], middlewares: [], events: [] }), i = e.storage ? e.storage : { getItem: de, setItem: pe, removeItem: Ne }, a = /* @__PURE__ */ (function(c) {
1391
1392
  return function(h, P, C) {
1392
- return P.getState("user")[h] || (C && Q(C) && C[h] ? C[h] : vr(c)[h] || de($t(h)) || null);
1393
+ return P.getState("user")[h] || (C && Q(C) && C[h] ? C[h] : vr(c)[h] || de(Mt(h)) || null);
1393
1394
  };
1394
1395
  })(i), s = n.plugins, o = n.events.filter(function(c) {
1395
- return !Mt.includes(c);
1396
+ return !$t.includes(c);
1396
1397
  }).sort(), u = new Set(o.concat(qe).filter(function(c) {
1397
- return !Mt.includes(c);
1398
+ return !$t.includes(c);
1398
1399
  })), l = Array.from(u).sort(), f = function() {
1399
1400
  return s;
1400
1401
  }, p = new Ta(), g = p.addMiddleware, S = p.removeMiddleware, w = p.dynamicMiddlewares, E = function() {
@@ -1412,7 +1413,7 @@ function Wa(e) {
1412
1413
  } }, n.methods), b = !1, v = { identify: function(c, h, P, C) {
1413
1414
  try {
1414
1415
  var U = le(c) ? c : null, _ = Q(c) ? c : h, B = P || {}, H = v.user();
1415
- pe($t(ue), U);
1416
+ pe(Mt(ue), U);
1416
1417
  var F = U || _.userId || a(ue, v, _);
1417
1418
  return Promise.resolve(new Promise(function(W) {
1418
1419
  O.dispatch(k({ type: N.identifyStart, userId: F, traits: _ || {}, options: B, anonymousId: H.anonymousId }, H.id && H.id !== U && { previousId: H.id }), W, [h, P, C]);
@@ -1435,7 +1436,7 @@ function Wa(e) {
1435
1436
  try {
1436
1437
  var C = Q(c) ? c : {}, U = Q(h) ? h : {};
1437
1438
  return Promise.resolve(new Promise(function(_) {
1438
- O.dispatch({ type: N.pageStart, properties: Ma(C), options: U, userId: a(ue, v, C), anonymousId: a(Ee, v, C) }, _, [c, h, P]);
1439
+ O.dispatch({ type: N.pageStart, properties: $a(C), options: U, userId: a(ue, v, C), anonymousId: a(Ee, v, C) }, _, [c, h, P]);
1439
1440
  }));
1440
1441
  } catch (_) {
1441
1442
  return Promise.reject(_);
@@ -1516,17 +1517,17 @@ function Wa(e) {
1516
1517
  if (Z && e.debug) {
1517
1518
  var j = window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__;
1518
1519
  j && (I = j({ trace: !0, traceLimit: 25 })), R = function() {
1519
- return arguments.length === 0 ? $n() : Q(typeof arguments[0]) ? jr() : jr().apply(null, arguments);
1520
+ return arguments.length === 0 ? _n() : Q(typeof arguments[0]) ? jr() : jr().apply(null, arguments);
1520
1521
  };
1521
1522
  }
1522
- var $, z = (function(c) {
1523
+ var M, z = (function(c) {
1523
1524
  return Object.keys(c).reduce(function(h, P) {
1524
1525
  return Ua.includes(P) || (h[P] = c[P]), h;
1525
1526
  }, {});
1526
1527
  })(e), L = n.pluginsArray.reduce(function(c, h) {
1527
1528
  var P = h.name, C = h.config, U = h.loaded, _ = n.pluginEnabled[P];
1528
1529
  return c[P] = { enabled: _, initialized: !!_ && !h.initialize, loaded: !!U({ config: C }), config: C }, c;
1529
- }, {}), M = { context: z, user: d, plugins: L }, O = On((function(c) {
1530
+ }, {}), $ = { context: z, user: d, plugins: L }, O = Pn((function(c) {
1530
1531
  for (var h = Object.keys(c), P = {}, C = 0; C < h.length; C++) {
1531
1532
  var U = h[C];
1532
1533
  typeof c[U] === ce && (P[U] = c[U]);
@@ -1554,10 +1555,10 @@ function Wa(e) {
1554
1555
  }
1555
1556
  return W ? ie : H;
1556
1557
  };
1557
- })(k({}, T, t)), M, R(I(ba.apply(void 0, x))));
1558
- O.dispatch = ($ = O.dispatch, function(c, h, P) {
1558
+ })(k({}, T, t)), $, R(I(ba.apply(void 0, x))));
1559
+ O.dispatch = (M = O.dispatch, function(c, h, P) {
1559
1560
  var C = k({}, c, { meta: Nr(c.meta, h, pt(P)) });
1560
- return $.apply(null, [C]);
1561
+ return M.apply(null, [C]);
1561
1562
  });
1562
1563
  var V = Object.keys(s);
1563
1564
  O.dispatch({ type: N.bootstrap, plugins: V, config: z, params: y, user: d, initialUser: r, persistedUser: m });
@@ -1573,19 +1574,19 @@ function Wa(e) {
1573
1574
  O.dispatch({ type: c ? N.offline : N.online });
1574
1575
  }), (function(c, h, P) {
1575
1576
  setInterval(function() {
1576
- return Tn(c, h, P);
1577
+ return xn(c, h, P);
1577
1578
  }, 3e3);
1578
1579
  })(O, f, v), v;
1579
1580
  }
1580
- var Ge = "before", Ke = "after", ve = "cookie", ge = Un(), Xt = rt, _n = rt;
1581
- function Dn(e) {
1581
+ var Ge = "before", Ke = "after", ve = "cookie", ge = zn(), Xt = rt, Dn = rt;
1582
+ function Un(e) {
1582
1583
  return ge ? rt(e, "", -1) : Ne(e);
1583
1584
  }
1584
- function Un() {
1585
+ function zn() {
1585
1586
  if (ge !== void 0) return ge;
1586
1587
  var e = ve + ve;
1587
1588
  try {
1588
- rt(e, e), ge = document.cookie.indexOf(e) !== -1, Dn(e);
1589
+ rt(e, e), ge = document.cookie.indexOf(e) !== -1, Un(e);
1589
1590
  } catch {
1590
1591
  ge = !1;
1591
1592
  }
@@ -1597,7 +1598,7 @@ function rt(e, t, r, n, i, a) {
1597
1598
  return ge === !1 && (s ? pe(e, t) : de(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]);
1598
1599
  }
1599
1600
  }
1600
- var se = "localStorage", Va = Jt.bind(null, se), Yt = ke(se, "getItem", de), Ha = ke(se, "setItem", pe), zn = ke(se, "removeItem", Ne), oe = "sessionStorage", Ga = Jt.bind(null, oe), Ka = ke(oe, "getItem", de), Fa = ke(oe, "setItem", pe);
1601
+ var se = "localStorage", Va = Jt.bind(null, se), Yt = ke(se, "getItem", de), Ha = ke(se, "setItem", pe), Ln = ke(se, "removeItem", Ne), oe = "sessionStorage", Ga = Jt.bind(null, oe), Ka = ke(oe, "getItem", de), Fa = ke(oe, "setItem", pe);
1601
1602
  ke(oe, "removeItem", Ne);
1602
1603
  function Oe(e) {
1603
1604
  var t = e;
@@ -1610,8 +1611,8 @@ function Oe(e) {
1610
1611
  }
1611
1612
  if (t !== null && t !== "") return t;
1612
1613
  }
1613
- var qa = Va(), Ba = Ga(), Ja = Un();
1614
- function Ln(e, t) {
1614
+ var qa = Va(), Ba = Ga(), Ja = zn();
1615
+ function Wn(e, t) {
1615
1616
  if (e) {
1616
1617
  var r = Qt(t), n = !rr(r), i = Zt(r) ? Oe(localStorage.getItem(e)) : void 0;
1617
1618
  if (n && !Se(i)) return i;
@@ -1626,17 +1627,17 @@ function Ln(e, t) {
1626
1627
  function Xa(e, t, r) {
1627
1628
  if (e && !Se(t)) {
1628
1629
  var n = {}, i = Qt(r), a = JSON.stringify(t), s = !rr(i);
1629
- return Zt(i) && (n[se] = Fe(se, t, Oe(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[se] : er(i) && (n[ve] = Fe(ve, t, Oe(Xt(e))), _n(e, a), s) ? n[ve] : tr(i) && (n[oe] = Fe(oe, t, Oe(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[oe] : (n[he] = Fe(he, t, de(e)), pe(e, t), s ? n[he] : n);
1630
+ return Zt(i) && (n[se] = Fe(se, t, Oe(localStorage.getItem(e))), localStorage.setItem(e, a), s) ? n[se] : er(i) && (n[ve] = Fe(ve, t, Oe(Xt(e))), Dn(e, a), s) ? n[ve] : tr(i) && (n[oe] = Fe(oe, t, Oe(sessionStorage.getItem(e))), sessionStorage.setItem(e, a), s) ? n[oe] : (n[he] = Fe(he, t, de(e)), pe(e, t), s ? n[he] : n);
1630
1631
  }
1631
1632
  }
1632
1633
  function Ya(e, t) {
1633
1634
  if (e) {
1634
- var r = Qt(t), n = Ln(e, bn), i = {};
1635
- return !Se(n.localStorage) && Zt(r) && (localStorage.removeItem(e), i[se] = n.localStorage), !Se(n.cookie) && er(r) && (Dn(e), i[ve] = n.cookie), !Se(n.sessionStorage) && tr(r) && (sessionStorage.removeItem(e), i[oe] = n.sessionStorage), !Se(n.global) && nt(r, he) && (Ne(e), i[he] = n.global), i;
1635
+ var r = Qt(t), n = Wn(e, wn), i = {};
1636
+ return !Se(n.localStorage) && Zt(r) && (localStorage.removeItem(e), i[se] = n.localStorage), !Se(n.cookie) && er(r) && (Un(e), i[ve] = n.cookie), !Se(n.sessionStorage) && tr(r) && (sessionStorage.removeItem(e), i[oe] = n.sessionStorage), !Se(n.global) && nt(r, he) && (Ne(e), i[he] = n.global), i;
1636
1637
  }
1637
1638
  }
1638
1639
  function Qt(e) {
1639
- return e ? le(e) ? e : e.storage : yn;
1640
+ return e ? le(e) ? e : e.storage : bn;
1640
1641
  }
1641
1642
  function Zt(e) {
1642
1643
  return qa && nt(e, se);
@@ -1648,15 +1649,15 @@ function tr(e) {
1648
1649
  return Ba && nt(e, oe);
1649
1650
  }
1650
1651
  function rr(e) {
1651
- return e === bn || e === "all";
1652
+ return e === wn || e === "all";
1652
1653
  }
1653
1654
  function nt(e, t) {
1654
- return e === yn || e === t || rr(e);
1655
+ return e === bn || e === t || rr(e);
1655
1656
  }
1656
1657
  function Fe(e, t, r) {
1657
1658
  return { location: e, current: t, previous: r };
1658
1659
  }
1659
- var Qa = { setItem: Xa, getItem: Ln, removeItem: Ya };
1660
+ var Qa = { setItem: Xa, getItem: Wn, removeItem: Ya };
1660
1661
  function Za(e, t, r) {
1661
1662
  return t in e ? Object.defineProperty(e, t, {
1662
1663
  value: r,
@@ -1743,21 +1744,18 @@ function q(e) {
1743
1744
  }
1744
1745
  return e;
1745
1746
  }
1746
- function Wn(e) {
1747
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1748
- }
1749
- var gt = { exports: {} }, ht = { exports: {} }, Mr;
1747
+ var gt = { exports: {} }, ht = { exports: {} }, $r;
1750
1748
  function Vn() {
1751
- return Mr || (Mr = 1, (function(e) {
1749
+ return $r || ($r = 1, (function(e) {
1752
1750
  function t(r, n) {
1753
1751
  this.v = r, this.k = n;
1754
1752
  }
1755
1753
  e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
1756
1754
  })(ht)), ht.exports;
1757
1755
  }
1758
- var mt = { exports: {} }, vt = { exports: {} }, $r;
1756
+ var mt = { exports: {} }, vt = { exports: {} }, Mr;
1759
1757
  function Hn() {
1760
- return $r || ($r = 1, (function(e) {
1758
+ return Mr || (Mr = 1, (function(e) {
1761
1759
  function t(r, n, i, a) {
1762
1760
  var s = Object.defineProperty;
1763
1761
  try {
@@ -1791,46 +1789,46 @@ function Gn() {
1791
1789
  function u(y, m, d, A) {
1792
1790
  var b = m && m.prototype instanceof f ? m : f, v = Object.create(b.prototype);
1793
1791
  return t(v, "_invoke", (function(x, T, I) {
1794
- var R, j, $, z = 0, L = I || [], M = !1, O = {
1792
+ var R, j, M, z = 0, L = I || [], $ = !1, O = {
1795
1793
  p: 0,
1796
1794
  n: 0,
1797
1795
  v: n,
1798
1796
  a: V,
1799
1797
  f: V.bind(n, 4),
1800
1798
  d: function(K, c) {
1801
- return R = K, j = 0, $ = n, O.n = c, l;
1799
+ return R = K, j = 0, M = n, O.n = c, l;
1802
1800
  }
1803
1801
  };
1804
1802
  function V(D, K) {
1805
- for (j = D, $ = K, i = 0; !M && z && !c && i < L.length; i++) {
1803
+ for (j = D, M = K, i = 0; !$ && z && !c && i < L.length; i++) {
1806
1804
  var c, h = L[i], P = O.p, C = h[2];
1807
- D > 3 ? (c = C === K) && ($ = h[(j = h[4]) ? 5 : (j = 3, 3)], h[4] = h[5] = n) : h[0] <= P && ((c = D < 2 && P < h[1]) ? (j = 0, O.v = K, O.n = h[1]) : P < C && (c = D < 3 || h[0] > K || K > C) && (h[4] = D, h[5] = K, O.n = C, j = 0));
1805
+ D > 3 ? (c = C === K) && (M = h[(j = h[4]) ? 5 : (j = 3, 3)], h[4] = h[5] = n) : h[0] <= P && ((c = D < 2 && P < h[1]) ? (j = 0, O.v = K, O.n = h[1]) : P < C && (c = D < 3 || h[0] > K || K > C) && (h[4] = D, h[5] = K, O.n = C, j = 0));
1808
1806
  }
1809
1807
  if (c || D > 1) return l;
1810
- throw M = !0, K;
1808
+ throw $ = !0, K;
1811
1809
  }
1812
1810
  return function(D, K, c) {
1813
1811
  if (z > 1) throw TypeError("Generator is already running");
1814
- for (M && K === 1 && V(K, c), j = K, $ = c; (i = j < 2 ? n : $) || !M; ) {
1815
- R || (j ? j < 3 ? (j > 1 && (O.n = -1), V(j, $)) : O.n = $ : O.v = $);
1812
+ for ($ && K === 1 && V(K, c), j = K, M = c; (i = j < 2 ? n : M) || !$; ) {
1813
+ R || (j ? j < 3 ? (j > 1 && (O.n = -1), V(j, M)) : O.n = M : O.v = M);
1816
1814
  try {
1817
1815
  if (z = 2, R) {
1818
1816
  if (j || (D = "next"), i = R[D]) {
1819
- if (!(i = i.call(R, $))) throw TypeError("iterator result is not an object");
1817
+ if (!(i = i.call(R, M))) throw TypeError("iterator result is not an object");
1820
1818
  if (!i.done) return i;
1821
- $ = i.value, j < 2 && (j = 0);
1822
- } else j === 1 && (i = R.return) && i.call(R), j < 2 && ($ = TypeError("The iterator does not provide a '" + D + "' method"), j = 1);
1819
+ M = i.value, j < 2 && (j = 0);
1820
+ } else j === 1 && (i = R.return) && i.call(R), j < 2 && (M = TypeError("The iterator does not provide a '" + D + "' method"), j = 1);
1823
1821
  R = n;
1824
- } else if ((i = (M = O.n < 0) ? $ : x.call(T, O)) !== l) break;
1822
+ } else if ((i = ($ = O.n < 0) ? M : x.call(T, O)) !== l) break;
1825
1823
  } catch (h) {
1826
- R = n, j = 1, $ = h;
1824
+ R = n, j = 1, M = h;
1827
1825
  } finally {
1828
1826
  z = 1;
1829
1827
  }
1830
1828
  }
1831
1829
  return {
1832
1830
  value: i,
1833
- done: M
1831
+ done: $
1834
1832
  };
1835
1833
  };
1836
1834
  })(y, d, A), !0), v;
@@ -2059,7 +2057,7 @@ function us() {
2059
2057
  return It;
2060
2058
  }
2061
2059
  var cs = us();
2062
- const G = /* @__PURE__ */ Wn(cs);
2060
+ const G = /* @__PURE__ */ gn(cs);
2063
2061
  function Kr(e, t, r, n, i, a, s) {
2064
2062
  try {
2065
2063
  var o = e[a](s), u = o.value;
@@ -2141,7 +2139,7 @@ function Qe(e, t, r) {
2141
2139
  n.modified = u, n.modifiedAt = o, a = u;
2142
2140
  }
2143
2141
  var l = _t(a + 1e3 * i), f = l[0];
2144
- return n.expires = l[1], n.expiresAt = f, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), _n(qn, JSON.stringify(n), i), ir(n, !r);
2142
+ return n.expires = l[1], n.expiresAt = f, n.duration = 1e3 * i, t && (n = Object.assign(n, t)), Dn(qn, JSON.stringify(n), i), ir(n, !r);
2145
2143
  }
2146
2144
  var ds = function(e, t) {
2147
2145
  return Qe(e, t, !0);
@@ -2229,7 +2227,7 @@ function hs() {
2229
2227
  return Ot = y, Ot;
2230
2228
  }
2231
2229
  var ms = hs();
2232
- const vs = /* @__PURE__ */ Wn(ms);
2230
+ const vs = /* @__PURE__ */ gn(ms);
2233
2231
  const Dt = new TextEncoder(), ys = {
2234
2232
  appstream2: "appstream",
2235
2233
  cloudhsmv2: "cloudhsm",
@@ -2541,7 +2539,7 @@ function js(e) {
2541
2539
  function Re(e, t) {
2542
2540
  return t ? 0 : Math.round((/* @__PURE__ */ new Date() - e) / 1e3);
2543
2541
  }
2544
- var Zn = "object", Ns = "string", rn = "?", J = "name", X = "version", ks = "", nn = "function", Cs = "undefined", Rs = "BlackBerry", Ms = "Chrome", $s = "Firefox", an = {
2542
+ var Zn = "object", Ns = "string", rn = "?", J = "name", X = "version", ks = "", nn = "function", Cs = "undefined", Rs = "BlackBerry", $s = "Chrome", Ms = "Firefox", an = {
2545
2543
  ME: "4.90",
2546
2544
  "NT 3.11": "NT3.51",
2547
2545
  "NT 4.0": "NT4.0",
@@ -2597,14 +2595,14 @@ var Zn = "object", Ns = "string", rn = "?", J = "name", X = "version", ks = "",
2597
2595
  [X, [J, Rs]],
2598
2596
  // Firefox OS
2599
2597
  [/mozilla\/[\d\.]+ \((?:mobile|tablet|tv|mobile; [\w ]+); rv:.+ gecko\/([\w\.]+)/i],
2600
- [X, [J, $s + " OS"]],
2598
+ [X, [J, Ms + " OS"]],
2601
2599
  // WebOS
2602
2600
  [/web0s;.+rt(tv)/i, /\b(?:hp)?wos(?:browser)?\/([\w\.]+)/i],
2603
2601
  [X, [J, "webOS"]],
2604
2602
  // Google Chromecast
2605
2603
  [/crkey\/([\d\.]+)/i],
2606
2604
  // Google Chromecast
2607
- [X, [J, Ms + "cast"]],
2605
+ [X, [J, $s + "cast"]],
2608
2606
  // Chromium OS
2609
2607
  [/(cros) [\w]+ ([\w\.]+\w)/i],
2610
2608
  [[J, "Chromium OS"], X],
@@ -2833,7 +2831,7 @@ function Fs(e) {
2833
2831
  }
2834
2832
  function Ht() {
2835
2833
  return Ht = ne(/* @__PURE__ */ G.mark(function e(t) {
2836
- var r, n, i, a, s, o, u, l, f, p, g, S, w, E, y, m, d, A, b, v, x, T, I, R, j, $, z, L, M, O, V, D = arguments;
2834
+ var r, n, i, a, s, o, u, l, f, p, g, S, w, E, y, m, d, A, b, v, x, T, I, R, j, M, z, L, $, O, V, D = arguments;
2837
2835
  return G.wrap(function(c) {
2838
2836
  for (; ; )
2839
2837
  switch (c.prev = c.next) {
@@ -2855,7 +2853,7 @@ function Ht() {
2855
2853
  case 23:
2856
2854
  c.t0 = {};
2857
2855
  case 24:
2858
- if (R = c.t0, j = q(q(q({}, I), R), A), $ = r.metrics || {}, z = {
2856
+ if (R = c.t0, j = q(q(q({}, I), R), A), M = r.metrics || {}, z = {
2859
2857
  /* Time of session */
2860
2858
  sessionTime: S.elapsed || T,
2861
2859
  /* Date metrics */
@@ -2874,9 +2872,9 @@ function Ht() {
2874
2872
  case 34:
2875
2873
  c.t1 = {};
2876
2874
  case 35:
2877
- return L = c.t1, M = q(q(q({}, z), L), $), c.next = 39, Ut(j);
2875
+ return L = c.t1, $ = q(q(q({}, z), L), M), c.next = 39, Ut(j);
2878
2876
  case 39:
2879
- return c.t2 = c.sent, c.next = 42, ti(M);
2877
+ return c.t2 = c.sent, c.next = 42, ti($);
2880
2878
  case 42:
2881
2879
  return c.t3 = c.sent, O = {
2882
2880
  attributes: c.t2,
@@ -2933,7 +2931,7 @@ function Gt() {
2933
2931
  case 0:
2934
2932
  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 = eo(r), o = s.sessionKey ? s.sessionKey() : "sessions", u = s.pageViewKey ? s.pageViewKey() : "pageViews", ye && (p = or(), l = ar(), f = l.id), g = ze(), I.next = 10, i();
2935
2933
  case 10:
2936
- if (S = I.sent, ln || (ln = !0, w = Yt(cn), w && (xt(S, w), zn(cn))), E = Bs(S), y = Qs(r), m = Js(y, p), d = {
2934
+ if (S = I.sent, ln || (ln = !0, w = Yt(cn), w && (xt(S, w), Ln(cn))), E = Bs(S), y = Qs(r), m = Js(y, p), d = {
2937
2935
  Attributes: {},
2938
2936
  Demographic: m,
2939
2937
  Location: {
@@ -3128,8 +3126,8 @@ function Kt() {
3128
3126
  }), v.forEach(function(I) {
3129
3127
  var R = I.EndpointItemResponse || {}, j = I.EventsItemResponse || {};
3130
3128
  Object.keys(R).length && (no.includes(R.StatusCode) || ro.includes(R.StatusCode) || oo(R, Endpoint));
3131
- var $ = Object.keys(j);
3132
- $.length && $.forEach(function(z) {
3129
+ var M = Object.keys(j);
3130
+ M.length && M.forEach(function(z) {
3133
3131
  });
3134
3132
  })), T.abrupt("return", d);
3135
3133
  case 26:
@@ -3402,8 +3400,8 @@ function Io() {
3402
3400
  }
3403
3401
  if (!E && f)
3404
3402
  return !1;
3405
- var R = Object.keys(b).reduce(function(L, M) {
3406
- return L["utm_".concat(M)] = b[M], L;
3403
+ var R = Object.keys(b).reduce(function(L, $) {
3404
+ return L["utm_".concat($)] = b[$], L;
3407
3405
  }, {}), j = yo(q(q({}, u), {}, {
3408
3406
  // The title of the app that's recording the event.
3409
3407
  appTitle: u.appTitle || d,
@@ -3450,18 +3448,18 @@ function Io() {
3450
3448
  }
3451
3449
  }));
3452
3450
  t = j.recordEvent, r = j.updateEndpoint, T && T.isNew && (g("Start brand new session because cookie not found"), t(Vt));
3453
- var $ = 18e5, z = $;
3451
+ var M = 18e5, z = M;
3454
3452
  js({
3455
3453
  timeout: z,
3456
3454
  throttle: 2e4,
3457
- onIdle: function(M, O) {
3458
- g("Session idle. Active ".concat(M, " seconds")), i();
3455
+ onIdle: function($, O) {
3456
+ g("Session idle. Active ".concat($, " seconds")), i();
3459
3457
  },
3460
- onWakeUp: function(M, O) {
3461
- g("Session wakeup. Idle ".concat(M, " seconds")), a();
3458
+ onWakeUp: function($, O) {
3459
+ g("Session wakeup. Idle ".concat($, " seconds")), a();
3462
3460
  },
3463
- onHeartbeat: function(M, O) {
3464
- g("ping session", /* @__PURE__ */ new Date()), g("total active time", M);
3461
+ onHeartbeat: function($, O) {
3462
+ g("ping session", /* @__PURE__ */ new Date()), g("total active time", $);
3465
3463
  var V = l.user();
3466
3464
  ds(30, {
3467
3465
  anonId: V.anonymousId,
@@ -3496,7 +3494,7 @@ function Io() {
3496
3494
  /* Reset user details */
3497
3495
  reset: function(o) {
3498
3496
  var u = o.instance, l = u.user("anonymousId"), f = ot(l);
3499
- zn(f);
3497
+ Ln(f);
3500
3498
  },
3501
3499
  loaded: function() {
3502
3500
  return !!t;
@@ -3655,7 +3653,7 @@ function Ro() {
3655
3653
  Request: globalThis.Request
3656
3654
  });
3657
3655
  }
3658
- function Mo(e, t) {
3656
+ function $o(e, t) {
3659
3657
  var r;
3660
3658
  if (!t && !window || !e)
3661
3659
  return !1;
@@ -3665,7 +3663,7 @@ function Mo(e, t) {
3665
3663
  return e.startsWith(n);
3666
3664
  }
3667
3665
  }
3668
- const $o = "@esri/arcgis-rest-js";
3666
+ const Mo = "@esri/arcgis-rest-js";
3669
3667
  function _o() {
3670
3668
  return globalThis.DEFAULT_ARCGIS_REQUEST_OPTIONS || {
3671
3669
  httpMethod: "POST",
@@ -3755,7 +3753,7 @@ function di(e, t) {
3755
3753
  l = n.authentication;
3756
3754
  const f = e;
3757
3755
  let p = !1;
3758
- typeof window < "u" && (p = Mo(e));
3756
+ typeof window < "u" && (p = $o(e));
3759
3757
  const g = !p && ko(e);
3760
3758
  n.headers && n.headers["X-Esri-Auth-Client-Id"] && e.indexOf("/oauth2/platformSelf") > -1 && (u.credentials = "include");
3761
3759
  let S = Promise.resolve();
@@ -3775,7 +3773,7 @@ function di(e, t) {
3775
3773
  }
3776
3774
  const y = new RegExp("/items/.+/updateResources").test(e);
3777
3775
  u.method === "POST" && (u.body = To(s, y)), u.headers = Object.assign(Object.assign({}, E), n.headers);
3778
- (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = $o);
3776
+ (typeof window > "u" || window && typeof window.document > "u") && !u.headers.referer && (u.headers.referer = Mo);
3779
3777
  !si(s) && !y && (u.headers["Content-Type"] = "application/x-www-form-urlencoded");
3780
3778
  return globalThis.fetch ? globalThis.fetch(e, u) : Ro().then(({ fetch: m }) => m(e, u));
3781
3779
  }).then((w) => {