@launchdarkly/observability 0.3.5 → 0.3.6

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.
@@ -17,7 +17,7 @@ var bu = Object.defineProperty, Eu = (t, e, n) => e in t ? bu(t, e, { enumerable
17
17
  const Ii = /* @__PURE__ */ Object.create(null), Ue = (t, e, ...n) => {
18
18
  const r = `[@launchdarkly plugins]: (${t}): `;
19
19
  console[e].apply(console, [r, ...n]), wu(r, ...n);
20
- }, st = (t, e, n, ...r) => {
20
+ }, ut = (t, e, n, ...r) => {
21
21
  Ii[`${t}-${e}`] || (Ii[`${t}-${e}`] = !0, Ue(t, n, ...r));
22
22
  }, wu = (t, ...e) => Tu(void 0, null, function* () {
23
23
  try {
@@ -88,7 +88,7 @@ var Ou = Object.defineProperty, Au = Object.defineProperties, xu = Object.getOwn
88
88
  for (var n of gn(e))
89
89
  ha.call(e, n) && Ir(t, n, e[n]);
90
90
  return t;
91
- }, ot = (t, e) => Au(t, xu(e)), St = (t, e) => {
91
+ }, ot = (t, e) => Au(t, xu(e)), Ot = (t, e) => {
92
92
  var n = {};
93
93
  for (var r in t)
94
94
  fa.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
@@ -96,7 +96,7 @@ var Ou = Object.defineProperty, Au = Object.defineProperties, xu = Object.getOwn
96
96
  for (var r of gn(t))
97
97
  e.indexOf(r) < 0 && ha.call(t, r) && (n[r] = t[r]);
98
98
  return n;
99
- }, Rt = (t, e, n) => Ir(t, typeof e != "symbol" ? e + "" : e, n), ut = (t, e, n) => new Promise((r, i) => {
99
+ }, It = (t, e, n) => Ir(t, typeof e != "symbol" ? e + "" : e, n), ct = (t, e, n) => new Promise((r, i) => {
100
100
  var o = (c) => {
101
101
  try {
102
102
  u(n.next(c));
@@ -162,14 +162,14 @@ function da(t, e) {
162
162
  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}
163
163
  `, l = r.split(/\r\n|[\n\r]/g), p = l[i];
164
164
  if (p.length > 120) {
165
- const f = Math.floor(c / 80), v = c % 80, m = [];
165
+ const f = Math.floor(c / 80), m = c % 80, v = [];
166
166
  for (let y = 0; y < p.length; y += 80)
167
- m.push(p.slice(y, y + 80));
167
+ v.push(p.slice(y, y + 80));
168
168
  return s + Pi([
169
- [`${a} |`, m[0]],
170
- ...m.slice(1, f + 1).map((y) => ["|", y]),
171
- ["|", "^".padStart(v)],
172
- ["|", m[f + 1]]
169
+ [`${a} |`, v[0]],
170
+ ...v.slice(1, f + 1).map((y) => ["|", y]),
171
+ ["|", "^".padStart(m)],
172
+ ["|", v[f + 1]]
173
173
  ]);
174
174
  }
175
175
  return s + Pi([
@@ -196,7 +196,7 @@ function Pu(t) {
196
196
  extensions: t[5]
197
197
  } : e;
198
198
  }
199
- let ku = class ma extends Error {
199
+ let ku = class va extends Error {
200
200
  /**
201
201
  * An array of `{ line, column }` locations within the source GraphQL document
202
202
  * which correspond to this error.
@@ -242,13 +242,13 @@ let ku = class ma extends Error {
242
242
  Array.isArray(a) ? a : a ? [a] : void 0
243
243
  );
244
244
  const f = ki(
245
- (r = this.nodes) === null || r === void 0 ? void 0 : r.map((m) => m.loc).filter((m) => m != null)
245
+ (r = this.nodes) === null || r === void 0 ? void 0 : r.map((v) => v.loc).filter((v) => v != null)
246
246
  );
247
- this.source = u ?? (f == null || (i = f[0]) === null || i === void 0 ? void 0 : i.source), this.positions = c ?? f?.map((m) => m.start), this.locations = c && u ? c.map((m) => Pr(u, m)) : f?.map((m) => Pr(m.source, m.start));
248
- const v = Cu(
247
+ 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) => Pr(u, v)) : f?.map((v) => Pr(v.source, v.start));
248
+ const m = Cu(
249
249
  l?.extensions
250
250
  ) ? l?.extensions : void 0;
251
- this.extensions = (o = p ?? v) !== null && o !== void 0 ? o : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
251
+ this.extensions = (o = p ?? m) !== null && o !== void 0 ? o : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
252
252
  message: {
253
253
  writable: !0,
254
254
  enumerable: !0
@@ -272,7 +272,7 @@ let ku = class ma extends Error {
272
272
  value: l.stack,
273
273
  writable: !0,
274
274
  configurable: !0
275
- }) : Error.captureStackTrace ? Error.captureStackTrace(this, ma) : Object.defineProperty(this, "stack", {
275
+ }) : Error.captureStackTrace ? Error.captureStackTrace(this, va) : Object.defineProperty(this, "stack", {
276
276
  value: Error().stack,
277
277
  writable: !0,
278
278
  configurable: !0
@@ -339,7 +339,7 @@ let Mu = class {
339
339
  end: this.end
340
340
  };
341
341
  }
342
- }, va = class {
342
+ }, ma = class {
343
343
  /**
344
344
  * The kind of Token.
345
345
  */
@@ -475,7 +475,7 @@ var w;
475
475
  function Mr(t) {
476
476
  return t === 9 || t === 32;
477
477
  }
478
- function It(t) {
478
+ function Pt(t) {
479
479
  return t >= 48 && t <= 57;
480
480
  }
481
481
  function ga(t) {
@@ -486,7 +486,7 @@ function _a(t) {
486
486
  return ga(t) || t === 95;
487
487
  }
488
488
  function Uu(t) {
489
- return ga(t) || It(t) || t === 95;
489
+ return ga(t) || Pt(t) || t === 95;
490
490
  }
491
491
  function $u(t) {
492
492
  var e;
@@ -508,7 +508,7 @@ function ju(t) {
508
508
  return e;
509
509
  }
510
510
  function Bu(t, e) {
511
- const n = t.replace(/"""/g, '\\"""'), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, o = r.length > 1 && r.slice(1).every((v) => v.length === 0 || Mr(v.charCodeAt(0))), a = n.endsWith('\\"""'), u = t.endsWith('"') && !a, c = t.endsWith("\\"), s = u || c, l = (
511
+ const n = t.replace(/"""/g, '\\"""'), r = n.split(/\r\n|[\n\r]/g), i = r.length === 1, o = r.length > 1 && r.slice(1).every((m) => m.length === 0 || Mr(m.charCodeAt(0))), a = n.endsWith('\\"""'), u = t.endsWith('"') && !a, c = t.endsWith("\\"), s = u || c, l = (
512
512
  // add leading and trailing new lines only if it improves readability
513
513
  !i || t.length > 70 || s || o || a
514
514
  );
@@ -536,7 +536,7 @@ let Fu = class {
536
536
  * The character offset at which the current line begins.
537
537
  */
538
538
  constructor(e) {
539
- const n = new va(d.SOF, 0, 0, 0, 0);
539
+ const n = new ma(d.SOF, 0, 0, 0, 0);
540
540
  this.source = e, this.lastToken = n, this.token = n, this.line = 1, this.lineStart = 0;
541
541
  }
542
542
  get [Symbol.toStringTag]() {
@@ -569,7 +569,7 @@ let Fu = class {
569
569
  function Vu(t) {
570
570
  return t === d.BANG || t === d.DOLLAR || t === d.AMP || t === d.PAREN_L || t === d.PAREN_R || t === d.SPREAD || t === d.COLON || t === d.EQUALS || t === d.AT || t === d.BRACKET_L || t === d.BRACKET_R || t === d.BRACE_L || t === d.PIPE || t === d.BRACE_R;
571
571
  }
572
- function ft(t) {
572
+ function ht(t) {
573
573
  return t >= 0 && t <= 55295 || t >= 57344 && t <= 1114111;
574
574
  }
575
575
  function kn(t, e) {
@@ -593,7 +593,7 @@ function je(t, e) {
593
593
  }
594
594
  function B(t, e, n, r, i) {
595
595
  const o = t.line, a = 1 + n - t.lineStart;
596
- return new va(e, n, r, o, a, i);
596
+ return new ma(e, n, r, o, a, i);
597
597
  }
598
598
  function Hu(t, e) {
599
599
  const n = t.source.body, r = n.length;
@@ -648,14 +648,14 @@ function Hu(t, e) {
648
648
  case 34:
649
649
  return n.charCodeAt(i + 1) === 34 && n.charCodeAt(i + 2) === 34 ? Yu(t, i) : qu(t, i);
650
650
  }
651
- if (It(o) || o === 45)
651
+ if (Pt(o) || o === 45)
652
652
  return zu(t, i, o);
653
653
  if (_a(o))
654
654
  return Ju(t, i);
655
655
  throw H(
656
656
  t.source,
657
657
  i,
658
- o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : ft(o) || kn(n, i) ? `Unexpected character: ${je(t, i)}.` : `Invalid character: ${je(t, i)}.`
658
+ o === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : ht(o) || kn(n, i) ? `Unexpected character: ${je(t, i)}.` : `Invalid character: ${je(t, i)}.`
659
659
  );
660
660
  }
661
661
  return B(t, d.EOF, r, r);
@@ -667,7 +667,7 @@ function Gu(t, e) {
667
667
  const o = n.charCodeAt(i);
668
668
  if (o === 10 || o === 13)
669
669
  break;
670
- if (ft(o))
670
+ if (ht(o))
671
671
  ++i;
672
672
  else if (kn(n, i))
673
673
  i += 2;
@@ -686,7 +686,7 @@ function zu(t, e, n) {
686
686
  const r = t.source.body;
687
687
  let i = e, o = n, a = !1;
688
688
  if (o === 45 && (o = r.charCodeAt(++i)), o === 48) {
689
- if (o = r.charCodeAt(++i), It(o))
689
+ if (o = r.charCodeAt(++i), Pt(o))
690
690
  throw H(
691
691
  t.source,
692
692
  i,
@@ -715,7 +715,7 @@ function zu(t, e, n) {
715
715
  );
716
716
  }
717
717
  function qn(t, e, n) {
718
- if (!It(n))
718
+ if (!Pt(n))
719
719
  throw H(
720
720
  t.source,
721
721
  e,
@@ -726,7 +726,7 @@ function qn(t, e, n) {
726
726
  );
727
727
  const r = t.source.body;
728
728
  let i = e + 1;
729
- for (; It(r.charCodeAt(i)); )
729
+ for (; Pt(r.charCodeAt(i)); )
730
730
  ++i;
731
731
  return i;
732
732
  }
@@ -745,7 +745,7 @@ function qu(t, e) {
745
745
  }
746
746
  if (u === 10 || u === 13)
747
747
  break;
748
- if (ft(u))
748
+ if (ht(u))
749
749
  ++i;
750
750
  else if (kn(n, i))
751
751
  i += 2;
@@ -767,14 +767,14 @@ function Xu(t, e) {
767
767
  for (; i < 12; ) {
768
768
  const o = n.charCodeAt(e + i++);
769
769
  if (o === 125) {
770
- if (i < 5 || !ft(r))
770
+ if (i < 5 || !ht(r))
771
771
  break;
772
772
  return {
773
773
  value: String.fromCodePoint(r),
774
774
  size: i
775
775
  };
776
776
  }
777
- if (r = r << 4 | Tt(o), r < 0)
777
+ if (r = r << 4 | wt(o), r < 0)
778
778
  break;
779
779
  }
780
780
  throw H(
@@ -788,7 +788,7 @@ function Xu(t, e) {
788
788
  }
789
789
  function Ku(t, e) {
790
790
  const n = t.source.body, r = Di(n, e + 2);
791
- if (ft(r))
791
+ if (ht(r))
792
792
  return {
793
793
  value: String.fromCodePoint(r),
794
794
  size: 6
@@ -808,9 +808,9 @@ function Ku(t, e) {
808
808
  );
809
809
  }
810
810
  function Di(t, e) {
811
- return Tt(t.charCodeAt(e)) << 12 | Tt(t.charCodeAt(e + 1)) << 8 | Tt(t.charCodeAt(e + 2)) << 4 | Tt(t.charCodeAt(e + 3));
811
+ return wt(t.charCodeAt(e)) << 12 | wt(t.charCodeAt(e + 1)) << 8 | wt(t.charCodeAt(e + 2)) << 4 | wt(t.charCodeAt(e + 3));
812
812
  }
813
- function Tt(t) {
813
+ function wt(t) {
814
814
  return t >= 48 && t <= 57 ? t - 48 : t >= 65 && t <= 70 ? t - 55 : t >= 97 && t <= 102 ? t - 87 : -1;
815
815
  }
816
816
  function Wu(t, e) {
@@ -894,7 +894,7 @@ function Yu(t, e) {
894
894
  u += n.slice(a, o), c.push(u), s === 13 && n.charCodeAt(o + 1) === 10 ? o += 2 : ++o, u = "", a = o, i = o;
895
895
  continue;
896
896
  }
897
- if (ft(s))
897
+ if (ht(s))
898
898
  ++o;
899
899
  else if (kn(n, o))
900
900
  o += 2;
@@ -2337,12 +2337,12 @@ function hc(t, e, n = ya) {
2337
2337
  for (const b of Object.values(w))
2338
2338
  r.set(b, dc(e, b));
2339
2339
  let i, o = Array.isArray(t), a = [t], u = -1, c = [], s = t, l, p;
2340
- const f = [], v = [];
2340
+ const f = [], m = [];
2341
2341
  do {
2342
2342
  u++;
2343
2343
  const b = u === a.length, L = b && c.length !== 0;
2344
2344
  if (b) {
2345
- if (l = v.length === 0 ? void 0 : f[f.length - 1], s = p, p = v.pop(), L)
2345
+ if (l = m.length === 0 ? void 0 : f[f.length - 1], s = p, p = m.pop(), L)
2346
2346
  if (o) {
2347
2347
  s = s.slice();
2348
2348
  let D = 0;
@@ -2363,10 +2363,10 @@ function hc(t, e, n = ya) {
2363
2363
  }
2364
2364
  let U;
2365
2365
  if (!Array.isArray(s)) {
2366
- var m, y;
2366
+ var v, y;
2367
2367
  Mi(s) || un(!1, `Invalid AST Node: ${ui(s)}.`);
2368
- const D = b ? (m = r.get(s.kind)) === null || m === void 0 ? void 0 : m.leave : (y = r.get(s.kind)) === null || y === void 0 ? void 0 : y.enter;
2369
- if (U = D?.call(e, s, l, p, f, v), U === fc)
2368
+ const D = b ? (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;
2369
+ if (U = D?.call(e, s, l, p, f, m), U === fc)
2370
2370
  break;
2371
2371
  if (U === !1) {
2372
2372
  if (!b) {
@@ -2391,7 +2391,7 @@ function hc(t, e, n = ya) {
2391
2391
  keys: a,
2392
2392
  edits: c,
2393
2393
  prev: i
2394
- }, o = Array.isArray(s), a = o ? s : (_ = n[s.kind]) !== null && _ !== void 0 ? _ : [], u = -1, c = [], p && v.push(p), p = s;
2394
+ }, o = Array.isArray(s), a = o ? s : (_ = n[s.kind]) !== null && _ !== void 0 ? _ : [], u = -1, c = [], p && m.push(p), p = s;
2395
2395
  }
2396
2396
  } while (i !== void 0);
2397
2397
  return c.length !== 0 ? c[c.length - 1][1] : t;
@@ -2406,10 +2406,10 @@ function dc(t, e) {
2406
2406
  leave: t.leave
2407
2407
  };
2408
2408
  }
2409
- function mc(t) {
2409
+ function vc(t) {
2410
2410
  return hc(t, yc);
2411
2411
  }
2412
- const vc = 80, yc = {
2412
+ const mc = 80, yc = {
2413
2413
  Name: {
2414
2414
  leave: (t) => t.value
2415
2415
  },
@@ -2445,7 +2445,7 @@ const vc = 80, yc = {
2445
2445
  leave({ alias: t, name: e, arguments: n, directives: r, selectionSet: i }) {
2446
2446
  const o = N("", t, ": ") + e;
2447
2447
  let a = o + N("(", T(n, ", "), ")");
2448
- return a.length > vc && (a = o + N(`(
2448
+ return a.length > mc && (a = o + N(`(
2449
2449
  `, cn(T(n, `
2450
2450
  `)), `
2451
2451
  )`)), T([a, T(r, " "), i], " ");
@@ -2703,7 +2703,7 @@ const li = JSON, gc = (t) => t.toUpperCase(), _c = (t) => {
2703
2703
  return { query: t, operationName: n };
2704
2704
  }
2705
2705
  const e = $i(t);
2706
- return { query: mc(t), operationName: e };
2706
+ return { query: vc(t), operationName: e };
2707
2707
  };
2708
2708
  let Oa = class ln extends Error {
2709
2709
  constructor(e, n) {
@@ -2770,7 +2770,7 @@ var Dr = { exports: {} };
2770
2770
  function f(h) {
2771
2771
  return typeof h != "string" && (h = String(h)), h;
2772
2772
  }
2773
- function v(h) {
2773
+ function m(h) {
2774
2774
  var g = {
2775
2775
  next: function() {
2776
2776
  var A = h.shift();
@@ -2781,8 +2781,8 @@ var Dr = { exports: {} };
2781
2781
  return g;
2782
2782
  }), g;
2783
2783
  }
2784
- function m(h) {
2785
- this.map = {}, h instanceof m ? h.forEach(function(g, A) {
2784
+ function v(h) {
2785
+ this.map = {}, h instanceof v ? h.forEach(function(g, A) {
2786
2786
  this.append(A, g);
2787
2787
  }, this) : Array.isArray(h) ? h.forEach(function(g) {
2788
2788
  this.append(g[0], g[1]);
@@ -2790,37 +2790,37 @@ var Dr = { exports: {} };
2790
2790
  this.append(g, h[g]);
2791
2791
  }, this);
2792
2792
  }
2793
- m.prototype.append = function(h, g) {
2793
+ v.prototype.append = function(h, g) {
2794
2794
  h = p(h), g = f(g);
2795
2795
  var A = this.map[h];
2796
2796
  this.map[h] = A ? A + ", " + g : g;
2797
- }, m.prototype.delete = function(h) {
2797
+ }, v.prototype.delete = function(h) {
2798
2798
  delete this.map[p(h)];
2799
- }, m.prototype.get = function(h) {
2799
+ }, v.prototype.get = function(h) {
2800
2800
  return h = p(h), this.has(h) ? this.map[h] : null;
2801
- }, m.prototype.has = function(h) {
2801
+ }, v.prototype.has = function(h) {
2802
2802
  return this.map.hasOwnProperty(p(h));
2803
- }, m.prototype.set = function(h, g) {
2803
+ }, v.prototype.set = function(h, g) {
2804
2804
  this.map[p(h)] = f(g);
2805
- }, m.prototype.forEach = function(h, g) {
2805
+ }, v.prototype.forEach = function(h, g) {
2806
2806
  for (var A in this.map)
2807
2807
  this.map.hasOwnProperty(A) && h.call(g, this.map[A], A, this);
2808
- }, m.prototype.keys = function() {
2808
+ }, v.prototype.keys = function() {
2809
2809
  var h = [];
2810
2810
  return this.forEach(function(g, A) {
2811
2811
  h.push(A);
2812
- }), v(h);
2813
- }, m.prototype.values = function() {
2812
+ }), m(h);
2813
+ }, v.prototype.values = function() {
2814
2814
  var h = [];
2815
2815
  return this.forEach(function(g) {
2816
2816
  h.push(g);
2817
- }), v(h);
2818
- }, m.prototype.entries = function() {
2817
+ }), m(h);
2818
+ }, v.prototype.entries = function() {
2819
2819
  var h = [];
2820
2820
  return this.forEach(function(g, A) {
2821
2821
  h.push([A, g]);
2822
- }), v(h);
2823
- }, u.iterable && (m.prototype[Symbol.iterator] = m.prototype.entries);
2822
+ }), m(h);
2823
+ }, u.iterable && (v.prototype[Symbol.iterator] = v.prototype.entries);
2824
2824
  function y(h) {
2825
2825
  if (h.bodyUsed)
2826
2826
  return Promise.reject(new TypeError("Already read"));
@@ -2882,7 +2882,7 @@ var Dr = { exports: {} };
2882
2882
  throw new Error("could not read FormData body as text");
2883
2883
  return Promise.resolve(this._bodyText);
2884
2884
  }, u.formData && (this.formData = function() {
2885
- return this.text().then(ve);
2885
+ return this.text().then(me);
2886
2886
  }), this.json = function() {
2887
2887
  return this.text().then(JSON.parse);
2888
2888
  }, this;
@@ -2898,17 +2898,17 @@ var Dr = { exports: {} };
2898
2898
  if (h instanceof $) {
2899
2899
  if (h.bodyUsed)
2900
2900
  throw new TypeError("Already read");
2901
- this.url = h.url, this.credentials = h.credentials, g.headers || (this.headers = new m(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, !A && h._bodyInit != null && (A = h._bodyInit, h.bodyUsed = !0);
2901
+ this.url = h.url, this.credentials = h.credentials, g.headers || (this.headers = new v(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, !A && h._bodyInit != null && (A = h._bodyInit, h.bodyUsed = !0);
2902
2902
  } else
2903
2903
  this.url = String(h);
2904
- if (this.credentials = g.credentials || this.credentials || "same-origin", (g.headers || !this.headers) && (this.headers = new m(g.headers)), this.method = G(g.method || this.method || "GET"), this.mode = g.mode || this.mode || null, this.signal = g.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && A)
2904
+ if (this.credentials = g.credentials || this.credentials || "same-origin", (g.headers || !this.headers) && (this.headers = new v(g.headers)), this.method = G(g.method || this.method || "GET"), this.mode = g.mode || this.mode || null, this.signal = g.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && A)
2905
2905
  throw new TypeError("Body not allowed for GET or HEAD requests");
2906
2906
  this._initBody(A);
2907
2907
  }
2908
2908
  $.prototype.clone = function() {
2909
2909
  return new $(this, { body: this._bodyInit });
2910
2910
  };
2911
- function ve(h) {
2911
+ function me(h) {
2912
2912
  var g = new FormData();
2913
2913
  return h.trim().split("&").forEach(function(A) {
2914
2914
  if (A) {
@@ -2918,7 +2918,7 @@ var Dr = { exports: {} };
2918
2918
  }), g;
2919
2919
  }
2920
2920
  function ue(h) {
2921
- var g = new m(), A = h.replace(/\r?\n[\t ]+/g, " ");
2921
+ var g = new v(), A = h.replace(/\r?\n[\t ]+/g, " ");
2922
2922
  return A.split(/\r?\n/).forEach(function(X) {
2923
2923
  var z = X.split(":"), I = z.shift().trim();
2924
2924
  if (I) {
@@ -2929,13 +2929,13 @@ var Dr = { exports: {} };
2929
2929
  }
2930
2930
  F.call($.prototype);
2931
2931
  function W(h, g) {
2932
- g || (g = {}), this.type = "default", this.status = g.status === void 0 ? 200 : g.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in g ? g.statusText : "OK", this.headers = new m(g.headers), this.url = g.url || "", this._initBody(h);
2932
+ g || (g = {}), this.type = "default", this.status = g.status === void 0 ? 200 : g.status, this.ok = this.status >= 200 && this.status < 300, this.statusText = "statusText" in g ? g.statusText : "OK", this.headers = new v(g.headers), this.url = g.url || "", this._initBody(h);
2933
2933
  }
2934
2934
  F.call(W.prototype), W.prototype.clone = function() {
2935
2935
  return new W(this._bodyInit, {
2936
2936
  status: this.status,
2937
2937
  statusText: this.statusText,
2938
- headers: new m(this.headers),
2938
+ headers: new v(this.headers),
2939
2939
  url: this.url
2940
2940
  });
2941
2941
  }, W.error = function() {
@@ -2957,7 +2957,7 @@ var Dr = { exports: {} };
2957
2957
  this.stack = X.stack;
2958
2958
  }, a.DOMException.prototype = Object.create(Error.prototype), a.DOMException.prototype.constructor = a.DOMException;
2959
2959
  }
2960
- function dt(h, g) {
2960
+ function vt(h, g) {
2961
2961
  return new Promise(function(A, X) {
2962
2962
  var z = new $(h, g);
2963
2963
  if (z.signal && z.signal.aborted)
@@ -2988,7 +2988,7 @@ var Dr = { exports: {} };
2988
2988
  }), I.send(typeof z._bodyInit > "u" ? null : z._bodyInit);
2989
2989
  });
2990
2990
  }
2991
- return dt.polyfill = !0, o.fetch || (o.fetch = dt, o.Headers = m, o.Request = $, o.Response = W), a.Headers = m, a.Request = $, a.Response = W, a.fetch = dt, Object.defineProperty(a, "__esModule", { value: !0 }), a;
2991
+ return vt.polyfill = !0, o.fetch || (o.fetch = vt, o.Headers = v, o.Request = $, o.Response = W), a.Headers = v, a.Request = $, a.Response = W, a.fetch = vt, Object.defineProperty(a, "__esModule", { value: !0 }), a;
2992
2992
  })({});
2993
2993
  })(r), r.fetch.ponyfill = !0, delete r.fetch.polyfill;
2994
2994
  var i = r;
@@ -3015,7 +3015,7 @@ const pn = /* @__PURE__ */ fi(_n), wc = /* @__PURE__ */ Nu({
3015
3015
  variables: e.variables ? e.jsonSerializer.stringify(e.variables[o]) : void 0
3016
3016
  }), r), []);
3017
3017
  return `query=${encodeURIComponent(e.jsonSerializer.stringify(n))}`;
3018
- }, Oc = (t) => (e) => ut(void 0, null, function* () {
3018
+ }, Oc = (t) => (e) => ct(void 0, null, function* () {
3019
3019
  var n;
3020
3020
  const { url: r, query: i, variables: o, operationName: a, fetch: u, fetchOptions: c, middleware: s } = e, l = x({}, e.headers);
3021
3021
  let p = "", f;
@@ -3025,23 +3025,23 @@ const pn = /* @__PURE__ */ fi(_n), wc = /* @__PURE__ */ Nu({
3025
3025
  operationName: a,
3026
3026
  jsonSerializer: (n = c.jsonSerializer) != null ? n : li
3027
3027
  });
3028
- const v = x({
3028
+ const m = x({
3029
3029
  method: t,
3030
3030
  headers: l,
3031
3031
  body: f
3032
3032
  }, c);
3033
- let m = r, y = v;
3033
+ let v = r, y = m;
3034
3034
  if (s) {
3035
- const _ = yield Promise.resolve(s(ot(x({}, v), { url: r, operationName: a, variables: o }))), { url: b } = _, L = St(_, ["url"]);
3036
- m = b, y = L;
3035
+ const _ = yield Promise.resolve(s(ot(x({}, m), { url: r, operationName: a, variables: o }))), { url: b } = _, L = Ot(_, ["url"]);
3036
+ v = b, y = L;
3037
3037
  }
3038
- return p && (m = `${m}?${p}`), yield u(m, y);
3038
+ return p && (v = `${v}?${p}`), yield u(v, y);
3039
3039
  });
3040
3040
  let Ac = class {
3041
3041
  constructor(e, n = {}) {
3042
- this.url = e, this.requestConfig = n, this.rawRequest = (...r) => ut(this, null, function* () {
3043
- const [i, o, a] = r, u = Ec(i, o, a), c = this.requestConfig, { headers: s, fetch: l = pn, method: p = "POST", requestMiddleware: f, responseMiddleware: v } = c, m = St(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3044
- u.signal !== void 0 && (m.signal = u.signal);
3042
+ this.url = e, this.requestConfig = n, this.rawRequest = (...r) => ct(this, null, function* () {
3043
+ const [i, o, a] = r, u = Ec(i, o, a), c = this.requestConfig, { headers: s, fetch: l = pn, method: p = "POST", requestMiddleware: f, responseMiddleware: m } = c, v = Ot(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: y } = this;
3044
+ u.signal !== void 0 && (v.signal = u.signal);
3045
3045
  const { operationName: _ } = Xn(u.query);
3046
3046
  return Kn({
3047
3047
  url: y,
@@ -3051,21 +3051,21 @@ let Ac = class {
3051
3051
  operationName: _,
3052
3052
  fetch: l,
3053
3053
  method: p,
3054
- fetchOptions: m,
3054
+ fetchOptions: v,
3055
3055
  middleware: f
3056
- }).then((b) => (v && v(b), b)).catch((b) => {
3057
- throw v && v(b), b;
3056
+ }).then((b) => (m && m(b), b)).catch((b) => {
3057
+ throw m && m(b), b;
3058
3058
  });
3059
3059
  });
3060
3060
  }
3061
3061
  request(e, ...n) {
3062
- return ut(this, null, function* () {
3063
- const [r, i] = n, o = bc(e, r, i), a = this.requestConfig, { headers: u, fetch: c = pn, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = St(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: v } = this;
3062
+ return ct(this, null, function* () {
3063
+ const [r, i] = n, o = bc(e, r, i), a = this.requestConfig, { headers: u, fetch: c = pn, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Ot(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: m } = this;
3064
3064
  o.signal !== void 0 && (f.signal = o.signal);
3065
- const { query: m, operationName: y } = Xn(o.document);
3065
+ const { query: v, operationName: y } = Xn(o.document);
3066
3066
  return Kn({
3067
- url: v,
3068
- query: m,
3067
+ url: m,
3068
+ query: v,
3069
3069
  variables: o.variables,
3070
3070
  headers: x(x({}, Ye(Wn(u))), Ye(o.requestHeaders)),
3071
3071
  operationName: y,
@@ -3081,7 +3081,7 @@ let Ac = class {
3081
3081
  // prettier-ignore
3082
3082
  batchRequests(e, n) {
3083
3083
  var r;
3084
- const i = Tc(e, n), o = this.requestConfig, { headers: a } = o, u = St(o, ["headers"]);
3084
+ const i = Tc(e, n), o = this.requestConfig, { headers: a } = o, u = Ot(o, ["headers"]);
3085
3085
  i.signal !== void 0 && (u.signal = i.signal);
3086
3086
  const c = i.documents.map(({ document: l }) => Xn(l).query), s = i.documents.map(({ variables: l }) => l);
3087
3087
  return Kn({
@@ -3116,12 +3116,12 @@ let Ac = class {
3116
3116
  return this.url = e, this;
3117
3117
  }
3118
3118
  };
3119
- const Kn = (t) => ut(void 0, null, function* () {
3119
+ const Kn = (t) => ct(void 0, null, function* () {
3120
3120
  var e, n;
3121
3121
  const { query: r, variables: i, fetchOptions: o } = t, a = Oc(gc((e = t.method) != null ? e : "post")), u = Array.isArray(t.query), c = yield a(t), s = yield Nc(c, (n = o.jsonSerializer) != null ? n : li), 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";
3122
3122
  if (c.ok && p && l) {
3123
- const f = s, v = St(f, ["errors"]), m = o.errorPolicy === "ignore" ? v : s;
3124
- return ot(x({}, u ? { data: m } : m), {
3123
+ const f = s, m = Ot(f, ["errors"]), v = o.errorPolicy === "ignore" ? m : s;
3124
+ return ot(x({}, u ? { data: v } : v), {
3125
3125
  headers: c.headers,
3126
3126
  status: c.status
3127
3127
  });
@@ -3143,7 +3143,7 @@ const Kn = (t) => ut(void 0, null, function* () {
3143
3143
  throw new Error("Cannot create request body with given variable type, array expected");
3144
3144
  const o = t.reduce((a, u, c) => (a.push({ query: u, variables: e ? e[c] : void 0 }), a), []);
3145
3145
  return i.stringify(o);
3146
- }, Nc = (t, e) => ut(void 0, null, function* () {
3146
+ }, Nc = (t, e) => ct(void 0, null, function* () {
3147
3147
  let n;
3148
3148
  return t.headers.forEach((r, i) => {
3149
3149
  i.toLowerCase() === "content-type" && (n = r);
@@ -3169,7 +3169,7 @@ var Ur = { exports: {} };
3169
3169
  }
3170
3170
  })(Ur, Ur.exports);
3171
3171
  var Cc = Ur.exports;
3172
- const Ot = /* @__PURE__ */ fi(Cc);
3172
+ const At = /* @__PURE__ */ fi(Cc);
3173
3173
  var bn = function() {
3174
3174
  return bn = Object.assign || function(t) {
3175
3175
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -3242,7 +3242,7 @@ function Dc() {
3242
3242
  function Uc() {
3243
3243
  En = !1;
3244
3244
  }
3245
- var vt = {
3245
+ var yt = {
3246
3246
  gql: Z,
3247
3247
  resetCaches: kc,
3248
3248
  disableFragmentWarnings: Mc,
@@ -3250,7 +3250,7 @@ var vt = {
3250
3250
  disableExperimentalFragmentVariables: Uc
3251
3251
  };
3252
3252
  (function(t) {
3253
- t.gql = vt.gql, t.resetCaches = vt.resetCaches, t.disableFragmentWarnings = vt.disableFragmentWarnings, t.enableExperimentalFragmentVariables = vt.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = vt.disableExperimentalFragmentVariables;
3253
+ t.gql = yt.gql, t.resetCaches = yt.resetCaches, t.disableFragmentWarnings = yt.disableFragmentWarnings, t.enableExperimentalFragmentVariables = yt.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = yt.disableExperimentalFragmentVariables;
3254
3254
  })(Z || (Z = {}));
3255
3255
  Z.default = Z;
3256
3256
  const Na = Z`
@@ -3607,7 +3607,7 @@ const Wc = [
3607
3607
  "trace",
3608
3608
  "warn"
3609
3609
  ];
3610
- var Le = /* @__PURE__ */ ((t) => (t.DeviceMemory = "DeviceMemory", t.ViewportHeight = "ViewportHeight", t.ViewportWidth = "ViewportWidth", t.ScreenHeight = "ScreenHeight", t.ScreenWidth = "ScreenWidth", t.ViewportArea = "ViewportArea", t))(Le || {}), ne = /* @__PURE__ */ ((t) => (t.Device = "Device", t.WebVital = "WebVital", t.Performance = "Performance", t.Frontend = "Frontend", t.Backend = "Backend", t))(ne || {});
3610
+ var Re = /* @__PURE__ */ ((t) => (t.DeviceMemory = "DeviceMemory", t.ViewportHeight = "ViewportHeight", t.ViewportWidth = "ViewportWidth", t.ScreenHeight = "ScreenHeight", t.ScreenWidth = "ScreenWidth", t.ViewportArea = "ViewportArea", t))(Re || {}), ne = /* @__PURE__ */ ((t) => (t.Device = "Device", t.WebVital = "WebVital", t.Performance = "Performance", t.Frontend = "Frontend", t.Backend = "Backend", t))(ne || {});
3611
3611
  function Yc(t, e, n) {
3612
3612
  try {
3613
3613
  if (!(e in t))
@@ -3774,7 +3774,7 @@ function Fr(t, e) {
3774
3774
  var Qn = Fr(al, { path: "/" });
3775
3775
  let Vr = "localStorage", Hr = !0, sl = class {
3776
3776
  constructor() {
3777
- Rt(this, "storage", {});
3777
+ It(this, "storage", {});
3778
3778
  }
3779
3779
  getItem(e) {
3780
3780
  var n;
@@ -3801,7 +3801,7 @@ let Vr = "localStorage", Hr = !0, sl = class {
3801
3801
  Hr && Qn.remove(e);
3802
3802
  }
3803
3803
  };
3804
- const Pt = new sl(), Tn = new ul(), hi = () => {
3804
+ const kt = new sl(), Tn = new ul(), hi = () => {
3805
3805
  let t = null;
3806
3806
  try {
3807
3807
  switch (Vr) {
@@ -3812,20 +3812,20 @@ const Pt = new sl(), Tn = new ul(), hi = () => {
3812
3812
  t = window.sessionStorage;
3813
3813
  break;
3814
3814
  }
3815
- t || (st(
3815
+ t || (ut(
3816
3816
  "storage",
3817
3817
  "getPersistentStorage",
3818
3818
  "debug",
3819
3819
  `persistent storage was not found for mode ${Vr}; using global storage`
3820
- ), t = Pt);
3820
+ ), t = kt);
3821
3821
  } catch (e) {
3822
- st(
3822
+ ut(
3823
3823
  "storage",
3824
3824
  "getPersistentStorage",
3825
3825
  "debug",
3826
3826
  "failed to get persistent storage; using global storage",
3827
3827
  e
3828
- ), t = Pt;
3828
+ ), t = kt;
3829
3829
  }
3830
3830
  return t;
3831
3831
  }, cl = (t) => {
@@ -3836,43 +3836,43 @@ const Pt = new sl(), Tn = new ul(), hi = () => {
3836
3836
  try {
3837
3837
  return hi().getItem(t);
3838
3838
  } catch (e) {
3839
- return st(
3839
+ return ut(
3840
3840
  "storage",
3841
3841
  "getItem",
3842
3842
  "debug",
3843
3843
  `failed to get item ${t}; using global storage`,
3844
3844
  e
3845
- ), Pt.getItem(t);
3845
+ ), kt.getItem(t);
3846
3846
  }
3847
3847
  }, Ia = (t, e) => {
3848
3848
  Tn.setItem(t, e);
3849
3849
  try {
3850
3850
  return hi().setItem(t, e);
3851
3851
  } catch (n) {
3852
- return st(
3852
+ return ut(
3853
3853
  "storage",
3854
3854
  "setItem",
3855
3855
  "debug",
3856
3856
  `failed to set item ${t}; using global storage`,
3857
3857
  n
3858
- ), Pt.setItem(t, e);
3858
+ ), kt.setItem(t, e);
3859
3859
  }
3860
3860
  }, ll = (t) => {
3861
3861
  Tn.removeItem(t);
3862
3862
  try {
3863
3863
  return hi().removeItem(t);
3864
3864
  } catch (e) {
3865
- return st(
3865
+ return ut(
3866
3866
  "storage",
3867
3867
  "removeItem",
3868
3868
  "debug",
3869
3869
  `failed to remove item ${t}; using global storage`,
3870
3870
  e
3871
- ), Pt.removeItem(t);
3871
+ ), kt.removeItem(t);
3872
3872
  }
3873
3873
  };
3874
3874
  var Ft = /* @__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))(Ft || {});
3875
- const Dn = (t) => `${Ft.SESSION_DATA}_${t}`, Se = () => {
3875
+ const Dn = (t) => `${Ft.SESSION_DATA}_${t}`, Oe = () => {
3876
3876
  var t;
3877
3877
  return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : Pa();
3878
3878
  }, pl = (t) => {
@@ -3907,23 +3907,23 @@ const Dn = (t) => `${Ft.SESSION_DATA}_${t}`, Se = () => {
3907
3907
  }
3908
3908
  };
3909
3909
  var Da = /* @__PURE__ */ ((t) => (t.BillingQuotaExceeded = "BillingQuotaExceeded", t))(Da || {});
3910
- const di = 10, mi = 1e3, vi = 500, ml = [Da.BillingQuotaExceeded.toString()], vl = (t) => {
3910
+ const di = 10, vi = 1e3, mi = 500, vl = [Da.BillingQuotaExceeded.toString()], ml = (t) => {
3911
3911
  var e;
3912
3912
  return ((e = t.response.errors) == null ? void 0 : e.find(
3913
- (n) => ml.includes(n.message)
3913
+ (n) => vl.includes(n.message)
3914
3914
  )) === void 0;
3915
3915
  }, yl = () => {
3916
- const t = (e, n, r, i, o = 0) => ut(void 0, null, function* () {
3916
+ const t = (e, n, r, i, o = 0) => ct(void 0, null, function* () {
3917
3917
  try {
3918
3918
  return yield e();
3919
3919
  } catch (a) {
3920
- if (a instanceof Oa && !vl(a))
3920
+ if (a instanceof Oa && !ml(a))
3921
3921
  throw a;
3922
3922
  if (o < di)
3923
3923
  return yield new Promise(
3924
3924
  (u) => setTimeout(
3925
3925
  u,
3926
- mi + vi * Math.pow(2, o)
3926
+ vi + mi * Math.pow(2, o)
3927
3927
  )
3928
3928
  ), yield t(
3929
3929
  e,
@@ -3970,7 +3970,7 @@ function Gi(t) {
3970
3970
  }
3971
3971
  let Il = class {
3972
3972
  constructor(e, n) {
3973
- Rt(this, "client"), Rt(this, "metadata"), this.client = e, this.metadata = n;
3973
+ It(this, "client"), It(this, "metadata"), this.client = e, this.metadata = n;
3974
3974
  }
3975
3975
  getHooks(e) {
3976
3976
  return [];
@@ -4010,7 +4010,7 @@ let Il = class {
4010
4010
  }
4011
4011
  }, Pl = class extends pa {
4012
4012
  constructor(e, n) {
4013
- super(), Rt(this, "client"), this.client = new Il(e, n);
4013
+ super(), It(this, "client"), this.client = new Il(e, n);
4014
4014
  }
4015
4015
  getHooks(e) {
4016
4016
  return [
@@ -4090,10 +4090,10 @@ const $l = (t) => {
4090
4090
  };
4091
4091
  class Bl {
4092
4092
  constructor(e) {
4093
- Rt(this, "sessionSecureID");
4093
+ It(this, "sessionSecureID");
4094
4094
  try {
4095
4095
  e != null && e.storageMode && cl(e?.storageMode), Bi(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? dl() : Bi(!1);
4096
- const n = Se();
4096
+ const n = Oe();
4097
4097
  let r = hl(
4098
4098
  n
4099
4099
  );
@@ -4117,6 +4117,9 @@ class zi extends pa {
4117
4117
  start() {
4118
4118
  return this._sdk.start();
4119
4119
  }
4120
+ stop() {
4121
+ return this._sdk.stop();
4122
+ }
4120
4123
  recordGauge(e) {
4121
4124
  return this._bufferCall("recordGauge", [e]);
4122
4125
  }
@@ -4171,7 +4174,7 @@ var Vl = Object.defineProperty, Hl = Object.defineProperties, Gl = Object.getOwn
4171
4174
  for (var n of qi(e))
4172
4175
  ql.call(e, n) && Gr(t, n, e[n]);
4173
4176
  return t;
4174
- }, ee = (t, e) => Hl(t, Gl(e)), k = (t, e, n) => Gr(t, typeof e != "symbol" ? e + "" : e, n), kt = (t, e, n) => new Promise((r, i) => {
4177
+ }, ee = (t, e) => Hl(t, Gl(e)), k = (t, e, n) => Gr(t, typeof e != "symbol" ? e + "" : e, n), at = (t, e, n) => new Promise((r, i) => {
4175
4178
  var o = (c) => {
4176
4179
  try {
4177
4180
  u(n.next(c));
@@ -4251,20 +4254,20 @@ function Xl() {
4251
4254
  this[y] = !!_;
4252
4255
  };
4253
4256
  }(o[f]);
4254
- for (var v = 0; v < a.length; v++)
4255
- p.prototype["get" + r(a[v])] = i(a[v]), p.prototype["set" + r(a[v])] = /* @__PURE__ */ function(y) {
4257
+ for (var m = 0; m < a.length; m++)
4258
+ p.prototype["get" + r(a[m])] = i(a[m]), p.prototype["set" + r(a[m])] = /* @__PURE__ */ function(y) {
4256
4259
  return function(_) {
4257
4260
  if (!n(_))
4258
4261
  throw new TypeError(y + " must be a Number");
4259
4262
  this[y] = Number(_);
4260
4263
  };
4261
- }(a[v]);
4262
- for (var m = 0; m < u.length; m++)
4263
- p.prototype["get" + r(u[m])] = i(u[m]), p.prototype["set" + r(u[m])] = /* @__PURE__ */ function(y) {
4264
+ }(a[m]);
4265
+ for (var v = 0; v < u.length; v++)
4266
+ p.prototype["get" + r(u[v])] = i(u[v]), p.prototype["set" + r(u[v])] = /* @__PURE__ */ function(y) {
4264
4267
  return function(_) {
4265
4268
  this[y] = String(_);
4266
4269
  };
4267
- }(u[m]);
4270
+ }(u[v]);
4268
4271
  return p;
4269
4272
  });
4270
4273
  }(Xi)), Xi.exports;
@@ -4306,10 +4309,10 @@ function Xl() {
4306
4309
  c.indexOf("(eval ") > -1 && (c = c.replace(/eval code/g, "eval").replace(/(\(eval at [^()]*)|(\),.*$)/g, ""));
4307
4310
  var s = c.replace(/^\s+/, "").replace(/\(eval code/g, "("), l = s.match(/ (\((.+):(\d+):(\d+)\)$)/);
4308
4311
  s = l ? s.replace(l[0], "") : s;
4309
- var p = s.split(/\s+/).slice(1), f = this.extractLocation(l ? l[1] : p.pop()), v = p.join(" ") || void 0, m = ["eval", "<anonymous>"].indexOf(f[0]) > -1 ? void 0 : f[0];
4312
+ var p = s.split(/\s+/).slice(1), f = this.extractLocation(l ? l[1] : p.pop()), m = p.join(" ") || void 0, v = ["eval", "<anonymous>"].indexOf(f[0]) > -1 ? void 0 : f[0];
4310
4313
  return new n({
4311
- functionName: v,
4312
- fileName: m,
4314
+ functionName: m,
4315
+ fileName: v,
4313
4316
  lineNumber: f[1],
4314
4317
  columnNumber: f[2],
4315
4318
  source: c
@@ -4376,12 +4379,12 @@ function Xl() {
4376
4379
  return !!c.match(r) && !c.match(/^Error created at/);
4377
4380
  }, this);
4378
4381
  return u.map(function(c) {
4379
- var s = c.split("@"), l = this.extractLocation(s.pop()), p = s.shift() || "", f = p.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, v;
4380
- p.match(/\(([^)]*)\)/) && (v = p.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
4381
- var m = v === void 0 || v === "[arguments not available]" ? void 0 : v.split(",");
4382
+ var s = c.split("@"), l = this.extractLocation(s.pop()), p = s.shift() || "", f = p.replace(/<anonymous function(: (\w+))?>/, "$2").replace(/\([^)]*\)/g, "") || void 0, m;
4383
+ p.match(/\(([^)]*)\)/) && (m = p.replace(/^[^(]+\(([^)]*)\)$/, "$1"));
4384
+ var v = m === void 0 || m === "[arguments not available]" ? void 0 : m.split(",");
4382
4385
  return new n({
4383
4386
  functionName: f,
4384
- args: m,
4387
+ args: v,
4385
4388
  fileName: l[0],
4386
4389
  lineNumber: l[1],
4387
4390
  columnNumber: l[2],
@@ -4516,7 +4519,7 @@ function tr(t, e, n, r) {
4516
4519
  const p = op(s);
4517
4520
  t({
4518
4521
  error: c,
4519
- event: Ot(e),
4522
+ event: At(e),
4520
4523
  type: "window.onerror",
4521
4524
  url: window.location.href,
4522
4525
  source: n ?? "",
@@ -4524,7 +4527,7 @@ function tr(t, e, n, r) {
4524
4527
  columnNumber: (a = p[0]) != null && a.columnNumber ? (u = p[0]) == null ? void 0 : u.columnNumber : 0,
4525
4528
  stackTrace: p,
4526
4529
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
4527
- payload: l ? Ot(l) : void 0,
4530
+ payload: l ? At(l) : void 0,
4528
4531
  id: Va()
4529
4532
  });
4530
4533
  }
@@ -4683,27 +4686,27 @@ var fp = function(t, e) {
4683
4686
  return t.prototype.debug = function() {
4684
4687
  for (var e = [], n = 0; n < arguments.length; n++)
4685
4688
  e[n] = arguments[n];
4686
- return yt("debug", this._namespace, e);
4689
+ return gt("debug", this._namespace, e);
4687
4690
  }, t.prototype.error = function() {
4688
4691
  for (var e = [], n = 0; n < arguments.length; n++)
4689
4692
  e[n] = arguments[n];
4690
- return yt("error", this._namespace, e);
4693
+ return gt("error", this._namespace, e);
4691
4694
  }, t.prototype.info = function() {
4692
4695
  for (var e = [], n = 0; n < arguments.length; n++)
4693
4696
  e[n] = arguments[n];
4694
- return yt("info", this._namespace, e);
4697
+ return gt("info", this._namespace, e);
4695
4698
  }, t.prototype.warn = function() {
4696
4699
  for (var e = [], n = 0; n < arguments.length; n++)
4697
4700
  e[n] = arguments[n];
4698
- return yt("warn", this._namespace, e);
4701
+ return gt("warn", this._namespace, e);
4699
4702
  }, t.prototype.verbose = function() {
4700
4703
  for (var e = [], n = 0; n < arguments.length; n++)
4701
4704
  e[n] = arguments[n];
4702
- return yt("verbose", this._namespace, e);
4705
+ return gt("verbose", this._namespace, e);
4703
4706
  }, t;
4704
4707
  }()
4705
4708
  );
4706
- function yt(t, e, n) {
4709
+ function gt(t, e, n) {
4707
4710
  var r = Be("diag");
4708
4711
  if (r)
4709
4712
  return n.unshift(e), r[t].apply(r, hp([], fp(n), !1));
@@ -4712,7 +4715,7 @@ var j;
4712
4715
  (function(t) {
4713
4716
  t[t.NONE = 0] = "NONE", t[t.ERROR = 30] = "ERROR", t[t.WARN = 50] = "WARN", t[t.INFO = 60] = "INFO", t[t.DEBUG = 70] = "DEBUG", t[t.VERBOSE = 80] = "VERBOSE", t[t.ALL = 9999] = "ALL";
4714
4717
  })(j || (j = {}));
4715
- function mp(t, e) {
4718
+ function vp(t, e) {
4716
4719
  t < j.NONE ? t = j.NONE : t > j.ALL && (t = j.ALL), e = e || {};
4717
4720
  function n(r, i) {
4718
4721
  var o = e[r];
@@ -4727,7 +4730,7 @@ function mp(t, e) {
4727
4730
  verbose: n("verbose", j.VERBOSE)
4728
4731
  };
4729
4732
  }
4730
- var vp = function(t, e) {
4733
+ var mp = function(t, e) {
4731
4734
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4732
4735
  if (!n) return t;
4733
4736
  var r = n.call(t), i, o = [], a;
@@ -4747,7 +4750,7 @@ var vp = function(t, e) {
4747
4750
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
4748
4751
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
4749
4752
  return t.concat(o || Array.prototype.slice.call(e));
4750
- }, gp = "diag", me = (
4753
+ }, gp = "diag", ve = (
4751
4754
  /** @class */
4752
4755
  function() {
4753
4756
  function t() {
@@ -4757,7 +4760,7 @@ var vp = function(t, e) {
4757
4760
  o[a] = arguments[a];
4758
4761
  var u = Be("diag");
4759
4762
  if (u)
4760
- return u[i].apply(u, yp([], vp(o), !1));
4763
+ return u[i].apply(u, yp([], mp(o), !1));
4761
4764
  };
4762
4765
  }
4763
4766
  var n = this, r = function(i, o) {
@@ -4769,7 +4772,7 @@ var vp = function(t, e) {
4769
4772
  typeof o == "number" && (o = {
4770
4773
  logLevel: o
4771
4774
  });
4772
- var l = Be("diag"), p = mp((u = o.logLevel) !== null && u !== void 0 ? u : j.INFO, i);
4775
+ var l = Be("diag"), p = vp((u = o.logLevel) !== null && u !== void 0 ? u : j.INFO, i);
4773
4776
  if (l && !o.suppressOverrideMessage) {
4774
4777
  var f = (c = new Error().stack) !== null && c !== void 0 ? c : "<failed to generate stacktrace>";
4775
4778
  l.warn("Current logger will be overwritten from " + f), p.warn("Current logger will overwrite one already registered from " + f);
@@ -4855,7 +4858,7 @@ var vp = function(t, e) {
4855
4858
  return new t();
4856
4859
  }, t;
4857
4860
  }()
4858
- ), Tp = Symbol("BaggageEntryMetadata"), wp = me.instance();
4861
+ ), Tp = Symbol("BaggageEntryMetadata"), wp = ve.instance();
4859
4862
  function Sp(t) {
4860
4863
  return t === void 0 && (t = {}), new Ep(new Map(Object.entries(t)));
4861
4864
  }
@@ -5014,10 +5017,10 @@ var Ap = (
5014
5017
  function Vp() {
5015
5018
  return Ha;
5016
5019
  }
5017
- var xe;
5020
+ var Ne;
5018
5021
  (function(t) {
5019
5022
  t[t.INT = 0] = "INT", t[t.DOUBLE = 1] = "DOUBLE";
5020
- })(xe || (xe = {}));
5023
+ })(Ne || (Ne = {}));
5021
5024
  var Hp = {
5022
5025
  get: function(t, e) {
5023
5026
  if (t != null)
@@ -5097,7 +5100,7 @@ var Hp = {
5097
5100
  return t.getInstance = function() {
5098
5101
  return this._instance || (this._instance = new t()), this._instance;
5099
5102
  }, t.prototype.setGlobalContextManager = function(e) {
5100
- return Vt(nr, e, me.instance());
5103
+ return Vt(nr, e, ve.instance());
5101
5104
  }, t.prototype.active = function() {
5102
5105
  return this._getContextManager().active();
5103
5106
  }, t.prototype.with = function(e, n, r) {
@@ -5109,7 +5112,7 @@ var Hp = {
5109
5112
  }, t.prototype._getContextManager = function() {
5110
5113
  return Be(nr) || Yp;
5111
5114
  }, t.prototype.disable = function() {
5112
- this._getContextManager().disable(), Ht(nr, me.instance());
5115
+ this._getContextManager().disable(), Ht(nr, ve.instance());
5113
5116
  }, t;
5114
5117
  }()
5115
5118
  ), Ee;
@@ -5120,7 +5123,7 @@ var Ga = "0000000000000000", za = "00000000000000000000000000000000", qa = {
5120
5123
  traceId: za,
5121
5124
  spanId: Ga,
5122
5125
  traceFlags: Ee.NONE
5123
- }, At = (
5126
+ }, xt = (
5124
5127
  /** @class */
5125
5128
  function() {
5126
5129
  function t(e) {
@@ -5162,7 +5165,7 @@ function Qp(t) {
5162
5165
  return t.deleteValue(_i);
5163
5166
  }
5164
5167
  function Zp(t, e) {
5165
- return Ei(t, new At(e));
5168
+ return Ei(t, new xt(e));
5166
5169
  }
5167
5170
  function Xa(t) {
5168
5171
  var e;
@@ -5179,7 +5182,7 @@ function Bn(t) {
5179
5182
  return Ka(t.traceId) && nf(t.spanId);
5180
5183
  }
5181
5184
  function rf(t) {
5182
- return new At(t);
5185
+ return new xt(t);
5183
5186
  }
5184
5187
  var rr = jn.getInstance(), Wa = (
5185
5188
  /** @class */
@@ -5190,9 +5193,9 @@ var rr = jn.getInstance(), Wa = (
5190
5193
  r === void 0 && (r = rr.active());
5191
5194
  var i = !!(n != null && n.root);
5192
5195
  if (i)
5193
- return new At();
5196
+ return new xt();
5194
5197
  var o = r && Xa(r);
5195
- return of(o) && Bn(o) ? new At(o) : new At();
5198
+ return of(o) && Bn(o) ? new xt(o) : new xt();
5196
5199
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
5197
5200
  var o, a, u;
5198
5201
  if (!(arguments.length < 2)) {
@@ -5263,7 +5266,7 @@ var Sn;
5263
5266
  (function(t) {
5264
5267
  t[t.UNSET = 0] = "UNSET", t[t.OK = 1] = "OK", t[t.ERROR = 2] = "ERROR";
5265
5268
  })(Sn || (Sn = {}));
5266
- var C = jn.getInstance(), E = me.instance(), lf = (
5269
+ var C = jn.getInstance(), E = ve.instance(), lf = (
5267
5270
  /** @class */
5268
5271
  function() {
5269
5272
  function t() {
@@ -5280,13 +5283,13 @@ var C = jn.getInstance(), E = me.instance(), lf = (
5280
5283
  return t.getInstance = function() {
5281
5284
  return this._instance || (this._instance = new t()), this._instance;
5282
5285
  }, t.prototype.setGlobalMeterProvider = function(e) {
5283
- return Vt(ir, e, me.instance());
5286
+ return Vt(ir, e, ve.instance());
5284
5287
  }, t.prototype.getMeterProvider = function() {
5285
5288
  return Be(ir) || pf;
5286
5289
  }, t.prototype.getMeter = function(e, n, r) {
5287
5290
  return this.getMeterProvider().getMeter(e, n, r);
5288
5291
  }, t.prototype.disable = function() {
5289
- Ht(ir, me.instance());
5292
+ Ht(ir, ve.instance());
5290
5293
  }, t;
5291
5294
  }()
5292
5295
  ), he = ff.getInstance(), hf = (
@@ -5308,22 +5311,22 @@ function Ya(t) {
5308
5311
  function df() {
5309
5312
  return Ya(jn.getInstance().active());
5310
5313
  }
5311
- function mf(t, e) {
5314
+ function vf(t, e) {
5312
5315
  return t.setValue(Ti, e);
5313
5316
  }
5314
- function vf(t) {
5317
+ function mf(t) {
5315
5318
  return t.deleteValue(Ti);
5316
5319
  }
5317
5320
  var or = "propagation", yf = new hf(), gf = (
5318
5321
  /** @class */
5319
5322
  function() {
5320
5323
  function t() {
5321
- this.createBaggage = Sp, this.getBaggage = Ya, this.getActiveBaggage = df, this.setBaggage = mf, this.deleteBaggage = vf;
5324
+ this.createBaggage = Sp, this.getBaggage = Ya, this.getActiveBaggage = df, this.setBaggage = vf, this.deleteBaggage = mf;
5322
5325
  }
5323
5326
  return t.getInstance = function() {
5324
5327
  return this._instance || (this._instance = new t()), this._instance;
5325
5328
  }, t.prototype.setGlobalPropagator = function(e) {
5326
- return Vt(or, e, me.instance());
5329
+ return Vt(or, e, ve.instance());
5327
5330
  }, t.prototype.inject = function(e, n, r) {
5328
5331
  return r === void 0 && (r = Gp), this._getGlobalPropagator().inject(e, n, r);
5329
5332
  }, t.prototype.extract = function(e, n, r) {
@@ -5331,7 +5334,7 @@ var or = "propagation", yf = new hf(), gf = (
5331
5334
  }, t.prototype.fields = function() {
5332
5335
  return this._getGlobalPropagator().fields();
5333
5336
  }, t.prototype.disable = function() {
5334
- Ht(or, me.instance());
5337
+ Ht(or, ve.instance());
5335
5338
  }, t.prototype._getGlobalPropagator = function() {
5336
5339
  return Be(or) || yf;
5337
5340
  }, t;
@@ -5345,14 +5348,14 @@ var or = "propagation", yf = new hf(), gf = (
5345
5348
  return t.getInstance = function() {
5346
5349
  return this._instance || (this._instance = new t()), this._instance;
5347
5350
  }, t.prototype.setGlobalTracerProvider = function(e) {
5348
- var n = Vt(ar, this._proxyTracerProvider, me.instance());
5351
+ var n = Vt(ar, this._proxyTracerProvider, ve.instance());
5349
5352
  return n && this._proxyTracerProvider.setDelegate(e), n;
5350
5353
  }, t.prototype.getTracerProvider = function() {
5351
5354
  return Be(ar) || this._proxyTracerProvider;
5352
5355
  }, t.prototype.getTracer = function(e, n) {
5353
5356
  return this.getTracerProvider().getTracer(e, n);
5354
5357
  }, t.prototype.disable = function() {
5355
- Ht(ar, me.instance()), this._proxyTracerProvider = new Ji();
5358
+ Ht(ar, ve.instance()), this._proxyTracerProvider = new Ji();
5356
5359
  }, t;
5357
5360
  }()
5358
5361
  ), R = _f.getInstance(), Ja = yi("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
@@ -5552,7 +5555,7 @@ function Pf(t) {
5552
5555
  return e;
5553
5556
  }
5554
5557
  var kf = Rf();
5555
- function Ne(t) {
5558
+ function Ce(t) {
5556
5559
  try {
5557
5560
  kf(t);
5558
5561
  } catch {
@@ -5602,7 +5605,7 @@ var Bf = [
5602
5605
  function Ff(t) {
5603
5606
  return Bf.indexOf(t) > -1;
5604
5607
  }
5605
- var dn = 1 / 0, mn = 128, Vf = 128, Hf = 128, rs = {
5608
+ var dn = 1 / 0, vn = 128, Vf = 128, Hf = 128, rs = {
5606
5609
  OTEL_SDK_DISABLED: !1,
5607
5610
  CONTAINER_NAME: "",
5608
5611
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -5642,11 +5645,11 @@ var dn = 1 / 0, mn = 128, Vf = 128, Hf = 128, rs = {
5642
5645
  OTEL_RESOURCE_ATTRIBUTES: "",
5643
5646
  OTEL_SERVICE_NAME: "",
5644
5647
  OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: dn,
5645
- OTEL_ATTRIBUTE_COUNT_LIMIT: mn,
5648
+ OTEL_ATTRIBUTE_COUNT_LIMIT: vn,
5646
5649
  OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: dn,
5647
- OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: mn,
5650
+ OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: vn,
5648
5651
  OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: dn,
5649
- OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: mn,
5652
+ OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: vn,
5650
5653
  OTEL_SPAN_EVENT_COUNT_LIMIT: 128,
5651
5654
  OTEL_SPAN_LINK_COUNT_LIMIT: 128,
5652
5655
  OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Vf,
@@ -5740,13 +5743,13 @@ function is(t) {
5740
5743
  }
5741
5744
  return e;
5742
5745
  }
5743
- var xt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
5744
- function ct() {
5745
- var t = is(xt);
5746
+ var Nt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
5747
+ function lt() {
5748
+ var t = is(Nt);
5746
5749
  return Object.assign({}, rs, t);
5747
5750
  }
5748
5751
  function Wf() {
5749
- return is(xt);
5752
+ return is(Nt);
5750
5753
  }
5751
5754
  function Qi(t) {
5752
5755
  return t >= 48 && t <= 57 ? t - 48 : t >= 97 && t <= 102 ? t - 87 : t - 55;
@@ -5775,7 +5778,7 @@ function Fe(t) {
5775
5778
  var e = ie(Oi()), n = ie(typeof t == "number" ? t : oe.now());
5776
5779
  return os(e, n);
5777
5780
  }
5778
- function Nt(t) {
5781
+ function Ct(t) {
5779
5782
  if (Ai(t))
5780
5783
  return t;
5781
5784
  if (typeof t == "number")
@@ -5862,12 +5865,12 @@ var ph = function(t) {
5862
5865
  return this._fields.slice();
5863
5866
  }, t;
5864
5867
  }()
5865
- ), Xr = "[_0-9a-z-*/]", fh = "[a-z]" + Xr + "{0,255}", hh = "[a-z0-9]" + Xr + "{0,240}@[a-z]" + Xr + "{0,13}", dh = new RegExp("^(?:" + fh + "|" + hh + ")$"), mh = /^[ -~]{0,255}[!-~]$/, vh = /,|=/;
5868
+ ), Xr = "[_0-9a-z-*/]", fh = "[a-z]" + Xr + "{0,255}", hh = "[a-z0-9]" + Xr + "{0,240}@[a-z]" + Xr + "{0,13}", dh = new RegExp("^(?:" + fh + "|" + hh + ")$"), vh = /^[ -~]{0,255}[!-~]$/, mh = /,|=/;
5866
5869
  function yh(t) {
5867
5870
  return dh.test(t);
5868
5871
  }
5869
5872
  function gh(t) {
5870
- return mh.test(t) && !vh.test(t);
5873
+ return vh.test(t) && !mh.test(t);
5871
5874
  }
5872
5875
  var eo = 32, _h = 512, to = ",", no = "=", bh = (
5873
5876
  /** @class */
@@ -5904,7 +5907,7 @@ var eo = 32, _h = 512, to = ",", no = "=", bh = (
5904
5907
  return e._internalState = new Map(this._internalState), e;
5905
5908
  }, t;
5906
5909
  }()
5907
- ), vn = "traceparent", cr = "tracestate", Eh = "00", Th = "(?!ff)[\\da-f]{2}", wh = "(?![0]{32})[\\da-f]{32}", Sh = "(?![0]{16})[\\da-f]{16}", Oh = "[\\da-f]{2}", Ah = new RegExp("^\\s?(" + Th + ")-(" + wh + ")-(" + Sh + ")-(" + Oh + ")(-.*)?\\s?$");
5910
+ ), mn = "traceparent", cr = "tracestate", Eh = "00", Th = "(?!ff)[\\da-f]{2}", wh = "(?![0]{32})[\\da-f]{32}", Sh = "(?![0]{16})[\\da-f]{16}", Oh = "[\\da-f]{2}", Ah = new RegExp("^\\s?(" + Th + ")-(" + wh + ")-(" + Sh + ")-(" + Oh + ")(-.*)?\\s?$");
5908
5911
  function xh(t) {
5909
5912
  var e = Ah.exec(t);
5910
5913
  return !e || e[1] === "00" && e[5] ? null : {
@@ -5922,10 +5925,10 @@ var ss = (
5922
5925
  var i = R.getSpanContext(e);
5923
5926
  if (!(!i || wi(e) || !Bn(i))) {
5924
5927
  var o = Eh + "-" + i.traceId + "-" + i.spanId + "-0" + Number(i.traceFlags || Ee.NONE).toString(16);
5925
- r.set(n, vn, o), i.traceState && r.set(n, cr, i.traceState.serialize());
5928
+ r.set(n, mn, o), i.traceState && r.set(n, cr, i.traceState.serialize());
5926
5929
  }
5927
5930
  }, t.prototype.extract = function(e, n, r) {
5928
- var i = r.get(n, vn);
5931
+ var i = r.get(n, mn);
5929
5932
  if (!i)
5930
5933
  return e;
5931
5934
  var o = Array.isArray(i) ? i[0] : i;
@@ -5942,7 +5945,7 @@ var ss = (
5942
5945
  }
5943
5946
  return R.setSpanContext(e, a);
5944
5947
  }, t.prototype.fields = function() {
5945
- return [vn, cr];
5948
+ return [mn, cr];
5946
5949
  }, t;
5947
5950
  }()
5948
5951
  ), Nh = "[object Object]", Ch = "[object Null]", Lh = "[object Undefined]", Rh = Function.prototype, us = Rh.toString, Ih = us.call(Object), Ph = kh(Object.getPrototypeOf, Object), cs = Object.prototype, ls = cs.hasOwnProperty, ke = Symbol ? Symbol.toStringTag : void 0, ps = cs.toString;
@@ -5999,13 +6002,13 @@ function hs(t, e, n, r) {
5999
6002
  if (i = t.slice(), An(e))
6000
6003
  for (var o = 0, a = e.length; o < a; o++)
6001
6004
  i.push(lr(e[o]));
6002
- else if (gt(e))
6005
+ else if (_t(e))
6003
6006
  for (var u = Object.keys(e), o = 0, a = u.length; o < a; o++) {
6004
6007
  var c = u[o];
6005
6008
  i[c] = lr(e[c]);
6006
6009
  }
6007
- } else if (gt(t))
6008
- if (gt(e)) {
6010
+ } else if (_t(t))
6011
+ if (_t(e)) {
6009
6012
  if (!Bh(t, e))
6010
6013
  return e;
6011
6014
  i = Object.assign({}, t);
@@ -6018,9 +6021,9 @@ function hs(t, e, n, r) {
6018
6021
  if (io(t, c, r) || io(e, c, r))
6019
6022
  delete i[c];
6020
6023
  else {
6021
- if (gt(l) && gt(p)) {
6022
- var f = r.get(l) || [], v = r.get(p) || [];
6023
- f.push({ obj: t, key: c }), v.push({ obj: e, key: c }), r.set(l, f), r.set(p, v);
6024
+ if (_t(l) && _t(p)) {
6025
+ var f = r.get(l) || [], m = r.get(p) || [];
6026
+ f.push({ obj: t, key: c }), m.push({ obj: e, key: c }), r.set(l, f), r.set(p, m);
6024
6027
  }
6025
6028
  i[c] = hs(i[c], s, n, r);
6026
6029
  }
@@ -6045,7 +6048,7 @@ function An(t) {
6045
6048
  function ds(t) {
6046
6049
  return typeof t == "function";
6047
6050
  }
6048
- function gt(t) {
6051
+ function _t(t) {
6049
6052
  return !yn(t) && !An(t) && !ds(t) && typeof t == "object";
6050
6053
  }
6051
6054
  function yn(t) {
@@ -6064,17 +6067,17 @@ var Fh = function(t) {
6064
6067
  };
6065
6068
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
6066
6069
  };
6067
- function ms(t, e) {
6070
+ function vs(t, e) {
6068
6071
  return typeof e == "string" ? t === e : !!t.match(e);
6069
6072
  }
6070
- function vs(t, e) {
6073
+ function ms(t, e) {
6071
6074
  var n, r;
6072
6075
  if (!e)
6073
6076
  return !1;
6074
6077
  try {
6075
6078
  for (var i = Fh(e), o = i.next(); !o.done; o = i.next()) {
6076
6079
  var a = o.value;
6077
- if (ms(t, a))
6080
+ if (vs(t, a))
6078
6081
  return !0;
6079
6082
  }
6080
6083
  } catch (u) {
@@ -6227,7 +6230,7 @@ var Xh = {
6227
6230
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
6228
6231
  }, t;
6229
6232
  }()
6230
- ), Jh = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Jt = Symbol.for("io.opentelemetry.js.api.logs"), _t = Jh;
6233
+ ), Jh = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Jt = Symbol.for("io.opentelemetry.js.api.logs"), bt = Jh;
6231
6234
  function Qh(t, e, n) {
6232
6235
  return function(r) {
6233
6236
  return r === t ? e : n;
@@ -6242,14 +6245,14 @@ var ao = 1, Zh = (
6242
6245
  return t.getInstance = function() {
6243
6246
  return this._instance || (this._instance = new t()), this._instance;
6244
6247
  }, t.prototype.setGlobalLoggerProvider = function(e) {
6245
- return _t[Jt] ? this.getLoggerProvider() : (_t[Jt] = Qh(ao, e, gs), this._proxyLoggerProvider.setDelegate(e), e);
6248
+ return bt[Jt] ? this.getLoggerProvider() : (bt[Jt] = Qh(ao, e, gs), this._proxyLoggerProvider.setDelegate(e), e);
6246
6249
  }, t.prototype.getLoggerProvider = function() {
6247
6250
  var e, n;
6248
- return (n = (e = _t[Jt]) === null || e === void 0 ? void 0 : e.call(_t, ao)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6251
+ return (n = (e = bt[Jt]) === null || e === void 0 ? void 0 : e.call(bt, ao)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6249
6252
  }, t.prototype.getLogger = function(e, n, r) {
6250
6253
  return this.getLoggerProvider().getLogger(e, n, r);
6251
6254
  }, t.prototype.disable = function() {
6252
- delete _t[Jt], this._proxyLoggerProvider = new oo();
6255
+ delete bt[Jt], this._proxyLoggerProvider = new oo();
6253
6256
  }, t;
6254
6257
  }()
6255
6258
  ), Gt = Zh.getInstance();
@@ -6274,7 +6277,7 @@ function Kr(t) {
6274
6277
  return typeof t == "function";
6275
6278
  }
6276
6279
  var Q = console.error.bind(console);
6277
- function bt(t, e, n) {
6280
+ function Et(t, e, n) {
6278
6281
  var r = !!t[e] && t.propertyIsEnumerable(e);
6279
6282
  Object.defineProperty(t, e, {
6280
6283
  configurable: !0,
@@ -6300,9 +6303,9 @@ function _s(t, e, n) {
6300
6303
  return;
6301
6304
  }
6302
6305
  var r = t[e], i = n(r, e);
6303
- return bt(i, "__original", r), bt(i, "__unwrap", function() {
6304
- t[e] === i && bt(t, e, r);
6305
- }), bt(i, "__wrapped", !0), bt(t, e, i), i;
6306
+ return Et(i, "__original", r), Et(i, "__unwrap", function() {
6307
+ t[e] === i && Et(t, e, r);
6308
+ }), Et(i, "__wrapped", !0), Et(t, e, i), i;
6306
6309
  }
6307
6310
  function rd(t, e, n) {
6308
6311
  if (t)
@@ -6480,7 +6483,7 @@ var ud = "exception.type", cd = "exception.message", ld = "exception.stacktrace"
6480
6483
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
6481
6484
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
6482
6485
  return t.concat(o || Array.prototype.slice.call(e));
6483
- }, md = (
6486
+ }, vd = (
6484
6487
  /** @class */
6485
6488
  function() {
6486
6489
  function t(e, n, r, i, o, a, u, c, s, l) {
@@ -6598,10 +6601,10 @@ var ud = "exception.type", cd = "exception.message", ld = "exception.stacktrace"
6598
6601
  }) : e;
6599
6602
  }, t;
6600
6603
  }()
6601
- ), lt;
6604
+ ), pt;
6602
6605
  (function(t) {
6603
6606
  t[t.NOT_RECORD = 0] = "NOT_RECORD", t[t.RECORD = 1] = "RECORD", t[t.RECORD_AND_SAMPLED = 2] = "RECORD_AND_SAMPLED";
6604
- })(lt || (lt = {}));
6607
+ })(pt || (pt = {}));
6605
6608
  var xn = (
6606
6609
  /** @class */
6607
6610
  function() {
@@ -6609,20 +6612,20 @@ var xn = (
6609
6612
  }
6610
6613
  return t.prototype.shouldSample = function() {
6611
6614
  return {
6612
- decision: lt.NOT_RECORD
6615
+ decision: pt.NOT_RECORD
6613
6616
  };
6614
6617
  }, t.prototype.toString = function() {
6615
6618
  return "AlwaysOffSampler";
6616
6619
  }, t;
6617
6620
  }()
6618
- ), at = (
6621
+ ), st = (
6619
6622
  /** @class */
6620
6623
  function() {
6621
6624
  function t() {
6622
6625
  }
6623
6626
  return t.prototype.shouldSample = function() {
6624
6627
  return {
6625
- decision: lt.RECORD_AND_SAMPLED
6628
+ decision: pt.RECORD_AND_SAMPLED
6626
6629
  };
6627
6630
  }, t.prototype.toString = function() {
6628
6631
  return "AlwaysOnSampler";
@@ -6633,7 +6636,7 @@ var xn = (
6633
6636
  function() {
6634
6637
  function t(e) {
6635
6638
  var n, r, i, o;
6636
- this._root = e.root, this._root || (Ne(new Error("ParentBasedSampler must have a root sampler configured")), this._root = new at()), this._remoteParentSampled = (n = e.remoteParentSampled) !== null && n !== void 0 ? n : new at(), this._remoteParentNotSampled = (r = e.remoteParentNotSampled) !== null && r !== void 0 ? r : new xn(), this._localParentSampled = (i = e.localParentSampled) !== null && i !== void 0 ? i : new at(), this._localParentNotSampled = (o = e.localParentNotSampled) !== null && o !== void 0 ? o : new xn();
6639
+ this._root = e.root, this._root || (Ce(new Error("ParentBasedSampler must have a root sampler configured")), this._root = new st()), this._remoteParentSampled = (n = e.remoteParentSampled) !== null && n !== void 0 ? n : new st(), this._remoteParentNotSampled = (r = e.remoteParentNotSampled) !== null && r !== void 0 ? r : new xn(), this._localParentSampled = (i = e.localParentSampled) !== null && i !== void 0 ? i : new st(), this._localParentNotSampled = (o = e.localParentNotSampled) !== null && o !== void 0 ? o : new xn();
6637
6640
  }
6638
6641
  return t.prototype.shouldSample = function(e, n, r, i, o, a) {
6639
6642
  var u = R.getSpanContext(e);
@@ -6650,7 +6653,7 @@ var xn = (
6650
6653
  }
6651
6654
  return t.prototype.shouldSample = function(e, n) {
6652
6655
  return {
6653
- decision: Ka(n) && this._accumulate(n) < this._upperBound ? lt.RECORD_AND_SAMPLED : lt.NOT_RECORD
6656
+ decision: Ka(n) && this._accumulate(n) < this._upperBound ? pt.RECORD_AND_SAMPLED : pt.NOT_RECORD
6654
6657
  };
6655
6658
  }, t.prototype.toString = function() {
6656
6659
  return "TraceIdRatioBased{" + this._ratio + "}";
@@ -6664,9 +6667,9 @@ var xn = (
6664
6667
  return n;
6665
6668
  }, t;
6666
6669
  }()
6667
- ), vd = pe.AlwaysOn, Ze = 1;
6670
+ ), md = pe.AlwaysOn, Ze = 1;
6668
6671
  function Es() {
6669
- var t = ct();
6672
+ var t = lt();
6670
6673
  return {
6671
6674
  sampler: Ts(t),
6672
6675
  forceFlushTimeoutMillis: 3e4,
@@ -6686,14 +6689,14 @@ function Es() {
6686
6689
  };
6687
6690
  }
6688
6691
  function Ts(t) {
6689
- switch (t === void 0 && (t = ct()), t.OTEL_TRACES_SAMPLER) {
6692
+ switch (t === void 0 && (t = lt()), t.OTEL_TRACES_SAMPLER) {
6690
6693
  case pe.AlwaysOn:
6691
- return new at();
6694
+ return new st();
6692
6695
  case pe.AlwaysOff:
6693
6696
  return new xn();
6694
6697
  case pe.ParentBasedAlwaysOn:
6695
6698
  return new hr({
6696
- root: new at()
6699
+ root: new st()
6697
6700
  });
6698
6701
  case pe.ParentBasedAlwaysOff:
6699
6702
  return new hr({
@@ -6706,7 +6709,7 @@ function Ts(t) {
6706
6709
  root: new uo(co(t))
6707
6710
  });
6708
6711
  default:
6709
- return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + vd + '".'), new at();
6712
+ return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + md + '".'), new st();
6710
6713
  }
6711
6714
  }
6712
6715
  function co(t) {
@@ -6722,15 +6725,15 @@ function yd(t) {
6722
6725
  return r.generalLimits = Object.assign({}, n.generalLimits, t.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, t.spanLimits || {}), r;
6723
6726
  }
6724
6727
  function gd(t) {
6725
- var e, n, r, i, o, a, u, c, s, l, p, f, v = Object.assign({}, t.spanLimits), m = Wf();
6726
- return v.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 : m.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT) !== null && o !== void 0 ? o : m.OTEL_ATTRIBUTE_COUNT_LIMIT) !== null && a !== void 0 ? a : mn, v.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 : m.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && p !== void 0 ? p : m.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && f !== void 0 ? f : dn, Object.assign({}, t, { spanLimits: v });
6728
+ var e, n, r, i, o, a, u, c, s, l, p, f, m = Object.assign({}, t.spanLimits), v = Wf();
6729
+ 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 : vn, 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 : dn, Object.assign({}, t, { spanLimits: m });
6727
6730
  }
6728
6731
  var _d = (
6729
6732
  /** @class */
6730
6733
  function() {
6731
6734
  function t(e, n) {
6732
6735
  this._exporter = e, this._isExporting = !1, this._finishedSpans = [], this._droppedSpansCount = 0;
6733
- var r = ct();
6736
+ var r = lt();
6734
6737
  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 zh(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (E.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
6735
6738
  }
6736
6739
  return t.prototype.forceFlush = function() {
@@ -6783,7 +6786,7 @@ var _d = (
6783
6786
  l.resource.asyncAttributesPending && l.resource.waitForAsyncAttributes && (u != null || (u = []), u.push(l.resource.waitForAsyncAttributes()));
6784
6787
  }
6785
6788
  u === null ? a() : Promise.all(u).then(a, function(p) {
6786
- Ne(p), r(p);
6789
+ Ce(p), r(p);
6787
6790
  });
6788
6791
  });
6789
6792
  });
@@ -6794,7 +6797,7 @@ var _d = (
6794
6797
  e._isExporting = !0, e._flushOneBatch().finally(function() {
6795
6798
  e._isExporting = !1, e._finishedSpans.length > 0 && (e._clearTimer(), e._maybeStartTimer());
6796
6799
  }).catch(function(r) {
6797
- e._isExporting = !1, Ne(r);
6800
+ e._isExporting = !1, Ce(r);
6798
6801
  });
6799
6802
  };
6800
6803
  if (this._finishedSpans.length >= this._maxExportBatchSize)
@@ -6836,11 +6839,11 @@ var _d = (
6836
6839
  var r = this;
6837
6840
  n?.disableAutoFlushOnDocumentHide !== !0 && typeof document < "u" && (this._visibilityChangeListener = function() {
6838
6841
  document.visibilityState === "hidden" && r.forceFlush().catch(function(i) {
6839
- Ne(i);
6842
+ Ce(i);
6840
6843
  });
6841
6844
  }, this._pageHideListener = function() {
6842
6845
  r.forceFlush().catch(function(i) {
6843
- Ne(i);
6846
+ Ce(i);
6844
6847
  });
6845
6848
  }, document.addEventListener("visibilitychange", this._visibilityChangeListener), document.addEventListener("pagehide", this._pageHideListener));
6846
6849
  }, e.prototype.onShutdown = function() {
@@ -6880,14 +6883,14 @@ var Sd = (
6880
6883
  var c = R.wrapSpanContext(qa);
6881
6884
  return c;
6882
6885
  }
6883
- var s = u?.spanContext(), l = this._idGenerator.generateSpanId(), p, f, v;
6884
- !s || !R.isSpanContextValid(s) ? p = this._idGenerator.generateTraceId() : (p = s.traceId, f = s.traceState, v = s.spanId);
6885
- var m = (i = n.kind) !== null && i !== void 0 ? i : Ut.INTERNAL, y = ((o = n.links) !== null && o !== void 0 ? o : []).map(function(M) {
6886
+ var s = u?.spanContext(), l = this._idGenerator.generateSpanId(), p, f, m;
6887
+ !s || !R.isSpanContextValid(s) ? p = this._idGenerator.generateTraceId() : (p = s.traceId, f = s.traceState, m = s.spanId);
6888
+ var v = (i = n.kind) !== null && i !== void 0 ? i : Ut.INTERNAL, y = ((o = n.links) !== null && o !== void 0 ? o : []).map(function(M) {
6886
6889
  return {
6887
6890
  context: M.context,
6888
6891
  attributes: hn(M.attributes)
6889
6892
  };
6890
- }), _ = hn(n.attributes), b = this._sampler.shouldSample(r, p, e, m, _, y);
6893
+ }), _ = hn(n.attributes), b = this._sampler.shouldSample(r, p, e, v, _, y);
6891
6894
  f = (a = b.traceState) !== null && a !== void 0 ? a : f;
6892
6895
  var L = b.decision === wn.RECORD_AND_SAMPLED ? Ee.SAMPLED : Ee.NONE, U = { traceId: p, spanId: l, traceFlags: L, traceState: f };
6893
6896
  if (b.decision === wn.NOT_RECORD) {
@@ -6895,7 +6898,7 @@ var Sd = (
6895
6898
  var c = R.wrapSpanContext(U);
6896
6899
  return c;
6897
6900
  }
6898
- var D = hn(Object.assign(_, b.attributes)), F = new md(this, r, e, U, m, v, y, n.startTime, void 0, D);
6901
+ var D = hn(Object.assign(_, b.attributes)), F = new vd(this, r, e, U, v, m, y, n.startTime, void 0, D);
6899
6902
  return F;
6900
6903
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
6901
6904
  var o, a, u;
@@ -6916,14 +6919,14 @@ var Sd = (
6916
6919
  function Ld() {
6917
6920
  return "unknown_service";
6918
6921
  }
6919
- var Oe = function() {
6920
- return Oe = Object.assign || function(t) {
6922
+ var Ae = function() {
6923
+ return Ae = Object.assign || function(t) {
6921
6924
  for (var e, n = 1, r = arguments.length; n < r; n++) {
6922
6925
  e = arguments[n];
6923
6926
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && (t[i] = e[i]);
6924
6927
  }
6925
6928
  return t;
6926
- }, Oe.apply(this, arguments);
6929
+ }, Ae.apply(this, arguments);
6927
6930
  }, Rd = function(t, e, n, r) {
6928
6931
  function i(o) {
6929
6932
  return o instanceof n ? o : new n(function(a) {
@@ -7068,7 +7071,7 @@ var Oe = function() {
7068
7071
  var n = this, r;
7069
7072
  if (!e)
7070
7073
  return this;
7071
- var i = Oe(Oe({}, this._syncAttributes), (r = e._syncAttributes) !== null && r !== void 0 ? r : e.attributes);
7074
+ var i = Ae(Ae({}, this._syncAttributes), (r = e._syncAttributes) !== null && r !== void 0 ? r : e.attributes);
7072
7075
  if (!this._asyncAttributesPromise && !e._asyncAttributesPromise)
7073
7076
  return new t(i);
7074
7077
  var o = Promise.all([
@@ -7076,7 +7079,7 @@ var Oe = function() {
7076
7079
  e._asyncAttributesPromise
7077
7080
  ]).then(function(a) {
7078
7081
  var u, c = Pd(a, 2), s = c[0], l = c[1];
7079
- return Oe(Oe(Oe(Oe({}, n._syncAttributes), s), (u = e._syncAttributes) !== null && u !== void 0 ? u : e.attributes), l);
7082
+ return Ae(Ae(Ae(Ae({}, n._syncAttributes), s), (u = e._syncAttributes) !== null && u !== void 0 ? u : e.attributes), l);
7080
7083
  });
7081
7084
  return new t(i, o);
7082
7085
  }, t.EMPTY = new t({}), t;
@@ -7090,7 +7093,7 @@ var Oe = function() {
7090
7093
  }
7091
7094
  };
7092
7095
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7093
- }, mo = (
7096
+ }, vo = (
7094
7097
  /** @class */
7095
7098
  function() {
7096
7099
  function t(e) {
@@ -7116,7 +7119,7 @@ var Oe = function() {
7116
7119
  Promise.all(r).then(function() {
7117
7120
  u();
7118
7121
  }).catch(function(c) {
7119
- Ne(c || new Error("MultiSpanProcessor: forceFlush failed")), u();
7122
+ Ce(c || new Error("MultiSpanProcessor: forceFlush failed")), u();
7120
7123
  });
7121
7124
  });
7122
7125
  }, t.prototype.onStart = function(e, n) {
@@ -7222,7 +7225,7 @@ var Ud = (
7222
7225
  if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : $t.empty(), i.mergeResourceWithDefaults && (this.resource = $t.default().merge(this.resource)), this._config = Object.assign({}, i, {
7223
7226
  resource: this.resource
7224
7227
  }), !((r = e.spanProcessors) === null || r === void 0) && r.length)
7225
- this._registeredSpanProcessors = Dd([], Md(e.spanProcessors), !1), this.activeSpanProcessor = new mo(this._registeredSpanProcessors);
7228
+ this._registeredSpanProcessors = Dd([], Md(e.spanProcessors), !1), this.activeSpanProcessor = new vo(this._registeredSpanProcessors);
7226
7229
  else {
7227
7230
  var o = this._buildExporterFromEnv();
7228
7231
  if (o !== void 0) {
@@ -7238,7 +7241,7 @@ var Ud = (
7238
7241
  }, t.prototype.addSpanProcessor = function(e) {
7239
7242
  this._registeredSpanProcessors.length === 0 && this.activeSpanProcessor.shutdown().catch(function(n) {
7240
7243
  return E.error("Error while trying to shutdown current span processor", n);
7241
- }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new mo(this._registeredSpanProcessors);
7244
+ }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new vo(this._registeredSpanProcessors);
7242
7245
  }, t.prototype.getActiveSpanProcessor = function() {
7243
7246
  return this.activeSpanProcessor;
7244
7247
  }, t.prototype.register = function(e) {
@@ -7275,7 +7278,7 @@ var Ud = (
7275
7278
  var n;
7276
7279
  return (n = this.constructor._registeredExporters.get(e)) === null || n === void 0 ? void 0 : n();
7277
7280
  }, t.prototype._buildPropagatorFromEnv = function() {
7278
- var e = this, n = Array.from(new Set(ct().OTEL_PROPAGATORS)), r = n.map(function(o) {
7281
+ var e = this, n = Array.from(new Set(lt().OTEL_PROPAGATORS)), r = n.map(function(o) {
7279
7282
  var a = e._getPropagator(o);
7280
7283
  return a || E.warn('Propagator "' + o + '" requested through environment variable is unavailable.'), a;
7281
7284
  }), i = r.reduce(function(o, a) {
@@ -7286,7 +7289,7 @@ var Ud = (
7286
7289
  propagators: i
7287
7290
  });
7288
7291
  }, t.prototype._buildExporterFromEnv = function() {
7289
- var e = ct().OTEL_TRACES_EXPORTER;
7292
+ var e = lt().OTEL_TRACES_EXPORTER;
7290
7293
  if (!(e === "none" || e === "")) {
7291
7294
  var n = this._getSpanExporter(e);
7292
7295
  return n || E.error('Exporter "' + e + '" requested through environment variable is unavailable.'), n;
@@ -7403,18 +7406,18 @@ var Vd = "http.response_content_length", Hd = "http.response_content_length_unco
7403
7406
  function qd() {
7404
7407
  return dr || (dr = document.createElement("a")), dr;
7405
7408
  }
7406
- function Ce(t, e) {
7409
+ function Le(t, e) {
7407
7410
  return e in t;
7408
7411
  }
7409
7412
  function V(t, e, n, r) {
7410
7413
  var i = void 0, o = void 0;
7411
- Ce(n, e) && typeof n[e] == "number" && (i = n[e]);
7414
+ Le(n, e) && typeof n[e] == "number" && (i = n[e]);
7412
7415
  var a = S.FETCH_START;
7413
- if (Ce(n, a) && typeof n[a] == "number" && (o = n[a]), i !== void 0 && o !== void 0 && i >= o)
7416
+ if (Le(n, a) && typeof n[a] == "number" && (o = n[a]), i !== void 0 && o !== void 0 && i >= o)
7414
7417
  return t.addEvent(e, i), t;
7415
7418
  }
7416
- function pt(t, e, n) {
7417
- n === void 0 && (n = !1), n || (V(t, S.FETCH_START, e), V(t, S.DOMAIN_LOOKUP_START, e), V(t, S.DOMAIN_LOOKUP_END, e), V(t, S.CONNECT_START, e), Ce(e, "name") && e.name.startsWith("https:") && V(t, S.SECURE_CONNECTION_START, e), V(t, S.CONNECT_END, e), V(t, S.REQUEST_START, e), V(t, S.RESPONSE_START, e), V(t, S.RESPONSE_END, e));
7419
+ function ft(t, e, n) {
7420
+ n === void 0 && (n = !1), n || (V(t, S.FETCH_START, e), V(t, S.DOMAIN_LOOKUP_START, e), V(t, S.DOMAIN_LOOKUP_END, e), V(t, S.CONNECT_START, e), Le(e, "name") && e.name.startsWith("https:") && V(t, S.SECURE_CONNECTION_START, e), V(t, S.CONNECT_END, e), V(t, S.REQUEST_START, e), V(t, S.RESPONSE_START, e), V(t, S.RESPONSE_END, e));
7418
7421
  var r = e[S.ENCODED_BODY_SIZE];
7419
7422
  r !== void 0 && t.setAttribute(Gd, r);
7420
7423
  var i = e[S.DECODED_BODY_SIZE];
@@ -7455,15 +7458,15 @@ function As(t, e, n, r, i, o) {
7455
7458
  };
7456
7459
  }
7457
7460
  function Kd(t, e, n) {
7458
- for (var r = be(n), i = be(Nt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
7459
- var s = t[c], l = be(Nt(s[S.FETCH_START])), p = be(Nt(s[S.RESPONSE_END])), f = r - p;
7461
+ for (var r = be(n), i = be(Ct(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
7462
+ var s = t[c], l = be(Ct(s[S.FETCH_START])), p = be(Ct(s[S.RESPONSE_END])), f = r - p;
7460
7463
  l >= i && (!a || f < a) && (a = f, o = s);
7461
7464
  }
7462
7465
  return o;
7463
7466
  }
7464
7467
  function Wd(t, e, n, r, i, o) {
7465
7468
  var a = be(e), u = be(n), c = r.filter(function(s) {
7466
- var l = be(Nt(s[S.FETCH_START])), p = be(Nt(s[S.RESPONSE_END]));
7469
+ var l = be(Ct(s[S.FETCH_START])), p = be(Ct(s[S.RESPONSE_END]));
7467
7470
  return s.initiatorType.toLowerCase() === (o || "xmlhttprequest") && s.name === t && l >= a && p <= u;
7468
7471
  });
7469
7472
  return c.length > 0 && (c = c.filter(function(s) {
@@ -7516,7 +7519,7 @@ function Ns(t, e) {
7516
7519
  (typeof n == "string" || n instanceof RegExp) && (n = [n]);
7517
7520
  var r = _e(t);
7518
7521
  return r.origin === Os() ? !0 : n.some(function(i) {
7519
- return ms(t, i);
7522
+ return vs(t, i);
7520
7523
  });
7521
7524
  }
7522
7525
  var Jr = function() {
@@ -7596,7 +7599,7 @@ var Jr = function() {
7596
7599
  }
7597
7600
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7598
7601
  };
7599
- }(), em = (
7602
+ }(), ev = (
7600
7603
  /** @class */
7601
7604
  function(t) {
7602
7605
  Zd(e, t);
@@ -7607,7 +7610,7 @@ var Jr = function() {
7607
7610
  return e;
7608
7611
  }(Qd)
7609
7612
  );
7610
- function vo(t, e, n) {
7613
+ function mo(t, e, n) {
7611
7614
  var r, i;
7612
7615
  try {
7613
7616
  i = t();
@@ -7617,22 +7620,22 @@ function vo(t, e, n) {
7617
7620
  return e(r, i), i;
7618
7621
  }
7619
7622
  }
7620
- var Ct;
7623
+ var Lt;
7621
7624
  (function(t) {
7622
7625
  t.DOCUMENT_LOAD = "documentLoad", t.DOCUMENT_FETCH = "documentFetch", t.RESOURCE_FETCH = "resourceFetch";
7623
- })(Ct || (Ct = {}));
7624
- var tm = "0.44.0", nm = "@opentelemetry/instrumentation-document-load";
7625
- const rm = "http.url", im = "http.user_agent", mr = rm, om = im;
7626
+ })(Lt || (Lt = {}));
7627
+ var tv = "0.44.0", nv = "@opentelemetry/instrumentation-document-load";
7628
+ const rv = "http.url", iv = "http.user_agent", vr = rv, ov = iv;
7626
7629
  var Nn;
7627
7630
  (function(t) {
7628
7631
  t.FIRST_PAINT = "firstPaint", t.FIRST_CONTENTFUL_PAINT = "firstContentfulPaint";
7629
7632
  })(Nn || (Nn = {}));
7630
- var am = function() {
7633
+ var av = function() {
7631
7634
  var t, e, n = {}, r = (e = (t = oe).getEntriesByType) === null || e === void 0 ? void 0 : e.call(t, "navigation")[0];
7632
7635
  if (r) {
7633
7636
  var i = Object.values(S);
7634
7637
  i.forEach(function(u) {
7635
- if (Ce(r, u)) {
7638
+ if (Le(r, u)) {
7636
7639
  var c = r[u];
7637
7640
  typeof c == "number" && (n[u] = c);
7638
7641
  }
@@ -7642,7 +7645,7 @@ var am = function() {
7642
7645
  if (a) {
7643
7646
  var i = Object.values(S);
7644
7647
  i.forEach(function(c) {
7645
- if (Ce(a, c)) {
7648
+ if (Le(a, c)) {
7646
7649
  var s = a[c];
7647
7650
  typeof s == "number" && (n[c] = s);
7648
7651
  }
@@ -7653,13 +7656,13 @@ var am = function() {
7653
7656
  }, yo = {
7654
7657
  "first-paint": Nn.FIRST_PAINT,
7655
7658
  "first-contentful-paint": Nn.FIRST_CONTENTFUL_PAINT
7656
- }, sm = function(t) {
7659
+ }, sv = function(t) {
7657
7660
  var e, n, r = (n = (e = oe).getEntriesByType) === null || n === void 0 ? void 0 : n.call(e, "paint");
7658
7661
  r && r.forEach(function(i) {
7659
7662
  var o = i.name, a = i.startTime;
7660
- Ce(yo, o) && t.addEvent(yo[o], a);
7663
+ Le(yo, o) && t.addEvent(yo[o], a);
7661
7664
  });
7662
- }, um = /* @__PURE__ */ function() {
7665
+ }, uv = /* @__PURE__ */ function() {
7663
7666
  var t = function(e, n) {
7664
7667
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7665
7668
  r.__proto__ = i;
@@ -7676,13 +7679,13 @@ var am = function() {
7676
7679
  }
7677
7680
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7678
7681
  };
7679
- }(), cm = (
7682
+ }(), cv = (
7680
7683
  /** @class */
7681
7684
  function(t) {
7682
- um(e, t);
7685
+ uv(e, t);
7683
7686
  function e(n) {
7684
7687
  n === void 0 && (n = {});
7685
- var r = t.call(this, nm, tm, n) || this;
7688
+ var r = t.call(this, nv, tv, n) || this;
7686
7689
  return r.component = "document-load", r.version = "1", r.moduleName = r.component, r;
7687
7690
  }
7688
7691
  return e.prototype.init = function() {
@@ -7698,25 +7701,25 @@ var am = function() {
7698
7701
  });
7699
7702
  }, e.prototype._collectPerformance = function() {
7700
7703
  var n = this, r = Array.from(document.getElementsByTagName("meta")).find(function(a) {
7701
- return a.getAttribute("name") === vn;
7702
- }), i = am(), o = r && r.content || "";
7704
+ return a.getAttribute("name") === mn;
7705
+ }), i = av(), o = r && r.content || "";
7703
7706
  C.with(re.extract(Pe, { traceparent: o }), function() {
7704
- var a, u = n._startSpan(Ct.DOCUMENT_LOAD, S.FETCH_START, i);
7707
+ var a, u = n._startSpan(Lt.DOCUMENT_LOAD, S.FETCH_START, i);
7705
7708
  u && (C.with(R.setSpan(C.active(), u), function() {
7706
- var c = n._startSpan(Ct.DOCUMENT_FETCH, S.FETCH_START, i);
7707
- c && (c.setAttribute(mr, location.href), C.with(R.setSpan(C.active(), c), function() {
7709
+ var c = n._startSpan(Lt.DOCUMENT_FETCH, S.FETCH_START, i);
7710
+ c && (c.setAttribute(vr, location.href), C.with(R.setSpan(C.active(), c), function() {
7708
7711
  var s;
7709
- n.getConfig().ignoreNetworkEvents || pt(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, S.RESPONSE_END, i);
7712
+ n.getConfig().ignoreNetworkEvents || ft(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, S.RESPONSE_END, i);
7710
7713
  }));
7711
- }), u.setAttribute(mr, location.href), u.setAttribute(om, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (V(u, S.FETCH_START, i), V(u, S.UNLOAD_EVENT_START, i), V(u, S.UNLOAD_EVENT_END, i), V(u, S.DOM_INTERACTIVE, i), V(u, S.DOM_CONTENT_LOADED_EVENT_START, i), V(u, S.DOM_CONTENT_LOADED_EVENT_END, i), V(u, S.DOM_COMPLETE, i), V(u, S.LOAD_EVENT_START, i), V(u, S.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || sm(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, S.LOAD_EVENT_END, i));
7714
+ }), u.setAttribute(vr, location.href), u.setAttribute(ov, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (V(u, S.FETCH_START, i), V(u, S.UNLOAD_EVENT_START, i), V(u, S.UNLOAD_EVENT_END, i), V(u, S.DOM_INTERACTIVE, i), V(u, S.DOM_CONTENT_LOADED_EVENT_START, i), V(u, S.DOM_CONTENT_LOADED_EVENT_END, i), V(u, S.DOM_COMPLETE, i), V(u, S.LOAD_EVENT_START, i), V(u, S.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || sv(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, S.LOAD_EVENT_END, i));
7712
7715
  });
7713
7716
  }, e.prototype._endSpan = function(n, r, i) {
7714
- n && (Ce(i, r) ? n.end(i[r]) : n.end());
7717
+ n && (Le(i, r) ? n.end(i[r]) : n.end());
7715
7718
  }, e.prototype._initResourceSpan = function(n, r) {
7716
- var i, o = this._startSpan(Ct.RESOURCE_FETCH, S.FETCH_START, n, r);
7717
- o && (o.setAttribute(mr, n.name), this.getConfig().ignoreNetworkEvents || pt(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, S.RESPONSE_END, n));
7719
+ var i, o = this._startSpan(Lt.RESOURCE_FETCH, S.FETCH_START, n, r);
7720
+ o && (o.setAttribute(vr, n.name), this.getConfig().ignoreNetworkEvents || ft(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, S.RESPONSE_END, n));
7718
7721
  }, e.prototype._startSpan = function(n, r, i, o) {
7719
- if (Ce(i, r) && typeof i[r] == "number") {
7722
+ if (Le(i, r) && typeof i[r] == "number") {
7720
7723
  var a = this.tracer.startSpan(n, {
7721
7724
  startTime: i[r]
7722
7725
  }, o ? R.setSpan(C.active(), o) : void 0);
@@ -7726,14 +7729,14 @@ var am = function() {
7726
7729
  window.document.readyState === "complete" ? this._onDocumentLoaded() : (this._onDocumentLoaded = this._onDocumentLoaded.bind(this), window.addEventListener("load", this._onDocumentLoaded));
7727
7730
  }, e.prototype._addCustomAttributesOnSpan = function(n, r) {
7728
7731
  var i = this;
7729
- r && vo(function() {
7732
+ r && mo(function() {
7730
7733
  return r(n);
7731
7734
  }, function(o) {
7732
7735
  o && i._diag.error("addCustomAttributesOnSpan", o);
7733
7736
  });
7734
7737
  }, e.prototype._addCustomAttributesOnResourceSpan = function(n, r, i) {
7735
7738
  var o = this;
7736
- i && vo(function() {
7739
+ i && mo(function() {
7737
7740
  return i(n, r);
7738
7741
  }, function(a) {
7739
7742
  a && o._diag.error("addCustomAttributesOnResourceSpan", a);
@@ -7743,7 +7746,7 @@ var am = function() {
7743
7746
  }, e.prototype.disable = function() {
7744
7747
  window.removeEventListener("load", this._onDocumentLoaded);
7745
7748
  }, e;
7746
- }(em)
7749
+ }(ev)
7747
7750
  ), Qr = function() {
7748
7751
  return Qr = Object.assign || function(t) {
7749
7752
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -7752,7 +7755,7 @@ var am = function() {
7752
7755
  }
7753
7756
  return t;
7754
7757
  }, Qr.apply(this, arguments);
7755
- }, lm = (
7758
+ }, lv = (
7756
7759
  /** @class */
7757
7760
  function() {
7758
7761
  function t(e, n, r) {
@@ -7804,7 +7807,7 @@ var am = function() {
7804
7807
  }
7805
7808
  }, t;
7806
7809
  }()
7807
- ), pm = /* @__PURE__ */ function() {
7810
+ ), pv = /* @__PURE__ */ function() {
7808
7811
  var t = function(e, n) {
7809
7812
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7810
7813
  r.__proto__ = i;
@@ -7821,18 +7824,18 @@ var am = function() {
7821
7824
  }
7822
7825
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7823
7826
  };
7824
- }(), fm = (
7827
+ }(), fv = (
7825
7828
  /** @class */
7826
7829
  function(t) {
7827
- pm(e, t);
7830
+ pv(e, t);
7828
7831
  function e(n, r, i) {
7829
7832
  var o = t.call(this, n, r, i) || this;
7830
7833
  return o._config.enabled && o.enable(), o;
7831
7834
  }
7832
7835
  return e;
7833
- }(lm)
7836
+ }(lv)
7834
7837
  );
7835
- function hm(t, e, n) {
7838
+ function hv(t, e, n) {
7836
7839
  var r, i;
7837
7840
  try {
7838
7841
  i = t();
@@ -7842,14 +7845,14 @@ function hm(t, e, n) {
7842
7845
  return e(r, i), i;
7843
7846
  }
7844
7847
  }
7845
- function dm(t) {
7848
+ function dv(t) {
7846
7849
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
7847
7850
  }
7848
7851
  var Cn;
7849
7852
  (function(t) {
7850
7853
  t.COMPONENT = "component", t.HTTP_ERROR_NAME = "http.error_name", t.HTTP_STATUS_TEXT = "http.status_text";
7851
7854
  })(Cn || (Cn = {}));
7852
- var mm = "http.method", vm = "http.url", ym = "http.host", gm = "http.scheme", _m = "http.status_code", bm = "http.user_agent", Em = "http.request_content_length_uncompressed", Tm = mm, wm = vm, Sm = ym, Om = gm, Am = _m, xm = bm, Nm = Em, Cm = function(t, e, n, r) {
7855
+ var vv = "http.method", mv = "http.url", yv = "http.host", gv = "http.scheme", _v = "http.status_code", bv = "http.user_agent", Ev = "http.request_content_length_uncompressed", Tv = vv, wv = mv, Sv = yv, Ov = gv, Av = _v, xv = bv, Nv = Ev, Cv = function(t, e, n, r) {
7853
7856
  function i(o) {
7854
7857
  return o instanceof n ? o : new n(function(a) {
7855
7858
  a(o);
@@ -7875,7 +7878,7 @@ var mm = "http.method", vm = "http.url", ym = "http.host", gm = "http.scheme", _
7875
7878
  }
7876
7879
  s((r = r.apply(t, [])).next());
7877
7880
  });
7878
- }, Lm = function(t, e) {
7881
+ }, Lv = function(t, e) {
7879
7882
  var n = { label: 0, sent: function() {
7880
7883
  if (o[0] & 1) throw o[1];
7881
7884
  return o[1];
@@ -7934,7 +7937,7 @@ var mm = "http.method", vm = "http.url", ym = "http.host", gm = "http.scheme", _
7934
7937
  if (s[0] & 5) throw s[1];
7935
7938
  return { value: s[0] ? s[1] : void 0, done: !0 };
7936
7939
  }
7937
- }, Rm = function(t) {
7940
+ }, Rv = function(t) {
7938
7941
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
7939
7942
  if (n) return n.call(t);
7940
7943
  if (t && typeof t.length == "number") return {
@@ -7943,7 +7946,7 @@ var mm = "http.method", vm = "http.url", ym = "http.host", gm = "http.scheme", _
7943
7946
  }
7944
7947
  };
7945
7948
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7946
- }, Im = function(t, e) {
7949
+ }, Iv = function(t, e) {
7947
7950
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7948
7951
  if (!n) return t;
7949
7952
  var r = n.call(t), i, o = [], a;
@@ -7962,7 +7965,7 @@ var mm = "http.method", vm = "http.url", ym = "http.host", gm = "http.scheme", _
7962
7965
  }, Cs = E.createComponentLogger({
7963
7966
  namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
7964
7967
  });
7965
- function Pm() {
7968
+ function Pv() {
7966
7969
  for (var t = [], e = 0; e < arguments.length; e++)
7967
7970
  t[e] = arguments[e];
7968
7971
  if (t[0] instanceof URL || typeof t[0] == "string") {
@@ -7970,10 +7973,10 @@ function Pm() {
7970
7973
  if (!(n != null && n.body))
7971
7974
  return Promise.resolve();
7972
7975
  if (n.body instanceof ReadableStream) {
7973
- var r = km(n.body), i = r.body, o = r.length;
7976
+ var r = kv(n.body), i = r.body, o = r.length;
7974
7977
  return n.body = i, o;
7975
7978
  } else
7976
- return Promise.resolve(Mm(n.body));
7979
+ return Promise.resolve(Mv(n.body));
7977
7980
  } else {
7978
7981
  var a = t[0];
7979
7982
  return a != null && a.body ? a.clone().text().then(function(u) {
@@ -7981,7 +7984,7 @@ function Pm() {
7981
7984
  }) : Promise.resolve();
7982
7985
  }
7983
7986
  }
7984
- function km(t) {
7987
+ function kv(t) {
7985
7988
  if (!t.pipeThrough)
7986
7989
  return Cs.warn("Platform has ReadableStream but not pipeThrough!"), {
7987
7990
  body: t,
@@ -7993,9 +7996,9 @@ function km(t) {
7993
7996
  start: function() {
7994
7997
  },
7995
7998
  transform: function(o, a) {
7996
- return Cm(this, void 0, void 0, function() {
7999
+ return Cv(this, void 0, void 0, function() {
7997
8000
  var u;
7998
- return Lm(this, function(c) {
8001
+ return Lv(this, function(c) {
7999
8002
  switch (c.label) {
8000
8003
  case 0:
8001
8004
  return [4, o];
@@ -8017,7 +8020,7 @@ function km(t) {
8017
8020
  length: r
8018
8021
  };
8019
8022
  }
8020
- function Mm(t) {
8023
+ function Mv(t) {
8021
8024
  if (typeof Document < "u" && t instanceof Document)
8022
8025
  return new XMLSerializer().serializeToString(document).length;
8023
8026
  if (t instanceof Blob)
@@ -8025,22 +8028,22 @@ function Mm(t) {
8025
8028
  if (t.byteLength !== void 0)
8026
8029
  return t.byteLength;
8027
8030
  if (t instanceof FormData)
8028
- return Um(t);
8031
+ return Uv(t);
8029
8032
  if (t instanceof URLSearchParams)
8030
8033
  return Zr(t.toString());
8031
8034
  if (typeof t == "string")
8032
8035
  return Zr(t);
8033
8036
  Cs.warn("unknown body type");
8034
8037
  }
8035
- var Dm = new TextEncoder();
8038
+ var Dv = new TextEncoder();
8036
8039
  function Zr(t) {
8037
- return Dm.encode(t).byteLength;
8040
+ return Dv.encode(t).byteLength;
8038
8041
  }
8039
- function Um(t) {
8042
+ function Uv(t) {
8040
8043
  var e, n, r = 0;
8041
8044
  try {
8042
- for (var i = Rm(t.entries()), o = i.next(); !o.done; o = i.next()) {
8043
- var a = Im(o.value, 2), u = a[0], c = a[1];
8045
+ for (var i = Rv(t.entries()), o = i.next(); !o.done; o = i.next()) {
8046
+ var a = Iv(o.value, 2), u = a[0], c = a[1];
8044
8047
  r += u.length, c instanceof Blob ? r += c.size : r += c.length;
8045
8048
  }
8046
8049
  } catch (s) {
@@ -8054,7 +8057,7 @@ function Um(t) {
8054
8057
  }
8055
8058
  return r;
8056
8059
  }
8057
- var go = "0.57.2", $m = /* @__PURE__ */ function() {
8060
+ var go = "0.57.2", $v = /* @__PURE__ */ function() {
8058
8061
  var t = function(e, n) {
8059
8062
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8060
8063
  r.__proto__ = i;
@@ -8071,7 +8074,7 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8071
8074
  }
8072
8075
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8073
8076
  };
8074
- }(), jm = function(t, e) {
8077
+ }(), jv = function(t, e) {
8075
8078
  var n = typeof Symbol == "function" && t[Symbol.iterator];
8076
8079
  if (!n) return t;
8077
8080
  var r = n.call(t), i, o = [], a;
@@ -8087,14 +8090,14 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8087
8090
  }
8088
8091
  }
8089
8092
  return o;
8090
- }, Bm = function(t, e, n) {
8093
+ }, Bv = function(t, e, n) {
8091
8094
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
8092
8095
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
8093
8096
  return t.concat(o || Array.prototype.slice.call(e));
8094
- }, vr, Fm = 300, _o = typeof process == "object" && ((vr = process.release) === null || vr === void 0 ? void 0 : vr.name) === "node", Vm = (
8097
+ }, mr, Fv = 300, _o = typeof process == "object" && ((mr = process.release) === null || mr === void 0 ? void 0 : mr.name) === "node", Vv = (
8095
8098
  /** @class */
8096
8099
  function(t) {
8097
- $m(e, t);
8100
+ $v(e, t);
8098
8101
  function e(n) {
8099
8102
  n === void 0 && (n = {});
8100
8103
  var r = t.call(this, "@opentelemetry/instrumentation-fetch", go, n) || this;
@@ -8105,10 +8108,10 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8105
8108
  var i = this.tracer.startSpan("CORS Preflight", {
8106
8109
  startTime: r[S.FETCH_START]
8107
8110
  }, R.setSpan(C.active(), n));
8108
- pt(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[S.RESPONSE_END]);
8111
+ ft(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[S.RESPONSE_END]);
8109
8112
  }, e.prototype._addFinalSpanAttributes = function(n, r) {
8110
8113
  var i = _e(r.url);
8111
- n.setAttribute(Am, r.status), r.statusText != null && n.setAttribute(Cn.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(Sm, i.host), n.setAttribute(Om, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(xm, navigator.userAgent);
8114
+ n.setAttribute(Av, r.status), r.statusText != null && n.setAttribute(Cn.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(Sv, i.host), n.setAttribute(Ov, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(xv, navigator.userAgent);
8112
8115
  }, e.prototype._addHeaders = function(n, r) {
8113
8116
  if (!Ns(r, this.getConfig().propagateTraceHeaderCorsUrls)) {
8114
8117
  var i = {};
@@ -8141,14 +8144,14 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8141
8144
  this._tasksCount === 0 && this.getConfig().clearTimingResources && (performance.clearResourceTimings(), this._usedResources = /* @__PURE__ */ new WeakSet());
8142
8145
  }, e.prototype._createSpan = function(n, r) {
8143
8146
  var i;
8144
- if (r === void 0 && (r = {}), vs(n, this.getConfig().ignoreUrls)) {
8147
+ if (r === void 0 && (r = {}), ms(n, this.getConfig().ignoreUrls)) {
8145
8148
  this._diag.debug("ignoring span as url matches ignored url");
8146
8149
  return;
8147
8150
  }
8148
8151
  var o = (r.method || "GET").toUpperCase(), a = "HTTP " + o;
8149
8152
  return this.tracer.startSpan(a, {
8150
8153
  kind: Ut.CLIENT,
8151
- attributes: (i = {}, i[Cn.COMPONENT] = this.moduleName, i[Tm] = o, i[wm] = n, i)
8154
+ attributes: (i = {}, i[Cn.COMPONENT] = this.moduleName, i[Tv] = o, i[wv] = n, i)
8152
8155
  });
8153
8156
  }, e.prototype._findResourceAndAddNetworkEvents = function(n, r, i) {
8154
8157
  var o = r.entries;
@@ -8162,7 +8165,7 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8162
8165
  var u = a.mainRequest;
8163
8166
  this._markResourceAsUsed(u);
8164
8167
  var c = a.corsPreFlightRequest;
8165
- c && (this._addChildSpan(n, c), this._markResourceAsUsed(c)), pt(n, u, this.getConfig().ignoreNetworkEvents);
8168
+ c && (this._addChildSpan(n, c), this._markResourceAsUsed(c)), ft(n, u, this.getConfig().ignoreNetworkEvents);
8166
8169
  }
8167
8170
  }, e.prototype._markResourceAsUsed = function(n) {
8168
8171
  this._usedResources.add(n);
@@ -8171,7 +8174,7 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8171
8174
  this._addFinalSpanAttributes(n, i), setTimeout(function() {
8172
8175
  var c;
8173
8176
  (c = r.observer) === null || c === void 0 || c.disconnect(), o._findResourceAndAddNetworkEvents(n, r, u), o._tasksCount--, o._clearResources(), n.end(a);
8174
- }, Fm);
8177
+ }, Fv);
8175
8178
  }, e.prototype._patchConstructor = function() {
8176
8179
  var n = this;
8177
8180
  return function(r) {
@@ -8183,8 +8186,8 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8183
8186
  if (!l)
8184
8187
  return r.apply(this, o);
8185
8188
  var p = i._prepareSpanData(c);
8186
- i.getConfig().measureRequestSize && Pm.apply(void 0, Bm([], jm(o), !1)).then(function(_) {
8187
- _ && l.setAttribute(Nm, _);
8189
+ i.getConfig().measureRequestSize && Pv.apply(void 0, Bv([], jv(o), !1)).then(function(_) {
8190
+ _ && l.setAttribute(Nv, _);
8188
8191
  }).catch(function(_) {
8189
8192
  i._diag.warn("getFetchBodyLength", _);
8190
8193
  });
@@ -8195,28 +8198,28 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8195
8198
  url: c
8196
8199
  });
8197
8200
  }
8198
- function v(_, b) {
8201
+ function m(_, b) {
8199
8202
  i._applyAttributesAfterFetch(_, s, b), b.status >= 200 && b.status < 400 ? i._endSpan(_, p, b) : i._endSpan(_, p, {
8200
8203
  status: b.status,
8201
8204
  statusText: b.statusText,
8202
8205
  url: c
8203
8206
  });
8204
8207
  }
8205
- function m(_, b, L) {
8208
+ function v(_, b, L) {
8206
8209
  try {
8207
8210
  var U = L.clone(), D = L.clone(), F = U.body;
8208
8211
  if (F) {
8209
8212
  var M = F.getReader(), G = function() {
8210
8213
  M.read().then(function($) {
8211
- var ve = $.done;
8212
- ve ? v(_, D) : G();
8214
+ var me = $.done;
8215
+ me ? m(_, D) : G();
8213
8216
  }, function($) {
8214
8217
  f(_, $);
8215
8218
  });
8216
8219
  };
8217
8220
  G();
8218
8221
  } else
8219
- v(_, L);
8222
+ m(_, L);
8220
8223
  } finally {
8221
8224
  b(L);
8222
8225
  }
@@ -8230,14 +8233,14 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8230
8233
  }
8231
8234
  return new Promise(function(_, b) {
8232
8235
  return C.with(R.setSpan(C.active(), l), function() {
8233
- return i._addHeaders(s, c), i._tasksCount++, r.apply(u, s instanceof Request ? [s] : [c, s]).then(m.bind(u, l, _), y.bind(u, l, b));
8236
+ return i._addHeaders(s, c), i._tasksCount++, r.apply(u, s instanceof Request ? [s] : [c, s]).then(v.bind(u, l, _), y.bind(u, l, b));
8234
8237
  });
8235
8238
  });
8236
8239
  };
8237
8240
  };
8238
8241
  }, e.prototype._applyAttributesAfterFetch = function(n, r, i) {
8239
8242
  var o = this, a = this.getConfig().applyCustomAttributesOnSpan;
8240
- a && hm(function() {
8243
+ a && hv(function() {
8241
8244
  return a(n, r, i);
8242
8245
  }, function(u) {
8243
8246
  u && o._diag.error("applyCustomAttributesOnSpan", u);
@@ -8260,11 +8263,11 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8260
8263
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
8261
8264
  return;
8262
8265
  }
8263
- dm(fetch) && (this._unwrap(xt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(xt, "fetch", this._patchConstructor());
8266
+ dv(fetch) && (this._unwrap(Nt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(Nt, "fetch", this._patchConstructor());
8264
8267
  }, e.prototype.disable = function() {
8265
- _o || (this._unwrap(xt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8268
+ _o || (this._unwrap(Nt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8266
8269
  }, e;
8267
- }(fm)
8270
+ }(fv)
8268
8271
  ), ei = function() {
8269
8272
  return ei = Object.assign || function(t) {
8270
8273
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -8273,7 +8276,7 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8273
8276
  }
8274
8277
  return t;
8275
8278
  }, ei.apply(this, arguments);
8276
- }, Hm = (
8279
+ }, Hv = (
8277
8280
  /** @class */
8278
8281
  function() {
8279
8282
  function t(e, n, r) {
@@ -8325,7 +8328,7 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8325
8328
  }
8326
8329
  }, t;
8327
8330
  }()
8328
- ), Gm = /* @__PURE__ */ function() {
8331
+ ), Gv = /* @__PURE__ */ function() {
8329
8332
  var t = function(e, n) {
8330
8333
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8331
8334
  r.__proto__ = i;
@@ -8342,18 +8345,18 @@ var go = "0.57.2", $m = /* @__PURE__ */ function() {
8342
8345
  }
8343
8346
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8344
8347
  };
8345
- }(), zm = (
8348
+ }(), zv = (
8346
8349
  /** @class */
8347
8350
  function(t) {
8348
- Gm(e, t);
8351
+ Gv(e, t);
8349
8352
  function e(n, r, i) {
8350
8353
  var o = t.call(this, n, r, i) || this;
8351
8354
  return o._config.enabled && o.enable(), o;
8352
8355
  }
8353
8356
  return e;
8354
- }(Hm)
8357
+ }(Hv)
8355
8358
  );
8356
- function qm(t, e, n) {
8359
+ function qv(t, e, n) {
8357
8360
  var r, i;
8358
8361
  try {
8359
8362
  i = t();
@@ -8366,11 +8369,11 @@ function qm(t, e, n) {
8366
8369
  function bo(t) {
8367
8370
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
8368
8371
  }
8369
- var Xm = "http.method", Km = "http.url", Wm = "http.host", Ym = "http.scheme", Jm = "http.status_code", Qm = "http.user_agent", Zm = "http.request_content_length_uncompressed", ev = Xm, tv = Km, nv = Wm, rv = Ym, iv = Jm, ov = Qm, av = Zm, ge;
8372
+ var Xv = "http.method", Kv = "http.url", Wv = "http.host", Yv = "http.scheme", Jv = "http.status_code", Qv = "http.user_agent", Zv = "http.request_content_length_uncompressed", em = Xv, tm = Kv, nm = Wv, rm = Yv, im = Jv, om = Qv, am = Zv, ge;
8370
8373
  (function(t) {
8371
8374
  t.METHOD_OPEN = "open", t.METHOD_SEND = "send", t.EVENT_ABORT = "abort", t.EVENT_ERROR = "error", t.EVENT_LOAD = "loaded", t.EVENT_TIMEOUT = "timeout";
8372
8375
  })(ge || (ge = {}));
8373
- var sv = function(t) {
8376
+ var sm = function(t) {
8374
8377
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
8375
8378
  if (n) return n.call(t);
8376
8379
  if (t && typeof t.length == "number") return {
@@ -8379,7 +8382,7 @@ var sv = function(t) {
8379
8382
  }
8380
8383
  };
8381
8384
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
8382
- }, uv = function(t, e) {
8385
+ }, um = function(t, e) {
8383
8386
  var n = typeof Symbol == "function" && t[Symbol.iterator];
8384
8387
  if (!n) return t;
8385
8388
  var r = n.call(t), i, o = [], a;
@@ -8395,10 +8398,10 @@ var sv = function(t) {
8395
8398
  }
8396
8399
  }
8397
8400
  return o;
8398
- }, cv = E.createComponentLogger({
8401
+ }, cm = E.createComponentLogger({
8399
8402
  namespace: "@opentelemetry/opentelemetry-instrumentation-xml-http-request/utils"
8400
8403
  });
8401
- function lv(t) {
8404
+ function lm(t) {
8402
8405
  if (typeof Document < "u" && t instanceof Document)
8403
8406
  return new XMLSerializer().serializeToString(document).length;
8404
8407
  if (t instanceof Blob)
@@ -8406,22 +8409,22 @@ function lv(t) {
8406
8409
  if (t.byteLength !== void 0)
8407
8410
  return t.byteLength;
8408
8411
  if (t instanceof FormData)
8409
- return fv(t);
8412
+ return fm(t);
8410
8413
  if (t instanceof URLSearchParams)
8411
8414
  return Eo(t.toString());
8412
8415
  if (typeof t == "string")
8413
8416
  return Eo(t);
8414
- cv.warn("unknown body type");
8417
+ cm.warn("unknown body type");
8415
8418
  }
8416
- var pv = new TextEncoder();
8419
+ var pm = new TextEncoder();
8417
8420
  function Eo(t) {
8418
- return pv.encode(t).byteLength;
8421
+ return pm.encode(t).byteLength;
8419
8422
  }
8420
- function fv(t) {
8423
+ function fm(t) {
8421
8424
  var e, n, r = 0;
8422
8425
  try {
8423
- for (var i = sv(t.entries()), o = i.next(); !o.done; o = i.next()) {
8424
- var a = uv(o.value, 2), u = a[0], c = a[1];
8426
+ for (var i = sm(t.entries()), o = i.next(); !o.done; o = i.next()) {
8427
+ var a = um(o.value, 2), u = a[0], c = a[1];
8425
8428
  r += u.length, c instanceof Blob ? r += c.size : r += c.length;
8426
8429
  }
8427
8430
  } catch (s) {
@@ -8439,7 +8442,7 @@ var To = "0.57.2", ti;
8439
8442
  (function(t) {
8440
8443
  t.HTTP_STATUS_TEXT = "http.status_text";
8441
8444
  })(ti || (ti = {}));
8442
- var hv = /* @__PURE__ */ function() {
8445
+ var hm = /* @__PURE__ */ function() {
8443
8446
  var t = function(e, n) {
8444
8447
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8445
8448
  r.__proto__ = i;
@@ -8456,10 +8459,10 @@ var hv = /* @__PURE__ */ function() {
8456
8459
  }
8457
8460
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8458
8461
  };
8459
- }(), dv = 300, mv = (
8462
+ }(), dm = 300, vm = (
8460
8463
  /** @class */
8461
8464
  function(t) {
8462
- hv(e, t);
8465
+ hm(e, t);
8463
8466
  function e(n) {
8464
8467
  n === void 0 && (n = {});
8465
8468
  var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", To, n) || this;
@@ -8483,16 +8486,16 @@ var hv = /* @__PURE__ */ function() {
8483
8486
  var o = i.tracer.startSpan("CORS Preflight", {
8484
8487
  startTime: r[S.FETCH_START]
8485
8488
  });
8486
- pt(o, r, i.getConfig().ignoreNetworkEvents), o.end(r[S.RESPONSE_END]);
8489
+ ft(o, r, i.getConfig().ignoreNetworkEvents), o.end(r[S.RESPONSE_END]);
8487
8490
  });
8488
8491
  }, e.prototype._addFinalSpanAttributes = function(n, r, i) {
8489
8492
  if (typeof i == "string") {
8490
8493
  var o = _e(i);
8491
- r.status !== void 0 && n.setAttribute(iv, r.status), r.statusText !== void 0 && n.setAttribute(ti.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(nv, o.host), n.setAttribute(rv, o.protocol.replace(":", "")), n.setAttribute(ov, navigator.userAgent);
8494
+ r.status !== void 0 && n.setAttribute(im, r.status), r.statusText !== void 0 && n.setAttribute(ti.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(nm, o.host), n.setAttribute(rm, o.protocol.replace(":", "")), n.setAttribute(om, navigator.userAgent);
8492
8495
  }
8493
8496
  }, e.prototype._applyAttributesAfterXHR = function(n, r) {
8494
8497
  var i = this, o = this.getConfig().applyCustomAttributesOnSpan;
8495
- typeof o == "function" && qm(function() {
8498
+ typeof o == "function" && qv(function() {
8496
8499
  return o(n, r);
8497
8500
  }, function(a) {
8498
8501
  a && i._diag.error("applyCustomAttributesOnSpan", a);
@@ -8521,7 +8524,7 @@ var hv = /* @__PURE__ */ function() {
8521
8524
  var s = c.mainRequest;
8522
8525
  this._markResourceAsUsed(s);
8523
8526
  var l = c.corsPreFlightRequest;
8524
- l && (this._addChildSpan(r, l), this._markResourceAsUsed(l)), pt(r, s, this.getConfig().ignoreNetworkEvents);
8527
+ l && (this._addChildSpan(r, l), this._markResourceAsUsed(l)), ft(r, s, this.getConfig().ignoreNetworkEvents);
8525
8528
  }
8526
8529
  }
8527
8530
  }, e.prototype._cleanPreviousSpanInformation = function(n) {
@@ -8532,13 +8535,13 @@ var hv = /* @__PURE__ */ function() {
8532
8535
  }
8533
8536
  }, e.prototype._createSpan = function(n, r, i) {
8534
8537
  var o;
8535
- if (vs(r, this.getConfig().ignoreUrls)) {
8538
+ if (ms(r, this.getConfig().ignoreUrls)) {
8536
8539
  this._diag.debug("ignoring span as url matches ignored url");
8537
8540
  return;
8538
8541
  }
8539
8542
  var a = i.toUpperCase(), u = this.tracer.startSpan(a, {
8540
8543
  kind: Ut.CLIENT,
8541
- attributes: (o = {}, o[ev] = i, o[tv] = _e(r).toString(), o)
8544
+ attributes: (o = {}, o[em] = i, o[tm] = _e(r).toString(), o)
8542
8545
  });
8543
8546
  return u.addEvent(ge.METHOD_OPEN), this._cleanPreviousSpanInformation(n), this._xhrMem.set(n, {
8544
8547
  span: u,
@@ -8559,20 +8562,20 @@ var hv = /* @__PURE__ */ function() {
8559
8562
  };
8560
8563
  }, e.prototype._patchSend = function() {
8561
8564
  var n = this;
8562
- function r(l, p, f, v) {
8563
- var m = p.callbackToRemoveEvents;
8564
- typeof m == "function" && m();
8565
+ function r(l, p, f, m) {
8566
+ var v = p.callbackToRemoveEvents;
8567
+ typeof v == "function" && v();
8565
8568
  var y = p.span, _ = p.spanUrl, b = p.sendStartTime;
8566
- y && (n._findResourceAndAddNetworkEvents(p, y, _, b, f), y.addEvent(l, v), n._addFinalSpanAttributes(y, p, _), y.end(v), n._tasksCount--), n._clearResources();
8569
+ y && (n._findResourceAndAddNetworkEvents(p, y, _, b, f), y.addEvent(l, m), n._addFinalSpanAttributes(y, p, _), y.end(m), n._tasksCount--), n._clearResources();
8567
8570
  }
8568
8571
  function i(l, p) {
8569
8572
  var f = n._xhrMem.get(p);
8570
8573
  if (f) {
8571
8574
  f.status = p.status, f.statusText = p.statusText, n._xhrMem.delete(p), f.span && n._applyAttributesAfterXHR(f.span, p);
8572
- var v = Fe(), m = Date.now();
8575
+ var m = Fe(), v = Date.now();
8573
8576
  setTimeout(function() {
8574
- r(l, f, v, m);
8575
- }, dv);
8577
+ r(l, f, m, v);
8578
+ }, dm);
8576
8579
  }
8577
8580
  }
8578
8581
  function o() {
@@ -8594,20 +8597,20 @@ var hv = /* @__PURE__ */ function() {
8594
8597
  }
8595
8598
  return function(l) {
8596
8599
  return function() {
8597
- for (var p = this, f = [], v = 0; v < arguments.length; v++)
8598
- f[v] = arguments[v];
8599
- var m = n._xhrMem.get(this);
8600
- if (!m)
8600
+ for (var p = this, f = [], m = 0; m < arguments.length; m++)
8601
+ f[m] = arguments[m];
8602
+ var v = n._xhrMem.get(this);
8603
+ if (!v)
8601
8604
  return l.apply(this, f);
8602
- var y = m.span, _ = m.spanUrl;
8605
+ var y = v.span, _ = v.spanUrl;
8603
8606
  if (y && _) {
8604
8607
  if (n.getConfig().measureRequestSize && f != null && f[0]) {
8605
- var b = f[0], L = lv(b);
8606
- L !== void 0 && y.setAttribute(av, L);
8608
+ var b = f[0], L = lm(b);
8609
+ L !== void 0 && y.setAttribute(am, L);
8607
8610
  }
8608
8611
  C.with(R.setSpan(C.active(), y), function() {
8609
- n._tasksCount++, m.sendStartTime = Fe(), y.addEvent(ge.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), m.callbackToRemoveEvents = function() {
8610
- s(p), m.createdResources && m.createdResources.observer.disconnect();
8612
+ n._tasksCount++, v.sendStartTime = Fe(), y.addEvent(ge.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), v.callbackToRemoveEvents = function() {
8613
+ s(p), v.createdResources && v.createdResources.observer.disconnect();
8611
8614
  }, n._addHeaders(p, _), n._addResourceObserver(p, _);
8612
8615
  });
8613
8616
  }
@@ -8619,35 +8622,35 @@ var hv = /* @__PURE__ */ function() {
8619
8622
  }, e.prototype.disable = function() {
8620
8623
  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();
8621
8624
  }, e;
8622
- }(zm)
8625
+ }(zv)
8623
8626
  );
8624
- const vv = (t, e, n) => {
8627
+ const mm = (t, e, n) => {
8625
8628
  var r, i;
8626
8629
  const o = P({}, e);
8627
8630
  return n ? ((r = Object.keys(o)) == null || r.forEach((a) => {
8628
8631
  [...n].includes(a?.toLowerCase()) || (o[a] = "[REDACTED]");
8629
8632
  }), o) : ((i = Object.keys(o)) == null || i.forEach((a) => {
8630
- [...yv, ...t].includes(
8633
+ [...ym, ...t].includes(
8631
8634
  a?.toLowerCase()
8632
8635
  ) && (o[a] = "[REDACTED]");
8633
8636
  }), o);
8634
- }, yv = [
8637
+ }, ym = [
8635
8638
  "authorization",
8636
8639
  "cookie",
8637
8640
  "proxy-authorization",
8638
8641
  "token"
8639
- ], gv = [
8642
+ ], gm = [
8640
8643
  "https://www.googleapis.com/identitytoolkit",
8641
8644
  "https://securetoken.googleapis.com"
8642
- ], _v = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), bv = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
8643
- function Ev(t) {
8644
- return !!(t.includes("/sdk/evalx") && t.match(_v) || t.includes("/eval/") && t.match(bv));
8645
+ ], _m = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), bm = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
8646
+ function Em(t) {
8647
+ return !!(t.includes("/sdk/evalx") && t.match(_m) || t.includes("/eval/") && t.match(bm));
8645
8648
  }
8646
- const Tv = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8649
+ const Tm = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8647
8650
  (e) => t.toLocaleLowerCase().includes(e)
8648
- ), wv = (t) => Ev(t), Sv = (t, e) => e.some(
8651
+ ), wm = (t) => Em(t), Sm = (t, e) => e.some(
8649
8652
  (n) => t.toLocaleLowerCase().includes(n)
8650
- ), Ov = (t, e, n) => !Sv(t, e) && !wv(t) && !Tv(t), Av = (t, e, n) => {
8653
+ ), Om = (t, e, n) => !Sm(t, e) && !wm(t) && !Tm(t), Am = (t, e, n) => {
8651
8654
  var r;
8652
8655
  if (n.some(
8653
8656
  (a) => t.toLowerCase().includes(a)
@@ -8659,7 +8662,7 @@ const Tv = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8659
8662
  return i.forEach((a) => {
8660
8663
  t.match(a) && (o = !0);
8661
8664
  }), o;
8662
- }, wo = 64 * 1024, xv = {
8665
+ }, wo = 64 * 1024, xm = {
8663
8666
  "application/json": 64 * 1024 * 1024,
8664
8667
  // MB
8665
8668
  "text/plain": 64 * 1024 * 1024
@@ -8674,7 +8677,7 @@ const Tv = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8674
8677
  c = c.split(";")[0];
8675
8678
  } catch {
8676
8679
  }
8677
- u = (a = xv[c]) != null ? a : wo;
8680
+ u = (a = xm[c]) != null ? a : wo;
8678
8681
  }
8679
8682
  if (t) {
8680
8683
  if (e)
@@ -8705,7 +8708,7 @@ const Tv = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8705
8708
  } catch {
8706
8709
  }
8707
8710
  return t;
8708
- }, Nv = (t, e, n) => kt(void 0, null, function* () {
8711
+ }, Nm = (t, e, n) => at(void 0, null, function* () {
8709
8712
  let r;
8710
8713
  try {
8711
8714
  const i = t.clone().body;
@@ -8742,7 +8745,7 @@ var Rs = (
8742
8745
  return this._delegate.shutdown();
8743
8746
  }, t;
8744
8747
  }()
8745
- ), Cv = /* @__PURE__ */ function() {
8748
+ ), Cm = /* @__PURE__ */ function() {
8746
8749
  var t = function(e, n) {
8747
8750
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8748
8751
  r.__proto__ = i;
@@ -8762,7 +8765,7 @@ var Rs = (
8762
8765
  }(), So = (
8763
8766
  /** @class */
8764
8767
  function(t) {
8765
- Cv(e, t);
8768
+ Cm(e, t);
8766
8769
  function e(n, r, i) {
8767
8770
  var o = t.call(this, n) || this;
8768
8771
  return o.name = "OTLPExporterError", o.data = i, o.code = r, o;
@@ -8770,33 +8773,33 @@ var Rs = (
8770
8773
  return e;
8771
8774
  }(Error)
8772
8775
  );
8773
- function Lv(t) {
8776
+ function Lm(t) {
8774
8777
  if (!Number.isNaN(t) && Number.isFinite(t) && t > 0)
8775
8778
  return t;
8776
8779
  throw new Error("Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '" + t + "')");
8777
8780
  }
8778
- function Rv(t) {
8781
+ function Rm(t) {
8779
8782
  if (t != null)
8780
8783
  return function() {
8781
8784
  return t;
8782
8785
  };
8783
8786
  }
8784
- function Iv(t, e, n) {
8787
+ function Im(t, e, n) {
8785
8788
  var r, i, o, a, u, c;
8786
8789
  return {
8787
- timeoutMillis: Lv((i = (r = t.timeoutMillis) !== null && r !== void 0 ? r : e.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
8790
+ timeoutMillis: Lm((i = (r = t.timeoutMillis) !== null && r !== void 0 ? r : e.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
8788
8791
  concurrencyLimit: (a = (o = t.concurrencyLimit) !== null && o !== void 0 ? o : e.concurrencyLimit) !== null && a !== void 0 ? a : n.concurrencyLimit,
8789
8792
  compression: (c = (u = t.compression) !== null && u !== void 0 ? u : e.compression) !== null && c !== void 0 ? c : n.compression
8790
8793
  };
8791
8794
  }
8792
- function Pv() {
8795
+ function Pm() {
8793
8796
  return {
8794
8797
  timeoutMillis: 1e4,
8795
8798
  concurrencyLimit: 30,
8796
8799
  compression: "none"
8797
8800
  };
8798
8801
  }
8799
- var kv = function(t, e, n, r) {
8802
+ var km = function(t, e, n, r) {
8800
8803
  function i(o) {
8801
8804
  return o instanceof n ? o : new n(function(a) {
8802
8805
  a(o);
@@ -8822,7 +8825,7 @@ var kv = function(t, e, n, r) {
8822
8825
  }
8823
8826
  s((r = r.apply(t, [])).next());
8824
8827
  });
8825
- }, Mv = function(t, e) {
8828
+ }, Mm = function(t, e) {
8826
8829
  var n = { label: 0, sent: function() {
8827
8830
  if (o[0] & 1) throw o[1];
8828
8831
  return o[1];
@@ -8881,7 +8884,7 @@ var kv = function(t, e, n, r) {
8881
8884
  if (s[0] & 5) throw s[1];
8882
8885
  return { value: s[0] ? s[1] : void 0, done: !0 };
8883
8886
  }
8884
- }, Dv = (
8887
+ }, Dm = (
8885
8888
  /** @class */
8886
8889
  function() {
8887
8890
  function t(e) {
@@ -8900,8 +8903,8 @@ var kv = function(t, e, n, r) {
8900
8903
  }, t.prototype.hasReachedLimit = function() {
8901
8904
  return this._sendingPromises.length >= this._concurrencyLimit;
8902
8905
  }, t.prototype.awaitAll = function() {
8903
- return kv(this, void 0, void 0, function() {
8904
- return Mv(this, function(e) {
8906
+ return km(this, void 0, void 0, function() {
8907
+ return Mm(this, function(e) {
8905
8908
  switch (e.label) {
8906
8909
  case 0:
8907
8910
  return [4, Promise.all(this._sendingPromises)];
@@ -8916,20 +8919,20 @@ var kv = function(t, e, n, r) {
8916
8919
  }, t;
8917
8920
  }()
8918
8921
  );
8919
- function Uv(t) {
8920
- return new Dv(t.concurrencyLimit);
8922
+ function Um(t) {
8923
+ return new Dm(t.concurrencyLimit);
8921
8924
  }
8922
- function $v(t) {
8925
+ function $m(t) {
8923
8926
  return Object.prototype.hasOwnProperty.call(t, "partialSuccess");
8924
8927
  }
8925
- function jv() {
8928
+ function jm() {
8926
8929
  return {
8927
8930
  handleResponse: function(t) {
8928
- t == null || !$v(t) || t.partialSuccess == null || Object.keys(t.partialSuccess).length === 0 || E.warn("Received Partial Success response:", JSON.stringify(t.partialSuccess));
8931
+ t == null || !$m(t) || t.partialSuccess == null || Object.keys(t.partialSuccess).length === 0 || E.warn("Received Partial Success response:", JSON.stringify(t.partialSuccess));
8929
8932
  }
8930
8933
  };
8931
8934
  }
8932
- var Bv = function(t, e, n, r) {
8935
+ var Bm = function(t, e, n, r) {
8933
8936
  function i(o) {
8934
8937
  return o instanceof n ? o : new n(function(a) {
8935
8938
  a(o);
@@ -8955,7 +8958,7 @@ var Bv = function(t, e, n, r) {
8955
8958
  }
8956
8959
  s((r = r.apply(t, [])).next());
8957
8960
  });
8958
- }, Fv = function(t, e) {
8961
+ }, Fm = function(t, e) {
8959
8962
  var n = { label: 0, sent: function() {
8960
8963
  if (o[0] & 1) throw o[1];
8961
8964
  return o[1];
@@ -9014,7 +9017,7 @@ var Bv = function(t, e, n, r) {
9014
9017
  if (s[0] & 5) throw s[1];
9015
9018
  return { value: s[0] ? s[1] : void 0, done: !0 };
9016
9019
  }
9017
- }, Vv = (
9020
+ }, Vm = (
9018
9021
  /** @class */
9019
9022
  function() {
9020
9023
  function t(e, n, r, i, o) {
@@ -9073,8 +9076,8 @@ var Bv = function(t, e, n, r) {
9073
9076
  }, t.prototype.forceFlush = function() {
9074
9077
  return this._promiseQueue.awaitAll();
9075
9078
  }, t.prototype.shutdown = function() {
9076
- return Bv(this, void 0, void 0, function() {
9077
- return Fv(this, function(e) {
9079
+ return Bm(this, void 0, void 0, function() {
9080
+ return Fm(this, function(e) {
9078
9081
  switch (e.label) {
9079
9082
  case 0:
9080
9083
  return this._diagLogger.debug("shutdown started"), [4, this.forceFlush()];
@@ -9089,33 +9092,33 @@ var Bv = function(t, e, n, r) {
9089
9092
  }, t;
9090
9093
  }()
9091
9094
  );
9092
- function Hv(t, e) {
9093
- return new Vv(t.transport, t.serializer, jv(), t.promiseHandler, e.timeout);
9095
+ function Hm(t, e) {
9096
+ return new Vm(t.transport, t.serializer, jm(), t.promiseHandler, e.timeout);
9094
9097
  }
9095
9098
  function Is(t, e, n) {
9096
- return Hv({
9099
+ return Hm({
9097
9100
  transport: n,
9098
9101
  serializer: e,
9099
- promiseHandler: Uv(t)
9102
+ promiseHandler: Um(t)
9100
9103
  }, { timeout: t.timeoutMillis });
9101
9104
  }
9102
9105
  function Ps(t) {
9103
9106
  var e = BigInt(1e9);
9104
9107
  return BigInt(t[0]) * e + BigInt(t[1]);
9105
9108
  }
9106
- function Gv(t) {
9109
+ function Gm(t) {
9107
9110
  var e = Number(BigInt.asUintN(32, t)), n = Number(BigInt.asUintN(32, t >> BigInt(32)));
9108
9111
  return { low: e, high: n };
9109
9112
  }
9110
9113
  function ks(t) {
9111
9114
  var e = Ps(t);
9112
- return Gv(e);
9115
+ return Gm(e);
9113
9116
  }
9114
- function zv(t) {
9117
+ function zm(t) {
9115
9118
  var e = Ps(t);
9116
9119
  return e.toString();
9117
9120
  }
9118
- var qv = typeof BigInt < "u" ? zv : be;
9121
+ var qm = typeof BigInt < "u" ? zm : be;
9119
9122
  function Oo(t) {
9120
9123
  return t;
9121
9124
  }
@@ -9123,7 +9126,7 @@ function Ms(t) {
9123
9126
  if (t !== void 0)
9124
9127
  return Si(t);
9125
9128
  }
9126
- var Xv = {
9129
+ var Xm = {
9127
9130
  encodeHrTime: ks,
9128
9131
  encodeSpanContext: Si,
9129
9132
  encodeOptionalSpanContext: Ms
@@ -9131,15 +9134,15 @@ var Xv = {
9131
9134
  function Ds(t) {
9132
9135
  var e, n;
9133
9136
  if (t === void 0)
9134
- return Xv;
9137
+ return Xm;
9135
9138
  var r = (e = t.useLongBits) !== null && e !== void 0 ? e : !0, i = (n = t.useHex) !== null && n !== void 0 ? n : !1;
9136
9139
  return {
9137
- encodeHrTime: r ? ks : qv,
9140
+ encodeHrTime: r ? ks : qm,
9138
9141
  encodeSpanContext: i ? Oo : Si,
9139
9142
  encodeOptionalSpanContext: i ? Oo : Ms
9140
9143
  };
9141
9144
  }
9142
- var Kv = function(t, e) {
9145
+ var Km = function(t, e) {
9143
9146
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9144
9147
  if (!n) return t;
9145
9148
  var r = n.call(t), i, o = [], a;
@@ -9184,7 +9187,7 @@ function Bs(t) {
9184
9187
  return e === "string" ? { stringValue: t } : e === "number" ? Number.isInteger(t) ? { intValue: t } : { doubleValue: t } : e === "boolean" ? { boolValue: t } : t instanceof Uint8Array ? { bytesValue: t } : Array.isArray(t) ? { arrayValue: { values: t.map(Bs) } } : e === "object" && t != null ? {
9185
9188
  kvlistValue: {
9186
9189
  values: Object.entries(t).map(function(n) {
9187
- var r = Kv(n, 2), i = r[0], o = r[1];
9190
+ var r = Km(n, 2), i = r[0], o = r[1];
9188
9191
  return js(i, o);
9189
9192
  })
9190
9193
  }
@@ -9198,7 +9201,7 @@ var de;
9198
9201
  (function(t) {
9199
9202
  t[t.HISTOGRAM = 0] = "HISTOGRAM", t[t.EXPONENTIAL_HISTOGRAM = 1] = "EXPONENTIAL_HISTOGRAM", t[t.GAUGE = 2] = "GAUGE", t[t.SUM = 3] = "SUM";
9200
9203
  })(de || (de = {}));
9201
- var Wv = /* @__PURE__ */ function() {
9204
+ var Wm = /* @__PURE__ */ function() {
9202
9205
  var t = function(e, n) {
9203
9206
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
9204
9207
  r.__proto__ = i;
@@ -9300,7 +9303,7 @@ var Wv = /* @__PURE__ */ function() {
9300
9303
  if (s[0] & 5) throw s[1];
9301
9304
  return { value: s[0] ? s[1] : void 0, done: !0 };
9302
9305
  }
9303
- }, Yv = function(t, e) {
9306
+ }, Ym = function(t, e) {
9304
9307
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9305
9308
  if (!n) return t;
9306
9309
  var r = n.call(t), i, o = [], a;
@@ -9316,11 +9319,11 @@ var Wv = /* @__PURE__ */ function() {
9316
9319
  }
9317
9320
  }
9318
9321
  return o;
9319
- }, Jv = function(t, e, n) {
9322
+ }, Jm = function(t, e, n) {
9320
9323
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
9321
9324
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
9322
9325
  return t.concat(o || Array.prototype.slice.call(e));
9323
- }, Qv = function(t) {
9326
+ }, Qm = function(t) {
9324
9327
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
9325
9328
  if (n) return n.call(t);
9326
9329
  if (t && typeof t.length == "number") return {
@@ -9330,7 +9333,7 @@ var Wv = /* @__PURE__ */ function() {
9330
9333
  };
9331
9334
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
9332
9335
  };
9333
- function Zv(t) {
9336
+ function Zm(t) {
9334
9337
  return t != null;
9335
9338
  }
9336
9339
  function Fs(t) {
@@ -9346,7 +9349,7 @@ function ey(t) {
9346
9349
  var Vs = (
9347
9350
  /** @class */
9348
9351
  function(t) {
9349
- Wv(e, t);
9352
+ Wm(e, t);
9350
9353
  function e(n) {
9351
9354
  var r = t.call(this, n) || this;
9352
9355
  return Object.setPrototypeOf(r, e.prototype), r;
@@ -9405,7 +9408,7 @@ function ny(t) {
9405
9408
  function No(t, e) {
9406
9409
  var n = [];
9407
9410
  return t.forEach(function(r) {
9408
- n.push.apply(n, Jv([], Yv(e(r)), !1));
9411
+ n.push.apply(n, Jm([], Ym(e(r)), !1));
9409
9412
  }), n;
9410
9413
  }
9411
9414
  function ry(t, e) {
@@ -9413,7 +9416,7 @@ function ry(t, e) {
9413
9416
  if (t.size !== e.size)
9414
9417
  return !1;
9415
9418
  try {
9416
- for (var i = Qv(t), o = i.next(); !o.done; o = i.next()) {
9419
+ for (var i = Qm(t), o = i.next(); !o.done; o = i.next()) {
9417
9420
  var a = o.value;
9418
9421
  if (!e.has(a))
9419
9422
  return !1;
@@ -9466,7 +9469,7 @@ function we(t, e, n) {
9466
9469
  type: e,
9467
9470
  description: (r = n?.description) !== null && r !== void 0 ? r : "",
9468
9471
  unit: (i = n?.unit) !== null && i !== void 0 ? i : "",
9469
- valueType: (o = n?.valueType) !== null && o !== void 0 ? o : xe.DOUBLE,
9472
+ valueType: (o = n?.valueType) !== null && o !== void 0 ? o : Ne.DOUBLE,
9470
9473
  advice: (a = n?.advice) !== null && a !== void 0 ? a : {}
9471
9474
  };
9472
9475
  }
@@ -9731,17 +9734,17 @@ var yr = (
9731
9734
  return new t(_r([], gr(this._counts), !1));
9732
9735
  }, t;
9733
9736
  }()
9734
- ), dy = 52, my = 2146435072, vy = 1048575, Gs = 1023, zs = -1022, qs = Gs, ni = Math.pow(2, -1022);
9737
+ ), dy = 52, vy = 2146435072, my = 1048575, Gs = 1023, zs = -1022, qs = Gs, ni = Math.pow(2, -1022);
9735
9738
  function Xs(t) {
9736
9739
  var e = new DataView(new ArrayBuffer(8));
9737
9740
  e.setFloat64(0, t);
9738
- var n = e.getUint32(0), r = (n & my) >> 20;
9741
+ var n = e.getUint32(0), r = (n & vy) >> 20;
9739
9742
  return r - Gs;
9740
9743
  }
9741
9744
  function Ks(t) {
9742
9745
  var e = new DataView(new ArrayBuffer(8));
9743
9746
  e.setFloat64(0, t);
9744
- var n = e.getUint32(0), r = e.getUint32(4), i = (n & vy) * Math.pow(2, 32);
9747
+ var n = e.getUint32(0), r = e.getUint32(4), i = (n & my) * Math.pow(2, 32);
9745
9748
  return i + r;
9746
9749
  }
9747
9750
  function ri(t, e) {
@@ -10192,7 +10195,7 @@ var Ty = function(t, e) {
10192
10195
  }
10193
10196
  }
10194
10197
  return o;
10195
- }, Et = (
10198
+ }, Tt = (
10196
10199
  /** @class */
10197
10200
  function() {
10198
10201
  function t(e, n, r, i) {
@@ -10213,13 +10216,13 @@ var Ty = function(t, e) {
10213
10216
  this.monotonic = e, this.kind = Ve.SUM;
10214
10217
  }
10215
10218
  return t.prototype.createAccumulation = function(e) {
10216
- return new Et(e, this.monotonic);
10219
+ return new Tt(e, this.monotonic);
10217
10220
  }, t.prototype.merge = function(e, n) {
10218
10221
  var r = e.toPointValue(), i = n.toPointValue();
10219
- return n.reset ? new Et(n.startTime, this.monotonic, i, n.reset) : new Et(e.startTime, this.monotonic, r + i);
10222
+ return n.reset ? new Tt(n.startTime, this.monotonic, i, n.reset) : new Tt(e.startTime, this.monotonic, r + i);
10220
10223
  }, t.prototype.diff = function(e, n) {
10221
10224
  var r = e.toPointValue(), i = n.toPointValue();
10222
- return this.monotonic && r > i ? new Et(n.startTime, this.monotonic, i, !0) : new Et(n.startTime, this.monotonic, i - r);
10225
+ return this.monotonic && r > i ? new Tt(n.startTime, this.monotonic, i, !0) : new Tt(n.startTime, this.monotonic, i - r);
10223
10226
  }, t.prototype.toMetricData = function(e, n, r, i) {
10224
10227
  return {
10225
10228
  descriptor: e,
@@ -10745,7 +10748,7 @@ var Ty = function(t, e) {
10745
10748
  return n = r.sent(), n instanceof Vs ? (E.error("Export took longer than %s milliseconds and timed out.", this._exportTimeout), [
10746
10749
  2
10747
10750
  /*return*/
10748
- ]) : (Ne(n), [3, 3]);
10751
+ ]) : (Ce(n), [3, 3]);
10749
10752
  case 3:
10750
10753
  return [
10751
10754
  2
@@ -10772,7 +10775,7 @@ var Ty = function(t, e) {
10772
10775
  case 3:
10773
10776
  return l.sent(), [3, 5];
10774
10777
  case 4:
10775
- return u = l.sent(), E.debug("Error while resolving async portion of resource: ", u), Ne(u), [3, 5];
10778
+ return u = l.sent(), E.debug("Error while resolving async portion of resource: ", u), Ce(u), [3, 5];
10776
10779
  case 5:
10777
10780
  return o.scopeMetrics.length === 0 ? [
10778
10781
  2
@@ -10874,7 +10877,7 @@ var Ty = function(t, e) {
10874
10877
  E.warn("non-number value provided to metric " + this._descriptor.name + ": " + e);
10875
10878
  return;
10876
10879
  }
10877
- this._descriptor.valueType === xe.INT && !Number.isInteger(e) && (E.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, ie(Date.now()));
10880
+ this._descriptor.valueType === Ne.INT && !Number.isInteger(e) && (E.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, ie(Date.now()));
10878
10881
  }, t;
10879
10882
  }()
10880
10883
  ), Ky = (
@@ -11463,8 +11466,8 @@ var Or = function(t) {
11463
11466
  var s = c.value;
11464
11467
  a = a.concat(s);
11465
11468
  }
11466
- } catch (v) {
11467
- n = { error: v };
11469
+ } catch (m) {
11470
+ n = { error: m };
11468
11471
  } finally {
11469
11472
  try {
11470
11473
  c && !c.done && (r = u.return) && r.call(u);
@@ -11479,8 +11482,8 @@ var Or = function(t) {
11479
11482
  var s = f.value;
11480
11483
  a = a.concat(s);
11481
11484
  }
11482
- } catch (v) {
11483
- i = { error: v };
11485
+ } catch (m) {
11486
+ i = { error: m };
11484
11487
  } finally {
11485
11488
  try {
11486
11489
  f && !f.done && (o = p.return) && o.call(p);
@@ -11547,7 +11550,7 @@ To resolve the conflict:`, $o(s, e))), o = c) : E.warn("A view or instrument wit
11547
11550
  });
11548
11551
  }, t;
11549
11552
  }()
11550
- ), mg = (
11553
+ ), vg = (
11551
11554
  /** @class */
11552
11555
  function() {
11553
11556
  function t(e, n) {
@@ -11558,10 +11561,10 @@ To resolve the conflict:`, $o(s, e))), o = c) : E.warn("A view or instrument wit
11558
11561
  E.warn("non-number value provided to metric " + this._instrumentName + ": " + e);
11559
11562
  return;
11560
11563
  }
11561
- this._valueType === xe.INT && !Number.isInteger(e) && (E.warn("INT value type cannot accept a floating-point value for " + this._instrumentName + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._buffer.set(n, e);
11564
+ this._valueType === Ne.INT && !Number.isInteger(e) && (E.warn("INT value type cannot accept a floating-point value for " + this._instrumentName + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._buffer.set(n, e);
11562
11565
  }, t;
11563
11566
  }()
11564
- ), vg = (
11567
+ ), mg = (
11565
11568
  /** @class */
11566
11569
  function() {
11567
11570
  function t() {
@@ -11574,7 +11577,7 @@ To resolve the conflict:`, $o(s, e))), o = c) : E.warn("A view or instrument wit
11574
11577
  E.warn("non-number value provided to metric " + e._descriptor.name + ": " + n);
11575
11578
  return;
11576
11579
  }
11577
- e._descriptor.valueType === xe.INT && !Number.isInteger(n) && (E.warn("INT value type cannot accept a floating-point value for " + e._descriptor.name + ", ignoring the fractional digits."), n = Math.trunc(n), !Number.isInteger(n)) || i.set(r, n);
11580
+ e._descriptor.valueType === Ne.INT && !Number.isInteger(n) && (E.warn("INT value type cannot accept a floating-point value for " + e._descriptor.name + ", ignoring the fractional digits."), n = Math.trunc(n), !Number.isInteger(n)) || i.set(r, n);
11578
11581
  }
11579
11582
  }, t;
11580
11583
  }()
@@ -11729,7 +11732,7 @@ To resolve the conflict:`, $o(s, e))), o = c) : E.warn("A view or instrument wit
11729
11732
  return xr(this, function(s) {
11730
11733
  switch (s.label) {
11731
11734
  case 0:
11732
- return u = new mg(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = jt(c, n)), [4, c];
11735
+ return u = new vg(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = jt(c, n)), [4, c];
11733
11736
  case 1:
11734
11737
  return s.sent(), a._metricStorages.forEach(function(l) {
11735
11738
  l.record(u._buffer, e);
@@ -11750,7 +11753,7 @@ To resolve the conflict:`, $o(s, e))), o = c) : E.warn("A view or instrument wit
11750
11753
  return xr(this, function(s) {
11751
11754
  switch (s.label) {
11752
11755
  case 0:
11753
- return u = new vg(), c = Promise.resolve(o(u)), n != null && (c = jt(c, n)), [4, c];
11756
+ return u = new mg(), c = Promise.resolve(o(u)), n != null && (c = jt(c, n)), [4, c];
11754
11757
  case 1:
11755
11758
  return s.sent(), a.forEach(function(l) {
11756
11759
  var p = u._buffer.get(l);
@@ -11983,7 +11986,7 @@ var Eg = new bg(), Tg = function(t, e, n, r) {
11983
11986
  case 1:
11984
11987
  return i = u.sent(), o = this.metricStorageRegistry.getStorages(e), o.length === 0 ? [2, null] : (a = o.map(function(c) {
11985
11988
  return c.collect(e, n);
11986
- }).filter(Zv), a.length === 0 ? [2, { errors: i }] : [2, {
11989
+ }).filter(Zm), a.length === 0 ? [2, { errors: i }] : [2, {
11987
11990
  scopeMetrics: {
11988
11991
  scope: this._instrumentationScope,
11989
11992
  metrics: a
@@ -12006,7 +12009,7 @@ var Eg = new bg(), Tg = function(t, e, n, r) {
12006
12009
  var s = Sg(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, e);
12007
12010
  if (f != null)
12008
12011
  return f;
12009
- var v = p.createAggregator(e), m = l.selectCardinalityLimit(e.type), y = new n(e, v, xi.Noop(), [l], m);
12012
+ var m = p.createAggregator(e), v = l.selectCardinalityLimit(e.type), y = new n(e, m, xi.Noop(), [l], v);
12010
12013
  return r.metricStorageRegistry.registerForCollector(l, y), y;
12011
12014
  });
12012
12015
  o = o.concat(u);
@@ -12342,8 +12345,8 @@ var Ig = (
12342
12345
  var s = c.value;
12343
12346
  this._sharedState.viewRegistry.addView(s);
12344
12347
  }
12345
- } catch (v) {
12346
- n = { error: v };
12348
+ } catch (m) {
12349
+ n = { error: m };
12347
12350
  } finally {
12348
12351
  try {
12349
12352
  c && !c.done && (r = u.return) && r.call(u);
@@ -12357,8 +12360,8 @@ var Ig = (
12357
12360
  var f = p.value;
12358
12361
  this.addMetricReader(f);
12359
12362
  }
12360
- } catch (v) {
12361
- i = { error: v };
12363
+ } catch (m) {
12364
+ i = { error: m };
12362
12365
  } finally {
12363
12366
  try {
12364
12367
  p && !p.done && (o = l.return) && o.call(l);
@@ -12477,10 +12480,10 @@ function Dg(t, e, n) {
12477
12480
  timeUnixNano: n.encodeHrTime(t.endTime)
12478
12481
  };
12479
12482
  switch (e) {
12480
- case xe.INT:
12483
+ case Ne.INT:
12481
12484
  r.asInt = t.value;
12482
12485
  break;
12483
- case xe.DOUBLE:
12486
+ case Ne.DOUBLE:
12484
12487
  r.asDouble = t.value;
12485
12488
  break;
12486
12489
  }
@@ -12650,23 +12653,23 @@ function Kg(t, e) {
12650
12653
  for (var a = Vg(o.value, 2), u = a[0], c = a[1], s = [], l = c.values(), p = l.next(); !p.done; ) {
12651
12654
  var f = p.value;
12652
12655
  if (f.length > 0) {
12653
- var v = f.map(function(y) {
12656
+ var m = f.map(function(y) {
12654
12657
  return Hg(y, e);
12655
12658
  });
12656
12659
  s.push({
12657
12660
  scope: $s(f[0].instrumentationLibrary),
12658
- spans: v,
12661
+ spans: m,
12659
12662
  schemaUrl: f[0].instrumentationLibrary.schemaUrl
12660
12663
  });
12661
12664
  }
12662
12665
  p = l.next();
12663
12666
  }
12664
- var m = {
12667
+ var v = {
12665
12668
  resource: Us(u),
12666
12669
  scopeSpans: s,
12667
12670
  schemaUrl: void 0
12668
12671
  };
12669
- r.push(m), o = i.next();
12672
+ r.push(v), o = i.next();
12670
12673
  }
12671
12674
  return r;
12672
12675
  }
@@ -12953,7 +12956,7 @@ var d_ = function(t, e) {
12953
12956
  }
12954
12957
  return o;
12955
12958
  };
12956
- function m_(t) {
12959
+ function v_(t) {
12957
12960
  return function() {
12958
12961
  var e, n = {};
12959
12962
  return Object.entries((e = t?.()) !== null && e !== void 0 ? e : {}).forEach(function(r) {
@@ -12971,7 +12974,7 @@ var He = function() {
12971
12974
  return t;
12972
12975
  }, He.apply(this, arguments);
12973
12976
  };
12974
- function v_(t, e, n) {
12977
+ function m_(t, e, n) {
12975
12978
  var r = He({}, n()), i = {};
12976
12979
  return function() {
12977
12980
  return e != null && Object.assign(i, e()), t != null && Object.assign(i, t()), Object.assign(i, r);
@@ -12987,10 +12990,10 @@ function y_(t) {
12987
12990
  }
12988
12991
  function g_(t, e, n) {
12989
12992
  var r, i, o, a;
12990
- return He(He({}, Iv(t, e, n)), { headers: v_(m_(t.headers), e.headers, n.headers), url: (i = (r = y_(t.url)) !== null && r !== void 0 ? r : e.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = t.agentOptions) !== null && o !== void 0 ? o : e.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
12993
+ return He(He({}, Im(t, e, n)), { headers: m_(v_(t.headers), e.headers, n.headers), url: (i = (r = y_(t.url)) !== null && r !== void 0 ? r : e.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = t.agentOptions) !== null && o !== void 0 ? o : e.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
12991
12994
  }
12992
12995
  function __(t, e) {
12993
- return He(He({}, Pv()), { headers: function() {
12996
+ return He(He({}, Pm()), { headers: function() {
12994
12997
  return t;
12995
12998
  }, url: "http://localhost:4318/" + e, agentOptions: { keepAlive: !0 } });
12996
12999
  }
@@ -12999,7 +13002,7 @@ function b_(t, e, n) {
12999
13002
  {
13000
13003
  url: t.url,
13001
13004
  timeoutMillis: t.timeoutMillis,
13002
- headers: Rv(t.headers),
13005
+ headers: Rm(t.headers),
13003
13006
  concurrencyLimit: t.concurrencyLimit
13004
13007
  },
13005
13008
  {},
@@ -13086,7 +13089,7 @@ var w_ = /* @__PURE__ */ function() {
13086
13089
  }
13087
13090
  };
13088
13091
  function S_() {
13089
- var t = ct(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13092
+ var t = lt(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13090
13093
  return e === "cumulative" ? oi : e === "delta" ? ou : e === "lowmemory" ? au : (E.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."), oi);
13091
13094
  }
13092
13095
  function O_(t) {
@@ -13211,7 +13214,7 @@ class I_ extends T_ {
13211
13214
  new Promise(
13212
13215
  (c) => setTimeout(
13213
13216
  c,
13214
- mi + vi * Math.pow(2, i)
13217
+ vi + mi * Math.pow(2, i)
13215
13218
  )
13216
13219
  ).then(() => {
13217
13220
  var c;
@@ -13249,7 +13252,7 @@ class P_ extends C_ {
13249
13252
  new Promise(
13250
13253
  (u) => setTimeout(
13251
13254
  u,
13252
- mi + vi * Math.pow(2, r)
13255
+ vi + mi * Math.pow(2, r)
13253
13256
  )
13254
13257
  ).then(() => {
13255
13258
  var u;
@@ -13266,12 +13269,12 @@ const k_ = "OT_ZONE_CONTEXT", M_ = "Navigation:", D_ = ["click", "input", "submi
13266
13269
  function U_() {
13267
13270
  return !1;
13268
13271
  }
13269
- const ai = class Re extends sd {
13272
+ const ai = class Ie extends sd {
13270
13273
  constructor(e = {}) {
13271
13274
  var n;
13272
13275
  super(
13273
- Re.moduleName,
13274
- Re.version,
13276
+ Ie.moduleName,
13277
+ Ie.version,
13275
13278
  e
13276
13279
  ), k(this, "_spansData", /* @__PURE__ */ new WeakMap()), k(this, "_zonePatched"), k(this, "_wrappedListeners", /* @__PURE__ */ new WeakMap()), k(this, "_eventsSpanMap", /* @__PURE__ */ new WeakMap()), k(this, "_eventNames"), k(this, "_shouldPreventSpanCreation"), this._eventNames = new Set(
13277
13280
  (n = e?.eventNames) != null ? n : D_
@@ -13414,16 +13417,16 @@ const ai = class Re extends sd {
13414
13417
  if (Date.now() - ((l = n.get(f.type)) != null ? l : 0) < 1e3 / 60)
13415
13418
  return e._invokeListener(o, this, s);
13416
13419
  n.set(f.type, Date.now()), f && (p = e._eventsSpanMap.get(f)), u && e.removePatchedListener(this, i, o);
13417
- const v = e._createSpan(f, p);
13418
- return v ? (f && e._eventsSpanMap.set(f, v), C.with(
13419
- R.setSpan(C.active(), v),
13420
+ const m = e._createSpan(f, p);
13421
+ return m ? (f && e._eventsSpanMap.set(f, m), C.with(
13422
+ R.setSpan(C.active(), m),
13420
13423
  () => {
13421
- const m = e._invokeListener(
13424
+ const v = e._invokeListener(
13422
13425
  o,
13423
13426
  this,
13424
13427
  s
13425
13428
  );
13426
- return v.end(), m;
13429
+ return m.end(), v;
13427
13430
  }
13428
13431
  )) : e._invokeListener(o, this, s);
13429
13432
  };
@@ -13604,8 +13607,8 @@ const ai = class Re extends sd {
13604
13607
  const e = this._getZoneWithPrototype();
13605
13608
  this._diag.debug(
13606
13609
  "applying patch to",
13607
- Re.moduleName,
13608
- Re.version,
13610
+ Ie.moduleName,
13611
+ Ie.version,
13609
13612
  "zone:",
13610
13613
  !!e
13611
13614
  ), e ? (Y(e.prototype.runTask) && (this._unwrap(e.prototype, "runTask"), this._diag.debug("removing previous patch from method runTask")), Y(e.prototype.scheduleTask) && (this._unwrap(e.prototype, "scheduleTask"), this._diag.debug(
@@ -13647,8 +13650,8 @@ const ai = class Re extends sd {
13647
13650
  const e = this._getZoneWithPrototype();
13648
13651
  this._diag.debug(
13649
13652
  "removing patch from",
13650
- Re.moduleName,
13651
- Re.version,
13653
+ Ie.moduleName,
13654
+ Ie.version,
13652
13655
  "zone:",
13653
13656
  !!e
13654
13657
  ), e && this._zonePatched ? (Y(e.prototype.runTask) && this._unwrap(e.prototype, "runTask"), Y(e.prototype.scheduleTask) && this._unwrap(e.prototype, "scheduleTask"), Y(e.prototype.cancelTask) && this._unwrap(e.prototype, "cancelTask")) : this._getPatchableEventTargets().forEach((n) => {
@@ -13663,18 +13666,18 @@ const ai = class Re extends sd {
13663
13666
  }
13664
13667
  };
13665
13668
  k(ai, "version", "0.1.0"), k(ai, "moduleName", "user-interaction");
13666
- let $_ = ai, Ie = {}, tt;
13669
+ let $_ = ai, Se = {}, tt;
13667
13670
  const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.js.log", B_ = "launchdarkly.exception.id", qo = "launchdarkly.sampling.ratio", uu = "log.severity", cu = "log.message", F_ = (t, e) => {
13668
13671
  var n, r, i, o, a, u, c, s, l;
13669
- if (Ie.tracerProvider !== void 0) {
13672
+ if (Se.tracerProvider !== void 0) {
13670
13673
  console.warn("OTEL already initialized. Skipping...");
13671
13674
  return;
13672
13675
  }
13673
13676
  tt = t;
13674
13677
  const p = t.backendUrl || void 0 || "https://pub.highlight.io", f = [
13675
13678
  ...(r = (n = t.networkRecordingOptions) == null ? void 0 : n.urlBlocklist) != null ? r : [],
13676
- ...gv
13677
- ], v = (i = t.environment) != null ? i : "production", m = {
13679
+ ...gm
13680
+ ], m = (i = t.environment) != null ? i : "production", v = {
13678
13681
  url: t.otlpEndpoint + "/v1/traces",
13679
13682
  concurrencyLimit: 100,
13680
13683
  timeoutMillis: 5e3,
@@ -13687,38 +13690,38 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13687
13690
  keepAlive: !0
13688
13691
  }
13689
13692
  }, y = new I_(
13690
- m,
13693
+ v,
13691
13694
  e
13692
13695
  ), _ = new V_(y, {
13693
13696
  maxExportBatchSize: 100,
13694
13697
  maxQueueSize: 1e3,
13695
- exportTimeoutMillis: m.timeoutMillis,
13696
- scheduledDelayMillis: m.timeoutMillis
13698
+ exportTimeoutMillis: v.timeoutMillis,
13699
+ scheduledDelayMillis: v.timeoutMillis
13697
13700
  }), b = new $t({
13698
13701
  [Zc]: (o = t.serviceName) != null ? o : "highlight-browser",
13699
- "deployment.environment.name": v,
13702
+ "deployment.environment.name": m,
13700
13703
  "highlight.project_id": t.projectId,
13701
13704
  [ol]: navigator.userAgent,
13702
13705
  "browser.language": navigator.language,
13703
13706
  "telemetry.distro.name": "@highlight-run/observability",
13704
13707
  "telemetry.distro.version": Dl
13705
13708
  });
13706
- Ie.tracerProvider = new Fd({
13709
+ Se.tracerProvider = new Fd({
13707
13710
  resource: b,
13708
13711
  mergeResourceWithDefaults: !0,
13709
13712
  spanProcessors: [_]
13710
- }), R.setGlobalTracerProvider(Ie.tracerProvider);
13711
- const L = new P_(ee(P({}, m), {
13713
+ }), R.setGlobalTracerProvider(Se.tracerProvider);
13714
+ const L = new P_(ee(P({}, v), {
13712
13715
  url: t.otlpEndpoint + "/v1/metrics"
13713
13716
  })), U = new qy({
13714
13717
  exporter: L,
13715
- exportIntervalMillis: m.timeoutMillis,
13716
- exportTimeoutMillis: m.timeoutMillis
13718
+ exportIntervalMillis: v.timeoutMillis,
13719
+ exportTimeoutMillis: v.timeoutMillis
13717
13720
  });
13718
- Ie.meterProvider = new Ig({ resource: b, readers: [U] }), he.setGlobalMeterProvider(Ie.meterProvider);
13721
+ Se.meterProvider = new Ig({ resource: b, readers: [U] }), he.setGlobalMeterProvider(Se.meterProvider);
13719
13722
  let D = [];
13720
13723
  ((a = t.instrumentations) == null ? void 0 : a["@opentelemetry/instrumentation-document-load"]) !== !1 && D.push(
13721
- new cm({
13724
+ new cv({
13722
13725
  applyCustomAttributesOnSpan: {
13723
13726
  documentLoad: Yo,
13724
13727
  documentFetch: Yo,
@@ -13730,19 +13733,19 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13730
13733
  eventNames: t.eventNames
13731
13734
  })
13732
13735
  ), (c = t.networkRecordingOptions) != null && c.enabled && (((s = t.instrumentations) == null ? void 0 : s["@opentelemetry/instrumentation-fetch"]) !== !1 && D.push(
13733
- new Vm({
13736
+ new Vv({
13734
13737
  propagateTraceHeaderCorsUrls: Jo(
13735
13738
  t.tracingOrigins
13736
13739
  ),
13737
- applyCustomAttributesOnSpan: (M, G, $) => kt(void 0, null, function* () {
13738
- var ve, ue, W;
13740
+ applyCustomAttributesOnSpan: (M, G, $) => at(void 0, null, function* () {
13741
+ var me, ue, W;
13739
13742
  if (!M.attributes)
13740
13743
  return;
13741
13744
  const We = M;
13742
13745
  if (We.attributes[Rn] === !1)
13743
13746
  return;
13744
- const dt = We.attributes["http.url"], h = (ve = G.method) != null ? ve : "GET";
13745
- if (M.updateName(Ko(dt, h, G.body)), !($ instanceof Response)) {
13747
+ const vt = We.attributes["http.url"], h = (me = G.method) != null ? me : "GET";
13748
+ if (M.updateName(Ko(vt, h, G.body)), !($ instanceof Response)) {
13746
13749
  M.setAttributes({
13747
13750
  "http.response.error": $.message,
13748
13751
  "http.response.status": $.status
@@ -13755,7 +13758,7 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13755
13758
  G.headers,
13756
13759
  t.networkRecordingOptions
13757
13760
  );
13758
- const g = yield Nv(
13761
+ const g = yield Nm(
13759
13762
  $,
13760
13763
  (ue = t.networkRecordingOptions) == null ? void 0 : ue.bodyKeysToRecord,
13761
13764
  (W = t.networkRecordingOptions) == null ? void 0 : W.networkBodyKeysToRedact
@@ -13764,12 +13767,12 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13764
13767
  })
13765
13768
  })
13766
13769
  ), ((l = t.instrumentations) == null ? void 0 : l["@opentelemetry/instrumentation-xml-http-request"]) !== !1 && D.push(
13767
- new mv({
13770
+ new vm({
13768
13771
  propagateTraceHeaderCorsUrls: Jo(
13769
13772
  t.tracingOrigins
13770
13773
  ),
13771
13774
  applyCustomAttributesOnSpan: (M, G) => {
13772
- var $, ve;
13775
+ var $, me;
13773
13776
  const ue = G;
13774
13777
  if (!M.attributes || M.attributes[Rn] === !1)
13775
13778
  return;
@@ -13787,7 +13790,7 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13787
13790
  const We = Ls(
13788
13791
  ue._body,
13789
13792
  ($ = t.networkRecordingOptions) == null ? void 0 : $.networkBodyKeysToRedact,
13790
- (ve = t.networkRecordingOptions) == null ? void 0 : ve.bodyKeysToRecord,
13793
+ (me = t.networkRecordingOptions) == null ? void 0 : me.bodyKeysToRecord,
13791
13794
  ue._requestHeaders
13792
13795
  );
13793
13796
  M.setAttribute("http.request.body", We);
@@ -13795,7 +13798,7 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13795
13798
  })
13796
13799
  )), nd({ instrumentations: D });
13797
13800
  const F = new Ss();
13798
- F.enable(), Ie.tracerProvider.register({
13801
+ return F.enable(), Se.tracerProvider.register({
13799
13802
  contextManager: F,
13800
13803
  propagator: new as({
13801
13804
  propagators: [
@@ -13808,11 +13811,11 @@ const Rn = "highlight.record", j_ = "highlight.session_id", su = "launchdarkly.j
13808
13811
  })
13809
13812
  ]
13810
13813
  })
13811
- });
13814
+ }), Se;
13812
13815
  };
13813
13816
  class V_ extends ws {
13814
13817
  onStart(e, n) {
13815
- e.setAttribute(j_, Se()), super.onStart(e, n);
13818
+ e.setAttribute(j_, Oe()), super.onStart(e, n);
13816
13819
  }
13817
13820
  onEnd(e) {
13818
13821
  e.attributes[Rn] !== !1 && super.onEnd(e);
@@ -13838,7 +13841,7 @@ class H_ extends ss {
13838
13841
  this.highlightEndpoints,
13839
13842
  this.tracingOrigins,
13840
13843
  this.urlBlocklist
13841
- ) || o.setAttribute(Rn, !1), !Av(
13844
+ ) || o.setAttribute(Rn, !1), !Am(
13842
13845
  a,
13843
13846
  (i = this.tracingOrigins) != null ? i : [],
13844
13847
  this.urlBlocklist
@@ -13847,7 +13850,7 @@ class H_ extends ss {
13847
13850
  }
13848
13851
  const lu = "highlight-browser", an = lu, Xo = () => {
13849
13852
  var t;
13850
- return (t = Ie.tracerProvider) == null ? void 0 : t.getTracer(lu);
13853
+ return (t = Se.tracerProvider) == null ? void 0 : t.getTracer(lu);
13851
13854
  }, Ko = (t, e, n) => {
13852
13855
  var r, i, o;
13853
13856
  let a;
@@ -13875,7 +13878,7 @@ const lu = "highlight-browser", an = lu, Xo = () => {
13875
13878
  );
13876
13879
  } catch {
13877
13880
  }
13878
- const s = vv(
13881
+ const s = mm(
13879
13882
  (i = r?.networkHeadersToRedact) != null ? i : [],
13880
13883
  n,
13881
13884
  r?.headerKeysToRecord
@@ -13895,7 +13898,7 @@ const lu = "highlight-browser", an = lu, Xo = () => {
13895
13898
  });
13896
13899
  }, G_ = (t, e, n, r) => r != null && r.some(
13897
13900
  (i) => t.toLowerCase().includes(i)
13898
- ) ? !1 : Ov(
13901
+ ) ? !1 : Om(
13899
13902
  t,
13900
13903
  e
13901
13904
  ), Yo = (t) => {
@@ -13986,7 +13989,7 @@ const z_ = (t, e) => {
13986
13989
  (t) => requestAnimationFrame(
13987
13990
  (e) => requestAnimationFrame((n) => t(n - e))
13988
13991
  )
13989
- ), K_ = () => kt(void 0, null, function* () {
13992
+ ), K_ = () => at(void 0, null, function* () {
13990
13993
  const t = [];
13991
13994
  for (let e = 0; e < q_; e++)
13992
13995
  t.push(yield X_());
@@ -14045,7 +14048,7 @@ const z_ = (t, e) => {
14045
14048
  clearInterval(o), cancelAnimationFrame(r);
14046
14049
  };
14047
14050
  };
14048
- var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14051
+ var xe, Rt, fu, In, si, hu = -1, Ke = function(t) {
14049
14052
  addEventListener("pageshow", function(e) {
14050
14053
  e.persisted && (hu = e.timeStamp, t(e));
14051
14054
  }, !0);
@@ -14057,7 +14060,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14057
14060
  }, ae = function(t, e) {
14058
14061
  var n = Ni(), r = "navigate";
14059
14062
  return hu >= 0 ? r = "back-forward-cache" : n && (document.prerendering || Hn() > 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 };
14060
- }, ht = function(t, e, n) {
14063
+ }, dt = function(t, e, n) {
14061
14064
  try {
14062
14065
  if (PerformanceObserver.supportedEntryTypes.includes(t)) {
14063
14066
  var r = new PerformanceObserver(function(i) {
@@ -14114,7 +14117,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14114
14117
  }, !0) : t();
14115
14118
  }, ta = [1800, 3e3], du = function(t, e) {
14116
14119
  e = e || {}, qt(function() {
14117
- var n, r = Ri(), i = ae("FCP"), o = ht("paint", function(a) {
14120
+ var n, r = Ri(), i = ae("FCP"), o = dt("paint", function(a) {
14118
14121
  a.forEach(function(u) {
14119
14122
  u.name === "first-contentful-paint" && (o.disconnect(), u.startTime < r.firstHiddenTime && (i.value = Math.max(u.startTime - Hn(), 0), i.entries.push(u), n(!0)));
14120
14123
  });
@@ -14134,7 +14137,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14134
14137
  i && s.startTime - p.startTime < 1e3 && s.startTime - l.startTime < 5e3 ? (i += s.value, o.push(s)) : (i = s.value, o = [s]);
14135
14138
  }
14136
14139
  }), i > r.value && (r.value = i, r.entries = o, n());
14137
- }, u = ht("layout-shift", a);
14140
+ }, u = dt("layout-shift", a);
14138
14141
  u && (n = se(t, r, na, e.reportAllChanges), Gn(function() {
14139
14142
  a(u.takeRecords()), n(!0);
14140
14143
  }), Ke(function() {
@@ -14143,11 +14146,11 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14143
14146
  });
14144
14147
  }), setTimeout(n, 0));
14145
14148
  }));
14146
- }, wt = { passive: !0, capture: !0 }, eb = /* @__PURE__ */ new Date(), ra = function(t, e) {
14147
- Ae || (Ae = e, Lt = t, fu = /* @__PURE__ */ new Date(), vu(removeEventListener), mu());
14148
- }, mu = function() {
14149
- if (Lt >= 0 && Lt < fu - eb) {
14150
- var t = { entryType: "first-input", name: Ae.type, target: Ae.target, cancelable: Ae.cancelable, startTime: Ae.timeStamp, processingStart: Ae.timeStamp + Lt };
14149
+ }, St = { passive: !0, capture: !0 }, eb = /* @__PURE__ */ new Date(), ra = function(t, e) {
14150
+ xe || (xe = e, Rt = t, fu = /* @__PURE__ */ new Date(), mu(removeEventListener), vu());
14151
+ }, vu = function() {
14152
+ if (Rt >= 0 && Rt < fu - eb) {
14153
+ var t = { entryType: "first-input", name: xe.type, target: xe.target, cancelable: xe.cancelable, startTime: xe.timeStamp, processingStart: xe.timeStamp + Rt };
14151
14154
  In.forEach(function(e) {
14152
14155
  e(t);
14153
14156
  }), In = [];
@@ -14161,14 +14164,14 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14161
14164
  }, o = function() {
14162
14165
  a();
14163
14166
  }, a = function() {
14164
- removeEventListener("pointerup", i, wt), removeEventListener("pointercancel", o, wt);
14167
+ removeEventListener("pointerup", i, St), removeEventListener("pointercancel", o, St);
14165
14168
  };
14166
- addEventListener("pointerup", i, wt), addEventListener("pointercancel", o, wt);
14169
+ addEventListener("pointerup", i, St), addEventListener("pointercancel", o, St);
14167
14170
  }(e, t) : ra(e, t);
14168
14171
  }
14169
- }, vu = function(t) {
14172
+ }, mu = function(t) {
14170
14173
  ["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(e) {
14171
- return t(e, tb, wt);
14174
+ return t(e, tb, St);
14172
14175
  });
14173
14176
  }, ia = [100, 300], nb = function(t, e) {
14174
14177
  e = e || {}, qt(function() {
@@ -14176,12 +14179,12 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14176
14179
  c.startTime < r.firstHiddenTime && (i.value = c.processingStart - c.startTime, i.entries.push(c), n(!0));
14177
14180
  }, a = function(c) {
14178
14181
  c.forEach(o);
14179
- }, u = ht("first-input", a);
14182
+ }, u = dt("first-input", a);
14180
14183
  n = se(t, i, ia, e.reportAllChanges), u && Gn(Li(function() {
14181
14184
  a(u.takeRecords()), u.disconnect();
14182
14185
  })), u && Ke(function() {
14183
14186
  var c;
14184
- i = ae("FID"), n = se(t, i, ia, e.reportAllChanges), In = [], Lt = -1, Ae = null, vu(addEventListener), c = o, In.push(c), mu();
14187
+ i = ae("FID"), n = se(t, i, ia, e.reportAllChanges), In = [], Rt = -1, xe = null, mu(addEventListener), c = o, In.push(c), vu();
14185
14188
  });
14186
14189
  });
14187
14190
  }, yu = 0, Nr = 1 / 0, sn = 0, rb = function(t) {
@@ -14191,7 +14194,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14191
14194
  }, gu = function() {
14192
14195
  return si ? yu : performance.interactionCount || 0;
14193
14196
  }, ib = function() {
14194
- "interactionCount" in performance || si || (si = ht("event", rb, { type: "event", buffered: !0, durationThreshold: 0 }));
14197
+ "interactionCount" in performance || si || (si = dt("event", rb, { type: "event", buffered: !0, durationThreshold: 0 }));
14195
14198
  }, oa = [200, 500], _u = 0, aa = function() {
14196
14199
  return gu() - _u;
14197
14200
  }, fe = [], Cr = {}, sa = function(t) {
@@ -14222,7 +14225,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14222
14225
  });
14223
14226
  var c, s = (c = Math.min(fe.length - 1, Math.floor(aa() / 50)), fe[c]);
14224
14227
  s && s.latency !== i.value && (i.value = s.latency, i.entries = s.entries, r());
14225
- }, a = ht("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
14228
+ }, a = dt("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
14226
14229
  r = se(t, i, oa, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), Gn(function() {
14227
14230
  o(a.takeRecords()), i.value < 0 && aa() > 0 && (i.value = 0, i.entries = []), r(!0);
14228
14231
  }), Ke(function() {
@@ -14234,7 +14237,7 @@ var Ae, Lt, fu, In, si, hu = -1, Ke = function(t) {
14234
14237
  var n, r = Ri(), i = ae("LCP"), o = function(c) {
14235
14238
  var s = c[c.length - 1];
14236
14239
  s && s.startTime < r.firstHiddenTime && (i.value = Math.max(s.startTime - Hn(), 0), i.entries = [s], n());
14237
- }, a = ht("largest-contentful-paint", o);
14240
+ }, a = dt("largest-contentful-paint", o);
14238
14241
  if (a) {
14239
14242
  n = se(t, i, ua, e.reportAllChanges);
14240
14243
  var u = Li(function() {
@@ -14327,16 +14330,16 @@ function hb(t) {
14327
14330
  function db(t) {
14328
14331
  return "matchValue" in t;
14329
14332
  }
14330
- function mb(t) {
14333
+ function vb(t) {
14331
14334
  const e = Math.trunc(t);
14332
14335
  return e === 1 ? !0 : e === 0 ? !1 : Math.floor(Math.random() * e) === 0;
14333
14336
  }
14334
- class vb {
14337
+ class mb {
14335
14338
  /**
14336
14339
  * @param config The sampling configuration.
14337
14340
  * @param sampler The sampler to use. This is intended to be used for testing purposes.
14338
14341
  */
14339
- constructor(e = mb) {
14342
+ constructor(e = vb) {
14340
14343
  k(this, "regexCache", /* @__PURE__ */ new Map()), k(this, "config"), this.sampler = e;
14341
14344
  }
14342
14345
  setConfig(e) {
@@ -14507,7 +14510,7 @@ const la = () => {
14507
14510
  if (!t)
14508
14511
  return;
14509
14512
  const r = P({}, n);
14510
- typeof e == "string" ? r[Yn] = e : e && (e.code ? r[Jn] = e.code.toString() : e.name && (r[Jn] = e.name), e.message && (r[Yn] = e.message), e.stack && (r[Qc] = e.stack)), r[Jn] || r[Yn] ? t.addEvent(yb, r) : st(
14513
+ typeof e == "string" ? r[Yn] = e : e && (e.code ? r[Jn] = e.code.toString() : e.name && (r[Jn] = e.name), e.message && (r[Yn] = e.message), e.stack && (r[Qc] = e.stack)), r[Jn] || r[Yn] ? t.addEvent(yb, r) : ut(
14511
14514
  "otel",
14512
14515
  "recordException",
14513
14516
  "warn",
@@ -14516,14 +14519,14 @@ const la = () => {
14516
14519
  };
14517
14520
  class _b {
14518
14521
  constructor(e) {
14519
- k(this, "organizationID"), k(this, "_options"), k(this, "_integrations", []), k(this, "_gauges", /* @__PURE__ */ new Map()), k(this, "_counters", /* @__PURE__ */ new Map()), k(this, "_histograms", /* @__PURE__ */ new Map()), k(this, "_up_down_counters", /* @__PURE__ */ new Map()), k(this, "sampler", new vb()), k(this, "_started", !1), k(this, "graphqlSDK"), this._options = e, this.organizationID = e.projectId;
14522
+ k(this, "organizationID"), k(this, "_options"), k(this, "_integrations", []), k(this, "_gauges", /* @__PURE__ */ new Map()), k(this, "_counters", /* @__PURE__ */ new Map()), k(this, "_histograms", /* @__PURE__ */ new Map()), k(this, "_up_down_counters", /* @__PURE__ */ new Map()), k(this, "sampler", new mb()), k(this, "_started", !1), k(this, "providers"), k(this, "graphqlSDK"), this._options = e, this.organizationID = e.projectId;
14520
14523
  }
14521
14524
  start() {
14522
- return kt(this, null, function* () {
14523
- var e, n, r, i, o, a, u, c, s, l, p, f, v, m, y, _;
14525
+ return at(this, null, function* () {
14526
+ var e, n, r, i, o, a, u, c, s, l, p, f, m, v, y, _;
14524
14527
  if (this._started)
14525
14528
  return;
14526
- this._started = !0, F_(
14529
+ this._started = !0, this.providers = F_(
14527
14530
  {
14528
14531
  backendUrl: (n = (e = this._options) == null ? void 0 : e.backendUrl) != null ? n : "https://pub.observability.app.launchdarkly.com",
14529
14532
  otlpEndpoint: (o = (i = (r = this._options) == null ? void 0 : r.otel) == null ? void 0 : i.otlpEndpoint) != null ? o : "https://otel.observability.app.launchdarkly.com",
@@ -14533,8 +14536,8 @@ class _b {
14533
14536
  networkRecordingOptions: typeof ((c = this._options) == null ? void 0 : c.networkRecording) == "object" ? this._options.networkRecording : void 0,
14534
14537
  tracingOrigins: (s = this._options) == null ? void 0 : s.tracingOrigins,
14535
14538
  serviceName: (p = (l = this._options) == null ? void 0 : l.serviceName) != null ? p : "browser",
14536
- instrumentations: (v = (f = this._options) == null ? void 0 : f.otel) == null ? void 0 : v.instrumentations,
14537
- eventNames: (y = (m = this._options) == null ? void 0 : m.otel) == null ? void 0 : y.eventNames,
14539
+ instrumentations: (m = (f = this._options) == null ? void 0 : f.otel) == null ? void 0 : m.instrumentations,
14540
+ eventNames: (y = (v = this._options) == null ? void 0 : v.otel) == null ? void 0 : y.eventNames,
14538
14541
  getIntegrations: () => this._integrations
14539
14542
  },
14540
14543
  this.sampler
@@ -14548,8 +14551,17 @@ class _b {
14548
14551
  this.graphqlSDK = Kc(b, yl()), yield this.configureSampling(), this.setupListeners();
14549
14552
  });
14550
14553
  }
14554
+ stop() {
14555
+ return at(this, null, function* () {
14556
+ var e, n, r, i;
14557
+ this._started && (this._started = !1, yield Promise.all([
14558
+ (n = (e = this.providers) == null ? void 0 : e.tracerProvider) == null ? void 0 : n.shutdown(),
14559
+ (i = (r = this.providers) == null ? void 0 : r.meterProvider) == null ? void 0 : i.shutdown()
14560
+ ]));
14561
+ });
14562
+ }
14551
14563
  configureSampling() {
14552
- return kt(this, null, function* () {
14564
+ return at(this, null, function* () {
14553
14565
  try {
14554
14566
  const e = yield this.graphqlSDK.GetSamplingConfig({
14555
14567
  organization_verbose_id: `${this.organizationID}`
@@ -14566,7 +14578,7 @@ class _b {
14566
14578
  }
14567
14579
  _recordLog(e, n, r, i) {
14568
14580
  this.startSpan(su, (o) => {
14569
- const a = typeof e == "string" ? e : Ot(e), u = i ? Ot(i.map((c) => c.toString())) : void 0;
14581
+ const a = typeof e == "string" ? e : At(e), u = i ? At(i.map((c) => c.toString())) : void 0;
14570
14582
  if (o?.addEvent("log", P({
14571
14583
  [uu]: n,
14572
14584
  [cu]: a,
@@ -14596,7 +14608,7 @@ class _b {
14596
14608
  }, n));
14597
14609
  });
14598
14610
  for (const r of this._integrations)
14599
- r.error(Se(), e);
14611
+ r.error(Oe(), e);
14600
14612
  }
14601
14613
  recordError(e, n, r, i, o) {
14602
14614
  var a, u, c, s;
@@ -14623,7 +14635,7 @@ class _b {
14623
14635
  const n = he.getMeter(an);
14624
14636
  let r = this._counters.get(e.name);
14625
14637
  r || (r = n.createCounter(e.name), this._counters.set(e.name, r)), r.add(e.value, ee(P({}, e.attributes), {
14626
- "highlight.session_id": Se()
14638
+ "highlight.session_id": Oe()
14627
14639
  }));
14628
14640
  }
14629
14641
  recordGauge(e) {
@@ -14631,7 +14643,7 @@ class _b {
14631
14643
  const o = he.getMeter(an);
14632
14644
  let a = this._gauges.get(e.name);
14633
14645
  a || (a = o.createGauge(e.name), this._gauges.set(e.name, a)), a.record(e.value, ee(P({}, e.attributes), {
14634
- "highlight.session_id": Se()
14646
+ "highlight.session_id": Oe()
14635
14647
  }));
14636
14648
  const u = {
14637
14649
  name: e.name,
@@ -14648,7 +14660,7 @@ class _b {
14648
14660
  };
14649
14661
  for (const c of this._integrations)
14650
14662
  c.recordGauge(
14651
- Se(),
14663
+ Oe(),
14652
14664
  u
14653
14665
  );
14654
14666
  }
@@ -14659,14 +14671,14 @@ class _b {
14659
14671
  const n = he.getMeter(an);
14660
14672
  let r = this._histograms.get(e.name);
14661
14673
  r || (r = n.createHistogram(e.name), this._histograms.set(e.name, r)), r.record(e.value, ee(P({}, e.attributes), {
14662
- "highlight.session_id": Se()
14674
+ "highlight.session_id": Oe()
14663
14675
  }));
14664
14676
  }
14665
14677
  recordUpDownCounter(e) {
14666
14678
  const n = he.getMeter(an);
14667
14679
  let r = this._up_down_counters.get(e.name);
14668
14680
  r || (r = n.createUpDownCounter(e.name), this._up_down_counters.set(e.name, r)), r.add(e.value, ee(P({}, e.attributes), {
14669
- "highlight.session_id": Se()
14681
+ "highlight.session_id": Oe()
14670
14682
  }));
14671
14683
  }
14672
14684
  startSpan(e, n, r, i) {
@@ -14726,35 +14738,35 @@ class _b {
14726
14738
  availWidth: i
14727
14739
  }) {
14728
14740
  this.recordGauge({
14729
- name: Le.ViewportHeight,
14741
+ name: Re.ViewportHeight,
14730
14742
  value: e,
14731
14743
  attributes: {
14732
14744
  category: ne.Device,
14733
14745
  group: window.location.href
14734
14746
  }
14735
14747
  }), this.recordGauge({
14736
- name: Le.ViewportWidth,
14748
+ name: Re.ViewportWidth,
14737
14749
  value: n,
14738
14750
  attributes: {
14739
14751
  category: ne.Device,
14740
14752
  group: window.location.href
14741
14753
  }
14742
14754
  }), this.recordGauge({
14743
- name: Le.ScreenHeight,
14755
+ name: Re.ScreenHeight,
14744
14756
  value: r,
14745
14757
  attributes: {
14746
14758
  category: ne.Device,
14747
14759
  group: window.location.href
14748
14760
  }
14749
14761
  }), this.recordGauge({
14750
- name: Le.ScreenWidth,
14762
+ name: Re.ScreenWidth,
14751
14763
  value: i,
14752
14764
  attributes: {
14753
14765
  category: ne.Device,
14754
14766
  group: window.location.href
14755
14767
  }
14756
14768
  }), this.recordGauge({
14757
- name: Le.ViewportArea,
14769
+ name: Re.ViewportArea,
14758
14770
  value: e * n,
14759
14771
  attributes: {
14760
14772
  category: ne.Device,
@@ -14813,7 +14825,7 @@ class _b {
14813
14825
  ))
14814
14826
  return;
14815
14827
  const o = new Error(r.event);
14816
- o.stack = Ot(r.stackTrace.map((u) => u.toString()));
14828
+ o.stack = At(r.stackTrace.map((u) => u.toString()));
14817
14829
  let a = {};
14818
14830
  try {
14819
14831
  r.payload && (a = JSON.parse(r.payload));
@@ -14852,7 +14864,7 @@ class _b {
14852
14864
  }, (/* @__PURE__ */ new Date()).getTime());
14853
14865
  const { getDeviceDetails: n } = pb();
14854
14866
  n && this.recordGauge({
14855
- name: Le.DeviceMemory,
14867
+ name: Re.DeviceMemory,
14856
14868
  value: n().deviceMemory,
14857
14869
  attributes: {
14858
14870
  category: ne.Device,
@@ -14922,23 +14934,23 @@ class Ib extends Bl {
14922
14934
  name: "@launchdarkly/observability/hooks"
14923
14935
  }),
14924
14936
  afterIdentify: (u, c, s) => {
14925
- var l, p, f, v, m;
14937
+ var l, p, f, m, v;
14926
14938
  for (const y of (f = (p = (l = this.observe) == null ? void 0 : l.getHooks) == null ? void 0 : p.call(l, e)) != null ? f : [])
14927
- (v = y.afterIdentify) == null || v.call(y, u, c, s);
14939
+ (m = y.afterIdentify) == null || m.call(y, u, c, s);
14928
14940
  if (s.status === "completed") {
14929
14941
  const y = ee(P({}, Gi(u.context)), {
14930
14942
  key: Hi(u.context),
14931
14943
  timeout: u.timeout,
14932
14944
  [Rl]: s.status
14933
14945
  });
14934
- (m = this.observe) == null || m.recordLog("LD.identify", "info", P(P({}, a), y));
14946
+ (v = this.observe) == null || v.recordLog("LD.identify", "info", P(P({}, a), y));
14935
14947
  }
14936
14948
  return c;
14937
14949
  },
14938
14950
  afterEvaluation: (u, c, s) => {
14939
- var l, p, f, v, m;
14951
+ var l, p, f, m, v;
14940
14952
  for (const b of (f = (p = (l = this.observe) == null ? void 0 : l.getHooks) == null ? void 0 : p.call(l, e)) != null ? f : [])
14941
- (v = b.afterEvaluation) == null || v.call(b, u, c, s);
14953
+ (m = b.afterEvaluation) == null || m.call(b, u, c, s);
14942
14954
  const y = P({
14943
14955
  [bl]: u.flagKey,
14944
14956
  [wl]: JSON.stringify(s.value)
@@ -14952,14 +14964,14 @@ class Ib extends Bl {
14952
14964
  }
14953
14965
  u.context && (y[El] = JSON.stringify(Gi(u.context)), y[Tl] = Hi(u.context));
14954
14966
  const _ = P(P({}, a), y);
14955
- return (m = this.observe) == null || m.startSpan(gl, (b) => {
14967
+ return (v = this.observe) == null || v.startSpan(gl, (b) => {
14956
14968
  b && b.addEvent(J, _);
14957
14969
  }), c;
14958
14970
  },
14959
14971
  afterTrack: (u) => {
14960
14972
  var c, s, l, p, f;
14961
- for (const v of (l = (s = (c = this.observe) == null ? void 0 : c.getHooks) == null ? void 0 : s.call(c, e)) != null ? l : [])
14962
- (p = v.afterTrack) == null || p.call(v, u);
14973
+ for (const m of (l = (s = (c = this.observe) == null ? void 0 : c.getHooks) == null ? void 0 : s.call(c, e)) != null ? l : [])
14974
+ (p = m.afterTrack) == null || p.call(m, u);
14963
14975
  (f = this.observe) == null || f.recordLog("LD.track", "info", P(ee(P({}, a), {
14964
14976
  key: u.key,
14965
14977
  value: u.metricValue