@expofp/floorplan 3.1.8 → 3.1.10
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/{CookieConsent-BWIz5A9p.js → CookieConsent-a87H4eyO.js} +353 -353
- package/dist/browser/{Debug-Dc-CpIuW.js → Debug-DfGh4_QN.js} +13 -13
- package/dist/browser/{Demo-C-gDoJHz.js → Demo-BIgIFx9e.js} +13 -13
- package/dist/browser/{Free-B_Nc0lBV.js → Free-DbdK3j8V.js} +15 -15
- package/dist/browser/{Gallery-NW3tpm3U.js → Gallery-BUX5_QPS.js} +59 -59
- package/dist/browser/{GpsLoader-BgtxLTgL.js → GpsLoader-BAvg4bWZ.js} +35 -35
- package/dist/browser/{KioskStore-O9lcbMgO.js → KioskStore-D3Kv90me.js} +4 -4
- package/dist/browser/{Mapbox-n8XdO_JZ.js → Mapbox-C8_3DKUv.js} +9 -9
- package/dist/browser/{SetKioskMode-BSrhzr-T.js → SetKioskMode-D1hL_tNu.js} +8 -8
- package/dist/browser/{ShowKiosk-ChdkT29W.js → ShowKiosk-Oz_Er2Hp.js} +10 -10
- package/dist/browser/{ThreeComponent-C9NgJy3L.js → ThreeComponent-DEeXwEr_.js} +16 -16
- package/dist/browser/{TouchHand-j9wM9VIW.js → TouchHand-CABdIRBU.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-B-eQvgxu.js → ViewerMenuPanel-BqpETBnQ.js} +19 -19
- package/dist/browser/{add-debug-secret-listener-hyBkCStK.js → add-debug-secret-listener-DO7UiI9_.js} +1 -1
- package/dist/browser/boolean-editor-BmuDSLi6.js +158 -0
- package/dist/browser/{bootIntercom-CWJHIFsy.js → bootIntercom-CAMX7-bk.js} +1 -1
- package/dist/browser/browser-CdveV-Ch.js +198 -0
- package/dist/browser/bundle.json +62 -44
- package/dist/browser/{classnames-CV7GydgO.js → classnames-os-gPzrW.js} +3 -3
- package/dist/browser/{client-CW46IlZK.js → client-0ALI_KV4.js} +5 -5
- package/dist/browser/{data-BFFP23Yx.js → data-BjwxGiCn.js} +4 -4
- package/dist/browser/debug-namespaces-editor-KA5P5hW5.js +119 -0
- package/dist/browser/{debug-overlay-DK1IpDkH.js → debug-overlay-DeravwkZ.js} +1468 -1264
- package/dist/browser/{debug-ui-Bk_cgOg0.js → debug-ui-DO-qpxn5.js} +7 -7
- package/dist/browser/{dist-msXGDyJE.js → dist-y0f__WrL.js} +7 -7
- package/dist/browser/efp-debug-init-sGfP4q4G.js +41 -0
- package/dist/browser/{exports-CWJfbRRi.js → exports-eFca0lYR.js} +1 -1
- package/dist/browser/{favicon-Dx5hE2TC.js → favicon-CPsQUKVl.js} +1 -1
- package/dist/browser/{fetch-retry.umd--f_V0nbP.js → fetch-retry.umd-BAWDjKCA.js} +3 -3
- package/dist/browser/flex-ZLci6ROH.js +217 -0
- package/dist/browser/{flex-DayQlZNC.js → flex.props-25tq8dKa.js} +165 -368
- package/dist/browser/{floorplan.loader-ChwMFO3K.js → floorplan.loader-DIvwiYMb.js} +643 -643
- package/dist/browser/{floorplan.ready-DH6TL_BA.js → floorplan.ready-CKD9LSug.js} +214 -213
- package/dist/browser/{fuse-Cx2xVr92.js → fuse-BLrCecKQ.js} +3 -3
- package/dist/browser/index.html +0 -2
- package/dist/browser/index.js +14 -12
- package/dist/browser/{is-debug-DeMC2fj6.js → is-debug-DCLUqHh8.js} +654 -838
- package/dist/browser/{jsx-runtime-CeW-_L98.js → jsx-runtime-DlYXaiXZ.js} +3 -3
- package/dist/browser/{lib-ouUEfatK.js → lib-BDxYYOIt.js} +5 -5
- package/dist/browser/{main-C8DYHeS3.js → main-Dk9WLOfs.js} +1 -1
- package/dist/browser/mobx-Crec_zrD.js +24 -0
- package/dist/browser/{particles.min-CuOEuyDw.js → particles.min-CJwjn4Ff.js} +3 -3
- package/dist/browser/{prop-types-CkH4l5ny.js → prop-types-Dqb4sQlT.js} +3 -3
- package/dist/browser/{react-_GkslNER.js → react-DT3DrOuh.js} +3 -3
- package/dist/browser/{react-dom-Cq9do5W9.js → react-dom-DaXpOIBA.js} +4 -4
- package/dist/browser/register-debug-namespaces-setting-CDUqQrwu.js +27 -0
- package/dist/browser/reset-all-settings-BGD6O0Yi.js +15 -0
- package/dist/browser/{chunk-CmzsSKsP.js → rolldown-runtime-BDoRuuto.js} +1 -1
- package/dist/browser/{reset-all-settings-hgrZphbe.js → setting-registry-fKTgQ5tb.js} +3 -8
- package/dist/browser/{settings-BIMaTEyo.js → settings-BESfpH6w.js} +15 -14
- package/dist/browser/settings-item-CxX99BiC.js +67 -0
- package/dist/browser/{store-B0ML_owv.js → store-Ca0tjo_1.js} +5290 -5289
- package/dist/browser/ui-RnHaY1Kz.js +36 -0
- package/dist/esm/_misc_to_move/logBuildInfo.js +1 -1
- package/dist/esm/index.d.ts +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/load.js +1 -1
- package/package.json +3 -3
- package/dist/browser/boolean-editor-CtepaQAf.js +0 -206
- package/dist/browser/mobx-BTzRLiLH.js +0 -24
- package/dist/browser/src-BGoCtwZn.js +0 -19
- package/dist/browser/ui-vdOqnu50.js +0 -33
- package/dist/esm/_misc_to_move/logBuildInfoImpl.d.ts +0 -2
- package/dist/esm/_misc_to_move/logBuildInfoImpl.js +0 -1
|
@@ -1,26 +1,26 @@
|
|
|
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.1.
|
|
4
|
+
e.SENTRY_RELEASE = { id: "3.1.10" };
|
|
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] = "4a66688a-ee07-4b7f-bd1a-ba43b8112f4c", e._sentryDebugIdIdentifier = "sentry-dbid-4a66688a-ee07-4b7f-bd1a-ba43b8112f4c");
|
|
7
7
|
} catch {}
|
|
8
8
|
})();
|
|
9
|
-
import { r as e } from "./
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
9
|
+
import { r as e } from "./rolldown-runtime-BDoRuuto.js";
|
|
10
|
+
import { t } from "./react-DT3DrOuh.js";
|
|
11
|
+
import { A as n, B as r, G as i, H as a, J as o, K as s, Tt as c, V as l, Y as u, d, n as ee, r as f, s as te, t as ne, z as re } from "./is-debug-DCLUqHh8.js";
|
|
12
|
+
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as b, H as x, I as S, J as C, K as w, L as T, M as E, N as ie, O as ae, P as oe, Q as se, R as ce, S as le, T as ue, U as de, V as fe, W as D, X as pe, Y as me, Z as he, _ as ge, _t as _e, a as ve, at as ye, b as be, bt as O, c as xe, ct as Se, d as Ce, dt as we, et as Te, f as Ee, ft as De, g as Oe, gt as ke, h as Ae, ht as je, it as k, j as A, k as Me, l as Ne, lt as Pe, m as Fe, mt as j, n as Ie, nt as Le, o as Re, ot as M, p as ze, pt as Be, q as Ve, r as He, rt as Ue, s as We, st as Ge, t as Ke, tt as qe, u as Je, ut as N, v as P, vt as Ye, w as F, x as Xe, y as Ze, yt as I, z as L } from "./exports-eFca0lYR.js";
|
|
13
13
|
//#region src/tools/report-error.ts
|
|
14
|
-
var
|
|
15
|
-
function
|
|
16
|
-
|
|
14
|
+
var Qe;
|
|
15
|
+
function $e(e) {
|
|
16
|
+
Qe || e.filename.indexOf("expofp.com") === -1 || [
|
|
17
17
|
/loading chunk \d{1,2}\b/i,
|
|
18
18
|
/zaloJS/i,
|
|
19
19
|
/e.target.name/i,
|
|
20
20
|
/ResizeObserver loop/i,
|
|
21
21
|
/ChunkLoadError/i,
|
|
22
22
|
/FloorPlan not ready/i
|
|
23
|
-
].some((t) => t.test(e.message)) || (
|
|
23
|
+
].some((t) => t.test(e.message)) || (Qe = window.setTimeout(async function() {
|
|
24
24
|
var t;
|
|
25
25
|
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
26
26
|
host: document.location.host,
|
|
@@ -29,33 +29,33 @@ function nt(e) {
|
|
|
29
29
|
lineno: e.lineno,
|
|
30
30
|
colno: e.colno,
|
|
31
31
|
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
32
|
-
log:
|
|
32
|
+
log: c.messages.join("\n"),
|
|
33
33
|
userAgent: navigator.userAgent,
|
|
34
34
|
language: n,
|
|
35
35
|
group: "FP",
|
|
36
36
|
url: document.location,
|
|
37
37
|
subject: "FP JS error: " + document.location.host
|
|
38
38
|
};
|
|
39
|
-
|
|
39
|
+
c.info("Sending error report", r), await Promise.all([et(r), tt(r)]);
|
|
40
40
|
}, 2e3));
|
|
41
41
|
}
|
|
42
|
-
async function
|
|
42
|
+
async function et(e) {
|
|
43
43
|
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
44
44
|
method: "POST",
|
|
45
45
|
headers: { "Content-Type": "application/json" },
|
|
46
46
|
body: JSON.stringify(e)
|
|
47
47
|
});
|
|
48
|
-
|
|
48
|
+
c.log("Reporter response: ", await t.text());
|
|
49
49
|
}
|
|
50
|
-
async function
|
|
51
|
-
let t =
|
|
50
|
+
async function tt(e) {
|
|
51
|
+
let t = nt(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
52
52
|
method: "POST",
|
|
53
53
|
headers: { "Content-Type": "application/json" },
|
|
54
54
|
body: JSON.stringify(t)
|
|
55
55
|
});
|
|
56
|
-
|
|
56
|
+
c.log("Slack reporter response: ", await n.text());
|
|
57
57
|
}
|
|
58
|
-
function
|
|
58
|
+
function nt(e) {
|
|
59
59
|
let t = JSON.parse(JSON.stringify(e));
|
|
60
60
|
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
61
61
|
let n = [];
|
|
@@ -81,15 +81,16 @@ function at(e) {
|
|
|
81
81
|
}
|
|
82
82
|
//#endregion
|
|
83
83
|
//#region src/utils/loadCustomCss.ts
|
|
84
|
-
|
|
84
|
+
var rt = /* @__PURE__ */ e(t());
|
|
85
|
+
async function it(e, t) {
|
|
85
86
|
if (e != null && e.customCss) {
|
|
86
|
-
let
|
|
87
|
-
|
|
87
|
+
let n = document.createElement("style");
|
|
88
|
+
n.textContent = e.customCss, t.append(n), await r(e.customCss);
|
|
88
89
|
}
|
|
89
90
|
}
|
|
90
91
|
//#endregion
|
|
91
92
|
//#region src/utils/loadIcons.ts
|
|
92
|
-
async function
|
|
93
|
+
async function at(e) {
|
|
93
94
|
try {
|
|
94
95
|
(await Promise.allSettled(Object.entries({
|
|
95
96
|
departure: "icons/departure.svg",
|
|
@@ -100,14 +101,14 @@ async function st(e) {
|
|
|
100
101
|
transition_down: "icons/transition_down.svg",
|
|
101
102
|
kiosk: "icons/kiosk.svg",
|
|
102
103
|
yah: "icons/yah.svg"
|
|
103
|
-
}).map(([e, t]) =>
|
|
104
|
+
}).map(([e, t]) => ee(u + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
104
105
|
} catch (e) {
|
|
105
106
|
console.warn(e);
|
|
106
107
|
}
|
|
107
108
|
}
|
|
108
109
|
//#endregion
|
|
109
110
|
//#region src/utils/mergeExhibitors.ts
|
|
110
|
-
function
|
|
111
|
+
function ot(e, t) {
|
|
111
112
|
t.exhibitors.forEach((t) => {
|
|
112
113
|
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
113
114
|
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
@@ -115,118 +116,118 @@ function ct(e, t) {
|
|
|
115
116
|
}
|
|
116
117
|
//#endregion
|
|
117
118
|
//#region src/utils/use-shadow.ts
|
|
118
|
-
var
|
|
119
|
-
function
|
|
120
|
-
return
|
|
121
|
-
let n =
|
|
119
|
+
var st, ct = typeof document < "u" && !!((st = document.body) != null && st.attachShadow) && d && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: R, protocol: lt } = window.location, ut = R === "localhost" || R === "127.0.0.1" || R === "::1" || R.startsWith("192.168.") || R.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(R) || R.endsWith(".local") || lt === "file:" || R === "", z = {}, dt = {};
|
|
120
|
+
function B(e, t) {
|
|
121
|
+
return z[e] = z[e] || [], z[e].push(t), () => {
|
|
122
|
+
let n = z[e];
|
|
122
123
|
if (n) {
|
|
123
124
|
let e = n.indexOf(t);
|
|
124
125
|
e !== -1 && n.splice(e, 1);
|
|
125
126
|
}
|
|
126
127
|
};
|
|
127
128
|
}
|
|
128
|
-
function
|
|
129
|
-
if (!
|
|
130
|
-
|
|
129
|
+
function V(e, t) {
|
|
130
|
+
if (!dt[e]) {
|
|
131
|
+
dt[e] = !0;
|
|
131
132
|
try {
|
|
132
133
|
t();
|
|
133
134
|
} catch (t) {
|
|
134
|
-
|
|
135
|
+
O && j.error(`Error while instrumenting ${e}`, t);
|
|
135
136
|
}
|
|
136
137
|
}
|
|
137
138
|
}
|
|
138
|
-
function
|
|
139
|
-
let n = e &&
|
|
139
|
+
function H(e, t) {
|
|
140
|
+
let n = e && z[e];
|
|
140
141
|
if (n) for (let r of n) try {
|
|
141
142
|
r(t);
|
|
142
143
|
} catch (t) {
|
|
143
|
-
|
|
144
|
+
O && j.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${N(r)}\nError:`, t);
|
|
144
145
|
}
|
|
145
146
|
}
|
|
146
147
|
//#endregion
|
|
147
148
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
148
|
-
var
|
|
149
|
-
function
|
|
149
|
+
var ft = null;
|
|
150
|
+
function pt(e) {
|
|
150
151
|
let t = "error";
|
|
151
|
-
|
|
152
|
+
B(t, e), V(t, mt);
|
|
152
153
|
}
|
|
153
|
-
function
|
|
154
|
-
|
|
155
|
-
return
|
|
154
|
+
function mt() {
|
|
155
|
+
ft = I.onerror, I.onerror = function(e, t, n, r, i) {
|
|
156
|
+
return H("error", {
|
|
156
157
|
column: r,
|
|
157
158
|
error: i,
|
|
158
159
|
line: n,
|
|
159
160
|
msg: e,
|
|
160
161
|
url: t
|
|
161
|
-
}),
|
|
162
|
-
},
|
|
162
|
+
}), ft ? ft.apply(this, arguments) : !1;
|
|
163
|
+
}, I.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
163
164
|
}
|
|
164
165
|
//#endregion
|
|
165
166
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
166
|
-
var
|
|
167
|
-
function
|
|
167
|
+
var ht = null;
|
|
168
|
+
function gt(e) {
|
|
168
169
|
let t = "unhandledrejection";
|
|
169
|
-
|
|
170
|
+
B(t, e), V(t, _t);
|
|
170
171
|
}
|
|
171
|
-
function
|
|
172
|
-
|
|
173
|
-
return
|
|
174
|
-
},
|
|
172
|
+
function _t() {
|
|
173
|
+
ht = I.onunhandledrejection, I.onunhandledrejection = function(e) {
|
|
174
|
+
return H("unhandledrejection", e), ht ? ht.apply(this, arguments) : !0;
|
|
175
|
+
}, I.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
175
176
|
}
|
|
176
177
|
//#endregion
|
|
177
178
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
178
|
-
function
|
|
179
|
+
function vt(e) {
|
|
179
180
|
if (typeof e == "boolean") return Number(e);
|
|
180
181
|
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
181
182
|
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
182
183
|
}
|
|
183
184
|
//#endregion
|
|
184
185
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
185
|
-
function
|
|
186
|
-
|
|
186
|
+
function yt(e) {
|
|
187
|
+
j.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
187
188
|
}
|
|
188
|
-
function
|
|
189
|
+
function bt(e, t) {
|
|
189
190
|
if (!(t != null && t.length)) return !1;
|
|
190
191
|
for (let n of t) {
|
|
191
|
-
if (
|
|
192
|
-
if (e.description &&
|
|
192
|
+
if (Ct(n)) {
|
|
193
|
+
if (e.description && T(e.description, n)) return O && yt(e), !0;
|
|
193
194
|
continue;
|
|
194
195
|
}
|
|
195
196
|
let t = !!n.attributes && Object.keys(n.attributes).length > 0;
|
|
196
197
|
if (!n.name && !n.op && !t) continue;
|
|
197
|
-
let r = n.name ? e.description &&
|
|
198
|
+
let r = n.name ? e.description && T(e.description, n.name) : !0, i = n.op ? e.op && T(e.op, n.op) : !0, a = n.attributes ? Object.entries(n.attributes).every(([t, n]) => {
|
|
198
199
|
var r;
|
|
199
|
-
return
|
|
200
|
+
return xt((r = e.attributes) == null ? void 0 : r[t], n);
|
|
200
201
|
}) : !0;
|
|
201
|
-
if (r && i && a) return
|
|
202
|
+
if (r && i && a) return O && yt(e), !0;
|
|
202
203
|
}
|
|
203
204
|
return !1;
|
|
204
205
|
}
|
|
205
|
-
function
|
|
206
|
-
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ?
|
|
206
|
+
function xt(e, t) {
|
|
207
|
+
return typeof e == "string" && (typeof t == "string" || t instanceof RegExp) ? T(e, t) : Array.isArray(e) && Array.isArray(t) ? e.length === t.length && e.every((e, n) => e === t[n]) : e === t;
|
|
207
208
|
}
|
|
208
|
-
function
|
|
209
|
+
function St(e, t) {
|
|
209
210
|
let n = t.parent_span_id, r = t.span_id;
|
|
210
211
|
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
211
212
|
}
|
|
212
|
-
function
|
|
213
|
+
function Ct(e) {
|
|
213
214
|
return typeof e == "string" || e instanceof RegExp;
|
|
214
215
|
}
|
|
215
216
|
//#endregion
|
|
216
217
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/tracing/spans/beforeSendSpan.js
|
|
217
|
-
function
|
|
218
|
+
function wt(e) {
|
|
218
219
|
return !!e && typeof e == "function" && "_streamed" in e && !!e._streamed;
|
|
219
220
|
}
|
|
220
221
|
//#endregion
|
|
221
222
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
222
|
-
function
|
|
223
|
+
function U(e, t = []) {
|
|
223
224
|
return [e, t];
|
|
224
225
|
}
|
|
225
|
-
function
|
|
226
|
+
function Tt(e, t) {
|
|
226
227
|
let [n, r] = e;
|
|
227
228
|
return [n, [...r, t]];
|
|
228
229
|
}
|
|
229
|
-
function
|
|
230
|
+
function Et(e, t) {
|
|
230
231
|
let n = e[1];
|
|
231
232
|
for (let e of n) {
|
|
232
233
|
let n = e[0].type;
|
|
@@ -234,17 +235,17 @@ function Ot(e, t) {
|
|
|
234
235
|
}
|
|
235
236
|
return !1;
|
|
236
237
|
}
|
|
237
|
-
function
|
|
238
|
-
return
|
|
238
|
+
function Dt(e, t) {
|
|
239
|
+
return Et(e, (e, n) => t.includes(n));
|
|
239
240
|
}
|
|
240
|
-
function
|
|
241
|
-
let t = _e(
|
|
241
|
+
function Ot(e) {
|
|
242
|
+
let t = _e(I);
|
|
242
243
|
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
243
244
|
}
|
|
244
|
-
function
|
|
245
|
+
function kt(e) {
|
|
245
246
|
let [t, n] = e, r = JSON.stringify(t);
|
|
246
247
|
function i(e) {
|
|
247
|
-
typeof r == "string" ? r = typeof e == "string" ? r + e : [
|
|
248
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Ot(r), e] : r.push(typeof e == "string" ? Ot(e) : e);
|
|
248
249
|
}
|
|
249
250
|
for (let e of n) {
|
|
250
251
|
let [t, n] = e;
|
|
@@ -259,15 +260,15 @@ function jt(e) {
|
|
|
259
260
|
i(e);
|
|
260
261
|
}
|
|
261
262
|
}
|
|
262
|
-
return typeof r == "string" ? r :
|
|
263
|
+
return typeof r == "string" ? r : At(r);
|
|
263
264
|
}
|
|
264
|
-
function
|
|
265
|
+
function At(e) {
|
|
265
266
|
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
266
267
|
for (let t of e) n.set(t, r), r += t.length;
|
|
267
268
|
return n;
|
|
268
269
|
}
|
|
269
|
-
function
|
|
270
|
-
let t = typeof e.data == "string" ?
|
|
270
|
+
function jt(e) {
|
|
271
|
+
let t = typeof e.data == "string" ? Ot(e.data) : e.data;
|
|
271
272
|
return [{
|
|
272
273
|
type: "attachment",
|
|
273
274
|
length: t.length,
|
|
@@ -276,7 +277,7 @@ function Nt(e) {
|
|
|
276
277
|
attachment_type: e.attachmentType
|
|
277
278
|
}, t];
|
|
278
279
|
}
|
|
279
|
-
var
|
|
280
|
+
var Mt = {
|
|
280
281
|
sessions: "session",
|
|
281
282
|
event: "error",
|
|
282
283
|
client_report: "internal",
|
|
@@ -289,13 +290,13 @@ var Pt = {
|
|
|
289
290
|
log: "log_item",
|
|
290
291
|
trace_metric: "metric"
|
|
291
292
|
};
|
|
292
|
-
function
|
|
293
|
-
return e in
|
|
293
|
+
function Nt(e) {
|
|
294
|
+
return e in Mt;
|
|
294
295
|
}
|
|
295
|
-
function
|
|
296
|
-
return
|
|
296
|
+
function Pt(e) {
|
|
297
|
+
return Nt(e) ? Mt[e] : e;
|
|
297
298
|
}
|
|
298
|
-
function
|
|
299
|
+
function Ft(e) {
|
|
299
300
|
if (!(e != null && e.sdk)) return;
|
|
300
301
|
let { name: t, version: n } = e.sdk;
|
|
301
302
|
return {
|
|
@@ -303,20 +304,20 @@ function Lt(e) {
|
|
|
303
304
|
version: n
|
|
304
305
|
};
|
|
305
306
|
}
|
|
306
|
-
function
|
|
307
|
+
function It(e, t, n, r) {
|
|
307
308
|
var i;
|
|
308
309
|
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
309
310
|
return {
|
|
310
311
|
event_id: e.event_id,
|
|
311
312
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
312
313
|
...t && { sdk: t },
|
|
313
|
-
...!!n && r && { dsn:
|
|
314
|
+
...!!n && r && { dsn: P(r) },
|
|
314
315
|
...a && { trace: a }
|
|
315
316
|
};
|
|
316
317
|
}
|
|
317
318
|
//#endregion
|
|
318
319
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
319
|
-
function
|
|
320
|
+
function Lt(e, t) {
|
|
320
321
|
var n, r, i, a;
|
|
321
322
|
if (!t) return e;
|
|
322
323
|
let o = e.sdk || {};
|
|
@@ -332,47 +333,47 @@ function zt(e, t) {
|
|
|
332
333
|
} : void 0
|
|
333
334
|
}, e;
|
|
334
335
|
}
|
|
335
|
-
function
|
|
336
|
-
let i =
|
|
337
|
-
return
|
|
336
|
+
function Rt(e, t, n, r) {
|
|
337
|
+
let i = Ft(n);
|
|
338
|
+
return U({
|
|
338
339
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
339
340
|
...i && { sdk: i },
|
|
340
|
-
...!!r && t && { dsn:
|
|
341
|
+
...!!r && t && { dsn: P(t) }
|
|
341
342
|
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
342
343
|
}
|
|
343
|
-
function
|
|
344
|
-
let i =
|
|
345
|
-
|
|
346
|
-
let o =
|
|
347
|
-
return delete e.sdkProcessingMetadata,
|
|
344
|
+
function zt(e, t, n, r) {
|
|
345
|
+
let i = Ft(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
346
|
+
Lt(e, n == null ? void 0 : n.sdk);
|
|
347
|
+
let o = It(e, i, r, t);
|
|
348
|
+
return delete e.sdkProcessingMetadata, U(o, [[{ type: a }, e]]);
|
|
348
349
|
}
|
|
349
350
|
//#endregion
|
|
350
351
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/tracing/spans/captureSpan.js
|
|
351
|
-
function
|
|
352
|
+
function Bt(e, t) {
|
|
352
353
|
var n;
|
|
353
354
|
let r = (n = e.attributes) == null ? e.attributes = {} : n;
|
|
354
355
|
Object.entries(t).forEach(([e, t]) => {
|
|
355
356
|
t != null && !(e in r) && (r[e] = t);
|
|
356
357
|
});
|
|
357
358
|
}
|
|
358
|
-
function
|
|
359
|
+
function Vt(e) {
|
|
359
360
|
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
360
361
|
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
361
362
|
}
|
|
362
|
-
function
|
|
363
|
-
return `${
|
|
363
|
+
function Ht(e) {
|
|
364
|
+
return `${Vt(e)}${e.projectId}/envelope/`;
|
|
364
365
|
}
|
|
365
|
-
function
|
|
366
|
+
function Ut(e, t) {
|
|
366
367
|
let n = { sentry_version: "7" };
|
|
367
368
|
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
368
369
|
}
|
|
369
|
-
function
|
|
370
|
-
return t || `${
|
|
370
|
+
function Wt(e, t, n) {
|
|
371
|
+
return t || `${Ht(e)}?${Ut(e, n)}`;
|
|
371
372
|
}
|
|
372
|
-
function
|
|
373
|
-
let n =
|
|
373
|
+
function Gt(e, t) {
|
|
374
|
+
let n = Ze(e);
|
|
374
375
|
if (!n) return "";
|
|
375
|
-
let r = `${
|
|
376
|
+
let r = `${Vt(n)}embed/error-page/`, i = `dsn=${P(n)}`;
|
|
376
377
|
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
377
378
|
let e = t.user;
|
|
378
379
|
if (!e) continue;
|
|
@@ -382,15 +383,15 @@ function qt(e, t) {
|
|
|
382
383
|
}
|
|
383
384
|
//#endregion
|
|
384
385
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integration.js
|
|
385
|
-
var
|
|
386
|
-
function
|
|
386
|
+
var Kt = [];
|
|
387
|
+
function qt(e) {
|
|
387
388
|
let t = {};
|
|
388
389
|
return e.forEach((e) => {
|
|
389
390
|
let { name: n } = e, r = t[n];
|
|
390
391
|
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
391
392
|
}), Object.values(t);
|
|
392
393
|
}
|
|
393
|
-
function
|
|
394
|
+
function Jt(e) {
|
|
394
395
|
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
395
396
|
t.forEach((e) => {
|
|
396
397
|
e.isDefaultInstance = !0;
|
|
@@ -401,25 +402,25 @@ function Xt(e) {
|
|
|
401
402
|
let e = n(t);
|
|
402
403
|
r = Array.isArray(e) ? e : [e];
|
|
403
404
|
} else r = t;
|
|
404
|
-
return
|
|
405
|
+
return qt(r);
|
|
405
406
|
}
|
|
406
|
-
function
|
|
407
|
+
function Yt(e, t) {
|
|
407
408
|
let n = {};
|
|
408
409
|
return t.forEach((t) => {
|
|
409
410
|
t != null && t.beforeSetup && t.beforeSetup(e);
|
|
410
411
|
}), t.forEach((t) => {
|
|
411
|
-
t &&
|
|
412
|
+
t && Zt(e, t, n);
|
|
412
413
|
}), n;
|
|
413
414
|
}
|
|
414
|
-
function
|
|
415
|
+
function Xt(e, t) {
|
|
415
416
|
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
416
417
|
}
|
|
417
|
-
function
|
|
418
|
+
function Zt(e, t, n) {
|
|
418
419
|
if (n[t.name]) {
|
|
419
|
-
|
|
420
|
+
O && j.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
420
421
|
return;
|
|
421
422
|
}
|
|
422
|
-
if (n[t.name] = t, !
|
|
423
|
+
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") {
|
|
423
424
|
let n = t.preprocessEvent.bind(t);
|
|
424
425
|
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
425
426
|
}
|
|
@@ -430,82 +431,82 @@ function $t(e, t, n) {
|
|
|
430
431
|
["processSpan", "processSegmentSpan"].forEach((n) => {
|
|
431
432
|
let r = t[n];
|
|
432
433
|
typeof r == "function" && e.on(n, (n) => r.call(t, n, e));
|
|
433
|
-
}),
|
|
434
|
+
}), O && j.log(`Integration installed: ${t.name}`);
|
|
434
435
|
}
|
|
435
|
-
function
|
|
436
|
+
function W(e) {
|
|
436
437
|
return e;
|
|
437
438
|
}
|
|
438
439
|
//#endregion
|
|
439
440
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
440
|
-
function
|
|
441
|
+
function Qt(e) {
|
|
441
442
|
return [{
|
|
442
443
|
type: "log",
|
|
443
444
|
item_count: e.length,
|
|
444
445
|
content_type: "application/vnd.sentry.items.log+json"
|
|
445
446
|
}, { items: e }];
|
|
446
447
|
}
|
|
447
|
-
function
|
|
448
|
+
function $t(e, t, n, r) {
|
|
448
449
|
let i = {};
|
|
449
450
|
return t != null && t.sdk && (i.sdk = {
|
|
450
451
|
name: t.sdk.name,
|
|
451
452
|
version: t.sdk.version
|
|
452
|
-
}), n && r && (i.dsn =
|
|
453
|
+
}), n && r && (i.dsn = P(r)), U(i, [Qt(e)]);
|
|
453
454
|
}
|
|
454
455
|
//#endregion
|
|
455
456
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
456
|
-
function
|
|
457
|
+
function en(e, t) {
|
|
457
458
|
var n;
|
|
458
|
-
let r = (n = t == null ?
|
|
459
|
+
let r = (n = t == null ? tn(e) : t) == null ? [] : n;
|
|
459
460
|
if (r.length === 0) return;
|
|
460
|
-
let i = e.getOptions(), a =
|
|
461
|
-
|
|
461
|
+
let i = e.getOptions(), a = $t(r, i._metadata, i.tunnel, e.getDsn());
|
|
462
|
+
nn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
462
463
|
}
|
|
463
|
-
function
|
|
464
|
-
return
|
|
464
|
+
function tn(e) {
|
|
465
|
+
return nn().get(e);
|
|
465
466
|
}
|
|
466
|
-
function
|
|
467
|
+
function nn() {
|
|
467
468
|
return ke("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
468
469
|
}
|
|
469
470
|
//#endregion
|
|
470
471
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
471
|
-
function
|
|
472
|
+
function rn(e) {
|
|
472
473
|
return [{
|
|
473
474
|
type: "trace_metric",
|
|
474
475
|
item_count: e.length,
|
|
475
476
|
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
476
477
|
}, { items: e }];
|
|
477
478
|
}
|
|
478
|
-
function
|
|
479
|
+
function an(e, t, n, r) {
|
|
479
480
|
let i = {};
|
|
480
481
|
return t != null && t.sdk && (i.sdk = {
|
|
481
482
|
name: t.sdk.name,
|
|
482
483
|
version: t.sdk.version
|
|
483
|
-
}), n && r && (i.dsn =
|
|
484
|
+
}), n && r && (i.dsn = P(r)), U(i, [rn(e)]);
|
|
484
485
|
}
|
|
485
486
|
//#endregion
|
|
486
487
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
487
|
-
function
|
|
488
|
+
function on(e, t) {
|
|
488
489
|
var n;
|
|
489
|
-
let r = (n = t == null ?
|
|
490
|
+
let r = (n = t == null ? sn(e) : t) == null ? [] : n;
|
|
490
491
|
if (r.length === 0) return;
|
|
491
|
-
let i = e.getOptions(), a =
|
|
492
|
-
|
|
492
|
+
let i = e.getOptions(), a = an(r, i._metadata, i.tunnel, e.getDsn());
|
|
493
|
+
cn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
493
494
|
}
|
|
494
|
-
function
|
|
495
|
-
return
|
|
495
|
+
function sn(e) {
|
|
496
|
+
return cn().get(e);
|
|
496
497
|
}
|
|
497
|
-
function
|
|
498
|
+
function cn() {
|
|
498
499
|
return ke("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
499
500
|
}
|
|
500
501
|
//#endregion
|
|
501
502
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
502
|
-
function
|
|
503
|
+
function ln(e) {
|
|
503
504
|
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
504
505
|
}
|
|
505
506
|
//#endregion
|
|
506
507
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
507
|
-
var
|
|
508
|
-
function
|
|
508
|
+
var un = Symbol.for("SentryBufferFullError");
|
|
509
|
+
function dn(e = 100) {
|
|
509
510
|
let t = /* @__PURE__ */ new Set();
|
|
510
511
|
function n() {
|
|
511
512
|
return t.size < e;
|
|
@@ -514,7 +515,7 @@ function pn(e = 100) {
|
|
|
514
515
|
t.delete(e);
|
|
515
516
|
}
|
|
516
517
|
function i(e) {
|
|
517
|
-
if (!n()) return Je(
|
|
518
|
+
if (!n()) return Je(un);
|
|
518
519
|
let i = e();
|
|
519
520
|
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
520
521
|
}
|
|
@@ -522,7 +523,7 @@ function pn(e = 100) {
|
|
|
522
523
|
if (!t.size) return Ce(!0);
|
|
523
524
|
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
524
525
|
if (!e) return n;
|
|
525
|
-
let r = [n, new Promise((t) =>
|
|
526
|
+
let r = [n, new Promise((t) => ln(setTimeout(() => t(!1), e)))];
|
|
526
527
|
return Promise.race(r);
|
|
527
528
|
}
|
|
528
529
|
return {
|
|
@@ -535,50 +536,50 @@ function pn(e = 100) {
|
|
|
535
536
|
}
|
|
536
537
|
//#endregion
|
|
537
538
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
538
|
-
var
|
|
539
|
-
function
|
|
539
|
+
var fn = 60 * 1e3;
|
|
540
|
+
function pn(e, t = h()) {
|
|
540
541
|
let n = parseInt(`${e}`, 10);
|
|
541
542
|
if (!isNaN(n)) return n * 1e3;
|
|
542
543
|
let r = Date.parse(`${e}`);
|
|
543
|
-
return isNaN(r) ?
|
|
544
|
+
return isNaN(r) ? fn : r - t;
|
|
544
545
|
}
|
|
545
|
-
function
|
|
546
|
+
function mn(e, t) {
|
|
546
547
|
return e[t] || e.all || 0;
|
|
547
548
|
}
|
|
548
|
-
function
|
|
549
|
-
return
|
|
549
|
+
function hn(e, t, n = h()) {
|
|
550
|
+
return mn(e, t) > n;
|
|
550
551
|
}
|
|
551
|
-
function
|
|
552
|
+
function gn(e, { statusCode: t, headers: n }, r = h()) {
|
|
552
553
|
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
553
554
|
if (a) for (let e of a.trim().split(",")) {
|
|
554
555
|
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
555
556
|
if (!n) i.all = r + s;
|
|
556
557
|
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
557
558
|
}
|
|
558
|
-
else o ? i.all = r +
|
|
559
|
+
else o ? i.all = r + pn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
559
560
|
return i;
|
|
560
561
|
}
|
|
561
|
-
function
|
|
562
|
+
function _n(e, t, n = dn(e.bufferSize || 64)) {
|
|
562
563
|
let r = {}, i = (e) => n.drain(e);
|
|
563
564
|
function a(i) {
|
|
564
565
|
let a = [];
|
|
565
|
-
if (
|
|
566
|
-
let i =
|
|
567
|
-
|
|
566
|
+
if (Et(i, (t, n) => {
|
|
567
|
+
let i = Pt(n);
|
|
568
|
+
hn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
568
569
|
}), a.length === 0) return Promise.resolve({});
|
|
569
|
-
let o =
|
|
570
|
-
if (
|
|
571
|
-
|
|
570
|
+
let o = U(i[0], a), s = (t) => {
|
|
571
|
+
if (Dt(o, ["client_report"])) {
|
|
572
|
+
O && j.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
572
573
|
return;
|
|
573
574
|
}
|
|
574
|
-
|
|
575
|
-
e.recordDroppedEvent(t,
|
|
575
|
+
Et(o, (n, r) => {
|
|
576
|
+
e.recordDroppedEvent(t, Pt(r));
|
|
576
577
|
});
|
|
577
578
|
};
|
|
578
|
-
return n.add(() => t({ body:
|
|
579
|
-
throw s("network_error"),
|
|
579
|
+
return n.add(() => t({ body: kt(o) }).then((e) => e.statusCode === 413 ? (O && j.error("Sentry responded with status code 413. Envelope was discarded due to exceeding size limits."), s("send_error"), e) : (O && e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && j.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = gn(r, e), e), (e) => {
|
|
580
|
+
throw s("network_error"), O && j.error("Encountered error running transport request:", e), e;
|
|
580
581
|
})).then((e) => e, (e) => {
|
|
581
|
-
if (e ===
|
|
582
|
+
if (e === un) return O && j.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
582
583
|
throw e;
|
|
583
584
|
});
|
|
584
585
|
}
|
|
@@ -589,16 +590,16 @@ function yn(e, t, n = pn(e.bufferSize || 64)) {
|
|
|
589
590
|
}
|
|
590
591
|
//#endregion
|
|
591
592
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
592
|
-
function
|
|
593
|
+
function vn(e, t, n) {
|
|
593
594
|
let r = [{ type: "client_report" }, {
|
|
594
595
|
timestamp: n || m(),
|
|
595
596
|
discarded_events: e
|
|
596
597
|
}];
|
|
597
|
-
return
|
|
598
|
+
return U(t ? { dsn: t } : {}, [r]);
|
|
598
599
|
}
|
|
599
600
|
//#endregion
|
|
600
601
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
601
|
-
function
|
|
602
|
+
function yn(e) {
|
|
602
603
|
let t = [];
|
|
603
604
|
e.message && t.push(e.message);
|
|
604
605
|
try {
|
|
@@ -609,7 +610,7 @@ function xn(e) {
|
|
|
609
610
|
}
|
|
610
611
|
//#endregion
|
|
611
612
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
612
|
-
function
|
|
613
|
+
function bn(e) {
|
|
613
614
|
var t, n, r;
|
|
614
615
|
let { trace_id: i, parent_span_id: a, span_id: o, status: s, origin: c, data: l, op: u } = (t = (n = e.contexts) == null ? void 0 : n.trace) == null ? {} : t;
|
|
615
616
|
return {
|
|
@@ -624,12 +625,12 @@ function Sn(e) {
|
|
|
624
625
|
trace_id: i == null ? "" : i,
|
|
625
626
|
origin: c,
|
|
626
627
|
profile_id: l == null ? void 0 : l[le],
|
|
627
|
-
exclusive_time: l == null ? void 0 : l[
|
|
628
|
+
exclusive_time: l == null ? void 0 : l[Xe],
|
|
628
629
|
measurements: e.measurements,
|
|
629
630
|
is_segment: !0
|
|
630
631
|
};
|
|
631
632
|
}
|
|
632
|
-
function
|
|
633
|
+
function xn(e) {
|
|
633
634
|
return {
|
|
634
635
|
type: "transaction",
|
|
635
636
|
timestamp: e.timestamp,
|
|
@@ -653,42 +654,42 @@ function Cn(e) {
|
|
|
653
654
|
}
|
|
654
655
|
//#endregion
|
|
655
656
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/client.js
|
|
656
|
-
var
|
|
657
|
-
function
|
|
657
|
+
var Sn = "Not capturing exception because it's already been captured.", Cn = "Discarded session because of missing or non-string release", wn = Symbol.for("SentryInternalError"), Tn = Symbol.for("SentryDoNotSendEventError"), En = 5e3;
|
|
658
|
+
function Dn(e) {
|
|
658
659
|
return {
|
|
659
660
|
message: e,
|
|
660
|
-
[
|
|
661
|
+
[wn]: !0
|
|
661
662
|
};
|
|
662
663
|
}
|
|
663
|
-
function
|
|
664
|
+
function On(e) {
|
|
664
665
|
return {
|
|
665
666
|
message: e,
|
|
666
|
-
[
|
|
667
|
+
[Tn]: !0
|
|
667
668
|
};
|
|
668
669
|
}
|
|
669
|
-
function
|
|
670
|
-
return !!e && typeof e == "object" &&
|
|
670
|
+
function kn(e) {
|
|
671
|
+
return !!e && typeof e == "object" && wn in e;
|
|
671
672
|
}
|
|
672
|
-
function
|
|
673
|
-
return !!e && typeof e == "object" &&
|
|
673
|
+
function An(e) {
|
|
674
|
+
return !!e && typeof e == "object" && Tn in e;
|
|
674
675
|
}
|
|
675
|
-
function
|
|
676
|
+
function jn(e, t, n, r, i) {
|
|
676
677
|
let a = 0, o, s = !1;
|
|
677
678
|
e.on(n, () => {
|
|
678
679
|
a = 0, clearTimeout(o), s = !1;
|
|
679
680
|
}), e.on(t, (t) => {
|
|
680
|
-
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o =
|
|
681
|
+
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o = ln(setTimeout(() => {
|
|
681
682
|
i(e);
|
|
682
|
-
},
|
|
683
|
+
}, En)));
|
|
683
684
|
}), e.on("flush", () => {
|
|
684
685
|
i(e);
|
|
685
686
|
});
|
|
686
687
|
}
|
|
687
|
-
var
|
|
688
|
+
var Mn = class {
|
|
688
689
|
constructor(e) {
|
|
689
690
|
var t, n, r, i, a, o, s;
|
|
690
|
-
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer =
|
|
691
|
-
let t =
|
|
691
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = dn((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Ze(e.dsn) : O && j.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
692
|
+
let t = Wt(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
692
693
|
this._transport = e.transport({
|
|
693
694
|
tunnel: this._options.tunnel,
|
|
694
695
|
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
@@ -696,11 +697,11 @@ var Nn = class {
|
|
|
696
697
|
url: t
|
|
697
698
|
});
|
|
698
699
|
}
|
|
699
|
-
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs &&
|
|
700
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && jn(this, "afterCaptureLog", "flushLogs", zn, en), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && jn(this, "afterCaptureMetric", "flushMetrics", Rn, on);
|
|
700
701
|
}
|
|
701
702
|
captureException(e, t, n) {
|
|
702
703
|
let r = S();
|
|
703
|
-
if (oe(e)) return
|
|
704
|
+
if (oe(e)) return O && j.log(Sn), r;
|
|
704
705
|
let i = {
|
|
705
706
|
event_id: r,
|
|
706
707
|
...t
|
|
@@ -711,16 +712,16 @@ var Nn = class {
|
|
|
711
712
|
let i = {
|
|
712
713
|
event_id: S(),
|
|
713
714
|
...n
|
|
714
|
-
}, a = Le(e) ? e : String(e), o =
|
|
715
|
+
}, a = Le(e) ? e : String(e), o = k(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
715
716
|
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
716
717
|
}
|
|
717
718
|
captureEvent(e, t, n) {
|
|
718
719
|
let r = S();
|
|
719
|
-
if (t != null && t.originalException && oe(t.originalException)) return
|
|
720
|
+
if (t != null && t.originalException && oe(t.originalException)) return O && j.log(Sn), r;
|
|
720
721
|
let i = {
|
|
721
722
|
event_id: r,
|
|
722
723
|
...t
|
|
723
|
-
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c =
|
|
724
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = Nn(e.type);
|
|
724
725
|
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
725
726
|
}
|
|
726
727
|
captureSession(e) {
|
|
@@ -746,7 +747,7 @@ var Nn = class {
|
|
|
746
747
|
return n && r;
|
|
747
748
|
}
|
|
748
749
|
async close(e) {
|
|
749
|
-
|
|
750
|
+
en(this);
|
|
750
751
|
let t = await this.flush(e);
|
|
751
752
|
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
752
753
|
}
|
|
@@ -764,12 +765,12 @@ var Nn = class {
|
|
|
764
765
|
}
|
|
765
766
|
addIntegration(e) {
|
|
766
767
|
let t = this._integrations[e.name];
|
|
767
|
-
!t && e.beforeSetup && e.beforeSetup(this),
|
|
768
|
+
!t && e.beforeSetup && e.beforeSetup(this), Zt(this, e, this._integrations), t || Xt(this, [e]);
|
|
768
769
|
}
|
|
769
770
|
sendEvent(e, t = {}) {
|
|
770
771
|
this.emit("beforeSendEvent", e, t);
|
|
771
|
-
let n =
|
|
772
|
-
for (let e of t.attachments || []) n =
|
|
772
|
+
let n = zt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
773
|
+
for (let e of t.attachments || []) n = Tt(n, jt(e));
|
|
773
774
|
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
774
775
|
}
|
|
775
776
|
sendSession(e) {
|
|
@@ -777,25 +778,25 @@ var Nn = class {
|
|
|
777
778
|
if ("aggregates" in e) {
|
|
778
779
|
let r = e.attrs || {};
|
|
779
780
|
if (!r.release && !t) {
|
|
780
|
-
|
|
781
|
+
O && j.warn(Cn);
|
|
781
782
|
return;
|
|
782
783
|
}
|
|
783
784
|
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
784
785
|
} else {
|
|
785
786
|
if (!e.release && !t) {
|
|
786
|
-
|
|
787
|
+
O && j.warn(Cn);
|
|
787
788
|
return;
|
|
788
789
|
}
|
|
789
790
|
e.release = e.release || t, e.environment = e.environment || n;
|
|
790
791
|
}
|
|
791
792
|
this.emit("beforeSendSession", e);
|
|
792
|
-
let r =
|
|
793
|
+
let r = Rt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
793
794
|
this.sendEnvelope(r);
|
|
794
795
|
}
|
|
795
796
|
recordDroppedEvent(e, t, n = 1) {
|
|
796
797
|
if (this._options.sendClientReports) {
|
|
797
798
|
let r = `${e}:${t}`;
|
|
798
|
-
|
|
799
|
+
O && j.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
799
800
|
}
|
|
800
801
|
}
|
|
801
802
|
on(e, t) {
|
|
@@ -812,15 +813,15 @@ var Nn = class {
|
|
|
812
813
|
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
813
814
|
return await this._transport.send(e);
|
|
814
815
|
} catch (e) {
|
|
815
|
-
return
|
|
816
|
+
return O && j.error("Error while sending envelope:", e), {};
|
|
816
817
|
}
|
|
817
|
-
return
|
|
818
|
+
return O && j.error("Transport disabled"), {};
|
|
818
819
|
}
|
|
819
820
|
registerCleanup(e) {}
|
|
820
821
|
dispose() {}
|
|
821
822
|
_setupIntegrations() {
|
|
822
823
|
let { integrations: e } = this._options;
|
|
823
|
-
this._integrations =
|
|
824
|
+
this._integrations = Yt(this, e), Xt(this, e);
|
|
824
825
|
}
|
|
825
826
|
_updateSessionFromEvent(e, t) {
|
|
826
827
|
var n;
|
|
@@ -868,26 +869,26 @@ var Nn = class {
|
|
|
868
869
|
}, e);
|
|
869
870
|
});
|
|
870
871
|
}
|
|
871
|
-
_captureEvent(e, t = {}, n =
|
|
872
|
-
return
|
|
873
|
-
|
|
872
|
+
_captureEvent(e, t = {}, n = F(), r = ue()) {
|
|
873
|
+
return O && In(e) && j.log(`Captured error event \`${yn(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
874
|
+
O && (An(e) ? j.log(e.message) : kn(e) ? j.warn(e.message) : j.warn(e));
|
|
874
875
|
});
|
|
875
876
|
}
|
|
876
877
|
_processEvent(e, t, n, r) {
|
|
877
|
-
let i = this.getOptions(), { sampleRate: a } = i, o =
|
|
878
|
-
if (s && typeof l == "number" && fe() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(
|
|
879
|
-
let u =
|
|
878
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Ln(e), s = In(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : vt(a);
|
|
879
|
+
if (s && typeof l == "number" && fe() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(On(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
880
|
+
let u = Nn(e.type);
|
|
880
881
|
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
881
882
|
var n;
|
|
882
|
-
if (e === null) throw this.recordDroppedEvent("event_processor", u),
|
|
883
|
-
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Fn(
|
|
883
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), On("An event processor returned `null`, will not send event.");
|
|
884
|
+
return ((n = t.data) == null ? void 0 : n.__sentry__) === !0 ? e : Pn(Fn(this, i, e, t), c);
|
|
884
885
|
}).then((i) => {
|
|
885
886
|
if (i === null) {
|
|
886
887
|
if (this.recordDroppedEvent("before_send", u), o) {
|
|
887
888
|
let t = 1 + (e.spans || []).length;
|
|
888
889
|
this.recordDroppedEvent("before_send", "span", t);
|
|
889
890
|
}
|
|
890
|
-
throw
|
|
891
|
+
throw On(`${c} returned \`null\`, will not send event.`);
|
|
891
892
|
}
|
|
892
893
|
let a = n.getSession() || r.getSession();
|
|
893
894
|
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
@@ -901,18 +902,18 @@ var Nn = class {
|
|
|
901
902
|
source: "custom"
|
|
902
903
|
}), this.sendEvent(i, t), i;
|
|
903
904
|
}).then(null, (e) => {
|
|
904
|
-
throw
|
|
905
|
+
throw An(e) || kn(e) ? e : (this.captureException(e, {
|
|
905
906
|
mechanism: {
|
|
906
907
|
handled: !1,
|
|
907
908
|
type: "internal"
|
|
908
909
|
},
|
|
909
910
|
data: { __sentry__: !0 },
|
|
910
911
|
originalException: e
|
|
911
|
-
}),
|
|
912
|
+
}), Dn(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
912
913
|
});
|
|
913
914
|
}
|
|
914
915
|
_process(e, t) {
|
|
915
|
-
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e ===
|
|
916
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === un && this.recordDroppedEvent("queue_overflow", t), e));
|
|
916
917
|
}
|
|
917
918
|
_clearOutcomes() {
|
|
918
919
|
let e = this._outcomes;
|
|
@@ -926,59 +927,59 @@ var Nn = class {
|
|
|
926
927
|
});
|
|
927
928
|
}
|
|
928
929
|
_flushOutcomes() {
|
|
929
|
-
|
|
930
|
+
O && j.log("Flushing outcomes...");
|
|
930
931
|
let e = this._clearOutcomes();
|
|
931
932
|
if (e.length === 0) {
|
|
932
|
-
|
|
933
|
+
O && j.log("No outcomes to send");
|
|
933
934
|
return;
|
|
934
935
|
}
|
|
935
936
|
if (!this._dsn) {
|
|
936
|
-
|
|
937
|
+
O && j.log("No dsn provided, will not send outcomes");
|
|
937
938
|
return;
|
|
938
939
|
}
|
|
939
|
-
|
|
940
|
-
let t =
|
|
940
|
+
O && j.log("Sending outcomes:", e);
|
|
941
|
+
let t = vn(e, this._options.tunnel && P(this._dsn));
|
|
941
942
|
this.sendEnvelope(t);
|
|
942
943
|
}
|
|
943
944
|
};
|
|
944
|
-
function
|
|
945
|
+
function Nn(e) {
|
|
945
946
|
return e === "replay_event" ? "replay" : e || "error";
|
|
946
947
|
}
|
|
947
|
-
function
|
|
948
|
+
function Pn(e, t) {
|
|
948
949
|
let n = `${t} must return \`null\` or a valid event.`;
|
|
949
950
|
if (Ge(e)) return e.then((e) => {
|
|
950
|
-
if (!Ue(e) && e !== null) throw
|
|
951
|
+
if (!Ue(e) && e !== null) throw Dn(n);
|
|
951
952
|
return e;
|
|
952
953
|
}, (e) => {
|
|
953
|
-
throw
|
|
954
|
+
throw Dn(`${t} rejected with ${e}`);
|
|
954
955
|
});
|
|
955
|
-
if (!Ue(e) && e !== null) throw
|
|
956
|
+
if (!Ue(e) && e !== null) throw Dn(n);
|
|
956
957
|
return e;
|
|
957
958
|
}
|
|
958
|
-
function
|
|
959
|
-
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !
|
|
960
|
-
if (
|
|
961
|
-
if (
|
|
959
|
+
function Fn(e, t, n, r) {
|
|
960
|
+
let { beforeSend: i, beforeSendTransaction: a, ignoreSpans: o } = t, s = !wt(t.beforeSendSpan) && t.beforeSendSpan, c = n;
|
|
961
|
+
if (In(c) && i) return i(c, r);
|
|
962
|
+
if (Ln(c)) {
|
|
962
963
|
if (s || o) {
|
|
963
|
-
let t =
|
|
964
|
-
if (o != null && o.length &&
|
|
964
|
+
let t = bn(c);
|
|
965
|
+
if (o != null && o.length && bt({
|
|
965
966
|
description: t.description,
|
|
966
967
|
op: t.op,
|
|
967
968
|
attributes: t.data
|
|
968
969
|
}, o)) return null;
|
|
969
970
|
if (s) {
|
|
970
971
|
let e = s(t);
|
|
971
|
-
e ? c = ae(n,
|
|
972
|
+
e ? c = ae(n, xn(e)) : Oe();
|
|
972
973
|
}
|
|
973
974
|
if (c.spans) {
|
|
974
975
|
let t = [], n = c.spans;
|
|
975
976
|
for (let e of n) {
|
|
976
|
-
if (o != null && o.length &&
|
|
977
|
+
if (o != null && o.length && bt({
|
|
977
978
|
description: e.description,
|
|
978
979
|
op: e.op,
|
|
979
980
|
attributes: e.data
|
|
980
981
|
}, o)) {
|
|
981
|
-
|
|
982
|
+
St(n, e);
|
|
982
983
|
continue;
|
|
983
984
|
}
|
|
984
985
|
if (s) {
|
|
@@ -1003,64 +1004,64 @@ function In(e, t, n, r) {
|
|
|
1003
1004
|
}
|
|
1004
1005
|
return c;
|
|
1005
1006
|
}
|
|
1006
|
-
function
|
|
1007
|
+
function In(e) {
|
|
1007
1008
|
return e.type === void 0;
|
|
1008
1009
|
}
|
|
1009
|
-
function
|
|
1010
|
+
function Ln(e) {
|
|
1010
1011
|
return e.type === "transaction";
|
|
1011
1012
|
}
|
|
1012
|
-
function
|
|
1013
|
+
function Rn(e) {
|
|
1013
1014
|
let t = 0;
|
|
1014
|
-
return e.name && (t += e.name.length * 2), t += 8, t +
|
|
1015
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Bn(e.attributes);
|
|
1015
1016
|
}
|
|
1016
|
-
function
|
|
1017
|
+
function zn(e) {
|
|
1017
1018
|
let t = 0;
|
|
1018
|
-
return e.message && (t += e.message.length * 2), t +
|
|
1019
|
+
return e.message && (t += e.message.length * 2), t + Bn(e.attributes);
|
|
1019
1020
|
}
|
|
1020
|
-
function
|
|
1021
|
+
function Bn(e) {
|
|
1021
1022
|
if (!e) return 0;
|
|
1022
1023
|
let t = 0;
|
|
1023
1024
|
return Object.values(e).forEach((e) => {
|
|
1024
|
-
Array.isArray(e) ? t += e.length *
|
|
1025
|
+
Array.isArray(e) ? t += e.length * Vn(e[0]) : k(e) ? t += Vn(e) : t += 100;
|
|
1025
1026
|
}), t;
|
|
1026
1027
|
}
|
|
1027
|
-
function
|
|
1028
|
+
function Vn(e) {
|
|
1028
1029
|
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
1029
1030
|
}
|
|
1030
1031
|
//#endregion
|
|
1031
1032
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
1032
|
-
function
|
|
1033
|
+
function Hn(e) {
|
|
1033
1034
|
return se(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
1034
1035
|
}
|
|
1035
|
-
function
|
|
1036
|
-
return
|
|
1036
|
+
function Un(e) {
|
|
1037
|
+
return Hn(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
1037
1038
|
}
|
|
1038
1039
|
//#endregion
|
|
1039
1040
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
1040
|
-
function
|
|
1041
|
-
t.debug === !0 && (
|
|
1041
|
+
function Wn(e, t) {
|
|
1042
|
+
t.debug === !0 && (O ? j.enable() : Be(() => {
|
|
1042
1043
|
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
1043
|
-
})),
|
|
1044
|
+
})), F().update(t.initialScope);
|
|
1044
1045
|
let n = new e(t);
|
|
1045
|
-
return
|
|
1046
|
+
return Gn(n), n.init(), n;
|
|
1046
1047
|
}
|
|
1047
|
-
function
|
|
1048
|
-
|
|
1048
|
+
function Gn(e) {
|
|
1049
|
+
F().setClient(e);
|
|
1049
1050
|
}
|
|
1050
|
-
var
|
|
1051
|
-
function
|
|
1051
|
+
var Kn = 5e3, qn = 36e5;
|
|
1052
|
+
function Jn(e) {
|
|
1052
1053
|
function t(...e) {
|
|
1053
|
-
|
|
1054
|
+
O && j.log("[Offline]:", ...e);
|
|
1054
1055
|
}
|
|
1055
1056
|
return (n) => {
|
|
1056
1057
|
let r = e(n);
|
|
1057
1058
|
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
1058
|
-
let i = n.createStore(n), a =
|
|
1059
|
+
let i = n.createStore(n), a = Kn, o;
|
|
1059
1060
|
function s(e, t, r) {
|
|
1060
|
-
return
|
|
1061
|
+
return Dt(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
1061
1062
|
}
|
|
1062
1063
|
function c(e) {
|
|
1063
|
-
o && clearTimeout(o), o =
|
|
1064
|
+
o && clearTimeout(o), o = ln(setTimeout(async () => {
|
|
1064
1065
|
o = void 0;
|
|
1065
1066
|
let e = await i.shift();
|
|
1066
1067
|
e && (t("Attempting to send previously queued event"), e[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), u(e, !0).catch((e) => {
|
|
@@ -1069,20 +1070,20 @@ function Yn(e) {
|
|
|
1069
1070
|
}, e));
|
|
1070
1071
|
}
|
|
1071
1072
|
function l() {
|
|
1072
|
-
o || (c(a), a = Math.min(a * 2,
|
|
1073
|
+
o || (c(a), a = Math.min(a * 2, qn));
|
|
1073
1074
|
}
|
|
1074
1075
|
async function u(e, o = !1) {
|
|
1075
|
-
if (!o &&
|
|
1076
|
+
if (!o && Dt(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
1076
1077
|
try {
|
|
1077
1078
|
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
1078
1079
|
let t = await r.send(e), i = 100;
|
|
1079
1080
|
if (t) {
|
|
1080
1081
|
var u, d;
|
|
1081
|
-
if ((u = t.headers) != null && u["retry-after"]) i =
|
|
1082
|
+
if ((u = t.headers) != null && u["retry-after"]) i = pn(t.headers["retry-after"]);
|
|
1082
1083
|
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
1083
1084
|
else if ((t.statusCode || 0) >= 400) return t;
|
|
1084
1085
|
}
|
|
1085
|
-
return c(i), a =
|
|
1086
|
+
return c(i), a = Kn, t;
|
|
1086
1087
|
} catch (n) {
|
|
1087
1088
|
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
1088
1089
|
throw n;
|
|
@@ -1090,13 +1091,13 @@ function Yn(e) {
|
|
|
1090
1091
|
}
|
|
1091
1092
|
return n.flushAtStartup && l(), {
|
|
1092
1093
|
send: u,
|
|
1093
|
-
flush: (e) => (e === void 0 && (a =
|
|
1094
|
+
flush: (e) => (e === void 0 && (a = Kn, c(100)), r.flush(e))
|
|
1094
1095
|
};
|
|
1095
1096
|
};
|
|
1096
1097
|
}
|
|
1097
1098
|
//#endregion
|
|
1098
1099
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1099
|
-
function
|
|
1100
|
+
function Yn(e) {
|
|
1100
1101
|
if (!e) return {};
|
|
1101
1102
|
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1102
1103
|
if (!t) return {};
|
|
@@ -1110,7 +1111,7 @@ function Xn(e) {
|
|
|
1110
1111
|
relative: t[5] + n + r
|
|
1111
1112
|
};
|
|
1112
1113
|
}
|
|
1113
|
-
function
|
|
1114
|
+
function Xn(e, t = !0) {
|
|
1114
1115
|
if (e.startsWith("data:")) {
|
|
1115
1116
|
let n = e.match(/^data:([^;,]+)/), r = n ? n[1] : "text/plain", i = e.includes(";base64,"), a = e.indexOf(","), o = "";
|
|
1116
1117
|
if (t && a !== -1) {
|
|
@@ -1123,7 +1124,7 @@ function Zn(e, t = !0) {
|
|
|
1123
1124
|
}
|
|
1124
1125
|
//#endregion
|
|
1125
1126
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1126
|
-
function
|
|
1127
|
+
function Zn(e) {
|
|
1127
1128
|
if ("aggregates" in e) {
|
|
1128
1129
|
var t;
|
|
1129
1130
|
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
@@ -1134,7 +1135,7 @@ function Qn(e) {
|
|
|
1134
1135
|
}
|
|
1135
1136
|
//#endregion
|
|
1136
1137
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1137
|
-
function
|
|
1138
|
+
function Qn(e, t, n = [t], r = "npm") {
|
|
1138
1139
|
let i = (e._metadata = e._metadata || {}).sdk = e._metadata.sdk || {};
|
|
1139
1140
|
i.name || (i.name = `sentry.javascript.${t}`, i.packages = n.map((e) => ({
|
|
1140
1141
|
name: `${r}:@sentry/${e}`,
|
|
@@ -1143,11 +1144,11 @@ function $n(e, t, n = [t], r = "npm") {
|
|
|
1143
1144
|
}
|
|
1144
1145
|
//#endregion
|
|
1145
1146
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1146
|
-
var
|
|
1147
|
-
function
|
|
1147
|
+
var $n = 100;
|
|
1148
|
+
function G(e, t) {
|
|
1148
1149
|
let n = g(), r = ue();
|
|
1149
1150
|
if (!n) return;
|
|
1150
|
-
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a =
|
|
1151
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = $n } = n.getOptions();
|
|
1151
1152
|
if (a <= 0) return;
|
|
1152
1153
|
let o = {
|
|
1153
1154
|
timestamp: m(),
|
|
@@ -1157,21 +1158,21 @@ function U(e, t) {
|
|
|
1157
1158
|
}
|
|
1158
1159
|
//#endregion
|
|
1159
1160
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1160
|
-
var
|
|
1161
|
-
name:
|
|
1161
|
+
var er, tr = "FunctionToString", nr = /* @__PURE__ */ new WeakMap(), rr = W((() => ({
|
|
1162
|
+
name: tr,
|
|
1162
1163
|
setupOnce() {
|
|
1163
|
-
|
|
1164
|
+
er = Function.prototype.toString;
|
|
1164
1165
|
try {
|
|
1165
1166
|
Function.prototype.toString = function(...e) {
|
|
1166
|
-
let t = b(this), n =
|
|
1167
|
-
return
|
|
1167
|
+
let t = b(this), n = nr.has(g()) && t !== void 0 ? t : this;
|
|
1168
|
+
return er.apply(n, e);
|
|
1168
1169
|
};
|
|
1169
1170
|
} catch {}
|
|
1170
1171
|
},
|
|
1171
1172
|
setup(e) {
|
|
1172
|
-
|
|
1173
|
+
nr.set(e, !0);
|
|
1173
1174
|
}
|
|
1174
|
-
}))),
|
|
1175
|
+
}))), ir = [
|
|
1175
1176
|
/^Script error\.?$/,
|
|
1176
1177
|
/^Javascript error: Script error\.? on line 0$/,
|
|
1177
1178
|
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
@@ -1183,77 +1184,77 @@ var tr, nr = "FunctionToString", rr = /* @__PURE__ */ new WeakMap(), ir = V((()
|
|
|
1183
1184
|
/Can't find variable: _AutofillCallbackHandler/,
|
|
1184
1185
|
/Object Not Found Matching Id:\d+, MethodName:simulateEvent/,
|
|
1185
1186
|
/^Java exception was raised during method invocation$/
|
|
1186
|
-
],
|
|
1187
|
+
], ar = "EventFilters", or = W((e = {}) => {
|
|
1187
1188
|
let t;
|
|
1188
1189
|
return {
|
|
1189
|
-
name:
|
|
1190
|
+
name: ar,
|
|
1190
1191
|
setup(n) {
|
|
1191
|
-
t =
|
|
1192
|
+
t = cr(e, n.getOptions());
|
|
1192
1193
|
},
|
|
1193
1194
|
processEvent(n, r, i) {
|
|
1194
|
-
return t || (t =
|
|
1195
|
+
return t || (t = cr(e, i.getOptions())), lr(n, t) ? null : n;
|
|
1195
1196
|
}
|
|
1196
1197
|
};
|
|
1197
|
-
}),
|
|
1198
|
-
...
|
|
1198
|
+
}), sr = W(((e = {}) => ({
|
|
1199
|
+
...or(e),
|
|
1199
1200
|
name: "InboundFilters"
|
|
1200
1201
|
})));
|
|
1201
|
-
function
|
|
1202
|
+
function cr(e = {}, t = {}) {
|
|
1202
1203
|
return {
|
|
1203
1204
|
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1204
1205
|
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1205
1206
|
ignoreErrors: [
|
|
1206
1207
|
...e.ignoreErrors || [],
|
|
1207
1208
|
...t.ignoreErrors || [],
|
|
1208
|
-
...e.disableErrorDefaults ? [] :
|
|
1209
|
+
...e.disableErrorDefaults ? [] : ir
|
|
1209
1210
|
],
|
|
1210
1211
|
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1211
1212
|
};
|
|
1212
1213
|
}
|
|
1213
|
-
function
|
|
1214
|
+
function lr(e, t) {
|
|
1214
1215
|
if (!e.type) {
|
|
1215
|
-
if (
|
|
1216
|
-
if (gr(e)) return
|
|
1217
|
-
if (
|
|
1218
|
-
if (!
|
|
1219
|
-
} else if (e.type === "transaction" &&
|
|
1216
|
+
if (ur(e, t.ignoreErrors)) return O && j.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${y(e)}`), !0;
|
|
1217
|
+
if (gr(e)) return O && j.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${y(e)}`), !0;
|
|
1218
|
+
if (fr(e, t.denyUrls)) return O && j.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${y(e)}.\nUrl: ${hr(e)}`), !0;
|
|
1219
|
+
if (!pr(e, t.allowUrls)) return O && j.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${y(e)}.\nUrl: ${hr(e)}`), !0;
|
|
1220
|
+
} else if (e.type === "transaction" && dr(e, t.ignoreTransactions)) return O && j.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${y(e)}`), !0;
|
|
1220
1221
|
return !1;
|
|
1221
1222
|
}
|
|
1222
|
-
function
|
|
1223
|
-
return t != null && t.length ?
|
|
1223
|
+
function ur(e, t) {
|
|
1224
|
+
return t != null && t.length ? yn(e).some((e) => L(e, t)) : !1;
|
|
1224
1225
|
}
|
|
1225
|
-
function
|
|
1226
|
+
function dr(e, t) {
|
|
1226
1227
|
if (!(t != null && t.length)) return !1;
|
|
1227
1228
|
let n = e.transaction;
|
|
1228
|
-
return n ?
|
|
1229
|
+
return n ? L(n, t) : !1;
|
|
1229
1230
|
}
|
|
1230
|
-
function
|
|
1231
|
+
function fr(e, t) {
|
|
1231
1232
|
if (!(t != null && t.length)) return !1;
|
|
1232
|
-
let n =
|
|
1233
|
-
return n ?
|
|
1233
|
+
let n = hr(e);
|
|
1234
|
+
return n ? L(n, t) : !1;
|
|
1234
1235
|
}
|
|
1235
|
-
function
|
|
1236
|
+
function pr(e, t) {
|
|
1236
1237
|
if (!(t != null && t.length)) return !0;
|
|
1237
|
-
let n =
|
|
1238
|
-
return n ?
|
|
1238
|
+
let n = hr(e);
|
|
1239
|
+
return n ? L(n, t) : !0;
|
|
1239
1240
|
}
|
|
1240
|
-
function
|
|
1241
|
+
function mr(e = []) {
|
|
1241
1242
|
for (let t = e.length - 1; t >= 0; t--) {
|
|
1242
1243
|
let n = e[t];
|
|
1243
1244
|
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1244
1245
|
}
|
|
1245
1246
|
return null;
|
|
1246
1247
|
}
|
|
1247
|
-
function
|
|
1248
|
+
function hr(e) {
|
|
1248
1249
|
try {
|
|
1249
1250
|
var t, n, r;
|
|
1250
1251
|
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1251
1252
|
var t, n;
|
|
1252
1253
|
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1253
1254
|
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1254
|
-
return a ?
|
|
1255
|
+
return a ? mr(a) : null;
|
|
1255
1256
|
} catch {
|
|
1256
|
-
return
|
|
1257
|
+
return O && j.error(`Cannot extract url for event ${y(e)}`), null;
|
|
1257
1258
|
}
|
|
1258
1259
|
}
|
|
1259
1260
|
function gr(e) {
|
|
@@ -1309,19 +1310,19 @@ function xr(e, t, n, r) {
|
|
|
1309
1310
|
//#endregion
|
|
1310
1311
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1311
1312
|
function Sr(e) {
|
|
1312
|
-
let t = "console", n =
|
|
1313
|
-
return
|
|
1313
|
+
let t = "console", n = B(t, e);
|
|
1314
|
+
return V(t, Cr), n;
|
|
1314
1315
|
}
|
|
1315
1316
|
function Cr() {
|
|
1316
|
-
"console" in
|
|
1317
|
-
e in
|
|
1317
|
+
"console" in I && De.forEach(function(e) {
|
|
1318
|
+
e in I.console && D(I.console, e, function(t) {
|
|
1318
1319
|
return je[e] = t, function(...t) {
|
|
1319
|
-
|
|
1320
|
+
H("console", {
|
|
1320
1321
|
args: t,
|
|
1321
1322
|
level: e
|
|
1322
1323
|
});
|
|
1323
1324
|
let n = je[e];
|
|
1324
|
-
n == null || n.apply(
|
|
1325
|
+
n == null || n.apply(I.console, t);
|
|
1325
1326
|
};
|
|
1326
1327
|
});
|
|
1327
1328
|
});
|
|
@@ -1340,14 +1341,14 @@ function wr(e) {
|
|
|
1340
1341
|
}
|
|
1341
1342
|
//#endregion
|
|
1342
1343
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1343
|
-
var Tr = "Dedupe", Er =
|
|
1344
|
+
var Tr = "Dedupe", Er = W((() => {
|
|
1344
1345
|
let e;
|
|
1345
1346
|
return {
|
|
1346
1347
|
name: Tr,
|
|
1347
1348
|
processEvent(t) {
|
|
1348
1349
|
if (t.type) return t;
|
|
1349
1350
|
try {
|
|
1350
|
-
if (Dr(t, e)) return
|
|
1351
|
+
if (Dr(t, e)) return O && j.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1351
1352
|
} catch {}
|
|
1352
1353
|
return e = t;
|
|
1353
1354
|
}
|
|
@@ -1391,11 +1392,11 @@ function Mr(e) {
|
|
|
1391
1392
|
}
|
|
1392
1393
|
//#endregion
|
|
1393
1394
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/integrations/conversationId.js
|
|
1394
|
-
var Nr = "ConversationId", Pr =
|
|
1395
|
+
var Nr = "ConversationId", Pr = W((() => ({
|
|
1395
1396
|
name: Nr,
|
|
1396
1397
|
setup(e) {
|
|
1397
1398
|
e.on("spanStart", (e) => {
|
|
1398
|
-
let t =
|
|
1399
|
+
let t = F().getScopeData(), n = ue().getScopeData(), r = t.conversationId || n.conversationId;
|
|
1399
1400
|
if (r) {
|
|
1400
1401
|
let { op: t, data: n, description: i } = ge(e);
|
|
1401
1402
|
if (!(t != null && t.startsWith("gen_ai.")) && !n["ai.operationId"] && !(i != null && i.startsWith("ai."))) return;
|
|
@@ -1419,12 +1420,12 @@ function Ir(e) {
|
|
|
1419
1420
|
}
|
|
1420
1421
|
//#endregion
|
|
1421
1422
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1422
|
-
var
|
|
1423
|
+
var K = I;
|
|
1423
1424
|
function Lr() {
|
|
1424
|
-
return "history" in
|
|
1425
|
+
return "history" in K && !!K.history;
|
|
1425
1426
|
}
|
|
1426
1427
|
function Rr() {
|
|
1427
|
-
if (!("fetch" in
|
|
1428
|
+
if (!("fetch" in K)) return !1;
|
|
1428
1429
|
try {
|
|
1429
1430
|
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1430
1431
|
} catch {
|
|
@@ -1437,45 +1438,45 @@ function zr(e) {
|
|
|
1437
1438
|
function Br() {
|
|
1438
1439
|
if (typeof EdgeRuntime == "string") return !0;
|
|
1439
1440
|
if (!Rr()) return !1;
|
|
1440
|
-
if (zr(
|
|
1441
|
-
let e = !1, t =
|
|
1441
|
+
if (zr(K.fetch)) return !0;
|
|
1442
|
+
let e = !1, t = K.document;
|
|
1442
1443
|
if (t && typeof t.createElement == "function") try {
|
|
1443
1444
|
var n;
|
|
1444
1445
|
let r = t.createElement("iframe");
|
|
1445
1446
|
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = zr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1446
1447
|
} catch (e) {
|
|
1447
|
-
|
|
1448
|
+
O && j.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1448
1449
|
}
|
|
1449
1450
|
return e;
|
|
1450
1451
|
}
|
|
1451
1452
|
//#endregion
|
|
1452
1453
|
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1453
1454
|
function Vr(e, t) {
|
|
1454
|
-
let n = "fetch", r =
|
|
1455
|
-
return
|
|
1455
|
+
let n = "fetch", r = B(n, e);
|
|
1456
|
+
return V(n, () => Hr(void 0, t)), r;
|
|
1456
1457
|
}
|
|
1457
1458
|
function Hr(e, t = !1) {
|
|
1458
|
-
t && !Br() ||
|
|
1459
|
+
t && !Br() || D(I, "fetch", function(t) {
|
|
1459
1460
|
return function(...n) {
|
|
1460
|
-
let r = /* @__PURE__ */ Error(), { method: i, url: a } =
|
|
1461
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Gr(n), o = {
|
|
1461
1462
|
args: n,
|
|
1462
1463
|
fetchData: {
|
|
1463
1464
|
method: i,
|
|
1464
1465
|
url: a
|
|
1465
1466
|
},
|
|
1466
|
-
startTimestamp:
|
|
1467
|
+
startTimestamp: A() * 1e3,
|
|
1467
1468
|
virtualError: r,
|
|
1468
|
-
headers:
|
|
1469
|
+
headers: Kr(n)
|
|
1469
1470
|
};
|
|
1470
|
-
return e ||
|
|
1471
|
+
return e || H("fetch", { ...o }), t.apply(I, n).then(async (t) => (e ? e(t) : H("fetch", {
|
|
1471
1472
|
...o,
|
|
1472
|
-
endTimestamp:
|
|
1473
|
+
endTimestamp: A() * 1e3,
|
|
1473
1474
|
response: t
|
|
1474
1475
|
}), t), (e) => {
|
|
1475
1476
|
var t;
|
|
1476
|
-
|
|
1477
|
+
H("fetch", {
|
|
1477
1478
|
...o,
|
|
1478
|
-
endTimestamp:
|
|
1479
|
+
endTimestamp: A() * 1e3,
|
|
1479
1480
|
error: e
|
|
1480
1481
|
}), se(e) && e.stack === void 0 && (e.stack = r.stack, x(e, "framesToPop", 1));
|
|
1481
1482
|
let n = g(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
@@ -1488,13 +1489,13 @@ function Hr(e, t = !1) {
|
|
|
1488
1489
|
};
|
|
1489
1490
|
});
|
|
1490
1491
|
}
|
|
1491
|
-
function
|
|
1492
|
+
function Ur(e, t) {
|
|
1492
1493
|
return !!e && typeof e == "object" && !!e[t];
|
|
1493
1494
|
}
|
|
1494
|
-
function Ur(e) {
|
|
1495
|
-
return typeof e == "string" ? e : e ? K(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1496
|
-
}
|
|
1497
1495
|
function Wr(e) {
|
|
1496
|
+
return typeof e == "string" ? e : e ? Ur(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1497
|
+
}
|
|
1498
|
+
function Gr(e) {
|
|
1498
1499
|
if (e.length === 0) return {
|
|
1499
1500
|
method: "GET",
|
|
1500
1501
|
url: ""
|
|
@@ -1502,17 +1503,17 @@ function Wr(e) {
|
|
|
1502
1503
|
if (e.length === 2) {
|
|
1503
1504
|
let [t, n] = e;
|
|
1504
1505
|
return {
|
|
1505
|
-
url:
|
|
1506
|
-
method:
|
|
1506
|
+
url: Wr(t),
|
|
1507
|
+
method: Ur(n, "method") ? String(n.method).toUpperCase() : ye(t) && Ur(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1507
1508
|
};
|
|
1508
1509
|
}
|
|
1509
1510
|
let t = e[0];
|
|
1510
1511
|
return {
|
|
1511
|
-
url:
|
|
1512
|
-
method:
|
|
1512
|
+
url: Wr(t),
|
|
1513
|
+
method: Ur(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1513
1514
|
};
|
|
1514
1515
|
}
|
|
1515
|
-
function
|
|
1516
|
+
function Kr(e) {
|
|
1516
1517
|
let [t, n] = e;
|
|
1517
1518
|
try {
|
|
1518
1519
|
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
@@ -1521,13 +1522,13 @@ function Gr(e) {
|
|
|
1521
1522
|
}
|
|
1522
1523
|
//#endregion
|
|
1523
1524
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1524
|
-
var q =
|
|
1525
|
-
function qr() {
|
|
1526
|
-
return Kr > 0;
|
|
1527
|
-
}
|
|
1525
|
+
var q = I, qr = 0;
|
|
1528
1526
|
function Jr() {
|
|
1529
|
-
|
|
1530
|
-
|
|
1527
|
+
return qr > 0;
|
|
1528
|
+
}
|
|
1529
|
+
function Yr() {
|
|
1530
|
+
qr++, setTimeout(() => {
|
|
1531
|
+
qr--;
|
|
1531
1532
|
});
|
|
1532
1533
|
}
|
|
1533
1534
|
function J(e, t = {}) {
|
|
@@ -1547,8 +1548,8 @@ function J(e, t = {}) {
|
|
|
1547
1548
|
let r = n.map((e) => J(e, t));
|
|
1548
1549
|
return e.apply(this, r);
|
|
1549
1550
|
} catch (e) {
|
|
1550
|
-
throw
|
|
1551
|
-
r.addEventProcessor((e) => (t.mechanism && (ie(e, void 0, void 0),
|
|
1551
|
+
throw Yr(), _((r) => {
|
|
1552
|
+
r.addEventProcessor((e) => (t.mechanism && (ie(e, void 0, void 0), E(e, t.mechanism)), e.extra = {
|
|
1552
1553
|
...e.extra,
|
|
1553
1554
|
arguments: n
|
|
1554
1555
|
}, e)), Ie(e);
|
|
@@ -1558,7 +1559,7 @@ function J(e, t = {}) {
|
|
|
1558
1559
|
try {
|
|
1559
1560
|
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1560
1561
|
} catch {}
|
|
1561
|
-
|
|
1562
|
+
w(r, e), x(e, "__sentry_wrapped__", r);
|
|
1562
1563
|
try {
|
|
1563
1564
|
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1564
1565
|
return e.name;
|
|
@@ -1566,8 +1567,8 @@ function J(e, t = {}) {
|
|
|
1566
1567
|
} catch {}
|
|
1567
1568
|
return r;
|
|
1568
1569
|
}
|
|
1569
|
-
function
|
|
1570
|
-
let e =
|
|
1570
|
+
function Xr() {
|
|
1571
|
+
let e = C(), { referrer: t } = q.document || {}, { userAgent: n } = q.navigator || {};
|
|
1571
1572
|
return {
|
|
1572
1573
|
url: e,
|
|
1573
1574
|
headers: {
|
|
@@ -1578,93 +1579,93 @@ function Yr() {
|
|
|
1578
1579
|
}
|
|
1579
1580
|
//#endregion
|
|
1580
1581
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1581
|
-
function
|
|
1582
|
-
let n =
|
|
1583
|
-
type:
|
|
1584
|
-
value:
|
|
1582
|
+
function Zr(e, t) {
|
|
1583
|
+
let n = ei(e, t), r = {
|
|
1584
|
+
type: ai(t),
|
|
1585
|
+
value: oi(t)
|
|
1585
1586
|
};
|
|
1586
1587
|
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1587
1588
|
}
|
|
1588
|
-
function
|
|
1589
|
-
let i = g(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o =
|
|
1589
|
+
function Qr(e, t, n, r) {
|
|
1590
|
+
let i = g(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = pi(t), s = { __serialized__: ze(t, a) };
|
|
1590
1591
|
if (o) return {
|
|
1591
|
-
exception: { values: [
|
|
1592
|
+
exception: { values: [Zr(e, o)] },
|
|
1592
1593
|
extra: s
|
|
1593
1594
|
};
|
|
1594
1595
|
let c = {
|
|
1595
1596
|
exception: { values: [{
|
|
1596
1597
|
type: Te(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1597
|
-
value:
|
|
1598
|
+
value: di(t, { isUnhandledRejection: r })
|
|
1598
1599
|
}] },
|
|
1599
1600
|
extra: s
|
|
1600
1601
|
};
|
|
1601
1602
|
if (n) {
|
|
1602
|
-
let t =
|
|
1603
|
+
let t = ei(e, n);
|
|
1603
1604
|
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1604
1605
|
}
|
|
1605
1606
|
return c;
|
|
1606
1607
|
}
|
|
1607
|
-
function Qr(e, t) {
|
|
1608
|
-
return { exception: { values: [Xr(e, t)] } };
|
|
1609
|
-
}
|
|
1610
1608
|
function $r(e, t) {
|
|
1611
|
-
|
|
1609
|
+
return { exception: { values: [Zr(e, t)] } };
|
|
1610
|
+
}
|
|
1611
|
+
function ei(e, t) {
|
|
1612
|
+
let n = t.stacktrace || t.stack || "", r = ni(t), i = ri(t);
|
|
1612
1613
|
try {
|
|
1613
1614
|
return e(n, r, i);
|
|
1614
1615
|
} catch {}
|
|
1615
1616
|
return [];
|
|
1616
1617
|
}
|
|
1617
|
-
var
|
|
1618
|
-
function ti(e) {
|
|
1619
|
-
return e && ei.test(e.message) ? 1 : 0;
|
|
1620
|
-
}
|
|
1618
|
+
var ti = /Minified React error #\d+;/i;
|
|
1621
1619
|
function ni(e) {
|
|
1622
|
-
return
|
|
1620
|
+
return e && ti.test(e.message) ? 1 : 0;
|
|
1623
1621
|
}
|
|
1624
1622
|
function ri(e) {
|
|
1625
|
-
return typeof
|
|
1623
|
+
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1626
1624
|
}
|
|
1627
1625
|
function ii(e) {
|
|
1628
|
-
|
|
1629
|
-
return !t && ri(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1626
|
+
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1630
1627
|
}
|
|
1631
1628
|
function ai(e) {
|
|
1629
|
+
let t = e == null ? void 0 : e.name;
|
|
1630
|
+
return !t && ii(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1631
|
+
}
|
|
1632
|
+
function oi(e) {
|
|
1632
1633
|
let t = e == null ? void 0 : e.message;
|
|
1633
|
-
return
|
|
1634
|
+
return ii(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Un(t.error) : Un(e) : "No error message";
|
|
1634
1635
|
}
|
|
1635
|
-
function
|
|
1636
|
-
let i =
|
|
1637
|
-
return
|
|
1636
|
+
function si(e, t, n, r) {
|
|
1637
|
+
let i = li(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1638
|
+
return E(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Ce(i);
|
|
1638
1639
|
}
|
|
1639
|
-
function
|
|
1640
|
-
let a =
|
|
1640
|
+
function ci(e, t, n = "info", r, i) {
|
|
1641
|
+
let a = ui(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1641
1642
|
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Ce(a);
|
|
1642
1643
|
}
|
|
1643
|
-
function
|
|
1644
|
+
function li(e, t, n, r, i) {
|
|
1644
1645
|
let a;
|
|
1645
|
-
if (p(t) && t.error) return
|
|
1646
|
+
if (p(t) && t.error) return $r(e, t.error);
|
|
1646
1647
|
if (pe(t) || he(t)) {
|
|
1647
1648
|
let i = t;
|
|
1648
|
-
if ("stack" in t) a =
|
|
1649
|
+
if ("stack" in t) a = $r(e, t);
|
|
1649
1650
|
else {
|
|
1650
1651
|
let t = i.name || (pe(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1651
|
-
a =
|
|
1652
|
+
a = ui(e, o, n, r), ie(a, o);
|
|
1652
1653
|
}
|
|
1653
1654
|
return "code" in i && (a.tags = {
|
|
1654
1655
|
...a.tags,
|
|
1655
1656
|
"DOMException.code": `${i.code}`
|
|
1656
1657
|
}), a;
|
|
1657
1658
|
}
|
|
1658
|
-
return se(t) ?
|
|
1659
|
+
return se(t) ? $r(e, t) : Ue(t) || Te(t) ? (a = Qr(e, t, n, i), E(a, { synthetic: !0 }), a) : (a = ui(e, t, n, r), ie(a, `${t}`, void 0), E(a, { synthetic: !0 }), a);
|
|
1659
1660
|
}
|
|
1660
|
-
function
|
|
1661
|
+
function ui(e, t, n, r) {
|
|
1661
1662
|
let i = {};
|
|
1662
1663
|
if (r && n) {
|
|
1663
|
-
let r =
|
|
1664
|
+
let r = ei(e, n);
|
|
1664
1665
|
r.length && (i.exception = { values: [{
|
|
1665
1666
|
value: t,
|
|
1666
1667
|
stacktrace: { frames: r }
|
|
1667
|
-
}] }),
|
|
1668
|
+
}] }), E(i, { synthetic: !0 });
|
|
1668
1669
|
}
|
|
1669
1670
|
if (Le(t)) {
|
|
1670
1671
|
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
@@ -1675,45 +1676,45 @@ function li(e, t, n, r) {
|
|
|
1675
1676
|
}
|
|
1676
1677
|
return i.message = t, i;
|
|
1677
1678
|
}
|
|
1678
|
-
function
|
|
1679
|
+
function di(e, { isUnhandledRejection: t }) {
|
|
1679
1680
|
let n = de(e), r = t ? "promise rejection" : "exception";
|
|
1680
|
-
return p(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Te(e) ? `Event \`${
|
|
1681
|
+
return p(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : Te(e) ? `Event \`${fi(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1681
1682
|
}
|
|
1682
|
-
function
|
|
1683
|
+
function fi(e) {
|
|
1683
1684
|
try {
|
|
1684
1685
|
let t = Object.getPrototypeOf(e);
|
|
1685
1686
|
return t ? t.constructor.name : void 0;
|
|
1686
1687
|
} catch {}
|
|
1687
1688
|
}
|
|
1688
|
-
function
|
|
1689
|
+
function pi(e) {
|
|
1689
1690
|
return Object.values(e).find((e) => e instanceof Error);
|
|
1690
1691
|
}
|
|
1691
1692
|
//#endregion
|
|
1692
1693
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1693
|
-
var
|
|
1694
|
+
var mi = class extends Mn {
|
|
1694
1695
|
constructor(e) {
|
|
1695
1696
|
var t, n;
|
|
1696
|
-
let r =
|
|
1697
|
-
|
|
1697
|
+
let r = hi(e);
|
|
1698
|
+
Qn(r, "browser", ["browser"], q.SENTRY_SDK_SOURCE || Fr()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1698
1699
|
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1699
1700
|
...r._metadata.sdk.settings
|
|
1700
1701
|
}), super(r);
|
|
1701
1702
|
let { sendDefaultPii: i, sendClientReports: a, enableLogs: o, _experiments: s, enableMetrics: c } = this._options, l = (n = c == null ? s == null ? void 0 : s.enableMetrics : c) == null ? !0 : n;
|
|
1702
1703
|
q.document && (a || o || l) && q.document.addEventListener("visibilitychange", () => {
|
|
1703
|
-
q.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o &&
|
|
1704
|
-
}), i && this.on("beforeSendSession",
|
|
1704
|
+
q.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && en(this), l && on(this));
|
|
1705
|
+
}), i && this.on("beforeSendSession", Zn);
|
|
1705
1706
|
}
|
|
1706
1707
|
eventFromException(e, t) {
|
|
1707
|
-
return
|
|
1708
|
+
return si(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1708
1709
|
}
|
|
1709
1710
|
eventFromMessage(e, t = "info", n) {
|
|
1710
|
-
return
|
|
1711
|
+
return ci(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1711
1712
|
}
|
|
1712
1713
|
_prepareEvent(e, t, n, r) {
|
|
1713
1714
|
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1714
1715
|
}
|
|
1715
1716
|
};
|
|
1716
|
-
function
|
|
1717
|
+
function hi(e) {
|
|
1717
1718
|
var t;
|
|
1718
1719
|
return {
|
|
1719
1720
|
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = q.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
@@ -1724,29 +1725,29 @@ function mi(e) {
|
|
|
1724
1725
|
}
|
|
1725
1726
|
//#endregion
|
|
1726
1727
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1727
|
-
var
|
|
1728
|
-
function
|
|
1729
|
-
|
|
1728
|
+
var gi = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Y = I, _i = 1e3, vi, yi, bi;
|
|
1729
|
+
function xi(e) {
|
|
1730
|
+
B("dom", e), V("dom", Si);
|
|
1730
1731
|
}
|
|
1731
|
-
function
|
|
1732
|
+
function Si() {
|
|
1732
1733
|
if (!Y.document) return;
|
|
1733
|
-
let e =
|
|
1734
|
+
let e = H.bind(null, "dom"), t = Ti(e, !0);
|
|
1734
1735
|
Y.document.addEventListener("click", t, !1), Y.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1735
1736
|
var n, r;
|
|
1736
1737
|
let i = (n = Y[t]) == null ? void 0 : n.prototype;
|
|
1737
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
1738
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (D(i, "addEventListener", function(t) {
|
|
1738
1739
|
return function(n, r, i) {
|
|
1739
1740
|
if (n === "click" || n == "keypress") try {
|
|
1740
1741
|
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1741
1742
|
if (!a.handler) {
|
|
1742
|
-
let r =
|
|
1743
|
+
let r = Ti(e);
|
|
1743
1744
|
a.handler = r, t.call(this, n, r, i);
|
|
1744
1745
|
}
|
|
1745
1746
|
a.refCount++;
|
|
1746
1747
|
} catch {}
|
|
1747
1748
|
return t.call(this, n, r, i);
|
|
1748
1749
|
};
|
|
1749
|
-
}),
|
|
1750
|
+
}), D(i, "removeEventListener", function(e) {
|
|
1750
1751
|
return function(t, n, r) {
|
|
1751
1752
|
if (t === "click" || t == "keypress") try {
|
|
1752
1753
|
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
@@ -1757,33 +1758,33 @@ function xi() {
|
|
|
1757
1758
|
}));
|
|
1758
1759
|
});
|
|
1759
1760
|
}
|
|
1760
|
-
function
|
|
1761
|
-
if (e.type !==
|
|
1761
|
+
function Ci(e) {
|
|
1762
|
+
if (e.type !== yi) return !1;
|
|
1762
1763
|
try {
|
|
1763
|
-
if (!e.target || e.target._sentryId !==
|
|
1764
|
+
if (!e.target || e.target._sentryId !== bi) return !1;
|
|
1764
1765
|
} catch {}
|
|
1765
1766
|
return !0;
|
|
1766
1767
|
}
|
|
1767
|
-
function
|
|
1768
|
+
function wi(e, t) {
|
|
1768
1769
|
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1769
1770
|
}
|
|
1770
|
-
function
|
|
1771
|
+
function Ti(e, t = !1) {
|
|
1771
1772
|
return (n) => {
|
|
1772
1773
|
if (!n || n._sentryCaptured) return;
|
|
1773
|
-
let r =
|
|
1774
|
-
if (
|
|
1774
|
+
let r = Ei(n);
|
|
1775
|
+
if (wi(n.type, r)) return;
|
|
1775
1776
|
x(n, "_sentryCaptured", !0), r && !r._sentryId && x(r, "_sentryId", S());
|
|
1776
1777
|
let i = n.type === "keypress" ? "input" : n.type;
|
|
1777
|
-
|
|
1778
|
+
Ci(n) || (e({
|
|
1778
1779
|
event: n,
|
|
1779
1780
|
name: i,
|
|
1780
1781
|
global: t
|
|
1781
|
-
}),
|
|
1782
|
-
|
|
1783
|
-
},
|
|
1782
|
+
}), yi = n.type, bi = r ? r._sentryId : void 0), clearTimeout(vi), vi = Y.setTimeout(() => {
|
|
1783
|
+
bi = void 0, yi = void 0;
|
|
1784
|
+
}, _i);
|
|
1784
1785
|
};
|
|
1785
1786
|
}
|
|
1786
|
-
function
|
|
1787
|
+
function Ei(e) {
|
|
1787
1788
|
try {
|
|
1788
1789
|
return e.target;
|
|
1789
1790
|
} catch {
|
|
@@ -1792,15 +1793,15 @@ function Ti(e) {
|
|
|
1792
1793
|
}
|
|
1793
1794
|
//#endregion
|
|
1794
1795
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1795
|
-
var
|
|
1796
|
-
function
|
|
1796
|
+
var Di;
|
|
1797
|
+
function Oi(e) {
|
|
1797
1798
|
let t = "history";
|
|
1798
|
-
|
|
1799
|
+
B(t, e), V(t, ki);
|
|
1799
1800
|
}
|
|
1800
|
-
function
|
|
1801
|
+
function ki() {
|
|
1801
1802
|
if (Y.addEventListener("popstate", () => {
|
|
1802
|
-
let e = Y.location.href, t =
|
|
1803
|
-
|
|
1803
|
+
let e = Y.location.href, t = Di;
|
|
1804
|
+
Di = e, t !== e && H("history", {
|
|
1804
1805
|
from: t,
|
|
1805
1806
|
to: e
|
|
1806
1807
|
});
|
|
@@ -1809,9 +1810,9 @@ function Di() {
|
|
|
1809
1810
|
return function(...t) {
|
|
1810
1811
|
let n = t.length > 2 ? t[2] : void 0;
|
|
1811
1812
|
if (n) {
|
|
1812
|
-
let r =
|
|
1813
|
-
if (
|
|
1814
|
-
|
|
1813
|
+
let r = Di, i = Ai(String(n));
|
|
1814
|
+
if (Di = i, r === i) return e.apply(this, t);
|
|
1815
|
+
H("history", {
|
|
1815
1816
|
from: r,
|
|
1816
1817
|
to: i
|
|
1817
1818
|
});
|
|
@@ -1819,9 +1820,9 @@ function Di() {
|
|
|
1819
1820
|
return e.apply(this, t);
|
|
1820
1821
|
};
|
|
1821
1822
|
}
|
|
1822
|
-
|
|
1823
|
+
D(Y.history, "pushState", e), D(Y.history, "replaceState", e);
|
|
1823
1824
|
}
|
|
1824
|
-
function
|
|
1825
|
+
function Ai(e) {
|
|
1825
1826
|
try {
|
|
1826
1827
|
return new URL(e, Y.location.origin).toString();
|
|
1827
1828
|
} catch {
|
|
@@ -1830,12 +1831,12 @@ function Oi(e) {
|
|
|
1830
1831
|
}
|
|
1831
1832
|
//#endregion
|
|
1832
1833
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
1833
|
-
var
|
|
1834
|
-
function
|
|
1835
|
-
let t =
|
|
1834
|
+
var ji = {};
|
|
1835
|
+
function Mi(e) {
|
|
1836
|
+
let t = ji[e];
|
|
1836
1837
|
if (t) return t;
|
|
1837
1838
|
let n = Y[e];
|
|
1838
|
-
if (zr(n)) return
|
|
1839
|
+
if (zr(n)) return ji[e] = n.bind(Y);
|
|
1839
1840
|
let r = Y.document;
|
|
1840
1841
|
if (r && typeof r.createElement == "function") try {
|
|
1841
1842
|
let t = r.createElement("iframe");
|
|
@@ -1843,38 +1844,38 @@ function Ai(e) {
|
|
|
1843
1844
|
let i = t.contentWindow;
|
|
1844
1845
|
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1845
1846
|
} catch (t) {
|
|
1846
|
-
|
|
1847
|
+
gi && j.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1847
1848
|
}
|
|
1848
|
-
return n && (
|
|
1849
|
+
return n && (ji[e] = n.bind(Y));
|
|
1849
1850
|
}
|
|
1850
|
-
function
|
|
1851
|
-
|
|
1851
|
+
function Ni(e) {
|
|
1852
|
+
ji[e] = void 0;
|
|
1852
1853
|
}
|
|
1853
1854
|
//#endregion
|
|
1854
1855
|
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.51.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
1855
|
-
var
|
|
1856
|
-
function
|
|
1857
|
-
|
|
1856
|
+
var X = "__sentry_xhr_v3__";
|
|
1857
|
+
function Pi(e) {
|
|
1858
|
+
B("xhr", e), V("xhr", Fi);
|
|
1858
1859
|
}
|
|
1859
|
-
function
|
|
1860
|
+
function Fi() {
|
|
1860
1861
|
if (!Y.XMLHttpRequest) return;
|
|
1861
1862
|
let e = XMLHttpRequest.prototype;
|
|
1862
1863
|
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1863
|
-
let r = /* @__PURE__ */ Error(), i =
|
|
1864
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = M(n[0]) ? n[0].toUpperCase() : void 0, o = Ii(n[1]);
|
|
1864
1865
|
if (!a || !o) return e.apply(t, n);
|
|
1865
|
-
t[
|
|
1866
|
+
t[X] = {
|
|
1866
1867
|
method: a,
|
|
1867
1868
|
url: o,
|
|
1868
1869
|
request_headers: {}
|
|
1869
1870
|
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
1870
1871
|
let s = () => {
|
|
1871
|
-
let e = t[
|
|
1872
|
+
let e = t[X];
|
|
1872
1873
|
if (e && t.readyState === 4) {
|
|
1873
1874
|
try {
|
|
1874
1875
|
e.status_code = t.status;
|
|
1875
1876
|
} catch {}
|
|
1876
|
-
|
|
1877
|
-
endTimestamp:
|
|
1877
|
+
H("xhr", {
|
|
1878
|
+
endTimestamp: A() * 1e3,
|
|
1878
1879
|
startTimestamp: i,
|
|
1879
1880
|
xhr: t,
|
|
1880
1881
|
virtualError: r
|
|
@@ -1884,27 +1885,27 @@ function Ni() {
|
|
|
1884
1885
|
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
1885
1886
|
return s(), e.apply(t, n);
|
|
1886
1887
|
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1887
|
-
let [r, i] = n, a = t[
|
|
1888
|
-
return a &&
|
|
1888
|
+
let [r, i] = n, a = t[X];
|
|
1889
|
+
return a && M(r) && M(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1889
1890
|
} }), e.apply(t, n);
|
|
1890
1891
|
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1891
|
-
let r = t[
|
|
1892
|
-
return r ? (n[0] !== void 0 && (r.body = n[0]),
|
|
1893
|
-
startTimestamp:
|
|
1892
|
+
let r = t[X];
|
|
1893
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), H("xhr", {
|
|
1894
|
+
startTimestamp: A() * 1e3,
|
|
1894
1895
|
xhr: t
|
|
1895
1896
|
}), e.apply(t, n)) : e.apply(t, n);
|
|
1896
1897
|
} });
|
|
1897
1898
|
}
|
|
1898
|
-
function
|
|
1899
|
-
if (
|
|
1899
|
+
function Ii(e) {
|
|
1900
|
+
if (M(e)) return e;
|
|
1900
1901
|
try {
|
|
1901
1902
|
return e.toString();
|
|
1902
1903
|
} catch {}
|
|
1903
1904
|
}
|
|
1904
1905
|
//#endregion
|
|
1905
1906
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
1906
|
-
var
|
|
1907
|
-
function
|
|
1907
|
+
var Li = 40;
|
|
1908
|
+
function Ri(e, t = Mi("fetch")) {
|
|
1908
1909
|
let n = 0, r = 0;
|
|
1909
1910
|
async function i(i) {
|
|
1910
1911
|
let a = i.body.length;
|
|
@@ -1927,17 +1928,17 @@ function Ii(e, t = Ai("fetch")) {
|
|
|
1927
1928
|
}
|
|
1928
1929
|
};
|
|
1929
1930
|
} catch (e) {
|
|
1930
|
-
throw
|
|
1931
|
+
throw Ni("fetch"), e;
|
|
1931
1932
|
} finally {
|
|
1932
1933
|
n -= a, r--;
|
|
1933
1934
|
}
|
|
1934
1935
|
}
|
|
1935
|
-
return
|
|
1936
|
+
return _n(e, i, dn(e.bufferSize || Li));
|
|
1936
1937
|
}
|
|
1937
1938
|
//#endregion
|
|
1938
1939
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
1939
|
-
var
|
|
1940
|
-
function
|
|
1940
|
+
var Z = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, zi = 30, Bi = 50;
|
|
1941
|
+
function Vi(e, t, n, r) {
|
|
1941
1942
|
let i = {
|
|
1942
1943
|
filename: e,
|
|
1943
1944
|
function: t === "<anonymous>" ? "?" : t,
|
|
@@ -1945,41 +1946,41 @@ function zi(e, t, n, r) {
|
|
|
1945
1946
|
};
|
|
1946
1947
|
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
1947
1948
|
}
|
|
1948
|
-
var
|
|
1949
|
-
let t = e.match(
|
|
1949
|
+
var Hi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ui = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, Wi = /\((\S*)(?::(\d+))(?::(\d+))\)/, Gi = /at (.+?) ?\(data:(.+?),/, Ki = [zi, (e) => {
|
|
1950
|
+
let t = e.match(Gi);
|
|
1950
1951
|
if (t) return {
|
|
1951
1952
|
filename: `<data:${t[2]}>`,
|
|
1952
1953
|
function: t[1]
|
|
1953
1954
|
};
|
|
1954
|
-
let n =
|
|
1955
|
+
let n = Hi.exec(e);
|
|
1955
1956
|
if (n) {
|
|
1956
1957
|
let [, e, t, r] = n;
|
|
1957
|
-
return
|
|
1958
|
+
return Vi(e, "?", +t, +r);
|
|
1958
1959
|
}
|
|
1959
|
-
let r =
|
|
1960
|
+
let r = Ui.exec(e);
|
|
1960
1961
|
if (r) {
|
|
1961
1962
|
var i;
|
|
1962
1963
|
if (((i = r[2]) == null ? void 0 : i.indexOf("eval")) === 0) {
|
|
1963
|
-
let e =
|
|
1964
|
+
let e = Wi.exec(r[2]);
|
|
1964
1965
|
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
1965
1966
|
}
|
|
1966
|
-
let [e, t] =
|
|
1967
|
-
return
|
|
1967
|
+
let [e, t] = Xi(r[1] || "?", r[2]);
|
|
1968
|
+
return Vi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
1968
1969
|
}
|
|
1969
|
-
}],
|
|
1970
|
-
let t =
|
|
1970
|
+
}], qi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Ji = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Yi = Se(Ki, [Bi, (e) => {
|
|
1971
|
+
let t = qi.exec(e);
|
|
1971
1972
|
if (t) {
|
|
1972
1973
|
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
1973
|
-
let e =
|
|
1974
|
+
let e = Ji.exec(t[3]);
|
|
1974
1975
|
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
1975
1976
|
}
|
|
1976
1977
|
let e = t[3], n = t[1] || "?";
|
|
1977
|
-
return [n, e] =
|
|
1978
|
+
return [n, e] = Xi(n, e), Vi(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
1978
1979
|
}
|
|
1979
|
-
}]),
|
|
1980
|
+
}]), Xi = (e, t) => {
|
|
1980
1981
|
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
1981
1982
|
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
1982
|
-
},
|
|
1983
|
+
}, Q = 1024, Zi = "Breadcrumbs", Qi = W(((e = {}) => {
|
|
1983
1984
|
let t = {
|
|
1984
1985
|
console: !0,
|
|
1985
1986
|
dom: !0,
|
|
@@ -1990,15 +1991,15 @@ var Bi = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Vi = /^\s*at (?:(.+?\)(?: \[.
|
|
|
1990
1991
|
...e
|
|
1991
1992
|
};
|
|
1992
1993
|
return {
|
|
1993
|
-
name:
|
|
1994
|
+
name: Zi,
|
|
1994
1995
|
setup(e) {
|
|
1995
|
-
t.console && Sr(
|
|
1996
|
+
t.console && Sr(ta(e)), t.dom && xi(ea(e, t.dom)), t.xhr && Pi(na(e)), t.fetch && Vr(ra(e)), t.history && Oi(ia(e)), t.sentry && e.on("beforeSendEvent", $i(e));
|
|
1996
1997
|
}
|
|
1997
1998
|
};
|
|
1998
1999
|
}));
|
|
1999
|
-
function
|
|
2000
|
+
function $i(e) {
|
|
2000
2001
|
return function(t) {
|
|
2001
|
-
g() === e &&
|
|
2002
|
+
g() === e && G({
|
|
2002
2003
|
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
2003
2004
|
event_id: t.event_id,
|
|
2004
2005
|
level: t.level,
|
|
@@ -2006,13 +2007,13 @@ function Qi(e) {
|
|
|
2006
2007
|
}, { event: t });
|
|
2007
2008
|
};
|
|
2008
2009
|
}
|
|
2009
|
-
function
|
|
2010
|
+
function ea(e, t) {
|
|
2010
2011
|
return function(n) {
|
|
2011
2012
|
if (g() !== e) return;
|
|
2012
2013
|
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
2013
|
-
o && o >
|
|
2014
|
+
o && o > Q && (Z && j.warn(`\`dom.maxStringLength\` cannot exceed ${Q}, but a value of ${o} was configured. Sentry will use ${Q} instead.`), o = Q), typeof a == "string" && (a = [a]);
|
|
2014
2015
|
try {
|
|
2015
|
-
let e = n.event, t =
|
|
2016
|
+
let e = n.event, t = aa(e) ? e.target : e;
|
|
2016
2017
|
r = me(t, {
|
|
2017
2018
|
keyAttrs: a,
|
|
2018
2019
|
maxStringLength: o
|
|
@@ -2025,14 +2026,14 @@ function $i(e, t) {
|
|
|
2025
2026
|
category: `ui.${n.name}`,
|
|
2026
2027
|
message: r
|
|
2027
2028
|
};
|
|
2028
|
-
i && (s.data = { "ui.component_name": i }),
|
|
2029
|
+
i && (s.data = { "ui.component_name": i }), G(s, {
|
|
2029
2030
|
event: n.event,
|
|
2030
2031
|
name: n.name,
|
|
2031
2032
|
global: n.global
|
|
2032
2033
|
});
|
|
2033
2034
|
};
|
|
2034
2035
|
}
|
|
2035
|
-
function
|
|
2036
|
+
function ta(e) {
|
|
2036
2037
|
return function(t) {
|
|
2037
2038
|
if (g() !== e) return;
|
|
2038
2039
|
let n = {
|
|
@@ -2046,16 +2047,16 @@ function ea(e) {
|
|
|
2046
2047
|
};
|
|
2047
2048
|
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${ce(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
2048
2049
|
else return;
|
|
2049
|
-
|
|
2050
|
+
G(n, {
|
|
2050
2051
|
input: t.args,
|
|
2051
2052
|
level: t.level
|
|
2052
2053
|
});
|
|
2053
2054
|
};
|
|
2054
2055
|
}
|
|
2055
|
-
function
|
|
2056
|
+
function na(e) {
|
|
2056
2057
|
return function(t) {
|
|
2057
2058
|
if (g() !== e) return;
|
|
2058
|
-
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[
|
|
2059
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[X];
|
|
2059
2060
|
if (!n || !r || !i) return;
|
|
2060
2061
|
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
2061
2062
|
method: a,
|
|
@@ -2072,10 +2073,10 @@ function ta(e) {
|
|
|
2072
2073
|
type: "http",
|
|
2073
2074
|
level: Ir(s)
|
|
2074
2075
|
};
|
|
2075
|
-
e.emit("beforeOutgoingRequestBreadcrumb", d, u),
|
|
2076
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), G(d, u);
|
|
2076
2077
|
};
|
|
2077
2078
|
}
|
|
2078
|
-
function
|
|
2079
|
+
function ra(e) {
|
|
2079
2080
|
return function(t) {
|
|
2080
2081
|
if (g() !== e) return;
|
|
2081
2082
|
let { startTimestamp: n, endTimestamp: r } = t;
|
|
@@ -2091,7 +2092,7 @@ function na(e) {
|
|
|
2091
2092
|
level: "error",
|
|
2092
2093
|
type: "http"
|
|
2093
2094
|
};
|
|
2094
|
-
e.emit("beforeOutgoingRequestBreadcrumb", a, i),
|
|
2095
|
+
e.emit("beforeOutgoingRequestBreadcrumb", a, i), G(a, i);
|
|
2095
2096
|
} else {
|
|
2096
2097
|
let i = t.response, a = {
|
|
2097
2098
|
...t.fetchData,
|
|
@@ -2107,15 +2108,15 @@ function na(e) {
|
|
|
2107
2108
|
type: "http",
|
|
2108
2109
|
level: Ir(a.status_code)
|
|
2109
2110
|
};
|
|
2110
|
-
e.emit("beforeOutgoingRequestBreadcrumb", s, o),
|
|
2111
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), G(s, o);
|
|
2111
2112
|
}
|
|
2112
2113
|
};
|
|
2113
2114
|
}
|
|
2114
|
-
function
|
|
2115
|
+
function ia(e) {
|
|
2115
2116
|
return function(t) {
|
|
2116
2117
|
if (g() !== e) return;
|
|
2117
|
-
let n = t.from, r = t.to, i =
|
|
2118
|
-
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative),
|
|
2118
|
+
let n = t.from, r = t.to, i = Yn(q.location.href), a = n ? Yn(n) : void 0, o = Yn(r);
|
|
2119
|
+
a != null && a.path || (a = i), i.protocol === o.protocol && i.host === o.host && (r = o.relative), i.protocol === a.protocol && i.host === a.host && (n = a.relative), G({
|
|
2119
2120
|
category: "navigation",
|
|
2120
2121
|
data: {
|
|
2121
2122
|
from: n,
|
|
@@ -2124,12 +2125,12 @@ function ra(e) {
|
|
|
2124
2125
|
});
|
|
2125
2126
|
};
|
|
2126
2127
|
}
|
|
2127
|
-
function
|
|
2128
|
+
function aa(e) {
|
|
2128
2129
|
return !!e && !!e.target;
|
|
2129
2130
|
}
|
|
2130
2131
|
//#endregion
|
|
2131
2132
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2132
|
-
var
|
|
2133
|
+
var oa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChannel,ChannelMergerNode,CryptoOperation,EventSource,FileReader,HTMLUnknownElement,IDBDatabase,IDBRequest,IDBTransaction,KeyOperation,MediaController,MessagePort,ModalWindow,Notification,SVGElementInstance,Screen,SharedWorker,TextTrack,TextTrackCue,TextTrackList,WebSocket,WebSocketWorker,Worker,XMLHttpRequest,XMLHttpRequestEventTarget,XMLHttpRequestUpload".split(","), sa = "BrowserApiErrors", ca = W(((e = {}) => {
|
|
2133
2134
|
let t = {
|
|
2134
2135
|
XMLHttpRequest: !0,
|
|
2135
2136
|
eventTarget: !0,
|
|
@@ -2140,33 +2141,33 @@ var aa = "EventTarget,Window,Node,ApplicationCache,AudioTrackList,BroadcastChann
|
|
|
2140
2141
|
...e
|
|
2141
2142
|
};
|
|
2142
2143
|
return {
|
|
2143
|
-
name:
|
|
2144
|
+
name: sa,
|
|
2144
2145
|
setupOnce() {
|
|
2145
|
-
t.setTimeout &&
|
|
2146
|
+
t.setTimeout && D(q, "setTimeout", la), t.setInterval && D(q, "setInterval", la), t.requestAnimationFrame && D(q, "requestAnimationFrame", ua), t.XMLHttpRequest && "XMLHttpRequest" in q && D(XMLHttpRequest.prototype, "send", da);
|
|
2146
2147
|
let e = t.eventTarget;
|
|
2147
|
-
e && (Array.isArray(e) ? e :
|
|
2148
|
+
e && (Array.isArray(e) ? e : oa).forEach((e) => fa(e, t));
|
|
2148
2149
|
}
|
|
2149
2150
|
};
|
|
2150
2151
|
}));
|
|
2151
|
-
function
|
|
2152
|
+
function la(e) {
|
|
2152
2153
|
return function(...t) {
|
|
2153
2154
|
let n = t[0];
|
|
2154
2155
|
return t[0] = J(n, { mechanism: {
|
|
2155
2156
|
handled: !1,
|
|
2156
|
-
type: `auto.browser.browserapierrors.${
|
|
2157
|
+
type: `auto.browser.browserapierrors.${N(e)}`
|
|
2157
2158
|
} }), e.apply(this, t);
|
|
2158
2159
|
};
|
|
2159
2160
|
}
|
|
2160
|
-
function
|
|
2161
|
+
function ua(e) {
|
|
2161
2162
|
return function(t) {
|
|
2162
2163
|
return e.apply(this, [J(t, { mechanism: {
|
|
2163
|
-
data: { handler:
|
|
2164
|
+
data: { handler: N(e) },
|
|
2164
2165
|
handled: !1,
|
|
2165
2166
|
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2166
2167
|
} })]);
|
|
2167
2168
|
};
|
|
2168
2169
|
}
|
|
2169
|
-
function
|
|
2170
|
+
function da(e) {
|
|
2170
2171
|
return function(...t) {
|
|
2171
2172
|
let n = this;
|
|
2172
2173
|
return [
|
|
@@ -2175,37 +2176,37 @@ function ua(e) {
|
|
|
2175
2176
|
"onprogress",
|
|
2176
2177
|
"onreadystatechange"
|
|
2177
2178
|
].forEach((e) => {
|
|
2178
|
-
e in n && typeof n[e] == "function" &&
|
|
2179
|
+
e in n && typeof n[e] == "function" && D(n, e, function(t) {
|
|
2179
2180
|
let n = { mechanism: {
|
|
2180
|
-
data: { handler:
|
|
2181
|
+
data: { handler: N(t) },
|
|
2181
2182
|
handled: !1,
|
|
2182
2183
|
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2183
2184
|
} }, r = b(t);
|
|
2184
|
-
return r && (n.mechanism.data.handler =
|
|
2185
|
+
return r && (n.mechanism.data.handler = N(r)), J(t, n);
|
|
2185
2186
|
});
|
|
2186
2187
|
}), e.apply(this, t);
|
|
2187
2188
|
};
|
|
2188
2189
|
}
|
|
2189
|
-
function
|
|
2190
|
+
function fa(e, t) {
|
|
2190
2191
|
var n, r;
|
|
2191
2192
|
let i = (n = q[e]) == null ? void 0 : n.prototype;
|
|
2192
|
-
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (
|
|
2193
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (D(i, "addEventListener", function(n) {
|
|
2193
2194
|
return function(r, i, a) {
|
|
2194
2195
|
try {
|
|
2195
|
-
|
|
2196
|
+
pa(i) && (i.handleEvent = J(i.handleEvent, { mechanism: {
|
|
2196
2197
|
data: {
|
|
2197
|
-
handler:
|
|
2198
|
+
handler: N(i),
|
|
2198
2199
|
target: e
|
|
2199
2200
|
},
|
|
2200
2201
|
handled: !1,
|
|
2201
2202
|
type: "auto.browser.browserapierrors.handleEvent"
|
|
2202
2203
|
} }));
|
|
2203
2204
|
} catch {}
|
|
2204
|
-
return t.unregisterOriginalCallbacks &&
|
|
2205
|
+
return t.unregisterOriginalCallbacks && ma(this, r, i), n.apply(this, [
|
|
2205
2206
|
r,
|
|
2206
2207
|
J(i, { mechanism: {
|
|
2207
2208
|
data: {
|
|
2208
|
-
handler:
|
|
2209
|
+
handler: N(i),
|
|
2209
2210
|
target: e
|
|
2210
2211
|
},
|
|
2211
2212
|
handled: !1,
|
|
@@ -2214,7 +2215,7 @@ function da(e, t) {
|
|
|
2214
2215
|
a
|
|
2215
2216
|
]);
|
|
2216
2217
|
};
|
|
2217
|
-
}),
|
|
2218
|
+
}), D(i, "removeEventListener", function(e) {
|
|
2218
2219
|
return function(t, n, r) {
|
|
2219
2220
|
try {
|
|
2220
2221
|
let i = n.__sentry_wrapped__;
|
|
@@ -2224,22 +2225,22 @@ function da(e, t) {
|
|
|
2224
2225
|
};
|
|
2225
2226
|
}));
|
|
2226
2227
|
}
|
|
2227
|
-
function
|
|
2228
|
+
function pa(e) {
|
|
2228
2229
|
return typeof e.handleEvent == "function";
|
|
2229
2230
|
}
|
|
2230
|
-
function
|
|
2231
|
+
function ma(e, t, n) {
|
|
2231
2232
|
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2232
2233
|
}
|
|
2233
2234
|
//#endregion
|
|
2234
2235
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2235
|
-
var
|
|
2236
|
+
var ha = W((e = {}) => {
|
|
2236
2237
|
var t;
|
|
2237
2238
|
let n = (t = e.lifecycle) == null ? "route" : t;
|
|
2238
2239
|
return {
|
|
2239
2240
|
name: "BrowserSession",
|
|
2240
2241
|
setupOnce() {
|
|
2241
2242
|
if (q.document === void 0) {
|
|
2242
|
-
|
|
2243
|
+
Z && j.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2243
2244
|
return;
|
|
2244
2245
|
}
|
|
2245
2246
|
xe({ ignoreDuration: !0 }), He();
|
|
@@ -2247,15 +2248,15 @@ var ma = V((e = {}) => {
|
|
|
2247
2248
|
e.addScopeListener((e) => {
|
|
2248
2249
|
let n = e.getUser();
|
|
2249
2250
|
((t == null ? void 0 : t.id) !== (n == null ? void 0 : n.id) || (t == null ? void 0 : t.ip_address) !== (n == null ? void 0 : n.ip_address)) && (He(), t = n);
|
|
2250
|
-
}), n === "route" &&
|
|
2251
|
+
}), n === "route" && Oi(({ from: e, to: t }) => {
|
|
2251
2252
|
e !== t && (xe({ ignoreDuration: !0 }), He());
|
|
2252
2253
|
});
|
|
2253
2254
|
}
|
|
2254
2255
|
};
|
|
2255
|
-
}),
|
|
2256
|
-
name:
|
|
2256
|
+
}), ga = "CultureContext", _a = W((() => ({
|
|
2257
|
+
name: ga,
|
|
2257
2258
|
preprocessEvent(e) {
|
|
2258
|
-
let t =
|
|
2259
|
+
let t = va();
|
|
2259
2260
|
if (t) {
|
|
2260
2261
|
var n;
|
|
2261
2262
|
e.contexts = {
|
|
@@ -2268,15 +2269,15 @@ var ma = V((e = {}) => {
|
|
|
2268
2269
|
}
|
|
2269
2270
|
},
|
|
2270
2271
|
processSegmentSpan(e) {
|
|
2271
|
-
let t =
|
|
2272
|
-
t &&
|
|
2272
|
+
let t = va();
|
|
2273
|
+
t && Bt(e, {
|
|
2273
2274
|
"culture.locale": t.locale,
|
|
2274
2275
|
"culture.timezone": t.timezone,
|
|
2275
2276
|
"culture.calendar": t.calendar
|
|
2276
2277
|
});
|
|
2277
2278
|
}
|
|
2278
2279
|
})));
|
|
2279
|
-
function
|
|
2280
|
+
function va() {
|
|
2280
2281
|
try {
|
|
2281
2282
|
let e = q.Intl;
|
|
2282
2283
|
if (!e) return;
|
|
@@ -2292,27 +2293,27 @@ function _a() {
|
|
|
2292
2293
|
}
|
|
2293
2294
|
//#endregion
|
|
2294
2295
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/globalhandlers.js
|
|
2295
|
-
var
|
|
2296
|
+
var ya = "GlobalHandlers", ba = W(((e = {}) => {
|
|
2296
2297
|
let t = {
|
|
2297
2298
|
onerror: !0,
|
|
2298
2299
|
onunhandledrejection: !0,
|
|
2299
2300
|
...e
|
|
2300
2301
|
};
|
|
2301
2302
|
return {
|
|
2302
|
-
name:
|
|
2303
|
+
name: ya,
|
|
2303
2304
|
setupOnce() {
|
|
2304
2305
|
Error.stackTraceLimit = 50;
|
|
2305
2306
|
},
|
|
2306
2307
|
setup(e) {
|
|
2307
|
-
t.onerror && (
|
|
2308
|
+
t.onerror && (xa(e), Ea("onerror")), t.onunhandledrejection && (Sa(e), Ea("onunhandledrejection"));
|
|
2308
2309
|
}
|
|
2309
2310
|
};
|
|
2310
2311
|
}));
|
|
2311
|
-
function
|
|
2312
|
-
|
|
2313
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2314
|
-
if (g() !== e ||
|
|
2315
|
-
let { msg: i, url: a, line: o, column: s, error: c } = t, l =
|
|
2312
|
+
function xa(e) {
|
|
2313
|
+
pt((t) => {
|
|
2314
|
+
let { stackParser: n, attachStacktrace: r } = Da();
|
|
2315
|
+
if (g() !== e || Jr()) return;
|
|
2316
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = Ta(li(n, c || i, void 0, r, !1), a, o, s);
|
|
2316
2317
|
l.level = "error", Ke(l, {
|
|
2317
2318
|
originalException: c,
|
|
2318
2319
|
mechanism: {
|
|
@@ -2322,11 +2323,11 @@ function ba(e) {
|
|
|
2322
2323
|
});
|
|
2323
2324
|
});
|
|
2324
2325
|
}
|
|
2325
|
-
function
|
|
2326
|
-
|
|
2327
|
-
let { stackParser: n, attachStacktrace: r } =
|
|
2328
|
-
if (g() !== e ||
|
|
2329
|
-
let i =
|
|
2326
|
+
function Sa(e) {
|
|
2327
|
+
gt((t) => {
|
|
2328
|
+
let { stackParser: n, attachStacktrace: r } = Da();
|
|
2329
|
+
if (g() !== e || Jr()) return;
|
|
2330
|
+
let i = Ca(t), a = k(i) ? wa(i) : li(n, i, void 0, r, !0);
|
|
2330
2331
|
a.level = "error", Ke(a, {
|
|
2331
2332
|
originalException: i,
|
|
2332
2333
|
mechanism: {
|
|
@@ -2336,55 +2337,55 @@ function xa(e) {
|
|
|
2336
2337
|
});
|
|
2337
2338
|
});
|
|
2338
2339
|
}
|
|
2339
|
-
function
|
|
2340
|
-
if (
|
|
2340
|
+
function Ca(e) {
|
|
2341
|
+
if (k(e)) return e;
|
|
2341
2342
|
try {
|
|
2342
2343
|
if ("reason" in e) return e.reason;
|
|
2343
2344
|
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2344
2345
|
} catch {}
|
|
2345
2346
|
return e;
|
|
2346
2347
|
}
|
|
2347
|
-
function
|
|
2348
|
+
function wa(e) {
|
|
2348
2349
|
return { exception: { values: [{
|
|
2349
2350
|
type: "UnhandledRejection",
|
|
2350
2351
|
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2351
2352
|
}] } };
|
|
2352
2353
|
}
|
|
2353
|
-
function
|
|
2354
|
+
function Ta(e, t, n, r) {
|
|
2354
2355
|
let i = e.exception = e.exception || {}, a = i.values = i.values || [], o = a[0] = a[0] || {}, s = o.stacktrace = o.stacktrace || {}, c = s.frames = s.frames || [];
|
|
2355
2356
|
if (c.length === 0) {
|
|
2356
2357
|
var l;
|
|
2357
2358
|
c.push({
|
|
2358
2359
|
colno: r,
|
|
2359
2360
|
lineno: n,
|
|
2360
|
-
filename: (l =
|
|
2361
|
+
filename: (l = Oa(t)) == null ? C() : l,
|
|
2361
2362
|
function: "?",
|
|
2362
2363
|
in_app: !0
|
|
2363
2364
|
});
|
|
2364
2365
|
}
|
|
2365
2366
|
return e;
|
|
2366
2367
|
}
|
|
2367
|
-
function
|
|
2368
|
-
|
|
2368
|
+
function Ea(e) {
|
|
2369
|
+
Z && j.log(`Global Handler attached: ${e}`);
|
|
2369
2370
|
}
|
|
2370
|
-
function
|
|
2371
|
+
function Da() {
|
|
2371
2372
|
let e = g();
|
|
2372
2373
|
return (e == null ? void 0 : e.getOptions()) || {
|
|
2373
2374
|
stackParser: () => [],
|
|
2374
2375
|
attachStacktrace: !1
|
|
2375
2376
|
};
|
|
2376
2377
|
}
|
|
2377
|
-
function
|
|
2378
|
-
if (!(!
|
|
2378
|
+
function Oa(e) {
|
|
2379
|
+
if (!(!M(e) || e.length === 0)) return e.startsWith("data:") ? `<${Xn(e, !1)}>` : e;
|
|
2379
2380
|
}
|
|
2380
2381
|
//#endregion
|
|
2381
2382
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2382
|
-
var
|
|
2383
|
+
var ka = W(() => ({
|
|
2383
2384
|
name: "HttpContext",
|
|
2384
2385
|
preprocessEvent(e) {
|
|
2385
2386
|
var t;
|
|
2386
2387
|
if (!q.navigator && !q.location && !q.document) return;
|
|
2387
|
-
let n =
|
|
2388
|
+
let n = Xr(), r = {
|
|
2388
2389
|
...n.headers,
|
|
2389
2390
|
...(t = e.request) == null ? void 0 : t.headers
|
|
2390
2391
|
};
|
|
@@ -2396,79 +2397,78 @@ var Oa = V(() => ({
|
|
|
2396
2397
|
},
|
|
2397
2398
|
processSegmentSpan(e) {
|
|
2398
2399
|
if (!q.navigator && !q.location && !q.document) return;
|
|
2399
|
-
let t =
|
|
2400
|
-
|
|
2400
|
+
let t = Xr();
|
|
2401
|
+
Bt(e, {
|
|
2401
2402
|
"url.full": t.url || void 0,
|
|
2402
2403
|
"http.request.header.user_agent": t.headers["User-Agent"],
|
|
2403
2404
|
"http.request.header.referer": t.headers.Referer
|
|
2404
2405
|
});
|
|
2405
2406
|
}
|
|
2406
|
-
})),
|
|
2407
|
-
let t = e.limit ||
|
|
2407
|
+
})), Aa = "cause", ja = 5, Ma = "LinkedErrors", Na = W(((e = {}) => {
|
|
2408
|
+
let t = e.limit || ja, n = e.key || Aa;
|
|
2408
2409
|
return {
|
|
2409
|
-
name:
|
|
2410
|
+
name: Ma,
|
|
2410
2411
|
preprocessEvent(e, r, i) {
|
|
2411
|
-
_r(
|
|
2412
|
+
_r(Zr, i.getOptions().stackParser, n, t, e, r);
|
|
2412
2413
|
}
|
|
2413
2414
|
};
|
|
2414
2415
|
}));
|
|
2415
2416
|
//#endregion
|
|
2416
2417
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2417
|
-
function
|
|
2418
|
-
return
|
|
2418
|
+
function Pa() {
|
|
2419
|
+
return Fa() ? (Z && Be(() => {
|
|
2419
2420
|
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2420
2421
|
}), !0) : !1;
|
|
2421
2422
|
}
|
|
2422
|
-
function
|
|
2423
|
+
function Fa() {
|
|
2423
2424
|
var e;
|
|
2424
2425
|
if (q.window === void 0) return !1;
|
|
2425
2426
|
let t = q;
|
|
2426
2427
|
if (t.nw) return !1;
|
|
2427
2428
|
let n = t.chrome || t.browser;
|
|
2428
2429
|
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2429
|
-
let r =
|
|
2430
|
+
let r = C();
|
|
2430
2431
|
return !(q === q.top && /^(?:chrome-extension|moz-extension|ms-browser-extension|safari-web-extension):\/\//.test(r));
|
|
2431
2432
|
}
|
|
2432
2433
|
//#endregion
|
|
2433
2434
|
//#region ../../node_modules/.pnpm/@sentry+browser@10.51.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2434
|
-
function
|
|
2435
|
+
function Ia(e) {
|
|
2435
2436
|
return [
|
|
2436
|
-
|
|
2437
|
-
|
|
2437
|
+
sr(),
|
|
2438
|
+
rr(),
|
|
2438
2439
|
Pr(),
|
|
2439
|
-
|
|
2440
|
-
|
|
2441
|
-
|
|
2442
|
-
|
|
2440
|
+
ca(),
|
|
2441
|
+
Qi(),
|
|
2442
|
+
ba(),
|
|
2443
|
+
Na(),
|
|
2443
2444
|
Er(),
|
|
2444
|
-
|
|
2445
|
-
|
|
2446
|
-
|
|
2445
|
+
ka(),
|
|
2446
|
+
_a(),
|
|
2447
|
+
ha()
|
|
2447
2448
|
];
|
|
2448
2449
|
}
|
|
2449
|
-
function
|
|
2450
|
-
let t = !e.skipBrowserExtensionCheck &&
|
|
2451
|
-
return
|
|
2450
|
+
function La(e = {}) {
|
|
2451
|
+
let t = !e.skipBrowserExtensionCheck && Pa(), n = e.defaultIntegrations == null ? Ia() : e.defaultIntegrations;
|
|
2452
|
+
return Wn(mi, {
|
|
2452
2453
|
...e,
|
|
2453
2454
|
enabled: t ? !1 : e.enabled,
|
|
2454
|
-
stackParser: we(e.stackParser ||
|
|
2455
|
-
integrations:
|
|
2455
|
+
stackParser: we(e.stackParser || Yi),
|
|
2456
|
+
integrations: Jt({
|
|
2456
2457
|
integrations: e.integrations,
|
|
2457
2458
|
defaultIntegrations: n
|
|
2458
2459
|
}),
|
|
2459
|
-
transport: e.transport ||
|
|
2460
|
+
transport: e.transport || Ri
|
|
2460
2461
|
});
|
|
2461
2462
|
}
|
|
2462
2463
|
//#endregion
|
|
2463
2464
|
//#region ../../node_modules/.pnpm/@sentry+react@10.51.0_react@19.2.5/node_modules/@sentry/react/build/esm/sdk.js
|
|
2464
|
-
var La = /* @__PURE__ */ e(et());
|
|
2465
2465
|
function Ra(e) {
|
|
2466
2466
|
let t = { ...e };
|
|
2467
|
-
return
|
|
2467
|
+
return Qn(t, "react"), ve("react", { version: rt.version }), La(t);
|
|
2468
2468
|
}
|
|
2469
2469
|
//#endregion
|
|
2470
2470
|
//#region src/tools/sentry.ts
|
|
2471
|
-
var za = "production", Ba = "3.1.
|
|
2471
|
+
var za = "production", Ba = "3.1.10";
|
|
2472
2472
|
function Va() {
|
|
2473
2473
|
let e = "sentry_offline_queue";
|
|
2474
2474
|
return {
|
|
@@ -2517,7 +2517,7 @@ function Va() {
|
|
|
2517
2517
|
};
|
|
2518
2518
|
}
|
|
2519
2519
|
function Ha(e) {
|
|
2520
|
-
let t =
|
|
2520
|
+
let t = Jn(Ri);
|
|
2521
2521
|
Ra({
|
|
2522
2522
|
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2523
2523
|
release: Ba,
|
|
@@ -2747,86 +2747,86 @@ var Xa = class {
|
|
|
2747
2747
|
$();
|
|
2748
2748
|
}
|
|
2749
2749
|
constructor(e) {
|
|
2750
|
-
var
|
|
2751
|
-
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 =
|
|
2750
|
+
var t;
|
|
2751
|
+
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 = ut && !ne ? !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 = (t = e.disableRuntimeAlerts) == null ? !0 : t, this._ready = new Promise((e, t) => {
|
|
2752
2752
|
this.resolveReady = e;
|
|
2753
2753
|
});
|
|
2754
|
-
let
|
|
2755
|
-
if (this.element =
|
|
2756
|
-
if (
|
|
2754
|
+
let r = e.element;
|
|
2755
|
+
if (this.element = r, r.__expofp) throw Error("Element already in use");
|
|
2756
|
+
if (r.__expofp = this, r.getAttribute("data-event-id") || r.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2757
2757
|
let d = e.expo || e.event;
|
|
2758
2758
|
if (!d) throw Error("`expo` option is required");
|
|
2759
2759
|
Ha({
|
|
2760
2760
|
eventId: d || "",
|
|
2761
|
-
isWebview:
|
|
2762
|
-
}), this.eventId = d, window.__efpEvent = d, window.__efpElement =
|
|
2763
|
-
let
|
|
2764
|
-
|
|
2765
|
-
let
|
|
2766
|
-
|
|
2767
|
-
let
|
|
2768
|
-
|
|
2769
|
-
let
|
|
2770
|
-
if (
|
|
2761
|
+
isWebview: f
|
|
2762
|
+
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = r;
|
|
2763
|
+
let ee = [...r.classList];
|
|
2764
|
+
r.classList.remove(...ee), r.classList.add("expofp-floorplan-default", ...ee);
|
|
2765
|
+
let p = document.head || document.getElementsByTagName("head")[0], m = document.createElement("style");
|
|
2766
|
+
p.prepend(m), m.textContent = ".expofp-floorplan-default { width: 100%; height: 100%;}";
|
|
2767
|
+
let h = document.createElement("div");
|
|
2768
|
+
h.style.height = "100%", h.style.width = "100%", r.appendChild(h);
|
|
2769
|
+
let g;
|
|
2770
|
+
if (f && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
2771
2771
|
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2772
2772
|
e && (this.allowConsent = e === "true");
|
|
2773
2773
|
}
|
|
2774
|
-
if (
|
|
2775
|
-
|
|
2776
|
-
let e =
|
|
2774
|
+
if (ct) {
|
|
2775
|
+
g = h.attachShadow({ mode: "open" });
|
|
2776
|
+
let e = g, t = document;
|
|
2777
2777
|
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2778
|
-
} else
|
|
2779
|
-
let
|
|
2780
|
-
if (
|
|
2781
|
-
let
|
|
2782
|
-
window.__dataUrlBase =
|
|
2783
|
-
let
|
|
2784
|
-
|
|
2785
|
-
|
|
2786
|
-
|
|
2778
|
+
} else g = h;
|
|
2779
|
+
let _ = document.createElement("div");
|
|
2780
|
+
if (_.style.height = "100%", _.style.width = "100%", g.appendChild(_), ct && Object.defineProperty(_, "ownerDocument", { value: g }), window.__efpShadowDOMStyleParent = ct ? g : void 0, this.renderTarget = _, r.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2781
|
+
let v = e.legacyDataUrlBase;
|
|
2782
|
+
window.__dataUrlBase = v, this.dataUrl = v, c.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2783
|
+
let y = v + "data.js", b = v + "wf.data.js", x = v + "fp.svg.js", S = [
|
|
2784
|
+
a(b),
|
|
2785
|
+
a(y),
|
|
2786
|
+
a(x)
|
|
2787
2787
|
], C = 0;
|
|
2788
2788
|
this.efpStyleLoadHandler = function(e) {
|
|
2789
2789
|
let t = window.__efpStyleElements;
|
|
2790
2790
|
for (; C < t.length;) {
|
|
2791
2791
|
let e = t[C];
|
|
2792
|
-
|
|
2792
|
+
g.appendChild(e), C++;
|
|
2793
2793
|
}
|
|
2794
2794
|
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2795
2795
|
let w = this;
|
|
2796
2796
|
(async function() {
|
|
2797
|
-
var e,
|
|
2798
|
-
await Promise.all(
|
|
2797
|
+
var e, t;
|
|
2798
|
+
await Promise.all(S);
|
|
2799
2799
|
let ee = 0;
|
|
2800
|
-
for (; window.__fpPending && !window.__fp;) await
|
|
2801
|
-
let f = window.__data,
|
|
2802
|
-
|
|
2803
|
-
let
|
|
2800
|
+
for (; window.__fpPending && !window.__fp;) await n(2e3), await a(x + `?v=${++ee}`);
|
|
2801
|
+
let f = window.__data, ne = Ya(f);
|
|
2802
|
+
ne && import("./bootIntercom-CAMX7-bk.js").then(({ bootIntercom: e }) => e(ne)).catch(() => {}), await te();
|
|
2803
|
+
let p = new URLSearchParams(window.location.search), m, _;
|
|
2804
2804
|
if (f != null && f.trackerUrl) try {
|
|
2805
|
-
|
|
2805
|
+
m = new URL(f.trackerUrl), _ = m.searchParams.get("expoId");
|
|
2806
2806
|
} catch (e) {
|
|
2807
2807
|
console.error(e);
|
|
2808
2808
|
}
|
|
2809
|
-
let
|
|
2810
|
-
if (!
|
|
2811
|
-
let t = new URL(e.dataUrl,
|
|
2809
|
+
let v = async (e) => {
|
|
2810
|
+
if (!m || !_) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
2811
|
+
let t = new URL(e.dataUrl, m.origin), n = await fetch(t.toString(), {
|
|
2812
2812
|
method: "POST",
|
|
2813
2813
|
headers: { "Content-Type": "application/json" },
|
|
2814
2814
|
body: JSON.stringify({
|
|
2815
|
-
expoId:
|
|
2816
|
-
token: decodeURIComponent(
|
|
2815
|
+
expoId: _,
|
|
2816
|
+
token: decodeURIComponent(p.get("t"))
|
|
2817
2817
|
})
|
|
2818
2818
|
}), r = [];
|
|
2819
2819
|
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
2820
2820
|
};
|
|
2821
|
-
if (
|
|
2822
|
-
if (
|
|
2821
|
+
if (p.get("heatmap") === "true") try {
|
|
2822
|
+
if (p.get("type") === "yah") p.get("subtype") === "kiosk" ? await v({
|
|
2823
2823
|
dataUrl: "/api/kiosks/list/viewer",
|
|
2824
2824
|
dataMapper: (e) => ({
|
|
2825
2825
|
...e,
|
|
2826
2826
|
id: e.key,
|
|
2827
2827
|
name: `Kiosk ${e.key}`
|
|
2828
2828
|
})
|
|
2829
|
-
}) : await
|
|
2829
|
+
}) : await v({
|
|
2830
2830
|
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
2831
2831
|
dataMapper: (e, t) => ({
|
|
2832
2832
|
...e,
|
|
@@ -2834,10 +2834,10 @@ var Xa = class {
|
|
|
2834
2834
|
})
|
|
2835
2835
|
});
|
|
2836
2836
|
else {
|
|
2837
|
-
let e = new URL("/api/fp-stats/get",
|
|
2838
|
-
e.searchParams.set("expoId",
|
|
2839
|
-
let t = new URL("api/fp-stats/get",
|
|
2840
|
-
t.searchParams.set("expoId",
|
|
2837
|
+
let e = new URL("/api/fp-stats/get", m.origin);
|
|
2838
|
+
e.searchParams.set("expoId", _), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
2839
|
+
let t = new URL("api/fp-stats/get", m.origin);
|
|
2840
|
+
t.searchParams.set("expoId", _), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
2841
2841
|
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
2842
2842
|
window.__heatmapData = {
|
|
2843
2843
|
booths: i,
|
|
@@ -2848,40 +2848,40 @@ var Xa = class {
|
|
|
2848
2848
|
console.error("Heatmap: Initialization error", e);
|
|
2849
2849
|
}
|
|
2850
2850
|
try {
|
|
2851
|
-
let e =
|
|
2851
|
+
let e = s();
|
|
2852
2852
|
if (e) {
|
|
2853
|
-
|
|
2854
|
-
let t =
|
|
2853
|
+
o(e);
|
|
2854
|
+
let t = i("api/rebooking-data", {
|
|
2855
2855
|
rt: e,
|
|
2856
2856
|
expoKey: d
|
|
2857
2857
|
}), n = await fetch(t);
|
|
2858
|
-
n.ok &&
|
|
2858
|
+
n.ok && ot(f, await n.json()), f.isRebooking = n.ok;
|
|
2859
2859
|
} else f.isRebooking = !1;
|
|
2860
2860
|
} catch (e) {
|
|
2861
2861
|
console.error(e);
|
|
2862
2862
|
}
|
|
2863
|
-
let
|
|
2864
|
-
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2863
|
+
let y = [
|
|
2864
|
+
re(u + "vendor/sanitize-css/sanitize.css", g),
|
|
2865
|
+
re(u + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", g),
|
|
2866
|
+
re(u + "vendor/mapbox/mapbox-gl.css", g),
|
|
2867
|
+
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
2868
|
+
l("Oswald", u + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
2869
|
+
l("Inter", u + "fonts/inter-400.woff2", { weight: 400 }),
|
|
2870
|
+
l("Inter", u + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2871
|
+
l("Inter", u + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2872
|
+
l("efp-symbols", u + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2873
|
+
it(f, g),
|
|
2874
|
+
at(w.icons)
|
|
2875
2875
|
];
|
|
2876
|
-
await Promise.all(
|
|
2877
|
-
let { default:
|
|
2876
|
+
await Promise.all(y), w.enableRotation = (e = f == null ? void 0 : f.enableRotation) == null ? !1 : e, w.alwaysShowSidebar = (t = f == null ? void 0 : f.alwaysShowSidebar) == null ? !1 : t, c.log("Data loaded");
|
|
2877
|
+
let { default: b } = await import(
|
|
2878
2878
|
/* webpackChunkName: "floorplan" */
|
|
2879
|
-
"./floorplan.ready-
|
|
2879
|
+
"./floorplan.ready-CKD9LSug.js"
|
|
2880
2880
|
);
|
|
2881
|
-
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove());
|
|
2882
|
-
Object.setPrototypeOf(w,
|
|
2881
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); r.firstChild && r.firstChild !== h;) r.removeChild(r.firstChild);
|
|
2882
|
+
Object.setPrototypeOf(w, b.prototype).init();
|
|
2883
2883
|
})();
|
|
2884
2884
|
}
|
|
2885
2885
|
};
|
|
2886
2886
|
//#endregion
|
|
2887
|
-
export {
|
|
2887
|
+
export { $e as a, Gt as i, Z as n, q as r, Xa as t };
|