@launchdarkly/session-replay 0.1.14 → 0.1.16

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.
@@ -24,7 +24,7 @@ const Ie = (e, t, ...i) => {
24
24
  } catch {
25
25
  }
26
26
  });
27
- class xl {
27
+ let xl = class {
28
28
  constructor(t, i) {
29
29
  Fe(this, "debug"), Fe(this, "name"), this.debug = t, this.name = i;
30
30
  }
@@ -38,7 +38,7 @@ class xl {
38
38
  let i = `[${Date.now()}]`;
39
39
  this.name && (i += ` - ${this.name}`), console.warn.apply(console, [i, ...t]);
40
40
  }
41
- }
41
+ };
42
42
  class dr {
43
43
  constructor() {
44
44
  Fe(this, "_sdk"), Fe(this, "_isLoaded", !1), Fe(this, "_callBuffer", []), Fe(this, "_capacity", 1e5), Fe(this, "_droppedEvents", 0), Fe(this, "_exceededCapacity", !1), Fe(this, "_logger", new xl());
@@ -130,10 +130,10 @@ function Gu(e, t) {
130
130
  function Mi(e, t) {
131
131
  throw new Error(t);
132
132
  }
133
- function Xu(e) {
133
+ function Wu(e) {
134
134
  return typeof e == "object" && e !== null;
135
135
  }
136
- function Wu(e, t) {
136
+ function Xu(e, t) {
137
137
  throw new Error(
138
138
  "Unexpected invariant triggered."
139
139
  );
@@ -142,7 +142,7 @@ const Cu = /\r\n|[\n\r]/g;
142
142
  function ys(e, t) {
143
143
  let i = 0, n = 1;
144
144
  for (const s of e.body.matchAll(Cu)) {
145
- if (typeof s.index == "number" || Wu(), s.index >= t)
145
+ if (typeof s.index == "number" || Xu(), s.index >= t)
146
146
  break;
147
147
  i = s.index + s[0].length, n += 1;
148
148
  }
@@ -244,7 +244,7 @@ class hr extends Error {
244
244
  (n = this.nodes) === null || n === void 0 ? void 0 : n.map((b) => b.loc).filter((b) => b != null)
245
245
  );
246
246
  this.source = o ?? (p == null || (s = p[0]) === null || s === void 0 ? void 0 : s.source), this.positions = a ?? p?.map((b) => b.start), this.locations = a && o ? a.map((b) => ys(o, b)) : p?.map((b) => ys(b.source, b.start));
247
- const m = Xu(
247
+ const m = Wu(
248
248
  u?.extensions
249
249
  ) ? u?.extensions : void 0;
250
250
  this.extensions = (r = h ?? m) !== null && r !== void 0 ? r : /* @__PURE__ */ Object.create(null), Object.defineProperties(this, {
@@ -568,10 +568,10 @@ let Ju = class {
568
568
  function Yu(e) {
569
569
  return e === g.BANG || e === g.DOLLAR || e === g.AMP || e === g.PAREN_L || e === g.PAREN_R || e === g.SPREAD || e === g.COLON || e === g.EQUALS || e === g.AT || e === g.BRACKET_L || e === g.BRACKET_R || e === g.BRACE_L || e === g.PIPE || e === g.BRACE_R;
570
570
  }
571
- function Wt(e) {
571
+ function Xt(e) {
572
572
  return e >= 0 && e <= 55295 || e >= 57344 && e <= 1114111;
573
573
  }
574
- function Xn(e, t) {
574
+ function Wn(e, t) {
575
575
  return Kl(e.charCodeAt(t)) && Ol(e.charCodeAt(t + 1));
576
576
  }
577
577
  function Kl(e) {
@@ -654,7 +654,7 @@ function Uu(e, t) {
654
654
  throw ae(
655
655
  e.source,
656
656
  s,
657
- r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Wt(r) || Xn(i, s) ? `Unexpected character: ${et(e, s)}.` : `Invalid character: ${et(e, s)}.`
657
+ r === 39 ? `Unexpected single quote character ('), did you mean to use a double quote (")?` : Xt(r) || Wn(i, s) ? `Unexpected character: ${et(e, s)}.` : `Invalid character: ${et(e, s)}.`
658
658
  );
659
659
  }
660
660
  return oe(e, g.EOF, n, n);
@@ -666,9 +666,9 @@ function Fu(e, t) {
666
666
  const r = i.charCodeAt(s);
667
667
  if (r === 10 || r === 13)
668
668
  break;
669
- if (Wt(r))
669
+ if (Xt(r))
670
670
  ++s;
671
- else if (Xn(i, s))
671
+ else if (Wn(i, s))
672
672
  s += 2;
673
673
  else
674
674
  break;
@@ -744,9 +744,9 @@ function Ou(e, t) {
744
744
  }
745
745
  if (o === 10 || o === 13)
746
746
  break;
747
- if (Wt(o))
747
+ if (Xt(o))
748
748
  ++s;
749
- else if (Xn(i, s))
749
+ else if (Wn(i, s))
750
750
  s += 2;
751
751
  else
752
752
  throw ae(
@@ -766,7 +766,7 @@ function Mu(e, t) {
766
766
  for (; s < 12; ) {
767
767
  const r = i.charCodeAt(t + s++);
768
768
  if (r === 125) {
769
- if (s < 5 || !Wt(n))
769
+ if (s < 5 || !Xt(n))
770
770
  break;
771
771
  return {
772
772
  value: String.fromCodePoint(n),
@@ -787,7 +787,7 @@ function Mu(e, t) {
787
787
  }
788
788
  function Eu(e, t) {
789
789
  const i = e.source.body, n = qr(i, t + 2);
790
- if (Wt(n))
790
+ if (Xt(n))
791
791
  return {
792
792
  value: String.fromCodePoint(n),
793
793
  size: 6
@@ -893,9 +893,9 @@ function zu(e, t) {
893
893
  o += i.slice(l, r), a.push(o), c === 13 && i.charCodeAt(r + 1) === 10 ? r += 2 : ++r, o = "", l = r, s = r;
894
894
  continue;
895
895
  }
896
- if (Wt(c))
896
+ if (Xt(c))
897
897
  ++r;
898
- else if (Xn(i, r))
898
+ else if (Wn(i, r))
899
899
  r += 2;
900
900
  else
901
901
  throw ae(
@@ -929,9 +929,9 @@ function Pu(e, t) {
929
929
  }
930
930
  const Bu = 10, Ml = 2;
931
931
  function pr(e) {
932
- return Wn(e, []);
932
+ return Xn(e, []);
933
933
  }
934
- function Wn(e, t) {
934
+ function Xn(e, t) {
935
935
  switch (typeof e) {
936
936
  case "string":
937
937
  return JSON.stringify(e);
@@ -952,7 +952,7 @@ function Du(e, t) {
952
952
  if (ju(e)) {
953
953
  const n = e.toJSON();
954
954
  if (n !== e)
955
- return typeof n == "string" ? n : Wn(n, i);
955
+ return typeof n == "string" ? n : Xn(n, i);
956
956
  } else if (Array.isArray(e))
957
957
  return Au(e, i);
958
958
  return Qu(e, i);
@@ -963,7 +963,7 @@ function ju(e) {
963
963
  function Qu(e, t) {
964
964
  const i = Object.entries(e);
965
965
  return i.length === 0 ? "{}" : t.length > Ml ? "[" + _u(e) + "]" : "{ " + i.map(
966
- ([n, s]) => n + ": " + Wn(s, t)
966
+ ([n, s]) => n + ": " + Xn(s, t)
967
967
  ).join(", ") + " }";
968
968
  }
969
969
  function Au(e, t) {
@@ -973,7 +973,7 @@ function Au(e, t) {
973
973
  return "[Array]";
974
974
  const i = Math.min(Bu, e.length), n = e.length - i, s = [];
975
975
  for (let r = 0; r < i; ++r)
976
- s.push(Wn(e[r], t));
976
+ s.push(Xn(e[r], t));
977
977
  return n === 1 ? s.push("... 1 more item") : n > 1 && s.push(`... ${n} more items`), "[" + s.join(", ") + "]";
978
978
  }
979
979
  function _u(e) {
@@ -2336,18 +2336,18 @@ function od(e, t, i = Yl) {
2336
2336
  if (u = m.length === 0 ? void 0 : p[p.length - 1], c = h, h = m.pop(), V)
2337
2337
  if (r) {
2338
2338
  c = c.slice();
2339
- let W = 0;
2339
+ let X = 0;
2340
2340
  for (const [G, v] of a) {
2341
- const k = G - W;
2342
- v === null ? (c.splice(k, 1), W++) : c[k] = v;
2341
+ const k = G - X;
2342
+ v === null ? (c.splice(k, 1), X++) : c[k] = v;
2343
2343
  }
2344
2344
  } else {
2345
2345
  c = Object.defineProperties(
2346
2346
  {},
2347
2347
  Object.getOwnPropertyDescriptors(c)
2348
2348
  );
2349
- for (const [W, G] of a)
2350
- c[W] = G;
2349
+ for (const [X, G] of a)
2350
+ c[X] = G;
2351
2351
  }
2352
2352
  o = s.index, l = s.keys, a = s.edits, r = s.inArray, s = s.prev;
2353
2353
  } else if (h) {
@@ -2359,8 +2359,8 @@ function od(e, t, i = Yl) {
2359
2359
  if (!Array.isArray(c)) {
2360
2360
  var b, d;
2361
2361
  $r(c) || Mi(!1, `Invalid AST Node: ${pr(c)}.`);
2362
- const W = Z ? (b = n.get(c.kind)) === null || b === void 0 ? void 0 : b.leave : (d = n.get(c.kind)) === null || d === void 0 ? void 0 : d.enter;
2363
- if (C = W?.call(t, c, u, h, p, m), C === rd)
2362
+ const X = Z ? (b = n.get(c.kind)) === null || b === void 0 ? void 0 : b.leave : (d = n.get(c.kind)) === null || d === void 0 ? void 0 : d.enter;
2363
+ if (C = X?.call(t, c, u, h, p, m), C === rd)
2364
2364
  break;
2365
2365
  if (C === !1) {
2366
2366
  if (!Z) {
@@ -2842,7 +2842,7 @@ var Is = { exports: {} };
2842
2842
  T[_] = String.fromCharCode(y[_]);
2843
2843
  return T.join("");
2844
2844
  }
2845
- function W(f) {
2845
+ function X(f) {
2846
2846
  if (f.slice)
2847
2847
  return f.slice(0);
2848
2848
  var y = new Uint8Array(f.byteLength);
@@ -2850,7 +2850,7 @@ var Is = { exports: {} };
2850
2850
  }
2851
2851
  function G() {
2852
2852
  return this.bodyUsed = !1, this._initBody = function(f) {
2853
- this._bodyInit = f, f ? typeof f == "string" ? this._bodyText = f : o.blob && Blob.prototype.isPrototypeOf(f) ? this._bodyBlob = f : o.formData && FormData.prototype.isPrototypeOf(f) ? this._bodyFormData = f : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) ? this._bodyText = f.toString() : o.arrayBuffer && o.blob && a(f) ? (this._bodyArrayBuffer = W(f.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : o.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(f) || u(f)) ? this._bodyArrayBuffer = W(f) : this._bodyText = f = Object.prototype.toString.call(f) : this._bodyText = "", this.headers.get("content-type") || (typeof f == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2853
+ this._bodyInit = f, f ? typeof f == "string" ? this._bodyText = f : o.blob && Blob.prototype.isPrototypeOf(f) ? this._bodyBlob = f : o.formData && FormData.prototype.isPrototypeOf(f) ? this._bodyFormData = f : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) ? this._bodyText = f.toString() : o.arrayBuffer && o.blob && a(f) ? (this._bodyArrayBuffer = X(f.buffer), this._bodyInit = new Blob([this._bodyArrayBuffer])) : o.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(f) || u(f)) ? this._bodyArrayBuffer = X(f) : this._bodyText = f = Object.prototype.toString.call(f) : this._bodyText = "", this.headers.get("content-type") || (typeof f == "string" ? this.headers.set("content-type", "text/plain;charset=UTF-8") : this._bodyBlob && this._bodyBlob.type ? this.headers.set("content-type", this._bodyBlob.type) : o.searchParams && URLSearchParams.prototype.isPrototypeOf(f) && this.headers.set("content-type", "application/x-www-form-urlencoded;charset=UTF-8"));
2854
2854
  }, o.blob && (this.blob = function() {
2855
2855
  var f = d(this);
2856
2856
  if (f)
@@ -2876,7 +2876,7 @@ var Is = { exports: {} };
2876
2876
  throw new Error("could not read FormData body as text");
2877
2877
  return Promise.resolve(this._bodyText);
2878
2878
  }, o.formData && (this.formData = function() {
2879
- return this.text().then(X);
2879
+ return this.text().then(W);
2880
2880
  }), this.json = function() {
2881
2881
  return this.text().then(JSON.parse);
2882
2882
  }, this;
@@ -2902,7 +2902,7 @@ var Is = { exports: {} };
2902
2902
  K.prototype.clone = function() {
2903
2903
  return new K(this, { body: this._bodyInit });
2904
2904
  };
2905
- function X(f) {
2905
+ function W(f) {
2906
2906
  var y = new FormData();
2907
2907
  return f.trim().split("&").forEach(function(T) {
2908
2908
  if (T) {
@@ -2967,16 +2967,16 @@ var Is = { exports: {} };
2967
2967
  headers: w(U.getAllResponseHeaders() || "")
2968
2968
  };
2969
2969
  ie.url = "responseURL" in U ? U.responseURL : ie.headers.get("X-Request-URL");
2970
- var We = "response" in U ? U.response : U.responseText;
2971
- T(new Y(We, ie));
2970
+ var Xe = "response" in U ? U.response : U.responseText;
2971
+ T(new Y(Xe, ie));
2972
2972
  }, U.onerror = function() {
2973
2973
  _(new TypeError("Network request failed"));
2974
2974
  }, U.ontimeout = function() {
2975
2975
  _(new TypeError("Network request failed"));
2976
2976
  }, U.onabort = function() {
2977
2977
  _(new l.DOMException("Aborted", "AbortError"));
2978
- }, U.open(B.method, B.url, !0), B.credentials === "include" ? U.withCredentials = !0 : B.credentials === "omit" && (U.withCredentials = !1), "responseType" in U && o.blob && (U.responseType = "blob"), B.headers.forEach(function(ie, We) {
2979
- U.setRequestHeader(We, ie);
2978
+ }, U.open(B.method, B.url, !0), B.credentials === "include" ? U.withCredentials = !0 : B.credentials === "omit" && (U.withCredentials = !1), "responseType" in U && o.blob && (U.responseType = "blob"), B.headers.forEach(function(ie, Xe) {
2979
+ U.setRequestHeader(Xe, ie);
2980
2980
  }), B.signal && (B.signal.addEventListener("abort", $), U.onreadystatechange = function() {
2981
2981
  U.readyState === 4 && B.signal.removeEventListener("abort", $);
2982
2982
  }), U.send(typeof B._bodyInit > "u" ? null : B._bodyInit);
@@ -3176,14 +3176,14 @@ var tn = function() {
3176
3176
  function Ql(e) {
3177
3177
  return e.replace(/[\s,]+/g, " ").trim();
3178
3178
  }
3179
- function Xd(e) {
3179
+ function Wd(e) {
3180
3180
  return Ql(e.source.body.substring(e.start, e.end));
3181
3181
  }
3182
- function Wd(e) {
3182
+ function Xd(e) {
3183
3183
  var t = /* @__PURE__ */ new Set(), i = [];
3184
3184
  return e.definitions.forEach(function(n) {
3185
3185
  if (n.kind === "FragmentDefinition") {
3186
- var s = n.name.value, r = Xd(n.loc), l = Vs.get(s);
3186
+ var s = n.name.value, r = Wd(n.loc), l = Vs.get(s);
3187
3187
  l && !l.has(r) ? jl && console.warn("Warning: fragment with name " + s + ` already exists.
3188
3188
  graphql-tag enforces all fragment names across your application to be unique; read more about
3189
3189
  this in the docs: http://dev.apollodata.com/core/fragments.html#unique-names`) : l || Vs.set(s, l = /* @__PURE__ */ new Set()), l.add(r), t.has(r) || (t.add(r), i.push(n));
@@ -3211,7 +3211,7 @@ function Rd(e) {
3211
3211
  });
3212
3212
  if (!i || i.kind !== "Document")
3213
3213
  throw new Error("Not a valid GraphQL document.");
3214
- Pi.set(t, Cd(Wd(i)));
3214
+ Pi.set(t, Cd(Xd(i)));
3215
3215
  }
3216
3216
  return Pi.get(t);
3217
3217
  }
@@ -3679,8 +3679,8 @@ function Gs(e, t) {
3679
3679
  }
3680
3680
  );
3681
3681
  }
3682
- var An = Gs(_d, { path: "/" }), Xs = /* @__PURE__ */ ((e) => (e.CLIENT_ID = "highlightClientID", e))(Xs || {});
3683
- let br = "localStorage", Ws = !0, $d = class {
3682
+ var An = Gs(_d, { path: "/" }), Ws = /* @__PURE__ */ ((e) => (e.CLIENT_ID = "highlightClientID", e))(Ws || {});
3683
+ let br = "localStorage", Xs = !0, $d = class {
3684
3684
  constructor() {
3685
3685
  Dt(this, "storage", {});
3686
3686
  }
@@ -3700,13 +3700,13 @@ let br = "localStorage", Ws = !0, $d = class {
3700
3700
  return (i = An.get(t)) != null ? i : "";
3701
3701
  }
3702
3702
  setItem(t, i) {
3703
- if (!Ws)
3703
+ if (!Xs)
3704
3704
  return;
3705
3705
  const n = /* @__PURE__ */ new Date();
3706
3706
  n.setTime(n.getTime() + $l), An.set(t, i, { expires: n });
3707
3707
  }
3708
3708
  removeItem(t) {
3709
- Ws && An.remove(t);
3709
+ Xs && An.remove(t);
3710
3710
  }
3711
3711
  };
3712
3712
  const Cn = new $d(), sn = new qd(), fr = () => {
@@ -3723,7 +3723,7 @@ const Cn = new $d(), sn = new qd(), fr = () => {
3723
3723
  }, eh = (e) => {
3724
3724
  br = e;
3725
3725
  }, oo = (e) => {
3726
- Ws = e;
3726
+ Xs = e;
3727
3727
  }, Ve = (e) => {
3728
3728
  try {
3729
3729
  return fr().getItem(e);
@@ -4032,7 +4032,7 @@ const Gh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4032
4032
  return Ze;
4033
4033
  }
4034
4034
  }, Symbol.toStringTag, { value: "Module" }));
4035
- var Xh = (e, t, i) => new Promise((n, s) => {
4035
+ var Wh = (e, t, i) => new Promise((n, s) => {
4036
4036
  var r = (a) => {
4037
4037
  try {
4038
4038
  o(i.next(a));
@@ -4053,7 +4053,7 @@ class uo extends dr {
4053
4053
  return this._isLoaded ? this._bufferCall("getSession", []) : null;
4054
4054
  }
4055
4055
  start(t) {
4056
- return Xh(this, null, function* () {
4056
+ return Wh(this, null, function* () {
4057
4057
  return this._bufferCall("start", [t]);
4058
4058
  });
4059
4059
  }
@@ -4072,7 +4072,7 @@ class uo extends dr {
4072
4072
  }
4073
4073
  let Ft;
4074
4074
  typeof globalThis < "u" ? globalThis.LDRecord ? Ft = globalThis.LDRecord : (Ft = new uo(), globalThis.LDRecord = Ft) : Ft = new uo();
4075
- var Wh = Object.defineProperty, Ch = Object.defineProperties, Rh = Object.getOwnPropertyDescriptors, rn = Object.getOwnPropertySymbols, sa = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, ws = (e, t, i) => t in e ? Wh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, F = (e, t) => {
4075
+ var Xh = Object.defineProperty, Ch = Object.defineProperties, Rh = Object.getOwnPropertyDescriptors, rn = Object.getOwnPropertySymbols, sa = Object.prototype.hasOwnProperty, ra = Object.prototype.propertyIsEnumerable, ws = (e, t, i) => t in e ? Xh(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, F = (e, t) => {
4076
4076
  for (var i in t || (t = {}))
4077
4077
  sa.call(t, i) && ws(e, i, t[i]);
4078
4078
  if (rn)
@@ -4686,7 +4686,7 @@ function fa(e, t, i, n) {
4686
4686
  }
4687
4687
  return !1;
4688
4688
  }
4689
- function Xp(e, t, i) {
4689
+ function Wp(e, t, i) {
4690
4690
  const n = e.contentWindow;
4691
4691
  if (!n)
4692
4692
  return;
@@ -4710,7 +4710,7 @@ function Xp(e, t, i) {
4710
4710
  return setTimeout(t, 0), e.addEventListener("load", t);
4711
4711
  e.addEventListener("load", t);
4712
4712
  }
4713
- function Wp(e, t, i) {
4713
+ function Xp(e, t, i) {
4714
4714
  let n = !1, s;
4715
4715
  try {
4716
4716
  s = e.sheet;
@@ -4745,7 +4745,7 @@ function Cp(e, t) {
4745
4745
  newlyAddedElement: Z = !1,
4746
4746
  cssCaptured: V = !1,
4747
4747
  privacySetting: C
4748
- } = t, W = Rp(i, n);
4748
+ } = t, X = Rp(i, n);
4749
4749
  switch (e.nodeType) {
4750
4750
  case e.DOCUMENT_NODE:
4751
4751
  return e.compatMode !== "CSS1Compat" ? {
@@ -4763,7 +4763,7 @@ function Cp(e, t) {
4763
4763
  name: e.name,
4764
4764
  publicId: e.publicId,
4765
4765
  systemId: e.systemId,
4766
- rootId: W
4766
+ rootId: X
4767
4767
  };
4768
4768
  case e.ELEMENT_NODE:
4769
4769
  return vp(e, {
@@ -4781,7 +4781,7 @@ function Cp(e, t) {
4781
4781
  keepIframeSrcFn: I,
4782
4782
  newlyAddedElement: Z,
4783
4783
  privacySetting: C,
4784
- rootId: W
4784
+ rootId: X
4785
4785
  });
4786
4786
  case e.TEXT_NODE:
4787
4787
  return wp(e, {
@@ -4789,20 +4789,20 @@ function Cp(e, t) {
4789
4789
  needsMask: l,
4790
4790
  maskTextFn: u,
4791
4791
  privacySetting: C,
4792
- rootId: W,
4792
+ rootId: X,
4793
4793
  cssCaptured: V
4794
4794
  });
4795
4795
  case e.CDATA_SECTION_NODE:
4796
4796
  return {
4797
4797
  type: le.CDATA,
4798
4798
  textContent: "",
4799
- rootId: W
4799
+ rootId: X
4800
4800
  };
4801
4801
  case e.COMMENT_NODE:
4802
4802
  return {
4803
4803
  type: le.Comment,
4804
4804
  textContent: ce.textContent(e) || "",
4805
- rootId: W
4805
+ rootId: X
4806
4806
  };
4807
4807
  default:
4808
4808
  return !1;
@@ -4854,45 +4854,45 @@ function vp(e, t) {
4854
4854
  } = t;
4855
4855
  let Z = Zo(e, n, s);
4856
4856
  const V = Zo(e, a, null), C = d === "strict";
4857
- let W = Zp(e), G = {};
4857
+ let X = Zp(e), G = {};
4858
4858
  const v = e.attributes.length;
4859
- for (let X = 0; X < v; X++) {
4860
- const w = e.attributes[X];
4861
- ba(W, w.name) || (G[w.name] = ma(
4859
+ for (let W = 0; W < v; W++) {
4860
+ const w = e.attributes[W];
4861
+ ba(X, w.name) || (G[w.name] = ma(
4862
4862
  i,
4863
- W,
4863
+ X,
4864
4864
  yt(w.name),
4865
4865
  w.value
4866
4866
  ));
4867
4867
  }
4868
- if (W === "link" && r) {
4869
- const X = Array.from(i.styleSheets).find((Y) => Y.href === e.href);
4868
+ if (X === "link" && r) {
4869
+ const W = Array.from(i.styleSheets).find((Y) => Y.href === e.href);
4870
4870
  let w = null;
4871
- X && (w = vs(X)), w && (delete G.rel, delete G.href, G._cssText = w);
4871
+ W && (w = vs(W)), w && (delete G.rel, delete G.href, G._cssText = w);
4872
4872
  }
4873
- if (W === "style" && e.sheet) {
4874
- let X = vs(
4873
+ if (X === "style" && e.sheet) {
4874
+ let W = vs(
4875
4875
  e.sheet
4876
4876
  );
4877
- X && (e.childNodes.length > 1 && (X = ap(X, e)), G._cssText = X);
4877
+ W && (e.childNodes.length > 1 && (W = ap(W, e)), G._cssText = W);
4878
4878
  }
4879
- if (W === "input" || W === "textarea" || W === "select") {
4880
- const X = e.value, w = e.checked;
4881
- G.type !== "radio" && G.type !== "checkbox" && G.type !== "submit" && G.type !== "button" && X ? G.value = on({
4879
+ if (X === "input" || X === "textarea" || X === "select") {
4880
+ const W = e.value, w = e.checked;
4881
+ G.type !== "radio" && G.type !== "checkbox" && G.type !== "submit" && G.type !== "button" && W ? G.value = on({
4882
4882
  element: e,
4883
4883
  type: ln(e),
4884
- tagName: W,
4885
- value: X,
4884
+ tagName: X,
4885
+ value: W,
4886
4886
  overwriteRecord: e.getAttribute("data-hl-record"),
4887
4887
  maskInputOptions: l,
4888
4888
  maskInputFn: o
4889
4889
  }) : w && (G.checked = w);
4890
4890
  }
4891
- if (W === "option" && (e.selected && !l.select ? G.selected = !0 : delete G.selected), W === "dialog" && e.open && (G.rr_open_mode = e.matches("dialog:modal") ? "modal" : "non-modal"), W === "canvas" && p) {
4891
+ if (X === "option" && (e.selected && !l.select ? G.selected = !0 : delete G.selected), X === "dialog" && e.open && (G.rr_open_mode = e.matches("dialog:modal") ? "modal" : "non-modal"), X === "canvas" && p) {
4892
4892
  if (e.__context === "2d")
4893
4893
  tp(e);
4894
4894
  else if (!("__context" in e)) {
4895
- const X = e.toDataURL(
4895
+ const W = e.toDataURL(
4896
4896
  c.type,
4897
4897
  c.quality
4898
4898
  ), w = i.createElement("canvas");
@@ -4901,51 +4901,51 @@ function vp(e, t) {
4901
4901
  c.type,
4902
4902
  c.quality
4903
4903
  );
4904
- X !== Y && (G.rr_dataURL = X);
4904
+ W !== Y && (G.rr_dataURL = W);
4905
4905
  }
4906
4906
  }
4907
- if (W === "img" && u && !Z && !V && !C) {
4907
+ if (X === "img" && u && !Z && !V && !C) {
4908
4908
  ot || (ot = i.createElement("canvas"), yo = ot.getContext("2d"));
4909
- const X = e, w = X.currentSrc || X.getAttribute("src") || "<unknown-src>", Y = X.crossOrigin, ee = () => {
4910
- X.removeEventListener("load", ee);
4909
+ const W = e, w = W.currentSrc || W.getAttribute("src") || "<unknown-src>", Y = W.crossOrigin, ee = () => {
4910
+ W.removeEventListener("load", ee);
4911
4911
  try {
4912
- ot.width = X.naturalWidth, ot.height = X.naturalHeight, yo.drawImage(X, 0, 0), G.rr_dataURL = ot.toDataURL(
4912
+ ot.width = W.naturalWidth, ot.height = W.naturalHeight, yo.drawImage(W, 0, 0), G.rr_dataURL = ot.toDataURL(
4913
4913
  c.type,
4914
4914
  c.quality
4915
4915
  );
4916
4916
  } catch (te) {
4917
- if (X.crossOrigin !== "anonymous") {
4918
- X.crossOrigin = "anonymous", X.complete && X.naturalWidth !== 0 ? ee() : X.addEventListener("load", ee);
4917
+ if (W.crossOrigin !== "anonymous") {
4918
+ W.crossOrigin = "anonymous", W.complete && W.naturalWidth !== 0 ? ee() : W.addEventListener("load", ee);
4919
4919
  return;
4920
4920
  } else
4921
4921
  console.warn(
4922
4922
  `Cannot inline img src=${w}! Error: ${te}`
4923
4923
  );
4924
4924
  }
4925
- X.crossOrigin === "anonymous" && (Y ? G.crossOrigin = Y : X.removeAttribute("crossorigin"));
4925
+ W.crossOrigin === "anonymous" && (Y ? G.crossOrigin = Y : W.removeAttribute("crossorigin"));
4926
4926
  };
4927
- X.complete && X.naturalWidth !== 0 ? ee() : X.addEventListener("load", ee);
4927
+ W.complete && W.naturalWidth !== 0 ? ee() : W.addEventListener("load", ee);
4928
4928
  }
4929
- if (W === "audio" || W === "video") {
4930
- const X = G;
4931
- X.rr_mediaState = e.paused ? "paused" : "played", X.rr_mediaCurrentTime = e.currentTime, X.rr_mediaPlaybackRate = e.playbackRate, X.rr_mediaMuted = e.muted, X.rr_mediaLoop = e.loop, X.rr_mediaVolume = e.volume;
4929
+ if (X === "audio" || X === "video") {
4930
+ const W = G;
4931
+ W.rr_mediaState = e.paused ? "paused" : "played", W.rr_mediaCurrentTime = e.currentTime, W.rr_mediaPlaybackRate = e.playbackRate, W.rr_mediaMuted = e.muted, W.rr_mediaLoop = e.loop, W.rr_mediaVolume = e.volume;
4932
4932
  }
4933
- if (b || (e.scrollLeft && (G.rr_scrollLeft = e.scrollLeft), e.scrollTop && (G.rr_scrollTop = e.scrollTop)), Z || V || C && ks(W)) {
4934
- const { width: X, height: w } = e.getBoundingClientRect();
4933
+ if (b || (e.scrollLeft && (G.rr_scrollLeft = e.scrollLeft), e.scrollTop && (G.rr_scrollTop = e.scrollTop)), Z || V || C && ks(X)) {
4934
+ const { width: W, height: w } = e.getBoundingClientRect();
4935
4935
  G = {
4936
4936
  class: G.class,
4937
- rr_width: `${X}px`,
4937
+ rr_width: `${W}px`,
4938
4938
  rr_height: `${w}px`
4939
4939
  };
4940
4940
  }
4941
- C && ks(W) && (Z = !0), W === "iframe" && !m(G.src) && (e.contentDocument || (G.rr_src = G.src), delete G.src);
4941
+ C && ks(X) && (Z = !0), X === "iframe" && !m(G.src) && (e.contentDocument || (G.rr_src = G.src), delete G.src);
4942
4942
  let k;
4943
4943
  try {
4944
- customElements.get(W) && (k = !0);
4944
+ customElements.get(X) && (k = !0);
4945
4945
  } catch {
4946
4946
  }
4947
- const K = (X) => {
4948
- const { width: w, height: Y } = X.getBoundingClientRect();
4947
+ const K = (W) => {
4948
+ const { width: w, height: Y } = W.getBoundingClientRect();
4949
4949
  G = {
4950
4950
  width: w,
4951
4951
  height: Y,
@@ -4954,20 +4954,20 @@ function vp(e, t) {
4954
4954
  rr_inlined_video: !0,
4955
4955
  class: G.class,
4956
4956
  style: G.style
4957
- }, W = "canvas";
4957
+ }, X = "canvas";
4958
4958
  const ee = i.createElement("canvas");
4959
4959
  ee.width = e.width, ee.height = e.height, G.rr_dataURL = ee.toDataURL(
4960
4960
  c.type,
4961
4961
  c.quality
4962
4962
  );
4963
4963
  };
4964
- if (W === "video") {
4965
- const X = e;
4966
- u && (X.src === "" || X.src.indexOf("blob:") !== -1) && K(X), h && X.src !== "" && X.src.indexOf("blob:") === -1 && K(X);
4964
+ if (X === "video") {
4965
+ const W = e;
4966
+ u && (W.src === "" || W.src.indexOf("blob:") !== -1) && K(W), h && W.src !== "" && W.src.indexOf("blob:") === -1 && K(W);
4967
4967
  }
4968
4968
  return {
4969
4969
  type: le.Element,
4970
- tagName: W,
4970
+ tagName: X,
4971
4971
  attributes: G,
4972
4972
  childNodes: [],
4973
4973
  isSVG: Gp(e) || void 0,
@@ -5009,12 +5009,12 @@ function dt(e, t) {
5009
5009
  recordCanvas: Z = !1,
5010
5010
  onSerialize: V,
5011
5011
  onIframeLoad: C,
5012
- iframeLoadTimeout: W = 5e3,
5012
+ iframeLoadTimeout: X = 5e3,
5013
5013
  onStylesheetLoad: G,
5014
5014
  stylesheetLoadTimeout: v = 5e3,
5015
5015
  keepIframeSrcFn: k = () => !1,
5016
5016
  newlyAddedElement: K = !1,
5017
- cssCaptured: X = !1,
5017
+ cssCaptured: W = !1,
5018
5018
  privacySetting: w
5019
5019
  } = t;
5020
5020
  let { needsMask: Y } = t, { preserveWhiteSpace: ee = !0 } = t;
@@ -5041,7 +5041,7 @@ function dt(e, t) {
5041
5041
  recordCanvas: Z,
5042
5042
  keepIframeSrcFn: k,
5043
5043
  newlyAddedElement: K,
5044
- cssCaptured: X,
5044
+ cssCaptured: W,
5045
5045
  privacySetting: w
5046
5046
  });
5047
5047
  if (!te)
@@ -5085,7 +5085,7 @@ function dt(e, t) {
5085
5085
  preserveWhiteSpace: ee,
5086
5086
  onSerialize: V,
5087
5087
  onIframeLoad: C,
5088
- iframeLoadTimeout: W,
5088
+ iframeLoadTimeout: X,
5089
5089
  onStylesheetLoad: G,
5090
5090
  stylesheetLoadTimeout: v,
5091
5091
  keepIframeSrcFn: k,
@@ -5094,20 +5094,20 @@ function dt(e, t) {
5094
5094
  };
5095
5095
  if (!(y.type === le.Element && y.tagName === "textarea" && y.attributes.value !== void 0)) {
5096
5096
  y.type === le.Element && y.attributes._cssText !== void 0 && typeof y.attributes._cssText == "string" && ($.cssCaptured = !0);
5097
- for (const We of Array.from(ce.childNodes(e))) {
5098
- const He = dt(We, $);
5097
+ for (const Xe of Array.from(ce.childNodes(e))) {
5098
+ const He = dt(Xe, $);
5099
5099
  He && y.childNodes.push(He);
5100
5100
  }
5101
5101
  }
5102
5102
  let ie = null;
5103
5103
  if (la(e) && (ie = ce.shadowRoot(e)))
5104
- for (const We of Array.from(ce.childNodes(ie))) {
5105
- const He = dt(We, $);
5104
+ for (const Xe of Array.from(ce.childNodes(ie))) {
5105
+ const He = dt(Xe, $);
5106
5106
  He && (Ht(ie) && (He.isShadow = !0), y.childNodes.push(He));
5107
5107
  }
5108
5108
  }
5109
5109
  const U = ce.parentNode(e);
5110
- return U && Et(U) && Ht(U) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" && Xp(
5110
+ return U && Et(U) && Ht(U) && (y.isShadow = !0), y.type === le.Element && y.tagName === "iframe" && Wp(
5111
5111
  e,
5112
5112
  () => {
5113
5113
  const $ = e.contentDocument;
@@ -5133,7 +5133,7 @@ function dt(e, t) {
5133
5133
  preserveWhiteSpace: ee,
5134
5134
  onSerialize: V,
5135
5135
  onIframeLoad: C,
5136
- iframeLoadTimeout: W,
5136
+ iframeLoadTimeout: X,
5137
5137
  onStylesheetLoad: G,
5138
5138
  stylesheetLoadTimeout: v,
5139
5139
  keepIframeSrcFn: k,
@@ -5145,8 +5145,8 @@ function dt(e, t) {
5145
5145
  );
5146
5146
  }
5147
5147
  },
5148
- W
5149
- ), y.type === le.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ua(y.attributes.href) === "css") && Wp(
5148
+ X
5149
+ ), y.type === le.Element && y.tagName === "link" && typeof y.attributes.rel == "string" && (y.attributes.rel === "stylesheet" || y.attributes.rel === "preload" && typeof y.attributes.href == "string" && ua(y.attributes.href) === "css") && Xp(
5150
5150
  e,
5151
5151
  () => {
5152
5152
  if (G) {
@@ -5171,7 +5171,7 @@ function dt(e, t) {
5171
5171
  preserveWhiteSpace: ee,
5172
5172
  onSerialize: V,
5173
5173
  onIframeLoad: C,
5174
- iframeLoadTimeout: W,
5174
+ iframeLoadTimeout: X,
5175
5175
  onStylesheetLoad: G,
5176
5176
  stylesheetLoadTimeout: v,
5177
5177
  keepIframeSrcFn: k,
@@ -5206,7 +5206,7 @@ function xp(e, t) {
5206
5206
  onSerialize: Z,
5207
5207
  onIframeLoad: V,
5208
5208
  iframeLoadTimeout: C,
5209
- onStylesheetLoad: W,
5209
+ onStylesheetLoad: X,
5210
5210
  stylesheetLoadTimeout: G,
5211
5211
  keepIframeSrcFn: v = () => !1,
5212
5212
  privacySetting: k = "default"
@@ -5266,7 +5266,7 @@ function xp(e, t) {
5266
5266
  onSerialize: Z,
5267
5267
  onIframeLoad: V,
5268
5268
  iframeLoadTimeout: C,
5269
- onStylesheetLoad: W,
5269
+ onStylesheetLoad: X,
5270
5270
  stylesheetLoadTimeout: G,
5271
5271
  keepIframeSrcFn: v,
5272
5272
  newlyAddedElement: !1,
@@ -5795,7 +5795,7 @@ let Hp = vn, Us = class extends Hp {
5795
5795
  };
5796
5796
  var xn = Us;
5797
5797
  Us.default = Us;
5798
- let Ia = kn, Sa = xn, zp = vn, { isClean: Va, my: Ga } = oi, Vr, Xa, Wa, Gr;
5798
+ let Ia = kn, Sa = xn, zp = vn, { isClean: Va, my: Ga } = oi, Vr, Wa, Xa, Gr;
5799
5799
  function Ca(e) {
5800
5800
  return e.map((t) => (t.nodes && (t.nodes = Ca(t.nodes)), delete t.source, t));
5801
5801
  }
@@ -5880,7 +5880,7 @@ let Me = class wa extends zp {
5880
5880
  }
5881
5881
  normalize(t, i) {
5882
5882
  if (typeof t == "string")
5883
- t = Ca(Xa(t).nodes);
5883
+ t = Ca(Wa(t).nodes);
5884
5884
  else if (typeof t > "u")
5885
5885
  t = [];
5886
5886
  else if (Array.isArray(t)) {
@@ -5994,7 +5994,7 @@ let Me = class wa extends zp {
5994
5994
  }
5995
5995
  };
5996
5996
  Me.registerParse = (e) => {
5997
- Xa = e;
5997
+ Wa = e;
5998
5998
  };
5999
5999
  Me.registerRule = (e) => {
6000
6000
  Gr = e;
@@ -6003,12 +6003,12 @@ Me.registerAtRule = (e) => {
6003
6003
  Vr = e;
6004
6004
  };
6005
6005
  Me.registerRoot = (e) => {
6006
- Wa = e;
6006
+ Xa = e;
6007
6007
  };
6008
6008
  var tt = Me;
6009
6009
  Me.default = Me;
6010
6010
  Me.rebuild = (e) => {
6011
- e.type === "atrule" ? Object.setPrototypeOf(e, Vr.prototype) : e.type === "rule" ? Object.setPrototypeOf(e, Gr.prototype) : e.type === "decl" ? Object.setPrototypeOf(e, Sa.prototype) : e.type === "comment" ? Object.setPrototypeOf(e, Ia.prototype) : e.type === "root" && Object.setPrototypeOf(e, Wa.prototype), e[Ga] = !0, e.nodes && e.nodes.forEach((t) => {
6011
+ e.type === "atrule" ? Object.setPrototypeOf(e, Vr.prototype) : e.type === "rule" ? Object.setPrototypeOf(e, Gr.prototype) : e.type === "decl" ? Object.setPrototypeOf(e, Sa.prototype) : e.type === "comment" ? Object.setPrototypeOf(e, Ia.prototype) : e.type === "root" && Object.setPrototypeOf(e, Xa.prototype), e[Ga] = !0, e.nodes && e.nodes.forEach((t) => {
6012
6012
  Me.rebuild(t);
6013
6013
  });
6014
6014
  };
@@ -6023,7 +6023,7 @@ let va = tt, dn = class extends va {
6023
6023
  return this.proxyOf.nodes || (this.nodes = []), super.prepend(...e);
6024
6024
  }
6025
6025
  };
6026
- var Xr = dn;
6026
+ var Wr = dn;
6027
6027
  dn.default = dn;
6028
6028
  va.registerAtRule(dn);
6029
6029
  let Pp = tt, ka, xa, At = class extends Pp {
@@ -6040,7 +6040,7 @@ At.registerLazyResult = (e) => {
6040
6040
  At.registerProcessor = (e) => {
6041
6041
  xa = e;
6042
6042
  };
6043
- var Wr = At;
6043
+ var Xr = At;
6044
6044
  At.default = At;
6045
6045
  let Bp = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Dp = (e = 21) => {
6046
6046
  let t = "", i = e | 0;
@@ -6049,7 +6049,7 @@ let Bp = "useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict", Dp
6049
6049
  return t;
6050
6050
  };
6051
6051
  var jp = { nanoid: Dp };
6052
- let { existsSync: Qp, readFileSync: Ap } = ve, { dirname: qn, join: _p } = ve, { SourceMapConsumer: Go, SourceMapGenerator: Xo } = ve;
6052
+ let { existsSync: Qp, readFileSync: Ap } = ve, { dirname: qn, join: _p } = ve, { SourceMapConsumer: Go, SourceMapGenerator: Wo } = ve;
6053
6053
  function $p(e) {
6054
6054
  return Buffer ? Buffer.from(e, "base64").toString() : window.atob(e);
6055
6055
  }
@@ -6106,8 +6106,8 @@ let Fs = class {
6106
6106
  }
6107
6107
  } else {
6108
6108
  if (t instanceof Go)
6109
- return Xo.fromSourceMap(t).toString();
6110
- if (t instanceof Xo)
6109
+ return Wo.fromSourceMap(t).toString();
6110
+ if (t instanceof Wo)
6111
6111
  return t.toString();
6112
6112
  if (this.isMap(t))
6113
6113
  return JSON.stringify(t);
@@ -6133,7 +6133,7 @@ let Fs = class {
6133
6133
  };
6134
6134
  var Ta = Fs;
6135
6135
  Fs.default = Fs;
6136
- let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsumer: em, SourceMapGenerator: tm } = ve, { fileURLToPath: Wo, pathToFileURL: Ii } = ve, Co = Sr, im = Ta, es = ve, ts = Symbol("fromOffsetCache"), nm = !!(em && tm), Ro = !!(Os && Ks), hn = class {
6136
+ let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsumer: em, SourceMapGenerator: tm } = ve, { fileURLToPath: Xo, pathToFileURL: Ii } = ve, Co = Sr, im = Ta, es = ve, ts = Symbol("fromOffsetCache"), nm = !!(em && tm), Ro = !!(Os && Ks), hn = class {
6137
6137
  get from() {
6138
6138
  return this.file || this.id;
6139
6139
  }
@@ -6241,8 +6241,8 @@ let { nanoid: qp } = jp, { isAbsolute: Ks, resolve: Os } = ve, { SourceMapConsum
6241
6241
  url: o.toString()
6242
6242
  };
6243
6243
  if (o.protocol === "file:")
6244
- if (Wo)
6245
- a.file = Wo(o);
6244
+ if (Xo)
6245
+ a.file = Xo(o);
6246
6246
  else
6247
6247
  throw new Error("file: protocol is not available in this PostCSS build");
6248
6248
  let c = s.sourceContentFor(r.source);
@@ -6323,7 +6323,7 @@ let Ua = tt, sm = Ya, pn = class extends Ua {
6323
6323
  var Cr = pn;
6324
6324
  pn.default = pn;
6325
6325
  Ua.registerRule(pn);
6326
- let rm = Xr, om = kn, lm = xn, am = Tn, cm = Ta, um = li, dm = Cr;
6326
+ let rm = Wr, om = kn, lm = xn, am = Tn, cm = Ta, um = li, dm = Cr;
6327
6327
  function $t(e, t) {
6328
6328
  if (Array.isArray(e)) return e.map((r) => $t(r));
6329
6329
  let i = e, { inputs: n } = i, s = ft(i, ["inputs"]);
@@ -6514,7 +6514,7 @@ let { dirname: Di, relative: Fa, resolve: Ka, sep: Oa } = ve, { SourceMapConsume
6514
6514
  }
6515
6515
  };
6516
6516
  var Ea = fm;
6517
- const is = 39, vo = 34, Si = 92, ko = 47, Vi = 10, xt = 32, Gi = 12, Xi = 9, Wi = 13, ym = 91, gm = 93, Zm = 40, Im = 41, Sm = 123, Vm = 125, Gm = 59, Xm = 42, Wm = 58, Cm = 64, Ci = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ri = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Rm = /.[\r\n"'(/\\]/, xo = /[\da-f]/i;
6517
+ const is = 39, vo = 34, Si = 92, ko = 47, Vi = 10, xt = 32, Gi = 12, Wi = 9, Xi = 13, ym = 91, gm = 93, Zm = 40, Im = 41, Sm = 123, Vm = 125, Gm = 59, Wm = 42, Xm = 58, Cm = 64, Ci = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ri = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, Rm = /.[\r\n"'(/\\]/, xo = /[\da-f]/i;
6518
6518
  var wm = function(e, t = {}) {
6519
6519
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, I = [], Z = [];
6520
6520
  function V() {
@@ -6523,7 +6523,7 @@ var wm = function(e, t = {}) {
6523
6523
  function C(k) {
6524
6524
  throw e.error("Unclosed " + k, d);
6525
6525
  }
6526
- function W() {
6526
+ function X() {
6527
6527
  return Z.length === 0 && d >= b;
6528
6528
  }
6529
6529
  function G(k) {
@@ -6533,13 +6533,13 @@ var wm = function(e, t = {}) {
6533
6533
  switch (s = i.charCodeAt(d), s) {
6534
6534
  case Vi:
6535
6535
  case xt:
6536
- case Xi:
6537
6536
  case Wi:
6537
+ case Xi:
6538
6538
  case Gi: {
6539
6539
  o = d;
6540
6540
  do
6541
6541
  o += 1, s = i.charCodeAt(o);
6542
- while (s === xt || s === Vi || s === Xi || s === Wi || s === Gi);
6542
+ while (s === xt || s === Vi || s === Wi || s === Xi || s === Gi);
6543
6543
  c = ["space", i.slice(d, o)], d = o - 1;
6544
6544
  break;
6545
6545
  }
@@ -6547,15 +6547,15 @@ var wm = function(e, t = {}) {
6547
6547
  case gm:
6548
6548
  case Sm:
6549
6549
  case Vm:
6550
- case Wm:
6550
+ case Xm:
6551
6551
  case Gm:
6552
6552
  case Im: {
6553
- let X = String.fromCharCode(s);
6554
- c = [X, X, d];
6553
+ let W = String.fromCharCode(s);
6554
+ c = [W, W, d];
6555
6555
  break;
6556
6556
  }
6557
6557
  case Zm: {
6558
- if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== is && p !== vo && p !== xt && p !== Vi && p !== Xi && p !== Gi && p !== Wi) {
6558
+ if (m = I.length ? I.pop()[1] : "", p = i.charCodeAt(d + 1), m === "url" && p !== is && p !== vo && p !== xt && p !== Vi && p !== Wi && p !== Gi && p !== Xi) {
6559
6559
  o = d;
6560
6560
  do {
6561
6561
  if (u = !1, o = i.indexOf(")", o + 1), o === -1)
@@ -6595,7 +6595,7 @@ var wm = function(e, t = {}) {
6595
6595
  case Si: {
6596
6596
  for (o = d, l = !0; i.charCodeAt(o + 1) === Si; )
6597
6597
  o += 1, l = !l;
6598
- if (s = i.charCodeAt(o + 1), l && s !== ko && s !== xt && s !== Vi && s !== Xi && s !== Wi && s !== Gi && (o += 1, xo.test(i.charAt(o)))) {
6598
+ if (s = i.charCodeAt(o + 1), l && s !== ko && s !== xt && s !== Vi && s !== Wi && s !== Xi && s !== Gi && (o += 1, xo.test(i.charAt(o)))) {
6599
6599
  for (; xo.test(i.charAt(o + 1)); )
6600
6600
  o += 1;
6601
6601
  i.charCodeAt(o + 1) === xt && (o += 1);
@@ -6604,7 +6604,7 @@ var wm = function(e, t = {}) {
6604
6604
  break;
6605
6605
  }
6606
6606
  default: {
6607
- s === ko && i.charCodeAt(d + 1) === Xm ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || K ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ri.lastIndex = d + 1, Ri.test(i), Ri.lastIndex === 0 ? o = i.length - 1 : o = Ri.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], I.push(c), d = o);
6607
+ s === ko && i.charCodeAt(d + 1) === Wm ? (o = i.indexOf("*/", d + 2) + 1, o === 0 && (n || K ? o = i.length : C("comment")), c = ["comment", i.slice(d, o + 1), d, o], d = o) : (Ri.lastIndex = d + 1, Ri.test(i), Ri.lastIndex === 0 ? o = i.length - 1 : o = Ri.lastIndex - 2, c = ["word", i.slice(d, o + 1), d, o], I.push(c), d = o);
6608
6608
  break;
6609
6609
  }
6610
6610
  }
@@ -6615,12 +6615,12 @@ var wm = function(e, t = {}) {
6615
6615
  }
6616
6616
  return {
6617
6617
  back: v,
6618
- endOfFile: W,
6618
+ endOfFile: X,
6619
6619
  nextToken: G,
6620
6620
  position: V
6621
6621
  };
6622
6622
  };
6623
- let vm = Xr, km = kn, xm = xn, Tm = li, To = Cr, Nm = wm;
6623
+ let vm = Wr, km = kn, xm = xn, Tm = li, To = Cr, Nm = wm;
6624
6624
  const No = {
6625
6625
  empty: !0,
6626
6626
  space: !0
@@ -6987,7 +6987,7 @@ let Lo = {};
6987
6987
  var za = function(e) {
6988
6988
  Lo[e] || (Lo[e] = !0, typeof console < "u" && console.warn && console.warn(e));
6989
6989
  };
6990
- let Mm = tt, Em = Wr, Hm = Ea, zm = Rr, Jo = wr, Pm = li, Bm = wn, { isClean: Te, my: Dm } = oi, jm = za;
6990
+ let Mm = tt, Em = Xr, Hm = Ea, zm = Rr, Jo = wr, Pm = li, Bm = wn, { isClean: Te, my: Dm } = oi, jm = za;
6991
6991
  const Qm = {
6992
6992
  atrule: "AtRule",
6993
6993
  comment: "Comment",
@@ -7402,7 +7402,7 @@ let tb = wn, ib = za, Ps = class {
7402
7402
  };
7403
7403
  var nb = Ps;
7404
7404
  Ps.default = Ps;
7405
- let sb = Wr, rb = Da, ob = nb, lb = li, qt = class {
7405
+ let sb = Xr, rb = Da, ob = nb, lb = li, qt = class {
7406
7406
  constructor(e = []) {
7407
7407
  this.version = "8.5.3", this.plugins = this.normalize(e);
7408
7408
  }
@@ -7435,7 +7435,7 @@ var ab = qt;
7435
7435
  qt.default = qt;
7436
7436
  lb.registerProcessor(qt);
7437
7437
  sb.registerProcessor(qt);
7438
- let ja = Xr, Qa = kn, cb = tt, ub = Sr, Aa = xn, _a = Wr, db = hm, hb = Tn, pb = Da, mb = Ya, bb = vn, fb = Rr, vr = ab, yb = wr, $a = li, qa = Cr, gb = wn, Zb = Ha;
7438
+ let ja = Wr, Qa = kn, cb = tt, ub = Sr, Aa = xn, _a = Xr, db = hm, hb = Tn, pb = Da, mb = Ya, bb = vn, fb = Rr, vr = ab, yb = wr, $a = li, qa = Cr, gb = wn, Zb = Ha;
7439
7439
  function j(...e) {
7440
7440
  return e.length === 1 && Array.isArray(e[0]) && (e = e[0]), new vr(e);
7441
7441
  }
@@ -7512,10 +7512,10 @@ var kr = { exports: {} }, J = String, ec = function() {
7512
7512
  kr.exports = ec();
7513
7513
  kr.exports.createColors = ec;
7514
7514
  var Gb = kr.exports;
7515
- const Xb = {}, Wb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7515
+ const Wb = {}, Xb = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7516
7516
  __proto__: null,
7517
- default: Xb
7518
- }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Vb(Wb);
7517
+ default: Wb
7518
+ }, Symbol.toStringTag, { value: "Module" })), ke = /* @__PURE__ */ Vb(Xb);
7519
7519
  let Uo = Gb, Fo = ke, Bs = class tc extends Error {
7520
7520
  constructor(t, i, n, s, r, l) {
7521
7521
  super(t), this.name = "CssSyntaxError", this.reason = t, r && (this.file = r), s && (this.source = s), l && (this.plugin = l), typeof i < "u" && typeof n < "u" && (typeof i == "number" ? (this.line = i, this.column = n) : (this.line = i.line, this.column = i.column, this.endLine = n.line, this.endColumn = n.column)), this.setMessage(), Error.captureStackTrace && Error.captureStackTrace(this, tc);
@@ -8568,7 +8568,7 @@ function ii(e, t) {
8568
8568
  }
8569
8569
  var nf = ii;
8570
8570
  ii.default = ii;
8571
- let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsumer: Xc, SourceMapGenerator: Ai } = ke, { pathToFileURL: Po } = ke, sf = Un, rf = !!(Xc && Ai), of = !!(Qi && Vc && Sc && Gc), lf = class {
8571
+ let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsumer: Wc, SourceMapGenerator: Ai } = ke, { pathToFileURL: Po } = ke, sf = Un, rf = !!(Wc && Ai), of = !!(Qi && Vc && Sc && Gc), lf = class {
8572
8572
  constructor(e, t, i, n) {
8573
8573
  this.stringify = e, this.mapOpts = i.map || {}, this.root = t, this.opts = i, this.css = n, this.originalCSS = n, this.usesFileUrls = !this.mapOpts.from && this.mapOpts.absolute, this.memoizedFileURLs = /* @__PURE__ */ new Map(), this.memoizedPaths = /* @__PURE__ */ new Map(), this.memoizedURLs = /* @__PURE__ */ new Map();
8574
8574
  }
@@ -8584,7 +8584,7 @@ let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsume
8584
8584
  applyPrevMaps() {
8585
8585
  for (let e of this.previous()) {
8586
8586
  let t = this.toUrl(this.path(e.file)), i = e.root || Qi(e.file), n;
8587
- this.mapOpts.sourcesContent === !1 ? (n = new Xc(e.text), n.sourcesContent && (n.sourcesContent = null)) : n = e.consumer(), this.map.applySourceMap(n, t, this.toUrl(this.path(i)));
8587
+ this.mapOpts.sourcesContent === !1 ? (n = new Wc(e.text), n.sourcesContent && (n.sourcesContent = null)) : n = e.consumer(), this.map.applySourceMap(n, t, this.toUrl(this.path(i)));
8588
8588
  }
8589
8589
  }
8590
8590
  clearAnnotation() {
@@ -8727,7 +8727,7 @@ let { dirname: Qi, relative: Sc, resolve: Vc, sep: Gc } = ke, { SourceMapConsume
8727
8727
  return this.memoizedURLs.set(e, i), i;
8728
8728
  }
8729
8729
  };
8730
- var Wc = lf;
8730
+ var Xc = lf;
8731
8731
  const os = 39, Bo = 34, vi = 92, Do = 47, ki = 10, Jt = 32, xi = 12, Ti = 9, Ni = 13, af = 91, cf = 93, uf = 40, df = 41, hf = 123, pf = 125, mf = 59, bf = 42, ff = 58, yf = 64, Li = /[\t\n\f\r "#'()/;[\\\]{}]/g, Ji = /[\t\n\f\r !"#'():;@[\\\]{}]|\/(?=\*)/g, gf = /.[\r\n"'(/\\]/, jo = /[\da-f]/i;
8732
8732
  var Zf = function(e, t = {}) {
8733
8733
  let i = e.css.valueOf(), n = t.ignoreErrors, s, r, l, o, a, c, u, h, p, m, b = i.length, d = 0, I = [], Z = [];
@@ -8737,7 +8737,7 @@ var Zf = function(e, t = {}) {
8737
8737
  function C(k) {
8738
8738
  throw e.error("Unclosed " + k, d);
8739
8739
  }
8740
- function W() {
8740
+ function X() {
8741
8741
  return Z.length === 0 && d >= b;
8742
8742
  }
8743
8743
  function G(k) {
@@ -8764,8 +8764,8 @@ var Zf = function(e, t = {}) {
8764
8764
  case ff:
8765
8765
  case mf:
8766
8766
  case df: {
8767
- let X = String.fromCharCode(s);
8768
- c = [X, X, d];
8767
+ let W = String.fromCharCode(s);
8768
+ c = [W, W, d];
8769
8769
  break;
8770
8770
  }
8771
8771
  case uf: {
@@ -8829,17 +8829,17 @@ var Zf = function(e, t = {}) {
8829
8829
  }
8830
8830
  return {
8831
8831
  back: v,
8832
- endOfFile: W,
8832
+ endOfFile: X,
8833
8833
  nextToken: G,
8834
8834
  position: V
8835
8835
  };
8836
8836
  };
8837
- let If = Lr, Sf = Jn, Vf = Yn, Gf = ci, Qo = Yr, Xf = Zf;
8837
+ let If = Lr, Sf = Jn, Vf = Yn, Gf = ci, Qo = Yr, Wf = Zf;
8838
8838
  const Ao = {
8839
8839
  empty: !0,
8840
8840
  space: !0
8841
8841
  };
8842
- function Wf(e) {
8842
+ function Xf(e) {
8843
8843
  for (let t = e.length - 1; t >= 0; t--) {
8844
8844
  let i = e[t], n = i[3] || i[2];
8845
8845
  if (n) return n;
@@ -8918,14 +8918,14 @@ let Cf = class {
8918
8918
  }
8919
8919
  }
8920
8920
  createTokenizer() {
8921
- this.tokenizer = Xf(this.input);
8921
+ this.tokenizer = Wf(this.input);
8922
8922
  }
8923
8923
  decl(e, t) {
8924
8924
  let i = new Vf();
8925
8925
  this.init(i, e[0][2]);
8926
8926
  let n = e[e.length - 1];
8927
8927
  for (n[0] === ";" && (this.semicolon = !0, e.pop()), i.source.end = this.getPosition(
8928
- n[3] || n[2] || Wf(e)
8928
+ n[3] || n[2] || Xf(e)
8929
8929
  ), i.source.end.offset++; e[0][0] !== "word"; )
8930
8930
  e.length === 1 && this.unknownWord(e), i.raws.before += e.shift()[1];
8931
8931
  for (i.source.start = this.getPosition(e[0][2]), i.prop = ""; e.length; ) {
@@ -9201,7 +9201,7 @@ let _o = {};
9201
9201
  var Rc = function(e) {
9202
9202
  _o[e] || (_o[e] = !0, typeof console < "u" && console.warn && console.warn(e));
9203
9203
  };
9204
- let Tf = it, Nf = Jr, Lf = Wc, Jf = Ur, $o = Fr, Yf = ci, Uf = Nn, { isClean: Ne, my: Ff } = ai, Kf = Rc;
9204
+ let Tf = it, Nf = Jr, Lf = Xc, Jf = Ur, $o = Fr, Yf = ci, Uf = Nn, { isClean: Ne, my: Ff } = ai, Kf = Rc;
9205
9205
  const Of = {
9206
9206
  atrule: "AtRule",
9207
9207
  comment: "Comment",
@@ -9535,7 +9535,7 @@ var kc = Gt;
9535
9535
  Gt.default = Gt;
9536
9536
  Yf.registerLazyResult(Gt);
9537
9537
  Nf.registerLazyResult(Gt);
9538
- let Hf = Wc, zf = Ur;
9538
+ let Hf = Xc, zf = Ur;
9539
9539
  const Pf = Fr;
9540
9540
  let Bf = Nn, Df = Rc, or = class {
9541
9541
  get content() {
@@ -9976,7 +9976,7 @@ function ue(e, t, i, n) {
9976
9976
  }
9977
9977
  return !!(i && (s.matches(i) || n && s.closest(i) !== null));
9978
9978
  }
9979
- function Xy(e, t) {
9979
+ function Wy(e, t) {
9980
9980
  return t.getId(e) !== -1;
9981
9981
  }
9982
9982
  function cs(e, t, i) {
@@ -9994,7 +9994,7 @@ function Hc(e, t) {
9994
9994
  function lr(e) {
9995
9995
  return !!e.changedTouches;
9996
9996
  }
9997
- function Wy(e = window) {
9997
+ function Xy(e = window) {
9998
9998
  "NodeList" in e && !e.NodeList.prototype.forEach && (e.NodeList.prototype.forEach = Array.prototype.forEach), "DOMTokenList" in e && !e.DOMTokenList.prototype.forEach && (e.DOMTokenList.prototype.forEach = Array.prototype.forEach);
9999
9999
  }
10000
10000
  function zc(e, t) {
@@ -10056,7 +10056,7 @@ function Dc(e) {
10056
10056
  const t = e.ownerDocument;
10057
10057
  return t ? E.contains(t, e) || wy(e) : !1;
10058
10058
  }
10059
- var P = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(P || {}), H = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(H || {}), be = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(be || {}), ze = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(ze || {}), Xt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Xt || {}), ct = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(ct || {}), jc = /* @__PURE__ */ ((e) => (e[e.Document = 0] = "Document", e[e.DocumentType = 1] = "DocumentType", e[e.Element = 2] = "Element", e[e.Text = 3] = "Text", e[e.CDATA = 4] = "CDATA", e[e.Comment = 5] = "Comment", e))(jc || {});
10059
+ var P = /* @__PURE__ */ ((e) => (e[e.DomContentLoaded = 0] = "DomContentLoaded", e[e.Load = 1] = "Load", e[e.FullSnapshot = 2] = "FullSnapshot", e[e.IncrementalSnapshot = 3] = "IncrementalSnapshot", e[e.Meta = 4] = "Meta", e[e.Custom = 5] = "Custom", e[e.Plugin = 6] = "Plugin", e))(P || {}), H = /* @__PURE__ */ ((e) => (e[e.Mutation = 0] = "Mutation", e[e.MouseMove = 1] = "MouseMove", e[e.MouseInteraction = 2] = "MouseInteraction", e[e.Scroll = 3] = "Scroll", e[e.ViewportResize = 4] = "ViewportResize", e[e.Input = 5] = "Input", e[e.TouchMove = 6] = "TouchMove", e[e.MediaInteraction = 7] = "MediaInteraction", e[e.StyleSheetRule = 8] = "StyleSheetRule", e[e.CanvasMutation = 9] = "CanvasMutation", e[e.Font = 10] = "Font", e[e.Log = 11] = "Log", e[e.Drag = 12] = "Drag", e[e.StyleDeclaration = 13] = "StyleDeclaration", e[e.Selection = 14] = "Selection", e[e.AdoptedStyleSheet = 15] = "AdoptedStyleSheet", e[e.CustomElement = 16] = "CustomElement", e))(H || {}), be = /* @__PURE__ */ ((e) => (e[e.MouseUp = 0] = "MouseUp", e[e.MouseDown = 1] = "MouseDown", e[e.Click = 2] = "Click", e[e.ContextMenu = 3] = "ContextMenu", e[e.DblClick = 4] = "DblClick", e[e.Focus = 5] = "Focus", e[e.Blur = 6] = "Blur", e[e.TouchStart = 7] = "TouchStart", e[e.TouchMove_Departed = 8] = "TouchMove_Departed", e[e.TouchEnd = 9] = "TouchEnd", e[e.TouchCancel = 10] = "TouchCancel", e))(be || {}), ze = /* @__PURE__ */ ((e) => (e[e.Mouse = 0] = "Mouse", e[e.Pen = 1] = "Pen", e[e.Touch = 2] = "Touch", e))(ze || {}), Wt = /* @__PURE__ */ ((e) => (e[e["2D"] = 0] = "2D", e[e.WebGL = 1] = "WebGL", e[e.WebGL2 = 2] = "WebGL2", e))(Wt || {}), ct = /* @__PURE__ */ ((e) => (e[e.Play = 0] = "Play", e[e.Pause = 1] = "Pause", e[e.Seeked = 2] = "Seeked", e[e.VolumeChange = 3] = "VolumeChange", e[e.RateChange = 4] = "RateChange", e))(ct || {}), jc = /* @__PURE__ */ ((e) => (e[e.Document = 0] = "Document", e[e.DocumentType = 1] = "DocumentType", e[e.Element = 2] = "Element", e[e.Text = 3] = "Text", e[e.CDATA = 4] = "CDATA", e[e.Comment = 5] = "Comment", e))(jc || {});
10060
10060
  function nl(e) {
10061
10061
  return "__ln" in e;
10062
10062
  }
@@ -10335,7 +10335,7 @@ class ky {
10335
10335
  }
10336
10336
  t.addedNodes.forEach((i) => this.genAdds(i, t.target)), t.removedNodes.forEach((i) => {
10337
10337
  const n = this.mirror.getId(i), s = Et(t.target) ? this.mirror.getId(E.host(t.target)) : this.mirror.getId(t.target);
10338
- ue(t.target, this.blockClass, this.blockSelector, !1) || cs(i, this.mirror, this.slimDOMOptions) || !Xy(i, this.mirror) || (this.addedSet.has(i) ? (cr(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Hc(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[sl(n, s)] ? cr(this.movedSet, i) : (this.removes.push({
10338
+ ue(t.target, this.blockClass, this.blockSelector, !1) || cs(i, this.mirror, this.slimDOMOptions) || !Wy(i, this.mirror) || (this.addedSet.has(i) ? (cr(this.addedSet, i), this.droppedSet.add(i)) : this.addedSet.has(t.target) && n === -1 || Hc(t.target, this.mirror) || (this.movedSet.has(i) && this.movedMap[sl(n, s)] ? cr(this.movedSet, i) : (this.removes.push({
10339
10339
  parentId: s,
10340
10340
  id: n,
10341
10341
  isShadow: Et(t.target) && Ht(t.target) ? !0 : void 0
@@ -10658,20 +10658,20 @@ function Ky({
10658
10658
  }) {
10659
10659
  function h(Z) {
10660
10660
  let V = ui(Z);
10661
- const C = Z.isTrusted, W = V && V.tagName;
10662
- if (V && W === "OPTION" && (V = E.parentElement(V)), !V || !W || Fy.indexOf(W) < 0 || ue(V, n, s, !0) || V.classList.contains(r) || l && V.matches(l))
10661
+ const C = Z.isTrusted, X = V && V.tagName;
10662
+ if (V && X === "OPTION" && (V = E.parentElement(V)), !V || !X || Fy.indexOf(X) < 0 || ue(V, n, s, !0) || V.classList.contains(r) || l && V.matches(l))
10663
10663
  return;
10664
10664
  let G = V.value, v = !1;
10665
10665
  const k = ln(V) || "", K = V.getAttribute("data-hl-record");
10666
10666
  k === "radio" || k === "checkbox" ? v = V.checked : ha({
10667
10667
  maskInputOptions: o,
10668
10668
  type: k,
10669
- tagName: W,
10669
+ tagName: X,
10670
10670
  overwriteRecord: K
10671
10671
  }) && (G = on({
10672
10672
  element: V,
10673
10673
  maskInputOptions: o,
10674
- tagName: W,
10674
+ tagName: X,
10675
10675
  type: k,
10676
10676
  value: G,
10677
10677
  overwriteRecord: K,
@@ -10680,8 +10680,8 @@ function Ky({
10680
10680
  V,
10681
10681
  u ? { text: G, isChecked: v, userTriggered: C } : { text: G, isChecked: v }
10682
10682
  );
10683
- const X = V.name;
10684
- k === "radio" && X && v && t.querySelectorAll(`input[type="radio"][name="${X}"]`).forEach((w) => {
10683
+ const W = V.name;
10684
+ k === "radio" && W && v && t.querySelectorAll(`input[type="radio"][name="${W}"]`).forEach((w) => {
10685
10685
  if (w !== V) {
10686
10686
  const Y = w.value;
10687
10687
  p(
@@ -10695,9 +10695,9 @@ function Ky({
10695
10695
  const C = ll.get(Z);
10696
10696
  if (!C || C.text !== V.text || C.isChecked !== V.isChecked) {
10697
10697
  ll.set(Z, V);
10698
- const W = i.getId(Z);
10698
+ const X = i.getId(Z);
10699
10699
  z(e)(ge(F({}, V), {
10700
- id: W
10700
+ id: X
10701
10701
  }));
10702
10702
  }
10703
10703
  }
@@ -11603,7 +11603,7 @@ function qy(e, t, i, n) {
11603
11603
  return ue(this.canvas, i, n, !0) || setTimeout(() => {
11604
11604
  const u = eu(c, t, this);
11605
11605
  e(this.canvas, {
11606
- type: Xt["2D"],
11606
+ type: Wt["2D"],
11607
11607
  property: l,
11608
11608
  args: u
11609
11609
  });
@@ -11619,7 +11619,7 @@ function qy(e, t, i, n) {
11619
11619
  {
11620
11620
  set(c) {
11621
11621
  e(this.canvas, {
11622
- type: Xt["2D"],
11622
+ type: Wt["2D"],
11623
11623
  property: l,
11624
11624
  args: [c],
11625
11625
  setter: !0
@@ -11726,7 +11726,7 @@ function tg(e, t, i, n) {
11726
11726
  return s.push(
11727
11727
  ...dl(
11728
11728
  t.WebGLRenderingContext.prototype,
11729
- Xt.WebGL,
11729
+ Wt.WebGL,
11730
11730
  e,
11731
11731
  i,
11732
11732
  n,
@@ -11735,7 +11735,7 @@ function tg(e, t, i, n) {
11735
11735
  ), typeof t.WebGL2RenderingContext < "u" && s.push(
11736
11736
  ...dl(
11737
11737
  t.WebGL2RenderingContext.prototype,
11738
- Xt.WebGL2,
11738
+ Wt.WebGL2,
11739
11739
  e,
11740
11740
  i,
11741
11741
  n,
@@ -11795,7 +11795,7 @@ class sg {
11795
11795
  }
11796
11796
  const { base64: m, type: b, dx: d, dy: I, dw: Z, dh: V } = h.data, C = {
11797
11797
  id: p,
11798
- type: Xt["2D"],
11798
+ type: Wt["2D"],
11799
11799
  commands: [
11800
11800
  {
11801
11801
  property: "clearRect",
@@ -11936,50 +11936,50 @@ class sg {
11936
11936
  !0
11937
11937
  ), h = 1e3 / n;
11938
11938
  let p = 0, m;
11939
- const b = /* @__PURE__ */ new Map(), d = (C, W) => {
11939
+ const b = /* @__PURE__ */ new Map(), d = (C, X) => {
11940
11940
  const G = [];
11941
- C.querySelectorAll(W).forEach((K) => G.push(K));
11941
+ C.querySelectorAll(X).forEach((K) => G.push(K));
11942
11942
  const v = document.createNodeIterator(C, Node.ELEMENT_NODE);
11943
11943
  let k;
11944
11944
  for (; k = v.nextNode(); )
11945
- k != null && k.shadowRoot && G.push(...d(k.shadowRoot, W));
11945
+ k != null && k.shadowRoot && G.push(...d(k.shadowRoot, X));
11946
11946
  return G;
11947
11947
  }, I = (C) => {
11948
- const W = [];
11948
+ const X = [];
11949
11949
  return d(s.document, "canvas").forEach((G) => {
11950
11950
  if (!ue(G, r, l, !0)) {
11951
- this.debug(G, "discovered canvas"), W.push(G);
11951
+ this.debug(G, "discovered canvas"), X.push(G);
11952
11952
  const v = this.mirror.getId(G);
11953
11953
  b.has(v) || b.set(v, C);
11954
11954
  }
11955
- }), W;
11955
+ }), X;
11956
11956
  }, Z = (C) => {
11957
- const W = [];
11957
+ const X = [];
11958
11958
  return (t || i) && d(s.document, "video").forEach((G) => {
11959
11959
  if (!(!i && G.src !== "" && G.src.indexOf("blob:") === -1) && !(!t && (G.src === "" || G.src.indexOf("blob:") !== -1)) && !ue(G, r, l, !0)) {
11960
- W.push(G);
11960
+ X.push(G);
11961
11961
  const v = this.mirror.getId(G);
11962
11962
  b.has(v) || b.set(v, C);
11963
11963
  }
11964
- }), W;
11964
+ }), X;
11965
11965
  }, V = (C) => fe(this, null, function* () {
11966
11966
  if (p && C - p < h) {
11967
11967
  m = requestAnimationFrame(V);
11968
11968
  return;
11969
11969
  }
11970
11970
  p = C;
11971
- const W = (v) => {
11972
- const k = this.mirror.getId(v), K = b.get(k), X = !o.initialSnapshotDelay || C - K > o.initialSnapshotDelay;
11971
+ const X = (v) => {
11972
+ const k = this.mirror.getId(v), K = b.get(k), W = !o.initialSnapshotDelay || C - K > o.initialSnapshotDelay;
11973
11973
  return this.debug(v, {
11974
11974
  delay: o.initialSnapshotDelay,
11975
11975
  delta: C - K,
11976
- hadLoadingTime: X
11977
- }), X;
11976
+ hadLoadingTime: W
11977
+ }), W;
11978
11978
  }, G = [];
11979
11979
  G.push(
11980
- ...I(C).filter(W).map((v) => this.snapshot(v))
11980
+ ...I(C).filter(X).map((v) => this.snapshot(v))
11981
11981
  ), G.push(
11982
- ...Z(C).filter(W).map((v) => fe(this, null, function* () {
11982
+ ...Z(C).filter(X).map((v) => fe(this, null, function* () {
11983
11983
  this.debug(v, "starting video snapshotting");
11984
11984
  const k = this.mirror.getId(v);
11985
11985
  if (this.snapshotInProgressMap.get(k)) {
@@ -11992,7 +11992,7 @@ class sg {
11992
11992
  }
11993
11993
  this.snapshotInProgressMap.set(k, !0);
11994
11994
  try {
11995
- const { width: K, height: X } = v.getBoundingClientRect(), { actualWidth: w, actualHeight: Y } = {
11995
+ const { width: K, height: W } = v.getBoundingClientRect(), { actualWidth: w, actualHeight: Y } = {
11996
11996
  actualWidth: v.videoWidth,
11997
11997
  actualHeight: v.videoHeight
11998
11998
  }, ee = Math.max(w, Y);
@@ -12003,7 +12003,7 @@ class sg {
12003
12003
  actualWidth: w,
12004
12004
  actualHeight: Y,
12005
12005
  boxWidth: K,
12006
- boxHeight: X
12006
+ boxHeight: W
12007
12007
  });
12008
12008
  return;
12009
12009
  }
@@ -12012,12 +12012,12 @@ class sg {
12012
12012
  const f = w * te, y = Y * te, T = yield createImageBitmap(v, {
12013
12013
  resizeWidth: f,
12014
12014
  resizeHeight: y
12015
- }), _ = Math.max(K, X) / ee, B = w * _, U = Y * _, $ = (K - B) / 2, ie = (X - U) / 2;
12015
+ }), _ = Math.max(K, W) / ee, B = w * _, U = Y * _, $ = (K - B) / 2, ie = (W - U) / 2;
12016
12016
  this.debug(v, "created image bitmap", {
12017
12017
  actualWidth: w,
12018
12018
  actualHeight: Y,
12019
12019
  boxWidth: K,
12020
- boxHeight: X,
12020
+ boxHeight: W,
12021
12021
  outputWidth: B,
12022
12022
  outputHeight: U,
12023
12023
  resizeWidth: f,
@@ -12186,12 +12186,12 @@ function Oe(e = {}) {
12186
12186
  maskTextSelector: Z = null,
12187
12187
  inlineStylesheet: V = !0,
12188
12188
  maskAllInputs: C,
12189
- maskInputOptions: W,
12189
+ maskInputOptions: X,
12190
12190
  slimDOMOptions: G,
12191
12191
  maskInputFn: v,
12192
12192
  maskTextFn: k = gr,
12193
12193
  hooks: K,
12194
- packFn: X,
12194
+ packFn: W,
12195
12195
  sampling: w = {},
12196
12196
  mousemoveWait: Y,
12197
12197
  recordDOM: ee = !0,
@@ -12204,7 +12204,7 @@ function Oe(e = {}) {
12204
12204
  inlineVideos: U = !1,
12205
12205
  plugins: $,
12206
12206
  keepIframeSrcFn: ie = () => !1,
12207
- privacySetting: We = "default",
12207
+ privacySetting: Xe = "default",
12208
12208
  ignoreCSSAttributes: He = /* @__PURE__ */ new Set([]),
12209
12209
  errorHandler: pu,
12210
12210
  logger: mu
@@ -12241,7 +12241,7 @@ function Oe(e = {}) {
12241
12241
  textarea: !0,
12242
12242
  select: !0,
12243
12243
  password: !0
12244
- } : W !== void 0 ? W : { password: !0 }, En = G === !0 || G === "all" ? {
12244
+ } : X !== void 0 ? X : { password: !0 }, En = G === !0 || G === "all" ? {
12245
12245
  script: !0,
12246
12246
  comment: !0,
12247
12247
  headFavicon: !0,
@@ -12256,13 +12256,13 @@ function Oe(e = {}) {
12256
12256
  headMetaDescKeywords: G === "all",
12257
12257
  headTitleMutations: G === "all"
12258
12258
  } : G || {};
12259
- Wy();
12259
+ Xy();
12260
12260
  let Br, Hn = 0;
12261
12261
  const Dr = (D) => {
12262
12262
  for (const Ce of $ || [])
12263
12263
  Ce.eventProcessor && (D = Ce.eventProcessor(D));
12264
- return X && // Disable packing events which will be emitted to parent frames.
12265
- !Rt && (D = X(D)), D;
12264
+ return W && // Disable packing events which will be emitted to parent frames.
12265
+ !Rt && (D = W(D)), D;
12266
12266
  };
12267
12267
  re = (D, Ce) => {
12268
12268
  var ne;
@@ -12361,7 +12361,7 @@ function Oe(e = {}) {
12361
12361
  recordCanvas: te,
12362
12362
  inlineImages: B,
12363
12363
  inlineVideos: U,
12364
- privacySetting: We,
12364
+ privacySetting: Xe,
12365
12365
  sampling: w,
12366
12366
  slimDOMOptions: En,
12367
12367
  iframeManager: Ae,
@@ -12401,7 +12401,7 @@ function Oe(e = {}) {
12401
12401
  recordCanvas: te,
12402
12402
  inlineImages: B,
12403
12403
  inlineVideos: U,
12404
- privacySetting: We,
12404
+ privacySetting: Xe,
12405
12405
  onSerialize: (ne) => {
12406
12406
  zc(ne, we) && Ae.addIframe(ne), Pc(ne, we) && Qe.trackLinkElement(ne), ar(ne) && bi.addShadowRoot(E.shadowRoot(ne), document);
12407
12407
  },
@@ -12530,7 +12530,7 @@ function Oe(e = {}) {
12530
12530
  processedNodeManager: zn,
12531
12531
  canvasManager: Pt,
12532
12532
  ignoreCSSAttributes: He,
12533
- privacySetting: We,
12533
+ privacySetting: Xe,
12534
12534
  plugins: ((xe = $?.filter((A) => A.observer)) == null ? void 0 : xe.map((A) => ({
12535
12535
  observer: A.observer,
12536
12536
  options: A.options,
@@ -12950,7 +12950,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
12950
12950
  }
12951
12951
  } catch {
12952
12952
  }
12953
- }, Xe = function(e, t, i, n) {
12953
+ }, We = function(e, t, i, n) {
12954
12954
  var s, r;
12955
12955
  return function(l) {
12956
12956
  t.value >= 0 && (l || n) && ((r = t.value - (s || 0)) || s === void 0) && (s = t.value, t.delta = r, t.rating = function(o, a) {
@@ -13000,13 +13000,13 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13000
13000
  o.name === "first-contentful-paint" && (r.disconnect(), o.startTime < n.firstHiddenTime && (s.value = Math.max(o.startTime - Kn(), 0), s.entries.push(o), i(!0)));
13001
13001
  });
13002
13002
  });
13003
- r && (i = Xe(e, s, Zl, t.reportAllChanges), st(function(l) {
13004
- s = Ge("FCP"), i = Xe(e, s, Zl, t.reportAllChanges), Hr(function() {
13003
+ r && (i = We(e, s, Zl, t.reportAllChanges), st(function(l) {
13004
+ s = Ge("FCP"), i = We(e, s, Zl, t.reportAllChanges), Hr(function() {
13005
13005
  s.value = performance.now() - l.timeStamp, i(!0);
13006
13006
  });
13007
13007
  }));
13008
13008
  });
13009
- }, Il = [0.1, 0.25], Xg = function(e, t) {
13009
+ }, Il = [0.1, 0.25], Wg = function(e, t) {
13010
13010
  t = t || {}, ou(zr(function() {
13011
13011
  var i, n = Ge("CLS", 0), s = 0, r = [], l = function(a) {
13012
13012
  a.forEach(function(c) {
@@ -13016,18 +13016,18 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13016
13016
  }
13017
13017
  }), s > n.value && (n.value = s, n.entries = r, i());
13018
13018
  }, o = Ct("layout-shift", l);
13019
- o && (i = Xe(e, n, Il, t.reportAllChanges), On(function() {
13019
+ o && (i = We(e, n, Il, t.reportAllChanges), On(function() {
13020
13020
  l(o.takeRecords()), i(!0);
13021
13021
  }), st(function() {
13022
- s = 0, n = Ge("CLS", 0), i = Xe(e, n, Il, t.reportAllChanges), Hr(function() {
13022
+ s = 0, n = Ge("CLS", 0), i = We(e, n, Il, t.reportAllChanges), Hr(function() {
13023
13023
  return i();
13024
13024
  });
13025
13025
  }), setTimeout(i, 0));
13026
13026
  }));
13027
- }, Kt = { passive: !0, capture: !0 }, Wg = /* @__PURE__ */ new Date(), Sl = function(e, t) {
13027
+ }, Kt = { passive: !0, capture: !0 }, Xg = /* @__PURE__ */ new Date(), Sl = function(e, t) {
13028
13028
  Be || (Be = t, Bt = e, su = /* @__PURE__ */ new Date(), au(removeEventListener), lu());
13029
13029
  }, lu = function() {
13030
- if (Bt >= 0 && Bt < su - Wg) {
13030
+ if (Bt >= 0 && Bt < su - Xg) {
13031
13031
  var e = { entryType: "first-input", name: Be.type, target: Be.target, cancelable: Be.cancelable, startTime: Be.timeStamp, processingStart: Be.timeStamp + Bt };
13032
13032
  Vn.forEach(function(t) {
13033
13033
  t(e);
@@ -13058,11 +13058,11 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13058
13058
  }, l = function(a) {
13059
13059
  a.forEach(r);
13060
13060
  }, o = Ct("first-input", l);
13061
- i = Xe(e, s, Vl, t.reportAllChanges), o && On(zr(function() {
13061
+ i = We(e, s, Vl, t.reportAllChanges), o && On(zr(function() {
13062
13062
  l(o.takeRecords()), o.disconnect();
13063
13063
  })), o && st(function() {
13064
13064
  var a;
13065
- s = Ge("FID"), i = Xe(e, s, Vl, t.reportAllChanges), Vn = [], Bt = -1, Be = null, au(addEventListener), a = r, Vn.push(a), lu();
13065
+ s = Ge("FID"), i = We(e, s, Vl, t.reportAllChanges), Vn = [], Bt = -1, Be = null, au(addEventListener), a = r, Vn.push(a), lu();
13066
13066
  });
13067
13067
  });
13068
13068
  }, cu = 0, hs = 1 / 0, Oi = 0, wg = function(e) {
@@ -13073,9 +13073,9 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13073
13073
  return ur ? cu : performance.interactionCount || 0;
13074
13074
  }, vg = function() {
13075
13075
  "interactionCount" in performance || ur || (ur = Ct("event", wg, { type: "event", buffered: !0, durationThreshold: 0 }));
13076
- }, Gl = [200, 500], du = 0, Xl = function() {
13076
+ }, Gl = [200, 500], du = 0, Wl = function() {
13077
13077
  return uu() - du;
13078
- }, Ye = [], ps = {}, Wl = function(e) {
13078
+ }, Ye = [], ps = {}, Xl = function(e) {
13079
13079
  var t = Ye[Ye.length - 1], i = ps[e.interactionId];
13080
13080
  if (i || Ye.length < 10 || e.duration > t.latency) {
13081
13081
  if (i) i.entries.push(e), i.latency = Math.max(i.latency, e.duration);
@@ -13095,19 +13095,19 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13095
13095
  vg();
13096
13096
  var n, s = Ge("INP"), r = function(o) {
13097
13097
  o.forEach(function(u) {
13098
- u.interactionId && Wl(u), u.entryType === "first-input" && !Ye.some(function(h) {
13098
+ u.interactionId && Xl(u), u.entryType === "first-input" && !Ye.some(function(h) {
13099
13099
  return h.entries.some(function(p) {
13100
13100
  return u.duration === p.duration && u.startTime === p.startTime;
13101
13101
  });
13102
- }) && Wl(u);
13102
+ }) && Xl(u);
13103
13103
  });
13104
- var a, c = (a = Math.min(Ye.length - 1, Math.floor(Xl() / 50)), Ye[a]);
13104
+ var a, c = (a = Math.min(Ye.length - 1, Math.floor(Wl() / 50)), Ye[a]);
13105
13105
  c && c.latency !== s.value && (s.value = c.latency, s.entries = c.entries, n());
13106
13106
  }, l = Ct("event", r, { durationThreshold: (i = t.durationThreshold) !== null && i !== void 0 ? i : 40 });
13107
- n = Xe(e, s, Gl, t.reportAllChanges), l && ("interactionId" in PerformanceEventTiming.prototype && l.observe({ type: "first-input", buffered: !0 }), On(function() {
13108
- r(l.takeRecords()), s.value < 0 && Xl() > 0 && (s.value = 0, s.entries = []), n(!0);
13107
+ n = We(e, s, Gl, t.reportAllChanges), l && ("interactionId" in PerformanceEventTiming.prototype && l.observe({ type: "first-input", buffered: !0 }), On(function() {
13108
+ r(l.takeRecords()), s.value < 0 && Wl() > 0 && (s.value = 0, s.entries = []), n(!0);
13109
13109
  }), st(function() {
13110
- Ye = [], du = uu(), s = Ge("INP"), n = Xe(e, s, Gl, t.reportAllChanges);
13110
+ Ye = [], du = uu(), s = Ge("INP"), n = We(e, s, Gl, t.reportAllChanges);
13111
13111
  }));
13112
13112
  });
13113
13113
  }, Cl = [2500, 4e3], ms = {}, xg = function(e, t) {
@@ -13117,7 +13117,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13117
13117
  c && c.startTime < n.firstHiddenTime && (s.value = Math.max(c.startTime - Kn(), 0), s.entries = [c], i());
13118
13118
  }, l = Ct("largest-contentful-paint", r);
13119
13119
  if (l) {
13120
- i = Xe(e, s, Cl, t.reportAllChanges);
13120
+ i = We(e, s, Cl, t.reportAllChanges);
13121
13121
  var o = zr(function() {
13122
13122
  ms[s.id] || (r(l.takeRecords()), l.disconnect(), ms[s.id] = !0, i(!0));
13123
13123
  });
@@ -13126,7 +13126,7 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13126
13126
  return setTimeout(o, 0);
13127
13127
  }, !0);
13128
13128
  }), On(o), st(function(a) {
13129
- s = Ge("LCP"), i = Xe(e, s, Cl, t.reportAllChanges), Hr(function() {
13129
+ s = Ge("LCP"), i = We(e, s, Cl, t.reportAllChanges), Hr(function() {
13130
13130
  s.value = performance.now() - a.timeStamp, ms[s.id] = !0, i(!0);
13131
13131
  });
13132
13132
  });
@@ -13140,19 +13140,19 @@ var Be, Bt, su, Vn, ur, ru = -1, st = function(e) {
13140
13140
  }, !0) : setTimeout(t, 0);
13141
13141
  }, Ng = function(e, t) {
13142
13142
  t = t || {};
13143
- var i = Ge("TTFB"), n = Xe(e, i, Rl, t.reportAllChanges);
13143
+ var i = Ge("TTFB"), n = We(e, i, Rl, t.reportAllChanges);
13144
13144
  Tg(function() {
13145
13145
  var s = Er();
13146
13146
  if (s) {
13147
13147
  var r = s.responseStart;
13148
13148
  if (r <= 0 || r > performance.now()) return;
13149
13149
  i.value = Math.max(r - Kn(), 0), i.entries = [s], n(!0), st(function() {
13150
- i = Ge("TTFB", 0), (n = Xe(e, i, Rl, t.reportAllChanges))(!0);
13150
+ i = Ge("TTFB", 0), (n = We(e, i, Rl, t.reportAllChanges))(!0);
13151
13151
  });
13152
13152
  }
13153
13153
  });
13154
13154
  };
13155
- const Lg = (e) => (Xg(e), ou(e), Rg(e), xg(e), Ng(e), kg(e), () => {
13155
+ const Lg = (e) => (Wg(e), ou(e), Rg(e), xg(e), Ng(e), kg(e), () => {
13156
13156
  }), lt = typeof navigator < "u" && "connection" in navigator ? navigator.connection : {}, Jg = (e, t) => {
13157
13157
  const i = () => {
13158
13158
  const s = ((/* @__PURE__ */ new Date()).getTime() - t) / 1e3;
@@ -13509,8 +13509,8 @@ class Dg {
13509
13509
  this.sessionData,
13510
13510
  this.options
13511
13511
  ), this.sessionData = (s = Bi(this.sessionData.sessionSecureID)) != null ? s : this.sessionData, (r = this.sessionData) != null && r.sessionStartTime ? this._recordingStartTime = (l = this.sessionData) == null ? void 0 : l.sessionStartTime : (this._recordingStartTime = (/* @__PURE__ */ new Date()).getTime(), this.sessionData.sessionStartTime = this._recordingStartTime);
13512
- let u = Ve(Xs.CLIENT_ID);
13513
- u || (u = Rs(), Ke(Xs.CLIENT_ID, u));
13512
+ let u = Ve(Ws.CLIENT_ID);
13513
+ u || (u = Rs(), Ke(Ws.CLIENT_ID, u));
13514
13514
  let h;
13515
13515
  this.options.disableSessionRecording || this.options.disableNetworkRecording !== void 0 || typeof this.options.networkRecording == "boolean" ? h = !1 : h = ((o = this.options.networkRecording) == null ? void 0 : o.recordHeadersAndBody) || !1;
13516
13516
  let p = [];
@@ -14019,11 +14019,11 @@ SessionSecureID: ${this.sessionData.sessionSecureID}`
14019
14019
  return Dd;
14020
14020
  }
14021
14021
  }
14022
- class rZ extends Vh {
14022
+ class oZ extends Vh {
14023
14023
  constructor(t, i) {
14024
14024
  var n = (...p) => (super(...p), N(this, "record"), this), s, r, l, o, a, c, u, h;
14025
14025
  try {
14026
- if (typeof window > "u" || typeof document > "u") {
14026
+ if (n(i), typeof window > "u" || typeof document > "u") {
14027
14027
  console.warn(
14028
14028
  "@launchdarkly/session-replay is not initializing because it is not supported in this environment."
14029
14029
  );
@@ -14041,7 +14041,6 @@ class rZ extends Vh {
14041
14041
  );
14042
14042
  return;
14043
14043
  }
14044
- n(i);
14045
14044
  const p = ge(F({}, i), {
14046
14045
  organizationID: t,
14047
14046
  firstloadVersion: Bg,
@@ -14075,18 +14074,21 @@ class rZ extends Vh {
14075
14074
  }),
14076
14075
  afterIdentify: (i, n, s) => {
14077
14076
  var r, l, o, a, c, u, h;
14078
- for (const b of (o = (l = (r = this.record) == null ? void 0 : r.getHooks) == null ? void 0 : l.call(r, t)) != null ? o : [])
14079
- (a = b.afterIdentify) == null || a.call(b, i, n, s);
14080
- const p = fh(i.context), m = yh(i.context);
14081
- return (h = this.record) == null || h.identify(
14082
- typeof m == "string" ? m : (u = (c = m.user) == null ? void 0 : c.toString()) != null ? u : p,
14083
- ge(F({
14084
- key: p
14085
- }, typeof m == "object" ? m : {}), {
14086
- timeout: i.timeout
14087
- }),
14088
- "LaunchDarkly"
14089
- ), n;
14077
+ for (const p of (o = (l = (r = this.record) == null ? void 0 : r.getHooks) == null ? void 0 : l.call(r, t)) != null ? o : [])
14078
+ (a = p.afterIdentify) == null || a.call(p, i, n, s);
14079
+ if (s.status === "completed") {
14080
+ const p = fh(i.context), m = yh(i.context);
14081
+ (h = this.record) == null || h.identify(
14082
+ typeof m == "string" ? m : (u = (c = m.user) == null ? void 0 : c.toString()) != null ? u : p,
14083
+ ge(F({
14084
+ key: p
14085
+ }, typeof m == "object" ? m : {}), {
14086
+ timeout: i.timeout
14087
+ }),
14088
+ "LaunchDarkly"
14089
+ );
14090
+ }
14091
+ return n;
14090
14092
  },
14091
14093
  afterEvaluation: (i, n, s) => {
14092
14094
  var r, l, o, a;
@@ -14109,6 +14111,6 @@ class rZ extends Vh {
14109
14111
  }
14110
14112
  export {
14111
14113
  Ft as LDRecord,
14112
- rZ as default
14114
+ oZ as default
14113
14115
  };
14114
14116
  //# sourceMappingURL=session-replay.js.map