@expofp/floorplan 3.1.1 → 3.1.3
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-CDxonlwe.js → CookieConsent-CgshNiUW.js} +1976 -1976
- package/dist/browser/{Debug-i-1KdTDk.js → Debug-CAQ2Y1Zh.js} +6 -6
- package/dist/browser/{Demo-CQJkm6mN.js → Demo-B1d7LKVa.js} +8 -8
- package/dist/browser/{Free-Cvsndo_8.js → Free-CDTSlJEY.js} +8 -8
- package/dist/browser/{Gallery-DqmanL-9.js → Gallery-DvPKgsZC.js} +10 -10
- package/dist/browser/{GpsLoader-C2C18oPB.js → GpsLoader-0QPi71oF.js} +8 -8
- package/dist/browser/{KioskStore-CTuYNXTK.js → KioskStore-IG8a9NKE.js} +3 -3
- package/dist/browser/{Mapbox-CWd5ouuI.js → Mapbox-BqYgZ149.js} +8 -8
- package/dist/browser/{SetKioskMode-D82xnccT.js → SetKioskMode-CuhPjOeV.js} +7 -7
- package/dist/browser/{ShowKiosk-BPbgvj4h.js → ShowKiosk-Vv7rWwfr.js} +9 -9
- package/dist/browser/{ThreeComponent-BVyzwq47.js → ThreeComponent-CUD9Ymxj.js} +9 -9
- package/dist/browser/{TouchHand-B7utOQAe.js → TouchHand-CAu_2Z0K.js} +4 -4
- package/dist/browser/{ViewerMenuPanel-Ar4nlACL.js → ViewerMenuPanel-DduX02M1.js} +7 -7
- package/dist/browser/{add-debug-secret-listener-BdeqSuVN.js → add-debug-secret-listener-Cvu8GQbJ.js} +1 -1
- package/dist/browser/{boolean-editor-2nqTGUWk.js → boolean-editor-DqNwtjhT.js} +10 -10
- package/dist/browser/bootIntercom-QkbBgNhv.js +40 -0
- package/dist/browser/bundle.json +46 -43
- package/dist/browser/{chunk-QeH1YbGo.js → chunk-DQBx2y0u.js} +1 -1
- package/dist/browser/{classnames-D3zxbGlx.js → classnames-DDIn8LQy.js} +2 -2
- package/dist/browser/{client-D5a9T5Yr.js → client-VF4zA-sh.js} +9 -9
- package/dist/browser/{data-BmQ2xFdm.js → data-CFvjGzVc.js} +3 -3
- package/dist/browser/{debug-overlay-DsTlabIM.js → debug-overlay-DDbMN2nu.js} +43 -43
- package/dist/browser/{debug-ui-z1z7xjCf.js → debug-ui-Cbdmlsqq.js} +6 -6
- package/dist/browser/{dist-BNSxJ8Gf.js → dist-B0ttNa_v.js} +7 -7
- package/dist/browser/{exports-CHb8xfg4.js → exports-BQ_HyGqM.js} +360 -319
- package/dist/browser/{favicon-4wtTdmCZ.js → favicon-C65AD9b8.js} +1 -1
- package/dist/browser/{fetch-retry.umd-BIAQZiTB.js → fetch-retry.umd-COwLXJwf.js} +2 -2
- package/dist/browser/{flex-DdZZAOSi.js → flex-vY_BeCRt.js} +23 -23
- package/dist/browser/{floorplan.loader-CHuvNZrC.js → floorplan.loader-CvD9t0Bs.js} +1016 -1014
- package/dist/browser/{floorplan.ready-BoT8xaxE.js → floorplan.ready-CtadyRAs.js} +197 -196
- package/dist/browser/{fuse-CJxwj0ga.js → fuse-DGPiyXlj.js} +2 -2
- package/dist/browser/index.js +11 -11
- package/dist/browser/{is-debug-WU3-PF6o.js → is-debug-Cb7eGksV.js} +2 -2
- package/dist/browser/{jsx-runtime-Cw27xoLY.js → jsx-runtime-BuRUOsV1.js} +4 -4
- package/dist/browser/{lib-BAapOsxS.js → lib-Cvfv2IMm.js} +5 -5
- package/dist/browser/locales/ar.json +1 -1
- package/dist/browser/locales/de.json +1 -1
- package/dist/browser/locales/es.json +1 -1
- package/dist/browser/locales/fr.json +1 -1
- package/dist/browser/locales/he.json +1 -1
- package/dist/browser/locales/it.json +1 -1
- package/dist/browser/locales/kk.json +1 -1
- package/dist/browser/locales/ko.json +1 -1
- package/dist/browser/locales/mn.json +1 -1
- package/dist/browser/locales/nl.json +1 -1
- package/dist/browser/locales/pl.json +1 -1
- package/dist/browser/locales/pt.json +1 -1
- package/dist/browser/locales/ru.json +1 -1
- package/dist/browser/locales/sv.json +1 -1
- package/dist/browser/locales/th.json +1 -1
- package/dist/browser/locales/tr.json +1 -1
- package/dist/browser/locales/uk.json +1 -1
- package/dist/browser/locales/vi.json +1 -1
- package/dist/browser/locales/zh.json +1 -1
- package/dist/browser/{main-qKxcSrwP.js → main-DJGo4g--.js} +1 -1
- package/dist/browser/{mobx-Bk-gFdVC.js → mobx-CWmFk5Q_.js} +4 -4
- package/dist/browser/{particles.min-jdgqFSl5.js → particles.min-BZysM5Tg.js} +2 -2
- package/dist/browser/{prop-types-CSJl6-43.js → prop-types-DyiMgNwl.js} +2 -2
- package/dist/browser/{react-DocWE6xn.js → react-cBEAwEeA.js} +5 -5
- package/dist/browser/{react-dom-CBQsjumL.js → react-dom-D_5039DL.js} +6 -6
- package/dist/browser/{reset-all-settings-C_IhY9Uk.js → reset-all-settings-VjH78fi3.js} +1 -1
- package/dist/browser/{settings-C9z2GvpQ.js → settings-D595OjcR.js} +6 -6
- package/dist/browser/{src-BRY4SgeD.js → src-DWVoS2GS.js} +4 -4
- package/dist/browser/{store-CBwwf4CP.js → store-Bj7lyE8j.js} +14 -14
- package/dist/browser/{ui-qs_XcPuJ.js → ui-Di53DAaR.js} +6 -6
- package/dist/esm/components/Map/drawing/config/canvases.js +1 -1
- package/dist/esm/components/Map/drawing/config/config-markers.js +1 -1
- package/dist/esm/components/YahRow.js +1 -1
- package/dist/esm/floorplan.loader.js +1 -1
- package/dist/esm/floorplan.ready.js +1 -1
- package/dist/esm/intercom/bootIntercom.d.ts +3 -0
- package/dist/esm/intercom/bootIntercom.js +19 -0
- package/dist/esm/intercom/index.d.ts +3 -0
- package/dist/esm/intercom/index.js +1 -0
- package/dist/esm/intercom/shouldLoad.d.ts +4 -0
- package/dist/esm/intercom/shouldLoad.js +1 -0
- package/dist/esm/intercom/types.d.ts +6 -0
- package/dist/esm/intercom/types.js +1 -0
- package/dist/esm/store/SearchButtonsStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.d.ts +1 -1
- package/dist/esm/store/SearchStore.js +1 -1
- package/dist/esm/store/UIState.d.ts +1 -1
- package/dist/esm/store/UIState.js +1 -1
- package/dist/esm/store/init/init-heatmap.js +1 -1
- package/package.json +14 -14
- package/dist/esm/tools/intercom.d.ts +0 -12
- package/dist/esm/tools/intercom.js +0 -19
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/debug-build.js
|
|
2
2
|
(function() {
|
|
3
3
|
try {
|
|
4
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.1.
|
|
5
|
+
e.SENTRY_RELEASE = { id: "3.1.3" };
|
|
6
6
|
var t = new e.Error().stack;
|
|
7
|
-
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "
|
|
7
|
+
t && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[t] = "8b056443-ab52-44a3-b782-756aadfea59e", e._sentryDebugIdIdentifier = "sentry-dbid-8b056443-ab52-44a3-b782-756aadfea59e");
|
|
8
8
|
} catch {}
|
|
9
9
|
})();
|
|
10
|
-
var e = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, t = globalThis, n = "10.
|
|
10
|
+
var e = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, t = globalThis, n = "10.51.0";
|
|
11
11
|
//#endregion
|
|
12
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
12
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/carrier.js
|
|
13
13
|
function r() {
|
|
14
14
|
return i(t), t;
|
|
15
15
|
}
|
|
16
16
|
function i(e) {
|
|
17
17
|
let t = e.__SENTRY__ = e.__SENTRY__ || {};
|
|
18
|
-
return t.version = t.version || "10.
|
|
18
|
+
return t.version = t.version || "10.51.0", t[n] = t["10.51.0"] || {};
|
|
19
19
|
}
|
|
20
20
|
function a(e, r, i = t) {
|
|
21
|
-
let a = i.__SENTRY__ = i.__SENTRY__ || {}, o = a[n] = a["10.
|
|
21
|
+
let a = i.__SENTRY__ = i.__SENTRY__ || {}, o = a[n] = a["10.51.0"] || {};
|
|
22
22
|
return o[e] || (o[e] = r());
|
|
23
23
|
}
|
|
24
24
|
//#endregion
|
|
25
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
25
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/debug-logger.js
|
|
26
26
|
var o = [
|
|
27
27
|
"debug",
|
|
28
28
|
"info",
|
|
@@ -89,7 +89,7 @@ function re(...e) {
|
|
|
89
89
|
let n = a[e];
|
|
90
90
|
n.length > 1024 && (n = n.slice(0, 1024));
|
|
91
91
|
let o = te.test(n) ? n.replace(te, "$1") : n;
|
|
92
|
-
if (!o.
|
|
92
|
+
if (!o.includes("Error: ")) {
|
|
93
93
|
for (let e of t) {
|
|
94
94
|
let t = e(o);
|
|
95
95
|
if (t) {
|
|
@@ -143,7 +143,7 @@ function ce(e) {
|
|
|
143
143
|
return "__v_isVNode" in e && e.__v_isVNode ? "[VueVNode]" : "[VueViewModel]";
|
|
144
144
|
}
|
|
145
145
|
//#endregion
|
|
146
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
146
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/is.js
|
|
147
147
|
var le = Object.prototype.toString;
|
|
148
148
|
function ue(e) {
|
|
149
149
|
switch (le.call(e)) {
|
|
@@ -207,7 +207,7 @@ function xe(e) {
|
|
|
207
207
|
return typeof Request < "u" && T(e, Request);
|
|
208
208
|
}
|
|
209
209
|
//#endregion
|
|
210
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
210
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/browser.js
|
|
211
211
|
var E = t, Se = 80;
|
|
212
212
|
function Ce(e, t = {}) {
|
|
213
213
|
if (!e) return "<unknown>";
|
|
@@ -258,21 +258,21 @@ function Te() {
|
|
|
258
258
|
return "";
|
|
259
259
|
}
|
|
260
260
|
}
|
|
261
|
-
function Ee(e) {
|
|
261
|
+
function Ee(e, t = 5) {
|
|
262
262
|
if (!E.HTMLElement) return null;
|
|
263
|
-
let
|
|
264
|
-
for (let e = 0; e <
|
|
265
|
-
if (!
|
|
266
|
-
if (
|
|
267
|
-
if (
|
|
268
|
-
if (
|
|
263
|
+
let n = e;
|
|
264
|
+
for (let e = 0; e < t; e++) {
|
|
265
|
+
if (!n) return null;
|
|
266
|
+
if (n instanceof HTMLElement) {
|
|
267
|
+
if (n.dataset.sentryComponent) return n.dataset.sentryComponent;
|
|
268
|
+
if (n.dataset.sentryElement) return n.dataset.sentryElement;
|
|
269
269
|
}
|
|
270
|
-
|
|
270
|
+
n = n.parentNode;
|
|
271
271
|
}
|
|
272
272
|
return null;
|
|
273
273
|
}
|
|
274
274
|
//#endregion
|
|
275
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
275
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/object.js
|
|
276
276
|
function De(t, n, r) {
|
|
277
277
|
if (!(n in t)) return;
|
|
278
278
|
let i = t[n];
|
|
@@ -293,7 +293,7 @@ function D(t, n, r) {
|
|
|
293
293
|
configurable: !0
|
|
294
294
|
});
|
|
295
295
|
} catch {
|
|
296
|
-
e && v.log(`Failed to add non-enumerable property "${n}" to object`, t);
|
|
296
|
+
e && v.log(`Failed to add non-enumerable property "${String(n)}" to object`, t);
|
|
297
297
|
}
|
|
298
298
|
}
|
|
299
299
|
function Oe(e, t) {
|
|
@@ -329,18 +329,14 @@ function je(e) {
|
|
|
329
329
|
}
|
|
330
330
|
}
|
|
331
331
|
function Me(e) {
|
|
332
|
-
|
|
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 {};
|
|
332
|
+
return typeof e == "object" && e ? Object.fromEntries(Object.entries(e)) : {};
|
|
337
333
|
}
|
|
338
334
|
function Ne(e) {
|
|
339
335
|
let t = Object.keys(Ae(e));
|
|
340
336
|
return t.sort(), t[0] ? t.join(", ") : "[object has no keys]";
|
|
341
337
|
}
|
|
342
338
|
//#endregion
|
|
343
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
339
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/randomSafeContext.js
|
|
344
340
|
var O;
|
|
345
341
|
function k(e) {
|
|
346
342
|
if (O !== void 0) return O ? O(e) : e();
|
|
@@ -354,7 +350,7 @@ function Pe() {
|
|
|
354
350
|
return k(() => Date.now());
|
|
355
351
|
}
|
|
356
352
|
//#endregion
|
|
357
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
353
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/string.js
|
|
358
354
|
function j(e, t = 0) {
|
|
359
355
|
return typeof e != "string" || t === 0 || e.length <= t ? e : `${e.slice(0, t)}...`;
|
|
360
356
|
}
|
|
@@ -372,13 +368,13 @@ function Fe(e, t) {
|
|
|
372
368
|
return n.join(t);
|
|
373
369
|
}
|
|
374
370
|
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;
|
|
371
|
+
return S(e) ? ve(t) ? t.test(e) : S(t) ? n ? e === t : e.includes(t) : typeof t == "function" ? t(e) : !1 : !1;
|
|
376
372
|
}
|
|
377
373
|
function Le(e, t = [], n = !1) {
|
|
378
374
|
return t.some((t) => Ie(e, t, n));
|
|
379
375
|
}
|
|
380
376
|
//#endregion
|
|
381
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
377
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/misc.js
|
|
382
378
|
function Re() {
|
|
383
379
|
let e = t;
|
|
384
380
|
return e.crypto || e.msCrypto;
|
|
@@ -439,7 +435,7 @@ function Ge(e) {
|
|
|
439
435
|
} catch {}
|
|
440
436
|
}
|
|
441
437
|
//#endregion
|
|
442
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
438
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/time.js
|
|
443
439
|
var Ke = 1e3;
|
|
444
440
|
function P() {
|
|
445
441
|
return Pe() / Ke;
|
|
@@ -456,7 +452,7 @@ function F() {
|
|
|
456
452
|
return ((e = Je) == null ? Je = qe() : e)();
|
|
457
453
|
}
|
|
458
454
|
//#endregion
|
|
459
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
455
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/session.js
|
|
460
456
|
function Ye(e) {
|
|
461
457
|
let t = F(), n = {
|
|
462
458
|
sid: N(),
|
|
@@ -504,7 +500,7 @@ function Ze(e) {
|
|
|
504
500
|
};
|
|
505
501
|
}
|
|
506
502
|
//#endregion
|
|
507
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
503
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/merge.js
|
|
508
504
|
function L(e, t, n = 2) {
|
|
509
505
|
if (!t || typeof t != "object" || n <= 0) return t;
|
|
510
506
|
if (e && Object.keys(t).length === 0) return e;
|
|
@@ -513,7 +509,7 @@ function L(e, t, n = 2) {
|
|
|
513
509
|
return r;
|
|
514
510
|
}
|
|
515
511
|
//#endregion
|
|
516
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
512
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/propagationContext.js
|
|
517
513
|
function Qe() {
|
|
518
514
|
return N();
|
|
519
515
|
}
|
|
@@ -521,7 +517,7 @@ function $e() {
|
|
|
521
517
|
return N().substring(16);
|
|
522
518
|
}
|
|
523
519
|
//#endregion
|
|
524
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
520
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/spanOnScope.js
|
|
525
521
|
var R = "_sentrySpan";
|
|
526
522
|
function et(e, t) {
|
|
527
523
|
t ? D(e, R, t) : delete e[R];
|
|
@@ -530,7 +526,7 @@ function tt(e) {
|
|
|
530
526
|
return e[R];
|
|
531
527
|
}
|
|
532
528
|
//#endregion
|
|
533
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
529
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/scope.js
|
|
534
530
|
var nt = 100, z = class t {
|
|
535
531
|
constructor() {
|
|
536
532
|
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 = {
|
|
@@ -540,7 +536,7 @@ var nt = 100, z = class t {
|
|
|
540
536
|
}
|
|
541
537
|
clone() {
|
|
542
538
|
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;
|
|
539
|
+
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, e._conversationId = this._conversationId, et(e, tt(this)), e;
|
|
544
540
|
}
|
|
545
541
|
setClient(e) {
|
|
546
542
|
this._client = e;
|
|
@@ -571,6 +567,9 @@ var nt = 100, z = class t {
|
|
|
571
567
|
getUser() {
|
|
572
568
|
return this._user;
|
|
573
569
|
}
|
|
570
|
+
setConversationId(e) {
|
|
571
|
+
return this._conversationId = e || void 0, this._notifyScopeListeners(), this;
|
|
572
|
+
}
|
|
574
573
|
setTags(e) {
|
|
575
574
|
return this._tags = {
|
|
576
575
|
...this._tags,
|
|
@@ -624,7 +623,7 @@ var nt = 100, z = class t {
|
|
|
624
623
|
}
|
|
625
624
|
update(e) {
|
|
626
625
|
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) || {};
|
|
626
|
+
let n = typeof e == "function" ? e(this) : e, { tags: r, attributes: i, extra: a, user: o, contexts: s, level: c, fingerprint: l = [], propagationContext: u, conversationId: d } = (n instanceof t ? n.getScopeData() : C(n) ? e : void 0) || {};
|
|
628
627
|
return this._tags = {
|
|
629
628
|
...this._tags,
|
|
630
629
|
...r
|
|
@@ -637,10 +636,10 @@ var nt = 100, z = class t {
|
|
|
637
636
|
}, this._contexts = {
|
|
638
637
|
...this._contexts,
|
|
639
638
|
...s
|
|
640
|
-
}, o && Object.keys(o).length && (this._user = o), c && (this._level = c), l.length && (this._fingerprint = l), u && (this._propagationContext = u), this;
|
|
639
|
+
}, o && Object.keys(o).length && (this._user = o), c && (this._level = c), l.length && (this._fingerprint = l), u && (this._propagationContext = u), d && (this._conversationId = d), this;
|
|
641
640
|
}
|
|
642
641
|
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({
|
|
642
|
+
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, this._conversationId = void 0, et(this, void 0), this._attachments = [], this.setPropagationContext({
|
|
644
643
|
traceId: Qe(),
|
|
645
644
|
sampleRand: A()
|
|
646
645
|
}), this._notifyScopeListeners(), this;
|
|
@@ -686,7 +685,8 @@ var nt = 100, z = class t {
|
|
|
686
685
|
propagationContext: this._propagationContext,
|
|
687
686
|
sdkProcessingMetadata: this._sdkProcessingMetadata,
|
|
688
687
|
transactionName: this._transactionName,
|
|
689
|
-
span: tt(this)
|
|
688
|
+
span: tt(this),
|
|
689
|
+
conversationId: this._conversationId
|
|
690
690
|
};
|
|
691
691
|
}
|
|
692
692
|
setSDKProcessingMetadata(e) {
|
|
@@ -722,7 +722,7 @@ var nt = 100, z = class t {
|
|
|
722
722
|
}, this), a;
|
|
723
723
|
}
|
|
724
724
|
captureEvent(t, n) {
|
|
725
|
-
let r = (n == null ? void 0 : n.event_id) || N();
|
|
725
|
+
let r = t.event_id || (n == null ? void 0 : n.event_id) || N();
|
|
726
726
|
return this._client ? (this._client.captureEvent(t, {
|
|
727
727
|
...n,
|
|
728
728
|
event_id: r
|
|
@@ -735,7 +735,7 @@ var nt = 100, z = class t {
|
|
|
735
735
|
}
|
|
736
736
|
};
|
|
737
737
|
//#endregion
|
|
738
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
738
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/defaultScopes.js
|
|
739
739
|
function rt() {
|
|
740
740
|
return a("defaultCurrentScope", () => new z());
|
|
741
741
|
}
|
|
@@ -743,8 +743,27 @@ function it() {
|
|
|
743
743
|
return a("defaultIsolationScope", () => new z());
|
|
744
744
|
}
|
|
745
745
|
//#endregion
|
|
746
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
747
|
-
var at =
|
|
746
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/chain-and-copy-promiselike.js
|
|
747
|
+
var at = (e) => e instanceof Promise && !e[ot], ot = Symbol("chained PromiseLike"), st = (e, t, n) => {
|
|
748
|
+
let r = e.then((e) => (t(e), e), (e) => {
|
|
749
|
+
throw n(e), e;
|
|
750
|
+
});
|
|
751
|
+
return at(r) && at(e) ? r : ct(e, r);
|
|
752
|
+
}, ct = (e, t) => {
|
|
753
|
+
let n = !1;
|
|
754
|
+
for (let r in e) {
|
|
755
|
+
if (r in t) continue;
|
|
756
|
+
n = !0;
|
|
757
|
+
let i = e[r];
|
|
758
|
+
typeof i == "function" ? Object.defineProperty(t, r, {
|
|
759
|
+
value: (...t) => i.apply(e, t),
|
|
760
|
+
enumerable: !0,
|
|
761
|
+
configurable: !0,
|
|
762
|
+
writable: !0
|
|
763
|
+
}) : t[r] = i;
|
|
764
|
+
}
|
|
765
|
+
return n && Object.assign(t, { [ot]: !0 }), t;
|
|
766
|
+
}, lt = class {
|
|
748
767
|
constructor(e, t) {
|
|
749
768
|
let n;
|
|
750
769
|
n = e || new z();
|
|
@@ -758,9 +777,7 @@ var at = class {
|
|
|
758
777
|
} catch (e) {
|
|
759
778
|
throw this._popScope(), e;
|
|
760
779
|
}
|
|
761
|
-
return w(n) ? n
|
|
762
|
-
throw this._popScope(), e;
|
|
763
|
-
}) : (this._popScope(), n);
|
|
780
|
+
return w(n) ? st(n, () => this._popScope(), () => this._popScope()) : (this._popScope(), n);
|
|
764
781
|
}
|
|
765
782
|
getClient() {
|
|
766
783
|
return this.getStackTop().client;
|
|
@@ -787,46 +804,50 @@ var at = class {
|
|
|
787
804
|
};
|
|
788
805
|
function B() {
|
|
789
806
|
let e = i(r());
|
|
790
|
-
return e.stack = e.stack || new
|
|
807
|
+
return e.stack = e.stack || new lt(rt(), it());
|
|
791
808
|
}
|
|
792
|
-
function
|
|
809
|
+
function ut(e) {
|
|
793
810
|
return B().withScope(e);
|
|
794
811
|
}
|
|
795
|
-
function
|
|
812
|
+
function dt(e, t) {
|
|
796
813
|
let n = B();
|
|
797
814
|
return n.withScope(() => (n.getStackTop().scope = e, t(e)));
|
|
798
815
|
}
|
|
799
|
-
function
|
|
816
|
+
function ft(e) {
|
|
800
817
|
return B().withScope(() => e(B().getIsolationScope()));
|
|
801
818
|
}
|
|
802
|
-
function
|
|
819
|
+
function pt() {
|
|
803
820
|
return {
|
|
804
|
-
withIsolationScope:
|
|
805
|
-
withScope:
|
|
806
|
-
withSetScope:
|
|
807
|
-
withSetIsolationScope: (e, t) =>
|
|
821
|
+
withIsolationScope: ft,
|
|
822
|
+
withScope: ut,
|
|
823
|
+
withSetScope: dt,
|
|
824
|
+
withSetIsolationScope: (e, t) => ft(t),
|
|
808
825
|
getCurrentScope: () => B().getScope(),
|
|
809
826
|
getIsolationScope: () => B().getIsolationScope()
|
|
810
827
|
};
|
|
811
828
|
}
|
|
812
829
|
//#endregion
|
|
813
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
830
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/asyncContext/index.js
|
|
814
831
|
function V(e) {
|
|
815
832
|
let t = i(e);
|
|
816
|
-
return t.acs ? t.acs :
|
|
833
|
+
return t.acs ? t.acs : pt();
|
|
817
834
|
}
|
|
818
835
|
//#endregion
|
|
819
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
836
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/currentScopes.js
|
|
837
|
+
var mt;
|
|
838
|
+
function ht() {
|
|
839
|
+
return mt == null ? void 0 : mt();
|
|
840
|
+
}
|
|
820
841
|
function H() {
|
|
821
842
|
return V(r()).getCurrentScope();
|
|
822
843
|
}
|
|
823
844
|
function U() {
|
|
824
845
|
return V(r()).getIsolationScope();
|
|
825
846
|
}
|
|
826
|
-
function
|
|
847
|
+
function gt() {
|
|
827
848
|
return a("globalScope", () => new z());
|
|
828
849
|
}
|
|
829
|
-
function
|
|
850
|
+
function _t(...e) {
|
|
830
851
|
let t = V(r());
|
|
831
852
|
if (e.length === 2) {
|
|
832
853
|
let [n, r] = e;
|
|
@@ -837,17 +858,22 @@ function dt(...e) {
|
|
|
837
858
|
function W() {
|
|
838
859
|
return H().getClient();
|
|
839
860
|
}
|
|
840
|
-
function
|
|
841
|
-
let
|
|
842
|
-
|
|
843
|
-
|
|
861
|
+
function vt(e) {
|
|
862
|
+
let t = ht();
|
|
863
|
+
if (t) return {
|
|
864
|
+
trace_id: t.traceId,
|
|
865
|
+
span_id: t.spanId
|
|
866
|
+
};
|
|
867
|
+
let { traceId: n, parentSpanId: r, propagationSpanId: i } = e.getPropagationContext(), a = {
|
|
868
|
+
trace_id: n,
|
|
869
|
+
span_id: i || $e()
|
|
844
870
|
};
|
|
845
|
-
return
|
|
871
|
+
return r && (a.parent_span_id = r), a;
|
|
846
872
|
}
|
|
873
|
+
var yt = "sentry.previous_trace_sample_rate", bt = "sentry.op", xt = "sentry.origin", St = "sentry.profile_id", Ct = "sentry.exclusive_time", wt = "gen_ai.conversation.id";
|
|
847
874
|
//#endregion
|
|
848
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
849
|
-
|
|
850
|
-
function xt(e) {
|
|
875
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/weakRef.js
|
|
876
|
+
function Tt(e) {
|
|
851
877
|
if (e) {
|
|
852
878
|
if (typeof e == "object" && "deref" in e && typeof e.deref == "function") try {
|
|
853
879
|
return e.deref();
|
|
@@ -857,21 +883,21 @@ function xt(e) {
|
|
|
857
883
|
return e;
|
|
858
884
|
}
|
|
859
885
|
}
|
|
860
|
-
|
|
886
|
+
//#endregion
|
|
887
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/tracing/utils.js
|
|
888
|
+
var Et = "_sentryScope", Dt = "_sentryIsolationScope";
|
|
889
|
+
function Ot(e) {
|
|
861
890
|
let t = e;
|
|
862
891
|
return {
|
|
863
|
-
scope: t[
|
|
864
|
-
isolationScope:
|
|
892
|
+
scope: t[Et],
|
|
893
|
+
isolationScope: Tt(t[Dt])
|
|
865
894
|
};
|
|
866
895
|
}
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
var St = /^sentry-/;
|
|
870
|
-
function Ct(e) {
|
|
871
|
-
let t = wt(e);
|
|
896
|
+
function kt(e) {
|
|
897
|
+
let t = At(e);
|
|
872
898
|
if (!t) return;
|
|
873
899
|
let n = Object.entries(t).reduce((e, [t, n]) => {
|
|
874
|
-
if (t.
|
|
900
|
+
if (t.startsWith("sentry-")) {
|
|
875
901
|
let r = t.slice(7);
|
|
876
902
|
e[r] = n;
|
|
877
903
|
}
|
|
@@ -879,15 +905,15 @@ function Ct(e) {
|
|
|
879
905
|
}, {});
|
|
880
906
|
if (Object.keys(n).length > 0) return n;
|
|
881
907
|
}
|
|
882
|
-
function
|
|
908
|
+
function At(e) {
|
|
883
909
|
if (!(!e || !S(e) && !Array.isArray(e))) return Array.isArray(e) ? e.reduce((e, t) => {
|
|
884
|
-
let n =
|
|
910
|
+
let n = jt(t);
|
|
885
911
|
return Object.entries(n).forEach(([t, n]) => {
|
|
886
912
|
e[t] = n;
|
|
887
913
|
}), e;
|
|
888
|
-
}, {}) :
|
|
914
|
+
}, {}) : jt(e);
|
|
889
915
|
}
|
|
890
|
-
function
|
|
916
|
+
function jt(e) {
|
|
891
917
|
return e.split(",").map((e) => {
|
|
892
918
|
let t = e.indexOf("=");
|
|
893
919
|
return t === -1 ? [] : [e.slice(0, t), e.slice(t + 1)].map((e) => {
|
|
@@ -900,17 +926,17 @@ function Tt(e) {
|
|
|
900
926
|
}).reduce((e, [t, n]) => (t && n && (e[t] = n), e), {});
|
|
901
927
|
}
|
|
902
928
|
//#endregion
|
|
903
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
904
|
-
var
|
|
905
|
-
function
|
|
929
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/dsn.js
|
|
930
|
+
var Mt = /^o(\d+)\./, Nt = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)((?:\[[:.%\w]+\]|[\w.-]+))(?::(\d+))?\/(.+)/;
|
|
931
|
+
function Pt(e) {
|
|
906
932
|
return e === "http" || e === "https";
|
|
907
933
|
}
|
|
908
|
-
function
|
|
934
|
+
function Ft(e, t = !1) {
|
|
909
935
|
let { host: n, path: r, pass: i, port: a, projectId: o, protocol: s, publicKey: c } = e;
|
|
910
936
|
return `${s}://${c}${t && i ? `:${i}` : ""}@${n}${a ? `:${a}` : ""}/${r && `${r}/`}${o}`;
|
|
911
937
|
}
|
|
912
|
-
function
|
|
913
|
-
let t =
|
|
938
|
+
function It(e) {
|
|
939
|
+
let t = Nt.exec(e);
|
|
914
940
|
if (!t) {
|
|
915
941
|
l(() => {
|
|
916
942
|
console.error(`Invalid Sentry Dsn: ${e}`);
|
|
@@ -922,7 +948,7 @@ function At(e) {
|
|
|
922
948
|
let e = u.match(/^\d+/);
|
|
923
949
|
e && (u = e[0]);
|
|
924
950
|
}
|
|
925
|
-
return
|
|
951
|
+
return Lt({
|
|
926
952
|
host: a,
|
|
927
953
|
pass: i,
|
|
928
954
|
path: c,
|
|
@@ -932,7 +958,7 @@ function At(e) {
|
|
|
932
958
|
publicKey: r
|
|
933
959
|
});
|
|
934
960
|
}
|
|
935
|
-
function
|
|
961
|
+
function Lt(e) {
|
|
936
962
|
return {
|
|
937
963
|
protocol: e.protocol,
|
|
938
964
|
publicKey: e.publicKey || "",
|
|
@@ -943,7 +969,7 @@ function jt(e) {
|
|
|
943
969
|
projectId: e.projectId
|
|
944
970
|
};
|
|
945
971
|
}
|
|
946
|
-
function
|
|
972
|
+
function Rt(t) {
|
|
947
973
|
if (!e) return !0;
|
|
948
974
|
let { port: n, projectId: r, protocol: i } = t;
|
|
949
975
|
return [
|
|
@@ -951,30 +977,30 @@ function Mt(t) {
|
|
|
951
977
|
"publicKey",
|
|
952
978
|
"host",
|
|
953
979
|
"projectId"
|
|
954
|
-
].find((e) => t[e] ? !1 : (v.error(`Invalid Sentry Dsn: ${e} missing`), !0)) ? !1 : r.match(/^\d+$/) ?
|
|
980
|
+
].find((e) => t[e] ? !1 : (v.error(`Invalid Sentry Dsn: ${e} missing`), !0)) ? !1 : r.match(/^\d+$/) ? Pt(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
981
|
}
|
|
956
|
-
function
|
|
957
|
-
let t = e.match(
|
|
982
|
+
function zt(e) {
|
|
983
|
+
let t = e.match(Mt);
|
|
958
984
|
return t == null ? void 0 : t[1];
|
|
959
985
|
}
|
|
960
|
-
function
|
|
986
|
+
function Bt(e) {
|
|
961
987
|
let t = e.getOptions(), { host: n } = e.getDsn() || {}, r;
|
|
962
|
-
return t.orgId ? r = String(t.orgId) : n && (r =
|
|
988
|
+
return t.orgId ? r = String(t.orgId) : n && (r = zt(n)), r;
|
|
963
989
|
}
|
|
964
|
-
function
|
|
965
|
-
let t = typeof e == "string" ?
|
|
966
|
-
if (!(!t || !
|
|
990
|
+
function Vt(e) {
|
|
991
|
+
let t = typeof e == "string" ? It(e) : Lt(e);
|
|
992
|
+
if (!(!t || !Rt(t))) return t;
|
|
967
993
|
}
|
|
968
|
-
var
|
|
969
|
-
function
|
|
970
|
-
let { spanId: t, traceId: n, isRemote: r } = e.spanContext(), i = r ? t :
|
|
994
|
+
var Ht = !1;
|
|
995
|
+
function Ut(e) {
|
|
996
|
+
let { spanId: t, traceId: n, isRemote: r } = e.spanContext(), i = r ? t : G(e).parent_span_id, a = Ot(e).scope;
|
|
971
997
|
return {
|
|
972
998
|
parent_span_id: i,
|
|
973
999
|
span_id: r ? (a == null ? void 0 : a.getPropagationContext().propagationSpanId) || $e() : t,
|
|
974
1000
|
trace_id: n
|
|
975
1001
|
};
|
|
976
1002
|
}
|
|
977
|
-
function
|
|
1003
|
+
function Wt(e) {
|
|
978
1004
|
if (e && e.length > 0) return e.map(({ context: { spanId: e, traceId: t, traceFlags: n, ...r }, attributes: i }) => ({
|
|
979
1005
|
span_id: e,
|
|
980
1006
|
trace_id: t,
|
|
@@ -983,30 +1009,29 @@ function Rt(e) {
|
|
|
983
1009
|
...r
|
|
984
1010
|
}));
|
|
985
1011
|
}
|
|
986
|
-
function
|
|
987
|
-
return typeof e == "number" ?
|
|
1012
|
+
function Gt(e) {
|
|
1013
|
+
return typeof e == "number" ? Kt(e) : Array.isArray(e) ? e[0] + e[1] / 1e9 : e instanceof Date ? Kt(e.getTime()) : F();
|
|
988
1014
|
}
|
|
989
|
-
function
|
|
1015
|
+
function Kt(e) {
|
|
990
1016
|
return e > 9999999999 ? e / 1e3 : e;
|
|
991
1017
|
}
|
|
992
|
-
function
|
|
993
|
-
if (
|
|
1018
|
+
function G(e) {
|
|
1019
|
+
if (Yt(e)) return e.getSpanJSON();
|
|
994
1020
|
let { spanId: t, traceId: n } = e.spanContext();
|
|
995
|
-
if (
|
|
996
|
-
|
|
997
|
-
let { attributes: i, startTime: a, name: o, endTime: s, status: c, links: l } = e;
|
|
1021
|
+
if (Jt(e)) {
|
|
1022
|
+
let { attributes: r, startTime: i, name: a, endTime: o, status: s, links: c } = e;
|
|
998
1023
|
return {
|
|
999
1024
|
span_id: t,
|
|
1000
1025
|
trace_id: n,
|
|
1001
|
-
data:
|
|
1002
|
-
description:
|
|
1003
|
-
parent_span_id:
|
|
1004
|
-
start_timestamp:
|
|
1005
|
-
timestamp:
|
|
1006
|
-
status:
|
|
1007
|
-
op:
|
|
1008
|
-
origin:
|
|
1009
|
-
links:
|
|
1026
|
+
data: r,
|
|
1027
|
+
description: a,
|
|
1028
|
+
parent_span_id: qt(e),
|
|
1029
|
+
start_timestamp: Gt(i),
|
|
1030
|
+
timestamp: Gt(o) || void 0,
|
|
1031
|
+
status: Zt(s),
|
|
1032
|
+
op: r[bt],
|
|
1033
|
+
origin: r[xt],
|
|
1034
|
+
links: Wt(c)
|
|
1010
1035
|
};
|
|
1011
1036
|
}
|
|
1012
1037
|
return {
|
|
@@ -1016,112 +1041,126 @@ function K(e) {
|
|
|
1016
1041
|
data: {}
|
|
1017
1042
|
};
|
|
1018
1043
|
}
|
|
1019
|
-
function
|
|
1044
|
+
function qt(e) {
|
|
1045
|
+
var t;
|
|
1046
|
+
return "parentSpanId" in e ? e.parentSpanId : "parentSpanContext" in e ? (t = e.parentSpanContext) == null ? void 0 : t.spanId : void 0;
|
|
1047
|
+
}
|
|
1048
|
+
function Jt(e) {
|
|
1020
1049
|
let t = e;
|
|
1021
1050
|
return !!t.attributes && !!t.startTime && !!t.name && !!t.endTime && !!t.status;
|
|
1022
1051
|
}
|
|
1023
|
-
function
|
|
1052
|
+
function Yt(e) {
|
|
1024
1053
|
return typeof e.getSpanJSON == "function";
|
|
1025
1054
|
}
|
|
1026
|
-
function
|
|
1055
|
+
function Xt(e) {
|
|
1027
1056
|
let { traceFlags: t } = e.spanContext();
|
|
1028
1057
|
return t === 1;
|
|
1029
1058
|
}
|
|
1030
|
-
function
|
|
1059
|
+
function Zt(e) {
|
|
1031
1060
|
if (!(!e || e.code === 0)) return e.code === 1 ? "ok" : e.message || "internal_error";
|
|
1032
1061
|
}
|
|
1033
|
-
var
|
|
1034
|
-
function
|
|
1035
|
-
return e[
|
|
1062
|
+
var Qt = "_sentryRootSpan", $t = en;
|
|
1063
|
+
function en(e) {
|
|
1064
|
+
return e[Qt] || e;
|
|
1036
1065
|
}
|
|
1037
|
-
function
|
|
1038
|
-
|
|
1066
|
+
function tn() {
|
|
1067
|
+
Ht || (l(() => {
|
|
1039
1068
|
console.warn("[Sentry] Returning null from `beforeSendSpan` is disallowed. To drop certain spans, configure the respective integrations directly or use `ignoreSpans`.");
|
|
1040
|
-
}),
|
|
1069
|
+
}), Ht = !0);
|
|
1041
1070
|
}
|
|
1042
1071
|
//#endregion
|
|
1043
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1044
|
-
function
|
|
1072
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/hasSpansEnabled.js
|
|
1073
|
+
function nn(e) {
|
|
1045
1074
|
var t;
|
|
1046
1075
|
if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__) return !1;
|
|
1047
1076
|
let n = e || ((t = W()) == null ? void 0 : t.getOptions());
|
|
1048
1077
|
return !!n && (n.tracesSampleRate != null || !!n.tracesSampler);
|
|
1049
1078
|
}
|
|
1050
1079
|
//#endregion
|
|
1051
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1052
|
-
var
|
|
1053
|
-
function
|
|
1080
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/constants.js
|
|
1081
|
+
var rn = "production", an = "_frozenDsc";
|
|
1082
|
+
function on(e, t) {
|
|
1054
1083
|
let n = t.getOptions(), { publicKey: r } = t.getDsn() || {}, i = {
|
|
1055
1084
|
environment: n.environment || "production",
|
|
1056
1085
|
release: n.release,
|
|
1057
1086
|
public_key: r,
|
|
1058
1087
|
trace_id: e,
|
|
1059
|
-
org_id:
|
|
1088
|
+
org_id: Bt(t)
|
|
1060
1089
|
};
|
|
1061
1090
|
return t.emit("createDsc", i), i;
|
|
1062
1091
|
}
|
|
1063
|
-
function
|
|
1092
|
+
function sn(e, t) {
|
|
1064
1093
|
let n = t.getPropagationContext();
|
|
1065
|
-
return n.dsc ||
|
|
1066
|
-
}
|
|
1067
|
-
function
|
|
1068
|
-
var t, n;
|
|
1069
|
-
let
|
|
1070
|
-
if (!
|
|
1071
|
-
let
|
|
1072
|
-
function
|
|
1073
|
-
return (typeof
|
|
1074
|
-
}
|
|
1075
|
-
let
|
|
1076
|
-
if (
|
|
1077
|
-
let
|
|
1078
|
-
if (
|
|
1079
|
-
let
|
|
1080
|
-
if (
|
|
1081
|
-
var
|
|
1082
|
-
|
|
1083
|
-
}
|
|
1084
|
-
return
|
|
1094
|
+
return n.dsc || on(n.traceId, e);
|
|
1095
|
+
}
|
|
1096
|
+
function cn(e) {
|
|
1097
|
+
var t, n, r;
|
|
1098
|
+
let i = W();
|
|
1099
|
+
if (!i) return {};
|
|
1100
|
+
let a = $t(e), o = G(a), s = o.data, c = a.spanContext().traceState, l = (t = (n = c == null ? void 0 : c.get("sentry.sample_rate")) == null ? s["sentry.sample_rate"] : n) == null ? s[yt] : t;
|
|
1101
|
+
function u(e) {
|
|
1102
|
+
return (typeof l == "number" || typeof l == "string") && (e.sample_rate = `${l}`), e;
|
|
1103
|
+
}
|
|
1104
|
+
let d = a[an];
|
|
1105
|
+
if (d) return u(d);
|
|
1106
|
+
let f = c == null ? void 0 : c.get("sentry.dsc"), p = f && kt(f);
|
|
1107
|
+
if (p) return u(p);
|
|
1108
|
+
let m = on(e.spanContext().traceId, i), h = (r = s["sentry.source"]) == null ? s["sentry.span.source"] : r, g = o.description;
|
|
1109
|
+
if (h !== "url" && g && (m.transaction = g), nn()) {
|
|
1110
|
+
var _, v;
|
|
1111
|
+
m.sampled = String(Xt(a)), m.sample_rand = (_ = c == null ? void 0 : c.get("sentry.sample_rand")) == null ? (v = Ot(a).scope) == null ? void 0 : v.getPropagationContext().sampleRand.toString() : _;
|
|
1112
|
+
}
|
|
1113
|
+
return u(m), i.emit("createDsc", m, a), m;
|
|
1085
1114
|
}
|
|
1086
1115
|
//#endregion
|
|
1087
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1088
|
-
|
|
1116
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/normalizationHints.js
|
|
1117
|
+
var ln = Symbol.for("sentry.skipNormalization"), un = Symbol.for("sentry.overrideNormalizationDepth");
|
|
1118
|
+
function dn(e) {
|
|
1119
|
+
return !!e[ln];
|
|
1120
|
+
}
|
|
1121
|
+
function fn(e) {
|
|
1122
|
+
let t = e[un];
|
|
1123
|
+
return typeof t == "number" ? t : void 0;
|
|
1124
|
+
}
|
|
1125
|
+
//#endregion
|
|
1126
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/normalize.js
|
|
1127
|
+
function K(e, t = 100, n = Infinity) {
|
|
1089
1128
|
try {
|
|
1090
|
-
return
|
|
1129
|
+
return q("", e, t, n);
|
|
1091
1130
|
} catch (e) {
|
|
1092
1131
|
return { ERROR: `**non-serializable** (${e})` };
|
|
1093
1132
|
}
|
|
1094
1133
|
}
|
|
1095
|
-
function
|
|
1096
|
-
let r =
|
|
1097
|
-
return
|
|
1134
|
+
function pn(e, t = 3, n = 100 * 1024) {
|
|
1135
|
+
let r = K(e, t);
|
|
1136
|
+
return _n(r) > n ? pn(e, t - 1, n) : r;
|
|
1098
1137
|
}
|
|
1099
|
-
function
|
|
1138
|
+
function q(e, t, n = Infinity, r = Infinity, i = vn()) {
|
|
1100
1139
|
let [a, o] = i;
|
|
1101
1140
|
if (t == null || ["boolean", "string"].includes(typeof t) || typeof t == "number" && Number.isFinite(t)) return t;
|
|
1102
|
-
let s =
|
|
1141
|
+
let s = mn(e, t);
|
|
1103
1142
|
if (!s.startsWith("[object ")) return s;
|
|
1104
|
-
if (t
|
|
1105
|
-
let c =
|
|
1106
|
-
if (
|
|
1143
|
+
if (dn(t)) return t;
|
|
1144
|
+
let c = fn(t), l = c === void 0 ? n : c;
|
|
1145
|
+
if (l === 0) return s.replace("object ", "");
|
|
1107
1146
|
if (a(t)) return "[Circular ~]";
|
|
1108
|
-
let
|
|
1109
|
-
if (
|
|
1110
|
-
return
|
|
1147
|
+
let u = t;
|
|
1148
|
+
if (u && typeof u.toJSON == "function") try {
|
|
1149
|
+
return q("", u.toJSON(), l - 1, r, i);
|
|
1111
1150
|
} catch {}
|
|
1112
|
-
let
|
|
1113
|
-
for (let e in
|
|
1114
|
-
if (!Object.prototype.hasOwnProperty.call(
|
|
1115
|
-
if (
|
|
1116
|
-
|
|
1151
|
+
let d = Array.isArray(t) ? [] : {}, f = 0, p = Ae(t);
|
|
1152
|
+
for (let e in p) {
|
|
1153
|
+
if (!Object.prototype.hasOwnProperty.call(p, e)) continue;
|
|
1154
|
+
if (f >= r) {
|
|
1155
|
+
d[e] = "[MaxProperties ~]";
|
|
1117
1156
|
break;
|
|
1118
1157
|
}
|
|
1119
|
-
let t =
|
|
1120
|
-
|
|
1158
|
+
let t = p[e];
|
|
1159
|
+
d[e] = q(e, t, l - 1, r, i), f++;
|
|
1121
1160
|
}
|
|
1122
|
-
return o(t),
|
|
1161
|
+
return o(t), d;
|
|
1123
1162
|
}
|
|
1124
|
-
function
|
|
1163
|
+
function mn(e, t) {
|
|
1125
1164
|
try {
|
|
1126
1165
|
if (e === "domain" && t && typeof t == "object" && t._events) return "[Domain]";
|
|
1127
1166
|
if (e === "domainEmitter") return "[DomainEmitter]";
|
|
@@ -1134,23 +1173,23 @@ function tn(e, t) {
|
|
|
1134
1173
|
if (typeof t == "function") return `[Function: ${oe(t)}]`;
|
|
1135
1174
|
if (typeof t == "symbol") return `[${String(t)}]`;
|
|
1136
1175
|
if (typeof t == "bigint") return `[BigInt: ${String(t)}]`;
|
|
1137
|
-
let n =
|
|
1176
|
+
let n = hn(t);
|
|
1138
1177
|
return /^HTML(\w*)Element$/.test(n) ? `[HTMLElement: ${n}]` : `[object ${n}]`;
|
|
1139
1178
|
} catch (e) {
|
|
1140
1179
|
return `**non-serializable** (${e})`;
|
|
1141
1180
|
}
|
|
1142
1181
|
}
|
|
1143
|
-
function
|
|
1182
|
+
function hn(e) {
|
|
1144
1183
|
let t = Object.getPrototypeOf(e);
|
|
1145
1184
|
return t != null && t.constructor ? t.constructor.name : "null prototype";
|
|
1146
1185
|
}
|
|
1147
|
-
function
|
|
1186
|
+
function gn(e) {
|
|
1148
1187
|
return ~-encodeURI(e).split(/%..|./).length;
|
|
1149
1188
|
}
|
|
1150
|
-
function
|
|
1151
|
-
return
|
|
1189
|
+
function _n(e) {
|
|
1190
|
+
return gn(JSON.stringify(e));
|
|
1152
1191
|
}
|
|
1153
|
-
function
|
|
1192
|
+
function vn() {
|
|
1154
1193
|
let e = /* @__PURE__ */ new WeakSet();
|
|
1155
1194
|
function t(t) {
|
|
1156
1195
|
return e.has(t) ? !0 : (e.add(t), !1);
|
|
@@ -1161,19 +1200,79 @@ function on() {
|
|
|
1161
1200
|
return [t, n];
|
|
1162
1201
|
}
|
|
1163
1202
|
//#endregion
|
|
1164
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1165
|
-
|
|
1166
|
-
|
|
1167
|
-
|
|
1203
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/scopeData.js
|
|
1204
|
+
function yn(e, t) {
|
|
1205
|
+
let { fingerprint: n, span: r, breadcrumbs: i, sdkProcessingMetadata: a } = t;
|
|
1206
|
+
Sn(e, t), r && Tn(e, r), En(e, n), Cn(e, i), wn(e, a);
|
|
1207
|
+
}
|
|
1208
|
+
function bn(e, t) {
|
|
1209
|
+
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;
|
|
1210
|
+
J(e, "extra", n), J(e, "tags", r), J(e, "attributes", i), J(e, "user", a), J(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 = {
|
|
1211
|
+
...e.propagationContext,
|
|
1212
|
+
...p
|
|
1213
|
+
};
|
|
1214
|
+
}
|
|
1215
|
+
function J(e, t, n) {
|
|
1216
|
+
e[t] = L(e[t], n, 1);
|
|
1217
|
+
}
|
|
1218
|
+
function xn(e, t) {
|
|
1219
|
+
let n = gt().getScopeData();
|
|
1220
|
+
return e && bn(n, e.getScopeData()), t && bn(n, t.getScopeData()), n;
|
|
1221
|
+
}
|
|
1222
|
+
function Sn(e, t) {
|
|
1223
|
+
let { extra: n, tags: r, user: i, contexts: a, level: o, transactionName: s } = t;
|
|
1224
|
+
Object.keys(n).length && (e.extra = {
|
|
1225
|
+
...n,
|
|
1226
|
+
...e.extra
|
|
1227
|
+
}), Object.keys(r).length && (e.tags = {
|
|
1228
|
+
...r,
|
|
1229
|
+
...e.tags
|
|
1230
|
+
}), Object.keys(i).length && (e.user = {
|
|
1231
|
+
...i,
|
|
1232
|
+
...e.user
|
|
1233
|
+
}), Object.keys(a).length && (e.contexts = {
|
|
1234
|
+
...a,
|
|
1235
|
+
...e.contexts
|
|
1236
|
+
}), o && (e.level = o), s && e.type !== "transaction" && (e.transaction = s);
|
|
1237
|
+
}
|
|
1238
|
+
function Cn(e, t) {
|
|
1239
|
+
let n = [...e.breadcrumbs || [], ...t];
|
|
1240
|
+
e.breadcrumbs = n.length ? n : void 0;
|
|
1241
|
+
}
|
|
1242
|
+
function wn(e, t) {
|
|
1243
|
+
e.sdkProcessingMetadata = {
|
|
1244
|
+
...e.sdkProcessingMetadata,
|
|
1245
|
+
...t
|
|
1246
|
+
};
|
|
1247
|
+
}
|
|
1248
|
+
function Tn(e, t) {
|
|
1249
|
+
e.contexts = {
|
|
1250
|
+
trace: Ut(t),
|
|
1251
|
+
...e.contexts
|
|
1252
|
+
}, e.sdkProcessingMetadata = {
|
|
1253
|
+
dynamicSamplingContext: cn(t),
|
|
1254
|
+
...e.sdkProcessingMetadata
|
|
1255
|
+
};
|
|
1256
|
+
let n = G($t(t)).description;
|
|
1257
|
+
n && !e.transaction && e.type === "transaction" && (e.transaction = n);
|
|
1258
|
+
}
|
|
1259
|
+
function En(e, t) {
|
|
1260
|
+
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;
|
|
1261
|
+
}
|
|
1262
|
+
//#endregion
|
|
1263
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/syncpromise.js
|
|
1264
|
+
var Y = 0, Dn = 1, On = 2;
|
|
1265
|
+
function X(e) {
|
|
1266
|
+
return new An((t) => {
|
|
1168
1267
|
t(e);
|
|
1169
1268
|
});
|
|
1170
1269
|
}
|
|
1171
|
-
function
|
|
1172
|
-
return new
|
|
1270
|
+
function kn(e) {
|
|
1271
|
+
return new An((t, n) => {
|
|
1173
1272
|
n(e);
|
|
1174
1273
|
});
|
|
1175
1274
|
}
|
|
1176
|
-
var
|
|
1275
|
+
var An = class e {
|
|
1177
1276
|
constructor(e) {
|
|
1178
1277
|
this._state = Y, this._handlers = [], this._runExecutor(e);
|
|
1179
1278
|
}
|
|
@@ -1223,7 +1322,7 @@ var dn = class e {
|
|
|
1223
1322
|
if (this._state === Y) return;
|
|
1224
1323
|
let e = this._handlers.slice();
|
|
1225
1324
|
this._handlers = [], e.forEach((e) => {
|
|
1226
|
-
e[0] || (this._state ===
|
|
1325
|
+
e[0] || (this._state === Dn && e[1](this._value), this._state === On && e[2](this._value), e[0] = !0);
|
|
1227
1326
|
});
|
|
1228
1327
|
}
|
|
1229
1328
|
_runExecutor(e) {
|
|
@@ -1236,9 +1335,9 @@ var dn = class e {
|
|
|
1236
1335
|
this._state = e, this._value = t, this._executeHandlers();
|
|
1237
1336
|
}
|
|
1238
1337
|
}, n = (e) => {
|
|
1239
|
-
t(
|
|
1338
|
+
t(Dn, e);
|
|
1240
1339
|
}, r = (e) => {
|
|
1241
|
-
t(
|
|
1340
|
+
t(On, e);
|
|
1242
1341
|
};
|
|
1243
1342
|
try {
|
|
1244
1343
|
e(n, r);
|
|
@@ -1248,123 +1347,65 @@ var dn = class e {
|
|
|
1248
1347
|
}
|
|
1249
1348
|
};
|
|
1250
1349
|
//#endregion
|
|
1251
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1252
|
-
function
|
|
1350
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/eventProcessors.js
|
|
1351
|
+
function jn(e, t, n, r = 0) {
|
|
1253
1352
|
try {
|
|
1254
|
-
let i =
|
|
1255
|
-
return w(i) ? i :
|
|
1353
|
+
let i = Z(t, n, e, r);
|
|
1354
|
+
return w(i) ? i : X(i);
|
|
1256
1355
|
} catch (e) {
|
|
1257
|
-
return
|
|
1356
|
+
return kn(e);
|
|
1258
1357
|
}
|
|
1259
1358
|
}
|
|
1260
|
-
function
|
|
1359
|
+
function Z(t, n, r, i) {
|
|
1261
1360
|
let a = r[i];
|
|
1262
1361
|
if (!t || !a) return t;
|
|
1263
1362
|
let o = a({ ...t }, n);
|
|
1264
|
-
return e && o === null && v.log(`Event processor "${a.id || "?"}" dropped event`), w(o) ? o.then((e) =>
|
|
1363
|
+
return e && o === null && v.log(`Event processor "${a.id || "?"}" dropped event`), w(o) ? o.then((e) => Z(e, n, r, i + 1)) : Z(o, n, r, i + 1);
|
|
1265
1364
|
}
|
|
1266
1365
|
//#endregion
|
|
1267
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1268
|
-
var
|
|
1269
|
-
function
|
|
1366
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/debug-ids.js
|
|
1367
|
+
var Q, Mn, Nn, $;
|
|
1368
|
+
function Pn(e) {
|
|
1270
1369
|
let n = t._sentryDebugIds, r = t._debugIds;
|
|
1271
1370
|
if (!n && !r) return {};
|
|
1272
1371
|
let i = n ? Object.keys(n) : [], a = r ? Object.keys(r) : [];
|
|
1273
|
-
if (
|
|
1274
|
-
|
|
1372
|
+
if ($ && i.length === Mn && a.length === Nn) return $;
|
|
1373
|
+
Mn = i.length, Nn = a.length, $ = {}, Q || (Q = {});
|
|
1275
1374
|
let o = (t, n) => {
|
|
1276
1375
|
for (let r of t) {
|
|
1277
|
-
let t = n[r], i =
|
|
1278
|
-
if (i &&
|
|
1376
|
+
let t = n[r], i = Q == null ? void 0 : Q[r];
|
|
1377
|
+
if (i && $ && t) $[i[0]] = t, Q && (Q[r] = [i[0], t]);
|
|
1279
1378
|
else if (t) {
|
|
1280
1379
|
let n = e(r);
|
|
1281
1380
|
for (let e = n.length - 1; e >= 0; e--) {
|
|
1282
1381
|
let i = n[e], a = i == null ? void 0 : i.filename;
|
|
1283
|
-
if (a &&
|
|
1284
|
-
|
|
1382
|
+
if (a && $ && Q) {
|
|
1383
|
+
$[a] = t, Q[r] = [a, t];
|
|
1285
1384
|
break;
|
|
1286
1385
|
}
|
|
1287
1386
|
}
|
|
1288
1387
|
}
|
|
1289
1388
|
}
|
|
1290
1389
|
};
|
|
1291
|
-
return n && o(i, n), r && o(a, r),
|
|
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;
|
|
1390
|
+
return n && o(i, n), r && o(a, r), $;
|
|
1352
1391
|
}
|
|
1353
1392
|
//#endregion
|
|
1354
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1355
|
-
function
|
|
1393
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/utils/prepareEvent.js
|
|
1394
|
+
function Fn(e, t, n, r, i, a) {
|
|
1356
1395
|
let { normalizeDepth: o = 3, normalizeMaxBreadth: s = 1e3 } = e, c = {
|
|
1357
1396
|
...t,
|
|
1358
1397
|
event_id: t.event_id || n.event_id || N(),
|
|
1359
1398
|
timestamp: t.timestamp || P()
|
|
1360
1399
|
}, l = n.integrations || e.integrations.map((e) => e.name);
|
|
1361
|
-
|
|
1362
|
-
let u =
|
|
1400
|
+
In(c, e), zn(c, l), i && i.emit("applyFrameMetadata", t), t.type === void 0 && Ln(c, e.stackParser);
|
|
1401
|
+
let u = Vn(r, n.captureContext);
|
|
1363
1402
|
n.mechanism && Ue(c, n.mechanism);
|
|
1364
|
-
let d = i ? i.getEventProcessors() : [], f =
|
|
1365
|
-
|
|
1403
|
+
let d = i ? i.getEventProcessors() : [], f = xn(a, u), p = [...n.attachments || [], ...f.attachments];
|
|
1404
|
+
p.length && (n.attachments = p), yn(c, f);
|
|
1405
|
+
let m = [...d, ...f.eventProcessors];
|
|
1406
|
+
return (n.data && n.data.__sentry__ === !0 ? X(c) : jn(m, c, n)).then((e) => (e && Rn(e), typeof o == "number" && o > 0 ? Bn(e, o, s) : e));
|
|
1366
1407
|
}
|
|
1367
|
-
function
|
|
1408
|
+
function In(e, t) {
|
|
1368
1409
|
let { environment: n, release: r, dist: i, maxValueLength: a } = t;
|
|
1369
1410
|
e.environment = e.environment || n || "production", !e.release && r && (e.release = r), !e.dist && i && (e.dist = i);
|
|
1370
1411
|
let o = e.request;
|
|
@@ -1375,9 +1416,9 @@ function Tn(e, t) {
|
|
|
1375
1416
|
});
|
|
1376
1417
|
}
|
|
1377
1418
|
}
|
|
1378
|
-
function
|
|
1419
|
+
function Ln(e, t) {
|
|
1379
1420
|
var n;
|
|
1380
|
-
let r =
|
|
1421
|
+
let r = Pn(t);
|
|
1381
1422
|
(n = e.exception) == null || (n = n.values) == null || n.forEach((e) => {
|
|
1382
1423
|
var t;
|
|
1383
1424
|
(t = e.stacktrace) == null || (t = t.frames) == null || t.forEach((e) => {
|
|
@@ -1385,7 +1426,7 @@ function En(e, t) {
|
|
|
1385
1426
|
});
|
|
1386
1427
|
});
|
|
1387
1428
|
}
|
|
1388
|
-
function
|
|
1429
|
+
function Rn(e) {
|
|
1389
1430
|
var t;
|
|
1390
1431
|
let n = {};
|
|
1391
1432
|
if ((t = e.exception) == null || (t = t.values) == null || t.forEach((e) => {
|
|
@@ -1404,39 +1445,39 @@ function Dn(e) {
|
|
|
1404
1445
|
});
|
|
1405
1446
|
});
|
|
1406
1447
|
}
|
|
1407
|
-
function
|
|
1448
|
+
function zn(e, t) {
|
|
1408
1449
|
t.length > 0 && (e.sdk = e.sdk || {}, e.sdk.integrations = [...e.sdk.integrations || [], ...t]);
|
|
1409
1450
|
}
|
|
1410
|
-
function
|
|
1451
|
+
function Bn(e, t, n) {
|
|
1411
1452
|
var r, i;
|
|
1412
1453
|
if (!e) return null;
|
|
1413
1454
|
let a = {
|
|
1414
1455
|
...e,
|
|
1415
1456
|
...e.breadcrumbs && { breadcrumbs: e.breadcrumbs.map((e) => ({
|
|
1416
1457
|
...e,
|
|
1417
|
-
...e.data && { data:
|
|
1458
|
+
...e.data && { data: K(e.data, t, n) }
|
|
1418
1459
|
})) },
|
|
1419
|
-
...e.user && { user:
|
|
1420
|
-
...e.contexts && { contexts:
|
|
1421
|
-
...e.extra && { extra:
|
|
1460
|
+
...e.user && { user: K(e.user, t, n) },
|
|
1461
|
+
...e.contexts && { contexts: K(e.contexts, t, n) },
|
|
1462
|
+
...e.extra && { extra: K(e.extra, t, n) }
|
|
1422
1463
|
};
|
|
1423
|
-
return (r = e.contexts) != null && r.trace && a.contexts && (a.contexts.trace = e.contexts.trace, e.contexts.trace.data && (a.contexts.trace.data =
|
|
1464
|
+
return (r = e.contexts) != null && r.trace && a.contexts && (a.contexts.trace = e.contexts.trace, e.contexts.trace.data && (a.contexts.trace.data = K(e.contexts.trace.data, t, n))), e.spans && (a.spans = e.spans.map((e) => ({
|
|
1424
1465
|
...e,
|
|
1425
|
-
...e.data && { data:
|
|
1426
|
-
}))), (i = e.contexts) != null && i.flags && a.contexts && (a.contexts.flags =
|
|
1466
|
+
...e.data && { data: K(e.data, t, n) }
|
|
1467
|
+
}))), (i = e.contexts) != null && i.flags && a.contexts && (a.contexts.flags = K(e.contexts.flags, 3, n)), a;
|
|
1427
1468
|
}
|
|
1428
|
-
function
|
|
1469
|
+
function Vn(e, t) {
|
|
1429
1470
|
if (!t) return e;
|
|
1430
1471
|
let n = e ? e.clone() : new z();
|
|
1431
1472
|
return n.update(t), n;
|
|
1432
1473
|
}
|
|
1433
|
-
function
|
|
1434
|
-
if (e) return
|
|
1474
|
+
function Hn(e) {
|
|
1475
|
+
if (e) return Un(e) || Gn(e) ? { captureContext: e } : e;
|
|
1435
1476
|
}
|
|
1436
|
-
function
|
|
1477
|
+
function Un(e) {
|
|
1437
1478
|
return e instanceof z || typeof e == "function";
|
|
1438
1479
|
}
|
|
1439
|
-
var
|
|
1480
|
+
var Wn = [
|
|
1440
1481
|
"user",
|
|
1441
1482
|
"level",
|
|
1442
1483
|
"extra",
|
|
@@ -1445,51 +1486,51 @@ var Nn = [
|
|
|
1445
1486
|
"fingerprint",
|
|
1446
1487
|
"propagationContext"
|
|
1447
1488
|
];
|
|
1448
|
-
function
|
|
1449
|
-
return Object.keys(e).some((e) =>
|
|
1489
|
+
function Gn(e) {
|
|
1490
|
+
return Object.keys(e).some((e) => Wn.includes(e));
|
|
1450
1491
|
}
|
|
1451
1492
|
//#endregion
|
|
1452
|
-
//#region ../../node_modules/.pnpm/@sentry+core@10.
|
|
1453
|
-
function
|
|
1454
|
-
return H().captureException(e,
|
|
1493
|
+
//#region ../../node_modules/.pnpm/@sentry+core@10.51.0/node_modules/@sentry/core/build/esm/exports.js
|
|
1494
|
+
function Kn(e, t) {
|
|
1495
|
+
return H().captureException(e, Hn(t));
|
|
1455
1496
|
}
|
|
1456
|
-
function
|
|
1497
|
+
function qn(e, t) {
|
|
1457
1498
|
return H().captureEvent(e, t);
|
|
1458
1499
|
}
|
|
1459
|
-
function
|
|
1500
|
+
function Jn(e, t) {
|
|
1460
1501
|
U().setContext(e, t);
|
|
1461
1502
|
}
|
|
1462
|
-
function
|
|
1503
|
+
function Yn(e, t) {
|
|
1463
1504
|
U().setTag(e, t);
|
|
1464
1505
|
}
|
|
1465
|
-
function
|
|
1506
|
+
function Xn(e) {
|
|
1466
1507
|
U().setUser(e);
|
|
1467
1508
|
}
|
|
1468
|
-
function
|
|
1509
|
+
function Zn() {
|
|
1469
1510
|
return U().lastEventId();
|
|
1470
1511
|
}
|
|
1471
|
-
function
|
|
1472
|
-
let n = U(), r = H(), { userAgent: i } = t.navigator || {}, a = Ye({
|
|
1473
|
-
user: r
|
|
1512
|
+
function Qn(e) {
|
|
1513
|
+
let n = U(), { user: r } = xn(n, H()), { userAgent: i } = t.navigator || {}, a = Ye({
|
|
1514
|
+
user: r,
|
|
1474
1515
|
...i && { userAgent: i },
|
|
1475
1516
|
...e
|
|
1476
1517
|
}), o = n.getSession();
|
|
1477
|
-
return (o == null ? void 0 : o.status) === "ok" && I(o, { status: "exited" }),
|
|
1518
|
+
return (o == null ? void 0 : o.status) === "ok" && I(o, { status: "exited" }), $n(), n.setSession(a), a;
|
|
1478
1519
|
}
|
|
1479
|
-
function
|
|
1520
|
+
function $n() {
|
|
1480
1521
|
let e = U(), t = H().getSession() || e.getSession();
|
|
1481
|
-
t && Xe(t),
|
|
1522
|
+
t && Xe(t), er(), e.setSession();
|
|
1482
1523
|
}
|
|
1483
|
-
function
|
|
1524
|
+
function er() {
|
|
1484
1525
|
let e = U(), t = W(), n = e.getSession();
|
|
1485
1526
|
n && t && t.captureSession(n);
|
|
1486
1527
|
}
|
|
1487
|
-
function
|
|
1528
|
+
function tr(e = !1) {
|
|
1488
1529
|
if (e) {
|
|
1489
|
-
|
|
1530
|
+
$n();
|
|
1490
1531
|
return;
|
|
1491
1532
|
}
|
|
1492
|
-
|
|
1533
|
+
er();
|
|
1493
1534
|
}
|
|
1494
1535
|
//#endregion
|
|
1495
|
-
export {
|
|
1536
|
+
export { de as $, P as A, Pe as B, W as C, _t as D, vt as E, Ve as F, ke as G, D as H, N as I, Te as J, Oe as K, Ie as L, Ue as M, He as N, L as O, We as P, ue as Q, Fe as R, St as S, U as T, Ne as U, A as V, De as W, fe as X, Ce as Y, pe as Z, G as _, i as _t, Jn as a, xe as at, wt as b, e as bt, Qn as c, re as ct, X as d, ie as dt, ge as et, K as f, o as ft, tn as g, a as gt, rn as h, c as ht, Zn as i, he as it, F as j, I as k, Fn as l, se as lt, sn as m, v as mt, Kn as n, me as nt, Yn as o, S as ot, pn as p, l as pt, Ee as q, tr as r, C as rt, Xn as s, w as st, qn as t, T as tt, kn as u, oe as ut, Ft as v, n as vt, H as w, Ct as x, Vt as y, t as yt, Le as z };
|