@launchdarkly/observability 0.3.9 → 0.3.10

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.
@@ -14,11 +14,11 @@ var Ou = Object.defineProperty, Au = (t, e, n) => e in t ? Ou(t, e, { enumerable
14
14
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
15
15
  u((n = n.apply(t, e)).next());
16
16
  });
17
- const Ui = /* @__PURE__ */ Object.create(null), Ce = (t, e, ...n) => {
17
+ const $i = /* @__PURE__ */ Object.create(null), Ce = (t, e, ...n) => {
18
18
  const r = `[@launchdarkly plugins]: (${t}): `;
19
19
  console[e].apply(console, [r, ...n]), Nu(r, ...n);
20
20
  }, Ee = (t, e, n, ...r) => {
21
- Ui[`${t}-${e}`] || (Ui[`${t}-${e}`] = !0, Ce(t, n, ...r));
21
+ $i[`${t}-${e}`] || ($i[`${t}-${e}`] = !0, Ce(t, n, ...r));
22
22
  }, Nu = (t, ...e) => xu(void 0, null, function* () {
23
23
  try {
24
24
  const { LDObserve: n } = yield Promise.resolve().then(() => Xl);
@@ -40,7 +40,7 @@ let Cu = class {
40
40
  let n = `[${Date.now()}]`;
41
41
  this.name && (n += ` - ${this.name}`), console.warn.apply(console, [n, ...e]);
42
42
  }
43
- }, ya = class {
43
+ }, ga = class {
44
44
  constructor() {
45
45
  ye(this, "_sdk"), ye(this, "_isLoaded", !1), ye(this, "_callBuffer", []), ye(this, "_capacity", 1e5), ye(this, "_droppedEvents", 0), ye(this, "_exceededCapacity", !1), ye(this, "_logger", new Cu());
46
46
  }
@@ -81,20 +81,20 @@ let Cu = class {
81
81
  this._callBuffer = [];
82
82
  }
83
83
  };
84
- var Lu = Object.defineProperty, Ru = Object.defineProperties, Iu = Object.getOwnPropertyDescriptors, bn = Object.getOwnPropertySymbols, ga = Object.prototype.hasOwnProperty, _a = Object.prototype.propertyIsEnumerable, Dr = (t, e, n) => e in t ? Lu(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, x = (t, e) => {
84
+ var Lu = Object.defineProperty, Ru = Object.defineProperties, Iu = Object.getOwnPropertyDescriptors, bn = Object.getOwnPropertySymbols, _a = Object.prototype.hasOwnProperty, ba = Object.prototype.propertyIsEnumerable, Dr = (t, e, n) => e in t ? Lu(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, x = (t, e) => {
85
85
  for (var n in e || (e = {}))
86
- ga.call(e, n) && Dr(t, n, e[n]);
86
+ _a.call(e, n) && Dr(t, n, e[n]);
87
87
  if (bn)
88
88
  for (var n of bn(e))
89
- _a.call(e, n) && Dr(t, n, e[n]);
89
+ ba.call(e, n) && Dr(t, n, e[n]);
90
90
  return t;
91
91
  }, st = (t, e) => Ru(t, Iu(e)), Nt = (t, e) => {
92
92
  var n = {};
93
93
  for (var r in t)
94
- ga.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
94
+ _a.call(t, r) && e.indexOf(r) < 0 && (n[r] = t[r]);
95
95
  if (t != null && bn)
96
96
  for (var r of bn(t))
97
- e.indexOf(r) < 0 && _a.call(t, r) && (n[r] = t[r]);
97
+ e.indexOf(r) < 0 && ba.call(t, r) && (n[r] = t[r]);
98
98
  return n;
99
99
  }, Mt = (t, e, n) => Dr(t, typeof e != "symbol" ? e + "" : e, n), pt = (t, e, n) => new Promise((r, i) => {
100
100
  var o = (c) => {
@@ -153,26 +153,26 @@ function Ur(t, e) {
153
153
  };
154
154
  }
155
155
  function Uu(t) {
156
- return ba(
156
+ return Ea(
157
157
  t.source,
158
158
  Ur(t.source, t.start)
159
159
  );
160
160
  }
161
- function ba(t, e) {
161
+ function Ea(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
165
  const f = Math.floor(c / 80), m = c % 80, v = [];
166
166
  for (let y = 0; y < p.length; y += 80)
167
167
  v.push(p.slice(y, y + 80));
168
- return s + $i([
168
+ return s + ji([
169
169
  [`${a} |`, v[0]],
170
170
  ...v.slice(1, f + 1).map((y) => ["|", y]),
171
171
  ["|", "^".padStart(m)],
172
172
  ["|", v[f + 1]]
173
173
  ]);
174
174
  }
175
- return s + $i([
175
+ return s + ji([
176
176
  // Lines specified like this: ["prefix", "string"],
177
177
  [`${a - 1} |`, l[i - 1]],
178
178
  [`${a} |`, p],
@@ -180,7 +180,7 @@ function ba(t, e) {
180
180
  [`${a + 1} |`, l[i + 1]]
181
181
  ]);
182
182
  }
183
- function $i(t) {
183
+ function ji(t) {
184
184
  const e = t.filter(([r, i]) => i !== void 0), n = Math.max(...e.map(([r]) => r.length));
185
185
  return e.map(([r, i]) => r.padStart(n) + (i ? " " + i : "")).join(`
186
186
  `);
@@ -238,10 +238,10 @@ class fi extends Error {
238
238
  constructor(e, ...n) {
239
239
  var r, i, o;
240
240
  const { nodes: a, source: u, positions: c, path: s, originalError: l, extensions: p } = $u(n);
241
- super(e), this.name = "GraphQLError", this.path = s ?? void 0, this.originalError = l ?? void 0, this.nodes = ji(
241
+ super(e), this.name = "GraphQLError", this.path = s ?? void 0, this.originalError = l ?? void 0, this.nodes = Bi(
242
242
  Array.isArray(a) ? a : a ? [a] : void 0
243
243
  );
244
- const f = ji(
244
+ const f = Bi(
245
245
  (r = this.nodes) === null || r === void 0 ? void 0 : r.map((v) => v.loc).filter((v) => v != null)
246
246
  );
247
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) => Ur(u, v)) : f?.map((v) => Ur(v.source, v.start));
@@ -292,7 +292,7 @@ class fi extends Error {
292
292
  for (const n of this.locations)
293
293
  e += `
294
294
 
295
- ` + ba(this.source, n);
295
+ ` + Ea(this.source, n);
296
296
  return e;
297
297
  }
298
298
  toJSON() {
@@ -302,7 +302,7 @@ class fi extends Error {
302
302
  return this.locations != null && (e.locations = this.locations), this.path != null && (e.path = this.path), this.extensions != null && Object.keys(this.extensions).length > 0 && (e.extensions = this.extensions), e;
303
303
  }
304
304
  }
305
- function ji(t) {
305
+ function Bi(t) {
306
306
  return t === void 0 || t.length === 0 ? void 0 : t;
307
307
  }
308
308
  function H(t, e, n) {
@@ -339,7 +339,7 @@ let ju = class {
339
339
  end: this.end
340
340
  };
341
341
  }
342
- }, Ea = class {
342
+ }, Ta = class {
343
343
  /**
344
344
  * The kind of Token.
345
345
  */
@@ -381,7 +381,7 @@ let ju = class {
381
381
  };
382
382
  }
383
383
  };
384
- const Ta = {
384
+ const wa = {
385
385
  Name: [],
386
386
  Document: ["definitions"],
387
387
  OperationDefinition: [
@@ -455,8 +455,8 @@ const Ta = {
455
455
  UnionTypeExtension: ["name", "directives", "types"],
456
456
  EnumTypeExtension: ["name", "directives", "values"],
457
457
  InputObjectTypeExtension: ["name", "directives", "fields"]
458
- }, Bu = new Set(Object.keys(Ta));
459
- function Bi(t) {
458
+ }, Bu = new Set(Object.keys(wa));
459
+ function Fi(t) {
460
460
  const e = t?.kind;
461
461
  return typeof e == "string" && Bu.has(e);
462
462
  }
@@ -478,15 +478,15 @@ function jr(t) {
478
478
  function Dt(t) {
479
479
  return t >= 48 && t <= 57;
480
480
  }
481
- function wa(t) {
481
+ function Sa(t) {
482
482
  return t >= 97 && t <= 122 || // A-Z
483
483
  t >= 65 && t <= 90;
484
484
  }
485
- function Sa(t) {
486
- return wa(t) || t === 95;
485
+ function Oa(t) {
486
+ return Sa(t) || t === 95;
487
487
  }
488
488
  function Fu(t) {
489
- return wa(t) || Dt(t) || t === 95;
489
+ return Sa(t) || Dt(t) || t === 95;
490
490
  }
491
491
  function Vu(t) {
492
492
  var e;
@@ -536,7 +536,7 @@ let zu = class {
536
536
  * The character offset at which the current line begins.
537
537
  */
538
538
  constructor(e) {
539
- const n = new Ea(d.SOF, 0, 0, 0, 0);
539
+ const n = new Ta(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]() {
@@ -573,12 +573,12 @@ function vt(t) {
573
573
  return t >= 0 && t <= 55295 || t >= 57344 && t <= 1114111;
574
574
  }
575
575
  function Dn(t, e) {
576
- return Oa(t.charCodeAt(e)) && Aa(t.charCodeAt(e + 1));
576
+ return Aa(t.charCodeAt(e)) && xa(t.charCodeAt(e + 1));
577
577
  }
578
- function Oa(t) {
578
+ function Aa(t) {
579
579
  return t >= 55296 && t <= 56319;
580
580
  }
581
- function Aa(t) {
581
+ function xa(t) {
582
582
  return t >= 56320 && t <= 57343;
583
583
  }
584
584
  function Be(t, e) {
@@ -593,7 +593,7 @@ function Be(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 Ea(e, n, r, o, a, i);
596
+ return new Ta(e, n, r, o, a, i);
597
597
  }
598
598
  function Xu(t, e) {
599
599
  const n = t.source.body, r = n.length;
@@ -650,7 +650,7 @@ function Xu(t, e) {
650
650
  }
651
651
  if (Dt(o) || o === 45)
652
652
  return Wu(t, i, o);
653
- if (Sa(o))
653
+ if (Oa(o))
654
654
  return tc(t, i);
655
655
  throw H(
656
656
  t.source,
@@ -697,7 +697,7 @@ function Wu(t, e, n) {
697
697
  );
698
698
  } else
699
699
  i = Wn(t, i, o), o = r.charCodeAt(i);
700
- if (o === 46 && (a = !0, o = r.charCodeAt(++i), i = Wn(t, i, o), o = r.charCodeAt(i)), (o === 69 || o === 101) && (a = !0, o = r.charCodeAt(++i), (o === 43 || o === 45) && (o = r.charCodeAt(++i)), i = Wn(t, i, o), o = r.charCodeAt(i)), o === 46 || Sa(o))
700
+ if (o === 46 && (a = !0, o = r.charCodeAt(++i), i = Wn(t, i, o), o = r.charCodeAt(i)), (o === 69 || o === 101) && (a = !0, o = r.charCodeAt(++i), (o === 43 || o === 45) && (o = r.charCodeAt(++i)), i = Wn(t, i, o), o = r.charCodeAt(i)), o === 46 || Oa(o))
701
701
  throw H(
702
702
  t.source,
703
703
  i,
@@ -787,15 +787,15 @@ function Ju(t, e) {
787
787
  );
788
788
  }
789
789
  function Qu(t, e) {
790
- const n = t.source.body, r = Fi(n, e + 2);
790
+ const n = t.source.body, r = Vi(n, e + 2);
791
791
  if (vt(r))
792
792
  return {
793
793
  value: String.fromCodePoint(r),
794
794
  size: 6
795
795
  };
796
- if (Oa(r) && n.charCodeAt(e + 6) === 92 && n.charCodeAt(e + 7) === 117) {
797
- const i = Fi(n, e + 8);
798
- if (Aa(i))
796
+ if (Aa(r) && n.charCodeAt(e + 6) === 92 && n.charCodeAt(e + 7) === 117) {
797
+ const i = Vi(n, e + 8);
798
+ if (xa(i))
799
799
  return {
800
800
  value: String.fromCodePoint(r, i),
801
801
  size: 12
@@ -807,7 +807,7 @@ function Qu(t, e) {
807
807
  `Invalid Unicode escape sequence: "${n.slice(e, e + 6)}".`
808
808
  );
809
809
  }
810
- function Fi(t, e) {
810
+ function Vi(t, e) {
811
811
  return At(t.charCodeAt(e)) << 12 | At(t.charCodeAt(e + 1)) << 8 | At(t.charCodeAt(e + 2)) << 4 | At(t.charCodeAt(e + 3));
812
812
  }
813
813
  function At(t) {
@@ -928,7 +928,7 @@ function tc(t, e) {
928
928
  n.slice(e, i)
929
929
  );
930
930
  }
931
- const nc = 10, xa = 2;
931
+ const nc = 10, Na = 2;
932
932
  function hi(t) {
933
933
  return Un(t, []);
934
934
  }
@@ -963,14 +963,14 @@ function ic(t) {
963
963
  }
964
964
  function oc(t, e) {
965
965
  const n = Object.entries(t);
966
- return n.length === 0 ? "{}" : e.length > xa ? "[" + sc(t) + "]" : "{ " + n.map(
966
+ return n.length === 0 ? "{}" : e.length > Na ? "[" + sc(t) + "]" : "{ " + n.map(
967
967
  ([r, i]) => r + ": " + Un(i, e)
968
968
  ).join(", ") + " }";
969
969
  }
970
970
  function ac(t, e) {
971
971
  if (t.length === 0)
972
972
  return "[]";
973
- if (e.length > xa)
973
+ if (e.length > Na)
974
974
  return "[Array]";
975
975
  const n = Math.min(nc, t.length), r = t.length - n, i = [];
976
976
  for (let o = 0; o < n; ++o)
@@ -1020,7 +1020,7 @@ spurious results.`);
1020
1020
  return !1;
1021
1021
  }
1022
1022
  );
1023
- let Na = class {
1023
+ let Ca = class {
1024
1024
  constructor(e, n = "GraphQL request", r = {
1025
1025
  line: 1,
1026
1026
  column: 1
@@ -1038,7 +1038,7 @@ let Na = class {
1038
1038
  }
1039
1039
  };
1040
1040
  function lc(t) {
1041
- return cc(t, Na);
1041
+ return cc(t, Ca);
1042
1042
  }
1043
1043
  function di(t, e) {
1044
1044
  const n = new pc(t, e), r = n.parseDocument();
@@ -1049,7 +1049,7 @@ function di(t, e) {
1049
1049
  }
1050
1050
  let pc = class {
1051
1051
  constructor(e, n = {}) {
1052
- const r = lc(e) ? e : new Na(e);
1052
+ const r = lc(e) ? e : new Ca(e);
1053
1053
  this._lexer = new zu(r), this._options = n, this._tokenCounter = 0;
1054
1054
  }
1055
1055
  get tokenCount() {
@@ -2043,7 +2043,7 @@ let pc = class {
2043
2043
  throw H(
2044
2044
  this._lexer.source,
2045
2045
  n.start,
2046
- `Expected ${Ca(e)}, found ${Yt(n)}.`
2046
+ `Expected ${La(e)}, found ${Yt(n)}.`
2047
2047
  );
2048
2048
  }
2049
2049
  /**
@@ -2153,9 +2153,9 @@ let pc = class {
2153
2153
  };
2154
2154
  function Yt(t) {
2155
2155
  const e = t.value;
2156
- return Ca(t.kind) + (e != null ? ` "${e}"` : "");
2156
+ return La(t.kind) + (e != null ? ` "${e}"` : "");
2157
2157
  }
2158
- function Ca(t) {
2158
+ function La(t) {
2159
2159
  return qu(t) ? `"${t}"` : t;
2160
2160
  }
2161
2161
  function fc(t) {
@@ -2332,7 +2332,7 @@ const vc = [
2332
2332
  "\\u009E",
2333
2333
  "\\u009F"
2334
2334
  ], mc = Object.freeze({});
2335
- function yc(t, e, n = Ta) {
2335
+ function yc(t, e, n = wa) {
2336
2336
  const r = /* @__PURE__ */ new Map();
2337
2337
  for (const b of Object.values(w))
2338
2338
  r.set(b, gc(e, b));
@@ -2364,7 +2364,7 @@ function yc(t, e, n = Ta) {
2364
2364
  let U;
2365
2365
  if (!Array.isArray(s)) {
2366
2366
  var v, y;
2367
- Bi(s) || ln(!1, `Invalid AST Node: ${hi(s)}.`);
2367
+ Fi(s) || ln(!1, `Invalid AST Node: ${hi(s)}.`);
2368
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
2369
  if (U = D?.call(e, s, l, p, f, m), U === mc)
2370
2370
  break;
@@ -2374,7 +2374,7 @@ function yc(t, e, n = Ta) {
2374
2374
  continue;
2375
2375
  }
2376
2376
  } else if (U !== void 0 && (c.push([l, U]), !b))
2377
- if (Bi(U))
2377
+ if (Fi(U))
2378
2378
  s = U;
2379
2379
  else {
2380
2380
  f.pop();
@@ -2544,7 +2544,7 @@ const bc = 80, Ec = {
2544
2544
  },
2545
2545
  FieldDefinition: {
2546
2546
  leave: ({ description: t, name: e, arguments: n, type: r, directives: i }) => N("", t, `
2547
- `) + e + (Vi(n) ? N(`(
2547
+ `) + e + (Hi(n) ? N(`(
2548
2548
  `, pn(T(n, `
2549
2549
  `)), `
2550
2550
  )`) : N("(", T(n, ", "), ")")) + ": " + r + N(" ", T(i, " "))
@@ -2590,7 +2590,7 @@ const bc = 80, Ec = {
2590
2590
  },
2591
2591
  DirectiveDefinition: {
2592
2592
  leave: ({ description: t, name: e, arguments: n, repeatable: r, locations: i }) => N("", t, `
2593
- `) + "directive @" + e + (Vi(n) ? N(`(
2593
+ `) + "directive @" + e + (Hi(n) ? N(`(
2594
2594
  `, pn(T(n, `
2595
2595
  `)), `
2596
2596
  )`) : N("(", T(n, ", "), ")")) + (r ? " repeatable" : "") + " on " + T(i, " | ")
@@ -2663,7 +2663,7 @@ function pn(t) {
2663
2663
  return N(" ", t.replace(/\n/g, `
2664
2664
  `));
2665
2665
  }
2666
- function Vi(t) {
2666
+ function Hi(t) {
2667
2667
  var e;
2668
2668
  return (e = t?.some((n) => n.includes(`
2669
2669
  `))) !== null && e !== void 0 ? e : !1;
@@ -2687,7 +2687,7 @@ const vi = JSON, Tc = (t) => t.toUpperCase(), wc = (t) => {
2687
2687
  documents: t,
2688
2688
  requestHeaders: e,
2689
2689
  signal: void 0
2690
- }, Hi = (t) => {
2690
+ }, Gi = (t) => {
2691
2691
  var e, n;
2692
2692
  let r;
2693
2693
  const i = t.definitions.filter((o) => o.kind === "OperationDefinition");
@@ -2697,15 +2697,15 @@ const vi = JSON, Tc = (t) => t.toUpperCase(), wc = (t) => {
2697
2697
  let n;
2698
2698
  try {
2699
2699
  const r = di(t);
2700
- n = Hi(r);
2700
+ n = Gi(r);
2701
2701
  } catch {
2702
2702
  }
2703
2703
  return { query: t, operationName: n };
2704
2704
  }
2705
- const e = Hi(t);
2705
+ const e = Gi(t);
2706
2706
  return { query: _c(t), operationName: e };
2707
2707
  };
2708
- let La = class fn extends Error {
2708
+ let Ra = class fn extends Error {
2709
2709
  constructor(e, n) {
2710
2710
  const r = `${fn.extractMessage(e)}: ${JSON.stringify({
2711
2711
  response: e,
@@ -3003,15 +3003,15 @@ const hn = /* @__PURE__ */ $n(En), xc = /* @__PURE__ */ Pu({
3003
3003
  return t && (typeof Headers < "u" && t instanceof Headers || xc && En.Headers && t instanceof En.Headers ? e = wc(t) : Array.isArray(t) ? t.forEach(([n, r]) => {
3004
3004
  n && r !== void 0 && (e[n] = r);
3005
3005
  }) : e = t), e;
3006
- }, Gi = (t) => t.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), Nc = (t) => {
3006
+ }, zi = (t) => t.replace(/([\s,]|#[^\n\r]+)+/g, " ").trim(), Nc = (t) => {
3007
3007
  if (!Array.isArray(t.query)) {
3008
- const r = t, i = [`query=${encodeURIComponent(Gi(r.query))}`];
3008
+ const r = t, i = [`query=${encodeURIComponent(zi(r.query))}`];
3009
3009
  return t.variables && i.push(`variables=${encodeURIComponent(r.jsonSerializer.stringify(r.variables))}`), r.operationName && i.push(`operationName=${encodeURIComponent(r.operationName)}`), i.join("&");
3010
3010
  }
3011
3011
  if (typeof t.variables < "u" && !Array.isArray(t.variables))
3012
3012
  throw new Error("Cannot create query with given variable type, array expected");
3013
3013
  const e = t, n = t.query.reduce((r, i, o) => (r.push({
3014
- query: Gi(i),
3014
+ query: zi(i),
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))}`;
@@ -3129,7 +3129,7 @@ const Jn = (t) => pt(void 0, null, function* () {
3129
3129
  const f = typeof s == "string" ? {
3130
3130
  error: s
3131
3131
  } : s;
3132
- throw new La(
3132
+ throw new Ra(
3133
3133
  // @ts-expect-error TODO
3134
3134
  st(x({}, f), { status: c.status, headers: c.headers }),
3135
3135
  { query: r, variables: i }
@@ -3178,19 +3178,19 @@ var Tn = function() {
3178
3178
  }
3179
3179
  return t;
3180
3180
  }, Tn.apply(this, arguments);
3181
- }, dn = /* @__PURE__ */ new Map(), Vr = /* @__PURE__ */ new Map(), Ra = !0, wn = !1;
3182
- function Ia(t) {
3181
+ }, dn = /* @__PURE__ */ new Map(), Vr = /* @__PURE__ */ new Map(), Ia = !0, wn = !1;
3182
+ function Pa(t) {
3183
3183
  return t.replace(/[\s,]+/g, " ").trim();
3184
3184
  }
3185
3185
  function kc(t) {
3186
- return Ia(t.source.body.substring(t.start, t.end));
3186
+ return Pa(t.source.body.substring(t.start, t.end));
3187
3187
  }
3188
3188
  function Mc(t) {
3189
3189
  var e = /* @__PURE__ */ new Set(), n = [];
3190
3190
  return t.definitions.forEach(function(r) {
3191
3191
  if (r.kind === "FragmentDefinition") {
3192
3192
  var i = r.name.value, o = kc(r.loc), a = Vr.get(i);
3193
- a && !a.has(o) ? Ra && console.warn("Warning: fragment with name " + i + ` already exists.
3193
+ a && !a.has(o) ? Ia && console.warn("Warning: fragment with name " + i + ` already exists.
3194
3194
  graphql-tag enforces all fragment names across your application to be unique; read more about
3195
3195
  this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : a || Vr.set(i, a = /* @__PURE__ */ new Set()), a.add(o), e.has(o) || (e.add(o), n.push(r));
3196
3196
  } else
@@ -3209,7 +3209,7 @@ function Dc(t) {
3209
3209
  return n && (delete n.startToken, delete n.endToken), t;
3210
3210
  }
3211
3211
  function Uc(t) {
3212
- var e = Ia(t);
3212
+ var e = Pa(t);
3213
3213
  if (!dn.has(e)) {
3214
3214
  var n = di(t, {
3215
3215
  experimentalFragmentVariables: wn,
@@ -3234,7 +3234,7 @@ function $c() {
3234
3234
  dn.clear(), Vr.clear();
3235
3235
  }
3236
3236
  function jc() {
3237
- Ra = !1;
3237
+ Ia = !1;
3238
3238
  }
3239
3239
  function Bc() {
3240
3240
  wn = !0;
@@ -3253,7 +3253,7 @@ var bt = {
3253
3253
  t.gql = bt.gql, t.resetCaches = bt.resetCaches, t.disableFragmentWarnings = bt.disableFragmentWarnings, t.enableExperimentalFragmentVariables = bt.enableExperimentalFragmentVariables, t.disableExperimentalFragmentVariables = bt.disableExperimentalFragmentVariables;
3254
3254
  })(Z || (Z = {}));
3255
3255
  Z.default = Z;
3256
- const Pa = Z`
3256
+ const ka = Z`
3257
3257
  fragment MatchParts on MatchConfig {
3258
3258
  regexValue
3259
3259
  matchValue
@@ -3425,7 +3425,7 @@ const Pa = Z`
3425
3425
  }
3426
3426
  }
3427
3427
  }
3428
- ${Pa}
3428
+ ${ka}
3429
3429
  `, Wc = Z`
3430
3430
  query Ignore($id: ID!) {
3431
3431
  ignore(id: $id)
@@ -3479,7 +3479,7 @@ const Pa = Z`
3479
3479
  }
3480
3480
  }
3481
3481
  }
3482
- ${Pa}
3482
+ ${ka}
3483
3483
  `, Jc = (t, e, n, r) => t();
3484
3484
  function Qc(t, e = Jc) {
3485
3485
  return {
@@ -3651,12 +3651,12 @@ function tl(t) {
3651
3651
  function Hr(t) {
3652
3652
  return Object.prototype.toString.call(t) === "[object Object]";
3653
3653
  }
3654
- function ka(t, e) {
3654
+ function Ma(t, e) {
3655
3655
  if (e === 0)
3656
3656
  return !0;
3657
3657
  const n = Object.keys(t);
3658
3658
  for (const r of n)
3659
- if (Hr(t[r]) && ka(t[r], e - 1))
3659
+ if (Hr(t[r]) && Ma(t[r], e - 1))
3660
3660
  return !0;
3661
3661
  return !1;
3662
3662
  }
@@ -3695,7 +3695,7 @@ function Gr(t, e) {
3695
3695
  return c;
3696
3696
  });
3697
3697
  function o(u) {
3698
- return Hr(u) && Object.keys(u).length > n.numOfKeysLimit || typeof u == "function" ? !0 : u instanceof Event && u.isTrusted === !1 ? Object.keys(u).length === 1 : !!(Hr(u) && ka(u, n.depthOfLimit));
3698
+ return Hr(u) && Object.keys(u).length > n.numOfKeysLimit || typeof u == "function" ? !0 : u instanceof Event && u.isTrusted === !1 ? Object.keys(u).length === 1 : !!(Hr(u) && Ma(u, n.depthOfLimit));
3699
3699
  }
3700
3700
  function a(u) {
3701
3701
  let c = u.toString();
@@ -3843,7 +3843,7 @@ const ut = new pl(), Sn = new fl(), Ut = () => {
3843
3843
  return t;
3844
3844
  }, hl = (t) => {
3845
3845
  qr = t;
3846
- }, zi = (t) => {
3846
+ }, qi = (t) => {
3847
3847
  Xr = t;
3848
3848
  }, gi = (t) => {
3849
3849
  try {
@@ -3857,7 +3857,7 @@ const ut = new pl(), Sn = new fl(), Ut = () => {
3857
3857
  e
3858
3858
  ), ut.getItem(t);
3859
3859
  }
3860
- }, Ma = (t, e) => {
3860
+ }, Da = (t, e) => {
3861
3861
  Sn.setItem(t, e);
3862
3862
  try {
3863
3863
  return Ut().setItem(t, e);
@@ -3870,7 +3870,7 @@ const ut = new pl(), Sn = new fl(), Ut = () => {
3870
3870
  n
3871
3871
  ), ut.setItem(t, e);
3872
3872
  }
3873
- }, Da = (t) => {
3873
+ }, Ua = (t) => {
3874
3874
  Sn.removeItem(t);
3875
3875
  try {
3876
3876
  return Ut().removeItem(t);
@@ -3887,37 +3887,37 @@ const ut = new pl(), Sn = new fl(), Ut = () => {
3887
3887
  var mt = /* @__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))(mt || {});
3888
3888
  const jn = (t) => `${mt.SESSION_DATA}_${t}`, Ae = () => {
3889
3889
  var t;
3890
- return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : Ua();
3890
+ return typeof globalThis < "u" && (t = globalThis.persistentSessionSecureID) != null && t.length ? globalThis.persistentSessionSecureID : $a();
3891
3891
  }, dl = (t) => {
3892
3892
  typeof globalThis < "u" && t != null && t.length && (globalThis.persistentSessionSecureID = t);
3893
- }, Ua = () => {
3893
+ }, $a = () => {
3894
3894
  var t;
3895
3895
  return (t = gi(mt.SESSION_ID)) != null ? t : "";
3896
- }, $a = (t) => {
3897
- Ma(mt.SESSION_ID, t);
3896
+ }, ja = (t) => {
3897
+ Da(mt.SESSION_ID, t);
3898
3898
  }, vl = (t) => {
3899
3899
  const e = jn(t);
3900
3900
  return JSON.parse(gi(e) || "{}");
3901
3901
  }, ml = (t) => {
3902
- t || (t = Ua());
3902
+ t || (t = $a());
3903
3903
  let e = vl(t);
3904
3904
  if (e && e.lastPushTime && Date.now() - e.lastPushTime < yi)
3905
3905
  return e;
3906
- Da(jn(t));
3907
- }, ja = function(t) {
3906
+ Ua(jn(t));
3907
+ }, Ba = function(t) {
3908
3908
  if (!(t != null && t.sessionSecureID)) return;
3909
3909
  const e = t.sessionSecureID;
3910
3910
  dl(e);
3911
3911
  const n = jn(e);
3912
- Ma(n, JSON.stringify(t)), gl(n);
3912
+ Da(n, JSON.stringify(t)), gl(n);
3913
3913
  }, yl = function() {
3914
3914
  const t = Sn.getItem(
3915
3915
  mt.SESSION_ID
3916
3916
  );
3917
- $a(t);
3917
+ ja(t);
3918
3918
  const e = jn(t), n = Sn.getItem(e);
3919
3919
  try {
3920
- ja(JSON.parse(n));
3920
+ Ba(JSON.parse(n));
3921
3921
  } catch {
3922
3922
  }
3923
3923
  };
@@ -3940,7 +3940,7 @@ function gl(t) {
3940
3940
  "pruneSessionData",
3941
3941
  "debug",
3942
3942
  `removing session data for stale key ${r}`
3943
- ), Da(r));
3943
+ ), Ua(r));
3944
3944
  } catch (i) {
3945
3945
  Ee(
3946
3946
  "highlightSession",
@@ -3952,8 +3952,8 @@ function gl(t) {
3952
3952
  }
3953
3953
  }
3954
3954
  }
3955
- var Ba = /* @__PURE__ */ ((t) => (t.BillingQuotaExceeded = "BillingQuotaExceeded", t))(Ba || {});
3956
- const _i = 10, bi = 1e3, Ei = 500, _l = [Ba.BillingQuotaExceeded.toString()], bl = (t) => {
3955
+ var Fa = /* @__PURE__ */ ((t) => (t.BillingQuotaExceeded = "BillingQuotaExceeded", t))(Fa || {});
3956
+ const _i = 10, bi = 1e3, Ei = 500, _l = [Fa.BillingQuotaExceeded.toString()], bl = (t) => {
3957
3957
  var e;
3958
3958
  return ((e = t.response.errors) == null ? void 0 : e.find(
3959
3959
  (n) => _l.includes(n.message)
@@ -3963,7 +3963,7 @@ const _i = 10, bi = 1e3, Ei = 500, _l = [Ba.BillingQuotaExceeded.toString()], bl
3963
3963
  try {
3964
3964
  return yield e();
3965
3965
  } catch (a) {
3966
- if (a instanceof La && !bl(a))
3966
+ if (a instanceof Ra && !bl(a))
3967
3967
  throw a;
3968
3968
  if (o < _i)
3969
3969
  return yield new Promise(
@@ -3984,7 +3984,7 @@ const _i = 10, bi = 1e3, Ei = 500, _l = [Ba.BillingQuotaExceeded.toString()], bl
3984
3984
  }
3985
3985
  });
3986
3986
  return t;
3987
- }, J = "feature_flag", Fa = "launchdarkly", Tl = "evaluation", wl = `${J}.set.id`, Sl = `${J}.key`, Ol = `${J}.contextKeys`, Al = `${J}.context.id`, xl = `${J}.result.value`, Nl = `${J}.provider.name`, qi = {
3987
+ }, J = "feature_flag", Va = "launchdarkly", Tl = "evaluation", wl = `${J}.set.id`, Sl = `${J}.key`, Ol = `${J}.contextKeys`, Al = `${J}.context.id`, xl = `${J}.result.value`, Nl = `${J}.provider.name`, Xi = {
3988
3988
  kind: `${J}.result.reason.kind`,
3989
3989
  errorKind: `${J}.result.reason.errorKind`,
3990
3990
  ruleIndex: `${J}.result.reason.ruleIndex`,
@@ -3992,29 +3992,29 @@ const _i = 10, bi = 1e3, Ei = 500, _l = [Ba.BillingQuotaExceeded.toString()], bl
3992
3992
  prerequisiteKey: `${J}.result.reason.prerequisiteKey`,
3993
3993
  inExperiment: `${J}.result.reason.inExperiment`,
3994
3994
  bigSegmentsStatus: `${J}.result.reason.bigSegmentsStatus`
3995
- }, Cl = `${J}.result.variationIndex`, Ll = `${Fa}.application.id`, Rl = `${Fa}.application.version`, Il = "$ld:telemetry:session:init", Pl = "$ld:telemetry:error", Xi = "$ld:telemetry:track", kl = "$ld:telemetry:metric", Va = "document_load", Ml = "result.status";
3996
- function Ha(t) {
3995
+ }, Cl = `${J}.result.variationIndex`, Ll = `${Va}.application.id`, Rl = `${Va}.application.version`, Il = "$ld:telemetry:session:init", Pl = "$ld:telemetry:error", Ki = "$ld:telemetry:track", kl = "$ld:telemetry:metric", Ha = "document_load", Ml = "result.status";
3996
+ function Ga(t) {
3997
3997
  return t.includes("%") || t.includes(":") ? t.replace(/%/g, "%25").replace(/:/g, "%3A") : t;
3998
3998
  }
3999
- function Ga(t) {
3999
+ function za(t) {
4000
4000
  return t.kind === "multi";
4001
4001
  }
4002
- function Ki(t) {
4003
- if (Ga(t)) {
4002
+ function Wi(t) {
4003
+ if (za(t)) {
4004
4004
  if (t.member) {
4005
4005
  const e = t.member;
4006
4006
  return e.email ? e.email : e.key;
4007
4007
  }
4008
- return Object.keys(t).sort().filter((e) => e !== "kind").map((e) => `${e}:${Ha(t[e].key)}`).join(":");
4008
+ return Object.keys(t).sort().filter((e) => e !== "kind").map((e) => `${e}:${Ga(t[e].key)}`).join(":");
4009
4009
  }
4010
4010
  return t.key;
4011
4011
  }
4012
- function Wi(t) {
4013
- return Ga(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => ({
4014
- [e]: Ha(t[e].key)
4012
+ function Yi(t) {
4013
+ return za(t) ? Object.keys(t).sort().filter((e) => e !== "kind").map((e) => ({
4014
+ [e]: Ga(t[e].key)
4015
4015
  })).reduce((e, n) => x(x({}, e), n), {}) : {};
4016
4016
  }
4017
- let Dl = class {
4017
+ class Dl {
4018
4018
  constructor(e, n) {
4019
4019
  Mt(this, "client"), Mt(this, "metadata"), this.client = e, this.metadata = n;
4020
4020
  }
@@ -4028,7 +4028,7 @@ let Dl = class {
4028
4028
  }
4029
4029
  recordGauge(e, n) {
4030
4030
  var r;
4031
- n.category !== ne.WebVital && n.name !== Va || n.name !== "Jank" && this.client.track(
4031
+ n.category !== ne.WebVital && n.name !== Ha || n.name !== "Jank" && this.client.track(
4032
4032
  `${kl}:${n.name.toLowerCase()}`,
4033
4033
  st(x({}, (r = n.tags) == null ? void 0 : r.map((i) => ({ [i.name]: i.value })).reduce((i, o) => x(x({}, i), o), {})), {
4034
4034
  category: n.category,
@@ -4048,14 +4048,14 @@ let Dl = class {
4048
4048
  track(e, n) {
4049
4049
  const r = n.event;
4050
4050
  this.client.track(
4051
- r ? `${Xi}:${r}` : Xi,
4051
+ r ? `${Ki}:${r}` : Ki,
4052
4052
  st(x({}, n), {
4053
4053
  sessionID: e
4054
4054
  })
4055
4055
  );
4056
4056
  }
4057
- };
4058
- class Ul extends ya {
4057
+ }
4058
+ class Ul extends ga {
4059
4059
  constructor(e, n) {
4060
4060
  super(), Mt(this, "client"), this.client = new Dl(e, n);
4061
4061
  }
@@ -4090,7 +4090,7 @@ class Ul extends ya {
4090
4090
  return this._bufferCall("track", [e, n]);
4091
4091
  }
4092
4092
  }
4093
- const $l = "9.19.0", jl = {
4093
+ const $l = "9.19.1", jl = {
4094
4094
  version: $l
4095
4095
  }, Bl = jl.version;
4096
4096
  function Fl(t) {
@@ -4122,7 +4122,7 @@ const Vl = (t) => {
4122
4122
  };
4123
4123
  return window.addEventListener("resize", n), n(), () => window.removeEventListener("resize", n);
4124
4124
  };
4125
- var za = { exports: {} };
4125
+ var qa = { exports: {} };
4126
4126
  /**
4127
4127
  * @preserve
4128
4128
  * JS Implementation of incremental MurmurHash3 (r150) (as of May 10, 2013)
@@ -4175,9 +4175,9 @@ var za = { exports: {} };
4175
4175
  return this.h1 = typeof r == "number" ? r : 0, this.rem = this.k1 = this.len = 0, this;
4176
4176
  }, e = new n(), t.exports = n;
4177
4177
  })();
4178
- })(za);
4179
- var Hl = za.exports;
4180
- const Gl = /* @__PURE__ */ $n(Hl), nr = 28, Qe = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", zl = 2246822507, Yi = (t) => {
4178
+ })(qa);
4179
+ var Hl = qa.exports;
4180
+ const Gl = /* @__PURE__ */ $n(Hl), nr = 28, Qe = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789", zl = 2246822507, Ji = (t) => {
4181
4181
  var e, n = "";
4182
4182
  if (t) {
4183
4183
  const r = Gl(t).result();
@@ -4201,7 +4201,7 @@ class ql {
4201
4201
  constructor(e) {
4202
4202
  Mt(this, "sessionSecureID");
4203
4203
  try {
4204
- e != null && e.storageMode && hl(e?.storageMode), zi(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? yl() : zi(!1);
4204
+ e != null && e.storageMode && hl(e?.storageMode), qi(!!(e != null && e.sessionCookie)), e != null && e.sessionCookie ? yl() : qi(!1);
4205
4205
  } catch (n) {
4206
4206
  Ce(
4207
4207
  "Error initializing @launchdarkly observability plugin",
@@ -4216,9 +4216,9 @@ class ql {
4216
4216
  let i = ml(
4217
4217
  r
4218
4218
  );
4219
- i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID = Yi(
4219
+ i != null && i.sessionSecureID ? this.sessionSecureID = i.sessionSecureID : (n != null && n.sessionKey ? this.sessionSecureID = Ji(
4220
4220
  `${e}-${n.sessionKey}`
4221
- ) : this.sessionSecureID = Yi(), $a(this.sessionSecureID), ja({
4221
+ ) : this.sessionSecureID = Ji(), ja(this.sessionSecureID), Ba({
4222
4222
  sessionSecureID: this.sessionSecureID,
4223
4223
  sessionKey: n?.sessionKey,
4224
4224
  projectID: 0,
@@ -4234,7 +4234,7 @@ class ql {
4234
4234
  }
4235
4235
  }
4236
4236
  }
4237
- class Ji extends ya {
4237
+ class Qi extends ga {
4238
4238
  start() {
4239
4239
  return this._sdk.start();
4240
4240
  }
@@ -4281,18 +4281,18 @@ class Ji extends ya {
4281
4281
  }
4282
4282
  }
4283
4283
  let ot;
4284
- typeof globalThis < "u" ? globalThis.LDObserve ? ot = globalThis.LDObserve : (ot = new Ji(), globalThis.LDObserve = ot) : ot = new Ji();
4284
+ typeof globalThis < "u" ? globalThis.LDObserve ? ot = globalThis.LDObserve : (ot = new Qi(), globalThis.LDObserve = ot) : ot = new Qi();
4285
4285
  const Xl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4286
4286
  __proto__: null,
4287
4287
  get LDObserve() {
4288
4288
  return ot;
4289
4289
  }
4290
4290
  }, Symbol.toStringTag, { value: "Module" }));
4291
- var Kl = Object.defineProperty, Wl = Object.defineProperties, Yl = Object.getOwnPropertyDescriptors, Qi = Object.getOwnPropertySymbols, Jl = Object.prototype.hasOwnProperty, Ql = Object.prototype.propertyIsEnumerable, Kr = (t, e, n) => e in t ? Kl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, P = (t, e) => {
4291
+ var Kl = Object.defineProperty, Wl = Object.defineProperties, Yl = Object.getOwnPropertyDescriptors, Zi = Object.getOwnPropertySymbols, Jl = Object.prototype.hasOwnProperty, Ql = Object.prototype.propertyIsEnumerable, Kr = (t, e, n) => e in t ? Kl(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, P = (t, e) => {
4292
4292
  for (var n in e || (e = {}))
4293
4293
  Jl.call(e, n) && Kr(t, n, e[n]);
4294
- if (Qi)
4295
- for (var n of Qi(e))
4294
+ if (Zi)
4295
+ for (var n of Zi(e))
4296
4296
  Ql.call(e, n) && Kr(t, n, e[n]);
4297
4297
  return t;
4298
4298
  }, ee = (t, e) => Wl(t, Yl(e)), k = (t, e, n) => Kr(t, typeof e != "symbol" ? e + "" : e, n), ct = (t, e, n) => new Promise((r, i) => {
@@ -4310,9 +4310,9 @@ var Kl = Object.defineProperty, Wl = Object.defineProperties, Yl = Object.getOwn
4310
4310
  }
4311
4311
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
4312
4312
  u((n = n.apply(t, e)).next());
4313
- }), qa = { exports: {} }, Zi = { exports: {} }, eo;
4313
+ }), Xa = { exports: {} }, eo = { exports: {} }, to;
4314
4314
  function Zl() {
4315
- return eo || (eo = 1, function(t, e) {
4315
+ return to || (to = 1, function(t, e) {
4316
4316
  (function(n, r) {
4317
4317
  t.exports = r();
4318
4318
  })(mi, function() {
@@ -4391,7 +4391,7 @@ function Zl() {
4391
4391
  }(u[v]);
4392
4392
  return p;
4393
4393
  });
4394
- }(Zi)), Zi.exports;
4394
+ }(eo)), eo.exports;
4395
4395
  }
4396
4396
  (function(t, e) {
4397
4397
  (function(n, r) {
@@ -4515,15 +4515,15 @@ function Zl() {
4515
4515
  }
4516
4516
  };
4517
4517
  });
4518
- })(qa);
4519
- var ep = qa.exports;
4520
- const to = /* @__PURE__ */ $n(ep);
4518
+ })(Xa);
4519
+ var ep = Xa.exports;
4520
+ const no = /* @__PURE__ */ $n(ep);
4521
4521
  function Bn(t) {
4522
4522
  try {
4523
- return to.parse(t);
4523
+ return no.parse(t);
4524
4524
  } catch (e) {
4525
4525
  try {
4526
- return to.parse(new Error());
4526
+ return no.parse(new Error());
4527
4527
  } catch (n) {
4528
4528
  return console.warn("Highlight Warning: failed to parse error", {
4529
4529
  originalError: e,
@@ -4630,7 +4630,7 @@ function cp() {
4630
4630
  const t = sp();
4631
4631
  return up(t);
4632
4632
  }
4633
- function Xa() {
4633
+ function Ka() {
4634
4634
  return typeof crypto < "u" && typeof crypto.randomUUID == "function" ? crypto.randomUUID() : cp();
4635
4635
  }
4636
4636
  function or(t, e, n, r) {
@@ -4649,7 +4649,7 @@ function or(t, e, n, r) {
4649
4649
  stackTrace: p,
4650
4650
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
4651
4651
  payload: l ? Ct(l) : void 0,
4652
- id: Xa()
4652
+ id: Ka()
4653
4653
  });
4654
4654
  }
4655
4655
  const lp = (t, { enablePromisePatch: e }) => {
@@ -4711,9 +4711,9 @@ const lp = (t, { enablePromisePatch: e }) => {
4711
4711
  "websocket error",
4712
4712
  '\\"ResizeObserver loop'
4713
4713
  ];
4714
- var dp = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, $e = "1.9.0", no = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4714
+ var dp = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, $e = "1.9.0", ro = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4715
4715
  function vp(t) {
4716
- var e = /* @__PURE__ */ new Set([t]), n = /* @__PURE__ */ new Set(), r = t.match(no);
4716
+ var e = /* @__PURE__ */ new Set([t]), n = /* @__PURE__ */ new Set(), r = t.match(ro);
4717
4717
  if (!r)
4718
4718
  return function() {
4719
4719
  return !1;
@@ -4739,7 +4739,7 @@ function vp(t) {
4739
4739
  return !0;
4740
4740
  if (n.has(u))
4741
4741
  return !1;
4742
- var c = u.match(no);
4742
+ var c = u.match(ro);
4743
4743
  if (!c)
4744
4744
  return o(u);
4745
4745
  var s = {
@@ -5134,9 +5134,9 @@ var Ip = (
5134
5134
  }
5135
5135
  return e;
5136
5136
  }(wi)
5137
- ), Ka = new Pp(), Fp = new kp(), Vp = new Dp(), Hp = new Up(), Gp = new Mp(), zp = new $p(), qp = new jp(), Xp = new Bp();
5137
+ ), Wa = new Pp(), Fp = new kp(), Vp = new Dp(), Hp = new Up(), Gp = new Mp(), zp = new $p(), qp = new jp(), Xp = new Bp();
5138
5138
  function Kp() {
5139
- return Ka;
5139
+ return Wa;
5140
5140
  }
5141
5141
  var Le;
5142
5142
  (function(t) {
@@ -5240,15 +5240,15 @@ var Wp = {
5240
5240
  (function(t) {
5241
5241
  t[t.NONE = 0] = "NONE", t[t.SAMPLED = 1] = "SAMPLED";
5242
5242
  })(Te || (Te = {}));
5243
- var Wa = "0000000000000000", Ya = "00000000000000000000000000000000", Ja = {
5244
- traceId: Ya,
5245
- spanId: Wa,
5243
+ var Ya = "0000000000000000", Ja = "00000000000000000000000000000000", Qa = {
5244
+ traceId: Ja,
5245
+ spanId: Ya,
5246
5246
  traceFlags: Te.NONE
5247
5247
  }, Lt = (
5248
5248
  /** @class */
5249
5249
  function() {
5250
5250
  function t(e) {
5251
- e === void 0 && (e = Ja), this._spanContext = e;
5251
+ e === void 0 && (e = Qa), this._spanContext = e;
5252
5252
  }
5253
5253
  return t.prototype.spanContext = function() {
5254
5254
  return this._spanContext;
@@ -5288,24 +5288,24 @@ function of(t) {
5288
5288
  function af(t, e) {
5289
5289
  return Ai(t, new Lt(e));
5290
5290
  }
5291
- function Qa(t) {
5291
+ function Za(t) {
5292
5292
  var e;
5293
5293
  return (e = Oi(t)) === null || e === void 0 ? void 0 : e.spanContext();
5294
5294
  }
5295
5295
  var sf = /^([0-9a-f]{32})$/i, uf = /^[0-9a-f]{16}$/i;
5296
- function Za(t) {
5297
- return sf.test(t) && t !== Ya;
5296
+ function es(t) {
5297
+ return sf.test(t) && t !== Ja;
5298
5298
  }
5299
5299
  function cf(t) {
5300
- return uf.test(t) && t !== Wa;
5300
+ return uf.test(t) && t !== Ya;
5301
5301
  }
5302
5302
  function Hn(t) {
5303
- return Za(t.traceId) && cf(t.spanId);
5303
+ return es(t.traceId) && cf(t.spanId);
5304
5304
  }
5305
5305
  function lf(t) {
5306
5306
  return new Lt(t);
5307
5307
  }
5308
- var sr = Vn.getInstance(), es = (
5308
+ var sr = Vn.getInstance(), ts = (
5309
5309
  /** @class */
5310
5310
  function() {
5311
5311
  function t() {
@@ -5315,7 +5315,7 @@ var sr = Vn.getInstance(), es = (
5315
5315
  var i = !!(n != null && n.root);
5316
5316
  if (i)
5317
5317
  return new Lt();
5318
- var o = r && Qa(r);
5318
+ var o = r && Za(r);
5319
5319
  return pf(o) && Hn(o) ? new Lt(o) : new Lt();
5320
5320
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
5321
5321
  var o, a, u;
@@ -5330,7 +5330,7 @@ var sr = Vn.getInstance(), es = (
5330
5330
  function pf(t) {
5331
5331
  return typeof t == "object" && typeof t.spanId == "string" && typeof t.traceId == "string" && typeof t.traceFlags == "number";
5332
5332
  }
5333
- var ff = new es(), hf = (
5333
+ var ff = new ts(), hf = (
5334
5334
  /** @class */
5335
5335
  function() {
5336
5336
  function t(e, n, r, i) {
@@ -5354,10 +5354,10 @@ var ff = new es(), hf = (
5354
5354
  function t() {
5355
5355
  }
5356
5356
  return t.prototype.getTracer = function(e, n, r) {
5357
- return new es();
5357
+ return new ts();
5358
5358
  }, t;
5359
5359
  }()
5360
- ), vf = new df(), ro = (
5360
+ ), vf = new df(), io = (
5361
5361
  /** @class */
5362
5362
  function() {
5363
5363
  function t() {
@@ -5393,7 +5393,7 @@ var C = Vn.getInstance(), E = ve.instance(), mf = (
5393
5393
  function t() {
5394
5394
  }
5395
5395
  return t.prototype.getMeter = function(e, n, r) {
5396
- return Ka;
5396
+ return Wa;
5397
5397
  }, t;
5398
5398
  }()
5399
5399
  ), yf = new mf(), ur = "metrics", gf = (
@@ -5426,11 +5426,11 @@ var C = Vn.getInstance(), E = ve.instance(), mf = (
5426
5426
  }, t;
5427
5427
  }()
5428
5428
  ), xi = Ti("OpenTelemetry Baggage Key");
5429
- function ts(t) {
5429
+ function ns(t) {
5430
5430
  return t.getValue(xi) || void 0;
5431
5431
  }
5432
5432
  function bf() {
5433
- return ts(Vn.getInstance().active());
5433
+ return ns(Vn.getInstance().active());
5434
5434
  }
5435
5435
  function Ef(t, e) {
5436
5436
  return t.setValue(xi, e);
@@ -5442,7 +5442,7 @@ var cr = "propagation", wf = new _f(), Sf = (
5442
5442
  /** @class */
5443
5443
  function() {
5444
5444
  function t() {
5445
- this.createBaggage = Lp, this.getBaggage = ts, this.getActiveBaggage = bf, this.setBaggage = Ef, this.deleteBaggage = Tf;
5445
+ this.createBaggage = Lp, this.getBaggage = ns, this.getActiveBaggage = bf, this.setBaggage = Ef, this.deleteBaggage = Tf;
5446
5446
  }
5447
5447
  return t.getInstance = function() {
5448
5448
  return this._instance || (this._instance = new t()), this._instance;
@@ -5464,7 +5464,7 @@ var cr = "propagation", wf = new _f(), Sf = (
5464
5464
  /** @class */
5465
5465
  function() {
5466
5466
  function t() {
5467
- this._proxyTracerProvider = new ro(), this.wrapSpanContext = lf, this.isSpanContextValid = Hn, this.deleteSpan = of, this.getSpan = Oi, this.getActiveSpan = rf, this.getSpanContext = Qa, this.setSpan = Ai, this.setSpanContext = af;
5467
+ this._proxyTracerProvider = new io(), this.wrapSpanContext = lf, this.isSpanContextValid = Hn, this.deleteSpan = of, this.getSpan = Oi, this.getActiveSpan = rf, this.getSpanContext = Za, this.setSpan = Ai, this.setSpanContext = af;
5468
5468
  }
5469
5469
  return t.getInstance = function() {
5470
5470
  return this._instance || (this._instance = new t()), this._instance;
@@ -5476,15 +5476,15 @@ var cr = "propagation", wf = new _f(), Sf = (
5476
5476
  }, t.prototype.getTracer = function(e, n) {
5477
5477
  return this.getTracerProvider().getTracer(e, n);
5478
5478
  }, t.prototype.disable = function() {
5479
- zt(lr, ve.instance()), this._proxyTracerProvider = new ro();
5479
+ zt(lr, ve.instance()), this._proxyTracerProvider = new io();
5480
5480
  }, t;
5481
5481
  }()
5482
- ), R = Of.getInstance(), ns = Ti("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5483
- function rs(t) {
5484
- return t.setValue(ns, !0);
5482
+ ), R = Of.getInstance(), rs = Ti("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5483
+ function is(t) {
5484
+ return t.setValue(rs, !0);
5485
5485
  }
5486
5486
  function Ni(t) {
5487
- return t.getValue(ns) === !0;
5487
+ return t.getValue(rs) === !0;
5488
5488
  }
5489
5489
  var Af = "=", Wr = ";", Yr = ",", pr = "baggage", xf = 180, Nf = 4096, Cf = 8192, Lf = function(t, e) {
5490
5490
  var n = typeof Symbol == "function" && t[Symbol.iterator];
@@ -5528,7 +5528,7 @@ function Pf(t) {
5528
5528
  }
5529
5529
  }
5530
5530
  }
5531
- var is = (
5531
+ var os = (
5532
5532
  /** @class */
5533
5533
  function() {
5534
5534
  function t() {
@@ -5560,7 +5560,7 @@ var is = (
5560
5560
  return [pr];
5561
5561
  }, t;
5562
5562
  }()
5563
- ), os = function(t) {
5563
+ ), as = function(t) {
5564
5564
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
5565
5565
  if (n) return n.call(t);
5566
5566
  if (t && typeof t.length == "number") return {
@@ -5591,13 +5591,13 @@ function vn(t) {
5591
5591
  if (typeof t != "object" || t == null)
5592
5592
  return r;
5593
5593
  try {
5594
- for (var i = os(Object.entries(t)), o = i.next(); !o.done; o = i.next()) {
5594
+ for (var i = as(Object.entries(t)), o = i.next(); !o.done; o = i.next()) {
5595
5595
  var a = kf(o.value, 2), u = a[0], c = a[1];
5596
5596
  if (!Mf(u)) {
5597
5597
  E.warn("Invalid attribute key: " + u);
5598
5598
  continue;
5599
5599
  }
5600
- if (!as(c)) {
5600
+ if (!ss(c)) {
5601
5601
  E.warn("Invalid attribute value set for key: " + u);
5602
5602
  continue;
5603
5603
  }
@@ -5617,17 +5617,17 @@ function vn(t) {
5617
5617
  function Mf(t) {
5618
5618
  return typeof t == "string" && t.length > 0;
5619
5619
  }
5620
- function as(t) {
5621
- return t == null ? !0 : Array.isArray(t) ? Df(t) : ss(t);
5620
+ function ss(t) {
5621
+ return t == null ? !0 : Array.isArray(t) ? Df(t) : us(t);
5622
5622
  }
5623
5623
  function Df(t) {
5624
5624
  var e, n, r;
5625
5625
  try {
5626
- for (var i = os(t), o = i.next(); !o.done; o = i.next()) {
5626
+ for (var i = as(t), o = i.next(); !o.done; o = i.next()) {
5627
5627
  var a = o.value;
5628
5628
  if (a != null) {
5629
5629
  if (!r) {
5630
- if (ss(a)) {
5630
+ if (us(a)) {
5631
5631
  r = typeof a;
5632
5632
  continue;
5633
5633
  }
@@ -5648,7 +5648,7 @@ function Df(t) {
5648
5648
  }
5649
5649
  return !0;
5650
5650
  }
5651
- function ss(t) {
5651
+ function us(t) {
5652
5652
  switch (typeof t) {
5653
5653
  case "number":
5654
5654
  case "boolean":
@@ -5726,7 +5726,7 @@ var qf = [
5726
5726
  function Xf(t) {
5727
5727
  return qf.indexOf(t) > -1;
5728
5728
  }
5729
- var mn = 1 / 0, yn = 128, Kf = 128, Wf = 128, us = {
5729
+ var mn = 1 / 0, yn = 128, Kf = 128, Wf = 128, cs = {
5730
5730
  OTEL_SDK_DISABLED: !1,
5731
5731
  CONTAINER_NAME: "",
5732
5732
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -5841,9 +5841,9 @@ function eh(t, e, n) {
5841
5841
  i != null && (e[t] = i);
5842
5842
  }
5843
5843
  }
5844
- function cs(t) {
5844
+ function ls(t) {
5845
5845
  var e = {};
5846
- for (var n in us) {
5846
+ for (var n in cs) {
5847
5847
  var r = n;
5848
5848
  switch (r) {
5849
5849
  case "OTEL_LOG_LEVEL":
@@ -5866,18 +5866,18 @@ function cs(t) {
5866
5866
  }
5867
5867
  var Rt = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {};
5868
5868
  function ft() {
5869
- var t = cs(Rt);
5870
- return Object.assign({}, us, t);
5869
+ var t = ls(Rt);
5870
+ return Object.assign({}, cs, t);
5871
5871
  }
5872
5872
  function th() {
5873
- return cs(Rt);
5873
+ return ls(Rt);
5874
5874
  }
5875
- function io(t) {
5875
+ function oo(t) {
5876
5876
  return t >= 48 && t <= 57 ? t - 48 : t >= 97 && t <= 102 ? t - 87 : t - 55;
5877
5877
  }
5878
5878
  function Ci(t) {
5879
5879
  for (var e = new Uint8Array(t.length / 2), n = 0, r = 0; r < t.length; r += 2) {
5880
- var i = io(t.charCodeAt(r)), o = io(t.charCodeAt(r + 1));
5880
+ var i = oo(t.charCodeAt(r)), o = oo(t.charCodeAt(r + 1));
5881
5881
  e[n++] = i << 4 | o;
5882
5882
  }
5883
5883
  return e;
@@ -5897,7 +5897,7 @@ function Li() {
5897
5897
  }
5898
5898
  function Ve(t) {
5899
5899
  var e = ie(Li()), n = ie(typeof t == "number" ? t : oe.now());
5900
- return ls(e, n);
5900
+ return ps(e, n);
5901
5901
  }
5902
5902
  function It(t) {
5903
5903
  if (Ri(t))
@@ -5921,10 +5921,10 @@ function Qt(t) {
5921
5921
  function Ri(t) {
5922
5922
  return Array.isArray(t) && t.length === 2 && typeof t[0] == "number" && typeof t[1] == "number";
5923
5923
  }
5924
- function oo(t) {
5924
+ function ao(t) {
5925
5925
  return Ri(t) || typeof t == "number" || t instanceof Date;
5926
5926
  }
5927
- function ls(t, e) {
5927
+ function ps(t, e) {
5928
5928
  var n = [t[0] + e[0], t[1] + e[1]];
5929
5929
  return n[1] >= xn && (n[1] -= xn, n[0] += 1), n;
5930
5930
  }
@@ -5941,7 +5941,7 @@ var yh = function(t) {
5941
5941
  }
5942
5942
  };
5943
5943
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
5944
- }, ps = (
5944
+ }, fs = (
5945
5945
  /** @class */
5946
5946
  function() {
5947
5947
  function t(e) {
@@ -5993,7 +5993,7 @@ function wh(t) {
5993
5993
  function Sh(t) {
5994
5994
  return Eh.test(t) && !Th.test(t);
5995
5995
  }
5996
- var ao = 32, Oh = 512, so = ",", uo = "=", Ah = (
5996
+ var so = 32, Oh = 512, uo = ",", co = "=", Ah = (
5997
5997
  /** @class */
5998
5998
  function() {
5999
5999
  function t(e) {
@@ -6010,17 +6010,17 @@ var ao = 32, Oh = 512, so = ",", uo = "=", Ah = (
6010
6010
  }, t.prototype.serialize = function() {
6011
6011
  var e = this;
6012
6012
  return this._keys().reduce(function(n, r) {
6013
- return n.push(r + uo + e.get(r)), n;
6014
- }, []).join(so);
6013
+ return n.push(r + co + e.get(r)), n;
6014
+ }, []).join(uo);
6015
6015
  }, t.prototype._parse = function(e) {
6016
- e.length > Oh || (this._internalState = e.split(so).reverse().reduce(function(n, r) {
6017
- var i = r.trim(), o = i.indexOf(uo);
6016
+ e.length > Oh || (this._internalState = e.split(uo).reverse().reduce(function(n, r) {
6017
+ var i = r.trim(), o = i.indexOf(co);
6018
6018
  if (o !== -1) {
6019
6019
  var a = i.slice(0, o), u = i.slice(o + 1, r.length);
6020
6020
  wh(a) && Sh(u) && n.set(a, u);
6021
6021
  }
6022
6022
  return n;
6023
- }, /* @__PURE__ */ new Map()), this._internalState.size > ao && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, ao))));
6023
+ }, /* @__PURE__ */ new Map()), this._internalState.size > so && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, so))));
6024
6024
  }, t.prototype._keys = function() {
6025
6025
  return Array.from(this._internalState.keys()).reverse();
6026
6026
  }, t.prototype._clone = function() {
@@ -6037,7 +6037,7 @@ function Ph(t) {
6037
6037
  traceFlags: parseInt(e[4], 16)
6038
6038
  };
6039
6039
  }
6040
- var fs = (
6040
+ var hs = (
6041
6041
  /** @class */
6042
6042
  function() {
6043
6043
  function t() {
@@ -6069,20 +6069,20 @@ var fs = (
6069
6069
  return [gn, hr];
6070
6070
  }, t;
6071
6071
  }()
6072
- ), kh = "[object Object]", Mh = "[object Null]", Dh = "[object Undefined]", Uh = Function.prototype, hs = Uh.toString, $h = hs.call(Object), jh = Bh(Object.getPrototypeOf, Object), ds = Object.prototype, vs = ds.hasOwnProperty, De = Symbol ? Symbol.toStringTag : void 0, ms = ds.toString;
6072
+ ), kh = "[object Object]", Mh = "[object Null]", Dh = "[object Undefined]", Uh = Function.prototype, ds = Uh.toString, $h = ds.call(Object), jh = Bh(Object.getPrototypeOf, Object), vs = Object.prototype, ms = vs.hasOwnProperty, De = Symbol ? Symbol.toStringTag : void 0, ys = vs.toString;
6073
6073
  function Bh(t, e) {
6074
6074
  return function(n) {
6075
6075
  return t(e(n));
6076
6076
  };
6077
6077
  }
6078
- function co(t) {
6078
+ function lo(t) {
6079
6079
  if (!Fh(t) || Vh(t) !== kh)
6080
6080
  return !1;
6081
6081
  var e = jh(t);
6082
6082
  if (e === null)
6083
6083
  return !0;
6084
- var n = vs.call(e, "constructor") && e.constructor;
6085
- return typeof n == "function" && n instanceof n && hs.call(n) === $h;
6084
+ var n = ms.call(e, "constructor") && e.constructor;
6085
+ return typeof n == "function" && n instanceof n && ds.call(n) === $h;
6086
6086
  }
6087
6087
  function Fh(t) {
6088
6088
  return t != null && typeof t == "object";
@@ -6091,33 +6091,33 @@ function Vh(t) {
6091
6091
  return t == null ? t === void 0 ? Dh : Mh : De && De in Object(t) ? Hh(t) : Gh(t);
6092
6092
  }
6093
6093
  function Hh(t) {
6094
- var e = vs.call(t, De), n = t[De], r = !1;
6094
+ var e = ms.call(t, De), n = t[De], r = !1;
6095
6095
  try {
6096
6096
  t[De] = void 0, r = !0;
6097
6097
  } catch {
6098
6098
  }
6099
- var i = ms.call(t);
6099
+ var i = ys.call(t);
6100
6100
  return r && (e ? t[De] = n : delete t[De]), i;
6101
6101
  }
6102
6102
  function Gh(t) {
6103
- return ms.call(t);
6103
+ return ys.call(t);
6104
6104
  }
6105
6105
  var zh = 20;
6106
- function ys() {
6106
+ function gs() {
6107
6107
  for (var t = [], e = 0; e < arguments.length; e++)
6108
6108
  t[e] = arguments[e];
6109
6109
  for (var n = t.shift(), r = /* @__PURE__ */ new WeakMap(); t.length > 0; )
6110
- n = gs(n, t.shift(), 0, r);
6110
+ n = _s(n, t.shift(), 0, r);
6111
6111
  return n;
6112
6112
  }
6113
6113
  function dr(t) {
6114
6114
  return Nn(t) ? t.slice() : t;
6115
6115
  }
6116
- function gs(t, e, n, r) {
6116
+ function _s(t, e, n, r) {
6117
6117
  n === void 0 && (n = 0);
6118
6118
  var i;
6119
6119
  if (!(n > zh)) {
6120
- if (n++, _n(t) || _n(e) || _s(e))
6120
+ if (n++, _n(t) || _n(e) || bs(e))
6121
6121
  i = dr(e);
6122
6122
  else if (Nn(t)) {
6123
6123
  if (i = t.slice(), Nn(e))
@@ -6139,14 +6139,14 @@ function gs(t, e, n, r) {
6139
6139
  typeof s > "u" ? delete i[c] : i[c] = s;
6140
6140
  else {
6141
6141
  var l = i[c], p = s;
6142
- if (lo(t, c, r) || lo(e, c, r))
6142
+ if (po(t, c, r) || po(e, c, r))
6143
6143
  delete i[c];
6144
6144
  else {
6145
6145
  if (Tt(l) && Tt(p)) {
6146
6146
  var f = r.get(l) || [], m = r.get(p) || [];
6147
6147
  f.push({ obj: t, key: c }), m.push({ obj: e, key: c }), r.set(l, f), r.set(p, m);
6148
6148
  }
6149
- i[c] = gs(i[c], s, n, r);
6149
+ i[c] = _s(i[c], s, n, r);
6150
6150
  }
6151
6151
  }
6152
6152
  }
@@ -6155,7 +6155,7 @@ function gs(t, e, n, r) {
6155
6155
  return i;
6156
6156
  }
6157
6157
  }
6158
- function lo(t, e, n) {
6158
+ function po(t, e, n) {
6159
6159
  for (var r = n.get(t[e]) || [], i = 0, o = r.length; i < o; i++) {
6160
6160
  var a = r[i];
6161
6161
  if (a.key === e && a.obj === t)
@@ -6166,17 +6166,17 @@ function lo(t, e, n) {
6166
6166
  function Nn(t) {
6167
6167
  return Array.isArray(t);
6168
6168
  }
6169
- function _s(t) {
6169
+ function bs(t) {
6170
6170
  return typeof t == "function";
6171
6171
  }
6172
6172
  function Tt(t) {
6173
- return !_n(t) && !Nn(t) && !_s(t) && typeof t == "object";
6173
+ return !_n(t) && !Nn(t) && !bs(t) && typeof t == "object";
6174
6174
  }
6175
6175
  function _n(t) {
6176
6176
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t > "u" || t instanceof Date || t instanceof RegExp || t === null;
6177
6177
  }
6178
6178
  function qh(t, e) {
6179
- return !(!co(t) || !co(e));
6179
+ return !(!lo(t) || !lo(e));
6180
6180
  }
6181
6181
  var Xh = function(t) {
6182
6182
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
@@ -6188,17 +6188,17 @@ var Xh = function(t) {
6188
6188
  };
6189
6189
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
6190
6190
  };
6191
- function bs(t, e) {
6191
+ function Es(t, e) {
6192
6192
  return typeof e == "string" ? t === e : !!t.match(e);
6193
6193
  }
6194
- function Es(t, e) {
6194
+ function Ts(t, e) {
6195
6195
  var n, r;
6196
6196
  if (!e)
6197
6197
  return !1;
6198
6198
  try {
6199
6199
  for (var i = Xh(e), o = i.next(); !o.done; o = i.next()) {
6200
6200
  var a = o.value;
6201
- if (bs(t, a))
6201
+ if (Es(t, a))
6202
6202
  return !0;
6203
6203
  }
6204
6204
  } catch (u) {
@@ -6292,7 +6292,7 @@ var Kh = (
6292
6292
  );
6293
6293
  function Qh(t, e) {
6294
6294
  return new Promise(function(n) {
6295
- C.with(rs(C.active()), function() {
6295
+ C.with(is(C.active()), function() {
6296
6296
  t.export(e, function(r) {
6297
6297
  n(r);
6298
6298
  });
@@ -6301,7 +6301,7 @@ function Qh(t, e) {
6301
6301
  }
6302
6302
  var Zh = {
6303
6303
  _export: Qh
6304
- }, Ts = (
6304
+ }, ws = (
6305
6305
  /** @class */
6306
6306
  function() {
6307
6307
  function t() {
@@ -6309,16 +6309,16 @@ var Zh = {
6309
6309
  return t.prototype.emit = function(e) {
6310
6310
  }, t;
6311
6311
  }()
6312
- ), ed = new Ts(), td = (
6312
+ ), ed = new ws(), td = (
6313
6313
  /** @class */
6314
6314
  function() {
6315
6315
  function t() {
6316
6316
  }
6317
6317
  return t.prototype.getLogger = function(e, n, r) {
6318
- return new Ts();
6318
+ return new ws();
6319
6319
  }, t;
6320
6320
  }()
6321
- ), ws = new td(), nd = (
6321
+ ), Ss = new td(), nd = (
6322
6322
  /** @class */
6323
6323
  function() {
6324
6324
  function t(e, n, r, i) {
@@ -6333,7 +6333,7 @@ var Zh = {
6333
6333
  return e ? (this._delegate = e, this._delegate) : ed;
6334
6334
  }, t;
6335
6335
  }()
6336
- ), po = (
6336
+ ), fo = (
6337
6337
  /** @class */
6338
6338
  function() {
6339
6339
  function t() {
@@ -6343,7 +6343,7 @@ var Zh = {
6343
6343
  return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new nd(this, e, n, r);
6344
6344
  }, t.prototype.getDelegate = function() {
6345
6345
  var e;
6346
- return (e = this._delegate) !== null && e !== void 0 ? e : ws;
6346
+ return (e = this._delegate) !== null && e !== void 0 ? e : Ss;
6347
6347
  }, t.prototype.setDelegate = function(e) {
6348
6348
  this._delegate = e;
6349
6349
  }, t.prototype.getDelegateLogger = function(e, n, r) {
@@ -6357,23 +6357,23 @@ function id(t, e, n) {
6357
6357
  return r === t ? e : n;
6358
6358
  };
6359
6359
  }
6360
- var fo = 1, od = (
6360
+ var ho = 1, od = (
6361
6361
  /** @class */
6362
6362
  function() {
6363
6363
  function t() {
6364
- this._proxyLoggerProvider = new po();
6364
+ this._proxyLoggerProvider = new fo();
6365
6365
  }
6366
6366
  return t.getInstance = function() {
6367
6367
  return this._instance || (this._instance = new t()), this._instance;
6368
6368
  }, t.prototype.setGlobalLoggerProvider = function(e) {
6369
- return wt[Zt] ? this.getLoggerProvider() : (wt[Zt] = id(fo, e, ws), this._proxyLoggerProvider.setDelegate(e), e);
6369
+ return wt[Zt] ? this.getLoggerProvider() : (wt[Zt] = id(ho, e, Ss), this._proxyLoggerProvider.setDelegate(e), e);
6370
6370
  }, t.prototype.getLoggerProvider = function() {
6371
6371
  var e, n;
6372
- return (n = (e = wt[Zt]) === null || e === void 0 ? void 0 : e.call(wt, fo)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6372
+ return (n = (e = wt[Zt]) === null || e === void 0 ? void 0 : e.call(wt, ho)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
6373
6373
  }, t.prototype.getLogger = function(e, n, r) {
6374
6374
  return this.getLoggerProvider().getLogger(e, n, r);
6375
6375
  }, t.prototype.disable = function() {
6376
- delete wt[Zt], this._proxyLoggerProvider = new po();
6376
+ delete wt[Zt], this._proxyLoggerProvider = new fo();
6377
6377
  }, t;
6378
6378
  }()
6379
6379
  ), qt = od.getInstance();
@@ -6410,7 +6410,7 @@ function St(t, e, n) {
6410
6410
  function Xt(t) {
6411
6411
  t && t.logger && (Qr(t.logger) ? Q = t.logger : Q("new logger isn't a function, not replacing"));
6412
6412
  }
6413
- function Ss(t, e, n) {
6413
+ function Os(t, e, n) {
6414
6414
  if (!t || !t[e]) {
6415
6415
  Q("no original function " + e + " to wrap");
6416
6416
  return;
@@ -6441,11 +6441,11 @@ function cd(t, e, n) {
6441
6441
  }
6442
6442
  t.forEach(function(r) {
6443
6443
  e.forEach(function(i) {
6444
- Ss(r, i, n);
6444
+ Os(r, i, n);
6445
6445
  });
6446
6446
  });
6447
6447
  }
6448
- function Os(t, e) {
6448
+ function As(t, e) {
6449
6449
  if (!t || !t[e]) {
6450
6450
  Q("no function to unwrap."), Q(new Error().stack);
6451
6451
  return;
@@ -6468,13 +6468,13 @@ function ld(t, e) {
6468
6468
  }
6469
6469
  t.forEach(function(n) {
6470
6470
  e.forEach(function(r) {
6471
- Os(n, r);
6471
+ As(n, r);
6472
6472
  });
6473
6473
  });
6474
6474
  }
6475
- Xt.wrap = Ss;
6475
+ Xt.wrap = Os;
6476
6476
  Xt.massWrap = cd;
6477
- Xt.unwrap = Os;
6477
+ Xt.unwrap = As;
6478
6478
  Xt.massUnwrap = ld;
6479
6479
  var K = Xt, Zr = function() {
6480
6480
  return Zr = Object.assign || function(t) {
@@ -6567,7 +6567,7 @@ var K = Xt, Zr = function() {
6567
6567
  function Y(t) {
6568
6568
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
6569
6569
  }
6570
- var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace", vr = dd, mr = vd, yd = md, gd = "exception", ei = function() {
6570
+ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace", yd = "http.response_content_length", gd = "http.response_content_length_uncompressed", vr = dd, mr = vd, _d = md, bd = yd, Ed = gd, Td = "exception", ei = function() {
6571
6571
  return ei = Object.assign || function(t) {
6572
6572
  for (var e, n = 1, r = arguments.length; n < r; n++) {
6573
6573
  e = arguments[n];
@@ -6575,7 +6575,7 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6575
6575
  }
6576
6576
  return t;
6577
6577
  }, ei.apply(this, arguments);
6578
- }, _d = function(t) {
6578
+ }, wd = function(t) {
6579
6579
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
6580
6580
  if (n) return n.call(t);
6581
6581
  if (t && typeof t.length == "number") return {
@@ -6584,7 +6584,7 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6584
6584
  }
6585
6585
  };
6586
6586
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
6587
- }, ho = function(t, e) {
6587
+ }, vo = function(t, e) {
6588
6588
  var n = typeof Symbol == "function" && t[Symbol.iterator];
6589
6589
  if (!n) return t;
6590
6590
  var r = n.call(t), i, o = [], a;
@@ -6600,11 +6600,11 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6600
6600
  }
6601
6601
  }
6602
6602
  return o;
6603
- }, bd = function(t, e, n) {
6603
+ }, Sd = function(t, e, n) {
6604
6604
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
6605
6605
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
6606
6606
  return t.concat(o || Array.prototype.slice.call(e));
6607
- }, Ed = (
6607
+ }, Od = (
6608
6608
  /** @class */
6609
6609
  function() {
6610
6610
  function t(e, n, r, i, o, a, u, c, s, l) {
@@ -6617,12 +6617,12 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6617
6617
  return t.prototype.spanContext = function() {
6618
6618
  return this._spanContext;
6619
6619
  }, t.prototype.setAttribute = function(e, n) {
6620
- return n == null || this._isSpanEnded() ? this : e.length === 0 ? (E.warn("Invalid attribute key: " + e), this) : as(n) ? Object.keys(this.attributes).length >= this._spanLimits.attributeCountLimit && !Object.prototype.hasOwnProperty.call(this.attributes, e) ? (this._droppedAttributesCount++, this) : (this.attributes[e] = this._truncateToSize(n), this) : (E.warn("Invalid attribute value set for key: " + e), this);
6620
+ return n == null || this._isSpanEnded() ? this : e.length === 0 ? (E.warn("Invalid attribute key: " + e), this) : ss(n) ? Object.keys(this.attributes).length >= this._spanLimits.attributeCountLimit && !Object.prototype.hasOwnProperty.call(this.attributes, e) ? (this._droppedAttributesCount++, this) : (this.attributes[e] = this._truncateToSize(n), this) : (E.warn("Invalid attribute value set for key: " + e), this);
6621
6621
  }, t.prototype.setAttributes = function(e) {
6622
6622
  var n, r;
6623
6623
  try {
6624
- for (var i = _d(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6625
- var a = ho(o.value, 2), u = a[0], c = a[1];
6624
+ for (var i = wd(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6625
+ var a = vo(o.value, 2), u = a[0], c = a[1];
6626
6626
  this.setAttribute(u, c);
6627
6627
  }
6628
6628
  } catch (s) {
@@ -6640,7 +6640,7 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6640
6640
  return this;
6641
6641
  if (this._spanLimits.eventCountLimit === 0)
6642
6642
  return E.warn("No events allowed."), this._droppedEventsCount++, this;
6643
- this.events.length >= this._spanLimits.eventCountLimit && (this._droppedEventsCount === 0 && E.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), oo(n) && (oo(r) || (r = n), n = void 0);
6643
+ this.events.length >= this._spanLimits.eventCountLimit && (this._droppedEventsCount === 0 && E.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), ao(n) && (ao(r) || (r = n), n = void 0);
6644
6644
  var i = vn(n);
6645
6645
  return this.events.push({
6646
6646
  name: e,
@@ -6652,7 +6652,7 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6652
6652
  return this.links.push(e), this;
6653
6653
  }, t.prototype.addLinks = function(e) {
6654
6654
  var n;
6655
- return (n = this.links).push.apply(n, bd([], ho(e), !1)), this;
6655
+ return (n = this.links).push.apply(n, Sd([], vo(e), !1)), this;
6656
6656
  }, t.prototype.setStatus = function(e) {
6657
6657
  return this._isSpanEnded() ? this : (this.status = ei({}, e), this.status.message != null && typeof e.message != "string" && (E.warn("Dropping invalid status.message of type '" + typeof e.message + "', expected 'string'"), delete this.status.message), this);
6658
6658
  }, t.prototype.updateName = function(e) {
@@ -6675,12 +6675,12 @@ var dd = "exception.type", vd = "exception.message", md = "exception.stacktrace"
6675
6675
  if (this._startTimeProvided)
6676
6676
  return ie(Date.now());
6677
6677
  var n = oe.now() - this._performanceStartTime;
6678
- return ls(this.startTime, ie(n));
6678
+ return ps(this.startTime, ie(n));
6679
6679
  }, t.prototype.isRecording = function() {
6680
6680
  return this._ended === !1;
6681
6681
  }, t.prototype.recordException = function(e, n) {
6682
6682
  var r = {};
6683
- typeof e == "string" ? r[mr] = e : e && (e.code ? r[vr] = e.code.toString() : e.name && (r[vr] = e.name), e.message && (r[mr] = e.message), e.stack && (r[yd] = e.stack)), r[vr] || r[mr] ? this.addEvent(gd, r, n) : E.warn("Failed to record an exception " + e);
6683
+ typeof e == "string" ? r[mr] = e : e && (e.code ? r[vr] = e.code.toString() : e.name && (r[vr] = e.name), e.message && (r[mr] = e.message), e.stack && (r[_d] = e.stack)), r[vr] || r[mr] ? this.addEvent(Td, r, n) : E.warn("Failed to record an exception " + e);
6684
6684
  }, Object.defineProperty(t.prototype, "duration", {
6685
6685
  get: function() {
6686
6686
  return this._duration;
@@ -6766,7 +6766,7 @@ var Cn = (
6766
6766
  return "ParentBased{root=" + this._root.toString() + ", remoteParentSampled=" + this._remoteParentSampled.toString() + ", remoteParentNotSampled=" + this._remoteParentNotSampled.toString() + ", localParentSampled=" + this._localParentSampled.toString() + ", localParentNotSampled=" + this._localParentNotSampled.toString() + "}";
6767
6767
  }, t;
6768
6768
  }()
6769
- ), vo = (
6769
+ ), mo = (
6770
6770
  /** @class */
6771
6771
  function() {
6772
6772
  function t(e) {
@@ -6774,7 +6774,7 @@ var Cn = (
6774
6774
  }
6775
6775
  return t.prototype.shouldSample = function(e, n) {
6776
6776
  return {
6777
- decision: Za(n) && this._accumulate(n) < this._upperBound ? ht.RECORD_AND_SAMPLED : ht.NOT_RECORD
6777
+ decision: es(n) && this._accumulate(n) < this._upperBound ? ht.RECORD_AND_SAMPLED : ht.NOT_RECORD
6778
6778
  };
6779
6779
  }, t.prototype.toString = function() {
6780
6780
  return "TraceIdRatioBased{" + this._ratio + "}";
@@ -6788,11 +6788,11 @@ var Cn = (
6788
6788
  return n;
6789
6789
  }, t;
6790
6790
  }()
6791
- ), Td = pe.AlwaysOn, tt = 1;
6792
- function As() {
6791
+ ), Ad = pe.AlwaysOn, tt = 1;
6792
+ function xs() {
6793
6793
  var t = ft();
6794
6794
  return {
6795
- sampler: xs(t),
6795
+ sampler: Ns(t),
6796
6796
  forceFlushTimeoutMillis: 3e4,
6797
6797
  generalLimits: {
6798
6798
  attributeValueLengthLimit: t.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT,
@@ -6809,7 +6809,7 @@ function As() {
6809
6809
  mergeResourceWithDefaults: !0
6810
6810
  };
6811
6811
  }
6812
- function xs(t) {
6812
+ function Ns(t) {
6813
6813
  switch (t === void 0 && (t = ft()), t.OTEL_TRACES_SAMPLER) {
6814
6814
  case pe.AlwaysOn:
6815
6815
  return new lt();
@@ -6824,32 +6824,32 @@ function xs(t) {
6824
6824
  root: new Cn()
6825
6825
  });
6826
6826
  case pe.TraceIdRatio:
6827
- return new vo(mo(t));
6827
+ return new mo(yo(t));
6828
6828
  case pe.ParentBasedTraceIdRatio:
6829
6829
  return new yr({
6830
- root: new vo(mo(t))
6830
+ root: new mo(yo(t))
6831
6831
  });
6832
6832
  default:
6833
- return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + Td + '".'), new lt();
6833
+ return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + Ad + '".'), new lt();
6834
6834
  }
6835
6835
  }
6836
- function mo(t) {
6836
+ function yo(t) {
6837
6837
  if (t.OTEL_TRACES_SAMPLER_ARG === void 0 || t.OTEL_TRACES_SAMPLER_ARG === "")
6838
6838
  return E.error("OTEL_TRACES_SAMPLER_ARG is blank, defaulting to " + tt + "."), tt;
6839
6839
  var e = Number(t.OTEL_TRACES_SAMPLER_ARG);
6840
6840
  return isNaN(e) ? (E.error("OTEL_TRACES_SAMPLER_ARG=" + t.OTEL_TRACES_SAMPLER_ARG + " was given, but it is invalid, defaulting to " + tt + "."), tt) : e < 0 || e > 1 ? (E.error("OTEL_TRACES_SAMPLER_ARG=" + t.OTEL_TRACES_SAMPLER_ARG + " was given, but it is out of range ([0..1]), defaulting to " + tt + "."), tt) : e;
6841
6841
  }
6842
- function wd(t) {
6842
+ function xd(t) {
6843
6843
  var e = {
6844
- sampler: xs()
6845
- }, n = As(), r = Object.assign({}, n, e, t);
6844
+ sampler: Ns()
6845
+ }, n = xs(), r = Object.assign({}, n, e, t);
6846
6846
  return r.generalLimits = Object.assign({}, n.generalLimits, t.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, t.spanLimits || {}), r;
6847
6847
  }
6848
- function Sd(t) {
6848
+ function Nd(t) {
6849
6849
  var e, n, r, i, o, a, u, c, s, l, p, f, m = Object.assign({}, t.spanLimits), v = th();
6850
6850
  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 : yn, 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 : mn, Object.assign({}, t, { spanLimits: m });
6851
6851
  }
6852
- var Od = (
6852
+ var Cd = (
6853
6853
  /** @class */
6854
6854
  function() {
6855
6855
  function t(e, n) {
@@ -6894,7 +6894,7 @@ var Od = (
6894
6894
  var i = setTimeout(function() {
6895
6895
  r(new Error("Timeout"));
6896
6896
  }, e._exportTimeoutMillis);
6897
- C.with(rs(C.active()), function() {
6897
+ C.with(is(C.active()), function() {
6898
6898
  var o;
6899
6899
  e._finishedSpans.length <= e._maxExportBatchSize ? (o = e._finishedSpans, e._finishedSpans = []) : o = e._finishedSpans.splice(0, e._maxExportBatchSize);
6900
6900
  for (var a = function() {
@@ -6931,7 +6931,7 @@ var Od = (
6931
6931
  this._timer !== void 0 && (clearTimeout(this._timer), this._timer = void 0);
6932
6932
  }, t;
6933
6933
  }()
6934
- ), Ad = /* @__PURE__ */ function() {
6934
+ ), Ld = /* @__PURE__ */ function() {
6935
6935
  var t = function(e, n) {
6936
6936
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
6937
6937
  r.__proto__ = i;
@@ -6948,10 +6948,10 @@ var Od = (
6948
6948
  }
6949
6949
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
6950
6950
  };
6951
- }(), Ns = (
6951
+ }(), Cs = (
6952
6952
  /** @class */
6953
6953
  function(t) {
6954
- Ad(e, t);
6954
+ Ld(e, t);
6955
6955
  function e(n, r) {
6956
6956
  var i = t.call(this, n, r) || this;
6957
6957
  return i.onInit(r), i;
@@ -6970,30 +6970,30 @@ var Od = (
6970
6970
  }, e.prototype.onShutdown = function() {
6971
6971
  typeof document < "u" && (this._visibilityChangeListener && document.removeEventListener("visibilitychange", this._visibilityChangeListener), this._pageHideListener && document.removeEventListener("pagehide", this._pageHideListener));
6972
6972
  }, e;
6973
- }(Od)
6974
- ), xd = 8, Nd = 16, Cd = (
6973
+ }(Cd)
6974
+ ), Rd = 8, Id = 16, Pd = (
6975
6975
  /** @class */
6976
6976
  /* @__PURE__ */ function() {
6977
6977
  function t() {
6978
- this.generateTraceId = yo(Nd), this.generateSpanId = yo(xd);
6978
+ this.generateTraceId = go(Id), this.generateSpanId = go(Rd);
6979
6979
  }
6980
6980
  return t;
6981
6981
  }()
6982
6982
  ), en = Array(32);
6983
- function yo(t) {
6983
+ function go(t) {
6984
6984
  return function() {
6985
6985
  for (var e = 0; e < t * 2; e++)
6986
6986
  en[e] = Math.floor(Math.random() * 16) + 48, en[e] >= 58 && (en[e] += 39);
6987
6987
  return String.fromCharCode.apply(null, en.slice(0, t * 2));
6988
6988
  };
6989
6989
  }
6990
- var Ld = (
6990
+ var kd = (
6991
6991
  /** @class */
6992
6992
  function() {
6993
6993
  function t(e, n, r) {
6994
6994
  this._tracerProvider = r;
6995
- var i = wd(n);
6996
- this._sampler = i.sampler, this._generalLimits = i.generalLimits, this._spanLimits = i.spanLimits, this._idGenerator = n.idGenerator || new Cd(), this.resource = r.resource, this.instrumentationLibrary = e;
6995
+ var i = xd(n);
6996
+ this._sampler = i.sampler, this._generalLimits = i.generalLimits, this._spanLimits = i.spanLimits, this._idGenerator = n.idGenerator || new Pd(), this.resource = r.resource, this.instrumentationLibrary = e;
6997
6997
  }
6998
6998
  return t.prototype.startSpan = function(e, n, r) {
6999
6999
  var i, o, a;
@@ -7001,7 +7001,7 @@ var Ld = (
7001
7001
  var u = R.getSpan(r);
7002
7002
  if (Ni(r)) {
7003
7003
  E.debug("Instrumentation suppressed, returning Noop Span");
7004
- var c = R.wrapSpanContext(Ja);
7004
+ var c = R.wrapSpanContext(Qa);
7005
7005
  return c;
7006
7006
  }
7007
7007
  var s = u?.spanContext(), l = this._idGenerator.generateSpanId(), p, f, m;
@@ -7019,7 +7019,7 @@ var Ld = (
7019
7019
  var c = R.wrapSpanContext(U);
7020
7020
  return c;
7021
7021
  }
7022
- var D = vn(Object.assign(_, b.attributes)), F = new Ed(this, r, e, U, v, m, y, n.startTime, void 0, D);
7022
+ var D = vn(Object.assign(_, b.attributes)), F = new Od(this, r, e, U, v, m, y, n.startTime, void 0, D);
7023
7023
  return F;
7024
7024
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
7025
7025
  var o, a, u;
@@ -7036,8 +7036,8 @@ var Ld = (
7036
7036
  return this._tracerProvider.getActiveSpanProcessor();
7037
7037
  }, t;
7038
7038
  }()
7039
- ), Rd = "service.name", Id = "telemetry.sdk.name", Pd = "telemetry.sdk.language", kd = "telemetry.sdk.version", Md = Rd, go = Id, _o = Pd, bo = kd;
7040
- function Dd() {
7039
+ ), Md = "service.name", Dd = "telemetry.sdk.name", Ud = "telemetry.sdk.language", $d = "telemetry.sdk.version", jd = Md, _o = Dd, bo = Ud, Eo = $d;
7040
+ function Bd() {
7041
7041
  return "unknown_service";
7042
7042
  }
7043
7043
  var xe = function() {
@@ -7048,7 +7048,7 @@ var xe = function() {
7048
7048
  }
7049
7049
  return t;
7050
7050
  }, xe.apply(this, arguments);
7051
- }, Ud = function(t, e, n, r) {
7051
+ }, Fd = function(t, e, n, r) {
7052
7052
  function i(o) {
7053
7053
  return o instanceof n ? o : new n(function(a) {
7054
7054
  a(o);
@@ -7074,7 +7074,7 @@ var xe = function() {
7074
7074
  }
7075
7075
  s((r = r.apply(t, [])).next());
7076
7076
  });
7077
- }, $d = function(t, e) {
7077
+ }, Vd = function(t, e) {
7078
7078
  var n = { label: 0, sent: function() {
7079
7079
  if (o[0] & 1) throw o[1];
7080
7080
  return o[1];
@@ -7133,7 +7133,7 @@ var xe = function() {
7133
7133
  if (s[0] & 5) throw s[1];
7134
7134
  return { value: s[0] ? s[1] : void 0, done: !0 };
7135
7135
  }
7136
- }, jd = function(t, e) {
7136
+ }, Hd = function(t, e) {
7137
7137
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7138
7138
  if (!n) return t;
7139
7139
  var r = n.call(t), i, o = [], a;
@@ -7164,7 +7164,7 @@ var xe = function() {
7164
7164
  return t.EMPTY;
7165
7165
  }, t.default = function() {
7166
7166
  var e;
7167
- return new t((e = {}, e[Md] = Dd(), e[_o] = fr[_o], e[go] = fr[go], e[bo] = fr[bo], e));
7167
+ return new t((e = {}, e[jd] = Bd(), e[bo] = fr[bo], e[_o] = fr[_o], e[Eo] = fr[Eo], e));
7168
7168
  }, Object.defineProperty(t.prototype, "attributes", {
7169
7169
  get: function() {
7170
7170
  var e;
@@ -7173,8 +7173,8 @@ var xe = function() {
7173
7173
  enumerable: !1,
7174
7174
  configurable: !0
7175
7175
  }), t.prototype.waitForAsyncAttributes = function() {
7176
- return Ud(this, void 0, void 0, function() {
7177
- return $d(this, function(e) {
7176
+ return Fd(this, void 0, void 0, function() {
7177
+ return Vd(this, function(e) {
7178
7178
  switch (e.label) {
7179
7179
  case 0:
7180
7180
  return this.asyncAttributesPending ? [4, this._asyncAttributesPromise] : [3, 2];
@@ -7199,7 +7199,7 @@ var xe = function() {
7199
7199
  this._asyncAttributesPromise,
7200
7200
  e._asyncAttributesPromise
7201
7201
  ]).then(function(a) {
7202
- var u, c = jd(a, 2), s = c[0], l = c[1];
7202
+ var u, c = Hd(a, 2), s = c[0], l = c[1];
7203
7203
  return xe(xe(xe(xe({}, n._syncAttributes), s), (u = e._syncAttributes) !== null && u !== void 0 ? u : e.attributes), l);
7204
7204
  });
7205
7205
  return new t(i, o);
@@ -7214,7 +7214,7 @@ var xe = function() {
7214
7214
  }
7215
7215
  };
7216
7216
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7217
- }, Eo = (
7217
+ }, To = (
7218
7218
  /** @class */
7219
7219
  function() {
7220
7220
  function t(e) {
@@ -7298,7 +7298,7 @@ var xe = function() {
7298
7298
  });
7299
7299
  }, t;
7300
7300
  }()
7301
- ), Bd = (
7301
+ ), Gd = (
7302
7302
  /** @class */
7303
7303
  function() {
7304
7304
  function t() {
@@ -7311,7 +7311,7 @@ var xe = function() {
7311
7311
  return Promise.resolve();
7312
7312
  }, t;
7313
7313
  }()
7314
- ), Fd = function(t, e) {
7314
+ ), zd = function(t, e) {
7315
7315
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7316
7316
  if (!n) return t;
7317
7317
  var r = n.call(t), i, o = [], a;
@@ -7327,7 +7327,7 @@ var xe = function() {
7327
7327
  }
7328
7328
  }
7329
7329
  return o;
7330
- }, Vd = function(t, e, n) {
7330
+ }, qd = function(t, e, n) {
7331
7331
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
7332
7332
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
7333
7333
  return t.concat(o || Array.prototype.slice.call(e));
@@ -7335,34 +7335,34 @@ var xe = function() {
7335
7335
  (function(t) {
7336
7336
  t[t.resolved = 0] = "resolved", t[t.timeout = 1] = "timeout", t[t.error = 2] = "error", t[t.unresolved = 3] = "unresolved";
7337
7337
  })(Ue || (Ue = {}));
7338
- var Hd = (
7338
+ var Xd = (
7339
7339
  /** @class */
7340
7340
  function() {
7341
7341
  function t(e) {
7342
7342
  e === void 0 && (e = {});
7343
7343
  var n, r;
7344
7344
  this._registeredSpanProcessors = [], this._tracers = /* @__PURE__ */ new Map();
7345
- var i = ys({}, As(), Sd(e));
7345
+ var i = gs({}, xs(), Nd(e));
7346
7346
  if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : Ft.empty(), i.mergeResourceWithDefaults && (this.resource = Ft.default().merge(this.resource)), this._config = Object.assign({}, i, {
7347
7347
  resource: this.resource
7348
7348
  }), !((r = e.spanProcessors) === null || r === void 0) && r.length)
7349
- this._registeredSpanProcessors = Vd([], Fd(e.spanProcessors), !1), this.activeSpanProcessor = new Eo(this._registeredSpanProcessors);
7349
+ this._registeredSpanProcessors = qd([], zd(e.spanProcessors), !1), this.activeSpanProcessor = new To(this._registeredSpanProcessors);
7350
7350
  else {
7351
7351
  var o = this._buildExporterFromEnv();
7352
7352
  if (o !== void 0) {
7353
- var a = new Ns(o);
7353
+ var a = new Cs(o);
7354
7354
  this.activeSpanProcessor = a;
7355
7355
  } else
7356
- this.activeSpanProcessor = new Bd();
7356
+ this.activeSpanProcessor = new Gd();
7357
7357
  }
7358
7358
  }
7359
7359
  return t.prototype.getTracer = function(e, n, r) {
7360
7360
  var i = e + "@" + (n || "") + ":" + (r?.schemaUrl || "");
7361
- return this._tracers.has(i) || this._tracers.set(i, new Ld({ name: e, version: n, schemaUrl: r?.schemaUrl }, this._config, this)), this._tracers.get(i);
7361
+ return this._tracers.has(i) || this._tracers.set(i, new kd({ name: e, version: n, schemaUrl: r?.schemaUrl }, this._config, this)), this._tracers.get(i);
7362
7362
  }, t.prototype.addSpanProcessor = function(e) {
7363
7363
  this._registeredSpanProcessors.length === 0 && this.activeSpanProcessor.shutdown().catch(function(n) {
7364
7364
  return E.error("Error while trying to shutdown current span processor", n);
7365
- }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new Eo(this._registeredSpanProcessors);
7365
+ }), this._registeredSpanProcessors.push(e), this.activeSpanProcessor = new To(this._registeredSpanProcessors);
7366
7366
  }, t.prototype.getActiveSpanProcessor = function() {
7367
7367
  return this.activeSpanProcessor;
7368
7368
  }, t.prototype.register = function(e) {
@@ -7406,7 +7406,7 @@ var Hd = (
7406
7406
  return a && o.push(a), o;
7407
7407
  }, []);
7408
7408
  if (i.length !== 0)
7409
- return n.length === 1 ? i[0] : new ps({
7409
+ return n.length === 1 ? i[0] : new fs({
7410
7410
  propagators: i
7411
7411
  });
7412
7412
  }, t.prototype._buildExporterFromEnv = function() {
@@ -7417,14 +7417,14 @@ var Hd = (
7417
7417
  }
7418
7418
  }, t._registeredPropagators = /* @__PURE__ */ new Map([
7419
7419
  ["tracecontext", function() {
7420
- return new fs();
7420
+ return new hs();
7421
7421
  }],
7422
7422
  ["baggage", function() {
7423
- return new is();
7423
+ return new os();
7424
7424
  }]
7425
7425
  ]), t._registeredExporters = /* @__PURE__ */ new Map(), t;
7426
7426
  }()
7427
- ), Gd = function(t, e) {
7427
+ ), Kd = function(t, e) {
7428
7428
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7429
7429
  if (!n) return t;
7430
7430
  var r = n.call(t), i, o = [], a;
@@ -7440,11 +7440,11 @@ var Hd = (
7440
7440
  }
7441
7441
  }
7442
7442
  return o;
7443
- }, zd = function(t, e, n) {
7443
+ }, Wd = function(t, e, n) {
7444
7444
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
7445
7445
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
7446
7446
  return t.concat(o || Array.prototype.slice.call(e));
7447
- }, Cs = (
7447
+ }, Ls = (
7448
7448
  /** @class */
7449
7449
  function() {
7450
7450
  function t() {
@@ -7479,13 +7479,13 @@ var Hd = (
7479
7479
  var a = this._currentContext;
7480
7480
  this._currentContext = e || Me;
7481
7481
  try {
7482
- return n.call.apply(n, zd([r], Gd(i), !1));
7482
+ return n.call.apply(n, Wd([r], Kd(i), !1));
7483
7483
  } finally {
7484
7484
  this._currentContext = a;
7485
7485
  }
7486
7486
  }, t;
7487
7487
  }()
7488
- ), qd = /* @__PURE__ */ function() {
7488
+ ), Yd = /* @__PURE__ */ function() {
7489
7489
  var t = function(e, n) {
7490
7490
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7491
7491
  r.__proto__ = i;
@@ -7502,10 +7502,10 @@ var Hd = (
7502
7502
  }
7503
7503
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7504
7504
  };
7505
- }(), Xd = (
7505
+ }(), Jd = (
7506
7506
  /** @class */
7507
7507
  function(t) {
7508
- qd(e, t);
7508
+ Yd(e, t);
7509
7509
  function e(n) {
7510
7510
  n === void 0 && (n = {});
7511
7511
  var r = t.call(this, n) || this;
@@ -7516,14 +7516,14 @@ var Hd = (
7516
7516
  return r;
7517
7517
  }
7518
7518
  return e.prototype.register = function(n) {
7519
- n === void 0 && (n = {}), n.contextManager === void 0 && (n.contextManager = new Cs()), n.contextManager && n.contextManager.enable(), t.prototype.register.call(this, n);
7519
+ n === void 0 && (n = {}), n.contextManager === void 0 && (n.contextManager = new Ls()), n.contextManager && n.contextManager.enable(), t.prototype.register.call(this, n);
7520
7520
  }, e;
7521
- }(Hd)
7521
+ }(Xd)
7522
7522
  ), S;
7523
7523
  (function(t) {
7524
7524
  t.CONNECT_END = "connectEnd", t.CONNECT_START = "connectStart", t.DECODED_BODY_SIZE = "decodedBodySize", t.DOM_COMPLETE = "domComplete", t.DOM_CONTENT_LOADED_EVENT_END = "domContentLoadedEventEnd", t.DOM_CONTENT_LOADED_EVENT_START = "domContentLoadedEventStart", t.DOM_INTERACTIVE = "domInteractive", t.DOMAIN_LOOKUP_END = "domainLookupEnd", t.DOMAIN_LOOKUP_START = "domainLookupStart", t.ENCODED_BODY_SIZE = "encodedBodySize", t.FETCH_START = "fetchStart", t.LOAD_EVENT_END = "loadEventEnd", t.LOAD_EVENT_START = "loadEventStart", t.NAVIGATION_START = "navigationStart", t.REDIRECT_END = "redirectEnd", t.REDIRECT_START = "redirectStart", t.REQUEST_START = "requestStart", t.RESPONSE_END = "responseEnd", t.RESPONSE_START = "responseStart", t.SECURE_CONNECTION_START = "secureConnectionStart", t.UNLOAD_EVENT_END = "unloadEventEnd", t.UNLOAD_EVENT_START = "unloadEventStart";
7525
7525
  })(S || (S = {}));
7526
- var Kd = "http.response_content_length", Wd = "http.response_content_length_uncompressed", Yd = Kd, Jd = Wd, gr;
7526
+ var gr;
7527
7527
  function Qd() {
7528
7528
  return gr || (gr = document.createElement("a")), gr;
7529
7529
  }
@@ -7540,9 +7540,9 @@ function V(t, e, n, r) {
7540
7540
  function dt(t, e, n) {
7541
7541
  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), Ie(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));
7542
7542
  var r = e[S.ENCODED_BODY_SIZE];
7543
- r !== void 0 && t.setAttribute(Yd, r);
7543
+ r !== void 0 && t.setAttribute(bd, r);
7544
7544
  var i = e[S.DECODED_BODY_SIZE];
7545
- i !== void 0 && r !== i && t.setAttribute(Jd, i);
7545
+ i !== void 0 && r !== i && t.setAttribute(Ed, i);
7546
7546
  }
7547
7547
  function Zd(t) {
7548
7548
  return t.slice().sort(function(e, n) {
@@ -7550,10 +7550,10 @@ function Zd(t) {
7550
7550
  return r > i ? 1 : r < i ? -1 : 0;
7551
7551
  });
7552
7552
  }
7553
- function Ls() {
7553
+ function Rs() {
7554
7554
  return typeof location < "u" ? location.origin : void 0;
7555
7555
  }
7556
- function Rs(t, e, n, r, i, o) {
7556
+ function Is(t, e, n, r, i, o) {
7557
7557
  i === void 0 && (i = /* @__PURE__ */ new WeakSet());
7558
7558
  var a = _e(t);
7559
7559
  t = a.toString();
@@ -7567,7 +7567,7 @@ function Rs(t, e, n, r, i, o) {
7567
7567
  mainRequest: u[0]
7568
7568
  };
7569
7569
  var c = Zd(u);
7570
- if (a.origin !== Ls() && c.length > 1) {
7570
+ if (a.origin !== Rs() && c.length > 1) {
7571
7571
  var s = c[0], l = ev(c, s[S.RESPONSE_END], n), p = s[S.RESPONSE_END], f = l[S.FETCH_START];
7572
7572
  return f < p && (l = s, s = void 0), {
7573
7573
  corsPreFlightRequest: s,
@@ -7600,14 +7600,14 @@ function _e(t) {
7600
7600
  var e = Qd();
7601
7601
  return e.href = t, e;
7602
7602
  }
7603
- function Is(t, e) {
7603
+ function Ps(t, e) {
7604
7604
  if (t.nodeType === Node.DOCUMENT_NODE)
7605
7605
  return "/";
7606
7606
  var n = rv(t, e);
7607
7607
  if (e && n.indexOf("@id") > 0)
7608
7608
  return n;
7609
7609
  var r = "";
7610
- return t.parentNode && (r += Is(t.parentNode, !1)), r += n, r;
7610
+ return t.parentNode && (r += Ps(t.parentNode, !1)), r += n, r;
7611
7611
  }
7612
7612
  function nv(t) {
7613
7613
  if (!t.parentNode)
@@ -7635,12 +7635,12 @@ function rv(t, e) {
7635
7635
  return "";
7636
7636
  return i && r > 1 ? "/" + i + "[" + r + "]" : "/" + i;
7637
7637
  }
7638
- function Ps(t, e) {
7638
+ function ks(t, e) {
7639
7639
  var n = e || [];
7640
7640
  (typeof n == "string" || n instanceof RegExp) && (n = [n]);
7641
7641
  var r = _e(t);
7642
- return r.origin === Ls() ? !0 : n.some(function(i) {
7643
- return bs(t, i);
7642
+ return r.origin === Rs() ? !0 : n.some(function(i) {
7643
+ return Es(t, i);
7644
7644
  });
7645
7645
  }
7646
7646
  var ti = function() {
@@ -7731,7 +7731,7 @@ var ti = function() {
7731
7731
  return e;
7732
7732
  }(iv)
7733
7733
  );
7734
- function To(t, e, n) {
7734
+ function wo(t, e, n) {
7735
7735
  var r, i;
7736
7736
  try {
7737
7737
  i = t();
@@ -7774,14 +7774,14 @@ var fv = function() {
7774
7774
  }
7775
7775
  }
7776
7776
  return n;
7777
- }, wo = {
7777
+ }, So = {
7778
7778
  "first-paint": Ln.FIRST_PAINT,
7779
7779
  "first-contentful-paint": Ln.FIRST_CONTENTFUL_PAINT
7780
7780
  }, hv = function(t) {
7781
7781
  var e, n, r = (n = (e = oe).getEntriesByType) === null || n === void 0 ? void 0 : n.call(e, "paint");
7782
7782
  r && r.forEach(function(i) {
7783
7783
  var o = i.name, a = i.startTime;
7784
- Ie(wo, o) && t.addEvent(wo[o], a);
7784
+ Ie(So, o) && t.addEvent(So[o], a);
7785
7785
  });
7786
7786
  }, dv = /* @__PURE__ */ function() {
7787
7787
  var t = function(e, n) {
@@ -7850,14 +7850,14 @@ var fv = function() {
7850
7850
  window.document.readyState === "complete" ? this._onDocumentLoaded() : (this._onDocumentLoaded = this._onDocumentLoaded.bind(this), window.addEventListener("load", this._onDocumentLoaded));
7851
7851
  }, e.prototype._addCustomAttributesOnSpan = function(n, r) {
7852
7852
  var i = this;
7853
- r && To(function() {
7853
+ r && wo(function() {
7854
7854
  return r(n);
7855
7855
  }, function(o) {
7856
7856
  o && i._diag.error("addCustomAttributesOnSpan", o);
7857
7857
  });
7858
7858
  }, e.prototype._addCustomAttributesOnResourceSpan = function(n, r, i) {
7859
7859
  var o = this;
7860
- i && To(function() {
7860
+ i && wo(function() {
7861
7861
  return i(n, r);
7862
7862
  }, function(a) {
7863
7863
  a && o._diag.error("addCustomAttributesOnResourceSpan", a);
@@ -8083,7 +8083,7 @@ var Ev = "http.method", Tv = "http.url", wv = "http.host", Sv = "http.scheme", O
8083
8083
  }
8084
8084
  }
8085
8085
  return o;
8086
- }, ks = E.createComponentLogger({
8086
+ }, Ms = E.createComponentLogger({
8087
8087
  namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
8088
8088
  });
8089
8089
  function jv() {
@@ -8107,7 +8107,7 @@ function jv() {
8107
8107
  }
8108
8108
  function Bv(t) {
8109
8109
  if (!t.pipeThrough)
8110
- return ks.warn("Platform has ReadableStream but not pipeThrough!"), {
8110
+ return Ms.warn("Platform has ReadableStream but not pipeThrough!"), {
8111
8111
  body: t,
8112
8112
  length: Promise.resolve(void 0)
8113
8113
  };
@@ -8154,7 +8154,7 @@ function Fv(t) {
8154
8154
  return ri(t.toString());
8155
8155
  if (typeof t == "string")
8156
8156
  return ri(t);
8157
- ks.warn("unknown body type");
8157
+ Ms.warn("unknown body type");
8158
8158
  }
8159
8159
  var Vv = new TextEncoder();
8160
8160
  function ri(t) {
@@ -8178,7 +8178,7 @@ function Hv(t) {
8178
8178
  }
8179
8179
  return r;
8180
8180
  }
8181
- var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8181
+ var Oo = "0.57.2", Gv = /* @__PURE__ */ function() {
8182
8182
  var t = function(e, n) {
8183
8183
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8184
8184
  r.__proto__ = i;
@@ -8215,14 +8215,14 @@ var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8215
8215
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
8216
8216
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
8217
8217
  return t.concat(o || Array.prototype.slice.call(e));
8218
- }, br, Xv = 300, Oo = typeof process == "object" && ((br = process.release) === null || br === void 0 ? void 0 : br.name) === "node", Kv = (
8218
+ }, br, Xv = 300, Ao = typeof process == "object" && ((br = process.release) === null || br === void 0 ? void 0 : br.name) === "node", Kv = (
8219
8219
  /** @class */
8220
8220
  function(t) {
8221
8221
  Gv(e, t);
8222
8222
  function e(n) {
8223
8223
  n === void 0 && (n = {});
8224
- var r = t.call(this, "@opentelemetry/instrumentation-fetch", So, n) || this;
8225
- return r.component = "fetch", r.version = So, r.moduleName = r.component, r._usedResources = /* @__PURE__ */ new WeakSet(), r._tasksCount = 0, r;
8224
+ var r = t.call(this, "@opentelemetry/instrumentation-fetch", Oo, n) || this;
8225
+ return r.component = "fetch", r.version = Oo, r.moduleName = r.component, r._usedResources = /* @__PURE__ */ new WeakSet(), r._tasksCount = 0, r;
8226
8226
  }
8227
8227
  return e.prototype.init = function() {
8228
8228
  }, e.prototype._addChildSpan = function(n, r) {
@@ -8234,7 +8234,7 @@ var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8234
8234
  var i = _e(r.url);
8235
8235
  n.setAttribute(Iv, r.status), r.statusText != null && n.setAttribute(Rn.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(Lv, i.host), n.setAttribute(Rv, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(Pv, navigator.userAgent);
8236
8236
  }, e.prototype._addHeaders = function(n, r) {
8237
- if (!Ps(r, this.getConfig().propagateTraceHeaderCorsUrls)) {
8237
+ if (!ks(r, this.getConfig().propagateTraceHeaderCorsUrls)) {
8238
8238
  var i = {};
8239
8239
  re.inject(C.active(), i), Object.keys(i).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
8240
8240
  return;
@@ -8265,7 +8265,7 @@ var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8265
8265
  this._tasksCount === 0 && this.getConfig().clearTimingResources && (performance.clearResourceTimings(), this._usedResources = /* @__PURE__ */ new WeakSet());
8266
8266
  }, e.prototype._createSpan = function(n, r) {
8267
8267
  var i;
8268
- if (r === void 0 && (r = {}), Es(n, this.getConfig().ignoreUrls)) {
8268
+ if (r === void 0 && (r = {}), Ts(n, this.getConfig().ignoreUrls)) {
8269
8269
  this._diag.debug("ignoring span as url matches ignored url");
8270
8270
  return;
8271
8271
  }
@@ -8281,7 +8281,7 @@ var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8281
8281
  return;
8282
8282
  o = performance.getEntriesByType("resource");
8283
8283
  }
8284
- var a = Rs(r.spanUrl, r.startTime, i, o, this._usedResources, "fetch");
8284
+ var a = Is(r.spanUrl, r.startTime, i, o, this._usedResources, "fetch");
8285
8285
  if (a.mainRequest) {
8286
8286
  var u = a.mainRequest;
8287
8287
  this._markResourceAsUsed(u);
@@ -8380,13 +8380,13 @@ var So = "0.57.2", Gv = /* @__PURE__ */ function() {
8380
8380
  entryTypes: ["resource"]
8381
8381
  }), { entries: i, observer: o, startTime: r, spanUrl: n };
8382
8382
  }, e.prototype.enable = function() {
8383
- if (Oo) {
8383
+ if (Ao) {
8384
8384
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
8385
8385
  return;
8386
8386
  }
8387
8387
  bv(fetch) && (this._unwrap(Rt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(Rt, "fetch", this._patchConstructor());
8388
8388
  }, e.prototype.disable = function() {
8389
- Oo || (this._unwrap(Rt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8389
+ Ao || (this._unwrap(Rt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8390
8390
  }, e;
8391
8391
  }(gv)
8392
8392
  ), ii = function() {
@@ -8487,7 +8487,7 @@ function Qv(t, e, n) {
8487
8487
  return e(r, i), i;
8488
8488
  }
8489
8489
  }
8490
- function Ao(t) {
8490
+ function xo(t) {
8491
8491
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
8492
8492
  }
8493
8493
  var Zv = "http.method", em = "http.url", tm = "http.host", nm = "http.scheme", rm = "http.status_code", im = "http.user_agent", om = "http.request_content_length_uncompressed", am = Zv, sm = em, um = tm, cm = nm, lm = rm, pm = im, fm = om, ge;
@@ -8532,13 +8532,13 @@ function mm(t) {
8532
8532
  if (t instanceof FormData)
8533
8533
  return gm(t);
8534
8534
  if (t instanceof URLSearchParams)
8535
- return xo(t.toString());
8535
+ return No(t.toString());
8536
8536
  if (typeof t == "string")
8537
- return xo(t);
8537
+ return No(t);
8538
8538
  vm.warn("unknown body type");
8539
8539
  }
8540
8540
  var ym = new TextEncoder();
8541
- function xo(t) {
8541
+ function No(t) {
8542
8542
  return ym.encode(t).byteLength;
8543
8543
  }
8544
8544
  function gm(t) {
@@ -8559,7 +8559,7 @@ function gm(t) {
8559
8559
  }
8560
8560
  return r;
8561
8561
  }
8562
- var No = "0.57.2", oi;
8562
+ var Co = "0.57.2", oi;
8563
8563
  (function(t) {
8564
8564
  t.HTTP_STATUS_TEXT = "http.status_text";
8565
8565
  })(oi || (oi = {}));
@@ -8586,13 +8586,13 @@ var _m = /* @__PURE__ */ function() {
8586
8586
  _m(e, t);
8587
8587
  function e(n) {
8588
8588
  n === void 0 && (n = {});
8589
- var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", No, n) || this;
8590
- return r.component = "xml-http-request", r.version = No, r.moduleName = r.component, r._tasksCount = 0, r._xhrMem = /* @__PURE__ */ new WeakMap(), r._usedResources = /* @__PURE__ */ new WeakSet(), r;
8589
+ var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", Co, n) || this;
8590
+ return r.component = "xml-http-request", r.version = Co, r.moduleName = r.component, r._tasksCount = 0, r._xhrMem = /* @__PURE__ */ new WeakMap(), r._usedResources = /* @__PURE__ */ new WeakSet(), r;
8591
8591
  }
8592
8592
  return e.prototype.init = function() {
8593
8593
  }, e.prototype._addHeaders = function(n, r) {
8594
8594
  var i = _e(r).href;
8595
- if (!Ps(i, this.getConfig().propagateTraceHeaderCorsUrls)) {
8595
+ if (!ks(i, this.getConfig().propagateTraceHeaderCorsUrls)) {
8596
8596
  var o = {};
8597
8597
  re.inject(C.active(), o), Object.keys(o).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
8598
8598
  return;
@@ -8640,7 +8640,7 @@ var _m = /* @__PURE__ */ function() {
8640
8640
  if (!(!i || !o || !a || !n.createdResources)) {
8641
8641
  var u = n.createdResources.entries;
8642
8642
  (!u || !u.length) && (u = oe.getEntriesByType("resource"));
8643
- var c = Rs(_e(i).href, o, a, u, this._usedResources);
8643
+ var c = Is(_e(i).href, o, a, u, this._usedResources);
8644
8644
  if (c.mainRequest) {
8645
8645
  var s = c.mainRequest;
8646
8646
  this._markResourceAsUsed(s);
@@ -8656,7 +8656,7 @@ var _m = /* @__PURE__ */ function() {
8656
8656
  }
8657
8657
  }, e.prototype._createSpan = function(n, r, i) {
8658
8658
  var o;
8659
- if (Es(r, this.getConfig().ignoreUrls)) {
8659
+ if (Ts(r, this.getConfig().ignoreUrls)) {
8660
8660
  this._diag.debug("ignoring span as url matches ignored url");
8661
8661
  return;
8662
8662
  }
@@ -8739,7 +8739,7 @@ var _m = /* @__PURE__ */ function() {
8739
8739
  };
8740
8740
  };
8741
8741
  }, e.prototype.enable = function() {
8742
- this._diag.debug("applying patch to", this.moduleName, this.version), Ao(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), Ao(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
8742
+ this._diag.debug("applying patch to", this.moduleName, this.version), xo(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), xo(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
8743
8743
  }, e.prototype.disable = function() {
8744
8744
  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();
8745
8745
  }, e;
@@ -8783,14 +8783,14 @@ const Nm = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8783
8783
  return i.forEach((a) => {
8784
8784
  t.match(a) && (o = !0);
8785
8785
  }), o;
8786
- }, Co = 64 * 1024, Pm = {
8786
+ }, Lo = 64 * 1024, Pm = {
8787
8787
  "application/json": 64 * 1024 * 1024,
8788
8788
  // MB
8789
8789
  "text/plain": 64 * 1024 * 1024
8790
8790
  // MB
8791
- }, Ms = (t, e, n, r) => {
8791
+ }, Ds = (t, e, n, r) => {
8792
8792
  var i, o, a;
8793
- let u = Co;
8793
+ let u = Lo;
8794
8794
  if (r) {
8795
8795
  let c = "";
8796
8796
  typeof r.get == "function" ? c = (i = r.get("content-type")) != null ? i : "" : c = (o = r["content-type"]) != null ? o : "";
@@ -8798,7 +8798,7 @@ const Nm = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8798
8798
  c = c.split(";")[0];
8799
8799
  } catch {
8800
8800
  }
8801
- u = (a = Pm[c]) != null ? a : Co;
8801
+ u = (a = Pm[c]) != null ? a : Lo;
8802
8802
  }
8803
8803
  if (t) {
8804
8804
  if (e)
@@ -8839,7 +8839,7 @@ const Nm = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8839
8839
  let s = u.value;
8840
8840
  c += a.decode(s);
8841
8841
  }
8842
- r = c, r = Ms(
8842
+ r = c, r = Ds(
8843
8843
  r,
8844
8844
  n,
8845
8845
  e,
@@ -8852,7 +8852,7 @@ const Nm = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8852
8852
  }
8853
8853
  return r;
8854
8854
  });
8855
- var Ds = (
8855
+ var Us = (
8856
8856
  /** @class */
8857
8857
  function() {
8858
8858
  function t(e) {
@@ -8883,7 +8883,7 @@ var Ds = (
8883
8883
  }
8884
8884
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8885
8885
  };
8886
- }(), Lo = (
8886
+ }(), Ro = (
8887
8887
  /** @class */
8888
8888
  function(t) {
8889
8889
  Mm(e, t);
@@ -9183,10 +9183,10 @@ var qm = function(t, e, n, r) {
9183
9183
  return;
9184
9184
  } else o.status === "retryable" ? n({
9185
9185
  code: q.FAILED,
9186
- error: new Lo("Export failed with retryable status")
9186
+ error: new Ro("Export failed with retryable status")
9187
9187
  }) : n({
9188
9188
  code: q.FAILED,
9189
- error: new Lo("Export failed with unknown error")
9189
+ error: new Ro("Export failed with unknown error")
9190
9190
  });
9191
9191
  }, function(o) {
9192
9192
  return n({
@@ -9216,14 +9216,14 @@ var qm = function(t, e, n, r) {
9216
9216
  function Wm(t, e) {
9217
9217
  return new Km(t.transport, t.serializer, zm(), t.promiseHandler, e.timeout);
9218
9218
  }
9219
- function Us(t, e, n) {
9219
+ function $s(t, e, n) {
9220
9220
  return Wm({
9221
9221
  transport: n,
9222
9222
  serializer: e,
9223
9223
  promiseHandler: Hm(t)
9224
9224
  }, { timeout: t.timeoutMillis });
9225
9225
  }
9226
- function $s(t) {
9226
+ function js(t) {
9227
9227
  var e = BigInt(1e9);
9228
9228
  return BigInt(t[0]) * e + BigInt(t[1]);
9229
9229
  }
@@ -9231,36 +9231,36 @@ function Ym(t) {
9231
9231
  var e = Number(BigInt.asUintN(32, t)), n = Number(BigInt.asUintN(32, t >> BigInt(32)));
9232
9232
  return { low: e, high: n };
9233
9233
  }
9234
- function js(t) {
9235
- var e = $s(t);
9234
+ function Bs(t) {
9235
+ var e = js(t);
9236
9236
  return Ym(e);
9237
9237
  }
9238
9238
  function Jm(t) {
9239
- var e = $s(t);
9239
+ var e = js(t);
9240
9240
  return e.toString();
9241
9241
  }
9242
9242
  var Qm = typeof BigInt < "u" ? Jm : be;
9243
- function Ro(t) {
9243
+ function Io(t) {
9244
9244
  return t;
9245
9245
  }
9246
- function Bs(t) {
9246
+ function Fs(t) {
9247
9247
  if (t !== void 0)
9248
9248
  return Ci(t);
9249
9249
  }
9250
9250
  var Zm = {
9251
- encodeHrTime: js,
9251
+ encodeHrTime: Bs,
9252
9252
  encodeSpanContext: Ci,
9253
- encodeOptionalSpanContext: Bs
9253
+ encodeOptionalSpanContext: Fs
9254
9254
  };
9255
- function Fs(t) {
9255
+ function Vs(t) {
9256
9256
  var e, n;
9257
9257
  if (t === void 0)
9258
9258
  return Zm;
9259
9259
  var r = (e = t.useLongBits) !== null && e !== void 0 ? e : !0, i = (n = t.useHex) !== null && n !== void 0 ? n : !1;
9260
9260
  return {
9261
- encodeHrTime: r ? js : Qm,
9262
- encodeSpanContext: i ? Ro : Ci,
9263
- encodeOptionalSpanContext: i ? Ro : Bs
9261
+ encodeHrTime: r ? Bs : Qm,
9262
+ encodeSpanContext: i ? Io : Ci,
9263
+ encodeOptionalSpanContext: i ? Io : Fs
9264
9264
  };
9265
9265
  }
9266
9266
  var ey = function(t, e) {
@@ -9280,13 +9280,13 @@ var ey = function(t, e) {
9280
9280
  }
9281
9281
  return o;
9282
9282
  };
9283
- function Vs(t) {
9283
+ function Hs(t) {
9284
9284
  return {
9285
9285
  attributes: qe(t.attributes),
9286
9286
  droppedAttributesCount: 0
9287
9287
  };
9288
9288
  }
9289
- function Hs(t) {
9289
+ function Gs(t) {
9290
9290
  return {
9291
9291
  name: t.name,
9292
9292
  version: t.version
@@ -9294,22 +9294,22 @@ function Hs(t) {
9294
9294
  }
9295
9295
  function qe(t) {
9296
9296
  return Object.keys(t).map(function(e) {
9297
- return Gs(e, t[e]);
9297
+ return zs(e, t[e]);
9298
9298
  });
9299
9299
  }
9300
- function Gs(t, e) {
9300
+ function zs(t, e) {
9301
9301
  return {
9302
9302
  key: t,
9303
- value: zs(e)
9303
+ value: qs(e)
9304
9304
  };
9305
9305
  }
9306
- function zs(t) {
9306
+ function qs(t) {
9307
9307
  var e = typeof t;
9308
- 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(zs) } } : e === "object" && t != null ? {
9308
+ 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(qs) } } : e === "object" && t != null ? {
9309
9309
  kvlistValue: {
9310
9310
  values: Object.entries(t).map(function(n) {
9311
9311
  var r = ey(n, 2), i = r[0], o = r[1];
9312
- return Gs(i, o);
9312
+ return zs(i, o);
9313
9313
  })
9314
9314
  }
9315
9315
  } : {};
@@ -9339,7 +9339,7 @@ var ty = /* @__PURE__ */ function() {
9339
9339
  }
9340
9340
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
9341
9341
  };
9342
- }(), Io = function(t, e, n, r) {
9342
+ }(), Po = function(t, e, n, r) {
9343
9343
  function i(o) {
9344
9344
  return o instanceof n ? o : new n(function(a) {
9345
9345
  a(o);
@@ -9365,7 +9365,7 @@ var ty = /* @__PURE__ */ function() {
9365
9365
  }
9366
9366
  s((r = r.apply(t, [])).next());
9367
9367
  });
9368
- }, Po = function(t, e) {
9368
+ }, ko = function(t, e) {
9369
9369
  var n = { label: 0, sent: function() {
9370
9370
  if (o[0] & 1) throw o[1];
9371
9371
  return o[1];
@@ -9457,7 +9457,7 @@ var ty = /* @__PURE__ */ function() {
9457
9457
  function oy(t) {
9458
9458
  return t != null;
9459
9459
  }
9460
- function qs(t) {
9460
+ function Xs(t) {
9461
9461
  var e = Object.keys(t);
9462
9462
  return e.length === 0 ? "" : (e = e.sort(), JSON.stringify(e.map(function(n) {
9463
9463
  return [n, t[n]];
@@ -9467,7 +9467,7 @@ function ay(t) {
9467
9467
  var e, n;
9468
9468
  return t.name + ":" + ((e = t.version) !== null && e !== void 0 ? e : "") + ":" + ((n = t.schemaUrl) !== null && n !== void 0 ? n : "");
9469
9469
  }
9470
- var Xs = (
9470
+ var Ks = (
9471
9471
  /** @class */
9472
9472
  function(t) {
9473
9473
  ty(e, t);
@@ -9481,7 +9481,7 @@ var Xs = (
9481
9481
  function Vt(t, e) {
9482
9482
  var n, r = new Promise(function(i, o) {
9483
9483
  n = setTimeout(function() {
9484
- o(new Xs("Operation timed out."));
9484
+ o(new Ks("Operation timed out."));
9485
9485
  }, e);
9486
9486
  });
9487
9487
  return Promise.race([t, r]).then(function(i) {
@@ -9491,13 +9491,13 @@ function Vt(t, e) {
9491
9491
  });
9492
9492
  }
9493
9493
  function sy(t) {
9494
- return Io(this, void 0, void 0, function() {
9494
+ return Po(this, void 0, void 0, function() {
9495
9495
  var e = this;
9496
- return Po(this, function(n) {
9496
+ return ko(this, function(n) {
9497
9497
  return [2, Promise.all(t.map(function(r) {
9498
- return Io(e, void 0, void 0, function() {
9498
+ return Po(e, void 0, void 0, function() {
9499
9499
  var i, o;
9500
- return Po(this, function(a) {
9500
+ return ko(this, function(a) {
9501
9501
  switch (a.label) {
9502
9502
  case 0:
9503
9503
  return a.trys.push([0, 2, , 3]), [4, r];
@@ -9526,7 +9526,7 @@ function sy(t) {
9526
9526
  function uy(t) {
9527
9527
  return t.status === "rejected";
9528
9528
  }
9529
- function ko(t, e) {
9529
+ function Mo(t, e) {
9530
9530
  var n = [];
9531
9531
  return t.forEach(function(r) {
9532
9532
  n.push.apply(n, ry([], ny(e(r)), !1));
@@ -9663,7 +9663,7 @@ var Er = (
9663
9663
  return this._current;
9664
9664
  }, t;
9665
9665
  }()
9666
- ), Ks = (
9666
+ ), Ws = (
9667
9667
  /** @class */
9668
9668
  function() {
9669
9669
  function t(e, n) {
@@ -9743,7 +9743,7 @@ var Er = (
9743
9743
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
9744
9744
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
9745
9745
  return t.concat(o || Array.prototype.slice.call(e));
9746
- }, Mo = (
9746
+ }, Do = (
9747
9747
  /** @class */
9748
9748
  function() {
9749
9749
  function t(e, n, r, i) {
@@ -9855,12 +9855,12 @@ var Er = (
9855
9855
  return new t(wr([], Tr(this._counts), !1));
9856
9856
  }, t;
9857
9857
  }()
9858
- ), by = 52, Ey = 2146435072, Ty = 1048575, Ws = 1023, Ys = -1022, Js = Ws, ai = Math.pow(2, -1022);
9858
+ ), by = 52, Ey = 2146435072, Ty = 1048575, Ii = 1023, Ys = -Ii + 1, Js = Ii, ai = Math.pow(2, -1022);
9859
9859
  function Qs(t) {
9860
9860
  var e = new DataView(new ArrayBuffer(8));
9861
9861
  e.setFloat64(0, t);
9862
9862
  var n = e.getUint32(0), r = (n & Ey) >> 20;
9863
- return r - Ws;
9863
+ return r - Ii;
9864
9864
  }
9865
9865
  function Zs(t) {
9866
9866
  var e = new DataView(new ArrayBuffer(8));
@@ -9985,12 +9985,12 @@ var Sy = /* @__PURE__ */ function() {
9985
9985
  return (Js + 1 << this._scale) - 1;
9986
9986
  }, t;
9987
9987
  }()
9988
- ), Do = -10, Uo = 20, xy = Array.from({ length: 31 }, function(t, e) {
9988
+ ), Uo = -10, $o = 20, xy = Array.from({ length: 31 }, function(t, e) {
9989
9989
  return e > 10 ? new Ay(e - 10) : new Oy(e - 10);
9990
9990
  });
9991
- function $o(t) {
9992
- if (t > Uo || t < Do)
9993
- throw new Ht("expected scale >= " + Do + " && <= " + Uo + ", got: " + t);
9991
+ function jo(t) {
9992
+ if (t > $o || t < Uo)
9993
+ throw new Ht("expected scale >= " + Uo + " && <= " + $o + ", got: " + t);
9994
9994
  return xy[t + 10];
9995
9995
  }
9996
9996
  var Ny = function(t, e) {
@@ -10023,7 +10023,7 @@ var Ny = function(t, e) {
10023
10023
  /** @class */
10024
10024
  function() {
10025
10025
  function t(e, n, r, i, o, a, u, c, s, l, p) {
10026
- e === void 0 && (e = e), n === void 0 && (n = Ly), r === void 0 && (r = !0), i === void 0 && (i = 0), o === void 0 && (o = 0), a === void 0 && (a = 0), u === void 0 && (u = Number.POSITIVE_INFINITY), c === void 0 && (c = Number.NEGATIVE_INFINITY), s === void 0 && (s = new Mo()), l === void 0 && (l = new Mo()), p === void 0 && (p = $o(Cy)), this.startTime = e, this._maxSize = n, this._recordMinMax = r, this._sum = i, this._count = o, this._zeroCount = a, this._min = u, this._max = c, this._positive = s, this._negative = l, this._mapping = p, this._maxSize < Sr && (E.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Sr), this._maxSize = Sr);
10026
+ e === void 0 && (e = e), n === void 0 && (n = Ly), r === void 0 && (r = !0), i === void 0 && (i = 0), o === void 0 && (o = 0), a === void 0 && (a = 0), u === void 0 && (u = Number.POSITIVE_INFINITY), c === void 0 && (c = Number.NEGATIVE_INFINITY), s === void 0 && (s = new Do()), l === void 0 && (l = new Do()), p === void 0 && (p = jo(Cy)), this.startTime = e, this._maxSize = n, this._recordMinMax = r, this._sum = i, this._count = o, this._zeroCount = a, this._min = u, this._max = c, this._positive = s, this._negative = l, this._mapping = p, this._maxSize < Sr && (E.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Sr), this._maxSize = Sr);
10027
10027
  }
10028
10028
  return t.prototype.record = function(e) {
10029
10029
  this.updateByIncrement(e, 1);
@@ -10172,7 +10172,7 @@ var Ny = function(t, e) {
10172
10172
  if (e < 0)
10173
10173
  throw new Error("impossible change of scale: " + this.scale);
10174
10174
  var n = this._mapping.scale - e;
10175
- this._positive.downscale(e), this._negative.downscale(e), this._mapping = $o(n);
10175
+ this._positive.downscale(e), this._negative.downscale(e), this._mapping = jo(n);
10176
10176
  }
10177
10177
  }, t.prototype._minScale = function(e) {
10178
10178
  var n = Math.min(this.scale, e.scale), r = nn.combine(this._highLowAtScale(this.positive, this.scale, n), this._highLowAtScale(e.positive, e.scale, n)), i = nn.combine(this._highLowAtScale(this.negative, this.scale, n), this._highLowAtScale(e.negative, e.scale, n));
@@ -10330,7 +10330,7 @@ var Ny = function(t, e) {
10330
10330
  return this._current;
10331
10331
  }, t;
10332
10332
  }()
10333
- ), jo = (
10333
+ ), Bo = (
10334
10334
  /** @class */
10335
10335
  function() {
10336
10336
  function t(e) {
@@ -10425,7 +10425,7 @@ var Ny = function(t, e) {
10425
10425
  default:
10426
10426
  return e.NON_MONOTONIC_INSTANCE;
10427
10427
  }
10428
- }, e.MONOTONIC_INSTANCE = new jo(!0), e.NON_MONOTONIC_INSTANCE = new jo(!1), e;
10428
+ }, e.MONOTONIC_INSTANCE = new Bo(!0), e.NON_MONOTONIC_INSTANCE = new Bo(!1), e;
10429
10429
  }(we)
10430
10430
  ), $y = (
10431
10431
  /** @class */
@@ -10447,7 +10447,7 @@ var Ny = function(t, e) {
10447
10447
  }
10448
10448
  return e.prototype.createAggregator = function(n) {
10449
10449
  return e.DEFAULT_INSTANCE;
10450
- }, e.DEFAULT_INSTANCE = new Ks([0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1e3, 2500, 5e3, 7500, 1e4], !0), e;
10450
+ }, e.DEFAULT_INSTANCE = new Ws([0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1e3, 2500, 5e3, 7500, 1e4], !0), e;
10451
10451
  }(we)
10452
10452
  ), By = (
10453
10453
  /** @class */
@@ -10465,7 +10465,7 @@ var Ny = function(t, e) {
10465
10465
  return a === -1 && (a = void 0), i._boundaries = n.slice(o + 1, a), i;
10466
10466
  }
10467
10467
  return e.prototype.createAggregator = function(n) {
10468
- return new Ks(this._boundaries, this._recordMinMax);
10468
+ return new Ws(this._boundaries, this._recordMinMax);
10469
10469
  }, e;
10470
10470
  }(we)
10471
10471
  ), Fy = (
@@ -10595,7 +10595,7 @@ var Ny = function(t, e) {
10595
10595
  if (s[0] & 5) throw s[1];
10596
10596
  return { value: s[0] ? s[1] : void 0, done: !0 };
10597
10597
  }
10598
- }, Bo = function(t, e) {
10598
+ }, Fo = function(t, e) {
10599
10599
  var n = typeof Symbol == "function" && t[Symbol.iterator];
10600
10600
  if (!n) return t;
10601
10601
  var r = n.call(t), i, o = [], a;
@@ -10647,15 +10647,15 @@ var Ny = function(t, e) {
10647
10647
  this._sdkMetricProducer.collect({
10648
10648
  timeoutMillis: e?.timeoutMillis
10649
10649
  })
10650
- ], Bo(this._metricProducers.map(function(s) {
10650
+ ], Fo(this._metricProducers.map(function(s) {
10651
10651
  return s.collect({
10652
10652
  timeoutMillis: e?.timeoutMillis
10653
10653
  });
10654
10654
  })), !1))];
10655
10655
  case 1:
10656
- return n = Bo.apply(void 0, [c.sent()]), r = n[0], i = n.slice(1), o = r.errors.concat(ko(i, function(s) {
10656
+ return n = Fo.apply(void 0, [c.sent()]), r = n[0], i = n.slice(1), o = r.errors.concat(Mo(i, function(s) {
10657
10657
  return s.errors;
10658
- })), a = r.resourceMetrics.resource, u = r.resourceMetrics.scopeMetrics.concat(ko(i, function(s) {
10658
+ })), a = r.resourceMetrics.resource, u = r.resourceMetrics.scopeMetrics.concat(Mo(i, function(s) {
10659
10659
  return s.resourceMetrics.scopeMetrics;
10660
10660
  })), [2, {
10661
10661
  resourceMetrics: {
@@ -10866,7 +10866,7 @@ var Ny = function(t, e) {
10866
10866
  case 1:
10867
10867
  return r.sent(), [3, 3];
10868
10868
  case 2:
10869
- return n = r.sent(), n instanceof Xs ? (E.error("Export took longer than %s milliseconds and timed out.", this._exportTimeout), [
10869
+ return n = r.sent(), n instanceof Ks ? (E.error("Export took longer than %s milliseconds and timed out.", this._exportTimeout), [
10870
10870
  2
10871
10871
  /*return*/
10872
10872
  ]) : (Re(n), [3, 3]);
@@ -11163,7 +11163,7 @@ var sg = (
11163
11163
  }
11164
11164
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11165
11165
  };
11166
- }(), Fo = function(t, e) {
11166
+ }(), Vo = function(t, e) {
11167
11167
  var n = { label: 0, sent: function() {
11168
11168
  if (o[0] & 1) throw o[1];
11169
11169
  return o[1];
@@ -11242,7 +11242,7 @@ var sg = (
11242
11242
  return n != null || (n = this._hash(e)), this._valueMap.has(n);
11243
11243
  }, t.prototype.keys = function() {
11244
11244
  var e, n;
11245
- return Fo(this, function(r) {
11245
+ return Vo(this, function(r) {
11246
11246
  switch (r.label) {
11247
11247
  case 0:
11248
11248
  e = this._keyMap.entries(), n = e.next(), r.label = 1;
@@ -11259,7 +11259,7 @@ var sg = (
11259
11259
  });
11260
11260
  }, t.prototype.entries = function() {
11261
11261
  var e, n;
11262
- return Fo(this, function(r) {
11262
+ return Vo(this, function(r) {
11263
11263
  switch (r.label) {
11264
11264
  case 0:
11265
11265
  e = this._valueMap.entries(), n = e.next(), r.label = 1;
@@ -11287,7 +11287,7 @@ var sg = (
11287
11287
  function(t) {
11288
11288
  ug(e, t);
11289
11289
  function e() {
11290
- return t.call(this, qs) || this;
11290
+ return t.call(this, Xs) || this;
11291
11291
  }
11292
11292
  return e;
11293
11293
  }(cg)
@@ -11311,7 +11311,7 @@ var sg = (
11311
11311
  /** @class */
11312
11312
  function() {
11313
11313
  function t(e, n) {
11314
- this._aggregator = e, this._activeCollectionStorage = new je(), this._cumulativeMemoStorage = new je(), this._overflowAttributes = { "otel.metric.overflow": !0 }, this._cardinalityLimit = (n ?? 2e3) - 1, this._overflowHashCode = qs(this._overflowAttributes);
11314
+ this._aggregator = e, this._activeCollectionStorage = new je(), this._cumulativeMemoStorage = new je(), this._overflowAttributes = { "otel.metric.overflow": !0 }, this._cardinalityLimit = (n ?? 2e3) - 1, this._overflowHashCode = Xs(this._overflowAttributes);
11315
11315
  }
11316
11316
  return t.prototype.record = function(e, n, r, i) {
11317
11317
  var o = this, a = this._activeCollectionStorage.get(n);
@@ -11359,7 +11359,7 @@ var sg = (
11359
11359
  }
11360
11360
  };
11361
11361
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11362
- }, Vo = function(t, e) {
11362
+ }, Ho = function(t, e) {
11363
11363
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11364
11364
  if (!n) return t;
11365
11365
  var r = n.call(t), i, o = [], a;
@@ -11443,7 +11443,7 @@ var sg = (
11443
11443
  return i;
11444
11444
  }, t.merge = function(e, n, r) {
11445
11445
  for (var i = e, o = n.entries(), a = o.next(); a.done !== !0; ) {
11446
- var u = Vo(a.value, 3), c = u[0], s = u[1], l = u[2];
11446
+ var u = Ho(a.value, 3), c = u[0], s = u[1], l = u[2];
11447
11447
  if (e.has(c, l)) {
11448
11448
  var p = e.get(c, l), f = r.merge(p, s);
11449
11449
  i.set(c, f, l);
@@ -11456,7 +11456,7 @@ var sg = (
11456
11456
  var i, o;
11457
11457
  try {
11458
11458
  for (var a = Nr(e.keys()), u = a.next(); !u.done; u = a.next()) {
11459
- var c = Vo(u.value, 2), s = c[0], l = c[1], p = n.get(s, l);
11459
+ var c = Ho(u.value, 2), s = c[0], l = c[1], p = n.get(s, l);
11460
11460
  p?.setStartTime(r);
11461
11461
  }
11462
11462
  } catch (f) {
@@ -11528,7 +11528,7 @@ var fg = /* @__PURE__ */ function() {
11528
11528
  }, e;
11529
11529
  }(iu)
11530
11530
  );
11531
- function Ho(t, e) {
11531
+ function Go(t, e) {
11532
11532
  var n = "";
11533
11533
  return t.unit !== e.unit && (n += " - Unit '" + t.unit + "' does not match '" + e.unit + `'
11534
11534
  `), t.type !== e.type && (n += " - Type '" + t.type + "' does not match '" + e.type + `'
@@ -11560,7 +11560,7 @@ function gg(t, e) {
11560
11560
  - OR - create a new view with the name ` + t.name + " and description '" + t.description + "' and InstrumentSelector " + r + `
11561
11561
  - OR - create a new view with the name ` + e.name + " and description '" + t.description + "' and InstrumentSelector " + r;
11562
11562
  }
11563
- function Go(t, e) {
11563
+ function zo(t, e) {
11564
11564
  return t.valueType !== e.valueType ? vg(t, e) : t.unit !== e.unit ? mg(t, e) : t.type !== e.type ? yg(t, e) : t.description !== e.description ? gg(t, e) : "";
11565
11565
  }
11566
11566
  var Cr = function(t) {
@@ -11641,11 +11641,11 @@ var Cr = function(t) {
11641
11641
  var c = u.value, s = c.getInstrumentDescriptor();
11642
11642
  dy(s, e) ? (s.description !== e.description && (e.description.length > s.description.length && c.updateDescription(e.description), E.warn("A view or instrument with the name ", e.name, ` has already been registered, but has a different description and is incompatible with another registered view.
11643
11643
  `, `Details:
11644
- `, Ho(s, e), `The longer description will be used.
11645
- To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument with the name ", e.name, ` has already been registered and is incompatible with another registered view.
11644
+ `, Go(s, e), `The longer description will be used.
11645
+ To resolve the conflict:`, zo(s, e))), o = c) : E.warn("A view or instrument with the name ", e.name, ` has already been registered and is incompatible with another registered view.
11646
11646
  `, `Details:
11647
- `, Ho(s, e), `To resolve the conflict:
11648
- `, Go(s, e));
11647
+ `, Go(s, e), `To resolve the conflict:
11648
+ `, zo(s, e));
11649
11649
  }
11650
11650
  } catch (l) {
11651
11651
  r = { error: l };
@@ -11787,7 +11787,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11787
11787
  if (s[0] & 5) throw s[1];
11788
11788
  return { value: s[0] ? s[1] : void 0, done: !0 };
11789
11789
  }
11790
- }, zo = function(t, e) {
11790
+ }, qo = function(t, e) {
11791
11791
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11792
11792
  if (!n) return t;
11793
11793
  var r = n.call(t), i, o = [], a;
@@ -11803,7 +11803,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11803
11803
  }
11804
11804
  }
11805
11805
  return o;
11806
- }, qo = function(t, e, n) {
11806
+ }, Xo = function(t, e, n) {
11807
11807
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
11808
11808
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
11809
11809
  return t.concat(o || Array.prototype.slice.call(e));
@@ -11836,7 +11836,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11836
11836
  return Rr(this, function(u) {
11837
11837
  switch (u.label) {
11838
11838
  case 0:
11839
- return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, sy(qo(qo([], zo(r), !1), zo(i), !1))];
11839
+ return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, sy(Xo(Xo([], qo(r), !1), qo(i), !1))];
11840
11840
  case 1:
11841
11841
  return o = u.sent(), a = o.filter(uy).map(function(c) {
11842
11842
  return c.reason;
@@ -11948,7 +11948,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11948
11948
  }
11949
11949
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11950
11950
  };
11951
- }(), Ii = (
11951
+ }(), Pi = (
11952
11952
  /** @class */
11953
11953
  function() {
11954
11954
  function t() {
@@ -11967,7 +11967,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11967
11967
  return e.prototype.process = function(n, r) {
11968
11968
  return n;
11969
11969
  }, e;
11970
- }(Ii)
11970
+ }(Pi)
11971
11971
  );
11972
11972
  (function(t) {
11973
11973
  su(e, t);
@@ -11983,7 +11983,7 @@ To resolve the conflict:`, Go(s, e))), o = c) : E.warn("A view or instrument wit
11983
11983
  return o[a] = n[a];
11984
11984
  }), o;
11985
11985
  }, e;
11986
- })(Ii);
11986
+ })(Pi);
11987
11987
  var xg = new Ag(), Ng = function(t, e, n, r) {
11988
11988
  function i(o) {
11989
11989
  return o instanceof n ? o : new n(function(a) {
@@ -12130,7 +12130,7 @@ var xg = new Ag(), Ng = function(t, e, n, r) {
12130
12130
  var s = Lg(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, e);
12131
12131
  if (f != null)
12132
12132
  return f;
12133
- var m = p.createAggregator(e), v = l.selectCardinalityLimit(e.type), y = new n(e, m, Ii.Noop(), [l], v);
12133
+ var m = p.createAggregator(e), v = l.selectCardinalityLimit(e.type), y = new n(e, m, Pi.Noop(), [l], v);
12134
12134
  return r.metricStorageRegistry.registerForCollector(l, y), y;
12135
12135
  });
12136
12136
  o = o.concat(u);
@@ -12356,7 +12356,7 @@ var xg = new Ag(), Ng = function(t, e, n, r) {
12356
12356
  return (i = (r = (n = this._metricReader).selectCardinalityLimit) === null || r === void 0 ? void 0 : r.call(n, e)) !== null && i !== void 0 ? i : 2e3;
12357
12357
  }, t;
12358
12358
  }()
12359
- ), Xo = function(t, e, n, r) {
12359
+ ), Ko = function(t, e, n, r) {
12360
12360
  function i(o) {
12361
12361
  return o instanceof n ? o : new n(function(a) {
12362
12362
  a(o);
@@ -12382,7 +12382,7 @@ var xg = new Ag(), Ng = function(t, e, n, r) {
12382
12382
  }
12383
12383
  s((r = r.apply(t, [])).next());
12384
12384
  });
12385
- }, Ko = function(t, e) {
12385
+ }, Wo = function(t, e) {
12386
12386
  var n = { label: 0, sent: function() {
12387
12387
  if (o[0] & 1) throw o[1];
12388
12388
  return o[1];
@@ -12441,7 +12441,7 @@ var xg = new Ag(), Ng = function(t, e, n, r) {
12441
12441
  if (s[0] & 5) throw s[1];
12442
12442
  return { value: s[0] ? s[1] : void 0, done: !0 };
12443
12443
  }
12444
- }, Wo = function(t) {
12444
+ }, Yo = function(t) {
12445
12445
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
12446
12446
  if (n) return n.call(t);
12447
12447
  if (t && typeof t.length == "number") return {
@@ -12462,7 +12462,7 @@ var $g = (
12462
12462
  var n, r, i, o, a;
12463
12463
  if (this._shutdown = !1, this._sharedState = new Pg(Ug((a = e?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, e?.resource)), e?.views != null && e.views.length > 0)
12464
12464
  try {
12465
- for (var u = Wo(e.views), c = u.next(); !c.done; c = u.next()) {
12465
+ for (var u = Yo(e.views), c = u.next(); !c.done; c = u.next()) {
12466
12466
  var s = c.value;
12467
12467
  this._sharedState.viewRegistry.addView(s);
12468
12468
  }
@@ -12477,7 +12477,7 @@ var $g = (
12477
12477
  }
12478
12478
  if (e?.readers != null && e.readers.length > 0)
12479
12479
  try {
12480
- for (var l = Wo(e.readers), p = l.next(); !p.done; p = l.next()) {
12480
+ for (var l = Yo(e.readers), p = l.next(); !p.done; p = l.next()) {
12481
12481
  var f = p.value;
12482
12482
  this.addMetricReader(f);
12483
12483
  }
@@ -12501,8 +12501,8 @@ var $g = (
12501
12501
  var n = new Dg(this._sharedState, e);
12502
12502
  e.setMetricProducer(n), this._sharedState.metricCollectors.push(n);
12503
12503
  }, t.prototype.shutdown = function(e) {
12504
- return Xo(this, void 0, void 0, function() {
12505
- return Ko(this, function(n) {
12504
+ return Ko(this, void 0, void 0, function() {
12505
+ return Wo(this, function(n) {
12506
12506
  switch (n.label) {
12507
12507
  case 0:
12508
12508
  return this._shutdown ? (E.warn("shutdown may only be called once per MeterProvider"), [
@@ -12520,8 +12520,8 @@ var $g = (
12520
12520
  });
12521
12521
  });
12522
12522
  }, t.prototype.forceFlush = function(e) {
12523
- return Xo(this, void 0, void 0, function() {
12524
- return Ko(this, function(n) {
12523
+ return Ko(this, void 0, void 0, function() {
12524
+ return Wo(this, function(n) {
12525
12525
  switch (n.label) {
12526
12526
  case 0:
12527
12527
  return this._shutdown ? (E.warn("invalid attempt to force flush after MeterProvider shutdown"), [
@@ -12542,9 +12542,9 @@ var $g = (
12542
12542
  }()
12543
12543
  );
12544
12544
  function jg(t, e) {
12545
- var n = Fs(e);
12545
+ var n = Vs(e);
12546
12546
  return {
12547
- resource: Vs(t.resource),
12547
+ resource: Hs(t.resource),
12548
12548
  schemaUrl: void 0,
12549
12549
  scopeMetrics: Bg(t.scopeMetrics, n)
12550
12550
  };
@@ -12552,7 +12552,7 @@ function jg(t, e) {
12552
12552
  function Bg(t, e) {
12553
12553
  return Array.from(t.map(function(n) {
12554
12554
  return {
12555
- scope: Hs(n.scope),
12555
+ scope: Gs(n.scope),
12556
12556
  metrics: n.metrics.map(function(r) {
12557
12557
  return Fg(r, e);
12558
12558
  }),
@@ -12571,12 +12571,12 @@ function Fg(t, e) {
12571
12571
  n.sum = {
12572
12572
  aggregationTemporality: r,
12573
12573
  isMonotonic: t.isMonotonic,
12574
- dataPoints: Yo(t, e)
12574
+ dataPoints: Jo(t, e)
12575
12575
  };
12576
12576
  break;
12577
12577
  case de.GAUGE:
12578
12578
  n.gauge = {
12579
- dataPoints: Yo(t, e)
12579
+ dataPoints: Jo(t, e)
12580
12580
  };
12581
12581
  break;
12582
12582
  case de.HISTOGRAM:
@@ -12610,7 +12610,7 @@ function Vg(t, e, n) {
12610
12610
  }
12611
12611
  return r;
12612
12612
  }
12613
- function Yo(t, e) {
12613
+ function Jo(t, e) {
12614
12614
  return t.dataPoints.map(function(n) {
12615
12615
  return Vg(n, t.descriptor.valueType, e);
12616
12616
  });
@@ -12744,7 +12744,7 @@ function Jg(t, e) {
12744
12744
  };
12745
12745
  }
12746
12746
  function Qg(t, e) {
12747
- var n = Fs(e);
12747
+ var n = Vs(e);
12748
12748
  return {
12749
12749
  resourceSpans: e_(t, n)
12750
12750
  };
@@ -12778,7 +12778,7 @@ function e_(t, e) {
12778
12778
  return Wg(y, e);
12779
12779
  });
12780
12780
  s.push({
12781
- scope: Hs(f[0].instrumentationLibrary),
12781
+ scope: Gs(f[0].instrumentationLibrary),
12782
12782
  spans: m,
12783
12783
  schemaUrl: f[0].instrumentationLibrary.schemaUrl
12784
12784
  });
@@ -12786,7 +12786,7 @@ function e_(t, e) {
12786
12786
  p = l.next();
12787
12787
  }
12788
12788
  var v = {
12789
- resource: Vs(u),
12789
+ resource: Hs(u),
12790
12790
  scopeSpans: s,
12791
12791
  schemaUrl: void 0
12792
12792
  };
@@ -12902,9 +12902,9 @@ var t_ = {
12902
12902
  if (s[0] & 5) throw s[1];
12903
12903
  return { value: s[0] ? s[1] : void 0, done: !0 };
12904
12904
  }
12905
- }, o_ = 5, a_ = 1e3, s_ = 5e3, u_ = 1.5, Jo = 0.2;
12905
+ }, o_ = 5, a_ = 1e3, s_ = 5e3, u_ = 1.5, Qo = 0.2;
12906
12906
  function c_() {
12907
- return Math.random() * (2 * Jo) - Jo;
12907
+ return Math.random() * (2 * Qo) - Qo;
12908
12908
  }
12909
12909
  var l_ = (
12910
12910
  /** @class */
@@ -13048,12 +13048,12 @@ function y_(t) {
13048
13048
  return new m_(t);
13049
13049
  }
13050
13050
  function g_(t, e) {
13051
- return Us(t, e, uu({
13051
+ return $s(t, e, uu({
13052
13052
  transport: v_(t)
13053
13053
  }));
13054
13054
  }
13055
13055
  function __(t, e) {
13056
- return Us(t, e, uu({
13056
+ return $s(t, e, uu({
13057
13057
  transport: y_({
13058
13058
  url: t.url,
13059
13059
  blobType: t.headers()["Content-Type"]
@@ -13160,7 +13160,7 @@ var x_ = /* @__PURE__ */ function() {
13160
13160
  return n === void 0 && (n = {}), t.call(this, cu(n, n_, "v1/traces", { "Content-Type": "application/json" })) || this;
13161
13161
  }
13162
13162
  return e;
13163
- }(Ds)
13163
+ }(Us)
13164
13164
  ), In;
13165
13165
  (function(t) {
13166
13166
  t[t.DELTA = 0] = "DELTA", t[t.CUMULATIVE = 1] = "CUMULATIVE", t[t.LOWMEMORY = 2] = "LOWMEMORY";
@@ -13234,7 +13234,7 @@ var P_ = (
13234
13234
  }, e.prototype.selectAggregationTemporality = function(n) {
13235
13235
  return this._aggregationTemporalitySelector(n);
13236
13236
  }, e;
13237
- }(Ds)
13237
+ }(Us)
13238
13238
  ), k_ = /* @__PURE__ */ function() {
13239
13239
  var t = function(e, n) {
13240
13240
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
@@ -13272,7 +13272,7 @@ function D_(t, e) {
13272
13272
  startTime: t.startTime,
13273
13273
  endTime: t.endTime,
13274
13274
  status: t.status,
13275
- attributes: ys(t.attributes, e),
13275
+ attributes: gs(t.attributes, e),
13276
13276
  links: t.links,
13277
13277
  events: t.events,
13278
13278
  duration: t.duration,
@@ -13431,7 +13431,7 @@ const li = class ke extends hd {
13431
13431
  const i = e?.target, o = e?.type;
13432
13432
  if (!(i instanceof HTMLElement) || !i.getAttribute || i.hasAttribute("disabled") || !this._allowEventName(o))
13433
13433
  return;
13434
- const a = Is(i, !0);
13434
+ const a = Ps(i, !0);
13435
13435
  try {
13436
13436
  const u = this.tracer.startSpan(
13437
13437
  o,
@@ -13788,7 +13788,7 @@ const li = class ke extends hd {
13788
13788
  };
13789
13789
  k(li, "version", "0.1.0"), k(li, "moduleName", "user-interaction");
13790
13790
  let G_ = li, Oe = {}, rt;
13791
- const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.js.log", q_ = "launchdarkly.exception.id", Qo = "launchdarkly.sampling.ratio", hu = "log.severity", du = "log.message", X_ = (t, e) => {
13791
+ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.js.log", q_ = "launchdarkly.exception.id", Zo = "launchdarkly.sampling.ratio", hu = "log.severity", du = "log.message", X_ = (t, e) => {
13792
13792
  var n, r, i, o, a, u, c, s, l;
13793
13793
  if (Oe.tracerProvider !== void 0) {
13794
13794
  console.warn("OTEL already initialized. Skipping...");
@@ -13827,7 +13827,7 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13827
13827
  "telemetry.distro.name": "@highlight-run/observability",
13828
13828
  "telemetry.distro.version": Bl
13829
13829
  });
13830
- Oe.tracerProvider = new Xd({
13830
+ Oe.tracerProvider = new Jd({
13831
13831
  resource: b,
13832
13832
  mergeResourceWithDefaults: !0,
13833
13833
  spanProcessors: [_]
@@ -13844,8 +13844,8 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13844
13844
  ((a = t.instrumentations) == null ? void 0 : a["@opentelemetry/instrumentation-document-load"]) !== !1 && D.push(
13845
13845
  new vv({
13846
13846
  applyCustomAttributesOnSpan: {
13847
- documentLoad: na,
13848
- documentFetch: na,
13847
+ documentLoad: ra,
13848
+ documentFetch: ra,
13849
13849
  resourceFetch: J_
13850
13850
  }
13851
13851
  })
@@ -13855,7 +13855,7 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13855
13855
  })
13856
13856
  ), (c = t.networkRecordingOptions) != null && c.enabled && (((s = t.instrumentations) == null ? void 0 : s["@opentelemetry/instrumentation-fetch"]) !== !1 && D.push(
13857
13857
  new Kv({
13858
- propagateTraceHeaderCorsUrls: ra(
13858
+ propagateTraceHeaderCorsUrls: ia(
13859
13859
  t.tracingOrigins
13860
13860
  ),
13861
13861
  applyCustomAttributesOnSpan: (M, G, $) => ct(void 0, null, function* () {
@@ -13866,14 +13866,14 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13866
13866
  if (Ye.attributes[Pn] === !1)
13867
13867
  return;
13868
13868
  const gt = Ye.attributes["http.url"], h = (me = G.method) != null ? me : "GET";
13869
- if (M.updateName(ea(gt, h, G.body)), !($ instanceof Response)) {
13869
+ if (M.updateName(ta(gt, h, G.body)), !($ instanceof Response)) {
13870
13870
  M.setAttributes({
13871
13871
  "http.response.error": $.message,
13872
13872
  "http.response.status": $.status
13873
13873
  });
13874
13874
  return;
13875
13875
  }
13876
- ta(
13876
+ na(
13877
13877
  M,
13878
13878
  G.body,
13879
13879
  G.headers,
@@ -13889,7 +13889,7 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13889
13889
  })
13890
13890
  ), ((l = t.instrumentations) == null ? void 0 : l["@opentelemetry/instrumentation-xml-http-request"]) !== !1 && D.push(
13891
13891
  new Em({
13892
- propagateTraceHeaderCorsUrls: ra(
13892
+ propagateTraceHeaderCorsUrls: ia(
13893
13893
  t.tracingOrigins
13894
13894
  ),
13895
13895
  applyCustomAttributesOnSpan: (M, G) => {
@@ -13897,18 +13897,18 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13897
13897
  const ue = G;
13898
13898
  if (!M.attributes || M.attributes[Pn] === !1)
13899
13899
  return;
13900
- const W = ea(
13900
+ const W = ta(
13901
13901
  ue._url,
13902
13902
  ue._method,
13903
13903
  G.responseText
13904
13904
  );
13905
- M.updateName(W), ta(
13905
+ M.updateName(W), na(
13906
13906
  M,
13907
13907
  ue._body,
13908
13908
  ue._requestHeaders,
13909
13909
  t.networkRecordingOptions
13910
13910
  );
13911
- const Ye = Ms(
13911
+ const Ye = Ds(
13912
13912
  ue._body,
13913
13913
  ($ = t.networkRecordingOptions) == null ? void 0 : $.networkBodyKeysToRedact,
13914
13914
  (me = t.networkRecordingOptions) == null ? void 0 : me.bodyKeysToRecord,
@@ -13918,12 +13918,12 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13918
13918
  }
13919
13919
  })
13920
13920
  )), ud({ instrumentations: D });
13921
- const F = new Cs();
13921
+ const F = new Ls();
13922
13922
  return F.enable(), Oe.tracerProvider.register({
13923
13923
  contextManager: F,
13924
- propagator: new ps({
13924
+ propagator: new fs({
13925
13925
  propagators: [
13926
- new is(),
13926
+ new os(),
13927
13927
  new W_({
13928
13928
  backendUrl: p,
13929
13929
  otlpEndpoint: t.otlpEndpoint,
@@ -13934,7 +13934,7 @@ const Pn = "highlight.record", z_ = "highlight.session_id", fu = "launchdarkly.j
13934
13934
  })
13935
13935
  }), Oe;
13936
13936
  };
13937
- class K_ extends Ns {
13937
+ class K_ extends Cs {
13938
13938
  onStart(e, n) {
13939
13939
  e.setAttribute(z_, Ae()), super.onStart(e, n);
13940
13940
  }
@@ -13942,7 +13942,7 @@ class K_ extends Ns {
13942
13942
  e.attributes[Pn] !== !1 && super.onEnd(e);
13943
13943
  }
13944
13944
  }
13945
- class W_ extends fs {
13945
+ class W_ extends hs {
13946
13946
  constructor(e) {
13947
13947
  super(), k(this, "highlightEndpoints"), k(this, "tracingOrigins"), k(this, "urlBlocklist"), this.highlightEndpoints = [
13948
13948
  e.backendUrl,
@@ -13969,10 +13969,10 @@ class W_ extends fs {
13969
13969
  )) || super.inject(e, n, r);
13970
13970
  }
13971
13971
  }
13972
- const vu = "highlight-browser", un = vu, Zo = () => {
13972
+ const vu = "highlight-browser", un = vu, ea = () => {
13973
13973
  var t;
13974
13974
  return (t = Oe.tracerProvider) == null ? void 0 : t.getTracer(vu);
13975
- }, ea = (t, e, n) => {
13975
+ }, ta = (t, e, n) => {
13976
13976
  var r, i, o;
13977
13977
  let a;
13978
13978
  const u = new URL(t), c = u.pathname;
@@ -13985,7 +13985,7 @@ const vu = "highlight-browser", un = vu, Zo = () => {
13985
13985
  } catch {
13986
13986
  }
13987
13987
  return s;
13988
- }, ta = (t, e, n, r) => {
13988
+ }, na = (t, e, n, r) => {
13989
13989
  var i;
13990
13990
  const o = typeof e == "string" ? e : String(e);
13991
13991
  if (!t.attributes)
@@ -14022,7 +14022,7 @@ const vu = "highlight-browser", un = vu, Zo = () => {
14022
14022
  ) ? !1 : Rm(
14023
14023
  t,
14024
14024
  e
14025
- ), na = (t) => {
14025
+ ), ra = (t) => {
14026
14026
  var e, n, r;
14027
14027
  if (!t.events)
14028
14028
  return;
@@ -14059,7 +14059,7 @@ const vu = "highlight-browser", un = vu, Zo = () => {
14059
14059
  if (o.document_load !== void 0)
14060
14060
  for (const u of a)
14061
14061
  u.recordGauge((r = rt?.sessionSecureId) != null ? r : "", {
14062
- name: Va,
14062
+ name: Ha,
14063
14063
  value: o.document_load / 1e6
14064
14064
  });
14065
14065
  Object.entries(o).forEach(([u, c]) => {
@@ -14104,7 +14104,7 @@ const J_ = (t, e) => {
14104
14104
  return `${Number(e.toFixed(1))}µs`;
14105
14105
  } else
14106
14106
  return `${Number(t.toFixed(1))}ns`;
14107
- }, ra = (t) => t === !0 ? [/localhost/, /^\//, new RegExp(window.location.host)] : Array.isArray(t) ? t.map(
14107
+ }, ia = (t) => t === !0 ? [/localhost/, /^\//, new RegExp(window.location.host)] : Array.isArray(t) ? t.map(
14108
14108
  (e) => typeof e == "string" ? new RegExp(e) : e
14109
14109
  ) : /^$/, Q_ = 30, Z_ = () => new Promise(
14110
14110
  (t) => requestAnimationFrame(
@@ -14144,10 +14144,10 @@ const J_ = (t, e) => {
14144
14144
  return window.addEventListener("click", i, !0), window.addEventListener("keydown", i, !0), () => {
14145
14145
  window.removeEventListener("keydown", i, !0), window.removeEventListener("click", i, !0);
14146
14146
  };
14147
- }, nb = typeof window < "u", ia = nb && "performance" in window && "memory" in performance ? performance : { memory: {} }, rb = (t, e) => {
14147
+ }, nb = typeof window < "u", oa = nb && "performance" in window && "memory" in performance ? performance : { memory: {} }, rb = (t, e) => {
14148
14148
  let n = 0, r = 0;
14149
14149
  const i = () => {
14150
- const s = ((/* @__PURE__ */ new Date()).getTime() - e) / 1e3, l = ia.memory.jsHeapSizeLimit || 0, p = ia.memory.usedJSHeapSize || 0;
14150
+ const s = ((/* @__PURE__ */ new Date()).getTime() - e) / 1e3, l = oa.memory.jsHeapSizeLimit || 0, p = oa.memory.usedJSHeapSize || 0;
14151
14151
  t({
14152
14152
  jsHeapSizeLimit: l,
14153
14153
  usedJSHeapSize: p,
@@ -14173,13 +14173,13 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14173
14173
  addEventListener("pageshow", function(e) {
14174
14174
  e.persisted && (gu = e.timeStamp, t(e));
14175
14175
  }, !0);
14176
- }, Pi = function() {
14176
+ }, ki = function() {
14177
14177
  return window.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0];
14178
14178
  }, qn = function() {
14179
- var t = Pi();
14179
+ var t = ki();
14180
14180
  return t && t.activationStart || 0;
14181
14181
  }, ae = function(t, e) {
14182
- var n = Pi(), r = "navigate";
14182
+ var n = ki(), r = "navigate";
14183
14183
  return gu >= 0 ? r = "back-forward-cache" : n && (document.prerendering || qn() > 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 };
14184
14184
  }, yt = function(t, e, n) {
14185
14185
  try {
@@ -14200,7 +14200,7 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14200
14200
  return u > c[1] ? "poor" : u > c[0] ? "needs-improvement" : "good";
14201
14201
  }(e.value, n), t(e));
14202
14202
  };
14203
- }, ki = function(t) {
14203
+ }, Mi = function(t) {
14204
14204
  requestAnimationFrame(function() {
14205
14205
  return requestAnimationFrame(function() {
14206
14206
  return t();
@@ -14211,23 +14211,23 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14211
14211
  n.type !== "pagehide" && document.visibilityState !== "hidden" || t(n);
14212
14212
  };
14213
14213
  addEventListener("visibilitychange", e, !0), addEventListener("pagehide", e, !0);
14214
- }, Mi = function(t) {
14214
+ }, Di = function(t) {
14215
14215
  var e = !1;
14216
14216
  return function(n) {
14217
14217
  e || (t(n), e = !0);
14218
14218
  };
14219
- }, at = -1, oa = function() {
14219
+ }, at = -1, aa = function() {
14220
14220
  return document.visibilityState !== "hidden" || document.prerendering ? 1 / 0 : 0;
14221
14221
  }, Mn = function(t) {
14222
14222
  document.visibilityState === "hidden" && at > -1 && (at = t.type === "visibilitychange" ? t.timeStamp : 0, ib());
14223
- }, aa = function() {
14223
+ }, sa = function() {
14224
14224
  addEventListener("visibilitychange", Mn, !0), addEventListener("prerenderingchange", Mn, !0);
14225
14225
  }, ib = function() {
14226
14226
  removeEventListener("visibilitychange", Mn, !0), removeEventListener("prerenderingchange", Mn, !0);
14227
- }, Di = function() {
14228
- return at < 0 && (at = oa(), aa(), We(function() {
14227
+ }, Ui = function() {
14228
+ return at < 0 && (at = aa(), sa(), We(function() {
14229
14229
  setTimeout(function() {
14230
- at = oa(), aa();
14230
+ at = aa(), sa();
14231
14231
  }, 0);
14232
14232
  })), { get firstHiddenTime() {
14233
14233
  return at;
@@ -14236,21 +14236,21 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14236
14236
  document.prerendering ? addEventListener("prerenderingchange", function() {
14237
14237
  return t();
14238
14238
  }, !0) : t();
14239
- }, sa = [1800, 3e3], _u = function(t, e) {
14239
+ }, ua = [1800, 3e3], _u = function(t, e) {
14240
14240
  e = e || {}, Kt(function() {
14241
- var n, r = Di(), i = ae("FCP"), o = yt("paint", function(a) {
14241
+ var n, r = Ui(), i = ae("FCP"), o = yt("paint", function(a) {
14242
14242
  a.forEach(function(u) {
14243
14243
  u.name === "first-contentful-paint" && (o.disconnect(), u.startTime < r.firstHiddenTime && (i.value = Math.max(u.startTime - qn(), 0), i.entries.push(u), n(!0)));
14244
14244
  });
14245
14245
  });
14246
- o && (n = se(t, i, sa, e.reportAllChanges), We(function(a) {
14247
- i = ae("FCP"), n = se(t, i, sa, e.reportAllChanges), ki(function() {
14246
+ o && (n = se(t, i, ua, e.reportAllChanges), We(function(a) {
14247
+ i = ae("FCP"), n = se(t, i, ua, e.reportAllChanges), Mi(function() {
14248
14248
  i.value = performance.now() - a.timeStamp, n(!0);
14249
14249
  });
14250
14250
  }));
14251
14251
  });
14252
- }, ua = [0.1, 0.25], ob = function(t, e) {
14253
- e = e || {}, _u(Mi(function() {
14252
+ }, ca = [0.1, 0.25], ob = function(t, e) {
14253
+ e = e || {}, _u(Di(function() {
14254
14254
  var n, r = ae("CLS", 0), i = 0, o = [], a = function(c) {
14255
14255
  c.forEach(function(s) {
14256
14256
  if (!s.hadRecentInput) {
@@ -14259,15 +14259,15 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14259
14259
  }
14260
14260
  }), i > r.value && (r.value = i, r.entries = o, n());
14261
14261
  }, u = yt("layout-shift", a);
14262
- u && (n = se(t, r, ua, e.reportAllChanges), Xn(function() {
14262
+ u && (n = se(t, r, ca, e.reportAllChanges), Xn(function() {
14263
14263
  a(u.takeRecords()), n(!0);
14264
14264
  }), We(function() {
14265
- i = 0, r = ae("CLS", 0), n = se(t, r, ua, e.reportAllChanges), ki(function() {
14265
+ i = 0, r = ae("CLS", 0), n = se(t, r, ca, e.reportAllChanges), Mi(function() {
14266
14266
  return n();
14267
14267
  });
14268
14268
  }), setTimeout(n, 0));
14269
14269
  }));
14270
- }, xt = { passive: !0, capture: !0 }, ab = /* @__PURE__ */ new Date(), ca = function(t, e) {
14270
+ }, xt = { passive: !0, capture: !0 }, ab = /* @__PURE__ */ new Date(), la = function(t, e) {
14271
14271
  Ne || (Ne = e, kt = t, yu = /* @__PURE__ */ new Date(), Eu(removeEventListener), bu());
14272
14272
  }, bu = function() {
14273
14273
  if (kt >= 0 && kt < yu - ab) {
@@ -14281,31 +14281,31 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14281
14281
  var e = (t.timeStamp > 1e12 ? /* @__PURE__ */ new Date() : performance.now()) - t.timeStamp;
14282
14282
  t.type == "pointerdown" ? function(n, r) {
14283
14283
  var i = function() {
14284
- ca(n, r), a();
14284
+ la(n, r), a();
14285
14285
  }, o = function() {
14286
14286
  a();
14287
14287
  }, a = function() {
14288
14288
  removeEventListener("pointerup", i, xt), removeEventListener("pointercancel", o, xt);
14289
14289
  };
14290
14290
  addEventListener("pointerup", i, xt), addEventListener("pointercancel", o, xt);
14291
- }(e, t) : ca(e, t);
14291
+ }(e, t) : la(e, t);
14292
14292
  }
14293
14293
  }, Eu = function(t) {
14294
14294
  ["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(e) {
14295
14295
  return t(e, sb, xt);
14296
14296
  });
14297
- }, la = [100, 300], ub = function(t, e) {
14297
+ }, pa = [100, 300], ub = function(t, e) {
14298
14298
  e = e || {}, Kt(function() {
14299
- var n, r = Di(), i = ae("FID"), o = function(c) {
14299
+ var n, r = Ui(), i = ae("FID"), o = function(c) {
14300
14300
  c.startTime < r.firstHiddenTime && (i.value = c.processingStart - c.startTime, i.entries.push(c), n(!0));
14301
14301
  }, a = function(c) {
14302
14302
  c.forEach(o);
14303
14303
  }, u = yt("first-input", a);
14304
- n = se(t, i, la, e.reportAllChanges), u && Xn(Mi(function() {
14304
+ n = se(t, i, pa, e.reportAllChanges), u && Xn(Di(function() {
14305
14305
  a(u.takeRecords()), u.disconnect();
14306
14306
  })), u && We(function() {
14307
14307
  var c;
14308
- i = ae("FID"), n = se(t, i, la, e.reportAllChanges), kn = [], kt = -1, Ne = null, Eu(addEventListener), c = o, kn.push(c), bu();
14308
+ i = ae("FID"), n = se(t, i, pa, e.reportAllChanges), kn = [], kt = -1, Ne = null, Eu(addEventListener), c = o, kn.push(c), bu();
14309
14309
  });
14310
14310
  });
14311
14311
  }, Tu = 0, Ir = 1 / 0, cn = 0, cb = function(t) {
@@ -14316,9 +14316,9 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14316
14316
  return pi ? Tu : performance.interactionCount || 0;
14317
14317
  }, lb = function() {
14318
14318
  "interactionCount" in performance || pi || (pi = yt("event", cb, { type: "event", buffered: !0, durationThreshold: 0 }));
14319
- }, pa = [200, 500], Su = 0, fa = function() {
14319
+ }, fa = [200, 500], Su = 0, ha = function() {
14320
14320
  return wu() - Su;
14321
- }, fe = [], Pr = {}, ha = function(t) {
14321
+ }, fe = [], Pr = {}, da = function(t) {
14322
14322
  var e = fe[fe.length - 1], n = Pr[t.interactionId];
14323
14323
  if (n || fe.length < 10 || t.duration > e.latency) {
14324
14324
  if (n) n.entries.push(t), n.latency = Math.max(n.latency, t.duration);
@@ -14338,30 +14338,30 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14338
14338
  lb();
14339
14339
  var r, i = ae("INP"), o = function(u) {
14340
14340
  u.forEach(function(l) {
14341
- l.interactionId && ha(l), l.entryType === "first-input" && !fe.some(function(p) {
14341
+ l.interactionId && da(l), l.entryType === "first-input" && !fe.some(function(p) {
14342
14342
  return p.entries.some(function(f) {
14343
14343
  return l.duration === f.duration && l.startTime === f.startTime;
14344
14344
  });
14345
- }) && ha(l);
14345
+ }) && da(l);
14346
14346
  });
14347
- var c, s = (c = Math.min(fe.length - 1, Math.floor(fa() / 50)), fe[c]);
14347
+ var c, s = (c = Math.min(fe.length - 1, Math.floor(ha() / 50)), fe[c]);
14348
14348
  s && s.latency !== i.value && (i.value = s.latency, i.entries = s.entries, r());
14349
14349
  }, a = yt("event", o, { durationThreshold: (n = e.durationThreshold) !== null && n !== void 0 ? n : 40 });
14350
- r = se(t, i, pa, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), Xn(function() {
14351
- o(a.takeRecords()), i.value < 0 && fa() > 0 && (i.value = 0, i.entries = []), r(!0);
14350
+ r = se(t, i, fa, e.reportAllChanges), a && ("interactionId" in PerformanceEventTiming.prototype && a.observe({ type: "first-input", buffered: !0 }), Xn(function() {
14351
+ o(a.takeRecords()), i.value < 0 && ha() > 0 && (i.value = 0, i.entries = []), r(!0);
14352
14352
  }), We(function() {
14353
- fe = [], Su = wu(), i = ae("INP"), r = se(t, i, pa, e.reportAllChanges);
14353
+ fe = [], Su = wu(), i = ae("INP"), r = se(t, i, fa, e.reportAllChanges);
14354
14354
  }));
14355
14355
  });
14356
- }, da = [2500, 4e3], kr = {}, fb = function(t, e) {
14356
+ }, va = [2500, 4e3], kr = {}, fb = function(t, e) {
14357
14357
  e = e || {}, Kt(function() {
14358
- var n, r = Di(), i = ae("LCP"), o = function(c) {
14358
+ var n, r = Ui(), i = ae("LCP"), o = function(c) {
14359
14359
  var s = c[c.length - 1];
14360
14360
  s && s.startTime < r.firstHiddenTime && (i.value = Math.max(s.startTime - qn(), 0), i.entries = [s], n());
14361
14361
  }, a = yt("largest-contentful-paint", o);
14362
14362
  if (a) {
14363
- n = se(t, i, da, e.reportAllChanges);
14364
- var u = Mi(function() {
14363
+ n = se(t, i, va, e.reportAllChanges);
14364
+ var u = Di(function() {
14365
14365
  kr[i.id] || (o(a.takeRecords()), a.disconnect(), kr[i.id] = !0, n(!0));
14366
14366
  });
14367
14367
  ["keydown", "click"].forEach(function(c) {
@@ -14369,13 +14369,13 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14369
14369
  return setTimeout(u, 0);
14370
14370
  }, !0);
14371
14371
  }), Xn(u), We(function(c) {
14372
- i = ae("LCP"), n = se(t, i, da, e.reportAllChanges), ki(function() {
14372
+ i = ae("LCP"), n = se(t, i, va, e.reportAllChanges), Mi(function() {
14373
14373
  i.value = performance.now() - c.timeStamp, kr[i.id] = !0, n(!0);
14374
14374
  });
14375
14375
  });
14376
14376
  }
14377
14377
  });
14378
- }, va = [800, 1800], hb = function t(e) {
14378
+ }, ma = [800, 1800], hb = function t(e) {
14379
14379
  document.prerendering ? Kt(function() {
14380
14380
  return t(e);
14381
14381
  }) : document.readyState !== "complete" ? addEventListener("load", function() {
@@ -14383,14 +14383,14 @@ var Ne, kt, yu, kn, pi, gu = -1, We = function(t) {
14383
14383
  }, !0) : setTimeout(e, 0);
14384
14384
  }, db = function(t, e) {
14385
14385
  e = e || {};
14386
- var n = ae("TTFB"), r = se(t, n, va, e.reportAllChanges);
14386
+ var n = ae("TTFB"), r = se(t, n, ma, e.reportAllChanges);
14387
14387
  hb(function() {
14388
- var i = Pi();
14388
+ var i = ki();
14389
14389
  if (i) {
14390
14390
  var o = i.responseStart;
14391
14391
  if (o <= 0 || o > performance.now()) return;
14392
14392
  n.value = Math.max(o - qn(), 0), n.entries = [i], r(!0), We(function() {
14393
- n = ae("TTFB", 0), (r = se(t, n, va, e.reportAllChanges))(!0);
14393
+ n = ae("TTFB", 0), (r = se(t, n, ma, e.reportAllChanges))(!0);
14394
14394
  });
14395
14395
  }
14396
14396
  });
@@ -14575,7 +14575,7 @@ class Tb {
14575
14575
  return {
14576
14576
  sample: this.sampler(r.samplingRatio),
14577
14577
  attributes: {
14578
- [Qo]: r.samplingRatio
14578
+ [Zo]: r.samplingRatio
14579
14579
  }
14580
14580
  };
14581
14581
  }
@@ -14597,7 +14597,7 @@ class Tb {
14597
14597
  return {
14598
14598
  sample: this.sampler(r.samplingRatio),
14599
14599
  attributes: {
14600
- [Qo]: r.samplingRatio
14600
+ [Zo]: r.samplingRatio
14601
14601
  }
14602
14602
  };
14603
14603
  }
@@ -14606,7 +14606,7 @@ class Tb {
14606
14606
  };
14607
14607
  }
14608
14608
  }
14609
- const ma = () => {
14609
+ const ya = () => {
14610
14610
  const t = {
14611
14611
  end: () => {
14612
14612
  },
@@ -14748,7 +14748,7 @@ class Ob {
14748
14748
  columnNumber: (c = p[0]) != null && c.columnNumber ? (s = p[0]) == null ? void 0 : s.columnNumber : 0,
14749
14749
  stackTrace: p,
14750
14750
  timestamp: (/* @__PURE__ */ new Date()).toISOString(),
14751
- id: Xa()
14751
+ id: Ka()
14752
14752
  };
14753
14753
  this._recordErrorMessage(f, r);
14754
14754
  }
@@ -14803,9 +14803,9 @@ class Ob {
14803
14803
  }));
14804
14804
  }
14805
14805
  startSpan(e, n, r, i) {
14806
- const o = Zo();
14806
+ const o = ea();
14807
14807
  if (!o) {
14808
- const u = ma();
14808
+ const u = ya();
14809
14809
  return i === void 0 && r === void 0 ? n(u) : i === void 0 ? r(u) : i(u);
14810
14810
  }
14811
14811
  const a = (u, c) => {
@@ -14827,9 +14827,9 @@ class Ob {
14827
14827
  );
14828
14828
  }
14829
14829
  startManualSpan(e, n, r, i) {
14830
- const o = Zo();
14830
+ const o = ea();
14831
14831
  if (!o) {
14832
- const a = ma();
14832
+ const a = ya();
14833
14833
  return i === void 0 && r === void 0 ? n(a) : i === void 0 ? r(a) : i(a);
14834
14834
  }
14835
14835
  return i === void 0 && r === void 0 ? o.startActiveSpan(e, n) : i === void 0 ? o.startActiveSpan(
@@ -14997,7 +14997,7 @@ class Ob {
14997
14997
  return this._recordLog(e, n, r);
14998
14998
  }
14999
14999
  }
15000
- class Db extends ql {
15000
+ class Mb extends ql {
15001
15001
  constructor(e) {
15002
15002
  super(e), k(this, "observe"), k(this, "options"), this.options = e;
15003
15003
  }
@@ -15059,8 +15059,8 @@ class Db extends ql {
15059
15059
  for (const y of (f = (p = (l = this.observe) == null ? void 0 : l.getHooks) == null ? void 0 : p.call(l, e)) != null ? f : [])
15060
15060
  (m = y.afterIdentify) == null || m.call(y, u, c, s);
15061
15061
  if (s.status === "completed") {
15062
- const y = ee(P({}, Wi(u.context)), {
15063
- key: Ki(u.context),
15062
+ const y = ee(P({}, Yi(u.context)), {
15063
+ key: Wi(u.context),
15064
15064
  timeout: u.timeout,
15065
15065
  [Ml]: s.status
15066
15066
  });
@@ -15079,11 +15079,11 @@ class Db extends ql {
15079
15079
  [Cl]: s.variationIndex
15080
15080
  } : {});
15081
15081
  if (s.reason)
15082
- for (const b in qi) {
15082
+ for (const b in Xi) {
15083
15083
  const L = b, U = s.reason[L];
15084
- U && (y[qi[L]] = U);
15084
+ U && (y[Xi[L]] = U);
15085
15085
  }
15086
- u.context && (y[Ol] = JSON.stringify(Wi(u.context)), y[Al] = Ki(u.context));
15086
+ u.context && (y[Ol] = JSON.stringify(Yi(u.context)), y[Al] = Wi(u.context));
15087
15087
  const _ = P(P({}, a), y);
15088
15088
  return (v = this.observe) == null || v.startSpan(Tl, (b) => {
15089
15089
  b && b.addEvent(J, _);
@@ -15104,6 +15104,6 @@ class Db extends ql {
15104
15104
  }
15105
15105
  export {
15106
15106
  ot as LDObserve,
15107
- Db as default
15107
+ Mb as default
15108
15108
  };
15109
15109
  //# sourceMappingURL=observability.js.map