@expofp/floorplan 3.0.0 → 3.0.1
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.
- package/dist/browser/{Debug-Yknbb09q.js → Debug-b2YI2Uxo.js} +3 -3
- package/dist/browser/{Demo-CaOFZa6L.js → Demo-aEKqZbJJ.js} +4 -4
- package/dist/browser/{Free-DTL80JI4.js → Free-BGr4o53R.js} +4 -4
- package/dist/browser/{Gallery-Du04PQQo.js → Gallery-C9n64fhu.js} +4 -4
- package/dist/browser/{GpsLoader-Cvn6RlOm.js → GpsLoader-ChxBR2EI.js} +4 -4
- package/dist/browser/{KioskStore-De5ViEMC.js → KioskStore-DkCSeq5I.js} +4 -4
- package/dist/browser/{Mapbox-DwX3p3Kb.js → Mapbox-Cl0Wxz2h.js} +5 -5
- package/dist/browser/{SetKioskMode-DY8Ihzh_.js → SetKioskMode-D3EJeF9c.js} +5 -5
- package/dist/browser/{ShowKiosk-fqRB_BUN.js → ShowKiosk-Bs5q-1RZ.js} +4 -4
- package/dist/browser/{ThreeComponent-CrAcuY6n.js → ThreeComponent-CSsqNYDu.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-CdiEJm9h.js → ViewerMenuPanel-BMmB1p03.js} +4 -4
- package/dist/browser/{boolean-editor-BCIboJVq.js → boolean-editor-DpnmndKH.js} +4 -4
- package/dist/browser/bundle.json +29 -29
- package/dist/browser/{client-BU0UzF6H.js → client-CN_I7kK8.js} +2 -2
- package/dist/browser/{data-DU1RvfMj.js → data-CIAMSGsv.js} +2 -2
- package/dist/browser/{debug-overlay-DMGwYhOT.js → debug-overlay-DjmA0D2r.js} +5 -5
- package/dist/browser/{debug-ui-BZSH53uY.js → debug-ui-D1QGTN8V.js} +4 -4
- package/dist/browser/{favicon-ZTHZQvuM.js → favicon-BpTKNfwa.js} +1 -1
- package/dist/browser/{fetch-retry.umd-CFhXCSM1.js → fetch-retry.umd-B8hV1FNr.js} +1 -1
- package/dist/browser/{flex-D0XnC5Mw.js → flex-09atkOGP.js} +3 -3
- package/dist/browser/{floorplan.ready-DwzYk5s3.js → floorplan.ready-BQetaqdP.js} +225 -227
- package/dist/browser/{index-BZDxL6gh.js → index-Bw6xZlSd.js} +1 -1
- package/dist/browser/{index-BpZSlPvc.js → index-C71k7nSe.js} +3 -3
- package/dist/browser/{index-h3LFHvKr.js → index-CWLY6XdC.js} +4 -4
- package/dist/browser/{index-fEI_0iId.js → index-D9pdVw-U.js} +1 -1
- package/dist/browser/{index-BxFqdKuM.js → index-DPSQIIUy.js} +5 -5
- package/dist/browser/{index-xQ7Ip4HB.js → index-jp-Zhdyp.js} +2 -2
- package/dist/browser/index.js +592 -592
- package/dist/browser/{jsx-runtime-SRODV826.js → jsx-runtime-CoKhM3tL.js} +1 -1
- package/dist/browser/{main-CcaoXWR4.js → main-DxaHLbma.js} +1 -1
- package/dist/browser/{particles.min-Ds_4ex2r.js → particles.min-CsHbc6cO.js} +1 -1
- package/dist/esm/store/FuzzySearchEngineStore.js +1 -1
- package/package.json +3 -3
package/dist/browser/index.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
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.
|
|
4
|
+
t.SENTRY_RELEASE = { id: "3.0.1" };
|
|
5
5
|
var e = new t.Error().stack;
|
|
6
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
6
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "bb04d88e-c6cc-4392-9fdb-2c0fa0e54bbf", t._sentryDebugIdIdentifier = "sentry-dbid-bb04d88e-c6cc-4392-9fdb-2c0fa0e54bbf");
|
|
7
7
|
} catch {
|
|
8
8
|
}
|
|
9
9
|
})();
|
|
@@ -26,29 +26,29 @@ function qa(t, e) {
|
|
|
26
26
|
function Zr(t) {
|
|
27
27
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
28
28
|
}
|
|
29
|
-
var an = { exports: {} },
|
|
29
|
+
var an = { exports: {} }, fr, Ti;
|
|
30
30
|
function Ka() {
|
|
31
|
-
if (Ti) return
|
|
31
|
+
if (Ti) return fr;
|
|
32
32
|
Ti = 1;
|
|
33
33
|
var t = 1e3, e = t * 60, n = e * 60, r = n * 24, i = r * 7, s = r * 365.25;
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
var p = typeof
|
|
37
|
-
if (p === "string" &&
|
|
38
|
-
return o(
|
|
39
|
-
if (p === "number" && isFinite(
|
|
40
|
-
return
|
|
34
|
+
fr = function(f, l) {
|
|
35
|
+
l = l || {};
|
|
36
|
+
var p = typeof f;
|
|
37
|
+
if (p === "string" && f.length > 0)
|
|
38
|
+
return o(f);
|
|
39
|
+
if (p === "number" && isFinite(f))
|
|
40
|
+
return l.long ? c(f) : a(f);
|
|
41
41
|
throw new Error(
|
|
42
|
-
"val is not a non-empty string or a valid number. val=" + JSON.stringify(
|
|
42
|
+
"val is not a non-empty string or a valid number. val=" + JSON.stringify(f)
|
|
43
43
|
);
|
|
44
44
|
};
|
|
45
|
-
function o(
|
|
46
|
-
if (
|
|
47
|
-
var
|
|
48
|
-
|
|
45
|
+
function o(f) {
|
|
46
|
+
if (f = String(f), !(f.length > 100)) {
|
|
47
|
+
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(
|
|
48
|
+
f
|
|
49
49
|
);
|
|
50
|
-
if (
|
|
51
|
-
var p = parseFloat(
|
|
50
|
+
if (l) {
|
|
51
|
+
var p = parseFloat(l[1]), h = (l[2] || "ms").toLowerCase();
|
|
52
52
|
switch (h) {
|
|
53
53
|
case "years":
|
|
54
54
|
case "year":
|
|
@@ -94,36 +94,36 @@ function Ka() {
|
|
|
94
94
|
}
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
function a(
|
|
98
|
-
var
|
|
99
|
-
return
|
|
97
|
+
function a(f) {
|
|
98
|
+
var l = Math.abs(f);
|
|
99
|
+
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";
|
|
100
100
|
}
|
|
101
|
-
function c(
|
|
102
|
-
var
|
|
103
|
-
return
|
|
101
|
+
function c(f) {
|
|
102
|
+
var l = Math.abs(f);
|
|
103
|
+
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";
|
|
104
104
|
}
|
|
105
|
-
function u(
|
|
106
|
-
var y =
|
|
107
|
-
return Math.round(
|
|
105
|
+
function u(f, l, p, h) {
|
|
106
|
+
var y = l >= p * 1.5;
|
|
107
|
+
return Math.round(f / p) + " " + h + (y ? "s" : "");
|
|
108
108
|
}
|
|
109
|
-
return
|
|
109
|
+
return fr;
|
|
110
110
|
}
|
|
111
|
-
var
|
|
111
|
+
var lr, Ii;
|
|
112
112
|
function Ya() {
|
|
113
|
-
if (Ii) return
|
|
113
|
+
if (Ii) return lr;
|
|
114
114
|
Ii = 1;
|
|
115
115
|
function t(e) {
|
|
116
|
-
r.debug = r, r.default = r, r.coerce = u, r.disable = a, r.enable = s, r.enabled = c, r.humanize = Ka(), r.destroy =
|
|
117
|
-
r[
|
|
116
|
+
r.debug = r, r.default = r, r.coerce = u, r.disable = a, r.enable = s, r.enabled = c, r.humanize = Ka(), r.destroy = f, Object.keys(e).forEach((l) => {
|
|
117
|
+
r[l] = e[l];
|
|
118
118
|
}), r.names = [], r.skips = [], r.formatters = {};
|
|
119
|
-
function n(
|
|
119
|
+
function n(l) {
|
|
120
120
|
let p = 0;
|
|
121
|
-
for (let h = 0; h <
|
|
122
|
-
p = (p << 5) - p +
|
|
121
|
+
for (let h = 0; h < l.length; h++)
|
|
122
|
+
p = (p << 5) - p + l.charCodeAt(h), p |= 0;
|
|
123
123
|
return r.colors[Math.abs(p) % r.colors.length];
|
|
124
124
|
}
|
|
125
125
|
r.selectColor = n;
|
|
126
|
-
function r(
|
|
126
|
+
function r(l) {
|
|
127
127
|
let p, h = null, y, m;
|
|
128
128
|
function v(..._) {
|
|
129
129
|
if (!v.enabled)
|
|
@@ -143,29 +143,29 @@ function Ya() {
|
|
|
143
143
|
return A;
|
|
144
144
|
}), r.formatArgs.call(E, _), (E.log || r.log).apply(E, _);
|
|
145
145
|
}
|
|
146
|
-
return v.namespace =
|
|
146
|
+
return v.namespace = l, v.useColors = r.useColors(), v.color = r.selectColor(l), v.extend = i, v.destroy = r.destroy, Object.defineProperty(v, "enabled", {
|
|
147
147
|
enumerable: !0,
|
|
148
148
|
configurable: !1,
|
|
149
|
-
get: () => h !== null ? h : (y !== r.namespaces && (y = r.namespaces, m = r.enabled(
|
|
149
|
+
get: () => h !== null ? h : (y !== r.namespaces && (y = r.namespaces, m = r.enabled(l)), m),
|
|
150
150
|
set: (_) => {
|
|
151
151
|
h = _;
|
|
152
152
|
}
|
|
153
153
|
}), typeof r.init == "function" && r.init(v), v;
|
|
154
154
|
}
|
|
155
|
-
function i(
|
|
156
|
-
const h = r(this.namespace + (typeof p > "u" ? ":" : p) +
|
|
155
|
+
function i(l, p) {
|
|
156
|
+
const h = r(this.namespace + (typeof p > "u" ? ":" : p) + l);
|
|
157
157
|
return h.log = this.log, h;
|
|
158
158
|
}
|
|
159
|
-
function s(
|
|
160
|
-
r.save(
|
|
161
|
-
const p = (typeof
|
|
159
|
+
function s(l) {
|
|
160
|
+
r.save(l), r.namespaces = l, r.names = [], r.skips = [];
|
|
161
|
+
const p = (typeof l == "string" ? l : "").trim().replace(/\s+/g, ",").split(",").filter(Boolean);
|
|
162
162
|
for (const h of p)
|
|
163
163
|
h[0] === "-" ? r.skips.push(h.slice(1)) : r.names.push(h);
|
|
164
164
|
}
|
|
165
|
-
function o(
|
|
165
|
+
function o(l, p) {
|
|
166
166
|
let h = 0, y = 0, m = -1, v = 0;
|
|
167
|
-
for (; h <
|
|
168
|
-
if (y < p.length && (p[y] ===
|
|
167
|
+
for (; h < l.length; )
|
|
168
|
+
if (y < p.length && (p[y] === l[h] || p[y] === "*"))
|
|
169
169
|
p[y] === "*" ? (m = y, v = h, y++) : (h++, y++);
|
|
170
170
|
else if (m !== -1)
|
|
171
171
|
y = m + 1, v++, h = v;
|
|
@@ -176,30 +176,30 @@ function Ya() {
|
|
|
176
176
|
return y === p.length;
|
|
177
177
|
}
|
|
178
178
|
function a() {
|
|
179
|
-
const
|
|
179
|
+
const l = [
|
|
180
180
|
...r.names,
|
|
181
181
|
...r.skips.map((p) => "-" + p)
|
|
182
182
|
].join(",");
|
|
183
|
-
return r.enable(""),
|
|
183
|
+
return r.enable(""), l;
|
|
184
184
|
}
|
|
185
|
-
function c(
|
|
185
|
+
function c(l) {
|
|
186
186
|
for (const p of r.skips)
|
|
187
|
-
if (o(
|
|
187
|
+
if (o(l, p))
|
|
188
188
|
return !1;
|
|
189
189
|
for (const p of r.names)
|
|
190
|
-
if (o(
|
|
190
|
+
if (o(l, p))
|
|
191
191
|
return !0;
|
|
192
192
|
return !1;
|
|
193
193
|
}
|
|
194
|
-
function u(
|
|
195
|
-
return
|
|
194
|
+
function u(l) {
|
|
195
|
+
return l instanceof Error ? l.stack || l.message : l;
|
|
196
196
|
}
|
|
197
|
-
function
|
|
197
|
+
function f() {
|
|
198
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`.");
|
|
199
199
|
}
|
|
200
200
|
return r.enable(r.load()), r;
|
|
201
201
|
}
|
|
202
|
-
return
|
|
202
|
+
return lr = t, lr;
|
|
203
203
|
}
|
|
204
204
|
var Pi;
|
|
205
205
|
function Ja() {
|
|
@@ -304,10 +304,10 @@ function Ja() {
|
|
|
304
304
|
return;
|
|
305
305
|
const u = "color: " + this.color;
|
|
306
306
|
c.splice(1, 0, u, "color: inherit");
|
|
307
|
-
let
|
|
307
|
+
let f = 0, l = 0;
|
|
308
308
|
c[0].replace(/%[a-zA-Z%]/g, (p) => {
|
|
309
|
-
p !== "%%" && (
|
|
310
|
-
}), c.splice(
|
|
309
|
+
p !== "%%" && (f++, p === "%c" && (l = f));
|
|
310
|
+
}), c.splice(l, 0, u);
|
|
311
311
|
}
|
|
312
312
|
e.log = console.debug || console.log || (() => {
|
|
313
313
|
});
|
|
@@ -464,15 +464,15 @@ function nc(t) {
|
|
|
464
464
|
blocks: n
|
|
465
465
|
};
|
|
466
466
|
}
|
|
467
|
-
function
|
|
467
|
+
function lo(t) {
|
|
468
468
|
return t === null || typeof t != "object" ? t : (Object.getOwnPropertyNames(t).forEach((e) => {
|
|
469
469
|
const n = t[e];
|
|
470
|
-
n && typeof n == "object" &&
|
|
470
|
+
n && typeof n == "object" && lo(n);
|
|
471
471
|
}), Object.freeze(t));
|
|
472
472
|
}
|
|
473
473
|
let cn;
|
|
474
474
|
const rc = async function(...e) {
|
|
475
|
-
return cn || (typeof window < "u" && typeof document < "u" ? cn = window.fetch.bind(window) : cn = (await import("./fetch-retry.umd-
|
|
475
|
+
return cn || (typeof window < "u" && typeof document < "u" ? cn = window.fetch.bind(window) : cn = (await import("./fetch-retry.umd-B8hV1FNr.js").then((i) => i.f)).default(globalThis.fetch)), cn(...e);
|
|
476
476
|
};
|
|
477
477
|
async function ic(t) {
|
|
478
478
|
var e;
|
|
@@ -484,20 +484,20 @@ async function sc() {
|
|
|
484
484
|
return ic("node:fs/promises");
|
|
485
485
|
}
|
|
486
486
|
const un = kn("efp:utils:importJson");
|
|
487
|
-
let
|
|
487
|
+
let fn;
|
|
488
488
|
const Li = /* @__PURE__ */ new WeakSet(), Fi = new Function("url", 'return import(url, { with: { type: "json" } });');
|
|
489
489
|
async function oc(t, e) {
|
|
490
490
|
const n = {
|
|
491
491
|
fetchCache: (e == null ? void 0 : e.fetchCache) || /* @__PURE__ */ new Map()
|
|
492
492
|
};
|
|
493
|
-
if (
|
|
493
|
+
if (fn === void 0)
|
|
494
494
|
try {
|
|
495
|
-
await Fi(t),
|
|
495
|
+
await Fi(t), fn = !1;
|
|
496
496
|
} catch {
|
|
497
|
-
un("Dynamic import not available"),
|
|
497
|
+
un("Dynamic import not available"), fn = !0;
|
|
498
498
|
}
|
|
499
499
|
let r;
|
|
500
|
-
return
|
|
500
|
+
return fn ? t.startsWith("file:") ? (un("Read from file system", t), r = await cc(new URL(t))) : (un("Fetch", t), r = await ac(t, n.fetchCache, null)) : (un("Dynamic import", t), r = (await Fi(t)).default), typeof r == "object" && r !== null && !Li.has(r) && (lo(r), Li.add(r)), r;
|
|
501
501
|
}
|
|
502
502
|
async function ac(t, e, n) {
|
|
503
503
|
const r = "__loadJson__" + t;
|
|
@@ -528,7 +528,7 @@ async function Di(t, e) {
|
|
|
528
528
|
};
|
|
529
529
|
return typeof t != "object" || t === null || !("$ref" in t) ? t : await oc(t.$ref, n);
|
|
530
530
|
}
|
|
531
|
-
function
|
|
531
|
+
function fc() {
|
|
532
532
|
if (typeof window > "u" || typeof document > "u")
|
|
533
533
|
return;
|
|
534
534
|
if (!document.querySelector('meta[name="viewport"]')) {
|
|
@@ -536,7 +536,7 @@ function lc() {
|
|
|
536
536
|
n.name = "viewport", n.content = "width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no", document.head.appendChild(n);
|
|
537
537
|
}
|
|
538
538
|
const e = () => !!document.querySelector('link[rel="icon"]');
|
|
539
|
-
e() || import("./favicon-
|
|
539
|
+
e() || import("./favicon-BpTKNfwa.js").then(({
|
|
540
540
|
default: n
|
|
541
541
|
}) => {
|
|
542
542
|
if (e())
|
|
@@ -545,9 +545,9 @@ function lc() {
|
|
|
545
545
|
r.rel = "icon", r.type = "image/png", r.href = n, document.head.appendChild(r);
|
|
546
546
|
}), (!document.title || document.title === "Document") && (document.title = "Floor Plan by ExpoFP");
|
|
547
547
|
}
|
|
548
|
-
var
|
|
548
|
+
var lc = { version: "3.0.1", commit: "501979bf4", branch: "vite-main", built: "2026-04-24T15:22:52.794Z" };
|
|
549
549
|
function dc() {
|
|
550
|
-
const t =
|
|
550
|
+
const t = lc;
|
|
551
551
|
if (t) {
|
|
552
552
|
const e = new Date(t.built);
|
|
553
553
|
console.info(
|
|
@@ -579,7 +579,7 @@ function pc(t) {
|
|
|
579
579
|
const n = (/* @__PURE__ */ new Date()).getTime() - t.getTime(), r = Math.floor(n / (1e3 * 60 * 60 * 24)), i = Math.floor(n / (1e3 * 60 * 60) % 24), s = Math.floor(n / (1e3 * 60) % 60), o = [];
|
|
580
580
|
return r > 0 && o.push(`${r} day${r !== 1 ? "s" : ""}`), i > 0 && o.push(`${i} hour${i !== 1 ? "s" : ""}`), s > 0 && o.push(`${s} minute${s !== 1 ? "s" : ""}`), o.length === 0 ? "just now" : o.join(" ") + " ago";
|
|
581
581
|
}
|
|
582
|
-
const zg = "___visibility", qg = "previewMode", Kg = "___preview_mode", hc = "data-preview-mode", Yg = "booths", Jg = ":", Xg = "$$", Qg = "kiosk", Zg = "setkiosk", em = "expofp-map-settings", tm = "debug", nm = "ft", rm = "build-route", im = "planner", sm = "source", om = "from", am = "pathway", cm = 1e3, um = 768,
|
|
582
|
+
const zg = "___visibility", qg = "previewMode", Kg = "___preview_mode", hc = "data-preview-mode", Yg = "booths", Jg = ":", Xg = "$$", Qg = "kiosk", Zg = "setkiosk", em = "expofp-map-settings", tm = "debug", nm = "ft", rm = "build-route", im = "planner", sm = "source", om = "from", am = "pathway", cm = 1e3, um = 768, fm = "lang", gc = "language", lm = "uiscale", dm = "resetuiscale", pm = "___ui-scale", hm = 8, mc = "--expofp-font-face", gm = "--expofp-booth-main-weight", mm = "--expofp-booth-details-weight", vm = "--expofp-exhibitor-main-weight", ym = "--expofp-exhibitor-details-weight", bm = "--expofp-booth-special-weight", _m = "efp-compass-permission-granted", wm = "viewermode", Em = "___viewer_mode";
|
|
583
583
|
let Tn;
|
|
584
584
|
Tn = new URL(
|
|
585
585
|
/* @vite-ignore */
|
|
@@ -976,8 +976,8 @@ class g {
|
|
|
976
976
|
const i = g.getVersionPrecision(e), s = g.getVersionPrecision(n);
|
|
977
977
|
let o = Math.max(i, s), a = 0;
|
|
978
978
|
const c = g.map([e, n], (u) => {
|
|
979
|
-
const
|
|
980
|
-
return g.map(
|
|
979
|
+
const f = o - g.getVersionPrecision(u), l = u + new Array(f + 1).join(".0");
|
|
980
|
+
return g.map(l.split("."), (p) => new Array(20 - p.length).join("0") + p).reverse();
|
|
981
981
|
});
|
|
982
982
|
for (r && (a = o - Math.min(i, s)), o -= 1; o >= a; ) {
|
|
983
983
|
if (c[0][o] > c[1][o])
|
|
@@ -2783,20 +2783,20 @@ class Bi {
|
|
|
2783
2783
|
const c = e[a];
|
|
2784
2784
|
typeof c == "string" ? (i[a] = c, s += 1) : typeof c == "object" && (n[a] = c, r += 1);
|
|
2785
2785
|
}), r > 0) {
|
|
2786
|
-
const a = Object.keys(n), c = g.find(a, (
|
|
2786
|
+
const a = Object.keys(n), c = g.find(a, (f) => this.isOS(f));
|
|
2787
2787
|
if (c) {
|
|
2788
|
-
const
|
|
2789
|
-
if (
|
|
2790
|
-
return
|
|
2788
|
+
const f = this.satisfies(n[c]);
|
|
2789
|
+
if (f !== void 0)
|
|
2790
|
+
return f;
|
|
2791
2791
|
}
|
|
2792
2792
|
const u = g.find(
|
|
2793
2793
|
a,
|
|
2794
|
-
(
|
|
2794
|
+
(f) => this.isPlatform(f)
|
|
2795
2795
|
);
|
|
2796
2796
|
if (u) {
|
|
2797
|
-
const
|
|
2798
|
-
if (
|
|
2799
|
-
return
|
|
2797
|
+
const f = this.satisfies(n[u]);
|
|
2798
|
+
if (f !== void 0)
|
|
2799
|
+
return f;
|
|
2800
2800
|
}
|
|
2801
2801
|
}
|
|
2802
2802
|
if (s > 0) {
|
|
@@ -2967,24 +2967,24 @@ function kc() {
|
|
|
2967
2967
|
function a(m, v, _) {
|
|
2968
2968
|
v = v || {}, _ = _ || window, this.family = m, this.style = v.style || "normal", this.weight = v.weight || "normal", this.stretch = v.stretch || "normal", this.context = _;
|
|
2969
2969
|
}
|
|
2970
|
-
var c = null, u = null,
|
|
2970
|
+
var c = null, u = null, f = null, l = null;
|
|
2971
2971
|
function p(m) {
|
|
2972
2972
|
return u === null && (h(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;
|
|
2973
2973
|
}
|
|
2974
2974
|
function h(m) {
|
|
2975
|
-
return
|
|
2975
|
+
return l === null && (l = !!m.document.fonts), l;
|
|
2976
2976
|
}
|
|
2977
2977
|
function y(m, v) {
|
|
2978
2978
|
var _ = m.style, E = m.weight;
|
|
2979
|
-
if (
|
|
2979
|
+
if (f === null) {
|
|
2980
2980
|
var S = document.createElement("div");
|
|
2981
2981
|
try {
|
|
2982
2982
|
S.style.font = "condensed 100px sans-serif";
|
|
2983
2983
|
} catch {
|
|
2984
2984
|
}
|
|
2985
|
-
|
|
2985
|
+
f = S.style.font !== "";
|
|
2986
2986
|
}
|
|
2987
|
-
return [_, E,
|
|
2987
|
+
return [_, E, f ? m.stretch : "", "100px", v].join(" ");
|
|
2988
2988
|
}
|
|
2989
2989
|
a.prototype.load = function(m, v) {
|
|
2990
2990
|
var _ = this, E = m || "BESbswy", S = 0, x = v || 3e3, B = (/* @__PURE__ */ new Date()).getTime();
|
|
@@ -3033,12 +3033,12 @@ function kc() {
|
|
|
3033
3033
|
}
|
|
3034
3034
|
var Tc = kc();
|
|
3035
3035
|
const Ic = /* @__PURE__ */ Zr(Tc);
|
|
3036
|
-
let
|
|
3036
|
+
let ln;
|
|
3037
3037
|
const Pc = new Uint8Array(16);
|
|
3038
3038
|
function Mc() {
|
|
3039
|
-
if (!
|
|
3039
|
+
if (!ln && (ln = typeof crypto < "u" && crypto.getRandomValues && crypto.getRandomValues.bind(crypto), !ln))
|
|
3040
3040
|
throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");
|
|
3041
|
-
return
|
|
3041
|
+
return ln(Pc);
|
|
3042
3042
|
}
|
|
3043
3043
|
const Q = [];
|
|
3044
3044
|
for (let t = 0; t < 256; ++t)
|
|
@@ -3071,7 +3071,7 @@ async function dn(t) {
|
|
|
3071
3071
|
r.src = Uc(t), r.setAttribute("fetchpriority", "high"), r.onload = e, r.onerror = e, We.log("Injecting script:", r.src), document.head.appendChild(r);
|
|
3072
3072
|
});
|
|
3073
3073
|
}
|
|
3074
|
-
async function
|
|
3074
|
+
async function ft(t, e, n) {
|
|
3075
3075
|
var o;
|
|
3076
3076
|
n = {
|
|
3077
3077
|
style: "normal",
|
|
@@ -3400,7 +3400,7 @@ function go(t, e, n) {
|
|
|
3400
3400
|
r !== "__proto__" && r !== "constructor" && (r in t ? typeof t[r] == "string" || t[r] instanceof String || typeof e[r] == "string" || e[r] instanceof String ? n && (t[r] = e[r]) : go(t[r], e[r], n) : t[r] = e[r]);
|
|
3401
3401
|
return t;
|
|
3402
3402
|
}
|
|
3403
|
-
function
|
|
3403
|
+
function lt(t) {
|
|
3404
3404
|
return t.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
|
|
3405
3405
|
}
|
|
3406
3406
|
var Jc = {
|
|
@@ -3471,8 +3471,8 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3471
3471
|
silent: !1
|
|
3472
3472
|
}, u = [r, i];
|
|
3473
3473
|
r.indexOf(".") > -1 && (u = r.split("."), o = s, s = i, i = u[1]), this.addNamespaces(i);
|
|
3474
|
-
var
|
|
3475
|
-
o ? go(
|
|
3474
|
+
var f = In(this.data, u) || {};
|
|
3475
|
+
o ? go(f, s, a) : f = te({}, f, s), Gi(this.data, u, f), c.silent || this.emit("added", r, i, s);
|
|
3476
3476
|
}
|
|
3477
3477
|
}, {
|
|
3478
3478
|
key: "removeResourceBundle",
|
|
@@ -3557,11 +3557,11 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3557
3557
|
var o = this;
|
|
3558
3558
|
if (ge(i) !== "object" && this.options.overloadTranslationOptionHandler && (i = this.options.overloadTranslationOptionHandler(arguments)), i || (i = {}), r == null) return "";
|
|
3559
3559
|
Array.isArray(r) || (r = [String(r)]);
|
|
3560
|
-
var a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, c = this.extractFromKey(r[r.length - 1], i), u = c.key,
|
|
3560
|
+
var a = i.keySeparator !== void 0 ? i.keySeparator : this.options.keySeparator, c = this.extractFromKey(r[r.length - 1], i), u = c.key, f = c.namespaces, l = f[f.length - 1], p = i.lng || this.language, h = i.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
|
|
3561
3561
|
if (p && p.toLowerCase() === "cimode") {
|
|
3562
3562
|
if (h) {
|
|
3563
3563
|
var y = i.nsSeparator || this.options.nsSeparator;
|
|
3564
|
-
return
|
|
3564
|
+
return l + y + u;
|
|
3565
3565
|
}
|
|
3566
3566
|
return u;
|
|
3567
3567
|
}
|
|
@@ -3576,7 +3576,7 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3576
3576
|
var Y = "".concat(ie).concat(a).concat(K);
|
|
3577
3577
|
re[K] = this.translate(Y, te({}, i, {
|
|
3578
3578
|
joinArrays: !1,
|
|
3579
|
-
ns:
|
|
3579
|
+
ns: f
|
|
3580
3580
|
})), re[K] === Y && (re[K] = v[K]);
|
|
3581
3581
|
}
|
|
3582
3582
|
v = re;
|
|
@@ -3588,7 +3588,7 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3588
3588
|
!this.isValidLookup(v) && V && (J = !0, v = se), this.isValidLookup(v) || (N = !0, v = u);
|
|
3589
3589
|
var X = V && se !== v && this.options.updateMissing;
|
|
3590
3590
|
if (N || J || X) {
|
|
3591
|
-
if (this.logger.log(X ? "updateKey" : "missingKey", p,
|
|
3591
|
+
if (this.logger.log(X ? "updateKey" : "missingKey", p, l, u, X ? se : v), a) {
|
|
3592
3592
|
var Ae = this.resolve(u, te({}, i, {
|
|
3593
3593
|
keySeparator: !1
|
|
3594
3594
|
}));
|
|
@@ -3599,8 +3599,8 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3599
3599
|
for (var T = 0; T < b.length; T++)
|
|
3600
3600
|
d.push(b[T]);
|
|
3601
3601
|
else this.options.saveMissingTo === "all" ? d = this.languageUtils.toResolveHierarchy(i.lng || this.language) : d.push(i.lng || this.language);
|
|
3602
|
-
var I = function(D, U,
|
|
3603
|
-
o.options.missingKeyHandler ? o.options.missingKeyHandler(D,
|
|
3602
|
+
var I = function(D, U, fe) {
|
|
3603
|
+
o.options.missingKeyHandler ? o.options.missingKeyHandler(D, l, U, X ? fe : v, X, i) : o.backendConnector && o.backendConnector.saveMissing && o.backendConnector.saveMissing(D, l, U, X ? fe : v, X, i), o.emit("missingKey", D, l, U, v);
|
|
3604
3604
|
};
|
|
3605
3605
|
this.options.saveMissing && (this.options.saveMissingPlurals && W ? d.forEach(function(F) {
|
|
3606
3606
|
o.pluralResolver.getSuffixes(F).forEach(function(D) {
|
|
@@ -3608,7 +3608,7 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3608
3608
|
});
|
|
3609
3609
|
}) : I(d, u, se));
|
|
3610
3610
|
}
|
|
3611
|
-
v = this.extendTranslation(v, r, i, m, s), N && v === u && this.options.appendNamespaceToMissingKey && (v = "".concat(
|
|
3611
|
+
v = this.extendTranslation(v, r, i, m, s), N && v === u && this.options.appendNamespaceToMissingKey && (v = "".concat(l, ":").concat(u)), N && this.options.parseMissingKeyHandler && (v = this.options.parseMissingKeyHandler(v));
|
|
3612
3612
|
}
|
|
3613
3613
|
return v;
|
|
3614
3614
|
}
|
|
@@ -3624,15 +3624,15 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3624
3624
|
s.interpolation && this.interpolator.init(te({}, s, {
|
|
3625
3625
|
interpolation: te({}, this.options.interpolation, s.interpolation)
|
|
3626
3626
|
}));
|
|
3627
|
-
var u = s.interpolation && s.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables,
|
|
3627
|
+
var u = s.interpolation && s.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, f;
|
|
3628
3628
|
if (u) {
|
|
3629
|
-
var
|
|
3630
|
-
|
|
3629
|
+
var l = r.match(this.interpolator.nestingRegexp);
|
|
3630
|
+
f = l && l.length;
|
|
3631
3631
|
}
|
|
3632
3632
|
var p = s.replace && typeof s.replace != "string" ? s.replace : s;
|
|
3633
3633
|
if (this.options.interpolation.defaultVariables && (p = te({}, this.options.interpolation.defaultVariables, p)), r = this.interpolator.interpolate(r, p, s.lng || this.language, s), u) {
|
|
3634
3634
|
var h = r.match(this.interpolator.nestingRegexp), y = h && h.length;
|
|
3635
|
-
|
|
3635
|
+
f < y && (s.nest = !1);
|
|
3636
3636
|
}
|
|
3637
3637
|
s.nest !== !1 && (r = this.interpolator.nest(r, function() {
|
|
3638
3638
|
for (var _ = arguments.length, E = new Array(_), S = 0; S < _; S++)
|
|
@@ -3648,16 +3648,16 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3648
3648
|
}, {
|
|
3649
3649
|
key: "resolve",
|
|
3650
3650
|
value: function(r) {
|
|
3651
|
-
var i = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, a, c, u,
|
|
3652
|
-
return typeof r == "string" && (r = [r]), r.forEach(function(
|
|
3651
|
+
var i = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, o, a, c, u, f;
|
|
3652
|
+
return typeof r == "string" && (r = [r]), r.forEach(function(l) {
|
|
3653
3653
|
if (!i.isValidLookup(o)) {
|
|
3654
|
-
var p = i.extractFromKey(
|
|
3654
|
+
var p = i.extractFromKey(l, s), h = p.key;
|
|
3655
3655
|
a = h;
|
|
3656
3656
|
var y = p.namespaces;
|
|
3657
3657
|
i.options.fallbackNS && (y = y.concat(i.options.fallbackNS));
|
|
3658
3658
|
var m = s.count !== void 0 && typeof s.count != "string", v = s.context !== void 0 && typeof s.context == "string" && s.context !== "", _ = s.lngs ? s.lngs : i.languageUtils.toResolveHierarchy(s.lng || i.language, s.fallbackLng);
|
|
3659
3659
|
y.forEach(function(E) {
|
|
3660
|
-
i.isValidLookup(o) || (
|
|
3660
|
+
i.isValidLookup(o) || (f = E, !zi["".concat(_[0], "-").concat(E)] && i.utils && i.utils.hasLoadedNamespace && !i.utils.hasLoadedNamespace(f) && (zi["".concat(_[0], "-").concat(E)] = !0, i.logger.warn('key "'.concat(a, '" for languages "').concat(_.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!!!")), _.forEach(function(S) {
|
|
3661
3661
|
if (!i.isValidLookup(o)) {
|
|
3662
3662
|
u = S;
|
|
3663
3663
|
var x = h, B = [x];
|
|
@@ -3678,7 +3678,7 @@ var qn = typeof window < "u" && window.navigator && window.navigator.userAgent &
|
|
|
3678
3678
|
usedKey: a,
|
|
3679
3679
|
exactUsedKey: c,
|
|
3680
3680
|
usedLng: u,
|
|
3681
|
-
usedNS:
|
|
3681
|
+
usedNS: f
|
|
3682
3682
|
};
|
|
3683
3683
|
}
|
|
3684
3684
|
}, {
|
|
@@ -4023,7 +4023,7 @@ var ru = (function() {
|
|
|
4023
4023
|
escapeValue: !0
|
|
4024
4024
|
});
|
|
4025
4025
|
var r = n.interpolation;
|
|
4026
|
-
this.escape = r.escape !== void 0 ? r.escape : Xc, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ?
|
|
4026
|
+
this.escape = r.escape !== void 0 ? r.escape : Xc, this.escapeValue = r.escapeValue !== void 0 ? r.escapeValue : !0, this.useRawValueToEscape = r.useRawValueToEscape !== void 0 ? r.useRawValueToEscape : !1, this.prefix = r.prefix ? lt(r.prefix) : r.prefixEscaped || "{{", this.suffix = r.suffix ? lt(r.suffix) : r.suffixEscaped || "}}", this.formatSeparator = r.formatSeparator ? r.formatSeparator : r.formatSeparator || ",", this.unescapePrefix = r.unescapeSuffix ? "" : r.unescapePrefix || "-", this.unescapeSuffix = this.unescapePrefix ? "" : r.unescapeSuffix || "", this.nestingPrefix = r.nestingPrefix ? lt(r.nestingPrefix) : r.nestingPrefixEscaped || lt("$t("), this.nestingSuffix = r.nestingSuffix ? lt(r.nestingSuffix) : r.nestingSuffixEscaped || lt(")"), this.nestingOptionsSeparator = r.nestingOptionsSeparator ? r.nestingOptionsSeparator : r.nestingOptionsSeparator || ",", this.maxReplaces = r.maxReplaces ? r.maxReplaces : 1e3, this.alwaysFormat = r.alwaysFormat !== void 0 ? r.alwaysFormat : !1, this.resetRegExp();
|
|
4027
4027
|
}
|
|
4028
4028
|
}, {
|
|
4029
4029
|
key: "reset",
|
|
@@ -4043,28 +4043,28 @@ var ru = (function() {
|
|
|
4043
4043
|
}, {
|
|
4044
4044
|
key: "interpolate",
|
|
4045
4045
|
value: function(n, r, i, s) {
|
|
4046
|
-
var o = this, a, c, u,
|
|
4047
|
-
function
|
|
4046
|
+
var o = this, a, c, u, f = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
|
|
4047
|
+
function l(v) {
|
|
4048
4048
|
return v.replace(/\$/g, "$$$$");
|
|
4049
4049
|
}
|
|
4050
4050
|
var p = function(_) {
|
|
4051
4051
|
if (_.indexOf(o.formatSeparator) < 0) {
|
|
4052
|
-
var E = Wi(r,
|
|
4052
|
+
var E = Wi(r, f, _);
|
|
4053
4053
|
return o.alwaysFormat ? o.format(E, void 0, i) : E;
|
|
4054
4054
|
}
|
|
4055
4055
|
var S = _.split(o.formatSeparator), x = S.shift().trim(), B = S.join(o.formatSeparator).trim();
|
|
4056
|
-
return o.format(Wi(r,
|
|
4056
|
+
return o.format(Wi(r, f, x), B, i, s);
|
|
4057
4057
|
};
|
|
4058
4058
|
this.resetRegExp();
|
|
4059
4059
|
var h = s && s.missingInterpolationHandler || this.options.missingInterpolationHandler, y = s && s.interpolation && s.interpolation.skipOnVariables || this.options.interpolation.skipOnVariables, m = [{
|
|
4060
4060
|
regex: this.regexpUnescape,
|
|
4061
4061
|
safeValue: function(_) {
|
|
4062
|
-
return
|
|
4062
|
+
return l(_);
|
|
4063
4063
|
}
|
|
4064
4064
|
}, {
|
|
4065
4065
|
regex: this.regexp,
|
|
4066
4066
|
safeValue: function(_) {
|
|
4067
|
-
return o.escapeValue ?
|
|
4067
|
+
return o.escapeValue ? l(o.escape(_)) : l(_);
|
|
4068
4068
|
}
|
|
4069
4069
|
}];
|
|
4070
4070
|
return m.forEach(function(v) {
|
|
@@ -4102,15 +4102,15 @@ var ru = (function() {
|
|
|
4102
4102
|
return delete c.defaultValue, h;
|
|
4103
4103
|
}
|
|
4104
4104
|
for (; o = this.nestingRegexp.exec(n); ) {
|
|
4105
|
-
var
|
|
4105
|
+
var f = [], l = !1;
|
|
4106
4106
|
if (o[0].includes(this.formatSeparator) && !/{.*}/.test(o[1])) {
|
|
4107
4107
|
var p = o[1].split(this.formatSeparator).map(function(h) {
|
|
4108
4108
|
return h.trim();
|
|
4109
4109
|
});
|
|
4110
|
-
o[1] = p.shift(),
|
|
4110
|
+
o[1] = p.shift(), f = p, l = !0;
|
|
4111
4111
|
}
|
|
4112
4112
|
if (a = r(u.call(this, o[1].trim(), c), c), a && o[0] === n && typeof a != "string") return a;
|
|
4113
|
-
typeof a != "string" && (a = Vi(a)), a || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(n)), a = ""),
|
|
4113
|
+
typeof a != "string" && (a = Vi(a)), a || (this.logger.warn("missed to resolve ".concat(o[1], " for nesting ").concat(n)), a = ""), l && (a = f.reduce(function(h, y) {
|
|
4114
4114
|
return i.format(h, y, s.lng, s);
|
|
4115
4115
|
}, a.trim())), n = n.replace(o[0], a), this.regexp.lastIndex = 0;
|
|
4116
4116
|
}
|
|
@@ -4131,13 +4131,13 @@ var ou = (function(t) {
|
|
|
4131
4131
|
return De(e, [{
|
|
4132
4132
|
key: "queueLoad",
|
|
4133
4133
|
value: function(r, i, s, o) {
|
|
4134
|
-
var a = this, c = [], u = [],
|
|
4134
|
+
var a = this, c = [], u = [], f = [], l = [];
|
|
4135
4135
|
return r.forEach(function(p) {
|
|
4136
4136
|
var h = !0;
|
|
4137
4137
|
i.forEach(function(y) {
|
|
4138
4138
|
var m = "".concat(p, "|").concat(y);
|
|
4139
|
-
!s.reload && a.store.hasResourceBundle(p, y) ? a.state[m] = 2 : a.state[m] < 0 || (a.state[m] === 1 ? u.indexOf(m) < 0 && u.push(m) : (a.state[m] = 1, h = !1, u.indexOf(m) < 0 && u.push(m), c.indexOf(m) < 0 && c.push(m),
|
|
4140
|
-
}), h ||
|
|
4139
|
+
!s.reload && a.store.hasResourceBundle(p, y) ? a.state[m] = 2 : a.state[m] < 0 || (a.state[m] === 1 ? u.indexOf(m) < 0 && u.push(m) : (a.state[m] = 1, h = !1, u.indexOf(m) < 0 && u.push(m), c.indexOf(m) < 0 && c.push(m), l.indexOf(y) < 0 && l.push(y)));
|
|
4140
|
+
}), h || f.push(p);
|
|
4141
4141
|
}), (c.length || u.length) && this.queue.push({
|
|
4142
4142
|
pending: u,
|
|
4143
4143
|
loaded: {},
|
|
@@ -4146,8 +4146,8 @@ var ou = (function(t) {
|
|
|
4146
4146
|
}), {
|
|
4147
4147
|
toLoad: c,
|
|
4148
4148
|
pending: u,
|
|
4149
|
-
toLoadLanguages:
|
|
4150
|
-
toLoadNamespaces:
|
|
4149
|
+
toLoadLanguages: f,
|
|
4150
|
+
toLoadNamespaces: l
|
|
4151
4151
|
};
|
|
4152
4152
|
}
|
|
4153
4153
|
}, {
|
|
@@ -4156,28 +4156,28 @@ var ou = (function(t) {
|
|
|
4156
4156
|
var o = r.split("|"), a = o[0], c = o[1];
|
|
4157
4157
|
i && this.emit("failedLoading", a, c, i), s && this.store.addResourceBundle(a, c, s), this.state[r] = i ? -1 : 2;
|
|
4158
4158
|
var u = {};
|
|
4159
|
-
this.queue.forEach(function(
|
|
4160
|
-
Yc(
|
|
4161
|
-
u[
|
|
4162
|
-
u[
|
|
4159
|
+
this.queue.forEach(function(f) {
|
|
4160
|
+
Yc(f.loaded, [a], c), su(f.pending, r), i && f.errors.push(i), f.pending.length === 0 && !f.done && (Object.keys(f.loaded).forEach(function(l) {
|
|
4161
|
+
u[l] || (u[l] = []), f.loaded[l].length && f.loaded[l].forEach(function(p) {
|
|
4162
|
+
u[l].indexOf(p) < 0 && u[l].push(p);
|
|
4163
4163
|
});
|
|
4164
|
-
}),
|
|
4165
|
-
}), this.emit("loaded", u), this.queue = this.queue.filter(function(
|
|
4166
|
-
return !
|
|
4164
|
+
}), f.done = !0, f.errors.length ? f.callback(f.errors) : f.callback());
|
|
4165
|
+
}), this.emit("loaded", u), this.queue = this.queue.filter(function(f) {
|
|
4166
|
+
return !f.done;
|
|
4167
4167
|
});
|
|
4168
4168
|
}
|
|
4169
4169
|
}, {
|
|
4170
4170
|
key: "read",
|
|
4171
4171
|
value: function(r, i, s) {
|
|
4172
4172
|
var o = 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;
|
|
4173
|
-
return r.length ? this.backend[s](r, i, function(
|
|
4174
|
-
if (
|
|
4173
|
+
return r.length ? this.backend[s](r, i, function(f, l) {
|
|
4174
|
+
if (f && l && a < 5) {
|
|
4175
4175
|
setTimeout(function() {
|
|
4176
4176
|
o.read.call(o, r, i, s, a + 1, c * 2, u);
|
|
4177
4177
|
}, c);
|
|
4178
4178
|
return;
|
|
4179
4179
|
}
|
|
4180
|
-
u(
|
|
4180
|
+
u(f, l);
|
|
4181
4181
|
}) : u(null, {});
|
|
4182
4182
|
}
|
|
4183
4183
|
}, {
|
|
@@ -4210,8 +4210,8 @@ var ou = (function(t) {
|
|
|
4210
4210
|
key: "loadOne",
|
|
4211
4211
|
value: function(r) {
|
|
4212
4212
|
var i = this, s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "", o = r.split("|"), a = o[0], c = o[1];
|
|
4213
|
-
this.read(a, c, "read", void 0, void 0, function(u,
|
|
4214
|
-
u && i.logger.warn("".concat(s, "loading namespace ").concat(c, " for language ").concat(a, " failed"), u), !u &&
|
|
4213
|
+
this.read(a, c, "read", void 0, void 0, function(u, f) {
|
|
4214
|
+
u && i.logger.warn("".concat(s, "loading namespace ").concat(c, " for language ").concat(a, " failed"), u), !u && f && i.logger.log("".concat(s, "loaded namespace ").concat(c, " for language ").concat(a), f), i.loaded(r, u, f);
|
|
4215
4215
|
});
|
|
4216
4216
|
}
|
|
4217
4217
|
}, {
|
|
@@ -4347,15 +4347,15 @@ var cu = (function(t) {
|
|
|
4347
4347
|
u.length > 0 && u[0] !== "dev" && (this.options.lng = u[0]);
|
|
4348
4348
|
}
|
|
4349
4349
|
!this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined");
|
|
4350
|
-
var
|
|
4351
|
-
|
|
4350
|
+
var f = ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"];
|
|
4351
|
+
f.forEach(function(y) {
|
|
4352
4352
|
r[y] = function() {
|
|
4353
4353
|
var m;
|
|
4354
4354
|
return (m = r.store)[y].apply(m, arguments);
|
|
4355
4355
|
};
|
|
4356
4356
|
});
|
|
4357
|
-
var
|
|
4358
|
-
|
|
4357
|
+
var l = ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"];
|
|
4358
|
+
l.forEach(function(y) {
|
|
4359
4359
|
r[y] = function() {
|
|
4360
4360
|
var m;
|
|
4361
4361
|
return (m = r.store)[y].apply(m, arguments), r;
|
|
@@ -4387,13 +4387,13 @@ var cu = (function(t) {
|
|
|
4387
4387
|
if (a)
|
|
4388
4388
|
u(a);
|
|
4389
4389
|
else {
|
|
4390
|
-
var
|
|
4391
|
-
|
|
4392
|
-
return u(
|
|
4390
|
+
var f = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
|
|
4391
|
+
f.forEach(function(l) {
|
|
4392
|
+
return u(l);
|
|
4393
4393
|
});
|
|
4394
4394
|
}
|
|
4395
|
-
this.options.preload && this.options.preload.forEach(function(
|
|
4396
|
-
return u(
|
|
4395
|
+
this.options.preload && this.options.preload.forEach(function(l) {
|
|
4396
|
+
return u(l);
|
|
4397
4397
|
}), this.services.backendConnector.load(c, this.options.ns, o);
|
|
4398
4398
|
} else
|
|
4399
4399
|
o(null);
|
|
@@ -4420,16 +4420,16 @@ var cu = (function(t) {
|
|
|
4420
4420
|
this.isLanguageChangingTo = r;
|
|
4421
4421
|
var o = Bt();
|
|
4422
4422
|
this.emit("languageChanging", r);
|
|
4423
|
-
var a = function(
|
|
4424
|
-
|
|
4423
|
+
var a = function(f, l) {
|
|
4424
|
+
l ? (s.language = l, s.languages = s.services.languageUtils.toResolveHierarchy(l), s.translator.changeLanguage(l), s.isLanguageChangingTo = void 0, s.emit("languageChanged", l), s.logger.log("languageChanged", l)) : s.isLanguageChangingTo = void 0, o.resolve(function() {
|
|
4425
4425
|
return s.t.apply(s, arguments);
|
|
4426
|
-
}), i && i(
|
|
4426
|
+
}), i && i(f, function() {
|
|
4427
4427
|
return s.t.apply(s, arguments);
|
|
4428
4428
|
});
|
|
4429
|
-
}, c = function(
|
|
4430
|
-
var
|
|
4431
|
-
|
|
4432
|
-
a(p,
|
|
4429
|
+
}, c = function(f) {
|
|
4430
|
+
var l = typeof f == "string" ? f : s.services.languageUtils.getBestMatchFromCodes(f);
|
|
4431
|
+
l && (s.language || (s.language = l, s.languages = s.services.languageUtils.toResolveHierarchy(l)), s.translator.language || s.translator.changeLanguage(l), s.services.languageDetector && s.services.languageDetector.cacheUserLanguage(l)), s.loadResources(l, function(p) {
|
|
4432
|
+
a(p, l);
|
|
4433
4433
|
});
|
|
4434
4434
|
};
|
|
4435
4435
|
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), o;
|
|
@@ -4438,14 +4438,14 @@ var cu = (function(t) {
|
|
|
4438
4438
|
key: "getFixedT",
|
|
4439
4439
|
value: function(r, i) {
|
|
4440
4440
|
var s = this, o = function a(c, u) {
|
|
4441
|
-
var
|
|
4441
|
+
var f;
|
|
4442
4442
|
if (ge(u) !== "object") {
|
|
4443
|
-
for (var
|
|
4443
|
+
for (var l = arguments.length, p = new Array(l > 2 ? l - 2 : 0), h = 2; h < l; h++)
|
|
4444
4444
|
p[h - 2] = arguments[h];
|
|
4445
|
-
|
|
4445
|
+
f = s.options.overloadTranslationOptionHandler([c, u].concat(p));
|
|
4446
4446
|
} else
|
|
4447
|
-
|
|
4448
|
-
return
|
|
4447
|
+
f = te({}, u);
|
|
4448
|
+
return f.lng = f.lng || a.lng, f.lngs = f.lngs || a.lngs, f.ns = f.ns || a.ns, s.t(c, f);
|
|
4449
4449
|
};
|
|
4450
4450
|
return typeof r == "string" ? o.lng = r : o.lngs = r, o.ns = i, o;
|
|
4451
4451
|
}
|
|
@@ -4481,8 +4481,8 @@ var cu = (function(t) {
|
|
|
4481
4481
|
return y === -1 || y === 2;
|
|
4482
4482
|
};
|
|
4483
4483
|
if (s.precheck) {
|
|
4484
|
-
var
|
|
4485
|
-
if (
|
|
4484
|
+
var f = s.precheck(this, u);
|
|
4485
|
+
if (f !== void 0) return f;
|
|
4486
4486
|
}
|
|
4487
4487
|
return !!(this.hasResourceBundle(o, r) || !this.services.backendConnector.backend || u(o, r) && (!a || u(c, r)));
|
|
4488
4488
|
}
|
|
@@ -4532,9 +4532,9 @@ var cu = (function(t) {
|
|
|
4532
4532
|
}), a.services = te({}, this.services), a.services.utils = {
|
|
4533
4533
|
hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
|
|
4534
4534
|
}, a.translator = new qi(a.services, a.options), a.translator.on("*", function(u) {
|
|
4535
|
-
for (var
|
|
4536
|
-
|
|
4537
|
-
a.emit.apply(a, [u].concat(
|
|
4535
|
+
for (var f = arguments.length, l = new Array(f > 1 ? f - 1 : 0), p = 1; p < f; p++)
|
|
4536
|
+
l[p - 1] = arguments[p];
|
|
4537
|
+
a.emit.apply(a, [u].concat(l));
|
|
4538
4538
|
}), a.init(o, s), a.translator.options = a.options, a.translator.backendConnector.services.utils = {
|
|
4539
4539
|
hasLoadedNamespace: a.hasLoadedNamespace.bind(a)
|
|
4540
4540
|
}, a;
|
|
@@ -4563,7 +4563,7 @@ function vo(t) {
|
|
|
4563
4563
|
}
|
|
4564
4564
|
var hn = function() {
|
|
4565
4565
|
};
|
|
4566
|
-
function
|
|
4566
|
+
function fu(t) {
|
|
4567
4567
|
var e = [];
|
|
4568
4568
|
return t.forEach(function(n) {
|
|
4569
4569
|
e.indexOf(n) === -1 && e.push(n);
|
|
@@ -4578,7 +4578,7 @@ function Ct(t) {
|
|
|
4578
4578
|
var e = Object.getPrototypeOf(t);
|
|
4579
4579
|
return e === Object.prototype || e === null;
|
|
4580
4580
|
}
|
|
4581
|
-
function
|
|
4581
|
+
function lu(t) {
|
|
4582
4582
|
if (At(t) || Re(t))
|
|
4583
4583
|
return t;
|
|
4584
4584
|
if (Array.isArray(t))
|
|
@@ -4777,8 +4777,8 @@ function wo(t, e) {
|
|
|
4777
4777
|
if (u === !0)
|
|
4778
4778
|
return e(o, a, c, o, r), null;
|
|
4779
4779
|
if (!Object.prototype.hasOwnProperty.call(o, Ht)) {
|
|
4780
|
-
var
|
|
4781
|
-
Rt(o, Ht, Mn({},
|
|
4780
|
+
var f = o[Ht];
|
|
4781
|
+
Rt(o, Ht, Mn({}, f));
|
|
4782
4782
|
}
|
|
4783
4783
|
return o[Ht][a] = {
|
|
4784
4784
|
prop: a,
|
|
@@ -4850,7 +4850,7 @@ var Yi = {
|
|
|
4850
4850
|
array: function(t, e) {
|
|
4851
4851
|
arguments.length > 2 && jt("array");
|
|
4852
4852
|
var n = gt(e);
|
|
4853
|
-
return
|
|
4853
|
+
return af(t, gn(n), n.name);
|
|
4854
4854
|
},
|
|
4855
4855
|
map: function(t, e) {
|
|
4856
4856
|
arguments.length > 2 && jt("map");
|
|
@@ -4867,7 +4867,7 @@ var Yi = {
|
|
|
4867
4867
|
var r = gt(n);
|
|
4868
4868
|
if (r.proxy === !1)
|
|
4869
4869
|
return Zi({}, t, e, r);
|
|
4870
|
-
var i = Bo(r), s = Zi({}, void 0, void 0, r), o =
|
|
4870
|
+
var i = Bo(r), s = Zi({}, void 0, void 0, r), o = rf(s);
|
|
4871
4871
|
return jo(o, t, e, i), o;
|
|
4872
4872
|
},
|
|
4873
4873
|
ref: So,
|
|
@@ -5340,7 +5340,7 @@ var Bn = (
|
|
|
5340
5340
|
}, t.prototype.toString = function() {
|
|
5341
5341
|
return "Reaction[" + this.name + "]";
|
|
5342
5342
|
}, t.prototype.trace = function(e) {
|
|
5343
|
-
e === void 0 && (e = !1),
|
|
5343
|
+
e === void 0 && (e = !1), ef(this, e);
|
|
5344
5344
|
}, t;
|
|
5345
5345
|
})()
|
|
5346
5346
|
), Xi = 100, Nr = function(t) {
|
|
@@ -5482,19 +5482,19 @@ function Lo(t) {
|
|
|
5482
5482
|
}
|
|
5483
5483
|
function Am(t, e, n) {
|
|
5484
5484
|
n === void 0 && (n = ni);
|
|
5485
|
-
var r = n.name || "Reaction@" + ue(), i = ci(r, n.onError ? Ku(n.onError, e) : e), s = !n.scheduler && !n.delay, o = Lo(n), a = !0, c = !1, u,
|
|
5485
|
+
var r = n.name || "Reaction@" + ue(), i = ci(r, n.onError ? Ku(n.onError, e) : e), s = !n.scheduler && !n.delay, o = Lo(n), a = !0, c = !1, u, f = n.compareStructural ? yt.structural : n.equals || yt.default, l = new Bn(r, function() {
|
|
5486
5486
|
a || s ? p() : c || (c = !0, o(p));
|
|
5487
5487
|
}, n.onError, n.requiresObservable);
|
|
5488
5488
|
function p() {
|
|
5489
|
-
if (c = !1, !
|
|
5489
|
+
if (c = !1, !l.isDisposed) {
|
|
5490
5490
|
var h = !1;
|
|
5491
|
-
|
|
5492
|
-
var y = t(
|
|
5493
|
-
h = a || !
|
|
5494
|
-
}), a && n.fireImmediately && i(u,
|
|
5491
|
+
l.track(function() {
|
|
5492
|
+
var y = t(l);
|
|
5493
|
+
h = a || !f(u, y), u = y;
|
|
5494
|
+
}), a && n.fireImmediately && i(u, l), !a && h === !0 && i(u, l), a && (a = !1);
|
|
5495
5495
|
}
|
|
5496
5496
|
}
|
|
5497
|
-
return
|
|
5497
|
+
return l.schedule(), l.getDisposer();
|
|
5498
5498
|
}
|
|
5499
5499
|
function Ku(t, e) {
|
|
5500
5500
|
return function() {
|
|
@@ -5558,15 +5558,15 @@ function jo(t, e, n, r) {
|
|
|
5558
5558
|
try {
|
|
5559
5559
|
var o = hu(e);
|
|
5560
5560
|
try {
|
|
5561
|
-
for (var u = we(o),
|
|
5562
|
-
var c =
|
|
5561
|
+
for (var u = we(o), f = u.next(); !f.done; f = u.next()) {
|
|
5562
|
+
var c = f.value, l = Object.getOwnPropertyDescriptor(e, c), p = n && c in n ? n[c] : l.get ? Ln : r, h = p(t, c, l, !0);
|
|
5563
5563
|
h && Object.defineProperty(t, c, h);
|
|
5564
5564
|
}
|
|
5565
5565
|
} catch (m) {
|
|
5566
5566
|
i = { error: m };
|
|
5567
5567
|
} finally {
|
|
5568
5568
|
try {
|
|
5569
|
-
|
|
5569
|
+
f && !f.done && (s = u.return) && s.call(u);
|
|
5570
5570
|
} finally {
|
|
5571
5571
|
if (i) throw i.error;
|
|
5572
5572
|
}
|
|
@@ -5582,7 +5582,7 @@ function Uo(t) {
|
|
|
5582
5582
|
var e = {
|
|
5583
5583
|
name: t.name
|
|
5584
5584
|
};
|
|
5585
|
-
return t.observing && t.observing.length > 0 && (e.dependencies =
|
|
5585
|
+
return t.observing && t.observing.length > 0 && (e.dependencies = fu(t.observing).map(Uo)), e;
|
|
5586
5586
|
}
|
|
5587
5587
|
function Xu(t, e) {
|
|
5588
5588
|
return t == null ? !1 : Pt(t) || !!t[k] || ii(t) || jn(t) || Qn(t);
|
|
@@ -5663,15 +5663,15 @@ function He(t, e, n) {
|
|
|
5663
5663
|
}
|
|
5664
5664
|
if (Re(t) || Object.getPrototypeOf(t) === Map.prototype)
|
|
5665
5665
|
if (e.exportMapsAsObjects === !1) {
|
|
5666
|
-
var
|
|
5666
|
+
var f = dt(n, t, /* @__PURE__ */ new Map(), e);
|
|
5667
5667
|
return t.forEach(function(h, y) {
|
|
5668
|
-
|
|
5669
|
-
}),
|
|
5668
|
+
f.set(y, He(h, e, n));
|
|
5669
|
+
}), f;
|
|
5670
5670
|
} else {
|
|
5671
|
-
var
|
|
5671
|
+
var l = dt(n, t, {}, e);
|
|
5672
5672
|
return t.forEach(function(h, y) {
|
|
5673
|
-
|
|
5674
|
-
}),
|
|
5673
|
+
l[y] = He(h, e, n);
|
|
5674
|
+
}), l;
|
|
5675
5675
|
}
|
|
5676
5676
|
var p = dt(n, t, {}, e);
|
|
5677
5677
|
return yo(t).forEach(function(h) {
|
|
@@ -5683,17 +5683,17 @@ function Tm(t, e) {
|
|
|
5683
5683
|
var n;
|
|
5684
5684
|
return e.detectCycles && (n = /* @__PURE__ */ new Map()), He(t, e, n);
|
|
5685
5685
|
}
|
|
5686
|
-
function
|
|
5686
|
+
function ef() {
|
|
5687
5687
|
for (var t = [], e = 0; e < arguments.length; e++)
|
|
5688
5688
|
t[e] = arguments[e];
|
|
5689
5689
|
var n = !1;
|
|
5690
5690
|
typeof t[t.length - 1] == "boolean" && (n = t.pop());
|
|
5691
|
-
var r =
|
|
5691
|
+
var r = tf(t);
|
|
5692
5692
|
if (!r)
|
|
5693
5693
|
return $(!1);
|
|
5694
5694
|
r.isTracing === Ee.NONE && console.log("[mobx.trace] '" + r.name + "' tracing enabled"), r.isTracing = n ? Ee.BREAK : Ee.LOG;
|
|
5695
5695
|
}
|
|
5696
|
-
function
|
|
5696
|
+
function tf(t) {
|
|
5697
5697
|
switch (t.length) {
|
|
5698
5698
|
case 0:
|
|
5699
5699
|
return w.trackingDerivation;
|
|
@@ -5717,7 +5717,7 @@ function mn(t) {
|
|
|
5717
5717
|
function vn(t) {
|
|
5718
5718
|
return typeof t == "string" || typeof t == "number" || typeof t == "symbol";
|
|
5719
5719
|
}
|
|
5720
|
-
var
|
|
5720
|
+
var nf = {
|
|
5721
5721
|
has: function(t, e) {
|
|
5722
5722
|
if (e === k || e === "constructor" || e === Nn)
|
|
5723
5723
|
return !0;
|
|
@@ -5751,8 +5751,8 @@ var nl = {
|
|
|
5751
5751
|
return $("Dynamic observable objects cannot be frozen"), !1;
|
|
5752
5752
|
}
|
|
5753
5753
|
};
|
|
5754
|
-
function
|
|
5755
|
-
var e = new Proxy(t,
|
|
5754
|
+
function rf(t) {
|
|
5755
|
+
var e = new Proxy(t, nf);
|
|
5756
5756
|
return t[k].proxy = e, e;
|
|
5757
5757
|
}
|
|
5758
5758
|
function Se(t) {
|
|
@@ -5794,7 +5794,7 @@ function be(t, e) {
|
|
|
5794
5794
|
Ge(n);
|
|
5795
5795
|
}
|
|
5796
5796
|
}
|
|
5797
|
-
var
|
|
5797
|
+
var sf = 1e4, of = {
|
|
5798
5798
|
get: function(t, e) {
|
|
5799
5799
|
return e === k ? t[k] : e === "length" ? t[k].getArrayLength() : typeof e == "number" ? Ie.get.call(t, e) : typeof e == "string" && !isNaN(e) ? Ie.get.call(t, parseInt(e)) : Ie.hasOwnProperty(e) ? Ie[e] : t[e];
|
|
5800
5800
|
},
|
|
@@ -5805,11 +5805,11 @@ var il = 1e4, sl = {
|
|
|
5805
5805
|
return $("Observable arrays cannot be frozen"), !1;
|
|
5806
5806
|
}
|
|
5807
5807
|
};
|
|
5808
|
-
function
|
|
5808
|
+
function af(t, e, n, r) {
|
|
5809
5809
|
n === void 0 && (n = "ObservableArray@" + ue()), r === void 0 && (r = !1);
|
|
5810
5810
|
var i = new Ho(n, e, r);
|
|
5811
5811
|
du(i.values, k, i);
|
|
5812
|
-
var s = new Proxy(i.values,
|
|
5812
|
+
var s = new Proxy(i.values, of);
|
|
5813
5813
|
if (i.proxy = s, t && t.length) {
|
|
5814
5814
|
var o = Jn(!0);
|
|
5815
5815
|
i.spliceWithArray(0, 0, t), Xn(o);
|
|
@@ -5880,7 +5880,7 @@ var Ho = (
|
|
|
5880
5880
|
return (n !== 0 || r.length !== 0) && this.notifyArraySplice(e, r, a), this.dehanceValues(a);
|
|
5881
5881
|
}, t.prototype.spliceItemsIntoValues = function(e, n, r) {
|
|
5882
5882
|
var i;
|
|
5883
|
-
if (r.length <
|
|
5883
|
+
if (r.length < sf)
|
|
5884
5884
|
return (i = this.values).splice.apply(i, si([e, n], r));
|
|
5885
5885
|
var s = this.values.slice(e, e + n);
|
|
5886
5886
|
return this.values = this.values.slice(0, e).concat(r, this.values.slice(e + n)), s;
|
|
@@ -6057,15 +6057,15 @@ var Ho = (
|
|
|
6057
6057
|
}, n.values[t].apply(n.values, arguments);
|
|
6058
6058
|
};
|
|
6059
6059
|
});
|
|
6060
|
-
var
|
|
6060
|
+
var cf = Je("ObservableArrayAdministration", Ho);
|
|
6061
6061
|
function It(t) {
|
|
6062
|
-
return ri(t) &&
|
|
6062
|
+
return ri(t) && cf(t[k]);
|
|
6063
6063
|
}
|
|
6064
|
-
var es,
|
|
6064
|
+
var es, uf = {}, Vo = (
|
|
6065
6065
|
/** @class */
|
|
6066
6066
|
(function() {
|
|
6067
6067
|
function t(e, n, r) {
|
|
6068
|
-
if (n === void 0 && (n = Zt), r === void 0 && (r = "ObservableMap@" + ue()), this.enhancer = n, this.name = r, this[es] =
|
|
6068
|
+
if (n === void 0 && (n = Zt), r === void 0 && (r = "ObservableMap@" + ue()), this.enhancer = n, this.name = r, this[es] = uf, this._keysAtom = _o(this.name + ".keys()"), this[Symbol.toStringTag] = "Map", typeof Map != "function")
|
|
6069
6069
|
throw new Error("mobx.map requires Map polyfill for the current browser. Check babel-polyfill or core-js/es6/map.js");
|
|
6070
6070
|
this._data = /* @__PURE__ */ new Map(), this._hasMap = /* @__PURE__ */ new Map(), this.merge(e);
|
|
6071
6071
|
}
|
|
@@ -6187,8 +6187,8 @@ var es, cl = {}, Vo = (
|
|
|
6187
6187
|
var a = mt(o.value, 2), c = a[0], u = a[1];
|
|
6188
6188
|
e.call(n, u, c, this);
|
|
6189
6189
|
}
|
|
6190
|
-
} catch (
|
|
6191
|
-
r = { error:
|
|
6190
|
+
} catch (f) {
|
|
6191
|
+
r = { error: f };
|
|
6192
6192
|
} finally {
|
|
6193
6193
|
try {
|
|
6194
6194
|
o && !o.done && (i = s.return) && i.call(s);
|
|
@@ -6237,10 +6237,10 @@ var es, cl = {}, Vo = (
|
|
|
6237
6237
|
}, t.prototype.replace = function(e) {
|
|
6238
6238
|
var n = this;
|
|
6239
6239
|
return Pe(function() {
|
|
6240
|
-
var r, i, s, o, a =
|
|
6240
|
+
var r, i, s, o, a = lu(e), c = /* @__PURE__ */ new Map(), u = !1;
|
|
6241
6241
|
try {
|
|
6242
|
-
for (var
|
|
6243
|
-
var p =
|
|
6242
|
+
for (var f = we(n._data.keys()), l = f.next(); !l.done; l = f.next()) {
|
|
6243
|
+
var p = l.value;
|
|
6244
6244
|
if (!a.has(p)) {
|
|
6245
6245
|
var h = n.delete(p);
|
|
6246
6246
|
if (h)
|
|
@@ -6255,7 +6255,7 @@ var es, cl = {}, Vo = (
|
|
|
6255
6255
|
r = { error: Z };
|
|
6256
6256
|
} finally {
|
|
6257
6257
|
try {
|
|
6258
|
-
|
|
6258
|
+
l && !l.done && (i = f.return) && i.call(f);
|
|
6259
6259
|
} finally {
|
|
6260
6260
|
if (r) throw r.error;
|
|
6261
6261
|
}
|
|
@@ -6328,11 +6328,11 @@ var es, cl = {}, Vo = (
|
|
|
6328
6328
|
return en(this, e);
|
|
6329
6329
|
}, t;
|
|
6330
6330
|
})()
|
|
6331
|
-
), Re = Je("ObservableMap", Vo), ts,
|
|
6331
|
+
), Re = Je("ObservableMap", Vo), ts, ff = {}, Go = (
|
|
6332
6332
|
/** @class */
|
|
6333
6333
|
(function() {
|
|
6334
6334
|
function t(e, n, r) {
|
|
6335
|
-
if (n === void 0 && (n = Zt), r === void 0 && (r = "ObservableSet@" + ue()), this.name = r, this[ts] =
|
|
6335
|
+
if (n === void 0 && (n = Zt), r === void 0 && (r = "ObservableSet@" + ue()), this.name = r, this[ts] = ff, this._data = /* @__PURE__ */ new Set(), this._atom = _o(this.name), this[Symbol.toStringTag] = "Set", typeof Set != "function")
|
|
6336
6336
|
throw new Error("mobx.set requires Set polyfill for the current browser. Check babel-polyfill or core-js/es6/set.js");
|
|
6337
6337
|
this.enhancer = function(i, s) {
|
|
6338
6338
|
return n(i, s, r);
|
|
@@ -6530,10 +6530,10 @@ var es, cl = {}, Vo = (
|
|
|
6530
6530
|
n = s.newValue;
|
|
6531
6531
|
}
|
|
6532
6532
|
var o = new nt(n, r, this.name + "." + Ve(e), !1);
|
|
6533
|
-
this.values.set(e, o), n = o.value, Object.defineProperty(i, e,
|
|
6533
|
+
this.values.set(e, o), n = o.value, Object.defineProperty(i, e, lf(e)), this.notifyPropertyAddition(e, n);
|
|
6534
6534
|
}, t.prototype.addComputedProp = function(e, n, r) {
|
|
6535
6535
|
var i = this.target;
|
|
6536
|
-
r.name = r.name || this.name + "." + Ve(n), this.values.set(n, new _t(r)), (e === i || pu(e, n)) && Object.defineProperty(e, n,
|
|
6536
|
+
r.name = r.name || this.name + "." + Ve(n), this.values.set(n, new _t(r)), (e === i || pu(e, n)) && Object.defineProperty(e, n, df(n));
|
|
6537
6537
|
}, t.prototype.remove = function(e) {
|
|
6538
6538
|
if (this.values.has(e)) {
|
|
6539
6539
|
var n = this.target;
|
|
@@ -6613,7 +6613,7 @@ function ui(t, e, n) {
|
|
|
6613
6613
|
return Rt(t, k, r), r;
|
|
6614
6614
|
}
|
|
6615
6615
|
var ns = /* @__PURE__ */ Object.create(null), rs = /* @__PURE__ */ Object.create(null);
|
|
6616
|
-
function
|
|
6616
|
+
function lf(t) {
|
|
6617
6617
|
return ns[t] || (ns[t] = {
|
|
6618
6618
|
configurable: !0,
|
|
6619
6619
|
enumerable: !0,
|
|
@@ -6629,7 +6629,7 @@ function is(t) {
|
|
|
6629
6629
|
var e = t[k];
|
|
6630
6630
|
return e || (st(t), t[k]);
|
|
6631
6631
|
}
|
|
6632
|
-
function
|
|
6632
|
+
function df(t) {
|
|
6633
6633
|
return rs[t] || (rs[t] = {
|
|
6634
6634
|
configurable: w.computedConfigurable,
|
|
6635
6635
|
enumerable: !1,
|
|
@@ -6641,9 +6641,9 @@ function fl(t) {
|
|
|
6641
6641
|
}
|
|
6642
6642
|
});
|
|
6643
6643
|
}
|
|
6644
|
-
var
|
|
6644
|
+
var pf = Je("ObservableObjectAdministration", Wo);
|
|
6645
6645
|
function Pt(t) {
|
|
6646
|
-
return ri(t) ? (st(t),
|
|
6646
|
+
return ri(t) ? (st(t), pf(t[k])) : !1;
|
|
6647
6647
|
}
|
|
6648
6648
|
function wt(t, e) {
|
|
6649
6649
|
if (typeof t == "object" && t !== null) {
|
|
@@ -6670,16 +6670,16 @@ function wt(t, e) {
|
|
|
6670
6670
|
return t[k];
|
|
6671
6671
|
return $(!1);
|
|
6672
6672
|
}
|
|
6673
|
-
function
|
|
6673
|
+
function hf(t, e) {
|
|
6674
6674
|
if (t || $("Expecting some object"), ii(t) || Qn(t) || jn(t) || Re(t) || xe(t))
|
|
6675
6675
|
return t;
|
|
6676
6676
|
if (st(t), t[k])
|
|
6677
6677
|
return t[k];
|
|
6678
6678
|
$(!1);
|
|
6679
6679
|
}
|
|
6680
|
-
function
|
|
6680
|
+
function gf(t, e) {
|
|
6681
6681
|
var n;
|
|
6682
|
-
return e !== void 0 ? n = wt(t, e) : Pt(t) || Re(t) || xe(t) ? n =
|
|
6682
|
+
return e !== void 0 ? n = wt(t, e) : Pt(t) || Re(t) || xe(t) ? n = hf(t) : n = wt(t), n.name;
|
|
6683
6683
|
}
|
|
6684
6684
|
var ss = Object.prototype.toString;
|
|
6685
6685
|
function zo(t, e, n) {
|
|
@@ -6728,21 +6728,21 @@ function Lr(t, e, n, r, i) {
|
|
|
6728
6728
|
if (n === 0)
|
|
6729
6729
|
return !1;
|
|
6730
6730
|
n < 0 && (n = -1), r = r || [], i = i || [];
|
|
6731
|
-
for (var
|
|
6732
|
-
if (r[
|
|
6733
|
-
return i[
|
|
6731
|
+
for (var f = r.length; f--; )
|
|
6732
|
+
if (r[f] === t)
|
|
6733
|
+
return i[f] === e;
|
|
6734
6734
|
if (r.push(t), i.push(e), a) {
|
|
6735
|
-
if (
|
|
6735
|
+
if (f = t.length, f !== e.length)
|
|
6736
6736
|
return !1;
|
|
6737
|
-
for (;
|
|
6738
|
-
if (!Lr(t[
|
|
6737
|
+
for (; f--; )
|
|
6738
|
+
if (!Lr(t[f], e[f], n - 1, r, i))
|
|
6739
6739
|
return !1;
|
|
6740
6740
|
} else {
|
|
6741
|
-
var
|
|
6742
|
-
if (
|
|
6741
|
+
var l = Object.keys(t), p = void 0;
|
|
6742
|
+
if (f = l.length, Object.keys(e).length !== f)
|
|
6743
6743
|
return !1;
|
|
6744
|
-
for (;
|
|
6745
|
-
if (p = f
|
|
6744
|
+
for (; f--; )
|
|
6745
|
+
if (p = l[f], !(mf(e, p) && Lr(t[p], e[p], n - 1, r, i)))
|
|
6746
6746
|
return !1;
|
|
6747
6747
|
}
|
|
6748
6748
|
return r.pop(), i.pop(), !0;
|
|
@@ -6750,13 +6750,13 @@ function Lr(t, e, n, r, i) {
|
|
|
6750
6750
|
function os(t) {
|
|
6751
6751
|
return It(t) ? t.slice() : At(t) || Re(t) || Qt(t) || xe(t) ? Array.from(t.entries()) : t;
|
|
6752
6752
|
}
|
|
6753
|
-
function
|
|
6753
|
+
function mf(t, e) {
|
|
6754
6754
|
return Object.prototype.hasOwnProperty.call(t, e);
|
|
6755
6755
|
}
|
|
6756
6756
|
function $n(t) {
|
|
6757
|
-
return t[Symbol.iterator] =
|
|
6757
|
+
return t[Symbol.iterator] = vf, t;
|
|
6758
6758
|
}
|
|
6759
|
-
function
|
|
6759
|
+
function vf() {
|
|
6760
6760
|
return this;
|
|
6761
6761
|
}
|
|
6762
6762
|
if (typeof Proxy > "u" || typeof Symbol > "u")
|
|
@@ -6764,18 +6764,18 @@ if (typeof Proxy > "u" || typeof Symbol > "u")
|
|
|
6764
6764
|
typeof __MOBX_DEVTOOLS_GLOBAL_HOOK__ == "object" && __MOBX_DEVTOOLS_GLOBAL_HOOK__.injectMobx({
|
|
6765
6765
|
spy: Hu,
|
|
6766
6766
|
extras: {
|
|
6767
|
-
getDebugName:
|
|
6767
|
+
getDebugName: gf
|
|
6768
6768
|
},
|
|
6769
6769
|
$mobx: k
|
|
6770
6770
|
});
|
|
6771
|
-
function
|
|
6771
|
+
function yf() {
|
|
6772
6772
|
try {
|
|
6773
6773
|
return localStorage.setItem("test", "test"), localStorage.removeItem("test"), !0;
|
|
6774
6774
|
} catch {
|
|
6775
6775
|
return !1;
|
|
6776
6776
|
}
|
|
6777
6777
|
}
|
|
6778
|
-
const nn =
|
|
6778
|
+
const nn = yf(), qo = {
|
|
6779
6779
|
de: "Deutsch",
|
|
6780
6780
|
en: "English",
|
|
6781
6781
|
es: "Español",
|
|
@@ -6796,18 +6796,18 @@ const nn = vl(), qo = {
|
|
|
6796
6796
|
kk: "Қазақша",
|
|
6797
6797
|
pl: "Polski",
|
|
6798
6798
|
mn: "Монгол"
|
|
6799
|
-
}, Ze = "en", Hn = "efp-locale", Fr = "language", Zn = oe.box(Ze),
|
|
6799
|
+
}, Ze = "en", Hn = "efp-locale", Fr = "language", Zn = oe.box(Ze), fi = oe.array([], {
|
|
6800
6800
|
deep: !1
|
|
6801
|
-
}), Ko = (t) => Dc(`${he}locales/${t}.json`),
|
|
6801
|
+
}), Ko = (t) => Dc(`${he}locales/${t}.json`), bf = () => {
|
|
6802
6802
|
if (!nn) return null;
|
|
6803
6803
|
const t = localStorage.getItem(Hn), e = localStorage.getItem(Fr);
|
|
6804
6804
|
return e && localStorage.removeItem(Fr), t || (e && localStorage.setItem(Hn, e), e);
|
|
6805
6805
|
}, Yo = () => {
|
|
6806
6806
|
var r;
|
|
6807
6807
|
const t = window.__data, e = ((r = navigator.languages) == null ? void 0 : r[0]) || navigator.language, n = Object.keys(qo).find((i) => e.startsWith(i));
|
|
6808
|
-
return (
|
|
6809
|
-
}, Im = () => Zn.get(), Pm = () =>
|
|
6810
|
-
|
|
6808
|
+
return (bf() || (t == null ? void 0 : t.locale) || n || Ze).toLowerCase();
|
|
6809
|
+
}, Im = () => Zn.get(), Pm = () => fi, Mm = (t) => fi.some((e) => e.id === t), Nm = (t, e) => (Zn.get(), Wt.t(t, e)), _f = async () => {
|
|
6810
|
+
fi.replace(Object.entries(qo).sort(([n], [r]) => n.localeCompare(r)).map(([n, r]) => ({
|
|
6811
6811
|
id: n,
|
|
6812
6812
|
name: r,
|
|
6813
6813
|
entity: {
|
|
@@ -6832,27 +6832,27 @@ const nn = vl(), qo = {
|
|
|
6832
6832
|
saveMissing: t !== Ze,
|
|
6833
6833
|
missingKeyHandler: (n, r, i, s) => console.debug(`i18n missing key: '${n[0]}:${r}:${i}', fallback: '${s}'`)
|
|
6834
6834
|
});
|
|
6835
|
-
},
|
|
6835
|
+
}, wf = async (t) => {
|
|
6836
6836
|
const e = t.toLowerCase();
|
|
6837
6837
|
try {
|
|
6838
6838
|
e !== Ze && !Wt.hasResourceBundle(e, "translation") && Wt.addResourceBundle(e, "translation", await Ko(e), !0, !0), await Wt.changeLanguage(e), Zn.set(e), nn && localStorage.setItem(Hn, e);
|
|
6839
6839
|
} catch (n) {
|
|
6840
6840
|
console.error(`Failed to switch language to "${e}":`, n);
|
|
6841
6841
|
}
|
|
6842
|
-
}, Lm = async () => (nn && (localStorage.removeItem(Hn), localStorage.removeItem(Fr)),
|
|
6843
|
-
async function
|
|
6842
|
+
}, Lm = async () => (nn && (localStorage.removeItem(Hn), localStorage.removeItem(Fr)), wf(Yo())), as = /webview|wv|ip((?!.*Safari)|(?=.*like Safari))|iosWebView|AndroidWebView/i.test(navigator.userAgent);
|
|
6843
|
+
async function Ef(t, e) {
|
|
6844
6844
|
if (t != null && t.customCss) {
|
|
6845
6845
|
const n = document.createElement("style");
|
|
6846
6846
|
n.textContent = t.customCss, e.append(n), await jc(t.customCss);
|
|
6847
6847
|
}
|
|
6848
6848
|
}
|
|
6849
|
-
function
|
|
6849
|
+
function Sf(t) {
|
|
6850
6850
|
return new Promise((e) => {
|
|
6851
6851
|
var n = new Image();
|
|
6852
6852
|
n.onerror = () => e(null), n.onload = () => e(n), n.crossOrigin = "anonymous", n.src = t;
|
|
6853
6853
|
});
|
|
6854
6854
|
}
|
|
6855
|
-
async function
|
|
6855
|
+
async function Of(t) {
|
|
6856
6856
|
try {
|
|
6857
6857
|
(await Promise.allSettled(Object.entries({
|
|
6858
6858
|
departure: "icons/departure.svg",
|
|
@@ -6863,22 +6863,22 @@ async function Sl(t) {
|
|
|
6863
6863
|
transition_down: "icons/transition_down.svg",
|
|
6864
6864
|
kiosk: "icons/kiosk.svg",
|
|
6865
6865
|
yah: "icons/yah.svg"
|
|
6866
|
-
}).map(([n, r]) =>
|
|
6866
|
+
}).map(([n, r]) => Sf(he + r).then((i) => [n, i])))).filter((n) => n.status === "fulfilled").map((n) => n.value).forEach(([n, r]) => t.set(n, r));
|
|
6867
6867
|
} catch (e) {
|
|
6868
6868
|
console.warn(e);
|
|
6869
6869
|
}
|
|
6870
6870
|
}
|
|
6871
|
-
function
|
|
6871
|
+
function xf(t, e) {
|
|
6872
6872
|
e.exhibitors.forEach((n) => {
|
|
6873
6873
|
const r = t.exhibitors.find((i) => i.id === n.id);
|
|
6874
6874
|
r && (r.rebookingState = n.rebookingState, r.rebookingNote = n.rebookingNote);
|
|
6875
6875
|
});
|
|
6876
6876
|
}
|
|
6877
|
-
var
|
|
6878
|
-
const mr = typeof document < "u" && !!((
|
|
6877
|
+
var fo;
|
|
6878
|
+
const mr = typeof document < "u" && !!((fo = document.body) != null && fo.attachShadow) && nn && localStorage.getItem("noShadowDom") !== "1" && typeof window.FontFace < "u", Cf = nn && !!localStorage.getItem("debug"), {
|
|
6879
6879
|
hostname: je,
|
|
6880
|
-
protocol:
|
|
6881
|
-
} = window.location,
|
|
6880
|
+
protocol: Rf
|
|
6881
|
+
} = window.location, Af = je === "localhost" || je === "127.0.0.1" || je === "::1" || je.startsWith("192.168.") || je.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(je) || je.endsWith(".local") || Rf === "file:" || je === "", L = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, H = globalThis, rt = "10.34.0";
|
|
6882
6882
|
function er() {
|
|
6883
6883
|
return tr(H), H;
|
|
6884
6884
|
}
|
|
@@ -6890,7 +6890,7 @@ function Mt(t, e, n = H) {
|
|
|
6890
6890
|
const r = n.__SENTRY__ = n.__SENTRY__ || {}, i = r[rt] = r[rt] || {};
|
|
6891
6891
|
return i[t] || (i[t] = e());
|
|
6892
6892
|
}
|
|
6893
|
-
const
|
|
6893
|
+
const kf = [
|
|
6894
6894
|
"debug",
|
|
6895
6895
|
"info",
|
|
6896
6896
|
"warn",
|
|
@@ -6898,7 +6898,7 @@ const Al = [
|
|
|
6898
6898
|
"log",
|
|
6899
6899
|
"assert",
|
|
6900
6900
|
"trace"
|
|
6901
|
-
],
|
|
6901
|
+
], Tf = "Sentry Logger ", Vn = {};
|
|
6902
6902
|
function Nt(t) {
|
|
6903
6903
|
if (!("console" in H))
|
|
6904
6904
|
return t();
|
|
@@ -6915,27 +6915,27 @@ function Nt(t) {
|
|
|
6915
6915
|
});
|
|
6916
6916
|
}
|
|
6917
6917
|
}
|
|
6918
|
-
function
|
|
6918
|
+
function If() {
|
|
6919
6919
|
di().enabled = !0;
|
|
6920
6920
|
}
|
|
6921
|
-
function
|
|
6921
|
+
function Pf() {
|
|
6922
6922
|
di().enabled = !1;
|
|
6923
6923
|
}
|
|
6924
6924
|
function Jo() {
|
|
6925
6925
|
return di().enabled;
|
|
6926
6926
|
}
|
|
6927
|
-
function
|
|
6928
|
-
|
|
6927
|
+
function Mf(...t) {
|
|
6928
|
+
li("log", ...t);
|
|
6929
6929
|
}
|
|
6930
|
-
function
|
|
6931
|
-
|
|
6930
|
+
function Nf(...t) {
|
|
6931
|
+
li("warn", ...t);
|
|
6932
6932
|
}
|
|
6933
|
-
function
|
|
6934
|
-
|
|
6933
|
+
function Lf(...t) {
|
|
6934
|
+
li("error", ...t);
|
|
6935
6935
|
}
|
|
6936
|
-
function
|
|
6936
|
+
function li(t, ...e) {
|
|
6937
6937
|
L && Jo() && Nt(() => {
|
|
6938
|
-
H.console[t](`${
|
|
6938
|
+
H.console[t](`${Tf}[${t}]:`, ...e);
|
|
6939
6939
|
});
|
|
6940
6940
|
}
|
|
6941
6941
|
function di() {
|
|
@@ -6943,17 +6943,17 @@ function di() {
|
|
|
6943
6943
|
}
|
|
6944
6944
|
const R = {
|
|
6945
6945
|
/** Enable logging. */
|
|
6946
|
-
enable:
|
|
6946
|
+
enable: If,
|
|
6947
6947
|
/** Disable logging. */
|
|
6948
|
-
disable:
|
|
6948
|
+
disable: Pf,
|
|
6949
6949
|
/** Check if logging is enabled. */
|
|
6950
6950
|
isEnabled: Jo,
|
|
6951
6951
|
/** Log a message. */
|
|
6952
|
-
log:
|
|
6952
|
+
log: Mf,
|
|
6953
6953
|
/** Log a warning. */
|
|
6954
|
-
warn:
|
|
6954
|
+
warn: Nf,
|
|
6955
6955
|
/** Log an error. */
|
|
6956
|
-
error:
|
|
6956
|
+
error: Lf
|
|
6957
6957
|
}, Xo = 50, ot = "?", cs = /\(error: (.*)\)/, us = /captureMessage|captureException/;
|
|
6958
6958
|
function Qo(...t) {
|
|
6959
6959
|
const e = t.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
|
|
@@ -6965,10 +6965,10 @@ function Qo(...t) {
|
|
|
6965
6965
|
c.length > 1024 && (c = c.slice(0, 1024));
|
|
6966
6966
|
const u = cs.test(c) ? c.replace(cs, "$1") : c;
|
|
6967
6967
|
if (!u.match(/\S*Error: /)) {
|
|
6968
|
-
for (const
|
|
6969
|
-
const
|
|
6970
|
-
if (
|
|
6971
|
-
s.push(
|
|
6968
|
+
for (const f of e) {
|
|
6969
|
+
const l = f(u);
|
|
6970
|
+
if (l) {
|
|
6971
|
+
s.push(l);
|
|
6972
6972
|
break;
|
|
6973
6973
|
}
|
|
6974
6974
|
}
|
|
@@ -6976,13 +6976,13 @@ function Qo(...t) {
|
|
|
6976
6976
|
break;
|
|
6977
6977
|
}
|
|
6978
6978
|
}
|
|
6979
|
-
return
|
|
6979
|
+
return Df(s.slice(i));
|
|
6980
6980
|
};
|
|
6981
6981
|
}
|
|
6982
|
-
function
|
|
6982
|
+
function Ff(t) {
|
|
6983
6983
|
return Array.isArray(t) ? Qo(...t) : t;
|
|
6984
6984
|
}
|
|
6985
|
-
function
|
|
6985
|
+
function Df(t) {
|
|
6986
6986
|
if (!t.length)
|
|
6987
6987
|
return [];
|
|
6988
6988
|
const e = Array.from(t);
|
|
@@ -7003,7 +7003,7 @@ function qe(t) {
|
|
|
7003
7003
|
return vr;
|
|
7004
7004
|
}
|
|
7005
7005
|
}
|
|
7006
|
-
function
|
|
7006
|
+
function fs(t) {
|
|
7007
7007
|
const e = t.exception;
|
|
7008
7008
|
if (e) {
|
|
7009
7009
|
const n = [];
|
|
@@ -7019,13 +7019,13 @@ function ls(t) {
|
|
|
7019
7019
|
function Zo(t) {
|
|
7020
7020
|
return "__v_isVNode" in t && t.__v_isVNode ? "[VueVNode]" : "[VueViewModel]";
|
|
7021
7021
|
}
|
|
7022
|
-
const On = {},
|
|
7022
|
+
const On = {}, ls = {};
|
|
7023
7023
|
function ct(t, e) {
|
|
7024
7024
|
On[t] = On[t] || [], On[t].push(e);
|
|
7025
7025
|
}
|
|
7026
7026
|
function ut(t, e) {
|
|
7027
|
-
if (!
|
|
7028
|
-
|
|
7027
|
+
if (!ls[t]) {
|
|
7028
|
+
ls[t] = !0;
|
|
7029
7029
|
try {
|
|
7030
7030
|
e();
|
|
7031
7031
|
} catch (n) {
|
|
@@ -7050,11 +7050,11 @@ Error:`,
|
|
|
7050
7050
|
}
|
|
7051
7051
|
}
|
|
7052
7052
|
let yr = null;
|
|
7053
|
-
function
|
|
7053
|
+
function Bf(t) {
|
|
7054
7054
|
const e = "error";
|
|
7055
|
-
ct(e, t), ut(e,
|
|
7055
|
+
ct(e, t), ut(e, jf);
|
|
7056
7056
|
}
|
|
7057
|
-
function
|
|
7057
|
+
function jf() {
|
|
7058
7058
|
yr = H.onerror, H.onerror = function(t, e, n, r, i) {
|
|
7059
7059
|
return _e("error", {
|
|
7060
7060
|
column: r,
|
|
@@ -7066,11 +7066,11 @@ function Bl() {
|
|
|
7066
7066
|
}, H.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
7067
7067
|
}
|
|
7068
7068
|
let br = null;
|
|
7069
|
-
function
|
|
7069
|
+
function Uf(t) {
|
|
7070
7070
|
const e = "unhandledrejection";
|
|
7071
|
-
ct(e, t), ut(e,
|
|
7071
|
+
ct(e, t), ut(e, $f);
|
|
7072
7072
|
}
|
|
7073
|
-
function
|
|
7073
|
+
function $f() {
|
|
7074
7074
|
br = H.onunhandledrejection, H.onunhandledrejection = function(t) {
|
|
7075
7075
|
return _e("unhandledrejection", t), br ? br.apply(this, arguments) : !0;
|
|
7076
7076
|
}, H.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
@@ -7096,7 +7096,7 @@ function ta(t) {
|
|
|
7096
7096
|
function ds(t) {
|
|
7097
7097
|
return Lt(t, "DOMError");
|
|
7098
7098
|
}
|
|
7099
|
-
function
|
|
7099
|
+
function Hf(t) {
|
|
7100
7100
|
return Lt(t, "DOMException");
|
|
7101
7101
|
}
|
|
7102
7102
|
function Ne(t) {
|
|
@@ -7114,16 +7114,16 @@ function Kt(t) {
|
|
|
7114
7114
|
function ir(t) {
|
|
7115
7115
|
return typeof Event < "u" && Ke(t, Event);
|
|
7116
7116
|
}
|
|
7117
|
-
function
|
|
7117
|
+
function Vf(t) {
|
|
7118
7118
|
return typeof Element < "u" && Ke(t, Element);
|
|
7119
7119
|
}
|
|
7120
|
-
function
|
|
7120
|
+
function Gf(t) {
|
|
7121
7121
|
return Lt(t, "RegExp");
|
|
7122
7122
|
}
|
|
7123
7123
|
function rn(t) {
|
|
7124
7124
|
return !!(t != null && t.then && typeof t.then == "function");
|
|
7125
7125
|
}
|
|
7126
|
-
function
|
|
7126
|
+
function Wf(t) {
|
|
7127
7127
|
return Kt(t) && "nativeEvent" in t && "preventDefault" in t && "stopPropagation" in t;
|
|
7128
7128
|
}
|
|
7129
7129
|
function Ke(t, e) {
|
|
@@ -7139,7 +7139,7 @@ function na(t) {
|
|
|
7139
7139
|
function ra(t) {
|
|
7140
7140
|
return typeof Request < "u" && Ke(t, Request);
|
|
7141
7141
|
}
|
|
7142
|
-
const hi = H,
|
|
7142
|
+
const hi = H, zf = 80;
|
|
7143
7143
|
function ia(t, e = {}) {
|
|
7144
7144
|
if (!t)
|
|
7145
7145
|
return "<unknown>";
|
|
@@ -7149,15 +7149,15 @@ function ia(t, e = {}) {
|
|
|
7149
7149
|
let s = 0, o = 0;
|
|
7150
7150
|
const a = " > ", c = a.length;
|
|
7151
7151
|
let u;
|
|
7152
|
-
const
|
|
7153
|
-
for (; n && s++ < r && (u =
|
|
7152
|
+
const f = Array.isArray(e) ? e : e.keyAttrs, l = !Array.isArray(e) && e.maxStringLength || zf;
|
|
7153
|
+
for (; n && s++ < r && (u = qf(n, f), !(u === "html" || s > 1 && o + i.length * c + u.length >= l)); )
|
|
7154
7154
|
i.push(u), o += u.length, n = n.parentNode;
|
|
7155
7155
|
return i.reverse().join(a);
|
|
7156
7156
|
} catch {
|
|
7157
7157
|
return "<unknown>";
|
|
7158
7158
|
}
|
|
7159
7159
|
}
|
|
7160
|
-
function
|
|
7160
|
+
function qf(t, e) {
|
|
7161
7161
|
const n = t, r = [];
|
|
7162
7162
|
if (!(n != null && n.tagName))
|
|
7163
7163
|
return "";
|
|
@@ -7196,7 +7196,7 @@ function gi() {
|
|
|
7196
7196
|
return "";
|
|
7197
7197
|
}
|
|
7198
7198
|
}
|
|
7199
|
-
function
|
|
7199
|
+
function Kf(t) {
|
|
7200
7200
|
if (!hi.HTMLElement)
|
|
7201
7201
|
return null;
|
|
7202
7202
|
let e = t;
|
|
@@ -7214,7 +7214,7 @@ function ql(t) {
|
|
|
7214
7214
|
}
|
|
7215
7215
|
return null;
|
|
7216
7216
|
}
|
|
7217
|
-
function
|
|
7217
|
+
function le(t, e, n) {
|
|
7218
7218
|
if (!(e in t))
|
|
7219
7219
|
return;
|
|
7220
7220
|
const r = t[e];
|
|
@@ -7271,7 +7271,7 @@ function oa(t) {
|
|
|
7271
7271
|
}
|
|
7272
7272
|
function ps(t) {
|
|
7273
7273
|
try {
|
|
7274
|
-
return
|
|
7274
|
+
return Vf(t) ? ia(t) : Object.prototype.toString.call(t);
|
|
7275
7275
|
} catch {
|
|
7276
7276
|
return "<unknown>";
|
|
7277
7277
|
}
|
|
@@ -7285,7 +7285,7 @@ function hs(t) {
|
|
|
7285
7285
|
} else
|
|
7286
7286
|
return {};
|
|
7287
7287
|
}
|
|
7288
|
-
function
|
|
7288
|
+
function Yf(t) {
|
|
7289
7289
|
const e = Object.keys(oa(t));
|
|
7290
7290
|
return e.sort(), e[0] ? e.join(", ") : "[object has no keys]";
|
|
7291
7291
|
}
|
|
@@ -7320,20 +7320,20 @@ function gs(t, e) {
|
|
|
7320
7320
|
return n.join(e);
|
|
7321
7321
|
}
|
|
7322
7322
|
function xn(t, e, n = !1) {
|
|
7323
|
-
return Ne(t) ?
|
|
7323
|
+
return Ne(t) ? Gf(e) ? e.test(t) : Ne(e) ? n ? t === e : t.includes(e) : !1 : !1;
|
|
7324
7324
|
}
|
|
7325
7325
|
function ar(t, e = [], n = !1) {
|
|
7326
7326
|
return e.some((r) => xn(t, r, n));
|
|
7327
7327
|
}
|
|
7328
|
-
function
|
|
7328
|
+
function Jf() {
|
|
7329
7329
|
const t = H;
|
|
7330
7330
|
return t.crypto || t.msCrypto;
|
|
7331
7331
|
}
|
|
7332
7332
|
let _r;
|
|
7333
|
-
function
|
|
7333
|
+
function Xf() {
|
|
7334
7334
|
return Gn() * 16;
|
|
7335
7335
|
}
|
|
7336
|
-
function pe(t =
|
|
7336
|
+
function pe(t = Jf()) {
|
|
7337
7337
|
try {
|
|
7338
7338
|
if (t != null && t.randomUUID)
|
|
7339
7339
|
return sr(() => t.randomUUID()).replace(/-/g, "");
|
|
@@ -7343,7 +7343,7 @@ function pe(t = Yl()) {
|
|
|
7343
7343
|
/[018]/g,
|
|
7344
7344
|
(e) => (
|
|
7345
7345
|
// eslint-disable-next-line no-bitwise
|
|
7346
|
-
(e ^ (
|
|
7346
|
+
(e ^ (Xf() & 15) >> e / 4).toString(16)
|
|
7347
7347
|
)
|
|
7348
7348
|
);
|
|
7349
7349
|
}
|
|
@@ -7373,7 +7373,7 @@ function Et(t, e) {
|
|
|
7373
7373
|
}
|
|
7374
7374
|
}
|
|
7375
7375
|
function ms(t) {
|
|
7376
|
-
if (
|
|
7376
|
+
if (Qf(t))
|
|
7377
7377
|
return !0;
|
|
7378
7378
|
try {
|
|
7379
7379
|
Ye(t, "__sentry_captured__", !0);
|
|
@@ -7381,7 +7381,7 @@ function ms(t) {
|
|
|
7381
7381
|
}
|
|
7382
7382
|
return !1;
|
|
7383
7383
|
}
|
|
7384
|
-
function
|
|
7384
|
+
function Qf(t) {
|
|
7385
7385
|
try {
|
|
7386
7386
|
return t.__sentry_captured__;
|
|
7387
7387
|
} catch {
|
|
@@ -7391,7 +7391,7 @@ const ca = 1e3;
|
|
|
7391
7391
|
function sn() {
|
|
7392
7392
|
return or() / ca;
|
|
7393
7393
|
}
|
|
7394
|
-
function
|
|
7394
|
+
function Zf() {
|
|
7395
7395
|
const { performance: t } = H;
|
|
7396
7396
|
if (!(t != null && t.now) || !t.timeOrigin)
|
|
7397
7397
|
return sn;
|
|
@@ -7400,9 +7400,9 @@ function Ql() {
|
|
|
7400
7400
|
}
|
|
7401
7401
|
let bn;
|
|
7402
7402
|
function Le() {
|
|
7403
|
-
return (bn != null ? bn : bn =
|
|
7403
|
+
return (bn != null ? bn : bn = Zf())();
|
|
7404
7404
|
}
|
|
7405
|
-
function
|
|
7405
|
+
function el(t) {
|
|
7406
7406
|
const e = Le(), n = {
|
|
7407
7407
|
sid: pe(),
|
|
7408
7408
|
init: !0,
|
|
@@ -7412,7 +7412,7 @@ function Zl(t) {
|
|
|
7412
7412
|
status: "ok",
|
|
7413
7413
|
errors: 0,
|
|
7414
7414
|
ignoreDuration: !1,
|
|
7415
|
-
toJSON: () =>
|
|
7415
|
+
toJSON: () => nl(n)
|
|
7416
7416
|
};
|
|
7417
7417
|
return t && St(n, t), n;
|
|
7418
7418
|
}
|
|
@@ -7427,11 +7427,11 @@ function St(t, e = {}) {
|
|
|
7427
7427
|
}
|
|
7428
7428
|
e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
|
|
7429
7429
|
}
|
|
7430
|
-
function
|
|
7430
|
+
function tl(t, e) {
|
|
7431
7431
|
let n = {};
|
|
7432
7432
|
t.status === "ok" && (n = { status: "exited" }), St(t, n);
|
|
7433
7433
|
}
|
|
7434
|
-
function
|
|
7434
|
+
function nl(t) {
|
|
7435
7435
|
return {
|
|
7436
7436
|
sid: `${t.sid}`,
|
|
7437
7437
|
init: t.init,
|
|
@@ -7474,7 +7474,7 @@ function ys(t, e) {
|
|
|
7474
7474
|
function bs(t) {
|
|
7475
7475
|
return t[jr];
|
|
7476
7476
|
}
|
|
7477
|
-
const
|
|
7477
|
+
const rl = 100;
|
|
7478
7478
|
class Ce {
|
|
7479
7479
|
/** Flag if notifying is happening. */
|
|
7480
7480
|
/** Callback for client to receive scope changes. */
|
|
@@ -7736,10 +7736,10 @@ class Ce {
|
|
|
7736
7736
|
user: a,
|
|
7737
7737
|
contexts: c,
|
|
7738
7738
|
level: u,
|
|
7739
|
-
fingerprint:
|
|
7740
|
-
propagationContext:
|
|
7739
|
+
fingerprint: f = [],
|
|
7740
|
+
propagationContext: l
|
|
7741
7741
|
} = r || {};
|
|
7742
|
-
return this._tags = { ...this._tags, ...i }, this._attributes = { ...this._attributes, ...s }, this._extra = { ...this._extra, ...o }, this._contexts = { ...this._contexts, ...c }, a && Object.keys(a).length && (this._user = a), u && (this._level = u),
|
|
7742
|
+
return this._tags = { ...this._tags, ...i }, this._attributes = { ...this._attributes, ...s }, this._extra = { ...this._extra, ...o }, 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;
|
|
7743
7743
|
}
|
|
7744
7744
|
/**
|
|
7745
7745
|
* Clears the current scope and resets its properties.
|
|
@@ -7757,7 +7757,7 @@ class Ce {
|
|
|
7757
7757
|
*/
|
|
7758
7758
|
addBreadcrumb(e, n) {
|
|
7759
7759
|
var s;
|
|
7760
|
-
const r = typeof n == "number" ? n :
|
|
7760
|
+
const r = typeof n == "number" ? n : rl;
|
|
7761
7761
|
if (r <= 0)
|
|
7762
7762
|
return this;
|
|
7763
7763
|
const i = {
|
|
@@ -7893,13 +7893,13 @@ class Ce {
|
|
|
7893
7893
|
}), this._notifyingListeners = !1);
|
|
7894
7894
|
}
|
|
7895
7895
|
}
|
|
7896
|
-
function
|
|
7896
|
+
function il() {
|
|
7897
7897
|
return Mt("defaultCurrentScope", () => new Ce());
|
|
7898
7898
|
}
|
|
7899
|
-
function
|
|
7899
|
+
function sl() {
|
|
7900
7900
|
return Mt("defaultIsolationScope", () => new Ce());
|
|
7901
7901
|
}
|
|
7902
|
-
class
|
|
7902
|
+
class ol {
|
|
7903
7903
|
constructor(e, n) {
|
|
7904
7904
|
let r;
|
|
7905
7905
|
e ? r = e : r = new Ce();
|
|
@@ -7967,23 +7967,23 @@ class of {
|
|
|
7967
7967
|
}
|
|
7968
7968
|
function Ot() {
|
|
7969
7969
|
const t = er(), e = tr(t);
|
|
7970
|
-
return e.stack = e.stack || new
|
|
7970
|
+
return e.stack = e.stack || new ol(il(), sl());
|
|
7971
7971
|
}
|
|
7972
|
-
function
|
|
7972
|
+
function al(t) {
|
|
7973
7973
|
return Ot().withScope(t);
|
|
7974
7974
|
}
|
|
7975
|
-
function
|
|
7975
|
+
function cl(t, e) {
|
|
7976
7976
|
const n = Ot();
|
|
7977
7977
|
return n.withScope(() => (n.getStackTop().scope = t, e(t)));
|
|
7978
7978
|
}
|
|
7979
7979
|
function _s(t) {
|
|
7980
7980
|
return Ot().withScope(() => t(Ot().getIsolationScope()));
|
|
7981
7981
|
}
|
|
7982
|
-
function
|
|
7982
|
+
function ul() {
|
|
7983
7983
|
return {
|
|
7984
7984
|
withIsolationScope: _s,
|
|
7985
|
-
withScope:
|
|
7986
|
-
withSetScope:
|
|
7985
|
+
withScope: al,
|
|
7986
|
+
withSetScope: cl,
|
|
7987
7987
|
withSetIsolationScope: (t, e) => _s(e),
|
|
7988
7988
|
getCurrentScope: () => Ot().getScope(),
|
|
7989
7989
|
getIsolationScope: () => Ot().getIsolationScope()
|
|
@@ -7991,7 +7991,7 @@ function uf() {
|
|
|
7991
7991
|
}
|
|
7992
7992
|
function vi(t) {
|
|
7993
7993
|
const e = tr(t);
|
|
7994
|
-
return e.acs ? e.acs :
|
|
7994
|
+
return e.acs ? e.acs : ul();
|
|
7995
7995
|
}
|
|
7996
7996
|
function Xe() {
|
|
7997
7997
|
const t = er();
|
|
@@ -8001,10 +8001,10 @@ function Be() {
|
|
|
8001
8001
|
const t = er();
|
|
8002
8002
|
return vi(t).getIsolationScope();
|
|
8003
8003
|
}
|
|
8004
|
-
function
|
|
8004
|
+
function fl() {
|
|
8005
8005
|
return Mt("globalScope", () => new Ce());
|
|
8006
8006
|
}
|
|
8007
|
-
function
|
|
8007
|
+
function ll(...t) {
|
|
8008
8008
|
const e = er(), n = vi(e);
|
|
8009
8009
|
if (t.length === 2) {
|
|
8010
8010
|
const [r, i] = t;
|
|
@@ -8015,15 +8015,15 @@ function ff(...t) {
|
|
|
8015
8015
|
function ne() {
|
|
8016
8016
|
return Xe().getClient();
|
|
8017
8017
|
}
|
|
8018
|
-
function
|
|
8018
|
+
function dl(t) {
|
|
8019
8019
|
const e = t.getPropagationContext(), { traceId: n, parentSpanId: r, propagationSpanId: i } = e, s = {
|
|
8020
8020
|
trace_id: n,
|
|
8021
8021
|
span_id: i || ua()
|
|
8022
8022
|
};
|
|
8023
8023
|
return r && (s.parent_span_id = r), s;
|
|
8024
8024
|
}
|
|
8025
|
-
const
|
|
8026
|
-
function
|
|
8025
|
+
const pl = "sentry.source", hl = "sentry.sample_rate", gl = "sentry.previous_trace_sample_rate", ml = "sentry.op", vl = "sentry.origin", fa = "sentry.profile_id", la = "sentry.exclusive_time", yl = 0, bl = 1, _l = "_sentryScope", wl = "_sentryIsolationScope";
|
|
8026
|
+
function El(t) {
|
|
8027
8027
|
if (t) {
|
|
8028
8028
|
if (typeof t == "object" && "deref" in t && typeof t.deref == "function")
|
|
8029
8029
|
try {
|
|
@@ -8037,18 +8037,18 @@ function Ef(t) {
|
|
|
8037
8037
|
function da(t) {
|
|
8038
8038
|
const e = t;
|
|
8039
8039
|
return {
|
|
8040
|
-
scope: e[
|
|
8041
|
-
isolationScope:
|
|
8040
|
+
scope: e[_l],
|
|
8041
|
+
isolationScope: El(e[wl])
|
|
8042
8042
|
};
|
|
8043
8043
|
}
|
|
8044
|
-
const
|
|
8045
|
-
function
|
|
8046
|
-
const e =
|
|
8044
|
+
const Sl = "sentry-", Ol = /^sentry-/;
|
|
8045
|
+
function xl(t) {
|
|
8046
|
+
const e = Cl(t);
|
|
8047
8047
|
if (!e)
|
|
8048
8048
|
return;
|
|
8049
8049
|
const n = Object.entries(e).reduce((r, [i, s]) => {
|
|
8050
|
-
if (i.match(
|
|
8051
|
-
const o = i.slice(
|
|
8050
|
+
if (i.match(Ol)) {
|
|
8051
|
+
const o = i.slice(Sl.length);
|
|
8052
8052
|
r[o] = s;
|
|
8053
8053
|
}
|
|
8054
8054
|
return r;
|
|
@@ -8056,7 +8056,7 @@ function xf(t) {
|
|
|
8056
8056
|
if (Object.keys(n).length > 0)
|
|
8057
8057
|
return n;
|
|
8058
8058
|
}
|
|
8059
|
-
function
|
|
8059
|
+
function Cl(t) {
|
|
8060
8060
|
if (!(!t || !Ne(t) && !Array.isArray(t)))
|
|
8061
8061
|
return Array.isArray(t) ? t.reduce((e, n) => {
|
|
8062
8062
|
const r = ws(n);
|
|
@@ -8080,16 +8080,16 @@ function ws(t) {
|
|
|
8080
8080
|
});
|
|
8081
8081
|
}).reduce((e, [n, r]) => (n && r && (e[n] = r), e), {});
|
|
8082
8082
|
}
|
|
8083
|
-
const
|
|
8084
|
-
function
|
|
8083
|
+
const Rl = /^o(\d+)\./, Al = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
|
|
8084
|
+
function kl(t) {
|
|
8085
8085
|
return t === "http" || t === "https";
|
|
8086
8086
|
}
|
|
8087
8087
|
function Ft(t, e = !1) {
|
|
8088
8088
|
const { host: n, path: r, pass: i, port: s, projectId: o, protocol: a, publicKey: c } = t;
|
|
8089
8089
|
return `${a}://${c}${e && i ? `:${i}` : ""}@${n}${s ? `:${s}` : ""}/${r && `${r}/`}${o}`;
|
|
8090
8090
|
}
|
|
8091
|
-
function
|
|
8092
|
-
const e =
|
|
8091
|
+
function Tl(t) {
|
|
8092
|
+
const e = Al.exec(t);
|
|
8093
8093
|
if (!e) {
|
|
8094
8094
|
Nt(() => {
|
|
8095
8095
|
console.error(`Invalid Sentry Dsn: ${t}`);
|
|
@@ -8098,10 +8098,10 @@ function Tf(t) {
|
|
|
8098
8098
|
}
|
|
8099
8099
|
const [n, r, i = "", s = "", o = "", a = ""] = e.slice(1);
|
|
8100
8100
|
let c = "", u = a;
|
|
8101
|
-
const
|
|
8102
|
-
if (
|
|
8103
|
-
const
|
|
8104
|
-
|
|
8101
|
+
const f = u.split("/");
|
|
8102
|
+
if (f.length > 1 && (c = f.slice(0, -1).join("/"), u = f.pop()), u) {
|
|
8103
|
+
const l = u.match(/^\d+/);
|
|
8104
|
+
l && (u = l[0]);
|
|
8105
8105
|
}
|
|
8106
8106
|
return pa({ host: s, pass: i, path: c, projectId: u, port: o, protocol: n, publicKey: r });
|
|
8107
8107
|
}
|
|
@@ -8116,27 +8116,27 @@ function pa(t) {
|
|
|
8116
8116
|
projectId: t.projectId
|
|
8117
8117
|
};
|
|
8118
8118
|
}
|
|
8119
|
-
function
|
|
8119
|
+
function Il(t) {
|
|
8120
8120
|
if (!L)
|
|
8121
8121
|
return !0;
|
|
8122
8122
|
const { port: e, projectId: n, protocol: r } = t;
|
|
8123
|
-
return ["protocol", "publicKey", "host", "projectId"].find((o) => t[o] ? !1 : (R.error(`Invalid Sentry Dsn: ${o} missing`), !0)) ? !1 : n.match(/^\d+$/) ?
|
|
8123
|
+
return ["protocol", "publicKey", "host", "projectId"].find((o) => t[o] ? !1 : (R.error(`Invalid Sentry Dsn: ${o} missing`), !0)) ? !1 : n.match(/^\d+$/) ? kl(r) ? e && isNaN(parseInt(e, 10)) ? (R.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (R.error(`Invalid Sentry Dsn: Invalid protocol ${r}`), !1) : (R.error(`Invalid Sentry Dsn: Invalid projectId ${n}`), !1);
|
|
8124
8124
|
}
|
|
8125
|
-
function
|
|
8126
|
-
const e = t.match(
|
|
8125
|
+
function Pl(t) {
|
|
8126
|
+
const e = t.match(Rl);
|
|
8127
8127
|
return e == null ? void 0 : e[1];
|
|
8128
8128
|
}
|
|
8129
|
-
function
|
|
8129
|
+
function Ml(t) {
|
|
8130
8130
|
const e = t.getOptions(), { host: n } = t.getDsn() || {};
|
|
8131
8131
|
let r;
|
|
8132
|
-
return e.orgId ? r = String(e.orgId) : n && (r =
|
|
8132
|
+
return e.orgId ? r = String(e.orgId) : n && (r = Pl(n)), r;
|
|
8133
8133
|
}
|
|
8134
8134
|
function ha(t) {
|
|
8135
|
-
const e = typeof t == "string" ?
|
|
8136
|
-
if (!(!e || !
|
|
8135
|
+
const e = typeof t == "string" ? Tl(t) : pa(t);
|
|
8136
|
+
if (!(!e || !Il(e)))
|
|
8137
8137
|
return e;
|
|
8138
8138
|
}
|
|
8139
|
-
function
|
|
8139
|
+
function Nl(t) {
|
|
8140
8140
|
if (typeof t == "boolean")
|
|
8141
8141
|
return Number(t);
|
|
8142
8142
|
const e = typeof t == "string" ? parseFloat(t) : t;
|
|
@@ -8145,7 +8145,7 @@ function Nf(t) {
|
|
|
8145
8145
|
}
|
|
8146
8146
|
const ga = 1;
|
|
8147
8147
|
let Es = !1;
|
|
8148
|
-
function
|
|
8148
|
+
function Ll(t) {
|
|
8149
8149
|
const { spanId: e, traceId: n, isRemote: r } = t.spanContext(), i = r ? e : yi(t).parent_span_id, s = da(t).scope, o = r ? (s == null ? void 0 : s.getPropagationContext().propagationSpanId) || ua() : e;
|
|
8150
8150
|
return {
|
|
8151
8151
|
parent_span_id: i,
|
|
@@ -8153,7 +8153,7 @@ function Lf(t) {
|
|
|
8153
8153
|
trace_id: n
|
|
8154
8154
|
};
|
|
8155
8155
|
}
|
|
8156
|
-
function
|
|
8156
|
+
function Fl(t) {
|
|
8157
8157
|
if (t && t.length > 0)
|
|
8158
8158
|
return t.map(({ context: { spanId: e, traceId: n, traceFlags: r, ...i }, attributes: s }) => ({
|
|
8159
8159
|
span_id: e,
|
|
@@ -8171,24 +8171,24 @@ function Os(t) {
|
|
|
8171
8171
|
}
|
|
8172
8172
|
function yi(t) {
|
|
8173
8173
|
var r;
|
|
8174
|
-
if (
|
|
8174
|
+
if (Bl(t))
|
|
8175
8175
|
return t.getSpanJSON();
|
|
8176
8176
|
const { spanId: e, traceId: n } = t.spanContext();
|
|
8177
|
-
if (
|
|
8178
|
-
const { attributes: i, startTime: s, name: o, endTime: a, status: c, links: u } = t,
|
|
8177
|
+
if (Dl(t)) {
|
|
8178
|
+
const { attributes: i, startTime: s, name: o, 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;
|
|
8179
8179
|
return {
|
|
8180
8180
|
span_id: e,
|
|
8181
8181
|
trace_id: n,
|
|
8182
8182
|
data: i,
|
|
8183
8183
|
description: o,
|
|
8184
|
-
parent_span_id:
|
|
8184
|
+
parent_span_id: f,
|
|
8185
8185
|
start_timestamp: Ss(s),
|
|
8186
8186
|
// This is [0,0] by default in OTEL, in which case we want to interpret this as no end time
|
|
8187
8187
|
timestamp: Ss(a) || void 0,
|
|
8188
|
-
status:
|
|
8189
|
-
op: i[
|
|
8190
|
-
origin: i[
|
|
8191
|
-
links:
|
|
8188
|
+
status: Ul(c),
|
|
8189
|
+
op: i[ml],
|
|
8190
|
+
origin: i[vl],
|
|
8191
|
+
links: Fl(u)
|
|
8192
8192
|
};
|
|
8193
8193
|
}
|
|
8194
8194
|
return {
|
|
@@ -8198,24 +8198,24 @@ function yi(t) {
|
|
|
8198
8198
|
data: {}
|
|
8199
8199
|
};
|
|
8200
8200
|
}
|
|
8201
|
-
function
|
|
8201
|
+
function Dl(t) {
|
|
8202
8202
|
const e = t;
|
|
8203
8203
|
return !!e.attributes && !!e.startTime && !!e.name && !!e.endTime && !!e.status;
|
|
8204
8204
|
}
|
|
8205
|
-
function
|
|
8205
|
+
function Bl(t) {
|
|
8206
8206
|
return typeof t.getSpanJSON == "function";
|
|
8207
8207
|
}
|
|
8208
|
-
function
|
|
8208
|
+
function jl(t) {
|
|
8209
8209
|
const { traceFlags: e } = t.spanContext();
|
|
8210
8210
|
return e === ga;
|
|
8211
8211
|
}
|
|
8212
|
-
function
|
|
8213
|
-
if (!(!t || t.code ===
|
|
8214
|
-
return t.code ===
|
|
8212
|
+
function Ul(t) {
|
|
8213
|
+
if (!(!t || t.code === yl))
|
|
8214
|
+
return t.code === bl ? "ok" : t.message || "internal_error";
|
|
8215
8215
|
}
|
|
8216
|
-
const $
|
|
8216
|
+
const $l = "_sentryRootSpan";
|
|
8217
8217
|
function ma(t) {
|
|
8218
|
-
return t[$
|
|
8218
|
+
return t[$l] || t;
|
|
8219
8219
|
}
|
|
8220
8220
|
function xs() {
|
|
8221
8221
|
Es || (Nt(() => {
|
|
@@ -8224,7 +8224,7 @@ function xs() {
|
|
|
8224
8224
|
);
|
|
8225
8225
|
}), Es = !0);
|
|
8226
8226
|
}
|
|
8227
|
-
function
|
|
8227
|
+
function Hl(t) {
|
|
8228
8228
|
var n;
|
|
8229
8229
|
if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__)
|
|
8230
8230
|
return !1;
|
|
@@ -8239,7 +8239,7 @@ function Rs(t, e) {
|
|
|
8239
8239
|
if (!(e != null && e.length) || !t.description)
|
|
8240
8240
|
return !1;
|
|
8241
8241
|
for (const n of e) {
|
|
8242
|
-
if (
|
|
8242
|
+
if (Gl(n)) {
|
|
8243
8243
|
if (xn(t.description, n))
|
|
8244
8244
|
return L && Cs(t), !0;
|
|
8245
8245
|
continue;
|
|
@@ -8252,52 +8252,52 @@ function Rs(t, e) {
|
|
|
8252
8252
|
}
|
|
8253
8253
|
return !1;
|
|
8254
8254
|
}
|
|
8255
|
-
function
|
|
8255
|
+
function Vl(t, e) {
|
|
8256
8256
|
const n = e.parent_span_id, r = e.span_id;
|
|
8257
8257
|
if (n)
|
|
8258
8258
|
for (const i of t)
|
|
8259
8259
|
i.parent_span_id === r && (i.parent_span_id = n);
|
|
8260
8260
|
}
|
|
8261
|
-
function
|
|
8261
|
+
function Gl(t) {
|
|
8262
8262
|
return typeof t == "string" || t instanceof RegExp;
|
|
8263
8263
|
}
|
|
8264
|
-
const bi = "production",
|
|
8264
|
+
const bi = "production", Wl = "_frozenDsc";
|
|
8265
8265
|
function va(t, e) {
|
|
8266
8266
|
const n = e.getOptions(), { publicKey: r } = e.getDsn() || {}, i = {
|
|
8267
8267
|
environment: n.environment || bi,
|
|
8268
8268
|
release: n.release,
|
|
8269
8269
|
public_key: r,
|
|
8270
8270
|
trace_id: t,
|
|
8271
|
-
org_id:
|
|
8271
|
+
org_id: Ml(e)
|
|
8272
8272
|
};
|
|
8273
8273
|
return e.emit("createDsc", i), i;
|
|
8274
8274
|
}
|
|
8275
|
-
function
|
|
8275
|
+
function zl(t, e) {
|
|
8276
8276
|
const n = e.getPropagationContext();
|
|
8277
8277
|
return n.dsc || va(n.traceId, t);
|
|
8278
8278
|
}
|
|
8279
|
-
function
|
|
8279
|
+
function ql(t) {
|
|
8280
8280
|
var y, m, v, _;
|
|
8281
8281
|
const e = ne();
|
|
8282
8282
|
if (!e)
|
|
8283
8283
|
return {};
|
|
8284
|
-
const n = ma(t), r = yi(n), i = r.data, s = n.spanContext().traceState, o = (m = (y = s == null ? void 0 : s.get("sentry.sample_rate")) != null ? y : i[
|
|
8284
|
+
const n = ma(t), r = yi(n), i = r.data, s = n.spanContext().traceState, o = (m = (y = s == null ? void 0 : s.get("sentry.sample_rate")) != null ? y : i[hl]) != null ? m : i[gl];
|
|
8285
8285
|
function a(E) {
|
|
8286
8286
|
return (typeof o == "number" || typeof o == "string") && (E.sample_rate = `${o}`), E;
|
|
8287
8287
|
}
|
|
8288
|
-
const c = n[
|
|
8288
|
+
const c = n[Wl];
|
|
8289
8289
|
if (c)
|
|
8290
8290
|
return a(c);
|
|
8291
|
-
const u = s == null ? void 0 : s.get("sentry.dsc"),
|
|
8292
|
-
if (
|
|
8293
|
-
return a(
|
|
8294
|
-
const
|
|
8295
|
-
return p !== "url" && h && (
|
|
8291
|
+
const u = s == null ? void 0 : s.get("sentry.dsc"), f = u && xl(u);
|
|
8292
|
+
if (f)
|
|
8293
|
+
return a(f);
|
|
8294
|
+
const l = va(t.spanContext().traceId, e), p = i[pl], h = r.description;
|
|
8295
|
+
return p !== "url" && h && (l.transaction = h), Hl() && (l.sampled = String(jl(n)), l.sample_rand = // In OTEL we store the sample rand on the trace state because we cannot access scopes for NonRecordingSpans
|
|
8296
8296
|
// The Sentry OTEL SpanSampler takes care of writing the sample rand on the root span
|
|
8297
8297
|
(_ = s == null ? void 0 : s.get("sentry.sample_rand")) != null ? _ : (
|
|
8298
8298
|
// On all other platforms we can actually get the scopes from a root span (we use this as a fallback)
|
|
8299
8299
|
(v = da(n).scope) == null ? void 0 : v.getPropagationContext().sampleRand.toString()
|
|
8300
|
-
)), a(
|
|
8300
|
+
)), a(l), e.emit("createDsc", l, n), l;
|
|
8301
8301
|
}
|
|
8302
8302
|
function Te(t, e = 100, n = 1 / 0) {
|
|
8303
8303
|
try {
|
|
@@ -8308,14 +8308,14 @@ function Te(t, e = 100, n = 1 / 0) {
|
|
|
8308
8308
|
}
|
|
8309
8309
|
function ya(t, e = 3, n = 100 * 1024) {
|
|
8310
8310
|
const r = Te(t, e);
|
|
8311
|
-
return
|
|
8311
|
+
return Xl(r) > n ? ya(t, e - 1, n) : r;
|
|
8312
8312
|
}
|
|
8313
|
-
function Ur(t, e, n = 1 / 0, r = 1 / 0, i =
|
|
8313
|
+
function Ur(t, e, n = 1 / 0, r = 1 / 0, i = Ql()) {
|
|
8314
8314
|
const [s, o] = i;
|
|
8315
8315
|
if (e == null || // this matches null and undefined -> eqeq not eqeqeq
|
|
8316
8316
|
["boolean", "string"].includes(typeof e) || typeof e == "number" && Number.isFinite(e))
|
|
8317
8317
|
return e;
|
|
8318
|
-
const a =
|
|
8318
|
+
const a = Kl(t, e);
|
|
8319
8319
|
if (!a.startsWith("[object "))
|
|
8320
8320
|
return a;
|
|
8321
8321
|
if (e.__sentry_skip_normalization__)
|
|
@@ -8332,22 +8332,22 @@ function Ur(t, e, n = 1 / 0, r = 1 / 0, i = Qf()) {
|
|
|
8332
8332
|
return Ur("", h, c - 1, r, i);
|
|
8333
8333
|
} catch {
|
|
8334
8334
|
}
|
|
8335
|
-
const
|
|
8336
|
-
let
|
|
8335
|
+
const f = Array.isArray(e) ? [] : {};
|
|
8336
|
+
let l = 0;
|
|
8337
8337
|
const p = oa(e);
|
|
8338
8338
|
for (const h in p) {
|
|
8339
8339
|
if (!Object.prototype.hasOwnProperty.call(p, h))
|
|
8340
8340
|
continue;
|
|
8341
|
-
if (
|
|
8342
|
-
|
|
8341
|
+
if (l >= r) {
|
|
8342
|
+
f[h] = "[MaxProperties ~]";
|
|
8343
8343
|
break;
|
|
8344
8344
|
}
|
|
8345
8345
|
const y = p[h];
|
|
8346
|
-
|
|
8346
|
+
f[h] = Ur(h, y, c - 1, r, i), l++;
|
|
8347
8347
|
}
|
|
8348
|
-
return o(e),
|
|
8348
|
+
return o(e), f;
|
|
8349
8349
|
}
|
|
8350
|
-
function
|
|
8350
|
+
function Kl(t, e) {
|
|
8351
8351
|
try {
|
|
8352
8352
|
if (t === "domain" && e && typeof e == "object" && e._events)
|
|
8353
8353
|
return "[Domain]";
|
|
@@ -8361,7 +8361,7 @@ function Kf(t, e) {
|
|
|
8361
8361
|
return "[Document]";
|
|
8362
8362
|
if (na(e))
|
|
8363
8363
|
return Zo(e);
|
|
8364
|
-
if (
|
|
8364
|
+
if (Wf(e))
|
|
8365
8365
|
return "[SyntheticEvent]";
|
|
8366
8366
|
if (typeof e == "number" && !Number.isFinite(e))
|
|
8367
8367
|
return `[${e}]`;
|
|
@@ -8371,23 +8371,23 @@ function Kf(t, e) {
|
|
|
8371
8371
|
return `[${String(e)}]`;
|
|
8372
8372
|
if (typeof e == "bigint")
|
|
8373
8373
|
return `[BigInt: ${String(e)}]`;
|
|
8374
|
-
const n =
|
|
8374
|
+
const n = Yl(e);
|
|
8375
8375
|
return /^HTML(\w*)Element$/.test(n) ? `[HTMLElement: ${n}]` : `[object ${n}]`;
|
|
8376
8376
|
} catch (n) {
|
|
8377
8377
|
return `**non-serializable** (${n})`;
|
|
8378
8378
|
}
|
|
8379
8379
|
}
|
|
8380
|
-
function
|
|
8380
|
+
function Yl(t) {
|
|
8381
8381
|
const e = Object.getPrototypeOf(t);
|
|
8382
8382
|
return e != null && e.constructor ? e.constructor.name : "null prototype";
|
|
8383
8383
|
}
|
|
8384
|
-
function
|
|
8384
|
+
function Jl(t) {
|
|
8385
8385
|
return ~-encodeURI(t).split(/%..|./).length;
|
|
8386
8386
|
}
|
|
8387
|
-
function
|
|
8388
|
-
return
|
|
8387
|
+
function Xl(t) {
|
|
8388
|
+
return Jl(JSON.stringify(t));
|
|
8389
8389
|
}
|
|
8390
|
-
function
|
|
8390
|
+
function Ql() {
|
|
8391
8391
|
const t = /* @__PURE__ */ new WeakSet();
|
|
8392
8392
|
function e(r) {
|
|
8393
8393
|
return t.has(r) ? !0 : (t.add(r), !1);
|
|
@@ -8400,7 +8400,7 @@ function Qf() {
|
|
|
8400
8400
|
function Dt(t, e = []) {
|
|
8401
8401
|
return [t, e];
|
|
8402
8402
|
}
|
|
8403
|
-
function
|
|
8403
|
+
function Zl(t, e) {
|
|
8404
8404
|
const [n, r] = t;
|
|
8405
8405
|
return [n, [...r, e]];
|
|
8406
8406
|
}
|
|
@@ -8651,7 +8651,7 @@ function Vr(t, e, n, r) {
|
|
|
8651
8651
|
return L && s === null && R.log(`Event processor "${i.id || "?"}" dropped event`), rn(s) ? s.then((o) => Vr(o, e, n, r + 1)) : Vr(s, e, n, r + 1);
|
|
8652
8652
|
}
|
|
8653
8653
|
let ke, Is, Ps, Ue;
|
|
8654
|
-
function
|
|
8654
|
+
function fd(t) {
|
|
8655
8655
|
const e = H._sentryDebugIds, n = H._debugIds;
|
|
8656
8656
|
if (!e && !n)
|
|
8657
8657
|
return {};
|
|
@@ -8661,13 +8661,13 @@ function ld(t) {
|
|
|
8661
8661
|
Is = r.length, Ps = i.length, Ue = {}, ke || (ke = {});
|
|
8662
8662
|
const s = (o, a) => {
|
|
8663
8663
|
for (const c of o) {
|
|
8664
|
-
const u = a[c],
|
|
8665
|
-
if (
|
|
8666
|
-
Ue[
|
|
8664
|
+
const u = a[c], f = ke == null ? void 0 : ke[c];
|
|
8665
|
+
if (f && Ue && u)
|
|
8666
|
+
Ue[f[0]] = u, ke && (ke[c] = [f[0], u]);
|
|
8667
8667
|
else if (u) {
|
|
8668
|
-
const
|
|
8669
|
-
for (let p =
|
|
8670
|
-
const h =
|
|
8668
|
+
const l = t(c);
|
|
8669
|
+
for (let p = l.length - 1; p >= 0; p--) {
|
|
8670
|
+
const h = l[p], y = h == null ? void 0 : h.filename;
|
|
8671
8671
|
if (y && Ue && ke) {
|
|
8672
8672
|
Ue[y] = u, ke[c] = [y, u];
|
|
8673
8673
|
break;
|
|
@@ -8678,7 +8678,7 @@ function ld(t) {
|
|
|
8678
8678
|
};
|
|
8679
8679
|
return e && s(r, e), n && s(i, n), Ue;
|
|
8680
8680
|
}
|
|
8681
|
-
function
|
|
8681
|
+
function ld(t, e) {
|
|
8682
8682
|
const { fingerprint: n, span: r, breadcrumbs: i, sdkProcessingMetadata: s } = e;
|
|
8683
8683
|
pd(t, e), r && md(t, r), vd(t, n), hd(t, i), gd(t, s);
|
|
8684
8684
|
}
|
|
@@ -8692,20 +8692,20 @@ function Ms(t, e) {
|
|
|
8692
8692
|
level: a,
|
|
8693
8693
|
sdkProcessingMetadata: c,
|
|
8694
8694
|
breadcrumbs: u,
|
|
8695
|
-
fingerprint:
|
|
8696
|
-
eventProcessors:
|
|
8695
|
+
fingerprint: f,
|
|
8696
|
+
eventProcessors: l,
|
|
8697
8697
|
attachments: p,
|
|
8698
8698
|
propagationContext: h,
|
|
8699
8699
|
transactionName: y,
|
|
8700
8700
|
span: m
|
|
8701
8701
|
} = e;
|
|
8702
|
-
Ut(t, "extra", n), Ut(t, "tags", r), Ut(t, "attributes", i), Ut(t, "user", s), Ut(t, "contexts", o), t.sdkProcessingMetadata = on(t.sdkProcessingMetadata, c, 2), a && (t.level = a), y && (t.transactionName = y), m && (t.span = m), u.length && (t.breadcrumbs = [...t.breadcrumbs, ...u]),
|
|
8702
|
+
Ut(t, "extra", n), Ut(t, "tags", r), Ut(t, "attributes", i), Ut(t, "user", s), Ut(t, "contexts", o), t.sdkProcessingMetadata = on(t.sdkProcessingMetadata, c, 2), a && (t.level = a), y && (t.transactionName = y), 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, ...h };
|
|
8703
8703
|
}
|
|
8704
8704
|
function Ut(t, e, n) {
|
|
8705
8705
|
t[e] = on(t[e], n, 1);
|
|
8706
8706
|
}
|
|
8707
8707
|
function dd(t, e) {
|
|
8708
|
-
const n =
|
|
8708
|
+
const n = fl().getScopeData();
|
|
8709
8709
|
return t && Ms(n, t.getScopeData()), e && Ms(n, e.getScopeData()), n;
|
|
8710
8710
|
}
|
|
8711
8711
|
function pd(t, e) {
|
|
@@ -8724,10 +8724,10 @@ function gd(t, e) {
|
|
|
8724
8724
|
}
|
|
8725
8725
|
function md(t, e) {
|
|
8726
8726
|
t.contexts = {
|
|
8727
|
-
trace:
|
|
8727
|
+
trace: Ll(e),
|
|
8728
8728
|
...t.contexts
|
|
8729
8729
|
}, t.sdkProcessingMetadata = {
|
|
8730
|
-
dynamicSamplingContext:
|
|
8730
|
+
dynamicSamplingContext: ql(e),
|
|
8731
8731
|
...t.sdkProcessingMetadata
|
|
8732
8732
|
};
|
|
8733
8733
|
const n = ma(e), r = yi(n).description;
|
|
@@ -8743,12 +8743,12 @@ function yd(t, e, n, r, i, s) {
|
|
|
8743
8743
|
timestamp: e.timestamp || sn()
|
|
8744
8744
|
}, u = n.integrations || t.integrations.map((v) => v.name);
|
|
8745
8745
|
bd(c, t), Ed(c, u), i && i.emit("applyFrameMetadata", e), e.type === void 0 && _d(c, t.stackParser);
|
|
8746
|
-
const
|
|
8746
|
+
const f = Od(r, n.captureContext);
|
|
8747
8747
|
n.mechanism && Et(c, n.mechanism);
|
|
8748
|
-
const
|
|
8749
|
-
h.length && (n.attachments = h),
|
|
8748
|
+
const l = i ? i.getEventProcessors() : [], p = dd(s, f), h = [...n.attachments || [], ...p.attachments];
|
|
8749
|
+
h.length && (n.attachments = h), ld(c, p);
|
|
8750
8750
|
const y = [
|
|
8751
|
-
...
|
|
8751
|
+
...l,
|
|
8752
8752
|
// Run scope event processors _after_ all other processors
|
|
8753
8753
|
...p.eventProcessors
|
|
8754
8754
|
];
|
|
@@ -8765,7 +8765,7 @@ function bd(t, e) {
|
|
|
8765
8765
|
}
|
|
8766
8766
|
function _d(t, e) {
|
|
8767
8767
|
var r, i;
|
|
8768
|
-
const n =
|
|
8768
|
+
const n = fd(e);
|
|
8769
8769
|
(i = (r = t.exception) == null ? void 0 : r.values) == null || i.forEach((s) => {
|
|
8770
8770
|
var o, a;
|
|
8771
8771
|
(a = (o = s.stacktrace) == null ? void 0 : o.frames) == null || a.forEach((c) => {
|
|
@@ -8873,7 +8873,7 @@ function Fm() {
|
|
|
8873
8873
|
return Be().lastEventId();
|
|
8874
8874
|
}
|
|
8875
8875
|
function Ns(t) {
|
|
8876
|
-
const e = Be(), n = Xe(), { userAgent: r } = H.navigator || {}, i =
|
|
8876
|
+
const e = Be(), n = Xe(), { userAgent: r } = H.navigator || {}, i = el({
|
|
8877
8877
|
user: n.getUser() || e.getUser(),
|
|
8878
8878
|
...r && { userAgent: r },
|
|
8879
8879
|
...t
|
|
@@ -8882,7 +8882,7 @@ function Ns(t) {
|
|
|
8882
8882
|
}
|
|
8883
8883
|
function wa() {
|
|
8884
8884
|
const t = Be(), n = Xe().getSession() || t.getSession();
|
|
8885
|
-
n &&
|
|
8885
|
+
n && tl(n), Ea(), t.setSession();
|
|
8886
8886
|
}
|
|
8887
8887
|
function Ea() {
|
|
8888
8888
|
const t = Be(), e = ne(), n = t.getSession();
|
|
@@ -9100,12 +9100,12 @@ function Kd(t, { statusCode: e, headers: n }, r = or()) {
|
|
|
9100
9100
|
}, s = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
9101
9101
|
if (s)
|
|
9102
9102
|
for (const a of s.trim().split(",")) {
|
|
9103
|
-
const [c, u, , ,
|
|
9103
|
+
const [c, u, , , f] = a.split(":", 5), l = parseInt(c, 10), p = (isNaN(l) ? 60 : l) * 1e3;
|
|
9104
9104
|
if (!u)
|
|
9105
9105
|
i.all = r + p;
|
|
9106
9106
|
else
|
|
9107
9107
|
for (const h of u.split(";"))
|
|
9108
|
-
h === "metric_bucket" ? (!
|
|
9108
|
+
h === "metric_bucket" ? (!f || f.split(";").includes("custom")) && (i[h] = r + p) : i[h] = r + p;
|
|
9109
9109
|
}
|
|
9110
9110
|
else o ? i.all = r + Wd(o, r) : e === 429 && (i.all = r + 60 * 1e3);
|
|
9111
9111
|
return i;
|
|
@@ -9118,31 +9118,31 @@ function Yd(t, e, n = Ei(
|
|
|
9118
9118
|
const i = (o) => n.drain(o);
|
|
9119
9119
|
function s(o) {
|
|
9120
9120
|
const a = [];
|
|
9121
|
-
if ($r(o, (
|
|
9121
|
+
if ($r(o, (l, p) => {
|
|
9122
9122
|
const h = As(p);
|
|
9123
|
-
qd(r, h) ? t.recordDroppedEvent("ratelimit_backoff", h) : a.push(
|
|
9123
|
+
qd(r, h) ? t.recordDroppedEvent("ratelimit_backoff", h) : a.push(l);
|
|
9124
9124
|
}), a.length === 0)
|
|
9125
9125
|
return Promise.resolve({});
|
|
9126
|
-
const c = Dt(o[0], a), u = (
|
|
9126
|
+
const c = Dt(o[0], a), u = (l) => {
|
|
9127
9127
|
if (ed(c, ["client_report"])) {
|
|
9128
|
-
L && R.warn(`Dropping client report. Will not send outcomes (reason: ${
|
|
9128
|
+
L && R.warn(`Dropping client report. Will not send outcomes (reason: ${l}).`);
|
|
9129
9129
|
return;
|
|
9130
9130
|
}
|
|
9131
9131
|
$r(c, (p, h) => {
|
|
9132
|
-
t.recordDroppedEvent(
|
|
9132
|
+
t.recordDroppedEvent(l, As(h));
|
|
9133
9133
|
});
|
|
9134
|
-
},
|
|
9135
|
-
(
|
|
9136
|
-
(
|
|
9137
|
-
throw u("network_error"), L && R.error("Encountered error running transport request:",
|
|
9134
|
+
}, f = () => e({ body: td(c) }).then(
|
|
9135
|
+
(l) => (l.statusCode !== void 0 && (l.statusCode < 200 || l.statusCode >= 300) && L && R.warn(`Sentry responded with status code ${l.statusCode} to sent event.`), r = Kd(r, l), l),
|
|
9136
|
+
(l) => {
|
|
9137
|
+
throw u("network_error"), L && R.error("Encountered error running transport request:", l), l;
|
|
9138
9138
|
}
|
|
9139
9139
|
);
|
|
9140
|
-
return n.add(
|
|
9141
|
-
(
|
|
9142
|
-
(
|
|
9143
|
-
if (
|
|
9140
|
+
return n.add(f).then(
|
|
9141
|
+
(l) => l,
|
|
9142
|
+
(l) => {
|
|
9143
|
+
if (l === wi)
|
|
9144
9144
|
return L && R.error("Skipped sending event because buffer is full."), u("queue_overflow"), Promise.resolve({});
|
|
9145
|
-
throw
|
|
9145
|
+
throw l;
|
|
9146
9146
|
}
|
|
9147
9147
|
);
|
|
9148
9148
|
}
|
|
@@ -9172,7 +9172,7 @@ function Ta(t) {
|
|
|
9172
9172
|
return e;
|
|
9173
9173
|
}
|
|
9174
9174
|
function Xd(t) {
|
|
9175
|
-
var c, u,
|
|
9175
|
+
var c, u, f;
|
|
9176
9176
|
const { trace_id: e, parent_span_id: n, span_id: r, status: i, origin: s, data: o, op: a } = (u = (c = t.contexts) == null ? void 0 : c.trace) != null ? u : {};
|
|
9177
9177
|
return {
|
|
9178
9178
|
data: o != null ? o : {},
|
|
@@ -9180,13 +9180,13 @@ function Xd(t) {
|
|
|
9180
9180
|
op: a,
|
|
9181
9181
|
parent_span_id: n,
|
|
9182
9182
|
span_id: r != null ? r : "",
|
|
9183
|
-
start_timestamp: (
|
|
9183
|
+
start_timestamp: (f = t.start_timestamp) != null ? f : 0,
|
|
9184
9184
|
status: i,
|
|
9185
9185
|
timestamp: t.timestamp,
|
|
9186
9186
|
trace_id: e != null ? e : "",
|
|
9187
9187
|
origin: s,
|
|
9188
|
-
profile_id: o == null ? void 0 : o[
|
|
9189
|
-
exclusive_time: o == null ? void 0 : o[
|
|
9188
|
+
profile_id: o == null ? void 0 : o[fa],
|
|
9189
|
+
exclusive_time: o == null ? void 0 : o[la],
|
|
9190
9190
|
measurements: t.measurements,
|
|
9191
9191
|
is_segment: !0
|
|
9192
9192
|
};
|
|
@@ -9207,8 +9207,8 @@ function Qd(t) {
|
|
|
9207
9207
|
origin: t.origin,
|
|
9208
9208
|
data: {
|
|
9209
9209
|
...t.data,
|
|
9210
|
-
...t.profile_id && { [
|
|
9211
|
-
...t.exclusive_time && { [
|
|
9210
|
+
...t.profile_id && { [fa]: t.profile_id },
|
|
9211
|
+
...t.exclusive_time && { [la]: t.exclusive_time }
|
|
9212
9212
|
}
|
|
9213
9213
|
}
|
|
9214
9214
|
},
|
|
@@ -9261,7 +9261,7 @@ class ep {
|
|
|
9261
9261
|
constructor(e) {
|
|
9262
9262
|
var r, i, s, o, a, c, u;
|
|
9263
9263
|
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = Ei((i = (r = e.transportOptions) == null ? void 0 : r.bufferSize) != null ? i : ka), e.dsn ? this._dsn = ha(e.dsn) : L && R.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
9264
|
-
const
|
|
9264
|
+
const f = Nd(
|
|
9265
9265
|
this._dsn,
|
|
9266
9266
|
e.tunnel,
|
|
9267
9267
|
e._metadata ? e._metadata.sdk : void 0
|
|
@@ -9270,7 +9270,7 @@ class ep {
|
|
|
9270
9270
|
tunnel: this._options.tunnel,
|
|
9271
9271
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
9272
9272
|
...e.transportOptions,
|
|
9273
|
-
url:
|
|
9273
|
+
url: f
|
|
9274
9274
|
});
|
|
9275
9275
|
}
|
|
9276
9276
|
this._options.enableLogs = (o = this._options.enableLogs) != null ? o : (s = this._options._experiments) == null ? void 0 : s.enableLogs, this._options.enableLogs && Hs(this, "afterCaptureLog", "flushLogs", ip, xa), ((u = (c = this._options.enableMetrics) != null ? c : (a = this._options._experiments) == null ? void 0 : a.enableMetrics) == null || u) && Hs(
|
|
@@ -9453,7 +9453,7 @@ class ep {
|
|
|
9453
9453
|
this.emit("beforeSendEvent", e, n);
|
|
9454
9454
|
let r = cd(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
9455
9455
|
for (const i of n.attachments || [])
|
|
9456
|
-
r =
|
|
9456
|
+
r = Zl(r, rd(i));
|
|
9457
9457
|
this.sendEnvelope(r).then((i) => this.emit("afterSendEvent", e, i));
|
|
9458
9458
|
}
|
|
9459
9459
|
/**
|
|
@@ -9537,8 +9537,8 @@ class ep {
|
|
|
9537
9537
|
const s = (c = n.exception) == null ? void 0 : c.values;
|
|
9538
9538
|
if (s) {
|
|
9539
9539
|
i = !0, r = !1;
|
|
9540
|
-
for (const
|
|
9541
|
-
if (((u =
|
|
9540
|
+
for (const f of s)
|
|
9541
|
+
if (((u = f.mechanism) == null ? void 0 : u.handled) === !1) {
|
|
9542
9542
|
r = !0;
|
|
9543
9543
|
break;
|
|
9544
9544
|
}
|
|
@@ -9592,10 +9592,10 @@ class ep {
|
|
|
9592
9592
|
if (a === null)
|
|
9593
9593
|
return a;
|
|
9594
9594
|
this.emit("postprocessEvent", a, n), a.contexts = {
|
|
9595
|
-
trace:
|
|
9595
|
+
trace: dl(r),
|
|
9596
9596
|
...a.contexts
|
|
9597
9597
|
};
|
|
9598
|
-
const c =
|
|
9598
|
+
const c = zl(this, r);
|
|
9599
9599
|
return a.sdkProcessingMetadata = {
|
|
9600
9600
|
dynamicSamplingContext: c,
|
|
9601
9601
|
...a.sdkProcessingMetadata
|
|
@@ -9630,8 +9630,8 @@ class ep {
|
|
|
9630
9630
|
* @returns A SyncPromise that resolves with the event or rejects in case event was/will not be send.
|
|
9631
9631
|
*/
|
|
9632
9632
|
_processEvent(e, n, r, i) {
|
|
9633
|
-
const s = this.getOptions(), { sampleRate: o } = s, a = Ma(e), c = Wr(e),
|
|
9634
|
-
if (c && typeof
|
|
9633
|
+
const s = this.getOptions(), { sampleRate: o } = s, a = Ma(e), c = Wr(e), f = `before send for type \`${e.type || "error"}\``, l = typeof o > "u" ? void 0 : Nl(o);
|
|
9634
|
+
if (c && typeof l == "number" && Gn() > l)
|
|
9635
9635
|
return this.recordDroppedEvent("sample_rate", "error"), _i(
|
|
9636
9636
|
Sr(
|
|
9637
9637
|
`Discarding event because it's not included in the random sample (sampling rate = ${o})`
|
|
@@ -9644,7 +9644,7 @@ class ep {
|
|
|
9644
9644
|
if (n.data && n.data.__sentry__ === !0)
|
|
9645
9645
|
return h;
|
|
9646
9646
|
const m = np(this, s, h, n);
|
|
9647
|
-
return tp(m,
|
|
9647
|
+
return tp(m, f);
|
|
9648
9648
|
}).then((h) => {
|
|
9649
9649
|
var v;
|
|
9650
9650
|
if (h === null) {
|
|
@@ -9652,7 +9652,7 @@ class ep {
|
|
|
9652
9652
|
const E = 1 + (e.spans || []).length;
|
|
9653
9653
|
this.recordDroppedEvent("before_send", "span", E);
|
|
9654
9654
|
}
|
|
9655
|
-
throw Sr(`${
|
|
9655
|
+
throw Sr(`${f} returned \`null\`, will not send event.`);
|
|
9656
9656
|
}
|
|
9657
9657
|
const y = r.getSession() || i.getSession();
|
|
9658
9658
|
if (c && y && this._updateSessionFromEvent(y, h), a) {
|
|
@@ -9760,24 +9760,24 @@ function np(t, e, n, r) {
|
|
|
9760
9760
|
if (a != null && a.length && Rs(u, a))
|
|
9761
9761
|
return null;
|
|
9762
9762
|
if (o) {
|
|
9763
|
-
const
|
|
9764
|
-
|
|
9763
|
+
const f = o(u);
|
|
9764
|
+
f ? c = on(n, Qd(f)) : xs();
|
|
9765
9765
|
}
|
|
9766
9766
|
if (c.spans) {
|
|
9767
|
-
const
|
|
9768
|
-
for (const h of
|
|
9767
|
+
const f = [], l = c.spans;
|
|
9768
|
+
for (const h of l) {
|
|
9769
9769
|
if (a != null && a.length && Rs(h, a)) {
|
|
9770
|
-
|
|
9770
|
+
Vl(l, h);
|
|
9771
9771
|
continue;
|
|
9772
9772
|
}
|
|
9773
9773
|
if (o) {
|
|
9774
9774
|
const y = o(h);
|
|
9775
|
-
y ?
|
|
9775
|
+
y ? f.push(y) : (xs(), f.push(h));
|
|
9776
9776
|
} else
|
|
9777
|
-
|
|
9777
|
+
f.push(h);
|
|
9778
9778
|
}
|
|
9779
|
-
const p = c.spans.length -
|
|
9780
|
-
p && t.recordDroppedEvent("before_send", "span", p), c.spans =
|
|
9779
|
+
const p = c.spans.length - f.length;
|
|
9780
|
+
p && t.recordDroppedEvent("before_send", "span", p), c.spans = f;
|
|
9781
9781
|
}
|
|
9782
9782
|
}
|
|
9783
9783
|
if (s) {
|
|
@@ -9879,8 +9879,8 @@ function at(t, e) {
|
|
|
9879
9879
|
c !== null && (n.emit && n.emit("beforeAddBreadcrumb", c, e), r.addBreadcrumb(c, s));
|
|
9880
9880
|
}
|
|
9881
9881
|
let zs;
|
|
9882
|
-
const
|
|
9883
|
-
name:
|
|
9882
|
+
const fp = "FunctionToString", qs = /* @__PURE__ */ new WeakMap(), lp = (() => ({
|
|
9883
|
+
name: fp,
|
|
9884
9884
|
setupOnce() {
|
|
9885
9885
|
zs = Function.prototype.toString;
|
|
9886
9886
|
try {
|
|
@@ -9894,7 +9894,7 @@ const lp = "FunctionToString", qs = /* @__PURE__ */ new WeakMap(), fp = (() => (
|
|
|
9894
9894
|
setup(t) {
|
|
9895
9895
|
qs.set(t, !0);
|
|
9896
9896
|
}
|
|
9897
|
-
})), dp =
|
|
9897
|
+
})), dp = lp, pp = [
|
|
9898
9898
|
/^Script error\.?$/,
|
|
9899
9899
|
/^Javascript error: Script error\.? on line 0$/,
|
|
9900
9900
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -10057,8 +10057,8 @@ function zr(t, e, n, r, i, s, o, a) {
|
|
|
10057
10057
|
let c = [...s];
|
|
10058
10058
|
if (Ke(r[i], Error)) {
|
|
10059
10059
|
Ys(o, a);
|
|
10060
|
-
const u = t(e, r[i]),
|
|
10061
|
-
Js(u, i,
|
|
10060
|
+
const u = t(e, r[i]), f = c.length;
|
|
10061
|
+
Js(u, i, f, a), c = zr(
|
|
10062
10062
|
t,
|
|
10063
10063
|
e,
|
|
10064
10064
|
n,
|
|
@@ -10066,21 +10066,21 @@ function zr(t, e, n, r, i, s, o, a) {
|
|
|
10066
10066
|
i,
|
|
10067
10067
|
[u, ...c],
|
|
10068
10068
|
u,
|
|
10069
|
-
|
|
10069
|
+
f
|
|
10070
10070
|
);
|
|
10071
10071
|
}
|
|
10072
|
-
return Array.isArray(r.errors) && r.errors.forEach((u,
|
|
10072
|
+
return Array.isArray(r.errors) && r.errors.forEach((u, f) => {
|
|
10073
10073
|
if (Ke(u, Error)) {
|
|
10074
10074
|
Ys(o, a);
|
|
10075
|
-
const
|
|
10076
|
-
Js(
|
|
10075
|
+
const l = t(e, u), p = c.length;
|
|
10076
|
+
Js(l, `errors[${f}]`, p, a), c = zr(
|
|
10077
10077
|
t,
|
|
10078
10078
|
e,
|
|
10079
10079
|
n,
|
|
10080
10080
|
u,
|
|
10081
10081
|
i,
|
|
10082
|
-
[
|
|
10083
|
-
|
|
10082
|
+
[l, ...c],
|
|
10083
|
+
l,
|
|
10084
10084
|
p
|
|
10085
10085
|
);
|
|
10086
10086
|
}
|
|
@@ -10110,8 +10110,8 @@ function xp(t) {
|
|
|
10110
10110
|
ct(e, t), ut(e, Cp);
|
|
10111
10111
|
}
|
|
10112
10112
|
function Cp() {
|
|
10113
|
-
"console" in H &&
|
|
10114
|
-
t in H.console &&
|
|
10113
|
+
"console" in H && kf.forEach(function(t) {
|
|
10114
|
+
t in H.console && le(H.console, t, function(e) {
|
|
10115
10115
|
return Vn[t] = e, function(...n) {
|
|
10116
10116
|
_e("console", { args: n, level: t });
|
|
10117
10117
|
const i = Vn[t];
|
|
@@ -10151,7 +10151,7 @@ function Mp(t, e) {
|
|
|
10151
10151
|
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Da(t, e) || !Fa(t, e));
|
|
10152
10152
|
}
|
|
10153
10153
|
function Fa(t, e) {
|
|
10154
|
-
let n =
|
|
10154
|
+
let n = fs(t), r = fs(e);
|
|
10155
10155
|
if (!n && !r)
|
|
10156
10156
|
return !0;
|
|
10157
10157
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length))
|
|
@@ -10224,7 +10224,7 @@ function Dp(t, e) {
|
|
|
10224
10224
|
ct(n, t), ut(n, () => Bp(void 0, e));
|
|
10225
10225
|
}
|
|
10226
10226
|
function Bp(t, e = !1) {
|
|
10227
|
-
e && !Fp() ||
|
|
10227
|
+
e && !Fp() || le(H, "fetch", function(n) {
|
|
10228
10228
|
return function(...r) {
|
|
10229
10229
|
const i = new Error(), { method: s, url: o } = jp(r), a = {
|
|
10230
10230
|
args: r,
|
|
@@ -10252,11 +10252,11 @@ function Bp(t, e = !1) {
|
|
|
10252
10252
|
endTimestamp: Le() * 1e3,
|
|
10253
10253
|
error: c
|
|
10254
10254
|
}), nr(c) && c.stack === void 0 && (c.stack = i.stack, Ye(c, "framesToPop", 1));
|
|
10255
|
-
const u = ne(),
|
|
10256
|
-
if (
|
|
10255
|
+
const u = ne(), f = (p = u == null ? void 0 : u.getOptions().enhanceFetchErrorMessages) != null ? p : "always";
|
|
10256
|
+
if (f !== !1 && c instanceof TypeError && (c.message === "Failed to fetch" || c.message === "Load failed" || c.message === "NetworkError when attempting to fetch resource."))
|
|
10257
10257
|
try {
|
|
10258
10258
|
const y = new URL(a.fetchData.url).host;
|
|
10259
|
-
|
|
10259
|
+
f === "always" ? c.message = `${c.message} (${y})` : Ye(c, "__sentry_fetch_url_host__", y);
|
|
10260
10260
|
} catch {
|
|
10261
10261
|
}
|
|
10262
10262
|
throw c;
|
|
@@ -10333,7 +10333,7 @@ function xt(t, e = {}) {
|
|
|
10333
10333
|
const s = i.map((o) => xt(o, e));
|
|
10334
10334
|
return t.apply(this, s);
|
|
10335
10335
|
} catch (s) {
|
|
10336
|
-
throw Hp(),
|
|
10336
|
+
throw Hp(), ll((o) => {
|
|
10337
10337
|
o.addEventProcessor((a) => (e.mechanism && (Br(a, void 0), Et(a, e.mechanism)), a.extra = {
|
|
10338
10338
|
...a.extra,
|
|
10339
10339
|
arguments: i
|
|
@@ -10447,7 +10447,7 @@ function xi(t, e, n, r, i) {
|
|
|
10447
10447
|
let s;
|
|
10448
10448
|
if (ta(e) && e.error)
|
|
10449
10449
|
return xr(t, e.error);
|
|
10450
|
-
if (ds(e) ||
|
|
10450
|
+
if (ds(e) || Hf(e)) {
|
|
10451
10451
|
const o = e;
|
|
10452
10452
|
if ("stack" in e)
|
|
10453
10453
|
s = xr(t, e);
|
|
@@ -10481,7 +10481,7 @@ function Yr(t, e, n, r) {
|
|
|
10481
10481
|
return i.message = e, i;
|
|
10482
10482
|
}
|
|
10483
10483
|
function Qp(t, { isUnhandledRejection: e }) {
|
|
10484
|
-
const n =
|
|
10484
|
+
const n = Yf(t), r = e ? "promise rejection" : "exception";
|
|
10485
10485
|
return ta(t) ? `Event \`ErrorEvent\` captured as ${r} with message \`${t.message}\`` : ir(t) ? `Event \`${Zp(t)}\` (type=${t.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
10486
10486
|
}
|
|
10487
10487
|
function Zp(t) {
|
|
@@ -10506,9 +10506,9 @@ class th extends ep {
|
|
|
10506
10506
|
* @param options Configuration options for this SDK.
|
|
10507
10507
|
*/
|
|
10508
10508
|
constructor(e) {
|
|
10509
|
-
var
|
|
10509
|
+
var f, l;
|
|
10510
10510
|
const n = nh(e), r = q.SENTRY_SDK_SOURCE || $p();
|
|
10511
|
-
La(n, "browser", ["browser"], r), (
|
|
10511
|
+
La(n, "browser", ["browser"], r), (f = n._metadata) != null && f.sdk && (n._metadata.sdk.settings = {
|
|
10512
10512
|
infer_ip: n.sendDefaultPii ? "auto" : "never",
|
|
10513
10513
|
// purposefully allowing already passed settings to override the default
|
|
10514
10514
|
...n._metadata.sdk.settings
|
|
@@ -10519,7 +10519,7 @@ class th extends ep {
|
|
|
10519
10519
|
enableLogs: o,
|
|
10520
10520
|
_experiments: a,
|
|
10521
10521
|
enableMetrics: c
|
|
10522
|
-
} = this._options, u = (
|
|
10522
|
+
} = this._options, u = (l = c != null ? c : a == null ? void 0 : a.enableMetrics) != null ? l : !0;
|
|
10523
10523
|
q.document && (s || o || u) && q.document.addEventListener("visibilitychange", () => {
|
|
10524
10524
|
q.document.visibilityState === "hidden" && (s && this._flushOutcomes(), o && xa(this), u && Ra(this));
|
|
10525
10525
|
}), i && this.on("beforeSendSession", cp);
|
|
@@ -10566,32 +10566,32 @@ function oh() {
|
|
|
10566
10566
|
ae.document.addEventListener("click", e, !1), ae.document.addEventListener("keypress", e, !1), ["EventTarget", "Node"].forEach((n) => {
|
|
10567
10567
|
var s, o;
|
|
10568
10568
|
const i = (s = ae[n]) == null ? void 0 : s.prototype;
|
|
10569
|
-
(o = i == null ? void 0 : i.hasOwnProperty) != null && o.call(i, "addEventListener") && (
|
|
10570
|
-
return function(c, u,
|
|
10569
|
+
(o = i == null ? void 0 : i.hasOwnProperty) != null && o.call(i, "addEventListener") && (le(i, "addEventListener", function(a) {
|
|
10570
|
+
return function(c, u, f) {
|
|
10571
10571
|
if (c === "click" || c == "keypress")
|
|
10572
10572
|
try {
|
|
10573
|
-
const
|
|
10573
|
+
const l = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, p = l[c] = l[c] || { refCount: 0 };
|
|
10574
10574
|
if (!p.handler) {
|
|
10575
10575
|
const h = eo(t);
|
|
10576
|
-
p.handler = h, a.call(this, c, h,
|
|
10576
|
+
p.handler = h, a.call(this, c, h, f);
|
|
10577
10577
|
}
|
|
10578
10578
|
p.refCount++;
|
|
10579
10579
|
} catch {
|
|
10580
10580
|
}
|
|
10581
|
-
return a.call(this, c, u,
|
|
10581
|
+
return a.call(this, c, u, f);
|
|
10582
10582
|
};
|
|
10583
|
-
}),
|
|
10583
|
+
}), le(
|
|
10584
10584
|
i,
|
|
10585
10585
|
"removeEventListener",
|
|
10586
10586
|
function(a) {
|
|
10587
|
-
return function(c, u,
|
|
10587
|
+
return function(c, u, f) {
|
|
10588
10588
|
if (c === "click" || c == "keypress")
|
|
10589
10589
|
try {
|
|
10590
|
-
const
|
|
10591
|
-
p && (p.refCount--, p.refCount <= 0 && (a.call(this, c, p.handler,
|
|
10590
|
+
const l = this.__sentry_instrumentation_handlers__ || {}, p = l[c];
|
|
10591
|
+
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__);
|
|
10592
10592
|
} catch {
|
|
10593
10593
|
}
|
|
10594
|
-
return a.call(this, c, u,
|
|
10594
|
+
return a.call(this, c, u, f);
|
|
10595
10595
|
};
|
|
10596
10596
|
}
|
|
10597
10597
|
));
|
|
@@ -10634,9 +10634,9 @@ function uh(t) {
|
|
|
10634
10634
|
let _n;
|
|
10635
10635
|
function $a(t) {
|
|
10636
10636
|
const e = "history";
|
|
10637
|
-
ct(e, t), ut(e,
|
|
10637
|
+
ct(e, t), ut(e, fh);
|
|
10638
10638
|
}
|
|
10639
|
-
function
|
|
10639
|
+
function fh() {
|
|
10640
10640
|
if (ae.addEventListener("popstate", () => {
|
|
10641
10641
|
const e = ae.location.href, n = _n;
|
|
10642
10642
|
if (_n = e, n === e)
|
|
@@ -10648,7 +10648,7 @@ function lh() {
|
|
|
10648
10648
|
return function(...n) {
|
|
10649
10649
|
const r = n.length > 2 ? n[2] : void 0;
|
|
10650
10650
|
if (r) {
|
|
10651
|
-
const i = _n, s =
|
|
10651
|
+
const i = _n, s = lh(String(r));
|
|
10652
10652
|
if (_n = s, i === s)
|
|
10653
10653
|
return e.apply(this, n);
|
|
10654
10654
|
_e("history", { from: i, to: s });
|
|
@@ -10656,9 +10656,9 @@ function lh() {
|
|
|
10656
10656
|
return e.apply(this, n);
|
|
10657
10657
|
};
|
|
10658
10658
|
}
|
|
10659
|
-
|
|
10659
|
+
le(ae.history, "pushState", t), le(ae.history, "replaceState", t);
|
|
10660
10660
|
}
|
|
10661
|
-
function
|
|
10661
|
+
function lh(t) {
|
|
10662
10662
|
try {
|
|
10663
10663
|
return new URL(t, ae.location.origin).toString();
|
|
10664
10664
|
} catch {
|
|
@@ -10713,23 +10713,23 @@ function gh() {
|
|
|
10713
10713
|
u.status_code = n.status;
|
|
10714
10714
|
} catch {
|
|
10715
10715
|
}
|
|
10716
|
-
const
|
|
10716
|
+
const f = {
|
|
10717
10717
|
endTimestamp: Le() * 1e3,
|
|
10718
10718
|
startTimestamp: s,
|
|
10719
10719
|
xhr: n,
|
|
10720
10720
|
virtualError: i
|
|
10721
10721
|
};
|
|
10722
|
-
_e("xhr",
|
|
10722
|
+
_e("xhr", f);
|
|
10723
10723
|
}
|
|
10724
10724
|
};
|
|
10725
10725
|
return "onreadystatechange" in n && typeof n.onreadystatechange == "function" ? n.onreadystatechange = new Proxy(n.onreadystatechange, {
|
|
10726
|
-
apply(u,
|
|
10727
|
-
return c(), u.apply(
|
|
10726
|
+
apply(u, f, l) {
|
|
10727
|
+
return c(), u.apply(f, l);
|
|
10728
10728
|
}
|
|
10729
10729
|
}) : n.addEventListener("readystatechange", c), n.setRequestHeader = new Proxy(n.setRequestHeader, {
|
|
10730
|
-
apply(u,
|
|
10731
|
-
const [p, h] =
|
|
10732
|
-
return y && Ne(p) && Ne(h) && (y.request_headers[p.toLowerCase()] = h), u.apply(
|
|
10730
|
+
apply(u, f, l) {
|
|
10731
|
+
const [p, h] = l, y = f[Gt];
|
|
10732
|
+
return y && Ne(p) && Ne(h) && (y.request_headers[p.toLowerCase()] = h), u.apply(f, l);
|
|
10733
10733
|
}
|
|
10734
10734
|
}), e.apply(n, r);
|
|
10735
10735
|
}
|
|
@@ -10889,8 +10889,8 @@ function Fh(t, e) {
|
|
|
10889
10889
|
`\`dom.maxStringLength\` cannot exceed ${wn}, but a value of ${a} was configured. Sentry will use ${wn} instead.`
|
|
10890
10890
|
), a = wn), typeof o == "string" && (o = [o]);
|
|
10891
10891
|
try {
|
|
10892
|
-
const u = r.event,
|
|
10893
|
-
i = ia(
|
|
10892
|
+
const u = r.event, f = $h(u) ? u.target : u;
|
|
10893
|
+
i = ia(f, { keyAttrs: o, maxStringLength: a }), s = Kf(f);
|
|
10894
10894
|
} catch {
|
|
10895
10895
|
i = "<unknown>";
|
|
10896
10896
|
}
|
|
@@ -10938,22 +10938,22 @@ function Bh(t) {
|
|
|
10938
10938
|
const { startTimestamp: r, endTimestamp: i } = n, s = n.xhr[Gt];
|
|
10939
10939
|
if (!r || !i || !s)
|
|
10940
10940
|
return;
|
|
10941
|
-
const { method: o, url: a, status_code: c, body: u } = s,
|
|
10941
|
+
const { method: o, url: a, status_code: c, body: u } = s, f = {
|
|
10942
10942
|
method: o,
|
|
10943
10943
|
url: a,
|
|
10944
10944
|
status_code: c
|
|
10945
|
-
},
|
|
10945
|
+
}, l = {
|
|
10946
10946
|
xhr: n.xhr,
|
|
10947
10947
|
input: u,
|
|
10948
10948
|
startTimestamp: r,
|
|
10949
10949
|
endTimestamp: i
|
|
10950
10950
|
}, p = {
|
|
10951
10951
|
category: "xhr",
|
|
10952
|
-
data:
|
|
10952
|
+
data: f,
|
|
10953
10953
|
type: "http",
|
|
10954
10954
|
level: Ba(c)
|
|
10955
10955
|
};
|
|
10956
|
-
t.emit("beforeOutgoingRequestBreadcrumb", p,
|
|
10956
|
+
t.emit("beforeOutgoingRequestBreadcrumb", p, l), at(p, l);
|
|
10957
10957
|
};
|
|
10958
10958
|
}
|
|
10959
10959
|
function jh(t) {
|
|
@@ -11063,7 +11063,7 @@ const Hh = [
|
|
|
11063
11063
|
// TODO: This currently only works for the first client this is setup
|
|
11064
11064
|
// We may want to adjust this to check for client etc.
|
|
11065
11065
|
setupOnce() {
|
|
11066
|
-
e.setTimeout &&
|
|
11066
|
+
e.setTimeout && le(q, "setTimeout", to), e.setInterval && le(q, "setInterval", to), e.requestAnimationFrame && le(q, "requestAnimationFrame", zh), e.XMLHttpRequest && "XMLHttpRequest" in q && le(XMLHttpRequest.prototype, "send", qh);
|
|
11067
11067
|
const n = e.eventTarget;
|
|
11068
11068
|
n && (Array.isArray(n) ? n : Hh).forEach((i) => Kh(i, e));
|
|
11069
11069
|
}
|
|
@@ -11099,7 +11099,7 @@ function qh(t) {
|
|
|
11099
11099
|
return function(...e) {
|
|
11100
11100
|
const n = this;
|
|
11101
11101
|
return ["onload", "onerror", "onprogress", "onreadystatechange"].forEach((i) => {
|
|
11102
|
-
i in n && typeof n[i] == "function" &&
|
|
11102
|
+
i in n && typeof n[i] == "function" && le(n, i, function(s) {
|
|
11103
11103
|
const o = {
|
|
11104
11104
|
mechanism: {
|
|
11105
11105
|
data: {
|
|
@@ -11117,7 +11117,7 @@ function qh(t) {
|
|
|
11117
11117
|
function Kh(t, e) {
|
|
11118
11118
|
var i, s;
|
|
11119
11119
|
const r = (i = q[t]) == null ? void 0 : i.prototype;
|
|
11120
|
-
(s = r == null ? void 0 : r.hasOwnProperty) != null && s.call(r, "addEventListener") && (
|
|
11120
|
+
(s = r == null ? void 0 : r.hasOwnProperty) != null && s.call(r, "addEventListener") && (le(r, "addEventListener", function(o) {
|
|
11121
11121
|
return function(a, c, u) {
|
|
11122
11122
|
try {
|
|
11123
11123
|
Yh(c) && (c.handleEvent = xt(c.handleEvent, {
|
|
@@ -11147,11 +11147,11 @@ function Kh(t, e) {
|
|
|
11147
11147
|
u
|
|
11148
11148
|
]);
|
|
11149
11149
|
};
|
|
11150
|
-
}),
|
|
11150
|
+
}), le(r, "removeEventListener", function(o) {
|
|
11151
11151
|
return function(a, c, u) {
|
|
11152
11152
|
try {
|
|
11153
|
-
const
|
|
11154
|
-
|
|
11153
|
+
const f = c.__sentry_wrapped__;
|
|
11154
|
+
f && o.call(this, a, f, u);
|
|
11155
11155
|
} catch {
|
|
11156
11156
|
}
|
|
11157
11157
|
return o.call(this, a, c, u);
|
|
@@ -11192,7 +11192,7 @@ const Xh = () => ({
|
|
|
11192
11192
|
};
|
|
11193
11193
|
}), eg = Zh;
|
|
11194
11194
|
function tg(t) {
|
|
11195
|
-
|
|
11195
|
+
Bf((e) => {
|
|
11196
11196
|
const { stackParser: n, attachStacktrace: r } = Ga();
|
|
11197
11197
|
if (ne() !== t || ja())
|
|
11198
11198
|
return;
|
|
@@ -11212,7 +11212,7 @@ function tg(t) {
|
|
|
11212
11212
|
});
|
|
11213
11213
|
}
|
|
11214
11214
|
function ng(t) {
|
|
11215
|
-
|
|
11215
|
+
Uf((e) => {
|
|
11216
11216
|
const { stackParser: n, attachStacktrace: r } = Ga();
|
|
11217
11217
|
if (ne() !== t || ja())
|
|
11218
11218
|
return;
|
|
@@ -11253,13 +11253,13 @@ function ig(t) {
|
|
|
11253
11253
|
}
|
|
11254
11254
|
function sg(t, e, n, r) {
|
|
11255
11255
|
var p;
|
|
11256
|
-
const i = t.exception = t.exception || {}, s = i.values = i.values || [], o = s[0] = s[0] || {}, a = o.stacktrace = o.stacktrace || {}, c = a.frames = a.frames || [], u = r,
|
|
11256
|
+
const i = t.exception = t.exception || {}, s = i.values = i.values || [], o = s[0] = s[0] || {}, a = o.stacktrace = o.stacktrace || {}, c = a.frames = a.frames || [], u = r, f = n, l = (p = og(e)) != null ? p : gi();
|
|
11257
11257
|
return c.length === 0 && c.push({
|
|
11258
11258
|
colno: u,
|
|
11259
|
-
filename:
|
|
11259
|
+
filename: l,
|
|
11260
11260
|
function: ot,
|
|
11261
11261
|
in_app: !0,
|
|
11262
|
-
lineno:
|
|
11262
|
+
lineno: f
|
|
11263
11263
|
}), t;
|
|
11264
11264
|
}
|
|
11265
11265
|
function no(t) {
|
|
@@ -11297,10 +11297,10 @@ const ag = () => ({
|
|
|
11297
11297
|
headers: n
|
|
11298
11298
|
};
|
|
11299
11299
|
}
|
|
11300
|
-
}), cg = "cause", ug = 5,
|
|
11300
|
+
}), cg = "cause", ug = 5, fg = "LinkedErrors", lg = ((t = {}) => {
|
|
11301
11301
|
const e = t.limit || ug, n = t.key || cg;
|
|
11302
11302
|
return {
|
|
11303
|
-
name:
|
|
11303
|
+
name: fg,
|
|
11304
11304
|
preprocessEvent(r, i, s) {
|
|
11305
11305
|
const o = s.getOptions();
|
|
11306
11306
|
Op(
|
|
@@ -11314,7 +11314,7 @@ const ag = () => ({
|
|
|
11314
11314
|
);
|
|
11315
11315
|
}
|
|
11316
11316
|
};
|
|
11317
|
-
}), dg =
|
|
11317
|
+
}), dg = lg;
|
|
11318
11318
|
function pg() {
|
|
11319
11319
|
return hg() ? (ur && Nt(() => {
|
|
11320
11320
|
console.error(
|
|
@@ -11356,7 +11356,7 @@ function mg(t = {}) {
|
|
|
11356
11356
|
const r = {
|
|
11357
11357
|
...t,
|
|
11358
11358
|
enabled: e ? !1 : t.enabled,
|
|
11359
|
-
stackParser:
|
|
11359
|
+
stackParser: Ff(t.stackParser || Ih),
|
|
11360
11360
|
integrations: Fd({
|
|
11361
11361
|
integrations: t.integrations,
|
|
11362
11362
|
defaultIntegrations: n
|
|
@@ -11370,7 +11370,7 @@ var ro;
|
|
|
11370
11370
|
function vg() {
|
|
11371
11371
|
if (ro) return M;
|
|
11372
11372
|
ro = 1;
|
|
11373
|
-
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"), i = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), o = /* @__PURE__ */ Symbol.for("react.context"), a = /* @__PURE__ */ Symbol.for("react.forward_ref"), c = /* @__PURE__ */ Symbol.for("react.suspense"), u = /* @__PURE__ */ Symbol.for("react.memo"),
|
|
11373
|
+
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"), i = /* @__PURE__ */ Symbol.for("react.profiler"), s = /* @__PURE__ */ Symbol.for("react.consumer"), o = /* @__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;
|
|
11374
11374
|
function h(d) {
|
|
11375
11375
|
return d === null || typeof d != "object" ? null : (d = p && d[p] || d["@@iterator"], typeof d == "function" ? d : null);
|
|
11376
11376
|
}
|
|
@@ -11476,7 +11476,7 @@ function vg() {
|
|
|
11476
11476
|
case e:
|
|
11477
11477
|
U = !0;
|
|
11478
11478
|
break;
|
|
11479
|
-
case
|
|
11479
|
+
case f:
|
|
11480
11480
|
return U = d._init, V(
|
|
11481
11481
|
U(d._payload),
|
|
11482
11482
|
b,
|
|
@@ -11497,10 +11497,10 @@ function vg() {
|
|
|
11497
11497
|
) + "/") + U
|
|
11498
11498
|
)), b.push(F)), 1;
|
|
11499
11499
|
U = 0;
|
|
11500
|
-
var
|
|
11500
|
+
var fe = I === "" ? "." : I + ":";
|
|
11501
11501
|
if (B(d))
|
|
11502
11502
|
for (var ce = 0; ce < d.length; ce++)
|
|
11503
|
-
I = d[ce], D =
|
|
11503
|
+
I = d[ce], D = fe + N(I, ce), U += V(
|
|
11504
11504
|
I,
|
|
11505
11505
|
b,
|
|
11506
11506
|
T,
|
|
@@ -11509,7 +11509,7 @@ function vg() {
|
|
|
11509
11509
|
);
|
|
11510
11510
|
else if (ce = h(d), typeof ce == "function")
|
|
11511
11511
|
for (d = ce.call(d), ce = 0; !(I = d.next()).done; )
|
|
11512
|
-
I = I.value, D =
|
|
11512
|
+
I = I.value, D = fe + N(I, ce++), U += V(
|
|
11513
11513
|
I,
|
|
11514
11514
|
b,
|
|
11515
11515
|
T,
|
|
@@ -11597,7 +11597,7 @@ function vg() {
|
|
|
11597
11597
|
return d;
|
|
11598
11598
|
}
|
|
11599
11599
|
};
|
|
11600
|
-
return M.Activity =
|
|
11600
|
+
return M.Activity = l, M.Children = Ae, M.Component = _, M.Fragment = n, M.Profiler = i, M.PureComponent = S, M.StrictMode = r, M.Suspense = c, M.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE = A, M.__COMPILER_RUNTIME = {
|
|
11601
11601
|
__proto__: null,
|
|
11602
11602
|
c: function(d) {
|
|
11603
11603
|
return A.H.useMemoCache(d);
|
|
@@ -11620,8 +11620,8 @@ function vg() {
|
|
|
11620
11620
|
var D = arguments.length - 2;
|
|
11621
11621
|
if (D === 1) I.children = T;
|
|
11622
11622
|
else if (1 < D) {
|
|
11623
|
-
for (var U = Array(D),
|
|
11624
|
-
U[
|
|
11623
|
+
for (var U = Array(D), fe = 0; fe < D; fe++)
|
|
11624
|
+
U[fe] = arguments[fe + 2];
|
|
11625
11625
|
I.children = U;
|
|
11626
11626
|
}
|
|
11627
11627
|
return re(d.type, F, I);
|
|
@@ -11645,9 +11645,9 @@ function vg() {
|
|
|
11645
11645
|
var U = arguments.length - 2;
|
|
11646
11646
|
if (U === 1) F.children = T;
|
|
11647
11647
|
else if (1 < U) {
|
|
11648
|
-
for (var
|
|
11649
|
-
|
|
11650
|
-
F.children =
|
|
11648
|
+
for (var fe = Array(U), ce = 0; ce < U; ce++)
|
|
11649
|
+
fe[ce] = arguments[ce + 2];
|
|
11650
|
+
F.children = fe;
|
|
11651
11651
|
}
|
|
11652
11652
|
if (d && d.defaultProps)
|
|
11653
11653
|
for (I in U = d.defaultProps, U)
|
|
@@ -11659,7 +11659,7 @@ function vg() {
|
|
|
11659
11659
|
return { $$typeof: a, render: d };
|
|
11660
11660
|
}, M.isValidElement = K, M.lazy = function(d) {
|
|
11661
11661
|
return {
|
|
11662
|
-
$$typeof:
|
|
11662
|
+
$$typeof: f,
|
|
11663
11663
|
_payload: { _status: -1, _result: d },
|
|
11664
11664
|
_init: se
|
|
11665
11665
|
};
|
|
@@ -11846,31 +11846,31 @@ function Dg(t) {
|
|
|
11846
11846
|
throw new Error("No `createStore` function was provided");
|
|
11847
11847
|
const i = n.createStore(n);
|
|
11848
11848
|
let s = Ar, o;
|
|
11849
|
-
function a(
|
|
11850
|
-
return ao(
|
|
11849
|
+
function a(l, p, h) {
|
|
11850
|
+
return ao(l, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(l, p, h) : !0;
|
|
11851
11851
|
}
|
|
11852
|
-
function c(
|
|
11852
|
+
function c(l) {
|
|
11853
11853
|
o && clearTimeout(o), o = Mg(
|
|
11854
11854
|
setTimeout(async () => {
|
|
11855
11855
|
o = void 0;
|
|
11856
11856
|
const p = await i.shift();
|
|
11857
|
-
p && (e("Attempting to send previously queued event"), p[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(),
|
|
11857
|
+
p && (e("Attempting to send previously queued event"), p[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), f(p, !0).catch((h) => {
|
|
11858
11858
|
e("Failed to retry sending", h);
|
|
11859
11859
|
}));
|
|
11860
|
-
},
|
|
11860
|
+
}, l)
|
|
11861
11861
|
);
|
|
11862
11862
|
}
|
|
11863
11863
|
function u() {
|
|
11864
11864
|
o || (c(s), s = Math.min(s * 2, Fg));
|
|
11865
11865
|
}
|
|
11866
|
-
async function l
|
|
11866
|
+
async function f(l, p = !1) {
|
|
11867
11867
|
var h, y;
|
|
11868
|
-
if (!p && ao(
|
|
11869
|
-
return await i.push(
|
|
11868
|
+
if (!p && ao(l, ["replay_event", "replay_recording"]))
|
|
11869
|
+
return await i.push(l), c(Rr), {};
|
|
11870
11870
|
try {
|
|
11871
|
-
if (n.shouldSend && await n.shouldSend(
|
|
11871
|
+
if (n.shouldSend && await n.shouldSend(l) === !1)
|
|
11872
11872
|
throw new Error("Envelope not sent because `shouldSend` callback returned false");
|
|
11873
|
-
const m = await r.send(
|
|
11873
|
+
const m = await r.send(l);
|
|
11874
11874
|
let v = Rr;
|
|
11875
11875
|
if (m) {
|
|
11876
11876
|
if ((h = m.headers) != null && h["retry-after"])
|
|
@@ -11882,18 +11882,18 @@ function Dg(t) {
|
|
|
11882
11882
|
}
|
|
11883
11883
|
return c(v), s = Ar, m;
|
|
11884
11884
|
} catch (m) {
|
|
11885
|
-
if (await a(
|
|
11886
|
-
return p ? await i.unshift(
|
|
11885
|
+
if (await a(l, m, s))
|
|
11886
|
+
return p ? await i.unshift(l) : await i.push(l), u(), e("Error sending. Event queued.", m), {};
|
|
11887
11887
|
throw m;
|
|
11888
11888
|
}
|
|
11889
11889
|
}
|
|
11890
11890
|
return n.flushAtStartup && u(), {
|
|
11891
|
-
send:
|
|
11892
|
-
flush: (
|
|
11891
|
+
send: f,
|
|
11892
|
+
flush: (l) => (l === void 0 && (s = Ar, c(Rr)), r.flush(l))
|
|
11893
11893
|
};
|
|
11894
11894
|
};
|
|
11895
11895
|
}
|
|
11896
|
-
const Bg = "production", jg = "3.0.
|
|
11896
|
+
const Bg = "production", jg = "3.0.1";
|
|
11897
11897
|
function Ug() {
|
|
11898
11898
|
const t = "sentry_offline_queue";
|
|
11899
11899
|
return {
|
|
@@ -12136,7 +12136,7 @@ class Vg {
|
|
|
12136
12136
|
// protected _addCustomCss = async () => { };
|
|
12137
12137
|
constructor(e) {
|
|
12138
12138
|
var _;
|
|
12139
|
-
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent =
|
|
12139
|
+
this.options = void 0, this.renderTarget = void 0, this._ready = void 0, this.element = void 0, this.eventId = void 0, this.dataUrl = void 0, this.noOverlay = void 0, this.offHistory = void 0, this.ignoreQuery = void 0, this.allowConsent = void 0, this.onInit = void 0, this.disableRuntimeAlerts = void 0, this.viewerMode = void 0, this.efpStyleLoadHandler = void 0, this.resolveReady = void 0, this.icons = /* @__PURE__ */ new Map(), this.enableRotation = !0, this.alwaysShowSidebar = !1, this.onBoothClick = void 0, this.onBookmarkClick = void 0, this.onVisitedClick = void 0, this.onCategoryClick = void 0, this.onFpConfigured = void 0, this.onDirection = void 0, this.onDetails = void 0, this.onExhibitorCustomButtonClick = void 0, this.onGetCoordsClick = void 0, this.onMarkerClick = void 0, this.onLeaveEvent = void 0, this.options = e, this.noOverlay = !!e.noOverlay, this.offHistory = !!e.offHistory, this.ignoreQuery = e.ignoreQuery, this.allowConsent = Af && !Cf ? !1 : e.allowConsent, this.onBoothClick = e.onBoothClick, this.onBookmarkClick = e.onBookmarkClick, this.onVisitedClick = e.onVisitedClick, this.onCategoryClick = e.onCategoryClick, this.onDetails = e.onDetails, this.onExhibitorCustomButtonClick = e.onExhibitorCustomButtonClick, this.onGetCoordsClick = e.onGetCoordsClick, this.onMarkerClick = e.onMarkerClick, this.onFpConfigured = e.onFpConfigured, this.onDirection = e.onDirection, this.onInit = e.onInit, this.onCurrentPositionChanged = e.onCurrentPositionChanged, this.onFloorActivated = e.onFloorActivated, this.onLeaveEvent = e.onLeaveEvent, this.viewerMode = !!e.viewerMode, this.disableRuntimeAlerts = (_ = e.disableRuntimeAlerts) != null ? _ : !0, this._ready = new Promise((E, S) => {
|
|
12140
12140
|
this.resolveReady = E;
|
|
12141
12141
|
});
|
|
12142
12142
|
const n = e.element;
|
|
@@ -12171,12 +12171,12 @@ class Vg {
|
|
|
12171
12171
|
if (u.style.height = "100%", u.style.width = "100%", c.appendChild(u), mr && Object.defineProperty(u, "ownerDocument", {
|
|
12172
12172
|
value: c
|
|
12173
12173
|
}), window.__efpShadowDOMStyleParent = mr ? c : void 0, this.renderTarget = u, n.getAttribute("data-data-url")) throw new Error("data-xxx attributes are removed, use options instead");
|
|
12174
|
-
const
|
|
12175
|
-
window.__dataUrlBase =
|
|
12176
|
-
const
|
|
12174
|
+
const f = e.legacyDataUrlBase;
|
|
12175
|
+
window.__dataUrlBase = f, this.dataUrl = f, We.log("Instantiating ExpoFP floorplan", e.element, r);
|
|
12176
|
+
const l = f + "data.js", p = f + "wf.data.js", h = f + "fp.svg.js", y = [
|
|
12177
12177
|
// initOfflineManager(baseRuntimeUrl, [wfDataUrl, dataUrl, fpUrl]),
|
|
12178
12178
|
dn(p),
|
|
12179
|
-
dn(
|
|
12179
|
+
dn(l),
|
|
12180
12180
|
dn(h)
|
|
12181
12181
|
];
|
|
12182
12182
|
let m = 0;
|
|
@@ -12195,7 +12195,7 @@ class Vg {
|
|
|
12195
12195
|
for (; window.__fpPending && !window.__fp; )
|
|
12196
12196
|
await Vc(2e3), await dn(h + `?v=${++S}`);
|
|
12197
12197
|
const x = window.__data;
|
|
12198
|
-
await
|
|
12198
|
+
await _f();
|
|
12199
12199
|
const B = new URLSearchParams(window.location.search);
|
|
12200
12200
|
let G, A;
|
|
12201
12201
|
if (x != null && x.trackerUrl)
|
|
@@ -12263,7 +12263,7 @@ class Vg {
|
|
|
12263
12263
|
}), V = await fetch(W);
|
|
12264
12264
|
if (V.ok) {
|
|
12265
12265
|
const z = await V.json();
|
|
12266
|
-
|
|
12266
|
+
xf(x, z);
|
|
12267
12267
|
}
|
|
12268
12268
|
x.isRebooking = V.ok;
|
|
12269
12269
|
} else
|
|
@@ -12271,25 +12271,25 @@ class Vg {
|
|
|
12271
12271
|
} catch (N) {
|
|
12272
12272
|
console.error(N);
|
|
12273
12273
|
}
|
|
12274
|
-
const re = [pr(he + "vendor/sanitize-css/sanitize.css", c), pr(he + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", c), pr(he + "vendor/mapbox/mapbox-gl.css", c),
|
|
12274
|
+
const re = [pr(he + "vendor/sanitize-css/sanitize.css", c), pr(he + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", c), pr(he + "vendor/mapbox/mapbox-gl.css", c), ft("Oswald", he + "fonts/oswald-v17-cyrillic_latin-300.woff", {
|
|
12275
12275
|
weight: 300
|
|
12276
|
-
}),
|
|
12276
|
+
}), ft("Oswald", he + "fonts/oswald-v17-cyrillic_latin-500.woff", {
|
|
12277
12277
|
weight: 500
|
|
12278
|
-
}),
|
|
12278
|
+
}), ft("Inter", he + "fonts/inter-400.woff2", {
|
|
12279
12279
|
weight: 400
|
|
12280
|
-
}),
|
|
12280
|
+
}), ft("Inter", he + "fonts/inter-500.woff2", {
|
|
12281
12281
|
weight: 500
|
|
12282
|
-
}),
|
|
12282
|
+
}), ft("Inter", he + "fonts/inter-600.woff2", {
|
|
12283
12283
|
weight: 600
|
|
12284
|
-
}),
|
|
12284
|
+
}), ft("efp-symbols", he + "fonts/efp-symbols.woff", {
|
|
12285
12285
|
weight: 400
|
|
12286
|
-
}),
|
|
12286
|
+
}), Ef(x, c), Of(v.icons)];
|
|
12287
12287
|
await Promise.all(re), v.enableRotation = (Y = x == null ? void 0 : x.enableRotation) != null ? Y : !1, v.alwaysShowSidebar = (J = x == null ? void 0 : x.alwaysShowSidebar) != null ? J : !1, We.log("Data loaded");
|
|
12288
12288
|
const {
|
|
12289
12289
|
default: ie
|
|
12290
12290
|
} = await import(
|
|
12291
12291
|
/* webpackChunkName: "floorplan" */
|
|
12292
|
-
"./floorplan.ready-
|
|
12292
|
+
"./floorplan.ready-BQetaqdP.js"
|
|
12293
12293
|
).then((N) => N.av);
|
|
12294
12294
|
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((N) => N.remove()); n.firstChild && n.firstChild !== a; )
|
|
12295
12295
|
n.removeChild(n.firstChild);
|
|
@@ -12299,17 +12299,17 @@ class Vg {
|
|
|
12299
12299
|
}
|
|
12300
12300
|
const co = kn("efp:load");
|
|
12301
12301
|
async function jm(t, e) {
|
|
12302
|
-
|
|
12302
|
+
fc(), dc();
|
|
12303
12303
|
const r = {
|
|
12304
12304
|
...await Di(t),
|
|
12305
12305
|
...e
|
|
12306
12306
|
}, i = r.element;
|
|
12307
12307
|
let s;
|
|
12308
12308
|
if (typeof i == "string") {
|
|
12309
|
-
const
|
|
12310
|
-
if (!
|
|
12309
|
+
const f = document.querySelector(i);
|
|
12310
|
+
if (!f)
|
|
12311
12311
|
throw new Error(`Element not found for selector: ${i}`);
|
|
12312
|
-
s =
|
|
12312
|
+
s = f;
|
|
12313
12313
|
} else i ? s = i : (s = document.getElementById("floorplan"), s || (s = document.createElement("div"), Gg(s), document.body.appendChild(s)));
|
|
12314
12314
|
const o = s.style;
|
|
12315
12315
|
o.width = o.width || "100vw", o.height = o.height || "100vh", o.position = o.position || "fixed", !o.top && !o.bottom && (o.top = "0"), !o.left && !o.right && (o.left = "0"), o.touchAction = o.touchAction || "none", o.background = o.background || "#fff", o.transition = o.transition || "background-color 2s ease", o.overflow = o.overflow || "hidden", requestAnimationFrame(() => {
|
|
@@ -12319,9 +12319,9 @@ async function jm(t, e) {
|
|
|
12319
12319
|
if (co("legacyDataUrlBase", a), r.legacyDataVersion)
|
|
12320
12320
|
try {
|
|
12321
12321
|
const {
|
|
12322
|
-
version:
|
|
12322
|
+
version: f
|
|
12323
12323
|
} = await Di(r.legacyDataVersion);
|
|
12324
|
-
globalThis.__fpDataVersion =
|
|
12324
|
+
globalThis.__fpDataVersion = f;
|
|
12325
12325
|
} catch {
|
|
12326
12326
|
co("Could not resolve version");
|
|
12327
12327
|
}
|
|
@@ -12333,9 +12333,9 @@ async function jm(t, e) {
|
|
|
12333
12333
|
detail: {
|
|
12334
12334
|
floorplan: c
|
|
12335
12335
|
}
|
|
12336
|
-
}))), import("./index-
|
|
12337
|
-
initDebug:
|
|
12338
|
-
}) =>
|
|
12336
|
+
}))), import("./index-CWLY6XdC.js").then((f) => f.i).then(({
|
|
12337
|
+
initDebug: f
|
|
12338
|
+
}) => f()).catch(() => {
|
|
12339
12339
|
}), c;
|
|
12340
12340
|
}
|
|
12341
12341
|
function Gg(t) {
|
|
@@ -12416,7 +12416,7 @@ export {
|
|
|
12416
12416
|
ym as I,
|
|
12417
12417
|
as as J,
|
|
12418
12418
|
bm as K,
|
|
12419
|
-
|
|
12419
|
+
Sf as L,
|
|
12420
12420
|
Jg as M,
|
|
12421
12421
|
dn as N,
|
|
12422
12422
|
Om as O,
|
|
@@ -12437,16 +12437,16 @@ export {
|
|
|
12437
12437
|
sm as a1,
|
|
12438
12438
|
om as a2,
|
|
12439
12439
|
gc as a3,
|
|
12440
|
-
|
|
12440
|
+
fm as a4,
|
|
12441
12441
|
Mm as a5,
|
|
12442
|
-
|
|
12442
|
+
wf as a6,
|
|
12443
12443
|
rm as a7,
|
|
12444
12444
|
wm as a8,
|
|
12445
12445
|
Em as a9,
|
|
12446
12446
|
qg as aa,
|
|
12447
12447
|
Kg as ab,
|
|
12448
12448
|
dm as ac,
|
|
12449
|
-
|
|
12449
|
+
lm as ad,
|
|
12450
12450
|
em as ae,
|
|
12451
12451
|
Im as af,
|
|
12452
12452
|
Sm as ag,
|
|
@@ -12480,7 +12480,7 @@ export {
|
|
|
12480
12480
|
Zr as k,
|
|
12481
12481
|
We as l,
|
|
12482
12482
|
jm as load,
|
|
12483
|
-
|
|
12483
|
+
Cf as m,
|
|
12484
12484
|
nn as n,
|
|
12485
12485
|
bg as o,
|
|
12486
12486
|
Au as p,
|
|
@@ -12490,7 +12490,7 @@ export {
|
|
|
12490
12490
|
Pe as t,
|
|
12491
12491
|
_c as u,
|
|
12492
12492
|
yc as v,
|
|
12493
|
-
|
|
12493
|
+
ll as w,
|
|
12494
12494
|
xm as x,
|
|
12495
12495
|
zu as y,
|
|
12496
12496
|
Nm as z
|