@konnectio/core 4.0.70 → 4.0.72
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/{ActionField-B2nkVHpm.js → ActionField-WA78u-qt.js} +4 -4
- package/dist/ActionField-WA78u-qt.js.br +0 -0
- package/dist/{AvailabilitySkeleton-B861c-E-.js → AvailabilitySkeleton-DWAAfDci.js} +7 -7
- package/dist/AvailabilitySkeleton-DWAAfDci.js.br +0 -0
- package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-oR5hDpPN.js} +5 -5
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-oR5hDpPN.js.br +0 -0
- package/dist/{CheckoutWindow-DM8NiuXR.js → CheckoutWindow-m-KS7D5O.js} +5 -5
- package/dist/CheckoutWindow-m-KS7D5O.js.br +0 -0
- package/dist/{ErrorMessage-DHi8BQ6u.js → ErrorMessage-D8EUNIrV.js} +4 -4
- package/dist/ErrorMessage-D8EUNIrV.js.br +0 -0
- package/dist/{EventAvailabilityForm-DPn-Gce_.js → EventAvailabilityForm-BqQq-RE9.js} +25 -25
- package/dist/EventAvailabilityForm-BqQq-RE9.js.br +0 -0
- package/dist/{Field-DxsuquwZ.js → Field-D81BL1WK.js} +9 -9
- package/dist/Field-D81BL1WK.js.br +0 -0
- package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Cl6k9WH_.js} +5904 -5870
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-Cl6k9WH_.js.br +0 -0
- package/dist/{TermsOfService-D_Jn5Zg_.js → TermsOfService-CdBX8DQJ.js} +13 -13
- package/dist/TermsOfService-CdBX8DQJ.js.br +0 -0
- package/dist/{_-DvTtY1Ya.js → _-hcYFpJ0N.js} +3 -3
- package/dist/{_.vue_vue_type_style_index_0_lang-B9P9xmGD.js → _.vue_vue_type_style_index_0_lang-H94VV8Ci.js} +4 -4
- package/dist/_.vue_vue_type_style_index_0_lang-H94VV8Ci.js.br +0 -0
- package/dist/{_commonjsHelpers-zI2TZkyo.js → _commonjsHelpers-pT8Rih2H.js} +2 -2
- package/dist/_commonjsHelpers-pT8Rih2H.js.br +0 -0
- package/dist/{_sentry-release-injection-file-DvEZJp-B.js → _sentry-release-injection-file-ClTbPGwX.js} +2141 -2126
- package/dist/_sentry-release-injection-file-ClTbPGwX.js.br +0 -0
- package/dist/availability.js +40 -39
- package/dist/availability.js.br +0 -0
- package/dist/deep-link.js +2 -2
- package/dist/deep-link.js.br +0 -0
- package/dist/event.js +320 -318
- package/dist/event.js.br +0 -0
- package/dist/gift-card-validation.js +19 -18
- package/dist/gift-card-validation.js.br +0 -0
- package/dist/gift-card.js +64 -63
- package/dist/gift-card.js.br +0 -0
- package/dist/{giftCard-awGtNaxi.js → giftCard-BN6OrFR7.js} +15 -15
- package/dist/giftCard-BN6OrFR7.js.br +0 -0
- package/dist/hotel.js +1004 -980
- package/dist/hotel.js.br +0 -0
- package/dist/{masonry.plugin-BrevVGLo.js → masonry.plugin-CeLRNyLX.js} +4050 -3769
- package/dist/masonry.plugin-CeLRNyLX.js.br +0 -0
- package/dist/{mitt-CHkQwqe3.js → mitt-CMZ4E8_p.js} +177 -177
- package/dist/mitt-CMZ4E8_p.js.br +0 -0
- package/dist/polyfill.js +4675 -4611
- package/dist/polyfill.js.br +0 -0
- package/dist/sentry-DJAGqRxj.js +26 -0
- package/dist/{style-CTJOBGnG.js → style-CG3D6NF3.js} +124 -131
- package/dist/style-CG3D6NF3.js.br +0 -0
- package/dist/style.css +1 -1
- package/dist/style.css.br +0 -0
- package/dist/{tracing-1TgukAt0.js → tracing-BVguX61l.js} +185 -189
- package/dist/tracing-BVguX61l.js.br +0 -0
- package/package.json +10 -9
- package/dist/ActionField-B2nkVHpm.js.br +0 -0
- package/dist/AvailabilitySkeleton-B861c-E-.js.br +0 -0
- package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-C7LESH9d.js.br +0 -0
- package/dist/CheckoutWindow-DM8NiuXR.js.br +0 -0
- package/dist/ErrorMessage-DHi8BQ6u.js.br +0 -0
- package/dist/EventAvailabilityForm-DPn-Gce_.js.br +0 -0
- package/dist/Field-DxsuquwZ.js.br +0 -0
- package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-CvsS3MPq.js.br +0 -0
- package/dist/TermsOfService-D_Jn5Zg_.js.br +0 -0
- package/dist/_.vue_vue_type_style_index_0_lang-B9P9xmGD.js.br +0 -0
- package/dist/_commonjsHelpers-zI2TZkyo.js.br +0 -0
- package/dist/_sentry-release-injection-file-DvEZJp-B.js.br +0 -0
- package/dist/giftCard-awGtNaxi.js.br +0 -0
- package/dist/masonry.plugin-BrevVGLo.js.br +0 -0
- package/dist/mitt-CHkQwqe3.js.br +0 -0
- package/dist/style-CTJOBGnG.js.br +0 -0
- package/dist/tracing-1TgukAt0.js.br +0 -0
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
(function() {
|
|
2
2
|
try {
|
|
3
3
|
var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
|
|
4
|
-
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "
|
|
4
|
+
e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "e8b80cf4-1cbe-472e-bac0-f9ea8bc1c0c0", t._sentryDebugIdIdentifier = "sentry-dbid-e8b80cf4-1cbe-472e-bac0-f9ea8bc1c0c0");
|
|
5
5
|
} catch {
|
|
6
6
|
}
|
|
7
7
|
})();
|
|
@@ -27,13 +27,13 @@ function ye(t) {
|
|
|
27
27
|
function L(t, e) {
|
|
28
28
|
return Kt.call(t) === `[object ${e}]`;
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function mr(t) {
|
|
31
31
|
return L(t, "ErrorEvent");
|
|
32
32
|
}
|
|
33
|
-
function
|
|
33
|
+
function Sr(t) {
|
|
34
34
|
return L(t, "DOMError");
|
|
35
35
|
}
|
|
36
|
-
function
|
|
36
|
+
function yr(t) {
|
|
37
37
|
return L(t, "DOMException");
|
|
38
38
|
}
|
|
39
39
|
function q(t) {
|
|
@@ -42,7 +42,7 @@ function q(t) {
|
|
|
42
42
|
function Ee(t) {
|
|
43
43
|
return typeof t == "object" && t !== null && "__sentry_template_string__" in t && "__sentry_template_values__" in t;
|
|
44
44
|
}
|
|
45
|
-
function
|
|
45
|
+
function Er(t) {
|
|
46
46
|
return t === null || Ee(t) || typeof t != "object" && typeof t != "function";
|
|
47
47
|
}
|
|
48
48
|
function pt(t) {
|
|
@@ -76,7 +76,7 @@ function zt(t) {
|
|
|
76
76
|
function G(t, e = 0) {
|
|
77
77
|
return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function br(t, e) {
|
|
80
80
|
if (!Array.isArray(t))
|
|
81
81
|
return "";
|
|
82
82
|
const n = [];
|
|
@@ -93,10 +93,10 @@ function Tr(t, e) {
|
|
|
93
93
|
function Ae(t, e, n = !1) {
|
|
94
94
|
return q(t) ? Ie(e) ? e.test(t) : q(e) ? n ? t === e : t.includes(e) : !1 : !1;
|
|
95
95
|
}
|
|
96
|
-
function
|
|
96
|
+
function Tr(t, e = [], n = !1) {
|
|
97
97
|
return e.some((r) => Ae(t, r, n));
|
|
98
98
|
}
|
|
99
|
-
const B = "8.
|
|
99
|
+
const B = "8.25.0", h = globalThis;
|
|
100
100
|
function _t(t, e, n) {
|
|
101
101
|
const r = n || h, s = r.__SENTRY__ = r.__SENTRY__ || {}, i = s[B] = s[B] || {};
|
|
102
102
|
return i[t] || (i[t] = e());
|
|
@@ -151,17 +151,17 @@ function De(t, e) {
|
|
|
151
151
|
}
|
|
152
152
|
return r.join("");
|
|
153
153
|
}
|
|
154
|
-
function
|
|
154
|
+
function Ir() {
|
|
155
155
|
try {
|
|
156
156
|
return w.document.location.href;
|
|
157
157
|
} catch {
|
|
158
158
|
return "";
|
|
159
159
|
}
|
|
160
160
|
}
|
|
161
|
-
function
|
|
161
|
+
function Nr(t) {
|
|
162
162
|
return w.document && w.document.querySelector ? w.document.querySelector(t) : null;
|
|
163
163
|
}
|
|
164
|
-
function
|
|
164
|
+
function Ar(t) {
|
|
165
165
|
if (!w.HTMLElement)
|
|
166
166
|
return null;
|
|
167
167
|
let e = t;
|
|
@@ -179,7 +179,7 @@ function Or(t) {
|
|
|
179
179
|
}
|
|
180
180
|
return null;
|
|
181
181
|
}
|
|
182
|
-
const X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__,
|
|
182
|
+
const X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ke = "Sentry Logger ", At = [
|
|
183
183
|
"debug",
|
|
184
184
|
"info",
|
|
185
185
|
"warn",
|
|
@@ -204,7 +204,7 @@ function ht(t) {
|
|
|
204
204
|
});
|
|
205
205
|
}
|
|
206
206
|
}
|
|
207
|
-
function
|
|
207
|
+
function Ce() {
|
|
208
208
|
let t = !1;
|
|
209
209
|
const e = {
|
|
210
210
|
enable: () => {
|
|
@@ -218,7 +218,7 @@ function ke() {
|
|
|
218
218
|
return X ? At.forEach((n) => {
|
|
219
219
|
e[n] = (...r) => {
|
|
220
220
|
t && ht(() => {
|
|
221
|
-
h.console[n](`${
|
|
221
|
+
h.console[n](`${ke}[${n}]:`, ...r);
|
|
222
222
|
});
|
|
223
223
|
};
|
|
224
224
|
}) : At.forEach((n) => {
|
|
@@ -226,7 +226,7 @@ function ke() {
|
|
|
226
226
|
};
|
|
227
227
|
}), e;
|
|
228
228
|
}
|
|
229
|
-
const p =
|
|
229
|
+
const p = Ce(), $e = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
|
|
230
230
|
function we(t) {
|
|
231
231
|
return t === "http" || t === "https";
|
|
232
232
|
}
|
|
@@ -268,12 +268,12 @@ function Pe(t) {
|
|
|
268
268
|
const { port: e, projectId: n, protocol: r } = t;
|
|
269
269
|
return ["protocol", "publicKey", "host", "projectId"].find((o) => t[o] ? !1 : (p.error(`Invalid Sentry Dsn: ${o} missing`), !0)) ? !1 : n.match(/^\d+$/) ? we(r) ? e && isNaN(parseInt(e, 10)) ? (p.error(`Invalid Sentry Dsn: Invalid port ${e}`), !1) : !0 : (p.error(`Invalid Sentry Dsn: Invalid protocol ${r}`), !1) : (p.error(`Invalid Sentry Dsn: Invalid projectId ${n}`), !1);
|
|
270
270
|
}
|
|
271
|
-
function
|
|
271
|
+
function Or(t) {
|
|
272
272
|
const e = typeof t == "string" ? xe(t) : qt(t);
|
|
273
273
|
if (!(!e || !Pe(e)))
|
|
274
274
|
return e;
|
|
275
275
|
}
|
|
276
|
-
function
|
|
276
|
+
function Rr(t, e, n) {
|
|
277
277
|
if (!(e in t))
|
|
278
278
|
return;
|
|
279
279
|
const r = t[e], s = n(r);
|
|
@@ -298,7 +298,7 @@ function Me(t, e) {
|
|
|
298
298
|
} catch {
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
function
|
|
301
|
+
function Dr(t) {
|
|
302
302
|
return t.__sentry_original__;
|
|
303
303
|
}
|
|
304
304
|
function kr(t) {
|
|
@@ -339,7 +339,7 @@ function Dt(t) {
|
|
|
339
339
|
} else
|
|
340
340
|
return {};
|
|
341
341
|
}
|
|
342
|
-
function
|
|
342
|
+
function Cr(t, e = 40) {
|
|
343
343
|
const n = Object.keys(Vt(t));
|
|
344
344
|
n.sort();
|
|
345
345
|
const r = n[0];
|
|
@@ -389,7 +389,7 @@ function Le(t) {
|
|
|
389
389
|
return !0;
|
|
390
390
|
}
|
|
391
391
|
}
|
|
392
|
-
const Wt = 50, Ue = "?",
|
|
392
|
+
const Wt = 50, Ue = "?", kt = /\(error: (.*)\)/, Ct = /captureMessage|captureException/;
|
|
393
393
|
function ve(...t) {
|
|
394
394
|
const e = t.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
|
|
395
395
|
return (n, r = 0, s = 0) => {
|
|
@@ -399,7 +399,7 @@ function ve(...t) {
|
|
|
399
399
|
const u = o[a];
|
|
400
400
|
if (u.length > 1024)
|
|
401
401
|
continue;
|
|
402
|
-
const c =
|
|
402
|
+
const c = kt.test(u) ? u.replace(kt, "$1") : u;
|
|
403
403
|
if (!c.match(/\S*Error: /)) {
|
|
404
404
|
for (const f of e) {
|
|
405
405
|
const d = f(c);
|
|
@@ -415,14 +415,14 @@ function ve(...t) {
|
|
|
415
415
|
return je(i.slice(s));
|
|
416
416
|
};
|
|
417
417
|
}
|
|
418
|
-
function
|
|
418
|
+
function $r(t) {
|
|
419
419
|
return Array.isArray(t) ? ve(...t) : t;
|
|
420
420
|
}
|
|
421
421
|
function je(t) {
|
|
422
422
|
if (!t.length)
|
|
423
423
|
return [];
|
|
424
424
|
const e = Array.from(t);
|
|
425
|
-
return /sentryWrapped/.test(z(e).function || "") && e.pop(), e.reverse(),
|
|
425
|
+
return /sentryWrapped/.test(z(e).function || "") && e.pop(), e.reverse(), Ct.test(z(e).function || "") && (e.pop(), Ct.test(z(e).function || "") && e.pop()), e.slice(0, Wt).map((n) => ({
|
|
426
426
|
...n,
|
|
427
427
|
filename: n.filename || z(e).filename,
|
|
428
428
|
function: n.function || Ue
|
|
@@ -439,7 +439,7 @@ function Fe(t) {
|
|
|
439
439
|
return tt;
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
function
|
|
442
|
+
function wr(t) {
|
|
443
443
|
const e = t.exception;
|
|
444
444
|
if (e) {
|
|
445
445
|
const n = [];
|
|
@@ -463,7 +463,7 @@ function Ge() {
|
|
|
463
463
|
const e = Date.now() - t.now(), n = t.timeOrigin == null ? e : t.timeOrigin;
|
|
464
464
|
return () => (n + t.now()) / Xt;
|
|
465
465
|
}
|
|
466
|
-
const P = Ge(),
|
|
466
|
+
const P = Ge(), xr = (() => {
|
|
467
467
|
const { performance: t } = h;
|
|
468
468
|
if (!t || !t.now)
|
|
469
469
|
return;
|
|
@@ -515,14 +515,14 @@ function _() {
|
|
|
515
515
|
function Qt(t) {
|
|
516
516
|
return t.exception && t.exception.values ? t.exception.values[0] : void 0;
|
|
517
517
|
}
|
|
518
|
-
function
|
|
518
|
+
function Pr(t) {
|
|
519
519
|
const { message: e, event_id: n } = t;
|
|
520
520
|
if (e)
|
|
521
521
|
return e;
|
|
522
522
|
const r = Qt(t);
|
|
523
523
|
return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
|
|
524
524
|
}
|
|
525
|
-
function
|
|
525
|
+
function Mr(t, e, n) {
|
|
526
526
|
const r = t.exception = t.exception || {}, s = r.values = r.values || [], i = s[0] = s[0] || {};
|
|
527
527
|
i.value || (i.value = e || ""), i.type || (i.type = n || "Error");
|
|
528
528
|
}
|
|
@@ -536,7 +536,7 @@ function He(t, e) {
|
|
|
536
536
|
n.mechanism.data = i;
|
|
537
537
|
}
|
|
538
538
|
}
|
|
539
|
-
function
|
|
539
|
+
function Lr(t) {
|
|
540
540
|
if (t && t.__sentry_captured__)
|
|
541
541
|
return !0;
|
|
542
542
|
try {
|
|
@@ -644,12 +644,12 @@ var A;
|
|
|
644
644
|
const r = 2;
|
|
645
645
|
t[t.REJECTED = r] = "REJECTED";
|
|
646
646
|
})(A || (A = {}));
|
|
647
|
-
function
|
|
647
|
+
function Ur(t) {
|
|
648
648
|
return new T((e) => {
|
|
649
649
|
e(t);
|
|
650
650
|
});
|
|
651
651
|
}
|
|
652
|
-
function
|
|
652
|
+
function vr(t) {
|
|
653
653
|
return new T((e, n) => {
|
|
654
654
|
n(t);
|
|
655
655
|
});
|
|
@@ -751,7 +751,7 @@ class T {
|
|
|
751
751
|
};
|
|
752
752
|
}
|
|
753
753
|
}
|
|
754
|
-
const
|
|
754
|
+
const jr = "baggage", Zt = "sentry-", We = /^sentry-/, Xe = 8192;
|
|
755
755
|
function te(t) {
|
|
756
756
|
const e = Qe(t);
|
|
757
757
|
if (!e)
|
|
@@ -766,7 +766,7 @@ function te(t) {
|
|
|
766
766
|
if (Object.keys(n).length > 0)
|
|
767
767
|
return n;
|
|
768
768
|
}
|
|
769
|
-
function
|
|
769
|
+
function Fr(t) {
|
|
770
770
|
if (!t)
|
|
771
771
|
return;
|
|
772
772
|
const e = Object.entries(t).reduce(
|
|
@@ -813,7 +813,7 @@ function en(t) {
|
|
|
813
813
|
parentSpanId: e[2]
|
|
814
814
|
};
|
|
815
815
|
}
|
|
816
|
-
function
|
|
816
|
+
function Gr(t, e) {
|
|
817
817
|
const n = en(t), r = te(e), { traceId: s, parentSpanId: i, parentSampled: o } = n || {};
|
|
818
818
|
return n ? {
|
|
819
819
|
traceId: s || _(),
|
|
@@ -834,11 +834,11 @@ function nn(t = _(), e = _().substring(16), n) {
|
|
|
834
834
|
function St(t, e = []) {
|
|
835
835
|
return [t, e];
|
|
836
836
|
}
|
|
837
|
-
function
|
|
837
|
+
function Br(t, e) {
|
|
838
838
|
const [n, r] = t;
|
|
839
839
|
return [n, [...r, e]];
|
|
840
840
|
}
|
|
841
|
-
function
|
|
841
|
+
function Hr(t, e) {
|
|
842
842
|
const n = t[1];
|
|
843
843
|
for (const r of n) {
|
|
844
844
|
const s = r[0].type;
|
|
@@ -850,7 +850,7 @@ function Yr(t, e) {
|
|
|
850
850
|
function st(t) {
|
|
851
851
|
return h.__SENTRY__ && h.__SENTRY__.encodePolyfill ? h.__SENTRY__.encodePolyfill(t) : new TextEncoder().encode(t);
|
|
852
852
|
}
|
|
853
|
-
function
|
|
853
|
+
function Yr(t) {
|
|
854
854
|
const [e, n] = t;
|
|
855
855
|
let r = JSON.stringify(e);
|
|
856
856
|
function s(i) {
|
|
@@ -886,7 +886,7 @@ function sn(t) {
|
|
|
886
886
|
type: "span"
|
|
887
887
|
}, t];
|
|
888
888
|
}
|
|
889
|
-
function
|
|
889
|
+
function Jr(t) {
|
|
890
890
|
const e = typeof t.data == "string" ? st(t.data) : t.data;
|
|
891
891
|
return [
|
|
892
892
|
m({
|
|
@@ -916,7 +916,7 @@ const on = {
|
|
|
916
916
|
span: "span",
|
|
917
917
|
statsd: "metric_bucket"
|
|
918
918
|
};
|
|
919
|
-
function
|
|
919
|
+
function Kr(t) {
|
|
920
920
|
return on[t];
|
|
921
921
|
}
|
|
922
922
|
function ee(t) {
|
|
@@ -1183,7 +1183,7 @@ class Et {
|
|
|
1183
1183
|
update(e) {
|
|
1184
1184
|
if (!e)
|
|
1185
1185
|
return this;
|
|
1186
|
-
const n = typeof e == "function" ? e(this) : e, [r, s] = n instanceof
|
|
1186
|
+
const n = typeof e == "function" ? e(this) : e, [r, s] = n instanceof k ? [n.getScopeData(), n.getRequestSession()] : pt(n) ? [e, e.requestSession] : [], { tags: i, extra: o, user: a, contexts: u, level: c, fingerprint: f = [], propagationContext: d } = r || {};
|
|
1187
1187
|
return this._tags = { ...this._tags, ...i }, this._extra = { ...this._extra, ...o }, this._contexts = { ...this._contexts, ...u }, a && Object.keys(a).length && (this._user = a), c && (this._level = c), f.length && (this._fingerprint = f), d && (this._propagationContext = d), s && (this._requestSession = s), this;
|
|
1188
1188
|
}
|
|
1189
1189
|
/**
|
|
@@ -1320,19 +1320,19 @@ class Et {
|
|
|
1320
1320
|
}), this._notifyingListeners = !1);
|
|
1321
1321
|
}
|
|
1322
1322
|
}
|
|
1323
|
-
const
|
|
1323
|
+
const k = Et;
|
|
1324
1324
|
function pn() {
|
|
1325
|
-
return _t("defaultCurrentScope", () => new
|
|
1325
|
+
return _t("defaultCurrentScope", () => new k());
|
|
1326
1326
|
}
|
|
1327
1327
|
function ln() {
|
|
1328
|
-
return _t("defaultIsolationScope", () => new
|
|
1328
|
+
return _t("defaultIsolationScope", () => new k());
|
|
1329
1329
|
}
|
|
1330
1330
|
class _n {
|
|
1331
1331
|
constructor(e, n) {
|
|
1332
1332
|
let r;
|
|
1333
|
-
e ? r = e : r = new
|
|
1333
|
+
e ? r = e : r = new k();
|
|
1334
1334
|
let s;
|
|
1335
|
-
n ? s = n : s = new
|
|
1335
|
+
n ? s = n : s = new k(), this._stack = [{ scope: r }], this._isolationScope = s;
|
|
1336
1336
|
}
|
|
1337
1337
|
/**
|
|
1338
1338
|
* Fork a scope for the stack.
|
|
@@ -1430,7 +1430,7 @@ function v() {
|
|
|
1430
1430
|
return J(t).getIsolationScope();
|
|
1431
1431
|
}
|
|
1432
1432
|
function Sn() {
|
|
1433
|
-
return _t("globalScope", () => new
|
|
1433
|
+
return _t("globalScope", () => new k());
|
|
1434
1434
|
}
|
|
1435
1435
|
function ne(...t) {
|
|
1436
1436
|
const e = U(), n = J(e);
|
|
@@ -1453,7 +1453,7 @@ function at(t) {
|
|
|
1453
1453
|
(n[r] || (n[r] = [])).push(m(s));
|
|
1454
1454
|
return n;
|
|
1455
1455
|
}
|
|
1456
|
-
const bt = "sentry.source", re = "sentry.sample_rate", ct = "sentry.op", Y = "sentry.origin",
|
|
1456
|
+
const bt = "sentry.source", re = "sentry.sample_rate", ct = "sentry.op", Y = "sentry.origin", zr = "sentry.idle_span_finish_reason", se = "sentry.measurement_unit", ie = "sentry.measurement_value", En = "sentry.profile_id", bn = "sentry.exclusive_time", Tn = 0, oe = 1, S = 2;
|
|
1457
1457
|
function In(t) {
|
|
1458
1458
|
if (t < 400 && t >= 100)
|
|
1459
1459
|
return { code: oe };
|
|
@@ -1489,7 +1489,7 @@ function In(t) {
|
|
|
1489
1489
|
}
|
|
1490
1490
|
return { code: S, message: "unknown_error" };
|
|
1491
1491
|
}
|
|
1492
|
-
function
|
|
1492
|
+
function qr(t, e) {
|
|
1493
1493
|
t.setAttribute("http.response.status_code", e);
|
|
1494
1494
|
const n = In(e);
|
|
1495
1495
|
n.message !== "unknown_error" && t.setStatus(n);
|
|
@@ -1511,7 +1511,7 @@ function An(t) {
|
|
|
1511
1511
|
const { spanId: e, traceId: n } = t.spanContext(), { parent_span_id: r } = E(t);
|
|
1512
1512
|
return m({ parent_span_id: r, span_id: e, trace_id: n });
|
|
1513
1513
|
}
|
|
1514
|
-
function
|
|
1514
|
+
function Vr(t) {
|
|
1515
1515
|
const { traceId: e, spanId: n } = t.spanContext(), r = j(t);
|
|
1516
1516
|
return nn(e, n, r);
|
|
1517
1517
|
}
|
|
@@ -1566,20 +1566,20 @@ function ue(t) {
|
|
|
1566
1566
|
if (!(!t || t.code === Tn))
|
|
1567
1567
|
return t.code === oe ? "ok" : t.message || "unknown_error";
|
|
1568
1568
|
}
|
|
1569
|
-
const
|
|
1569
|
+
const C = "_sentryChildSpans", ut = "_sentryRootSpan";
|
|
1570
1570
|
function fe(t, e) {
|
|
1571
1571
|
const n = t[ut] || t;
|
|
1572
|
-
D(e, ut, n), t[
|
|
1572
|
+
D(e, ut, n), t[C] ? t[C].add(e) : D(t, C, /* @__PURE__ */ new Set([e]));
|
|
1573
1573
|
}
|
|
1574
|
-
function
|
|
1575
|
-
t[
|
|
1574
|
+
function Wr(t, e) {
|
|
1575
|
+
t[C] && t[C].delete(e);
|
|
1576
1576
|
}
|
|
1577
1577
|
function Dn(t) {
|
|
1578
1578
|
const e = /* @__PURE__ */ new Set();
|
|
1579
1579
|
function n(r) {
|
|
1580
1580
|
if (!e.has(r) && j(r)) {
|
|
1581
1581
|
e.add(r);
|
|
1582
|
-
const s = r[
|
|
1582
|
+
const s = r[C] ? Array.from(r[C]) : [];
|
|
1583
1583
|
for (const i of s)
|
|
1584
1584
|
n(i);
|
|
1585
1585
|
}
|
|
@@ -1594,7 +1594,7 @@ function ft() {
|
|
|
1594
1594
|
return e.getActiveSpan ? e.getActiveSpan() : V(I());
|
|
1595
1595
|
}
|
|
1596
1596
|
const de = "_sentryScope", pe = "_sentryIsolationScope";
|
|
1597
|
-
function
|
|
1597
|
+
function kn(t, e, n) {
|
|
1598
1598
|
t && (D(t, pe, n), D(t, de, e));
|
|
1599
1599
|
}
|
|
1600
1600
|
function Mt(t) {
|
|
@@ -1606,12 +1606,8 @@ function Mt(t) {
|
|
|
1606
1606
|
function le(t) {
|
|
1607
1607
|
if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__)
|
|
1608
1608
|
return !1;
|
|
1609
|
-
const e = t ||
|
|
1610
|
-
return !!
|
|
1611
|
-
}
|
|
1612
|
-
function kn() {
|
|
1613
|
-
const t = N();
|
|
1614
|
-
return t && t.getOptions();
|
|
1609
|
+
const e = N(), n = t || e && e.getOptions();
|
|
1610
|
+
return !!n && (n.enableTracing || "tracesSampleRate" in n || "tracesSampler" in n);
|
|
1615
1611
|
}
|
|
1616
1612
|
class Tt {
|
|
1617
1613
|
constructor(e = {}) {
|
|
@@ -1687,7 +1683,7 @@ const It = "production", _e = "_frozenDsc";
|
|
|
1687
1683
|
function Lt(t, e) {
|
|
1688
1684
|
D(t, _e, e);
|
|
1689
1685
|
}
|
|
1690
|
-
function
|
|
1686
|
+
function Cn(t, e) {
|
|
1691
1687
|
const n = e.getOptions(), { publicKey: r } = e.getDsn() || {}, s = m({
|
|
1692
1688
|
environment: n.environment || It,
|
|
1693
1689
|
release: n.release,
|
|
@@ -1700,7 +1696,7 @@ function Z(t) {
|
|
|
1700
1696
|
const e = N();
|
|
1701
1697
|
if (!e)
|
|
1702
1698
|
return {};
|
|
1703
|
-
const n =
|
|
1699
|
+
const n = Cn(E(t).trace_id || "", e), r = O(t), s = r[_e];
|
|
1704
1700
|
if (s)
|
|
1705
1701
|
return s;
|
|
1706
1702
|
const i = r.spanContext().traceState, o = i && i.get("sentry.dsc"), a = o && te(o);
|
|
@@ -1711,7 +1707,7 @@ function Z(t) {
|
|
|
1711
1707
|
const d = c[bt], l = u.description;
|
|
1712
1708
|
return d !== "url" && l && (n.transaction = l), n.sampled = String(j(r)), e.emit("createDsc", n, r), n;
|
|
1713
1709
|
}
|
|
1714
|
-
function
|
|
1710
|
+
function $n(t) {
|
|
1715
1711
|
if (!y) return;
|
|
1716
1712
|
const { description: e = "< unknown name >", op: n = "< unknown op >", parent_span_id: r } = E(t), { spanId: s } = t.spanContext(), i = j(t), o = O(t), a = o === t, u = `[Tracing] Starting ${i ? "sampled" : "unsampled"} ${a ? "root " : ""}span`, c = [`op: ${n}`, `name: ${e}`, `ID: ${s}`];
|
|
1717
1713
|
if (r && c.push(`parent ID: ${r}`), !a) {
|
|
@@ -1722,12 +1718,12 @@ function wn(t) {
|
|
|
1722
1718
|
${c.join(`
|
|
1723
1719
|
`)}`);
|
|
1724
1720
|
}
|
|
1725
|
-
function
|
|
1721
|
+
function wn(t) {
|
|
1726
1722
|
if (!y) return;
|
|
1727
1723
|
const { description: e = "< unknown name >", op: n = "< unknown op >" } = E(t), { spanId: r } = t.spanContext(), i = O(t) === t, o = `[Tracing] Finishing "${n}" ${i ? "root " : ""}span "${e}" with ID ${r}`;
|
|
1728
1724
|
p.log(o);
|
|
1729
1725
|
}
|
|
1730
|
-
function
|
|
1726
|
+
function xn(t) {
|
|
1731
1727
|
if (typeof t == "boolean")
|
|
1732
1728
|
return Number(t);
|
|
1733
1729
|
const e = typeof t == "string" ? parseFloat(t) : t;
|
|
@@ -1741,12 +1737,12 @@ function Pn(t) {
|
|
|
1741
1737
|
}
|
|
1742
1738
|
return e;
|
|
1743
1739
|
}
|
|
1744
|
-
function
|
|
1740
|
+
function Pn(t, e) {
|
|
1745
1741
|
if (!le(t))
|
|
1746
1742
|
return [!1];
|
|
1747
1743
|
let n;
|
|
1748
1744
|
typeof t.tracesSampler == "function" ? n = t.tracesSampler(e) : e.parentSampled !== void 0 ? n = e.parentSampled : typeof t.tracesSampleRate < "u" ? n = t.tracesSampleRate : n = 1;
|
|
1749
|
-
const r =
|
|
1745
|
+
const r = xn(n);
|
|
1750
1746
|
return r === void 0 ? (y && p.warn("[Tracing] Discarding transaction because of invalid sample rate."), [!1]) : r ? Math.random() < r ? [!0, r] : (y && p.log(
|
|
1751
1747
|
`[Tracing] Discarding transaction because it's not included in the random sample (sampling rate = ${Number(
|
|
1752
1748
|
n
|
|
@@ -1755,10 +1751,10 @@ function Mn(t, e) {
|
|
|
1755
1751
|
`[Tracing] Discarding transaction because ${typeof t.tracesSampler == "function" ? "tracesSampler returned 0 or false" : "a negative sampling decision was inherited or tracesSampleRate is set to 0"}`
|
|
1756
1752
|
), [!1, r]);
|
|
1757
1753
|
}
|
|
1758
|
-
function
|
|
1754
|
+
function Mn(t, e) {
|
|
1759
1755
|
return e && (t.sdk = t.sdk || {}, t.sdk.name = t.sdk.name || e.name, t.sdk.version = t.sdk.version || e.version, t.sdk.integrations = [...t.sdk.integrations || [], ...e.integrations || []], t.sdk.packages = [...t.sdk.packages || [], ...e.packages || []]), t;
|
|
1760
1756
|
}
|
|
1761
|
-
function
|
|
1757
|
+
function Xr(t, e, n, r) {
|
|
1762
1758
|
const s = ee(n), i = {
|
|
1763
1759
|
sent_at: (/* @__PURE__ */ new Date()).toISOString(),
|
|
1764
1760
|
...s && { sdk: s },
|
|
@@ -1766,13 +1762,13 @@ function Qr(t, e, n, r) {
|
|
|
1766
1762
|
}, o = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t.toJSON()];
|
|
1767
1763
|
return St(i, [o]);
|
|
1768
1764
|
}
|
|
1769
|
-
function
|
|
1765
|
+
function Qr(t, e, n, r) {
|
|
1770
1766
|
const s = ee(n), i = t.type && t.type !== "replay_event" ? t.type : "event";
|
|
1771
|
-
|
|
1767
|
+
Mn(t, n && n.sdk);
|
|
1772
1768
|
const o = an(t, s, r, e);
|
|
1773
1769
|
return delete t.sdkProcessingMetadata, St(o, [[{ type: i }, t]]);
|
|
1774
1770
|
}
|
|
1775
|
-
function
|
|
1771
|
+
function Ln(t, e) {
|
|
1776
1772
|
function n(f) {
|
|
1777
1773
|
return !!f.trace_id && !!f.public_key;
|
|
1778
1774
|
}
|
|
@@ -1787,7 +1783,7 @@ function Un(t, e) {
|
|
|
1787
1783
|
}
|
|
1788
1784
|
return St(o, c);
|
|
1789
1785
|
}
|
|
1790
|
-
function
|
|
1786
|
+
function Zr(t, e, n) {
|
|
1791
1787
|
const r = ft(), s = r && O(r);
|
|
1792
1788
|
s && s.addEvent(t, {
|
|
1793
1789
|
[ie]: e,
|
|
@@ -1895,7 +1891,7 @@ class Nt {
|
|
|
1895
1891
|
}
|
|
1896
1892
|
/** @inheritdoc */
|
|
1897
1893
|
end(e) {
|
|
1898
|
-
this._endTime || (this._endTime = x(e),
|
|
1894
|
+
this._endTime || (this._endTime = x(e), wn(this), this._onSpanEnded());
|
|
1899
1895
|
}
|
|
1900
1896
|
/**
|
|
1901
1897
|
* Get JSON representation of this span.
|
|
@@ -1958,7 +1954,7 @@ class Nt {
|
|
|
1958
1954
|
if (e && e.emit("spanEnd", this), !(this._isStandaloneSpan || this === O(this)))
|
|
1959
1955
|
return;
|
|
1960
1956
|
if (this._isStandaloneSpan) {
|
|
1961
|
-
this._sampled ?
|
|
1957
|
+
this._sampled ? vn(Ln([this], e)) : (y && p.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."), e && e.recordDroppedEvent("sample_rate", "span"));
|
|
1962
1958
|
return;
|
|
1963
1959
|
}
|
|
1964
1960
|
const r = this._convertSpanToTransaction();
|
|
@@ -1976,7 +1972,7 @@ class Nt {
|
|
|
1976
1972
|
y && p.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), s && s.recordDroppedEvent("sample_rate", "transaction");
|
|
1977
1973
|
return;
|
|
1978
1974
|
}
|
|
1979
|
-
const o = Dn(this).filter((d) => d !== this && !
|
|
1975
|
+
const o = Dn(this).filter((d) => d !== this && !Un(d)).map((d) => E(d)).filter(Ft), a = this._attributes[bt], u = {
|
|
1980
1976
|
contexts: {
|
|
1981
1977
|
trace: Nn(this)
|
|
1982
1978
|
},
|
|
@@ -2015,10 +2011,10 @@ function jt(t) {
|
|
|
2015
2011
|
function Ft(t) {
|
|
2016
2012
|
return !!t.start_timestamp && !!t.timestamp && !!t.span_id && !!t.trace_id;
|
|
2017
2013
|
}
|
|
2018
|
-
function
|
|
2014
|
+
function Un(t) {
|
|
2019
2015
|
return t instanceof Nt && t.isStandaloneSpan();
|
|
2020
2016
|
}
|
|
2021
|
-
function
|
|
2017
|
+
function vn(t) {
|
|
2022
2018
|
const e = N();
|
|
2023
2019
|
if (!e)
|
|
2024
2020
|
return;
|
|
@@ -2037,10 +2033,10 @@ function Gt(t) {
|
|
|
2037
2033
|
const e = ge();
|
|
2038
2034
|
if (e.startInactiveSpan)
|
|
2039
2035
|
return e.startInactiveSpan(t);
|
|
2040
|
-
const n =
|
|
2041
|
-
return (t.scope ? (o) => ne(t.scope, o) : s !== void 0 ? (o) =>
|
|
2042
|
-
const o = I(), a =
|
|
2043
|
-
return t.onlyIfParent && !a ? new Tt() :
|
|
2036
|
+
const n = Gn(t), { forceTransaction: r, parentSpan: s } = t;
|
|
2037
|
+
return (t.scope ? (o) => ne(t.scope, o) : s !== void 0 ? (o) => jn(s, o) : (o) => o())(() => {
|
|
2038
|
+
const o = I(), a = Hn(o);
|
|
2039
|
+
return t.onlyIfParent && !a ? new Tt() : Fn({
|
|
2044
2040
|
parentSpan: a,
|
|
2045
2041
|
spanArguments: n,
|
|
2046
2042
|
forceTransaction: r,
|
|
@@ -2048,11 +2044,11 @@ function Gt(t) {
|
|
|
2048
2044
|
});
|
|
2049
2045
|
});
|
|
2050
2046
|
}
|
|
2051
|
-
function
|
|
2047
|
+
function jn(t, e) {
|
|
2052
2048
|
const n = ge();
|
|
2053
2049
|
return n.withActiveSpan ? n.withActiveSpan(t, e) : ne((r) => (ot(r, t || void 0), e(r)));
|
|
2054
2050
|
}
|
|
2055
|
-
function
|
|
2051
|
+
function Fn({
|
|
2056
2052
|
parentSpan: t,
|
|
2057
2053
|
spanArguments: e,
|
|
2058
2054
|
forceTransaction: n,
|
|
@@ -2063,7 +2059,7 @@ function Gn({
|
|
|
2063
2059
|
const s = v();
|
|
2064
2060
|
let i;
|
|
2065
2061
|
if (t && !n)
|
|
2066
|
-
i =
|
|
2062
|
+
i = Bn(t, r, e), fe(t, i);
|
|
2067
2063
|
else if (t) {
|
|
2068
2064
|
const o = Z(t), { traceId: a, spanId: u } = t.spanContext(), c = j(t);
|
|
2069
2065
|
i = Bt(
|
|
@@ -2095,9 +2091,9 @@ function Gn({
|
|
|
2095
2091
|
c
|
|
2096
2092
|
), a && Lt(i, a);
|
|
2097
2093
|
}
|
|
2098
|
-
return
|
|
2094
|
+
return $n(i), kn(i, r, s), i;
|
|
2099
2095
|
}
|
|
2100
|
-
function
|
|
2096
|
+
function Gn(t) {
|
|
2101
2097
|
const n = {
|
|
2102
2098
|
isStandalone: (t.experimental || {}).standalone,
|
|
2103
2099
|
...t
|
|
@@ -2113,7 +2109,7 @@ function ge() {
|
|
|
2113
2109
|
return J(t);
|
|
2114
2110
|
}
|
|
2115
2111
|
function Bt(t, e, n) {
|
|
2116
|
-
const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[he] ? [!1] :
|
|
2112
|
+
const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[he] ? [!1] : Pn(s, {
|
|
2117
2113
|
name: i,
|
|
2118
2114
|
parentSampled: n,
|
|
2119
2115
|
attributes: o,
|
|
@@ -2131,7 +2127,7 @@ function Bt(t, e, n) {
|
|
|
2131
2127
|
});
|
|
2132
2128
|
return u !== void 0 && c.setAttribute(re, u), r && r.emit("spanStart", c), c;
|
|
2133
2129
|
}
|
|
2134
|
-
function
|
|
2130
|
+
function Bn(t, e, n) {
|
|
2135
2131
|
const { spanId: r, traceId: s } = t.spanContext(), i = e.getScopeData().sdkProcessingMetadata[he] ? !1 : j(t), o = i ? new Nt({
|
|
2136
2132
|
...n,
|
|
2137
2133
|
parentSpanId: r,
|
|
@@ -2142,7 +2138,7 @@ function Hn(t, e, n) {
|
|
|
2142
2138
|
const a = N();
|
|
2143
2139
|
return a && (a.emit("spanStart", o), n.endTimestamp && a.emit("spanEnd", o)), o;
|
|
2144
2140
|
}
|
|
2145
|
-
function
|
|
2141
|
+
function Hn(t) {
|
|
2146
2142
|
const e = V(t);
|
|
2147
2143
|
if (!e)
|
|
2148
2144
|
return;
|
|
@@ -2160,9 +2156,9 @@ function dt(t, e, n, r = 0) {
|
|
|
2160
2156
|
}
|
|
2161
2157
|
});
|
|
2162
2158
|
}
|
|
2163
|
-
function
|
|
2159
|
+
function Yn(t, e) {
|
|
2164
2160
|
const { fingerprint: n, span: r, breadcrumbs: s, sdkProcessingMetadata: i } = e;
|
|
2165
|
-
|
|
2161
|
+
Jn(t, e), r && qn(t, r), Vn(t, n), Kn(t, s), zn(t, i);
|
|
2166
2162
|
}
|
|
2167
2163
|
function Ht(t, e) {
|
|
2168
2164
|
const {
|
|
@@ -2189,7 +2185,7 @@ function F(t, e, n) {
|
|
|
2189
2185
|
Object.prototype.hasOwnProperty.call(n, r) && (t[e][r] = n[r]);
|
|
2190
2186
|
}
|
|
2191
2187
|
}
|
|
2192
|
-
function
|
|
2188
|
+
function Jn(t, e) {
|
|
2193
2189
|
const { extra: n, tags: r, user: s, contexts: i, level: o, transactionName: a } = e, u = m(n);
|
|
2194
2190
|
u && Object.keys(u).length && (t.extra = { ...u, ...t.extra });
|
|
2195
2191
|
const c = m(r);
|
|
@@ -2199,17 +2195,17 @@ function Kn(t, e) {
|
|
|
2199
2195
|
const d = m(i);
|
|
2200
2196
|
d && Object.keys(d).length && (t.contexts = { ...d, ...t.contexts }), o && (t.level = o), a && t.type !== "transaction" && (t.transaction = a);
|
|
2201
2197
|
}
|
|
2202
|
-
function
|
|
2198
|
+
function Kn(t, e) {
|
|
2203
2199
|
const n = [...t.breadcrumbs || [], ...e];
|
|
2204
2200
|
t.breadcrumbs = n.length ? n : void 0;
|
|
2205
2201
|
}
|
|
2206
|
-
function
|
|
2202
|
+
function zn(t, e) {
|
|
2207
2203
|
t.sdkProcessingMetadata = {
|
|
2208
2204
|
...t.sdkProcessingMetadata,
|
|
2209
2205
|
...e
|
|
2210
2206
|
};
|
|
2211
2207
|
}
|
|
2212
|
-
function
|
|
2208
|
+
function qn(t, e) {
|
|
2213
2209
|
t.contexts = {
|
|
2214
2210
|
trace: An(e),
|
|
2215
2211
|
...t.contexts
|
|
@@ -2220,17 +2216,17 @@ function Vn(t, e) {
|
|
|
2220
2216
|
const n = O(e), r = E(n).description;
|
|
2221
2217
|
r && !t.transaction && t.type === "transaction" && (t.transaction = r);
|
|
2222
2218
|
}
|
|
2223
|
-
function
|
|
2219
|
+
function Vn(t, e) {
|
|
2224
2220
|
t.fingerprint = t.fingerprint ? Ye(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
|
|
2225
2221
|
}
|
|
2226
|
-
function
|
|
2222
|
+
function ts(t, e, n, r, s, i) {
|
|
2227
2223
|
const { normalizeDepth: o = 3, normalizeMaxBreadth: a = 1e3 } = t, u = {
|
|
2228
2224
|
...e,
|
|
2229
2225
|
event_id: e.event_id || n.event_id || _(),
|
|
2230
2226
|
timestamp: e.timestamp || mt()
|
|
2231
2227
|
}, c = n.integrations || t.integrations.map((b) => b.name);
|
|
2232
|
-
|
|
2233
|
-
const f =
|
|
2228
|
+
Wn(u, t), Zn(u, c), s && s.emit("applyFrameMetadata", e), e.type === void 0 && Xn(u, t.stackParser);
|
|
2229
|
+
const f = er(r, n.captureContext);
|
|
2234
2230
|
n.mechanism && He(u, n.mechanism);
|
|
2235
2231
|
const d = s ? s.getEventProcessors() : [], l = Sn().getScopeData();
|
|
2236
2232
|
if (i) {
|
|
@@ -2242,15 +2238,15 @@ function es(t, e, n, r, s, i) {
|
|
|
2242
2238
|
Ht(l, b);
|
|
2243
2239
|
}
|
|
2244
2240
|
const g = [...n.attachments || [], ...l.attachments];
|
|
2245
|
-
g.length && (n.attachments = g),
|
|
2241
|
+
g.length && (n.attachments = g), Yn(u, l);
|
|
2246
2242
|
const $ = [
|
|
2247
2243
|
...d,
|
|
2248
2244
|
// Run scope event processors _after_ all other processors
|
|
2249
2245
|
...l.eventProcessors
|
|
2250
2246
|
];
|
|
2251
|
-
return dt($, u, n).then((b) => (b &&
|
|
2247
|
+
return dt($, u, n).then((b) => (b && Qn(b), typeof o == "number" && o > 0 ? tr(b, o, a) : b));
|
|
2252
2248
|
}
|
|
2253
|
-
function
|
|
2249
|
+
function Wn(t, e) {
|
|
2254
2250
|
const { environment: n, release: r, dist: s, maxValueLength: i = 250 } = e;
|
|
2255
2251
|
"environment" in t || (t.environment = "environment" in e ? n : It), t.release === void 0 && r !== void 0 && (t.release = r), t.dist === void 0 && s !== void 0 && (t.dist = s), t.message && (t.message = G(t.message, i));
|
|
2256
2252
|
const o = t.exception && t.exception.values && t.exception.values[0];
|
|
@@ -2259,7 +2255,7 @@ function Xn(t, e) {
|
|
|
2259
2255
|
a && a.url && (a.url = G(a.url, i));
|
|
2260
2256
|
}
|
|
2261
2257
|
const Yt = /* @__PURE__ */ new WeakMap();
|
|
2262
|
-
function
|
|
2258
|
+
function Xn(t, e) {
|
|
2263
2259
|
const n = h._sentryDebugIds;
|
|
2264
2260
|
if (!n)
|
|
2265
2261
|
return;
|
|
@@ -2291,7 +2287,7 @@ function Qn(t, e) {
|
|
|
2291
2287
|
} catch {
|
|
2292
2288
|
}
|
|
2293
2289
|
}
|
|
2294
|
-
function
|
|
2290
|
+
function Qn(t) {
|
|
2295
2291
|
const e = {};
|
|
2296
2292
|
try {
|
|
2297
2293
|
t.exception.values.forEach((r) => {
|
|
@@ -2313,10 +2309,10 @@ function Zn(t) {
|
|
|
2313
2309
|
});
|
|
2314
2310
|
});
|
|
2315
2311
|
}
|
|
2316
|
-
function
|
|
2312
|
+
function Zn(t, e) {
|
|
2317
2313
|
e.length > 0 && (t.sdk = t.sdk || {}, t.sdk.integrations = [...t.sdk.integrations || [], ...e]);
|
|
2318
2314
|
}
|
|
2319
|
-
function
|
|
2315
|
+
function tr(t, e, n) {
|
|
2320
2316
|
if (!t)
|
|
2321
2317
|
return null;
|
|
2322
2318
|
const r = {
|
|
@@ -2346,22 +2342,22 @@ function er(t, e, n) {
|
|
|
2346
2342
|
}
|
|
2347
2343
|
}))), r;
|
|
2348
2344
|
}
|
|
2349
|
-
function
|
|
2345
|
+
function er(t, e) {
|
|
2350
2346
|
if (!e)
|
|
2351
2347
|
return t;
|
|
2352
|
-
const n = t ? t.clone() : new
|
|
2348
|
+
const n = t ? t.clone() : new k();
|
|
2353
2349
|
return n.update(e), n;
|
|
2354
2350
|
}
|
|
2355
|
-
function
|
|
2351
|
+
function nr(t) {
|
|
2356
2352
|
if (t)
|
|
2357
|
-
return
|
|
2353
|
+
return rr(t) ? { captureContext: t } : ir(t) ? {
|
|
2358
2354
|
captureContext: t
|
|
2359
2355
|
} : t;
|
|
2360
2356
|
}
|
|
2361
|
-
function
|
|
2362
|
-
return t instanceof
|
|
2357
|
+
function rr(t) {
|
|
2358
|
+
return t instanceof k || typeof t == "function";
|
|
2363
2359
|
}
|
|
2364
|
-
const
|
|
2360
|
+
const sr = [
|
|
2365
2361
|
"user",
|
|
2366
2362
|
"level",
|
|
2367
2363
|
"extra",
|
|
@@ -2371,22 +2367,22 @@ const ir = [
|
|
|
2371
2367
|
"requestSession",
|
|
2372
2368
|
"propagationContext"
|
|
2373
2369
|
];
|
|
2374
|
-
function
|
|
2375
|
-
return Object.keys(t).some((e) =>
|
|
2370
|
+
function ir(t) {
|
|
2371
|
+
return Object.keys(t).some((e) => sr.includes(e));
|
|
2376
2372
|
}
|
|
2377
|
-
function
|
|
2378
|
-
return I().captureException(t,
|
|
2373
|
+
function or(t, e) {
|
|
2374
|
+
return I().captureException(t, nr(e));
|
|
2379
2375
|
}
|
|
2380
|
-
function
|
|
2376
|
+
function es(t, e) {
|
|
2381
2377
|
return I().captureEvent(t, e);
|
|
2382
2378
|
}
|
|
2383
|
-
function
|
|
2379
|
+
function ns(t, e) {
|
|
2384
2380
|
v().setContext(t, e);
|
|
2385
2381
|
}
|
|
2386
|
-
function
|
|
2382
|
+
function rs(t) {
|
|
2387
2383
|
v().addEventProcessor(t);
|
|
2388
2384
|
}
|
|
2389
|
-
function
|
|
2385
|
+
function ss(t) {
|
|
2390
2386
|
const e = N(), n = v(), r = I(), { release: s, environment: i = It } = e && e.getOptions() || {}, { userAgent: o } = h.navigator || {}, a = cn({
|
|
2391
2387
|
release: s,
|
|
2392
2388
|
environment: i,
|
|
@@ -2404,18 +2400,18 @@ function Se() {
|
|
|
2404
2400
|
const t = v(), e = I(), n = N(), r = e.getSession() || t.getSession();
|
|
2405
2401
|
r && n && n.captureSession(r);
|
|
2406
2402
|
}
|
|
2407
|
-
function
|
|
2403
|
+
function is(t = !1) {
|
|
2408
2404
|
if (t) {
|
|
2409
2405
|
me();
|
|
2410
2406
|
return;
|
|
2411
2407
|
}
|
|
2412
2408
|
Se();
|
|
2413
2409
|
}
|
|
2414
|
-
const
|
|
2410
|
+
const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, ur = /(?:^|[-_])(\w)/g, fr = (t) => t.replace(ur, (e) => e.toUpperCase()).replace(/[-_]/g, ""), dr = "<Root>", et = "<Anonymous>", pr = (t, e) => t.repeat(e), H = (t, e) => {
|
|
2415
2411
|
if (!t)
|
|
2416
2412
|
return et;
|
|
2417
2413
|
if (t.$root === t)
|
|
2418
|
-
return
|
|
2414
|
+
return dr;
|
|
2419
2415
|
if (!t.$options)
|
|
2420
2416
|
return et;
|
|
2421
2417
|
const n = t.$options;
|
|
@@ -2425,8 +2421,8 @@ const cr = ["activate", "mount", "update"], ur = typeof __SENTRY_DEBUG__ > "u" |
|
|
|
2425
2421
|
const i = s.match(/([^/\\]+)\.vue$/);
|
|
2426
2422
|
i && (r = i[1]);
|
|
2427
2423
|
}
|
|
2428
|
-
return (r ? `<${
|
|
2429
|
-
},
|
|
2424
|
+
return (r ? `<${fr(r)}>` : et) + (s && e !== !1 ? ` at ${s}` : "");
|
|
2425
|
+
}, lr = (t) => {
|
|
2430
2426
|
if (t && (t._isVue || t.__isVue) && t.$parent) {
|
|
2431
2427
|
const e = [];
|
|
2432
2428
|
let n = 0;
|
|
@@ -2445,23 +2441,23 @@ const cr = ["activate", "mount", "update"], ur = typeof __SENTRY_DEBUG__ > "u" |
|
|
|
2445
2441
|
found in
|
|
2446
2442
|
|
|
2447
2443
|
${e.map(
|
|
2448
|
-
(s, i) => `${(i === 0 ? "---> " :
|
|
2444
|
+
(s, i) => `${(i === 0 ? "---> " : pr(" ", 5 + i * 2)) + (Array.isArray(s) ? `${H(s[0])}... (${s[1]} recursive calls)` : H(s))}`
|
|
2449
2445
|
).join(`
|
|
2450
2446
|
`)}`;
|
|
2451
2447
|
}
|
|
2452
2448
|
return `
|
|
2453
2449
|
|
|
2454
2450
|
(found in ${H(t)})`;
|
|
2455
|
-
},
|
|
2451
|
+
}, os = (t, e) => {
|
|
2456
2452
|
const { errorHandler: n, warnHandler: r, silent: s } = t.config;
|
|
2457
2453
|
t.config.errorHandler = (i, o, a) => {
|
|
2458
|
-
const u = H(o, !1), c = o ?
|
|
2454
|
+
const u = H(o, !1), c = o ? lr(o) : "", f = {
|
|
2459
2455
|
componentName: u,
|
|
2460
2456
|
lifecycleHook: a,
|
|
2461
2457
|
trace: c
|
|
2462
2458
|
};
|
|
2463
2459
|
if (e.attachProps && o && (o.$options && o.$options.propsData ? f.propsData = o.$options.propsData : o.$props && (f.propsData = o.$props)), setTimeout(() => {
|
|
2464
|
-
|
|
2460
|
+
or(i, {
|
|
2465
2461
|
captureContext: { contexts: { vue: f } },
|
|
2466
2462
|
mechanism: { handled: !1 }
|
|
2467
2463
|
});
|
|
@@ -2472,7 +2468,7 @@ ${e.map(
|
|
|
2472
2468
|
});
|
|
2473
2469
|
}
|
|
2474
2470
|
};
|
|
2475
|
-
}, Jt = "ui.vue",
|
|
2471
|
+
}, Jt = "ui.vue", _r = {
|
|
2476
2472
|
activate: ["activated", "deactivated"],
|
|
2477
2473
|
create: ["beforeCreate", "created"],
|
|
2478
2474
|
// Vue 3
|
|
@@ -2482,17 +2478,17 @@ ${e.map(
|
|
|
2482
2478
|
mount: ["beforeMount", "mounted"],
|
|
2483
2479
|
update: ["beforeUpdate", "updated"]
|
|
2484
2480
|
};
|
|
2485
|
-
function
|
|
2481
|
+
function hr(t, e, n) {
|
|
2486
2482
|
t.$_sentryRootSpanTimer && clearTimeout(t.$_sentryRootSpanTimer), t.$_sentryRootSpanTimer = setTimeout(() => {
|
|
2487
2483
|
t.$root && t.$root.$_sentryRootSpan && (t.$root.$_sentryRootSpan.end(e), t.$root.$_sentryRootSpan = void 0);
|
|
2488
2484
|
}, n);
|
|
2489
2485
|
}
|
|
2490
|
-
const
|
|
2491
|
-
const e = (t.hooks || []).concat(
|
|
2486
|
+
const as = (t) => {
|
|
2487
|
+
const e = (t.hooks || []).concat(ar).filter((r, s, i) => i.indexOf(r) === s), n = {};
|
|
2492
2488
|
for (const r of e) {
|
|
2493
|
-
const s =
|
|
2489
|
+
const s = _r[r];
|
|
2494
2490
|
if (!s) {
|
|
2495
|
-
|
|
2491
|
+
cr && p.warn(`Unknown hook: ${r}`);
|
|
2496
2492
|
continue;
|
|
2497
2493
|
}
|
|
2498
2494
|
for (const i of s)
|
|
@@ -2521,7 +2517,7 @@ const cs = (t) => {
|
|
|
2521
2517
|
} else {
|
|
2522
2518
|
const c = this.$_sentrySpans[r];
|
|
2523
2519
|
if (!c) return;
|
|
2524
|
-
c.end(),
|
|
2520
|
+
c.end(), hr(this, P(), t.timeout);
|
|
2525
2521
|
}
|
|
2526
2522
|
};
|
|
2527
2523
|
}
|
|
@@ -2529,98 +2525,98 @@ const cs = (t) => {
|
|
|
2529
2525
|
};
|
|
2530
2526
|
export {
|
|
2531
2527
|
Ee as $,
|
|
2532
|
-
|
|
2533
|
-
|
|
2528
|
+
zr as A,
|
|
2529
|
+
Wr as B,
|
|
2534
2530
|
At as C,
|
|
2535
2531
|
X as D,
|
|
2536
2532
|
Gt as E,
|
|
2537
2533
|
kr as F,
|
|
2538
2534
|
h as G,
|
|
2539
2535
|
Ye as H,
|
|
2540
|
-
|
|
2536
|
+
Or as I,
|
|
2541
2537
|
_ as J,
|
|
2542
|
-
|
|
2543
|
-
|
|
2538
|
+
Lr as K,
|
|
2539
|
+
Er as L,
|
|
2544
2540
|
Q as M,
|
|
2545
|
-
|
|
2546
|
-
|
|
2547
|
-
|
|
2548
|
-
|
|
2549
|
-
|
|
2541
|
+
Qr as N,
|
|
2542
|
+
Br as O,
|
|
2543
|
+
Jr as P,
|
|
2544
|
+
Xr as Q,
|
|
2545
|
+
ts as R,
|
|
2550
2546
|
T as S,
|
|
2551
2547
|
m as T,
|
|
2552
|
-
|
|
2548
|
+
Cn as U,
|
|
2553
2549
|
v as V,
|
|
2554
|
-
|
|
2550
|
+
xn as W,
|
|
2555
2551
|
gt as X,
|
|
2556
2552
|
lt as Y,
|
|
2557
2553
|
pt as Z,
|
|
2558
2554
|
ot as _,
|
|
2559
|
-
|
|
2555
|
+
os as a,
|
|
2560
2556
|
ht as a0,
|
|
2561
|
-
|
|
2562
|
-
|
|
2563
|
-
|
|
2557
|
+
Hr as a1,
|
|
2558
|
+
Kr as a2,
|
|
2559
|
+
Yr as a3,
|
|
2564
2560
|
B as a4,
|
|
2565
|
-
|
|
2566
|
-
|
|
2567
|
-
|
|
2568
|
-
|
|
2561
|
+
Dr as a5,
|
|
2562
|
+
Pr as a6,
|
|
2563
|
+
Tr as a7,
|
|
2564
|
+
wr as a8,
|
|
2569
2565
|
Y as a9,
|
|
2570
2566
|
ie as aA,
|
|
2571
2567
|
ve as aB,
|
|
2572
2568
|
Ue as aC,
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2569
|
+
br as aD,
|
|
2570
|
+
es as aE,
|
|
2571
|
+
Ir as aF,
|
|
2572
|
+
$r as aG,
|
|
2573
|
+
ss as aH,
|
|
2574
|
+
is as aI,
|
|
2579
2575
|
bt as aJ,
|
|
2580
|
-
|
|
2581
|
-
|
|
2576
|
+
rs as aK,
|
|
2577
|
+
ns as aL,
|
|
2582
2578
|
R as aM,
|
|
2583
2579
|
an as aN,
|
|
2584
2580
|
ee as aO,
|
|
2585
|
-
|
|
2581
|
+
Gr as aP,
|
|
2586
2582
|
j as aQ,
|
|
2587
|
-
|
|
2583
|
+
Nr as aR,
|
|
2588
2584
|
wt as aS,
|
|
2589
|
-
|
|
2590
|
-
|
|
2585
|
+
cr as aT,
|
|
2586
|
+
ar as aU,
|
|
2591
2587
|
ct as aa,
|
|
2592
|
-
|
|
2588
|
+
Vr as ab,
|
|
2593
2589
|
nn as ac,
|
|
2594
|
-
|
|
2590
|
+
Fr as ad,
|
|
2595
2591
|
Z as ae,
|
|
2596
|
-
|
|
2597
|
-
|
|
2592
|
+
jr as af,
|
|
2593
|
+
qr as ag,
|
|
2598
2594
|
Me as ah,
|
|
2599
2595
|
ne as ai,
|
|
2600
|
-
|
|
2596
|
+
Mr as aj,
|
|
2601
2597
|
He as ak,
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
|
|
2605
|
-
|
|
2598
|
+
or as al,
|
|
2599
|
+
mr as am,
|
|
2600
|
+
Sr as an,
|
|
2601
|
+
yr as ao,
|
|
2606
2602
|
be as ap,
|
|
2607
2603
|
Je as aq,
|
|
2608
|
-
|
|
2609
|
-
|
|
2610
|
-
|
|
2604
|
+
Cr as ar,
|
|
2605
|
+
jn as as,
|
|
2606
|
+
xr as at,
|
|
2611
2607
|
Re as au,
|
|
2612
|
-
|
|
2613
|
-
|
|
2608
|
+
Ar as av,
|
|
2609
|
+
Zr as aw,
|
|
2614
2610
|
q as ax,
|
|
2615
2611
|
bn as ay,
|
|
2616
2612
|
se as az,
|
|
2617
2613
|
P as b,
|
|
2618
|
-
|
|
2614
|
+
as as c,
|
|
2619
2615
|
ye as d,
|
|
2620
2616
|
D as e,
|
|
2621
|
-
|
|
2617
|
+
Rr as f,
|
|
2622
2618
|
Fe as g,
|
|
2623
|
-
|
|
2619
|
+
Ur as h,
|
|
2624
2620
|
W as i,
|
|
2625
2621
|
St as j,
|
|
2626
2622
|
mt as k,
|
|
@@ -2630,7 +2626,7 @@ export {
|
|
|
2630
2626
|
Ot as o,
|
|
2631
2627
|
y as p,
|
|
2632
2628
|
S as q,
|
|
2633
|
-
|
|
2629
|
+
vr as r,
|
|
2634
2630
|
N as s,
|
|
2635
2631
|
G as t,
|
|
2636
2632
|
le as u,
|
|
@@ -2640,4 +2636,4 @@ export {
|
|
|
2640
2636
|
Dn as y,
|
|
2641
2637
|
E as z
|
|
2642
2638
|
};
|
|
2643
|
-
//# sourceMappingURL=tracing-
|
|
2639
|
+
//# sourceMappingURL=tracing-BVguX61l.js.map
|