@expofp/floorplan 3.0.3 → 3.0.4
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-CqkxkIwX.js → CookieConsent-20OSplsa.js} +487 -485
- package/dist/browser/{Debug-Dks0egsG.js → Debug-DVY7QSH3.js} +11 -10
- package/dist/browser/{Demo-DBNmcPwz.js → Demo-qAITctPP.js} +12 -11
- package/dist/browser/{Free-BnsFOhog.js → Free-DAX07Faq.js} +14 -13
- package/dist/browser/{Gallery-D9sKC8mp.js → Gallery-BhQo5kwQ.js} +22 -21
- package/dist/browser/{GpsLoader-Dfum4xB9.js → GpsLoader-CiHW2urc.js} +32 -31
- package/dist/browser/{KioskStore-DnhZo-Ov.js → KioskStore-CwZLrrqy.js} +35 -35
- package/dist/browser/{Mapbox-BWK98Zf_.js → Mapbox-C65ZvpNQ.js} +9 -9
- package/dist/browser/{SetKioskMode-DPOCqSzq.js → SetKioskMode-C4z7Sz25.js} +8 -8
- package/dist/browser/{ShowKiosk-CWHtQFiJ.js → ShowKiosk-stxqqSB7.js} +10 -9
- package/dist/browser/{ThreeComponent-COgPMNab.js → ThreeComponent-BXwxseVE.js} +10 -9
- package/dist/browser/{TouchHand-Ky80pfba.js → TouchHand-Dz318pf9.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-DJ6pZIMD.js → ViewerMenuPanel-CAK4bMYg.js} +18 -17
- package/dist/browser/{add-debug-secret-listener-CXd4jWZG.js → add-debug-secret-listener-Bji6Xb0a.js} +1 -1
- package/dist/browser/{boolean-editor-SHR1RkFd.js → boolean-editor-D6nJvUln.js} +7 -7
- package/dist/browser/bundle.json +51 -39
- package/dist/browser/{chunk-DFRW9JAK.js → chunk-DtdTVMkx.js} +1 -1
- package/dist/browser/{classnames-D5RYoiaD.js → classnames-DLO4G2Aq.js} +2 -2
- package/dist/browser/{client-B-AFqibD.js → client-D4nNjEPG.js} +5 -5
- package/dist/browser/{data-BPNnd1Ub.js → data-RX6r34oF.js} +4 -4
- package/dist/browser/{debug-overlay-Dm7tnN3s.js → debug-overlay-rk1N_z9_.js} +9 -9
- package/dist/browser/{debug-ui-T7mEy9PT.js → debug-ui-DE0fncQV.js} +7 -7
- package/dist/browser/{dist-Bxi6YEB1.js → dist-tX7hWUmY.js} +6 -6
- package/dist/browser/exports-Pb-YuGCR.js +1495 -0
- package/dist/browser/{favicon-CDOxAL2U.js → favicon-DwSbd3PB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BBS0NAgY.js → fetch-retry.umd-BI9-HPVK.js} +2 -2
- package/dist/browser/{flex-CjUXae7J.js → flex-D-cGnQFh.js} +7 -7
- package/dist/browser/floorplan.loader-C01OVaKo.js +2830 -0
- package/dist/browser/{floorplan.ready-Vi6d8S_t.js → floorplan.ready-BIdCL_qu.js} +41 -38
- package/dist/browser/{fuse-B9KABHXb.js → fuse-DXAWz_SJ.js} +2 -2
- package/dist/browser/index.js +61 -10535
- package/dist/browser/is-debug-2b59TgVY.js +5901 -0
- package/dist/browser/{jsx-runtime-EyUcoQPo.js → jsx-runtime-BQn2tbwC.js} +2 -2
- package/dist/browser/{lib-DCBNlykb.js → lib-D4g_-i_A.js} +5 -5
- package/dist/browser/{main-DoISipn5.js → main-C7b3KFSJ.js} +1 -1
- package/dist/browser/mobx-Cl5IBMNd.js +24 -0
- package/dist/browser/{particles.min-CBF3r8H5.js → particles.min-fCrqBF0H.js} +2 -2
- package/dist/browser/{prop-types-bwVnWQ95.js → prop-types-CBcnHoAH.js} +2 -2
- package/dist/browser/react-CuflrHKC.js +301 -0
- package/dist/browser/{react-dom-DNErX4mG.js → react-dom-C7lq59RX.js} +4 -4
- package/dist/browser/{reset-all-settings-BP45RcR6.js → reset-all-settings-DbcfYPlT.js} +1 -1
- package/dist/browser/{settings-Dbk4UG1-.js → settings-CgR5mVuh.js} +7 -7
- package/dist/browser/{src-C46xGkrC.js → src-C9-vYgd8.js} +5 -5
- package/dist/browser/{store-COH1sU9Z.js → store-BCWrifaL.js} +2788 -2787
- package/dist/browser/{ui-CmIShfKe.js → ui-BUETQfZK.js} +7 -7
- package/package.json +3 -3
- package/dist/browser/mobx-DezH6kY5.js +0 -23
|
@@ -0,0 +1,2830 @@
|
|
|
1
|
+
(function() {
|
|
2
|
+
try {
|
|
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.0.4" };
|
|
5
|
+
var t = new e.Error().stack;
|
|
6
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "bc361aa5-ce55-4f8d-be46-a1a6848b52e3", e._sentryDebugIdIdentifier = "sentry-dbid-bc361aa5-ce55-4f8d-be46-a1a6848b52e3");
|
|
7
|
+
} catch {}
|
|
8
|
+
})();
|
|
9
|
+
import { r as e } from "./chunk-DtdTVMkx.js";
|
|
10
|
+
import { A as t, B as n, G as r, H as i, J as a, K as o, Tt as s, V as c, Y as l, d as u, n as d, r as ee, s as te, t as f, z as ne } from "./is-debug-2b59TgVY.js";
|
|
11
|
+
import { $ as p, A as m, B as h, C as g, D as _, E as v, F as y, G as re, H as b, I as x, J as ie, K as S, L as C, M as ae, N as w, O as oe, P as se, Q as ce, R as le, S as ue, T as de, U as fe, V as pe, W as me, X as he, Y as ge, Z as _e, _ as T, _t as E, a as ve, at as ye, b as be, c as xe, ct as D, d as Se, dt as Ce, et as we, f as Te, ft as O, g as Ee, gt as De, h as Oe, ht as ke, it as k, j as Ae, k as A, l as je, lt as Me, m as Ne, mt as Pe, n as Fe, nt as Ie, o as Le, ot as Re, 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 Ye, v as Xe, vt as j, w as Ze, x as M, y as Qe, z as $e } from "./exports-Pb-YuGCR.js";
|
|
12
|
+
import { t as et } from "./react-CuflrHKC.js";
|
|
13
|
+
//#region src/tools/report-error.ts
|
|
14
|
+
var tt;
|
|
15
|
+
function nt(e) {
|
|
16
|
+
tt || e.filename.indexOf("expofp.com") === -1 || [
|
|
17
|
+
/loading chunk \d{1,2}\b/i,
|
|
18
|
+
/zaloJS/i,
|
|
19
|
+
/e.target.name/i,
|
|
20
|
+
/ResizeObserver loop/i,
|
|
21
|
+
/ChunkLoadError/i,
|
|
22
|
+
/FloorPlan not ready/i
|
|
23
|
+
].some((t) => t.test(e.message)) || (tt = window.setTimeout(async function() {
|
|
24
|
+
var t;
|
|
25
|
+
let n = navigator.languages && navigator.languages.length ? navigator.languages[0] : navigator.language, r = {
|
|
26
|
+
host: document.location.host,
|
|
27
|
+
message: e.message,
|
|
28
|
+
filename: e.filename,
|
|
29
|
+
lineno: e.lineno,
|
|
30
|
+
colno: e.colno,
|
|
31
|
+
stack: (t = e.error) == null ? void 0 : t.stack,
|
|
32
|
+
log: s.messages.join("\n"),
|
|
33
|
+
userAgent: navigator.userAgent,
|
|
34
|
+
language: n,
|
|
35
|
+
group: "FP",
|
|
36
|
+
url: document.location,
|
|
37
|
+
subject: "FP JS error: " + document.location.host
|
|
38
|
+
};
|
|
39
|
+
s.info("Sending error report", r), await Promise.all([rt(r), it(r)]);
|
|
40
|
+
}, 2e3));
|
|
41
|
+
}
|
|
42
|
+
async function rt(e) {
|
|
43
|
+
let t = await fetch("https://app.expofp.com/api/report-error", {
|
|
44
|
+
method: "POST",
|
|
45
|
+
headers: { "Content-Type": "application/json" },
|
|
46
|
+
body: JSON.stringify(e)
|
|
47
|
+
});
|
|
48
|
+
s.log("Reporter response: ", await t.text());
|
|
49
|
+
}
|
|
50
|
+
async function it(e) {
|
|
51
|
+
let t = at(e), n = await fetch("https://msg.expofp.com/v1/post-message/" + window.location.hostname, {
|
|
52
|
+
method: "POST",
|
|
53
|
+
headers: { "Content-Type": "application/json" },
|
|
54
|
+
body: JSON.stringify(t)
|
|
55
|
+
});
|
|
56
|
+
s.log("Slack reporter response: ", await n.text());
|
|
57
|
+
}
|
|
58
|
+
function at(e) {
|
|
59
|
+
let t = JSON.parse(JSON.stringify(e));
|
|
60
|
+
delete t.subject, delete t.message, delete t.stack, delete t.log;
|
|
61
|
+
let n = [];
|
|
62
|
+
return n.push({
|
|
63
|
+
type: "section",
|
|
64
|
+
text: {
|
|
65
|
+
type: "mrkdwn",
|
|
66
|
+
text: `:warning:* ${e.subject}*`
|
|
67
|
+
}
|
|
68
|
+
}), n.push({
|
|
69
|
+
type: "section",
|
|
70
|
+
text: {
|
|
71
|
+
type: "plain_text",
|
|
72
|
+
text: e.message + " → " + (e.stack || "").split("\n")[0]
|
|
73
|
+
}
|
|
74
|
+
}), {
|
|
75
|
+
channel: "#fp-errors",
|
|
76
|
+
username: "error-reporter-bot",
|
|
77
|
+
type: "mrkdwn",
|
|
78
|
+
text: e.subject,
|
|
79
|
+
blocks: n
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
//#endregion
|
|
83
|
+
//#region src/utils/loadCustomCss.ts
|
|
84
|
+
async function ot(e, t) {
|
|
85
|
+
if (e != null && e.customCss) {
|
|
86
|
+
let r = document.createElement("style");
|
|
87
|
+
r.textContent = e.customCss, t.append(r), await n(e.customCss);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
//#endregion
|
|
91
|
+
//#region src/utils/loadIcons.ts
|
|
92
|
+
async function st(e) {
|
|
93
|
+
try {
|
|
94
|
+
(await Promise.allSettled(Object.entries({
|
|
95
|
+
departure: "icons/departure.svg",
|
|
96
|
+
destination: "icons/destination.svg",
|
|
97
|
+
direction: "icons/direction.svg",
|
|
98
|
+
transition: "icons/transition.svg",
|
|
99
|
+
transition_up: "icons/transition_up.svg",
|
|
100
|
+
transition_down: "icons/transition_down.svg",
|
|
101
|
+
kiosk: "icons/kiosk.svg",
|
|
102
|
+
yah: "icons/yah.svg"
|
|
103
|
+
}).map(([e, t]) => d(l + t).then((t) => [e, t])))).filter((e) => e.status === "fulfilled").map((e) => e.value).forEach(([t, n]) => e.set(t, n));
|
|
104
|
+
} catch (e) {
|
|
105
|
+
console.warn(e);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
//#endregion
|
|
109
|
+
//#region src/utils/mergeExhibitors.ts
|
|
110
|
+
function ct(e, t) {
|
|
111
|
+
t.exhibitors.forEach((t) => {
|
|
112
|
+
let n = e.exhibitors.find((e) => e.id === t.id);
|
|
113
|
+
n && (n.rebookingState = t.rebookingState, n.rebookingNote = t.rebookingNote);
|
|
114
|
+
});
|
|
115
|
+
}
|
|
116
|
+
//#endregion
|
|
117
|
+
//#region src/utils/use-shadow.ts
|
|
118
|
+
var lt, ut = typeof document < "u" && !!((lt = document.body) != null && lt.attachShadow) && u && localStorage.getItem("noShadowDom") !== "1" && window.FontFace !== void 0, { hostname: N, protocol: dt } = window.location, ft = N === "localhost" || N === "127.0.0.1" || N === "::1" || N.startsWith("192.168.") || N.startsWith("10.") || /^172\.(1[6-9]|2[0-9]|3[0-1])\./.test(N) || N.endsWith(".local") || dt === "file:" || N === "", P = {}, pt = {};
|
|
119
|
+
function F(e, t) {
|
|
120
|
+
P[e] = P[e] || [], P[e].push(t);
|
|
121
|
+
}
|
|
122
|
+
function I(e, t) {
|
|
123
|
+
if (!pt[e]) {
|
|
124
|
+
pt[e] = !0;
|
|
125
|
+
try {
|
|
126
|
+
t();
|
|
127
|
+
} catch (t) {
|
|
128
|
+
j && O.error(`Error while instrumenting ${e}`, t);
|
|
129
|
+
}
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
function L(e, t) {
|
|
133
|
+
let n = e && P[e];
|
|
134
|
+
if (n) for (let r of n) try {
|
|
135
|
+
r(t);
|
|
136
|
+
} catch (t) {
|
|
137
|
+
j && O.error(`Error while triggering instrumentation handler.\nType: ${e}\nName: ${D(r)}\nError:`, t);
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
//#endregion
|
|
141
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/globalError.js
|
|
142
|
+
var mt = null;
|
|
143
|
+
function ht(e) {
|
|
144
|
+
let t = "error";
|
|
145
|
+
F(t, e), I(t, gt);
|
|
146
|
+
}
|
|
147
|
+
function gt() {
|
|
148
|
+
mt = E.onerror, E.onerror = function(e, t, n, r, i) {
|
|
149
|
+
return L("error", {
|
|
150
|
+
column: r,
|
|
151
|
+
error: i,
|
|
152
|
+
line: n,
|
|
153
|
+
msg: e,
|
|
154
|
+
url: t
|
|
155
|
+
}), mt ? mt.apply(this, arguments) : !1;
|
|
156
|
+
}, E.onerror.__SENTRY_INSTRUMENTED__ = !0;
|
|
157
|
+
}
|
|
158
|
+
//#endregion
|
|
159
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/globalUnhandledRejection.js
|
|
160
|
+
var _t = null;
|
|
161
|
+
function vt(e) {
|
|
162
|
+
let t = "unhandledrejection";
|
|
163
|
+
F(t, e), I(t, yt);
|
|
164
|
+
}
|
|
165
|
+
function yt() {
|
|
166
|
+
_t = E.onunhandledrejection, E.onunhandledrejection = function(e) {
|
|
167
|
+
return L("unhandledrejection", e), _t ? _t.apply(this, arguments) : !0;
|
|
168
|
+
}, E.onunhandledrejection.__SENTRY_INSTRUMENTED__ = !0;
|
|
169
|
+
}
|
|
170
|
+
//#endregion
|
|
171
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/parseSampleRate.js
|
|
172
|
+
function bt(e) {
|
|
173
|
+
if (typeof e == "boolean") return Number(e);
|
|
174
|
+
let t = typeof e == "string" ? parseFloat(e) : e;
|
|
175
|
+
if (!(typeof t != "number" || isNaN(t) || t < 0 || t > 1)) return t;
|
|
176
|
+
}
|
|
177
|
+
//#endregion
|
|
178
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/should-ignore-span.js
|
|
179
|
+
function xt(e) {
|
|
180
|
+
O.log(`Ignoring span ${e.op} - ${e.description} because it matches \`ignoreSpans\`.`);
|
|
181
|
+
}
|
|
182
|
+
function St(e, t) {
|
|
183
|
+
if (!(t != null && t.length) || !e.description) return !1;
|
|
184
|
+
for (let n of t) {
|
|
185
|
+
if (wt(n)) {
|
|
186
|
+
if (y(e.description, n)) return j && xt(e), !0;
|
|
187
|
+
continue;
|
|
188
|
+
}
|
|
189
|
+
if (!n.name && !n.op) continue;
|
|
190
|
+
let t = n.name ? y(e.description, n.name) : !0, r = n.op ? e.op && y(e.op, n.op) : !0;
|
|
191
|
+
if (t && r) return j && xt(e), !0;
|
|
192
|
+
}
|
|
193
|
+
return !1;
|
|
194
|
+
}
|
|
195
|
+
function Ct(e, t) {
|
|
196
|
+
let n = t.parent_span_id, r = t.span_id;
|
|
197
|
+
if (n) for (let t of e) t.parent_span_id === r && (t.parent_span_id = n);
|
|
198
|
+
}
|
|
199
|
+
function wt(e) {
|
|
200
|
+
return typeof e == "string" || e instanceof RegExp;
|
|
201
|
+
}
|
|
202
|
+
//#endregion
|
|
203
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
204
|
+
function R(e, t = []) {
|
|
205
|
+
return [e, t];
|
|
206
|
+
}
|
|
207
|
+
function Tt(e, t) {
|
|
208
|
+
let [n, r] = e;
|
|
209
|
+
return [n, [...r, t]];
|
|
210
|
+
}
|
|
211
|
+
function Et(e, t) {
|
|
212
|
+
let n = e[1];
|
|
213
|
+
for (let e of n) {
|
|
214
|
+
let n = e[0].type;
|
|
215
|
+
if (t(e, n)) return !0;
|
|
216
|
+
}
|
|
217
|
+
return !1;
|
|
218
|
+
}
|
|
219
|
+
function Dt(e, t) {
|
|
220
|
+
return Et(e, (e, n) => t.includes(n));
|
|
221
|
+
}
|
|
222
|
+
function Ot(e) {
|
|
223
|
+
let t = ke(E);
|
|
224
|
+
return t.encodePolyfill ? t.encodePolyfill(e) : new TextEncoder().encode(e);
|
|
225
|
+
}
|
|
226
|
+
function kt(e) {
|
|
227
|
+
let [t, n] = e, r = JSON.stringify(t);
|
|
228
|
+
function i(e) {
|
|
229
|
+
typeof r == "string" ? r = typeof e == "string" ? r + e : [Ot(r), e] : r.push(typeof e == "string" ? Ot(e) : e);
|
|
230
|
+
}
|
|
231
|
+
for (let e of n) {
|
|
232
|
+
let [t, n] = e;
|
|
233
|
+
if (i(`\n${JSON.stringify(t)}\n`), typeof n == "string" || n instanceof Uint8Array) i(n);
|
|
234
|
+
else {
|
|
235
|
+
let e;
|
|
236
|
+
try {
|
|
237
|
+
e = JSON.stringify(n);
|
|
238
|
+
} catch {
|
|
239
|
+
e = JSON.stringify(Te(n));
|
|
240
|
+
}
|
|
241
|
+
i(e);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
return typeof r == "string" ? r : At(r);
|
|
245
|
+
}
|
|
246
|
+
function At(e) {
|
|
247
|
+
let t = e.reduce((e, t) => e + t.length, 0), n = new Uint8Array(t), r = 0;
|
|
248
|
+
for (let t of e) n.set(t, r), r += t.length;
|
|
249
|
+
return n;
|
|
250
|
+
}
|
|
251
|
+
function jt(e) {
|
|
252
|
+
let t = typeof e.data == "string" ? Ot(e.data) : e.data;
|
|
253
|
+
return [{
|
|
254
|
+
type: "attachment",
|
|
255
|
+
length: t.length,
|
|
256
|
+
filename: e.filename,
|
|
257
|
+
content_type: e.contentType,
|
|
258
|
+
attachment_type: e.attachmentType
|
|
259
|
+
}, t];
|
|
260
|
+
}
|
|
261
|
+
var Mt = {
|
|
262
|
+
session: "session",
|
|
263
|
+
sessions: "session",
|
|
264
|
+
attachment: "attachment",
|
|
265
|
+
transaction: "transaction",
|
|
266
|
+
event: "error",
|
|
267
|
+
client_report: "internal",
|
|
268
|
+
user_report: "default",
|
|
269
|
+
profile: "profile",
|
|
270
|
+
profile_chunk: "profile",
|
|
271
|
+
replay_event: "replay",
|
|
272
|
+
replay_recording: "replay",
|
|
273
|
+
check_in: "monitor",
|
|
274
|
+
feedback: "feedback",
|
|
275
|
+
span: "span",
|
|
276
|
+
raw_security: "security",
|
|
277
|
+
log: "log_item",
|
|
278
|
+
metric: "metric",
|
|
279
|
+
trace_metric: "metric"
|
|
280
|
+
};
|
|
281
|
+
function Nt(e) {
|
|
282
|
+
return Mt[e];
|
|
283
|
+
}
|
|
284
|
+
function Pt(e) {
|
|
285
|
+
if (!(e != null && e.sdk)) return;
|
|
286
|
+
let { name: t, version: n } = e.sdk;
|
|
287
|
+
return {
|
|
288
|
+
name: t,
|
|
289
|
+
version: n
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
function Ft(e, t, n, r) {
|
|
293
|
+
var i;
|
|
294
|
+
let a = (i = e.sdkProcessingMetadata) == null ? void 0 : i.dynamicSamplingContext;
|
|
295
|
+
return {
|
|
296
|
+
event_id: e.event_id,
|
|
297
|
+
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
298
|
+
...t && { sdk: t },
|
|
299
|
+
...!!n && r && { dsn: T(r) },
|
|
300
|
+
...a && { trace: a }
|
|
301
|
+
};
|
|
302
|
+
}
|
|
303
|
+
//#endregion
|
|
304
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/envelope.js
|
|
305
|
+
function It(e, t) {
|
|
306
|
+
var n, r, i, a;
|
|
307
|
+
if (!t) return e;
|
|
308
|
+
let o = e.sdk || {};
|
|
309
|
+
return e.sdk = {
|
|
310
|
+
...o,
|
|
311
|
+
name: o.name || t.name,
|
|
312
|
+
version: o.version || t.version,
|
|
313
|
+
integrations: [...((n = e.sdk) == null ? void 0 : n.integrations) || [], ...t.integrations || []],
|
|
314
|
+
packages: [...((r = e.sdk) == null ? void 0 : r.packages) || [], ...t.packages || []],
|
|
315
|
+
settings: (i = e.sdk) != null && i.settings || t.settings ? {
|
|
316
|
+
...(a = e.sdk) == null ? void 0 : a.settings,
|
|
317
|
+
...t.settings
|
|
318
|
+
} : void 0
|
|
319
|
+
}, e;
|
|
320
|
+
}
|
|
321
|
+
function Lt(e, t, n, r) {
|
|
322
|
+
let i = Pt(n);
|
|
323
|
+
return R({
|
|
324
|
+
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
325
|
+
...i && { sdk: i },
|
|
326
|
+
...!!r && t && { dsn: T(t) }
|
|
327
|
+
}, ["aggregates" in e ? [{ type: "sessions" }, e] : [{ type: "session" }, e.toJSON()]]);
|
|
328
|
+
}
|
|
329
|
+
function Rt(e, t, n, r) {
|
|
330
|
+
let i = Pt(n), a = e.type && e.type !== "replay_event" ? e.type : "event";
|
|
331
|
+
It(e, n == null ? void 0 : n.sdk);
|
|
332
|
+
let o = Ft(e, i, r, t);
|
|
333
|
+
return delete e.sdkProcessingMetadata, R(o, [[{ type: a }, e]]);
|
|
334
|
+
}
|
|
335
|
+
//#endregion
|
|
336
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/api.js
|
|
337
|
+
var zt = "7";
|
|
338
|
+
function Bt(e) {
|
|
339
|
+
let t = e.protocol ? `${e.protocol}:` : "", n = e.port ? `:${e.port}` : "";
|
|
340
|
+
return `${t}//${e.host}${n}${e.path ? `/${e.path}` : ""}/api/`;
|
|
341
|
+
}
|
|
342
|
+
function Vt(e) {
|
|
343
|
+
return `${Bt(e)}${e.projectId}/envelope/`;
|
|
344
|
+
}
|
|
345
|
+
function Ht(e, t) {
|
|
346
|
+
let n = { sentry_version: zt };
|
|
347
|
+
return e.publicKey && (n.sentry_key = e.publicKey), t && (n.sentry_client = `${t.name}/${t.version}`), new URLSearchParams(n).toString();
|
|
348
|
+
}
|
|
349
|
+
function Ut(e, t, n) {
|
|
350
|
+
return t || `${Vt(e)}?${Ht(e, n)}`;
|
|
351
|
+
}
|
|
352
|
+
function Wt(e, t) {
|
|
353
|
+
let n = Xe(e);
|
|
354
|
+
if (!n) return "";
|
|
355
|
+
let r = `${Bt(n)}embed/error-page/`, i = `dsn=${T(n)}`;
|
|
356
|
+
for (let e in t) if (e !== "dsn" && e !== "onClose") if (e === "user") {
|
|
357
|
+
let e = t.user;
|
|
358
|
+
if (!e) continue;
|
|
359
|
+
e.name && (i += `&name=${encodeURIComponent(e.name)}`), e.email && (i += `&email=${encodeURIComponent(e.email)}`);
|
|
360
|
+
} else i += `&${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`;
|
|
361
|
+
return `${r}?${i}`;
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integration.js
|
|
365
|
+
var Gt = [];
|
|
366
|
+
function Kt(e) {
|
|
367
|
+
let t = {};
|
|
368
|
+
return e.forEach((e) => {
|
|
369
|
+
let { name: n } = e, r = t[n];
|
|
370
|
+
r && !r.isDefaultInstance && e.isDefaultInstance || (t[n] = e);
|
|
371
|
+
}), Object.values(t);
|
|
372
|
+
}
|
|
373
|
+
function qt(e) {
|
|
374
|
+
let t = e.defaultIntegrations || [], n = e.integrations;
|
|
375
|
+
t.forEach((e) => {
|
|
376
|
+
e.isDefaultInstance = !0;
|
|
377
|
+
});
|
|
378
|
+
let r;
|
|
379
|
+
if (Array.isArray(n)) r = [...t, ...n];
|
|
380
|
+
else if (typeof n == "function") {
|
|
381
|
+
let e = n(t);
|
|
382
|
+
r = Array.isArray(e) ? e : [e];
|
|
383
|
+
} else r = t;
|
|
384
|
+
return Kt(r);
|
|
385
|
+
}
|
|
386
|
+
function Jt(e, t) {
|
|
387
|
+
let n = {};
|
|
388
|
+
return t.forEach((t) => {
|
|
389
|
+
t && Xt(e, t, n);
|
|
390
|
+
}), n;
|
|
391
|
+
}
|
|
392
|
+
function Yt(e, t) {
|
|
393
|
+
for (let n of t) n != null && n.afterAllSetup && n.afterAllSetup(e);
|
|
394
|
+
}
|
|
395
|
+
function Xt(e, t, n) {
|
|
396
|
+
if (n[t.name]) {
|
|
397
|
+
j && O.log(`Integration skipped because it was already installed: ${t.name}`);
|
|
398
|
+
return;
|
|
399
|
+
}
|
|
400
|
+
if (n[t.name] = t, !Gt.includes(t.name) && typeof t.setupOnce == "function" && (t.setupOnce(), Gt.push(t.name)), t.setup && typeof t.setup == "function" && t.setup(e), typeof t.preprocessEvent == "function") {
|
|
401
|
+
let n = t.preprocessEvent.bind(t);
|
|
402
|
+
e.on("preprocessEvent", (t, r) => n(t, r, e));
|
|
403
|
+
}
|
|
404
|
+
if (typeof t.processEvent == "function") {
|
|
405
|
+
let n = t.processEvent.bind(t), r = Object.assign((t, r) => n(t, r, e), { id: t.name });
|
|
406
|
+
e.addEventProcessor(r);
|
|
407
|
+
}
|
|
408
|
+
j && O.log(`Integration installed: ${t.name}`);
|
|
409
|
+
}
|
|
410
|
+
function z(e) {
|
|
411
|
+
return e;
|
|
412
|
+
}
|
|
413
|
+
//#endregion
|
|
414
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/logs/envelope.js
|
|
415
|
+
function Zt(e) {
|
|
416
|
+
return [{
|
|
417
|
+
type: "log",
|
|
418
|
+
item_count: e.length,
|
|
419
|
+
content_type: "application/vnd.sentry.items.log+json"
|
|
420
|
+
}, { items: e }];
|
|
421
|
+
}
|
|
422
|
+
function Qt(e, t, n, r) {
|
|
423
|
+
let i = {};
|
|
424
|
+
return t != null && t.sdk && (i.sdk = {
|
|
425
|
+
name: t.sdk.name,
|
|
426
|
+
version: t.sdk.version
|
|
427
|
+
}), n && r && (i.dsn = T(r)), R(i, [Zt(e)]);
|
|
428
|
+
}
|
|
429
|
+
//#endregion
|
|
430
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/logs/internal.js
|
|
431
|
+
function $t(e, t) {
|
|
432
|
+
var n;
|
|
433
|
+
let r = (n = t == null ? en(e) : t) == null ? [] : n;
|
|
434
|
+
if (r.length === 0) return;
|
|
435
|
+
let i = e.getOptions(), a = Qt(r, i._metadata, i.tunnel, e.getDsn());
|
|
436
|
+
tn().set(e, []), e.emit("flushLogs"), e.sendEnvelope(a);
|
|
437
|
+
}
|
|
438
|
+
function en(e) {
|
|
439
|
+
return tn().get(e);
|
|
440
|
+
}
|
|
441
|
+
function tn() {
|
|
442
|
+
return Pe("clientToLogBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
443
|
+
}
|
|
444
|
+
//#endregion
|
|
445
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/metrics/envelope.js
|
|
446
|
+
function nn(e) {
|
|
447
|
+
return [{
|
|
448
|
+
type: "trace_metric",
|
|
449
|
+
item_count: e.length,
|
|
450
|
+
content_type: "application/vnd.sentry.items.trace-metric+json"
|
|
451
|
+
}, { items: e }];
|
|
452
|
+
}
|
|
453
|
+
function rn(e, t, n, r) {
|
|
454
|
+
let i = {};
|
|
455
|
+
return t != null && t.sdk && (i.sdk = {
|
|
456
|
+
name: t.sdk.name,
|
|
457
|
+
version: t.sdk.version
|
|
458
|
+
}), n && r && (i.dsn = T(r)), R(i, [nn(e)]);
|
|
459
|
+
}
|
|
460
|
+
//#endregion
|
|
461
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/metrics/internal.js
|
|
462
|
+
function an(e, t) {
|
|
463
|
+
var n;
|
|
464
|
+
let r = (n = t == null ? on(e) : t) == null ? [] : n;
|
|
465
|
+
if (r.length === 0) return;
|
|
466
|
+
let i = e.getOptions(), a = rn(r, i._metadata, i.tunnel, e.getDsn());
|
|
467
|
+
sn().set(e, []), e.emit("flushMetrics"), e.sendEnvelope(a);
|
|
468
|
+
}
|
|
469
|
+
function on(e) {
|
|
470
|
+
return sn().get(e);
|
|
471
|
+
}
|
|
472
|
+
function sn() {
|
|
473
|
+
return Pe("clientToMetricBufferMap", () => /* @__PURE__ */ new WeakMap());
|
|
474
|
+
}
|
|
475
|
+
//#endregion
|
|
476
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/promisebuffer.js
|
|
477
|
+
var cn = Symbol.for("SentryBufferFullError");
|
|
478
|
+
function ln(e = 100) {
|
|
479
|
+
let t = /* @__PURE__ */ new Set();
|
|
480
|
+
function n() {
|
|
481
|
+
return t.size < e;
|
|
482
|
+
}
|
|
483
|
+
function r(e) {
|
|
484
|
+
t.delete(e);
|
|
485
|
+
}
|
|
486
|
+
function i(e) {
|
|
487
|
+
if (!n()) return Je(cn);
|
|
488
|
+
let i = e();
|
|
489
|
+
return t.add(i), i.then(() => r(i), () => r(i)), i;
|
|
490
|
+
}
|
|
491
|
+
function a(e) {
|
|
492
|
+
if (!t.size) return Se(!0);
|
|
493
|
+
let n = Promise.allSettled(Array.from(t)).then(() => !0);
|
|
494
|
+
if (!e) return n;
|
|
495
|
+
let r = [n, new Promise((t) => setTimeout(() => t(!1), e))];
|
|
496
|
+
return Promise.race(r);
|
|
497
|
+
}
|
|
498
|
+
return {
|
|
499
|
+
get $() {
|
|
500
|
+
return Array.from(t);
|
|
501
|
+
},
|
|
502
|
+
add: i,
|
|
503
|
+
drain: a
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
508
|
+
var un = 60 * 1e3;
|
|
509
|
+
function dn(e, t = le()) {
|
|
510
|
+
let n = parseInt(`${e}`, 10);
|
|
511
|
+
if (!isNaN(n)) return n * 1e3;
|
|
512
|
+
let r = Date.parse(`${e}`);
|
|
513
|
+
return isNaN(r) ? un : r - t;
|
|
514
|
+
}
|
|
515
|
+
function fn(e, t) {
|
|
516
|
+
return e[t] || e.all || 0;
|
|
517
|
+
}
|
|
518
|
+
function pn(e, t, n = le()) {
|
|
519
|
+
return fn(e, t) > n;
|
|
520
|
+
}
|
|
521
|
+
function mn(e, { statusCode: t, headers: n }, r = le()) {
|
|
522
|
+
let i = { ...e }, a = n == null ? void 0 : n["x-sentry-rate-limits"], o = n == null ? void 0 : n["retry-after"];
|
|
523
|
+
if (a) for (let e of a.trim().split(",")) {
|
|
524
|
+
let [t, n, , , a] = e.split(":", 5), o = parseInt(t, 10), s = (isNaN(o) ? 60 : o) * 1e3;
|
|
525
|
+
if (!n) i.all = r + s;
|
|
526
|
+
else for (let e of n.split(";")) e === "metric_bucket" ? (!a || a.split(";").includes("custom")) && (i[e] = r + s) : i[e] = r + s;
|
|
527
|
+
}
|
|
528
|
+
else o ? i.all = r + dn(o, r) : t === 429 && (i.all = r + 60 * 1e3);
|
|
529
|
+
return i;
|
|
530
|
+
}
|
|
531
|
+
function hn(e, t, n = ln(e.bufferSize || 64)) {
|
|
532
|
+
let r = {}, i = (e) => n.drain(e);
|
|
533
|
+
function a(i) {
|
|
534
|
+
let a = [];
|
|
535
|
+
if (Et(i, (t, n) => {
|
|
536
|
+
let i = Nt(n);
|
|
537
|
+
pn(r, i) ? e.recordDroppedEvent("ratelimit_backoff", i) : a.push(t);
|
|
538
|
+
}), a.length === 0) return Promise.resolve({});
|
|
539
|
+
let o = R(i[0], a), s = (t) => {
|
|
540
|
+
if (Dt(o, ["client_report"])) {
|
|
541
|
+
j && O.warn(`Dropping client report. Will not send outcomes (reason: ${t}).`);
|
|
542
|
+
return;
|
|
543
|
+
}
|
|
544
|
+
Et(o, (n, r) => {
|
|
545
|
+
e.recordDroppedEvent(t, Nt(r));
|
|
546
|
+
});
|
|
547
|
+
};
|
|
548
|
+
return n.add(() => t({ body: kt(o) }).then((e) => (e.statusCode !== void 0 && (e.statusCode < 200 || e.statusCode >= 300) && j && O.warn(`Sentry responded with status code ${e.statusCode} to sent event.`), r = mn(r, e), e), (e) => {
|
|
549
|
+
throw s("network_error"), j && O.error("Encountered error running transport request:", e), e;
|
|
550
|
+
})).then((e) => e, (e) => {
|
|
551
|
+
if (e === cn) return j && O.error("Skipped sending event because buffer is full."), s("queue_overflow"), Promise.resolve({});
|
|
552
|
+
throw e;
|
|
553
|
+
});
|
|
554
|
+
}
|
|
555
|
+
return {
|
|
556
|
+
send: a,
|
|
557
|
+
flush: i
|
|
558
|
+
};
|
|
559
|
+
}
|
|
560
|
+
//#endregion
|
|
561
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/clientreport.js
|
|
562
|
+
function gn(e, t, n) {
|
|
563
|
+
let r = [{ type: "client_report" }, {
|
|
564
|
+
timestamp: n || oe(),
|
|
565
|
+
discarded_events: e
|
|
566
|
+
}];
|
|
567
|
+
return R(t ? { dsn: t } : {}, [r]);
|
|
568
|
+
}
|
|
569
|
+
//#endregion
|
|
570
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/eventUtils.js
|
|
571
|
+
function _n(e) {
|
|
572
|
+
let t = [];
|
|
573
|
+
e.message && t.push(e.message);
|
|
574
|
+
try {
|
|
575
|
+
let n = e.exception.values[e.exception.values.length - 1];
|
|
576
|
+
n != null && n.value && (t.push(n.value), n.type && t.push(`${n.type}: ${n.value}`));
|
|
577
|
+
} catch {}
|
|
578
|
+
return t;
|
|
579
|
+
}
|
|
580
|
+
//#endregion
|
|
581
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/transactionEvent.js
|
|
582
|
+
function vn(e) {
|
|
583
|
+
var t, n, r;
|
|
584
|
+
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;
|
|
585
|
+
return {
|
|
586
|
+
data: l == null ? {} : l,
|
|
587
|
+
description: e.transaction,
|
|
588
|
+
op: u,
|
|
589
|
+
parent_span_id: a,
|
|
590
|
+
span_id: o == null ? "" : o,
|
|
591
|
+
start_timestamp: (r = e.start_timestamp) == null ? 0 : r,
|
|
592
|
+
status: s,
|
|
593
|
+
timestamp: e.timestamp,
|
|
594
|
+
trace_id: i == null ? "" : i,
|
|
595
|
+
origin: c,
|
|
596
|
+
profile_id: l == null ? void 0 : l[be],
|
|
597
|
+
exclusive_time: l == null ? void 0 : l[Qe],
|
|
598
|
+
measurements: e.measurements,
|
|
599
|
+
is_segment: !0
|
|
600
|
+
};
|
|
601
|
+
}
|
|
602
|
+
function yn(e) {
|
|
603
|
+
return {
|
|
604
|
+
type: "transaction",
|
|
605
|
+
timestamp: e.timestamp,
|
|
606
|
+
start_timestamp: e.start_timestamp,
|
|
607
|
+
transaction: e.description,
|
|
608
|
+
contexts: { trace: {
|
|
609
|
+
trace_id: e.trace_id,
|
|
610
|
+
span_id: e.span_id,
|
|
611
|
+
parent_span_id: e.parent_span_id,
|
|
612
|
+
op: e.op,
|
|
613
|
+
status: e.status,
|
|
614
|
+
origin: e.origin,
|
|
615
|
+
data: {
|
|
616
|
+
...e.data,
|
|
617
|
+
...e.profile_id && { "sentry.profile_id": e.profile_id },
|
|
618
|
+
...e.exclusive_time && { "sentry.exclusive_time": e.exclusive_time }
|
|
619
|
+
}
|
|
620
|
+
} },
|
|
621
|
+
measurements: e.measurements
|
|
622
|
+
};
|
|
623
|
+
}
|
|
624
|
+
//#endregion
|
|
625
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/client.js
|
|
626
|
+
var bn = "Not capturing exception because it's already been captured.", xn = "Discarded session because of missing or non-string release", Sn = Symbol.for("SentryInternalError"), Cn = Symbol.for("SentryDoNotSendEventError"), wn = 5e3;
|
|
627
|
+
function B(e) {
|
|
628
|
+
return {
|
|
629
|
+
message: e,
|
|
630
|
+
[Sn]: !0
|
|
631
|
+
};
|
|
632
|
+
}
|
|
633
|
+
function Tn(e) {
|
|
634
|
+
return {
|
|
635
|
+
message: e,
|
|
636
|
+
[Cn]: !0
|
|
637
|
+
};
|
|
638
|
+
}
|
|
639
|
+
function En(e) {
|
|
640
|
+
return !!e && typeof e == "object" && Sn in e;
|
|
641
|
+
}
|
|
642
|
+
function Dn(e) {
|
|
643
|
+
return !!e && typeof e == "object" && Cn in e;
|
|
644
|
+
}
|
|
645
|
+
function On(e, t, n, r, i) {
|
|
646
|
+
let a = 0, o, s = !1;
|
|
647
|
+
e.on(n, () => {
|
|
648
|
+
a = 0, clearTimeout(o), s = !1;
|
|
649
|
+
}), e.on(t, (t) => {
|
|
650
|
+
a += r(t), a >= 8e5 ? i(e) : s || (s = !0, o = setTimeout(() => {
|
|
651
|
+
i(e);
|
|
652
|
+
}, wn));
|
|
653
|
+
}), e.on("flush", () => {
|
|
654
|
+
i(e);
|
|
655
|
+
});
|
|
656
|
+
}
|
|
657
|
+
var kn = class {
|
|
658
|
+
constructor(e) {
|
|
659
|
+
var t, n, r, i, a, o, s;
|
|
660
|
+
if (this._options = e, this._integrations = {}, this._numProcessing = 0, this._outcomes = {}, this._hooks = {}, this._eventProcessors = [], this._promiseBuffer = ln((t = (n = e.transportOptions) == null ? void 0 : n.bufferSize) == null ? 64 : t), e.dsn ? this._dsn = Xe(e.dsn) : j && O.warn("No DSN provided, client will not send events."), this._dsn) {
|
|
661
|
+
let t = Ut(this._dsn, e.tunnel, e._metadata ? e._metadata.sdk : void 0);
|
|
662
|
+
this._transport = e.transport({
|
|
663
|
+
tunnel: this._options.tunnel,
|
|
664
|
+
recordDroppedEvent: this.recordDroppedEvent.bind(this),
|
|
665
|
+
...e.transportOptions,
|
|
666
|
+
url: t
|
|
667
|
+
});
|
|
668
|
+
}
|
|
669
|
+
this._options.enableLogs = (r = this._options.enableLogs) == null ? (i = this._options._experiments) == null ? void 0 : i.enableLogs : r, this._options.enableLogs && On(this, "afterCaptureLog", "flushLogs", In, $t), ((a = (o = this._options.enableMetrics) == null ? (s = this._options._experiments) == null ? void 0 : s.enableMetrics : o) == null || a) && On(this, "afterCaptureMetric", "flushMetrics", Fn, an);
|
|
670
|
+
}
|
|
671
|
+
captureException(e, t, n) {
|
|
672
|
+
let r = se();
|
|
673
|
+
if (ae(e)) return j && O.log(bn), r;
|
|
674
|
+
let i = {
|
|
675
|
+
event_id: r,
|
|
676
|
+
...t
|
|
677
|
+
};
|
|
678
|
+
return this._process(() => this.eventFromException(e, i).then((e) => this._captureEvent(e, i, n)).then((e) => e), "error"), i.event_id;
|
|
679
|
+
}
|
|
680
|
+
captureMessage(e, t, n, r) {
|
|
681
|
+
let i = {
|
|
682
|
+
event_id: se(),
|
|
683
|
+
...n
|
|
684
|
+
}, a = we(e) ? e : String(e), o = Ie(e), s = o ? this.eventFromMessage(a, t, i) : this.eventFromException(e, i);
|
|
685
|
+
return this._process(() => s.then((e) => this._captureEvent(e, i, r)), o ? "unknown" : "error"), i.event_id;
|
|
686
|
+
}
|
|
687
|
+
captureEvent(e, t, n) {
|
|
688
|
+
let r = se();
|
|
689
|
+
if (t != null && t.originalException && ae(t.originalException)) return j && O.log(bn), r;
|
|
690
|
+
let i = {
|
|
691
|
+
event_id: r,
|
|
692
|
+
...t
|
|
693
|
+
}, a = e.sdkProcessingMetadata || {}, o = a.capturedSpanScope, s = a.capturedSpanIsolationScope, c = An(e.type);
|
|
694
|
+
return this._process(() => this._captureEvent(e, i, o || n, s), c), i.event_id;
|
|
695
|
+
}
|
|
696
|
+
captureSession(e) {
|
|
697
|
+
this.sendSession(e), _(e, { init: !1 });
|
|
698
|
+
}
|
|
699
|
+
getDsn() {
|
|
700
|
+
return this._dsn;
|
|
701
|
+
}
|
|
702
|
+
getOptions() {
|
|
703
|
+
return this._options;
|
|
704
|
+
}
|
|
705
|
+
getSdkMetadata() {
|
|
706
|
+
return this._options._metadata;
|
|
707
|
+
}
|
|
708
|
+
getTransport() {
|
|
709
|
+
return this._transport;
|
|
710
|
+
}
|
|
711
|
+
async flush(e) {
|
|
712
|
+
let t = this._transport;
|
|
713
|
+
if (!t) return !0;
|
|
714
|
+
this.emit("flush");
|
|
715
|
+
let n = await this._isClientDoneProcessing(e), r = await t.flush(e);
|
|
716
|
+
return n && r;
|
|
717
|
+
}
|
|
718
|
+
async close(e) {
|
|
719
|
+
let t = await this.flush(e);
|
|
720
|
+
return this.getOptions().enabled = !1, this.emit("close"), t;
|
|
721
|
+
}
|
|
722
|
+
getEventProcessors() {
|
|
723
|
+
return this._eventProcessors;
|
|
724
|
+
}
|
|
725
|
+
addEventProcessor(e) {
|
|
726
|
+
this._eventProcessors.push(e);
|
|
727
|
+
}
|
|
728
|
+
init() {
|
|
729
|
+
(this._isEnabled() || this._options.integrations.some(({ name: e }) => e.startsWith("Spotlight"))) && this._setupIntegrations();
|
|
730
|
+
}
|
|
731
|
+
getIntegrationByName(e) {
|
|
732
|
+
return this._integrations[e];
|
|
733
|
+
}
|
|
734
|
+
addIntegration(e) {
|
|
735
|
+
let t = this._integrations[e.name];
|
|
736
|
+
Xt(this, e, this._integrations), t || Yt(this, [e]);
|
|
737
|
+
}
|
|
738
|
+
sendEvent(e, t = {}) {
|
|
739
|
+
this.emit("beforeSendEvent", e, t);
|
|
740
|
+
let n = Rt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
741
|
+
for (let e of t.attachments || []) n = Tt(n, jt(e));
|
|
742
|
+
this.sendEnvelope(n).then((t) => this.emit("afterSendEvent", e, t));
|
|
743
|
+
}
|
|
744
|
+
sendSession(e) {
|
|
745
|
+
let { release: t, environment: n = Oe } = this._options;
|
|
746
|
+
if ("aggregates" in e) {
|
|
747
|
+
let r = e.attrs || {};
|
|
748
|
+
if (!r.release && !t) {
|
|
749
|
+
j && O.warn(xn);
|
|
750
|
+
return;
|
|
751
|
+
}
|
|
752
|
+
r.release = r.release || t, r.environment = r.environment || n, e.attrs = r;
|
|
753
|
+
} else {
|
|
754
|
+
if (!e.release && !t) {
|
|
755
|
+
j && O.warn(xn);
|
|
756
|
+
return;
|
|
757
|
+
}
|
|
758
|
+
e.release = e.release || t, e.environment = e.environment || n;
|
|
759
|
+
}
|
|
760
|
+
this.emit("beforeSendSession", e);
|
|
761
|
+
let r = Lt(e, this._dsn, this._options._metadata, this._options.tunnel);
|
|
762
|
+
this.sendEnvelope(r);
|
|
763
|
+
}
|
|
764
|
+
recordDroppedEvent(e, t, n = 1) {
|
|
765
|
+
if (this._options.sendClientReports) {
|
|
766
|
+
let r = `${e}:${t}`;
|
|
767
|
+
j && O.log(`Recording outcome: "${r}"${n > 1 ? ` (${n} times)` : ""}`), this._outcomes[r] = (this._outcomes[r] || 0) + n;
|
|
768
|
+
}
|
|
769
|
+
}
|
|
770
|
+
on(e, t) {
|
|
771
|
+
let n = this._hooks[e] = this._hooks[e] || /* @__PURE__ */ new Set(), r = (...e) => t(...e);
|
|
772
|
+
return n.add(r), () => {
|
|
773
|
+
n.delete(r);
|
|
774
|
+
};
|
|
775
|
+
}
|
|
776
|
+
emit(e, ...t) {
|
|
777
|
+
let n = this._hooks[e];
|
|
778
|
+
n && n.forEach((e) => e(...t));
|
|
779
|
+
}
|
|
780
|
+
async sendEnvelope(e) {
|
|
781
|
+
if (this.emit("beforeEnvelope", e), this._isEnabled() && this._transport) try {
|
|
782
|
+
return await this._transport.send(e);
|
|
783
|
+
} catch (e) {
|
|
784
|
+
return j && O.error("Error while sending envelope:", e), {};
|
|
785
|
+
}
|
|
786
|
+
return j && O.error("Transport disabled"), {};
|
|
787
|
+
}
|
|
788
|
+
_setupIntegrations() {
|
|
789
|
+
let { integrations: e } = this._options;
|
|
790
|
+
this._integrations = Jt(this, e), Yt(this, e);
|
|
791
|
+
}
|
|
792
|
+
_updateSessionFromEvent(e, t) {
|
|
793
|
+
var n;
|
|
794
|
+
let r = t.level === "fatal", i = !1, a = (n = t.exception) == null ? void 0 : n.values;
|
|
795
|
+
if (a) {
|
|
796
|
+
i = !0, r = !1;
|
|
797
|
+
for (let e of a) {
|
|
798
|
+
var o;
|
|
799
|
+
if (((o = e.mechanism) == null ? void 0 : o.handled) === !1) {
|
|
800
|
+
r = !0;
|
|
801
|
+
break;
|
|
802
|
+
}
|
|
803
|
+
}
|
|
804
|
+
}
|
|
805
|
+
let s = e.status === "ok";
|
|
806
|
+
(s && e.errors === 0 || s && r) && (_(e, {
|
|
807
|
+
...r && { status: "crashed" },
|
|
808
|
+
errors: e.errors || Number(i || r)
|
|
809
|
+
}), this.captureSession(e));
|
|
810
|
+
}
|
|
811
|
+
async _isClientDoneProcessing(e) {
|
|
812
|
+
let t = 0;
|
|
813
|
+
for (; !e || t < e;) {
|
|
814
|
+
if (await new Promise((e) => setTimeout(e, 1)), !this._numProcessing) return !0;
|
|
815
|
+
t++;
|
|
816
|
+
}
|
|
817
|
+
return !1;
|
|
818
|
+
}
|
|
819
|
+
_isEnabled() {
|
|
820
|
+
return this.getOptions().enabled !== !1 && this._transport !== void 0;
|
|
821
|
+
}
|
|
822
|
+
_prepareEvent(e, t, n, r) {
|
|
823
|
+
let i = this.getOptions(), a = Object.keys(this._integrations);
|
|
824
|
+
return !t.integrations && a != null && a.length && (t.integrations = a), this.emit("preprocessEvent", e, t), e.type || r.setLastEventId(e.event_id || t.event_id), je(i, e, t, n, this, r).then((e) => e === null ? e : (this.emit("postprocessEvent", e, t), e.contexts = {
|
|
825
|
+
trace: Ze(n),
|
|
826
|
+
...e.contexts
|
|
827
|
+
}, e.sdkProcessingMetadata = {
|
|
828
|
+
dynamicSamplingContext: Ne(this, n),
|
|
829
|
+
...e.sdkProcessingMetadata
|
|
830
|
+
}, e));
|
|
831
|
+
}
|
|
832
|
+
_captureEvent(e, t = {}, n = ue(), r = g()) {
|
|
833
|
+
return j && Nn(e) && O.log(`Captured error event \`${_n(e)[0] || "<unknown>"}\``), this._processEvent(e, t, n, r).then((e) => e.event_id, (e) => {
|
|
834
|
+
j && (Dn(e) ? O.log(e.message) : En(e) ? O.warn(e.message) : O.warn(e));
|
|
835
|
+
});
|
|
836
|
+
}
|
|
837
|
+
_processEvent(e, t, n, r) {
|
|
838
|
+
let i = this.getOptions(), { sampleRate: a } = i, o = Pn(e), s = Nn(e), c = `before send for type \`${e.type || "error"}\``, l = a === void 0 ? void 0 : bt(a);
|
|
839
|
+
if (s && typeof l == "number" && $e() > l) return this.recordDroppedEvent("sample_rate", "error"), Je(Tn(`Discarding event because it's not included in the random sample (sampling rate = ${a})`));
|
|
840
|
+
let u = An(e.type);
|
|
841
|
+
return this._prepareEvent(e, t, n, r).then((e) => {
|
|
842
|
+
if (e === null) throw this.recordDroppedEvent("event_processor", u), Tn("An event processor returned `null`, will not send event.");
|
|
843
|
+
return t.data && t.data.__sentry__ === !0 ? e : jn(Mn(this, i, e, t), c);
|
|
844
|
+
}).then((i) => {
|
|
845
|
+
if (i === null) {
|
|
846
|
+
if (this.recordDroppedEvent("before_send", u), o) {
|
|
847
|
+
let t = 1 + (e.spans || []).length;
|
|
848
|
+
this.recordDroppedEvent("before_send", "span", t);
|
|
849
|
+
}
|
|
850
|
+
throw Tn(`${c} returned \`null\`, will not send event.`);
|
|
851
|
+
}
|
|
852
|
+
let a = n.getSession() || r.getSession();
|
|
853
|
+
if (s && a && this._updateSessionFromEvent(a, i), o) {
|
|
854
|
+
var l;
|
|
855
|
+
let e = (((l = i.sdkProcessingMetadata) == null ? void 0 : l.spanCountBeforeProcessing) || 0) - (i.spans ? i.spans.length : 0);
|
|
856
|
+
e > 0 && this.recordDroppedEvent("before_send", "span", e);
|
|
857
|
+
}
|
|
858
|
+
let d = i.transaction_info;
|
|
859
|
+
return o && d && i.transaction !== e.transaction && (i.transaction_info = {
|
|
860
|
+
...d,
|
|
861
|
+
source: "custom"
|
|
862
|
+
}), this.sendEvent(i, t), i;
|
|
863
|
+
}).then(null, (e) => {
|
|
864
|
+
throw Dn(e) || En(e) ? e : (this.captureException(e, {
|
|
865
|
+
mechanism: {
|
|
866
|
+
handled: !1,
|
|
867
|
+
type: "internal"
|
|
868
|
+
},
|
|
869
|
+
data: { __sentry__: !0 },
|
|
870
|
+
originalException: e
|
|
871
|
+
}), B(`Event processing pipeline threw an error, original event will not be sent. Details have been sent as a new event.\nReason: ${e}`));
|
|
872
|
+
});
|
|
873
|
+
}
|
|
874
|
+
_process(e, t) {
|
|
875
|
+
this._numProcessing++, this._promiseBuffer.add(e).then((e) => (this._numProcessing--, e), (e) => (this._numProcessing--, e === cn && this.recordDroppedEvent("queue_overflow", t), e));
|
|
876
|
+
}
|
|
877
|
+
_clearOutcomes() {
|
|
878
|
+
let e = this._outcomes;
|
|
879
|
+
return this._outcomes = {}, Object.entries(e).map(([e, t]) => {
|
|
880
|
+
let [n, r] = e.split(":");
|
|
881
|
+
return {
|
|
882
|
+
reason: n,
|
|
883
|
+
category: r,
|
|
884
|
+
quantity: t
|
|
885
|
+
};
|
|
886
|
+
});
|
|
887
|
+
}
|
|
888
|
+
_flushOutcomes() {
|
|
889
|
+
j && O.log("Flushing outcomes...");
|
|
890
|
+
let e = this._clearOutcomes();
|
|
891
|
+
if (e.length === 0) {
|
|
892
|
+
j && O.log("No outcomes to send");
|
|
893
|
+
return;
|
|
894
|
+
}
|
|
895
|
+
if (!this._dsn) {
|
|
896
|
+
j && O.log("No dsn provided, will not send outcomes");
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
j && O.log("Sending outcomes:", e);
|
|
900
|
+
let t = gn(e, this._options.tunnel && T(this._dsn));
|
|
901
|
+
this.sendEnvelope(t);
|
|
902
|
+
}
|
|
903
|
+
};
|
|
904
|
+
function An(e) {
|
|
905
|
+
return e === "replay_event" ? "replay" : e || "error";
|
|
906
|
+
}
|
|
907
|
+
function jn(e, t) {
|
|
908
|
+
let n = `${t} must return \`null\` or a valid event.`;
|
|
909
|
+
if (ye(e)) return e.then((e) => {
|
|
910
|
+
if (!qe(e) && e !== null) throw B(n);
|
|
911
|
+
return e;
|
|
912
|
+
}, (e) => {
|
|
913
|
+
throw B(`${t} rejected with ${e}`);
|
|
914
|
+
});
|
|
915
|
+
if (!qe(e) && e !== null) throw B(n);
|
|
916
|
+
return e;
|
|
917
|
+
}
|
|
918
|
+
function Mn(e, t, n, r) {
|
|
919
|
+
let { beforeSend: i, beforeSendTransaction: a, beforeSendSpan: o, ignoreSpans: s } = t, c = n;
|
|
920
|
+
if (Nn(c) && i) return i(c, r);
|
|
921
|
+
if (Pn(c)) {
|
|
922
|
+
if (o || s) {
|
|
923
|
+
let t = vn(c);
|
|
924
|
+
if (s != null && s.length && St(t, s)) return null;
|
|
925
|
+
if (o) {
|
|
926
|
+
let e = o(t);
|
|
927
|
+
e ? c = v(n, yn(e)) : Ee();
|
|
928
|
+
}
|
|
929
|
+
if (c.spans) {
|
|
930
|
+
let t = [], n = c.spans;
|
|
931
|
+
for (let e of n) {
|
|
932
|
+
if (s != null && s.length && St(e, s)) {
|
|
933
|
+
Ct(n, e);
|
|
934
|
+
continue;
|
|
935
|
+
}
|
|
936
|
+
if (o) {
|
|
937
|
+
let n = o(e);
|
|
938
|
+
n ? t.push(n) : (Ee(), t.push(e));
|
|
939
|
+
} else t.push(e);
|
|
940
|
+
}
|
|
941
|
+
let r = c.spans.length - t.length;
|
|
942
|
+
r && e.recordDroppedEvent("before_send", "span", r), c.spans = t;
|
|
943
|
+
}
|
|
944
|
+
}
|
|
945
|
+
if (a) {
|
|
946
|
+
if (c.spans) {
|
|
947
|
+
let e = c.spans.length;
|
|
948
|
+
c.sdkProcessingMetadata = {
|
|
949
|
+
...n.sdkProcessingMetadata,
|
|
950
|
+
spanCountBeforeProcessing: e
|
|
951
|
+
};
|
|
952
|
+
}
|
|
953
|
+
return a(c, r);
|
|
954
|
+
}
|
|
955
|
+
}
|
|
956
|
+
return c;
|
|
957
|
+
}
|
|
958
|
+
function Nn(e) {
|
|
959
|
+
return e.type === void 0;
|
|
960
|
+
}
|
|
961
|
+
function Pn(e) {
|
|
962
|
+
return e.type === "transaction";
|
|
963
|
+
}
|
|
964
|
+
function Fn(e) {
|
|
965
|
+
let t = 0;
|
|
966
|
+
return e.name && (t += e.name.length * 2), t += 8, t + Ln(e.attributes);
|
|
967
|
+
}
|
|
968
|
+
function In(e) {
|
|
969
|
+
let t = 0;
|
|
970
|
+
return e.message && (t += e.message.length * 2), t + Ln(e.attributes);
|
|
971
|
+
}
|
|
972
|
+
function Ln(e) {
|
|
973
|
+
if (!e) return 0;
|
|
974
|
+
let t = 0;
|
|
975
|
+
return Object.values(e).forEach((e) => {
|
|
976
|
+
Array.isArray(e) ? t += e.length * Rn(e[0]) : Ie(e) ? t += Rn(e) : t += 100;
|
|
977
|
+
}), t;
|
|
978
|
+
}
|
|
979
|
+
function Rn(e) {
|
|
980
|
+
return typeof e == "string" ? e.length * 2 : typeof e == "number" ? 8 : typeof e == "boolean" ? 4 : 0;
|
|
981
|
+
}
|
|
982
|
+
//#endregion
|
|
983
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/eventbuilder.js
|
|
984
|
+
function zn(e) {
|
|
985
|
+
return he(e) && "__sentry_fetch_url_host__" in e && typeof e.__sentry_fetch_url_host__ == "string";
|
|
986
|
+
}
|
|
987
|
+
function Bn(e) {
|
|
988
|
+
return zn(e) ? `${e.message} (${e.__sentry_fetch_url_host__})` : e.message;
|
|
989
|
+
}
|
|
990
|
+
//#endregion
|
|
991
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/sdk.js
|
|
992
|
+
function Vn(e, t) {
|
|
993
|
+
t.debug === !0 && (j ? O.enable() : Ce(() => {
|
|
994
|
+
console.warn("[Sentry] Cannot initialize SDK with `debug` option using a non-debug bundle.");
|
|
995
|
+
})), ue().update(t.initialScope);
|
|
996
|
+
let n = new e(t);
|
|
997
|
+
return Hn(n), n.init(), n;
|
|
998
|
+
}
|
|
999
|
+
function Hn(e) {
|
|
1000
|
+
ue().setClient(e);
|
|
1001
|
+
}
|
|
1002
|
+
//#endregion
|
|
1003
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/url.js
|
|
1004
|
+
function Un(e) {
|
|
1005
|
+
if (!e) return {};
|
|
1006
|
+
let t = e.match(/^(([^:/?#]+):)?(\/\/([^/?#]*))?([^?#]*)(\?([^#]*))?(#(.*))?$/);
|
|
1007
|
+
if (!t) return {};
|
|
1008
|
+
let n = t[6] || "", r = t[8] || "";
|
|
1009
|
+
return {
|
|
1010
|
+
host: t[4],
|
|
1011
|
+
path: t[5],
|
|
1012
|
+
protocol: t[2],
|
|
1013
|
+
search: n,
|
|
1014
|
+
hash: r,
|
|
1015
|
+
relative: t[5] + n + r
|
|
1016
|
+
};
|
|
1017
|
+
}
|
|
1018
|
+
//#endregion
|
|
1019
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/ipAddress.js
|
|
1020
|
+
function Wn(e) {
|
|
1021
|
+
if ("aggregates" in e) {
|
|
1022
|
+
var t;
|
|
1023
|
+
((t = e.attrs) == null ? void 0 : t.ip_address) === void 0 && (e.attrs = {
|
|
1024
|
+
...e.attrs,
|
|
1025
|
+
ip_address: "{{auto}}"
|
|
1026
|
+
});
|
|
1027
|
+
} else e.ipAddress === void 0 && (e.ipAddress = "{{auto}}");
|
|
1028
|
+
}
|
|
1029
|
+
//#endregion
|
|
1030
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/sdkMetadata.js
|
|
1031
|
+
function Gn(e, t, n = [t], r = "npm") {
|
|
1032
|
+
let i = e._metadata || {};
|
|
1033
|
+
i.sdk || (i.sdk = {
|
|
1034
|
+
name: `sentry.javascript.${t}`,
|
|
1035
|
+
packages: n.map((e) => ({
|
|
1036
|
+
name: `${r}:@sentry/${e}`,
|
|
1037
|
+
version: De
|
|
1038
|
+
})),
|
|
1039
|
+
version: De
|
|
1040
|
+
}), e._metadata = i;
|
|
1041
|
+
}
|
|
1042
|
+
//#endregion
|
|
1043
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/breadcrumbs.js
|
|
1044
|
+
var Kn = 100;
|
|
1045
|
+
function V(e, t) {
|
|
1046
|
+
let n = M(), r = g();
|
|
1047
|
+
if (!n) return;
|
|
1048
|
+
let { beforeBreadcrumb: i = null, maxBreadcrumbs: a = Kn } = n.getOptions();
|
|
1049
|
+
if (a <= 0) return;
|
|
1050
|
+
let o = {
|
|
1051
|
+
timestamp: oe(),
|
|
1052
|
+
...e
|
|
1053
|
+
}, s = i ? Ce(() => i(o, t)) : o;
|
|
1054
|
+
s !== null && (n.emit && n.emit("beforeAddBreadcrumb", s, t), r.addBreadcrumb(s, a));
|
|
1055
|
+
}
|
|
1056
|
+
//#endregion
|
|
1057
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integrations/functiontostring.js
|
|
1058
|
+
var qn, Jn = "FunctionToString", Yn = /* @__PURE__ */ new WeakMap(), Xn = z(() => ({
|
|
1059
|
+
name: Jn,
|
|
1060
|
+
setupOnce() {
|
|
1061
|
+
qn = Function.prototype.toString;
|
|
1062
|
+
try {
|
|
1063
|
+
Function.prototype.toString = function(...e) {
|
|
1064
|
+
let t = fe(this), n = Yn.has(M()) && t !== void 0 ? t : this;
|
|
1065
|
+
return qn.apply(n, e);
|
|
1066
|
+
};
|
|
1067
|
+
} catch {}
|
|
1068
|
+
},
|
|
1069
|
+
setup(e) {
|
|
1070
|
+
Yn.set(e, !0);
|
|
1071
|
+
}
|
|
1072
|
+
})), Zn = [
|
|
1073
|
+
/^Script error\.?$/,
|
|
1074
|
+
/^Javascript error: Script error\.? on line 0$/,
|
|
1075
|
+
/^ResizeObserver loop completed with undelivered notifications.$/,
|
|
1076
|
+
/^Cannot redefine property: googletag$/,
|
|
1077
|
+
/^Can't find variable: gmo$/,
|
|
1078
|
+
/^undefined is not an object \(evaluating 'a\.[A-Z]'\)$/,
|
|
1079
|
+
"can't redefine non-configurable property \"solana\"",
|
|
1080
|
+
"vv().getRestrictions is not a function. (In 'vv().getRestrictions(1,a)', 'vv().getRestrictions' is undefined)",
|
|
1081
|
+
"Can't find variable: _AutofillCallbackHandler",
|
|
1082
|
+
/^Non-Error promise rejection captured with value: Object Not Found Matching Id:\d+, MethodName:simulateEvent, ParamCount:\d+$/,
|
|
1083
|
+
/^Java exception was raised during method invocation$/
|
|
1084
|
+
], Qn = "EventFilters", $n = z((e = {}) => {
|
|
1085
|
+
let t;
|
|
1086
|
+
return {
|
|
1087
|
+
name: Qn,
|
|
1088
|
+
setup(n) {
|
|
1089
|
+
t = tr(e, n.getOptions());
|
|
1090
|
+
},
|
|
1091
|
+
processEvent(n, r, i) {
|
|
1092
|
+
return t || (t = tr(e, i.getOptions())), nr(n, t) ? null : n;
|
|
1093
|
+
}
|
|
1094
|
+
};
|
|
1095
|
+
}), er = z((e = {}) => ({
|
|
1096
|
+
...$n(e),
|
|
1097
|
+
name: "InboundFilters"
|
|
1098
|
+
}));
|
|
1099
|
+
function tr(e = {}, t = {}) {
|
|
1100
|
+
return {
|
|
1101
|
+
allowUrls: [...e.allowUrls || [], ...t.allowUrls || []],
|
|
1102
|
+
denyUrls: [...e.denyUrls || [], ...t.denyUrls || []],
|
|
1103
|
+
ignoreErrors: [
|
|
1104
|
+
...e.ignoreErrors || [],
|
|
1105
|
+
...t.ignoreErrors || [],
|
|
1106
|
+
...e.disableErrorDefaults ? [] : Zn
|
|
1107
|
+
],
|
|
1108
|
+
ignoreTransactions: [...e.ignoreTransactions || [], ...t.ignoreTransactions || []]
|
|
1109
|
+
};
|
|
1110
|
+
}
|
|
1111
|
+
function nr(e, t) {
|
|
1112
|
+
if (!e.type) {
|
|
1113
|
+
if (rr(e, t.ignoreErrors)) return j && O.warn(`Event dropped due to being matched by \`ignoreErrors\` option.\nEvent: ${w(e)}`), !0;
|
|
1114
|
+
if (cr(e)) return j && O.warn(`Event dropped due to not having an error message, error type or stacktrace.\nEvent: ${w(e)}`), !0;
|
|
1115
|
+
if (ar(e, t.denyUrls)) return j && O.warn(`Event dropped due to being matched by \`denyUrls\` option.\nEvent: ${w(e)}.\nUrl: ${H(e)}`), !0;
|
|
1116
|
+
if (!or(e, t.allowUrls)) return j && O.warn(`Event dropped due to not being matched by \`allowUrls\` option.\nEvent: ${w(e)}.\nUrl: ${H(e)}`), !0;
|
|
1117
|
+
} else if (e.type === "transaction" && ir(e, t.ignoreTransactions)) return j && O.warn(`Event dropped due to being matched by \`ignoreTransactions\` option.\nEvent: ${w(e)}`), !0;
|
|
1118
|
+
return !1;
|
|
1119
|
+
}
|
|
1120
|
+
function rr(e, t) {
|
|
1121
|
+
return t != null && t.length ? _n(e).some((e) => C(e, t)) : !1;
|
|
1122
|
+
}
|
|
1123
|
+
function ir(e, t) {
|
|
1124
|
+
if (!(t != null && t.length)) return !1;
|
|
1125
|
+
let n = e.transaction;
|
|
1126
|
+
return n ? C(n, t) : !1;
|
|
1127
|
+
}
|
|
1128
|
+
function ar(e, t) {
|
|
1129
|
+
if (!(t != null && t.length)) return !1;
|
|
1130
|
+
let n = H(e);
|
|
1131
|
+
return n ? C(n, t) : !1;
|
|
1132
|
+
}
|
|
1133
|
+
function or(e, t) {
|
|
1134
|
+
if (!(t != null && t.length)) return !0;
|
|
1135
|
+
let n = H(e);
|
|
1136
|
+
return n ? C(n, t) : !0;
|
|
1137
|
+
}
|
|
1138
|
+
function sr(e = []) {
|
|
1139
|
+
for (let t = e.length - 1; t >= 0; t--) {
|
|
1140
|
+
let n = e[t];
|
|
1141
|
+
if (n && n.filename !== "<anonymous>" && n.filename !== "[native code]") return n.filename || null;
|
|
1142
|
+
}
|
|
1143
|
+
return null;
|
|
1144
|
+
}
|
|
1145
|
+
function H(e) {
|
|
1146
|
+
try {
|
|
1147
|
+
var t, n, r;
|
|
1148
|
+
let i = [...(t = (n = e.exception) == null ? void 0 : n.values) == null ? [] : t].reverse().find((e) => {
|
|
1149
|
+
var t, n;
|
|
1150
|
+
return ((t = e.mechanism) == null ? void 0 : t.parent_id) === void 0 && ((n = e.stacktrace) == null || (n = n.frames) == null ? void 0 : n.length);
|
|
1151
|
+
}), a = i == null || (r = i.stacktrace) == null ? void 0 : r.frames;
|
|
1152
|
+
return a ? sr(a) : null;
|
|
1153
|
+
} catch {
|
|
1154
|
+
return j && O.error(`Cannot extract url for event ${w(e)}`), null;
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
function cr(e) {
|
|
1158
|
+
var t;
|
|
1159
|
+
return !((t = e.exception) == null || (t = t.values) == null) && t.length ? !e.message && !e.exception.values.some((e) => e.stacktrace || e.type && e.type !== "Error" || e.value) : !1;
|
|
1160
|
+
}
|
|
1161
|
+
//#endregion
|
|
1162
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/aggregate-errors.js
|
|
1163
|
+
function lr(e, t, n, r, i, a) {
|
|
1164
|
+
var o;
|
|
1165
|
+
if (!((o = i.exception) != null && o.values) || !a || !p(a.originalException, Error)) return;
|
|
1166
|
+
let s = i.exception.values.length > 0 ? i.exception.values[i.exception.values.length - 1] : void 0;
|
|
1167
|
+
s && (i.exception.values = ur(e, t, r, a.originalException, n, i.exception.values, s, 0));
|
|
1168
|
+
}
|
|
1169
|
+
function ur(e, t, n, r, i, a, o, s) {
|
|
1170
|
+
if (a.length >= n + 1) return a;
|
|
1171
|
+
let c = [...a];
|
|
1172
|
+
if (p(r[i], Error)) {
|
|
1173
|
+
dr(o, s);
|
|
1174
|
+
let a = e(t, r[i]), l = c.length;
|
|
1175
|
+
fr(a, i, l, s), c = ur(e, t, n, r[i], i, [a, ...c], a, l);
|
|
1176
|
+
}
|
|
1177
|
+
return Array.isArray(r.errors) && r.errors.forEach((r, a) => {
|
|
1178
|
+
if (p(r, Error)) {
|
|
1179
|
+
dr(o, s);
|
|
1180
|
+
let l = e(t, r), u = c.length;
|
|
1181
|
+
fr(l, `errors[${a}]`, u, s), c = ur(e, t, n, r, i, [l, ...c], l, u);
|
|
1182
|
+
}
|
|
1183
|
+
}), c;
|
|
1184
|
+
}
|
|
1185
|
+
function dr(e, t) {
|
|
1186
|
+
e.mechanism = {
|
|
1187
|
+
handled: !0,
|
|
1188
|
+
type: "auto.core.linked_errors",
|
|
1189
|
+
...e.mechanism,
|
|
1190
|
+
...e.type === "AggregateError" && { is_exception_group: !0 },
|
|
1191
|
+
exception_id: t
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
function fr(e, t, n, r) {
|
|
1195
|
+
e.mechanism = {
|
|
1196
|
+
handled: !0,
|
|
1197
|
+
...e.mechanism,
|
|
1198
|
+
type: "chained",
|
|
1199
|
+
source: t,
|
|
1200
|
+
exception_id: n,
|
|
1201
|
+
parent_id: r
|
|
1202
|
+
};
|
|
1203
|
+
}
|
|
1204
|
+
//#endregion
|
|
1205
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/console.js
|
|
1206
|
+
function pr(e) {
|
|
1207
|
+
let t = "console";
|
|
1208
|
+
F(t, e), I(t, mr);
|
|
1209
|
+
}
|
|
1210
|
+
function mr() {
|
|
1211
|
+
"console" in E && Ye.forEach(function(e) {
|
|
1212
|
+
e in E.console && b(E.console, e, function(t) {
|
|
1213
|
+
return Be[e] = t, function(...t) {
|
|
1214
|
+
L("console", {
|
|
1215
|
+
args: t,
|
|
1216
|
+
level: e
|
|
1217
|
+
});
|
|
1218
|
+
let n = Be[e];
|
|
1219
|
+
n == null || n.apply(E.console, t);
|
|
1220
|
+
};
|
|
1221
|
+
});
|
|
1222
|
+
});
|
|
1223
|
+
}
|
|
1224
|
+
//#endregion
|
|
1225
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/severity.js
|
|
1226
|
+
function hr(e) {
|
|
1227
|
+
return e === "warn" ? "warning" : [
|
|
1228
|
+
"fatal",
|
|
1229
|
+
"error",
|
|
1230
|
+
"warning",
|
|
1231
|
+
"log",
|
|
1232
|
+
"info",
|
|
1233
|
+
"debug"
|
|
1234
|
+
].includes(e) ? e : "log";
|
|
1235
|
+
}
|
|
1236
|
+
//#endregion
|
|
1237
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/integrations/dedupe.js
|
|
1238
|
+
var gr = "Dedupe", _r = z(() => {
|
|
1239
|
+
let e;
|
|
1240
|
+
return {
|
|
1241
|
+
name: gr,
|
|
1242
|
+
processEvent(t) {
|
|
1243
|
+
if (t.type) return t;
|
|
1244
|
+
try {
|
|
1245
|
+
if (vr(t, e)) return j && O.warn("Event dropped due to being a duplicate of previously captured event."), null;
|
|
1246
|
+
} catch {}
|
|
1247
|
+
return e = t;
|
|
1248
|
+
}
|
|
1249
|
+
};
|
|
1250
|
+
});
|
|
1251
|
+
function vr(e, t) {
|
|
1252
|
+
return t ? !!(yr(e, t) || br(e, t)) : !1;
|
|
1253
|
+
}
|
|
1254
|
+
function yr(e, t) {
|
|
1255
|
+
let n = e.message, r = t.message;
|
|
1256
|
+
return !(!n && !r || n && !r || !n && r || n !== r || !Sr(e, t) || !xr(e, t));
|
|
1257
|
+
}
|
|
1258
|
+
function br(e, t) {
|
|
1259
|
+
let n = Cr(t), r = Cr(e);
|
|
1260
|
+
return !(!n || !r || n.type !== r.type || n.value !== r.value || !Sr(e, t) || !xr(e, t));
|
|
1261
|
+
}
|
|
1262
|
+
function xr(e, t) {
|
|
1263
|
+
let n = Ge(e), r = Ge(t);
|
|
1264
|
+
if (!n && !r) return !0;
|
|
1265
|
+
if (n && !r || !n && r || (n = n, r = r, r.length !== n.length)) return !1;
|
|
1266
|
+
for (let e = 0; e < r.length; e++) {
|
|
1267
|
+
let t = r[e], i = n[e];
|
|
1268
|
+
if (t.filename !== i.filename || t.lineno !== i.lineno || t.colno !== i.colno || t.function !== i.function) return !1;
|
|
1269
|
+
}
|
|
1270
|
+
return !0;
|
|
1271
|
+
}
|
|
1272
|
+
function Sr(e, t) {
|
|
1273
|
+
let n = e.fingerprint, r = t.fingerprint;
|
|
1274
|
+
if (!n && !r) return !0;
|
|
1275
|
+
if (n && !r || !n && r) return !1;
|
|
1276
|
+
n = n, r = r;
|
|
1277
|
+
try {
|
|
1278
|
+
return n.join("") === r.join("");
|
|
1279
|
+
} catch {
|
|
1280
|
+
return !1;
|
|
1281
|
+
}
|
|
1282
|
+
}
|
|
1283
|
+
function Cr(e) {
|
|
1284
|
+
var t;
|
|
1285
|
+
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
1286
|
+
}
|
|
1287
|
+
//#endregion
|
|
1288
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/breadcrumb-log-level.js
|
|
1289
|
+
function wr(e) {
|
|
1290
|
+
if (e !== void 0) {
|
|
1291
|
+
if (e >= 400 && e < 500) return "warning";
|
|
1292
|
+
if (e >= 500) return "error";
|
|
1293
|
+
}
|
|
1294
|
+
}
|
|
1295
|
+
//#endregion
|
|
1296
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/supports.js
|
|
1297
|
+
var U = E;
|
|
1298
|
+
function Tr() {
|
|
1299
|
+
return "history" in U && !!U.history;
|
|
1300
|
+
}
|
|
1301
|
+
function Er() {
|
|
1302
|
+
if (!("fetch" in U)) return !1;
|
|
1303
|
+
try {
|
|
1304
|
+
return new Headers(), new Request("data:,"), new Response(), !0;
|
|
1305
|
+
} catch {
|
|
1306
|
+
return !1;
|
|
1307
|
+
}
|
|
1308
|
+
}
|
|
1309
|
+
function Dr(e) {
|
|
1310
|
+
return e && /^function\s+\w+\(\)\s+\{\s+\[native code\]\s+\}$/.test(e.toString());
|
|
1311
|
+
}
|
|
1312
|
+
function Or() {
|
|
1313
|
+
if (typeof EdgeRuntime == "string") return !0;
|
|
1314
|
+
if (!Er()) return !1;
|
|
1315
|
+
if (Dr(U.fetch)) return !0;
|
|
1316
|
+
let e = !1, t = U.document;
|
|
1317
|
+
if (t && typeof t.createElement == "function") try {
|
|
1318
|
+
var n;
|
|
1319
|
+
let r = t.createElement("iframe");
|
|
1320
|
+
r.hidden = !0, t.head.appendChild(r), (n = r.contentWindow) != null && n.fetch && (e = Dr(r.contentWindow.fetch)), t.head.removeChild(r);
|
|
1321
|
+
} catch (e) {
|
|
1322
|
+
j && O.warn("Could not create sandbox iframe for pure fetch check, bailing to window.fetch: ", e);
|
|
1323
|
+
}
|
|
1324
|
+
return e;
|
|
1325
|
+
}
|
|
1326
|
+
//#endregion
|
|
1327
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/instrument/fetch.js
|
|
1328
|
+
function kr(e, t) {
|
|
1329
|
+
let n = "fetch";
|
|
1330
|
+
F(n, e), I(n, () => Ar(void 0, t));
|
|
1331
|
+
}
|
|
1332
|
+
function Ar(e, t = !1) {
|
|
1333
|
+
t && !Or() || b(E, "fetch", function(t) {
|
|
1334
|
+
return function(...n) {
|
|
1335
|
+
let r = /* @__PURE__ */ Error(), { method: i, url: a } = Mr(n), o = {
|
|
1336
|
+
args: n,
|
|
1337
|
+
fetchData: {
|
|
1338
|
+
method: i,
|
|
1339
|
+
url: a
|
|
1340
|
+
},
|
|
1341
|
+
startTimestamp: A() * 1e3,
|
|
1342
|
+
virtualError: r,
|
|
1343
|
+
headers: Nr(n)
|
|
1344
|
+
};
|
|
1345
|
+
return e || L("fetch", { ...o }), t.apply(E, n).then(async (t) => (e ? e(t) : L("fetch", {
|
|
1346
|
+
...o,
|
|
1347
|
+
endTimestamp: A() * 1e3,
|
|
1348
|
+
response: t
|
|
1349
|
+
}), t), (e) => {
|
|
1350
|
+
var t;
|
|
1351
|
+
L("fetch", {
|
|
1352
|
+
...o,
|
|
1353
|
+
endTimestamp: A() * 1e3,
|
|
1354
|
+
error: e
|
|
1355
|
+
}), he(e) && e.stack === void 0 && (e.stack = r.stack, h(e, "framesToPop", 1));
|
|
1356
|
+
let n = M(), i = (t = n == null ? void 0 : n.getOptions().enhanceFetchErrorMessages) == null ? "always" : t;
|
|
1357
|
+
if (i !== !1 && e instanceof TypeError && (e.message === "Failed to fetch" || e.message === "Load failed" || e.message === "NetworkError when attempting to fetch resource.")) try {
|
|
1358
|
+
let t = new URL(o.fetchData.url).host;
|
|
1359
|
+
i === "always" ? e.message = `${e.message} (${t})` : h(e, "__sentry_fetch_url_host__", t);
|
|
1360
|
+
} catch {}
|
|
1361
|
+
throw e;
|
|
1362
|
+
});
|
|
1363
|
+
};
|
|
1364
|
+
});
|
|
1365
|
+
}
|
|
1366
|
+
function W(e, t) {
|
|
1367
|
+
return !!e && typeof e == "object" && !!e[t];
|
|
1368
|
+
}
|
|
1369
|
+
function jr(e) {
|
|
1370
|
+
return typeof e == "string" ? e : e ? W(e, "url") ? e.url : e.toString ? e.toString() : "" : "";
|
|
1371
|
+
}
|
|
1372
|
+
function Mr(e) {
|
|
1373
|
+
if (e.length === 0) return {
|
|
1374
|
+
method: "GET",
|
|
1375
|
+
url: ""
|
|
1376
|
+
};
|
|
1377
|
+
if (e.length === 2) {
|
|
1378
|
+
let [t, n] = e;
|
|
1379
|
+
return {
|
|
1380
|
+
url: jr(t),
|
|
1381
|
+
method: W(n, "method") ? String(n.method).toUpperCase() : Ue(t) && W(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1382
|
+
};
|
|
1383
|
+
}
|
|
1384
|
+
let t = e[0];
|
|
1385
|
+
return {
|
|
1386
|
+
url: jr(t),
|
|
1387
|
+
method: W(t, "method") ? String(t.method).toUpperCase() : "GET"
|
|
1388
|
+
};
|
|
1389
|
+
}
|
|
1390
|
+
function Nr(e) {
|
|
1391
|
+
let [t, n] = e;
|
|
1392
|
+
try {
|
|
1393
|
+
if (typeof n == "object" && n && "headers" in n && n.headers) return new Headers(n.headers);
|
|
1394
|
+
if (Ue(t)) return new Headers(t.headers);
|
|
1395
|
+
} catch {}
|
|
1396
|
+
}
|
|
1397
|
+
//#endregion
|
|
1398
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/env.js
|
|
1399
|
+
function Pr() {
|
|
1400
|
+
return "npm";
|
|
1401
|
+
}
|
|
1402
|
+
//#endregion
|
|
1403
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/helpers.js
|
|
1404
|
+
var G = E, Fr = 0;
|
|
1405
|
+
function Ir() {
|
|
1406
|
+
return Fr > 0;
|
|
1407
|
+
}
|
|
1408
|
+
function Lr() {
|
|
1409
|
+
Fr++, setTimeout(() => {
|
|
1410
|
+
Fr--;
|
|
1411
|
+
});
|
|
1412
|
+
}
|
|
1413
|
+
function K(e, t = {}) {
|
|
1414
|
+
function n(e) {
|
|
1415
|
+
return typeof e == "function";
|
|
1416
|
+
}
|
|
1417
|
+
if (!n(e)) return e;
|
|
1418
|
+
try {
|
|
1419
|
+
let t = e.__sentry_wrapped__;
|
|
1420
|
+
if (t) return typeof t == "function" ? t : e;
|
|
1421
|
+
if (fe(e)) return e;
|
|
1422
|
+
} catch {
|
|
1423
|
+
return e;
|
|
1424
|
+
}
|
|
1425
|
+
let r = function(...n) {
|
|
1426
|
+
try {
|
|
1427
|
+
let r = n.map((e) => K(e, t));
|
|
1428
|
+
return e.apply(this, r);
|
|
1429
|
+
} catch (e) {
|
|
1430
|
+
throw Lr(), de((r) => {
|
|
1431
|
+
r.addEventProcessor((e) => (t.mechanism && (Ae(e, void 0, void 0), m(e, t.mechanism)), e.extra = {
|
|
1432
|
+
...e.extra,
|
|
1433
|
+
arguments: n
|
|
1434
|
+
}, e)), Fe(e);
|
|
1435
|
+
}), e;
|
|
1436
|
+
}
|
|
1437
|
+
};
|
|
1438
|
+
try {
|
|
1439
|
+
for (let t in e) Object.prototype.hasOwnProperty.call(e, t) && (r[t] = e[t]);
|
|
1440
|
+
} catch {}
|
|
1441
|
+
me(r, e), h(e, "__sentry_wrapped__", r);
|
|
1442
|
+
try {
|
|
1443
|
+
Object.getOwnPropertyDescriptor(r, "name").configurable && Object.defineProperty(r, "name", { get() {
|
|
1444
|
+
return e.name;
|
|
1445
|
+
} });
|
|
1446
|
+
} catch {}
|
|
1447
|
+
return r;
|
|
1448
|
+
}
|
|
1449
|
+
function Rr() {
|
|
1450
|
+
let e = S(), { referrer: t } = G.document || {}, { userAgent: n } = G.navigator || {};
|
|
1451
|
+
return {
|
|
1452
|
+
url: e,
|
|
1453
|
+
headers: {
|
|
1454
|
+
...t && { Referer: t },
|
|
1455
|
+
...n && { "User-Agent": n }
|
|
1456
|
+
}
|
|
1457
|
+
};
|
|
1458
|
+
}
|
|
1459
|
+
//#endregion
|
|
1460
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/eventbuilder.js
|
|
1461
|
+
function zr(e, t) {
|
|
1462
|
+
let n = Hr(e, t), r = {
|
|
1463
|
+
type: qr(t),
|
|
1464
|
+
value: Jr(t)
|
|
1465
|
+
};
|
|
1466
|
+
return n.length && (r.stacktrace = { frames: n }), r.type === void 0 && r.value === "" && (r.value = "Unrecoverable error caught"), r;
|
|
1467
|
+
}
|
|
1468
|
+
function Br(e, t, n, r) {
|
|
1469
|
+
let i = M(), a = i == null ? void 0 : i.getOptions().normalizeDepth, o = ti(t), s = { __serialized__: ze(t, a) };
|
|
1470
|
+
if (o) return {
|
|
1471
|
+
exception: { values: [zr(e, o)] },
|
|
1472
|
+
extra: s
|
|
1473
|
+
};
|
|
1474
|
+
let c = {
|
|
1475
|
+
exception: { values: [{
|
|
1476
|
+
type: ce(t) ? t.constructor.name : r ? "UnhandledRejection" : "Error",
|
|
1477
|
+
value: $r(t, { isUnhandledRejection: r })
|
|
1478
|
+
}] },
|
|
1479
|
+
extra: s
|
|
1480
|
+
};
|
|
1481
|
+
if (n) {
|
|
1482
|
+
let t = Hr(e, n);
|
|
1483
|
+
t.length && (c.exception.values[0].stacktrace = { frames: t });
|
|
1484
|
+
}
|
|
1485
|
+
return c;
|
|
1486
|
+
}
|
|
1487
|
+
function Vr(e, t) {
|
|
1488
|
+
return { exception: { values: [zr(e, t)] } };
|
|
1489
|
+
}
|
|
1490
|
+
function Hr(e, t) {
|
|
1491
|
+
let n = t.stacktrace || t.stack || "", r = Wr(t), i = Gr(t);
|
|
1492
|
+
try {
|
|
1493
|
+
return e(n, r, i);
|
|
1494
|
+
} catch {}
|
|
1495
|
+
return [];
|
|
1496
|
+
}
|
|
1497
|
+
var Ur = /Minified React error #\d+;/i;
|
|
1498
|
+
function Wr(e) {
|
|
1499
|
+
return e && Ur.test(e.message) ? 1 : 0;
|
|
1500
|
+
}
|
|
1501
|
+
function Gr(e) {
|
|
1502
|
+
return typeof e.framesToPop == "number" ? e.framesToPop : 0;
|
|
1503
|
+
}
|
|
1504
|
+
function Kr(e) {
|
|
1505
|
+
return typeof WebAssembly < "u" && WebAssembly.Exception !== void 0 ? e instanceof WebAssembly.Exception : !1;
|
|
1506
|
+
}
|
|
1507
|
+
function qr(e) {
|
|
1508
|
+
let t = e == null ? void 0 : e.name;
|
|
1509
|
+
return !t && Kr(e) ? e.message && Array.isArray(e.message) && e.message.length == 2 ? e.message[0] : "WebAssembly.Exception" : t;
|
|
1510
|
+
}
|
|
1511
|
+
function Jr(e) {
|
|
1512
|
+
let t = e == null ? void 0 : e.message;
|
|
1513
|
+
return Kr(e) ? Array.isArray(e.message) && e.message.length == 2 ? e.message[1] : "wasm exception" : t ? t.error && typeof t.error.message == "string" ? Bn(t.error) : Bn(e) : "No error message";
|
|
1514
|
+
}
|
|
1515
|
+
function Yr(e, t, n, r) {
|
|
1516
|
+
let i = Zr(e, t, (n == null ? void 0 : n.syntheticException) || void 0, r);
|
|
1517
|
+
return m(i), i.level = "error", n != null && n.event_id && (i.event_id = n.event_id), Se(i);
|
|
1518
|
+
}
|
|
1519
|
+
function Xr(e, t, n = "info", r, i) {
|
|
1520
|
+
let a = Qr(e, t, (r == null ? void 0 : r.syntheticException) || void 0, i);
|
|
1521
|
+
return a.level = n, r != null && r.event_id && (a.event_id = r.event_id), Se(a);
|
|
1522
|
+
}
|
|
1523
|
+
function Zr(e, t, n, r, i) {
|
|
1524
|
+
let a;
|
|
1525
|
+
if (_e(t) && t.error) return Vr(e, t.error);
|
|
1526
|
+
if (ie(t) || ge(t)) {
|
|
1527
|
+
let i = t;
|
|
1528
|
+
if ("stack" in t) a = Vr(e, t);
|
|
1529
|
+
else {
|
|
1530
|
+
let t = i.name || (ie(i) ? "DOMError" : "DOMException"), o = i.message ? `${t}: ${i.message}` : t;
|
|
1531
|
+
a = Qr(e, o, n, r), Ae(a, o);
|
|
1532
|
+
}
|
|
1533
|
+
return "code" in i && (a.tags = {
|
|
1534
|
+
...a.tags,
|
|
1535
|
+
"DOMException.code": `${i.code}`
|
|
1536
|
+
}), a;
|
|
1537
|
+
}
|
|
1538
|
+
return he(t) ? Vr(e, t) : qe(t) || ce(t) ? (a = Br(e, t, n, i), m(a, { synthetic: !0 }), a) : (a = Qr(e, t, n, r), Ae(a, `${t}`, void 0), m(a, { synthetic: !0 }), a);
|
|
1539
|
+
}
|
|
1540
|
+
function Qr(e, t, n, r) {
|
|
1541
|
+
let i = {};
|
|
1542
|
+
if (r && n) {
|
|
1543
|
+
let r = Hr(e, n);
|
|
1544
|
+
r.length && (i.exception = { values: [{
|
|
1545
|
+
value: t,
|
|
1546
|
+
stacktrace: { frames: r }
|
|
1547
|
+
}] }), m(i, { synthetic: !0 });
|
|
1548
|
+
}
|
|
1549
|
+
if (we(t)) {
|
|
1550
|
+
let { __sentry_template_string__: e, __sentry_template_values__: n } = t;
|
|
1551
|
+
return i.logentry = {
|
|
1552
|
+
message: e,
|
|
1553
|
+
params: n
|
|
1554
|
+
}, i;
|
|
1555
|
+
}
|
|
1556
|
+
return i.message = t, i;
|
|
1557
|
+
}
|
|
1558
|
+
function $r(e, { isUnhandledRejection: t }) {
|
|
1559
|
+
let n = pe(e), r = t ? "promise rejection" : "exception";
|
|
1560
|
+
return _e(e) ? `Event \`ErrorEvent\` captured as ${r} with message \`${e.message}\`` : ce(e) ? `Event \`${ei(e)}\` (type=${e.type}) captured as ${r}` : `Object captured as ${r} with keys: ${n}`;
|
|
1561
|
+
}
|
|
1562
|
+
function ei(e) {
|
|
1563
|
+
try {
|
|
1564
|
+
let t = Object.getPrototypeOf(e);
|
|
1565
|
+
return t ? t.constructor.name : void 0;
|
|
1566
|
+
} catch {}
|
|
1567
|
+
}
|
|
1568
|
+
function ti(e) {
|
|
1569
|
+
for (let t in e) if (Object.prototype.hasOwnProperty.call(e, t)) {
|
|
1570
|
+
let n = e[t];
|
|
1571
|
+
if (n instanceof Error) return n;
|
|
1572
|
+
}
|
|
1573
|
+
}
|
|
1574
|
+
//#endregion
|
|
1575
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/client.js
|
|
1576
|
+
var ni = class extends kn {
|
|
1577
|
+
constructor(e) {
|
|
1578
|
+
var t, n;
|
|
1579
|
+
let r = ri(e);
|
|
1580
|
+
Gn(r, "browser", ["browser"], G.SENTRY_SDK_SOURCE || Pr()), (t = r._metadata) != null && t.sdk && (r._metadata.sdk.settings = {
|
|
1581
|
+
infer_ip: r.sendDefaultPii ? "auto" : "never",
|
|
1582
|
+
...r._metadata.sdk.settings
|
|
1583
|
+
}), super(r);
|
|
1584
|
+
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;
|
|
1585
|
+
G.document && (a || o || l) && G.document.addEventListener("visibilitychange", () => {
|
|
1586
|
+
G.document.visibilityState === "hidden" && (a && this._flushOutcomes(), o && $t(this), l && an(this));
|
|
1587
|
+
}), i && this.on("beforeSendSession", Wn);
|
|
1588
|
+
}
|
|
1589
|
+
eventFromException(e, t) {
|
|
1590
|
+
return Yr(this._options.stackParser, e, t, this._options.attachStacktrace);
|
|
1591
|
+
}
|
|
1592
|
+
eventFromMessage(e, t = "info", n) {
|
|
1593
|
+
return Xr(this._options.stackParser, e, t, n, this._options.attachStacktrace);
|
|
1594
|
+
}
|
|
1595
|
+
_prepareEvent(e, t, n, r) {
|
|
1596
|
+
return e.platform = e.platform || "javascript", super._prepareEvent(e, t, n, r);
|
|
1597
|
+
}
|
|
1598
|
+
};
|
|
1599
|
+
function ri(e) {
|
|
1600
|
+
var t;
|
|
1601
|
+
return {
|
|
1602
|
+
release: typeof __SENTRY_RELEASE__ == "string" ? __SENTRY_RELEASE__ : (t = G.SENTRY_RELEASE) == null ? void 0 : t.id,
|
|
1603
|
+
sendClientReports: !0,
|
|
1604
|
+
parentSpanIsAlwaysRootSpan: !0,
|
|
1605
|
+
...e
|
|
1606
|
+
};
|
|
1607
|
+
}
|
|
1608
|
+
//#endregion
|
|
1609
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/debug-build.js
|
|
1610
|
+
var ii = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, q = E, ai = 1e3, oi, si, ci;
|
|
1611
|
+
function li(e) {
|
|
1612
|
+
F("dom", e), I("dom", ui);
|
|
1613
|
+
}
|
|
1614
|
+
function ui() {
|
|
1615
|
+
if (!q.document) return;
|
|
1616
|
+
let e = L.bind(null, "dom"), t = pi(e, !0);
|
|
1617
|
+
q.document.addEventListener("click", t, !1), q.document.addEventListener("keypress", t, !1), ["EventTarget", "Node"].forEach((t) => {
|
|
1618
|
+
var n, r;
|
|
1619
|
+
let i = (n = q[t]) == null ? void 0 : n.prototype;
|
|
1620
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (b(i, "addEventListener", function(t) {
|
|
1621
|
+
return function(n, r, i) {
|
|
1622
|
+
if (n === "click" || n == "keypress") try {
|
|
1623
|
+
let r = this.__sentry_instrumentation_handlers__ = this.__sentry_instrumentation_handlers__ || {}, a = r[n] = r[n] || { refCount: 0 };
|
|
1624
|
+
if (!a.handler) {
|
|
1625
|
+
let r = pi(e);
|
|
1626
|
+
a.handler = r, t.call(this, n, r, i);
|
|
1627
|
+
}
|
|
1628
|
+
a.refCount++;
|
|
1629
|
+
} catch {}
|
|
1630
|
+
return t.call(this, n, r, i);
|
|
1631
|
+
};
|
|
1632
|
+
}), b(i, "removeEventListener", function(e) {
|
|
1633
|
+
return function(t, n, r) {
|
|
1634
|
+
if (t === "click" || t == "keypress") try {
|
|
1635
|
+
let n = this.__sentry_instrumentation_handlers__ || {}, i = n[t];
|
|
1636
|
+
i && (i.refCount--, i.refCount <= 0 && (e.call(this, t, i.handler, r), i.handler = void 0, delete n[t]), Object.keys(n).length === 0 && delete this.__sentry_instrumentation_handlers__);
|
|
1637
|
+
} catch {}
|
|
1638
|
+
return e.call(this, t, n, r);
|
|
1639
|
+
};
|
|
1640
|
+
}));
|
|
1641
|
+
});
|
|
1642
|
+
}
|
|
1643
|
+
function di(e) {
|
|
1644
|
+
if (e.type !== si) return !1;
|
|
1645
|
+
try {
|
|
1646
|
+
if (!e.target || e.target._sentryId !== ci) return !1;
|
|
1647
|
+
} catch {}
|
|
1648
|
+
return !0;
|
|
1649
|
+
}
|
|
1650
|
+
function fi(e, t) {
|
|
1651
|
+
return e === "keypress" ? t != null && t.tagName ? !(t.tagName === "INPUT" || t.tagName === "TEXTAREA" || t.isContentEditable) : !0 : !1;
|
|
1652
|
+
}
|
|
1653
|
+
function pi(e, t = !1) {
|
|
1654
|
+
return (n) => {
|
|
1655
|
+
if (!n || n._sentryCaptured) return;
|
|
1656
|
+
let r = mi(n);
|
|
1657
|
+
if (fi(n.type, r)) return;
|
|
1658
|
+
h(n, "_sentryCaptured", !0), r && !r._sentryId && h(r, "_sentryId", se());
|
|
1659
|
+
let i = n.type === "keypress" ? "input" : n.type;
|
|
1660
|
+
di(n) || (e({
|
|
1661
|
+
event: n,
|
|
1662
|
+
name: i,
|
|
1663
|
+
global: t
|
|
1664
|
+
}), si = n.type, ci = r ? r._sentryId : void 0), clearTimeout(oi), oi = q.setTimeout(() => {
|
|
1665
|
+
ci = void 0, si = void 0;
|
|
1666
|
+
}, ai);
|
|
1667
|
+
};
|
|
1668
|
+
}
|
|
1669
|
+
function mi(e) {
|
|
1670
|
+
try {
|
|
1671
|
+
return e.target;
|
|
1672
|
+
} catch {
|
|
1673
|
+
return null;
|
|
1674
|
+
}
|
|
1675
|
+
}
|
|
1676
|
+
//#endregion
|
|
1677
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/history.js
|
|
1678
|
+
var J;
|
|
1679
|
+
function hi(e) {
|
|
1680
|
+
let t = "history";
|
|
1681
|
+
F(t, e), I(t, gi);
|
|
1682
|
+
}
|
|
1683
|
+
function gi() {
|
|
1684
|
+
if (q.addEventListener("popstate", () => {
|
|
1685
|
+
let e = q.location.href, t = J;
|
|
1686
|
+
J = e, t !== e && L("history", {
|
|
1687
|
+
from: t,
|
|
1688
|
+
to: e
|
|
1689
|
+
});
|
|
1690
|
+
}), !Tr()) return;
|
|
1691
|
+
function e(e) {
|
|
1692
|
+
return function(...t) {
|
|
1693
|
+
let n = t.length > 2 ? t[2] : void 0;
|
|
1694
|
+
if (n) {
|
|
1695
|
+
let r = J, i = _i(String(n));
|
|
1696
|
+
if (J = i, r === i) return e.apply(this, t);
|
|
1697
|
+
L("history", {
|
|
1698
|
+
from: r,
|
|
1699
|
+
to: i
|
|
1700
|
+
});
|
|
1701
|
+
}
|
|
1702
|
+
return e.apply(this, t);
|
|
1703
|
+
};
|
|
1704
|
+
}
|
|
1705
|
+
b(q.history, "pushState", e), b(q.history, "replaceState", e);
|
|
1706
|
+
}
|
|
1707
|
+
function _i(e) {
|
|
1708
|
+
try {
|
|
1709
|
+
return new URL(e, q.location.origin).toString();
|
|
1710
|
+
} catch {
|
|
1711
|
+
return e;
|
|
1712
|
+
}
|
|
1713
|
+
}
|
|
1714
|
+
//#endregion
|
|
1715
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/getNativeImplementation.js
|
|
1716
|
+
var vi = {};
|
|
1717
|
+
function yi(e) {
|
|
1718
|
+
let t = vi[e];
|
|
1719
|
+
if (t) return t;
|
|
1720
|
+
let n = q[e];
|
|
1721
|
+
if (Dr(n)) return vi[e] = n.bind(q);
|
|
1722
|
+
let r = q.document;
|
|
1723
|
+
if (r && typeof r.createElement == "function") try {
|
|
1724
|
+
let t = r.createElement("iframe");
|
|
1725
|
+
t.hidden = !0, r.head.appendChild(t);
|
|
1726
|
+
let i = t.contentWindow;
|
|
1727
|
+
i != null && i[e] && (n = i[e]), r.head.removeChild(t);
|
|
1728
|
+
} catch (t) {
|
|
1729
|
+
ii && O.warn(`Could not create sandbox iframe for ${e} check, bailing to window.${e}: `, t);
|
|
1730
|
+
}
|
|
1731
|
+
return n && (vi[e] = n.bind(q));
|
|
1732
|
+
}
|
|
1733
|
+
function bi(e) {
|
|
1734
|
+
vi[e] = void 0;
|
|
1735
|
+
}
|
|
1736
|
+
//#endregion
|
|
1737
|
+
//#region ../../node_modules/.pnpm/@sentry-internal+browser-utils@10.34.0/node_modules/@sentry-internal/browser-utils/build/esm/instrument/xhr.js
|
|
1738
|
+
var Y = "__sentry_xhr_v3__";
|
|
1739
|
+
function xi(e) {
|
|
1740
|
+
F("xhr", e), I("xhr", Si);
|
|
1741
|
+
}
|
|
1742
|
+
function Si() {
|
|
1743
|
+
if (!q.XMLHttpRequest) return;
|
|
1744
|
+
let e = XMLHttpRequest.prototype;
|
|
1745
|
+
e.open = new Proxy(e.open, { apply(e, t, n) {
|
|
1746
|
+
let r = /* @__PURE__ */ Error(), i = A() * 1e3, a = k(n[0]) ? n[0].toUpperCase() : void 0, o = Ci(n[1]);
|
|
1747
|
+
if (!a || !o) return e.apply(t, n);
|
|
1748
|
+
t[Y] = {
|
|
1749
|
+
method: a,
|
|
1750
|
+
url: o,
|
|
1751
|
+
request_headers: {}
|
|
1752
|
+
}, a === "POST" && o.match(/sentry_key/) && (t.__sentry_own_request__ = !0);
|
|
1753
|
+
let s = () => {
|
|
1754
|
+
let e = t[Y];
|
|
1755
|
+
if (e && t.readyState === 4) {
|
|
1756
|
+
try {
|
|
1757
|
+
e.status_code = t.status;
|
|
1758
|
+
} catch {}
|
|
1759
|
+
L("xhr", {
|
|
1760
|
+
endTimestamp: A() * 1e3,
|
|
1761
|
+
startTimestamp: i,
|
|
1762
|
+
xhr: t,
|
|
1763
|
+
virtualError: r
|
|
1764
|
+
});
|
|
1765
|
+
}
|
|
1766
|
+
};
|
|
1767
|
+
return "onreadystatechange" in t && typeof t.onreadystatechange == "function" ? t.onreadystatechange = new Proxy(t.onreadystatechange, { apply(e, t, n) {
|
|
1768
|
+
return s(), e.apply(t, n);
|
|
1769
|
+
} }) : t.addEventListener("readystatechange", s), t.setRequestHeader = new Proxy(t.setRequestHeader, { apply(e, t, n) {
|
|
1770
|
+
let [r, i] = n, a = t[Y];
|
|
1771
|
+
return a && k(r) && k(i) && (a.request_headers[r.toLowerCase()] = i), e.apply(t, n);
|
|
1772
|
+
} }), e.apply(t, n);
|
|
1773
|
+
} }), e.send = new Proxy(e.send, { apply(e, t, n) {
|
|
1774
|
+
let r = t[Y];
|
|
1775
|
+
return r ? (n[0] !== void 0 && (r.body = n[0]), L("xhr", {
|
|
1776
|
+
startTimestamp: A() * 1e3,
|
|
1777
|
+
xhr: t
|
|
1778
|
+
}), e.apply(t, n)) : e.apply(t, n);
|
|
1779
|
+
} });
|
|
1780
|
+
}
|
|
1781
|
+
function Ci(e) {
|
|
1782
|
+
if (k(e)) return e;
|
|
1783
|
+
try {
|
|
1784
|
+
return e.toString();
|
|
1785
|
+
} catch {}
|
|
1786
|
+
}
|
|
1787
|
+
//#endregion
|
|
1788
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/transports/fetch.js
|
|
1789
|
+
var wi = 40;
|
|
1790
|
+
function Ti(e, t = yi("fetch")) {
|
|
1791
|
+
let n = 0, r = 0;
|
|
1792
|
+
async function i(i) {
|
|
1793
|
+
let a = i.body.length;
|
|
1794
|
+
n += a, r++;
|
|
1795
|
+
let o = {
|
|
1796
|
+
body: i.body,
|
|
1797
|
+
method: "POST",
|
|
1798
|
+
referrerPolicy: "strict-origin",
|
|
1799
|
+
headers: e.headers,
|
|
1800
|
+
keepalive: n <= 6e4 && r < 15,
|
|
1801
|
+
...e.fetchOptions
|
|
1802
|
+
};
|
|
1803
|
+
try {
|
|
1804
|
+
let n = await t(e.url, o);
|
|
1805
|
+
return {
|
|
1806
|
+
statusCode: n.status,
|
|
1807
|
+
headers: {
|
|
1808
|
+
"x-sentry-rate-limits": n.headers.get("X-Sentry-Rate-Limits"),
|
|
1809
|
+
"retry-after": n.headers.get("Retry-After")
|
|
1810
|
+
}
|
|
1811
|
+
};
|
|
1812
|
+
} catch (e) {
|
|
1813
|
+
throw bi("fetch"), e;
|
|
1814
|
+
} finally {
|
|
1815
|
+
n -= a, r--;
|
|
1816
|
+
}
|
|
1817
|
+
}
|
|
1818
|
+
return hn(e, i, ln(e.bufferSize || wi));
|
|
1819
|
+
}
|
|
1820
|
+
//#endregion
|
|
1821
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/debug-build.js
|
|
1822
|
+
var X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ei = 30, Di = 50;
|
|
1823
|
+
function Oi(e, t, n, r) {
|
|
1824
|
+
let i = {
|
|
1825
|
+
filename: e,
|
|
1826
|
+
function: t === "<anonymous>" ? "?" : t,
|
|
1827
|
+
in_app: !0
|
|
1828
|
+
};
|
|
1829
|
+
return n !== void 0 && (i.lineno = n), r !== void 0 && (i.colno = r), i;
|
|
1830
|
+
}
|
|
1831
|
+
var ki = /^\s*at (\S+?)(?::(\d+))(?::(\d+))\s*$/i, Ai = /^\s*at (?:(.+?\)(?: \[.+\])?|.*?) ?\((?:address at )?)?(?:async )?((?:<anonymous>|[-a-z]+:|.*bundle|\/)?.*?)(?::(\d+))?(?::(\d+))?\)?\s*$/i, ji = /\((\S*)(?::(\d+))(?::(\d+))\)/, Mi = /at (.+?) ?\(data:(.+?),/, Ni = [Ei, (e) => {
|
|
1832
|
+
let t = e.match(Mi);
|
|
1833
|
+
if (t) return {
|
|
1834
|
+
filename: `<data:${t[2]}>`,
|
|
1835
|
+
function: t[1]
|
|
1836
|
+
};
|
|
1837
|
+
let n = ki.exec(e);
|
|
1838
|
+
if (n) {
|
|
1839
|
+
let [, e, t, r] = n;
|
|
1840
|
+
return Oi(e, "?", +t, +r);
|
|
1841
|
+
}
|
|
1842
|
+
let r = Ai.exec(e);
|
|
1843
|
+
if (r) {
|
|
1844
|
+
if (r[2] && r[2].indexOf("eval") === 0) {
|
|
1845
|
+
let e = ji.exec(r[2]);
|
|
1846
|
+
e && (r[2] = e[1], r[3] = e[2], r[4] = e[3]);
|
|
1847
|
+
}
|
|
1848
|
+
let [e, t] = Li(r[1] || "?", r[2]);
|
|
1849
|
+
return Oi(t, e, r[3] ? +r[3] : void 0, r[4] ? +r[4] : void 0);
|
|
1850
|
+
}
|
|
1851
|
+
}], Pi = /^\s*(.*?)(?:\((.*?)\))?(?:^|@)?((?:[-a-z]+)?:\/.*?|\[native code\]|[^@]*(?:bundle|\d+\.js)|\/[\w\-. /=]+)(?::(\d+))?(?::(\d+))?\s*$/i, Fi = /(\S+) line (\d+)(?: > eval line \d+)* > eval/i, Ii = Re(Ni, [Di, (e) => {
|
|
1852
|
+
let t = Pi.exec(e);
|
|
1853
|
+
if (t) {
|
|
1854
|
+
if (t[3] && t[3].indexOf(" > eval") > -1) {
|
|
1855
|
+
let e = Fi.exec(t[3]);
|
|
1856
|
+
e && (t[1] = t[1] || "eval", t[3] = e[1], t[4] = e[2], t[5] = "");
|
|
1857
|
+
}
|
|
1858
|
+
let e = t[3], n = t[1] || "?";
|
|
1859
|
+
return [n, e] = Li(n, e), Oi(e, n, t[4] ? +t[4] : void 0, t[5] ? +t[5] : void 0);
|
|
1860
|
+
}
|
|
1861
|
+
}]), Li = (e, t) => {
|
|
1862
|
+
let n = e.indexOf("safari-extension") !== -1, r = e.indexOf("safari-web-extension") !== -1;
|
|
1863
|
+
return n || r ? [e.indexOf("@") === -1 ? "?" : e.split("@")[0], n ? `safari-extension:${t}` : `safari-web-extension:${t}`] : [e, t];
|
|
1864
|
+
}, Ri = 1024, zi = "Breadcrumbs", Bi = z((e = {}) => {
|
|
1865
|
+
let t = {
|
|
1866
|
+
console: !0,
|
|
1867
|
+
dom: !0,
|
|
1868
|
+
fetch: !0,
|
|
1869
|
+
history: !0,
|
|
1870
|
+
sentry: !0,
|
|
1871
|
+
xhr: !0,
|
|
1872
|
+
...e
|
|
1873
|
+
};
|
|
1874
|
+
return {
|
|
1875
|
+
name: zi,
|
|
1876
|
+
setup(e) {
|
|
1877
|
+
t.console && pr(Ui(e)), t.dom && li(Hi(e, t.dom)), t.xhr && xi(Wi(e)), t.fetch && kr(Gi(e)), t.history && hi(Ki(e)), t.sentry && e.on("beforeSendEvent", Vi(e));
|
|
1878
|
+
}
|
|
1879
|
+
};
|
|
1880
|
+
});
|
|
1881
|
+
function Vi(e) {
|
|
1882
|
+
return function(t) {
|
|
1883
|
+
M() === e && V({
|
|
1884
|
+
category: `sentry.${t.type === "transaction" ? "transaction" : "event"}`,
|
|
1885
|
+
event_id: t.event_id,
|
|
1886
|
+
level: t.level,
|
|
1887
|
+
message: w(t)
|
|
1888
|
+
}, { event: t });
|
|
1889
|
+
};
|
|
1890
|
+
}
|
|
1891
|
+
function Hi(e, t) {
|
|
1892
|
+
return function(n) {
|
|
1893
|
+
if (M() !== e) return;
|
|
1894
|
+
let r, i, a = typeof t == "object" ? t.serializeAttribute : void 0, o = typeof t == "object" && typeof t.maxStringLength == "number" ? t.maxStringLength : void 0;
|
|
1895
|
+
o && o > Ri && (X && O.warn(`\`dom.maxStringLength\` cannot exceed ${Ri}, but a value of ${o} was configured. Sentry will use ${Ri} instead.`), o = Ri), typeof a == "string" && (a = [a]);
|
|
1896
|
+
try {
|
|
1897
|
+
let e = n.event, t = qi(e) ? e.target : e;
|
|
1898
|
+
r = Ve(t, {
|
|
1899
|
+
keyAttrs: a,
|
|
1900
|
+
maxStringLength: o
|
|
1901
|
+
}), i = re(t);
|
|
1902
|
+
} catch {
|
|
1903
|
+
r = "<unknown>";
|
|
1904
|
+
}
|
|
1905
|
+
if (r.length === 0) return;
|
|
1906
|
+
let s = {
|
|
1907
|
+
category: `ui.${n.name}`,
|
|
1908
|
+
message: r
|
|
1909
|
+
};
|
|
1910
|
+
i && (s.data = { "ui.component_name": i }), V(s, {
|
|
1911
|
+
event: n.event,
|
|
1912
|
+
name: n.name,
|
|
1913
|
+
global: n.global
|
|
1914
|
+
});
|
|
1915
|
+
};
|
|
1916
|
+
}
|
|
1917
|
+
function Ui(e) {
|
|
1918
|
+
return function(t) {
|
|
1919
|
+
if (M() !== e) return;
|
|
1920
|
+
let n = {
|
|
1921
|
+
category: "console",
|
|
1922
|
+
data: {
|
|
1923
|
+
arguments: t.args,
|
|
1924
|
+
logger: "console"
|
|
1925
|
+
},
|
|
1926
|
+
level: hr(t.level),
|
|
1927
|
+
message: x(t.args, " ")
|
|
1928
|
+
};
|
|
1929
|
+
if (t.level === "assert") if (t.args[0] === !1) n.message = `Assertion failed: ${x(t.args.slice(1), " ") || "console.assert"}`, n.data.arguments = t.args.slice(1);
|
|
1930
|
+
else return;
|
|
1931
|
+
V(n, {
|
|
1932
|
+
input: t.args,
|
|
1933
|
+
level: t.level
|
|
1934
|
+
});
|
|
1935
|
+
};
|
|
1936
|
+
}
|
|
1937
|
+
function Wi(e) {
|
|
1938
|
+
return function(t) {
|
|
1939
|
+
if (M() !== e) return;
|
|
1940
|
+
let { startTimestamp: n, endTimestamp: r } = t, i = t.xhr[Y];
|
|
1941
|
+
if (!n || !r || !i) return;
|
|
1942
|
+
let { method: a, url: o, status_code: s, body: c } = i, l = {
|
|
1943
|
+
method: a,
|
|
1944
|
+
url: o,
|
|
1945
|
+
status_code: s
|
|
1946
|
+
}, u = {
|
|
1947
|
+
xhr: t.xhr,
|
|
1948
|
+
input: c,
|
|
1949
|
+
startTimestamp: n,
|
|
1950
|
+
endTimestamp: r
|
|
1951
|
+
}, d = {
|
|
1952
|
+
category: "xhr",
|
|
1953
|
+
data: l,
|
|
1954
|
+
type: "http",
|
|
1955
|
+
level: wr(s)
|
|
1956
|
+
};
|
|
1957
|
+
e.emit("beforeOutgoingRequestBreadcrumb", d, u), V(d, u);
|
|
1958
|
+
};
|
|
1959
|
+
}
|
|
1960
|
+
function Gi(e) {
|
|
1961
|
+
return function(t) {
|
|
1962
|
+
if (M() !== e) return;
|
|
1963
|
+
let { startTimestamp: n, endTimestamp: r } = t;
|
|
1964
|
+
if (r && !(t.fetchData.url.match(/sentry_key/) && t.fetchData.method === "POST")) if (t.fetchData.method, t.fetchData.url, t.error) {
|
|
1965
|
+
let i = t.fetchData, a = {
|
|
1966
|
+
data: t.error,
|
|
1967
|
+
input: t.args,
|
|
1968
|
+
startTimestamp: n,
|
|
1969
|
+
endTimestamp: r
|
|
1970
|
+
}, o = {
|
|
1971
|
+
category: "fetch",
|
|
1972
|
+
data: i,
|
|
1973
|
+
level: "error",
|
|
1974
|
+
type: "http"
|
|
1975
|
+
};
|
|
1976
|
+
e.emit("beforeOutgoingRequestBreadcrumb", o, a), V(o, a);
|
|
1977
|
+
} else {
|
|
1978
|
+
let i = t.response, a = {
|
|
1979
|
+
...t.fetchData,
|
|
1980
|
+
status_code: i == null ? void 0 : i.status
|
|
1981
|
+
};
|
|
1982
|
+
t.fetchData.request_body_size, t.fetchData.response_body_size, i == null || i.status;
|
|
1983
|
+
let o = {
|
|
1984
|
+
input: t.args,
|
|
1985
|
+
response: i,
|
|
1986
|
+
startTimestamp: n,
|
|
1987
|
+
endTimestamp: r
|
|
1988
|
+
}, s = {
|
|
1989
|
+
category: "fetch",
|
|
1990
|
+
data: a,
|
|
1991
|
+
type: "http",
|
|
1992
|
+
level: wr(a.status_code)
|
|
1993
|
+
};
|
|
1994
|
+
e.emit("beforeOutgoingRequestBreadcrumb", s, o), V(s, o);
|
|
1995
|
+
}
|
|
1996
|
+
};
|
|
1997
|
+
}
|
|
1998
|
+
function Ki(e) {
|
|
1999
|
+
return function(t) {
|
|
2000
|
+
if (M() !== e) return;
|
|
2001
|
+
let n = t.from, r = t.to, i = Un(G.location.href), a = n ? Un(n) : void 0, o = Un(r);
|
|
2002
|
+
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), V({
|
|
2003
|
+
category: "navigation",
|
|
2004
|
+
data: {
|
|
2005
|
+
from: n,
|
|
2006
|
+
to: r
|
|
2007
|
+
}
|
|
2008
|
+
});
|
|
2009
|
+
};
|
|
2010
|
+
}
|
|
2011
|
+
function qi(e) {
|
|
2012
|
+
return !!e && !!e.target;
|
|
2013
|
+
}
|
|
2014
|
+
//#endregion
|
|
2015
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browserapierrors.js
|
|
2016
|
+
var Ji = /* @__PURE__ */ "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("."), Yi = "BrowserApiErrors", Xi = z((e = {}) => {
|
|
2017
|
+
let t = {
|
|
2018
|
+
XMLHttpRequest: !0,
|
|
2019
|
+
eventTarget: !0,
|
|
2020
|
+
requestAnimationFrame: !0,
|
|
2021
|
+
setInterval: !0,
|
|
2022
|
+
setTimeout: !0,
|
|
2023
|
+
unregisterOriginalCallbacks: !1,
|
|
2024
|
+
...e
|
|
2025
|
+
};
|
|
2026
|
+
return {
|
|
2027
|
+
name: Yi,
|
|
2028
|
+
setupOnce() {
|
|
2029
|
+
t.setTimeout && b(G, "setTimeout", Zi), t.setInterval && b(G, "setInterval", Zi), t.requestAnimationFrame && b(G, "requestAnimationFrame", Qi), t.XMLHttpRequest && "XMLHttpRequest" in G && b(XMLHttpRequest.prototype, "send", $i);
|
|
2030
|
+
let e = t.eventTarget;
|
|
2031
|
+
e && (Array.isArray(e) ? e : Ji).forEach((e) => ea(e, t));
|
|
2032
|
+
}
|
|
2033
|
+
};
|
|
2034
|
+
});
|
|
2035
|
+
function Zi(e) {
|
|
2036
|
+
return function(...t) {
|
|
2037
|
+
let n = t[0];
|
|
2038
|
+
return t[0] = K(n, { mechanism: {
|
|
2039
|
+
handled: !1,
|
|
2040
|
+
type: `auto.browser.browserapierrors.${D(e)}`
|
|
2041
|
+
} }), e.apply(this, t);
|
|
2042
|
+
};
|
|
2043
|
+
}
|
|
2044
|
+
function Qi(e) {
|
|
2045
|
+
return function(t) {
|
|
2046
|
+
return e.apply(this, [K(t, { mechanism: {
|
|
2047
|
+
data: { handler: D(e) },
|
|
2048
|
+
handled: !1,
|
|
2049
|
+
type: "auto.browser.browserapierrors.requestAnimationFrame"
|
|
2050
|
+
} })]);
|
|
2051
|
+
};
|
|
2052
|
+
}
|
|
2053
|
+
function $i(e) {
|
|
2054
|
+
return function(...t) {
|
|
2055
|
+
let n = this;
|
|
2056
|
+
return [
|
|
2057
|
+
"onload",
|
|
2058
|
+
"onerror",
|
|
2059
|
+
"onprogress",
|
|
2060
|
+
"onreadystatechange"
|
|
2061
|
+
].forEach((e) => {
|
|
2062
|
+
e in n && typeof n[e] == "function" && b(n, e, function(t) {
|
|
2063
|
+
let n = { mechanism: {
|
|
2064
|
+
data: { handler: D(t) },
|
|
2065
|
+
handled: !1,
|
|
2066
|
+
type: `auto.browser.browserapierrors.xhr.${e}`
|
|
2067
|
+
} }, r = fe(t);
|
|
2068
|
+
return r && (n.mechanism.data.handler = D(r)), K(t, n);
|
|
2069
|
+
});
|
|
2070
|
+
}), e.apply(this, t);
|
|
2071
|
+
};
|
|
2072
|
+
}
|
|
2073
|
+
function ea(e, t) {
|
|
2074
|
+
var n, r;
|
|
2075
|
+
let i = (n = G[e]) == null ? void 0 : n.prototype;
|
|
2076
|
+
!(i == null || (r = i.hasOwnProperty) == null) && r.call(i, "addEventListener") && (b(i, "addEventListener", function(n) {
|
|
2077
|
+
return function(r, i, a) {
|
|
2078
|
+
try {
|
|
2079
|
+
ta(i) && (i.handleEvent = K(i.handleEvent, { mechanism: {
|
|
2080
|
+
data: {
|
|
2081
|
+
handler: D(i),
|
|
2082
|
+
target: e
|
|
2083
|
+
},
|
|
2084
|
+
handled: !1,
|
|
2085
|
+
type: "auto.browser.browserapierrors.handleEvent"
|
|
2086
|
+
} }));
|
|
2087
|
+
} catch {}
|
|
2088
|
+
return t.unregisterOriginalCallbacks && na(this, r, i), n.apply(this, [
|
|
2089
|
+
r,
|
|
2090
|
+
K(i, { mechanism: {
|
|
2091
|
+
data: {
|
|
2092
|
+
handler: D(i),
|
|
2093
|
+
target: e
|
|
2094
|
+
},
|
|
2095
|
+
handled: !1,
|
|
2096
|
+
type: "auto.browser.browserapierrors.addEventListener"
|
|
2097
|
+
} }),
|
|
2098
|
+
a
|
|
2099
|
+
]);
|
|
2100
|
+
};
|
|
2101
|
+
}), b(i, "removeEventListener", function(e) {
|
|
2102
|
+
return function(t, n, r) {
|
|
2103
|
+
try {
|
|
2104
|
+
let i = n.__sentry_wrapped__;
|
|
2105
|
+
i && e.call(this, t, i, r);
|
|
2106
|
+
} catch {}
|
|
2107
|
+
return e.call(this, t, n, r);
|
|
2108
|
+
};
|
|
2109
|
+
}));
|
|
2110
|
+
}
|
|
2111
|
+
function ta(e) {
|
|
2112
|
+
return typeof e.handleEvent == "function";
|
|
2113
|
+
}
|
|
2114
|
+
function na(e, t, n) {
|
|
2115
|
+
e && typeof e == "object" && "removeEventListener" in e && typeof e.removeEventListener == "function" && e.removeEventListener(t, n);
|
|
2116
|
+
}
|
|
2117
|
+
//#endregion
|
|
2118
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/browsersession.js
|
|
2119
|
+
var ra = z(() => ({
|
|
2120
|
+
name: "BrowserSession",
|
|
2121
|
+
setupOnce() {
|
|
2122
|
+
if (G.document === void 0) {
|
|
2123
|
+
X && O.warn("Using the `browserSessionIntegration` in non-browser environments is not supported.");
|
|
2124
|
+
return;
|
|
2125
|
+
}
|
|
2126
|
+
xe({ ignoreDuration: !0 }), He(), hi(({ from: e, to: t }) => {
|
|
2127
|
+
e !== void 0 && e !== t && (xe({ ignoreDuration: !0 }), He());
|
|
2128
|
+
});
|
|
2129
|
+
}
|
|
2130
|
+
})), ia = "GlobalHandlers", aa = z((e = {}) => {
|
|
2131
|
+
let t = {
|
|
2132
|
+
onerror: !0,
|
|
2133
|
+
onunhandledrejection: !0,
|
|
2134
|
+
...e
|
|
2135
|
+
};
|
|
2136
|
+
return {
|
|
2137
|
+
name: ia,
|
|
2138
|
+
setupOnce() {
|
|
2139
|
+
Error.stackTraceLimit = 50;
|
|
2140
|
+
},
|
|
2141
|
+
setup(e) {
|
|
2142
|
+
t.onerror && (oa(e), da("onerror")), t.onunhandledrejection && (sa(e), da("onunhandledrejection"));
|
|
2143
|
+
}
|
|
2144
|
+
};
|
|
2145
|
+
});
|
|
2146
|
+
function oa(e) {
|
|
2147
|
+
ht((t) => {
|
|
2148
|
+
let { stackParser: n, attachStacktrace: r } = fa();
|
|
2149
|
+
if (M() !== e || Ir()) return;
|
|
2150
|
+
let { msg: i, url: a, line: o, column: s, error: c } = t, l = ua(Zr(n, c || i, void 0, r, !1), a, o, s);
|
|
2151
|
+
l.level = "error", Ke(l, {
|
|
2152
|
+
originalException: c,
|
|
2153
|
+
mechanism: {
|
|
2154
|
+
handled: !1,
|
|
2155
|
+
type: "auto.browser.global_handlers.onerror"
|
|
2156
|
+
}
|
|
2157
|
+
});
|
|
2158
|
+
});
|
|
2159
|
+
}
|
|
2160
|
+
function sa(e) {
|
|
2161
|
+
vt((t) => {
|
|
2162
|
+
let { stackParser: n, attachStacktrace: r } = fa();
|
|
2163
|
+
if (M() !== e || Ir()) return;
|
|
2164
|
+
let i = ca(t), a = Ie(i) ? la(i) : Zr(n, i, void 0, r, !0);
|
|
2165
|
+
a.level = "error", Ke(a, {
|
|
2166
|
+
originalException: i,
|
|
2167
|
+
mechanism: {
|
|
2168
|
+
handled: !1,
|
|
2169
|
+
type: "auto.browser.global_handlers.onunhandledrejection"
|
|
2170
|
+
}
|
|
2171
|
+
});
|
|
2172
|
+
});
|
|
2173
|
+
}
|
|
2174
|
+
function ca(e) {
|
|
2175
|
+
if (Ie(e)) return e;
|
|
2176
|
+
try {
|
|
2177
|
+
if ("reason" in e) return e.reason;
|
|
2178
|
+
if ("detail" in e && "reason" in e.detail) return e.detail.reason;
|
|
2179
|
+
} catch {}
|
|
2180
|
+
return e;
|
|
2181
|
+
}
|
|
2182
|
+
function la(e) {
|
|
2183
|
+
return { exception: { values: [{
|
|
2184
|
+
type: "UnhandledRejection",
|
|
2185
|
+
value: `Non-Error promise rejection captured with value: ${String(e)}`
|
|
2186
|
+
}] } };
|
|
2187
|
+
}
|
|
2188
|
+
function ua(e, t, n, r) {
|
|
2189
|
+
var i;
|
|
2190
|
+
let a = e.exception = e.exception || {}, o = a.values = a.values || [], s = o[0] = o[0] || {}, c = s.stacktrace = s.stacktrace || {}, l = c.frames = c.frames || [], u = r, d = n, ee = (i = pa(t)) == null ? S() : i;
|
|
2191
|
+
return l.length === 0 && l.push({
|
|
2192
|
+
colno: u,
|
|
2193
|
+
filename: ee,
|
|
2194
|
+
function: "?",
|
|
2195
|
+
in_app: !0,
|
|
2196
|
+
lineno: d
|
|
2197
|
+
}), e;
|
|
2198
|
+
}
|
|
2199
|
+
function da(e) {
|
|
2200
|
+
X && O.log(`Global Handler attached: ${e}`);
|
|
2201
|
+
}
|
|
2202
|
+
function fa() {
|
|
2203
|
+
let e = M();
|
|
2204
|
+
return (e == null ? void 0 : e.getOptions()) || {
|
|
2205
|
+
stackParser: () => [],
|
|
2206
|
+
attachStacktrace: !1
|
|
2207
|
+
};
|
|
2208
|
+
}
|
|
2209
|
+
function pa(e) {
|
|
2210
|
+
if (!(!k(e) || e.length === 0)) {
|
|
2211
|
+
if (e.startsWith("data:")) {
|
|
2212
|
+
let t = e.match(/^data:([^;]+)/);
|
|
2213
|
+
return `<data:${t ? t[1] : "text/javascript"}${e.includes("base64,") ? ",base64" : ""}>`;
|
|
2214
|
+
}
|
|
2215
|
+
return e;
|
|
2216
|
+
}
|
|
2217
|
+
}
|
|
2218
|
+
//#endregion
|
|
2219
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/integrations/httpcontext.js
|
|
2220
|
+
var ma = z(() => ({
|
|
2221
|
+
name: "HttpContext",
|
|
2222
|
+
preprocessEvent(e) {
|
|
2223
|
+
var t;
|
|
2224
|
+
if (!G.navigator && !G.location && !G.document) return;
|
|
2225
|
+
let n = Rr(), r = {
|
|
2226
|
+
...n.headers,
|
|
2227
|
+
...(t = e.request) == null ? void 0 : t.headers
|
|
2228
|
+
};
|
|
2229
|
+
e.request = {
|
|
2230
|
+
...n,
|
|
2231
|
+
...e.request,
|
|
2232
|
+
headers: r
|
|
2233
|
+
};
|
|
2234
|
+
}
|
|
2235
|
+
})), ha = "cause", ga = 5, _a = "LinkedErrors", va = z((e = {}) => {
|
|
2236
|
+
let t = e.limit || ga, n = e.key || ha;
|
|
2237
|
+
return {
|
|
2238
|
+
name: _a,
|
|
2239
|
+
preprocessEvent(e, r, i) {
|
|
2240
|
+
lr(zr, i.getOptions().stackParser, n, t, e, r);
|
|
2241
|
+
}
|
|
2242
|
+
};
|
|
2243
|
+
});
|
|
2244
|
+
//#endregion
|
|
2245
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/utils/detectBrowserExtension.js
|
|
2246
|
+
function ya() {
|
|
2247
|
+
return ba() ? (X && Ce(() => {
|
|
2248
|
+
console.error("[Sentry] You cannot use Sentry.init() in a browser extension, see: https://docs.sentry.io/platforms/javascript/best-practices/browser-extensions/");
|
|
2249
|
+
}), !0) : !1;
|
|
2250
|
+
}
|
|
2251
|
+
function ba() {
|
|
2252
|
+
var e;
|
|
2253
|
+
if (G.window === void 0) return !1;
|
|
2254
|
+
let t = G;
|
|
2255
|
+
if (t.nw) return !1;
|
|
2256
|
+
let n = t.chrome || t.browser;
|
|
2257
|
+
if (!(!(n == null || (e = n.runtime) == null) && e.id)) return !1;
|
|
2258
|
+
let r = S();
|
|
2259
|
+
return !(G === G.top && [
|
|
2260
|
+
"chrome-extension",
|
|
2261
|
+
"moz-extension",
|
|
2262
|
+
"ms-browser-extension",
|
|
2263
|
+
"safari-web-extension"
|
|
2264
|
+
].some((e) => r.startsWith(`${e}://`)));
|
|
2265
|
+
}
|
|
2266
|
+
//#endregion
|
|
2267
|
+
//#region ../../node_modules/.pnpm/@sentry+browser@10.34.0/node_modules/@sentry/browser/build/npm/esm/prod/sdk.js
|
|
2268
|
+
function xa(e) {
|
|
2269
|
+
return [
|
|
2270
|
+
er(),
|
|
2271
|
+
Xn(),
|
|
2272
|
+
Xi(),
|
|
2273
|
+
Bi(),
|
|
2274
|
+
aa(),
|
|
2275
|
+
va(),
|
|
2276
|
+
_r(),
|
|
2277
|
+
ma(),
|
|
2278
|
+
ra()
|
|
2279
|
+
];
|
|
2280
|
+
}
|
|
2281
|
+
function Sa(e = {}) {
|
|
2282
|
+
let t = !e.skipBrowserExtensionCheck && ya(), n = e.defaultIntegrations == null ? xa() : e.defaultIntegrations;
|
|
2283
|
+
return Vn(ni, {
|
|
2284
|
+
...e,
|
|
2285
|
+
enabled: t ? !1 : e.enabled,
|
|
2286
|
+
stackParser: Me(e.stackParser || Ii),
|
|
2287
|
+
integrations: qt({
|
|
2288
|
+
integrations: e.integrations,
|
|
2289
|
+
defaultIntegrations: n
|
|
2290
|
+
}),
|
|
2291
|
+
transport: e.transport || Ti
|
|
2292
|
+
});
|
|
2293
|
+
}
|
|
2294
|
+
//#endregion
|
|
2295
|
+
//#region ../../node_modules/.pnpm/@sentry+react@10.34.0_react@19.2.4/node_modules/@sentry/react/build/esm/sdk.js
|
|
2296
|
+
var Ca = /* @__PURE__ */ e(et());
|
|
2297
|
+
function wa(e) {
|
|
2298
|
+
let t = { ...e };
|
|
2299
|
+
return Gn(t, "react"), ve("react", { version: Ca.version }), Sa(t);
|
|
2300
|
+
}
|
|
2301
|
+
//#endregion
|
|
2302
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/debug-build.js
|
|
2303
|
+
var Ta = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Z = globalThis, Ea = "10.42.0";
|
|
2304
|
+
//#endregion
|
|
2305
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/carrier.js
|
|
2306
|
+
function Da(e, t, n = Z) {
|
|
2307
|
+
let r = n.__SENTRY__ = n.__SENTRY__ || {}, i = r[Ea] = r["10.42.0"] || {};
|
|
2308
|
+
return i[e] || (i[e] = t());
|
|
2309
|
+
}
|
|
2310
|
+
//#endregion
|
|
2311
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
|
|
2312
|
+
var Oa = "Sentry Logger ", ka = {};
|
|
2313
|
+
function Aa(e) {
|
|
2314
|
+
if (!("console" in Z)) return e();
|
|
2315
|
+
let t = Z.console, n = {}, r = Object.keys(ka);
|
|
2316
|
+
r.forEach((e) => {
|
|
2317
|
+
let r = ka[e];
|
|
2318
|
+
n[e] = t[e], t[e] = r;
|
|
2319
|
+
});
|
|
2320
|
+
try {
|
|
2321
|
+
return e();
|
|
2322
|
+
} finally {
|
|
2323
|
+
r.forEach((e) => {
|
|
2324
|
+
t[e] = n[e];
|
|
2325
|
+
});
|
|
2326
|
+
}
|
|
2327
|
+
}
|
|
2328
|
+
function ja() {
|
|
2329
|
+
Ra().enabled = !0;
|
|
2330
|
+
}
|
|
2331
|
+
function Ma() {
|
|
2332
|
+
Ra().enabled = !1;
|
|
2333
|
+
}
|
|
2334
|
+
function Na() {
|
|
2335
|
+
return Ra().enabled;
|
|
2336
|
+
}
|
|
2337
|
+
function Pa(...e) {
|
|
2338
|
+
La("log", ...e);
|
|
2339
|
+
}
|
|
2340
|
+
function Fa(...e) {
|
|
2341
|
+
La("warn", ...e);
|
|
2342
|
+
}
|
|
2343
|
+
function Ia(...e) {
|
|
2344
|
+
La("error", ...e);
|
|
2345
|
+
}
|
|
2346
|
+
function La(e, ...t) {
|
|
2347
|
+
Ta && Na() && Aa(() => {
|
|
2348
|
+
Z.console[e](`${Oa}[${e}]:`, ...t);
|
|
2349
|
+
});
|
|
2350
|
+
}
|
|
2351
|
+
function Ra() {
|
|
2352
|
+
return Ta ? Da("loggerSettings", () => ({ enabled: !1 })) : { enabled: !1 };
|
|
2353
|
+
}
|
|
2354
|
+
var za = {
|
|
2355
|
+
enable: ja,
|
|
2356
|
+
disable: Ma,
|
|
2357
|
+
isEnabled: Na,
|
|
2358
|
+
log: Pa,
|
|
2359
|
+
warn: Fa,
|
|
2360
|
+
error: Ia
|
|
2361
|
+
}, Q;
|
|
2362
|
+
function Ba(e) {
|
|
2363
|
+
if (Q !== void 0) return Q ? Q(e) : e();
|
|
2364
|
+
let t = Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"), n = Z;
|
|
2365
|
+
return t in n && typeof n[t] == "function" ? (Q = n[t], Q(e)) : (Q = null, e());
|
|
2366
|
+
}
|
|
2367
|
+
function Va() {
|
|
2368
|
+
return Ba(() => Date.now());
|
|
2369
|
+
}
|
|
2370
|
+
//#endregion
|
|
2371
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/utils/envelope.js
|
|
2372
|
+
function Ha(e, t) {
|
|
2373
|
+
let n = e[1];
|
|
2374
|
+
for (let e of n) {
|
|
2375
|
+
let n = e[0].type;
|
|
2376
|
+
if (t(e, n)) return !0;
|
|
2377
|
+
}
|
|
2378
|
+
return !1;
|
|
2379
|
+
}
|
|
2380
|
+
function Ua(e, t) {
|
|
2381
|
+
return Ha(e, (e, n) => t.includes(n));
|
|
2382
|
+
}
|
|
2383
|
+
//#endregion
|
|
2384
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/utils/timer.js
|
|
2385
|
+
function Wa(e) {
|
|
2386
|
+
return typeof e == "object" && typeof e.unref == "function" && e.unref(), e;
|
|
2387
|
+
}
|
|
2388
|
+
//#endregion
|
|
2389
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.42.0/node_modules/@sentry/core/build/esm/utils/ratelimit.js
|
|
2390
|
+
var Ga = 60 * 1e3;
|
|
2391
|
+
function Ka(e, t = Va()) {
|
|
2392
|
+
let n = parseInt(`${e}`, 10);
|
|
2393
|
+
if (!isNaN(n)) return n * 1e3;
|
|
2394
|
+
let r = Date.parse(`${e}`);
|
|
2395
|
+
return isNaN(r) ? Ga : r - t;
|
|
2396
|
+
}
|
|
2397
|
+
var qa = 5e3, Ja = 36e5;
|
|
2398
|
+
function Ya(e) {
|
|
2399
|
+
function t(...e) {
|
|
2400
|
+
Ta && za.log("[Offline]:", ...e);
|
|
2401
|
+
}
|
|
2402
|
+
return (n) => {
|
|
2403
|
+
let r = e(n);
|
|
2404
|
+
if (!n.createStore) throw Error("No `createStore` function was provided");
|
|
2405
|
+
let i = n.createStore(n), a = qa, o;
|
|
2406
|
+
function s(e, t, r) {
|
|
2407
|
+
return Ua(e, ["client_report"]) ? !1 : n.shouldStore ? n.shouldStore(e, t, r) : !0;
|
|
2408
|
+
}
|
|
2409
|
+
function c(e) {
|
|
2410
|
+
o && clearTimeout(o), o = Wa(setTimeout(async () => {
|
|
2411
|
+
o = void 0;
|
|
2412
|
+
let e = await i.shift();
|
|
2413
|
+
e && (t("Attempting to send previously queued event"), e[0].sent_at = (/* @__PURE__ */ new Date()).toISOString(), u(e, !0).catch((e) => {
|
|
2414
|
+
t("Failed to retry sending", e);
|
|
2415
|
+
}));
|
|
2416
|
+
}, e));
|
|
2417
|
+
}
|
|
2418
|
+
function l() {
|
|
2419
|
+
o || (c(a), a = Math.min(a * 2, Ja));
|
|
2420
|
+
}
|
|
2421
|
+
async function u(e, o = !1) {
|
|
2422
|
+
if (!o && Ua(e, ["replay_event", "replay_recording"])) return await i.push(e), c(100), {};
|
|
2423
|
+
try {
|
|
2424
|
+
if (n.shouldSend && await n.shouldSend(e) === !1) throw Error("Envelope not sent because `shouldSend` callback returned false");
|
|
2425
|
+
let t = await r.send(e), i = 100;
|
|
2426
|
+
if (t) {
|
|
2427
|
+
var u, d;
|
|
2428
|
+
if ((u = t.headers) != null && u["retry-after"]) i = Ka(t.headers["retry-after"]);
|
|
2429
|
+
else if ((d = t.headers) != null && d["x-sentry-rate-limits"]) i = 6e4;
|
|
2430
|
+
else if ((t.statusCode || 0) >= 400) return t;
|
|
2431
|
+
}
|
|
2432
|
+
return c(i), a = qa, t;
|
|
2433
|
+
} catch (n) {
|
|
2434
|
+
if (await s(e, n, a)) return o ? await i.unshift(e) : await i.push(e), l(), t("Error sending. Event queued.", n), {};
|
|
2435
|
+
throw n;
|
|
2436
|
+
}
|
|
2437
|
+
}
|
|
2438
|
+
return n.flushAtStartup && l(), {
|
|
2439
|
+
send: u,
|
|
2440
|
+
flush: (e) => (e === void 0 && (a = qa, c(100)), r.flush(e))
|
|
2441
|
+
};
|
|
2442
|
+
};
|
|
2443
|
+
}
|
|
2444
|
+
//#endregion
|
|
2445
|
+
//#region src/tools/sentry.ts
|
|
2446
|
+
var Xa = "production", Za = "3.0.4";
|
|
2447
|
+
function Qa() {
|
|
2448
|
+
let e = "sentry_offline_queue";
|
|
2449
|
+
return {
|
|
2450
|
+
async push(t) {
|
|
2451
|
+
try {
|
|
2452
|
+
var n, r;
|
|
2453
|
+
let i = JSON.parse(((n = localStorage) == null ? void 0 : n.getItem(e)) || "[]");
|
|
2454
|
+
i.push({
|
|
2455
|
+
envelope: t,
|
|
2456
|
+
timestamp: Date.now()
|
|
2457
|
+
}), i.length > 50 && i.shift(), (r = localStorage) == null || r.setItem(e, JSON.stringify(i));
|
|
2458
|
+
} catch {}
|
|
2459
|
+
},
|
|
2460
|
+
async unshift(t) {
|
|
2461
|
+
try {
|
|
2462
|
+
var n, r;
|
|
2463
|
+
let i = JSON.parse(((n = localStorage) == null ? void 0 : n.getItem(e)) || "[]");
|
|
2464
|
+
i.unshift({
|
|
2465
|
+
envelope: t,
|
|
2466
|
+
timestamp: Date.now()
|
|
2467
|
+
}), i.length > 50 && i.pop(), (r = localStorage) == null || r.setItem(e, JSON.stringify(i));
|
|
2468
|
+
} catch {}
|
|
2469
|
+
},
|
|
2470
|
+
async shift() {
|
|
2471
|
+
try {
|
|
2472
|
+
var t;
|
|
2473
|
+
let a = JSON.parse(((t = localStorage) == null ? void 0 : t.getItem(e)) || "[]");
|
|
2474
|
+
if (a.length === 0) {
|
|
2475
|
+
var n;
|
|
2476
|
+
(n = localStorage) == null || n.removeItem(e);
|
|
2477
|
+
return;
|
|
2478
|
+
}
|
|
2479
|
+
let o = a.shift();
|
|
2480
|
+
if (a.length === 0) {
|
|
2481
|
+
var r;
|
|
2482
|
+
(r = localStorage) == null || r.removeItem(e);
|
|
2483
|
+
} else {
|
|
2484
|
+
var i;
|
|
2485
|
+
(i = localStorage) == null || i.setItem(e, JSON.stringify(a));
|
|
2486
|
+
}
|
|
2487
|
+
return o == null ? void 0 : o.envelope;
|
|
2488
|
+
} catch {
|
|
2489
|
+
return;
|
|
2490
|
+
}
|
|
2491
|
+
}
|
|
2492
|
+
};
|
|
2493
|
+
}
|
|
2494
|
+
function $a(e) {
|
|
2495
|
+
let t = Ya(Ti);
|
|
2496
|
+
wa({
|
|
2497
|
+
dsn: "https://b2eafc5a038fa2c535099e431de219f2@o4510697102114816.ingest.us.sentry.io/4510697103097856",
|
|
2498
|
+
release: Za,
|
|
2499
|
+
environment: Xa,
|
|
2500
|
+
sendDefaultPii: !0,
|
|
2501
|
+
transport: (e) => t({
|
|
2502
|
+
...e,
|
|
2503
|
+
createStore: () => Qa(),
|
|
2504
|
+
flushAtStartup: !0,
|
|
2505
|
+
shouldStore: async (e, t) => {
|
|
2506
|
+
var n, r, i;
|
|
2507
|
+
return !!(!navigator.onLine || t && ((n = t.message) != null && n.includes("Failed to fetch") || (r = t.message) != null && r.includes("NetworkError") || (i = t.message) != null && i.includes("Network request failed")));
|
|
2508
|
+
}
|
|
2509
|
+
}),
|
|
2510
|
+
tracesSampleRate: .1,
|
|
2511
|
+
ignoreErrors: [
|
|
2512
|
+
/loading chunk \d{1,2}\b/i,
|
|
2513
|
+
/zaloJS/i,
|
|
2514
|
+
/e\.target\.name/i,
|
|
2515
|
+
/ResizeObserver loop/i,
|
|
2516
|
+
/ChunkLoadError/i,
|
|
2517
|
+
/FloorPlan not ready/i,
|
|
2518
|
+
/NetworkError/i,
|
|
2519
|
+
/network error occurred/i,
|
|
2520
|
+
/network request failed/i,
|
|
2521
|
+
/failed to fetch/i,
|
|
2522
|
+
/abort/i
|
|
2523
|
+
],
|
|
2524
|
+
beforeSend(e) {
|
|
2525
|
+
return Xa === "production" ? e : null;
|
|
2526
|
+
}
|
|
2527
|
+
}), e.eventId && Le("eventId", e.eventId), Le("isWebview", e.isWebview), Le("source", "vite-main"), We({ ip_address: "{{auto}}" }), eo();
|
|
2528
|
+
}
|
|
2529
|
+
function eo() {
|
|
2530
|
+
window.addEventListener("unhandledrejection", (e) => {
|
|
2531
|
+
Fe(e.reason, { contexts: { unhandledRejection: { promise: e.promise } } });
|
|
2532
|
+
});
|
|
2533
|
+
let e = window.onerror;
|
|
2534
|
+
window.onerror = (t, n, r, i, a) => (a && Fe(a, { contexts: { windowError: {
|
|
2535
|
+
message: t,
|
|
2536
|
+
source: n,
|
|
2537
|
+
lineno: r,
|
|
2538
|
+
colno: i
|
|
2539
|
+
} } }), e && e.call(window, t, n, r, i, a), !1), window.addEventListener("online", () => {
|
|
2540
|
+
var e;
|
|
2541
|
+
let t = (e = window.__SENTRY__) == null || (e = e.hub) == null ? void 0 : e.getClient();
|
|
2542
|
+
t && t.flush().catch(() => {});
|
|
2543
|
+
});
|
|
2544
|
+
}
|
|
2545
|
+
//#endregion
|
|
2546
|
+
//#region src/floorplan.loader.ts
|
|
2547
|
+
function $() {
|
|
2548
|
+
throw Error("FloorPlan not ready");
|
|
2549
|
+
}
|
|
2550
|
+
var to = class {
|
|
2551
|
+
get ready() {
|
|
2552
|
+
return this._ready;
|
|
2553
|
+
}
|
|
2554
|
+
get previewMode() {
|
|
2555
|
+
return this.options.previewMode || this.element.hasAttribute("data-preview-mode");
|
|
2556
|
+
}
|
|
2557
|
+
selectBooth(e) {
|
|
2558
|
+
$();
|
|
2559
|
+
}
|
|
2560
|
+
selectExhibitor(e) {
|
|
2561
|
+
$();
|
|
2562
|
+
}
|
|
2563
|
+
selectRoute(e, t) {
|
|
2564
|
+
$();
|
|
2565
|
+
}
|
|
2566
|
+
getOptimizedRoutes(e) {
|
|
2567
|
+
$();
|
|
2568
|
+
}
|
|
2569
|
+
selectCurrentPosition(e, t, n) {
|
|
2570
|
+
$();
|
|
2571
|
+
}
|
|
2572
|
+
setBookmarks(e) {
|
|
2573
|
+
$();
|
|
2574
|
+
}
|
|
2575
|
+
setEntitiesBookmarks(e) {
|
|
2576
|
+
$();
|
|
2577
|
+
}
|
|
2578
|
+
setEntitiesVisited(e) {
|
|
2579
|
+
$();
|
|
2580
|
+
}
|
|
2581
|
+
setMarkers(e) {
|
|
2582
|
+
$();
|
|
2583
|
+
}
|
|
2584
|
+
updateLayerVisibility(e, t) {
|
|
2585
|
+
$();
|
|
2586
|
+
}
|
|
2587
|
+
getCenterCoordinates() {
|
|
2588
|
+
$();
|
|
2589
|
+
}
|
|
2590
|
+
applyParameters(e) {
|
|
2591
|
+
$();
|
|
2592
|
+
}
|
|
2593
|
+
exhibitorsList() {
|
|
2594
|
+
$();
|
|
2595
|
+
}
|
|
2596
|
+
boothsList() {
|
|
2597
|
+
$();
|
|
2598
|
+
}
|
|
2599
|
+
categoriesList() {
|
|
2600
|
+
$();
|
|
2601
|
+
}
|
|
2602
|
+
selectCategory(e) {
|
|
2603
|
+
$();
|
|
2604
|
+
}
|
|
2605
|
+
getVisibility() {
|
|
2606
|
+
$();
|
|
2607
|
+
}
|
|
2608
|
+
setVisibility(e) {
|
|
2609
|
+
$();
|
|
2610
|
+
}
|
|
2611
|
+
findLocation() {
|
|
2612
|
+
$();
|
|
2613
|
+
}
|
|
2614
|
+
zoomIn() {
|
|
2615
|
+
$();
|
|
2616
|
+
}
|
|
2617
|
+
zoomOut() {
|
|
2618
|
+
$();
|
|
2619
|
+
}
|
|
2620
|
+
zoomTo(e, t) {
|
|
2621
|
+
$();
|
|
2622
|
+
}
|
|
2623
|
+
switchView() {
|
|
2624
|
+
$();
|
|
2625
|
+
}
|
|
2626
|
+
fitBounds() {
|
|
2627
|
+
$();
|
|
2628
|
+
}
|
|
2629
|
+
getBounds(e) {
|
|
2630
|
+
$();
|
|
2631
|
+
}
|
|
2632
|
+
getBoothRect(e) {
|
|
2633
|
+
$();
|
|
2634
|
+
}
|
|
2635
|
+
convertToGeo(e, t) {
|
|
2636
|
+
$();
|
|
2637
|
+
}
|
|
2638
|
+
unstable_destroy() {
|
|
2639
|
+
$();
|
|
2640
|
+
}
|
|
2641
|
+
highlightExhibitors(e) {
|
|
2642
|
+
$();
|
|
2643
|
+
}
|
|
2644
|
+
highlightBooths(e) {
|
|
2645
|
+
$();
|
|
2646
|
+
}
|
|
2647
|
+
onCurrentPositionChanged(e) {
|
|
2648
|
+
$();
|
|
2649
|
+
}
|
|
2650
|
+
search(e) {
|
|
2651
|
+
$();
|
|
2652
|
+
}
|
|
2653
|
+
getFloors() {
|
|
2654
|
+
$();
|
|
2655
|
+
}
|
|
2656
|
+
onFloorActivated(e) {
|
|
2657
|
+
$();
|
|
2658
|
+
}
|
|
2659
|
+
activateFloor(e) {
|
|
2660
|
+
$();
|
|
2661
|
+
}
|
|
2662
|
+
showPathway(e, t) {
|
|
2663
|
+
$();
|
|
2664
|
+
}
|
|
2665
|
+
showPathwayOnly(e, t) {
|
|
2666
|
+
$();
|
|
2667
|
+
}
|
|
2668
|
+
hidePathways() {
|
|
2669
|
+
$();
|
|
2670
|
+
}
|
|
2671
|
+
showSearch() {
|
|
2672
|
+
$();
|
|
2673
|
+
}
|
|
2674
|
+
changeLanguage(e) {
|
|
2675
|
+
$();
|
|
2676
|
+
}
|
|
2677
|
+
isGpsTrackingEnabled() {
|
|
2678
|
+
$();
|
|
2679
|
+
}
|
|
2680
|
+
setGpsTrackingEnabled(e) {
|
|
2681
|
+
$();
|
|
2682
|
+
}
|
|
2683
|
+
deselectCurrentPosition() {
|
|
2684
|
+
$();
|
|
2685
|
+
}
|
|
2686
|
+
deselectRoute() {
|
|
2687
|
+
$();
|
|
2688
|
+
}
|
|
2689
|
+
reset() {
|
|
2690
|
+
$();
|
|
2691
|
+
}
|
|
2692
|
+
constructor(e) {
|
|
2693
|
+
var n;
|
|
2694
|
+
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 = ft && !f ? !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 = (n = e.disableRuntimeAlerts) == null ? !0 : n, this._ready = new Promise((e, t) => {
|
|
2695
|
+
this.resolveReady = e;
|
|
2696
|
+
});
|
|
2697
|
+
let u = e.element;
|
|
2698
|
+
if (this.element = u, u.__expofp) throw Error("Element already in use");
|
|
2699
|
+
if (u.__expofp = this, u.getAttribute("data-event-id") || u.getAttribute("data-event")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2700
|
+
let d = e.expo || e.event;
|
|
2701
|
+
if (!d) throw Error("`expo` option is required");
|
|
2702
|
+
$a({
|
|
2703
|
+
eventId: d || "",
|
|
2704
|
+
isWebview: ee
|
|
2705
|
+
}), this.eventId = d, window.__efpEvent = d, window.__efpElement = u;
|
|
2706
|
+
let p = [...u.classList];
|
|
2707
|
+
u.classList.remove(...p), u.classList.add("expofp-floorplan-default", ...p);
|
|
2708
|
+
let m = document.head || document.getElementsByTagName("head")[0], h = document.createElement("style");
|
|
2709
|
+
m.prepend(h), h.textContent = ".expofp-floorplan-default { width: 100%; height: 100%;}";
|
|
2710
|
+
let g = document.createElement("div");
|
|
2711
|
+
g.style.height = "100%", g.style.width = "100%", u.appendChild(g);
|
|
2712
|
+
let _;
|
|
2713
|
+
if (ee && (this.allowConsent = !0), e.allowConsent === void 0) {
|
|
2714
|
+
let e = new URL(window.location.href).searchParams.get("allowConsent");
|
|
2715
|
+
e && (this.allowConsent = e === "true");
|
|
2716
|
+
}
|
|
2717
|
+
if (ut) {
|
|
2718
|
+
_ = g.attachShadow({ mode: "open" });
|
|
2719
|
+
let e = _, t = document;
|
|
2720
|
+
e.createElement = (...e) => t.createElement(...e), e.createElementNS = (...e) => t.createElementNS(...e), e.createTextNode = (...e) => t.createTextNode(...e);
|
|
2721
|
+
} else _ = g;
|
|
2722
|
+
let v = document.createElement("div");
|
|
2723
|
+
if (v.style.height = "100%", v.style.width = "100%", _.appendChild(v), ut && Object.defineProperty(v, "ownerDocument", { value: _ }), window.__efpShadowDOMStyleParent = ut ? _ : void 0, this.renderTarget = v, u.getAttribute("data-data-url")) throw Error("data-xxx attributes are removed, use options instead");
|
|
2724
|
+
let y = e.legacyDataUrlBase;
|
|
2725
|
+
window.__dataUrlBase = y, this.dataUrl = y, s.log("Instantiating ExpoFP floorplan", e.element, d);
|
|
2726
|
+
let re = y + "data.js", b = y + "wf.data.js", x = y + "fp.svg.js", ie = [
|
|
2727
|
+
i(b),
|
|
2728
|
+
i(re),
|
|
2729
|
+
i(x)
|
|
2730
|
+
], S = 0;
|
|
2731
|
+
this.efpStyleLoadHandler = function(e) {
|
|
2732
|
+
let t = window.__efpStyleElements;
|
|
2733
|
+
for (; S < t.length;) {
|
|
2734
|
+
let e = t[S];
|
|
2735
|
+
_.appendChild(e), S++;
|
|
2736
|
+
}
|
|
2737
|
+
}, window.addEventListener("__efpStyleLoad", this.efpStyleLoadHandler);
|
|
2738
|
+
let C = this;
|
|
2739
|
+
(async function() {
|
|
2740
|
+
var e, n;
|
|
2741
|
+
await Promise.all(ie);
|
|
2742
|
+
let ee = 0;
|
|
2743
|
+
for (; window.__fpPending && !window.__fp;) await t(2e3), await i(x + `?v=${++ee}`);
|
|
2744
|
+
let f = window.__data;
|
|
2745
|
+
await te();
|
|
2746
|
+
let p = new URLSearchParams(window.location.search), m, h;
|
|
2747
|
+
if (f != null && f.trackerUrl) try {
|
|
2748
|
+
m = new URL(f.trackerUrl), h = m.searchParams.get("expoId");
|
|
2749
|
+
} catch (e) {
|
|
2750
|
+
console.error(e);
|
|
2751
|
+
}
|
|
2752
|
+
let v = async (e) => {
|
|
2753
|
+
if (!m || !h) return Promise.reject(/* @__PURE__ */ Error("trackerUrl or expoId is missing"));
|
|
2754
|
+
let t = new URL(e.dataUrl, m.origin), n = await fetch(t.toString(), {
|
|
2755
|
+
method: "POST",
|
|
2756
|
+
headers: { "Content-Type": "application/json" },
|
|
2757
|
+
body: JSON.stringify({
|
|
2758
|
+
expoId: h,
|
|
2759
|
+
token: decodeURIComponent(p.get("t"))
|
|
2760
|
+
})
|
|
2761
|
+
}), r = [];
|
|
2762
|
+
n.ok && (r = (await n.json()).map(e.dataMapper)), window.__heatmapDataYah = { yah: r };
|
|
2763
|
+
};
|
|
2764
|
+
if (p.get("heatmap") === "true") try {
|
|
2765
|
+
if (p.get("type") === "yah") p.get("subtype") === "kiosk" ? await v({
|
|
2766
|
+
dataUrl: "/api/kiosks/list/viewer",
|
|
2767
|
+
dataMapper: (e) => ({
|
|
2768
|
+
...e,
|
|
2769
|
+
id: e.key,
|
|
2770
|
+
name: `Kiosk ${e.key}`
|
|
2771
|
+
})
|
|
2772
|
+
}) : await v({
|
|
2773
|
+
dataUrl: "/api/v1/you-are-here/qr-code/list/viewer",
|
|
2774
|
+
dataMapper: (e, t) => ({
|
|
2775
|
+
...e,
|
|
2776
|
+
name: `QR Code #${t + 1}`
|
|
2777
|
+
})
|
|
2778
|
+
});
|
|
2779
|
+
else {
|
|
2780
|
+
let e = new URL("/api/fp-stats/get", m.origin);
|
|
2781
|
+
e.searchParams.set("expoId", h), e.searchParams.set("type", "booview"), e.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
2782
|
+
let t = new URL("api/fp-stats/get", m.origin);
|
|
2783
|
+
t.searchParams.set("expoId", h), t.searchParams.set("type", "exview"), t.searchParams.set("t", decodeURIComponent(p.get("t")));
|
|
2784
|
+
let [n, r] = await Promise.all([fetch(e.toString()), fetch(t.toString())]), [i, a] = await Promise.all([n.json(), r.json()]);
|
|
2785
|
+
window.__heatmapData = {
|
|
2786
|
+
booths: i,
|
|
2787
|
+
exhibitors: a
|
|
2788
|
+
};
|
|
2789
|
+
}
|
|
2790
|
+
} catch (e) {
|
|
2791
|
+
console.error("Heatmap: Initialization error", e);
|
|
2792
|
+
}
|
|
2793
|
+
try {
|
|
2794
|
+
let e = o();
|
|
2795
|
+
if (e) {
|
|
2796
|
+
a(e);
|
|
2797
|
+
let t = r("api/rebooking-data", {
|
|
2798
|
+
rt: e,
|
|
2799
|
+
expoKey: d
|
|
2800
|
+
}), n = await fetch(t);
|
|
2801
|
+
n.ok && ct(f, await n.json()), f.isRebooking = n.ok;
|
|
2802
|
+
} else f.isRebooking = !1;
|
|
2803
|
+
} catch (e) {
|
|
2804
|
+
console.error(e);
|
|
2805
|
+
}
|
|
2806
|
+
let y = [
|
|
2807
|
+
ne(l + "vendor/sanitize-css/sanitize.css", _),
|
|
2808
|
+
ne(l + "vendor/perfect-scrollbar/css/perfect-scrollbar.css", _),
|
|
2809
|
+
ne(l + "vendor/mapbox/mapbox-gl.css", _),
|
|
2810
|
+
c("Oswald", l + "fonts/oswald-v17-cyrillic_latin-300.woff", { weight: 300 }),
|
|
2811
|
+
c("Oswald", l + "fonts/oswald-v17-cyrillic_latin-500.woff", { weight: 500 }),
|
|
2812
|
+
c("Inter", l + "fonts/inter-400.woff2", { weight: 400 }),
|
|
2813
|
+
c("Inter", l + "fonts/inter-500.woff2", { weight: 500 }),
|
|
2814
|
+
c("Inter", l + "fonts/inter-600.woff2", { weight: 600 }),
|
|
2815
|
+
c("efp-symbols", l + "fonts/efp-symbols.woff", { weight: 400 }),
|
|
2816
|
+
ot(f, _),
|
|
2817
|
+
st(C.icons)
|
|
2818
|
+
];
|
|
2819
|
+
await Promise.all(y), C.enableRotation = (e = f == null ? void 0 : f.enableRotation) == null ? !1 : e, C.alwaysShowSidebar = (n = f == null ? void 0 : f.alwaysShowSidebar) == null ? !1 : n, s.log("Data loaded");
|
|
2820
|
+
let { default: re } = await import(
|
|
2821
|
+
/* webpackChunkName: "floorplan" */
|
|
2822
|
+
"./floorplan.ready-BIdCL_qu.js"
|
|
2823
|
+
);
|
|
2824
|
+
for (document.querySelectorAll(".expofp-floorplan-loader").forEach((e) => e.remove()); u.firstChild && u.firstChild !== g;) u.removeChild(u.firstChild);
|
|
2825
|
+
Object.setPrototypeOf(C, re.prototype).init();
|
|
2826
|
+
})();
|
|
2827
|
+
}
|
|
2828
|
+
};
|
|
2829
|
+
//#endregion
|
|
2830
|
+
export { nt as a, Wt as i, X as n, G as r, to as t };
|