@konnectio/core 4.0.63 → 4.0.64

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.
Files changed (72) hide show
  1. package/dist/{ActionField-3MggPKk9.js → ActionField-D28Pe5Bb.js} +33 -25
  2. package/dist/ActionField-D28Pe5Bb.js.br +0 -0
  3. package/dist/{AvailabilitySkeleton-DSgC6hn3.js → AvailabilitySkeleton-BGEhEqa-.js} +123 -115
  4. package/dist/AvailabilitySkeleton-BGEhEqa-.js.br +0 -0
  5. package/dist/{AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js → AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js} +1089 -1081
  6. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CFzvon5m.js.br +0 -0
  7. package/dist/{CheckoutWindow-DolJgk40.js → CheckoutWindow-Cv7p0DrF.js} +174 -166
  8. package/dist/CheckoutWindow-Cv7p0DrF.js.br +0 -0
  9. package/dist/{ErrorMessage-BksKCxAq.js → ErrorMessage-T11Ou3eh.js} +24 -16
  10. package/dist/ErrorMessage-T11Ou3eh.js.br +0 -0
  11. package/dist/EventAvailabilityForm-DeqQKdKV.js +125 -0
  12. package/dist/EventAvailabilityForm-DeqQKdKV.js.br +0 -0
  13. package/dist/Field-DcoRYqr8.js +58 -0
  14. package/dist/Field-DcoRYqr8.js.br +0 -0
  15. package/dist/{Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js → Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js} +2031 -2022
  16. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B53ZPSma.js.br +0 -0
  17. package/dist/TermsOfService-CL0zaNw_.js +44 -0
  18. package/dist/TermsOfService-CL0zaNw_.js.br +0 -0
  19. package/dist/_-C5tf0vwv.js +20 -0
  20. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js +77 -0
  21. package/dist/_.vue_vue_type_style_index_0_lang-BWAizmh6.js.br +0 -0
  22. package/dist/{_commonjsHelpers-DEK47QeC.js → _commonjsHelpers-BeCRh3Xf.js} +618 -558
  23. package/dist/_commonjsHelpers-BeCRh3Xf.js.br +0 -0
  24. package/dist/{_sentry-release-injection-file-DEszgcWK.js → _sentry-release-injection-file-CY9ljBue.js} +1643 -1635
  25. package/dist/_sentry-release-injection-file-CY9ljBue.js.br +0 -0
  26. package/dist/availability.js +67 -59
  27. package/dist/availability.js.br +0 -0
  28. package/dist/deep-link.js +29 -21
  29. package/dist/deep-link.js.br +0 -0
  30. package/dist/event.js +260 -252
  31. package/dist/event.js.br +0 -0
  32. package/dist/gift-card-validation.js +71 -63
  33. package/dist/gift-card-validation.js.br +0 -0
  34. package/dist/gift-card.js +137 -129
  35. package/dist/gift-card.js.br +0 -0
  36. package/dist/giftCard-CHf9cbmB.js +134 -0
  37. package/dist/giftCard-CHf9cbmB.js.br +0 -0
  38. package/dist/hotel.js +812 -803
  39. package/dist/hotel.js.br +0 -0
  40. package/dist/{masonry.plugin-GGoTX7a7.js → masonry.plugin-q1wqMEhq.js} +860 -852
  41. package/dist/masonry.plugin-q1wqMEhq.js.br +0 -0
  42. package/dist/{mitt-DnPlcQNp.js → mitt-CZC0Vuw7.js} +505 -497
  43. package/dist/mitt-CZC0Vuw7.js.br +0 -0
  44. package/dist/polyfill.js +6470 -6259
  45. package/dist/polyfill.js.br +0 -0
  46. package/dist/{style-2RYcVxT9.js → style-Di3bMYae.js} +392 -384
  47. package/dist/style-Di3bMYae.js.br +0 -0
  48. package/dist/style.css +1 -1
  49. package/dist/style.css.br +0 -0
  50. package/package.json +8 -8
  51. package/dist/ActionField-3MggPKk9.js.br +0 -0
  52. package/dist/AvailabilitySkeleton-DSgC6hn3.js.br +0 -0
  53. package/dist/AvailabilitySkeleton.vue_vue_type_style_index_0_scoped_17762b9b_lang-CnYjbggZ.js.br +0 -0
  54. package/dist/CheckoutWindow-DolJgk40.js.br +0 -0
  55. package/dist/ErrorMessage-BksKCxAq.js.br +0 -0
  56. package/dist/EventAvailabilityForm-DZljldrC.js +0 -117
  57. package/dist/EventAvailabilityForm-DZljldrC.js.br +0 -0
  58. package/dist/Field-DGi_AnA6.js +0 -50
  59. package/dist/Field-DGi_AnA6.js.br +0 -0
  60. package/dist/Field.vue_vue_type_style_index_0_scoped_992f78a1_lang-B7IfVdWJ.js.br +0 -0
  61. package/dist/TermsOfService-LDUTInOo.js +0 -36
  62. package/dist/TermsOfService-LDUTInOo.js.br +0 -0
  63. package/dist/_-CBEOFztf.js +0 -12
  64. package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js +0 -69
  65. package/dist/_.vue_vue_type_style_index_0_lang-DjuzMOwH.js.br +0 -0
  66. package/dist/_commonjsHelpers-DEK47QeC.js.br +0 -0
  67. package/dist/_sentry-release-injection-file-DEszgcWK.js.br +0 -0
  68. package/dist/giftCard-DLrIdehA.js +0 -126
  69. package/dist/giftCard-DLrIdehA.js.br +0 -0
  70. package/dist/masonry.plugin-GGoTX7a7.js.br +0 -0
  71. package/dist/mitt-DnPlcQNp.js.br +0 -0
  72. package/dist/style-2RYcVxT9.js.br +0 -0
@@ -1,101 +1,109 @@
1
- import "./_sentry-release-injection-file-DEszgcWK.js";
1
+ import "./_sentry-release-injection-file-CY9ljBue.js";
2
2
  (function() {
3
3
  try {
4
4
  var t = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, e = new Error().stack;
5
- e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "f40c230a-78da-483f-b571-a8ec8890deef", t._sentryDebugIdIdentifier = "sentry-dbid-f40c230a-78da-483f-b571-a8ec8890deef");
5
+ e && (t._sentryDebugIds = t._sentryDebugIds || {}, t._sentryDebugIds[e] = "8fe9bcc8-751e-477e-bdcc-3549a0c77e5a", t._sentryDebugIdIdentifier = "sentry-dbid-8fe9bcc8-751e-477e-bdcc-3549a0c77e5a");
6
6
  } catch {
7
7
  }
8
8
  })();
9
- const Jt = Object.prototype.toString;
10
- function Se(t) {
11
- switch (Jt.call(t)) {
9
+ {
10
+ var K = typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
11
+ K._sentryModuleMetadata = K._sentryModuleMetadata || {}, K._sentryModuleMetadata[new Error().stack] = Object.assign(
12
+ {},
13
+ K._sentryModuleMetadata[new Error().stack],
14
+ { "_sentryBundlerPluginAppKey:konnectio-frontend-core": !0 }
15
+ );
16
+ }
17
+ const Kt = Object.prototype.toString;
18
+ function ye(t) {
19
+ switch (Kt.call(t)) {
12
20
  case "[object Error]":
13
21
  case "[object Exception]":
14
22
  case "[object DOMException]":
15
23
  return !0;
16
24
  default:
17
- return V(t, Error);
25
+ return W(t, Error);
18
26
  }
19
27
  }
20
28
  function L(t, e) {
21
- return Jt.call(t) === `[object ${e}]`;
29
+ return Kt.call(t) === `[object ${e}]`;
22
30
  }
23
- function Sr(t) {
31
+ function yr(t) {
24
32
  return L(t, "ErrorEvent");
25
33
  }
26
- function yr(t) {
34
+ function Er(t) {
27
35
  return L(t, "DOMError");
28
36
  }
29
- function Er(t) {
37
+ function br(t) {
30
38
  return L(t, "DOMException");
31
39
  }
32
- function z(t) {
40
+ function q(t) {
33
41
  return L(t, "String");
34
42
  }
35
- function ye(t) {
43
+ function Ee(t) {
36
44
  return typeof t == "object" && t !== null && "__sentry_template_string__" in t && "__sentry_template_values__" in t;
37
45
  }
38
- function br(t) {
39
- return t === null || ye(t) || typeof t != "object" && typeof t != "function";
46
+ function Tr(t) {
47
+ return t === null || Ee(t) || typeof t != "object" && typeof t != "function";
40
48
  }
41
- function dt(t) {
49
+ function pt(t) {
42
50
  return L(t, "Object");
43
51
  }
44
- function Ee(t) {
45
- return typeof Event < "u" && V(t, Event);
46
- }
47
52
  function be(t) {
48
- return typeof Element < "u" && V(t, Element);
53
+ return typeof Event < "u" && W(t, Event);
49
54
  }
50
55
  function Te(t) {
56
+ return typeof Element < "u" && W(t, Element);
57
+ }
58
+ function Ie(t) {
51
59
  return L(t, "RegExp");
52
60
  }
53
- function pt(t) {
61
+ function lt(t) {
54
62
  return !!(t && t.then && typeof t.then == "function");
55
63
  }
56
- function Ie(t) {
57
- return dt(t) && "nativeEvent" in t && "preventDefault" in t && "stopPropagation" in t;
64
+ function Ne(t) {
65
+ return pt(t) && "nativeEvent" in t && "preventDefault" in t && "stopPropagation" in t;
58
66
  }
59
- function V(t, e) {
67
+ function W(t, e) {
60
68
  try {
61
69
  return t instanceof e;
62
70
  } catch {
63
71
  return !1;
64
72
  }
65
73
  }
66
- function Kt(t) {
74
+ function zt(t) {
67
75
  return !!(typeof t == "object" && t !== null && (t.__isVue || t._isVue));
68
76
  }
69
77
  function G(t, e = 0) {
70
78
  return typeof t != "string" || e === 0 || t.length <= e ? t : `${t.slice(0, e)}...`;
71
79
  }
72
- function Tr(t, e) {
80
+ function Ir(t, e) {
73
81
  if (!Array.isArray(t))
74
82
  return "";
75
83
  const n = [];
76
84
  for (let r = 0; r < t.length; r++) {
77
85
  const s = t[r];
78
86
  try {
79
- Kt(s) ? n.push("[VueViewModel]") : n.push(String(s));
87
+ zt(s) ? n.push("[VueViewModel]") : n.push(String(s));
80
88
  } catch {
81
89
  n.push("[value cannot be serialized]");
82
90
  }
83
91
  }
84
92
  return n.join(e);
85
93
  }
86
- function Ne(t, e, n = !1) {
87
- return z(t) ? Te(e) ? e.test(t) : z(e) ? n ? t === e : t.includes(e) : !1 : !1;
94
+ function Ae(t, e, n = !1) {
95
+ return q(t) ? Ie(e) ? e.test(t) : q(e) ? n ? t === e : t.includes(e) : !1 : !1;
88
96
  }
89
- function Ir(t, e = [], n = !1) {
90
- return e.some((r) => Ne(t, r, n));
97
+ function Nr(t, e = [], n = !1) {
98
+ return e.some((r) => Ae(t, r, n));
91
99
  }
92
- const B = "8.14.0", h = globalThis;
93
- function lt(t, e, n) {
100
+ const B = "8.19.0", h = globalThis;
101
+ function _t(t, e, n) {
94
102
  const r = n || h, s = r.__SENTRY__ = r.__SENTRY__ || {}, i = s[B] = s[B] || {};
95
103
  return i[t] || (i[t] = e());
96
104
  }
97
- const w = h, Ae = 80;
98
- function Oe(t, e = {}) {
105
+ const $ = h, Oe = 80;
106
+ function Re(t, e = {}) {
99
107
  if (!t)
100
108
  return "<unknown>";
101
109
  try {
@@ -104,19 +112,19 @@ function Oe(t, e = {}) {
104
112
  let i = 0, o = 0;
105
113
  const a = " > ", u = a.length;
106
114
  let c;
107
- const f = Array.isArray(e) ? e : e.keyAttrs, d = !Array.isArray(e) && e.maxStringLength || Ae;
108
- for (; n && i++ < r && (c = Re(n, f), !(c === "html" || i > 1 && o + s.length * u + c.length >= d)); )
115
+ const f = Array.isArray(e) ? e : e.keyAttrs, d = !Array.isArray(e) && e.maxStringLength || Oe;
116
+ for (; n && i++ < r && (c = De(n, f), !(c === "html" || i > 1 && o + s.length * u + c.length >= d)); )
109
117
  s.push(c), o += c.length, n = n.parentNode;
110
118
  return s.reverse().join(a);
111
119
  } catch {
112
120
  return "<unknown>";
113
121
  }
114
122
  }
115
- function Re(t, e) {
123
+ function De(t, e) {
116
124
  const n = t, r = [];
117
125
  if (!n || !n.tagName)
118
126
  return "";
119
- if (w.HTMLElement && n instanceof HTMLElement && n.dataset) {
127
+ if ($.HTMLElement && n instanceof HTMLElement && n.dataset) {
120
128
  if (n.dataset.sentryComponent)
121
129
  return n.dataset.sentryComponent;
122
130
  if (n.dataset.sentryElement)
@@ -131,7 +139,7 @@ function Re(t, e) {
131
139
  else {
132
140
  n.id && r.push(`#${n.id}`);
133
141
  const o = n.className;
134
- if (o && z(o)) {
142
+ if (o && q(o)) {
135
143
  const a = o.split(/\s+/);
136
144
  for (const u of a)
137
145
  r.push(`.${u}`);
@@ -144,18 +152,18 @@ function Re(t, e) {
144
152
  }
145
153
  return r.join("");
146
154
  }
147
- function Nr() {
155
+ function Ar() {
148
156
  try {
149
- return w.document.location.href;
157
+ return $.document.location.href;
150
158
  } catch {
151
159
  return "";
152
160
  }
153
161
  }
154
- function Ar(t) {
155
- return w.document && w.document.querySelector ? w.document.querySelector(t) : null;
156
- }
157
162
  function Or(t) {
158
- if (!w.HTMLElement)
163
+ return $.document && $.document.querySelector ? $.document.querySelector(t) : null;
164
+ }
165
+ function Rr(t) {
166
+ if (!$.HTMLElement)
159
167
  return null;
160
168
  let e = t;
161
169
  const n = 5;
@@ -172,7 +180,7 @@ function Or(t) {
172
180
  }
173
181
  return null;
174
182
  }
175
- const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, De = "Sentry Logger ", Nt = [
183
+ const X = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, Ce = "Sentry Logger ", At = [
176
184
  "debug",
177
185
  "info",
178
186
  "warn",
@@ -180,13 +188,13 @@ const W = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, De = "Sentry Logger
180
188
  "log",
181
189
  "assert",
182
190
  "trace"
183
- ], At = {};
184
- function _t(t) {
191
+ ], Ot = {};
192
+ function ht(t) {
185
193
  if (!("console" in h))
186
194
  return t();
187
- const e = h.console, n = {}, r = Object.keys(At);
195
+ const e = h.console, n = {}, r = Object.keys(Ot);
188
196
  r.forEach((s) => {
189
- const i = At[s];
197
+ const i = Ot[s];
190
198
  n[s] = e[s], e[s] = i;
191
199
  });
192
200
  try {
@@ -197,7 +205,7 @@ function _t(t) {
197
205
  });
198
206
  }
199
207
  }
200
- function Ce() {
208
+ function ke() {
201
209
  let t = !1;
202
210
  const e = {
203
211
  enable: () => {
@@ -208,29 +216,29 @@ function Ce() {
208
216
  },
209
217
  isEnabled: () => t
210
218
  };
211
- return W ? Nt.forEach((n) => {
219
+ return X ? At.forEach((n) => {
212
220
  e[n] = (...r) => {
213
- t && _t(() => {
214
- h.console[n](`${De}[${n}]:`, ...r);
221
+ t && ht(() => {
222
+ h.console[n](`${Ce}[${n}]:`, ...r);
215
223
  });
216
224
  };
217
- }) : Nt.forEach((n) => {
225
+ }) : At.forEach((n) => {
218
226
  e[n] = () => {
219
227
  };
220
228
  }), e;
221
229
  }
222
- const p = Ce(), ke = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
230
+ const p = ke(), we = /^(?:(\w+):)\/\/(?:(\w+)(?::(\w+)?)?@)([\w.-]+)(?::(\d+))?\/(.+)/;
223
231
  function $e(t) {
224
232
  return t === "http" || t === "https";
225
233
  }
226
- function ht(t, e = !1) {
234
+ function gt(t, e = !1) {
227
235
  const { host: n, path: r, pass: s, port: i, projectId: o, protocol: a, publicKey: u } = t;
228
236
  return `${a}://${u}${e && s ? `:${s}` : ""}@${n}${i ? `:${i}` : ""}/${r && `${r}/`}${o}`;
229
237
  }
230
- function we(t) {
231
- const e = ke.exec(t);
238
+ function xe(t) {
239
+ const e = we.exec(t);
232
240
  if (!e) {
233
- _t(() => {
241
+ ht(() => {
234
242
  console.error(`Invalid Sentry Dsn: ${t}`);
235
243
  });
236
244
  return;
@@ -242,9 +250,9 @@ function we(t) {
242
250
  const d = c.match(/^\d+/);
243
251
  d && (c = d[0]);
244
252
  }
245
- return zt({ host: i, pass: s, path: u, projectId: c, port: o, protocol: n, publicKey: r });
253
+ return qt({ host: i, pass: s, path: u, projectId: c, port: o, protocol: n, publicKey: r });
246
254
  }
247
- function zt(t) {
255
+ function qt(t) {
248
256
  return {
249
257
  protocol: t.protocol,
250
258
  publicKey: t.publicKey || "",
@@ -256,21 +264,21 @@ function zt(t) {
256
264
  };
257
265
  }
258
266
  function Pe(t) {
259
- if (!W)
267
+ if (!X)
260
268
  return !0;
261
269
  const { port: e, projectId: n, protocol: r } = t;
262
270
  return ["protocol", "publicKey", "host", "projectId"].find((o) => t[o] ? !1 : (p.error(`Invalid Sentry Dsn: ${o} missing`), !0)) ? !1 : n.match(/^\d+$/) ? $e(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);
263
271
  }
264
- function Rr(t) {
265
- const e = typeof t == "string" ? we(t) : zt(t);
272
+ function Dr(t) {
273
+ const e = typeof t == "string" ? xe(t) : qt(t);
266
274
  if (!(!e || !Pe(e)))
267
275
  return e;
268
276
  }
269
- function Dr(t, e, n) {
277
+ function Cr(t, e, n) {
270
278
  if (!(e in t))
271
279
  return;
272
280
  const r = t[e], s = n(r);
273
- typeof s == "function" && xe(s, r), t[e] = s;
281
+ typeof s == "function" && Me(s, r), t[e] = s;
274
282
  }
275
283
  function D(t, e, n) {
276
284
  try {
@@ -281,49 +289,49 @@ function D(t, e, n) {
281
289
  configurable: !0
282
290
  });
283
291
  } catch {
284
- W && p.log(`Failed to add non-enumerable property "${e}" to object`, t);
292
+ X && p.log(`Failed to add non-enumerable property "${e}" to object`, t);
285
293
  }
286
294
  }
287
- function xe(t, e) {
295
+ function Me(t, e) {
288
296
  try {
289
297
  const n = e.prototype || {};
290
298
  t.prototype = e.prototype = n, D(t, "__sentry_original__", e);
291
299
  } catch {
292
300
  }
293
301
  }
294
- function Cr(t) {
302
+ function kr(t) {
295
303
  return t.__sentry_original__;
296
304
  }
297
- function kr(t) {
305
+ function wr(t) {
298
306
  return Object.keys(t).map((e) => `${encodeURIComponent(e)}=${encodeURIComponent(t[e])}`).join("&");
299
307
  }
300
- function qt(t) {
301
- if (Se(t))
308
+ function Vt(t) {
309
+ if (ye(t))
302
310
  return {
303
311
  message: t.message,
304
312
  name: t.name,
305
313
  stack: t.stack,
306
- ...Rt(t)
314
+ ...Dt(t)
307
315
  };
308
- if (Ee(t)) {
316
+ if (be(t)) {
309
317
  const e = {
310
318
  type: t.type,
311
- target: Ot(t.target),
312
- currentTarget: Ot(t.currentTarget),
313
- ...Rt(t)
319
+ target: Rt(t.target),
320
+ currentTarget: Rt(t.currentTarget),
321
+ ...Dt(t)
314
322
  };
315
- return typeof CustomEvent < "u" && V(t, CustomEvent) && (e.detail = t.detail), e;
323
+ return typeof CustomEvent < "u" && W(t, CustomEvent) && (e.detail = t.detail), e;
316
324
  } else
317
325
  return t;
318
326
  }
319
- function Ot(t) {
327
+ function Rt(t) {
320
328
  try {
321
- return be(t) ? Oe(t) : Object.prototype.toString.call(t);
329
+ return Te(t) ? Re(t) : Object.prototype.toString.call(t);
322
330
  } catch {
323
331
  return "<unknown>";
324
332
  }
325
333
  }
326
- function Rt(t) {
334
+ function Dt(t) {
327
335
  if (typeof t == "object" && t !== null) {
328
336
  const e = {};
329
337
  for (const n in t)
@@ -333,7 +341,7 @@ function Rt(t) {
333
341
  return {};
334
342
  }
335
343
  function $r(t, e = 40) {
336
- const n = Object.keys(qt(t));
344
+ const n = Object.keys(Vt(t));
337
345
  n.sort();
338
346
  const r = n[0];
339
347
  if (!r)
@@ -348,17 +356,17 @@ function $r(t, e = 40) {
348
356
  return "";
349
357
  }
350
358
  function m(t) {
351
- return et(t, /* @__PURE__ */ new Map());
359
+ return nt(t, /* @__PURE__ */ new Map());
352
360
  }
353
- function et(t, e) {
354
- if (Me(t)) {
361
+ function nt(t, e) {
362
+ if (Le(t)) {
355
363
  const n = e.get(t);
356
364
  if (n !== void 0)
357
365
  return n;
358
366
  const r = {};
359
367
  e.set(t, r);
360
368
  for (const s of Object.keys(t))
361
- typeof t[s] < "u" && (r[s] = et(t[s], e));
369
+ typeof t[s] < "u" && (r[s] = nt(t[s], e));
362
370
  return r;
363
371
  }
364
372
  if (Array.isArray(t)) {
@@ -367,13 +375,13 @@ function et(t, e) {
367
375
  return n;
368
376
  const r = [];
369
377
  return e.set(t, r), t.forEach((s) => {
370
- r.push(et(s, e));
378
+ r.push(nt(s, e));
371
379
  }), r;
372
380
  }
373
381
  return t;
374
382
  }
375
- function Me(t) {
376
- if (!dt(t))
383
+ function Le(t) {
384
+ if (!pt(t))
377
385
  return !1;
378
386
  try {
379
387
  const e = Object.getPrototypeOf(t).constructor.name;
@@ -382,8 +390,8 @@ function Me(t) {
382
390
  return !0;
383
391
  }
384
392
  }
385
- const Vt = 50, Le = "?", Dt = /\(error: (.*)\)/, Ct = /captureMessage|captureException/;
386
- function Ue(...t) {
393
+ const Wt = 50, Ue = "?", Ct = /\(error: (.*)\)/, kt = /captureMessage|captureException/;
394
+ function je(...t) {
387
395
  const e = t.sort((n, r) => n[0] - r[0]).map((n) => n[1]);
388
396
  return (n, r = 0, s = 0) => {
389
397
  const i = [], o = n.split(`
@@ -392,7 +400,7 @@ function Ue(...t) {
392
400
  const u = o[a];
393
401
  if (u.length > 1024)
394
402
  continue;
395
- const c = Dt.test(u) ? u.replace(Dt, "$1") : u;
403
+ const c = Ct.test(u) ? u.replace(Ct, "$1") : u;
396
404
  if (!c.match(/\S*Error: /)) {
397
405
  for (const f of e) {
398
406
  const d = f(c);
@@ -401,35 +409,35 @@ function Ue(...t) {
401
409
  break;
402
410
  }
403
411
  }
404
- if (i.length >= Vt + s)
412
+ if (i.length >= Wt + s)
405
413
  break;
406
414
  }
407
415
  }
408
- return je(i.slice(s));
416
+ return ve(i.slice(s));
409
417
  };
410
418
  }
411
- function wr(t) {
412
- return Array.isArray(t) ? Ue(...t) : t;
419
+ function xr(t) {
420
+ return Array.isArray(t) ? je(...t) : t;
413
421
  }
414
- function je(t) {
422
+ function ve(t) {
415
423
  if (!t.length)
416
424
  return [];
417
425
  const e = Array.from(t);
418
- return /sentryWrapped/.test(K(e).function || "") && e.pop(), e.reverse(), Ct.test(K(e).function || "") && (e.pop(), Ct.test(K(e).function || "") && e.pop()), e.slice(0, Vt).map((n) => ({
426
+ return /sentryWrapped/.test(z(e).function || "") && e.pop(), e.reverse(), kt.test(z(e).function || "") && (e.pop(), kt.test(z(e).function || "") && e.pop()), e.slice(0, Wt).map((n) => ({
419
427
  ...n,
420
- filename: n.filename || K(e).filename,
421
- function: n.function || Le
428
+ filename: n.filename || z(e).filename,
429
+ function: n.function || Ue
422
430
  }));
423
431
  }
424
- function K(t) {
432
+ function z(t) {
425
433
  return t[t.length - 1] || {};
426
434
  }
427
- const Z = "<anonymous>";
428
- function ve(t) {
435
+ const tt = "<anonymous>";
436
+ function Fe(t) {
429
437
  try {
430
- return !t || typeof t != "function" ? Z : t.name || Z;
438
+ return !t || typeof t != "function" ? tt : t.name || tt;
431
439
  } catch {
432
- return Z;
440
+ return tt;
433
441
  }
434
442
  }
435
443
  function Pr(t) {
@@ -445,25 +453,25 @@ function Pr(t) {
445
453
  }
446
454
  }
447
455
  }
448
- const Wt = 1e3;
449
- function gt() {
450
- return Date.now() / Wt;
456
+ const Xt = 1e3;
457
+ function mt() {
458
+ return Date.now() / Xt;
451
459
  }
452
- function Fe() {
460
+ function Ge() {
453
461
  const { performance: t } = h;
454
462
  if (!t || !t.now)
455
- return gt;
463
+ return mt;
456
464
  const e = Date.now() - t.now(), n = t.timeOrigin == null ? e : t.timeOrigin;
457
- return () => (n + t.now()) / Wt;
465
+ return () => (n + t.now()) / Xt;
458
466
  }
459
- const x = Fe(), xr = (() => {
467
+ const P = Ge(), Mr = (() => {
460
468
  const { performance: t } = h;
461
469
  if (!t || !t.now)
462
470
  return;
463
471
  const e = 3600 * 1e3, n = t.now(), r = Date.now(), s = t.timeOrigin ? Math.abs(t.timeOrigin + n - r) : e, i = s < e, o = t.timing && t.timing.navigationStart, u = typeof o == "number" ? Math.abs(o + n - r) : e, c = u < e;
464
472
  return i || c ? s <= u ? t.timeOrigin : o : r;
465
473
  })();
466
- function Ge() {
474
+ function Be() {
467
475
  const t = typeof WeakSet == "function", e = t ? /* @__PURE__ */ new WeakSet() : [];
468
476
  function n(s) {
469
477
  if (t)
@@ -505,22 +513,22 @@ function _() {
505
513
  )
506
514
  );
507
515
  }
508
- function Xt(t) {
516
+ function Qt(t) {
509
517
  return t.exception && t.exception.values ? t.exception.values[0] : void 0;
510
518
  }
511
- function Mr(t) {
519
+ function Lr(t) {
512
520
  const { message: e, event_id: n } = t;
513
521
  if (e)
514
522
  return e;
515
- const r = Xt(t);
523
+ const r = Qt(t);
516
524
  return r ? r.type && r.value ? `${r.type}: ${r.value}` : r.type || r.value || n || "<unknown>" : n || "<unknown>";
517
525
  }
518
- function Lr(t, e, n) {
526
+ function Ur(t, e, n) {
519
527
  const r = t.exception = t.exception || {}, s = r.values = r.values || [], i = s[0] = s[0] || {};
520
528
  i.value || (i.value = e || ""), i.type || (i.type = n || "Error");
521
529
  }
522
- function Be(t, e) {
523
- const n = Xt(t);
530
+ function He(t, e) {
531
+ const n = Qt(t);
524
532
  if (!n)
525
533
  return;
526
534
  const r = { type: "generic", handled: !0 }, s = n.mechanism;
@@ -529,7 +537,7 @@ function Be(t, e) {
529
537
  n.mechanism.data = i;
530
538
  }
531
539
  }
532
- function Ur(t) {
540
+ function jr(t) {
533
541
  if (t && t.__sentry_captured__)
534
542
  return !0;
535
543
  try {
@@ -538,26 +546,26 @@ function Ur(t) {
538
546
  }
539
547
  return !1;
540
548
  }
541
- function He(t) {
549
+ function Ye(t) {
542
550
  return Array.isArray(t) ? t : [t];
543
551
  }
544
552
  function R(t, e = 100, n = 1 / 0) {
545
553
  try {
546
- return nt("", t, e, n);
554
+ return rt("", t, e, n);
547
555
  } catch (r) {
548
556
  return { ERROR: `**non-serializable** (${r})` };
549
557
  }
550
558
  }
551
- function Ye(t, e = 3, n = 100 * 1024) {
559
+ function Je(t, e = 3, n = 100 * 1024) {
552
560
  const r = R(t, e);
553
- return qe(r) > n ? Ye(t, e - 1, n) : r;
561
+ return Ve(r) > n ? Je(t, e - 1, n) : r;
554
562
  }
555
- function nt(t, e, n = 1 / 0, r = 1 / 0, s = Ge()) {
563
+ function rt(t, e, n = 1 / 0, r = 1 / 0, s = Be()) {
556
564
  const [i, o] = s;
557
565
  if (e == null || // this matches null and undefined -> eqeq not eqeqeq
558
566
  ["number", "boolean", "string"].includes(typeof e) && !Number.isNaN(e))
559
567
  return e;
560
- const a = Je(t, e);
568
+ const a = Ke(t, e);
561
569
  if (!a.startsWith("[object "))
562
570
  return a;
563
571
  if (e.__sentry_skip_normalization__)
@@ -571,12 +579,12 @@ function nt(t, e, n = 1 / 0, r = 1 / 0, s = Ge()) {
571
579
  if (c && typeof c.toJSON == "function")
572
580
  try {
573
581
  const g = c.toJSON();
574
- return nt("", g, u - 1, r, s);
582
+ return rt("", g, u - 1, r, s);
575
583
  } catch {
576
584
  }
577
585
  const f = Array.isArray(e) ? [] : {};
578
586
  let d = 0;
579
- const l = qt(e);
587
+ const l = Vt(e);
580
588
  for (const g in l) {
581
589
  if (!Object.prototype.hasOwnProperty.call(l, g))
582
590
  continue;
@@ -584,12 +592,12 @@ function nt(t, e, n = 1 / 0, r = 1 / 0, s = Ge()) {
584
592
  f[g] = "[MaxProperties ~]";
585
593
  break;
586
594
  }
587
- const $ = l[g];
588
- f[g] = nt(g, $, u - 1, r, s), d++;
595
+ const w = l[g];
596
+ f[g] = rt(g, w, u - 1, r, s), d++;
589
597
  }
590
598
  return o(e), f;
591
599
  }
592
- function Je(t, e) {
600
+ function Ke(t, e) {
593
601
  try {
594
602
  if (t === "domain" && e && typeof e == "object" && e._events)
595
603
  return "[Domain]";
@@ -601,33 +609,33 @@ function Je(t, e) {
601
609
  return "[Window]";
602
610
  if (typeof document < "u" && e === document)
603
611
  return "[Document]";
604
- if (Kt(e))
612
+ if (zt(e))
605
613
  return "[VueViewModel]";
606
- if (Ie(e))
614
+ if (Ne(e))
607
615
  return "[SyntheticEvent]";
608
616
  if (typeof e == "number" && e !== e)
609
617
  return "[NaN]";
610
618
  if (typeof e == "function")
611
- return `[Function: ${ve(e)}]`;
619
+ return `[Function: ${Fe(e)}]`;
612
620
  if (typeof e == "symbol")
613
621
  return `[${String(e)}]`;
614
622
  if (typeof e == "bigint")
615
623
  return `[BigInt: ${String(e)}]`;
616
- const n = Ke(e);
624
+ const n = ze(e);
617
625
  return /^HTML(\w*)Element$/.test(n) ? `[HTMLElement: ${n}]` : `[object ${n}]`;
618
626
  } catch (n) {
619
627
  return `**non-serializable** (${n})`;
620
628
  }
621
629
  }
622
- function Ke(t) {
630
+ function ze(t) {
623
631
  const e = Object.getPrototypeOf(t);
624
632
  return e ? e.constructor.name : "null prototype";
625
633
  }
626
- function ze(t) {
634
+ function qe(t) {
627
635
  return ~-encodeURI(t).split(/%..|./).length;
628
636
  }
629
- function qe(t) {
630
- return ze(JSON.stringify(t));
637
+ function Ve(t) {
638
+ return qe(JSON.stringify(t));
631
639
  }
632
640
  var A;
633
641
  (function(t) {
@@ -637,12 +645,12 @@ var A;
637
645
  const r = 2;
638
646
  t[t.REJECTED = r] = "REJECTED";
639
647
  })(A || (A = {}));
640
- function jr(t) {
648
+ function vr(t) {
641
649
  return new T((e) => {
642
650
  e(t);
643
651
  });
644
652
  }
645
- function vr(t) {
653
+ function Fr(t) {
646
654
  return new T((e, n) => {
647
655
  n(t);
648
656
  });
@@ -724,7 +732,7 @@ class T {
724
732
  __init3() {
725
733
  this._setResult = (e, n) => {
726
734
  if (this._state === A.PENDING) {
727
- if (pt(n)) {
735
+ if (lt(n)) {
728
736
  n.then(this._resolve, this._reject);
729
737
  return;
730
738
  }
@@ -744,14 +752,14 @@ class T {
744
752
  };
745
753
  }
746
754
  }
747
- const Fr = "baggage", Qt = "sentry-", Ve = /^sentry-/, We = 8192;
748
- function Zt(t) {
749
- const e = Xe(t);
755
+ const Gr = "baggage", Zt = "sentry-", We = /^sentry-/, Xe = 8192;
756
+ function te(t) {
757
+ const e = Qe(t);
750
758
  if (!e)
751
759
  return;
752
760
  const n = Object.entries(e).reduce((r, [s, i]) => {
753
- if (s.match(Ve)) {
754
- const o = s.slice(Qt.length);
761
+ if (s.match(We)) {
762
+ const o = s.slice(Zt.length);
755
763
  r[o] = i;
756
764
  }
757
765
  return r;
@@ -759,44 +767,44 @@ function Zt(t) {
759
767
  if (Object.keys(n).length > 0)
760
768
  return n;
761
769
  }
762
- function Gr(t) {
770
+ function Br(t) {
763
771
  if (!t)
764
772
  return;
765
773
  const e = Object.entries(t).reduce(
766
- (n, [r, s]) => (s && (n[`${Qt}${r}`] = s), n),
774
+ (n, [r, s]) => (s && (n[`${Zt}${r}`] = s), n),
767
775
  {}
768
776
  );
769
- return Qe(e);
777
+ return Ze(e);
770
778
  }
771
- function Xe(t) {
772
- if (!(!t || !z(t) && !Array.isArray(t)))
779
+ function Qe(t) {
780
+ if (!(!t || !q(t) && !Array.isArray(t)))
773
781
  return Array.isArray(t) ? t.reduce((e, n) => {
774
- const r = kt(n);
782
+ const r = wt(n);
775
783
  return Object.entries(r).forEach(([s, i]) => {
776
784
  e[s] = i;
777
785
  }), e;
778
- }, {}) : kt(t);
786
+ }, {}) : wt(t);
779
787
  }
780
- function kt(t) {
788
+ function wt(t) {
781
789
  return t.split(",").map((e) => e.split("=").map((n) => decodeURIComponent(n.trim()))).reduce((e, [n, r]) => (n && r && (e[n] = r), e), {});
782
790
  }
783
- function Qe(t) {
791
+ function Ze(t) {
784
792
  if (Object.keys(t).length !== 0)
785
793
  return Object.entries(t).reduce((e, [n, r], s) => {
786
794
  const i = `${encodeURIComponent(n)}=${encodeURIComponent(r)}`, o = s === 0 ? i : `${e},${i}`;
787
- return o.length > We ? (W && p.warn(
795
+ return o.length > Xe ? (X && p.warn(
788
796
  `Not adding key: ${n} with val: ${r} to baggage header due to exceeding baggage size limits.`
789
797
  ), e) : o;
790
798
  }, "");
791
799
  }
792
- const Ze = new RegExp(
800
+ const tn = new RegExp(
793
801
  "^[ \\t]*([0-9a-f]{32})?-?([0-9a-f]{16})?-?([01])?[ \\t]*$"
794
802
  // whitespace
795
803
  );
796
- function tn(t) {
804
+ function en(t) {
797
805
  if (!t)
798
806
  return;
799
- const e = t.match(Ze);
807
+ const e = t.match(tn);
800
808
  if (!e)
801
809
  return;
802
810
  let n;
@@ -806,8 +814,8 @@ function tn(t) {
806
814
  parentSpanId: e[2]
807
815
  };
808
816
  }
809
- function Br(t, e) {
810
- const n = tn(t), r = Zt(e), { traceId: s, parentSpanId: i, parentSampled: o } = n || {};
817
+ function Hr(t, e) {
818
+ const n = en(t), r = te(e), { traceId: s, parentSpanId: i, parentSampled: o } = n || {};
811
819
  return n ? {
812
820
  traceId: s || _(),
813
821
  parentSpanId: i || _().substring(16),
@@ -820,18 +828,18 @@ function Br(t, e) {
820
828
  spanId: _().substring(16)
821
829
  };
822
830
  }
823
- function en(t = _(), e = _().substring(16), n) {
831
+ function nn(t = _(), e = _().substring(16), n) {
824
832
  let r = "";
825
833
  return n !== void 0 && (r = n ? "-1" : "-0"), `${t}-${e}${r}`;
826
834
  }
827
- function mt(t, e = []) {
835
+ function St(t, e = []) {
828
836
  return [t, e];
829
837
  }
830
- function Hr(t, e) {
838
+ function Yr(t, e) {
831
839
  const [n, r] = t;
832
840
  return [n, [...r, e]];
833
841
  }
834
- function Yr(t, e) {
842
+ function Jr(t, e) {
835
843
  const n = t[1];
836
844
  for (const r of n) {
837
845
  const s = r[0].type;
@@ -840,14 +848,14 @@ function Yr(t, e) {
840
848
  }
841
849
  return !1;
842
850
  }
843
- function rt(t) {
851
+ function st(t) {
844
852
  return h.__SENTRY__ && h.__SENTRY__.encodePolyfill ? h.__SENTRY__.encodePolyfill(t) : new TextEncoder().encode(t);
845
853
  }
846
- function Jr(t) {
854
+ function Kr(t) {
847
855
  const [e, n] = t;
848
856
  let r = JSON.stringify(e);
849
857
  function s(i) {
850
- typeof r == "string" ? r = typeof i == "string" ? r + i : [rt(r), i] : r.push(typeof i == "string" ? rt(i) : i);
858
+ typeof r == "string" ? r = typeof i == "string" ? r + i : [st(r), i] : r.push(typeof i == "string" ? st(i) : i);
851
859
  }
852
860
  for (const i of n) {
853
861
  const [o, a] = i;
@@ -865,22 +873,22 @@ ${JSON.stringify(o)}
865
873
  s(u);
866
874
  }
867
875
  }
868
- return typeof r == "string" ? r : nn(r);
876
+ return typeof r == "string" ? r : rn(r);
869
877
  }
870
- function nn(t) {
878
+ function rn(t) {
871
879
  const e = t.reduce((s, i) => s + i.length, 0), n = new Uint8Array(e);
872
880
  let r = 0;
873
881
  for (const s of t)
874
882
  n.set(s, r), r += s.length;
875
883
  return n;
876
884
  }
877
- function rn(t) {
885
+ function sn(t) {
878
886
  return [{
879
887
  type: "span"
880
888
  }, t];
881
889
  }
882
- function Kr(t) {
883
- const e = typeof t.data == "string" ? rt(t.data) : t.data;
890
+ function zr(t) {
891
+ const e = typeof t.data == "string" ? st(t.data) : t.data;
884
892
  return [
885
893
  m({
886
894
  type: "attachment",
@@ -892,7 +900,7 @@ function Kr(t) {
892
900
  e
893
901
  ];
894
902
  }
895
- const sn = {
903
+ const on = {
896
904
  session: "session",
897
905
  sessions: "session",
898
906
  attachment: "attachment",
@@ -909,22 +917,22 @@ const sn = {
909
917
  span: "span",
910
918
  statsd: "metric_bucket"
911
919
  };
912
- function zr(t) {
913
- return sn[t];
920
+ function qr(t) {
921
+ return on[t];
914
922
  }
915
- function te(t) {
923
+ function ee(t) {
916
924
  if (!t || !t.sdk)
917
925
  return;
918
926
  const { name: e, version: n } = t.sdk;
919
927
  return { name: e, version: n };
920
928
  }
921
- function on(t, e, n, r) {
929
+ function an(t, e, n, r) {
922
930
  const s = t.sdkProcessingMetadata && t.sdkProcessingMetadata.dynamicSamplingContext;
923
931
  return {
924
932
  event_id: t.event_id,
925
933
  sent_at: (/* @__PURE__ */ new Date()).toISOString(),
926
934
  ...e && { sdk: e },
927
- ...!!n && r && { dsn: ht(r) },
935
+ ...!!n && r && { dsn: gt(r) },
928
936
  ...s && {
929
937
  trace: m({ ...s })
930
938
  }
@@ -938,14 +946,14 @@ function $t() {
938
946
  }
939
947
  const y = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__;
940
948
  function U() {
941
- return St(h), h;
949
+ return yt(h), h;
942
950
  }
943
- function St(t) {
951
+ function yt(t) {
944
952
  const e = t.__SENTRY__ = t.__SENTRY__ || {};
945
953
  return e.version = e.version || B, e[B] = e[B] || {};
946
954
  }
947
- function an(t) {
948
- const e = x(), n = {
955
+ function cn(t) {
956
+ const e = P(), n = {
949
957
  sid: _(),
950
958
  init: !0,
951
959
  timestamp: e,
@@ -954,12 +962,12 @@ function an(t) {
954
962
  status: "ok",
955
963
  errors: 0,
956
964
  ignoreDuration: !1,
957
- toJSON: () => un(n)
965
+ toJSON: () => fn(n)
958
966
  };
959
- return t && X(n, t), n;
967
+ return t && Q(n, t), n;
960
968
  }
961
- function X(t, e = {}) {
962
- if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || x(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : _()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
969
+ function Q(t, e = {}) {
970
+ if (e.user && (!t.ipAddress && e.user.ip_address && (t.ipAddress = e.user.ip_address), !t.did && !e.did && (t.did = e.user.id || e.user.email || e.user.username)), t.timestamp = e.timestamp || P(), e.abnormal_mechanism && (t.abnormal_mechanism = e.abnormal_mechanism), e.ignoreDuration && (t.ignoreDuration = e.ignoreDuration), e.sid && (t.sid = e.sid.length === 32 ? e.sid : _()), e.init !== void 0 && (t.init = e.init), !t.did && e.did && (t.did = `${e.did}`), typeof e.started == "number" && (t.started = e.started), t.ignoreDuration)
963
971
  t.duration = void 0;
964
972
  else if (typeof e.duration == "number")
965
973
  t.duration = e.duration;
@@ -969,11 +977,11 @@ function X(t, e = {}) {
969
977
  }
970
978
  e.release && (t.release = e.release), e.environment && (t.environment = e.environment), !t.ipAddress && e.ipAddress && (t.ipAddress = e.ipAddress), !t.userAgent && e.userAgent && (t.userAgent = e.userAgent), typeof e.errors == "number" && (t.errors = e.errors), e.status && (t.status = e.status);
971
979
  }
972
- function cn(t, e) {
980
+ function un(t, e) {
973
981
  let n = {};
974
- e ? n = { status: e } : t.status === "ok" && (n = { status: "exited" }), X(t, n);
982
+ e ? n = { status: e } : t.status === "ok" && (n = { status: "exited" }), Q(t, n);
975
983
  }
976
- function un(t) {
984
+ function fn(t) {
977
985
  return m({
978
986
  sid: `${t.sid}`,
979
987
  init: t.init,
@@ -993,15 +1001,15 @@ function un(t) {
993
1001
  }
994
1002
  });
995
1003
  }
996
- const st = "_sentrySpan";
997
- function it(t, e) {
998
- e ? D(t, st, e) : delete t[st];
1004
+ const it = "_sentrySpan";
1005
+ function ot(t, e) {
1006
+ e ? D(t, it, e) : delete t[it];
999
1007
  }
1000
- function q(t) {
1001
- return t[st];
1008
+ function V(t) {
1009
+ return t[it];
1002
1010
  }
1003
- const fn = 100;
1004
- class yt {
1011
+ const dn = 100;
1012
+ class Et {
1005
1013
  /** Flag if notifying is happening. */
1006
1014
  /** Callback for client to receive scope changes. */
1007
1015
  /** Callback list that will be called during event processing. */
@@ -1036,8 +1044,8 @@ class yt {
1036
1044
  * @inheritDoc
1037
1045
  */
1038
1046
  clone() {
1039
- const e = new yt();
1040
- return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, 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._requestSession = this._requestSession, e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, it(e, q(this)), e;
1047
+ const e = new Et();
1048
+ return e._breadcrumbs = [...this._breadcrumbs], e._tags = { ...this._tags }, e._extra = { ...this._extra }, e._contexts = { ...this._contexts }, 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._requestSession = this._requestSession, e._attachments = [...this._attachments], e._sdkProcessingMetadata = { ...this._sdkProcessingMetadata }, e._propagationContext = { ...this._propagationContext }, e._client = this._client, e._lastEventId = this._lastEventId, ot(e, V(this)), e;
1041
1049
  }
1042
1050
  /**
1043
1051
  * @inheritDoc
@@ -1084,7 +1092,7 @@ class yt {
1084
1092
  id: void 0,
1085
1093
  ip_address: void 0,
1086
1094
  username: void 0
1087
- }, this._session && X(this._session, { user: e }), this._notifyScopeListeners(), this;
1095
+ }, this._session && Q(this._session, { user: e }), this._notifyScopeListeners(), this;
1088
1096
  }
1089
1097
  /**
1090
1098
  * @inheritDoc
@@ -1176,24 +1184,24 @@ class yt {
1176
1184
  update(e) {
1177
1185
  if (!e)
1178
1186
  return this;
1179
- const n = typeof e == "function" ? e(this) : e, [r, s] = n instanceof C ? [n.getScopeData(), n.getRequestSession()] : dt(n) ? [e, e.requestSession] : [], { tags: i, extra: o, user: a, contexts: u, level: c, fingerprint: f = [], propagationContext: d } = r || {};
1187
+ const n = typeof e == "function" ? e(this) : e, [r, s] = n instanceof C ? [n.getScopeData(), n.getRequestSession()] : pt(n) ? [e, e.requestSession] : [], { tags: i, extra: o, user: a, contexts: u, level: c, fingerprint: f = [], propagationContext: d } = r || {};
1180
1188
  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;
1181
1189
  }
1182
1190
  /**
1183
1191
  * @inheritDoc
1184
1192
  */
1185
1193
  clear() {
1186
- return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._session = void 0, it(this, void 0), this._attachments = [], this._propagationContext = $t(), this._notifyScopeListeners(), this;
1194
+ return this._breadcrumbs = [], this._tags = {}, this._extra = {}, this._user = {}, this._contexts = {}, this._level = void 0, this._transactionName = void 0, this._fingerprint = void 0, this._requestSession = void 0, this._session = void 0, ot(this, void 0), this._attachments = [], this._propagationContext = $t(), this._notifyScopeListeners(), this;
1187
1195
  }
1188
1196
  /**
1189
1197
  * @inheritDoc
1190
1198
  */
1191
1199
  addBreadcrumb(e, n) {
1192
- const r = typeof n == "number" ? n : fn;
1200
+ const r = typeof n == "number" ? n : dn;
1193
1201
  if (r <= 0)
1194
1202
  return this;
1195
1203
  const s = {
1196
- timestamp: gt(),
1204
+ timestamp: mt(),
1197
1205
  ...e
1198
1206
  }, i = this._breadcrumbs;
1199
1207
  return i.push(s), this._breadcrumbs = i.length > r ? i.slice(-r) : i, this._notifyScopeListeners(), this;
@@ -1237,7 +1245,7 @@ class yt {
1237
1245
  propagationContext: this._propagationContext,
1238
1246
  sdkProcessingMetadata: this._sdkProcessingMetadata,
1239
1247
  transactionName: this._transactionName,
1240
- span: q(this)
1248
+ span: V(this)
1241
1249
  };
1242
1250
  }
1243
1251
  /**
@@ -1313,14 +1321,14 @@ class yt {
1313
1321
  }), this._notifyingListeners = !1);
1314
1322
  }
1315
1323
  }
1316
- const C = yt;
1317
- function dn() {
1318
- return lt("defaultCurrentScope", () => new C());
1319
- }
1324
+ const C = Et;
1320
1325
  function pn() {
1321
- return lt("defaultIsolationScope", () => new C());
1326
+ return _t("defaultCurrentScope", () => new C());
1327
+ }
1328
+ function ln() {
1329
+ return _t("defaultIsolationScope", () => new C());
1322
1330
  }
1323
- class ln {
1331
+ class _n {
1324
1332
  constructor(e, n) {
1325
1333
  let r;
1326
1334
  e ? r = e : r = new C();
@@ -1338,7 +1346,7 @@ class ln {
1338
1346
  } catch (s) {
1339
1347
  throw this._popScope(), s;
1340
1348
  }
1341
- return pt(r) ? r.then(
1349
+ return lt(r) ? r.then(
1342
1350
  (s) => (this._popScope(), s),
1343
1351
  (s) => {
1344
1352
  throw this._popScope(), s;
@@ -1363,12 +1371,6 @@ class ln {
1363
1371
  getIsolationScope() {
1364
1372
  return this._isolationScope;
1365
1373
  }
1366
- /**
1367
- * Returns the scope stack for domains or the process.
1368
- */
1369
- getStack() {
1370
- return this._stack;
1371
- }
1372
1374
  /**
1373
1375
  * Returns the topmost scope layer in the order domain > local > process.
1374
1376
  */
@@ -1380,7 +1382,7 @@ class ln {
1380
1382
  */
1381
1383
  _pushScope() {
1382
1384
  const e = this.getScope().clone();
1383
- return this.getStack().push({
1385
+ return this._stack.push({
1384
1386
  client: this.getClient(),
1385
1387
  scope: e
1386
1388
  }), e;
@@ -1389,36 +1391,36 @@ class ln {
1389
1391
  * Pop a scope from the stack.
1390
1392
  */
1391
1393
  _popScope() {
1392
- return this.getStack().length <= 1 ? !1 : !!this.getStack().pop();
1394
+ return this._stack.length <= 1 ? !1 : !!this._stack.pop();
1393
1395
  }
1394
1396
  }
1395
1397
  function M() {
1396
- const t = U(), e = St(t);
1397
- return e.stack = e.stack || new ln(dn(), pn());
1398
+ const t = U(), e = yt(t);
1399
+ return e.stack = e.stack || new _n(pn(), ln());
1398
1400
  }
1399
- function _n(t) {
1401
+ function hn(t) {
1400
1402
  return M().withScope(t);
1401
1403
  }
1402
- function hn(t, e) {
1404
+ function gn(t, e) {
1403
1405
  const n = M();
1404
1406
  return n.withScope(() => (n.getStackTop().scope = t, e(t)));
1405
1407
  }
1406
- function wt(t) {
1408
+ function xt(t) {
1407
1409
  return M().withScope(() => t(M().getIsolationScope()));
1408
1410
  }
1409
- function gn() {
1411
+ function mn() {
1410
1412
  return {
1411
- withIsolationScope: wt,
1412
- withScope: _n,
1413
- withSetScope: hn,
1414
- withSetIsolationScope: (t, e) => wt(e),
1413
+ withIsolationScope: xt,
1414
+ withScope: hn,
1415
+ withSetScope: gn,
1416
+ withSetIsolationScope: (t, e) => xt(e),
1415
1417
  getCurrentScope: () => M().getScope(),
1416
1418
  getIsolationScope: () => M().getIsolationScope()
1417
1419
  };
1418
1420
  }
1419
1421
  function J(t) {
1420
- const e = St(t);
1421
- return e.acs ? e.acs : gn();
1422
+ const e = yt(t);
1423
+ return e.acs ? e.acs : mn();
1422
1424
  }
1423
1425
  function I() {
1424
1426
  const t = U();
@@ -1428,10 +1430,10 @@ function j() {
1428
1430
  const t = U();
1429
1431
  return J(t).getIsolationScope();
1430
1432
  }
1431
- function mn() {
1432
- return lt("globalScope", () => new C());
1433
+ function Sn() {
1434
+ return _t("globalScope", () => new C());
1433
1435
  }
1434
- function ee(...t) {
1436
+ function ne(...t) {
1435
1437
  const e = U(), n = J(e);
1436
1438
  if (t.length === 2) {
1437
1439
  const [r, s] = t;
@@ -1442,9 +1444,9 @@ function ee(...t) {
1442
1444
  function N() {
1443
1445
  return I().getClient();
1444
1446
  }
1445
- const Sn = "_sentryMetrics";
1446
- function ot(t) {
1447
- const e = t[Sn];
1447
+ const yn = "_sentryMetrics";
1448
+ function at(t) {
1449
+ const e = t[yn];
1448
1450
  if (!e)
1449
1451
  return;
1450
1452
  const n = {};
@@ -1452,10 +1454,10 @@ function ot(t) {
1452
1454
  (n[r] || (n[r] = [])).push(m(s));
1453
1455
  return n;
1454
1456
  }
1455
- const Et = "sentry.source", ne = "sentry.sample_rate", at = "sentry.op", Y = "sentry.origin", qr = "sentry.idle_span_finish_reason", re = "sentry.measurement_unit", se = "sentry.measurement_value", yn = "sentry.profile_id", En = "sentry.exclusive_time", bn = 0, ie = 1, S = 2;
1456
- function Tn(t) {
1457
+ const bt = "sentry.source", re = "sentry.sample_rate", ct = "sentry.op", Y = "sentry.origin", Vr = "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;
1458
+ function In(t) {
1457
1459
  if (t < 400 && t >= 100)
1458
- return { code: ie };
1460
+ return { code: oe };
1459
1461
  if (t >= 400 && t < 500)
1460
1462
  switch (t) {
1461
1463
  case 401:
@@ -1488,13 +1490,13 @@ function Tn(t) {
1488
1490
  }
1489
1491
  return { code: S, message: "unknown_error" };
1490
1492
  }
1491
- function Vr(t, e) {
1493
+ function Wr(t, e) {
1492
1494
  t.setAttribute("http.response.status_code", e);
1493
- const n = Tn(e);
1495
+ const n = In(e);
1494
1496
  n.message !== "unknown_error" && t.setStatus(n);
1495
1497
  }
1496
- const oe = 0, ae = 1;
1497
- function In(t) {
1498
+ const ae = 0, ce = 1;
1499
+ function Nn(t) {
1498
1500
  const { spanId: e, traceId: n } = t.spanContext(), { data: r, op: s, parent_span_id: i, status: o, origin: a } = E(t);
1499
1501
  return m({
1500
1502
  parent_span_id: i,
@@ -1506,26 +1508,26 @@ function In(t) {
1506
1508
  origin: a
1507
1509
  });
1508
1510
  }
1509
- function Nn(t) {
1511
+ function An(t) {
1510
1512
  const { spanId: e, traceId: n } = t.spanContext(), { parent_span_id: r } = E(t);
1511
1513
  return m({ parent_span_id: r, span_id: e, trace_id: n });
1512
1514
  }
1513
- function Wr(t) {
1515
+ function Xr(t) {
1514
1516
  const { traceId: e, spanId: n } = t.spanContext(), r = v(t);
1515
- return en(e, n, r);
1517
+ return nn(e, n, r);
1516
1518
  }
1517
- function P(t) {
1518
- return typeof t == "number" ? Pt(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Pt(t.getTime()) : x();
1519
+ function x(t) {
1520
+ return typeof t == "number" ? Pt(t) : Array.isArray(t) ? t[0] + t[1] / 1e9 : t instanceof Date ? Pt(t.getTime()) : P();
1519
1521
  }
1520
1522
  function Pt(t) {
1521
1523
  return t > 9999999999 ? t / 1e3 : t;
1522
1524
  }
1523
1525
  function E(t) {
1524
- if (On(t))
1526
+ if (Rn(t))
1525
1527
  return t.getSpanJSON();
1526
1528
  try {
1527
1529
  const { spanId: e, traceId: n } = t.spanContext();
1528
- if (An(t)) {
1530
+ if (On(t)) {
1529
1531
  const { attributes: r, startTime: s, name: i, endTime: o, parentSpanId: a, status: u } = t;
1530
1532
  return m({
1531
1533
  span_id: e,
@@ -1533,13 +1535,13 @@ function E(t) {
1533
1535
  data: r,
1534
1536
  description: i,
1535
1537
  parent_span_id: a,
1536
- start_timestamp: P(s),
1538
+ start_timestamp: x(s),
1537
1539
  // This is [0,0] by default in OTEL, in which case we want to interpret this as no end time
1538
- timestamp: P(o) || void 0,
1539
- status: ce(u),
1540
- op: r[at],
1540
+ timestamp: x(o) || void 0,
1541
+ status: ue(u),
1542
+ op: r[ct],
1541
1543
  origin: r[Y],
1542
- _metrics_summary: ot(t)
1544
+ _metrics_summary: at(t)
1543
1545
  });
1544
1546
  }
1545
1547
  return {
@@ -1550,30 +1552,30 @@ function E(t) {
1550
1552
  return {};
1551
1553
  }
1552
1554
  }
1553
- function An(t) {
1555
+ function On(t) {
1554
1556
  const e = t;
1555
1557
  return !!e.attributes && !!e.startTime && !!e.name && !!e.endTime && !!e.status;
1556
1558
  }
1557
- function On(t) {
1559
+ function Rn(t) {
1558
1560
  return typeof t.getSpanJSON == "function";
1559
1561
  }
1560
1562
  function v(t) {
1561
1563
  const { traceFlags: e } = t.spanContext();
1562
- return e === ae;
1564
+ return e === ce;
1563
1565
  }
1564
- function ce(t) {
1565
- if (!(!t || t.code === bn))
1566
- return t.code === ie ? "ok" : t.message || "unknown_error";
1566
+ function ue(t) {
1567
+ if (!(!t || t.code === Tn))
1568
+ return t.code === oe ? "ok" : t.message || "unknown_error";
1567
1569
  }
1568
- const k = "_sentryChildSpans", ct = "_sentryRootSpan";
1569
- function ue(t, e) {
1570
- const n = t[ct] || t;
1571
- D(e, ct, n), t[k] ? t[k].add(e) : D(t, k, /* @__PURE__ */ new Set([e]));
1570
+ const k = "_sentryChildSpans", ut = "_sentryRootSpan";
1571
+ function fe(t, e) {
1572
+ const n = t[ut] || t;
1573
+ D(e, ut, n), t[k] ? t[k].add(e) : D(t, k, /* @__PURE__ */ new Set([e]));
1572
1574
  }
1573
- function Xr(t, e) {
1575
+ function Qr(t, e) {
1574
1576
  t[k] && t[k].delete(e);
1575
1577
  }
1576
- function Rn(t) {
1578
+ function Dn(t) {
1577
1579
  const e = /* @__PURE__ */ new Set();
1578
1580
  function n(r) {
1579
1581
  if (!e.has(r) && v(r)) {
@@ -1586,33 +1588,33 @@ function Rn(t) {
1586
1588
  return n(t), Array.from(e);
1587
1589
  }
1588
1590
  function O(t) {
1589
- return t[ct] || t;
1591
+ return t[ut] || t;
1590
1592
  }
1591
- function ut() {
1593
+ function ft() {
1592
1594
  const t = U(), e = J(t);
1593
- return e.getActiveSpan ? e.getActiveSpan() : q(I());
1595
+ return e.getActiveSpan ? e.getActiveSpan() : V(I());
1594
1596
  }
1595
- const fe = "_sentryScope", de = "_sentryIsolationScope";
1596
- function Dn(t, e, n) {
1597
- t && (D(t, de, n), D(t, fe, e));
1597
+ const de = "_sentryScope", pe = "_sentryIsolationScope";
1598
+ function Cn(t, e, n) {
1599
+ t && (D(t, pe, n), D(t, de, e));
1598
1600
  }
1599
- function xt(t) {
1601
+ function Mt(t) {
1600
1602
  return {
1601
- scope: t[fe],
1602
- isolationScope: t[de]
1603
+ scope: t[de],
1604
+ isolationScope: t[pe]
1603
1605
  };
1604
1606
  }
1605
- function pe(t) {
1607
+ function le(t) {
1606
1608
  if (typeof __SENTRY_TRACING__ == "boolean" && !__SENTRY_TRACING__)
1607
1609
  return !1;
1608
- const e = t || Cn();
1610
+ const e = t || kn();
1609
1611
  return !!e && (e.enableTracing || "tracesSampleRate" in e || "tracesSampler" in e);
1610
1612
  }
1611
- function Cn() {
1613
+ function kn() {
1612
1614
  const t = N();
1613
1615
  return t && t.getOptions();
1614
1616
  }
1615
- class bt {
1617
+ class Tt {
1616
1618
  constructor(e = {}) {
1617
1619
  this._traceId = e.traceId || _(), this._spanId = e.spanId || _().substring(16);
1618
1620
  }
@@ -1621,7 +1623,7 @@ class bt {
1621
1623
  return {
1622
1624
  spanId: this._spanId,
1623
1625
  traceId: this._traceId,
1624
- traceFlags: oe
1626
+ traceFlags: ae
1625
1627
  };
1626
1628
  }
1627
1629
  /** @inheritdoc */
@@ -1652,33 +1654,62 @@ class bt {
1652
1654
  addEvent(e, n, r) {
1653
1655
  return this;
1654
1656
  }
1657
+ /**
1658
+ * This should generally not be used,
1659
+ * but we need it for being comliant with the OTEL Span interface.
1660
+ *
1661
+ * @hidden
1662
+ * @internal
1663
+ */
1664
+ addLink(e) {
1665
+ return this;
1666
+ }
1667
+ /**
1668
+ * This should generally not be used,
1669
+ * but we need it for being comliant with the OTEL Span interface.
1670
+ *
1671
+ * @hidden
1672
+ * @internal
1673
+ */
1674
+ addLinks(e) {
1675
+ return this;
1676
+ }
1677
+ /**
1678
+ * This should generally not be used,
1679
+ * but we need it for being comliant with the OTEL Span interface.
1680
+ *
1681
+ * @hidden
1682
+ * @internal
1683
+ */
1684
+ recordException(e, n) {
1685
+ }
1655
1686
  }
1656
- const Tt = "production", le = "_frozenDsc";
1657
- function Mt(t, e) {
1658
- D(t, le, e);
1687
+ const It = "production", _e = "_frozenDsc";
1688
+ function Lt(t, e) {
1689
+ D(t, _e, e);
1659
1690
  }
1660
- function kn(t, e) {
1691
+ function wn(t, e) {
1661
1692
  const n = e.getOptions(), { publicKey: r } = e.getDsn() || {}, s = m({
1662
- environment: n.environment || Tt,
1693
+ environment: n.environment || It,
1663
1694
  release: n.release,
1664
1695
  public_key: r,
1665
1696
  trace_id: t
1666
1697
  });
1667
1698
  return e.emit("createDsc", s), s;
1668
1699
  }
1669
- function Q(t) {
1700
+ function Z(t) {
1670
1701
  const e = N();
1671
1702
  if (!e)
1672
1703
  return {};
1673
- const n = kn(E(t).trace_id || "", e), r = O(t), s = r[le];
1704
+ const n = wn(E(t).trace_id || "", e), r = O(t), s = r[_e];
1674
1705
  if (s)
1675
1706
  return s;
1676
- const i = r.spanContext().traceState, o = i && i.get("sentry.dsc"), a = o && Zt(o);
1707
+ const i = r.spanContext().traceState, o = i && i.get("sentry.dsc"), a = o && te(o);
1677
1708
  if (a)
1678
1709
  return a;
1679
- const u = E(r), c = u.data || {}, f = c[ne];
1710
+ const u = E(r), c = u.data || {}, f = c[re];
1680
1711
  f != null && (n.sample_rate = `${f}`);
1681
- const d = c[Et], l = u.description;
1712
+ const d = c[bt], l = u.description;
1682
1713
  return d !== "url" && l && (n.transaction = l), n.sampled = String(v(r)), e.emit("createDsc", n, r), n;
1683
1714
  }
1684
1715
  function $n(t) {
@@ -1692,7 +1723,7 @@ function $n(t) {
1692
1723
  ${c.join(`
1693
1724
  `)}`);
1694
1725
  }
1695
- function wn(t) {
1726
+ function xn(t) {
1696
1727
  if (!y) return;
1697
1728
  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}`;
1698
1729
  p.log(o);
@@ -1711,8 +1742,8 @@ function Pn(t) {
1711
1742
  }
1712
1743
  return e;
1713
1744
  }
1714
- function xn(t, e) {
1715
- if (!pe(t))
1745
+ function Mn(t, e) {
1746
+ if (!le(t))
1716
1747
  return [!1];
1717
1748
  let n;
1718
1749
  typeof t.tracesSampler == "function" ? n = t.tracesSampler(e) : e.parentSampled !== void 0 ? n = e.parentSampled : typeof t.tracesSampleRate < "u" ? n = t.tracesSampleRate : n = 1;
@@ -1725,56 +1756,56 @@ function xn(t, e) {
1725
1756
  `[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"}`
1726
1757
  ), [!1, r]);
1727
1758
  }
1728
- function Mn(t, e) {
1759
+ function Ln(t, e) {
1729
1760
  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;
1730
1761
  }
1731
- function Qr(t, e, n, r) {
1732
- const s = te(n), i = {
1762
+ function Zr(t, e, n, r) {
1763
+ const s = ee(n), i = {
1733
1764
  sent_at: (/* @__PURE__ */ new Date()).toISOString(),
1734
1765
  ...s && { sdk: s },
1735
- ...!!r && e && { dsn: ht(e) }
1766
+ ...!!r && e && { dsn: gt(e) }
1736
1767
  }, o = "aggregates" in t ? [{ type: "sessions" }, t] : [{ type: "session" }, t.toJSON()];
1737
- return mt(i, [o]);
1768
+ return St(i, [o]);
1738
1769
  }
1739
- function Zr(t, e, n, r) {
1740
- const s = te(n), i = t.type && t.type !== "replay_event" ? t.type : "event";
1741
- Mn(t, n && n.sdk);
1742
- const o = on(t, s, r, e);
1743
- return delete t.sdkProcessingMetadata, mt(o, [[{ type: i }, t]]);
1770
+ function ts(t, e, n, r) {
1771
+ const s = ee(n), i = t.type && t.type !== "replay_event" ? t.type : "event";
1772
+ Ln(t, n && n.sdk);
1773
+ const o = an(t, s, r, e);
1774
+ return delete t.sdkProcessingMetadata, St(o, [[{ type: i }, t]]);
1744
1775
  }
1745
- function Ln(t, e) {
1776
+ function Un(t, e) {
1746
1777
  function n(f) {
1747
1778
  return !!f.trace_id && !!f.public_key;
1748
1779
  }
1749
- const r = Q(t[0]), s = e && e.getDsn(), i = e && e.getOptions().tunnel, o = {
1780
+ const r = Z(t[0]), s = e && e.getDsn(), i = e && e.getOptions().tunnel, o = {
1750
1781
  sent_at: (/* @__PURE__ */ new Date()).toISOString(),
1751
1782
  ...n(r) && { trace: r },
1752
- ...!!i && s && { dsn: ht(s) }
1783
+ ...!!i && s && { dsn: gt(s) }
1753
1784
  }, a = e && e.getOptions().beforeSendSpan, u = a ? (f) => a(E(f)) : (f) => E(f), c = [];
1754
1785
  for (const f of t) {
1755
1786
  const d = u(f);
1756
- d && c.push(rn(d));
1787
+ d && c.push(sn(d));
1757
1788
  }
1758
- return mt(o, c);
1789
+ return St(o, c);
1759
1790
  }
1760
- function ts(t, e, n) {
1761
- const r = ut(), s = r && O(r);
1791
+ function es(t, e, n) {
1792
+ const r = ft(), s = r && O(r);
1762
1793
  s && s.addEvent(t, {
1763
- [se]: e,
1764
- [re]: n
1794
+ [ie]: e,
1795
+ [se]: n
1765
1796
  });
1766
1797
  }
1767
- function Lt(t) {
1798
+ function Ut(t) {
1768
1799
  if (!t || t.length === 0)
1769
1800
  return;
1770
1801
  const e = {};
1771
1802
  return t.forEach((n) => {
1772
- const r = n.attributes || {}, s = r[re], i = r[se];
1803
+ const r = n.attributes || {}, s = r[se], i = r[ie];
1773
1804
  typeof s == "string" && typeof i == "number" && (e[n.name] = { value: i, unit: s });
1774
1805
  }), e;
1775
1806
  }
1776
- const Ut = 1e3;
1777
- class It {
1807
+ const jt = 1e3;
1808
+ class Nt {
1778
1809
  /** Epoch timestamp in seconds when the span started. */
1779
1810
  /** Epoch timestamp in seconds when the span ended. */
1780
1811
  /** Internal keeper of the status */
@@ -1788,28 +1819,57 @@ class It {
1788
1819
  * @hidden
1789
1820
  */
1790
1821
  constructor(e = {}) {
1791
- this._traceId = e.traceId || _(), this._spanId = e.spanId || _().substring(16), this._startTime = e.startTimestamp || x(), this._attributes = {}, this.setAttributes({
1822
+ this._traceId = e.traceId || _(), this._spanId = e.spanId || _().substring(16), this._startTime = e.startTimestamp || P(), this._attributes = {}, this.setAttributes({
1792
1823
  [Y]: "manual",
1793
- [at]: e.op,
1824
+ [ct]: e.op,
1794
1825
  ...e.attributes
1795
1826
  }), this._name = e.name, e.parentSpanId && (this._parentSpanId = e.parentSpanId), "sampled" in e && (this._sampled = e.sampled), e.endTimestamp && (this._endTime = e.endTimestamp), this._events = [], this._isStandaloneSpan = e.isStandalone, this._endTime && this._onSpanEnded();
1796
1827
  }
1828
+ /**
1829
+ * This should generally not be used,
1830
+ * but it is needed for being compliant with the OTEL Span interface.
1831
+ *
1832
+ * @hidden
1833
+ * @internal
1834
+ */
1835
+ addLink(e) {
1836
+ return this;
1837
+ }
1838
+ /**
1839
+ * This should generally not be used,
1840
+ * but it is needed for being compliant with the OTEL Span interface.
1841
+ *
1842
+ * @hidden
1843
+ * @internal
1844
+ */
1845
+ addLinks(e) {
1846
+ return this;
1847
+ }
1848
+ /**
1849
+ * This should generally not be used,
1850
+ * but it is needed for being compliant with the OTEL Span interface.
1851
+ *
1852
+ * @hidden
1853
+ * @internal
1854
+ */
1855
+ recordException(e, n) {
1856
+ }
1797
1857
  /** @inheritdoc */
1798
1858
  spanContext() {
1799
1859
  const { _spanId: e, _traceId: n, _sampled: r } = this;
1800
1860
  return {
1801
1861
  spanId: e,
1802
1862
  traceId: n,
1803
- traceFlags: r ? ae : oe
1863
+ traceFlags: r ? ce : ae
1804
1864
  };
1805
1865
  }
1806
1866
  /** @inheritdoc */
1807
1867
  setAttribute(e, n) {
1808
- n === void 0 ? delete this._attributes[e] : this._attributes[e] = n;
1868
+ return n === void 0 ? delete this._attributes[e] : this._attributes[e] = n, this;
1809
1869
  }
1810
1870
  /** @inheritdoc */
1811
1871
  setAttributes(e) {
1812
- Object.keys(e).forEach((n) => this.setAttribute(n, e[n]));
1872
+ return Object.keys(e).forEach((n) => this.setAttribute(n, e[n])), this;
1813
1873
  }
1814
1874
  /**
1815
1875
  * This should generally not be used,
@@ -1820,7 +1880,7 @@ class It {
1820
1880
  * @internal
1821
1881
  */
1822
1882
  updateStartTime(e) {
1823
- this._startTime = P(e);
1883
+ this._startTime = x(e);
1824
1884
  }
1825
1885
  /**
1826
1886
  * @inheritDoc
@@ -1836,7 +1896,7 @@ class It {
1836
1896
  }
1837
1897
  /** @inheritdoc */
1838
1898
  end(e) {
1839
- this._endTime || (this._endTime = P(e), wn(this), this._onSpanEnded());
1899
+ this._endTime || (this._endTime = x(e), xn(this), this._onSpanEnded());
1840
1900
  }
1841
1901
  /**
1842
1902
  * Get JSON representation of this span.
@@ -1850,18 +1910,18 @@ class It {
1850
1910
  return m({
1851
1911
  data: this._attributes,
1852
1912
  description: this._name,
1853
- op: this._attributes[at],
1913
+ op: this._attributes[ct],
1854
1914
  parent_span_id: this._parentSpanId,
1855
1915
  span_id: this._spanId,
1856
1916
  start_timestamp: this._startTime,
1857
- status: ce(this._status),
1917
+ status: ue(this._status),
1858
1918
  timestamp: this._endTime,
1859
1919
  trace_id: this._traceId,
1860
1920
  origin: this._attributes[Y],
1861
- _metrics_summary: ot(this),
1862
- profile_id: this._attributes[yn],
1863
- exclusive_time: this._attributes[En],
1864
- measurements: Lt(this._events),
1921
+ _metrics_summary: at(this),
1922
+ profile_id: this._attributes[En],
1923
+ exclusive_time: this._attributes[bn],
1924
+ measurements: Ut(this._events),
1865
1925
  is_segment: this._isStandaloneSpan && O(this) === this || void 0,
1866
1926
  segment_id: this._isStandaloneSpan ? O(this).spanContext().spanId : void 0
1867
1927
  });
@@ -1875,9 +1935,9 @@ class It {
1875
1935
  */
1876
1936
  addEvent(e, n, r) {
1877
1937
  y && p.log("[Tracing] Adding an event to span:", e);
1878
- const s = jt(n) ? n : r || x(), i = jt(n) ? {} : n || {}, o = {
1938
+ const s = vt(n) ? n : r || P(), i = vt(n) ? {} : n || {}, o = {
1879
1939
  name: e,
1880
- time: P(s),
1940
+ time: x(s),
1881
1941
  attributes: i
1882
1942
  };
1883
1943
  return this._events.push(o), this;
@@ -1899,32 +1959,32 @@ class It {
1899
1959
  if (e && e.emit("spanEnd", this), !(this._isStandaloneSpan || this === O(this)))
1900
1960
  return;
1901
1961
  if (this._isStandaloneSpan) {
1902
- this._sampled ? jn(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
+ this._sampled ? vn(Un([this], e)) : (y && p.log("[Tracing] Discarding standalone span because its trace was not chosen to be sampled."), e && e.recordDroppedEvent("sample_rate", "span"));
1903
1963
  return;
1904
1964
  }
1905
1965
  const r = this._convertSpanToTransaction();
1906
- r && (xt(this).scope || I()).captureEvent(r);
1966
+ r && (Mt(this).scope || I()).captureEvent(r);
1907
1967
  }
1908
1968
  /**
1909
1969
  * Finish the transaction & prepare the event to send to Sentry.
1910
1970
  */
1911
1971
  _convertSpanToTransaction() {
1912
- if (!vt(E(this)))
1972
+ if (!Ft(E(this)))
1913
1973
  return;
1914
1974
  this._name || (y && p.warn("Transaction has no name, falling back to `<unlabeled transaction>`."), this._name = "<unlabeled transaction>");
1915
- const { scope: e, isolationScope: n } = xt(this), s = (e || I()).getClient() || N();
1975
+ const { scope: e, isolationScope: n } = Mt(this), s = (e || I()).getClient() || N();
1916
1976
  if (this._sampled !== !0) {
1917
1977
  y && p.log("[Tracing] Discarding transaction because its trace was not chosen to be sampled."), s && s.recordDroppedEvent("sample_rate", "transaction");
1918
1978
  return;
1919
1979
  }
1920
- const o = Rn(this).filter((d) => d !== this && !Un(d)).map((d) => E(d)).filter(vt), a = this._attributes[Et], u = {
1980
+ const o = Dn(this).filter((d) => d !== this && !jn(d)).map((d) => E(d)).filter(Ft), a = this._attributes[bt], u = {
1921
1981
  contexts: {
1922
- trace: In(this)
1982
+ trace: Nn(this)
1923
1983
  },
1924
1984
  spans: (
1925
1985
  // spans.sort() mutates the array, but `spans` is already a copy so we can safely do this here
1926
1986
  // we do not use spans anymore after this point
1927
- o.length > Ut ? o.sort((d, l) => d.start_timestamp - l.start_timestamp).slice(0, Ut) : o
1987
+ o.length > jt ? o.sort((d, l) => d.start_timestamp - l.start_timestamp).slice(0, jt) : o
1928
1988
  ),
1929
1989
  start_timestamp: this._startTime,
1930
1990
  timestamp: this._endTime,
@@ -1934,32 +1994,32 @@ class It {
1934
1994
  capturedSpanScope: e,
1935
1995
  capturedSpanIsolationScope: n,
1936
1996
  ...m({
1937
- dynamicSamplingContext: Q(this)
1997
+ dynamicSamplingContext: Z(this)
1938
1998
  })
1939
1999
  },
1940
- _metrics_summary: ot(this),
2000
+ _metrics_summary: at(this),
1941
2001
  ...a && {
1942
2002
  transaction_info: {
1943
2003
  source: a
1944
2004
  }
1945
2005
  }
1946
- }, c = Lt(this._events);
2006
+ }, c = Ut(this._events);
1947
2007
  return c && Object.keys(c).length && (y && p.log(
1948
2008
  "[Measurements] Adding measurements to transaction event",
1949
2009
  JSON.stringify(c, void 0, 2)
1950
2010
  ), u.measurements = c), u;
1951
2011
  }
1952
2012
  }
1953
- function jt(t) {
2013
+ function vt(t) {
1954
2014
  return t && typeof t == "number" || t instanceof Date || Array.isArray(t);
1955
2015
  }
1956
- function vt(t) {
2016
+ function Ft(t) {
1957
2017
  return !!t.start_timestamp && !!t.timestamp && !!t.span_id && !!t.trace_id;
1958
2018
  }
1959
- function Un(t) {
1960
- return t instanceof It && t.isStandaloneSpan();
1961
- }
1962
2019
  function jn(t) {
2020
+ return t instanceof Nt && t.isStandaloneSpan();
2021
+ }
2022
+ function vn(t) {
1963
2023
  const e = N();
1964
2024
  if (!e)
1965
2025
  return;
@@ -1973,15 +2033,15 @@ function jn(t) {
1973
2033
  y && p.error("Error while sending span:", s);
1974
2034
  });
1975
2035
  }
1976
- const _e = "__SENTRY_SUPPRESS_TRACING__";
1977
- function Ft(t) {
1978
- const e = he();
2036
+ const he = "__SENTRY_SUPPRESS_TRACING__";
2037
+ function Gt(t) {
2038
+ const e = ge();
1979
2039
  if (e.startInactiveSpan)
1980
2040
  return e.startInactiveSpan(t);
1981
- const n = Gn(t), { forceTransaction: r, parentSpan: s } = t;
1982
- return (t.scope ? (o) => ee(t.scope, o) : s ? (o) => vn(s, o) : (o) => o())(() => {
1983
- const o = I(), a = Hn(o);
1984
- return t.onlyIfParent && !a ? new bt() : Fn({
2041
+ const n = Bn(t), { forceTransaction: r, parentSpan: s } = t;
2042
+ return (t.scope ? (o) => ne(t.scope, o) : s !== void 0 ? (o) => Fn(s, o) : (o) => o())(() => {
2043
+ const o = I(), a = Yn(o);
2044
+ return t.onlyIfParent && !a ? new Tt() : Gn({
1985
2045
  parentSpan: a,
1986
2046
  spanArguments: n,
1987
2047
  forceTransaction: r,
@@ -1989,25 +2049,25 @@ function Ft(t) {
1989
2049
  });
1990
2050
  });
1991
2051
  }
1992
- function vn(t, e) {
1993
- const n = he();
1994
- return n.withActiveSpan ? n.withActiveSpan(t, e) : ee((r) => (it(r, t || void 0), e(r)));
2052
+ function Fn(t, e) {
2053
+ const n = ge();
2054
+ return n.withActiveSpan ? n.withActiveSpan(t, e) : ne((r) => (ot(r, t || void 0), e(r)));
1995
2055
  }
1996
- function Fn({
2056
+ function Gn({
1997
2057
  parentSpan: t,
1998
2058
  spanArguments: e,
1999
2059
  forceTransaction: n,
2000
2060
  scope: r
2001
2061
  }) {
2002
- if (!pe())
2003
- return new bt();
2062
+ if (!le())
2063
+ return new Tt();
2004
2064
  const s = j();
2005
2065
  let i;
2006
2066
  if (t && !n)
2007
- i = Bn(t, r, e), ue(t, i);
2067
+ i = Hn(t, r, e), fe(t, i);
2008
2068
  else if (t) {
2009
- const o = Q(t), { traceId: a, spanId: u } = t.spanContext(), c = v(t);
2010
- i = Gt(
2069
+ const o = Z(t), { traceId: a, spanId: u } = t.spanContext(), c = v(t);
2070
+ i = Bt(
2011
2071
  {
2012
2072
  traceId: a,
2013
2073
  parentSpanId: u,
@@ -2015,7 +2075,7 @@ function Fn({
2015
2075
  },
2016
2076
  r,
2017
2077
  c
2018
- ), Mt(i, o);
2078
+ ), Lt(i, o);
2019
2079
  } else {
2020
2080
  const {
2021
2081
  traceId: o,
@@ -2026,7 +2086,7 @@ function Fn({
2026
2086
  ...s.getPropagationContext(),
2027
2087
  ...r.getPropagationContext()
2028
2088
  };
2029
- i = Gt(
2089
+ i = Bt(
2030
2090
  {
2031
2091
  traceId: o,
2032
2092
  parentSpanId: u,
@@ -2034,27 +2094,27 @@ function Fn({
2034
2094
  },
2035
2095
  r,
2036
2096
  c
2037
- ), a && Mt(i, a);
2097
+ ), a && Lt(i, a);
2038
2098
  }
2039
- return $n(i), Dn(i, r, s), i;
2099
+ return $n(i), Cn(i, r, s), i;
2040
2100
  }
2041
- function Gn(t) {
2101
+ function Bn(t) {
2042
2102
  const n = {
2043
2103
  isStandalone: (t.experimental || {}).standalone,
2044
2104
  ...t
2045
2105
  };
2046
2106
  if (t.startTime) {
2047
2107
  const r = { ...n };
2048
- return r.startTimestamp = P(t.startTime), delete r.startTime, r;
2108
+ return r.startTimestamp = x(t.startTime), delete r.startTime, r;
2049
2109
  }
2050
2110
  return n;
2051
2111
  }
2052
- function he() {
2112
+ function ge() {
2053
2113
  const t = U();
2054
2114
  return J(t);
2055
2115
  }
2056
- function Gt(t, e, n) {
2057
- const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[_e] ? [!1] : xn(s, {
2116
+ function Bt(t, e, n) {
2117
+ const r = N(), s = r && r.getOptions() || {}, { name: i = "", attributes: o } = t, [a, u] = e.getScopeData().sdkProcessingMetadata[he] ? [!1] : Mn(s, {
2058
2118
  name: i,
2059
2119
  parentSampled: n,
2060
2120
  attributes: o,
@@ -2062,50 +2122,50 @@ function Gt(t, e, n) {
2062
2122
  name: i,
2063
2123
  parentSampled: n
2064
2124
  }
2065
- }), c = new It({
2125
+ }), c = new Nt({
2066
2126
  ...t,
2067
2127
  attributes: {
2068
- [Et]: "custom",
2128
+ [bt]: "custom",
2069
2129
  ...t.attributes
2070
2130
  },
2071
2131
  sampled: a
2072
2132
  });
2073
- return u !== void 0 && c.setAttribute(ne, u), r && r.emit("spanStart", c), c;
2133
+ return u !== void 0 && c.setAttribute(re, u), r && r.emit("spanStart", c), c;
2074
2134
  }
2075
- function Bn(t, e, n) {
2076
- const { spanId: r, traceId: s } = t.spanContext(), i = e.getScopeData().sdkProcessingMetadata[_e] ? !1 : v(t), o = i ? new It({
2135
+ function Hn(t, e, n) {
2136
+ const { spanId: r, traceId: s } = t.spanContext(), i = e.getScopeData().sdkProcessingMetadata[he] ? !1 : v(t), o = i ? new Nt({
2077
2137
  ...n,
2078
2138
  parentSpanId: r,
2079
2139
  traceId: s,
2080
2140
  sampled: i
2081
- }) : new bt({ traceId: s });
2082
- ue(t, o);
2141
+ }) : new Tt({ traceId: s });
2142
+ fe(t, o);
2083
2143
  const a = N();
2084
2144
  return a && (a.emit("spanStart", o), n.endTimestamp && a.emit("spanEnd", o)), o;
2085
2145
  }
2086
- function Hn(t) {
2087
- const e = q(t);
2146
+ function Yn(t) {
2147
+ const e = V(t);
2088
2148
  if (!e)
2089
2149
  return;
2090
2150
  const n = N();
2091
2151
  return (n ? n.getOptions() : {}).parentSpanIsAlwaysRootSpan ? O(e) : e;
2092
2152
  }
2093
- function ft(t, e, n, r = 0) {
2153
+ function dt(t, e, n, r = 0) {
2094
2154
  return new T((s, i) => {
2095
2155
  const o = t[r];
2096
2156
  if (e === null || typeof o != "function")
2097
2157
  s(e);
2098
2158
  else {
2099
2159
  const a = o({ ...e }, n);
2100
- y && o.id && a === null && p.log(`Event processor "${o.id}" dropped event`), pt(a) ? a.then((u) => ft(t, u, n, r + 1).then(s)).then(null, i) : ft(t, a, n, r + 1).then(s).then(null, i);
2160
+ y && o.id && a === null && p.log(`Event processor "${o.id}" dropped event`), lt(a) ? a.then((u) => dt(t, u, n, r + 1).then(s)).then(null, i) : dt(t, a, n, r + 1).then(s).then(null, i);
2101
2161
  }
2102
2162
  });
2103
2163
  }
2104
- function Yn(t, e) {
2164
+ function Jn(t, e) {
2105
2165
  const { fingerprint: n, span: r, breadcrumbs: s, sdkProcessingMetadata: i } = e;
2106
- Jn(t, e), r && qn(t, r), Vn(t, n), Kn(t, s), zn(t, i);
2166
+ Kn(t, e), r && Vn(t, r), Wn(t, n), zn(t, s), qn(t, i);
2107
2167
  }
2108
- function Bt(t, e) {
2168
+ function Ht(t, e) {
2109
2169
  const {
2110
2170
  extra: n,
2111
2171
  tags: r,
@@ -2119,9 +2179,9 @@ function Bt(t, e) {
2119
2179
  attachments: d,
2120
2180
  propagationContext: l,
2121
2181
  transactionName: g,
2122
- span: $
2182
+ span: w
2123
2183
  } = e;
2124
- F(t, "extra", n), F(t, "tags", r), F(t, "user", s), F(t, "contexts", i), F(t, "sdkProcessingMetadata", a), o && (t.level = o), g && (t.transactionName = g), $ && (t.span = $), u.length && (t.breadcrumbs = [...t.breadcrumbs, ...u]), c.length && (t.fingerprint = [...t.fingerprint, ...c]), f.length && (t.eventProcessors = [...t.eventProcessors, ...f]), d.length && (t.attachments = [...t.attachments, ...d]), t.propagationContext = { ...t.propagationContext, ...l };
2184
+ F(t, "extra", n), F(t, "tags", r), F(t, "user", s), F(t, "contexts", i), F(t, "sdkProcessingMetadata", a), o && (t.level = o), g && (t.transactionName = g), w && (t.span = w), u.length && (t.breadcrumbs = [...t.breadcrumbs, ...u]), c.length && (t.fingerprint = [...t.fingerprint, ...c]), f.length && (t.eventProcessors = [...t.eventProcessors, ...f]), d.length && (t.attachments = [...t.attachments, ...d]), t.propagationContext = { ...t.propagationContext, ...l };
2125
2185
  }
2126
2186
  function F(t, e, n) {
2127
2187
  if (n && Object.keys(n).length) {
@@ -2130,7 +2190,7 @@ function F(t, e, n) {
2130
2190
  Object.prototype.hasOwnProperty.call(n, r) && (t[e][r] = n[r]);
2131
2191
  }
2132
2192
  }
2133
- function Jn(t, e) {
2193
+ function Kn(t, e) {
2134
2194
  const { extra: n, tags: r, user: s, contexts: i, level: o, transactionName: a } = e, u = m(n);
2135
2195
  u && Object.keys(u).length && (t.extra = { ...u, ...t.extra });
2136
2196
  const c = m(r);
@@ -2140,73 +2200,73 @@ function Jn(t, e) {
2140
2200
  const d = m(i);
2141
2201
  d && Object.keys(d).length && (t.contexts = { ...d, ...t.contexts }), o && (t.level = o), a && t.type !== "transaction" && (t.transaction = a);
2142
2202
  }
2143
- function Kn(t, e) {
2203
+ function zn(t, e) {
2144
2204
  const n = [...t.breadcrumbs || [], ...e];
2145
2205
  t.breadcrumbs = n.length ? n : void 0;
2146
2206
  }
2147
- function zn(t, e) {
2207
+ function qn(t, e) {
2148
2208
  t.sdkProcessingMetadata = {
2149
2209
  ...t.sdkProcessingMetadata,
2150
2210
  ...e
2151
2211
  };
2152
2212
  }
2153
- function qn(t, e) {
2213
+ function Vn(t, e) {
2154
2214
  t.contexts = {
2155
- trace: Nn(e),
2215
+ trace: An(e),
2156
2216
  ...t.contexts
2157
2217
  }, t.sdkProcessingMetadata = {
2158
- dynamicSamplingContext: Q(e),
2218
+ dynamicSamplingContext: Z(e),
2159
2219
  ...t.sdkProcessingMetadata
2160
2220
  };
2161
2221
  const n = O(e), r = E(n).description;
2162
2222
  r && !t.transaction && t.type === "transaction" && (t.transaction = r);
2163
2223
  }
2164
- function Vn(t, e) {
2165
- t.fingerprint = t.fingerprint ? He(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
2224
+ function Wn(t, e) {
2225
+ t.fingerprint = t.fingerprint ? Ye(t.fingerprint) : [], e && (t.fingerprint = t.fingerprint.concat(e)), t.fingerprint && !t.fingerprint.length && delete t.fingerprint;
2166
2226
  }
2167
- function es(t, e, n, r, s, i) {
2227
+ function ns(t, e, n, r, s, i) {
2168
2228
  const { normalizeDepth: o = 3, normalizeMaxBreadth: a = 1e3 } = t, u = {
2169
2229
  ...e,
2170
2230
  event_id: e.event_id || n.event_id || _(),
2171
- timestamp: e.timestamp || gt()
2231
+ timestamp: e.timestamp || mt()
2172
2232
  }, c = n.integrations || t.integrations.map((b) => b.name);
2173
- Wn(u, t), Zn(u, c), e.type === void 0 && Xn(u, t.stackParser);
2174
- const f = er(r, n.captureContext);
2175
- n.mechanism && Be(u, n.mechanism);
2176
- const d = s ? s.getEventProcessors() : [], l = mn().getScopeData();
2233
+ Xn(u, t), tr(u, c), s && s.emit("applyFrameMetadata", e), e.type === void 0 && Qn(u, t.stackParser);
2234
+ const f = nr(r, n.captureContext);
2235
+ n.mechanism && He(u, n.mechanism);
2236
+ const d = s ? s.getEventProcessors() : [], l = Sn().getScopeData();
2177
2237
  if (i) {
2178
2238
  const b = i.getScopeData();
2179
- Bt(l, b);
2239
+ Ht(l, b);
2180
2240
  }
2181
2241
  if (f) {
2182
2242
  const b = f.getScopeData();
2183
- Bt(l, b);
2243
+ Ht(l, b);
2184
2244
  }
2185
2245
  const g = [...n.attachments || [], ...l.attachments];
2186
- g.length && (n.attachments = g), Yn(u, l);
2187
- const $ = [
2246
+ g.length && (n.attachments = g), Jn(u, l);
2247
+ const w = [
2188
2248
  ...d,
2189
2249
  // Run scope event processors _after_ all other processors
2190
2250
  ...l.eventProcessors
2191
2251
  ];
2192
- return ft($, u, n).then((b) => (b && Qn(b), typeof o == "number" && o > 0 ? tr(b, o, a) : b));
2252
+ return dt(w, u, n).then((b) => (b && Zn(b), typeof o == "number" && o > 0 ? er(b, o, a) : b));
2193
2253
  }
2194
- function Wn(t, e) {
2254
+ function Xn(t, e) {
2195
2255
  const { environment: n, release: r, dist: s, maxValueLength: i = 250 } = e;
2196
- "environment" in t || (t.environment = "environment" in e ? n : Tt), 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
+ "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));
2197
2257
  const o = t.exception && t.exception.values && t.exception.values[0];
2198
2258
  o && o.value && (o.value = G(o.value, i));
2199
2259
  const a = t.request;
2200
2260
  a && a.url && (a.url = G(a.url, i));
2201
2261
  }
2202
- const Ht = /* @__PURE__ */ new WeakMap();
2203
- function Xn(t, e) {
2262
+ const Yt = /* @__PURE__ */ new WeakMap();
2263
+ function Qn(t, e) {
2204
2264
  const n = h._sentryDebugIds;
2205
2265
  if (!n)
2206
2266
  return;
2207
2267
  let r;
2208
- const s = Ht.get(e);
2209
- s ? r = s : (r = /* @__PURE__ */ new Map(), Ht.set(e, r));
2268
+ const s = Yt.get(e);
2269
+ s ? r = s : (r = /* @__PURE__ */ new Map(), Yt.set(e, r));
2210
2270
  const i = Object.entries(n).reduce(
2211
2271
  (o, [a, u]) => {
2212
2272
  let c;
@@ -2232,7 +2292,7 @@ function Xn(t, e) {
2232
2292
  } catch {
2233
2293
  }
2234
2294
  }
2235
- function Qn(t) {
2295
+ function Zn(t) {
2236
2296
  const e = {};
2237
2297
  try {
2238
2298
  t.exception.values.forEach((r) => {
@@ -2254,10 +2314,10 @@ function Qn(t) {
2254
2314
  });
2255
2315
  });
2256
2316
  }
2257
- function Zn(t, e) {
2317
+ function tr(t, e) {
2258
2318
  e.length > 0 && (t.sdk = t.sdk || {}, t.sdk.integrations = [...t.sdk.integrations || [], ...e]);
2259
2319
  }
2260
- function tr(t, e, n) {
2320
+ function er(t, e, n) {
2261
2321
  if (!t)
2262
2322
  return null;
2263
2323
  const r = {
@@ -2287,22 +2347,22 @@ function tr(t, e, n) {
2287
2347
  }
2288
2348
  }))), r;
2289
2349
  }
2290
- function er(t, e) {
2350
+ function nr(t, e) {
2291
2351
  if (!e)
2292
2352
  return t;
2293
2353
  const n = t ? t.clone() : new C();
2294
2354
  return n.update(e), n;
2295
2355
  }
2296
- function nr(t) {
2356
+ function rr(t) {
2297
2357
  if (t)
2298
- return rr(t) ? { captureContext: t } : ir(t) ? {
2358
+ return sr(t) ? { captureContext: t } : or(t) ? {
2299
2359
  captureContext: t
2300
2360
  } : t;
2301
2361
  }
2302
- function rr(t) {
2362
+ function sr(t) {
2303
2363
  return t instanceof C || typeof t == "function";
2304
2364
  }
2305
- const sr = [
2365
+ const ir = [
2306
2366
  "user",
2307
2367
  "level",
2308
2368
  "extra",
@@ -2312,53 +2372,53 @@ const sr = [
2312
2372
  "requestSession",
2313
2373
  "propagationContext"
2314
2374
  ];
2315
- function ir(t) {
2316
- return Object.keys(t).some((e) => sr.includes(e));
2375
+ function or(t) {
2376
+ return Object.keys(t).some((e) => ir.includes(e));
2317
2377
  }
2318
- function or(t, e) {
2319
- return I().captureException(t, nr(e));
2378
+ function ar(t, e) {
2379
+ return I().captureException(t, rr(e));
2320
2380
  }
2321
- function ns(t, e) {
2381
+ function rs(t, e) {
2322
2382
  return I().captureEvent(t, e);
2323
2383
  }
2324
- function rs(t, e) {
2384
+ function ss(t, e) {
2325
2385
  j().setContext(t, e);
2326
2386
  }
2327
- function ss(t) {
2387
+ function is(t) {
2328
2388
  j().addEventProcessor(t);
2329
2389
  }
2330
- function is(t) {
2331
- const e = N(), n = j(), r = I(), { release: s, environment: i = Tt } = e && e.getOptions() || {}, { userAgent: o } = h.navigator || {}, a = an({
2390
+ function os(t) {
2391
+ const e = N(), n = j(), r = I(), { release: s, environment: i = It } = e && e.getOptions() || {}, { userAgent: o } = h.navigator || {}, a = cn({
2332
2392
  release: s,
2333
2393
  environment: i,
2334
2394
  user: r.getUser() || n.getUser(),
2335
2395
  ...o && { userAgent: o },
2336
2396
  ...t
2337
2397
  }), u = n.getSession();
2338
- return u && u.status === "ok" && X(u, { status: "exited" }), ge(), n.setSession(a), r.setSession(a), a;
2398
+ return u && u.status === "ok" && Q(u, { status: "exited" }), me(), n.setSession(a), r.setSession(a), a;
2339
2399
  }
2340
- function ge() {
2400
+ function me() {
2341
2401
  const t = j(), e = I(), n = e.getSession() || t.getSession();
2342
- n && cn(n), me(), t.setSession(), e.setSession();
2402
+ n && un(n), Se(), t.setSession(), e.setSession();
2343
2403
  }
2344
- function me() {
2404
+ function Se() {
2345
2405
  const t = j(), e = I(), n = N(), r = e.getSession() || t.getSession();
2346
2406
  r && n && n.captureSession(r);
2347
2407
  }
2348
- function os(t = !1) {
2408
+ function as(t = !1) {
2349
2409
  if (t) {
2350
- ge();
2410
+ me();
2351
2411
  return;
2352
2412
  }
2353
- me();
2413
+ Se();
2354
2414
  }
2355
- 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>", tt = "<Anonymous>", pr = (t, e) => t.repeat(e), H = (t, e) => {
2415
+ const cr = ["activate", "mount", "update"], ur = typeof __SENTRY_DEBUG__ > "u" || __SENTRY_DEBUG__, fr = /(?:^|[-_])(\w)/g, dr = (t) => t.replace(fr, (e) => e.toUpperCase()).replace(/[-_]/g, ""), pr = "<Root>", et = "<Anonymous>", lr = (t, e) => t.repeat(e), H = (t, e) => {
2356
2416
  if (!t)
2357
- return tt;
2417
+ return et;
2358
2418
  if (t.$root === t)
2359
- return dr;
2419
+ return pr;
2360
2420
  if (!t.$options)
2361
- return tt;
2421
+ return et;
2362
2422
  const n = t.$options;
2363
2423
  let r = n.name || n._componentTag;
2364
2424
  const s = n.__file;
@@ -2366,8 +2426,8 @@ const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" |
2366
2426
  const i = s.match(/([^/\\]+)\.vue$/);
2367
2427
  i && (r = i[1]);
2368
2428
  }
2369
- return (r ? `<${fr(r)}>` : tt) + (s && e !== !1 ? ` at ${s}` : "");
2370
- }, lr = (t) => {
2429
+ return (r ? `<${dr(r)}>` : et) + (s && e !== !1 ? ` at ${s}` : "");
2430
+ }, _r = (t) => {
2371
2431
  if (t && (t._isVue || t.__isVue) && t.$parent) {
2372
2432
  const e = [];
2373
2433
  let n = 0;
@@ -2386,34 +2446,34 @@ const ar = ["activate", "mount", "update"], cr = typeof __SENTRY_DEBUG__ > "u" |
2386
2446
  found in
2387
2447
 
2388
2448
  ${e.map(
2389
- (s, i) => `${(i === 0 ? "---> " : pr(" ", 5 + i * 2)) + (Array.isArray(s) ? `${H(s[0])}... (${s[1]} recursive calls)` : H(s))}`
2449
+ (s, i) => `${(i === 0 ? "---> " : lr(" ", 5 + i * 2)) + (Array.isArray(s) ? `${H(s[0])}... (${s[1]} recursive calls)` : H(s))}`
2390
2450
  ).join(`
2391
2451
  `)}`;
2392
2452
  }
2393
2453
  return `
2394
2454
 
2395
2455
  (found in ${H(t)})`;
2396
- }, as = (t, e) => {
2456
+ }, cs = (t, e) => {
2397
2457
  const { errorHandler: n, warnHandler: r, silent: s } = t.config;
2398
2458
  t.config.errorHandler = (i, o, a) => {
2399
- const u = H(o, !1), c = o ? lr(o) : "", f = {
2459
+ const u = H(o, !1), c = o ? _r(o) : "", f = {
2400
2460
  componentName: u,
2401
2461
  lifecycleHook: a,
2402
2462
  trace: c
2403
2463
  };
2404
2464
  if (e.attachProps && o && (o.$options && o.$options.propsData ? f.propsData = o.$options.propsData : o.$props && (f.propsData = o.$props)), setTimeout(() => {
2405
- or(i, {
2465
+ ar(i, {
2406
2466
  captureContext: { contexts: { vue: f } },
2407
2467
  mechanism: { handled: !1 }
2408
2468
  });
2409
2469
  }), typeof n == "function" && n.call(t, i, o, a), e.logErrors) {
2410
2470
  const d = typeof console < "u", l = `Error in ${a}: "${i && i.toString()}"`;
2411
- r ? r.call(null, l, o, c) : d && !s && _t(() => {
2471
+ r ? r.call(null, l, o, c) : d && !s && ht(() => {
2412
2472
  console.error(`[Vue warn]: ${l}${c}`);
2413
2473
  });
2414
2474
  }
2415
2475
  };
2416
- }, Yt = "ui.vue", _r = {
2476
+ }, Jt = "ui.vue", hr = {
2417
2477
  activate: ["activated", "deactivated"],
2418
2478
  create: ["beforeCreate", "created"],
2419
2479
  // Vue 3
@@ -2423,25 +2483,25 @@ ${e.map(
2423
2483
  mount: ["beforeMount", "mounted"],
2424
2484
  update: ["beforeUpdate", "updated"]
2425
2485
  };
2426
- function hr(t, e, n) {
2486
+ function gr(t, e, n) {
2427
2487
  t.$_sentryRootSpanTimer && clearTimeout(t.$_sentryRootSpanTimer), t.$_sentryRootSpanTimer = setTimeout(() => {
2428
2488
  t.$root && t.$root.$_sentryRootSpan && (t.$root.$_sentryRootSpan.end(e), t.$root.$_sentryRootSpan = void 0);
2429
2489
  }, n);
2430
2490
  }
2431
- const cs = (t) => {
2432
- const e = (t.hooks || []).concat(ar).filter((r, s, i) => i.indexOf(r) === s), n = {};
2491
+ const us = (t) => {
2492
+ const e = (t.hooks || []).concat(cr).filter((r, s, i) => i.indexOf(r) === s), n = {};
2433
2493
  for (const r of e) {
2434
- const s = _r[r];
2494
+ const s = hr[r];
2435
2495
  if (!s) {
2436
- cr && p.warn(`Unknown hook: ${r}`);
2496
+ ur && p.warn(`Unknown hook: ${r}`);
2437
2497
  continue;
2438
2498
  }
2439
2499
  for (const i of s)
2440
2500
  n[i] = function() {
2441
2501
  const o = this.$root === this;
2442
- o && ut() && (this.$_sentryRootSpan = this.$_sentryRootSpan || Ft({
2502
+ o && ft() && (this.$_sentryRootSpan = this.$_sentryRootSpan || Gt({
2443
2503
  name: "Application Render",
2444
- op: `${Yt}.render`,
2504
+ op: `${Jt}.render`,
2445
2505
  attributes: {
2446
2506
  [Y]: "auto.ui.vue"
2447
2507
  }
@@ -2449,11 +2509,11 @@ const cs = (t) => {
2449
2509
  const a = H(this, !1), u = Array.isArray(t.trackComponents) ? t.trackComponents.indexOf(a) > -1 : t.trackComponents;
2450
2510
  if (!(!o && !u))
2451
2511
  if (this.$_sentrySpans = this.$_sentrySpans || {}, i == s[0]) {
2452
- if (this.$root && this.$root.$_sentryRootSpan || ut()) {
2512
+ if (this.$root && this.$root.$_sentryRootSpan || ft()) {
2453
2513
  const f = this.$_sentrySpans[r];
2454
- f && f.end(), this.$_sentrySpans[r] = Ft({
2514
+ f && f.end(), this.$_sentrySpans[r] = Gt({
2455
2515
  name: `Vue <${a}>`,
2456
- op: `${Yt}.${r}`,
2516
+ op: `${Jt}.${r}`,
2457
2517
  attributes: {
2458
2518
  [Y]: "auto.ui.vue"
2459
2519
  }
@@ -2462,129 +2522,129 @@ const cs = (t) => {
2462
2522
  } else {
2463
2523
  const c = this.$_sentrySpans[r];
2464
2524
  if (!c) return;
2465
- c.end(), hr(this, x(), t.timeout);
2525
+ c.end(), gr(this, P(), t.timeout);
2466
2526
  }
2467
2527
  };
2468
2528
  }
2469
2529
  return n;
2470
2530
  };
2471
- var us = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2472
- function fs(t) {
2531
+ var fs = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2532
+ function ds(t) {
2473
2533
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2474
2534
  }
2475
2535
  export {
2476
- dt as $,
2477
- Rn as A,
2536
+ pt as $,
2537
+ Dn as A,
2478
2538
  E as B,
2479
- Nt as C,
2480
- W as D,
2481
- qr as E,
2482
- Xr as F,
2539
+ At as C,
2540
+ X as D,
2541
+ Vr as E,
2542
+ Qr as F,
2483
2543
  h as G,
2484
- Ft as H,
2485
- kr as I,
2486
- He as J,
2487
- Rr as K,
2544
+ Gt as H,
2545
+ wr as I,
2546
+ Ye as J,
2547
+ Dr as K,
2488
2548
  _ as L,
2489
- Ur as M,
2490
- br as N,
2491
- X as O,
2492
- Zr as P,
2493
- Hr as Q,
2494
- Kr as R,
2549
+ jr as M,
2550
+ Tr as N,
2551
+ Q as O,
2552
+ ts as P,
2553
+ Yr as Q,
2554
+ zr as R,
2495
2555
  T as S,
2496
- Qr as T,
2497
- es as U,
2556
+ Zr as T,
2557
+ ns as U,
2498
2558
  m as V,
2499
- kn as W,
2559
+ wn as W,
2500
2560
  j as X,
2501
2561
  Pn as Y,
2502
- pt as Z,
2503
- it as _,
2504
- cs as a,
2505
- ye as a0,
2506
- _t as a1,
2507
- Yr as a2,
2508
- zr as a3,
2509
- Jr as a4,
2562
+ lt as Z,
2563
+ ot as _,
2564
+ us as a,
2565
+ Ee as a0,
2566
+ ht as a1,
2567
+ Jr as a2,
2568
+ qr as a3,
2569
+ Kr as a4,
2510
2570
  B as a5,
2511
- Cr as a6,
2512
- Mr as a7,
2513
- Ir as a8,
2571
+ kr as a6,
2572
+ Lr as a7,
2573
+ Nr as a8,
2514
2574
  Pr as a9,
2515
- En as aA,
2516
- re as aB,
2517
- se as aC,
2518
- Ue as aD,
2519
- Le as aE,
2520
- Tr as aF,
2521
- ns as aG,
2522
- Nr as aH,
2523
- wr as aI,
2524
- is as aJ,
2525
- os as aK,
2526
- Et as aL,
2527
- ss as aM,
2528
- rs as aN,
2575
+ bn as aA,
2576
+ se as aB,
2577
+ ie as aC,
2578
+ je as aD,
2579
+ Ue as aE,
2580
+ Ir as aF,
2581
+ rs as aG,
2582
+ Ar as aH,
2583
+ xr as aI,
2584
+ os as aJ,
2585
+ as as aK,
2586
+ bt as aL,
2587
+ is as aM,
2588
+ ss as aN,
2529
2589
  R as aO,
2530
- on as aP,
2531
- te as aQ,
2532
- Br as aR,
2590
+ an as aP,
2591
+ ee as aQ,
2592
+ Hr as aR,
2533
2593
  v as aS,
2534
- Ar as aT,
2594
+ Or as aT,
2535
2595
  $t as aU,
2536
- cr as aV,
2537
- ar as aW,
2596
+ ur as aV,
2597
+ cr as aW,
2538
2598
  Y as aa,
2539
- at as ab,
2540
- Wr as ac,
2541
- en as ad,
2542
- Gr as ae,
2543
- Q as af,
2544
- Fr as ag,
2545
- Vr as ah,
2546
- xe as ai,
2547
- ee as aj,
2548
- Lr as ak,
2549
- Be as al,
2550
- or as am,
2551
- Sr as an,
2552
- yr as ao,
2553
- Er as ap,
2554
- Ee as aq,
2555
- Ye as ar,
2599
+ ct as ab,
2600
+ Xr as ac,
2601
+ nn as ad,
2602
+ Br as ae,
2603
+ Z as af,
2604
+ Gr as ag,
2605
+ Wr as ah,
2606
+ Me as ai,
2607
+ ne as aj,
2608
+ Ur as ak,
2609
+ He as al,
2610
+ ar as am,
2611
+ yr as an,
2612
+ Er as ao,
2613
+ br as ap,
2614
+ be as aq,
2615
+ Je as ar,
2556
2616
  $r as as,
2557
- ht as at,
2558
- vn as au,
2559
- xr as av,
2560
- Oe as aw,
2561
- Or as ax,
2562
- ts as ay,
2563
- z as az,
2564
- as as b,
2565
- us as c,
2566
- ve as d,
2567
- x as e,
2568
- Dr as f,
2569
- fs as g,
2570
- Se as h,
2571
- V as i,
2617
+ gt as at,
2618
+ Fn as au,
2619
+ Mr as av,
2620
+ Re as aw,
2621
+ Rr as ax,
2622
+ es as ay,
2623
+ q as az,
2624
+ cs as b,
2625
+ fs as c,
2626
+ Fe as d,
2627
+ P as e,
2628
+ Cr as f,
2629
+ ds as g,
2630
+ ye as h,
2631
+ W as i,
2572
2632
  D as j,
2573
- jr as k,
2633
+ vr as k,
2574
2634
  p as l,
2575
- mt as m,
2576
- gt as n,
2577
- At as o,
2578
- ut as p,
2635
+ St as m,
2636
+ mt as n,
2637
+ Ot as o,
2638
+ ft as p,
2579
2639
  O as q,
2580
- vr as r,
2640
+ Fr as r,
2581
2641
  y as s,
2582
2642
  G as t,
2583
2643
  S as u,
2584
2644
  N as v,
2585
- pe as w,
2586
- bt as x,
2645
+ le as w,
2646
+ Tt as x,
2587
2647
  I as y,
2588
- P as z
2648
+ x as z
2589
2649
  };
2590
- //# sourceMappingURL=_commonjsHelpers-DEK47QeC.js.map
2650
+ //# sourceMappingURL=_commonjsHelpers-BeCRh3Xf.js.map