hplx-feature-library 1.0.123 → 1.0.124

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.
@@ -17,10 +17,10 @@ function g6(o, u) {
17
17
  const c2 = (o) => {
18
18
  let u;
19
19
  const C = /* @__PURE__ */ new Set(), P = (h, E) => {
20
- const N = typeof h == "function" ? h(u) : h;
21
- if (!Object.is(N, u)) {
20
+ const R = typeof h == "function" ? h(u) : h;
21
+ if (!Object.is(R, u)) {
22
22
  const T = u;
23
- u = E ?? (typeof N != "object" || N === null) ? N : Object.assign({}, u, N), C.forEach((y) => y(u, T));
23
+ u = E ?? (typeof R != "object" || R === null) ? R : Object.assign({}, u, R), C.forEach((y) => y(u, T));
24
24
  }
25
25
  }, A = () => u, m = { setState: P, getState: A, getInitialState: () => S, subscribe: (h) => (C.add(h), () => C.delete(h)) }, S = u = o(P, A, m);
26
26
  return m;
@@ -121,7 +121,7 @@ function R6(o) {
121
121
  }), C;
122
122
  }
123
123
  function N6(o) {
124
- const { setShowPreview: u, setCompareMode: C } = Ya(), { documents: P } = o, A = wa(() => Vf(P) ? P : [...P.documents], [P]), { selectedDocuments: g, setSelectedGroup: p, setSelectedDocuments: m } = Aa(), S = (E, N) => {
124
+ const { setShowPreview: u, setCompareMode: C } = Ya(), { documents: P } = o, A = wa(() => Vf(P) ? P : [...P.documents], [P]), { selectedDocuments: g, setSelectedGroup: p, setSelectedDocuments: m } = Aa(), S = (E, R) => {
125
125
  const T = E.mimeType === Or.JPEG || E.mimeType === Or.PNG;
126
126
  return /* @__PURE__ */ Q.jsx("div", { className: "hfl-w-full hfl-h-full", children: /* @__PURE__ */ Q.jsx(
127
127
  "img",
@@ -130,7 +130,7 @@ function N6(o) {
130
130
  alt: E.label,
131
131
  className: "hfl-w-full hfl-h-full hfl-object-fit"
132
132
  }
133
- ) }, E.id || N);
133
+ ) }, E.id || R);
134
134
  }, h = nn(() => {
135
135
  g.length > 0 || (Vf(P) ? (u(!0), m([P])) : (C(!0), p(P), m(P.documents)));
136
136
  }, [P, g.length, C, m, p, u]);
@@ -139,7 +139,7 @@ function N6(o) {
139
139
  {
140
140
  className: "hfl-grid hfl-grid-cols-2 hfl-grid-rows-2 hfl-w-[220px] hfl-h-[220px] hfl-overflow-hidden hfl-rounded-tl-md hfl-rounded-tr-md hfl-cursor-pointer",
141
141
  onClick: h,
142
- children: A.map((E, N) => S(E, N))
142
+ children: A.map((E, R) => S(E, R))
143
143
  }
144
144
  ) : /* @__PURE__ */ Q.jsx(
145
145
  "div",
@@ -162,8 +162,8 @@ const $y = bu(N6), D6 = (o) => {
162
162
  }, []);
163
163
  return cn(() => {
164
164
  if (!u) return;
165
- const h = (N) => {
166
- g.current && !g.current.contains(N.target) && o.current && !o.current.contains(N.target) && S();
165
+ const h = (R) => {
166
+ g.current && !g.current.contains(R.target) && o.current && !o.current.contains(R.target) && S();
167
167
  }, E = () => {
168
168
  S();
169
169
  };
@@ -209,7 +209,7 @@ function L6(o) {
209
209
  position: S,
210
210
  toggleDropdown: h,
211
211
  dropdownRef: E
212
- } = D6(p), N = wa(
212
+ } = D6(p), R = wa(
213
213
  () => new Date(u.createdAt).toLocaleDateString("en-GB", {
214
214
  day: "2-digit",
215
215
  month: "short",
@@ -250,7 +250,7 @@ function L6(o) {
250
250
  /* @__PURE__ */ Q.jsx(It, { variant: "Medium", type: "Text sm", className: " hfl-text-Gray-900 ", children: u.label.length > 15 ? `${u.label.substring(0, 15)}...` : u.label })
251
251
  ] }),
252
252
  /* @__PURE__ */ Q.jsxs("div", { className: "hfl-w-full hfl-flex hfl-items-center hfl-gap-2 hfl-justify-between", children: [
253
- /* @__PURE__ */ Q.jsx(It, { variant: "Regular", type: "Text xs", className: " hfl-text-Gray-500 ", children: N }),
253
+ /* @__PURE__ */ Q.jsx(It, { variant: "Regular", type: "Text xs", className: " hfl-text-Gray-500 ", children: R }),
254
254
  /* @__PURE__ */ Q.jsxs("div", { className: "hfl-flex hfl-gap-2 hfl-items-center hfl-relative", children: [
255
255
  /* @__PURE__ */ Q.jsx(
256
256
  "img",
@@ -301,11 +301,11 @@ const e5 = bu(L6), O6 = ({ onFileUpload: o, disabled: u = !1 }) => {
301
301
  }, []), S = nn(
302
302
  async (E) => {
303
303
  if (E.preventDefault(), E.stopPropagation(), P(!1), u || A) return;
304
- const N = Array.from(E.dataTransfer.files);
305
- if (N.length !== 0) {
304
+ const R = Array.from(E.dataTransfer.files);
305
+ if (R.length !== 0) {
306
306
  g(!0);
307
307
  try {
308
- await o(N);
308
+ await o(R);
309
309
  } catch (T) {
310
310
  console.error("Error uploading dropped files:", T);
311
311
  } finally {
@@ -498,28 +498,28 @@ function H6({ onFileUpload: o, onEdit: u, onPreview: C, onDownload: P }) {
498
498
  if (E.length !== 0)
499
499
  try {
500
500
  await o(E);
501
- } catch (N) {
502
- console.error("Error uploading files:", N);
501
+ } catch (R) {
502
+ console.error("Error uploading files:", R);
503
503
  } finally {
504
504
  p.current && (p.current.value = "");
505
505
  }
506
506
  };
507
- return /* @__PURE__ */ Q.jsx(t5, { onFileUpload: o, children: A.length > 0 ? /* @__PURE__ */ Q.jsxs("div", { className: "hfl-w-full hfl-overflow-y-scroll hfl-h-full hfl-flex hfl-flex-col hfl-gap-4 hfl-flex-grow hfl-p-4", children: [
508
- g.length > 0 && /* @__PURE__ */ Q.jsx("div", { className: "hfl-py-2 hfl-px-4 hfl-flex hfl-gap-2 hfl-flex-wrap hfl-w-full", children: /* @__PURE__ */ Q.jsx(n5, { onFileUpload: o }) }),
509
- g.map((h) => /* @__PURE__ */ Q.jsxs("div", { children: [
510
- /* @__PURE__ */ Q.jsx(It, { variant: "Medium", type: "Text md", className: "hfl-text-Blue_gray-950 hfl-mb-2 hfl-ml-3", children: h.dateLabel }),
511
- /* @__PURE__ */ Q.jsx("div", { className: "hfl-py-2 hfl-px-4 hfl-flex hfl-gap-2 hfl-flex-wrap hfl-w-full", children: h.documents.map((E) => /* @__PURE__ */ Q.jsx(
507
+ return /* @__PURE__ */ Q.jsx(t5, { onFileUpload: o, children: A.length > 0 ? /* @__PURE__ */ Q.jsx("div", { className: "hfl-w-full hfl-overflow-y-scroll hfl-h-full hfl-flex hfl-flex-col hfl-gap-4 hfl-flex-grow hfl-p-4", children: g.map((h, E) => /* @__PURE__ */ Q.jsxs("div", { children: [
508
+ /* @__PURE__ */ Q.jsx(It, { variant: "Medium", type: "Text md", className: "hfl-text-Blue_gray-950 hfl-mb-2 hfl-ml-3", children: h.dateLabel }),
509
+ /* @__PURE__ */ Q.jsxs("div", { className: "hfl-py-2 hfl-px-4 hfl-flex hfl-gap-2 hfl-flex-wrap hfl-w-full", children: [
510
+ E === 0 && /* @__PURE__ */ Q.jsx(n5, { onFileUpload: o }),
511
+ h.documents.map((R) => /* @__PURE__ */ Q.jsx(
512
512
  e5,
513
513
  {
514
- document: E,
514
+ document: R,
515
515
  onEdit: u,
516
516
  onPreview: C,
517
517
  onDownload: P
518
518
  },
519
- E.id
520
- )) })
521
- ] }, h.dateLabel))
522
- ] }) : /* @__PURE__ */ Q.jsxs("div", { className: "hfl-w-full hfl-h-full hfl-flex hfl-flex-col hfl-items-center hfl-justify-center hfl-py-20", children: [
519
+ R.id
520
+ ))
521
+ ] })
522
+ ] }, h.dateLabel)) }) : /* @__PURE__ */ Q.jsxs("div", { className: "hfl-w-full hfl-h-full hfl-flex hfl-flex-col hfl-items-center hfl-justify-center hfl-py-20", children: [
523
523
  /* @__PURE__ */ Q.jsxs("div", { className: "hfl-flex hfl-flex-col hfl-items-center hfl-justify-center hfl-mb-6", children: [
524
524
  /* @__PURE__ */ Q.jsx("div", { className: "hfl-flex hfl-items-center hfl-justify-center hfl-bg-Gray-100 hfl-rounded-full hfl-w-16 hfl-h-16 hfl-mb-4", children: /* @__PURE__ */ Q.jsx(If, { className: "hfl-text-Gray-500", width: 32, height: 32 }) }),
525
525
  /* @__PURE__ */ Q.jsx(It, { variant: "Regular", type: "Text md", className: "hfl-text-Gray-500", children: "Drag and drop to upload file" })
@@ -564,37 +564,37 @@ function V6() {
564
564
  if (p2) return Fv;
565
565
  p2 = 1;
566
566
  var o = sn;
567
- function u(N, T) {
568
- return N === T && (N !== 0 || 1 / N === 1 / T) || N !== N && T !== T;
567
+ function u(R, T) {
568
+ return R === T && (R !== 0 || 1 / R === 1 / T) || R !== R && T !== T;
569
569
  }
570
570
  var C = typeof Object.is == "function" ? Object.is : u, P = o.useState, A = o.useEffect, g = o.useLayoutEffect, p = o.useDebugValue;
571
- function m(N, T) {
571
+ function m(R, T) {
572
572
  var y = T(), x = P({ inst: { value: y, getSnapshot: T } }), D = x[0].inst, B = x[1];
573
573
  return g(
574
574
  function() {
575
575
  D.value = y, D.getSnapshot = T, S(D) && B({ inst: D });
576
576
  },
577
- [N, y, T]
577
+ [R, y, T]
578
578
  ), A(
579
579
  function() {
580
- return S(D) && B({ inst: D }), N(function() {
580
+ return S(D) && B({ inst: D }), R(function() {
581
581
  S(D) && B({ inst: D });
582
582
  });
583
583
  },
584
- [N]
584
+ [R]
585
585
  ), p(y), y;
586
586
  }
587
- function S(N) {
588
- var T = N.getSnapshot;
589
- N = N.value;
587
+ function S(R) {
588
+ var T = R.getSnapshot;
589
+ R = R.value;
590
590
  try {
591
591
  var y = T();
592
- return !C(N, y);
592
+ return !C(R, y);
593
593
  } catch {
594
594
  return !0;
595
595
  }
596
596
  }
597
- function h(N, T) {
597
+ function h(R, T) {
598
598
  return T();
599
599
  }
600
600
  var E = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? h : m;
@@ -621,11 +621,11 @@ function I6() {
621
621
  "You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."
622
622
  ));
623
623
  var D = x();
624
- if (!N) {
624
+ if (!R) {
625
625
  var B = x();
626
626
  g(D, B) || (console.error(
627
627
  "The result of getSnapshot should be cached to avoid an infinite loop"
628
- ), N = !0);
628
+ ), R = !0);
629
629
  }
630
630
  B = p({
631
631
  inst: { value: D, getSnapshot: x }
@@ -659,7 +659,7 @@ function I6() {
659
659
  return x();
660
660
  }
661
661
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
662
- var A = sn, g = typeof Object.is == "function" ? Object.is : o, p = A.useState, m = A.useEffect, S = A.useLayoutEffect, h = A.useDebugValue, E = !1, N = !1, T = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? P : u;
662
+ var A = sn, g = typeof Object.is == "function" ? Object.is : o, p = A.useState, m = A.useEffect, S = A.useLayoutEffect, h = A.useDebugValue, E = !1, R = !1, T = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? P : u;
663
663
  Gv.useSyncExternalStore = A.useSyncExternalStore !== void 0 ? A.useSyncExternalStore : T, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
664
664
  }()), Gv;
665
665
  }
@@ -798,10 +798,10 @@ async function o5(...o) {
798
798
  for (const D of x)
799
799
  // Skip the special useSWRInfinite and useSWRSubscription keys.
800
800
  !/^\$(inf|sub)\$/.test(D) && T(u.get(D)._k) && y.push(D);
801
- return Promise.all(y.map(N));
801
+ return Promise.all(y.map(R));
802
802
  }
803
- return N(C);
804
- async function N(T) {
803
+ return R(C);
804
+ async function R(T) {
805
805
  const [y] = g1(T);
806
806
  if (!y) return;
807
807
  const [x, D] = s5(u, y), [B, j, b, v] = bl.get(u), M = () => {
@@ -868,15 +868,15 @@ const C2 = (o, u) => {
868
868
  if (!bl.has(o)) {
869
869
  const C = ss($6, u), P = /* @__PURE__ */ Object.create(null), A = o5.bind(Lr, o);
870
870
  let g = ls;
871
- const p = /* @__PURE__ */ Object.create(null), m = (E, N) => {
871
+ const p = /* @__PURE__ */ Object.create(null), m = (E, R) => {
872
872
  const T = p[E] || [];
873
- return p[E] = T, T.push(N), () => T.splice(T.indexOf(N), 1);
874
- }, S = (E, N, T) => {
875
- o.set(E, N);
873
+ return p[E] = T, T.push(R), () => T.splice(T.indexOf(R), 1);
874
+ }, S = (E, R, T) => {
875
+ o.set(E, R);
876
876
  const y = p[E];
877
877
  if (y)
878
878
  for (const x of y)
879
- x(N, T);
879
+ x(R, T);
880
880
  }, h = () => {
881
881
  if (!bl.has(o) && (bl.set(o, [
882
882
  P,
@@ -887,9 +887,9 @@ const C2 = (o, u) => {
887
887
  S,
888
888
  m
889
889
  ]), !Yf)) {
890
- const E = C.initFocus(setTimeout.bind(Lr, C2.bind(Lr, P, r5))), N = C.initReconnect(setTimeout.bind(Lr, C2.bind(Lr, P, a5)));
890
+ const E = C.initFocus(setTimeout.bind(Lr, C2.bind(Lr, P, r5))), R = C.initReconnect(setTimeout.bind(Lr, C2.bind(Lr, P, a5)));
891
891
  g = () => {
892
- E && E(), N && N(), bl.delete(o);
892
+ E && E(), R && R(), bl.delete(o);
893
893
  };
894
894
  }
895
895
  };
@@ -966,8 +966,8 @@ const C2 = (o, u) => {
966
966
  const P = v9(), [A, g, p] = p9(C), m = u9(P, p);
967
967
  let S = o;
968
968
  const { use: h } = m, E = (h || []).concat(g9);
969
- for (let N = E.length; N--; )
970
- S = E[N](S);
969
+ for (let R = E.length; R--; )
970
+ S = E[R](S);
971
971
  return S(A, g || m.fetcher || null, m);
972
972
  }, S9 = (o, u, C) => {
973
973
  const P = u[o] || (u[o] = []);
@@ -999,7 +999,7 @@ const kv = sn.use || // This extra generic is to avoid TypeScript mixing up the
999
999
  }), Vv = {
1000
1000
  dedupe: !0
1001
1001
  }, E2 = Promise.resolve(Lr), x9 = (o, u, C) => {
1002
- const { cache: P, compare: A, suspense: g, fallbackData: p, revalidateOnMount: m, revalidateIfStale: S, refreshInterval: h, refreshWhenHidden: E, refreshWhenOffline: N, keepPreviousData: T } = C, [y, x, D, B] = bl.get(P), [j, b] = g1(o), v = jt(!1), M = jt(!1), L = jt(j), k = jt(u), _ = jt(C), O = () => _.current, H = () => O().isVisible() && O().isOnline(), [F, X, K, $] = s5(P, j), re = jt({}).current, ee = Ht(p) ? Ht(C.fallback) ? Lr : C.fallback[j] : p, pe = (Re, ke) => {
1002
+ const { cache: P, compare: A, suspense: g, fallbackData: p, revalidateOnMount: m, revalidateIfStale: S, refreshInterval: h, refreshWhenHidden: E, refreshWhenOffline: R, keepPreviousData: T } = C, [y, x, D, B] = bl.get(P), [j, b] = g1(o), v = jt(!1), M = jt(!1), L = jt(j), k = jt(u), _ = jt(C), O = () => _.current, H = () => O().isVisible() && O().isOnline(), [F, X, K, $] = s5(P, j), re = jt({}).current, ee = Ht(p) ? Ht(C.fallback) ? Lr : C.fallback[j] : p, pe = (Re, ke) => {
1003
1003
  for (const Ge in re) {
1004
1004
  const $e = Ge;
1005
1005
  if ($e === "data") {
@@ -1141,7 +1141,7 @@ const kv = sn.use || // This extra generic is to avoid TypeScript mixing up the
1141
1141
  $e && Re !== -1 && (Re = setTimeout(Ge, $e));
1142
1142
  }
1143
1143
  function Ge() {
1144
- !F().error && (E || O().isVisible()) && (N || O().isOnline()) ? Ae(Vv).then(ke) : ke();
1144
+ !F().error && (E || O().isVisible()) && (R || O().isOnline()) ? Ae(Vv).then(ke) : ke();
1145
1145
  }
1146
1146
  return ke(), () => {
1147
1147
  Re && (clearTimeout(Re), Re = -1);
@@ -1149,7 +1149,7 @@ const kv = sn.use || // This extra generic is to avoid TypeScript mixing up the
1149
1149
  }, [
1150
1150
  h,
1151
1151
  E,
1152
- N,
1152
+ R,
1153
1153
  j
1154
1154
  ]), c6(we), g) {
1155
1155
  const Re = j && Ht(oe);
@@ -1247,7 +1247,7 @@ function A9({
1247
1247
  setIsUploading: g,
1248
1248
  onHeaderBackClickCb: p
1249
1249
  }) {
1250
- const [m, S] = at(!1), [h, E] = at(""), [N, T] = at(null), y = jt(null), x = jt(null), D = jt(null), { documentView: B, setDocumentView: j } = Aa(), [b, v] = at(""), [M, L] = at(""), { setSearch: k, setTypes: _, setDates: O, setPage: H, setHasData: F } = Ya(), [X, K] = at([]), { setCompareMode: $, setShowPreview: re } = Ya(), { clearSelectedDocuments: ee } = Aa();
1250
+ const [m, S] = at(!1), [h, E] = at(""), [R, T] = at(null), y = jt(null), x = jt(null), D = jt(null), { documentView: B, setDocumentView: j } = Aa(), [b, v] = at(""), [M, L] = at(""), { setSearch: k, setTypes: _, setDates: O, setPage: H, setHasData: F } = Ya(), [X, K] = at([]), { setCompareMode: $, setShowPreview: re } = Ya(), { clearSelectedDocuments: ee } = Aa();
1251
1251
  cn(() => {
1252
1252
  const ae = X.map((Ce) => Ce === "unspecified" ? "" : Ce);
1253
1253
  _(ae);
@@ -1257,7 +1257,7 @@ function A9({
1257
1257
  }, z = (ae) => {
1258
1258
  E(ae.target.value);
1259
1259
  }, U = (ae) => {
1260
- T(N === ae ? null : ae);
1260
+ T(R === ae ? null : ae);
1261
1261
  }, W = (ae) => {
1262
1262
  const Ce = X.includes(ae) ? X.filter((Ae) => Ae !== ae) : [...X, ae];
1263
1263
  K(Ce);
@@ -1290,7 +1290,7 @@ function A9({
1290
1290
  }), [h, k, H]), v6(y, () => {
1291
1291
  m && (S(!1), T(null));
1292
1292
  });
1293
- const me = () => N ? N === "type" ? w9.type.map((ae) => /* @__PURE__ */ Q.jsx(
1293
+ const me = () => R ? R === "type" ? w9.type.map((ae) => /* @__PURE__ */ Q.jsx(
1294
1294
  "div",
1295
1295
  {
1296
1296
  className: "hfl-hover:bg-Gray-50 hfl-flex hfl-items-center hfl-gap-3 hfl-rounded hfl-px-2 hfl-py-2",
@@ -1305,7 +1305,7 @@ function A9({
1305
1305
  )
1306
1306
  },
1307
1307
  ae.value
1308
- )) : N === "date" ? /* @__PURE__ */ Q.jsxs("div", { className: "hfl-p-3 hfl-flex hfl-flex-col hfl-gap-3", children: [
1308
+ )) : R === "date" ? /* @__PURE__ */ Q.jsxs("div", { className: "hfl-p-3 hfl-flex hfl-flex-col hfl-gap-3", children: [
1309
1309
  /* @__PURE__ */ Q.jsxs("div", { children: [
1310
1310
  /* @__PURE__ */ Q.jsx("label", { className: "hfl-block hfl-text-sm hfl-font-medium hfl-text-Gray-700 hfl-mb-1", children: "Start Date" }),
1311
1311
  /* @__PURE__ */ Q.jsx(
@@ -1373,14 +1373,14 @@ function A9({
1373
1373
  }
1374
1374
  )
1375
1375
  ] }),
1376
- N && /* @__PURE__ */ Q.jsx("div", { className: "hfl-max-h-64 hfl-w-56 hfl-overflow-y-auto hfl-border-l hfl-border-Gray-200", children: /* @__PURE__ */ Q.jsxs("div", { className: "hfl-p-3", children: [
1376
+ R && /* @__PURE__ */ Q.jsx("div", { className: "hfl-max-h-64 hfl-w-56 hfl-overflow-y-auto hfl-border-l hfl-border-Gray-200", children: /* @__PURE__ */ Q.jsxs("div", { className: "hfl-p-3", children: [
1377
1377
  /* @__PURE__ */ Q.jsx(
1378
1378
  It,
1379
1379
  {
1380
1380
  variant: "Semibold",
1381
1381
  type: "Text xs",
1382
1382
  className: "hfl-mb-2 hfl-uppercase hfl-text-Gray-600",
1383
- children: N === "date" ? "Select Date Range" : "Select Document Type"
1383
+ children: R === "date" ? "Select Date Range" : "Select Document Type"
1384
1384
  }
1385
1385
  ),
1386
1386
  me()
@@ -1493,9 +1493,9 @@ function f5(o) {
1493
1493
  const y = P?.current?.clientHeight || 0;
1494
1494
  u(y);
1495
1495
  }, [u]);
1496
- const { setCompareMode: E, setShowPreview: N } = Ya(), T = nn(() => {
1497
- N(!1), E(!1), S(null), h(), m(!1);
1498
- }, [h, E, S, N, m]);
1496
+ const { setCompareMode: E, setShowPreview: R } = Ya(), T = nn(() => {
1497
+ R(!1), E(!1), S(null), h(), m(!1);
1498
+ }, [h, E, S, R, m]);
1499
1499
  return /* @__PURE__ */ Q.jsxs(
1500
1500
  "div",
1501
1501
  {
@@ -1686,7 +1686,7 @@ function An() {
1686
1686
  }
1687
1687
  }
1688
1688
  o.Transform = C;
1689
- const P = "[object Array]", A = "[object Number]", g = "[object String]", p = "[object Boolean]", m = Math.PI / 180, S = 180 / Math.PI, h = "#", E = "", N = "0", T = "Konva warning: ", y = "Konva error: ", x = "rgb(", D = {
1689
+ const P = "[object Array]", A = "[object Number]", g = "[object String]", p = "[object Boolean]", m = Math.PI / 180, S = 180 / Math.PI, h = "#", E = "", R = "0", T = "Konva warning: ", y = "Konva error: ", x = "rgb(", D = {
1690
1690
  aliceblue: [240, 248, 255],
1691
1691
  antiquewhite: [250, 235, 215],
1692
1692
  aqua: [0, 255, 255],
@@ -1921,7 +1921,7 @@ function An() {
1921
1921
  getRandomColor() {
1922
1922
  let v = (Math.random() * 16777215 << 0).toString(16);
1923
1923
  for (; v.length < 6; )
1924
- v = N + v;
1924
+ v = R + v;
1925
1925
  return h + v;
1926
1926
  },
1927
1927
  getRGB(v) {
@@ -2175,7 +2175,7 @@ function d5() {
2175
2175
  }
2176
2176
  return b;
2177
2177
  }
2178
- const P = ",", A = "(", g = ")", p = "([", m = "])", S = ";", h = "()", E = "=", N = [
2178
+ const P = ",", A = "(", g = ")", p = "([", m = "])", S = ";", h = "()", E = "=", R = [
2179
2179
  "arc",
2180
2180
  "arcTo",
2181
2181
  "beginPath",
@@ -2402,7 +2402,7 @@ function d5() {
2402
2402
  this._context.translate(b, v);
2403
2403
  }
2404
2404
  _enableTrace() {
2405
- let b = this, v = N.length, M = this.setAttr, L, k;
2405
+ let b = this, v = R.length, M = this.setAttr, L, k;
2406
2406
  const _ = function(O) {
2407
2407
  let H = b[O], F;
2408
2408
  b[O] = function() {
@@ -2413,7 +2413,7 @@ function d5() {
2413
2413
  };
2414
2414
  };
2415
2415
  for (L = 0; L < v; L++)
2416
- _(N[L]);
2416
+ _(R[L]);
2417
2417
  b.setAttr = function() {
2418
2418
  M.apply(b, arguments);
2419
2419
  const O = arguments[0];
@@ -2551,15 +2551,15 @@ function r0() {
2551
2551
  return P;
2552
2552
  const S = o.Util.createCanvasElement(), h = S.getContext("2d");
2553
2553
  return P = function() {
2554
- const E = C.Konva._global.devicePixelRatio || 1, N = h.webkitBackingStorePixelRatio || h.mozBackingStorePixelRatio || h.msBackingStorePixelRatio || h.oBackingStorePixelRatio || h.backingStorePixelRatio || 1;
2555
- return E / N;
2554
+ const E = C.Konva._global.devicePixelRatio || 1, R = h.webkitBackingStorePixelRatio || h.mozBackingStorePixelRatio || h.msBackingStorePixelRatio || h.oBackingStorePixelRatio || h.backingStorePixelRatio || 1;
2555
+ return E / R;
2556
2556
  }(), o.Util.releaseCanvas(S), P;
2557
2557
  }
2558
2558
  let g = class {
2559
2559
  constructor(h) {
2560
2560
  this.pixelRatio = 1, this.width = 0, this.height = 0, this.isCache = !1;
2561
- const N = (h || {}).pixelRatio || C.Konva.pixelRatio || A();
2562
- this.pixelRatio = N, this._canvas = o.Util.createCanvasElement(), this._canvas.style.padding = "0", this._canvas.style.margin = "0", this._canvas.style.border = "0", this._canvas.style.background = "transparent", this._canvas.style.position = "absolute", this._canvas.style.top = "0", this._canvas.style.left = "0";
2561
+ const R = (h || {}).pixelRatio || C.Konva.pixelRatio || A();
2562
+ this.pixelRatio = R, this._canvas = o.Util.createCanvasElement(), this._canvas.style.padding = "0", this._canvas.style.margin = "0", this._canvas.style.border = "0", this._canvas.style.background = "transparent", this._canvas.style.position = "absolute", this._canvas.style.top = "0", this._canvas.style.left = "0";
2563
2563
  }
2564
2564
  getContext() {
2565
2565
  return this.context;
@@ -2688,7 +2688,7 @@ function y1() {
2688
2688
  var Qv = {}, oa = {}, N2;
2689
2689
  function zt() {
2690
2690
  if (N2) return oa;
2691
- N2 = 1, Object.defineProperty(oa, "__esModule", { value: !0 }), oa.RGBComponent = P, oa.alphaComponent = A, oa.getNumberValidator = g, oa.getNumberOrArrayOfNumbersValidator = p, oa.getNumberOrAutoValidator = m, oa.getStringValidator = S, oa.getStringOrGradientValidator = h, oa.getFunctionValidator = E, oa.getNumberArrayValidator = N, oa.getBooleanValidator = T, oa.getComponentValidator = y;
2691
+ N2 = 1, Object.defineProperty(oa, "__esModule", { value: !0 }), oa.RGBComponent = P, oa.alphaComponent = A, oa.getNumberValidator = g, oa.getNumberOrArrayOfNumbersValidator = p, oa.getNumberOrAutoValidator = m, oa.getStringValidator = S, oa.getStringOrGradientValidator = h, oa.getFunctionValidator = E, oa.getNumberArrayValidator = R, oa.getBooleanValidator = T, oa.getComponentValidator = y;
2692
2692
  const o = Et(), u = An();
2693
2693
  function C(x) {
2694
2694
  return u.Util._isString(x) ? '"' + x + '"' : Object.prototype.toString.call(x) === "[object Number]" || u.Util._isBoolean(x) ? x : Object.prototype.toString.call(x);
@@ -2737,7 +2737,7 @@ function zt() {
2737
2737
  return u.Util._isFunction(x) || u.Util.warn(C(x) + ' is a not valid value for "' + D + '" attribute. The value should be a function.'), x;
2738
2738
  };
2739
2739
  }
2740
- function N() {
2740
+ function R() {
2741
2741
  if (o.Konva.isUnminified)
2742
2742
  return function(x, D) {
2743
2743
  const B = Int8Array ? Object.getPrototypeOf(Int8Array) : null;
@@ -2787,12 +2787,12 @@ function Rt() {
2787
2787
  };
2788
2788
  },
2789
2789
  addComponentsGetterSetter(g, p, m, S, h) {
2790
- const E = m.length, N = u.Util._capitalize, T = P + N(p), y = A + N(p);
2790
+ const E = m.length, R = u.Util._capitalize, T = P + R(p), y = A + R(p);
2791
2791
  g.prototype[T] = function() {
2792
2792
  const D = {};
2793
2793
  for (let B = 0; B < E; B++) {
2794
2794
  const j = m[B];
2795
- D[j] = this.getAttr(p + N(j));
2795
+ D[j] = this.getAttr(p + R(j));
2796
2796
  }
2797
2797
  return D;
2798
2798
  };
@@ -2801,9 +2801,9 @@ function Rt() {
2801
2801
  const B = this.attrs[p];
2802
2802
  S && (D = S.call(this, D, p)), x && x.call(this, D, p);
2803
2803
  for (const j in D)
2804
- D.hasOwnProperty(j) && this._setAttr(p + N(j), D[j]);
2804
+ D.hasOwnProperty(j) && this._setAttr(p + R(j), D[j]);
2805
2805
  return D || m.forEach((j) => {
2806
- this._setAttr(p + N(j), void 0);
2806
+ this._setAttr(p + R(j), void 0);
2807
2807
  }), this._fireChangeEvent(p, B, D), h && h.call(this), this;
2808
2808
  }, o.Factory.addOverloadedGetterSetter(g, p);
2809
2809
  },
@@ -2818,19 +2818,19 @@ function Rt() {
2818
2818
  const h = P + u.Util._capitalize(p), E = p + " property is deprecated and will be removed soon. Look at Konva change log for more information.";
2819
2819
  g.prototype[h] = function() {
2820
2820
  u.Util.error(E);
2821
- const N = this.attrs[p];
2822
- return N === void 0 ? m : N;
2821
+ const R = this.attrs[p];
2822
+ return R === void 0 ? m : R;
2823
2823
  }, o.Factory.addSetter(g, p, S, function() {
2824
2824
  u.Util.error(E);
2825
2825
  }), o.Factory.addOverloadedGetterSetter(g, p);
2826
2826
  },
2827
2827
  backCompat(g, p) {
2828
2828
  u.Util.each(p, function(m, S) {
2829
- const h = g.prototype[S], E = P + u.Util._capitalize(m), N = A + u.Util._capitalize(m);
2829
+ const h = g.prototype[S], E = P + u.Util._capitalize(m), R = A + u.Util._capitalize(m);
2830
2830
  function T() {
2831
2831
  h.apply(this, arguments), u.Util.error('"' + m + '" method is deprecated and will be removed soon. Use ""' + S + '" instead.');
2832
2832
  }
2833
- g.prototype[m] = T, g.prototype[E] = T, g.prototype[N] = T;
2833
+ g.prototype[m] = T, g.prototype[E] = T, g.prototype[R] = T;
2834
2834
  });
2835
2835
  },
2836
2836
  afterSetFilter() {
@@ -2843,7 +2843,7 @@ var P2;
2843
2843
  function Mn() {
2844
2844
  if (P2) return $c;
2845
2845
  P2 = 1, Object.defineProperty($c, "__esModule", { value: !0 }), $c.Node = void 0;
2846
- const o = r0(), u = y1(), C = Rt(), P = Et(), A = An(), g = zt(), p = "absoluteOpacity", m = "allEventListeners", S = "absoluteTransform", h = "absoluteScale", E = "canvas", N = "Change", T = "children", y = "konva", x = "listening", D = "mouseenter", B = "mouseleave", j = "pointerenter", b = "pointerleave", v = "touchenter", M = "touchleave", L = "set", k = "Shape", _ = " ", O = "stage", H = "transform", F = "Stage", X = "visible", K = [
2846
+ const o = r0(), u = y1(), C = Rt(), P = Et(), A = An(), g = zt(), p = "absoluteOpacity", m = "allEventListeners", S = "absoluteTransform", h = "absoluteScale", E = "canvas", R = "Change", T = "children", y = "konva", x = "listening", D = "mouseenter", B = "mouseleave", j = "pointerenter", b = "pointerleave", v = "touchenter", M = "touchleave", L = "set", k = "Shape", _ = " ", O = "stage", H = "transform", F = "Stage", X = "visible", K = [
2847
2847
  "xChange.konva",
2848
2848
  "yChange.konva",
2849
2849
  "scaleXChange.konva",
@@ -3445,7 +3445,7 @@ function Mn() {
3445
3445
  }
3446
3446
  }
3447
3447
  _fireChangeEvent(z, U, W) {
3448
- this._fire(z + N, {
3448
+ this._fire(z + R, {
3449
3449
  oldVal: U,
3450
3450
  newVal: W
3451
3451
  });
@@ -3758,7 +3758,7 @@ function a0() {
3758
3758
  }), this._requestDraw();
3759
3759
  }
3760
3760
  drawScene(g, p, m) {
3761
- const S = this.getLayer(), h = g || S && S.getCanvas(), E = h && h.getContext(), N = this._getCanvasCache(), T = N && N.scene, y = h && h.isCache;
3761
+ const S = this.getLayer(), h = g || S && S.getCanvas(), E = h && h.getContext(), R = this._getCanvasCache(), T = R && R.scene, y = h && h.isCache;
3762
3762
  if (!this.isVisible() && !y)
3763
3763
  return this;
3764
3764
  if (T) {
@@ -3783,7 +3783,7 @@ function a0() {
3783
3783
  }
3784
3784
  _drawChildren(g, p, m, S) {
3785
3785
  var h;
3786
- const E = p && p.getContext(), N = this.clipWidth(), T = this.clipHeight(), y = this.clipFunc(), x = typeof N == "number" && typeof T == "number" || y, D = m === this;
3786
+ const E = p && p.getContext(), R = this.clipWidth(), T = this.clipHeight(), y = this.clipFunc(), x = typeof R == "number" && typeof T == "number" || y, D = m === this;
3787
3787
  if (x) {
3788
3788
  E.save();
3789
3789
  const j = this.getAbsoluteTransform(m);
@@ -3794,7 +3794,7 @@ function a0() {
3794
3794
  v = y.call(this, E, this);
3795
3795
  else {
3796
3796
  const M = this.clipX(), L = this.clipY();
3797
- E.rect(M || 0, L || 0, N, T);
3797
+ E.rect(M || 0, L || 0, R, T);
3798
3798
  }
3799
3799
  E.clip.apply(E, v), b = j.copy().invert().getMatrix(), E.transform(b[0], b[1], b[2], b[3], b[4], b[5]);
3800
3800
  }
@@ -3806,7 +3806,7 @@ function a0() {
3806
3806
  getClientRect(g = {}) {
3807
3807
  var p;
3808
3808
  const m = g.skipTransform, S = g.relativeTo;
3809
- let h, E, N, T, y = {
3809
+ let h, E, R, T, y = {
3810
3810
  x: 1 / 0,
3811
3811
  y: 1 / 0,
3812
3812
  width: 0,
@@ -3821,7 +3821,7 @@ function a0() {
3821
3821
  skipShadow: g.skipShadow,
3822
3822
  skipStroke: g.skipStroke
3823
3823
  });
3824
- b.width === 0 && b.height === 0 || (h === void 0 ? (h = b.x, E = b.y, N = b.x + b.width, T = b.y + b.height) : (h = Math.min(h, b.x), E = Math.min(E, b.y), N = Math.max(N, b.x + b.width), T = Math.max(T, b.y + b.height)));
3824
+ b.width === 0 && b.height === 0 || (h === void 0 ? (h = b.x, E = b.y, R = b.x + b.width, T = b.y + b.height) : (h = Math.min(h, b.x), E = Math.min(E, b.y), R = Math.max(R, b.x + b.width), T = Math.max(T, b.y + b.height)));
3825
3825
  });
3826
3826
  const D = this.find("Shape");
3827
3827
  let B = !1;
@@ -3833,7 +3833,7 @@ function a0() {
3833
3833
  return B && h !== void 0 ? y = {
3834
3834
  x: h,
3835
3835
  y: E,
3836
- width: N - h,
3836
+ width: R - h,
3837
3837
  height: T - E
3838
3838
  } : y = {
3839
3839
  x: 0,
@@ -3874,8 +3874,8 @@ function h5() {
3874
3874
  const E = u.get(S);
3875
3875
  if (!E)
3876
3876
  return;
3877
- const N = E.getStage();
3878
- N && N.content, u.delete(S), C && E._fire("lostpointercapture", A(new PointerEvent("lostpointercapture")));
3877
+ const R = E.getStage();
3878
+ R && R.content, u.delete(S), C && E._fire("lostpointercapture", A(new PointerEvent("lostpointercapture")));
3879
3879
  }
3880
3880
  return rs;
3881
3881
  }
@@ -3883,7 +3883,7 @@ var O2;
3883
3883
  function N9() {
3884
3884
  return O2 || (O2 = 1, function(o) {
3885
3885
  Object.defineProperty(o, "__esModule", { value: !0 }), o.Stage = o.stages = void 0;
3886
- const u = An(), C = Rt(), P = a0(), A = Et(), g = r0(), p = y1(), m = Et(), S = h5(), h = "Stage", E = "string", N = "px", T = "mouseout", y = "mouseleave", x = "mouseover", D = "mouseenter", B = "mousemove", j = "mousedown", b = "mouseup", v = "pointermove", M = "pointerdown", L = "pointerup", k = "pointercancel", _ = "lostpointercapture", O = "pointerout", H = "pointerleave", F = "pointerover", X = "pointerenter", K = "contextmenu", $ = "touchstart", re = "touchend", ee = "touchmove", pe = "touchcancel", z = "wheel", U = 5, W = [
3886
+ const u = An(), C = Rt(), P = a0(), A = Et(), g = r0(), p = y1(), m = Et(), S = h5(), h = "Stage", E = "string", R = "px", T = "mouseout", y = "mouseleave", x = "mouseover", D = "mouseenter", B = "mousemove", j = "mousedown", b = "mouseup", v = "pointermove", M = "pointerdown", L = "pointerup", k = "pointercancel", _ = "lostpointercapture", O = "pointerout", H = "pointerleave", F = "pointerover", X = "pointerenter", K = "contextmenu", $ = "touchstart", re = "touchend", ee = "touchmove", pe = "touchcancel", z = "wheel", U = 5, W = [
3887
3887
  [D, "_pointerenter"],
3888
3888
  [j, "_pointerdown"],
3889
3889
  [B, "_pointermove"],
@@ -4047,7 +4047,7 @@ function N9() {
4047
4047
  }
4048
4048
  _resizeDOM() {
4049
4049
  const J = this.width(), ae = this.height();
4050
- this.content && (this.content.style.width = J + N, this.content.style.height = ae + N), this.bufferCanvas.setSize(J, ae), this.bufferHitCanvas.setSize(J, ae), this.children.forEach((Ce) => {
4050
+ this.content && (this.content.style.width = J + R, this.content.style.height = ae + R), this.bufferCanvas.setSize(J, ae), this.bufferHitCanvas.setSize(J, ae), this.children.forEach((Ce) => {
4051
4051
  Ce.setSize({ width: J, height: ae }), Ce.draw();
4052
4052
  });
4053
4053
  }
@@ -4321,7 +4321,7 @@ var tf = {}, Jv = {}, z2;
4321
4321
  function sr() {
4322
4322
  return z2 || (z2 = 1, function(o) {
4323
4323
  Object.defineProperty(o, "__esModule", { value: !0 }), o.Shape = o.shapes = void 0;
4324
- const u = Et(), C = An(), P = Rt(), A = Mn(), g = zt(), p = Et(), m = h5(), S = "hasShadow", h = "shadowRGBA", E = "patternImage", N = "linearGradient", T = "radialGradient";
4324
+ const u = Et(), C = An(), P = Rt(), A = Mn(), g = zt(), p = Et(), m = h5(), S = "hasShadow", h = "shadowRGBA", E = "patternImage", R = "linearGradient", T = "radialGradient";
4325
4325
  let y;
4326
4326
  function x() {
4327
4327
  return y || (y = C.Util.createCanvasElement().getContext("2d"), y);
@@ -4351,7 +4351,7 @@ function sr() {
4351
4351
  this._clearCache(E);
4352
4352
  }
4353
4353
  function k() {
4354
- this._clearCache(N);
4354
+ this._clearCache(R);
4355
4355
  }
4356
4356
  function _() {
4357
4357
  this._clearCache(T);
@@ -4405,7 +4405,7 @@ function sr() {
4405
4405
  }
4406
4406
  }
4407
4407
  _getLinearGradient() {
4408
- return this._getCache(N, this.__getLinearGradient);
4408
+ return this._getCache(R, this.__getLinearGradient);
4409
4409
  }
4410
4410
  __getLinearGradient() {
4411
4411
  const F = this.fillLinearGradientColorStops();
@@ -4616,13 +4616,13 @@ var F2;
4616
4616
  function p5() {
4617
4617
  if (F2) return tf;
4618
4618
  F2 = 1, Object.defineProperty(tf, "__esModule", { value: !0 }), tf.Layer = void 0;
4619
- const o = An(), u = a0(), C = Mn(), P = Rt(), A = r0(), g = zt(), p = sr(), m = Et(), S = "#", h = "beforeDraw", E = "draw", N = [
4619
+ const o = An(), u = a0(), C = Mn(), P = Rt(), A = r0(), g = zt(), p = sr(), m = Et(), S = "#", h = "beforeDraw", E = "draw", R = [
4620
4620
  { x: 0, y: 0 },
4621
4621
  { x: -1, y: -1 },
4622
4622
  { x: 1, y: -1 },
4623
4623
  { x: 1, y: 1 },
4624
4624
  { x: -1, y: 1 }
4625
- ], T = N.length;
4625
+ ], T = R.length;
4626
4626
  class y extends u.Container {
4627
4627
  constructor(D) {
4628
4628
  super(D), this.canvas = new A.SceneCanvas(), this.hitCanvas = new A.HitCanvas({
@@ -4736,7 +4736,7 @@ function p5() {
4736
4736
  let B = 1, j = !1;
4737
4737
  for (; ; ) {
4738
4738
  for (let b = 0; b < T; b++) {
4739
- const v = N[b], M = this._getIntersection({
4739
+ const v = R[b], M = this._getIntersection({
4740
4740
  x: D.x + v.x * B,
4741
4741
  y: D.y + v.y * B
4742
4742
  }), L = M.shape;
@@ -4893,10 +4893,10 @@ function x1() {
4893
4893
  for (let m = 0; m < p.length; m++) {
4894
4894
  const S = p[m], h = S.layers, E = S.func;
4895
4895
  S._updateFrameObject(C());
4896
- const N = h.length;
4896
+ const R = h.length;
4897
4897
  let T;
4898
4898
  if (E ? T = E.call(S, S.frame) !== !1 : T = !0, !!T)
4899
- for (let y = 0; y < N; y++) {
4899
+ for (let y = 0; y < R; y++) {
4900
4900
  const x = h[y];
4901
4901
  x._id !== void 0 && (g[x._id] = x);
4902
4902
  }
@@ -4926,7 +4926,7 @@ function P9() {
4926
4926
  yoyo: 1
4927
4927
  }, p = 1, m = 2, S = 3, h = ["fill", "stroke", "shadowColor"];
4928
4928
  let E = 0;
4929
- class N {
4929
+ class R {
4930
4930
  constructor(x, D, B, j, b, v, M) {
4931
4931
  this.prop = x, this.propFunc = D, this.begin = j, this._pos = j, this.duration = v, this._change = 0, this.prevPos = 0, this.yoyo = M, this._time = 0, this._position = 0, this._startTime = 0, this._finish = 0, this.func = B, this._change = b - this.begin, this.pause();
4932
4932
  }
@@ -4983,7 +4983,7 @@ function P9() {
4983
4983
  const k = B.getLayer() || (B instanceof A.Konva.Stage ? B.getLayers() : null);
4984
4984
  k || u.Util.error("Tween constructor have `node` that is not in a layer. Please add node into layer first."), this.anim = new C.Animation(function() {
4985
4985
  D.tween.onEnterFrame();
4986
- }, k), this.tween = new N(L, function(_) {
4986
+ }, k), this.tween = new R(L, function(_) {
4987
4987
  D._tweenFunc(_);
4988
4988
  }, b, 0, 1, M * 1e3, v), this._addListeners(), T.attrs[j] || (T.attrs[j] = {}), T.attrs[j][this._id] || (T.attrs[j][this._id] = {}), T.tweens[j] || (T.tweens[j] = {});
4989
4989
  for (L in x)
@@ -5150,7 +5150,7 @@ var H2;
5150
5150
  function h1() {
5151
5151
  return H2 || (H2 = 1, function(o) {
5152
5152
  Object.defineProperty(o, "__esModule", { value: !0 }), o.Konva = void 0;
5153
- const u = Et(), C = An(), P = Mn(), A = a0(), g = N9(), p = p5(), m = D9(), S = S1(), h = y1(), E = sr(), N = x1(), T = P9(), y = d5(), x = r0();
5153
+ const u = Et(), C = An(), P = Mn(), A = a0(), g = N9(), p = p5(), m = D9(), S = S1(), h = y1(), E = sr(), R = x1(), T = P9(), y = d5(), x = r0();
5154
5154
  o.Konva = C.Util._assign(u.Konva, {
5155
5155
  Util: C.Util,
5156
5156
  Transform: C.Transform,
@@ -5164,7 +5164,7 @@ function h1() {
5164
5164
  DD: h.DD,
5165
5165
  Shape: E.Shape,
5166
5166
  shapes: E.shapes,
5167
- Animation: N.Animation,
5167
+ Animation: R.Animation,
5168
5168
  Tween: T.Tween,
5169
5169
  Easings: T.Easings,
5170
5170
  Context: y.Context,
@@ -5195,7 +5195,7 @@ function M9() {
5195
5195
  this.outerRadius(m / 2);
5196
5196
  }
5197
5197
  getSelfRect() {
5198
- const m = this.innerRadius(), S = this.outerRadius(), h = this.clockwise(), E = C.Konva.getAngle(h ? 360 - this.angle() : this.angle()), N = Math.cos(Math.min(E, Math.PI)), T = 1, y = Math.sin(Math.min(Math.max(Math.PI, E), 3 * Math.PI / 2)), x = Math.sin(Math.min(E, Math.PI / 2)), D = N * (N > 0 ? m : S), B = T * S, j = y * (y > 0 ? m : S), b = x * (x > 0 ? S : m);
5198
+ const m = this.innerRadius(), S = this.outerRadius(), h = this.clockwise(), E = C.Konva.getAngle(h ? 360 - this.angle() : this.angle()), R = Math.cos(Math.min(E, Math.PI)), T = 1, y = Math.sin(Math.min(Math.max(Math.PI, E), 3 * Math.PI / 2)), x = Math.sin(Math.min(E, Math.PI / 2)), D = R * (R > 0 ? m : S), B = T * S, j = y * (y > 0 ? m : S), b = x * (x > 0 ? S : m);
5199
5199
  return {
5200
5200
  x: D,
5201
5201
  y: h ? -1 * b : j,
@@ -5216,15 +5216,15 @@ function v5() {
5216
5216
  if (V2) return of;
5217
5217
  V2 = 1, Object.defineProperty(of, "__esModule", { value: !0 }), of.Line = void 0;
5218
5218
  const o = Rt(), u = Et(), C = sr(), P = zt();
5219
- function A(m, S, h, E, N, T, y) {
5220
- const x = Math.sqrt(Math.pow(h - m, 2) + Math.pow(E - S, 2)), D = Math.sqrt(Math.pow(N - h, 2) + Math.pow(T - E, 2)), B = y * x / (x + D), j = y * D / (x + D), b = h - B * (N - m), v = E - B * (T - S), M = h + j * (N - m), L = E + j * (T - S);
5219
+ function A(m, S, h, E, R, T, y) {
5220
+ const x = Math.sqrt(Math.pow(h - m, 2) + Math.pow(E - S, 2)), D = Math.sqrt(Math.pow(R - h, 2) + Math.pow(T - E, 2)), B = y * x / (x + D), j = y * D / (x + D), b = h - B * (R - m), v = E - B * (T - S), M = h + j * (R - m), L = E + j * (T - S);
5221
5221
  return [b, v, M, L];
5222
5222
  }
5223
5223
  function g(m, S) {
5224
5224
  const h = m.length, E = [];
5225
- for (let N = 2; N < h - 2; N += 2) {
5226
- const T = A(m[N - 2], m[N - 1], m[N], m[N + 1], m[N + 2], m[N + 3], S);
5227
- isNaN(T[0]) || (E.push(T[0]), E.push(T[1]), E.push(m[N]), E.push(m[N + 1]), E.push(T[2]), E.push(T[3]));
5225
+ for (let R = 2; R < h - 2; R += 2) {
5226
+ const T = A(m[R - 2], m[R - 1], m[R], m[R + 1], m[R + 2], m[R + 3], S);
5227
+ isNaN(T[0]) || (E.push(T[0]), E.push(T[1]), E.push(m[R]), E.push(m[R + 1]), E.push(T[2]), E.push(T[3]));
5228
5228
  }
5229
5229
  return E;
5230
5230
  }
@@ -5235,11 +5235,11 @@ function v5() {
5235
5235
  });
5236
5236
  }
5237
5237
  _sceneFunc(S) {
5238
- const h = this.points(), E = h.length, N = this.tension(), T = this.closed(), y = this.bezier();
5238
+ const h = this.points(), E = h.length, R = this.tension(), T = this.closed(), y = this.bezier();
5239
5239
  if (!E)
5240
5240
  return;
5241
5241
  let x = 0;
5242
- if (S.beginPath(), S.moveTo(h[0], h[1]), N !== 0 && E > 4) {
5242
+ if (S.beginPath(), S.moveTo(h[0], h[1]), R !== 0 && E > 4) {
5243
5243
  const D = this.getTensionPoints(), B = D.length;
5244
5244
  for (x = T ? 0 : 4, T || S.quadraticCurveTo(D[0], D[1], D[2], D[3]); x < B - 2; )
5245
5245
  S.bezierCurveTo(D[x++], D[x++], D[x++], D[x++], D[x++], D[x++]);
@@ -5259,16 +5259,16 @@ function v5() {
5259
5259
  return this.closed() ? this._getTensionPointsClosed() : g(this.points(), this.tension());
5260
5260
  }
5261
5261
  _getTensionPointsClosed() {
5262
- const S = this.points(), h = S.length, E = this.tension(), N = A(S[h - 2], S[h - 1], S[0], S[1], S[2], S[3], E), T = A(S[h - 4], S[h - 3], S[h - 2], S[h - 1], S[0], S[1], E), y = g(S, E);
5263
- return [N[2], N[3]].concat(y).concat([
5262
+ const S = this.points(), h = S.length, E = this.tension(), R = A(S[h - 2], S[h - 1], S[0], S[1], S[2], S[3], E), T = A(S[h - 4], S[h - 3], S[h - 2], S[h - 1], S[0], S[1], E), y = g(S, E);
5263
+ return [R[2], R[3]].concat(y).concat([
5264
5264
  T[0],
5265
5265
  T[1],
5266
5266
  S[h - 2],
5267
5267
  S[h - 1],
5268
5268
  T[2],
5269
5269
  T[3],
5270
- N[0],
5271
- N[1],
5270
+ R[0],
5271
+ R[1],
5272
5272
  S[0],
5273
5273
  S[1]
5274
5274
  ]);
@@ -5295,14 +5295,14 @@ function v5() {
5295
5295
  S[S.length - 2],
5296
5296
  S[S.length - 1]
5297
5297
  ] : S = this.points();
5298
- let h = S[0], E = S[0], N = S[1], T = S[1], y, x;
5298
+ let h = S[0], E = S[0], R = S[1], T = S[1], y, x;
5299
5299
  for (let D = 0; D < S.length / 2; D++)
5300
- y = S[D * 2], x = S[D * 2 + 1], h = Math.min(h, y), E = Math.max(E, y), N = Math.min(N, x), T = Math.max(T, x);
5300
+ y = S[D * 2], x = S[D * 2 + 1], h = Math.min(h, y), E = Math.max(E, y), R = Math.min(R, x), T = Math.max(T, x);
5301
5301
  return {
5302
5302
  x: h,
5303
- y: N,
5303
+ y: R,
5304
5304
  width: E - h,
5305
- height: T - N
5305
+ height: T - R
5306
5306
  };
5307
5307
  }
5308
5308
  }
@@ -6016,7 +6016,7 @@ function L9() {
6016
6016
  o.getCubicArcLength = u;
6017
6017
  const C = (p, m, S) => {
6018
6018
  S === void 0 && (S = 1);
6019
- const h = p[0] - 2 * p[1] + p[2], E = m[0] - 2 * m[1] + m[2], N = 2 * p[1] - 2 * p[0], T = 2 * m[1] - 2 * m[0], y = 4 * (h * h + E * E), x = 4 * (h * N + E * T), D = N * N + T * T;
6019
+ const h = p[0] - 2 * p[1] + p[2], E = m[0] - 2 * m[1] + m[2], R = 2 * p[1] - 2 * p[0], T = 2 * m[1] - 2 * m[0], y = 4 * (h * h + E * E), x = 4 * (h * R + E * T), D = R * R + T * T;
6020
6020
  if (y === 0)
6021
6021
  return S * Math.sqrt(Math.pow(p[2] - p[0], 2) + Math.pow(m[2] - m[0], 2));
6022
6022
  const B = x / (2 * y), j = D / y, b = S + B, v = j - B * B, M = b * b + v > 0 ? Math.sqrt(b * b + v) : 0, L = B * B + v > 0 ? Math.sqrt(B * B + v) : 0, k = B + Math.sqrt(B * B + v) !== 0 ? v * Math.log(Math.abs((b + M) / (B + L))) : 0;
@@ -6024,19 +6024,19 @@ function L9() {
6024
6024
  };
6025
6025
  o.getQuadraticArcLength = C;
6026
6026
  function P(p, m, S) {
6027
- const h = A(1, S, p), E = A(1, S, m), N = h * h + E * E;
6028
- return Math.sqrt(N);
6027
+ const h = A(1, S, p), E = A(1, S, m), R = h * h + E * E;
6028
+ return Math.sqrt(R);
6029
6029
  }
6030
6030
  const A = (p, m, S) => {
6031
6031
  const h = S.length - 1;
6032
- let E, N;
6032
+ let E, R;
6033
6033
  if (h === 0)
6034
6034
  return 0;
6035
6035
  if (p === 0) {
6036
- N = 0;
6036
+ R = 0;
6037
6037
  for (let T = 0; T <= h; T++)
6038
- N += o.binomialCoefficients[h][T] * Math.pow(1 - m, h - T) * Math.pow(m, T) * S[T];
6039
- return N;
6038
+ R += o.binomialCoefficients[h][T] * Math.pow(1 - m, h - T) * Math.pow(m, T) * S[T];
6039
+ return R;
6040
6040
  } else {
6041
6041
  E = new Array(h);
6042
6042
  for (let T = 0; T < h; T++)
@@ -6044,14 +6044,14 @@ function L9() {
6044
6044
  return A(p - 1, m, E);
6045
6045
  }
6046
6046
  }, g = (p, m, S) => {
6047
- let h = 1, E = p / m, N = (p - S(E)) / m, T = 0;
6047
+ let h = 1, E = p / m, R = (p - S(E)) / m, T = 0;
6048
6048
  for (; h > 1e-3; ) {
6049
- const y = S(E + N), x = Math.abs(p - y) / m;
6049
+ const y = S(E + R), x = Math.abs(p - y) / m;
6050
6050
  if (x < h)
6051
- h = x, E += N;
6051
+ h = x, E += R;
6052
6052
  else {
6053
- const D = S(E - N), B = Math.abs(p - D) / m;
6054
- B < h ? (h = B, E -= N) : N /= 2;
6053
+ const D = S(E - R), B = Math.abs(p - D) / m;
6054
+ B < h ? (h = B, E -= R) : R /= 2;
6055
6055
  }
6056
6056
  if (T++, T > 500)
6057
6057
  break;
@@ -6080,22 +6080,22 @@ function C1() {
6080
6080
  p.beginPath();
6081
6081
  let S = !1;
6082
6082
  for (let h = 0; h < m.length; h++) {
6083
- const E = m[h].command, N = m[h].points;
6083
+ const E = m[h].command, R = m[h].points;
6084
6084
  switch (E) {
6085
6085
  case "L":
6086
- p.lineTo(N[0], N[1]);
6086
+ p.lineTo(R[0], R[1]);
6087
6087
  break;
6088
6088
  case "M":
6089
- p.moveTo(N[0], N[1]);
6089
+ p.moveTo(R[0], R[1]);
6090
6090
  break;
6091
6091
  case "C":
6092
- p.bezierCurveTo(N[0], N[1], N[2], N[3], N[4], N[5]);
6092
+ p.bezierCurveTo(R[0], R[1], R[2], R[3], R[4], R[5]);
6093
6093
  break;
6094
6094
  case "Q":
6095
- p.quadraticCurveTo(N[0], N[1], N[2], N[3]);
6095
+ p.quadraticCurveTo(R[0], R[1], R[2], R[3]);
6096
6096
  break;
6097
6097
  case "A":
6098
- const T = N[0], y = N[1], x = N[2], D = N[3], B = N[4], j = N[5], b = N[6], v = N[7], M = x > D ? x : D, L = x > D ? 1 : x / D, k = x > D ? D / x : 1;
6098
+ const T = R[0], y = R[1], x = R[2], D = R[3], B = R[4], j = R[5], b = R[6], v = R[7], M = x > D ? x : D, L = x > D ? 1 : x / D, k = x > D ? D / x : 1;
6099
6099
  p.translate(T, y), p.rotate(b), p.scale(L, k), p.arc(0, 0, M, B, B + j, 1 - v), p.scale(1 / L, 1 / k), p.rotate(-b), p.translate(-T, -y);
6100
6100
  break;
6101
6101
  case "z":
@@ -6129,9 +6129,9 @@ function C1() {
6129
6129
  else
6130
6130
  p = p.concat(y.points);
6131
6131
  });
6132
- let m = p[0], S = p[0], h = p[1], E = p[1], N, T;
6132
+ let m = p[0], S = p[0], h = p[1], E = p[1], R, T;
6133
6133
  for (let y = 0; y < p.length / 2; y++)
6134
- N = p[y * 2], T = p[y * 2 + 1], isNaN(N) || (m = Math.min(m, N), S = Math.max(S, N)), isNaN(T) || (h = Math.min(h, T), E = Math.max(E, T));
6134
+ R = p[y * 2], T = p[y * 2 + 1], isNaN(R) || (m = Math.min(m, R), S = Math.max(S, R)), isNaN(T) || (h = Math.min(h, T), E = Math.max(E, T));
6135
6135
  return {
6136
6136
  x: m,
6137
6137
  y: h,
@@ -6173,35 +6173,35 @@ function C1() {
6173
6173
  x: m[h].start.x,
6174
6174
  y: m[h].start.y
6175
6175
  };
6176
- const N = m[h], T = N.points;
6177
- switch (N.command) {
6176
+ const R = m[h], T = R.points;
6177
+ switch (R.command) {
6178
6178
  case "L":
6179
- return ua.getPointOnLine(p, N.start.x, N.start.y, T[0], T[1]);
6179
+ return ua.getPointOnLine(p, R.start.x, R.start.y, T[0], T[1]);
6180
6180
  case "C":
6181
- return ua.getPointOnCubicBezier((0, P.t2length)(p, ua.getPathLength(m), (M) => (0, P.getCubicArcLength)([N.start.x, T[0], T[2], T[4]], [N.start.y, T[1], T[3], T[5]], M)), N.start.x, N.start.y, T[0], T[1], T[2], T[3], T[4], T[5]);
6181
+ return ua.getPointOnCubicBezier((0, P.t2length)(p, ua.getPathLength(m), (M) => (0, P.getCubicArcLength)([R.start.x, T[0], T[2], T[4]], [R.start.y, T[1], T[3], T[5]], M)), R.start.x, R.start.y, T[0], T[1], T[2], T[3], T[4], T[5]);
6182
6182
  case "Q":
6183
- return ua.getPointOnQuadraticBezier((0, P.t2length)(p, ua.getPathLength(m), (M) => (0, P.getQuadraticArcLength)([N.start.x, T[0], T[2]], [N.start.y, T[1], T[3]], M)), N.start.x, N.start.y, T[0], T[1], T[2], T[3]);
6183
+ return ua.getPointOnQuadraticBezier((0, P.t2length)(p, ua.getPathLength(m), (M) => (0, P.getQuadraticArcLength)([R.start.x, T[0], T[2]], [R.start.y, T[1], T[3]], M)), R.start.x, R.start.y, T[0], T[1], T[2], T[3]);
6184
6184
  case "A":
6185
6185
  const y = T[0], x = T[1], D = T[2], B = T[3], j = T[5], b = T[6];
6186
6186
  let v = T[4];
6187
- return v += j * p / N.pathLength, ua.getPointOnEllipticalArc(y, x, D, B, v, b);
6187
+ return v += j * p / R.pathLength, ua.getPointOnEllipticalArc(y, x, D, B, v, b);
6188
6188
  }
6189
6189
  return null;
6190
6190
  }
6191
- static getPointOnLine(p, m, S, h, E, N, T) {
6192
- N = N ?? m, T = T ?? S;
6191
+ static getPointOnLine(p, m, S, h, E, R, T) {
6192
+ R = R ?? m, T = T ?? S;
6193
6193
  const y = this.getLineLength(m, S, h, E);
6194
6194
  if (y < 1e-10)
6195
6195
  return { x: m, y: S };
6196
6196
  if (h === m)
6197
- return { x: N, y: T + (E > S ? p : -p) };
6197
+ return { x: R, y: T + (E > S ? p : -p) };
6198
6198
  const x = (E - S) / (h - m), D = Math.sqrt(p * p / (1 + x * x)) * (h < m ? -1 : 1), B = x * D;
6199
- if (Math.abs(T - S - x * (N - m)) < 1e-10)
6200
- return { x: N + D, y: T + B };
6201
- const j = ((N - m) * (h - m) + (T - S) * (E - S)) / (y * y), b = m + j * (h - m), v = S + j * (E - S), M = this.getLineLength(N, T, b, v), L = Math.sqrt(p * p - M * M), k = Math.sqrt(L * L / (1 + x * x)) * (h < m ? -1 : 1), _ = x * k;
6199
+ if (Math.abs(T - S - x * (R - m)) < 1e-10)
6200
+ return { x: R + D, y: T + B };
6201
+ const j = ((R - m) * (h - m) + (T - S) * (E - S)) / (y * y), b = m + j * (h - m), v = S + j * (E - S), M = this.getLineLength(R, T, b, v), L = Math.sqrt(p * p - M * M), k = Math.sqrt(L * L / (1 + x * x)) * (h < m ? -1 : 1), _ = x * k;
6202
6202
  return { x: b + k, y: v + _ };
6203
6203
  }
6204
- static getPointOnCubicBezier(p, m, S, h, E, N, T, y, x) {
6204
+ static getPointOnCubicBezier(p, m, S, h, E, R, T, y, x) {
6205
6205
  function D(L) {
6206
6206
  return L * L * L;
6207
6207
  }
@@ -6214,10 +6214,10 @@ function C1() {
6214
6214
  function b(L) {
6215
6215
  return (1 - L) * (1 - L) * (1 - L);
6216
6216
  }
6217
- const v = y * D(p) + N * B(p) + h * j(p) + m * b(p), M = x * D(p) + T * B(p) + E * j(p) + S * b(p);
6217
+ const v = y * D(p) + R * B(p) + h * j(p) + m * b(p), M = x * D(p) + T * B(p) + E * j(p) + S * b(p);
6218
6218
  return { x: v, y: M };
6219
6219
  }
6220
- static getPointOnQuadraticBezier(p, m, S, h, E, N, T) {
6220
+ static getPointOnQuadraticBezier(p, m, S, h, E, R, T) {
6221
6221
  function y(b) {
6222
6222
  return b * b;
6223
6223
  }
@@ -6227,11 +6227,11 @@ function C1() {
6227
6227
  function D(b) {
6228
6228
  return (1 - b) * (1 - b);
6229
6229
  }
6230
- const B = N * y(p) + h * x(p) + m * D(p), j = T * y(p) + E * x(p) + S * D(p);
6230
+ const B = R * y(p) + h * x(p) + m * D(p), j = T * y(p) + E * x(p) + S * D(p);
6231
6231
  return { x: B, y: j };
6232
6232
  }
6233
- static getPointOnEllipticalArc(p, m, S, h, E, N) {
6234
- const T = Math.cos(N), y = Math.sin(N), x = {
6233
+ static getPointOnEllipticalArc(p, m, S, h, E, R) {
6234
+ const T = Math.cos(R), y = Math.sin(R), x = {
6235
6235
  x: S * Math.cos(E),
6236
6236
  y: h * Math.sin(E)
6237
6237
  };
@@ -6269,21 +6269,21 @@ function C1() {
6269
6269
  m = m.replace(new RegExp(" ", "g"), ",");
6270
6270
  for (let B = 0; B < S.length; B++)
6271
6271
  m = m.replace(new RegExp(S[B], "g"), "|" + S[B]);
6272
- const h = m.split("|"), E = [], N = [];
6272
+ const h = m.split("|"), E = [], R = [];
6273
6273
  let T = 0, y = 0;
6274
6274
  const x = /([-+]?((\d+\.\d+)|((\d+)|(\.\d+)))(?:e[-+]?\d+)?)/gi;
6275
6275
  let D;
6276
6276
  for (let B = 1; B < h.length; B++) {
6277
6277
  let j = h[B], b = j.charAt(0);
6278
- for (j = j.slice(1), N.length = 0; D = x.exec(j); )
6279
- N.push(D[0]);
6278
+ for (j = j.slice(1), R.length = 0; D = x.exec(j); )
6279
+ R.push(D[0]);
6280
6280
  const v = [];
6281
- for (let M = 0, L = N.length; M < L; M++) {
6282
- if (N[M] === "00") {
6281
+ for (let M = 0, L = R.length; M < L; M++) {
6282
+ if (R[M] === "00") {
6283
6283
  v.push(0, 0);
6284
6284
  continue;
6285
6285
  }
6286
- const k = parseFloat(N[M]);
6286
+ const k = parseFloat(R[M]);
6287
6287
  isNaN(k) ? v.push(0) : v.push(k);
6288
6288
  }
6289
6289
  for (; v.length > 0 && !isNaN(v[0]); ) {
@@ -6374,7 +6374,7 @@ function C1() {
6374
6374
  return E;
6375
6375
  }
6376
6376
  static calcLength(p, m, S, h) {
6377
- let E, N, T, y;
6377
+ let E, R, T, y;
6378
6378
  const x = ua;
6379
6379
  switch (S) {
6380
6380
  case "L":
@@ -6387,21 +6387,21 @@ function C1() {
6387
6387
  E = 0;
6388
6388
  const D = h[4], B = h[5], j = h[4] + B;
6389
6389
  let b = Math.PI / 180;
6390
- if (Math.abs(D - j) < b && (b = Math.abs(D - j)), N = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], D, 0), B < 0)
6390
+ if (Math.abs(D - j) < b && (b = Math.abs(D - j)), R = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], D, 0), B < 0)
6391
6391
  for (y = D - b; y > j; y -= b)
6392
- T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], y, 0), E += x.getLineLength(N.x, N.y, T.x, T.y), N = T;
6392
+ T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], y, 0), E += x.getLineLength(R.x, R.y, T.x, T.y), R = T;
6393
6393
  else
6394
6394
  for (y = D + b; y < j; y += b)
6395
- T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], y, 0), E += x.getLineLength(N.x, N.y, T.x, T.y), N = T;
6396
- return T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], j, 0), E += x.getLineLength(N.x, N.y, T.x, T.y), E;
6395
+ T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], y, 0), E += x.getLineLength(R.x, R.y, T.x, T.y), R = T;
6396
+ return T = x.getPointOnEllipticalArc(h[0], h[1], h[2], h[3], j, 0), E += x.getLineLength(R.x, R.y, T.x, T.y), E;
6397
6397
  }
6398
6398
  return 0;
6399
6399
  }
6400
- static convertEndpointToCenterParameterization(p, m, S, h, E, N, T, y, x) {
6400
+ static convertEndpointToCenterParameterization(p, m, S, h, E, R, T, y, x) {
6401
6401
  const D = x * (Math.PI / 180), B = Math.cos(D) * (p - S) / 2 + Math.sin(D) * (m - h) / 2, j = -1 * Math.sin(D) * (p - S) / 2 + Math.cos(D) * (m - h) / 2, b = B * B / (T * T) + j * j / (y * y);
6402
6402
  b > 1 && (T *= Math.sqrt(b), y *= Math.sqrt(b));
6403
6403
  let v = Math.sqrt((T * T * (y * y) - T * T * (j * j) - y * y * (B * B)) / (T * T * (j * j) + y * y * (B * B)));
6404
- E === N && (v *= -1), isNaN(v) && (v = 0);
6404
+ E === R && (v *= -1), isNaN(v) && (v = 0);
6405
6405
  const M = v * T * j / y, L = v * -y * B / T, k = (p + S) / 2 + Math.cos(D) * M - Math.sin(D) * L, _ = (m + h) / 2 + Math.sin(D) * M + Math.cos(D) * L, O = function(ee) {
6406
6406
  return Math.sqrt(ee[0] * ee[0] + ee[1] * ee[1]);
6407
6407
  }, H = function(ee, pe) {
@@ -6410,7 +6410,7 @@ function C1() {
6410
6410
  return (ee[0] * pe[1] < ee[1] * pe[0] ? -1 : 1) * Math.acos(H(ee, pe));
6411
6411
  }, X = F([1, 0], [(B - M) / T, (j - L) / y]), K = [(B - M) / T, (j - L) / y], $ = [(-1 * B - M) / T, (-1 * j - L) / y];
6412
6412
  let re = F(K, $);
6413
- return H(K, $) <= -1 && (re = Math.PI), H(K, $) >= 1 && (re = 0), N === 0 && re > 0 && (re = re - 2 * Math.PI), N === 1 && re < 0 && (re = re + 2 * Math.PI), [k, _, T, y, X, re, D, N];
6413
+ return H(K, $) <= -1 && (re = Math.PI), H(K, $) >= 1 && (re = 0), R === 0 && re > 0 && (re = re - 2 * Math.PI), R === 1 && re < 0 && (re = re + 2 * Math.PI), [k, _, T, y, X, re, D, R];
6414
6414
  }
6415
6415
  };
6416
6416
  return uf.Path = A, A.prototype.className = "Path", A.prototype._attrsAffectingSize = ["data"], (0, u._registerNode)(A), o.Factory.addGetterSetter(A, "data"), uf;
@@ -6425,11 +6425,11 @@ function O9() {
6425
6425
  super._sceneFunc(m);
6426
6426
  const S = Math.PI * 2, h = this.points();
6427
6427
  let E = h;
6428
- const N = this.tension() !== 0 && h.length > 4;
6429
- N && (E = this.getTensionPoints());
6428
+ const R = this.tension() !== 0 && h.length > 4;
6429
+ R && (E = this.getTensionPoints());
6430
6430
  const T = this.pointerLength(), y = h.length;
6431
6431
  let x, D;
6432
- if (N) {
6432
+ if (R) {
6433
6433
  const b = [
6434
6434
  E[E.length - 4],
6435
6435
  E[E.length - 3],
@@ -6442,7 +6442,7 @@ function O9() {
6442
6442
  } else
6443
6443
  x = h[y - 2] - h[y - 4], D = h[y - 1] - h[y - 3];
6444
6444
  const B = (Math.atan2(D, x) + S) % S, j = this.pointerWidth();
6445
- this.pointerAtEnding() && (m.save(), m.beginPath(), m.translate(h[y - 2], h[y - 1]), m.rotate(B), m.moveTo(0, 0), m.lineTo(-T, j / 2), m.lineTo(-T, -j / 2), m.closePath(), m.restore(), this.__fillStroke(m)), this.pointerAtBeginning() && (m.save(), m.beginPath(), m.translate(h[0], h[1]), N ? (x = (E[0] + E[2]) / 2 - h[0], D = (E[1] + E[3]) / 2 - h[1]) : (x = h[2] - h[0], D = h[3] - h[1]), m.rotate((Math.atan2(-D, -x) + S) % S), m.moveTo(0, 0), m.lineTo(-T, j / 2), m.lineTo(-T, -j / 2), m.closePath(), m.restore(), this.__fillStroke(m));
6445
+ this.pointerAtEnding() && (m.save(), m.beginPath(), m.translate(h[y - 2], h[y - 1]), m.rotate(B), m.moveTo(0, 0), m.lineTo(-T, j / 2), m.lineTo(-T, -j / 2), m.closePath(), m.restore(), this.__fillStroke(m)), this.pointerAtBeginning() && (m.save(), m.beginPath(), m.translate(h[0], h[1]), R ? (x = (E[0] + E[2]) / 2 - h[0], D = (E[1] + E[3]) / 2 - h[1]) : (x = h[2] - h[0], D = h[3] - h[1]), m.rotate((Math.atan2(-D, -x) + S) % S), m.moveTo(0, 0), m.lineTo(-T, j / 2), m.lineTo(-T, -j / 2), m.closePath(), m.restore(), this.__fillStroke(m));
6446
6446
  }
6447
6447
  __fillStroke(m) {
6448
6448
  const S = this.dashEnabled();
@@ -6537,12 +6537,12 @@ function G9() {
6537
6537
  return m && S ? !0 : super._useBufferCanvas(!0);
6538
6538
  }
6539
6539
  _sceneFunc(m) {
6540
- const S = this.getWidth(), h = this.getHeight(), E = this.cornerRadius(), N = this.attrs.image;
6540
+ const S = this.getWidth(), h = this.getHeight(), E = this.cornerRadius(), R = this.attrs.image;
6541
6541
  let T;
6542
- if (N) {
6542
+ if (R) {
6543
6543
  const y = this.attrs.cropWidth, x = this.attrs.cropHeight;
6544
6544
  y && x ? T = [
6545
- N,
6545
+ R,
6546
6546
  this.cropX(),
6547
6547
  this.cropY(),
6548
6548
  y,
@@ -6551,9 +6551,9 @@ function G9() {
6551
6551
  0,
6552
6552
  S,
6553
6553
  h
6554
- ] : T = [N, 0, 0, S, h];
6554
+ ] : T = [R, 0, 0, S, h];
6555
6555
  }
6556
- (this.hasFill() || this.hasStroke() || E) && (m.beginPath(), E ? o.Util.drawRoundedRectPath(m, S, h, E) : m.rect(0, 0, S, h), m.closePath(), m.fillStrokeShape(this)), N && (E && m.clip(), m.drawImage.apply(m, T));
6556
+ (this.hasFill() || this.hasStroke() || E) && (m.beginPath(), E ? o.Util.drawRoundedRectPath(m, S, h, E) : m.rect(0, 0, S, h), m.closePath(), m.fillStrokeShape(this)), R && (E && m.clip(), m.drawImage.apply(m, T));
6557
6557
  }
6558
6558
  _hitFunc(m) {
6559
6559
  const S = this.width(), h = this.height(), E = this.cornerRadius();
@@ -6570,10 +6570,10 @@ function G9() {
6570
6570
  static fromURL(m, S, h = null) {
6571
6571
  const E = o.Util.createImageElement();
6572
6572
  E.onload = function() {
6573
- const N = new g({
6573
+ const R = new g({
6574
6574
  image: E
6575
6575
  });
6576
- S(N);
6576
+ S(R);
6577
6577
  }, E.onerror = h, E.crossOrigin = "Anonymous", E.src = m;
6578
6578
  }
6579
6579
  }
@@ -6595,7 +6595,7 @@ function U9() {
6595
6595
  "pointerDirection",
6596
6596
  "pointerWidth",
6597
6597
  "pointerHeight"
6598
- ], p = "Change.konva", m = "none", S = "up", h = "right", E = "down", N = "left", T = g.length;
6598
+ ], p = "Change.konva", m = "none", S = "up", h = "right", E = "down", R = "left", T = g.length;
6599
6599
  let y = class extends C.Group {
6600
6600
  constructor(B) {
6601
6601
  super(B), this.on("add.konva", function(j) {
@@ -6635,7 +6635,7 @@ function U9() {
6635
6635
  case E:
6636
6636
  k = b / 2, _ = v + O;
6637
6637
  break;
6638
- case N:
6638
+ case R:
6639
6639
  k = -1 * L, _ = v / 2;
6640
6640
  break;
6641
6641
  }
@@ -6656,11 +6656,11 @@ function U9() {
6656
6656
  _sceneFunc(B) {
6657
6657
  const j = this.width(), b = this.height(), v = this.pointerDirection(), M = this.pointerWidth(), L = this.pointerHeight(), k = this.cornerRadius();
6658
6658
  let _ = 0, O = 0, H = 0, F = 0;
6659
- typeof k == "number" ? _ = O = H = F = Math.min(k, j / 2, b / 2) : (_ = Math.min(k[0] || 0, j / 2, b / 2), O = Math.min(k[1] || 0, j / 2, b / 2), F = Math.min(k[2] || 0, j / 2, b / 2), H = Math.min(k[3] || 0, j / 2, b / 2)), B.beginPath(), B.moveTo(_, 0), v === S && (B.lineTo((j - M) / 2, 0), B.lineTo(j / 2, -1 * L), B.lineTo((j + M) / 2, 0)), B.lineTo(j - O, 0), B.arc(j - O, O, O, Math.PI * 3 / 2, 0, !1), v === h && (B.lineTo(j, (b - L) / 2), B.lineTo(j + M, b / 2), B.lineTo(j, (b + L) / 2)), B.lineTo(j, b - F), B.arc(j - F, b - F, F, 0, Math.PI / 2, !1), v === E && (B.lineTo((j + M) / 2, b), B.lineTo(j / 2, b + L), B.lineTo((j - M) / 2, b)), B.lineTo(H, b), B.arc(H, b - H, H, Math.PI / 2, Math.PI, !1), v === N && (B.lineTo(0, (b + L) / 2), B.lineTo(-1 * M, b / 2), B.lineTo(0, (b - L) / 2)), B.lineTo(0, _), B.arc(_, _, _, Math.PI, Math.PI * 3 / 2, !1), B.closePath(), B.fillStrokeShape(this);
6659
+ typeof k == "number" ? _ = O = H = F = Math.min(k, j / 2, b / 2) : (_ = Math.min(k[0] || 0, j / 2, b / 2), O = Math.min(k[1] || 0, j / 2, b / 2), F = Math.min(k[2] || 0, j / 2, b / 2), H = Math.min(k[3] || 0, j / 2, b / 2)), B.beginPath(), B.moveTo(_, 0), v === S && (B.lineTo((j - M) / 2, 0), B.lineTo(j / 2, -1 * L), B.lineTo((j + M) / 2, 0)), B.lineTo(j - O, 0), B.arc(j - O, O, O, Math.PI * 3 / 2, 0, !1), v === h && (B.lineTo(j, (b - L) / 2), B.lineTo(j + M, b / 2), B.lineTo(j, (b + L) / 2)), B.lineTo(j, b - F), B.arc(j - F, b - F, F, 0, Math.PI / 2, !1), v === E && (B.lineTo((j + M) / 2, b), B.lineTo(j / 2, b + L), B.lineTo((j - M) / 2, b)), B.lineTo(H, b), B.arc(H, b - H, H, Math.PI / 2, Math.PI, !1), v === R && (B.lineTo(0, (b + L) / 2), B.lineTo(-1 * M, b / 2), B.lineTo(0, (b - L) / 2)), B.lineTo(0, _), B.arc(_, _, _, Math.PI, Math.PI * 3 / 2, !1), B.closePath(), B.fillStrokeShape(this);
6660
6660
  }
6661
6661
  getSelfRect() {
6662
6662
  let B = 0, j = 0, b = this.pointerWidth(), v = this.pointerHeight(), M = this.pointerDirection(), L = this.width(), k = this.height();
6663
- return M === S ? (j -= v, k += v) : M === E ? k += v : M === N ? (B -= b * 1.5, L += b) : M === h && (L += b * 1.5), {
6663
+ return M === S ? (j -= v, k += v) : M === E ? k += v : M === R ? (B -= b * 1.5, L += b) : M === h && (L += b * 1.5), {
6664
6664
  x: B,
6665
6665
  y: j,
6666
6666
  width: L,
@@ -6708,8 +6708,8 @@ function j9() {
6708
6708
  getSelfRect() {
6709
6709
  const p = this._getPoints();
6710
6710
  let m = p[0].x, S = p[0].y, h = p[0].x, E = p[0].y;
6711
- return p.forEach((N) => {
6712
- m = Math.min(m, N.x), S = Math.max(S, N.x), h = Math.min(h, N.y), E = Math.max(E, N.y);
6711
+ return p.forEach((R) => {
6712
+ m = Math.min(m, R.x), S = Math.max(S, R.x), h = Math.min(h, R.y), E = Math.max(E, R.y);
6713
6713
  }), {
6714
6714
  x: m,
6715
6715
  y: h,
@@ -6775,7 +6775,7 @@ function H9() {
6775
6775
  });
6776
6776
  }
6777
6777
  _sceneFunc(m) {
6778
- const S = this.animation(), h = this.frameIndex(), E = h * 4, N = this.animations()[S], T = this.frameOffsets(), y = N[E + 0], x = N[E + 1], D = N[E + 2], B = N[E + 3], j = this.image();
6778
+ const S = this.animation(), h = this.frameIndex(), E = h * 4, R = this.animations()[S], T = this.frameOffsets(), y = R[E + 0], x = R[E + 1], D = R[E + 2], B = R[E + 3], j = this.image();
6779
6779
  if ((this.hasFill() || this.hasStroke()) && (m.beginPath(), m.rect(0, 0, D, B), m.closePath(), m.fillStrokeShape(this)), j)
6780
6780
  if (T) {
6781
6781
  const b = T[S], v = h * 2;
@@ -6784,7 +6784,7 @@ function H9() {
6784
6784
  m.drawImage(j, y, x, D, B, 0, 0, D, B);
6785
6785
  }
6786
6786
  _hitFunc(m) {
6787
- const S = this.animation(), h = this.frameIndex(), E = h * 4, N = this.animations()[S], T = this.frameOffsets(), y = N[E + 2], x = N[E + 3];
6787
+ const S = this.animation(), h = this.frameIndex(), E = h * 4, R = this.animations()[S], T = this.frameOffsets(), y = R[E + 2], x = R[E + 3];
6788
6788
  if (m.beginPath(), T) {
6789
6789
  const D = T[S], B = h * 2;
6790
6790
  m.rect(D[B + 0], D[B + 1], y, x);
@@ -6814,8 +6814,8 @@ function H9() {
6814
6814
  return this.anim.isRunning();
6815
6815
  }
6816
6816
  _updateIndex() {
6817
- const m = this.frameIndex(), S = this.animation(), h = this.animations(), E = h[S], N = E.length / 4;
6818
- m < N - 1 ? this.frameIndex(m + 1) : this.frameIndex(0);
6817
+ const m = this.frameIndex(), S = this.animation(), h = this.animations(), E = h[S], R = E.length / 4;
6818
+ m < R - 1 ? this.frameIndex(m + 1) : this.frameIndex(0);
6819
6819
  }
6820
6820
  };
6821
6821
  return mf.Sprite = g, g.prototype.className = "Sprite", (0, A._registerNode)(g), o.Factory.addGetterSetter(g, "animation"), o.Factory.addGetterSetter(g, "animations"), o.Factory.addGetterSetter(g, "frameOffsets"), o.Factory.addGetterSetter(g, "image"), o.Factory.addGetterSetter(g, "frameIndex", 0, (0, P.getNumberValidator)()), o.Factory.addGetterSetter(g, "frameRate", 17, (0, P.getNumberValidator)()), o.Factory.backCompat(g, {
@@ -6834,7 +6834,7 @@ function k9() {
6834
6834
  const m = this.innerRadius(), S = this.outerRadius(), h = this.numPoints();
6835
6835
  p.beginPath(), p.moveTo(0, 0 - S);
6836
6836
  for (let E = 1; E < h * 2; E++) {
6837
- const N = E % 2 === 0 ? S : m, T = N * Math.sin(E * Math.PI / h), y = -1 * N * Math.cos(E * Math.PI / h);
6837
+ const R = E % 2 === 0 ? S : m, T = R * Math.sin(E * Math.PI / h), y = -1 * R * Math.cos(E * Math.PI / h);
6838
6838
  p.lineTo(T, y);
6839
6839
  }
6840
6840
  p.closePath(), p.fillStrokeShape(this);
@@ -6868,7 +6868,7 @@ function g5() {
6868
6868
  return ne;
6869
6869
  }, []);
6870
6870
  }
6871
- const m = "auto", S = "center", h = "inherit", E = "justify", N = "Change.konva", T = "2d", y = "-", x = "left", D = "text", B = "Text", j = "top", b = "bottom", v = "middle", M = "normal", L = "px ", k = " ", _ = "right", O = "rtl", H = "word", F = "char", X = "none", K = "…", $ = [
6871
+ const m = "auto", S = "center", h = "inherit", E = "justify", R = "Change.konva", T = "2d", y = "-", x = "left", D = "text", B = "Text", j = "top", b = "bottom", v = "middle", M = "normal", L = "px ", k = " ", _ = "right", O = "rtl", H = "word", F = "char", X = "none", K = "…", $ = [
6872
6872
  "direction",
6873
6873
  "fontFamily",
6874
6874
  "fontSize",
@@ -6909,7 +6909,7 @@ function g5() {
6909
6909
  constructor(ne) {
6910
6910
  super(I(ne)), this._partialTextX = 0, this._partialTextY = 0;
6911
6911
  for (let me = 0; me < re; me++)
6912
- this.on($[me] + N, this._setTextData);
6912
+ this.on($[me] + R, this._setTextData);
6913
6913
  this._setTextData();
6914
6914
  }
6915
6915
  _sceneFunc(ne) {
@@ -7092,7 +7092,7 @@ function V9() {
7092
7092
  function E(T) {
7093
7093
  T.strokeText(this.partialText, 0, 0);
7094
7094
  }
7095
- let N = class extends C.Shape {
7095
+ let R = class extends C.Shape {
7096
7096
  constructor(y) {
7097
7097
  super(y), this.dummyCanvas = o.Util.createCanvasElement(), this.dataArray = [], this._readDataAttribute(), this.on("dataChange.konva", function() {
7098
7098
  this._readDataAttribute(), this._setTextData();
@@ -7223,7 +7223,7 @@ function V9() {
7223
7223
  return o.Util.releaseCanvas(this.dummyCanvas), super.destroy();
7224
7224
  }
7225
7225
  };
7226
- return yf.TextPath = N, N.prototype._fillFunc = h, N.prototype._strokeFunc = E, N.prototype._fillFuncHit = h, N.prototype._strokeFuncHit = E, N.prototype.className = "TextPath", N.prototype._attrsAffectingSize = ["text", "fontSize", "data"], (0, p._registerNode)(N), u.Factory.addGetterSetter(N, "data"), u.Factory.addGetterSetter(N, "fontFamily", "Arial"), u.Factory.addGetterSetter(N, "fontSize", 12, (0, g.getNumberValidator)()), u.Factory.addGetterSetter(N, "fontStyle", S), u.Factory.addGetterSetter(N, "align", "left"), u.Factory.addGetterSetter(N, "letterSpacing", 0, (0, g.getNumberValidator)()), u.Factory.addGetterSetter(N, "textBaseline", "middle"), u.Factory.addGetterSetter(N, "fontVariant", S), u.Factory.addGetterSetter(N, "text", m), u.Factory.addGetterSetter(N, "textDecoration", ""), u.Factory.addGetterSetter(N, "kerningFunc", void 0), yf;
7226
+ return yf.TextPath = R, R.prototype._fillFunc = h, R.prototype._strokeFunc = E, R.prototype._fillFuncHit = h, R.prototype._strokeFuncHit = E, R.prototype.className = "TextPath", R.prototype._attrsAffectingSize = ["text", "fontSize", "data"], (0, p._registerNode)(R), u.Factory.addGetterSetter(R, "data"), u.Factory.addGetterSetter(R, "fontFamily", "Arial"), u.Factory.addGetterSetter(R, "fontSize", 12, (0, g.getNumberValidator)()), u.Factory.addGetterSetter(R, "fontStyle", S), u.Factory.addGetterSetter(R, "align", "left"), u.Factory.addGetterSetter(R, "letterSpacing", 0, (0, g.getNumberValidator)()), u.Factory.addGetterSetter(R, "textBaseline", "middle"), u.Factory.addGetterSetter(R, "fontVariant", S), u.Factory.addGetterSetter(R, "text", m), u.Factory.addGetterSetter(R, "textDecoration", ""), u.Factory.addGetterSetter(R, "kerningFunc", void 0), yf;
7227
7227
  }
7228
7228
  var Sf = {}, ry;
7229
7229
  function I9() {
@@ -7245,7 +7245,7 @@ function I9() {
7245
7245
  "anchorCornerRadiusChange",
7246
7246
  "ignoreStrokeChange",
7247
7247
  "anchorStyleFuncChange"
7248
- ].map((O) => O + `.${h}`).join(" "), N = "nodesRect", T = [
7248
+ ].map((O) => O + `.${h}`).join(" "), R = "nodesRect", T = [
7249
7249
  "widthChange",
7250
7250
  "heightChange",
7251
7251
  "scaleXChange",
@@ -7372,10 +7372,10 @@ function I9() {
7372
7372
  }), this._nodes = [], this._resetTransformCache();
7373
7373
  }
7374
7374
  _resetTransformCache() {
7375
- this._clearCache(N), this._clearCache("transform"), this._clearSelfAndDescendantCache("absoluteTransform");
7375
+ this._clearCache(R), this._clearCache("transform"), this._clearSelfAndDescendantCache("absoluteTransform");
7376
7376
  }
7377
7377
  _getNodeRect() {
7378
- return this._getCache(N, this.__getNodeRect);
7378
+ return this._getCache(R, this.__getNodeRect);
7379
7379
  }
7380
7380
  __getNodeShape(H, F = this.rotation(), X) {
7381
7381
  const K = H.getClientRect({
@@ -8375,9 +8375,9 @@ function X9() {
8375
8375
  24
8376
8376
  ];
8377
8377
  function p(S, h) {
8378
- const E = S.data, N = S.width, T = S.height;
8378
+ const E = S.data, R = S.width, T = S.height;
8379
8379
  let y, x, D, B, j, b, v, M, L, k, _, O, H, F, X, K, $, re, ee, pe;
8380
- const z = h + h + 1, U = N - 1, W = T - 1, I = h + 1, Z = I * (I + 1) / 2, oe = new P(), ne = A[h], me = g[h];
8380
+ const z = h + h + 1, U = R - 1, W = T - 1, I = h + 1, Z = I * (I + 1) / 2, oe = new P(), ne = A[h], me = g[h];
8381
8381
  let we = null, se = oe, J = null, ae = null;
8382
8382
  for (let Ce = 1; Ce < z; Ce++)
8383
8383
  se = se.next = new P(), Ce === I && (we = se);
@@ -8389,20 +8389,20 @@ function X9() {
8389
8389
  for (let Ae = 1; Ae < I; Ae++)
8390
8390
  y = x + ((U < Ae ? U : Ae) << 2), B += (se.r = K = E[y]) * (pe = I - Ae), j += (se.g = $ = E[y + 1]) * pe, b += (se.b = re = E[y + 2]) * pe, v += (se.a = ee = E[y + 3]) * pe, O += K, H += $, F += re, X += ee, se = se.next;
8391
8391
  J = oe, ae = we;
8392
- for (let Ae = 0; Ae < N; Ae++)
8392
+ for (let Ae = 0; Ae < R; Ae++)
8393
8393
  E[x + 3] = ee = v * ne >> me, ee !== 0 ? (ee = 255 / ee, E[x] = (B * ne >> me) * ee, E[x + 1] = (j * ne >> me) * ee, E[x + 2] = (b * ne >> me) * ee) : E[x] = E[x + 1] = E[x + 2] = 0, B -= M, j -= L, b -= k, v -= _, M -= J.r, L -= J.g, k -= J.b, _ -= J.a, y = D + ((y = Ae + h + 1) < U ? y : U) << 2, O += J.r = E[y], H += J.g = E[y + 1], F += J.b = E[y + 2], X += J.a = E[y + 3], B += O, j += H, b += F, v += X, J = J.next, M += K = ae.r, L += $ = ae.g, k += re = ae.b, _ += ee = ae.a, O -= K, H -= $, F -= re, X -= ee, ae = ae.next, x += 4;
8394
- D += N;
8394
+ D += R;
8395
8395
  }
8396
- for (let Ce = 0; Ce < N; Ce++) {
8396
+ for (let Ce = 0; Ce < R; Ce++) {
8397
8397
  H = F = X = O = j = b = v = B = 0, x = Ce << 2, M = I * (K = E[x]), L = I * ($ = E[x + 1]), k = I * (re = E[x + 2]), _ = I * (ee = E[x + 3]), B += Z * K, j += Z * $, b += Z * re, v += Z * ee, se = oe;
8398
8398
  for (let Me = 0; Me < I; Me++)
8399
8399
  se.r = K, se.g = $, se.b = re, se.a = ee, se = se.next;
8400
- let Ae = N;
8400
+ let Ae = R;
8401
8401
  for (let Me = 1; Me <= h; Me++)
8402
- x = Ae + Ce << 2, B += (se.r = K = E[x]) * (pe = I - Me), j += (se.g = $ = E[x + 1]) * pe, b += (se.b = re = E[x + 2]) * pe, v += (se.a = ee = E[x + 3]) * pe, O += K, H += $, F += re, X += ee, se = se.next, Me < W && (Ae += N);
8402
+ x = Ae + Ce << 2, B += (se.r = K = E[x]) * (pe = I - Me), j += (se.g = $ = E[x + 1]) * pe, b += (se.b = re = E[x + 2]) * pe, v += (se.a = ee = E[x + 3]) * pe, O += K, H += $, F += re, X += ee, se = se.next, Me < W && (Ae += R);
8403
8403
  x = Ce, J = oe, ae = we;
8404
8404
  for (let Me = 0; Me < T; Me++)
8405
- y = x << 2, E[y + 3] = ee = v * ne >> me, ee > 0 ? (ee = 255 / ee, E[y] = (B * ne >> me) * ee, E[y + 1] = (j * ne >> me) * ee, E[y + 2] = (b * ne >> me) * ee) : E[y] = E[y + 1] = E[y + 2] = 0, B -= M, j -= L, b -= k, v -= _, M -= J.r, L -= J.g, k -= J.b, _ -= J.a, y = Ce + ((y = Me + I) < W ? y : W) * N << 2, B += O += J.r = E[y], j += H += J.g = E[y + 1], b += F += J.b = E[y + 2], v += X += J.a = E[y + 3], J = J.next, M += K = ae.r, L += $ = ae.g, k += re = ae.b, _ += ee = ae.a, O -= K, H -= $, F -= re, X -= ee, ae = ae.next, x += N;
8405
+ y = x << 2, E[y + 3] = ee = v * ne >> me, ee > 0 ? (ee = 255 / ee, E[y] = (B * ne >> me) * ee, E[y + 1] = (j * ne >> me) * ee, E[y + 2] = (b * ne >> me) * ee) : E[y] = E[y + 1] = E[y + 2] = 0, B -= M, j -= L, b -= k, v -= _, M -= J.r, L -= J.g, k -= J.b, _ -= J.a, y = Ce + ((y = Me + I) < W ? y : W) * R << 2, B += O += J.r = E[y], j += H += J.g = E[y + 1], b += F += J.b = E[y + 2], v += X += J.a = E[y + 3], J = J.next, M += K = ae.r, L += $ = ae.g, k += re = ae.b, _ += ee = ae.a, O -= K, H -= $, F -= re, X -= ee, ae = ae.next, x += R;
8406
8406
  }
8407
8407
  }
8408
8408
  const m = function(h) {
@@ -8429,8 +8429,8 @@ function Q9() {
8429
8429
  const o = Rt(), u = Mn(), C = zt(), P = function(A) {
8430
8430
  const g = Math.pow((this.contrast() + 100) / 100, 2), p = A.data, m = p.length;
8431
8431
  let S = 150, h = 150, E = 150;
8432
- for (let N = 0; N < m; N += 4)
8433
- S = p[N], h = p[N + 1], E = p[N + 2], S /= 255, S -= 0.5, S *= g, S += 0.5, S *= 255, h /= 255, h -= 0.5, h *= g, h += 0.5, h *= 255, E /= 255, E -= 0.5, E *= g, E += 0.5, E *= 255, S = S < 0 ? 0 : S > 255 ? 255 : S, h = h < 0 ? 0 : h > 255 ? 255 : h, E = E < 0 ? 0 : E > 255 ? 255 : E, p[N] = S, p[N + 1] = h, p[N + 2] = E;
8432
+ for (let R = 0; R < m; R += 4)
8433
+ S = p[R], h = p[R + 1], E = p[R + 2], S /= 255, S -= 0.5, S *= g, S += 0.5, S *= 255, h /= 255, h -= 0.5, h *= g, h += 0.5, h *= 255, E /= 255, E -= 0.5, E *= g, E += 0.5, E *= 255, S = S < 0 ? 0 : S > 255 ? 255 : S, h = h < 0 ? 0 : h > 255 ? 255 : h, E = E < 0 ? 0 : E > 255 ? 255 : E, p[R] = S, p[R + 1] = h, p[R + 2] = E;
8434
8434
  };
8435
8435
  return bf.Contrast = P, o.Factory.addGetterSetter(u.Node, "contrast", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), bf;
8436
8436
  }
@@ -8439,7 +8439,7 @@ function _9() {
8439
8439
  if (oy) return Tf;
8440
8440
  oy = 1, Object.defineProperty(Tf, "__esModule", { value: !0 }), Tf.Emboss = void 0;
8441
8441
  const o = Rt(), u = Mn(), C = An(), P = zt(), A = function(g) {
8442
- const p = this.embossStrength() * 10, m = this.embossWhiteLevel() * 255, S = this.embossDirection(), h = this.embossBlend(), E = g.data, N = g.width, T = g.height, y = N * 4;
8442
+ const p = this.embossStrength() * 10, m = this.embossWhiteLevel() * 255, S = this.embossDirection(), h = this.embossBlend(), E = g.data, R = g.width, T = g.height, y = R * 4;
8443
8443
  let x = 0, D = 0, B = T;
8444
8444
  switch (S) {
8445
8445
  case "top-left":
@@ -8473,12 +8473,12 @@ function _9() {
8473
8473
  const j = (B - 1) * y;
8474
8474
  let b = x;
8475
8475
  B + b < 1 && (b = 0), B + b > T && (b = 0);
8476
- const v = (B - 1 + b) * N * 4;
8477
- let M = N;
8476
+ const v = (B - 1 + b) * R * 4;
8477
+ let M = R;
8478
8478
  do {
8479
8479
  const L = j + (M - 1) * 4;
8480
8480
  let k = D;
8481
- M + k < 1 && (k = 0), M + k > N && (k = 0);
8481
+ M + k < 1 && (k = 0), M + k > R && (k = 0);
8482
8482
  const _ = v + (M - 1 + k) * 4, O = E[L] - E[_], H = E[L + 1] - E[_ + 1], F = E[L + 2] - E[_ + 2];
8483
8483
  let X = O;
8484
8484
  const K = X > 0 ? X : -X, $ = H > 0 ? H : -H, re = F > 0 ? F : -F;
@@ -8500,36 +8500,36 @@ function J9() {
8500
8500
  uy = 1, Object.defineProperty(wf, "__esModule", { value: !0 }), wf.Enhance = void 0;
8501
8501
  const o = Rt(), u = Mn(), C = zt();
8502
8502
  function P(g, p, m, S, h) {
8503
- const E = m - p, N = h - S;
8503
+ const E = m - p, R = h - S;
8504
8504
  if (E === 0)
8505
- return S + N / 2;
8506
- if (N === 0)
8505
+ return S + R / 2;
8506
+ if (R === 0)
8507
8507
  return S;
8508
8508
  let T = (g - p) / E;
8509
- return T = N * T + S, T;
8509
+ return T = R * T + S, T;
8510
8510
  }
8511
8511
  const A = function(g) {
8512
8512
  const p = g.data, m = p.length;
8513
- let S = p[0], h = S, E, N = p[1], T = N, y, x = p[2], D = x, B;
8513
+ let S = p[0], h = S, E, R = p[1], T = R, y, x = p[2], D = x, B;
8514
8514
  const j = this.enhance();
8515
8515
  if (j === 0)
8516
8516
  return;
8517
8517
  for (let O = 0; O < m; O += 4)
8518
- E = p[O + 0], E < S ? S = E : E > h && (h = E), y = p[O + 1], y < N ? N = y : y > T && (T = y), B = p[O + 2], B < x ? x = B : B > D && (D = B);
8519
- h === S && (h = 255, S = 0), T === N && (T = 255, N = 0), D === x && (D = 255, x = 0);
8518
+ E = p[O + 0], E < S ? S = E : E > h && (h = E), y = p[O + 1], y < R ? R = y : y > T && (T = y), B = p[O + 2], B < x ? x = B : B > D && (D = B);
8519
+ h === S && (h = 255, S = 0), T === R && (T = 255, R = 0), D === x && (D = 255, x = 0);
8520
8520
  let b, v, M, L, k, _;
8521
8521
  if (j > 0)
8522
- b = h + j * (255 - h), v = S - j * (S - 0), M = T + j * (255 - T), L = N - j * (N - 0), k = D + j * (255 - D), _ = x - j * (x - 0);
8522
+ b = h + j * (255 - h), v = S - j * (S - 0), M = T + j * (255 - T), L = R - j * (R - 0), k = D + j * (255 - D), _ = x - j * (x - 0);
8523
8523
  else {
8524
8524
  const O = (h + S) * 0.5;
8525
8525
  b = h + j * (h - O), v = S + j * (S - O);
8526
- const H = (T + N) * 0.5;
8527
- M = T + j * (T - H), L = N + j * (N - H);
8526
+ const H = (T + R) * 0.5;
8527
+ M = T + j * (T - H), L = R + j * (R - H);
8528
8528
  const F = (D + x) * 0.5;
8529
8529
  k = D + j * (D - F), _ = x + j * (x - F);
8530
8530
  }
8531
8531
  for (let O = 0; O < m; O += 4)
8532
- p[O + 0] = P(p[O + 0], S, h, v, b), p[O + 1] = P(p[O + 1], N, T, L, M), p[O + 2] = P(p[O + 2], x, D, _, k);
8532
+ p[O + 0] = P(p[O + 0], S, h, v, b), p[O + 1] = P(p[O + 1], R, T, L, M), p[O + 2] = P(p[O + 2], x, D, _, k);
8533
8533
  };
8534
8534
  return wf.Enhance = A, o.Factory.addGetterSetter(u.Node, "enhance", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), wf;
8535
8535
  }
@@ -8553,7 +8553,7 @@ function q9() {
8553
8553
  const o = Rt(), u = Mn(), C = zt();
8554
8554
  o.Factory.addGetterSetter(u.Node, "hue", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), o.Factory.addGetterSetter(u.Node, "saturation", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), o.Factory.addGetterSetter(u.Node, "luminance", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter);
8555
8555
  const P = function(A) {
8556
- const g = A.data, p = g.length, m = 1, S = Math.pow(2, this.saturation()), h = Math.abs(this.hue() + 360) % 360, E = this.luminance() * 127, N = m * S * Math.cos(h * Math.PI / 180), T = m * S * Math.sin(h * Math.PI / 180), y = 0.299 * m + 0.701 * N + 0.167 * T, x = 0.587 * m - 0.587 * N + 0.33 * T, D = 0.114 * m - 0.114 * N - 0.497 * T, B = 0.299 * m - 0.299 * N - 0.328 * T, j = 0.587 * m + 0.413 * N + 0.035 * T, b = 0.114 * m - 0.114 * N + 0.293 * T, v = 0.299 * m - 0.3 * N + 1.25 * T, M = 0.587 * m - 0.586 * N - 1.05 * T, L = 0.114 * m + 0.886 * N - 0.2 * T;
8556
+ const g = A.data, p = g.length, m = 1, S = Math.pow(2, this.saturation()), h = Math.abs(this.hue() + 360) % 360, E = this.luminance() * 127, R = m * S * Math.cos(h * Math.PI / 180), T = m * S * Math.sin(h * Math.PI / 180), y = 0.299 * m + 0.701 * R + 0.167 * T, x = 0.587 * m - 0.587 * R + 0.33 * T, D = 0.114 * m - 0.114 * R - 0.497 * T, B = 0.299 * m - 0.299 * R - 0.328 * T, j = 0.587 * m + 0.413 * R + 0.035 * T, b = 0.114 * m - 0.114 * R + 0.293 * T, v = 0.299 * m - 0.3 * R + 1.25 * T, M = 0.587 * m - 0.586 * R - 1.05 * T, L = 0.114 * m + 0.886 * R - 0.2 * T;
8557
8557
  let k, _, O, H;
8558
8558
  for (let F = 0; F < p; F += 4)
8559
8559
  k = g[F + 0], _ = g[F + 1], O = g[F + 2], H = g[F + 3], g[F + 0] = y * k + x * _ + D * O + E, g[F + 1] = B * k + j * _ + b * O + E, g[F + 2] = v * k + M * _ + L * O + E, g[F + 3] = H;
@@ -8565,7 +8565,7 @@ function K9() {
8565
8565
  if (dy) return Nf;
8566
8566
  dy = 1, Object.defineProperty(Nf, "__esModule", { value: !0 }), Nf.HSV = void 0;
8567
8567
  const o = Rt(), u = Mn(), C = zt(), P = function(A) {
8568
- const g = A.data, p = g.length, m = Math.pow(2, this.value()), S = Math.pow(2, this.saturation()), h = Math.abs(this.hue() + 360) % 360, E = m * S * Math.cos(h * Math.PI / 180), N = m * S * Math.sin(h * Math.PI / 180), T = 0.299 * m + 0.701 * E + 0.167 * N, y = 0.587 * m - 0.587 * E + 0.33 * N, x = 0.114 * m - 0.114 * E - 0.497 * N, D = 0.299 * m - 0.299 * E - 0.328 * N, B = 0.587 * m + 0.413 * E + 0.035 * N, j = 0.114 * m - 0.114 * E + 0.293 * N, b = 0.299 * m - 0.3 * E + 1.25 * N, v = 0.587 * m - 0.586 * E - 1.05 * N, M = 0.114 * m + 0.886 * E - 0.2 * N;
8568
+ const g = A.data, p = g.length, m = Math.pow(2, this.value()), S = Math.pow(2, this.saturation()), h = Math.abs(this.hue() + 360) % 360, E = m * S * Math.cos(h * Math.PI / 180), R = m * S * Math.sin(h * Math.PI / 180), T = 0.299 * m + 0.701 * E + 0.167 * R, y = 0.587 * m - 0.587 * E + 0.33 * R, x = 0.114 * m - 0.114 * E - 0.497 * R, D = 0.299 * m - 0.299 * E - 0.328 * R, B = 0.587 * m + 0.413 * E + 0.035 * R, j = 0.114 * m - 0.114 * E + 0.293 * R, b = 0.299 * m - 0.3 * E + 1.25 * R, v = 0.587 * m - 0.586 * E - 1.05 * R, M = 0.114 * m + 0.886 * E - 0.2 * R;
8569
8569
  for (let L = 0; L < p; L += 4) {
8570
8570
  const k = g[L + 0], _ = g[L + 1], O = g[L + 2], H = g[L + 3];
8571
8571
  g[L + 0] = T * k + y * _ + x * O, g[L + 1] = D * k + B * _ + j * O, g[L + 2] = b * k + v * _ + M * O, g[L + 3] = H;
@@ -8589,7 +8589,7 @@ function e7() {
8589
8589
  if (py) return Pf;
8590
8590
  py = 1, Object.defineProperty(Pf, "__esModule", { value: !0 }), Pf.Kaleidoscope = void 0;
8591
8591
  const o = Rt(), u = Mn(), C = An(), P = zt(), A = function(m, S, h) {
8592
- const E = m.data, N = S.data, T = m.width, y = m.height, x = h.polarCenterX || T / 2, D = h.polarCenterY || y / 2;
8592
+ const E = m.data, R = S.data, T = m.width, y = m.height, x = h.polarCenterX || T / 2, D = h.polarCenterY || y / 2;
8593
8593
  let B = Math.sqrt(x * x + D * D), j = T - x, b = y - D;
8594
8594
  const v = Math.sqrt(j * j + b * b);
8595
8595
  B = v > B ? v : B;
@@ -8600,11 +8600,11 @@ function e7() {
8600
8600
  j = Math.floor(x + B * F / M * H), b = Math.floor(D + B * F / M * O);
8601
8601
  let X = (b * T + j) * 4;
8602
8602
  const K = E[X + 0], $ = E[X + 1], re = E[X + 2], ee = E[X + 3];
8603
- X = (_ + F * T) * 4, N[X + 0] = K, N[X + 1] = $, N[X + 2] = re, N[X + 3] = ee;
8603
+ X = (_ + F * T) * 4, R[X + 0] = K, R[X + 1] = $, R[X + 2] = re, R[X + 3] = ee;
8604
8604
  }
8605
8605
  }
8606
8606
  }, g = function(m, S, h) {
8607
- const E = m.data, N = S.data, T = m.width, y = m.height, x = h.polarCenterX || T / 2, D = h.polarCenterY || y / 2;
8607
+ const E = m.data, R = S.data, T = m.width, y = m.height, x = h.polarCenterX || T / 2, D = h.polarCenterY || y / 2;
8608
8608
  let B = Math.sqrt(x * x + D * D), j = T - x, b = y - D;
8609
8609
  const v = Math.sqrt(j * j + b * b);
8610
8610
  B = v > B ? v : B;
@@ -8617,11 +8617,11 @@ function e7() {
8617
8617
  K = K * L / 360, _ = Math.floor(K), O = Math.floor(X);
8618
8618
  let $ = (O * T + _) * 4;
8619
8619
  const re = E[$ + 0], ee = E[$ + 1], pe = E[$ + 2], z = E[$ + 3];
8620
- $ = (b * T + j) * 4, N[$ + 0] = re, N[$ + 1] = ee, N[$ + 2] = pe, N[$ + 3] = z;
8620
+ $ = (b * T + j) * 4, R[$ + 0] = re, R[$ + 1] = ee, R[$ + 2] = pe, R[$ + 3] = z;
8621
8621
  }
8622
8622
  }, p = function(m) {
8623
8623
  const S = m.width, h = m.height;
8624
- let E, N, T, y, x, D, B, j, b, v, M = Math.round(this.kaleidoscopePower());
8624
+ let E, R, T, y, x, D, B, j, b, v, M = Math.round(this.kaleidoscopePower());
8625
8625
  const L = Math.round(this.kaleidoscopeAngle()), k = Math.floor(S * (L % 360) / 360);
8626
8626
  if (M < 1)
8627
8627
  return;
@@ -8637,13 +8637,13 @@ function e7() {
8637
8637
  H = H * 2, M -= 1;
8638
8638
  H = Math.ceil(H);
8639
8639
  let F = H, X = 0, K = F, $ = 1;
8640
- for (k + H > S && (X = F, K = 0, $ = -1), N = 0; N < h; N += 1)
8640
+ for (k + H > S && (X = F, K = 0, $ = -1), R = 0; R < h; R += 1)
8641
8641
  for (E = X; E !== K; E += $)
8642
- T = Math.round(E + k) % S, b = (S * N + T) * 4, x = O.data[b + 0], D = O.data[b + 1], B = O.data[b + 2], j = O.data[b + 3], v = (S * N + E) * 4, O.data[v + 0] = x, O.data[v + 1] = D, O.data[v + 2] = B, O.data[v + 3] = j;
8643
- for (N = 0; N < h; N += 1)
8642
+ T = Math.round(E + k) % S, b = (S * R + T) * 4, x = O.data[b + 0], D = O.data[b + 1], B = O.data[b + 2], j = O.data[b + 3], v = (S * R + E) * 4, O.data[v + 0] = x, O.data[v + 1] = D, O.data[v + 2] = B, O.data[v + 3] = j;
8643
+ for (R = 0; R < h; R += 1)
8644
8644
  for (F = Math.floor(H), y = 0; y < M; y += 1) {
8645
8645
  for (E = 0; E < F + 1; E += 1)
8646
- b = (S * N + E) * 4, x = O.data[b + 0], D = O.data[b + 1], B = O.data[b + 2], j = O.data[b + 3], v = (S * N + F * 2 - E - 1) * 4, O.data[v + 0] = x, O.data[v + 1] = D, O.data[v + 2] = B, O.data[v + 3] = j;
8646
+ b = (S * R + E) * 4, x = O.data[b + 0], D = O.data[b + 1], B = O.data[b + 2], j = O.data[b + 3], v = (S * R + F * 2 - E - 1) * 4, O.data[v + 0] = x, O.data[v + 1] = D, O.data[v + 2] = B, O.data[v + 3] = j;
8647
8647
  F *= 2;
8648
8648
  }
8649
8649
  g(O, m, {});
@@ -8742,12 +8742,12 @@ function t7() {
8742
8742
  }
8743
8743
  return b;
8744
8744
  }
8745
- const N = function(T) {
8745
+ const R = function(T) {
8746
8746
  const y = this.threshold();
8747
8747
  let x = p(T, y);
8748
8748
  return x && (x = S(x, T.width, T.height), x = h(x, T.width, T.height), x = E(x, T.width, T.height), m(T, x)), T;
8749
8749
  };
8750
- return Mf.Mask = N, o.Factory.addGetterSetter(u.Node, "threshold", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), Mf;
8750
+ return Mf.Mask = R, o.Factory.addGetterSetter(u.Node, "threshold", 0, (0, C.getNumberValidator)(), o.Factory.afterSetFilter), Mf;
8751
8751
  }
8752
8752
  var Lf = {}, my;
8753
8753
  function n7() {
@@ -8765,7 +8765,7 @@ function r7() {
8765
8765
  if (gy) return Of;
8766
8766
  gy = 1, Object.defineProperty(Of, "__esModule", { value: !0 }), Of.Pixelate = void 0;
8767
8767
  const o = Rt(), u = An(), C = Mn(), P = zt(), A = function(g) {
8768
- let p = Math.ceil(this.pixelSize()), m = g.width, S = g.height, h = Math.ceil(m / p), E = Math.ceil(S / p), N = g.data;
8768
+ let p = Math.ceil(this.pixelSize()), m = g.width, S = g.height, h = Math.ceil(m / p), E = Math.ceil(S / p), R = g.data;
8769
8769
  if (p <= 0) {
8770
8770
  u.Util.error("pixelSize value can not be <= 0");
8771
8771
  return;
@@ -8781,7 +8781,7 @@ function r7() {
8781
8781
  if (O >= S)
8782
8782
  continue;
8783
8783
  const H = (m * O + _) * 4;
8784
- x += N[H + 0], D += N[H + 1], B += N[H + 2], j += N[H + 3], k += 1;
8784
+ x += R[H + 0], D += R[H + 1], B += R[H + 2], j += R[H + 3], k += 1;
8785
8785
  }
8786
8786
  x = x / k, D = D / k, B = B / k, j = j / k;
8787
8787
  for (let _ = b; _ < v; _ += 1)
@@ -8790,7 +8790,7 @@ function r7() {
8790
8790
  if (O >= S)
8791
8791
  continue;
8792
8792
  const H = (m * O + _) * 4;
8793
- N[H + 0] = x, N[H + 1] = D, N[H + 2] = B, N[H + 3] = j;
8793
+ R[H + 0] = x, R[H + 1] = D, R[H + 2] = B, R[H + 3] = j;
8794
8794
  }
8795
8795
  }
8796
8796
  };
@@ -8814,8 +8814,8 @@ function i7() {
8814
8814
  const o = Rt(), u = Mn(), C = zt(), P = function(A) {
8815
8815
  const g = A.data, p = g.length, m = this.red(), S = this.green(), h = this.blue();
8816
8816
  for (let E = 0; E < p; E += 4) {
8817
- const N = (0.34 * g[E] + 0.5 * g[E + 1] + 0.16 * g[E + 2]) / 255;
8818
- g[E] = N * m, g[E + 1] = N * S, g[E + 2] = N * h, g[E + 3] = g[E + 3];
8817
+ const R = (0.34 * g[E] + 0.5 * g[E + 1] + 0.16 * g[E + 2]) / 255;
8818
+ g[E] = R * m, g[E + 1] = R * S, g[E + 2] = R * h, g[E + 3] = g[E + 3];
8819
8819
  }
8820
8820
  };
8821
8821
  return Ff.RGB = P, o.Factory.addGetterSetter(u.Node, "red", 0, function(A) {
@@ -8830,9 +8830,9 @@ function l7() {
8830
8830
  xy = 1, Object.defineProperty(Gf, "__esModule", { value: !0 }), Gf.RGBA = void 0;
8831
8831
  const o = Rt(), u = Mn(), C = zt(), P = function(A) {
8832
8832
  const g = A.data, p = g.length, m = this.red(), S = this.green(), h = this.blue(), E = this.alpha();
8833
- for (let N = 0; N < p; N += 4) {
8833
+ for (let R = 0; R < p; R += 4) {
8834
8834
  const T = 1 - E;
8835
- g[N] = m * E + g[N] * T, g[N + 1] = S * E + g[N + 1] * T, g[N + 2] = h * E + g[N + 2] * T;
8835
+ g[R] = m * E + g[R] * T, g[R + 1] = S * E + g[R + 1] * T, g[R + 2] = h * E + g[R + 2] * T;
8836
8836
  }
8837
8837
  };
8838
8838
  return Gf.RGBA = P, o.Factory.addGetterSetter(u.Node, "red", 0, function(A) {
@@ -8868,8 +8868,8 @@ function o7() {
8868
8868
  let S = P;
8869
8869
  do {
8870
8870
  const h = m + (S - 1) * 4;
8871
- let E = C[h], N = C[h + 1], T = C[h + 2];
8872
- E > 127 && (E = 255 - E), N > 127 && (N = 255 - N), T > 127 && (T = 255 - T), C[h] = E, C[h + 1] = N, C[h + 2] = T;
8871
+ let E = C[h], R = C[h + 1], T = C[h + 2];
8872
+ E > 127 && (E = 255 - E), R > 127 && (R = 255 - R), T > 127 && (T = 255 - T), C[h] = E, C[h + 1] = R, C[h + 2] = T;
8873
8873
  } while (--S);
8874
8874
  } while (--p);
8875
8875
  };
@@ -8890,7 +8890,7 @@ var Ty;
8890
8890
  function c7() {
8891
8891
  if (Ty) return Kc;
8892
8892
  Ty = 1, Object.defineProperty(Kc, "__esModule", { value: !0 }), Kc.Konva = void 0;
8893
- const o = h1(), u = M9(), C = O9(), P = z9(), A = F9(), g = G9(), p = U9(), m = v5(), S = C1(), h = m5(), E = j9(), N = B9(), T = H9(), y = k9(), x = g5(), D = V9(), B = I9(), j = Y9(), b = X9(), v = W9(), M = Q9(), L = _9(), k = J9(), _ = Z9(), O = q9(), H = K9(), F = $9(), X = e7(), K = t7(), $ = n7(), re = r7(), ee = a7(), pe = i7(), z = l7(), U = s7(), W = o7(), I = u7();
8893
+ const o = h1(), u = M9(), C = O9(), P = z9(), A = F9(), g = G9(), p = U9(), m = v5(), S = C1(), h = m5(), E = j9(), R = B9(), T = H9(), y = k9(), x = g5(), D = V9(), B = I9(), j = Y9(), b = X9(), v = W9(), M = Q9(), L = _9(), k = J9(), _ = Z9(), O = q9(), H = K9(), F = $9(), X = e7(), K = t7(), $ = n7(), re = r7(), ee = a7(), pe = i7(), z = l7(), U = s7(), W = o7(), I = u7();
8894
8894
  return Kc.Konva = o.Konva.Util._assign(o.Konva, {
8895
8895
  Arc: u.Arc,
8896
8896
  Arrow: C.Arrow,
@@ -8903,7 +8903,7 @@ function c7() {
8903
8903
  Path: S.Path,
8904
8904
  Rect: h.Rect,
8905
8905
  RegularPolygon: E.RegularPolygon,
8906
- Ring: N.Ring,
8906
+ Ring: R.Ring,
8907
8907
  Sprite: T.Sprite,
8908
8908
  Star: y.Star,
8909
8909
  Text: x.Text,
@@ -9009,7 +9009,7 @@ function v7() {
9009
9009
  return p.now() - m;
9010
9010
  };
9011
9011
  }
9012
- var S = [], h = [], E = 1, N = null, T = 3, y = !1, x = !1, D = !1, B = typeof setTimeout == "function" ? setTimeout : null, j = typeof clearTimeout == "function" ? clearTimeout : null, b = typeof setImmediate < "u" ? setImmediate : null;
9012
+ var S = [], h = [], E = 1, R = null, T = 3, y = !1, x = !1, D = !1, B = typeof setTimeout == "function" ? setTimeout : null, j = typeof clearTimeout == "function" ? clearTimeout : null, b = typeof setImmediate < "u" ? setImmediate : null;
9013
9013
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
9014
9014
  function v(U) {
9015
9015
  for (var W = C(h); W !== null; ) {
@@ -9030,23 +9030,23 @@ function v7() {
9030
9030
  x = !1, D && (D = !1, j(O), O = -1), y = !0;
9031
9031
  var I = T;
9032
9032
  try {
9033
- for (v(W), N = C(S); N !== null && (!(N.expirationTime > W) || U && !X()); ) {
9034
- var Z = N.callback;
9033
+ for (v(W), R = C(S); R !== null && (!(R.expirationTime > W) || U && !X()); ) {
9034
+ var Z = R.callback;
9035
9035
  if (typeof Z == "function") {
9036
- N.callback = null, T = N.priorityLevel;
9037
- var oe = Z(N.expirationTime <= W);
9038
- W = o.unstable_now(), typeof oe == "function" ? N.callback = oe : N === C(S) && P(S), v(W);
9036
+ R.callback = null, T = R.priorityLevel;
9037
+ var oe = Z(R.expirationTime <= W);
9038
+ W = o.unstable_now(), typeof oe == "function" ? R.callback = oe : R === C(S) && P(S), v(W);
9039
9039
  } else P(S);
9040
- N = C(S);
9040
+ R = C(S);
9041
9041
  }
9042
- if (N !== null) var ne = !0;
9042
+ if (R !== null) var ne = !0;
9043
9043
  else {
9044
9044
  var me = C(h);
9045
9045
  me !== null && z(M, me.startTime - W), ne = !1;
9046
9046
  }
9047
9047
  return ne;
9048
9048
  } finally {
9049
- N = null, T = I, y = !1;
9049
+ R = null, T = I, y = !1;
9050
9050
  }
9051
9051
  }
9052
9052
  var k = !1, _ = null, O = -1, H = 5, F = -1;
@@ -9218,7 +9218,7 @@ function m7() {
9218
9218
  var ft = De.sortIndex - Ve.sortIndex;
9219
9219
  return ft !== 0 ? ft : De.id - Ve.id;
9220
9220
  }
9221
- var h = 1, E = 2, N = 3, T = 4, y = 5;
9221
+ var h = 1, E = 2, R = 3, T = 4, y = 5;
9222
9222
  function x(De, Ve) {
9223
9223
  }
9224
9224
  var D = typeof performance == "object" && typeof performance.now == "function";
@@ -9233,7 +9233,7 @@ function m7() {
9233
9233
  return j.now() - b;
9234
9234
  };
9235
9235
  }
9236
- var v = 1073741823, M = -1, L = 250, k = 5e3, _ = 1e4, O = v, H = [], F = [], X = 1, K = null, $ = N, re = !1, ee = !1, pe = !1, z = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, W = typeof setImmediate < "u" ? setImmediate : null;
9236
+ var v = 1073741823, M = -1, L = 250, k = 5e3, _ = 1e4, O = v, H = [], F = [], X = 1, K = null, $ = R, re = !1, ee = !1, pe = !1, z = typeof setTimeout == "function" ? setTimeout : null, U = typeof clearTimeout == "function" ? clearTimeout : null, W = typeof setImmediate < "u" ? setImmediate : null;
9237
9237
  typeof navigator < "u" && navigator.scheduling !== void 0 && navigator.scheduling.isInputPending !== void 0 && navigator.scheduling.isInputPending.bind(navigator.scheduling);
9238
9238
  function I(De) {
9239
9239
  for (var Ve = A(F); Ve !== null; ) {
@@ -9286,12 +9286,12 @@ function m7() {
9286
9286
  switch (De) {
9287
9287
  case h:
9288
9288
  case E:
9289
- case N:
9289
+ case R:
9290
9290
  case T:
9291
9291
  case y:
9292
9292
  break;
9293
9293
  default:
9294
- De = N;
9294
+ De = R;
9295
9295
  }
9296
9296
  var ft = $;
9297
9297
  $ = De;
@@ -9306,8 +9306,8 @@ function m7() {
9306
9306
  switch ($) {
9307
9307
  case h:
9308
9308
  case E:
9309
- case N:
9310
- Ve = N;
9309
+ case R:
9310
+ Ve = R;
9311
9311
  break;
9312
9312
  default:
9313
9313
  Ve = $;
@@ -9354,7 +9354,7 @@ function m7() {
9354
9354
  case T:
9355
9355
  _e = _;
9356
9356
  break;
9357
- case N:
9357
+ case R:
9358
9358
  default:
9359
9359
  _e = k;
9360
9360
  break;
@@ -9435,7 +9435,7 @@ function m7() {
9435
9435
  U(Ge), Ge = -1;
9436
9436
  }
9437
9437
  var pn = Nt, rn = null;
9438
- o.unstable_IdlePriority = y, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = T, o.unstable_NormalPriority = N, o.unstable_Profiling = rn, o.unstable_UserBlockingPriority = E, o.unstable_cancelCallback = Me, o.unstable_continueExecution = Ce, o.unstable_forceFrameRate = dt, o.unstable_getCurrentPriorityLevel = Ye, o.unstable_getFirstCallbackNode = Ae, o.unstable_next = we, o.unstable_pauseExecution = ae, o.unstable_requestPaint = pn, o.unstable_runWithPriority = me, o.unstable_scheduleCallback = J, o.unstable_shouldYield = vt, o.unstable_wrapCallback = se, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
9438
+ o.unstable_IdlePriority = y, o.unstable_ImmediatePriority = h, o.unstable_LowPriority = T, o.unstable_NormalPriority = R, o.unstable_Profiling = rn, o.unstable_UserBlockingPriority = E, o.unstable_cancelCallback = Me, o.unstable_continueExecution = Ce, o.unstable_forceFrameRate = dt, o.unstable_getCurrentPriorityLevel = Ye, o.unstable_getFirstCallbackNode = Ae, o.unstable_next = we, o.unstable_pauseExecution = ae, o.unstable_requestPaint = pn, o.unstable_runWithPriority = me, o.unstable_scheduleCallback = J, o.unstable_shouldYield = vt, o.unstable_wrapCallback = se, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
9439
9439
  }();
9440
9440
  }($v)), $v;
9441
9441
  }
@@ -9460,7 +9460,7 @@ function g7() {
9460
9460
  for (var r = "https://reactjs.org/docs/error-decoder.html?invariant=" + n, l = 1; l < arguments.length; l++) r += "&args[]=" + encodeURIComponent(arguments[l]);
9461
9461
  return "Minified React error #" + n + "; visit " + r + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
9462
9462
  }
9463
- var m = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, S = Symbol.for("react.element"), h = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), N = Symbol.for("react.strict_mode"), T = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), L = Symbol.iterator;
9463
+ var m = P.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, S = Symbol.for("react.element"), h = Symbol.for("react.portal"), E = Symbol.for("react.fragment"), R = Symbol.for("react.strict_mode"), T = Symbol.for("react.profiler"), y = Symbol.for("react.provider"), x = Symbol.for("react.context"), D = Symbol.for("react.forward_ref"), B = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), v = Symbol.for("react.lazy"), M = Symbol.for("react.offscreen"), L = Symbol.iterator;
9464
9464
  function k(n) {
9465
9465
  return n === null || typeof n != "object" ? null : (n = L && n[L] || n["@@iterator"], typeof n == "function" ? n : null);
9466
9466
  }
@@ -9475,7 +9475,7 @@ function g7() {
9475
9475
  return "Portal";
9476
9476
  case T:
9477
9477
  return "Profiler";
9478
- case N:
9478
+ case R:
9479
9479
  return "StrictMode";
9480
9480
  case B:
9481
9481
  return "Suspense";
@@ -9527,7 +9527,7 @@ function g7() {
9527
9527
  case 16:
9528
9528
  return _(r);
9529
9529
  case 8:
9530
- return r === N ? "StrictMode" : "Mode";
9530
+ return r === R ? "StrictMode" : "Mode";
9531
9531
  case 22:
9532
9532
  return "Offscreen";
9533
9533
  case 12:
@@ -12903,7 +12903,7 @@ Error generating stack: ` + w.message + `
12903
12903
  else e: switch (n) {
12904
12904
  case E:
12905
12905
  return ni(l.children, d, w, r);
12906
- case N:
12906
+ case R:
12907
12907
  Y = 8, d |= 8;
12908
12908
  break;
12909
12909
  case T:
@@ -13237,13 +13237,13 @@ function y7() {
13237
13237
  {
13238
13238
  var i = g.ReactDebugCurrentFrame, s = i.getStackAddendum();
13239
13239
  s !== "" && (t += "%s", a = a.concat([s]));
13240
- var f = a.map(function(R) {
13241
- return String(R);
13240
+ var f = a.map(function(N) {
13241
+ return String(N);
13242
13242
  });
13243
13243
  f.unshift("Warning: " + t), Function.prototype.apply.call(console[e], console, f);
13244
13244
  }
13245
13245
  }
13246
- var N = Object.assign;
13246
+ var R = Object.assign;
13247
13247
  function T(e) {
13248
13248
  return e._reactInternals;
13249
13249
  }
@@ -13302,9 +13302,9 @@ function y7() {
13302
13302
  var i = e.displayName || null;
13303
13303
  return i !== null ? i : Ze(e.type) || "Memo";
13304
13304
  case yt: {
13305
- var s = e, f = s._payload, R = s._init;
13305
+ var s = e, f = s._payload, N = s._init;
13306
13306
  try {
13307
- return Ze(R(f));
13307
+ return Ze(N(f));
13308
13308
  } catch {
13309
13309
  return null;
13310
13310
  }
@@ -13498,8 +13498,8 @@ function y7() {
13498
13498
  var f = i.return;
13499
13499
  if (f === null)
13500
13500
  break;
13501
- var R = f.alternate;
13502
- if (R === null) {
13501
+ var N = f.alternate;
13502
+ if (N === null) {
13503
13503
  var G = f.return;
13504
13504
  if (G !== null) {
13505
13505
  i = s = G;
@@ -13507,7 +13507,7 @@ function y7() {
13507
13507
  }
13508
13508
  break;
13509
13509
  }
13510
- if (f.child === R.child) {
13510
+ if (f.child === N.child) {
13511
13511
  for (var V = f.child; V; ) {
13512
13512
  if (V === i)
13513
13513
  return Zf(f), e;
@@ -13518,27 +13518,27 @@ function y7() {
13518
13518
  throw new Error("Unable to find node on an unmounted component.");
13519
13519
  }
13520
13520
  if (i.return !== s.return)
13521
- i = f, s = R;
13521
+ i = f, s = N;
13522
13522
  else {
13523
13523
  for (var q = !1, te = f.child; te; ) {
13524
13524
  if (te === i) {
13525
- q = !0, i = f, s = R;
13525
+ q = !0, i = f, s = N;
13526
13526
  break;
13527
13527
  }
13528
13528
  if (te === s) {
13529
- q = !0, s = f, i = R;
13529
+ q = !0, s = f, i = N;
13530
13530
  break;
13531
13531
  }
13532
13532
  te = te.sibling;
13533
13533
  }
13534
13534
  if (!q) {
13535
- for (te = R.child; te; ) {
13535
+ for (te = N.child; te; ) {
13536
13536
  if (te === i) {
13537
- q = !0, i = R, s = f;
13537
+ q = !0, i = N, s = f;
13538
13538
  break;
13539
13539
  }
13540
13540
  if (te === s) {
13541
- q = !0, s = R, i = f;
13541
+ q = !0, s = N, i = f;
13542
13542
  break;
13543
13543
  }
13544
13544
  te = te.sibling;
@@ -13630,25 +13630,25 @@ function y7() {
13630
13630
  writable: !0
13631
13631
  };
13632
13632
  Object.defineProperties(console, {
13633
- log: N({}, e, {
13633
+ log: R({}, e, {
13634
13634
  value: co
13635
13635
  }),
13636
- info: N({}, e, {
13636
+ info: R({}, e, {
13637
13637
  value: fo
13638
13638
  }),
13639
- warn: N({}, e, {
13639
+ warn: R({}, e, {
13640
13640
  value: Xu
13641
13641
  }),
13642
- error: N({}, e, {
13642
+ error: R({}, e, {
13643
13643
  value: ho
13644
13644
  }),
13645
- group: N({}, e, {
13645
+ group: R({}, e, {
13646
13646
  value: po
13647
13647
  }),
13648
- groupCollapsed: N({}, e, {
13648
+ groupCollapsed: R({}, e, {
13649
13649
  value: qi
13650
13650
  }),
13651
- groupEnd: N({}, e, {
13651
+ groupEnd: R({}, e, {
13652
13652
  value: Gr
13653
13653
  })
13654
13654
  });
@@ -13691,27 +13691,27 @@ function y7() {
13691
13691
  f = ea.current, ea.current = null, Wu();
13692
13692
  try {
13693
13693
  if (t) {
13694
- var R = function() {
13694
+ var N = function() {
13695
13695
  throw Error();
13696
13696
  };
13697
- if (Object.defineProperty(R.prototype, "props", {
13697
+ if (Object.defineProperty(N.prototype, "props", {
13698
13698
  set: function() {
13699
13699
  throw Error();
13700
13700
  }
13701
13701
  }), typeof Reflect == "object" && Reflect.construct) {
13702
13702
  try {
13703
- Reflect.construct(R, []);
13703
+ Reflect.construct(N, []);
13704
13704
  } catch (Te) {
13705
13705
  i = Te;
13706
13706
  }
13707
- Reflect.construct(e, [], R);
13707
+ Reflect.construct(e, [], N);
13708
13708
  } else {
13709
13709
  try {
13710
- R.call();
13710
+ N.call();
13711
13711
  } catch (Te) {
13712
13712
  i = Te;
13713
13713
  }
13714
- e.call(R.prototype);
13714
+ e.call(N.prototype);
13715
13715
  }
13716
13716
  } else {
13717
13717
  try {
@@ -13796,19 +13796,19 @@ function y7() {
13796
13796
  function Br(e, t, a, i, s) {
13797
13797
  {
13798
13798
  var f = Function.call.bind(Ur);
13799
- for (var R in e)
13800
- if (f(e, R)) {
13799
+ for (var N in e)
13800
+ if (f(e, N)) {
13801
13801
  var G = void 0;
13802
13802
  try {
13803
- if (typeof e[R] != "function") {
13804
- var V = Error((i || "React class") + ": " + a + " type `" + R + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[R] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
13803
+ if (typeof e[N] != "function") {
13804
+ var V = Error((i || "React class") + ": " + a + " type `" + N + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof e[N] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
13805
13805
  throw V.name = "Invariant Violation", V;
13806
13806
  }
13807
- G = e[R](t, R, i, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
13807
+ G = e[N](t, N, i, a, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
13808
13808
  } catch (q) {
13809
13809
  G = q;
13810
13810
  }
13811
- G && !(G instanceof Error) && (jr(s), h("%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).", i || "React class", a, R, typeof G), jr(null)), G instanceof Error && !(G.message in Ll) && (Ll[G.message] = !0, jr(s), h("Failed %s type: %s", a, G.message), jr(null));
13811
+ G && !(G instanceof Error) && (jr(s), h("%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).", i || "React class", a, N, typeof G), jr(null)), G instanceof Error && !(G.message in Ll) && (Ll[G.message] = !0, jr(s), h("Failed %s type: %s", a, G.message), jr(null));
13812
13812
  }
13813
13813
  }
13814
13814
  }
@@ -13853,8 +13853,8 @@ function y7() {
13853
13853
  if (s && s.__reactInternalMemoizedUnmaskedChildContext === t)
13854
13854
  return s.__reactInternalMemoizedMaskedChildContext;
13855
13855
  var f = {};
13856
- for (var R in i)
13857
- f[R] = t[R];
13856
+ for (var N in i)
13857
+ f[N] = t[N];
13858
13858
  {
13859
13859
  var G = _e(e) || "Unknown";
13860
13860
  Br(i, f, "context", G);
@@ -13894,15 +13894,15 @@ function y7() {
13894
13894
  }
13895
13895
  return a;
13896
13896
  }
13897
- var R = i.getChildContext();
13898
- for (var G in R)
13897
+ var N = i.getChildContext();
13898
+ for (var G in N)
13899
13899
  if (!(G in s))
13900
13900
  throw new Error((_e(e) || "Unknown") + '.getChildContext(): key "' + G + '" is not defined in childContextTypes.');
13901
13901
  {
13902
13902
  var V = _e(e) || "Unknown";
13903
- Br(s, R, "child context", V);
13903
+ Br(s, N, "child context", V);
13904
13904
  }
13905
- return N({}, a, R);
13905
+ return R({}, a, N);
13906
13906
  }
13907
13907
  }
13908
13908
  function Ol(e) {
@@ -14155,13 +14155,13 @@ function y7() {
14155
14155
  var a = e.pendingLanes;
14156
14156
  if (a === be)
14157
14157
  return be;
14158
- var i = be, s = e.suspendedLanes, f = e.pingedLanes, R = a & Po;
14159
- if (R !== be) {
14160
- var G = R & ~s;
14158
+ var i = be, s = e.suspendedLanes, f = e.pingedLanes, N = a & Po;
14159
+ if (N !== be) {
14160
+ var G = N & ~s;
14161
14161
  if (G !== be)
14162
14162
  i = Fn(G);
14163
14163
  else {
14164
- var V = R & f;
14164
+ var V = N & f;
14165
14165
  V !== be && (i = Fn(V));
14166
14166
  }
14167
14167
  } else {
@@ -14195,8 +14195,8 @@ function y7() {
14195
14195
  }
14196
14196
  function vd(e, t) {
14197
14197
  for (var a = e.eventTimes, i = Wt; t > 0; ) {
14198
- var s = Ka(t), f = 1 << s, R = a[s];
14199
- R > i && (i = R), t &= ~f;
14198
+ var s = Ka(t), f = 1 << s, N = a[s];
14199
+ N > i && (i = N), t &= ~f;
14200
14200
  }
14201
14201
  return i;
14202
14202
  }
@@ -14242,9 +14242,9 @@ function y7() {
14242
14242
  }
14243
14243
  }
14244
14244
  function gd(e, t) {
14245
- for (var a = e.pendingLanes, i = e.suspendedLanes, s = e.pingedLanes, f = e.expirationTimes, R = a; R > 0; ) {
14246
- var G = Ka(R), V = 1 << G, q = f[G];
14247
- q === Wt ? ((V & i) === be || (V & s) !== be) && (f[G] = md(V, t)) : q <= t && (e.expiredLanes |= V), R &= ~V;
14245
+ for (var a = e.pendingLanes, i = e.suspendedLanes, s = e.pingedLanes, f = e.expirationTimes, N = a; N > 0; ) {
14246
+ var G = Ka(N), V = 1 << G, q = f[G];
14247
+ q === Wt ? ((V & i) === be || (V & s) !== be) && (f[G] = md(V, t)) : q <= t && (e.expiredLanes |= V), N &= ~V;
14248
14248
  }
14249
14249
  }
14250
14250
  function yd(e) {
@@ -14344,17 +14344,17 @@ function y7() {
14344
14344
  function ar(e, t) {
14345
14345
  var a = e.pendingLanes & ~t;
14346
14346
  e.pendingLanes = t, e.suspendedLanes = be, e.pingedLanes = be, e.expiredLanes &= t, e.mutableReadLanes &= t, e.entangledLanes &= t;
14347
- for (var i = e.entanglements, s = e.eventTimes, f = e.expirationTimes, R = a; R > 0; ) {
14348
- var G = Ka(R), V = 1 << G;
14349
- i[G] = be, s[G] = Wt, f[G] = Wt, R &= ~V;
14347
+ for (var i = e.entanglements, s = e.eventTimes, f = e.expirationTimes, N = a; N > 0; ) {
14348
+ var G = Ka(N), V = 1 << G;
14349
+ i[G] = be, s[G] = Wt, f[G] = Wt, N &= ~V;
14350
14350
  }
14351
14351
  }
14352
14352
  function ac(e, t) {
14353
14353
  for (var a = e.entangledLanes |= t, i = e.entanglements, s = a; s; ) {
14354
- var f = Ka(s), R = 1 << f;
14354
+ var f = Ka(s), N = 1 << f;
14355
14355
  // Is this one of the newly entangled lanes?
14356
- R & t | // Is this lane transitively entangled with the newly entangled lanes?
14357
- i[f] & t && (i[f] |= t), s &= ~R;
14356
+ N & t | // Is this lane transitively entangled with the newly entangled lanes?
14357
+ i[f] & t && (i[f] |= t), s &= ~N;
14358
14358
  }
14359
14359
  }
14360
14360
  function E0(e, t) {
@@ -14401,18 +14401,18 @@ function y7() {
14401
14401
  function ws(e, t, a) {
14402
14402
  if (br)
14403
14403
  for (var i = e.pendingUpdatersLaneMap; a > 0; ) {
14404
- var s = Uo(a), f = 1 << s, R = i[s];
14405
- R.add(t), a &= ~f;
14404
+ var s = Uo(a), f = 1 << s, N = i[s];
14405
+ N.add(t), a &= ~f;
14406
14406
  }
14407
14407
  }
14408
14408
  function Vn(e, t) {
14409
14409
  if (br)
14410
14410
  for (var a = e.pendingUpdatersLaneMap, i = e.memoizedUpdaters; t > 0; ) {
14411
- var s = Uo(t), f = 1 << s, R = a[s];
14412
- R.size > 0 && (R.forEach(function(G) {
14411
+ var s = Uo(t), f = 1 << s, N = a[s];
14412
+ N.size > 0 && (N.forEach(function(G) {
14413
14413
  var V = G.alternate;
14414
14414
  (V === null || !i.has(V)) && i.add(G);
14415
- }), R.clear()), t &= ~f;
14415
+ }), N.clear()), t &= ~f;
14416
14416
  }
14417
14417
  }
14418
14418
  function Ed(e, t) {
@@ -14456,7 +14456,7 @@ function y7() {
14456
14456
  if (!t.supportsFiber)
14457
14457
  return h("The installed version of React DevTools is too old and will not work with the current version of React. Please update React DevTools. https://reactjs.org/link/react-devtools"), !0;
14458
14458
  try {
14459
- b && (e = N({}, e, {
14459
+ b && (e = R({}, e, {
14460
14460
  getLaneLabelMap: Ad,
14461
14461
  injectProfilingHooks: oc
14462
14462
  })), ul = t.inject(e), Yn = t;
@@ -14664,12 +14664,12 @@ function y7() {
14664
14664
  }
14665
14665
  function Zo(e, t, a) {
14666
14666
  vl(), wr[aa++] = ja, wr[aa++] = Ba, wr[aa++] = Ar, Ar = e;
14667
- var i = ja, s = Ba, f = qo(i) - 1, R = i & ~(1 << f), G = a + 1, V = qo(t) + f;
14667
+ var i = ja, s = Ba, f = qo(i) - 1, N = i & ~(1 << f), G = a + 1, V = qo(t) + f;
14668
14668
  if (V > 30) {
14669
- var q = f - f % 5, te = (1 << q) - 1, ue = (R & te).toString(32), ve = R >> q, xe = f - q, Te = qo(t) + xe, Ee = G << xe, We = Ee | ve, rt = ue + s;
14669
+ var q = f - f % 5, te = (1 << q) - 1, ue = (N & te).toString(32), ve = N >> q, xe = f - q, Te = qo(t) + xe, Ee = G << xe, We = Ee | ve, rt = ue + s;
14670
14670
  ja = 1 << Te | We, Ba = rt;
14671
14671
  } else {
14672
- var Ke = G << f, Xt = Ke | R, Ot = s;
14672
+ var Ke = G << f, Xt = Ke | N, Ot = s;
14673
14673
  ja = 1 << V | Xt, Ba = Ot;
14674
14674
  }
14675
14675
  }
@@ -14779,12 +14779,12 @@ function y7() {
14779
14779
  break;
14780
14780
  }
14781
14781
  case F: {
14782
- var R = e.type, G = e.memoizedProps, V = e.stateNode;
14782
+ var N = e.type, G = e.memoizedProps, V = e.stateNode;
14783
14783
  switch (t.tag) {
14784
14784
  case F: {
14785
14785
  var q = t.type, te = t.pendingProps, ue = (e.mode & bt) !== qe;
14786
14786
  Dl(
14787
- R,
14787
+ N,
14788
14788
  G,
14789
14789
  V,
14790
14790
  q,
@@ -14797,7 +14797,7 @@ function y7() {
14797
14797
  case X: {
14798
14798
  var ve = t.pendingProps, xe = (e.mode & bt) !== qe;
14799
14799
  sd(
14800
- R,
14800
+ N,
14801
14801
  G,
14802
14802
  V,
14803
14803
  ve,
@@ -14807,7 +14807,7 @@ function y7() {
14807
14807
  break;
14808
14808
  }
14809
14809
  case U: {
14810
- oo(R, G, V);
14810
+ oo(N, G, V);
14811
14811
  break;
14812
14812
  }
14813
14813
  }
@@ -14845,8 +14845,8 @@ function y7() {
14845
14845
  return s !== null ? (e.stateNode = s, un = e, Yr = Hu(s), !0) : !1;
14846
14846
  }
14847
14847
  case X: {
14848
- var f = e.pendingProps, R = qr(t, f);
14849
- return R !== null ? (e.stateNode = R, un = e, Yr = null, !0) : !1;
14848
+ var f = e.pendingProps, N = qr(t, f);
14849
+ return N !== null ? (e.stateNode = N, un = e, Yr = null, !0) : !1;
14850
14850
  }
14851
14851
  case U: {
14852
14852
  var G = Kr(t);
@@ -14906,9 +14906,9 @@ function y7() {
14906
14906
  if (f !== null)
14907
14907
  switch (f.tag) {
14908
14908
  case O: {
14909
- var R = f.stateNode.containerInfo, G = (f.mode & bt) !== qe;
14909
+ var N = f.stateNode.containerInfo, G = (f.mode & bt) !== qe;
14910
14910
  io(
14911
- R,
14911
+ N,
14912
14912
  t,
14913
14913
  a,
14914
14914
  // TODO: Delete this argument when we remove the legacy root API.
@@ -15120,12 +15120,12 @@ Error generating stack: ` + i.message + `
15120
15120
  if (wt.length > 0 && (wt.forEach(function(ve) {
15121
15121
  f.add(_e(ve) || "Component"), Rr.add(ve.type);
15122
15122
  }), wt = []), t.size > 0) {
15123
- var R = ze(t);
15123
+ var N = ze(t);
15124
15124
  h(`Using UNSAFE_componentWillMount in strict mode is not recommended and may indicate bugs in your code. See https://reactjs.org/link/unsafe-component-lifecycles for details.
15125
15125
 
15126
15126
  * Move code with side effects to componentDidMount, and set initial state in the constructor.
15127
15127
 
15128
- Please update the following components: %s`, R);
15128
+ Please update the following components: %s`, N);
15129
15129
  }
15130
15130
  if (i.size > 0) {
15131
15131
  var G = ze(i);
@@ -15261,16 +15261,16 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, s)
15261
15261
  M0[s] || (h('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. We recommend using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', s, i), M0[s] = !0);
15262
15262
  }
15263
15263
  if (a._owner) {
15264
- var f = a._owner, R;
15264
+ var f = a._owner, N;
15265
15265
  if (f) {
15266
15266
  var G = f;
15267
15267
  if (G.tag !== k)
15268
15268
  throw new Error("Function components cannot have string refs. We recommend using useRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref");
15269
- R = G.stateNode;
15269
+ N = G.stateNode;
15270
15270
  }
15271
- if (!R)
15271
+ if (!N)
15272
15272
  throw new Error("Missing owner for string ref " + i + ". This error is likely caused by a bug in React. Please file an issue.");
15273
- var V = R;
15273
+ var V = N;
15274
15274
  R5(i, "ref");
15275
15275
  var q = "" + i;
15276
15276
  if (t !== null && t.ref !== null && typeof t.ref == "function" && t.ref._stringRef === q)
@@ -15342,7 +15342,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15342
15342
  } else
15343
15343
  return de.flags |= Zt, ye;
15344
15344
  }
15345
- function R(de) {
15345
+ function N(de) {
15346
15346
  return e && de.alternate === null && (de.flags |= Zt), de;
15347
15347
  }
15348
15348
  function G(de, ye, fe, Pe) {
@@ -15660,9 +15660,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15660
15660
  if (Qe && (fe = fe.props.children), typeof fe == "object" && fe !== null) {
15661
15661
  switch (fe.$$typeof) {
15662
15662
  case Ae:
15663
- return R(Ke(de, ye, fe, Pe));
15663
+ return N(Ke(de, ye, fe, Pe));
15664
15664
  case Me:
15665
- return R(Xt(de, ye, fe, Pe));
15665
+ return N(Xt(de, ye, fe, Pe));
15666
15666
  case yt:
15667
15667
  var He = fe._payload, At = fe._init;
15668
15668
  return Ot(de, ye, At(He), Pe);
@@ -15673,7 +15673,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15673
15673
  return We(de, ye, fe, Pe);
15674
15674
  Gd(de, fe);
15675
15675
  }
15676
- return typeof fe == "string" && fe !== "" || typeof fe == "number" ? R(rt(de, ye, "" + fe, Pe)) : (typeof fe == "function" && Ud(de), a(de, ye));
15676
+ return typeof fe == "string" && fe !== "" || typeof fe == "number" ? N(rt(de, ye, "" + fe, Pe)) : (typeof fe == "function" && Ud(de), a(de, ye));
15677
15677
  }
15678
15678
  return Ot;
15679
15679
  }
@@ -15729,8 +15729,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15729
15729
  var s = void 0, f = i.dependencies;
15730
15730
  if (f !== null) {
15731
15731
  s = i.child;
15732
- for (var R = f.firstContext; R !== null; ) {
15733
- if (R.context === t) {
15732
+ for (var N = f.firstContext; N !== null; ) {
15733
+ if (N.context === t) {
15734
15734
  if (i.tag === k) {
15735
15735
  var G = jl(a), V = ml(Wt, G);
15736
15736
  V.tag = Id;
@@ -15745,7 +15745,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15745
15745
  ve !== null && (ve.lanes = ht(ve.lanes, a)), G0(i.return, a, e), f.lanes = ht(f.lanes, a);
15746
15746
  break;
15747
15747
  }
15748
- R = R.next;
15748
+ N = N.next;
15749
15749
  }
15750
15750
  } else if (i.tag === ee)
15751
15751
  s = i.type === e.type ? null : i.child;
@@ -15912,8 +15912,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15912
15912
  if (nc(a)) {
15913
15913
  var f = s.lanes;
15914
15914
  f = rc(f, e.pendingLanes);
15915
- var R = ht(f, a);
15916
- s.lanes = R, ac(e, R);
15915
+ var N = ht(f, a);
15916
+ s.lanes = N, ac(e, N);
15917
15917
  }
15918
15918
  }
15919
15919
  }
@@ -15922,7 +15922,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15922
15922
  if (i !== null) {
15923
15923
  var s = i.updateQueue;
15924
15924
  if (a === s) {
15925
- var f = null, R = null, G = a.firstBaseUpdate;
15925
+ var f = null, N = null, G = a.firstBaseUpdate;
15926
15926
  if (G !== null) {
15927
15927
  var V = G;
15928
15928
  do {
@@ -15934,15 +15934,15 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15934
15934
  callback: V.callback,
15935
15935
  next: null
15936
15936
  };
15937
- R === null ? f = R = q : (R.next = q, R = q), V = V.next;
15937
+ N === null ? f = N = q : (N.next = q, N = q), V = V.next;
15938
15938
  } while (V !== null);
15939
- R === null ? f = R = t : (R.next = t, R = t);
15939
+ N === null ? f = N = t : (N.next = t, N = t);
15940
15940
  } else
15941
- f = R = t;
15941
+ f = N = t;
15942
15942
  a = {
15943
15943
  baseState: s.baseState,
15944
15944
  firstBaseUpdate: f,
15945
- lastBaseUpdate: R,
15945
+ lastBaseUpdate: N,
15946
15946
  shared: s.shared,
15947
15947
  effects: s.effects
15948
15948
  }, e.updateQueue = a;
@@ -15955,15 +15955,15 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15955
15955
  function U5(e, t, a, i, s, f) {
15956
15956
  switch (a.tag) {
15957
15957
  case U1: {
15958
- var R = a.payload;
15959
- if (typeof R == "function") {
15958
+ var N = a.payload;
15959
+ if (typeof N == "function") {
15960
15960
  L1();
15961
- var G = R.call(f, i, s);
15961
+ var G = N.call(f, i, s);
15962
15962
  {
15963
15963
  if (e.mode & on) {
15964
15964
  En(!0);
15965
15965
  try {
15966
- R.call(f, i, s);
15966
+ N.call(f, i, s);
15967
15967
  } finally {
15968
15968
  En(!1);
15969
15969
  }
@@ -15972,7 +15972,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15972
15972
  }
15973
15973
  return G;
15974
15974
  }
15975
- return R;
15975
+ return N;
15976
15976
  }
15977
15977
  case j0:
15978
15978
  e.flags = e.flags & ~kn | Pt;
@@ -15994,7 +15994,7 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
15994
15994
  }
15995
15995
  } else
15996
15996
  q = V;
15997
- return q == null ? i : N({}, i, q);
15997
+ return q == null ? i : R({}, i, q);
15998
15998
  }
15999
15999
  case Id:
16000
16000
  return Yd = !0, i;
@@ -16004,15 +16004,15 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
16004
16004
  function Qd(e, t, a, i) {
16005
16005
  var s = e.updateQueue;
16006
16006
  Yd = !1, Xd = s.shared;
16007
- var f = s.firstBaseUpdate, R = s.lastBaseUpdate, G = s.shared.pending;
16007
+ var f = s.firstBaseUpdate, N = s.lastBaseUpdate, G = s.shared.pending;
16008
16008
  if (G !== null) {
16009
16009
  s.shared.pending = null;
16010
16010
  var V = G, q = V.next;
16011
- V.next = null, R === null ? f = q : R.next = q, R = V;
16011
+ V.next = null, N === null ? f = q : N.next = q, N = V;
16012
16012
  var te = e.alternate;
16013
16013
  if (te !== null) {
16014
16014
  var ue = te.updateQueue, ve = ue.lastBaseUpdate;
16015
- ve !== R && (ve === null ? ue.firstBaseUpdate = q : ve.next = q, ue.lastBaseUpdate = V);
16015
+ ve !== N && (ve === null ? ue.firstBaseUpdate = q : ve.next = q, ue.lastBaseUpdate = V);
16016
16016
  }
16017
16017
  }
16018
16018
  if (f !== null) {
@@ -16088,8 +16088,8 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
16088
16088
  var i = t.effects;
16089
16089
  if (t.effects = null, i !== null)
16090
16090
  for (var s = 0; s < i.length; s++) {
16091
- var f = i[s], R = f.callback;
16092
- R !== null && (f.callback = null, j5(R, a));
16091
+ var f = i[s], N = f.callback;
16092
+ N !== null && (f.callback = null, j5(N, a));
16093
16093
  }
16094
16094
  }
16095
16095
  var yc = {}, _l = kt(yc), Sc = kt(yc), Jd = kt(yc);
@@ -16224,9 +16224,9 @@ See https://reactjs.org/link/refs-must-have-owner for more information.`);
16224
16224
  var t = _e(Yt);
16225
16225
  if (!J0.has(t) && (J0.add(t), Ha !== null)) {
16226
16226
  for (var a = "", i = 30, s = 0; s <= Zl; s++) {
16227
- for (var f = Ha[s], R = s === Zl ? e : f, G = s + 1 + ". " + f; G.length < i; )
16227
+ for (var f = Ha[s], N = s === Zl ? e : f, G = s + 1 + ". " + f; G.length < i; )
16228
16228
  G += " ";
16229
- G += R + `
16229
+ G += N + `
16230
16230
  `, a += G;
16231
16231
  }
16232
16232
  h(`React has detected a change in the order of Hooks called by %s. This will lead to bugs and errors if not fixed. For more information, read the Rules of Hooks: https://reactjs.org/link/rules-of-hooks
@@ -16261,13 +16261,13 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16261
16261
  }
16262
16262
  function cu(e, t, a, i, s, f) {
16263
16263
  js = f, Yt = t, Ha = e !== null ? e._debugHookTypes : null, Zl = -1, Z0 = e !== null && e.type !== t.type, t.memoizedState = null, t.updateQueue = null, t.lanes = be, e !== null && e.memoizedState !== null ? Be.current = fm : Ha !== null ? Be.current = cm : Be.current = um;
16264
- var R = a(i, s);
16264
+ var N = a(i, s);
16265
16265
  if (bc) {
16266
16266
  var G = 0;
16267
16267
  do {
16268
16268
  if (bc = !1, Tc = 0, G >= Y5)
16269
16269
  throw new Error("Too many re-renders. React limits the number of renders to prevent an infinite loop.");
16270
- G += 1, Z0 = !1, Jn = null, Zn = null, t.updateQueue = null, Zl = -1, Be.current = dm, R = a(i, s);
16270
+ G += 1, Z0 = !1, Jn = null, Zn = null, t.updateQueue = null, Zl = -1, Be.current = dm, N = a(i, s);
16271
16271
  } while (bc);
16272
16272
  }
16273
16273
  Be.current = fh, t._debugHookTypes = Ha;
@@ -16279,7 +16279,7 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16279
16279
  // it are either exclusive to concurrent mode or exist in both.
16280
16280
  (e.mode & bt) !== qe && h("Internal React error: Expected static flag was missing. Please notify the React team."), Kd = !1, V)
16281
16281
  throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");
16282
- return R;
16282
+ return N;
16283
16283
  }
16284
16284
  function fu() {
16285
16285
  var e = Tc !== 0;
@@ -16354,24 +16354,24 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16354
16354
  lastRenderedState: s
16355
16355
  };
16356
16356
  i.queue = f;
16357
- var R = f.dispatch = J5.bind(null, Yt, f);
16358
- return [i.memoizedState, R];
16357
+ var N = f.dispatch = J5.bind(null, Yt, f);
16358
+ return [i.memoizedState, N];
16359
16359
  }
16360
16360
  function ep(e, t, a) {
16361
16361
  var i = ka(), s = i.queue;
16362
16362
  if (s === null)
16363
16363
  throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
16364
16364
  s.lastRenderedReducer = e;
16365
- var f = Jn, R = f.baseQueue, G = s.pending;
16365
+ var f = Jn, N = f.baseQueue, G = s.pending;
16366
16366
  if (G !== null) {
16367
- if (R !== null) {
16368
- var V = R.next, q = G.next;
16369
- R.next = q, G.next = V;
16367
+ if (N !== null) {
16368
+ var V = N.next, q = G.next;
16369
+ N.next = q, G.next = V;
16370
16370
  }
16371
- f.baseQueue !== R && h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), f.baseQueue = R = G, s.pending = null;
16371
+ f.baseQueue !== N && h("Internal error: Expected work-in-progress queue to be a clone. This is a bug in React."), f.baseQueue = N = G, s.pending = null;
16372
16372
  }
16373
- if (R !== null) {
16374
- var te = R.next, ue = f.baseState, ve = null, xe = null, Te = null, Ee = te;
16373
+ if (N !== null) {
16374
+ var te = N.next, ue = f.baseState, ve = null, xe = null, Te = null, Ee = te;
16375
16375
  do {
16376
16376
  var We = Ee.lane;
16377
16377
  if (Er(js, We)) {
@@ -16415,7 +16415,7 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16415
16415
  var ye = de.lane;
16416
16416
  Yt.lanes = ht(Yt.lanes, ye), Qc(ye), de = de.next;
16417
16417
  } while (de !== Ot);
16418
- } else R === null && (s.lanes = be);
16418
+ } else N === null && (s.lanes = be);
16419
16419
  var fe = s.dispatch;
16420
16420
  return [i.memoizedState, fe];
16421
16421
  }
@@ -16424,10 +16424,10 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16424
16424
  if (s === null)
16425
16425
  throw new Error("Should have a queue. This is likely a bug in React. Please file an issue.");
16426
16426
  s.lastRenderedReducer = e;
16427
- var f = s.dispatch, R = s.pending, G = i.memoizedState;
16428
- if (R !== null) {
16427
+ var f = s.dispatch, N = s.pending, G = i.memoizedState;
16428
+ if (N !== null) {
16429
16429
  s.pending = null;
16430
- var V = R.next, q = V;
16430
+ var V = N.next, q = V;
16431
16431
  do {
16432
16432
  var te = q.action;
16433
16433
  G = e(G, te), q = q.next;
@@ -16441,8 +16441,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16441
16441
  function KS(e, t, a) {
16442
16442
  }
16443
16443
  function np(e, t, a) {
16444
- var i = Yt, s = Mi(), f, R = r();
16445
- if (R) {
16444
+ var i = Yt, s = Mi(), f, N = r();
16445
+ if (N) {
16446
16446
  if (a === void 0)
16447
16447
  throw new Error("Missing getServerSnapshot, which is required for server-rendered content. Will revert to client rendering.");
16448
16448
  f = a(), ou || f !== a() && (h("The result of getServerSnapshot should be cached to avoid an infinite loop"), ou = !0);
@@ -16466,8 +16466,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16466
16466
  function $d(e, t, a) {
16467
16467
  var i = Yt, s = ka(), f = t();
16468
16468
  if (!ou) {
16469
- var R = t();
16470
- ir(f, R) || (h("The result of getSnapshot should be cached to avoid an infinite loop"), ou = !0);
16469
+ var N = t();
16470
+ ir(f, N) || (h("The result of getSnapshot should be cached to avoid an infinite loop"), ou = !0);
16471
16471
  }
16472
16472
  var G = s.memoizedState, V = !ir(G, f);
16473
16473
  V && (s.memoizedState = f, Oc());
@@ -16551,12 +16551,12 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16551
16551
  if (f === null)
16552
16552
  f = W1(), Yt.updateQueue = f, f.lastEffect = s.next = s;
16553
16553
  else {
16554
- var R = f.lastEffect;
16555
- if (R === null)
16554
+ var N = f.lastEffect;
16555
+ if (N === null)
16556
16556
  f.lastEffect = s.next = s;
16557
16557
  else {
16558
- var G = R.next;
16559
- R.next = s, s.next = G, f.lastEffect = s;
16558
+ var G = N.next;
16559
+ N.next = s, s.next = G, f.lastEffect = s;
16560
16560
  }
16561
16561
  }
16562
16562
  return s;
@@ -16579,18 +16579,18 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16579
16579
  Yt.flags |= e, s.memoizedState = wc(Qn | t, a, void 0, f);
16580
16580
  }
16581
16581
  function nh(e, t, a, i) {
16582
- var s = ka(), f = i === void 0 ? null : i, R = void 0;
16582
+ var s = ka(), f = i === void 0 ? null : i, N = void 0;
16583
16583
  if (Jn !== null) {
16584
16584
  var G = Jn.memoizedState;
16585
- if (R = G.destroy, f !== null) {
16585
+ if (N = G.destroy, f !== null) {
16586
16586
  var V = G.deps;
16587
16587
  if (q0(f, V)) {
16588
- s.memoizedState = wc(t, a, R, f);
16588
+ s.memoizedState = wc(t, a, N, f);
16589
16589
  return;
16590
16590
  }
16591
16591
  }
16592
16592
  }
16593
- Yt.flags |= e, s.memoizedState = wc(Qn | t, a, R, f);
16593
+ Yt.flags |= e, s.memoizedState = wc(Qn | t, a, N, f);
16594
16594
  }
16595
16595
  function rh(e, t) {
16596
16596
  return (Yt.mode & ya) !== qe ? Ac(Ru | Xa | Au, fr, e, t) : Ac(Xa | Au, fr, e, t);
@@ -16663,8 +16663,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16663
16663
  if (q0(i, f))
16664
16664
  return s[0];
16665
16665
  }
16666
- var R = e();
16667
- return a.memoizedState = [R, i], R;
16666
+ var N = e();
16667
+ return a.memoizedState = [N, i], N;
16668
16668
  }
16669
16669
  function fp(e) {
16670
16670
  var t = Mi();
@@ -16703,8 +16703,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16703
16703
  e(!1), t();
16704
16704
  } finally {
16705
16705
  if (gn(i), Ec.transition = s, s === null && f._updatedFibers) {
16706
- var R = f._updatedFibers.size;
16707
- R > 10 && S("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), f._updatedFibers.clear();
16706
+ var N = f._updatedFibers.size;
16707
+ N > 10 && S("Detected a large number of updates inside startTransition. If this is due to a subscription please re-write it to use React provided hooks. Otherwise concurrent mode guarantees are off the table."), f._updatedFibers.clear();
16708
16708
  }
16709
16709
  }
16710
16710
  }
@@ -16732,8 +16732,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16732
16732
  var f = Tc++;
16733
16733
  f > 0 && (i += "H" + f.toString(32)), i += ":";
16734
16734
  } else {
16735
- var R = I5++;
16736
- i = ":" + a + "r" + R.toString(32) + ":";
16735
+ var N = I5++;
16736
+ i = ":" + a + "r" + N.toString(32) + ":";
16737
16737
  }
16738
16738
  return e.memoizedState = i, i;
16739
16739
  }
@@ -16755,8 +16755,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16755
16755
  else {
16756
16756
  var f = F1(e, t, s, i);
16757
16757
  if (f !== null) {
16758
- var R = Dr();
16759
- Hn(f, e, i, R), sm(f, t, i);
16758
+ var N = Dr();
16759
+ Hn(f, e, i, N), sm(f, t, i);
16760
16760
  }
16761
16761
  }
16762
16762
  om(e, i);
@@ -16775,12 +16775,12 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
16775
16775
  else {
16776
16776
  var f = e.alternate;
16777
16777
  if (e.lanes === be && (f === null || f.lanes === be)) {
16778
- var R = t.lastRenderedReducer;
16779
- if (R !== null) {
16778
+ var N = t.lastRenderedReducer;
16779
+ if (N !== null) {
16780
16780
  var G;
16781
16781
  G = Be.current, Be.current = ii;
16782
16782
  try {
16783
- var V = t.lastRenderedState, q = R(V, a);
16783
+ var V = t.lastRenderedState, q = N(V, a);
16784
16784
  if (s.hasEagerState = !0, s.eagerState = q, ir(q, V)) {
16785
16785
  z5(e, t, s, i);
16786
16786
  return;
@@ -17446,7 +17446,7 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
17446
17446
  }
17447
17447
  function li(e, t) {
17448
17448
  if (e && e.defaultProps) {
17449
- var a = N({}, t), i = e.defaultProps;
17449
+ var a = R({}, t), i = e.defaultProps;
17450
17450
  for (var s in i)
17451
17451
  a[s] === void 0 && (a[s] = i[s]);
17452
17452
  return a;
@@ -17487,42 +17487,42 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
17487
17487
  }
17488
17488
  ym(t, f);
17489
17489
  }
17490
- var R = f == null ? s : N({}, s, f);
17491
- if (e.memoizedState = R, e.lanes === be) {
17490
+ var N = f == null ? s : R({}, s, f);
17491
+ if (e.memoizedState = N, e.lanes === be) {
17492
17492
  var G = e.updateQueue;
17493
- G.baseState = R;
17493
+ G.baseState = N;
17494
17494
  }
17495
17495
  }
17496
17496
  var Pp = {
17497
17497
  isMounted: u0,
17498
17498
  enqueueSetState: function(e, t, a) {
17499
- var i = T(e), s = Dr(), f = es(i), R = ml(s, f);
17500
- R.payload = t, a != null && (gh(a, "setState"), R.callback = a);
17501
- var G = Ql(i, R, f);
17499
+ var i = T(e), s = Dr(), f = es(i), N = ml(s, f);
17500
+ N.payload = t, a != null && (gh(a, "setState"), N.callback = a);
17501
+ var G = Ql(i, N, f);
17502
17502
  G !== null && (Hn(G, i, f, s), Wd(G, i, f)), Ms(i, f);
17503
17503
  },
17504
17504
  enqueueReplaceState: function(e, t, a) {
17505
- var i = T(e), s = Dr(), f = es(i), R = ml(s, f);
17506
- R.tag = U1, R.payload = t, a != null && (gh(a, "replaceState"), R.callback = a);
17507
- var G = Ql(i, R, f);
17505
+ var i = T(e), s = Dr(), f = es(i), N = ml(s, f);
17506
+ N.tag = U1, N.payload = t, a != null && (gh(a, "replaceState"), N.callback = a);
17507
+ var G = Ql(i, N, f);
17508
17508
  G !== null && (Hn(G, i, f, s), Wd(G, i, f)), Ms(i, f);
17509
17509
  },
17510
17510
  enqueueForceUpdate: function(e, t) {
17511
17511
  var a = T(e), i = Dr(), s = es(a), f = ml(i, s);
17512
17512
  f.tag = Id, t != null && (gh(t, "forceUpdate"), f.callback = t);
17513
- var R = Ql(a, f, s);
17514
- R !== null && (Hn(R, a, s, i), Wd(R, a, s)), Qo(a, s);
17513
+ var N = Ql(a, f, s);
17514
+ N !== null && (Hn(N, a, s, i), Wd(N, a, s)), Qo(a, s);
17515
17515
  }
17516
17516
  };
17517
- function xm(e, t, a, i, s, f, R) {
17517
+ function xm(e, t, a, i, s, f, N) {
17518
17518
  var G = e.stateNode;
17519
17519
  if (typeof G.shouldComponentUpdate == "function") {
17520
- var V = G.shouldComponentUpdate(i, f, R);
17520
+ var V = G.shouldComponentUpdate(i, f, N);
17521
17521
  {
17522
17522
  if (e.mode & on) {
17523
17523
  En(!0);
17524
17524
  try {
17525
- V = G.shouldComponentUpdate(i, f, R);
17525
+ V = G.shouldComponentUpdate(i, f, N);
17526
17526
  } finally {
17527
17527
  En(!1);
17528
17528
  }
@@ -17546,8 +17546,8 @@ Incoming: %s`, Se, "[" + t.join(", ") + "]", "[" + e.join(", ") + "]");
17546
17546
  (e.mode & on) === qe && (Dc.add(t), h(`%s uses the legacy contextTypes API which is no longer supported and will be removed in the next major release. Use React.createContext() with static contextType instead.
17547
17547
 
17548
17548
  Learn more about this warning here: https://reactjs.org/link/legacy-context`, s)), i.contextTypes && h("contextTypes was defined as an instance property on %s. Use a static property to define contextTypes instead.", s), t.contextType && t.contextTypes && !Rp.has(t) && (Rp.add(t), h("%s declares both contextTypes and contextType static properties. The legacy contextTypes property will be ignored.", s)), typeof i.componentShouldUpdate == "function" && h("%s has a method called componentShouldUpdate(). Did you mean shouldComponentUpdate()? The name is phrased as a question because the function is expected to return a value.", s), t.prototype && t.prototype.isPureReactComponent && typeof i.shouldComponentUpdate < "u" && h("%s has a method called shouldComponentUpdate(). shouldComponentUpdate should not be used when extending React.PureComponent. Please extend React.Component if shouldComponentUpdate is used.", Ze(t) || "A pure component"), typeof i.componentDidUnmount == "function" && h("%s has a method called componentDidUnmount(). But there is no such lifecycle method. Did you mean componentWillUnmount()?", s), typeof i.componentDidReceiveProps == "function" && h("%s has a method called componentDidReceiveProps(). But there is no such lifecycle method. If you meant to update the state in response to changing props, use componentWillReceiveProps(). If you meant to fetch data or run side-effects or mutations after React has updated the UI, use componentDidUpdate().", s), typeof i.componentWillRecieveProps == "function" && h("%s has a method called componentWillRecieveProps(). Did you mean componentWillReceiveProps()?", s), typeof i.UNSAFE_componentWillRecieveProps == "function" && h("%s has a method called UNSAFE_componentWillRecieveProps(). Did you mean UNSAFE_componentWillReceiveProps()?", s);
17549
- var R = i.props !== a;
17550
- i.props !== void 0 && R && h("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", s, s), i.defaultProps && h("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", s, s), typeof i.getSnapshotBeforeUpdate == "function" && typeof i.componentDidUpdate != "function" && !bp.has(t) && (bp.add(t), h("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", Ze(t))), typeof i.getDerivedStateFromProps == "function" && h("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", s), typeof i.getDerivedStateFromError == "function" && h("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", s), typeof t.getSnapshotBeforeUpdate == "function" && h("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", s);
17549
+ var N = i.props !== a;
17550
+ i.props !== void 0 && N && h("%s(...): When calling super() in `%s`, make sure to pass up the same props that your component's constructor was passed.", s, s), i.defaultProps && h("Setting defaultProps as an instance property on %s is not supported and will be ignored. Instead, define defaultProps as a static property on %s.", s, s), typeof i.getSnapshotBeforeUpdate == "function" && typeof i.componentDidUpdate != "function" && !bp.has(t) && (bp.add(t), h("%s: getSnapshotBeforeUpdate() should be used with componentDidUpdate(). This component defines getSnapshotBeforeUpdate() only.", Ze(t))), typeof i.getDerivedStateFromProps == "function" && h("%s: getDerivedStateFromProps() is defined as an instance method and will be ignored. Instead, declare it as a static method.", s), typeof i.getDerivedStateFromError == "function" && h("%s: getDerivedStateFromError() is defined as an instance method and will be ignored. Instead, declare it as a static method.", s), typeof t.getSnapshotBeforeUpdate == "function" && h("%s: getSnapshotBeforeUpdate() is defined as a static method and will be ignored. Instead, declare it as an instance method.", s);
17551
17551
  var G = i.state;
17552
17552
  G && (typeof G != "object" || Ln(G)) && h("%s.state: must be set to an object or null", s), typeof i.getChildContext == "function" && typeof t.childContextTypes != "object" && h("%s.getChildContext(): childContextTypes must be defined in order to use getChildContext().", s);
17553
17553
  }
@@ -17556,20 +17556,20 @@ Learn more about this warning here: https://reactjs.org/link/legacy-context`, s)
17556
17556
  t.updater = Pp, e.stateNode = t, y(t, e), t._reactInternalInstance = xp;
17557
17557
  }
17558
17558
  function Em(e, t, a) {
17559
- var i = !1, s = tr, f = tr, R = t.contextType;
17559
+ var i = !1, s = tr, f = tr, N = t.contextType;
17560
17560
  if ("contextType" in t) {
17561
17561
  var G = (
17562
17562
  // Allow null for conditional declaration
17563
- R === null || R !== void 0 && R.$$typeof === $e && R._context === void 0
17563
+ N === null || N !== void 0 && N.$$typeof === $e && N._context === void 0
17564
17564
  );
17565
17565
  if (!G && !Np.has(t)) {
17566
17566
  Np.add(t);
17567
17567
  var V = "";
17568
- R === void 0 ? V = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof R != "object" ? V = " However, it is set to a " + typeof R + "." : R.$$typeof === Ge ? V = " Did you accidentally pass the Context.Provider instead?" : R._context !== void 0 ? V = " Did you accidentally pass the Context.Consumer instead?" : V = " However, it is set to an object with keys {" + Object.keys(R).join(", ") + "}.", h("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", Ze(t) || "Component", V);
17568
+ N === void 0 ? V = " However, it is set to undefined. This can be caused by a typo or by mixing up named and default imports. This can also happen due to a circular dependency, so try moving the createContext() call to a separate file." : typeof N != "object" ? V = " However, it is set to a " + typeof N + "." : N.$$typeof === Ge ? V = " Did you accidentally pass the Context.Provider instead?" : N._context !== void 0 ? V = " Did you accidentally pass the Context.Consumer instead?" : V = " However, it is set to an object with keys {" + Object.keys(N).join(", ") + "}.", h("%s defines an invalid contextType. contextType should point to the Context object returned by React.createContext().%s", Ze(t) || "Component", V);
17569
17569
  }
17570
17570
  }
17571
- if (typeof R == "object" && R !== null)
17572
- f = jn(R);
17571
+ if (typeof N == "object" && N !== null)
17572
+ f = jn(N);
17573
17573
  else {
17574
17574
  s = ln(e, t, !0);
17575
17575
  var q = t.contextTypes;
@@ -17631,8 +17631,8 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17631
17631
  if (typeof f == "object" && f !== null)
17632
17632
  s.context = jn(f);
17633
17633
  else {
17634
- var R = ln(e, t, !0);
17635
- s.context = Za(e, R);
17634
+ var N = ln(e, t, !0);
17635
+ s.context = Za(e, N);
17636
17636
  }
17637
17637
  {
17638
17638
  if (s.state === a) {
@@ -17651,7 +17651,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17651
17651
  function n3(e, t, a, i) {
17652
17652
  var s = e.stateNode, f = e.memoizedProps;
17653
17653
  s.props = f;
17654
- var R = s.context, G = t.contextType, V = tr;
17654
+ var N = s.context, G = t.contextType, V = tr;
17655
17655
  if (typeof G == "object" && G !== null)
17656
17656
  V = jn(G);
17657
17657
  else {
@@ -17659,7 +17659,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17659
17659
  V = Za(e, q);
17660
17660
  }
17661
17661
  var te = t.getDerivedStateFromProps, ue = typeof te == "function" || typeof s.getSnapshotBeforeUpdate == "function";
17662
- !ue && (typeof s.UNSAFE_componentWillReceiveProps == "function" || typeof s.componentWillReceiveProps == "function") && (f !== a || R !== V) && bm(e, s, a, V), B1();
17662
+ !ue && (typeof s.UNSAFE_componentWillReceiveProps == "function" || typeof s.componentWillReceiveProps == "function") && (f !== a || N !== V) && bm(e, s, a, V), B1();
17663
17663
  var ve = e.memoizedState, xe = s.state = ve;
17664
17664
  if (Qd(e, a, s, i), xe = e.memoizedState, f === a && ve === xe && !Ci() && !_d()) {
17665
17665
  if (typeof s.componentDidMount == "function") {
@@ -17687,7 +17687,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17687
17687
  function r3(e, t, a, i, s) {
17688
17688
  var f = t.stateNode;
17689
17689
  j1(e, t);
17690
- var R = t.memoizedProps, G = t.type === t.elementType ? R : li(t.type, R);
17690
+ var N = t.memoizedProps, G = t.type === t.elementType ? N : li(t.type, N);
17691
17691
  f.props = G;
17692
17692
  var V = t.pendingProps, q = f.context, te = a.contextType, ue = tr;
17693
17693
  if (typeof te == "object" && te !== null)
@@ -17697,17 +17697,17 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17697
17697
  ue = Za(t, ve);
17698
17698
  }
17699
17699
  var xe = a.getDerivedStateFromProps, Te = typeof xe == "function" || typeof f.getSnapshotBeforeUpdate == "function";
17700
- !Te && (typeof f.UNSAFE_componentWillReceiveProps == "function" || typeof f.componentWillReceiveProps == "function") && (R !== V || q !== ue) && bm(t, f, i, ue), B1();
17700
+ !Te && (typeof f.UNSAFE_componentWillReceiveProps == "function" || typeof f.componentWillReceiveProps == "function") && (N !== V || q !== ue) && bm(t, f, i, ue), B1();
17701
17701
  var Ee = t.memoizedState, We = f.state = Ee;
17702
- if (Qd(t, i, f, s), We = t.memoizedState, R === V && Ee === We && !Ci() && !_d() && !D)
17703
- return typeof f.componentDidUpdate == "function" && (R !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (R !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= hi), !1;
17702
+ if (Qd(t, i, f, s), We = t.memoizedState, N === V && Ee === We && !Ci() && !_d() && !D)
17703
+ return typeof f.componentDidUpdate == "function" && (N !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (N !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= hi), !1;
17704
17704
  typeof xe == "function" && (Dp(t, a, xe, i), We = t.memoizedState);
17705
17705
  var rt = _d() || xm(t, a, G, i, Ee, We, ue) || // TODO: In some cases, we'll end up checking if context has changed twice,
17706
17706
  // both before and after `shouldComponentUpdate` has been called. Not ideal,
17707
17707
  // but I'm loath to refactor this function. This only happens for memoized
17708
17708
  // components so it's not that common.
17709
17709
  D;
17710
- return rt ? (!Te && (typeof f.UNSAFE_componentWillUpdate == "function" || typeof f.componentWillUpdate == "function") && (typeof f.componentWillUpdate == "function" && f.componentWillUpdate(i, We, ue), typeof f.UNSAFE_componentWillUpdate == "function" && f.UNSAFE_componentWillUpdate(i, We, ue)), typeof f.componentDidUpdate == "function" && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (t.flags |= hi)) : (typeof f.componentDidUpdate == "function" && (R !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (R !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= hi), t.memoizedProps = i, t.memoizedState = We), f.props = i, f.state = We, f.context = ue, rt;
17710
+ return rt ? (!Te && (typeof f.UNSAFE_componentWillUpdate == "function" || typeof f.componentWillUpdate == "function") && (typeof f.componentWillUpdate == "function" && f.componentWillUpdate(i, We, ue), typeof f.UNSAFE_componentWillUpdate == "function" && f.UNSAFE_componentWillUpdate(i, We, ue)), typeof f.componentDidUpdate == "function" && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (t.flags |= hi)) : (typeof f.componentDidUpdate == "function" && (N !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= Dt), typeof f.getSnapshotBeforeUpdate == "function" && (N !== e.memoizedProps || Ee !== e.memoizedState) && (t.flags |= hi), t.memoizedProps = i, t.memoizedState = We), f.props = i, f.state = We, f.context = ue, rt;
17711
17711
  }
17712
17712
  function Bs(e, t) {
17713
17713
  return {
@@ -17733,7 +17733,7 @@ https://reactjs.org/link/unsafe-component-lifecycles`, We, rt, xe !== null ? `
17733
17733
  var a = a3(e, t);
17734
17734
  if (a === !1)
17735
17735
  return;
17736
- var i = t.value, s = t.source, f = t.stack, R = f !== null ? f : "";
17736
+ var i = t.value, s = t.source, f = t.stack, N = f !== null ? f : "";
17737
17737
  if (i != null && i._suppressLogging) {
17738
17738
  if (e.tag === k)
17739
17739
  return;
@@ -17748,7 +17748,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17748
17748
  q = "React will try to recreate this component tree from scratch " + ("using the error boundary you provided, " + te + ".");
17749
17749
  }
17750
17750
  var ue = V + `
17751
- ` + R + `
17751
+ ` + N + `
17752
17752
 
17753
17753
  ` + ("" + q);
17754
17754
  console.error(ue);
@@ -17781,8 +17781,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17781
17781
  Gg(e), Op(e, t);
17782
17782
  };
17783
17783
  }
17784
- var R = e.stateNode;
17785
- return R !== null && typeof R.componentDidCatch == "function" && (i.callback = function() {
17784
+ var N = e.stateNode;
17785
+ return N !== null && typeof N.componentDidCatch == "function" && (i.callback = function() {
17786
17786
  Gg(e), Op(e, t), typeof s != "function" && d8(this);
17787
17787
  var V = t.value, q = t.stack;
17788
17788
  this.componentDidCatch(V, {
@@ -17832,8 +17832,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17832
17832
  if (f === null)
17833
17833
  a.tag = oe;
17834
17834
  else {
17835
- var R = ml(Wt, tt);
17836
- R.tag = Id, Ql(a, R, tt);
17835
+ var N = ml(Wt, tt);
17836
+ N.tag = Id, Ql(a, N, tt);
17837
17837
  }
17838
17838
  }
17839
17839
  a.lanes = ht(a.lanes, tt);
@@ -17846,9 +17846,9 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17846
17846
  if (a.flags |= cs, br && _c(e, s), i !== null && typeof i == "object" && typeof i.then == "function") {
17847
17847
  var f = i;
17848
17848
  s3(a), r() && a.mode & bt && Pd();
17849
- var R = Am(t);
17850
- if (R !== null) {
17851
- R.flags &= ~Ra, Rm(R, t, a, e, s), R.mode & bt && wm(e, f, s), l3(R, e, f);
17849
+ var N = Am(t);
17850
+ if (N !== null) {
17851
+ N.flags &= ~Ra, Rm(N, t, a, e, s), N.mode & bt && wm(e, f, s), l3(N, e, f);
17852
17852
  return;
17853
17853
  } else {
17854
17854
  if (!ec(s)) {
@@ -17916,13 +17916,13 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17916
17916
  Ze(a)
17917
17917
  );
17918
17918
  }
17919
- var R = a.render, G = t.ref, V, q;
17919
+ var N = a.render, G = t.ref, V, q;
17920
17920
  au(t, s), wi(t);
17921
17921
  {
17922
- if (Pc.current = t, ce(!0), V = cu(e, t, R, i, G, s), q = fu(), t.mode & on) {
17922
+ if (Pc.current = t, ce(!0), V = cu(e, t, N, i, G, s), q = fu(), t.mode & on) {
17923
17923
  En(!0);
17924
17924
  try {
17925
- V = cu(e, t, R, i, G, s), q = fu();
17925
+ V = cu(e, t, N, i, G, s), q = fu();
17926
17926
  } finally {
17927
17927
  En(!1);
17928
17928
  }
@@ -17936,8 +17936,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17936
17936
  var f = a.type;
17937
17937
  if (L8(f) && a.compare === null && // SimpleMemoComponent codepath doesn't resolve outer props either.
17938
17938
  a.defaultProps === void 0) {
17939
- var R = f;
17940
- return R = Su(f), t.tag = I, t.type = R, Vp(t, f), Pm(e, t, R, i, s);
17939
+ var N = f;
17940
+ return N = Su(f), t.tag = I, t.type = N, Vp(t, f), Pm(e, t, N, i, s);
17941
17941
  }
17942
17942
  {
17943
17943
  var G = f.propTypes;
@@ -17979,7 +17979,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
17979
17979
  if (t.type !== t.elementType) {
17980
17980
  var f = t.elementType;
17981
17981
  if (f.$$typeof === yt) {
17982
- var R = f, G = R._payload, V = R._init;
17982
+ var N = f, G = N._payload, V = N._init;
17983
17983
  try {
17984
17984
  f = V(G);
17985
17985
  } catch {
@@ -18009,12 +18009,12 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18009
18009
  var i = t.pendingProps, s = i.children, f = e !== null ? e.memoizedState : null;
18010
18010
  if (i.mode === "hidden" || B)
18011
18011
  if ((t.mode & bt) === qe) {
18012
- var R = {
18012
+ var N = {
18013
18013
  baseLanes: be,
18014
18014
  cachePool: null,
18015
18015
  transitions: null
18016
18016
  };
18017
- t.memoizedState = R, Vh(t, a);
18017
+ t.memoizedState = N, Vh(t, a);
18018
18018
  } else if (rr(a, Cr)) {
18019
18019
  var ue = {
18020
18020
  baseLanes: be,
@@ -18079,18 +18079,18 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18079
18079
  Ze(a)
18080
18080
  );
18081
18081
  }
18082
- var R;
18082
+ var N;
18083
18083
  {
18084
18084
  var G = ln(t, a, !0);
18085
- R = Za(t, G);
18085
+ N = Za(t, G);
18086
18086
  }
18087
18087
  var V, q;
18088
18088
  au(t, s), wi(t);
18089
18089
  {
18090
- if (Pc.current = t, ce(!0), V = cu(e, t, a, i, R, s), q = fu(), t.mode & on) {
18090
+ if (Pc.current = t, ce(!0), V = cu(e, t, a, i, N, s), q = fu(), t.mode & on) {
18091
18091
  En(!0);
18092
18092
  try {
18093
- V = cu(e, t, a, i, R, s), q = fu();
18093
+ V = cu(e, t, a, i, N, s), q = fu();
18094
18094
  } finally {
18095
18095
  En(!1);
18096
18096
  }
@@ -18103,7 +18103,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18103
18103
  {
18104
18104
  switch (Xg(t)) {
18105
18105
  case !1: {
18106
- var f = t.stateNode, R = t.type, G = new R(t.memoizedProps, f.context), V = G.state;
18106
+ var f = t.stateNode, N = t.type, G = new N(t.memoizedProps, f.context), V = G.state;
18107
18107
  f.updater.enqueueSetState(f, V, null);
18108
18108
  break;
18109
18109
  }
@@ -18140,13 +18140,13 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18140
18140
  }
18141
18141
  function kp(e, t, a, i, s, f) {
18142
18142
  Lm(e, t);
18143
- var R = (t.flags & Pt) !== Xe;
18144
- if (!i && !R)
18143
+ var N = (t.flags & Pt) !== Xe;
18144
+ if (!i && !N)
18145
18145
  return s && ga(t, a, !1), gl(e, t, f);
18146
18146
  var G = t.stateNode;
18147
18147
  Pc.current = t;
18148
18148
  var V;
18149
- if (R && typeof a.getDerivedStateFromError != "function")
18149
+ if (N && typeof a.getDerivedStateFromError != "function")
18150
18150
  V = null, gm();
18151
18151
  else {
18152
18152
  wi(t);
@@ -18163,7 +18163,7 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18163
18163
  }
18164
18164
  Ai();
18165
18165
  }
18166
- return t.flags |= vn, e !== null && R ? c3(e, t, V, f) : Qr(e, t, V, f), t.memoizedState = G.state, s && ga(t, a, !0), t.child;
18166
+ return t.flags |= vn, e !== null && N ? c3(e, t, V, f) : Qr(e, t, V, f), t.memoizedState = G.state, s && ga(t, a, !0), t.child;
18167
18167
  }
18168
18168
  function zm(e) {
18169
18169
  var t = e.stateNode;
@@ -18174,16 +18174,16 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18174
18174
  throw new Error("Should have a current fiber. This is a bug in React.");
18175
18175
  var i = t.pendingProps, s = t.memoizedState, f = s.element;
18176
18176
  j1(e, t), Qd(t, i, null, a);
18177
- var R = t.memoizedState;
18177
+ var N = t.memoizedState;
18178
18178
  t.stateNode;
18179
- var G = R.element;
18179
+ var G = N.element;
18180
18180
  if (ur && s.isDehydrated) {
18181
18181
  var V = {
18182
18182
  element: G,
18183
18183
  isDehydrated: !1,
18184
- cache: R.cache,
18185
- pendingSuspenseBoundaries: R.pendingSuspenseBoundaries,
18186
- transitions: R.transitions
18184
+ cache: N.cache,
18185
+ pendingSuspenseBoundaries: N.pendingSuspenseBoundaries,
18186
+ transitions: N.transitions
18187
18187
  }, q = t.updateQueue;
18188
18188
  if (q.baseState = V, t.memoizedState = V, t.flags & Ra) {
18189
18189
  var te = Bs(new Error("There was an error while hydrating. Because the error happened outside of a Suspense boundary, the entire root will switch to client rendering."), t);
@@ -18210,15 +18210,15 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18210
18210
  }
18211
18211
  function v3(e, t, a) {
18212
18212
  k1(t), e === null && Fs(t);
18213
- var i = t.type, s = t.pendingProps, f = e !== null ? e.memoizedProps : null, R = s.children, G = Rl(i, s);
18214
- return G ? R = null : f !== null && Rl(i, f) && (t.flags |= us), Lm(e, t), Qr(e, t, R, a), t.child;
18213
+ var i = t.type, s = t.pendingProps, f = e !== null ? e.memoizedProps : null, N = s.children, G = Rl(i, s);
18214
+ return G ? N = null : f !== null && Rl(i, f) && (t.flags |= us), Lm(e, t), Qr(e, t, N, a), t.child;
18215
18215
  }
18216
18216
  function m3(e, t) {
18217
18217
  return e === null && Fs(t), null;
18218
18218
  }
18219
18219
  function g3(e, t, a, i) {
18220
18220
  xh(e, t);
18221
- var s = t.pendingProps, f = a, R = f._payload, G = f._init, V = G(R);
18221
+ var s = t.pendingProps, f = a, N = f._payload, G = f._init, V = G(N);
18222
18222
  t.type = V;
18223
18223
  var q = t.tag = O8(V), te = li(V, s), ue;
18224
18224
  switch (q) {
@@ -18261,8 +18261,8 @@ Visit https://reactjs.org/link/error-boundaries to learn more about error bounda
18261
18261
  xh(e, t);
18262
18262
  var s = t.pendingProps, f;
18263
18263
  {
18264
- var R = ln(t, a, !1);
18265
- f = Za(t, R);
18264
+ var N = ln(t, a, !1);
18265
+ f = Za(t, N);
18266
18266
  }
18267
18267
  au(t, i);
18268
18268
  var G, V;
@@ -18313,8 +18313,8 @@ Check the render method of \`` + i + "`.");
18313
18313
  f && (s = f.fileName + ":" + f.lineNumber), jp[s] || (jp[s] = !0, h("Function components cannot be given refs. Attempts to access this ref will fail. Did you mean to use React.forwardRef()?%s", a));
18314
18314
  }
18315
18315
  if (t.defaultProps !== void 0) {
18316
- var R = Ze(t) || "Unknown";
18317
- Lc[R] || (h("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", R), Lc[R] = !0);
18316
+ var N = Ze(t) || "Unknown";
18317
+ Lc[N] || (h("%s: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.", N), Lc[N] = !0);
18318
18318
  }
18319
18319
  if (typeof t.getDerivedStateFromProps == "function") {
18320
18320
  var G = Ze(t) || "Unknown";
@@ -18360,8 +18360,8 @@ Check the render method of \`` + i + "`.");
18360
18360
  function Gm(e, t, a) {
18361
18361
  var i = t.pendingProps;
18362
18362
  Qg(t) && (t.flags |= Pt);
18363
- var s = ai.current, f = !1, R = (t.flags & Pt) !== Xe;
18364
- if (R || C3(s, e) ? (f = !0, t.flags &= ~Pt) : (e === null || e.memoizedState !== null) && (s = H5(s, I1)), s = lu(s), Jl(t, s), e === null) {
18363
+ var s = ai.current, f = !1, N = (t.flags & Pt) !== Xe;
18364
+ if (N || C3(s, e) ? (f = !0, t.flags &= ~Pt) : (e === null || e.memoizedState !== null) && (s = H5(s, I1)), s = lu(s), Jl(t, s), e === null) {
18365
18365
  Fs(t);
18366
18366
  var G = t.memoizedState;
18367
18367
  if (G !== null) {
@@ -18380,7 +18380,7 @@ Check the render method of \`` + i + "`.");
18380
18380
  if (xe !== null) {
18381
18381
  var Te = xe.dehydrated;
18382
18382
  if (Te !== null)
18383
- return N3(e, t, R, i, Te, xe, a);
18383
+ return N3(e, t, N, i, Te, xe, a);
18384
18384
  }
18385
18385
  if (f) {
18386
18386
  var Ee = i.fallback, We = i.children, rt = w3(e, t, We, Ee, a), Ke = t.child, Xt = e.child.memoizedState;
@@ -18399,11 +18399,11 @@ Check the render method of \`` + i + "`.");
18399
18399
  return f.return = e, e.child = f, f;
18400
18400
  }
18401
18401
  function b3(e, t, a, i) {
18402
- var s = e.mode, f = e.child, R = {
18402
+ var s = e.mode, f = e.child, N = {
18403
18403
  mode: "hidden",
18404
18404
  children: t
18405
18405
  }, G, V;
18406
- return (s & bt) === qe && f !== null ? (G = f, G.childLanes = be, G.pendingProps = R, e.mode & Bt && (G.actualDuration = 0, G.actualStartTime = -1, G.selfBaseDuration = 0, G.treeBaseDuration = 0), V = ns(a, s, i, null)) : (G = Wp(R, s), V = ns(a, s, i, null)), G.return = e, V.return = e, G.sibling = V, e.child = G, V;
18406
+ return (s & bt) === qe && f !== null ? (G = f, G.childLanes = be, G.pendingProps = N, e.mode & Bt && (G.actualDuration = 0, G.actualStartTime = -1, G.selfBaseDuration = 0, G.treeBaseDuration = 0), V = ns(a, s, i, null)) : (G = Wp(N, s), V = ns(a, s, i, null)), G.return = e, V.return = e, G.sibling = V, e.child = G, V;
18407
18407
  }
18408
18408
  function Wp(e, t, a) {
18409
18409
  return jg(e, t, be, null);
@@ -18412,18 +18412,18 @@ Check the render method of \`` + i + "`.");
18412
18412
  return Xs(e, t);
18413
18413
  }
18414
18414
  function T3(e, t, a, i) {
18415
- var s = e.child, f = s.sibling, R = Um(s, {
18415
+ var s = e.child, f = s.sibling, N = Um(s, {
18416
18416
  mode: "visible",
18417
18417
  children: a
18418
18418
  });
18419
- if ((t.mode & bt) === qe && (R.lanes = i), R.return = t, R.sibling = null, f !== null) {
18419
+ if ((t.mode & bt) === qe && (N.lanes = i), N.return = t, N.sibling = null, f !== null) {
18420
18420
  var G = t.deletions;
18421
18421
  G === null ? (t.deletions = [f], t.flags |= di) : G.push(f);
18422
18422
  }
18423
- return t.child = R, R;
18423
+ return t.child = N, N;
18424
18424
  }
18425
18425
  function w3(e, t, a, i, s) {
18426
- var f = t.mode, R = e.child, G = R.sibling, V = {
18426
+ var f = t.mode, N = e.child, G = N.sibling, V = {
18427
18427
  mode: "hidden",
18428
18428
  children: a
18429
18429
  }, q;
@@ -18436,48 +18436,48 @@ Check the render method of \`` + i + "`.");
18436
18436
  // pass entirely and go straight to rendering the fallback. (In Concurrent
18437
18437
  // Mode, SuspenseList can also trigger this scenario, but this is a legacy-
18438
18438
  // only codepath.)
18439
- t.child !== R
18439
+ t.child !== N
18440
18440
  ) {
18441
18441
  var te = t.child;
18442
- q = te, q.childLanes = be, q.pendingProps = V, t.mode & Bt && (q.actualDuration = 0, q.actualStartTime = -1, q.selfBaseDuration = R.selfBaseDuration, q.treeBaseDuration = R.treeBaseDuration), t.deletions = null;
18442
+ q = te, q.childLanes = be, q.pendingProps = V, t.mode & Bt && (q.actualDuration = 0, q.actualStartTime = -1, q.selfBaseDuration = N.selfBaseDuration, q.treeBaseDuration = N.treeBaseDuration), t.deletions = null;
18443
18443
  } else
18444
- q = Um(R, V), q.subtreeFlags = R.subtreeFlags & Wa;
18444
+ q = Um(N, V), q.subtreeFlags = N.subtreeFlags & Wa;
18445
18445
  var ue;
18446
18446
  return G !== null ? ue = Xs(G, i) : (ue = ns(i, f, s, null), ue.flags |= Zt), ue.return = t, q.return = t, q.sibling = ue, t.child = q, ue;
18447
18447
  }
18448
18448
  function Sh(e, t, a, i) {
18449
18449
  i !== null && l(i), nu(t, e.child, null, a);
18450
- var s = t.pendingProps, f = s.children, R = Xp(t, f);
18451
- return R.flags |= Zt, t.memoizedState = null, R;
18450
+ var s = t.pendingProps, f = s.children, N = Xp(t, f);
18451
+ return N.flags |= Zt, t.memoizedState = null, N;
18452
18452
  }
18453
18453
  function A3(e, t, a, i, s) {
18454
- var f = t.mode, R = {
18454
+ var f = t.mode, N = {
18455
18455
  mode: "visible",
18456
18456
  children: a
18457
- }, G = Wp(R, f), V = ns(i, f, s, null);
18457
+ }, G = Wp(N, f), V = ns(i, f, s, null);
18458
18458
  return V.flags |= Zt, G.return = t, V.return = t, G.sibling = V, t.child = G, (t.mode & bt) !== qe && nu(t, e.child, null, s), V;
18459
18459
  }
18460
18460
  function R3(e, t, a) {
18461
18461
  return (e.mode & bt) === qe ? (h("Cannot hydrate Suspense in legacy mode. Switch from ReactDOM.hydrate(element, container) to ReactDOMClient.hydrateRoot(container, <App />).render(element) or remove the Suspense components from the server rendered components."), e.lanes = tt) : ha(t) ? e.lanes = Ei : e.lanes = Cr, null;
18462
18462
  }
18463
- function N3(e, t, a, i, s, f, R) {
18463
+ function N3(e, t, a, i, s, f, N) {
18464
18464
  if (a)
18465
18465
  if (t.flags & Ra) {
18466
18466
  t.flags &= ~Ra;
18467
18467
  var de = Lp(new Error("There was an error while hydrating this Suspense boundary. Switched to client rendering."));
18468
- return Sh(e, t, R, de);
18468
+ return Sh(e, t, N, de);
18469
18469
  } else {
18470
18470
  if (t.memoizedState !== null)
18471
18471
  return t.child = e.child, t.flags |= Pt, null;
18472
- var ye = i.children, fe = i.fallback, Pe = A3(e, t, ye, fe, R), Qe = t.child;
18473
- return Qe.memoizedState = Yp(R), t.memoizedState = Ip, Pe;
18472
+ var ye = i.children, fe = i.fallback, Pe = A3(e, t, ye, fe, N), Qe = t.child;
18473
+ return Qe.memoizedState = Yp(N), t.memoizedState = Ip, Pe;
18474
18474
  }
18475
18475
  else {
18476
18476
  if (w0(), (t.mode & bt) === qe)
18477
18477
  return Sh(
18478
18478
  e,
18479
18479
  t,
18480
- R,
18480
+ N,
18481
18481
  // TODO: When we delete legacy mode, we should make this error argument
18482
18482
  // required — every concurrent mode path that causes hydration to
18483
18483
  // de-opt to client rendering should have an error message.
@@ -18492,13 +18492,13 @@ Check the render method of \`` + i + "`.");
18492
18492
  var ue;
18493
18493
  V ? ue = new Error(V) : ue = new Error("The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering.");
18494
18494
  var ve = Lp(ue, G, q);
18495
- return Sh(e, t, R, ve);
18495
+ return Sh(e, t, N, ve);
18496
18496
  }
18497
- var xe = rr(R, e.childLanes);
18497
+ var xe = rr(N, e.childLanes);
18498
18498
  if (si || xe) {
18499
18499
  var Te = Hh();
18500
18500
  if (Te !== null) {
18501
- var Ee = E0(Te, R);
18501
+ var Ee = E0(Te, N);
18502
18502
  if (Ee !== mn && Ee !== f.retryLane) {
18503
18503
  f.retryLane = Ee;
18504
18504
  var We = Wt;
@@ -18507,7 +18507,7 @@ Check the render method of \`` + i + "`.");
18507
18507
  }
18508
18508
  gv();
18509
18509
  var rt = Lp(new Error("This Suspense boundary received an update before it finished hydrating. This caused the boundary to switch to client rendering. The usual way to fix this is to wrap the original update in startTransition."));
18510
- return Sh(e, t, R, rt);
18510
+ return Sh(e, t, N, rt);
18511
18511
  } else if (gi(s)) {
18512
18512
  t.flags |= Pt, t.child = e.child;
18513
18513
  var Ke = m8.bind(null, e);
@@ -18598,10 +18598,10 @@ Check the render method of \`` + i + "`.");
18598
18598
  if (typeof i == "function") {
18599
18599
  var s = i.call(e);
18600
18600
  if (s)
18601
- for (var f = s.next(), R = 0; !f.done; f = s.next()) {
18602
- if (!Bm(f.value, R))
18601
+ for (var f = s.next(), N = 0; !f.done; f = s.next()) {
18602
+ if (!Bm(f.value, N))
18603
18603
  return;
18604
- R++;
18604
+ N++;
18605
18605
  }
18606
18606
  } else
18607
18607
  h('A single row was passed to a <SuspenseList revealOrder="%s" />. This is not useful since it needs multiple rows. Did you mean to pass multiple children or an array?', t);
@@ -18619,8 +18619,8 @@ Check the render method of \`` + i + "`.");
18619
18619
  } : (f.isBackwards = t, f.rendering = null, f.renderingStartTime = 0, f.last = i, f.tail = a, f.tailMode = s);
18620
18620
  }
18621
18621
  function Hm(e, t, a) {
18622
- var i = t.pendingProps, s = i.revealOrder, f = i.tail, R = i.children;
18623
- M3(s), L3(f, s), O3(R, s), Qr(e, t, R, a);
18622
+ var i = t.pendingProps, s = i.revealOrder, f = i.tail, N = i.children;
18623
+ M3(s), L3(f, s), O3(N, s), Qr(e, t, N, a);
18624
18624
  var G = ai.current, V = X0(G, Cc);
18625
18625
  if (V)
18626
18626
  G = W0(G, Cc), t.flags |= Pt;
@@ -18691,16 +18691,16 @@ Check the render method of \`` + i + "`.");
18691
18691
  }
18692
18692
  var km = !1;
18693
18693
  function F3(e, t, a) {
18694
- var i = t.type, s = i._context, f = t.pendingProps, R = t.memoizedProps, G = f.value;
18694
+ var i = t.type, s = i._context, f = t.pendingProps, N = t.memoizedProps, G = f.value;
18695
18695
  {
18696
18696
  "value" in f || km || (km = !0, h("The `value` prop is required for the `<Context.Provider>`. Did you misspell it or forget to pass it?"));
18697
18697
  var V = t.type.propTypes;
18698
18698
  V && Br(V, f, "prop", "Context.Provider");
18699
18699
  }
18700
- if (z1(t, s, G), R !== null) {
18701
- var q = R.value;
18700
+ if (z1(t, s, G), N !== null) {
18701
+ var q = N.value;
18702
18702
  if (ir(q, G)) {
18703
- if (R.children === f.children && !Ci())
18703
+ if (N.children === f.children && !Ci())
18704
18704
  return gl(e, t, a);
18705
18705
  } else
18706
18706
  M5(t, s, a);
@@ -18714,10 +18714,10 @@ Check the render method of \`` + i + "`.");
18714
18714
  i._context === void 0 ? i !== i.Consumer && (Vm || (Vm = !0, h("Rendering <Context> directly is not supported and will be removed in a future major release. Did you mean to render <Context.Consumer> instead?"))) : i = i._context;
18715
18715
  var s = t.pendingProps, f = s.children;
18716
18716
  typeof f != "function" && h("A context consumer was rendered with multiple children, or a child that isn't a function. A context consumer expects a single child that is a function. If you did pass a function, make sure there is no trailing or leading whitespace around it."), au(t, a);
18717
- var R = jn(i);
18717
+ var N = jn(i);
18718
18718
  wi(t);
18719
18719
  var G;
18720
- return Pc.current = t, ce(!0), G = f(R), ce(!1), Ai(), t.flags |= vn, Qr(e, t, G, a), t.child;
18720
+ return Pc.current = t, ce(!0), G = f(N), ce(!1), Ai(), t.flags |= vn, Qr(e, t, G, a), t.child;
18721
18721
  }
18722
18722
  function Oc() {
18723
18723
  si = !0;
@@ -18775,8 +18775,8 @@ Check the render method of \`` + i + "`.");
18775
18775
  }
18776
18776
  case z:
18777
18777
  {
18778
- var R = rr(a, t.childLanes);
18779
- R && (t.flags |= Dt);
18778
+ var N = rr(a, t.childLanes);
18779
+ N && (t.flags |= Dt);
18780
18780
  {
18781
18781
  var G = t.stateNode;
18782
18782
  G.effectDuration = 0, G.passiveEffectDuration = 0;
@@ -18833,8 +18833,8 @@ Check the render method of \`` + i + "`.");
18833
18833
  (e.flags & wu) !== Xe ? si = !0 : si = !1;
18834
18834
  }
18835
18835
  } else if (si = !1, r() && dc(t)) {
18836
- var R = t.index, G = hl();
18837
- Zo(t, G, R);
18836
+ var N = t.index, G = hl();
18837
+ Zo(t, G, N);
18838
18838
  }
18839
18839
  switch (t.lanes = be, t.tag) {
18840
18840
  case _:
@@ -18948,7 +18948,7 @@ Check the render method of \`` + i + "`.");
18948
18948
  }, Ch = function(e, t, a, i, s) {
18949
18949
  var f = e.memoizedProps;
18950
18950
  if (f !== i) {
18951
- var R = t.stateNode, G = xc(), V = or(R, a, f, i, s, G);
18951
+ var N = t.stateNode, G = xc(), V = or(N, a, f, i, s, G);
18952
18952
  t.updateQueue = V, V && Fi(t);
18953
18953
  }
18954
18954
  }, Eh = function(e, t, a, i) {
@@ -18960,8 +18960,8 @@ Check the render method of \`` + i + "`.");
18960
18960
  if (s.tag === F) {
18961
18961
  var f = s.stateNode;
18962
18962
  if (a && i) {
18963
- var R = s.memoizedProps, G = s.type;
18964
- f = Ji(f, G, R, s);
18963
+ var N = s.memoizedProps, G = s.type;
18964
+ f = Ji(f, G, N, s);
18965
18965
  }
18966
18966
  Qa(e, f);
18967
18967
  } else if (s.tag === X) {
@@ -18995,8 +18995,8 @@ Check the render method of \`` + i + "`.");
18995
18995
  if (s.tag === F) {
18996
18996
  var f = s.stateNode;
18997
18997
  if (a && i) {
18998
- var R = s.memoizedProps, G = s.type;
18999
- f = Ji(f, G, R, s);
18998
+ var N = s.memoizedProps, G = s.type;
18999
+ f = Ji(f, G, N, s);
19000
19000
  }
19001
19001
  ed(e, f);
19002
19002
  } else if (s.tag === X) {
@@ -19032,17 +19032,17 @@ Check the render method of \`` + i + "`.");
19032
19032
  Wm(f, t, !1, !1), a.pendingChildren = f, Fi(t), Pa(s, f);
19033
19033
  }
19034
19034
  }, Ch = function(e, t, a, i, s) {
19035
- var f = e.stateNode, R = e.memoizedProps, G = Xm(e, t);
19036
- if (G && R === i) {
19035
+ var f = e.stateNode, N = e.memoizedProps, G = Xm(e, t);
19036
+ if (G && N === i) {
19037
19037
  t.stateNode = f;
19038
19038
  return;
19039
19039
  }
19040
19040
  var V = t.stateNode, q = xc(), te = null;
19041
- if (R !== i && (te = or(V, a, R, i, s, q)), G && te === null) {
19041
+ if (N !== i && (te = or(V, a, N, i, s, q)), G && te === null) {
19042
19042
  t.stateNode = f;
19043
19043
  return;
19044
19044
  }
19045
- var ue = ju(f, te, a, R, i, t, G, V);
19045
+ var ue = ju(f, te, a, N, i, t, G, V);
19046
19046
  Wi(ue, a, i, s, q) && Fi(t), t.stateNode = ue, G ? Fi(t) : zc(ue, t, !1, !1);
19047
19047
  }, Eh = function(e, t, a, i) {
19048
19048
  if (a !== i) {
@@ -19086,8 +19086,8 @@ Check the render method of \`` + i + "`.");
19086
19086
  e.subtreeFlags |= i;
19087
19087
  } else {
19088
19088
  if ((e.mode & Bt) !== qe) {
19089
- for (var s = e.actualDuration, f = e.selfBaseDuration, R = e.child; R !== null; )
19090
- a = ht(a, ht(R.lanes, R.childLanes)), i |= R.subtreeFlags, i |= R.flags, s += R.actualDuration, f += R.treeBaseDuration, R = R.sibling;
19089
+ for (var s = e.actualDuration, f = e.selfBaseDuration, N = e.child; N !== null; )
19090
+ a = ht(a, ht(N.lanes, N.childLanes)), i |= N.subtreeFlags, i |= N.flags, s += N.actualDuration, f += N.treeBaseDuration, N = N.sibling;
19091
19091
  e.actualDuration = s, e.treeBaseDuration = f;
19092
19092
  } else
19093
19093
  for (var G = e.child; G !== null; )
@@ -19114,8 +19114,8 @@ Check the render method of \`` + i + "`.");
19114
19114
  return !1;
19115
19115
  } else {
19116
19116
  if (Wl(), (t.flags & Pt) === Xe && (t.memoizedState = null), t.flags |= Dt, dr(t), (t.mode & Bt) !== qe) {
19117
- var R = a !== null;
19118
- if (R) {
19117
+ var N = a !== null;
19118
+ if (N) {
19119
19119
  var G = t.child;
19120
19120
  G !== null && (t.treeBaseDuration -= G.treeBaseDuration);
19121
19121
  }
@@ -19146,8 +19146,8 @@ Check the render method of \`` + i + "`.");
19146
19146
  case O: {
19147
19147
  var f = t.stateNode;
19148
19148
  if (iu(t), zn(t), _0(), f.pendingContext && (f.context = f.pendingContext, f.pendingContext = null), e === null || e.child === null) {
19149
- var R = Gs(t);
19150
- if (R)
19149
+ var N = Gs(t);
19150
+ if (N)
19151
19151
  Fi(t);
19152
19152
  else if (e !== null) {
19153
19153
  var G = e.memoizedState;
@@ -19315,8 +19315,8 @@ Check the render method of \`` + i + "`.");
19315
19315
  return Y0(t), null;
19316
19316
  case U: {
19317
19317
  su(t);
19318
- var R = t.memoizedState;
19319
- if (R !== null && R.dehydrated !== null) {
19318
+ var N = t.memoizedState;
19319
+ if (N !== null && N.dehydrated !== null) {
19320
19320
  if (t.alternate === null)
19321
19321
  throw new Error("Threw in newly mounted dehydrated component. This is likely a bug in React. Please file an issue.");
19322
19322
  Wl();
@@ -19374,7 +19374,7 @@ Check the render method of \`` + i + "`.");
19374
19374
  break;
19375
19375
  }
19376
19376
  }
19377
- function Jm(e, t, a, i, s, f, R, G, V) {
19377
+ function Jm(e, t, a, i, s, f, N, G, V) {
19378
19378
  var q = Array.prototype.slice.call(arguments, 3);
19379
19379
  try {
19380
19380
  t.apply(a, q);
@@ -19385,7 +19385,7 @@ Check the render method of \`` + i + "`.");
19385
19385
  var Zm = Jm;
19386
19386
  if (typeof window < "u" && typeof window.dispatchEvent == "function" && typeof document < "u" && typeof document.createEvent == "function") {
19387
19387
  var Jp = document.createElement("react");
19388
- Zm = function(t, a, i, s, f, R, G, V, q) {
19388
+ Zm = function(t, a, i, s, f, N, G, V, q) {
19389
19389
  if (typeof document > "u" || document === null)
19390
19390
  throw new Error("The `document` global was defined when React was initialized, but is not defined anymore. This can happen in a test environment if a component schedules an update from an asynchronous callback, but the test has already finished running. To solve this, you can either unmount the component at the end of your test (and ensure that any asynchronous operations get canceled in `componentWillUnmount`), or you can change the test itself to be asynchronous.");
19391
19391
  var te = document.createEvent("Event"), ue = !1, ve = !0, xe = window.event, Te = Object.getOwnPropertyDescriptor(window, "event");
@@ -19414,7 +19414,7 @@ Check the render method of \`` + i + "`.");
19414
19414
  Uc = !0, bh = e;
19415
19415
  }
19416
19416
  };
19417
- function qm(e, t, a, i, s, f, R, G, V) {
19417
+ function qm(e, t, a, i, s, f, N, G, V) {
19418
19418
  Uc = !1, bh = null, k3.apply(V3, arguments);
19419
19419
  }
19420
19420
  function I3() {
@@ -19543,12 +19543,12 @@ Check the render method of \`` + i + "`.");
19543
19543
  if (t !== null) {
19544
19544
  var i = t.memoizedProps, s = t.memoizedState, f = e.stateNode;
19545
19545
  e.type === e.elementType && !Hs && (f.props !== e.memoizedProps && h("Expected %s props to match memoized props before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", _e(e) || "instance"), f.state !== e.memoizedState && h("Expected %s state to match memoized state before getSnapshotBeforeUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", _e(e) || "instance"));
19546
- var R = f.getSnapshotBeforeUpdate(e.elementType === e.type ? i : li(e.type, i), s);
19546
+ var N = f.getSnapshotBeforeUpdate(e.elementType === e.type ? i : li(e.type, i), s);
19547
19547
  {
19548
19548
  var G = $m;
19549
- R === void 0 && !G.has(e.type) && (G.add(e.type), h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", _e(e)));
19549
+ N === void 0 && !G.has(e.type) && (G.add(e.type), h("%s.getSnapshotBeforeUpdate(): A snapshot value (or null) must be returned. You have returned undefined.", _e(e)));
19550
19550
  }
19551
- f.__reactInternalSnapshotBeforeUpdate = R;
19551
+ f.__reactInternalSnapshotBeforeUpdate = N;
19552
19552
  }
19553
19553
  break;
19554
19554
  }
@@ -19573,14 +19573,14 @@ Check the render method of \`` + i + "`.");
19573
19573
  function oi(e, t, a) {
19574
19574
  var i = t.updateQueue, s = i !== null ? i.lastEffect : null;
19575
19575
  if (s !== null) {
19576
- var f = s.next, R = f;
19576
+ var f = s.next, N = f;
19577
19577
  do {
19578
- if ((R.tag & e) === e) {
19579
- var G = R.destroy;
19580
- R.destroy = void 0, G !== void 0 && ((e & fr) !== ia ? Un(t) : (e & _n) !== ia && cl(t), (e & Pi) !== ia && Jc(!0), wh(t, a, G), (e & Pi) !== ia && Jc(!1), (e & fr) !== ia ? bn() : (e & _n) !== ia && Tn());
19578
+ if ((N.tag & e) === e) {
19579
+ var G = N.destroy;
19580
+ N.destroy = void 0, G !== void 0 && ((e & fr) !== ia ? Un(t) : (e & _n) !== ia && cl(t), (e & Pi) !== ia && Jc(!0), wh(t, a, G), (e & Pi) !== ia && Jc(!1), (e & fr) !== ia ? bn() : (e & _n) !== ia && Tn());
19581
19581
  }
19582
- R = R.next;
19583
- } while (R !== f);
19582
+ N = N.next;
19583
+ } while (N !== f);
19584
19584
  }
19585
19585
  }
19586
19586
  function Kl(e, t) {
@@ -19590,8 +19590,8 @@ Check the render method of \`` + i + "`.");
19590
19590
  do {
19591
19591
  if ((f.tag & e) === e) {
19592
19592
  (e & fr) !== ia ? yn(t) : (e & _n) !== ia && Xn(t);
19593
- var R = f.create;
19594
- (e & Pi) !== ia && Jc(!0), f.destroy = R(), (e & Pi) !== ia && Jc(!1), (e & fr) !== ia ? gt() : (e & _n) !== ia && Ir();
19593
+ var N = f.create;
19594
+ (e & Pi) !== ia && Jc(!0), f.destroy = N(), (e & Pi) !== ia && Jc(!1), (e & fr) !== ia ? gt() : (e & _n) !== ia && Ir();
19595
19595
  {
19596
19596
  var G = f.destroy;
19597
19597
  if (G !== void 0 && typeof G != "function") {
@@ -19623,8 +19623,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19623
19623
  if ((t.flags & Dt) !== Xe)
19624
19624
  switch (t.tag) {
19625
19625
  case z: {
19626
- var a = t.stateNode.passiveEffectDuration, i = t.memoizedProps, s = i.id, f = i.onPostCommit, R = vm(), G = t.alternate === null ? "mount" : "update";
19627
- pm() && (G = "nested-update"), typeof f == "function" && f(s, G, a, R);
19626
+ var a = t.stateNode.passiveEffectDuration, i = t.memoizedProps, s = i.id, f = i.onPostCommit, N = vm(), G = t.alternate === null ? "mount" : "update";
19627
+ pm() && (G = "nested-update"), typeof f == "function" && f(s, G, a, N);
19628
19628
  var V = t.return;
19629
19629
  e: for (; V !== null; ) {
19630
19630
  switch (V.tag) {
@@ -19673,15 +19673,15 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19673
19673
  else
19674
19674
  s.componentDidMount();
19675
19675
  else {
19676
- var f = a.elementType === a.type ? t.memoizedProps : li(a.type, t.memoizedProps), R = t.memoizedState;
19676
+ var f = a.elementType === a.type ? t.memoizedProps : li(a.type, t.memoizedProps), N = t.memoizedState;
19677
19677
  if (a.type === a.elementType && !Hs && (s.props !== a.memoizedProps && h("Expected %s props to match memoized props before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", _e(a) || "instance"), s.state !== a.memoizedState && h("Expected %s state to match memoized state before componentDidUpdate. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", _e(a) || "instance")), a.mode & Bt)
19678
19678
  try {
19679
- zi(), s.componentDidUpdate(f, R, s.__reactInternalSnapshotBeforeUpdate);
19679
+ zi(), s.componentDidUpdate(f, N, s.__reactInternalSnapshotBeforeUpdate);
19680
19680
  } finally {
19681
19681
  Oi(a);
19682
19682
  }
19683
19683
  else
19684
- s.componentDidUpdate(f, R, s.__reactInternalSnapshotBeforeUpdate);
19684
+ s.componentDidUpdate(f, N, s.__reactInternalSnapshotBeforeUpdate);
19685
19685
  }
19686
19686
  var G = a.updateQueue;
19687
19687
  G !== null && (a.type === a.elementType && !Hs && (s.props !== a.memoizedProps && h("Expected %s props to match memoized props before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.props`. Please file an issue.", _e(a) || "instance"), s.state !== a.memoizedState && h("Expected %s state to match memoized state before processing the update queue. This might either be because of a bug in React, or because a component reassigns its own `this.state`. Please file an issue.", _e(a) || "instance")), H1(a, G, s));
@@ -19792,8 +19792,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19792
19792
  try {
19793
19793
  var s = i.stateNode;
19794
19794
  t ? y0(s) : da(i.stateNode, i.memoizedProps);
19795
- } catch (R) {
19796
- Qt(e, e.return, R);
19795
+ } catch (N) {
19796
+ Qt(e, e.return, N);
19797
19797
  }
19798
19798
  }
19799
19799
  } else if (i.tag === X) {
@@ -19801,8 +19801,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19801
19801
  try {
19802
19802
  var f = i.stateNode;
19803
19803
  t ? S0(f) : _a(f, i.memoizedProps);
19804
- } catch (R) {
19805
- Qt(e, e.return, R);
19804
+ } catch (N) {
19805
+ Qt(e, e.return, N);
19806
19806
  }
19807
19807
  } else if (!((i.tag === se || i.tag === J) && i.memoizedState !== null && i !== e)) {
19808
19808
  if (i.child !== null) {
@@ -19924,10 +19924,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19924
19924
  var f = e.stateNode;
19925
19925
  t ? Uu(a, f, t) : p0(a, f);
19926
19926
  } else if (i !== H) {
19927
- var R = e.child;
19928
- if (R !== null) {
19929
- qp(R, t, a);
19930
- for (var G = R.sibling; G !== null; )
19927
+ var N = e.child;
19928
+ if (N !== null) {
19929
+ qp(N, t, a);
19930
+ for (var G = N.sibling; G !== null; )
19931
19931
  qp(G, t, a), G = G.sibling;
19932
19932
  }
19933
19933
  }
@@ -19938,10 +19938,10 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19938
19938
  var f = e.stateNode;
19939
19939
  t ? m0(a, f, t) : $f(a, f);
19940
19940
  } else if (i !== H) {
19941
- var R = e.child;
19942
- if (R !== null) {
19943
- Kp(R, t, a);
19944
- for (var G = R.sibling; G !== null; )
19941
+ var N = e.child;
19942
+ if (N !== null) {
19943
+ Kp(N, t, a);
19944
+ for (var G = N.sibling; G !== null; )
19945
19945
  Kp(G, t, a), G = G.sibling;
19946
19946
  }
19947
19947
  }
@@ -19997,8 +19997,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
19997
19997
  }
19998
19998
  case H: {
19999
19999
  if (zr) {
20000
- var f = pr, R = ui;
20001
- pr = a.stateNode.containerInfo, ui = !0, Gi(e, t, a), pr = f, ui = R;
20000
+ var f = pr, N = ui;
20001
+ pr = a.stateNode.containerInfo, ui = !0, Gi(e, t, a), pr = f, ui = N;
20002
20002
  } else
20003
20003
  r4(a), Gi(e, t, a);
20004
20004
  return;
@@ -20103,11 +20103,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20103
20103
  Qt(f, t, V);
20104
20104
  }
20105
20105
  }
20106
- var R = ri();
20106
+ var N = ri();
20107
20107
  if (t.subtreeFlags & fs)
20108
20108
  for (var G = t.child; G !== null; )
20109
20109
  Lt(G), og(G, e), G = G.sibling;
20110
- Lt(R);
20110
+ Lt(N);
20111
20111
  }
20112
20112
  function og(e, t, a) {
20113
20113
  var i = e.alternate, s = e.flags;
@@ -20153,12 +20153,12 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20153
20153
  }
20154
20154
  }
20155
20155
  if (s & Dt) {
20156
- var R = e.stateNode;
20157
- if (R != null) {
20156
+ var N = e.stateNode;
20157
+ if (N != null) {
20158
20158
  var G = e.memoizedProps, V = i !== null ? i.memoizedProps : G, q = e.type, te = e.updateQueue;
20159
20159
  if (e.updateQueue = null, te !== null)
20160
20160
  try {
20161
- Gu(R, te, q, V, G, e);
20161
+ Gu(N, te, q, V, G, e);
20162
20162
  } catch (nt) {
20163
20163
  Qt(e, e.return, nt);
20164
20164
  }
@@ -20285,7 +20285,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20285
20285
  for (var i = (e.mode & bt) !== qe; Ie !== null; ) {
20286
20286
  var s = Ie, f = s.child;
20287
20287
  if (s.tag === se && i) {
20288
- var R = s.memoizedState !== null, G = R || Th;
20288
+ var N = s.memoizedState !== null, G = N || Th;
20289
20289
  if (G) {
20290
20290
  ev(e, t, a);
20291
20291
  continue;
@@ -20314,8 +20314,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20314
20314
  Lt(i);
20315
20315
  try {
20316
20316
  $3(t, s, i, a);
20317
- } catch (R) {
20318
- Qt(i, i.return, R);
20317
+ } catch (N) {
20318
+ Qt(i, i.return, N);
20319
20319
  }
20320
20320
  pt();
20321
20321
  }
@@ -20436,8 +20436,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20436
20436
  Lt(s);
20437
20437
  try {
20438
20438
  m4(t, s, a, i);
20439
- } catch (R) {
20440
- Qt(s, s.return, R);
20439
+ } catch (N) {
20440
+ Qt(s, s.return, N);
20441
20441
  }
20442
20442
  pt();
20443
20443
  }
@@ -20487,13 +20487,13 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20487
20487
  {
20488
20488
  var f = e.alternate;
20489
20489
  if (f !== null) {
20490
- var R = f.child;
20491
- if (R !== null) {
20490
+ var N = f.child;
20491
+ if (N !== null) {
20492
20492
  f.child = null;
20493
20493
  do {
20494
- var G = R.sibling;
20495
- R.sibling = null, R = G;
20496
- } while (R !== null);
20494
+ var G = N.sibling;
20495
+ N.sibling = null, N = G;
20496
+ } while (N !== null);
20497
20497
  }
20498
20498
  }
20499
20499
  }
@@ -20726,25 +20726,25 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20726
20726
  }
20727
20727
  function dg(e, t) {
20728
20728
  for (var a = [], i = [e, 0], s = 0; s < i.length; ) {
20729
- var f = i[s++], R = i[s++], G = t[R];
20729
+ var f = i[s++], N = i[s++], G = t[N];
20730
20730
  if (!(f.tag === F && _i(f))) {
20731
20731
  for (; G != null && nv(f, G); )
20732
- R++, G = t[R];
20733
- if (R === t.length)
20732
+ N++, G = t[N];
20733
+ if (N === t.length)
20734
20734
  a.push(f);
20735
20735
  else
20736
20736
  for (var V = f.child; V !== null; )
20737
- i.push(V, R), V = V.sibling;
20737
+ i.push(V, N), V = V.sibling;
20738
20738
  }
20739
20739
  }
20740
20740
  return a;
20741
20741
  }
20742
20742
  function O4(e, t) {
20743
20743
  for (var a = [e, 0], i = 0; i < a.length; ) {
20744
- var s = a[i++], f = a[i++], R = t[f];
20744
+ var s = a[i++], f = a[i++], N = t[f];
20745
20745
  if (!(s.tag === F && _i(s))) {
20746
- for (; R != null && nv(s, R); )
20747
- f++, R = t[f];
20746
+ for (; N != null && nv(s, N); )
20747
+ f++, N = t[f];
20748
20748
  if (f === t.length)
20749
20749
  return !0;
20750
20750
  for (var G = s.child; G !== null; )
@@ -20756,8 +20756,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20756
20756
  function Mh(e, t) {
20757
20757
  if (!Qi)
20758
20758
  throw new Error("Test selector API is not supported by this renderer.");
20759
- for (var a = tv(e), i = dg(a, t), s = [], f = Array.from(i), R = 0; R < f.length; ) {
20760
- var G = f[R++];
20759
+ for (var a = tv(e), i = dg(a, t), s = [], f = Array.from(i), N = 0; N < f.length; ) {
20760
+ var G = f[N++];
20761
20761
  if (G.tag === F) {
20762
20762
  if (_i(G))
20763
20763
  continue;
@@ -20771,8 +20771,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20771
20771
  function z4(e, t) {
20772
20772
  if (!Qi)
20773
20773
  throw new Error("Test selector API is not supported by this renderer.");
20774
- for (var a = tv(e), i = 0, s = [], f = [a, 0], R = 0; R < f.length; ) {
20775
- var G = f[R++], V = f[R++], q = t[V];
20774
+ for (var a = tv(e), i = 0, s = [], f = [a, 0], N = 0; N < f.length; ) {
20775
+ var G = f[N++], V = f[N++], q = t[V];
20776
20776
  if (!(G.tag === F && _i(G)) && (nv(G, q) && (s.push(rv(q)), V++, V > i && (i = V)), V < t.length))
20777
20777
  for (var te = G.child; te !== null; )
20778
20778
  f.push(te, V), te = te.sibling;
@@ -20794,16 +20794,16 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20794
20794
  for (var a = Mh(e, t), i = [], s = 0; s < a.length; s++)
20795
20795
  i.push(ps(a[s]));
20796
20796
  for (var f = i.length - 1; f > 0; f--)
20797
- for (var R = i[f], G = R.x, V = G + R.width, q = R.y, te = q + R.height, ue = f - 1; ue >= 0; ue--)
20797
+ for (var N = i[f], G = N.x, V = G + N.width, q = N.y, te = q + N.height, ue = f - 1; ue >= 0; ue--)
20798
20798
  if (f !== ue) {
20799
20799
  var ve = i[ue], xe = ve.x, Te = xe + ve.width, Ee = ve.y, We = Ee + ve.height;
20800
20800
  if (G >= xe && q >= Ee && V <= Te && te <= We) {
20801
20801
  i.splice(f, 1);
20802
20802
  break;
20803
- } else if (G === xe && R.width === ve.width && !(We < q) && !(Ee > te)) {
20803
+ } else if (G === xe && N.width === ve.width && !(We < q) && !(Ee > te)) {
20804
20804
  Ee > q && (ve.height += Ee - q, ve.y = q), We < te && (ve.height = te - Ee), i.splice(f, 1);
20805
20805
  break;
20806
- } else if (q === Ee && R.height === ve.height && !(Te < G) && !(xe > V)) {
20806
+ } else if (q === Ee && N.height === ve.height && !(Te < G) && !(xe > V)) {
20807
20807
  xe > G && (ve.width += xe - G, ve.x = G), Te < V && (ve.width = V - xe), i.splice(f, 1);
20808
20808
  break;
20809
20809
  }
@@ -20814,14 +20814,14 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20814
20814
  if (!Qi)
20815
20815
  throw new Error("Test selector API is not supported by this renderer.");
20816
20816
  for (var a = tv(e), i = dg(a, t), s = Array.from(i), f = 0; f < s.length; ) {
20817
- var R = s[f++];
20818
- if (!_i(R)) {
20819
- if (R.tag === F) {
20820
- var G = R.stateNode;
20817
+ var N = s[f++];
20818
+ if (!_i(N)) {
20819
+ if (N.tag === F) {
20820
+ var G = N.stateNode;
20821
20821
  if (Kf(G))
20822
20822
  return !0;
20823
20823
  }
20824
- for (var V = R.child; V !== null; )
20824
+ for (var V = N.child; V !== null; )
20825
20825
  s.push(V), V = V.sibling;
20826
20826
  }
20827
20827
  }
@@ -20836,7 +20836,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20836
20836
  function j4(e, t, a, i) {
20837
20837
  if (!Qi)
20838
20838
  throw new Error("Test selector API is not supported by this renderer.");
20839
- var s = Mh(e, t), f = Fu(s, a, i), R = f.disconnect, G = f.observe, V = f.unobserve, q = function() {
20839
+ var s = Mh(e, t), f = Fu(s, a, i), N = f.disconnect, G = f.observe, V = f.unobserve, q = function() {
20840
20840
  var te = Mh(e, t);
20841
20841
  s.forEach(function(ue) {
20842
20842
  te.indexOf(ue) < 0 && V(ue);
@@ -20847,7 +20847,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20847
20847
  return Lh.push(q), {
20848
20848
  disconnect: function() {
20849
20849
  var te = Lh.indexOf(q);
20850
- te >= 0 && Lh.splice(te, 1), R();
20850
+ te >= 0 && Lh.splice(te, 1), N();
20851
20851
  }
20852
20852
  };
20853
20853
  }
@@ -20952,11 +20952,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20952
20952
  return;
20953
20953
  }
20954
20954
  a != null && Og(a);
20955
- var R;
20955
+ var N;
20956
20956
  if (s === tt)
20957
20957
  e.tag === za ? (fi.isBatchingLegacy !== null && (fi.didScheduleLegacyUpdate = !0), Jo(Cg.bind(null, e))) : _o(Cg.bind(null, e)), d0 ? fi.current !== null ? fi.current.push($t) : Ou(function() {
20958
20958
  (mt & (vr | Va)) === Bn && $t();
20959
- }) : Wh(Rs, $t), R = null;
20959
+ }) : Wh(Rs, $t), N = null;
20960
20960
  else {
20961
20961
  var G;
20962
20962
  switch (Ho(i)) {
@@ -20976,9 +20976,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20976
20976
  G = ol;
20977
20977
  break;
20978
20978
  }
20979
- R = Wh(G, Sg.bind(null, e));
20979
+ N = Wh(G, Sg.bind(null, e));
20980
20980
  }
20981
- e.callbackPriority = s, e.callbackNode = R;
20981
+ e.callbackPriority = s, e.callbackNode = N;
20982
20982
  }
20983
20983
  function Sg(e, t) {
20984
20984
  if (K5(), Wc = Wt, Bh = be, (mt & (vr | Va)) !== Bn)
@@ -20989,31 +20989,31 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
20989
20989
  var s = Gn(e, e === _r ? qn : be);
20990
20990
  if (s === be)
20991
20991
  return null;
20992
- var f = !Ul(e, s) && !tc(e, s) && !t, R = f ? s8(e, s) : Ih(e, s);
20993
- if (R !== yl) {
20994
- if (R === ks) {
20992
+ var f = !Ul(e, s) && !tc(e, s) && !t, N = f ? s8(e, s) : Ih(e, s);
20993
+ if (N !== yl) {
20994
+ if (N === ks) {
20995
20995
  var G = Lo(e);
20996
- G !== be && (s = G, R = vv(e, G));
20996
+ G !== be && (s = G, N = vv(e, G));
20997
20997
  }
20998
- if (R === Bc) {
20998
+ if (N === Bc) {
20999
20999
  var V = kc;
21000
21000
  throw Is(e, be), ts(e, s), sa(e, Cn()), V;
21001
21001
  }
21002
- if (R === sv)
21002
+ if (N === sv)
21003
21003
  ts(e, s);
21004
21004
  else {
21005
21005
  var q = !Ul(e, s), te = e.current.alternate;
21006
21006
  if (q && !J4(te)) {
21007
- if (R = Ih(e, s), R === ks) {
21007
+ if (N = Ih(e, s), N === ks) {
21008
21008
  var ue = Lo(e);
21009
- ue !== be && (s = ue, R = vv(e, ue));
21009
+ ue !== be && (s = ue, N = vv(e, ue));
21010
21010
  }
21011
- if (R === Bc) {
21011
+ if (N === Bc) {
21012
21012
  var ve = kc;
21013
21013
  throw Is(e, be), ts(e, s), sa(e, Cn()), ve;
21014
21014
  }
21015
21015
  }
21016
- e.finishedWork = te, e.finishedLanes = s, _4(e, R, s);
21016
+ e.finishedWork = te, e.finishedLanes = s, _4(e, N, s);
21017
21017
  }
21018
21018
  }
21019
21019
  return sa(e, Cn()), e.callbackNode === a ? Sg.bind(null, e) : null;
@@ -21070,7 +21070,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21070
21070
  if (ts(e, a), xd(a))
21071
21071
  break;
21072
21072
  if (!zg()) {
21073
- var R = vd(e, a), G = R, V = Cn() - G, q = y8(V) - V;
21073
+ var N = vd(e, a), G = N, V = Cn() - G, q = y8(V) - V;
21074
21074
  if (q > 10) {
21075
21075
  e.timeoutHandle = Lu(Ys.bind(null, e, la, Sl), q);
21076
21076
  break;
@@ -21095,9 +21095,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21095
21095
  var i = a.stores;
21096
21096
  if (i !== null)
21097
21097
  for (var s = 0; s < i.length; s++) {
21098
- var f = i[s], R = f.getSnapshot, G = f.value;
21098
+ var f = i[s], N = f.getSnapshot, G = f.value;
21099
21099
  try {
21100
- if (!ir(R(), G))
21100
+ if (!ir(N(), G))
21101
21101
  return !1;
21102
21102
  } catch {
21103
21103
  return !1;
@@ -21167,11 +21167,11 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21167
21167
  }
21168
21168
  }
21169
21169
  function $4(e, t, a, i, s) {
21170
- var f = cr(), R = Sn.transition;
21170
+ var f = cr(), N = Sn.transition;
21171
21171
  try {
21172
21172
  return Sn.transition = null, gn(Fe), e(t, a, i, s);
21173
21173
  } finally {
21174
- gn(f), Sn.transition = R, mt === Bn && vu();
21174
+ gn(f), Sn.transition = N, mt === Bn && vu();
21175
21175
  }
21176
21176
  }
21177
21177
  function kh(e) {
@@ -21342,9 +21342,9 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21342
21342
  }
21343
21343
  if ((t.mode & Bt) !== qe) {
21344
21344
  mh(t, !1);
21345
- for (var R = t.actualDuration, G = t.child; G !== null; )
21346
- R += G.actualDuration, G = G.sibling;
21347
- t.actualDuration = R;
21345
+ for (var N = t.actualDuration, G = t.child; G !== null; )
21346
+ N += G.actualDuration, G = G.sibling;
21347
+ t.actualDuration = N;
21348
21348
  }
21349
21349
  if (i !== null)
21350
21350
  i.flags |= cs, i.subtreeFlags = Xe, i.deletions = null;
@@ -21383,8 +21383,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21383
21383
  if (f === be && h("root.finishedLanes should not be empty during a commit. This is a bug in React."), e.finishedWork = null, e.finishedLanes = be, s === e.current)
21384
21384
  throw new Error("Cannot commit the same tree as before. This error is likely caused by a bug in React. Please file an issue.");
21385
21385
  e.callbackNode = null, e.callbackPriority = mn;
21386
- var R = ht(s.lanes, s.childLanes);
21387
- ar(e, R), e === _r && (_r = null, xn = null, qn = be), ((s.subtreeFlags & Al) !== Xe || (s.flags & Al) !== Xe) && (Vs || (Vs = !0, dv = a, Wh(ol, function() {
21386
+ var N = ht(s.lanes, s.childLanes);
21387
+ ar(e, N), e === _r && (_r = null, xn = null, qn = be), ((s.subtreeFlags & Al) !== Xe || (s.flags & Al) !== Xe) && (Vs || (Vs = !0, dv = a, Wh(ol, function() {
21388
21388
  return Bi(), null;
21389
21389
  })));
21390
21390
  var G = (s.subtreeFlags & (Nu | fs | ds | Al)) !== Xe, V = (s.flags & (Nu | fs | ds | Al)) !== Xe;
@@ -21398,7 +21398,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21398
21398
  } else
21399
21399
  e.current = s, mm();
21400
21400
  var ve = Vs;
21401
- if (Vs ? (Vs = !1, $l = e, Yc = f) : (gu = 0, jh = null), R = e.pendingLanes, R === be && (mu = null), ve || Pg(e.current, !1), Yo(s.stateNode, i), br && e.memoizedUpdaters.clear(), U4(), sa(e, Cn()), t !== null)
21401
+ if (Vs ? (Vs = !1, $l = e, Yc = f) : (gu = 0, jh = null), N = e.pendingLanes, N === be && (mu = null), ve || Pg(e.current, !1), Yo(s.stateNode, i), br && e.memoizedUpdaters.clear(), U4(), sa(e, Cn()), t !== null)
21402
21402
  for (var xe = e.onRecoverableError, Te = 0; Te < t.length; Te++) {
21403
21403
  var Ee = t[Te], We = Ee.stack, rt = Ee.digest;
21404
21404
  xe(Ee.value, {
@@ -21411,7 +21411,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21411
21411
  var Ke = cv;
21412
21412
  throw cv = null, Ke;
21413
21413
  }
21414
- return rr(Yc, tt) && e.tag !== za && Bi(), R = e.pendingLanes, rr(R, tt) ? (q5(), e === hv ? Xc++ : (Xc = 0, hv = e)) : Xc = 0, $t(), Rd(), null;
21414
+ return rr(Yc, tt) && e.tag !== za && Bi(), N = e.pendingLanes, rr(N, tt) ? (q5(), e === hv ? Xc++ : (Xc = 0, hv = e)) : Xc = 0, $t(), Rd(), null;
21415
21415
  }
21416
21416
  function Bi() {
21417
21417
  if ($l !== null) {
@@ -21444,8 +21444,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21444
21444
  var s = fv;
21445
21445
  fv = [];
21446
21446
  for (var f = 0; f < s.length; f++) {
21447
- var R = s[f];
21448
- K3(t, R);
21447
+ var N = s[f];
21448
+ K3(t, N);
21449
21449
  }
21450
21450
  }
21451
21451
  Tr(), Pg(t.current, !0), mt = i, $t(), Uh ? t === jh ? gu++ : (gu = 0, jh = t) : gu = 0, pv = !1, Uh = !1, Ns(t);
@@ -21466,8 +21466,8 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21466
21466
  }
21467
21467
  var p8 = h8;
21468
21468
  function Ng(e, t, a) {
21469
- var i = Bs(a, t), s = Tm(e, i, tt), f = Ql(e, s, tt), R = Dr();
21470
- f !== null && (Ti(f, tt, R), sa(f, R));
21469
+ var i = Bs(a, t), s = Tm(e, i, tt), f = Ql(e, s, tt), N = Dr();
21470
+ f !== null && (Ti(f, tt, N), sa(f, N));
21471
21471
  }
21472
21472
  function Qt(e, t, a) {
21473
21473
  if (X3(a), Jc(!1), e.tag === O) {
@@ -21482,7 +21482,7 @@ Learn more about data fetching with Hooks: https://reactjs.org/link/hooks-data-f
21482
21482
  } else if (i.tag === k) {
21483
21483
  var s = i.type, f = i.stateNode;
21484
21484
  if (typeof s.getDerivedStateFromError == "function" || typeof f.componentDidCatch == "function" && !Rg(f)) {
21485
- var R = Bs(a, e), G = zp(i, R, tt), V = Ql(i, G, tt), q = Dr();
21485
+ var N = Bs(a, e), G = zp(i, N, tt), V = Ql(i, G, tt), q = Dr();
21486
21486
  V !== null && (Ti(V, tt, q), sa(V, q));
21487
21487
  return;
21488
21488
  }
@@ -21734,8 +21734,8 @@ This ensures that you're testing the behavior the user would see in the browser.
21734
21734
  return !1;
21735
21735
  }
21736
21736
  if (s) {
21737
- var R = Ia(a);
21738
- if (R !== void 0 && R === Ia(i))
21737
+ var N = Ia(a);
21738
+ if (N !== void 0 && N === Ia(i))
21739
21739
  return !0;
21740
21740
  }
21741
21741
  return !1;
@@ -21768,8 +21768,8 @@ This ensures that you're testing the behavior the user would see in the browser.
21768
21768
  };
21769
21769
  function bv(e, t, a) {
21770
21770
  {
21771
- var i = e.alternate, s = e.child, f = e.sibling, R = e.tag, G = e.type, V = null;
21772
- switch (R) {
21771
+ var i = e.alternate, s = e.child, f = e.sibling, N = e.tag, G = e.type, V = null;
21772
+ switch (N) {
21773
21773
  case L:
21774
21774
  case I:
21775
21775
  case k:
@@ -21784,7 +21784,7 @@ This ensures that you're testing the behavior the user would see in the browser.
21784
21784
  var q = !1, te = !1;
21785
21785
  if (V !== null) {
21786
21786
  var ue = Ia(V);
21787
- ue !== void 0 && (a.has(ue) ? te = !0 : t.has(ue) && (R === k ? te = !0 : q = !0));
21787
+ ue !== void 0 && (a.has(ue) ? te = !0 : t.has(ue) && (N === k ? te = !0 : q = !0));
21788
21788
  }
21789
21789
  if (yu !== null && (yu.has(e) || i !== null && yu.has(i)) && (te = !0), te && (e._debugNeedsRemount = !0), te || q) {
21790
21790
  var ve = Wr(e, tt);
@@ -21803,15 +21803,15 @@ This ensures that you're testing the behavior the user would see in the browser.
21803
21803
  };
21804
21804
  function Tv(e, t, a) {
21805
21805
  {
21806
- var i = e.child, s = e.sibling, f = e.tag, R = e.type, G = null;
21806
+ var i = e.child, s = e.sibling, f = e.tag, N = e.type, G = null;
21807
21807
  switch (f) {
21808
21808
  case L:
21809
21809
  case I:
21810
21810
  case k:
21811
- G = R;
21811
+ G = N;
21812
21812
  break;
21813
21813
  case pe:
21814
- G = R.render;
21814
+ G = N.render;
21815
21815
  break;
21816
21816
  }
21817
21817
  var V = !1;
@@ -21936,17 +21936,17 @@ This ensures that you're testing the behavior the user would see in the browser.
21936
21936
  return e === So ? (i = bt, t === !0 && (i |= on, i |= ya)) : i = qe, br && (i |= Bt), ba(O, null, null, i);
21937
21937
  }
21938
21938
  function Rv(e, t, a, i, s, f) {
21939
- var R = _, G = e;
21939
+ var N = _, G = e;
21940
21940
  if (typeof e == "function")
21941
- Av(e) ? (R = k, G = Cv(G)) : G = Su(G);
21941
+ Av(e) ? (N = k, G = Cv(G)) : G = Su(G);
21942
21942
  else if (typeof e == "string")
21943
- R = F;
21943
+ N = F;
21944
21944
  else
21945
21945
  e: switch (e) {
21946
21946
  case Ye:
21947
21947
  return ns(a.children, s, f, t);
21948
21948
  case Re:
21949
- R = $, s |= on, (s & bt) !== qe && (s |= ya);
21949
+ N = $, s |= on, (s & bt) !== qe && (s |= ya);
21950
21950
  break;
21951
21951
  case ke:
21952
21952
  return G8(a, s, f, t);
@@ -21970,19 +21970,19 @@ This ensures that you're testing the behavior the user would see in the browser.
21970
21970
  if (typeof e == "object" && e !== null)
21971
21971
  switch (e.$$typeof) {
21972
21972
  case Ge:
21973
- R = ee;
21973
+ N = ee;
21974
21974
  break e;
21975
21975
  case $e:
21976
- R = re;
21976
+ N = re;
21977
21977
  break e;
21978
21978
  case et:
21979
- R = pe, G = Ev(G);
21979
+ N = pe, G = Ev(G);
21980
21980
  break e;
21981
21981
  case dt:
21982
- R = W;
21982
+ N = W;
21983
21983
  break e;
21984
21984
  case yt:
21985
- R = Z, G = null;
21985
+ N = Z, G = null;
21986
21986
  break e;
21987
21987
  }
21988
21988
  var V = "";
@@ -21996,13 +21996,13 @@ Check the render method of \`` + q + "`.");
21996
21996
  throw new Error("Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) " + ("but got: " + (e == null ? e : typeof e) + "." + V));
21997
21997
  }
21998
21998
  }
21999
- var te = ba(R, a, t, s);
21999
+ var te = ba(N, a, t, s);
22000
22000
  return te.elementType = e, te.type = G, te.lanes = f, te._debugOwner = i, te;
22001
22001
  }
22002
22002
  function Nv(e, t, a) {
22003
22003
  var i = null;
22004
22004
  i = e._owner;
22005
- var s = e.type, f = e.key, R = e.props, G = Rv(s, f, R, i, t, a);
22005
+ var s = e.type, f = e.key, N = e.props, G = Rv(s, f, N, i, t, a);
22006
22006
  return G._debugSource = e._source, G._debugOwner = e._owner, G;
22007
22007
  }
22008
22008
  function ns(e, t, a, i) {
@@ -22061,7 +22061,7 @@ Check the render method of \`` + q + "`.");
22061
22061
  this.tag = t, this.containerInfo = e, this.pendingChildren = null, this.current = null, this.pingCache = null, this.finishedWork = null, this.timeoutHandle = Ks, this.context = null, this.pendingContext = null, this.callbackNode = null, this.callbackPriority = mn, this.eventTimes = Bl(be), this.expirationTimes = Bl(Wt), this.pendingLanes = be, this.suspendedLanes = be, this.pingedLanes = be, this.expiredLanes = be, this.mutableReadLanes = be, this.finishedLanes = be, this.entangledLanes = be, this.entanglements = Bl(be), this.identifierPrefix = i, this.onRecoverableError = s, ur && (this.mutableSourceEagerHydrationData = null), this.effectDuration = 0, this.passiveEffectDuration = 0;
22062
22062
  {
22063
22063
  this.memoizedUpdaters = /* @__PURE__ */ new Set();
22064
- for (var f = this.pendingUpdatersLaneMap = [], R = 0; R < el; R++)
22064
+ for (var f = this.pendingUpdatersLaneMap = [], N = 0; N < el; N++)
22065
22065
  f.push(/* @__PURE__ */ new Set());
22066
22066
  }
22067
22067
  switch (t) {
@@ -22073,7 +22073,7 @@ Check the render method of \`` + q + "`.");
22073
22073
  break;
22074
22074
  }
22075
22075
  }
22076
- function Hg(e, t, a, i, s, f, R, G, V, q) {
22076
+ function Hg(e, t, a, i, s, f, N, G, V, q) {
22077
22077
  var te = new k8(e, t, a, G, V), ue = F8(t, f);
22078
22078
  te.current = ue, ue.stateNode = te;
22079
22079
  {
@@ -22141,41 +22141,41 @@ Check the render method of \`` + q + "`.");
22141
22141
  var f = _e(a) || "Component";
22142
22142
  if (!Lv[f]) {
22143
22143
  Lv[f] = !0;
22144
- var R = Oe;
22144
+ var N = Oe;
22145
22145
  try {
22146
22146
  Lt(s), a.mode & on ? h("%s is deprecated in StrictMode. %s was passed an instance of %s which is inside StrictMode. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, f) : h("%s is deprecated in StrictMode. %s was passed an instance of %s which renders StrictMode children. Instead, add a ref directly to the element you want to reference. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-find-node", t, t, f);
22147
22147
  } finally {
22148
- R ? Lt(R) : pt();
22148
+ N ? Lt(N) : pt();
22149
22149
  }
22150
22150
  }
22151
22151
  }
22152
22152
  return s.stateNode;
22153
22153
  }
22154
22154
  }
22155
- function W8(e, t, a, i, s, f, R, G) {
22155
+ function W8(e, t, a, i, s, f, N, G) {
22156
22156
  var V = !1, q = null;
22157
- return Hg(e, t, V, q, a, i, s, f, R);
22157
+ return Hg(e, t, V, q, a, i, s, f, N);
22158
22158
  }
22159
- function Q8(e, t, a, i, s, f, R, G, V, q) {
22160
- var te = !0, ue = Hg(a, i, te, e, s, f, R, G, V);
22159
+ function Q8(e, t, a, i, s, f, N, G, V, q) {
22160
+ var te = !0, ue = Hg(a, i, te, e, s, f, N, G, V);
22161
22161
  ue.context = kg(null);
22162
22162
  var ve = ue.current, xe = Dr(), Te = es(ve), Ee = ml(xe, Te);
22163
22163
  return Ee.callback = t ?? null, Ql(ve, Ee, Te), W4(ue, Te, xe), ue;
22164
22164
  }
22165
22165
  function Vg(e, t, a, i) {
22166
22166
  Io(t, e);
22167
- var s = t.current, f = Dr(), R = es(s);
22168
- kl(R);
22167
+ var s = t.current, f = Dr(), N = es(s);
22168
+ kl(N);
22169
22169
  var G = kg(a);
22170
22170
  t.context === null ? t.context = G : t.pendingContext = G, it && Oe !== null && !Mv && (Mv = !0, h(`Render methods should be a pure function of props and state; triggering nested component updates from render is not allowed. If necessary, trigger nested updates in componentDidUpdate.
22171
22171
 
22172
22172
  Check the render method of %s.`, _e(Oe) || "Unknown"));
22173
- var V = ml(f, R);
22173
+ var V = ml(f, N);
22174
22174
  V.payload = {
22175
22175
  element: e
22176
22176
  }, i = i === void 0 ? null : i, i !== null && (typeof i != "function" && h("render(...): Expected the last optional `callback` argument to be a function. Instead received: %s.", i), V.callback = i);
22177
- var q = Ql(s, V, R);
22178
- return q !== null && (Hn(q, s, R, f), Wd(q, s, R)), R;
22177
+ var q = Ql(s, V, N);
22178
+ return q !== null && (Hn(q, s, N, f), Wd(q, s, N)), N;
22179
22179
  }
22180
22180
  function _8(e) {
22181
22181
  var t = e.current;
@@ -22270,15 +22270,15 @@ Check the render method of %s.`, _e(Oe) || "Unknown"));
22270
22270
  var _g = null, Jg = null, Zg = null, qg = null, Kg = null, $g = null, e2 = null, t2 = null, n2 = null;
22271
22271
  {
22272
22272
  var r2 = function(e, t, a) {
22273
- var i = t[a], s = Ln(e) ? e.slice() : N({}, e);
22273
+ var i = t[a], s = Ln(e) ? e.slice() : R({}, e);
22274
22274
  return a + 1 === t.length ? (Ln(s) ? s.splice(i, 1) : delete s[i], s) : (s[i] = r2(e[i], t, a + 1), s);
22275
22275
  }, a2 = function(e, t) {
22276
22276
  return r2(e, t, 0);
22277
22277
  }, i2 = function(e, t, a, i) {
22278
- var s = t[i], f = Ln(e) ? e.slice() : N({}, e);
22278
+ var s = t[i], f = Ln(e) ? e.slice() : R({}, e);
22279
22279
  if (i + 1 === t.length) {
22280
- var R = a[i];
22281
- f[R] = f[s], Ln(f) ? f.splice(s, 1) : delete f[s];
22280
+ var N = a[i];
22281
+ f[N] = f[s], Ln(f) ? f.splice(s, 1) : delete f[s];
22282
22282
  } else
22283
22283
  f[s] = i2(
22284
22284
  // $FlowFixMe number or string is fine here
@@ -22302,7 +22302,7 @@ Check the render method of %s.`, _e(Oe) || "Unknown"));
22302
22302
  }, s2 = function(e, t, a, i) {
22303
22303
  if (a >= t.length)
22304
22304
  return i;
22305
- var s = t[a], f = Ln(e) ? e.slice() : N({}, e);
22305
+ var s = t[a], f = Ln(e) ? e.slice() : R({}, e);
22306
22306
  return f[s] = s2(e[s], t, a + 1, i), f;
22307
22307
  }, o2 = function(e, t, a) {
22308
22308
  return s2(e, t, 0, a);
@@ -22315,15 +22315,15 @@ Check the render method of %s.`, _e(Oe) || "Unknown"));
22315
22315
  var s = Ov(e, t);
22316
22316
  if (s !== null) {
22317
22317
  var f = o2(s.memoizedState, a, i);
22318
- s.memoizedState = f, s.baseState = f, e.memoizedProps = N({}, e.memoizedProps);
22319
- var R = Wr(e, tt);
22320
- R !== null && Hn(R, e, tt, Wt);
22318
+ s.memoizedState = f, s.baseState = f, e.memoizedProps = R({}, e.memoizedProps);
22319
+ var N = Wr(e, tt);
22320
+ N !== null && Hn(N, e, tt, Wt);
22321
22321
  }
22322
22322
  }, Jg = function(e, t, a) {
22323
22323
  var i = Ov(e, t);
22324
22324
  if (i !== null) {
22325
22325
  var s = a2(i.memoizedState, a);
22326
- i.memoizedState = s, i.baseState = s, e.memoizedProps = N({}, e.memoizedProps);
22326
+ i.memoizedState = s, i.baseState = s, e.memoizedProps = R({}, e.memoizedProps);
22327
22327
  var f = Wr(e, tt);
22328
22328
  f !== null && Hn(f, e, tt, Wt);
22329
22329
  }
@@ -22331,9 +22331,9 @@ Check the render method of %s.`, _e(Oe) || "Unknown"));
22331
22331
  var s = Ov(e, t);
22332
22332
  if (s !== null) {
22333
22333
  var f = l2(s.memoizedState, a, i);
22334
- s.memoizedState = f, s.baseState = f, e.memoizedProps = N({}, e.memoizedProps);
22335
- var R = Wr(e, tt);
22336
- R !== null && Hn(R, e, tt, Wt);
22334
+ s.memoizedState = f, s.baseState = f, e.memoizedProps = R({}, e.memoizedProps);
22335
+ var N = Wr(e, tt);
22336
+ N !== null && Hn(N, e, tt, Wt);
22337
22337
  }
22338
22338
  }, qg = function(e, t, a) {
22339
22339
  e.pendingProps = o2(e.memoizedProps, t, a), e.alternate && (e.alternate.pendingProps = e.pendingProps);
@@ -22487,7 +22487,7 @@ function i0(o, u, C = N7) {
22487
22487
  var h = !u.hasOwnProperty(g);
22488
22488
  h && o.setAttr(g, void 0);
22489
22489
  }
22490
- var E = u._useStrictMode, N = {}, T = !1;
22490
+ var E = u._useStrictMode, R = {}, T = !1;
22491
22491
  const y = {};
22492
22492
  for (var g in u)
22493
22493
  if (!Gy[g]) {
@@ -22496,9 +22496,9 @@ function i0(o, u, C = N7) {
22496
22496
  var S = g.substr(2).toLowerCase();
22497
22497
  S.substr(0, 7) === "content" && (S = "content" + S.substr(7, 1).toUpperCase() + S.substr(8)), u[g] && (y[S] = u[g]);
22498
22498
  }
22499
- !p && (u[g] !== C[g] || E && u[g] !== o.getAttr(g)) && (T = !0, N[g] = u[g]);
22499
+ !p && (u[g] !== C[g] || E && u[g] !== o.getAttr(g)) && (T = !0, R[g] = u[g]);
22500
22500
  }
22501
- T && (o.setAttrs(N), os(o));
22501
+ T && (o.setAttrs(R), os(o));
22502
22502
  for (var S in y)
22503
22503
  o.on(S + b1, y[S]);
22504
22504
  }
@@ -22795,7 +22795,7 @@ Hf.injectIntoDevTools({
22795
22795
  rendererPackageName: "react-konva"
22796
22796
  });
22797
22797
  const AS = sn.forwardRef((o, u) => sn.createElement(b5, {}, sn.createElement(ES, { ...o, forwardedRef: u }))), T5 = ({ imageUrl: o, customClassName: u = "", containerRef: C }) => {
22798
- const { showPenTool: P, penColor: A, penTool: g, strokeWidth: p } = Qf(), [m, S] = at(null), [h, E] = at({ width: 0, height: 0 }), [N, T] = at(!1), [y, x] = at([]), [D, B] = at(
22798
+ const { showPenTool: P, penColor: A, penTool: g, strokeWidth: p } = Qf(), [m, S] = at(null), [h, E] = at({ width: 0, height: 0 }), [R, T] = at(!1), [y, x] = at([]), [D, B] = at(
22799
22799
  []
22800
22800
  ), [j, b] = at(null), v = jt(null), M = jt(null), L = 600, k = 600;
22801
22801
  cn(() => {
@@ -22827,7 +22827,7 @@ const AS = sn.forwardRef((o, u) => sn.createElement(b5, {}, sn.createElement(ES,
22827
22827
  [P, m, g, y, A, p]
22828
22828
  ), O = nn(
22829
22829
  (F) => {
22830
- if (!P || !N || !m) return;
22830
+ if (!P || !R || !m) return;
22831
22831
  const X = F.target.getStage()?.getPointerPosition();
22832
22832
  if (X)
22833
22833
  if (g === gr.PEN) {
@@ -22837,7 +22837,7 @@ const AS = sn.forwardRef((o, u) => sn.createElement(b5, {}, sn.createElement(ES,
22837
22837
  points: [j.points[0], { x: X.x, y: X.y }]
22838
22838
  });
22839
22839
  },
22840
- [P, N, m, g, y, j]
22840
+ [P, R, m, g, y, j]
22841
22841
  ), H = nn(() => {
22842
22842
  !P || !m || (T(!1), j && (g === gr.RECT || g === gr.CIRCLE) && (j.points.length === 2 && B([
22843
22843
  ...D,
@@ -23004,7 +23004,7 @@ function RS(o) {
23004
23004
  justifyContent: P.length === 1 ? "center" : void 0,
23005
23005
  alignItems: "center"
23006
23006
  },
23007
- children: P.map((E, N) => /* @__PURE__ */ Q.jsx(
23007
+ children: P.map((E, R) => /* @__PURE__ */ Q.jsx(
23008
23008
  "div",
23009
23009
  {
23010
23010
  style: {
@@ -23012,7 +23012,7 @@ function RS(o) {
23012
23012
  height: `${S}px`,
23013
23013
  display: "flex",
23014
23014
  alignItems: "center",
23015
- justifyContent: N % 2 === 0 ? "flex-end" : "flex-start"
23015
+ justifyContent: R % 2 === 0 ? "flex-end" : "flex-start"
23016
23016
  },
23017
23017
  id: `compare-${E.id}`,
23018
23018
  children: /* @__PURE__ */ Q.jsx(T5, { imageUrl: E.filePath, containerRef: `compare-${E.id}` })
@@ -23110,9 +23110,9 @@ function zS() {
23110
23110
  addDocument: A,
23111
23111
  setShowSaveGroupPreview: g,
23112
23112
  updateDocument: p
23113
- } = Aa(), [m, S] = at(!1), h = jt(null), { onSaveComparision: E, setCompareMode: N, setShowPreview: T, setError: y } = Ya(), [x, D] = at(C?.label || ""), B = nn(() => {
23114
- T(!1), N(!1), u(null), o(), g(!1);
23115
- }, [o, N, u, T, g]), j = nn(async () => {
23113
+ } = Aa(), [m, S] = at(!1), h = jt(null), { onSaveComparision: E, setCompareMode: R, setShowPreview: T, setError: y } = Ya(), [x, D] = at(C?.label || ""), B = nn(() => {
23114
+ T(!1), R(!1), u(null), o(), g(!1);
23115
+ }, [o, R, u, T, g]), j = nn(async () => {
23116
23116
  if (!x) {
23117
23117
  y && y("Group Name is required");
23118
23118
  return;
@@ -23203,7 +23203,7 @@ function zS() {
23203
23203
  );
23204
23204
  }
23205
23205
  function FS() {
23206
- const { parentRef: o } = Ya(), { selectedDocuments: u, selectedGroup: C, showSaveGroupPreview: P } = Aa(), A = jt(null), [g, p] = at(void 0), [m, S] = at([]), [h, E] = at(0), [N, T] = at(0);
23206
+ const { parentRef: o } = Ya(), { selectedDocuments: u, selectedGroup: C, showSaveGroupPreview: P } = Aa(), A = jt(null), [g, p] = at(void 0), [m, S] = at([]), [h, E] = at(0), [R, T] = at(0);
23207
23207
  return cn(() => {
23208
23208
  o.current && A.current && (A.current.style.height = `${o.current.clientHeight}px`, A.current.style.width = `${o.current.clientWidth}px`, A.current.style.top = o.current.getBoundingClientRect().top + "px", A.current.style.left = o.current.getBoundingClientRect().left + "px");
23209
23209
  }, [o]), cn(() => {
@@ -23211,9 +23211,9 @@ function FS() {
23211
23211
  }, [u, C]), cn(() => {
23212
23212
  if (o.current) {
23213
23213
  const y = o.current.clientHeight;
23214
- E(y - N);
23214
+ E(y - R);
23215
23215
  }
23216
- }, [N, o]), /* @__PURE__ */ Q.jsx(qy.Provider, { value: { groupDocuments: m, setGroupDocuments: S, groupId: g, setGroupId: p }, children: /* @__PURE__ */ Q.jsxs("div", { ref: A, className: "hfl-fixed hfl-z-99999", children: [
23216
+ }, [R, o]), /* @__PURE__ */ Q.jsx(qy.Provider, { value: { groupDocuments: m, setGroupDocuments: S, groupId: g, setGroupId: p }, children: /* @__PURE__ */ Q.jsxs("div", { ref: A, className: "hfl-fixed hfl-z-99999", children: [
23217
23217
  /* @__PURE__ */ Q.jsx(f5, { setHeaderHeight: T }),
23218
23218
  /* @__PURE__ */ Q.jsx(
23219
23219
  RS,
@@ -23286,22 +23286,22 @@ function kS() {
23286
23286
  o.current && u.current && (u.current.style.height = `${o.current.clientHeight}px`, u.current.style.width = `${o.current.clientWidth}px`, u.current.style.top = o.current.getBoundingClientRect().top + "px", u.current.style.left = o.current.getBoundingClientRect().left + "px");
23287
23287
  }, [o]), cn(() => {
23288
23288
  if (o.current && p.current) {
23289
- const N = o.current.clientHeight;
23290
- p.current.style.height = `${N - C}px`;
23289
+ const R = o.current.clientHeight;
23290
+ p.current.style.height = `${R - C}px`;
23291
23291
  }
23292
23292
  }, [C, o]);
23293
23293
  const E = nn(
23294
- (N) => {
23295
- h((T) => N === "next" ? m.length - 1 === T ? 0 : T + 1 : T === 0 ? m.length - 1 : T - 1);
23294
+ (R) => {
23295
+ h((T) => R === "next" ? m.length - 1 === T ? 0 : T + 1 : T === 0 ? m.length - 1 : T - 1);
23296
23296
  },
23297
23297
  [m.length, h]
23298
23298
  );
23299
23299
  return cn(() => {
23300
- const N = (T) => {
23300
+ const R = (T) => {
23301
23301
  T.key === "ArrowRight" ? E("next") : T.key === "ArrowLeft" && E("prev");
23302
23302
  };
23303
- return window.addEventListener("keydown", N), () => {
23304
- window.removeEventListener("keydown", N);
23303
+ return window.addEventListener("keydown", R), () => {
23304
+ window.removeEventListener("keydown", R);
23305
23305
  };
23306
23306
  }, [E]), /* @__PURE__ */ Q.jsxs("div", { className: "hfl-z-99999 hfl-fixed", ref: u, children: [
23307
23307
  /* @__PURE__ */ Q.jsx(f5, { setHeaderHeight: P, isPreview: !0 }),
@@ -23436,11 +23436,11 @@ const VS = ({ file_data: o }) => {
23436
23436
  }))
23437
23437
  ];
23438
23438
  function _S({ isOpen: o, document: u, onClose: C, onSave: P }) {
23439
- const [A, g] = at(""), [p, m] = at(""), [S, h] = at(!1), [E, N] = at(""), [T, y] = at("");
23439
+ const [A, g] = at(""), [p, m] = at(""), [S, h] = at(!1), [E, R] = at(""), [T, y] = at("");
23440
23440
  cn(() => {
23441
23441
  if (u) {
23442
23442
  const D = u.label, B = D.lastIndexOf(".");
23443
- B !== -1 ? (N(D.substring(0, B)), y(D.substring(B))) : (N(D), y("")), g(u.reportType || kf.REPORT_TYPE_UNSPECIFIED), m(new Date(u.createdAt).toISOString().split("T")[0]);
23443
+ B !== -1 ? (R(D.substring(0, B)), y(D.substring(B))) : (R(D), y("")), g(u.reportType || kf.REPORT_TYPE_UNSPECIFIED), m(new Date(u.createdAt).toISOString().split("T")[0]);
23444
23444
  }
23445
23445
  }, [u]);
23446
23446
  const x = async () => {
@@ -23477,7 +23477,7 @@ function _S({ isOpen: o, document: u, onClose: C, onSave: P }) {
23477
23477
  {
23478
23478
  id: "documentName",
23479
23479
  value: E,
23480
- onChange: (D) => N(D.target.value),
23480
+ onChange: (D) => R(D.target.value),
23481
23481
  placeholder: "Enter document name",
23482
23482
  className: "hfl-w-full hfl-border hfl-border-Gray-300 hfl-rounded-md hfl-px-3 hfl-py-2 focus:hfl-outline-none focus:hfl-ring-2 focus:hfl-ring-Primary-500"
23483
23483
  }
@@ -23524,7 +23524,7 @@ function _S({ isOpen: o, document: u, onClose: C, onSave: P }) {
23524
23524
  ] }) });
23525
23525
  }
23526
23526
  function JS({ isOpen: o, onClose: u, onCapture: C }) {
23527
- const P = jt(null), A = jt(null), g = jt(null), [p, m] = at(!1), [S, h] = at(null), [E, N] = at(!1), [T, y] = at(!1), [x, D] = at([]), [B, j] = at(null), b = async () => {
23527
+ const P = jt(null), A = jt(null), g = jt(null), [p, m] = at(!1), [S, h] = at(null), [E, R] = at(!1), [T, y] = at(!1), [x, D] = at([]), [B, j] = at(null), b = async () => {
23528
23528
  try {
23529
23529
  const O = (await navigator.mediaDevices.enumerateDevices()).filter((H) => H.kind === "videoinput");
23530
23530
  console.log("Available video devices:", O), D(O);
@@ -23565,7 +23565,7 @@ function JS({ isOpen: o, onClose: u, onCapture: C }) {
23565
23565
  }), g.current = null), P.current && (console.log("Clearing video srcObject"), P.current.srcObject = null), y(!1), console.log("stopCamera completed");
23566
23566
  }, L = async () => {
23567
23567
  if (!(!P.current || !A.current)) {
23568
- N(!0);
23568
+ R(!0);
23569
23569
  try {
23570
23570
  const _ = P.current, O = A.current, H = O.getContext("2d");
23571
23571
  if (!H)
@@ -23586,7 +23586,7 @@ function JS({ isOpen: o, onClose: u, onCapture: C }) {
23586
23586
  } catch (_) {
23587
23587
  console.error("Error capturing photo:", _), h("Failed to capture photo. Please try again.");
23588
23588
  } finally {
23589
- N(!1);
23589
+ R(!1);
23590
23590
  }
23591
23591
  }
23592
23592
  }, k = async () => {
@@ -23684,8 +23684,8 @@ function ZS({ containerRef: o, setPage: u, hasData: C, shouldScroll: P }) {
23684
23684
  if (!m) return;
23685
23685
  const S = () => {
23686
23686
  if (!A.current || !C) return;
23687
- const { scrollTop: h, scrollHeight: E, clientHeight: N } = m;
23688
- p.current = h > g.current, g.current = h, p.current && h + N >= E - 10 && u((T) => T + 1);
23687
+ const { scrollTop: h, scrollHeight: E, clientHeight: R } = m;
23688
+ p.current = h > g.current, g.current = h, p.current && h + R >= E - 10 && u((T) => T + 1);
23689
23689
  };
23690
23690
  return m.addEventListener("scroll", S), () => {
23691
23691
  m.removeEventListener("scroll", S);
@@ -23704,14 +23704,14 @@ function Ex(o) {
23704
23704
  showHeaderBackButton: S,
23705
23705
  patient_id: h = "",
23706
23706
  patient_role_id: E = "",
23707
- doctor_id: N = "",
23707
+ doctor_id: R = "",
23708
23708
  doctor_role_id: T = "",
23709
23709
  branch_id: y = "",
23710
23710
  onDeleteAttachments: x,
23711
23711
  onSaveComparision: D,
23712
23712
  onHeaderBackClick: B
23713
23713
  } = o, [j, b] = at(!1), [v, M] = at(!1), [L, k] = at(""), [_, O] = at(!0), [H, F] = at([]), [X, K] = at({ startDate: null, endDate: null }), [$, re] = at(1), [ee, pe] = at(""), z = jt(null), [U, W] = at(f6.VIEW_GRID), { documentView: I, setDocument: Z, addDocuments: oe, selectedDocuments: ne, addDocument: me, updateDocument: we } = Aa(), se = wa(() => I === Qs.GRID_VIEW ? 20 : 3, [I]), [J, ae] = at(null), [Ce, Ae] = at(!1), [Me, Ye] = at(!1), Re = wa(() => !j && !v, [j, v]), { isLoading: ke } = C9(
23714
- `attachments?page=${$}&page_size=${se}&query_type=${U}&search=${L}&types=${H.join(",")}&start_date=${X.startDate}&end_date=${X.endDate}&next_date=${ee}&patient_id=${h}&patient_role_id=${E}&doctor_id=${N}&doctor_role_id=${T}&branch_id=${y}`,
23714
+ `attachments?page=${$}&page_size=${se}&query_type=${U}&search=${L}&types=${H.join(",")}&start_date=${X.startDate}&end_date=${X.endDate}&next_date=${ee}&patient_id=${h}&patient_role_id=${E}&doctor_id=${R}&doctor_role_id=${T}&branch_id=${y}`,
23715
23715
  () => C($, L, H, se, U, X, ee),
23716
23716
  {
23717
23717
  revalidateOnFocus: !1,