@expofp/floorplan 3.0.0-alpha.13 → 3.0.0-alpha.15

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 (47) hide show
  1. package/dist/browser/Debug-Bn7mmuWl.js +40 -0
  2. package/dist/browser/Demo-pwpeopeB.js +47 -0
  3. package/dist/browser/{Free-Cf7Raqrc.js → Free-CeZSHheC.js} +29 -20
  4. package/dist/browser/Gallery-BTasOfWx.js +288 -0
  5. package/dist/browser/GpsLoader-BS8b-Aif.js +140 -0
  6. package/dist/browser/{KioskStore-D241RDzb.js → KioskStore-_Zcv0Bc0.js} +57 -48
  7. package/dist/browser/Mapbox-Cl59-8BN.js +118 -0
  8. package/dist/browser/{SetKioskMode-2rlj74Xn.js → SetKioskMode-CjjAW8SI.js} +66 -57
  9. package/dist/browser/{ShowKiosk-CrsnQU04.js → ShowKiosk-DUcthTIK.js} +28 -19
  10. package/dist/browser/{ThreeComponent-ClnfXUj7.js → ThreeComponent-CdelmApV.js} +181 -172
  11. package/dist/browser/boolean-editor-HetrPeeC.js +157 -0
  12. package/dist/browser/bundle.json +32 -29
  13. package/dist/browser/{client-CkzDfd_U.js → client-BMgLu7eB.js} +590 -581
  14. package/dist/browser/compat-helper.js +5 -0
  15. package/dist/browser/{data-m8n9ATTo.js → data-eO9H1gMa.js} +276 -267
  16. package/dist/browser/{debug-overlay-2jzTw6KL.js → debug-overlay-DqIeCuHo.js} +98 -89
  17. package/dist/browser/debug-ui-6t_iunMd.js +67 -0
  18. package/dist/browser/{favicon-DalyEhbd.js → favicon-CoF9H4Pb.js} +11 -2
  19. package/dist/browser/fetch-retry.umd-GcX1W9qV.js +123 -0
  20. package/dist/browser/{flex-Cdkjkshz.js → flex-BC_JSvaB.js} +80 -71
  21. package/dist/browser/{floorplan.ready-D6FqQD8c.js → floorplan.ready-CZn5dvsU.js} +1011 -987
  22. package/dist/browser/index-C1Rwmp91.js +54 -0
  23. package/dist/browser/{index-DSgSq67u.js → index-CEVUHq8g.js} +96 -87
  24. package/dist/browser/{index-CEmjMySn.js → index-Dba8EyWF.js} +41 -32
  25. package/dist/browser/{index-4ImEhZsQ.js → index-DnV82MKb.js} +936 -923
  26. package/dist/browser/index-Dp-WygGH.js +57 -0
  27. package/dist/browser/index-sNwIhVDZ.js +92 -0
  28. package/dist/browser/{index-DBHasqQ8.js → index-uGr-_9rk.js} +258 -249
  29. package/dist/browser/index.js +11 -2
  30. package/dist/browser/jsx-runtime-BHfPvO9I.js +40 -0
  31. package/dist/browser/{main-CD9JioNt.js → main-DYasSc7U.js} +24 -15
  32. package/dist/browser/{particles.min-7sD7ioDi.js → particles.min-B6O6_M_h.js} +43 -34
  33. package/dist/esm/load.d.ts +2 -0
  34. package/dist/esm/load.js +3 -3
  35. package/package.json +4 -3
  36. package/dist/browser/Debug-2YRpxyzp.js +0 -31
  37. package/dist/browser/Demo-BhvcgT41.js +0 -38
  38. package/dist/browser/Gallery-Dq_GR98t.js +0 -279
  39. package/dist/browser/GpsLoader-ChfXQOsy.js +0 -131
  40. package/dist/browser/Mapbox-DFHRWdCq.js +0 -109
  41. package/dist/browser/boolean-editor-D8wja-hk.js +0 -148
  42. package/dist/browser/debug-ui-YhK0Mf0Y.js +0 -58
  43. package/dist/browser/fetch-retry.umd-dyC72RhE.js +0 -114
  44. package/dist/browser/index-BKeGOpor.js +0 -48
  45. package/dist/browser/index-D153Iyx8.js +0 -45
  46. package/dist/browser/index-d52BKaOl.js +0 -83
  47. package/dist/browser/jsx-runtime-jIxVPx5o.js +0 -31
@@ -1,3 +1,12 @@
1
+ (function() {
2
+ try {
3
+ var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
4
+ t.SENTRY_RELEASE = { id: "3.0.0-alpha.15" };
5
+ var e = new t.Error().stack;
6
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "00596cf5-23ac-42c2-a732-53acea39e262", t._sentryDebugIdIdentifier = "sentry-dbid-00596cf5-23ac-42c2-a732-53acea39e262");
7
+ } catch {
8
+ }
9
+ })();
1
10
  function _o(t, e) {
2
11
  for (var n = 0; n < e.length; n++) {
3
12
  const r = e[n];
@@ -22,24 +31,24 @@ function vo() {
22
31
  if (Gn) return Wt;
23
32
  Gn = 1;
24
33
  var t = 1e3, e = t * 60, n = e * 60, r = n * 24, s = r * 7, o = r * 365.25;
25
- Wt = function(f, l) {
26
- l = l || {};
27
- var p = typeof f;
28
- if (p === "string" && f.length > 0)
29
- return i(f);
30
- if (p === "number" && isFinite(f))
31
- return l.long ? c(f) : a(f);
34
+ Wt = function(l, f) {
35
+ f = f || {};
36
+ var p = typeof l;
37
+ if (p === "string" && l.length > 0)
38
+ return i(l);
39
+ if (p === "number" && isFinite(l))
40
+ return f.long ? a(l) : c(l);
32
41
  throw new Error(
33
- "val is not a non-empty string or a valid number. val=" + JSON.stringify(f)
42
+ "val is not a non-empty string or a valid number. val=" + JSON.stringify(l)
34
43
  );
35
44
  };
36
- function i(f) {
37
- if (f = String(f), !(f.length > 100)) {
38
- var l = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
39
- f
45
+ function i(l) {
46
+ if (l = String(l), !(l.length > 100)) {
47
+ var f = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
48
+ l
40
49
  );
41
- if (l) {
42
- var p = parseFloat(l[1]), g = (l[2] || "ms").toLowerCase();
50
+ if (f) {
51
+ var p = parseFloat(f[1]), g = (f[2] || "ms").toLowerCase();
43
52
  switch (g) {
44
53
  case "years":
45
54
  case "year":
@@ -85,17 +94,17 @@ function vo() {
85
94
  }
86
95
  }
87
96
  }
88
- function a(f) {
89
- var l = Math.abs(f);
90
- return l >= r ? Math.round(f / r) + "d" : l >= n ? Math.round(f / n) + "h" : l >= e ? Math.round(f / e) + "m" : l >= t ? Math.round(f / t) + "s" : f + "ms";
97
+ function c(l) {
98
+ var f = Math.abs(l);
99
+ return f >= r ? Math.round(l / r) + "d" : f >= n ? Math.round(l / n) + "h" : f >= e ? Math.round(l / e) + "m" : f >= t ? Math.round(l / t) + "s" : l + "ms";
91
100
  }
92
- function c(f) {
93
- var l = Math.abs(f);
94
- return l >= r ? u(f, l, r, "day") : l >= n ? u(f, l, n, "hour") : l >= e ? u(f, l, e, "minute") : l >= t ? u(f, l, t, "second") : f + " ms";
101
+ function a(l) {
102
+ var f = Math.abs(l);
103
+ return f >= r ? u(l, f, r, "day") : f >= n ? u(l, f, n, "hour") : f >= e ? u(l, f, e, "minute") : f >= t ? u(l, f, t, "second") : l + " ms";
95
104
  }
96
- function u(f, l, p, g) {
97
- var _ = l >= p * 1.5;
98
- return Math.round(f / p) + " " + g + (_ ? "s" : "");
105
+ function u(l, f, p, g) {
106
+ var _ = f >= p * 1.5;
107
+ return Math.round(l / p) + " " + g + (_ ? "s" : "");
99
108
  }
100
109
  return Wt;
101
110
  }
@@ -104,59 +113,59 @@ function wo() {
104
113
  if (Yn) return Vt;
105
114
  Yn = 1;
106
115
  function t(e) {
107
- r.debug = r, r.default = r, r.coerce = u, r.disable = a, r.enable = o, r.enabled = c, r.humanize = vo(), r.destroy = f, Object.keys(e).forEach((l) => {
108
- r[l] = e[l];
116
+ r.debug = r, r.default = r, r.coerce = u, r.disable = c, r.enable = o, r.enabled = a, r.humanize = vo(), r.destroy = l, Object.keys(e).forEach((f) => {
117
+ r[f] = e[f];
109
118
  }), r.names = [], r.skips = [], r.formatters = {};
110
- function n(l) {
119
+ function n(f) {
111
120
  let p = 0;
112
- for (let g = 0; g < l.length; g++)
113
- p = (p << 5) - p + l.charCodeAt(g), p |= 0;
121
+ for (let g = 0; g < f.length; g++)
122
+ p = (p << 5) - p + f.charCodeAt(g), p |= 0;
114
123
  return r.colors[Math.abs(p) % r.colors.length];
115
124
  }
116
125
  r.selectColor = n;
117
- function r(l) {
126
+ function r(f) {
118
127
  let p, g = null, _, m;
119
128
  function y(...v) {
120
129
  if (!y.enabled)
121
130
  return;
122
131
  const w = y, E = Number(/* @__PURE__ */ new Date()), N = E - (p || E);
123
132
  w.diff = N, w.prev = p, w.curr = E, p = E, v[0] = r.coerce(v[0]), typeof v[0] != "string" && v.unshift("%O");
124
- let L = 0;
125
- v[0] = v[0].replace(/%([a-zA-Z%])/g, (T, oe) => {
126
- if (T === "%%")
133
+ let P = 0;
134
+ v[0] = v[0].replace(/%([a-zA-Z%])/g, (O, oe) => {
135
+ if (O === "%%")
127
136
  return "%";
128
- L++;
137
+ P++;
129
138
  const Q = r.formatters[oe];
130
139
  if (typeof Q == "function") {
131
- const Z = v[L];
132
- T = Q.call(w, Z), v.splice(L, 1), L--;
140
+ const Z = v[P];
141
+ O = Q.call(w, Z), v.splice(P, 1), P--;
133
142
  }
134
- return T;
143
+ return O;
135
144
  }), r.formatArgs.call(w, v), (w.log || r.log).apply(w, v);
136
145
  }
137
- return y.namespace = l, y.useColors = r.useColors(), y.color = r.selectColor(l), y.extend = s, y.destroy = r.destroy, Object.defineProperty(y, "enabled", {
146
+ return y.namespace = f, y.useColors = r.useColors(), y.color = r.selectColor(f), y.extend = s, y.destroy = r.destroy, Object.defineProperty(y, "enabled", {
138
147
  enumerable: !0,
139
148
  configurable: !1,
140
- get: () => g !== null ? g : (_ !== r.namespaces && (_ = r.namespaces, m = r.enabled(l)), m),
149
+ get: () => g !== null ? g : (_ !== r.namespaces && (_ = r.namespaces, m = r.enabled(f)), m),
141
150
  set: (v) => {
142
151
  g = v;
143
152
  }
144
153
  }), typeof r.init == "function" && r.init(y), y;
145
154
  }
146
- function s(l, p) {
147
- const g = r(this.namespace + (typeof p > "u" ? ":" : p) + l);
155
+ function s(f, p) {
156
+ const g = r(this.namespace + (typeof p > "u" ? ":" : p) + f);
148
157
  return g.log = this.log, g;
149
158
  }
150
- function o(l) {
151
- r.save(l), r.namespaces = l, r.names = [], r.skips = [];
152
- const p = (typeof l == "string" ? l : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
159
+ function o(f) {
160
+ r.save(f), r.namespaces = f, r.names = [], r.skips = [];
161
+ const p = (typeof f == "string" ? f : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
153
162
  for (const g of p)
154
163
  g[0] === "-" ? r.skips.push(g.slice(1)) : r.names.push(g);
155
164
  }
156
- function i(l, p) {
165
+ function i(f, p) {
157
166
  let g = 0, _ = 0, m = -1, y = 0;
158
- for (; g < l.length; )
159
- if (_ < p.length && (p[_] === l[g] || p[_] === "*"))
167
+ for (; g < f.length; )
168
+ if (_ < p.length && (p[_] === f[g] || p[_] === "*"))
160
169
  p[_] === "*" ? (m = _, y = g, _++) : (g++, _++);
161
170
  else if (m !== -1)
162
171
  _ = m + 1, y++, g = y;
@@ -166,26 +175,26 @@ function wo() {
166
175
  _++;
167
176
  return _ === p.length;
168
177
  }
169
- function a() {
170
- const l = [
178
+ function c() {
179
+ const f = [
171
180
  ...r.names,
172
181
  ...r.skips.map((p) => "-" + p)
173
182
  ].join(",");
174
- return r.enable(""), l;
183
+ return r.enable(""), f;
175
184
  }
176
- function c(l) {
185
+ function a(f) {
177
186
  for (const p of r.skips)
178
- if (i(l, p))
187
+ if (i(f, p))
179
188
  return !1;
180
189
  for (const p of r.names)
181
- if (i(l, p))
190
+ if (i(f, p))
182
191
  return !0;
183
192
  return !1;
184
193
  }
185
- function u(l) {
186
- return l instanceof Error ? l.stack || l.message : l;
194
+ function u(f) {
195
+ return f instanceof Error ? f.stack || f.message : f;
187
196
  }
188
- function f() {
197
+ function l() {
189
198
  console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.");
190
199
  }
191
200
  return r.enable(r.load()), r;
@@ -196,9 +205,9 @@ var qn;
196
205
  function Eo() {
197
206
  return qn || (qn = 1, (function(t, e) {
198
207
  e.formatArgs = r, e.save = s, e.load = o, e.useColors = n, e.storage = i(), e.destroy = /* @__PURE__ */ (() => {
199
- let c = !1;
208
+ let a = !1;
200
209
  return () => {
201
- c || (c = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
210
+ a || (a = !0, console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."));
202
211
  };
203
212
  })(), e.colors = [
204
213
  "#0000CC",
@@ -283,38 +292,38 @@ function Eo() {
283
292
  return !0;
284
293
  if (typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))
285
294
  return !1;
286
- let c;
295
+ let a;
287
296
  return typeof document < "u" && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance || // Is firebug? http://stackoverflow.com/a/398120/376773
288
297
  typeof window < "u" && window.console && (window.console.firebug || window.console.exception && window.console.table) || // Is firefox >= v31?
289
298
  // https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages
290
- typeof navigator < "u" && navigator.userAgent && (c = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(c[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
299
+ typeof navigator < "u" && navigator.userAgent && (a = navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/)) && parseInt(a[1], 10) >= 31 || // Double check webkit in userAgent just in case we are in a worker
291
300
  typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/);
292
301
  }
293
- function r(c) {
294
- if (c[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + c[0] + (this.useColors ? "%c " : " ") + "+" + t.exports.humanize(this.diff), !this.useColors)
302
+ function r(a) {
303
+ if (a[0] = (this.useColors ? "%c" : "") + this.namespace + (this.useColors ? " %c" : " ") + a[0] + (this.useColors ? "%c " : " ") + "+" + t.exports.humanize(this.diff), !this.useColors)
295
304
  return;
296
305
  const u = "color: " + this.color;
297
- c.splice(1, 0, u, "color: inherit");
298
- let f = 0, l = 0;
299
- c[0].replace(/%[a-zA-Z%]/g, (p) => {
300
- p !== "%%" && (f++, p === "%c" && (l = f));
301
- }), c.splice(l, 0, u);
306
+ a.splice(1, 0, u, "color: inherit");
307
+ let l = 0, f = 0;
308
+ a[0].replace(/%[a-zA-Z%]/g, (p) => {
309
+ p !== "%%" && (l++, p === "%c" && (f = l));
310
+ }), a.splice(f, 0, u);
302
311
  }
303
312
  e.log = console.debug || console.log || (() => {
304
313
  });
305
- function s(c) {
314
+ function s(a) {
306
315
  try {
307
- c ? e.storage.setItem("debug", c) : e.storage.removeItem("debug");
316
+ a ? e.storage.setItem("debug", a) : e.storage.removeItem("debug");
308
317
  } catch {
309
318
  }
310
319
  }
311
320
  function o() {
312
- let c;
321
+ let a;
313
322
  try {
314
- c = e.storage.getItem("debug") || e.storage.getItem("DEBUG");
323
+ a = e.storage.getItem("debug") || e.storage.getItem("DEBUG");
315
324
  } catch {
316
325
  }
317
- return !c && typeof process < "u" && "env" in process && (c = process.env.DEBUG), c;
326
+ return !a && typeof process < "u" && "env" in process && (a = process.env.DEBUG), a;
318
327
  }
319
328
  function i() {
320
329
  try {
@@ -323,10 +332,10 @@ function Eo() {
323
332
  }
324
333
  }
325
334
  t.exports = wo()(e);
326
- const { formatters: a } = t.exports;
327
- a.j = function(c) {
335
+ const { formatters: c } = t.exports;
336
+ c.j = function(a) {
328
337
  try {
329
- return JSON.stringify(c);
338
+ return JSON.stringify(a);
330
339
  } catch (u) {
331
340
  return "[UnexpectedJSONParseError]: " + u.message;
332
341
  }
@@ -369,8 +378,8 @@ let Co = class {
369
378
  const r = n.map((i) => {
370
379
  if (typeof i == "object") try {
371
380
  return JSON.stringify(i);
372
- } catch (a) {
373
- return a.message;
381
+ } catch (c) {
382
+ return c.message;
374
383
  }
375
384
  return i;
376
385
  }), s = e + " " + (/* @__PURE__ */ new Date()).toISOString() + " " + r.join("; ");
@@ -421,7 +430,7 @@ async function ko(t) {
421
430
  Se.log("Reporter response: ", await e.text());
422
431
  }
423
432
  async function Ro(t) {
424
- const e = Oo(t), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
433
+ const e = To(t), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
425
434
  method: "POST",
426
435
  headers: {
427
436
  "Content-Type": "application/json"
@@ -430,7 +439,7 @@ async function Ro(t) {
430
439
  });
431
440
  Se.log("Slack reporter response: ", await n.text());
432
441
  }
433
- function Oo(t) {
442
+ function To(t) {
434
443
  const e = JSON.parse(JSON.stringify(t));
435
444
  delete e.subject, delete e.message, delete e.stack, delete e.log;
436
445
  const n = [];
@@ -462,8 +471,8 @@ function gs(t) {
462
471
  }), Object.freeze(t));
463
472
  }
464
473
  let ft;
465
- const To = async function(...e) {
466
- return ft || (typeof window < "u" && typeof document < "u" ? ft = window.fetch.bind(window) : ft = (await import("./fetch-retry.umd-dyC72RhE.js").then((s) => s.f)).default(globalThis.fetch)), ft(...e);
474
+ const Oo = async function(...e) {
475
+ return ft || (typeof window < "u" && typeof document < "u" ? ft = window.fetch.bind(window) : ft = (await import("./fetch-retry.umd-GcX1W9qV.js").then((s) => s.f)).default(globalThis.fetch)), ft(...e);
467
476
  };
468
477
  async function Io(t) {
469
478
  var e;
@@ -495,7 +504,7 @@ async function No(t, e, n) {
495
504
  if (e.has(r))
496
505
  return e.get(r);
497
506
  const s = (async function() {
498
- const i = await To(t, {
507
+ const i = await Oo(t, {
499
508
  signal: n
500
509
  });
501
510
  if (!i.ok)
@@ -512,14 +521,14 @@ async function Ao(t) {
512
521
  });
513
522
  return JSON.parse(n);
514
523
  }
515
- const Po = /* @__PURE__ */ new Map();
524
+ const Lo = /* @__PURE__ */ new Map();
516
525
  async function Zn(t, e) {
517
526
  const n = {
518
- fetchCache: Po
527
+ fetchCache: Lo
519
528
  };
520
529
  return typeof t != "object" || t === null || !("$ref" in t) ? t : await Mo(t.$ref, n);
521
530
  }
522
- function Lo() {
531
+ function Po() {
523
532
  if (typeof window > "u" || typeof document > "u")
524
533
  return;
525
534
  if (!document.querySelector('meta[name="viewport"]')) {
@@ -527,7 +536,7 @@ function Lo() {
527
536
  n.name = "viewport", n.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", document.head.appendChild(n);
528
537
  }
529
538
  const e = () => !!document.querySelector('link[rel="icon"]');
530
- e() || import("./favicon-DalyEhbd.js").then(({
539
+ e() || import("./favicon-CoF9H4Pb.js").then(({
531
540
  default: n
532
541
  }) => {
533
542
  if (e())
@@ -536,7 +545,7 @@ function Lo() {
536
545
  r.rel = "icon", r.type = "image/png", r.href = n, document.head.appendChild(r);
537
546
  }), (!document.title || document.title === "Document") && (document.title = "Floor Plan by ExpoFP");
538
547
  }
539
- var Do = { version: "3.0.0-alpha.13", commit: "3e1cc52f", branch: "vite-main", built: "2026-03-31T13:25:40.510Z" };
548
+ var Do = { version: "3.0.0-alpha.15", commit: "465d7309", branch: "vite-main", built: "2026-04-08T13:44:25.960Z" };
540
549
  function Bo() {
541
550
  const t = Do;
542
551
  if (t) {
@@ -570,7 +579,7 @@ function jo(t) {
570
579
  const n = (/* @__PURE__ */ new Date()).getTime() - t.getTime(), r = Math.floor(n / (1e3 * 60 * 60 * 24)), s = Math.floor(n / (1e3 * 60 * 60) % 24), o = Math.floor(n / (1e3 * 60) % 60), i = [];
571
580
  return r > 0 && i.push(`${r} day${r !== 1 ? "s" : ""}`), s > 0 && i.push(`${s} hour${s !== 1 ? "s" : ""}`), o > 0 && i.push(`${o} minute${o !== 1 ? "s" : ""}`), i.length === 0 ? "just now" : i.join(" ") + " ago";
572
581
  }
573
- const ud = "___visibility", ld = "previewMode", fd = "___preview_mode", $o = "data-preview-mode", dd = "booths", pd = ":", hd = "$$", gd = "kiosk", md = "setkiosk", yd = "expofp-map-settings", bd = "debug", _d = "ft", vd = "build-route", wd = "planner", Ed = "source", Sd = "from", Cd = "pathway", xd = 1e3, kd = 768, Rd = "lang", Od = "uiscale", Td = "resetuiscale", Id = "___ui-scale", Fd = 8, Uo = "--expofp-font-face", Md = "--expofp-booth-main-weight", Nd = "--expofp-booth-details-weight", Ad = "--expofp-exhibitor-main-weight", Pd = "--expofp-exhibitor-details-weight", Ld = "--expofp-booth-special-weight", Dd = "efp-compass-permission-granted";
582
+ const ud = "___visibility", ld = "previewMode", fd = "___preview_mode", $o = "data-preview-mode", dd = "booths", pd = ":", hd = "$$", gd = "kiosk", md = "setkiosk", yd = "expofp-map-settings", bd = "debug", _d = "ft", vd = "build-route", wd = "planner", Ed = "source", Sd = "from", Cd = "pathway", xd = 1e3, kd = 768, Rd = "lang", Td = "uiscale", Od = "resetuiscale", Id = "___ui-scale", Fd = 8, Uo = "--expofp-font-face", Md = "--expofp-booth-main-weight", Nd = "--expofp-booth-details-weight", Ad = "--expofp-exhibitor-main-weight", Ld = "--expofp-exhibitor-details-weight", Pd = "--expofp-booth-special-weight", Dd = "efp-compass-permission-granted";
574
583
  let tt;
575
584
  tt = new URL(
576
585
  /* @vite-ignore */
@@ -966,19 +975,19 @@ class h {
966
975
  /* eslint consistent-return: 1 */
967
976
  static compareVersions(e, n, r = !1) {
968
977
  const s = h.getVersionPrecision(e), o = h.getVersionPrecision(n);
969
- let i = Math.max(s, o), a = 0;
970
- const c = h.map([e, n], (u) => {
971
- const f = i - h.getVersionPrecision(u), l = u + new Array(f + 1).join(".0");
972
- return h.map(l.split("."), (p) => new Array(20 - p.length).join("0") + p).reverse();
978
+ let i = Math.max(s, o), c = 0;
979
+ const a = h.map([e, n], (u) => {
980
+ const l = i - h.getVersionPrecision(u), f = u + new Array(l + 1).join(".0");
981
+ return h.map(f.split("."), (p) => new Array(20 - p.length).join("0") + p).reverse();
973
982
  });
974
- for (r && (a = i - Math.min(s, o)), i -= 1; i >= a; ) {
975
- if (c[0][i] > c[1][i])
983
+ for (r && (c = i - Math.min(s, o)), i -= 1; i >= c; ) {
984
+ if (a[0][i] > a[1][i])
976
985
  return 1;
977
- if (c[0][i] === c[1][i]) {
978
- if (i === a)
986
+ if (a[0][i] === a[1][i]) {
987
+ if (i === c)
979
988
  return 0;
980
989
  i -= 1;
981
- } else if (c[0][i] < c[1][i])
990
+ } else if (a[0][i] < a[1][i])
982
991
  return -1;
983
992
  }
984
993
  }
@@ -1029,8 +1038,8 @@ class h {
1029
1038
  return Object.assign(e, ...n);
1030
1039
  for (s = 0, o = n.length; s < o; s += 1) {
1031
1040
  const i = n[s];
1032
- typeof i == "object" && i !== null && Object.keys(i).forEach((c) => {
1033
- r[c] = i[c];
1041
+ typeof i == "object" && i !== null && Object.keys(i).forEach((a) => {
1042
+ r[a] = i[a];
1034
1043
  });
1035
1044
  }
1036
1045
  return e;
@@ -2771,30 +2780,30 @@ class er {
2771
2780
  let r = 0;
2772
2781
  const s = {};
2773
2782
  let o = 0;
2774
- if (Object.keys(e).forEach((a) => {
2775
- const c = e[a];
2776
- typeof c == "string" ? (s[a] = c, o += 1) : typeof c == "object" && (n[a] = c, r += 1);
2783
+ if (Object.keys(e).forEach((c) => {
2784
+ const a = e[c];
2785
+ typeof a == "string" ? (s[c] = a, o += 1) : typeof a == "object" && (n[c] = a, r += 1);
2777
2786
  }), r > 0) {
2778
- const a = Object.keys(n), c = h.find(a, (f) => this.isOS(f));
2779
- if (c) {
2780
- const f = this.satisfies(n[c]);
2781
- if (f !== void 0)
2782
- return f;
2787
+ const c = Object.keys(n), a = h.find(c, (l) => this.isOS(l));
2788
+ if (a) {
2789
+ const l = this.satisfies(n[a]);
2790
+ if (l !== void 0)
2791
+ return l;
2783
2792
  }
2784
2793
  const u = h.find(
2785
- a,
2786
- (f) => this.isPlatform(f)
2794
+ c,
2795
+ (l) => this.isPlatform(l)
2787
2796
  );
2788
2797
  if (u) {
2789
- const f = this.satisfies(n[u]);
2790
- if (f !== void 0)
2791
- return f;
2798
+ const l = this.satisfies(n[u]);
2799
+ if (l !== void 0)
2800
+ return l;
2792
2801
  }
2793
2802
  }
2794
2803
  if (o > 0) {
2795
- const a = Object.keys(s), c = h.find(a, (u) => this.isBrowser(u, !0));
2796
- if (c !== void 0)
2797
- return this.compareVersion(s[c]);
2804
+ const c = Object.keys(s), a = h.find(c, (u) => this.isBrowser(u, !0));
2805
+ if (a !== void 0)
2806
+ return this.compareVersion(s[a]);
2798
2807
  }
2799
2808
  }
2800
2809
  /**
@@ -2956,35 +2965,35 @@ function ei() {
2956
2965
  var w = m;
2957
2966
  e(m.h, v), e(m.i, v), o(m);
2958
2967
  }
2959
- function a(m, y, v) {
2968
+ function c(m, y, v) {
2960
2969
  y = y || {}, v = v || window, this.family = m, this.style = y.style || "normal", this.weight = y.weight || "normal", this.stretch = y.stretch || "normal", this.context = v;
2961
2970
  }
2962
- var c = null, u = null, f = null, l = null;
2971
+ var a = null, u = null, l = null, f = null;
2963
2972
  function p(m) {
2964
2973
  return u === null && (g(m) && /Apple/.test(window.navigator.vendor) ? (m = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))(?:\.([0-9]+))/.exec(window.navigator.userAgent), u = !!m && 603 > parseInt(m[1], 10)) : u = !1), u;
2965
2974
  }
2966
2975
  function g(m) {
2967
- return l === null && (l = !!m.document.fonts), l;
2976
+ return f === null && (f = !!m.document.fonts), f;
2968
2977
  }
2969
2978
  function _(m, y) {
2970
2979
  var v = m.style, w = m.weight;
2971
- if (f === null) {
2980
+ if (l === null) {
2972
2981
  var E = document.createElement("div");
2973
2982
  try {
2974
2983
  E.style.font = "condensed 100px sans-serif";
2975
2984
  } catch {
2976
2985
  }
2977
- f = E.style.font !== "";
2986
+ l = E.style.font !== "";
2978
2987
  }
2979
- return [v, w, f ? m.stretch : "", "100px", y].join(" ");
2988
+ return [v, w, l ? m.stretch : "", "100px", y].join(" ");
2980
2989
  }
2981
- a.prototype.load = function(m, y) {
2982
- var v = this, w = m || "BESbswy", E = 0, N = y || 3e3, L = (/* @__PURE__ */ new Date()).getTime();
2983
- return new Promise(function(H, T) {
2990
+ c.prototype.load = function(m, y) {
2991
+ var v = this, w = m || "BESbswy", E = 0, N = y || 3e3, P = (/* @__PURE__ */ new Date()).getTime();
2992
+ return new Promise(function(H, O) {
2984
2993
  if (g(v.context) && !p(v.context)) {
2985
2994
  var oe = new Promise(function(Z, V) {
2986
2995
  function z() {
2987
- (/* @__PURE__ */ new Date()).getTime() - L >= N ? V(Error("" + N + "ms timeout exceeded")) : v.context.document.fonts.load(_(v, '"' + v.family + '"'), w).then(function(G) {
2996
+ (/* @__PURE__ */ new Date()).getTime() - P >= N ? V(Error("" + N + "ms timeout exceeded")) : v.context.document.fonts.load(_(v, '"' + v.family + '"'), w).then(function(G) {
2988
2997
  1 <= G.length ? Z() : setTimeout(z, 25);
2989
2998
  }, V);
2990
2999
  }
@@ -2996,14 +3005,14 @@ function ei() {
2996
3005
  });
2997
3006
  Promise.race([Q, oe]).then(function() {
2998
3007
  clearTimeout(E), H(v);
2999
- }, T);
3008
+ }, O);
3000
3009
  } else n(function() {
3001
3010
  function Z() {
3002
3011
  var b;
3003
- (b = $ != -1 && j != -1 || $ != -1 && U != -1 || j != -1 && U != -1) && ((b = $ != j && $ != U && j != U) || (c === null && (b = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), c = !!b && (536 > parseInt(b[1], 10) || parseInt(b[1], 10) === 536 && 11 >= parseInt(b[2], 10))), b = c && ($ == ee && j == ee && U == ee || $ == Y && j == Y && U == Y || $ == fe && j == fe && U == fe)), b = !b), b && (d.parentNode !== null && d.parentNode.removeChild(d), clearTimeout(E), H(v));
3012
+ (b = $ != -1 && j != -1 || $ != -1 && U != -1 || j != -1 && U != -1) && ((b = $ != j && $ != U && j != U) || (a === null && (b = /AppleWebKit\/([0-9]+)(?:\.([0-9]+))/.exec(window.navigator.userAgent), a = !!b && (536 > parseInt(b[1], 10) || parseInt(b[1], 10) === 536 && 11 >= parseInt(b[2], 10))), b = a && ($ == ee && j == ee && U == ee || $ == Y && j == Y && U == Y || $ == fe && j == fe && U == fe)), b = !b), b && (d.parentNode !== null && d.parentNode.removeChild(d), clearTimeout(E), H(v));
3004
3013
  }
3005
3014
  function V() {
3006
- if ((/* @__PURE__ */ new Date()).getTime() - L >= N) d.parentNode !== null && d.parentNode.removeChild(d), T(Error("" + N + "ms timeout exceeded"));
3015
+ if ((/* @__PURE__ */ new Date()).getTime() - P >= N) d.parentNode !== null && d.parentNode.removeChild(d), O(Error("" + N + "ms timeout exceeded"));
3007
3016
  else {
3008
3017
  var b = v.context.document.hidden;
3009
3018
  (b === !0 || b === void 0) && ($ = z.g.offsetWidth, j = G.g.offsetWidth, U = F.g.offsetWidth, Z()), E = setTimeout(V, 50);
@@ -3019,7 +3028,7 @@ function ei() {
3019
3028
  }), s(F, _(v, '"' + v.family + '",monospace'));
3020
3029
  });
3021
3030
  });
3022
- }, t.exports = a;
3031
+ }, t.exports = c;
3023
3032
  })();
3024
3033
  })(zt)), zt.exports;
3025
3034
  }
@@ -3063,7 +3072,7 @@ async function gt(t) {
3063
3072
  r.src = fi(t), r.setAttribute("fetchpriority", "high"), r.onload = e, r.onerror = e, Se.log("Injecting script:", r.src), document.head.appendChild(r);
3064
3073
  });
3065
3074
  }
3066
- async function Le(t, e, n) {
3075
+ async function Pe(t, e, n) {
3067
3076
  var i;
3068
3077
  n = {
3069
3078
  style: "normal",
@@ -3326,14 +3335,14 @@ var yi = {
3326
3335
  s[o - 1] = arguments[o];
3327
3336
  if (this.observers[n]) {
3328
3337
  var i = [].concat(this.observers[n]);
3329
- i.forEach(function(c) {
3330
- c.apply(void 0, s);
3338
+ i.forEach(function(a) {
3339
+ a.apply(void 0, s);
3331
3340
  });
3332
3341
  }
3333
3342
  if (this.observers["*"]) {
3334
- var a = [].concat(this.observers["*"]);
3335
- a.forEach(function(c) {
3336
- c.apply(c, [n].concat(s));
3343
+ var c = [].concat(this.observers["*"]);
3344
+ c.forEach(function(a) {
3345
+ a.apply(a, [n].concat(s));
3337
3346
  });
3338
3347
  }
3339
3348
  }
@@ -3354,8 +3363,8 @@ function _i(t, e, n) {
3354
3363
  });
3355
3364
  }
3356
3365
  function xn(t, e, n) {
3357
- function r(a) {
3358
- return a && a.indexOf("###") > -1 ? a.replace(/###/g, ".") : a;
3366
+ function r(c) {
3367
+ return c && c.indexOf("###") > -1 ? c.replace(/###/g, ".") : c;
3359
3368
  }
3360
3369
  function s() {
3361
3370
  return !t || typeof t == "string";
@@ -3431,18 +3440,18 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3431
3440
  }, {
3432
3441
  key: "getResource",
3433
3442
  value: function(r, s, o) {
3434
- var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, c = [r, s];
3435
- return o && typeof o != "string" && (c = c.concat(o)), o && typeof o == "string" && (c = c.concat(a ? o.split(a) : o)), r.indexOf(".") > -1 && (c = r.split(".")), Rt(this.data, c);
3443
+ var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {}, c = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, a = [r, s];
3444
+ return o && typeof o != "string" && (a = a.concat(o)), o && typeof o == "string" && (a = a.concat(c ? o.split(c) : o)), r.indexOf(".") > -1 && (a = r.split(".")), Rt(this.data, a);
3436
3445
  }
3437
3446
  }, {
3438
3447
  key: "addResource",
3439
3448
  value: function(r, s, o, i) {
3440
- var a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3449
+ var c = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
3441
3450
  silent: !1
3442
- }, c = this.options.keySeparator;
3443
- c === void 0 && (c = ".");
3451
+ }, a = this.options.keySeparator;
3452
+ a === void 0 && (a = ".");
3444
3453
  var u = [r, s];
3445
- o && (u = u.concat(c ? o.split(c) : o)), r.indexOf(".") > -1 && (u = r.split("."), i = s, s = u[1]), this.addNamespaces(s), ir(this.data, u, i), a.silent || this.emit("added", r, s, o, i);
3454
+ o && (u = u.concat(a ? o.split(a) : o)), r.indexOf(".") > -1 && (u = r.split("."), i = s, s = u[1]), this.addNamespaces(s), ir(this.data, u, i), c.silent || this.emit("added", r, s, o, i);
3446
3455
  }
3447
3456
  }, {
3448
3457
  key: "addResources",
@@ -3450,21 +3459,21 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3450
3459
  var i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
3451
3460
  silent: !1
3452
3461
  };
3453
- for (var a in o)
3454
- (typeof o[a] == "string" || Object.prototype.toString.apply(o[a]) === "[object Array]") && this.addResource(r, s, a, o[a], {
3462
+ for (var c in o)
3463
+ (typeof o[c] == "string" || Object.prototype.toString.apply(o[c]) === "[object Array]") && this.addResource(r, s, c, o[c], {
3455
3464
  silent: !0
3456
3465
  });
3457
3466
  i.silent || this.emit("added", r, s, o);
3458
3467
  }
3459
3468
  }, {
3460
3469
  key: "addResourceBundle",
3461
- value: function(r, s, o, i, a) {
3462
- var c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
3470
+ value: function(r, s, o, i, c) {
3471
+ var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
3463
3472
  silent: !1
3464
3473
  }, u = [r, s];
3465
3474
  r.indexOf(".") > -1 && (u = r.split("."), i = o, o = s, s = u[1]), this.addNamespaces(s);
3466
- var f = Rt(this.data, u) || {};
3467
- i ? bs(f, o, a) : f = J({}, f, o), ir(this.data, u, f), c.silent || this.emit("added", r, s, o);
3475
+ var l = Rt(this.data, u) || {};
3476
+ i ? bs(l, o, c) : l = J({}, l, o), ir(this.data, u, l), a.silent || this.emit("added", r, s, o);
3468
3477
  }
3469
3478
  }, {
3470
3479
  key: "removeResourceBundle",
@@ -3499,8 +3508,8 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3499
3508
  },
3500
3509
  handle: function(e, n, r, s, o) {
3501
3510
  var i = this;
3502
- return e.forEach(function(a) {
3503
- i.processors[a] && (n = i.processors[a].process(n, r, s, o));
3511
+ return e.forEach(function(c) {
3512
+ i.processors[c] && (n = i.processors[c].process(n, r, s, o));
3504
3513
  }), n;
3505
3514
  }
3506
3515
  }, cr = {}, ur = (function(t) {
@@ -3527,20 +3536,20 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3527
3536
  value: function(r, s) {
3528
3537
  var o = s.nsSeparator !== void 0 ? s.nsSeparator : this.options.nsSeparator;
3529
3538
  o === void 0 && (o = ":");
3530
- var i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = s.ns || this.options.defaultNS;
3539
+ var i = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = s.ns || this.options.defaultNS;
3531
3540
  if (o && r.indexOf(o) > -1) {
3532
- var c = r.match(this.interpolator.nestingRegexp);
3533
- if (c && c.length > 0)
3541
+ var a = r.match(this.interpolator.nestingRegexp);
3542
+ if (a && a.length > 0)
3534
3543
  return {
3535
3544
  key: r,
3536
- namespaces: a
3545
+ namespaces: c
3537
3546
  };
3538
3547
  var u = r.split(o);
3539
- (o !== i || o === i && this.options.ns.indexOf(u[0]) > -1) && (a = u.shift()), r = u.join(i);
3548
+ (o !== i || o === i && this.options.ns.indexOf(u[0]) > -1) && (c = u.shift()), r = u.join(i);
3540
3549
  }
3541
- return typeof a == "string" && (a = [a]), {
3550
+ return typeof c == "string" && (c = [c]), {
3542
3551
  key: r,
3543
- namespaces: a
3552
+ namespaces: c
3544
3553
  };
3545
3554
  }
3546
3555
  }, {
@@ -3549,38 +3558,38 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3549
3558
  var i = this;
3550
3559
  if (ce(s) !== "object" && this.options.overloadTranslationOptionHandler && (s = this.options.overloadTranslationOptionHandler(arguments)), s || (s = {}), r == null) return "";
3551
3560
  Array.isArray(r) || (r = [String(r)]);
3552
- var a = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, c = this.extractFromKey(r[r.length - 1], s), u = c.key, f = c.namespaces, l = f[f.length - 1], p = s.lng || this.language, g = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
3561
+ var c = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator, a = this.extractFromKey(r[r.length - 1], s), u = a.key, l = a.namespaces, f = l[l.length - 1], p = s.lng || this.language, g = s.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
3553
3562
  if (p && p.toLowerCase() === "cimode") {
3554
3563
  if (g) {
3555
3564
  var _ = s.nsSeparator || this.options.nsSeparator;
3556
- return l + _ + u;
3565
+ return f + _ + u;
3557
3566
  }
3558
3567
  return u;
3559
3568
  }
3560
- var m = this.resolve(r, s), y = m && m.res, v = m && m.usedKey || u, w = m && m.exactUsedKey || u, E = Object.prototype.toString.apply(y), N = ["[object Number]", "[object Function]", "[object RegExp]"], L = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, H = !this.i18nFormat || this.i18nFormat.handleAsObject, T = typeof y != "string" && typeof y != "boolean" && typeof y != "number";
3561
- if (H && y && T && N.indexOf(E) < 0 && !(typeof L == "string" && E === "[object Array]")) {
3569
+ var m = this.resolve(r, s), y = m && m.res, v = m && m.usedKey || u, w = m && m.exactUsedKey || u, E = Object.prototype.toString.apply(y), N = ["[object Number]", "[object Function]", "[object RegExp]"], P = s.joinArrays !== void 0 ? s.joinArrays : this.options.joinArrays, H = !this.i18nFormat || this.i18nFormat.handleAsObject, O = typeof y != "string" && typeof y != "boolean" && typeof y != "number";
3570
+ if (H && y && O && N.indexOf(E) < 0 && !(typeof P == "string" && E === "[object Array]")) {
3562
3571
  if (!s.returnObjects && !this.options.returnObjects)
3563
3572
  return this.logger.warn("accessing an object - but returnObjects options is not enabled!"), this.options.returnedObjectHandler ? this.options.returnedObjectHandler(v, y, s) : "key '".concat(u, " (").concat(this.language, ")' returned an object instead of string.");
3564
- if (a) {
3573
+ if (c) {
3565
3574
  var oe = E === "[object Array]", Q = oe ? [] : {}, Z = oe ? w : v;
3566
3575
  for (var V in y)
3567
3576
  if (Object.prototype.hasOwnProperty.call(y, V)) {
3568
- var z = "".concat(Z).concat(a).concat(V);
3577
+ var z = "".concat(Z).concat(c).concat(V);
3569
3578
  Q[V] = this.translate(z, J({}, s, {
3570
3579
  joinArrays: !1,
3571
- ns: f
3580
+ ns: l
3572
3581
  })), Q[V] === z && (Q[V] = y[V]);
3573
3582
  }
3574
3583
  y = Q;
3575
3584
  }
3576
- } else if (H && typeof L == "string" && E === "[object Array]")
3577
- y = y.join(L), y && (y = this.extendTranslation(y, r, s, o));
3585
+ } else if (H && typeof P == "string" && E === "[object Array]")
3586
+ y = y.join(P), y && (y = this.extendTranslation(y, r, s, o));
3578
3587
  else {
3579
3588
  var G = !1, F = !1, $ = s.count !== void 0 && typeof s.count != "string", j = e.hasDefaultValue(s), U = $ ? this.pluralResolver.getSuffix(p, s.count) : "", ee = s["defaultValue".concat(U)] || s.defaultValue;
3580
3589
  !this.isValidLookup(y) && j && (G = !0, y = ee), this.isValidLookup(y) || (F = !0, y = u);
3581
3590
  var Y = j && ee !== y && this.options.updateMissing;
3582
3591
  if (F || G || Y) {
3583
- if (this.logger.log(Y ? "updateKey" : "missingKey", p, l, u, Y ? ee : y), a) {
3592
+ if (this.logger.log(Y ? "updateKey" : "missingKey", p, f, u, Y ? ee : y), c) {
3584
3593
  var fe = this.resolve(u, J({}, s, {
3585
3594
  keySeparator: !1
3586
3595
  }));
@@ -3591,23 +3600,23 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3591
3600
  for (var k = 0; k < b.length; k++)
3592
3601
  d.push(b[k]);
3593
3602
  else this.options.saveMissingTo === "all" ? d = this.languageUtils.toResolveHierarchy(s.lng || this.language) : d.push(s.lng || this.language);
3594
- var R = function(P, D, re) {
3595
- i.options.missingKeyHandler ? i.options.missingKeyHandler(P, l, D, Y ? re : y, Y, s) : i.backendConnector && i.backendConnector.saveMissing && i.backendConnector.saveMissing(P, l, D, Y ? re : y, Y, s), i.emit("missingKey", P, l, D, y);
3603
+ var R = function(L, D, re) {
3604
+ i.options.missingKeyHandler ? i.options.missingKeyHandler(L, f, D, Y ? re : y, Y, s) : i.backendConnector && i.backendConnector.saveMissing && i.backendConnector.saveMissing(L, f, D, Y ? re : y, Y, s), i.emit("missingKey", L, f, D, y);
3596
3605
  };
3597
3606
  this.options.saveMissing && (this.options.saveMissingPlurals && $ ? d.forEach(function(A) {
3598
- i.pluralResolver.getSuffixes(A).forEach(function(P) {
3599
- R([A], u + P, s["defaultValue".concat(P)] || ee);
3607
+ i.pluralResolver.getSuffixes(A).forEach(function(L) {
3608
+ R([A], u + L, s["defaultValue".concat(L)] || ee);
3600
3609
  });
3601
3610
  }) : R(d, u, ee));
3602
3611
  }
3603
- y = this.extendTranslation(y, r, s, m, o), F && y === u && this.options.appendNamespaceToMissingKey && (y = "".concat(l, ":").concat(u)), F && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(y));
3612
+ y = this.extendTranslation(y, r, s, m, o), F && y === u && this.options.appendNamespaceToMissingKey && (y = "".concat(f, ":").concat(u)), F && this.options.parseMissingKeyHandler && (y = this.options.parseMissingKeyHandler(y));
3604
3613
  }
3605
3614
  return y;
3606
3615
  }
3607
3616
  }, {
3608
3617
  key: "extendTranslation",
3609
- value: function(r, s, o, i, a) {
3610
- var c = this;
3618
+ value: function(r, s, o, i, c) {
3619
+ var a = this;
3611
3620
  if (this.i18nFormat && this.i18nFormat.parse)
3612
3621
  r = this.i18nFormat.parse(r, o, i.usedLng, i.usedNS, i.usedKey, {
3613
3622
  resolved: i
@@ -3616,20 +3625,20 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3616
3625
  o.interpolation && this.interpolator.init(J({}, o, {
3617
3626
  interpolation: J({}, this.options.interpolation, o.interpolation)
3618
3627
  }));
3619
- var u = o.interpolation && o.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, f;
3628
+ var u = o.interpolation && o.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, l;
3620
3629
  if (u) {
3621
- var l = r.match(this.interpolator.nestingRegexp);
3622
- f = l && l.length;
3630
+ var f = r.match(this.interpolator.nestingRegexp);
3631
+ l = f && f.length;
3623
3632
  }
3624
3633
  var p = o.replace && typeof o.replace != "string" ? o.replace : o;
3625
3634
  if (this.options.interpolation.defaultVariables && (p = J({}, this.options.interpolation.defaultVariables, p)), r = this.interpolator.interpolate(r, p, o.lng || this.language, o), u) {
3626
3635
  var g = r.match(this.interpolator.nestingRegexp), _ = g && g.length;
3627
- f < _ && (o.nest = !1);
3636
+ l < _ && (o.nest = !1);
3628
3637
  }
3629
3638
  o.nest !== !1 && (r = this.interpolator.nest(r, function() {
3630
3639
  for (var v = arguments.length, w = new Array(v), E = 0; E < v; E++)
3631
3640
  w[E] = arguments[E];
3632
- return a && a[0] === w[0] && !o.context ? (c.logger.warn("It seems you are nesting recursively key: ".concat(w[0], " in key: ").concat(s[0])), null) : c.translate.apply(c, w.concat([s]));
3641
+ return c && c[0] === w[0] && !o.context ? (a.logger.warn("It seems you are nesting recursively key: ".concat(w[0], " in key: ").concat(s[0])), null) : a.translate.apply(a, w.concat([s]));
3633
3642
  }, o)), o.interpolation && this.interpolator.reset();
3634
3643
  }
3635
3644
  var m = o.postProcess || this.options.postProcess, y = typeof m == "string" ? [m] : m;
@@ -3640,37 +3649,37 @@ var Mt = typeof window < "u" && window.navigator && window.navigator.userAgent &
3640
3649
  }, {
3641
3650
  key: "resolve",
3642
3651
  value: function(r) {
3643
- var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, a, c, u, f;
3644
- return typeof r == "string" && (r = [r]), r.forEach(function(l) {
3652
+ var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, c, a, u, l;
3653
+ return typeof r == "string" && (r = [r]), r.forEach(function(f) {
3645
3654
  if (!s.isValidLookup(i)) {
3646
- var p = s.extractFromKey(l, o), g = p.key;
3647
- a = g;
3655
+ var p = s.extractFromKey(f, o), g = p.key;
3656
+ c = g;
3648
3657
  var _ = p.namespaces;
3649
3658
  s.options.fallbackNS && (_ = _.concat(s.options.fallbackNS));
3650
3659
  var m = o.count !== void 0 && typeof o.count != "string", y = o.context !== void 0 && typeof o.context == "string" && o.context !== "", v = o.lngs ? o.lngs : s.languageUtils.toResolveHierarchy(o.lng || s.language, o.fallbackLng);
3651
3660
  _.forEach(function(w) {
3652
- s.isValidLookup(i) || (f = w, !cr["".concat(v[0], "-").concat(w)] && s.utils && s.utils.hasLoadedNamespace && !s.utils.hasLoadedNamespace(f) && (cr["".concat(v[0], "-").concat(w)] = !0, s.logger.warn('key "'.concat(a, '" for languages "').concat(v.join(", "), `" won't get resolved as namespace "`).concat(f, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach(function(E) {
3661
+ s.isValidLookup(i) || (l = w, !cr["".concat(v[0], "-").concat(w)] && s.utils && s.utils.hasLoadedNamespace && !s.utils.hasLoadedNamespace(l) && (cr["".concat(v[0], "-").concat(w)] = !0, s.logger.warn('key "'.concat(c, '" for languages "').concat(v.join(", "), `" won't get resolved as namespace "`).concat(l, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), v.forEach(function(E) {
3653
3662
  if (!s.isValidLookup(i)) {
3654
3663
  u = E;
3655
- var N = g, L = [N];
3664
+ var N = g, P = [N];
3656
3665
  if (s.i18nFormat && s.i18nFormat.addLookupKeys)
3657
- s.i18nFormat.addLookupKeys(L, g, E, w, o);
3666
+ s.i18nFormat.addLookupKeys(P, g, E, w, o);
3658
3667
  else {
3659
3668
  var H;
3660
- m && (H = s.pluralResolver.getSuffix(E, o.count)), m && y && L.push(N + H), y && L.push(N += "".concat(s.options.contextSeparator).concat(o.context)), m && L.push(N += H);
3669
+ m && (H = s.pluralResolver.getSuffix(E, o.count)), m && y && P.push(N + H), y && P.push(N += "".concat(s.options.contextSeparator).concat(o.context)), m && P.push(N += H);
3661
3670
  }
3662
- for (var T; T = L.pop(); )
3663
- s.isValidLookup(i) || (c = T, i = s.getResource(E, w, T, o));
3671
+ for (var O; O = P.pop(); )
3672
+ s.isValidLookup(i) || (a = O, i = s.getResource(E, w, O, o));
3664
3673
  }
3665
3674
  }));
3666
3675
  });
3667
3676
  }
3668
3677
  }), {
3669
3678
  res: i,
3670
- usedKey: a,
3671
- exactUsedKey: c,
3679
+ usedKey: c,
3680
+ exactUsedKey: a,
3672
3681
  usedLng: u,
3673
- usedNS: f
3682
+ usedNS: l
3674
3683
  };
3675
3684
  }
3676
3685
  }, {
@@ -3752,8 +3761,8 @@ var Ci = (function() {
3752
3761
  if (!s) {
3753
3762
  var i = r.getLanguagePartFromCode(o);
3754
3763
  if (r.isSupportedCode(i)) return s = i;
3755
- s = r.options.supportedLngs.find(function(a) {
3756
- if (a.indexOf(i) === 0) return a;
3764
+ s = r.options.supportedLngs.find(function(c) {
3765
+ if (c.indexOf(i) === 0) return c;
3757
3766
  });
3758
3767
  }
3759
3768
  }), s || (s = this.getFallbackCodes(this.options.fallbackLng)[0]), s;
@@ -3770,11 +3779,11 @@ var Ci = (function() {
3770
3779
  }, {
3771
3780
  key: "toResolveHierarchy",
3772
3781
  value: function(n, r) {
3773
- var s = this, o = this.getFallbackCodes(r || this.options.fallbackLng || [], n), i = [], a = function(u) {
3782
+ var s = this, o = this.getFallbackCodes(r || this.options.fallbackLng || [], n), i = [], c = function(u) {
3774
3783
  u && (s.isSupportedCode(u) ? i.push(u) : s.logger.warn("rejecting language code not found in supportedLngs: ".concat(u)));
3775
3784
  };
3776
- return typeof n == "string" && n.indexOf("-") > -1 ? (this.options.load !== "languageOnly" && a(this.formatLanguageCode(n)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && a(this.getScriptPartFromCode(n)), this.options.load !== "currentOnly" && a(this.getLanguagePartFromCode(n))) : typeof n == "string" && a(this.formatLanguageCode(n)), o.forEach(function(c) {
3777
- i.indexOf(c) < 0 && a(s.formatLanguageCode(c));
3785
+ return typeof n == "string" && n.indexOf("-") > -1 ? (this.options.load !== "languageOnly" && c(this.formatLanguageCode(n)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && c(this.getScriptPartFromCode(n)), this.options.load !== "currentOnly" && c(this.getLanguagePartFromCode(n))) : typeof n == "string" && c(this.formatLanguageCode(n)), o.forEach(function(a) {
3786
+ i.indexOf(a) < 0 && c(s.formatLanguageCode(a));
3778
3787
  }), i;
3779
3788
  }
3780
3789
  }]), t;
@@ -3949,7 +3958,7 @@ function Ri() {
3949
3958
  });
3950
3959
  }), t;
3951
3960
  }
3952
- var Oi = (function() {
3961
+ var Ti = (function() {
3953
3962
  function t(e) {
3954
3963
  var n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
3955
3964
  ye(this, t), this.languageUtils = e, this.options = n, this.logger = he.create("pluralResolver"), this.rules = Ri();
@@ -3990,17 +3999,17 @@ var Oi = (function() {
3990
3999
  value: function(n, r) {
3991
4000
  var s = this, o = this.getRule(n);
3992
4001
  if (o) {
3993
- var i = o.noAbs ? o.plurals(r) : o.plurals(Math.abs(r)), a = o.numbers[i];
3994
- this.options.simplifyPluralSuffix && o.numbers.length === 2 && o.numbers[0] === 1 && (a === 2 ? a = "plural" : a === 1 && (a = ""));
3995
- var c = function() {
3996
- return s.options.prepend && a.toString() ? s.options.prepend + a.toString() : a.toString();
4002
+ var i = o.noAbs ? o.plurals(r) : o.plurals(Math.abs(r)), c = o.numbers[i];
4003
+ this.options.simplifyPluralSuffix && o.numbers.length === 2 && o.numbers[0] === 1 && (c === 2 ? c = "plural" : c === 1 && (c = ""));
4004
+ var a = function() {
4005
+ return s.options.prepend && c.toString() ? s.options.prepend + c.toString() : c.toString();
3997
4006
  };
3998
- return this.options.compatibilityJSON === "v1" ? a === 1 ? "" : typeof a == "number" ? "_plural_".concat(a.toString()) : c() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && o.numbers.length === 2 && o.numbers[0] === 1 ? c() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
4007
+ return this.options.compatibilityJSON === "v1" ? c === 1 ? "" : typeof c == "number" ? "_plural_".concat(c.toString()) : a() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && o.numbers.length === 2 && o.numbers[0] === 1 ? a() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
3999
4008
  }
4000
4009
  return this.logger.warn("no plural rule found for: ".concat(n)), "";
4001
4010
  }
4002
4011
  }]), t;
4003
- })(), Ti = (function() {
4012
+ })(), Oi = (function() {
4004
4013
  function t() {
4005
4014
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
4006
4015
  ye(this, t), this.logger = he.create("interpolator"), this.options = e, this.format = e.interpolation && e.interpolation.format || function(n) {
@@ -4035,43 +4044,43 @@ var Oi = (function() {
4035
4044
  }, {
4036
4045
  key: "interpolate",
4037
4046
  value: function(n, r, s, o) {
4038
- var i = this, a, c, u, f = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
4039
- function l(y) {
4047
+ var i = this, c, a, u, l = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
4048
+ function f(y) {
4040
4049
  return y.replace(/\$/g, "$$$$");
4041
4050
  }
4042
4051
  var p = function(v) {
4043
4052
  if (v.indexOf(i.formatSeparator) < 0) {
4044
- var w = ar(r, f, v);
4053
+ var w = ar(r, l, v);
4045
4054
  return i.alwaysFormat ? i.format(w, void 0, s) : w;
4046
4055
  }
4047
- var E = v.split(i.formatSeparator), N = E.shift().trim(), L = E.join(i.formatSeparator).trim();
4048
- return i.format(ar(r, f, N), L, s, o);
4056
+ var E = v.split(i.formatSeparator), N = E.shift().trim(), P = E.join(i.formatSeparator).trim();
4057
+ return i.format(ar(r, l, N), P, s, o);
4049
4058
  };
4050
4059
  this.resetRegExp();
4051
4060
  var g = o && o.missingInterpolationHandler || this.options.missingInterpolationHandler, _ = o && o.interpolation && o.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, m = [{
4052
4061
  regex: this.regexpUnescape,
4053
4062
  safeValue: function(v) {
4054
- return l(v);
4063
+ return f(v);
4055
4064
  }
4056
4065
  }, {
4057
4066
  regex: this.regexp,
4058
4067
  safeValue: function(v) {
4059
- return i.escapeValue ? l(i.escape(v)) : l(v);
4068
+ return i.escapeValue ? f(i.escape(v)) : f(v);
4060
4069
  }
4061
4070
  }];
4062
4071
  return m.forEach(function(y) {
4063
- for (u = 0; a = y.regex.exec(n); ) {
4064
- if (c = p(a[1].trim()), c === void 0)
4072
+ for (u = 0; c = y.regex.exec(n); ) {
4073
+ if (a = p(c[1].trim()), a === void 0)
4065
4074
  if (typeof g == "function") {
4066
- var v = g(n, a, o);
4067
- c = typeof v == "string" ? v : "";
4075
+ var v = g(n, c, o);
4076
+ a = typeof v == "string" ? v : "";
4068
4077
  } else if (_) {
4069
- c = a[0];
4078
+ a = c[0];
4070
4079
  continue;
4071
4080
  } else
4072
- i.logger.warn("missed to pass in variable ".concat(a[1], " for interpolating ").concat(n)), c = "";
4073
- else typeof c != "string" && !i.useRawValueToEscape && (c = or(c));
4074
- if (n = n.replace(a[0], y.safeValue(c)), y.regex.lastIndex = 0, u++, u >= i.maxReplaces)
4081
+ i.logger.warn("missed to pass in variable ".concat(c[1], " for interpolating ").concat(n)), a = "";
4082
+ else typeof a != "string" && !i.useRawValueToEscape && (a = or(a));
4083
+ if (n = n.replace(c[0], y.safeValue(a)), y.regex.lastIndex = 0, u++, u >= i.maxReplaces)
4075
4084
  break;
4076
4085
  }
4077
4086
  }), n;
@@ -4079,32 +4088,32 @@ var Oi = (function() {
4079
4088
  }, {
4080
4089
  key: "nest",
4081
4090
  value: function(n, r) {
4082
- var s = this, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i, a, c = J({}, o);
4083
- c.applyPostProcessor = !1, delete c.defaultValue;
4091
+ var s = this, o = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, i, c, a = J({}, o);
4092
+ a.applyPostProcessor = !1, delete a.defaultValue;
4084
4093
  function u(g, _) {
4085
4094
  var m = this.nestingOptionsSeparator;
4086
4095
  if (g.indexOf(m) < 0) return g;
4087
4096
  var y = g.split(new RegExp("".concat(m, "[ ]*{"))), v = "{".concat(y[1]);
4088
- g = y[0], v = this.interpolate(v, c), v = v.replace(/'/g, '"');
4097
+ g = y[0], v = this.interpolate(v, a), v = v.replace(/'/g, '"');
4089
4098
  try {
4090
- c = JSON.parse(v), _ && (c = J({}, _, c));
4099
+ a = JSON.parse(v), _ && (a = J({}, _, a));
4091
4100
  } catch (w) {
4092
4101
  return this.logger.warn("failed parsing options string in nesting for key ".concat(g), w), "".concat(g).concat(m).concat(v);
4093
4102
  }
4094
- return delete c.defaultValue, g;
4103
+ return delete a.defaultValue, g;
4095
4104
  }
4096
4105
  for (; i = this.nestingRegexp.exec(n); ) {
4097
- var f = [], l = !1;
4106
+ var l = [], f = !1;
4098
4107
  if (i[0].includes(this.formatSeparator) && !/{.*}/.test(i[1])) {
4099
4108
  var p = i[1].split(this.formatSeparator).map(function(g) {
4100
4109
  return g.trim();
4101
4110
  });
4102
- i[1] = p.shift(), f = p, l = !0;
4111
+ i[1] = p.shift(), l = p, f = !0;
4103
4112
  }
4104
- if (a = r(u.call(this, i[1].trim(), c), c), a && i[0] === n && typeof a != "string") return a;
4105
- typeof a != "string" && (a = or(a)), a || (this.logger.warn("missed to resolve ".concat(i[1], " for nesting ").concat(n)), a = ""), l && (a = f.reduce(function(g, _) {
4113
+ if (c = r(u.call(this, i[1].trim(), a), a), c && i[0] === n && typeof c != "string") return c;
4114
+ typeof c != "string" && (c = or(c)), c || (this.logger.warn("missed to resolve ".concat(i[1], " for nesting ").concat(n)), c = ""), f && (c = l.reduce(function(g, _) {
4106
4115
  return s.format(g, _, o.lng, o);
4107
- }, a.trim())), n = n.replace(i[0], a), this.regexp.lastIndex = 0;
4116
+ }, c.trim())), n = n.replace(i[0], c), this.regexp.lastIndex = 0;
4108
4117
  }
4109
4118
  return n;
4110
4119
  }
@@ -4123,66 +4132,66 @@ var Fi = (function(t) {
4123
4132
  return be(e, [{
4124
4133
  key: "queueLoad",
4125
4134
  value: function(r, s, o, i) {
4126
- var a = this, c = [], u = [], f = [], l = [];
4135
+ var c = this, a = [], u = [], l = [], f = [];
4127
4136
  return r.forEach(function(p) {
4128
4137
  var g = !0;
4129
4138
  s.forEach(function(_) {
4130
4139
  var m = "".concat(p, "|").concat(_);
4131
- !o.reload && a.store.hasResourceBundle(p, _) ? a.state[m] = 2 : a.state[m] < 0 || (a.state[m] === 1 ? u.indexOf(m) < 0 && u.push(m) : (a.state[m] = 1, g = !1, u.indexOf(m) < 0 && u.push(m), c.indexOf(m) < 0 && c.push(m), l.indexOf(_) < 0 && l.push(_)));
4132
- }), g || f.push(p);
4133
- }), (c.length || u.length) && this.queue.push({
4140
+ !o.reload && c.store.hasResourceBundle(p, _) ? c.state[m] = 2 : c.state[m] < 0 || (c.state[m] === 1 ? u.indexOf(m) < 0 && u.push(m) : (c.state[m] = 1, g = !1, u.indexOf(m) < 0 && u.push(m), a.indexOf(m) < 0 && a.push(m), f.indexOf(_) < 0 && f.push(_)));
4141
+ }), g || l.push(p);
4142
+ }), (a.length || u.length) && this.queue.push({
4134
4143
  pending: u,
4135
4144
  loaded: {},
4136
4145
  errors: [],
4137
4146
  callback: i
4138
4147
  }), {
4139
- toLoad: c,
4148
+ toLoad: a,
4140
4149
  pending: u,
4141
- toLoadLanguages: f,
4142
- toLoadNamespaces: l
4150
+ toLoadLanguages: l,
4151
+ toLoadNamespaces: f
4143
4152
  };
4144
4153
  }
4145
4154
  }, {
4146
4155
  key: "loaded",
4147
4156
  value: function(r, s, o) {
4148
- var i = r.split("|"), a = i[0], c = i[1];
4149
- s && this.emit("failedLoading", a, c, s), o && this.store.addResourceBundle(a, c, o), this.state[r] = s ? -1 : 2;
4157
+ var i = r.split("|"), c = i[0], a = i[1];
4158
+ s && this.emit("failedLoading", c, a, s), o && this.store.addResourceBundle(c, a, o), this.state[r] = s ? -1 : 2;
4150
4159
  var u = {};
4151
- this.queue.forEach(function(f) {
4152
- vi(f.loaded, [a], c), Ii(f.pending, r), s && f.errors.push(s), f.pending.length === 0 && !f.done && (Object.keys(f.loaded).forEach(function(l) {
4153
- u[l] || (u[l] = []), f.loaded[l].length && f.loaded[l].forEach(function(p) {
4154
- u[l].indexOf(p) < 0 && u[l].push(p);
4160
+ this.queue.forEach(function(l) {
4161
+ vi(l.loaded, [c], a), Ii(l.pending, r), s && l.errors.push(s), l.pending.length === 0 && !l.done && (Object.keys(l.loaded).forEach(function(f) {
4162
+ u[f] || (u[f] = []), l.loaded[f].length && l.loaded[f].forEach(function(p) {
4163
+ u[f].indexOf(p) < 0 && u[f].push(p);
4155
4164
  });
4156
- }), f.done = !0, f.errors.length ? f.callback(f.errors) : f.callback());
4157
- }), this.emit("loaded", u), this.queue = this.queue.filter(function(f) {
4158
- return !f.done;
4165
+ }), l.done = !0, l.errors.length ? l.callback(l.errors) : l.callback());
4166
+ }), this.emit("loaded", u), this.queue = this.queue.filter(function(l) {
4167
+ return !l.done;
4159
4168
  });
4160
4169
  }
4161
4170
  }, {
4162
4171
  key: "read",
4163
4172
  value: function(r, s, o) {
4164
- var i = this, a = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, c = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 350, u = arguments.length > 5 ? arguments[5] : void 0;
4165
- return r.length ? this.backend[o](r, s, function(f, l) {
4166
- if (f && l && a < 5) {
4173
+ var i = this, c = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, a = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : 350, u = arguments.length > 5 ? arguments[5] : void 0;
4174
+ return r.length ? this.backend[o](r, s, function(l, f) {
4175
+ if (l && f && c < 5) {
4167
4176
  setTimeout(function() {
4168
- i.read.call(i, r, s, o, a + 1, c * 2, u);
4169
- }, c);
4177
+ i.read.call(i, r, s, o, c + 1, a * 2, u);
4178
+ }, a);
4170
4179
  return;
4171
4180
  }
4172
- u(f, l);
4181
+ u(l, f);
4173
4182
  }) : u(null, {});
4174
4183
  }
4175
4184
  }, {
4176
4185
  key: "prepareLoading",
4177
4186
  value: function(r, s) {
4178
- var o = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, a = arguments.length > 3 ? arguments[3] : void 0;
4187
+ var o = this, i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, c = arguments.length > 3 ? arguments[3] : void 0;
4179
4188
  if (!this.backend)
4180
- return this.logger.warn("No backend was added via i18next.use. Will not load resources."), a && a();
4189
+ return this.logger.warn("No backend was added via i18next.use. Will not load resources."), c && c();
4181
4190
  typeof r == "string" && (r = this.languageUtils.toResolveHierarchy(r)), typeof s == "string" && (s = [s]);
4182
- var c = this.queueLoad(r, s, i, a);
4183
- if (!c.toLoad.length)
4184
- return c.pending.length || a(), null;
4185
- c.toLoad.forEach(function(u) {
4191
+ var a = this.queueLoad(r, s, i, c);
4192
+ if (!a.toLoad.length)
4193
+ return a.pending.length || c(), null;
4194
+ a.toLoad.forEach(function(u) {
4186
4195
  o.loadOne(u);
4187
4196
  });
4188
4197
  }
@@ -4201,21 +4210,21 @@ var Fi = (function(t) {
4201
4210
  }, {
4202
4211
  key: "loadOne",
4203
4212
  value: function(r) {
4204
- var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = r.split("|"), a = i[0], c = i[1];
4205
- this.read(a, c, "read", void 0, void 0, function(u, f) {
4206
- u && s.logger.warn("".concat(o, "loading namespace ").concat(c, " for language ").concat(a, " failed"), u), !u && f && s.logger.log("".concat(o, "loaded namespace ").concat(c, " for language ").concat(a), f), s.loaded(r, u, f);
4213
+ var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", i = r.split("|"), c = i[0], a = i[1];
4214
+ this.read(c, a, "read", void 0, void 0, function(u, l) {
4215
+ u && s.logger.warn("".concat(o, "loading namespace ").concat(a, " for language ").concat(c, " failed"), u), !u && l && s.logger.log("".concat(o, "loaded namespace ").concat(a, " for language ").concat(c), l), s.loaded(r, u, l);
4207
4216
  });
4208
4217
  }
4209
4218
  }, {
4210
4219
  key: "saveMissing",
4211
- value: function(r, s, o, i, a) {
4212
- var c = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
4220
+ value: function(r, s, o, i, c) {
4221
+ var a = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {};
4213
4222
  if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(s)) {
4214
4223
  this.logger.warn('did not save key "'.concat(o, '" as the namespace "').concat(s, '" was not yet loaded'), "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
4215
4224
  return;
4216
4225
  }
4217
- o == null || o === "" || (this.backend && this.backend.create && this.backend.create(r, s, o, i, null, J({}, c, {
4218
- isUpdate: a
4226
+ o == null || o === "" || (this.backend && this.backend.create && this.backend.create(r, s, o, i, null, J({}, a, {
4227
+ isUpdate: c
4219
4228
  })), !(!r || !r[0]) && this.store.addResource(r[0], s, o, i));
4220
4229
  }
4221
4230
  }]), e;
@@ -4313,20 +4322,20 @@ var Ni = (function(t) {
4313
4322
  }
4314
4323
  if (!this.options.isClone) {
4315
4324
  this.modules.logger ? he.init(i(this.modules.logger), this.options) : he.init(null, this.options);
4316
- var a = new Ci(this.options);
4325
+ var c = new Ci(this.options);
4317
4326
  this.store = new Si(this.options.resources, this.options);
4318
- var c = this.services;
4319
- c.logger = he, c.resourceStore = this.store, c.languageUtils = a, c.pluralResolver = new Oi(a, {
4327
+ var a = this.services;
4328
+ a.logger = he, a.resourceStore = this.store, a.languageUtils = c, a.pluralResolver = new Ti(c, {
4320
4329
  prepend: this.options.pluralSeparator,
4321
4330
  compatibilityJSON: this.options.compatibilityJSON,
4322
4331
  simplifyPluralSuffix: this.options.simplifyPluralSuffix
4323
- }), c.interpolator = new Ti(this.options), c.utils = {
4332
+ }), a.interpolator = new Oi(this.options), a.utils = {
4324
4333
  hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
4325
- }, c.backendConnector = new Fi(i(this.modules.backend), c.resourceStore, c, this.options), c.backendConnector.on("*", function(_) {
4334
+ }, a.backendConnector = new Fi(i(this.modules.backend), a.resourceStore, a, this.options), a.backendConnector.on("*", function(_) {
4326
4335
  for (var m = arguments.length, y = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
4327
4336
  y[v - 1] = arguments[v];
4328
4337
  r.emit.apply(r, [_].concat(y));
4329
- }), this.modules.languageDetector && (c.languageDetector = i(this.modules.languageDetector), c.languageDetector.init(c, this.options.detection, this.options)), this.modules.i18nFormat && (c.i18nFormat = i(this.modules.i18nFormat), c.i18nFormat.init && c.i18nFormat.init(this)), this.translator = new ur(this.services, this.options), this.translator.on("*", function(_) {
4338
+ }), this.modules.languageDetector && (a.languageDetector = i(this.modules.languageDetector), a.languageDetector.init(a, this.options.detection, this.options)), this.modules.i18nFormat && (a.i18nFormat = i(this.modules.i18nFormat), a.i18nFormat.init && a.i18nFormat.init(this)), this.translator = new ur(this.services, this.options), this.translator.on("*", function(_) {
4330
4339
  for (var m = arguments.length, y = new Array(m > 1 ? m - 1 : 0), v = 1; v < m; v++)
4331
4340
  y[v - 1] = arguments[v];
4332
4341
  r.emit.apply(r, [_].concat(y));
@@ -4339,15 +4348,15 @@ var Ni = (function(t) {
4339
4348
  u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]);
4340
4349
  }
4341
4350
  !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined");
4342
- var f = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
4343
- f.forEach(function(_) {
4351
+ var l = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
4352
+ l.forEach(function(_) {
4344
4353
  r[_] = function() {
4345
4354
  var m;
4346
4355
  return (m = r.store)[_].apply(m, arguments);
4347
4356
  };
4348
4357
  });
4349
- var l = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
4350
- l.forEach(function(_) {
4358
+ var f = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
4359
+ f.forEach(function(_) {
4351
4360
  r[_] = function() {
4352
4361
  var m;
4353
4362
  return (m = r.store)[_].apply(m, arguments), r;
@@ -4365,28 +4374,28 @@ var Ni = (function(t) {
4365
4374
  }, {
4366
4375
  key: "loadResources",
4367
4376
  value: function(r) {
4368
- var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : mt, i = o, a = typeof r == "string" ? r : this.language;
4377
+ var s = this, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : mt, i = o, c = typeof r == "string" ? r : this.language;
4369
4378
  if (typeof r == "function" && (i = r), !this.options.resources || this.options.partialBundledLanguages) {
4370
- if (a && a.toLowerCase() === "cimode") return i();
4371
- var c = [], u = function(p) {
4379
+ if (c && c.toLowerCase() === "cimode") return i();
4380
+ var a = [], u = function(p) {
4372
4381
  if (p) {
4373
4382
  var g = s.services.languageUtils.toResolveHierarchy(p);
4374
4383
  g.forEach(function(_) {
4375
- c.indexOf(_) < 0 && c.push(_);
4384
+ a.indexOf(_) < 0 && a.push(_);
4376
4385
  });
4377
4386
  }
4378
4387
  };
4379
- if (a)
4380
- u(a);
4388
+ if (c)
4389
+ u(c);
4381
4390
  else {
4382
- var f = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
4383
- f.forEach(function(l) {
4384
- return u(l);
4391
+ var l = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
4392
+ l.forEach(function(f) {
4393
+ return u(f);
4385
4394
  });
4386
4395
  }
4387
- this.options.preload && this.options.preload.forEach(function(l) {
4388
- return u(l);
4389
- }), this.services.backendConnector.load(c, this.options.ns, i);
4396
+ this.options.preload && this.options.preload.forEach(function(f) {
4397
+ return u(f);
4398
+ }), this.services.backendConnector.load(a, this.options.ns, i);
4390
4399
  } else
4391
4400
  i(null);
4392
4401
  }
@@ -4394,8 +4403,8 @@ var Ni = (function(t) {
4394
4403
  key: "reloadResources",
4395
4404
  value: function(r, s, o) {
4396
4405
  var i = Xe();
4397
- return r || (r = this.languages), s || (s = this.options.ns), o || (o = mt), this.services.backendConnector.reload(r, s, function(a) {
4398
- i.resolve(), o(a);
4406
+ return r || (r = this.languages), s || (s = this.options.ns), o || (o = mt), this.services.backendConnector.reload(r, s, function(c) {
4407
+ i.resolve(), o(c);
4399
4408
  }), i;
4400
4409
  }
4401
4410
  }, {
@@ -4412,32 +4421,32 @@ var Ni = (function(t) {
4412
4421
  this.isLanguageChangingTo = r;
4413
4422
  var i = Xe();
4414
4423
  this.emit("languageChanging", r);
4415
- var a = function(f, l) {
4416
- l ? (o.language = l, o.languages = o.services.languageUtils.toResolveHierarchy(l), o.translator.changeLanguage(l), o.isLanguageChangingTo = void 0, o.emit("languageChanged", l), o.logger.log("languageChanged", l)) : o.isLanguageChangingTo = void 0, i.resolve(function() {
4424
+ var c = function(l, f) {
4425
+ f ? (o.language = f, o.languages = o.services.languageUtils.toResolveHierarchy(f), o.translator.changeLanguage(f), o.isLanguageChangingTo = void 0, o.emit("languageChanged", f), o.logger.log("languageChanged", f)) : o.isLanguageChangingTo = void 0, i.resolve(function() {
4417
4426
  return o.t.apply(o, arguments);
4418
- }), s && s(f, function() {
4427
+ }), s && s(l, function() {
4419
4428
  return o.t.apply(o, arguments);
4420
4429
  });
4421
- }, c = function(f) {
4422
- var l = typeof f == "string" ? f : o.services.languageUtils.getBestMatchFromCodes(f);
4423
- l && (o.language || (o.language = l, o.languages = o.services.languageUtils.toResolveHierarchy(l)), o.translator.language || o.translator.changeLanguage(l), o.services.languageDetector && o.services.languageDetector.cacheUserLanguage(l)), o.loadResources(l, function(p) {
4424
- a(p, l);
4430
+ }, a = function(l) {
4431
+ var f = typeof l == "string" ? l : o.services.languageUtils.getBestMatchFromCodes(l);
4432
+ f && (o.language || (o.language = f, o.languages = o.services.languageUtils.toResolveHierarchy(f)), o.translator.language || o.translator.changeLanguage(f), o.services.languageDetector && o.services.languageDetector.cacheUserLanguage(f)), o.loadResources(f, function(p) {
4433
+ c(p, f);
4425
4434
  });
4426
4435
  };
4427
- return !r && this.services.languageDetector && !this.services.languageDetector.async ? c(this.services.languageDetector.detect()) : !r && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect(c) : c(r), i;
4436
+ return !r && this.services.languageDetector && !this.services.languageDetector.async ? a(this.services.languageDetector.detect()) : !r && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect(a) : a(r), i;
4428
4437
  }
4429
4438
  }, {
4430
4439
  key: "getFixedT",
4431
4440
  value: function(r, s) {
4432
- var o = this, i = function a(c, u) {
4433
- var f;
4441
+ var o = this, i = function c(a, u) {
4442
+ var l;
4434
4443
  if (ce(u) !== "object") {
4435
- for (var l = arguments.length, p = new Array(l > 2 ? l - 2 : 0), g = 2; g < l; g++)
4444
+ for (var f = arguments.length, p = new Array(f > 2 ? f - 2 : 0), g = 2; g < f; g++)
4436
4445
  p[g - 2] = arguments[g];
4437
- f = o.options.overloadTranslationOptionHandler([c, u].concat(p));
4446
+ l = o.options.overloadTranslationOptionHandler([a, u].concat(p));
4438
4447
  } else
4439
- f = J({}, u);
4440
- return f.lng = f.lng || a.lng, f.lngs = f.lngs || a.lngs, f.ns = f.ns || a.ns, o.t(c, f);
4448
+ l = J({}, u);
4449
+ return l.lng = l.lng || c.lng, l.lngs = l.lngs || c.lngs, l.ns = l.ns || c.ns, o.t(a, l);
4441
4450
  };
4442
4451
  return typeof r == "string" ? i.lng = r : i.lngs = r, i.ns = s, i;
4443
4452
  }
@@ -4466,26 +4475,26 @@ var Ni = (function(t) {
4466
4475
  return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
4467
4476
  if (!this.languages || !this.languages.length)
4468
4477
  return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
4469
- var i = this.languages[0], a = this.options ? this.options.fallbackLng : !1, c = this.languages[this.languages.length - 1];
4478
+ var i = this.languages[0], c = this.options ? this.options.fallbackLng : !1, a = this.languages[this.languages.length - 1];
4470
4479
  if (i.toLowerCase() === "cimode") return !0;
4471
4480
  var u = function(p, g) {
4472
4481
  var _ = s.services.backendConnector.state["".concat(p, "|").concat(g)];
4473
4482
  return _ === -1 || _ === 2;
4474
4483
  };
4475
4484
  if (o.precheck) {
4476
- var f = o.precheck(this, u);
4477
- if (f !== void 0) return f;
4485
+ var l = o.precheck(this, u);
4486
+ if (l !== void 0) return l;
4478
4487
  }
4479
- return !!(this.hasResourceBundle(i, r) || !this.services.backendConnector.backend || u(i, r) && (!a || u(c, r)));
4488
+ return !!(this.hasResourceBundle(i, r) || !this.services.backendConnector.backend || u(i, r) && (!c || u(a, r)));
4480
4489
  }
4481
4490
  }, {
4482
4491
  key: "loadNamespaces",
4483
4492
  value: function(r, s) {
4484
4493
  var o = this, i = Xe();
4485
- return this.options.ns ? (typeof r == "string" && (r = [r]), r.forEach(function(a) {
4486
- o.options.ns.indexOf(a) < 0 && o.options.ns.push(a);
4487
- }), this.loadResources(function(a) {
4488
- i.resolve(), s && s(a);
4494
+ return this.options.ns ? (typeof r == "string" && (r = [r]), r.forEach(function(c) {
4495
+ o.options.ns.indexOf(c) < 0 && o.options.ns.push(c);
4496
+ }), this.loadResources(function(c) {
4497
+ i.resolve(), s && s(c);
4489
4498
  }), i) : (s && s(), Promise.resolve());
4490
4499
  }
4491
4500
  }, {
@@ -4493,11 +4502,11 @@ var Ni = (function(t) {
4493
4502
  value: function(r, s) {
4494
4503
  var o = Xe();
4495
4504
  typeof r == "string" && (r = [r]);
4496
- var i = this.options.preload || [], a = r.filter(function(c) {
4497
- return i.indexOf(c) < 0;
4505
+ var i = this.options.preload || [], c = r.filter(function(a) {
4506
+ return i.indexOf(a) < 0;
4498
4507
  });
4499
- return a.length ? (this.options.preload = i.concat(a), this.loadResources(function(c) {
4500
- o.resolve(), s && s(c);
4508
+ return c.length ? (this.options.preload = i.concat(c), this.loadResources(function(a) {
4509
+ o.resolve(), s && s(a);
4501
4510
  }), o) : (s && s(), Promise.resolve());
4502
4511
  }
4503
4512
  }, {
@@ -4518,18 +4527,18 @@ var Ni = (function(t) {
4518
4527
  value: function() {
4519
4528
  var r = this, s = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, o = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : mt, i = J({}, this.options, s, {
4520
4529
  isClone: !0
4521
- }), a = new e(i), c = ["store", "services", "language"];
4522
- return c.forEach(function(u) {
4523
- a[u] = r[u];
4524
- }), a.services = J({}, this.services), a.services.utils = {
4525
- hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
4526
- }, a.translator = new ur(a.services, a.options), a.translator.on("*", function(u) {
4527
- for (var f = arguments.length, l = new Array(f > 1 ? f - 1 : 0), p = 1; p < f; p++)
4528
- l[p - 1] = arguments[p];
4529
- a.emit.apply(a, [u].concat(l));
4530
- }), a.init(i, o), a.translator.options = a.options, a.translator.backendConnector.services.utils = {
4531
- hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
4532
- }, a;
4530
+ }), c = new e(i), a = ["store", "services", "language"];
4531
+ return a.forEach(function(u) {
4532
+ c[u] = r[u];
4533
+ }), c.services = J({}, this.services), c.services.utils = {
4534
+ hasLoadedNamespace: c.hasLoadedNamespace.bind(c)
4535
+ }, c.translator = new ur(c.services, c.options), c.translator.on("*", function(u) {
4536
+ for (var l = arguments.length, f = new Array(l > 1 ? l - 1 : 0), p = 1; p < l; p++)
4537
+ f[p - 1] = arguments[p];
4538
+ c.emit.apply(c, [u].concat(f));
4539
+ }), c.init(i, o), c.translator.options = c.options, c.translator.backendConnector.services.utils = {
4540
+ hasLoadedNamespace: c.hasLoadedNamespace.bind(c)
4541
+ }, c;
4533
4542
  }
4534
4543
  }]), e;
4535
4544
  })(Ce), $e = new Ni();
@@ -4540,7 +4549,7 @@ function Ai() {
4540
4549
  return !1;
4541
4550
  }
4542
4551
  }
4543
- const kn = Ai(), Pi = {
4552
+ const kn = Ai(), Li = {
4544
4553
  de: "Deutsch",
4545
4554
  en: "English",
4546
4555
  es: "Español",
@@ -4561,12 +4570,12 @@ const kn = Ai(), Pi = {
4561
4570
  kk: "Қазақша",
4562
4571
  pl: "Polski",
4563
4572
  mn: "Монгол"
4564
- }, vs = async (t) => await ci(`${ae}locales/${t}.json`), Li = () => {
4573
+ }, vs = async (t) => await ci(`${ae}locales/${t}.json`), Pi = () => {
4565
4574
  var s;
4566
- const t = window.__data, e = ((s = navigator.languages) == null ? void 0 : s[0]) || navigator.language, n = Object.keys(Pi).find((o) => e.startsWith(o));
4575
+ const t = window.__data, e = ((s = navigator.languages) == null ? void 0 : s[0]) || navigator.language, n = Object.keys(Li).find((o) => e.startsWith(o));
4567
4576
  return (kn ? localStorage.getItem("language") : null) || (t == null ? void 0 : t.locale) || n || "en";
4568
4577
  }, Di = async () => {
4569
- let t = Li();
4578
+ let t = Pi();
4570
4579
  const e = "en";
4571
4580
  let n = {};
4572
4581
  if (t !== "en")
@@ -4648,13 +4657,13 @@ const zi = [
4648
4657
  "log",
4649
4658
  "assert",
4650
4659
  "trace"
4651
- ], Gi = "Sentry Logger ", Ot = {};
4660
+ ], Gi = "Sentry Logger ", Tt = {};
4652
4661
  function Ye(t) {
4653
4662
  if (!("console" in B))
4654
4663
  return t();
4655
- const e = B.console, n = {}, r = Object.keys(Ot);
4664
+ const e = B.console, n = {}, r = Object.keys(Tt);
4656
4665
  r.forEach((s) => {
4657
- const o = Ot[s];
4666
+ const o = Tt[s];
4658
4667
  n[s] = e[s], e[s] = o;
4659
4668
  });
4660
4669
  try {
@@ -4666,13 +4675,13 @@ function Ye(t) {
4666
4675
  }
4667
4676
  }
4668
4677
  function Yi() {
4669
- On().enabled = !0;
4678
+ Tn().enabled = !0;
4670
4679
  }
4671
4680
  function qi() {
4672
- On().enabled = !1;
4681
+ Tn().enabled = !1;
4673
4682
  }
4674
4683
  function ws() {
4675
- return On().enabled;
4684
+ return Tn().enabled;
4676
4685
  }
4677
4686
  function Ki(...t) {
4678
4687
  Rn("log", ...t);
@@ -4688,7 +4697,7 @@ function Rn(t, ...e) {
4688
4697
  B.console[t](`${Gi}[${t}]:`, ...e);
4689
4698
  });
4690
4699
  }
4691
- function On() {
4700
+ function Tn() {
4692
4701
  return M ? Ge("loggerSettings", () => ({ enabled: !1 })) : { enabled: !1 };
4693
4702
  }
4694
4703
  const x = {
@@ -4710,15 +4719,15 @@ function Ss(...t) {
4710
4719
  return (n, r = 0, s = 0) => {
4711
4720
  const o = [], i = n.split(`
4712
4721
  `);
4713
- for (let a = r; a < i.length; a++) {
4714
- let c = i[a];
4715
- c.length > 1024 && (c = c.slice(0, 1024));
4716
- const u = dr.test(c) ? c.replace(dr, "$1") : c;
4722
+ for (let c = r; c < i.length; c++) {
4723
+ let a = i[c];
4724
+ a.length > 1024 && (a = a.slice(0, 1024));
4725
+ const u = dr.test(a) ? a.replace(dr, "$1") : a;
4717
4726
  if (!u.match(/\S*Error: /)) {
4718
- for (const f of e) {
4719
- const l = f(u);
4720
- if (l) {
4721
- o.push(l);
4727
+ for (const l of e) {
4728
+ const f = l(u);
4729
+ if (f) {
4730
+ o.push(f);
4722
4731
  break;
4723
4732
  }
4724
4733
  }
@@ -4773,7 +4782,7 @@ const wt = {}, gr = {};
4773
4782
  function Ae(t, e) {
4774
4783
  wt[t] = wt[t] || [], wt[t].push(e);
4775
4784
  }
4776
- function Pe(t, e) {
4785
+ function Le(t, e) {
4777
4786
  if (!gr[t]) {
4778
4787
  gr[t] = !0;
4779
4788
  try {
@@ -4802,7 +4811,7 @@ Error:`,
4802
4811
  let Kt = null;
4803
4812
  function ea(t) {
4804
4813
  const e = "error";
4805
- Ae(e, t), Pe(e, ta);
4814
+ Ae(e, t), Le(e, ta);
4806
4815
  }
4807
4816
  function ta() {
4808
4817
  Kt = B.onerror, B.onerror = function(t, e, n, r, s) {
@@ -4818,7 +4827,7 @@ function ta() {
4818
4827
  let Jt = null;
4819
4828
  function na(t) {
4820
4829
  const e = "unhandledrejection";
4821
- Ae(e, t), Pe(e, ra);
4830
+ Ae(e, t), Le(e, ra);
4822
4831
  }
4823
4832
  function ra() {
4824
4833
  Jt = B.onunhandledrejection, B.onunhandledrejection = function(t) {
@@ -4826,7 +4835,7 @@ function ra() {
4826
4835
  }, B.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
4827
4836
  }
4828
4837
  const xs = Object.prototype.toString;
4829
- function Pt(t) {
4838
+ function Lt(t) {
4830
4839
  switch (xs.call(t)) {
4831
4840
  case "[object Error]":
4832
4841
  case "[object Exception]":
@@ -4852,11 +4861,11 @@ function sa(t) {
4852
4861
  function ge(t) {
4853
4862
  return qe(t, "String");
4854
4863
  }
4855
- function Tn(t) {
4864
+ function On(t) {
4856
4865
  return typeof t == "object" && t !== null && "__sentry_template_string__" in t && "__sentry_template_values__" in t;
4857
4866
  }
4858
- function Lt(t) {
4859
- return t === null || Tn(t) || typeof t != "object" && typeof t != "function";
4867
+ function Pt(t) {
4868
+ return t === null || On(t) || typeof t != "object" && typeof t != "function";
4860
4869
  }
4861
4870
  function rt(t) {
4862
4871
  return qe(t, "Object");
@@ -4886,23 +4895,23 @@ function ke(t, e) {
4886
4895
  function Rs(t) {
4887
4896
  return !!(typeof t == "object" && t !== null && (t.__isVue || t._isVue || t.__v_isVNode));
4888
4897
  }
4889
- function Os(t) {
4898
+ function Ts(t) {
4890
4899
  return typeof Request < "u" && ke(t, Request);
4891
4900
  }
4892
4901
  const In = B, ca = 80;
4893
- function Ts(t, e = {}) {
4902
+ function Os(t, e = {}) {
4894
4903
  if (!t)
4895
4904
  return "<unknown>";
4896
4905
  try {
4897
4906
  let n = t;
4898
4907
  const r = 5, s = [];
4899
4908
  let o = 0, i = 0;
4900
- const a = " > ", c = a.length;
4909
+ const c = " > ", a = c.length;
4901
4910
  let u;
4902
- const f = Array.isArray(e) ? e : e.keyAttrs, l = !Array.isArray(e) && e.maxStringLength || ca;
4903
- for (; n && o++ < r && (u = ua(n, f), !(u === "html" || o > 1 && i + s.length * c + u.length >= l)); )
4911
+ const l = Array.isArray(e) ? e : e.keyAttrs, f = !Array.isArray(e) && e.maxStringLength || ca;
4912
+ for (; n && o++ < r && (u = ua(n, l), !(u === "html" || o > 1 && i + s.length * a + u.length >= f)); )
4904
4913
  s.push(u), i += u.length, n = n.parentNode;
4905
- return s.reverse().join(a);
4914
+ return s.reverse().join(c);
4906
4915
  } catch {
4907
4916
  return "<unknown>";
4908
4917
  }
@@ -4927,15 +4936,15 @@ function ua(t, e) {
4927
4936
  n.id && r.push(`#${n.id}`);
4928
4937
  const i = n.className;
4929
4938
  if (i && ge(i)) {
4930
- const a = i.split(/\s+/);
4931
- for (const c of a)
4932
- r.push(`.${c}`);
4939
+ const c = i.split(/\s+/);
4940
+ for (const a of c)
4941
+ r.push(`.${a}`);
4933
4942
  }
4934
4943
  }
4935
4944
  const o = ["aria-label", "type", "name", "title", "alt"];
4936
4945
  for (const i of o) {
4937
- const a = n.getAttribute(i);
4938
- a && r.push(`[${i}="${a}"]`);
4946
+ const c = n.getAttribute(i);
4947
+ c && r.push(`[${i}="${c}"]`);
4939
4948
  }
4940
4949
  return r.join("");
4941
4950
  }
@@ -5001,7 +5010,7 @@ function Mn(t) {
5001
5010
  return t.__sentry_original__;
5002
5011
  }
5003
5012
  function Fs(t) {
5004
- if (Pt(t))
5013
+ if (Lt(t))
5005
5014
  return {
5006
5015
  message: t.message,
5007
5016
  name: t.name,
@@ -5021,7 +5030,7 @@ function Fs(t) {
5021
5030
  }
5022
5031
  function yr(t) {
5023
5032
  try {
5024
- return oa(t) ? Ts(t) : Object.prototype.toString.call(t);
5033
+ return oa(t) ? Os(t) : Object.prototype.toString.call(t);
5025
5034
  } catch {
5026
5035
  return "<unknown>";
5027
5036
  }
@@ -5046,7 +5055,7 @@ function Bt(t) {
5046
5055
  const e = /* @__PURE__ */ Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"), n = B;
5047
5056
  return e in n && typeof n[e] == "function" ? (Be = n[e], Be(t)) : (Be = null, t());
5048
5057
  }
5049
- function Tt() {
5058
+ function Ot() {
5050
5059
  return Bt(() => Math.random());
5051
5060
  }
5052
5061
  function jt() {
@@ -5081,7 +5090,7 @@ function da() {
5081
5090
  }
5082
5091
  let Xt;
5083
5092
  function pa() {
5084
- return Tt() * 16;
5093
+ return Ot() * 16;
5085
5094
  }
5086
5095
  function ie(t = da()) {
5087
5096
  try {
@@ -5101,7 +5110,7 @@ function Ms(t) {
5101
5110
  var e, n;
5102
5111
  return (n = (e = t.exception) == null ? void 0 : e.values) == null ? void 0 : n[0];
5103
5112
  }
5104
- function Te(t) {
5113
+ function Oe(t) {
5105
5114
  const { message: e, event_id: n } = t;
5106
5115
  if (e)
5107
5116
  return e;
@@ -5256,7 +5265,7 @@ class le {
5256
5265
  constructor() {
5257
5266
  this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._attributes = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = {
5258
5267
  traceId: wr(),
5259
- sampleRand: Tt()
5268
+ sampleRand: Ot()
5260
5269
  };
5261
5270
  }
5262
5271
  /**
@@ -5483,13 +5492,13 @@ class le {
5483
5492
  tags: s,
5484
5493
  attributes: o,
5485
5494
  extra: i,
5486
- user: a,
5487
- contexts: c,
5495
+ user: c,
5496
+ contexts: a,
5488
5497
  level: u,
5489
- fingerprint: f = [],
5490
- propagationContext: l
5498
+ fingerprint: l = [],
5499
+ propagationContext: f
5491
5500
  } = r || {};
5492
- return this._tags = { ...this._tags, ...s }, this._attributes = { ...this._attributes, ...o }, this._extra = { ...this._extra, ...i }, this._contexts = { ...this._contexts, ...c }, a && Object.keys(a).length && (this._user = a), u && (this._level = u), f.length && (this._fingerprint = f), l && (this._propagationContext = l), this;
5501
+ return this._tags = { ...this._tags, ...s }, this._attributes = { ...this._attributes, ...o }, this._extra = { ...this._extra, ...i }, this._contexts = { ...this._contexts, ...a }, c && Object.keys(c).length && (this._user = c), u && (this._level = u), l.length && (this._fingerprint = l), f && (this._propagationContext = f), this;
5493
5502
  }
5494
5503
  /**
5495
5504
  * Clears the current scope and resets its properties.
@@ -5498,7 +5507,7 @@ class le {
5498
5507
  clear() {
5499
5508
  return this._breadcrumbs = [], this._tags = {}, this._attributes = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._session = void 0, Er(this, void 0), this._attachments = [], this.setPropagationContext({
5500
5509
  traceId: wr(),
5501
- sampleRand: Tt()
5510
+ sampleRand: Ot()
5502
5511
  }), this._notifyScopeListeners(), this;
5503
5512
  }
5504
5513
  /**
@@ -5743,7 +5752,7 @@ function Nn(t) {
5743
5752
  const e = At(t);
5744
5753
  return e.acs ? e.acs : xa();
5745
5754
  }
5746
- function Oe() {
5755
+ function Te() {
5747
5756
  const t = Nt();
5748
5757
  return Nn(t).getCurrentScope();
5749
5758
  }
@@ -5763,16 +5772,16 @@ function Ra(...t) {
5763
5772
  return n.withScope(t[0]);
5764
5773
  }
5765
5774
  function X() {
5766
- return Oe().getClient();
5775
+ return Te().getClient();
5767
5776
  }
5768
- function Oa(t) {
5777
+ function Ta(t) {
5769
5778
  const e = t.getPropagationContext(), { traceId: n, parentSpanId: r, propagationSpanId: s } = e, o = {
5770
5779
  trace_id: n,
5771
5780
  span_id: s || As()
5772
5781
  };
5773
5782
  return r && (o.parent_span_id = r), o;
5774
5783
  }
5775
- const Ta = "sentry.source", Ia = "sentry.sample_rate", Fa = "sentry.previous_trace_sample_rate", Ma = "sentry.op", Na = "sentry.origin", Ps = "sentry.profile_id", Ls = "sentry.exclusive_time", Aa = 0, Pa = 1, La = "_sentryScope", Da = "_sentryIsolationScope";
5784
+ const Oa = "sentry.source", Ia = "sentry.sample_rate", Fa = "sentry.previous_trace_sample_rate", Ma = "sentry.op", Na = "sentry.origin", Ls = "sentry.profile_id", Ps = "sentry.exclusive_time", Aa = 0, La = 1, Pa = "_sentryScope", Da = "_sentryIsolationScope";
5776
5785
  function Ba(t) {
5777
5786
  if (t) {
5778
5787
  if (typeof t == "object" && "deref" in t && typeof t.deref == "function")
@@ -5787,7 +5796,7 @@ function Ba(t) {
5787
5796
  function Ds(t) {
5788
5797
  const e = t;
5789
5798
  return {
5790
- scope: e[La],
5799
+ scope: e[Pa],
5791
5800
  isolationScope: Ba(e[Da])
5792
5801
  };
5793
5802
  }
@@ -5835,8 +5844,8 @@ function za(t) {
5835
5844
  return t === "http" || t === "https";
5836
5845
  }
5837
5846
  function Ke(t, e = !1) {
5838
- const { host: n, path: r, pass: s, port: o, projectId: i, protocol: a, publicKey: c } = t;
5839
- return `${a}://${c}${e && s ? `:${s}` : ""}@${n}${o ? `:${o}` : ""}/${r && `${r}/`}${i}`;
5847
+ const { host: n, path: r, pass: s, port: o, projectId: i, protocol: c, publicKey: a } = t;
5848
+ return `${c}://${a}${e && s ? `:${s}` : ""}@${n}${o ? `:${o}` : ""}/${r && `${r}/`}${i}`;
5840
5849
  }
5841
5850
  function Ga(t) {
5842
5851
  const e = Va.exec(t);
@@ -5846,14 +5855,14 @@ function Ga(t) {
5846
5855
  });
5847
5856
  return;
5848
5857
  }
5849
- const [n, r, s = "", o = "", i = "", a = ""] = e.slice(1);
5850
- let c = "", u = a;
5851
- const f = u.split("/");
5852
- if (f.length > 1 && (c = f.slice(0, -1).join("/"), u = f.pop()), u) {
5853
- const l = u.match(/^\d+/);
5854
- l && (u = l[0]);
5858
+ const [n, r, s = "", o = "", i = "", c = ""] = e.slice(1);
5859
+ let a = "", u = c;
5860
+ const l = u.split("/");
5861
+ if (l.length > 1 && (a = l.slice(0, -1).join("/"), u = l.pop()), u) {
5862
+ const f = u.match(/^\d+/);
5863
+ f && (u = f[0]);
5855
5864
  }
5856
- return Bs({ host: o, pass: s, path: c, projectId: u, port: i, protocol: n, publicKey: r });
5865
+ return Bs({ host: o, pass: s, path: a, projectId: u, port: i, protocol: n, publicKey: r });
5857
5866
  }
5858
5867
  function Bs(t) {
5859
5868
  return {
@@ -5914,9 +5923,9 @@ function Qa(t) {
5914
5923
  }));
5915
5924
  }
5916
5925
  function Rr(t) {
5917
- return typeof t == "number" ? Or(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Or(t.getTime()) : me();
5926
+ return typeof t == "number" ? Tr(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Tr(t.getTime()) : me();
5918
5927
  }
5919
- function Or(t) {
5928
+ function Tr(t) {
5920
5929
  return t > 9999999999 ? t / 1e3 : t;
5921
5930
  }
5922
5931
  function An(t) {
@@ -5925,17 +5934,17 @@ function An(t) {
5925
5934
  return t.getSpanJSON();
5926
5935
  const { spanId: e, traceId: n } = t.spanContext();
5927
5936
  if (Za(t)) {
5928
- const { attributes: s, startTime: o, name: i, endTime: a, status: c, links: u } = t, f = "parentSpanId" in t ? t.parentSpanId : "parentSpanContext" in t ? (r = t.parentSpanContext) == null ? void 0 : r.spanId : void 0;
5937
+ const { attributes: s, startTime: o, name: i, endTime: c, status: a, links: u } = t, l = "parentSpanId" in t ? t.parentSpanId : "parentSpanContext" in t ? (r = t.parentSpanContext) == null ? void 0 : r.spanId : void 0;
5929
5938
  return {
5930
5939
  span_id: e,
5931
5940
  trace_id: n,
5932
5941
  data: s,
5933
5942
  description: i,
5934
- parent_span_id: f,
5943
+ parent_span_id: l,
5935
5944
  start_timestamp: Rr(o),
5936
5945
  // This is [0,0] by default in OTEL, in which case we want to interpret this as no end time
5937
- timestamp: Rr(a) || void 0,
5938
- status: nc(c),
5946
+ timestamp: Rr(c) || void 0,
5947
+ status: nc(a),
5939
5948
  op: s[Ma],
5940
5949
  origin: s[Na],
5941
5950
  links: Qa(u)
@@ -5961,13 +5970,13 @@ function tc(t) {
5961
5970
  }
5962
5971
  function nc(t) {
5963
5972
  if (!(!t || t.code === Aa))
5964
- return t.code === Pa ? "ok" : t.message || "internal_error";
5973
+ return t.code === La ? "ok" : t.message || "internal_error";
5965
5974
  }
5966
5975
  const rc = "_sentryRootSpan";
5967
5976
  function Us(t) {
5968
5977
  return t[rc] || t;
5969
5978
  }
5970
- function Tr() {
5979
+ function Or() {
5971
5980
  kr || (Ye(() => {
5972
5981
  console.warn(
5973
5982
  "[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`."
@@ -6011,10 +6020,10 @@ function oc(t, e) {
6011
6020
  function ic(t) {
6012
6021
  return typeof t == "string" || t instanceof RegExp;
6013
6022
  }
6014
- const Pn = "production", ac = "_frozenDsc";
6023
+ const Ln = "production", ac = "_frozenDsc";
6015
6024
  function Hs(t, e) {
6016
6025
  const n = e.getOptions(), { publicKey: r } = e.getDsn() || {}, s = {
6017
- environment: n.environment || Pn,
6026
+ environment: n.environment || Ln,
6018
6027
  release: n.release,
6019
6028
  public_key: r,
6020
6029
  trace_id: t,
@@ -6032,22 +6041,22 @@ function uc(t) {
6032
6041
  if (!e)
6033
6042
  return {};
6034
6043
  const n = Us(t), r = An(n), s = r.data, o = n.spanContext().traceState, i = (m = (_ = o == null ? void 0 : o.get("sentry.sample_rate")) != null ? _ : s[Ia]) != null ? m : s[Fa];
6035
- function a(w) {
6044
+ function c(w) {
6036
6045
  return (typeof i == "number" || typeof i == "string") && (w.sample_rate = `${i}`), w;
6037
6046
  }
6038
- const c = n[ac];
6039
- if (c)
6040
- return a(c);
6041
- const u = o == null ? void 0 : o.get("sentry.dsc"), f = u && Ua(u);
6042
- if (f)
6043
- return a(f);
6044
- const l = Hs(t.spanContext().traceId, e), p = s[Ta], g = r.description;
6045
- return p !== "url" && g && (l.transaction = g), sc() && (l.sampled = String(tc(n)), l.sample_rand = // In OTEL we store the sample rand on the trace state because we cannot access scopes for NonRecordingSpans
6047
+ const a = n[ac];
6048
+ if (a)
6049
+ return c(a);
6050
+ const u = o == null ? void 0 : o.get("sentry.dsc"), l = u && Ua(u);
6051
+ if (l)
6052
+ return c(l);
6053
+ const f = Hs(t.spanContext().traceId, e), p = s[Oa], g = r.description;
6054
+ return p !== "url" && g && (f.transaction = g), sc() && (f.sampled = String(tc(n)), f.sample_rand = // In OTEL we store the sample rand on the trace state because we cannot access scopes for NonRecordingSpans
6046
6055
  // The Sentry OTEL SpanSampler takes care of writing the sample rand on the root span
6047
6056
  (v = o == null ? void 0 : o.get("sentry.sample_rand")) != null ? v : (
6048
6057
  // On all other platforms we can actually get the scopes from a root span (we use this as a fallback)
6049
6058
  (y = Ds(n).scope) == null ? void 0 : y.getPropagationContext().sampleRand.toString()
6050
- )), a(l), e.emit("createDsc", l, n), l;
6059
+ )), c(f), e.emit("createDsc", f, n), f;
6051
6060
  }
6052
6061
  function pe(t, e = 100, n = 1 / 0) {
6053
6062
  try {
@@ -6065,37 +6074,37 @@ function ln(t, e, n = 1 / 0, r = 1 / 0, s = hc()) {
6065
6074
  if (e == null || // this matches null and undefined -> eqeq not eqeqeq
6066
6075
  ["boolean", "string"].includes(typeof e) || typeof e == "number" && Number.isFinite(e))
6067
6076
  return e;
6068
- const a = lc(t, e);
6069
- if (!a.startsWith("[object "))
6070
- return a;
6077
+ const c = lc(t, e);
6078
+ if (!c.startsWith("[object "))
6079
+ return c;
6071
6080
  if (e.__sentry_skip_normalization__)
6072
6081
  return e;
6073
- const c = typeof e.__sentry_override_normalization_depth__ == "number" ? e.__sentry_override_normalization_depth__ : n;
6074
- if (c === 0)
6075
- return a.replace("object ", "");
6082
+ const a = typeof e.__sentry_override_normalization_depth__ == "number" ? e.__sentry_override_normalization_depth__ : n;
6083
+ if (a === 0)
6084
+ return c.replace("object ", "");
6076
6085
  if (o(e))
6077
6086
  return "[Circular ~]";
6078
6087
  const u = e;
6079
6088
  if (u && typeof u.toJSON == "function")
6080
6089
  try {
6081
6090
  const g = u.toJSON();
6082
- return ln("", g, c - 1, r, s);
6091
+ return ln("", g, a - 1, r, s);
6083
6092
  } catch {
6084
6093
  }
6085
- const f = Array.isArray(e) ? [] : {};
6086
- let l = 0;
6094
+ const l = Array.isArray(e) ? [] : {};
6095
+ let f = 0;
6087
6096
  const p = Fs(e);
6088
6097
  for (const g in p) {
6089
6098
  if (!Object.prototype.hasOwnProperty.call(p, g))
6090
6099
  continue;
6091
- if (l >= r) {
6092
- f[g] = "[MaxProperties ~]";
6100
+ if (f >= r) {
6101
+ l[g] = "[MaxProperties ~]";
6093
6102
  break;
6094
6103
  }
6095
6104
  const _ = p[g];
6096
- f[g] = ln(g, _, c - 1, r, s), l++;
6105
+ l[g] = ln(g, _, a - 1, r, s), f++;
6097
6106
  }
6098
- return i(e), f;
6107
+ return i(e), l;
6099
6108
  }
6100
6109
  function lc(t, e) {
6101
6110
  try {
@@ -6177,19 +6186,19 @@ function yc(t) {
6177
6186
  typeof r == "string" ? r = typeof o == "string" ? r + o : [dn(r), o] : r.push(typeof o == "string" ? dn(o) : o);
6178
6187
  }
6179
6188
  for (const o of n) {
6180
- const [i, a] = o;
6189
+ const [i, c] = o;
6181
6190
  if (s(`
6182
6191
  ${JSON.stringify(i)}
6183
- `), typeof a == "string" || a instanceof Uint8Array)
6184
- s(a);
6192
+ `), typeof c == "string" || c instanceof Uint8Array)
6193
+ s(c);
6185
6194
  else {
6186
- let c;
6195
+ let a;
6187
6196
  try {
6188
- c = JSON.stringify(a);
6197
+ a = JSON.stringify(c);
6189
6198
  } catch {
6190
- c = JSON.stringify(pe(a));
6199
+ a = JSON.stringify(pe(c));
6191
6200
  }
6192
- s(c);
6201
+ s(a);
6193
6202
  }
6194
6203
  }
6195
6204
  return typeof r == "string" ? r : bc(r);
@@ -6293,7 +6302,7 @@ function Ut(t) {
6293
6302
  e(t);
6294
6303
  });
6295
6304
  }
6296
- function Ln(t) {
6305
+ function Pn(t) {
6297
6306
  return new st((e, n) => {
6298
6307
  n(t);
6299
6308
  });
@@ -6390,7 +6399,7 @@ function xc(t, e, n, r = 0) {
6390
6399
  const s = pn(e, n, t, r);
6391
6400
  return at(s) ? s : Ut(s);
6392
6401
  } catch (s) {
6393
- return Ln(s);
6402
+ return Pn(s);
6394
6403
  }
6395
6404
  }
6396
6405
  function pn(t, e, n, r) {
@@ -6400,26 +6409,26 @@ function pn(t, e, n, r) {
6400
6409
  const o = s({ ...t }, e);
6401
6410
  return M && o === null && x.log(`Event processor "${s.id || "?"}" dropped event`), at(o) ? o.then((i) => pn(i, e, n, r + 1)) : pn(o, e, n, r + 1);
6402
6411
  }
6403
- let de, Pr, Lr, we;
6412
+ let de, Lr, Pr, we;
6404
6413
  function kc(t) {
6405
6414
  const e = B._sentryDebugIds, n = B._debugIds;
6406
6415
  if (!e && !n)
6407
6416
  return {};
6408
6417
  const r = e ? Object.keys(e) : [], s = n ? Object.keys(n) : [];
6409
- if (we && r.length === Pr && s.length === Lr)
6418
+ if (we && r.length === Lr && s.length === Pr)
6410
6419
  return we;
6411
- Pr = r.length, Lr = s.length, we = {}, de || (de = {});
6412
- const o = (i, a) => {
6413
- for (const c of i) {
6414
- const u = a[c], f = de == null ? void 0 : de[c];
6415
- if (f && we && u)
6416
- we[f[0]] = u, de && (de[c] = [f[0], u]);
6420
+ Lr = r.length, Pr = s.length, we = {}, de || (de = {});
6421
+ const o = (i, c) => {
6422
+ for (const a of i) {
6423
+ const u = c[a], l = de == null ? void 0 : de[a];
6424
+ if (l && we && u)
6425
+ we[l[0]] = u, de && (de[a] = [l[0], u]);
6417
6426
  else if (u) {
6418
- const l = t(c);
6419
- for (let p = l.length - 1; p >= 0; p--) {
6420
- const g = l[p], _ = g == null ? void 0 : g.filename;
6427
+ const f = t(a);
6428
+ for (let p = f.length - 1; p >= 0; p--) {
6429
+ const g = f[p], _ = g == null ? void 0 : g.filename;
6421
6430
  if (_ && we && de) {
6422
- we[_] = u, de[c] = [_, u];
6431
+ we[_] = u, de[a] = [_, u];
6423
6432
  break;
6424
6433
  }
6425
6434
  }
@@ -6430,7 +6439,7 @@ function kc(t) {
6430
6439
  }
6431
6440
  function Rc(t, e) {
6432
6441
  const { fingerprint: n, span: r, breadcrumbs: s, sdkProcessingMetadata: o } = e;
6433
- Tc(t, e), r && Mc(t, r), Nc(t, n), Ic(t, s), Fc(t, o);
6442
+ Oc(t, e), r && Mc(t, r), Nc(t, n), Ic(t, s), Fc(t, o);
6434
6443
  }
6435
6444
  function Dr(t, e) {
6436
6445
  const {
@@ -6439,28 +6448,28 @@ function Dr(t, e) {
6439
6448
  attributes: s,
6440
6449
  user: o,
6441
6450
  contexts: i,
6442
- level: a,
6443
- sdkProcessingMetadata: c,
6451
+ level: c,
6452
+ sdkProcessingMetadata: a,
6444
6453
  breadcrumbs: u,
6445
- fingerprint: f,
6446
- eventProcessors: l,
6454
+ fingerprint: l,
6455
+ eventProcessors: f,
6447
6456
  attachments: p,
6448
6457
  propagationContext: g,
6449
6458
  transactionName: _,
6450
6459
  span: m
6451
6460
  } = e;
6452
- Qe(t, "extra", n), Qe(t, "tags", r), Qe(t, "attributes", s), Qe(t, "user", o), Qe(t, "contexts", i), t.sdkProcessingMetadata = ut(t.sdkProcessingMetadata, c, 2), a && (t.level = a), _ && (t.transactionName = _), m && (t.span = m), u.length && (t.breadcrumbs = [...t.breadcrumbs, ...u]), f.length && (t.fingerprint = [...t.fingerprint, ...f]), l.length && (t.eventProcessors = [...t.eventProcessors, ...l]), p.length && (t.attachments = [...t.attachments, ...p]), t.propagationContext = { ...t.propagationContext, ...g };
6461
+ Qe(t, "extra", n), Qe(t, "tags", r), Qe(t, "attributes", s), Qe(t, "user", o), Qe(t, "contexts", i), t.sdkProcessingMetadata = ut(t.sdkProcessingMetadata, a, 2), c && (t.level = c), _ && (t.transactionName = _), m && (t.span = m), u.length && (t.breadcrumbs = [...t.breadcrumbs, ...u]), l.length && (t.fingerprint = [...t.fingerprint, ...l]), f.length && (t.eventProcessors = [...t.eventProcessors, ...f]), p.length && (t.attachments = [...t.attachments, ...p]), t.propagationContext = { ...t.propagationContext, ...g };
6453
6462
  }
6454
6463
  function Qe(t, e, n) {
6455
6464
  t[e] = ut(t[e], n, 1);
6456
6465
  }
6457
- function Oc(t, e) {
6466
+ function Tc(t, e) {
6458
6467
  const n = ka().getScopeData();
6459
6468
  return t && Dr(n, t.getScopeData()), e && Dr(n, e.getScopeData()), n;
6460
6469
  }
6461
- function Tc(t, e) {
6462
- const { extra: n, tags: r, user: s, contexts: o, level: i, transactionName: a } = e;
6463
- Object.keys(n).length && (t.extra = { ...n, ...t.extra }), Object.keys(r).length && (t.tags = { ...r, ...t.tags }), Object.keys(s).length && (t.user = { ...s, ...t.user }), Object.keys(o).length && (t.contexts = { ...o, ...t.contexts }), i && (t.level = i), a && t.type !== "transaction" && (t.transaction = a);
6470
+ function Oc(t, e) {
6471
+ const { extra: n, tags: r, user: s, contexts: o, level: i, transactionName: c } = e;
6472
+ Object.keys(n).length && (t.extra = { ...n, ...t.extra }), Object.keys(r).length && (t.tags = { ...r, ...t.tags }), Object.keys(s).length && (t.user = { ...s, ...t.user }), Object.keys(o).length && (t.contexts = { ...o, ...t.contexts }), i && (t.level = i), c && t.type !== "transaction" && (t.transaction = c);
6464
6473
  }
6465
6474
  function Ic(t, e) {
6466
6475
  const n = [...t.breadcrumbs || [], ...e];
@@ -6487,39 +6496,39 @@ function Nc(t, e) {
6487
6496
  t.fingerprint = t.fingerprint ? Array.isArray(t.fingerprint) ? t.fingerprint : [t.fingerprint] : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint.length || delete t.fingerprint;
6488
6497
  }
6489
6498
  function Ac(t, e, n, r, s, o) {
6490
- const { normalizeDepth: i = 3, normalizeMaxBreadth: a = 1e3 } = t, c = {
6499
+ const { normalizeDepth: i = 3, normalizeMaxBreadth: c = 1e3 } = t, a = {
6491
6500
  ...e,
6492
6501
  event_id: e.event_id || n.event_id || ie(),
6493
6502
  timestamp: e.timestamp || ct()
6494
6503
  }, u = n.integrations || t.integrations.map((y) => y.name);
6495
- Pc(c, t), Bc(c, u), s && s.emit("applyFrameMetadata", e), e.type === void 0 && Lc(c, t.stackParser);
6496
- const f = $c(r, n.captureContext);
6497
- n.mechanism && He(c, n.mechanism);
6498
- const l = s ? s.getEventProcessors() : [], p = Oc(o, f), g = [...n.attachments || [], ...p.attachments];
6499
- g.length && (n.attachments = g), Rc(c, p);
6504
+ Lc(a, t), Bc(a, u), s && s.emit("applyFrameMetadata", e), e.type === void 0 && Pc(a, t.stackParser);
6505
+ const l = $c(r, n.captureContext);
6506
+ n.mechanism && He(a, n.mechanism);
6507
+ const f = s ? s.getEventProcessors() : [], p = Tc(o, l), g = [...n.attachments || [], ...p.attachments];
6508
+ g.length && (n.attachments = g), Rc(a, p);
6500
6509
  const _ = [
6501
- ...l,
6510
+ ...f,
6502
6511
  // Run scope event processors _after_ all other processors
6503
6512
  ...p.eventProcessors
6504
6513
  ];
6505
- return xc(_, c, n).then((y) => (y && Dc(y), typeof i == "number" && i > 0 ? jc(y, i, a) : y));
6514
+ return xc(_, a, n).then((y) => (y && Dc(y), typeof i == "number" && i > 0 ? jc(y, i, c) : y));
6506
6515
  }
6507
- function Pc(t, e) {
6508
- var a, c;
6516
+ function Lc(t, e) {
6517
+ var c, a;
6509
6518
  const { environment: n, release: r, dist: s, maxValueLength: o } = e;
6510
- t.environment = t.environment || n || Pn, !t.release && r && (t.release = r), !t.dist && s && (t.dist = s);
6519
+ t.environment = t.environment || n || Ln, !t.release && r && (t.release = r), !t.dist && s && (t.dist = s);
6511
6520
  const i = t.request;
6512
- i != null && i.url && o && (i.url = an(i.url, o)), o && ((c = (a = t.exception) == null ? void 0 : a.values) == null || c.forEach((u) => {
6521
+ i != null && i.url && o && (i.url = an(i.url, o)), o && ((a = (c = t.exception) == null ? void 0 : c.values) == null || a.forEach((u) => {
6513
6522
  u.value && (u.value = an(u.value, o));
6514
6523
  }));
6515
6524
  }
6516
- function Lc(t, e) {
6525
+ function Pc(t, e) {
6517
6526
  var r, s;
6518
6527
  const n = kc(e);
6519
6528
  (s = (r = t.exception) == null ? void 0 : r.values) == null || s.forEach((o) => {
6520
- var i, a;
6521
- (a = (i = o.stacktrace) == null ? void 0 : i.frames) == null || a.forEach((c) => {
6522
- c.filename && (c.debug_id = n[c.filename]);
6529
+ var i, c;
6530
+ (c = (i = o.stacktrace) == null ? void 0 : i.frames) == null || c.forEach((a) => {
6531
+ a.filename && (a.debug_id = n[a.filename]);
6523
6532
  });
6524
6533
  });
6525
6534
  }
@@ -6527,9 +6536,9 @@ function Dc(t) {
6527
6536
  var r, s;
6528
6537
  const e = {};
6529
6538
  if ((s = (r = t.exception) == null ? void 0 : r.values) == null || s.forEach((o) => {
6530
- var i, a;
6531
- (a = (i = o.stacktrace) == null ? void 0 : i.frames) == null || a.forEach((c) => {
6532
- c.debug_id && (c.abs_path ? e[c.abs_path] = c.debug_id : c.filename && (e[c.filename] = c.debug_id), delete c.debug_id);
6539
+ var i, c;
6540
+ (c = (i = o.stacktrace) == null ? void 0 : i.frames) == null || c.forEach((a) => {
6541
+ a.debug_id && (a.abs_path ? e[a.abs_path] = a.debug_id : a.filename && (e[a.filename] = a.debug_id), delete a.debug_id);
6533
6542
  });
6534
6543
  }), Object.keys(e).length === 0)
6535
6544
  return;
@@ -6605,10 +6614,10 @@ function Vc(t) {
6605
6614
  return Object.keys(t).some((e) => Wc.includes(e));
6606
6615
  }
6607
6616
  function hn(t, e) {
6608
- return Oe().captureException(t, Uc(e));
6617
+ return Te().captureException(t, Uc(e));
6609
6618
  }
6610
6619
  function zs(t, e) {
6611
- return Oe().captureEvent(t, e);
6620
+ return Te().captureEvent(t, e);
6612
6621
  }
6613
6622
  function zc(t, e) {
6614
6623
  _e().setContext(t, e);
@@ -6623,7 +6632,7 @@ function zd() {
6623
6632
  return _e().lastEventId();
6624
6633
  }
6625
6634
  function jr(t) {
6626
- const e = _e(), n = Oe(), { userAgent: r } = B.navigator || {}, s = ma({
6635
+ const e = _e(), n = Te(), { userAgent: r } = B.navigator || {}, s = ma({
6627
6636
  user: n.getUser() || e.getUser(),
6628
6637
  ...r && { userAgent: r },
6629
6638
  ...t
@@ -6631,7 +6640,7 @@ function jr(t) {
6631
6640
  return (o == null ? void 0 : o.status) === "ok" && We(o, { status: "exited" }), Gs(), e.setSession(s), s;
6632
6641
  }
6633
6642
  function Gs() {
6634
- const t = _e(), n = Oe().getSession() || t.getSession();
6643
+ const t = _e(), n = Te().getSession() || t.getSession();
6635
6644
  n && ya(n), Ys(), t.setSession();
6636
6645
  }
6637
6646
  function Ys() {
@@ -6806,21 +6815,21 @@ function Bn(t = 100) {
6806
6815
  }
6807
6816
  function s(i) {
6808
6817
  if (!n())
6809
- return Ln(Dn);
6810
- const a = i();
6811
- return e.add(a), a.then(
6812
- () => r(a),
6813
- () => r(a)
6814
- ), a;
6818
+ return Pn(Dn);
6819
+ const c = i();
6820
+ return e.add(c), c.then(
6821
+ () => r(c),
6822
+ () => r(c)
6823
+ ), c;
6815
6824
  }
6816
6825
  function o(i) {
6817
6826
  if (!e.size)
6818
6827
  return Ut(!0);
6819
- const a = Promise.allSettled(Array.from(e)).then(() => !0);
6828
+ const c = Promise.allSettled(Array.from(e)).then(() => !0);
6820
6829
  if (!i)
6821
- return a;
6822
- const c = [a, new Promise((u) => setTimeout(() => u(!1), i))];
6823
- return Promise.race(c);
6830
+ return c;
6831
+ const a = [c, new Promise((u) => setTimeout(() => u(!1), i))];
6832
+ return Promise.race(a);
6824
6833
  }
6825
6834
  return {
6826
6835
  get $() {
@@ -6849,13 +6858,13 @@ function lu(t, { statusCode: e, headers: n }, r = jt()) {
6849
6858
  ...t
6850
6859
  }, o = n == null ? void 0 : n["x-sentry-rate-limits"], i = n == null ? void 0 : n["retry-after"];
6851
6860
  if (o)
6852
- for (const a of o.trim().split(",")) {
6853
- const [c, u, , , f] = a.split(":", 5), l = parseInt(c, 10), p = (isNaN(l) ? 60 : l) * 1e3;
6861
+ for (const c of o.trim().split(",")) {
6862
+ const [a, u, , , l] = c.split(":", 5), f = parseInt(a, 10), p = (isNaN(f) ? 60 : f) * 1e3;
6854
6863
  if (!u)
6855
6864
  s.all = r + p;
6856
6865
  else
6857
6866
  for (const g of u.split(";"))
6858
- g === "metric_bucket" ? (!f || f.split(";").includes("custom")) && (s[g] = r + p) : s[g] = r + p;
6867
+ g === "metric_bucket" ? (!l || l.split(";").includes("custom")) && (s[g] = r + p) : s[g] = r + p;
6859
6868
  }
6860
6869
  else i ? s.all = r + au(i, r) : e === 429 && (s.all = r + 60 * 1e3);
6861
6870
  return s;
@@ -6867,32 +6876,32 @@ function fu(t, e, n = Bn(
6867
6876
  let r = {};
6868
6877
  const s = (i) => n.drain(i);
6869
6878
  function o(i) {
6870
- const a = [];
6871
- if (fn(i, (l, p) => {
6879
+ const c = [];
6880
+ if (fn(i, (f, p) => {
6872
6881
  const g = Mr(p);
6873
- uu(r, g) ? t.recordDroppedEvent("ratelimit_backoff", g) : a.push(l);
6874
- }), a.length === 0)
6882
+ uu(r, g) ? t.recordDroppedEvent("ratelimit_backoff", g) : c.push(f);
6883
+ }), c.length === 0)
6875
6884
  return Promise.resolve({});
6876
- const c = Je(i[0], a), u = (l) => {
6877
- if (mc(c, ["client_report"])) {
6878
- M && x.warn(`Dropping client report. Will not send outcomes (reason: ${l}).`);
6885
+ const a = Je(i[0], c), u = (f) => {
6886
+ if (mc(a, ["client_report"])) {
6887
+ M && x.warn(`Dropping client report. Will not send outcomes (reason: ${f}).`);
6879
6888
  return;
6880
6889
  }
6881
- fn(c, (p, g) => {
6882
- t.recordDroppedEvent(l, Mr(g));
6890
+ fn(a, (p, g) => {
6891
+ t.recordDroppedEvent(f, Mr(g));
6883
6892
  });
6884
- }, f = () => e({ body: yc(c) }).then(
6885
- (l) => (l.statusCode !== void 0 && (l.statusCode < 200 || l.statusCode >= 300) && M && x.warn(`Sentry responded with status code ${l.statusCode} to sent event.`), r = lu(r, l), l),
6886
- (l) => {
6887
- throw u("network_error"), M && x.error("Encountered error running transport request:", l), l;
6893
+ }, l = () => e({ body: yc(a) }).then(
6894
+ (f) => (f.statusCode !== void 0 && (f.statusCode < 200 || f.statusCode >= 300) && M && x.warn(`Sentry responded with status code ${f.statusCode} to sent event.`), r = lu(r, f), f),
6895
+ (f) => {
6896
+ throw u("network_error"), M && x.error("Encountered error running transport request:", f), f;
6888
6897
  }
6889
6898
  );
6890
- return n.add(f).then(
6891
- (l) => l,
6892
- (l) => {
6893
- if (l === Dn)
6899
+ return n.add(l).then(
6900
+ (f) => f,
6901
+ (f) => {
6902
+ if (f === Dn)
6894
6903
  return M && x.error("Skipped sending event because buffer is full."), u("queue_overflow"), Promise.resolve({});
6895
- throw l;
6904
+ throw f;
6896
6905
  }
6897
6906
  );
6898
6907
  }
@@ -6922,21 +6931,21 @@ function to(t) {
6922
6931
  return e;
6923
6932
  }
6924
6933
  function pu(t) {
6925
- var c, u, f;
6926
- const { trace_id: e, parent_span_id: n, span_id: r, status: s, origin: o, data: i, op: a } = (u = (c = t.contexts) == null ? void 0 : c.trace) != null ? u : {};
6934
+ var a, u, l;
6935
+ const { trace_id: e, parent_span_id: n, span_id: r, status: s, origin: o, data: i, op: c } = (u = (a = t.contexts) == null ? void 0 : a.trace) != null ? u : {};
6927
6936
  return {
6928
6937
  data: i != null ? i : {},
6929
6938
  description: t.transaction,
6930
- op: a,
6939
+ op: c,
6931
6940
  parent_span_id: n,
6932
6941
  span_id: r != null ? r : "",
6933
- start_timestamp: (f = t.start_timestamp) != null ? f : 0,
6942
+ start_timestamp: (l = t.start_timestamp) != null ? l : 0,
6934
6943
  status: s,
6935
6944
  timestamp: t.timestamp,
6936
6945
  trace_id: e != null ? e : "",
6937
6946
  origin: o,
6938
- profile_id: i == null ? void 0 : i[Ps],
6939
- exclusive_time: i == null ? void 0 : i[Ls],
6947
+ profile_id: i == null ? void 0 : i[Ls],
6948
+ exclusive_time: i == null ? void 0 : i[Ps],
6940
6949
  measurements: t.measurements,
6941
6950
  is_segment: !0
6942
6951
  };
@@ -6957,8 +6966,8 @@ function hu(t) {
6957
6966
  origin: t.origin,
6958
6967
  data: {
6959
6968
  ...t.data,
6960
- ...t.profile_id && { [Ps]: t.profile_id },
6961
- ...t.exclusive_time && { [Ls]: t.exclusive_time }
6969
+ ...t.profile_id && { [Ls]: t.profile_id },
6970
+ ...t.exclusive_time && { [Ps]: t.exclusive_time }
6962
6971
  }
6963
6972
  }
6964
6973
  },
@@ -6985,11 +6994,11 @@ function Gr(t) {
6985
6994
  return !!t && typeof t == "object" && ro in t;
6986
6995
  }
6987
6996
  function Yr(t, e, n, r, s) {
6988
- let o = 0, i, a = !1;
6997
+ let o = 0, i, c = !1;
6989
6998
  t.on(n, () => {
6990
- o = 0, clearTimeout(i), a = !1;
6991
- }), t.on(e, (c) => {
6992
- o += r(c), o >= 8e5 ? s(t) : a || (a = !0, i = setTimeout(() => {
6999
+ o = 0, clearTimeout(i), c = !1;
7000
+ }), t.on(e, (a) => {
7001
+ o += r(a), o >= 8e5 ? s(t) : c || (c = !0, i = setTimeout(() => {
6993
7002
  s(t);
6994
7003
  }, gu));
6995
7004
  }), t.on("flush", () => {
@@ -7009,9 +7018,9 @@ class mu {
7009
7018
  * @param options Options for the client.
7010
7019
  */
7011
7020
  constructor(e) {
7012
- var r, s, o, i, a, c, u;
7021
+ var r, s, o, i, c, a, u;
7013
7022
  if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = Bn((s = (r = e.transportOptions) == null ? void 0 : r.bufferSize) != null ? s : eo), e.dsn ? this._dsn = js(e.dsn) : M && x.warn("No DSN provided, client will not send events."), this._dsn) {
7014
- const f = Jc(
7023
+ const l = Jc(
7015
7024
  this._dsn,
7016
7025
  e.tunnel,
7017
7026
  e._metadata ? e._metadata.sdk : void 0
@@ -7020,10 +7029,10 @@ class mu {
7020
7029
  tunnel: this._options.tunnel,
7021
7030
  recordDroppedEvent: this.recordDroppedEvent.bind(this),
7022
7031
  ...e.transportOptions,
7023
- url: f
7032
+ url: l
7024
7033
  });
7025
7034
  }
7026
- this._options.enableLogs = (i = this._options.enableLogs) != null ? i : (o = this._options._experiments) == null ? void 0 : o.enableLogs, this._options.enableLogs && Yr(this, "afterCaptureLog", "flushLogs", vu, Js), ((u = (c = this._options.enableMetrics) != null ? c : (a = this._options._experiments) == null ? void 0 : a.enableMetrics) == null || u) && Yr(
7035
+ this._options.enableLogs = (i = this._options.enableLogs) != null ? i : (o = this._options._experiments) == null ? void 0 : o.enableLogs, this._options.enableLogs && Yr(this, "afterCaptureLog", "flushLogs", vu, Js), ((u = (a = this._options.enableMetrics) != null ? a : (c = this._options._experiments) == null ? void 0 : c.enableMetrics) == null || u) && Yr(
7027
7036
  this,
7028
7037
  "afterCaptureMetric",
7029
7038
  "flushMetrics",
@@ -7058,10 +7067,10 @@ class mu {
7058
7067
  const o = {
7059
7068
  event_id: ie(),
7060
7069
  ...r
7061
- }, i = Tn(e) ? e : String(e), a = Lt(e), c = a ? this.eventFromMessage(i, n, o) : this.eventFromException(e, o);
7070
+ }, i = On(e) ? e : String(e), c = Pt(e), a = c ? this.eventFromMessage(i, n, o) : this.eventFromException(e, o);
7062
7071
  return this._process(
7063
- () => c.then((u) => this._captureEvent(u, o, s)),
7064
- a ? "unknown" : "error"
7072
+ () => a.then((u) => this._captureEvent(u, o, s)),
7073
+ c ? "unknown" : "error"
7065
7074
  ), o.event_id;
7066
7075
  }
7067
7076
  /**
@@ -7076,9 +7085,9 @@ class mu {
7076
7085
  const o = {
7077
7086
  event_id: s,
7078
7087
  ...n
7079
- }, i = e.sdkProcessingMetadata || {}, a = i.capturedSpanScope, c = i.capturedSpanIsolationScope, u = qr(e.type);
7088
+ }, i = e.sdkProcessingMetadata || {}, c = i.capturedSpanScope, a = i.capturedSpanIsolationScope, u = qr(e.type);
7080
7089
  return this._process(
7081
- () => this._captureEvent(e, o, a || r, c),
7090
+ () => this._captureEvent(e, o, c || r, a),
7082
7091
  u
7083
7092
  ), o.event_id;
7084
7093
  }
@@ -7210,7 +7219,7 @@ class mu {
7210
7219
  * Send a session or session aggregrates to Sentry.
7211
7220
  */
7212
7221
  sendSession(e) {
7213
- const { release: n, environment: r = Pn } = this._options;
7222
+ const { release: n, environment: r = Ln } = this._options;
7214
7223
  if ("aggregates" in e) {
7215
7224
  const o = e.attrs || {};
7216
7225
  if (!o.release && !n) {
@@ -7282,13 +7291,13 @@ class mu {
7282
7291
  }
7283
7292
  /** Updates existing session based on the provided event */
7284
7293
  _updateSessionFromEvent(e, n) {
7285
- var c, u;
7294
+ var a, u;
7286
7295
  let r = n.level === "fatal", s = !1;
7287
- const o = (c = n.exception) == null ? void 0 : c.values;
7296
+ const o = (a = n.exception) == null ? void 0 : a.values;
7288
7297
  if (o) {
7289
7298
  s = !0, r = !1;
7290
- for (const f of o)
7291
- if (((u = f.mechanism) == null ? void 0 : u.handled) === !1) {
7299
+ for (const l of o)
7300
+ if (((u = l.mechanism) == null ? void 0 : u.handled) === !1) {
7292
7301
  r = !0;
7293
7302
  break;
7294
7303
  }
@@ -7338,18 +7347,18 @@ class mu {
7338
7347
  */
7339
7348
  _prepareEvent(e, n, r, s) {
7340
7349
  const o = this.getOptions(), i = Object.keys(this._integrations);
7341
- return !n.integrations && (i != null && i.length) && (n.integrations = i), this.emit("preprocessEvent", e, n), e.type || s.setLastEventId(e.event_id || n.event_id), Ac(o, e, n, r, this, s).then((a) => {
7342
- if (a === null)
7343
- return a;
7344
- this.emit("postprocessEvent", a, n), a.contexts = {
7345
- trace: Oa(r),
7346
- ...a.contexts
7350
+ return !n.integrations && (i != null && i.length) && (n.integrations = i), this.emit("preprocessEvent", e, n), e.type || s.setLastEventId(e.event_id || n.event_id), Ac(o, e, n, r, this, s).then((c) => {
7351
+ if (c === null)
7352
+ return c;
7353
+ this.emit("postprocessEvent", c, n), c.contexts = {
7354
+ trace: Ta(r),
7355
+ ...c.contexts
7347
7356
  };
7348
- const c = cc(this, r);
7349
- return a.sdkProcessingMetadata = {
7350
- dynamicSamplingContext: c,
7351
- ...a.sdkProcessingMetadata
7352
- }, a;
7357
+ const a = cc(this, r);
7358
+ return c.sdkProcessingMetadata = {
7359
+ dynamicSamplingContext: a,
7360
+ ...c.sdkProcessingMetadata
7361
+ }, c;
7353
7362
  });
7354
7363
  }
7355
7364
  /**
@@ -7358,7 +7367,7 @@ class mu {
7358
7367
  * @param hint
7359
7368
  * @param scope
7360
7369
  */
7361
- _captureEvent(e, n = {}, r = Oe(), s = _e()) {
7370
+ _captureEvent(e, n = {}, r = Te(), s = _e()) {
7362
7371
  return M && gn(e) && x.log(`Captured error event \`${to(e)[0] || "<unknown>"}\``), this._processEvent(e, n, r, s).then(
7363
7372
  (o) => o.event_id,
7364
7373
  (o) => {
@@ -7380,9 +7389,9 @@ class mu {
7380
7389
  * @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
7381
7390
  */
7382
7391
  _processEvent(e, n, r, s) {
7383
- const o = this.getOptions(), { sampleRate: i } = o, a = so(e), c = gn(e), f = `before send for type \`${e.type || "error"}\``, l = typeof i > "u" ? void 0 : Ja(i);
7384
- if (c && typeof l == "number" && Tt() > l)
7385
- return this.recordDroppedEvent("sample_rate", "error"), Ln(
7392
+ const o = this.getOptions(), { sampleRate: i } = o, c = so(e), a = gn(e), l = `before send for type \`${e.type || "error"}\``, f = typeof i > "u" ? void 0 : Ja(i);
7393
+ if (a && typeof f == "number" && Ot() > f)
7394
+ return this.recordDroppedEvent("sample_rate", "error"), Pn(
7386
7395
  Zt(
7387
7396
  `Discarding event because it's not included in the random sample (sampling rate = ${i})`
7388
7397
  )
@@ -7394,23 +7403,23 @@ class mu {
7394
7403
  if (n.data && n.data.__sentry__ === !0)
7395
7404
  return g;
7396
7405
  const m = bu(this, o, g, n);
7397
- return yu(m, f);
7406
+ return yu(m, l);
7398
7407
  }).then((g) => {
7399
7408
  var y;
7400
7409
  if (g === null) {
7401
- if (this.recordDroppedEvent("before_send", p), a) {
7410
+ if (this.recordDroppedEvent("before_send", p), c) {
7402
7411
  const w = 1 + (e.spans || []).length;
7403
7412
  this.recordDroppedEvent("before_send", "span", w);
7404
7413
  }
7405
- throw Zt(`${f} returned \`null\`, will not send event.`);
7414
+ throw Zt(`${l} returned \`null\`, will not send event.`);
7406
7415
  }
7407
7416
  const _ = r.getSession() || s.getSession();
7408
- if (c && _ && this._updateSessionFromEvent(_, g), a) {
7417
+ if (a && _ && this._updateSessionFromEvent(_, g), c) {
7409
7418
  const v = ((y = g.sdkProcessingMetadata) == null ? void 0 : y.spanCountBeforeProcessing) || 0, w = g.spans ? g.spans.length : 0, E = v - w;
7410
7419
  E > 0 && this.recordDroppedEvent("before_send", "span", E);
7411
7420
  }
7412
7421
  const m = g.transaction_info;
7413
- if (a && m && g.transaction !== e.transaction) {
7422
+ if (c && m && g.transaction !== e.transaction) {
7414
7423
  const v = "custom";
7415
7424
  g.transaction_info = {
7416
7425
  ...m,
@@ -7500,48 +7509,48 @@ function yu(t, e) {
7500
7509
  return t;
7501
7510
  }
7502
7511
  function bu(t, e, n, r) {
7503
- const { beforeSend: s, beforeSendTransaction: o, beforeSendSpan: i, ignoreSpans: a } = e;
7504
- let c = n;
7505
- if (gn(c) && s)
7506
- return s(c, r);
7507
- if (so(c)) {
7508
- if (i || a) {
7509
- const u = pu(c);
7510
- if (a != null && a.length && Fr(u, a))
7512
+ const { beforeSend: s, beforeSendTransaction: o, beforeSendSpan: i, ignoreSpans: c } = e;
7513
+ let a = n;
7514
+ if (gn(a) && s)
7515
+ return s(a, r);
7516
+ if (so(a)) {
7517
+ if (i || c) {
7518
+ const u = pu(a);
7519
+ if (c != null && c.length && Fr(u, c))
7511
7520
  return null;
7512
7521
  if (i) {
7513
- const f = i(u);
7514
- f ? c = ut(n, hu(f)) : Tr();
7522
+ const l = i(u);
7523
+ l ? a = ut(n, hu(l)) : Or();
7515
7524
  }
7516
- if (c.spans) {
7517
- const f = [], l = c.spans;
7518
- for (const g of l) {
7519
- if (a != null && a.length && Fr(g, a)) {
7520
- oc(l, g);
7525
+ if (a.spans) {
7526
+ const l = [], f = a.spans;
7527
+ for (const g of f) {
7528
+ if (c != null && c.length && Fr(g, c)) {
7529
+ oc(f, g);
7521
7530
  continue;
7522
7531
  }
7523
7532
  if (i) {
7524
7533
  const _ = i(g);
7525
- _ ? f.push(_) : (Tr(), f.push(g));
7534
+ _ ? l.push(_) : (Or(), l.push(g));
7526
7535
  } else
7527
- f.push(g);
7536
+ l.push(g);
7528
7537
  }
7529
- const p = c.spans.length - f.length;
7530
- p && t.recordDroppedEvent("before_send", "span", p), c.spans = f;
7538
+ const p = a.spans.length - l.length;
7539
+ p && t.recordDroppedEvent("before_send", "span", p), a.spans = l;
7531
7540
  }
7532
7541
  }
7533
7542
  if (o) {
7534
- if (c.spans) {
7535
- const u = c.spans.length;
7536
- c.sdkProcessingMetadata = {
7543
+ if (a.spans) {
7544
+ const u = a.spans.length;
7545
+ a.sdkProcessingMetadata = {
7537
7546
  ...n.sdkProcessingMetadata,
7538
7547
  spanCountBeforeProcessing: u
7539
7548
  };
7540
7549
  }
7541
- return o(c, r);
7550
+ return o(a, r);
7542
7551
  }
7543
7552
  }
7544
- return c;
7553
+ return a;
7545
7554
  }
7546
7555
  function gn(t) {
7547
7556
  return t.type === void 0;
@@ -7562,14 +7571,14 @@ function oo(t) {
7562
7571
  return 0;
7563
7572
  let e = 0;
7564
7573
  return Object.values(t).forEach((n) => {
7565
- Array.isArray(n) ? e += n.length * Kr(n[0]) : Lt(n) ? e += Kr(n) : e += 100;
7574
+ Array.isArray(n) ? e += n.length * Kr(n[0]) : Pt(n) ? e += Kr(n) : e += 100;
7566
7575
  }), e;
7567
7576
  }
7568
7577
  function Kr(t) {
7569
7578
  return typeof t == "string" ? t.length * 2 : typeof t == "number" ? 8 : typeof t == "boolean" ? 4 : 0;
7570
7579
  }
7571
7580
  function wu(t) {
7572
- return Pt(t) && "__sentry_fetch_url_host__" in t && typeof t.__sentry_fetch_url_host__ == "string";
7581
+ return Lt(t) && "__sentry_fetch_url_host__" in t && typeof t.__sentry_fetch_url_host__ == "string";
7573
7582
  }
7574
7583
  function Jr(t) {
7575
7584
  return wu(t) ? `${t.message} (${t.__sentry_fetch_url_host__})` : t.message;
@@ -7577,12 +7586,12 @@ function Jr(t) {
7577
7586
  function Eu(t, e) {
7578
7587
  e.debug === !0 && (M ? x.enable() : Ye(() => {
7579
7588
  console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
7580
- })), Oe().update(e.initialScope);
7589
+ })), Te().update(e.initialScope);
7581
7590
  const r = new t(e);
7582
7591
  return Su(r), r.init(), r;
7583
7592
  }
7584
7593
  function Su(t) {
7585
- Oe().setClient(t);
7594
+ Te().setClient(t);
7586
7595
  }
7587
7596
  function en(t) {
7588
7597
  if (!t)
@@ -7625,8 +7634,8 @@ function Ne(t, e) {
7625
7634
  if (!n) return;
7626
7635
  const { beforeBreadcrumb: s = null, maxBreadcrumbs: o = xu } = n.getOptions();
7627
7636
  if (o <= 0) return;
7628
- const a = { timestamp: ct(), ...t }, c = s ? Ye(() => s(a, e)) : a;
7629
- c !== null && (n.emit && n.emit("beforeAddBreadcrumb", c, e), r.addBreadcrumb(c, o));
7637
+ const c = { timestamp: ct(), ...t }, a = s ? Ye(() => s(c, e)) : c;
7638
+ a !== null && (n.emit && n.emit("beforeAddBreadcrumb", a, e), r.addBreadcrumb(a, o));
7630
7639
  }
7631
7640
  let Xr;
7632
7641
  const ku = "FunctionToString", Qr = /* @__PURE__ */ new WeakMap(), Ru = (() => ({
@@ -7644,7 +7653,7 @@ const ku = "FunctionToString", Qr = /* @__PURE__ */ new WeakMap(), Ru = (() => (
7644
7653
  setup(t) {
7645
7654
  Qr.set(t, !0);
7646
7655
  }
7647
- })), Ou = Ru, Tu = [
7656
+ })), Tu = Ru, Ou = [
7648
7657
  /^Script error\.?$/,
7649
7658
  /^Javascript error: Script error\.? on line 0$/,
7650
7659
  /^ResizeObserver loop completed with undelivered notifications.$/,
@@ -7692,35 +7701,35 @@ function Zr(t = {}, e = {}) {
7692
7701
  ignoreErrors: [
7693
7702
  ...t.ignoreErrors || [],
7694
7703
  ...e.ignoreErrors || [],
7695
- ...t.disableErrorDefaults ? [] : Tu
7704
+ ...t.disableErrorDefaults ? [] : Ou
7696
7705
  ],
7697
7706
  ignoreTransactions: [...t.ignoreTransactions || [], ...e.ignoreTransactions || []]
7698
7707
  };
7699
7708
  }
7700
7709
  function Nu(t, e) {
7701
7710
  if (t.type) {
7702
- if (t.type === "transaction" && Pu(t, e.ignoreTransactions))
7711
+ if (t.type === "transaction" && Lu(t, e.ignoreTransactions))
7703
7712
  return M && x.warn(
7704
7713
  `Event dropped due to being matched by \`ignoreTransactions\` option.
7705
- Event: ${Te(t)}`
7714
+ Event: ${Oe(t)}`
7706
7715
  ), !0;
7707
7716
  } else {
7708
7717
  if (Au(t, e.ignoreErrors))
7709
7718
  return M && x.warn(
7710
7719
  `Event dropped due to being matched by \`ignoreErrors\` option.
7711
- Event: ${Te(t)}`
7720
+ Event: ${Oe(t)}`
7712
7721
  ), !0;
7713
7722
  if (ju(t))
7714
7723
  return M && x.warn(
7715
7724
  `Event dropped due to not having an error message, error type or stacktrace.
7716
- Event: ${Te(
7725
+ Event: ${Oe(
7717
7726
  t
7718
7727
  )}`
7719
7728
  ), !0;
7720
- if (Lu(t, e.denyUrls))
7729
+ if (Pu(t, e.denyUrls))
7721
7730
  return M && x.warn(
7722
7731
  `Event dropped due to being matched by \`denyUrls\` option.
7723
- Event: ${Te(
7732
+ Event: ${Oe(
7724
7733
  t
7725
7734
  )}.
7726
7735
  Url: ${It(t)}`
@@ -7728,7 +7737,7 @@ Url: ${It(t)}`
7728
7737
  if (!Du(t, e.allowUrls))
7729
7738
  return M && x.warn(
7730
7739
  `Event dropped due to not being matched by \`allowUrls\` option.
7731
- Event: ${Te(
7740
+ Event: ${Oe(
7732
7741
  t
7733
7742
  )}.
7734
7743
  Url: ${It(t)}`
@@ -7739,13 +7748,13 @@ Url: ${It(t)}`
7739
7748
  function Au(t, e) {
7740
7749
  return e != null && e.length ? to(t).some((n) => $t(n, e)) : !1;
7741
7750
  }
7742
- function Pu(t, e) {
7751
+ function Lu(t, e) {
7743
7752
  if (!(e != null && e.length))
7744
7753
  return !1;
7745
7754
  const n = t.transaction;
7746
7755
  return n ? $t(n, e) : !1;
7747
7756
  }
7748
- function Lu(t, e) {
7757
+ function Pu(t, e) {
7749
7758
  if (!(e != null && e.length))
7750
7759
  return !1;
7751
7760
  const n = It(t);
@@ -7769,12 +7778,12 @@ function It(t) {
7769
7778
  var e, n, r;
7770
7779
  try {
7771
7780
  const s = [...(n = (e = t.exception) == null ? void 0 : e.values) != null ? n : []].reverse().find((i) => {
7772
- var a, c, u;
7773
- return ((a = i.mechanism) == null ? void 0 : a.parent_id) === void 0 && ((u = (c = i.stacktrace) == null ? void 0 : c.frames) == null ? void 0 : u.length);
7781
+ var c, a, u;
7782
+ return ((c = i.mechanism) == null ? void 0 : c.parent_id) === void 0 && ((u = (a = i.stacktrace) == null ? void 0 : a.frames) == null ? void 0 : u.length);
7774
7783
  }), o = (r = s == null ? void 0 : s.stacktrace) == null ? void 0 : r.frames;
7775
7784
  return o ? Bu(o) : null;
7776
7785
  } catch {
7777
- return M && x.error(`Cannot extract url for event ${Te(t)}`), null;
7786
+ return M && x.error(`Cannot extract url for event ${Oe(t)}`), null;
7778
7787
  }
7779
7788
  }
7780
7789
  function ju(t) {
@@ -7786,8 +7795,8 @@ function ju(t) {
7786
7795
  ) : !1;
7787
7796
  }
7788
7797
  function $u(t, e, n, r, s, o) {
7789
- var a;
7790
- if (!((a = s.exception) != null && a.values) || !o || !ke(o.originalException, Error))
7798
+ var c;
7799
+ if (!((c = s.exception) != null && c.values) || !o || !ke(o.originalException, Error))
7791
7800
  return;
7792
7801
  const i = s.exception.values.length > 0 ? s.exception.values[s.exception.values.length - 1] : void 0;
7793
7802
  i && (s.exception.values = mn(
@@ -7801,40 +7810,40 @@ function $u(t, e, n, r, s, o) {
7801
7810
  0
7802
7811
  ));
7803
7812
  }
7804
- function mn(t, e, n, r, s, o, i, a) {
7813
+ function mn(t, e, n, r, s, o, i, c) {
7805
7814
  if (o.length >= n + 1)
7806
7815
  return o;
7807
- let c = [...o];
7816
+ let a = [...o];
7808
7817
  if (ke(r[s], Error)) {
7809
- es(i, a);
7810
- const u = t(e, r[s]), f = c.length;
7811
- ts(u, s, f, a), c = mn(
7818
+ es(i, c);
7819
+ const u = t(e, r[s]), l = a.length;
7820
+ ts(u, s, l, c), a = mn(
7812
7821
  t,
7813
7822
  e,
7814
7823
  n,
7815
7824
  r[s],
7816
7825
  s,
7817
- [u, ...c],
7826
+ [u, ...a],
7818
7827
  u,
7819
- f
7828
+ l
7820
7829
  );
7821
7830
  }
7822
- return Array.isArray(r.errors) && r.errors.forEach((u, f) => {
7831
+ return Array.isArray(r.errors) && r.errors.forEach((u, l) => {
7823
7832
  if (ke(u, Error)) {
7824
- es(i, a);
7825
- const l = t(e, u), p = c.length;
7826
- ts(l, `errors[${f}]`, p, a), c = mn(
7833
+ es(i, c);
7834
+ const f = t(e, u), p = a.length;
7835
+ ts(f, `errors[${l}]`, p, c), a = mn(
7827
7836
  t,
7828
7837
  e,
7829
7838
  n,
7830
7839
  u,
7831
7840
  s,
7832
- [l, ...c],
7833
- l,
7841
+ [f, ...a],
7842
+ f,
7834
7843
  p
7835
7844
  );
7836
7845
  }
7837
- }), c;
7846
+ }), a;
7838
7847
  }
7839
7848
  function es(t, e) {
7840
7849
  t.mechanism = {
@@ -7857,14 +7866,14 @@ function ts(t, e, n, r) {
7857
7866
  }
7858
7867
  function Uu(t) {
7859
7868
  const e = "console";
7860
- Ae(e, t), Pe(e, Hu);
7869
+ Ae(e, t), Le(e, Hu);
7861
7870
  }
7862
7871
  function Hu() {
7863
7872
  "console" in B && zi.forEach(function(t) {
7864
7873
  t in B.console && se(B.console, t, function(e) {
7865
- return Ot[t] = e, function(...n) {
7874
+ return Tt[t] = e, function(...n) {
7866
7875
  ue("console", { args: n, level: t });
7867
- const s = Ot[t];
7876
+ const s = Tt[t];
7868
7877
  s == null || s.apply(B.console, n);
7869
7878
  };
7870
7879
  });
@@ -7971,12 +7980,12 @@ function Qu() {
7971
7980
  }
7972
7981
  function Zu(t, e) {
7973
7982
  const n = "fetch";
7974
- Ae(n, t), Pe(n, () => el(void 0, e));
7983
+ Ae(n, t), Le(n, () => el(void 0, e));
7975
7984
  }
7976
7985
  function el(t, e = !1) {
7977
7986
  e && !Qu() || se(B, "fetch", function(n) {
7978
7987
  return function(...r) {
7979
- const s = new Error(), { method: o, url: i } = tl(r), a = {
7988
+ const s = new Error(), { method: o, url: i } = tl(r), c = {
7980
7989
  args: r,
7981
7990
  fetchData: {
7982
7991
  method: o,
@@ -7988,28 +7997,28 @@ function el(t, e = !1) {
7988
7997
  headers: nl(r)
7989
7998
  };
7990
7999
  return ue("fetch", {
7991
- ...a
8000
+ ...c
7992
8001
  }), n.apply(B, r).then(
7993
- async (c) => (ue("fetch", {
7994
- ...a,
8002
+ async (a) => (ue("fetch", {
8003
+ ...c,
7995
8004
  endTimestamp: me() * 1e3,
7996
- response: c
7997
- }), c),
7998
- (c) => {
8005
+ response: a
8006
+ }), a),
8007
+ (a) => {
7999
8008
  var p;
8000
8009
  ue("fetch", {
8001
- ...a,
8010
+ ...c,
8002
8011
  endTimestamp: me() * 1e3,
8003
- error: c
8004
- }), Pt(c) && c.stack === void 0 && (c.stack = s.stack, Re(c, "framesToPop", 1));
8005
- const u = X(), f = (p = u == null ? void 0 : u.getOptions().enhanceFetchErrorMessages) != null ? p : "always";
8006
- if (f !== !1 && c instanceof TypeError && (c.message === "Failed to fetch" || c.message === "Load failed" || c.message === "NetworkError when attempting to fetch resource."))
8012
+ error: a
8013
+ }), Lt(a) && a.stack === void 0 && (a.stack = s.stack, Re(a, "framesToPop", 1));
8014
+ const u = X(), l = (p = u == null ? void 0 : u.getOptions().enhanceFetchErrorMessages) != null ? p : "always";
8015
+ if (l !== !1 && a instanceof TypeError && (a.message === "Failed to fetch" || a.message === "Load failed" || a.message === "NetworkError when attempting to fetch resource."))
8007
8016
  try {
8008
- const _ = new URL(a.fetchData.url).host;
8009
- f === "always" ? c.message = `${c.message} (${_})` : Re(c, "__sentry_fetch_url_host__", _);
8017
+ const _ = new URL(c.fetchData.url).host;
8018
+ l === "always" ? a.message = `${a.message} (${_})` : Re(a, "__sentry_fetch_url_host__", _);
8010
8019
  } catch {
8011
8020
  }
8012
- throw c;
8021
+ throw a;
8013
8022
  }
8014
8023
  );
8015
8024
  };
@@ -8030,7 +8039,7 @@ function tl(t) {
8030
8039
  url: rs(n),
8031
8040
  method: Ct(r, "method") ? String(r.method).toUpperCase() : (
8032
8041
  // Request object as first argument
8033
- Os(n) && Ct(n, "method") ? String(n.method).toUpperCase() : "GET"
8042
+ Ts(n) && Ct(n, "method") ? String(n.method).toUpperCase() : "GET"
8034
8043
  )
8035
8044
  };
8036
8045
  }
@@ -8045,7 +8054,7 @@ function nl(t) {
8045
8054
  try {
8046
8055
  if (typeof n == "object" && n !== null && "headers" in n && n.headers)
8047
8056
  return new Headers(n.headers);
8048
- if (Os(e))
8057
+ if (Ts(e))
8049
8058
  return new Headers(e.headers);
8050
8059
  } catch {
8051
8060
  }
@@ -8084,10 +8093,10 @@ function ze(t, e = {}) {
8084
8093
  return t.apply(this, o);
8085
8094
  } catch (o) {
8086
8095
  throw sl(), Ra((i) => {
8087
- i.addEventProcessor((a) => (e.mechanism && (cn(a, void 0), He(a, e.mechanism)), a.extra = {
8088
- ...a.extra,
8096
+ i.addEventProcessor((c) => (e.mechanism && (cn(c, void 0), He(c, e.mechanism)), c.extra = {
8097
+ ...c.extra,
8089
8098
  arguments: s
8090
- }, a)), hn(o);
8099
+ }, c)), hn(o);
8091
8100
  }), o;
8092
8101
  }
8093
8102
  };
@@ -8125,7 +8134,7 @@ function jn(t, e) {
8125
8134
  return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
8126
8135
  }
8127
8136
  function il(t, e, n, r) {
8128
- const s = X(), o = s == null ? void 0 : s.getOptions().normalizeDepth, i = ml(e), a = {
8137
+ const s = X(), o = s == null ? void 0 : s.getOptions().normalizeDepth, i = ml(e), c = {
8129
8138
  __serialized__: Ws(e, o)
8130
8139
  };
8131
8140
  if (i)
@@ -8133,9 +8142,9 @@ function il(t, e, n, r) {
8133
8142
  exception: {
8134
8143
  values: [jn(t, i)]
8135
8144
  },
8136
- extra: a
8145
+ extra: c
8137
8146
  };
8138
- const c = {
8147
+ const a = {
8139
8148
  exception: {
8140
8149
  values: [
8141
8150
  {
@@ -8144,13 +8153,13 @@ function il(t, e, n, r) {
8144
8153
  }
8145
8154
  ]
8146
8155
  },
8147
- extra: a
8156
+ extra: c
8148
8157
  };
8149
8158
  if (n) {
8150
8159
  const u = $n(t, n);
8151
- u.length && (c.exception.values[0].stacktrace = { frames: u });
8160
+ u.length && (a.exception.values[0].stacktrace = { frames: u });
8152
8161
  }
8153
- return c;
8162
+ return a;
8154
8163
  }
8155
8164
  function tn(t, e) {
8156
8165
  return {
@@ -8202,12 +8211,12 @@ function Un(t, e, n, r, s) {
8202
8211
  if ("stack" in e)
8203
8212
  o = tn(t, e);
8204
8213
  else {
8205
- const a = i.name || (mr(i) ? "DOMError" : "DOMException"), c = i.message ? `${a}: ${i.message}` : a;
8206
- o = _n(t, c, n, r), cn(o, c);
8214
+ const c = i.name || (mr(i) ? "DOMError" : "DOMException"), a = i.message ? `${c}: ${i.message}` : c;
8215
+ o = _n(t, a, n, r), cn(o, a);
8207
8216
  }
8208
8217
  return "code" in i && (o.tags = { ...o.tags, "DOMException.code": `${i.code}` }), o;
8209
8218
  }
8210
- return Pt(e) ? tn(t, e) : rt(e) || Dt(e) ? (o = il(t, e, n, s), He(o, {
8219
+ return Lt(e) ? tn(t, e) : rt(e) || Dt(e) ? (o = il(t, e, n, s), He(o, {
8211
8220
  synthetic: !0
8212
8221
  }), o) : (o = _n(t, e, n, r), cn(o, `${e}`), He(o, {
8213
8222
  synthetic: !0
@@ -8221,7 +8230,7 @@ function _n(t, e, n, r) {
8221
8230
  values: [{ value: e, stacktrace: { frames: o } }]
8222
8231
  }), He(s, { synthetic: !0 });
8223
8232
  }
8224
- if (Tn(e)) {
8233
+ if (On(e)) {
8225
8234
  const { __sentry_template_string__: o, __sentry_template_values__: i } = e;
8226
8235
  return s.logentry = {
8227
8236
  message: o,
@@ -8256,9 +8265,9 @@ class yl extends mu {
8256
8265
  * @param options Configuration options for this SDK.
8257
8266
  */
8258
8267
  constructor(e) {
8259
- var f, l;
8268
+ var l, f;
8260
8269
  const n = bl(e), r = W.SENTRY_SDK_SOURCE || rl();
8261
- io(n, "browser", ["browser"], r), (f = n._metadata) != null && f.sdk && (n._metadata.sdk.settings = {
8270
+ io(n, "browser", ["browser"], r), (l = n._metadata) != null && l.sdk && (n._metadata.sdk.settings = {
8262
8271
  infer_ip: n.sendDefaultPii ? "auto" : "never",
8263
8272
  // purposefully allowing already passed settings to override the default
8264
8273
  ...n._metadata.sdk.settings
@@ -8267,9 +8276,9 @@ class yl extends mu {
8267
8276
  sendDefaultPii: s,
8268
8277
  sendClientReports: o,
8269
8278
  enableLogs: i,
8270
- _experiments: a,
8271
- enableMetrics: c
8272
- } = this._options, u = (l = c != null ? c : a == null ? void 0 : a.enableMetrics) != null ? l : !0;
8279
+ _experiments: c,
8280
+ enableMetrics: a
8281
+ } = this._options, u = (f = a != null ? a : c == null ? void 0 : c.enableMetrics) != null ? f : !0;
8273
8282
  W.document && (o || i || u) && W.document.addEventListener("visibilitychange", () => {
8274
8283
  W.document.visibilityState === "hidden" && (o && this._flushOutcomes(), i && Js(this), u && Qs(this));
8275
8284
  }), s && this.on("beforeSendSession", Cu);
@@ -8307,7 +8316,7 @@ function bl(t) {
8307
8316
  const _l = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, te = B, vl = 1e3;
8308
8317
  let ss, vn, wn;
8309
8318
  function wl(t) {
8310
- Ae("dom", t), Pe("dom", El);
8319
+ Ae("dom", t), Le("dom", El);
8311
8320
  }
8312
8321
  function El() {
8313
8322
  if (!te.document)
@@ -8316,32 +8325,32 @@ function El() {
8316
8325
  te.document.addEventListener("click", e, !1), te.document.addEventListener("keypress", e, !1), ["EventTarget", "Node"].forEach((n) => {
8317
8326
  var o, i;
8318
8327
  const s = (o = te[n]) == null ? void 0 : o.prototype;
8319
- (i = s == null ? void 0 : s.hasOwnProperty) != null && i.call(s, "addEventListener") && (se(s, "addEventListener", function(a) {
8320
- return function(c, u, f) {
8321
- if (c === "click" || c == "keypress")
8328
+ (i = s == null ? void 0 : s.hasOwnProperty) != null && i.call(s, "addEventListener") && (se(s, "addEventListener", function(c) {
8329
+ return function(a, u, l) {
8330
+ if (a === "click" || a == "keypress")
8322
8331
  try {
8323
- const l = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, p = l[c] = l[c] || { refCount: 0 };
8332
+ const f = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, p = f[a] = f[a] || { refCount: 0 };
8324
8333
  if (!p.handler) {
8325
8334
  const g = os(t);
8326
- p.handler = g, a.call(this, c, g, f);
8335
+ p.handler = g, c.call(this, a, g, l);
8327
8336
  }
8328
8337
  p.refCount++;
8329
8338
  } catch {
8330
8339
  }
8331
- return a.call(this, c, u, f);
8340
+ return c.call(this, a, u, l);
8332
8341
  };
8333
8342
  }), se(
8334
8343
  s,
8335
8344
  "removeEventListener",
8336
- function(a) {
8337
- return function(c, u, f) {
8338
- if (c === "click" || c == "keypress")
8345
+ function(c) {
8346
+ return function(a, u, l) {
8347
+ if (a === "click" || a == "keypress")
8339
8348
  try {
8340
- const l = this.__sentry_instrumentation_handlers__ || {}, p = l[c];
8341
- p && (p.refCount--, p.refCount <= 0 && (a.call(this, c, p.handler, f), p.handler = void 0, delete l[c]), Object.keys(l).length === 0 && delete this.__sentry_instrumentation_handlers__);
8349
+ const f = this.__sentry_instrumentation_handlers__ || {}, p = f[a];
8350
+ p && (p.refCount--, p.refCount <= 0 && (c.call(this, a, p.handler, l), p.handler = void 0, delete f[a]), Object.keys(f).length === 0 && delete this.__sentry_instrumentation_handlers__);
8342
8351
  } catch {
8343
8352
  }
8344
- return a.call(this, c, u, f);
8353
+ return c.call(this, a, u, l);
8345
8354
  };
8346
8355
  }
8347
8356
  ));
@@ -8384,7 +8393,7 @@ function xl(t) {
8384
8393
  let _t;
8385
8394
  function po(t) {
8386
8395
  const e = "history";
8387
- Ae(e, t), Pe(e, kl);
8396
+ Ae(e, t), Le(e, kl);
8388
8397
  }
8389
8398
  function kl() {
8390
8399
  if (te.addEventListener("popstate", () => {
@@ -8416,7 +8425,7 @@ function Rl(t) {
8416
8425
  }
8417
8426
  }
8418
8427
  const xt = {};
8419
- function Ol(t) {
8428
+ function Tl(t) {
8420
8429
  const e = xt[t];
8421
8430
  if (e)
8422
8431
  return e;
@@ -8435,12 +8444,12 @@ function Ol(t) {
8435
8444
  }
8436
8445
  return n && (xt[t] = n.bind(te));
8437
8446
  }
8438
- function Tl(t) {
8447
+ function Ol(t) {
8439
8448
  xt[t] = void 0;
8440
8449
  }
8441
8450
  const et = "__sentry_xhr_v3__";
8442
8451
  function Il(t) {
8443
- Ae("xhr", t), Pe("xhr", Fl);
8452
+ Ae("xhr", t), Le("xhr", Fl);
8444
8453
  }
8445
8454
  function Fl() {
8446
8455
  if (!te.XMLHttpRequest)
@@ -8448,38 +8457,38 @@ function Fl() {
8448
8457
  const t = XMLHttpRequest.prototype;
8449
8458
  t.open = new Proxy(t.open, {
8450
8459
  apply(e, n, r) {
8451
- const s = new Error(), o = me() * 1e3, i = ge(r[0]) ? r[0].toUpperCase() : void 0, a = Ml(r[1]);
8452
- if (!i || !a)
8460
+ const s = new Error(), o = me() * 1e3, i = ge(r[0]) ? r[0].toUpperCase() : void 0, c = Ml(r[1]);
8461
+ if (!i || !c)
8453
8462
  return e.apply(n, r);
8454
8463
  n[et] = {
8455
8464
  method: i,
8456
- url: a,
8465
+ url: c,
8457
8466
  request_headers: {}
8458
- }, i === "POST" && a.match(/sentry_key/) && (n.__sentry_own_request__ = !0);
8459
- const c = () => {
8467
+ }, i === "POST" && c.match(/sentry_key/) && (n.__sentry_own_request__ = !0);
8468
+ const a = () => {
8460
8469
  const u = n[et];
8461
8470
  if (u && n.readyState === 4) {
8462
8471
  try {
8463
8472
  u.status_code = n.status;
8464
8473
  } catch {
8465
8474
  }
8466
- const f = {
8475
+ const l = {
8467
8476
  endTimestamp: me() * 1e3,
8468
8477
  startTimestamp: o,
8469
8478
  xhr: n,
8470
8479
  virtualError: s
8471
8480
  };
8472
- ue("xhr", f);
8481
+ ue("xhr", l);
8473
8482
  }
8474
8483
  };
8475
8484
  return "onreadystatechange" in n && typeof n.onreadystatechange == "function" ? n.onreadystatechange = new Proxy(n.onreadystatechange, {
8476
- apply(u, f, l) {
8477
- return c(), u.apply(f, l);
8485
+ apply(u, l, f) {
8486
+ return a(), u.apply(l, f);
8478
8487
  }
8479
- }) : n.addEventListener("readystatechange", c), n.setRequestHeader = new Proxy(n.setRequestHeader, {
8480
- apply(u, f, l) {
8481
- const [p, g] = l, _ = f[et];
8482
- return _ && ge(p) && ge(g) && (_.request_headers[p.toLowerCase()] = g), u.apply(f, l);
8488
+ }) : n.addEventListener("readystatechange", a), n.setRequestHeader = new Proxy(n.setRequestHeader, {
8489
+ apply(u, l, f) {
8490
+ const [p, g] = f, _ = l[et];
8491
+ return _ && ge(p) && ge(g) && (_.request_headers[p.toLowerCase()] = g), u.apply(l, f);
8483
8492
  }
8484
8493
  }), e.apply(n, r);
8485
8494
  }
@@ -8506,12 +8515,12 @@ function Ml(t) {
8506
8515
  }
8507
8516
  }
8508
8517
  const Nl = 40;
8509
- function ho(t, e = Ol("fetch")) {
8518
+ function ho(t, e = Tl("fetch")) {
8510
8519
  let n = 0, r = 0;
8511
8520
  async function s(o) {
8512
8521
  const i = o.body.length;
8513
8522
  n += i, r++;
8514
- const a = {
8523
+ const c = {
8515
8524
  body: o.body,
8516
8525
  method: "POST",
8517
8526
  referrerPolicy: "strict-origin",
@@ -8531,16 +8540,16 @@ function ho(t, e = Ol("fetch")) {
8531
8540
  ...t.fetchOptions
8532
8541
  };
8533
8542
  try {
8534
- const c = await e(t.url, a);
8543
+ const a = await e(t.url, c);
8535
8544
  return {
8536
- statusCode: c.status,
8545
+ statusCode: a.status,
8537
8546
  headers: {
8538
- "x-sentry-rate-limits": c.headers.get("X-Sentry-Rate-Limits"),
8539
- "retry-after": c.headers.get("Retry-After")
8547
+ "x-sentry-rate-limits": a.headers.get("X-Sentry-Rate-Limits"),
8548
+ "retry-after": a.headers.get("Retry-After")
8540
8549
  }
8541
8550
  };
8542
- } catch (c) {
8543
- throw Tl("fetch"), c;
8551
+ } catch (a) {
8552
+ throw Ol("fetch"), a;
8544
8553
  } finally {
8545
8554
  n -= i, r--;
8546
8555
  }
@@ -8551,7 +8560,7 @@ function ho(t, e = Ol("fetch")) {
8551
8560
  Bn(t.bufferSize || Nl)
8552
8561
  );
8553
8562
  }
8554
- const Ht = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Al = 30, Pl = 50;
8563
+ const Ht = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Al = 30, Ll = 50;
8555
8564
  function En(t, e, n, r) {
8556
8565
  const s = {
8557
8566
  filename: t,
@@ -8561,14 +8570,14 @@ function En(t, e, n, r) {
8561
8570
  };
8562
8571
  return n !== void 0 && (s.lineno = n), r !== void 0 && (s.colno = r), s;
8563
8572
  }
8564
- const Ll = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Dl = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Bl = /\((\S*)(?::(\d+))(?::(\d+))\)/, jl = /at (.+?) ?\(data:(.+?),/, $l = (t) => {
8573
+ const Pl = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Dl = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Bl = /\((\S*)(?::(\d+))(?::(\d+))\)/, jl = /at (.+?) ?\(data:(.+?),/, $l = (t) => {
8565
8574
  const e = t.match(jl);
8566
8575
  if (e)
8567
8576
  return {
8568
8577
  filename: `<data:${e[2]}>`,
8569
8578
  function: e[1]
8570
8579
  };
8571
- const n = Ll.exec(t);
8580
+ const n = Pl.exec(t);
8572
8581
  if (n) {
8573
8582
  const [, s, o, i] = n;
8574
8583
  return En(s, Me, +o, +i);
@@ -8576,8 +8585,8 @@ const Ll = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Dl = /^\s*at (?:(.+?\)(?: \
8576
8585
  const r = Dl.exec(t);
8577
8586
  if (r) {
8578
8587
  if (r[2] && r[2].indexOf("eval") === 0) {
8579
- const a = Bl.exec(r[2]);
8580
- a && (r[2] = a[1], r[3] = a[2], r[4] = a[3]);
8588
+ const c = Bl.exec(r[2]);
8589
+ c && (r[2] = c[1], r[3] = c[2], r[4] = c[3]);
8581
8590
  }
8582
8591
  const [o, i] = go(r[1] || Me, r[2]);
8583
8592
  return En(i, o, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
@@ -8592,7 +8601,7 @@ const Ll = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Dl = /^\s*at (?:(.+?\)(?: \
8592
8601
  let r = e[3], s = e[1] || Me;
8593
8602
  return [s, r] = go(s, r), En(r, s, e[4] ? +e[4] : void 0, e[5] ? +e[5] : void 0);
8594
8603
  }
8595
- }, zl = [Pl, Vl], Gl = [Ul, zl], Yl = Ss(...Gl), go = (t, e) => {
8604
+ }, zl = [Ll, Vl], Gl = [Ul, zl], Yl = Ss(...Gl), go = (t, e) => {
8596
8605
  const n = t.indexOf("safari-extension") !== -1, r = t.indexOf("safari-web-extension") !== -1;
8597
8606
  return n || r ? [
8598
8607
  t.indexOf("@") !== -1 ? t.split("@")[0] : Me,
@@ -8622,7 +8631,7 @@ function Xl(t) {
8622
8631
  category: `sentry.${n.type === "transaction" ? "transaction" : "event"}`,
8623
8632
  event_id: n.event_id,
8624
8633
  level: n.level,
8625
- message: Te(n)
8634
+ message: Oe(n)
8626
8635
  },
8627
8636
  {
8628
8637
  event: n
@@ -8634,23 +8643,23 @@ function Ql(t, e) {
8634
8643
  return function(r) {
8635
8644
  if (X() !== t)
8636
8645
  return;
8637
- let s, o, i = typeof e == "object" ? e.serializeAttribute : void 0, a = typeof e == "object" && typeof e.maxStringLength == "number" ? e.maxStringLength : void 0;
8638
- a && a > vt && (Ht && x.warn(
8639
- `\`dom.maxStringLength\` cannot exceed ${vt}, but a value of ${a} was configured. Sentry will use ${vt} instead.`
8640
- ), a = vt), typeof i == "string" && (i = [i]);
8646
+ let s, o, i = typeof e == "object" ? e.serializeAttribute : void 0, c = typeof e == "object" && typeof e.maxStringLength == "number" ? e.maxStringLength : void 0;
8647
+ c && c > vt && (Ht && x.warn(
8648
+ `\`dom.maxStringLength\` cannot exceed ${vt}, but a value of ${c} was configured. Sentry will use ${vt} instead.`
8649
+ ), c = vt), typeof i == "string" && (i = [i]);
8641
8650
  try {
8642
- const u = r.event, f = rf(u) ? u.target : u;
8643
- s = Ts(f, { keyAttrs: i, maxStringLength: a }), o = la(f);
8651
+ const u = r.event, l = rf(u) ? u.target : u;
8652
+ s = Os(l, { keyAttrs: i, maxStringLength: c }), o = la(l);
8644
8653
  } catch {
8645
8654
  s = "<unknown>";
8646
8655
  }
8647
8656
  if (s.length === 0)
8648
8657
  return;
8649
- const c = {
8658
+ const a = {
8650
8659
  category: `ui.${r.name}`,
8651
8660
  message: s
8652
8661
  };
8653
- o && (c.data = { "ui.component_name": o }), Ne(c, {
8662
+ o && (a.data = { "ui.component_name": o }), Ne(a, {
8654
8663
  event: r.event,
8655
8664
  name: r.name,
8656
8665
  global: r.global
@@ -8688,22 +8697,22 @@ function ef(t) {
8688
8697
  const { startTimestamp: r, endTimestamp: s } = n, o = n.xhr[et];
8689
8698
  if (!r || !s || !o)
8690
8699
  return;
8691
- const { method: i, url: a, status_code: c, body: u } = o, f = {
8700
+ const { method: i, url: c, status_code: a, body: u } = o, l = {
8692
8701
  method: i,
8693
- url: a,
8694
- status_code: c
8695
- }, l = {
8702
+ url: c,
8703
+ status_code: a
8704
+ }, f = {
8696
8705
  xhr: n.xhr,
8697
8706
  input: u,
8698
8707
  startTimestamp: r,
8699
8708
  endTimestamp: s
8700
8709
  }, p = {
8701
8710
  category: "xhr",
8702
- data: f,
8711
+ data: l,
8703
8712
  type: "http",
8704
- level: uo(c)
8713
+ level: uo(a)
8705
8714
  };
8706
- t.emit("beforeOutgoingRequestBreadcrumb", p, l), Ne(p, l);
8715
+ t.emit("beforeOutgoingRequestBreadcrumb", p, f), Ne(p, f);
8707
8716
  };
8708
8717
  }
8709
8718
  function tf(t) {
@@ -8718,31 +8727,31 @@ function tf(t) {
8718
8727
  input: n.args,
8719
8728
  startTimestamp: r,
8720
8729
  endTimestamp: s
8721
- }, a = {
8730
+ }, c = {
8722
8731
  category: "fetch",
8723
8732
  data: o,
8724
8733
  level: "error",
8725
8734
  type: "http"
8726
8735
  };
8727
- t.emit("beforeOutgoingRequestBreadcrumb", a, i), Ne(a, i);
8736
+ t.emit("beforeOutgoingRequestBreadcrumb", c, i), Ne(c, i);
8728
8737
  } else {
8729
8738
  const o = n.response, i = {
8730
8739
  ...n.fetchData,
8731
8740
  status_code: o == null ? void 0 : o.status
8732
8741
  };
8733
8742
  n.fetchData.request_body_size, n.fetchData.response_body_size, o == null || o.status;
8734
- const a = {
8743
+ const c = {
8735
8744
  input: n.args,
8736
8745
  response: o,
8737
8746
  startTimestamp: r,
8738
8747
  endTimestamp: s
8739
- }, c = {
8748
+ }, a = {
8740
8749
  category: "fetch",
8741
8750
  data: i,
8742
8751
  type: "http",
8743
8752
  level: uo(i.status_code)
8744
8753
  };
8745
- t.emit("beforeOutgoingRequestBreadcrumb", c, a), Ne(c, a);
8754
+ t.emit("beforeOutgoingRequestBreadcrumb", a, c), Ne(a, c);
8746
8755
  }
8747
8756
  };
8748
8757
  }
@@ -8753,8 +8762,8 @@ function nf(t) {
8753
8762
  let r = n.from, s = n.to;
8754
8763
  const o = en(W.location.href);
8755
8764
  let i = r ? en(r) : void 0;
8756
- const a = en(s);
8757
- i != null && i.path || (i = o), o.protocol === a.protocol && o.host === a.host && (s = a.relative), o.protocol === i.protocol && o.host === i.host && (r = i.relative), Ne({
8765
+ const c = en(s);
8766
+ i != null && i.path || (i = o), o.protocol === c.protocol && o.host === c.host && (s = c.relative), o.protocol === i.protocol && o.host === i.host && (r = i.relative), Ne({
8758
8767
  category: "navigation",
8759
8768
  data: {
8760
8769
  from: r,
@@ -8858,8 +8867,8 @@ function lf(t) {
8858
8867
  handled: !1,
8859
8868
  type: `auto.browser.browserapierrors.xhr.${s}`
8860
8869
  }
8861
- }, a = Mn(o);
8862
- return a && (i.mechanism.data.handler = xe(a)), ze(o, i);
8870
+ }, c = Mn(o);
8871
+ return c && (i.mechanism.data.handler = xe(c)), ze(o, i);
8863
8872
  });
8864
8873
  }), t.apply(this, e);
8865
8874
  };
@@ -8868,12 +8877,12 @@ function ff(t, e) {
8868
8877
  var s, o;
8869
8878
  const r = (s = W[t]) == null ? void 0 : s.prototype;
8870
8879
  (o = r == null ? void 0 : r.hasOwnProperty) != null && o.call(r, "addEventListener") && (se(r, "addEventListener", function(i) {
8871
- return function(a, c, u) {
8880
+ return function(c, a, u) {
8872
8881
  try {
8873
- df(c) && (c.handleEvent = ze(c.handleEvent, {
8882
+ df(a) && (a.handleEvent = ze(a.handleEvent, {
8874
8883
  mechanism: {
8875
8884
  data: {
8876
- handler: xe(c),
8885
+ handler: xe(a),
8877
8886
  target: t
8878
8887
  },
8879
8888
  handled: !1,
@@ -8882,12 +8891,12 @@ function ff(t, e) {
8882
8891
  }));
8883
8892
  } catch {
8884
8893
  }
8885
- return e.unregisterOriginalCallbacks && pf(this, a, c), i.apply(this, [
8886
- a,
8887
- ze(c, {
8894
+ return e.unregisterOriginalCallbacks && pf(this, c, a), i.apply(this, [
8895
+ c,
8896
+ ze(a, {
8888
8897
  mechanism: {
8889
8898
  data: {
8890
- handler: xe(c),
8899
+ handler: xe(a),
8891
8900
  target: t
8892
8901
  },
8893
8902
  handled: !1,
@@ -8898,13 +8907,13 @@ function ff(t, e) {
8898
8907
  ]);
8899
8908
  };
8900
8909
  }), se(r, "removeEventListener", function(i) {
8901
- return function(a, c, u) {
8910
+ return function(c, a, u) {
8902
8911
  try {
8903
- const f = c.__sentry_wrapped__;
8904
- f && i.call(this, a, f, u);
8912
+ const l = a.__sentry_wrapped__;
8913
+ l && i.call(this, c, l, u);
8905
8914
  } catch {
8906
8915
  }
8907
- return i.call(this, a, c, u);
8916
+ return i.call(this, c, a, u);
8908
8917
  };
8909
8918
  }));
8910
8919
  }
@@ -8946,14 +8955,14 @@ function bf(t) {
8946
8955
  const { stackParser: n, attachStacktrace: r } = mo();
8947
8956
  if (X() !== t || lo())
8948
8957
  return;
8949
- const { msg: s, url: o, line: i, column: a, error: c } = e, u = Ef(
8950
- Un(n, c || s, void 0, r, !1),
8958
+ const { msg: s, url: o, line: i, column: c, error: a } = e, u = Ef(
8959
+ Un(n, a || s, void 0, r, !1),
8951
8960
  o,
8952
8961
  i,
8953
- a
8962
+ c
8954
8963
  );
8955
8964
  u.level = "error", zs(u, {
8956
- originalException: c,
8965
+ originalException: a,
8957
8966
  mechanism: {
8958
8967
  handled: !1,
8959
8968
  type: "auto.browser.global_handlers.onerror"
@@ -8966,7 +8975,7 @@ function _f(t) {
8966
8975
  const { stackParser: n, attachStacktrace: r } = mo();
8967
8976
  if (X() !== t || lo())
8968
8977
  return;
8969
- const s = vf(e), o = Lt(s) ? wf(s) : Un(n, s, void 0, r, !0);
8978
+ const s = vf(e), o = Pt(s) ? wf(s) : Un(n, s, void 0, r, !0);
8970
8979
  o.level = "error", zs(o, {
8971
8980
  originalException: s,
8972
8981
  mechanism: {
@@ -8977,7 +8986,7 @@ function _f(t) {
8977
8986
  });
8978
8987
  }
8979
8988
  function vf(t) {
8980
- if (Lt(t))
8989
+ if (Pt(t))
8981
8990
  return t;
8982
8991
  try {
8983
8992
  if ("reason" in t)
@@ -9003,13 +9012,13 @@ function wf(t) {
9003
9012
  }
9004
9013
  function Ef(t, e, n, r) {
9005
9014
  var p;
9006
- const s = t.exception = t.exception || {}, o = s.values = s.values || [], i = o[0] = o[0] || {}, a = i.stacktrace = i.stacktrace || {}, c = a.frames = a.frames || [], u = r, f = n, l = (p = Sf(e)) != null ? p : Fn();
9007
- return c.length === 0 && c.push({
9015
+ const s = t.exception = t.exception || {}, o = s.values = s.values || [], i = o[0] = o[0] || {}, c = i.stacktrace = i.stacktrace || {}, a = c.frames = c.frames || [], u = r, l = n, f = (p = Sf(e)) != null ? p : Fn();
9016
+ return a.length === 0 && a.push({
9008
9017
  colno: u,
9009
- filename: l,
9018
+ filename: f,
9010
9019
  function: Me,
9011
9020
  in_app: !0,
9012
- lineno: f
9021
+ lineno: l
9013
9022
  }), t;
9014
9023
  }
9015
9024
  function as(t) {
@@ -9047,7 +9056,7 @@ const Cf = () => ({
9047
9056
  headers: n
9048
9057
  };
9049
9058
  }
9050
- }), xf = "cause", kf = 5, Rf = "LinkedErrors", Of = ((t = {}) => {
9059
+ }), xf = "cause", kf = 5, Rf = "LinkedErrors", Tf = ((t = {}) => {
9051
9060
  const e = t.limit || kf, n = t.key || xf;
9052
9061
  return {
9053
9062
  name: Rf,
@@ -9064,7 +9073,7 @@ const Cf = () => ({
9064
9073
  );
9065
9074
  }
9066
9075
  };
9067
- }), Tf = Of;
9076
+ }), Of = Tf;
9068
9077
  function If() {
9069
9078
  return Ff() ? (Ht && Ye(() => {
9070
9079
  console.error(
@@ -9090,11 +9099,11 @@ function Mf(t) {
9090
9099
  // TODO(v11): Replace with `eventFiltersIntegration` once we remove the deprecated `inboundFiltersIntegration`
9091
9100
  // eslint-disable-next-line deprecation/deprecation
9092
9101
  Mu(),
9093
- Ou(),
9102
+ Tu(),
9094
9103
  cf(),
9095
9104
  Jl(),
9096
9105
  yf(),
9097
- Tf(),
9106
+ Of(),
9098
9107
  Gu(),
9099
9108
  Cf(),
9100
9109
  hf()
@@ -9120,7 +9129,7 @@ var cs;
9120
9129
  function Af() {
9121
9130
  if (cs) return I;
9122
9131
  cs = 1;
9123
- var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.consumer"), i = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.forward_ref"), c = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.memo"), f = /* @__PURE__ */ Symbol.for("react.lazy"), l = /* @__PURE__ */ Symbol.for("react.activity"), p = Symbol.iterator;
9132
+ var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), e = /* @__PURE__ */ Symbol.for("react.portal"), n = /* @__PURE__ */ Symbol.for("react.fragment"), r = /* @__PURE__ */ Symbol.for("react.strict_mode"), s = /* @__PURE__ */ Symbol.for("react.profiler"), o = /* @__PURE__ */ Symbol.for("react.consumer"), i = /* @__PURE__ */ Symbol.for("react.context"), c = /* @__PURE__ */ Symbol.for("react.forward_ref"), a = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.memo"), l = /* @__PURE__ */ Symbol.for("react.lazy"), f = /* @__PURE__ */ Symbol.for("react.activity"), p = Symbol.iterator;
9124
9133
  function g(d) {
9125
9134
  return d === null || typeof d != "object" ? null : (d = p && d[p] || d["@@iterator"], typeof d == "function" ? d : null);
9126
9135
  }
@@ -9155,10 +9164,10 @@ function Af() {
9155
9164
  }
9156
9165
  var N = E.prototype = new w();
9157
9166
  N.constructor = E, m(N, v.prototype), N.isPureReactComponent = !0;
9158
- var L = Array.isArray;
9167
+ var P = Array.isArray;
9159
9168
  function H() {
9160
9169
  }
9161
- var T = { H: null, A: null, T: null, S: null }, oe = Object.prototype.hasOwnProperty;
9170
+ var O = { H: null, A: null, T: null, S: null }, oe = Object.prototype.hasOwnProperty;
9162
9171
  function Q(d, b, k) {
9163
9172
  var R = k.ref;
9164
9173
  return {
@@ -9209,12 +9218,12 @@ function Af() {
9209
9218
  throw d;
9210
9219
  }
9211
9220
  function j(d, b, k, R, A) {
9212
- var P = typeof d;
9213
- (P === "undefined" || P === "boolean") && (d = null);
9221
+ var L = typeof d;
9222
+ (L === "undefined" || L === "boolean") && (d = null);
9214
9223
  var D = !1;
9215
9224
  if (d === null) D = !0;
9216
9225
  else
9217
- switch (P) {
9226
+ switch (L) {
9218
9227
  case "bigint":
9219
9228
  case "string":
9220
9229
  case "number":
@@ -9226,7 +9235,7 @@ function Af() {
9226
9235
  case e:
9227
9236
  D = !0;
9228
9237
  break;
9229
- case f:
9238
+ case l:
9230
9239
  return D = d._init, j(
9231
9240
  D(d._payload),
9232
9241
  b,
@@ -9237,7 +9246,7 @@ function Af() {
9237
9246
  }
9238
9247
  }
9239
9248
  if (D)
9240
- return A = A(d), D = R === "" ? "." + F(d, 0) : R, L(A) ? (k = "", D != null && (k = D.replace(G, "$&/") + "/"), j(A, b, k, "", function(bo) {
9249
+ return A = A(d), D = R === "" ? "." + F(d, 0) : R, P(A) ? (k = "", D != null && (k = D.replace(G, "$&/") + "/"), j(A, b, k, "", function(bo) {
9241
9250
  return bo;
9242
9251
  })) : A != null && (V(A) && (A = Z(
9243
9252
  A,
@@ -9248,25 +9257,25 @@ function Af() {
9248
9257
  )), b.push(A)), 1;
9249
9258
  D = 0;
9250
9259
  var re = R === "" ? "." : R + ":";
9251
- if (L(d))
9260
+ if (P(d))
9252
9261
  for (var ne = 0; ne < d.length; ne++)
9253
- R = d[ne], P = re + F(R, ne), D += j(
9262
+ R = d[ne], L = re + F(R, ne), D += j(
9254
9263
  R,
9255
9264
  b,
9256
9265
  k,
9257
- P,
9266
+ L,
9258
9267
  A
9259
9268
  );
9260
9269
  else if (ne = g(d), typeof ne == "function")
9261
9270
  for (d = ne.call(d), ne = 0; !(R = d.next()).done; )
9262
- R = R.value, P = re + F(R, ne++), D += j(
9271
+ R = R.value, L = re + F(R, ne++), D += j(
9263
9272
  R,
9264
9273
  b,
9265
9274
  k,
9266
- P,
9275
+ L,
9267
9276
  A
9268
9277
  );
9269
- else if (P === "object") {
9278
+ else if (L === "object") {
9270
9279
  if (typeof d.then == "function")
9271
9280
  return j(
9272
9281
  $(d),
@@ -9284,8 +9293,8 @@ function Af() {
9284
9293
  function U(d, b, k) {
9285
9294
  if (d == null) return d;
9286
9295
  var R = [], A = 0;
9287
- return j(d, R, "", "", function(P) {
9288
- return b.call(k, P, A++);
9296
+ return j(d, R, "", "", function(L) {
9297
+ return b.call(k, L, A++);
9289
9298
  }), R;
9290
9299
  }
9291
9300
  function ee(d) {
@@ -9347,10 +9356,10 @@ function Af() {
9347
9356
  return d;
9348
9357
  }
9349
9358
  };
9350
- return I.Activity = l, I.Children = fe, I.Component = v, I.Fragment = n, I.Profiler = s, I.PureComponent = E, I.StrictMode = r, I.Suspense = c, I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = T, I.__COMPILER_RUNTIME = {
9359
+ return I.Activity = f, I.Children = fe, I.Component = v, I.Fragment = n, I.Profiler = s, I.PureComponent = E, I.StrictMode = r, I.Suspense = a, I.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = O, I.__COMPILER_RUNTIME = {
9351
9360
  __proto__: null,
9352
9361
  c: function(d) {
9353
- return T.H.useMemoCache(d);
9362
+ return O.H.useMemoCache(d);
9354
9363
  }
9355
9364
  }, I.cache = function(d) {
9356
9365
  return function() {
@@ -9365,12 +9374,12 @@ function Af() {
9365
9374
  );
9366
9375
  var R = m({}, d.props), A = d.key;
9367
9376
  if (b != null)
9368
- for (P in b.key !== void 0 && (A = "" + b.key), b)
9369
- !oe.call(b, P) || P === "key" || P === "__self" || P === "__source" || P === "ref" && b.ref === void 0 || (R[P] = b[P]);
9370
- var P = arguments.length - 2;
9371
- if (P === 1) R.children = k;
9372
- else if (1 < P) {
9373
- for (var D = Array(P), re = 0; re < P; re++)
9377
+ for (L in b.key !== void 0 && (A = "" + b.key), b)
9378
+ !oe.call(b, L) || L === "key" || L === "__self" || L === "__source" || L === "ref" && b.ref === void 0 || (R[L] = b[L]);
9379
+ var L = arguments.length - 2;
9380
+ if (L === 1) R.children = k;
9381
+ else if (1 < L) {
9382
+ for (var D = Array(L), re = 0; re < L; re++)
9374
9383
  D[re] = arguments[re + 2];
9375
9384
  R.children = D;
9376
9385
  }
@@ -9388,9 +9397,9 @@ function Af() {
9388
9397
  _context: d
9389
9398
  }, d;
9390
9399
  }, I.createElement = function(d, b, k) {
9391
- var R, A = {}, P = null;
9400
+ var R, A = {}, L = null;
9392
9401
  if (b != null)
9393
- for (R in b.key !== void 0 && (P = "" + b.key), b)
9402
+ for (R in b.key !== void 0 && (L = "" + b.key), b)
9394
9403
  oe.call(b, R) && R !== "key" && R !== "__self" && R !== "__source" && (A[R] = b[R]);
9395
9404
  var D = arguments.length - 2;
9396
9405
  if (D === 1) A.children = k;
@@ -9402,14 +9411,14 @@ function Af() {
9402
9411
  if (d && d.defaultProps)
9403
9412
  for (R in D = d.defaultProps, D)
9404
9413
  A[R] === void 0 && (A[R] = D[R]);
9405
- return Q(d, P, A);
9414
+ return Q(d, L, A);
9406
9415
  }, I.createRef = function() {
9407
9416
  return { current: null };
9408
9417
  }, I.forwardRef = function(d) {
9409
- return { $$typeof: a, render: d };
9418
+ return { $$typeof: c, render: d };
9410
9419
  }, I.isValidElement = V, I.lazy = function(d) {
9411
9420
  return {
9412
- $$typeof: f,
9421
+ $$typeof: l,
9413
9422
  _payload: { _status: -1, _result: d },
9414
9423
  _init: ee
9415
9424
  };
@@ -9420,69 +9429,69 @@ function Af() {
9420
9429
  compare: b === void 0 ? null : b
9421
9430
  };
9422
9431
  }, I.startTransition = function(d) {
9423
- var b = T.T, k = {};
9424
- T.T = k;
9432
+ var b = O.T, k = {};
9433
+ O.T = k;
9425
9434
  try {
9426
- var R = d(), A = T.S;
9435
+ var R = d(), A = O.S;
9427
9436
  A !== null && A(k, R), typeof R == "object" && R !== null && typeof R.then == "function" && R.then(H, Y);
9428
- } catch (P) {
9429
- Y(P);
9437
+ } catch (L) {
9438
+ Y(L);
9430
9439
  } finally {
9431
- b !== null && k.types !== null && (b.types = k.types), T.T = b;
9440
+ b !== null && k.types !== null && (b.types = k.types), O.T = b;
9432
9441
  }
9433
9442
  }, I.unstable_useCacheRefresh = function() {
9434
- return T.H.useCacheRefresh();
9443
+ return O.H.useCacheRefresh();
9435
9444
  }, I.use = function(d) {
9436
- return T.H.use(d);
9445
+ return O.H.use(d);
9437
9446
  }, I.useActionState = function(d, b, k) {
9438
- return T.H.useActionState(d, b, k);
9447
+ return O.H.useActionState(d, b, k);
9439
9448
  }, I.useCallback = function(d, b) {
9440
- return T.H.useCallback(d, b);
9449
+ return O.H.useCallback(d, b);
9441
9450
  }, I.useContext = function(d) {
9442
- return T.H.useContext(d);
9451
+ return O.H.useContext(d);
9443
9452
  }, I.useDebugValue = function() {
9444
9453
  }, I.useDeferredValue = function(d, b) {
9445
- return T.H.useDeferredValue(d, b);
9454
+ return O.H.useDeferredValue(d, b);
9446
9455
  }, I.useEffect = function(d, b) {
9447
- return T.H.useEffect(d, b);
9456
+ return O.H.useEffect(d, b);
9448
9457
  }, I.useEffectEvent = function(d) {
9449
- return T.H.useEffectEvent(d);
9458
+ return O.H.useEffectEvent(d);
9450
9459
  }, I.useId = function() {
9451
- return T.H.useId();
9460
+ return O.H.useId();
9452
9461
  }, I.useImperativeHandle = function(d, b, k) {
9453
- return T.H.useImperativeHandle(d, b, k);
9462
+ return O.H.useImperativeHandle(d, b, k);
9454
9463
  }, I.useInsertionEffect = function(d, b) {
9455
- return T.H.useInsertionEffect(d, b);
9464
+ return O.H.useInsertionEffect(d, b);
9456
9465
  }, I.useLayoutEffect = function(d, b) {
9457
- return T.H.useLayoutEffect(d, b);
9466
+ return O.H.useLayoutEffect(d, b);
9458
9467
  }, I.useMemo = function(d, b) {
9459
- return T.H.useMemo(d, b);
9468
+ return O.H.useMemo(d, b);
9460
9469
  }, I.useOptimistic = function(d, b) {
9461
- return T.H.useOptimistic(d, b);
9470
+ return O.H.useOptimistic(d, b);
9462
9471
  }, I.useReducer = function(d, b, k) {
9463
- return T.H.useReducer(d, b, k);
9472
+ return O.H.useReducer(d, b, k);
9464
9473
  }, I.useRef = function(d) {
9465
- return T.H.useRef(d);
9474
+ return O.H.useRef(d);
9466
9475
  }, I.useState = function(d) {
9467
- return T.H.useState(d);
9476
+ return O.H.useState(d);
9468
9477
  }, I.useSyncExternalStore = function(d, b, k) {
9469
- return T.H.useSyncExternalStore(
9478
+ return O.H.useSyncExternalStore(
9470
9479
  d,
9471
9480
  b,
9472
9481
  k
9473
9482
  );
9474
9483
  }, I.useTransition = function() {
9475
- return T.H.useTransition();
9484
+ return O.H.useTransition();
9476
9485
  }, I.version = "19.2.4", I;
9477
9486
  }
9478
9487
  var us;
9479
- function Pf() {
9488
+ function Lf() {
9480
9489
  return us || (us = 1, nn.exports = Af()), nn.exports;
9481
9490
  }
9482
- var Hn = Pf();
9483
- const Lf = /* @__PURE__ */ Sn(Hn), Yd = /* @__PURE__ */ _o({
9491
+ var Hn = Lf();
9492
+ const Pf = /* @__PURE__ */ Sn(Hn), Yd = /* @__PURE__ */ _o({
9484
9493
  __proto__: null,
9485
- default: Lf
9494
+ default: Pf
9486
9495
  }, [Hn]);
9487
9496
  function Df(t) {
9488
9497
  const e = {
@@ -9596,31 +9605,31 @@ function ed(t) {
9596
9605
  throw new Error("No `createStore` function was provided");
9597
9606
  const s = n.createStore(n);
9598
9607
  let o = sn, i;
9599
- function a(l, p, g) {
9600
- return ds(l, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(l, p, g) : !0;
9608
+ function c(f, p, g) {
9609
+ return ds(f, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(f, p, g) : !0;
9601
9610
  }
9602
- function c(l) {
9611
+ function a(f) {
9603
9612
  i && clearTimeout(i), i = Jf(
9604
9613
  setTimeout(async () => {
9605
9614
  i = void 0;
9606
9615
  const p = await s.shift();
9607
- p && (e("Attempting to send previously queued event"), p[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), f(p, !0).catch((g) => {
9616
+ p && (e("Attempting to send previously queued event"), p[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), l(p, !0).catch((g) => {
9608
9617
  e("Failed to retry sending", g);
9609
9618
  }));
9610
- }, l)
9619
+ }, f)
9611
9620
  );
9612
9621
  }
9613
9622
  function u() {
9614
- i || (c(o), o = Math.min(o * 2, Zf));
9623
+ i || (a(o), o = Math.min(o * 2, Zf));
9615
9624
  }
9616
- async function f(l, p = !1) {
9625
+ async function l(f, p = !1) {
9617
9626
  var g, _;
9618
- if (!p && ds(l, ["replay_event", "replay_recording"]))
9619
- return await s.push(l), c(rn), {};
9627
+ if (!p && ds(f, ["replay_event", "replay_recording"]))
9628
+ return await s.push(f), a(rn), {};
9620
9629
  try {
9621
- if (n.shouldSend && await n.shouldSend(l) === !1)
9630
+ if (n.shouldSend && await n.shouldSend(f) === !1)
9622
9631
  throw new Error("Envelope not sent because `shouldSend` callback returned false");
9623
- const m = await r.send(l);
9632
+ const m = await r.send(f);
9624
9633
  let y = rn;
9625
9634
  if (m) {
9626
9635
  if ((g = m.headers) != null && g["retry-after"])
@@ -9630,20 +9639,20 @@ function ed(t) {
9630
9639
  else if ((m.statusCode || 0) >= 400)
9631
9640
  return m;
9632
9641
  }
9633
- return c(y), o = sn, m;
9642
+ return a(y), o = sn, m;
9634
9643
  } catch (m) {
9635
- if (await a(l, m, o))
9636
- return p ? await s.unshift(l) : await s.push(l), u(), e("Error sending. Event queued.", m), {};
9644
+ if (await c(f, m, o))
9645
+ return p ? await s.unshift(f) : await s.push(f), u(), e("Error sending. Event queued.", m), {};
9637
9646
  throw m;
9638
9647
  }
9639
9648
  }
9640
9649
  return n.flushAtStartup && u(), {
9641
- send: f,
9642
- flush: (l) => (l === void 0 && (o = sn, c(rn)), r.flush(l))
9650
+ send: l,
9651
+ flush: (f) => (f === void 0 && (o = sn, a(rn)), r.flush(f))
9643
9652
  };
9644
9653
  };
9645
9654
  }
9646
- const td = "production", nd = "3.0.0-alpha.13";
9655
+ const td = "production", nd = "3.0.0-alpha.15";
9647
9656
  function rd() {
9648
9657
  const t = "sentry_offline_queue";
9649
9658
  return {
@@ -9694,8 +9703,8 @@ function sd(t) {
9694
9703
  flushAtStartup: !0,
9695
9704
  // Attempt to send queued events on startup
9696
9705
  shouldStore: async (r, s) => {
9697
- var o, i, a;
9698
- return !!(!navigator.onLine || s && ((o = s.message) != null && o.includes("Failed to fetch") || (i = s.message) != null && i.includes("NetworkError") || (a = s.message) != null && a.includes("Network request failed")));
9706
+ var o, i, c;
9707
+ return !!(!navigator.onLine || s && ((o = s.message) != null && o.includes("Failed to fetch") || (i = s.message) != null && i.includes("NetworkError") || (c = s.message) != null && c.includes("Network request failed")));
9699
9708
  }
9700
9709
  }),
9701
9710
  // Performance Monitoring
@@ -9704,7 +9713,7 @@ function sd(t) {
9704
9713
  beforeSend(n, r) {
9705
9714
  var i;
9706
9715
  const s = [/loading chunk \d{1,2}\b/i, /zaloJS/i, /e\.target\.name/i, /ResizeObserver loop/i, /ChunkLoadError/i, /FloorPlan not ready/i, /NetworkError/i], o = n.message || ((i = r.originalException) == null ? void 0 : i.message) || "";
9707
- return s.some((a) => a.test(o)) ? null : n;
9716
+ return s.some((c) => c.test(o)) ? null : n;
9708
9717
  }
9709
9718
  }), t.eventId && Br("eventId", t.eventId), Br("isWebview", t.isWebview), Gc({
9710
9719
  ip_address: "{{auto}}"
@@ -9737,7 +9746,7 @@ function od() {
9737
9746
  });
9738
9747
  });
9739
9748
  }
9740
- function O() {
9749
+ function T() {
9741
9750
  throw new Error("FloorPlan not ready");
9742
9751
  }
9743
9752
  class id {
@@ -9749,140 +9758,140 @@ class id {
9749
9758
  }
9750
9759
  // options
9751
9760
  selectBooth(e) {
9752
- O();
9761
+ T();
9753
9762
  }
9754
9763
  selectExhibitor(e) {
9755
- O();
9764
+ T();
9756
9765
  }
9757
9766
  selectRoute(e, n) {
9758
- O();
9767
+ T();
9759
9768
  }
9760
9769
  getOptimizedRoutes(e) {
9761
- O();
9770
+ T();
9762
9771
  }
9763
9772
  selectCurrentPosition(e, n, r) {
9764
- O();
9773
+ T();
9765
9774
  }
9766
9775
  setBookmarks(e) {
9767
- O();
9776
+ T();
9768
9777
  }
9769
9778
  setEntitiesBookmarks(e) {
9770
- O();
9779
+ T();
9771
9780
  }
9772
9781
  setEntitiesVisited(e) {
9773
- O();
9782
+ T();
9774
9783
  }
9775
9784
  setMarkers(e) {
9776
- O();
9785
+ T();
9777
9786
  }
9778
9787
  /** @deprecated Use activateFloor instead */
9779
9788
  updateLayerVisibility(e, n) {
9780
- O();
9789
+ T();
9781
9790
  }
9782
9791
  getCenterCoordinates() {
9783
- O();
9792
+ T();
9784
9793
  }
9785
9794
  applyParameters(e) {
9786
- O();
9795
+ T();
9787
9796
  }
9788
9797
  exhibitorsList() {
9789
- O();
9798
+ T();
9790
9799
  }
9791
9800
  boothsList() {
9792
- O();
9801
+ T();
9793
9802
  }
9794
9803
  categoriesList() {
9795
- O();
9804
+ T();
9796
9805
  }
9797
9806
  selectCategory(e) {
9798
- O();
9807
+ T();
9799
9808
  }
9800
9809
  getVisibility() {
9801
- O();
9810
+ T();
9802
9811
  }
9803
9812
  setVisibility(e) {
9804
- O();
9813
+ T();
9805
9814
  }
9806
9815
  findLocation() {
9807
- O();
9816
+ T();
9808
9817
  }
9809
9818
  zoomIn() {
9810
- O();
9819
+ T();
9811
9820
  }
9812
9821
  zoomOut() {
9813
- O();
9822
+ T();
9814
9823
  }
9815
9824
  zoomTo(e, n) {
9816
- O();
9825
+ T();
9817
9826
  }
9818
9827
  switchView() {
9819
- O();
9828
+ T();
9820
9829
  }
9821
9830
  fitBounds() {
9822
- O();
9831
+ T();
9823
9832
  }
9824
9833
  getBounds(e) {
9825
- O();
9834
+ T();
9826
9835
  }
9827
9836
  getBoothRect(e) {
9828
- O();
9837
+ T();
9829
9838
  }
9830
9839
  convertToGeo(e, n) {
9831
- O();
9840
+ T();
9832
9841
  }
9833
9842
  unstable_destroy() {
9834
- O();
9843
+ T();
9835
9844
  }
9836
9845
  highlightExhibitors(e) {
9837
- O();
9846
+ T();
9838
9847
  }
9839
9848
  highlightBooths(e) {
9840
- O();
9849
+ T();
9841
9850
  }
9842
9851
  onCurrentPositionChanged(e) {
9843
- O();
9852
+ T();
9844
9853
  }
9845
9854
  search(e) {
9846
- O();
9855
+ T();
9847
9856
  }
9848
9857
  getFloors() {
9849
- O();
9858
+ T();
9850
9859
  }
9851
9860
  onFloorActivated(e) {
9852
- O();
9861
+ T();
9853
9862
  }
9854
9863
  activateFloor(e) {
9855
- O();
9864
+ T();
9856
9865
  }
9857
9866
  showPathway(e, n) {
9858
- O();
9867
+ T();
9859
9868
  }
9860
9869
  showPathwayOnly(e, n) {
9861
- O();
9870
+ T();
9862
9871
  }
9863
9872
  hidePathways() {
9864
- O();
9873
+ T();
9865
9874
  }
9866
9875
  showSearch() {
9867
- O();
9876
+ T();
9868
9877
  }
9869
9878
  changeLanguage(e) {
9870
- O();
9879
+ T();
9871
9880
  }
9872
9881
  isGpsTrackingEnabled() {
9873
- O();
9882
+ T();
9874
9883
  }
9875
9884
  setGpsTrackingEnabled(e) {
9876
- O();
9885
+ T();
9877
9886
  }
9878
9887
  deselectCurrentPosition() {
9879
- O();
9888
+ T();
9880
9889
  }
9881
9890
  deselectRoute() {
9882
- O();
9891
+ T();
9883
9892
  }
9884
9893
  reset() {
9885
- O();
9894
+ T();
9886
9895
  }
9887
9896
  // protected _addCustomCss = async () => { };
9888
9897
  constructor(e) {
@@ -9903,22 +9912,22 @@ class id {
9903
9912
  n.classList.remove(...s), n.classList.add("expofp-floorplan-default", ...s);
9904
9913
  const o = document.head || document.getElementsByTagName("head")[0], i = document.createElement("style");
9905
9914
  o.prepend(i), i.textContent = ".expofp-floorplan-default { width: 100%; height: 100%;}";
9906
- const a = document.createElement("div");
9907
- a.style.height = "100%", a.style.width = "100%", n.appendChild(a);
9908
- let c;
9915
+ const c = document.createElement("div");
9916
+ c.style.height = "100%", c.style.width = "100%", n.appendChild(c);
9917
+ let a;
9909
9918
  if (fr && (this.allowConsent = !0), e.allowConsent === void 0) {
9910
9919
  const E = new URL(window.location.href).searchParams.get("allowConsent");
9911
9920
  E && (this.allowConsent = E === "true");
9912
9921
  }
9913
- c = a;
9922
+ a = c;
9914
9923
  const u = document.createElement("div");
9915
- if (u.style.height = "100%", u.style.width = "100%", c.appendChild(u), this.renderTarget = u, n.getAttribute("data-data-url")) throw new Error("data-xxx attributes are removed, use options instead");
9916
- const f = e.legacyDataUrlBase;
9917
- window.__dataUrlBase = f, this.dataUrl = f, Se.log("Instantiating ExpoFP floorplan", e.element, r);
9918
- const l = f + "data.js", p = f + "wf.data.js", g = f + "fp.svg.js", _ = [
9924
+ if (u.style.height = "100%", u.style.width = "100%", a.appendChild(u), this.renderTarget = u, n.getAttribute("data-data-url")) throw new Error("data-xxx attributes are removed, use options instead");
9925
+ const l = e.legacyDataUrlBase;
9926
+ window.__dataUrlBase = l, this.dataUrl = l, Se.log("Instantiating ExpoFP floorplan", e.element, r);
9927
+ const f = l + "data.js", p = l + "wf.data.js", g = l + "fp.svg.js", _ = [
9919
9928
  // initOfflineManager(baseRuntimeUrl, [wfDataUrl, dataUrl, fpUrl]),
9920
9929
  gt(p),
9921
- gt(l),
9930
+ gt(f),
9922
9931
  gt(g)
9923
9932
  ];
9924
9933
  let m = 0;
@@ -9926,7 +9935,7 @@ class id {
9926
9935
  const E = window.__efpStyleElements;
9927
9936
  for (; m < E.length; ) {
9928
9937
  const N = E[m];
9929
- c.appendChild(N), m++;
9938
+ a.appendChild(N), m++;
9930
9939
  }
9931
9940
  }, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
9932
9941
  const y = this;
@@ -9938,16 +9947,16 @@ class id {
9938
9947
  await hi(2e3), await gt(g + `?v=${++E}`);
9939
9948
  const N = window.__data;
9940
9949
  await Di();
9941
- const L = new URLSearchParams(window.location.search);
9942
- let H, T;
9950
+ const P = new URLSearchParams(window.location.search);
9951
+ let H, O;
9943
9952
  if (N != null && N.trackerUrl)
9944
9953
  try {
9945
- H = new URL(N.trackerUrl), T = H.searchParams.get("expoId");
9954
+ H = new URL(N.trackerUrl), O = H.searchParams.get("expoId");
9946
9955
  } catch (F) {
9947
9956
  console.error(F);
9948
9957
  }
9949
9958
  const oe = async (F) => {
9950
- if (!H || !T)
9959
+ if (!H || !O)
9951
9960
  return Promise.reject(new Error("trackerUrl or expoId is missing"));
9952
9961
  const $ = new URL(F.dataUrl, H.origin), j = await fetch($.toString(), {
9953
9962
  method: "POST",
@@ -9955,8 +9964,8 @@ class id {
9955
9964
  "Content-Type": "application/json"
9956
9965
  },
9957
9966
  body: JSON.stringify({
9958
- expoId: T,
9959
- token: decodeURIComponent(L.get("t"))
9967
+ expoId: O,
9968
+ token: decodeURIComponent(P.get("t"))
9960
9969
  })
9961
9970
  });
9962
9971
  let U = [];
@@ -9964,10 +9973,10 @@ class id {
9964
9973
  yah: U
9965
9974
  };
9966
9975
  };
9967
- if (L.get("heatmap") === "true")
9976
+ if (P.get("heatmap") === "true")
9968
9977
  try {
9969
- if (L.get("type") === "yah")
9970
- L.get("subtype") === "kiosk" ? await oe({
9978
+ if (P.get("type") === "yah")
9979
+ P.get("subtype") === "kiosk" ? await oe({
9971
9980
  dataUrl: "/api/kiosks/list/viewer",
9972
9981
  dataMapper: (F) => ({
9973
9982
  ...F,
@@ -9983,9 +9992,9 @@ class id {
9983
9992
  });
9984
9993
  else {
9985
9994
  const F = new URL("/api/fp-stats/get", H.origin);
9986
- F.searchParams.set("expoId", T), F.searchParams.set("type", "booview"), F.searchParams.set("t", decodeURIComponent(L.get("t")));
9995
+ F.searchParams.set("expoId", O), F.searchParams.set("type", "booview"), F.searchParams.set("t", decodeURIComponent(P.get("t")));
9987
9996
  const $ = new URL("api/fp-stats/get", H.origin);
9988
- $.searchParams.set("expoId", T), $.searchParams.set("type", "exview"), $.searchParams.set("t", decodeURIComponent(L.get("t")));
9997
+ $.searchParams.set("expoId", O), $.searchParams.set("type", "exview"), $.searchParams.set("t", decodeURIComponent(P.get("t")));
9989
9998
  const [j, U] = await Promise.all([fetch(F.toString()), fetch($.toString())]), [ee, Y] = await Promise.all([j.json(), U.json()]);
9990
9999
  window.__heatmapData = {
9991
10000
  booths: ee,
@@ -10013,17 +10022,17 @@ class id {
10013
10022
  } catch (F) {
10014
10023
  console.error(F);
10015
10024
  }
10016
- const Q = [Gt(ae + "vendor/sanitize-css/sanitize.css", c), Gt(ae + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", c), Gt(ae + "vendor/mapbox/mapbox-gl.css", c), Le("Oswald", ae + "fonts/oswald-v17-cyrillic_latin-300.woff", {
10025
+ const Q = [Gt(ae + "vendor/sanitize-css/sanitize.css", a), Gt(ae + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", a), Gt(ae + "vendor/mapbox/mapbox-gl.css", a), Pe("Oswald", ae + "fonts/oswald-v17-cyrillic_latin-300.woff", {
10017
10026
  weight: 300
10018
- }), Le("Oswald", ae + "fonts/oswald-v17-cyrillic_latin-500.woff", {
10027
+ }), Pe("Oswald", ae + "fonts/oswald-v17-cyrillic_latin-500.woff", {
10019
10028
  weight: 500
10020
- }), Le("Inter", ae + "fonts/inter-400.woff2", {
10029
+ }), Pe("Inter", ae + "fonts/inter-400.woff2", {
10021
10030
  weight: 400
10022
- }), Le("Inter", ae + "fonts/inter-500.woff2", {
10031
+ }), Pe("Inter", ae + "fonts/inter-500.woff2", {
10023
10032
  weight: 500
10024
- }), Le("Inter", ae + "fonts/inter-600.woff2", {
10033
+ }), Pe("Inter", ae + "fonts/inter-600.woff2", {
10025
10034
  weight: 600
10026
- }), Le("efp-symbols", ae + "fonts/efp-symbols.woff", {
10035
+ }), Pe("efp-symbols", ae + "fonts/efp-symbols.woff", {
10027
10036
  weight: 400
10028
10037
  }), Bi(N), $i(y.icons)];
10029
10038
  await Promise.all(Q), y.enableRotation = (z = N == null ? void 0 : N.enableRotation) != null ? z : !1, y.alwaysShowSidebar = (G = N == null ? void 0 : N.alwaysShowSidebar) != null ? G : !1, Se.log("Data loaded");
@@ -10031,9 +10040,9 @@ class id {
10031
10040
  default: Z
10032
10041
  } = await import(
10033
10042
  /* webpackChunkName: "floorplan" */
10034
- "./floorplan.ready-D6FqQD8c.js"
10043
+ "./floorplan.ready-CZn5dvsU.js"
10035
10044
  ).then((F) => F.aF);
10036
- for (document.querySelectorAll(".expofp-floorplan-loader").forEach((F) => F.remove()); n.firstChild && n.firstChild !== a; )
10045
+ for (document.querySelectorAll(".expofp-floorplan-loader").forEach((F) => F.remove()); n.firstChild && n.firstChild !== c; )
10037
10046
  n.removeChild(n.firstChild);
10038
10047
  Object.setPrototypeOf(y, Z.prototype).init();
10039
10048
  })();
@@ -10041,40 +10050,44 @@ class id {
10041
10050
  }
10042
10051
  const ps = kt("efp:load");
10043
10052
  async function qd(t, e) {
10044
- Lo(), Bo();
10053
+ Po(), Bo();
10045
10054
  const r = {
10046
10055
  ...await Zn(t),
10047
10056
  ...e
10048
10057
  }, s = r.element;
10049
10058
  let o;
10050
10059
  if (typeof s == "string") {
10051
- const u = document.querySelector(s);
10052
- if (!u)
10060
+ const l = document.querySelector(s);
10061
+ if (!l)
10053
10062
  throw new Error(`Element not found for selector: ${s}`);
10054
- o = u;
10063
+ o = l;
10055
10064
  } else s ? o = s : (o = document.getElementById("floorplan"), o || (o = document.createElement("div"), ad(o), document.body.appendChild(o)));
10056
10065
  const i = o.style;
10057
10066
  i.width = i.width || "100vw", i.height = i.height || "100vh", i.position = i.position || "fixed", i.touchAction = i.touchAction || "none", i.background = i.background || "#fff", i.transition = i.transition || "background-color 2s ease", i.overflow = i.overflow || "hidden", requestAnimationFrame(() => {
10058
10067
  i.backgroundColor = "#ebebeb";
10059
10068
  });
10060
- const a = r.legacyDataUrlBase;
10061
- if (ps("legacyDataUrlBase", a), r.legacyDataVersion)
10069
+ const c = r.legacyDataUrlBase;
10070
+ if (ps("legacyDataUrlBase", c), r.legacyDataVersion)
10062
10071
  try {
10063
10072
  const {
10064
- version: u
10073
+ version: l
10065
10074
  } = await Zn(r.legacyDataVersion);
10066
- globalThis.__fpDataVersion = u;
10075
+ globalThis.__fpDataVersion = l;
10067
10076
  } catch {
10068
10077
  ps("Could not resolve version");
10069
10078
  }
10070
- const c = new id({
10079
+ const a = new id({
10071
10080
  ...r,
10072
10081
  element: o
10073
- });
10074
- return window.___fp = c, import("./index-d52BKaOl.js").then((u) => u.i).then(({
10075
- initDebug: u
10076
- }) => u()).catch(() => {
10077
- }), c;
10082
+ }), u = window.___fpResolve;
10083
+ return window.___fp = a, u && (a.ready.then(() => u(a)), delete window.___fpResolve), a.ready.then(() => window.dispatchEvent(new CustomEvent("expofp:ready", {
10084
+ detail: {
10085
+ floorplan: a
10086
+ }
10087
+ }))), import("./index-sNwIhVDZ.js").then((l) => l.i).then(({
10088
+ initDebug: l
10089
+ }) => l()).catch(() => {
10090
+ }), a;
10078
10091
  }
10079
10092
  function ad(t) {
10080
10093
  if (!document.adoptedStyleSheets) return;
@@ -10144,10 +10157,10 @@ window.__efpStyleElements = [];
10144
10157
  export {
10145
10158
  ld as $,
10146
10159
  Ad as A,
10147
- Pd as B,
10160
+ Ld as B,
10148
10161
  fr as C,
10149
10162
  Ht as D,
10150
- Ld as E,
10163
+ Pd as E,
10151
10164
  Uo as F,
10152
10165
  ji as G,
10153
10166
  pd as H,
@@ -10172,8 +10185,8 @@ export {
10172
10185
  vd as _,
10173
10186
  X as a,
10174
10187
  fd as a0,
10175
- Td as a1,
10176
- Od as a2,
10188
+ Od as a1,
10189
+ Td as a2,
10177
10190
  yd as a3,
10178
10191
  Bd as a4,
10179
10192
  kd as a5,
@@ -10189,7 +10202,7 @@ export {
10189
10202
  Fd as af,
10190
10203
  xo as ag,
10191
10204
  fi as ah,
10192
- Pf as ai,
10205
+ Lf as ai,
10193
10206
  Yd as aj,
10194
10207
  qd as ak,
10195
10208
  zd as b,
@@ -10197,20 +10210,20 @@ export {
10197
10210
  x as d,
10198
10211
  hn as e,
10199
10212
  Sn as f,
10200
- Oe as g,
10213
+ Te as g,
10201
10214
  Hi as h,
10202
- Pt as i,
10215
+ Lt as i,
10203
10216
  kn as j,
10204
10217
  zo as k,
10205
10218
  Se as l,
10206
10219
  Wo as m,
10207
10220
  Hd as n,
10208
- Lf as o,
10221
+ Pf as o,
10209
10222
  Vd as p,
10210
- Li as q,
10223
+ Pi as q,
10211
10224
  Hn as r,
10212
10225
  $d as s,
10213
- Pi as t,
10226
+ Li as t,
10214
10227
  Wd as u,
10215
10228
  kt as v,
10216
10229
  Ra as w,