@expofp/floorplan 3.31.4 → 3.32.0
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/{Button-DY6zD9Rk.js → Button-CNB2wS1D.js} +5 -5
- package/dist/browser/{CookieConsent-BDpDfPT3.js → CookieConsent-9-_4FEUc.js} +7 -7
- package/dist/browser/{Debug-CrJkx6Tf.js → Debug-BUelP3lh.js} +7 -7
- package/dist/browser/{DebugTools-BAZq8o4A.js → DebugTools-6RBk4RXs.js} +6 -6
- package/dist/browser/{Demo-DdWLZ2qx.js → Demo-B1Wq_-2I.js} +9 -9
- package/dist/browser/{Free-7_dnMQif.js → Free-Ce5a68cd.js} +9 -9
- package/dist/browser/{GalleryContainer-DWj18V5n.js → GalleryContainer-nNrPq8p3.js} +10 -10
- package/dist/browser/{GpsLoader-CXRQHRjg.js → GpsLoader-DJD8M21U.js} +10 -10
- package/dist/browser/{KioskStore-VTTOeXeu.js → KioskStore-DV6yg7gQ.js} +5 -5
- package/dist/browser/{MaplibreAdapter-DtBh3q_f.js → MaplibreAdapter-DG-IOwAR.js} +11 -11
- package/dist/browser/{ModalContainer-CLBUmAAD.js → ModalContainer-lWcPEqKF.js} +10 -10
- package/dist/browser/{PermissionNotice-Ce6yONr9.js → PermissionNotice-DzoxJYql.js} +6 -6
- package/dist/browser/{SetKioskMode-b0Kd0Q_K.js → SetKioskMode-D-drLiQS.js} +9 -9
- package/dist/browser/{ShowKiosk-DRRWT83C.js → ShowKiosk-CmQAm7lA.js} +10 -10
- package/dist/browser/{ViewerMenuPanel-Wnrbwe5h.js → ViewerMenuPanel-4K3IeFpI.js} +9 -9
- package/dist/browser/{add-debug-secret-listener-WhcgG7GC.js → add-debug-secret-listener-BCbwpSUA.js} +1 -1
- package/dist/browser/{adopt-global-settings--uzHm07K.js → adopt-global-settings-BCXdoUeA.js} +9 -9
- package/dist/browser/{boolean-editor-CC0r4Dt7.js → boolean-editor-Bq5ovuVU.js} +9 -9
- package/dist/browser/{bootIntercom-CKoX1zFG.js → bootIntercom-DJYZ3yyM.js} +2 -2
- package/dist/browser/bundle.json +69 -69
- package/dist/browser/{camera-events-Cm4_3lZE.js → camera-events-DumvNN3C.js} +1 -1
- package/dist/browser/{classnames-SVpBLYbY.js → classnames-XNi7nRCB.js} +2 -2
- package/dist/browser/{client-wCjB5vyj.js → client-CA8cGn8U.js} +5 -5
- package/dist/browser/{components-QmA1R6nP.js → components-MOPAfkCm.js} +37 -37
- package/dist/browser/{debug-context-BrxUqxef.js → debug-context-C73IpGRj.js} +5 -5
- package/dist/browser/{debug-overlay-1IKG3izM.js → debug-overlay-CIY57uQY.js} +10 -10
- package/dist/browser/{debug-ui-BVfBVFN5.js → debug-ui-D9GVgxaS.js} +6 -6
- package/dist/browser/{dimming-DIDB_Fhy.js → dimming-CXOoyeuK.js} +11 -11
- package/dist/browser/{dist-EaU_txHC.js → dist-CEbPeqIY.js} +6 -6
- package/dist/browser/{dist-CWNYRo3B.js → dist-CNBw7D1y.js} +5 -5
- package/dist/browser/{dist-DT5lrpvV.js → dist-Cuhm8hDS.js} +3 -3
- package/dist/browser/{efp-debug-init-Ce9vg6Tq.js → efp-debug-init-CF3R1rs1.js} +3 -3
- package/dist/browser/{enum-editor-BO48F5nG.js → enum-editor-Hfgu8R6H.js} +4 -4
- package/dist/browser/{es5-CDFVZlc4.js → es5-Ch3SnVpq.js} +2 -2
- package/dist/browser/{event-not-found-CljqcTHX.js → event-not-found-BBGk7sl1.js} +1 -1
- package/dist/browser/{exports-N7m3Sqif.js → exports-DdY5MNmH.js} +1 -1
- package/dist/browser/{favicon-Cd-lwAb6.js → favicon-D0_sCTFa.js} +1 -1
- package/dist/browser/{fetch-retry.umd-f3gOMjiD.js → fetch-retry.umd-DFU09v6m.js} +2 -2
- package/dist/browser/{flex-DpIfGOfP.js → flex-Dd9f0dfq.js} +5 -5
- package/dist/browser/{floorplan.loader-Dfbdv-o7.js → floorplan.loader-DxE6hohE.js} +237 -238
- package/dist/browser/{floorplan.ready-DKbBAbFS.js → floorplan.ready-Cysrjlb9.js} +19 -17
- package/dist/browser/{fuse-Dg9J4CBV.js → fuse-BHP4h5hM.js} +2 -2
- package/dist/browser/{i18n-CdlR_yif.js → i18n-3lyxjXox.js} +5 -5
- package/dist/browser/index.js +14 -14
- package/dist/browser/{index.module-m8gdUnww.js → index.module-C6SF1hwf.js} +4 -4
- package/dist/browser/{integrateKiosk-Bn_CLIEM.js → integrateKiosk-Dmtn4lIF.js} +4 -4
- package/dist/browser/{is-webview-C5WHhwMn.js → is-webview-DBk4rvr1.js} +1 -1
- package/dist/browser/{jsx-runtime-CynehOvT.js → jsx-runtime-DLehizIL.js} +2 -2
- package/dist/browser/{kiosk-record-9RRPsEyN.js → kiosk-record-CWJVbWhN.js} +1 -1
- package/dist/browser/{lib-D9Iv2vSf.js → lib-Cx0xfIyT.js} +3 -3
- package/dist/browser/{loadImage-BFhkQNt5.js → loadImage-BttawziQ.js} +4 -4
- package/dist/browser/{logDeviceInfo-CtU7Ml5Z.js → logDeviceInfo-DtOdua8y.js} +9 -9
- package/dist/browser/{mobx-C6SD9eIM.js → mobx-1TTEnMh_.js} +4 -4
- package/dist/browser/{optional-boolean-editor-B2jDylbI.js → optional-boolean-editor--Ll4y7L3.js} +3 -3
- package/dist/browser/{optional-enum-editor-Ca7UIvcI.js → optional-enum-editor-Diz4Gygu.js} +4 -4
- package/dist/browser/{optional-string-editor-Bhof-N0f.js → optional-string-editor-B_UUO3oV.js} +4 -4
- package/dist/browser/{particles.min-Dk8Zp6Xw.js → particles.min-IsQntJd_.js} +2 -2
- package/dist/browser/{react-Bg9SS9K3.js → react-DaVp-1nR.js} +2 -2
- package/dist/browser/{react-dom-CkvLw93N.js → react-dom-Cmin4STP.js} +3 -3
- package/dist/browser/{rolldown-runtime-CWbAMcOK.js → rolldown-runtime-Dl53HvP8.js} +1 -1
- package/dist/browser/{scheduler-DWQiq5yr.js → scheduler-CeO2Fq3-.js} +2 -2
- package/dist/browser/{select-DILrp4Xy.js → select-CcBpWf_u.js} +10 -10
- package/dist/browser/{settings-DZPzvL3g.js → settings-BnizsqhF.js} +2 -2
- package/dist/browser/{settings-item-CI4tQ7cI.js → settings-item-JOfQImsE.js} +6 -6
- package/dist/browser/{store-9H2zTJOB.js → store-BNPYvlw8.js} +212 -209
- package/dist/browser/{string-editor-CDVdYaGM.js → string-editor-BmF12fyT.js} +4 -4
- package/dist/browser/{text-field-CoMIE2tV.js → text-field-D4_C8M62.js} +5 -5
- package/dist/browser/{theme-DGSBFvlG.js → theme--BjIkuDi.js} +8 -8
- package/dist/browser/{ui-VhcgyDaO.js → ui-Bt8WOnfB.js} +8 -8
- package/dist/browser/{useRenderTarget-Dheg7zQ0.js → useRenderTarget-CKEW-h44.js} +4 -4
- package/dist/browser/{viewport-ChGNlxST.js → viewport-Ch_DyTlN.js} +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-badge.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.d.ts +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-bookmark.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-booth-labels-special.js +2 -2
- package/dist/esm/components/Map/drawing/config/config-booth-labels.js +1 -1
- package/dist/esm/engine/update-def.d.ts +19 -28
- package/dist/esm/engine/update-def.js +1 -1
- package/dist/esm/engine/utils/rotation.d.ts +9 -2
- package/dist/esm/engine/utils/rotation.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/wayfinding/createWayfinding.js +1 -1
- package/package.json +10 -10
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
4
|
-
e.SENTRY_RELEASE = { id: "3.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.32.0" };
|
|
5
5
|
var t = new e.Error().stack;
|
|
6
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8da1fc0e-9edf-404e-9eca-0525429f4129", e._sentryDebugIdIdentifier = "sentry-dbid-8da1fc0e-9edf-404e-9eca-0525429f4129");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./rolldown-runtime-
|
|
10
|
-
import { Bt as t, D as n, O as r, i, j as a, k as o, l as s } from "./i18n-
|
|
11
|
-
import { t as c } from "./react-
|
|
12
|
-
import { n as l, r as u, t as d } from "./loadImage-
|
|
13
|
-
import { $ as f, A as p, B as m, C as h, D as g, E as
|
|
14
|
-
import { t as Xe } from "./is-webview-
|
|
9
|
+
import { r as e } from "./rolldown-runtime-Dl53HvP8.js";
|
|
10
|
+
import { Bt as t, D as n, O as r, i, j as a, k as o, l as s } from "./i18n-3lyxjXox.js";
|
|
11
|
+
import { t as c } from "./react-DaVp-1nR.js";
|
|
12
|
+
import { n as l, r as u, t as d } from "./loadImage-BttawziQ.js";
|
|
13
|
+
import { $ as f, A as p, B as m, C as h, D as g, E as ee, F as _, G as v, H as y, I as b, J as x, K as S, L as te, M as C, N as ne, O as re, P as ie, Q as ae, R as oe, S as se, T as w, U as T, V as ce, W as le, X as ue, Y as de, Z as fe, _ as E, _t as pe, a as me, at as he, b as ge, bt as D, c as _e, ct as ve, d as ye, dt as O, et as be, f as xe, ft as Se, g as Ce, gt as we, h as Te, ht as k, it as Ee, j as A, k as De, l as Oe, lt as ke, m as Ae, mt as je, n as Me, nt as Ne, o as Pe, ot as Fe, p as Ie, pt as Le, q as j, r as Re, rt as ze, s as Be, st as M, t as Ve, tt as He, u as Ue, ut as We, v as Ge, vt as Ke, w as N, x as qe, xt as P, y as Je, yt as Ye, z as F } from "./exports-DdY5MNmH.js";
|
|
14
|
+
import { t as Xe } from "./is-webview-DBk4rvr1.js";
|
|
15
15
|
//#region ../config/src/lib/apply-intents.ts
|
|
16
16
|
function Ze(e, t) {
|
|
17
17
|
let n = JSON.parse(JSON.stringify(t.args));
|
|
@@ -133,7 +133,7 @@ function z(e, t) {
|
|
|
133
133
|
try {
|
|
134
134
|
t();
|
|
135
135
|
} catch (t) {
|
|
136
|
-
P &&
|
|
136
|
+
P && k.error(`Error while instrumenting ${e}`, t);
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
139
|
}
|
|
@@ -142,9 +142,9 @@ function B(e, t) {
|
|
|
142
142
|
if (n) for (let r of n) try {
|
|
143
143
|
r(t);
|
|
144
144
|
} catch (t) {
|
|
145
|
-
P &&
|
|
145
|
+
P && k.error(`Error while triggering instrumentation handler.
|
|
146
146
|
Type: ${e}
|
|
147
|
-
Name: ${
|
|
147
|
+
Name: ${O(r)}
|
|
148
148
|
Error:`, t);
|
|
149
149
|
}
|
|
150
150
|
}
|
|
@@ -156,7 +156,7 @@ function ut(e) {
|
|
|
156
156
|
R(t, e), z(t, dt);
|
|
157
157
|
}
|
|
158
158
|
function dt() {
|
|
159
|
-
lt =
|
|
159
|
+
lt = D.onerror, D.onerror = function(e, t, n, r, i) {
|
|
160
160
|
return B("error", {
|
|
161
161
|
column: r,
|
|
162
162
|
error: i,
|
|
@@ -164,7 +164,7 @@ function dt() {
|
|
|
164
164
|
msg: e,
|
|
165
165
|
url: t
|
|
166
166
|
}), lt ? lt.apply(this, arguments) : !1;
|
|
167
|
-
},
|
|
167
|
+
}, D.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
168
168
|
}
|
|
169
169
|
//#endregion
|
|
170
170
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
@@ -174,9 +174,9 @@ function pt(e) {
|
|
|
174
174
|
R(t, e), z(t, mt);
|
|
175
175
|
}
|
|
176
176
|
function mt() {
|
|
177
|
-
ft =
|
|
177
|
+
ft = D.onunhandledrejection, D.onunhandledrejection = function(e) {
|
|
178
178
|
return B("unhandledrejection", e), !ft || ft.apply(this, arguments);
|
|
179
|
-
},
|
|
179
|
+
}, D.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
180
180
|
}
|
|
181
181
|
//#endregion
|
|
182
182
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
@@ -188,18 +188,18 @@ function ht(e) {
|
|
|
188
188
|
//#endregion
|
|
189
189
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
190
190
|
function gt(e) {
|
|
191
|
-
|
|
191
|
+
k.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
192
192
|
}
|
|
193
193
|
function _t(e, t) {
|
|
194
194
|
if (!(t != null && t.length)) return !1;
|
|
195
195
|
for (let n of t) {
|
|
196
196
|
if (bt(n)) {
|
|
197
|
-
if (e.description &&
|
|
197
|
+
if (e.description && te(e.description, n)) return P && gt(e), !0;
|
|
198
198
|
continue;
|
|
199
199
|
}
|
|
200
200
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
201
201
|
if (!n.name && !n.op && !t) continue;
|
|
202
|
-
let r = !n.name || e.description &&
|
|
202
|
+
let r = !n.name || e.description && te(e.description, n.name), i = !n.op || e.op && te(e.op, n.op), a = !n.attributes || Object.entries(n.attributes).every(([t, n]) => {
|
|
203
203
|
var r;
|
|
204
204
|
return vt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
205
205
|
});
|
|
@@ -208,7 +208,7 @@ function _t(e, t) {
|
|
|
208
208
|
return !1;
|
|
209
209
|
}
|
|
210
210
|
function vt(e, t) {
|
|
211
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
211
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? te(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
212
212
|
}
|
|
213
213
|
function yt(e, t) {
|
|
214
214
|
let n = t.parent_span_id, r = t.span_id;
|
|
@@ -243,7 +243,7 @@ function wt(e, t) {
|
|
|
243
243
|
return Ct(e, (e, n) => t.includes(n));
|
|
244
244
|
}
|
|
245
245
|
function Tt(e) {
|
|
246
|
-
let t =
|
|
246
|
+
let t = Ke(D);
|
|
247
247
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
248
248
|
}
|
|
249
249
|
function Et(e) {
|
|
@@ -315,9 +315,9 @@ function Nt(e, t, n, r) {
|
|
|
315
315
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
316
316
|
return {
|
|
317
317
|
event_id: e.event_id,
|
|
318
|
-
sent_at: new Date(
|
|
318
|
+
sent_at: new Date(T()).toISOString(),
|
|
319
319
|
...t && { sdk: t },
|
|
320
|
-
...!!n && r && { dsn:
|
|
320
|
+
...!!n && r && { dsn: E(r) },
|
|
321
321
|
...a && { trace: a }
|
|
322
322
|
};
|
|
323
323
|
}
|
|
@@ -342,9 +342,9 @@ function Pt(e, t) {
|
|
|
342
342
|
function Ft(e, t, n, r) {
|
|
343
343
|
let i = Mt(n);
|
|
344
344
|
return V({
|
|
345
|
-
sent_at: new Date(
|
|
345
|
+
sent_at: new Date(T()).toISOString(),
|
|
346
346
|
...i && { sdk: i },
|
|
347
|
-
...!!r && t && { dsn:
|
|
347
|
+
...!!r && t && { dsn: E(t) }
|
|
348
348
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
349
349
|
}
|
|
350
350
|
function It(e, t, n, r) {
|
|
@@ -390,9 +390,9 @@ function Wt(e, t, n) {
|
|
|
390
390
|
return t || `${Ht(e)}?${Ut(e, n)}`;
|
|
391
391
|
}
|
|
392
392
|
function Gt(e, t) {
|
|
393
|
-
let n =
|
|
393
|
+
let n = Ge(e);
|
|
394
394
|
if (!n) return "";
|
|
395
|
-
let r = `${Vt(n)}embed/error-page/`, i = `dsn=${
|
|
395
|
+
let r = `${Vt(n)}embed/error-page/`, i = `dsn=${E(n)}`;
|
|
396
396
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
397
397
|
let e = t.user;
|
|
398
398
|
if (!e) continue;
|
|
@@ -436,7 +436,7 @@ function Xt(e, t) {
|
|
|
436
436
|
}
|
|
437
437
|
function Zt(e, t, n) {
|
|
438
438
|
if (n[t.name]) {
|
|
439
|
-
P &&
|
|
439
|
+
P && k.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
440
440
|
return;
|
|
441
441
|
}
|
|
442
442
|
if (n[t.name] = t, !Kt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Kt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
@@ -450,7 +450,7 @@ function Zt(e, t, n) {
|
|
|
450
450
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
451
451
|
let r = t[n];
|
|
452
452
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
453
|
-
}), P &&
|
|
453
|
+
}), P && k.log(`Integration installed: ${t.name}`);
|
|
454
454
|
}
|
|
455
455
|
function H(e) {
|
|
456
456
|
return e;
|
|
@@ -474,7 +474,7 @@ function tn() {
|
|
|
474
474
|
return typeof window < "u" && (!en() || nn());
|
|
475
475
|
}
|
|
476
476
|
function nn() {
|
|
477
|
-
let e =
|
|
477
|
+
let e = D.process;
|
|
478
478
|
return (e == null ? void 0 : e.type) === "renderer";
|
|
479
479
|
}
|
|
480
480
|
//#endregion
|
|
@@ -499,7 +499,7 @@ function an(e, t, n, r, i) {
|
|
|
499
499
|
return t != null && t.sdk && (a.sdk = {
|
|
500
500
|
name: t.sdk.name,
|
|
501
501
|
version: t.sdk.version
|
|
502
|
-
}), n && r && (a.dsn =
|
|
502
|
+
}), n && r && (a.dsn = E(r)), V(a, [rn(e, i)]);
|
|
503
503
|
}
|
|
504
504
|
//#endregion
|
|
505
505
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
@@ -514,7 +514,7 @@ function sn(e) {
|
|
|
514
514
|
return cn().get(e);
|
|
515
515
|
}
|
|
516
516
|
function cn() {
|
|
517
|
-
return
|
|
517
|
+
return pe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
518
518
|
}
|
|
519
519
|
//#endregion
|
|
520
520
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
@@ -538,7 +538,7 @@ function un(e, t, n, r, i) {
|
|
|
538
538
|
return t != null && t.sdk && (a.sdk = {
|
|
539
539
|
name: t.sdk.name,
|
|
540
540
|
version: t.sdk.version
|
|
541
|
-
}), n && r && (a.dsn =
|
|
541
|
+
}), n && r && (a.dsn = E(r)), V(a, [ln(e, i)]);
|
|
542
542
|
}
|
|
543
543
|
//#endregion
|
|
544
544
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
@@ -553,12 +553,12 @@ function fn(e) {
|
|
|
553
553
|
return pn().get(e);
|
|
554
554
|
}
|
|
555
555
|
function pn() {
|
|
556
|
-
return
|
|
556
|
+
return pe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
557
557
|
}
|
|
558
558
|
//#endregion
|
|
559
559
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/tracing/spans/spanJsonToStreamedSpan.js
|
|
560
560
|
function mn(e) {
|
|
561
|
-
return
|
|
561
|
+
return Ce({
|
|
562
562
|
trace_id: e.trace_id,
|
|
563
563
|
span_id: e.span_id,
|
|
564
564
|
parent_span_id: e.parent_span_id,
|
|
@@ -609,12 +609,12 @@ function _n(e = 100) {
|
|
|
609
609
|
t.delete(e);
|
|
610
610
|
}
|
|
611
611
|
function i(e) {
|
|
612
|
-
if (!n()) return
|
|
612
|
+
if (!n()) return Ue(gn);
|
|
613
613
|
let i = e();
|
|
614
614
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
615
615
|
}
|
|
616
616
|
function a(e) {
|
|
617
|
-
if (!t.size) return
|
|
617
|
+
if (!t.size) return ye(!0);
|
|
618
618
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
619
619
|
if (!e) return n;
|
|
620
620
|
let r = [n, new Promise((t) => Bt(setTimeout(() => t(!1), e)))];
|
|
@@ -631,7 +631,7 @@ function _n(e = 100) {
|
|
|
631
631
|
//#endregion
|
|
632
632
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
633
633
|
var vn = 60 * 1e3;
|
|
634
|
-
function yn(e, t =
|
|
634
|
+
function yn(e, t = T()) {
|
|
635
635
|
let n = parseInt(`${e}`, 10);
|
|
636
636
|
if (!isNaN(n)) return n * 1e3;
|
|
637
637
|
let r = Date.parse(`${e}`);
|
|
@@ -640,10 +640,10 @@ function yn(e, t = E()) {
|
|
|
640
640
|
function bn(e, t) {
|
|
641
641
|
return e[t] || e.all || 0;
|
|
642
642
|
}
|
|
643
|
-
function xn(e, t, n =
|
|
643
|
+
function xn(e, t, n = T()) {
|
|
644
644
|
return bn(e, t) > n;
|
|
645
645
|
}
|
|
646
|
-
function Sn(e, { statusCode: t, headers: n }, r =
|
|
646
|
+
function Sn(e, { statusCode: t, headers: n }, r = T()) {
|
|
647
647
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
648
648
|
if (a) for (let e of a.trim().split(",")) {
|
|
649
649
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
@@ -663,17 +663,17 @@ function Cn(e, t, n = _n(e.bufferSize || 64)) {
|
|
|
663
663
|
}), a.length === 0) return Promise.resolve({});
|
|
664
664
|
let o = V(i[0], a), s = (t) => {
|
|
665
665
|
if (wt(o, ["client_report"])) {
|
|
666
|
-
P &&
|
|
666
|
+
P && k.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
667
667
|
return;
|
|
668
668
|
}
|
|
669
669
|
Ct(o, (n, r) => {
|
|
670
670
|
e.recordDroppedEvent(t, jt(r));
|
|
671
671
|
});
|
|
672
672
|
};
|
|
673
|
-
return n.add(() => t({ body: Et(o) }).then((e) => e.statusCode === 413 ? (P &&
|
|
674
|
-
throw s("network_error"), P &&
|
|
673
|
+
return n.add(() => t({ body: Et(o) }).then((e) => e.statusCode === 413 ? (P && k.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (P && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && k.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = Sn(r, e), e), (e) => {
|
|
674
|
+
throw s("network_error"), P && k.error("Encountered error running transport request:", e), e;
|
|
675
675
|
})).then((e) => e, (e) => {
|
|
676
|
-
if (e === gn) return P &&
|
|
676
|
+
if (e === gn) return P && k.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
677
677
|
throw e;
|
|
678
678
|
});
|
|
679
679
|
}
|
|
@@ -719,7 +719,7 @@ function En(e) {
|
|
|
719
719
|
trace_id: i == null ? "" : i,
|
|
720
720
|
origin: c,
|
|
721
721
|
profile_id: l == null ? void 0 : l[qe],
|
|
722
|
-
exclusive_time: l == null ? void 0 : l[
|
|
722
|
+
exclusive_time: l == null ? void 0 : l[ge],
|
|
723
723
|
measurements: e.measurements,
|
|
724
724
|
is_segment: !0
|
|
725
725
|
};
|
|
@@ -834,28 +834,28 @@ var An = {
|
|
|
834
834
|
frameContextLines: 5
|
|
835
835
|
};
|
|
836
836
|
function jn(e) {
|
|
837
|
-
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, _, v, y, b
|
|
838
|
-
let
|
|
837
|
+
var t, n, r, i, a, o, s, c, l, u, d, f, p, m, h, g, ee, _, v, y, b;
|
|
838
|
+
let x = e.dataCollection == null ? kn(e.sendDefaultPii) : An, S = (t = e.dataCollection) == null ? {} : t;
|
|
839
839
|
return {
|
|
840
|
-
userInfo: (n =
|
|
841
|
-
cookies: (r =
|
|
840
|
+
userInfo: (n = S.userInfo) == null ? x.userInfo : n,
|
|
841
|
+
cookies: (r = S.cookies) == null ? x.cookies : r,
|
|
842
842
|
httpHeaders: {
|
|
843
|
-
request: (i = (a =
|
|
844
|
-
response: (o = (s =
|
|
843
|
+
request: (i = (a = S.httpHeaders) == null ? void 0 : a.request) == null ? x.httpHeaders.request : i,
|
|
844
|
+
response: (o = (s = S.httpHeaders) == null ? void 0 : s.response) == null ? x.httpHeaders.response : o
|
|
845
845
|
},
|
|
846
|
-
httpBodies: (c =
|
|
847
|
-
urlQueryParams: (l = (u =
|
|
846
|
+
httpBodies: (c = S.httpBodies) == null ? x.httpBodies : c,
|
|
847
|
+
urlQueryParams: (l = (u = S.urlQueryParams) == null ? S.queryParams : u) == null ? x.urlQueryParams : l,
|
|
848
848
|
graphQL: {
|
|
849
|
-
document: (d = (f =
|
|
850
|
-
variables: (p = (m =
|
|
849
|
+
document: (d = (f = S.graphQL) == null ? void 0 : f.document) == null ? x.graphQL.document : d,
|
|
850
|
+
variables: (p = (m = S.graphQL) == null ? void 0 : m.variables) == null ? x.graphQL.variables : p
|
|
851
851
|
},
|
|
852
852
|
genAI: {
|
|
853
|
-
inputs: (h = (g =
|
|
854
|
-
outputs: (
|
|
853
|
+
inputs: (h = (g = S.genAI) == null ? void 0 : g.inputs) == null ? x.genAI.inputs : h,
|
|
854
|
+
outputs: (ee = (_ = S.genAI) == null ? void 0 : _.outputs) == null ? x.genAI.outputs : ee
|
|
855
855
|
},
|
|
856
|
-
databaseQueryData: (
|
|
857
|
-
stackFrameVariables: (
|
|
858
|
-
frameContextLines: (
|
|
856
|
+
databaseQueryData: (v = S.databaseQueryData) == null ? x.databaseQueryData : v,
|
|
857
|
+
stackFrameVariables: (y = S.stackFrameVariables) == null ? x.stackFrameVariables : y,
|
|
858
|
+
frameContextLines: (b = S.frameContextLines) == null ? x.frameContextLines : b
|
|
859
859
|
};
|
|
860
860
|
}
|
|
861
861
|
//#endregion
|
|
@@ -874,10 +874,10 @@ function Rn(e) {
|
|
|
874
874
|
};
|
|
875
875
|
}
|
|
876
876
|
function zn(e) {
|
|
877
|
-
return
|
|
877
|
+
return Ne(e) && Pn in e;
|
|
878
878
|
}
|
|
879
879
|
function Bn(e) {
|
|
880
|
-
return
|
|
880
|
+
return Ne(e) && Fn in e;
|
|
881
881
|
}
|
|
882
882
|
function Vn(e, t, n, r, i) {
|
|
883
883
|
let a = 0, o, s = !1;
|
|
@@ -899,7 +899,7 @@ function Vn(e, t, n, r, i) {
|
|
|
899
899
|
var Hn = class {
|
|
900
900
|
constructor(e) {
|
|
901
901
|
var t, n, r, i, a, o, s;
|
|
902
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = _n((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = jn(e), e.dsn ? this._dsn =
|
|
902
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = _n((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), this._dataCollection = jn(e), e.dsn ? this._dsn = Ge(e.dsn) : P && k.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
903
903
|
let t = Wt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
904
904
|
this._transport = e.transport({
|
|
905
905
|
tunnel: this._options.tunnel,
|
|
@@ -911,8 +911,8 @@ var Hn = class {
|
|
|
911
911
|
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && Vn(this, "afterCaptureLog", "flushLogs", Yn, on), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && Vn(this, "afterCaptureMetric", "flushMetrics", Jn, dn);
|
|
912
912
|
}
|
|
913
913
|
captureException(e, t, n) {
|
|
914
|
-
let r =
|
|
915
|
-
if (
|
|
914
|
+
let r = b();
|
|
915
|
+
if (ie(e)) return P && k.log(Mn), r;
|
|
916
916
|
let i = {
|
|
917
917
|
event_id: r,
|
|
918
918
|
...t
|
|
@@ -921,14 +921,14 @@ var Hn = class {
|
|
|
921
921
|
}
|
|
922
922
|
captureMessage(e, t, n, r) {
|
|
923
923
|
let i = {
|
|
924
|
-
event_id:
|
|
924
|
+
event_id: b(),
|
|
925
925
|
...n
|
|
926
|
-
}, a =
|
|
926
|
+
}, a = ze(e) ? e : String(e), o = he(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
927
927
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
928
928
|
}
|
|
929
929
|
captureEvent(e, t, n) {
|
|
930
|
-
let r =
|
|
931
|
-
if (t != null && t.originalException &&
|
|
930
|
+
let r = b();
|
|
931
|
+
if (t != null && t.originalException && ie(t.originalException)) return P && k.log(Mn), r;
|
|
932
932
|
let i = {
|
|
933
933
|
event_id: r,
|
|
934
934
|
...t
|
|
@@ -936,7 +936,7 @@ var Hn = class {
|
|
|
936
936
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
937
937
|
}
|
|
938
938
|
captureSession(e) {
|
|
939
|
-
this.sendSession(e),
|
|
939
|
+
this.sendSession(e), De(e, { init: !1 });
|
|
940
940
|
}
|
|
941
941
|
getDsn() {
|
|
942
942
|
return this._dsn;
|
|
@@ -989,17 +989,17 @@ var Hn = class {
|
|
|
989
989
|
n && (r = St(r, n)), this.sendEnvelope(r).then((t) => this.emit("afterSendEvent", e, t));
|
|
990
990
|
}
|
|
991
991
|
sendSession(e) {
|
|
992
|
-
let { release: t, environment: n =
|
|
992
|
+
let { release: t, environment: n = Ie } = this._options;
|
|
993
993
|
if ("aggregates" in e) {
|
|
994
994
|
let r = e.attrs || {};
|
|
995
995
|
if (!r.release && !t) {
|
|
996
|
-
P &&
|
|
996
|
+
P && k.warn(Nn);
|
|
997
997
|
return;
|
|
998
998
|
}
|
|
999
999
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
1000
1000
|
} else {
|
|
1001
1001
|
if (!e.release && !t) {
|
|
1002
|
-
P &&
|
|
1002
|
+
P && k.warn(Nn);
|
|
1003
1003
|
return;
|
|
1004
1004
|
}
|
|
1005
1005
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
@@ -1011,7 +1011,7 @@ var Hn = class {
|
|
|
1011
1011
|
recordDroppedEvent(e, t, n = 1) {
|
|
1012
1012
|
if (this._options.sendClientReports) {
|
|
1013
1013
|
let r = `${e}:${t}`;
|
|
1014
|
-
P &&
|
|
1014
|
+
P && k.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
1015
1015
|
}
|
|
1016
1016
|
}
|
|
1017
1017
|
on(e, t) {
|
|
@@ -1028,9 +1028,9 @@ var Hn = class {
|
|
|
1028
1028
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
1029
1029
|
return await this._transport.send(e);
|
|
1030
1030
|
} catch (e) {
|
|
1031
|
-
return P &&
|
|
1031
|
+
return P && k.error("Error while sending envelope:", e), {};
|
|
1032
1032
|
}
|
|
1033
|
-
return P &&
|
|
1033
|
+
return P && k.error("Transport disabled"), {};
|
|
1034
1034
|
}
|
|
1035
1035
|
registerCleanup(e) {}
|
|
1036
1036
|
dispose() {}
|
|
@@ -1052,7 +1052,7 @@ var Hn = class {
|
|
|
1052
1052
|
}
|
|
1053
1053
|
}
|
|
1054
1054
|
let s = e.status === "ok";
|
|
1055
|
-
(s && e.errors === 0 || s && r) && (
|
|
1055
|
+
(s && e.errors === 0 || s && r) && (De(e, {
|
|
1056
1056
|
...r && { status: "crashed" },
|
|
1057
1057
|
errors: e.errors || Number(i || r)
|
|
1058
1058
|
}), this.captureSession(e));
|
|
@@ -1070,28 +1070,28 @@ var Hn = class {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
_prepareEvent(e, t, n, r) {
|
|
1072
1072
|
let i = this.getOptions(), a = this.getIntegrationNames();
|
|
1073
|
-
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id),
|
|
1073
|
+
return !t.integrations && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), Oe(i, e, t, n, this, r).then((e) => {
|
|
1074
1074
|
var r;
|
|
1075
1075
|
return e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
1076
1076
|
trace: {
|
|
1077
1077
|
...(r = e.contexts) == null ? void 0 : r.trace,
|
|
1078
|
-
...
|
|
1078
|
+
...ee(n)
|
|
1079
1079
|
},
|
|
1080
1080
|
...e.contexts
|
|
1081
1081
|
}, e.sdkProcessingMetadata = {
|
|
1082
|
-
dynamicSamplingContext:
|
|
1082
|
+
dynamicSamplingContext: xe(this, n),
|
|
1083
1083
|
...e.sdkProcessingMetadata
|
|
1084
1084
|
}, e);
|
|
1085
1085
|
});
|
|
1086
1086
|
}
|
|
1087
|
-
_captureEvent(e, t = {}, n =
|
|
1088
|
-
return P && Kn(e) &&
|
|
1089
|
-
P && (Bn(e) ?
|
|
1087
|
+
_captureEvent(e, t = {}, n = N(), r = w()) {
|
|
1088
|
+
return P && Kn(e) && k.log(`Captured error event \`${Tn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
1089
|
+
P && (Bn(e) ? k.log(e.message) : zn(e) ? k.warn(e.message) : k.warn(e));
|
|
1090
1090
|
});
|
|
1091
1091
|
}
|
|
1092
1092
|
_processEvent(e, t, n, r) {
|
|
1093
1093
|
let i = this.getOptions(), { sampleRate: a } = i, o = qn(e), s = Kn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : ht(a);
|
|
1094
|
-
if (s && typeof l == "number" &&
|
|
1094
|
+
if (s && typeof l == "number" && le() > l) return this.recordDroppedEvent("sample_rate", "error"), Ue(Rn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
1095
1095
|
let u = Un(e.type);
|
|
1096
1096
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
1097
1097
|
var n;
|
|
@@ -1143,18 +1143,18 @@ Reason: ${e}`));
|
|
|
1143
1143
|
});
|
|
1144
1144
|
}
|
|
1145
1145
|
_flushOutcomes() {
|
|
1146
|
-
P &&
|
|
1146
|
+
P && k.log("Flushing outcomes...");
|
|
1147
1147
|
let e = this._clearOutcomes();
|
|
1148
1148
|
if (e.length === 0) {
|
|
1149
|
-
P &&
|
|
1149
|
+
P && k.log("No outcomes to send");
|
|
1150
1150
|
return;
|
|
1151
1151
|
}
|
|
1152
1152
|
if (!this._dsn) {
|
|
1153
|
-
P &&
|
|
1153
|
+
P && k.log("No dsn provided, will not send outcomes");
|
|
1154
1154
|
return;
|
|
1155
1155
|
}
|
|
1156
|
-
P &&
|
|
1157
|
-
let t = wn(e, this._options.tunnel &&
|
|
1156
|
+
P && k.log("Sending outcomes:", e);
|
|
1157
|
+
let t = wn(e, this._options.tunnel && E(this._dsn));
|
|
1158
1158
|
this.sendEnvelope(t);
|
|
1159
1159
|
}
|
|
1160
1160
|
};
|
|
@@ -1163,13 +1163,13 @@ function Un(e) {
|
|
|
1163
1163
|
}
|
|
1164
1164
|
function Wn(e, t) {
|
|
1165
1165
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
1166
|
-
if (
|
|
1167
|
-
if (!
|
|
1166
|
+
if (ve(e)) return e.then((e) => {
|
|
1167
|
+
if (!Ee(e) && e !== null) throw Ln(n);
|
|
1168
1168
|
return e;
|
|
1169
1169
|
}, (e) => {
|
|
1170
1170
|
throw Ln(`${t} rejected with ${e}`);
|
|
1171
1171
|
});
|
|
1172
|
-
if (!
|
|
1172
|
+
if (!Ee(e) && e !== null) throw Ln(n);
|
|
1173
1173
|
return e;
|
|
1174
1174
|
}
|
|
1175
1175
|
function Gn(e, t, n, r) {
|
|
@@ -1185,7 +1185,7 @@ function Gn(e, t, n, r) {
|
|
|
1185
1185
|
}, o)) return null;
|
|
1186
1186
|
if (s) {
|
|
1187
1187
|
let e = s(t);
|
|
1188
|
-
e ? c =
|
|
1188
|
+
e ? c = re(n, Dn(e)) : Ae();
|
|
1189
1189
|
}
|
|
1190
1190
|
if (c.spans) {
|
|
1191
1191
|
let t = [], n = c.spans;
|
|
@@ -1200,7 +1200,7 @@ function Gn(e, t, n, r) {
|
|
|
1200
1200
|
}
|
|
1201
1201
|
if (s) {
|
|
1202
1202
|
let n = s(e);
|
|
1203
|
-
n ? t.push(n) : (
|
|
1203
|
+
n ? t.push(n) : (Ae(), t.push(e));
|
|
1204
1204
|
} else t.push(e);
|
|
1205
1205
|
}
|
|
1206
1206
|
let r = c.spans.length - t.length;
|
|
@@ -1238,7 +1238,7 @@ function Xn(e) {
|
|
|
1238
1238
|
if (!e) return 0;
|
|
1239
1239
|
let t = 0;
|
|
1240
1240
|
return Object.values(e).forEach((e) => {
|
|
1241
|
-
Array.isArray(e) ? t += e.length * Zn(e[0]) :
|
|
1241
|
+
Array.isArray(e) ? t += e.length * Zn(e[0]) : he(e) ? t += Zn(e) : t += 100;
|
|
1242
1242
|
}), t;
|
|
1243
1243
|
}
|
|
1244
1244
|
function Zn(e) {
|
|
@@ -1247,19 +1247,19 @@ function Zn(e) {
|
|
|
1247
1247
|
//#endregion
|
|
1248
1248
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1249
1249
|
function Qn(e, t) {
|
|
1250
|
-
t.debug === !0 && (P ?
|
|
1250
|
+
t.debug === !0 && (P ? k.enable() : je(() => {
|
|
1251
1251
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1252
|
-
})),
|
|
1252
|
+
})), N().update(t.initialScope);
|
|
1253
1253
|
let n = new e(t);
|
|
1254
1254
|
return $n(n), n.init(), n;
|
|
1255
1255
|
}
|
|
1256
1256
|
function $n(e) {
|
|
1257
|
-
|
|
1257
|
+
N().setClient(e);
|
|
1258
1258
|
}
|
|
1259
1259
|
var er = 5e3, tr = 36e5;
|
|
1260
1260
|
function nr(e) {
|
|
1261
1261
|
function t(...e) {
|
|
1262
|
-
P &&
|
|
1262
|
+
P && k.log("[Offline]:", ...e);
|
|
1263
1263
|
}
|
|
1264
1264
|
return (n) => {
|
|
1265
1265
|
let r = e(n);
|
|
@@ -1272,7 +1272,7 @@ function nr(e) {
|
|
|
1272
1272
|
o && clearTimeout(o), o = Bt(setTimeout(async () => {
|
|
1273
1273
|
o = void 0;
|
|
1274
1274
|
let e = await i.shift();
|
|
1275
|
-
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(
|
|
1275
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = new Date(T()).toISOString(), u(e, !0).catch((e) => {
|
|
1276
1276
|
t("Failed to retry sending", e);
|
|
1277
1277
|
}));
|
|
1278
1278
|
}, e));
|
|
@@ -1354,14 +1354,14 @@ function or(e, t, n = [t], r = "npm") {
|
|
|
1354
1354
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1355
1355
|
var sr = 100;
|
|
1356
1356
|
function U(e, t) {
|
|
1357
|
-
let n = h(), r =
|
|
1357
|
+
let n = h(), r = w();
|
|
1358
1358
|
if (!n) return;
|
|
1359
1359
|
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = sr } = n.getOptions();
|
|
1360
1360
|
if (a <= 0) return;
|
|
1361
1361
|
let o = {
|
|
1362
1362
|
timestamp: p(),
|
|
1363
1363
|
...e
|
|
1364
|
-
}, s = i ?
|
|
1364
|
+
}, s = i ? je(() => i(o, t)) : o;
|
|
1365
1365
|
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1366
1366
|
}
|
|
1367
1367
|
//#endregion
|
|
@@ -1373,7 +1373,7 @@ var cr = "FunctionToString", lr = /* @__PURE__ */ new WeakMap(), ur = H((() => (
|
|
|
1373
1373
|
try {
|
|
1374
1374
|
Function.prototype.toString = function(...t) {
|
|
1375
1375
|
var n;
|
|
1376
|
-
let r =
|
|
1376
|
+
let r = x(this), i;
|
|
1377
1377
|
try {
|
|
1378
1378
|
lr.has(h()) && r !== void 0 && (i = r);
|
|
1379
1379
|
} catch {}
|
|
@@ -1425,18 +1425,18 @@ function hr(e = {}, t = {}) {
|
|
|
1425
1425
|
}
|
|
1426
1426
|
function gr(e, t) {
|
|
1427
1427
|
if (!e.type) {
|
|
1428
|
-
if (_r(e, t.ignoreErrors)) return P &&
|
|
1429
|
-
Event: ${
|
|
1430
|
-
if (Cr(e)) return P &&
|
|
1431
|
-
Event: ${
|
|
1432
|
-
if (yr(e, t.denyUrls)) return P &&
|
|
1433
|
-
Event: ${
|
|
1428
|
+
if (_r(e, t.ignoreErrors)) return P && k.warn(`Event dropped due to being matched by \`ignoreErrors\` option.
|
|
1429
|
+
Event: ${_(e)}`), !0;
|
|
1430
|
+
if (Cr(e)) return P && k.warn(`Event dropped due to not having an error message, error type or stacktrace.
|
|
1431
|
+
Event: ${_(e)}`), !0;
|
|
1432
|
+
if (yr(e, t.denyUrls)) return P && k.warn(`Event dropped due to being matched by \`denyUrls\` option.
|
|
1433
|
+
Event: ${_(e)}.
|
|
1434
1434
|
Url: ${Sr(e)}`), !0;
|
|
1435
|
-
if (!br(e, t.allowUrls)) return P &&
|
|
1436
|
-
Event: ${
|
|
1435
|
+
if (!br(e, t.allowUrls)) return P && k.warn(`Event dropped due to not being matched by \`allowUrls\` option.
|
|
1436
|
+
Event: ${_(e)}.
|
|
1437
1437
|
Url: ${Sr(e)}`), !0;
|
|
1438
|
-
} else if (e.type === "transaction" && vr(e, t.ignoreTransactions)) return P &&
|
|
1439
|
-
Event: ${
|
|
1438
|
+
} else if (e.type === "transaction" && vr(e, t.ignoreTransactions)) return P && k.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.
|
|
1439
|
+
Event: ${_(e)}`), !0;
|
|
1440
1440
|
return !1;
|
|
1441
1441
|
}
|
|
1442
1442
|
function _r(e, t) {
|
|
@@ -1473,7 +1473,7 @@ function Sr(e) {
|
|
|
1473
1473
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1474
1474
|
return a ? xr(a) : null;
|
|
1475
1475
|
} catch {
|
|
1476
|
-
return P &&
|
|
1476
|
+
return P && k.error(`Cannot extract url for event ${_(e)}`), null;
|
|
1477
1477
|
}
|
|
1478
1478
|
}
|
|
1479
1479
|
function Cr(e) {
|
|
@@ -1484,20 +1484,20 @@ function Cr(e) {
|
|
|
1484
1484
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1485
1485
|
function wr(e, t, n, r, i, a) {
|
|
1486
1486
|
var o;
|
|
1487
|
-
if (!((o = i.exception) != null && o.values) || !a || !
|
|
1487
|
+
if (!((o = i.exception) != null && o.values) || !a || !He(a.originalException, Error)) return;
|
|
1488
1488
|
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1489
1489
|
s && (i.exception.values = Tr(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1490
1490
|
}
|
|
1491
1491
|
function Tr(e, t, n, r, i, a, o, s) {
|
|
1492
1492
|
if (a.length >= n + 1) return a;
|
|
1493
1493
|
let c = [...a];
|
|
1494
|
-
if (
|
|
1494
|
+
if (He(r[i], Error)) {
|
|
1495
1495
|
Dr(o, s, r);
|
|
1496
1496
|
let a = e(t, r[i]), l = c.length;
|
|
1497
1497
|
Or(a, i, l, s), c = Tr(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1498
1498
|
}
|
|
1499
1499
|
return Er(r) && r.errors.forEach((a, l) => {
|
|
1500
|
-
if (
|
|
1500
|
+
if (He(a, Error)) {
|
|
1501
1501
|
Dr(o, s, r);
|
|
1502
1502
|
let u = e(t, a), d = c.length;
|
|
1503
1503
|
Or(u, `errors[${l}]`, d, s), c = Tr(e, t, n, a, i, [u, ...c], u, d);
|
|
@@ -1529,7 +1529,7 @@ function Or(e, t, n, r) {
|
|
|
1529
1529
|
//#endregion
|
|
1530
1530
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1531
1531
|
function kr(e) {
|
|
1532
|
-
return
|
|
1532
|
+
return ae(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1533
1533
|
}
|
|
1534
1534
|
function Ar(e) {
|
|
1535
1535
|
return kr(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
@@ -1543,14 +1543,14 @@ function Mr(e) {
|
|
|
1543
1543
|
}
|
|
1544
1544
|
var Nr = /* @__PURE__ */ new Set();
|
|
1545
1545
|
function Pr() {
|
|
1546
|
-
"console" in
|
|
1547
|
-
Nr.has(e) || !(e in
|
|
1548
|
-
return
|
|
1549
|
-
let n = t[0], r =
|
|
1546
|
+
"console" in D && Le.forEach(function(e) {
|
|
1547
|
+
Nr.has(e) || !(e in D.console) || (Nr.add(e), j(D.console, e, function(t) {
|
|
1548
|
+
return we[e] = t, function(...t) {
|
|
1549
|
+
let n = t[0], r = we[e], i = jr.size && typeof n == "string" && F(n, jr);
|
|
1550
1550
|
i || B("console", {
|
|
1551
1551
|
args: t,
|
|
1552
1552
|
level: e
|
|
1553
|
-
}), (!i || P &&
|
|
1553
|
+
}), (!i || P && k.isEnabled()) && (r == null || r.apply(D.console, t));
|
|
1554
1554
|
};
|
|
1555
1555
|
}));
|
|
1556
1556
|
});
|
|
@@ -1576,7 +1576,7 @@ var Ir = "Dedupe", Lr = H((() => {
|
|
|
1576
1576
|
processEvent(t) {
|
|
1577
1577
|
if (t.type) return t;
|
|
1578
1578
|
try {
|
|
1579
|
-
if (Rr(t, e)) return P &&
|
|
1579
|
+
if (Rr(t, e)) return P && k.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1580
1580
|
} catch {}
|
|
1581
1581
|
return e = t;
|
|
1582
1582
|
}
|
|
@@ -1594,7 +1594,7 @@ function Br(e, t) {
|
|
|
1594
1594
|
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Hr(e, t) || !Vr(e, t));
|
|
1595
1595
|
}
|
|
1596
1596
|
function Vr(e, t) {
|
|
1597
|
-
let n =
|
|
1597
|
+
let n = We(e), r = We(t);
|
|
1598
1598
|
if (!n && !r) return !0;
|
|
1599
1599
|
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1600
1600
|
for (let e = 0; e < r.length; e++) {
|
|
@@ -1624,9 +1624,9 @@ var Wr = "ConversationId", Gr = H((() => ({
|
|
|
1624
1624
|
name: Wr,
|
|
1625
1625
|
setup(e) {
|
|
1626
1626
|
e.on("spanStart", (e) => {
|
|
1627
|
-
let t =
|
|
1627
|
+
let t = N().getScopeData(), n = w().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1628
1628
|
if (r) {
|
|
1629
|
-
let { op: t, data: n, description: i } =
|
|
1629
|
+
let { op: t, data: n, description: i } = Te(e);
|
|
1630
1630
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
1631
1631
|
e.setAttribute(Je, r);
|
|
1632
1632
|
}
|
|
@@ -1643,7 +1643,7 @@ function Kr(e) {
|
|
|
1643
1643
|
}
|
|
1644
1644
|
//#endregion
|
|
1645
1645
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1646
|
-
var W =
|
|
1646
|
+
var W = D;
|
|
1647
1647
|
function qr() {
|
|
1648
1648
|
return "history" in W && !!W.history;
|
|
1649
1649
|
}
|
|
@@ -1668,7 +1668,7 @@ function Xr() {
|
|
|
1668
1668
|
let r = t.createElement("iframe");
|
|
1669
1669
|
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Yr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1670
1670
|
} catch (e) {
|
|
1671
|
-
P &&
|
|
1671
|
+
P && k.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1672
1672
|
}
|
|
1673
1673
|
return e;
|
|
1674
1674
|
}
|
|
@@ -1679,7 +1679,7 @@ function Zr(e, t) {
|
|
|
1679
1679
|
return z(n, () => Qr(void 0, t)), r;
|
|
1680
1680
|
}
|
|
1681
1681
|
function Qr(e, t = !1) {
|
|
1682
|
-
t && !Xr() ||
|
|
1682
|
+
t && !Xr() || j(D, "fetch", function(t) {
|
|
1683
1683
|
return function(...n) {
|
|
1684
1684
|
let r = /* @__PURE__ */ Error(), { method: i, url: a } = ti(n), o = {
|
|
1685
1685
|
args: n,
|
|
@@ -1687,25 +1687,25 @@ function Qr(e, t = !1) {
|
|
|
1687
1687
|
method: i,
|
|
1688
1688
|
url: a
|
|
1689
1689
|
},
|
|
1690
|
-
startTimestamp:
|
|
1690
|
+
startTimestamp: A() * 1e3,
|
|
1691
1691
|
virtualError: r,
|
|
1692
1692
|
headers: ni(n)
|
|
1693
1693
|
};
|
|
1694
|
-
return e || B("fetch", { ...o }), t.apply(
|
|
1694
|
+
return e || B("fetch", { ...o }), t.apply(D, n).then(async (t) => (e ? e(t) : B("fetch", {
|
|
1695
1695
|
...o,
|
|
1696
|
-
endTimestamp:
|
|
1696
|
+
endTimestamp: A() * 1e3,
|
|
1697
1697
|
response: t
|
|
1698
1698
|
}), t), (e) => {
|
|
1699
1699
|
var t;
|
|
1700
1700
|
B("fetch", {
|
|
1701
1701
|
...o,
|
|
1702
|
-
endTimestamp:
|
|
1702
|
+
endTimestamp: A() * 1e3,
|
|
1703
1703
|
error: e
|
|
1704
|
-
}),
|
|
1704
|
+
}), ae(e) && e.stack === void 0 && (e.stack = r.stack, v(e, "framesToPop", 1));
|
|
1705
1705
|
let n = h(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1706
1706
|
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1707
1707
|
let t = new URL(o.fetchData.url).host;
|
|
1708
|
-
i === "always" ? e.message = `${e.message} (${t})` :
|
|
1708
|
+
i === "always" ? e.message = `${e.message} (${t})` : v(e, "__sentry_fetch_url_host__", t);
|
|
1709
1709
|
} catch {}
|
|
1710
1710
|
throw e;
|
|
1711
1711
|
});
|
|
@@ -1713,7 +1713,7 @@ function Qr(e, t = !1) {
|
|
|
1713
1713
|
});
|
|
1714
1714
|
}
|
|
1715
1715
|
function $r(e, t) {
|
|
1716
|
-
return
|
|
1716
|
+
return Ne(e) && !!e[t];
|
|
1717
1717
|
}
|
|
1718
1718
|
function ei(e) {
|
|
1719
1719
|
return typeof e == "string" ? e : e ? $r(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
@@ -1727,7 +1727,7 @@ function ti(e) {
|
|
|
1727
1727
|
let [t, n] = e;
|
|
1728
1728
|
return {
|
|
1729
1729
|
url: ei(t),
|
|
1730
|
-
method: $r(n, "method") ? String(n.method).toUpperCase() :
|
|
1730
|
+
method: $r(n, "method") ? String(n.method).toUpperCase() : Fe(t) && $r(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1731
1731
|
};
|
|
1732
1732
|
}
|
|
1733
1733
|
let t = e[0];
|
|
@@ -1740,12 +1740,12 @@ function ni(e) {
|
|
|
1740
1740
|
let [t, n] = e;
|
|
1741
1741
|
try {
|
|
1742
1742
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1743
|
-
if (
|
|
1743
|
+
if (Fe(t)) return new Headers(t.headers);
|
|
1744
1744
|
} catch {}
|
|
1745
1745
|
}
|
|
1746
1746
|
//#endregion
|
|
1747
1747
|
//#region ../../node_modules/.pnpm/@sentry+core@10.69.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
1748
|
-
var ri =
|
|
1748
|
+
var ri = D;
|
|
1749
1749
|
function ii() {
|
|
1750
1750
|
try {
|
|
1751
1751
|
return ri.document.location.href;
|
|
@@ -1768,7 +1768,7 @@ function ai(e, t = 5) {
|
|
|
1768
1768
|
}
|
|
1769
1769
|
//#endregion
|
|
1770
1770
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1771
|
-
var G =
|
|
1771
|
+
var G = D, oi = 0;
|
|
1772
1772
|
function si() {
|
|
1773
1773
|
return oi > 0;
|
|
1774
1774
|
}
|
|
@@ -1787,30 +1787,30 @@ function K(e, t = {}) {
|
|
|
1787
1787
|
let t = e.__sentry_wrapped__;
|
|
1788
1788
|
return typeof t == "function" ? t : e;
|
|
1789
1789
|
}
|
|
1790
|
-
if (
|
|
1790
|
+
if (x(e)) return e;
|
|
1791
1791
|
} catch {
|
|
1792
1792
|
return e;
|
|
1793
1793
|
}
|
|
1794
1794
|
let r = function(...n) {
|
|
1795
|
-
|
|
1795
|
+
D._sentryWrappedDepth = (D._sentryWrappedDepth || 0) + 1;
|
|
1796
1796
|
try {
|
|
1797
1797
|
let r = n.map((e) => K(e, t));
|
|
1798
1798
|
return e.apply(this, r);
|
|
1799
1799
|
} catch (e) {
|
|
1800
1800
|
throw ci(), g((r) => {
|
|
1801
|
-
r.addEventProcessor((e) => (t.mechanism && (
|
|
1801
|
+
r.addEventProcessor((e) => (t.mechanism && (ne(e, void 0, void 0), C(e, t.mechanism)), e.extra = {
|
|
1802
1802
|
...e.extra,
|
|
1803
1803
|
arguments: n
|
|
1804
|
-
}, e)),
|
|
1804
|
+
}, e)), Me(e);
|
|
1805
1805
|
}), e;
|
|
1806
1806
|
} finally {
|
|
1807
|
-
|
|
1807
|
+
D._sentryWrappedDepth = (D._sentryWrappedDepth || 0) - 1;
|
|
1808
1808
|
}
|
|
1809
1809
|
};
|
|
1810
1810
|
try {
|
|
1811
1811
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1812
1812
|
} catch {}
|
|
1813
|
-
|
|
1813
|
+
de(r, e), v(e, "__sentry_wrapped__", r);
|
|
1814
1814
|
try {
|
|
1815
1815
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1816
1816
|
return e.name;
|
|
@@ -1838,14 +1838,14 @@ function ui(e, t) {
|
|
|
1838
1838
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1839
1839
|
}
|
|
1840
1840
|
function di(e, t, n, r) {
|
|
1841
|
-
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Ei(t), s = { __serialized__:
|
|
1841
|
+
let i = h(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = Ei(t), s = { __serialized__: ce(t, a) };
|
|
1842
1842
|
if (o) return {
|
|
1843
1843
|
exception: { values: [ui(e, o)] },
|
|
1844
1844
|
extra: s
|
|
1845
1845
|
};
|
|
1846
1846
|
let c = {
|
|
1847
1847
|
exception: { values: [{
|
|
1848
|
-
type:
|
|
1848
|
+
type: be(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1849
1849
|
value: wi(t, { isUnhandledRejection: r })
|
|
1850
1850
|
}] },
|
|
1851
1851
|
extra: s
|
|
@@ -1886,16 +1886,16 @@ function yi(e) {
|
|
|
1886
1886
|
}
|
|
1887
1887
|
function bi(e, t, n, r) {
|
|
1888
1888
|
let i = Si(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1889
|
-
return
|
|
1889
|
+
return C(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), ye(i);
|
|
1890
1890
|
}
|
|
1891
1891
|
function xi(e, t, n = "info", r, i) {
|
|
1892
1892
|
let a = Ci(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1893
|
-
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id),
|
|
1893
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), ye(a);
|
|
1894
1894
|
}
|
|
1895
1895
|
function Si(e, t, n, r, i) {
|
|
1896
1896
|
let a;
|
|
1897
1897
|
if (f(t) && t.error) return fi(e, t.error);
|
|
1898
|
-
if (
|
|
1898
|
+
if (ue(t) || fe(t)) {
|
|
1899
1899
|
let i = t;
|
|
1900
1900
|
if ("stack" in t) {
|
|
1901
1901
|
var o;
|
|
@@ -1903,18 +1903,18 @@ function Si(e, t, n, r, i) {
|
|
|
1903
1903
|
let i = (o = a.exception) == null || (o = o.values) == null ? void 0 : o[0];
|
|
1904
1904
|
if (r && n && i && !i.stacktrace) {
|
|
1905
1905
|
let t = pi(e, n);
|
|
1906
|
-
t.length && (i.stacktrace = { frames: t },
|
|
1906
|
+
t.length && (i.stacktrace = { frames: t }, C(a, { synthetic: !0 }));
|
|
1907
1907
|
}
|
|
1908
1908
|
} else {
|
|
1909
|
-
let t = i.name || (
|
|
1910
|
-
a = Ci(e, o, n, r),
|
|
1909
|
+
let t = i.name || (ue(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1910
|
+
a = Ci(e, o, n, r), ne(a, o);
|
|
1911
1911
|
}
|
|
1912
1912
|
return "code" in i && (a.tags = {
|
|
1913
1913
|
...a.tags,
|
|
1914
1914
|
"DOMException.code": `${i.code}`
|
|
1915
1915
|
}), a;
|
|
1916
1916
|
}
|
|
1917
|
-
return
|
|
1917
|
+
return ae(t) ? fi(e, t) : Ee(t) || be(t) ? (a = di(e, t, n, i), C(a, { synthetic: !0 }), a) : (a = Ci(e, t, n, r), ne(a, `${t}`, void 0), C(a, { synthetic: !0 }), a);
|
|
1918
1918
|
}
|
|
1919
1919
|
function Ci(e, t, n, r) {
|
|
1920
1920
|
let i = {};
|
|
@@ -1923,9 +1923,9 @@ function Ci(e, t, n, r) {
|
|
|
1923
1923
|
r.length && (i.exception = { values: [{
|
|
1924
1924
|
value: t,
|
|
1925
1925
|
stacktrace: { frames: r }
|
|
1926
|
-
}] }),
|
|
1926
|
+
}] }), C(i, { synthetic: !0 });
|
|
1927
1927
|
}
|
|
1928
|
-
if (
|
|
1928
|
+
if (ze(t)) {
|
|
1929
1929
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1930
1930
|
return i.logentry = {
|
|
1931
1931
|
message: e,
|
|
@@ -1935,8 +1935,8 @@ function Ci(e, t, n, r) {
|
|
|
1935
1935
|
return i.message = t, i;
|
|
1936
1936
|
}
|
|
1937
1937
|
function wi(e, { isUnhandledRejection: t }) {
|
|
1938
|
-
let n =
|
|
1939
|
-
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` :
|
|
1938
|
+
let n = S(e), r = t ? "promise rejection" : "exception";
|
|
1939
|
+
return f(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : be(e) ? `Event \`${Ti(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1940
1940
|
}
|
|
1941
1941
|
function Ti(e) {
|
|
1942
1942
|
try {
|
|
@@ -1987,7 +1987,7 @@ function Oi(e) {
|
|
|
1987
1987
|
}
|
|
1988
1988
|
//#endregion
|
|
1989
1989
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/debug-build.js
|
|
1990
|
-
var ki = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q =
|
|
1990
|
+
var ki = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = D;
|
|
1991
1991
|
//#endregion
|
|
1992
1992
|
//#region ../../node_modules/.pnpm/@sentry+browser-utils@10.69.0/node_modules/@sentry/browser-utils/build/esm/metrics/web-vitals/lib/globalListeners.js
|
|
1993
1993
|
function Ai(e, t, n) {
|
|
@@ -2056,7 +2056,7 @@ function Ii(e, t) {
|
|
|
2056
2056
|
let t = Y(e, "id");
|
|
2057
2057
|
t && n.push(`#${t}`);
|
|
2058
2058
|
let r = Y(e, "className");
|
|
2059
|
-
if (r &&
|
|
2059
|
+
if (r && M(r)) {
|
|
2060
2060
|
let e = r.split(/\s+/);
|
|
2061
2061
|
for (let t of e) n.push(`.${t}`);
|
|
2062
2062
|
}
|
|
@@ -2085,7 +2085,7 @@ function Hi() {
|
|
|
2085
2085
|
q.document.addEventListener("click", t, !1), q.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
2086
2086
|
var n, r;
|
|
2087
2087
|
let i = (n = q[t]) == null ? void 0 : n.prototype;
|
|
2088
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2088
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (j(i, "addEventListener", function(t) {
|
|
2089
2089
|
return function(n, r, i) {
|
|
2090
2090
|
if (n === "click" || n == "keypress") try {
|
|
2091
2091
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
@@ -2097,7 +2097,7 @@ function Hi() {
|
|
|
2097
2097
|
} catch {}
|
|
2098
2098
|
return t.call(this, n, r, i);
|
|
2099
2099
|
};
|
|
2100
|
-
}),
|
|
2100
|
+
}), j(i, "removeEventListener", function(e) {
|
|
2101
2101
|
return function(t, n, r) {
|
|
2102
2102
|
if (t === "click" || t == "keypress") try {
|
|
2103
2103
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -2123,7 +2123,7 @@ function Gi(e, t = !1) {
|
|
|
2123
2123
|
if (!n || n._sentryCaptured) return;
|
|
2124
2124
|
let r = Ki(n);
|
|
2125
2125
|
if (Wi(n.type, r)) return;
|
|
2126
|
-
|
|
2126
|
+
v(n, "_sentryCaptured", !0), r && !r._sentryId && v(r, "_sentryId", b());
|
|
2127
2127
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
2128
2128
|
Ui(n) || (e({
|
|
2129
2129
|
event: n,
|
|
@@ -2170,7 +2170,7 @@ function Yi() {
|
|
|
2170
2170
|
return e.apply(this, t);
|
|
2171
2171
|
};
|
|
2172
2172
|
}
|
|
2173
|
-
|
|
2173
|
+
j(q.history, "pushState", e), j(q.history, "replaceState", e);
|
|
2174
2174
|
}
|
|
2175
2175
|
function Xi(e) {
|
|
2176
2176
|
try {
|
|
@@ -2194,7 +2194,7 @@ function Qi(e) {
|
|
|
2194
2194
|
let i = t.contentWindow;
|
|
2195
2195
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
2196
2196
|
} catch (t) {
|
|
2197
|
-
ki &&
|
|
2197
|
+
ki && k.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
2198
2198
|
}
|
|
2199
2199
|
return n && (Zi[e] = n.bind(q));
|
|
2200
2200
|
}
|
|
@@ -2211,7 +2211,7 @@ function ta() {
|
|
|
2211
2211
|
if (!q.XMLHttpRequest) return;
|
|
2212
2212
|
let e = XMLHttpRequest.prototype;
|
|
2213
2213
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
2214
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
2214
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = na(n[1]);
|
|
2215
2215
|
if (!a || !o) return e.apply(t, n);
|
|
2216
2216
|
t[X] = {
|
|
2217
2217
|
method: a,
|
|
@@ -2225,7 +2225,7 @@ function ta() {
|
|
|
2225
2225
|
e.status_code = t.status;
|
|
2226
2226
|
} catch {}
|
|
2227
2227
|
B("xhr", {
|
|
2228
|
-
endTimestamp:
|
|
2228
|
+
endTimestamp: A() * 1e3,
|
|
2229
2229
|
startTimestamp: i,
|
|
2230
2230
|
xhr: t,
|
|
2231
2231
|
virtualError: r
|
|
@@ -2236,18 +2236,18 @@ function ta() {
|
|
|
2236
2236
|
return s(), e.apply(t, n);
|
|
2237
2237
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
2238
2238
|
let [r, i] = n, a = t[X];
|
|
2239
|
-
return a &&
|
|
2239
|
+
return a && M(r) && M(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
2240
2240
|
} }), e.apply(t, n);
|
|
2241
2241
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
2242
2242
|
let r = t[X];
|
|
2243
2243
|
return r ? (n[0] !== void 0 && (r.body = n[0]), B("xhr", {
|
|
2244
|
-
startTimestamp:
|
|
2244
|
+
startTimestamp: A() * 1e3,
|
|
2245
2245
|
xhr: t
|
|
2246
2246
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
2247
2247
|
} });
|
|
2248
2248
|
}
|
|
2249
2249
|
function na(e) {
|
|
2250
|
-
if (
|
|
2250
|
+
if (M(e)) return e;
|
|
2251
2251
|
try {
|
|
2252
2252
|
return e.toString();
|
|
2253
2253
|
} catch {}
|
|
@@ -2327,7 +2327,7 @@ var la = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, ua = /^\s*at (?:(.+?\)(?: \[.
|
|
|
2327
2327
|
let [e, t] = _a(r[1] || "?", r[2]);
|
|
2328
2328
|
return ca(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
2329
2329
|
}
|
|
2330
|
-
}], ma = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ha = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ga =
|
|
2330
|
+
}], ma = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, ha = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, ga = ke(pa, [sa, (e) => {
|
|
2331
2331
|
let t = ma.exec(e);
|
|
2332
2332
|
if (t) {
|
|
2333
2333
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
@@ -2363,7 +2363,7 @@ function xa(e) {
|
|
|
2363
2363
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2364
2364
|
event_id: t.event_id,
|
|
2365
2365
|
level: t.level,
|
|
2366
|
-
message:
|
|
2366
|
+
message: _(t)
|
|
2367
2367
|
}, { event: t });
|
|
2368
2368
|
};
|
|
2369
2369
|
}
|
|
@@ -2371,7 +2371,7 @@ function Sa(e, t) {
|
|
|
2371
2371
|
return function(n) {
|
|
2372
2372
|
if (h() !== e) return;
|
|
2373
2373
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2374
|
-
o && o > va && (Z &&
|
|
2374
|
+
o && o > va && (Z && k.warn(`\`dom.maxStringLength\` cannot exceed ${va}, but a value of ${o} was configured. Sentry will use ${va} instead.`), o = va), typeof a == "string" && (a = [a]);
|
|
2375
2375
|
try {
|
|
2376
2376
|
let e = n.event, t = Da(e) ? e.target : e;
|
|
2377
2377
|
r = Fi(t, {
|
|
@@ -2403,9 +2403,9 @@ function Ca(e) {
|
|
|
2403
2403
|
logger: "console"
|
|
2404
2404
|
},
|
|
2405
2405
|
level: Fr(t.level),
|
|
2406
|
-
message:
|
|
2406
|
+
message: oe(t.args, " ")
|
|
2407
2407
|
};
|
|
2408
|
-
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${
|
|
2408
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${oe(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2409
2409
|
else return;
|
|
2410
2410
|
U(n, {
|
|
2411
2411
|
input: t.args,
|
|
@@ -2503,7 +2503,7 @@ var Oa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2503
2503
|
return {
|
|
2504
2504
|
name: ka,
|
|
2505
2505
|
setupOnce() {
|
|
2506
|
-
t.setTimeout &&
|
|
2506
|
+
t.setTimeout && j(G, "setTimeout", ja), t.setInterval && j(G, "setInterval", ja), t.requestAnimationFrame && j(G, "requestAnimationFrame", Ma), t.XMLHttpRequest && "XMLHttpRequest" in G && j(XMLHttpRequest.prototype, "send", Na);
|
|
2507
2507
|
let e = t.eventTarget;
|
|
2508
2508
|
e && (Array.isArray(e) ? e : Oa).forEach((e) => Pa(e, t));
|
|
2509
2509
|
}
|
|
@@ -2514,14 +2514,14 @@ function ja(e) {
|
|
|
2514
2514
|
let n = t[0];
|
|
2515
2515
|
return t[0] = K(n, { mechanism: {
|
|
2516
2516
|
handled: !1,
|
|
2517
|
-
type: `auto.browser.browserapierrors.${
|
|
2517
|
+
type: `auto.browser.browserapierrors.${O(e)}`
|
|
2518
2518
|
} }), e.apply(this, t);
|
|
2519
2519
|
};
|
|
2520
2520
|
}
|
|
2521
2521
|
function Ma(e) {
|
|
2522
2522
|
return function(t) {
|
|
2523
2523
|
return e.apply(this, [K(t, { mechanism: {
|
|
2524
|
-
data: { handler:
|
|
2524
|
+
data: { handler: O(e) },
|
|
2525
2525
|
handled: !1,
|
|
2526
2526
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2527
2527
|
} })]);
|
|
@@ -2536,13 +2536,13 @@ function Na(e) {
|
|
|
2536
2536
|
"onprogress",
|
|
2537
2537
|
"onreadystatechange"
|
|
2538
2538
|
].forEach((e) => {
|
|
2539
|
-
e in n && typeof n[e] == "function" &&
|
|
2539
|
+
e in n && typeof n[e] == "function" && j(n, e, function(t) {
|
|
2540
2540
|
let n = { mechanism: {
|
|
2541
|
-
data: { handler:
|
|
2541
|
+
data: { handler: O(t) },
|
|
2542
2542
|
handled: !1,
|
|
2543
2543
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2544
|
-
} }, r =
|
|
2545
|
-
return r && (n.mechanism.data.handler =
|
|
2544
|
+
} }, r = x(t);
|
|
2545
|
+
return r && (n.mechanism.data.handler = O(r)), K(t, n);
|
|
2546
2546
|
});
|
|
2547
2547
|
}), e.apply(this, t);
|
|
2548
2548
|
};
|
|
@@ -2550,12 +2550,12 @@ function Na(e) {
|
|
|
2550
2550
|
function Pa(e, t) {
|
|
2551
2551
|
var n, r;
|
|
2552
2552
|
let i = (n = G[e]) == null ? void 0 : n.prototype;
|
|
2553
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2553
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (j(i, "addEventListener", function(n) {
|
|
2554
2554
|
return function(r, i, a) {
|
|
2555
2555
|
try {
|
|
2556
2556
|
Fa(i) && (i.handleEvent = K(i.handleEvent, { mechanism: {
|
|
2557
2557
|
data: {
|
|
2558
|
-
handler:
|
|
2558
|
+
handler: O(i),
|
|
2559
2559
|
target: e
|
|
2560
2560
|
},
|
|
2561
2561
|
handled: !1,
|
|
@@ -2566,7 +2566,7 @@ function Pa(e, t) {
|
|
|
2566
2566
|
r,
|
|
2567
2567
|
K(i, { mechanism: {
|
|
2568
2568
|
data: {
|
|
2569
|
-
handler:
|
|
2569
|
+
handler: O(i),
|
|
2570
2570
|
target: e
|
|
2571
2571
|
},
|
|
2572
2572
|
handled: !1,
|
|
@@ -2575,7 +2575,7 @@ function Pa(e, t) {
|
|
|
2575
2575
|
a
|
|
2576
2576
|
]);
|
|
2577
2577
|
};
|
|
2578
|
-
}),
|
|
2578
|
+
}), j(i, "removeEventListener", function(e) {
|
|
2579
2579
|
return function(t, n, r) {
|
|
2580
2580
|
try {
|
|
2581
2581
|
if (Object.prototype.hasOwnProperty.call(n, "__sentry_wrapped__")) {
|
|
@@ -2602,20 +2602,20 @@ var La = H((e = {}) => {
|
|
|
2602
2602
|
name: "BrowserSession",
|
|
2603
2603
|
setupOnce() {
|
|
2604
2604
|
if (G.document === void 0) {
|
|
2605
|
-
Z &&
|
|
2605
|
+
Z && k.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2606
2606
|
return;
|
|
2607
2607
|
}
|
|
2608
|
-
|
|
2608
|
+
_e({ ignoreDuration: !0 });
|
|
2609
2609
|
let e = !1;
|
|
2610
2610
|
Ni(() => {
|
|
2611
|
-
e || (
|
|
2611
|
+
e || (Re(), e = !0);
|
|
2612
2612
|
});
|
|
2613
|
-
let t =
|
|
2613
|
+
let t = w(), r = t.getUser();
|
|
2614
2614
|
t.addScopeListener((t) => {
|
|
2615
2615
|
let n = t.getUser();
|
|
2616
|
-
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e &&
|
|
2616
|
+
((r == null ? void 0 : r.id) !== (n == null ? void 0 : n.id) || (r == null ? void 0 : r.ip_address) !== (n == null ? void 0 : n.ip_address)) && (r = n, e && Re());
|
|
2617
2617
|
}), n === "route" && Ji(({ from: t, to: n }) => {
|
|
2618
|
-
t !== n && (
|
|
2618
|
+
t !== n && (_e({ ignoreDuration: !0 }), Re(), e = !0);
|
|
2619
2619
|
});
|
|
2620
2620
|
}
|
|
2621
2621
|
};
|
|
@@ -2680,7 +2680,7 @@ function Ua(e) {
|
|
|
2680
2680
|
let { stackParser: n, attachStacktrace: r } = Ya();
|
|
2681
2681
|
if (h() !== e || si()) return;
|
|
2682
2682
|
let { msg: i, url: a, line: o, column: s, error: c } = t, l = qa(Si(n, c || i, void 0, r, !1), a, o, s);
|
|
2683
|
-
l.level = "error",
|
|
2683
|
+
l.level = "error", Ve(l, {
|
|
2684
2684
|
originalException: c,
|
|
2685
2685
|
mechanism: {
|
|
2686
2686
|
handled: !1,
|
|
@@ -2693,8 +2693,8 @@ function Wa(e) {
|
|
|
2693
2693
|
pt((t) => {
|
|
2694
2694
|
let { stackParser: n, attachStacktrace: r } = Ya();
|
|
2695
2695
|
if (h() !== e || si()) return;
|
|
2696
|
-
let i = Ga(t), a =
|
|
2697
|
-
a.level = "error",
|
|
2696
|
+
let i = Ga(t), a = he(i) ? Ka(i) : Si(n, i, void 0, r, !0);
|
|
2697
|
+
a.level = "error", Ve(a, {
|
|
2698
2698
|
originalException: i,
|
|
2699
2699
|
mechanism: {
|
|
2700
2700
|
handled: !1,
|
|
@@ -2704,7 +2704,7 @@ function Wa(e) {
|
|
|
2704
2704
|
});
|
|
2705
2705
|
}
|
|
2706
2706
|
function Ga(e) {
|
|
2707
|
-
if (
|
|
2707
|
+
if (he(e)) return e;
|
|
2708
2708
|
try {
|
|
2709
2709
|
if ("reason" in e) return e.reason;
|
|
2710
2710
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
@@ -2732,7 +2732,7 @@ function qa(e, t, n, r) {
|
|
|
2732
2732
|
return e;
|
|
2733
2733
|
}
|
|
2734
2734
|
function Ja(e) {
|
|
2735
|
-
Z &&
|
|
2735
|
+
Z && k.log(`Global Handler attached: ${e}`);
|
|
2736
2736
|
}
|
|
2737
2737
|
function Ya() {
|
|
2738
2738
|
let e = h();
|
|
@@ -2742,7 +2742,7 @@ function Ya() {
|
|
|
2742
2742
|
};
|
|
2743
2743
|
}
|
|
2744
2744
|
function Xa(e) {
|
|
2745
|
-
if (!(!
|
|
2745
|
+
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${ir(e, !1)}>` : e;
|
|
2746
2746
|
}
|
|
2747
2747
|
//#endregion
|
|
2748
2748
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
@@ -2763,7 +2763,7 @@ var Za = H(() => ({
|
|
|
2763
2763
|
},
|
|
2764
2764
|
processSegmentSpan(e) {
|
|
2765
2765
|
var t;
|
|
2766
|
-
let n = (t = e.attributes) == null ? void 0 : t[
|
|
2766
|
+
let n = (t = e.attributes) == null ? void 0 : t[se];
|
|
2767
2767
|
if (!G.navigator && !G.location && !G.document) return;
|
|
2768
2768
|
let r = li();
|
|
2769
2769
|
zt(e, {
|
|
@@ -2796,7 +2796,7 @@ function io(e) {
|
|
|
2796
2796
|
//#endregion
|
|
2797
2797
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.69.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2798
2798
|
function ao() {
|
|
2799
|
-
return oo() ? (Z &&
|
|
2799
|
+
return oo() ? (Z && je(() => {
|
|
2800
2800
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2801
2801
|
}), !0) : !1;
|
|
2802
2802
|
}
|
|
@@ -2831,34 +2831,34 @@ function co(e = {}) {
|
|
|
2831
2831
|
let t = !e.skipBrowserExtensionCheck && ao(), n = e.defaultIntegrations == null ? so() : e.defaultIntegrations, r = {
|
|
2832
2832
|
...e,
|
|
2833
2833
|
enabled: !t && e.enabled,
|
|
2834
|
-
stackParser:
|
|
2834
|
+
stackParser: Se(e.stackParser || ga),
|
|
2835
2835
|
integrations: Jt({
|
|
2836
2836
|
integrations: e.integrations,
|
|
2837
2837
|
defaultIntegrations: n
|
|
2838
2838
|
}),
|
|
2839
2839
|
transport: e.transport || aa
|
|
2840
2840
|
};
|
|
2841
|
-
return
|
|
2841
|
+
return y(ro), Qn(Di, r);
|
|
2842
2842
|
}
|
|
2843
2843
|
//#endregion
|
|
2844
2844
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/isSyntheticEvent.js
|
|
2845
2845
|
function lo(e) {
|
|
2846
|
-
return
|
|
2846
|
+
return Ee(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
2847
2847
|
}
|
|
2848
2848
|
//#endregion
|
|
2849
2849
|
//#region ../../node_modules/.pnpm/@sentry+react@10.69.0_react@19.2.8/node_modules/@sentry/react/build/esm/sdk.js
|
|
2850
2850
|
function uo(e) {
|
|
2851
2851
|
let t = { ...e };
|
|
2852
|
-
or(t, "react"),
|
|
2852
|
+
or(t, "react"), me("react", { version: it.version });
|
|
2853
2853
|
let n = co(t);
|
|
2854
|
-
return
|
|
2854
|
+
return y(fo), n;
|
|
2855
2855
|
}
|
|
2856
2856
|
function fo(e) {
|
|
2857
2857
|
return lo(e) ? "[SyntheticEvent]" : ro(e);
|
|
2858
2858
|
}
|
|
2859
2859
|
//#endregion
|
|
2860
2860
|
//#region src/tools/sentry.ts
|
|
2861
|
-
var po = "production", mo = "3.
|
|
2861
|
+
var po = "production", mo = "3.32.0";
|
|
2862
2862
|
function ho() {
|
|
2863
2863
|
let e = "sentry_offline_queue";
|
|
2864
2864
|
return {
|
|
@@ -2939,14 +2939,14 @@ function go(e) {
|
|
|
2939
2939
|
beforeSend(e) {
|
|
2940
2940
|
return e;
|
|
2941
2941
|
}
|
|
2942
|
-
}), e.eventId &&
|
|
2942
|
+
}), e.eventId && Pe("eventId", e.eventId), Pe("isWebview", e.isWebview), Pe("source", "main"), Be({ ip_address: "{{auto}}" }), _o();
|
|
2943
2943
|
}
|
|
2944
2944
|
function _o() {
|
|
2945
2945
|
window.addEventListener("unhandledrejection", (e) => {
|
|
2946
|
-
|
|
2946
|
+
Me(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2947
2947
|
});
|
|
2948
2948
|
let e = window.onerror;
|
|
2949
|
-
window.onerror = (t, n, r, i, a) => (a &&
|
|
2949
|
+
window.onerror = (t, n, r, i, a) => (a && Me(a, { contexts: { windowError: {
|
|
2950
2950
|
message: t,
|
|
2951
2951
|
source: n,
|
|
2952
2952
|
lineno: r,
|
|
@@ -3221,37 +3221,37 @@ var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
|
3221
3221
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler), this.efpStyleLoadHandler();
|
|
3222
3222
|
let g = this;
|
|
3223
3223
|
(async function() {
|
|
3224
|
-
var e,
|
|
3225
|
-
let
|
|
3224
|
+
var e, r, s;
|
|
3225
|
+
let c = t();
|
|
3226
3226
|
if (await i(), g.destroyed) return;
|
|
3227
|
-
let
|
|
3228
|
-
if (
|
|
3229
|
-
|
|
3227
|
+
let l = new URLSearchParams(window.location.search), d, f;
|
|
3228
|
+
if (c != null && c.trackerUrl) try {
|
|
3229
|
+
d = new URL(c.trackerUrl), f = d.searchParams.get("expoId");
|
|
3230
3230
|
} catch (e) {
|
|
3231
3231
|
console.error(e);
|
|
3232
3232
|
}
|
|
3233
|
-
let
|
|
3233
|
+
let m = async (e) => {
|
|
3234
3234
|
var t;
|
|
3235
|
-
if (!
|
|
3236
|
-
let n = new URL(e.dataUrl,
|
|
3235
|
+
if (!d || !f) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
3236
|
+
let n = new URL(e.dataUrl, d.origin), r = await fetch(n.toString(), {
|
|
3237
3237
|
method: "POST",
|
|
3238
3238
|
headers: { "Content-Type": "application/json" },
|
|
3239
3239
|
body: JSON.stringify({
|
|
3240
|
-
expoId:
|
|
3241
|
-
token: decodeURIComponent((t =
|
|
3240
|
+
expoId: f,
|
|
3241
|
+
token: decodeURIComponent((t = l.get("t")) == null ? "" : t)
|
|
3242
3242
|
})
|
|
3243
3243
|
}), i = [];
|
|
3244
3244
|
r.ok && (i = (await r.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: i };
|
|
3245
|
-
},
|
|
3246
|
-
if (
|
|
3247
|
-
if (
|
|
3245
|
+
}, h = (e = c == null ? void 0 : c.heatmap) == null ? {} : e, ee = vo(h) || l.get("heatmap") === "true", _ = h.variant === "yah" || l.get("type") === "yah", v = h.kiosk === !0 || l.get("subtype") === "kiosk";
|
|
3246
|
+
if (ee) try {
|
|
3247
|
+
if (_) v ? await m({
|
|
3248
3248
|
dataUrl: "/api/kiosks/list/viewer",
|
|
3249
3249
|
dataMapper: (e) => ({
|
|
3250
3250
|
...e,
|
|
3251
3251
|
id: e.key,
|
|
3252
3252
|
name: `Kiosk ${e.key}`
|
|
3253
3253
|
})
|
|
3254
|
-
}) : await
|
|
3254
|
+
}) : await m({
|
|
3255
3255
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
3256
3256
|
dataMapper: (e, t) => ({
|
|
3257
3257
|
...e,
|
|
@@ -3259,12 +3259,12 @@ var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
|
3259
3259
|
})
|
|
3260
3260
|
});
|
|
3261
3261
|
else {
|
|
3262
|
-
var
|
|
3263
|
-
if (!
|
|
3264
|
-
let e = new URL("/api/fp-stats/get",
|
|
3265
|
-
e.searchParams.set("expoId",
|
|
3266
|
-
let t = new URL("api/fp-stats/get",
|
|
3267
|
-
t.searchParams.set("expoId",
|
|
3262
|
+
var y, b;
|
|
3263
|
+
if (!d || !f) throw Error("trackerUrl or expoId is missing");
|
|
3264
|
+
let e = new URL("/api/fp-stats/get", d.origin);
|
|
3265
|
+
e.searchParams.set("expoId", f), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent((y = l.get("t")) == null ? "" : y));
|
|
3266
|
+
let t = new URL("api/fp-stats/get", d.origin);
|
|
3267
|
+
t.searchParams.set("expoId", f), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent((b = l.get("t")) == null ? "" : b));
|
|
3268
3268
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
3269
3269
|
window.__heatmapData = {
|
|
3270
3270
|
booths: i,
|
|
@@ -3274,7 +3274,7 @@ var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
|
3274
3274
|
} catch (e) {
|
|
3275
3275
|
console.error("Heatmap: Initialization error", e);
|
|
3276
3276
|
}
|
|
3277
|
-
let
|
|
3277
|
+
let x = [
|
|
3278
3278
|
n(a + "vendor/sanitize-css/sanitize.css", p),
|
|
3279
3279
|
n(a + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", p),
|
|
3280
3280
|
o("Oswald", a + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
@@ -3283,17 +3283,16 @@ var To = "FloorPlan destroyed before it finished loading", Eo = class {
|
|
|
3283
3283
|
o("Inter", a + "fonts/inter-500.woff2", { weight: 500 }),
|
|
3284
3284
|
o("Inter", a + "fonts/inter-600.woff2", { weight: 600 }),
|
|
3285
3285
|
o("efp-symbols", a + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
3286
|
-
xo(
|
|
3286
|
+
xo(c, p),
|
|
3287
3287
|
So(g.icons)
|
|
3288
3288
|
];
|
|
3289
|
-
if (await Promise.all(
|
|
3290
|
-
g.enableRotation = (
|
|
3291
|
-
let { default:
|
|
3289
|
+
if (await Promise.all(x), g.destroyed) return;
|
|
3290
|
+
g.enableRotation = (r = c == null ? void 0 : c.enableRotation) != null && r, g.alwaysShowSidebar = (s = c == null ? void 0 : c.alwaysShowSidebar) != null && s, u.log("Data loaded"), window.__storeInitAllowed = !0;
|
|
3291
|
+
let { default: S } = await import(
|
|
3292
3292
|
/* webpackChunkName: "floorplan" */
|
|
3293
|
-
"./floorplan.ready-
|
|
3293
|
+
"./floorplan.ready-Cysrjlb9.js"
|
|
3294
3294
|
);
|
|
3295
|
-
|
|
3296
|
-
g.destroyed || Object.setPrototypeOf(g, T.prototype).init();
|
|
3295
|
+
g.destroyed || Object.setPrototypeOf(g, S.prototype).init();
|
|
3297
3296
|
})();
|
|
3298
3297
|
}
|
|
3299
3298
|
};
|