@adriansteffan/reactive 0.1.17 → 0.1.19

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.
@@ -13273,8 +13273,8 @@ var yY = Zi, wh = Cu, dC = yu, CY = Ua, bY = WE, wY = vY, xY = 1048575, pC = 104
13273
13273
  // 0x3E4CFDEB, 0x43CFD006
13274
13274
  ];
13275
13275
  function DY(i, e, t) {
13276
- var s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, w, x, T, A, R, D, V;
13277
- return R = 0, t < pC && (e *= TY, R -= 53, t = yY(e)), R += (t >> bY) - CY | 0, D = t & xY | 0, t = D | EY | 0, D <= 235662 ? V = 0 : D < 767610 ? V = 1 : (V = 0, R += 1, t -= pC), e = dC(e, t), h = AY[V], T = e - h, A = 1 / (e + h), r = T * A, a = wh(r, 0), s = (t >> 1 | VY) + SY, s += V << 18, l = dC(0, s), u = e - (l - h), o = A * (T - a * l - a * u), n = r * r, x = n * n * wY(n), x += o * (a + r), n = a * a, l = 3 + n + x, l = wh(l, 0), u = x - (l - 3 - n), T = a * l, A = o * l + u * r, d = T + A, d = wh(d, 0), f = A - (d - T), y = IY * d, v = RY * d + f * PY + _Y[V], c = LY[V], w = R, m = y + v + c + w, m = wh(m, 0), g = v - (m - w - c - y), i[0] = m, i[1] = g, i;
13276
+ var s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D, V;
13277
+ return A = 0, t < pC && (e *= TY, A -= 53, t = yY(e)), A += (t >> bY) - CY | 0, D = t & xY | 0, t = D | EY | 0, D <= 235662 ? V = 0 : D < 767610 ? V = 1 : (V = 0, A += 1, t -= pC), e = dC(e, t), h = AY[V], T = e - h, R = 1 / (e + h), r = T * R, a = wh(r, 0), s = (t >> 1 | VY) + SY, s += V << 18, l = dC(0, s), u = e - (l - h), o = R * (T - a * l - a * u), n = r * r, x = n * n * wY(n), x += o * (a + r), n = a * a, l = 3 + n + x, l = wh(l, 0), u = x - (l - 3 - n), T = a * l, R = o * l + u * r, d = T + R, d = wh(d, 0), f = R - (d - T), y = IY * d, v = RY * d + f * PY + _Y[V], c = LY[V], b = A, m = y + v + c + b, m = wh(m, 0), g = v - (m - b - c - y), i[0] = m, i[1] = g, i;
13278
13278
  }
13279
13279
  var kY = DY;
13280
13280
  /**
@@ -16422,7 +16422,7 @@ const hae = (i) => {
16422
16422
  return console.warn(`Capacitor plugin "${c}" already registered. Cannot register plugins twice.`), f.proxy;
16423
16423
  const y = r(), v = o(c);
16424
16424
  let m;
16425
- const g = async () => (!m && y in d ? m = typeof d[y] == "function" ? m = await d[y]() : m = d[y] : e !== null && !m && "web" in d && (m = typeof d.web == "function" ? m = await d.web() : m = d.web), m), w = (V, _) => {
16425
+ const g = async () => (!m && y in d ? m = typeof d[y] == "function" ? m = await d[y]() : m = d[y] : e !== null && !m && "web" in d && (m = typeof d.web == "function" ? m = await d.web() : m = d.web), m), b = (V, _) => {
16426
16426
  var N, q;
16427
16427
  if (v) {
16428
16428
  const Q = v == null ? void 0 : v.methods.find((L) => _ === L.name);
@@ -16439,7 +16439,7 @@ const hae = (i) => {
16439
16439
  let _;
16440
16440
  const N = (...q) => {
16441
16441
  const Q = g().then((L) => {
16442
- const B = w(L, V);
16442
+ const B = b(L, V);
16443
16443
  if (B) {
16444
16444
  const H = B(...q);
16445
16445
  return _ = H == null ? void 0 : H.remove, H;
@@ -16453,10 +16453,10 @@ const hae = (i) => {
16453
16453
  writable: !1,
16454
16454
  configurable: !1
16455
16455
  }), N;
16456
- }, T = x("addListener"), A = x("removeListener"), R = (V, _) => {
16456
+ }, T = x("addListener"), R = x("removeListener"), A = (V, _) => {
16457
16457
  const N = T({ eventName: V }, _), q = async () => {
16458
16458
  const L = await N;
16459
- A({
16459
+ R({
16460
16460
  eventName: V,
16461
16461
  callbackId: L
16462
16462
  }, _);
@@ -16472,9 +16472,9 @@ const hae = (i) => {
16472
16472
  case "toJSON":
16473
16473
  return () => ({});
16474
16474
  case "addListener":
16475
- return v ? R : T;
16475
+ return v ? A : T;
16476
16476
  case "removeListener":
16477
- return A;
16477
+ return R;
16478
16478
  default:
16479
16479
  return x(_);
16480
16480
  }
@@ -17018,12 +17018,12 @@ async function nCe(i, e) {
17018
17018
  t
17019
17019
  );
17020
17020
  t = m.participantState, m.storeUpdates && (r = { ...r, ...m.storeUpdates }), u++;
17021
- const g = m.duration ?? 0, w = h;
17021
+ const g = m.duration ?? 0, b = h;
17022
17022
  h += g;
17023
17023
  let x = {
17024
17024
  index: c,
17025
17025
  trialNumber: u,
17026
- start: w,
17026
+ start: b,
17027
17027
  end: h,
17028
17028
  duration: g,
17029
17029
  type: d.type,
@@ -17067,12 +17067,12 @@ async function aCe(i, e) {
17067
17067
  },
17068
17068
  stdio: ["ignore", "pipe", "pipe"]
17069
17069
  });
17070
- (g = m.stderr) == null || g.on("data", (w) => {
17071
- v += w.toString();
17072
- }), m.on("close", (w) => {
17073
- w !== 0 && u.push({ index: f, error: v.trim() || `exited with code ${w}` }), l++, h(), y();
17074
- }), m.on("error", (w) => {
17075
- u.push({ index: f, error: w.message }), l++, h(), y();
17070
+ (g = m.stderr) == null || g.on("data", (b) => {
17071
+ v += b.toString();
17072
+ }), m.on("close", (b) => {
17073
+ b !== 0 && u.push({ index: f, error: v.trim() || `exited with code ${b}` }), l++, h(), y();
17074
+ }), m.on("error", (b) => {
17075
+ u.push({ index: f, error: b.message }), l++, h(), y();
17076
17076
  });
17077
17077
  });
17078
17078
  h();
@@ -17229,9 +17229,9 @@ function Tae(i) {
17229
17229
  else {
17230
17230
  const g = i.postStimStrategy;
17231
17231
  if (g.type === "snapshot") {
17232
- const w = Math.abs(c - l), x = Math.abs(c - u);
17232
+ const b = Math.abs(c - l), x = Math.abs(c - u);
17233
17233
  return {
17234
- choice: w <= x ? 1 : 0,
17234
+ choice: b <= x ? 1 : 0,
17235
17235
  rt: h + o,
17236
17236
  finalEvidence: c,
17237
17237
  isContaminated: !1
@@ -17317,7 +17317,7 @@ function Rae() {
17317
17317
  return typeof ie == "function" ? ie : null;
17318
17318
  }
17319
17319
  var g = i.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
17320
- function w(M) {
17320
+ function b(M) {
17321
17321
  {
17322
17322
  for (var ie = arguments.length, me = new Array(ie > 1 ? ie - 1 : 0), Fe = 1; Fe < ie; Fe++)
17323
17323
  me[Fe - 1] = arguments[Fe];
@@ -17334,10 +17334,10 @@ function Rae() {
17334
17334
  Pt.unshift("Warning: " + ie), Function.prototype.apply.call(console[M], console, Pt);
17335
17335
  }
17336
17336
  }
17337
- var T = !1, A = !1, R = !1, D = !1, V = !1, _;
17337
+ var T = !1, R = !1, A = !1, D = !1, V = !1, _;
17338
17338
  _ = Symbol.for("react.module.reference");
17339
17339
  function N(M) {
17340
- return !!(typeof M == "string" || typeof M == "function" || M === s || M === n || V || M === r || M === u || M === h || D || M === f || T || A || R || typeof M == "object" && M !== null && (M.$$typeof === d || M.$$typeof === c || M.$$typeof === a || M.$$typeof === o || M.$$typeof === l || // This needs to include all possible module reference object
17340
+ return !!(typeof M == "string" || typeof M == "function" || M === s || M === n || V || M === r || M === u || M === h || D || M === f || T || R || A || typeof M == "object" && M !== null && (M.$$typeof === d || M.$$typeof === c || M.$$typeof === a || M.$$typeof === o || M.$$typeof === l || // This needs to include all possible module reference object
17341
17341
  // types supported by any Flight configuration anywhere since
17342
17342
  // we don't know which Flight build this will end up being used
17343
17343
  // with.
@@ -17356,7 +17356,7 @@ function Rae() {
17356
17356
  function L(M) {
17357
17357
  if (M == null)
17358
17358
  return null;
17359
- if (typeof M.tag == "number" && w("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof M == "function")
17359
+ if (typeof M.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof M == "function")
17360
17360
  return M.displayName || M.name || null;
17361
17361
  if (typeof M == "string")
17362
17362
  return M;
@@ -17457,7 +17457,7 @@ function Rae() {
17457
17457
  })
17458
17458
  });
17459
17459
  }
17460
- H < 0 && w("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
17460
+ H < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
17461
17461
  }
17462
17462
  }
17463
17463
  var te = g.ReactCurrentDispatcher, we;
@@ -17609,7 +17609,7 @@ function Rae() {
17609
17609
  } catch (jt) {
17610
17610
  Ye = jt;
17611
17611
  }
17612
- Ye && !(Ye instanceof Error) && (Ct(bt), w("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Fe || "React class", me, it, typeof Ye), Ct(null)), Ye instanceof Error && !(Ye.message in Mt) && (Mt[Ye.message] = !0, Ct(bt), w("Failed %s type: %s", me, Ye.message), Ct(null));
17612
+ Ye && !(Ye instanceof Error) && (Ct(bt), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", Fe || "React class", me, it, typeof Ye), Ct(null)), Ye instanceof Error && !(Ye.message in Mt) && (Mt[Ye.message] = !0, Ct(bt), b("Failed %s type: %s", me, Ye.message), Ct(null));
17613
17613
  }
17614
17614
  }
17615
17615
  }
@@ -17635,7 +17635,7 @@ function Rae() {
17635
17635
  }
17636
17636
  function Ur(M) {
17637
17637
  if (bs(M))
17638
- return w("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ns(M)), ws(M);
17638
+ return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", ns(M)), ws(M);
17639
17639
  }
17640
17640
  var js = g.ReactCurrentOwner, Ws = {
17641
17641
  key: !0,
@@ -17665,7 +17665,7 @@ function Rae() {
17665
17665
  function Z(M, ie) {
17666
17666
  {
17667
17667
  var me = function() {
17668
- _i || (_i = !0, w("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ie));
17668
+ _i || (_i = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ie));
17669
17669
  };
17670
17670
  me.isReactWarning = !0, Object.defineProperty(M, "key", {
17671
17671
  get: me,
@@ -17676,7 +17676,7 @@ function Rae() {
17676
17676
  function se(M, ie) {
17677
17677
  {
17678
17678
  var me = function() {
17679
- Gs || (Gs = !0, w("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ie));
17679
+ Gs || (Gs = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", ie));
17680
17680
  };
17681
17681
  me.isReactWarning = !0, Object.defineProperty(M, "ref", {
17682
17682
  get: me,
@@ -17782,7 +17782,7 @@ Check the top-level render call using <` + me + ">.");
17782
17782
  return;
17783
17783
  pa[me] = !0;
17784
17784
  var Fe = "";
17785
- M && M._owner && M._owner !== de.current && (Fe = " It was passed a child from " + L(M._owner.type) + "."), je(M), w('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', me, Fe), je(null);
17785
+ M && M._owner && M._owner !== de.current && (Fe = " It was passed a child from " + L(M._owner.type) + "."), je(M), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', me, Fe), je(null);
17786
17786
  }
17787
17787
  }
17788
17788
  function $u(M, ie) {
@@ -17824,9 +17824,9 @@ Check the top-level render call using <` + me + ">.");
17824
17824
  } else if (ie.PropTypes !== void 0 && !as) {
17825
17825
  as = !0;
17826
17826
  var bt = L(ie);
17827
- w("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", bt || "Unknown");
17827
+ b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", bt || "Unknown");
17828
17828
  }
17829
- typeof ie.getDefaultProps == "function" && !ie.getDefaultProps.isReactClassApproved && w("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
17829
+ typeof ie.getDefaultProps == "function" && !ie.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
17830
17830
  }
17831
17831
  }
17832
17832
  function up(M) {
@@ -17834,11 +17834,11 @@ Check the top-level render call using <` + me + ">.");
17834
17834
  for (var ie = Object.keys(M.props), me = 0; me < ie.length; me++) {
17835
17835
  var Fe = ie[me];
17836
17836
  if (Fe !== "children" && Fe !== "key") {
17837
- je(M), w("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Fe), je(null);
17837
+ je(M), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", Fe), je(null);
17838
17838
  break;
17839
17839
  }
17840
17840
  }
17841
- M.ref !== null && (je(M), w("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
17841
+ M.ref !== null && (je(M), b("Invalid attribute `ref` supplied to `React.Fragment`."), je(null));
17842
17842
  }
17843
17843
  }
17844
17844
  var Hu = {};
@@ -17851,7 +17851,7 @@ Check the top-level render call using <` + me + ">.");
17851
17851
  var As = Za();
17852
17852
  As ? Ye += As : Ye += zr();
17853
17853
  var jt;
17854
- M === null ? jt = "null" : Te(M) ? jt = "array" : M !== void 0 && M.$$typeof === e ? (jt = "<" + (L(M.type) || "Unknown") + " />", Ye = " Did you accidentally export a JSX literal instead of a component?") : jt = typeof M, w("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", jt, Ye);
17854
+ M === null ? jt = "null" : Te(M) ? jt = "array" : M !== void 0 && M.$$typeof === e ? (jt = "<" + (L(M.type) || "Unknown") + " />", Ye = " Did you accidentally export a JSX literal instead of a component?") : jt = typeof M, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", jt, Ye);
17855
17855
  }
17856
17856
  var Kt = ae(M, ie, me, bt, Pt);
17857
17857
  if (Kt == null)
@@ -17865,7 +17865,7 @@ Check the top-level render call using <` + me + ">.");
17865
17865
  $u(si[bn], M);
17866
17866
  Object.freeze && Object.freeze(si);
17867
17867
  } else
17868
- w("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
17868
+ b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
17869
17869
  else
17870
17870
  $u(si, M);
17871
17871
  }
@@ -17875,7 +17875,7 @@ Check the top-level render call using <` + me + ">.");
17875
17875
  }), cl = $s.length > 0 ? "{key: someKey, " + $s.join(": ..., ") + ": ...}" : "{key: someKey}";
17876
17876
  if (!Hu[jr + cl]) {
17877
17877
  var fp = $s.length > 0 ? "{" + $s.join(": ..., ") + ": ...}" : "{}";
17878
- w(`A props object containing a "key" prop is being spread into JSX:
17878
+ b(`A props object containing a "key" prop is being spread into JSX:
17879
17879
  let props = %s;
17880
17880
  <%s {...props} />
17881
17881
  React keys must be passed directly to JSX without using spread:
@@ -18044,17 +18044,18 @@ function Lae({
18044
18044
  prolificCode: i,
18045
18045
  className: e,
18046
18046
  containerClass: t,
18047
- data: s,
18048
- updateStore: r
18047
+ animate: s,
18048
+ data: r,
18049
+ updateStore: n
18049
18050
  }) {
18050
- let n = i ?? Oo("cc", "", "string") ?? null;
18051
- const a = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
18051
+ let a = i ?? Oo("cc", "", "string") ?? null;
18052
+ const o = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
18052
18053
  /* @__PURE__ */ I.jsx("svg", { className: "w-12 h-12", fill: "none", stroke: "currentColor", viewBox: "0 0 24 24", children: /* @__PURE__ */ I.jsx("path", { strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: 2, d: "M5 13l4 4L19 7" }) }),
18053
18054
  /* @__PURE__ */ I.jsxs("p", { className: "", children: [
18054
18055
  "Thank you! Your data has been successfully submitted. ",
18055
18056
  /* @__PURE__ */ I.jsx("br", {}),
18056
18057
  " You can go back to Prolific and enter the code ",
18057
- n,
18058
+ a,
18058
18059
  " to finish the study. Alternatively, you can click on this link:",
18059
18060
  " ",
18060
18061
  /* @__PURE__ */ I.jsx(
@@ -18062,13 +18063,13 @@ function Lae({
18062
18063
  {
18063
18064
  target: "_blank",
18064
18065
  className: "text-blue-400",
18065
- href: `https://app.prolific.com/submissions/complete?cc=${n}`,
18066
+ href: `https://app.prolific.com/submissions/complete?cc=${a}`,
18066
18067
  children: "Go to Prolific"
18067
18068
  }
18068
18069
  )
18069
18070
  ] })
18070
18071
  ] });
18071
- return /* @__PURE__ */ I.jsx(wv, { data: s, updateStore: r, className: e, containerClass: t, content: a, buttonText: "", next: () => {
18072
+ return /* @__PURE__ */ I.jsx(wv, { data: r, updateStore: n, className: e, containerClass: t, animate: s, content: o, buttonText: "", next: () => {
18072
18073
  } });
18073
18074
  }
18074
18075
  var SV = {
@@ -18202,39 +18203,39 @@ const Hae = ({ stream: i }) => {
18202
18203
  const d = new Uint8Array(a.frequencyBinCount);
18203
18204
  r.current = Array(a.frequencyBinCount).fill(128);
18204
18205
  const f = (m, g) => g + (m - g) * 0.08, y = (m, g = 3) => {
18205
- const w = new Array(m.length).fill(0);
18206
+ const b = new Array(m.length).fill(0);
18206
18207
  for (let x = 0; x < m.length; x++) {
18207
- let T = 0, A = 0;
18208
- for (let R = Math.max(0, x - g); R < Math.min(m.length, x + g + 1); R++)
18209
- T += m[R], A++;
18210
- w[x] = T / A;
18208
+ let T = 0, R = 0;
18209
+ for (let A = Math.max(0, x - g); A < Math.min(m.length, x + g + 1); A++)
18210
+ T += m[A], R++;
18211
+ b[x] = T / R;
18211
18212
  }
18212
- return w;
18213
+ return b;
18213
18214
  }, v = () => {
18214
- const m = c.width, g = c.height, w = g / 2;
18215
+ const m = c.width, g = c.height, b = g / 2;
18215
18216
  t.current = requestAnimationFrame(v), a.getByteTimeDomainData(d);
18216
18217
  const x = Array.from(d).map(
18217
18218
  (D, V) => f(D, r.current[V])
18218
18219
  ), T = y(x);
18219
- r.current = T, u.fillStyle = "#ffffff", u.fillRect(0, 0, m * h, g * h), u.beginPath(), u.strokeStyle = "rgba(0, 0, 0, 0.1)", u.lineWidth = 1, u.moveTo(0, w), u.lineTo(m, w), u.stroke(), u.beginPath(), u.lineWidth = 2, u.strokeStyle = "rgba(0, 0, 0, 0.85)";
18220
- const A = 4, R = [];
18221
- for (let D = 0; D < T.length; D += A) {
18222
- const V = D / T.length * m, _ = (T[D] - 128) / 128, N = w + _ * g * 4;
18223
- R.push([V, N]);
18224
- }
18225
- if (R.length > 0) {
18226
- u.moveTo(R[0][0], R[0][1]);
18227
- for (let D = 1; D < R.length - 2; D++) {
18228
- const V = (R[D][0] + R[D + 1][0]) / 2, _ = (R[D][1] + R[D + 1][1]) / 2;
18229
- u.quadraticCurveTo(R[D][0], R[D][1], V, _);
18220
+ r.current = T, u.fillStyle = "#ffffff", u.fillRect(0, 0, m * h, g * h), u.beginPath(), u.strokeStyle = "rgba(0, 0, 0, 0.1)", u.lineWidth = 1, u.moveTo(0, b), u.lineTo(m, b), u.stroke(), u.beginPath(), u.lineWidth = 2, u.strokeStyle = "rgba(0, 0, 0, 0.85)";
18221
+ const R = 4, A = [];
18222
+ for (let D = 0; D < T.length; D += R) {
18223
+ const V = D / T.length * m, _ = (T[D] - 128) / 128, N = b + _ * g * 4;
18224
+ A.push([V, N]);
18225
+ }
18226
+ if (A.length > 0) {
18227
+ u.moveTo(A[0][0], A[0][1]);
18228
+ for (let D = 1; D < A.length - 2; D++) {
18229
+ const V = (A[D][0] + A[D + 1][0]) / 2, _ = (A[D][1] + A[D + 1][1]) / 2;
18230
+ u.quadraticCurveTo(A[D][0], A[D][1], V, _);
18230
18231
  }
18231
- if (R.length > 2) {
18232
- const D = R.length - 1;
18232
+ if (A.length > 2) {
18233
+ const D = A.length - 1;
18233
18234
  u.quadraticCurveTo(
18234
- R[D - 1][0],
18235
- R[D - 1][1],
18236
- R[D][0],
18237
- R[D][1]
18235
+ A[D - 1][0],
18236
+ A[D - 1][1],
18237
+ A[D][0],
18238
+ A[D][1]
18238
18239
  );
18239
18240
  }
18240
18241
  }
@@ -18264,11 +18265,11 @@ const Hae = ({ stream: i }) => {
18264
18265
  deviceId: { exact: v }
18265
18266
  } : !0
18266
18267
  }, g = await navigator.mediaDevices.getUserMedia(m);
18267
- l(g), u.current = new MediaRecorder(g), h.current = [], u.current.ondataavailable = (w) => {
18268
- w.data.size > 0 && h.current.push(w.data);
18268
+ l(g), u.current = new MediaRecorder(g), h.current = [], u.current.ondataavailable = (b) => {
18269
+ b.data.size > 0 && h.current.push(b.data);
18269
18270
  }, u.current.onstop = () => {
18270
- const w = new Blob(h.current, { type: "audio/webm" }), x = URL.createObjectURL(w);
18271
- a(x), l(null), f(w, x);
18271
+ const b = new Blob(h.current, { type: "audio/webm" }), x = URL.createObjectURL(b);
18272
+ a(x), l(null), f(b, x);
18272
18273
  }, u.current.start(), r(!0);
18273
18274
  } catch (v) {
18274
18275
  console.error("Error accessing microphone:", v);
@@ -18277,12 +18278,12 @@ const Hae = ({ stream: i }) => {
18277
18278
  u.current && s && (u.current.stop(), u.current.stream.getTracks().forEach((v) => v.stop()), r(!1));
18278
18279
  }, f = async (v, m) => {
18279
18280
  if (v && m) {
18280
- const g = await new Promise((w) => {
18281
+ const g = await new Promise((b) => {
18281
18282
  const x = new FileReader();
18282
18283
  x.onloadend = () => {
18283
- var A;
18284
- const T = ((A = x.result) == null ? void 0 : A.toString().split(",")[1]) || "";
18285
- w(T);
18284
+ var R;
18285
+ const T = ((R = x.result) == null ? void 0 : R.toString().split(",")[1]) || "";
18286
+ b(T);
18286
18287
  }, x.readAsDataURL(v);
18287
18288
  });
18288
18289
  e({
@@ -21578,22 +21579,22 @@ const Vv = (
21578
21579
  Expression: Xa
21579
21580
  };
21580
21581
  let o = Xa;
21581
- const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", w = "=", x = "!=", T = "notequal", A = "<", R = "less", D = ">", V = "greater", _ = "+", N = "-", q = "*", Q = "/", L = "%", B = "^", H = "power", $ = "*=", j = "contains", G = "contain", ne = "notcontains", Y = "notcontain", oe = "anyof", re = "allof", ue = "noneof", Ie = "(", ge = "!", te = "negate", we = "empty", et = "notempty", Yt = "undefined", Gt = "null", Is = "{", Et = "}", cs = "''", rs = '""', Le = "'", st = '"', Mt = "[", zt = "]", Ct = ",", _e = "true", Ge = "false", Te = "0x", ns = ".", bs = "0", ws = "\\'", Ur = '\\"', js = /^[\-]/, Ws = /^[^"']/, _i = /^[^{}]/, Gs = /^[0-9]/, Di = /^[1-9]/, da = /^[a-zA-Z_]/, Cn = /^[ \t\n\r]/, Z = Pe("||", !1), se = Pe("or", !0), X = Pe("&&", !1), ae = Pe("and", !0), de = Pe("<=", !1), Ae = Pe("lessorequal", !0), je = Pe(">=", !1), as = Pe("greaterorequal", !0), Rs = Pe("==", !1), zr = Pe("equal", !0), Za = Pe("=", !1), pa = Pe("!=", !1), op = Pe("notequal", !0), Bu = Pe("<", !1), $u = Pe("less", !0), lp = Pe(">", !1), up = Pe("greater", !0), Hu = Pe("+", !1), Qu = Pe("-", !1), hp = Pe("*", !1), cp = Pe("/", !1), dp = Pe("%", !1), pp = Pe("^", !1), M = Pe("power", !0), ie = Pe("*=", !1), me = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), it = Pe("anyof", !0), Ye = Pe("allof", !0), As = Pe("noneof", !0), jt = Pe("(", !1), Kt = Pe(")", !1), si = Pe("!", !1), bn = Pe("negate", !0), jr = Pe("empty", !0), $s = Pe("notempty", !0), cl = Pe("undefined", !1), fp = Pe("null", !1), mp = Pe("{", !1), Y4 = Pe("}", !1), X4 = Pe("''", !1), eT = Pe('""', !1), N0 = Pe("'", !1), F0 = Pe('"', !1), tT = Pe("[", !1), sT = Pe("]", !1), q0 = Pe(",", !1), iT = Pe("true", !0), rT = Pe("false", !0), nT = Pe("0x", !1), aT = fa(["-"], !1, !1, !1), oT = Pe(".", !1), lT = Pe("0", !1), uT = Pe("\\'", !1), hT = Pe('\\"', !1), cT = fa(['"', "'"], !0, !1, !1), dT = fa(["{", "}"], !0, !1, !1), B0 = fa([["0", "9"]], !1, !1, !1), $0 = fa([["1", "9"]], !1, !1, !1), H0 = fa([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Q0 = fa([" ", " ", `
21582
+ const l = "||", u = "or", h = "&&", c = "and", d = "<=", f = "lessorequal", y = ">=", v = "greaterorequal", m = "==", g = "equal", b = "=", x = "!=", T = "notequal", R = "<", A = "less", D = ">", V = "greater", _ = "+", N = "-", q = "*", Q = "/", L = "%", B = "^", H = "power", $ = "*=", j = "contains", G = "contain", ne = "notcontains", Y = "notcontain", oe = "anyof", re = "allof", ue = "noneof", Ie = "(", ge = "!", te = "negate", we = "empty", et = "notempty", Yt = "undefined", Gt = "null", Is = "{", Et = "}", cs = "''", rs = '""', Le = "'", st = '"', Mt = "[", zt = "]", Ct = ",", _e = "true", Ge = "false", Te = "0x", ns = ".", bs = "0", ws = "\\'", Ur = '\\"', js = /^[\-]/, Ws = /^[^"']/, _i = /^[^{}]/, Gs = /^[0-9]/, Di = /^[1-9]/, da = /^[a-zA-Z_]/, Cn = /^[ \t\n\r]/, Z = Pe("||", !1), se = Pe("or", !0), X = Pe("&&", !1), ae = Pe("and", !0), de = Pe("<=", !1), Ae = Pe("lessorequal", !0), je = Pe(">=", !1), as = Pe("greaterorequal", !0), Rs = Pe("==", !1), zr = Pe("equal", !0), Za = Pe("=", !1), pa = Pe("!=", !1), op = Pe("notequal", !0), Bu = Pe("<", !1), $u = Pe("less", !0), lp = Pe(">", !1), up = Pe("greater", !0), Hu = Pe("+", !1), Qu = Pe("-", !1), hp = Pe("*", !1), cp = Pe("/", !1), dp = Pe("%", !1), pp = Pe("^", !1), M = Pe("power", !0), ie = Pe("*=", !1), me = Pe("contains", !0), Fe = Pe("contain", !0), bt = Pe("notcontains", !0), Pt = Pe("notcontain", !0), it = Pe("anyof", !0), Ye = Pe("allof", !0), As = Pe("noneof", !0), jt = Pe("(", !1), Kt = Pe(")", !1), si = Pe("!", !1), bn = Pe("negate", !0), jr = Pe("empty", !0), $s = Pe("notempty", !0), cl = Pe("undefined", !1), fp = Pe("null", !1), mp = Pe("{", !1), Y4 = Pe("}", !1), X4 = Pe("''", !1), eT = Pe('""', !1), N0 = Pe("'", !1), F0 = Pe('"', !1), tT = Pe("[", !1), sT = Pe("]", !1), q0 = Pe(",", !1), iT = Pe("true", !0), rT = Pe("false", !0), nT = Pe("0x", !1), aT = fa(["-"], !1, !1, !1), oT = Pe(".", !1), lT = Pe("0", !1), uT = Pe("\\'", !1), hT = Pe('\\"', !1), cT = fa(['"', "'"], !0, !1, !1), dT = fa(["{", "}"], !0, !1, !1), B0 = fa([["0", "9"]], !1, !1, !1), $0 = fa([["1", "9"]], !1, !1, !1), H0 = fa([["a", "z"], ["A", "Z"], "_"], !1, !1, !1), Q0 = fa([" ", " ", `
21582
21583
  `, "\r"], !1, !1, !1);
21583
- function pT(C, b) {
21584
- return ma(C, b, !0);
21584
+ function pT(C, w) {
21585
+ return ma(C, w, !0);
21585
21586
  }
21586
21587
  function fT() {
21587
21588
  return "or";
21588
21589
  }
21589
- function mT(C, b) {
21590
- return ma(C, b, !0);
21590
+ function mT(C, w) {
21591
+ return ma(C, w, !0);
21591
21592
  }
21592
21593
  function gT() {
21593
21594
  return "and";
21594
21595
  }
21595
- function vT(C, b) {
21596
- return ma(C, b);
21596
+ function vT(C, w) {
21597
+ return ma(C, w);
21597
21598
  }
21598
21599
  function yT() {
21599
21600
  return "lessorequal";
@@ -21616,8 +21617,8 @@ const Vv = (
21616
21617
  function VT() {
21617
21618
  return "greater";
21618
21619
  }
21619
- function ST(C, b) {
21620
- return ma(C, b, !0);
21620
+ function ST(C, w) {
21621
+ return ma(C, w, !0);
21621
21622
  }
21622
21623
  function TT() {
21623
21624
  return "plus";
@@ -21625,8 +21626,8 @@ const Vv = (
21625
21626
  function PT() {
21626
21627
  return "minus";
21627
21628
  }
21628
- function IT(C, b) {
21629
- return ma(C, b, !0);
21629
+ function IT(C, w) {
21630
+ return ma(C, w, !0);
21630
21631
  }
21631
21632
  function RT() {
21632
21633
  return "mul";
@@ -21637,14 +21638,14 @@ const Vv = (
21637
21638
  function LT() {
21638
21639
  return "mod";
21639
21640
  }
21640
- function _T(C, b) {
21641
- return ma(C, b, !0);
21641
+ function _T(C, w) {
21642
+ return ma(C, w, !0);
21642
21643
  }
21643
21644
  function DT() {
21644
21645
  return "power";
21645
21646
  }
21646
- function kT(C, b) {
21647
- return ma(C, b);
21647
+ function kT(C, w) {
21648
+ return ma(C, w);
21648
21649
  }
21649
21650
  function OT() {
21650
21651
  return "contains";
@@ -21664,14 +21665,14 @@ const Vv = (
21664
21665
  function Qye(C) {
21665
21666
  return C;
21666
21667
  }
21667
- function BT(C, b) {
21668
- return new Moe(C, b);
21668
+ function BT(C, w) {
21669
+ return new Moe(C, w);
21669
21670
  }
21670
21671
  function $T(C) {
21671
21672
  return new Lb(C, "negate");
21672
21673
  }
21673
- function HT(C, b) {
21674
- return new Lb(C, b);
21674
+ function HT(C, w) {
21675
+ return new Lb(C, w);
21675
21676
  }
21676
21677
  function QT() {
21677
21678
  return "empty";
@@ -21712,12 +21713,12 @@ const Vv = (
21712
21713
  function Wye(C) {
21713
21714
  return C;
21714
21715
  }
21715
- function YT(C, b) {
21716
+ function YT(C, w) {
21716
21717
  if (C == null)
21717
21718
  return new Dm([]);
21718
21719
  var z = [C];
21719
- if (Array.isArray(b))
21720
- for (var O = TP(b), J = 3; J < O.length; J += 4)
21720
+ if (Array.isArray(w))
21721
+ for (var O = TP(w), J = 3; J < O.length; J += 4)
21721
21722
  z.push(O[J]);
21722
21723
  return new Dm(z);
21723
21724
  }
@@ -21730,8 +21731,8 @@ const Vv = (
21730
21731
  function tP() {
21731
21732
  return parseInt(Ya(), 16);
21732
21733
  }
21733
- function sP(C, b) {
21734
- return C == null ? b : -b;
21734
+ function sP(C, w) {
21735
+ return C == null ? w : -w;
21735
21736
  }
21736
21737
  function iP() {
21737
21738
  return parseFloat(Ya());
@@ -21775,38 +21776,38 @@ const Vv = (
21775
21776
  return t.substring(xe, E);
21776
21777
  }
21777
21778
  function pP(C = E) {
21778
- const b = t.codePointAt(C);
21779
- return b === void 0 ? "" : String.fromCodePoint(b);
21779
+ const w = t.codePointAt(C);
21780
+ return w === void 0 ? "" : String.fromCodePoint(w);
21780
21781
  }
21781
- function Pe(C, b) {
21782
- return { type: "literal", text: C, ignoreCase: b };
21782
+ function Pe(C, w) {
21783
+ return { type: "literal", text: C, ignoreCase: w };
21783
21784
  }
21784
- function fa(C, b, z, O) {
21785
- return { type: "class", parts: C, inverted: b, ignoreCase: z, unicode: O };
21785
+ function fa(C, w, z, O) {
21786
+ return { type: "class", parts: C, inverted: w, ignoreCase: z, unicode: O };
21786
21787
  }
21787
21788
  function fP() {
21788
21789
  return { type: "end" };
21789
21790
  }
21790
21791
  function U0(C) {
21791
- let b = Ja[C], z;
21792
- if (b)
21793
- return b;
21792
+ let w = Ja[C], z;
21793
+ if (w)
21794
+ return w;
21794
21795
  if (C >= Ja.length)
21795
21796
  z = Ja.length - 1;
21796
21797
  else
21797
21798
  for (z = C; !Ja[--z]; )
21798
21799
  ;
21799
- for (b = Ja[z], b = {
21800
+ for (w = Ja[z], w = {
21800
21801
  // @ts-ignore
21801
- line: b.line,
21802
+ line: w.line,
21802
21803
  // @ts-ignore
21803
- column: b.column
21804
+ column: w.column
21804
21805
  }; z < C; )
21805
- t.charCodeAt(z) === 10 ? (b.line++, b.column = 1) : b.column++, z++;
21806
- return Ja[C] = b, b;
21806
+ t.charCodeAt(z) === 10 ? (w.line++, w.column = 1) : w.column++, z++;
21807
+ return Ja[C] = w, w;
21807
21808
  }
21808
- function z0(C, b, z) {
21809
- const O = U0(C), J = U0(b);
21809
+ function z0(C, w, z) {
21810
+ const O = U0(C), J = U0(w);
21810
21811
  return {
21811
21812
  // @ts-ignore
21812
21813
  source: n,
@@ -21822,7 +21823,7 @@ const Vv = (
21822
21823
  // @ts-ignore
21823
21824
  end: {
21824
21825
  // @ts-ignore
21825
- offset: b,
21826
+ offset: w,
21826
21827
  // @ts-ignore
21827
21828
  line: J.line,
21828
21829
  // @ts-ignore
@@ -21833,243 +21834,243 @@ const Vv = (
21833
21834
  function ce(C) {
21834
21835
  E < Yi || (E > Yi && (Yi = E, Uu = []), Uu.push(C));
21835
21836
  }
21836
- function mP(C, b, z) {
21837
+ function mP(C, w, z) {
21837
21838
  return new i(
21838
21839
  // @ts-ignore
21839
- i.buildMessage(C, b),
21840
+ i.buildMessage(C, w),
21840
21841
  // @ts-ignore
21841
21842
  C,
21842
21843
  // @ts-ignore
21843
- b,
21844
+ w,
21844
21845
  // @ts-ignore
21845
21846
  z
21846
21847
  );
21847
21848
  }
21848
21849
  function Xa() {
21849
- let C, b, z, O, J, le, qe, Ee;
21850
+ let C, w, z, O, J, le, qe, Ee;
21850
21851
  const At = E * 34 + 0, wt = ve[At];
21851
21852
  if (wt)
21852
21853
  return E = wt.nextPos, wt.result;
21853
- if (C = E, Ke(), b = gp(), b !== r) {
21854
+ if (C = E, Ke(), w = gp(), w !== r) {
21854
21855
  for (z = [], O = E, J = Ke(), le = j0(), le !== r ? (qe = Ke(), Ee = gp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21855
21856
  z.push(O), O = E, J = Ke(), le = j0(), le !== r ? (qe = Ke(), Ee = gp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21856
- O = Ke(), xe = C, C = pT(b, z);
21857
+ O = Ke(), xe = C, C = pT(w, z);
21857
21858
  } else
21858
21859
  E = C, C = r;
21859
21860
  return ve[At] = { nextPos: E, result: C }, C;
21860
21861
  }
21861
21862
  function j0() {
21862
- let C, b;
21863
+ let C, w;
21863
21864
  const z = E * 34 + 1, O = ve[z];
21864
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === l ? (b = l, E += 2) : (b = r, he === 0 && ce(Z)), b === r && (b = t.substr(E, 2), b.toLowerCase() === u ? E += 2 : (b = r, he === 0 && ce(se))), b !== r && (xe = C, b = fT()), C = b, ve[z] = { nextPos: E, result: C }, C);
21865
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === l ? (w = l, E += 2) : (w = r, he === 0 && ce(Z)), w === r && (w = t.substr(E, 2), w.toLowerCase() === u ? E += 2 : (w = r, he === 0 && ce(se))), w !== r && (xe = C, w = fT()), C = w, ve[z] = { nextPos: E, result: C }, C);
21865
21866
  }
21866
21867
  function gp() {
21867
- let C, b, z, O, J, le, qe, Ee;
21868
+ let C, w, z, O, J, le, qe, Ee;
21868
21869
  const At = E * 34 + 2, wt = ve[At];
21869
21870
  if (wt)
21870
21871
  return E = wt.nextPos, wt.result;
21871
- if (C = E, b = vp(), b !== r) {
21872
+ if (C = E, w = vp(), w !== r) {
21872
21873
  for (z = [], O = E, J = Ke(), le = W0(), le !== r ? (qe = Ke(), Ee = vp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21873
21874
  z.push(O), O = E, J = Ke(), le = W0(), le !== r ? (qe = Ke(), Ee = vp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21874
- xe = C, C = mT(b, z);
21875
+ xe = C, C = mT(w, z);
21875
21876
  } else
21876
21877
  E = C, C = r;
21877
21878
  return ve[At] = { nextPos: E, result: C }, C;
21878
21879
  }
21879
21880
  function W0() {
21880
- let C, b;
21881
+ let C, w;
21881
21882
  const z = E * 34 + 3, O = ve[z];
21882
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === h ? (b = h, E += 2) : (b = r, he === 0 && ce(X)), b === r && (b = t.substr(E, 3), b.toLowerCase() === c ? E += 3 : (b = r, he === 0 && ce(ae))), b !== r && (xe = C, b = gT()), C = b, ve[z] = { nextPos: E, result: C }, C);
21883
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === h ? (w = h, E += 2) : (w = r, he === 0 && ce(X)), w === r && (w = t.substr(E, 3), w.toLowerCase() === c ? E += 3 : (w = r, he === 0 && ce(ae))), w !== r && (xe = C, w = gT()), C = w, ve[z] = { nextPos: E, result: C }, C);
21883
21884
  }
21884
21885
  function vp() {
21885
- let C, b, z, O, J, le, qe, Ee;
21886
+ let C, w, z, O, J, le, qe, Ee;
21886
21887
  const At = E * 34 + 4, wt = ve[At];
21887
21888
  if (wt)
21888
21889
  return E = wt.nextPos, wt.result;
21889
- if (C = E, b = yp(), b !== r) {
21890
+ if (C = E, w = yp(), w !== r) {
21890
21891
  for (z = [], O = E, J = Ke(), le = G0(), le !== r ? (qe = Ke(), Ee = yp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21891
21892
  z.push(O), O = E, J = Ke(), le = G0(), le !== r ? (qe = Ke(), Ee = yp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21892
- xe = C, C = vT(b, z);
21893
+ xe = C, C = vT(w, z);
21893
21894
  } else
21894
21895
  E = C, C = r;
21895
21896
  return ve[At] = { nextPos: E, result: C }, C;
21896
21897
  }
21897
21898
  function G0() {
21898
- let C, b;
21899
+ let C, w;
21899
21900
  const z = E * 34 + 5, O = ve[z];
21900
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === d ? (b = d, E += 2) : (b = r, he === 0 && ce(de)), b === r && (b = t.substr(E, 11), b.toLowerCase() === f ? E += 11 : (b = r, he === 0 && ce(Ae))), b !== r && (xe = C, b = yT()), C = b, C === r && (C = E, t.substr(E, 2) === y ? (b = y, E += 2) : (b = r, he === 0 && ce(je)), b === r && (b = t.substr(E, 14), b.toLowerCase() === v ? E += 14 : (b = r, he === 0 && ce(as))), b !== r && (xe = C, b = CT()), C = b, C === r && (C = E, t.substr(E, 2) === m ? (b = m, E += 2) : (b = r, he === 0 && ce(Rs)), b === r && (b = t.substr(E, 5), b.toLowerCase() === g ? E += 5 : (b = r, he === 0 && ce(zr))), b !== r && (xe = C, b = bT()), C = b, C === r && (C = E, t.charCodeAt(E) === 61 ? (b = w, E++) : (b = r, he === 0 && ce(Za)), b === r && (b = t.substr(E, 5), b.toLowerCase() === g ? E += 5 : (b = r, he === 0 && ce(zr))), b !== r && (xe = C, b = wT()), C = b, C === r && (C = E, t.substr(E, 2) === x ? (b = x, E += 2) : (b = r, he === 0 && ce(pa)), b === r && (b = t.substr(E, 8), b.toLowerCase() === T ? E += 8 : (b = r, he === 0 && ce(op))), b !== r && (xe = C, b = xT()), C = b, C === r && (C = E, t.charCodeAt(E) === 60 ? (b = A, E++) : (b = r, he === 0 && ce(Bu)), b === r && (b = t.substr(E, 4), b.toLowerCase() === R ? E += 4 : (b = r, he === 0 && ce($u))), b !== r && (xe = C, b = ET()), C = b, C === r && (C = E, t.charCodeAt(E) === 62 ? (b = D, E++) : (b = r, he === 0 && ce(lp)), b === r && (b = t.substr(E, 7), b.toLowerCase() === V ? E += 7 : (b = r, he === 0 && ce(up))), b !== r && (xe = C, b = VT()), C = b)))))), ve[z] = { nextPos: E, result: C }, C);
21901
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === d ? (w = d, E += 2) : (w = r, he === 0 && ce(de)), w === r && (w = t.substr(E, 11), w.toLowerCase() === f ? E += 11 : (w = r, he === 0 && ce(Ae))), w !== r && (xe = C, w = yT()), C = w, C === r && (C = E, t.substr(E, 2) === y ? (w = y, E += 2) : (w = r, he === 0 && ce(je)), w === r && (w = t.substr(E, 14), w.toLowerCase() === v ? E += 14 : (w = r, he === 0 && ce(as))), w !== r && (xe = C, w = CT()), C = w, C === r && (C = E, t.substr(E, 2) === m ? (w = m, E += 2) : (w = r, he === 0 && ce(Rs)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, he === 0 && ce(zr))), w !== r && (xe = C, w = bT()), C = w, C === r && (C = E, t.charCodeAt(E) === 61 ? (w = b, E++) : (w = r, he === 0 && ce(Za)), w === r && (w = t.substr(E, 5), w.toLowerCase() === g ? E += 5 : (w = r, he === 0 && ce(zr))), w !== r && (xe = C, w = wT()), C = w, C === r && (C = E, t.substr(E, 2) === x ? (w = x, E += 2) : (w = r, he === 0 && ce(pa)), w === r && (w = t.substr(E, 8), w.toLowerCase() === T ? E += 8 : (w = r, he === 0 && ce(op))), w !== r && (xe = C, w = xT()), C = w, C === r && (C = E, t.charCodeAt(E) === 60 ? (w = R, E++) : (w = r, he === 0 && ce(Bu)), w === r && (w = t.substr(E, 4), w.toLowerCase() === A ? E += 4 : (w = r, he === 0 && ce($u))), w !== r && (xe = C, w = ET()), C = w, C === r && (C = E, t.charCodeAt(E) === 62 ? (w = D, E++) : (w = r, he === 0 && ce(lp)), w === r && (w = t.substr(E, 7), w.toLowerCase() === V ? E += 7 : (w = r, he === 0 && ce(up))), w !== r && (xe = C, w = VT()), C = w)))))), ve[z] = { nextPos: E, result: C }, C);
21901
21902
  }
21902
21903
  function yp() {
21903
- let C, b, z, O, J, le, qe, Ee;
21904
+ let C, w, z, O, J, le, qe, Ee;
21904
21905
  const At = E * 34 + 6, wt = ve[At];
21905
21906
  if (wt)
21906
21907
  return E = wt.nextPos, wt.result;
21907
- if (C = E, b = Cp(), b !== r) {
21908
+ if (C = E, w = Cp(), w !== r) {
21908
21909
  for (z = [], O = E, J = Ke(), le = K0(), le !== r ? (qe = Ke(), Ee = Cp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21909
21910
  z.push(O), O = E, J = Ke(), le = K0(), le !== r ? (qe = Ke(), Ee = Cp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21910
- xe = C, C = ST(b, z);
21911
+ xe = C, C = ST(w, z);
21911
21912
  } else
21912
21913
  E = C, C = r;
21913
21914
  return ve[At] = { nextPos: E, result: C }, C;
21914
21915
  }
21915
21916
  function K0() {
21916
- let C, b;
21917
+ let C, w;
21917
21918
  const z = E * 34 + 7, O = ve[z];
21918
- return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 43 ? (b = _, E++) : (b = r, he === 0 && ce(Hu)), b !== r && (xe = C, b = TT()), C = b, C === r && (C = E, t.charCodeAt(E) === 45 ? (b = N, E++) : (b = r, he === 0 && ce(Qu)), b !== r && (xe = C, b = PT()), C = b), ve[z] = { nextPos: E, result: C }, C);
21919
+ return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 43 ? (w = _, E++) : (w = r, he === 0 && ce(Hu)), w !== r && (xe = C, w = TT()), C = w, C === r && (C = E, t.charCodeAt(E) === 45 ? (w = N, E++) : (w = r, he === 0 && ce(Qu)), w !== r && (xe = C, w = PT()), C = w), ve[z] = { nextPos: E, result: C }, C);
21919
21920
  }
21920
21921
  function Cp() {
21921
- let C, b, z, O, J, le, qe, Ee;
21922
+ let C, w, z, O, J, le, qe, Ee;
21922
21923
  const At = E * 34 + 8, wt = ve[At];
21923
21924
  if (wt)
21924
21925
  return E = wt.nextPos, wt.result;
21925
- if (C = E, b = bp(), b !== r) {
21926
+ if (C = E, w = bp(), w !== r) {
21926
21927
  for (z = [], O = E, J = Ke(), le = Z0(), le !== r ? (qe = Ke(), Ee = bp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21927
21928
  z.push(O), O = E, J = Ke(), le = Z0(), le !== r ? (qe = Ke(), Ee = bp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21928
- xe = C, C = IT(b, z);
21929
+ xe = C, C = IT(w, z);
21929
21930
  } else
21930
21931
  E = C, C = r;
21931
21932
  return ve[At] = { nextPos: E, result: C }, C;
21932
21933
  }
21933
21934
  function Z0() {
21934
- let C, b;
21935
+ let C, w;
21935
21936
  const z = E * 34 + 9, O = ve[z];
21936
- return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 42 ? (b = q, E++) : (b = r, he === 0 && ce(hp)), b !== r && (xe = C, b = RT()), C = b, C === r && (C = E, t.charCodeAt(E) === 47 ? (b = Q, E++) : (b = r, he === 0 && ce(cp)), b !== r && (xe = C, b = AT()), C = b, C === r && (C = E, t.charCodeAt(E) === 37 ? (b = L, E++) : (b = r, he === 0 && ce(dp)), b !== r && (xe = C, b = LT()), C = b)), ve[z] = { nextPos: E, result: C }, C);
21937
+ return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 42 ? (w = q, E++) : (w = r, he === 0 && ce(hp)), w !== r && (xe = C, w = RT()), C = w, C === r && (C = E, t.charCodeAt(E) === 47 ? (w = Q, E++) : (w = r, he === 0 && ce(cp)), w !== r && (xe = C, w = AT()), C = w, C === r && (C = E, t.charCodeAt(E) === 37 ? (w = L, E++) : (w = r, he === 0 && ce(dp)), w !== r && (xe = C, w = LT()), C = w)), ve[z] = { nextPos: E, result: C }, C);
21937
21938
  }
21938
21939
  function bp() {
21939
- let C, b, z, O, J, le, qe, Ee;
21940
+ let C, w, z, O, J, le, qe, Ee;
21940
21941
  const At = E * 34 + 10, wt = ve[At];
21941
21942
  if (wt)
21942
21943
  return E = wt.nextPos, wt.result;
21943
- if (C = E, b = wp(), b !== r) {
21944
+ if (C = E, w = wp(), w !== r) {
21944
21945
  for (z = [], O = E, J = Ke(), le = J0(), le !== r ? (qe = Ke(), Ee = wp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
21945
21946
  z.push(O), O = E, J = Ke(), le = J0(), le !== r ? (qe = Ke(), Ee = wp(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
21946
- xe = C, C = _T(b, z);
21947
+ xe = C, C = _T(w, z);
21947
21948
  } else
21948
21949
  E = C, C = r;
21949
21950
  return ve[At] = { nextPos: E, result: C }, C;
21950
21951
  }
21951
21952
  function J0() {
21952
- let C, b;
21953
+ let C, w;
21953
21954
  const z = E * 34 + 11, O = ve[z];
21954
- return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 94 ? (b = B, E++) : (b = r, he === 0 && ce(pp)), b === r && (b = t.substr(E, 5), b.toLowerCase() === H ? E += 5 : (b = r, he === 0 && ce(M))), b !== r && (xe = C, b = DT()), C = b, ve[z] = { nextPos: E, result: C }, C);
21955
+ return O ? (E = O.nextPos, O.result) : (C = E, t.charCodeAt(E) === 94 ? (w = B, E++) : (w = r, he === 0 && ce(pp)), w === r && (w = t.substr(E, 5), w.toLowerCase() === H ? E += 5 : (w = r, he === 0 && ce(M))), w !== r && (xe = C, w = DT()), C = w, ve[z] = { nextPos: E, result: C }, C);
21955
21956
  }
21956
21957
  function wp() {
21957
- let C, b, z, O, J, le, qe, Ee;
21958
+ let C, w, z, O, J, le, qe, Ee;
21958
21959
  const At = E * 34 + 12, wt = ve[At];
21959
21960
  if (wt)
21960
21961
  return E = wt.nextPos, wt.result;
21961
- if (C = E, b = zu(), b !== r) {
21962
+ if (C = E, w = zu(), w !== r) {
21962
21963
  for (z = [], O = E, J = Ke(), le = Y0(), le !== r ? (qe = Ke(), Ee = zu(), Ee === r && (Ee = null), J = [J, le, qe, Ee], O = J) : (E = O, O = r); O !== r; )
21963
21964
  z.push(O), O = E, J = Ke(), le = Y0(), le !== r ? (qe = Ke(), Ee = zu(), Ee === r && (Ee = null), J = [J, le, qe, Ee], O = J) : (E = O, O = r);
21964
- xe = C, C = kT(b, z);
21965
+ xe = C, C = kT(w, z);
21965
21966
  } else
21966
21967
  E = C, C = r;
21967
21968
  return ve[At] = { nextPos: E, result: C }, C;
21968
21969
  }
21969
21970
  function Y0() {
21970
- let C, b;
21971
+ let C, w;
21971
21972
  const z = E * 34 + 13, O = ve[z];
21972
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (b = $, E += 2) : (b = r, he === 0 && ce(ie)), b === r && (b = t.substr(E, 8), b.toLowerCase() === j ? E += 8 : (b = r, he === 0 && ce(me)), b === r && (b = t.substr(E, 7), b.toLowerCase() === G ? E += 7 : (b = r, he === 0 && ce(Fe)))), b !== r && (xe = C, b = OT()), C = b, C === r && (C = E, b = t.substr(E, 11), b.toLowerCase() === ne ? E += 11 : (b = r, he === 0 && ce(bt)), b === r && (b = t.substr(E, 10), b.toLowerCase() === Y ? E += 10 : (b = r, he === 0 && ce(Pt))), b !== r && (xe = C, b = MT()), C = b, C === r && (C = E, b = t.substr(E, 5), b.toLowerCase() === oe ? E += 5 : (b = r, he === 0 && ce(it)), b !== r && (xe = C, b = NT()), C = b, C === r && (C = E, b = t.substr(E, 5), b.toLowerCase() === re ? E += 5 : (b = r, he === 0 && ce(Ye)), b !== r && (xe = C, b = FT()), C = b, C === r && (C = E, b = t.substr(E, 6), b.toLowerCase() === ue ? E += 6 : (b = r, he === 0 && ce(As)), b !== r && (xe = C, b = qT()), C = b)))), ve[z] = { nextPos: E, result: C }, C);
21973
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === $ ? (w = $, E += 2) : (w = r, he === 0 && ce(ie)), w === r && (w = t.substr(E, 8), w.toLowerCase() === j ? E += 8 : (w = r, he === 0 && ce(me)), w === r && (w = t.substr(E, 7), w.toLowerCase() === G ? E += 7 : (w = r, he === 0 && ce(Fe)))), w !== r && (xe = C, w = OT()), C = w, C === r && (C = E, w = t.substr(E, 11), w.toLowerCase() === ne ? E += 11 : (w = r, he === 0 && ce(bt)), w === r && (w = t.substr(E, 10), w.toLowerCase() === Y ? E += 10 : (w = r, he === 0 && ce(Pt))), w !== r && (xe = C, w = MT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === oe ? E += 5 : (w = r, he === 0 && ce(it)), w !== r && (xe = C, w = NT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === re ? E += 5 : (w = r, he === 0 && ce(Ye)), w !== r && (xe = C, w = FT()), C = w, C === r && (C = E, w = t.substr(E, 6), w.toLowerCase() === ue ? E += 6 : (w = r, he === 0 && ce(As)), w !== r && (xe = C, w = qT()), C = w)))), ve[z] = { nextPos: E, result: C }, C);
21973
21974
  }
21974
21975
  function zu() {
21975
- let C, b, z;
21976
+ let C, w, z;
21976
21977
  const O = E * 34 + 14, J = ve[O];
21977
- return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 40 ? (b = Ie, E++) : (b = r, he === 0 && ce(jt)), b !== r ? (Ke(), z = Xa(), z !== r ? (Ke(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), C === r && (C = gP(), C === r && (C = vP(), C === r && (C = X0(), C === r && (C = bP())))), ve[O] = { nextPos: E, result: C }, C);
21978
+ return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 40 ? (w = Ie, E++) : (w = r, he === 0 && ce(jt)), w !== r ? (Ke(), z = Xa(), z !== r ? (Ke(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), C === r && (C = gP(), C === r && (C = vP(), C === r && (C = X0(), C === r && (C = bP())))), ve[O] = { nextPos: E, result: C }, C);
21978
21979
  }
21979
21980
  function gP() {
21980
- let C, b, z, O;
21981
+ let C, w, z, O;
21981
21982
  const J = E * 34 + 15, le = ve[J];
21982
- return le ? (E = le.nextPos, le.result) : (C = E, b = r1(), b !== r ? (t.charCodeAt(E) === 40 ? (z = Ie, E++) : (z = r, he === 0 && ce(jt)), z !== r ? (O = e1(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = BT(b, O)) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
21983
+ return le ? (E = le.nextPos, le.result) : (C = E, w = r1(), w !== r ? (t.charCodeAt(E) === 40 ? (z = Ie, E++) : (z = r, he === 0 && ce(jt)), z !== r ? (O = e1(), t.charCodeAt(E) === 41 ? E++ : he === 0 && ce(Kt), xe = C, C = BT(w, O)) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
21983
21984
  }
21984
21985
  function vP() {
21985
- let C, b, z;
21986
+ let C, w, z;
21986
21987
  const O = E * 34 + 16, J = ve[O];
21987
- return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 33 ? (b = ge, E++) : (b = r, he === 0 && ce(si)), b === r && (b = t.substr(E, 6), b.toLowerCase() === te ? E += 6 : (b = r, he === 0 && ce(bn))), b !== r ? (Ke(), z = zu(), z !== r ? (xe = C, C = $T(z)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, b = X0(), b !== r ? (Ke(), z = yP(), z !== r ? (xe = C, C = HT(b, z)) : (E = C, C = r)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
21988
+ return J ? (E = J.nextPos, J.result) : (C = E, t.charCodeAt(E) === 33 ? (w = ge, E++) : (w = r, he === 0 && ce(si)), w === r && (w = t.substr(E, 6), w.toLowerCase() === te ? E += 6 : (w = r, he === 0 && ce(bn))), w !== r ? (Ke(), z = zu(), z !== r ? (xe = C, C = $T(z)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = X0(), w !== r ? (Ke(), z = yP(), z !== r ? (xe = C, C = HT(w, z)) : (E = C, C = r)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
21988
21989
  }
21989
21990
  function yP() {
21990
- let C, b;
21991
+ let C, w;
21991
21992
  const z = E * 34 + 17, O = ve[z];
21992
- return O ? (E = O.nextPos, O.result) : (C = E, b = t.substr(E, 5), b.toLowerCase() === we ? E += 5 : (b = r, he === 0 && ce(jr)), b !== r && (xe = C, b = QT()), C = b, C === r && (C = E, b = t.substr(E, 8), b.toLowerCase() === et ? E += 8 : (b = r, he === 0 && ce($s)), b !== r && (xe = C, b = UT()), C = b), ve[z] = { nextPos: E, result: C }, C);
21993
+ return O ? (E = O.nextPos, O.result) : (C = E, w = t.substr(E, 5), w.toLowerCase() === we ? E += 5 : (w = r, he === 0 && ce(jr)), w !== r && (xe = C, w = QT()), C = w, C === r && (C = E, w = t.substr(E, 8), w.toLowerCase() === et ? E += 8 : (w = r, he === 0 && ce($s)), w !== r && (xe = C, w = UT()), C = w), ve[z] = { nextPos: E, result: C }, C);
21993
21994
  }
21994
21995
  function X0() {
21995
- let C, b, z, O;
21996
+ let C, w, z, O;
21996
21997
  const J = E * 34 + 18, le = ve[J];
21997
- return le ? (E = le.nextPos, le.result) : (C = E, Ke(), t.substr(E, 9) === Yt ? (b = Yt, E += 9) : (b = r, he === 0 && ce(cl)), b === r && (t.substr(E, 4) === Gt ? (b = Gt, E += 4) : (b = r, he === 0 && ce(fp))), b !== r ? (xe = C, C = zT()) : (E = C, C = r), C === r && (C = E, Ke(), b = CP(), b !== r ? (xe = C, C = jT(b)) : (E = C, C = r), C === r && (C = E, Ke(), t.charCodeAt(E) === 123 ? (b = Is, E++) : (b = r, he === 0 && ce(mp)), b !== r ? (z = VP(), z !== r ? (t.charCodeAt(E) === 125 ? (O = Et, E++) : (O = r, he === 0 && ce(Y4)), O !== r ? (xe = C, C = WT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))), ve[J] = { nextPos: E, result: C }, C);
21998
+ return le ? (E = le.nextPos, le.result) : (C = E, Ke(), t.substr(E, 9) === Yt ? (w = Yt, E += 9) : (w = r, he === 0 && ce(cl)), w === r && (t.substr(E, 4) === Gt ? (w = Gt, E += 4) : (w = r, he === 0 && ce(fp))), w !== r ? (xe = C, C = zT()) : (E = C, C = r), C === r && (C = E, Ke(), w = CP(), w !== r ? (xe = C, C = jT(w)) : (E = C, C = r), C === r && (C = E, Ke(), t.charCodeAt(E) === 123 ? (w = Is, E++) : (w = r, he === 0 && ce(mp)), w !== r ? (z = VP(), z !== r ? (t.charCodeAt(E) === 125 ? (O = Et, E++) : (O = r, he === 0 && ce(Y4)), O !== r ? (xe = C, C = WT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))), ve[J] = { nextPos: E, result: C }, C);
21998
21999
  }
21999
22000
  function CP() {
22000
- let C, b, z, O;
22001
+ let C, w, z, O;
22001
22002
  const J = E * 34 + 19, le = ve[J];
22002
- return le ? (E = le.nextPos, le.result) : (C = E, b = wP(), b !== r && (xe = C, b = b), C = b, C === r && (C = E, b = xP(), b !== r && (xe = C, b = b), C = b, C === r && (C = E, b = r1(), b !== r && (xe = C, b = b), C = b, C === r && (C = E, t.substr(E, 2) === cs ? (b = cs, E += 2) : (b = r, he === 0 && ce(X4)), b !== r && (xe = C, b = GT()), C = b, C === r && (C = E, t.substr(E, 2) === rs ? (b = rs, E += 2) : (b = r, he === 0 && ce(eT)), b !== r && (xe = C, b = KT()), C = b, C === r && (C = E, t.charCodeAt(E) === 39 ? (b = Le, E++) : (b = r, he === 0 && ce(N0)), b !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 39 ? (O = Le, E++) : (O = r, he === 0 && ce(N0)), O !== r ? (xe = C, C = ZT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 34 ? (b = st, E++) : (b = r, he === 0 && ce(F0)), b !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 34 ? (O = st, E++) : (O = r, he === 0 && ce(F0)), O !== r ? (xe = C, C = JT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))))))), ve[J] = { nextPos: E, result: C }, C);
22003
+ return le ? (E = le.nextPos, le.result) : (C = E, w = wP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = xP(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, w = r1(), w !== r && (xe = C, w = w), C = w, C === r && (C = E, t.substr(E, 2) === cs ? (w = cs, E += 2) : (w = r, he === 0 && ce(X4)), w !== r && (xe = C, w = GT()), C = w, C === r && (C = E, t.substr(E, 2) === rs ? (w = rs, E += 2) : (w = r, he === 0 && ce(eT)), w !== r && (xe = C, w = KT()), C = w, C === r && (C = E, t.charCodeAt(E) === 39 ? (w = Le, E++) : (w = r, he === 0 && ce(N0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 39 ? (O = Le, E++) : (O = r, he === 0 && ce(N0)), O !== r ? (xe = C, C = ZT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 34 ? (w = st, E++) : (w = r, he === 0 && ce(F0)), w !== r ? (z = t1(), z !== r ? (t.charCodeAt(E) === 34 ? (O = st, E++) : (O = r, he === 0 && ce(F0)), O !== r ? (xe = C, C = JT(z)) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r))))))), ve[J] = { nextPos: E, result: C }, C);
22003
22004
  }
22004
22005
  function bP() {
22005
- let C, b, z, O;
22006
+ let C, w, z, O;
22006
22007
  const J = E * 34 + 20, le = ve[J];
22007
- return le ? (E = le.nextPos, le.result) : (C = E, t.charCodeAt(E) === 91 ? (b = Mt, E++) : (b = r, he === 0 && ce(tT)), b !== r ? (z = e1(), t.charCodeAt(E) === 93 ? (O = zt, E++) : (O = r, he === 0 && ce(sT)), O !== r ? (xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
22008
+ return le ? (E = le.nextPos, le.result) : (C = E, t.charCodeAt(E) === 91 ? (w = Mt, E++) : (w = r, he === 0 && ce(tT)), w !== r ? (z = e1(), t.charCodeAt(E) === 93 ? (O = zt, E++) : (O = r, he === 0 && ce(sT)), O !== r ? (xe = C, C = z) : (E = C, C = r)) : (E = C, C = r), ve[J] = { nextPos: E, result: C }, C);
22008
22009
  }
22009
22010
  function e1() {
22010
- let C, b, z, O, J, le, qe, Ee;
22011
+ let C, w, z, O, J, le, qe, Ee;
22011
22012
  const At = E * 34 + 21, wt = ve[At];
22012
22013
  if (wt)
22013
22014
  return E = wt.nextPos, wt.result;
22014
- for (C = E, b = Xa(), b === r && (b = null), z = [], O = E, J = Ke(), t.charCodeAt(E) === 44 ? (le = Ct, E++) : (le = r, he === 0 && ce(q0)), le !== r ? (qe = Ke(), Ee = Xa(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
22015
+ for (C = E, w = Xa(), w === r && (w = null), z = [], O = E, J = Ke(), t.charCodeAt(E) === 44 ? (le = Ct, E++) : (le = r, he === 0 && ce(q0)), le !== r ? (qe = Ke(), Ee = Xa(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r); O !== r; )
22015
22016
  z.push(O), O = E, J = Ke(), t.charCodeAt(E) === 44 ? (le = Ct, E++) : (le = r, he === 0 && ce(q0)), le !== r ? (qe = Ke(), Ee = Xa(), Ee !== r ? (J = [J, le, qe, Ee], O = J) : (E = O, O = r)) : (E = O, O = r);
22016
- return xe = C, C = YT(b, z), ve[At] = { nextPos: E, result: C }, C;
22017
+ return xe = C, C = YT(w, z), ve[At] = { nextPos: E, result: C }, C;
22017
22018
  }
22018
22019
  function wP() {
22019
- let C, b;
22020
+ let C, w;
22020
22021
  const z = E * 34 + 22, O = ve[z];
22021
- return O ? (E = O.nextPos, O.result) : (C = E, b = t.substr(E, 4), b.toLowerCase() === _e ? E += 4 : (b = r, he === 0 && ce(iT)), b !== r && (xe = C, b = XT()), C = b, C === r && (C = E, b = t.substr(E, 5), b.toLowerCase() === Ge ? E += 5 : (b = r, he === 0 && ce(rT)), b !== r && (xe = C, b = eP()), C = b), ve[z] = { nextPos: E, result: C }, C);
22022
+ return O ? (E = O.nextPos, O.result) : (C = E, w = t.substr(E, 4), w.toLowerCase() === _e ? E += 4 : (w = r, he === 0 && ce(iT)), w !== r && (xe = C, w = XT()), C = w, C === r && (C = E, w = t.substr(E, 5), w.toLowerCase() === Ge ? E += 5 : (w = r, he === 0 && ce(rT)), w !== r && (xe = C, w = eP()), C = w), ve[z] = { nextPos: E, result: C }, C);
22022
22023
  }
22023
22024
  function xP() {
22024
- let C, b, z;
22025
+ let C, w, z;
22025
22026
  const O = E * 34 + 23, J = ve[O];
22026
- return J ? (E = J.nextPos, J.result) : (C = E, t.substr(E, 2) === Te ? (b = Te, E += 2) : (b = r, he === 0 && ce(nT)), b !== r ? (z = eo(), z !== r ? (xe = C, C = tP()) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, b = t.charAt(E), js.test(b) ? E++ : (b = r, he === 0 && ce(aT)), b === r && (b = null), z = EP(), z !== r ? (xe = C, C = sP(b, z)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
22027
+ return J ? (E = J.nextPos, J.result) : (C = E, t.substr(E, 2) === Te ? (w = Te, E += 2) : (w = r, he === 0 && ce(nT)), w !== r ? (z = eo(), z !== r ? (xe = C, C = tP()) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = t.charAt(E), js.test(w) ? E++ : (w = r, he === 0 && ce(aT)), w === r && (w = null), z = EP(), z !== r ? (xe = C, C = sP(w, z)) : (E = C, C = r)), ve[O] = { nextPos: E, result: C }, C);
22027
22028
  }
22028
22029
  function EP() {
22029
- let C, b, z, O;
22030
+ let C, w, z, O;
22030
22031
  const J = E * 34 + 24, le = ve[J];
22031
- return le ? (E = le.nextPos, le.result) : (C = E, b = eo(), b !== r ? (t.charCodeAt(E) === 46 ? (z = ns, E++) : (z = r, he === 0 && ce(oT)), z !== r ? (O = eo(), O !== r ? (xe = C, C = iP()) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, b = SP(), b !== r ? (z = eo(), z === r && (z = null), xe = C, C = rP()) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 48 ? (b = bs, E++) : (b = r, he === 0 && ce(lT)), b !== r && (xe = C, b = nP()), C = b)), ve[J] = { nextPos: E, result: C }, C);
22032
+ return le ? (E = le.nextPos, le.result) : (C = E, w = eo(), w !== r ? (t.charCodeAt(E) === 46 ? (z = ns, E++) : (z = r, he === 0 && ce(oT)), z !== r ? (O = eo(), O !== r ? (xe = C, C = iP()) : (E = C, C = r)) : (E = C, C = r)) : (E = C, C = r), C === r && (C = E, w = SP(), w !== r ? (z = eo(), z === r && (z = null), xe = C, C = rP()) : (E = C, C = r), C === r && (C = E, t.charCodeAt(E) === 48 ? (w = bs, E++) : (w = r, he === 0 && ce(lT)), w !== r && (xe = C, w = nP()), C = w)), ve[J] = { nextPos: E, result: C }, C);
22032
22033
  }
22033
22034
  function VP() {
22034
- let C, b, z;
22035
+ let C, w, z;
22035
22036
  const O = E * 34 + 25, J = ve[O];
22036
22037
  if (J)
22037
22038
  return E = J.nextPos, J.result;
22038
- if (C = E, b = [], z = i1(), z !== r)
22039
+ if (C = E, w = [], z = i1(), z !== r)
22039
22040
  for (; z !== r; )
22040
- b.push(z), z = i1();
22041
+ w.push(z), z = i1();
22041
22042
  else
22042
- b = r;
22043
- return b !== r && (xe = C, b = aP(b)), C = b, ve[O] = { nextPos: E, result: C }, C;
22043
+ w = r;
22044
+ return w !== r && (xe = C, w = aP(w)), C = w, ve[O] = { nextPos: E, result: C }, C;
22044
22045
  }
22045
22046
  function t1() {
22046
- let C, b, z;
22047
+ let C, w, z;
22047
22048
  const O = E * 34 + 26, J = ve[O];
22048
22049
  if (J)
22049
22050
  return E = J.nextPos, J.result;
22050
- if (C = E, b = [], z = s1(), z !== r)
22051
+ if (C = E, w = [], z = s1(), z !== r)
22051
22052
  for (; z !== r; )
22052
- b.push(z), z = s1();
22053
+ w.push(z), z = s1();
22053
22054
  else
22054
- b = r;
22055
- return b !== r && (xe = C, b = oP(b)), C = b, ve[O] = { nextPos: E, result: C }, C;
22055
+ w = r;
22056
+ return w !== r && (xe = C, w = oP(w)), C = w, ve[O] = { nextPos: E, result: C }, C;
22056
22057
  }
22057
22058
  function s1() {
22058
- let C, b;
22059
+ let C, w;
22059
22060
  const z = E * 34 + 27, O = ve[z];
22060
- return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === ws ? (b = ws, E += 2) : (b = r, he === 0 && ce(uT)), b !== r && (xe = C, b = lP()), C = b, C === r && (C = E, t.substr(E, 2) === Ur ? (b = Ur, E += 2) : (b = r, he === 0 && ce(hT)), b !== r && (xe = C, b = uP()), C = b, C === r && (C = E, b = t.charAt(E), Ws.test(b) ? E++ : (b = r, he === 0 && ce(cT)), b !== r && (xe = C, b = hP()), C = b)), ve[z] = { nextPos: E, result: C }, C);
22061
+ return O ? (E = O.nextPos, O.result) : (C = E, t.substr(E, 2) === ws ? (w = ws, E += 2) : (w = r, he === 0 && ce(uT)), w !== r && (xe = C, w = lP()), C = w, C === r && (C = E, t.substr(E, 2) === Ur ? (w = Ur, E += 2) : (w = r, he === 0 && ce(hT)), w !== r && (xe = C, w = uP()), C = w, C === r && (C = E, w = t.charAt(E), Ws.test(w) ? E++ : (w = r, he === 0 && ce(cT)), w !== r && (xe = C, w = hP()), C = w)), ve[z] = { nextPos: E, result: C }, C);
22061
22062
  }
22062
22063
  function i1() {
22063
- let C, b;
22064
+ let C, w;
22064
22065
  const z = E * 34 + 28, O = ve[z];
22065
- return O ? (E = O.nextPos, O.result) : (C = E, b = t.charAt(E), _i.test(b) ? E++ : (b = r, he === 0 && ce(dT)), b !== r && (xe = C, b = cP()), C = b, ve[z] = { nextPos: E, result: C }, C);
22066
+ return O ? (E = O.nextPos, O.result) : (C = E, w = t.charAt(E), _i.test(w) ? E++ : (w = r, he === 0 && ce(dT)), w !== r && (xe = C, w = cP()), C = w, ve[z] = { nextPos: E, result: C }, C);
22066
22067
  }
22067
22068
  function r1() {
22068
- let C, b, z, O, J, le, qe;
22069
+ let C, w, z, O, J, le, qe;
22069
22070
  const Ee = E * 34 + 29, At = ve[Ee];
22070
22071
  if (At)
22071
22072
  return E = At.nextPos, At.result;
22072
- if (C = E, b = pl(), b !== r) {
22073
+ if (C = E, w = pl(), w !== r) {
22073
22074
  if (z = [], O = E, J = eo(), J !== r) {
22074
22075
  for (le = [], qe = pl(); qe !== r; )
22075
22076
  le.push(qe), qe = pl();
@@ -22089,52 +22090,52 @@ const Vv = (
22089
22090
  return ve[Ee] = { nextPos: E, result: C }, C;
22090
22091
  }
22091
22092
  function eo() {
22092
- let C, b;
22093
+ let C, w;
22093
22094
  const z = E * 34 + 30, O = ve[z];
22094
22095
  if (O)
22095
22096
  return E = O.nextPos, O.result;
22096
- if (C = [], b = t.charAt(E), Gs.test(b) ? E++ : (b = r, he === 0 && ce(B0)), b !== r)
22097
- for (; b !== r; )
22098
- C.push(b), b = t.charAt(E), Gs.test(b) ? E++ : (b = r, he === 0 && ce(B0));
22097
+ if (C = [], w = t.charAt(E), Gs.test(w) ? E++ : (w = r, he === 0 && ce(B0)), w !== r)
22098
+ for (; w !== r; )
22099
+ C.push(w), w = t.charAt(E), Gs.test(w) ? E++ : (w = r, he === 0 && ce(B0));
22099
22100
  else
22100
22101
  C = r;
22101
22102
  return ve[z] = { nextPos: E, result: C }, C;
22102
22103
  }
22103
22104
  function SP() {
22104
- let C, b;
22105
+ let C, w;
22105
22106
  const z = E * 34 + 31, O = ve[z];
22106
22107
  if (O)
22107
22108
  return E = O.nextPos, O.result;
22108
- if (C = [], b = t.charAt(E), Di.test(b) ? E++ : (b = r, he === 0 && ce($0)), b !== r)
22109
- for (; b !== r; )
22110
- C.push(b), b = t.charAt(E), Di.test(b) ? E++ : (b = r, he === 0 && ce($0));
22109
+ if (C = [], w = t.charAt(E), Di.test(w) ? E++ : (w = r, he === 0 && ce($0)), w !== r)
22110
+ for (; w !== r; )
22111
+ C.push(w), w = t.charAt(E), Di.test(w) ? E++ : (w = r, he === 0 && ce($0));
22111
22112
  else
22112
22113
  C = r;
22113
22114
  return ve[z] = { nextPos: E, result: C }, C;
22114
22115
  }
22115
22116
  function pl() {
22116
- let C, b;
22117
+ let C, w;
22117
22118
  const z = E * 34 + 32, O = ve[z];
22118
22119
  if (O)
22119
22120
  return E = O.nextPos, O.result;
22120
- if (C = [], b = t.charAt(E), da.test(b) ? E++ : (b = r, he === 0 && ce(H0)), b !== r)
22121
- for (; b !== r; )
22122
- C.push(b), b = t.charAt(E), da.test(b) ? E++ : (b = r, he === 0 && ce(H0));
22121
+ if (C = [], w = t.charAt(E), da.test(w) ? E++ : (w = r, he === 0 && ce(H0)), w !== r)
22122
+ for (; w !== r; )
22123
+ C.push(w), w = t.charAt(E), da.test(w) ? E++ : (w = r, he === 0 && ce(H0));
22123
22124
  else
22124
22125
  C = r;
22125
22126
  return ve[z] = { nextPos: E, result: C }, C;
22126
22127
  }
22127
22128
  function Ke() {
22128
- let C, b;
22129
+ let C, w;
22129
22130
  const z = E * 34 + 33, O = ve[z];
22130
22131
  if (O)
22131
22132
  return E = O.nextPos, O.result;
22132
- for (he++, C = [], b = t.charAt(E), Cn.test(b) ? E++ : (b = r, he === 0 && ce(Q0)); b !== r; )
22133
- C.push(b), b = t.charAt(E), Cn.test(b) ? E++ : (b = r, he === 0 && ce(Q0));
22133
+ for (he++, C = [], w = t.charAt(E), Cn.test(w) ? E++ : (w = r, he === 0 && ce(Q0)); w !== r; )
22134
+ C.push(w), w = t.charAt(E), Cn.test(w) ? E++ : (w = r, he === 0 && ce(Q0));
22134
22135
  return he--, ve[z] = { nextPos: E, result: C }, C;
22135
22136
  }
22136
- function ma(C, b, z = !1) {
22137
- return b.reduce(
22137
+ function ma(C, w, z = !1) {
22138
+ return w.reduce(
22138
22139
  // @ts-ignore
22139
22140
  function(O, J) {
22140
22141
  return new Ooe(J[1], O, J[3], z);
@@ -26726,8 +26727,8 @@ function vle(i, e, t) {
26726
26727
  });
26727
26728
  const u = [];
26728
26729
  n.forEach((m, g) => {
26729
- const w = a.get(g), x = r.get(g);
26730
- w !== m && u.push({ item: x, movedForward: w < m });
26730
+ const b = a.get(g), x = r.get(g);
26731
+ b !== m && u.push({ item: x, movedForward: b < m });
26731
26732
  });
26732
26733
  const h = new Array(i.length);
26733
26734
  let c = 0;
@@ -26743,8 +26744,8 @@ function vle(i, e, t) {
26743
26744
  });
26744
26745
  const v = new Array();
26745
26746
  return r.forEach((m, g) => {
26746
- f.has(g) && f.get(g).forEach((w) => {
26747
- v.push(w);
26747
+ f.has(g) && f.get(g).forEach((b) => {
26748
+ v.push(b);
26748
26749
  }), v.push(m);
26749
26750
  }), y.forEach((m) => {
26750
26751
  v.push(m);
@@ -58079,10 +58080,10 @@ class kt extends Vs {
58079
58080
  let s = this.value == e.value;
58080
58081
  this.isStar && (this.useRateValues() ? s = this.rateValues.indexOf(this.rateValues.filter((D) => D.value == this.value)[0]) >= this.rateValues.indexOf(e) : s = this.value >= e.value);
58081
58082
  const n = !(this.isReadOnly || !e.isEnabled) && this.value != e.value && !(this.survey && this.survey.isDesignMode), a = this.renderedRateItems.filter((D) => D.itemValue == e)[0], o = this.isStar && (a == null ? void 0 : a.highlight) == "highlighted", l = this.isStar && (a == null ? void 0 : a.highlight) == "unhighlighted";
58082
- let u = this.cssClasses.item, h = this.cssClasses.selected, c = this.cssClasses.itemDisabled, d = this.cssClasses.itemReadOnly, f = this.cssClasses.itemPreview, y = this.cssClasses.itemHover, v = this.cssClasses.itemOnError, m = null, g = null, w = null, x = null, T = null;
58083
- this.isStar && (u = this.cssClasses.itemStar, h = this.cssClasses.itemStarSelected, c = this.cssClasses.itemStarDisabled, d = this.cssClasses.itemStarReadOnly, f = this.cssClasses.itemStarPreview, y = this.cssClasses.itemStarHover, v = this.cssClasses.itemStarOnError, m = this.cssClasses.itemStarHighlighted, g = this.cssClasses.itemStarUnhighlighted, T = this.cssClasses.itemStarSmall), this.isSmiley && (u = this.cssClasses.itemSmiley, h = this.cssClasses.itemSmileySelected, c = this.cssClasses.itemSmileyDisabled, d = this.cssClasses.itemSmileyReadOnly, f = this.cssClasses.itemSmileyPreview, y = this.cssClasses.itemSmileyHover, v = this.cssClasses.itemSmileyOnError, m = this.cssClasses.itemSmileyHighlighted, w = this.cssClasses.itemSmileyScaleColored, x = this.cssClasses.itemSmileyRateColored, T = this.cssClasses.itemSmileySmall);
58084
- const A = !this.isStar && !this.isSmiley && (!this.displayRateDescriptionsAsExtremeItems || this.useRateValues() && e != this.rateValues[0] && e != this.rateValues[this.rateValues.length - 1] || !this.useRateValues() && e.value != this.rateMin && e.value != this.rateMax) && e.locText.calculatedText.length <= 2 && Number.isInteger(Number(e.locText.calculatedText)), R = { item: e, css: "" };
58085
- return R.css = new W().append(u).append(h, s).append(c, this.isDisabledStyle).append(d, this.isReadOnlyStyle).append(f, this.isPreviewStyle).append(y, n).append(m, o).append(w, this.scaleColorMode == "colored").append(x, this.rateColorMode == "scale" && s).append(g, l).append(v, this.hasCssError()).append(T, this.itemSmallMode).append(this.cssClasses.itemFixedSize, A).toString(), this.survey && this.survey.updateChoiceItemCss(this, R), R.css;
58083
+ let u = this.cssClasses.item, h = this.cssClasses.selected, c = this.cssClasses.itemDisabled, d = this.cssClasses.itemReadOnly, f = this.cssClasses.itemPreview, y = this.cssClasses.itemHover, v = this.cssClasses.itemOnError, m = null, g = null, b = null, x = null, T = null;
58084
+ this.isStar && (u = this.cssClasses.itemStar, h = this.cssClasses.itemStarSelected, c = this.cssClasses.itemStarDisabled, d = this.cssClasses.itemStarReadOnly, f = this.cssClasses.itemStarPreview, y = this.cssClasses.itemStarHover, v = this.cssClasses.itemStarOnError, m = this.cssClasses.itemStarHighlighted, g = this.cssClasses.itemStarUnhighlighted, T = this.cssClasses.itemStarSmall), this.isSmiley && (u = this.cssClasses.itemSmiley, h = this.cssClasses.itemSmileySelected, c = this.cssClasses.itemSmileyDisabled, d = this.cssClasses.itemSmileyReadOnly, f = this.cssClasses.itemSmileyPreview, y = this.cssClasses.itemSmileyHover, v = this.cssClasses.itemSmileyOnError, m = this.cssClasses.itemSmileyHighlighted, b = this.cssClasses.itemSmileyScaleColored, x = this.cssClasses.itemSmileyRateColored, T = this.cssClasses.itemSmileySmall);
58085
+ const R = !this.isStar && !this.isSmiley && (!this.displayRateDescriptionsAsExtremeItems || this.useRateValues() && e != this.rateValues[0] && e != this.rateValues[this.rateValues.length - 1] || !this.useRateValues() && e.value != this.rateMin && e.value != this.rateMax) && e.locText.calculatedText.length <= 2 && Number.isInteger(Number(e.locText.calculatedText)), A = { item: e, css: "" };
58086
+ return A.css = new W().append(u).append(h, s).append(c, this.isDisabledStyle).append(d, this.isReadOnlyStyle).append(f, this.isPreviewStyle).append(y, n).append(m, o).append(b, this.scaleColorMode == "colored").append(x, this.rateColorMode == "scale" && s).append(g, l).append(v, this.hasCssError()).append(T, this.itemSmallMode).append(this.cssClasses.itemFixedSize, R).toString(), this.survey && this.survey.updateChoiceItemCss(this, A), A.css;
58086
58087
  }
58087
58088
  //methods for mobile view
58088
58089
  getControlClass() {
@@ -63718,21 +63719,21 @@ class Ud extends yn {
63718
63719
  y = Math.ceil(Math.min(...x.filter((T) => typeof T == "number"))), m = wr.updateVerticalPosition(n, y, this.model.horizontalPosition, this.model.verticalPosition, r.height), g = wr.updateHorizontalPosition(n, v, g, r.width);
63719
63720
  }
63720
63721
  this.popupDirection = wr.calculatePopupDirection(m, g);
63721
- const w = wr.calculatePosition(n, y, v + h + c, m, g, this.model.positionMode);
63722
+ const b = wr.calculatePosition(n, y, v + h + c, m, g, this.model.positionMode);
63722
63723
  if (Ce.isAvailable()) {
63723
- const x = wr.getCorrectedVerticalDimensions(w.top, y, r.height, m, this.model.canShrink, { top: d, bottom: f });
63724
- if (x && (this.height = x.height + "px", w.top = x.top), this.model.setWidthByTarget)
63725
- this.width = n.width + "px", w.left = n.left;
63724
+ const x = wr.getCorrectedVerticalDimensions(b.top, y, r.height, m, this.model.canShrink, { top: d, bottom: f });
63725
+ if (x && (this.height = x.height + "px", b.top = x.top), this.model.setWidthByTarget)
63726
+ this.width = n.width + "px", b.left = n.left;
63726
63727
  else {
63727
- const T = wr.updateHorizontalDimensions(w.left, v, Ce.getInnerWidth(), g, this.model.positionMode, { left: h, right: c });
63728
- T && (this.width = T.width ? T.width + "px" : void 0, w.left = T.left);
63728
+ const T = wr.updateHorizontalDimensions(b.left, v, Ce.getInnerWidth(), g, this.model.positionMode, { left: h, right: c });
63729
+ T && (this.width = T.width ? T.width + "px" : void 0, b.left = T.left);
63729
63730
  }
63730
63731
  }
63731
63732
  if (o) {
63732
63733
  const x = o.getBoundingClientRect();
63733
- w.top -= x.top, w.left -= x.left;
63734
+ b.top -= x.top, b.left -= x.left;
63734
63735
  }
63735
- this.showHeader && (this.pointerTarget = wr.calculatePointerTarget(n, w.top, w.left, m, g, h, c), this.pointerTarget.top += "px", this.pointerTarget.left += "px"), w.left += r.left, w.top += r.top, this.left = w.left + "px", this.top = w.top + "px";
63736
+ this.showHeader && (this.pointerTarget = wr.calculatePointerTarget(n, b.top, b.left, m, g, h, c), this.pointerTarget.top += "px", this.pointerTarget.left += "px"), b.left += r.left, b.top += r.top, this.left = b.left + "px", this.top = b.top + "px";
63736
63737
  }
63737
63738
  getActualHorizontalPosition() {
63738
63739
  let e = this.model.horizontalPosition;
@@ -69437,16 +69438,16 @@ class hce extends Cs {
69437
69438
  }
69438
69439
  getInput(e) {
69439
69440
  const { renderedMax: t, renderedMin: s, step: r, cssClasses: n, isDisabledAttr: a, renderedValue: o, handleOnChange: l, handlePointerDown: u, handlePointerUp: h, handleKeyDown: c, handleKeyUp: d, handleOnFocus: f, handleOnBlur: y, id: v } = this.question, m = o[e];
69440
- return p.createElement("input", { className: n.input, id: v + "-sjs-slider-input-" + e, type: "range", min: s, max: t, step: r, value: m, onChange: (w) => {
69441
- l(w.nativeEvent, e);
69442
- }, onPointerDown: (w) => {
69443
- u(w.nativeEvent);
69444
- }, onPointerUp: (w) => {
69445
- w.stopPropagation(), h(w.nativeEvent);
69446
- }, onKeyDown: (w) => {
69447
- c(w.nativeEvent);
69448
- }, onKeyUp: (w) => {
69449
- d(w.nativeEvent);
69441
+ return p.createElement("input", { className: n.input, id: v + "-sjs-slider-input-" + e, type: "range", min: s, max: t, step: r, value: m, onChange: (b) => {
69442
+ l(b.nativeEvent, e);
69443
+ }, onPointerDown: (b) => {
69444
+ u(b.nativeEvent);
69445
+ }, onPointerUp: (b) => {
69446
+ b.stopPropagation(), h(b.nativeEvent);
69447
+ }, onKeyDown: (b) => {
69448
+ c(b.nativeEvent);
69449
+ }, onKeyUp: (b) => {
69450
+ d(b.nativeEvent);
69450
69451
  }, onFocus: () => {
69451
69452
  f(e);
69452
69453
  }, onBlur: () => {
@@ -70759,15 +70760,15 @@ function r3(i) {
70759
70760
  v = Promise.reject(g);
70760
70761
  }
70761
70762
  Promise.resolve(v).then(c).catch((g) => {
70762
- var R;
70763
+ var A;
70763
70764
  if (s)
70764
70765
  return;
70765
- const w = i.retry ?? (Zd ? 0 : 3), x = i.retryDelay ?? ede, T = typeof x == "function" ? x(t, g) : x, A = w === !0 || typeof w == "number" && t < w || typeof w == "function" && w(t, g);
70766
- if (e || !A) {
70766
+ const b = i.retry ?? (Zd ? 0 : 3), x = i.retryDelay ?? ede, T = typeof x == "function" ? x(t, g) : x, R = b === !0 || typeof b == "number" && t < b || typeof b == "function" && b(t, g);
70767
+ if (e || !R) {
70767
70768
  d(g);
70768
70769
  return;
70769
70770
  }
70770
- t++, (R = i.onFail) == null || R.call(i, t, g), Wce(T).then(() => u() ? void 0 : f()).then(() => {
70771
+ t++, (A = i.onFail) == null || A.call(i, t, g), Wce(T).then(() => u() ? void 0 : f()).then(() => {
70771
70772
  e ? d(g) : y();
70772
70773
  });
70773
70774
  });
@@ -71254,7 +71255,7 @@ var Er, Dx, nde = (Dx = class extends Du {
71254
71255
  this.execute(this.state.variables);
71255
71256
  }
71256
71257
  async execute(e) {
71257
- var r, n, a, o, l, u, h, c, d, f, y, v, m, g, w, x, T, A, R, D;
71258
+ var r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D;
71258
71259
  Ue(this, La, r3({
71259
71260
  fn: () => this.options.mutationFn ? this.options.mutationFn(e) : Promise.reject(new Error("No mutationFn found")),
71260
71261
  onFail: (V, _) => {
@@ -71310,20 +71311,20 @@ var Er, Dx, nde = (Dx = class extends Du {
71310
71311
  e,
71311
71312
  this.state.context,
71312
71313
  this
71313
- )), await ((x = (w = this.options).onError) == null ? void 0 : x.call(
71314
- w,
71314
+ )), await ((x = (b = this.options).onError) == null ? void 0 : x.call(
71315
+ b,
71315
71316
  V,
71316
71317
  e,
71317
71318
  this.state.context
71318
- )), await ((A = (T = K(this, Ks).config).onSettled) == null ? void 0 : A.call(
71319
+ )), await ((R = (T = K(this, Ks).config).onSettled) == null ? void 0 : R.call(
71319
71320
  T,
71320
71321
  void 0,
71321
71322
  V,
71322
71323
  this.state.variables,
71323
71324
  this.state.context,
71324
71325
  this
71325
- )), await ((D = (R = this.options).onSettled) == null ? void 0 : D.call(
71326
- R,
71326
+ )), await ((D = (A = this.options).onSettled) == null ? void 0 : D.call(
71327
+ A,
71327
71328
  void 0,
71328
71329
  V,
71329
71330
  e,
@@ -71506,39 +71507,39 @@ function t2(i) {
71506
71507
  v = !0;
71507
71508
  }), e.signal)
71508
71509
  });
71509
- }, g = e3(e.options, e.fetchOptions), w = async (x, T, A) => {
71510
+ }, g = e3(e.options, e.fetchOptions), b = async (x, T, R) => {
71510
71511
  if (v)
71511
71512
  return Promise.reject();
71512
71513
  if (T == null && x.pages.length)
71513
71514
  return Promise.resolve(x);
71514
- const R = {
71515
+ const A = {
71515
71516
  queryKey: e.queryKey,
71516
71517
  pageParam: T,
71517
- direction: A ? "backward" : "forward",
71518
+ direction: R ? "backward" : "forward",
71518
71519
  meta: e.options.meta
71519
71520
  };
71520
- m(R);
71521
+ m(A);
71521
71522
  const D = await g(
71522
- R
71523
- ), { maxPages: V } = e.options, _ = A ? Zce : Kce;
71523
+ A
71524
+ ), { maxPages: V } = e.options, _ = R ? Zce : Kce;
71524
71525
  return {
71525
71526
  pages: _(x.pages, D, V),
71526
71527
  pageParams: _(x.pageParams, T, V)
71527
71528
  };
71528
71529
  };
71529
71530
  if (r && n.length) {
71530
- const x = r === "backward", T = x ? lde : s2, A = {
71531
+ const x = r === "backward", T = x ? lde : s2, R = {
71531
71532
  pages: n,
71532
71533
  pageParams: a
71533
- }, R = T(s, A);
71534
- o = await w(A, R, x);
71534
+ }, A = T(s, R);
71535
+ o = await b(R, A, x);
71535
71536
  } else {
71536
71537
  const x = i ?? n.length;
71537
71538
  do {
71538
71539
  const T = l === 0 ? a[0] ?? s.initialPageParam : s2(s, o);
71539
71540
  if (l > 0 && T == null)
71540
71541
  break;
71541
- o = await w(o, T), l++;
71542
+ o = await b(o, T), l++;
71542
71543
  } while (l < x);
71543
71544
  }
71544
71545
  return o;
@@ -72418,7 +72419,7 @@ function c2(i, e, t, s) {
72418
72419
  }
72419
72420
  function Nde() {
72420
72421
  const i = this;
72421
- let e, t, s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, w, x, T, A, R, D, V, _, N, q, Q, L, B, H, $, j;
72422
+ let e, t, s, r, n, a, o, l, u, h, c, d, f, y, v, m, g, b, x, T, R, A, D, V, _, N, q, Q, L, B, H, $, j;
72422
72423
  const G = new Ft(), ne = new Ft(), Y = new Ft();
72423
72424
  i.depth = [];
72424
72425
  let oe, re, ue, Ie, ge, te;
@@ -72427,7 +72428,7 @@ function Nde() {
72427
72428
  u = 2 * n, c[f - 1] = 0;
72428
72429
  for (let Z = 0; Z < f - 1; Z++)
72429
72430
  c[Z] = 0;
72430
- N = er[q].max_lazy, L = er[q].good_length, B = er[q].nice_length, _ = er[q].max_chain, A = 0, g = 0, D = 0, w = V = Wt - 1, T = 0, d = 0;
72431
+ N = er[q].max_lazy, L = er[q].good_length, B = er[q].nice_length, _ = er[q].max_chain, R = 0, g = 0, D = 0, b = V = Wt - 1, T = 0, d = 0;
72431
72432
  }
72432
72433
  function et() {
72433
72434
  let Z;
@@ -72506,7 +72507,7 @@ function Nde() {
72506
72507
  function Ge(Z, se) {
72507
72508
  let X, ae, de;
72508
72509
  if (i.dist_buf[re] = Z, i.lc_buf[re] = se & 255, re++, Z === 0 ? H[se * 2]++ : (ue++, Z--, H[(Ft._length_code[se] + Mc + 1) * 2]++, $[Ft.d_code(Z) * 2]++), !(re & 8191) && q > 2) {
72509
- for (X = re * 8, ae = A - g, de = 0; de < zm; de++)
72510
+ for (X = re * 8, ae = R - g, de = 0; de < zm; de++)
72510
72511
  X += $[de * 2] * (5 + Ft.extra_dbits[de]);
72511
72512
  if (X >>>= 3, ue < Math.floor(re / 2) && X < Math.floor(ae / 2))
72512
72513
  return !0;
@@ -72535,17 +72536,17 @@ function Nde() {
72535
72536
  q > 0 ? (G.build_tree(i), ne.build_tree(i), Ae = Is(), ae = i.opt_len + 3 + 7 >>> 3, de = i.static_len + 3 + 7 >>> 3, de <= ae && (ae = de)) : ae = de = se + 5, se + 4 <= ae && Z != -1 ? ws(Z, se, X) : de == ae ? (Le((Sf << 1) + (X ? 1 : 0), 3), Te(Os.static_ltree, Os.static_dtree)) : (Le((Mde << 1) + (X ? 1 : 0), 3), zt(G.max_code + 1, ne.max_code + 1, Ae + 1), Te(H, $)), et(), X && ns();
72536
72537
  }
72537
72538
  function js(Z) {
72538
- Ur(g >= 0 ? g : -1, A - g, Z), g = A, e.flush_pending();
72539
+ Ur(g >= 0 ? g : -1, R - g, Z), g = R, e.flush_pending();
72539
72540
  }
72540
72541
  function Ws() {
72541
72542
  let Z, se, X, ae;
72542
72543
  do {
72543
- if (ae = u - D - A, ae === 0 && A === 0 && D === 0)
72544
+ if (ae = u - D - R, ae === 0 && R === 0 && D === 0)
72544
72545
  ae = n;
72545
72546
  else if (ae == -1)
72546
72547
  ae--;
72547
- else if (A >= n + n - Ci) {
72548
- l.set(l.subarray(n, n + n), 0), R -= n, A -= n, g -= n, Z = f, X = Z;
72548
+ else if (R >= n + n - Ci) {
72549
+ l.set(l.subarray(n, n + n), 0), A -= n, R -= n, g -= n, Z = f, X = Z;
72549
72550
  do
72550
72551
  se = c[--X] & 65535, c[X] = se >= n ? se - n : 0;
72551
72552
  while (--Z !== 0);
@@ -72557,7 +72558,7 @@ function Nde() {
72557
72558
  }
72558
72559
  if (e.avail_in === 0)
72559
72560
  return;
72560
- Z = e.read_buf(l, A + D, ae), D += Z, D >= Wt && (d = l[A] & 255, d = (d << m ^ l[A + 1] & 255) & v);
72561
+ Z = e.read_buf(l, R + D, ae), D += Z, D >= Wt && (d = l[R] & 255, d = (d << m ^ l[R + 1] & 255) & v);
72561
72562
  } while (D < Ci && e.avail_in !== 0);
72562
72563
  }
72563
72564
  function _i(Z) {
@@ -72569,16 +72570,16 @@ function Nde() {
72569
72570
  if (D === 0)
72570
72571
  break;
72571
72572
  }
72572
- if (A += D, D = 0, X = g + se, (A === 0 || A >= X) && (D = A - X, A = X, js(!1), e.avail_out === 0) || A - g >= n - Ci && (js(!1), e.avail_out === 0))
72573
+ if (R += D, D = 0, X = g + se, (R === 0 || R >= X) && (D = R - X, R = X, js(!1), e.avail_out === 0) || R - g >= n - Ci && (js(!1), e.avail_out === 0))
72573
72574
  return ki;
72574
72575
  }
72575
72576
  return js(Z == ri), e.avail_out === 0 ? Z == ri ? Rl : ki : Z == ri ? Dh : _h;
72576
72577
  }
72577
72578
  function Gs(Z) {
72578
- let se = _, X = A, ae, de, Ae = V;
72579
- const je = A > n - Ci ? A - (n - Ci) : 0;
72579
+ let se = _, X = R, ae, de, Ae = V;
72580
+ const je = R > n - Ci ? R - (n - Ci) : 0;
72580
72581
  let as = B;
72581
- const Rs = o, zr = A + tc;
72582
+ const Rs = o, zr = R + tc;
72582
72583
  let Za = l[X + Ae - 1], pa = l[X + Ae];
72583
72584
  V >= L && (se >>= 2), as > D && (as = D);
72584
72585
  do
@@ -72588,7 +72589,7 @@ function Nde() {
72588
72589
  ;
72589
72590
  while (l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && l[++X] == l[++ae] && X < zr);
72590
72591
  if (de = tc - (zr - X), X = zr - tc, de > Ae) {
72591
- if (R = Z, Ae = de, de >= as)
72592
+ if (A = Z, Ae = de, de >= as)
72592
72593
  break;
72593
72594
  Za = l[X + Ae - 1], pa = l[X + Ae];
72594
72595
  }
@@ -72605,17 +72606,17 @@ function Nde() {
72605
72606
  if (D === 0)
72606
72607
  break;
72607
72608
  }
72608
- if (D >= Wt && (d = (d << m ^ l[A + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[A & o] = c[d], c[d] = A), se !== 0 && (A - se & 65535) <= n - Ci && Q != Rh && (w = Gs(se)), w >= Wt)
72609
- if (X = Ge(A - R, w - Wt), D -= w, w <= N && D >= Wt) {
72610
- w--;
72609
+ if (D >= Wt && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R), se !== 0 && (R - se & 65535) <= n - Ci && Q != Rh && (b = Gs(se)), b >= Wt)
72610
+ if (X = Ge(R - A, b - Wt), D -= b, b <= N && D >= Wt) {
72611
+ b--;
72611
72612
  do
72612
- A++, d = (d << m ^ l[A + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[A & o] = c[d], c[d] = A;
72613
- while (--w !== 0);
72614
- A++;
72613
+ R++, d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R;
72614
+ while (--b !== 0);
72615
+ R++;
72615
72616
  } else
72616
- A += w, w = 0, d = l[A] & 255, d = (d << m ^ l[A + 1] & 255) & v;
72617
+ R += b, b = 0, d = l[R] & 255, d = (d << m ^ l[R + 1] & 255) & v;
72617
72618
  else
72618
- X = Ge(0, l[A] & 255), D--, A++;
72619
+ X = Ge(0, l[R] & 255), D--, R++;
72619
72620
  if (X && (js(!1), e.avail_out === 0))
72620
72621
  return ki;
72621
72622
  }
@@ -72630,20 +72631,20 @@ function Nde() {
72630
72631
  if (D === 0)
72631
72632
  break;
72632
72633
  }
72633
- if (D >= Wt && (d = (d << m ^ l[A + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[A & o] = c[d], c[d] = A), V = w, x = R, w = Wt - 1, se !== 0 && V < N && (A - se & 65535) <= n - Ci && (Q != Rh && (w = Gs(se)), w <= 5 && (Q == Vde || w == Wt && A - R > 4096) && (w = Wt - 1)), V >= Wt && w <= V) {
72634
- ae = A + D - Wt, X = Ge(A - 1 - x, V - Wt), D -= V - 1, V -= 2;
72634
+ if (D >= Wt && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R), V = b, x = A, b = Wt - 1, se !== 0 && V < N && (R - se & 65535) <= n - Ci && (Q != Rh && (b = Gs(se)), b <= 5 && (Q == Vde || b == Wt && R - A > 4096) && (b = Wt - 1)), V >= Wt && b <= V) {
72635
+ ae = R + D - Wt, X = Ge(R - 1 - x, V - Wt), D -= V - 1, V -= 2;
72635
72636
  do
72636
- ++A <= ae && (d = (d << m ^ l[A + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[A & o] = c[d], c[d] = A);
72637
+ ++R <= ae && (d = (d << m ^ l[R + (Wt - 1)] & 255) & v, se = c[d] & 65535, h[R & o] = c[d], c[d] = R);
72637
72638
  while (--V !== 0);
72638
- if (T = 0, w = Wt - 1, A++, X && (js(!1), e.avail_out === 0))
72639
+ if (T = 0, b = Wt - 1, R++, X && (js(!1), e.avail_out === 0))
72639
72640
  return ki;
72640
72641
  } else if (T !== 0) {
72641
- if (X = Ge(0, l[A - 1] & 255), X && js(!1), A++, D--, e.avail_out === 0)
72642
+ if (X = Ge(0, l[R - 1] & 255), X && js(!1), R++, D--, e.avail_out === 0)
72642
72643
  return ki;
72643
72644
  } else
72644
- T = 1, A++, D--;
72645
+ T = 1, R++, D--;
72645
72646
  }
72646
- return T !== 0 && (X = Ge(0, l[A - 1] & 255), T = 0), js(Z == ri), e.avail_out === 0 ? Z == ri ? Rl : ki : Z == ri ? Dh : _h;
72647
+ return T !== 0 && (X = Ge(0, l[R - 1] & 255), T = 0), js(Z == ri), e.avail_out === 0 ? Z == ri ? Rl : ki : Z == ri ? Dh : _h;
72647
72648
  }
72648
72649
  function Cn(Z) {
72649
72650
  return Z.total_in = Z.total_out = 0, Z.msg = null, i.pending = 0, i.pending_out = 0, t = kh, r = po, Yt(), we(), sr;
@@ -72661,7 +72662,7 @@ function Nde() {
72661
72662
  return ar;
72662
72663
  if (ae < Wt)
72663
72664
  return sr;
72664
- for (ae > n - Ci && (ae = n - Ci, Ae = X - ae), l.set(se.subarray(Ae, Ae + ae), 0), A = ae, g = ae, d = l[0] & 255, d = (d << m ^ l[1] & 255) & v, de = 0; de <= ae - Wt; de++)
72665
+ for (ae > n - Ci && (ae = n - Ci, Ae = X - ae), l.set(se.subarray(Ae, Ae + ae), 0), R = ae, g = ae, d = l[0] & 255, d = (d << m ^ l[1] & 255) & v, de = 0; de <= ae - Wt; de++)
72665
72666
  d = (d << m ^ l[de + (Wt - 1)] & 255) & v, h[de & o] = c[d], c[d] = de;
72666
72667
  return sr;
72667
72668
  }, i.deflate = function(Z, se) {
@@ -72672,7 +72673,7 @@ function Nde() {
72672
72673
  return Z.msg = Lh[Ah - ar], ar;
72673
72674
  if (Z.avail_out === 0)
72674
72675
  return Z.msg = Lh[Ah - uo], uo;
72675
- if (e = Z, Ae = r, r = se, t == Ef && (ae = Vf + (a - 8 << 4) << 8, de = (q - 1 & 255) >> 1, de > 3 && (de = 3), ae |= de << 6, A !== 0 && (ae |= kde), ae += 31 - ae % 31, t = kh, rs(ae)), i.pending !== 0) {
72676
+ if (e = Z, Ae = r, r = se, t == Ef && (ae = Vf + (a - 8 << 4) << 8, de = (q - 1 & 255) >> 1, de > 3 && (de = 3), ae |= de << 6, R !== 0 && (ae |= kde), ae += 31 - ae % 31, t = kh, rs(ae)), i.pending !== 0) {
72676
72677
  if (e.flush_pending(), e.avail_out === 0)
72677
72678
  return r = -1, sr;
72678
72679
  } else if (e.avail_in === 0 && se <= Ae && se != ri)
@@ -74574,8 +74575,8 @@ const Bde = 15, gt = 0, ln = 1, $de = 2, li = -2, qt = -3, d2 = -4, un = -5, bi
74574
74575
  function Wm() {
74575
74576
  const i = this;
74576
74577
  let e, t, s, r, n, a;
74577
- function o(u, h, c, d, f, y, v, m, g, w, x) {
74578
- let T, A, R, D, V, _, N, q, Q, L, B, H, $, j, G;
74578
+ function o(u, h, c, d, f, y, v, m, g, b, x) {
74579
+ let T, R, A, D, V, _, N, q, Q, L, B, H, $, j, G;
74579
74580
  L = 0, V = c;
74580
74581
  do
74581
74582
  s[u[h + L]]++, L++, V--;
@@ -74586,7 +74587,7 @@ function Wm() {
74586
74587
  ;
74587
74588
  for (N = _, q < _ && (q = _), V = In; V !== 0 && s[V] === 0; V--)
74588
74589
  ;
74589
- for (R = V, q > V && (q = V), m[0] = q, j = 1 << _; _ < V; _++, j <<= 1)
74590
+ for (A = V, q > V && (q = V), m[0] = q, j = 1 << _; _ < V; _++, j <<= 1)
74590
74591
  if ((j -= s[_]) < 0)
74591
74592
  return qt;
74592
74593
  if ((j -= s[V]) < 0)
@@ -74597,16 +74598,16 @@ function Wm() {
74597
74598
  do
74598
74599
  (_ = u[h + L]) !== 0 && (x[a[_]++] = V), L++;
74599
74600
  while (++V < c);
74600
- for (c = a[R], a[0] = V = 0, L = 0, D = -1, H = -q, n[0] = 0, B = 0, G = 0; N <= R; N++)
74601
+ for (c = a[A], a[0] = V = 0, L = 0, D = -1, H = -q, n[0] = 0, B = 0, G = 0; N <= A; N++)
74601
74602
  for (T = s[N]; T-- !== 0; ) {
74602
74603
  for (; N > H + q; ) {
74603
- if (D++, H += q, G = R - H, G = G > q ? q : G, (A = 1 << (_ = N - H)) > T + 1 && (A -= T + 1, $ = N, _ < G))
74604
- for (; ++_ < G && !((A <<= 1) <= s[++$]); )
74605
- A -= s[$];
74606
- if (G = 1 << _, w[0] + G > c3)
74604
+ if (D++, H += q, G = A - H, G = G > q ? q : G, (R = 1 << (_ = N - H)) > T + 1 && (R -= T + 1, $ = N, _ < G))
74605
+ for (; ++_ < G && !((R <<= 1) <= s[++$]); )
74606
+ R -= s[$];
74607
+ if (G = 1 << _, b[0] + G > c3)
74607
74608
  return qt;
74608
74609
  n[D] = B = /* hp+ */
74609
- w[0], w[0] += G, D !== 0 ? (a[D] = V, r[0] = /* (byte) */
74610
+ b[0], b[0] += G, D !== 0 ? (a[D] = V, r[0] = /* (byte) */
74610
74611
  _, r[1] = /* (byte) */
74611
74612
  q, _ = V >>> H - q, r[2] = /* (int) */
74612
74613
  B - n[D - 1] - _, g.set(r, (n[D - 1] + _) * 3)) : v[0] = B;
@@ -74614,14 +74615,14 @@ function Wm() {
74614
74615
  for (r[1] = /* (byte) */
74615
74616
  N - H, L >= c ? r[0] = 192 : x[L] < d ? (r[0] = /* (byte) */
74616
74617
  x[L] < 256 ? 0 : 96, r[2] = x[L++]) : (r[0] = /* (byte) */
74617
- y[x[L] - d] + 16 + 64, r[2] = f[x[L++] - d]), A = 1 << N - H, _ = V >>> H; _ < G; _ += A)
74618
+ y[x[L] - d] + 16 + 64, r[2] = f[x[L++] - d]), R = 1 << N - H, _ = V >>> H; _ < G; _ += R)
74618
74619
  g.set(r, (B + _) * 3);
74619
74620
  for (_ = 1 << N - 1; V & _; _ >>>= 1)
74620
74621
  V ^= _;
74621
74622
  for (V ^= _, Q = (1 << H) - 1; (V & Q) != a[D]; )
74622
74623
  D--, H -= q, Q = (1 << H) - 1;
74623
74624
  }
74624
- return j !== 0 && R != 1 ? un : gt;
74625
+ return j !== 0 && A != 1 ? un : gt;
74625
74626
  }
74626
74627
  function l(u) {
74627
74628
  let h;
@@ -74637,8 +74638,8 @@ function Wm() {
74637
74638
  let y;
74638
74639
  return l(19), e[0] = 0, y = o(u, 0, 19, 19, null, null, c, h, d, e, t), y == qt ? f.msg = "oversubscribed dynamic bit lengths tree" : (y == un || h[0] === 0) && (f.msg = "incomplete dynamic bit lengths tree", y = qt), y;
74639
74640
  }, i.inflate_trees_dynamic = function(u, h, c, d, f, y, v, m, g) {
74640
- let w;
74641
- return l(288), e[0] = 0, w = o(c, 0, u, 257, Gde, Kde, y, d, m, e, t), w != gt || d[0] === 0 ? (w == qt ? g.msg = "oversubscribed literal/length tree" : w != d2 && (g.msg = "incomplete literal/length tree", w = qt), w) : (l(288), w = o(c, u, h, 0, Zde, Jde, v, f, m, e, t), w != gt || f[0] === 0 && u > 257 ? (w == qt ? g.msg = "oversubscribed distance tree" : w == un ? (g.msg = "incomplete distance tree", w = qt) : w != d2 && (g.msg = "empty distance tree with lengths", w = qt), w) : gt);
74641
+ let b;
74642
+ return l(288), e[0] = 0, b = o(c, 0, u, 257, Gde, Kde, y, d, m, e, t), b != gt || d[0] === 0 ? (b == qt ? g.msg = "oversubscribed literal/length tree" : b != d2 && (g.msg = "incomplete literal/length tree", b = qt), b) : (l(288), b = o(c, u, h, 0, Zde, Jde, v, f, m, e, t), b != gt || f[0] === 0 && u > 257 ? (b == qt ? g.msg = "oversubscribed distance tree" : b == un ? (g.msg = "incomplete distance tree", b = qt) : b != d2 && (g.msg = "empty distance tree with lengths", b = qt), b) : gt);
74642
74643
  };
74643
74644
  }
74644
74645
  Wm.inflate_trees_fixed = function(i, e, t, s) {
@@ -74648,14 +74649,14 @@ const Oh = 0, p2 = 1, f2 = 2, m2 = 3, g2 = 4, v2 = 5, y2 = 6, Tf = 7, C2 = 8, Mh
74648
74649
  function Yde() {
74649
74650
  const i = this;
74650
74651
  let e, t = 0, s, r = 0, n = 0, a = 0, o = 0, l = 0, u = 0, h = 0, c, d = 0, f, y = 0;
74651
- function v(m, g, w, x, T, A, R, D) {
74652
+ function v(m, g, b, x, T, R, A, D) {
74652
74653
  let V, _, N, q, Q, L, B, H, $, j, G, ne, Y, oe, re, ue;
74653
- B = D.next_in_index, H = D.avail_in, Q = R.bitb, L = R.bitk, $ = R.write, j = $ < R.read ? R.read - $ - 1 : R.end - $, G = bi[m], ne = bi[g];
74654
+ B = D.next_in_index, H = D.avail_in, Q = A.bitb, L = A.bitk, $ = A.write, j = $ < A.read ? A.read - $ - 1 : A.end - $, G = bi[m], ne = bi[g];
74654
74655
  do {
74655
74656
  for (; L < 20; )
74656
74657
  H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
74657
- if (V = Q & G, _ = w, N = x, ue = (N + V) * 3, (q = _[ue]) === 0) {
74658
- Q >>= _[ue + 1], L -= _[ue + 1], R.win[$++] = /* (byte) */
74658
+ if (V = Q & G, _ = b, N = x, ue = (N + V) * 3, (q = _[ue]) === 0) {
74659
+ Q >>= _[ue + 1], L -= _[ue + 1], A.win[$++] = /* (byte) */
74659
74660
  _[ue + 2], j--;
74660
74661
  continue;
74661
74662
  }
@@ -74664,153 +74665,153 @@ function Yde() {
74664
74665
  for (q &= 15, Y = _[ue + 2] + /* (int) */
74665
74666
  (Q & bi[q]), Q >>= q, L -= q; L < 15; )
74666
74667
  H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
74667
- V = Q & ne, _ = T, N = A, ue = (N + V) * 3, q = _[ue];
74668
+ V = Q & ne, _ = T, N = R, ue = (N + V) * 3, q = _[ue];
74668
74669
  do
74669
74670
  if (Q >>= _[ue + 1], L -= _[ue + 1], q & 16) {
74670
74671
  for (q &= 15; L < q; )
74671
74672
  H--, Q |= (D.read_byte(B++) & 255) << L, L += 8;
74672
74673
  if (oe = _[ue + 2] + (Q & bi[q]), Q >>= q, L -= q, j -= Y, $ >= oe)
74673
- re = $ - oe, $ - re > 0 && 2 > $ - re ? (R.win[$++] = R.win[re++], R.win[$++] = R.win[re++], Y -= 2) : (R.win.set(R.win.subarray(re, re + 2), $), $ += 2, re += 2, Y -= 2);
74674
+ re = $ - oe, $ - re > 0 && 2 > $ - re ? (A.win[$++] = A.win[re++], A.win[$++] = A.win[re++], Y -= 2) : (A.win.set(A.win.subarray(re, re + 2), $), $ += 2, re += 2, Y -= 2);
74674
74675
  else {
74675
74676
  re = $ - oe;
74676
74677
  do
74677
- re += R.end;
74678
+ re += A.end;
74678
74679
  while (re < 0);
74679
- if (q = R.end - re, Y > q) {
74680
+ if (q = A.end - re, Y > q) {
74680
74681
  if (Y -= q, $ - re > 0 && q > $ - re)
74681
74682
  do
74682
- R.win[$++] = R.win[re++];
74683
+ A.win[$++] = A.win[re++];
74683
74684
  while (--q !== 0);
74684
74685
  else
74685
- R.win.set(R.win.subarray(re, re + q), $), $ += q, re += q, q = 0;
74686
+ A.win.set(A.win.subarray(re, re + q), $), $ += q, re += q, q = 0;
74686
74687
  re = 0;
74687
74688
  }
74688
74689
  }
74689
74690
  if ($ - re > 0 && Y > $ - re)
74690
74691
  do
74691
- R.win[$++] = R.win[re++];
74692
+ A.win[$++] = A.win[re++];
74692
74693
  while (--Y !== 0);
74693
74694
  else
74694
- R.win.set(R.win.subarray(re, re + Y), $), $ += Y, re += Y, Y = 0;
74695
+ A.win.set(A.win.subarray(re, re + Y), $), $ += Y, re += Y, Y = 0;
74695
74696
  break;
74696
74697
  } else if (!(q & 64))
74697
74698
  V += _[ue + 2], V += Q & bi[q], ue = (N + V) * 3, q = _[ue];
74698
74699
  else
74699
- return D.msg = "invalid distance code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, R.bitb = Q, R.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, R.write = $, qt;
74700
+ return D.msg = "invalid distance code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, qt;
74700
74701
  while (!0);
74701
74702
  break;
74702
74703
  }
74703
74704
  if (q & 64)
74704
- return q & 32 ? (Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, R.bitb = Q, R.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, R.write = $, ln) : (D.msg = "invalid literal/length code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, R.bitb = Q, R.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, R.write = $, qt);
74705
+ return q & 32 ? (Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, ln) : (D.msg = "invalid literal/length code", Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, qt);
74705
74706
  if (V += _[ue + 2], V += Q & bi[q], ue = (N + V) * 3, (q = _[ue]) === 0) {
74706
- Q >>= _[ue + 1], L -= _[ue + 1], R.win[$++] = /* (byte) */
74707
+ Q >>= _[ue + 1], L -= _[ue + 1], A.win[$++] = /* (byte) */
74707
74708
  _[ue + 2], j--;
74708
74709
  break;
74709
74710
  }
74710
74711
  } while (!0);
74711
74712
  } while (j >= 258 && H >= 10);
74712
- return Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, R.bitb = Q, R.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, R.write = $, gt;
74713
+ return Y = D.avail_in - H, Y = L >> 3 < Y ? L >> 3 : Y, H += Y, B -= Y, L -= Y << 3, A.bitb = Q, A.bitk = L, D.avail_in = H, D.total_in += B - D.next_in_index, D.next_in_index = B, A.write = $, gt;
74713
74714
  }
74714
- i.init = function(m, g, w, x, T, A) {
74715
+ i.init = function(m, g, b, x, T, R) {
74715
74716
  e = Oh, u = /* (byte) */
74716
74717
  m, h = /* (byte) */
74717
- g, c = w, d = x, f = T, y = A, s = null;
74718
- }, i.proc = function(m, g, w) {
74719
- let x, T, A, R = 0, D = 0, V = 0, _, N, q, Q;
74720
- for (V = g.next_in_index, _ = g.avail_in, R = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N; ; )
74718
+ g, c = b, d = x, f = T, y = R, s = null;
74719
+ }, i.proc = function(m, g, b) {
74720
+ let x, T, R, A = 0, D = 0, V = 0, _, N, q, Q;
74721
+ for (V = g.next_in_index, _ = g.avail_in, A = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N; ; )
74721
74722
  switch (e) {
74722
74723
  case Oh:
74723
- if (q >= 258 && _ >= 10 && (m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, w = v(u, h, c, d, f, y, m, g), V = g.next_in_index, _ = g.avail_in, R = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, w != gt)) {
74724
- e = w == ln ? Tf : Mh;
74724
+ if (q >= 258 && _ >= 10 && (m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, b = v(u, h, c, d, f, y, m, g), V = g.next_in_index, _ = g.avail_in, A = m.bitb, D = m.bitk, N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, b != gt)) {
74725
+ e = b == ln ? Tf : Mh;
74725
74726
  break;
74726
74727
  }
74727
74728
  n = u, s = c, r = d, e = p2;
74728
74729
  case p2:
74729
74730
  for (x = n; D < x; ) {
74730
74731
  if (_ !== 0)
74731
- w = gt;
74732
+ b = gt;
74732
74733
  else
74733
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74734
- _--, R |= (g.read_byte(V++) & 255) << D, D += 8;
74734
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74735
+ _--, A |= (g.read_byte(V++) & 255) << D, D += 8;
74735
74736
  }
74736
- if (T = (r + (R & bi[x])) * 3, R >>>= s[T + 1], D -= s[T + 1], A = s[T], A === 0) {
74737
+ if (T = (r + (A & bi[x])) * 3, A >>>= s[T + 1], D -= s[T + 1], R = s[T], R === 0) {
74737
74738
  a = s[T + 2], e = y2;
74738
74739
  break;
74739
74740
  }
74740
- if (A & 16) {
74741
- o = A & 15, t = s[T + 2], e = f2;
74741
+ if (R & 16) {
74742
+ o = R & 15, t = s[T + 2], e = f2;
74742
74743
  break;
74743
74744
  }
74744
- if (!(A & 64)) {
74745
- n = A, r = T / 3 + s[T + 2];
74745
+ if (!(R & 64)) {
74746
+ n = R, r = T / 3 + s[T + 2];
74746
74747
  break;
74747
74748
  }
74748
- if (A & 32) {
74749
+ if (R & 32) {
74749
74750
  e = Tf;
74750
74751
  break;
74751
74752
  }
74752
- return e = Mh, g.msg = "invalid literal/length code", w = qt, m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74753
+ return e = Mh, g.msg = "invalid literal/length code", b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74753
74754
  case f2:
74754
74755
  for (x = o; D < x; ) {
74755
74756
  if (_ !== 0)
74756
- w = gt;
74757
+ b = gt;
74757
74758
  else
74758
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74759
- _--, R |= (g.read_byte(V++) & 255) << D, D += 8;
74759
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74760
+ _--, A |= (g.read_byte(V++) & 255) << D, D += 8;
74760
74761
  }
74761
- t += R & bi[x], R >>= x, D -= x, n = h, s = f, r = y, e = m2;
74762
+ t += A & bi[x], A >>= x, D -= x, n = h, s = f, r = y, e = m2;
74762
74763
  case m2:
74763
74764
  for (x = n; D < x; ) {
74764
74765
  if (_ !== 0)
74765
- w = gt;
74766
+ b = gt;
74766
74767
  else
74767
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74768
- _--, R |= (g.read_byte(V++) & 255) << D, D += 8;
74768
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74769
+ _--, A |= (g.read_byte(V++) & 255) << D, D += 8;
74769
74770
  }
74770
- if (T = (r + (R & bi[x])) * 3, R >>= s[T + 1], D -= s[T + 1], A = s[T], A & 16) {
74771
- o = A & 15, l = s[T + 2], e = g2;
74771
+ if (T = (r + (A & bi[x])) * 3, A >>= s[T + 1], D -= s[T + 1], R = s[T], R & 16) {
74772
+ o = R & 15, l = s[T + 2], e = g2;
74772
74773
  break;
74773
74774
  }
74774
- if (!(A & 64)) {
74775
- n = A, r = T / 3 + s[T + 2];
74775
+ if (!(R & 64)) {
74776
+ n = R, r = T / 3 + s[T + 2];
74776
74777
  break;
74777
74778
  }
74778
- return e = Mh, g.msg = "invalid distance code", w = qt, m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74779
+ return e = Mh, g.msg = "invalid distance code", b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74779
74780
  case g2:
74780
74781
  for (x = o; D < x; ) {
74781
74782
  if (_ !== 0)
74782
- w = gt;
74783
+ b = gt;
74783
74784
  else
74784
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74785
- _--, R |= (g.read_byte(V++) & 255) << D, D += 8;
74785
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74786
+ _--, A |= (g.read_byte(V++) & 255) << D, D += 8;
74786
74787
  }
74787
- l += R & bi[x], R >>= x, D -= x, e = v2;
74788
+ l += A & bi[x], A >>= x, D -= x, e = v2;
74788
74789
  case v2:
74789
74790
  for (Q = N - l; Q < 0; )
74790
74791
  Q += m.end;
74791
74792
  for (; t !== 0; ) {
74792
- if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, w = m.inflate_flush(g, w), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
74793
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74793
+ if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
74794
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74794
74795
  m.win[N++] = m.win[Q++], q--, Q == m.end && (Q = 0), t--;
74795
74796
  }
74796
74797
  e = Oh;
74797
74798
  break;
74798
74799
  case y2:
74799
- if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, w = m.inflate_flush(g, w), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
74800
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74801
- w = gt, m.win[N++] = /* (byte) */
74800
+ if (q === 0 && (N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0 && (m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, N == m.end && m.read !== 0 && (N = 0, q = N < m.read ? m.read - N - 1 : m.end - N), q === 0)))
74801
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74802
+ b = gt, m.win[N++] = /* (byte) */
74802
74803
  a, q--, e = Oh;
74803
74804
  break;
74804
74805
  case Tf:
74805
- if (D > 7 && (D -= 8, _++, V--), m.write = N, w = m.inflate_flush(g, w), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, m.read != m.write)
74806
- return m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74806
+ if (D > 7 && (D -= 8, _++, V--), m.write = N, b = m.inflate_flush(g, b), N = m.write, q = N < m.read ? m.read - N - 1 : m.end - N, m.read != m.write)
74807
+ return m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74807
74808
  e = C2;
74808
74809
  case C2:
74809
- return w = ln, m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74810
+ return b = ln, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74810
74811
  case Mh:
74811
- return w = qt, m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74812
+ return b = qt, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74812
74813
  default:
74813
- return w = li, m.bitb = R, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, w);
74814
+ return b = li, m.bitb = A, m.bitk = D, g.avail_in = _, g.total_in += V - g.next_in_index, g.next_in_index = V, m.write = N, m.inflate_flush(g, b);
74814
74815
  }
74815
74816
  }, i.free = function() {
74816
74817
  };
@@ -74846,114 +74847,114 @@ function Xde(i, e) {
74846
74847
  t.bitk = 0, t.bitb = 0, t.win = new Uint8Array(e), t.end = e, t.read = 0, t.write = 0, t.reset = function(v, m) {
74847
74848
  m && (m[0] = f), s == Nh && h.free(v), s = ho, t.bitk = 0, t.bitb = 0, t.read = t.write = 0;
74848
74849
  }, t.reset(i, null), t.inflate_flush = function(v, m) {
74849
- let g, w, x;
74850
- return w = v.next_out_index, x = t.read, g = /* (int) */
74851
- (x <= t.write ? t.write : t.end) - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), w), w += g, x += g, x == t.end && (x = 0, t.write == t.end && (t.write = 0), g = t.write - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), w), w += g, x += g), v.next_out_index = w, t.read = x, m;
74850
+ let g, b, x;
74851
+ return b = v.next_out_index, x = t.read, g = /* (int) */
74852
+ (x <= t.write ? t.write : t.end) - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), b), b += g, x += g, x == t.end && (x = 0, t.write == t.end && (t.write = 0), g = t.write - x, g > v.avail_out && (g = v.avail_out), g !== 0 && m == un && (m = gt), v.avail_out -= g, v.total_out += g, v.next_out.set(t.win.subarray(x, x + g), b), b += g, x += g), v.next_out_index = b, t.read = x, m;
74852
74853
  }, t.proc = function(v, m) {
74853
- let g, w, x, T, A, R, D, V;
74854
- for (T = v.next_in_index, A = v.avail_in, w = t.bitb, x = t.bitk, R = t.write, D = /* (int) */
74855
- R < t.read ? t.read - R - 1 : t.end - R; ; ) {
74854
+ let g, b, x, T, R, A, D, V;
74855
+ for (T = v.next_in_index, R = v.avail_in, b = t.bitb, x = t.bitk, A = t.write, D = /* (int) */
74856
+ A < t.read ? t.read - A - 1 : t.end - A; ; ) {
74856
74857
  let _, N, q, Q, L, B, H, $;
74857
74858
  switch (s) {
74858
74859
  case ho:
74859
74860
  for (; x < 3; ) {
74860
- if (A !== 0)
74861
+ if (R !== 0)
74861
74862
  m = gt;
74862
74863
  else
74863
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74864
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74864
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74865
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74865
74866
  }
74866
74867
  switch (g = /* (int) */
74867
- w & 7, c = g & 1, g >>> 1) {
74868
+ b & 7, c = g & 1, g >>> 1) {
74868
74869
  case 0:
74869
- w >>>= 3, x -= 3, g = x & 7, w >>>= g, x -= g, s = Pf;
74870
+ b >>>= 3, x -= 3, g = x & 7, b >>>= g, x -= g, s = Pf;
74870
74871
  break;
74871
74872
  case 1:
74872
- _ = [], N = [], q = [[]], Q = [[]], Wm.inflate_trees_fixed(_, N, q, Q), h.init(_[0], N[0], q[0], 0, Q[0], 0), w >>>= 3, x -= 3, s = Nh;
74873
+ _ = [], N = [], q = [[]], Q = [[]], Wm.inflate_trees_fixed(_, N, q, Q), h.init(_[0], N[0], q[0], 0, Q[0], 0), b >>>= 3, x -= 3, s = Nh;
74873
74874
  break;
74874
74875
  case 2:
74875
- w >>>= 3, x -= 3, s = x2;
74876
+ b >>>= 3, x -= 3, s = x2;
74876
74877
  break;
74877
74878
  case 3:
74878
- return w >>>= 3, x -= 3, s = va, v.msg = "invalid block type", m = qt, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74879
+ return b >>>= 3, x -= 3, s = va, v.msg = "invalid block type", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74879
74880
  }
74880
74881
  break;
74881
74882
  case Pf:
74882
74883
  for (; x < 32; ) {
74883
- if (A !== 0)
74884
+ if (R !== 0)
74884
74885
  m = gt;
74885
74886
  else
74886
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74887
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74887
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74888
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74888
74889
  }
74889
- if ((~w >>> 16 & 65535) != (w & 65535))
74890
- return s = va, v.msg = "invalid stored block lengths", m = qt, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74891
- r = w & 65535, w = x = 0, s = r !== 0 ? w2 : c !== 0 ? Fh : ho;
74890
+ if ((~b >>> 16 & 65535) != (b & 65535))
74891
+ return s = va, v.msg = "invalid stored block lengths", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74892
+ r = b & 65535, b = x = 0, s = r !== 0 ? w2 : c !== 0 ? Fh : ho;
74892
74893
  break;
74893
74894
  case w2:
74894
- if (A === 0 || D === 0 && (R == t.end && t.read !== 0 && (R = 0, D = /* (int) */
74895
- R < t.read ? t.read - R - 1 : t.end - R), D === 0 && (t.write = R, m = t.inflate_flush(v, m), R = t.write, D = /* (int) */
74896
- R < t.read ? t.read - R - 1 : t.end - R, R == t.end && t.read !== 0 && (R = 0, D = /* (int) */
74897
- R < t.read ? t.read - R - 1 : t.end - R), D === 0)))
74898
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74899
- if (m = gt, g = r, g > A && (g = A), g > D && (g = D), t.win.set(v.read_buf(T, g), R), T += g, A -= g, R += g, D -= g, (r -= g) !== 0)
74895
+ if (R === 0 || D === 0 && (A == t.end && t.read !== 0 && (A = 0, D = /* (int) */
74896
+ A < t.read ? t.read - A - 1 : t.end - A), D === 0 && (t.write = A, m = t.inflate_flush(v, m), A = t.write, D = /* (int) */
74897
+ A < t.read ? t.read - A - 1 : t.end - A, A == t.end && t.read !== 0 && (A = 0, D = /* (int) */
74898
+ A < t.read ? t.read - A - 1 : t.end - A), D === 0)))
74899
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74900
+ if (m = gt, g = r, g > R && (g = R), g > D && (g = D), t.win.set(v.read_buf(T, g), A), T += g, R -= g, A += g, D -= g, (r -= g) !== 0)
74900
74901
  break;
74901
74902
  s = c !== 0 ? Fh : ho;
74902
74903
  break;
74903
74904
  case x2:
74904
74905
  for (; x < 14; ) {
74905
- if (A !== 0)
74906
+ if (R !== 0)
74906
74907
  m = gt;
74907
74908
  else
74908
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74909
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74909
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74910
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74910
74911
  }
74911
- if (n = g = w & 16383, (g & 31) > 29 || (g >> 5 & 31) > 29)
74912
- return s = va, v.msg = "too many length or distance symbols", m = qt, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74912
+ if (n = g = b & 16383, (g & 31) > 29 || (g >> 5 & 31) > 29)
74913
+ return s = va, v.msg = "too many length or distance symbols", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74913
74914
  if (g = 258 + (g & 31) + (g >> 5 & 31), !o || o.length < g)
74914
74915
  o = [];
74915
74916
  else
74916
74917
  for (V = 0; V < g; V++)
74917
74918
  o[V] = 0;
74918
- w >>>= 14, x -= 14, a = 0, s = E2;
74919
+ b >>>= 14, x -= 14, a = 0, s = E2;
74919
74920
  case E2:
74920
74921
  for (; a < 4 + (n >>> 10); ) {
74921
74922
  for (; x < 3; ) {
74922
- if (A !== 0)
74923
+ if (R !== 0)
74923
74924
  m = gt;
74924
74925
  else
74925
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74926
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74926
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74927
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74927
74928
  }
74928
- o[b2[a++]] = w & 7, w >>>= 3, x -= 3;
74929
+ o[b2[a++]] = b & 7, b >>>= 3, x -= 3;
74929
74930
  }
74930
74931
  for (; a < 19; )
74931
74932
  o[b2[a++]] = 0;
74932
74933
  if (l[0] = 7, g = y.inflate_trees_bits(o, l, u, d, v), g != gt)
74933
- return m = g, m == qt && (o = null, s = va), t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74934
+ return m = g, m == qt && (o = null, s = va), t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74934
74935
  a = 0, s = V2;
74935
74936
  case V2:
74936
74937
  for (; g = n, !(a >= 258 + (g & 31) + (g >> 5 & 31)); ) {
74937
74938
  let j, G;
74938
74939
  for (g = l[0]; x < g; ) {
74939
- if (A !== 0)
74940
+ if (R !== 0)
74940
74941
  m = gt;
74941
74942
  else
74942
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74943
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74943
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74944
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74944
74945
  }
74945
- if (g = d[(u[0] + (w & bi[g])) * 3 + 1], G = d[(u[0] + (w & bi[g])) * 3 + 2], G < 16)
74946
- w >>>= g, x -= g, o[a++] = G;
74946
+ if (g = d[(u[0] + (b & bi[g])) * 3 + 1], G = d[(u[0] + (b & bi[g])) * 3 + 2], G < 16)
74947
+ b >>>= g, x -= g, o[a++] = G;
74947
74948
  else {
74948
74949
  for (V = G == 18 ? 7 : G - 14, j = G == 18 ? 11 : 3; x < g + V; ) {
74949
- if (A !== 0)
74950
+ if (R !== 0)
74950
74951
  m = gt;
74951
74952
  else
74952
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74953
- A--, w |= (v.read_byte(T++) & 255) << x, x += 8;
74953
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74954
+ R--, b |= (v.read_byte(T++) & 255) << x, x += 8;
74954
74955
  }
74955
- if (w >>>= g, x -= g, j += w & bi[V], w >>>= V, x -= V, V = a, g = n, V + j > 258 + (g & 31) + (g >> 5 & 31) || G == 16 && V < 1)
74956
- return o = null, s = va, v.msg = "invalid bit length repeat", m = qt, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74956
+ if (b >>>= g, x -= g, j += b & bi[V], b >>>= V, x -= V, V = a, g = n, V + j > 258 + (g & 31) + (g >> 5 & 31) || G == 16 && V < 1)
74957
+ return o = null, s = va, v.msg = "invalid bit length repeat", m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74957
74958
  G = G == 16 ? o[V - 1] : 0;
74958
74959
  do
74959
74960
  o[V++] = G;
@@ -74962,28 +74963,28 @@ function Xde(i, e) {
74962
74963
  }
74963
74964
  }
74964
74965
  if (u[0] = -1, L = [], B = [], H = [], $ = [], L[0] = 9, B[0] = 6, g = n, g = y.inflate_trees_dynamic(257 + (g & 31), 1 + (g >> 5 & 31), o, L, B, H, $, d, v), g != gt)
74965
- return g == qt && (o = null, s = va), m = g, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74966
+ return g == qt && (o = null, s = va), m = g, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74966
74967
  h.init(L[0], B[0], d, H[0], d, $[0]), s = Nh;
74967
74968
  case Nh:
74968
- if (t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, (m = h.proc(t, v, m)) != ln)
74969
+ if (t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, (m = h.proc(t, v, m)) != ln)
74969
74970
  return t.inflate_flush(v, m);
74970
- if (m = gt, h.free(v), T = v.next_in_index, A = v.avail_in, w = t.bitb, x = t.bitk, R = t.write, D = /* (int) */
74971
- R < t.read ? t.read - R - 1 : t.end - R, c === 0) {
74971
+ if (m = gt, h.free(v), T = v.next_in_index, R = v.avail_in, b = t.bitb, x = t.bitk, A = t.write, D = /* (int) */
74972
+ A < t.read ? t.read - A - 1 : t.end - A, c === 0) {
74972
74973
  s = ho;
74973
74974
  break;
74974
74975
  }
74975
74976
  s = Fh;
74976
74977
  case Fh:
74977
- if (t.write = R, m = t.inflate_flush(v, m), R = t.write, D = /* (int) */
74978
- R < t.read ? t.read - R - 1 : t.end - R, t.read != t.write)
74979
- return t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74978
+ if (t.write = A, m = t.inflate_flush(v, m), A = t.write, D = /* (int) */
74979
+ A < t.read ? t.read - A - 1 : t.end - A, t.read != t.write)
74980
+ return t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74980
74981
  s = S2;
74981
74982
  case S2:
74982
- return m = ln, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74983
+ return m = ln, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74983
74984
  case va:
74984
- return m = qt, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74985
+ return m = qt, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74985
74986
  default:
74986
- return m = li, t.bitb = w, t.bitk = x, v.avail_in = A, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = R, t.inflate_flush(v, m);
74987
+ return m = li, t.bitb = b, t.bitk = x, v.avail_in = R, v.total_in += T - v.next_in_index, v.next_in_index = T, t.write = A, t.inflate_flush(v, m);
74987
74988
  }
74988
74989
  }
74989
74990
  }, t.free = function(v) {
@@ -77106,9 +77107,9 @@ w3.aes = class {
77106
77107
  if (i.length !== 4)
77107
77108
  throw new Error("invalid aes block size");
77108
77109
  const t = this._key[e], s = t.length / 4 - 2, r = [0, 0, 0, 0], n = this._tables[e], a = n[0], o = n[1], l = n[2], u = n[3], h = n[4];
77109
- let c = i[0] ^ t[0], d = i[e ? 3 : 1] ^ t[1], f = i[2] ^ t[2], y = i[e ? 1 : 3] ^ t[3], v = 4, m, g, w;
77110
+ let c = i[0] ^ t[0], d = i[e ? 3 : 1] ^ t[1], f = i[2] ^ t[2], y = i[e ? 1 : 3] ^ t[3], v = 4, m, g, b;
77110
77111
  for (let x = 0; x < s; x++)
77111
- m = a[c >>> 24] ^ o[d >> 16 & 255] ^ l[f >> 8 & 255] ^ u[y & 255] ^ t[v], g = a[d >>> 24] ^ o[f >> 16 & 255] ^ l[y >> 8 & 255] ^ u[c & 255] ^ t[v + 1], w = a[f >>> 24] ^ o[y >> 16 & 255] ^ l[c >> 8 & 255] ^ u[d & 255] ^ t[v + 2], y = a[y >>> 24] ^ o[c >> 16 & 255] ^ l[d >> 8 & 255] ^ u[f & 255] ^ t[v + 3], v += 4, c = m, d = g, f = w;
77112
+ m = a[c >>> 24] ^ o[d >> 16 & 255] ^ l[f >> 8 & 255] ^ u[y & 255] ^ t[v], g = a[d >>> 24] ^ o[f >> 16 & 255] ^ l[y >> 8 & 255] ^ u[c & 255] ^ t[v + 1], b = a[f >>> 24] ^ o[y >> 16 & 255] ^ l[c >> 8 & 255] ^ u[d & 255] ^ t[v + 2], y = a[y >>> 24] ^ o[c >> 16 & 255] ^ l[d >> 8 & 255] ^ u[f & 255] ^ t[v + 3], v += 4, c = m, d = g, f = b;
77112
77113
  for (let x = 0; x < 4; x++)
77113
77114
  r[e ? 3 & -x : x] = h[c >>> 24] << 24 ^ h[d >> 16 & 255] << 16 ^ h[f >> 8 & 255] << 8 ^ h[y & 255] ^ t[v++], m = c, c = d, d = f, f = y, y = m;
77114
77115
  return r;
@@ -77808,8 +77809,8 @@ async function cfe(i, e) {
77808
77809
  }
77809
77810
  function v(m) {
77810
77811
  if (Df.length) {
77811
- const [{ resolve: g, stream: w, workerOptions: x }] = Df.splice(0, 1);
77812
- g(new Lf(m, w, x, v));
77812
+ const [{ resolve: g, stream: b, workerOptions: x }] = Df.splice(0, 1);
77813
+ g(new Lf(m, b, x, v));
77813
77814
  } else m.worker ? (K2(m), dfe(m, e)) : xa = xa.filter((g) => g != m);
77814
77815
  }
77815
77816
  }
@@ -78089,11 +78090,11 @@ async function Qfe(i, e, t, s) {
78089
78090
  if (u > ui)
78090
78091
  throw new Error(Y2);
78091
78092
  const h = xt(i, s, Q3, /* @__PURE__ */ new Date()), c = xt(i, s, U3), d = xt(i, s, z3), f = xt(i, s, G3, !0), y = xt(i, s, j3, 0), v = xt(i, s, W3, 0), m = xt(i, s, "passThrough");
78092
- let g, w;
78093
- m || (g = xt(i, s, "password"), w = xt(i, s, "rawPassword"));
78094
- const x = xt(i, s, "encryptionStrength", 3), T = xt(i, s, Y3), A = xt(i, s, "extendedTimestamp", !0), R = xt(i, s, "keepOrder", !0), D = xt(i, s, "level"), V = xt(i, s, "useWebWorkers"), _ = xt(i, s, "bufferedWrite"), N = xt(i, s, "dataDescriptorSignature", !1), q = xt(i, s, "signal"), Q = xt(i, s, "useUnicodeFileNames", !0), L = xt(i, s, "useCompressionStream"), B = xt(i, s, "compressionMethod");
78093
+ let g, b;
78094
+ m || (g = xt(i, s, "password"), b = xt(i, s, "rawPassword"));
78095
+ const x = xt(i, s, "encryptionStrength", 3), T = xt(i, s, Y3), R = xt(i, s, "extendedTimestamp", !0), A = xt(i, s, "keepOrder", !0), D = xt(i, s, "level"), V = xt(i, s, "useWebWorkers"), _ = xt(i, s, "bufferedWrite"), N = xt(i, s, "dataDescriptorSignature", !1), q = xt(i, s, "signal"), Q = xt(i, s, "useUnicodeFileNames", !0), L = xt(i, s, "useCompressionStream"), B = xt(i, s, "compressionMethod");
78095
78096
  let H = xt(i, s, "dataDescriptor", !0), $ = xt(i, s, a0);
78096
- if (!T && (g !== Bt || w !== Bt) && !(x >= 1 && x <= 3))
78097
+ if (!T && (g !== Bt || b !== Bt) && !(x >= 1 && x <= 3))
78097
78098
  throw new Error(Ffe);
78098
78099
  let j = new Uint8Array();
78099
78100
  const { extraField: G } = s;
@@ -78114,7 +78115,7 @@ async function Qfe(i, e, t, s) {
78114
78115
  t && (t = xfe(t), await tu(t), m ? ne = tw(oe) : t.size === Bt ? (H = !0, ($ || $ === Bt) && ($ = !0, oe = ne = ci + 1)) : (oe = t.size, ne = tw(oe)));
78115
78116
  const { diskOffset: ue, diskNumber: Ie, maxSize: ge } = i.writer, te = re || oe > ci, we = re || ne > ci, et = re || i.offset + i.pendingEntriesSize - ue > ci, Gt = xt(i, s, "supportZip64SplitFile", !0) && re || Ie + Math.ceil(i.pendingEntriesSize / ge) > ui;
78116
78117
  if (et || te || we || Gt) {
78117
- if ($ === !1 || !R)
78118
+ if ($ === !1 || !A)
78118
78119
  throw new Error(o0);
78119
78120
  $ = !0;
78120
78121
  }
@@ -78135,14 +78136,14 @@ async function Qfe(i, e, t, s) {
78135
78136
  zip64Offset: et,
78136
78137
  zip64DiskNumberStart: Gt,
78137
78138
  password: g,
78138
- rawPassword: w,
78139
+ rawPassword: b,
78139
78140
  level: !L && i.config.CompressionStream === Bt && i.config.CompressionStreamNative === Bt ? 0 : D,
78140
78141
  useWebWorkers: V,
78141
78142
  encryptionStrength: x,
78142
- extendedTimestamp: A,
78143
+ extendedTimestamp: R,
78143
78144
  zipCrypto: T,
78144
78145
  bufferedWrite: _,
78145
- keepOrder: R,
78146
+ keepOrder: A,
78146
78147
  useUnicodeFileNames: Q,
78147
78148
  dataDescriptor: H,
78148
78149
  dataDescriptorSignature: N,
@@ -78152,7 +78153,7 @@ async function Qfe(i, e, t, s) {
78152
78153
  externalFileAttribute: v,
78153
78154
  useCompressionStream: L,
78154
78155
  passThrough: m,
78155
- encrypted: !!(g && ot(g) || w && ot(w)) || m && Is,
78156
+ encrypted: !!(g && ot(g) || b && ot(b)) || m && Is,
78156
78157
  signature: Et,
78157
78158
  compressionMethod: B
78158
78159
  });
@@ -78177,11 +78178,11 @@ async function Ufe(i, e, t, s, r) {
78177
78178
  } = r, {
78178
78179
  headerInfo: h
78179
78180
  } = s, { usdz: c } = i.options, d = Array.from(n.values()).pop();
78180
- let f = {}, y, v, m, g, w, x, T;
78181
+ let f = {}, y, v, m, g, b, x, T;
78181
78182
  n.set(e, f);
78182
78183
  try {
78183
78184
  let V;
78184
- o && (V = d && d.lock, A()), (r.bufferedWrite || i.writerLocked || i.bufferedWrites && o || !l) && !c ? (x = new TransformStream(), T = new Response(x.readable).blob(), x.writable.size = 0, y = !0, i.bufferedWrites++, await tu(a)) : (x = a, await R()), await tu(x);
78185
+ o && (V = d && d.lock, R()), (r.bufferedWrite || i.writerLocked || i.bufferedWrites && o || !l) && !c ? (x = new TransformStream(), T = new Response(x.readable).blob(), x.writable.size = 0, y = !0, i.bufferedWrites++, await tu(a)) : (x = a, await A()), await tu(x);
78185
78186
  const { writable: _ } = a;
78186
78187
  let { diskOffset: N } = a;
78187
78188
  if (i.addSplitZipSignature) {
@@ -78191,10 +78192,10 @@ async function Ufe(i, e, t, s, r) {
78191
78192
  }
78192
78193
  c && Wfe(s, i.offset - N), y || (await V, await D(_));
78193
78194
  const { diskNumber: q } = a;
78194
- if (w = !0, f.diskNumberStart = q, f = await zfe(t, x, f, s, i.config, r), w = !1, n.set(e, f), f.filename = e, y) {
78195
+ if (b = !0, f.diskNumberStart = q, f = await zfe(t, x, f, s, i.config, r), b = !1, n.set(e, f), f.filename = e, y) {
78195
78196
  await x.writable.getWriter().close();
78196
78197
  let Q = await T;
78197
- await V, await R(), g = !0, l || (Q = await Zfe(f, Q, _, r)), await D(_), f.diskNumberStart = a.diskNumber, N = a.diskOffset, await Q.stream().pipeTo(_, { preventClose: !0, preventAbort: !0, signal: u }), _.size += Q.size, g = !1;
78198
+ await V, await A(), g = !0, l || (Q = await Zfe(f, Q, _, r)), await D(_), f.diskNumberStart = a.diskNumber, N = a.diskOffset, await Q.stream().pipeTo(_, { preventClose: !0, preventAbort: !0, signal: u }), _.size += Q.size, g = !1;
78198
78199
  }
78199
78200
  if (f.offset = i.offset - N, f.zip64)
78200
78201
  Jfe(f, r);
@@ -78202,7 +78203,7 @@ async function Ufe(i, e, t, s, r) {
78202
78203
  throw new Error(o0);
78203
78204
  return i.offset += f.size, f;
78204
78205
  } catch (V) {
78205
- if (y && g || !y && w) {
78206
+ if (y && g || !y && b) {
78206
78207
  if (i.hasCorruptedEntries = !0, V)
78207
78208
  try {
78208
78209
  V.corruptedEntry = !0;
@@ -78214,10 +78215,10 @@ async function Ufe(i, e, t, s, r) {
78214
78215
  } finally {
78215
78216
  y && i.bufferedWrites--, m && m(), v && v();
78216
78217
  }
78217
- function A() {
78218
+ function R() {
78218
78219
  f.lock = new Promise((V) => m = V);
78219
78220
  }
78220
- async function R() {
78221
+ async function A() {
78221
78222
  i.writerLocked = !0;
78222
78223
  const { lockWriter: V } = i;
78223
78224
  i.lockWriter = new Promise((_) => v = () => {
@@ -78242,11 +78243,11 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78242
78243
  compressed: v,
78243
78244
  version: m,
78244
78245
  compressionMethod: g,
78245
- rawExtraFieldExtendedTimestamp: w,
78246
+ rawExtraFieldExtendedTimestamp: b,
78246
78247
  extraFieldExtendedTimestampFlag: x,
78247
78248
  rawExtraFieldNTFS: T,
78248
- rawExtraFieldAES: A
78249
- } = o, { dataDescriptorArray: R } = l, {
78249
+ rawExtraFieldAES: R
78250
+ } = o, { dataDescriptorArray: A } = l, {
78250
78251
  rawFilename: D,
78251
78252
  lastAccessDate: V,
78252
78253
  creationDate: _,
@@ -78285,9 +78286,9 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78285
78286
  rawFilename: D,
78286
78287
  commentUTF8: !0,
78287
78288
  rawComment: re,
78288
- rawExtraFieldExtendedTimestamp: w,
78289
+ rawExtraFieldExtendedTimestamp: b,
78289
78290
  rawExtraFieldNTFS: T,
78290
- rawExtraFieldAES: A,
78291
+ rawExtraFieldAES: R,
78291
78292
  rawExtraField: ue,
78292
78293
  extendedTimestamp: Gt,
78293
78294
  msDosCompatible: Is,
@@ -78338,7 +78339,7 @@ async function zfe(i, e, { diskNumberStart: t, lock: s }, r, n, a) {
78338
78339
  uncompressedSize: zt,
78339
78340
  headerInfo: o,
78340
78341
  dataDescriptorInfo: l
78341
- }, a), ne && await Rr(_e, R), Object.assign(st, {
78342
+ }, a), ne && await Rr(_e, A), Object.assign(st, {
78342
78343
  uncompressedSize: zt,
78343
78344
  compressedSize: Ct,
78344
78345
  lastModDate: d,
@@ -78377,18 +78378,18 @@ function jfe(i) {
78377
78378
  extendedTimestamp: f,
78378
78379
  encrypted: y
78379
78380
  } = i, v = n !== 0 && !h;
78380
- let { version: m, compressionMethod: g } = i, w;
78381
+ let { version: m, compressionMethod: g } = i, b;
78381
78382
  if (y && !o) {
78382
- w = new Uint8Array(ot(X2) + 2);
78383
- const $ = Ns(w);
78384
- mt($, 0, gpe), ps(w, X2, 2), qc($, 8, d);
78383
+ b = new Uint8Array(ot(X2) + 2);
78384
+ const $ = Ns(b);
78385
+ mt($, 0, gpe), ps(b, X2, 2), qc($, 8, d);
78385
78386
  } else
78386
- w = new Uint8Array();
78387
- let x, T, A;
78387
+ b = new Uint8Array();
78388
+ let x, T, R;
78388
78389
  if (f) {
78389
78390
  T = new Uint8Array(9 + (s ? 4 : 0) + (r ? 4 : 0));
78390
78391
  const $ = Ns(T);
78391
- mt($, 0, g3), mt($, 2, ot(T) - 4), A = 1 + (s ? 2 : 0) + (r ? 4 : 0), qc($, 4, A);
78392
+ mt($, 0, g3), mt($, 2, ot(T) - 4), R = 1 + (s ? 2 : 0) + (r ? 4 : 0), qc($, 4, R);
78392
78393
  let j = 5;
78393
78394
  at($, j, Math.floor(t.getTime() / 1e3)), j += 4, s && (at($, j, Math.floor(s.getTime() / 1e3)), j += 4), r && at($, j, Math.floor(r.getTime() / 1e3));
78394
78395
  try {
@@ -78400,19 +78401,19 @@ function jfe(i) {
78400
78401
  }
78401
78402
  } else
78402
78403
  x = T = new Uint8Array();
78403
- let R = 0;
78404
- l && (R = R | xpe), u && (R = R | wpe), g === Bt && (g = v ? _2 : ape), g == _2 && (n >= 1 && n < 3 && (R = R | 6), n >= 3 && n < 5 && (R = R | 1), n === 9 && (R = R | 2)), a && (m = m > D2 ? m : D2), y && (R = R | bpe, o || (m = m > k2 ? m : k2, w[9] = g, g = ope));
78404
+ let A = 0;
78405
+ l && (A = A | xpe), u && (A = A | wpe), g === Bt && (g = v ? _2 : ape), g == _2 && (n >= 1 && n < 3 && (A = A | 6), n >= 3 && n < 5 && (A = A | 1), n === 9 && (A = A | 2)), a && (m = m > D2 ? m : D2), y && (A = A | bpe, o || (m = m > k2 ? m : k2, b[9] = g, g = ope));
78405
78406
  const D = new Uint8Array(26), V = Ns(D);
78406
- mt(V, 0, m), mt(V, 2, R), mt(V, 4, g);
78407
+ mt(V, 0, m), mt(V, 2, A), mt(V, 4, g);
78407
78408
  const _ = new Uint32Array(1), N = Ns(_);
78408
78409
  let q;
78409
78410
  t < M2 ? q = M2 : t > O2 ? q = O2 : q = t, mt(N, 0, (q.getHours() << 6 | q.getMinutes()) << 5 | q.getSeconds() / 2), mt(N, 2, (q.getFullYear() - 1980 << 4 | q.getMonth() + 1) << 5 | q.getDate());
78410
78411
  const Q = _[0];
78411
78412
  at(V, 6, Q), mt(V, 22, ot(e));
78412
- const L = ot(w, T, x, c);
78413
+ const L = ot(b, T, x, c);
78413
78414
  mt(V, 24, L);
78414
78415
  const B = new Uint8Array(30 + ot(e) + L), H = Ns(B);
78415
- return at(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B, w, 30 + ot(e)), ps(B, T, 30 + ot(e, w)), ps(B, x, 30 + ot(e, w, T)), ps(B, c, 30 + ot(e, w, T, x)), {
78416
+ return at(H, 0, lpe), ps(B, D, 4), ps(B, e, 30), ps(B, b, 30 + ot(e)), ps(B, T, 30 + ot(e, b)), ps(B, x, 30 + ot(e, b, T)), ps(B, c, 30 + ot(e, b, T, x)), {
78416
78417
  localHeaderArray: B,
78417
78418
  headerArray: D,
78418
78419
  headerView: V,
@@ -78422,10 +78423,10 @@ function jfe(i) {
78422
78423
  compressed: v,
78423
78424
  version: m,
78424
78425
  compressionMethod: g,
78425
- extraFieldExtendedTimestampFlag: A,
78426
+ extraFieldExtendedTimestampFlag: R,
78426
78427
  rawExtraFieldExtendedTimestamp: T,
78427
78428
  rawExtraFieldNTFS: x,
78428
- rawExtraFieldAES: w,
78429
+ rawExtraFieldAES: b,
78429
78430
  extraFieldLength: L
78430
78431
  };
78431
78432
  }
@@ -78475,8 +78476,8 @@ function Kfe(i, e) {
78475
78476
  if ((!u || v) && t !== Bt && (at(l, 10, t), m && at(h, c, t)), d) {
78476
78477
  const g = Ns(s);
78477
78478
  mt(g, 0, mpe), mt(g, 2, ot(s) - 4);
78478
- let w = 4;
78479
- f && (at(l, 18, ci), hi(g, w, BigInt(n)), w += 8), y && (at(l, 14, ci), hi(g, w, BigInt(r))), m && (hi(h, c + 4, BigInt(r)), hi(h, c + 12, BigInt(n)));
78479
+ let b = 4;
78480
+ f && (at(l, 18, ci), hi(g, b, BigInt(n)), b += 8), y && (at(l, 14, ci), hi(g, b, BigInt(r))), m && (hi(h, c + 4, BigInt(r)), hi(h, c + 12, BigInt(n)));
78480
78481
  } else
78481
78482
  at(l, 14, r), at(l, 18, n), m && (at(h, c + 4, r), at(h, c + 8, n));
78482
78483
  }
@@ -78494,9 +78495,9 @@ function Jfe(i, e) {
78494
78495
  async function Yfe(i, e, t) {
78495
78496
  const { files: s, writer: r } = i, { diskOffset: n, writable: a } = r;
78496
78497
  let { diskNumber: o } = r, l = 0, u = 0, h = i.offset - n, c = s.size;
78497
- for (const [, A] of s) {
78498
+ for (const [, R] of s) {
78498
78499
  const {
78499
- rawFilename: R,
78500
+ rawFilename: A,
78500
78501
  rawExtraFieldZip64: D,
78501
78502
  rawExtraFieldAES: V,
78502
78503
  rawComment: _,
@@ -78505,7 +78506,7 @@ async function Yfe(i, e, t) {
78505
78506
  extendedTimestamp: Q,
78506
78507
  extraFieldExtendedTimestampFlag: L,
78507
78508
  lastModDate: B
78508
- } = A;
78509
+ } = R;
78509
78510
  let H;
78510
78511
  if (Q) {
78511
78512
  H = new Uint8Array(9);
@@ -78513,8 +78514,8 @@ async function Yfe(i, e, t) {
78513
78514
  mt($, 0, g3), mt($, 2, 5), qc($, 4, L), at($, 5, Math.floor(B.getTime() / 1e3));
78514
78515
  } else
78515
78516
  H = new Uint8Array();
78516
- A.rawExtraFieldCDExtendedTimestamp = H, u += 46 + ot(
78517
- R,
78517
+ R.rawExtraFieldCDExtendedTimestamp = H, u += 46 + ot(
78518
+ A,
78518
78519
  _,
78519
78520
  D,
78520
78521
  V,
@@ -78526,7 +78527,7 @@ async function Yfe(i, e, t) {
78526
78527
  const d = new Uint8Array(u), f = Ns(d);
78527
78528
  await tu(r);
78528
78529
  let y = 0;
78529
- for (const [A, R] of Array.from(s.values()).entries()) {
78530
+ for (const [R, A] of Array.from(s.values()).entries()) {
78530
78531
  const {
78531
78532
  offset: D,
78532
78533
  rawFilename: V,
@@ -78550,14 +78551,14 @@ async function Yfe(i, e, t) {
78550
78551
  diskNumberStart: te,
78551
78552
  uncompressedSize: we,
78552
78553
  compressedSize: et
78553
- } = R, Yt = ot(_, N, q, Q, L);
78554
+ } = A, Yt = ot(_, N, q, Q, L);
78554
78555
  at(f, l, hpe), mt(f, l + 4, H);
78555
78556
  const Gt = Ns($);
78556
78557
  ne || at(Gt, 18, we), Y || at(Gt, 14, et), ps(d, $, l + 6), mt(f, l + 30, Yt), mt(f, l + 32, ot(B)), mt(f, l + 34, G && oe ? ui : te), mt(f, l + 36, Ie), ge ? at(f, l + 38, ge) : j && ue && qc(f, l + 38, Epe), at(f, l + 42, G && re ? ci : D), ps(d, V, l + 46), ps(d, _, l + 46 + ot(V)), ps(d, N, l + 46 + ot(V, _)), ps(d, q, l + 46 + ot(V, _, N)), ps(d, Q, l + 46 + ot(V, _, N, q)), ps(d, L, l + 46 + ot(V, _, N, q, Q)), ps(d, B, l + 46 + ot(V) + Yt);
78557
78558
  const Is = 46 + ot(V, B) + Yt;
78558
78559
  if (l - y > r.availableSize && (r.availableSize = 0, await Rr(a, d.slice(y, l)), y = l), l += Is, t.onprogress)
78559
78560
  try {
78560
- await t.onprogress(A + 1, s.size, new X3(R));
78561
+ await t.onprogress(R + 1, s.size, new X3(A));
78561
78562
  } catch {
78562
78563
  }
78563
78564
  }
@@ -78571,7 +78572,7 @@ async function Yfe(i, e, t) {
78571
78572
  throw new Error(o0);
78572
78573
  g = !0;
78573
78574
  }
78574
- const w = new Uint8Array(g ? fpe : Gm), x = Ns(w);
78575
+ const b = new Uint8Array(g ? fpe : Gm), x = Ns(b);
78575
78576
  l = 0, g && (at(x, 0, dpe), hi(x, 4, BigInt(44)), mt(x, 12, 45), mt(x, 14, 45), at(x, 16, v), at(x, 20, o), hi(x, 24, BigInt(c)), hi(x, 32, BigInt(c)), hi(x, 40, BigInt(u)), hi(x, 48, BigInt(h)), at(x, 56, ppe), hi(x, 64, BigInt(h) + BigInt(u)), at(x, 72, v + 1), xt(i, t, "supportZip64SplitFile", !0) && (v = ui, o = ui), c = ui, h = ci, u = ci, l += m3 + f3), at(x, l, cpe), mt(x, l + 4, v), mt(x, l + 6, o), mt(x, l + 8, c), mt(x, l + 10, c), at(x, l + 12, u), at(x, l + 16, h);
78576
78577
  const T = ot(e);
78577
78578
  if (T)
@@ -78579,7 +78580,7 @@ async function Yfe(i, e, t) {
78579
78580
  mt(x, l + 20, T);
78580
78581
  else
78581
78582
  throw new Error(Ofe);
78582
- await Rr(a, w), T && await Rr(a, e);
78583
+ await Rr(a, b), T && await Rr(a, e);
78583
78584
  }
78584
78585
  async function Rr(i, e) {
78585
78586
  const t = i.getWriter();
@@ -78639,7 +78640,7 @@ var Ym;
78639
78640
  i.UTF8 = "utf8", i.ASCII = "ascii", i.UTF16 = "utf16";
78640
78641
  })(Ym || (Ym = {}));
78641
78642
  const Ea = wu("Filesystem", {
78642
- web: () => import("./web-CsnibtI4.js").then((i) => new i.FilesystemWeb())
78643
+ web: () => import("./web-BnuZtMKb.js").then((i) => new i.FilesystemWeb())
78643
78644
  });
78644
78645
  vi("Upload", async (i, e, t, s) => {
78645
78646
  const r = i.sessionID || `sim_${Date.now()}_${Math.floor(Lt(0, 2176782336)).toString(36)}`, n = VV({
@@ -78793,7 +78794,7 @@ function ime({
78793
78794
  }) {
78794
78795
  const [y, v] = rt(
78795
78796
  "initial"
78796
- ), m = fe(!1), g = Xm.find((V) => V.name === "upload"), w = Xm.find((V) => V.name === "download"), x = Oo(g.name, g.defaultValue, g.type), T = Oo(w.name, w.defaultValue, w.type), A = mde({
78797
+ ), m = fe(!1), g = Xm.find((V) => V.name === "upload"), b = Xm.find((V) => V.name === "download"), x = Oo(g.name, g.defaultValue, g.type), T = Oo(b.name, b.defaultValue, b.type), R = mde({
78797
78798
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
78798
78799
  mutationFn: async (V) => await wde("/data", V),
78799
78800
  onSuccess: (V) => {
@@ -78802,7 +78803,7 @@ function ime({
78802
78803
  onError: () => {
78803
78804
  v("error");
78804
78805
  }
78805
- }), R = Xe(async (V) => {
78806
+ }), A = Xe(async (V) => {
78806
78807
  const _ = new Hfe(new Cfe());
78807
78808
  for (const L of V)
78808
78809
  await _.add(L.filename, new bfe(L.content));
@@ -78825,13 +78826,13 @@ function ime({
78825
78826
  sessionId: V,
78826
78827
  files: _.map((L) => ({ ...L, encoding: L.encoding ?? "utf8" }))
78827
78828
  };
78828
- if (T && await R(_), !x) {
78829
+ if (T && await A(_), !x) {
78829
78830
  e({});
78830
78831
  return;
78831
78832
  }
78832
78833
  const { backend: q, type: Q } = tme(l);
78833
78834
  if (Q === "web")
78834
- A.mutate(N);
78835
+ R.mutate(N);
78835
78836
  else if (q)
78836
78837
  try {
78837
78838
  const L = await sme(q, V);
@@ -78852,9 +78853,9 @@ function ime({
78852
78853
  a,
78853
78854
  T,
78854
78855
  x,
78855
- R,
78856
+ A,
78856
78857
  e,
78857
- A
78858
+ R
78858
78859
  ]);
78859
78860
  return lt(() => {
78860
78861
  o && !m.current && D && D();
@@ -78902,7 +78903,7 @@ var iw;
78902
78903
  i.None = "NONE", i.Slide = "SLIDE", i.Fade = "FADE";
78903
78904
  })(iw || (iw = {}));
78904
78905
  const t7 = wu("StatusBar"), s7 = wu("ImmersiveMode", {
78905
- web: () => import("./web-B4C6kKNC.js").then((i) => new i.ImmersiveModeWeb())
78906
+ web: () => import("./web-Bj8F7OFt.js").then((i) => new i.ImmersiveModeWeb())
78906
78907
  });
78907
78908
  Ai("EnterFullscreen", "session");
78908
78909
  vi("EnterFullscreen", xu, {});
@@ -78911,53 +78912,55 @@ function rme({
78911
78912
  buttonText: e,
78912
78913
  className: t,
78913
78914
  containerClass: s,
78914
- next: r,
78915
- data: n,
78916
- updateStore: a,
78917
- delayMs: o = 0
78915
+ animate: r,
78916
+ next: n,
78917
+ data: a,
78918
+ updateStore: o,
78919
+ delayMs: l = 0
78918
78920
  }) {
78919
- const l = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
78921
+ const u = /* @__PURE__ */ I.jsxs("div", { className: "flex flex-col items-center", children: [
78920
78922
  !!i && i,
78921
78923
  !i && /* @__PURE__ */ I.jsx("p", { className: "", children: "Please click the Button below to enter Fullscreen mode." })
78922
- ] }), [u, h] = rt(!1), c = fe(!1), d = fe(null), f = Xe(() => {
78923
- d.current && (clearTimeout(d.current), d.current = null);
78924
- }, []), y = Xe(() => {
78925
- document.removeEventListener("fullscreenchange", m), document.removeEventListener("webkitfullscreenchange", m), document.removeEventListener("mozfullscreenchange", m), document.removeEventListener("MSFullscreenChange", m), f(), c.current = !1;
78926
- }, [f]), v = Xe(() => {
78927
- f(), h(!0), d.current = setTimeout(() => {
78928
- d.current = null, r({});
78929
- }, o);
78930
- }, [r, o, f]), m = Xe(() => {
78931
- if (!c.current) return;
78932
- const x = Ul();
78933
- y(), x ? v() : h(!1);
78934
- }, [v, y]), g = Xe(() => {
78935
- y(), c.current = !0, document.addEventListener("fullscreenchange", m), document.addEventListener("webkitfullscreenchange", m), document.addEventListener("mozfullscreenchange", m), document.addEventListener("MSFullscreenChange", m);
78936
- }, [m, y]), w = Xe(async () => {
78937
- h(!0), y();
78938
- const x = document.documentElement;
78939
- if (Ed() === "mobile" && Fa.getPlatform() === "android" && (t7.hide(), s7.enable()), x.requestFullscreen)
78924
+ ] }), [h, c] = rt(!1), d = fe(!1), f = fe(null), y = Xe(() => {
78925
+ f.current && (clearTimeout(f.current), f.current = null);
78926
+ }, []), v = Xe(() => {
78927
+ document.removeEventListener("fullscreenchange", g), document.removeEventListener("webkitfullscreenchange", g), document.removeEventListener("mozfullscreenchange", g), document.removeEventListener("MSFullscreenChange", g), y(), d.current = !1;
78928
+ }, [y]), m = Xe(() => {
78929
+ y(), c(!0), f.current = setTimeout(() => {
78930
+ f.current = null, n({});
78931
+ }, l);
78932
+ }, [n, l, y]), g = Xe(() => {
78933
+ if (!d.current) return;
78934
+ const T = Ul();
78935
+ v(), T ? m() : c(!1);
78936
+ }, [m, v]), b = Xe(() => {
78937
+ v(), d.current = !0, document.addEventListener("fullscreenchange", g), document.addEventListener("webkitfullscreenchange", g), document.addEventListener("mozfullscreenchange", g), document.addEventListener("MSFullscreenChange", g);
78938
+ }, [g, v]), x = Xe(async () => {
78939
+ c(!0), v();
78940
+ const T = document.documentElement;
78941
+ if (Ed() === "mobile" && Fa.getPlatform() === "android" && (t7.hide(), s7.enable()), T.requestFullscreen)
78940
78942
  try {
78941
- await x.requestFullscreen(), v();
78943
+ await T.requestFullscreen(), m();
78942
78944
  return;
78943
- } catch (T) {
78944
- console.error("Fullscreen request failed:", T);
78945
+ } catch (R) {
78946
+ console.error("Fullscreen request failed:", R);
78945
78947
  return;
78946
78948
  }
78947
- x.mozRequestFullScreen ? (x.mozRequestFullScreen(), g()) : x.webkitRequestFullscreen ? (x.webkitRequestFullscreen(), g()) : x.msRequestFullscreen ? (x.msRequestFullscreen(), g()) : console.warn("Fullscreen API is not supported by this browser.");
78948
- }, [v, g, y]);
78949
+ T.mozRequestFullScreen ? (T.mozRequestFullScreen(), b()) : T.webkitRequestFullscreen ? (T.webkitRequestFullscreen(), b()) : T.msRequestFullscreen ? (T.msRequestFullscreen(), b()) : console.warn("Fullscreen API is not supported by this browser.");
78950
+ }, [m, b, v]);
78949
78951
  return lt(() => () => {
78950
- y();
78951
- }, [y]), u ? null : /* @__PURE__ */ I.jsx(
78952
+ v();
78953
+ }, [v]), h ? null : /* @__PURE__ */ I.jsx(
78952
78954
  wv,
78953
78955
  {
78954
- data: n,
78955
- updateStore: a,
78956
+ data: a,
78957
+ updateStore: o,
78956
78958
  className: t,
78957
78959
  containerClass: s,
78958
- content: l,
78960
+ animate: r,
78961
+ content: u,
78959
78962
  buttonText: e ?? "Enter Fullscreen Mode",
78960
- next: w
78963
+ next: x
78961
78964
  }
78962
78965
  );
78963
78966
  }
@@ -79029,15 +79032,15 @@ function ep(i) {
79029
79032
  let { children: o, position: l, preventExitTransition: u, done: h, nodeRef: c, isIn: d, playToast: f } = a;
79030
79033
  const y = s ? `${e}--${l}` : e, v = s ? `${t}--${l}` : t, m = fe(0);
79031
79034
  return Pg(() => {
79032
- const g = c.current, w = y.split(" "), x = (T) => {
79033
- T.target === c.current && (f(), g.removeEventListener("animationend", x), g.removeEventListener("animationcancel", x), m.current === 0 && T.type !== "animationcancel" && g.classList.remove(...w));
79035
+ const g = c.current, b = y.split(" "), x = (T) => {
79036
+ T.target === c.current && (f(), g.removeEventListener("animationend", x), g.removeEventListener("animationcancel", x), m.current === 0 && T.type !== "animationcancel" && g.classList.remove(...b));
79034
79037
  };
79035
- g.classList.add(...w), g.addEventListener("animationend", x), g.addEventListener("animationcancel", x);
79038
+ g.classList.add(...b), g.addEventListener("animationend", x), g.addEventListener("animationcancel", x);
79036
79039
  }, []), lt(() => {
79037
- const g = c.current, w = () => {
79038
- g.removeEventListener("animationend", w), r ? ame(g, h, n) : h();
79040
+ const g = c.current, b = () => {
79041
+ g.removeEventListener("animationend", b), r ? ame(g, h, n) : h();
79039
79042
  };
79040
- d || (u ? w() : (m.current = 1, g.className += ` ${v}`, g.addEventListener("animationend", w)));
79043
+ d || (u ? b() : (m.current = 1, g.className += ` ${v}`, g.addEventListener("animationend", b)));
79041
79044
  }, [d]), Ze.createElement(Ze.Fragment, null, o);
79042
79045
  };
79043
79046
  }
@@ -79070,20 +79073,20 @@ function lme(i) {
79070
79073
  const a = n.containerId || 1;
79071
79074
  return { subscribe(o) {
79072
79075
  const l = /* @__PURE__ */ function(h, c, d) {
79073
- let f = 1, y = 0, v = [], m = [], g = [], w = c;
79074
- const x = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(), A = () => {
79076
+ let f = 1, y = 0, v = [], m = [], g = [], b = c;
79077
+ const x = /* @__PURE__ */ new Map(), T = /* @__PURE__ */ new Set(), R = () => {
79075
79078
  g = Array.from(x.values()), T.forEach((V) => V());
79076
- }, R = (V) => {
79077
- m = V == null ? [] : m.filter((_) => _ !== V), A();
79079
+ }, A = (V) => {
79080
+ m = V == null ? [] : m.filter((_) => _ !== V), R();
79078
79081
  }, D = (V) => {
79079
79082
  const { toastId: _, onOpen: N, updateId: q, children: Q } = V.props, L = q == null;
79080
- V.staleId && x.delete(V.staleId), x.set(_, V), m = [...m, V.props.toastId].filter((B) => B !== V.staleId), A(), d(rw(V, L ? "added" : "updated")), L && Pi(N) && N(_a(Q) && Q.props);
79083
+ V.staleId && x.delete(V.staleId), x.set(_, V), m = [...m, V.props.toastId].filter((B) => B !== V.staleId), R(), d(rw(V, L ? "added" : "updated")), L && Pi(N) && N(_a(Q) && Q.props);
79081
79084
  };
79082
- return { id: h, props: w, observe: (V) => (T.add(V), () => T.delete(V)), toggle: (V, _) => {
79085
+ return { id: h, props: b, observe: (V) => (T.add(V), () => T.delete(V)), toggle: (V, _) => {
79083
79086
  x.forEach((N) => {
79084
79087
  _ != null && _ !== N.props.toastId || Pi(N.toggle) && N.toggle(V);
79085
79088
  });
79086
- }, removeToast: R, toasts: x, clearQueue: () => {
79089
+ }, removeToast: A, toasts: x, clearQueue: () => {
79087
79090
  y -= v.length, v = [];
79088
79091
  }, buildToast: (V, _) => {
79089
79092
  if (((re) => {
@@ -79092,26 +79095,26 @@ function lme(i) {
79092
79095
  return te || we;
79093
79096
  })(_)) return;
79094
79097
  const { toastId: N, updateId: q, data: Q, staleId: L, delay: B } = _, H = () => {
79095
- R(N);
79098
+ A(N);
79096
79099
  }, $ = q == null;
79097
79100
  $ && y++;
79098
- const j = { ...w, style: w.toastStyle, key: f++, ...Object.fromEntries(Object.entries(_).filter((re) => {
79101
+ const j = { ...b, style: b.toastStyle, key: f++, ...Object.fromEntries(Object.entries(_).filter((re) => {
79099
79102
  let [ue, Ie] = re;
79100
79103
  return Ie != null;
79101
- })), toastId: N, updateId: q, data: Q, closeToast: H, isIn: !1, className: rc(_.className || w.toastClassName), bodyClassName: rc(_.bodyClassName || w.bodyClassName), progressClassName: rc(_.progressClassName || w.progressClassName), autoClose: !_.isLoading && (G = _.autoClose, ne = w.autoClose, G === !1 || su(G) && G > 0 ? G : ne), deleteToast() {
79104
+ })), toastId: N, updateId: q, data: Q, closeToast: H, isIn: !1, className: rc(_.className || b.toastClassName), bodyClassName: rc(_.bodyClassName || b.bodyClassName), progressClassName: rc(_.progressClassName || b.progressClassName), autoClose: !_.isLoading && (G = _.autoClose, ne = b.autoClose, G === !1 || su(G) && G > 0 ? G : ne), deleteToast() {
79102
79105
  const re = x.get(N), { onClose: ue, children: Ie } = re.props;
79103
- Pi(ue) && ue(_a(Ie) && Ie.props), d(rw(re, "removed")), x.delete(N), y--, y < 0 && (y = 0), v.length > 0 ? D(v.shift()) : A();
79106
+ Pi(ue) && ue(_a(Ie) && Ie.props), d(rw(re, "removed")), x.delete(N), y--, y < 0 && (y = 0), v.length > 0 ? D(v.shift()) : R();
79104
79107
  } };
79105
79108
  var G, ne;
79106
- j.closeButton = w.closeButton, _.closeButton === !1 || eg(_.closeButton) ? j.closeButton = _.closeButton : _.closeButton === !0 && (j.closeButton = !eg(w.closeButton) || w.closeButton);
79109
+ j.closeButton = b.closeButton, _.closeButton === !1 || eg(_.closeButton) ? j.closeButton = _.closeButton : _.closeButton === !0 && (j.closeButton = !eg(b.closeButton) || b.closeButton);
79107
79110
  let Y = V;
79108
79111
  _a(V) && !Da(V.type) ? Y = em(V, { closeToast: H, toastProps: j, data: Q }) : Pi(V) && (Y = V({ closeToast: H, toastProps: j, data: Q }));
79109
79112
  const oe = { content: Y, props: j, staleId: L };
79110
- w.limit && w.limit > 0 && y > w.limit && $ ? v.push(oe) : su(B) ? setTimeout(() => {
79113
+ b.limit && b.limit > 0 && y > b.limit && $ ? v.push(oe) : su(B) ? setTimeout(() => {
79111
79114
  D(oe);
79112
79115
  }, B) : D(oe);
79113
79116
  }, setProps(V) {
79114
- w = V;
79117
+ b = V;
79115
79118
  }, setToggle: (V, _) => {
79116
79119
  x.get(V).toggle = _;
79117
79120
  }, isToastActive: (V) => m.some((_) => _ === V), getSnapshot: () => g };
@@ -79166,19 +79169,19 @@ function ume(i) {
79166
79169
  window.removeEventListener("focus", y), window.removeEventListener("blur", v);
79167
79170
  };
79168
79171
  }, [i.pauseOnFocusLoss]);
79169
- const w = { onPointerDown: function(x) {
79172
+ const b = { onPointerDown: function(x) {
79170
79173
  if (i.draggable === !0 || i.draggable === x.pointerType) {
79171
79174
  a.didMove = !1, document.addEventListener("pointermove", m), document.addEventListener("pointerup", g);
79172
79175
  const T = n.current;
79173
79176
  a.canCloseOnClick = !0, a.canDrag = !0, T.style.transition = "none", i.draggableDirection === "x" ? (a.start = x.clientX, a.removalDistance = T.offsetWidth * (i.draggablePercent / 100)) : (a.start = x.clientY, a.removalDistance = T.offsetHeight * (i.draggablePercent === 80 ? 1.5 * i.draggablePercent : i.draggablePercent) / 100);
79174
79177
  }
79175
79178
  }, onPointerUp: function(x) {
79176
- const { top: T, bottom: A, left: R, right: D } = n.current.getBoundingClientRect();
79177
- x.nativeEvent.type !== "touchend" && i.pauseOnHover && x.clientX >= R && x.clientX <= D && x.clientY >= T && x.clientY <= A ? v() : y();
79179
+ const { top: T, bottom: R, left: A, right: D } = n.current.getBoundingClientRect();
79180
+ x.nativeEvent.type !== "touchend" && i.pauseOnHover && x.clientX >= A && x.clientX <= D && x.clientY >= T && x.clientY <= R ? v() : y();
79178
79181
  } };
79179
- return o && l && (w.onMouseEnter = v, i.stacked || (w.onMouseLeave = y)), c && (w.onClick = (x) => {
79182
+ return o && l && (b.onMouseEnter = v, i.stacked || (b.onMouseLeave = y)), c && (b.onClick = (x) => {
79180
79183
  h && h(x), a.canCloseOnClick && u();
79181
- }), { playToast: y, pauseToast: v, isRunning: e, preventExitTransition: s, toastRef: n, eventHandlers: w };
79184
+ }), { playToast: y, pauseToast: v, isRunning: e, preventExitTransition: s, toastRef: n, eventHandlers: b };
79182
79185
  }
79183
79186
  function hme(i) {
79184
79187
  let { delay: e, isRunning: t, closeToast: s, type: r = "default", hide: n, className: a, style: o, controlledProgress: l, progress: u, rtl: h, isIn: c, theme: d } = i;
@@ -79268,7 +79271,7 @@ const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
79268
79271
  }, spinner: function() {
79269
79272
  return Ze.createElement("div", { className: "Toastify__spinner" });
79270
79273
  } }, fme = (i) => {
79271
- const { isRunning: e, preventExitTransition: t, toastRef: s, eventHandlers: r, playToast: n } = ume(i), { closeButton: a, children: o, autoClose: l, onClick: u, type: h, hideProgressBar: c, closeToast: d, transition: f, position: y, className: v, style: m, bodyClassName: g, bodyStyle: w, progressClassName: x, progressStyle: T, updateId: A, role: R, progress: D, rtl: V, toastId: _, deleteToast: N, isIn: q, isLoading: Q, closeOnClick: L, theme: B } = i, H = Zn("Toastify__toast", `Toastify__toast-theme--${B}`, `Toastify__toast--${h}`, { "Toastify__toast--rtl": V }, { "Toastify__toast--close-on-click": L }), $ = Pi(v) ? v({ rtl: V, position: y, type: h, defaultClassName: H }) : Zn(H, v), j = function(oe) {
79274
+ const { isRunning: e, preventExitTransition: t, toastRef: s, eventHandlers: r, playToast: n } = ume(i), { closeButton: a, children: o, autoClose: l, onClick: u, type: h, hideProgressBar: c, closeToast: d, transition: f, position: y, className: v, style: m, bodyClassName: g, bodyStyle: b, progressClassName: x, progressStyle: T, updateId: R, role: A, progress: D, rtl: V, toastId: _, deleteToast: N, isIn: q, isLoading: Q, closeOnClick: L, theme: B } = i, H = Zn("Toastify__toast", `Toastify__toast-theme--${B}`, `Toastify__toast--${h}`, { "Toastify__toast--rtl": V }, { "Toastify__toast--close-on-click": L }), $ = Pi(v) ? v({ rtl: V, position: y, type: h, defaultClassName: H }) : Zn(H, v), j = function(oe) {
79272
79275
  let { theme: re, type: ue, isLoading: Ie, icon: ge } = oe, te = null;
79273
79276
  const we = { theme: re, type: ue };
79274
79277
  return ge === !1 || (Pi(ge) ? te = ge({ ...we, isLoading: Ie }) : _a(ge) ? te = em(ge, we) : Ie ? te = Mf.spinner() : ((et) => et in Mf)(ue) && (te = Mf[ue](we))), te;
@@ -79279,7 +79282,7 @@ const pme = typeof window < "u" ? Pg : lt, Bh = (i) => {
79279
79282
  return Ze.createElement("button", { className: `Toastify__close-button Toastify__close-button--${ue}`, type: "button", onClick: (ge) => {
79280
79283
  ge.stopPropagation(), re(ge);
79281
79284
  }, "aria-label": Ie }, Ze.createElement("svg", { "aria-hidden": "true", viewBox: "0 0 14 16" }, Ze.createElement("path", { fillRule: "evenodd", d: "M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z" })));
79282
- }(ne)), Ze.createElement(f, { isIn: q, done: N, position: y, preventExitTransition: t, nodeRef: s, playToast: n }, Ze.createElement("div", { id: _, onClick: u, "data-in": q, className: $, ...r, style: m, ref: s }, Ze.createElement("div", { ...q && { role: R }, className: Pi(g) ? g({ type: h }) : Zn("Toastify__toast-body", g), style: w }, j != null && Ze.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Q }) }, j), Ze.createElement("div", null, o)), Y, Ze.createElement(hme, { ...A && !G ? { key: `pb-${A}` } : {}, rtl: V, theme: B, delay: l, isRunning: e, isIn: q, closeToast: d, hide: c, type: h, style: T, className: x, controlledProgress: G, progress: D || 0 })));
79285
+ }(ne)), Ze.createElement(f, { isIn: q, done: N, position: y, preventExitTransition: t, nodeRef: s, playToast: n }, Ze.createElement("div", { id: _, onClick: u, "data-in": q, className: $, ...r, style: m, ref: s }, Ze.createElement("div", { ...q && { role: A }, className: Pi(g) ? g({ type: h }) : Zn("Toastify__toast-body", g), style: b }, j != null && Ze.createElement("div", { className: Zn("Toastify__toast-icon", { "Toastify--animate-icon Toastify__zoom-enter": !Q }) }, j), Ze.createElement("div", null, o)), Y, Ze.createElement(hme, { ...R && !G ? { key: `pb-${R}` } : {}, rtl: V, theme: B, delay: l, isRunning: e, isIn: q, closeToast: d, hide: c, type: h, style: T, className: x, controlledProgress: G, progress: D || 0 })));
79283
79286
  }, tp = function(i, e) {
79284
79287
  return e === void 0 && (e = !1), { enter: `Toastify--animate Toastify__${i}-enter`, exit: `Toastify--animate Toastify__${i}-exit`, appendPosition: e };
79285
79288
  }, mme = ep(tp("bounce", !0)), oCe = ep(tp("slide", !0)), lCe = ep(tp("zoom")), uCe = ep(tp("flip")), gme = { position: "top-right", transition: mme, autoClose: 5e3, closeButton: !0, pauseOnHover: !0, pauseOnFocusLoss: !0, draggable: "touch", draggablePercent: 80, draggableDirection: "x", role: "alert", theme: "light" };
@@ -79296,21 +79299,21 @@ function vme(i) {
79296
79299
  return pme(() => {
79297
79300
  if (t) {
79298
79301
  var v;
79299
- const m = n.current.querySelectorAll('[data-in="true"]'), g = 12, w = (v = e.position) == null ? void 0 : v.includes("top");
79302
+ const m = n.current.querySelectorAll('[data-in="true"]'), g = 12, b = (v = e.position) == null ? void 0 : v.includes("top");
79300
79303
  let x = 0, T = 0;
79301
- Array.from(m).reverse().forEach((A, R) => {
79302
- const D = A;
79303
- D.classList.add("Toastify__toast--stacked"), R > 0 && (D.dataset.collapsed = `${s}`), D.dataset.pos || (D.dataset.pos = w ? "top" : "bot");
79304
- const V = x * (s ? 0.2 : 1) + (s ? 0 : g * R);
79305
- D.style.setProperty("--y", `${w ? V : -1 * V}px`), D.style.setProperty("--g", `${g}`), D.style.setProperty("--s", "" + (1 - (s ? T : 0))), x += D.offsetHeight, T += 0.025;
79304
+ Array.from(m).reverse().forEach((R, A) => {
79305
+ const D = R;
79306
+ D.classList.add("Toastify__toast--stacked"), A > 0 && (D.dataset.collapsed = `${s}`), D.dataset.pos || (D.dataset.pos = b ? "top" : "bot");
79307
+ const V = x * (s ? 0.2 : 1) + (s ? 0 : g * A);
79308
+ D.style.setProperty("--y", `${b ? V : -1 * V}px`), D.style.setProperty("--g", `${g}`), D.style.setProperty("--s", "" + (1 - (s ? T : 0))), x += D.offsetHeight, T += 0.025;
79306
79309
  });
79307
79310
  }
79308
79311
  }, [s, l, t]), Ze.createElement("div", { ref: n, className: "Toastify", id: d, onMouseEnter: () => {
79309
79312
  t && (r(!1), Nt.pause());
79310
79313
  }, onMouseLeave: y }, a((v, m) => {
79311
79314
  const g = m.length ? { ...h } : { ...h, pointerEvents: "none" };
79312
- return Ze.createElement("div", { className: f(v), style: g, key: `container-${v}` }, m.map((w) => {
79313
- let { content: x, props: T } = w;
79315
+ return Ze.createElement("div", { className: f(v), style: g, key: `container-${v}` }, m.map((b) => {
79316
+ let { content: x, props: T } = b;
79314
79317
  return Ze.createElement(fme, { ...T, stacked: t, collapseAll: y, isIn: o(T.toastId, T.containerId), style: T.style, key: `toast-${T.key}` }, x);
79315
79318
  }));
79316
79319
  }));
@@ -79432,7 +79435,7 @@ const yme = ({
79432
79435
  const $ = `${window.location.origin}${L}${B}`;
79433
79436
  o($);
79434
79437
  }, [t, r, h, i, y, d]);
79435
- const w = (L, B) => {
79438
+ const b = (L, B) => {
79436
79439
  s((H) => ({
79437
79440
  ...H,
79438
79441
  [L]: B
@@ -79448,9 +79451,9 @@ const yme = ({
79448
79451
  }, T = (L) => {
79449
79452
  const B = `${L + 1}`;
79450
79453
  v((H) => H.includes(B) ? H.filter((j) => j !== B) : [...H, B]);
79451
- }, A = () => {
79452
- f((L) => !L);
79453
79454
  }, R = () => {
79455
+ f((L) => !L);
79456
+ }, A = () => {
79454
79457
  n((L) => [...L, { name: "", value: "", type: "string" }]);
79455
79458
  }, D = r.filter(
79456
79459
  (L) => L.name !== "includeSubset" && L.name !== "excludeSubset"
@@ -79471,7 +79474,7 @@ const yme = ({
79471
79474
  /* @__PURE__ */ I.jsx(
79472
79475
  "button",
79473
79476
  {
79474
- onClick: () => w(B, j === "true" ? "false" : "true"),
79477
+ onClick: () => b(B, j === "true" ? "false" : "true"),
79475
79478
  className: `relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 ${j === "true" ? "bg-blue-600" : "bg-gray-200"}`,
79476
79479
  role: "switch",
79477
79480
  "aria-checked": j === "true",
@@ -79492,7 +79495,7 @@ const yme = ({
79492
79495
  type: "number",
79493
79496
  className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
79494
79497
  value: j,
79495
- onChange: (G) => w(B, G.target.value),
79498
+ onChange: (G) => b(B, G.target.value),
79496
79499
  placeholder: $ !== void 0 ? `Default: ${$}` : "Enter number..."
79497
79500
  }
79498
79501
  );
@@ -79503,7 +79506,7 @@ const yme = ({
79503
79506
  {
79504
79507
  className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
79505
79508
  value: j,
79506
- onChange: (G) => w(B, G.target.value),
79509
+ onChange: (G) => b(B, G.target.value),
79507
79510
  placeholder: H === "array" ? "Enter comma-separated values or JSON array" : "Enter JSON object",
79508
79511
  rows: 3
79509
79512
  }
@@ -79516,7 +79519,7 @@ const yme = ({
79516
79519
  type: "text",
79517
79520
  className: "mt-1 block w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-blue-500 focus:border-blue-500 sm:text-sm",
79518
79521
  value: j,
79519
- onChange: (G) => w(B, G.target.value),
79522
+ onChange: (G) => b(B, G.target.value),
79520
79523
  placeholder: $ !== void 0 && $ !== "" ? `Default: ${$}` : "Enter value..."
79521
79524
  }
79522
79525
  );
@@ -79650,7 +79653,7 @@ const yme = ({
79650
79653
  /* @__PURE__ */ I.jsxs(
79651
79654
  "button",
79652
79655
  {
79653
- onClick: R,
79656
+ onClick: A,
79654
79657
  className: "inline-flex cursor-pointer items-center px-4 py-2 border border-transparent rounded-md shadow-sm text-sm font-medium text-white bg-indigo-600 hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-indigo-500",
79655
79658
  children: [
79656
79659
  /* @__PURE__ */ I.jsx(
@@ -79695,7 +79698,7 @@ const yme = ({
79695
79698
  /* @__PURE__ */ I.jsx(
79696
79699
  "button",
79697
79700
  {
79698
- onClick: A,
79701
+ onClick: R,
79699
79702
  className: `relative inline-flex flex-shrink-0 h-6 w-11 border-2 border-transparent rounded-full cursor-pointer transition-colors ease-in-out duration-200 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500 ${d ? "bg-red-600" : "bg-green-600"}`,
79700
79703
  role: "switch",
79701
79704
  "aria-checked": d,
@@ -79920,7 +79923,7 @@ function Vme({
79920
79923
  styleCanvas: a,
79921
79924
  initCanvas: o
79922
79925
  }) {
79923
- const { instructions: l, markers: u } = di(() => Vd(t), [t]), h = fe(0), c = fe(0), d = fe(!0), f = fe(null), y = fe(null), v = fe([]), m = fe(n ?? {}), g = fe(null), w = fe(0), x = fe(null);
79926
+ const { instructions: l, markers: u } = di(() => Vd(t), [t]), h = fe(0), c = fe(0), d = fe(!0), f = fe(null), y = fe(null), v = fe([]), m = fe(n ?? {}), g = fe(null), b = fe(0), x = fe(null);
79924
79927
  lt(() => {
79925
79928
  const Q = m.current._reactiveScreenRefreshRate, L = typeof Q == "number" && Q >= 20 && Q <= 300;
79926
79929
  x.current = L ? 1e3 / Q : null;
@@ -79943,19 +79946,19 @@ function Vme({
79943
79946
  ), null;
79944
79947
  },
79945
79948
  []
79946
- ), A = Xe(() => {
79949
+ ), R = Xe(() => {
79947
79950
  const Q = y.current;
79948
79951
  if (!Q) return {};
79949
79952
  const L = Q.getContext("2d");
79950
79953
  if (!L) return {};
79951
79954
  const B = window.devicePixelRatio || 1, H = Q.width / B, $ = Q.height / B;
79952
79955
  return { ctx: L, canvasWidth: H, canvasHeight: $ };
79953
- }, []), R = Xe(() => {
79954
- const { ctx: Q, canvasWidth: L, canvasHeight: B } = A();
79956
+ }, []), A = Xe(() => {
79957
+ const { ctx: Q, canvasWidth: L, canvasHeight: B } = R();
79955
79958
  Q && (Q.fillStyle = "white", Q.fillRect(0, 0, L, B), d.current = !1);
79956
- }, [A]), D = Xe(
79959
+ }, [R]), D = Xe(
79957
79960
  (Q) => {
79958
- const { ctx: L, canvasWidth: B, canvasHeight: H } = A();
79961
+ const { ctx: L, canvasWidth: B, canvasHeight: H } = R();
79959
79962
  if (L) {
79960
79963
  if (L.fillStyle = "white", L.fillRect(0, 0, B, H), a)
79961
79964
  try {
@@ -79970,10 +79973,10 @@ function Vme({
79970
79973
  } catch ($) {
79971
79974
  console.error("Error during slide draw function:", $);
79972
79975
  }
79973
- c.current = Qs(), d.current = !0, f.current = null, w.current += 1;
79976
+ c.current = Qs(), d.current = !0, f.current = null, b.current += 1;
79974
79977
  }
79975
79978
  },
79976
- [A]
79979
+ [R]
79977
79980
  );
79978
79981
  let V;
79979
79982
  const _ = Xe(() => {
@@ -79990,8 +79993,8 @@ function Vme({
79990
79993
  const $ = H.displayDuration ?? 1 / 0, j = H.responseTimeLimit ?? 1 / 0, G = H.allowedKeys ?? !1, ne = G === !1 || Array.isArray(G) && G.length === 0;
79991
79994
  let Y = !1;
79992
79995
  const oe = Q - c.current + (x.current !== null ? x.current * 0.5 : 0);
79993
- d.current && $ !== 1 / 0 && oe >= $ && (R(), (ne || j === 1 / 0) && (Y = !0)), !Y && j !== 1 / 0 && oe >= j && (Y = !0, d.current && $ !== 1 / 0 && oe < $ && R()), Y ? V() : d.current && $ !== 1 / 0 && oe < $ || j !== 1 / 0 && oe < j ? g.current = requestAnimationFrame(_) : (g.current && cancelAnimationFrame(g.current), g.current = null);
79994
- }, [l, T, R]), N = Xe(() => {
79996
+ d.current && $ !== 1 / 0 && oe >= $ && (A(), (ne || j === 1 / 0) && (Y = !0)), !Y && j !== 1 / 0 && oe >= j && (Y = !0, d.current && $ !== 1 / 0 && oe < $ && A()), Y ? V() : d.current && $ !== 1 / 0 && oe < $ || j !== 1 / 0 && oe < j ? g.current = requestAnimationFrame(_) : (g.current && cancelAnimationFrame(g.current), g.current = null);
79997
+ }, [l, T, A]), N = Xe(() => {
79995
79998
  g.current && cancelAnimationFrame(g.current), g.current = null;
79996
79999
  const Q = Yn(
79997
80000
  { instructions: l, markers: u },
@@ -80030,7 +80033,7 @@ function Vme({
80030
80033
  if ($ && !$.ignoreData) {
80031
80034
  let j = {
80032
80035
  index: h.current,
80033
- trialNumber: w.current - 1,
80036
+ trialNumber: b.current - 1,
80034
80037
  start: c.current,
80035
80038
  end: L,
80036
80039
  duration: L - c.current,
@@ -80056,10 +80059,10 @@ function Vme({
80056
80059
  key: Q.key,
80057
80060
  time: L,
80058
80061
  reactionTime: L - c.current
80059
- }), re && R(), oe && V());
80062
+ }), re && A(), oe && V());
80060
80063
  }
80061
80064
  },
80062
- [l, T, V, R]
80065
+ [l, T, V, A]
80063
80066
  );
80064
80067
  return lt(() => {
80065
80068
  const Q = y.current;
@@ -80162,7 +80165,7 @@ vi("CanvasBlock", (i, e, t, s) => {
80162
80165
  const m = (y.simulate || t.respondToSlide)(y, s);
80163
80166
  if (s = m.participantState, !y.ignoreData) {
80164
80167
  const g = y.displayDuration || m.reactionTime || 1e3;
80165
- let w = {
80168
+ let b = {
80166
80169
  index: f,
80167
80170
  trialNumber: u,
80168
80171
  start: l,
@@ -80171,7 +80174,7 @@ vi("CanvasBlock", (i, e, t, s) => {
80171
80174
  key: m.key,
80172
80175
  reactionTime: m.reactionTime
80173
80176
  };
80174
- w = Sd(w, y, a, o), a.push(w), l += g;
80177
+ b = Sd(b, y, a, o), a.push(b), l += g;
80175
80178
  }
80176
80179
  u++, f = Yn(n, f + 1, h, c, d);
80177
80180
  }
@@ -80247,13 +80250,13 @@ function Sme({
80247
80250
  const g = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(
80248
80251
  y
80249
80252
  );
80250
- let w = "Unknown";
80251
- /Windows/.test(y) ? w = "Windows" : /Macintosh|Mac OS X/.test(y) ? w = "MacOS" : /Linux/.test(y) ? w = "Linux" : /Android/.test(y) ? w = "Android" : /iOS|iPhone|iPad|iPod/.test(y) && (w = "iOS");
80253
+ let b = "Unknown";
80254
+ /Windows/.test(y) ? b = "Windows" : /Macintosh|Mac OS X/.test(y) ? b = "MacOS" : /Linux/.test(y) ? b = "Linux" : /Android/.test(y) ? b = "Android" : /iOS|iPhone|iPad|iPod/.test(y) && (b = "iOS");
80252
80255
  const x = !!(window.AudioContext || window.webkitAudioContext || window.mozAudioContext || window.oAudioContext || window.msAudioContext), T = !!(document.exitFullscreen || document.webkitExitFullscreen || document.mozCancelFullScreen || document.msExitFullscreen || document.fullscreenEnabled || document.webkitFullscreenEnabled || document.mozFullScreenEnabled || document.msFullscreenEnabled);
80253
- let A = !1, R = !1;
80256
+ let R = !1, A = !1;
80254
80257
  try {
80255
80258
  const _ = await navigator.mediaDevices.enumerateDevices();
80256
- A = _.some((N) => N.kind === "videoinput"), R = _.some((N) => N.kind === "audioinput");
80259
+ R = _.some((N) => N.kind === "videoinput"), A = _.some((N) => N.kind === "audioinput");
80257
80260
  } catch (_) {
80258
80261
  console.error("Error checking media devices:", _);
80259
80262
  }
@@ -80265,11 +80268,11 @@ function Sme({
80265
80268
  browser: v,
80266
80269
  browserVersion: m,
80267
80270
  isMobile: g,
80268
- operatingSystem: w,
80271
+ operatingSystem: b,
80269
80272
  hasWebAudio: x,
80270
80273
  hasFullscreen: T,
80271
- hasWebcam: A,
80272
- hasMicrophone: R
80274
+ hasWebcam: R,
80275
+ hasMicrophone: A
80273
80276
  };
80274
80277
  r({ _reactiveDeviceInfo: D }), (i ? i(D, t, s) : !0) && !l.current ? (l.current = !0, n(D)) : o(!0);
80275
80278
  })();
@@ -80299,26 +80302,26 @@ function Tme({
80299
80302
  lt(() => {
80300
80303
  l(u7(n, t));
80301
80304
  const g = {};
80302
- n.forEach((w) => {
80303
- g[w.storeKey] = !1;
80305
+ n.forEach((b) => {
80306
+ g[b.storeKey] = !1;
80304
80307
  }), d(g);
80305
80308
  }, [t, n]);
80306
- const f = (g, w) => {
80309
+ const f = (g, b) => {
80307
80310
  if (g.type === "integer" || g.type === "float") {
80308
- if (w == null || w === "")
80311
+ if (b == null || b === "")
80309
80312
  return "This field is required";
80310
- if (g.min !== void 0 && w < g.min)
80313
+ if (g.min !== void 0 && b < g.min)
80311
80314
  return `Value must be at least ${g.min}`;
80312
- if (g.max !== void 0 && w > g.max)
80315
+ if (g.max !== void 0 && b > g.max)
80313
80316
  return `Value must be at most ${g.max}`;
80314
80317
  } else if (g.type === "string") {
80315
- if (g.minLength !== void 0 && w.length < g.minLength)
80318
+ if (g.minLength !== void 0 && b.length < g.minLength)
80316
80319
  return `Must be at least ${g.minLength} characters`;
80317
- if (g.maxLength !== void 0 && w.length > g.maxLength)
80320
+ if (g.maxLength !== void 0 && b.length > g.maxLength)
80318
80321
  return `Must be at most ${g.maxLength} characters`;
80319
80322
  }
80320
80323
  if (g.validate) {
80321
- const x = g.validate(w);
80324
+ const x = g.validate(b);
80322
80325
  if (x !== !0 && x !== "")
80323
80326
  return typeof x == "string" ? x : "Invalid value";
80324
80327
  }
@@ -80326,17 +80329,17 @@ function Tme({
80326
80329
  };
80327
80330
  lt(() => {
80328
80331
  const g = {};
80329
- n.forEach((w) => {
80330
- const x = o[w.storeKey];
80331
- if (!c[w.storeKey]) return;
80332
- const T = f(w, x);
80333
- T && (g[w.storeKey] = T);
80332
+ n.forEach((b) => {
80333
+ const x = o[b.storeKey];
80334
+ if (!c[b.storeKey]) return;
80335
+ const T = f(b, x);
80336
+ T && (g[b.storeKey] = T);
80334
80337
  }), h(g);
80335
80338
  }, [o, n, c]);
80336
- const y = (g, w) => {
80339
+ const y = (g, b) => {
80337
80340
  l((x) => ({
80338
80341
  ...x,
80339
- [g]: w
80342
+ [g]: b
80340
80343
  })), d((x) => ({
80341
80344
  ...x,
80342
80345
  [g]: !0
@@ -80346,14 +80349,14 @@ function Tme({
80346
80349
  n.forEach((x) => {
80347
80350
  g[x.storeKey] = !0;
80348
80351
  }), d(g);
80349
- const w = {};
80352
+ const b = {};
80350
80353
  n.forEach((x) => {
80351
80354
  const T = o[x.storeKey];
80352
- if (x.type === "integer" || x.type === "float" ? T == null || T === "" ? w[x.storeKey] = "This field is required" : x.min !== void 0 && T < x.min ? w[x.storeKey] = `Value must be at least ${x.min}` : x.max !== void 0 && T > x.max && (w[x.storeKey] = `Value must be at most ${x.max}`) : x.type === "string" && (x.minLength !== void 0 && T.length < x.minLength ? w[x.storeKey] = `Must be at least ${x.minLength} characters` : x.maxLength !== void 0 && T.length > x.maxLength && (w[x.storeKey] = `Must be at most ${x.maxLength} characters`)), x.validate && !w[x.storeKey]) {
80353
- const A = x.validate(T);
80354
- A !== !0 && A !== "" && (w[x.storeKey] = typeof A == "string" ? A : "Invalid value");
80355
+ if (x.type === "integer" || x.type === "float" ? T == null || T === "" ? b[x.storeKey] = "This field is required" : x.min !== void 0 && T < x.min ? b[x.storeKey] = `Value must be at least ${x.min}` : x.max !== void 0 && T > x.max && (b[x.storeKey] = `Value must be at most ${x.max}`) : x.type === "string" && (x.minLength !== void 0 && T.length < x.minLength ? b[x.storeKey] = `Must be at least ${x.minLength} characters` : x.maxLength !== void 0 && T.length > x.maxLength && (b[x.storeKey] = `Must be at most ${x.maxLength} characters`)), x.validate && !b[x.storeKey]) {
80356
+ const R = x.validate(T);
80357
+ R !== !0 && R !== "" && (b[x.storeKey] = typeof R == "string" ? R : "Invalid value");
80355
80358
  }
80356
- }), h(w), Object.keys(w).length === 0 && (e(o), i(o));
80359
+ }), h(b), Object.keys(b).length === 0 && (e(o), i(o));
80357
80360
  }, m = Object.keys(u).length > 0;
80358
80361
  return /* @__PURE__ */ I.jsxs("div", { className: "max-w-prose mx-auto mt-20 mb-20 px-4", children: [
80359
80362
  /* @__PURE__ */ I.jsx("h1", { className: "text-4xl font-bold mb-6", children: s }),
@@ -80377,7 +80380,7 @@ function Tme({
80377
80380
  {
80378
80381
  type: "checkbox",
80379
80382
  checked: !!o[g.storeKey],
80380
- onChange: (w) => y(g.storeKey, w.target.checked),
80383
+ onChange: (b) => y(g.storeKey, b.target.checked),
80381
80384
  className: "absolute opacity-0 h-0 w-0"
80382
80385
  }
80383
80386
  ),
@@ -80407,8 +80410,8 @@ function Tme({
80407
80410
  {
80408
80411
  type: "text",
80409
80412
  value: o[g.storeKey] || "",
80410
- onChange: (w) => {
80411
- const x = w.target.value;
80413
+ onChange: (b) => {
80414
+ const x = b.target.value;
80412
80415
  let T;
80413
80416
  g.type === "integer" ? T = x === "" ? "" : parseInt(x, 10) : g.type === "float" && (T = x === "" ? "" : parseFloat(x)), (x === "" || !isNaN(T)) && y(g.storeKey, T);
80414
80417
  },
@@ -80438,7 +80441,7 @@ function Tme({
80438
80441
  {
80439
80442
  type: "text",
80440
80443
  value: o[g.storeKey] || "",
80441
- onChange: (w) => y(g.storeKey, w.target.value),
80444
+ onChange: (b) => y(g.storeKey, b.target.value),
80442
80445
  className: "w-full px-4 py-2 border-2 border-black rounded-xl text-lg focus:outline-none focus:ring-2 focus:ring-blue-500"
80443
80446
  }
80444
80447
  ),
@@ -80636,8 +80639,8 @@ function S7(i, e) {
80636
80639
  t = !0, s = !0, r.isProcessing || i(v);
80637
80640
  };
80638
80641
  return { schedule: $h.reduce((x, T) => {
80639
- const A = a[T];
80640
- return x[T] = (R, D = !1, V = !1) => (t || m(), A.schedule(R, D, V)), x;
80642
+ const R = a[T];
80643
+ return x[T] = (A, D = !1, V = !1) => (t || m(), R.schedule(A, D, V)), x;
80641
80644
  }, {}), cancel: (x) => {
80642
80645
  for (let T = 0; T < $h.length; T++)
80643
80646
  a[$h[T]].cancel(x);
@@ -80998,14 +81001,14 @@ function Uc(i = Jt.visualDuration, e = Jt.bounce) {
80998
81001
  const n = t.keyframes[0], a = t.keyframes[t.keyframes.length - 1], o = { done: !1, value: n }, { stiffness: l, damping: u, mass: h, duration: c, velocity: d, isResolvedFromDuration: f } = yge({
80999
81002
  ...t,
81000
81003
  velocity: -/* @__PURE__ */ Hi(t.velocity || 0)
81001
- }), y = d || 0, v = u / (2 * Math.sqrt(l * h)), m = a - n, g = /* @__PURE__ */ Hi(Math.sqrt(l / h)), w = Math.abs(m) < 5;
81002
- s || (s = w ? Jt.restSpeed.granular : Jt.restSpeed.default), r || (r = w ? Jt.restDelta.granular : Jt.restDelta.default);
81003
- let x, T, A, R, D, V;
81004
+ }), y = d || 0, v = u / (2 * Math.sqrt(l * h)), m = a - n, g = /* @__PURE__ */ Hi(Math.sqrt(l / h)), b = Math.abs(m) < 5;
81005
+ s || (s = b ? Jt.restSpeed.granular : Jt.restSpeed.default), r || (r = b ? Jt.restDelta.granular : Jt.restDelta.default);
81006
+ let x, T, R, A, D, V;
81004
81007
  if (v < 1)
81005
- A = ng(g, v), R = (y + v * g * m) / A, x = (N) => {
81008
+ R = ng(g, v), A = (y + v * g * m) / R, x = (N) => {
81006
81009
  const q = Math.exp(-v * g * N);
81007
- return a - q * (R * Math.sin(A * N) + m * Math.cos(A * N));
81008
- }, D = v * g * R + m * A, V = v * g * m - R * A, T = (N) => Math.exp(-v * g * N) * (D * Math.sin(A * N) + V * Math.cos(A * N));
81010
+ return a - q * (A * Math.sin(R * N) + m * Math.cos(R * N));
81011
+ }, D = v * g * A + m * R, V = v * g * m - A * R, T = (N) => Math.exp(-v * g * N) * (D * Math.sin(R * N) + V * Math.cos(R * N));
81009
81012
  else if (v === 1) {
81010
81013
  x = (q) => a - Math.exp(-g * q) * (m + (y + g * m) * q);
81011
81014
  const N = y + g * m;
@@ -81027,7 +81030,7 @@ function Uc(i = Jt.visualDuration, e = Jt.bounce) {
81027
81030
  velocity: (N) => /* @__PURE__ */ mi(T(N)),
81028
81031
  next: (N) => {
81029
81032
  if (!f && v < 1) {
81030
- const Q = Math.exp(-v * g * N), L = Math.sin(A * N), B = Math.cos(A * N), H = a - Q * (R * L + m * B), $ = /* @__PURE__ */ mi(Q * (D * L + V * B));
81033
+ const Q = Math.exp(-v * g * N), L = Math.sin(R * N), B = Math.cos(R * N), H = a - Q * (A * L + m * B), $ = /* @__PURE__ */ mi(Q * (D * L + V * B));
81031
81034
  return o.done = Math.abs($) <= s && Math.abs(a - H) <= r, o.value = o.done ? a : H, o;
81032
81035
  }
81033
81036
  const q = x(N);
@@ -81065,13 +81068,13 @@ function ag({ keyframes: i, velocity: e = 0, power: t = 0.8, timeConstant: s = 3
81065
81068
  let v = t * e;
81066
81069
  const m = c + v, g = a === void 0 ? m : a(m);
81067
81070
  g !== m && (v = g - c);
81068
- const w = (V) => -v * Math.exp(-V / s), x = (V) => g + w(V), T = (V) => {
81069
- const _ = w(V), N = x(V);
81071
+ const b = (V) => -v * Math.exp(-V / s), x = (V) => g + b(V), T = (V) => {
81072
+ const _ = b(V), N = x(V);
81070
81073
  d.done = Math.abs(_) <= u, d.value = d.done ? g : N;
81071
81074
  };
81072
- let A, R;
81075
+ let R, A;
81073
81076
  const D = (V) => {
81074
- f(d.value) && (A = V, R = Uc({
81077
+ f(d.value) && (R = V, A = Uc({
81075
81078
  keyframes: [d.value, y(d.value)],
81076
81079
  velocity: O7(x, V, d.value),
81077
81080
  // TODO: This should be passing * 1000
@@ -81085,7 +81088,7 @@ function ag({ keyframes: i, velocity: e = 0, power: t = 0.8, timeConstant: s = 3
81085
81088
  calculatedDuration: null,
81086
81089
  next: (V) => {
81087
81090
  let _ = !1;
81088
- return !R && A === void 0 && (_ = !0, T(V), D(V)), A !== void 0 && V >= A ? R.next(V - A) : (!_ && T(V), d);
81091
+ return !A && R === void 0 && (_ = !0, T(V), D(V)), R !== void 0 && V >= R ? A.next(V - R) : (!_ && T(V), d);
81089
81092
  }
81090
81093
  };
81091
81094
  }
@@ -81232,7 +81235,7 @@ class zc extends b0 {
81232
81235
  return s.next(0);
81233
81236
  const { delay: u = 0, keyframes: h, repeat: c, repeatType: d, repeatDelay: f, type: y, onUpdate: v, finalKeyframe: m } = this.options;
81234
81237
  this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - r / this.speed, this.startTime)), t ? this.currentTime = e : this.updateTime(e);
81235
- const g = this.currentTime - u * (this.playbackSpeed >= 0 ? 1 : -1), w = this.playbackSpeed >= 0 ? g < 0 : g > r;
81238
+ const g = this.currentTime - u * (this.playbackSpeed >= 0 ? 1 : -1), b = this.playbackSpeed >= 0 ? g < 0 : g > r;
81236
81239
  this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = r);
81237
81240
  let x = this.currentTime, T = s;
81238
81241
  if (c) {
@@ -81240,12 +81243,12 @@ class zc extends b0 {
81240
81243
  let _ = Math.floor(V), N = V % 1;
81241
81244
  !N && V >= 1 && (N = 1), N === 1 && _--, _ = Math.min(_, c + 1), !!(_ % 2) && (d === "reverse" ? (N = 1 - N, f && (N -= f / o)) : d === "mirror" && (T = a)), x = qr(0, 1, N) * o;
81242
81245
  }
81243
- let A;
81244
- w ? (this.delayState.value = h[0], A = this.delayState) : A = T.next(x), n && !w && (A.value = n(A.value));
81245
- let { done: R } = A;
81246
- !w && l !== null && (R = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
81247
- const D = this.holdTime === null && (this.state === "finished" || this.state === "running" && R);
81248
- return D && y !== ag && (A.value = ip(h, this.options, m, this.speed)), v && v(A.value), D && this.finish(), A;
81246
+ let R;
81247
+ b ? (this.delayState.value = h[0], R = this.delayState) : R = T.next(x), n && !b && (R.value = n(R.value));
81248
+ let { done: A } = R;
81249
+ !b && l !== null && (A = this.playbackSpeed >= 0 ? this.currentTime >= r : this.currentTime <= 0);
81250
+ const D = this.holdTime === null && (this.state === "finished" || this.state === "running" && A);
81251
+ return D && y !== ag && (R.value = ip(h, this.options, m, this.speed)), v && v(R.value), D && this.finish(), R;
81249
81252
  }
81250
81253
  /**
81251
81254
  * Allows the returned animation to be awaited or promise-chained. Currently
@@ -81784,7 +81787,7 @@ class eve extends b0 {
81784
81787
  this.keyframeResolver = new f(o, (v, m, g) => this.onKeyframesResolved(v, m, d, !g), l, u, h), (y = this.keyframeResolver) == null || y.scheduleResolve();
81785
81788
  }
81786
81789
  onKeyframesResolved(e, t, s, r) {
81787
- var g, w;
81790
+ var g, b;
81788
81791
  this.keyframeResolver = void 0;
81789
81792
  const { name: n, type: a, velocity: o, delay: l, isHandoff: u, onUpdate: h } = s;
81790
81793
  this.resolvedAt = Xs.now();
@@ -81795,7 +81798,7 @@ class eve extends b0 {
81795
81798
  finalKeyframe: t,
81796
81799
  ...s,
81797
81800
  keyframes: e
81798
- }, y = c && !u && Yge(f), v = (w = (g = f.motionValue) == null ? void 0 : g.owner) == null ? void 0 : w.current;
81801
+ }, y = c && !u && Yge(f), v = (b = (g = f.motionValue) == null ? void 0 : g.owner) == null ? void 0 : b.current;
81799
81802
  let m;
81800
81803
  if (y)
81801
81804
  try {
@@ -82270,13 +82273,13 @@ function X7(i, e, { delay: t = 0, transitionOverride: s, type: r } = {}) {
82270
82273
  if (window.MotionHandoffAnimation) {
82271
82274
  const T = Y7(i);
82272
82275
  if (T) {
82273
- const A = window.MotionHandoffAnimation(T, d, Rt);
82274
- A !== null && (v.startTime = A, g = !0);
82276
+ const R = window.MotionHandoffAnimation(T, d, Rt);
82277
+ R !== null && (v.startTime = R, g = !0);
82275
82278
  }
82276
82279
  }
82277
82280
  gg(i, d);
82278
- const w = u ?? i.shouldReduceMotion;
82279
- f.start(E0(d, f, y, w && Z7.has(d) ? { type: !1 } : v, i, g));
82281
+ const b = u ?? i.shouldReduceMotion;
82282
+ f.start(E0(d, f, y, b && Z7.has(d) ? { type: !1 } : v, i, g));
82280
82283
  const x = f.animation;
82281
82284
  x && h.push(x);
82282
82285
  }
@@ -83442,15 +83445,15 @@ function V0e(i) {
83442
83445
  const { props: h } = i, c = V4(i.parent) || {}, d = [], f = /* @__PURE__ */ new Set();
83443
83446
  let y = {}, v = 1 / 0;
83444
83447
  for (let g = 0; g < x0e; g++) {
83445
- const w = w0e[g], x = t[w], T = h[w] !== void 0 ? h[w] : c[w], A = ou(T), R = w === u ? x.isActive : null;
83446
- R === !1 && (v = g);
83447
- let D = T === c[w] && T !== h[w] && A;
83448
+ const b = w0e[g], x = t[b], T = h[b] !== void 0 ? h[b] : c[b], R = ou(T), A = b === u ? x.isActive : null;
83449
+ A === !1 && (v = g);
83450
+ let D = T === c[b] && T !== h[b] && R;
83448
83451
  if (D && (s || r) && i.manuallyAnimateOnMount && (D = !1), x.protectedKeys = { ...y }, // If it isn't active and hasn't *just* been set as inactive
83449
- !x.isActive && R === null || // If we didn't and don't have any defined prop for this animation type
83452
+ !x.isActive && A === null || // If we didn't and don't have any defined prop for this animation type
83450
83453
  !T && !x.prevProp || // Or if the prop doesn't define an animation
83451
83454
  rp(T) || typeof T == "boolean")
83452
83455
  continue;
83453
- if (w === "exit" && x.isActive && R !== !0) {
83456
+ if (b === "exit" && x.isActive && A !== !0) {
83454
83457
  x.prevResolvedValues && (y = {
83455
83458
  ...y,
83456
83459
  ...x.prevResolvedValues
@@ -83459,11 +83462,11 @@ function V0e(i) {
83459
83462
  }
83460
83463
  const V = S0e(x.prevProp, T);
83461
83464
  let _ = V || // If we're making this variant active, we want to always make it active
83462
- w === u && x.isActive && !D && A || // If we removed a higher-priority variant (i is in reverse order)
83463
- g > v && A, N = !1;
83465
+ b === u && x.isActive && !D && R || // If we removed a higher-priority variant (i is in reverse order)
83466
+ g > v && R, N = !1;
83464
83467
  const q = Array.isArray(T) ? T : [T];
83465
- let Q = q.reduce(n(w), {});
83466
- R === !1 && (Q = {});
83468
+ let Q = q.reduce(n(b), {});
83469
+ A === !1 && (Q = {});
83467
83470
  const { prevResolvedValues: L = {} } = x, B = {
83468
83471
  ...L,
83469
83472
  ...Q
@@ -83482,7 +83485,7 @@ function V0e(i) {
83482
83485
  x.prevProp = T, x.prevResolvedValues = Q, x.isActive && (y = { ...y, ...Q }), (s || r) && i.blockInitialAnimation && (_ = !1);
83483
83486
  const $ = D && V;
83484
83487
  _ && (!$ || N) && d.push(...q.map((G) => {
83485
- const ne = { type: w };
83488
+ const ne = { type: b };
83486
83489
  if (typeof G == "string" && (s || r) && !$ && i.manuallyAnimateOnMount && i.parent) {
83487
83490
  const { parent: Y } = i, oe = Oa(Y, G);
83488
83491
  if (Y.enteringChildren && oe) {
@@ -83499,12 +83502,12 @@ function V0e(i) {
83499
83502
  if (f.size) {
83500
83503
  const g = {};
83501
83504
  if (typeof h.initial != "boolean") {
83502
- const w = Oa(i, Array.isArray(h.initial) ? h.initial[0] : h.initial);
83503
- w && w.transition && (g.transition = w.transition);
83505
+ const b = Oa(i, Array.isArray(h.initial) ? h.initial[0] : h.initial);
83506
+ b && b.transition && (g.transition = b.transition);
83504
83507
  }
83505
- f.forEach((w) => {
83506
- const x = i.getBaseTarget(w), T = i.getValue(w);
83507
- T && (T.liveStyle = !0), g[w] = x ?? null;
83508
+ f.forEach((b) => {
83509
+ const x = i.getBaseTarget(b), T = i.getValue(b);
83510
+ T && (T.liveStyle = !0), g[b] = x ?? null;
83508
83511
  }), d.push({ animation: g });
83509
83512
  }
83510
83513
  let m = !!d.length;
@@ -83829,15 +83832,15 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
83829
83832
  this.target = void 0, this.relativeTarget = void 0;
83830
83833
  return;
83831
83834
  }
83832
- const y = this.options.transition || u.getDefaultTransition() || l1e, { onLayoutAnimationStart: v, onLayoutAnimationComplete: m } = u.getProps(), g = !this.targetLayout || !R4(this.targetLayout, f), w = !c && d;
83833
- if (this.options.layoutRoot || this.resumeFrom || w || c && (g || !this.currentAnimation)) {
83835
+ const y = this.options.transition || u.getDefaultTransition() || l1e, { onLayoutAnimationStart: v, onLayoutAnimationComplete: m } = u.getProps(), g = !this.targetLayout || !R4(this.targetLayout, f), b = !c && d;
83836
+ if (this.options.layoutRoot || this.resumeFrom || b || c && (g || !this.currentAnimation)) {
83834
83837
  this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0);
83835
83838
  const x = {
83836
83839
  ...x0(y, "layout"),
83837
83840
  onPlay: v,
83838
83841
  onComplete: m
83839
83842
  };
83840
- (u.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(h, w);
83843
+ (u.shouldReduceMotion || this.options.layoutRoot) && (x.delay = 0, x.type = !1), this.startAnimation(x), this.setAnimationOrigin(h, b);
83841
83844
  } else
83842
83845
  c || rx(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
83843
83846
  this.targetLayout = f;
@@ -84090,12 +84093,12 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
84090
84093
  setAnimationOrigin(a, o = !1) {
84091
84094
  const l = this.snapshot, u = l ? l.latestValues : {}, h = { ...this.latestValues }, c = bo();
84092
84095
  (!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !o;
84093
- const d = xs(), f = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, v = f !== y, m = this.getStack(), g = !m || m.members.length <= 1, w = !!(v && !g && this.options.crossfade === !0 && !this.path.some(o1e));
84096
+ const d = xs(), f = l ? l.source : void 0, y = this.layout ? this.layout.source : void 0, v = f !== y, m = this.getStack(), g = !m || m.members.length <= 1, b = !!(v && !g && this.options.crossfade === !0 && !this.path.some(o1e));
84094
84097
  this.animationProgress = 0;
84095
84098
  let x;
84096
84099
  this.mixTargetDelta = (T) => {
84097
- const A = T / 1e3;
84098
- nx(c.x, a.x, A), nx(c.y, a.y, A), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Gc(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), a1e(this.relativeTarget, this.relativeTargetOrigin, d, A), x && O0e(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = xs()), tr(x, this.relativeTarget)), v && (this.animationValues = h, F0e(h, u, this.latestValues, A, w, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
84100
+ const R = T / 1e3;
84101
+ nx(c.x, a.x, R), nx(c.y, a.y, R), this.setTargetDelta(c), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Gc(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox, this.options.layoutAnchor || void 0), a1e(this.relativeTarget, this.relativeTargetOrigin, d, R), x && O0e(this.relativeTarget, x) && (this.isProjectionDirty = !1), x || (x = xs()), tr(x, this.relativeTarget)), v && (this.animationValues = h, F0e(h, u, this.latestValues, R, b, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = R;
84099
84102
  }, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
84100
84103
  }
84101
84104
  startAnimation(a) {
@@ -84217,13 +84220,13 @@ function D4({ attachResizeListener: i, defaultParent: e, measureScroll: t, check
84217
84220
  for (const y in Eg) {
84218
84221
  if (h[y] === void 0)
84219
84222
  continue;
84220
- const { correct: v, applyTo: m, isCSSVariable: g } = Eg[y], w = c === "none" ? h[y] : v(h[y], u);
84223
+ const { correct: v, applyTo: m, isCSSVariable: g } = Eg[y], b = c === "none" ? h[y] : v(h[y], u);
84221
84224
  if (m) {
84222
84225
  const x = m.length;
84223
84226
  for (let T = 0; T < x; T++)
84224
- a[m[T]] = w;
84227
+ a[m[T]] = b;
84225
84228
  } else
84226
- g ? this.options.visualElement.renderState.vars[y] = w : a[y] = w;
84229
+ g ? this.options.visualElement.renderState.vars[y] = b : a[y] = b;
84227
84230
  }
84228
84231
  this.options.layoutId && (a.pointerEvents = u === this ? cc(o == null ? void 0 : o.pointerEvents) || "" : "none");
84229
84232
  }
@@ -84461,15 +84464,15 @@ function g1e({ children: i, isPresent: e, anchorX: t, anchorY: s, root: r, pop:
84461
84464
  bottom: 0
84462
84465
  }), { nonce: u } = fs(k0), h = ((d = i.props) == null ? void 0 : d.ref) ?? (i == null ? void 0 : i.ref), c = f1e(o, h);
84463
84466
  return Rg(() => {
84464
- const { width: f, height: y, top: v, left: m, right: g, bottom: w } = l.current;
84467
+ const { width: f, height: y, top: v, left: m, right: g, bottom: b } = l.current;
84465
84468
  if (e || n === !1 || !o.current || !f || !y)
84466
84469
  return;
84467
- const x = t === "left" ? `left: ${m}` : `right: ${g}`, T = s === "bottom" ? `bottom: ${w}` : `top: ${v}`;
84470
+ const x = t === "left" ? `left: ${m}` : `right: ${g}`, T = s === "bottom" ? `bottom: ${b}` : `top: ${v}`;
84468
84471
  o.current.dataset.motionPopId = a;
84469
- const A = document.createElement("style");
84470
- u && (A.nonce = u);
84471
- const R = r ?? document.head;
84472
- return R.appendChild(A), A.sheet && A.sheet.insertRule(`
84472
+ const R = document.createElement("style");
84473
+ u && (R.nonce = u);
84474
+ const A = r ?? document.head;
84475
+ return A.appendChild(R), R.sheet && R.sheet.insertRule(`
84473
84476
  [data-motion-pop-id="${a}"] {
84474
84477
  position: absolute !important;
84475
84478
  width: ${f}px !important;
@@ -84479,7 +84482,7 @@ function g1e({ children: i, isPresent: e, anchorX: t, anchorY: s, root: r, pop:
84479
84482
  }
84480
84483
  `), () => {
84481
84484
  var D;
84482
- (D = o.current) == null || D.removeAttribute("data-motion-pop-id"), R.contains(A) && R.removeChild(A);
84485
+ (D = o.current) == null || D.removeAttribute("data-motion-pop-id"), A.contains(R) && A.removeChild(R);
84483
84486
  };
84484
84487
  }, [e]), I.jsx(m1e, { isPresent: e, childRef: o, sizeRef: l, pop: n, children: n === !1 ? i : p.cloneElement(i, { ref: c }) });
84485
84488
  }
@@ -84528,7 +84531,7 @@ function dx(i) {
84528
84531
  }), e;
84529
84532
  }
84530
84533
  const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, presenceAffectsLayout: r = !0, mode: n = "sync", propagate: a = !1, anchorX: o = "left", anchorY: l = "top", root: u }) => {
84531
- const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [w, x] = rt(d), [T, A] = rt(d);
84534
+ const [h, c] = M4(a), d = di(() => dx(i), [i]), f = a && !h ? [] : d.map(Qh), y = fe(!0), v = fe(d), m = l0(() => /* @__PURE__ */ new Map()), g = fe(/* @__PURE__ */ new Set()), [b, x] = rt(d), [T, R] = rt(d);
84532
84535
  u0(() => {
84533
84536
  y.current = !1, v.current = d;
84534
84537
  for (let V = 0; V < T.length; V++) {
@@ -84536,14 +84539,14 @@ const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, prese
84536
84539
  f.includes(_) ? (m.delete(_), g.current.delete(_)) : m.get(_) !== !0 && m.set(_, !1);
84537
84540
  }
84538
84541
  }, [T, f.length, f.join("-")]);
84539
- const R = [];
84540
- if (d !== w) {
84542
+ const A = [];
84543
+ if (d !== b) {
84541
84544
  let V = [...d];
84542
84545
  for (let _ = 0; _ < T.length; _++) {
84543
84546
  const N = T[_], q = Qh(N);
84544
- f.includes(q) || (V.splice(_, 0, N), R.push(N));
84547
+ f.includes(q) || (V.splice(_, 0, N), A.push(N));
84545
84548
  }
84546
- return n === "wait" && R.length && (V = R), A(dx(V)), x(d), null;
84549
+ return n === "wait" && A.length && (V = A), R(dx(V)), x(d), null;
84547
84550
  }
84548
84551
  process.env.NODE_ENV !== "production" && n === "wait" && T.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
84549
84552
  const { forceRender: D } = fs(ru);
@@ -84558,7 +84561,7 @@ const C1e = ({ children: i, custom: e, initial: t = !0, onExitComplete: s, prese
84558
84561
  let Q = !0;
84559
84562
  m.forEach((L) => {
84560
84563
  L || (Q = !1);
84561
- }), Q && (D == null || D(), A(v.current), a && (c == null || c()), s && s());
84564
+ }), Q && (D == null || D(), R(v.current), a && (c == null || c()), s && s());
84562
84565
  };
84563
84566
  return I.jsx(v1e, { isPresent: N, initial: !y.current || t ? void 0 : !1, custom: e, presenceAffectsLayout: r, mode: n, root: u, onExitComplete: N ? void 0 : q, anchorX: o, anchorY: l, children: V }, _);
84564
84567
  }) });
@@ -84813,16 +84816,16 @@ function q1e(i, e, t, s) {
84813
84816
  const y = V0(i, d[f]);
84814
84817
  if (y) {
84815
84818
  const { transitionEnd: v, transition: m, ...g } = y;
84816
- for (const w in g) {
84817
- let x = g[w];
84819
+ for (const b in g) {
84820
+ let x = g[b];
84818
84821
  if (Array.isArray(x)) {
84819
84822
  const T = h ? x.length - 1 : 0;
84820
84823
  x = x[T];
84821
84824
  }
84822
- x !== null && (r[w] = x);
84825
+ x !== null && (r[b] = x);
84823
84826
  }
84824
- for (const w in v)
84825
- r[w] = v[w];
84827
+ for (const b in v)
84828
+ r[b] = v[b];
84826
84829
  }
84827
84830
  }
84828
84831
  }
@@ -84880,14 +84883,14 @@ function U1e(i, e, t, s, r, n) {
84880
84883
  Rg(() => {
84881
84884
  y && m.current && y.update(t, l);
84882
84885
  });
84883
- const g = t[J7], w = fe(!!g && typeof window < "u" && !((x = window.MotionHandoffIsComplete) != null && x.call(window, g)) && ((T = window.MotionHasOptimisedAnimation) == null ? void 0 : T.call(window, g)));
84886
+ const g = t[J7], b = fe(!!g && typeof window < "u" && !((x = window.MotionHandoffIsComplete) != null && x.call(window, g)) && ((T = window.MotionHasOptimisedAnimation) == null ? void 0 : T.call(window, g)));
84884
84887
  return u0(() => {
84885
- f.current = !0, y && (m.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), y.scheduleRenderMicrotask(), w.current && y.animationState && y.animationState.animateChanges());
84888
+ f.current = !0, y && (m.current = !0, window.MotionIsMounted = !0, y.updateFeatures(), y.scheduleRenderMicrotask(), b.current && y.animationState && y.animationState.animateChanges());
84886
84889
  }), lt(() => {
84887
- y && (!w.current && y.animationState && y.animationState.animateChanges(), w.current && (queueMicrotask(() => {
84888
- var A;
84889
- (A = window.MotionHandoffMarkAsComplete) == null || A.call(window, g);
84890
- }), w.current = !1), y.enteringChildren = void 0);
84890
+ y && (!b.current && y.animationState && y.animationState.animateChanges(), b.current && (queueMicrotask(() => {
84891
+ var R;
84892
+ (R = window.MotionHandoffMarkAsComplete) == null || R.call(window, g);
84893
+ }), b.current = !1), y.enteringChildren = void 0);
84891
84894
  }), y;
84892
84895
  }
84893
84896
  function z1e(i, e, t, s) {
@@ -85084,8 +85087,8 @@ class W4 {
85084
85087
  return;
85085
85088
  const { point: m } = f, { timestamp: g } = ks;
85086
85089
  this.history.push({ ...m, timestamp: g });
85087
- const { onStart: w, onMove: x } = this.handlers;
85088
- y || (w && w(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
85090
+ const { onStart: b, onMove: x } = this.handlers;
85091
+ y || (b && b(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), x && x(this.lastMoveEvent, f);
85089
85092
  }, this.handlePointerMove = (f, y) => {
85090
85093
  this.lastMoveEvent = f, this.lastRawMoveEventInfo = y, this.lastMoveEventInfo = Uh(y, this.transformPagePoint), Rt.update(this.updatePoint, !0);
85091
85094
  }, this.handlePointerUp = (f, y) => {
@@ -85093,8 +85096,8 @@ class W4 {
85093
85096
  const { onEnd: v, onSessionEnd: m, resumeAnimation: g } = this.handlers;
85094
85097
  if ((this.dragSnapToOrigin || !this.startEvent) && g && g(), !(this.lastMoveEvent && this.lastMoveEventInfo))
85095
85098
  return;
85096
- const w = Kf(f.type === "pointercancel" ? this.lastMoveEventInfo : Uh(y, this.transformPagePoint), this.history);
85097
- this.startEvent && v && v(f, w), m && m(f, w);
85099
+ const b = Kf(f.type === "pointercancel" ? this.lastMoveEventInfo : Uh(y, this.transformPagePoint), this.history);
85100
+ this.startEvent && v && v(f, b), m && m(f, b);
85098
85101
  }, !I0(e))
85099
85102
  return;
85100
85103
  this.dragSnapToOrigin = n, this.handlers = t, this.transformPagePoint = s, this.distanceThreshold = a, this.contextWindow = r || window;
@@ -85254,15 +85257,15 @@ class dye {
85254
85257
  if (f && !y && (this.openDragLock && this.openDragLock(), this.openDragLock = _ve(f), !this.openDragLock))
85255
85258
  return;
85256
85259
  this.latestPointerEvent = c, this.latestPanInfo = d, this.isDragging = !0, this.currentDirection = null, this.resolveConstraints(), this.visualElement.projection && (this.visualElement.projection.isAnimationBlocked = !0, this.visualElement.projection.target = void 0), br((g) => {
85257
- let w = this.getAxisMotionValue(g).get() || 0;
85258
- if (Dr.test(w)) {
85260
+ let b = this.getAxisMotionValue(g).get() || 0;
85261
+ if (Dr.test(b)) {
85259
85262
  const { projection: x } = this.visualElement;
85260
85263
  if (x && x.layout) {
85261
85264
  const T = x.layout.layoutBox[g];
85262
- T && (w = ei(T) * (parseFloat(w) / 100));
85265
+ T && (b = ei(T) * (parseFloat(b) / 100));
85263
85266
  }
85264
85267
  }
85265
- this.originPoint[g] = w;
85268
+ this.originPoint[g] = b;
85266
85269
  }), v && Rt.update(() => v(c, d), !1, !0), gg(this.visualElement, "transform");
85267
85270
  const { animationState: m } = this.visualElement;
85268
85271
  m && m.setActive("whileDrag", !0);
@@ -85800,7 +85803,7 @@ const Z4 = fn({
85800
85803
  }
85801
85804
  v.current = y;
85802
85805
  }, [y]);
85803
- const w = Xe(
85806
+ const b = Xe(
85804
85807
  (V) => {
85805
85808
  c((_) => ({ ..._, [l]: V }));
85806
85809
  },
@@ -85812,9 +85815,9 @@ const Z4 = fn({
85812
85815
  [l]
85813
85816
  ), T = Xe(() => {
85814
85817
  l === e.length - 1 ? i({ slides: f.current }) : u((V) => V + 1);
85815
- }, [l, e.length, i]), A = Xe(() => {
85818
+ }, [l, e.length, i]), R = Xe(() => {
85816
85819
  y && T();
85817
- }, [y, T]), R = Xe(
85820
+ }, [y, T]), A = Xe(
85818
85821
  (V = 0) => {
85819
85822
  d.current && clearTimeout(d.current), d.current = setTimeout(() => T(), V);
85820
85823
  },
@@ -85829,10 +85832,10 @@ const Z4 = fn({
85829
85832
  return lt(() => {
85830
85833
  if (n === !1 && a === !1) return;
85831
85834
  const V = (_) => {
85832
- n && _.key === n && A(), a && _.key === a && D();
85835
+ n && _.key === n && R(), a && _.key === a && D();
85833
85836
  };
85834
85837
  return window.addEventListener("keydown", V), () => window.removeEventListener("keydown", V);
85835
- }, [n, a, A, D]), /* @__PURE__ */ I.jsx(V1e, { children: /* @__PURE__ */ I.jsxs(
85838
+ }, [n, a, R, D]), /* @__PURE__ */ I.jsx(V1e, { children: /* @__PURE__ */ I.jsxs(
85836
85839
  "div",
85837
85840
  {
85838
85841
  className: r,
@@ -85858,7 +85861,7 @@ const Z4 = fn({
85858
85861
  alignItems: "center",
85859
85862
  justifyContent: "center"
85860
85863
  },
85861
- children: /* @__PURE__ */ I.jsx(Z4.Provider, { value: { setCanProgress: w, autoAdvance: R, setSlideData: x }, children: e[l] })
85864
+ children: /* @__PURE__ */ I.jsx(Z4.Provider, { value: { setCanProgress: b, autoAdvance: A, setSlideData: x }, children: e[l] })
85862
85865
  },
85863
85866
  l
85864
85867
  ) }) }),
@@ -85866,7 +85869,7 @@ const Z4 = fn({
85866
85869
  "div",
85867
85870
  {
85868
85871
  style: {
85869
- padding: "1.5rem",
85872
+ padding: "1.5rem 1.5rem 3rem",
85870
85873
  display: "grid",
85871
85874
  gridTemplateColumns: "1fr auto 1fr",
85872
85875
  alignItems: "center"
@@ -85901,7 +85904,7 @@ const Z4 = fn({
85901
85904
  /* @__PURE__ */ I.jsx("div", { style: { justifySelf: "start", marginLeft: "1rem" }, children: /* @__PURE__ */ I.jsx(
85902
85905
  Tx.button,
85903
85906
  {
85904
- onClick: A,
85907
+ onClick: R,
85905
85908
  tabIndex: -1,
85906
85909
  onKeyDown: (V) => {
85907
85910
  (V.key === " " || V.key === "Enter") && V.preventDefault();
@@ -86012,9 +86015,9 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86012
86015
  if (u !== void 0 && h !== void 0) {
86013
86016
  const c = u * u + h * h;
86014
86017
  if (c > 1e-10) {
86015
- const d = Math.sqrt(c), f = u / d, y = h / d, v = l.x - s, m = l.y - r, g = n * n, w = a * a, x = f * f / g + y * y / w, T = v * f / g + m * y / w, A = v * v / g + m * m / w - 1, R = T * T - x * A;
86016
- if (R >= 0) {
86017
- const D = (T + Math.sqrt(R)) / x;
86018
+ const d = Math.sqrt(c), f = u / d, y = h / d, v = l.x - s, m = l.y - r, g = n * n, b = a * a, x = f * f / g + y * y / b, T = v * f / g + m * y / b, R = v * v / g + m * m / b - 1, A = T * T - x * R;
86019
+ if (A >= 0) {
86020
+ const D = (T + Math.sqrt(A)) / x;
86018
86021
  if (D > 0 && Number.isFinite(D))
86019
86022
  return [l.x - f * D, l.y - y * D];
86020
86023
  }
@@ -86060,8 +86063,8 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86060
86063
  const c = Math.sqrt(u * u + h * h);
86061
86064
  if (c < 1e-10)
86062
86065
  return this.getOppositePositionSimple(l);
86063
- const d = -u / c, f = -h / c, y = s - n, v = s + n, m = r - a, g = r + a, w = d !== 0 ? (y - l.x) / d : -1 / 0, x = d !== 0 ? (v - l.x) / d : -1 / 0, T = f !== 0 ? (m - l.y) / f : -1 / 0, A = f !== 0 ? (g - l.y) / f : -1 / 0, R = Math.max(Math.min(w, x), Math.min(T, A)), D = Math.min(Math.max(w, x), Math.max(T, A));
86064
- return D > 0 && R <= D && Number.isFinite(D) ? [l.x + d * D, l.y + f * D] : this.getOppositePositionSimple(l);
86066
+ const d = -u / c, f = -h / c, y = s - n, v = s + n, m = r - a, g = r + a, b = d !== 0 ? (y - l.x) / d : -1 / 0, x = d !== 0 ? (v - l.x) / d : -1 / 0, T = f !== 0 ? (m - l.y) / f : -1 / 0, R = f !== 0 ? (g - l.y) / f : -1 / 0, A = Math.max(Math.min(b, x), Math.min(T, R)), D = Math.min(Math.max(b, x), Math.max(T, R));
86067
+ return D > 0 && A <= D && Number.isFinite(D) ? [l.x + d * D, l.y + f * D] : this.getOppositePositionSimple(l);
86065
86068
  },
86066
86069
  getOppositePositionSimple(l) {
86067
86070
  const u = s - n, h = s + n, c = r - a, d = r + a;
@@ -86155,11 +86158,11 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86155
86158
  coherentDotColor: v,
86156
86159
  backgroundColor: m,
86157
86160
  apertureShape: g,
86158
- apertureWidth: w,
86161
+ apertureWidth: b,
86159
86162
  apertureHeight: x,
86160
86163
  apertureCenterX: T,
86161
- apertureCenterY: A,
86162
- reinsertMode: R,
86164
+ apertureCenterY: R,
86165
+ reinsertMode: A,
86163
86166
  noiseMovement: D,
86164
86167
  reassignEveryMs: V,
86165
86168
  showFixation: _,
@@ -86174,15 +86177,15 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86174
86177
  initialRefreshRate: G,
86175
86178
  style: ne,
86176
86179
  className: Y
86177
- } = { ...xr, ...i }, oe = fe(null), re = fe(), ue = fe(), Ie = fe(), ge = fe(0), te = fe(0), we = fe([]), et = fe(null), Yt = fe(!1), Gt = T ?? t / 2, Is = A ?? s / 2, Et = di(
86180
+ } = { ...xr, ...i }, oe = fe(null), re = fe(), ue = fe(), Ie = fe(), ge = fe(0), te = fe(0), we = fe([]), et = fe(null), Yt = fe(!1), Gt = T ?? t / 2, Is = R ?? s / 2, Et = di(
86178
86181
  () => Mye(
86179
86182
  g,
86180
- w,
86183
+ b,
86181
86184
  x,
86182
86185
  Gt,
86183
86186
  Is
86184
86187
  ),
86185
- [g, w, x, Gt, Is]
86188
+ [g, b, x, Gt, Is]
86186
86189
  ), cs = di(() => {
86187
86190
  const _e = (90 - a) * Math.PI / 180;
86188
86191
  return [Math.cos(_e), -Math.sin(_e)];
@@ -86272,7 +86275,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86272
86275
  ws,
86273
86276
  h,
86274
86277
  Et,
86275
- R,
86278
+ A,
86276
86279
  d,
86277
86280
  cs,
86278
86281
  Di == null ? void 0 : Di[se]
@@ -86295,7 +86298,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86295
86298
  u,
86296
86299
  h,
86297
86300
  Et,
86298
- R,
86301
+ A,
86299
86302
  n,
86300
86303
  d,
86301
86304
  cs,
@@ -86343,11 +86346,11 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86343
86346
  direction: v,
86344
86347
  coherence: m,
86345
86348
  opposite: g,
86346
- speed: w,
86349
+ speed: b,
86347
86350
  dotLifetime: x,
86348
86351
  dotRadius: T,
86349
- dotColor: A,
86350
- backgroundColor: R,
86352
+ dotColor: R,
86353
+ backgroundColor: A,
86351
86354
  apertureShape: D,
86352
86355
  apertureWidth: V,
86353
86356
  apertureHeight: _,
@@ -86404,7 +86407,7 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86404
86407
  }
86405
86408
  };
86406
86409
  return window.addEventListener("keydown", Le), () => window.removeEventListener("keydown", Le);
86407
- }, [h, d, rs]), /* @__PURE__ */ I.jsxs("div", { style: { width: "100vw", height: "100vh", overflow: "hidden", margin: 0, padding: 0, backgroundColor: R }, children: [
86410
+ }, [h, d, rs]), /* @__PURE__ */ I.jsxs("div", { style: { width: "100vw", height: "100vh", overflow: "hidden", margin: 0, padding: 0, backgroundColor: A }, children: [
86408
86411
  /* @__PURE__ */ I.jsx(
86409
86412
  qye,
86410
86413
  {
@@ -86418,14 +86421,14 @@ const kye = 10, Ix = 0.1, Oye = (i, e, t, s) => {
86418
86421
  direction: v,
86419
86422
  coherence: m,
86420
86423
  opposite: g,
86421
- speed: w,
86424
+ speed: b,
86422
86425
  dotLifetime: x,
86423
86426
  updateRate: s,
86424
86427
  dotRadius: T,
86425
86428
  dotCharacter: r,
86426
- dotColor: A,
86429
+ dotColor: R,
86427
86430
  coherentDotColor: n,
86428
- backgroundColor: R,
86431
+ backgroundColor: A,
86429
86432
  apertureShape: D,
86430
86433
  apertureWidth: V,
86431
86434
  apertureHeight: _,
@@ -86533,7 +86536,7 @@ function pCe({
86533
86536
  c.current = { ...c.current, ...q };
86534
86537
  }
86535
86538
  )
86536
- ), y = !n && Oo("hybridSimulation", !1, "boolean") ? "hybrid" : "none", v = fe(r || {}), m = fe(-1), g = { ...$ye, ...t }, w = { ...Hye, ...s }, x = di(() => {
86539
+ ), y = !n && Oo("hybridSimulation", !1, "boolean") ? "hybrid" : "none", v = fe(r || {}), m = fe(-1), g = { ...$ye, ...t }, b = { ...Hye, ...s }, x = di(() => {
86537
86540
  const q = a.instructions.length;
86538
86541
  return q > 0 ? d / q : 0;
86539
86542
  }, [d, a.instructions]);
@@ -86543,7 +86546,7 @@ function pCe({
86543
86546
  function T(q) {
86544
86547
  c.current = { ...c.current, ...q };
86545
86548
  }
86546
- function A(q, Q, L) {
86549
+ function R(q, Q, L) {
86547
86550
  const B = Qs(), H = a.instructions[d], $ = Q !== void 0 ? Q : h.current, j = L !== void 0 ? L : B;
86548
86551
  if ((H == null ? void 0 : H.type) === "ExecuteContent") {
86549
86552
  const ne = H.content;
@@ -86575,7 +86578,7 @@ function pCe({
86575
86578
  );
86576
86579
  G < a.instructions.length && (h.current = Qs()), f(G);
86577
86580
  }
86578
- const R = Xe((q) => {
86581
+ const A = Xe((q) => {
86579
86582
  let Q = 0;
86580
86583
  const L = Qs(), B = 2e4;
86581
86584
  let H, $ = L;
@@ -86594,7 +86597,7 @@ function pCe({
86594
86597
  const L = fe(null), B = fe(null);
86595
86598
  lt(() => {
86596
86599
  if (L.current = Qs(), Q)
86597
- return R((j) => {
86600
+ return A((j) => {
86598
86601
  B.current = j, T({ _reactiveScreenRefreshRate: j });
86599
86602
  });
86600
86603
  }, []);
@@ -86602,7 +86605,7 @@ function pCe({
86602
86605
  if (Ze.isValidElement($)) {
86603
86606
  const j = (G, ne, Y) => {
86604
86607
  const oe = Qs(), re = ne !== void 0 ? ne : L.current;
86605
- A(G, re ?? void 0, (Y !== void 0 ? Y : oe) ?? void 0);
86608
+ R(G, re ?? void 0, (Y !== void 0 ? Y : oe) ?? void 0);
86606
86609
  };
86607
86610
  return Ze.cloneElement($, {
86608
86611
  ...$.props,
@@ -86625,7 +86628,7 @@ function pCe({
86625
86628
  B,
86626
86629
  v.current
86627
86630
  );
86628
- v.current = H.participantState, H.storeUpdates && T(H.storeUpdates), A(H.responseData);
86631
+ v.current = H.participantState, H.storeUpdates && T(H.storeUpdates), R(H.responseData);
86629
86632
  })());
86630
86633
  }, [_, d]);
86631
86634
  let N = null;
@@ -86638,11 +86641,11 @@ function pCe({
86638
86641
  N = /* @__PURE__ */ I.jsx(D, { collectRefreshRate: q.collectRefreshRate, children: /* @__PURE__ */ I.jsx(
86639
86642
  Q,
86640
86643
  {
86641
- next: A,
86644
+ next: R,
86642
86645
  updateStore: T,
86643
86646
  store: c.current,
86644
86647
  data: o.current,
86645
- ...q.type === "Quest" ? { customQuestions: w } : {},
86648
+ ...q.type === "Quest" ? { customQuestions: b } : {},
86646
86649
  ...L
86647
86650
  }
86648
86651
  ) }, d);