@expofp/floorplan 3.0.2 → 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-CXdWbmhr.js → CookieConsent-20OSplsa.js} +487 -485
- package/dist/browser/{Debug-DoJ9mct3.js → Debug-DVY7QSH3.js} +11 -10
- package/dist/browser/{Demo-BEQponkS.js → Demo-qAITctPP.js} +12 -11
- package/dist/browser/{Free-UAsV9h8C.js → Free-DAX07Faq.js} +14 -13
- package/dist/browser/{Gallery-BgXxqVXz.js → Gallery-BhQo5kwQ.js} +22 -21
- package/dist/browser/{GpsLoader-CgbTy8Hz.js → GpsLoader-CiHW2urc.js} +32 -31
- package/dist/browser/{KioskStore-YLbphfOD.js → KioskStore-CwZLrrqy.js} +35 -35
- package/dist/browser/{Mapbox-DpLJ3tpl.js → Mapbox-C65ZvpNQ.js} +9 -9
- package/dist/browser/{SetKioskMode-CN5fJClI.js → SetKioskMode-C4z7Sz25.js} +8 -8
- package/dist/browser/{ShowKiosk-vj5-CuR5.js → ShowKiosk-stxqqSB7.js} +10 -9
- package/dist/browser/{ThreeComponent-jLYP_yNl.js → ThreeComponent-BXwxseVE.js} +10 -9
- package/dist/browser/{TouchHand-BbwYQQhu.js → TouchHand-Dz318pf9.js} +5 -5
- package/dist/browser/{ViewerMenuPanel-4kghKIxV.js → ViewerMenuPanel-CAK4bMYg.js} +18 -17
- package/dist/browser/{add-debug-secret-listener-DM6KcZ0J.js → add-debug-secret-listener-Bji6Xb0a.js} +1 -1
- package/dist/browser/{boolean-editor-BrtABJXb.js → boolean-editor-D6nJvUln.js} +7 -7
- package/dist/browser/bundle.json +51 -39
- package/dist/browser/{chunk-CG6jx9YN.js → chunk-DtdTVMkx.js} +1 -1
- package/dist/browser/{classnames-DeFT1CBt.js → classnames-DLO4G2Aq.js} +2 -2
- package/dist/browser/{client-B6hKytWh.js → client-D4nNjEPG.js} +5 -5
- package/dist/browser/{data-BsqGAaoU.js → data-RX6r34oF.js} +4 -4
- package/dist/browser/{debug-overlay-Cb6jZH1M.js → debug-overlay-rk1N_z9_.js} +9 -9
- package/dist/browser/{debug-ui-XBqahA1W.js → debug-ui-DE0fncQV.js} +7 -7
- package/dist/browser/{dist-BcuX1Cs2.js → dist-tX7hWUmY.js} +6 -6
- package/dist/browser/exports-Pb-YuGCR.js +1495 -0
- package/dist/browser/{favicon-Caa4UHOv.js → favicon-DwSbd3PB.js} +1 -1
- package/dist/browser/{fetch-retry.umd-D6o13_3S.js → fetch-retry.umd-BI9-HPVK.js} +2 -2
- package/dist/browser/{flex-glIwYu7S.js → flex-D-cGnQFh.js} +7 -7
- package/dist/browser/floorplan.loader-C01OVaKo.js +2830 -0
- package/dist/browser/{floorplan.ready-Dkfm7Nqq.js → floorplan.ready-BIdCL_qu.js} +41 -38
- package/dist/browser/{fuse-CrFUY0W8.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-P5gPgaNY.js → jsx-runtime-BQn2tbwC.js} +2 -2
- package/dist/browser/{lib-BGCrbI0c.js → lib-D4g_-i_A.js} +5 -5
- package/dist/browser/{main-B7nu_ayH.js → main-C7b3KFSJ.js} +1 -1
- package/dist/browser/mobx-Cl5IBMNd.js +24 -0
- package/dist/browser/{particles.min-r4ucWEQe.js → particles.min-fCrqBF0H.js} +2 -2
- package/dist/browser/{prop-types-_4KGi_BP.js → prop-types-CBcnHoAH.js} +2 -2
- package/dist/browser/react-CuflrHKC.js +301 -0
- package/dist/browser/{react-dom-BeKu02fc.js → react-dom-C7lq59RX.js} +4 -4
- package/dist/browser/{reset-all-settings-CH3gzkuQ.js → reset-all-settings-DbcfYPlT.js} +1 -1
- package/dist/browser/{settings-D1gM4Wtx.js → settings-CgR5mVuh.js} +7 -7
- package/dist/browser/{src--OC9EQnB.js → src-C9-vYgd8.js} +5 -5
- package/dist/browser/{store-BpwlrbtP.js → store-BCWrifaL.js} +2788 -2787
- package/dist/browser/{ui-Cy6VKwPB.js → ui-BUETQfZK.js} +7 -7
- package/dist/esm/components/Layout.js +1 -1
- package/dist/esm/components/Mapbox/utils/data.d.ts +6 -8
- package/dist/esm/components/Modal.d.ts +1 -1
- package/dist/esm/components/Overlay.d.ts +1 -2
- package/dist/esm/components/ScrollableRow.d.ts +1 -2
- package/dist/esm/components/Tours.d.ts +1 -3
- package/dist/esm/components/stories/CookieConsent.stories.d.ts +1 -1
- package/dist/esm/components/stories/MapControls.stories.d.ts +1 -1
- package/dist/esm/components/stories/RebookingRadioGroup.stories.d.ts +1 -1
- package/dist/esm/store/BoothStore.d.ts +7 -7
- package/dist/esm/store/CategoryStore.d.ts +2 -2
- package/dist/esm/store/EventStore.d.ts +2 -2
- package/dist/esm/store/ExhibitorStore.d.ts +5 -5
- package/dist/esm/store/PoiTypeStore.d.ts +2 -2
- package/dist/esm/store/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SpeakerStore.d.ts +2 -2
- package/dist/esm/store/ToursStore.d.ts +2 -2
- package/dist/esm/store/init/init-booths.d.ts +3 -3
- package/dist/esm/store/providers/SessionsShortcutProvider.d.ts +2 -3
- package/dist/esm/store/providers/SpeakerShortcutProvider.d.ts +2 -3
- package/dist/esm/utils/is-debug.js +1 -1
- package/dist/esm/utils/mobx.d.ts +2 -2
- package/package.json +3 -3
- package/dist/browser/mobx-BwL1_Ioa.js +0 -23
|
@@ -0,0 +1,1495 @@
|
|
|
1
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/debug-build.js
|
|
2
|
+
(function() {
|
|
3
|
+
try {
|
|
4
|
+
var e = typeof window < "u" ? window : typeof global < "u" ? global : typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : {};
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.0.4" };
|
|
6
|
+
var t = new e.Error().stack;
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "08134c62-7c8c-4254-a3f6-7ca7d80538c8", e._sentryDebugIdIdentifier = "sentry-dbid-08134c62-7c8c-4254-a3f6-7ca7d80538c8");
|
|
8
|
+
} catch {}
|
|
9
|
+
})();
|
|
10
|
+
var e = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, t = globalThis, n = "10.34.0";
|
|
11
|
+
//#endregion
|
|
12
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/carrier.js
|
|
13
|
+
function r() {
|
|
14
|
+
return i(t), t;
|
|
15
|
+
}
|
|
16
|
+
function i(e) {
|
|
17
|
+
let t = e.__SENTRY__ = e.__SENTRY__ || {};
|
|
18
|
+
return t.version = t.version || "10.34.0", t[n] = t["10.34.0"] || {};
|
|
19
|
+
}
|
|
20
|
+
function a(e, r, i = t) {
|
|
21
|
+
let a = i.__SENTRY__ = i.__SENTRY__ || {}, o = a[n] = a["10.34.0"] || {};
|
|
22
|
+
return o[e] || (o[e] = r());
|
|
23
|
+
}
|
|
24
|
+
//#endregion
|
|
25
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
|
|
26
|
+
var o = [
|
|
27
|
+
"debug",
|
|
28
|
+
"info",
|
|
29
|
+
"warn",
|
|
30
|
+
"error",
|
|
31
|
+
"log",
|
|
32
|
+
"assert",
|
|
33
|
+
"trace"
|
|
34
|
+
], s = "Sentry Logger ", c = {};
|
|
35
|
+
function l(e) {
|
|
36
|
+
if (!("console" in t)) return e();
|
|
37
|
+
let n = t.console, r = {}, i = Object.keys(c);
|
|
38
|
+
i.forEach((e) => {
|
|
39
|
+
let t = c[e];
|
|
40
|
+
r[e] = n[e], n[e] = t;
|
|
41
|
+
});
|
|
42
|
+
try {
|
|
43
|
+
return e();
|
|
44
|
+
} finally {
|
|
45
|
+
i.forEach((e) => {
|
|
46
|
+
n[e] = r[e];
|
|
47
|
+
});
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
function u() {
|
|
51
|
+
_().enabled = !0;
|
|
52
|
+
}
|
|
53
|
+
function d() {
|
|
54
|
+
_().enabled = !1;
|
|
55
|
+
}
|
|
56
|
+
function f() {
|
|
57
|
+
return _().enabled;
|
|
58
|
+
}
|
|
59
|
+
function p(...e) {
|
|
60
|
+
g("log", ...e);
|
|
61
|
+
}
|
|
62
|
+
function m(...e) {
|
|
63
|
+
g("warn", ...e);
|
|
64
|
+
}
|
|
65
|
+
function h(...e) {
|
|
66
|
+
g("error", ...e);
|
|
67
|
+
}
|
|
68
|
+
function g(n, ...r) {
|
|
69
|
+
e && f() && l(() => {
|
|
70
|
+
t.console[n](`${s}[${n}]:`, ...r);
|
|
71
|
+
});
|
|
72
|
+
}
|
|
73
|
+
function _() {
|
|
74
|
+
return e ? a("loggerSettings", () => ({ enabled: !1 })) : { enabled: !1 };
|
|
75
|
+
}
|
|
76
|
+
var v = {
|
|
77
|
+
enable: u,
|
|
78
|
+
disable: d,
|
|
79
|
+
isEnabled: f,
|
|
80
|
+
log: p,
|
|
81
|
+
warn: m,
|
|
82
|
+
error: h
|
|
83
|
+
}, ee = 50, te = /\(error: (.*)\)/, ne = /captureMessage|captureException/;
|
|
84
|
+
function re(...e) {
|
|
85
|
+
let t = e.sort((e, t) => e[0] - t[0]).map((e) => e[1]);
|
|
86
|
+
return (e, n = 0, r = 0) => {
|
|
87
|
+
let i = [], a = e.split("\n");
|
|
88
|
+
for (let e = n; e < a.length; e++) {
|
|
89
|
+
let n = a[e];
|
|
90
|
+
n.length > 1024 && (n = n.slice(0, 1024));
|
|
91
|
+
let o = te.test(n) ? n.replace(te, "$1") : n;
|
|
92
|
+
if (!o.match(/\S*Error: /)) {
|
|
93
|
+
for (let e of t) {
|
|
94
|
+
let t = e(o);
|
|
95
|
+
if (t) {
|
|
96
|
+
i.push(t);
|
|
97
|
+
break;
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
if (i.length >= ee + r) break;
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
return ae(i.slice(r));
|
|
104
|
+
};
|
|
105
|
+
}
|
|
106
|
+
function ie(e) {
|
|
107
|
+
return Array.isArray(e) ? re(...e) : e;
|
|
108
|
+
}
|
|
109
|
+
function ae(e) {
|
|
110
|
+
if (!e.length) return [];
|
|
111
|
+
let t = Array.from(e);
|
|
112
|
+
return /sentryWrapped/.test(y(t).function || "") && t.pop(), t.reverse(), ne.test(y(t).function || "") && (t.pop(), ne.test(y(t).function || "") && t.pop()), t.slice(0, ee).map((e) => ({
|
|
113
|
+
...e,
|
|
114
|
+
filename: e.filename || y(t).filename,
|
|
115
|
+
function: e.function || "?"
|
|
116
|
+
}));
|
|
117
|
+
}
|
|
118
|
+
function y(e) {
|
|
119
|
+
return e[e.length - 1] || {};
|
|
120
|
+
}
|
|
121
|
+
var b = "<anonymous>";
|
|
122
|
+
function oe(e) {
|
|
123
|
+
try {
|
|
124
|
+
return !e || typeof e != "function" ? b : e.name || b;
|
|
125
|
+
} catch {
|
|
126
|
+
return b;
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
function se(e) {
|
|
130
|
+
let t = e.exception;
|
|
131
|
+
if (t) {
|
|
132
|
+
let e = [];
|
|
133
|
+
try {
|
|
134
|
+
return t.values.forEach((t) => {
|
|
135
|
+
t.stacktrace.frames && e.push(...t.stacktrace.frames);
|
|
136
|
+
}), e;
|
|
137
|
+
} catch {
|
|
138
|
+
return;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
function ce(e) {
|
|
143
|
+
return "__v_isVNode" in e && e.__v_isVNode ? "[VueVNode]" : "[VueViewModel]";
|
|
144
|
+
}
|
|
145
|
+
//#endregion
|
|
146
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/is.js
|
|
147
|
+
var le = Object.prototype.toString;
|
|
148
|
+
function ue(e) {
|
|
149
|
+
switch (le.call(e)) {
|
|
150
|
+
case "[object Error]":
|
|
151
|
+
case "[object Exception]":
|
|
152
|
+
case "[object DOMException]":
|
|
153
|
+
case "[object WebAssembly.Exception]": return !0;
|
|
154
|
+
default: return T(e, Error);
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
function x(e, t) {
|
|
158
|
+
return le.call(e) === `[object ${t}]`;
|
|
159
|
+
}
|
|
160
|
+
function de(e) {
|
|
161
|
+
return x(e, "ErrorEvent");
|
|
162
|
+
}
|
|
163
|
+
function fe(e) {
|
|
164
|
+
return x(e, "DOMError");
|
|
165
|
+
}
|
|
166
|
+
function pe(e) {
|
|
167
|
+
return x(e, "DOMException");
|
|
168
|
+
}
|
|
169
|
+
function S(e) {
|
|
170
|
+
return x(e, "String");
|
|
171
|
+
}
|
|
172
|
+
function me(e) {
|
|
173
|
+
return typeof e == "object" && !!e && "__sentry_template_string__" in e && "__sentry_template_values__" in e;
|
|
174
|
+
}
|
|
175
|
+
function he(e) {
|
|
176
|
+
return e === null || me(e) || typeof e != "object" && typeof e != "function";
|
|
177
|
+
}
|
|
178
|
+
function C(e) {
|
|
179
|
+
return x(e, "Object");
|
|
180
|
+
}
|
|
181
|
+
function ge(e) {
|
|
182
|
+
return typeof Event < "u" && T(e, Event);
|
|
183
|
+
}
|
|
184
|
+
function _e(e) {
|
|
185
|
+
return typeof Element < "u" && T(e, Element);
|
|
186
|
+
}
|
|
187
|
+
function ve(e) {
|
|
188
|
+
return x(e, "RegExp");
|
|
189
|
+
}
|
|
190
|
+
function w(e) {
|
|
191
|
+
return !!(e != null && e.then && typeof e.then == "function");
|
|
192
|
+
}
|
|
193
|
+
function ye(e) {
|
|
194
|
+
return C(e) && "nativeEvent" in e && "preventDefault" in e && "stopPropagation" in e;
|
|
195
|
+
}
|
|
196
|
+
function T(e, t) {
|
|
197
|
+
try {
|
|
198
|
+
return e instanceof t;
|
|
199
|
+
} catch {
|
|
200
|
+
return !1;
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
function be(e) {
|
|
204
|
+
return !!(typeof e == "object" && e && (e.__isVue || e._isVue || e.__v_isVNode));
|
|
205
|
+
}
|
|
206
|
+
function xe(e) {
|
|
207
|
+
return typeof Request < "u" && T(e, Request);
|
|
208
|
+
}
|
|
209
|
+
//#endregion
|
|
210
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
211
|
+
var E = t, Se = 80;
|
|
212
|
+
function Ce(e, t = {}) {
|
|
213
|
+
if (!e) return "<unknown>";
|
|
214
|
+
try {
|
|
215
|
+
let n = e, r = [], i = 0, a = 0, o, s = Array.isArray(t) ? t : t.keyAttrs, c = !Array.isArray(t) && t.maxStringLength || Se;
|
|
216
|
+
for (; n && i++ < 5 && (o = we(n, s), !(o === "html" || i > 1 && a + r.length * 3 + o.length >= c));) r.push(o), a += o.length, n = n.parentNode;
|
|
217
|
+
return r.reverse().join(" > ");
|
|
218
|
+
} catch {
|
|
219
|
+
return "<unknown>";
|
|
220
|
+
}
|
|
221
|
+
}
|
|
222
|
+
function we(e, t) {
|
|
223
|
+
let n = e, r = [];
|
|
224
|
+
if (!(n != null && n.tagName)) return "";
|
|
225
|
+
if (E.HTMLElement && n instanceof HTMLElement && n.dataset) {
|
|
226
|
+
if (n.dataset.sentryComponent) return n.dataset.sentryComponent;
|
|
227
|
+
if (n.dataset.sentryElement) return n.dataset.sentryElement;
|
|
228
|
+
}
|
|
229
|
+
r.push(n.tagName.toLowerCase());
|
|
230
|
+
let i = t != null && t.length ? t.filter((e) => n.getAttribute(e)).map((e) => [e, n.getAttribute(e)]) : null;
|
|
231
|
+
if (i != null && i.length) i.forEach((e) => {
|
|
232
|
+
r.push(`[${e[0]}="${e[1]}"]`);
|
|
233
|
+
});
|
|
234
|
+
else {
|
|
235
|
+
n.id && r.push(`#${n.id}`);
|
|
236
|
+
let e = n.className;
|
|
237
|
+
if (e && S(e)) {
|
|
238
|
+
let t = e.split(/\s+/);
|
|
239
|
+
for (let e of t) r.push(`.${e}`);
|
|
240
|
+
}
|
|
241
|
+
}
|
|
242
|
+
for (let e of [
|
|
243
|
+
"aria-label",
|
|
244
|
+
"type",
|
|
245
|
+
"name",
|
|
246
|
+
"title",
|
|
247
|
+
"alt"
|
|
248
|
+
]) {
|
|
249
|
+
let t = n.getAttribute(e);
|
|
250
|
+
t && r.push(`[${e}="${t}"]`);
|
|
251
|
+
}
|
|
252
|
+
return r.join("");
|
|
253
|
+
}
|
|
254
|
+
function Te() {
|
|
255
|
+
try {
|
|
256
|
+
return E.document.location.href;
|
|
257
|
+
} catch {
|
|
258
|
+
return "";
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
function Ee(e) {
|
|
262
|
+
if (!E.HTMLElement) return null;
|
|
263
|
+
let t = e;
|
|
264
|
+
for (let e = 0; e < 5; e++) {
|
|
265
|
+
if (!t) return null;
|
|
266
|
+
if (t instanceof HTMLElement) {
|
|
267
|
+
if (t.dataset.sentryComponent) return t.dataset.sentryComponent;
|
|
268
|
+
if (t.dataset.sentryElement) return t.dataset.sentryElement;
|
|
269
|
+
}
|
|
270
|
+
t = t.parentNode;
|
|
271
|
+
}
|
|
272
|
+
return null;
|
|
273
|
+
}
|
|
274
|
+
//#endregion
|
|
275
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/object.js
|
|
276
|
+
function De(t, n, r) {
|
|
277
|
+
if (!(n in t)) return;
|
|
278
|
+
let i = t[n];
|
|
279
|
+
if (typeof i != "function") return;
|
|
280
|
+
let a = r(i);
|
|
281
|
+
typeof a == "function" && Oe(a, i);
|
|
282
|
+
try {
|
|
283
|
+
t[n] = a;
|
|
284
|
+
} catch {
|
|
285
|
+
e && v.log(`Failed to replace method "${n}" in object`, t);
|
|
286
|
+
}
|
|
287
|
+
}
|
|
288
|
+
function D(t, n, r) {
|
|
289
|
+
try {
|
|
290
|
+
Object.defineProperty(t, n, {
|
|
291
|
+
value: r,
|
|
292
|
+
writable: !0,
|
|
293
|
+
configurable: !0
|
|
294
|
+
});
|
|
295
|
+
} catch {
|
|
296
|
+
e && v.log(`Failed to add non-enumerable property "${n}" to object`, t);
|
|
297
|
+
}
|
|
298
|
+
}
|
|
299
|
+
function Oe(e, t) {
|
|
300
|
+
try {
|
|
301
|
+
e.prototype = t.prototype = t.prototype || {}, D(e, "__sentry_original__", t);
|
|
302
|
+
} catch {}
|
|
303
|
+
}
|
|
304
|
+
function ke(e) {
|
|
305
|
+
return e.__sentry_original__;
|
|
306
|
+
}
|
|
307
|
+
function Ae(e) {
|
|
308
|
+
if (ue(e)) return {
|
|
309
|
+
message: e.message,
|
|
310
|
+
name: e.name,
|
|
311
|
+
stack: e.stack,
|
|
312
|
+
...Me(e)
|
|
313
|
+
};
|
|
314
|
+
if (ge(e)) {
|
|
315
|
+
let t = {
|
|
316
|
+
type: e.type,
|
|
317
|
+
target: je(e.target),
|
|
318
|
+
currentTarget: je(e.currentTarget),
|
|
319
|
+
...Me(e)
|
|
320
|
+
};
|
|
321
|
+
return typeof CustomEvent < "u" && T(e, CustomEvent) && (t.detail = e.detail), t;
|
|
322
|
+
} else return e;
|
|
323
|
+
}
|
|
324
|
+
function je(e) {
|
|
325
|
+
try {
|
|
326
|
+
return _e(e) ? Ce(e) : Object.prototype.toString.call(e);
|
|
327
|
+
} catch {
|
|
328
|
+
return "<unknown>";
|
|
329
|
+
}
|
|
330
|
+
}
|
|
331
|
+
function Me(e) {
|
|
332
|
+
if (typeof e == "object" && e) {
|
|
333
|
+
let t = {};
|
|
334
|
+
for (let n in e) Object.prototype.hasOwnProperty.call(e, n) && (t[n] = e[n]);
|
|
335
|
+
return t;
|
|
336
|
+
} else return {};
|
|
337
|
+
}
|
|
338
|
+
function Ne(e) {
|
|
339
|
+
let t = Object.keys(Ae(e));
|
|
340
|
+
return t.sort(), t[0] ? t.join(", ") : "[object has no keys]";
|
|
341
|
+
}
|
|
342
|
+
//#endregion
|
|
343
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
|
|
344
|
+
var O;
|
|
345
|
+
function k(e) {
|
|
346
|
+
if (O !== void 0) return O ? O(e) : e();
|
|
347
|
+
let n = Symbol.for("__SENTRY_SAFE_RANDOM_ID_WRAPPER__"), r = t;
|
|
348
|
+
return n in r && typeof r[n] == "function" ? (O = r[n], O(e)) : (O = null, e());
|
|
349
|
+
}
|
|
350
|
+
function A() {
|
|
351
|
+
return k(() => Math.random());
|
|
352
|
+
}
|
|
353
|
+
function Pe() {
|
|
354
|
+
return k(() => Date.now());
|
|
355
|
+
}
|
|
356
|
+
//#endregion
|
|
357
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/string.js
|
|
358
|
+
function j(e, t = 0) {
|
|
359
|
+
return typeof e != "string" || t === 0 || e.length <= t ? e : `${e.slice(0, t)}...`;
|
|
360
|
+
}
|
|
361
|
+
function Fe(e, t) {
|
|
362
|
+
if (!Array.isArray(e)) return "";
|
|
363
|
+
let n = [];
|
|
364
|
+
for (let t = 0; t < e.length; t++) {
|
|
365
|
+
let r = e[t];
|
|
366
|
+
try {
|
|
367
|
+
be(r) ? n.push(ce(r)) : n.push(String(r));
|
|
368
|
+
} catch {
|
|
369
|
+
n.push("[value cannot be serialized]");
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
return n.join(t);
|
|
373
|
+
}
|
|
374
|
+
function Ie(e, t, n = !1) {
|
|
375
|
+
return S(e) ? ve(t) ? t.test(e) : S(t) ? n ? e === t : e.includes(t) : !1 : !1;
|
|
376
|
+
}
|
|
377
|
+
function Le(e, t = [], n = !1) {
|
|
378
|
+
return t.some((t) => Ie(e, t, n));
|
|
379
|
+
}
|
|
380
|
+
//#endregion
|
|
381
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/misc.js
|
|
382
|
+
function Re() {
|
|
383
|
+
let e = t;
|
|
384
|
+
return e.crypto || e.msCrypto;
|
|
385
|
+
}
|
|
386
|
+
var M;
|
|
387
|
+
function ze() {
|
|
388
|
+
return A() * 16;
|
|
389
|
+
}
|
|
390
|
+
function N(e = Re()) {
|
|
391
|
+
try {
|
|
392
|
+
if (e != null && e.randomUUID) return k(() => e.randomUUID()).replace(/-/g, "");
|
|
393
|
+
} catch {}
|
|
394
|
+
return M || (M = "10000000100040008000100000000000"), M.replace(/[018]/g, (e) => (e ^ (ze() & 15) >> e / 4).toString(16));
|
|
395
|
+
}
|
|
396
|
+
function Be(e) {
|
|
397
|
+
var t;
|
|
398
|
+
return (t = e.exception) == null || (t = t.values) == null ? void 0 : t[0];
|
|
399
|
+
}
|
|
400
|
+
function Ve(e) {
|
|
401
|
+
let { message: t, event_id: n } = e;
|
|
402
|
+
if (t) return t;
|
|
403
|
+
let r = Be(e);
|
|
404
|
+
return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
|
|
405
|
+
}
|
|
406
|
+
function He(e, t, n) {
|
|
407
|
+
let r = e.exception = e.exception || {}, i = r.values = r.values || [], a = i[0] = i[0] || {};
|
|
408
|
+
a.value || (a.value = t || ""), a.type || (a.type = n || "Error");
|
|
409
|
+
}
|
|
410
|
+
function Ue(e, t) {
|
|
411
|
+
let n = Be(e);
|
|
412
|
+
if (!n) return;
|
|
413
|
+
let r = {
|
|
414
|
+
type: "generic",
|
|
415
|
+
handled: !0
|
|
416
|
+
}, i = n.mechanism;
|
|
417
|
+
if (n.mechanism = {
|
|
418
|
+
...r,
|
|
419
|
+
...i,
|
|
420
|
+
...t
|
|
421
|
+
}, t && "data" in t) {
|
|
422
|
+
let e = {
|
|
423
|
+
...i == null ? void 0 : i.data,
|
|
424
|
+
...t.data
|
|
425
|
+
};
|
|
426
|
+
n.mechanism.data = e;
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
function We(e) {
|
|
430
|
+
if (Ge(e)) return !0;
|
|
431
|
+
try {
|
|
432
|
+
D(e, "__sentry_captured__", !0);
|
|
433
|
+
} catch {}
|
|
434
|
+
return !1;
|
|
435
|
+
}
|
|
436
|
+
function Ge(e) {
|
|
437
|
+
try {
|
|
438
|
+
return e.__sentry_captured__;
|
|
439
|
+
} catch {}
|
|
440
|
+
}
|
|
441
|
+
//#endregion
|
|
442
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/time.js
|
|
443
|
+
var Ke = 1e3;
|
|
444
|
+
function P() {
|
|
445
|
+
return Pe() / Ke;
|
|
446
|
+
}
|
|
447
|
+
function qe() {
|
|
448
|
+
let { performance: e } = t;
|
|
449
|
+
if (!(e != null && e.now) || !e.timeOrigin) return P;
|
|
450
|
+
let n = e.timeOrigin;
|
|
451
|
+
return () => (n + k(() => e.now())) / Ke;
|
|
452
|
+
}
|
|
453
|
+
var Je;
|
|
454
|
+
function F() {
|
|
455
|
+
var e;
|
|
456
|
+
return ((e = Je) == null ? Je = qe() : e)();
|
|
457
|
+
}
|
|
458
|
+
//#endregion
|
|
459
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/session.js
|
|
460
|
+
function Ye(e) {
|
|
461
|
+
let t = F(), n = {
|
|
462
|
+
sid: N(),
|
|
463
|
+
init: !0,
|
|
464
|
+
timestamp: t,
|
|
465
|
+
started: t,
|
|
466
|
+
duration: 0,
|
|
467
|
+
status: "ok",
|
|
468
|
+
errors: 0,
|
|
469
|
+
ignoreDuration: !1,
|
|
470
|
+
toJSON: () => Ze(n)
|
|
471
|
+
};
|
|
472
|
+
return e && I(n, e), n;
|
|
473
|
+
}
|
|
474
|
+
function I(e, t = {}) {
|
|
475
|
+
if (t.user && (!e.ipAddress && t.user.ip_address && (e.ipAddress = t.user.ip_address), !e.did && !t.did && (e.did = t.user.id || t.user.email || t.user.username)), e.timestamp = t.timestamp || F(), t.abnormal_mechanism && (e.abnormal_mechanism = t.abnormal_mechanism), t.ignoreDuration && (e.ignoreDuration = t.ignoreDuration), t.sid && (e.sid = t.sid.length === 32 ? t.sid : N()), t.init !== void 0 && (e.init = t.init), !e.did && t.did && (e.did = `${t.did}`), typeof t.started == "number" && (e.started = t.started), e.ignoreDuration) e.duration = void 0;
|
|
476
|
+
else if (typeof t.duration == "number") e.duration = t.duration;
|
|
477
|
+
else {
|
|
478
|
+
let t = e.timestamp - e.started;
|
|
479
|
+
e.duration = t >= 0 ? t : 0;
|
|
480
|
+
}
|
|
481
|
+
t.release && (e.release = t.release), t.environment && (e.environment = t.environment), !e.ipAddress && t.ipAddress && (e.ipAddress = t.ipAddress), !e.userAgent && t.userAgent && (e.userAgent = t.userAgent), typeof t.errors == "number" && (e.errors = t.errors), t.status && (e.status = t.status);
|
|
482
|
+
}
|
|
483
|
+
function Xe(e, t) {
|
|
484
|
+
let n = {};
|
|
485
|
+
t ? n = { status: t } : e.status === "ok" && (n = { status: "exited" }), I(e, n);
|
|
486
|
+
}
|
|
487
|
+
function Ze(e) {
|
|
488
|
+
return {
|
|
489
|
+
sid: `${e.sid}`,
|
|
490
|
+
init: e.init,
|
|
491
|
+
started: (/* @__PURE__ */ new Date(e.started * 1e3)).toISOString(),
|
|
492
|
+
timestamp: (/* @__PURE__ */ new Date(e.timestamp * 1e3)).toISOString(),
|
|
493
|
+
status: e.status,
|
|
494
|
+
errors: e.errors,
|
|
495
|
+
did: typeof e.did == "number" || typeof e.did == "string" ? `${e.did}` : void 0,
|
|
496
|
+
duration: e.duration,
|
|
497
|
+
abnormal_mechanism: e.abnormal_mechanism,
|
|
498
|
+
attrs: {
|
|
499
|
+
release: e.release,
|
|
500
|
+
environment: e.environment,
|
|
501
|
+
ip_address: e.ipAddress,
|
|
502
|
+
user_agent: e.userAgent
|
|
503
|
+
}
|
|
504
|
+
};
|
|
505
|
+
}
|
|
506
|
+
//#endregion
|
|
507
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/merge.js
|
|
508
|
+
function L(e, t, n = 2) {
|
|
509
|
+
if (!t || typeof t != "object" || n <= 0) return t;
|
|
510
|
+
if (e && Object.keys(t).length === 0) return e;
|
|
511
|
+
let r = { ...e };
|
|
512
|
+
for (let e in t) Object.prototype.hasOwnProperty.call(t, e) && (r[e] = L(r[e], t[e], n - 1));
|
|
513
|
+
return r;
|
|
514
|
+
}
|
|
515
|
+
//#endregion
|
|
516
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/propagationContext.js
|
|
517
|
+
function Qe() {
|
|
518
|
+
return N();
|
|
519
|
+
}
|
|
520
|
+
function $e() {
|
|
521
|
+
return N().substring(16);
|
|
522
|
+
}
|
|
523
|
+
//#endregion
|
|
524
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
|
|
525
|
+
var R = "_sentrySpan";
|
|
526
|
+
function et(e, t) {
|
|
527
|
+
t ? D(e, R, t) : delete e[R];
|
|
528
|
+
}
|
|
529
|
+
function tt(e) {
|
|
530
|
+
return e[R];
|
|
531
|
+
}
|
|
532
|
+
//#endregion
|
|
533
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/scope.js
|
|
534
|
+
var nt = 100, z = class t {
|
|
535
|
+
constructor() {
|
|
536
|
+
this._notifyingListeners = !1, this._scopeListeners = [], this._eventProcessors = [], this._breadcrumbs = [], this._attachments = [], this._user = {}, this._tags = {}, this._attributes = {}, this._extra = {}, this._contexts = {}, this._sdkProcessingMetadata = {}, this._propagationContext = {
|
|
537
|
+
traceId: Qe(),
|
|
538
|
+
sampleRand: A()
|
|
539
|
+
};
|
|
540
|
+
}
|
|
541
|
+
clone() {
|
|
542
|
+
let e = new t();
|
|
543
|
+
return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._attributes = { ...this._attributes }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, this._contexts.flags && (e._contexts.flags = { values: [...this._contexts.flags.values] }), e._user = this._user, e._level = this._level, e._session = this._session, e._transactionName = this._transactionName, e._fingerprint = this._fingerprint, e._eventProcessors = [...this._eventProcessors], e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, et(e, tt(this)), e;
|
|
544
|
+
}
|
|
545
|
+
setClient(e) {
|
|
546
|
+
this._client = e;
|
|
547
|
+
}
|
|
548
|
+
setLastEventId(e) {
|
|
549
|
+
this._lastEventId = e;
|
|
550
|
+
}
|
|
551
|
+
getClient() {
|
|
552
|
+
return this._client;
|
|
553
|
+
}
|
|
554
|
+
lastEventId() {
|
|
555
|
+
return this._lastEventId;
|
|
556
|
+
}
|
|
557
|
+
addScopeListener(e) {
|
|
558
|
+
this._scopeListeners.push(e);
|
|
559
|
+
}
|
|
560
|
+
addEventProcessor(e) {
|
|
561
|
+
return this._eventProcessors.push(e), this;
|
|
562
|
+
}
|
|
563
|
+
setUser(e) {
|
|
564
|
+
return this._user = e || {
|
|
565
|
+
email: void 0,
|
|
566
|
+
id: void 0,
|
|
567
|
+
ip_address: void 0,
|
|
568
|
+
username: void 0
|
|
569
|
+
}, this._session && I(this._session, { user: e }), this._notifyScopeListeners(), this;
|
|
570
|
+
}
|
|
571
|
+
getUser() {
|
|
572
|
+
return this._user;
|
|
573
|
+
}
|
|
574
|
+
setTags(e) {
|
|
575
|
+
return this._tags = {
|
|
576
|
+
...this._tags,
|
|
577
|
+
...e
|
|
578
|
+
}, this._notifyScopeListeners(), this;
|
|
579
|
+
}
|
|
580
|
+
setTag(e, t) {
|
|
581
|
+
return this.setTags({ [e]: t });
|
|
582
|
+
}
|
|
583
|
+
setAttributes(e) {
|
|
584
|
+
return this._attributes = {
|
|
585
|
+
...this._attributes,
|
|
586
|
+
...e
|
|
587
|
+
}, this._notifyScopeListeners(), this;
|
|
588
|
+
}
|
|
589
|
+
setAttribute(e, t) {
|
|
590
|
+
return this.setAttributes({ [e]: t });
|
|
591
|
+
}
|
|
592
|
+
removeAttribute(e) {
|
|
593
|
+
return e in this._attributes && (delete this._attributes[e], this._notifyScopeListeners()), this;
|
|
594
|
+
}
|
|
595
|
+
setExtras(e) {
|
|
596
|
+
return this._extra = {
|
|
597
|
+
...this._extra,
|
|
598
|
+
...e
|
|
599
|
+
}, this._notifyScopeListeners(), this;
|
|
600
|
+
}
|
|
601
|
+
setExtra(e, t) {
|
|
602
|
+
return this._extra = {
|
|
603
|
+
...this._extra,
|
|
604
|
+
[e]: t
|
|
605
|
+
}, this._notifyScopeListeners(), this;
|
|
606
|
+
}
|
|
607
|
+
setFingerprint(e) {
|
|
608
|
+
return this._fingerprint = e, this._notifyScopeListeners(), this;
|
|
609
|
+
}
|
|
610
|
+
setLevel(e) {
|
|
611
|
+
return this._level = e, this._notifyScopeListeners(), this;
|
|
612
|
+
}
|
|
613
|
+
setTransactionName(e) {
|
|
614
|
+
return this._transactionName = e, this._notifyScopeListeners(), this;
|
|
615
|
+
}
|
|
616
|
+
setContext(e, t) {
|
|
617
|
+
return t === null ? delete this._contexts[e] : this._contexts[e] = t, this._notifyScopeListeners(), this;
|
|
618
|
+
}
|
|
619
|
+
setSession(e) {
|
|
620
|
+
return e ? this._session = e : delete this._session, this._notifyScopeListeners(), this;
|
|
621
|
+
}
|
|
622
|
+
getSession() {
|
|
623
|
+
return this._session;
|
|
624
|
+
}
|
|
625
|
+
update(e) {
|
|
626
|
+
if (!e) return this;
|
|
627
|
+
let n = typeof e == "function" ? e(this) : e, { tags: r, attributes: i, extra: a, user: o, contexts: s, level: c, fingerprint: l = [], propagationContext: u } = (n instanceof t ? n.getScopeData() : C(n) ? e : void 0) || {};
|
|
628
|
+
return this._tags = {
|
|
629
|
+
...this._tags,
|
|
630
|
+
...r
|
|
631
|
+
}, this._attributes = {
|
|
632
|
+
...this._attributes,
|
|
633
|
+
...i
|
|
634
|
+
}, this._extra = {
|
|
635
|
+
...this._extra,
|
|
636
|
+
...a
|
|
637
|
+
}, this._contexts = {
|
|
638
|
+
...this._contexts,
|
|
639
|
+
...s
|
|
640
|
+
}, o && Object.keys(o).length && (this._user = o), c && (this._level = c), l.length && (this._fingerprint = l), u && (this._propagationContext = u), this;
|
|
641
|
+
}
|
|
642
|
+
clear() {
|
|
643
|
+
return this._breadcrumbs = [], this._tags = {}, this._attributes = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._session = void 0, et(this, void 0), this._attachments = [], this.setPropagationContext({
|
|
644
|
+
traceId: Qe(),
|
|
645
|
+
sampleRand: A()
|
|
646
|
+
}), this._notifyScopeListeners(), this;
|
|
647
|
+
}
|
|
648
|
+
addBreadcrumb(e, t) {
|
|
649
|
+
let n = typeof t == "number" ? t : nt;
|
|
650
|
+
if (n <= 0) return this;
|
|
651
|
+
let r = {
|
|
652
|
+
timestamp: P(),
|
|
653
|
+
...e,
|
|
654
|
+
message: e.message ? j(e.message, 2048) : e.message
|
|
655
|
+
};
|
|
656
|
+
if (this._breadcrumbs.push(r), this._breadcrumbs.length > n) {
|
|
657
|
+
var i;
|
|
658
|
+
this._breadcrumbs = this._breadcrumbs.slice(-n), (i = this._client) == null || i.recordDroppedEvent("buffer_overflow", "log_item");
|
|
659
|
+
}
|
|
660
|
+
return this._notifyScopeListeners(), this;
|
|
661
|
+
}
|
|
662
|
+
getLastBreadcrumb() {
|
|
663
|
+
return this._breadcrumbs[this._breadcrumbs.length - 1];
|
|
664
|
+
}
|
|
665
|
+
clearBreadcrumbs() {
|
|
666
|
+
return this._breadcrumbs = [], this._notifyScopeListeners(), this;
|
|
667
|
+
}
|
|
668
|
+
addAttachment(e) {
|
|
669
|
+
return this._attachments.push(e), this;
|
|
670
|
+
}
|
|
671
|
+
clearAttachments() {
|
|
672
|
+
return this._attachments = [], this;
|
|
673
|
+
}
|
|
674
|
+
getScopeData() {
|
|
675
|
+
return {
|
|
676
|
+
breadcrumbs: this._breadcrumbs,
|
|
677
|
+
attachments: this._attachments,
|
|
678
|
+
contexts: this._contexts,
|
|
679
|
+
tags: this._tags,
|
|
680
|
+
attributes: this._attributes,
|
|
681
|
+
extra: this._extra,
|
|
682
|
+
user: this._user,
|
|
683
|
+
level: this._level,
|
|
684
|
+
fingerprint: this._fingerprint || [],
|
|
685
|
+
eventProcessors: this._eventProcessors,
|
|
686
|
+
propagationContext: this._propagationContext,
|
|
687
|
+
sdkProcessingMetadata: this._sdkProcessingMetadata,
|
|
688
|
+
transactionName: this._transactionName,
|
|
689
|
+
span: tt(this)
|
|
690
|
+
};
|
|
691
|
+
}
|
|
692
|
+
setSDKProcessingMetadata(e) {
|
|
693
|
+
return this._sdkProcessingMetadata = L(this._sdkProcessingMetadata, e, 2), this;
|
|
694
|
+
}
|
|
695
|
+
setPropagationContext(e) {
|
|
696
|
+
return this._propagationContext = e, this;
|
|
697
|
+
}
|
|
698
|
+
getPropagationContext() {
|
|
699
|
+
return this._propagationContext;
|
|
700
|
+
}
|
|
701
|
+
captureException(t, n) {
|
|
702
|
+
let r = (n == null ? void 0 : n.event_id) || N();
|
|
703
|
+
if (!this._client) return e && v.warn("No client configured on scope - will not capture exception!"), r;
|
|
704
|
+
let i = /* @__PURE__ */ Error("Sentry syntheticException");
|
|
705
|
+
return this._client.captureException(t, {
|
|
706
|
+
originalException: t,
|
|
707
|
+
syntheticException: i,
|
|
708
|
+
...n,
|
|
709
|
+
event_id: r
|
|
710
|
+
}, this), r;
|
|
711
|
+
}
|
|
712
|
+
captureMessage(t, n, r) {
|
|
713
|
+
var i;
|
|
714
|
+
let a = (r == null ? void 0 : r.event_id) || N();
|
|
715
|
+
if (!this._client) return e && v.warn("No client configured on scope - will not capture message!"), a;
|
|
716
|
+
let o = (i = r == null ? void 0 : r.syntheticException) == null ? Error(t) : i;
|
|
717
|
+
return this._client.captureMessage(t, n, {
|
|
718
|
+
originalException: t,
|
|
719
|
+
syntheticException: o,
|
|
720
|
+
...r,
|
|
721
|
+
event_id: a
|
|
722
|
+
}, this), a;
|
|
723
|
+
}
|
|
724
|
+
captureEvent(t, n) {
|
|
725
|
+
let r = (n == null ? void 0 : n.event_id) || N();
|
|
726
|
+
return this._client ? (this._client.captureEvent(t, {
|
|
727
|
+
...n,
|
|
728
|
+
event_id: r
|
|
729
|
+
}, this), r) : (e && v.warn("No client configured on scope - will not capture event!"), r);
|
|
730
|
+
}
|
|
731
|
+
_notifyScopeListeners() {
|
|
732
|
+
this._notifyingListeners || (this._notifyingListeners = !0, this._scopeListeners.forEach((e) => {
|
|
733
|
+
e(this);
|
|
734
|
+
}), this._notifyingListeners = !1);
|
|
735
|
+
}
|
|
736
|
+
};
|
|
737
|
+
//#endregion
|
|
738
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/defaultScopes.js
|
|
739
|
+
function rt() {
|
|
740
|
+
return a("defaultCurrentScope", () => new z());
|
|
741
|
+
}
|
|
742
|
+
function it() {
|
|
743
|
+
return a("defaultIsolationScope", () => new z());
|
|
744
|
+
}
|
|
745
|
+
//#endregion
|
|
746
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/asyncContext/stackStrategy.js
|
|
747
|
+
var at = class {
|
|
748
|
+
constructor(e, t) {
|
|
749
|
+
let n;
|
|
750
|
+
n = e || new z();
|
|
751
|
+
let r;
|
|
752
|
+
r = t || new z(), this._stack = [{ scope: n }], this._isolationScope = r;
|
|
753
|
+
}
|
|
754
|
+
withScope(e) {
|
|
755
|
+
let t = this._pushScope(), n;
|
|
756
|
+
try {
|
|
757
|
+
n = e(t);
|
|
758
|
+
} catch (e) {
|
|
759
|
+
throw this._popScope(), e;
|
|
760
|
+
}
|
|
761
|
+
return w(n) ? n.then((e) => (this._popScope(), e), (e) => {
|
|
762
|
+
throw this._popScope(), e;
|
|
763
|
+
}) : (this._popScope(), n);
|
|
764
|
+
}
|
|
765
|
+
getClient() {
|
|
766
|
+
return this.getStackTop().client;
|
|
767
|
+
}
|
|
768
|
+
getScope() {
|
|
769
|
+
return this.getStackTop().scope;
|
|
770
|
+
}
|
|
771
|
+
getIsolationScope() {
|
|
772
|
+
return this._isolationScope;
|
|
773
|
+
}
|
|
774
|
+
getStackTop() {
|
|
775
|
+
return this._stack[this._stack.length - 1];
|
|
776
|
+
}
|
|
777
|
+
_pushScope() {
|
|
778
|
+
let e = this.getScope().clone();
|
|
779
|
+
return this._stack.push({
|
|
780
|
+
client: this.getClient(),
|
|
781
|
+
scope: e
|
|
782
|
+
}), e;
|
|
783
|
+
}
|
|
784
|
+
_popScope() {
|
|
785
|
+
return this._stack.length <= 1 ? !1 : !!this._stack.pop();
|
|
786
|
+
}
|
|
787
|
+
};
|
|
788
|
+
function B() {
|
|
789
|
+
let e = i(r());
|
|
790
|
+
return e.stack = e.stack || new at(rt(), it());
|
|
791
|
+
}
|
|
792
|
+
function ot(e) {
|
|
793
|
+
return B().withScope(e);
|
|
794
|
+
}
|
|
795
|
+
function st(e, t) {
|
|
796
|
+
let n = B();
|
|
797
|
+
return n.withScope(() => (n.getStackTop().scope = e, t(e)));
|
|
798
|
+
}
|
|
799
|
+
function ct(e) {
|
|
800
|
+
return B().withScope(() => e(B().getIsolationScope()));
|
|
801
|
+
}
|
|
802
|
+
function lt() {
|
|
803
|
+
return {
|
|
804
|
+
withIsolationScope: ct,
|
|
805
|
+
withScope: ot,
|
|
806
|
+
withSetScope: st,
|
|
807
|
+
withSetIsolationScope: (e, t) => ct(t),
|
|
808
|
+
getCurrentScope: () => B().getScope(),
|
|
809
|
+
getIsolationScope: () => B().getIsolationScope()
|
|
810
|
+
};
|
|
811
|
+
}
|
|
812
|
+
//#endregion
|
|
813
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/asyncContext/index.js
|
|
814
|
+
function V(e) {
|
|
815
|
+
let t = i(e);
|
|
816
|
+
return t.acs ? t.acs : lt();
|
|
817
|
+
}
|
|
818
|
+
//#endregion
|
|
819
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/currentScopes.js
|
|
820
|
+
function H() {
|
|
821
|
+
return V(r()).getCurrentScope();
|
|
822
|
+
}
|
|
823
|
+
function U() {
|
|
824
|
+
return V(r()).getIsolationScope();
|
|
825
|
+
}
|
|
826
|
+
function ut() {
|
|
827
|
+
return a("globalScope", () => new z());
|
|
828
|
+
}
|
|
829
|
+
function dt(...e) {
|
|
830
|
+
let t = V(r());
|
|
831
|
+
if (e.length === 2) {
|
|
832
|
+
let [n, r] = e;
|
|
833
|
+
return n ? t.withSetScope(n, r) : t.withScope(r);
|
|
834
|
+
}
|
|
835
|
+
return t.withScope(e[0]);
|
|
836
|
+
}
|
|
837
|
+
function W() {
|
|
838
|
+
return H().getClient();
|
|
839
|
+
}
|
|
840
|
+
function ft(e) {
|
|
841
|
+
let { traceId: t, parentSpanId: n, propagationSpanId: r } = e.getPropagationContext(), i = {
|
|
842
|
+
trace_id: t,
|
|
843
|
+
span_id: r || $e()
|
|
844
|
+
};
|
|
845
|
+
return n && (i.parent_span_id = n), i;
|
|
846
|
+
}
|
|
847
|
+
//#endregion
|
|
848
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/semanticAttributes.js
|
|
849
|
+
var pt = "sentry.source", mt = "sentry.previous_trace_sample_rate", ht = "sentry.op", gt = "sentry.origin", _t = "sentry.profile_id", vt = "sentry.exclusive_time", yt = "_sentryScope", bt = "_sentryIsolationScope";
|
|
850
|
+
function xt(e) {
|
|
851
|
+
if (e) {
|
|
852
|
+
if (typeof e == "object" && "deref" in e && typeof e.deref == "function") try {
|
|
853
|
+
return e.deref();
|
|
854
|
+
} catch {
|
|
855
|
+
return;
|
|
856
|
+
}
|
|
857
|
+
return e;
|
|
858
|
+
}
|
|
859
|
+
}
|
|
860
|
+
function G(e) {
|
|
861
|
+
let t = e;
|
|
862
|
+
return {
|
|
863
|
+
scope: t[yt],
|
|
864
|
+
isolationScope: xt(t[bt])
|
|
865
|
+
};
|
|
866
|
+
}
|
|
867
|
+
//#endregion
|
|
868
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/baggage.js
|
|
869
|
+
var St = /^sentry-/;
|
|
870
|
+
function Ct(e) {
|
|
871
|
+
let t = wt(e);
|
|
872
|
+
if (!t) return;
|
|
873
|
+
let n = Object.entries(t).reduce((e, [t, n]) => {
|
|
874
|
+
if (t.match(St)) {
|
|
875
|
+
let r = t.slice(7);
|
|
876
|
+
e[r] = n;
|
|
877
|
+
}
|
|
878
|
+
return e;
|
|
879
|
+
}, {});
|
|
880
|
+
if (Object.keys(n).length > 0) return n;
|
|
881
|
+
}
|
|
882
|
+
function wt(e) {
|
|
883
|
+
if (!(!e || !S(e) && !Array.isArray(e))) return Array.isArray(e) ? e.reduce((e, t) => {
|
|
884
|
+
let n = Tt(t);
|
|
885
|
+
return Object.entries(n).forEach(([t, n]) => {
|
|
886
|
+
e[t] = n;
|
|
887
|
+
}), e;
|
|
888
|
+
}, {}) : Tt(e);
|
|
889
|
+
}
|
|
890
|
+
function Tt(e) {
|
|
891
|
+
return e.split(",").map((e) => {
|
|
892
|
+
let t = e.indexOf("=");
|
|
893
|
+
return t === -1 ? [] : [e.slice(0, t), e.slice(t + 1)].map((e) => {
|
|
894
|
+
try {
|
|
895
|
+
return decodeURIComponent(e.trim());
|
|
896
|
+
} catch {
|
|
897
|
+
return;
|
|
898
|
+
}
|
|
899
|
+
});
|
|
900
|
+
}).reduce((e, [t, n]) => (t && n && (e[t] = n), e), {});
|
|
901
|
+
}
|
|
902
|
+
//#endregion
|
|
903
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/dsn.js
|
|
904
|
+
var Et = /^o(\d+)\./, Dt = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
|
|
905
|
+
function Ot(e) {
|
|
906
|
+
return e === "http" || e === "https";
|
|
907
|
+
}
|
|
908
|
+
function kt(e, t = !1) {
|
|
909
|
+
let { host: n, path: r, pass: i, port: a, projectId: o, protocol: s, publicKey: c } = e;
|
|
910
|
+
return `${s}://${c}${t && i ? `:${i}` : ""}@${n}${a ? `:${a}` : ""}/${r && `${r}/`}${o}`;
|
|
911
|
+
}
|
|
912
|
+
function At(e) {
|
|
913
|
+
let t = Dt.exec(e);
|
|
914
|
+
if (!t) {
|
|
915
|
+
l(() => {
|
|
916
|
+
console.error(`Invalid Sentry Dsn: ${e}`);
|
|
917
|
+
});
|
|
918
|
+
return;
|
|
919
|
+
}
|
|
920
|
+
let [n, r, i = "", a = "", o = "", s = ""] = t.slice(1), c = "", u = s, d = u.split("/");
|
|
921
|
+
if (d.length > 1 && (c = d.slice(0, -1).join("/"), u = d.pop()), u) {
|
|
922
|
+
let e = u.match(/^\d+/);
|
|
923
|
+
e && (u = e[0]);
|
|
924
|
+
}
|
|
925
|
+
return jt({
|
|
926
|
+
host: a,
|
|
927
|
+
pass: i,
|
|
928
|
+
path: c,
|
|
929
|
+
projectId: u,
|
|
930
|
+
port: o,
|
|
931
|
+
protocol: n,
|
|
932
|
+
publicKey: r
|
|
933
|
+
});
|
|
934
|
+
}
|
|
935
|
+
function jt(e) {
|
|
936
|
+
return {
|
|
937
|
+
protocol: e.protocol,
|
|
938
|
+
publicKey: e.publicKey || "",
|
|
939
|
+
pass: e.pass || "",
|
|
940
|
+
host: e.host,
|
|
941
|
+
port: e.port || "",
|
|
942
|
+
path: e.path || "",
|
|
943
|
+
projectId: e.projectId
|
|
944
|
+
};
|
|
945
|
+
}
|
|
946
|
+
function Mt(t) {
|
|
947
|
+
if (!e) return !0;
|
|
948
|
+
let { port: n, projectId: r, protocol: i } = t;
|
|
949
|
+
return [
|
|
950
|
+
"protocol",
|
|
951
|
+
"publicKey",
|
|
952
|
+
"host",
|
|
953
|
+
"projectId"
|
|
954
|
+
].find((e) => t[e] ? !1 : (v.error(`Invalid Sentry Dsn: ${e} missing`), !0)) ? !1 : r.match(/^\d+$/) ? Ot(i) ? n && isNaN(parseInt(n, 10)) ? (v.error(`Invalid Sentry Dsn: Invalid port ${n}`), !1) : !0 : (v.error(`Invalid Sentry Dsn: Invalid protocol ${i}`), !1) : (v.error(`Invalid Sentry Dsn: Invalid projectId ${r}`), !1);
|
|
955
|
+
}
|
|
956
|
+
function Nt(e) {
|
|
957
|
+
let t = e.match(Et);
|
|
958
|
+
return t == null ? void 0 : t[1];
|
|
959
|
+
}
|
|
960
|
+
function Pt(e) {
|
|
961
|
+
let t = e.getOptions(), { host: n } = e.getDsn() || {}, r;
|
|
962
|
+
return t.orgId ? r = String(t.orgId) : n && (r = Nt(n)), r;
|
|
963
|
+
}
|
|
964
|
+
function Ft(e) {
|
|
965
|
+
let t = typeof e == "string" ? At(e) : jt(e);
|
|
966
|
+
if (!(!t || !Mt(t))) return t;
|
|
967
|
+
}
|
|
968
|
+
var It = !1;
|
|
969
|
+
function Lt(e) {
|
|
970
|
+
let { spanId: t, traceId: n, isRemote: r } = e.spanContext(), i = r ? t : K(e).parent_span_id, a = G(e).scope;
|
|
971
|
+
return {
|
|
972
|
+
parent_span_id: i,
|
|
973
|
+
span_id: r ? (a == null ? void 0 : a.getPropagationContext().propagationSpanId) || $e() : t,
|
|
974
|
+
trace_id: n
|
|
975
|
+
};
|
|
976
|
+
}
|
|
977
|
+
function Rt(e) {
|
|
978
|
+
if (e && e.length > 0) return e.map(({ context: { spanId: e, traceId: t, traceFlags: n, ...r }, attributes: i }) => ({
|
|
979
|
+
span_id: e,
|
|
980
|
+
trace_id: t,
|
|
981
|
+
sampled: n === 1,
|
|
982
|
+
attributes: i,
|
|
983
|
+
...r
|
|
984
|
+
}));
|
|
985
|
+
}
|
|
986
|
+
function zt(e) {
|
|
987
|
+
return typeof e == "number" ? Bt(e) : Array.isArray(e) ? e[0] + e[1] / 1e9 : e instanceof Date ? Bt(e.getTime()) : F();
|
|
988
|
+
}
|
|
989
|
+
function Bt(e) {
|
|
990
|
+
return e > 9999999999 ? e / 1e3 : e;
|
|
991
|
+
}
|
|
992
|
+
function K(e) {
|
|
993
|
+
if (Ht(e)) return e.getSpanJSON();
|
|
994
|
+
let { spanId: t, traceId: n } = e.spanContext();
|
|
995
|
+
if (Vt(e)) {
|
|
996
|
+
var r;
|
|
997
|
+
let { attributes: i, startTime: a, name: o, endTime: s, status: c, links: l } = e;
|
|
998
|
+
return {
|
|
999
|
+
span_id: t,
|
|
1000
|
+
trace_id: n,
|
|
1001
|
+
data: i,
|
|
1002
|
+
description: o,
|
|
1003
|
+
parent_span_id: "parentSpanId" in e ? e.parentSpanId : "parentSpanContext" in e ? (r = e.parentSpanContext) == null ? void 0 : r.spanId : void 0,
|
|
1004
|
+
start_timestamp: zt(a),
|
|
1005
|
+
timestamp: zt(s) || void 0,
|
|
1006
|
+
status: Wt(c),
|
|
1007
|
+
op: i[ht],
|
|
1008
|
+
origin: i[gt],
|
|
1009
|
+
links: Rt(l)
|
|
1010
|
+
};
|
|
1011
|
+
}
|
|
1012
|
+
return {
|
|
1013
|
+
span_id: t,
|
|
1014
|
+
trace_id: n,
|
|
1015
|
+
start_timestamp: 0,
|
|
1016
|
+
data: {}
|
|
1017
|
+
};
|
|
1018
|
+
}
|
|
1019
|
+
function Vt(e) {
|
|
1020
|
+
let t = e;
|
|
1021
|
+
return !!t.attributes && !!t.startTime && !!t.name && !!t.endTime && !!t.status;
|
|
1022
|
+
}
|
|
1023
|
+
function Ht(e) {
|
|
1024
|
+
return typeof e.getSpanJSON == "function";
|
|
1025
|
+
}
|
|
1026
|
+
function Ut(e) {
|
|
1027
|
+
let { traceFlags: t } = e.spanContext();
|
|
1028
|
+
return t === 1;
|
|
1029
|
+
}
|
|
1030
|
+
function Wt(e) {
|
|
1031
|
+
if (!(!e || e.code === 0)) return e.code === 1 ? "ok" : e.message || "internal_error";
|
|
1032
|
+
}
|
|
1033
|
+
var Gt = "_sentryRootSpan";
|
|
1034
|
+
function Kt(e) {
|
|
1035
|
+
return e[Gt] || e;
|
|
1036
|
+
}
|
|
1037
|
+
function qt() {
|
|
1038
|
+
It || (l(() => {
|
|
1039
|
+
console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.");
|
|
1040
|
+
}), It = !0);
|
|
1041
|
+
}
|
|
1042
|
+
//#endregion
|
|
1043
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
|
|
1044
|
+
function Jt(e) {
|
|
1045
|
+
var t;
|
|
1046
|
+
if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__) return !1;
|
|
1047
|
+
let n = e || ((t = W()) == null ? void 0 : t.getOptions());
|
|
1048
|
+
return !!n && (n.tracesSampleRate != null || !!n.tracesSampler);
|
|
1049
|
+
}
|
|
1050
|
+
//#endregion
|
|
1051
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/constants.js
|
|
1052
|
+
var Yt = "production", Xt = "_frozenDsc";
|
|
1053
|
+
function Zt(e, t) {
|
|
1054
|
+
let n = t.getOptions(), { publicKey: r } = t.getDsn() || {}, i = {
|
|
1055
|
+
environment: n.environment || "production",
|
|
1056
|
+
release: n.release,
|
|
1057
|
+
public_key: r,
|
|
1058
|
+
trace_id: e,
|
|
1059
|
+
org_id: Pt(t)
|
|
1060
|
+
};
|
|
1061
|
+
return t.emit("createDsc", i), i;
|
|
1062
|
+
}
|
|
1063
|
+
function Qt(e, t) {
|
|
1064
|
+
let n = t.getPropagationContext();
|
|
1065
|
+
return n.dsc || Zt(n.traceId, e);
|
|
1066
|
+
}
|
|
1067
|
+
function $t(e) {
|
|
1068
|
+
var t, n;
|
|
1069
|
+
let r = W();
|
|
1070
|
+
if (!r) return {};
|
|
1071
|
+
let i = Kt(e), a = K(i), o = a.data, s = i.spanContext().traceState, c = (t = (n = s == null ? void 0 : s.get("sentry.sample_rate")) == null ? o["sentry.sample_rate"] : n) == null ? o[mt] : t;
|
|
1072
|
+
function l(e) {
|
|
1073
|
+
return (typeof c == "number" || typeof c == "string") && (e.sample_rate = `${c}`), e;
|
|
1074
|
+
}
|
|
1075
|
+
let u = i[Xt];
|
|
1076
|
+
if (u) return l(u);
|
|
1077
|
+
let d = s == null ? void 0 : s.get("sentry.dsc"), f = d && Ct(d);
|
|
1078
|
+
if (f) return l(f);
|
|
1079
|
+
let p = Zt(e.spanContext().traceId, r), m = o[pt], h = a.description;
|
|
1080
|
+
if (m !== "url" && h && (p.transaction = h), Jt()) {
|
|
1081
|
+
var g, _;
|
|
1082
|
+
p.sampled = String(Ut(i)), p.sample_rand = (g = s == null ? void 0 : s.get("sentry.sample_rand")) == null ? (_ = G(i).scope) == null ? void 0 : _.getPropagationContext().sampleRand.toString() : g;
|
|
1083
|
+
}
|
|
1084
|
+
return l(p), r.emit("createDsc", p, i), p;
|
|
1085
|
+
}
|
|
1086
|
+
//#endregion
|
|
1087
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/normalize.js
|
|
1088
|
+
function q(e, t = 100, n = Infinity) {
|
|
1089
|
+
try {
|
|
1090
|
+
return J("", e, t, n);
|
|
1091
|
+
} catch (e) {
|
|
1092
|
+
return { ERROR: `**non-serializable** (${e})` };
|
|
1093
|
+
}
|
|
1094
|
+
}
|
|
1095
|
+
function en(e, t = 3, n = 100 * 1024) {
|
|
1096
|
+
let r = q(e, t);
|
|
1097
|
+
return an(r) > n ? en(e, t - 1, n) : r;
|
|
1098
|
+
}
|
|
1099
|
+
function J(e, t, n = Infinity, r = Infinity, i = on()) {
|
|
1100
|
+
let [a, o] = i;
|
|
1101
|
+
if (t == null || ["boolean", "string"].includes(typeof t) || typeof t == "number" && Number.isFinite(t)) return t;
|
|
1102
|
+
let s = tn(e, t);
|
|
1103
|
+
if (!s.startsWith("[object ")) return s;
|
|
1104
|
+
if (t.__sentry_skip_normalization__) return t;
|
|
1105
|
+
let c = typeof t.__sentry_override_normalization_depth__ == "number" ? t.__sentry_override_normalization_depth__ : n;
|
|
1106
|
+
if (c === 0) return s.replace("object ", "");
|
|
1107
|
+
if (a(t)) return "[Circular ~]";
|
|
1108
|
+
let l = t;
|
|
1109
|
+
if (l && typeof l.toJSON == "function") try {
|
|
1110
|
+
return J("", l.toJSON(), c - 1, r, i);
|
|
1111
|
+
} catch {}
|
|
1112
|
+
let u = Array.isArray(t) ? [] : {}, d = 0, f = Ae(t);
|
|
1113
|
+
for (let e in f) {
|
|
1114
|
+
if (!Object.prototype.hasOwnProperty.call(f, e)) continue;
|
|
1115
|
+
if (d >= r) {
|
|
1116
|
+
u[e] = "[MaxProperties ~]";
|
|
1117
|
+
break;
|
|
1118
|
+
}
|
|
1119
|
+
let t = f[e];
|
|
1120
|
+
u[e] = J(e, t, c - 1, r, i), d++;
|
|
1121
|
+
}
|
|
1122
|
+
return o(t), u;
|
|
1123
|
+
}
|
|
1124
|
+
function tn(e, t) {
|
|
1125
|
+
try {
|
|
1126
|
+
if (e === "domain" && t && typeof t == "object" && t._events) return "[Domain]";
|
|
1127
|
+
if (e === "domainEmitter") return "[DomainEmitter]";
|
|
1128
|
+
if (typeof global < "u" && t === global) return "[Global]";
|
|
1129
|
+
if (typeof window < "u" && t === window) return "[Window]";
|
|
1130
|
+
if (typeof document < "u" && t === document) return "[Document]";
|
|
1131
|
+
if (be(t)) return ce(t);
|
|
1132
|
+
if (ye(t)) return "[SyntheticEvent]";
|
|
1133
|
+
if (typeof t == "number" && !Number.isFinite(t)) return `[${t}]`;
|
|
1134
|
+
if (typeof t == "function") return `[Function: ${oe(t)}]`;
|
|
1135
|
+
if (typeof t == "symbol") return `[${String(t)}]`;
|
|
1136
|
+
if (typeof t == "bigint") return `[BigInt: ${String(t)}]`;
|
|
1137
|
+
let n = nn(t);
|
|
1138
|
+
return /^HTML(\w*)Element$/.test(n) ? `[HTMLElement: ${n}]` : `[object ${n}]`;
|
|
1139
|
+
} catch (e) {
|
|
1140
|
+
return `**non-serializable** (${e})`;
|
|
1141
|
+
}
|
|
1142
|
+
}
|
|
1143
|
+
function nn(e) {
|
|
1144
|
+
let t = Object.getPrototypeOf(e);
|
|
1145
|
+
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
1146
|
+
}
|
|
1147
|
+
function rn(e) {
|
|
1148
|
+
return ~-encodeURI(e).split(/%..|./).length;
|
|
1149
|
+
}
|
|
1150
|
+
function an(e) {
|
|
1151
|
+
return rn(JSON.stringify(e));
|
|
1152
|
+
}
|
|
1153
|
+
function on() {
|
|
1154
|
+
let e = /* @__PURE__ */ new WeakSet();
|
|
1155
|
+
function t(t) {
|
|
1156
|
+
return e.has(t) ? !0 : (e.add(t), !1);
|
|
1157
|
+
}
|
|
1158
|
+
function n(t) {
|
|
1159
|
+
e.delete(t);
|
|
1160
|
+
}
|
|
1161
|
+
return [t, n];
|
|
1162
|
+
}
|
|
1163
|
+
//#endregion
|
|
1164
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/syncpromise.js
|
|
1165
|
+
var Y = 0, sn = 1, cn = 2;
|
|
1166
|
+
function ln(e) {
|
|
1167
|
+
return new dn((t) => {
|
|
1168
|
+
t(e);
|
|
1169
|
+
});
|
|
1170
|
+
}
|
|
1171
|
+
function un(e) {
|
|
1172
|
+
return new dn((t, n) => {
|
|
1173
|
+
n(e);
|
|
1174
|
+
});
|
|
1175
|
+
}
|
|
1176
|
+
var dn = class e {
|
|
1177
|
+
constructor(e) {
|
|
1178
|
+
this._state = Y, this._handlers = [], this._runExecutor(e);
|
|
1179
|
+
}
|
|
1180
|
+
then(t, n) {
|
|
1181
|
+
return new e((e, r) => {
|
|
1182
|
+
this._handlers.push([
|
|
1183
|
+
!1,
|
|
1184
|
+
(n) => {
|
|
1185
|
+
if (!t) e(n);
|
|
1186
|
+
else try {
|
|
1187
|
+
e(t(n));
|
|
1188
|
+
} catch (e) {
|
|
1189
|
+
r(e);
|
|
1190
|
+
}
|
|
1191
|
+
},
|
|
1192
|
+
(t) => {
|
|
1193
|
+
if (!n) r(t);
|
|
1194
|
+
else try {
|
|
1195
|
+
e(n(t));
|
|
1196
|
+
} catch (e) {
|
|
1197
|
+
r(e);
|
|
1198
|
+
}
|
|
1199
|
+
}
|
|
1200
|
+
]), this._executeHandlers();
|
|
1201
|
+
});
|
|
1202
|
+
}
|
|
1203
|
+
catch(e) {
|
|
1204
|
+
return this.then((e) => e, e);
|
|
1205
|
+
}
|
|
1206
|
+
finally(t) {
|
|
1207
|
+
return new e((e, n) => {
|
|
1208
|
+
let r, i;
|
|
1209
|
+
return this.then((e) => {
|
|
1210
|
+
i = !1, r = e, t && t();
|
|
1211
|
+
}, (e) => {
|
|
1212
|
+
i = !0, r = e, t && t();
|
|
1213
|
+
}).then(() => {
|
|
1214
|
+
if (i) {
|
|
1215
|
+
n(r);
|
|
1216
|
+
return;
|
|
1217
|
+
}
|
|
1218
|
+
e(r);
|
|
1219
|
+
});
|
|
1220
|
+
});
|
|
1221
|
+
}
|
|
1222
|
+
_executeHandlers() {
|
|
1223
|
+
if (this._state === Y) return;
|
|
1224
|
+
let e = this._handlers.slice();
|
|
1225
|
+
this._handlers = [], e.forEach((e) => {
|
|
1226
|
+
e[0] || (this._state === sn && e[1](this._value), this._state === cn && e[2](this._value), e[0] = !0);
|
|
1227
|
+
});
|
|
1228
|
+
}
|
|
1229
|
+
_runExecutor(e) {
|
|
1230
|
+
let t = (e, t) => {
|
|
1231
|
+
if (this._state === Y) {
|
|
1232
|
+
if (w(t)) {
|
|
1233
|
+
t.then(n, r);
|
|
1234
|
+
return;
|
|
1235
|
+
}
|
|
1236
|
+
this._state = e, this._value = t, this._executeHandlers();
|
|
1237
|
+
}
|
|
1238
|
+
}, n = (e) => {
|
|
1239
|
+
t(sn, e);
|
|
1240
|
+
}, r = (e) => {
|
|
1241
|
+
t(cn, e);
|
|
1242
|
+
};
|
|
1243
|
+
try {
|
|
1244
|
+
e(n, r);
|
|
1245
|
+
} catch (e) {
|
|
1246
|
+
r(e);
|
|
1247
|
+
}
|
|
1248
|
+
}
|
|
1249
|
+
};
|
|
1250
|
+
//#endregion
|
|
1251
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/eventProcessors.js
|
|
1252
|
+
function fn(e, t, n, r = 0) {
|
|
1253
|
+
try {
|
|
1254
|
+
let i = X(t, n, e, r);
|
|
1255
|
+
return w(i) ? i : ln(i);
|
|
1256
|
+
} catch (e) {
|
|
1257
|
+
return un(e);
|
|
1258
|
+
}
|
|
1259
|
+
}
|
|
1260
|
+
function X(t, n, r, i) {
|
|
1261
|
+
let a = r[i];
|
|
1262
|
+
if (!t || !a) return t;
|
|
1263
|
+
let o = a({ ...t }, n);
|
|
1264
|
+
return e && o === null && v.log(`Event processor "${a.id || "?"}" dropped event`), w(o) ? o.then((e) => X(e, n, r, i + 1)) : X(o, n, r, i + 1);
|
|
1265
|
+
}
|
|
1266
|
+
//#endregion
|
|
1267
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/debug-ids.js
|
|
1268
|
+
var Z, pn, mn, Q;
|
|
1269
|
+
function hn(e) {
|
|
1270
|
+
let n = t._sentryDebugIds, r = t._debugIds;
|
|
1271
|
+
if (!n && !r) return {};
|
|
1272
|
+
let i = n ? Object.keys(n) : [], a = r ? Object.keys(r) : [];
|
|
1273
|
+
if (Q && i.length === pn && a.length === mn) return Q;
|
|
1274
|
+
pn = i.length, mn = a.length, Q = {}, Z || (Z = {});
|
|
1275
|
+
let o = (t, n) => {
|
|
1276
|
+
for (let r of t) {
|
|
1277
|
+
let t = n[r], i = Z == null ? void 0 : Z[r];
|
|
1278
|
+
if (i && Q && t) Q[i[0]] = t, Z && (Z[r] = [i[0], t]);
|
|
1279
|
+
else if (t) {
|
|
1280
|
+
let n = e(r);
|
|
1281
|
+
for (let e = n.length - 1; e >= 0; e--) {
|
|
1282
|
+
let i = n[e], a = i == null ? void 0 : i.filename;
|
|
1283
|
+
if (a && Q && Z) {
|
|
1284
|
+
Q[a] = t, Z[r] = [a, t];
|
|
1285
|
+
break;
|
|
1286
|
+
}
|
|
1287
|
+
}
|
|
1288
|
+
}
|
|
1289
|
+
}
|
|
1290
|
+
};
|
|
1291
|
+
return n && o(i, n), r && o(a, r), Q;
|
|
1292
|
+
}
|
|
1293
|
+
//#endregion
|
|
1294
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/scopeData.js
|
|
1295
|
+
function gn(e, t) {
|
|
1296
|
+
let { fingerprint: n, span: r, breadcrumbs: i, sdkProcessingMetadata: a } = t;
|
|
1297
|
+
yn(e, t), r && Sn(e, r), Cn(e, n), bn(e, i), xn(e, a);
|
|
1298
|
+
}
|
|
1299
|
+
function _n(e, t) {
|
|
1300
|
+
let { extra: n, tags: r, attributes: i, user: a, contexts: o, level: s, sdkProcessingMetadata: c, breadcrumbs: l, fingerprint: u, eventProcessors: d, attachments: f, propagationContext: p, transactionName: m, span: h } = t;
|
|
1301
|
+
$(e, "extra", n), $(e, "tags", r), $(e, "attributes", i), $(e, "user", a), $(e, "contexts", o), e.sdkProcessingMetadata = L(e.sdkProcessingMetadata, c, 2), s && (e.level = s), m && (e.transactionName = m), h && (e.span = h), l.length && (e.breadcrumbs = [...e.breadcrumbs, ...l]), u.length && (e.fingerprint = [...e.fingerprint, ...u]), d.length && (e.eventProcessors = [...e.eventProcessors, ...d]), f.length && (e.attachments = [...e.attachments, ...f]), e.propagationContext = {
|
|
1302
|
+
...e.propagationContext,
|
|
1303
|
+
...p
|
|
1304
|
+
};
|
|
1305
|
+
}
|
|
1306
|
+
function $(e, t, n) {
|
|
1307
|
+
e[t] = L(e[t], n, 1);
|
|
1308
|
+
}
|
|
1309
|
+
function vn(e, t) {
|
|
1310
|
+
let n = ut().getScopeData();
|
|
1311
|
+
return e && _n(n, e.getScopeData()), t && _n(n, t.getScopeData()), n;
|
|
1312
|
+
}
|
|
1313
|
+
function yn(e, t) {
|
|
1314
|
+
let { extra: n, tags: r, user: i, contexts: a, level: o, transactionName: s } = t;
|
|
1315
|
+
Object.keys(n).length && (e.extra = {
|
|
1316
|
+
...n,
|
|
1317
|
+
...e.extra
|
|
1318
|
+
}), Object.keys(r).length && (e.tags = {
|
|
1319
|
+
...r,
|
|
1320
|
+
...e.tags
|
|
1321
|
+
}), Object.keys(i).length && (e.user = {
|
|
1322
|
+
...i,
|
|
1323
|
+
...e.user
|
|
1324
|
+
}), Object.keys(a).length && (e.contexts = {
|
|
1325
|
+
...a,
|
|
1326
|
+
...e.contexts
|
|
1327
|
+
}), o && (e.level = o), s && e.type !== "transaction" && (e.transaction = s);
|
|
1328
|
+
}
|
|
1329
|
+
function bn(e, t) {
|
|
1330
|
+
let n = [...e.breadcrumbs || [], ...t];
|
|
1331
|
+
e.breadcrumbs = n.length ? n : void 0;
|
|
1332
|
+
}
|
|
1333
|
+
function xn(e, t) {
|
|
1334
|
+
e.sdkProcessingMetadata = {
|
|
1335
|
+
...e.sdkProcessingMetadata,
|
|
1336
|
+
...t
|
|
1337
|
+
};
|
|
1338
|
+
}
|
|
1339
|
+
function Sn(e, t) {
|
|
1340
|
+
e.contexts = {
|
|
1341
|
+
trace: Lt(t),
|
|
1342
|
+
...e.contexts
|
|
1343
|
+
}, e.sdkProcessingMetadata = {
|
|
1344
|
+
dynamicSamplingContext: $t(t),
|
|
1345
|
+
...e.sdkProcessingMetadata
|
|
1346
|
+
};
|
|
1347
|
+
let n = K(Kt(t)).description;
|
|
1348
|
+
n && !e.transaction && e.type === "transaction" && (e.transaction = n);
|
|
1349
|
+
}
|
|
1350
|
+
function Cn(e, t) {
|
|
1351
|
+
e.fingerprint = e.fingerprint ? Array.isArray(e.fingerprint) ? e.fingerprint : [e.fingerprint] : [], t && (e.fingerprint = e.fingerprint.concat(t)), e.fingerprint.length || delete e.fingerprint;
|
|
1352
|
+
}
|
|
1353
|
+
//#endregion
|
|
1354
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
|
|
1355
|
+
function wn(e, t, n, r, i, a) {
|
|
1356
|
+
let { normalizeDepth: o = 3, normalizeMaxBreadth: s = 1e3 } = e, c = {
|
|
1357
|
+
...t,
|
|
1358
|
+
event_id: t.event_id || n.event_id || N(),
|
|
1359
|
+
timestamp: t.timestamp || P()
|
|
1360
|
+
}, l = n.integrations || e.integrations.map((e) => e.name);
|
|
1361
|
+
Tn(c, e), On(c, l), i && i.emit("applyFrameMetadata", t), t.type === void 0 && En(c, e.stackParser);
|
|
1362
|
+
let u = An(r, n.captureContext);
|
|
1363
|
+
n.mechanism && Ue(c, n.mechanism);
|
|
1364
|
+
let d = i ? i.getEventProcessors() : [], f = vn(a, u), p = [...n.attachments || [], ...f.attachments];
|
|
1365
|
+
return p.length && (n.attachments = p), gn(c, f), fn([...d, ...f.eventProcessors], c, n).then((e) => (e && Dn(e), typeof o == "number" && o > 0 ? kn(e, o, s) : e));
|
|
1366
|
+
}
|
|
1367
|
+
function Tn(e, t) {
|
|
1368
|
+
let { environment: n, release: r, dist: i, maxValueLength: a } = t;
|
|
1369
|
+
e.environment = e.environment || n || "production", !e.release && r && (e.release = r), !e.dist && i && (e.dist = i);
|
|
1370
|
+
let o = e.request;
|
|
1371
|
+
if (o != null && o.url && a && (o.url = j(o.url, a)), a) {
|
|
1372
|
+
var s;
|
|
1373
|
+
(s = e.exception) == null || (s = s.values) == null || s.forEach((e) => {
|
|
1374
|
+
e.value && (e.value = j(e.value, a));
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
}
|
|
1378
|
+
function En(e, t) {
|
|
1379
|
+
var n;
|
|
1380
|
+
let r = hn(t);
|
|
1381
|
+
(n = e.exception) == null || (n = n.values) == null || n.forEach((e) => {
|
|
1382
|
+
var t;
|
|
1383
|
+
(t = e.stacktrace) == null || (t = t.frames) == null || t.forEach((e) => {
|
|
1384
|
+
e.filename && (e.debug_id = r[e.filename]);
|
|
1385
|
+
});
|
|
1386
|
+
});
|
|
1387
|
+
}
|
|
1388
|
+
function Dn(e) {
|
|
1389
|
+
var t;
|
|
1390
|
+
let n = {};
|
|
1391
|
+
if ((t = e.exception) == null || (t = t.values) == null || t.forEach((e) => {
|
|
1392
|
+
var t;
|
|
1393
|
+
(t = e.stacktrace) == null || (t = t.frames) == null || t.forEach((e) => {
|
|
1394
|
+
e.debug_id && (e.abs_path ? n[e.abs_path] = e.debug_id : e.filename && (n[e.filename] = e.debug_id), delete e.debug_id);
|
|
1395
|
+
});
|
|
1396
|
+
}), Object.keys(n).length === 0) return;
|
|
1397
|
+
e.debug_meta = e.debug_meta || {}, e.debug_meta.images = e.debug_meta.images || [];
|
|
1398
|
+
let r = e.debug_meta.images;
|
|
1399
|
+
Object.entries(n).forEach(([e, t]) => {
|
|
1400
|
+
r.push({
|
|
1401
|
+
type: "sourcemap",
|
|
1402
|
+
code_file: e,
|
|
1403
|
+
debug_id: t
|
|
1404
|
+
});
|
|
1405
|
+
});
|
|
1406
|
+
}
|
|
1407
|
+
function On(e, t) {
|
|
1408
|
+
t.length > 0 && (e.sdk = e.sdk || {}, e.sdk.integrations = [...e.sdk.integrations || [], ...t]);
|
|
1409
|
+
}
|
|
1410
|
+
function kn(e, t, n) {
|
|
1411
|
+
var r, i;
|
|
1412
|
+
if (!e) return null;
|
|
1413
|
+
let a = {
|
|
1414
|
+
...e,
|
|
1415
|
+
...e.breadcrumbs && { breadcrumbs: e.breadcrumbs.map((e) => ({
|
|
1416
|
+
...e,
|
|
1417
|
+
...e.data && { data: q(e.data, t, n) }
|
|
1418
|
+
})) },
|
|
1419
|
+
...e.user && { user: q(e.user, t, n) },
|
|
1420
|
+
...e.contexts && { contexts: q(e.contexts, t, n) },
|
|
1421
|
+
...e.extra && { extra: q(e.extra, t, n) }
|
|
1422
|
+
};
|
|
1423
|
+
return (r = e.contexts) != null && r.trace && a.contexts && (a.contexts.trace = e.contexts.trace, e.contexts.trace.data && (a.contexts.trace.data = q(e.contexts.trace.data, t, n))), e.spans && (a.spans = e.spans.map((e) => ({
|
|
1424
|
+
...e,
|
|
1425
|
+
...e.data && { data: q(e.data, t, n) }
|
|
1426
|
+
}))), (i = e.contexts) != null && i.flags && a.contexts && (a.contexts.flags = q(e.contexts.flags, 3, n)), a;
|
|
1427
|
+
}
|
|
1428
|
+
function An(e, t) {
|
|
1429
|
+
if (!t) return e;
|
|
1430
|
+
let n = e ? e.clone() : new z();
|
|
1431
|
+
return n.update(t), n;
|
|
1432
|
+
}
|
|
1433
|
+
function jn(e) {
|
|
1434
|
+
if (e) return Mn(e) || Pn(e) ? { captureContext: e } : e;
|
|
1435
|
+
}
|
|
1436
|
+
function Mn(e) {
|
|
1437
|
+
return e instanceof z || typeof e == "function";
|
|
1438
|
+
}
|
|
1439
|
+
var Nn = [
|
|
1440
|
+
"user",
|
|
1441
|
+
"level",
|
|
1442
|
+
"extra",
|
|
1443
|
+
"contexts",
|
|
1444
|
+
"tags",
|
|
1445
|
+
"fingerprint",
|
|
1446
|
+
"propagationContext"
|
|
1447
|
+
];
|
|
1448
|
+
function Pn(e) {
|
|
1449
|
+
return Object.keys(e).some((e) => Nn.includes(e));
|
|
1450
|
+
}
|
|
1451
|
+
//#endregion
|
|
1452
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.34.0/node_modules/@sentry/core/build/esm/exports.js
|
|
1453
|
+
function Fn(e, t) {
|
|
1454
|
+
return H().captureException(e, jn(t));
|
|
1455
|
+
}
|
|
1456
|
+
function In(e, t) {
|
|
1457
|
+
return H().captureEvent(e, t);
|
|
1458
|
+
}
|
|
1459
|
+
function Ln(e, t) {
|
|
1460
|
+
U().setContext(e, t);
|
|
1461
|
+
}
|
|
1462
|
+
function Rn(e, t) {
|
|
1463
|
+
U().setTag(e, t);
|
|
1464
|
+
}
|
|
1465
|
+
function zn(e) {
|
|
1466
|
+
U().setUser(e);
|
|
1467
|
+
}
|
|
1468
|
+
function Bn() {
|
|
1469
|
+
return U().lastEventId();
|
|
1470
|
+
}
|
|
1471
|
+
function Vn(e) {
|
|
1472
|
+
let n = U(), r = H(), { userAgent: i } = t.navigator || {}, a = Ye({
|
|
1473
|
+
user: r.getUser() || n.getUser(),
|
|
1474
|
+
...i && { userAgent: i },
|
|
1475
|
+
...e
|
|
1476
|
+
}), o = n.getSession();
|
|
1477
|
+
return (o == null ? void 0 : o.status) === "ok" && I(o, { status: "exited" }), Hn(), n.setSession(a), a;
|
|
1478
|
+
}
|
|
1479
|
+
function Hn() {
|
|
1480
|
+
let e = U(), t = H().getSession() || e.getSession();
|
|
1481
|
+
t && Xe(t), Un(), e.setSession();
|
|
1482
|
+
}
|
|
1483
|
+
function Un() {
|
|
1484
|
+
let e = U(), t = W(), n = e.getSession();
|
|
1485
|
+
n && t && t.captureSession(n);
|
|
1486
|
+
}
|
|
1487
|
+
function Wn(e = !1) {
|
|
1488
|
+
if (e) {
|
|
1489
|
+
Hn();
|
|
1490
|
+
return;
|
|
1491
|
+
}
|
|
1492
|
+
Un();
|
|
1493
|
+
}
|
|
1494
|
+
//#endregion
|
|
1495
|
+
export { T as $, Ue as A, D as B, U as C, I as D, L as E, Ie as F, Ee as G, De as H, Fe as I, fe as J, Te as K, Le as L, We as M, Ve as N, P as O, N as P, ge as Q, Pe as R, H as S, dt as T, ke as U, Ne as V, Oe as W, ue as X, pe as Y, de as Z, kt as _, t as _t, Ln as a, w as at, _t as b, Vn as c, oe as ct, ln as d, l as dt, me as et, q as f, v as ft, qt as g, n as gt, Yt as h, i as ht, Bn as i, S as it, He as j, F as k, wn as l, ie as lt, Qt as m, a as mt, Fn as n, he as nt, Rn as o, re as ot, en as p, c as pt, Ce as q, Wn as r, xe as rt, zn as s, se as st, In as t, C as tt, un as u, o as ut, Ft as v, e as vt, ft as w, W as x, vt as y, A as z };
|