@launchdarkly/observability 0.1.14 → 0.1.15

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.
@@ -19,7 +19,7 @@ const me = (t, e, ...n) => {
19
19
  console[e].apply(console, [r, ...n]), ks(r, ...n);
20
20
  }, ks = (t, ...e) => Is(void 0, null, function* () {
21
21
  try {
22
- const { LDObserve: n } = yield Promise.resolve().then(() => jc);
22
+ const { LDObserve: n } = yield Promise.resolve().then(() => Bc);
23
23
  n.recordLog(`${t}${e}`, "warn");
24
24
  } catch {
25
25
  }
@@ -3893,7 +3893,7 @@ const Fr = 10, Vr = 1e3, Gr = 500, mc = [Zo.BillingQuotaExceeded.toString()], vc
3893
3893
  }
3894
3894
  });
3895
3895
  return t;
3896
- }, ge = "feature_flag", ea = "launchdarkly", _c = "evaluation", bc = `${ge}.set.id`, Ec = `${ge}.key`, Tc = `${ge}.contextKeys`, wc = `${ge}.context.id`, Sc = `${ge}.result.value`, Oc = `${ge}.provider.name`, Ac = `${ge}.result.reason.inExperiment`, xc = `${ge}.result.variationIndex`, Nc = `${ea}.application.id`, Lc = `${ea}.application.version`, Cc = "$ld:telemetry:session:init", Rc = "$ld:telemetry:error", ci = "$ld:telemetry:track", Pc = "$ld:telemetry:metric", ta = "document_load";
3896
+ }, ge = "feature_flag", ea = "launchdarkly", _c = "evaluation", bc = `${ge}.set.id`, Ec = `${ge}.key`, Tc = `${ge}.contextKeys`, wc = `${ge}.context.id`, Sc = `${ge}.result.value`, Oc = `${ge}.provider.name`, Ac = `${ge}.result.reason.inExperiment`, xc = `${ge}.result.variationIndex`, Nc = `${ea}.application.id`, Lc = `${ea}.application.version`, Cc = "$ld:telemetry:session:init", Rc = "$ld:telemetry:error", ci = "$ld:telemetry:track", Pc = "$ld:telemetry:metric", ta = "document_load", Ic = "result.status";
3897
3897
  function na(t) {
3898
3898
  return t.includes("%") || t.includes(":") ? t.replace(/%/g, "%25").replace(/:/g, "%3A") : t;
3899
3899
  }
@@ -3908,7 +3908,7 @@ function pi(t) {
3908
3908
  [e]: na(t[e].key)
3909
3909
  })).reduce((e, n) => N(N({}, e), n), {}) : t.key;
3910
3910
  }
3911
- class Ic {
3911
+ class kc {
3912
3912
  constructor(e, n) {
3913
3913
  _t(this, "client"), _t(this, "metadata"), this.client = e, this.metadata = n;
3914
3914
  }
@@ -3949,9 +3949,9 @@ class Ic {
3949
3949
  );
3950
3950
  }
3951
3951
  }
3952
- let kc = class extends xo {
3952
+ let Mc = class extends xo {
3953
3953
  constructor(e, n) {
3954
- super(), _t(this, "client"), this.client = new Ic(e, n);
3954
+ super(), _t(this, "client"), this.client = new kc(e, n);
3955
3955
  }
3956
3956
  getHooks(e) {
3957
3957
  return [
@@ -3984,7 +3984,7 @@ let kc = class extends xo {
3984
3984
  return this._bufferCall("track", [e, n]);
3985
3985
  }
3986
3986
  };
3987
- function Mc(t) {
3987
+ function Dc(t) {
3988
3988
  if (t.id.length)
3989
3989
  return `#${t.id}`;
3990
3990
  if (t.classList.length) {
@@ -3995,7 +3995,7 @@ function Mc(t) {
3995
3995
  }
3996
3996
  return t.nodeName.toLowerCase();
3997
3997
  }
3998
- const Dc = () => {
3998
+ const Uc = () => {
3999
3999
  var t;
4000
4000
  const e = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789";
4001
4001
  var n = "";
@@ -4009,7 +4009,7 @@ const Dc = () => {
4009
4009
  );
4010
4010
  return n;
4011
4011
  };
4012
- let Uc = class {
4012
+ let jc = class {
4013
4013
  constructor(e) {
4014
4014
  _t(this, "sessionSecureID");
4015
4015
  try {
@@ -4018,7 +4018,7 @@ let Uc = class {
4018
4018
  let r = dc(
4019
4019
  n
4020
4020
  );
4021
- r != null && r.sessionSecureID ? this.sessionSecureID = r.sessionSecureID : (this.sessionSecureID = Dc(), Jo(this.sessionSecureID), Qo({
4021
+ r != null && r.sessionSecureID ? this.sessionSecureID = r.sessionSecureID : (this.sessionSecureID = Uc(), Jo(this.sessionSecureID), Qo({
4022
4022
  sessionSecureID: this.sessionSecureID,
4023
4023
  projectID: 0,
4024
4024
  payloadID: 1,
@@ -4074,20 +4074,20 @@ class fi extends xo {
4074
4074
  }
4075
4075
  let we;
4076
4076
  typeof globalThis < "u" ? globalThis.LDObserve ? we = globalThis.LDObserve : (we = new fi(), globalThis.LDObserve = we) : we = new fi();
4077
- const jc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4077
+ const Bc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4078
4078
  __proto__: null,
4079
4079
  get LDObserve() {
4080
4080
  return we;
4081
4081
  }
4082
4082
  }, Symbol.toStringTag, { value: "Module" }));
4083
- var Bc = Object.defineProperty, $c = Object.defineProperties, Fc = Object.getOwnPropertyDescriptors, hi = Object.getOwnPropertySymbols, Vc = Object.prototype.hasOwnProperty, Gc = Object.prototype.propertyIsEnumerable, _r = (t, e, n) => e in t ? Bc(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, k = (t, e) => {
4083
+ var $c = Object.defineProperty, Fc = Object.defineProperties, Vc = Object.getOwnPropertyDescriptors, hi = Object.getOwnPropertySymbols, Gc = Object.prototype.hasOwnProperty, Hc = Object.prototype.propertyIsEnumerable, _r = (t, e, n) => e in t ? $c(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n, k = (t, e) => {
4084
4084
  for (var n in e || (e = {}))
4085
- Vc.call(e, n) && _r(t, n, e[n]);
4085
+ Gc.call(e, n) && _r(t, n, e[n]);
4086
4086
  if (hi)
4087
4087
  for (var n of hi(e))
4088
- Gc.call(e, n) && _r(t, n, e[n]);
4088
+ Hc.call(e, n) && _r(t, n, e[n]);
4089
4089
  return t;
4090
- }, Q = (t, e) => $c(t, Fc(e)), D = (t, e, n) => _r(t, typeof e != "symbol" ? e + "" : e, n), Tn = (t, e, n) => new Promise((r, i) => {
4090
+ }, Q = (t, e) => Fc(t, Vc(e)), D = (t, e, n) => _r(t, typeof e != "symbol" ? e + "" : e, n), Tn = (t, e, n) => new Promise((r, i) => {
4091
4091
  var o = (c) => {
4092
4092
  try {
4093
4093
  u(n.next(c));
@@ -4103,7 +4103,7 @@ var Bc = Object.defineProperty, $c = Object.defineProperties, Fc = Object.getOwn
4103
4103
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
4104
4104
  u((n = n.apply(t, e)).next());
4105
4105
  }), ia = { exports: {} }, di = { exports: {} }, yi;
4106
- function Hc() {
4106
+ function qc() {
4107
4107
  return yi || (yi = 1, function(t, e) {
4108
4108
  (function(n, r) {
4109
4109
  t.exports = r();
@@ -4187,7 +4187,7 @@ function Hc() {
4187
4187
  }
4188
4188
  (function(t, e) {
4189
4189
  (function(n, r) {
4190
- t.exports = r(Hc());
4190
+ t.exports = r(qc());
4191
4191
  })(jr, function(n) {
4192
4192
  var r = /(^|@)\S+:\d+/, i = /^\s*at .*(\S+:\d+|\(native\))/m, o = /^(eval@)?(\[native code])?$/;
4193
4193
  return {
@@ -4308,8 +4308,8 @@ function Hc() {
4308
4308
  };
4309
4309
  });
4310
4310
  })(ia);
4311
- var qc = ia.exports;
4312
- const mi = /* @__PURE__ */ Br(qc);
4311
+ var zc = ia.exports;
4312
+ const mi = /* @__PURE__ */ Br(zc);
4313
4313
  function wn(t) {
4314
4314
  try {
4315
4315
  return mi.parse(t);
@@ -4324,7 +4324,7 @@ function wn(t) {
4324
4324
  }
4325
4325
  }
4326
4326
  }
4327
- function zc(t, e) {
4327
+ function Xc(t, e) {
4328
4328
  const n = e.logger;
4329
4329
  let r;
4330
4330
  r = window[n];
@@ -4357,7 +4357,7 @@ function zc(t, e) {
4357
4357
  return a[u] ? oc(a, u, (c) => (...s) => {
4358
4358
  c.apply(this, s);
4359
4359
  try {
4360
- t(Xc(u, e, ...s));
4360
+ t(Kc(u, e, ...s));
4361
4361
  } catch (l) {
4362
4362
  c("highlight logger error:", l, ...s);
4363
4363
  }
@@ -4365,7 +4365,7 @@ function zc(t, e) {
4365
4365
  };
4366
4366
  }
4367
4367
  }
4368
- function Xc(t, e, ...n) {
4368
+ function Kc(t, e, ...n) {
4369
4369
  const r = wn(new Error()), i = e.serializeConsoleAttributes ? n.map(
4370
4370
  (o) => typeof o == "object" ? mr(o, e.stringifyOptions) : o
4371
4371
  ) : n.filter((o) => typeof o != "object").map((o) => `${o}`);
@@ -4384,7 +4384,7 @@ function Mn(t, e, n, r) {
4384
4384
  var i, o, a, u;
4385
4385
  let c = wn(r ?? e), s = {};
4386
4386
  e instanceof Error && (e = e.message, e.cause && (s = { "exception.cause": e.cause }));
4387
- const l = Yc(c);
4387
+ const l = Wc(c);
4388
4388
  t({
4389
4389
  event: Le(e),
4390
4390
  type: "window.onerror",
@@ -4397,7 +4397,7 @@ function Mn(t, e, n, r) {
4397
4397
  payload: s ? Le(s) : void 0
4398
4398
  });
4399
4399
  }
4400
- const Kc = (t, { enablePromisePatch: e }) => {
4400
+ const Yc = (t, { enablePromisePatch: e }) => {
4401
4401
  if (typeof window > "u") return () => {
4402
4402
  };
4403
4403
  const n = window.onerror = (a, u, c, s, l) => {
@@ -4427,7 +4427,7 @@ const Kc = (t, { enablePromisePatch: e }) => {
4427
4427
  return o.shouldPatch() && (window.Promise = o), () => {
4428
4428
  window.Promise = i, window.onunhandledrejection = r, window.onerror = n;
4429
4429
  };
4430
- }, Yc = (t) => {
4430
+ }, Wc = (t) => {
4431
4431
  var e, n;
4432
4432
  if (t.length === 0)
4433
4433
  return t;
@@ -4456,8 +4456,8 @@ const Kc = (t, { enablePromisePatch: e }) => {
4456
4456
  "websocket error",
4457
4457
  '\\"ResizeObserver loop'
4458
4458
  ];
4459
- var Wc = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Ie = "1.9.0", _i = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4460
- function Jc(t) {
4459
+ var Jc = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Ie = "1.9.0", _i = /^(\d+)\.(\d+)\.(\d+)(-(.+))?$/;
4460
+ function Qc(t) {
4461
4461
  var e = /* @__PURE__ */ new Set([t]), n = /* @__PURE__ */ new Set(), r = t.match(_i);
4462
4462
  if (!r)
4463
4463
  return function() {
@@ -4496,7 +4496,7 @@ function Jc(t) {
4496
4496
  return s.prerelease != null || i.major !== s.major ? o(u) : i.major === 0 ? i.minor === s.minor && i.patch <= s.patch ? a(u) : o(u) : i.minor <= s.minor ? a(u) : o(u);
4497
4497
  };
4498
4498
  }
4499
- var Qc = Jc(Ie), Zc = Ie.split(".")[0], Et = Symbol.for("opentelemetry.js.api." + Zc), Tt = Wc;
4499
+ var Zc = Qc(Ie), el = Ie.split(".")[0], Et = Symbol.for("opentelemetry.js.api." + el), Tt = Jc;
4500
4500
  function Nt(t, e, n, r) {
4501
4501
  var i;
4502
4502
  r === void 0 && (r = !1);
@@ -4515,7 +4515,7 @@ function Nt(t, e, n, r) {
4515
4515
  }
4516
4516
  function De(t) {
4517
4517
  var e, n, r = (e = Tt[Et]) === null || e === void 0 ? void 0 : e.version;
4518
- if (!(!r || !Qc(r)))
4518
+ if (!(!r || !Zc(r)))
4519
4519
  return (n = Tt[Et]) === null || n === void 0 ? void 0 : n[t];
4520
4520
  }
4521
4521
  function Lt(t, e) {
@@ -4523,7 +4523,7 @@ function Lt(t, e) {
4523
4523
  var n = Tt[Et];
4524
4524
  n && delete n[t];
4525
4525
  }
4526
- var el = function(t, e) {
4526
+ var tl = function(t, e) {
4527
4527
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4528
4528
  if (!n) return t;
4529
4529
  var r = n.call(t), i, o = [], a;
@@ -4539,11 +4539,11 @@ var el = function(t, e) {
4539
4539
  }
4540
4540
  }
4541
4541
  return o;
4542
- }, tl = function(t, e, n) {
4542
+ }, nl = function(t, e, n) {
4543
4543
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
4544
4544
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
4545
4545
  return t.concat(o || Array.prototype.slice.call(e));
4546
- }, nl = (
4546
+ }, rl = (
4547
4547
  /** @class */
4548
4548
  function() {
4549
4549
  function t(e) {
@@ -4575,13 +4575,13 @@ var el = function(t, e) {
4575
4575
  function at(t, e, n) {
4576
4576
  var r = De("diag");
4577
4577
  if (r)
4578
- return n.unshift(e), r[t].apply(r, tl([], el(n), !1));
4578
+ return n.unshift(e), r[t].apply(r, nl([], tl(n), !1));
4579
4579
  }
4580
4580
  var j;
4581
4581
  (function(t) {
4582
4582
  t[t.NONE = 0] = "NONE", t[t.ERROR = 30] = "ERROR", t[t.WARN = 50] = "WARN", t[t.INFO = 60] = "INFO", t[t.DEBUG = 70] = "DEBUG", t[t.VERBOSE = 80] = "VERBOSE", t[t.ALL = 9999] = "ALL";
4583
4583
  })(j || (j = {}));
4584
- function rl(t, e) {
4584
+ function il(t, e) {
4585
4585
  t < j.NONE ? t = j.NONE : t > j.ALL && (t = j.ALL), e = e || {};
4586
4586
  function n(r, i) {
4587
4587
  var o = e[r];
@@ -4596,7 +4596,7 @@ function rl(t, e) {
4596
4596
  verbose: n("verbose", j.VERBOSE)
4597
4597
  };
4598
4598
  }
4599
- var il = function(t, e) {
4599
+ var ol = function(t, e) {
4600
4600
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4601
4601
  if (!n) return t;
4602
4602
  var r = n.call(t), i, o = [], a;
@@ -4612,11 +4612,11 @@ var il = function(t, e) {
4612
4612
  }
4613
4613
  }
4614
4614
  return o;
4615
- }, ol = function(t, e, n) {
4615
+ }, al = function(t, e, n) {
4616
4616
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
4617
4617
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
4618
4618
  return t.concat(o || Array.prototype.slice.call(e));
4619
- }, al = "diag", ce = (
4619
+ }, sl = "diag", ce = (
4620
4620
  /** @class */
4621
4621
  function() {
4622
4622
  function t() {
@@ -4626,7 +4626,7 @@ var il = function(t, e) {
4626
4626
  o[a] = arguments[a];
4627
4627
  var u = De("diag");
4628
4628
  if (u)
4629
- return u[i].apply(u, ol([], il(o), !1));
4629
+ return u[i].apply(u, al([], ol(o), !1));
4630
4630
  };
4631
4631
  }
4632
4632
  var n = this, r = function(i, o) {
@@ -4638,7 +4638,7 @@ var il = function(t, e) {
4638
4638
  typeof o == "number" && (o = {
4639
4639
  logLevel: o
4640
4640
  });
4641
- var l = De("diag"), p = rl((u = o.logLevel) !== null && u !== void 0 ? u : j.INFO, i);
4641
+ var l = De("diag"), p = il((u = o.logLevel) !== null && u !== void 0 ? u : j.INFO, i);
4642
4642
  if (l && !o.suppressOverrideMessage) {
4643
4643
  var f = (c = new Error().stack) !== null && c !== void 0 ? c : "<failed to generate stacktrace>";
4644
4644
  l.warn("Current logger will be overwritten from " + f), p.warn("Current logger will overwrite one already registered from " + f);
@@ -4646,16 +4646,16 @@ var il = function(t, e) {
4646
4646
  return Nt("diag", p, n, !0);
4647
4647
  };
4648
4648
  n.setLogger = r, n.disable = function() {
4649
- Lt(al, n);
4649
+ Lt(sl, n);
4650
4650
  }, n.createComponentLogger = function(i) {
4651
- return new nl(i);
4651
+ return new rl(i);
4652
4652
  }, n.verbose = e("verbose"), n.debug = e("debug"), n.info = e("info"), n.warn = e("warn"), n.error = e("error");
4653
4653
  }
4654
4654
  return t.instance = function() {
4655
4655
  return this._instance || (this._instance = new t()), this._instance;
4656
4656
  }, t;
4657
4657
  }()
4658
- ), sl = function(t, e) {
4658
+ ), ul = function(t, e) {
4659
4659
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4660
4660
  if (!n) return t;
4661
4661
  var r = n.call(t), i, o = [], a;
@@ -4671,7 +4671,7 @@ var il = function(t, e) {
4671
4671
  }
4672
4672
  }
4673
4673
  return o;
4674
- }, ul = function(t) {
4674
+ }, cl = function(t) {
4675
4675
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
4676
4676
  if (n) return n.call(t);
4677
4677
  if (t && typeof t.length == "number") return {
@@ -4680,7 +4680,7 @@ var il = function(t, e) {
4680
4680
  }
4681
4681
  };
4682
4682
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
4683
- }, cl = (
4683
+ }, ll = (
4684
4684
  /** @class */
4685
4685
  function() {
4686
4686
  function t(e) {
@@ -4692,7 +4692,7 @@ var il = function(t, e) {
4692
4692
  return Object.assign({}, n);
4693
4693
  }, t.prototype.getAllEntries = function() {
4694
4694
  return Array.from(this._entries.entries()).map(function(e) {
4695
- var n = sl(e, 2), r = n[0], i = n[1];
4695
+ var n = ul(e, 2), r = n[0], i = n[1];
4696
4696
  return [r, i];
4697
4697
  });
4698
4698
  }, t.prototype.setEntry = function(e, n) {
@@ -4706,7 +4706,7 @@ var il = function(t, e) {
4706
4706
  r[i] = arguments[i];
4707
4707
  var o = new t(this._entries);
4708
4708
  try {
4709
- for (var a = ul(r), u = a.next(); !u.done; u = a.next()) {
4709
+ for (var a = cl(r), u = a.next(); !u.done; u = a.next()) {
4710
4710
  var c = u.value;
4711
4711
  o._entries.delete(c);
4712
4712
  }
@@ -4724,13 +4724,13 @@ var il = function(t, e) {
4724
4724
  return new t();
4725
4725
  }, t;
4726
4726
  }()
4727
- ), ll = Symbol("BaggageEntryMetadata"), pl = ce.instance();
4728
- function fl(t) {
4729
- return t === void 0 && (t = {}), new cl(new Map(Object.entries(t)));
4730
- }
4727
+ ), pl = Symbol("BaggageEntryMetadata"), fl = ce.instance();
4731
4728
  function hl(t) {
4732
- return typeof t != "string" && (pl.error("Cannot create baggage metadata from unknown type: " + typeof t), t = ""), {
4733
- __TYPE__: ll,
4729
+ return t === void 0 && (t = {}), new ll(new Map(Object.entries(t)));
4730
+ }
4731
+ function dl(t) {
4732
+ return typeof t != "string" && (fl.error("Cannot create baggage metadata from unknown type: " + typeof t), t = ""), {
4733
+ __TYPE__: pl,
4734
4734
  toString: function() {
4735
4735
  return t;
4736
4736
  }
@@ -4739,7 +4739,7 @@ function hl(t) {
4739
4739
  function Hr(t) {
4740
4740
  return Symbol.for(t);
4741
4741
  }
4742
- var dl = (
4742
+ var yl = (
4743
4743
  /** @class */
4744
4744
  /* @__PURE__ */ function() {
4745
4745
  function t(e) {
@@ -4756,7 +4756,7 @@ var dl = (
4756
4756
  }
4757
4757
  return t;
4758
4758
  }()
4759
- ), Ce = new dl(), $e = /* @__PURE__ */ function() {
4759
+ ), Ce = new yl(), $e = /* @__PURE__ */ function() {
4760
4760
  var t = function(e, n) {
4761
4761
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4762
4762
  r.__proto__ = i;
@@ -4773,25 +4773,25 @@ var dl = (
4773
4773
  }
4774
4774
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
4775
4775
  };
4776
- }(), yl = (
4776
+ }(), ml = (
4777
4777
  /** @class */
4778
4778
  function() {
4779
4779
  function t() {
4780
4780
  }
4781
4781
  return t.prototype.createGauge = function(e, n) {
4782
- return Sl;
4783
- }, t.prototype.createHistogram = function(e, n) {
4784
4782
  return Ol;
4783
+ }, t.prototype.createHistogram = function(e, n) {
4784
+ return Al;
4785
4785
  }, t.prototype.createCounter = function(e, n) {
4786
- return wl;
4786
+ return Sl;
4787
4787
  }, t.prototype.createUpDownCounter = function(e, n) {
4788
- return Al;
4788
+ return xl;
4789
4789
  }, t.prototype.createObservableGauge = function(e, n) {
4790
- return Nl;
4790
+ return Ll;
4791
4791
  }, t.prototype.createObservableCounter = function(e, n) {
4792
- return xl;
4792
+ return Nl;
4793
4793
  }, t.prototype.createObservableUpDownCounter = function(e, n) {
4794
- return Ll;
4794
+ return Cl;
4795
4795
  }, t.prototype.addBatchObservableCallback = function(e, n) {
4796
4796
  }, t.prototype.removeBatchObservableCallback = function(e) {
4797
4797
  }, t;
@@ -4803,7 +4803,7 @@ var dl = (
4803
4803
  }
4804
4804
  return t;
4805
4805
  }()
4806
- ), ml = (
4806
+ ), vl = (
4807
4807
  /** @class */
4808
4808
  function(t) {
4809
4809
  $e(e, t);
@@ -4813,7 +4813,7 @@ var dl = (
4813
4813
  return e.prototype.add = function(n, r) {
4814
4814
  }, e;
4815
4815
  }(Sn)
4816
- ), vl = (
4816
+ ), gl = (
4817
4817
  /** @class */
4818
4818
  function(t) {
4819
4819
  $e(e, t);
@@ -4823,7 +4823,7 @@ var dl = (
4823
4823
  return e.prototype.add = function(n, r) {
4824
4824
  }, e;
4825
4825
  }(Sn)
4826
- ), gl = (
4826
+ ), _l = (
4827
4827
  /** @class */
4828
4828
  function(t) {
4829
4829
  $e(e, t);
@@ -4833,7 +4833,7 @@ var dl = (
4833
4833
  return e.prototype.record = function(n, r) {
4834
4834
  }, e;
4835
4835
  }(Sn)
4836
- ), _l = (
4836
+ ), bl = (
4837
4837
  /** @class */
4838
4838
  function(t) {
4839
4839
  $e(e, t);
@@ -4852,7 +4852,7 @@ var dl = (
4852
4852
  }, t.prototype.removeCallback = function(e) {
4853
4853
  }, t;
4854
4854
  }()
4855
- ), bl = (
4855
+ ), El = (
4856
4856
  /** @class */
4857
4857
  function(t) {
4858
4858
  $e(e, t);
@@ -4861,7 +4861,7 @@ var dl = (
4861
4861
  }
4862
4862
  return e;
4863
4863
  }(qr)
4864
- ), El = (
4864
+ ), Tl = (
4865
4865
  /** @class */
4866
4866
  function(t) {
4867
4867
  $e(e, t);
@@ -4870,7 +4870,7 @@ var dl = (
4870
4870
  }
4871
4871
  return e;
4872
4872
  }(qr)
4873
- ), Tl = (
4873
+ ), wl = (
4874
4874
  /** @class */
4875
4875
  function(t) {
4876
4876
  $e(e, t);
@@ -4879,15 +4879,15 @@ var dl = (
4879
4879
  }
4880
4880
  return e;
4881
4881
  }(qr)
4882
- ), oa = new yl(), wl = new ml(), Sl = new gl(), Ol = new _l(), Al = new vl(), xl = new bl(), Nl = new El(), Ll = new Tl();
4883
- function Cl() {
4882
+ ), oa = new ml(), Sl = new vl(), Ol = new _l(), Al = new bl(), xl = new gl(), Nl = new El(), Ll = new Tl(), Cl = new wl();
4883
+ function Rl() {
4884
4884
  return oa;
4885
4885
  }
4886
4886
  var Se;
4887
4887
  (function(t) {
4888
4888
  t[t.INT = 0] = "INT", t[t.DOUBLE = 1] = "DOUBLE";
4889
4889
  })(Se || (Se = {}));
4890
- var Rl = {
4890
+ var Pl = {
4891
4891
  get: function(t, e) {
4892
4892
  if (t != null)
4893
4893
  return t[e];
@@ -4895,11 +4895,11 @@ var Rl = {
4895
4895
  keys: function(t) {
4896
4896
  return t == null ? [] : Object.keys(t);
4897
4897
  }
4898
- }, Pl = {
4898
+ }, Il = {
4899
4899
  set: function(t, e, n) {
4900
4900
  t != null && (t[e] = n);
4901
4901
  }
4902
- }, Il = function(t, e) {
4902
+ }, kl = function(t, e) {
4903
4903
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4904
4904
  if (!n) return t;
4905
4905
  var r = n.call(t), i, o = [], a;
@@ -4915,11 +4915,11 @@ var Rl = {
4915
4915
  }
4916
4916
  }
4917
4917
  return o;
4918
- }, kl = function(t, e, n) {
4918
+ }, Ml = function(t, e, n) {
4919
4919
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
4920
4920
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
4921
4921
  return t.concat(o || Array.prototype.slice.call(e));
4922
- }, Ml = (
4922
+ }, Dl = (
4923
4923
  /** @class */
4924
4924
  function() {
4925
4925
  function t() {
@@ -4929,7 +4929,7 @@ var Rl = {
4929
4929
  }, t.prototype.with = function(e, n, r) {
4930
4930
  for (var i = [], o = 3; o < arguments.length; o++)
4931
4931
  i[o - 3] = arguments[o];
4932
- return n.call.apply(n, kl([r], Il(i), !1));
4932
+ return n.call.apply(n, Ml([r], kl(i), !1));
4933
4933
  }, t.prototype.bind = function(e, n) {
4934
4934
  return n;
4935
4935
  }, t.prototype.enable = function() {
@@ -4938,7 +4938,7 @@ var Rl = {
4938
4938
  return this;
4939
4939
  }, t;
4940
4940
  }()
4941
- ), Dl = function(t, e) {
4941
+ ), Ul = function(t, e) {
4942
4942
  var n = typeof Symbol == "function" && t[Symbol.iterator];
4943
4943
  if (!n) return t;
4944
4944
  var r = n.call(t), i, o = [], a;
@@ -4954,11 +4954,11 @@ var Rl = {
4954
4954
  }
4955
4955
  }
4956
4956
  return o;
4957
- }, Ul = function(t, e, n) {
4957
+ }, jl = function(t, e, n) {
4958
4958
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
4959
4959
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
4960
4960
  return t.concat(o || Array.prototype.slice.call(e));
4961
- }, Dn = "context", jl = new Ml(), On = (
4961
+ }, Dn = "context", Bl = new Dl(), On = (
4962
4962
  /** @class */
4963
4963
  function() {
4964
4964
  function t() {
@@ -4972,11 +4972,11 @@ var Rl = {
4972
4972
  }, t.prototype.with = function(e, n, r) {
4973
4973
  for (var i, o = [], a = 3; a < arguments.length; a++)
4974
4974
  o[a - 3] = arguments[a];
4975
- return (i = this._getContextManager()).with.apply(i, Ul([e, n, r], Dl(o), !1));
4975
+ return (i = this._getContextManager()).with.apply(i, jl([e, n, r], Ul(o), !1));
4976
4976
  }, t.prototype.bind = function(e, n) {
4977
4977
  return this._getContextManager().bind(e, n);
4978
4978
  }, t.prototype._getContextManager = function() {
4979
- return De(Dn) || jl;
4979
+ return De(Dn) || Bl;
4980
4980
  }, t.prototype.disable = function() {
4981
4981
  this._getContextManager().disable(), Lt(Dn, ce.instance());
4982
4982
  }, t;
@@ -5021,33 +5021,33 @@ var aa = "0000000000000000", sa = "00000000000000000000000000000000", ua = {
5021
5021
  function Xr(t) {
5022
5022
  return t.getValue(zr) || void 0;
5023
5023
  }
5024
- function Bl() {
5024
+ function $l() {
5025
5025
  return Xr(On.getInstance().active());
5026
5026
  }
5027
5027
  function Kr(t, e) {
5028
5028
  return t.setValue(zr, e);
5029
5029
  }
5030
- function $l(t) {
5030
+ function Fl(t) {
5031
5031
  return t.deleteValue(zr);
5032
5032
  }
5033
- function Fl(t, e) {
5033
+ function Vl(t, e) {
5034
5034
  return Kr(t, new yt(e));
5035
5035
  }
5036
5036
  function ca(t) {
5037
5037
  var e;
5038
5038
  return (e = Xr(t)) === null || e === void 0 ? void 0 : e.spanContext();
5039
5039
  }
5040
- var Vl = /^([0-9a-f]{32})$/i, Gl = /^[0-9a-f]{16}$/i;
5040
+ var Gl = /^([0-9a-f]{32})$/i, Hl = /^[0-9a-f]{16}$/i;
5041
5041
  function la(t) {
5042
- return Vl.test(t) && t !== sa;
5042
+ return Gl.test(t) && t !== sa;
5043
5043
  }
5044
- function Hl(t) {
5045
- return Gl.test(t) && t !== aa;
5044
+ function ql(t) {
5045
+ return Hl.test(t) && t !== aa;
5046
5046
  }
5047
5047
  function An(t) {
5048
- return la(t.traceId) && Hl(t.spanId);
5048
+ return la(t.traceId) && ql(t.spanId);
5049
5049
  }
5050
- function ql(t) {
5050
+ function zl(t) {
5051
5051
  return new yt(t);
5052
5052
  }
5053
5053
  var Un = On.getInstance(), pa = (
@@ -5061,7 +5061,7 @@ var Un = On.getInstance(), pa = (
5061
5061
  if (i)
5062
5062
  return new yt();
5063
5063
  var o = r && ca(r);
5064
- return zl(o) && An(o) ? new yt(o) : new yt();
5064
+ return Xl(o) && An(o) ? new yt(o) : new yt();
5065
5065
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
5066
5066
  var o, a, u;
5067
5067
  if (!(arguments.length < 2)) {
@@ -5072,10 +5072,10 @@ var Un = On.getInstance(), pa = (
5072
5072
  }, t;
5073
5073
  }()
5074
5074
  );
5075
- function zl(t) {
5075
+ function Xl(t) {
5076
5076
  return typeof t == "object" && typeof t.spanId == "string" && typeof t.traceId == "string" && typeof t.traceFlags == "number";
5077
5077
  }
5078
- var Xl = new pa(), Kl = (
5078
+ var Kl = new pa(), Yl = (
5079
5079
  /** @class */
5080
5080
  function() {
5081
5081
  function t(e, n, r, i) {
@@ -5090,10 +5090,10 @@ var Xl = new pa(), Kl = (
5090
5090
  if (this._delegate)
5091
5091
  return this._delegate;
5092
5092
  var e = this._provider.getDelegateTracer(this.name, this.version, this.options);
5093
- return e ? (this._delegate = e, this._delegate) : Xl;
5093
+ return e ? (this._delegate = e, this._delegate) : Kl;
5094
5094
  }, t;
5095
5095
  }()
5096
- ), Yl = (
5096
+ ), Wl = (
5097
5097
  /** @class */
5098
5098
  function() {
5099
5099
  function t() {
@@ -5102,17 +5102,17 @@ var Xl = new pa(), Kl = (
5102
5102
  return new pa();
5103
5103
  }, t;
5104
5104
  }()
5105
- ), Wl = new Yl(), bi = (
5105
+ ), Jl = new Wl(), bi = (
5106
5106
  /** @class */
5107
5107
  function() {
5108
5108
  function t() {
5109
5109
  }
5110
5110
  return t.prototype.getTracer = function(e, n, r) {
5111
5111
  var i;
5112
- return (i = this.getDelegateTracer(e, n, r)) !== null && i !== void 0 ? i : new Kl(this, e, n, r);
5112
+ return (i = this.getDelegateTracer(e, n, r)) !== null && i !== void 0 ? i : new Yl(this, e, n, r);
5113
5113
  }, t.prototype.getDelegate = function() {
5114
5114
  var e;
5115
- return (e = this._delegate) !== null && e !== void 0 ? e : Wl;
5115
+ return (e = this._delegate) !== null && e !== void 0 ? e : Jl;
5116
5116
  }, t.prototype.setDelegate = function(e) {
5117
5117
  this._delegate = e;
5118
5118
  }, t.prototype.getDelegateTracer = function(e, n, r) {
@@ -5132,7 +5132,7 @@ var ln;
5132
5132
  (function(t) {
5133
5133
  t[t.UNSET = 0] = "UNSET", t[t.OK = 1] = "OK", t[t.ERROR = 2] = "ERROR";
5134
5134
  })(ln || (ln = {}));
5135
- var L = On.getInstance(), E = ce.instance(), Jl = (
5135
+ var L = On.getInstance(), E = ce.instance(), Ql = (
5136
5136
  /** @class */
5137
5137
  function() {
5138
5138
  function t() {
@@ -5141,7 +5141,7 @@ var L = On.getInstance(), E = ce.instance(), Jl = (
5141
5141
  return oa;
5142
5142
  }, t;
5143
5143
  }()
5144
- ), Ql = new Jl(), jn = "metrics", Zl = (
5144
+ ), Zl = new Ql(), jn = "metrics", ep = (
5145
5145
  /** @class */
5146
5146
  function() {
5147
5147
  function t() {
@@ -5151,14 +5151,14 @@ var L = On.getInstance(), E = ce.instance(), Jl = (
5151
5151
  }, t.prototype.setGlobalMeterProvider = function(e) {
5152
5152
  return Nt(jn, e, ce.instance());
5153
5153
  }, t.prototype.getMeterProvider = function() {
5154
- return De(jn) || Ql;
5154
+ return De(jn) || Zl;
5155
5155
  }, t.prototype.getMeter = function(e, n, r) {
5156
5156
  return this.getMeterProvider().getMeter(e, n, r);
5157
5157
  }, t.prototype.disable = function() {
5158
5158
  Lt(jn, ce.instance());
5159
5159
  }, t;
5160
5160
  }()
5161
- ), de = Zl.getInstance(), ep = (
5161
+ ), de = ep.getInstance(), tp = (
5162
5162
  /** @class */
5163
5163
  function() {
5164
5164
  function t() {
@@ -5174,42 +5174,42 @@ var L = On.getInstance(), E = ce.instance(), Jl = (
5174
5174
  function fa(t) {
5175
5175
  return t.getValue(Yr) || void 0;
5176
5176
  }
5177
- function tp() {
5177
+ function np() {
5178
5178
  return fa(On.getInstance().active());
5179
5179
  }
5180
- function np(t, e) {
5180
+ function rp(t, e) {
5181
5181
  return t.setValue(Yr, e);
5182
5182
  }
5183
- function rp(t) {
5183
+ function ip(t) {
5184
5184
  return t.deleteValue(Yr);
5185
5185
  }
5186
- var Bn = "propagation", ip = new ep(), op = (
5186
+ var Bn = "propagation", op = new tp(), ap = (
5187
5187
  /** @class */
5188
5188
  function() {
5189
5189
  function t() {
5190
- this.createBaggage = fl, this.getBaggage = fa, this.getActiveBaggage = tp, this.setBaggage = np, this.deleteBaggage = rp;
5190
+ this.createBaggage = hl, this.getBaggage = fa, this.getActiveBaggage = np, this.setBaggage = rp, this.deleteBaggage = ip;
5191
5191
  }
5192
5192
  return t.getInstance = function() {
5193
5193
  return this._instance || (this._instance = new t()), this._instance;
5194
5194
  }, t.prototype.setGlobalPropagator = function(e) {
5195
5195
  return Nt(Bn, e, ce.instance());
5196
5196
  }, t.prototype.inject = function(e, n, r) {
5197
- return r === void 0 && (r = Pl), this._getGlobalPropagator().inject(e, n, r);
5197
+ return r === void 0 && (r = Il), this._getGlobalPropagator().inject(e, n, r);
5198
5198
  }, t.prototype.extract = function(e, n, r) {
5199
- return r === void 0 && (r = Rl), this._getGlobalPropagator().extract(e, n, r);
5199
+ return r === void 0 && (r = Pl), this._getGlobalPropagator().extract(e, n, r);
5200
5200
  }, t.prototype.fields = function() {
5201
5201
  return this._getGlobalPropagator().fields();
5202
5202
  }, t.prototype.disable = function() {
5203
5203
  Lt(Bn, ce.instance());
5204
5204
  }, t.prototype._getGlobalPropagator = function() {
5205
- return De(Bn) || ip;
5205
+ return De(Bn) || op;
5206
5206
  }, t;
5207
5207
  }()
5208
- ), ee = op.getInstance(), $n = "trace", ap = (
5208
+ ), ee = ap.getInstance(), $n = "trace", sp = (
5209
5209
  /** @class */
5210
5210
  function() {
5211
5211
  function t() {
5212
- this._proxyTracerProvider = new bi(), this.wrapSpanContext = ql, this.isSpanContextValid = An, this.deleteSpan = $l, this.getSpan = Xr, this.getActiveSpan = Bl, this.getSpanContext = ca, this.setSpan = Kr, this.setSpanContext = Fl;
5212
+ this._proxyTracerProvider = new bi(), this.wrapSpanContext = zl, this.isSpanContextValid = An, this.deleteSpan = Fl, this.getSpan = Xr, this.getActiveSpan = $l, this.getSpanContext = ca, this.setSpan = Kr, this.setSpanContext = Vl;
5213
5213
  }
5214
5214
  return t.getInstance = function() {
5215
5215
  return this._instance || (this._instance = new t()), this._instance;
@@ -5224,14 +5224,14 @@ var Bn = "propagation", ip = new ep(), op = (
5224
5224
  Lt($n, ce.instance()), this._proxyTracerProvider = new bi();
5225
5225
  }, t;
5226
5226
  }()
5227
- ), C = ap.getInstance(), ha = Hr("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5227
+ ), C = sp.getInstance(), ha = Hr("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
5228
5228
  function da(t) {
5229
5229
  return t.setValue(ha, !0);
5230
5230
  }
5231
5231
  function Wr(t) {
5232
5232
  return t.getValue(ha) === !0;
5233
5233
  }
5234
- var sp = "=", br = ";", Er = ",", Fn = "baggage", up = 180, cp = 4096, lp = 8192, pp = function(t, e) {
5234
+ var up = "=", br = ";", Er = ",", Fn = "baggage", cp = 180, lp = 4096, pp = 8192, fp = function(t, e) {
5235
5235
  var n = typeof Symbol == "function" && t[Symbol.iterator];
5236
5236
  if (!n) return t;
5237
5237
  var r = n.call(t), i, o = [], a;
@@ -5248,27 +5248,27 @@ var sp = "=", br = ";", Er = ",", Fn = "baggage", up = 180, cp = 4096, lp = 8192
5248
5248
  }
5249
5249
  return o;
5250
5250
  };
5251
- function fp(t) {
5251
+ function hp(t) {
5252
5252
  return t.reduce(function(e, n) {
5253
5253
  var r = "" + e + (e !== "" ? Er : "") + n;
5254
- return r.length > lp ? e : r;
5254
+ return r.length > pp ? e : r;
5255
5255
  }, "");
5256
5256
  }
5257
- function hp(t) {
5257
+ function dp(t) {
5258
5258
  return t.getAllEntries().map(function(e) {
5259
- var n = pp(e, 2), r = n[0], i = n[1], o = encodeURIComponent(r) + "=" + encodeURIComponent(i.value);
5259
+ var n = fp(e, 2), r = n[0], i = n[1], o = encodeURIComponent(r) + "=" + encodeURIComponent(i.value);
5260
5260
  return i.metadata !== void 0 && (o += br + i.metadata.toString()), o;
5261
5261
  });
5262
5262
  }
5263
- function dp(t) {
5263
+ function yp(t) {
5264
5264
  var e = t.split(br);
5265
5265
  if (!(e.length <= 0)) {
5266
5266
  var n = e.shift();
5267
5267
  if (n) {
5268
- var r = n.indexOf(sp);
5268
+ var r = n.indexOf(up);
5269
5269
  if (!(r <= 0)) {
5270
5270
  var i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim()), a;
5271
- return e.length > 0 && (a = hl(e.join(br))), { key: i, value: o, metadata: a };
5271
+ return e.length > 0 && (a = dl(e.join(br))), { key: i, value: o, metadata: a };
5272
5272
  }
5273
5273
  }
5274
5274
  }
@@ -5281,9 +5281,9 @@ var ya = (
5281
5281
  return t.prototype.inject = function(e, n, r) {
5282
5282
  var i = ee.getBaggage(e);
5283
5283
  if (!(!i || Wr(e))) {
5284
- var o = hp(i).filter(function(u) {
5285
- return u.length <= cp;
5286
- }).slice(0, up), a = fp(o);
5284
+ var o = dp(i).filter(function(u) {
5285
+ return u.length <= lp;
5286
+ }).slice(0, cp), a = hp(o);
5287
5287
  a.length > 0 && r.set(n, Fn, a);
5288
5288
  }
5289
5289
  }, t.prototype.extract = function(e, n, r) {
@@ -5295,7 +5295,7 @@ var ya = (
5295
5295
  return e;
5296
5296
  var u = o.split(Er);
5297
5297
  return u.forEach(function(c) {
5298
- var s = dp(c);
5298
+ var s = yp(c);
5299
5299
  if (s) {
5300
5300
  var l = { value: s.value };
5301
5301
  s.metadata && (l.metadata = s.metadata), a[s.key] = l;
@@ -5314,7 +5314,7 @@ var ya = (
5314
5314
  }
5315
5315
  };
5316
5316
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
5317
- }, yp = function(t, e) {
5317
+ }, mp = function(t, e) {
5318
5318
  var n = typeof Symbol == "function" && t[Symbol.iterator];
5319
5319
  if (!n) return t;
5320
5320
  var r = n.call(t), i, o = [], a;
@@ -5337,8 +5337,8 @@ function Jt(t) {
5337
5337
  return r;
5338
5338
  try {
5339
5339
  for (var i = ma(Object.entries(t)), o = i.next(); !o.done; o = i.next()) {
5340
- var a = yp(o.value, 2), u = a[0], c = a[1];
5341
- if (!mp(u)) {
5340
+ var a = mp(o.value, 2), u = a[0], c = a[1];
5341
+ if (!vp(u)) {
5342
5342
  E.warn("Invalid attribute key: " + u);
5343
5343
  continue;
5344
5344
  }
@@ -5359,13 +5359,13 @@ function Jt(t) {
5359
5359
  }
5360
5360
  return r;
5361
5361
  }
5362
- function mp(t) {
5362
+ function vp(t) {
5363
5363
  return typeof t == "string" && t.length > 0;
5364
5364
  }
5365
5365
  function va(t) {
5366
- return t == null ? !0 : Array.isArray(t) ? vp(t) : ga(t);
5366
+ return t == null ? !0 : Array.isArray(t) ? gp(t) : ga(t);
5367
5367
  }
5368
- function vp(t) {
5368
+ function gp(t) {
5369
5369
  var e, n, r;
5370
5370
  try {
5371
5371
  for (var i = ma(t), o = i.next(); !o.done; o = i.next()) {
@@ -5402,15 +5402,15 @@ function ga(t) {
5402
5402
  }
5403
5403
  return !1;
5404
5404
  }
5405
- function gp() {
5405
+ function _p() {
5406
5406
  return function(t) {
5407
- E.error(_p(t));
5407
+ E.error(bp(t));
5408
5408
  };
5409
5409
  }
5410
- function _p(t) {
5411
- return typeof t == "string" ? t : JSON.stringify(bp(t));
5412
- }
5413
5410
  function bp(t) {
5411
+ return typeof t == "string" ? t : JSON.stringify(Ep(t));
5412
+ }
5413
+ function Ep(t) {
5414
5414
  for (var e = {}, n = t; n !== null; )
5415
5415
  Object.getOwnPropertyNames(n).forEach(function(r) {
5416
5416
  if (!e[r]) {
@@ -5420,10 +5420,10 @@ function bp(t) {
5420
5420
  }), n = Object.getPrototypeOf(n);
5421
5421
  return e;
5422
5422
  }
5423
- var Ep = gp();
5423
+ var Tp = _p();
5424
5424
  function Oe(t) {
5425
5425
  try {
5426
- Ep(t);
5426
+ Tp(t);
5427
5427
  } catch {
5428
5428
  }
5429
5429
  }
@@ -5431,11 +5431,11 @@ var se;
5431
5431
  (function(t) {
5432
5432
  t.AlwaysOff = "always_off", t.AlwaysOn = "always_on", t.ParentBasedAlwaysOff = "parentbased_always_off", t.ParentBasedAlwaysOn = "parentbased_always_on", t.ParentBasedTraceIdRatio = "parentbased_traceidratio", t.TraceIdRatio = "traceidratio";
5433
5433
  })(se || (se = {}));
5434
- var Tp = ",", wp = ["OTEL_SDK_DISABLED"];
5435
- function Sp(t) {
5436
- return wp.indexOf(t) > -1;
5434
+ var wp = ",", Sp = ["OTEL_SDK_DISABLED"];
5435
+ function Op(t) {
5436
+ return Sp.indexOf(t) > -1;
5437
5437
  }
5438
- var Op = [
5438
+ var Ap = [
5439
5439
  "OTEL_BSP_EXPORT_TIMEOUT",
5440
5440
  "OTEL_BSP_MAX_EXPORT_BATCH_SIZE",
5441
5441
  "OTEL_BSP_MAX_QUEUE_SIZE",
@@ -5460,18 +5460,18 @@ var Op = [
5460
5460
  "OTEL_EXPORTER_OTLP_LOGS_TIMEOUT",
5461
5461
  "OTEL_EXPORTER_JAEGER_AGENT_PORT"
5462
5462
  ];
5463
- function Ap(t) {
5464
- return Op.indexOf(t) > -1;
5463
+ function xp(t) {
5464
+ return Ap.indexOf(t) > -1;
5465
5465
  }
5466
- var xp = [
5466
+ var Np = [
5467
5467
  "OTEL_NO_PATCH_MODULES",
5468
5468
  "OTEL_PROPAGATORS",
5469
5469
  "OTEL_SEMCONV_STABILITY_OPT_IN"
5470
5470
  ];
5471
- function Np(t) {
5472
- return xp.indexOf(t) > -1;
5471
+ function Lp(t) {
5472
+ return Np.indexOf(t) > -1;
5473
5473
  }
5474
- var Qt = 1 / 0, Zt = 128, Lp = 128, Cp = 128, _a = {
5474
+ var Qt = 1 / 0, Zt = 128, Cp = 128, Rp = 128, _a = {
5475
5475
  OTEL_SDK_DISABLED: !1,
5476
5476
  CONTAINER_NAME: "",
5477
5477
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -5518,8 +5518,8 @@ var Qt = 1 / 0, Zt = 128, Lp = 128, Cp = 128, _a = {
5518
5518
  OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: Zt,
5519
5519
  OTEL_SPAN_EVENT_COUNT_LIMIT: 128,
5520
5520
  OTEL_SPAN_LINK_COUNT_LIMIT: 128,
5521
- OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Lp,
5522
- OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: Cp,
5521
+ OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Cp,
5522
+ OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: Rp,
5523
5523
  OTEL_TRACES_EXPORTER: "",
5524
5524
  OTEL_TRACES_SAMPLER: se.ParentBasedAlwaysOn,
5525
5525
  OTEL_TRACES_SAMPLER_ARG: "",
@@ -5551,26 +5551,26 @@ var Qt = 1 / 0, Zt = 128, Lp = 128, Cp = 128, _a = {
5551
5551
  OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: "cumulative",
5552
5552
  OTEL_SEMCONV_STABILITY_OPT_IN: []
5553
5553
  };
5554
- function Rp(t, e, n) {
5554
+ function Pp(t, e, n) {
5555
5555
  if (typeof n[t] < "u") {
5556
5556
  var r = String(n[t]);
5557
5557
  e[t] = r.toLowerCase() === "true";
5558
5558
  }
5559
5559
  }
5560
- function Pp(t, e, n, r, i) {
5560
+ function Ip(t, e, n, r, i) {
5561
5561
  if (r === void 0 && (r = -1 / 0), i === void 0 && (i = 1 / 0), typeof n[t] < "u") {
5562
5562
  var o = Number(n[t]);
5563
5563
  isNaN(o) || (o < r ? e[t] = r : o > i ? e[t] = i : e[t] = o);
5564
5564
  }
5565
5565
  }
5566
- function Ip(t, e, n, r) {
5567
- r === void 0 && (r = Tp);
5566
+ function kp(t, e, n, r) {
5567
+ r === void 0 && (r = wp);
5568
5568
  var i = n[t];
5569
5569
  typeof i == "string" && (e[t] = i.split(r).map(function(o) {
5570
5570
  return o.trim();
5571
5571
  }));
5572
5572
  }
5573
- var kp = {
5573
+ var Mp = {
5574
5574
  ALL: j.ALL,
5575
5575
  VERBOSE: j.VERBOSE,
5576
5576
  DEBUG: j.DEBUG,
@@ -5579,10 +5579,10 @@ var kp = {
5579
5579
  ERROR: j.ERROR,
5580
5580
  NONE: j.NONE
5581
5581
  };
5582
- function Mp(t, e, n) {
5582
+ function Dp(t, e, n) {
5583
5583
  var r = n[t];
5584
5584
  if (typeof r == "string") {
5585
- var i = kp[r.toUpperCase()];
5585
+ var i = Mp[r.toUpperCase()];
5586
5586
  i != null && (e[t] = i);
5587
5587
  }
5588
5588
  }
@@ -5592,15 +5592,15 @@ function ba(t) {
5592
5592
  var r = n;
5593
5593
  switch (r) {
5594
5594
  case "OTEL_LOG_LEVEL":
5595
- Mp(r, e, t);
5595
+ Dp(r, e, t);
5596
5596
  break;
5597
5597
  default:
5598
- if (Sp(r))
5599
- Rp(r, e, t);
5600
- else if (Ap(r))
5598
+ if (Op(r))
5601
5599
  Pp(r, e, t);
5602
- else if (Np(r))
5600
+ else if (xp(r))
5603
5601
  Ip(r, e, t);
5602
+ else if (Lp(r))
5603
+ kp(r, e, t);
5604
5604
  else {
5605
5605
  var i = t[r];
5606
5606
  typeof i < "u" && i !== null && (e[r] = String(i));
@@ -5614,7 +5614,7 @@ function Ze() {
5614
5614
  var t = ba(mt);
5615
5615
  return Object.assign({}, _a, t);
5616
5616
  }
5617
- function Dp() {
5617
+ function Up() {
5618
5618
  return ba(mt);
5619
5619
  }
5620
5620
  function Ei(t) {
@@ -5627,9 +5627,9 @@ function Jr(t) {
5627
5627
  }
5628
5628
  return e;
5629
5629
  }
5630
- var re = performance, Up = "1.30.1", jp = "process.runtime.name", Bp = "telemetry.sdk.name", $p = "telemetry.sdk.language", Fp = "telemetry.sdk.version", Vp = jp, Gp = Bp, Hp = $p, qp = Fp, zp = "webjs", Xp = zp, ze, Vn = (ze = {}, ze[Gp] = "opentelemetry", ze[Vp] = "browser", ze[Hp] = Xp, ze[qp] = Up, ze), Kp = 9, Yp = 6, Wp = Math.pow(10, Yp), pn = Math.pow(10, Kp);
5630
+ var re = performance, jp = "1.30.1", Bp = "process.runtime.name", $p = "telemetry.sdk.name", Fp = "telemetry.sdk.language", Vp = "telemetry.sdk.version", Gp = Bp, Hp = $p, qp = Fp, zp = Vp, Xp = "webjs", Kp = Xp, ze, Vn = (ze = {}, ze[Hp] = "opentelemetry", ze[Gp] = "browser", ze[qp] = Kp, ze[zp] = jp, ze), Yp = 9, Wp = 6, Jp = Math.pow(10, Wp), pn = Math.pow(10, Yp);
5631
5631
  function te(t) {
5632
- var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * Wp);
5632
+ var e = t / 1e3, n = Math.trunc(e), r = Math.round(t % 1e3 * Jp);
5633
5633
  return [n, r];
5634
5634
  }
5635
5635
  function Qr() {
@@ -5653,7 +5653,7 @@ function vt(t) {
5653
5653
  return te(t.getTime());
5654
5654
  throw TypeError("Invalid input type");
5655
5655
  }
5656
- function Jp(t, e) {
5656
+ function Qp(t, e) {
5657
5657
  var n = e[0] - t[0], r = e[1] - t[1];
5658
5658
  return r < 0 && (n -= 1, r += pn), [n, r];
5659
5659
  }
@@ -5677,7 +5677,7 @@ var z;
5677
5677
  (function(t) {
5678
5678
  t[t.SUCCESS = 0] = "SUCCESS", t[t.FAILED = 1] = "FAILED";
5679
5679
  })(z || (z = {}));
5680
- var Qp = function(t) {
5680
+ var Zp = function(t) {
5681
5681
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
5682
5682
  if (n) return n.call(t);
5683
5683
  if (t && typeof t.length == "number") return {
@@ -5701,7 +5701,7 @@ var Qp = function(t) {
5701
5701
  return t.prototype.inject = function(e, n, r) {
5702
5702
  var i, o;
5703
5703
  try {
5704
- for (var a = Qp(this._propagators), u = a.next(); !u.done; u = a.next()) {
5704
+ for (var a = Zp(this._propagators), u = a.next(); !u.done; u = a.next()) {
5705
5705
  var c = u.value;
5706
5706
  try {
5707
5707
  c.inject(e, n, r);
@@ -5731,14 +5731,14 @@ var Qp = function(t) {
5731
5731
  return this._fields.slice();
5732
5732
  }, t;
5733
5733
  }()
5734
- ), Tr = "[_0-9a-z-*/]", Zp = "[a-z]" + Tr + "{0,255}", ef = "[a-z0-9]" + Tr + "{0,240}@[a-z]" + Tr + "{0,13}", tf = new RegExp("^(?:" + Zp + "|" + ef + ")$"), nf = /^[ -~]{0,255}[!-~]$/, rf = /,|=/;
5735
- function of(t) {
5736
- return tf.test(t);
5737
- }
5734
+ ), Tr = "[_0-9a-z-*/]", ef = "[a-z]" + Tr + "{0,255}", tf = "[a-z0-9]" + Tr + "{0,240}@[a-z]" + Tr + "{0,13}", nf = new RegExp("^(?:" + ef + "|" + tf + ")$"), rf = /^[ -~]{0,255}[!-~]$/, of = /,|=/;
5738
5735
  function af(t) {
5739
- return nf.test(t) && !rf.test(t);
5736
+ return nf.test(t);
5740
5737
  }
5741
- var wi = 32, sf = 512, Si = ",", Oi = "=", uf = (
5738
+ function sf(t) {
5739
+ return rf.test(t) && !of.test(t);
5740
+ }
5741
+ var wi = 32, uf = 512, Si = ",", Oi = "=", cf = (
5742
5742
  /** @class */
5743
5743
  function() {
5744
5744
  function t(e) {
@@ -5758,11 +5758,11 @@ var wi = 32, sf = 512, Si = ",", Oi = "=", uf = (
5758
5758
  return n.push(r + Oi + e.get(r)), n;
5759
5759
  }, []).join(Si);
5760
5760
  }, t.prototype._parse = function(e) {
5761
- e.length > sf || (this._internalState = e.split(Si).reverse().reduce(function(n, r) {
5761
+ e.length > uf || (this._internalState = e.split(Si).reverse().reduce(function(n, r) {
5762
5762
  var i = r.trim(), o = i.indexOf(Oi);
5763
5763
  if (o !== -1) {
5764
5764
  var a = i.slice(0, o), u = i.slice(o + 1, r.length);
5765
- of(a) && af(u) && n.set(a, u);
5765
+ af(a) && sf(u) && n.set(a, u);
5766
5766
  }
5767
5767
  return n;
5768
5768
  }, /* @__PURE__ */ new Map()), this._internalState.size > wi && (this._internalState = new Map(Array.from(this._internalState.entries()).reverse().slice(0, wi))));
@@ -5773,9 +5773,9 @@ var wi = 32, sf = 512, Si = ",", Oi = "=", uf = (
5773
5773
  return e._internalState = new Map(this._internalState), e;
5774
5774
  }, t;
5775
5775
  }()
5776
- ), en = "traceparent", Gn = "tracestate", cf = "00", lf = "(?!ff)[\\da-f]{2}", pf = "(?![0]{32})[\\da-f]{32}", ff = "(?![0]{16})[\\da-f]{16}", hf = "[\\da-f]{2}", df = new RegExp("^\\s?(" + lf + ")-(" + pf + ")-(" + ff + ")-(" + hf + ")(-.*)?\\s?$");
5777
- function yf(t) {
5778
- var e = df.exec(t);
5776
+ ), en = "traceparent", Gn = "tracestate", lf = "00", pf = "(?!ff)[\\da-f]{2}", ff = "(?![0]{32})[\\da-f]{32}", hf = "(?![0]{16})[\\da-f]{16}", df = "[\\da-f]{2}", yf = new RegExp("^\\s?(" + pf + ")-(" + ff + ")-(" + hf + ")-(" + df + ")(-.*)?\\s?$");
5777
+ function mf(t) {
5778
+ var e = yf.exec(t);
5779
5779
  return !e || e[1] === "00" && e[5] ? null : {
5780
5780
  traceId: e[2],
5781
5781
  spanId: e[3],
@@ -5790,7 +5790,7 @@ var wa = (
5790
5790
  return t.prototype.inject = function(e, n, r) {
5791
5791
  var i = C.getSpanContext(e);
5792
5792
  if (!(!i || Wr(e) || !An(i))) {
5793
- var o = cf + "-" + i.traceId + "-" + i.spanId + "-0" + Number(i.traceFlags || ve.NONE).toString(16);
5793
+ var o = lf + "-" + i.traceId + "-" + i.spanId + "-0" + Number(i.traceFlags || ve.NONE).toString(16);
5794
5794
  r.set(n, en, o), i.traceState && r.set(n, Gn, i.traceState.serialize());
5795
5795
  }
5796
5796
  }, t.prototype.extract = function(e, n, r) {
@@ -5800,42 +5800,42 @@ var wa = (
5800
5800
  var o = Array.isArray(i) ? i[0] : i;
5801
5801
  if (typeof o != "string")
5802
5802
  return e;
5803
- var a = yf(o);
5803
+ var a = mf(o);
5804
5804
  if (!a)
5805
5805
  return e;
5806
5806
  a.isRemote = !0;
5807
5807
  var u = r.get(n, Gn);
5808
5808
  if (u) {
5809
5809
  var c = Array.isArray(u) ? u.join(",") : u;
5810
- a.traceState = new uf(typeof c == "string" ? c : void 0);
5810
+ a.traceState = new cf(typeof c == "string" ? c : void 0);
5811
5811
  }
5812
5812
  return C.setSpanContext(e, a);
5813
5813
  }, t.prototype.fields = function() {
5814
5814
  return [en, Gn];
5815
5815
  }, t;
5816
5816
  }()
5817
- ), mf = "[object Object]", vf = "[object Null]", gf = "[object Undefined]", _f = Function.prototype, Sa = _f.toString, bf = Sa.call(Object), Ef = Tf(Object.getPrototypeOf, Object), Oa = Object.prototype, Aa = Oa.hasOwnProperty, Re = Symbol ? Symbol.toStringTag : void 0, xa = Oa.toString;
5818
- function Tf(t, e) {
5817
+ ), vf = "[object Object]", gf = "[object Null]", _f = "[object Undefined]", bf = Function.prototype, Sa = bf.toString, Ef = Sa.call(Object), Tf = wf(Object.getPrototypeOf, Object), Oa = Object.prototype, Aa = Oa.hasOwnProperty, Re = Symbol ? Symbol.toStringTag : void 0, xa = Oa.toString;
5818
+ function wf(t, e) {
5819
5819
  return function(n) {
5820
5820
  return t(e(n));
5821
5821
  };
5822
5822
  }
5823
5823
  function Ai(t) {
5824
- if (!wf(t) || Sf(t) !== mf)
5824
+ if (!Sf(t) || Of(t) !== vf)
5825
5825
  return !1;
5826
- var e = Ef(t);
5826
+ var e = Tf(t);
5827
5827
  if (e === null)
5828
5828
  return !0;
5829
5829
  var n = Aa.call(e, "constructor") && e.constructor;
5830
- return typeof n == "function" && n instanceof n && Sa.call(n) === bf;
5831
- }
5832
- function wf(t) {
5833
- return t != null && typeof t == "object";
5830
+ return typeof n == "function" && n instanceof n && Sa.call(n) === Ef;
5834
5831
  }
5835
5832
  function Sf(t) {
5836
- return t == null ? t === void 0 ? gf : vf : Re && Re in Object(t) ? Of(t) : Af(t);
5833
+ return t != null && typeof t == "object";
5837
5834
  }
5838
5835
  function Of(t) {
5836
+ return t == null ? t === void 0 ? _f : gf : Re && Re in Object(t) ? Af(t) : xf(t);
5837
+ }
5838
+ function Af(t) {
5839
5839
  var e = Aa.call(t, Re), n = t[Re], r = !1;
5840
5840
  try {
5841
5841
  t[Re] = void 0, r = !0;
@@ -5844,10 +5844,10 @@ function Of(t) {
5844
5844
  var i = xa.call(t);
5845
5845
  return r && (e ? t[Re] = n : delete t[Re]), i;
5846
5846
  }
5847
- function Af(t) {
5847
+ function xf(t) {
5848
5848
  return xa.call(t);
5849
5849
  }
5850
- var xf = 20;
5850
+ var Nf = 20;
5851
5851
  function Na() {
5852
5852
  for (var t = [], e = 0; e < arguments.length; e++)
5853
5853
  t[e] = arguments[e];
@@ -5861,7 +5861,7 @@ function Hn(t) {
5861
5861
  function La(t, e, n, r) {
5862
5862
  n === void 0 && (n = 0);
5863
5863
  var i;
5864
- if (!(n > xf)) {
5864
+ if (!(n > Nf)) {
5865
5865
  if (n++, tn(t) || tn(e) || Ca(e))
5866
5866
  i = Hn(e);
5867
5867
  else if (fn(t)) {
@@ -5875,7 +5875,7 @@ function La(t, e, n, r) {
5875
5875
  }
5876
5876
  } else if (st(t))
5877
5877
  if (st(e)) {
5878
- if (!Nf(t, e))
5878
+ if (!Lf(t, e))
5879
5879
  return e;
5880
5880
  i = Object.assign({}, t);
5881
5881
  for (var u = Object.keys(e), o = 0, a = u.length; o < a; o++) {
@@ -5920,10 +5920,10 @@ function st(t) {
5920
5920
  function tn(t) {
5921
5921
  return typeof t == "string" || typeof t == "number" || typeof t == "boolean" || typeof t > "u" || t instanceof Date || t instanceof RegExp || t === null;
5922
5922
  }
5923
- function Nf(t, e) {
5923
+ function Lf(t, e) {
5924
5924
  return !(!Ai(t) || !Ai(e));
5925
5925
  }
5926
- var Lf = function(t) {
5926
+ var Cf = function(t) {
5927
5927
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
5928
5928
  if (n) return n.call(t);
5929
5929
  if (t && typeof t.length == "number") return {
@@ -5941,7 +5941,7 @@ function Pa(t, e) {
5941
5941
  if (!e)
5942
5942
  return !1;
5943
5943
  try {
5944
- for (var i = Lf(e), o = i.next(); !o.done; o = i.next()) {
5944
+ for (var i = Cf(e), o = i.next(); !o.done; o = i.next()) {
5945
5945
  var a = o.value;
5946
5946
  if (Ra(t, a))
5947
5947
  return !0;
@@ -5957,7 +5957,7 @@ function Pa(t, e) {
5957
5957
  }
5958
5958
  return !1;
5959
5959
  }
5960
- var Cf = (
5960
+ var Rf = (
5961
5961
  /** @class */
5962
5962
  function() {
5963
5963
  function t() {
@@ -5978,7 +5978,7 @@ var Cf = (
5978
5978
  this._reject(e);
5979
5979
  }, t;
5980
5980
  }()
5981
- ), Rf = function(t, e) {
5981
+ ), Pf = function(t, e) {
5982
5982
  var n = typeof Symbol == "function" && t[Symbol.iterator];
5983
5983
  if (!n) return t;
5984
5984
  var r = n.call(t), i, o = [], a;
@@ -5994,15 +5994,15 @@ var Cf = (
5994
5994
  }
5995
5995
  }
5996
5996
  return o;
5997
- }, Pf = function(t, e, n) {
5997
+ }, If = function(t, e, n) {
5998
5998
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
5999
5999
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
6000
6000
  return t.concat(o || Array.prototype.slice.call(e));
6001
- }, If = (
6001
+ }, kf = (
6002
6002
  /** @class */
6003
6003
  function() {
6004
6004
  function t(e, n) {
6005
- this._callback = e, this._that = n, this._isCalled = !1, this._deferred = new Cf();
6005
+ this._callback = e, this._that = n, this._isCalled = !1, this._deferred = new Rf();
6006
6006
  }
6007
6007
  return Object.defineProperty(t.prototype, "isCalled", {
6008
6008
  get: function() {
@@ -6022,7 +6022,7 @@ var Cf = (
6022
6022
  if (!this._isCalled) {
6023
6023
  this._isCalled = !0;
6024
6024
  try {
6025
- Promise.resolve((e = this._callback).call.apply(e, Pf([this._that], Rf(r), !1))).then(function(o) {
6025
+ Promise.resolve((e = this._callback).call.apply(e, If([this._that], Pf(r), !1))).then(function(o) {
6026
6026
  return n._deferred.resolve(o);
6027
6027
  }, function(o) {
6028
6028
  return n._deferred.reject(o);
@@ -6035,7 +6035,7 @@ var Cf = (
6035
6035
  }, t;
6036
6036
  }()
6037
6037
  );
6038
- function kf(t, e) {
6038
+ function Mf(t, e) {
6039
6039
  return new Promise(function(n) {
6040
6040
  L.with(da(L.active()), function() {
6041
6041
  t.export(e, function(r) {
@@ -6044,8 +6044,8 @@ function kf(t, e) {
6044
6044
  });
6045
6045
  });
6046
6046
  }
6047
- var Mf = {
6048
- _export: kf
6047
+ var Df = {
6048
+ _export: Mf
6049
6049
  }, Ia = (
6050
6050
  /** @class */
6051
6051
  function() {
@@ -6054,7 +6054,7 @@ var Mf = {
6054
6054
  return t.prototype.emit = function(e) {
6055
6055
  }, t;
6056
6056
  }()
6057
- ), Df = new Ia(), Uf = (
6057
+ ), Uf = new Ia(), jf = (
6058
6058
  /** @class */
6059
6059
  function() {
6060
6060
  function t() {
@@ -6063,7 +6063,7 @@ var Mf = {
6063
6063
  return new Ia();
6064
6064
  }, t;
6065
6065
  }()
6066
- ), ka = new Uf(), jf = (
6066
+ ), ka = new jf(), Bf = (
6067
6067
  /** @class */
6068
6068
  function() {
6069
6069
  function t(e, n, r, i) {
@@ -6075,7 +6075,7 @@ var Mf = {
6075
6075
  if (this._delegate)
6076
6076
  return this._delegate;
6077
6077
  var e = this._provider.getDelegateLogger(this.name, this.version, this.options);
6078
- return e ? (this._delegate = e, this._delegate) : Df;
6078
+ return e ? (this._delegate = e, this._delegate) : Uf;
6079
6079
  }, t;
6080
6080
  }()
6081
6081
  ), Ni = (
@@ -6085,7 +6085,7 @@ var Mf = {
6085
6085
  }
6086
6086
  return t.prototype.getLogger = function(e, n, r) {
6087
6087
  var i;
6088
- return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new jf(this, e, n, r);
6088
+ return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new Bf(this, e, n, r);
6089
6089
  }, t.prototype.getDelegate = function() {
6090
6090
  var e;
6091
6091
  return (e = this._delegate) !== null && e !== void 0 ? e : ka;
@@ -6096,13 +6096,13 @@ var Mf = {
6096
6096
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
6097
6097
  }, t;
6098
6098
  }()
6099
- ), Bf = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Mt = Symbol.for("io.opentelemetry.js.api.logs"), ut = Bf;
6100
- function $f(t, e, n) {
6099
+ ), $f = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Mt = Symbol.for("io.opentelemetry.js.api.logs"), ut = $f;
6100
+ function Ff(t, e, n) {
6101
6101
  return function(r) {
6102
6102
  return r === t ? e : n;
6103
6103
  };
6104
6104
  }
6105
- var Li = 1, Ff = (
6105
+ var Li = 1, Vf = (
6106
6106
  /** @class */
6107
6107
  function() {
6108
6108
  function t() {
@@ -6111,7 +6111,7 @@ var Li = 1, Ff = (
6111
6111
  return t.getInstance = function() {
6112
6112
  return this._instance || (this._instance = new t()), this._instance;
6113
6113
  }, t.prototype.setGlobalLoggerProvider = function(e) {
6114
- return ut[Mt] ? this.getLoggerProvider() : (ut[Mt] = $f(Li, e, ka), this._proxyLoggerProvider.setDelegate(e), e);
6114
+ return ut[Mt] ? this.getLoggerProvider() : (ut[Mt] = Ff(Li, e, ka), this._proxyLoggerProvider.setDelegate(e), e);
6115
6115
  }, t.prototype.getLoggerProvider = function() {
6116
6116
  var e, n;
6117
6117
  return (n = (e = ut[Mt]) === null || e === void 0 ? void 0 : e.call(ut, Li)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
@@ -6121,22 +6121,22 @@ var Li = 1, Ff = (
6121
6121
  delete ut[Mt], this._proxyLoggerProvider = new Ni();
6122
6122
  }, t;
6123
6123
  }()
6124
- ), Ma = Ff.getInstance();
6125
- function Vf(t, e, n, r) {
6124
+ ), Ma = Vf.getInstance();
6125
+ function Gf(t, e, n, r) {
6126
6126
  for (var i = 0, o = t.length; i < o; i++) {
6127
6127
  var a = t[i];
6128
6128
  e && a.setTracerProvider(e), n && a.setMeterProvider(n), r && a.setLoggerProvider && a.setLoggerProvider(r), a.getConfig().enabled || a.enable();
6129
6129
  }
6130
6130
  }
6131
- function Gf(t) {
6131
+ function Hf(t) {
6132
6132
  t.forEach(function(e) {
6133
6133
  return e.disable();
6134
6134
  });
6135
6135
  }
6136
- function Hf(t) {
6136
+ function qf(t) {
6137
6137
  var e, n, r = t.tracerProvider || C.getTracerProvider(), i = t.meterProvider || de.getMeterProvider(), o = t.loggerProvider || Ma.getLoggerProvider(), a = (n = (e = t.instrumentations) === null || e === void 0 ? void 0 : e.flat()) !== null && n !== void 0 ? n : [];
6138
- return Vf(a, r, i, o), function() {
6139
- Gf(a);
6138
+ return Gf(a, r, i, o), function() {
6139
+ Hf(a);
6140
6140
  };
6141
6141
  }
6142
6142
  function wr(t) {
@@ -6173,7 +6173,7 @@ function Da(t, e, n) {
6173
6173
  t[e] === i && ct(t, e, r);
6174
6174
  }), ct(i, "__wrapped", !0), ct(t, e, i), i;
6175
6175
  }
6176
- function qf(t, e, n) {
6176
+ function zf(t, e, n) {
6177
6177
  if (t)
6178
6178
  Array.isArray(t) || (t = [t]);
6179
6179
  else {
@@ -6200,7 +6200,7 @@ function Ua(t, e) {
6200
6200
  else
6201
6201
  return t[e].__unwrap();
6202
6202
  }
6203
- function zf(t, e) {
6203
+ function Xf(t, e) {
6204
6204
  if (t)
6205
6205
  Array.isArray(t) || (t = [t]);
6206
6206
  else {
@@ -6218,9 +6218,9 @@ function zf(t, e) {
6218
6218
  });
6219
6219
  }
6220
6220
  Ct.wrap = Da;
6221
- Ct.massWrap = qf;
6221
+ Ct.massWrap = zf;
6222
6222
  Ct.unwrap = Ua;
6223
- Ct.massUnwrap = zf;
6223
+ Ct.massUnwrap = Xf;
6224
6224
  var ne = Ct, Sr = function() {
6225
6225
  return Sr = Object.assign || function(t) {
6226
6226
  for (var e, n = 1, r = arguments.length; n < r; n++) {
@@ -6229,7 +6229,7 @@ var ne = Ct, Sr = function() {
6229
6229
  }
6230
6230
  return t;
6231
6231
  }, Sr.apply(this, arguments);
6232
- }, Xf = (
6232
+ }, Kf = (
6233
6233
  /** @class */
6234
6234
  function() {
6235
6235
  function t(e, n, r) {
@@ -6281,7 +6281,7 @@ var ne = Ct, Sr = function() {
6281
6281
  }
6282
6282
  }, t;
6283
6283
  }()
6284
- ), Kf = /* @__PURE__ */ function() {
6284
+ ), Yf = /* @__PURE__ */ function() {
6285
6285
  var t = function(e, n) {
6286
6286
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
6287
6287
  r.__proto__ = i;
@@ -6301,13 +6301,13 @@ var ne = Ct, Sr = function() {
6301
6301
  }(), ja = (
6302
6302
  /** @class */
6303
6303
  function(t) {
6304
- Kf(e, t);
6304
+ Yf(e, t);
6305
6305
  function e(n, r, i) {
6306
6306
  var o = t.call(this, n, r, i) || this;
6307
6307
  return o._config.enabled && o.enable(), o;
6308
6308
  }
6309
6309
  return e;
6310
- }(Xf)
6310
+ }(Kf)
6311
6311
  );
6312
6312
  function Ci(t, e, n) {
6313
6313
  var r, i;
@@ -6322,7 +6322,7 @@ function Ci(t, e, n) {
6322
6322
  function Y(t) {
6323
6323
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
6324
6324
  }
6325
- var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace", qn = Yf, zn = Wf, Qf = Jf, Zf = "exception", Or = function() {
6325
+ var Wf = "exception.type", Jf = "exception.message", Qf = "exception.stacktrace", qn = Wf, zn = Jf, Zf = Qf, eh = "exception", Or = function() {
6326
6326
  return Or = Object.assign || function(t) {
6327
6327
  for (var e, n = 1, r = arguments.length; n < r; n++) {
6328
6328
  e = arguments[n];
@@ -6330,7 +6330,7 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6330
6330
  }
6331
6331
  return t;
6332
6332
  }, Or.apply(this, arguments);
6333
- }, eh = function(t) {
6333
+ }, th = function(t) {
6334
6334
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
6335
6335
  if (n) return n.call(t);
6336
6336
  if (t && typeof t.length == "number") return {
@@ -6355,11 +6355,11 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6355
6355
  }
6356
6356
  }
6357
6357
  return o;
6358
- }, th = function(t, e, n) {
6358
+ }, nh = function(t, e, n) {
6359
6359
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
6360
6360
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
6361
6361
  return t.concat(o || Array.prototype.slice.call(e));
6362
- }, nh = (
6362
+ }, rh = (
6363
6363
  /** @class */
6364
6364
  function() {
6365
6365
  function t(e, n, r, i, o, a, u, c, s, l) {
@@ -6376,7 +6376,7 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6376
6376
  }, t.prototype.setAttributes = function(e) {
6377
6377
  var n, r;
6378
6378
  try {
6379
- for (var i = eh(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6379
+ for (var i = th(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6380
6380
  var a = Ri(o.value, 2), u = a[0], c = a[1];
6381
6381
  this.setAttribute(u, c);
6382
6382
  }
@@ -6407,7 +6407,7 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6407
6407
  return this.links.push(e), this;
6408
6408
  }, t.prototype.addLinks = function(e) {
6409
6409
  var n;
6410
- return (n = this.links).push.apply(n, th([], Ri(e), !1)), this;
6410
+ return (n = this.links).push.apply(n, nh([], Ri(e), !1)), this;
6411
6411
  }, t.prototype.setStatus = function(e) {
6412
6412
  return this._isSpanEnded() ? this : (this.status = Or({}, 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);
6413
6413
  }, t.prototype.updateName = function(e) {
@@ -6417,7 +6417,7 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6417
6417
  E.error(this.name + " " + this._spanContext.traceId + "-" + this._spanContext.spanId + " - You can only call end() on a span once.");
6418
6418
  return;
6419
6419
  }
6420
- this._ended = !0, this.endTime = this._getTime(e), this._duration = Jp(this.startTime, this.endTime), this._duration[0] < 0 && (E.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.", this.startTime, this.endTime), this.endTime = this.startTime.slice(), this._duration = [0, 0]), this._droppedEventsCount > 0 && E.warn("Dropped " + this._droppedEventsCount + " events because eventCountLimit reached"), this._spanProcessor.onEnd(this);
6420
+ this._ended = !0, this.endTime = this._getTime(e), this._duration = Qp(this.startTime, this.endTime), this._duration[0] < 0 && (E.warn("Inconsistent start and end time, startTime > endTime. Setting span duration to 0ms.", this.startTime, this.endTime), this.endTime = this.startTime.slice(), this._duration = [0, 0]), this._droppedEventsCount > 0 && E.warn("Dropped " + this._droppedEventsCount + " events because eventCountLimit reached"), this._spanProcessor.onEnd(this);
6421
6421
  }, t.prototype._getTime = function(e) {
6422
6422
  if (typeof e == "number" && e <= re.now())
6423
6423
  return Ue(e + this._performanceOffset);
@@ -6435,7 +6435,7 @@ var Yf = "exception.type", Wf = "exception.message", Jf = "exception.stacktrace"
6435
6435
  return this._ended === !1;
6436
6436
  }, t.prototype.recordException = function(e, n) {
6437
6437
  var r = {};
6438
- typeof e == "string" ? r[zn] = e : e && (e.code ? r[qn] = e.code.toString() : e.name && (r[qn] = e.name), e.message && (r[zn] = e.message), e.stack && (r[Qf] = e.stack)), r[qn] || r[zn] ? this.addEvent(Zf, r, n) : E.warn("Failed to record an exception " + e);
6438
+ typeof e == "string" ? r[zn] = e : e && (e.code ? r[qn] = e.code.toString() : e.name && (r[qn] = e.name), e.message && (r[zn] = e.message), e.stack && (r[Zf] = e.stack)), r[qn] || r[zn] ? this.addEvent(eh, r, n) : E.warn("Failed to record an exception " + e);
6439
6439
  }, Object.defineProperty(t.prototype, "duration", {
6440
6440
  get: function() {
6441
6441
  return this._duration;
@@ -6543,7 +6543,7 @@ var hn = (
6543
6543
  return n;
6544
6544
  }, t;
6545
6545
  }()
6546
- ), rh = se.AlwaysOn, Xe = 1;
6546
+ ), ih = se.AlwaysOn, Xe = 1;
6547
6547
  function Ba() {
6548
6548
  var t = Ze();
6549
6549
  return {
@@ -6585,7 +6585,7 @@ function $a(t) {
6585
6585
  root: new Pi(Ii(t))
6586
6586
  });
6587
6587
  default:
6588
- return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + rh + '".'), new Je();
6588
+ return E.error('OTEL_TRACES_SAMPLER value "' + t.OTEL_TRACES_SAMPLER + " invalid, defaulting to " + ih + '".'), new Je();
6589
6589
  }
6590
6590
  }
6591
6591
  function Ii(t) {
@@ -6594,23 +6594,23 @@ function Ii(t) {
6594
6594
  var e = Number(t.OTEL_TRACES_SAMPLER_ARG);
6595
6595
  return isNaN(e) ? (E.error("OTEL_TRACES_SAMPLER_ARG=" + t.OTEL_TRACES_SAMPLER_ARG + " was given, but it is invalid, defaulting to " + Xe + "."), Xe) : 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 " + Xe + "."), Xe) : e;
6596
6596
  }
6597
- function ih(t) {
6597
+ function oh(t) {
6598
6598
  var e = {
6599
6599
  sampler: $a()
6600
6600
  }, n = Ba(), r = Object.assign({}, n, e, t);
6601
6601
  return r.generalLimits = Object.assign({}, n.generalLimits, t.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, t.spanLimits || {}), r;
6602
6602
  }
6603
- function oh(t) {
6604
- var e, n, r, i, o, a, u, c, s, l, p, f, m = Object.assign({}, t.spanLimits), y = Dp();
6603
+ function ah(t) {
6604
+ var e, n, r, i, o, a, u, c, s, l, p, f, m = Object.assign({}, t.spanLimits), y = Up();
6605
6605
  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 : y.OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT) !== null && o !== void 0 ? o : y.OTEL_ATTRIBUTE_COUNT_LIMIT) !== null && a !== void 0 ? a : Zt, 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 : y.OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && p !== void 0 ? p : y.OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT) !== null && f !== void 0 ? f : Qt, Object.assign({}, t, { spanLimits: m });
6606
6606
  }
6607
- var ah = (
6607
+ var sh = (
6608
6608
  /** @class */
6609
6609
  function() {
6610
6610
  function t(e, n) {
6611
6611
  this._exporter = e, this._isExporting = !1, this._finishedSpans = [], this._droppedSpansCount = 0;
6612
6612
  var r = Ze();
6613
- this._maxExportBatchSize = typeof n?.maxExportBatchSize == "number" ? n.maxExportBatchSize : r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE, this._maxQueueSize = typeof n?.maxQueueSize == "number" ? n.maxQueueSize : r.OTEL_BSP_MAX_QUEUE_SIZE, this._scheduledDelayMillis = typeof n?.scheduledDelayMillis == "number" ? n.scheduledDelayMillis : r.OTEL_BSP_SCHEDULE_DELAY, this._exportTimeoutMillis = typeof n?.exportTimeoutMillis == "number" ? n.exportTimeoutMillis : r.OTEL_BSP_EXPORT_TIMEOUT, this._shutdownOnce = new If(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (E.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
6613
+ this._maxExportBatchSize = typeof n?.maxExportBatchSize == "number" ? n.maxExportBatchSize : r.OTEL_BSP_MAX_EXPORT_BATCH_SIZE, this._maxQueueSize = typeof n?.maxQueueSize == "number" ? n.maxQueueSize : r.OTEL_BSP_MAX_QUEUE_SIZE, this._scheduledDelayMillis = typeof n?.scheduledDelayMillis == "number" ? n.scheduledDelayMillis : r.OTEL_BSP_SCHEDULE_DELAY, this._exportTimeoutMillis = typeof n?.exportTimeoutMillis == "number" ? n.exportTimeoutMillis : r.OTEL_BSP_EXPORT_TIMEOUT, this._shutdownOnce = new kf(this._shutdown, this), this._maxExportBatchSize > this._maxQueueSize && (E.warn("BatchSpanProcessor: maxExportBatchSize must be smaller or equal to maxQueueSize, setting maxExportBatchSize to match maxQueueSize"), this._maxExportBatchSize = this._maxQueueSize);
6614
6614
  }
6615
6615
  return t.prototype.forceFlush = function() {
6616
6616
  return this._shutdownOnce.isCalled ? this._shutdownOnce.promise : this._flushAll();
@@ -6686,7 +6686,7 @@ var ah = (
6686
6686
  this._timer !== void 0 && (clearTimeout(this._timer), this._timer = void 0);
6687
6687
  }, t;
6688
6688
  }()
6689
- ), sh = /* @__PURE__ */ function() {
6689
+ ), uh = /* @__PURE__ */ function() {
6690
6690
  var t = function(e, n) {
6691
6691
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
6692
6692
  r.__proto__ = i;
@@ -6706,7 +6706,7 @@ var ah = (
6706
6706
  }(), Fa = (
6707
6707
  /** @class */
6708
6708
  function(t) {
6709
- sh(e, t);
6709
+ uh(e, t);
6710
6710
  function e(n, r) {
6711
6711
  var i = t.call(this, n, r) || this;
6712
6712
  return i.onInit(r), i;
@@ -6725,12 +6725,12 @@ var ah = (
6725
6725
  }, e.prototype.onShutdown = function() {
6726
6726
  typeof document < "u" && (this._visibilityChangeListener && document.removeEventListener("visibilitychange", this._visibilityChangeListener), this._pageHideListener && document.removeEventListener("pagehide", this._pageHideListener));
6727
6727
  }, e;
6728
- }(ah)
6729
- ), uh = 8, ch = 16, lh = (
6728
+ }(sh)
6729
+ ), ch = 8, lh = 16, ph = (
6730
6730
  /** @class */
6731
6731
  /* @__PURE__ */ function() {
6732
6732
  function t() {
6733
- this.generateTraceId = ki(ch), this.generateSpanId = ki(uh);
6733
+ this.generateTraceId = ki(lh), this.generateSpanId = ki(ch);
6734
6734
  }
6735
6735
  return t;
6736
6736
  }()
@@ -6742,13 +6742,13 @@ function ki(t) {
6742
6742
  return String.fromCharCode.apply(null, Dt.slice(0, t * 2));
6743
6743
  };
6744
6744
  }
6745
- var ph = (
6745
+ var fh = (
6746
6746
  /** @class */
6747
6747
  function() {
6748
6748
  function t(e, n, r) {
6749
6749
  this._tracerProvider = r;
6750
- var i = ih(n);
6751
- this._sampler = i.sampler, this._generalLimits = i.generalLimits, this._spanLimits = i.spanLimits, this._idGenerator = n.idGenerator || new lh(), this.resource = r.resource, this.instrumentationLibrary = e;
6750
+ var i = oh(n);
6751
+ this._sampler = i.sampler, this._generalLimits = i.generalLimits, this._spanLimits = i.spanLimits, this._idGenerator = n.idGenerator || new ph(), this.resource = r.resource, this.instrumentationLibrary = e;
6752
6752
  }
6753
6753
  return t.prototype.startSpan = function(e, n, r) {
6754
6754
  var i, o, a;
@@ -6774,7 +6774,7 @@ var ph = (
6774
6774
  var c = C.wrapSpanContext($);
6775
6775
  return c;
6776
6776
  }
6777
- var M = Jt(Object.assign(_, T.attributes)), F = new nh(this, r, e, $, y, m, v, n.startTime, void 0, M);
6777
+ var M = Jt(Object.assign(_, T.attributes)), F = new rh(this, r, e, $, y, m, v, n.startTime, void 0, M);
6778
6778
  return F;
6779
6779
  }, t.prototype.startActiveSpan = function(e, n, r, i) {
6780
6780
  var o, a, u;
@@ -6791,8 +6791,8 @@ var ph = (
6791
6791
  return this._tracerProvider.getActiveSpanProcessor();
6792
6792
  }, t;
6793
6793
  }()
6794
- ), fh = "service.name", hh = "telemetry.sdk.name", dh = "telemetry.sdk.language", yh = "telemetry.sdk.version", mh = fh, Mi = hh, Di = dh, Ui = yh;
6795
- function vh() {
6794
+ ), hh = "service.name", dh = "telemetry.sdk.name", yh = "telemetry.sdk.language", mh = "telemetry.sdk.version", vh = hh, Mi = dh, Di = yh, Ui = mh;
6795
+ function gh() {
6796
6796
  return "unknown_service";
6797
6797
  }
6798
6798
  var Te = function() {
@@ -6803,7 +6803,7 @@ var Te = function() {
6803
6803
  }
6804
6804
  return t;
6805
6805
  }, Te.apply(this, arguments);
6806
- }, gh = function(t, e, n, r) {
6806
+ }, _h = function(t, e, n, r) {
6807
6807
  function i(o) {
6808
6808
  return o instanceof n ? o : new n(function(a) {
6809
6809
  a(o);
@@ -6829,7 +6829,7 @@ var Te = function() {
6829
6829
  }
6830
6830
  s((r = r.apply(t, [])).next());
6831
6831
  });
6832
- }, _h = function(t, e) {
6832
+ }, bh = function(t, e) {
6833
6833
  var n = { label: 0, sent: function() {
6834
6834
  if (o[0] & 1) throw o[1];
6835
6835
  return o[1];
@@ -6888,7 +6888,7 @@ var Te = function() {
6888
6888
  if (s[0] & 5) throw s[1];
6889
6889
  return { value: s[0] ? s[1] : void 0, done: !0 };
6890
6890
  }
6891
- }, bh = function(t, e) {
6891
+ }, Eh = function(t, e) {
6892
6892
  var n = typeof Symbol == "function" && t[Symbol.iterator];
6893
6893
  if (!n) return t;
6894
6894
  var r = n.call(t), i, o = [], a;
@@ -6919,7 +6919,7 @@ var Te = function() {
6919
6919
  return t.EMPTY;
6920
6920
  }, t.default = function() {
6921
6921
  var e;
6922
- return new t((e = {}, e[mh] = vh(), e[Di] = Vn[Di], e[Mi] = Vn[Mi], e[Ui] = Vn[Ui], e));
6922
+ return new t((e = {}, e[vh] = gh(), e[Di] = Vn[Di], e[Mi] = Vn[Mi], e[Ui] = Vn[Ui], e));
6923
6923
  }, Object.defineProperty(t.prototype, "attributes", {
6924
6924
  get: function() {
6925
6925
  var e;
@@ -6928,8 +6928,8 @@ var Te = function() {
6928
6928
  enumerable: !1,
6929
6929
  configurable: !0
6930
6930
  }), t.prototype.waitForAsyncAttributes = function() {
6931
- return gh(this, void 0, void 0, function() {
6932
- return _h(this, function(e) {
6931
+ return _h(this, void 0, void 0, function() {
6932
+ return bh(this, function(e) {
6933
6933
  switch (e.label) {
6934
6934
  case 0:
6935
6935
  return this.asyncAttributesPending ? [4, this._asyncAttributesPromise] : [3, 2];
@@ -6954,7 +6954,7 @@ var Te = function() {
6954
6954
  this._asyncAttributesPromise,
6955
6955
  e._asyncAttributesPromise
6956
6956
  ]).then(function(a) {
6957
- var u, c = bh(a, 2), s = c[0], l = c[1];
6957
+ var u, c = Eh(a, 2), s = c[0], l = c[1];
6958
6958
  return Te(Te(Te(Te({}, n._syncAttributes), s), (u = e._syncAttributes) !== null && u !== void 0 ? u : e.attributes), l);
6959
6959
  });
6960
6960
  return new t(i, o);
@@ -7053,7 +7053,7 @@ var Te = function() {
7053
7053
  });
7054
7054
  }, t;
7055
7055
  }()
7056
- ), Eh = (
7056
+ ), Th = (
7057
7057
  /** @class */
7058
7058
  function() {
7059
7059
  function t() {
@@ -7066,7 +7066,7 @@ var Te = function() {
7066
7066
  return Promise.resolve();
7067
7067
  }, t;
7068
7068
  }()
7069
- ), Th = function(t, e) {
7069
+ ), wh = function(t, e) {
7070
7070
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7071
7071
  if (!n) return t;
7072
7072
  var r = n.call(t), i, o = [], a;
@@ -7082,7 +7082,7 @@ var Te = function() {
7082
7082
  }
7083
7083
  }
7084
7084
  return o;
7085
- }, wh = function(t, e, n) {
7085
+ }, Sh = function(t, e, n) {
7086
7086
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
7087
7087
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
7088
7088
  return t.concat(o || Array.prototype.slice.call(e));
@@ -7090,30 +7090,30 @@ var Te = function() {
7090
7090
  (function(t) {
7091
7091
  t[t.resolved = 0] = "resolved", t[t.timeout = 1] = "timeout", t[t.error = 2] = "error", t[t.unresolved = 3] = "unresolved";
7092
7092
  })(Pe || (Pe = {}));
7093
- var Sh = (
7093
+ var Oh = (
7094
7094
  /** @class */
7095
7095
  function() {
7096
7096
  function t(e) {
7097
7097
  e === void 0 && (e = {});
7098
7098
  var n, r;
7099
7099
  this._registeredSpanProcessors = [], this._tracers = /* @__PURE__ */ new Map();
7100
- var i = Na({}, Ba(), oh(e));
7100
+ var i = Na({}, Ba(), ah(e));
7101
7101
  if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : St.empty(), i.mergeResourceWithDefaults && (this.resource = St.default().merge(this.resource)), this._config = Object.assign({}, i, {
7102
7102
  resource: this.resource
7103
7103
  }), !((r = e.spanProcessors) === null || r === void 0) && r.length)
7104
- this._registeredSpanProcessors = wh([], Th(e.spanProcessors), !1), this.activeSpanProcessor = new ji(this._registeredSpanProcessors);
7104
+ this._registeredSpanProcessors = Sh([], wh(e.spanProcessors), !1), this.activeSpanProcessor = new ji(this._registeredSpanProcessors);
7105
7105
  else {
7106
7106
  var o = this._buildExporterFromEnv();
7107
7107
  if (o !== void 0) {
7108
7108
  var a = new Fa(o);
7109
7109
  this.activeSpanProcessor = a;
7110
7110
  } else
7111
- this.activeSpanProcessor = new Eh();
7111
+ this.activeSpanProcessor = new Th();
7112
7112
  }
7113
7113
  }
7114
7114
  return t.prototype.getTracer = function(e, n, r) {
7115
7115
  var i = e + "@" + (n || "") + ":" + (r?.schemaUrl || "");
7116
- return this._tracers.has(i) || this._tracers.set(i, new ph({ name: e, version: n, schemaUrl: r?.schemaUrl }, this._config, this)), this._tracers.get(i);
7116
+ return this._tracers.has(i) || this._tracers.set(i, new fh({ name: e, version: n, schemaUrl: r?.schemaUrl }, this._config, this)), this._tracers.get(i);
7117
7117
  }, t.prototype.addSpanProcessor = function(e) {
7118
7118
  this._registeredSpanProcessors.length === 0 && this.activeSpanProcessor.shutdown().catch(function(n) {
7119
7119
  return E.error("Error while trying to shutdown current span processor", n);
@@ -7179,7 +7179,7 @@ var Sh = (
7179
7179
  }]
7180
7180
  ]), t._registeredExporters = /* @__PURE__ */ new Map(), t;
7181
7181
  }()
7182
- ), Oh = function(t, e) {
7182
+ ), Ah = function(t, e) {
7183
7183
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7184
7184
  if (!n) return t;
7185
7185
  var r = n.call(t), i, o = [], a;
@@ -7195,7 +7195,7 @@ var Sh = (
7195
7195
  }
7196
7196
  }
7197
7197
  return o;
7198
- }, Ah = function(t, e, n) {
7198
+ }, xh = function(t, e, n) {
7199
7199
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
7200
7200
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
7201
7201
  return t.concat(o || Array.prototype.slice.call(e));
@@ -7234,13 +7234,13 @@ var Sh = (
7234
7234
  var a = this._currentContext;
7235
7235
  this._currentContext = e || Ce;
7236
7236
  try {
7237
- return n.call.apply(n, Ah([r], Oh(i), !1));
7237
+ return n.call.apply(n, xh([r], Ah(i), !1));
7238
7238
  } finally {
7239
7239
  this._currentContext = a;
7240
7240
  }
7241
7241
  }, t;
7242
7242
  }()
7243
- ), xh = /* @__PURE__ */ function() {
7243
+ ), Nh = /* @__PURE__ */ function() {
7244
7244
  var t = function(e, n) {
7245
7245
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7246
7246
  r.__proto__ = i;
@@ -7257,10 +7257,10 @@ var Sh = (
7257
7257
  }
7258
7258
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7259
7259
  };
7260
- }(), Nh = (
7260
+ }(), Lh = (
7261
7261
  /** @class */
7262
7262
  function(t) {
7263
- xh(e, t);
7263
+ Nh(e, t);
7264
7264
  function e(n) {
7265
7265
  n === void 0 && (n = {});
7266
7266
  var r = t.call(this, n) || this;
@@ -7273,13 +7273,13 @@ var Sh = (
7273
7273
  return e.prototype.register = function(n) {
7274
7274
  n === void 0 && (n = {}), n.contextManager === void 0 && (n.contextManager = new Va()), n.contextManager && n.contextManager.enable(), t.prototype.register.call(this, n);
7275
7275
  }, e;
7276
- }(Sh)
7276
+ }(Oh)
7277
7277
  ), S;
7278
7278
  (function(t) {
7279
7279
  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";
7280
7280
  })(S || (S = {}));
7281
- var Lh = "http.response_content_length", Ch = "http.response_content_length_uncompressed", Rh = Lh, Ph = Ch, Kn;
7282
- function Ih() {
7281
+ var Ch = "http.response_content_length", Rh = "http.response_content_length_uncompressed", Ph = Ch, Ih = Rh, Kn;
7282
+ function kh() {
7283
7283
  return Kn || (Kn = document.createElement("a")), Kn;
7284
7284
  }
7285
7285
  function Ae(t, e) {
@@ -7295,11 +7295,11 @@ function V(t, e, n, r) {
7295
7295
  function tt(t, e, n) {
7296
7296
  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), Ae(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));
7297
7297
  var r = e[S.ENCODED_BODY_SIZE];
7298
- r !== void 0 && t.setAttribute(Rh, r);
7298
+ r !== void 0 && t.setAttribute(Ph, r);
7299
7299
  var i = e[S.DECODED_BODY_SIZE];
7300
- i !== void 0 && r !== i && t.setAttribute(Ph, i);
7300
+ i !== void 0 && r !== i && t.setAttribute(Ih, i);
7301
7301
  }
7302
- function kh(t) {
7302
+ function Mh(t) {
7303
7303
  return t.slice().sort(function(e, n) {
7304
7304
  var r = e[S.FETCH_START], i = n[S.FETCH_START];
7305
7305
  return r > i ? 1 : r < i ? -1 : 0;
@@ -7312,7 +7312,7 @@ function Ha(t, e, n, r, i, o) {
7312
7312
  i === void 0 && (i = /* @__PURE__ */ new WeakSet());
7313
7313
  var a = he(t);
7314
7314
  t = a.toString();
7315
- var u = Dh(t, e, n, r, i, o);
7315
+ var u = Uh(t, e, n, r, i, o);
7316
7316
  if (u.length === 0)
7317
7317
  return {
7318
7318
  mainRequest: void 0
@@ -7321,9 +7321,9 @@ function Ha(t, e, n, r, i, o) {
7321
7321
  return {
7322
7322
  mainRequest: u[0]
7323
7323
  };
7324
- var c = kh(u);
7324
+ var c = Mh(u);
7325
7325
  if (a.origin !== Ga() && c.length > 1) {
7326
- var s = c[0], l = Mh(c, s[S.RESPONSE_END], n), p = s[S.RESPONSE_END], f = l[S.FETCH_START];
7326
+ var s = c[0], l = Dh(c, s[S.RESPONSE_END], n), p = s[S.RESPONSE_END], f = l[S.FETCH_START];
7327
7327
  return f < p && (l = s, s = void 0), {
7328
7328
  corsPreFlightRequest: s,
7329
7329
  mainRequest: l
@@ -7333,14 +7333,14 @@ function Ha(t, e, n, r, i, o) {
7333
7333
  mainRequest: u[0]
7334
7334
  };
7335
7335
  }
7336
- function Mh(t, e, n) {
7336
+ function Dh(t, e, n) {
7337
7337
  for (var r = ye(n), i = ye(vt(e)), o = t[1], a, u = t.length, c = 1; c < u; c++) {
7338
7338
  var s = t[c], l = ye(vt(s[S.FETCH_START])), p = ye(vt(s[S.RESPONSE_END])), f = r - p;
7339
7339
  l >= i && (!a || f < a) && (a = f, o = s);
7340
7340
  }
7341
7341
  return o;
7342
7342
  }
7343
- function Dh(t, e, n, r, i, o) {
7343
+ function Uh(t, e, n, r, i, o) {
7344
7344
  var a = ye(e), u = ye(n), c = r.filter(function(s) {
7345
7345
  var l = ye(vt(s[S.FETCH_START])), p = ye(vt(s[S.RESPONSE_END]));
7346
7346
  return s.initiatorType.toLowerCase() === (o || "xmlhttprequest") && s.name === t && l >= a && p <= u;
@@ -7352,19 +7352,19 @@ function Dh(t, e, n, r, i, o) {
7352
7352
  function he(t) {
7353
7353
  if (typeof URL == "function")
7354
7354
  return new URL(t, typeof document < "u" ? document.baseURI : typeof location < "u" ? location.href : void 0);
7355
- var e = Ih();
7355
+ var e = kh();
7356
7356
  return e.href = t, e;
7357
7357
  }
7358
7358
  function qa(t, e) {
7359
7359
  if (t.nodeType === Node.DOCUMENT_NODE)
7360
7360
  return "/";
7361
- var n = jh(t, e);
7361
+ var n = Bh(t, e);
7362
7362
  if (e && n.indexOf("@id") > 0)
7363
7363
  return n;
7364
7364
  var r = "";
7365
7365
  return t.parentNode && (r += qa(t.parentNode, !1)), r += n, r;
7366
7366
  }
7367
- function Uh(t) {
7367
+ function jh(t) {
7368
7368
  if (!t.parentNode)
7369
7369
  return 0;
7370
7370
  var e = [t.nodeType];
@@ -7375,8 +7375,8 @@ function Uh(t) {
7375
7375
  return e.indexOf(r.nodeType) >= 0 && i === t.localName;
7376
7376
  }), n.length >= 1 ? n.indexOf(t) + 1 : 0;
7377
7377
  }
7378
- function jh(t, e) {
7379
- var n = t.nodeType, r = Uh(t), i = "";
7378
+ function Bh(t, e) {
7379
+ var n = t.nodeType, r = jh(t), i = "";
7380
7380
  if (n === Node.ELEMENT_NODE) {
7381
7381
  var o = t.getAttribute("id");
7382
7382
  if (e && o)
@@ -7402,11 +7402,11 @@ var gt;
7402
7402
  (function(t) {
7403
7403
  t.DOCUMENT_LOAD = "documentLoad", t.DOCUMENT_FETCH = "documentFetch", t.RESOURCE_FETCH = "resourceFetch";
7404
7404
  })(gt || (gt = {}));
7405
- var Bh = "0.44.0", $h = "@opentelemetry/instrumentation-document-load", Fh = "http.url", Vh = "http.user_agent", Yn = Fh, Gh = Vh, Hh = "deployment.environment", qh = Hh, zh = "service.name", Xh = "telemetry.sdk.name", Kh = "telemetry.sdk.version", Yh = "url.full", Wh = "url.path", Jh = "url.query", dn;
7405
+ var $h = "0.44.0", Fh = "@opentelemetry/instrumentation-document-load", Vh = "http.url", Gh = "http.user_agent", Yn = Vh, Hh = Gh, qh = "deployment.environment", zh = qh, Xh = "service.name", Kh = "telemetry.sdk.name", Yh = "telemetry.sdk.version", Wh = "url.full", Jh = "url.path", Qh = "url.query", dn;
7406
7406
  (function(t) {
7407
7407
  t.FIRST_PAINT = "firstPaint", t.FIRST_CONTENTFUL_PAINT = "firstContentfulPaint";
7408
7408
  })(dn || (dn = {}));
7409
- var Qh = function() {
7409
+ var Zh = function() {
7410
7410
  var t, e, n = {}, r = (e = (t = re).getEntriesByType) === null || e === void 0 ? void 0 : e.call(t, "navigation")[0];
7411
7411
  if (r) {
7412
7412
  var i = Object.values(S);
@@ -7432,13 +7432,13 @@ var Qh = function() {
7432
7432
  }, Bi = {
7433
7433
  "first-paint": dn.FIRST_PAINT,
7434
7434
  "first-contentful-paint": dn.FIRST_CONTENTFUL_PAINT
7435
- }, Zh = function(t) {
7435
+ }, ed = function(t) {
7436
7436
  var e, n, r = (n = (e = re).getEntriesByType) === null || n === void 0 ? void 0 : n.call(e, "paint");
7437
7437
  r && r.forEach(function(i) {
7438
7438
  var o = i.name, a = i.startTime;
7439
7439
  Ae(Bi, o) && t.addEvent(Bi[o], a);
7440
7440
  });
7441
- }, ed = /* @__PURE__ */ function() {
7441
+ }, td = /* @__PURE__ */ function() {
7442
7442
  var t = function(e, n) {
7443
7443
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7444
7444
  r.__proto__ = i;
@@ -7455,13 +7455,13 @@ var Qh = function() {
7455
7455
  }
7456
7456
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7457
7457
  };
7458
- }(), td = (
7458
+ }(), nd = (
7459
7459
  /** @class */
7460
7460
  function(t) {
7461
- ed(e, t);
7461
+ td(e, t);
7462
7462
  function e(n) {
7463
7463
  n === void 0 && (n = {});
7464
- var r = t.call(this, $h, Bh, n) || this;
7464
+ var r = t.call(this, Fh, $h, n) || this;
7465
7465
  return r.component = "document-load", r.version = "1", r.moduleName = r.component, r;
7466
7466
  }
7467
7467
  return e.prototype.init = function() {
@@ -7478,7 +7478,7 @@ var Qh = function() {
7478
7478
  }, e.prototype._collectPerformance = function() {
7479
7479
  var n = this, r = Array.from(document.getElementsByTagName("meta")).find(function(a) {
7480
7480
  return a.getAttribute("name") === en;
7481
- }), i = Qh(), o = r && r.content || "";
7481
+ }), i = Zh(), o = r && r.content || "";
7482
7482
  L.with(ee.extract(Ce, { traceparent: o }), function() {
7483
7483
  var a, u = n._startSpan(gt.DOCUMENT_LOAD, S.FETCH_START, i);
7484
7484
  u && (L.with(C.setSpan(L.active(), u), function() {
@@ -7487,7 +7487,7 @@ var Qh = function() {
7487
7487
  var s;
7488
7488
  n.getConfig().ignoreNetworkEvents || tt(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, S.RESPONSE_END, i);
7489
7489
  }));
7490
- }), u.setAttribute(Yn, location.href), u.setAttribute(Gh, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (V(u, S.FETCH_START, i), V(u, S.UNLOAD_EVENT_START, i), V(u, S.UNLOAD_EVENT_END, i), V(u, S.DOM_INTERACTIVE, i), V(u, S.DOM_CONTENT_LOADED_EVENT_START, i), V(u, S.DOM_CONTENT_LOADED_EVENT_END, i), V(u, S.DOM_COMPLETE, i), V(u, S.LOAD_EVENT_START, i), V(u, S.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || Zh(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, S.LOAD_EVENT_END, i));
7490
+ }), u.setAttribute(Yn, location.href), u.setAttribute(Hh, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (V(u, S.FETCH_START, i), V(u, S.UNLOAD_EVENT_START, i), V(u, S.UNLOAD_EVENT_END, i), V(u, S.DOM_INTERACTIVE, i), V(u, S.DOM_CONTENT_LOADED_EVENT_START, i), V(u, S.DOM_CONTENT_LOADED_EVENT_END, i), V(u, S.DOM_COMPLETE, i), V(u, S.LOAD_EVENT_START, i), V(u, S.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || ed(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, S.LOAD_EVENT_END, i));
7491
7491
  });
7492
7492
  }, e.prototype._endSpan = function(n, r, i) {
7493
7493
  n && (Ae(i, r) ? n.end(i[r]) : n.end());
@@ -7531,7 +7531,7 @@ var Qh = function() {
7531
7531
  return t.prototype.emit = function(e) {
7532
7532
  }, t;
7533
7533
  }()
7534
- ), nd = new Xa(), rd = (
7534
+ ), rd = new Xa(), id = (
7535
7535
  /** @class */
7536
7536
  function() {
7537
7537
  function t() {
@@ -7540,7 +7540,7 @@ var Qh = function() {
7540
7540
  return new Xa();
7541
7541
  }, t;
7542
7542
  }()
7543
- ), Ka = new rd(), id = (
7543
+ ), Ka = new id(), od = (
7544
7544
  /** @class */
7545
7545
  function() {
7546
7546
  function t(e, n, r, i) {
@@ -7552,7 +7552,7 @@ var Qh = function() {
7552
7552
  if (this._delegate)
7553
7553
  return this._delegate;
7554
7554
  var e = this._provider.getDelegateLogger(this.name, this.version, this.options);
7555
- return e ? (this._delegate = e, this._delegate) : nd;
7555
+ return e ? (this._delegate = e, this._delegate) : rd;
7556
7556
  }, t;
7557
7557
  }()
7558
7558
  ), $i = (
@@ -7562,7 +7562,7 @@ var Qh = function() {
7562
7562
  }
7563
7563
  return t.prototype.getLogger = function(e, n, r) {
7564
7564
  var i;
7565
- return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new id(this, e, n, r);
7565
+ return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new od(this, e, n, r);
7566
7566
  }, t.prototype.getDelegate = function() {
7567
7567
  var e;
7568
7568
  return (e = this._delegate) !== null && e !== void 0 ? e : Ka;
@@ -7573,13 +7573,13 @@ var Qh = function() {
7573
7573
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
7574
7574
  }, t;
7575
7575
  }()
7576
- ), od = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, jt = Symbol.for("io.opentelemetry.js.api.logs"), lt = od;
7577
- function ad(t, e, n) {
7576
+ ), ad = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, jt = Symbol.for("io.opentelemetry.js.api.logs"), lt = ad;
7577
+ function sd(t, e, n) {
7578
7578
  return function(r) {
7579
7579
  return r === t ? e : n;
7580
7580
  };
7581
7581
  }
7582
- var Fi = 1, sd = (
7582
+ var Fi = 1, ud = (
7583
7583
  /** @class */
7584
7584
  function() {
7585
7585
  function t() {
@@ -7588,7 +7588,7 @@ var Fi = 1, sd = (
7588
7588
  return t.getInstance = function() {
7589
7589
  return this._instance || (this._instance = new t()), this._instance;
7590
7590
  }, t.prototype.setGlobalLoggerProvider = function(e) {
7591
- return lt[jt] ? this.getLoggerProvider() : (lt[jt] = ad(Fi, e, Ka), this._proxyLoggerProvider.setDelegate(e), e);
7591
+ return lt[jt] ? this.getLoggerProvider() : (lt[jt] = sd(Fi, e, Ka), this._proxyLoggerProvider.setDelegate(e), e);
7592
7592
  }, t.prototype.getLoggerProvider = function() {
7593
7593
  var e, n;
7594
7594
  return (n = (e = lt[jt]) === null || e === void 0 ? void 0 : e.call(lt, Fi)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
@@ -7598,7 +7598,7 @@ var Fi = 1, sd = (
7598
7598
  delete lt[jt], this._proxyLoggerProvider = new $i();
7599
7599
  }, t;
7600
7600
  }()
7601
- ), ud = sd.getInstance(), Ar = function() {
7601
+ ), cd = ud.getInstance(), Ar = function() {
7602
7602
  return Ar = Object.assign || function(t) {
7603
7603
  for (var e, n = 1, r = arguments.length; n < r; n++) {
7604
7604
  e = arguments[n];
@@ -7606,13 +7606,13 @@ var Fi = 1, sd = (
7606
7606
  }
7607
7607
  return t;
7608
7608
  }, Ar.apply(this, arguments);
7609
- }, cd = (
7609
+ }, ld = (
7610
7610
  /** @class */
7611
7611
  function() {
7612
7612
  function t(e, n, r) {
7613
7613
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = ne.wrap, this._unwrap = ne.unwrap, this._massWrap = ne.massWrap, this._massUnwrap = ne.massUnwrap, this.setConfig(r), this._diag = E.createComponentLogger({
7614
7614
  namespace: e
7615
- }), this._tracer = C.getTracer(e, n), this._meter = de.getMeter(e, n), this._logger = ud.getLogger(e, n), this._updateMetricInstruments();
7615
+ }), this._tracer = C.getTracer(e, n), this._meter = de.getMeter(e, n), this._logger = cd.getLogger(e, n), this._updateMetricInstruments();
7616
7616
  }
7617
7617
  return Object.defineProperty(t.prototype, "meter", {
7618
7618
  /* Returns meter */
@@ -7658,7 +7658,7 @@ var Fi = 1, sd = (
7658
7658
  }
7659
7659
  }, t;
7660
7660
  }()
7661
- ), ld = /* @__PURE__ */ function() {
7661
+ ), pd = /* @__PURE__ */ function() {
7662
7662
  var t = function(e, n) {
7663
7663
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7664
7664
  r.__proto__ = i;
@@ -7675,18 +7675,18 @@ var Fi = 1, sd = (
7675
7675
  }
7676
7676
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7677
7677
  };
7678
- }(), pd = (
7678
+ }(), fd = (
7679
7679
  /** @class */
7680
7680
  function(t) {
7681
- ld(e, t);
7681
+ pd(e, t);
7682
7682
  function e(n, r, i) {
7683
7683
  var o = t.call(this, n, r, i) || this;
7684
7684
  return o._config.enabled && o.enable(), o;
7685
7685
  }
7686
7686
  return e;
7687
- }(cd)
7687
+ }(ld)
7688
7688
  );
7689
- function fd(t, e, n) {
7689
+ function hd(t, e, n) {
7690
7690
  var r, i;
7691
7691
  try {
7692
7692
  i = t();
@@ -7696,14 +7696,14 @@ function fd(t, e, n) {
7696
7696
  return e(r, i), i;
7697
7697
  }
7698
7698
  }
7699
- function hd(t) {
7699
+ function dd(t) {
7700
7700
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
7701
7701
  }
7702
7702
  var yn;
7703
7703
  (function(t) {
7704
7704
  t.COMPONENT = "component", t.HTTP_ERROR_NAME = "http.error_name", t.HTTP_STATUS_TEXT = "http.status_text";
7705
7705
  })(yn || (yn = {}));
7706
- var dd = "http.method", yd = "http.url", md = "http.host", vd = "http.scheme", gd = "http.status_code", _d = "http.user_agent", bd = "http.request_content_length_uncompressed", Ed = dd, Td = yd, wd = md, Sd = vd, Od = gd, Ad = _d, xd = bd, Nd = function(t, e, n, r) {
7706
+ var yd = "http.method", md = "http.url", vd = "http.host", gd = "http.scheme", _d = "http.status_code", bd = "http.user_agent", Ed = "http.request_content_length_uncompressed", Td = yd, wd = md, Sd = vd, Od = gd, Ad = _d, xd = bd, Nd = Ed, Ld = function(t, e, n, r) {
7707
7707
  function i(o) {
7708
7708
  return o instanceof n ? o : new n(function(a) {
7709
7709
  a(o);
@@ -7729,7 +7729,7 @@ var dd = "http.method", yd = "http.url", md = "http.host", vd = "http.scheme", g
7729
7729
  }
7730
7730
  s((r = r.apply(t, [])).next());
7731
7731
  });
7732
- }, Ld = function(t, e) {
7732
+ }, Cd = function(t, e) {
7733
7733
  var n = { label: 0, sent: function() {
7734
7734
  if (o[0] & 1) throw o[1];
7735
7735
  return o[1];
@@ -7788,7 +7788,7 @@ var dd = "http.method", yd = "http.url", md = "http.host", vd = "http.scheme", g
7788
7788
  if (s[0] & 5) throw s[1];
7789
7789
  return { value: s[0] ? s[1] : void 0, done: !0 };
7790
7790
  }
7791
- }, Cd = function(t) {
7791
+ }, Rd = function(t) {
7792
7792
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
7793
7793
  if (n) return n.call(t);
7794
7794
  if (t && typeof t.length == "number") return {
@@ -7797,7 +7797,7 @@ var dd = "http.method", yd = "http.url", md = "http.host", vd = "http.scheme", g
7797
7797
  }
7798
7798
  };
7799
7799
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
7800
- }, Rd = function(t, e) {
7800
+ }, Pd = function(t, e) {
7801
7801
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7802
7802
  if (!n) return t;
7803
7803
  var r = n.call(t), i, o = [], a;
@@ -7816,7 +7816,7 @@ var dd = "http.method", yd = "http.url", md = "http.host", vd = "http.scheme", g
7816
7816
  }, Ya = E.createComponentLogger({
7817
7817
  namespace: "@opentelemetry/opentelemetry-instrumentation-fetch/utils"
7818
7818
  });
7819
- function Pd() {
7819
+ function Id() {
7820
7820
  for (var t = [], e = 0; e < arguments.length; e++)
7821
7821
  t[e] = arguments[e];
7822
7822
  if (t[0] instanceof URL || typeof t[0] == "string") {
@@ -7824,10 +7824,10 @@ function Pd() {
7824
7824
  if (!(n != null && n.body))
7825
7825
  return Promise.resolve();
7826
7826
  if (n.body instanceof ReadableStream) {
7827
- var r = Id(n.body), i = r.body, o = r.length;
7827
+ var r = kd(n.body), i = r.body, o = r.length;
7828
7828
  return n.body = i, o;
7829
7829
  } else
7830
- return Promise.resolve(kd(n.body));
7830
+ return Promise.resolve(Md(n.body));
7831
7831
  } else {
7832
7832
  var a = t[0];
7833
7833
  return a != null && a.body ? a.clone().text().then(function(u) {
@@ -7835,7 +7835,7 @@ function Pd() {
7835
7835
  }) : Promise.resolve();
7836
7836
  }
7837
7837
  }
7838
- function Id(t) {
7838
+ function kd(t) {
7839
7839
  if (!t.pipeThrough)
7840
7840
  return Ya.warn("Platform has ReadableStream but not pipeThrough!"), {
7841
7841
  body: t,
@@ -7847,9 +7847,9 @@ function Id(t) {
7847
7847
  start: function() {
7848
7848
  },
7849
7849
  transform: function(o, a) {
7850
- return Nd(this, void 0, void 0, function() {
7850
+ return Ld(this, void 0, void 0, function() {
7851
7851
  var u;
7852
- return Ld(this, function(c) {
7852
+ return Cd(this, function(c) {
7853
7853
  switch (c.label) {
7854
7854
  case 0:
7855
7855
  return [4, o];
@@ -7871,7 +7871,7 @@ function Id(t) {
7871
7871
  length: r
7872
7872
  };
7873
7873
  }
7874
- function kd(t) {
7874
+ function Md(t) {
7875
7875
  if (typeof Document < "u" && t instanceof Document)
7876
7876
  return new XMLSerializer().serializeToString(document).length;
7877
7877
  if (t instanceof Blob)
@@ -7879,22 +7879,22 @@ function kd(t) {
7879
7879
  if (t.byteLength !== void 0)
7880
7880
  return t.byteLength;
7881
7881
  if (t instanceof FormData)
7882
- return Dd(t);
7882
+ return Ud(t);
7883
7883
  if (t instanceof URLSearchParams)
7884
7884
  return xr(t.toString());
7885
7885
  if (typeof t == "string")
7886
7886
  return xr(t);
7887
7887
  Ya.warn("unknown body type");
7888
7888
  }
7889
- var Md = new TextEncoder();
7889
+ var Dd = new TextEncoder();
7890
7890
  function xr(t) {
7891
- return Md.encode(t).byteLength;
7891
+ return Dd.encode(t).byteLength;
7892
7892
  }
7893
- function Dd(t) {
7893
+ function Ud(t) {
7894
7894
  var e, n, r = 0;
7895
7895
  try {
7896
- for (var i = Cd(t.entries()), o = i.next(); !o.done; o = i.next()) {
7897
- var a = Rd(o.value, 2), u = a[0], c = a[1];
7896
+ for (var i = Rd(t.entries()), o = i.next(); !o.done; o = i.next()) {
7897
+ var a = Pd(o.value, 2), u = a[0], c = a[1];
7898
7898
  r += u.length, c instanceof Blob ? r += c.size : r += c.length;
7899
7899
  }
7900
7900
  } catch (s) {
@@ -7908,7 +7908,7 @@ function Dd(t) {
7908
7908
  }
7909
7909
  return r;
7910
7910
  }
7911
- var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
7911
+ var Vi = "0.57.1", jd = /* @__PURE__ */ function() {
7912
7912
  var t = function(e, n) {
7913
7913
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
7914
7914
  r.__proto__ = i;
@@ -7925,7 +7925,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
7925
7925
  }
7926
7926
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
7927
7927
  };
7928
- }(), jd = function(t, e) {
7928
+ }(), Bd = function(t, e) {
7929
7929
  var n = typeof Symbol == "function" && t[Symbol.iterator];
7930
7930
  if (!n) return t;
7931
7931
  var r = n.call(t), i, o = [], a;
@@ -7941,14 +7941,14 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
7941
7941
  }
7942
7942
  }
7943
7943
  return o;
7944
- }, Bd = function(t, e, n) {
7944
+ }, $d = function(t, e, n) {
7945
7945
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
7946
7946
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
7947
7947
  return t.concat(o || Array.prototype.slice.call(e));
7948
- }, Wn, $d = 300, Gi = typeof process == "object" && ((Wn = process.release) === null || Wn === void 0 ? void 0 : Wn.name) === "node", Fd = (
7948
+ }, Wn, Fd = 300, Gi = typeof process == "object" && ((Wn = process.release) === null || Wn === void 0 ? void 0 : Wn.name) === "node", Vd = (
7949
7949
  /** @class */
7950
7950
  function(t) {
7951
- Ud(e, t);
7951
+ jd(e, t);
7952
7952
  function e(n) {
7953
7953
  n === void 0 && (n = {});
7954
7954
  var r = t.call(this, "@opentelemetry/instrumentation-fetch", Vi, n) || this;
@@ -7962,7 +7962,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
7962
7962
  tt(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[S.RESPONSE_END]);
7963
7963
  }, e.prototype._addFinalSpanAttributes = function(n, r) {
7964
7964
  var i = he(r.url);
7965
- n.setAttribute(Od, r.status), r.statusText != null && n.setAttribute(yn.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(wd, i.host), n.setAttribute(Sd, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(Ad, navigator.userAgent);
7965
+ n.setAttribute(Ad, r.status), r.statusText != null && n.setAttribute(yn.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(Sd, i.host), n.setAttribute(Od, i.protocol.replace(":", "")), typeof navigator < "u" && n.setAttribute(xd, navigator.userAgent);
7966
7966
  }, e.prototype._addHeaders = function(n, r) {
7967
7967
  if (!za(r, this.getConfig().propagateTraceHeaderCorsUrls)) {
7968
7968
  var i = {};
@@ -8002,7 +8002,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8002
8002
  var o = (r.method || "GET").toUpperCase(), a = "HTTP " + o;
8003
8003
  return this.tracer.startSpan(a, {
8004
8004
  kind: wt.CLIENT,
8005
- attributes: (i = {}, i[yn.COMPONENT] = this.moduleName, i[Ed] = o, i[Td] = n, i)
8005
+ attributes: (i = {}, i[yn.COMPONENT] = this.moduleName, i[Td] = o, i[wd] = n, i)
8006
8006
  });
8007
8007
  }, e.prototype._findResourceAndAddNetworkEvents = function(n, r, i) {
8008
8008
  var o = r.entries;
@@ -8025,7 +8025,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8025
8025
  this._addFinalSpanAttributes(n, i), setTimeout(function() {
8026
8026
  var c;
8027
8027
  (c = r.observer) === null || c === void 0 || c.disconnect(), o._findResourceAndAddNetworkEvents(n, r, u), o._tasksCount--, o._clearResources(), n.end(a);
8028
- }, $d);
8028
+ }, Fd);
8029
8029
  }, e.prototype._patchConstructor = function() {
8030
8030
  var n = this;
8031
8031
  return function(r) {
@@ -8037,8 +8037,8 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8037
8037
  if (!l)
8038
8038
  return r.apply(this, o);
8039
8039
  var p = i._prepareSpanData(c);
8040
- i.getConfig().measureRequestSize && Pd.apply(void 0, Bd([], jd(o), !1)).then(function(_) {
8041
- _ && l.setAttribute(xd, _);
8040
+ i.getConfig().measureRequestSize && Id.apply(void 0, $d([], Bd(o), !1)).then(function(_) {
8041
+ _ && l.setAttribute(Nd, _);
8042
8042
  }).catch(function(_) {
8043
8043
  i._diag.warn("getFetchBodyLength", _);
8044
8044
  });
@@ -8091,7 +8091,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8091
8091
  };
8092
8092
  }, e.prototype._applyAttributesAfterFetch = function(n, r, i) {
8093
8093
  var o = this, a = this.getConfig().applyCustomAttributesOnSpan;
8094
- a && fd(function() {
8094
+ a && hd(function() {
8095
8095
  return a(n, r, i);
8096
8096
  }, function(u) {
8097
8097
  u && o._diag.error("applyCustomAttributesOnSpan", u);
@@ -8114,11 +8114,11 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8114
8114
  this._diag.warn("this instrumentation is intended for web usage only, it does not instrument Node.js's fetch()");
8115
8115
  return;
8116
8116
  }
8117
- hd(fetch) && (this._unwrap(mt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(mt, "fetch", this._patchConstructor());
8117
+ dd(fetch) && (this._unwrap(mt, "fetch"), this._diag.debug("removing previous patch for constructor")), this._wrap(mt, "fetch", this._patchConstructor());
8118
8118
  }, e.prototype.disable = function() {
8119
8119
  Gi || (this._unwrap(mt, "fetch"), this._usedResources = /* @__PURE__ */ new WeakSet());
8120
8120
  }, e;
8121
- }(pd)
8121
+ }(fd)
8122
8122
  ), Wa = (
8123
8123
  /** @class */
8124
8124
  function() {
@@ -8127,7 +8127,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8127
8127
  return t.prototype.emit = function(e) {
8128
8128
  }, t;
8129
8129
  }()
8130
- ), Vd = new Wa(), Gd = (
8130
+ ), Gd = new Wa(), Hd = (
8131
8131
  /** @class */
8132
8132
  function() {
8133
8133
  function t() {
@@ -8136,7 +8136,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8136
8136
  return new Wa();
8137
8137
  }, t;
8138
8138
  }()
8139
- ), Ja = new Gd(), Hd = (
8139
+ ), Ja = new Hd(), qd = (
8140
8140
  /** @class */
8141
8141
  function() {
8142
8142
  function t(e, n, r, i) {
@@ -8148,7 +8148,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8148
8148
  if (this._delegate)
8149
8149
  return this._delegate;
8150
8150
  var e = this._provider.getDelegateLogger(this.name, this.version, this.options);
8151
- return e ? (this._delegate = e, this._delegate) : Vd;
8151
+ return e ? (this._delegate = e, this._delegate) : Gd;
8152
8152
  }, t;
8153
8153
  }()
8154
8154
  ), Hi = (
@@ -8158,7 +8158,7 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8158
8158
  }
8159
8159
  return t.prototype.getLogger = function(e, n, r) {
8160
8160
  var i;
8161
- return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new Hd(this, e, n, r);
8161
+ return (i = this.getDelegateLogger(e, n, r)) !== null && i !== void 0 ? i : new qd(this, e, n, r);
8162
8162
  }, t.prototype.getDelegate = function() {
8163
8163
  var e;
8164
8164
  return (e = this._delegate) !== null && e !== void 0 ? e : Ja;
@@ -8169,13 +8169,13 @@ var Vi = "0.57.1", Ud = /* @__PURE__ */ function() {
8169
8169
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(e, n, r);
8170
8170
  }, t;
8171
8171
  }()
8172
- ), qd = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Bt = Symbol.for("io.opentelemetry.js.api.logs"), pt = qd;
8173
- function zd(t, e, n) {
8172
+ ), zd = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Bt = Symbol.for("io.opentelemetry.js.api.logs"), pt = zd;
8173
+ function Xd(t, e, n) {
8174
8174
  return function(r) {
8175
8175
  return r === t ? e : n;
8176
8176
  };
8177
8177
  }
8178
- var qi = 1, Xd = (
8178
+ var qi = 1, Kd = (
8179
8179
  /** @class */
8180
8180
  function() {
8181
8181
  function t() {
@@ -8184,7 +8184,7 @@ var qi = 1, Xd = (
8184
8184
  return t.getInstance = function() {
8185
8185
  return this._instance || (this._instance = new t()), this._instance;
8186
8186
  }, t.prototype.setGlobalLoggerProvider = function(e) {
8187
- return pt[Bt] ? this.getLoggerProvider() : (pt[Bt] = zd(qi, e, Ja), this._proxyLoggerProvider.setDelegate(e), e);
8187
+ return pt[Bt] ? this.getLoggerProvider() : (pt[Bt] = Xd(qi, e, Ja), this._proxyLoggerProvider.setDelegate(e), e);
8188
8188
  }, t.prototype.getLoggerProvider = function() {
8189
8189
  var e, n;
8190
8190
  return (n = (e = pt[Bt]) === null || e === void 0 ? void 0 : e.call(pt, qi)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
@@ -8194,7 +8194,7 @@ var qi = 1, Xd = (
8194
8194
  delete pt[Bt], this._proxyLoggerProvider = new Hi();
8195
8195
  }, t;
8196
8196
  }()
8197
- ), Kd = Xd.getInstance(), Nr = function() {
8197
+ ), Yd = Kd.getInstance(), Nr = function() {
8198
8198
  return Nr = Object.assign || function(t) {
8199
8199
  for (var e, n = 1, r = arguments.length; n < r; n++) {
8200
8200
  e = arguments[n];
@@ -8202,13 +8202,13 @@ var qi = 1, Xd = (
8202
8202
  }
8203
8203
  return t;
8204
8204
  }, Nr.apply(this, arguments);
8205
- }, Yd = (
8205
+ }, Wd = (
8206
8206
  /** @class */
8207
8207
  function() {
8208
8208
  function t(e, n, r) {
8209
8209
  this.instrumentationName = e, this.instrumentationVersion = n, this._config = {}, this._wrap = ne.wrap, this._unwrap = ne.unwrap, this._massWrap = ne.massWrap, this._massUnwrap = ne.massUnwrap, this.setConfig(r), this._diag = E.createComponentLogger({
8210
8210
  namespace: e
8211
- }), this._tracer = C.getTracer(e, n), this._meter = de.getMeter(e, n), this._logger = Kd.getLogger(e, n), this._updateMetricInstruments();
8211
+ }), this._tracer = C.getTracer(e, n), this._meter = de.getMeter(e, n), this._logger = Yd.getLogger(e, n), this._updateMetricInstruments();
8212
8212
  }
8213
8213
  return Object.defineProperty(t.prototype, "meter", {
8214
8214
  /* Returns meter */
@@ -8254,7 +8254,7 @@ var qi = 1, Xd = (
8254
8254
  }
8255
8255
  }, t;
8256
8256
  }()
8257
- ), Wd = /* @__PURE__ */ function() {
8257
+ ), Jd = /* @__PURE__ */ function() {
8258
8258
  var t = function(e, n) {
8259
8259
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8260
8260
  r.__proto__ = i;
@@ -8271,18 +8271,18 @@ var qi = 1, Xd = (
8271
8271
  }
8272
8272
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8273
8273
  };
8274
- }(), Jd = (
8274
+ }(), Qd = (
8275
8275
  /** @class */
8276
8276
  function(t) {
8277
- Wd(e, t);
8277
+ Jd(e, t);
8278
8278
  function e(n, r, i) {
8279
8279
  var o = t.call(this, n, r, i) || this;
8280
8280
  return o._config.enabled && o.enable(), o;
8281
8281
  }
8282
8282
  return e;
8283
- }(Yd)
8283
+ }(Wd)
8284
8284
  );
8285
- function Qd(t, e, n) {
8285
+ function Zd(t, e, n) {
8286
8286
  var r, i;
8287
8287
  try {
8288
8288
  i = t();
@@ -8295,11 +8295,11 @@ function Qd(t, e, n) {
8295
8295
  function zi(t) {
8296
8296
  return typeof t == "function" && typeof t.__original == "function" && typeof t.__unwrap == "function" && t.__wrapped === !0;
8297
8297
  }
8298
- var Zd = "http.method", ey = "http.url", ty = "http.host", ny = "http.scheme", ry = "http.status_code", iy = "http.user_agent", oy = "http.request_content_length_uncompressed", ay = Zd, sy = ey, uy = ty, cy = ny, ly = ry, py = iy, fy = oy, fe;
8298
+ var ey = "http.method", ty = "http.url", ny = "http.host", ry = "http.scheme", iy = "http.status_code", oy = "http.user_agent", ay = "http.request_content_length_uncompressed", sy = ey, uy = ty, cy = ny, ly = ry, py = iy, fy = oy, hy = ay, fe;
8299
8299
  (function(t) {
8300
8300
  t.METHOD_OPEN = "open", t.METHOD_SEND = "send", t.EVENT_ABORT = "abort", t.EVENT_ERROR = "error", t.EVENT_LOAD = "loaded", t.EVENT_TIMEOUT = "timeout";
8301
8301
  })(fe || (fe = {}));
8302
- var hy = function(t) {
8302
+ var dy = function(t) {
8303
8303
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
8304
8304
  if (n) return n.call(t);
8305
8305
  if (t && typeof t.length == "number") return {
@@ -8308,7 +8308,7 @@ var hy = function(t) {
8308
8308
  }
8309
8309
  };
8310
8310
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
8311
- }, dy = function(t, e) {
8311
+ }, yy = function(t, e) {
8312
8312
  var n = typeof Symbol == "function" && t[Symbol.iterator];
8313
8313
  if (!n) return t;
8314
8314
  var r = n.call(t), i, o = [], a;
@@ -8324,10 +8324,10 @@ var hy = function(t) {
8324
8324
  }
8325
8325
  }
8326
8326
  return o;
8327
- }, yy = E.createComponentLogger({
8327
+ }, my = E.createComponentLogger({
8328
8328
  namespace: "@opentelemetry/opentelemetry-instrumentation-xml-http-request/utils"
8329
8329
  });
8330
- function my(t) {
8330
+ function vy(t) {
8331
8331
  if (typeof Document < "u" && t instanceof Document)
8332
8332
  return new XMLSerializer().serializeToString(document).length;
8333
8333
  if (t instanceof Blob)
@@ -8335,22 +8335,22 @@ function my(t) {
8335
8335
  if (t.byteLength !== void 0)
8336
8336
  return t.byteLength;
8337
8337
  if (t instanceof FormData)
8338
- return gy(t);
8338
+ return _y(t);
8339
8339
  if (t instanceof URLSearchParams)
8340
8340
  return Xi(t.toString());
8341
8341
  if (typeof t == "string")
8342
8342
  return Xi(t);
8343
- yy.warn("unknown body type");
8343
+ my.warn("unknown body type");
8344
8344
  }
8345
- var vy = new TextEncoder();
8345
+ var gy = new TextEncoder();
8346
8346
  function Xi(t) {
8347
- return vy.encode(t).byteLength;
8347
+ return gy.encode(t).byteLength;
8348
8348
  }
8349
- function gy(t) {
8349
+ function _y(t) {
8350
8350
  var e, n, r = 0;
8351
8351
  try {
8352
- for (var i = hy(t.entries()), o = i.next(); !o.done; o = i.next()) {
8353
- var a = dy(o.value, 2), u = a[0], c = a[1];
8352
+ for (var i = dy(t.entries()), o = i.next(); !o.done; o = i.next()) {
8353
+ var a = yy(o.value, 2), u = a[0], c = a[1];
8354
8354
  r += u.length, c instanceof Blob ? r += c.size : r += c.length;
8355
8355
  }
8356
8356
  } catch (s) {
@@ -8368,7 +8368,7 @@ var Ki = "0.57.1", Lr;
8368
8368
  (function(t) {
8369
8369
  t.HTTP_STATUS_TEXT = "http.status_text";
8370
8370
  })(Lr || (Lr = {}));
8371
- var _y = /* @__PURE__ */ function() {
8371
+ var by = /* @__PURE__ */ function() {
8372
8372
  var t = function(e, n) {
8373
8373
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8374
8374
  r.__proto__ = i;
@@ -8385,10 +8385,10 @@ var _y = /* @__PURE__ */ function() {
8385
8385
  }
8386
8386
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
8387
8387
  };
8388
- }(), by = 300, Ey = (
8388
+ }(), Ey = 300, Ty = (
8389
8389
  /** @class */
8390
8390
  function(t) {
8391
- _y(e, t);
8391
+ by(e, t);
8392
8392
  function e(n) {
8393
8393
  n === void 0 && (n = {});
8394
8394
  var r = t.call(this, "@opentelemetry/instrumentation-xml-http-request", Ki, n) || this;
@@ -8417,11 +8417,11 @@ var _y = /* @__PURE__ */ function() {
8417
8417
  }, e.prototype._addFinalSpanAttributes = function(n, r, i) {
8418
8418
  if (typeof i == "string") {
8419
8419
  var o = he(i);
8420
- r.status !== void 0 && n.setAttribute(ly, r.status), r.statusText !== void 0 && n.setAttribute(Lr.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(uy, o.host), n.setAttribute(cy, o.protocol.replace(":", "")), n.setAttribute(py, navigator.userAgent);
8420
+ r.status !== void 0 && n.setAttribute(py, r.status), r.statusText !== void 0 && n.setAttribute(Lr.HTTP_STATUS_TEXT, r.statusText), n.setAttribute(cy, o.host), n.setAttribute(ly, o.protocol.replace(":", "")), n.setAttribute(fy, navigator.userAgent);
8421
8421
  }
8422
8422
  }, e.prototype._applyAttributesAfterXHR = function(n, r) {
8423
8423
  var i = this, o = this.getConfig().applyCustomAttributesOnSpan;
8424
- typeof o == "function" && Qd(function() {
8424
+ typeof o == "function" && Zd(function() {
8425
8425
  return o(n, r);
8426
8426
  }, function(a) {
8427
8427
  a && i._diag.error("applyCustomAttributesOnSpan", a);
@@ -8467,7 +8467,7 @@ var _y = /* @__PURE__ */ function() {
8467
8467
  }
8468
8468
  var a = i.toUpperCase(), u = this.tracer.startSpan(a, {
8469
8469
  kind: wt.CLIENT,
8470
- attributes: (o = {}, o[ay] = i, o[sy] = he(r).toString(), o)
8470
+ attributes: (o = {}, o[sy] = i, o[uy] = he(r).toString(), o)
8471
8471
  });
8472
8472
  return u.addEvent(fe.METHOD_OPEN), this._cleanPreviousSpanInformation(n), this._xhrMem.set(n, {
8473
8473
  span: u,
@@ -8501,7 +8501,7 @@ var _y = /* @__PURE__ */ function() {
8501
8501
  var m = Ue(), y = Date.now();
8502
8502
  setTimeout(function() {
8503
8503
  r(l, f, m, y);
8504
- }, by);
8504
+ }, Ey);
8505
8505
  }
8506
8506
  }
8507
8507
  function o() {
@@ -8531,8 +8531,8 @@ var _y = /* @__PURE__ */ function() {
8531
8531
  var v = y.span, _ = y.spanUrl;
8532
8532
  if (v && _) {
8533
8533
  if (n.getConfig().measureRequestSize && f != null && f[0]) {
8534
- var T = f[0], P = my(T);
8535
- P !== void 0 && v.setAttribute(fy, P);
8534
+ var T = f[0], P = vy(T);
8535
+ P !== void 0 && v.setAttribute(hy, P);
8536
8536
  }
8537
8537
  L.with(C.setSpan(L.active(), v), function() {
8538
8538
  n._tasksCount++, y.sendStartTime = Ue(), v.addEvent(fe.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), y.callbackToRemoveEvents = function() {
@@ -8548,35 +8548,35 @@ var _y = /* @__PURE__ */ function() {
8548
8548
  }, e.prototype.disable = function() {
8549
8549
  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();
8550
8550
  }, e;
8551
- }(Jd)
8551
+ }(Qd)
8552
8552
  );
8553
- const Ty = (t, e, n) => {
8553
+ const wy = (t, e, n) => {
8554
8554
  var r, i;
8555
8555
  const o = k({}, e);
8556
8556
  return n ? ((r = Object.keys(o)) == null || r.forEach((a) => {
8557
8557
  [...n].includes(a?.toLowerCase()) || (o[a] = "[REDACTED]");
8558
8558
  }), o) : ((i = Object.keys(o)) == null || i.forEach((a) => {
8559
- [...wy, ...t].includes(
8559
+ [...Sy, ...t].includes(
8560
8560
  a?.toLowerCase()
8561
8561
  ) && (o[a] = "[REDACTED]");
8562
8562
  }), o);
8563
- }, wy = [
8563
+ }, Sy = [
8564
8564
  "authorization",
8565
8565
  "cookie",
8566
8566
  "proxy-authorization",
8567
8567
  "token"
8568
- ], Sy = [
8568
+ ], Oy = [
8569
8569
  "https://www.googleapis.com/identitytoolkit",
8570
8570
  "https://securetoken.googleapis.com"
8571
- ], Oy = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), Ay = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
8572
- function xy(t) {
8573
- return !!(t.includes("/sdk/evalx") && t.match(Oy) || t.includes("/eval/") && t.match(Ay));
8571
+ ], Ay = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), xy = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
8572
+ function Ny(t) {
8573
+ return !!(t.includes("/sdk/evalx") && t.match(Ay) || t.includes("/eval/") && t.match(xy));
8574
8574
  }
8575
- const Ny = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8575
+ const Ly = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8576
8576
  (e) => t.toLocaleLowerCase().includes(e)
8577
- ), Ly = (t) => xy(t), Cy = (t, e) => e.some(
8577
+ ), Cy = (t) => Ny(t), Ry = (t, e) => e.some(
8578
8578
  (n) => t.toLocaleLowerCase().includes(n)
8579
- ), Ry = (t, e, n) => !Cy(t, e) && !Ly(t) && !Ny(t), Py = (t, e, n) => {
8579
+ ), Py = (t, e, n) => !Ry(t, e) && !Cy(t) && !Ly(t), Iy = (t, e, n) => {
8580
8580
  var r;
8581
8581
  if (n.some(
8582
8582
  (a) => t.toLowerCase().includes(a)
@@ -8588,7 +8588,7 @@ const Ny = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8588
8588
  return i.forEach((a) => {
8589
8589
  t.match(a) && (o = !0);
8590
8590
  }), o;
8591
- }, Yi = 64 * 1024, Iy = {
8591
+ }, Yi = 64 * 1024, ky = {
8592
8592
  "application/json": 64 * 1024 * 1024,
8593
8593
  // MB
8594
8594
  "text/plain": 64 * 1024 * 1024
@@ -8603,7 +8603,7 @@ const Ny = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8603
8603
  c = c.split(";")[0];
8604
8604
  } catch {
8605
8605
  }
8606
- u = (a = Iy[c]) != null ? a : Yi;
8606
+ u = (a = ky[c]) != null ? a : Yi;
8607
8607
  }
8608
8608
  if (t) {
8609
8609
  if (e)
@@ -8634,7 +8634,7 @@ const Ny = (t) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
8634
8634
  } catch {
8635
8635
  }
8636
8636
  return t;
8637
- }, ky = (t, e, n) => Tn(void 0, null, function* () {
8637
+ }, My = (t, e, n) => Tn(void 0, null, function* () {
8638
8638
  let r;
8639
8639
  try {
8640
8640
  const i = t.clone().body;
@@ -8671,7 +8671,7 @@ var Za = (
8671
8671
  return this._delegate.shutdown();
8672
8672
  }, t;
8673
8673
  }()
8674
- ), My = /* @__PURE__ */ function() {
8674
+ ), Dy = /* @__PURE__ */ function() {
8675
8675
  var t = function(e, n) {
8676
8676
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
8677
8677
  r.__proto__ = i;
@@ -8691,7 +8691,7 @@ var Za = (
8691
8691
  }(), Wi = (
8692
8692
  /** @class */
8693
8693
  function(t) {
8694
- My(e, t);
8694
+ Dy(e, t);
8695
8695
  function e(n, r, i) {
8696
8696
  var o = t.call(this, n) || this;
8697
8697
  return o.name = "OTLPExporterError", o.data = i, o.code = r, o;
@@ -8699,33 +8699,33 @@ var Za = (
8699
8699
  return e;
8700
8700
  }(Error)
8701
8701
  );
8702
- function Dy(t) {
8702
+ function Uy(t) {
8703
8703
  if (!Number.isNaN(t) && Number.isFinite(t) && t > 0)
8704
8704
  return t;
8705
8705
  throw new Error("Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '" + t + "')");
8706
8706
  }
8707
- function Uy(t) {
8707
+ function jy(t) {
8708
8708
  if (t != null)
8709
8709
  return function() {
8710
8710
  return t;
8711
8711
  };
8712
8712
  }
8713
- function jy(t, e, n) {
8713
+ function By(t, e, n) {
8714
8714
  var r, i, o, a, u, c;
8715
8715
  return {
8716
- timeoutMillis: Dy((i = (r = t.timeoutMillis) !== null && r !== void 0 ? r : e.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
8716
+ timeoutMillis: Uy((i = (r = t.timeoutMillis) !== null && r !== void 0 ? r : e.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
8717
8717
  concurrencyLimit: (a = (o = t.concurrencyLimit) !== null && o !== void 0 ? o : e.concurrencyLimit) !== null && a !== void 0 ? a : n.concurrencyLimit,
8718
8718
  compression: (c = (u = t.compression) !== null && u !== void 0 ? u : e.compression) !== null && c !== void 0 ? c : n.compression
8719
8719
  };
8720
8720
  }
8721
- function By() {
8721
+ function $y() {
8722
8722
  return {
8723
8723
  timeoutMillis: 1e4,
8724
8724
  concurrencyLimit: 30,
8725
8725
  compression: "none"
8726
8726
  };
8727
8727
  }
8728
- var $y = function(t, e, n, r) {
8728
+ var Fy = function(t, e, n, r) {
8729
8729
  function i(o) {
8730
8730
  return o instanceof n ? o : new n(function(a) {
8731
8731
  a(o);
@@ -8751,7 +8751,7 @@ var $y = function(t, e, n, r) {
8751
8751
  }
8752
8752
  s((r = r.apply(t, [])).next());
8753
8753
  });
8754
- }, Fy = function(t, e) {
8754
+ }, Vy = function(t, e) {
8755
8755
  var n = { label: 0, sent: function() {
8756
8756
  if (o[0] & 1) throw o[1];
8757
8757
  return o[1];
@@ -8810,7 +8810,7 @@ var $y = function(t, e, n, r) {
8810
8810
  if (s[0] & 5) throw s[1];
8811
8811
  return { value: s[0] ? s[1] : void 0, done: !0 };
8812
8812
  }
8813
- }, Vy = (
8813
+ }, Gy = (
8814
8814
  /** @class */
8815
8815
  function() {
8816
8816
  function t(e) {
@@ -8829,8 +8829,8 @@ var $y = function(t, e, n, r) {
8829
8829
  }, t.prototype.hasReachedLimit = function() {
8830
8830
  return this._sendingPromises.length >= this._concurrencyLimit;
8831
8831
  }, t.prototype.awaitAll = function() {
8832
- return $y(this, void 0, void 0, function() {
8833
- return Fy(this, function(e) {
8832
+ return Fy(this, void 0, void 0, function() {
8833
+ return Vy(this, function(e) {
8834
8834
  switch (e.label) {
8835
8835
  case 0:
8836
8836
  return [4, Promise.all(this._sendingPromises)];
@@ -8845,20 +8845,20 @@ var $y = function(t, e, n, r) {
8845
8845
  }, t;
8846
8846
  }()
8847
8847
  );
8848
- function Gy(t) {
8849
- return new Vy(t.concurrencyLimit);
8850
- }
8851
8848
  function Hy(t) {
8849
+ return new Gy(t.concurrencyLimit);
8850
+ }
8851
+ function qy(t) {
8852
8852
  return Object.prototype.hasOwnProperty.call(t, "partialSuccess");
8853
8853
  }
8854
- function qy() {
8854
+ function zy() {
8855
8855
  return {
8856
8856
  handleResponse: function(t) {
8857
- t == null || !Hy(t) || t.partialSuccess == null || Object.keys(t.partialSuccess).length === 0 || E.warn("Received Partial Success response:", JSON.stringify(t.partialSuccess));
8857
+ t == null || !qy(t) || t.partialSuccess == null || Object.keys(t.partialSuccess).length === 0 || E.warn("Received Partial Success response:", JSON.stringify(t.partialSuccess));
8858
8858
  }
8859
8859
  };
8860
8860
  }
8861
- var zy = function(t, e, n, r) {
8861
+ var Xy = function(t, e, n, r) {
8862
8862
  function i(o) {
8863
8863
  return o instanceof n ? o : new n(function(a) {
8864
8864
  a(o);
@@ -8884,7 +8884,7 @@ var zy = function(t, e, n, r) {
8884
8884
  }
8885
8885
  s((r = r.apply(t, [])).next());
8886
8886
  });
8887
- }, Xy = function(t, e) {
8887
+ }, Ky = function(t, e) {
8888
8888
  var n = { label: 0, sent: function() {
8889
8889
  if (o[0] & 1) throw o[1];
8890
8890
  return o[1];
@@ -8943,7 +8943,7 @@ var zy = function(t, e, n, r) {
8943
8943
  if (s[0] & 5) throw s[1];
8944
8944
  return { value: s[0] ? s[1] : void 0, done: !0 };
8945
8945
  }
8946
- }, Ky = (
8946
+ }, Yy = (
8947
8947
  /** @class */
8948
8948
  function() {
8949
8949
  function t(e, n, r, i, o) {
@@ -9002,8 +9002,8 @@ var zy = function(t, e, n, r) {
9002
9002
  }, t.prototype.forceFlush = function() {
9003
9003
  return this._promiseQueue.awaitAll();
9004
9004
  }, t.prototype.shutdown = function() {
9005
- return zy(this, void 0, void 0, function() {
9006
- return Xy(this, function(e) {
9005
+ return Xy(this, void 0, void 0, function() {
9006
+ return Ky(this, function(e) {
9007
9007
  switch (e.label) {
9008
9008
  case 0:
9009
9009
  return this._diagLogger.debug("shutdown started"), [4, this.forceFlush()];
@@ -9018,33 +9018,33 @@ var zy = function(t, e, n, r) {
9018
9018
  }, t;
9019
9019
  }()
9020
9020
  );
9021
- function Yy(t, e) {
9022
- return new Ky(t.transport, t.serializer, qy(), t.promiseHandler, e.timeout);
9021
+ function Wy(t, e) {
9022
+ return new Yy(t.transport, t.serializer, zy(), t.promiseHandler, e.timeout);
9023
9023
  }
9024
9024
  function es(t, e, n) {
9025
- return Yy({
9025
+ return Wy({
9026
9026
  transport: n,
9027
9027
  serializer: e,
9028
- promiseHandler: Gy(t)
9028
+ promiseHandler: Hy(t)
9029
9029
  }, { timeout: t.timeoutMillis });
9030
9030
  }
9031
9031
  function ts(t) {
9032
9032
  var e = BigInt(1e9);
9033
9033
  return BigInt(t[0]) * e + BigInt(t[1]);
9034
9034
  }
9035
- function Wy(t) {
9035
+ function Jy(t) {
9036
9036
  var e = Number(BigInt.asUintN(32, t)), n = Number(BigInt.asUintN(32, t >> BigInt(32)));
9037
9037
  return { low: e, high: n };
9038
9038
  }
9039
9039
  function ns(t) {
9040
9040
  var e = ts(t);
9041
- return Wy(e);
9041
+ return Jy(e);
9042
9042
  }
9043
- function Jy(t) {
9043
+ function Qy(t) {
9044
9044
  var e = ts(t);
9045
9045
  return e.toString();
9046
9046
  }
9047
- var Qy = typeof BigInt < "u" ? Jy : ye;
9047
+ var Zy = typeof BigInt < "u" ? Qy : ye;
9048
9048
  function Ji(t) {
9049
9049
  return t;
9050
9050
  }
@@ -9052,7 +9052,7 @@ function rs(t) {
9052
9052
  if (t !== void 0)
9053
9053
  return Jr(t);
9054
9054
  }
9055
- var Zy = {
9055
+ var em = {
9056
9056
  encodeHrTime: ns,
9057
9057
  encodeSpanContext: Jr,
9058
9058
  encodeOptionalSpanContext: rs
@@ -9060,15 +9060,15 @@ var Zy = {
9060
9060
  function is(t) {
9061
9061
  var e, n;
9062
9062
  if (t === void 0)
9063
- return Zy;
9063
+ return em;
9064
9064
  var r = (e = t.useLongBits) !== null && e !== void 0 ? e : !0, i = (n = t.useHex) !== null && n !== void 0 ? n : !1;
9065
9065
  return {
9066
- encodeHrTime: r ? ns : Qy,
9066
+ encodeHrTime: r ? ns : Zy,
9067
9067
  encodeSpanContext: i ? Ji : Jr,
9068
9068
  encodeOptionalSpanContext: i ? Ji : rs
9069
9069
  };
9070
9070
  }
9071
- var em = function(t, e) {
9071
+ var tm = function(t, e) {
9072
9072
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9073
9073
  if (!n) return t;
9074
9074
  var r = n.call(t), i, o = [], a;
@@ -9113,7 +9113,7 @@ function us(t) {
9113
9113
  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(us) } } : e === "object" && t != null ? {
9114
9114
  kvlistValue: {
9115
9115
  values: Object.entries(t).map(function(n) {
9116
- var r = em(n, 2), i = r[0], o = r[1];
9116
+ var r = tm(n, 2), i = r[0], o = r[1];
9117
9117
  return ss(i, o);
9118
9118
  })
9119
9119
  }
@@ -9127,7 +9127,7 @@ var ue;
9127
9127
  (function(t) {
9128
9128
  t[t.HISTOGRAM = 0] = "HISTOGRAM", t[t.EXPONENTIAL_HISTOGRAM = 1] = "EXPONENTIAL_HISTOGRAM", t[t.GAUGE = 2] = "GAUGE", t[t.SUM = 3] = "SUM";
9129
9129
  })(ue || (ue = {}));
9130
- var tm = /* @__PURE__ */ function() {
9130
+ var nm = /* @__PURE__ */ function() {
9131
9131
  var t = function(e, n) {
9132
9132
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
9133
9133
  r.__proto__ = i;
@@ -9229,7 +9229,7 @@ var tm = /* @__PURE__ */ function() {
9229
9229
  if (s[0] & 5) throw s[1];
9230
9230
  return { value: s[0] ? s[1] : void 0, done: !0 };
9231
9231
  }
9232
- }, nm = function(t, e) {
9232
+ }, rm = function(t, e) {
9233
9233
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9234
9234
  if (!n) return t;
9235
9235
  var r = n.call(t), i, o = [], a;
@@ -9245,11 +9245,11 @@ var tm = /* @__PURE__ */ function() {
9245
9245
  }
9246
9246
  }
9247
9247
  return o;
9248
- }, rm = function(t, e, n) {
9248
+ }, im = function(t, e, n) {
9249
9249
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
9250
9250
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
9251
9251
  return t.concat(o || Array.prototype.slice.call(e));
9252
- }, im = function(t) {
9252
+ }, om = function(t) {
9253
9253
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
9254
9254
  if (n) return n.call(t);
9255
9255
  if (t && typeof t.length == "number") return {
@@ -9259,7 +9259,7 @@ var tm = /* @__PURE__ */ function() {
9259
9259
  };
9260
9260
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
9261
9261
  };
9262
- function om(t) {
9262
+ function am(t) {
9263
9263
  return t != null;
9264
9264
  }
9265
9265
  function cs(t) {
@@ -9268,14 +9268,14 @@ function cs(t) {
9268
9268
  return [n, t[n]];
9269
9269
  })));
9270
9270
  }
9271
- function am(t) {
9271
+ function sm(t) {
9272
9272
  var e, n;
9273
9273
  return t.name + ":" + ((e = t.version) !== null && e !== void 0 ? e : "") + ":" + ((n = t.schemaUrl) !== null && n !== void 0 ? n : "");
9274
9274
  }
9275
9275
  var ls = (
9276
9276
  /** @class */
9277
9277
  function(t) {
9278
- tm(e, t);
9278
+ nm(e, t);
9279
9279
  function e(n) {
9280
9280
  var r = t.call(this, n) || this;
9281
9281
  return Object.setPrototypeOf(r, e.prototype), r;
@@ -9295,7 +9295,7 @@ function Ot(t, e) {
9295
9295
  throw clearTimeout(n), i;
9296
9296
  });
9297
9297
  }
9298
- function sm(t) {
9298
+ function um(t) {
9299
9299
  return Qi(this, void 0, void 0, function() {
9300
9300
  var e = this;
9301
9301
  return Zi(this, function(n) {
@@ -9328,21 +9328,21 @@ function sm(t) {
9328
9328
  });
9329
9329
  });
9330
9330
  }
9331
- function um(t) {
9331
+ function cm(t) {
9332
9332
  return t.status === "rejected";
9333
9333
  }
9334
9334
  function eo(t, e) {
9335
9335
  var n = [];
9336
9336
  return t.forEach(function(r) {
9337
- n.push.apply(n, rm([], nm(e(r)), !1));
9337
+ n.push.apply(n, im([], rm(e(r)), !1));
9338
9338
  }), n;
9339
9339
  }
9340
- function cm(t, e) {
9340
+ function lm(t, e) {
9341
9341
  var n, r;
9342
9342
  if (t.size !== e.size)
9343
9343
  return !1;
9344
9344
  try {
9345
- for (var i = im(t), o = i.next(); !o.done; o = i.next()) {
9345
+ for (var i = om(t), o = i.next(); !o.done; o = i.next()) {
9346
9346
  var a = o.value;
9347
9347
  if (!e.has(a))
9348
9348
  return !1;
@@ -9358,21 +9358,21 @@ function cm(t, e) {
9358
9358
  }
9359
9359
  return !0;
9360
9360
  }
9361
- function lm(t, e) {
9361
+ function pm(t, e) {
9362
9362
  for (var n = 0, r = t.length - 1, i = t.length; r >= n; ) {
9363
9363
  var o = n + Math.trunc((r - n) / 2);
9364
9364
  t[o] < e ? n = o + 1 : (i = o, r = o - 1);
9365
9365
  }
9366
9366
  return i;
9367
9367
  }
9368
- function pm(t, e) {
9368
+ function fm(t, e) {
9369
9369
  return t.toLowerCase() === e.toLowerCase();
9370
9370
  }
9371
9371
  var je;
9372
9372
  (function(t) {
9373
9373
  t[t.DROP = 0] = "DROP", t[t.SUM = 1] = "SUM", t[t.LAST_VALUE = 2] = "LAST_VALUE", t[t.HISTOGRAM = 3] = "HISTOGRAM", t[t.EXPONENTIAL_HISTOGRAM = 4] = "EXPONENTIAL_HISTOGRAM";
9374
9374
  })(je || (je = {}));
9375
- var fm = (
9375
+ var hm = (
9376
9376
  /** @class */
9377
9377
  function() {
9378
9378
  function t() {
@@ -9390,7 +9390,7 @@ var fm = (
9390
9390
  })(O || (O = {}));
9391
9391
  function be(t, e, n) {
9392
9392
  var r, i, o, a;
9393
- return mm(t) || E.warn('Invalid metric name: "' + t + '". The metric name should be a ASCII string with a length no greater than 255 characters.'), {
9393
+ return vm(t) || E.warn('Invalid metric name: "' + t + '". The metric name should be a ASCII string with a length no greater than 255 characters.'), {
9394
9394
  name: t,
9395
9395
  type: e,
9396
9396
  description: (r = n?.description) !== null && r !== void 0 ? r : "",
@@ -9399,7 +9399,7 @@ function be(t, e, n) {
9399
9399
  advice: (a = n?.advice) !== null && a !== void 0 ? a : {}
9400
9400
  };
9401
9401
  }
9402
- function hm(t, e) {
9402
+ function dm(t, e) {
9403
9403
  var n, r;
9404
9404
  return {
9405
9405
  name: (n = t.name) !== null && n !== void 0 ? n : e.name,
@@ -9410,14 +9410,14 @@ function hm(t, e) {
9410
9410
  advice: e.advice
9411
9411
  };
9412
9412
  }
9413
- function dm(t, e) {
9414
- return pm(t.name, e.name) && t.unit === e.unit && t.type === e.type && t.valueType === e.valueType;
9413
+ function ym(t, e) {
9414
+ return fm(t.name, e.name) && t.unit === e.unit && t.type === e.type && t.valueType === e.valueType;
9415
9415
  }
9416
- var ym = /^[a-z][a-z0-9_.\-/]{0,254}$/i;
9417
- function mm(t) {
9418
- return t.match(ym) != null;
9416
+ var mm = /^[a-z][a-z0-9_.\-/]{0,254}$/i;
9417
+ function vm(t) {
9418
+ return t.match(mm) != null;
9419
9419
  }
9420
- var vm = function(t, e) {
9420
+ var gm = function(t, e) {
9421
9421
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9422
9422
  if (!n) return t;
9423
9423
  var r = n.call(t), i, o = [], a;
@@ -9434,7 +9434,7 @@ var vm = function(t, e) {
9434
9434
  }
9435
9435
  return o;
9436
9436
  };
9437
- function gm(t) {
9437
+ function _m(t) {
9438
9438
  var e = t.map(function() {
9439
9439
  return 0;
9440
9440
  });
@@ -9454,12 +9454,12 @@ var Jn = (
9454
9454
  /** @class */
9455
9455
  function() {
9456
9456
  function t(e, n, r, i) {
9457
- r === void 0 && (r = !0), i === void 0 && (i = gm(n)), this.startTime = e, this._boundaries = n, this._recordMinMax = r, this._current = i;
9457
+ r === void 0 && (r = !0), i === void 0 && (i = _m(n)), this.startTime = e, this._boundaries = n, this._recordMinMax = r, this._current = i;
9458
9458
  }
9459
9459
  return t.prototype.record = function(e) {
9460
9460
  if (!Number.isNaN(e)) {
9461
9461
  this._current.count += 1, this._current.sum += e, this._recordMinMax && (this._current.min = Math.min(e, this._current.min), this._current.max = Math.max(e, this._current.max), this._current.hasMinMax = !0);
9462
- var n = lm(this._boundaries, e);
9462
+ var n = pm(this._boundaries, e);
9463
9463
  this._current.buckets.counts[n] += 1;
9464
9464
  }
9465
9465
  }, t.prototype.setStartTime = function(e) {
@@ -9511,7 +9511,7 @@ var Jn = (
9511
9511
  aggregationTemporality: n,
9512
9512
  dataPointType: ue.HISTOGRAM,
9513
9513
  dataPoints: r.map(function(o) {
9514
- var a = vm(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = e.type === O.GAUGE || e.type === O.UP_DOWN_COUNTER || e.type === O.OBSERVABLE_GAUGE || e.type === O.OBSERVABLE_UP_DOWN_COUNTER;
9514
+ var a = gm(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = e.type === O.GAUGE || e.type === O.UP_DOWN_COUNTER || e.type === O.OBSERVABLE_GAUGE || e.type === O.OBSERVABLE_UP_DOWN_COUNTER;
9515
9515
  return {
9516
9516
  attributes: u,
9517
9517
  startTime: c.startTime,
@@ -9552,7 +9552,7 @@ var Jn = (
9552
9552
  /** @class */
9553
9553
  function() {
9554
9554
  function t(e, n, r, i) {
9555
- e === void 0 && (e = new _m()), n === void 0 && (n = 0), r === void 0 && (r = 0), i === void 0 && (i = 0), this.backing = e, this.indexBase = n, this.indexStart = r, this.indexEnd = i;
9555
+ e === void 0 && (e = new bm()), n === void 0 && (n = 0), r === void 0 && (r = 0), i === void 0 && (i = 0), this.backing = e, this.indexBase = n, this.indexStart = r, this.indexEnd = i;
9556
9556
  }
9557
9557
  return Object.defineProperty(t.prototype, "offset", {
9558
9558
  /**
@@ -9620,7 +9620,7 @@ var Jn = (
9620
9620
  e !== n && this.incrementBucket(e, this.backing.emptyBucket(n));
9621
9621
  }, t;
9622
9622
  }()
9623
- ), _m = (
9623
+ ), bm = (
9624
9624
  /** @class */
9625
9625
  function() {
9626
9626
  function t(e) {
@@ -9660,26 +9660,26 @@ var Jn = (
9660
9660
  return new t(Zn([], Qn(this._counts), !1));
9661
9661
  }, t;
9662
9662
  }()
9663
- ), bm = 52, Em = 2146435072, Tm = 1048575, fs = 1023, hs = -1022, ds = fs, Cr = Math.pow(2, -1022);
9663
+ ), Em = 52, Tm = 2146435072, wm = 1048575, fs = 1023, hs = -1022, ds = fs, Cr = Math.pow(2, -1022);
9664
9664
  function ys(t) {
9665
9665
  var e = new DataView(new ArrayBuffer(8));
9666
9666
  e.setFloat64(0, t);
9667
- var n = e.getUint32(0), r = (n & Em) >> 20;
9667
+ var n = e.getUint32(0), r = (n & Tm) >> 20;
9668
9668
  return r - fs;
9669
9669
  }
9670
9670
  function ms(t) {
9671
9671
  var e = new DataView(new ArrayBuffer(8));
9672
9672
  e.setFloat64(0, t);
9673
- var n = e.getUint32(0), r = e.getUint32(4), i = (n & Tm) * Math.pow(2, 32);
9673
+ var n = e.getUint32(0), r = e.getUint32(4), i = (n & wm) * Math.pow(2, 32);
9674
9674
  return i + r;
9675
9675
  }
9676
9676
  function Rr(t, e) {
9677
9677
  return t === 0 || t === Number.POSITIVE_INFINITY || t === Number.NEGATIVE_INFINITY || Number.isNaN(t) ? t : t * Math.pow(2, e);
9678
9678
  }
9679
- function wm(t) {
9679
+ function Sm(t) {
9680
9680
  return t--, t |= t >> 1, t |= t >> 2, t |= t >> 4, t |= t >> 8, t |= t >> 16, t++, t;
9681
9681
  }
9682
- var Sm = /* @__PURE__ */ function() {
9682
+ var Om = /* @__PURE__ */ function() {
9683
9683
  var t = function(e, n) {
9684
9684
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
9685
9685
  r.__proto__ = i;
@@ -9699,13 +9699,13 @@ var Sm = /* @__PURE__ */ function() {
9699
9699
  }(), At = (
9700
9700
  /** @class */
9701
9701
  function(t) {
9702
- Sm(e, t);
9702
+ Om(e, t);
9703
9703
  function e() {
9704
9704
  return t !== null && t.apply(this, arguments) || this;
9705
9705
  }
9706
9706
  return e;
9707
9707
  }(Error)
9708
- ), Om = (
9708
+ ), Am = (
9709
9709
  /** @class */
9710
9710
  function() {
9711
9711
  function t(e) {
@@ -9714,7 +9714,7 @@ var Sm = /* @__PURE__ */ function() {
9714
9714
  return t.prototype.mapToIndex = function(e) {
9715
9715
  if (e < Cr)
9716
9716
  return this._minNormalLowerBoundaryIndex();
9717
- var n = ys(e), r = this._rightShift(ms(e) - 1, bm);
9717
+ var n = ys(e), r = this._rightShift(ms(e) - 1, Em);
9718
9718
  return n + r >> this._shift;
9719
9719
  }, t.prototype.lowerBoundary = function(e) {
9720
9720
  var n = this._minNormalLowerBoundaryIndex();
@@ -9743,7 +9743,7 @@ var Sm = /* @__PURE__ */ function() {
9743
9743
  return Math.floor(e * Math.pow(2, -n));
9744
9744
  }, t;
9745
9745
  }()
9746
- ), Am = (
9746
+ ), xm = (
9747
9747
  /** @class */
9748
9748
  function() {
9749
9749
  function t(e) {
@@ -9790,15 +9790,15 @@ var Sm = /* @__PURE__ */ function() {
9790
9790
  return (ds + 1 << this._scale) - 1;
9791
9791
  }, t;
9792
9792
  }()
9793
- ), no = -10, ro = 20, xm = Array.from({ length: 31 }, function(t, e) {
9794
- return e > 10 ? new Am(e - 10) : new Om(e - 10);
9793
+ ), no = -10, ro = 20, Nm = Array.from({ length: 31 }, function(t, e) {
9794
+ return e > 10 ? new xm(e - 10) : new Am(e - 10);
9795
9795
  });
9796
9796
  function io(t) {
9797
9797
  if (t > ro || t < no)
9798
9798
  throw new At("expected scale >= " + no + " && <= " + ro + ", got: " + t);
9799
- return xm[t + 10];
9799
+ return Nm[t + 10];
9800
9800
  }
9801
- var Nm = function(t, e) {
9801
+ var Lm = function(t, e) {
9802
9802
  var n = typeof Symbol == "function" && t[Symbol.iterator];
9803
9803
  if (!n) return t;
9804
9804
  var r = n.call(t), i, o = [], a;
@@ -9824,11 +9824,11 @@ var Nm = function(t, e) {
9824
9824
  return new t(Math.min(e.low, n.low), Math.max(e.high, n.high));
9825
9825
  }, t;
9826
9826
  }()
9827
- ), Lm = 20, Cm = 160, er = 2, Rm = (
9827
+ ), Cm = 20, Rm = 160, er = 2, Pm = (
9828
9828
  /** @class */
9829
9829
  function() {
9830
9830
  function t(e, n, r, i, o, a, u, c, s, l, p) {
9831
- e === void 0 && (e = e), n === void 0 && (n = Cm), 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 to()), l === void 0 && (l = new to()), p === void 0 && (p = io(Lm)), 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 < er && (E.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + er), this._maxSize = er);
9831
+ e === void 0 && (e = e), n === void 0 && (n = Rm), 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 to()), l === void 0 && (l = new to()), p === void 0 && (p = io(Cm)), 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 < er && (E.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + er), this._maxSize = er);
9832
9832
  }
9833
9833
  return t.prototype.record = function(e) {
9834
9834
  this.updateByIncrement(e, 1);
@@ -9964,7 +9964,7 @@ var Nm = function(t, e) {
9964
9964
  o < 0 && (o += e.backing.length), e.incrementBucket(o, r);
9965
9965
  }
9966
9966
  }, t.prototype._grow = function(e, n) {
9967
- var r = e.backing.length, i = e.indexBase - e.indexStart, o = r - i, a = wm(n);
9967
+ var r = e.backing.length, i = e.indexBase - e.indexStart, o = r - i, a = Sm(n);
9968
9968
  a > this._maxSize && (a = this._maxSize);
9969
9969
  var u = a - i;
9970
9970
  e.backing.growTo(a, o, u);
@@ -9998,14 +9998,14 @@ var Nm = function(t, e) {
9998
9998
  e.trim();
9999
9999
  }, t;
10000
10000
  }()
10001
- ), Pm = (
10001
+ ), Im = (
10002
10002
  /** @class */
10003
10003
  function() {
10004
10004
  function t(e, n) {
10005
10005
  this._maxSize = e, this._recordMinMax = n, this.kind = je.EXPONENTIAL_HISTOGRAM;
10006
10006
  }
10007
10007
  return t.prototype.createAccumulation = function(e) {
10008
- return new Rm(e, this._maxSize, this._recordMinMax);
10008
+ return new Pm(e, this._maxSize, this._recordMinMax);
10009
10009
  }, t.prototype.merge = function(e, n) {
10010
10010
  var r = n.clone();
10011
10011
  return r.merge(e), r;
@@ -10018,7 +10018,7 @@ var Nm = function(t, e) {
10018
10018
  aggregationTemporality: n,
10019
10019
  dataPointType: ue.EXPONENTIAL_HISTOGRAM,
10020
10020
  dataPoints: r.map(function(o) {
10021
- var a = Nm(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = e.type === O.GAUGE || e.type === O.UP_DOWN_COUNTER || e.type === O.OBSERVABLE_GAUGE || e.type === O.OBSERVABLE_UP_DOWN_COUNTER;
10021
+ var a = Lm(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = e.type === O.GAUGE || e.type === O.UP_DOWN_COUNTER || e.type === O.OBSERVABLE_GAUGE || e.type === O.OBSERVABLE_UP_DOWN_COUNTER;
10022
10022
  return {
10023
10023
  attributes: u,
10024
10024
  startTime: c.startTime,
@@ -10044,7 +10044,7 @@ var Nm = function(t, e) {
10044
10044
  };
10045
10045
  }, t;
10046
10046
  }()
10047
- ), Im = function(t, e) {
10047
+ ), km = function(t, e) {
10048
10048
  var n = typeof Symbol == "function" && t[Symbol.iterator];
10049
10049
  if (!n) return t;
10050
10050
  var r = n.call(t), i, o = [], a;
@@ -10074,7 +10074,7 @@ var Nm = function(t, e) {
10074
10074
  return this._current;
10075
10075
  }, t;
10076
10076
  }()
10077
- ), km = (
10077
+ ), Mm = (
10078
10078
  /** @class */
10079
10079
  function() {
10080
10080
  function t() {
@@ -10094,7 +10094,7 @@ var Nm = function(t, e) {
10094
10094
  aggregationTemporality: n,
10095
10095
  dataPointType: ue.GAUGE,
10096
10096
  dataPoints: r.map(function(o) {
10097
- var a = Im(o, 2), u = a[0], c = a[1];
10097
+ var a = km(o, 2), u = a[0], c = a[1];
10098
10098
  return {
10099
10099
  attributes: u,
10100
10100
  startTime: c.startTime,
@@ -10105,7 +10105,7 @@ var Nm = function(t, e) {
10105
10105
  };
10106
10106
  }, t;
10107
10107
  }()
10108
- ), Mm = function(t, e) {
10108
+ ), Dm = function(t, e) {
10109
10109
  var n = typeof Symbol == "function" && t[Symbol.iterator];
10110
10110
  if (!n) return t;
10111
10111
  var r = n.call(t), i, o = [], a;
@@ -10155,7 +10155,7 @@ var Nm = function(t, e) {
10155
10155
  aggregationTemporality: n,
10156
10156
  dataPointType: ue.SUM,
10157
10157
  dataPoints: r.map(function(o) {
10158
- var a = Mm(o, 2), u = a[0], c = a[1];
10158
+ var a = Dm(o, 2), u = a[0], c = a[1];
10159
10159
  return {
10160
10160
  attributes: u,
10161
10161
  startTime: c.startTime,
@@ -10198,12 +10198,12 @@ var Nm = function(t, e) {
10198
10198
  }, t.Histogram = function() {
10199
10199
  return bs;
10200
10200
  }, t.ExponentialHistogram = function() {
10201
- return Gm;
10202
- }, t.Default = function() {
10203
10201
  return Hm;
10202
+ }, t.Default = function() {
10203
+ return qm;
10204
10204
  }, t;
10205
10205
  }()
10206
- ), Dm = (
10206
+ ), Um = (
10207
10207
  /** @class */
10208
10208
  function(t) {
10209
10209
  Ve(e, t);
@@ -10212,9 +10212,9 @@ var Nm = function(t, e) {
10212
10212
  }
10213
10213
  return e.prototype.createAggregator = function(n) {
10214
10214
  return e.DEFAULT_INSTANCE;
10215
- }, e.DEFAULT_INSTANCE = new fm(), e;
10215
+ }, e.DEFAULT_INSTANCE = new hm(), e;
10216
10216
  }(_e)
10217
- ), Um = (
10217
+ ), jm = (
10218
10218
  /** @class */
10219
10219
  function(t) {
10220
10220
  Ve(e, t);
@@ -10232,7 +10232,7 @@ var Nm = function(t, e) {
10232
10232
  }
10233
10233
  }, e.MONOTONIC_INSTANCE = new oo(!0), e.NON_MONOTONIC_INSTANCE = new oo(!1), e;
10234
10234
  }(_e)
10235
- ), jm = (
10235
+ ), Bm = (
10236
10236
  /** @class */
10237
10237
  function(t) {
10238
10238
  Ve(e, t);
@@ -10241,9 +10241,9 @@ var Nm = function(t, e) {
10241
10241
  }
10242
10242
  return e.prototype.createAggregator = function(n) {
10243
10243
  return e.DEFAULT_INSTANCE;
10244
- }, e.DEFAULT_INSTANCE = new km(), e;
10244
+ }, e.DEFAULT_INSTANCE = new Mm(), e;
10245
10245
  }(_e)
10246
- ), Bm = (
10246
+ ), $m = (
10247
10247
  /** @class */
10248
10248
  function(t) {
10249
10249
  Ve(e, t);
@@ -10254,7 +10254,7 @@ var Nm = function(t, e) {
10254
10254
  return e.DEFAULT_INSTANCE;
10255
10255
  }, e.DEFAULT_INSTANCE = new ps([0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1e3, 2500, 5e3, 7500, 1e4], !0), e;
10256
10256
  }(_e)
10257
- ), $m = (
10257
+ ), Fm = (
10258
10258
  /** @class */
10259
10259
  function(t) {
10260
10260
  Ve(e, t);
@@ -10273,7 +10273,7 @@ var Nm = function(t, e) {
10273
10273
  return new ps(this._boundaries, this._recordMinMax);
10274
10274
  }, e;
10275
10275
  }(_e)
10276
- ), Fm = (
10276
+ ), Vm = (
10277
10277
  /** @class */
10278
10278
  function(t) {
10279
10279
  Ve(e, t);
@@ -10283,10 +10283,10 @@ var Nm = function(t, e) {
10283
10283
  return i._maxSize = n, i._recordMinMax = r, i;
10284
10284
  }
10285
10285
  return e.prototype.createAggregator = function(n) {
10286
- return new Pm(this._maxSize, this._recordMinMax);
10286
+ return new Im(this._maxSize, this._recordMinMax);
10287
10287
  }, e;
10288
10288
  }(_e)
10289
- ), Vm = (
10289
+ ), Gm = (
10290
10290
  /** @class */
10291
10291
  function(t) {
10292
10292
  Ve(e, t);
@@ -10304,16 +10304,16 @@ var Nm = function(t, e) {
10304
10304
  case O.OBSERVABLE_GAUGE:
10305
10305
  return _s;
10306
10306
  case O.HISTOGRAM:
10307
- return n.advice.explicitBucketBoundaries ? new $m(n.advice.explicitBucketBoundaries) : bs;
10307
+ return n.advice.explicitBucketBoundaries ? new Fm(n.advice.explicitBucketBoundaries) : bs;
10308
10308
  }
10309
10309
  return E.warn("Unable to recognize instrument type: " + n.type), vs;
10310
10310
  }, e.prototype.createAggregator = function(n) {
10311
10311
  return this._resolve(n).createAggregator(n);
10312
10312
  }, e;
10313
10313
  }(_e)
10314
- ), vs = new Dm(), gs = new Um(), _s = new jm(), bs = new Bm(), Gm = new Fm(), Hm = new Vm(), qm = function(t) {
10314
+ ), vs = new Um(), gs = new jm(), _s = new Bm(), bs = new $m(), Hm = new Vm(), qm = new Gm(), zm = function(t) {
10315
10315
  return _e.Default();
10316
- }, zm = function(t) {
10316
+ }, Xm = function(t) {
10317
10317
  return ae.CUMULATIVE;
10318
10318
  }, nr = function(t, e, n, r) {
10319
10319
  function i(o) {
@@ -10416,16 +10416,16 @@ var Nm = function(t, e) {
10416
10416
  }
10417
10417
  }
10418
10418
  return o;
10419
- }, Xm = function(t, e, n) {
10419
+ }, Km = function(t, e, n) {
10420
10420
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
10421
10421
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
10422
10422
  return t.concat(o || Array.prototype.slice.call(e));
10423
- }, Km = (
10423
+ }, Ym = (
10424
10424
  /** @class */
10425
10425
  function() {
10426
10426
  function t(e) {
10427
10427
  var n, r, i;
10428
- this._shutdown = !1, this._aggregationSelector = (n = e?.aggregationSelector) !== null && n !== void 0 ? n : qm, this._aggregationTemporalitySelector = (r = e?.aggregationTemporalitySelector) !== null && r !== void 0 ? r : zm, this._metricProducers = (i = e?.metricProducers) !== null && i !== void 0 ? i : [], this._cardinalitySelector = e?.cardinalitySelector;
10428
+ this._shutdown = !1, this._aggregationSelector = (n = e?.aggregationSelector) !== null && n !== void 0 ? n : zm, this._aggregationTemporalitySelector = (r = e?.aggregationTemporalitySelector) !== null && r !== void 0 ? r : Xm, this._metricProducers = (i = e?.metricProducers) !== null && i !== void 0 ? i : [], this._cardinalitySelector = e?.cardinalitySelector;
10429
10429
  }
10430
10430
  return t.prototype.setMetricProducer = function(e) {
10431
10431
  if (this._sdkMetricProducer)
@@ -10448,7 +10448,7 @@ var Nm = function(t, e) {
10448
10448
  throw new Error("MetricReader is not bound to a MetricProducer");
10449
10449
  if (this._shutdown)
10450
10450
  throw new Error("MetricReader is shutdown");
10451
- return [4, Promise.all(Xm([
10451
+ return [4, Promise.all(Km([
10452
10452
  this._sdkMetricProducer.collect({
10453
10453
  timeoutMillis: e?.timeoutMillis
10454
10454
  })
@@ -10521,7 +10521,7 @@ var Nm = function(t, e) {
10521
10521
  });
10522
10522
  }, t;
10523
10523
  }()
10524
- ), Ym = /* @__PURE__ */ function() {
10524
+ ), Wm = /* @__PURE__ */ function() {
10525
10525
  var t = function(e, n) {
10526
10526
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
10527
10527
  r.__proto__ = i;
@@ -10623,7 +10623,7 @@ var Nm = function(t, e) {
10623
10623
  if (s[0] & 5) throw s[1];
10624
10624
  return { value: s[0] ? s[1] : void 0, done: !0 };
10625
10625
  }
10626
- }, Wm = function(t, e) {
10626
+ }, Jm = function(t, e) {
10627
10627
  var n = typeof Symbol == "function" && t[Symbol.iterator];
10628
10628
  if (!n) return t;
10629
10629
  var r = n.call(t), i, o = [], a;
@@ -10639,14 +10639,14 @@ var Nm = function(t, e) {
10639
10639
  }
10640
10640
  }
10641
10641
  return o;
10642
- }, Jm = function(t, e, n) {
10642
+ }, Qm = function(t, e, n) {
10643
10643
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
10644
10644
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
10645
10645
  return t.concat(o || Array.prototype.slice.call(e));
10646
- }, Qm = (
10646
+ }, Zm = (
10647
10647
  /** @class */
10648
10648
  function(t) {
10649
- Ym(e, t);
10649
+ Wm(e, t);
10650
10650
  function e(n) {
10651
10651
  var r, i, o, a, u = t.call(this, {
10652
10652
  aggregationSelector: (r = n.exporter.selectAggregation) === null || r === void 0 ? void 0 : r.bind(n.exporter),
@@ -10694,7 +10694,7 @@ var Nm = function(t, e) {
10694
10694
  timeoutMillis: this._exportTimeout
10695
10695
  })];
10696
10696
  case 1:
10697
- if (i = l.sent(), o = i.resourceMetrics, a = i.errors, a.length > 0 && (s = E).error.apply(s, Jm(["PeriodicExportingMetricReader: metrics collection errors"], Wm(a), !1)), !o.resource.asyncAttributesPending) return [3, 5];
10697
+ if (i = l.sent(), o = i.resourceMetrics, a = i.errors, a.length > 0 && (s = E).error.apply(s, Qm(["PeriodicExportingMetricReader: metrics collection errors"], Jm(a), !1)), !o.resource.asyncAttributesPending) return [3, 5];
10698
10698
  l.label = 2;
10699
10699
  case 2:
10700
10700
  return l.trys.push([2, 4, , 5]), [4, (r = (n = o.resource).waitForAsyncAttributes) === null || r === void 0 ? void 0 : r.call(n)];
@@ -10706,7 +10706,7 @@ var Nm = function(t, e) {
10706
10706
  return o.scopeMetrics.length === 0 ? [
10707
10707
  2
10708
10708
  /*return*/
10709
- ] : [4, Mf._export(this._exporter, o)];
10709
+ ] : [4, Df._export(this._exporter, o)];
10710
10710
  case 6:
10711
10711
  if (c = l.sent(), c.code !== z.SUCCESS)
10712
10712
  throw new Error("PeriodicExportingMetricReader: metrics export failed (error " + c.error + ")");
@@ -10755,8 +10755,8 @@ var Nm = function(t, e) {
10755
10755
  });
10756
10756
  });
10757
10757
  }, e;
10758
- }(Km)
10759
- ), Zm = (
10758
+ }(Ym)
10759
+ ), ev = (
10760
10760
  /** @class */
10761
10761
  function() {
10762
10762
  function t() {
@@ -10806,7 +10806,7 @@ var Nm = function(t, e) {
10806
10806
  this._descriptor.valueType === Se.INT && !Number.isInteger(e) && (E.warn("INT value type cannot accept a floating-point value for " + this._descriptor.name + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._writableMetricStorage.record(e, n, r, te(Date.now()));
10807
10807
  }, t;
10808
10808
  }()
10809
- ), ev = (
10809
+ ), tv = (
10810
10810
  /** @class */
10811
10811
  function(t) {
10812
10812
  Ge(e, t);
@@ -10817,7 +10817,7 @@ var Nm = function(t, e) {
10817
10817
  this._record(n, r, i);
10818
10818
  }, e;
10819
10819
  }(xn)
10820
- ), tv = (
10820
+ ), nv = (
10821
10821
  /** @class */
10822
10822
  function(t) {
10823
10823
  Ge(e, t);
@@ -10832,7 +10832,7 @@ var Nm = function(t, e) {
10832
10832
  this._record(n, r, i);
10833
10833
  }, e;
10834
10834
  }(xn)
10835
- ), nv = (
10835
+ ), rv = (
10836
10836
  /** @class */
10837
10837
  function(t) {
10838
10838
  Ge(e, t);
@@ -10843,7 +10843,7 @@ var Nm = function(t, e) {
10843
10843
  this._record(n, r, i);
10844
10844
  }, e;
10845
10845
  }(xn)
10846
- ), rv = (
10846
+ ), iv = (
10847
10847
  /** @class */
10848
10848
  function(t) {
10849
10849
  Ge(e, t);
@@ -10870,7 +10870,7 @@ var Nm = function(t, e) {
10870
10870
  this._observableRegistry.removeCallback(e, this);
10871
10871
  }, t;
10872
10872
  }()
10873
- ), iv = (
10873
+ ), ov = (
10874
10874
  /** @class */
10875
10875
  function(t) {
10876
10876
  Ge(e, t);
@@ -10879,7 +10879,7 @@ var Nm = function(t, e) {
10879
10879
  }
10880
10880
  return e;
10881
10881
  }(Nn)
10882
- ), ov = (
10882
+ ), av = (
10883
10883
  /** @class */
10884
10884
  function(t) {
10885
10885
  Ge(e, t);
@@ -10888,7 +10888,7 @@ var Nm = function(t, e) {
10888
10888
  }
10889
10889
  return e;
10890
10890
  }(Nn)
10891
- ), av = (
10891
+ ), sv = (
10892
10892
  /** @class */
10893
10893
  function(t) {
10894
10894
  Ge(e, t);
@@ -10901,7 +10901,7 @@ var Nm = function(t, e) {
10901
10901
  function Pr(t) {
10902
10902
  return t instanceof Nn;
10903
10903
  }
10904
- var sv = (
10904
+ var uv = (
10905
10905
  /** @class */
10906
10906
  function() {
10907
10907
  function t(e) {
@@ -10909,25 +10909,25 @@ var sv = (
10909
10909
  }
10910
10910
  return t.prototype.createGauge = function(e, n) {
10911
10911
  var r = be(e, O.GAUGE, n), i = this._meterSharedState.registerMetricStorage(r);
10912
- return new nv(i, r);
10912
+ return new rv(i, r);
10913
10913
  }, t.prototype.createHistogram = function(e, n) {
10914
10914
  var r = be(e, O.HISTOGRAM, n), i = this._meterSharedState.registerMetricStorage(r);
10915
- return new rv(i, r);
10915
+ return new iv(i, r);
10916
10916
  }, t.prototype.createCounter = function(e, n) {
10917
10917
  var r = be(e, O.COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
10918
- return new tv(i, r);
10918
+ return new nv(i, r);
10919
10919
  }, t.prototype.createUpDownCounter = function(e, n) {
10920
10920
  var r = be(e, O.UP_DOWN_COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
10921
- return new ev(i, r);
10921
+ return new tv(i, r);
10922
10922
  }, t.prototype.createObservableGauge = function(e, n) {
10923
10923
  var r = be(e, O.OBSERVABLE_GAUGE, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
10924
- return new ov(r, i, this._meterSharedState.observableRegistry);
10924
+ return new av(r, i, this._meterSharedState.observableRegistry);
10925
10925
  }, t.prototype.createObservableCounter = function(e, n) {
10926
10926
  var r = be(e, O.OBSERVABLE_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
10927
- return new iv(r, i, this._meterSharedState.observableRegistry);
10927
+ return new ov(r, i, this._meterSharedState.observableRegistry);
10928
10928
  }, t.prototype.createObservableUpDownCounter = function(e, n) {
10929
10929
  var r = be(e, O.OBSERVABLE_UP_DOWN_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
10930
- return new av(r, i, this._meterSharedState.observableRegistry);
10930
+ return new sv(r, i, this._meterSharedState.observableRegistry);
10931
10931
  }, t.prototype.addBatchObservableCallback = function(e, n) {
10932
10932
  this._meterSharedState.observableRegistry.addBatchCallback(e, n);
10933
10933
  }, t.prototype.removeBatchObservableCallback = function(e, n) {
@@ -10951,7 +10951,7 @@ var sv = (
10951
10951
  });
10952
10952
  }, t;
10953
10953
  }()
10954
- ), uv = /* @__PURE__ */ function() {
10954
+ ), cv = /* @__PURE__ */ function() {
10955
10955
  var t = function(e, n) {
10956
10956
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
10957
10957
  r.__proto__ = i;
@@ -11027,7 +11027,7 @@ var sv = (
11027
11027
  if (s[0] & 5) throw s[1];
11028
11028
  return { value: s[0] ? s[1] : void 0, done: !0 };
11029
11029
  }
11030
- }, cv = (
11030
+ }, lv = (
11031
11031
  /** @class */
11032
11032
  function() {
11033
11033
  function t(e) {
@@ -11090,13 +11090,13 @@ var sv = (
11090
11090
  ), ke = (
11091
11091
  /** @class */
11092
11092
  function(t) {
11093
- uv(e, t);
11093
+ cv(e, t);
11094
11094
  function e() {
11095
11095
  return t.call(this, cs) || this;
11096
11096
  }
11097
11097
  return e;
11098
- }(cv)
11099
- ), lv = function(t, e) {
11098
+ }(lv)
11099
+ ), pv = function(t, e) {
11100
11100
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11101
11101
  if (!n) return t;
11102
11102
  var r = n.call(t), i, o = [], a;
@@ -11134,7 +11134,7 @@ var sv = (
11134
11134
  }, t.prototype.batchCumulate = function(e, n) {
11135
11135
  var r = this;
11136
11136
  Array.from(e.entries()).forEach(function(i) {
11137
- var o = lv(i, 3), a = o[0], u = o[1], c = o[2], s = r._aggregator.createAccumulation(n);
11137
+ var o = pv(i, 3), a = o[0], u = o[1], c = o[2], s = r._aggregator.createAccumulation(n);
11138
11138
  s?.record(u);
11139
11139
  var l = s;
11140
11140
  if (r._cumulativeMemoStorage.has(a, c)) {
@@ -11202,7 +11202,7 @@ var sv = (
11202
11202
  collectionTime: i,
11203
11203
  aggregationTemporality: u
11204
11204
  });
11205
- var l = pv(a);
11205
+ var l = fv(a);
11206
11206
  if (l.length !== 0)
11207
11207
  return this._aggregator.toMetricData(
11208
11208
  n,
@@ -11277,10 +11277,10 @@ var sv = (
11277
11277
  }, t;
11278
11278
  }()
11279
11279
  );
11280
- function pv(t) {
11280
+ function fv(t) {
11281
11281
  return Array.from(t.entries());
11282
11282
  }
11283
- var fv = /* @__PURE__ */ function() {
11283
+ var hv = /* @__PURE__ */ function() {
11284
11284
  var t = function(e, n) {
11285
11285
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
11286
11286
  r.__proto__ = i;
@@ -11297,7 +11297,7 @@ var fv = /* @__PURE__ */ function() {
11297
11297
  }
11298
11298
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11299
11299
  };
11300
- }(), hv = function(t, e) {
11300
+ }(), dv = function(t, e) {
11301
11301
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11302
11302
  if (!n) return t;
11303
11303
  var r = n.call(t), i, o = [], a;
@@ -11313,10 +11313,10 @@ var fv = /* @__PURE__ */ function() {
11313
11313
  }
11314
11314
  }
11315
11315
  return o;
11316
- }, dv = (
11316
+ }, yv = (
11317
11317
  /** @class */
11318
11318
  function(t) {
11319
- fv(e, t);
11319
+ hv(e, t);
11320
11320
  function e(n, r, i, o, a) {
11321
11321
  var u = t.call(this, n) || this;
11322
11322
  return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Ts(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new ws(r, o), u;
@@ -11324,7 +11324,7 @@ var fv = /* @__PURE__ */ function() {
11324
11324
  return e.prototype.record = function(n, r) {
11325
11325
  var i = this, o = new ke();
11326
11326
  Array.from(n.entries()).forEach(function(a) {
11327
- var u = hv(a, 2), c = u[0], s = u[1];
11327
+ var u = dv(a, 2), c = u[0], s = u[1];
11328
11328
  o.set(i._attributesProcessor.process(c), s);
11329
11329
  }), this._deltaMetricStorage.batchCumulate(o, r);
11330
11330
  }, e.prototype.collect = function(n, r) {
@@ -11341,13 +11341,13 @@ function co(t, e) {
11341
11341
  `), t.description !== e.description && (n += " - Description '" + t.description + "' does not match '" + e.description + `'
11342
11342
  `), n;
11343
11343
  }
11344
- function yv(t, e) {
11344
+ function mv(t, e) {
11345
11345
  return " - use valueType '" + t.valueType + "' on instrument creation or use an instrument name other than '" + e.name + "'";
11346
11346
  }
11347
- function mv(t, e) {
11347
+ function vv(t, e) {
11348
11348
  return " - use unit '" + t.unit + "' on instrument creation or use an instrument name other than '" + e.name + "'";
11349
11349
  }
11350
- function vv(t, e) {
11350
+ function gv(t, e) {
11351
11351
  var n = {
11352
11352
  name: e.name,
11353
11353
  type: e.type,
@@ -11355,7 +11355,7 @@ function vv(t, e) {
11355
11355
  }, r = JSON.stringify(n);
11356
11356
  return " - create a new view with a name other than '" + t.name + "' and InstrumentSelector '" + r + "'";
11357
11357
  }
11358
- function gv(t, e) {
11358
+ function _v(t, e) {
11359
11359
  var n = {
11360
11360
  name: e.name,
11361
11361
  type: e.type,
@@ -11366,7 +11366,7 @@ function gv(t, e) {
11366
11366
  - OR - create a new view with the name ` + e.name + " and description '" + t.description + "' and InstrumentSelector " + r;
11367
11367
  }
11368
11368
  function lo(t, e) {
11369
- return t.valueType !== e.valueType ? yv(t, e) : t.unit !== e.unit ? mv(t, e) : t.type !== e.type ? vv(t, e) : t.description !== e.description ? gv(t, e) : "";
11369
+ return t.valueType !== e.valueType ? mv(t, e) : t.unit !== e.unit ? vv(t, e) : t.type !== e.type ? gv(t, e) : t.description !== e.description ? _v(t, e) : "";
11370
11370
  }
11371
11371
  var or = function(t) {
11372
11372
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
@@ -11377,7 +11377,7 @@ var or = function(t) {
11377
11377
  }
11378
11378
  };
11379
11379
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11380
- }, _v = (
11380
+ }, bv = (
11381
11381
  /** @class */
11382
11382
  function() {
11383
11383
  function t() {
@@ -11444,7 +11444,7 @@ var or = function(t) {
11444
11444
  try {
11445
11445
  for (var a = or(n), u = a.next(); !u.done; u = a.next()) {
11446
11446
  var c = u.value, s = c.getInstrumentDescriptor();
11447
- dm(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.
11447
+ ym(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.
11448
11448
  `, `Details:
11449
11449
  `, co(s, e), `The longer description will be used.
11450
11450
  To resolve the conflict:`, lo(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.
@@ -11464,7 +11464,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11464
11464
  return o;
11465
11465
  }, t;
11466
11466
  }()
11467
- ), bv = (
11467
+ ), Ev = (
11468
11468
  /** @class */
11469
11469
  function() {
11470
11470
  function t(e) {
@@ -11476,7 +11476,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11476
11476
  });
11477
11477
  }, t;
11478
11478
  }()
11479
- ), Ev = (
11479
+ ), Tv = (
11480
11480
  /** @class */
11481
11481
  function() {
11482
11482
  function t(e, n) {
@@ -11490,7 +11490,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11490
11490
  this._valueType === Se.INT && !Number.isInteger(e) && (E.warn("INT value type cannot accept a floating-point value for " + this._instrumentName + ", ignoring the fractional digits."), e = Math.trunc(e), !Number.isInteger(e)) || this._buffer.set(n, e);
11491
11491
  }, t;
11492
11492
  }()
11493
- ), Tv = (
11493
+ ), wv = (
11494
11494
  /** @class */
11495
11495
  function() {
11496
11496
  function t() {
@@ -11612,7 +11612,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11612
11612
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
11613
11613
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
11614
11614
  return t.concat(o || Array.prototype.slice.call(e));
11615
- }, wv = (
11615
+ }, Sv = (
11616
11616
  /** @class */
11617
11617
  function() {
11618
11618
  function t() {
@@ -11641,9 +11641,9 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11641
11641
  return sr(this, function(u) {
11642
11642
  switch (u.label) {
11643
11643
  case 0:
11644
- return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, sm(fo(fo([], po(r), !1), po(i), !1))];
11644
+ return r = this._observeCallbacks(e, n), i = this._observeBatchCallbacks(e, n), [4, um(fo(fo([], po(r), !1), po(i), !1))];
11645
11645
  case 1:
11646
- return o = u.sent(), a = o.filter(um).map(function(c) {
11646
+ return o = u.sent(), a = o.filter(cm).map(function(c) {
11647
11647
  return c.reason;
11648
11648
  }), [2, a];
11649
11649
  }
@@ -11658,7 +11658,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11658
11658
  return sr(this, function(s) {
11659
11659
  switch (s.label) {
11660
11660
  case 0:
11661
- return u = new Ev(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = Ot(c, n)), [4, c];
11661
+ return u = new Tv(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = Ot(c, n)), [4, c];
11662
11662
  case 1:
11663
11663
  return s.sent(), a._metricStorages.forEach(function(l) {
11664
11664
  l.record(u._buffer, e);
@@ -11679,7 +11679,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11679
11679
  return sr(this, function(s) {
11680
11680
  switch (s.label) {
11681
11681
  case 0:
11682
- return u = new Tv(), c = Promise.resolve(o(u)), n != null && (c = Ot(c, n)), [4, c];
11682
+ return u = new wv(), c = Promise.resolve(o(u)), n != null && (c = Ot(c, n)), [4, c];
11683
11683
  case 1:
11684
11684
  return s.sent(), a.forEach(function(l) {
11685
11685
  var p = u._buffer.get(l);
@@ -11700,11 +11700,11 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11700
11700
  });
11701
11701
  }, t.prototype._findBatchCallback = function(e, n) {
11702
11702
  return this._batchCallbacks.findIndex(function(r) {
11703
- return r.callback === e && cm(r.instruments, n);
11703
+ return r.callback === e && lm(r.instruments, n);
11704
11704
  });
11705
11705
  }, t;
11706
11706
  }()
11707
- ), Sv = /* @__PURE__ */ function() {
11707
+ ), Ov = /* @__PURE__ */ function() {
11708
11708
  var t = function(e, n) {
11709
11709
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
11710
11710
  r.__proto__ = i;
@@ -11721,10 +11721,10 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11721
11721
  }
11722
11722
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
11723
11723
  };
11724
- }(), Ov = (
11724
+ }(), Av = (
11725
11725
  /** @class */
11726
11726
  function(t) {
11727
- Sv(e, t);
11727
+ Ov(e, t);
11728
11728
  function e(n, r, i, o, a) {
11729
11729
  var u = t.call(this, n) || this;
11730
11730
  return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Ts(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new ws(r, o), u;
@@ -11759,10 +11759,10 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11759
11759
  function t() {
11760
11760
  }
11761
11761
  return t.Noop = function() {
11762
- return xv;
11762
+ return Nv;
11763
11763
  }, t;
11764
11764
  }()
11765
- ), Av = (
11765
+ ), xv = (
11766
11766
  /** @class */
11767
11767
  function(t) {
11768
11768
  Ss(e, t);
@@ -11789,7 +11789,7 @@ To resolve the conflict:`, lo(s, e))), o = c) : E.warn("A view or instrument wit
11789
11789
  }), o;
11790
11790
  }, e;
11791
11791
  })(ei);
11792
- var xv = new Av(), Nv = function(t, e, n, r) {
11792
+ var Nv = new xv(), Lv = function(t, e, n, r) {
11793
11793
  function i(o) {
11794
11794
  return o instanceof n ? o : new n(function(a) {
11795
11795
  a(o);
@@ -11815,7 +11815,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11815
11815
  }
11816
11816
  s((r = r.apply(t, [])).next());
11817
11817
  });
11818
- }, Lv = function(t, e) {
11818
+ }, Cv = function(t, e) {
11819
11819
  var n = { label: 0, sent: function() {
11820
11820
  if (o[0] & 1) throw o[1];
11821
11821
  return o[1];
@@ -11874,7 +11874,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11874
11874
  if (s[0] & 5) throw s[1];
11875
11875
  return { value: s[0] ? s[1] : void 0, done: !0 };
11876
11876
  }
11877
- }, Cv = function(t, e) {
11877
+ }, Rv = function(t, e) {
11878
11878
  var n = typeof Symbol == "function" && t[Symbol.iterator];
11879
11879
  if (!n) return t;
11880
11880
  var r = n.call(t), i, o = [], a;
@@ -11890,29 +11890,29 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11890
11890
  }
11891
11891
  }
11892
11892
  return o;
11893
- }, Rv = (
11893
+ }, Pv = (
11894
11894
  /** @class */
11895
11895
  function() {
11896
11896
  function t(e, n) {
11897
- this._meterProviderSharedState = e, this._instrumentationScope = n, this.metricStorageRegistry = new _v(), this.observableRegistry = new wv(), this.meter = new sv(this);
11897
+ this._meterProviderSharedState = e, this._instrumentationScope = n, this.metricStorageRegistry = new bv(), this.observableRegistry = new Sv(), this.meter = new uv(this);
11898
11898
  }
11899
11899
  return t.prototype.registerMetricStorage = function(e) {
11900
- var n = this._registerMetricStorage(e, Ov);
11901
- return n.length === 1 ? n[0] : new bv(n);
11900
+ var n = this._registerMetricStorage(e, Av);
11901
+ return n.length === 1 ? n[0] : new Ev(n);
11902
11902
  }, t.prototype.registerAsyncMetricStorage = function(e) {
11903
- var n = this._registerMetricStorage(e, dv);
11903
+ var n = this._registerMetricStorage(e, yv);
11904
11904
  return n;
11905
11905
  }, t.prototype.collect = function(e, n, r) {
11906
- return Nv(this, void 0, void 0, function() {
11906
+ return Lv(this, void 0, void 0, function() {
11907
11907
  var i, o, a;
11908
- return Lv(this, function(u) {
11908
+ return Cv(this, function(u) {
11909
11909
  switch (u.label) {
11910
11910
  case 0:
11911
11911
  return [4, this.observableRegistry.observe(n, r?.timeoutMillis)];
11912
11912
  case 1:
11913
11913
  return i = u.sent(), o = this.metricStorageRegistry.getStorages(e), o.length === 0 ? [2, null] : (a = o.map(function(c) {
11914
11914
  return c.collect(e, n);
11915
- }).filter(om), a.length === 0 ? [2, { errors: i }] : [2, {
11915
+ }).filter(am), a.length === 0 ? [2, { errors: i }] : [2, {
11916
11916
  scopeMetrics: {
11917
11917
  scope: this._instrumentationScope,
11918
11918
  metrics: a
@@ -11924,7 +11924,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11924
11924
  });
11925
11925
  }, t.prototype._registerMetricStorage = function(e, n) {
11926
11926
  var r = this, i = this._meterProviderSharedState.viewRegistry.findViews(e, this._instrumentationScope), o = i.map(function(c) {
11927
- var s = hm(c, e), l = r.metricStorageRegistry.findOrUpdateCompatibleStorage(s);
11927
+ var s = dm(c, e), l = r.metricStorageRegistry.findOrUpdateCompatibleStorage(s);
11928
11928
  if (l != null)
11929
11929
  return l;
11930
11930
  var p = c.aggregation.createAggregator(s), f = new n(s, p, c.attributesProcessor, r._meterProviderSharedState.metricCollectors, c.aggregationCardinalityLimit);
@@ -11932,7 +11932,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11932
11932
  });
11933
11933
  if (o.length === 0) {
11934
11934
  var a = this._meterProviderSharedState.selectAggregations(e.type), u = a.map(function(c) {
11935
- var s = Cv(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, e);
11935
+ var s = Rv(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, e);
11936
11936
  if (f != null)
11937
11937
  return f;
11938
11938
  var m = p.createAggregator(e), y = l.selectCardinalityLimit(e.type), v = new n(e, m, ei.Noop(), [l], y);
@@ -11943,7 +11943,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11943
11943
  return o;
11944
11944
  }, t;
11945
11945
  }()
11946
- ), Pv = function(t) {
11946
+ ), Iv = function(t) {
11947
11947
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
11948
11948
  if (n) return n.call(t);
11949
11949
  if (t && typeof t.length == "number") return {
@@ -11952,19 +11952,19 @@ var xv = new Av(), Nv = function(t, e, n, r) {
11952
11952
  }
11953
11953
  };
11954
11954
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
11955
- }, Iv = (
11955
+ }, kv = (
11956
11956
  /** @class */
11957
11957
  function() {
11958
11958
  function t(e) {
11959
- this.resource = e, this.viewRegistry = new Zm(), this.metricCollectors = [], this.meterSharedStates = /* @__PURE__ */ new Map();
11959
+ this.resource = e, this.viewRegistry = new ev(), this.metricCollectors = [], this.meterSharedStates = /* @__PURE__ */ new Map();
11960
11960
  }
11961
11961
  return t.prototype.getMeterSharedState = function(e) {
11962
- var n = am(e), r = this.meterSharedStates.get(n);
11963
- return r == null && (r = new Rv(this, e), this.meterSharedStates.set(n, r)), r;
11962
+ var n = sm(e), r = this.meterSharedStates.get(n);
11963
+ return r == null && (r = new Pv(this, e), this.meterSharedStates.set(n, r)), r;
11964
11964
  }, t.prototype.selectAggregations = function(e) {
11965
11965
  var n, r, i = [];
11966
11966
  try {
11967
- for (var o = Pv(this.metricCollectors), a = o.next(); !a.done; a = o.next()) {
11967
+ for (var o = Iv(this.metricCollectors), a = o.next(); !a.done; a = o.next()) {
11968
11968
  var u = a.value;
11969
11969
  i.push([u, u.selectAggregation(e)]);
11970
11970
  }
@@ -12065,7 +12065,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
12065
12065
  if (s[0] & 5) throw s[1];
12066
12066
  return { value: s[0] ? s[1] : void 0, done: !0 };
12067
12067
  }
12068
- }, kv = function(t, e) {
12068
+ }, Mv = function(t, e) {
12069
12069
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12070
12070
  if (!n) return t;
12071
12071
  var r = n.call(t), i, o = [], a;
@@ -12081,11 +12081,11 @@ var xv = new Av(), Nv = function(t, e, n, r) {
12081
12081
  }
12082
12082
  }
12083
12083
  return o;
12084
- }, Mv = function(t, e, n) {
12084
+ }, Dv = function(t, e, n) {
12085
12085
  if (arguments.length === 2) for (var r = 0, i = e.length, o; r < i; r++)
12086
12086
  (o || !(r in e)) && (o || (o = Array.prototype.slice.call(e, 0, r)), o[r] = e[r]);
12087
12087
  return t.concat(o || Array.prototype.slice.call(e));
12088
- }, Dv = (
12088
+ }, Uv = (
12089
12089
  /** @class */
12090
12090
  function() {
12091
12091
  function t(e, n) {
@@ -12105,7 +12105,7 @@ var xv = new Av(), Nv = function(t, e, n, r) {
12105
12105
  case 0:
12106
12106
  return [4, c.collect(this, n, e)];
12107
12107
  case 1:
12108
- return s = l.sent(), s?.scopeMetrics != null && r.push(s.scopeMetrics), s?.errors != null && i.push.apply(i, Mv([], kv(s.errors), !1)), [
12108
+ return s = l.sent(), s?.scopeMetrics != null && r.push(s.scopeMetrics), s?.errors != null && i.push.apply(i, Dv([], Mv(s.errors), !1)), [
12109
12109
  2
12110
12110
  /*return*/
12111
12111
  ];
@@ -12256,16 +12256,16 @@ var xv = new Av(), Nv = function(t, e, n, r) {
12256
12256
  };
12257
12257
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
12258
12258
  };
12259
- function Uv(t, e) {
12259
+ function jv(t, e) {
12260
12260
  var n = e ?? St.empty();
12261
12261
  return t ? St.default().merge(n) : n;
12262
12262
  }
12263
- var jv = (
12263
+ var Bv = (
12264
12264
  /** @class */
12265
12265
  function() {
12266
12266
  function t(e) {
12267
12267
  var n, r, i, o, a;
12268
- if (this._shutdown = !1, this._sharedState = new Iv(Uv((a = e?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, e?.resource)), e?.views != null && e.views.length > 0)
12268
+ if (this._shutdown = !1, this._sharedState = new kv(jv((a = e?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, e?.resource)), e?.views != null && e.views.length > 0)
12269
12269
  try {
12270
12270
  for (var u = mo(e.views), c = u.next(); !c.done; c = u.next()) {
12271
12271
  var s = c.value;
@@ -12297,13 +12297,13 @@ var jv = (
12297
12297
  }
12298
12298
  }
12299
12299
  return t.prototype.getMeter = function(e, n, r) {
12300
- return n === void 0 && (n = ""), r === void 0 && (r = {}), this._shutdown ? (E.warn("A shutdown MeterProvider cannot provide a Meter"), Cl()) : this._sharedState.getMeterSharedState({
12300
+ return n === void 0 && (n = ""), r === void 0 && (r = {}), this._shutdown ? (E.warn("A shutdown MeterProvider cannot provide a Meter"), Rl()) : this._sharedState.getMeterSharedState({
12301
12301
  name: e,
12302
12302
  version: n,
12303
12303
  schemaUrl: r.schemaUrl
12304
12304
  }).meter;
12305
12305
  }, t.prototype.addMetricReader = function(e) {
12306
- var n = new Dv(this._sharedState, e);
12306
+ var n = new Uv(this._sharedState, e);
12307
12307
  e.setMetricProducer(n), this._sharedState.metricCollectors.push(n);
12308
12308
  }, t.prototype.shutdown = function(e) {
12309
12309
  return ho(this, void 0, void 0, function() {
@@ -12346,31 +12346,31 @@ var jv = (
12346
12346
  }, t;
12347
12347
  }()
12348
12348
  );
12349
- function Bv(t, e) {
12349
+ function $v(t, e) {
12350
12350
  var n = is(e);
12351
12351
  return {
12352
12352
  resource: os(t.resource),
12353
12353
  schemaUrl: void 0,
12354
- scopeMetrics: $v(t.scopeMetrics, n)
12354
+ scopeMetrics: Fv(t.scopeMetrics, n)
12355
12355
  };
12356
12356
  }
12357
- function $v(t, e) {
12357
+ function Fv(t, e) {
12358
12358
  return Array.from(t.map(function(n) {
12359
12359
  return {
12360
12360
  scope: as(n.scope),
12361
12361
  metrics: n.metrics.map(function(r) {
12362
- return Fv(r, e);
12362
+ return Vv(r, e);
12363
12363
  }),
12364
12364
  schemaUrl: n.scope.schemaUrl
12365
12365
  };
12366
12366
  }));
12367
12367
  }
12368
- function Fv(t, e) {
12368
+ function Vv(t, e) {
12369
12369
  var n = {
12370
12370
  name: t.descriptor.name,
12371
12371
  description: t.descriptor.description,
12372
12372
  unit: t.descriptor.unit
12373
- }, r = qv(t.aggregationTemporality);
12373
+ }, r = zv(t.aggregationTemporality);
12374
12374
  switch (t.dataPointType) {
12375
12375
  case ue.SUM:
12376
12376
  n.sum = {
@@ -12387,19 +12387,19 @@ function Fv(t, e) {
12387
12387
  case ue.HISTOGRAM:
12388
12388
  n.histogram = {
12389
12389
  aggregationTemporality: r,
12390
- dataPoints: Gv(t, e)
12390
+ dataPoints: Hv(t, e)
12391
12391
  };
12392
12392
  break;
12393
12393
  case ue.EXPONENTIAL_HISTOGRAM:
12394
12394
  n.exponentialHistogram = {
12395
12395
  aggregationTemporality: r,
12396
- dataPoints: Hv(t, e)
12396
+ dataPoints: qv(t, e)
12397
12397
  };
12398
12398
  break;
12399
12399
  }
12400
12400
  return n;
12401
12401
  }
12402
- function Vv(t, e, n) {
12402
+ function Gv(t, e, n) {
12403
12403
  var r = {
12404
12404
  attributes: Fe(t.attributes),
12405
12405
  startTimeUnixNano: n.encodeHrTime(t.startTime),
@@ -12417,10 +12417,10 @@ function Vv(t, e, n) {
12417
12417
  }
12418
12418
  function vo(t, e) {
12419
12419
  return t.dataPoints.map(function(n) {
12420
- return Vv(n, t.descriptor.valueType, e);
12420
+ return Gv(n, t.descriptor.valueType, e);
12421
12421
  });
12422
12422
  }
12423
- function Gv(t, e) {
12423
+ function Hv(t, e) {
12424
12424
  return t.dataPoints.map(function(n) {
12425
12425
  var r = n.value;
12426
12426
  return {
@@ -12436,7 +12436,7 @@ function Gv(t, e) {
12436
12436
  };
12437
12437
  });
12438
12438
  }
12439
- function Hv(t, e) {
12439
+ function qv(t, e) {
12440
12440
  return t.dataPoints.map(function(n) {
12441
12441
  var r = n.value;
12442
12442
  return {
@@ -12460,7 +12460,7 @@ function Hv(t, e) {
12460
12460
  };
12461
12461
  });
12462
12462
  }
12463
- function qv(t) {
12463
+ function zv(t) {
12464
12464
  switch (t) {
12465
12465
  case ae.DELTA:
12466
12466
  return 1;
@@ -12468,14 +12468,14 @@ function qv(t) {
12468
12468
  return 2;
12469
12469
  }
12470
12470
  }
12471
- function zv(t, e) {
12471
+ function Xv(t, e) {
12472
12472
  return {
12473
12473
  resourceMetrics: t.map(function(n) {
12474
- return Bv(n, e);
12474
+ return $v(n, e);
12475
12475
  })
12476
12476
  };
12477
12477
  }
12478
- var Xv = function(t) {
12478
+ var Kv = function(t) {
12479
12479
  var e = typeof Symbol == "function" && Symbol.iterator, n = e && t[e], r = 0;
12480
12480
  if (n) return n.call(t);
12481
12481
  if (t && typeof t.length == "number") return {
@@ -12484,7 +12484,7 @@ var Xv = function(t) {
12484
12484
  }
12485
12485
  };
12486
12486
  throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
12487
- }, Kv = function(t, e) {
12487
+ }, Yv = function(t, e) {
12488
12488
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12489
12489
  if (!n) return t;
12490
12490
  var r = n.call(t), i, o = [], a;
@@ -12501,7 +12501,7 @@ var Xv = function(t) {
12501
12501
  }
12502
12502
  return o;
12503
12503
  };
12504
- function Yv(t, e) {
12504
+ function Wv(t, e) {
12505
12505
  var n, r = t.spanContext(), i = t.status;
12506
12506
  return {
12507
12507
  traceId: e.encodeSpanContext(r.traceId),
@@ -12516,7 +12516,7 @@ function Yv(t, e) {
12516
12516
  attributes: Fe(t.attributes),
12517
12517
  droppedAttributesCount: t.droppedAttributesCount,
12518
12518
  events: t.events.map(function(o) {
12519
- return Jv(o, e);
12519
+ return Qv(o, e);
12520
12520
  }),
12521
12521
  droppedEventsCount: t.droppedEventsCount,
12522
12522
  status: {
@@ -12525,12 +12525,12 @@ function Yv(t, e) {
12525
12525
  message: i.message
12526
12526
  },
12527
12527
  links: t.links.map(function(o) {
12528
- return Wv(o, e);
12528
+ return Jv(o, e);
12529
12529
  }),
12530
12530
  droppedLinksCount: t.droppedLinksCount
12531
12531
  };
12532
12532
  }
12533
- function Wv(t, e) {
12533
+ function Jv(t, e) {
12534
12534
  var n;
12535
12535
  return {
12536
12536
  attributes: t.attributes ? Fe(t.attributes) : [],
@@ -12540,7 +12540,7 @@ function Wv(t, e) {
12540
12540
  droppedAttributesCount: t.droppedAttributesCount || 0
12541
12541
  };
12542
12542
  }
12543
- function Jv(t, e) {
12543
+ function Qv(t, e) {
12544
12544
  return {
12545
12545
  attributes: t.attributes ? Fe(t.attributes) : [],
12546
12546
  name: t.name,
@@ -12548,16 +12548,16 @@ function Jv(t, e) {
12548
12548
  droppedAttributesCount: t.droppedAttributesCount || 0
12549
12549
  };
12550
12550
  }
12551
- function Qv(t, e) {
12551
+ function Zv(t, e) {
12552
12552
  var n = is(e);
12553
12553
  return {
12554
- resourceSpans: eg(t, n)
12554
+ resourceSpans: tg(t, n)
12555
12555
  };
12556
12556
  }
12557
- function Zv(t) {
12557
+ function eg(t) {
12558
12558
  var e, n, r = /* @__PURE__ */ new Map();
12559
12559
  try {
12560
- for (var i = Xv(t), o = i.next(); !o.done; o = i.next()) {
12560
+ for (var i = Kv(t), o = i.next(); !o.done; o = i.next()) {
12561
12561
  var a = o.value, u = r.get(a.resource);
12562
12562
  u || (u = /* @__PURE__ */ new Map(), r.set(a.resource, u));
12563
12563
  var c = a.instrumentationLibrary.name + "@" + (a.instrumentationLibrary.version || "") + ":" + (a.instrumentationLibrary.schemaUrl || ""), s = u.get(c);
@@ -12574,13 +12574,13 @@ function Zv(t) {
12574
12574
  }
12575
12575
  return r;
12576
12576
  }
12577
- function eg(t, e) {
12578
- for (var n = Zv(t), r = [], i = n.entries(), o = i.next(); !o.done; ) {
12579
- for (var a = Kv(o.value, 2), u = a[0], c = a[1], s = [], l = c.values(), p = l.next(); !p.done; ) {
12577
+ function tg(t, e) {
12578
+ for (var n = eg(t), r = [], i = n.entries(), o = i.next(); !o.done; ) {
12579
+ for (var a = Yv(o.value, 2), u = a[0], c = a[1], s = [], l = c.values(), p = l.next(); !p.done; ) {
12580
12580
  var f = p.value;
12581
12581
  if (f.length > 0) {
12582
12582
  var m = f.map(function(v) {
12583
- return Yv(v, e);
12583
+ return Wv(v, e);
12584
12584
  });
12585
12585
  s.push({
12586
12586
  scope: as(f[0].instrumentationLibrary),
@@ -12599,9 +12599,9 @@ function eg(t, e) {
12599
12599
  }
12600
12600
  return r;
12601
12601
  }
12602
- var tg = {
12602
+ var ng = {
12603
12603
  serializeRequest: function(t) {
12604
- var e = zv([t], {
12604
+ var e = Xv([t], {
12605
12605
  useLongBits: !1
12606
12606
  }), n = new TextEncoder();
12607
12607
  return n.encode(JSON.stringify(e));
@@ -12610,9 +12610,9 @@ var tg = {
12610
12610
  var e = new TextDecoder();
12611
12611
  return JSON.parse(e.decode(t));
12612
12612
  }
12613
- }, ng = {
12613
+ }, rg = {
12614
12614
  serializeRequest: function(t) {
12615
- var e = Qv(t, {
12615
+ var e = Zv(t, {
12616
12616
  useHex: !0,
12617
12617
  useLongBits: !1
12618
12618
  }), n = new TextEncoder();
@@ -12622,7 +12622,7 @@ var tg = {
12622
12622
  var e = new TextDecoder();
12623
12623
  return JSON.parse(e.decode(t));
12624
12624
  }
12625
- }, rg = function(t, e, n, r) {
12625
+ }, ig = function(t, e, n, r) {
12626
12626
  function i(o) {
12627
12627
  return o instanceof n ? o : new n(function(a) {
12628
12628
  a(o);
@@ -12648,7 +12648,7 @@ var tg = {
12648
12648
  }
12649
12649
  s((r = r.apply(t, [])).next());
12650
12650
  });
12651
- }, ig = function(t, e) {
12651
+ }, og = function(t, e) {
12652
12652
  var n = { label: 0, sent: function() {
12653
12653
  if (o[0] & 1) throw o[1];
12654
12654
  return o[1];
@@ -12707,11 +12707,11 @@ var tg = {
12707
12707
  if (s[0] & 5) throw s[1];
12708
12708
  return { value: s[0] ? s[1] : void 0, done: !0 };
12709
12709
  }
12710
- }, og = 5, ag = 1e3, sg = 5e3, ug = 1.5, go = 0.2;
12711
- function cg() {
12710
+ }, ag = 5, sg = 1e3, ug = 5e3, cg = 1.5, go = 0.2;
12711
+ function lg() {
12712
12712
  return Math.random() * (2 * go) - go;
12713
12713
  }
12714
- var lg = (
12714
+ var pg = (
12715
12715
  /** @class */
12716
12716
  function() {
12717
12717
  function t(e) {
@@ -12726,16 +12726,16 @@ var lg = (
12726
12726
  });
12727
12727
  }, t.prototype.send = function(e, n) {
12728
12728
  var r;
12729
- return rg(this, void 0, void 0, function() {
12729
+ return ig(this, void 0, void 0, function() {
12730
12730
  var i, o, a, u, c, s, l;
12731
- return ig(this, function(p) {
12731
+ return og(this, function(p) {
12732
12732
  switch (p.label) {
12733
12733
  case 0:
12734
12734
  return i = Date.now() + n, [4, this._transport.send(e, n)];
12735
12735
  case 1:
12736
- o = p.sent(), a = og, u = ag, p.label = 2;
12736
+ o = p.sent(), a = ag, u = sg, p.label = 2;
12737
12737
  case 2:
12738
- return o.status === "retryable" && a > 0 ? (a--, c = Math.max(Math.min(u, sg) + cg(), 0), u = u * ug, s = (r = o.retryInMillis) !== null && r !== void 0 ? r : c, l = i - Date.now(), s > l ? [2, o] : [4, this.retry(e, l, s)]) : [3, 4];
12738
+ return o.status === "retryable" && a > 0 ? (a--, c = Math.max(Math.min(u, ug) + lg(), 0), u = u * cg, s = (r = o.retryInMillis) !== null && r !== void 0 ? r : c, l = i - Date.now(), s > l ? [2, o] : [4, this.retry(e, l, s)]) : [3, 4];
12739
12739
  case 3:
12740
12740
  return o = p.sent(), [3, 2];
12741
12741
  case 4:
@@ -12749,13 +12749,13 @@ var lg = (
12749
12749
  }()
12750
12750
  );
12751
12751
  function Os(t) {
12752
- return new lg(t.transport);
12752
+ return new pg(t.transport);
12753
12753
  }
12754
- function pg(t) {
12754
+ function fg(t) {
12755
12755
  var e = [429, 502, 503, 504];
12756
12756
  return e.includes(t);
12757
12757
  }
12758
- function fg(t) {
12758
+ function hg(t) {
12759
12759
  if (t != null) {
12760
12760
  var e = Number.parseInt(t, 10);
12761
12761
  if (Number.isInteger(e))
@@ -12764,7 +12764,7 @@ function fg(t) {
12764
12764
  return n >= 0 ? n : 0;
12765
12765
  }
12766
12766
  }
12767
- var hg = function(t, e) {
12767
+ var dg = function(t, e) {
12768
12768
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12769
12769
  if (!n) return t;
12770
12770
  var r = n.call(t), i, o = [], a;
@@ -12780,7 +12780,7 @@ var hg = function(t, e) {
12780
12780
  }
12781
12781
  }
12782
12782
  return o;
12783
- }, dg = (
12783
+ }, yg = (
12784
12784
  /** @class */
12785
12785
  function() {
12786
12786
  function t(e) {
@@ -12793,7 +12793,7 @@ var hg = function(t, e) {
12793
12793
  o.timeout = n, o.open("POST", r._parameters.url);
12794
12794
  var a = r._parameters.headers();
12795
12795
  Object.entries(a).forEach(function(u) {
12796
- var c = hg(u, 2), s = c[0], l = c[1];
12796
+ var c = dg(u, 2), s = c[0], l = c[1];
12797
12797
  o.setRequestHeader(s, l);
12798
12798
  }), o.ontimeout = function(u) {
12799
12799
  i({
@@ -12803,9 +12803,9 @@ var hg = function(t, e) {
12803
12803
  }, o.onreadystatechange = function() {
12804
12804
  o.status >= 200 && o.status <= 299 ? (E.debug("XHR success"), i({
12805
12805
  status: "success"
12806
- })) : o.status && pg(o.status) ? i({
12806
+ })) : o.status && fg(o.status) ? i({
12807
12807
  status: "retryable",
12808
- retryInMillis: fg(o.getResponseHeader("Retry-After"))
12808
+ retryInMillis: hg(o.getResponseHeader("Retry-After"))
12809
12809
  }) : o.status !== 0 && i({
12810
12810
  status: "failure",
12811
12811
  error: new Error("XHR request failed with non-retryable status")
@@ -12826,10 +12826,10 @@ var hg = function(t, e) {
12826
12826
  }, t;
12827
12827
  }()
12828
12828
  );
12829
- function yg(t) {
12830
- return new dg(t);
12829
+ function mg(t) {
12830
+ return new yg(t);
12831
12831
  }
12832
- var mg = (
12832
+ var vg = (
12833
12833
  /** @class */
12834
12834
  function() {
12835
12835
  function t(e) {
@@ -12849,23 +12849,23 @@ var mg = (
12849
12849
  }, t;
12850
12850
  }()
12851
12851
  );
12852
- function vg(t) {
12853
- return new mg(t);
12852
+ function gg(t) {
12853
+ return new vg(t);
12854
12854
  }
12855
- function gg(t, e) {
12855
+ function _g(t, e) {
12856
12856
  return es(t, e, Os({
12857
- transport: yg(t)
12857
+ transport: mg(t)
12858
12858
  }));
12859
12859
  }
12860
- function _g(t, e) {
12860
+ function bg(t, e) {
12861
12861
  return es(t, e, Os({
12862
- transport: vg({
12862
+ transport: gg({
12863
12863
  url: t.url,
12864
12864
  blobType: t.headers()["Content-Type"]
12865
12865
  })
12866
12866
  }));
12867
12867
  }
12868
- var bg = function(t, e) {
12868
+ var Eg = function(t, e) {
12869
12869
  var n = typeof Symbol == "function" && t[Symbol.iterator];
12870
12870
  if (!n) return t;
12871
12871
  var r = n.call(t), i, o = [], a;
@@ -12882,11 +12882,11 @@ var bg = function(t, e) {
12882
12882
  }
12883
12883
  return o;
12884
12884
  };
12885
- function Eg(t) {
12885
+ function Tg(t) {
12886
12886
  return function() {
12887
12887
  var e, n = {};
12888
12888
  return Object.entries((e = t?.()) !== null && e !== void 0 ? e : {}).forEach(function(r) {
12889
- var i = bg(r, 2), o = i[0], a = i[1];
12889
+ var i = Eg(r, 2), o = i[0], a = i[1];
12890
12890
  typeof a < "u" ? n[o] = String(a) : E.warn('Header "' + o + '" has invalid value (' + a + ") and will be ignored");
12891
12891
  }), n;
12892
12892
  };
@@ -12900,13 +12900,13 @@ var Be = function() {
12900
12900
  return t;
12901
12901
  }, Be.apply(this, arguments);
12902
12902
  };
12903
- function Tg(t, e, n) {
12903
+ function wg(t, e, n) {
12904
12904
  var r = Be({}, n()), i = {};
12905
12905
  return function() {
12906
12906
  return e != null && Object.assign(i, e()), t != null && Object.assign(i, t()), Object.assign(i, r);
12907
12907
  };
12908
12908
  }
12909
- function wg(t) {
12909
+ function Sg(t) {
12910
12910
  if (t != null)
12911
12911
  try {
12912
12912
  return new URL(t), t;
@@ -12914,33 +12914,33 @@ function wg(t) {
12914
12914
  throw new Error("Configuration: Could not parse user-provided export URL: '" + t + "'");
12915
12915
  }
12916
12916
  }
12917
- function Sg(t, e, n) {
12917
+ function Og(t, e, n) {
12918
12918
  var r, i, o, a;
12919
- return Be(Be({}, jy(t, e, n)), { headers: Tg(Eg(t.headers), e.headers, n.headers), url: (i = (r = wg(t.url)) !== null && r !== void 0 ? r : e.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = t.agentOptions) !== null && o !== void 0 ? o : e.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
12919
+ return Be(Be({}, By(t, e, n)), { headers: wg(Tg(t.headers), e.headers, n.headers), url: (i = (r = Sg(t.url)) !== null && r !== void 0 ? r : e.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = t.agentOptions) !== null && o !== void 0 ? o : e.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
12920
12920
  }
12921
- function Og(t, e) {
12922
- return Be(Be({}, By()), { headers: function() {
12921
+ function Ag(t, e) {
12922
+ return Be(Be({}, $y()), { headers: function() {
12923
12923
  return t;
12924
12924
  }, url: "http://localhost:4318/" + e, agentOptions: { keepAlive: !0 } });
12925
12925
  }
12926
- function Ag(t, e, n) {
12927
- return Sg(
12926
+ function xg(t, e, n) {
12927
+ return Og(
12928
12928
  {
12929
12929
  url: t.url,
12930
12930
  timeoutMillis: t.timeoutMillis,
12931
- headers: Uy(t.headers),
12931
+ headers: jy(t.headers),
12932
12932
  concurrencyLimit: t.concurrencyLimit
12933
12933
  },
12934
12934
  {},
12935
12935
  // no fallback for browser case
12936
- Og(n, e)
12936
+ Ag(n, e)
12937
12937
  );
12938
12938
  }
12939
12939
  function As(t, e, n, r) {
12940
- var i = !!t.headers || typeof navigator.sendBeacon != "function", o = Ag(t, n, r);
12941
- return i ? gg(o, e) : _g(o, e);
12940
+ var i = !!t.headers || typeof navigator.sendBeacon != "function", o = xg(t, n, r);
12941
+ return i ? _g(o, e) : bg(o, e);
12942
12942
  }
12943
- var xg = /* @__PURE__ */ function() {
12943
+ var Ng = /* @__PURE__ */ function() {
12944
12944
  var t = function(e, n) {
12945
12945
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
12946
12946
  r.__proto__ = i;
@@ -12957,12 +12957,12 @@ var xg = /* @__PURE__ */ function() {
12957
12957
  }
12958
12958
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
12959
12959
  };
12960
- }(), Ng = (
12960
+ }(), Lg = (
12961
12961
  /** @class */
12962
12962
  function(t) {
12963
- xg(e, t);
12963
+ Ng(e, t);
12964
12964
  function e(n) {
12965
- return n === void 0 && (n = {}), t.call(this, As(n, ng, "v1/traces", { "Content-Type": "application/json" })) || this;
12965
+ return n === void 0 && (n = {}), t.call(this, As(n, rg, "v1/traces", { "Content-Type": "application/json" })) || this;
12966
12966
  }
12967
12967
  return e;
12968
12968
  }(Za)
@@ -12970,7 +12970,7 @@ var xg = /* @__PURE__ */ function() {
12970
12970
  (function(t) {
12971
12971
  t[t.DELTA = 0] = "DELTA", t[t.CUMULATIVE = 1] = "CUMULATIVE", t[t.LOWMEMORY = 2] = "LOWMEMORY";
12972
12972
  })(mn || (mn = {}));
12973
- var Lg = /* @__PURE__ */ function() {
12973
+ var Cg = /* @__PURE__ */ function() {
12974
12974
  var t = function(e, n) {
12975
12975
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
12976
12976
  r.__proto__ = i;
@@ -13014,25 +13014,25 @@ var Lg = /* @__PURE__ */ function() {
13014
13014
  return ae.CUMULATIVE;
13015
13015
  }
13016
13016
  };
13017
- function Cg() {
13017
+ function Rg() {
13018
13018
  var t = Ze(), e = t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
13019
13019
  return e === "cumulative" ? Ir : e === "delta" ? xs : e === "lowmemory" ? Ns : (E.warn("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '" + t.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE + "', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead."), Ir);
13020
13020
  }
13021
- function Rg(t) {
13022
- return t != null ? t === mn.DELTA ? xs : t === mn.LOWMEMORY ? Ns : Ir : Cg();
13023
- }
13024
13021
  function Pg(t) {
13022
+ return t != null ? t === mn.DELTA ? xs : t === mn.LOWMEMORY ? Ns : Ir : Rg();
13023
+ }
13024
+ function Ig(t) {
13025
13025
  return t != null && t.aggregationPreference ? t.aggregationPreference : function(e) {
13026
13026
  return _e.Default();
13027
13027
  };
13028
13028
  }
13029
- var Ig = (
13029
+ var kg = (
13030
13030
  /** @class */
13031
13031
  function(t) {
13032
- Lg(e, t);
13032
+ Cg(e, t);
13033
13033
  function e(n, r) {
13034
13034
  var i = t.call(this, n) || this;
13035
- return i._aggregationSelector = Pg(r), i._aggregationTemporalitySelector = Rg(r?.temporalityPreference), i;
13035
+ return i._aggregationSelector = Ig(r), i._aggregationTemporalitySelector = Pg(r?.temporalityPreference), i;
13036
13036
  }
13037
13037
  return e.prototype.selectAggregation = function(n) {
13038
13038
  return this._aggregationSelector(n);
@@ -13040,7 +13040,7 @@ var Ig = (
13040
13040
  return this._aggregationTemporalitySelector(n);
13041
13041
  }, e;
13042
13042
  }(Za)
13043
- ), kg = /* @__PURE__ */ function() {
13043
+ ), Mg = /* @__PURE__ */ function() {
13044
13044
  var t = function(e, n) {
13045
13045
  return t = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
13046
13046
  r.__proto__ = i;
@@ -13057,17 +13057,17 @@ var Ig = (
13057
13057
  }
13058
13058
  e.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
13059
13059
  };
13060
- }(), Mg = (
13060
+ }(), Dg = (
13061
13061
  /** @class */
13062
13062
  function(t) {
13063
- kg(e, t);
13063
+ Mg(e, t);
13064
13064
  function e(n) {
13065
- return t.call(this, As(n ?? {}, tg, "v1/metrics", { "Content-Type": "application/json" }), n) || this;
13065
+ return t.call(this, As(n ?? {}, ng, "v1/metrics", { "Content-Type": "application/json" }), n) || this;
13066
13066
  }
13067
13067
  return e;
13068
- }(Ig)
13068
+ }(kg)
13069
13069
  );
13070
- function Dg(t, e) {
13070
+ function Ug(t, e) {
13071
13071
  const n = t.spanContext();
13072
13072
  return {
13073
13073
  name: t.name,
@@ -13089,7 +13089,7 @@ function Dg(t, e) {
13089
13089
  droppedLinksCount: t.droppedLinksCount
13090
13090
  };
13091
13091
  }
13092
- function Ug(t, e) {
13092
+ function jg(t, e) {
13093
13093
  if (!e.isSamplingEnabled())
13094
13094
  return t;
13095
13095
  const n = [], r = {}, i = {};
@@ -13098,7 +13098,7 @@ function Ug(t, e) {
13098
13098
  o.spanContext().spanId
13099
13099
  ));
13100
13100
  const a = e.shouldSample(o);
13101
- a.sample ? a.attributes ? r[o.spanContext().spanId] = Dg(
13101
+ a.sample ? a.attributes ? r[o.spanContext().spanId] = Ug(
13102
13102
  o,
13103
13103
  a.attributes
13104
13104
  ) : r[o.spanContext().spanId] = o : n.push(o.spanContext().spanId);
@@ -13111,7 +13111,7 @@ function Ug(t, e) {
13111
13111
  }
13112
13112
  return Object.values(r);
13113
13113
  }
13114
- class jg extends Ng {
13114
+ class Bg extends Lg {
13115
13115
  constructor(e, n) {
13116
13116
  super(Q(k({}, e), {
13117
13117
  headers: {}
@@ -13119,7 +13119,7 @@ class jg extends Ng {
13119
13119
  })), this.sampler = n;
13120
13120
  }
13121
13121
  export(e, n) {
13122
- const r = Ug(e, this.sampler);
13122
+ const r = jg(e, this.sampler);
13123
13123
  if (r.length === 0)
13124
13124
  return;
13125
13125
  let i = 0;
@@ -13153,7 +13153,7 @@ class jg extends Ng {
13153
13153
  super.export(r, o);
13154
13154
  }
13155
13155
  }
13156
- class Bg extends Mg {
13156
+ class $g extends Dg {
13157
13157
  constructor(e) {
13158
13158
  super(Q(k({}, e), {
13159
13159
  headers: {}
@@ -13191,8 +13191,8 @@ class Bg extends Mg {
13191
13191
  super.export(e, i);
13192
13192
  }
13193
13193
  }
13194
- const $g = "OT_ZONE_CONTEXT", Fg = "Navigation:";
13195
- function Vg() {
13194
+ const Fg = "OT_ZONE_CONTEXT", Vg = "Navigation:";
13195
+ function Gg() {
13196
13196
  return !1;
13197
13197
  }
13198
13198
  const kr = class xe extends ja {
@@ -13201,7 +13201,7 @@ const kr = class xe extends ja {
13201
13201
  xe.moduleName,
13202
13202
  xe.version,
13203
13203
  e
13204
- ), D(this, "_spansData", /* @__PURE__ */ new WeakMap()), D(this, "_zonePatched"), D(this, "_wrappedListeners", /* @__PURE__ */ new WeakMap()), D(this, "_eventsSpanMap", /* @__PURE__ */ new WeakMap()), D(this, "_shouldPreventSpanCreation"), this._shouldPreventSpanCreation = typeof e?.shouldPreventSpanCreation == "function" ? e.shouldPreventSpanCreation : Vg;
13204
+ ), D(this, "_spansData", /* @__PURE__ */ new WeakMap()), D(this, "_zonePatched"), D(this, "_wrappedListeners", /* @__PURE__ */ new WeakMap()), D(this, "_eventsSpanMap", /* @__PURE__ */ new WeakMap()), D(this, "_shouldPreventSpanCreation"), this._shouldPreventSpanCreation = typeof e?.shouldPreventSpanCreation == "function" ? e.shouldPreventSpanCreation : Gg;
13205
13205
  }
13206
13206
  init() {
13207
13207
  }
@@ -13282,7 +13282,7 @@ const kr = class xe extends ja {
13282
13282
  * @private
13283
13283
  */
13284
13284
  _getCurrentSpan(e) {
13285
- const n = e.get($g);
13285
+ const n = e.get(Fg);
13286
13286
  return n && C.getSpan(n);
13287
13287
  }
13288
13288
  /**
@@ -13433,7 +13433,7 @@ const kr = class xe extends ja {
13433
13433
  const n = C.getSpan(
13434
13434
  L.active()
13435
13435
  );
13436
- n && typeof n.updateName == "function" && n.updateName(`${Fg} ${e}`);
13436
+ n && typeof n.updateName == "function" && n.updateName(`${Vg} ${e}`);
13437
13437
  }
13438
13438
  /**
13439
13439
  * Patches zone cancel task - this is done to be able to correctly
@@ -13589,8 +13589,8 @@ const kr = class xe extends ja {
13589
13589
  }
13590
13590
  };
13591
13591
  D(kr, "version", "0.1.0"), D(kr, "moduleName", "user-interaction");
13592
- let Gg = kr, Ne = {}, Ke;
13593
- const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.js.log", zg = (t, e) => {
13592
+ let Hg = kr, Ne = {}, Ke;
13593
+ const vn = "highlight.record", qg = "highlight.session_id", zg = "launchdarkly.js.log", Xg = (t, e) => {
13594
13594
  var n, r, i, o, a, u, c, s, l;
13595
13595
  if (Ne.tracerProvider !== void 0) {
13596
13596
  console.warn("OTEL already initialized. Skipping...");
@@ -13599,7 +13599,7 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13599
13599
  Ke = t;
13600
13600
  const p = t.backendUrl || void 0 || "https://pub.highlight.io", f = [
13601
13601
  ...(r = (n = t.networkRecordingOptions) == null ? void 0 : n.urlBlocklist) != null ? r : [],
13602
- ...Sy
13602
+ ...Oy
13603
13603
  ], m = (i = t.environment) != null ? i : "production", y = {
13604
13604
  url: t.otlpEndpoint + "/v1/traces",
13605
13605
  concurrencyLimit: 100,
@@ -13612,42 +13612,42 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13612
13612
  timeout: 5e3,
13613
13613
  keepAlive: !0
13614
13614
  }
13615
- }, v = new jg(
13615
+ }, v = new Bg(
13616
13616
  y,
13617
13617
  e
13618
- ), _ = new Xg(v, {
13618
+ ), _ = new Kg(v, {
13619
13619
  maxExportBatchSize: 100,
13620
13620
  maxQueueSize: 1e3,
13621
13621
  exportTimeoutMillis: y.timeoutMillis,
13622
13622
  scheduledDelayMillis: y.timeoutMillis
13623
13623
  }), T = new St({
13624
- [zh]: (o = t.serviceName) != null ? o : "highlight-browser",
13625
- [qh]: m,
13624
+ [Xh]: (o = t.serviceName) != null ? o : "highlight-browser",
13625
+ [zh]: m,
13626
13626
  "highlight.project_id": t.projectId
13627
13627
  });
13628
- Ne.tracerProvider = new Nh({
13628
+ Ne.tracerProvider = new Lh({
13629
13629
  resource: T,
13630
13630
  spanProcessors: [_]
13631
13631
  }), C.setGlobalTracerProvider(Ne.tracerProvider);
13632
- const P = new Bg(Q(k({}, y), {
13632
+ const P = new $g(Q(k({}, y), {
13633
13633
  url: t.otlpEndpoint + "/v1/metrics"
13634
- })), $ = new Qm({
13634
+ })), $ = new Zm({
13635
13635
  exporter: P,
13636
13636
  exportIntervalMillis: y.timeoutMillis,
13637
13637
  exportTimeoutMillis: y.timeoutMillis
13638
13638
  });
13639
- Ne.meterProvider = new jv({ resource: T, readers: [$] }), de.setGlobalMeterProvider(Ne.meterProvider);
13639
+ Ne.meterProvider = new Bv({ resource: T, readers: [$] }), de.setGlobalMeterProvider(Ne.meterProvider);
13640
13640
  let M = [];
13641
13641
  ((a = t.instrumentations) == null ? void 0 : a["@opentelemetry/instrumentation-document-load"]) !== !1 && M.push(
13642
- new td({
13642
+ new nd({
13643
13643
  applyCustomAttributesOnSpan: {
13644
13644
  documentLoad: To,
13645
13645
  documentFetch: To,
13646
- resourceFetch: Wg
13646
+ resourceFetch: Jg
13647
13647
  }
13648
13648
  })
13649
- ), ((u = t.instrumentations) == null ? void 0 : u["@opentelemetry/instrumentation-user-interaction"]) !== !1 && M.push(new Gg()), (c = t.networkRecordingOptions) != null && c.enabled && (((s = t.instrumentations) == null ? void 0 : s["@opentelemetry/instrumentation-fetch"]) !== !1 && M.push(
13650
- new Fd({
13649
+ ), ((u = t.instrumentations) == null ? void 0 : u["@opentelemetry/instrumentation-user-interaction"]) !== !1 && M.push(new Hg()), (c = t.networkRecordingOptions) != null && c.enabled && (((s = t.instrumentations) == null ? void 0 : s["@opentelemetry/instrumentation-fetch"]) !== !1 && M.push(
13650
+ new Vd({
13651
13651
  propagateTraceHeaderCorsUrls: wo(
13652
13652
  t.tracingOrigins
13653
13653
  ),
@@ -13672,7 +13672,7 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13672
13672
  H.headers,
13673
13673
  t.networkRecordingOptions
13674
13674
  );
13675
- const g = yield ky(
13675
+ const g = yield My(
13676
13676
  U,
13677
13677
  (ie = t.networkRecordingOptions) == null ? void 0 : ie.bodyKeysToRecord,
13678
13678
  (K = t.networkRecordingOptions) == null ? void 0 : K.networkBodyKeysToRedact
@@ -13681,7 +13681,7 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13681
13681
  })
13682
13682
  })
13683
13683
  ), ((l = t.instrumentations) == null ? void 0 : l["@opentelemetry/instrumentation-xml-http-request"]) !== !1 && M.push(
13684
- new Ey({
13684
+ new Ty({
13685
13685
  propagateTraceHeaderCorsUrls: wo(
13686
13686
  t.tracingOrigins
13687
13687
  ),
@@ -13710,14 +13710,14 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13710
13710
  I.setAttribute("http.request.body", He);
13711
13711
  }
13712
13712
  })
13713
- )), Hf({ instrumentations: M });
13713
+ )), qf({ instrumentations: M });
13714
13714
  const F = new Va();
13715
13715
  F.enable(), Ne.tracerProvider.register({
13716
13716
  contextManager: F,
13717
13717
  propagator: new Ta({
13718
13718
  propagators: [
13719
13719
  new ya(),
13720
- new Kg({
13720
+ new Yg({
13721
13721
  backendUrl: p,
13722
13722
  otlpEndpoint: t.otlpEndpoint,
13723
13723
  tracingOrigins: t.tracingOrigins,
@@ -13727,15 +13727,15 @@ const vn = "highlight.record", Hg = "highlight.session_id", qg = "launchdarkly.j
13727
13727
  })
13728
13728
  });
13729
13729
  };
13730
- class Xg extends Fa {
13730
+ class Kg extends Fa {
13731
13731
  onStart(e, n) {
13732
- e.setAttribute(Hg, Ee()), super.onStart(e, n);
13732
+ e.setAttribute(qg, Ee()), super.onStart(e, n);
13733
13733
  }
13734
13734
  onEnd(e) {
13735
13735
  e.attributes[vn] !== !1 && super.onEnd(e);
13736
13736
  }
13737
13737
  }
13738
- class Kg extends wa {
13738
+ class Yg extends wa {
13739
13739
  constructor(e) {
13740
13740
  super(), D(this, "highlightEndpoints"), D(this, "tracingOrigins"), D(this, "urlBlocklist"), this.highlightEndpoints = [
13741
13741
  e.backendUrl,
@@ -13750,12 +13750,12 @@ class Kg extends wa {
13750
13750
  if (!o || !o.attributes)
13751
13751
  return;
13752
13752
  const a = o.attributes["http.url"];
13753
- typeof a == "string" && (Yg(
13753
+ typeof a == "string" && (Wg(
13754
13754
  a,
13755
13755
  this.highlightEndpoints,
13756
13756
  this.tracingOrigins,
13757
13757
  this.urlBlocklist
13758
- ) || o.setAttribute(vn, !1), !Py(
13758
+ ) || o.setAttribute(vn, !1), !Iy(
13759
13759
  a,
13760
13760
  (i = this.tracingOrigins) != null ? i : [],
13761
13761
  this.urlBlocklist
@@ -13792,7 +13792,7 @@ const Ls = "highlight-browser", qt = Ls, _o = () => {
13792
13792
  );
13793
13793
  } catch {
13794
13794
  }
13795
- const s = Ty(
13795
+ const s = wy(
13796
13796
  (i = r?.networkHeadersToRedact) != null ? i : [],
13797
13797
  n,
13798
13798
  r?.headerKeysToRecord
@@ -13801,18 +13801,18 @@ const Ls = "highlight-browser", qt = Ls, _o = () => {
13801
13801
  "highlight.type": "http.request",
13802
13802
  "http.request.headers": JSON.stringify(s),
13803
13803
  "http.request.body": o,
13804
- [Yh]: a,
13805
- [Wh]: u.pathname,
13806
- [Jh]: u.search
13804
+ [Wh]: a,
13805
+ [Jh]: u.pathname,
13806
+ [Qh]: u.search
13807
13807
  }), u.searchParams.size > 0 && t.setAttributes({
13808
13808
  // Custom attribute that displays query string params as an object.
13809
13809
  "url.query_params": JSON.stringify(
13810
13810
  Object.fromEntries(u.searchParams)
13811
13811
  )
13812
13812
  });
13813
- }, Yg = (t, e, n, r) => r != null && r.some(
13813
+ }, Wg = (t, e, n, r) => r != null && r.some(
13814
13814
  (i) => t.toLowerCase().includes(i)
13815
- ) ? !1 : Ry(
13815
+ ) ? !1 : Py(
13816
13816
  t,
13817
13817
  e
13818
13818
  ), To = (t) => {
@@ -13868,7 +13868,7 @@ function Z(t, e, n) {
13868
13868
  const o = r.time[0] * 1e9 + r.time[1];
13869
13869
  return i.time[0] * 1e9 + i.time[1] - o;
13870
13870
  }
13871
- const Wg = (t, e) => {
13871
+ const Jg = (t, e) => {
13872
13872
  const n = {
13873
13873
  domain_lookup: (e.domainLookupEnd - e.domainLookupStart) * 1e6,
13874
13874
  connect: (e.connectEnd - e.connectStart) * 1e6,
@@ -13901,18 +13901,18 @@ const Wg = (t, e) => {
13901
13901
  return `${Number(t.toFixed(1))}ns`;
13902
13902
  }, wo = (t) => t === !0 ? [/localhost/, /^\//, new RegExp(window.location.host)] : Array.isArray(t) ? t.map(
13903
13903
  (e) => typeof e == "string" ? new RegExp(e) : e
13904
- ) : /^$/, Jg = 30, Qg = () => new Promise(
13904
+ ) : /^$/, Qg = 30, Zg = () => new Promise(
13905
13905
  (t) => requestAnimationFrame(
13906
13906
  (e) => requestAnimationFrame((n) => t(n - e))
13907
13907
  )
13908
- ), Zg = () => Tn(void 0, null, function* () {
13908
+ ), e_ = () => Tn(void 0, null, function* () {
13909
13909
  const t = [];
13910
- for (let e = 0; e < Jg; e++)
13911
- t.push(yield Qg());
13910
+ for (let e = 0; e < Qg; e++)
13911
+ t.push(yield Zg());
13912
13912
  return t.reduce((e, n) => e + n, 0) / t.length;
13913
- }), e_ = (t, e) => {
13913
+ }), t_ = (t, e) => {
13914
13914
  let n = {}, r = 16.666666666666668;
13915
- Zg().then((c) => r = c);
13915
+ e_().then((c) => r = c);
13916
13916
  const i = (c) => {
13917
13917
  var s;
13918
13918
  n != null && n.event || (n = {
@@ -13934,12 +13934,12 @@ const Wg = (t, e) => {
13934
13934
  });
13935
13935
  }, u = () => {
13936
13936
  var c;
13937
- return (c = n?.event) != null && c.target ? Mc(n.event.target) : "";
13937
+ return (c = n?.event) != null && c.target ? Dc(n.event.target) : "";
13938
13938
  };
13939
13939
  return window.addEventListener("click", i, !0), window.addEventListener("keydown", i, !0), () => {
13940
13940
  window.removeEventListener("keydown", i, !0), window.removeEventListener("click", i, !0);
13941
13941
  };
13942
- }, t_ = typeof window < "u", So = t_ && "performance" in window && "memory" in performance ? performance : { memory: {} }, n_ = (t, e) => {
13942
+ }, n_ = typeof window < "u", So = n_ && "performance" in window && "memory" in performance ? performance : { memory: {} }, r_ = (t, e) => {
13943
13943
  let n = 0, r = 0;
13944
13944
  const i = () => {
13945
13945
  const s = ((/* @__PURE__ */ new Date()).getTime() - e) / 1e3, l = So.memory.jsHeapSizeLimit || 0, p = So.memory.usedJSHeapSize || 0;
@@ -13963,23 +13963,23 @@ const Wg = (t, e) => {
13963
13963
  return c(), () => {
13964
13964
  clearInterval(o), cancelAnimationFrame(r);
13965
13965
  };
13966
- }, r_ = "launchdarkly.js.log", i_ = "log.severity", o_ = "log.message", Oo = "launchdarkly.sampling.ratio";
13967
- function a_(t) {
13966
+ }, i_ = "launchdarkly.js.log", o_ = "log.severity", a_ = "log.message", Oo = "launchdarkly.sampling.ratio";
13967
+ function s_(t) {
13968
13968
  return "regexValue" in t;
13969
13969
  }
13970
- function s_(t) {
13970
+ function u_(t) {
13971
13971
  return "matchValue" in t;
13972
13972
  }
13973
- function u_(t) {
13973
+ function c_(t) {
13974
13974
  const e = Math.trunc(t);
13975
13975
  return e === 1 ? !0 : e === 0 ? !1 : Math.floor(Math.random() * e) === 0;
13976
13976
  }
13977
- class c_ {
13977
+ class l_ {
13978
13978
  /**
13979
13979
  * @param config The sampling configuration.
13980
13980
  * @param sampler The sampler to use. This is intended to be used for testing purposes.
13981
13981
  */
13982
- constructor(e = u_) {
13982
+ constructor(e = c_) {
13983
13983
  D(this, "regexCache", /* @__PURE__ */ new Map()), D(this, "config"), this.sampler = e;
13984
13984
  }
13985
13985
  setConfig(e) {
@@ -13991,7 +13991,7 @@ class c_ {
13991
13991
  }
13992
13992
  shouldSample(e) {
13993
13993
  var n, r;
13994
- return e.name === r_ ? this.sampleLog((n = this.config) == null ? void 0 : n.logs, e) : this.sampleSpan((r = this.config) == null ? void 0 : r.spans, e);
13994
+ return e.name === i_ ? this.sampleLog((n = this.config) == null ? void 0 : n.logs, e) : this.sampleSpan((r = this.config) == null ? void 0 : r.spans, e);
13995
13995
  }
13996
13996
  /**
13997
13997
  * Check if a value matches a match config.
@@ -13999,9 +13999,9 @@ class c_ {
13999
13999
  matchesValue(e, n) {
14000
14000
  if (!e)
14001
14001
  return !1;
14002
- if (s_(e))
14002
+ if (u_(e))
14003
14003
  return e.matchValue === n;
14004
- if (a_(e)) {
14004
+ if (s_(e)) {
14005
14005
  const r = e.regexValue;
14006
14006
  if (r === null)
14007
14007
  return !1;
@@ -14068,12 +14068,12 @@ class c_ {
14068
14068
  }
14069
14069
  matchesLogConfig(e, n) {
14070
14070
  if (e.severityText) {
14071
- const r = n[i_];
14071
+ const r = n[o_];
14072
14072
  if (typeof r == "string" && !this.matchesValue(e.severityText, r))
14073
14073
  return !1;
14074
14074
  }
14075
14075
  if (e.message) {
14076
- const r = n[o_];
14076
+ const r = n[a_];
14077
14077
  if (typeof r == "string" && !this.matchesValue(e.message, r))
14078
14078
  return !1;
14079
14079
  }
@@ -14147,9 +14147,9 @@ const Ao = () => {
14147
14147
  };
14148
14148
  return t;
14149
14149
  };
14150
- class l_ {
14150
+ class p_ {
14151
14151
  constructor(e) {
14152
- D(this, "organizationID"), D(this, "_integrations", []), D(this, "_gauges", /* @__PURE__ */ new Map()), D(this, "_counters", /* @__PURE__ */ new Map()), D(this, "_histograms", /* @__PURE__ */ new Map()), D(this, "_up_down_counters", /* @__PURE__ */ new Map()), D(this, "sampler", new c_()), D(this, "graphqlSDK"), typeof e.projectId == "string" ? this.organizationID = e.projectId : this.organizationID = e.projectId.toString(), zg(e, this.sampler);
14152
+ D(this, "organizationID"), D(this, "_integrations", []), D(this, "_gauges", /* @__PURE__ */ new Map()), D(this, "_counters", /* @__PURE__ */ new Map()), D(this, "_histograms", /* @__PURE__ */ new Map()), D(this, "_up_down_counters", /* @__PURE__ */ new Map()), D(this, "sampler", new l_()), D(this, "graphqlSDK"), typeof e.projectId == "string" ? this.organizationID = e.projectId : this.organizationID = e.projectId.toString(), Xg(e, this.sampler);
14153
14153
  const n = new Du(`${e.backendUrl}`, {
14154
14154
  headers: {}
14155
14155
  });
@@ -14172,7 +14172,7 @@ class l_ {
14172
14172
  });
14173
14173
  }
14174
14174
  recordLog(e, n, r) {
14175
- this.startSpan(qg, (i) => {
14175
+ this.startSpan(zg, (i) => {
14176
14176
  const o = typeof e == "string" ? e : Le(e);
14177
14177
  i?.addEvent("log", k({
14178
14178
  "log.severity": n,
@@ -14307,7 +14307,7 @@ class l_ {
14307
14307
  );
14308
14308
  }
14309
14309
  register(e, n) {
14310
- this._integrations.push(new kc(e, n));
14310
+ this._integrations.push(new Mc(e, n));
14311
14311
  }
14312
14312
  getHooks(e) {
14313
14313
  return this._integrations.flatMap((n) => {
@@ -14317,7 +14317,7 @@ class l_ {
14317
14317
  }
14318
14318
  setupListeners(e) {
14319
14319
  var n;
14320
- e.disableConsoleRecording || zc(
14320
+ e.disableConsoleRecording || Xc(
14321
14321
  (r) => {
14322
14322
  var i, o, a, u, c;
14323
14323
  const s = Q(k({}, r.attributes ? { attributes: r.attributes } : {}), {
@@ -14349,7 +14349,7 @@ class l_ {
14349
14349
  stringLengthLimit: 1e3
14350
14350
  }
14351
14351
  }
14352
- ), e.enablePerformanceRecording !== !1 && (n_((r) => {
14352
+ ), e.enablePerformanceRecording !== !1 && (r_((r) => {
14353
14353
  Object.entries(r).filter(([i]) => i !== "relativeTimestamp").forEach(
14354
14354
  ([i, o]) => o && we.recordGauge({
14355
14355
  name: i,
@@ -14360,7 +14360,7 @@ class l_ {
14360
14360
  }
14361
14361
  })
14362
14362
  );
14363
- }, 0), e_((r) => {
14363
+ }, 0), t_((r) => {
14364
14364
  we.recordGauge({
14365
14365
  name: "Jank",
14366
14366
  value: r.jankAmount,
@@ -14369,7 +14369,7 @@ class l_ {
14369
14369
  group: r.querySelector
14370
14370
  }
14371
14371
  });
14372
- }, 0)), Kc(
14372
+ }, 0)), Yc(
14373
14373
  (r) => {
14374
14374
  if (vi.includes(r.event) || gi.some(
14375
14375
  (o) => r.event.includes(o)
@@ -14393,7 +14393,7 @@ class l_ {
14393
14393
  );
14394
14394
  }
14395
14395
  }
14396
- class b_ extends Uc {
14396
+ class E_ extends jc {
14397
14397
  constructor(e, n) {
14398
14398
  var r = (...l) => (super(...l), D(this, "observe"), this), i, o, a, u, c, s;
14399
14399
  try {
@@ -14421,7 +14421,7 @@ class b_ extends Uc {
14421
14421
  serviceName: (c = n?.serviceName) != null ? c : "browser",
14422
14422
  instrumentations: (s = n?.otel) == null ? void 0 : s.instrumentations
14423
14423
  };
14424
- this.observe = new l_(l), we.load(this.observe);
14424
+ this.observe = new p_(l), we.load(this.observe);
14425
14425
  } catch (l) {
14426
14426
  me(
14427
14427
  "Error initializing @launchdarkly/observability SDK",
@@ -14442,8 +14442,8 @@ class b_ extends Uc {
14442
14442
  getHooks(e) {
14443
14443
  var n, r;
14444
14444
  const i = k(k({
14445
- [Xh]: e.sdk.name,
14446
- [Kh]: e.sdk.version,
14445
+ [Kh]: e.sdk.name,
14446
+ [Yh]: e.sdk.version,
14447
14447
  [bc]: e.clientSideId,
14448
14448
  [Oc]: "LaunchDarkly"
14449
14449
  }, (n = e.application) != null && n.id ? { [Nc]: e.application.id } : {}), (r = e.application) != null && r.version ? {
@@ -14463,7 +14463,8 @@ class b_ extends Uc {
14463
14463
  context: JSON.stringify(
14464
14464
  pi(o.context)
14465
14465
  ),
14466
- timeout: o.timeout
14466
+ timeout: o.timeout,
14467
+ [Ic]: u.status
14467
14468
  })), a;
14468
14469
  },
14469
14470
  afterEvaluation: (o, a, u) => {
@@ -14499,6 +14500,6 @@ class b_ extends Uc {
14499
14500
  }
14500
14501
  export {
14501
14502
  we as LDObserve,
14502
- b_ as default
14503
+ E_ as default
14503
14504
  };
14504
14505
  //# sourceMappingURL=observability.js.map