@launchdarkly/observability 1.1.10 → 1.1.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -14,14 +14,14 @@ var ol = Object.defineProperty, al = (e, t, n) => t in e ? ol(e, t, { enumerable
14
14
  }, u = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, a);
15
15
  u((n = n.apply(e, t)).next());
16
16
  });
17
- const Po = /* @__PURE__ */ Object.create(null), Ct = (e, t, ...n) => {
17
+ const No = /* @__PURE__ */ Object.create(null), Ct = (e, t, ...n) => {
18
18
  const r = `[@launchdarkly plugins]: (${e}): `;
19
19
  console[t].apply(console, [r, ...n]), ul(r, ...n);
20
20
  }, qt = (e, t, n, ...r) => {
21
- Po[`${e}-${t}`] || (Po[`${e}-${t}`] = !0, Ct(e, n, ...r));
21
+ No[`${e}-${t}`] || (No[`${e}-${t}`] = !0, Ct(e, n, ...r));
22
22
  }, ul = (e, ...t) => sl(void 0, null, function* () {
23
23
  try {
24
- const { LDObserve: n } = yield Promise.resolve().then(() => Pf);
24
+ const { LDObserve: n } = yield Promise.resolve().then(() => Nf);
25
25
  n.recordLog(`${e}${t}`, "warn");
26
26
  } catch {
27
27
  }
@@ -138,12 +138,12 @@ function fi(e, t) {
138
138
  };
139
139
  }
140
140
  function yl(e) {
141
- return Ns(
141
+ return Ps(
142
142
  e.source,
143
143
  fi(e.source, e.start)
144
144
  );
145
145
  }
146
- function Ns(e, t) {
146
+ function Ps(e, t) {
147
147
  const n = e.locationOffset.column - 1, r = "".padStart(n) + e.body, i = t.line - 1, o = e.locationOffset.line - 1, a = t.line + o, u = t.line === 1 ? n : 0, c = t.column + u, s = `${e.name}:${a}:${c}
148
148
  `, l = r.split(/\r\n|[\n\r]/g), p = l[i];
149
149
  if (p.length > 120) {
@@ -181,7 +181,7 @@ function gl(e) {
181
181
  extensions: e[5]
182
182
  } : t;
183
183
  }
184
- let ml = class Ps extends Error {
184
+ let ml = class Ns extends Error {
185
185
  /**
186
186
  * An array of `{ line, column }` locations within the source GraphQL document
187
187
  * which correspond to this error.
@@ -257,7 +257,7 @@ let ml = class Ps extends Error {
257
257
  value: l.stack,
258
258
  writable: !0,
259
259
  configurable: !0
260
- }) : Error.captureStackTrace ? Error.captureStackTrace(this, Ps) : Object.defineProperty(this, "stack", {
260
+ }) : Error.captureStackTrace ? Error.captureStackTrace(this, Ns) : Object.defineProperty(this, "stack", {
261
261
  value: Error().stack,
262
262
  writable: !0,
263
263
  configurable: !0
@@ -277,7 +277,7 @@ let ml = class Ps extends Error {
277
277
  for (const n of this.locations)
278
278
  t += `
279
279
 
280
- ` + Ns(this.source, n);
280
+ ` + Ps(this.source, n);
281
281
  return t;
282
282
  }
283
283
  toJSON() {
@@ -544,14 +544,14 @@ let Ol = class {
544
544
  if (t.next)
545
545
  t = t.next;
546
546
  else {
547
- const n = Ll(this, t.end);
547
+ const n = Al(this, t.end);
548
548
  t.next = n, n.prev = t, t = n;
549
549
  }
550
550
  while (t.kind === v.COMMENT);
551
551
  return t;
552
552
  }
553
553
  };
554
- function Al(e) {
554
+ function Ll(e) {
555
555
  return e === v.BANG || e === v.DOLLAR || e === v.AMP || e === v.PAREN_L || e === v.PAREN_R || e === v.SPREAD || e === v.COLON || e === v.EQUALS || e === v.AT || e === v.BRACKET_L || e === v.BRACKET_R || e === v.BRACE_L || e === v.PIPE || e === v.BRACE_R;
556
556
  }
557
557
  function be(e) {
@@ -580,7 +580,7 @@ function V(e, t, n, r, i) {
580
580
  const o = e.line, a = 1 + n - e.lineStart;
581
581
  return new Is(t, n, r, o, a, i);
582
582
  }
583
- function Ll(e, t) {
583
+ function Al(e, t) {
584
584
  const n = e.source.body, r = n.length;
585
585
  let i = t;
586
586
  for (; i < r; ) {
@@ -755,7 +755,7 @@ function xl(e, t) {
755
755
  return a += n.slice(o, i), V(e, v.STRING, t, i + 1, a);
756
756
  if (u === 92) {
757
757
  a += n.slice(o, i);
758
- const c = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ? Nl(e, i) : Pl(e, i) : Il(e, i);
758
+ const c = n.charCodeAt(i + 1) === 117 ? n.charCodeAt(i + 2) === 123 ? Pl(e, i) : Nl(e, i) : Il(e, i);
759
759
  a += c.value, i += c.size, o = i;
760
760
  continue;
761
761
  }
@@ -777,7 +777,7 @@ function xl(e, t) {
777
777
  }
778
778
  throw q(e.source, i, "Unterminated string.");
779
779
  }
780
- function Nl(e, t) {
780
+ function Pl(e, t) {
781
781
  const n = e.source.body;
782
782
  let r = 0, i = 3;
783
783
  for (; i < 12; ) {
@@ -802,7 +802,7 @@ function Nl(e, t) {
802
802
  )}".`
803
803
  );
804
804
  }
805
- function Pl(e, t) {
805
+ function Nl(e, t) {
806
806
  const n = e.source.body, r = Do(n, t + 2);
807
807
  if (be(r))
808
808
  return {
@@ -2172,7 +2172,7 @@ function sn(e) {
2172
2172
  return Vs(e.kind) + (t != null ? ` "${t}"` : "");
2173
2173
  }
2174
2174
  function Vs(e) {
2175
- return Al(e) ? `"${e}"` : e;
2175
+ return Ll(e) ? `"${e}"` : e;
2176
2176
  }
2177
2177
  function zl(e) {
2178
2178
  return `"${e.replace(Xl, Kl)}"`;
@@ -2377,27 +2377,27 @@ function Jl(e, t, n = ks) {
2377
2377
  continue;
2378
2378
  f.push(l);
2379
2379
  }
2380
- let P;
2380
+ let N;
2381
2381
  if (!Array.isArray(s)) {
2382
2382
  var y, g;
2383
2383
  Mo(s) || wn(!1, `Invalid AST Node: ${ao(s)}.`);
2384
2384
  const j = E ? (y = r.get(s.kind)) === null || y === void 0 ? void 0 : y.leave : (g = r.get(s.kind)) === null || g === void 0 ? void 0 : g.enter;
2385
- if (P = j?.call(t, s, l, p, f, d), P === Yl)
2385
+ if (N = j?.call(t, s, l, p, f, d), N === Yl)
2386
2386
  break;
2387
- if (P === !1) {
2387
+ if (N === !1) {
2388
2388
  if (!E) {
2389
2389
  f.pop();
2390
2390
  continue;
2391
2391
  }
2392
- } else if (P !== void 0 && (c.push([l, P]), !E))
2393
- if (Mo(P))
2394
- s = P;
2392
+ } else if (N !== void 0 && (c.push([l, N]), !E))
2393
+ if (Mo(N))
2394
+ s = N;
2395
2395
  else {
2396
2396
  f.pop();
2397
2397
  continue;
2398
2398
  }
2399
2399
  }
2400
- if (P === void 0 && S && c.push([l, s]), E)
2400
+ if (N === void 0 && S && c.push([l, s]), E)
2401
2401
  f.pop();
2402
2402
  else {
2403
2403
  var m;
@@ -2721,13 +2721,13 @@ const so = JSON, np = (e) => e.toUpperCase(), rp = (e) => {
2721
2721
  const t = jo(e);
2722
2722
  return { query: Zl(e), operationName: t };
2723
2723
  };
2724
- let Gs = class An extends Error {
2724
+ let Gs = class Ln extends Error {
2725
2725
  constructor(t, n) {
2726
- const r = `${An.extractMessage(t)}: ${JSON.stringify({
2726
+ const r = `${Ln.extractMessage(t)}: ${JSON.stringify({
2727
2727
  response: t,
2728
2728
  request: n
2729
2729
  })}`;
2730
- super(r), Object.setPrototypeOf(this, An.prototype), this.response = t, this.request = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, An);
2730
+ super(r), Object.setPrototypeOf(this, Ln.prototype), this.response = t, this.request = n, typeof Error.captureStackTrace == "function" && Error.captureStackTrace(this, Ln);
2731
2731
  }
2732
2732
  static extractMessage(t) {
2733
2733
  var n, r, i;
@@ -2789,8 +2789,8 @@ var vi = { exports: {} };
2789
2789
  function d(h) {
2790
2790
  var _ = {
2791
2791
  next: function() {
2792
- var A = h.shift();
2793
- return { done: A === void 0, value: A };
2792
+ var L = h.shift();
2793
+ return { done: L === void 0, value: L };
2794
2794
  }
2795
2795
  };
2796
2796
  return u.iterable && (_[Symbol.iterator] = function() {
@@ -2798,8 +2798,8 @@ var vi = { exports: {} };
2798
2798
  }), _;
2799
2799
  }
2800
2800
  function y(h) {
2801
- this.map = {}, h instanceof y ? h.forEach(function(_, A) {
2802
- this.append(A, _);
2801
+ this.map = {}, h instanceof y ? h.forEach(function(_, L) {
2802
+ this.append(L, _);
2803
2803
  }, this) : Array.isArray(h) ? h.forEach(function(_) {
2804
2804
  this.append(_[0], _[1]);
2805
2805
  }, this) : h && Object.getOwnPropertyNames(h).forEach(function(_) {
@@ -2808,8 +2808,8 @@ var vi = { exports: {} };
2808
2808
  }
2809
2809
  y.prototype.append = function(h, _) {
2810
2810
  h = p(h), _ = f(_);
2811
- var A = this.map[h];
2812
- this.map[h] = A ? A + ", " + _ : _;
2811
+ var L = this.map[h];
2812
+ this.map[h] = L ? L + ", " + _ : _;
2813
2813
  }, y.prototype.delete = function(h) {
2814
2814
  delete this.map[p(h)];
2815
2815
  }, y.prototype.get = function(h) {
@@ -2819,12 +2819,12 @@ var vi = { exports: {} };
2819
2819
  }, y.prototype.set = function(h, _) {
2820
2820
  this.map[p(h)] = f(_);
2821
2821
  }, y.prototype.forEach = function(h, _) {
2822
- for (var A in this.map)
2823
- this.map.hasOwnProperty(A) && h.call(_, this.map[A], A, this);
2822
+ for (var L in this.map)
2823
+ this.map.hasOwnProperty(L) && h.call(_, this.map[L], L, this);
2824
2824
  }, y.prototype.keys = function() {
2825
2825
  var h = [];
2826
- return this.forEach(function(_, A) {
2827
- h.push(A);
2826
+ return this.forEach(function(_, L) {
2827
+ h.push(L);
2828
2828
  }), d(h);
2829
2829
  }, y.prototype.values = function() {
2830
2830
  var h = [];
@@ -2833,8 +2833,8 @@ var vi = { exports: {} };
2833
2833
  }), d(h);
2834
2834
  }, y.prototype.entries = function() {
2835
2835
  var h = [];
2836
- return this.forEach(function(_, A) {
2837
- h.push([A, _]);
2836
+ return this.forEach(function(_, L) {
2837
+ h.push([L, _]);
2838
2838
  }), d(h);
2839
2839
  }, u.iterable && (y.prototype[Symbol.iterator] = y.prototype.entries);
2840
2840
  function g(h) {
@@ -2843,26 +2843,26 @@ var vi = { exports: {} };
2843
2843
  h.bodyUsed = !0;
2844
2844
  }
2845
2845
  function m(h) {
2846
- return new Promise(function(_, A) {
2846
+ return new Promise(function(_, L) {
2847
2847
  h.onload = function() {
2848
2848
  _(h.result);
2849
2849
  }, h.onerror = function() {
2850
- A(h.error);
2850
+ L(h.error);
2851
2851
  };
2852
2852
  });
2853
2853
  }
2854
2854
  function E(h) {
2855
- var _ = new FileReader(), A = m(_);
2856
- return _.readAsArrayBuffer(h), A;
2855
+ var _ = new FileReader(), L = m(_);
2856
+ return _.readAsArrayBuffer(h), L;
2857
2857
  }
2858
2858
  function S(h) {
2859
- var _ = new FileReader(), A = m(_);
2860
- return _.readAsText(h), A;
2859
+ var _ = new FileReader(), L = m(_);
2860
+ return _.readAsText(h), L;
2861
2861
  }
2862
- function P(h) {
2863
- for (var _ = new Uint8Array(h), A = new Array(_.length), G = 0; G < _.length; G++)
2864
- A[G] = String.fromCharCode(_[G]);
2865
- return A.join("");
2862
+ function N(h) {
2863
+ for (var _ = new Uint8Array(h), L = new Array(_.length), G = 0; G < _.length; G++)
2864
+ L[G] = String.fromCharCode(_[G]);
2865
+ return L.join("");
2866
2866
  }
2867
2867
  function j(h) {
2868
2868
  if (h.slice)
@@ -2893,7 +2893,7 @@ var vi = { exports: {} };
2893
2893
  if (this._bodyBlob)
2894
2894
  return S(this._bodyBlob);
2895
2895
  if (this._bodyArrayBuffer)
2896
- return Promise.resolve(P(this._bodyArrayBuffer));
2896
+ return Promise.resolve(N(this._bodyArrayBuffer));
2897
2897
  if (this._bodyFormData)
2898
2898
  throw new Error("could not read FormData body as text");
2899
2899
  return Promise.resolve(this._bodyText);
@@ -2910,32 +2910,32 @@ var vi = { exports: {} };
2910
2910
  }
2911
2911
  function U(h, _) {
2912
2912
  _ = _ || {};
2913
- var A = _.body;
2913
+ var L = _.body;
2914
2914
  if (h instanceof U) {
2915
2915
  if (h.bodyUsed)
2916
2916
  throw new TypeError("Already read");
2917
- this.url = h.url, this.credentials = h.credentials, _.headers || (this.headers = new y(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, !A && h._bodyInit != null && (A = h._bodyInit, h.bodyUsed = !0);
2917
+ this.url = h.url, this.credentials = h.credentials, _.headers || (this.headers = new y(h.headers)), this.method = h.method, this.mode = h.mode, this.signal = h.signal, !L && h._bodyInit != null && (L = h._bodyInit, h.bodyUsed = !0);
2918
2918
  } else
2919
2919
  this.url = String(h);
2920
- if (this.credentials = _.credentials || this.credentials || "same-origin", (_.headers || !this.headers) && (this.headers = new y(_.headers)), this.method = z(_.method || this.method || "GET"), this.mode = _.mode || this.mode || null, this.signal = _.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && A)
2920
+ if (this.credentials = _.credentials || this.credentials || "same-origin", (_.headers || !this.headers) && (this.headers = new y(_.headers)), this.method = z(_.method || this.method || "GET"), this.mode = _.mode || this.mode || null, this.signal = _.signal || this.signal, this.referrer = null, (this.method === "GET" || this.method === "HEAD") && L)
2921
2921
  throw new TypeError("Body not allowed for GET or HEAD requests");
2922
- this._initBody(A);
2922
+ this._initBody(L);
2923
2923
  }
2924
2924
  U.prototype.clone = function() {
2925
2925
  return new U(this, { body: this._bodyInit });
2926
2926
  };
2927
2927
  function yt(h) {
2928
2928
  var _ = new FormData();
2929
- return h.trim().split("&").forEach(function(A) {
2930
- if (A) {
2931
- var G = A.split("="), F = G.shift().replace(/\+/g, " "), M = G.join("=").replace(/\+/g, " ");
2929
+ return h.trim().split("&").forEach(function(L) {
2930
+ if (L) {
2931
+ var G = L.split("="), F = G.shift().replace(/\+/g, " "), M = G.join("=").replace(/\+/g, " ");
2932
2932
  _.append(decodeURIComponent(F), decodeURIComponent(M));
2933
2933
  }
2934
2934
  }), _;
2935
2935
  }
2936
2936
  function lt(h) {
2937
- var _ = new y(), A = h.replace(/\r?\n[\t ]+/g, " ");
2938
- return A.split(/\r?\n/).forEach(function(G) {
2937
+ var _ = new y(), L = h.replace(/\r?\n[\t ]+/g, " ");
2938
+ return L.split(/\r?\n/).forEach(function(G) {
2939
2939
  var F = G.split(":"), M = F.shift().trim();
2940
2940
  if (M) {
2941
2941
  var kt = F.join(":").trim();
@@ -2967,14 +2967,14 @@ var vi = { exports: {} };
2967
2967
  try {
2968
2968
  new a.DOMException();
2969
2969
  } catch {
2970
- a.DOMException = function(_, A) {
2971
- this.message = _, this.name = A;
2970
+ a.DOMException = function(_, L) {
2971
+ this.message = _, this.name = L;
2972
2972
  var G = Error(_);
2973
2973
  this.stack = G.stack;
2974
2974
  }, a.DOMException.prototype = Object.create(Error.prototype), a.DOMException.prototype.constructor = a.DOMException;
2975
2975
  }
2976
2976
  function gt(h, _) {
2977
- return new Promise(function(A, G) {
2977
+ return new Promise(function(L, G) {
2978
2978
  var F = new U(h, _);
2979
2979
  if (F.signal && F.signal.aborted)
2980
2980
  return G(new a.DOMException("Aborted", "AbortError"));
@@ -2989,16 +2989,16 @@ var vi = { exports: {} };
2989
2989
  headers: lt(M.getAllResponseHeaders() || "")
2990
2990
  };
2991
2991
  Mt.url = "responseURL" in M ? M.responseURL : Mt.headers.get("X-Request-URL");
2992
- var Ae = "response" in M ? M.response : M.responseText;
2993
- A(new K(Ae, Mt));
2992
+ var Le = "response" in M ? M.response : M.responseText;
2993
+ L(new K(Le, Mt));
2994
2994
  }, M.onerror = function() {
2995
2995
  G(new TypeError("Network request failed"));
2996
2996
  }, M.ontimeout = function() {
2997
2997
  G(new TypeError("Network request failed"));
2998
2998
  }, M.onabort = function() {
2999
2999
  G(new a.DOMException("Aborted", "AbortError"));
3000
- }, M.open(F.method, F.url, !0), F.credentials === "include" ? M.withCredentials = !0 : F.credentials === "omit" && (M.withCredentials = !1), "responseType" in M && u.blob && (M.responseType = "blob"), F.headers.forEach(function(Mt, Ae) {
3001
- M.setRequestHeader(Ae, Mt);
3000
+ }, M.open(F.method, F.url, !0), F.credentials === "include" ? M.withCredentials = !0 : F.credentials === "omit" && (M.withCredentials = !1), "responseType" in M && u.blob && (M.responseType = "blob"), F.headers.forEach(function(Mt, Le) {
3001
+ M.setRequestHeader(Le, Mt);
3002
3002
  }), F.signal && (F.signal.addEventListener("abort", kt), M.onreadystatechange = function() {
3003
3003
  M.readyState === 4 && F.signal.removeEventListener("abort", kt);
3004
3004
  }), M.send(typeof F._bodyInit > "u" ? null : F._bodyInit);
@@ -3011,9 +3011,9 @@ var vi = { exports: {} };
3011
3011
  t = i.fetch, t.default = i.fetch, t.fetch = i.fetch, t.Headers = i.Headers, t.Request = i.Request, t.Response = i.Response, e.exports = t;
3012
3012
  })(vi, vi.exports);
3013
3013
  var yi = vi.exports;
3014
- const Ln = /* @__PURE__ */ rr(yi), sp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3014
+ const An = /* @__PURE__ */ rr(yi), sp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3015
3015
  __proto__: null,
3016
- default: Ln
3016
+ default: An
3017
3017
  }, Symbol.toStringTag, { value: "Module" })), ee = (e) => {
3018
3018
  let t = {};
3019
3019
  return e && (typeof Headers < "u" && e instanceof Headers || sp && yi.Headers && e instanceof yi.Headers ? t = rp(e) : Array.isArray(e) ? e.forEach(([n, r]) => {
@@ -3056,7 +3056,7 @@ const Ln = /* @__PURE__ */ rr(yi), sp = /* @__PURE__ */ Object.freeze(/* @__PURE
3056
3056
  let lp = class {
3057
3057
  constructor(t, n = {}) {
3058
3058
  this.url = t, this.requestConfig = n, this.rawRequest = (...r) => ye(this, null, function* () {
3059
- const [i, o, a] = r, u = op(i, o, a), c = this.requestConfig, { headers: s, fetch: l = Ln, method: p = "POST", requestMiddleware: f, responseMiddleware: d } = c, y = Be(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: g } = this;
3059
+ const [i, o, a] = r, u = op(i, o, a), c = this.requestConfig, { headers: s, fetch: l = An, method: p = "POST", requestMiddleware: f, responseMiddleware: d } = c, y = Be(c, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: g } = this;
3060
3060
  u.signal !== void 0 && (y.signal = u.signal);
3061
3061
  const { operationName: m } = yr(u.query);
3062
3062
  return gr({
@@ -3076,7 +3076,7 @@ let lp = class {
3076
3076
  }
3077
3077
  request(t, ...n) {
3078
3078
  return ye(this, null, function* () {
3079
- const [r, i] = n, o = ip(t, r, i), a = this.requestConfig, { headers: u, fetch: c = Ln, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Be(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3079
+ const [r, i] = n, o = ip(t, r, i), a = this.requestConfig, { headers: u, fetch: c = An, method: s = "POST", requestMiddleware: l, responseMiddleware: p } = a, f = Be(a, ["headers", "fetch", "method", "requestMiddleware", "responseMiddleware"]), { url: d } = this;
3080
3080
  o.signal !== void 0 && (f.signal = o.signal);
3081
3081
  const { query: y, operationName: g } = yr(o.document);
3082
3082
  return gr({
@@ -3107,7 +3107,7 @@ let lp = class {
3107
3107
  variables: s,
3108
3108
  headers: I(I({}, ee(mr(a))), ee(i.requestHeaders)),
3109
3109
  operationName: void 0,
3110
- fetch: (r = this.requestConfig.fetch) != null ? r : Ln,
3110
+ fetch: (r = this.requestConfig.fetch) != null ? r : An,
3111
3111
  method: this.requestConfig.method || "POST",
3112
3112
  fetchOptions: u,
3113
3113
  middleware: this.requestConfig.requestMiddleware
@@ -3258,7 +3258,7 @@ function Ep() {
3258
3258
  function bp() {
3259
3259
  $n = !1;
3260
3260
  }
3261
- var Le = {
3261
+ var Ae = {
3262
3262
  gql: et,
3263
3263
  resetCaches: mp,
3264
3264
  disableFragmentWarnings: _p,
@@ -3266,7 +3266,7 @@ var Le = {
3266
3266
  disableExperimentalFragmentVariables: bp
3267
3267
  };
3268
3268
  (function(e) {
3269
- e.gql = Le.gql, e.resetCaches = Le.resetCaches, e.disableFragmentWarnings = Le.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Le.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Le.disableExperimentalFragmentVariables;
3269
+ e.gql = Ae.gql, e.resetCaches = Ae.resetCaches, e.disableFragmentWarnings = Ae.disableFragmentWarnings, e.enableExperimentalFragmentVariables = Ae.enableExperimentalFragmentVariables, e.disableExperimentalFragmentVariables = Ae.disableExperimentalFragmentVariables;
3270
3270
  })(et || (et = {}));
3271
3271
  et.default = et;
3272
3272
  const zs = et`
@@ -3334,11 +3334,11 @@ const zs = et`
3334
3334
  properties_object: $properties_object
3335
3335
  )
3336
3336
  }
3337
- `, Ap = et`
3337
+ `, Lp = et`
3338
3338
  mutation pushMetrics($metrics: [MetricInput]!) {
3339
3339
  pushMetrics(metrics: $metrics)
3340
3340
  }
3341
- `, Lp = et`
3341
+ `, Ap = et`
3342
3342
  mutation addSessionFeedback(
3343
3343
  $session_secure_id: String!
3344
3344
  $user_name: String
@@ -3496,8 +3496,8 @@ const zs = et`
3496
3496
  }
3497
3497
  }
3498
3498
  ${zs}
3499
- `, Np = (e, t, n, r) => e();
3500
- function Pp(e, t = Np) {
3499
+ `, Pp = (e, t, n, r) => e();
3500
+ function Np(e, t = Pp) {
3501
3501
  return {
3502
3502
  PushPayload(n, r) {
3503
3503
  return t(
@@ -3550,7 +3550,7 @@ function Pp(e, t = Np) {
3550
3550
  pushMetrics(n, r) {
3551
3551
  return t(
3552
3552
  (i) => e.request(
3553
- Ap,
3553
+ Lp,
3554
3554
  n,
3555
3555
  I(I({}, r), i)
3556
3556
  ),
@@ -3562,7 +3562,7 @@ function Pp(e, t = Np) {
3562
3562
  addSessionFeedback(n, r) {
3563
3563
  return t(
3564
3564
  (i) => e.request(
3565
- Lp,
3565
+ Ap,
3566
3566
  n,
3567
3567
  I(I({}, r), i)
3568
3568
  ),
@@ -4090,10 +4090,10 @@ const Tf = (e) => {
4090
4090
  return window.addEventListener("locationchange", i), () => {
4091
4091
  window.removeEventListener("popstate", r), window.removeEventListener("locationchange", i), history.pushState = t, history.replaceState = n;
4092
4092
  };
4093
- }, Sf = "10.3.1", wf = {
4093
+ }, Sf = "10.3.4", wf = {
4094
4094
  version: Sf
4095
4095
  }, Of = wf.version;
4096
- function Af(e) {
4096
+ function Lf(e) {
4097
4097
  if (e.id.length)
4098
4098
  return `#${e.id}`;
4099
4099
  if (e.classList.length) {
@@ -4104,7 +4104,7 @@ function Af(e) {
4104
4104
  }
4105
4105
  return e.nodeName.toLowerCase();
4106
4106
  }
4107
- const Lf = (e) => {
4107
+ const Af = (e) => {
4108
4108
  let t;
4109
4109
  const n = () => {
4110
4110
  clearTimeout(t), t = setTimeout(() => {
@@ -4197,7 +4197,7 @@ const Cf = /* @__PURE__ */ rr(Rf), Tr = 28, ne = "abcdefghijklmnopqrstuvwxyzABCD
4197
4197
  }
4198
4198
  return n;
4199
4199
  };
4200
- let Nf = class {
4200
+ let Pf = class {
4201
4201
  constructor(t) {
4202
4202
  He(this, "sessionSecureID");
4203
4203
  try {
@@ -4288,7 +4288,7 @@ class zo extends Rs {
4288
4288
  }
4289
4289
  let le;
4290
4290
  typeof globalThis < "u" ? globalThis.LDObserve ? le = globalThis.LDObserve : (le = new zo(), globalThis.LDObserve = le) : le = new zo();
4291
- const Pf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4291
+ const Nf = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4292
4292
  __proto__: null,
4293
4293
  get LDObserve() {
4294
4294
  return le;
@@ -4393,12 +4393,12 @@ function $f() {
4393
4393
  return this.getIsEval() ? g ? "[eval] (" + g + ":" + m + ":" + E + ")" : "[eval]:" + m + ":" + E : S ? S + " (" + g + ":" + m + ":" + E + ")" : g + ":" + m + ":" + E;
4394
4394
  }
4395
4395
  }, p.fromString = function(g) {
4396
- var m = g.indexOf("("), E = g.lastIndexOf(")"), S = g.substring(0, m), P = g.substring(m + 1, E).split(","), j = g.substring(E + 1);
4396
+ var m = g.indexOf("("), E = g.lastIndexOf(")"), S = g.substring(0, m), N = g.substring(m + 1, E).split(","), j = g.substring(E + 1);
4397
4397
  if (j.indexOf("@") === 0)
4398
4398
  var B = /@(.+?)(?::(\d+))?(?::(\d+))?$/.exec(j, ""), nt = B[1], z = B[2], U = B[3];
4399
4399
  return new p({
4400
4400
  functionName: S,
4401
- args: P || void 0,
4401
+ args: N || void 0,
4402
4402
  fileName: nt,
4403
4403
  lineNumber: z || void 0,
4404
4404
  columnNumber: U || void 0
@@ -5073,13 +5073,13 @@ var mh = (
5073
5073
  }, e.prototype.createHistogram = function(t, n) {
5074
5074
  return Ch;
5075
5075
  }, e.prototype.createCounter = function(t, n) {
5076
- return Lh;
5076
+ return Ah;
5077
5077
  }, e.prototype.createUpDownCounter = function(t, n) {
5078
5078
  return xh;
5079
5079
  }, e.prototype.createObservableGauge = function(t, n) {
5080
- return Ph;
5081
- }, e.prototype.createObservableCounter = function(t, n) {
5082
5080
  return Nh;
5081
+ }, e.prototype.createObservableCounter = function(t, n) {
5082
+ return Ph;
5083
5083
  }, e.prototype.createObservableUpDownCounter = function(t, n) {
5084
5084
  return Ih;
5085
5085
  }, e.prototype.addBatchObservableCallback = function(t, n) {
@@ -5160,7 +5160,7 @@ var mh = (
5160
5160
  }
5161
5161
  return t;
5162
5162
  }(vo)
5163
- ), Ah = (
5163
+ ), Lh = (
5164
5164
  /** @class */
5165
5165
  function(e) {
5166
5166
  Yt(t, e);
@@ -5169,14 +5169,14 @@ var mh = (
5169
5169
  }
5170
5170
  return t;
5171
5171
  }(vo)
5172
- ), uu = new _h(), Lh = new Eh(), Rh = new Th(), Ch = new Sh(), xh = new bh(), Nh = new wh(), Ph = new Oh(), Ih = new Ah();
5172
+ ), uu = new _h(), Ah = new Eh(), Rh = new Th(), Ch = new Sh(), xh = new bh(), Ph = new wh(), Nh = new Oh(), Ih = new Lh();
5173
5173
  function kh() {
5174
5174
  return uu;
5175
5175
  }
5176
- var Nt;
5176
+ var Pt;
5177
5177
  (function(e) {
5178
5178
  e[e.INT = 0] = "INT", e[e.DOUBLE = 1] = "DOUBLE";
5179
- })(Nt || (Nt = {}));
5179
+ })(Pt || (Pt = {}));
5180
5180
  var Mh = {
5181
5181
  get: function(e, t) {
5182
5182
  if (e != null)
@@ -5248,7 +5248,7 @@ var Mh = {
5248
5248
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
5249
5249
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
5250
5250
  return e.concat(o || Array.prototype.slice.call(t));
5251
- }, Ar = "context", Vh = new Bh(), cr = (
5251
+ }, Lr = "context", Vh = new Bh(), cr = (
5252
5252
  /** @class */
5253
5253
  function() {
5254
5254
  function e() {
@@ -5256,7 +5256,7 @@ var Mh = {
5256
5256
  return e.getInstance = function() {
5257
5257
  return this._instance || (this._instance = new e()), this._instance;
5258
5258
  }, e.prototype.setGlobalContextManager = function(t) {
5259
- return en(Ar, t, dt.instance());
5259
+ return en(Lr, t, dt.instance());
5260
5260
  }, e.prototype.active = function() {
5261
5261
  return this._getContextManager().active();
5262
5262
  }, e.prototype.with = function(t, n, r) {
@@ -5266,9 +5266,9 @@ var Mh = {
5266
5266
  }, e.prototype.bind = function(t, n) {
5267
5267
  return this._getContextManager().bind(t, n);
5268
5268
  }, e.prototype._getContextManager = function() {
5269
- return Xt(Ar) || Vh;
5269
+ return Xt(Lr) || Vh;
5270
5270
  }, e.prototype.disable = function() {
5271
- this._getContextManager().disable(), nn(Ar, dt.instance());
5271
+ this._getContextManager().disable(), nn(Lr, dt.instance());
5272
5272
  }, e;
5273
5273
  }()
5274
5274
  ), vt;
@@ -5340,13 +5340,13 @@ function rn(e) {
5340
5340
  function Wh(e) {
5341
5341
  return new $e(e);
5342
5342
  }
5343
- var Lr = cr.getInstance(), du = (
5343
+ var Ar = cr.getInstance(), du = (
5344
5344
  /** @class */
5345
5345
  function() {
5346
5346
  function e() {
5347
5347
  }
5348
5348
  return e.prototype.startSpan = function(t, n, r) {
5349
- r === void 0 && (r = Lr.active());
5349
+ r === void 0 && (r = Ar.active());
5350
5350
  var i = !!(n != null && n.root);
5351
5351
  if (i)
5352
5352
  return new $e();
@@ -5356,8 +5356,8 @@ var Lr = cr.getInstance(), du = (
5356
5356
  var o, a, u;
5357
5357
  if (!(arguments.length < 2)) {
5358
5358
  arguments.length === 2 ? u = n : arguments.length === 3 ? (o = n, u = r) : (o = n, a = r, u = i);
5359
- var c = a ?? Lr.active(), s = this.startSpan(t, o, c), l = mo(c, s);
5360
- return Lr.with(l, u, void 0, s);
5359
+ var c = a ?? Ar.active(), s = this.startSpan(t, o, c), l = mo(c, s);
5360
+ return Ar.with(l, u, void 0, s);
5361
5361
  }
5362
5362
  }, e;
5363
5363
  }()
@@ -5422,7 +5422,7 @@ var Gn;
5422
5422
  (function(e) {
5423
5423
  e[e.UNSET = 0] = "UNSET", e[e.OK = 1] = "OK", e[e.ERROR = 2] = "ERROR";
5424
5424
  })(Gn || (Gn = {}));
5425
- var N = cr.getInstance(), b = dt.instance(), ed = (
5425
+ var P = cr.getInstance(), b = dt.instance(), ed = (
5426
5426
  /** @class */
5427
5427
  function() {
5428
5428
  function e() {
@@ -5521,7 +5521,7 @@ function pd(e) {
5521
5521
  function gu(e) {
5522
5522
  return e.getValue(yu) === !0;
5523
5523
  }
5524
- var fd = "=", Ai = ";", Li = ",", Nr = "baggage", hd = 180, dd = 4096, vd = 8192, yd = function(e, t) {
5524
+ var fd = "=", Li = ";", Ai = ",", Pr = "baggage", hd = 180, dd = 4096, vd = 8192, yd = function(e, t) {
5525
5525
  var n = typeof Symbol == "function" && e[Symbol.iterator];
5526
5526
  if (!n) return e;
5527
5527
  var r = n.call(e), i, o = [], a;
@@ -5540,25 +5540,25 @@ var fd = "=", Ai = ";", Li = ",", Nr = "baggage", hd = 180, dd = 4096, vd = 8192
5540
5540
  };
5541
5541
  function gd(e) {
5542
5542
  return e.reduce(function(t, n) {
5543
- var r = "" + t + (t !== "" ? Li : "") + n;
5543
+ var r = "" + t + (t !== "" ? Ai : "") + n;
5544
5544
  return r.length > vd ? t : r;
5545
5545
  }, "");
5546
5546
  }
5547
5547
  function md(e) {
5548
5548
  return e.getAllEntries().map(function(t) {
5549
5549
  var n = yd(t, 2), r = n[0], i = n[1], o = encodeURIComponent(r) + "=" + encodeURIComponent(i.value);
5550
- return i.metadata !== void 0 && (o += Ai + i.metadata.toString()), o;
5550
+ return i.metadata !== void 0 && (o += Li + i.metadata.toString()), o;
5551
5551
  });
5552
5552
  }
5553
5553
  function _d(e) {
5554
- var t = e.split(Ai);
5554
+ var t = e.split(Li);
5555
5555
  if (!(t.length <= 0)) {
5556
5556
  var n = t.shift();
5557
5557
  if (n) {
5558
5558
  var r = n.indexOf(fd);
5559
5559
  if (!(r <= 0)) {
5560
5560
  var i = decodeURIComponent(n.substring(0, r).trim()), o = decodeURIComponent(n.substring(r + 1).trim()), a;
5561
- return t.length > 0 && (a = su(t.join(Ai))), { key: i, value: o, metadata: a };
5561
+ return t.length > 0 && (a = su(t.join(Li))), { key: i, value: o, metadata: a };
5562
5562
  }
5563
5563
  }
5564
5564
  }
@@ -5574,16 +5574,16 @@ var Ed = (
5574
5574
  var o = md(i).filter(function(u) {
5575
5575
  return u.length <= dd;
5576
5576
  }).slice(0, hd), a = gd(o);
5577
- a.length > 0 && r.set(n, Nr, a);
5577
+ a.length > 0 && r.set(n, Pr, a);
5578
5578
  }
5579
5579
  }, e.prototype.extract = function(t, n, r) {
5580
- var i = r.get(n, Nr), o = Array.isArray(i) ? i.join(Li) : i;
5580
+ var i = r.get(n, Pr), o = Array.isArray(i) ? i.join(Ai) : i;
5581
5581
  if (!o)
5582
5582
  return t;
5583
5583
  var a = {};
5584
5584
  if (o.length === 0)
5585
5585
  return t;
5586
- var u = o.split(Li);
5586
+ var u = o.split(Ai);
5587
5587
  return u.forEach(function(c) {
5588
5588
  var s = _d(c);
5589
5589
  if (s) {
@@ -5592,7 +5592,7 @@ var Ed = (
5592
5592
  }
5593
5593
  }), Object.entries(a).length === 0 ? t : Z.setBaggage(t, Z.createBaggage(a));
5594
5594
  }, e.prototype.fields = function() {
5595
- return [Nr];
5595
+ return [Pr];
5596
5596
  }, e;
5597
5597
  }()
5598
5598
  );
@@ -5625,9 +5625,9 @@ var Ri;
5625
5625
  (function(e) {
5626
5626
  e.AlwaysOff = "always_off", e.AlwaysOn = "always_on", e.ParentBasedAlwaysOff = "parentbased_always_off", e.ParentBasedAlwaysOn = "parentbased_always_on", e.ParentBasedTraceIdRatio = "parentbased_traceidratio", e.TraceIdRatio = "traceidratio";
5627
5627
  })(Ri || (Ri = {}));
5628
- var Od = ",", Ad = ["OTEL_SDK_DISABLED"];
5629
- function Ld(e) {
5630
- return Ad.indexOf(e) > -1;
5628
+ var Od = ",", Ld = ["OTEL_SDK_DISABLED"];
5629
+ function Ad(e) {
5630
+ return Ld.indexOf(e) > -1;
5631
5631
  }
5632
5632
  var Rd = [
5633
5633
  "OTEL_BSP_EXPORT_TIMEOUT",
@@ -5662,10 +5662,10 @@ var xd = [
5662
5662
  "OTEL_PROPAGATORS",
5663
5663
  "OTEL_SEMCONV_STABILITY_OPT_IN"
5664
5664
  ];
5665
- function Nd(e) {
5665
+ function Pd(e) {
5666
5666
  return xd.indexOf(e) > -1;
5667
5667
  }
5668
- var Pr = 1 / 0, Ir = 128, Pd = 128, Id = 128, mu = {
5668
+ var Nr = 1 / 0, Ir = 128, Nd = 128, Id = 128, mu = {
5669
5669
  OTEL_SDK_DISABLED: !1,
5670
5670
  CONTAINER_NAME: "",
5671
5671
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -5704,15 +5704,15 @@ var Pr = 1 / 0, Ir = 128, Pd = 128, Id = 128, mu = {
5704
5704
  OTEL_PROPAGATORS: ["tracecontext", "baggage"],
5705
5705
  OTEL_RESOURCE_ATTRIBUTES: "",
5706
5706
  OTEL_SERVICE_NAME: "",
5707
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pr,
5707
+ OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nr,
5708
5708
  OTEL_ATTRIBUTE_COUNT_LIMIT: Ir,
5709
- OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pr,
5709
+ OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nr,
5710
5710
  OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: Ir,
5711
- OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pr,
5711
+ OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nr,
5712
5712
  OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: Ir,
5713
5713
  OTEL_SPAN_EVENT_COUNT_LIMIT: 128,
5714
5714
  OTEL_SPAN_LINK_COUNT_LIMIT: 128,
5715
- OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Pd,
5715
+ OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Nd,
5716
5716
  OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: Id,
5717
5717
  OTEL_TRACES_EXPORTER: "",
5718
5718
  OTEL_TRACES_SAMPLER: Ri.ParentBasedAlwaysOn,
@@ -5789,11 +5789,11 @@ function Bd(e) {
5789
5789
  jd(r, t, e);
5790
5790
  break;
5791
5791
  default:
5792
- if (Ld(r))
5792
+ if (Ad(r))
5793
5793
  kd(r, t, e);
5794
5794
  else if (Cd(r))
5795
5795
  Md(r, t, e);
5796
- else if (Nd(r))
5796
+ else if (Pd(r))
5797
5797
  Dd(r, t, e);
5798
5798
  else {
5799
5799
  var i = e[r];
@@ -5903,7 +5903,7 @@ var av = function(e) {
5903
5903
  return this._fields.slice();
5904
5904
  }, e;
5905
5905
  }()
5906
- ), Ni = "[_0-9a-z-*/]", uv = "[a-z]" + Ni + "{0,255}", cv = "[a-z0-9]" + Ni + "{0,240}@[a-z]" + Ni + "{0,13}", lv = new RegExp("^(?:" + uv + "|" + cv + ")$"), pv = /^[ -~]{0,255}[!-~]$/, fv = /,|=/;
5906
+ ), Pi = "[_0-9a-z-*/]", uv = "[a-z]" + Pi + "{0,255}", cv = "[a-z0-9]" + Pi + "{0,240}@[a-z]" + Pi + "{0,13}", lv = new RegExp("^(?:" + uv + "|" + cv + ")$"), pv = /^[ -~]{0,255}[!-~]$/, fv = /,|=/;
5907
5907
  function hv(e) {
5908
5908
  return lv.test(e);
5909
5909
  }
@@ -5986,14 +5986,14 @@ var wv = (
5986
5986
  return [Mr, Dr];
5987
5987
  }, e;
5988
5988
  }()
5989
- ), Ov = "[object Object]", Av = "[object Null]", Lv = "[object Undefined]", Rv = Function.prototype, _u = Rv.toString, Cv = _u.call(Object), xv = Nv(Object.getPrototypeOf, Object), Eu = Object.prototype, bu = Eu.hasOwnProperty, Bt = Symbol ? Symbol.toStringTag : void 0, Tu = Eu.toString;
5990
- function Nv(e, t) {
5989
+ ), Ov = "[object Object]", Lv = "[object Null]", Av = "[object Undefined]", Rv = Function.prototype, _u = Rv.toString, Cv = _u.call(Object), xv = Pv(Object.getPrototypeOf, Object), Eu = Object.prototype, bu = Eu.hasOwnProperty, Bt = Symbol ? Symbol.toStringTag : void 0, Tu = Eu.toString;
5990
+ function Pv(e, t) {
5991
5991
  return function(n) {
5992
5992
  return e(t(n));
5993
5993
  };
5994
5994
  }
5995
5995
  function ia(e) {
5996
- if (!Pv(e) || Iv(e) !== Ov)
5996
+ if (!Nv(e) || Iv(e) !== Ov)
5997
5997
  return !1;
5998
5998
  var t = xv(e);
5999
5999
  if (t === null)
@@ -6001,11 +6001,11 @@ function ia(e) {
6001
6001
  var n = bu.call(t, "constructor") && t.constructor;
6002
6002
  return typeof n == "function" && n instanceof n && _u.call(n) === Cv;
6003
6003
  }
6004
- function Pv(e) {
6004
+ function Nv(e) {
6005
6005
  return e != null && typeof e == "object";
6006
6006
  }
6007
6007
  function Iv(e) {
6008
- return e == null ? e === void 0 ? Lv : Av : Bt && Bt in Object(e) ? kv(e) : Mv(e);
6008
+ return e == null ? e === void 0 ? Av : Lv : Bt && Bt in Object(e) ? kv(e) : Mv(e);
6009
6009
  }
6010
6010
  function kv(e) {
6011
6011
  var t = bu.call(e, Bt), n = e[Bt], r = !1;
@@ -6097,7 +6097,7 @@ function jv(e, t) {
6097
6097
  }
6098
6098
  function Bv(e, t) {
6099
6099
  return new Promise(function(n) {
6100
- N.with(pd(N.active()), function() {
6100
+ P.with(pd(P.active()), function() {
6101
6101
  e.export(t, function(r) {
6102
6102
  n(r);
6103
6103
  });
@@ -6123,7 +6123,7 @@ var $v = {
6123
6123
  return new Ou();
6124
6124
  }, e;
6125
6125
  }()
6126
- ), Au = new Vv(), Gv = (
6126
+ ), Lu = new Vv(), Gv = (
6127
6127
  /** @class */
6128
6128
  function() {
6129
6129
  function e(t, n, r, i) {
@@ -6148,7 +6148,7 @@ var $v = {
6148
6148
  return (i = this.getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new Gv(this, t, n, r);
6149
6149
  }, e.prototype.getDelegate = function() {
6150
6150
  var t;
6151
- return (t = this._delegate) !== null && t !== void 0 ? t : Au;
6151
+ return (t = this._delegate) !== null && t !== void 0 ? t : Lu;
6152
6152
  }, e.prototype.setDelegate = function(t) {
6153
6153
  this._delegate = t;
6154
6154
  }, e.prototype.getDelegateLogger = function(t, n, r) {
@@ -6171,7 +6171,7 @@ var sa = 1, zv = (
6171
6171
  return e.getInstance = function() {
6172
6172
  return this._instance || (this._instance = new e()), this._instance;
6173
6173
  }, e.prototype.setGlobalLoggerProvider = function(t) {
6174
- return xe[pn] ? this.getLoggerProvider() : (xe[pn] = qv(sa, t, Au), this._proxyLoggerProvider.setDelegate(t), t);
6174
+ return xe[pn] ? this.getLoggerProvider() : (xe[pn] = qv(sa, t, Lu), this._proxyLoggerProvider.setDelegate(t), t);
6175
6175
  }, e.prototype.getLoggerProvider = function() {
6176
6176
  var t, n;
6177
6177
  return (n = (t = xe[pn]) === null || t === void 0 ? void 0 : t.call(xe, sa)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
@@ -6181,7 +6181,7 @@ var sa = 1, zv = (
6181
6181
  delete xe[pn], this._proxyLoggerProvider = new aa();
6182
6182
  }, e;
6183
6183
  }()
6184
- ), Lu = zv.getInstance();
6184
+ ), Au = zv.getInstance();
6185
6185
  function Xv(e, t, n, r) {
6186
6186
  for (var i = 0, o = e.length; i < o; i++) {
6187
6187
  var a = e[i];
@@ -6194,16 +6194,16 @@ function Kv(e) {
6194
6194
  });
6195
6195
  }
6196
6196
  function Wv(e) {
6197
- var t, n, r = e.tracerProvider || k.getTracerProvider(), i = e.meterProvider || Se.getMeterProvider(), o = e.loggerProvider || Lu.getLoggerProvider(), a = (n = (t = e.instrumentations) === null || t === void 0 ? void 0 : t.flat()) !== null && n !== void 0 ? n : [];
6197
+ var t, n, r = e.tracerProvider || k.getTracerProvider(), i = e.meterProvider || Se.getMeterProvider(), o = e.loggerProvider || Au.getLoggerProvider(), a = (n = (t = e.instrumentations) === null || t === void 0 ? void 0 : t.flat()) !== null && n !== void 0 ? n : [];
6198
6198
  return Xv(a, r, i, o), function() {
6199
6199
  Kv(a);
6200
6200
  };
6201
6201
  }
6202
- function Pi(e) {
6202
+ function Ni(e) {
6203
6203
  return typeof e == "function";
6204
6204
  }
6205
6205
  var tt = console.error.bind(console);
6206
- function Ne(e, t, n) {
6206
+ function Pe(e, t, n) {
6207
6207
  var r = !!e[t] && e.propertyIsEnumerable(t);
6208
6208
  Object.defineProperty(e, t, {
6209
6209
  configurable: !0,
@@ -6213,7 +6213,7 @@ function Ne(e, t, n) {
6213
6213
  });
6214
6214
  }
6215
6215
  function on(e) {
6216
- e && e.logger && (Pi(e.logger) ? tt = e.logger : tt("new logger isn't a function, not replacing"));
6216
+ e && e.logger && (Ni(e.logger) ? tt = e.logger : tt("new logger isn't a function, not replacing"));
6217
6217
  }
6218
6218
  function Ru(e, t, n) {
6219
6219
  if (!e || !e[t]) {
@@ -6224,14 +6224,14 @@ function Ru(e, t, n) {
6224
6224
  tt("no wrapper function"), tt(new Error().stack);
6225
6225
  return;
6226
6226
  }
6227
- if (!Pi(e[t]) || !Pi(n)) {
6227
+ if (!Ni(e[t]) || !Ni(n)) {
6228
6228
  tt("original object and wrapper must be functions");
6229
6229
  return;
6230
6230
  }
6231
6231
  var r = e[t], i = n(r, t);
6232
- return Ne(i, "__original", r), Ne(i, "__unwrap", function() {
6233
- e[t] === i && Ne(e, t, r);
6234
- }), Ne(i, "__wrapped", !0), Ne(e, t, i), i;
6232
+ return Pe(i, "__original", r), Pe(i, "__unwrap", function() {
6233
+ e[t] === i && Pe(e, t, r);
6234
+ }), Pe(i, "__wrapped", !0), Pe(e, t, i), i;
6235
6235
  }
6236
6236
  function Yv(e, t, n) {
6237
6237
  if (e)
@@ -6295,7 +6295,7 @@ var W = on, Ii = function() {
6295
6295
  function e(t, n, r) {
6296
6296
  this.instrumentationName = t, this.instrumentationVersion = n, this._config = {}, this._wrap = W.wrap, this._unwrap = W.unwrap, this._massWrap = W.massWrap, this._massUnwrap = W.massUnwrap, this.setConfig(r), this._diag = b.createComponentLogger({
6297
6297
  namespace: t
6298
- }), this._tracer = k.getTracer(t, n), this._meter = Se.getMeter(t, n), this._logger = Lu.getLogger(t, n), this._updateMetricInstruments();
6298
+ }), this._tracer = k.getTracer(t, n), this._meter = Se.getMeter(t, n), this._logger = Au.getLogger(t, n), this._updateMetricInstruments();
6299
6299
  }
6300
6300
  return Object.defineProperty(e.prototype, "meter", {
6301
6301
  /* Returns meter */
@@ -6372,12 +6372,12 @@ var W = on, Ii = function() {
6372
6372
  function Y(e) {
6373
6373
  return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
6374
6374
  }
6375
- var qn = performance, ty = "traceparent", Nu = sr("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
6375
+ var qn = performance, ty = "traceparent", Pu = sr("OpenTelemetry SDK Context Key SUPPRESS_TRACING");
6376
6376
  function ey(e) {
6377
- return e.setValue(Nu, !0);
6377
+ return e.setValue(Pu, !0);
6378
6378
  }
6379
6379
  function bo(e) {
6380
- return e.getValue(Nu) === !0;
6380
+ return e.getValue(Pu) === !0;
6381
6381
  }
6382
6382
  var ny = "=", ki = ";", Mi = ",", jr = "baggage", ry = 180, iy = 4096, oy = 8192, ay = function(e, t) {
6383
6383
  var n = typeof Symbol == "function" && e[Symbol.iterator];
@@ -6453,7 +6453,7 @@ var ly = (
6453
6453
  return [jr];
6454
6454
  }, e;
6455
6455
  }()
6456
- ), Pu = function(e) {
6456
+ ), Nu = function(e) {
6457
6457
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
6458
6458
  if (n) return n.call(e);
6459
6459
  if (e && typeof e.length == "number") return {
@@ -6479,12 +6479,12 @@ var ly = (
6479
6479
  }
6480
6480
  return o;
6481
6481
  };
6482
- function Nn(e) {
6482
+ function Pn(e) {
6483
6483
  var t, n, r = {};
6484
6484
  if (typeof e != "object" || e == null)
6485
6485
  return r;
6486
6486
  try {
6487
- for (var i = Pu(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6487
+ for (var i = Nu(Object.entries(e)), o = i.next(); !o.done; o = i.next()) {
6488
6488
  var a = py(o.value, 2), u = a[0], c = a[1];
6489
6489
  if (!fy(u)) {
6490
6490
  b.warn("Invalid attribute key: " + u);
@@ -6516,7 +6516,7 @@ function Iu(e) {
6516
6516
  function hy(e) {
6517
6517
  var t, n, r;
6518
6518
  try {
6519
- for (var i = Pu(e), o = i.next(); !o.done; o = i.next()) {
6519
+ for (var i = Nu(e), o = i.next(); !o.done; o = i.next()) {
6520
6520
  var a = o.value;
6521
6521
  if (a != null) {
6522
6522
  if (!r) {
@@ -6619,7 +6619,7 @@ var Sy = [
6619
6619
  function wy(e) {
6620
6620
  return Sy.indexOf(e) > -1;
6621
6621
  }
6622
- var Pn = 1 / 0, In = 128, Oy = 128, Ay = 128, Mu = {
6622
+ var Nn = 1 / 0, In = 128, Oy = 128, Ly = 128, Mu = {
6623
6623
  OTEL_SDK_DISABLED: !1,
6624
6624
  CONTAINER_NAME: "",
6625
6625
  ECS_CONTAINER_METADATA_URI_V4: "",
@@ -6658,16 +6658,16 @@ var Pn = 1 / 0, In = 128, Oy = 128, Ay = 128, Mu = {
6658
6658
  OTEL_PROPAGATORS: ["tracecontext", "baggage"],
6659
6659
  OTEL_RESOURCE_ATTRIBUTES: "",
6660
6660
  OTEL_SERVICE_NAME: "",
6661
- OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pn,
6661
+ OTEL_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nn,
6662
6662
  OTEL_ATTRIBUTE_COUNT_LIMIT: In,
6663
- OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pn,
6663
+ OTEL_SPAN_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nn,
6664
6664
  OTEL_SPAN_ATTRIBUTE_COUNT_LIMIT: In,
6665
- OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: Pn,
6665
+ OTEL_LOGRECORD_ATTRIBUTE_VALUE_LENGTH_LIMIT: Nn,
6666
6666
  OTEL_LOGRECORD_ATTRIBUTE_COUNT_LIMIT: In,
6667
6667
  OTEL_SPAN_EVENT_COUNT_LIMIT: 128,
6668
6668
  OTEL_SPAN_LINK_COUNT_LIMIT: 128,
6669
6669
  OTEL_SPAN_ATTRIBUTE_PER_EVENT_COUNT_LIMIT: Oy,
6670
- OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: Ay,
6670
+ OTEL_SPAN_ATTRIBUTE_PER_LINK_COUNT_LIMIT: Ly,
6671
6671
  OTEL_TRACES_EXPORTER: "",
6672
6672
  OTEL_TRACES_SAMPLER: pt.ParentBasedAlwaysOn,
6673
6673
  OTEL_TRACES_SAMPLER_ARG: "",
@@ -6699,7 +6699,7 @@ var Pn = 1 / 0, In = 128, Oy = 128, Ay = 128, Mu = {
6699
6699
  OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE: "cumulative",
6700
6700
  OTEL_SEMCONV_STABILITY_OPT_IN: []
6701
6701
  };
6702
- function Ly(e, t, n) {
6702
+ function Ay(e, t, n) {
6703
6703
  if (typeof n[e] < "u") {
6704
6704
  var r = String(n[e]);
6705
6705
  t[e] = r.toLowerCase() === "true";
@@ -6727,7 +6727,7 @@ var xy = {
6727
6727
  ERROR: D.ERROR,
6728
6728
  NONE: D.NONE
6729
6729
  };
6730
- function Ny(e, t, n) {
6730
+ function Py(e, t, n) {
6731
6731
  var r = n[e];
6732
6732
  if (typeof r == "string") {
6733
6733
  var i = xy[r.toUpperCase()];
@@ -6740,11 +6740,11 @@ function Du(e) {
6740
6740
  var r = n;
6741
6741
  switch (r) {
6742
6742
  case "OTEL_LOG_LEVEL":
6743
- Ny(r, t, e);
6743
+ Py(r, t, e);
6744
6744
  break;
6745
6745
  default:
6746
6746
  if (Ey(r))
6747
- Ly(r, t, e);
6747
+ Ay(r, t, e);
6748
6748
  else if (Ty(r))
6749
6749
  Ry(r, t, e);
6750
6750
  else if (wy(r))
@@ -6762,11 +6762,11 @@ function Ye() {
6762
6762
  var e = Du(Uu);
6763
6763
  return Object.assign({}, Mu, e);
6764
6764
  }
6765
- function Py() {
6765
+ function Ny() {
6766
6766
  return Du(Uu);
6767
6767
  }
6768
6768
  var he = performance, Iy = "1.30.1", ky = "exception.type", My = "exception.message", Dy = "exception.stacktrace", Uy = "http.response_content_length", jy = "http.response_content_length_uncompressed", Br = ky, $r = My, By = Dy, $y = Uy, Fy = jy, Vy = "process.runtime.name", Gy = "service.name", Hy = "telemetry.sdk.name", qy = "telemetry.sdk.language", zy = "telemetry.sdk.version", Xy = Vy, Ky = Gy, Di = Hy, Ui = qy, ji = zy, Wy = "webjs", Yy = Wy, oe, Fr = (oe = {}, oe[Di] = "opentelemetry", oe[Xy] = "browser", oe[Ui] = Yy, oe[ji] = Iy, oe), Jy = 9, Qy = 6, Zy = Math.pow(10, Qy), zn = Math.pow(10, Jy);
6769
- function Lt(e) {
6769
+ function At(e) {
6770
6770
  var t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * Zy);
6771
6771
  return [n, r];
6772
6772
  }
@@ -6779,16 +6779,16 @@ function To() {
6779
6779
  return e;
6780
6780
  }
6781
6781
  function ju(e) {
6782
- var t = Lt(To()), n = Lt(typeof e == "number" ? e : he.now());
6782
+ var t = At(To()), n = At(typeof e == "number" ? e : he.now());
6783
6783
  return Bu(t, n);
6784
6784
  }
6785
6785
  function Fe(e) {
6786
6786
  if (So(e))
6787
6787
  return e;
6788
6788
  if (typeof e == "number")
6789
- return e < To() ? ju(e) : Lt(e);
6789
+ return e < To() ? ju(e) : At(e);
6790
6790
  if (e instanceof Date)
6791
- return Lt(e.getTime());
6791
+ return At(e.getTime());
6792
6792
  throw TypeError("Invalid input type");
6793
6793
  }
6794
6794
  function tg(e, t) {
@@ -6949,14 +6949,14 @@ var _g = (
6949
6949
  return [Vr, Gr];
6950
6950
  }, e;
6951
6951
  }()
6952
- ), Eg = "[object Object]", bg = "[object Null]", Tg = "[object Undefined]", Sg = Function.prototype, $u = Sg.toString, wg = $u.call(Object), Og = Ag(Object.getPrototypeOf, Object), Fu = Object.prototype, Vu = Fu.hasOwnProperty, $t = Symbol ? Symbol.toStringTag : void 0, Gu = Fu.toString;
6953
- function Ag(e, t) {
6952
+ ), Eg = "[object Object]", bg = "[object Null]", Tg = "[object Undefined]", Sg = Function.prototype, $u = Sg.toString, wg = $u.call(Object), Og = Lg(Object.getPrototypeOf, Object), Fu = Object.prototype, Vu = Fu.hasOwnProperty, $t = Symbol ? Symbol.toStringTag : void 0, Gu = Fu.toString;
6953
+ function Lg(e, t) {
6954
6954
  return function(n) {
6955
6955
  return e(t(n));
6956
6956
  };
6957
6957
  }
6958
6958
  function fa(e) {
6959
- if (!Lg(e) || Rg(e) !== Eg)
6959
+ if (!Ag(e) || Rg(e) !== Eg)
6960
6960
  return !1;
6961
6961
  var t = Og(e);
6962
6962
  if (t === null)
@@ -6964,7 +6964,7 @@ function fa(e) {
6964
6964
  var n = Vu.call(t, "constructor") && t.constructor;
6965
6965
  return typeof n == "function" && n instanceof n && $u.call(n) === wg;
6966
6966
  }
6967
- function Lg(e) {
6967
+ function Ag(e) {
6968
6968
  return e != null && typeof e == "object";
6969
6969
  }
6970
6970
  function Rg(e) {
@@ -6982,8 +6982,8 @@ function Cg(e) {
6982
6982
  function xg(e) {
6983
6983
  return Gu.call(e);
6984
6984
  }
6985
- var Ng = 20;
6986
- function Pg() {
6985
+ var Pg = 20;
6986
+ function Ng() {
6987
6987
  for (var e = [], t = 0; t < arguments.length; t++)
6988
6988
  e[t] = arguments[t];
6989
6989
  for (var n = e.shift(), r = /* @__PURE__ */ new WeakMap(); e.length > 0; )
@@ -6996,20 +6996,20 @@ function Hr(e) {
6996
6996
  function Hu(e, t, n, r) {
6997
6997
  n === void 0 && (n = 0);
6998
6998
  var i;
6999
- if (!(n > Ng)) {
6999
+ if (!(n > Pg)) {
7000
7000
  if (n++, kn(e) || kn(t) || qu(t))
7001
7001
  i = Hr(t);
7002
7002
  else if (Xn(e)) {
7003
7003
  if (i = e.slice(), Xn(t))
7004
7004
  for (var o = 0, a = t.length; o < a; o++)
7005
7005
  i.push(Hr(t[o]));
7006
- else if (Pe(t))
7006
+ else if (Ne(t))
7007
7007
  for (var u = Object.keys(t), o = 0, a = u.length; o < a; o++) {
7008
7008
  var c = u[o];
7009
7009
  i[c] = Hr(t[c]);
7010
7010
  }
7011
- } else if (Pe(e))
7012
- if (Pe(t)) {
7011
+ } else if (Ne(e))
7012
+ if (Ne(t)) {
7013
7013
  if (!Ig(e, t))
7014
7014
  return t;
7015
7015
  i = Object.assign({}, e);
@@ -7022,7 +7022,7 @@ function Hu(e, t, n, r) {
7022
7022
  if (ha(e, c, r) || ha(t, c, r))
7023
7023
  delete i[c];
7024
7024
  else {
7025
- if (Pe(l) && Pe(p)) {
7025
+ if (Ne(l) && Ne(p)) {
7026
7026
  var f = r.get(l) || [], d = r.get(p) || [];
7027
7027
  f.push({ obj: e, key: c }), d.push({ obj: t, key: c }), r.set(l, f), r.set(p, d);
7028
7028
  }
@@ -7049,7 +7049,7 @@ function Xn(e) {
7049
7049
  function qu(e) {
7050
7050
  return typeof e == "function";
7051
7051
  }
7052
- function Pe(e) {
7052
+ function Ne(e) {
7053
7053
  return !kn(e) && !Xn(e) && !qu(e) && typeof e == "object";
7054
7054
  }
7055
7055
  function kn(e) {
@@ -7212,7 +7212,7 @@ var Mg = (
7212
7212
  if (this._spanLimits.eventCountLimit === 0)
7213
7213
  return b.warn("No events allowed."), this._droppedEventsCount++, this;
7214
7214
  this.events.length >= this._spanLimits.eventCountLimit && (this._droppedEventsCount === 0 && b.debug("Dropping extra events."), this.events.shift(), this._droppedEventsCount++), ua(n) && (ua(r) || (r = n), n = void 0);
7215
- var i = Nn(n);
7215
+ var i = Pn(n);
7216
7216
  return this.events.push({
7217
7217
  name: t,
7218
7218
  attributes: i,
@@ -7238,15 +7238,15 @@ var Mg = (
7238
7238
  if (typeof t == "number" && t <= he.now())
7239
7239
  return ju(t + this._performanceOffset);
7240
7240
  if (typeof t == "number")
7241
- return Lt(t);
7241
+ return At(t);
7242
7242
  if (t instanceof Date)
7243
- return Lt(t.getTime());
7243
+ return At(t.getTime());
7244
7244
  if (So(t))
7245
7245
  return t;
7246
7246
  if (this._startTimeProvided)
7247
- return Lt(Date.now());
7247
+ return At(Date.now());
7248
7248
  var n = he.now() - this._performanceStartTime;
7249
- return Bu(this.startTime, Lt(n));
7249
+ return Bu(this.startTime, At(n));
7250
7250
  }, e.prototype.isRecording = function() {
7251
7251
  return this._ended === !1;
7252
7252
  }, e.prototype.recordException = function(t, n) {
@@ -7417,8 +7417,8 @@ function Hg(e) {
7417
7417
  return r.generalLimits = Object.assign({}, n.generalLimits, e.generalLimits || {}), r.spanLimits = Object.assign({}, n.spanLimits, e.spanLimits || {}), r;
7418
7418
  }
7419
7419
  function qg(e) {
7420
- var t, n, r, i, o, a, u, c, s, l, p, f, d = Object.assign({}, e.spanLimits), y = Py();
7421
- return d.attributeCountLimit = (a = (o = (i = (n = (t = e.spanLimits) === null || t === void 0 ? void 0 : t.attributeCountLimit) !== null && n !== void 0 ? n : (r = e.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 : In, d.attributeValueLengthLimit = (f = (p = (l = (c = (u = e.spanLimits) === null || u === void 0 ? void 0 : u.attributeValueLengthLimit) !== null && c !== void 0 ? c : (s = e.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 : Pn, Object.assign({}, e, { spanLimits: d });
7420
+ var t, n, r, i, o, a, u, c, s, l, p, f, d = Object.assign({}, e.spanLimits), y = Ny();
7421
+ return d.attributeCountLimit = (a = (o = (i = (n = (t = e.spanLimits) === null || t === void 0 ? void 0 : t.attributeCountLimit) !== null && n !== void 0 ? n : (r = e.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 : In, d.attributeValueLengthLimit = (f = (p = (l = (c = (u = e.spanLimits) === null || u === void 0 ? void 0 : u.attributeValueLengthLimit) !== null && c !== void 0 ? c : (s = e.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 : Nn, Object.assign({}, e, { spanLimits: d });
7422
7422
  }
7423
7423
  var zg = (
7424
7424
  /** @class */
@@ -7465,7 +7465,7 @@ var zg = (
7465
7465
  var i = setTimeout(function() {
7466
7466
  r(new Error("Timeout"));
7467
7467
  }, t._exportTimeoutMillis);
7468
- N.with(ey(N.active()), function() {
7468
+ P.with(ey(P.active()), function() {
7469
7469
  var o;
7470
7470
  t._finishedSpans.length <= t._maxExportBatchSize ? (o = t._finishedSpans, t._finishedSpans = []) : o = t._finishedSpans.splice(0, t._maxExportBatchSize);
7471
7471
  for (var a = function() {
@@ -7568,7 +7568,7 @@ var Jg = (
7568
7568
  }
7569
7569
  return e.prototype.startSpan = function(t, n, r) {
7570
7570
  var i, o, a;
7571
- n === void 0 && (n = {}), r === void 0 && (r = N.active()), n.root && (r = k.deleteSpan(r));
7571
+ n === void 0 && (n = {}), r === void 0 && (r = P.active()), n.root && (r = k.deleteSpan(r));
7572
7572
  var u = k.getSpan(r);
7573
7573
  if (bo(r)) {
7574
7574
  b.debug("Instrumentation suppressed, returning Noop Span");
@@ -7580,24 +7580,24 @@ var Jg = (
7580
7580
  var y = (i = n.kind) !== null && i !== void 0 ? i : Ke.INTERNAL, g = ((o = n.links) !== null && o !== void 0 ? o : []).map(function(nt) {
7581
7581
  return {
7582
7582
  context: nt.context,
7583
- attributes: Nn(nt.attributes)
7583
+ attributes: Pn(nt.attributes)
7584
7584
  };
7585
- }), m = Nn(n.attributes), E = this._sampler.shouldSample(r, p, t, y, m, g);
7585
+ }), m = Pn(n.attributes), E = this._sampler.shouldSample(r, p, t, y, m, g);
7586
7586
  f = (a = E.traceState) !== null && a !== void 0 ? a : f;
7587
- var S = E.decision === Vn.RECORD_AND_SAMPLED ? vt.SAMPLED : vt.NONE, P = { traceId: p, spanId: l, traceFlags: S, traceState: f };
7587
+ var S = E.decision === Vn.RECORD_AND_SAMPLED ? vt.SAMPLED : vt.NONE, N = { traceId: p, spanId: l, traceFlags: S, traceState: f };
7588
7588
  if (E.decision === Vn.NOT_RECORD) {
7589
7589
  b.debug("Recording is off, propagating context in a non-recording span");
7590
- var c = k.wrapSpanContext(P);
7590
+ var c = k.wrapSpanContext(N);
7591
7591
  return c;
7592
7592
  }
7593
- var j = Nn(Object.assign(m, E.attributes)), B = new Vg(this, r, t, P, y, d, g, n.startTime, void 0, j);
7593
+ var j = Pn(Object.assign(m, E.attributes)), B = new Vg(this, r, t, N, y, d, g, n.startTime, void 0, j);
7594
7594
  return B;
7595
7595
  }, e.prototype.startActiveSpan = function(t, n, r, i) {
7596
7596
  var o, a, u;
7597
7597
  if (!(arguments.length < 2)) {
7598
7598
  arguments.length === 2 ? u = n : arguments.length === 3 ? (o = n, u = r) : (o = n, a = r, u = i);
7599
- var c = a ?? N.active(), s = this.startSpan(t, o, c), l = k.setSpan(c, s);
7600
- return N.with(l, u, void 0, s);
7599
+ var c = a ?? P.active(), s = this.startSpan(t, o, c), l = k.setSpan(c, s);
7600
+ return P.with(l, u, void 0, s);
7601
7601
  }
7602
7602
  }, e.prototype.getGeneralLimits = function() {
7603
7603
  return this._generalLimits;
@@ -7913,7 +7913,7 @@ var om = (
7913
7913
  t === void 0 && (t = {});
7914
7914
  var n, r;
7915
7915
  this._registeredSpanProcessors = [], this._tracers = /* @__PURE__ */ new Map();
7916
- var i = Pg({}, zu(), qg(t));
7916
+ var i = Ng({}, zu(), qg(t));
7917
7917
  if (this.resource = (n = i.resource) !== null && n !== void 0 ? n : ma.empty(), i.mergeResourceWithDefaults && (this.resource = ma.default().merge(this.resource)), this._config = Object.assign({}, i, {
7918
7918
  resource: this.resource
7919
7919
  }), !((r = t.spanProcessors) === null || r === void 0) && r.length)
@@ -7937,7 +7937,7 @@ var om = (
7937
7937
  }, e.prototype.getActiveSpanProcessor = function() {
7938
7938
  return this.activeSpanProcessor;
7939
7939
  }, e.prototype.register = function(t) {
7940
- t === void 0 && (t = {}), k.setGlobalTracerProvider(this), t.propagator === void 0 && (t.propagator = this._buildPropagatorFromEnv()), t.contextManager && N.setGlobalContextManager(t.contextManager), t.propagator && Z.setGlobalPropagator(t.propagator);
7940
+ t === void 0 && (t = {}), k.setGlobalTracerProvider(this), t.propagator === void 0 && (t.propagator = this._buildPropagatorFromEnv()), t.contextManager && P.setGlobalContextManager(t.contextManager), t.propagator && Z.setGlobalPropagator(t.propagator);
7941
7941
  }, e.prototype.forceFlush = function() {
7942
7942
  var t = this._config.forceFlushTimeoutMillis, n = this._registeredSpanProcessors.map(function(r) {
7943
7943
  return new Promise(function(i) {
@@ -8098,18 +8098,18 @@ var zr;
8098
8098
  function lm() {
8099
8099
  return zr || (zr = document.createElement("a")), zr;
8100
8100
  }
8101
- function Pt(e, t) {
8101
+ function Nt(e, t) {
8102
8102
  return t in e;
8103
8103
  }
8104
8104
  function H(e, t, n, r) {
8105
8105
  var i = void 0, o = void 0;
8106
- Pt(n, t) && typeof n[t] == "number" && (i = n[t]);
8106
+ Nt(n, t) && typeof n[t] == "number" && (i = n[t]);
8107
8107
  var a = O.FETCH_START;
8108
- if (Pt(n, a) && typeof n[a] == "number" && (o = n[a]), i !== void 0 && o !== void 0 && i >= o)
8108
+ if (Nt(n, a) && typeof n[a] == "number" && (o = n[a]), i !== void 0 && o !== void 0 && i >= o)
8109
8109
  return e.addEvent(t, i), e;
8110
8110
  }
8111
8111
  function Ee(e, t, n) {
8112
- n === void 0 && (n = !1), n || (H(e, O.FETCH_START, t), H(e, O.DOMAIN_LOOKUP_START, t), H(e, O.DOMAIN_LOOKUP_END, t), H(e, O.CONNECT_START, t), Pt(t, "name") && t.name.startsWith("https:") && H(e, O.SECURE_CONNECTION_START, t), H(e, O.CONNECT_END, t), H(e, O.REQUEST_START, t), H(e, O.RESPONSE_START, t), H(e, O.RESPONSE_END, t));
8112
+ n === void 0 && (n = !1), n || (H(e, O.FETCH_START, t), H(e, O.DOMAIN_LOOKUP_START, t), H(e, O.DOMAIN_LOOKUP_END, t), H(e, O.CONNECT_START, t), Nt(t, "name") && t.name.startsWith("https:") && H(e, O.SECURE_CONNECTION_START, t), H(e, O.CONNECT_END, t), H(e, O.REQUEST_START, t), H(e, O.RESPONSE_START, t), H(e, O.RESPONSE_END, t));
8113
8113
  var r = t[O.ENCODED_BODY_SIZE];
8114
8114
  r !== void 0 && e.setAttribute($y, r);
8115
8115
  var i = t[O.DECODED_BODY_SIZE];
@@ -8391,18 +8391,18 @@ var Ve;
8391
8391
  (function(e) {
8392
8392
  e.DOCUMENT_LOAD = "documentLoad", e.DOCUMENT_FETCH = "documentFetch", e.RESOURCE_FETCH = "resourceFetch";
8393
8393
  })(Ve || (Ve = {}));
8394
- var Am = "0.44.0", Lm = "@opentelemetry/instrumentation-document-load";
8394
+ var Lm = "0.44.0", Am = "@opentelemetry/instrumentation-document-load";
8395
8395
  const Rm = "http.url", Cm = "http.user_agent", ve = Rm, xm = Cm;
8396
8396
  var Wn;
8397
8397
  (function(e) {
8398
8398
  e.FIRST_PAINT = "firstPaint", e.FIRST_CONTENTFUL_PAINT = "firstContentfulPaint";
8399
8399
  })(Wn || (Wn = {}));
8400
- var Nm = function() {
8400
+ var Pm = function() {
8401
8401
  var e, t, n = {}, r = (t = (e = qn).getEntriesByType) === null || t === void 0 ? void 0 : t.call(e, "navigation")[0];
8402
8402
  if (r) {
8403
8403
  var i = Object.values(O);
8404
8404
  i.forEach(function(u) {
8405
- if (Pt(r, u)) {
8405
+ if (Nt(r, u)) {
8406
8406
  var c = r[u];
8407
8407
  typeof c == "number" && (n[u] = c);
8408
8408
  }
@@ -8412,7 +8412,7 @@ var Nm = function() {
8412
8412
  if (a) {
8413
8413
  var i = Object.values(O);
8414
8414
  i.forEach(function(c) {
8415
- if (Pt(a, c)) {
8415
+ if (Nt(a, c)) {
8416
8416
  var s = a[c];
8417
8417
  typeof s == "number" && (n[c] = s);
8418
8418
  }
@@ -8423,11 +8423,11 @@ var Nm = function() {
8423
8423
  }, Sa = {
8424
8424
  "first-paint": Wn.FIRST_PAINT,
8425
8425
  "first-contentful-paint": Wn.FIRST_CONTENTFUL_PAINT
8426
- }, Pm = function(e) {
8426
+ }, Nm = function(e) {
8427
8427
  var t, n, r = (n = (t = qn).getEntriesByType) === null || n === void 0 ? void 0 : n.call(t, "paint");
8428
8428
  r && r.forEach(function(i) {
8429
8429
  var o = i.name, a = i.startTime;
8430
- Pt(Sa, o) && e.addEvent(Sa[o], a);
8430
+ Nt(Sa, o) && e.addEvent(Sa[o], a);
8431
8431
  });
8432
8432
  }, Im = /* @__PURE__ */ function() {
8433
8433
  var e = function(t, n) {
@@ -8452,7 +8452,7 @@ var Nm = function() {
8452
8452
  Im(t, e);
8453
8453
  function t(n) {
8454
8454
  n === void 0 && (n = {});
8455
- var r = e.call(this, Lm, Am, n) || this;
8455
+ var r = e.call(this, Am, Lm, n) || this;
8456
8456
  return r.component = "document-load", r.version = "1", r.moduleName = r.component, r;
8457
8457
  }
8458
8458
  return t.prototype.init = function() {
@@ -8469,27 +8469,27 @@ var Nm = function() {
8469
8469
  }, t.prototype._collectPerformance = function() {
8470
8470
  var n = this, r = Array.from(document.getElementsByTagName("meta")).find(function(a) {
8471
8471
  return a.getAttribute("name") === ty;
8472
- }), i = Nm(), o = r && r.content || "";
8473
- N.with(Z.extract(jt, { traceparent: o }), function() {
8472
+ }), i = Pm(), o = r && r.content || "";
8473
+ P.with(Z.extract(jt, { traceparent: o }), function() {
8474
8474
  var a, u = n._startSpan(Ve.DOCUMENT_LOAD, O.FETCH_START, i);
8475
- u && (N.with(k.setSpan(N.active(), u), function() {
8475
+ u && (P.with(k.setSpan(P.active(), u), function() {
8476
8476
  var c = n._startSpan(Ve.DOCUMENT_FETCH, O.FETCH_START, i);
8477
- c && (c.setAttribute(ve, location.href), N.with(k.setSpan(N.active(), c), function() {
8477
+ c && (c.setAttribute(ve, location.href), P.with(k.setSpan(P.active(), c), function() {
8478
8478
  var s;
8479
8479
  n.getConfig().ignoreNetworkEvents || Ee(c, i), n._addCustomAttributesOnSpan(c, (s = n.getConfig().applyCustomAttributesOnSpan) === null || s === void 0 ? void 0 : s.documentFetch), n._endSpan(c, O.RESPONSE_END, i);
8480
8480
  }));
8481
- }), u.setAttribute(ve, location.href), u.setAttribute(xm, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (H(u, O.FETCH_START, i), H(u, O.UNLOAD_EVENT_START, i), H(u, O.UNLOAD_EVENT_END, i), H(u, O.DOM_INTERACTIVE, i), H(u, O.DOM_CONTENT_LOADED_EVENT_START, i), H(u, O.DOM_CONTENT_LOADED_EVENT_END, i), H(u, O.DOM_COMPLETE, i), H(u, O.LOAD_EVENT_START, i), H(u, O.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || Pm(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, O.LOAD_EVENT_END, i));
8481
+ }), u.setAttribute(ve, location.href), u.setAttribute(xm, navigator.userAgent), n._addResourcesSpans(u), n.getConfig().ignoreNetworkEvents || (H(u, O.FETCH_START, i), H(u, O.UNLOAD_EVENT_START, i), H(u, O.UNLOAD_EVENT_END, i), H(u, O.DOM_INTERACTIVE, i), H(u, O.DOM_CONTENT_LOADED_EVENT_START, i), H(u, O.DOM_CONTENT_LOADED_EVENT_END, i), H(u, O.DOM_COMPLETE, i), H(u, O.LOAD_EVENT_START, i), H(u, O.LOAD_EVENT_END, i)), n.getConfig().ignorePerformancePaintEvents || Nm(u), n._addCustomAttributesOnSpan(u, (a = n.getConfig().applyCustomAttributesOnSpan) === null || a === void 0 ? void 0 : a.documentLoad), n._endSpan(u, O.LOAD_EVENT_END, i));
8482
8482
  });
8483
8483
  }, t.prototype._endSpan = function(n, r, i) {
8484
- n && (Pt(i, r) ? n.end(i[r]) : n.end());
8484
+ n && (Nt(i, r) ? n.end(i[r]) : n.end());
8485
8485
  }, t.prototype._initResourceSpan = function(n, r) {
8486
8486
  var i, o = this._startSpan(Ve.RESOURCE_FETCH, O.FETCH_START, n, r);
8487
8487
  o && (o.setAttribute(ve, n.name), this.getConfig().ignoreNetworkEvents || Ee(o, n), this._addCustomAttributesOnResourceSpan(o, n, (i = this.getConfig().applyCustomAttributesOnSpan) === null || i === void 0 ? void 0 : i.resourceFetch), this._endSpan(o, O.RESPONSE_END, n));
8488
8488
  }, t.prototype._startSpan = function(n, r, i, o) {
8489
- if (Pt(i, r) && typeof i[r] == "number") {
8489
+ if (Nt(i, r) && typeof i[r] == "number") {
8490
8490
  var a = this.tracer.startSpan(n, {
8491
8491
  startTime: i[r]
8492
- }, o ? k.setSpan(N.active(), o) : void 0);
8492
+ }, o ? k.setSpan(P.active(), o) : void 0);
8493
8493
  return a;
8494
8494
  }
8495
8495
  }, t.prototype._waitForPageLoad = function() {
@@ -8690,7 +8690,7 @@ function qm(e, t, n) {
8690
8690
  function zm(e) {
8691
8691
  return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
8692
8692
  }
8693
- var Xr = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Hi = performance, Xm = "http.method", Km = "http.url", Wm = "http.host", Ym = "http.scheme", Jm = "http.status_code", Qm = "http.user_agent", Zm = "http.request_content_length_uncompressed", t_ = Xm, e_ = Km, n_ = Wm, r_ = Ym, i_ = Jm, o_ = Qm, a_ = Zm, s_ = 9, u_ = 6, c_ = Math.pow(10, u_), Aa = Math.pow(10, s_);
8693
+ var Xr = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, Hi = performance, Xm = "http.method", Km = "http.url", Wm = "http.host", Ym = "http.scheme", Jm = "http.status_code", Qm = "http.user_agent", Zm = "http.request_content_length_uncompressed", t_ = Xm, e_ = Km, n_ = Wm, r_ = Ym, i_ = Jm, o_ = Qm, a_ = Zm, s_ = 9, u_ = 6, c_ = Math.pow(10, u_), La = Math.pow(10, s_);
8694
8694
  function qi(e) {
8695
8695
  var t = e / 1e3, n = Math.trunc(t), r = Math.round(e % 1e3 * c_);
8696
8696
  return [n, r];
@@ -8703,13 +8703,13 @@ function l_() {
8703
8703
  }
8704
8704
  return e;
8705
8705
  }
8706
- function La(e) {
8706
+ function Aa(e) {
8707
8707
  var t = qi(l_()), n = qi(Hi.now());
8708
8708
  return p_(t, n);
8709
8709
  }
8710
8710
  function p_(e, t) {
8711
8711
  var n = [e[0] + t[0], e[1] + t[1]];
8712
- return n[1] >= Aa && (n[1] -= Aa, n[0] += 1), n;
8712
+ return n[1] >= La && (n[1] -= La, n[0] += 1), n;
8713
8713
  }
8714
8714
  var f_ = function(e) {
8715
8715
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
@@ -8987,11 +8987,11 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
8987
8987
  }
8988
8988
  }
8989
8989
  return o;
8990
- }, A_ = function(e, t, n) {
8990
+ }, L_ = function(e, t, n) {
8991
8991
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
8992
8992
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
8993
8993
  return e.concat(o || Array.prototype.slice.call(t));
8994
- }, Kr, L_ = 300, Ca = typeof process == "object" && ((Kr = process.release) === null || Kr === void 0 ? void 0 : Kr.name) === "node", R_ = (
8994
+ }, Kr, A_ = 300, Ca = typeof process == "object" && ((Kr = process.release) === null || Kr === void 0 ? void 0 : Kr.name) === "node", R_ = (
8995
8995
  /** @class */
8996
8996
  function(e) {
8997
8997
  w_(t, e);
@@ -9004,7 +9004,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9004
9004
  }, t.prototype._addChildSpan = function(n, r) {
9005
9005
  var i = this.tracer.startSpan("CORS Preflight", {
9006
9006
  startTime: r[O.FETCH_START]
9007
- }, k.setSpan(N.active(), n));
9007
+ }, k.setSpan(P.active(), n));
9008
9008
  Ee(i, r, this.getConfig().ignoreNetworkEvents), i.end(r[O.RESPONSE_END]);
9009
9009
  }, t.prototype._addFinalSpanAttributes = function(n, r) {
9010
9010
  var i = Et(r.url);
@@ -9012,30 +9012,30 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9012
9012
  }, t.prototype._addHeaders = function(n, r) {
9013
9013
  if (!Zu(r, this.getConfig().propagateTraceHeaderCorsUrls)) {
9014
9014
  var i = {};
9015
- Z.inject(N.active(), i), Object.keys(i).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
9015
+ Z.inject(P.active(), i), Object.keys(i).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
9016
9016
  return;
9017
9017
  }
9018
9018
  if (n instanceof Request)
9019
- Z.inject(N.active(), n.headers, {
9019
+ Z.inject(P.active(), n.headers, {
9020
9020
  set: function(o, a, u) {
9021
9021
  return o.set(a, typeof u == "string" ? u : String(u));
9022
9022
  }
9023
9023
  });
9024
9024
  else if (n.headers instanceof Headers)
9025
- Z.inject(N.active(), n.headers, {
9025
+ Z.inject(P.active(), n.headers, {
9026
9026
  set: function(o, a, u) {
9027
9027
  return o.set(a, typeof u == "string" ? u : String(u));
9028
9028
  }
9029
9029
  });
9030
9030
  else if (n.headers instanceof Map)
9031
- Z.inject(N.active(), n.headers, {
9031
+ Z.inject(P.active(), n.headers, {
9032
9032
  set: function(o, a, u) {
9033
9033
  return o.set(a, typeof u == "string" ? u : String(u));
9034
9034
  }
9035
9035
  });
9036
9036
  else {
9037
9037
  var i = {};
9038
- Z.inject(N.active(), i), n.headers = Object.assign({}, i, n.headers || {});
9038
+ Z.inject(P.active(), i), n.headers = Object.assign({}, i, n.headers || {});
9039
9039
  }
9040
9040
  }, t.prototype._clearResources = function() {
9041
9041
  this._tasksCount === 0 && this.getConfig().clearTimingResources && (performance.clearResourceTimings(), this._usedResources = /* @__PURE__ */ new WeakSet());
@@ -9067,11 +9067,11 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9067
9067
  }, t.prototype._markResourceAsUsed = function(n) {
9068
9068
  this._usedResources.add(n);
9069
9069
  }, t.prototype._endSpan = function(n, r, i) {
9070
- var o = this, a = qi(Date.now()), u = La();
9070
+ var o = this, a = qi(Date.now()), u = Aa();
9071
9071
  this._addFinalSpanAttributes(n, i), setTimeout(function() {
9072
9072
  var c;
9073
9073
  (c = r.observer) === null || c === void 0 || c.disconnect(), o._findResourceAndAddNetworkEvents(n, r, u), o._tasksCount--, o._clearResources(), n.end(a);
9074
- }, L_);
9074
+ }, A_);
9075
9075
  }, t.prototype._patchConstructor = function() {
9076
9076
  var n = this;
9077
9077
  return function(r) {
@@ -9083,7 +9083,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9083
9083
  if (!l)
9084
9084
  return r.apply(this, o);
9085
9085
  var p = i._prepareSpanData(c);
9086
- i.getConfig().measureRequestSize && __.apply(void 0, A_([], O_(o), !1)).then(function(m) {
9086
+ i.getConfig().measureRequestSize && __.apply(void 0, L_([], O_(o), !1)).then(function(m) {
9087
9087
  m && l.setAttribute(a_, m);
9088
9088
  }).catch(function(m) {
9089
9089
  i._diag.warn("getFetchBodyLength", m);
@@ -9104,7 +9104,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9104
9104
  }
9105
9105
  function y(m, E, S) {
9106
9106
  try {
9107
- var P = S.clone(), j = S.clone(), B = P.body;
9107
+ var N = S.clone(), j = S.clone(), B = N.body;
9108
9108
  if (B) {
9109
9109
  var nt = B.getReader(), z = function() {
9110
9110
  nt.read().then(function(U) {
@@ -9129,7 +9129,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9129
9129
  }
9130
9130
  }
9131
9131
  return new Promise(function(m, E) {
9132
- return N.with(k.setSpan(N.active(), l), function() {
9132
+ return P.with(k.setSpan(P.active(), l), function() {
9133
9133
  return i._addHeaders(s, c), i._tasksCount++, r.apply(u, s instanceof Request ? [s] : [c, s]).then(y.bind(u, l, m), g.bind(u, l, E));
9134
9134
  });
9135
9135
  });
@@ -9143,7 +9143,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9143
9143
  u && o._diag.error("applyCustomAttributesOnSpan", u);
9144
9144
  });
9145
9145
  }, t.prototype._prepareSpanData = function(n) {
9146
- var r = La(), i = [];
9146
+ var r = Aa(), i = [];
9147
9147
  if (typeof PerformanceObserver != "function")
9148
9148
  return { entries: i, startTime: r, spanUrl: n };
9149
9149
  var o = new PerformanceObserver(function(a) {
@@ -9182,7 +9182,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9182
9182
  return new oc();
9183
9183
  }, e;
9184
9184
  }()
9185
- ), ac = new x_(), N_ = (
9185
+ ), ac = new x_(), P_ = (
9186
9186
  /** @class */
9187
9187
  function() {
9188
9188
  function e(t, n, r, i) {
@@ -9204,7 +9204,7 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9204
9204
  }
9205
9205
  return e.prototype.getLogger = function(t, n, r) {
9206
9206
  var i;
9207
- return (i = this.getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new N_(this, t, n, r);
9207
+ return (i = this.getDelegateLogger(t, n, r)) !== null && i !== void 0 ? i : new P_(this, t, n, r);
9208
9208
  }, e.prototype.getDelegate = function() {
9209
9209
  var t;
9210
9210
  return (t = this._delegate) !== null && t !== void 0 ? t : ac;
@@ -9215,13 +9215,13 @@ var Ra = "0.57.2", w_ = /* @__PURE__ */ function() {
9215
9215
  return (i = this._delegate) === null || i === void 0 ? void 0 : i.getLogger(t, n, r);
9216
9216
  }, e;
9217
9217
  }()
9218
- ), P_ = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, yn = Symbol.for("io.opentelemetry.js.api.logs"), Me = P_;
9218
+ ), N_ = typeof globalThis == "object" ? globalThis : typeof self == "object" ? self : typeof window == "object" ? window : typeof global == "object" ? global : {}, yn = Symbol.for("io.opentelemetry.js.api.logs"), Me = N_;
9219
9219
  function I_(e, t, n) {
9220
9220
  return function(r) {
9221
9221
  return r === e ? t : n;
9222
9222
  };
9223
9223
  }
9224
- var Na = 1, k_ = (
9224
+ var Pa = 1, k_ = (
9225
9225
  /** @class */
9226
9226
  function() {
9227
9227
  function e() {
@@ -9230,10 +9230,10 @@ var Na = 1, k_ = (
9230
9230
  return e.getInstance = function() {
9231
9231
  return this._instance || (this._instance = new e()), this._instance;
9232
9232
  }, e.prototype.setGlobalLoggerProvider = function(t) {
9233
- return Me[yn] ? this.getLoggerProvider() : (Me[yn] = I_(Na, t, ac), this._proxyLoggerProvider.setDelegate(t), t);
9233
+ return Me[yn] ? this.getLoggerProvider() : (Me[yn] = I_(Pa, t, ac), this._proxyLoggerProvider.setDelegate(t), t);
9234
9234
  }, e.prototype.getLoggerProvider = function() {
9235
9235
  var t, n;
9236
- return (n = (t = Me[yn]) === null || t === void 0 ? void 0 : t.call(Me, Na)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
9236
+ return (n = (t = Me[yn]) === null || t === void 0 ? void 0 : t.call(Me, Pa)) !== null && n !== void 0 ? n : this._proxyLoggerProvider;
9237
9237
  }, e.prototype.getLogger = function(t, n, r) {
9238
9238
  return this.getLoggerProvider().getLogger(t, n, r);
9239
9239
  }, e.prototype.disable = function() {
@@ -9338,7 +9338,7 @@ function B_(e, t, n) {
9338
9338
  return t(r, i), i;
9339
9339
  }
9340
9340
  }
9341
- function Pa(e) {
9341
+ function Na(e) {
9342
9342
  return typeof e == "function" && typeof e.__original == "function" && typeof e.__unwrap == "function" && e.__wrapped === !0;
9343
9343
  }
9344
9344
  var Je = performance, $_ = "http.method", F_ = "http.url", V_ = "http.host", G_ = "http.scheme", H_ = "http.status_code", q_ = "http.user_agent", z_ = "http.request_content_length_uncompressed", X_ = $_, K_ = F_, W_ = V_, Y_ = G_, J_ = H_, Q_ = q_, Z_ = z_, tE = 9, eE = 6, nE = Math.pow(10, eE), Ia = Math.pow(10, tE);
@@ -9500,16 +9500,16 @@ var dE = /* @__PURE__ */ function() {
9500
9500
  var i = Et(r).href;
9501
9501
  if (!Zu(i, this.getConfig().propagateTraceHeaderCorsUrls)) {
9502
9502
  var o = {};
9503
- Z.inject(N.active(), o), Object.keys(o).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
9503
+ Z.inject(P.active(), o), Object.keys(o).length > 0 && this._diag.debug("headers inject skipped due to CORS policy");
9504
9504
  return;
9505
9505
  }
9506
9506
  var a = {};
9507
- Z.inject(N.active(), a), Object.keys(a).forEach(function(u) {
9507
+ Z.inject(P.active(), a), Object.keys(a).forEach(function(u) {
9508
9508
  n.setRequestHeader(u, String(a[u]));
9509
9509
  });
9510
9510
  }, t.prototype._addChildSpan = function(n, r) {
9511
9511
  var i = this;
9512
- N.with(k.setSpan(N.active(), n), function() {
9512
+ P.with(k.setSpan(P.active(), n), function() {
9513
9513
  var o = i.tracer.startSpan("CORS Preflight", {
9514
9514
  startTime: r[O.FETCH_START]
9515
9515
  });
@@ -9635,7 +9635,7 @@ var dE = /* @__PURE__ */ function() {
9635
9635
  var E = f[0], S = pE(E);
9636
9636
  S !== void 0 && g.setAttribute(Z_, S);
9637
9637
  }
9638
- N.with(k.setSpan(N.active(), g), function() {
9638
+ P.with(k.setSpan(P.active(), g), function() {
9639
9639
  n._tasksCount++, y.sendStartTime = Ma(), g.addEvent(_t.METHOD_SEND), p.addEventListener("abort", a), p.addEventListener("error", o), p.addEventListener("load", c), p.addEventListener("timeout", u), y.callbackToRemoveEvents = function() {
9640
9640
  s(p), y.createdResources && y.createdResources.observer.disconnect();
9641
9641
  }, n._addHeaders(p, m), n._addResourceObserver(p, m);
@@ -9645,7 +9645,7 @@ var dE = /* @__PURE__ */ function() {
9645
9645
  };
9646
9646
  };
9647
9647
  }, t.prototype.enable = function() {
9648
- this._diag.debug("applying patch to", this.moduleName, this.version), Pa(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), Pa(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
9648
+ this._diag.debug("applying patch to", this.moduleName, this.version), Na(XMLHttpRequest.prototype.open) && (this._unwrap(XMLHttpRequest.prototype, "open"), this._diag.debug("removing previous patch from method open")), Na(XMLHttpRequest.prototype.send) && (this._unwrap(XMLHttpRequest.prototype, "send"), this._diag.debug("removing previous patch from method send")), this._wrap(XMLHttpRequest.prototype, "open", this._patchOpen()), this._wrap(XMLHttpRequest.prototype, "send", this._patchSend());
9649
9649
  }, t.prototype.disable = function() {
9650
9650
  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();
9651
9651
  }, t;
@@ -9826,24 +9826,37 @@ const wo = (e, t, n) => {
9826
9826
  return n ? ((r = Object.keys(o)) == null || r.forEach((a) => {
9827
9827
  [...n].includes(a?.toLowerCase()) || (o[a] = "[REDACTED]");
9828
9828
  }), o) : ((i = Object.keys(o)) == null || i.forEach((a) => {
9829
- [...AE, ...e].includes(
9829
+ [...LE, ...e].includes(
9830
9830
  a?.toLowerCase()
9831
9831
  ) && (o[a] = "[REDACTED]");
9832
9832
  }), o);
9833
- }, AE = [
9833
+ }, LE = [
9834
9834
  "authorization",
9835
9835
  "cookie",
9836
9836
  "proxy-authorization",
9837
9837
  "set-cookie",
9838
9838
  "token"
9839
- ], LE = [
9839
+ ], AE = [
9840
9840
  "https://www.googleapis.com/identitytoolkit",
9841
9841
  "https://securetoken.googleapis.com"
9842
9842
  ], RE = [
9843
9843
  "awsaccesskeyid",
9844
9844
  "signature",
9845
9845
  "sig",
9846
- "x-goog-signature"
9846
+ "x-goog-signature",
9847
+ "access_token",
9848
+ "id_token",
9849
+ "token",
9850
+ "code",
9851
+ "refresh_token",
9852
+ "session_state"
9853
+ ], CE = [
9854
+ "access_token",
9855
+ "id_token",
9856
+ "token",
9857
+ "code",
9858
+ "refresh_token",
9859
+ "session_state"
9847
9860
  ], sc = (e) => {
9848
9861
  var t, n;
9849
9862
  try {
@@ -9851,33 +9864,44 @@ const wo = (e, t, n) => {
9851
9864
  } catch {
9852
9865
  return new URL(e, (n = (t = globalThis.location) == null ? void 0 : t.origin) != null ? n : "http://example.com");
9853
9866
  }
9867
+ }, xE = (e) => {
9868
+ if (!e || e === "#") return "";
9869
+ const t = e.slice(1);
9870
+ if (!t.includes("=")) return e;
9871
+ const n = t.indexOf("?"), r = n >= 0 ? t.slice(n + 1) : t, i = new URLSearchParams(r);
9872
+ for (const o of i.keys())
9873
+ if (CE.includes(o.toLowerCase()))
9874
+ return "";
9875
+ return e;
9854
9876
  }, Yi = (e) => {
9855
9877
  try {
9856
9878
  const t = sc(e);
9857
9879
  (t.username || t.password) && (t.username = "REDACTED", t.password = "REDACTED");
9858
9880
  const n = t.searchParams;
9859
- if (RE.forEach((r) => {
9860
- for (const i of Array.from(n.keys()))
9861
- i.toLowerCase() === r && n.set(i, "REDACTED");
9862
- }), !e.includes("://") && !e.startsWith("//"))
9863
- return t.pathname + t.search + t.hash;
9881
+ RE.forEach((i) => {
9882
+ for (const o of Array.from(n.keys()))
9883
+ o.toLowerCase() === i && n.set(o, "REDACTED");
9884
+ });
9885
+ const r = xE(t.hash);
9886
+ if (t.hash = r, !e.includes("://") && !e.startsWith("//"))
9887
+ return t.pathname + t.search + r;
9864
9888
  if (e.startsWith("//")) {
9865
- let r = "//";
9866
- return (t.username || t.password) && (r += t.username + ":" + t.password + "@"), r += t.host + t.pathname + t.search + t.hash, r;
9889
+ let i = "//";
9890
+ return (t.username || t.password) && (i += t.username + ":" + t.password + "@"), i += t.host + t.pathname + t.search + r, i;
9867
9891
  }
9868
9892
  return t.toString();
9869
9893
  } catch {
9870
9894
  return e;
9871
9895
  }
9872
- }, CE = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), xE = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
9873
- function NE(e) {
9874
- return !!(e.includes("/sdk/evalx") && e.match(CE) || e.includes("/eval/") && e.match(xE));
9896
+ }, PE = new RegExp("sdk\\/evalx\\/[^/]+\\/contexts\\/(?<context>[^/?]*)\\??.*?"), NE = new RegExp("\\/eval\\/[^/]+\\/(?<context>[^/?]*)\\??.*?");
9897
+ function IE(e) {
9898
+ return !!(e.includes("/sdk/evalx") && e.match(PE) || e.includes("/eval/") && e.match(NE));
9875
9899
  }
9876
- const PE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9900
+ const kE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9877
9901
  (t) => e.toLocaleLowerCase().includes(t)
9878
- ), IE = (e) => NE(e), kE = (e, t) => t.some(
9902
+ ), ME = (e) => IE(e), DE = (e, t) => t.some(
9879
9903
  (n) => e.toLocaleLowerCase().includes(n)
9880
- ), ME = (e, t, n) => !kE(e, t) && !IE(e) && !PE(e), DE = (e, t, n) => {
9904
+ ), UE = (e, t, n) => !DE(e, t) && !ME(e) && !kE(e), jE = (e, t, n) => {
9881
9905
  var r;
9882
9906
  if (n.some(
9883
9907
  (u) => e.toLowerCase().includes(u)
@@ -9885,12 +9909,12 @@ const PE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9885
9909
  return !1;
9886
9910
  let i = [];
9887
9911
  t === !0 ? (i = ["localhost", /^\//], (r = window?.location) != null && r.host && i.push(uc(window.location.host))) : t instanceof Array && (i = t);
9888
- const o = jE(e);
9912
+ const o = $E(e);
9889
9913
  let a = !1;
9890
9914
  return i.forEach((u) => {
9891
9915
  o.match(u) && (a = !0);
9892
9916
  }), a;
9893
- }, UE = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), uc = (e) => new RegExp("^https?://([^/]+\\.)?" + UE(e) + "([:/?#]|$)"), jE = (e) => {
9917
+ }, BE = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), uc = (e) => new RegExp("^https?://([^/]+\\.)?" + BE(e) + "([:/?#]|$)"), $E = (e) => {
9894
9918
  if (e.startsWith("/") && !e.startsWith("//"))
9895
9919
  return e;
9896
9920
  try {
@@ -9898,7 +9922,7 @@ const PE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9898
9922
  } catch {
9899
9923
  return e;
9900
9924
  }
9901
- }, Fa = 64 * 1024, BE = {
9925
+ }, Fa = 64 * 1024, FE = {
9902
9926
  "application/json": 64 * 1024 * 1024,
9903
9927
  // MB
9904
9928
  "text/plain": 64 * 1024 * 1024
@@ -9913,7 +9937,7 @@ const PE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9913
9937
  c = c.split(";")[0];
9914
9938
  } catch {
9915
9939
  }
9916
- u = (a = BE[c]) != null ? a : Fa;
9940
+ u = (a = FE[c]) != null ? a : Fa;
9917
9941
  }
9918
9942
  if (e) {
9919
9943
  if (t)
@@ -9944,7 +9968,7 @@ const PE = (e) => ["events.ld.catamorphic.com", "events.launchdarkly.com"].some(
9944
9968
  } catch {
9945
9969
  }
9946
9970
  return e;
9947
- }, $E = (e, t, n) => ut(void 0, null, function* () {
9971
+ }, VE = (e, t, n) => ut(void 0, null, function* () {
9948
9972
  let r;
9949
9973
  try {
9950
9974
  const i = e.clone().body;
@@ -9981,7 +10005,7 @@ var cc = (
9981
10005
  return this._delegate.shutdown();
9982
10006
  }, e;
9983
10007
  }()
9984
- ), FE = /* @__PURE__ */ function() {
10008
+ ), GE = /* @__PURE__ */ function() {
9985
10009
  var e = function(t, n) {
9986
10010
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
9987
10011
  r.__proto__ = i;
@@ -10001,7 +10025,7 @@ var cc = (
10001
10025
  }(), Va = (
10002
10026
  /** @class */
10003
10027
  function(e) {
10004
- FE(t, e);
10028
+ GE(t, e);
10005
10029
  function t(n, r, i) {
10006
10030
  var o = e.call(this, n) || this;
10007
10031
  return o.name = "OTLPExporterError", o.data = i, o.code = r, o;
@@ -10009,33 +10033,33 @@ var cc = (
10009
10033
  return t;
10010
10034
  }(Error)
10011
10035
  );
10012
- function VE(e) {
10036
+ function HE(e) {
10013
10037
  if (!Number.isNaN(e) && Number.isFinite(e) && e > 0)
10014
10038
  return e;
10015
10039
  throw new Error("Configuration: timeoutMillis is invalid, expected number greater than 0 (actual: '" + e + "')");
10016
10040
  }
10017
- function GE(e) {
10041
+ function qE(e) {
10018
10042
  if (e != null)
10019
10043
  return function() {
10020
10044
  return e;
10021
10045
  };
10022
10046
  }
10023
- function HE(e, t, n) {
10047
+ function zE(e, t, n) {
10024
10048
  var r, i, o, a, u, c;
10025
10049
  return {
10026
- timeoutMillis: VE((i = (r = e.timeoutMillis) !== null && r !== void 0 ? r : t.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
10050
+ timeoutMillis: HE((i = (r = e.timeoutMillis) !== null && r !== void 0 ? r : t.timeoutMillis) !== null && i !== void 0 ? i : n.timeoutMillis),
10027
10051
  concurrencyLimit: (a = (o = e.concurrencyLimit) !== null && o !== void 0 ? o : t.concurrencyLimit) !== null && a !== void 0 ? a : n.concurrencyLimit,
10028
10052
  compression: (c = (u = e.compression) !== null && u !== void 0 ? u : t.compression) !== null && c !== void 0 ? c : n.compression
10029
10053
  };
10030
10054
  }
10031
- function qE() {
10055
+ function XE() {
10032
10056
  return {
10033
10057
  timeoutMillis: 1e4,
10034
10058
  concurrencyLimit: 30,
10035
10059
  compression: "none"
10036
10060
  };
10037
10061
  }
10038
- var zE = function(e, t, n, r) {
10062
+ var KE = function(e, t, n, r) {
10039
10063
  function i(o) {
10040
10064
  return o instanceof n ? o : new n(function(a) {
10041
10065
  a(o);
@@ -10061,7 +10085,7 @@ var zE = function(e, t, n, r) {
10061
10085
  }
10062
10086
  s((r = r.apply(e, [])).next());
10063
10087
  });
10064
- }, XE = function(e, t) {
10088
+ }, WE = function(e, t) {
10065
10089
  var n = { label: 0, sent: function() {
10066
10090
  if (o[0] & 1) throw o[1];
10067
10091
  return o[1];
@@ -10120,7 +10144,7 @@ var zE = function(e, t, n, r) {
10120
10144
  if (s[0] & 5) throw s[1];
10121
10145
  return { value: s[0] ? s[1] : void 0, done: !0 };
10122
10146
  }
10123
- }, KE = (
10147
+ }, YE = (
10124
10148
  /** @class */
10125
10149
  function() {
10126
10150
  function e(t) {
@@ -10139,8 +10163,8 @@ var zE = function(e, t, n, r) {
10139
10163
  }, e.prototype.hasReachedLimit = function() {
10140
10164
  return this._sendingPromises.length >= this._concurrencyLimit;
10141
10165
  }, e.prototype.awaitAll = function() {
10142
- return zE(this, void 0, void 0, function() {
10143
- return XE(this, function(t) {
10166
+ return KE(this, void 0, void 0, function() {
10167
+ return WE(this, function(t) {
10144
10168
  switch (t.label) {
10145
10169
  case 0:
10146
10170
  return [4, Promise.all(this._sendingPromises)];
@@ -10155,20 +10179,20 @@ var zE = function(e, t, n, r) {
10155
10179
  }, e;
10156
10180
  }()
10157
10181
  );
10158
- function WE(e) {
10159
- return new KE(e.concurrencyLimit);
10182
+ function JE(e) {
10183
+ return new YE(e.concurrencyLimit);
10160
10184
  }
10161
- function YE(e) {
10185
+ function QE(e) {
10162
10186
  return Object.prototype.hasOwnProperty.call(e, "partialSuccess");
10163
10187
  }
10164
- function JE() {
10188
+ function ZE() {
10165
10189
  return {
10166
10190
  handleResponse: function(e) {
10167
- e == null || !YE(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || b.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
10191
+ e == null || !QE(e) || e.partialSuccess == null || Object.keys(e.partialSuccess).length === 0 || b.warn("Received Partial Success response:", JSON.stringify(e.partialSuccess));
10168
10192
  }
10169
10193
  };
10170
10194
  }
10171
- var QE = function(e, t, n, r) {
10195
+ var tb = function(e, t, n, r) {
10172
10196
  function i(o) {
10173
10197
  return o instanceof n ? o : new n(function(a) {
10174
10198
  a(o);
@@ -10194,7 +10218,7 @@ var QE = function(e, t, n, r) {
10194
10218
  }
10195
10219
  s((r = r.apply(e, [])).next());
10196
10220
  });
10197
- }, ZE = function(e, t) {
10221
+ }, eb = function(e, t) {
10198
10222
  var n = { label: 0, sent: function() {
10199
10223
  if (o[0] & 1) throw o[1];
10200
10224
  return o[1];
@@ -10253,7 +10277,7 @@ var QE = function(e, t, n, r) {
10253
10277
  if (s[0] & 5) throw s[1];
10254
10278
  return { value: s[0] ? s[1] : void 0, done: !0 };
10255
10279
  }
10256
- }, tb = (
10280
+ }, nb = (
10257
10281
  /** @class */
10258
10282
  function() {
10259
10283
  function e(t, n, r, i, o) {
@@ -10312,8 +10336,8 @@ var QE = function(e, t, n, r) {
10312
10336
  }, e.prototype.forceFlush = function() {
10313
10337
  return this._promiseQueue.awaitAll();
10314
10338
  }, e.prototype.shutdown = function() {
10315
- return QE(this, void 0, void 0, function() {
10316
- return ZE(this, function(t) {
10339
+ return tb(this, void 0, void 0, function() {
10340
+ return eb(this, function(t) {
10317
10341
  switch (t.label) {
10318
10342
  case 0:
10319
10343
  return this._diagLogger.debug("shutdown started"), [4, this.forceFlush()];
@@ -10328,33 +10352,33 @@ var QE = function(e, t, n, r) {
10328
10352
  }, e;
10329
10353
  }()
10330
10354
  );
10331
- function eb(e, t) {
10332
- return new tb(e.transport, e.serializer, JE(), e.promiseHandler, t.timeout);
10355
+ function rb(e, t) {
10356
+ return new nb(e.transport, e.serializer, ZE(), e.promiseHandler, t.timeout);
10333
10357
  }
10334
10358
  function lc(e, t, n) {
10335
- return eb({
10359
+ return rb({
10336
10360
  transport: n,
10337
10361
  serializer: t,
10338
- promiseHandler: WE(e)
10362
+ promiseHandler: JE(e)
10339
10363
  }, { timeout: e.timeoutMillis });
10340
10364
  }
10341
10365
  function pc(e) {
10342
10366
  var t = BigInt(1e9);
10343
10367
  return BigInt(e[0]) * t + BigInt(e[1]);
10344
10368
  }
10345
- function nb(e) {
10369
+ function ib(e) {
10346
10370
  var t = Number(BigInt.asUintN(32, e)), n = Number(BigInt.asUintN(32, e >> BigInt(32)));
10347
10371
  return { low: t, high: n };
10348
10372
  }
10349
10373
  function fc(e) {
10350
10374
  var t = pc(e);
10351
- return nb(t);
10375
+ return ib(t);
10352
10376
  }
10353
- function rb(e) {
10377
+ function ob(e) {
10354
10378
  var t = pc(e);
10355
10379
  return t.toString();
10356
10380
  }
10357
- var ib = typeof BigInt < "u" ? rb : iv;
10381
+ var ab = typeof BigInt < "u" ? ob : iv;
10358
10382
  function Ga(e) {
10359
10383
  return e;
10360
10384
  }
@@ -10362,7 +10386,7 @@ function hc(e) {
10362
10386
  if (e !== void 0)
10363
10387
  return Eo(e);
10364
10388
  }
10365
- var ob = {
10389
+ var sb = {
10366
10390
  encodeHrTime: fc,
10367
10391
  encodeSpanContext: Eo,
10368
10392
  encodeOptionalSpanContext: hc
@@ -10370,15 +10394,15 @@ var ob = {
10370
10394
  function dc(e) {
10371
10395
  var t, n;
10372
10396
  if (e === void 0)
10373
- return ob;
10397
+ return sb;
10374
10398
  var r = (t = e.useLongBits) !== null && t !== void 0 ? t : !0, i = (n = e.useHex) !== null && n !== void 0 ? n : !1;
10375
10399
  return {
10376
- encodeHrTime: r ? fc : ib,
10400
+ encodeHrTime: r ? fc : ab,
10377
10401
  encodeSpanContext: i ? Ga : Eo,
10378
10402
  encodeOptionalSpanContext: i ? Ga : hc
10379
10403
  };
10380
10404
  }
10381
- var ab = function(e, t) {
10405
+ var ub = function(e, t) {
10382
10406
  var n = typeof Symbol == "function" && e[Symbol.iterator];
10383
10407
  if (!n) return e;
10384
10408
  var r = n.call(e), i, o = [], a;
@@ -10423,7 +10447,7 @@ function mc(e) {
10423
10447
  return t === "string" ? { stringValue: e } : t === "number" ? Number.isInteger(e) ? { intValue: e } : { doubleValue: e } : t === "boolean" ? { boolValue: e } : e instanceof Uint8Array ? { bytesValue: e } : Array.isArray(e) ? { arrayValue: { values: e.map(mc) } } : t === "object" && e != null ? {
10424
10448
  kvlistValue: {
10425
10449
  values: Object.entries(e).map(function(n) {
10426
- var r = ab(n, 2), i = r[0], o = r[1];
10450
+ var r = ub(n, 2), i = r[0], o = r[1];
10427
10451
  return gc(i, o);
10428
10452
  })
10429
10453
  }
@@ -10437,7 +10461,7 @@ var ht;
10437
10461
  (function(e) {
10438
10462
  e[e.HISTOGRAM = 0] = "HISTOGRAM", e[e.EXPONENTIAL_HISTOGRAM = 1] = "EXPONENTIAL_HISTOGRAM", e[e.GAUGE = 2] = "GAUGE", e[e.SUM = 3] = "SUM";
10439
10463
  })(ht || (ht = {}));
10440
- var sb = /* @__PURE__ */ function() {
10464
+ var cb = /* @__PURE__ */ function() {
10441
10465
  var e = function(t, n) {
10442
10466
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
10443
10467
  r.__proto__ = i;
@@ -10539,7 +10563,7 @@ var sb = /* @__PURE__ */ function() {
10539
10563
  if (s[0] & 5) throw s[1];
10540
10564
  return { value: s[0] ? s[1] : void 0, done: !0 };
10541
10565
  }
10542
- }, ub = function(e, t) {
10566
+ }, lb = function(e, t) {
10543
10567
  var n = typeof Symbol == "function" && e[Symbol.iterator];
10544
10568
  if (!n) return e;
10545
10569
  var r = n.call(e), i, o = [], a;
@@ -10555,11 +10579,11 @@ var sb = /* @__PURE__ */ function() {
10555
10579
  }
10556
10580
  }
10557
10581
  return o;
10558
- }, cb = function(e, t, n) {
10582
+ }, pb = function(e, t, n) {
10559
10583
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
10560
10584
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
10561
10585
  return e.concat(o || Array.prototype.slice.call(t));
10562
- }, lb = function(e) {
10586
+ }, fb = function(e) {
10563
10587
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
10564
10588
  if (n) return n.call(e);
10565
10589
  if (e && typeof e.length == "number") return {
@@ -10569,7 +10593,7 @@ var sb = /* @__PURE__ */ function() {
10569
10593
  };
10570
10594
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
10571
10595
  };
10572
- function pb(e) {
10596
+ function hb(e) {
10573
10597
  return e != null;
10574
10598
  }
10575
10599
  function _c(e) {
@@ -10578,14 +10602,14 @@ function _c(e) {
10578
10602
  return [n, e[n]];
10579
10603
  })));
10580
10604
  }
10581
- function fb(e) {
10605
+ function db(e) {
10582
10606
  var t, n;
10583
10607
  return e.name + ":" + ((t = e.version) !== null && t !== void 0 ? t : "") + ":" + ((n = e.schemaUrl) !== null && n !== void 0 ? n : "");
10584
10608
  }
10585
10609
  var Ec = (
10586
10610
  /** @class */
10587
10611
  function(e) {
10588
- sb(t, e);
10612
+ cb(t, e);
10589
10613
  function t(n) {
10590
10614
  var r = e.call(this, n) || this;
10591
10615
  return Object.setPrototypeOf(r, t.prototype), r;
@@ -10605,7 +10629,7 @@ function Qe(e, t) {
10605
10629
  throw clearTimeout(n), i;
10606
10630
  });
10607
10631
  }
10608
- function hb(e) {
10632
+ function vb(e) {
10609
10633
  return Ha(this, void 0, void 0, function() {
10610
10634
  var t = this;
10611
10635
  return qa(this, function(n) {
@@ -10638,21 +10662,21 @@ function hb(e) {
10638
10662
  });
10639
10663
  });
10640
10664
  }
10641
- function db(e) {
10665
+ function yb(e) {
10642
10666
  return e.status === "rejected";
10643
10667
  }
10644
10668
  function za(e, t) {
10645
10669
  var n = [];
10646
10670
  return e.forEach(function(r) {
10647
- n.push.apply(n, cb([], ub(t(r)), !1));
10671
+ n.push.apply(n, pb([], lb(t(r)), !1));
10648
10672
  }), n;
10649
10673
  }
10650
- function vb(e, t) {
10674
+ function gb(e, t) {
10651
10675
  var n, r;
10652
10676
  if (e.size !== t.size)
10653
10677
  return !1;
10654
10678
  try {
10655
- for (var i = lb(e), o = i.next(); !o.done; o = i.next()) {
10679
+ for (var i = fb(e), o = i.next(); !o.done; o = i.next()) {
10656
10680
  var a = o.value;
10657
10681
  if (!t.has(a))
10658
10682
  return !1;
@@ -10668,21 +10692,21 @@ function vb(e, t) {
10668
10692
  }
10669
10693
  return !0;
10670
10694
  }
10671
- function yb(e, t) {
10695
+ function mb(e, t) {
10672
10696
  for (var n = 0, r = e.length - 1, i = e.length; r >= n; ) {
10673
10697
  var o = n + Math.trunc((r - n) / 2);
10674
10698
  e[o] < t ? n = o + 1 : (i = o, r = o - 1);
10675
10699
  }
10676
10700
  return i;
10677
10701
  }
10678
- function gb(e, t) {
10702
+ function _b(e, t) {
10679
10703
  return e.toLowerCase() === t.toLowerCase();
10680
10704
  }
10681
10705
  var Kt;
10682
10706
  (function(e) {
10683
10707
  e[e.DROP = 0] = "DROP", e[e.SUM = 1] = "SUM", e[e.LAST_VALUE = 2] = "LAST_VALUE", e[e.HISTOGRAM = 3] = "HISTOGRAM", e[e.EXPONENTIAL_HISTOGRAM = 4] = "EXPONENTIAL_HISTOGRAM";
10684
10708
  })(Kt || (Kt = {}));
10685
- var mb = (
10709
+ var Eb = (
10686
10710
  /** @class */
10687
10711
  function() {
10688
10712
  function e() {
@@ -10694,22 +10718,22 @@ var mb = (
10694
10718
  }, e.prototype.toMetricData = function(t, n, r, i) {
10695
10719
  }, e;
10696
10720
  }()
10697
- ), L;
10721
+ ), A;
10698
10722
  (function(e) {
10699
10723
  e.COUNTER = "COUNTER", e.GAUGE = "GAUGE", e.HISTOGRAM = "HISTOGRAM", e.UP_DOWN_COUNTER = "UP_DOWN_COUNTER", e.OBSERVABLE_COUNTER = "OBSERVABLE_COUNTER", e.OBSERVABLE_GAUGE = "OBSERVABLE_GAUGE", e.OBSERVABLE_UP_DOWN_COUNTER = "OBSERVABLE_UP_DOWN_COUNTER";
10700
- })(L || (L = {}));
10724
+ })(A || (A = {}));
10701
10725
  function Tt(e, t, n) {
10702
10726
  var r, i, o, a;
10703
- return Tb(e) || b.warn('Invalid metric name: "' + e + '". The metric name should be a ASCII string with a length no greater than 255 characters.'), {
10727
+ return wb(e) || b.warn('Invalid metric name: "' + e + '". The metric name should be a ASCII string with a length no greater than 255 characters.'), {
10704
10728
  name: e,
10705
10729
  type: t,
10706
10730
  description: (r = n?.description) !== null && r !== void 0 ? r : "",
10707
10731
  unit: (i = n?.unit) !== null && i !== void 0 ? i : "",
10708
- valueType: (o = n?.valueType) !== null && o !== void 0 ? o : Nt.DOUBLE,
10732
+ valueType: (o = n?.valueType) !== null && o !== void 0 ? o : Pt.DOUBLE,
10709
10733
  advice: (a = n?.advice) !== null && a !== void 0 ? a : {}
10710
10734
  };
10711
10735
  }
10712
- function _b(e, t) {
10736
+ function bb(e, t) {
10713
10737
  var n, r;
10714
10738
  return {
10715
10739
  name: (n = e.name) !== null && n !== void 0 ? n : t.name,
@@ -10720,14 +10744,14 @@ function _b(e, t) {
10720
10744
  advice: t.advice
10721
10745
  };
10722
10746
  }
10723
- function Eb(e, t) {
10724
- return gb(e.name, t.name) && e.unit === t.unit && e.type === t.type && e.valueType === t.valueType;
10747
+ function Tb(e, t) {
10748
+ return _b(e.name, t.name) && e.unit === t.unit && e.type === t.type && e.valueType === t.valueType;
10725
10749
  }
10726
- var bb = /^[a-z][a-z0-9_.\-/]{0,254}$/i;
10727
- function Tb(e) {
10728
- return e.match(bb) != null;
10750
+ var Sb = /^[a-z][a-z0-9_.\-/]{0,254}$/i;
10751
+ function wb(e) {
10752
+ return e.match(Sb) != null;
10729
10753
  }
10730
- var Sb = function(e, t) {
10754
+ var Ob = function(e, t) {
10731
10755
  var n = typeof Symbol == "function" && e[Symbol.iterator];
10732
10756
  if (!n) return e;
10733
10757
  var r = n.call(e), i, o = [], a;
@@ -10744,7 +10768,7 @@ var Sb = function(e, t) {
10744
10768
  }
10745
10769
  return o;
10746
10770
  };
10747
- function wb(e) {
10771
+ function Lb(e) {
10748
10772
  var t = e.map(function() {
10749
10773
  return 0;
10750
10774
  });
@@ -10764,12 +10788,12 @@ var Wr = (
10764
10788
  /** @class */
10765
10789
  function() {
10766
10790
  function e(t, n, r, i) {
10767
- r === void 0 && (r = !0), i === void 0 && (i = wb(n)), this.startTime = t, this._boundaries = n, this._recordMinMax = r, this._current = i;
10791
+ r === void 0 && (r = !0), i === void 0 && (i = Lb(n)), this.startTime = t, this._boundaries = n, this._recordMinMax = r, this._current = i;
10768
10792
  }
10769
10793
  return e.prototype.record = function(t) {
10770
10794
  if (!Number.isNaN(t)) {
10771
10795
  this._current.count += 1, this._current.sum += t, this._recordMinMax && (this._current.min = Math.min(t, this._current.min), this._current.max = Math.max(t, this._current.max), this._current.hasMinMax = !0);
10772
- var n = yb(this._boundaries, t);
10796
+ var n = mb(this._boundaries, t);
10773
10797
  this._current.buckets.counts[n] += 1;
10774
10798
  }
10775
10799
  }, e.prototype.setStartTime = function(t) {
@@ -10821,7 +10845,7 @@ var Wr = (
10821
10845
  aggregationTemporality: n,
10822
10846
  dataPointType: ht.HISTOGRAM,
10823
10847
  dataPoints: r.map(function(o) {
10824
- var a = Sb(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = t.type === L.GAUGE || t.type === L.UP_DOWN_COUNTER || t.type === L.OBSERVABLE_GAUGE || t.type === L.OBSERVABLE_UP_DOWN_COUNTER;
10848
+ var a = Ob(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = t.type === A.GAUGE || t.type === A.UP_DOWN_COUNTER || t.type === A.OBSERVABLE_GAUGE || t.type === A.OBSERVABLE_UP_DOWN_COUNTER;
10825
10849
  return {
10826
10850
  attributes: u,
10827
10851
  startTime: c.startTime,
@@ -10862,7 +10886,7 @@ var Wr = (
10862
10886
  /** @class */
10863
10887
  function() {
10864
10888
  function e(t, n, r, i) {
10865
- t === void 0 && (t = new Ob()), n === void 0 && (n = 0), r === void 0 && (r = 0), i === void 0 && (i = 0), this.backing = t, this.indexBase = n, this.indexStart = r, this.indexEnd = i;
10889
+ t === void 0 && (t = new Ab()), n === void 0 && (n = 0), r === void 0 && (r = 0), i === void 0 && (i = 0), this.backing = t, this.indexBase = n, this.indexStart = r, this.indexEnd = i;
10866
10890
  }
10867
10891
  return Object.defineProperty(e.prototype, "offset", {
10868
10892
  /**
@@ -10930,7 +10954,7 @@ var Wr = (
10930
10954
  t !== n && this.incrementBucket(t, this.backing.emptyBucket(n));
10931
10955
  }, e;
10932
10956
  }()
10933
- ), Ob = (
10957
+ ), Ab = (
10934
10958
  /** @class */
10935
10959
  function() {
10936
10960
  function e(t) {
@@ -10970,26 +10994,26 @@ var Wr = (
10970
10994
  return new e(Jr([], Yr(this._counts), !1));
10971
10995
  }, e;
10972
10996
  }()
10973
- ), Ab = 52, Lb = 2146435072, Rb = 1048575, Ao = 1023, Tc = -Ao + 1, Sc = Ao, Ji = Math.pow(2, -1022);
10997
+ ), Rb = 52, Cb = 2146435072, xb = 1048575, Lo = 1023, Tc = -Lo + 1, Sc = Lo, Ji = Math.pow(2, -1022);
10974
10998
  function wc(e) {
10975
10999
  var t = new DataView(new ArrayBuffer(8));
10976
11000
  t.setFloat64(0, e);
10977
- var n = t.getUint32(0), r = (n & Lb) >> 20;
10978
- return r - Ao;
11001
+ var n = t.getUint32(0), r = (n & Cb) >> 20;
11002
+ return r - Lo;
10979
11003
  }
10980
11004
  function Oc(e) {
10981
11005
  var t = new DataView(new ArrayBuffer(8));
10982
11006
  t.setFloat64(0, e);
10983
- var n = t.getUint32(0), r = t.getUint32(4), i = (n & Rb) * Math.pow(2, 32);
11007
+ var n = t.getUint32(0), r = t.getUint32(4), i = (n & xb) * Math.pow(2, 32);
10984
11008
  return i + r;
10985
11009
  }
10986
11010
  function Qi(e, t) {
10987
11011
  return e === 0 || e === Number.POSITIVE_INFINITY || e === Number.NEGATIVE_INFINITY || Number.isNaN(e) ? e : e * Math.pow(2, t);
10988
11012
  }
10989
- function Cb(e) {
11013
+ function Pb(e) {
10990
11014
  return e--, e |= e >> 1, e |= e >> 2, e |= e >> 4, e |= e >> 8, e |= e >> 16, e++, e;
10991
11015
  }
10992
- var xb = /* @__PURE__ */ function() {
11016
+ var Nb = /* @__PURE__ */ function() {
10993
11017
  var e = function(t, n) {
10994
11018
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
10995
11019
  r.__proto__ = i;
@@ -11009,13 +11033,13 @@ var xb = /* @__PURE__ */ function() {
11009
11033
  }(), Ze = (
11010
11034
  /** @class */
11011
11035
  function(e) {
11012
- xb(t, e);
11036
+ Nb(t, e);
11013
11037
  function t() {
11014
11038
  return e !== null && e.apply(this, arguments) || this;
11015
11039
  }
11016
11040
  return t;
11017
11041
  }(Error)
11018
- ), Nb = (
11042
+ ), Ib = (
11019
11043
  /** @class */
11020
11044
  function() {
11021
11045
  function e(t) {
@@ -11024,7 +11048,7 @@ var xb = /* @__PURE__ */ function() {
11024
11048
  return e.prototype.mapToIndex = function(t) {
11025
11049
  if (t < Ji)
11026
11050
  return this._minNormalLowerBoundaryIndex();
11027
- var n = wc(t), r = this._rightShift(Oc(t) - 1, Ab);
11051
+ var n = wc(t), r = this._rightShift(Oc(t) - 1, Rb);
11028
11052
  return n + r >> this._shift;
11029
11053
  }, e.prototype.lowerBoundary = function(t) {
11030
11054
  var n = this._minNormalLowerBoundaryIndex();
@@ -11053,7 +11077,7 @@ var xb = /* @__PURE__ */ function() {
11053
11077
  return Math.floor(t * Math.pow(2, -n));
11054
11078
  }, e;
11055
11079
  }()
11056
- ), Pb = (
11080
+ ), kb = (
11057
11081
  /** @class */
11058
11082
  function() {
11059
11083
  function e(t) {
@@ -11100,15 +11124,15 @@ var xb = /* @__PURE__ */ function() {
11100
11124
  return (Sc + 1 << this._scale) - 1;
11101
11125
  }, e;
11102
11126
  }()
11103
- ), Ka = -10, Wa = 20, Ib = Array.from({ length: 31 }, function(e, t) {
11104
- return t > 10 ? new Pb(t - 10) : new Nb(t - 10);
11127
+ ), Ka = -10, Wa = 20, Mb = Array.from({ length: 31 }, function(e, t) {
11128
+ return t > 10 ? new kb(t - 10) : new Ib(t - 10);
11105
11129
  });
11106
11130
  function Ya(e) {
11107
11131
  if (e > Wa || e < Ka)
11108
11132
  throw new Ze("expected scale >= " + Ka + " && <= " + Wa + ", got: " + e);
11109
- return Ib[e + 10];
11133
+ return Mb[e + 10];
11110
11134
  }
11111
- var kb = function(e, t) {
11135
+ var Db = function(e, t) {
11112
11136
  var n = typeof Symbol == "function" && e[Symbol.iterator];
11113
11137
  if (!n) return e;
11114
11138
  var r = n.call(e), i, o = [], a;
@@ -11134,11 +11158,11 @@ var kb = function(e, t) {
11134
11158
  return new e(Math.min(t.low, n.low), Math.max(t.high, n.high));
11135
11159
  }, e;
11136
11160
  }()
11137
- ), Mb = 20, Db = 160, Qr = 2, Ub = (
11161
+ ), Ub = 20, jb = 160, Qr = 2, Bb = (
11138
11162
  /** @class */
11139
11163
  function() {
11140
11164
  function e(t, n, r, i, o, a, u, c, s, l, p) {
11141
- t === void 0 && (t = t), n === void 0 && (n = Db), 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 Xa()), l === void 0 && (l = new Xa()), p === void 0 && (p = Ya(Mb)), this.startTime = t, 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 < Qr && (b.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Qr), this._maxSize = Qr);
11165
+ t === void 0 && (t = t), n === void 0 && (n = jb), 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 Xa()), l === void 0 && (l = new Xa()), p === void 0 && (p = Ya(Ub)), this.startTime = t, 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 < Qr && (b.warn("Exponential Histogram Max Size set to " + this._maxSize + ", changing to the minimum size of: " + Qr), this._maxSize = Qr);
11142
11166
  }
11143
11167
  return e.prototype.record = function(t) {
11144
11168
  this.updateByIncrement(t, 1);
@@ -11274,7 +11298,7 @@ var kb = function(e, t) {
11274
11298
  o < 0 && (o += t.backing.length), t.incrementBucket(o, r);
11275
11299
  }
11276
11300
  }, e.prototype._grow = function(t, n) {
11277
- var r = t.backing.length, i = t.indexBase - t.indexStart, o = r - i, a = Cb(n);
11301
+ var r = t.backing.length, i = t.indexBase - t.indexStart, o = r - i, a = Pb(n);
11278
11302
  a > this._maxSize && (a = this._maxSize);
11279
11303
  var u = a - i;
11280
11304
  t.backing.growTo(a, o, u);
@@ -11308,14 +11332,14 @@ var kb = function(e, t) {
11308
11332
  t.trim();
11309
11333
  }, e;
11310
11334
  }()
11311
- ), jb = (
11335
+ ), $b = (
11312
11336
  /** @class */
11313
11337
  function() {
11314
11338
  function e(t, n) {
11315
11339
  this._maxSize = t, this._recordMinMax = n, this.kind = Kt.EXPONENTIAL_HISTOGRAM;
11316
11340
  }
11317
11341
  return e.prototype.createAccumulation = function(t) {
11318
- return new Ub(t, this._maxSize, this._recordMinMax);
11342
+ return new Bb(t, this._maxSize, this._recordMinMax);
11319
11343
  }, e.prototype.merge = function(t, n) {
11320
11344
  var r = n.clone();
11321
11345
  return r.merge(t), r;
@@ -11328,7 +11352,7 @@ var kb = function(e, t) {
11328
11352
  aggregationTemporality: n,
11329
11353
  dataPointType: ht.EXPONENTIAL_HISTOGRAM,
11330
11354
  dataPoints: r.map(function(o) {
11331
- var a = kb(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = t.type === L.GAUGE || t.type === L.UP_DOWN_COUNTER || t.type === L.OBSERVABLE_GAUGE || t.type === L.OBSERVABLE_UP_DOWN_COUNTER;
11355
+ var a = Db(o, 2), u = a[0], c = a[1], s = c.toPointValue(), l = t.type === A.GAUGE || t.type === A.UP_DOWN_COUNTER || t.type === A.OBSERVABLE_GAUGE || t.type === A.OBSERVABLE_UP_DOWN_COUNTER;
11332
11356
  return {
11333
11357
  attributes: u,
11334
11358
  startTime: c.startTime,
@@ -11354,7 +11378,7 @@ var kb = function(e, t) {
11354
11378
  };
11355
11379
  }, e;
11356
11380
  }()
11357
- ), Bb = function(e, t) {
11381
+ ), Fb = function(e, t) {
11358
11382
  var n = typeof Symbol == "function" && e[Symbol.iterator];
11359
11383
  if (!n) return e;
11360
11384
  var r = n.call(e), i, o = [], a;
@@ -11384,7 +11408,7 @@ var kb = function(e, t) {
11384
11408
  return this._current;
11385
11409
  }, e;
11386
11410
  }()
11387
- ), $b = (
11411
+ ), Vb = (
11388
11412
  /** @class */
11389
11413
  function() {
11390
11414
  function e() {
@@ -11404,7 +11428,7 @@ var kb = function(e, t) {
11404
11428
  aggregationTemporality: n,
11405
11429
  dataPointType: ht.GAUGE,
11406
11430
  dataPoints: r.map(function(o) {
11407
- var a = Bb(o, 2), u = a[0], c = a[1];
11431
+ var a = Fb(o, 2), u = a[0], c = a[1];
11408
11432
  return {
11409
11433
  attributes: u,
11410
11434
  startTime: c.startTime,
@@ -11415,7 +11439,7 @@ var kb = function(e, t) {
11415
11439
  };
11416
11440
  }, e;
11417
11441
  }()
11418
- ), Fb = function(e, t) {
11442
+ ), Gb = function(e, t) {
11419
11443
  var n = typeof Symbol == "function" && e[Symbol.iterator];
11420
11444
  if (!n) return e;
11421
11445
  var r = n.call(e), i, o = [], a;
@@ -11465,7 +11489,7 @@ var kb = function(e, t) {
11465
11489
  aggregationTemporality: n,
11466
11490
  dataPointType: ht.SUM,
11467
11491
  dataPoints: r.map(function(o) {
11468
- var a = Fb(o, 2), u = a[0], c = a[1];
11492
+ var a = Gb(o, 2), u = a[0], c = a[1];
11469
11493
  return {
11470
11494
  attributes: u,
11471
11495
  startTime: c.startTime,
@@ -11500,20 +11524,20 @@ var kb = function(e, t) {
11500
11524
  function e() {
11501
11525
  }
11502
11526
  return e.Drop = function() {
11503
- return Ac;
11504
- }, e.Sum = function() {
11505
11527
  return Lc;
11528
+ }, e.Sum = function() {
11529
+ return Ac;
11506
11530
  }, e.LastValue = function() {
11507
11531
  return Rc;
11508
11532
  }, e.Histogram = function() {
11509
11533
  return Cc;
11510
11534
  }, e.ExponentialHistogram = function() {
11511
- return Wb;
11535
+ return Jb;
11512
11536
  }, e.Default = function() {
11513
- return Yb;
11537
+ return Qb;
11514
11538
  }, e;
11515
11539
  }()
11516
- ), Vb = (
11540
+ ), Hb = (
11517
11541
  /** @class */
11518
11542
  function(e) {
11519
11543
  Qt(t, e);
@@ -11522,9 +11546,9 @@ var kb = function(e, t) {
11522
11546
  }
11523
11547
  return t.prototype.createAggregator = function(n) {
11524
11548
  return t.DEFAULT_INSTANCE;
11525
- }, t.DEFAULT_INSTANCE = new mb(), t;
11549
+ }, t.DEFAULT_INSTANCE = new Eb(), t;
11526
11550
  }(bt)
11527
- ), Gb = (
11551
+ ), qb = (
11528
11552
  /** @class */
11529
11553
  function(e) {
11530
11554
  Qt(t, e);
@@ -11533,16 +11557,16 @@ var kb = function(e, t) {
11533
11557
  }
11534
11558
  return t.prototype.createAggregator = function(n) {
11535
11559
  switch (n.type) {
11536
- case L.COUNTER:
11537
- case L.OBSERVABLE_COUNTER:
11538
- case L.HISTOGRAM:
11560
+ case A.COUNTER:
11561
+ case A.OBSERVABLE_COUNTER:
11562
+ case A.HISTOGRAM:
11539
11563
  return t.MONOTONIC_INSTANCE;
11540
11564
  default:
11541
11565
  return t.NON_MONOTONIC_INSTANCE;
11542
11566
  }
11543
11567
  }, t.MONOTONIC_INSTANCE = new Ja(!0), t.NON_MONOTONIC_INSTANCE = new Ja(!1), t;
11544
11568
  }(bt)
11545
- ), Hb = (
11569
+ ), zb = (
11546
11570
  /** @class */
11547
11571
  function(e) {
11548
11572
  Qt(t, e);
@@ -11551,9 +11575,9 @@ var kb = function(e, t) {
11551
11575
  }
11552
11576
  return t.prototype.createAggregator = function(n) {
11553
11577
  return t.DEFAULT_INSTANCE;
11554
- }, t.DEFAULT_INSTANCE = new $b(), t;
11578
+ }, t.DEFAULT_INSTANCE = new Vb(), t;
11555
11579
  }(bt)
11556
- ), qb = (
11580
+ ), Xb = (
11557
11581
  /** @class */
11558
11582
  function(e) {
11559
11583
  Qt(t, e);
@@ -11564,7 +11588,7 @@ var kb = function(e, t) {
11564
11588
  return t.DEFAULT_INSTANCE;
11565
11589
  }, t.DEFAULT_INSTANCE = new bc([0, 5, 10, 25, 50, 75, 100, 250, 500, 750, 1e3, 2500, 5e3, 7500, 1e4], !0), t;
11566
11590
  }(bt)
11567
- ), zb = (
11591
+ ), Kb = (
11568
11592
  /** @class */
11569
11593
  function(e) {
11570
11594
  Qt(t, e);
@@ -11583,7 +11607,7 @@ var kb = function(e, t) {
11583
11607
  return new bc(this._boundaries, this._recordMinMax);
11584
11608
  }, t;
11585
11609
  }(bt)
11586
- ), Xb = (
11610
+ ), Wb = (
11587
11611
  /** @class */
11588
11612
  function(e) {
11589
11613
  Qt(t, e);
@@ -11593,10 +11617,10 @@ var kb = function(e, t) {
11593
11617
  return i._maxSize = n, i._recordMinMax = r, i;
11594
11618
  }
11595
11619
  return t.prototype.createAggregator = function(n) {
11596
- return new jb(this._maxSize, this._recordMinMax);
11620
+ return new $b(this._maxSize, this._recordMinMax);
11597
11621
  }, t;
11598
11622
  }(bt)
11599
- ), Kb = (
11623
+ ), Yb = (
11600
11624
  /** @class */
11601
11625
  function(e) {
11602
11626
  Qt(t, e);
@@ -11605,25 +11629,25 @@ var kb = function(e, t) {
11605
11629
  }
11606
11630
  return t.prototype._resolve = function(n) {
11607
11631
  switch (n.type) {
11608
- case L.COUNTER:
11609
- case L.UP_DOWN_COUNTER:
11610
- case L.OBSERVABLE_COUNTER:
11611
- case L.OBSERVABLE_UP_DOWN_COUNTER:
11612
- return Lc;
11613
- case L.GAUGE:
11614
- case L.OBSERVABLE_GAUGE:
11632
+ case A.COUNTER:
11633
+ case A.UP_DOWN_COUNTER:
11634
+ case A.OBSERVABLE_COUNTER:
11635
+ case A.OBSERVABLE_UP_DOWN_COUNTER:
11636
+ return Ac;
11637
+ case A.GAUGE:
11638
+ case A.OBSERVABLE_GAUGE:
11615
11639
  return Rc;
11616
- case L.HISTOGRAM:
11617
- return n.advice.explicitBucketBoundaries ? new zb(n.advice.explicitBucketBoundaries) : Cc;
11640
+ case A.HISTOGRAM:
11641
+ return n.advice.explicitBucketBoundaries ? new Kb(n.advice.explicitBucketBoundaries) : Cc;
11618
11642
  }
11619
- return b.warn("Unable to recognize instrument type: " + n.type), Ac;
11643
+ return b.warn("Unable to recognize instrument type: " + n.type), Lc;
11620
11644
  }, t.prototype.createAggregator = function(n) {
11621
11645
  return this._resolve(n).createAggregator(n);
11622
11646
  }, t;
11623
11647
  }(bt)
11624
- ), Ac = new Vb(), Lc = new Gb(), Rc = new Hb(), Cc = new qb(), Wb = new Xb(), Yb = new Kb(), Jb = function(e) {
11648
+ ), Lc = new Hb(), Ac = new qb(), Rc = new zb(), Cc = new Xb(), Jb = new Wb(), Qb = new Yb(), Zb = function(e) {
11625
11649
  return bt.Default();
11626
- }, Qb = function(e) {
11650
+ }, tT = function(e) {
11627
11651
  return ct.CUMULATIVE;
11628
11652
  }, ti = function(e, t, n, r) {
11629
11653
  function i(o) {
@@ -11726,16 +11750,16 @@ var kb = function(e, t) {
11726
11750
  }
11727
11751
  }
11728
11752
  return o;
11729
- }, Zb = function(e, t, n) {
11753
+ }, eT = function(e, t, n) {
11730
11754
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
11731
11755
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
11732
11756
  return e.concat(o || Array.prototype.slice.call(t));
11733
- }, tT = (
11757
+ }, nT = (
11734
11758
  /** @class */
11735
11759
  function() {
11736
11760
  function e(t) {
11737
11761
  var n, r, i;
11738
- this._shutdown = !1, this._aggregationSelector = (n = t?.aggregationSelector) !== null && n !== void 0 ? n : Jb, this._aggregationTemporalitySelector = (r = t?.aggregationTemporalitySelector) !== null && r !== void 0 ? r : Qb, this._metricProducers = (i = t?.metricProducers) !== null && i !== void 0 ? i : [], this._cardinalitySelector = t?.cardinalitySelector;
11762
+ this._shutdown = !1, this._aggregationSelector = (n = t?.aggregationSelector) !== null && n !== void 0 ? n : Zb, this._aggregationTemporalitySelector = (r = t?.aggregationTemporalitySelector) !== null && r !== void 0 ? r : tT, this._metricProducers = (i = t?.metricProducers) !== null && i !== void 0 ? i : [], this._cardinalitySelector = t?.cardinalitySelector;
11739
11763
  }
11740
11764
  return e.prototype.setMetricProducer = function(t) {
11741
11765
  if (this._sdkMetricProducer)
@@ -11758,7 +11782,7 @@ var kb = function(e, t) {
11758
11782
  throw new Error("MetricReader is not bound to a MetricProducer");
11759
11783
  if (this._shutdown)
11760
11784
  throw new Error("MetricReader is shutdown");
11761
- return [4, Promise.all(Zb([
11785
+ return [4, Promise.all(eT([
11762
11786
  this._sdkMetricProducer.collect({
11763
11787
  timeoutMillis: t?.timeoutMillis
11764
11788
  })
@@ -11831,7 +11855,7 @@ var kb = function(e, t) {
11831
11855
  });
11832
11856
  }, e;
11833
11857
  }()
11834
- ), eT = /* @__PURE__ */ function() {
11858
+ ), rT = /* @__PURE__ */ function() {
11835
11859
  var e = function(t, n) {
11836
11860
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
11837
11861
  r.__proto__ = i;
@@ -11933,7 +11957,7 @@ var kb = function(e, t) {
11933
11957
  if (s[0] & 5) throw s[1];
11934
11958
  return { value: s[0] ? s[1] : void 0, done: !0 };
11935
11959
  }
11936
- }, nT = function(e, t) {
11960
+ }, iT = function(e, t) {
11937
11961
  var n = typeof Symbol == "function" && e[Symbol.iterator];
11938
11962
  if (!n) return e;
11939
11963
  var r = n.call(e), i, o = [], a;
@@ -11949,14 +11973,14 @@ var kb = function(e, t) {
11949
11973
  }
11950
11974
  }
11951
11975
  return o;
11952
- }, rT = function(e, t, n) {
11976
+ }, oT = function(e, t, n) {
11953
11977
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
11954
11978
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
11955
11979
  return e.concat(o || Array.prototype.slice.call(t));
11956
- }, iT = (
11980
+ }, aT = (
11957
11981
  /** @class */
11958
11982
  function(e) {
11959
- eT(t, e);
11983
+ rT(t, e);
11960
11984
  function t(n) {
11961
11985
  var r, i, o, a, u = e.call(this, {
11962
11986
  aggregationSelector: (r = n.exporter.selectAggregation) === null || r === void 0 ? void 0 : r.bind(n.exporter),
@@ -12004,7 +12028,7 @@ var kb = function(e, t) {
12004
12028
  timeoutMillis: this._exportTimeout
12005
12029
  })];
12006
12030
  case 1:
12007
- if (i = l.sent(), o = i.resourceMetrics, a = i.errors, a.length > 0 && (s = b).error.apply(s, rT(["PeriodicExportingMetricReader: metrics collection errors"], nT(a), !1)), !o.resource.asyncAttributesPending) return [3, 5];
12031
+ if (i = l.sent(), o = i.resourceMetrics, a = i.errors, a.length > 0 && (s = b).error.apply(s, oT(["PeriodicExportingMetricReader: metrics collection errors"], iT(a), !1)), !o.resource.asyncAttributesPending) return [3, 5];
12008
12032
  l.label = 2;
12009
12033
  case 2:
12010
12034
  return l.trys.push([2, 4, , 5]), [4, (r = (n = o.resource).waitForAsyncAttributes) === null || r === void 0 ? void 0 : r.call(n)];
@@ -12065,8 +12089,8 @@ var kb = function(e, t) {
12065
12089
  });
12066
12090
  });
12067
12091
  }, t;
12068
- }(tT)
12069
- ), oT = (
12092
+ }(nT)
12093
+ ), sT = (
12070
12094
  /** @class */
12071
12095
  function() {
12072
12096
  function e() {
@@ -12109,14 +12133,14 @@ var kb = function(e, t) {
12109
12133
  this._writableMetricStorage = t, this._descriptor = n;
12110
12134
  }
12111
12135
  return e.prototype._record = function(t, n, r) {
12112
- if (n === void 0 && (n = {}), r === void 0 && (r = N.active()), typeof t != "number") {
12136
+ if (n === void 0 && (n = {}), r === void 0 && (r = P.active()), typeof t != "number") {
12113
12137
  b.warn("non-number value provided to metric " + this._descriptor.name + ": " + t);
12114
12138
  return;
12115
12139
  }
12116
- this._descriptor.valueType === Nt.INT && !Number.isInteger(t) && (b.warn("INT value type cannot accept a floating-point value for " + this._descriptor.name + ", ignoring the fractional digits."), t = Math.trunc(t), !Number.isInteger(t)) || this._writableMetricStorage.record(t, n, r, We(Date.now()));
12140
+ this._descriptor.valueType === Pt.INT && !Number.isInteger(t) && (b.warn("INT value type cannot accept a floating-point value for " + this._descriptor.name + ", ignoring the fractional digits."), t = Math.trunc(t), !Number.isInteger(t)) || this._writableMetricStorage.record(t, n, r, We(Date.now()));
12117
12141
  }, e;
12118
12142
  }()
12119
- ), aT = (
12143
+ ), uT = (
12120
12144
  /** @class */
12121
12145
  function(e) {
12122
12146
  Zt(t, e);
@@ -12127,7 +12151,7 @@ var kb = function(e, t) {
12127
12151
  this._record(n, r, i);
12128
12152
  }, t;
12129
12153
  }(lr)
12130
- ), sT = (
12154
+ ), cT = (
12131
12155
  /** @class */
12132
12156
  function(e) {
12133
12157
  Zt(t, e);
@@ -12142,7 +12166,7 @@ var kb = function(e, t) {
12142
12166
  this._record(n, r, i);
12143
12167
  }, t;
12144
12168
  }(lr)
12145
- ), uT = (
12169
+ ), lT = (
12146
12170
  /** @class */
12147
12171
  function(e) {
12148
12172
  Zt(t, e);
@@ -12153,7 +12177,7 @@ var kb = function(e, t) {
12153
12177
  this._record(n, r, i);
12154
12178
  }, t;
12155
12179
  }(lr)
12156
- ), cT = (
12180
+ ), pT = (
12157
12181
  /** @class */
12158
12182
  function(e) {
12159
12183
  Zt(t, e);
@@ -12180,7 +12204,7 @@ var kb = function(e, t) {
12180
12204
  this._observableRegistry.removeCallback(t, this);
12181
12205
  }, e;
12182
12206
  }()
12183
- ), lT = (
12207
+ ), fT = (
12184
12208
  /** @class */
12185
12209
  function(e) {
12186
12210
  Zt(t, e);
@@ -12189,7 +12213,7 @@ var kb = function(e, t) {
12189
12213
  }
12190
12214
  return t;
12191
12215
  }(pr)
12192
- ), pT = (
12216
+ ), hT = (
12193
12217
  /** @class */
12194
12218
  function(e) {
12195
12219
  Zt(t, e);
@@ -12198,7 +12222,7 @@ var kb = function(e, t) {
12198
12222
  }
12199
12223
  return t;
12200
12224
  }(pr)
12201
- ), fT = (
12225
+ ), dT = (
12202
12226
  /** @class */
12203
12227
  function(e) {
12204
12228
  Zt(t, e);
@@ -12211,33 +12235,33 @@ var kb = function(e, t) {
12211
12235
  function Zi(e) {
12212
12236
  return e instanceof pr;
12213
12237
  }
12214
- var hT = (
12238
+ var vT = (
12215
12239
  /** @class */
12216
12240
  function() {
12217
12241
  function e(t) {
12218
12242
  this._meterSharedState = t;
12219
12243
  }
12220
12244
  return e.prototype.createGauge = function(t, n) {
12221
- var r = Tt(t, L.GAUGE, n), i = this._meterSharedState.registerMetricStorage(r);
12222
- return new uT(i, r);
12245
+ var r = Tt(t, A.GAUGE, n), i = this._meterSharedState.registerMetricStorage(r);
12246
+ return new lT(i, r);
12223
12247
  }, e.prototype.createHistogram = function(t, n) {
12224
- var r = Tt(t, L.HISTOGRAM, n), i = this._meterSharedState.registerMetricStorage(r);
12225
- return new cT(i, r);
12248
+ var r = Tt(t, A.HISTOGRAM, n), i = this._meterSharedState.registerMetricStorage(r);
12249
+ return new pT(i, r);
12226
12250
  }, e.prototype.createCounter = function(t, n) {
12227
- var r = Tt(t, L.COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
12228
- return new sT(i, r);
12251
+ var r = Tt(t, A.COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
12252
+ return new cT(i, r);
12229
12253
  }, e.prototype.createUpDownCounter = function(t, n) {
12230
- var r = Tt(t, L.UP_DOWN_COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
12231
- return new aT(i, r);
12254
+ var r = Tt(t, A.UP_DOWN_COUNTER, n), i = this._meterSharedState.registerMetricStorage(r);
12255
+ return new uT(i, r);
12232
12256
  }, e.prototype.createObservableGauge = function(t, n) {
12233
- var r = Tt(t, L.OBSERVABLE_GAUGE, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12234
- return new pT(r, i, this._meterSharedState.observableRegistry);
12257
+ var r = Tt(t, A.OBSERVABLE_GAUGE, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12258
+ return new hT(r, i, this._meterSharedState.observableRegistry);
12235
12259
  }, e.prototype.createObservableCounter = function(t, n) {
12236
- var r = Tt(t, L.OBSERVABLE_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12237
- return new lT(r, i, this._meterSharedState.observableRegistry);
12238
- }, e.prototype.createObservableUpDownCounter = function(t, n) {
12239
- var r = Tt(t, L.OBSERVABLE_UP_DOWN_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12260
+ var r = Tt(t, A.OBSERVABLE_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12240
12261
  return new fT(r, i, this._meterSharedState.observableRegistry);
12262
+ }, e.prototype.createObservableUpDownCounter = function(t, n) {
12263
+ var r = Tt(t, A.OBSERVABLE_UP_DOWN_COUNTER, n), i = this._meterSharedState.registerAsyncMetricStorage(r);
12264
+ return new dT(r, i, this._meterSharedState.observableRegistry);
12241
12265
  }, e.prototype.addBatchObservableCallback = function(t, n) {
12242
12266
  this._meterSharedState.observableRegistry.addBatchCallback(t, n);
12243
12267
  }, e.prototype.removeBatchObservableCallback = function(t, n) {
@@ -12261,7 +12285,7 @@ var hT = (
12261
12285
  });
12262
12286
  }, e;
12263
12287
  }()
12264
- ), dT = /* @__PURE__ */ function() {
12288
+ ), yT = /* @__PURE__ */ function() {
12265
12289
  var e = function(t, n) {
12266
12290
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
12267
12291
  r.__proto__ = i;
@@ -12337,7 +12361,7 @@ var hT = (
12337
12361
  if (s[0] & 5) throw s[1];
12338
12362
  return { value: s[0] ? s[1] : void 0, done: !0 };
12339
12363
  }
12340
- }, vT = (
12364
+ }, gT = (
12341
12365
  /** @class */
12342
12366
  function() {
12343
12367
  function e(t) {
@@ -12400,13 +12424,13 @@ var hT = (
12400
12424
  ), Gt = (
12401
12425
  /** @class */
12402
12426
  function(e) {
12403
- dT(t, e);
12427
+ yT(t, e);
12404
12428
  function t() {
12405
12429
  return e.call(this, _c) || this;
12406
12430
  }
12407
12431
  return t;
12408
- }(vT)
12409
- ), yT = function(e, t) {
12432
+ }(gT)
12433
+ ), mT = function(e, t) {
12410
12434
  var n = typeof Symbol == "function" && e[Symbol.iterator];
12411
12435
  if (!n) return e;
12412
12436
  var r = n.call(e), i, o = [], a;
@@ -12422,7 +12446,7 @@ var hT = (
12422
12446
  }
12423
12447
  }
12424
12448
  return o;
12425
- }, Nc = (
12449
+ }, Pc = (
12426
12450
  /** @class */
12427
12451
  function() {
12428
12452
  function e(t, n) {
@@ -12444,7 +12468,7 @@ var hT = (
12444
12468
  }, e.prototype.batchCumulate = function(t, n) {
12445
12469
  var r = this;
12446
12470
  Array.from(t.entries()).forEach(function(i) {
12447
- var o = yT(i, 3), a = o[0], u = o[1], c = o[2], s = r._aggregator.createAccumulation(n);
12471
+ var o = mT(i, 3), a = o[0], u = o[1], c = o[2], s = r._aggregator.createAccumulation(n);
12448
12472
  s?.record(u);
12449
12473
  var l = s;
12450
12474
  if (r._cumulativeMemoStorage.has(a, c)) {
@@ -12490,7 +12514,7 @@ var hT = (
12490
12514
  }
12491
12515
  }
12492
12516
  return o;
12493
- }, Pc = (
12517
+ }, Nc = (
12494
12518
  /** @class */
12495
12519
  function() {
12496
12520
  function e(t, n) {
@@ -12512,7 +12536,7 @@ var hT = (
12512
12536
  collectionTime: i,
12513
12537
  aggregationTemporality: u
12514
12538
  });
12515
- var l = gT(a);
12539
+ var l = _T(a);
12516
12540
  if (l.length !== 0)
12517
12541
  return this._aggregator.toMetricData(
12518
12542
  n,
@@ -12587,10 +12611,10 @@ var hT = (
12587
12611
  }, e;
12588
12612
  }()
12589
12613
  );
12590
- function gT(e) {
12614
+ function _T(e) {
12591
12615
  return Array.from(e.entries());
12592
12616
  }
12593
- var mT = /* @__PURE__ */ function() {
12617
+ var ET = /* @__PURE__ */ function() {
12594
12618
  var e = function(t, n) {
12595
12619
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
12596
12620
  r.__proto__ = i;
@@ -12607,7 +12631,7 @@ var mT = /* @__PURE__ */ function() {
12607
12631
  }
12608
12632
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
12609
12633
  };
12610
- }(), _T = function(e, t) {
12634
+ }(), bT = function(e, t) {
12611
12635
  var n = typeof Symbol == "function" && e[Symbol.iterator];
12612
12636
  if (!n) return e;
12613
12637
  var r = n.call(e), i, o = [], a;
@@ -12623,18 +12647,18 @@ var mT = /* @__PURE__ */ function() {
12623
12647
  }
12624
12648
  }
12625
12649
  return o;
12626
- }, ET = (
12650
+ }, TT = (
12627
12651
  /** @class */
12628
12652
  function(e) {
12629
- mT(t, e);
12653
+ ET(t, e);
12630
12654
  function t(n, r, i, o, a) {
12631
12655
  var u = e.call(this, n) || this;
12632
- return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Nc(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new Pc(r, o), u;
12656
+ return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Pc(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new Nc(r, o), u;
12633
12657
  }
12634
12658
  return t.prototype.record = function(n, r) {
12635
12659
  var i = this, o = new Gt();
12636
12660
  Array.from(n.entries()).forEach(function(a) {
12637
- var u = _T(a, 2), c = u[0], s = u[1];
12661
+ var u = bT(a, 2), c = u[0], s = u[1];
12638
12662
  o.set(i._attributesProcessor.process(c), s);
12639
12663
  }), this._deltaMetricStorage.batchCumulate(o, r);
12640
12664
  }, t.prototype.collect = function(n, r) {
@@ -12651,13 +12675,13 @@ function es(e, t) {
12651
12675
  `), e.description !== t.description && (n += " - Description '" + e.description + "' does not match '" + t.description + `'
12652
12676
  `), n;
12653
12677
  }
12654
- function bT(e, t) {
12678
+ function ST(e, t) {
12655
12679
  return " - use valueType '" + e.valueType + "' on instrument creation or use an instrument name other than '" + t.name + "'";
12656
12680
  }
12657
- function TT(e, t) {
12681
+ function wT(e, t) {
12658
12682
  return " - use unit '" + e.unit + "' on instrument creation or use an instrument name other than '" + t.name + "'";
12659
12683
  }
12660
- function ST(e, t) {
12684
+ function OT(e, t) {
12661
12685
  var n = {
12662
12686
  name: t.name,
12663
12687
  type: t.type,
@@ -12665,7 +12689,7 @@ function ST(e, t) {
12665
12689
  }, r = JSON.stringify(n);
12666
12690
  return " - create a new view with a name other than '" + e.name + "' and InstrumentSelector '" + r + "'";
12667
12691
  }
12668
- function wT(e, t) {
12692
+ function LT(e, t) {
12669
12693
  var n = {
12670
12694
  name: t.name,
12671
12695
  type: t.type,
@@ -12676,7 +12700,7 @@ function wT(e, t) {
12676
12700
  - OR - create a new view with the name ` + t.name + " and description '" + e.description + "' and InstrumentSelector " + r;
12677
12701
  }
12678
12702
  function ns(e, t) {
12679
- return e.valueType !== t.valueType ? bT(e, t) : e.unit !== t.unit ? TT(e, t) : e.type !== t.type ? ST(e, t) : e.description !== t.description ? wT(e, t) : "";
12703
+ return e.valueType !== t.valueType ? ST(e, t) : e.unit !== t.unit ? wT(e, t) : e.type !== t.type ? OT(e, t) : e.description !== t.description ? LT(e, t) : "";
12680
12704
  }
12681
12705
  var ri = function(e) {
12682
12706
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
@@ -12687,7 +12711,7 @@ var ri = function(e) {
12687
12711
  }
12688
12712
  };
12689
12713
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
12690
- }, OT = (
12714
+ }, AT = (
12691
12715
  /** @class */
12692
12716
  function() {
12693
12717
  function e() {
@@ -12754,7 +12778,7 @@ var ri = function(e) {
12754
12778
  try {
12755
12779
  for (var a = ri(n), u = a.next(); !u.done; u = a.next()) {
12756
12780
  var c = u.value, s = c.getInstrumentDescriptor();
12757
- Eb(s, t) ? (s.description !== t.description && (t.description.length > s.description.length && c.updateDescription(t.description), b.warn("A view or instrument with the name ", t.name, ` has already been registered, but has a different description and is incompatible with another registered view.
12781
+ Tb(s, t) ? (s.description !== t.description && (t.description.length > s.description.length && c.updateDescription(t.description), b.warn("A view or instrument with the name ", t.name, ` has already been registered, but has a different description and is incompatible with another registered view.
12758
12782
  `, `Details:
12759
12783
  `, es(s, t), `The longer description will be used.
12760
12784
  To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument with the name ", t.name, ` has already been registered and is incompatible with another registered view.
@@ -12774,7 +12798,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12774
12798
  return o;
12775
12799
  }, e;
12776
12800
  }()
12777
- ), AT = (
12801
+ ), RT = (
12778
12802
  /** @class */
12779
12803
  function() {
12780
12804
  function e(t) {
@@ -12786,7 +12810,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12786
12810
  });
12787
12811
  }, e;
12788
12812
  }()
12789
- ), LT = (
12813
+ ), CT = (
12790
12814
  /** @class */
12791
12815
  function() {
12792
12816
  function e(t, n) {
@@ -12797,10 +12821,10 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12797
12821
  b.warn("non-number value provided to metric " + this._instrumentName + ": " + t);
12798
12822
  return;
12799
12823
  }
12800
- this._valueType === Nt.INT && !Number.isInteger(t) && (b.warn("INT value type cannot accept a floating-point value for " + this._instrumentName + ", ignoring the fractional digits."), t = Math.trunc(t), !Number.isInteger(t)) || this._buffer.set(n, t);
12824
+ this._valueType === Pt.INT && !Number.isInteger(t) && (b.warn("INT value type cannot accept a floating-point value for " + this._instrumentName + ", ignoring the fractional digits."), t = Math.trunc(t), !Number.isInteger(t)) || this._buffer.set(n, t);
12801
12825
  }, e;
12802
12826
  }()
12803
- ), RT = (
12827
+ ), xT = (
12804
12828
  /** @class */
12805
12829
  function() {
12806
12830
  function e() {
@@ -12813,7 +12837,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12813
12837
  b.warn("non-number value provided to metric " + t._descriptor.name + ": " + n);
12814
12838
  return;
12815
12839
  }
12816
- t._descriptor.valueType === Nt.INT && !Number.isInteger(n) && (b.warn("INT value type cannot accept a floating-point value for " + t._descriptor.name + ", ignoring the fractional digits."), n = Math.trunc(n), !Number.isInteger(n)) || i.set(r, n);
12840
+ t._descriptor.valueType === Pt.INT && !Number.isInteger(n) && (b.warn("INT value type cannot accept a floating-point value for " + t._descriptor.name + ", ignoring the fractional digits."), n = Math.trunc(n), !Number.isInteger(n)) || i.set(r, n);
12817
12841
  }
12818
12842
  }, e;
12819
12843
  }()
@@ -12922,7 +12946,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12922
12946
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
12923
12947
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
12924
12948
  return e.concat(o || Array.prototype.slice.call(t));
12925
- }, CT = (
12949
+ }, PT = (
12926
12950
  /** @class */
12927
12951
  function() {
12928
12952
  function e() {
@@ -12951,9 +12975,9 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12951
12975
  return oi(this, function(u) {
12952
12976
  switch (u.label) {
12953
12977
  case 0:
12954
- return r = this._observeCallbacks(t, n), i = this._observeBatchCallbacks(t, n), [4, hb(is(is([], rs(r), !1), rs(i), !1))];
12978
+ return r = this._observeCallbacks(t, n), i = this._observeBatchCallbacks(t, n), [4, vb(is(is([], rs(r), !1), rs(i), !1))];
12955
12979
  case 1:
12956
- return o = u.sent(), a = o.filter(db).map(function(c) {
12980
+ return o = u.sent(), a = o.filter(yb).map(function(c) {
12957
12981
  return c.reason;
12958
12982
  }), [2, a];
12959
12983
  }
@@ -12968,7 +12992,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12968
12992
  return oi(this, function(s) {
12969
12993
  switch (s.label) {
12970
12994
  case 0:
12971
- return u = new LT(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = Qe(c, n)), [4, c];
12995
+ return u = new CT(a._descriptor.name, a._descriptor.valueType), c = Promise.resolve(o(u)), n != null && (c = Qe(c, n)), [4, c];
12972
12996
  case 1:
12973
12997
  return s.sent(), a._metricStorages.forEach(function(l) {
12974
12998
  l.record(u._buffer, t);
@@ -12989,7 +13013,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
12989
13013
  return oi(this, function(s) {
12990
13014
  switch (s.label) {
12991
13015
  case 0:
12992
- return u = new RT(), c = Promise.resolve(o(u)), n != null && (c = Qe(c, n)), [4, c];
13016
+ return u = new xT(), c = Promise.resolve(o(u)), n != null && (c = Qe(c, n)), [4, c];
12993
13017
  case 1:
12994
13018
  return s.sent(), a.forEach(function(l) {
12995
13019
  var p = u._buffer.get(l);
@@ -13010,11 +13034,11 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
13010
13034
  });
13011
13035
  }, e.prototype._findBatchCallback = function(t, n) {
13012
13036
  return this._batchCallbacks.findIndex(function(r) {
13013
- return r.callback === t && vb(r.instruments, n);
13037
+ return r.callback === t && gb(r.instruments, n);
13014
13038
  });
13015
13039
  }, e;
13016
13040
  }()
13017
- ), xT = /* @__PURE__ */ function() {
13041
+ ), NT = /* @__PURE__ */ function() {
13018
13042
  var e = function(t, n) {
13019
13043
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
13020
13044
  r.__proto__ = i;
@@ -13031,13 +13055,13 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
13031
13055
  }
13032
13056
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
13033
13057
  };
13034
- }(), NT = (
13058
+ }(), IT = (
13035
13059
  /** @class */
13036
13060
  function(e) {
13037
- xT(t, e);
13061
+ NT(t, e);
13038
13062
  function t(n, r, i, o, a) {
13039
13063
  var u = e.call(this, n) || this;
13040
- return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Nc(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new Pc(r, o), u;
13064
+ return u._attributesProcessor = i, u._aggregationCardinalityLimit = a, u._deltaMetricStorage = new Pc(r, u._aggregationCardinalityLimit), u._temporalMetricStorage = new Nc(r, o), u;
13041
13065
  }
13042
13066
  return t.prototype.record = function(n, r, i, o) {
13043
13067
  r = this._attributesProcessor.process(r, i), this._deltaMetricStorage.record(n, r, i, o);
@@ -13063,16 +13087,16 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
13063
13087
  }
13064
13088
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
13065
13089
  };
13066
- }(), Lo = (
13090
+ }(), Ao = (
13067
13091
  /** @class */
13068
13092
  function() {
13069
13093
  function e() {
13070
13094
  }
13071
13095
  return e.Noop = function() {
13072
- return IT;
13096
+ return MT;
13073
13097
  }, e;
13074
13098
  }()
13075
- ), PT = (
13099
+ ), kT = (
13076
13100
  /** @class */
13077
13101
  function(e) {
13078
13102
  Ic(t, e);
@@ -13082,7 +13106,7 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
13082
13106
  return t.prototype.process = function(n, r) {
13083
13107
  return n;
13084
13108
  }, t;
13085
- }(Lo)
13109
+ }(Ao)
13086
13110
  );
13087
13111
  (function(e) {
13088
13112
  Ic(t, e);
@@ -13098,8 +13122,8 @@ To resolve the conflict:`, ns(s, t))), o = c) : b.warn("A view or instrument wit
13098
13122
  return o[a] = n[a];
13099
13123
  }), o;
13100
13124
  }, t;
13101
- })(Lo);
13102
- var IT = new PT(), kT = function(e, t, n, r) {
13125
+ })(Ao);
13126
+ var MT = new kT(), DT = function(e, t, n, r) {
13103
13127
  function i(o) {
13104
13128
  return o instanceof n ? o : new n(function(a) {
13105
13129
  a(o);
@@ -13125,7 +13149,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13125
13149
  }
13126
13150
  s((r = r.apply(e, [])).next());
13127
13151
  });
13128
- }, MT = function(e, t) {
13152
+ }, UT = function(e, t) {
13129
13153
  var n = { label: 0, sent: function() {
13130
13154
  if (o[0] & 1) throw o[1];
13131
13155
  return o[1];
@@ -13184,7 +13208,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13184
13208
  if (s[0] & 5) throw s[1];
13185
13209
  return { value: s[0] ? s[1] : void 0, done: !0 };
13186
13210
  }
13187
- }, DT = function(e, t) {
13211
+ }, jT = function(e, t) {
13188
13212
  var n = typeof Symbol == "function" && e[Symbol.iterator];
13189
13213
  if (!n) return e;
13190
13214
  var r = n.call(e), i, o = [], a;
@@ -13200,29 +13224,29 @@ var IT = new PT(), kT = function(e, t, n, r) {
13200
13224
  }
13201
13225
  }
13202
13226
  return o;
13203
- }, UT = (
13227
+ }, BT = (
13204
13228
  /** @class */
13205
13229
  function() {
13206
13230
  function e(t, n) {
13207
- this._meterProviderSharedState = t, this._instrumentationScope = n, this.metricStorageRegistry = new OT(), this.observableRegistry = new CT(), this.meter = new hT(this);
13231
+ this._meterProviderSharedState = t, this._instrumentationScope = n, this.metricStorageRegistry = new AT(), this.observableRegistry = new PT(), this.meter = new vT(this);
13208
13232
  }
13209
13233
  return e.prototype.registerMetricStorage = function(t) {
13210
- var n = this._registerMetricStorage(t, NT);
13211
- return n.length === 1 ? n[0] : new AT(n);
13234
+ var n = this._registerMetricStorage(t, IT);
13235
+ return n.length === 1 ? n[0] : new RT(n);
13212
13236
  }, e.prototype.registerAsyncMetricStorage = function(t) {
13213
- var n = this._registerMetricStorage(t, ET);
13237
+ var n = this._registerMetricStorage(t, TT);
13214
13238
  return n;
13215
13239
  }, e.prototype.collect = function(t, n, r) {
13216
- return kT(this, void 0, void 0, function() {
13240
+ return DT(this, void 0, void 0, function() {
13217
13241
  var i, o, a;
13218
- return MT(this, function(u) {
13242
+ return UT(this, function(u) {
13219
13243
  switch (u.label) {
13220
13244
  case 0:
13221
13245
  return [4, this.observableRegistry.observe(n, r?.timeoutMillis)];
13222
13246
  case 1:
13223
13247
  return i = u.sent(), o = this.metricStorageRegistry.getStorages(t), o.length === 0 ? [2, null] : (a = o.map(function(c) {
13224
13248
  return c.collect(t, n);
13225
- }).filter(pb), a.length === 0 ? [2, { errors: i }] : [2, {
13249
+ }).filter(hb), a.length === 0 ? [2, { errors: i }] : [2, {
13226
13250
  scopeMetrics: {
13227
13251
  scope: this._instrumentationScope,
13228
13252
  metrics: a
@@ -13234,7 +13258,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13234
13258
  });
13235
13259
  }, e.prototype._registerMetricStorage = function(t, n) {
13236
13260
  var r = this, i = this._meterProviderSharedState.viewRegistry.findViews(t, this._instrumentationScope), o = i.map(function(c) {
13237
- var s = _b(c, t), l = r.metricStorageRegistry.findOrUpdateCompatibleStorage(s);
13261
+ var s = bb(c, t), l = r.metricStorageRegistry.findOrUpdateCompatibleStorage(s);
13238
13262
  if (l != null)
13239
13263
  return l;
13240
13264
  var p = c.aggregation.createAggregator(s), f = new n(s, p, c.attributesProcessor, r._meterProviderSharedState.metricCollectors, c.aggregationCardinalityLimit);
@@ -13242,10 +13266,10 @@ var IT = new PT(), kT = function(e, t, n, r) {
13242
13266
  });
13243
13267
  if (o.length === 0) {
13244
13268
  var a = this._meterProviderSharedState.selectAggregations(t.type), u = a.map(function(c) {
13245
- var s = DT(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, t);
13269
+ var s = jT(c, 2), l = s[0], p = s[1], f = r.metricStorageRegistry.findOrUpdateCompatibleCollectorStorage(l, t);
13246
13270
  if (f != null)
13247
13271
  return f;
13248
- var d = p.createAggregator(t), y = l.selectCardinalityLimit(t.type), g = new n(t, d, Lo.Noop(), [l], y);
13272
+ var d = p.createAggregator(t), y = l.selectCardinalityLimit(t.type), g = new n(t, d, Ao.Noop(), [l], y);
13249
13273
  return r.metricStorageRegistry.registerForCollector(l, g), g;
13250
13274
  });
13251
13275
  o = o.concat(u);
@@ -13253,7 +13277,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13253
13277
  return o;
13254
13278
  }, e;
13255
13279
  }()
13256
- ), jT = function(e) {
13280
+ ), $T = function(e) {
13257
13281
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
13258
13282
  if (n) return n.call(e);
13259
13283
  if (e && typeof e.length == "number") return {
@@ -13262,19 +13286,19 @@ var IT = new PT(), kT = function(e, t, n, r) {
13262
13286
  }
13263
13287
  };
13264
13288
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
13265
- }, BT = (
13289
+ }, FT = (
13266
13290
  /** @class */
13267
13291
  function() {
13268
13292
  function e(t) {
13269
- this.resource = t, this.viewRegistry = new oT(), this.metricCollectors = [], this.meterSharedStates = /* @__PURE__ */ new Map();
13293
+ this.resource = t, this.viewRegistry = new sT(), this.metricCollectors = [], this.meterSharedStates = /* @__PURE__ */ new Map();
13270
13294
  }
13271
13295
  return e.prototype.getMeterSharedState = function(t) {
13272
- var n = fb(t), r = this.meterSharedStates.get(n);
13273
- return r == null && (r = new UT(this, t), this.meterSharedStates.set(n, r)), r;
13296
+ var n = db(t), r = this.meterSharedStates.get(n);
13297
+ return r == null && (r = new BT(this, t), this.meterSharedStates.set(n, r)), r;
13274
13298
  }, e.prototype.selectAggregations = function(t) {
13275
13299
  var n, r, i = [];
13276
13300
  try {
13277
- for (var o = jT(this.metricCollectors), a = o.next(); !a.done; a = o.next()) {
13301
+ for (var o = $T(this.metricCollectors), a = o.next(); !a.done; a = o.next()) {
13278
13302
  var u = a.value;
13279
13303
  i.push([u, u.selectAggregation(t)]);
13280
13304
  }
@@ -13375,7 +13399,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13375
13399
  if (s[0] & 5) throw s[1];
13376
13400
  return { value: s[0] ? s[1] : void 0, done: !0 };
13377
13401
  }
13378
- }, $T = function(e, t) {
13402
+ }, VT = function(e, t) {
13379
13403
  var n = typeof Symbol == "function" && e[Symbol.iterator];
13380
13404
  if (!n) return e;
13381
13405
  var r = n.call(e), i, o = [], a;
@@ -13391,11 +13415,11 @@ var IT = new PT(), kT = function(e, t, n, r) {
13391
13415
  }
13392
13416
  }
13393
13417
  return o;
13394
- }, FT = function(e, t, n) {
13418
+ }, GT = function(e, t, n) {
13395
13419
  if (arguments.length === 2) for (var r = 0, i = t.length, o; r < i; r++)
13396
13420
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
13397
13421
  return e.concat(o || Array.prototype.slice.call(t));
13398
- }, VT = (
13422
+ }, HT = (
13399
13423
  /** @class */
13400
13424
  function() {
13401
13425
  function e(t, n) {
@@ -13415,7 +13439,7 @@ var IT = new PT(), kT = function(e, t, n, r) {
13415
13439
  case 0:
13416
13440
  return [4, c.collect(this, n, t)];
13417
13441
  case 1:
13418
- return s = l.sent(), s?.scopeMetrics != null && r.push(s.scopeMetrics), s?.errors != null && i.push.apply(i, FT([], $T(s.errors), !1)), [
13442
+ return s = l.sent(), s?.scopeMetrics != null && r.push(s.scopeMetrics), s?.errors != null && i.push.apply(i, GT([], VT(s.errors), !1)), [
13419
13443
  2
13420
13444
  /*return*/
13421
13445
  ];
@@ -13566,16 +13590,16 @@ var IT = new PT(), kT = function(e, t, n, r) {
13566
13590
  };
13567
13591
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
13568
13592
  };
13569
- function GT(e, t) {
13593
+ function qT(e, t) {
13570
13594
  var n = t ?? Wi.empty();
13571
13595
  return e ? Wi.default().merge(n) : n;
13572
13596
  }
13573
- var HT = (
13597
+ var zT = (
13574
13598
  /** @class */
13575
13599
  function() {
13576
13600
  function e(t) {
13577
13601
  var n, r, i, o, a;
13578
- if (this._shutdown = !1, this._sharedState = new BT(GT((a = t?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, t?.resource)), t?.views != null && t.views.length > 0)
13602
+ if (this._shutdown = !1, this._sharedState = new FT(qT((a = t?.mergeResourceWithDefaults) !== null && a !== void 0 ? a : !0, t?.resource)), t?.views != null && t.views.length > 0)
13579
13603
  try {
13580
13604
  for (var u = ss(t.views), c = u.next(); !c.done; c = u.next()) {
13581
13605
  var s = c.value;
@@ -13613,7 +13637,7 @@ var HT = (
13613
13637
  schemaUrl: r.schemaUrl
13614
13638
  }).meter;
13615
13639
  }, e.prototype.addMetricReader = function(t) {
13616
- var n = new VT(this._sharedState, t);
13640
+ var n = new HT(this._sharedState, t);
13617
13641
  t.setMetricProducer(n), this._sharedState.metricCollectors.push(n);
13618
13642
  }, e.prototype.shutdown = function(t) {
13619
13643
  return os(this, void 0, void 0, function() {
@@ -13656,31 +13680,31 @@ var HT = (
13656
13680
  }, e;
13657
13681
  }()
13658
13682
  );
13659
- function qT(e, t) {
13683
+ function XT(e, t) {
13660
13684
  var n = dc(t);
13661
13685
  return {
13662
13686
  resource: vc(e.resource),
13663
13687
  schemaUrl: void 0,
13664
- scopeMetrics: zT(e.scopeMetrics, n)
13688
+ scopeMetrics: KT(e.scopeMetrics, n)
13665
13689
  };
13666
13690
  }
13667
- function zT(e, t) {
13691
+ function KT(e, t) {
13668
13692
  return Array.from(e.map(function(n) {
13669
13693
  return {
13670
13694
  scope: yc(n.scope),
13671
13695
  metrics: n.metrics.map(function(r) {
13672
- return XT(r, t);
13696
+ return WT(r, t);
13673
13697
  }),
13674
13698
  schemaUrl: n.scope.schemaUrl
13675
13699
  };
13676
13700
  }));
13677
13701
  }
13678
- function XT(e, t) {
13702
+ function WT(e, t) {
13679
13703
  var n = {
13680
13704
  name: e.descriptor.name,
13681
13705
  description: e.descriptor.description,
13682
13706
  unit: e.descriptor.unit
13683
- }, r = JT(e.aggregationTemporality);
13707
+ }, r = ZT(e.aggregationTemporality);
13684
13708
  switch (e.dataPointType) {
13685
13709
  case ht.SUM:
13686
13710
  n.sum = {
@@ -13697,29 +13721,29 @@ function XT(e, t) {
13697
13721
  case ht.HISTOGRAM:
13698
13722
  n.histogram = {
13699
13723
  aggregationTemporality: r,
13700
- dataPoints: WT(e, t)
13724
+ dataPoints: JT(e, t)
13701
13725
  };
13702
13726
  break;
13703
13727
  case ht.EXPONENTIAL_HISTOGRAM:
13704
13728
  n.exponentialHistogram = {
13705
13729
  aggregationTemporality: r,
13706
- dataPoints: YT(e, t)
13730
+ dataPoints: QT(e, t)
13707
13731
  };
13708
13732
  break;
13709
13733
  }
13710
13734
  return n;
13711
13735
  }
13712
- function KT(e, t, n) {
13736
+ function YT(e, t, n) {
13713
13737
  var r = {
13714
13738
  attributes: Jt(e.attributes),
13715
13739
  startTimeUnixNano: n.encodeHrTime(e.startTime),
13716
13740
  timeUnixNano: n.encodeHrTime(e.endTime)
13717
13741
  };
13718
13742
  switch (t) {
13719
- case Nt.INT:
13743
+ case Pt.INT:
13720
13744
  r.asInt = e.value;
13721
13745
  break;
13722
- case Nt.DOUBLE:
13746
+ case Pt.DOUBLE:
13723
13747
  r.asDouble = e.value;
13724
13748
  break;
13725
13749
  }
@@ -13727,10 +13751,10 @@ function KT(e, t, n) {
13727
13751
  }
13728
13752
  function us(e, t) {
13729
13753
  return e.dataPoints.map(function(n) {
13730
- return KT(n, e.descriptor.valueType, t);
13754
+ return YT(n, e.descriptor.valueType, t);
13731
13755
  });
13732
13756
  }
13733
- function WT(e, t) {
13757
+ function JT(e, t) {
13734
13758
  return e.dataPoints.map(function(n) {
13735
13759
  var r = n.value;
13736
13760
  return {
@@ -13746,7 +13770,7 @@ function WT(e, t) {
13746
13770
  };
13747
13771
  });
13748
13772
  }
13749
- function YT(e, t) {
13773
+ function QT(e, t) {
13750
13774
  return e.dataPoints.map(function(n) {
13751
13775
  var r = n.value;
13752
13776
  return {
@@ -13770,7 +13794,7 @@ function YT(e, t) {
13770
13794
  };
13771
13795
  });
13772
13796
  }
13773
- function JT(e) {
13797
+ function ZT(e) {
13774
13798
  switch (e) {
13775
13799
  case ct.DELTA:
13776
13800
  return 1;
@@ -13778,14 +13802,14 @@ function JT(e) {
13778
13802
  return 2;
13779
13803
  }
13780
13804
  }
13781
- function QT(e, t) {
13805
+ function t0(e, t) {
13782
13806
  return {
13783
13807
  resourceMetrics: e.map(function(n) {
13784
- return qT(n, t);
13808
+ return XT(n, t);
13785
13809
  })
13786
13810
  };
13787
13811
  }
13788
- var ZT = function(e) {
13812
+ var e0 = function(e) {
13789
13813
  var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
13790
13814
  if (n) return n.call(e);
13791
13815
  if (e && typeof e.length == "number") return {
@@ -13794,7 +13818,7 @@ var ZT = function(e) {
13794
13818
  }
13795
13819
  };
13796
13820
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
13797
- }, t0 = function(e, t) {
13821
+ }, n0 = function(e, t) {
13798
13822
  var n = typeof Symbol == "function" && e[Symbol.iterator];
13799
13823
  if (!n) return e;
13800
13824
  var r = n.call(e), i, o = [], a;
@@ -13811,7 +13835,7 @@ var ZT = function(e) {
13811
13835
  }
13812
13836
  return o;
13813
13837
  };
13814
- function e0(e, t) {
13838
+ function r0(e, t) {
13815
13839
  var n, r = e.spanContext(), i = e.status;
13816
13840
  return {
13817
13841
  traceId: t.encodeSpanContext(r.traceId),
@@ -13826,7 +13850,7 @@ function e0(e, t) {
13826
13850
  attributes: Jt(e.attributes),
13827
13851
  droppedAttributesCount: e.droppedAttributesCount,
13828
13852
  events: e.events.map(function(o) {
13829
- return r0(o, t);
13853
+ return o0(o, t);
13830
13854
  }),
13831
13855
  droppedEventsCount: e.droppedEventsCount,
13832
13856
  status: {
@@ -13835,12 +13859,12 @@ function e0(e, t) {
13835
13859
  message: i.message
13836
13860
  },
13837
13861
  links: e.links.map(function(o) {
13838
- return n0(o, t);
13862
+ return i0(o, t);
13839
13863
  }),
13840
13864
  droppedLinksCount: e.droppedLinksCount
13841
13865
  };
13842
13866
  }
13843
- function n0(e, t) {
13867
+ function i0(e, t) {
13844
13868
  var n;
13845
13869
  return {
13846
13870
  attributes: e.attributes ? Jt(e.attributes) : [],
@@ -13850,7 +13874,7 @@ function n0(e, t) {
13850
13874
  droppedAttributesCount: e.droppedAttributesCount || 0
13851
13875
  };
13852
13876
  }
13853
- function r0(e, t) {
13877
+ function o0(e, t) {
13854
13878
  return {
13855
13879
  attributes: e.attributes ? Jt(e.attributes) : [],
13856
13880
  name: e.name,
@@ -13858,16 +13882,16 @@ function r0(e, t) {
13858
13882
  droppedAttributesCount: e.droppedAttributesCount || 0
13859
13883
  };
13860
13884
  }
13861
- function i0(e, t) {
13885
+ function a0(e, t) {
13862
13886
  var n = dc(t);
13863
13887
  return {
13864
- resourceSpans: a0(e, n)
13888
+ resourceSpans: u0(e, n)
13865
13889
  };
13866
13890
  }
13867
- function o0(e) {
13891
+ function s0(e) {
13868
13892
  var t, n, r = /* @__PURE__ */ new Map();
13869
13893
  try {
13870
- for (var i = ZT(e), o = i.next(); !o.done; o = i.next()) {
13894
+ for (var i = e0(e), o = i.next(); !o.done; o = i.next()) {
13871
13895
  var a = o.value, u = r.get(a.resource);
13872
13896
  u || (u = /* @__PURE__ */ new Map(), r.set(a.resource, u));
13873
13897
  var c = a.instrumentationLibrary.name + "@" + (a.instrumentationLibrary.version || "") + ":" + (a.instrumentationLibrary.schemaUrl || ""), s = u.get(c);
@@ -13884,13 +13908,13 @@ function o0(e) {
13884
13908
  }
13885
13909
  return r;
13886
13910
  }
13887
- function a0(e, t) {
13888
- for (var n = o0(e), r = [], i = n.entries(), o = i.next(); !o.done; ) {
13889
- for (var a = t0(o.value, 2), u = a[0], c = a[1], s = [], l = c.values(), p = l.next(); !p.done; ) {
13911
+ function u0(e, t) {
13912
+ for (var n = s0(e), r = [], i = n.entries(), o = i.next(); !o.done; ) {
13913
+ for (var a = n0(o.value, 2), u = a[0], c = a[1], s = [], l = c.values(), p = l.next(); !p.done; ) {
13890
13914
  var f = p.value;
13891
13915
  if (f.length > 0) {
13892
13916
  var d = f.map(function(g) {
13893
- return e0(g, t);
13917
+ return r0(g, t);
13894
13918
  });
13895
13919
  s.push({
13896
13920
  scope: yc(f[0].instrumentationLibrary),
@@ -13911,7 +13935,7 @@ function a0(e, t) {
13911
13935
  }
13912
13936
  var kc = {
13913
13937
  serializeRequest: function(e) {
13914
- var t = QT([e], {
13938
+ var t = t0([e], {
13915
13939
  useLongBits: !1
13916
13940
  }), n = new TextEncoder();
13917
13941
  return n.encode(JSON.stringify(t));
@@ -13922,7 +13946,7 @@ var kc = {
13922
13946
  }
13923
13947
  }, Mc = {
13924
13948
  serializeRequest: function(e) {
13925
- var t = i0(e, {
13949
+ var t = a0(e, {
13926
13950
  useHex: !0,
13927
13951
  useLongBits: !1
13928
13952
  }), n = new TextEncoder();
@@ -13932,7 +13956,7 @@ var kc = {
13932
13956
  var t = new TextDecoder();
13933
13957
  return JSON.parse(t.decode(e));
13934
13958
  }
13935
- }, s0 = function(e, t, n, r) {
13959
+ }, c0 = function(e, t, n, r) {
13936
13960
  function i(o) {
13937
13961
  return o instanceof n ? o : new n(function(a) {
13938
13962
  a(o);
@@ -13958,7 +13982,7 @@ var kc = {
13958
13982
  }
13959
13983
  s((r = r.apply(e, [])).next());
13960
13984
  });
13961
- }, u0 = function(e, t) {
13985
+ }, l0 = function(e, t) {
13962
13986
  var n = { label: 0, sent: function() {
13963
13987
  if (o[0] & 1) throw o[1];
13964
13988
  return o[1];
@@ -14017,11 +14041,11 @@ var kc = {
14017
14041
  if (s[0] & 5) throw s[1];
14018
14042
  return { value: s[0] ? s[1] : void 0, done: !0 };
14019
14043
  }
14020
- }, c0 = 5, l0 = 1e3, p0 = 5e3, f0 = 1.5, cs = 0.2;
14021
- function h0() {
14044
+ }, p0 = 5, f0 = 1e3, h0 = 5e3, d0 = 1.5, cs = 0.2;
14045
+ function v0() {
14022
14046
  return Math.random() * (2 * cs) - cs;
14023
14047
  }
14024
- var d0 = (
14048
+ var y0 = (
14025
14049
  /** @class */
14026
14050
  function() {
14027
14051
  function e(t) {
@@ -14036,16 +14060,16 @@ var d0 = (
14036
14060
  });
14037
14061
  }, e.prototype.send = function(t, n) {
14038
14062
  var r;
14039
- return s0(this, void 0, void 0, function() {
14063
+ return c0(this, void 0, void 0, function() {
14040
14064
  var i, o, a, u, c, s, l;
14041
- return u0(this, function(p) {
14065
+ return l0(this, function(p) {
14042
14066
  switch (p.label) {
14043
14067
  case 0:
14044
14068
  return i = Date.now() + n, [4, this._transport.send(t, n)];
14045
14069
  case 1:
14046
- o = p.sent(), a = c0, u = l0, p.label = 2;
14070
+ o = p.sent(), a = p0, u = f0, p.label = 2;
14047
14071
  case 2:
14048
- return o.status === "retryable" && a > 0 ? (a--, c = Math.max(Math.min(u, p0) + h0(), 0), u = u * f0, s = (r = o.retryInMillis) !== null && r !== void 0 ? r : c, l = i - Date.now(), s > l ? [2, o] : [4, this.retry(t, l, s)]) : [3, 4];
14072
+ return o.status === "retryable" && a > 0 ? (a--, c = Math.max(Math.min(u, h0) + v0(), 0), u = u * d0, s = (r = o.retryInMillis) !== null && r !== void 0 ? r : c, l = i - Date.now(), s > l ? [2, o] : [4, this.retry(t, l, s)]) : [3, 4];
14049
14073
  case 3:
14050
14074
  return o = p.sent(), [3, 2];
14051
14075
  case 4:
@@ -14059,13 +14083,13 @@ var d0 = (
14059
14083
  }()
14060
14084
  );
14061
14085
  function Dc(e) {
14062
- return new d0(e.transport);
14086
+ return new y0(e.transport);
14063
14087
  }
14064
- function v0(e) {
14088
+ function g0(e) {
14065
14089
  var t = [429, 502, 503, 504];
14066
14090
  return t.includes(e);
14067
14091
  }
14068
- function y0(e) {
14092
+ function m0(e) {
14069
14093
  if (e != null) {
14070
14094
  var t = Number.parseInt(e, 10);
14071
14095
  if (Number.isInteger(t))
@@ -14074,7 +14098,7 @@ function y0(e) {
14074
14098
  return n >= 0 ? n : 0;
14075
14099
  }
14076
14100
  }
14077
- var g0 = function(e, t) {
14101
+ var _0 = function(e, t) {
14078
14102
  var n = typeof Symbol == "function" && e[Symbol.iterator];
14079
14103
  if (!n) return e;
14080
14104
  var r = n.call(e), i, o = [], a;
@@ -14090,7 +14114,7 @@ var g0 = function(e, t) {
14090
14114
  }
14091
14115
  }
14092
14116
  return o;
14093
- }, m0 = (
14117
+ }, E0 = (
14094
14118
  /** @class */
14095
14119
  function() {
14096
14120
  function e(t) {
@@ -14103,7 +14127,7 @@ var g0 = function(e, t) {
14103
14127
  o.timeout = n, o.open("POST", r._parameters.url);
14104
14128
  var a = r._parameters.headers();
14105
14129
  Object.entries(a).forEach(function(u) {
14106
- var c = g0(u, 2), s = c[0], l = c[1];
14130
+ var c = _0(u, 2), s = c[0], l = c[1];
14107
14131
  o.setRequestHeader(s, l);
14108
14132
  }), o.ontimeout = function(u) {
14109
14133
  i({
@@ -14113,9 +14137,9 @@ var g0 = function(e, t) {
14113
14137
  }, o.onreadystatechange = function() {
14114
14138
  o.status >= 200 && o.status <= 299 ? (b.debug("XHR success"), i({
14115
14139
  status: "success"
14116
- })) : o.status && v0(o.status) ? i({
14140
+ })) : o.status && g0(o.status) ? i({
14117
14141
  status: "retryable",
14118
- retryInMillis: y0(o.getResponseHeader("Retry-After"))
14142
+ retryInMillis: m0(o.getResponseHeader("Retry-After"))
14119
14143
  }) : o.status !== 0 && i({
14120
14144
  status: "failure",
14121
14145
  error: new Error("XHR request failed with non-retryable status")
@@ -14136,10 +14160,10 @@ var g0 = function(e, t) {
14136
14160
  }, e;
14137
14161
  }()
14138
14162
  );
14139
- function _0(e) {
14140
- return new m0(e);
14163
+ function b0(e) {
14164
+ return new E0(e);
14141
14165
  }
14142
- var E0 = (
14166
+ var T0 = (
14143
14167
  /** @class */
14144
14168
  function() {
14145
14169
  function e(t) {
@@ -14159,23 +14183,23 @@ var E0 = (
14159
14183
  }, e;
14160
14184
  }()
14161
14185
  );
14162
- function b0(e) {
14163
- return new E0(e);
14186
+ function S0(e) {
14187
+ return new T0(e);
14164
14188
  }
14165
- function T0(e, t) {
14189
+ function w0(e, t) {
14166
14190
  return lc(e, t, Dc({
14167
- transport: _0(e)
14191
+ transport: b0(e)
14168
14192
  }));
14169
14193
  }
14170
- function S0(e, t) {
14194
+ function O0(e, t) {
14171
14195
  return lc(e, t, Dc({
14172
- transport: b0({
14196
+ transport: S0({
14173
14197
  url: e.url,
14174
14198
  blobType: e.headers()["Content-Type"]
14175
14199
  })
14176
14200
  }));
14177
14201
  }
14178
- var w0 = function(e, t) {
14202
+ var L0 = function(e, t) {
14179
14203
  var n = typeof Symbol == "function" && e[Symbol.iterator];
14180
14204
  if (!n) return e;
14181
14205
  var r = n.call(e), i, o = [], a;
@@ -14192,11 +14216,11 @@ var w0 = function(e, t) {
14192
14216
  }
14193
14217
  return o;
14194
14218
  };
14195
- function O0(e) {
14219
+ function A0(e) {
14196
14220
  return function() {
14197
14221
  var t, n = {};
14198
14222
  return Object.entries((t = e?.()) !== null && t !== void 0 ? t : {}).forEach(function(r) {
14199
- var i = w0(r, 2), o = i[0], a = i[1];
14223
+ var i = L0(r, 2), o = i[0], a = i[1];
14200
14224
  typeof a < "u" ? n[o] = String(a) : b.warn('Header "' + o + '" has invalid value (' + a + ") and will be ignored");
14201
14225
  }), n;
14202
14226
  };
@@ -14210,13 +14234,13 @@ var Wt = function() {
14210
14234
  return e;
14211
14235
  }, Wt.apply(this, arguments);
14212
14236
  };
14213
- function A0(e, t, n) {
14237
+ function R0(e, t, n) {
14214
14238
  var r = Wt({}, n()), i = {};
14215
14239
  return function() {
14216
14240
  return t != null && Object.assign(i, t()), e != null && Object.assign(i, e()), Object.assign(i, r);
14217
14241
  };
14218
14242
  }
14219
- function L0(e) {
14243
+ function C0(e) {
14220
14244
  if (e != null)
14221
14245
  try {
14222
14246
  return new URL(e), e;
@@ -14224,33 +14248,33 @@ function L0(e) {
14224
14248
  throw new Error("Configuration: Could not parse user-provided export URL: '" + e + "'");
14225
14249
  }
14226
14250
  }
14227
- function R0(e, t, n) {
14251
+ function x0(e, t, n) {
14228
14252
  var r, i, o, a;
14229
- return Wt(Wt({}, HE(e, t, n)), { headers: A0(O0(e.headers), t.headers, n.headers), url: (i = (r = L0(e.url)) !== null && r !== void 0 ? r : t.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = e.agentOptions) !== null && o !== void 0 ? o : t.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
14253
+ return Wt(Wt({}, zE(e, t, n)), { headers: R0(A0(e.headers), t.headers, n.headers), url: (i = (r = C0(e.url)) !== null && r !== void 0 ? r : t.url) !== null && i !== void 0 ? i : n.url, agentOptions: (a = (o = e.agentOptions) !== null && o !== void 0 ? o : t.agentOptions) !== null && a !== void 0 ? a : n.agentOptions });
14230
14254
  }
14231
- function C0(e, t) {
14232
- return Wt(Wt({}, qE()), { headers: function() {
14255
+ function P0(e, t) {
14256
+ return Wt(Wt({}, XE()), { headers: function() {
14233
14257
  return e;
14234
14258
  }, url: "http://localhost:4318/" + t, agentOptions: { keepAlive: !0 } });
14235
14259
  }
14236
- function x0(e, t, n) {
14237
- return R0(
14260
+ function N0(e, t, n) {
14261
+ return x0(
14238
14262
  {
14239
14263
  url: e.url,
14240
14264
  timeoutMillis: e.timeoutMillis,
14241
- headers: GE(e.headers),
14265
+ headers: qE(e.headers),
14242
14266
  concurrencyLimit: e.concurrencyLimit
14243
14267
  },
14244
14268
  {},
14245
14269
  // no fallback for browser case
14246
- C0(n, t)
14270
+ P0(n, t)
14247
14271
  );
14248
14272
  }
14249
14273
  function Uc(e, t, n, r) {
14250
- var i = !!e.headers || typeof navigator.sendBeacon != "function", o = x0(e, n, r);
14251
- return i ? T0(o, t) : S0(o, t);
14274
+ var i = !!e.headers || typeof navigator.sendBeacon != "function", o = N0(e, n, r);
14275
+ return i ? w0(o, t) : O0(o, t);
14252
14276
  }
14253
- var N0 = /* @__PURE__ */ function() {
14277
+ var I0 = /* @__PURE__ */ function() {
14254
14278
  var e = function(t, n) {
14255
14279
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
14256
14280
  r.__proto__ = i;
@@ -14267,10 +14291,10 @@ var N0 = /* @__PURE__ */ function() {
14267
14291
  }
14268
14292
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
14269
14293
  };
14270
- }(), P0 = (
14294
+ }(), k0 = (
14271
14295
  /** @class */
14272
14296
  function(e) {
14273
- N0(t, e);
14297
+ I0(t, e);
14274
14298
  function t(n) {
14275
14299
  return n === void 0 && (n = {}), e.call(this, Uc(n, Mc, "v1/traces", { "Content-Type": "application/json" })) || this;
14276
14300
  }
@@ -14280,7 +14304,7 @@ var N0 = /* @__PURE__ */ function() {
14280
14304
  (function(e) {
14281
14305
  e[e.DELTA = 0] = "DELTA", e[e.CUMULATIVE = 1] = "CUMULATIVE", e[e.LOWMEMORY = 2] = "LOWMEMORY";
14282
14306
  })(Jn || (Jn = {}));
14283
- var I0 = /* @__PURE__ */ function() {
14307
+ var M0 = /* @__PURE__ */ function() {
14284
14308
  var e = function(t, n) {
14285
14309
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
14286
14310
  r.__proto__ = i;
@@ -14301,48 +14325,48 @@ var I0 = /* @__PURE__ */ function() {
14301
14325
  return ct.CUMULATIVE;
14302
14326
  }, jc = function(e) {
14303
14327
  switch (e) {
14304
- case L.COUNTER:
14305
- case L.OBSERVABLE_COUNTER:
14306
- case L.GAUGE:
14307
- case L.HISTOGRAM:
14308
- case L.OBSERVABLE_GAUGE:
14328
+ case A.COUNTER:
14329
+ case A.OBSERVABLE_COUNTER:
14330
+ case A.GAUGE:
14331
+ case A.HISTOGRAM:
14332
+ case A.OBSERVABLE_GAUGE:
14309
14333
  return ct.DELTA;
14310
- case L.UP_DOWN_COUNTER:
14311
- case L.OBSERVABLE_UP_DOWN_COUNTER:
14334
+ case A.UP_DOWN_COUNTER:
14335
+ case A.OBSERVABLE_UP_DOWN_COUNTER:
14312
14336
  return ct.CUMULATIVE;
14313
14337
  }
14314
14338
  }, Bc = function(e) {
14315
14339
  switch (e) {
14316
- case L.COUNTER:
14317
- case L.HISTOGRAM:
14340
+ case A.COUNTER:
14341
+ case A.HISTOGRAM:
14318
14342
  return ct.DELTA;
14319
- case L.GAUGE:
14320
- case L.UP_DOWN_COUNTER:
14321
- case L.OBSERVABLE_UP_DOWN_COUNTER:
14322
- case L.OBSERVABLE_COUNTER:
14323
- case L.OBSERVABLE_GAUGE:
14343
+ case A.GAUGE:
14344
+ case A.UP_DOWN_COUNTER:
14345
+ case A.OBSERVABLE_UP_DOWN_COUNTER:
14346
+ case A.OBSERVABLE_COUNTER:
14347
+ case A.OBSERVABLE_GAUGE:
14324
14348
  return ct.CUMULATIVE;
14325
14349
  }
14326
14350
  };
14327
- function k0() {
14351
+ function D0() {
14328
14352
  var e = Fd(), t = e.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE.trim().toLowerCase();
14329
14353
  return t === "cumulative" ? to : t === "delta" ? jc : t === "lowmemory" ? Bc : (b.warn("OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE is set to '" + e.OTEL_EXPORTER_OTLP_METRICS_TEMPORALITY_PREFERENCE + "', but only 'cumulative' and 'delta' are allowed. Using default ('cumulative') instead."), to);
14330
14354
  }
14331
- function M0(e) {
14332
- return e != null ? e === Jn.DELTA ? jc : e === Jn.LOWMEMORY ? Bc : to : k0();
14355
+ function U0(e) {
14356
+ return e != null ? e === Jn.DELTA ? jc : e === Jn.LOWMEMORY ? Bc : to : D0();
14333
14357
  }
14334
- function D0(e) {
14358
+ function j0(e) {
14335
14359
  return e != null && e.aggregationPreference ? e.aggregationPreference : function(t) {
14336
14360
  return bt.Default();
14337
14361
  };
14338
14362
  }
14339
- var U0 = (
14363
+ var B0 = (
14340
14364
  /** @class */
14341
14365
  function(e) {
14342
- I0(t, e);
14366
+ M0(t, e);
14343
14367
  function t(n, r) {
14344
14368
  var i = e.call(this, n) || this;
14345
- return i._aggregationSelector = D0(r), i._aggregationTemporalitySelector = M0(r?.temporalityPreference), i;
14369
+ return i._aggregationSelector = j0(r), i._aggregationTemporalitySelector = U0(r?.temporalityPreference), i;
14346
14370
  }
14347
14371
  return t.prototype.selectAggregation = function(n) {
14348
14372
  return this._aggregationSelector(n);
@@ -14350,7 +14374,7 @@ var U0 = (
14350
14374
  return this._aggregationTemporalitySelector(n);
14351
14375
  }, t;
14352
14376
  }(cc)
14353
- ), j0 = /* @__PURE__ */ function() {
14377
+ ), $0 = /* @__PURE__ */ function() {
14354
14378
  var e = function(t, n) {
14355
14379
  return e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
14356
14380
  r.__proto__ = i;
@@ -14367,17 +14391,17 @@ var U0 = (
14367
14391
  }
14368
14392
  t.prototype = n === null ? Object.create(n) : (r.prototype = n.prototype, new r());
14369
14393
  };
14370
- }(), B0 = (
14394
+ }(), F0 = (
14371
14395
  /** @class */
14372
14396
  function(e) {
14373
- j0(t, e);
14397
+ $0(t, e);
14374
14398
  function t(n) {
14375
14399
  return e.call(this, Uc(n ?? {}, kc, "v1/metrics", { "Content-Type": "application/json" }), n) || this;
14376
14400
  }
14377
14401
  return t;
14378
- }(U0)
14402
+ }(B0)
14379
14403
  );
14380
- function $0(e, t) {
14404
+ function V0(e, t) {
14381
14405
  const n = e.spanContext();
14382
14406
  return {
14383
14407
  name: e.name,
@@ -14399,7 +14423,7 @@ function $0(e, t) {
14399
14423
  droppedLinksCount: e.droppedLinksCount
14400
14424
  };
14401
14425
  }
14402
- function F0(e, t) {
14426
+ function G0(e, t) {
14403
14427
  if (!t.isSamplingEnabled())
14404
14428
  return e;
14405
14429
  const n = [], r = {}, i = {};
@@ -14408,7 +14432,7 @@ function F0(e, t) {
14408
14432
  o.spanContext().spanId
14409
14433
  ));
14410
14434
  const a = t.shouldSample(o);
14411
- a.sample ? a.attributes ? r[o.spanContext().spanId] = $0(
14435
+ a.sample ? a.attributes ? r[o.spanContext().spanId] = V0(
14412
14436
  o,
14413
14437
  a.attributes
14414
14438
  ) : r[o.spanContext().spanId] = o : n.push(o.spanContext().spanId);
@@ -14421,7 +14445,7 @@ function F0(e, t) {
14421
14445
  }
14422
14446
  return Object.values(r);
14423
14447
  }
14424
- const V0 = (e, t, n) => {
14448
+ const H0 = (e, t, n) => {
14425
14449
  if (typeof navigator > "u" || !navigator.sendBeacon)
14426
14450
  return !1;
14427
14451
  try {
@@ -14432,7 +14456,7 @@ const V0 = (e, t, n) => {
14432
14456
  }
14433
14457
  }, $c = (e, t, n, r) => {
14434
14458
  const i = (o) => {
14435
- if (V0(e, t, n))
14459
+ if (H0(e, t, n))
14436
14460
  return r({ code: $.SUCCESS });
14437
14461
  r({ code: $.FAILED, error: o });
14438
14462
  };
@@ -14465,7 +14489,7 @@ const V0 = (e, t, n) => {
14465
14489
  i(o);
14466
14490
  }
14467
14491
  };
14468
- class G0 extends P0 {
14492
+ class q0 extends k0 {
14469
14493
  constructor(t, n) {
14470
14494
  var r;
14471
14495
  super(J(R({}, t), {
@@ -14477,7 +14501,7 @@ class G0 extends P0 {
14477
14501
  this.unloading = t;
14478
14502
  }
14479
14503
  export(t, n) {
14480
- const r = F0(t, this.sampler);
14504
+ const r = G0(t, this.sampler);
14481
14505
  if (r.length === 0)
14482
14506
  return;
14483
14507
  if (this.unloading) {
@@ -14520,7 +14544,7 @@ class G0 extends P0 {
14520
14544
  super.export(r, o);
14521
14545
  }
14522
14546
  }
14523
- class H0 extends B0 {
14547
+ class z0 extends F0 {
14524
14548
  constructor(t) {
14525
14549
  var n;
14526
14550
  super(J(R({}, t), {
@@ -14579,8 +14603,8 @@ class H0 extends B0 {
14579
14603
  super.export(t, i);
14580
14604
  }
14581
14605
  }
14582
- const q0 = "OT_ZONE_CONTEXT", z0 = "Navigation:";
14583
- function X0() {
14606
+ const X0 = "OT_ZONE_CONTEXT", K0 = "Navigation:";
14607
+ function W0() {
14584
14608
  return !1;
14585
14609
  }
14586
14610
  const eo = class Ut extends xu {
@@ -14590,7 +14614,7 @@ const eo = class Ut extends xu {
14590
14614
  Ut.moduleName,
14591
14615
  Ut.version,
14592
14616
  t
14593
- ), C(this, "_spansData", /* @__PURE__ */ new WeakMap()), C(this, "_zonePatched"), C(this, "_wrappedListeners", /* @__PURE__ */ new WeakMap()), C(this, "_eventsSpanMap", /* @__PURE__ */ new WeakMap()), C(this, "_eventNames"), C(this, "_shouldPreventSpanCreation"), C(this, "_getLDContextKeyAttributes"), this._getLDContextKeyAttributes = t.getLDContextKeyAttributes, this._eventNames = new Set((n = t?.eventNames) != null ? n : []), ((r = t.productAnalyticsEvents) == null ? void 0 : r.clicks) !== !1 && this._eventNames.add("click"), this._shouldPreventSpanCreation = typeof t?.shouldPreventSpanCreation == "function" ? t.shouldPreventSpanCreation : X0;
14617
+ ), C(this, "_spansData", /* @__PURE__ */ new WeakMap()), C(this, "_zonePatched"), C(this, "_wrappedListeners", /* @__PURE__ */ new WeakMap()), C(this, "_eventsSpanMap", /* @__PURE__ */ new WeakMap()), C(this, "_eventNames"), C(this, "_shouldPreventSpanCreation"), C(this, "_getLDContextKeyAttributes"), this._getLDContextKeyAttributes = t.getLDContextKeyAttributes, this._eventNames = new Set((n = t?.eventNames) != null ? n : []), ((r = t.productAnalyticsEvents) == null ? void 0 : r.clicks) !== !1 && this._eventNames.add("click"), this._shouldPreventSpanCreation = typeof t?.shouldPreventSpanCreation == "function" ? t.shouldPreventSpanCreation : W0;
14594
14618
  }
14595
14619
  init() {
14596
14620
  }
@@ -14640,7 +14664,7 @@ const eo = class Ut extends xu {
14640
14664
  "viewport.height": window.innerHeight
14641
14665
  }
14642
14666
  },
14643
- n ? k.setSpan(N.active(), n) : void 0
14667
+ n ? k.setSpan(P.active(), n) : void 0
14644
14668
  );
14645
14669
  t instanceof MouseEvent && (c.setAttribute("event.x", t.clientX), c.setAttribute("event.y", t.clientY), c.setAttribute(
14646
14670
  "event.relativeX",
@@ -14675,7 +14699,7 @@ const eo = class Ut extends xu {
14675
14699
  * @private
14676
14700
  */
14677
14701
  _getCurrentSpan(t) {
14678
- const n = t.get(q0);
14702
+ const n = t.get(X0);
14679
14703
  return n && k.getSpan(n);
14680
14704
  }
14681
14705
  /**
@@ -14734,8 +14758,8 @@ const eo = class Ut extends xu {
14734
14758
  return t._invokeListener(o, this, s);
14735
14759
  n.set(f.type, Date.now()), f && (p = t._eventsSpanMap.get(f)), u && t.removePatchedListener(this, i, o);
14736
14760
  const d = t._createSpan(f, p);
14737
- return d ? (f && t._eventsSpanMap.set(f, d), N.with(
14738
- k.setSpan(N.active(), d),
14761
+ return d ? (f && t._eventsSpanMap.set(f, d), P.with(
14762
+ k.setSpan(P.active(), d),
14739
14763
  () => {
14740
14764
  const y = t._invokeListener(
14741
14765
  o,
@@ -14824,9 +14848,9 @@ const eo = class Ut extends xu {
14824
14848
  */
14825
14849
  _updateInteractionName(t) {
14826
14850
  const n = k.getSpan(
14827
- N.active()
14851
+ P.active()
14828
14852
  );
14829
- n && typeof n.updateName == "function" && n.updateName(`${z0} ${t}`);
14853
+ n && typeof n.updateName == "function" && n.updateName(`${K0} ${t}`);
14830
14854
  }
14831
14855
  /**
14832
14856
  * Patches zone cancel task - this is done to be able to correctly
@@ -14867,9 +14891,9 @@ const eo = class Ut extends xu {
14867
14891
  if (c = t._createSpan(a), c)
14868
14892
  return t._incrementTask(c), s.run(() => {
14869
14893
  try {
14870
- return N.with(
14894
+ return P.with(
14871
14895
  k.setSpan(
14872
- N.active(),
14896
+ P.active(),
14873
14897
  c
14874
14898
  ),
14875
14899
  () => {
@@ -14982,7 +15006,7 @@ const eo = class Ut extends xu {
14982
15006
  }
14983
15007
  };
14984
15008
  C(eo, "version", "0.1.1"), C(eo, "moduleName", "user-interaction");
14985
- let K0 = eo;
15009
+ let Y0 = eo;
14986
15010
  const no = class ro extends xu {
14987
15011
  constructor(t = {}) {
14988
15012
  super(
@@ -15018,8 +15042,8 @@ const no = class ro extends xu {
15018
15042
  }
15019
15043
  };
15020
15044
  C(no, "version", "0.1.0"), C(no, "moduleName", "location-change");
15021
- let W0 = no, X = {}, ue, Mn;
15022
- const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */ new Map(), Fc = (e) => `${e.spanContext().traceId}:${e.spanContext().spanId}`, Vc = "launchdarkly.js.log", J0 = "launchdarkly.exception.id", ls = "launchdarkly.sampling.ratio", Gc = "log.severity", Hc = "log.message", Q0 = (e, t) => {
15045
+ let J0 = no, X = {}, ue, Mn;
15046
+ const Ht = "highlight.record", Q0 = "highlight.session_id", io = /* @__PURE__ */ new Map(), Fc = (e) => `${e.spanContext().traceId}:${e.spanContext().spanId}`, Vc = "launchdarkly.js.log", Z0 = "launchdarkly.exception.id", ls = "launchdarkly.sampling.ratio", Gc = "log.severity", Hc = "log.message", tS = (e, t) => {
15023
15047
  var n, r, i, o, a, u, c, s, l, p;
15024
15048
  if (X.tracerProvider || X.meterProvider) {
15025
15049
  console.warn("OTEL already initialized. Skipping...");
@@ -15028,7 +15052,7 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15028
15052
  ue = e;
15029
15053
  const f = e.backendUrl || void 0 || "https://pub.highlight.io", d = [
15030
15054
  ...(r = (n = e.networkRecordingOptions) == null ? void 0 : n.urlBlocklist) != null ? r : [],
15031
- ...LE
15055
+ ...AE
15032
15056
  ], y = (i = e.environment) != null ? i : "production", g = {
15033
15057
  url: e.otlpEndpoint + "/v1/traces",
15034
15058
  concurrencyLimit: 10,
@@ -15041,7 +15065,7 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15041
15065
  timeout: 6e4,
15042
15066
  keepAlive: !0
15043
15067
  }
15044
- }, m = new G0(
15068
+ }, m = new q0(
15045
15069
  g,
15046
15070
  t
15047
15071
  ), E = new Qn(m, {
@@ -15068,30 +15092,30 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15068
15092
  mergeResourceWithDefaults: !0,
15069
15093
  spanProcessors: [E]
15070
15094
  }), k.setGlobalTracerProvider(X.tracerProvider);
15071
- const P = new H0(J(R({}, g), {
15095
+ const N = new z0(J(R({}, g), {
15072
15096
  url: e.otlpEndpoint + "/v1/metrics"
15073
- })), j = new iT({
15074
- exporter: P,
15097
+ })), j = new aT({
15098
+ exporter: N,
15075
15099
  exportIntervalMillis: g.timeoutMillis,
15076
15100
  exportTimeoutMillis: g.timeoutMillis
15077
15101
  });
15078
- X.meterProvider = new HT({ resource: S, readers: [j] }), Se.setGlobalMeterProvider(X.meterProvider);
15102
+ X.meterProvider = new zT({ resource: S, readers: [j] }), Se.setGlobalMeterProvider(X.meterProvider);
15079
15103
  let B = [];
15080
15104
  if (((a = e.instrumentations) == null ? void 0 : a["@opentelemetry/instrumentation-document-load"]) !== !1 && B.push(
15081
15105
  new km({
15082
15106
  applyCustomAttributesOnSpan: {
15083
15107
  documentLoad: hs,
15084
15108
  documentFetch: hs,
15085
- resourceFetch: cS
15109
+ resourceFetch: pS
15086
15110
  }
15087
15111
  })
15088
15112
  ), ((u = e.instrumentations) == null ? void 0 : u["@opentelemetry/instrumentation-user-interaction"]) !== !1 && B.push(
15089
- new K0({
15113
+ new Y0({
15090
15114
  productAnalyticsEvents: e.productAnalyticsEvents,
15091
15115
  getLDContextKeyAttributes: e.getLDContextKeyAttributes
15092
15116
  })
15093
15117
  ), ((c = e.productAnalyticsEvents) == null ? void 0 : c.pageViews) !== !1 && B.push(
15094
- new W0({
15118
+ new J0({
15095
15119
  getLDContextKeyAttributes: e.getLDContextKeyAttributes
15096
15120
  })
15097
15121
  ), (s = e.networkRecordingOptions) != null && s.enabled) {
@@ -15123,16 +15147,16 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15123
15147
  e.networkRecordingOptions.requestResponseSanitizer
15124
15148
  ), gt.attributes[Ht] === !1)) && (It = e.networkRecordingOptions) != null && It.recordHeadersAndBody) {
15125
15149
  const h = ut(void 0, null, function* () {
15126
- var _, A, G, F, M, kt;
15127
- const Mt = yield $E(
15150
+ var _, L, G, F, M, kt;
15151
+ const Mt = yield VE(
15128
15152
  lt,
15129
15153
  (_ = e.networkRecordingOptions) == null ? void 0 : _.bodyKeysToRecord,
15130
- (A = e.networkRecordingOptions) == null ? void 0 : A.networkBodyKeysToRedact
15131
- ), Ae = Object.fromEntries(
15154
+ (L = e.networkRecordingOptions) == null ? void 0 : L.networkBodyKeysToRedact
15155
+ ), Le = Object.fromEntries(
15132
15156
  lt.headers.entries()
15133
15157
  ), rl = wo(
15134
15158
  (F = (G = e.networkRecordingOptions) == null ? void 0 : G.networkHeadersToRedact) != null ? F : [],
15135
- Ae,
15159
+ Le,
15136
15160
  (M = e.networkRecordingOptions) == null ? void 0 : M.headerKeysToRecord
15137
15161
  ), il = Ro(
15138
15162
  rl,
@@ -15177,10 +15201,10 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15177
15201
  (K = e.networkRecordingOptions) == null ? void 0 : K.bodyKeysToRecord,
15178
15202
  void 0
15179
15203
  ));
15180
- const _ = rS(
15204
+ const _ = oS(
15181
15205
  U.getAllResponseHeaders()
15182
15206
  );
15183
- sS(
15207
+ cS(
15184
15208
  z,
15185
15209
  _,
15186
15210
  h,
@@ -15203,7 +15227,7 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15203
15227
  propagator: new sv({
15204
15228
  propagators: [
15205
15229
  new Ed(),
15206
- new tS({
15230
+ new nS({
15207
15231
  backendUrl: f,
15208
15232
  otlpEndpoint: e.otlpEndpoint,
15209
15233
  tracingOrigins: e.tracingOrigins,
@@ -15211,13 +15235,13 @@ const Ht = "highlight.record", Y0 = "highlight.session_id", io = /* @__PURE__ */
15211
15235
  })
15212
15236
  ]
15213
15237
  })
15214
- }), Mn = Z0(
15238
+ }), Mn = eS(
15215
15239
  m,
15216
- P,
15240
+ N,
15217
15241
  E,
15218
15242
  () => X
15219
15243
  ), X;
15220
- }, Z0 = (e, t, n, r) => {
15244
+ }, eS = (e, t, n, r) => {
15221
15245
  if (typeof document > "u" || typeof window > "u")
15222
15246
  return () => {
15223
15247
  };
@@ -15243,7 +15267,7 @@ class Qn extends Ku {
15243
15267
  this._skipPendingOnFlush = t;
15244
15268
  }
15245
15269
  onStart(t, n) {
15246
- t.setAttribute(Y0, St()), super.onStart(t, n);
15270
+ t.setAttribute(Q0, St()), super.onStart(t, n);
15247
15271
  }
15248
15272
  onEnd(t) {
15249
15273
  if (t.attributes[Ht] === !1)
@@ -15274,7 +15298,7 @@ class Qn extends Ku {
15274
15298
  });
15275
15299
  }
15276
15300
  }
15277
- class tS extends wv {
15301
+ class nS extends wv {
15278
15302
  constructor(t) {
15279
15303
  super(), C(this, "highlightEndpoints"), C(this, "tracingOrigins"), C(this, "urlBlocklist"), this.highlightEndpoints = [
15280
15304
  t.backendUrl,
@@ -15289,25 +15313,25 @@ class tS extends wv {
15289
15313
  if (!o || !o.attributes)
15290
15314
  return;
15291
15315
  const a = Xc(o);
15292
- typeof a == "string" && (uS(
15316
+ typeof a == "string" && (lS(
15293
15317
  a,
15294
15318
  this.highlightEndpoints,
15295
15319
  this.tracingOrigins,
15296
15320
  this.urlBlocklist
15297
- ) || o.setAttribute(Ht, !1), !DE(
15321
+ ) || o.setAttribute(Ht, !1), !jE(
15298
15322
  a,
15299
15323
  (i = this.tracingOrigins) != null ? i : [],
15300
15324
  this.urlBlocklist
15301
15325
  )) || super.inject(t, n, r);
15302
15326
  }
15303
15327
  }
15304
- const qc = "highlight-browser", eS = qc, ps = () => {
15328
+ const qc = "highlight-browser", rS = qc, ps = () => {
15305
15329
  var e;
15306
15330
  return (e = X.tracerProvider) == null ? void 0 : e.getTracer(qc);
15307
15331
  }, Tn = () => {
15308
15332
  var e;
15309
- return (e = X.meterProvider) == null ? void 0 : e.getMeter(eS);
15310
- }, nS = () => ut(void 0, null, function* () {
15333
+ return (e = X.meterProvider) == null ? void 0 : e.getMeter(rS);
15334
+ }, iS = () => ut(void 0, null, function* () {
15311
15335
  Mn && (Mn(), Mn = void 0), yield Promise.allSettled([
15312
15336
  ut(void 0, null, function* () {
15313
15337
  X.tracerProvider ? (yield X.tracerProvider.shutdown(), X.tracerProvider = void 0) : console.warn(
@@ -15341,7 +15365,7 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15341
15365
  [Cn]: u.pathname,
15342
15366
  [Vp]: u.search
15343
15367
  }), e.setAttributes(
15344
- iS(
15368
+ aS(
15345
15369
  u.searchParams,
15346
15370
  "url.query_params"
15347
15371
  )
@@ -15363,7 +15387,7 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15363
15387
  );
15364
15388
  e.setAttributes(p);
15365
15389
  }
15366
- }, rS = (e) => {
15390
+ }, oS = (e) => {
15367
15391
  const t = {};
15368
15392
  return e && e.trim().split(/[\r\n]+/).forEach((n) => {
15369
15393
  const r = n.split(": "), i = r.shift();
@@ -15372,21 +15396,21 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15372
15396
  }, Ro = (e, t) => {
15373
15397
  const n = {};
15374
15398
  return Object.entries(e).forEach(([r, i]) => {
15375
- const o = r.toLowerCase().replace(/_/g, "-"), a = `${t}.${o}`, u = aS(o, i);
15399
+ const o = r.toLowerCase().replace(/_/g, "-"), a = `${t}.${o}`, u = uS(o, i);
15376
15400
  if (n[a]) {
15377
15401
  const c = n[a];
15378
15402
  Array.isArray(c) ? n[a] = [...c, ...u] : n[a] = [c, ...u];
15379
15403
  } else
15380
15404
  n[a] = u.length === 1 ? u[0] : u;
15381
15405
  }), n;
15382
- }, iS = (e, t) => {
15406
+ }, aS = (e, t) => {
15383
15407
  const n = {};
15384
15408
  for (const [r, i] of e.entries()) {
15385
15409
  const o = `${t}.${r}`, a = n[o];
15386
15410
  a === void 0 ? n[o] = i : Array.isArray(a) ? a.push(i) : n[o] = [a, i];
15387
15411
  }
15388
15412
  return n;
15389
- }, oS = /* @__PURE__ */ new Set([
15413
+ }, sS = /* @__PURE__ */ new Set([
15390
15414
  "accept",
15391
15415
  "accept-charset",
15392
15416
  "accept-encoding",
@@ -15414,7 +15438,7 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15414
15438
  "access-control-allow-methods",
15415
15439
  "access-control-expose-headers",
15416
15440
  "access-control-request-headers"
15417
- ]), aS = (e, t) => oS.has(e) ? t.split(",").map((n) => n.trim()).filter((n) => n.length > 0) : [t], sS = (e, t, n, r) => {
15441
+ ]), uS = (e, t) => sS.has(e) ? t.split(",").map((n) => n.trim()).filter((n) => n.length > 0) : [t], cS = (e, t, n, r) => {
15418
15442
  var i;
15419
15443
  e.setAttribute("http.response.body", n);
15420
15444
  const o = wo(
@@ -15429,8 +15453,8 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15429
15453
  }, ai = (e, t) => {
15430
15454
  var n, r, i, o, a, u, c, s, l, p;
15431
15455
  const f = e.attributes, d = {}, y = {};
15432
- for (const [P, j] of Object.entries(f))
15433
- P.startsWith("http.request.header.") && (d[P.slice(20)] = String(j)), P.startsWith("http.response.header.") && (y[P.slice(21)] = String(j));
15456
+ for (const [N, j] of Object.entries(f))
15457
+ N.startsWith("http.request.header.") && (d[N.slice(20)] = String(j)), N.startsWith("http.response.header.") && (y[N.slice(21)] = String(j));
15434
15458
  let g = {
15435
15459
  request: {
15436
15460
  sessionSecureID: "",
@@ -15476,9 +15500,9 @@ const qc = "highlight-browser", eS = qc, ps = () => {
15476
15500
  "http.request.body": (l = S.request.body) != null ? l : "",
15477
15501
  "http.response.body": (p = S.response.body) != null ? p : ""
15478
15502
  });
15479
- }, uS = (e, t, n, r) => r != null && r.some(
15503
+ }, lS = (e, t, n, r) => r != null && r.some(
15480
15504
  (i) => e.toLowerCase().includes(i)
15481
- ) ? !1 : ME(
15505
+ ) ? !1 : UE(
15482
15506
  e,
15483
15507
  t
15484
15508
  ), hs = (e) => {
@@ -15535,7 +15559,7 @@ function rt(e, t, n) {
15535
15559
  const o = r.time[0] * 1e9 + r.time[1];
15536
15560
  return i.time[0] * 1e9 + i.time[1] - o;
15537
15561
  }
15538
- const cS = (e, t) => {
15562
+ const pS = (e, t) => {
15539
15563
  const n = {
15540
15564
  domain_lookup: (t.domainLookupEnd - t.domainLookupStart) * 1e9,
15541
15565
  connect: (t.connectEnd - t.connectStart) * 1e9,
@@ -15569,18 +15593,18 @@ const cS = (e, t) => {
15569
15593
  uc(window.location.host)
15570
15594
  ] : Array.isArray(e) ? e.map(
15571
15595
  (t) => typeof t == "string" ? new RegExp(t) : t
15572
- ) : /^$/, Xc = (e) => e.attributes[xt] ? e.attributes[xt] : e.attributes[ve], lS = 30, pS = () => new Promise(
15596
+ ) : /^$/, Xc = (e) => e.attributes[xt] ? e.attributes[xt] : e.attributes[ve], fS = 30, hS = () => new Promise(
15573
15597
  (e) => requestAnimationFrame(
15574
15598
  (t) => requestAnimationFrame((n) => e(n - t))
15575
15599
  )
15576
- ), fS = () => ut(void 0, null, function* () {
15600
+ ), dS = () => ut(void 0, null, function* () {
15577
15601
  const e = [];
15578
- for (let t = 0; t < lS; t++)
15579
- e.push(yield pS());
15602
+ for (let t = 0; t < fS; t++)
15603
+ e.push(yield hS());
15580
15604
  return e.reduce((t, n) => t + n, 0) / e.length;
15581
- }), hS = (e, t) => {
15605
+ }), vS = (e, t) => {
15582
15606
  let n = {}, r = 16.666666666666668;
15583
- fS().then((c) => r = c);
15607
+ dS().then((c) => r = c);
15584
15608
  const i = (c) => {
15585
15609
  var s;
15586
15610
  n != null && n.event || (n = {
@@ -15602,12 +15626,12 @@ const cS = (e, t) => {
15602
15626
  });
15603
15627
  }, u = () => {
15604
15628
  var c;
15605
- return (c = n?.event) != null && c.target ? Af(n.event.target) : "";
15629
+ return (c = n?.event) != null && c.target ? Lf(n.event.target) : "";
15606
15630
  };
15607
15631
  return window.addEventListener("click", i, !0), window.addEventListener("keydown", i, !0), () => {
15608
15632
  window.removeEventListener("keydown", i, !0), window.removeEventListener("click", i, !0);
15609
15633
  };
15610
- }, dS = typeof window < "u", vs = dS && "performance" in window && "memory" in performance ? performance : { memory: {} }, vS = (e, t) => {
15634
+ }, yS = typeof window < "u", vs = yS && "performance" in window && "memory" in performance ? performance : { memory: {} }, gS = (e, t) => {
15611
15635
  let n = 0, r = 0;
15612
15636
  const i = () => {
15613
15637
  const s = ((/* @__PURE__ */ new Date()).getTime() - t) / 1e3, l = vs.memory.jsHeapSizeLimit || 0, p = vs.memory.usedJSHeapSize || 0;
@@ -15632,7 +15656,7 @@ const cS = (e, t) => {
15632
15656
  clearInterval(o), cancelAnimationFrame(r);
15633
15657
  };
15634
15658
  };
15635
- var At, Ge, Kc, Zn, oo, we = function() {
15659
+ var Lt, Ge, Kc, Zn, oo, we = function() {
15636
15660
  return window.performance && performance.getEntriesByType && performance.getEntriesByType("navigation")[0];
15637
15661
  }, tn = function(e) {
15638
15662
  if (document.readyState === "loading") return "loading";
@@ -15643,14 +15667,14 @@ var At, Ge, Kc, Zn, oo, we = function() {
15643
15667
  if (t.domComplete === 0 || e < t.domComplete) return "dom-content-loaded";
15644
15668
  }
15645
15669
  return "complete";
15646
- }, yS = function(e) {
15670
+ }, mS = function(e) {
15647
15671
  var t = e.nodeName;
15648
15672
  return e.nodeType === 1 ? t.toLowerCase() : t.toUpperCase().replace(/^#/, "");
15649
15673
  }, fr = function(e, t) {
15650
15674
  var n = "";
15651
15675
  try {
15652
15676
  for (; e && e.nodeType !== 9; ) {
15653
- var r = e, i = r.id ? "#" + r.id : yS(r) + (r.classList && r.classList.value && r.classList.value.trim() && r.classList.value.trim().length ? "." + r.classList.value.trim().replace(/\s+/g, ".") : "");
15677
+ var r = e, i = r.id ? "#" + r.id : mS(r) + (r.classList && r.classList.value && r.classList.value.trim() && r.classList.value.trim().length ? "." + r.classList.value.trim().replace(/\s+/g, ".") : "");
15654
15678
  if (n.length + i.length > 99) return n || i;
15655
15679
  if (n = n ? i + ">" + n : i, r.id) break;
15656
15680
  e = r.parentNode;
@@ -15708,12 +15732,12 @@ var At, Ge, Kc, Zn, oo, we = function() {
15708
15732
  }, pe = -1, ys = function() {
15709
15733
  return document.visibilityState !== "hidden" || document.prerendering ? 1 / 0 : 0;
15710
15734
  }, tr = function(e) {
15711
- document.visibilityState === "hidden" && pe > -1 && (pe = e.type === "visibilitychange" ? e.timeStamp : 0, gS());
15735
+ document.visibilityState === "hidden" && pe > -1 && (pe = e.type === "visibilitychange" ? e.timeStamp : 0, _S());
15712
15736
  }, gs = function() {
15713
15737
  addEventListener("visibilitychange", tr, !0), addEventListener("prerenderingchange", tr, !0);
15714
- }, gS = function() {
15738
+ }, _S = function() {
15715
15739
  removeEventListener("visibilitychange", tr, !0), removeEventListener("prerenderingchange", tr, !0);
15716
- }, No = function() {
15740
+ }, Po = function() {
15717
15741
  return pe < 0 && (pe = ys(), gs(), te(function() {
15718
15742
  setTimeout(function() {
15719
15743
  pe = ys(), gs();
@@ -15727,7 +15751,7 @@ var At, Ge, Kc, Zn, oo, we = function() {
15727
15751
  }, !0) : e();
15728
15752
  }, ms = [1800, 3e3], Jc = function(e, t) {
15729
15753
  t = t || {}, an(function() {
15730
- var n, r = No(), i = ot("FCP"), o = Oe("paint", function(a) {
15754
+ var n, r = Po(), i = ot("FCP"), o = Oe("paint", function(a) {
15731
15755
  a.forEach(function(u) {
15732
15756
  u.name === "first-contentful-paint" && (o.disconnect(), u.startTime < r.firstHiddenTime && (i.value = Math.max(u.startTime - hr(), 0), i.entries.push(u), n(!0)));
15733
15757
  });
@@ -15738,7 +15762,7 @@ var At, Ge, Kc, Zn, oo, we = function() {
15738
15762
  });
15739
15763
  }));
15740
15764
  });
15741
- }, _s = [0.1, 0.25], mS = function(e, t) {
15765
+ }, _s = [0.1, 0.25], ES = function(e, t) {
15742
15766
  (function(n, r) {
15743
15767
  r = r || {}, Jc(xo(function() {
15744
15768
  var i, o = ot("CLS", 0), a = 0, u = [], c = function(l) {
@@ -15774,7 +15798,7 @@ var At, Ge, Kc, Zn, oo, we = function() {
15774
15798
  r.attribution = {};
15775
15799
  })(n), e(n);
15776
15800
  }, t);
15777
- }, _S = function(e, t) {
15801
+ }, bS = function(e, t) {
15778
15802
  Jc(function(n) {
15779
15803
  (function(r) {
15780
15804
  if (r.entries.length) {
@@ -15787,16 +15811,16 @@ var At, Ge, Kc, Zn, oo, we = function() {
15787
15811
  r.attribution = { timeToFirstByte: 0, firstByteToFCP: r.value, loadState: tn(Yc()) };
15788
15812
  })(n), e(n);
15789
15813
  }, t);
15790
- }, je = { passive: !0, capture: !0 }, ES = /* @__PURE__ */ new Date(), Es = function(e, t) {
15791
- At || (At = t, Ge = e, Kc = /* @__PURE__ */ new Date(), Zc(removeEventListener), Qc());
15814
+ }, je = { passive: !0, capture: !0 }, TS = /* @__PURE__ */ new Date(), Es = function(e, t) {
15815
+ Lt || (Lt = t, Ge = e, Kc = /* @__PURE__ */ new Date(), Zc(removeEventListener), Qc());
15792
15816
  }, Qc = function() {
15793
- if (Ge >= 0 && Ge < Kc - ES) {
15794
- var e = { entryType: "first-input", name: At.type, target: At.target, cancelable: At.cancelable, startTime: At.timeStamp, processingStart: At.timeStamp + Ge };
15817
+ if (Ge >= 0 && Ge < Kc - TS) {
15818
+ var e = { entryType: "first-input", name: Lt.type, target: Lt.target, cancelable: Lt.cancelable, startTime: Lt.timeStamp, processingStart: Lt.timeStamp + Ge };
15795
15819
  Zn.forEach(function(t) {
15796
15820
  t(e);
15797
15821
  }), Zn = [];
15798
15822
  }
15799
- }, bS = function(e) {
15823
+ }, SS = function(e) {
15800
15824
  if (e.cancelable) {
15801
15825
  var t = (e.timeStamp > 1e12 ? /* @__PURE__ */ new Date() : performance.now()) - e.timeStamp;
15802
15826
  e.type == "pointerdown" ? function(n, r) {
@@ -15812,11 +15836,11 @@ var At, Ge, Kc, Zn, oo, we = function() {
15812
15836
  }
15813
15837
  }, Zc = function(e) {
15814
15838
  ["mousedown", "keydown", "touchstart", "pointerdown"].forEach(function(t) {
15815
- return e(t, bS, je);
15839
+ return e(t, SS, je);
15816
15840
  });
15817
- }, bs = [100, 300], TS = function(e, t) {
15841
+ }, bs = [100, 300], wS = function(e, t) {
15818
15842
  t = t || {}, an(function() {
15819
- var n, r = No(), i = ot("FID"), o = function(c) {
15843
+ var n, r = Po(), i = ot("FID"), o = function(c) {
15820
15844
  c.startTime < r.firstHiddenTime && (i.value = c.processingStart - c.startTime, i.entries.push(c), n(!0));
15821
15845
  }, a = function(c) {
15822
15846
  c.forEach(o);
@@ -15825,24 +15849,24 @@ var At, Ge, Kc, Zn, oo, we = function() {
15825
15849
  a(u.takeRecords()), u.disconnect();
15826
15850
  })), u && te(function() {
15827
15851
  var c;
15828
- i = ot("FID"), n = at(e, i, bs, t.reportAllChanges), Zn = [], Ge = -1, At = null, Zc(addEventListener), c = o, Zn.push(c), Qc();
15852
+ i = ot("FID"), n = at(e, i, bs, t.reportAllChanges), Zn = [], Ge = -1, Lt = null, Zc(addEventListener), c = o, Zn.push(c), Qc();
15829
15853
  });
15830
15854
  });
15831
- }, SS = function(e, t) {
15832
- TS(function(n) {
15855
+ }, OS = function(e, t) {
15856
+ wS(function(n) {
15833
15857
  (function(r) {
15834
15858
  var i = r.entries[0];
15835
15859
  r.attribution = { eventTarget: fr(i.target), eventType: i.name, eventTime: i.startTime, eventEntry: i, loadState: tn(i.startTime) };
15836
15860
  })(n), e(n);
15837
15861
  }, t);
15838
- }, tl = 0, si = 1 / 0, Sn = 0, wS = function(e) {
15862
+ }, tl = 0, si = 1 / 0, Sn = 0, LS = function(e) {
15839
15863
  e.forEach(function(t) {
15840
15864
  t.interactionId && (si = Math.min(si, t.interactionId), Sn = Math.max(Sn, t.interactionId), tl = Sn ? (Sn - si) / 7 + 1 : 0);
15841
15865
  });
15842
15866
  }, el = function() {
15843
15867
  return oo ? tl : performance.interactionCount || 0;
15844
- }, OS = function() {
15845
- "interactionCount" in performance || oo || (oo = Oe("event", wS, { type: "event", buffered: !0, durationThreshold: 0 }));
15868
+ }, AS = function() {
15869
+ "interactionCount" in performance || oo || (oo = Oe("event", LS, { type: "event", buffered: !0, durationThreshold: 0 }));
15846
15870
  }, Ts = [200, 500], nl = 0, Ss = function() {
15847
15871
  return el() - nl;
15848
15872
  }, ft = [], ui = {}, ws = function(e) {
@@ -15859,10 +15883,10 @@ var At, Ge, Kc, Zn, oo, we = function() {
15859
15883
  delete ui[i.id];
15860
15884
  });
15861
15885
  }
15862
- }, AS = function(e, t) {
15886
+ }, RS = function(e, t) {
15863
15887
  t = t || {}, an(function() {
15864
15888
  var n;
15865
- OS();
15889
+ AS();
15866
15890
  var r, i = ot("INP"), o = function(u) {
15867
15891
  u.forEach(function(l) {
15868
15892
  l.interactionId && ws(l), l.entryType === "first-input" && !ft.some(function(p) {
@@ -15880,8 +15904,8 @@ var At, Ge, Kc, Zn, oo, we = function() {
15880
15904
  ft = [], nl = el(), i = ot("INP"), r = at(e, i, Ts, t.reportAllChanges);
15881
15905
  }));
15882
15906
  });
15883
- }, LS = function(e, t) {
15884
- AS(function(n) {
15907
+ }, CS = function(e, t) {
15908
+ RS(function(n) {
15885
15909
  (function(r) {
15886
15910
  if (r.entries.length) {
15887
15911
  var i = r.entries.sort(function(o, a) {
@@ -15891,10 +15915,10 @@ var At, Ge, Kc, Zn, oo, we = function() {
15891
15915
  } else r.attribution = {};
15892
15916
  })(n), e(n);
15893
15917
  }, t);
15894
- }, Os = [2500, 4e3], ci = {}, RS = function(e, t) {
15918
+ }, Os = [2500, 4e3], ci = {}, xS = function(e, t) {
15895
15919
  (function(n, r) {
15896
15920
  r = r || {}, an(function() {
15897
- var i, o = No(), a = ot("LCP"), u = function(l) {
15921
+ var i, o = Po(), a = ot("LCP"), u = function(l) {
15898
15922
  var p = l[l.length - 1];
15899
15923
  p && p.startTime < o.firstHiddenTime && (a.value = Math.max(p.startTime - hr(), 0), a.entries = [p], i());
15900
15924
  }, c = Oe("largest-contentful-paint", u);
@@ -15928,27 +15952,27 @@ var At, Ge, Kc, Zn, oo, we = function() {
15928
15952
  r.attribution = { timeToFirstByte: 0, resourceLoadDelay: 0, resourceLoadTime: 0, elementRenderDelay: r.value };
15929
15953
  })(n), e(n);
15930
15954
  }, t);
15931
- }, As = [800, 1800], CS = function e(t) {
15955
+ }, Ls = [800, 1800], PS = function e(t) {
15932
15956
  document.prerendering ? an(function() {
15933
15957
  return e(t);
15934
15958
  }) : document.readyState !== "complete" ? addEventListener("load", function() {
15935
15959
  return e(t);
15936
15960
  }, !0) : setTimeout(t, 0);
15937
- }, xS = function(e, t) {
15961
+ }, NS = function(e, t) {
15938
15962
  t = t || {};
15939
- var n = ot("TTFB"), r = at(e, n, As, t.reportAllChanges);
15940
- CS(function() {
15963
+ var n = ot("TTFB"), r = at(e, n, Ls, t.reportAllChanges);
15964
+ PS(function() {
15941
15965
  var i = we();
15942
15966
  if (i) {
15943
15967
  var o = i.responseStart;
15944
15968
  if (o <= 0 || o > performance.now()) return;
15945
15969
  n.value = Math.max(o - hr(), 0), n.entries = [i], r(!0), te(function() {
15946
- n = ot("TTFB", 0), (r = at(e, n, As, t.reportAllChanges))(!0);
15970
+ n = ot("TTFB", 0), (r = at(e, n, Ls, t.reportAllChanges))(!0);
15947
15971
  });
15948
15972
  }
15949
15973
  });
15950
- }, NS = function(e, t) {
15951
- xS(function(n) {
15974
+ }, IS = function(e, t) {
15975
+ NS(function(n) {
15952
15976
  (function(r) {
15953
15977
  if (r.entries.length) {
15954
15978
  var i = r.entries[0], o = i.activationStart || 0, a = Math.max(i.domainLookupStart - o, 0), u = Math.max(i.connectStart - o, 0), c = Math.max(i.requestStart - o, 0);
@@ -15957,8 +15981,8 @@ var At, Ge, Kc, Zn, oo, we = function() {
15957
15981
  })(n), e(n);
15958
15982
  }, t);
15959
15983
  };
15960
- const PS = (e) => (mS(e), _S(e), SS(e), RS(e), NS(e), LS(e), () => {
15961
- }), se = typeof navigator < "u" && "connection" in navigator ? navigator.connection : {}, IS = (e, t) => {
15984
+ const kS = (e) => (ES(e), bS(e), OS(e), xS(e), IS(e), CS(e), () => {
15985
+ }), se = typeof navigator < "u" && "connection" in navigator ? navigator.connection : {}, MS = (e, t) => {
15962
15986
  const n = () => {
15963
15987
  const i = ((/* @__PURE__ */ new Date()).getTime() - t) / 1e3;
15964
15988
  e({
@@ -15978,7 +16002,7 @@ const PS = (e) => (mS(e), _S(e), SS(e), RS(e), NS(e), LS(e), () => {
15978
16002
  }, 1e3), () => {
15979
16003
  clearInterval(r);
15980
16004
  };
15981
- }, kS = () => {
16005
+ }, DS = () => {
15982
16006
  if (!("performance" in window && "memory" in performance))
15983
16007
  return {
15984
16008
  getDeviceDetails: void 0,
@@ -15987,7 +16011,7 @@ const PS = (e) => (mS(e), _S(e), SS(e), RS(e), NS(e), LS(e), () => {
15987
16011
  const e = window.performance;
15988
16012
  return {
15989
16013
  getDeviceDetails: () => ({
15990
- deviceMemory: MS(
16014
+ deviceMemory: US(
15991
16015
  navigator.deviceMemory || 0
15992
16016
  )
15993
16017
  }),
@@ -16006,23 +16030,23 @@ const PS = (e) => (mS(e), _S(e), SS(e), RS(e), NS(e), LS(e), () => {
16006
16030
  };
16007
16031
  }
16008
16032
  };
16009
- }, li = (e) => e / Math.pow(1e3, 2), MS = (e) => 1024 * e;
16010
- function DS(e) {
16033
+ }, li = (e) => e / Math.pow(1e3, 2), US = (e) => 1024 * e;
16034
+ function jS(e) {
16011
16035
  return "regexValue" in e;
16012
16036
  }
16013
- function US(e) {
16037
+ function BS(e) {
16014
16038
  return "matchValue" in e;
16015
16039
  }
16016
- function jS(e) {
16040
+ function $S(e) {
16017
16041
  const t = Math.trunc(e);
16018
16042
  return t === 1 ? !0 : t === 0 ? !1 : Math.floor(Math.random() * t) === 0;
16019
16043
  }
16020
- class BS {
16044
+ class FS {
16021
16045
  /**
16022
16046
  * @param config The sampling configuration.
16023
16047
  * @param sampler The sampler to use. This is intended to be used for testing purposes.
16024
16048
  */
16025
- constructor(t = jS) {
16049
+ constructor(t = $S) {
16026
16050
  C(this, "regexCache", /* @__PURE__ */ new Map()), C(this, "config"), this.sampler = t;
16027
16051
  }
16028
16052
  setConfig(t) {
@@ -16042,9 +16066,9 @@ class BS {
16042
16066
  matchesValue(t, n) {
16043
16067
  if (!t)
16044
16068
  return !1;
16045
- if (US(t))
16069
+ if (BS(t))
16046
16070
  return t.matchValue === n;
16047
- if (DS(t)) {
16071
+ if (jS(t)) {
16048
16072
  const r = t.regexValue;
16049
16073
  if (r === null)
16050
16074
  return !1;
@@ -16168,7 +16192,7 @@ class BS {
16168
16192
  };
16169
16193
  }
16170
16194
  }
16171
- const Ls = () => {
16195
+ const As = () => {
16172
16196
  const e = {
16173
16197
  end: () => {
16174
16198
  },
@@ -16189,12 +16213,12 @@ const Ls = () => {
16189
16213
  isRecording: () => !1
16190
16214
  };
16191
16215
  return e;
16192
- }, $S = () => {
16216
+ }, VS = () => {
16193
16217
  if (typeof window > "u" || typeof PerformanceObserver > "u") return !1;
16194
16218
  const e = PerformanceObserver.supportedEntryTypes;
16195
16219
  return Array.isArray(e) && e.includes("longtask");
16196
- }, FS = (e) => {
16197
- if (!$S()) return () => {
16220
+ }, GS = (e) => {
16221
+ if (!VS()) return () => {
16198
16222
  };
16199
16223
  let t;
16200
16224
  try {
@@ -16223,14 +16247,14 @@ const Ls = () => {
16223
16247
  } catch {
16224
16248
  }
16225
16249
  };
16226
- }, VS = /* @__PURE__ */ new Set(["string", "number", "boolean"]), GS = () => typeof window < "u" && typeof window.ReportingObserver < "u", HS = (e) => {
16250
+ }, HS = /* @__PURE__ */ new Set(["string", "number", "boolean"]), qS = () => typeof window < "u" && typeof window.ReportingObserver < "u", zS = (e) => {
16227
16251
  const t = {};
16228
16252
  if (!e || typeof e != "object") return t;
16229
16253
  for (const [n, r] of Object.entries(
16230
16254
  e
16231
16255
  ))
16232
16256
  if (r != null)
16233
- if (VS.has(typeof r))
16257
+ if (HS.has(typeof r))
16234
16258
  t[`report.body.${n}`] = r;
16235
16259
  else
16236
16260
  try {
@@ -16238,12 +16262,12 @@ const Ls = () => {
16238
16262
  } catch {
16239
16263
  }
16240
16264
  return t;
16241
- }, qS = (e) => {
16265
+ }, XS = (e) => {
16242
16266
  var t;
16243
16267
  const n = (t = e.body) != null ? t : {}, r = n.message || n.reason || n.id || e.type;
16244
16268
  return typeof r == "string" ? r : e.type;
16245
- }, zS = (e, t) => {
16246
- if (!GS()) return () => {
16269
+ }, KS = (e, t) => {
16270
+ if (!qS()) return () => {
16247
16271
  };
16248
16272
  const n = [
16249
16273
  "deprecation",
@@ -16259,7 +16283,7 @@ const Ls = () => {
16259
16283
  const s = (a = c.type) != null ? a : "unknown", l = (u = c.body) != null ? u : {}, p = R({
16260
16284
  "report.type": s,
16261
16285
  "report.url": c.url
16262
- }, HS(l)), f = qS({ type: s, body: l });
16286
+ }, zS(l)), f = XS({ type: s, body: l });
16263
16287
  e(s === "deprecation" ? {
16264
16288
  kind: "log",
16265
16289
  level: "warn",
@@ -16288,20 +16312,20 @@ const Ls = () => {
16288
16312
  } catch {
16289
16313
  }
16290
16314
  };
16291
- }, XS = "exception", KS = function(e, t, n) {
16315
+ }, WS = "exception", YS = function(e, t, n) {
16292
16316
  if (!e)
16293
16317
  return;
16294
16318
  const r = R({}, n);
16295
- typeof t == "string" ? r[_r] = t : t && (t.code ? r[Er] = t.code.toString() : t.name && (r[Er] = t.name), t.message && (r[_r] = t.message), t.stack && (r[Dp] = t.stack)), r[Er] || r[_r] ? e.addEvent(XS, r) : qt(
16319
+ typeof t == "string" ? r[_r] = t : t && (t.code ? r[Er] = t.code.toString() : t.name && (r[Er] = t.name), t.message && (r[_r] = t.message), t.stack && (r[Dp] = t.stack)), r[Er] || r[_r] ? e.addEvent(WS, r) : qt(
16296
16320
  "otel",
16297
16321
  "recordException",
16298
16322
  "warn",
16299
16323
  `Failed to record an exception ${t}`
16300
16324
  );
16301
16325
  };
16302
- class WS {
16326
+ class JS {
16303
16327
  constructor(t) {
16304
- C(this, "organizationID"), C(this, "_options"), C(this, "_integrations", []), C(this, "_gauges", /* @__PURE__ */ new Map()), C(this, "_counters", /* @__PURE__ */ new Map()), C(this, "_histograms", /* @__PURE__ */ new Map()), C(this, "_up_down_counters", /* @__PURE__ */ new Map()), C(this, "sampler", new BS()), C(this, "_started", !1), C(this, "_ldContextKeys"), C(this, "graphqlSDK"), this._options = t, this.organizationID = t.projectId;
16328
+ C(this, "organizationID"), C(this, "_options"), C(this, "_integrations", []), C(this, "_gauges", /* @__PURE__ */ new Map()), C(this, "_counters", /* @__PURE__ */ new Map()), C(this, "_histograms", /* @__PURE__ */ new Map()), C(this, "_up_down_counters", /* @__PURE__ */ new Map()), C(this, "sampler", new FS()), C(this, "_started", !1), C(this, "_ldContextKeys"), C(this, "graphqlSDK"), this._options = t, this.organizationID = t.projectId;
16305
16329
  }
16306
16330
  _productAnalyticsEvents() {
16307
16331
  var t;
@@ -16335,7 +16359,7 @@ class WS {
16335
16359
  var t, n, r, i, o, a, u, c, s, l, p, f, d, y, g;
16336
16360
  if (this._started)
16337
16361
  return;
16338
- this._started = !0, Q0(
16362
+ this._started = !0, tS(
16339
16363
  {
16340
16364
  backendUrl: (n = (t = this._options) == null ? void 0 : t.backendUrl) != null ? n : "https://pub.observability.app.launchdarkly.com",
16341
16365
  otlpEndpoint: (o = (i = (r = this._options) == null ? void 0 : r.otel) == null ? void 0 : i.otlpEndpoint) != null ? o : "https://otel.observability.app.launchdarkly.com",
@@ -16359,12 +16383,12 @@ class WS {
16359
16383
  headers: {}
16360
16384
  }
16361
16385
  );
16362
- this.graphqlSDK = Pp(m, ef()), yield this.configureSampling(), this.setupListeners();
16386
+ this.graphqlSDK = Np(m, ef()), yield this.configureSampling(), this.setupListeners();
16363
16387
  });
16364
16388
  }
16365
16389
  stop() {
16366
16390
  return ut(this, null, function* () {
16367
- this._started && (this._started = !1, yield nS());
16391
+ this._started && (this._started = !1, yield iS());
16368
16392
  });
16369
16393
  }
16370
16394
  configureSampling() {
@@ -16419,8 +16443,8 @@ class WS {
16419
16443
  }
16420
16444
  this.startSpan("highlight.exception", (o) => {
16421
16445
  var a;
16422
- KS(o, (a = t.error) != null ? a : new Error(t.event), {
16423
- [J0]: t.id
16446
+ YS(o, (a = t.error) != null ? a : new Error(t.event), {
16447
+ [Z0]: t.id
16424
16448
  }), o?.setAttributes(R({
16425
16449
  event: t.event,
16426
16450
  type: t.type,
@@ -16526,7 +16550,7 @@ class WS {
16526
16550
  startSpan(t, n, r, i) {
16527
16551
  const o = ps();
16528
16552
  if (!o) {
16529
- const u = Ls();
16553
+ const u = As();
16530
16554
  return i === void 0 && r === void 0 ? n(u) : i === void 0 ? r(u) : i(u);
16531
16555
  }
16532
16556
  const a = (u, c) => {
@@ -16551,7 +16575,7 @@ class WS {
16551
16575
  startManualSpan(t, n, r, i) {
16552
16576
  const o = ps();
16553
16577
  if (!o) {
16554
- const a = Ls();
16578
+ const a = As();
16555
16579
  return i === void 0 && r === void 0 ? n(a) : i === void 0 ? r(a) : i(a);
16556
16580
  }
16557
16581
  return i === void 0 && r === void 0 ? o.startActiveSpan(t, n) : i === void 0 ? o.startActiveSpan(
@@ -16640,7 +16664,7 @@ class WS {
16640
16664
  stringLengthLimit: 1e3
16641
16665
  }
16642
16666
  }
16643
- ), this._options.enablePerformanceRecording !== !1 && (vS((r) => {
16667
+ ), this._options.enablePerformanceRecording !== !1 && (gS((r) => {
16644
16668
  Object.entries(r).filter(([i]) => i !== "relativeTimestamp").forEach(
16645
16669
  ([i, o]) => o && this.recordGauge({
16646
16670
  name: i,
@@ -16651,7 +16675,7 @@ class WS {
16651
16675
  }
16652
16676
  })
16653
16677
  );
16654
- }, 0), hS((r) => {
16678
+ }, 0), vS((r) => {
16655
16679
  this.recordGauge({
16656
16680
  name: "Jank",
16657
16681
  value: r.jankAmount,
@@ -16680,7 +16704,7 @@ class WS {
16680
16704
  );
16681
16705
  },
16682
16706
  { enablePromisePatch: !!this._options.enablePromisePatch }
16683
- ), PS((r) => {
16707
+ ), kS((r) => {
16684
16708
  const { name: i, value: o } = r, { hostname: a, pathname: u, href: c } = window.location, s = {
16685
16709
  group: window.location.pathname,
16686
16710
  category: it.WebVital,
@@ -16722,9 +16746,9 @@ class WS {
16722
16746
  value: o,
16723
16747
  attributes: s
16724
16748
  });
16725
- }), Lf((r) => {
16749
+ }), Af((r) => {
16726
16750
  this.submitViewportMetrics(r);
16727
- }), IS((r) => {
16751
+ }), MS((r) => {
16728
16752
  const i = {
16729
16753
  category: it.Performance,
16730
16754
  group: window.location.href
@@ -16737,7 +16761,7 @@ class WS {
16737
16761
  });
16738
16762
  });
16739
16763
  }, (/* @__PURE__ */ new Date()).getTime());
16740
- const { getDeviceDetails: n } = kS();
16764
+ const { getDeviceDetails: n } = DS();
16741
16765
  n && this.recordGauge({
16742
16766
  name: Dt.DeviceMemory,
16743
16767
  value: n().deviceMemory,
@@ -16745,7 +16769,7 @@ class WS {
16745
16769
  category: it.Device,
16746
16770
  group: window.location.href
16747
16771
  }
16748
- }), this._options.enableLongtaskRecording !== !1 && FS((r) => {
16772
+ }), this._options.enableLongtaskRecording !== !1 && GS((r) => {
16749
16773
  const i = {
16750
16774
  category: it.Performance,
16751
16775
  name: r.name,
@@ -16756,7 +16780,7 @@ class WS {
16756
16780
  value: r.duration,
16757
16781
  attributes: i
16758
16782
  });
16759
- }), this._options.enableReportingObserver !== !1 && zS((r) => {
16783
+ }), this._options.enableReportingObserver !== !1 && KS((r) => {
16760
16784
  var i;
16761
16785
  const o = J(R({}, r.attributes), {
16762
16786
  [Cn]: window.location.pathname
@@ -16788,7 +16812,7 @@ class WS {
16788
16812
  return this._recordLog(t, n, r);
16789
16813
  }
16790
16814
  }
16791
- class aw extends Nf {
16815
+ class uw extends Pf {
16792
16816
  constructor(t) {
16793
16817
  super(t), C(this, "observe"), C(this, "options"), this.options = t;
16794
16818
  }
@@ -16806,7 +16830,7 @@ class aw extends Nf {
16806
16830
  );
16807
16831
  return;
16808
16832
  }
16809
- this.configureSession(t, n), this.observe = new WS(J(R({}, n), {
16833
+ this.configureSession(t, n), this.observe = new JS(J(R({}, n), {
16810
16834
  projectId: t,
16811
16835
  sessionSecureId: this.sessionSecureID
16812
16836
  })), n != null && n.manualStart || this.observe.start(), le.load(this.observe);
@@ -16849,9 +16873,9 @@ class aw extends Nf {
16849
16873
  var l, p, f, d, y, g, m, E, S;
16850
16874
  for (const j of (f = (p = (l = this.observe) == null ? void 0 : l.getHooks) == null ? void 0 : p.call(l, t)) != null ? f : [])
16851
16875
  (d = j.afterIdentify) == null || d.call(j, u, c, s);
16852
- const P = Ho(u.context);
16853
- if ((y = this.observe) == null || y.setLDContextKeyAttributes(P), s.status === "completed") {
16854
- const j = J(R({}, P), {
16876
+ const N = Ho(u.context);
16877
+ if ((y = this.observe) == null || y.setLDContextKeyAttributes(N), s.status === "completed") {
16878
+ const j = J(R({}, N), {
16855
16879
  key: (E = (m = (g = this.options) == null ? void 0 : g.contextFriendlyName) == null ? void 0 : m.call(
16856
16880
  g,
16857
16881
  u.context
@@ -16876,8 +16900,8 @@ class aw extends Nf {
16876
16900
  } : {});
16877
16901
  if (s.reason)
16878
16902
  for (const E in Fo) {
16879
- const S = E, P = s.reason[S];
16880
- P && (g[Fo[S]] = P);
16903
+ const S = E, N = s.reason[S];
16904
+ N && (g[Fo[S]] = N);
16881
16905
  }
16882
16906
  u.context && (g[af] = JSON.stringify(Ho(u.context)), g[sf] = br(u.context));
16883
16907
  const m = R(R({}, a), g);
@@ -16907,6 +16931,6 @@ class aw extends Nf {
16907
16931
  }
16908
16932
  export {
16909
16933
  le as LDObserve,
16910
- aw as default
16934
+ uw as default
16911
16935
  };
16912
16936
  //# sourceMappingURL=index.js.map