@launchdarkly/observability 1.1.4 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -14,11 +14,11 @@ var xc = Object.defineProperty, Pc = (t, e, n) => e in t ? xc(t, e, { enumerable
14
14
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
15
15
  u((n = n.apply(t, e)).next());
16
16
  });
17
- const Eo = /* @__PURE__ */ Object.create(null), Re = (t, e, ...n) => {
17
+ const To = /* @__PURE__ */ Object.create(null), Re = (t, e, ...n) => {
18
18
  const r = `[@launchdarkly plugins]: (${t}): `;
19
19
  console[e].apply(console, [r, ...n]), kc(r, ...n);
20
20
  }, Ce = (t, e, n, ...r) => {
21
- Eo[`${t}-${e}`] || (Eo[`${t}-${e}`] = !0, Re(t, n, ...r));
21
+ To[`${t}-${e}`] || (To[`${t}-${e}`] = !0, Re(t, n, ...r));
22
22
  }, kc = (t, ...e) => Ic(void 0, null, function* () {
23
23
  try {
24
24
  const { LDObserve: n } = yield Promise.resolve().then(() => rf);
@@ -41,7 +41,7 @@ class Mc {
41
41
  this.name && (n += ` - ${this.name}`), console.warn.apply(console, [n, ...e]);
42
42
  }
43
43
  }
44
- let us = class {
44
+ let cs = class {
45
45
  constructor() {
46
46
  _e(this, "_sdk"), _e(this, "_isLoaded", !1), _e(this, "_callBuffer", []), _e(this, "_capacity", 1e5), _e(this, "_droppedEvents", 0), _e(this, "_exceededCapacity", !1), _e(this, "_logger", new Mc());
47
47
  }
@@ -82,22 +82,22 @@ let us = class {
82
82
  this._callBuffer = [];
83
83
  }
84
84
  };
85
- var Dc = Object.defineProperty, Uc = Object.defineProperties, jc = Object.getOwnPropertyDescriptors, Rn = Object.getOwnPropertySymbols, cs = Object.prototype.hasOwnProperty, ls = Object.prototype.propertyIsEnumerable, ei = (t, e, n) => e in t ? Dc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, I = (t, e) => {
85
+ var Dc = Object.defineProperty, Uc = Object.defineProperties, jc = Object.getOwnPropertyDescriptors, Ln = Object.getOwnPropertySymbols, ls = Object.prototype.hasOwnProperty, ps = Object.prototype.propertyIsEnumerable, ei = (t, e, n) => e in t ? Dc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, I = (t, e) => {
86
86
  for (var n in e || (e = {}))
87
- cs.call(e, n) && ei(t, n, e[n]);
88
- if (Rn)
89
- for (var n of Rn(e))
90
- ls.call(e, n) && ei(t, n, e[n]);
87
+ ls.call(e, n) && ei(t, n, e[n]);
88
+ if (Ln)
89
+ for (var n of Ln(e))
90
+ ps.call(e, n) && ei(t, n, e[n]);
91
91
  return t;
92
- }, Cn = (t, e) => Uc(t, jc(e)), Pt = (t, e) => {
92
+ }, Rn = (t, e) => Uc(t, jc(e)), Pt = (t, e) => {
93
93
  var n = {};
94
94
  for (var r in t)
95
- cs.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
96
- if (t != null && Rn)
97
- for (var r of Rn(t))
98
- e.indexOf(r) < 0 && ls.call(t, r) && (n[r] = t[r]);
95
+ ls.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
96
+ if (t != null && Ln)
97
+ for (var r of Ln(t))
98
+ e.indexOf(r) < 0 && ps.call(t, r) && (n[r] = t[r]);
99
99
  return n;
100
- }, jt = (t, e, n) => ei(t, typeof e != "symbol" ? e + "" : e, n), dt = (t, e, n) => new Promise((r, i) => {
100
+ }, Ut = (t, e, n) => ei(t, typeof e != "symbol" ? e + "" : e, n), dt = (t, e, n) => new Promise((r, i) => {
101
101
  var o = (c) => {
102
102
  try {
103
103
  u(n.next(c));
@@ -113,7 +113,7 @@ var Dc = Object.defineProperty, Uc = Object.defineProperties, jc = Object.getOwn
113
113
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
114
114
  u((n = n.apply(t, e)).next());
115
115
  });
116
- function yn(t, e) {
116
+ function vn(t, e) {
117
117
  throw new Error(e);
118
118
  }
119
119
  function $c(t) {
@@ -138,26 +138,26 @@ function ti(t, e) {
138
138
  };
139
139
  }
140
140
  function Vc(t) {
141
- return ps(
141
+ return fs(
142
142
  t.source,
143
143
  ti(t.source, t.start)
144
144
  );
145
145
  }
146
- function ps(t, e) {
146
+ function fs(t, e) {
147
147
  const n = t.locationOffset.column - 1, r = "".padStart(n) + t.body, i = e.line - 1, o = t.locationOffset.line - 1, a = e.line + o, u = e.line === 1 ? n : 0, c = e.column + u, s = `${t.name}:${a}:${c}
148
148
  `, l = r.split(/\r\n|[\n\r]/g), p = l[i];
149
149
  if (p.length > 120) {
150
150
  const f = Math.floor(c / 80), m = c % 80, v = [];
151
151
  for (let y = 0; y < p.length; y += 80)
152
152
  v.push(p.slice(y, y + 80));
153
- return s + To([
153
+ return s + bo([
154
154
  [`${a} |`, v[0]],
155
155
  ...v.slice(1, f + 1).map((y) => ["|", y]),
156
156
  ["|", "^".padStart(m)],
157
157
  ["|", v[f + 1]]
158
158
  ]);
159
159
  }
160
- return s + To([
160
+ return s + bo([
161
161
  // Lines specified like this: ["prefix", "string"],
162
162
  [`${a - 1} |`, l[i - 1]],
163
163
  [`${a} |`, p],
@@ -165,7 +165,7 @@ function ps(t, e) {
165
165
  [`${a + 1} |`, l[i + 1]]
166
166
  ]);
167
167
  }
168
- function To(t) {
168
+ function bo(t) {
169
169
  const e = t.filter(([r, i]) => i !== void 0), n = Math.max(...e.map(([r]) => r.length));
170
170
  return e.map(([r, i]) => r.padStart(n) + (i ? " " + i : "")).join(`
171
171
  `);
@@ -181,7 +181,7 @@ function Hc(t) {
181
181
  extensions: t[5]
182
182
  } : e;
183
183
  }
184
- let Gc = class fs extends Error {
184
+ let Gc = class hs extends Error {
185
185
  /**
186
186
  * An array of `{ line, column }` locations within the source GraphQL document
187
187
  * which correspond to this error.
@@ -223,10 +223,10 @@ let Gc = class fs extends Error {
223
223
  constructor(e, ...n) {
224
224
  var r, i, o;
225
225
  const { nodes: a, source: u, positions: c, path: s, originalError: l, extensions: p } = Hc(n);
226
- super(e), this.name = "GraphQLError", this.path = s ?? void 0, this.originalError = l ?? void 0, this.nodes = bo(
226
+ super(e), this.name = "GraphQLError", this.path = s ?? void 0, this.originalError = l ?? void 0, this.nodes = So(
227
227
  Array.isArray(a) ? a : a ? [a] : void 0
228
228
  );
229
- const f = bo(
229
+ const f = So(
230
230
  (r = this.nodes) === null || r === void 0 ? void 0 : r.map((v) => v.loc).filter((v) => v != null)
231
231
  );
232
232
  this.source = u ?? (f == null || (i = f[0]) === null || i === void 0 ? void 0 : i.source), this.positions = c ?? f?.map((v) => v.start), this.locations = c && u ? c.map((v) => ti(u, v)) : f?.map((v) => ti(v.source, v.start));
@@ -257,7 +257,7 @@ let Gc = class fs extends Error {
257
257
  value: l.stack,
258
258
  writable: !0,
259
259
  configurable: !0
260
- }) : Error.captureStackTrace ? Error.captureStackTrace(this, fs) : Object.defineProperty(this, "stack", {
260
+ }) : Error.captureStackTrace ? Error.captureStackTrace(this, hs) : Object.defineProperty(this, "stack", {
261
261
  value: Error().stack,
262
262
  writable: !0,
263
263
  configurable: !0
@@ -277,7 +277,7 @@ let Gc = class fs extends Error {
277
277
  for (const n of this.locations)
278
278
  e += `
279
279
 
280
- ` + ps(this.source, n);
280
+ ` + fs(this.source, n);
281
281
  return e;
282
282
  }
283
283
  toJSON() {
@@ -287,7 +287,7 @@ let Gc = class fs extends Error {
287
287
  return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;
288
288
  }
289
289
  };
290
- function bo(t) {
290
+ function So(t) {
291
291
  return t === void 0 || t.length === 0 ? void 0 : t;
292
292
  }
293
293
  function z(t, e, n) {
@@ -325,7 +325,7 @@ let zc = class {
325
325
  };
326
326
  }
327
327
  };
328
- class hs {
328
+ class ds {
329
329
  /**
330
330
  * The kind of Token.
331
331
  */
@@ -367,7 +367,7 @@ class hs {
367
367
  };
368
368
  }
369
369
  }
370
- const ds = {
370
+ const vs = {
371
371
  Name: [],
372
372
  Document: ["definitions"],
373
373
  OperationDefinition: [
@@ -441,8 +441,8 @@ const ds = {
441
441
  UnionTypeExtension: ["name", "directives", "types"],
442
442
  EnumTypeExtension: ["name", "directives", "values"],
443
443
  InputObjectTypeExtension: ["name", "directives", "fields"]
444
- }, qc = new Set(Object.keys(ds));
445
- function So(t) {
444
+ }, qc = new Set(Object.keys(vs));
445
+ function Oo(t) {
446
446
  const e = t?.kind;
447
447
  return typeof e == "string" && qc.has(e);
448
448
  }
@@ -461,18 +461,18 @@ var O;
461
461
  function ri(t) {
462
462
  return t === 9 || t === 32;
463
463
  }
464
- function $t(t) {
464
+ function jt(t) {
465
465
  return t >= 48 && t <= 57;
466
466
  }
467
- function vs(t) {
467
+ function ys(t) {
468
468
  return t >= 97 && t <= 122 || // A-Z
469
469
  t >= 65 && t <= 90;
470
470
  }
471
- function ys(t) {
472
- return vs(t) || t === 95;
471
+ function ms(t) {
472
+ return ys(t) || t === 95;
473
473
  }
474
474
  function Xc(t) {
475
- return vs(t) || $t(t) || t === 95;
475
+ return ys(t) || jt(t) || t === 95;
476
476
  }
477
477
  function Kc(t) {
478
478
  var e;
@@ -522,7 +522,7 @@ let Jc = class {
522
522
  * The character offset at which the current line begins.
523
523
  */
524
524
  constructor(e) {
525
- const n = new hs(d.SOF, 0, 0, 0, 0);
525
+ const n = new ds(d.SOF, 0, 0, 0, 0);
526
526
  this.source = e, this.lastToken = n, this.token = n, this.line = 1, this.lineStart = 0;
527
527
  }
528
528
  get [Symbol.toStringTag]() {
@@ -559,12 +559,12 @@ function _t(t) {
559
559
  return t >= 0 && t <= 55295 || t >= 57344 && t <= 1114111;
560
560
  }
561
561
  function Xn(t, e) {
562
- return ms(t.charCodeAt(e)) && _s(t.charCodeAt(e + 1));
562
+ return _s(t.charCodeAt(e)) && gs(t.charCodeAt(e + 1));
563
563
  }
564
- function ms(t) {
564
+ function _s(t) {
565
565
  return t >= 55296 && t <= 56319;
566
566
  }
567
- function _s(t) {
567
+ function gs(t) {
568
568
  return t >= 56320 && t <= 57343;
569
569
  }
570
570
  function ze(t, e) {
@@ -579,7 +579,7 @@ function ze(t, e) {
579
579
  }
580
580
  function V(t, e, n, r, i) {
581
581
  const o = t.line, a = 1 + n - t.lineStart;
582
- return new hs(e, n, r, o, a, i);
582
+ return new ds(e, n, r, o, a, i);
583
583
  }
584
584
  function Zc(t, e) {
585
585
  const n = t.source.body, r = n.length;
@@ -665,9 +665,9 @@ function Zc(t, e) {
665
665
  case 34:
666
666
  return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? al(t, i) : nl(t, i);
667
667
  }
668
- if ($t(o) || o === 45)
668
+ if (jt(o) || o === 45)
669
669
  return tl(t, i, o);
670
- if (ys(o))
670
+ if (ms(o))
671
671
  return sl(t, i);
672
672
  throw z(
673
673
  t.source,
@@ -703,7 +703,7 @@ function tl(t, e, n) {
703
703
  const r = t.source.body;
704
704
  let i = e, o = n, a = !1;
705
705
  if (o === 45 && (o = r.charCodeAt(++i)), o === 48) {
706
- if (o = r.charCodeAt(++i), $t(o))
706
+ if (o = r.charCodeAt(++i), jt(o))
707
707
  throw z(
708
708
  t.source,
709
709
  i,
@@ -714,7 +714,7 @@ function tl(t, e, n) {
714
714
  );
715
715
  } else
716
716
  i = ir(t, i, o), o = r.charCodeAt(i);
717
- if (o === 46 && (a = !0, o = r.charCodeAt(++i), i = ir(t, i, o), o = r.charCodeAt(i)), (o === 69 || o === 101) && (a = !0, o = r.charCodeAt(++i), (o === 43 || o === 45) && (o = r.charCodeAt(++i)), i = ir(t, i, o), o = r.charCodeAt(i)), o === 46 || ys(o))
717
+ if (o === 46 && (a = !0, o = r.charCodeAt(++i), i = ir(t, i, o), o = r.charCodeAt(i)), (o === 69 || o === 101) && (a = !0, o = r.charCodeAt(++i), (o === 43 || o === 45) && (o = r.charCodeAt(++i)), i = ir(t, i, o), o = r.charCodeAt(i)), o === 46 || ms(o))
718
718
  throw z(
719
719
  t.source,
720
720
  i,
@@ -732,7 +732,7 @@ function tl(t, e, n) {
732
732
  );
733
733
  }
734
734
  function ir(t, e, n) {
735
- if (!$t(n))
735
+ if (!jt(n))
736
736
  throw z(
737
737
  t.source,
738
738
  e,
@@ -743,7 +743,7 @@ function ir(t, e, n) {
743
743
  );
744
744
  const r = t.source.body;
745
745
  let i = e + 1;
746
- for (; $t(r.charCodeAt(i)); )
746
+ for (; jt(r.charCodeAt(i)); )
747
747
  ++i;
748
748
  return i;
749
749
  }
@@ -804,15 +804,15 @@ function rl(t, e) {
804
804
  );
805
805
  }
806
806
  function il(t, e) {
807
- const n = t.source.body, r = Oo(n, e + 2);
807
+ const n = t.source.body, r = wo(n, e + 2);
808
808
  if (_t(r))
809
809
  return {
810
810
  value: String.fromCodePoint(r),
811
811
  size: 6
812
812
  };
813
- if (ms(r) && n.charCodeAt(e + 6) === 92 && n.charCodeAt(e + 7) === 117) {
814
- const i = Oo(n, e + 8);
815
- if (_s(i))
813
+ if (_s(r) && n.charCodeAt(e + 6) === 92 && n.charCodeAt(e + 7) === 117) {
814
+ const i = wo(n, e + 8);
815
+ if (gs(i))
816
816
  return {
817
817
  value: String.fromCodePoint(r, i),
818
818
  size: 12
@@ -824,7 +824,7 @@ function il(t, e) {
824
824
  `Invalid Unicode escape sequence: "${n.slice(e, e + 6)}".`
825
825
  );
826
826
  }
827
- function Oo(t, e) {
827
+ function wo(t, e) {
828
828
  return Nt(t.charCodeAt(e)) << 12 | Nt(t.charCodeAt(e + 1)) << 8 | Nt(t.charCodeAt(e + 2)) << 4 | Nt(t.charCodeAt(e + 3));
829
829
  }
830
830
  function Nt(t) {
@@ -945,8 +945,8 @@ function sl(t, e) {
945
945
  n.slice(e, i)
946
946
  );
947
947
  }
948
- const ul = 10, gs = 2;
949
- function qi(t) {
948
+ const ul = 10, Es = 2;
949
+ function Xi(t) {
950
950
  return Kn(t, []);
951
951
  }
952
952
  function Kn(t, e) {
@@ -980,14 +980,14 @@ function ll(t) {
980
980
  }
981
981
  function pl(t, e) {
982
982
  const n = Object.entries(t);
983
- return n.length === 0 ? "{}" : e.length > gs ? "[" + hl(t) + "]" : "{ " + n.map(
983
+ return n.length === 0 ? "{}" : e.length > Es ? "[" + hl(t) + "]" : "{ " + n.map(
984
984
  ([r, i]) => r + ": " + Kn(i, e)
985
985
  ).join(", ") + " }";
986
986
  }
987
987
  function fl(t, e) {
988
988
  if (t.length === 0)
989
989
  return "[]";
990
- if (e.length > gs)
990
+ if (e.length > Es)
991
991
  return "[Array]";
992
992
  const n = Math.min(ul, t.length), r = t.length - n, i = [];
993
993
  for (let o = 0; o < n; ++o)
@@ -1019,7 +1019,7 @@ process.env.NODE_ENV === "production", vl = (
1019
1019
  Symbol.toStringTag in t ? t[Symbol.toStringTag] : (n = t.constructor) === null || n === void 0 ? void 0 : n.name
1020
1020
  );
1021
1021
  if (r === i) {
1022
- const o = qi(t);
1022
+ const o = Xi(t);
1023
1023
  throw new Error(`Cannot use ${r} "${o}" from another module or realm.
1024
1024
 
1025
1025
  Ensure that there is only one instance of "graphql" in the node_modules
@@ -1037,15 +1037,15 @@ spurious results.`);
1037
1037
  return !1;
1038
1038
  }
1039
1039
  );
1040
- class Es {
1040
+ class Ts {
1041
1041
  constructor(e, n = "GraphQL request", r = {
1042
1042
  line: 1,
1043
1043
  column: 1
1044
1044
  }) {
1045
- typeof e == "string" || yn(!1, `Body must be a string. Received: ${qi(e)}.`), this.body = e, this.name = n, this.locationOffset = r, this.locationOffset.line > 0 || yn(
1045
+ typeof e == "string" || vn(!1, `Body must be a string. Received: ${Xi(e)}.`), this.body = e, this.name = n, this.locationOffset = r, this.locationOffset.line > 0 || vn(
1046
1046
  !1,
1047
1047
  "line in locationOffset is 1-indexed and must be positive."
1048
- ), this.locationOffset.column > 0 || yn(
1048
+ ), this.locationOffset.column > 0 || vn(
1049
1049
  !1,
1050
1050
  "column in locationOffset is 1-indexed and must be positive."
1051
1051
  );
@@ -1055,9 +1055,9 @@ class Es {
1055
1055
  }
1056
1056
  }
1057
1057
  function yl(t) {
1058
- return vl(t, Es);
1058
+ return vl(t, Ts);
1059
1059
  }
1060
- function Ts(t, e) {
1060
+ function bs(t, e) {
1061
1061
  const n = new ml(t, e), r = n.parseDocument();
1062
1062
  return Object.defineProperty(r, "tokenCount", {
1063
1063
  enumerable: !1,
@@ -1066,7 +1066,7 @@ function Ts(t, e) {
1066
1066
  }
1067
1067
  let ml = class {
1068
1068
  constructor(e, n = {}) {
1069
- const r = yl(e) ? e : new Es(e);
1069
+ const r = yl(e) ? e : new Ts(e);
1070
1070
  this._lexer = new Jc(r), this._options = n, this._tokenCounter = 0;
1071
1071
  }
1072
1072
  get tokenCount() {
@@ -1767,7 +1767,7 @@ let ml = class {
1767
1767
  throw z(
1768
1768
  this._lexer.source,
1769
1769
  this._lexer.token.start,
1770
- `${nn(
1770
+ `${tn(
1771
1771
  this._lexer.token
1772
1772
  )} is reserved and cannot be used for an enum value.`
1773
1773
  );
@@ -2060,7 +2060,7 @@ let ml = class {
2060
2060
  throw z(
2061
2061
  this._lexer.source,
2062
2062
  n.start,
2063
- `Expected ${bs(e)}, found ${nn(n)}.`
2063
+ `Expected ${Ss(e)}, found ${tn(n)}.`
2064
2064
  );
2065
2065
  }
2066
2066
  /**
@@ -2082,7 +2082,7 @@ let ml = class {
2082
2082
  throw z(
2083
2083
  this._lexer.source,
2084
2084
  n.start,
2085
- `Expected "${e}", found ${nn(n)}.`
2085
+ `Expected "${e}", found ${tn(n)}.`
2086
2086
  );
2087
2087
  }
2088
2088
  /**
@@ -2101,7 +2101,7 @@ let ml = class {
2101
2101
  return z(
2102
2102
  this._lexer.source,
2103
2103
  n.start,
2104
- `Unexpected ${nn(n)}.`
2104
+ `Unexpected ${tn(n)}.`
2105
2105
  );
2106
2106
  }
2107
2107
  /**
@@ -2168,11 +2168,11 @@ let ml = class {
2168
2168
  );
2169
2169
  }
2170
2170
  };
2171
- function nn(t) {
2171
+ function tn(t) {
2172
2172
  const e = t.value;
2173
- return bs(t.kind) + (e != null ? ` "${e}"` : "");
2173
+ return Ss(t.kind) + (e != null ? ` "${e}"` : "");
2174
2174
  }
2175
- function bs(t) {
2175
+ function Ss(t) {
2176
2176
  return Qc(t) ? `"${t}"` : t;
2177
2177
  }
2178
2178
  function _l(t) {
@@ -2349,7 +2349,7 @@ const Tl = [
2349
2349
  "\\u009E",
2350
2350
  "\\u009F"
2351
2351
  ], bl = Object.freeze({});
2352
- function Sl(t, e, n = ds) {
2352
+ function Sl(t, e, n = vs) {
2353
2353
  const r = /* @__PURE__ */ new Map();
2354
2354
  for (const E of Object.values(O))
2355
2355
  r.set(E, Ol(e, E));
@@ -2381,7 +2381,7 @@ function Sl(t, e, n = ds) {
2381
2381
  let x;
2382
2382
  if (!Array.isArray(s)) {
2383
2383
  var v, y;
2384
- So(s) || yn(!1, `Invalid AST Node: ${qi(s)}.`);
2384
+ Oo(s) || vn(!1, `Invalid AST Node: ${Xi(s)}.`);
2385
2385
  const j = E ? (v = r.get(s.kind)) === null || v === void 0 ? void 0 : v.leave : (y = r.get(s.kind)) === null || y === void 0 ? void 0 : y.enter;
2386
2386
  if (x = j?.call(e, s, l, p, f, m), x === bl)
2387
2387
  break;
@@ -2391,7 +2391,7 @@ function Sl(t, e, n = ds) {
2391
2391
  continue;
2392
2392
  }
2393
2393
  } else if (x !== void 0 && (c.push([l, x]), !E))
2394
- if (So(x))
2394
+ if (Oo(x))
2395
2395
  s = x;
2396
2396
  else {
2397
2397
  f.pop();
@@ -2463,7 +2463,7 @@ const Al = 80, Ll = {
2463
2463
  const o = C("", t, ": ") + e;
2464
2464
  let a = o + C("(", b(n, ", "), ")");
2465
2465
  return a.length > Al && (a = o + C(`(
2466
- `, mn(b(n, `
2466
+ `, yn(b(n, `
2467
2467
  `)), `
2468
2468
  )`)), b([a, b(r, " "), i], " ");
2469
2469
  }
@@ -2561,8 +2561,8 @@ const Al = 80, Ll = {
2561
2561
  },
2562
2562
  FieldDefinition: {
2563
2563
  leave: ({ description: t, name: e, arguments: n, type: r, directives: i }) => C("", t, `
2564
- `) + e + (wo(n) ? C(`(
2565
- `, mn(b(n, `
2564
+ `) + e + (Ao(n) ? C(`(
2565
+ `, yn(b(n, `
2566
2566
  `)), `
2567
2567
  )`) : C("(", b(n, ", "), ")")) + ": " + r + C(" ", b(i, " "))
2568
2568
  },
@@ -2607,8 +2607,8 @@ const Al = 80, Ll = {
2607
2607
  },
2608
2608
  DirectiveDefinition: {
2609
2609
  leave: ({ description: t, name: e, arguments: n, repeatable: r, locations: i }) => C("", t, `
2610
- `) + "directive @" + e + (wo(n) ? C(`(
2611
- `, mn(b(n, `
2610
+ `) + "directive @" + e + (Ao(n) ? C(`(
2611
+ `, yn(b(n, `
2612
2612
  `)), `
2613
2613
  )`) : C("(", b(n, ", "), ")")) + (r ? " repeatable" : "") + " on " + b(i, " | ")
2614
2614
  },
@@ -2669,23 +2669,23 @@ function b(t, e = "") {
2669
2669
  }
2670
2670
  function se(t) {
2671
2671
  return C(`{
2672
- `, mn(b(t, `
2672
+ `, yn(b(t, `
2673
2673
  `)), `
2674
2674
  }`);
2675
2675
  }
2676
2676
  function C(t, e, n = "") {
2677
2677
  return e != null && e !== "" ? t + e + n : "";
2678
2678
  }
2679
- function mn(t) {
2679
+ function yn(t) {
2680
2680
  return C(" ", t.replace(/\n/g, `
2681
2681
  `));
2682
2682
  }
2683
- function wo(t) {
2683
+ function Ao(t) {
2684
2684
  var e;
2685
2685
  return (e = t?.some((n) => n.includes(`
2686
2686
  `))) !== null && e !== void 0 ? e : !1;
2687
2687
  }
2688
- const Xi = JSON, Rl = (t) => t.toUpperCase(), Cl = (t) => {
2688
+ const Ki = JSON, Rl = (t) => t.toUpperCase(), Cl = (t) => {
2689
2689
  const e = {};
2690
2690
  return t.forEach((n, r) => {
2691
2691
  e[r] = n;
@@ -2704,7 +2704,7 @@ const Xi = JSON, Rl = (t) => t.toUpperCase(), Cl = (t) => {
2704
2704
  documents: t,
2705
2705
  requestHeaders: e,
2706
2706
  signal: void 0
2707
- }, Ao = (t) => {
2707
+ }, Lo = (t) => {
2708
2708
  var e, n;
2709
2709
  let r;
2710
2710
  const i = t.definitions.filter((o) => o.kind === "OperationDefinition");
@@ -2713,35 +2713,35 @@ const Xi = JSON, Rl = (t) => t.toUpperCase(), Cl = (t) => {
2713
2713
  if (typeof t == "string") {
2714
2714
  let n;
2715
2715
  try {
2716
- const r = Ts(t);
2717
- n = Ao(r);
2716
+ const r = bs(t);
2717
+ n = Lo(r);
2718
2718
  } catch {
2719
2719
  }
2720
2720
  return { query: t, operationName: n };
2721
2721
  }
2722
- const e = Ao(t);
2722
+ const e = Lo(t);
2723
2723
  return { query: wl(t), operationName: e };
2724
2724
  };
2725
- let Ss = class _n extends Error {
2725
+ let Os = class mn extends Error {
2726
2726
  constructor(e, n) {
2727
- const r = `${_n.extractMessage(e)}: ${JSON.stringify({
2727
+ const r = `${mn.extractMessage(e)}: ${JSON.stringify({
2728
2728
  response: e,
2729
2729
  request: n
2730
2730
  })}`;
2731
- super(r), Object.setPrototypeOf(this, _n.prototype), this.response = e, this.request = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, _n);
2731
+ super(r), Object.setPrototypeOf(this, mn.prototype), this.response = e, this.request = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, mn);
2732
2732
  }
2733
2733
  static extractMessage(e) {
2734
2734
  var n, r, i;
2735
2735
  return (i = (r = (n = e.errors) == null ? void 0 : n[0]) == null ? void 0 : r.message) != null ? i : `GraphQL Error (Code: ${e.status})`;
2736
2736
  }
2737
2737
  };
2738
- var Ki = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2738
+ var Wi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2739
2739
  function Wn(t) {
2740
2740
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
2741
2741
  }
2742
2742
  var ii = { exports: {} };
2743
2743
  (function(t, e) {
2744
- var n = typeof self < "u" ? self : Ki, r = function() {
2744
+ var n = typeof self < "u" ? self : Wi, r = function() {
2745
2745
  function o() {
2746
2746
  this.fetch = !1, this.DOMException = n.DOMException;
2747
2747
  }
@@ -3012,23 +3012,23 @@ var ii = { exports: {} };
3012
3012
  e = i.fetch, e.default = i.fetch, e.fetch = i.fetch, e.Headers = i.Headers, e.Request = i.Request, e.Response = i.Response, t.exports = e;
3013
3013
  })(ii, ii.exports);
3014
3014
  var oi = ii.exports;
3015
- const gn = /* @__PURE__ */ Wn(oi), Il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3015
+ const _n = /* @__PURE__ */ Wn(oi), Il = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3016
3016
  __proto__: null,
3017
- default: gn
3017
+ default: _n
3018
3018
  }, Symbol.toStringTag, { value: "Module" })), et = (t) => {
3019
3019
  let e = {};
3020
3020
  return t && (typeof Headers < "u" && t instanceof Headers || Il && oi.Headers && t instanceof oi.Headers ? e = Cl(t) : Array.isArray(t) ? t.forEach(([n, r]) => {
3021
3021
  n && r !== void 0 && (e[n] = r);
3022
3022
  }) : e = t), e;
3023
- }, Lo = (t) => t.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), kl = (t) => {
3023
+ }, Ro = (t) => t.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), kl = (t) => {
3024
3024
  if (!Array.isArray(t.query)) {
3025
- const r = t, i = [`query=${encodeURIComponent(Lo(r.query))}`];
3025
+ const r = t, i = [`query=${encodeURIComponent(Ro(r.query))}`];
3026
3026
  return t.variables && i.push(`variables=${encodeURIComponent(r.jsonSerializer.stringify(r.variables))}`), r.operationName && i.push(`operationName=${encodeURIComponent(r.operationName)}`), i.join("&");
3027
3027
  }
3028
3028
  if (typeof t.variables < "u" && !Array.isArray(t.variables))
3029
3029
  throw new Error("Cannot create query with given variable type, array expected");
3030
3030
  const e = t, n = t.query.reduce((r, i, o) => (r.push({
3031
- query: Lo(i),
3031
+ query: Ro(i),
3032
3032
  variables: e.variables ? e.jsonSerializer.stringify(e.variables[o]) : void 0
3033
3033
  }), r), []);
3034
3034
  return `query=${encodeURIComponent(e.jsonSerializer.stringify(n))}`;
@@ -3040,7 +3040,7 @@ const gn = /* @__PURE__ */ Wn(oi), Il = /* @__PURE__ */ Object.freeze(/* @__PURE
3040
3040
  query: i,
3041
3041
  variables: o,
3042
3042
  operationName: a,
3043
- jsonSerializer: (n = c.jsonSerializer) != null ? n : Xi
3043
+ jsonSerializer: (n = c.jsonSerializer) != null ? n : Ki
3044
3044
  });
3045
3045
  const m = I({
3046
3046
  method: t,
@@ -3049,15 +3049,15 @@ const gn = /* @__PURE__ */ Wn(oi), Il = /* @__PURE__ */ Object.freeze(/* @__PURE
3049
3049
  }, c);
3050
3050
  let v = r, y = m;
3051
3051
  if (s) {
3052
- const _ = yield Promise.resolve(s(Cn(I({}, m), { url: r, operationName: a, variables: o }))), { url: E } = _, S = Pt(_, ["url"]);
3052
+ const _ = yield Promise.resolve(s(Rn(I({}, m), { url: r, operationName: a, variables: o }))), { url: E } = _, S = Pt(_, ["url"]);
3053
3053
  v = E, y = S;
3054
3054
  }
3055
3055
  return p && (v = `${v}?${p}`), yield u(v, y);
3056
3056
  });
3057
- let Dl = class {
3057
+ class Dl {
3058
3058
  constructor(e, n = {}) {
3059
3059
  this.url = e, this.requestConfig = n, this.rawRequest = (...r) => dt(this, null, function* () {
3060
- const [i, o, a] = r, u = xl(i, o, a), c = this.requestConfig, { headers: s, fetch: l = gn, method: p = "POST", requestMiddleware: f, responseMiddleware: m } = c, v = Pt(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3060
+ const [i, o, a] = r, u = xl(i, o, a), c = this.requestConfig, { headers: s, fetch: l = _n, method: p = "POST", requestMiddleware: f, responseMiddleware: m } = c, v = Pt(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3061
3061
  u.signal !== void 0 && (v.signal = u.signal);
3062
3062
  const { operationName: _ } = or(u.query);
3063
3063
  return ar({
@@ -3077,7 +3077,7 @@ let Dl = class {
3077
3077
  }
3078
3078
  request(e, ...n) {
3079
3079
  return dt(this, null, function* () {
3080
- const [r, i] = n, o = Nl(e, r, i), a = this.requestConfig, { headers: u, fetch: c = gn, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Pt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3080
+ const [r, i] = n, o = Nl(e, r, i), a = this.requestConfig, { headers: u, fetch: c = _n, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Pt(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3081
3081
  o.signal !== void 0 && (f.signal = o.signal);
3082
3082
  const { query: v, operationName: y } = or(o.document);
3083
3083
  return ar({
@@ -3108,7 +3108,7 @@ let Dl = class {
3108
3108
  variables: s,
3109
3109
  headers: I(I({}, et(sr(a))), et(i.requestHeaders)),
3110
3110
  operationName: void 0,
3111
- fetch: (r = this.requestConfig.fetch) != null ? r : gn,
3111
+ fetch: (r = this.requestConfig.fetch) != null ? r : _n,
3112
3112
  method: this.requestConfig.method || "POST",
3113
3113
  fetchOptions: u,
3114
3114
  middleware: this.requestConfig.requestMiddleware
@@ -3132,13 +3132,13 @@ let Dl = class {
3132
3132
  setEndpoint(e) {
3133
3133
  return this.url = e, this;
3134
3134
  }
3135
- };
3135
+ }
3136
3136
  const ar = (t) => dt(void 0, null, function* () {
3137
3137
  var e, n;
3138
- const { query: r, variables: i, fetchOptions: o } = t, a = Ml(Rl((e = t.method) != null ? e : "post")), u = Array.isArray(t.query), c = yield a(t), s = yield jl(c, (n = o.jsonSerializer) != null ? n : Xi), l = Array.isArray(s) ? !s.some(({ data: f }) => !f) : !!s.data, p = Array.isArray(s) || !s.errors || Array.isArray(s.errors) && !s.errors.length || o.errorPolicy === "all" || o.errorPolicy === "ignore";
3138
+ const { query: r, variables: i, fetchOptions: o } = t, a = Ml(Rl((e = t.method) != null ? e : "post")), u = Array.isArray(t.query), c = yield a(t), s = yield jl(c, (n = o.jsonSerializer) != null ? n : Ki), l = Array.isArray(s) ? !s.some(({ data: f }) => !f) : !!s.data, p = Array.isArray(s) || !s.errors || Array.isArray(s.errors) && !s.errors.length || o.errorPolicy === "all" || o.errorPolicy === "ignore";
3139
3139
  if (c.ok && p && l) {
3140
3140
  const f = s, m = Pt(f, ["errors"]), v = o.errorPolicy === "ignore" ? m : s;
3141
- return Cn(I({}, u ? { data: v } : v), {
3141
+ return Rn(I({}, u ? { data: v } : v), {
3142
3142
  headers: c.headers,
3143
3143
  status: c.status
3144
3144
  });
@@ -3146,14 +3146,14 @@ const ar = (t) => dt(void 0, null, function* () {
3146
3146
  const f = typeof s == "string" ? {
3147
3147
  error: s
3148
3148
  } : s;
3149
- throw new Ss(
3149
+ throw new Os(
3150
3150
  // @ts-expect-error TODO
3151
- Cn(I({}, f), { status: c.status, headers: c.headers }),
3151
+ Rn(I({}, f), { status: c.status, headers: c.headers }),
3152
3152
  { query: r, variables: i }
3153
3153
  );
3154
3154
  }
3155
3155
  }), Ul = (t, e, n, r) => {
3156
- const i = r ?? Xi;
3156
+ const i = r ?? Ki;
3157
3157
  if (!Array.isArray(t))
3158
3158
  return i.stringify({ query: t, variables: e, operationName: n });
3159
3159
  if (typeof e < "u" && !Array.isArray(e))
@@ -3186,7 +3186,7 @@ var ai = { exports: {} };
3186
3186
  }
3187
3187
  })(ai, ai.exports);
3188
3188
  var $l = ai.exports;
3189
- const It = /* @__PURE__ */ Wn($l);
3189
+ const Cn = /* @__PURE__ */ Wn($l);
3190
3190
  var Nn = function() {
3191
3191
  return Nn = Object.assign || function(t) {
3192
3192
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -3195,19 +3195,19 @@ var Nn = function() {
3195
3195
  }
3196
3196
  return t;
3197
3197
  }, Nn.apply(this, arguments);
3198
- }, En = /* @__PURE__ */ new Map(), si = /* @__PURE__ */ new Map(), Os = !0, xn = !1;
3199
- function ws(t) {
3198
+ }, gn = /* @__PURE__ */ new Map(), si = /* @__PURE__ */ new Map(), ws = !0, xn = !1;
3199
+ function As(t) {
3200
3200
  return t.replace(/[\s,]+/g, " ").trim();
3201
3201
  }
3202
3202
  function Bl(t) {
3203
- return ws(t.source.body.substring(t.start, t.end));
3203
+ return As(t.source.body.substring(t.start, t.end));
3204
3204
  }
3205
3205
  function Fl(t) {
3206
3206
  var e = /* @__PURE__ */ new Set(), n = [];
3207
3207
  return t.definitions.forEach(function(r) {
3208
3208
  if (r.kind === "FragmentDefinition") {
3209
3209
  var i = r.name.value, o = Bl(r.loc), a = si.get(i);
3210
- a && !a.has(o) ? Os && console.warn("Warning: fragment with name " + i + ` already exists.
3210
+ a && !a.has(o) ? ws && console.warn("Warning: fragment with name " + i + ` already exists.
3211
3211
  graphql-tag enforces all fragment names across your application to be unique; read more about
3212
3212
  this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : a || si.set(i, a = /* @__PURE__ */ new Set()), a.add(o), e.has(o) || (e.add(o), n.push(r));
3213
3213
  } else
@@ -3226,17 +3226,17 @@ function Vl(t) {
3226
3226
  return n && (delete n.startToken, delete n.endToken), t;
3227
3227
  }
3228
3228
  function Hl(t) {
3229
- var e = ws(t);
3230
- if (!En.has(e)) {
3231
- var n = Ts(t, {
3229
+ var e = As(t);
3230
+ if (!gn.has(e)) {
3231
+ var n = bs(t, {
3232
3232
  experimentalFragmentVariables: xn,
3233
3233
  allowLegacyFragmentVariables: xn
3234
3234
  });
3235
3235
  if (!n || n.kind !== "Document")
3236
3236
  throw new Error("Not a valid GraphQL document.");
3237
- En.set(e, Vl(Fl(n)));
3237
+ gn.set(e, Vl(Fl(n)));
3238
3238
  }
3239
- return En.get(e);
3239
+ return gn.get(e);
3240
3240
  }
3241
3241
  function te(t) {
3242
3242
  for (var e = [], n = 1; n < arguments.length; n++)
@@ -3248,10 +3248,10 @@ function te(t) {
3248
3248
  }), Hl(r);
3249
3249
  }
3250
3250
  function Gl() {
3251
- En.clear(), si.clear();
3251
+ gn.clear(), si.clear();
3252
3252
  }
3253
3253
  function zl() {
3254
- Os = !1;
3254
+ ws = !1;
3255
3255
  }
3256
3256
  function ql() {
3257
3257
  xn = !0;
@@ -3270,7 +3270,7 @@ var St = {
3270
3270
  t.gql = St.gql, t.resetCaches = St.resetCaches, t.disableFragmentWarnings = St.disableFragmentWarnings, t.enableExperimentalFragmentVariables = St.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = St.disableExperimentalFragmentVariables;
3271
3271
  })(te || (te = {}));
3272
3272
  te.default = te;
3273
- const As = te`
3273
+ const Ls = te`
3274
3274
  fragment MatchParts on MatchConfig {
3275
3275
  regexValue
3276
3276
  matchValue
@@ -3442,7 +3442,7 @@ const As = te`
3442
3442
  }
3443
3443
  }
3444
3444
  }
3445
- ${As}
3445
+ ${Ls}
3446
3446
  `, tp = te`
3447
3447
  query Ignore($id: ID!) {
3448
3448
  ignore(id: $id)
@@ -3496,7 +3496,7 @@ const As = te`
3496
3496
  }
3497
3497
  }
3498
3498
  }
3499
- ${As}
3499
+ ${Ls}
3500
3500
  `, rp = (t, e, n, r) => t();
3501
3501
  function ip(t, e = rp) {
3502
3502
  return {
@@ -3647,12 +3647,12 @@ function ap(t) {
3647
3647
  function ui(t) {
3648
3648
  return Object.prototype.toString.call(t) === "[object Object]";
3649
3649
  }
3650
- function Ls(t, e) {
3650
+ function Rs(t, e) {
3651
3651
  if (e === 0)
3652
3652
  return !0;
3653
3653
  const n = Object.keys(t);
3654
3654
  for (const r of n)
3655
- if (ui(t[r]) && Ls(t[r], e - 1))
3655
+ if (ui(t[r]) && Rs(t[r], e - 1))
3656
3656
  return !0;
3657
3657
  return !1;
3658
3658
  }
@@ -3691,7 +3691,7 @@ function ci(t, e) {
3691
3691
  return c;
3692
3692
  });
3693
3693
  function o(u) {
3694
- return ui(u) && Object.keys(u).length > n.numOfKeysLimit || typeof u == "function" ? !0 : u instanceof Event && u.isTrusted === !1 ? Object.keys(u).length === 1 : !!(ui(u) && Ls(u, n.depthOfLimit));
3694
+ return ui(u) && Object.keys(u).length > n.numOfKeysLimit || typeof u == "function" ? !0 : u instanceof Event && u.isTrusted === !1 ? Object.keys(u).length === 1 : !!(ui(u) && Rs(u, n.depthOfLimit));
3695
3695
  }
3696
3696
  function a(u) {
3697
3697
  let c = u.toString();
@@ -3701,9 +3701,9 @@ function ci(t, e) {
3701
3701
  function sp(t) {
3702
3702
  return typeof t == "number" && !isNaN(t) && isFinite(t);
3703
3703
  }
3704
- const ur = "exception.message", up = "exception.stacktrace", cr = "exception.type", Rs = "http.response.status_code", cp = "server.address", lp = "service.name", pp = "service.version", fp = "telemetry.sdk.name", hp = "telemetry.sdk.version", Ne = "url.full", Tn = "url.path", dp = "url.query", vp = "user_agent.original", Wi = 15 * 60 * 1e3;
3704
+ const ur = "exception.message", up = "exception.stacktrace", cr = "exception.type", Cs = "http.response.status_code", cp = "server.address", lp = "service.name", pp = "service.version", fp = "telemetry.sdk.name", hp = "telemetry.sdk.version", Ne = "url.full", En = "url.path", dp = "url.query", vp = "user_agent.original", Yi = 15 * 60 * 1e3;
3705
3705
  /*! js-cookie v3.0.5 | MIT */
3706
- function rn(t) {
3706
+ function nn(t) {
3707
3707
  for (var e = 1; e < arguments.length; e++) {
3708
3708
  var n = arguments[e];
3709
3709
  for (var r in n)
@@ -3725,7 +3725,7 @@ var yp = {
3725
3725
  function li(t, e) {
3726
3726
  function n(i, o, a) {
3727
3727
  if (typeof document < "u") {
3728
- a = rn({}, e, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
3728
+ a = nn({}, e, a), typeof a.expires == "number" && (a.expires = new Date(Date.now() + a.expires * 864e5)), a.expires && (a.expires = a.expires.toUTCString()), i = encodeURIComponent(i).replace(/%(2[346B]|5E|60|7C)/g, decodeURIComponent).replace(/[()]/g, escape);
3729
3729
  var u = "";
3730
3730
  for (var c in a)
3731
3731
  a[c] && (u += "; " + c, a[c] !== !0 && (u += "=" + a[c].split(";")[0]));
@@ -3754,16 +3754,16 @@ function li(t, e) {
3754
3754
  n(
3755
3755
  i,
3756
3756
  "",
3757
- rn({}, o, {
3757
+ nn({}, o, {
3758
3758
  expires: -1
3759
3759
  })
3760
3760
  );
3761
3761
  },
3762
3762
  withAttributes: function(i) {
3763
- return li(this.converter, rn({}, this.attributes, i));
3763
+ return li(this.converter, nn({}, this.attributes, i));
3764
3764
  },
3765
3765
  withConverter: function(i) {
3766
- return li(rn({}, this.converter, i), this.attributes);
3766
+ return li(nn({}, this.converter, i), this.attributes);
3767
3767
  }
3768
3768
  },
3769
3769
  {
@@ -3775,7 +3775,7 @@ function li(t, e) {
3775
3775
  var lr = li(yp, { path: "/" });
3776
3776
  let pi = "localStorage", fi = !0, mp = class {
3777
3777
  constructor() {
3778
- jt(this, "storage", {});
3778
+ Ut(this, "storage", {});
3779
3779
  }
3780
3780
  get length() {
3781
3781
  return Object.keys(this.storage).length;
@@ -3803,13 +3803,13 @@ let pi = "localStorage", fi = !0, mp = class {
3803
3803
  if (!fi)
3804
3804
  return;
3805
3805
  const r = /* @__PURE__ */ new Date();
3806
- r.setTime(r.getTime() + Wi), lr.set(e, n, { expires: r });
3806
+ r.setTime(r.getTime() + Yi), lr.set(e, n, { expires: r });
3807
3807
  }
3808
3808
  removeItem(e) {
3809
3809
  fi && lr.remove(e);
3810
3810
  }
3811
3811
  };
3812
- const lt = new mp(), Pn = new _p(), Bt = () => {
3812
+ const lt = new mp(), Pn = new _p(), $t = () => {
3813
3813
  let t = null;
3814
3814
  if (typeof window > "u")
3815
3815
  return lt;
@@ -3840,11 +3840,11 @@ const lt = new mp(), Pn = new _p(), Bt = () => {
3840
3840
  return t;
3841
3841
  }, gp = (t) => {
3842
3842
  pi = t;
3843
- }, Ro = (t) => {
3843
+ }, Co = (t) => {
3844
3844
  fi = t;
3845
- }, Yi = (t) => {
3845
+ }, Ji = (t) => {
3846
3846
  try {
3847
- return Bt().getItem(t);
3847
+ return $t().getItem(t);
3848
3848
  } catch (e) {
3849
3849
  return Ce(
3850
3850
  "storage",
@@ -3854,10 +3854,10 @@ const lt = new mp(), Pn = new _p(), Bt = () => {
3854
3854
  e
3855
3855
  ), lt.getItem(t);
3856
3856
  }
3857
- }, Cs = (t, e) => {
3857
+ }, Ns = (t, e) => {
3858
3858
  Pn.setItem(t, e);
3859
3859
  try {
3860
- return Bt().setItem(t, e);
3860
+ return $t().setItem(t, e);
3861
3861
  } catch (n) {
3862
3862
  return Ce(
3863
3863
  "storage",
@@ -3867,10 +3867,10 @@ const lt = new mp(), Pn = new _p(), Bt = () => {
3867
3867
  n
3868
3868
  ), lt.setItem(t, e);
3869
3869
  }
3870
- }, Ns = (t) => {
3870
+ }, xs = (t) => {
3871
3871
  Pn.removeItem(t);
3872
3872
  try {
3873
- return Bt().removeItem(t);
3873
+ return $t().removeItem(t);
3874
3874
  } catch (e) {
3875
3875
  return Ce(
3876
3876
  "storage",
@@ -3884,55 +3884,55 @@ const lt = new mp(), Pn = new _p(), Bt = () => {
3884
3884
  var gt = /* @__PURE__ */ ((t) => (t.SEGMENT_LAST_SENT_HASH_KEY = "HIGHLIGHT_SEGMENT_LAST_SENT_HASH_KEY", t.SESSION_ID = "sessionID", t.SESSION_DATA = "sessionData", t.USER_IDENTIFIER = "highlightIdentifier", t.USER_OBJECT = "highlightUserObject", t))(gt || {});
3885
3885
  const Yn = (t) => `${gt.SESSION_DATA}_${t}`, Se = () => {
3886
3886
  var t;
3887
- return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : xs();
3887
+ return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : Ps();
3888
3888
  }, Ep = (t) => {
3889
3889
  typeof globalThis < "u" && t != null && t.length && (globalThis.persistentSessionSecureID = t);
3890
- }, xs = () => {
3890
+ }, Ps = () => {
3891
3891
  var t;
3892
- return (t = Yi(gt.SESSION_ID)) != null ? t : "";
3893
- }, Ps = (t) => {
3894
- Cs(gt.SESSION_ID, t);
3892
+ return (t = Ji(gt.SESSION_ID)) != null ? t : "";
3893
+ }, Is = (t) => {
3894
+ Ns(gt.SESSION_ID, t);
3895
3895
  }, Tp = (t) => {
3896
3896
  const e = Yn(t);
3897
- return JSON.parse(Yi(e) || "{}");
3897
+ return JSON.parse(Ji(e) || "{}");
3898
3898
  }, bp = (t) => {
3899
- t || (t = xs());
3899
+ t || (t = Ps());
3900
3900
  let e = Tp(t);
3901
- if (e && e.lastPushTime && Date.now() - e.lastPushTime < Wi)
3901
+ if (e && e.lastPushTime && Date.now() - e.lastPushTime < Yi)
3902
3902
  return e;
3903
- Ns(Yn(t));
3904
- }, Is = function(t) {
3903
+ xs(Yn(t));
3904
+ }, ks = function(t) {
3905
3905
  if (!(t != null && t.sessionSecureID)) return;
3906
3906
  const e = t.sessionSecureID;
3907
3907
  Ep(e);
3908
3908
  const n = Yn(e);
3909
- Cs(n, JSON.stringify(t)), Op(n);
3909
+ Ns(n, JSON.stringify(t)), Op(n);
3910
3910
  }, Sp = function() {
3911
3911
  const t = Pn.getItem(
3912
3912
  gt.SESSION_ID
3913
3913
  );
3914
- Ps(t);
3914
+ Is(t);
3915
3915
  const e = Yn(t), n = Pn.getItem(e);
3916
3916
  try {
3917
- Is(JSON.parse(n));
3917
+ ks(JSON.parse(n));
3918
3918
  } catch {
3919
3919
  }
3920
3920
  };
3921
3921
  function Op(t) {
3922
3922
  const e = `${gt.SESSION_DATA}_`;
3923
- for (let n = Bt().length - 1; n >= 0; n--) {
3924
- const r = Bt().key(n);
3923
+ for (let n = $t().length - 1; n >= 0; n--) {
3924
+ const r = $t().key(n);
3925
3925
  if (r && r.startsWith(e) && r !== t)
3926
3926
  try {
3927
3927
  const i = JSON.parse(
3928
- Yi(r) || "{}"
3928
+ Ji(r) || "{}"
3929
3929
  );
3930
- i.lastPushTime !== void 0 && Date.now() - i.lastPushTime >= Wi && (Ce(
3930
+ i.lastPushTime !== void 0 && Date.now() - i.lastPushTime >= Yi && (Ce(
3931
3931
  "highlightSession",
3932
3932
  "pruneSessionData",
3933
3933
  "debug",
3934
3934
  `removing session data for stale key ${r}`
3935
- ), Ns(r));
3935
+ ), xs(r));
3936
3936
  } catch (i) {
3937
3937
  Ce(
3938
3938
  "highlightSession",
@@ -3944,8 +3944,8 @@ function Op(t) {
3944
3944
  }
3945
3945
  }
3946
3946
  }
3947
- var ks = /* @__PURE__ */ ((t) => (t.BillingQuotaExceeded = "BillingQuotaExceeded", t))(ks || {});
3948
- const Ji = 3, Qi = 1e3, Zi = 500, wp = [ks.BillingQuotaExceeded.toString()], Ap = (t) => {
3947
+ var Ms = /* @__PURE__ */ ((t) => (t.BillingQuotaExceeded = "BillingQuotaExceeded", t))(Ms || {});
3948
+ const Qi = 3, Zi = 1e3, eo = 500, wp = [Ms.BillingQuotaExceeded.toString()], Ap = (t) => {
3949
3949
  var e;
3950
3950
  return ((e = t.response.errors) == null ? void 0 : e.find(
3951
3951
  (n) => wp.includes(n.message)
@@ -3955,13 +3955,13 @@ const Ji = 3, Qi = 1e3, Zi = 500, wp = [ks.BillingQuotaExceeded.toString()], Ap
3955
3955
  try {
3956
3956
  return yield e();
3957
3957
  } catch (a) {
3958
- if (a instanceof Ss && !Ap(a))
3958
+ if (a instanceof Os && !Ap(a))
3959
3959
  throw a;
3960
- if (o < Ji)
3960
+ if (o < Qi)
3961
3961
  return yield new Promise(
3962
3962
  (u) => setTimeout(
3963
3963
  u,
3964
- Qi + Zi * Math.pow(2, o)
3964
+ Zi + eo * Math.pow(2, o)
3965
3965
  )
3966
3966
  ), yield t(
3967
3967
  e,
@@ -3976,7 +3976,7 @@ const Ji = 3, Qi = 1e3, Zi = 500, wp = [ks.BillingQuotaExceeded.toString()], Ap
3976
3976
  }
3977
3977
  });
3978
3978
  return t;
3979
- }, Q = "feature_flag", Ms = "launchdarkly", Rp = "evaluation", Cp = `${Q}.set.id`, Np = `${Q}.key`, xp = `${Q}.contextKeys`, Pp = `${Q}.context.id`, Ip = `${Q}.result.value`, kp = `${Q}.provider.name`, Co = {
3979
+ }, Q = "feature_flag", Ds = "launchdarkly", Rp = "evaluation", Cp = `${Q}.set.id`, Np = `${Q}.key`, xp = `${Q}.contextKeys`, Pp = `${Q}.context.id`, Ip = `${Q}.result.value`, kp = `${Q}.provider.name`, No = {
3980
3980
  kind: `${Q}.result.reason.kind`,
3981
3981
  errorKind: `${Q}.result.reason.errorKind`,
3982
3982
  ruleIndex: `${Q}.result.reason.ruleIndex`,
@@ -3984,18 +3984,18 @@ const Ji = 3, Qi = 1e3, Zi = 500, wp = [ks.BillingQuotaExceeded.toString()], Ap
3984
3984
  prerequisiteKey: `${Q}.result.reason.prerequisiteKey`,
3985
3985
  inExperiment: `${Q}.result.reason.inExperiment`,
3986
3986
  bigSegmentsStatus: `${Q}.result.reason.bigSegmentsStatus`
3987
- }, Mp = `${Q}.result.variationIndex`, Dp = `${Ms}.application.id`, Up = `${Ms}.application.version`, jp = "context", $p = `${jp}.contextKeys`, Bp = "$ld:telemetry:session:init", No = "$ld:telemetry:track", Fp = "launchdarkly.track", Vp = "page_view", Hp = "document_load", Gp = "result.status";
3988
- function xo(t) {
3987
+ }, Mp = `${Q}.result.variationIndex`, Dp = `${Ds}.application.id`, Up = `${Ds}.application.version`, jp = "context", $p = `${jp}.contextKeys`, Bp = "$ld:telemetry:session:init", xo = "$ld:telemetry:track", Fp = "launchdarkly.track", Vp = "page_view", Hp = "document_load", Gp = "result.status";
3988
+ function Po(t) {
3989
3989
  return t.includes("%") || t.includes(":") ? t.replace(/%/g, "%25").replace(/:/g, "%3A") : t;
3990
3990
  }
3991
- function Ds(t) {
3991
+ function Us(t) {
3992
3992
  return t.kind === "multi";
3993
3993
  }
3994
3994
  function pr(t) {
3995
- return Ds(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => `${e}:${xo(t[e].key)}`).join(":") : "kind" in t && t.kind === "user" ? t.key : "kind" in t ? `${t.kind}:${xo(t.key)}` : t.key;
3995
+ return Us(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => `${e}:${Po(t[e].key)}`).join(":") : "kind" in t && t.kind === "user" ? t.key : "kind" in t ? `${t.kind}:${Po(t.key)}` : t.key;
3996
3996
  }
3997
- function Po(t) {
3998
- return Ds(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => ({
3997
+ function Io(t) {
3998
+ return Us(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => ({
3999
3999
  [e]: t[e].key
4000
4000
  })).reduce((e, n) => I(I({}, e), n), {}) : "kind" in t ? {
4001
4001
  [t.kind]: t.key
@@ -4005,7 +4005,7 @@ function Po(t) {
4005
4005
  }
4006
4006
  let zp = class {
4007
4007
  constructor(e, n) {
4008
- jt(this, "client"), jt(this, "metadata"), this.client = e, this.metadata = n;
4008
+ Ut(this, "client"), Ut(this, "metadata"), this.client = e, this.metadata = n;
4009
4009
  }
4010
4010
  getHooks(e) {
4011
4011
  return [];
@@ -4024,15 +4024,15 @@ let zp = class {
4024
4024
  track(e, n) {
4025
4025
  const r = n.event;
4026
4026
  this.client.track(
4027
- r ? `${No}:${r}` : No,
4028
- Cn(I({}, n), {
4027
+ r ? `${xo}:${r}` : xo,
4028
+ Rn(I({}, n), {
4029
4029
  sessionID: e
4030
4030
  })
4031
4031
  );
4032
4032
  }
4033
- }, qp = class extends us {
4033
+ }, qp = class extends cs {
4034
4034
  constructor(e, n) {
4035
- super(), jt(this, "client"), this.client = new zp(e, n);
4035
+ super(), Ut(this, "client"), this.client = new zp(e, n);
4036
4036
  }
4037
4037
  getHooks(e) {
4038
4038
  return [
@@ -4087,7 +4087,7 @@ const Xp = (t) => {
4087
4087
  return window.addEventListener("locationchange", i), () => {
4088
4088
  window.removeEventListener("popstate", r), window.removeEventListener("locationchange", i), history.pushState = e, history.replaceState = n;
4089
4089
  };
4090
- }, Kp = "10.1.0", Wp = {
4090
+ }, Kp = "10.1.1", Wp = {
4091
4091
  version: Kp
4092
4092
  }, Yp = Wp.version;
4093
4093
  function Jp(t) {
@@ -4119,7 +4119,7 @@ const Qp = (t) => {
4119
4119
  };
4120
4120
  return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
4121
4121
  };
4122
- var Us = { exports: {} };
4122
+ var js = { exports: {} };
4123
4123
  /**
4124
4124
  * @preserve
4125
4125
  * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
@@ -4172,9 +4172,9 @@ var Us = { exports: {} };
4172
4172
  return this.h1 = typeof r == "number" ? r : 0, this.rem = this.k1 = this.len = 0, this;
4173
4173
  }, e = new n(), t.exports = n;
4174
4174
  })();
4175
- })(Us);
4176
- var Zp = Us.exports;
4177
- const ef = /* @__PURE__ */ Wn(Zp), fr = 28, tt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", tf = 2246822507, Io = (t) => {
4175
+ })(js);
4176
+ var Zp = js.exports;
4177
+ const ef = /* @__PURE__ */ Wn(Zp), fr = 28, tt = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", tf = 2246822507, ko = (t) => {
4178
4178
  var e, n = "";
4179
4179
  if (t) {
4180
4180
  const r = ef(t).result();
@@ -4196,9 +4196,9 @@ const ef = /* @__PURE__ */ Wn(Zp), fr = 28, tt = "abcdefghijklmnopqrstuvwxyzABCD
4196
4196
  };
4197
4197
  let nf = class {
4198
4198
  constructor(e) {
4199
- jt(this, "sessionSecureID");
4199
+ Ut(this, "sessionSecureID");
4200
4200
  try {
4201
- e != null && e.storageMode && gp(e?.storageMode), Ro(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? Sp() : Ro(!1);
4201
+ e != null && e.storageMode && gp(e?.storageMode), Co(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? Sp() : Co(!1);
4202
4202
  } catch (n) {
4203
4203
  Re(
4204
4204
  "Error initializing @launchdarkly observability plugin",
@@ -4213,9 +4213,9 @@ let nf = class {
4213
4213
  let i = bp(
4214
4214
  r
4215
4215
  );
4216
- i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID = Io(
4216
+ i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID = ko(
4217
4217
  `${e}-${n.sessionKey}`
4218
- ) : this.sessionSecureID = Io(), Ps(this.sessionSecureID), Is({
4218
+ ) : this.sessionSecureID = ko(), Is(this.sessionSecureID), ks({
4219
4219
  sessionSecureID: this.sessionSecureID,
4220
4220
  sessionKey: n?.sessionKey,
4221
4221
  projectID: 0,
@@ -4231,7 +4231,7 @@ let nf = class {
4231
4231
  }
4232
4232
  }
4233
4233
  };
4234
- class ko extends us {
4234
+ class Mo extends cs {
4235
4235
  start() {
4236
4236
  return this._sdk.start();
4237
4237
  }
@@ -4284,29 +4284,29 @@ class ko extends us {
4284
4284
  }
4285
4285
  }
4286
4286
  let ut;
4287
- typeof globalThis < "u" ? globalThis.LDObserve ? ut = globalThis.LDObserve : (ut = new ko(), globalThis.LDObserve = ut) : ut = new ko();
4287
+ typeof globalThis < "u" ? globalThis.LDObserve ? ut = globalThis.LDObserve : (ut = new Mo(), globalThis.LDObserve = ut) : ut = new Mo();
4288
4288
  const rf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4289
4289
  __proto__: null,
4290
4290
  get LDObserve() {
4291
4291
  return ut;
4292
4292
  }
4293
4293
  }, Symbol.toStringTag, { value: "Module" }));
4294
- var of = Object.defineProperty, af = Object.defineProperties, sf = Object.getOwnPropertyDescriptors, In = Object.getOwnPropertySymbols, uf = Object.getPrototypeOf, js = Object.prototype.hasOwnProperty, $s = Object.prototype.propertyIsEnumerable, cf = Reflect.get, hi = (t, e, n) => e in t ? of(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, P = (t, e) => {
4294
+ var of = Object.defineProperty, af = Object.defineProperties, sf = Object.getOwnPropertyDescriptors, In = Object.getOwnPropertySymbols, uf = Object.getPrototypeOf, $s = Object.prototype.hasOwnProperty, Bs = Object.prototype.propertyIsEnumerable, cf = Reflect.get, hi = (t, e, n) => e in t ? of(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, P = (t, e) => {
4295
4295
  for (var n in e || (e = {}))
4296
- js.call(e, n) && hi(t, n, e[n]);
4296
+ $s.call(e, n) && hi(t, n, e[n]);
4297
4297
  if (In)
4298
4298
  for (var n of In(e))
4299
- $s.call(e, n) && hi(t, n, e[n]);
4299
+ Bs.call(e, n) && hi(t, n, e[n]);
4300
4300
  return t;
4301
4301
  }, J = (t, e) => af(t, sf(e)), lf = (t, e) => {
4302
4302
  var n = {};
4303
4303
  for (var r in t)
4304
- js.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
4304
+ $s.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
4305
4305
  if (t != null && In)
4306
4306
  for (var r of In(t))
4307
- e.indexOf(r) < 0 && $s.call(t, r) && (n[r] = t[r]);
4307
+ e.indexOf(r) < 0 && Bs.call(t, r) && (n[r] = t[r]);
4308
4308
  return n;
4309
- }, R = (t, e, n) => hi(t, typeof e != "symbol" ? e + "" : e, n), Mo = (t, e, n) => cf(uf(t), n, e), ue = (t, e, n) => new Promise((r, i) => {
4309
+ }, R = (t, e, n) => hi(t, typeof e != "symbol" ? e + "" : e, n), Do = (t, e, n) => cf(uf(t), n, e), ue = (t, e, n) => new Promise((r, i) => {
4310
4310
  var o = (c) => {
4311
4311
  try {
4312
4312
  u(n.next(c));
@@ -4342,12 +4342,12 @@ const pf = [
4342
4342
  "trace",
4343
4343
  "warn"
4344
4344
  ];
4345
- var De = /* @__PURE__ */ ((t) => (t.DeviceMemory = "DeviceMemory", t.ViewportHeight = "ViewportHeight", t.ViewportWidth = "ViewportWidth", t.ScreenHeight = "ScreenHeight", t.ScreenWidth = "ScreenWidth", t.ViewportArea = "ViewportArea", t))(De || {}), ie = /* @__PURE__ */ ((t) => (t.Device = "Device", t.WebVital = "WebVital", t.Performance = "Performance", t.Frontend = "Frontend", t.Backend = "Backend", t))(ie || {}), Bs = { exports: {} }, Do = { exports: {} }, Uo;
4345
+ var De = /* @__PURE__ */ ((t) => (t.DeviceMemory = "DeviceMemory", t.ViewportHeight = "ViewportHeight", t.ViewportWidth = "ViewportWidth", t.ScreenHeight = "ScreenHeight", t.ScreenWidth = "ScreenWidth", t.ViewportArea = "ViewportArea", t))(De || {}), ie = /* @__PURE__ */ ((t) => (t.Device = "Device", t.WebVital = "WebVital", t.Performance = "Performance", t.Frontend = "Frontend", t.Backend = "Backend", t))(ie || {}), Fs = { exports: {} }, Uo = { exports: {} }, jo;
4346
4346
  function ff() {
4347
- return Uo || (Uo = 1, function(t, e) {
4347
+ return jo || (jo = 1, function(t, e) {
4348
4348
  (function(n, r) {
4349
4349
  t.exports = r();
4350
- })(Ki, function() {
4350
+ })(Wi, function() {
4351
4351
  function n(y) {
4352
4352
  return !isNaN(parseFloat(y)) && isFinite(y);
4353
4353
  }
@@ -4423,12 +4423,12 @@ function ff() {
4423
4423
  }(u[v]);
4424
4424
  return p;
4425
4425
  });
4426
- }(Do)), Do.exports;
4426
+ }(Uo)), Uo.exports;
4427
4427
  }
4428
4428
  (function(t, e) {
4429
4429
  (function(n, r) {
4430
4430
  t.exports = r(ff());
4431
- })(Ki, function(n) {
4431
+ })(Wi, function(n) {
4432
4432
  var r = /(^|@)\S+:\d+/, i = /^\s*at .*(\S+:\d+|\(native\))/m, o = /^(eval@)?(\[native code])?$/;
4433
4433
  return {
4434
4434
  /**
@@ -4547,15 +4547,15 @@ function ff() {
4547
4547
  }
4548
4548
  };
4549
4549
  });
4550
- })(Bs);
4551
- var hf = Bs.exports;
4552
- const jo = /* @__PURE__ */ Wn(hf);
4550
+ })(Fs);
4551
+ var hf = Fs.exports;
4552
+ const $o = /* @__PURE__ */ Wn(hf);
4553
4553
  function Jn(t) {
4554
4554
  try {
4555
- return jo.parse(t);
4555
+ return $o.parse(t);
4556
4556
  } catch (e) {
4557
4557
  try {
4558
- return jo.parse(new Error());
4558
+ return $o.parse(new Error());
4559
4559
  } catch (n) {
4560
4560
  return console.warn("Highlight Warning: failed to parse error", {
4561
4561
  originalError: e,
@@ -4662,7 +4662,7 @@ function bf() {
4662
4662
  const t = Ef();
4663
4663
  return Tf(t);
4664
4664
  }
4665
- function Fs() {
4665
+ function di() {
4666
4666
  return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : bf();
4667
4667
  }
4668
4668
  function vr(t, e, n, r) {
@@ -4672,7 +4672,7 @@ function vr(t, e, n, r) {
4672
4672
  const p = Of(s);
4673
4673
  t({
4674
4674
  error: c,
4675
- event: It(e),
4675
+ event: Cn(e),
4676
4676
  type: "window.onerror",
4677
4677
  url: window.location.href,
4678
4678
  source: n ?? "",
@@ -4680,8 +4680,8 @@ function vr(t, e, n, r) {
4680
4680
  columnNumber: (a = p[0]) != null && a.columnNumber ? (u = p[0]) == null ? void 0 : u.columnNumber : 0,
4681
4681
  stackTrace: p,
4682
4682
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
4683
- payload: l ? It(l) : void 0,
4684
- id: Fs()
4683
+ payload: l ? Cn(l) : void 0,
4684
+ id: di()
4685
4685
  });
4686
4686
  }
4687
4687
  const Sf = (t, { enablePromisePatch: e }) => {
@@ -4743,9 +4743,9 @@ const Sf = (t, { enablePromisePatch: e }) => {
4743
4743
  "websocket error",
4744
4744
  '\\"ResizeObserver loop'
4745
4745
  ];
4746
- var Lf = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Ve = "1.9.0", $o = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4746
+ var Lf = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Ve = "1.9.0", Bo = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4747
4747
  function Rf(t) {
4748
- var e = /* @__PURE__ */ new Set([t]), n = /* @__PURE__ */ new Set(), r = t.match($o);
4748
+ var e = /* @__PURE__ */ new Set([t]), n = /* @__PURE__ */ new Set(), r = t.match(Bo);
4749
4749
  if (!r)
4750
4750
  return function() {
4751
4751
  return !1;
@@ -4771,7 +4771,7 @@ function Rf(t) {
4771
4771
  return !0;
4772
4772
  if (n.has(u))
4773
4773
  return !1;
4774
- var c = u.match($o);
4774
+ var c = u.match(Bo);
4775
4775
  if (!c)
4776
4776
  return o(u);
4777
4777
  var s = {
@@ -4783,11 +4783,11 @@ function Rf(t) {
4783
4783
  return s.prerelease != null || i.major !== s.major ? o(u) : i.major === 0 ? i.minor === s.minor && i.patch <= s.patch ? a(u) : o(u) : i.minor <= s.minor ? a(u) : o(u);
4784
4784
  };
4785
4785
  }
4786
- var Cf = Rf(Ve), Nf = Ve.split(".")[0], Ft = Symbol.for("opentelemetry.js.api." + Nf), Vt = Lf;
4787
- function Wt(t, e, n, r) {
4786
+ var Cf = Rf(Ve), Nf = Ve.split(".")[0], Bt = Symbol.for("opentelemetry.js.api." + Nf), Ft = Lf;
4787
+ function Kt(t, e, n, r) {
4788
4788
  var i;
4789
4789
  r === void 0 && (r = !1);
4790
- var o = Vt[Ft] = (i = Vt[Ft]) !== null && i !== void 0 ? i : {
4790
+ var o = Ft[Bt] = (i = Ft[Bt]) !== null && i !== void 0 ? i : {
4791
4791
  version: Ve
4792
4792
  };
4793
4793
  if (!r && o[t]) {
@@ -4801,13 +4801,13 @@ function Wt(t, e, n, r) {
4801
4801
  return o[t] = e, n.debug("@opentelemetry/api: Registered a global for " + t + " v" + Ve + "."), !0;
4802
4802
  }
4803
4803
  function qe(t) {
4804
- var e, n, r = (e = Vt[Ft]) === null || e === void 0 ? void 0 : e.version;
4804
+ var e, n, r = (e = Ft[Bt]) === null || e === void 0 ? void 0 : e.version;
4805
4805
  if (!(!r || !Cf(r)))
4806
- return (n = Vt[Ft]) === null || n === void 0 ? void 0 : n[t];
4806
+ return (n = Ft[Bt]) === null || n === void 0 ? void 0 : n[t];
4807
4807
  }
4808
- function Yt(t, e) {
4808
+ function Wt(t, e) {
4809
4809
  e.debug("@opentelemetry/api: Unregistering a global for " + t + " v" + Ve + ".");
4810
- var n = Vt[Ft];
4810
+ var n = Ft[Bt];
4811
4811
  n && delete n[t];
4812
4812
  }
4813
4813
  var xf = function(t, e) {
@@ -4930,10 +4930,10 @@ var Mf = function(t, e) {
4930
4930
  var f = (c = new Error().stack) !== null && c !== void 0 ? c : "<failed to generate stacktrace>";
4931
4931
  l.warn("Current logger will be overwritten from " + f), p.warn("Current logger will overwrite one already registered from " + f);
4932
4932
  }
4933
- return Wt("diag", p, n, !0);
4933
+ return Kt("diag", p, n, !0);
4934
4934
  };
4935
4935
  n.setLogger = r, n.disable = function() {
4936
- Yt(Uf, n);
4936
+ Wt(Uf, n);
4937
4937
  }, n.createComponentLogger = function(i) {
4938
4938
  return new If(i);
4939
4939
  }, n.verbose = e("verbose"), n.debug = e("debug"), n.info = e("info"), n.warn = e("warn"), n.error = e("error");
@@ -5023,7 +5023,7 @@ function Vs(t) {
5023
5023
  }
5024
5024
  };
5025
5025
  }
5026
- function Jt(t) {
5026
+ function Yt(t) {
5027
5027
  return Symbol.for(t);
5028
5028
  }
5029
5029
  var Gf = (
@@ -5130,7 +5130,7 @@ var Gf = (
5130
5130
  return e.prototype.record = function(n, r) {
5131
5131
  }, e;
5132
5132
  }(Qn)
5133
- ), eo = (
5133
+ ), to = (
5134
5134
  /** @class */
5135
5135
  function() {
5136
5136
  function t() {
@@ -5147,7 +5147,7 @@ var Gf = (
5147
5147
  return t !== null && t.apply(this, arguments) || this;
5148
5148
  }
5149
5149
  return e;
5150
- }(eo)
5150
+ }(to)
5151
5151
  ), Jf = (
5152
5152
  /** @class */
5153
5153
  function(t) {
@@ -5156,7 +5156,7 @@ var Gf = (
5156
5156
  return t !== null && t.apply(this, arguments) || this;
5157
5157
  }
5158
5158
  return e;
5159
- }(eo)
5159
+ }(to)
5160
5160
  ), Qf = (
5161
5161
  /** @class */
5162
5162
  function(t) {
@@ -5165,7 +5165,7 @@ var Gf = (
5165
5165
  return t !== null && t.apply(this, arguments) || this;
5166
5166
  }
5167
5167
  return e;
5168
- }(eo)
5168
+ }(to)
5169
5169
  ), Hs = new zf(), Zf = new qf(), eh = new Kf(), th = new Wf(), nh = new Xf(), rh = new Yf(), ih = new Jf(), oh = new Qf();
5170
5170
  function ah() {
5171
5171
  return Hs;
@@ -5253,7 +5253,7 @@ var sh = {
5253
5253
  return t.getInstance = function() {
5254
5254
  return this._instance || (this._instance = new t()), this._instance;
5255
5255
  }, t.prototype.setGlobalContextManager = function(e) {
5256
- return Wt(yr, e, de.instance());
5256
+ return Kt(yr, e, de.instance());
5257
5257
  }, t.prototype.active = function() {
5258
5258
  return this._getContextManager().active();
5259
5259
  }, t.prototype.with = function(e, n, r) {
@@ -5265,7 +5265,7 @@ var sh = {
5265
5265
  }, t.prototype._getContextManager = function() {
5266
5266
  return qe(yr) || dh;
5267
5267
  }, t.prototype.disable = function() {
5268
- this._getContextManager().disable(), Yt(yr, de.instance());
5268
+ this._getContextManager().disable(), Wt(yr, de.instance());
5269
5269
  }, t;
5270
5270
  }()
5271
5271
  ), ve;
@@ -5276,7 +5276,7 @@ var Gs = "0000000000000000", zs = "00000000000000000000000000000000", qs = {
5276
5276
  traceId: zs,
5277
5277
  spanId: Gs,
5278
5278
  traceFlags: ve.NONE
5279
- }, kt = (
5279
+ }, It = (
5280
5280
  /** @class */
5281
5281
  function() {
5282
5282
  function t(e) {
@@ -5304,25 +5304,25 @@ var Gs = "0000000000000000", zs = "00000000000000000000000000000000", qs = {
5304
5304
  }, t.prototype.recordException = function(e, n) {
5305
5305
  }, t;
5306
5306
  }()
5307
- ), to = Jt("OpenTelemetry Context Key SPAN");
5308
- function no(t) {
5309
- return t.getValue(to) || void 0;
5307
+ ), no = Yt("OpenTelemetry Context Key SPAN");
5308
+ function ro(t) {
5309
+ return t.getValue(no) || void 0;
5310
5310
  }
5311
5311
  function vh() {
5312
- return no(Zn.getInstance().active());
5312
+ return ro(Zn.getInstance().active());
5313
5313
  }
5314
- function ro(t, e) {
5315
- return t.setValue(to, e);
5314
+ function io(t, e) {
5315
+ return t.setValue(no, e);
5316
5316
  }
5317
5317
  function yh(t) {
5318
- return t.deleteValue(to);
5318
+ return t.deleteValue(no);
5319
5319
  }
5320
5320
  function mh(t, e) {
5321
- return ro(t, new kt(e));
5321
+ return io(t, new It(e));
5322
5322
  }
5323
5323
  function Xs(t) {
5324
5324
  var e;
5325
- return (e = no(t)) === null || e === void 0 ? void 0 : e.spanContext();
5325
+ return (e = ro(t)) === null || e === void 0 ? void 0 : e.spanContext();
5326
5326
  }
5327
5327
  var _h = /^([0-9a-f]{32})$/i, gh = /^[0-9a-f]{16}$/i;
5328
5328
  function Ks(t) {
@@ -5331,11 +5331,11 @@ function Ks(t) {
5331
5331
  function Eh(t) {
5332
5332
  return gh.test(t) && t !== Gs;
5333
5333
  }
5334
- function Qt(t) {
5334
+ function Jt(t) {
5335
5335
  return Ks(t.traceId) && Eh(t.spanId);
5336
5336
  }
5337
5337
  function Th(t) {
5338
- return new kt(t);
5338
+ return new It(t);
5339
5339
  }
5340
5340
  var mr = Zn.getInstance(), Ws = (
5341
5341
  /** @class */
@@ -5346,14 +5346,14 @@ var mr = Zn.getInstance(), Ws = (
5346
5346
  r === void 0 && (r = mr.active());
5347
5347
  var i = !!(n != null && n.root);
5348
5348
  if (i)
5349
- return new kt();
5349
+ return new It();
5350
5350
  var o = r && Xs(r);
5351
- return bh(o) && Qt(o) ? new kt(o) : new kt();
5351
+ return bh(o) && Jt(o) ? new It(o) : new It();
5352
5352
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
5353
5353
  var o, a, u;
5354
5354
  if (!(arguments.length < 2)) {
5355
5355
  arguments.length === 2 ? u = n : arguments.length === 3 ? (o = n, u = r) : (o = n, a = r, u = i);
5356
- var c = a ?? mr.active(), s = this.startSpan(e, o, c), l = ro(c, s);
5356
+ var c = a ?? mr.active(), s = this.startSpan(e, o, c), l = io(c, s);
5357
5357
  return mr.with(l, u, void 0, s);
5358
5358
  }
5359
5359
  }, t;
@@ -5389,7 +5389,7 @@ var Sh = new Ws(), Oh = (
5389
5389
  return new Ws();
5390
5390
  }, t;
5391
5391
  }()
5392
- ), Ah = new wh(), Bo = (
5392
+ ), Ah = new wh(), Fo = (
5393
5393
  /** @class */
5394
5394
  function() {
5395
5395
  function t() {
@@ -5411,10 +5411,10 @@ var Sh = new Ws(), Oh = (
5411
5411
  (function(t) {
5412
5412
  t[t.NOT_RECORD = 0] = "NOT_RECORD", t[t.RECORD = 1] = "RECORD", t[t.RECORD_AND_SAMPLED = 2] = "RECORD_AND_SAMPLED";
5413
5413
  })(kn || (kn = {}));
5414
- var Ht;
5414
+ var Vt;
5415
5415
  (function(t) {
5416
5416
  t[t.INTERNAL = 0] = "INTERNAL", t[t.SERVER = 1] = "SERVER", t[t.CLIENT = 2] = "CLIENT", t[t.PRODUCER = 3] = "PRODUCER", t[t.CONSUMER = 4] = "CONSUMER";
5417
- })(Ht || (Ht = {}));
5417
+ })(Vt || (Vt = {}));
5418
5418
  var Mn;
5419
5419
  (function(t) {
5420
5420
  t[t.UNSET = 0] = "UNSET", t[t.OK = 1] = "OK", t[t.ERROR = 2] = "ERROR";
@@ -5436,13 +5436,13 @@ var N = Zn.getInstance(), T = de.instance(), Lh = (
5436
5436
  return t.getInstance = function() {
5437
5437
  return this._instance || (this._instance = new t()), this._instance;
5438
5438
  }, t.prototype.setGlobalMeterProvider = function(e) {
5439
- return Wt(_r, e, de.instance());
5439
+ return Kt(_r, e, de.instance());
5440
5440
  }, t.prototype.getMeterProvider = function() {
5441
5441
  return qe(_r) || Rh;
5442
5442
  }, t.prototype.getMeter = function(e, n, r) {
5443
5443
  return this.getMeterProvider().getMeter(e, n, r);
5444
5444
  }, t.prototype.disable = function() {
5445
- Yt(_r, de.instance());
5445
+ Wt(_r, de.instance());
5446
5446
  }, t;
5447
5447
  }()
5448
5448
  ), Et = Ch.getInstance(), Nh = (
@@ -5457,18 +5457,18 @@ var N = Zn.getInstance(), T = de.instance(), Lh = (
5457
5457
  return [];
5458
5458
  }, t;
5459
5459
  }()
5460
- ), io = Jt("OpenTelemetry Baggage Key");
5460
+ ), oo = Yt("OpenTelemetry Baggage Key");
5461
5461
  function Ys(t) {
5462
- return t.getValue(io) || void 0;
5462
+ return t.getValue(oo) || void 0;
5463
5463
  }
5464
5464
  function xh() {
5465
5465
  return Ys(Zn.getInstance().active());
5466
5466
  }
5467
5467
  function Ph(t, e) {
5468
- return t.setValue(io, e);
5468
+ return t.setValue(oo, e);
5469
5469
  }
5470
5470
  function Ih(t) {
5471
- return t.deleteValue(io);
5471
+ return t.deleteValue(oo);
5472
5472
  }
5473
5473
  var gr = "propagation", kh = new Nh(), Mh = (
5474
5474
  /** @class */
@@ -5479,7 +5479,7 @@ var gr = "propagation", kh = new Nh(), Mh = (
5479
5479
  return t.getInstance = function() {
5480
5480
  return this._instance || (this._instance = new t()), this._instance;
5481
5481
  }, t.prototype.setGlobalPropagator = function(e) {
5482
- return Wt(gr, e, de.instance());
5482
+ return Kt(gr, e, de.instance());
5483
5483
  }, t.prototype.inject = function(e, n, r) {
5484
5484
  return r === void 0 && (r = uh), this._getGlobalPropagator().inject(e, n, r);
5485
5485
  }, t.prototype.extract = function(e, n, r) {
@@ -5487,7 +5487,7 @@ var gr = "propagation", kh = new Nh(), Mh = (
5487
5487
  }, t.prototype.fields = function() {
5488
5488
  return this._getGlobalPropagator().fields();
5489
5489
  }, t.prototype.disable = function() {
5490
- Yt(gr, de.instance());
5490
+ Wt(gr, de.instance());
5491
5491
  }, t.prototype._getGlobalPropagator = function() {
5492
5492
  return qe(gr) || kh;
5493
5493
  }, t;
@@ -5496,26 +5496,26 @@ var gr = "propagation", kh = new Nh(), Mh = (
5496
5496
  /** @class */
5497
5497
  function() {
5498
5498
  function t() {
5499
- this._proxyTracerProvider = new Bo(), this.wrapSpanContext = Th, this.isSpanContextValid = Qt, this.deleteSpan = yh, this.getSpan = no, this.getActiveSpan = vh, this.getSpanContext = Xs, this.setSpan = ro, this.setSpanContext = mh;
5499
+ this._proxyTracerProvider = new Fo(), this.wrapSpanContext = Th, this.isSpanContextValid = Jt, this.deleteSpan = yh, this.getSpan = ro, this.getActiveSpan = vh, this.getSpanContext = Xs, this.setSpan = io, this.setSpanContext = mh;
5500
5500
  }
5501
5501
  return t.getInstance = function() {
5502
5502
  return this._instance || (this._instance = new t()), this._instance;
5503
5503
  }, t.prototype.setGlobalTracerProvider = function(e) {
5504
- var n = Wt(Er, this._proxyTracerProvider, de.instance());
5504
+ var n = Kt(Er, this._proxyTracerProvider, de.instance());
5505
5505
  return n && this._proxyTracerProvider.setDelegate(e), n;
5506
5506
  }, t.prototype.getTracerProvider = function() {
5507
5507
  return qe(Er) || this._proxyTracerProvider;
5508
5508
  }, t.prototype.getTracer = function(e, n) {
5509
5509
  return this.getTracerProvider().getTracer(e, n);
5510
5510
  }, t.prototype.disable = function() {
5511
- Yt(Er, de.instance()), this._proxyTracerProvider = new Bo();
5511
+ Wt(Er, de.instance()), this._proxyTracerProvider = new Fo();
5512
5512
  }, t;
5513
5513
  }()
5514
- ), k = Dh.getInstance(), Uh = Jt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5514
+ ), k = Dh.getInstance(), Uh = Yt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5515
5515
  function Js(t) {
5516
5516
  return t.getValue(Uh) === !0;
5517
5517
  }
5518
- var jh = "=", di = ";", vi = ",", Tr = "baggage", $h = 180, Bh = 4096, Fh = 8192, Vh = function(t, e) {
5518
+ var jh = "=", vi = ";", yi = ",", Tr = "baggage", $h = 180, Bh = 4096, Fh = 8192, Vh = function(t, e) {
5519
5519
  var n = typeof Symbol == "function" && t[Symbol.iterator];
5520
5520
  if (!n) return t;
5521
5521
  var r = n.call(t), i, o = [], a;
@@ -5534,25 +5534,25 @@ var jh = "=", di = ";", vi = ",", Tr = "baggage", $h = 180, Bh = 4096, Fh = 8192
5534
5534
  };
5535
5535
  function Hh(t) {
5536
5536
  return t.reduce(function(e, n) {
5537
- var r = "" + e + (e !== "" ? vi : "") + n;
5537
+ var r = "" + e + (e !== "" ? yi : "") + n;
5538
5538
  return r.length > Fh ? e : r;
5539
5539
  }, "");
5540
5540
  }
5541
5541
  function Gh(t) {
5542
5542
  return t.getAllEntries().map(function(e) {
5543
5543
  var n = Vh(e, 2), r = n[0], i = n[1], o = encodeURIComponent(r) + "=" + encodeURIComponent(i.value);
5544
- return i.metadata !== void 0 && (o += di + i.metadata.toString()), o;
5544
+ return i.metadata !== void 0 && (o += vi + i.metadata.toString()), o;
5545
5545
  });
5546
5546
  }
5547
5547
  function zh(t) {
5548
- var e = t.split(di);
5548
+ var e = t.split(vi);
5549
5549
  if (!(e.length <= 0)) {
5550
5550
  var n = e.shift();
5551
5551
  if (n) {
5552
5552
  var r = n.indexOf(jh);
5553
5553
  if (!(r <= 0)) {
5554
5554
  var i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim()), a;
5555
- return e.length > 0 && (a = Vs(e.join(di))), { key: i, value: o, metadata: a };
5555
+ return e.length > 0 && (a = Vs(e.join(vi))), { key: i, value: o, metadata: a };
5556
5556
  }
5557
5557
  }
5558
5558
  }
@@ -5571,13 +5571,13 @@ var qh = (
5571
5571
  a.length > 0 && r.set(n, Tr, a);
5572
5572
  }
5573
5573
  }, t.prototype.extract = function(e, n, r) {
5574
- var i = r.get(n, Tr), o = Array.isArray(i) ? i.join(vi) : i;
5574
+ var i = r.get(n, Tr), o = Array.isArray(i) ? i.join(yi) : i;
5575
5575
  if (!o)
5576
5576
  return e;
5577
5577
  var a = {};
5578
5578
  if (o.length === 0)
5579
5579
  return e;
5580
- var u = o.split(vi);
5580
+ var u = o.split(yi);
5581
5581
  return u.forEach(function(c) {
5582
5582
  var s = zh(c);
5583
5583
  if (s) {
@@ -5589,10 +5589,10 @@ var qh = (
5589
5589
  return [Tr];
5590
5590
  }, t;
5591
5591
  }()
5592
- ), yi;
5592
+ ), mi;
5593
5593
  (function(t) {
5594
5594
  t.AlwaysOff = "always_off", t.AlwaysOn = "always_on", t.ParentBasedAlwaysOff = "parentbased_always_off", t.ParentBasedAlwaysOn = "parentbased_always_on", t.ParentBasedTraceIdRatio = "parentbased_traceidratio", t.TraceIdRatio = "traceidratio";
5595
- })(yi || (yi = {}));
5595
+ })(mi || (mi = {}));
5596
5596
  var Xh = ",", Kh = ["OTEL_SDK_DISABLED"];
5597
5597
  function Wh(t) {
5598
5598
  return Kh.indexOf(t) > -1;
@@ -5683,7 +5683,7 @@ var br = 1 / 0, Sr = 128, ed = 128, td = 128, Qs = {
5683
5683
  OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: ed,
5684
5684
  OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: td,
5685
5685
  OTEL_TRACES_EXPORTER: "",
5686
- OTEL_TRACES_SAMPLER: yi.ParentBasedAlwaysOn,
5686
+ OTEL_TRACES_SAMPLER: mi.ParentBasedAlwaysOn,
5687
5687
  OTEL_TRACES_SAMPLER_ARG: "",
5688
5688
  OTEL_LOGS_EXPORTER: "",
5689
5689
  OTEL_EXPORTER_OTLP_INSECURE: "",
@@ -5776,26 +5776,26 @@ function cd() {
5776
5776
  var t = sd(ud);
5777
5777
  return Object.assign({}, Qs, t);
5778
5778
  }
5779
- var mi = performance, ld = 9, pd = 6, fd = Math.pow(10, pd), Fo = Math.pow(10, ld);
5780
- function Vo(t) {
5779
+ var _i = performance, ld = 9, pd = 6, fd = Math.pow(10, pd), Vo = Math.pow(10, ld);
5780
+ function Ho(t) {
5781
5781
  var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * fd);
5782
5782
  return [n, r];
5783
5783
  }
5784
5784
  function hd() {
5785
- var t = mi.timeOrigin;
5785
+ var t = _i.timeOrigin;
5786
5786
  if (typeof t != "number") {
5787
- var e = mi;
5787
+ var e = _i;
5788
5788
  t = e.timing && e.timing.fetchStart;
5789
5789
  }
5790
5790
  return t;
5791
5791
  }
5792
5792
  function dd(t) {
5793
- var e = Vo(hd()), n = Vo(mi.now());
5793
+ var e = Ho(hd()), n = Ho(_i.now());
5794
5794
  return vd(e, n);
5795
5795
  }
5796
5796
  function vd(t, e) {
5797
5797
  var n = [t[0] + e[0], t[1] + e[1]];
5798
- return n[1] >= Fo && (n[1] -= Fo, n[0] += 1), n;
5798
+ return n[1] >= Vo && (n[1] -= Vo, n[0] += 1), n;
5799
5799
  }
5800
5800
  var B;
5801
5801
  (function(t) {
@@ -5855,14 +5855,14 @@ var yd = function(t) {
5855
5855
  return this._fields.slice();
5856
5856
  }, t;
5857
5857
  }()
5858
- ), _i = "[_0-9a-z-*/]", _d = "[a-z]" + _i + "{0,255}", gd = "[a-z0-9]" + _i + "{0,240}@[a-z]" + _i + "{0,13}", Ed = new RegExp("^(?:" + _d + "|" + gd + ")$"), Td = /^[ -~]{0,255}[!-~]$/, bd = /,|=/;
5858
+ ), gi = "[_0-9a-z-*/]", _d = "[a-z]" + gi + "{0,255}", gd = "[a-z0-9]" + gi + "{0,240}@[a-z]" + gi + "{0,13}", Ed = new RegExp("^(?:" + _d + "|" + gd + ")$"), Td = /^[ -~]{0,255}[!-~]$/, bd = /,|=/;
5859
5859
  function Sd(t) {
5860
5860
  return Ed.test(t);
5861
5861
  }
5862
5862
  function Od(t) {
5863
5863
  return Td.test(t) && !bd.test(t);
5864
5864
  }
5865
- var Ho = 32, wd = 512, Go = ",", zo = "=", Ad = (
5865
+ var Go = 32, wd = 512, zo = ",", qo = "=", Ad = (
5866
5866
  /** @class */
5867
5867
  function() {
5868
5868
  function t(e) {
@@ -5879,17 +5879,17 @@ var Ho = 32, wd = 512, Go = ",", zo = "=", Ad = (
5879
5879
  }, t.prototype.serialize = function() {
5880
5880
  var e = this;
5881
5881
  return this._keys().reduce(function(n, r) {
5882
- return n.push(r + zo + e.get(r)), n;
5883
- }, []).join(Go);
5882
+ return n.push(r + qo + e.get(r)), n;
5883
+ }, []).join(zo);
5884
5884
  }, t.prototype._parse = function(e) {
5885
- e.length > wd || (this._internalState = e.split(Go).reverse().reduce(function(n, r) {
5886
- var i = r.trim(), o = i.indexOf(zo);
5885
+ e.length > wd || (this._internalState = e.split(zo).reverse().reduce(function(n, r) {
5886
+ var i = r.trim(), o = i.indexOf(qo);
5887
5887
  if (o !== -1) {
5888
5888
  var a = i.slice(0, o), u = i.slice(o + 1, r.length);
5889
5889
  Sd(a) && Od(u) && n.set(a, u);
5890
5890
  }
5891
5891
  return n;
5892
- }, /* @__PURE__ */ new Map()), this._internalState.size > Ho && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, Ho))));
5892
+ }, /* @__PURE__ */ new Map()), this._internalState.size > Go && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, Go))));
5893
5893
  }, t.prototype._keys = function() {
5894
5894
  return Array.from(this._internalState.keys()).reverse();
5895
5895
  }, t.prototype._clone = function() {
@@ -5913,7 +5913,7 @@ var kd = (
5913
5913
  }
5914
5914
  return t.prototype.inject = function(e, n, r) {
5915
5915
  var i = k.getSpanContext(e);
5916
- if (!(!i || Js(e) || !Qt(i))) {
5916
+ if (!(!i || Js(e) || !Jt(i))) {
5917
5917
  var o = Ld + "-" + i.traceId + "-" + i.spanId + "-0" + Number(i.traceFlags || ve.NONE).toString(16);
5918
5918
  r.set(n, Or, o), i.traceState && r.set(n, wr, i.traceState.serialize());
5919
5919
  }
@@ -5944,7 +5944,7 @@ function Fd(t, e) {
5944
5944
  return t(e(n));
5945
5945
  };
5946
5946
  }
5947
- function qo(t) {
5947
+ function Xo(t) {
5948
5948
  if (!Vd(t) || Hd(t) !== Md)
5949
5949
  return !1;
5950
5950
  var e = Bd(t);
@@ -5986,7 +5986,7 @@ function ru(t, e, n, r) {
5986
5986
  n === void 0 && (n = 0);
5987
5987
  var i;
5988
5988
  if (!(n > qd)) {
5989
- if (n++, bn(t) || bn(e) || iu(e))
5989
+ if (n++, Tn(t) || Tn(e) || iu(e))
5990
5990
  i = Ar(e);
5991
5991
  else if (Dn(t)) {
5992
5992
  if (i = t.slice(), Dn(e))
@@ -6004,11 +6004,11 @@ function ru(t, e, n, r) {
6004
6004
  i = Object.assign({}, t);
6005
6005
  for (var u = Object.keys(e), o = 0, a = u.length; o < a; o++) {
6006
6006
  var c = u[o], s = e[c];
6007
- if (bn(s))
6007
+ if (Tn(s))
6008
6008
  typeof s > "u" ? delete i[c] : i[c] = s;
6009
6009
  else {
6010
6010
  var l = i[c], p = s;
6011
- if (Xo(t, c, r) || Xo(e, c, r))
6011
+ if (Ko(t, c, r) || Ko(e, c, r))
6012
6012
  delete i[c];
6013
6013
  else {
6014
6014
  if (wt(l) && wt(p)) {
@@ -6024,7 +6024,7 @@ function ru(t, e, n, r) {
6024
6024
  return i;
6025
6025
  }
6026
6026
  }
6027
- function Xo(t, e, n) {
6027
+ function Ko(t, e, n) {
6028
6028
  for (var r = n.get(t[e]) || [], i = 0, o = r.length; i < o; i++) {
6029
6029
  var a = r[i];
6030
6030
  if (a.key === e && a.obj === t)
@@ -6039,13 +6039,13 @@ function iu(t) {
6039
6039
  return typeof t == "function";
6040
6040
  }
6041
6041
  function wt(t) {
6042
- return !bn(t) && !Dn(t) && !iu(t) && typeof t == "object";
6042
+ return !Tn(t) && !Dn(t) && !iu(t) && typeof t == "object";
6043
6043
  }
6044
- function bn(t) {
6044
+ function Tn(t) {
6045
6045
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t > "u" || t instanceof Date || t instanceof RegExp || t === null;
6046
6046
  }
6047
6047
  function Kd(t, e) {
6048
- return !(!qo(t) || !qo(e));
6048
+ return !(!Xo(t) || !Xo(e));
6049
6049
  }
6050
6050
  var ou = (
6051
6051
  /** @class */
@@ -6079,7 +6079,7 @@ var ou = (
6079
6079
  return e ? (this._delegate = e, this._delegate) : Wd;
6080
6080
  }, t;
6081
6081
  }()
6082
- ), Ko = (
6082
+ ), Wo = (
6083
6083
  /** @class */
6084
6084
  function() {
6085
6085
  function t() {
@@ -6097,32 +6097,32 @@ var ou = (
6097
6097
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
6098
6098
  }, t;
6099
6099
  }()
6100
- ), Qd = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, on = Symbol.for("io.opentelemetry.js.api.logs"), At = Qd;
6100
+ ), Qd = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, rn = Symbol.for("io.opentelemetry.js.api.logs"), At = Qd;
6101
6101
  function Zd(t, e, n) {
6102
6102
  return function(r) {
6103
6103
  return r === t ? e : n;
6104
6104
  };
6105
6105
  }
6106
- var Wo = 1, ev = (
6106
+ var Yo = 1, ev = (
6107
6107
  /** @class */
6108
6108
  function() {
6109
6109
  function t() {
6110
- this._proxyLoggerProvider = new Ko();
6110
+ this._proxyLoggerProvider = new Wo();
6111
6111
  }
6112
6112
  return t.getInstance = function() {
6113
6113
  return this._instance || (this._instance = new t()), this._instance;
6114
6114
  }, t.prototype.setGlobalLoggerProvider = function(e) {
6115
- return At[on] ? this.getLoggerProvider() : (At[on] = Zd(Wo, e, au), this._proxyLoggerProvider.setDelegate(e), e);
6115
+ return At[rn] ? this.getLoggerProvider() : (At[rn] = Zd(Yo, e, au), this._proxyLoggerProvider.setDelegate(e), e);
6116
6116
  }, t.prototype.getLoggerProvider = function() {
6117
6117
  var e, n;
6118
- return (n = (e = At[on]) === null || e === void 0 ? void 0 : e.call(At, Wo)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6118
+ return (n = (e = At[rn]) === null || e === void 0 ? void 0 : e.call(At, Yo)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6119
6119
  }, t.prototype.getLogger = function(e, n, r) {
6120
6120
  return this.getLoggerProvider().getLogger(e, n, r);
6121
6121
  }, t.prototype.disable = function() {
6122
- delete At[on], this._proxyLoggerProvider = new Ko();
6122
+ delete At[rn], this._proxyLoggerProvider = new Wo();
6123
6123
  }, t;
6124
6124
  }()
6125
- ), Zt = ev.getInstance();
6125
+ ), Qt = ev.getInstance();
6126
6126
  function tv(t, e, n, r) {
6127
6127
  for (var i = 0, o = t.length; i < o; i++) {
6128
6128
  var a = t[i];
@@ -6135,12 +6135,12 @@ function nv(t) {
6135
6135
  });
6136
6136
  }
6137
6137
  function rv(t) {
6138
- var e, n, r = t.tracerProvider || k.getTracerProvider(), i = t.meterProvider || Et.getMeterProvider(), o = t.loggerProvider || Zt.getLoggerProvider(), a = (n = (e = t.instrumentations) === null || e === void 0 ? void 0 : e.flat()) !== null && n !== void 0 ? n : [];
6138
+ var e, n, r = t.tracerProvider || k.getTracerProvider(), i = t.meterProvider || Et.getMeterProvider(), o = t.loggerProvider || Qt.getLoggerProvider(), a = (n = (e = t.instrumentations) === null || e === void 0 ? void 0 : e.flat()) !== null && n !== void 0 ? n : [];
6139
6139
  return tv(a, r, i, o), function() {
6140
6140
  nv(a);
6141
6141
  };
6142
6142
  }
6143
- function gi(t) {
6143
+ function Ei(t) {
6144
6144
  return typeof t == "function";
6145
6145
  }
6146
6146
  var ee = console.error.bind(console);
@@ -6153,8 +6153,8 @@ function Lt(t, e, n) {
6153
6153
  value: n
6154
6154
  });
6155
6155
  }
6156
- function en(t) {
6157
- t && t.logger && (gi(t.logger) ? ee = t.logger : ee("new logger isn't a function, not replacing"));
6156
+ function Zt(t) {
6157
+ t && t.logger && (Ei(t.logger) ? ee = t.logger : ee("new logger isn't a function, not replacing"));
6158
6158
  }
6159
6159
  function su(t, e, n) {
6160
6160
  if (!t || !t[e]) {
@@ -6165,7 +6165,7 @@ function su(t, e, n) {
6165
6165
  ee("no wrapper function"), ee(new Error().stack);
6166
6166
  return;
6167
6167
  }
6168
- if (!gi(t[e]) || !gi(n)) {
6168
+ if (!Ei(t[e]) || !Ei(n)) {
6169
6169
  ee("original object and wrapper must be functions");
6170
6170
  return;
6171
6171
  }
@@ -6218,25 +6218,25 @@ function ov(t, e) {
6218
6218
  });
6219
6219
  });
6220
6220
  }
6221
- en.wrap = su;
6222
- en.massWrap = iv;
6223
- en.unwrap = uu;
6224
- en.massUnwrap = ov;
6225
- var W = en, Ei = function() {
6226
- return Ei = Object.assign || function(t) {
6221
+ Zt.wrap = su;
6222
+ Zt.massWrap = iv;
6223
+ Zt.unwrap = uu;
6224
+ Zt.massUnwrap = ov;
6225
+ var W = Zt, Ti = function() {
6226
+ return Ti = Object.assign || function(t) {
6227
6227
  for (var e, n = 1, r = arguments.length; n < r; n++) {
6228
6228
  e = arguments[n];
6229
6229
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
6230
6230
  }
6231
6231
  return t;
6232
- }, Ei.apply(this, arguments);
6232
+ }, Ti.apply(this, arguments);
6233
6233
  }, av = (
6234
6234
  /** @class */
6235
6235
  function() {
6236
6236
  function t(e, n, r) {
6237
6237
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = W.wrap, this._unwrap = W.unwrap, this._massWrap = W.massWrap, this._massUnwrap = W.massUnwrap, this.setConfig(r), this._diag = T.createComponentLogger({
6238
6238
  namespace: e
6239
- }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Zt.getLogger(e, n), this._updateMetricInstruments();
6239
+ }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Qt.getLogger(e, n), this._updateMetricInstruments();
6240
6240
  }
6241
6241
  return Object.defineProperty(t.prototype, "meter", {
6242
6242
  /* Returns meter */
@@ -6263,7 +6263,7 @@ var W = en, Ei = function() {
6263
6263
  }, t.prototype.getConfig = function() {
6264
6264
  return this._config;
6265
6265
  }, t.prototype.setConfig = function(e) {
6266
- this._config = Ei({ enabled: !0 }, e);
6266
+ this._config = Ti({ enabled: !0 }, e);
6267
6267
  }, t.prototype.setTracerProvider = function(e) {
6268
6268
  this._tracer = e.getTracer(this.instrumentationName, this.instrumentationVersion);
6269
6269
  }, Object.defineProperty(t.prototype, "tracer", {
@@ -6313,14 +6313,14 @@ var W = en, Ei = function() {
6313
6313
  function Y(t) {
6314
6314
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
6315
6315
  }
6316
- var Un = performance, uv = "traceparent", lu = Jt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
6316
+ var Un = performance, uv = "traceparent", lu = Yt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
6317
6317
  function cv(t) {
6318
6318
  return t.setValue(lu, !0);
6319
6319
  }
6320
- function oo(t) {
6320
+ function ao(t) {
6321
6321
  return t.getValue(lu) === !0;
6322
6322
  }
6323
- var lv = "=", Ti = ";", bi = ",", Lr = "baggage", pv = 180, fv = 4096, hv = 8192, dv = function(t, e) {
6323
+ var lv = "=", bi = ";", Si = ",", Lr = "baggage", pv = 180, fv = 4096, hv = 8192, dv = function(t, e) {
6324
6324
  var n = typeof Symbol == "function" && t[Symbol.iterator];
6325
6325
  if (!n) return t;
6326
6326
  var r = n.call(t), i, o = [], a;
@@ -6339,25 +6339,25 @@ var lv = "=", Ti = ";", bi = ",", Lr = "baggage", pv = 180, fv = 4096, hv = 8192
6339
6339
  };
6340
6340
  function vv(t) {
6341
6341
  return t.reduce(function(e, n) {
6342
- var r = "" + e + (e !== "" ? bi : "") + n;
6342
+ var r = "" + e + (e !== "" ? Si : "") + n;
6343
6343
  return r.length > hv ? e : r;
6344
6344
  }, "");
6345
6345
  }
6346
6346
  function yv(t) {
6347
6347
  return t.getAllEntries().map(function(e) {
6348
6348
  var n = dv(e, 2), r = n[0], i = n[1], o = encodeURIComponent(r) + "=" + encodeURIComponent(i.value);
6349
- return i.metadata !== void 0 && (o += Ti + i.metadata.toString()), o;
6349
+ return i.metadata !== void 0 && (o += bi + i.metadata.toString()), o;
6350
6350
  });
6351
6351
  }
6352
6352
  function mv(t) {
6353
- var e = t.split(Ti);
6353
+ var e = t.split(bi);
6354
6354
  if (!(e.length <= 0)) {
6355
6355
  var n = e.shift();
6356
6356
  if (n) {
6357
6357
  var r = n.indexOf(lv);
6358
6358
  if (!(r <= 0)) {
6359
6359
  var i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim()), a;
6360
- return e.length > 0 && (a = Vs(e.join(Ti))), { key: i, value: o, metadata: a };
6360
+ return e.length > 0 && (a = Vs(e.join(bi))), { key: i, value: o, metadata: a };
6361
6361
  }
6362
6362
  }
6363
6363
  }
@@ -6369,20 +6369,20 @@ var _v = (
6369
6369
  }
6370
6370
  return t.prototype.inject = function(e, n, r) {
6371
6371
  var i = Z.getBaggage(e);
6372
- if (!(!i || oo(e))) {
6372
+ if (!(!i || ao(e))) {
6373
6373
  var o = yv(i).filter(function(u) {
6374
6374
  return u.length <= fv;
6375
6375
  }).slice(0, pv), a = vv(o);
6376
6376
  a.length > 0 && r.set(n, Lr, a);
6377
6377
  }
6378
6378
  }, t.prototype.extract = function(e, n, r) {
6379
- var i = r.get(n, Lr), o = Array.isArray(i) ? i.join(bi) : i;
6379
+ var i = r.get(n, Lr), o = Array.isArray(i) ? i.join(Si) : i;
6380
6380
  if (!o)
6381
6381
  return e;
6382
6382
  var a = {};
6383
6383
  if (o.length === 0)
6384
6384
  return e;
6385
- var u = o.split(bi);
6385
+ var u = o.split(Si);
6386
6386
  return u.forEach(function(c) {
6387
6387
  var s = mv(c);
6388
6388
  if (s) {
@@ -6420,7 +6420,7 @@ var _v = (
6420
6420
  }
6421
6421
  return o;
6422
6422
  };
6423
- function Sn(t) {
6423
+ function bn(t) {
6424
6424
  var e, n, r = {};
6425
6425
  if (typeof t != "object" || t == null)
6426
6426
  return r;
@@ -6560,7 +6560,7 @@ var xv = [
6560
6560
  function Pv(t) {
6561
6561
  return xv.indexOf(t) > -1;
6562
6562
  }
6563
- var On = 1 / 0, wn = 128, Iv = 128, kv = 128, du = {
6563
+ var Sn = 1 / 0, On = 128, Iv = 128, kv = 128, du = {
6564
6564
  OTEL_SDK_DISABLED: !1,
6565
6565
  CONTAINER_NAME: "",
6566
6566
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -6599,12 +6599,12 @@ var On = 1 / 0, wn = 128, Iv = 128, kv = 128, du = {
6599
6599
  OTEL_PROPAGATORS: ["tracecontext", "baggage"],
6600
6600
  OTEL_RESOURCE_ATTRIBUTES: "",
6601
6601
  OTEL_SERVICE_NAME: "",
6602
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: On,
6603
- OTEL_ATTRIBUTE_COUNT_LIMIT: wn,
6604
- OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: On,
6605
- OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: wn,
6606
- OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: On,
6607
- OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: wn,
6602
+ OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: Sn,
6603
+ OTEL_ATTRIBUTE_COUNT_LIMIT: On,
6604
+ OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: Sn,
6605
+ OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: On,
6606
+ OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: Sn,
6607
+ OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: On,
6608
6608
  OTEL_SPAN_EVENT_COUNT_LIMIT: 128,
6609
6609
  OTEL_SPAN_LINK_COUNT_LIMIT: 128,
6610
6610
  OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Iv,
@@ -6699,7 +6699,7 @@ function vu(t) {
6699
6699
  return e;
6700
6700
  }
6701
6701
  var yu = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
6702
- function Gt() {
6702
+ function Ht() {
6703
6703
  var t = vu(yu);
6704
6704
  return Object.assign({}, du, t);
6705
6705
  }
@@ -6711,7 +6711,7 @@ function Ae(t) {
6711
6711
  var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * Jv);
6712
6712
  return [n, r];
6713
6713
  }
6714
- function ao() {
6714
+ function so() {
6715
6715
  var t = pt.timeOrigin;
6716
6716
  if (typeof t != "number") {
6717
6717
  var e = pt;
@@ -6720,14 +6720,14 @@ function ao() {
6720
6720
  return t;
6721
6721
  }
6722
6722
  function mu(t) {
6723
- var e = Ae(ao()), n = Ae(typeof t == "number" ? t : pt.now());
6723
+ var e = Ae(so()), n = Ae(typeof t == "number" ? t : pt.now());
6724
6724
  return _u(e, n);
6725
6725
  }
6726
- function Mt(t) {
6727
- if (so(t))
6726
+ function kt(t) {
6727
+ if (uo(t))
6728
6728
  return t;
6729
6729
  if (typeof t == "number")
6730
- return t < ao() ? mu(t) : Ae(t);
6730
+ return t < so() ? mu(t) : Ae(t);
6731
6731
  if (t instanceof Date)
6732
6732
  return Ae(t.getTime());
6733
6733
  throw TypeError("Invalid input type");
@@ -6739,20 +6739,20 @@ function Qv(t, e) {
6739
6739
  function Le(t) {
6740
6740
  return t[0] * jn + t[1];
6741
6741
  }
6742
- function so(t) {
6742
+ function uo(t) {
6743
6743
  return Array.isArray(t) && t.length === 2 && typeof t[0] == "number" && typeof t[1] == "number";
6744
6744
  }
6745
- function Yo(t) {
6746
- return so(t) || typeof t == "number" || t instanceof Date;
6745
+ function Jo(t) {
6746
+ return uo(t) || typeof t == "number" || t instanceof Date;
6747
6747
  }
6748
6748
  function _u(t, e) {
6749
6749
  var n = [t[0] + e[0], t[1] + e[1]];
6750
6750
  return n[1] >= jn && (n[1] -= jn, n[0] += 1), n;
6751
6751
  }
6752
- var Si;
6752
+ var Oi;
6753
6753
  (function(t) {
6754
6754
  t[t.SUCCESS = 0] = "SUCCESS", t[t.FAILED = 1] = "FAILED";
6755
- })(Si || (Si = {}));
6755
+ })(Oi || (Oi = {}));
6756
6756
  var Zv = function(t) {
6757
6757
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
6758
6758
  if (n) return n.call(t);
@@ -6807,14 +6807,14 @@ var Zv = function(t) {
6807
6807
  return this._fields.slice();
6808
6808
  }, t;
6809
6809
  }()
6810
- ), Oi = "[_0-9a-z-*/]", ty = "[a-z]" + Oi + "{0,255}", ny = "[a-z0-9]" + Oi + "{0,240}@[a-z]" + Oi + "{0,13}", ry = new RegExp("^(?:" + ty + "|" + ny + ")$"), iy = /^[ -~]{0,255}[!-~]$/, oy = /,|=/;
6810
+ ), wi = "[_0-9a-z-*/]", ty = "[a-z]" + wi + "{0,255}", ny = "[a-z0-9]" + wi + "{0,240}@[a-z]" + wi + "{0,13}", ry = new RegExp("^(?:" + ty + "|" + ny + ")$"), iy = /^[ -~]{0,255}[!-~]$/, oy = /,|=/;
6811
6811
  function ay(t) {
6812
6812
  return ry.test(t);
6813
6813
  }
6814
6814
  function sy(t) {
6815
6815
  return iy.test(t) && !oy.test(t);
6816
6816
  }
6817
- var Jo = 32, uy = 512, Qo = ",", Zo = "=", cy = (
6817
+ var Qo = 32, uy = 512, Zo = ",", ea = "=", cy = (
6818
6818
  /** @class */
6819
6819
  function() {
6820
6820
  function t(e) {
@@ -6831,17 +6831,17 @@ var Jo = 32, uy = 512, Qo = ",", Zo = "=", cy = (
6831
6831
  }, t.prototype.serialize = function() {
6832
6832
  var e = this;
6833
6833
  return this._keys().reduce(function(n, r) {
6834
- return n.push(r + Zo + e.get(r)), n;
6835
- }, []).join(Qo);
6834
+ return n.push(r + ea + e.get(r)), n;
6835
+ }, []).join(Zo);
6836
6836
  }, t.prototype._parse = function(e) {
6837
- e.length > uy || (this._internalState = e.split(Qo).reverse().reduce(function(n, r) {
6838
- var i = r.trim(), o = i.indexOf(Zo);
6837
+ e.length > uy || (this._internalState = e.split(Zo).reverse().reduce(function(n, r) {
6838
+ var i = r.trim(), o = i.indexOf(ea);
6839
6839
  if (o !== -1) {
6840
6840
  var a = i.slice(0, o), u = i.slice(o + 1, r.length);
6841
6841
  ay(a) && sy(u) && n.set(a, u);
6842
6842
  }
6843
6843
  return n;
6844
- }, /* @__PURE__ */ new Map()), this._internalState.size > Jo && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, Jo))));
6844
+ }, /* @__PURE__ */ new Map()), this._internalState.size > Qo && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, Qo))));
6845
6845
  }, t.prototype._keys = function() {
6846
6846
  return Array.from(this._internalState.keys()).reverse();
6847
6847
  }, t.prototype._clone = function() {
@@ -6865,7 +6865,7 @@ var my = (
6865
6865
  }
6866
6866
  return t.prototype.inject = function(e, n, r) {
6867
6867
  var i = k.getSpanContext(e);
6868
- if (!(!i || oo(e) || !Qt(i))) {
6868
+ if (!(!i || ao(e) || !Jt(i))) {
6869
6869
  var o = ly + "-" + i.traceId + "-" + i.spanId + "-0" + Number(i.traceFlags || ve.NONE).toString(16);
6870
6870
  r.set(n, Nr, o), i.traceState && r.set(n, xr, i.traceState.serialize());
6871
6871
  }
@@ -6896,7 +6896,7 @@ function Oy(t, e) {
6896
6896
  return t(e(n));
6897
6897
  };
6898
6898
  }
6899
- function ea(t) {
6899
+ function ta(t) {
6900
6900
  if (!wy(t) || Ay(t) !== _y)
6901
6901
  return !1;
6902
6902
  var e = Sy(t);
@@ -6938,7 +6938,7 @@ function Su(t, e, n, r) {
6938
6938
  n === void 0 && (n = 0);
6939
6939
  var i;
6940
6940
  if (!(n > Cy)) {
6941
- if (n++, An(t) || An(e) || Ou(e))
6941
+ if (n++, wn(t) || wn(e) || Ou(e))
6942
6942
  i = Pr(e);
6943
6943
  else if ($n(t)) {
6944
6944
  if (i = t.slice(), $n(e))
@@ -6956,11 +6956,11 @@ function Su(t, e, n, r) {
6956
6956
  i = Object.assign({}, t);
6957
6957
  for (var u = Object.keys(e), o = 0, a = u.length; o < a; o++) {
6958
6958
  var c = u[o], s = e[c];
6959
- if (An(s))
6959
+ if (wn(s))
6960
6960
  typeof s > "u" ? delete i[c] : i[c] = s;
6961
6961
  else {
6962
6962
  var l = i[c], p = s;
6963
- if (ta(t, c, r) || ta(e, c, r))
6963
+ if (na(t, c, r) || na(e, c, r))
6964
6964
  delete i[c];
6965
6965
  else {
6966
6966
  if (Rt(l) && Rt(p)) {
@@ -6976,7 +6976,7 @@ function Su(t, e, n, r) {
6976
6976
  return i;
6977
6977
  }
6978
6978
  }
6979
- function ta(t, e, n) {
6979
+ function na(t, e, n) {
6980
6980
  for (var r = n.get(t[e]) || [], i = 0, o = r.length; i < o; i++) {
6981
6981
  var a = r[i];
6982
6982
  if (a.key === e && a.obj === t)
@@ -6991,13 +6991,13 @@ function Ou(t) {
6991
6991
  return typeof t == "function";
6992
6992
  }
6993
6993
  function Rt(t) {
6994
- return !An(t) && !$n(t) && !Ou(t) && typeof t == "object";
6994
+ return !wn(t) && !$n(t) && !Ou(t) && typeof t == "object";
6995
6995
  }
6996
- function An(t) {
6996
+ function wn(t) {
6997
6997
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t > "u" || t instanceof Date || t instanceof RegExp || t === null;
6998
6998
  }
6999
6999
  function xy(t, e) {
7000
- return !(!ea(t) || !ea(e));
7000
+ return !(!ta(t) || !ta(e));
7001
7001
  }
7002
7002
  function Py(t, e) {
7003
7003
  return typeof e == "string" ? t === e : !!t.match(e);
@@ -7079,14 +7079,14 @@ var Iy = (
7079
7079
  return this._deferred.promise;
7080
7080
  }, t;
7081
7081
  }()
7082
- ), Uy = "exception", wi = function() {
7083
- return wi = Object.assign || function(t) {
7082
+ ), Uy = "exception", Ai = function() {
7083
+ return Ai = Object.assign || function(t) {
7084
7084
  for (var e, n = 1, r = arguments.length; n < r; n++) {
7085
7085
  e = arguments[n];
7086
7086
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
7087
7087
  }
7088
7088
  return t;
7089
- }, wi.apply(this, arguments);
7089
+ }, Ai.apply(this, arguments);
7090
7090
  }, jy = function(t) {
7091
7091
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
7092
7092
  if (n) return n.call(t);
@@ -7096,7 +7096,7 @@ var Iy = (
7096
7096
  }
7097
7097
  };
7098
7098
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7099
- }, na = function(t, e) {
7099
+ }, ra = function(t, e) {
7100
7100
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7101
7101
  if (!n) return t;
7102
7102
  var r = n.call(t), i, o = [], a;
@@ -7124,7 +7124,7 @@ var Iy = (
7124
7124
  code: Mn.UNSET
7125
7125
  }, this.endTime = [0, 0], this._ended = !1, this._duration = [-1, -1], this.name = r, this._spanContext = i, this.parentSpanId = a, this.kind = o, this.links = u;
7126
7126
  var p = Date.now();
7127
- this._performanceStartTime = pt.now(), this._performanceOffset = p - (this._performanceStartTime + ao()), this._startTimeProvided = c != null, this.startTime = this._getTime(c ?? p), this.resource = e.resource, this.instrumentationLibrary = e.instrumentationLibrary, this._spanLimits = e.getSpanLimits(), this._attributeValueLengthLimit = this._spanLimits.attributeValueLengthLimit || 0, l != null && this.setAttributes(l), this._spanProcessor = e.getActiveSpanProcessor(), this._spanProcessor.onStart(this, n);
7127
+ this._performanceStartTime = pt.now(), this._performanceOffset = p - (this._performanceStartTime + so()), this._startTimeProvided = c != null, this.startTime = this._getTime(c ?? p), this.resource = e.resource, this.instrumentationLibrary = e.instrumentationLibrary, this._spanLimits = e.getSpanLimits(), this._attributeValueLengthLimit = this._spanLimits.attributeValueLengthLimit || 0, l != null && this.setAttributes(l), this._spanProcessor = e.getActiveSpanProcessor(), this._spanProcessor.onStart(this, n);
7128
7128
  }
7129
7129
  return t.prototype.spanContext = function() {
7130
7130
  return this._spanContext;
@@ -7134,7 +7134,7 @@ var Iy = (
7134
7134
  var n, r;
7135
7135
  try {
7136
7136
  for (var i = jy(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
7137
- var a = na(o.value, 2), u = a[0], c = a[1];
7137
+ var a = ra(o.value, 2), u = a[0], c = a[1];
7138
7138
  this.setAttribute(u, c);
7139
7139
  }
7140
7140
  } catch (s) {
@@ -7152,8 +7152,8 @@ var Iy = (
7152
7152
  return this;
7153
7153
  if (this._spanLimits.eventCountLimit === 0)
7154
7154
  return T.warn("No events allowed."), this._droppedEventsCount++, this;
7155
- this.events.length >= this._spanLimits.eventCountLimit && (this._droppedEventsCount === 0 && T.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), Yo(n) && (Yo(r) || (r = n), n = void 0);
7156
- var i = Sn(n);
7155
+ this.events.length >= this._spanLimits.eventCountLimit && (this._droppedEventsCount === 0 && T.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), Jo(n) && (Jo(r) || (r = n), n = void 0);
7156
+ var i = bn(n);
7157
7157
  return this.events.push({
7158
7158
  name: e,
7159
7159
  attributes: i,
@@ -7164,9 +7164,9 @@ var Iy = (
7164
7164
  return this.links.push(e), this;
7165
7165
  }, t.prototype.addLinks = function(e) {
7166
7166
  var n;
7167
- return (n = this.links).push.apply(n, $y([], na(e), !1)), this;
7167
+ return (n = this.links).push.apply(n, $y([], ra(e), !1)), this;
7168
7168
  }, t.prototype.setStatus = function(e) {
7169
- return this._isSpanEnded() ? this : (this.status = wi({}, e), this.status.message != null && typeof e.message != "string" && (T.warn("Dropping invalid status.message of type '" + typeof e.message + "', expected 'string'"), delete this.status.message), this);
7169
+ return this._isSpanEnded() ? this : (this.status = Ai({}, e), this.status.message != null && typeof e.message != "string" && (T.warn("Dropping invalid status.message of type '" + typeof e.message + "', expected 'string'"), delete this.status.message), this);
7170
7170
  }, t.prototype.updateName = function(e) {
7171
7171
  return this._isSpanEnded() ? this : (this.name = e, this);
7172
7172
  }, t.prototype.end = function(e) {
@@ -7182,7 +7182,7 @@ var Iy = (
7182
7182
  return Ae(e);
7183
7183
  if (e instanceof Date)
7184
7184
  return Ae(e.getTime());
7185
- if (so(e))
7185
+ if (uo(e))
7186
7186
  return e;
7187
7187
  if (this._startTimeProvided)
7188
7188
  return Ae(Date.now());
@@ -7273,12 +7273,12 @@ var Bn = (
7273
7273
  }
7274
7274
  return t.prototype.shouldSample = function(e, n, r, i, o, a) {
7275
7275
  var u = k.getSpanContext(e);
7276
- return !u || !Qt(u) ? this._root.shouldSample(e, n, r, i, o, a) : u.isRemote ? u.traceFlags & ve.SAMPLED ? this._remoteParentSampled.shouldSample(e, n, r, i, o, a) : this._remoteParentNotSampled.shouldSample(e, n, r, i, o, a) : u.traceFlags & ve.SAMPLED ? this._localParentSampled.shouldSample(e, n, r, i, o, a) : this._localParentNotSampled.shouldSample(e, n, r, i, o, a);
7276
+ return !u || !Jt(u) ? this._root.shouldSample(e, n, r, i, o, a) : u.isRemote ? u.traceFlags & ve.SAMPLED ? this._remoteParentSampled.shouldSample(e, n, r, i, o, a) : this._remoteParentNotSampled.shouldSample(e, n, r, i, o, a) : u.traceFlags & ve.SAMPLED ? this._localParentSampled.shouldSample(e, n, r, i, o, a) : this._localParentNotSampled.shouldSample(e, n, r, i, o, a);
7277
7277
  }, t.prototype.toString = function() {
7278
7278
  return "ParentBased{root=" + this._root.toString() + ", remoteParentSampled=" + this._remoteParentSampled.toString() + ", remoteParentNotSampled=" + this._remoteParentNotSampled.toString() + ", localParentSampled=" + this._localParentSampled.toString() + ", localParentNotSampled=" + this._localParentNotSampled.toString() + "}";
7279
7279
  }, t;
7280
7280
  }()
7281
- ), ra = (
7281
+ ), ia = (
7282
7282
  /** @class */
7283
7283
  function() {
7284
7284
  function t(e) {
@@ -7302,7 +7302,7 @@ var Bn = (
7302
7302
  }()
7303
7303
  ), Fy = pe.AlwaysOn, rt = 1;
7304
7304
  function wu() {
7305
- var t = Gt();
7305
+ var t = Ht();
7306
7306
  return {
7307
7307
  sampler: Au(t),
7308
7308
  forceFlushTimeoutMillis: 3e4,
@@ -7322,7 +7322,7 @@ function wu() {
7322
7322
  };
7323
7323
  }
7324
7324
  function Au(t) {
7325
- switch (t === void 0 && (t = Gt()), t.OTEL_TRACES_SAMPLER) {
7325
+ switch (t === void 0 && (t = Ht()), t.OTEL_TRACES_SAMPLER) {
7326
7326
  case pe.AlwaysOn:
7327
7327
  return new ft();
7328
7328
  case pe.AlwaysOff:
@@ -7336,16 +7336,16 @@ function Au(t) {
7336
7336
  root: new Bn()
7337
7337
  });
7338
7338
  case pe.TraceIdRatio:
7339
- return new ra(ia(t));
7339
+ return new ia(oa(t));
7340
7340
  case pe.ParentBasedTraceIdRatio:
7341
7341
  return new Ir({
7342
- root: new ra(ia(t))
7342
+ root: new ia(oa(t))
7343
7343
  });
7344
7344
  default:
7345
7345
  return T.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + Fy + '".'), new ft();
7346
7346
  }
7347
7347
  }
7348
- function ia(t) {
7348
+ function oa(t) {
7349
7349
  if (t.OTEL_TRACES_SAMPLER_ARG === void 0 || t.OTEL_TRACES_SAMPLER_ARG === "")
7350
7350
  return T.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to " + rt + "."), rt;
7351
7351
  var e = Number(t.OTEL_TRACES_SAMPLER_ARG);
@@ -7359,14 +7359,14 @@ function Vy(t) {
7359
7359
  }
7360
7360
  function Hy(t) {
7361
7361
  var e, n, r, i, o, a, u, c, s, l, p, f, m = Object.assign({}, t.spanLimits), v = Bv();
7362
- return m.attributeCountLimit = (a = (o = (i = (n = (e = t.spanLimits) === null || e === void 0 ? void 0 : e.attributeCountLimit) !== null && n !== void 0 ? n : (r = t.generalLimits) === null || r === void 0 ? void 0 : r.attributeCountLimit) !== null && i !== void 0 ? i : v.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT) !== null && o !== void 0 ? o : v.OTEL_ATTRIBUTE_COUNT_LIMIT) !== null && a !== void 0 ? a : wn, m.attributeValueLengthLimit = (f = (p = (l = (c = (u = t.spanLimits) === null || u === void 0 ? void 0 : u.attributeValueLengthLimit) !== null && c !== void 0 ? c : (s = t.generalLimits) === null || s === void 0 ? void 0 : s.attributeValueLengthLimit) !== null && l !== void 0 ? l : v.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && p !== void 0 ? p : v.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && f !== void 0 ? f : On, Object.assign({}, t, { spanLimits: m });
7362
+ return m.attributeCountLimit = (a = (o = (i = (n = (e = t.spanLimits) === null || e === void 0 ? void 0 : e.attributeCountLimit) !== null && n !== void 0 ? n : (r = t.generalLimits) === null || r === void 0 ? void 0 : r.attributeCountLimit) !== null && i !== void 0 ? i : v.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT) !== null && o !== void 0 ? o : v.OTEL_ATTRIBUTE_COUNT_LIMIT) !== null && a !== void 0 ? a : On, m.attributeValueLengthLimit = (f = (p = (l = (c = (u = t.spanLimits) === null || u === void 0 ? void 0 : u.attributeValueLengthLimit) !== null && c !== void 0 ? c : (s = t.generalLimits) === null || s === void 0 ? void 0 : s.attributeValueLengthLimit) !== null && l !== void 0 ? l : v.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && p !== void 0 ? p : v.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && f !== void 0 ? f : Sn, Object.assign({}, t, { spanLimits: m });
7363
7363
  }
7364
7364
  var Gy = (
7365
7365
  /** @class */
7366
7366
  function() {
7367
7367
  function t(e, n) {
7368
7368
  this._exporter = e, this._isExporting = !1, this._finishedSpans = [], this._droppedSpansCount = 0;
7369
- var r = Gt();
7369
+ var r = Ht();
7370
7370
  this._maxExportBatchSize = typeof n?.maxExportBatchSize == "number" ? n.maxExportBatchSize : r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE, this._maxQueueSize = typeof n?.maxQueueSize == "number" ? n.maxQueueSize : r.OTEL_BSP_MAX_QUEUE_SIZE, this._scheduledDelayMillis = typeof n?.scheduledDelayMillis == "number" ? n.scheduledDelayMillis : r.OTEL_BSP_SCHEDULE_DELAY, this._exportTimeoutMillis = typeof n?.exportTimeoutMillis == "number" ? n.exportTimeoutMillis : r.OTEL_BSP_EXPORT_TIMEOUT, this._shutdownOnce = new Dy(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (T.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
7371
7371
  }
7372
7372
  return t.prototype.forceFlush = function() {
@@ -7412,7 +7412,7 @@ var Gy = (
7412
7412
  for (var a = function() {
7413
7413
  return e._exporter.export(o, function(p) {
7414
7414
  var f;
7415
- clearTimeout(i), p.code === Si.SUCCESS ? n() : r((f = p.error) !== null && f !== void 0 ? f : new Error("BatchSpanProcessor: span export failed"));
7415
+ clearTimeout(i), p.code === Oi.SUCCESS ? n() : r((f = p.error) !== null && f !== void 0 ? f : new Error("BatchSpanProcessor: span export failed"));
7416
7416
  });
7417
7417
  }, u = null, c = 0, s = o.length; c < s; c++) {
7418
7418
  var l = o[c];
@@ -7487,16 +7487,16 @@ var Gy = (
7487
7487
  /** @class */
7488
7488
  /* @__PURE__ */ function() {
7489
7489
  function t() {
7490
- this.generateTraceId = oa(Xy), this.generateSpanId = oa(qy);
7490
+ this.generateTraceId = aa(Xy), this.generateSpanId = aa(qy);
7491
7491
  }
7492
7492
  return t;
7493
7493
  }()
7494
- ), an = Array(32);
7495
- function oa(t) {
7494
+ ), on = Array(32);
7495
+ function aa(t) {
7496
7496
  return function() {
7497
7497
  for (var e = 0; e < t * 2; e++)
7498
- an[e] = Math.floor(Math.random() * 16) + 48, an[e] >= 58 && (an[e] += 39);
7499
- return String.fromCharCode.apply(null, an.slice(0, t * 2));
7498
+ on[e] = Math.floor(Math.random() * 16) + 48, on[e] >= 58 && (on[e] += 39);
7499
+ return String.fromCharCode.apply(null, on.slice(0, t * 2));
7500
7500
  };
7501
7501
  }
7502
7502
  var Wy = (
@@ -7511,19 +7511,19 @@ var Wy = (
7511
7511
  var i, o, a;
7512
7512
  n === void 0 && (n = {}), r === void 0 && (r = N.active()), n.root && (r = k.deleteSpan(r));
7513
7513
  var u = k.getSpan(r);
7514
- if (oo(r)) {
7514
+ if (ao(r)) {
7515
7515
  T.debug("Instrumentation suppressed, returning Noop Span");
7516
7516
  var c = k.wrapSpanContext(qs);
7517
7517
  return c;
7518
7518
  }
7519
7519
  var s = u?.spanContext(), l = this._idGenerator.generateSpanId(), p, f, m;
7520
7520
  !s || !k.isSpanContextValid(s) ? p = this._idGenerator.generateTraceId() : (p = s.traceId, f = s.traceState, m = s.spanId);
7521
- var v = (i = n.kind) !== null && i !== void 0 ? i : Ht.INTERNAL, y = ((o = n.links) !== null && o !== void 0 ? o : []).map(function(ne) {
7521
+ var v = (i = n.kind) !== null && i !== void 0 ? i : Vt.INTERNAL, y = ((o = n.links) !== null && o !== void 0 ? o : []).map(function(ne) {
7522
7522
  return {
7523
7523
  context: ne.context,
7524
- attributes: Sn(ne.attributes)
7524
+ attributes: bn(ne.attributes)
7525
7525
  };
7526
- }), _ = Sn(n.attributes), E = this._sampler.shouldSample(r, p, e, v, _, y);
7526
+ }), _ = bn(n.attributes), E = this._sampler.shouldSample(r, p, e, v, _, y);
7527
7527
  f = (a = E.traceState) !== null && a !== void 0 ? a : f;
7528
7528
  var S = E.decision === kn.RECORD_AND_SAMPLED ? ve.SAMPLED : ve.NONE, x = { traceId: p, spanId: l, traceFlags: S, traceState: f };
7529
7529
  if (E.decision === kn.NOT_RECORD) {
@@ -7531,7 +7531,7 @@ var Wy = (
7531
7531
  var c = k.wrapSpanContext(x);
7532
7532
  return c;
7533
7533
  }
7534
- var j = Sn(Object.assign(_, E.attributes)), $ = new By(this, r, e, x, v, m, y, n.startTime, void 0, j);
7534
+ var j = bn(Object.assign(_, E.attributes)), $ = new By(this, r, e, x, v, m, y, n.startTime, void 0, j);
7535
7535
  return $;
7536
7536
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
7537
7537
  var o, a, u;
@@ -7548,7 +7548,7 @@ var Wy = (
7548
7548
  return this._tracerProvider.getActiveSpanProcessor();
7549
7549
  }, t;
7550
7550
  }()
7551
- ), Yy = "process.runtime.name", Jy = "service.name", Qy = "telemetry.sdk.name", Zy = "telemetry.sdk.language", em = "telemetry.sdk.version", tm = Yy, nm = Jy, Ai = Qy, Li = Zy, Ri = em, rm = "webjs", im = rm, om = "1.30.1", it, kr = (it = {}, it[Ai] = "opentelemetry", it[tm] = "browser", it[Li] = im, it[Ri] = om, it);
7551
+ ), Yy = "process.runtime.name", Jy = "service.name", Qy = "telemetry.sdk.name", Zy = "telemetry.sdk.language", em = "telemetry.sdk.version", tm = Yy, nm = Jy, Li = Qy, Ri = Zy, Ci = em, rm = "webjs", im = rm, om = "1.30.1", it, kr = (it = {}, it[Li] = "opentelemetry", it[tm] = "browser", it[Ri] = im, it[Ci] = om, it);
7552
7552
  function am() {
7553
7553
  return "unknown_service";
7554
7554
  }
@@ -7661,7 +7661,7 @@ var Oe = function() {
7661
7661
  }
7662
7662
  }
7663
7663
  return o;
7664
- }, zt = (
7664
+ }, Gt = (
7665
7665
  /** @class */
7666
7666
  function() {
7667
7667
  function t(e, n) {
@@ -7676,7 +7676,7 @@ var Oe = function() {
7676
7676
  return t.EMPTY;
7677
7677
  }, t.default = function() {
7678
7678
  var e;
7679
- return new t((e = {}, e[nm] = am(), e[Li] = kr[Li], e[Ai] = kr[Ai], e[Ri] = kr[Ri], e));
7679
+ return new t((e = {}, e[nm] = am(), e[Ri] = kr[Ri], e[Li] = kr[Li], e[Ci] = kr[Ci], e));
7680
7680
  }, Object.defineProperty(t.prototype, "attributes", {
7681
7681
  get: function() {
7682
7682
  var e;
@@ -7717,7 +7717,7 @@ var Oe = function() {
7717
7717
  return new t(i, o);
7718
7718
  }, t.EMPTY = new t({}), t;
7719
7719
  }()
7720
- ), sn = function(t) {
7720
+ ), an = function(t) {
7721
7721
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
7722
7722
  if (n) return n.call(t);
7723
7723
  if (t && typeof t.length == "number") return {
@@ -7726,7 +7726,7 @@ var Oe = function() {
7726
7726
  }
7727
7727
  };
7728
7728
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7729
- }, aa = (
7729
+ }, sa = (
7730
7730
  /** @class */
7731
7731
  function() {
7732
7732
  function t(e) {
@@ -7735,7 +7735,7 @@ var Oe = function() {
7735
7735
  return t.prototype.forceFlush = function() {
7736
7736
  var e, n, r = [];
7737
7737
  try {
7738
- for (var i = sn(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7738
+ for (var i = an(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7739
7739
  var a = o.value;
7740
7740
  r.push(a.forceFlush());
7741
7741
  }
@@ -7758,7 +7758,7 @@ var Oe = function() {
7758
7758
  }, t.prototype.onStart = function(e, n) {
7759
7759
  var r, i;
7760
7760
  try {
7761
- for (var o = sn(this._spanProcessors), a = o.next(); !a.done; a = o.next()) {
7761
+ for (var o = an(this._spanProcessors), a = o.next(); !a.done; a = o.next()) {
7762
7762
  var u = a.value;
7763
7763
  u.onStart(e, n);
7764
7764
  }
@@ -7774,7 +7774,7 @@ var Oe = function() {
7774
7774
  }, t.prototype.onEnd = function(e) {
7775
7775
  var n, r;
7776
7776
  try {
7777
- for (var i = sn(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7777
+ for (var i = an(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7778
7778
  var a = o.value;
7779
7779
  a.onEnd(e);
7780
7780
  }
@@ -7790,7 +7790,7 @@ var Oe = function() {
7790
7790
  }, t.prototype.shutdown = function() {
7791
7791
  var e, n, r = [];
7792
7792
  try {
7793
- for (var i = sn(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7793
+ for (var i = an(this._spanProcessors), o = i.next(); !o.done; o = i.next()) {
7794
7794
  var a = o.value;
7795
7795
  r.push(a.shutdown());
7796
7796
  }
@@ -7855,10 +7855,10 @@ var hm = (
7855
7855
  var n, r;
7856
7856
  this._registeredSpanProcessors = [], this._tracers = /* @__PURE__ */ new Map();
7857
7857
  var i = Ny({}, wu(), Hy(e));
7858
- if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : zt.empty(), i.mergeResourceWithDefaults && (this.resource = zt.default().merge(this.resource)), this._config = Object.assign({}, i, {
7858
+ if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : Gt.empty(), i.mergeResourceWithDefaults && (this.resource = Gt.default().merge(this.resource)), this._config = Object.assign({}, i, {
7859
7859
  resource: this.resource
7860
7860
  }), !((r = e.spanProcessors) === null || r === void 0) && r.length)
7861
- this._registeredSpanProcessors = fm([], pm(e.spanProcessors), !1), this.activeSpanProcessor = new aa(this._registeredSpanProcessors);
7861
+ this._registeredSpanProcessors = fm([], pm(e.spanProcessors), !1), this.activeSpanProcessor = new sa(this._registeredSpanProcessors);
7862
7862
  else {
7863
7863
  var o = this._buildExporterFromEnv();
7864
7864
  if (o !== void 0) {
@@ -7874,7 +7874,7 @@ var hm = (
7874
7874
  }, t.prototype.addSpanProcessor = function(e) {
7875
7875
  this._registeredSpanProcessors.length === 0 && this.activeSpanProcessor.shutdown().catch(function(n) {
7876
7876
  return T.error("Error while trying to shutdown current span processor", n);
7877
- }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new aa(this._registeredSpanProcessors);
7877
+ }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new sa(this._registeredSpanProcessors);
7878
7878
  }, t.prototype.getActiveSpanProcessor = function() {
7879
7879
  return this.activeSpanProcessor;
7880
7880
  }, t.prototype.register = function(e) {
@@ -7911,7 +7911,7 @@ var hm = (
7911
7911
  var n;
7912
7912
  return (n = this.constructor._registeredExporters.get(e)) === null || n === void 0 ? void 0 : n();
7913
7913
  }, t.prototype._buildPropagatorFromEnv = function() {
7914
- var e = this, n = Array.from(new Set(Gt().OTEL_PROPAGATORS)), r = n.map(function(o) {
7914
+ var e = this, n = Array.from(new Set(Ht().OTEL_PROPAGATORS)), r = n.map(function(o) {
7915
7915
  var a = e._getPropagator(o);
7916
7916
  return a || T.warn('Propagator "' + o + '" requested through environment variable is unavailable.'), a;
7917
7917
  }), i = r.reduce(function(o, a) {
@@ -7922,7 +7922,7 @@ var hm = (
7922
7922
  propagators: i
7923
7923
  });
7924
7924
  }, t.prototype._buildExporterFromEnv = function() {
7925
- var e = Gt().OTEL_TRACES_EXPORTER;
7925
+ var e = Ht().OTEL_TRACES_EXPORTER;
7926
7926
  if (!(e === "none" || e === "")) {
7927
7927
  var n = this._getSpanExporter(e);
7928
7928
  return n || T.error('Exporter "' + e + '" requested through environment variable is unavailable.'), n;
@@ -8091,15 +8091,15 @@ function Nu(t, e, n, r, i, o) {
8091
8091
  };
8092
8092
  }
8093
8093
  function Em(t, e, n) {
8094
- for (var r = Le(n), i = Le(Mt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
8095
- var s = t[c], l = Le(Mt(s[w.FETCH_START])), p = Le(Mt(s[w.RESPONSE_END])), f = r - p;
8094
+ for (var r = Le(n), i = Le(kt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
8095
+ var s = t[c], l = Le(kt(s[w.FETCH_START])), p = Le(kt(s[w.RESPONSE_END])), f = r - p;
8096
8096
  l >= i && (!a || f < a) && (a = f, o = s);
8097
8097
  }
8098
8098
  return o;
8099
8099
  }
8100
8100
  function Tm(t, e, n, r, i, o) {
8101
8101
  var a = Le(e), u = Le(n), c = r.filter(function(s) {
8102
- var l = Le(Mt(s[w.FETCH_START])), p = Le(Mt(s[w.RESPONSE_END]));
8102
+ var l = Le(kt(s[w.FETCH_START])), p = Le(kt(s[w.RESPONSE_END]));
8103
8103
  return s.initiatorType.toLowerCase() === (o || "xmlhttprequest") && s.name === t && l >= a && p <= u;
8104
8104
  });
8105
8105
  return c.length > 0 && (c = c.filter(function(s) {
@@ -8155,21 +8155,21 @@ function Pu(t, e) {
8155
8155
  return Py(t, i);
8156
8156
  });
8157
8157
  }
8158
- var Ci = function() {
8159
- return Ci = Object.assign || function(t) {
8158
+ var Ni = function() {
8159
+ return Ni = Object.assign || function(t) {
8160
8160
  for (var e, n = 1, r = arguments.length; n < r; n++) {
8161
8161
  e = arguments[n];
8162
8162
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
8163
8163
  }
8164
8164
  return t;
8165
- }, Ci.apply(this, arguments);
8165
+ }, Ni.apply(this, arguments);
8166
8166
  }, Om = (
8167
8167
  /** @class */
8168
8168
  function() {
8169
8169
  function t(e, n, r) {
8170
8170
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = W.wrap, this._unwrap = W.unwrap, this._massWrap = W.massWrap, this._massUnwrap = W.massUnwrap, this.setConfig(r), this._diag = T.createComponentLogger({
8171
8171
  namespace: e
8172
- }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Zt.getLogger(e, n), this._updateMetricInstruments();
8172
+ }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Qt.getLogger(e, n), this._updateMetricInstruments();
8173
8173
  }
8174
8174
  return Object.defineProperty(t.prototype, "meter", {
8175
8175
  /* Returns meter */
@@ -8196,7 +8196,7 @@ var Ci = function() {
8196
8196
  }, t.prototype.getConfig = function() {
8197
8197
  return this._config;
8198
8198
  }, t.prototype.setConfig = function(e) {
8199
- this._config = Ci({ enabled: !0 }, e);
8199
+ this._config = Ni({ enabled: !0 }, e);
8200
8200
  }, t.prototype.setTracerProvider = function(e) {
8201
8201
  this._tracer = e.getTracer(this.instrumentationName, this.instrumentationVersion);
8202
8202
  }, Object.defineProperty(t.prototype, "tracer", {
@@ -8243,7 +8243,7 @@ var Ci = function() {
8243
8243
  return e;
8244
8244
  }(Om)
8245
8245
  );
8246
- function sa(t, e, n) {
8246
+ function ua(t, e, n) {
8247
8247
  var r, i;
8248
8248
  try {
8249
8249
  i = t();
@@ -8253,10 +8253,10 @@ function sa(t, e, n) {
8253
8253
  return e(r, i), i;
8254
8254
  }
8255
8255
  }
8256
- var Dt;
8256
+ var Mt;
8257
8257
  (function(t) {
8258
8258
  t.DOCUMENT_LOAD = "documentLoad", t.DOCUMENT_FETCH = "documentFetch", t.RESOURCE_FETCH = "resourceFetch";
8259
- })(Dt || (Dt = {}));
8259
+ })(Mt || (Mt = {}));
8260
8260
  var Lm = "0.44.0", Rm = "@opentelemetry/instrumentation-document-load";
8261
8261
  const Cm = "http.url", Nm = "http.user_agent", ht = Cm, xm = Nm;
8262
8262
  var Fn;
@@ -8286,14 +8286,14 @@ var Pm = function() {
8286
8286
  }
8287
8287
  }
8288
8288
  return n;
8289
- }, ua = {
8289
+ }, ca = {
8290
8290
  "first-paint": Fn.FIRST_PAINT,
8291
8291
  "first-contentful-paint": Fn.FIRST_CONTENTFUL_PAINT
8292
8292
  }, Im = function(t) {
8293
8293
  var e, n, r = (n = (e = Un).getEntriesByType) === null || n === void 0 ? void 0 : n.call(e, "paint");
8294
8294
  r && r.forEach(function(i) {
8295
8295
  var o = i.name, a = i.startTime;
8296
- Pe(ua, o) && t.addEvent(ua[o], a);
8296
+ Pe(ca, o) && t.addEvent(ca[o], a);
8297
8297
  });
8298
8298
  }, km = /* @__PURE__ */ function() {
8299
8299
  var t = function(e, n) {
@@ -8337,9 +8337,9 @@ var Pm = function() {
8337
8337
  return a.getAttribute("name") === uv;
8338
8338
  }), i = Pm(), o = r && r.content || "";
8339
8339
  N.with(Z.extract(je, { traceparent: o }), function() {
8340
- var a, u = n._startSpan(Dt.DOCUMENT_LOAD, w.FETCH_START, i);
8340
+ var a, u = n._startSpan(Mt.DOCUMENT_LOAD, w.FETCH_START, i);
8341
8341
  u && (N.with(k.setSpan(N.active(), u), function() {
8342
- var c = n._startSpan(Dt.DOCUMENT_FETCH, w.FETCH_START, i);
8342
+ var c = n._startSpan(Mt.DOCUMENT_FETCH, w.FETCH_START, i);
8343
8343
  c && (c.setAttribute(ht, location.href), N.with(k.setSpan(N.active(), c), function() {
8344
8344
  var s;
8345
8345
  n.getConfig().ignoreNetworkEvents || mt(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, w.RESPONSE_END, i);
@@ -8349,7 +8349,7 @@ var Pm = function() {
8349
8349
  }, e.prototype._endSpan = function(n, r, i) {
8350
8350
  n && (Pe(i, r) ? n.end(i[r]) : n.end());
8351
8351
  }, e.prototype._initResourceSpan = function(n, r) {
8352
- var i, o = this._startSpan(Dt.RESOURCE_FETCH, w.FETCH_START, n, r);
8352
+ var i, o = this._startSpan(Mt.RESOURCE_FETCH, w.FETCH_START, n, r);
8353
8353
  o && (o.setAttribute(ht, n.name), this.getConfig().ignoreNetworkEvents || mt(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, w.RESPONSE_END, n));
8354
8354
  }, e.prototype._startSpan = function(n, r, i, o) {
8355
8355
  if (Pe(i, r) && typeof i[r] == "number") {
@@ -8362,14 +8362,14 @@ var Pm = function() {
8362
8362
  window.document.readyState === "complete" ? this._onDocumentLoaded() : (this._onDocumentLoaded = this._onDocumentLoaded.bind(this), window.addEventListener("load", this._onDocumentLoaded));
8363
8363
  }, e.prototype._addCustomAttributesOnSpan = function(n, r) {
8364
8364
  var i = this;
8365
- r && sa(function() {
8365
+ r && ua(function() {
8366
8366
  return r(n);
8367
8367
  }, function(o) {
8368
8368
  o && i._diag.error("addCustomAttributesOnSpan", o);
8369
8369
  });
8370
8370
  }, e.prototype._addCustomAttributesOnResourceSpan = function(n, r, i) {
8371
8371
  var o = this;
8372
- i && sa(function() {
8372
+ i && ua(function() {
8373
8373
  return i(n, r);
8374
8374
  }, function(a) {
8375
8375
  a && o._diag.error("addCustomAttributesOnResourceSpan", a);
@@ -8380,21 +8380,21 @@ var Pm = function() {
8380
8380
  window.removeEventListener("load", this._onDocumentLoaded);
8381
8381
  }, e;
8382
8382
  }(Am)
8383
- ), Ni = function() {
8384
- return Ni = Object.assign || function(t) {
8383
+ ), xi = function() {
8384
+ return xi = Object.assign || function(t) {
8385
8385
  for (var e, n = 1, r = arguments.length; n < r; n++) {
8386
8386
  e = arguments[n];
8387
8387
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
8388
8388
  }
8389
8389
  return t;
8390
- }, Ni.apply(this, arguments);
8390
+ }, xi.apply(this, arguments);
8391
8391
  }, Dm = (
8392
8392
  /** @class */
8393
8393
  function() {
8394
8394
  function t(e, n, r) {
8395
8395
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = W.wrap, this._unwrap = W.unwrap, this._massWrap = W.massWrap, this._massUnwrap = W.massUnwrap, this.setConfig(r), this._diag = T.createComponentLogger({
8396
8396
  namespace: e
8397
- }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Zt.getLogger(e, n), this._updateMetricInstruments();
8397
+ }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Qt.getLogger(e, n), this._updateMetricInstruments();
8398
8398
  }
8399
8399
  return Object.defineProperty(t.prototype, "meter", {
8400
8400
  /* Returns meter */
@@ -8421,7 +8421,7 @@ var Pm = function() {
8421
8421
  }, t.prototype.getConfig = function() {
8422
8422
  return this._config;
8423
8423
  }, t.prototype.setConfig = function(e) {
8424
- this._config = Ni({ enabled: !0 }, e);
8424
+ this._config = xi({ enabled: !0 }, e);
8425
8425
  }, t.prototype.setTracerProvider = function(e) {
8426
8426
  this._tracer = e.getTracer(this.instrumentationName, this.instrumentationVersion);
8427
8427
  }, Object.defineProperty(t.prototype, "tracer", {
@@ -8481,26 +8481,26 @@ function $m(t, e, n) {
8481
8481
  function Bm(t) {
8482
8482
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
8483
8483
  }
8484
- var Dr = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, xi = performance, Fm = "http.method", Vm = "http.url", Hm = "http.host", Gm = "http.scheme", zm = "http.status_code", qm = "http.user_agent", Xm = "http.request_content_length_uncompressed", Km = Fm, Wm = Vm, Ym = Hm, Jm = Gm, Qm = zm, Zm = qm, e_ = Xm, t_ = 9, n_ = 6, r_ = Math.pow(10, n_), ca = Math.pow(10, t_);
8485
- function Pi(t) {
8484
+ var Dr = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Pi = performance, Fm = "http.method", Vm = "http.url", Hm = "http.host", Gm = "http.scheme", zm = "http.status_code", qm = "http.user_agent", Xm = "http.request_content_length_uncompressed", Km = Fm, Wm = Vm, Ym = Hm, Jm = Gm, Qm = zm, Zm = qm, e_ = Xm, t_ = 9, n_ = 6, r_ = Math.pow(10, n_), la = Math.pow(10, t_);
8485
+ function Ii(t) {
8486
8486
  var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * r_);
8487
8487
  return [n, r];
8488
8488
  }
8489
8489
  function i_() {
8490
- var t = xi.timeOrigin;
8490
+ var t = Pi.timeOrigin;
8491
8491
  if (typeof t != "number") {
8492
- var e = xi;
8492
+ var e = Pi;
8493
8493
  t = e.timing && e.timing.fetchStart;
8494
8494
  }
8495
8495
  return t;
8496
8496
  }
8497
- function la(t) {
8498
- var e = Pi(i_()), n = Pi(xi.now());
8497
+ function pa(t) {
8498
+ var e = Ii(i_()), n = Ii(Pi.now());
8499
8499
  return o_(e, n);
8500
8500
  }
8501
8501
  function o_(t, e) {
8502
8502
  var n = [t[0] + e[0], t[1] + e[1]];
8503
- return n[1] >= ca && (n[1] -= ca, n[0] += 1), n;
8503
+ return n[1] >= la && (n[1] -= la, n[0] += 1), n;
8504
8504
  }
8505
8505
  var a_ = function(t) {
8506
8506
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
@@ -8668,7 +8668,7 @@ function h_() {
8668
8668
  } else {
8669
8669
  var a = t[0];
8670
8670
  return a != null && a.body ? a.clone().text().then(function(u) {
8671
- return Ii(u);
8671
+ return ki(u);
8672
8672
  }) : Promise.resolve();
8673
8673
  }
8674
8674
  }
@@ -8718,13 +8718,13 @@ function v_(t) {
8718
8718
  if (t instanceof FormData)
8719
8719
  return m_(t);
8720
8720
  if (t instanceof URLSearchParams)
8721
- return Ii(t.toString());
8721
+ return ki(t.toString());
8722
8722
  if (typeof t == "string")
8723
- return Ii(t);
8723
+ return ki(t);
8724
8724
  Iu.warn("unknown body type");
8725
8725
  }
8726
8726
  var y_ = new TextEncoder();
8727
- function Ii(t) {
8727
+ function ki(t) {
8728
8728
  return y_.encode(t).byteLength;
8729
8729
  }
8730
8730
  function m_(t) {
@@ -8745,7 +8745,7 @@ function m_(t) {
8745
8745
  }
8746
8746
  return r;
8747
8747
  }
8748
- var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8748
+ var fa = "0.57.2", __ = /* @__PURE__ */ function() {
8749
8749
  var t = function(e, n) {
8750
8750
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8751
8751
  r.__proto__ = i;
@@ -8782,14 +8782,14 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8782
8782
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
8783
8783
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
8784
8784
  return t.concat(o || Array.prototype.slice.call(e));
8785
- }, Ur, T_ = 300, fa = typeof process == "object" && ((Ur = process.release) === null || Ur === void 0 ? void 0 : Ur.name) === "node", b_ = (
8785
+ }, Ur, T_ = 300, ha = typeof process == "object" && ((Ur = process.release) === null || Ur === void 0 ? void 0 : Ur.name) === "node", b_ = (
8786
8786
  /** @class */
8787
8787
  function(t) {
8788
8788
  __(e, t);
8789
8789
  function e(n) {
8790
8790
  n === void 0 && (n = {});
8791
- var r = t.call(this, "@opentelemetry/instrumentation-fetch", pa, n) || this;
8792
- return r.component = "fetch", r.version = pa, r.moduleName = r.component, r._usedResources = /* @__PURE__ */ new WeakSet(), r._tasksCount = 0, r;
8791
+ var r = t.call(this, "@opentelemetry/instrumentation-fetch", fa, n) || this;
8792
+ return r.component = "fetch", r.version = fa, r.moduleName = r.component, r._usedResources = /* @__PURE__ */ new WeakSet(), r._tasksCount = 0, r;
8793
8793
  }
8794
8794
  return e.prototype.init = function() {
8795
8795
  }, e.prototype._addChildSpan = function(n, r) {
@@ -8838,7 +8838,7 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8838
8838
  }
8839
8839
  var o = (r.method || "GET").toUpperCase(), a = "HTTP " + o;
8840
8840
  return this.tracer.startSpan(a, {
8841
- kind: Ht.CLIENT,
8841
+ kind: Vt.CLIENT,
8842
8842
  attributes: (i = {}, i[Vn.COMPONENT] = this.moduleName, i[Km] = o, i[Wm] = n, i)
8843
8843
  });
8844
8844
  }, e.prototype._findResourceAndAddNetworkEvents = function(n, r, i) {
@@ -8858,7 +8858,7 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8858
8858
  }, e.prototype._markResourceAsUsed = function(n) {
8859
8859
  this._usedResources.add(n);
8860
8860
  }, e.prototype._endSpan = function(n, r, i) {
8861
- var o = this, a = Pi(Date.now()), u = la();
8861
+ var o = this, a = Ii(Date.now()), u = pa();
8862
8862
  this._addFinalSpanAttributes(n, i), setTimeout(function() {
8863
8863
  var c;
8864
8864
  (c = r.observer) === null || c === void 0 || c.disconnect(), o._findResourceAndAddNetworkEvents(n, r, u), o._tasksCount--, o._clearResources(), n.end(a);
@@ -8934,7 +8934,7 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8934
8934
  u && o._diag.error("applyCustomAttributesOnSpan", u);
8935
8935
  });
8936
8936
  }, e.prototype._prepareSpanData = function(n) {
8937
- var r = la(), i = [];
8937
+ var r = pa(), i = [];
8938
8938
  if (typeof PerformanceObserver != "function")
8939
8939
  return { entries: i, startTime: r, spanUrl: n };
8940
8940
  var o = new PerformanceObserver(function(a) {
@@ -8947,30 +8947,30 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8947
8947
  entryTypes: ["resource"]
8948
8948
  }), { entries: i, observer: o, startTime: r, spanUrl: n };
8949
8949
  }, e.prototype.enable = function() {
8950
- if (fa) {
8950
+ if (ha) {
8951
8951
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
8952
8952
  return;
8953
8953
  }
8954
8954
  Bm(fetch) && (this._unwrap(Dr, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(Dr, "fetch", this._patchConstructor());
8955
8955
  }, e.prototype.disable = function() {
8956
- fa || (this._unwrap(Dr, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8956
+ ha || (this._unwrap(Dr, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8957
8957
  }, e;
8958
8958
  }(jm)
8959
- ), ki = function() {
8960
- return ki = Object.assign || function(t) {
8959
+ ), Mi = function() {
8960
+ return Mi = Object.assign || function(t) {
8961
8961
  for (var e, n = 1, r = arguments.length; n < r; n++) {
8962
8962
  e = arguments[n];
8963
8963
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
8964
8964
  }
8965
8965
  return t;
8966
- }, ki.apply(this, arguments);
8966
+ }, Mi.apply(this, arguments);
8967
8967
  }, S_ = (
8968
8968
  /** @class */
8969
8969
  function() {
8970
8970
  function t(e, n, r) {
8971
8971
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = W.wrap, this._unwrap = W.unwrap, this._massWrap = W.massWrap, this._massUnwrap = W.massUnwrap, this.setConfig(r), this._diag = T.createComponentLogger({
8972
8972
  namespace: e
8973
- }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Zt.getLogger(e, n), this._updateMetricInstruments();
8973
+ }), this._tracer = k.getTracer(e, n), this._meter = Et.getMeter(e, n), this._logger = Qt.getLogger(e, n), this._updateMetricInstruments();
8974
8974
  }
8975
8975
  return Object.defineProperty(t.prototype, "meter", {
8976
8976
  /* Returns meter */
@@ -8997,7 +8997,7 @@ var pa = "0.57.2", __ = /* @__PURE__ */ function() {
8997
8997
  }, t.prototype.getConfig = function() {
8998
8998
  return this._config;
8999
8999
  }, t.prototype.setConfig = function(e) {
9000
- this._config = ki({ enabled: !0 }, e);
9000
+ this._config = Mi({ enabled: !0 }, e);
9001
9001
  }, t.prototype.setTracerProvider = function(e) {
9002
9002
  this._tracer = e.getTracer(this.instrumentationName, this.instrumentationVersion);
9003
9003
  }, Object.defineProperty(t.prototype, "tracer", {
@@ -9054,29 +9054,29 @@ function A_(t, e, n) {
9054
9054
  return e(r, i), i;
9055
9055
  }
9056
9056
  }
9057
- function ha(t) {
9057
+ function da(t) {
9058
9058
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
9059
9059
  }
9060
- var qt = performance, L_ = "http.method", R_ = "http.url", C_ = "http.host", N_ = "http.scheme", x_ = "http.status_code", P_ = "http.user_agent", I_ = "http.request_content_length_uncompressed", k_ = L_, M_ = R_, D_ = C_, U_ = N_, j_ = x_, $_ = P_, B_ = I_, F_ = 9, V_ = 6, H_ = Math.pow(10, V_), da = Math.pow(10, F_);
9061
- function va(t) {
9060
+ var zt = performance, L_ = "http.method", R_ = "http.url", C_ = "http.host", N_ = "http.scheme", x_ = "http.status_code", P_ = "http.user_agent", I_ = "http.request_content_length_uncompressed", k_ = L_, M_ = R_, D_ = C_, U_ = N_, j_ = x_, $_ = P_, B_ = I_, F_ = 9, V_ = 6, H_ = Math.pow(10, V_), va = Math.pow(10, F_);
9061
+ function ya(t) {
9062
9062
  var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * H_);
9063
9063
  return [n, r];
9064
9064
  }
9065
9065
  function G_() {
9066
- var t = qt.timeOrigin;
9066
+ var t = zt.timeOrigin;
9067
9067
  if (typeof t != "number") {
9068
- var e = qt;
9068
+ var e = zt;
9069
9069
  t = e.timing && e.timing.fetchStart;
9070
9070
  }
9071
9071
  return t;
9072
9072
  }
9073
- function ya(t) {
9074
- var e = va(G_()), n = va(qt.now());
9073
+ function ma(t) {
9074
+ var e = ya(G_()), n = ya(zt.now());
9075
9075
  return z_(e, n);
9076
9076
  }
9077
9077
  function z_(t, e) {
9078
9078
  var n = [t[0] + e[0], t[1] + e[1]];
9079
- return n[1] >= da && (n[1] -= da, n[0] += 1), n;
9079
+ return n[1] >= va && (n[1] -= va, n[0] += 1), n;
9080
9080
  }
9081
9081
  var q_ = function(t) {
9082
9082
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
@@ -9154,13 +9154,13 @@ function Q_(t) {
9154
9154
  if (t instanceof FormData)
9155
9155
  return eg(t);
9156
9156
  if (t instanceof URLSearchParams)
9157
- return ma(t.toString());
9157
+ return _a(t.toString());
9158
9158
  if (typeof t == "string")
9159
- return ma(t);
9159
+ return _a(t);
9160
9160
  J_.warn("unknown body type");
9161
9161
  }
9162
9162
  var Z_ = new TextEncoder();
9163
- function ma(t) {
9163
+ function _a(t) {
9164
9164
  return Z_.encode(t).byteLength;
9165
9165
  }
9166
9166
  function eg(t) {
@@ -9181,10 +9181,10 @@ function eg(t) {
9181
9181
  }
9182
9182
  return r;
9183
9183
  }
9184
- var _a = "0.57.2", Mi;
9184
+ var ga = "0.57.2", Di;
9185
9185
  (function(t) {
9186
9186
  t.HTTP_STATUS_TEXT = "http.status_text";
9187
- })(Mi || (Mi = {}));
9187
+ })(Di || (Di = {}));
9188
9188
  var tg = /* @__PURE__ */ function() {
9189
9189
  var t = function(e, n) {
9190
9190
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
@@ -9208,8 +9208,8 @@ var tg = /* @__PURE__ */ function() {
9208
9208
  tg(e, t);
9209
9209
  function e(n) {
9210
9210
  n === void 0 && (n = {});
9211
- var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", _a, n) || this;
9212
- return r.component = "xml-http-request", r.version = _a, r.moduleName = r.component, r._tasksCount = 0, r._xhrMem = /* @__PURE__ */ new WeakMap(), r._usedResources = /* @__PURE__ */ new WeakSet(), r;
9211
+ var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", ga, n) || this;
9212
+ return r.component = "xml-http-request", r.version = ga, r.moduleName = r.component, r._tasksCount = 0, r._xhrMem = /* @__PURE__ */ new WeakMap(), r._usedResources = /* @__PURE__ */ new WeakSet(), r;
9213
9213
  }
9214
9214
  return e.prototype.init = function() {
9215
9215
  }, e.prototype._addHeaders = function(n, r) {
@@ -9234,7 +9234,7 @@ var tg = /* @__PURE__ */ function() {
9234
9234
  }, e.prototype._addFinalSpanAttributes = function(n, r, i) {
9235
9235
  if (typeof i == "string") {
9236
9236
  var o = Ee(i);
9237
- r.status !== void 0 && n.setAttribute(j_, r.status), r.statusText !== void 0 && n.setAttribute(Mi.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(D_, o.host), n.setAttribute(U_, o.protocol.replace(":", "")), n.setAttribute($_, navigator.userAgent);
9237
+ r.status !== void 0 && n.setAttribute(j_, r.status), r.statusText !== void 0 && n.setAttribute(Di.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(D_, o.host), n.setAttribute(U_, o.protocol.replace(":", "")), n.setAttribute($_, navigator.userAgent);
9238
9238
  }
9239
9239
  }, e.prototype._applyAttributesAfterXHR = function(n, r) {
9240
9240
  var i = this, o = this.getConfig().applyCustomAttributesOnSpan;
@@ -9257,11 +9257,11 @@ var tg = /* @__PURE__ */ function() {
9257
9257
  entryTypes: ["resource"]
9258
9258
  }));
9259
9259
  }, e.prototype._clearResources = function() {
9260
- this._tasksCount === 0 && this.getConfig().clearTimingResources && (qt.clearResourceTimings(), this._xhrMem = /* @__PURE__ */ new WeakMap(), this._usedResources = /* @__PURE__ */ new WeakSet());
9260
+ this._tasksCount === 0 && this.getConfig().clearTimingResources && (zt.clearResourceTimings(), this._xhrMem = /* @__PURE__ */ new WeakMap(), this._usedResources = /* @__PURE__ */ new WeakSet());
9261
9261
  }, e.prototype._findResourceAndAddNetworkEvents = function(n, r, i, o, a) {
9262
9262
  if (!(!i || !o || !a || !n.createdResources)) {
9263
9263
  var u = n.createdResources.entries;
9264
- (!u || !u.length) && (u = qt.getEntriesByType("resource"));
9264
+ (!u || !u.length) && (u = zt.getEntriesByType("resource"));
9265
9265
  var c = Nu(Ee(i).href, o, a, u, this._usedResources);
9266
9266
  if (c.mainRequest) {
9267
9267
  var s = c.mainRequest;
@@ -9283,7 +9283,7 @@ var tg = /* @__PURE__ */ function() {
9283
9283
  return;
9284
9284
  }
9285
9285
  var a = i.toUpperCase(), u = this.tracer.startSpan(a, {
9286
- kind: Ht.CLIENT,
9286
+ kind: Vt.CLIENT,
9287
9287
  attributes: (o = {}, o[k_] = i, o[M_] = Ee(r).toString(), o)
9288
9288
  });
9289
9289
  return u.addEvent(ge.METHOD_OPEN), this._cleanPreviousSpanInformation(n), this._xhrMem.set(n, {
@@ -9315,7 +9315,7 @@ var tg = /* @__PURE__ */ function() {
9315
9315
  var f = n._xhrMem.get(p);
9316
9316
  if (f) {
9317
9317
  f.status = p.status, f.statusText = p.statusText, n._xhrMem.delete(p), f.span && n._applyAttributesAfterXHR(f.span, p);
9318
- var m = ya(), v = Date.now();
9318
+ var m = ma(), v = Date.now();
9319
9319
  setTimeout(function() {
9320
9320
  r(l, f, m, v);
9321
9321
  }, ng);
@@ -9352,7 +9352,7 @@ var tg = /* @__PURE__ */ function() {
9352
9352
  S !== void 0 && y.setAttribute(B_, S);
9353
9353
  }
9354
9354
  N.with(k.setSpan(N.active(), y), function() {
9355
- n._tasksCount++, v.sendStartTime = ya(), y.addEvent(ge.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), v.callbackToRemoveEvents = function() {
9355
+ n._tasksCount++, v.sendStartTime = ma(), y.addEvent(ge.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), v.callbackToRemoveEvents = function() {
9356
9356
  s(p), v.createdResources && v.createdResources.observer.disconnect();
9357
9357
  }, n._addHeaders(p, _), n._addResourceObserver(p, _);
9358
9358
  });
@@ -9361,13 +9361,13 @@ var tg = /* @__PURE__ */ function() {
9361
9361
  };
9362
9362
  };
9363
9363
  }, e.prototype.enable = function() {
9364
- this._diag.debug("applying patch to", this.moduleName, this.version), ha(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), ha(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
9364
+ this._diag.debug("applying patch to", this.moduleName, this.version), da(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), da(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
9365
9365
  }, e.prototype.disable = function() {
9366
9366
  this._diag.debug("removing patch from", this.moduleName, this.version), this._unwrap(XMLHttpRequest.prototype, "open"), this._unwrap(XMLHttpRequest.prototype, "send"), this._tasksCount = 0, this._xhrMem = /* @__PURE__ */ new WeakMap(), this._usedResources = /* @__PURE__ */ new WeakSet();
9367
9367
  }, e;
9368
9368
  }(w_)
9369
9369
  );
9370
- const uo = (t, e, n) => {
9370
+ const co = (t, e, n) => {
9371
9371
  var r, i;
9372
9372
  const o = P({}, e);
9373
9373
  return n ? ((r = Object.keys(o)) == null || r.forEach((a) => {
@@ -9436,14 +9436,14 @@ const lg = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9436
9436
  return i.forEach((a) => {
9437
9437
  t.match(a) && (o = !0);
9438
9438
  }), o;
9439
- }, ga = 64 * 1024, vg = {
9439
+ }, Ea = 64 * 1024, vg = {
9440
9440
  "application/json": 64 * 1024 * 1024,
9441
9441
  // MB
9442
9442
  "text/plain": 64 * 1024 * 1024
9443
9443
  // MB
9444
- }, co = (t, e, n, r) => {
9444
+ }, lo = (t, e, n, r) => {
9445
9445
  var i, o, a;
9446
- let u = ga;
9446
+ let u = Ea;
9447
9447
  if (r) {
9448
9448
  let c = "";
9449
9449
  typeof r.get == "function" ? c = (i = r.get("content-type")) != null ? i : "" : c = (o = r["content-type"]) != null ? o : "";
@@ -9451,7 +9451,7 @@ const lg = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9451
9451
  c = c.split(";")[0];
9452
9452
  } catch {
9453
9453
  }
9454
- u = (a = vg[c]) != null ? a : ga;
9454
+ u = (a = vg[c]) != null ? a : Ea;
9455
9455
  }
9456
9456
  if (t) {
9457
9457
  if (e)
@@ -9492,7 +9492,7 @@ const lg = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9492
9492
  let s = u.value;
9493
9493
  c += a.decode(s);
9494
9494
  }
9495
- r = c, r = co(
9495
+ r = c, r = lo(
9496
9496
  r,
9497
9497
  n,
9498
9498
  e,
@@ -9536,7 +9536,7 @@ var Du = (
9536
9536
  }
9537
9537
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
9538
9538
  };
9539
- }(), Ea = (
9539
+ }(), Ta = (
9540
9540
  /** @class */
9541
9541
  function(t) {
9542
9542
  mg(e, t);
@@ -9836,10 +9836,10 @@ var Rg = function(t, e, n, r) {
9836
9836
  return;
9837
9837
  } else o.status === "retryable" ? n({
9838
9838
  code: B.FAILED,
9839
- error: new Ea("Export failed with retryable status")
9839
+ error: new Ta("Export failed with retryable status")
9840
9840
  }) : n({
9841
9841
  code: B.FAILED,
9842
- error: new Ea("Export failed with unknown error")
9842
+ error: new Ta("Export failed with unknown error")
9843
9843
  });
9844
9844
  }, function(o) {
9845
9845
  return n({
@@ -9876,12 +9876,12 @@ function Uu(t, e, n) {
9876
9876
  promiseHandler: wg(t)
9877
9877
  }, { timeout: t.timeoutMillis });
9878
9878
  }
9879
- function Ta(t) {
9879
+ function ba(t) {
9880
9880
  return t >= 48 && t <= 57 ? t - 48 : t >= 97 && t <= 102 ? t - 87 : t - 55;
9881
9881
  }
9882
- function lo(t) {
9882
+ function po(t) {
9883
9883
  for (var e = new Uint8Array(t.length / 2), n = 0, r = 0; r < t.length; r += 2) {
9884
- var i = Ta(t.charCodeAt(r)), o = Ta(t.charCodeAt(r + 1));
9884
+ var i = ba(t.charCodeAt(r)), o = ba(t.charCodeAt(r + 1));
9885
9885
  e[n++] = i << 4 | o;
9886
9886
  }
9887
9887
  return e;
@@ -9907,16 +9907,16 @@ function Dg(t) {
9907
9907
  return e.toString();
9908
9908
  }
9909
9909
  var Ug = typeof BigInt < "u" ? Dg : kg;
9910
- function ba(t) {
9910
+ function Sa(t) {
9911
9911
  return t;
9912
9912
  }
9913
9913
  function Bu(t) {
9914
9914
  if (t !== void 0)
9915
- return lo(t);
9915
+ return po(t);
9916
9916
  }
9917
9917
  var jg = {
9918
9918
  encodeHrTime: $u,
9919
- encodeSpanContext: lo,
9919
+ encodeSpanContext: po,
9920
9920
  encodeOptionalSpanContext: Bu
9921
9921
  };
9922
9922
  function Fu(t) {
@@ -9926,8 +9926,8 @@ function Fu(t) {
9926
9926
  var r = (e = t.useLongBits) !== null && e !== void 0 ? e : !0, i = (n = t.useHex) !== null && n !== void 0 ? n : !1;
9927
9927
  return {
9928
9928
  encodeHrTime: r ? $u : Ug,
9929
- encodeSpanContext: i ? ba : lo,
9930
- encodeOptionalSpanContext: i ? ba : Bu
9929
+ encodeSpanContext: i ? Sa : po,
9930
+ encodeOptionalSpanContext: i ? Sa : Bu
9931
9931
  };
9932
9932
  }
9933
9933
  var $g = function(t, e) {
@@ -10006,7 +10006,7 @@ var Bg = /* @__PURE__ */ function() {
10006
10006
  }
10007
10007
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
10008
10008
  };
10009
- }(), Sa = function(t, e, n, r) {
10009
+ }(), Oa = function(t, e, n, r) {
10010
10010
  function i(o) {
10011
10011
  return o instanceof n ? o : new n(function(a) {
10012
10012
  a(o);
@@ -10032,7 +10032,7 @@ var Bg = /* @__PURE__ */ function() {
10032
10032
  }
10033
10033
  s((r = r.apply(t, [])).next());
10034
10034
  });
10035
- }, Oa = function(t, e) {
10035
+ }, wa = function(t, e) {
10036
10036
  var n = { label: 0, sent: function() {
10037
10037
  if (o[0] & 1) throw o[1];
10038
10038
  return o[1];
@@ -10145,7 +10145,7 @@ var Xu = (
10145
10145
  return e;
10146
10146
  }(Error)
10147
10147
  );
10148
- function Xt(t, e) {
10148
+ function qt(t, e) {
10149
10149
  var n, r = new Promise(function(i, o) {
10150
10150
  n = setTimeout(function() {
10151
10151
  o(new Xu("Operation timed out."));
@@ -10158,13 +10158,13 @@ function Xt(t, e) {
10158
10158
  });
10159
10159
  }
10160
10160
  function qg(t) {
10161
- return Sa(this, void 0, void 0, function() {
10161
+ return Oa(this, void 0, void 0, function() {
10162
10162
  var e = this;
10163
- return Oa(this, function(n) {
10163
+ return wa(this, function(n) {
10164
10164
  return [2, Promise.all(t.map(function(r) {
10165
- return Sa(e, void 0, void 0, function() {
10165
+ return Oa(e, void 0, void 0, function() {
10166
10166
  var i, o;
10167
- return Oa(this, function(a) {
10167
+ return wa(this, function(a) {
10168
10168
  switch (a.label) {
10169
10169
  case 0:
10170
10170
  return a.trys.push([0, 2, , 3]), [4, r];
@@ -10193,7 +10193,7 @@ function qg(t) {
10193
10193
  function Xg(t) {
10194
10194
  return t.status === "rejected";
10195
10195
  }
10196
- function wa(t, e) {
10196
+ function Aa(t, e) {
10197
10197
  var n = [];
10198
10198
  return t.forEach(function(r) {
10199
10199
  n.push.apply(n, Vg([], Fg(e(r)), !1));
@@ -10410,7 +10410,7 @@ var jr = (
10410
10410
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
10411
10411
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
10412
10412
  return t.concat(o || Array.prototype.slice.call(e));
10413
- }, Aa = (
10413
+ }, La = (
10414
10414
  /** @class */
10415
10415
  function() {
10416
10416
  function t(e, n, r, i) {
@@ -10522,12 +10522,12 @@ var jr = (
10522
10522
  return new t(Br([], $r(this._counts), !1));
10523
10523
  }, t;
10524
10524
  }()
10525
- ), oE = 52, aE = 2146435072, sE = 1048575, po = 1023, Wu = -po + 1, Yu = po, Di = Math.pow(2, -1022);
10525
+ ), oE = 52, aE = 2146435072, sE = 1048575, fo = 1023, Wu = -fo + 1, Yu = fo, Ui = Math.pow(2, -1022);
10526
10526
  function Ju(t) {
10527
10527
  var e = new DataView(new ArrayBuffer(8));
10528
10528
  e.setFloat64(0, t);
10529
10529
  var n = e.getUint32(0), r = (n & aE) >> 20;
10530
- return r - po;
10530
+ return r - fo;
10531
10531
  }
10532
10532
  function Qu(t) {
10533
10533
  var e = new DataView(new ArrayBuffer(8));
@@ -10535,7 +10535,7 @@ function Qu(t) {
10535
10535
  var n = e.getUint32(0), r = e.getUint32(4), i = (n & sE) * Math.pow(2, 32);
10536
10536
  return i + r;
10537
10537
  }
10538
- function Ui(t, e) {
10538
+ function ji(t, e) {
10539
10539
  return t === 0 || t === Number.POSITIVE_INFINITY || t === Number.NEGATIVE_INFINITY || Number.isNaN(t) ? t : t * Math.pow(2, e);
10540
10540
  }
10541
10541
  function uE(t) {
@@ -10558,7 +10558,7 @@ var cE = /* @__PURE__ */ function() {
10558
10558
  }
10559
10559
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
10560
10560
  };
10561
- }(), Kt = (
10561
+ }(), Xt = (
10562
10562
  /** @class */
10563
10563
  function(t) {
10564
10564
  cE(e, t);
@@ -10574,18 +10574,18 @@ var cE = /* @__PURE__ */ function() {
10574
10574
  this._shift = -e;
10575
10575
  }
10576
10576
  return t.prototype.mapToIndex = function(e) {
10577
- if (e < Di)
10577
+ if (e < Ui)
10578
10578
  return this._minNormalLowerBoundaryIndex();
10579
10579
  var n = Ju(e), r = this._rightShift(Qu(e) - 1, oE);
10580
10580
  return n + r >> this._shift;
10581
10581
  }, t.prototype.lowerBoundary = function(e) {
10582
10582
  var n = this._minNormalLowerBoundaryIndex();
10583
10583
  if (e < n)
10584
- throw new Kt("underflow: " + e + " is < minimum lower boundary: " + n);
10584
+ throw new Xt("underflow: " + e + " is < minimum lower boundary: " + n);
10585
10585
  var r = this._maxNormalLowerBoundaryIndex();
10586
10586
  if (e > r)
10587
- throw new Kt("overflow: " + e + " is > maximum lower boundary: " + r);
10588
- return Ui(1, e << this._shift);
10587
+ throw new Xt("overflow: " + e + " is > maximum lower boundary: " + r);
10588
+ return ji(1, e << this._shift);
10589
10589
  }, Object.defineProperty(t.prototype, "scale", {
10590
10590
  /**
10591
10591
  * The scale used by this mapping
@@ -10609,10 +10609,10 @@ var cE = /* @__PURE__ */ function() {
10609
10609
  /** @class */
10610
10610
  function() {
10611
10611
  function t(e) {
10612
- this._scale = e, this._scaleFactor = Ui(Math.LOG2E, e), this._inverseFactor = Ui(Math.LN2, -e);
10612
+ this._scale = e, this._scaleFactor = ji(Math.LOG2E, e), this._inverseFactor = ji(Math.LN2, -e);
10613
10613
  }
10614
10614
  return t.prototype.mapToIndex = function(e) {
10615
- if (e <= Di)
10615
+ if (e <= Ui)
10616
10616
  return this._minNormalLowerBoundaryIndex() - 1;
10617
10617
  if (Qu(e) === 0) {
10618
10618
  var n = Ju(e);
@@ -10625,15 +10625,15 @@ var cE = /* @__PURE__ */ function() {
10625
10625
  if (e >= n) {
10626
10626
  if (e === n)
10627
10627
  return 2 * Math.exp((e - (1 << this._scale)) / this._scaleFactor);
10628
- throw new Kt("overflow: " + e + " is > maximum lower boundary: " + n);
10628
+ throw new Xt("overflow: " + e + " is > maximum lower boundary: " + n);
10629
10629
  }
10630
10630
  var r = this._minNormalLowerBoundaryIndex();
10631
10631
  if (e <= r) {
10632
10632
  if (e === r)
10633
- return Di;
10633
+ return Ui;
10634
10634
  if (e === r - 1)
10635
10635
  return Math.exp((e + (1 << this._scale)) / this._scaleFactor) / 2;
10636
- throw new Kt("overflow: " + e + " is < minimum lower boundary: " + r);
10636
+ throw new Xt("overflow: " + e + " is < minimum lower boundary: " + r);
10637
10637
  }
10638
10638
  return Math.exp(e * this._inverseFactor);
10639
10639
  }, Object.defineProperty(t.prototype, "scale", {
@@ -10652,12 +10652,12 @@ var cE = /* @__PURE__ */ function() {
10652
10652
  return (Yu + 1 << this._scale) - 1;
10653
10653
  }, t;
10654
10654
  }()
10655
- ), La = -10, Ra = 20, fE = Array.from({ length: 31 }, function(t, e) {
10655
+ ), Ra = -10, Ca = 20, fE = Array.from({ length: 31 }, function(t, e) {
10656
10656
  return e > 10 ? new pE(e - 10) : new lE(e - 10);
10657
10657
  });
10658
- function Ca(t) {
10659
- if (t > Ra || t < La)
10660
- throw new Kt("expected scale >= " + La + " && <= " + Ra + ", got: " + t);
10658
+ function Na(t) {
10659
+ if (t > Ca || t < Ra)
10660
+ throw new Xt("expected scale >= " + Ra + " && <= " + Ca + ", got: " + t);
10661
10661
  return fE[t + 10];
10662
10662
  }
10663
10663
  var hE = function(t, e) {
@@ -10676,7 +10676,7 @@ var hE = function(t, e) {
10676
10676
  }
10677
10677
  }
10678
10678
  return o;
10679
- }, un = (
10679
+ }, sn = (
10680
10680
  /** @class */
10681
10681
  function() {
10682
10682
  function t(e, n) {
@@ -10690,7 +10690,7 @@ var hE = function(t, e) {
10690
10690
  /** @class */
10691
10691
  function() {
10692
10692
  function t(e, n, r, i, o, a, u, c, s, l, p) {
10693
- e === void 0 && (e = e), n === void 0 && (n = vE), r === void 0 && (r = !0), i === void 0 && (i = 0), o === void 0 && (o = 0), a === void 0 && (a = 0), u === void 0 && (u = Number.POSITIVE_INFINITY), c === void 0 && (c = Number.NEGATIVE_INFINITY), s === void 0 && (s = new Aa()), l === void 0 && (l = new Aa()), p === void 0 && (p = Ca(dE)), this.startTime = e, this._maxSize = n, this._recordMinMax = r, this._sum = i, this._count = o, this._zeroCount = a, this._min = u, this._max = c, this._positive = s, this._negative = l, this._mapping = p, this._maxSize < Fr && (T.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Fr), this._maxSize = Fr);
10693
+ e === void 0 && (e = e), n === void 0 && (n = vE), r === void 0 && (r = !0), i === void 0 && (i = 0), o === void 0 && (o = 0), a === void 0 && (a = 0), u === void 0 && (u = Number.POSITIVE_INFINITY), c === void 0 && (c = Number.NEGATIVE_INFINITY), s === void 0 && (s = new La()), l === void 0 && (l = new La()), p === void 0 && (p = Na(dE)), this.startTime = e, this._maxSize = n, this._recordMinMax = r, this._sum = i, this._count = o, this._zeroCount = a, this._min = u, this._max = c, this._positive = s, this._negative = l, this._mapping = p, this._maxSize < Fr && (T.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Fr), this._maxSize = Fr);
10694
10694
  }
10695
10695
  return t.prototype.record = function(e) {
10696
10696
  this.updateByIncrement(e, 1);
@@ -10839,16 +10839,16 @@ var hE = function(t, e) {
10839
10839
  if (e < 0)
10840
10840
  throw new Error("impossible change of scale: " + this.scale);
10841
10841
  var n = this._mapping.scale - e;
10842
- this._positive.downscale(e), this._negative.downscale(e), this._mapping = Ca(n);
10842
+ this._positive.downscale(e), this._negative.downscale(e), this._mapping = Na(n);
10843
10843
  }
10844
10844
  }, t.prototype._minScale = function(e) {
10845
- var n = Math.min(this.scale, e.scale), r = un.combine(this._highLowAtScale(this.positive, this.scale, n), this._highLowAtScale(e.positive, e.scale, n)), i = un.combine(this._highLowAtScale(this.negative, this.scale, n), this._highLowAtScale(e.negative, e.scale, n));
10845
+ var n = Math.min(this.scale, e.scale), r = sn.combine(this._highLowAtScale(this.positive, this.scale, n), this._highLowAtScale(e.positive, e.scale, n)), i = sn.combine(this._highLowAtScale(this.negative, this.scale, n), this._highLowAtScale(e.negative, e.scale, n));
10846
10846
  return Math.min(n - this._changeScale(r.high, r.low), n - this._changeScale(i.high, i.low));
10847
10847
  }, t.prototype._highLowAtScale = function(e, n, r) {
10848
10848
  if (e.length === 0)
10849
- return new un(0, -1);
10849
+ return new sn(0, -1);
10850
10850
  var i = n - r;
10851
- return new un(e.indexStart >> i, e.indexEnd >> i);
10851
+ return new sn(e.indexStart >> i, e.indexEnd >> i);
10852
10852
  }, t.prototype._mergeBuckets = function(e, n, r, i) {
10853
10853
  for (var o = r.offset, a = n.scale - i, u = 0; u < r.length; u++)
10854
10854
  this._incrementIndexBy(e, o + u >> a, r.at(u));
@@ -10906,7 +10906,7 @@ var hE = function(t, e) {
10906
10906
  };
10907
10907
  }, t;
10908
10908
  }()
10909
- ), _E = Jt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
10909
+ ), _E = Yt("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
10910
10910
  function gE(t) {
10911
10911
  return t.setValue(_E, !0);
10912
10912
  }
@@ -10929,24 +10929,24 @@ function bE(t) {
10929
10929
  return e;
10930
10930
  }
10931
10931
  var SE = EE();
10932
- function Na(t) {
10932
+ function xa(t) {
10933
10933
  try {
10934
10934
  SE(t);
10935
10935
  } catch {
10936
10936
  }
10937
10937
  }
10938
10938
  var OE = 6, wE = Math.pow(10, OE);
10939
- function fo(t) {
10939
+ function ho(t) {
10940
10940
  var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * wE);
10941
10941
  return [n, r];
10942
10942
  }
10943
- function cn(t) {
10943
+ function un(t) {
10944
10944
  return t[0] * 1e6 + t[1] / 1e3;
10945
10945
  }
10946
- var ji;
10946
+ var $i;
10947
10947
  (function(t) {
10948
10948
  t[t.SUCCESS = 0] = "SUCCESS", t[t.FAILED = 1] = "FAILED";
10949
- })(ji || (ji = {}));
10949
+ })($i || ($i = {}));
10950
10950
  function AE(t, e) {
10951
10951
  return new Promise(function(n) {
10952
10952
  N.with(gE(N.active()), function() {
@@ -10981,7 +10981,7 @@ var LE = {
10981
10981
  n === void 0 && (n = 0), r === void 0 && (r = [0, 0]), this.startTime = e, this._current = n, this.sampleTime = r;
10982
10982
  }
10983
10983
  return t.prototype.record = function(e) {
10984
- this._current = e, this.sampleTime = fo(Date.now());
10984
+ this._current = e, this.sampleTime = ho(Date.now());
10985
10985
  }, t.prototype.setStartTime = function(e) {
10986
10986
  this.startTime = e;
10987
10987
  }, t.prototype.toPointValue = function() {
@@ -10997,10 +10997,10 @@ var LE = {
10997
10997
  return t.prototype.createAccumulation = function(e) {
10998
10998
  return new Vr(e);
10999
10999
  }, t.prototype.merge = function(e, n) {
11000
- var r = cn(n.sampleTime) >= cn(e.sampleTime) ? n : e;
11000
+ var r = un(n.sampleTime) >= un(e.sampleTime) ? n : e;
11001
11001
  return new Vr(e.startTime, r.toPointValue(), r.sampleTime);
11002
11002
  }, t.prototype.diff = function(e, n) {
11003
- var r = cn(n.sampleTime) >= cn(e.sampleTime) ? n : e;
11003
+ var r = un(n.sampleTime) >= un(e.sampleTime) ? n : e;
11004
11004
  return new Vr(n.startTime, r.toPointValue(), r.sampleTime);
11005
11005
  }, t.prototype.toMetricData = function(e, n, r, i) {
11006
11006
  return {
@@ -11049,7 +11049,7 @@ var LE = {
11049
11049
  return this._current;
11050
11050
  }, t;
11051
11051
  }()
11052
- ), xa = (
11052
+ ), Pa = (
11053
11053
  /** @class */
11054
11054
  function() {
11055
11055
  function t(e) {
@@ -11144,7 +11144,7 @@ var LE = {
11144
11144
  default:
11145
11145
  return e.NON_MONOTONIC_INSTANCE;
11146
11146
  }
11147
- }, e.MONOTONIC_INSTANCE = new xa(!0), e.NON_MONOTONIC_INSTANCE = new xa(!1), e;
11147
+ }, e.MONOTONIC_INSTANCE = new Pa(!0), e.NON_MONOTONIC_INSTANCE = new Pa(!1), e;
11148
11148
  }(Te)
11149
11149
  ), IE = (
11150
11150
  /** @class */
@@ -11314,7 +11314,7 @@ var LE = {
11314
11314
  if (s[0] & 5) throw s[1];
11315
11315
  return { value: s[0] ? s[1] : void 0, done: !0 };
11316
11316
  }
11317
- }, Pa = function(t, e) {
11317
+ }, Ia = function(t, e) {
11318
11318
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11319
11319
  if (!n) return t;
11320
11320
  var r = n.call(t), i, o = [], a;
@@ -11366,15 +11366,15 @@ var LE = {
11366
11366
  this._sdkMetricProducer.collect({
11367
11367
  timeoutMillis: e?.timeoutMillis
11368
11368
  })
11369
- ], Pa(this._metricProducers.map(function(s) {
11369
+ ], Ia(this._metricProducers.map(function(s) {
11370
11370
  return s.collect({
11371
11371
  timeoutMillis: e?.timeoutMillis
11372
11372
  });
11373
11373
  })), !1))];
11374
11374
  case 1:
11375
- return n = Pa.apply(void 0, [c.sent()]), r = n[0], i = n.slice(1), o = r.errors.concat(wa(i, function(s) {
11375
+ return n = Ia.apply(void 0, [c.sent()]), r = n[0], i = n.slice(1), o = r.errors.concat(Aa(i, function(s) {
11376
11376
  return s.errors;
11377
- })), a = r.resourceMetrics.resource, u = r.resourceMetrics.scopeMetrics.concat(wa(i, function(s) {
11377
+ })), a = r.resourceMetrics.resource, u = r.resourceMetrics.scopeMetrics.concat(Aa(i, function(s) {
11378
11378
  return s.resourceMetrics.scopeMetrics;
11379
11379
  })), [2, {
11380
11380
  resourceMetrics: {
@@ -11398,7 +11398,7 @@ var LE = {
11398
11398
  case 1:
11399
11399
  return n.sent(), [3, 4];
11400
11400
  case 2:
11401
- return [4, Xt(this.onShutdown(), e.timeoutMillis)];
11401
+ return [4, qt(this.onShutdown(), e.timeoutMillis)];
11402
11402
  case 3:
11403
11403
  n.sent(), n.label = 4;
11404
11404
  case 4:
@@ -11424,7 +11424,7 @@ var LE = {
11424
11424
  /*return*/
11425
11425
  ];
11426
11426
  case 2:
11427
- return [4, Xt(this.onForceFlush(), e.timeoutMillis)];
11427
+ return [4, qt(this.onForceFlush(), e.timeoutMillis)];
11428
11428
  case 3:
11429
11429
  return n.sent(), [
11430
11430
  2
@@ -11452,7 +11452,7 @@ var LE = {
11452
11452
  }
11453
11453
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11454
11454
  };
11455
- }(), ln = function(t, e, n, r) {
11455
+ }(), cn = function(t, e, n, r) {
11456
11456
  function i(o) {
11457
11457
  return o instanceof n ? o : new n(function(a) {
11458
11458
  a(o);
@@ -11478,7 +11478,7 @@ var LE = {
11478
11478
  }
11479
11479
  s((r = r.apply(t, [])).next());
11480
11480
  });
11481
- }, pn = function(t, e) {
11481
+ }, ln = function(t, e) {
11482
11482
  var n = { label: 0, sent: function() {
11483
11483
  if (o[0] & 1) throw o[1];
11484
11484
  return o[1];
@@ -11576,19 +11576,19 @@ var LE = {
11576
11576
  return u._exportInterval = (o = n.exportIntervalMillis) !== null && o !== void 0 ? o : 6e4, u._exportTimeout = (a = n.exportTimeoutMillis) !== null && a !== void 0 ? a : 3e4, u._exporter = n.exporter, u;
11577
11577
  }
11578
11578
  return e.prototype._runOnce = function() {
11579
- return ln(this, void 0, void 0, function() {
11579
+ return cn(this, void 0, void 0, function() {
11580
11580
  var n;
11581
- return pn(this, function(r) {
11581
+ return ln(this, function(r) {
11582
11582
  switch (r.label) {
11583
11583
  case 0:
11584
- return r.trys.push([0, 2, , 3]), [4, Xt(this._doRun(), this._exportTimeout)];
11584
+ return r.trys.push([0, 2, , 3]), [4, qt(this._doRun(), this._exportTimeout)];
11585
11585
  case 1:
11586
11586
  return r.sent(), [3, 3];
11587
11587
  case 2:
11588
11588
  return n = r.sent(), n instanceof Xu ? (T.error("Export took longer than %s milliseconds and timed out.", this._exportTimeout), [
11589
11589
  2
11590
11590
  /*return*/
11591
- ]) : (Na(n), [3, 3]);
11591
+ ]) : (xa(n), [3, 3]);
11592
11592
  case 3:
11593
11593
  return [
11594
11594
  2
@@ -11599,9 +11599,9 @@ var LE = {
11599
11599
  });
11600
11600
  }, e.prototype._doRun = function() {
11601
11601
  var n, r;
11602
- return ln(this, void 0, void 0, function() {
11602
+ return cn(this, void 0, void 0, function() {
11603
11603
  var i, o, a, u, c, s;
11604
- return pn(this, function(l) {
11604
+ return ln(this, function(l) {
11605
11605
  switch (l.label) {
11606
11606
  case 0:
11607
11607
  return [4, this.collect({
@@ -11615,14 +11615,14 @@ var LE = {
11615
11615
  case 3:
11616
11616
  return l.sent(), [3, 5];
11617
11617
  case 4:
11618
- return u = l.sent(), T.debug("Error while resolving async portion of resource: ", u), Na(u), [3, 5];
11618
+ return u = l.sent(), T.debug("Error while resolving async portion of resource: ", u), xa(u), [3, 5];
11619
11619
  case 5:
11620
11620
  return o.scopeMetrics.length === 0 ? [
11621
11621
  2
11622
11622
  /*return*/
11623
11623
  ] : [4, LE._export(this._exporter, o)];
11624
11624
  case 6:
11625
- if (c = l.sent(), c.code !== ji.SUCCESS)
11625
+ if (c = l.sent(), c.code !== $i.SUCCESS)
11626
11626
  throw new Error("PeriodicExportingMetricReader: metrics export failed (error " + c.error + ")");
11627
11627
  return [
11628
11628
  2
@@ -11637,8 +11637,8 @@ var LE = {
11637
11637
  n._runOnce();
11638
11638
  }, this._exportInterval);
11639
11639
  }, e.prototype.onForceFlush = function() {
11640
- return ln(this, void 0, void 0, function() {
11641
- return pn(this, function(n) {
11640
+ return cn(this, void 0, void 0, function() {
11641
+ return ln(this, function(n) {
11642
11642
  switch (n.label) {
11643
11643
  case 0:
11644
11644
  return [4, this._runOnce()];
@@ -11653,8 +11653,8 @@ var LE = {
11653
11653
  });
11654
11654
  });
11655
11655
  }, e.prototype.onShutdown = function() {
11656
- return ln(this, void 0, void 0, function() {
11657
- return pn(this, function(n) {
11656
+ return cn(this, void 0, void 0, function() {
11657
+ return ln(this, function(n) {
11658
11658
  switch (n.label) {
11659
11659
  case 0:
11660
11660
  return this._interval && clearInterval(this._interval), [4, this.onForceFlush()];
@@ -11717,7 +11717,7 @@ var LE = {
11717
11717
  T.warn("non-number value provided to metric " + this._descriptor.name + ": " + e);
11718
11718
  return;
11719
11719
  }
11720
- this._descriptor.valueType === xe.INT && !Number.isInteger(e) && (T.warn("INT value type cannot accept a floating-point value for " + this._descriptor.name + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._writableMetricStorage.record(e, n, r, fo(Date.now()));
11720
+ this._descriptor.valueType === xe.INT && !Number.isInteger(e) && (T.warn("INT value type cannot accept a floating-point value for " + this._descriptor.name + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._writableMetricStorage.record(e, n, r, ho(Date.now()));
11721
11721
  }, t;
11722
11722
  }()
11723
11723
  ), WE = (
@@ -11812,7 +11812,7 @@ var LE = {
11812
11812
  return e;
11813
11813
  }(tr)
11814
11814
  );
11815
- function $i(t) {
11815
+ function Bi(t) {
11816
11816
  return t instanceof tr;
11817
11817
  }
11818
11818
  var nT = (
@@ -11882,7 +11882,7 @@ var nT = (
11882
11882
  }
11883
11883
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11884
11884
  };
11885
- }(), Ia = function(t, e) {
11885
+ }(), ka = function(t, e) {
11886
11886
  var n = { label: 0, sent: function() {
11887
11887
  if (o[0] & 1) throw o[1];
11888
11888
  return o[1];
@@ -11961,7 +11961,7 @@ var nT = (
11961
11961
  return n != null || (n = this._hash(e)), this._valueMap.has(n);
11962
11962
  }, t.prototype.keys = function() {
11963
11963
  var e, n;
11964
- return Ia(this, function(r) {
11964
+ return ka(this, function(r) {
11965
11965
  switch (r.label) {
11966
11966
  case 0:
11967
11967
  e = this._keyMap.entries(), n = e.next(), r.label = 1;
@@ -11978,7 +11978,7 @@ var nT = (
11978
11978
  });
11979
11979
  }, t.prototype.entries = function() {
11980
11980
  var e, n;
11981
- return Ia(this, function(r) {
11981
+ return ka(this, function(r) {
11982
11982
  switch (r.label) {
11983
11983
  case 0:
11984
11984
  e = this._valueMap.entries(), n = e.next(), r.label = 1;
@@ -12078,7 +12078,7 @@ var nT = (
12078
12078
  }
12079
12079
  };
12080
12080
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
12081
- }, ka = function(t, e) {
12081
+ }, Ma = function(t, e) {
12082
12082
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12083
12083
  if (!n) return t;
12084
12084
  var r = n.call(t), i, o = [], a;
@@ -12162,7 +12162,7 @@ var nT = (
12162
12162
  return i;
12163
12163
  }, t.merge = function(e, n, r) {
12164
12164
  for (var i = e, o = n.entries(), a = o.next(); a.done !== !0; ) {
12165
- var u = ka(a.value, 3), c = u[0], s = u[1], l = u[2];
12165
+ var u = Ma(a.value, 3), c = u[0], s = u[1], l = u[2];
12166
12166
  if (e.has(c, l)) {
12167
12167
  var p = e.get(c, l), f = r.merge(p, s);
12168
12168
  i.set(c, f, l);
@@ -12175,7 +12175,7 @@ var nT = (
12175
12175
  var i, o;
12176
12176
  try {
12177
12177
  for (var a = zr(e.keys()), u = a.next(); !u.done; u = a.next()) {
12178
- var c = ka(u.value, 2), s = c[0], l = c[1], p = n.get(s, l);
12178
+ var c = Ma(u.value, 2), s = c[0], l = c[1], p = n.get(s, l);
12179
12179
  p?.setStartTime(r);
12180
12180
  }
12181
12181
  } catch (f) {
@@ -12247,7 +12247,7 @@ var sT = /* @__PURE__ */ function() {
12247
12247
  }, e;
12248
12248
  }(rc)
12249
12249
  );
12250
- function Ma(t, e) {
12250
+ function Da(t, e) {
12251
12251
  var n = "";
12252
12252
  return t.unit !== e.unit && (n += " - Unit '" + t.unit + "' does not match '" + e.unit + `'
12253
12253
  `), t.type !== e.type && (n += " - Type '" + t.type + "' does not match '" + e.type + `'
@@ -12279,7 +12279,7 @@ function hT(t, e) {
12279
12279
  - OR - create a new view with the name ` + t.name + " and description '" + t.description + "' and InstrumentSelector " + r + `
12280
12280
  - OR - create a new view with the name ` + e.name + " and description '" + t.description + "' and InstrumentSelector " + r;
12281
12281
  }
12282
- function Da(t, e) {
12282
+ function Ua(t, e) {
12283
12283
  return t.valueType !== e.valueType ? lT(t, e) : t.unit !== e.unit ? pT(t, e) : t.type !== e.type ? fT(t, e) : t.description !== e.description ? hT(t, e) : "";
12284
12284
  }
12285
12285
  var qr = function(t) {
@@ -12360,11 +12360,11 @@ var qr = function(t) {
12360
12360
  var c = u.value, s = c.getInstrumentDescriptor();
12361
12361
  Zg(s, e) ? (s.description !== e.description && (e.description.length > s.description.length && c.updateDescription(e.description), T.warn("A view or instrument with the name ", e.name, ` has already been registered, but has a different description and is incompatible with another registered view.
12362
12362
  `, `Details:
12363
- `, Ma(s, e), `The longer description will be used.
12364
- To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument with the name ", e.name, ` has already been registered and is incompatible with another registered view.
12363
+ `, Da(s, e), `The longer description will be used.
12364
+ To resolve the conflict:`, Ua(s, e))), o = c) : T.warn("A view or instrument with the name ", e.name, ` has already been registered and is incompatible with another registered view.
12365
12365
  `, `Details:
12366
- `, Ma(s, e), `To resolve the conflict:
12367
- `, Da(s, e));
12366
+ `, Da(s, e), `To resolve the conflict:
12367
+ `, Ua(s, e));
12368
12368
  }
12369
12369
  } catch (l) {
12370
12370
  r = { error: l };
@@ -12411,7 +12411,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12411
12411
  this._buffer = /* @__PURE__ */ new Map();
12412
12412
  }
12413
12413
  return t.prototype.observe = function(e, n, r) {
12414
- if (r === void 0 && (r = {}), !!$i(e)) {
12414
+ if (r === void 0 && (r = {}), !!Bi(e)) {
12415
12415
  var i = this._buffer.get(e);
12416
12416
  if (i == null && (i = new He(), this._buffer.set(e, i)), typeof n != "number") {
12417
12417
  T.warn("non-number value provided to metric " + e._descriptor.name + ": " + n);
@@ -12506,7 +12506,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12506
12506
  if (s[0] & 5) throw s[1];
12507
12507
  return { value: s[0] ? s[1] : void 0, done: !0 };
12508
12508
  }
12509
- }, Ua = function(t, e) {
12509
+ }, ja = function(t, e) {
12510
12510
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12511
12511
  if (!n) return t;
12512
12512
  var r = n.call(t), i, o = [], a;
@@ -12522,7 +12522,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12522
12522
  }
12523
12523
  }
12524
12524
  return o;
12525
- }, ja = function(t, e, n) {
12525
+ }, $a = function(t, e, n) {
12526
12526
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
12527
12527
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
12528
12528
  return t.concat(o || Array.prototype.slice.call(e));
@@ -12539,7 +12539,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12539
12539
  var r = this._findCallback(e, n);
12540
12540
  r < 0 || this._callbacks.splice(r, 1);
12541
12541
  }, t.prototype.addBatchCallback = function(e, n) {
12542
- var r = new Set(n.filter($i));
12542
+ var r = new Set(n.filter(Bi));
12543
12543
  if (r.size === 0) {
12544
12544
  T.error("BatchObservableCallback is not associated with valid instruments", n);
12545
12545
  return;
@@ -12547,7 +12547,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12547
12547
  var i = this._findBatchCallback(e, r);
12548
12548
  i >= 0 || this._batchCallbacks.push({ callback: e, instruments: r });
12549
12549
  }, t.prototype.removeBatchCallback = function(e, n) {
12550
- var r = new Set(n.filter($i)), i = this._findBatchCallback(e, r);
12550
+ var r = new Set(n.filter(Bi)), i = this._findBatchCallback(e, r);
12551
12551
  i < 0 || this._batchCallbacks.splice(i, 1);
12552
12552
  }, t.prototype.observe = function(e, n) {
12553
12553
  return Xr(this, void 0, void 0, function() {
@@ -12555,7 +12555,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12555
12555
  return Kr(this, function(u) {
12556
12556
  switch (u.label) {
12557
12557
  case 0:
12558
- return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, qg(ja(ja([], Ua(r), !1), Ua(i), !1))];
12558
+ return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, qg($a($a([], ja(r), !1), ja(i), !1))];
12559
12559
  case 1:
12560
12560
  return o = u.sent(), a = o.filter(Xg).map(function(c) {
12561
12561
  return c.reason;
@@ -12572,7 +12572,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12572
12572
  return Kr(this, function(s) {
12573
12573
  switch (s.label) {
12574
12574
  case 0:
12575
- return u = new yT(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = Xt(c, n)), [4, c];
12575
+ return u = new yT(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = qt(c, n)), [4, c];
12576
12576
  case 1:
12577
12577
  return s.sent(), a._metricStorages.forEach(function(l) {
12578
12578
  l.record(u._buffer, e);
@@ -12593,7 +12593,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12593
12593
  return Kr(this, function(s) {
12594
12594
  switch (s.label) {
12595
12595
  case 0:
12596
- return u = new mT(), c = Promise.resolve(o(u)), n != null && (c = Xt(c, n)), [4, c];
12596
+ return u = new mT(), c = Promise.resolve(o(u)), n != null && (c = qt(c, n)), [4, c];
12597
12597
  case 1:
12598
12598
  return s.sent(), a.forEach(function(l) {
12599
12599
  var p = u._buffer.get(l);
@@ -12667,7 +12667,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12667
12667
  }
12668
12668
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
12669
12669
  };
12670
- }(), ho = (
12670
+ }(), vo = (
12671
12671
  /** @class */
12672
12672
  function() {
12673
12673
  function t() {
@@ -12686,7 +12686,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12686
12686
  return e.prototype.process = function(n, r) {
12687
12687
  return n;
12688
12688
  }, e;
12689
- }(ho)
12689
+ }(vo)
12690
12690
  );
12691
12691
  (function(t) {
12692
12692
  ac(e, t);
@@ -12702,7 +12702,7 @@ To resolve the conflict:`, Da(s, e))), o = c) : T.warn("A view or instrument wit
12702
12702
  return o[a] = n[a];
12703
12703
  }), o;
12704
12704
  }, e;
12705
- })(ho);
12705
+ })(vo);
12706
12706
  var bT = new TT(), ST = function(t, e, n, r) {
12707
12707
  function i(o) {
12708
12708
  return o instanceof n ? o : new n(function(a) {
@@ -12849,7 +12849,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
12849
12849
  var s = wT(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, e);
12850
12850
  if (f != null)
12851
12851
  return f;
12852
- var m = p.createAggregator(e), v = l.selectCardinalityLimit(e.type), y = new n(e, m, ho.Noop(), [l], v);
12852
+ var m = p.createAggregator(e), v = l.selectCardinalityLimit(e.type), y = new n(e, m, vo.Noop(), [l], v);
12853
12853
  return r.metricStorageRegistry.registerForCollector(l, y), y;
12854
12854
  });
12855
12855
  o = o.concat(u);
@@ -12894,7 +12894,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
12894
12894
  return i;
12895
12895
  }, t;
12896
12896
  }()
12897
- ), fn = function(t, e, n, r) {
12897
+ ), pn = function(t, e, n, r) {
12898
12898
  function i(o) {
12899
12899
  return o instanceof n ? o : new n(function(a) {
12900
12900
  a(o);
@@ -12920,7 +12920,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
12920
12920
  }
12921
12921
  s((r = r.apply(t, [])).next());
12922
12922
  });
12923
- }, hn = function(t, e) {
12923
+ }, fn = function(t, e) {
12924
12924
  var n = { label: 0, sent: function() {
12925
12925
  if (o[0] & 1) throw o[1];
12926
12926
  return o[1];
@@ -13006,15 +13006,15 @@ var bT = new TT(), ST = function(t, e, n, r) {
13006
13006
  this._sharedState = e, this._metricReader = n;
13007
13007
  }
13008
13008
  return t.prototype.collect = function(e) {
13009
- return fn(this, void 0, void 0, function() {
13009
+ return pn(this, void 0, void 0, function() {
13010
13010
  var n, r, i, o, a = this;
13011
- return hn(this, function(u) {
13011
+ return fn(this, function(u) {
13012
13012
  switch (u.label) {
13013
13013
  case 0:
13014
- return n = fo(Date.now()), r = [], i = [], o = Array.from(this._sharedState.meterSharedStates.values()).map(function(c) {
13015
- return fn(a, void 0, void 0, function() {
13014
+ return n = ho(Date.now()), r = [], i = [], o = Array.from(this._sharedState.meterSharedStates.values()).map(function(c) {
13015
+ return pn(a, void 0, void 0, function() {
13016
13016
  var s;
13017
- return hn(this, function(l) {
13017
+ return fn(this, function(l) {
13018
13018
  switch (l.label) {
13019
13019
  case 0:
13020
13020
  return [4, c.collect(this, n, e)];
@@ -13039,8 +13039,8 @@ var bT = new TT(), ST = function(t, e, n, r) {
13039
13039
  });
13040
13040
  });
13041
13041
  }, t.prototype.forceFlush = function(e) {
13042
- return fn(this, void 0, void 0, function() {
13043
- return hn(this, function(n) {
13042
+ return pn(this, void 0, void 0, function() {
13043
+ return fn(this, function(n) {
13044
13044
  switch (n.label) {
13045
13045
  case 0:
13046
13046
  return [4, this._metricReader.forceFlush(e)];
@@ -13053,8 +13053,8 @@ var bT = new TT(), ST = function(t, e, n, r) {
13053
13053
  });
13054
13054
  });
13055
13055
  }, t.prototype.shutdown = function(e) {
13056
- return fn(this, void 0, void 0, function() {
13057
- return hn(this, function(n) {
13056
+ return pn(this, void 0, void 0, function() {
13057
+ return fn(this, function(n) {
13058
13058
  switch (n.label) {
13059
13059
  case 0:
13060
13060
  return [4, this._metricReader.shutdown(e)];
@@ -13075,7 +13075,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
13075
13075
  return (i = (r = (n = this._metricReader).selectCardinalityLimit) === null || r === void 0 ? void 0 : r.call(n, e)) !== null && i !== void 0 ? i : 2e3;
13076
13076
  }, t;
13077
13077
  }()
13078
- ), $a = function(t, e, n, r) {
13078
+ ), Ba = function(t, e, n, r) {
13079
13079
  function i(o) {
13080
13080
  return o instanceof n ? o : new n(function(a) {
13081
13081
  a(o);
@@ -13101,7 +13101,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
13101
13101
  }
13102
13102
  s((r = r.apply(t, [])).next());
13103
13103
  });
13104
- }, Ba = function(t, e) {
13104
+ }, Fa = function(t, e) {
13105
13105
  var n = { label: 0, sent: function() {
13106
13106
  if (o[0] & 1) throw o[1];
13107
13107
  return o[1];
@@ -13160,7 +13160,7 @@ var bT = new TT(), ST = function(t, e, n, r) {
13160
13160
  if (s[0] & 5) throw s[1];
13161
13161
  return { value: s[0] ? s[1] : void 0, done: !0 };
13162
13162
  }
13163
- }, Fa = function(t) {
13163
+ }, Va = function(t) {
13164
13164
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
13165
13165
  if (n) return n.call(t);
13166
13166
  if (t && typeof t.length == "number") return {
@@ -13171,8 +13171,8 @@ var bT = new TT(), ST = function(t, e, n, r) {
13171
13171
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
13172
13172
  };
13173
13173
  function PT(t, e) {
13174
- var n = e ?? zt.empty();
13175
- return t ? zt.default().merge(n) : n;
13174
+ var n = e ?? Gt.empty();
13175
+ return t ? Gt.default().merge(n) : n;
13176
13176
  }
13177
13177
  var IT = (
13178
13178
  /** @class */
@@ -13181,7 +13181,7 @@ var IT = (
13181
13181
  var n, r, i, o, a;
13182
13182
  if (this._shutdown = !1, this._sharedState = new RT(PT((a = e?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, e?.resource)), e?.views != null && e.views.length > 0)
13183
13183
  try {
13184
- for (var u = Fa(e.views), c = u.next(); !c.done; c = u.next()) {
13184
+ for (var u = Va(e.views), c = u.next(); !c.done; c = u.next()) {
13185
13185
  var s = c.value;
13186
13186
  this._sharedState.viewRegistry.addView(s);
13187
13187
  }
@@ -13196,7 +13196,7 @@ var IT = (
13196
13196
  }
13197
13197
  if (e?.readers != null && e.readers.length > 0)
13198
13198
  try {
13199
- for (var l = Fa(e.readers), p = l.next(); !p.done; p = l.next()) {
13199
+ for (var l = Va(e.readers), p = l.next(); !p.done; p = l.next()) {
13200
13200
  var f = p.value;
13201
13201
  this.addMetricReader(f);
13202
13202
  }
@@ -13220,8 +13220,8 @@ var IT = (
13220
13220
  var n = new xT(this._sharedState, e);
13221
13221
  e.setMetricProducer(n), this._sharedState.metricCollectors.push(n);
13222
13222
  }, t.prototype.shutdown = function(e) {
13223
- return $a(this, void 0, void 0, function() {
13224
- return Ba(this, function(n) {
13223
+ return Ba(this, void 0, void 0, function() {
13224
+ return Fa(this, function(n) {
13225
13225
  switch (n.label) {
13226
13226
  case 0:
13227
13227
  return this._shutdown ? (T.warn("shutdown may only be called once per MeterProvider"), [
@@ -13239,8 +13239,8 @@ var IT = (
13239
13239
  });
13240
13240
  });
13241
13241
  }, t.prototype.forceFlush = function(e) {
13242
- return $a(this, void 0, void 0, function() {
13243
- return Ba(this, function(n) {
13242
+ return Ba(this, void 0, void 0, function() {
13243
+ return Fa(this, function(n) {
13244
13244
  switch (n.label) {
13245
13245
  case 0:
13246
13246
  return this._shutdown ? (T.warn("invalid attempt to force flush after MeterProvider shutdown"), [
@@ -13290,12 +13290,12 @@ function DT(t, e) {
13290
13290
  n.sum = {
13291
13291
  aggregationTemporality: r,
13292
13292
  isMonotonic: t.isMonotonic,
13293
- dataPoints: Va(t, e)
13293
+ dataPoints: Ha(t, e)
13294
13294
  };
13295
13295
  break;
13296
13296
  case he.GAUGE:
13297
13297
  n.gauge = {
13298
- dataPoints: Va(t, e)
13298
+ dataPoints: Ha(t, e)
13299
13299
  };
13300
13300
  break;
13301
13301
  case he.HISTOGRAM:
@@ -13329,7 +13329,7 @@ function UT(t, e, n) {
13329
13329
  }
13330
13330
  return r;
13331
13331
  }
13332
- function Va(t, e) {
13332
+ function Ha(t, e) {
13333
13333
  return t.dataPoints.map(function(n) {
13334
13334
  return UT(n, t.descriptor.valueType, e);
13335
13335
  });
@@ -13621,9 +13621,9 @@ var sc = {
13621
13621
  if (s[0] & 5) throw s[1];
13622
13622
  return { value: s[0] ? s[1] : void 0, done: !0 };
13623
13623
  }
13624
- }, QT = 5, ZT = 1e3, eb = 5e3, tb = 1.5, Ha = 0.2;
13624
+ }, QT = 5, ZT = 1e3, eb = 5e3, tb = 1.5, Ga = 0.2;
13625
13625
  function nb() {
13626
- return Math.random() * (2 * Ha) - Ha;
13626
+ return Math.random() * (2 * Ga) - Ga;
13627
13627
  }
13628
13628
  var rb = (
13629
13629
  /** @class */
@@ -13901,7 +13901,7 @@ var bb = /* @__PURE__ */ function() {
13901
13901
  }
13902
13902
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
13903
13903
  };
13904
- }(), Bi = function() {
13904
+ }(), Fi = function() {
13905
13905
  return ce.CUMULATIVE;
13906
13906
  }, pc = function(t) {
13907
13907
  switch (t) {
@@ -13930,10 +13930,10 @@ var bb = /* @__PURE__ */ function() {
13930
13930
  };
13931
13931
  function Sb() {
13932
13932
  var t = cd(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13933
- return e === "cumulative" ? Bi : e === "delta" ? pc : e === "lowmemory" ? fc : (T.warn("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '" + t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE + "', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead."), Bi);
13933
+ return e === "cumulative" ? Fi : e === "delta" ? pc : e === "lowmemory" ? fc : (T.warn("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '" + t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE + "', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead."), Fi);
13934
13934
  }
13935
13935
  function Ob(t) {
13936
- return t != null ? t === Hn.DELTA ? pc : t === Hn.LOWMEMORY ? fc : Bi : Sb();
13936
+ return t != null ? t === Hn.DELTA ? pc : t === Hn.LOWMEMORY ? fc : Fi : Sb();
13937
13937
  }
13938
13938
  function wb(t) {
13939
13939
  return t != null && t.aggregationPreference ? t.aggregationPreference : function(e) {
@@ -14107,7 +14107,7 @@ class Pb extends Tb {
14107
14107
  return n({
14108
14108
  code: B.SUCCESS
14109
14109
  });
14110
- if (i++, i > Ji)
14110
+ if (i++, i > Qi)
14111
14111
  return n({
14112
14112
  code: B.FAILED,
14113
14113
  error: a.error
@@ -14115,7 +14115,7 @@ class Pb extends Tb {
14115
14115
  new Promise(
14116
14116
  (u) => setTimeout(
14117
14117
  u,
14118
- Qi + Zi * Math.pow(2, i)
14118
+ Zi + eo * Math.pow(2, i)
14119
14119
  )
14120
14120
  ).then(() => {
14121
14121
  super.export(r, o);
@@ -14159,7 +14159,7 @@ class Ib extends Rb {
14159
14159
  return n({
14160
14160
  code: B.SUCCESS
14161
14161
  });
14162
- if (r++, r > Ji)
14162
+ if (r++, r > Qi)
14163
14163
  return console.error(
14164
14164
  `[@launchdarkly/observability] failed to export OTeL metrics: ${(a = o.error) == null ? void 0 : a.message}`,
14165
14165
  o.error
@@ -14170,7 +14170,7 @@ class Ib extends Rb {
14170
14170
  new Promise(
14171
14171
  (u) => setTimeout(
14172
14172
  u,
14173
- Qi + Zi * Math.pow(2, r)
14173
+ Zi + eo * Math.pow(2, r)
14174
14174
  )
14175
14175
  ).then(() => {
14176
14176
  var u;
@@ -14187,7 +14187,7 @@ const kb = "OT_ZONE_CONTEXT", Mb = "Navigation:";
14187
14187
  function Db() {
14188
14188
  return !1;
14189
14189
  }
14190
- const Fi = class Ue extends cu {
14190
+ const Vi = class Ue extends cu {
14191
14191
  constructor(e = {}) {
14192
14192
  var n, r;
14193
14193
  super(
@@ -14585,13 +14585,13 @@ const Fi = class Ue extends cu {
14585
14585
  return window.Zone;
14586
14586
  }
14587
14587
  };
14588
- R(Fi, "version", "0.1.1"), R(Fi, "moduleName", "user-interaction");
14589
- let Ub = Fi;
14590
- const Vi = class Hi extends cu {
14588
+ R(Vi, "version", "0.1.1"), R(Vi, "moduleName", "user-interaction");
14589
+ let Ub = Vi;
14590
+ const Hi = class Gi extends cu {
14591
14591
  constructor(e = {}) {
14592
14592
  super(
14593
- Hi.moduleName,
14594
- Hi.version,
14593
+ Gi.moduleName,
14594
+ Gi.version,
14595
14595
  e
14596
14596
  ), R(this, "_getLDContextKeyAttributes"), R(this, "_unlisten"), R(this, "_lastUrl", ""), this._getLDContextKeyAttributes = e.getLDContextKeyAttributes;
14597
14597
  }
@@ -14621,9 +14621,9 @@ const Vi = class Hi extends cu {
14621
14621
  (e = this._unlisten) == null || e.call(this), this._unlisten = void 0;
14622
14622
  }
14623
14623
  };
14624
- R(Vi, "version", "0.1.0"), R(Vi, "moduleName", "location-change");
14625
- let jb = Vi, X = {}, at, Ln;
14626
- const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */ new Map(), dc = (t) => `${t.spanContext().traceId}:${t.spanContext().spanId}`, vc = "launchdarkly.js.log", Bb = "launchdarkly.exception.id", Ga = "launchdarkly.sampling.ratio", yc = "log.severity", mc = "log.message", Fb = (t, e) => {
14624
+ R(Hi, "version", "0.1.0"), R(Hi, "moduleName", "location-change");
14625
+ let jb = Hi, X = {}, at, An;
14626
+ const Ge = "highlight.record", $b = "highlight.session_id", zi = /* @__PURE__ */ new Map(), dc = (t) => `${t.spanContext().traceId}:${t.spanContext().spanId}`, vc = "launchdarkly.js.log", Bb = "launchdarkly.exception.id", za = "launchdarkly.sampling.ratio", yc = "log.severity", mc = "log.message", Fb = (t, e) => {
14627
14627
  var n, r, i, o, a, u, c, s, l, p;
14628
14628
  if (X.tracerProvider || X.meterProvider) {
14629
14629
  console.warn("OTEL already initialized. Skipping...");
@@ -14657,7 +14657,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14657
14657
  // Default value from SDK is 30_000
14658
14658
  scheduledDelayMillis: 5e3
14659
14659
  // OTEL default; shorter window reduces data lost to page unload
14660
- }), S = new zt({
14660
+ }), S = new Gt({
14661
14661
  [lp]: (o = t.serviceName) != null ? o : "highlight-browser",
14662
14662
  [pp]: t.serviceVersion,
14663
14663
  "deployment.environment.name": v,
@@ -14684,8 +14684,8 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14684
14684
  if (((a = t.instrumentations) == null ? void 0 : a["@opentelemetry/instrumentation-document-load"]) !== !1 && $.push(
14685
14685
  new Mm({
14686
14686
  applyCustomAttributesOnSpan: {
14687
- documentLoad: Xa,
14688
- documentFetch: Xa,
14687
+ documentLoad: Ka,
14688
+ documentFetch: Ka,
14689
14689
  resourceFetch: Jb
14690
14690
  }
14691
14691
  })
@@ -14701,7 +14701,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14701
14701
  ), (s = t.networkRecordingOptions) != null && s.enabled) {
14702
14702
  if (((l = t.instrumentations) == null ? void 0 : l["@opentelemetry/instrumentation-fetch"]) !== !1) {
14703
14703
  const q = new b_({
14704
- propagateTraceHeaderCorsUrls: Ka(
14704
+ propagateTraceHeaderCorsUrls: Wa(
14705
14705
  t.tracingOrigins
14706
14706
  ),
14707
14707
  applyCustomAttributesOnSpan: (U, ye, le) => {
@@ -14710,7 +14710,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14710
14710
  return;
14711
14711
  const me = U;
14712
14712
  if (me.attributes[Ge] !== !1) {
14713
- if (qa(
14713
+ if (Xa(
14714
14714
  U,
14715
14715
  ye.body,
14716
14716
  ye.headers,
@@ -14718,7 +14718,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14718
14718
  ), !(le instanceof Response)) {
14719
14719
  U.setAttributes({
14720
14720
  "http.response.error": le.message,
14721
- [Rs]: le.status
14721
+ [Cs]: le.status
14722
14722
  });
14723
14723
  return;
14724
14724
  }
@@ -14734,11 +14734,11 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14734
14734
  (A = t.networkRecordingOptions) == null ? void 0 : A.networkBodyKeysToRedact
14735
14735
  ), bt = Object.fromEntries(
14736
14736
  le.headers.entries()
14737
- ), Cc = uo(
14737
+ ), Cc = co(
14738
14738
  (F = (H = t.networkRecordingOptions) == null ? void 0 : H.networkHeadersToRedact) != null ? F : [],
14739
14739
  bt,
14740
14740
  (M = t.networkRecordingOptions) == null ? void 0 : M.headerKeysToRecord
14741
- ), Nc = vo(
14741
+ ), Nc = yo(
14742
14742
  Cc,
14743
14743
  "http.response.header"
14744
14744
  );
@@ -14752,7 +14752,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14752
14752
  t.networkRecordingOptions.requestResponseSanitizer
14753
14753
  );
14754
14754
  });
14755
- Gi.set(dc(U), h);
14755
+ zi.set(dc(U), h);
14756
14756
  }
14757
14757
  }
14758
14758
  }
@@ -14761,21 +14761,21 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14761
14761
  }
14762
14762
  ((p = t.instrumentations) == null ? void 0 : p["@opentelemetry/instrumentation-xml-http-request"]) !== !1 && $.push(
14763
14763
  new rg({
14764
- propagateTraceHeaderCorsUrls: Ka(
14764
+ propagateTraceHeaderCorsUrls: Wa(
14765
14765
  t.tracingOrigins
14766
14766
  ),
14767
14767
  applyCustomAttributesOnSpan: (q, U) => {
14768
14768
  var ye, le, K, Ie;
14769
14769
  const me = U;
14770
14770
  if (!(!q.attributes || q.attributes[Ge] === !1)) {
14771
- if (qa(
14771
+ if (Xa(
14772
14772
  q,
14773
14773
  me._body,
14774
14774
  me._requestHeaders,
14775
14775
  t.networkRecordingOptions
14776
14776
  ), (ye = t.networkRecordingOptions) != null && ye.recordHeadersAndBody) {
14777
14777
  let h = "";
14778
- (U.responseType === "" || U.responseType === "text") && (h = co(
14778
+ (U.responseType === "" || U.responseType === "text") && (h = lo(
14779
14779
  U.responseText,
14780
14780
  (le = t.networkRecordingOptions) == null ? void 0 : le.networkBodyKeysToRedact,
14781
14781
  (K = t.networkRecordingOptions) == null ? void 0 : K.bodyKeysToRecord,
@@ -14815,7 +14815,7 @@ const Ge = "highlight.record", $b = "highlight.session_id", Gi = /* @__PURE__ */
14815
14815
  })
14816
14816
  ]
14817
14817
  })
14818
- }), Ln = Vb(
14818
+ }), An = Vb(
14819
14819
  _,
14820
14820
  x,
14821
14821
  E,
@@ -14852,7 +14852,7 @@ class Gn extends Lu {
14852
14852
  onEnd(e) {
14853
14853
  if (e.attributes[Ge] === !1)
14854
14854
  return;
14855
- const n = dc(e), r = Gi.get(n);
14855
+ const n = dc(e), r = zi.get(n);
14856
14856
  if (r) {
14857
14857
  const i = r.catch((o) => {
14858
14858
  console.warn(
@@ -14860,7 +14860,7 @@ class Gn extends Lu {
14860
14860
  o
14861
14861
  );
14862
14862
  }).finally(() => {
14863
- Gi.delete(n), this._pendingSpans.delete(i), e.attributes[Ge] !== !1 && super.onEnd(e);
14863
+ zi.delete(n), this._pendingSpans.delete(i), e.attributes[Ge] !== !1 && super.onEnd(e);
14864
14864
  });
14865
14865
  this._pendingSpans.add(i);
14866
14866
  return;
@@ -14869,12 +14869,12 @@ class Gn extends Lu {
14869
14869
  }
14870
14870
  shutdown() {
14871
14871
  return ue(this, null, function* () {
14872
- return this._skipPendingOnFlush || (yield Promise.allSettled(this._pendingSpans)), Mo(Gn.prototype, this, "shutdown").call(this);
14872
+ return this._skipPendingOnFlush || (yield Promise.allSettled(this._pendingSpans)), Do(Gn.prototype, this, "shutdown").call(this);
14873
14873
  });
14874
14874
  }
14875
14875
  forceFlush() {
14876
14876
  return ue(this, null, function* () {
14877
- return this._skipPendingOnFlush || (yield Promise.allSettled(this._pendingSpans)), Mo(Gn.prototype, this, "forceFlush").call(this);
14877
+ return this._skipPendingOnFlush || (yield Promise.allSettled(this._pendingSpans)), Do(Gn.prototype, this, "forceFlush").call(this);
14878
14878
  });
14879
14879
  }
14880
14880
  }
@@ -14905,14 +14905,14 @@ class Hb extends kd {
14905
14905
  )) || super.inject(e, n, r);
14906
14906
  }
14907
14907
  }
14908
- const _c = "highlight-browser", Gb = _c, za = () => {
14908
+ const _c = "highlight-browser", Gb = _c, qa = () => {
14909
14909
  var t;
14910
14910
  return (t = X.tracerProvider) == null ? void 0 : t.getTracer(_c);
14911
- }, dn = () => {
14911
+ }, hn = () => {
14912
14912
  var t;
14913
14913
  return (t = X.meterProvider) == null ? void 0 : t.getMeter(Gb);
14914
14914
  }, zb = () => ue(void 0, null, function* () {
14915
- Ln && (Ln(), Ln = void 0), yield Promise.allSettled([
14915
+ An && (An(), An = void 0), yield Promise.allSettled([
14916
14916
  ue(void 0, null, function* () {
14917
14917
  X.tracerProvider ? (yield X.tracerProvider.shutdown(), X.tracerProvider = void 0) : console.warn(
14918
14918
  "OTEL shutdown called without initialized tracerProvider."
@@ -14924,7 +14924,7 @@ const _c = "highlight-browser", Gb = _c, za = () => {
14924
14924
  );
14925
14925
  })
14926
14926
  ]);
14927
- }), qa = (t, e, n, r) => {
14927
+ }), Xa = (t, e, n, r) => {
14928
14928
  var i;
14929
14929
  if (!t.attributes)
14930
14930
  return;
@@ -14942,7 +14942,7 @@ const _c = "highlight-browser", Gb = _c, za = () => {
14942
14942
  [ht]: a,
14943
14943
  // overwrite with sanitized version
14944
14944
  [Ne]: a,
14945
- [Tn]: u.pathname,
14945
+ [En]: u.pathname,
14946
14946
  [dp]: u.search
14947
14947
  });
14948
14948
  const s = Array.from(
@@ -14952,18 +14952,18 @@ const _c = "highlight-browser", Gb = _c, za = () => {
14952
14952
  "url.query_params",
14953
14953
  JSON.stringify(Object.fromEntries(s))
14954
14954
  ), r != null && r.recordHeadersAndBody) {
14955
- const l = co(
14955
+ const l = lo(
14956
14956
  e,
14957
14957
  r.networkBodyKeysToRedact,
14958
14958
  r.bodyKeysToRecord,
14959
14959
  n
14960
14960
  );
14961
14961
  t.setAttribute("http.request.body", l);
14962
- const p = uo(
14962
+ const p = co(
14963
14963
  (i = r.networkHeadersToRedact) != null ? i : [],
14964
14964
  n,
14965
14965
  r.headerKeysToRecord
14966
- ), f = vo(
14966
+ ), f = yo(
14967
14967
  p,
14968
14968
  "http.request.header"
14969
14969
  );
@@ -14975,7 +14975,7 @@ const _c = "highlight-browser", Gb = _c, za = () => {
14975
14975
  const r = n.split(": "), i = r.shift();
14976
14976
  i && (e[i] = r.join(": "));
14977
14977
  }), e;
14978
- }, vo = (t, e) => {
14978
+ }, yo = (t, e) => {
14979
14979
  const n = {};
14980
14980
  return Object.entries(t).forEach(([r, i]) => {
14981
14981
  const o = r.toLowerCase().replace(/_/g, "-"), a = `${e}.${o}`, u = Kb(o, i);
@@ -15016,11 +15016,11 @@ const _c = "highlight-browser", Gb = _c, za = () => {
15016
15016
  ]), Kb = (t, e) => Xb.has(t) ? e.split(",").map((n) => n.trim()).filter((n) => n.length > 0) : [e], Wb = (t, e, n, r) => {
15017
15017
  var i;
15018
15018
  t.setAttribute("http.response.body", n);
15019
- const o = uo(
15019
+ const o = co(
15020
15020
  (i = r.networkHeadersToRedact) != null ? i : [],
15021
15021
  e,
15022
15022
  r.headerKeysToRecord
15023
- ), a = vo(
15023
+ ), a = yo(
15024
15024
  o,
15025
15025
  "http.response.header"
15026
15026
  );
@@ -15041,7 +15041,7 @@ const _c = "highlight-browser", Gb = _c, za = () => {
15041
15041
  },
15042
15042
  response: {
15043
15043
  status: Number(
15044
- (a = f[Rs]) != null ? a : 0
15044
+ (a = f[Cs]) != null ? a : 0
15045
15045
  ),
15046
15046
  headers: v,
15047
15047
  body: (u = f["http.response.body"]) != null ? u : ""
@@ -15080,7 +15080,7 @@ const _c = "highlight-browser", Gb = _c, za = () => {
15080
15080
  ) ? !1 : hg(
15081
15081
  t,
15082
15082
  e
15083
- ), Xa = (t) => {
15083
+ ), Ka = (t) => {
15084
15084
  var e, n, r;
15085
15085
  if (!t.events)
15086
15086
  return;
@@ -15162,7 +15162,7 @@ const Jb = (t, e) => {
15162
15162
  return `${Number(e.toFixed(1))}µs`;
15163
15163
  } else
15164
15164
  return `${Number(t.toFixed(1))}ns`;
15165
- }, Ka = (t) => t === !0 ? [/localhost/, /^\//, new RegExp(window.location.host)] : Array.isArray(t) ? t.map(
15165
+ }, Wa = (t) => t === !0 ? [/localhost/, /^\//, new RegExp(window.location.host)] : Array.isArray(t) ? t.map(
15166
15166
  (e) => typeof e == "string" ? new RegExp(e) : e
15167
15167
  ) : /^$/, Ec = (t) => t.attributes[Ne] ? t.attributes[Ne] : t.attributes[ht], Qb = 30, Zb = () => new Promise(
15168
15168
  (t) => requestAnimationFrame(
@@ -15202,10 +15202,10 @@ const Jb = (t, e) => {
15202
15202
  return window.addEventListener("click", i, !0), window.addEventListener("keydown", i, !0), () => {
15203
15203
  window.removeEventListener("keydown", i, !0), window.removeEventListener("click", i, !0);
15204
15204
  };
15205
- }, nS = typeof window < "u", Wa = nS && "performance" in window && "memory" in performance ? performance : { memory: {} }, rS = (t, e) => {
15205
+ }, nS = typeof window < "u", Ya = nS && "performance" in window && "memory" in performance ? performance : { memory: {} }, rS = (t, e) => {
15206
15206
  let n = 0, r = 0;
15207
15207
  const i = () => {
15208
- const s = ((/* @__PURE__ */ new Date()).getTime() - e) / 1e3, l = Wa.memory.jsHeapSizeLimit || 0, p = Wa.memory.usedJSHeapSize || 0;
15208
+ const s = ((/* @__PURE__ */ new Date()).getTime() - e) / 1e3, l = Ya.memory.jsHeapSizeLimit || 0, p = Ya.memory.usedJSHeapSize || 0;
15209
15209
  t({
15210
15210
  jsHeapSizeLimit: l,
15211
15211
  usedJSHeapSize: p,
@@ -15227,17 +15227,17 @@ const Jb = (t, e) => {
15227
15227
  clearInterval(o), cancelAnimationFrame(r);
15228
15228
  };
15229
15229
  };
15230
- var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15230
+ var we, Dt, Tc, zn, qi, bc = -1, Ze = function(t) {
15231
15231
  addEventListener("pageshow", function(e) {
15232
15232
  e.persisted && (bc = e.timeStamp, t(e));
15233
15233
  }, !0);
15234
- }, yo = function() {
15234
+ }, mo = function() {
15235
15235
  return window.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0];
15236
15236
  }, nr = function() {
15237
- var t = yo();
15237
+ var t = mo();
15238
15238
  return t && t.activationStart || 0;
15239
15239
  }, oe = function(t, e) {
15240
- var n = yo(), r = "navigate";
15240
+ var n = mo(), r = "navigate";
15241
15241
  return bc >= 0 ? r = "back-forward-cache" : n && (document.prerendering || nr() > 0 ? r = "prerender" : document.wasDiscarded ? r = "restore" : n.type && (r = n.type.replace(/_/g, "-"))), { name: t, value: e === void 0 ? -1 : e, rating: "good", delta: 0, entries: [], id: "v3-".concat(Date.now(), "-").concat(Math.floor(8999999999999 * Math.random()) + 1e12), navigationType: r };
15242
15242
  }, Tt = function(t, e, n) {
15243
15243
  try {
@@ -15258,7 +15258,7 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15258
15258
  return u > c[1] ? "poor" : u > c[0] ? "needs-improvement" : "good";
15259
15259
  }(e.value, n), t(e));
15260
15260
  };
15261
- }, mo = function(t) {
15261
+ }, _o = function(t) {
15262
15262
  requestAnimationFrame(function() {
15263
15263
  return requestAnimationFrame(function() {
15264
15264
  return t();
@@ -15269,46 +15269,46 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15269
15269
  n.type !== "pagehide" && document.visibilityState !== "hidden" || t(n);
15270
15270
  };
15271
15271
  addEventListener("visibilitychange", e, !0), addEventListener("pagehide", e, !0);
15272
- }, _o = function(t) {
15272
+ }, go = function(t) {
15273
15273
  var e = !1;
15274
15274
  return function(n) {
15275
15275
  e || (t(n), e = !0);
15276
15276
  };
15277
- }, ct = -1, Ya = function() {
15277
+ }, ct = -1, Ja = function() {
15278
15278
  return document.visibilityState !== "hidden" || document.prerendering ? 1 / 0 : 0;
15279
15279
  }, qn = function(t) {
15280
15280
  document.visibilityState === "hidden" && ct > -1 && (ct = t.type === "visibilitychange" ? t.timeStamp : 0, iS());
15281
- }, Ja = function() {
15281
+ }, Qa = function() {
15282
15282
  addEventListener("visibilitychange", qn, !0), addEventListener("prerenderingchange", qn, !0);
15283
15283
  }, iS = function() {
15284
15284
  removeEventListener("visibilitychange", qn, !0), removeEventListener("prerenderingchange", qn, !0);
15285
- }, go = function() {
15286
- return ct < 0 && (ct = Ya(), Ja(), Ze(function() {
15285
+ }, Eo = function() {
15286
+ return ct < 0 && (ct = Ja(), Qa(), Ze(function() {
15287
15287
  setTimeout(function() {
15288
- ct = Ya(), Ja();
15288
+ ct = Ja(), Qa();
15289
15289
  }, 0);
15290
15290
  })), { get firstHiddenTime() {
15291
15291
  return ct;
15292
15292
  } };
15293
- }, tn = function(t) {
15293
+ }, en = function(t) {
15294
15294
  document.prerendering ? addEventListener("prerenderingchange", function() {
15295
15295
  return t();
15296
15296
  }, !0) : t();
15297
- }, Qa = [1800, 3e3], Sc = function(t, e) {
15298
- e = e || {}, tn(function() {
15299
- var n, r = go(), i = oe("FCP"), o = Tt("paint", function(a) {
15297
+ }, Za = [1800, 3e3], Sc = function(t, e) {
15298
+ e = e || {}, en(function() {
15299
+ var n, r = Eo(), i = oe("FCP"), o = Tt("paint", function(a) {
15300
15300
  a.forEach(function(u) {
15301
15301
  u.name === "first-contentful-paint" && (o.disconnect(), u.startTime < r.firstHiddenTime && (i.value = Math.max(u.startTime - nr(), 0), i.entries.push(u), n(!0)));
15302
15302
  });
15303
15303
  });
15304
- o && (n = ae(t, i, Qa, e.reportAllChanges), Ze(function(a) {
15305
- i = oe("FCP"), n = ae(t, i, Qa, e.reportAllChanges), mo(function() {
15304
+ o && (n = ae(t, i, Za, e.reportAllChanges), Ze(function(a) {
15305
+ i = oe("FCP"), n = ae(t, i, Za, e.reportAllChanges), _o(function() {
15306
15306
  i.value = performance.now() - a.timeStamp, n(!0);
15307
15307
  });
15308
15308
  }));
15309
15309
  });
15310
- }, Za = [0.1, 0.25], oS = function(t, e) {
15311
- e = e || {}, Sc(_o(function() {
15310
+ }, es = [0.1, 0.25], oS = function(t, e) {
15311
+ e = e || {}, Sc(go(function() {
15312
15312
  var n, r = oe("CLS", 0), i = 0, o = [], a = function(c) {
15313
15313
  c.forEach(function(s) {
15314
15314
  if (!s.hadRecentInput) {
@@ -15317,19 +15317,19 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15317
15317
  }
15318
15318
  }), i > r.value && (r.value = i, r.entries = o, n());
15319
15319
  }, u = Tt("layout-shift", a);
15320
- u && (n = ae(t, r, Za, e.reportAllChanges), rr(function() {
15320
+ u && (n = ae(t, r, es, e.reportAllChanges), rr(function() {
15321
15321
  a(u.takeRecords()), n(!0);
15322
15322
  }), Ze(function() {
15323
- i = 0, r = oe("CLS", 0), n = ae(t, r, Za, e.reportAllChanges), mo(function() {
15323
+ i = 0, r = oe("CLS", 0), n = ae(t, r, es, e.reportAllChanges), _o(function() {
15324
15324
  return n();
15325
15325
  });
15326
15326
  }), setTimeout(n, 0));
15327
15327
  }));
15328
- }, xt = { passive: !0, capture: !0 }, aS = /* @__PURE__ */ new Date(), es = function(t, e) {
15329
- we || (we = e, Ut = t, Tc = /* @__PURE__ */ new Date(), wc(removeEventListener), Oc());
15328
+ }, xt = { passive: !0, capture: !0 }, aS = /* @__PURE__ */ new Date(), ts = function(t, e) {
15329
+ we || (we = e, Dt = t, Tc = /* @__PURE__ */ new Date(), wc(removeEventListener), Oc());
15330
15330
  }, Oc = function() {
15331
- if (Ut >= 0 && Ut < Tc - aS) {
15332
- var t = { entryType: "first-input", name: we.type, target: we.target, cancelable: we.cancelable, startTime: we.timeStamp, processingStart: we.timeStamp + Ut };
15331
+ if (Dt >= 0 && Dt < Tc - aS) {
15332
+ var t = { entryType: "first-input", name: we.type, target: we.target, cancelable: we.cancelable, startTime: we.timeStamp, processingStart: we.timeStamp + Dt };
15333
15333
  zn.forEach(function(e) {
15334
15334
  e(t);
15335
15335
  }), zn = [];
@@ -15339,44 +15339,44 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15339
15339
  var e = (t.timeStamp > 1e12 ? /* @__PURE__ */ new Date() : performance.now()) - t.timeStamp;
15340
15340
  t.type == "pointerdown" ? function(n, r) {
15341
15341
  var i = function() {
15342
- es(n, r), a();
15342
+ ts(n, r), a();
15343
15343
  }, o = function() {
15344
15344
  a();
15345
15345
  }, a = function() {
15346
15346
  removeEventListener("pointerup", i, xt), removeEventListener("pointercancel", o, xt);
15347
15347
  };
15348
15348
  addEventListener("pointerup", i, xt), addEventListener("pointercancel", o, xt);
15349
- }(e, t) : es(e, t);
15349
+ }(e, t) : ts(e, t);
15350
15350
  }
15351
15351
  }, wc = function(t) {
15352
15352
  ["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(e) {
15353
15353
  return t(e, sS, xt);
15354
15354
  });
15355
- }, ts = [100, 300], uS = function(t, e) {
15356
- e = e || {}, tn(function() {
15357
- var n, r = go(), i = oe("FID"), o = function(c) {
15355
+ }, ns = [100, 300], uS = function(t, e) {
15356
+ e = e || {}, en(function() {
15357
+ var n, r = Eo(), i = oe("FID"), o = function(c) {
15358
15358
  c.startTime < r.firstHiddenTime && (i.value = c.processingStart - c.startTime, i.entries.push(c), n(!0));
15359
15359
  }, a = function(c) {
15360
15360
  c.forEach(o);
15361
15361
  }, u = Tt("first-input", a);
15362
- n = ae(t, i, ts, e.reportAllChanges), u && rr(_o(function() {
15362
+ n = ae(t, i, ns, e.reportAllChanges), u && rr(go(function() {
15363
15363
  a(u.takeRecords()), u.disconnect();
15364
15364
  })), u && Ze(function() {
15365
15365
  var c;
15366
- i = oe("FID"), n = ae(t, i, ts, e.reportAllChanges), zn = [], Ut = -1, we = null, wc(addEventListener), c = o, zn.push(c), Oc();
15366
+ i = oe("FID"), n = ae(t, i, ns, e.reportAllChanges), zn = [], Dt = -1, we = null, wc(addEventListener), c = o, zn.push(c), Oc();
15367
15367
  });
15368
15368
  });
15369
- }, Ac = 0, Yr = 1 / 0, vn = 0, cS = function(t) {
15369
+ }, Ac = 0, Yr = 1 / 0, dn = 0, cS = function(t) {
15370
15370
  t.forEach(function(e) {
15371
- e.interactionId && (Yr = Math.min(Yr, e.interactionId), vn = Math.max(vn, e.interactionId), Ac = vn ? (vn - Yr) / 7 + 1 : 0);
15371
+ e.interactionId && (Yr = Math.min(Yr, e.interactionId), dn = Math.max(dn, e.interactionId), Ac = dn ? (dn - Yr) / 7 + 1 : 0);
15372
15372
  });
15373
15373
  }, Lc = function() {
15374
- return zi ? Ac : performance.interactionCount || 0;
15374
+ return qi ? Ac : performance.interactionCount || 0;
15375
15375
  }, lS = function() {
15376
- "interactionCount" in performance || zi || (zi = Tt("event", cS, { type: "event", buffered: !0, durationThreshold: 0 }));
15377
- }, ns = [200, 500], Rc = 0, rs = function() {
15376
+ "interactionCount" in performance || qi || (qi = Tt("event", cS, { type: "event", buffered: !0, durationThreshold: 0 }));
15377
+ }, rs = [200, 500], Rc = 0, is = function() {
15378
15378
  return Lc() - Rc;
15379
- }, fe = [], Jr = {}, is = function(t) {
15379
+ }, fe = [], Jr = {}, os = function(t) {
15380
15380
  var e = fe[fe.length - 1], n = Jr[t.interactionId];
15381
15381
  if (n || fe.length < 10 || t.duration > e.latency) {
15382
15382
  if (n) n.entries.push(t), n.latency = Math.max(n.latency, t.duration);
@@ -15391,35 +15391,35 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15391
15391
  });
15392
15392
  }
15393
15393
  }, pS = function(t, e) {
15394
- e = e || {}, tn(function() {
15394
+ e = e || {}, en(function() {
15395
15395
  var n;
15396
15396
  lS();
15397
15397
  var r, i = oe("INP"), o = function(u) {
15398
15398
  u.forEach(function(l) {
15399
- l.interactionId && is(l), l.entryType === "first-input" && !fe.some(function(p) {
15399
+ l.interactionId && os(l), l.entryType === "first-input" && !fe.some(function(p) {
15400
15400
  return p.entries.some(function(f) {
15401
15401
  return l.duration === f.duration && l.startTime === f.startTime;
15402
15402
  });
15403
- }) && is(l);
15403
+ }) && os(l);
15404
15404
  });
15405
- var c, s = (c = Math.min(fe.length - 1, Math.floor(rs() / 50)), fe[c]);
15405
+ var c, s = (c = Math.min(fe.length - 1, Math.floor(is() / 50)), fe[c]);
15406
15406
  s && s.latency !== i.value && (i.value = s.latency, i.entries = s.entries, r());
15407
15407
  }, a = Tt("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
15408
- r = ae(t, i, ns, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), rr(function() {
15409
- o(a.takeRecords()), i.value < 0 && rs() > 0 && (i.value = 0, i.entries = []), r(!0);
15408
+ r = ae(t, i, rs, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), rr(function() {
15409
+ o(a.takeRecords()), i.value < 0 && is() > 0 && (i.value = 0, i.entries = []), r(!0);
15410
15410
  }), Ze(function() {
15411
- fe = [], Rc = Lc(), i = oe("INP"), r = ae(t, i, ns, e.reportAllChanges);
15411
+ fe = [], Rc = Lc(), i = oe("INP"), r = ae(t, i, rs, e.reportAllChanges);
15412
15412
  }));
15413
15413
  });
15414
- }, os = [2500, 4e3], Qr = {}, fS = function(t, e) {
15415
- e = e || {}, tn(function() {
15416
- var n, r = go(), i = oe("LCP"), o = function(c) {
15414
+ }, as = [2500, 4e3], Qr = {}, fS = function(t, e) {
15415
+ e = e || {}, en(function() {
15416
+ var n, r = Eo(), i = oe("LCP"), o = function(c) {
15417
15417
  var s = c[c.length - 1];
15418
15418
  s && s.startTime < r.firstHiddenTime && (i.value = Math.max(s.startTime - nr(), 0), i.entries = [s], n());
15419
15419
  }, a = Tt("largest-contentful-paint", o);
15420
15420
  if (a) {
15421
- n = ae(t, i, os, e.reportAllChanges);
15422
- var u = _o(function() {
15421
+ n = ae(t, i, as, e.reportAllChanges);
15422
+ var u = go(function() {
15423
15423
  Qr[i.id] || (o(a.takeRecords()), a.disconnect(), Qr[i.id] = !0, n(!0));
15424
15424
  });
15425
15425
  ["keydown", "click"].forEach(function(c) {
@@ -15427,28 +15427,28 @@ var we, Ut, Tc, zn, zi, bc = -1, Ze = function(t) {
15427
15427
  return setTimeout(u, 0);
15428
15428
  }, !0);
15429
15429
  }), rr(u), Ze(function(c) {
15430
- i = oe("LCP"), n = ae(t, i, os, e.reportAllChanges), mo(function() {
15430
+ i = oe("LCP"), n = ae(t, i, as, e.reportAllChanges), _o(function() {
15431
15431
  i.value = performance.now() - c.timeStamp, Qr[i.id] = !0, n(!0);
15432
15432
  });
15433
15433
  });
15434
15434
  }
15435
15435
  });
15436
- }, as = [800, 1800], hS = function t(e) {
15437
- document.prerendering ? tn(function() {
15436
+ }, ss = [800, 1800], hS = function t(e) {
15437
+ document.prerendering ? en(function() {
15438
15438
  return t(e);
15439
15439
  }) : document.readyState !== "complete" ? addEventListener("load", function() {
15440
15440
  return t(e);
15441
15441
  }, !0) : setTimeout(e, 0);
15442
15442
  }, dS = function(t, e) {
15443
15443
  e = e || {};
15444
- var n = oe("TTFB"), r = ae(t, n, as, e.reportAllChanges);
15444
+ var n = oe("TTFB"), r = ae(t, n, ss, e.reportAllChanges);
15445
15445
  hS(function() {
15446
- var i = yo();
15446
+ var i = mo();
15447
15447
  if (i) {
15448
15448
  var o = i.responseStart;
15449
15449
  if (o <= 0 || o > performance.now()) return;
15450
15450
  n.value = Math.max(o - nr(), 0), n.entries = [i], r(!0), Ze(function() {
15451
- n = oe("TTFB", 0), (r = ae(t, n, as, e.reportAllChanges))(!0);
15451
+ n = oe("TTFB", 0), (r = ae(t, n, ss, e.reportAllChanges))(!0);
15452
15452
  });
15453
15453
  }
15454
15454
  });
@@ -15633,7 +15633,7 @@ class bS {
15633
15633
  return {
15634
15634
  sample: this.sampler(r.samplingRatio),
15635
15635
  attributes: {
15636
- [Ga]: r.samplingRatio
15636
+ [za]: r.samplingRatio
15637
15637
  }
15638
15638
  };
15639
15639
  }
@@ -15655,7 +15655,7 @@ class bS {
15655
15655
  return {
15656
15656
  sample: this.sampler(r.samplingRatio),
15657
15657
  attributes: {
15658
- [Ga]: r.samplingRatio
15658
+ [za]: r.samplingRatio
15659
15659
  }
15660
15660
  };
15661
15661
  }
@@ -15664,7 +15664,7 @@ class bS {
15664
15664
  };
15665
15665
  }
15666
15666
  }
15667
- const ss = () => {
15667
+ const us = () => {
15668
15668
  const t = {
15669
15669
  end: () => {
15670
15670
  },
@@ -15881,18 +15881,30 @@ class PS {
15881
15881
  }
15882
15882
  _recordLog(e, n, r, i) {
15883
15883
  this.startSpan(vc, (o) => {
15884
- const a = typeof e == "string" ? e : It(e), u = i ? It(i.map((c) => c.toString())) : void 0;
15884
+ var a, u, c, s;
15885
+ const l = typeof e == "string" ? e : Cn(e), p = i ? i.map((f) => f.toString()).join(`
15886
+ `) : void 0;
15885
15887
  if (o?.addEvent("log", P({
15886
15888
  [yc]: n,
15887
- [mc]: a,
15888
- "code.stacktrace": u
15889
+ [mc]: l,
15890
+ "code.stacktrace": p
15889
15891
  }, r)), this._options.reportConsoleErrors && n === "error") {
15890
- o?.recordException(new Error(a)), o?.setStatus({
15892
+ const f = new Error(l);
15893
+ o?.recordException(f), o?.setStatus({
15891
15894
  code: Mn.ERROR,
15892
- message: a
15893
- });
15894
- const c = new Error(a);
15895
- i && (c.stack = u), this.recordError(c);
15895
+ message: l
15896
+ }), i ? this._recordErrorMessage({
15897
+ error: f,
15898
+ event: f.message,
15899
+ type: "custom",
15900
+ url: window.location.href,
15901
+ source: "frontend",
15902
+ lineNumber: (u = (a = i[0]) == null ? void 0 : a.lineNumber) != null ? u : 0,
15903
+ columnNumber: (s = (c = i[0]) == null ? void 0 : c.columnNumber) != null ? s : 0,
15904
+ stackTrace: i,
15905
+ timestamp: (/* @__PURE__ */ new Date()).toISOString(),
15906
+ id: di()
15907
+ }) : this.recordError(f);
15896
15908
  }
15897
15909
  });
15898
15910
  }
@@ -15937,7 +15949,7 @@ class PS {
15937
15949
  columnNumber: (c = p[0]) != null && c.columnNumber ? (s = p[0]) == null ? void 0 : s.columnNumber : 0,
15938
15950
  stackTrace: p,
15939
15951
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
15940
- id: Fs()
15952
+ id: di()
15941
15953
  };
15942
15954
  this._recordErrorMessage(f, r);
15943
15955
  }
@@ -15945,7 +15957,7 @@ class PS {
15945
15957
  var n;
15946
15958
  let r = this._counters.get(e.name);
15947
15959
  if (!r) {
15948
- if (r = (n = dn()) == null ? void 0 : n.createCounter(e.name), !r) return;
15960
+ if (r = (n = hn()) == null ? void 0 : n.createCounter(e.name), !r) return;
15949
15961
  this._counters.set(e.name, r);
15950
15962
  }
15951
15963
  r.add(e.value, J(P({}, e.attributes), {
@@ -15956,7 +15968,7 @@ class PS {
15956
15968
  var n, r, i, o;
15957
15969
  let a = this._gauges.get(e.name);
15958
15970
  if (!a) {
15959
- if (a = (n = dn()) == null ? void 0 : n.createGauge(e.name), !a) return;
15971
+ if (a = (n = hn()) == null ? void 0 : n.createGauge(e.name), !a) return;
15960
15972
  this._gauges.set(e.name, a);
15961
15973
  }
15962
15974
  a.record(e.value, J(P({}, e.attributes), {
@@ -15988,7 +16000,7 @@ class PS {
15988
16000
  var n;
15989
16001
  let r = this._histograms.get(e.name);
15990
16002
  if (!r) {
15991
- if (r = (n = dn()) == null ? void 0 : n.createHistogram(e.name), !r) return;
16003
+ if (r = (n = hn()) == null ? void 0 : n.createHistogram(e.name), !r) return;
15992
16004
  this._histograms.set(e.name, r);
15993
16005
  }
15994
16006
  r.record(e.value, J(P({}, e.attributes), {
@@ -15999,7 +16011,7 @@ class PS {
15999
16011
  var n;
16000
16012
  let r = this._up_down_counters.get(e.name);
16001
16013
  if (!r) {
16002
- if (r = (n = dn()) == null ? void 0 : n.createUpDownCounter(e.name), !r) return;
16014
+ if (r = (n = hn()) == null ? void 0 : n.createUpDownCounter(e.name), !r) return;
16003
16015
  this._up_down_counters.set(e.name, r);
16004
16016
  }
16005
16017
  r.add(e.value, J(P({}, e.attributes), {
@@ -16007,9 +16019,9 @@ class PS {
16007
16019
  }));
16008
16020
  }
16009
16021
  startSpan(e, n, r, i) {
16010
- const o = za();
16022
+ const o = qa();
16011
16023
  if (!o) {
16012
- const u = ss();
16024
+ const u = us();
16013
16025
  return i === void 0 && r === void 0 ? n(u) : i === void 0 ? r(u) : i(u);
16014
16026
  }
16015
16027
  const a = (u, c) => {
@@ -16031,9 +16043,9 @@ class PS {
16031
16043
  );
16032
16044
  }
16033
16045
  startManualSpan(e, n, r, i) {
16034
- const o = za();
16046
+ const o = qa();
16035
16047
  if (!o) {
16036
- const a = ss();
16048
+ const a = us();
16037
16049
  return i === void 0 && r === void 0 ? n(a) : i === void 0 ? r(a) : i(a);
16038
16050
  }
16039
16051
  return i === void 0 && r === void 0 ? o.startActiveSpan(e, n) : i === void 0 ? o.startActiveSpan(
@@ -16150,7 +16162,7 @@ class PS {
16150
16162
  ))
16151
16163
  return;
16152
16164
  const o = new Error(r.event);
16153
- o.stack = It(r.stackTrace.map((u) => u.toString()));
16165
+ o.stack = Cn(r.stackTrace.map((u) => u.toString()));
16154
16166
  let a = {};
16155
16167
  try {
16156
16168
  r.payload && (a = JSON.parse(r.payload));
@@ -16171,7 +16183,7 @@ class PS {
16171
16183
  group: window.location.pathname,
16172
16184
  category: ie.WebVital,
16173
16185
  [Ne]: Mu(c),
16174
- [Tn]: u,
16186
+ [En]: u,
16175
16187
  [cp]: a
16176
16188
  }
16177
16189
  });
@@ -16202,7 +16214,7 @@ class PS {
16202
16214
  const i = {
16203
16215
  category: ie.Performance,
16204
16216
  name: r.name,
16205
- [Tn]: window.location.pathname
16217
+ [En]: window.location.pathname
16206
16218
  };
16207
16219
  r.containerType && (i.container_type = r.containerType), r.containerSrc && (i.container_src = r.containerSrc), r.containerId && (i.container_id = r.containerId), r.containerName && (i.container_name = r.containerName), this.recordHistogram({
16208
16220
  name: "long_task.duration",
@@ -16212,7 +16224,7 @@ class PS {
16212
16224
  }), this._options.enableReportingObserver !== !1 && CS((r) => {
16213
16225
  var i;
16214
16226
  const o = J(P({}, r.attributes), {
16215
- [Tn]: window.location.pathname
16227
+ [En]: window.location.pathname
16216
16228
  });
16217
16229
  if (r.kind === "log")
16218
16230
  this._recordLog(
@@ -16241,7 +16253,7 @@ class PS {
16241
16253
  return this._recordLog(e, n, r);
16242
16254
  }
16243
16255
  }
16244
- class HS extends nf {
16256
+ class VS extends nf {
16245
16257
  constructor(e) {
16246
16258
  super(e), R(this, "observe"), R(this, "options"), this.options = e;
16247
16259
  }
@@ -16302,7 +16314,7 @@ class HS extends nf {
16302
16314
  var l, p, f, m, v, y, _, E, S;
16303
16315
  for (const j of (f = (p = (l = this.observe) == null ? void 0 : l.getHooks) == null ? void 0 : p.call(l, e)) != null ? f : [])
16304
16316
  (m = j.afterIdentify) == null || m.call(j, u, c, s);
16305
- const x = Po(u.context);
16317
+ const x = Io(u.context);
16306
16318
  if ((v = this.observe) == null || v.setLDContextKeyAttributes(x), s.status === "completed") {
16307
16319
  const j = J(P({}, x), {
16308
16320
  key: (E = (_ = (y = this.options) == null ? void 0 : y.contextFriendlyName) == null ? void 0 : _.call(
@@ -16328,11 +16340,11 @@ class HS extends nf {
16328
16340
  [Mp]: s.variationIndex
16329
16341
  } : {});
16330
16342
  if (s.reason)
16331
- for (const E in Co) {
16343
+ for (const E in No) {
16332
16344
  const S = E, x = s.reason[S];
16333
- x && (y[Co[S]] = x);
16345
+ x && (y[No[S]] = x);
16334
16346
  }
16335
- u.context && (y[xp] = JSON.stringify(Po(u.context)), y[Pp] = pr(u.context));
16347
+ u.context && (y[xp] = JSON.stringify(Io(u.context)), y[Pp] = pr(u.context));
16336
16348
  const _ = P(P({}, a), y);
16337
16349
  return (v = this.observe) == null || v.startSpan(Rp, (E) => {
16338
16350
  E && E.addEvent(Q, _);
@@ -16360,6 +16372,6 @@ class HS extends nf {
16360
16372
  }
16361
16373
  export {
16362
16374
  ut as LDObserve,
16363
- HS as default
16375
+ VS as default
16364
16376
  };
16365
16377
  //# sourceMappingURL=index.js.map