@readerseye2/cr_viewer 1.0.43 → 1.0.44

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -4,7 +4,7 @@ var Ki = (e, t, n) => t in e ? Ui(e, t, { enumerable: !0, configurable: !0, writ
4
4
  var Hr = (e, t, n) => Ki(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import { jsx as x, jsxs as ee, Fragment as wt } from "react/jsx-runtime";
6
6
  import * as Ye from "react";
7
- import W, { createContext as Ft, useContext as Ue, useMemo as me, useLayoutEffect as _t, useRef as ie, useEffect as pe, useCallback as ne, createElement as hn, useState as pt, memo as Dt, useId as Xi } from "react";
7
+ import D, { createContext as Ft, useContext as Ue, useMemo as me, useLayoutEffect as _t, useRef as ie, useEffect as pe, useCallback as ne, createElement as hn, useState as pt, memo as Wt, useId as Xi } from "react";
8
8
  import Yi from "react-dom";
9
9
  const yr = Ft(void 0);
10
10
  var an = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
@@ -25,7 +25,7 @@ var Nr;
25
25
  function Qi() {
26
26
  if (Nr) return An;
27
27
  Nr = 1;
28
- var e = W;
28
+ var e = D;
29
29
  function t(h, f) {
30
30
  return h === f && (h !== 0 || 1 / h === 1 / f) || h !== h && f !== f;
31
31
  }
@@ -121,13 +121,13 @@ function Zi() {
121
121
  return v();
122
122
  }
123
123
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
124
- var o = W, i = typeof Object.is == "function" ? Object.is : e, s = o.useState, u = o.useEffect, a = o.useLayoutEffect, l = o.useDebugValue, d = !1, h = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : t;
124
+ var o = D, i = typeof Object.is == "function" ? Object.is : e, s = o.useState, u = o.useEffect, a = o.useLayoutEffect, l = o.useDebugValue, d = !1, h = !1, f = typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u" ? r : t;
125
125
  Bn.useSyncExternalStore = o.useSyncExternalStore !== void 0 ? o.useSyncExternalStore : f, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(Error());
126
126
  })()), Bn;
127
127
  }
128
- var Dr;
128
+ var Wr;
129
129
  function Ko() {
130
- return Dr || (Dr = 1, process.env.NODE_ENV === "production" ? un.exports = Qi() : un.exports = Zi()), un.exports;
130
+ return Wr || (Wr = 1, process.env.NODE_ENV === "production" ? un.exports = Qi() : un.exports = Zi()), un.exports;
131
131
  }
132
132
  /**
133
133
  * @license React
@@ -138,11 +138,11 @@ function Ko() {
138
138
  * This source code is licensed under the MIT license found in the
139
139
  * LICENSE file in the root directory of this source tree.
140
140
  */
141
- var Wr;
141
+ var Dr;
142
142
  function Ji() {
143
- if (Wr) return Pn;
144
- Wr = 1;
145
- var e = W, t = Ko();
143
+ if (Dr) return Pn;
144
+ Dr = 1;
145
+ var e = D, t = Ko();
146
146
  function n(l, d) {
147
147
  return l === d && (l !== 0 || 1 / l === 1 / d) || l !== l && d !== d;
148
148
  }
@@ -206,7 +206,7 @@ function es() {
206
206
  return l === d && (l !== 0 || 1 / l === 1 / d) || l !== l && d !== d;
207
207
  }
208
208
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(Error());
209
- var t = W, n = Ko(), r = typeof Object.is == "function" ? Object.is : e, o = n.useSyncExternalStore, i = t.useRef, s = t.useEffect, u = t.useMemo, a = t.useDebugValue;
209
+ var t = D, n = Ko(), r = typeof Object.is == "function" ? Object.is : e, o = n.useSyncExternalStore, i = t.useRef, s = t.useEffect, u = t.useMemo, a = t.useDebugValue;
210
210
  Gn.useSyncExternalStoreWithSelector = function(l, d, h, f, m) {
211
211
  var v = i(null);
212
212
  if (v.current === null) {
@@ -275,7 +275,7 @@ function kn(e, t = is, n) {
275
275
  t,
276
276
  n
277
277
  );
278
- return W.useDebugValue(r), r;
278
+ return D.useDebugValue(r), r;
279
279
  }
280
280
  function X(e, t) {
281
281
  const n = Ue(yr);
@@ -608,7 +608,7 @@ function us(e) {
608
608
  setViewportSize: (i, s) => r({ viewportWidth: i, viewportHeight: s })
609
609
  }));
610
610
  }
611
- const _n = 0, Ct = 1, Wt = 2, Qo = 4;
611
+ const _n = 0, Ct = 1, Dt = 2, Qo = 4;
612
612
  function jr(e) {
613
613
  return () => e;
614
614
  }
@@ -650,7 +650,7 @@ function fe(e, t) {
650
650
  e(_n, t);
651
651
  }
652
652
  function Ir(e) {
653
- e(Wt);
653
+ e(Dt);
654
654
  }
655
655
  function Pe(e) {
656
656
  return e(Qo);
@@ -698,7 +698,7 @@ function H(e, ...t) {
698
698
  const n = hs(...t);
699
699
  return ((r, o) => {
700
700
  switch (r) {
701
- case Wt:
701
+ case Dt:
702
702
  Ir(e);
703
703
  return;
704
704
  case Ct:
@@ -751,13 +751,13 @@ function ms(e) {
751
751
  switch (o) {
752
752
  case Ct:
753
753
  return i ? n === i ? void 0 : (r(), n = i, t = Ie(e, i), t) : (r(), $t);
754
- case Wt:
754
+ case Dt:
755
755
  r(), n = null;
756
756
  return;
757
757
  }
758
758
  };
759
759
  }
760
- function D(e) {
760
+ function W(e) {
761
761
  let t = e;
762
762
  const n = ve();
763
763
  return ((r, o) => {
@@ -776,7 +776,7 @@ function D(e) {
776
776
  });
777
777
  }
778
778
  function je(e, t) {
779
- return Mn(D(t), (n) => oe(e, n));
779
+ return Mn(W(t), (n) => oe(e, n));
780
780
  }
781
781
  function ve() {
782
782
  const e = [];
@@ -787,7 +787,7 @@ function ve() {
787
787
  r(n);
788
788
  });
789
789
  return;
790
- case Wt:
790
+ case Dt:
791
791
  e.splice(0, e.length);
792
792
  return;
793
793
  case Ct:
@@ -830,7 +830,7 @@ function Ne(...e) {
830
830
  });
831
831
  }), function(i, s) {
832
832
  switch (i) {
833
- case Wt: {
833
+ case Dt: {
834
834
  Ir(t);
835
835
  return;
836
836
  }
@@ -845,7 +845,7 @@ function le(e, t = Jo) {
845
845
  function fr(...e) {
846
846
  return function(t, n) {
847
847
  switch (t) {
848
- case Wt:
848
+ case Dt:
849
849
  return;
850
850
  case Ct:
851
851
  return ps(...e.map((r) => Ie(r, n)));
@@ -860,12 +860,12 @@ const Ss = {
860
860
  2: "warn"
861
861
  }, ys = () => typeof globalThis > "u" ? window : globalThis, Tt = ye(
862
862
  () => {
863
- const e = D(
863
+ const e = W(
864
864
  3
865
865
  /* ERROR */
866
866
  );
867
867
  return {
868
- log: D((t, n, r = 1) => {
868
+ log: W((t, n, r = 1) => {
869
869
  var o;
870
870
  const i = (o = ys().VIRTUOSO_LOG_LEVEL) != null ? o : Pe(e);
871
871
  r >= i && console[Ss[r]](
@@ -886,10 +886,10 @@ function zt(e, t, n) {
886
886
  return Cr(e, t, n).callbackRef;
887
887
  }
888
888
  function Cr(e, t, n) {
889
- const r = W.useRef(null);
889
+ const r = D.useRef(null);
890
890
  let o = (s) => {
891
891
  };
892
- const i = W.useMemo(() => typeof ResizeObserver < "u" ? new ResizeObserver((s) => {
892
+ const i = D.useMemo(() => typeof ResizeObserver < "u" ? new ResizeObserver((s) => {
893
893
  const u = () => {
894
894
  const a = s[0].target;
895
895
  a.offsetParent !== null && e(a);
@@ -901,7 +901,7 @@ function Cr(e, t, n) {
901
901
  }, { callbackRef: o, ref: r };
902
902
  }
903
903
  function xs(e, t, n, r, o, i, s, u, a) {
904
- const l = W.useCallback(
904
+ const l = D.useCallback(
905
905
  (d) => {
906
906
  const h = ws(d.children, t, u ? "offsetWidth" : "offsetHeight", o);
907
907
  let f = d.parentElement;
@@ -944,7 +944,7 @@ function Xr(e, t, n) {
944
944
  return t !== "normal" && !(t != null && t.endsWith("px")) && n(`${e} was not resolved to pixel value correctly`, t, Qe.WARN), t === "normal" ? 0 : parseInt(t ?? "0", 10);
945
945
  }
946
946
  function ei(e, t, n) {
947
- const r = W.useRef(null), o = W.useCallback(
947
+ const r = D.useRef(null), o = D.useCallback(
948
948
  (a) => {
949
949
  if (!(a != null && a.offsetParent))
950
950
  return;
@@ -965,10 +965,10 @@ function ei(e, t, n) {
965
965
  },
966
966
  // eslint-disable-next-line react-hooks/exhaustive-deps
967
967
  [e, t]
968
- ), { callbackRef: i, ref: s } = Cr(o, !0, n), u = W.useCallback(() => {
968
+ ), { callbackRef: i, ref: s } = Cr(o, !0, n), u = D.useCallback(() => {
969
969
  o(s.current);
970
970
  }, [o, s]);
971
- return W.useEffect(() => {
971
+ return D.useEffect(() => {
972
972
  var a;
973
973
  if (t) {
974
974
  t.addEventListener("scroll", u);
@@ -988,7 +988,7 @@ function ei(e, t, n) {
988
988
  }
989
989
  const Ke = ye(
990
990
  () => {
991
- const e = ve(), t = ve(), n = D(0), r = ve(), o = D(0), i = ve(), s = ve(), u = D(0), a = D(0), l = D(0), d = D(0), h = ve(), f = ve(), m = D(!1), v = D(!1), y = D(!1);
991
+ const e = ve(), t = ve(), n = W(0), r = ve(), o = W(0), i = ve(), s = ve(), u = W(0), a = W(0), l = W(0), d = W(0), h = ve(), f = ve(), m = W(!1), v = W(!1), y = W(!1);
992
992
  return oe(
993
993
  H(
994
994
  e,
@@ -1057,7 +1057,7 @@ function ct(e, t, n = "k") {
1057
1057
  return ct(e.l, t, n);
1058
1058
  }
1059
1059
  function et(e, t, n) {
1060
- return Te(e) ? oi(t, n, 1) : t === e.k ? We(e, { k: t, v: n }) : t < e.k ? Yr(We(e, { l: et(e.l, t, n) })) : Yr(We(e, { r: et(e.r, t, n) }));
1060
+ return Te(e) ? oi(t, n, 1) : t === e.k ? De(e, { k: t, v: n }) : t < e.k ? Yr(De(e, { l: et(e.l, t, n) })) : Yr(De(e, { r: et(e.r, t, n) }));
1061
1061
  }
1062
1062
  function Lt() {
1063
1063
  return Xt;
@@ -1078,9 +1078,9 @@ function pr(e, t) {
1078
1078
  return r;
1079
1079
  {
1080
1080
  const [i, s] = ri(r);
1081
- return mn(We(e, { k: i, l: ni(r), v: s }));
1081
+ return mn(De(e, { k: i, l: ni(r), v: s }));
1082
1082
  }
1083
- } else return t < n ? mn(We(e, { l: pr(r, t) })) : mn(We(e, { r: pr(o, t) }));
1083
+ } else return t < n ? mn(De(e, { l: pr(r, t) })) : mn(De(e, { r: pr(o, t) }));
1084
1084
  }
1085
1085
  function Mt(e) {
1086
1086
  return Te(e) ? [] : [...Mt(e.l), { k: e.k, v: e.v }, ...Mt(e.r)];
@@ -1097,36 +1097,36 @@ function mn(e) {
1097
1097
  if (r.lvl >= n - 1 && t.lvl >= n - 1)
1098
1098
  return e;
1099
1099
  if (n > r.lvl + 1) {
1100
- if (Dn(t))
1101
- return ii(We(e, { lvl: n - 1 }));
1100
+ if (Wn(t))
1101
+ return ii(De(e, { lvl: n - 1 }));
1102
1102
  if (!Te(t) && !Te(t.r))
1103
- return We(t.r, {
1104
- l: We(t, { r: t.r.l }),
1103
+ return De(t.r, {
1104
+ l: De(t, { r: t.r.l }),
1105
1105
  lvl: n,
1106
- r: We(e, {
1106
+ r: De(e, {
1107
1107
  l: t.r.r,
1108
1108
  lvl: n - 1
1109
1109
  })
1110
1110
  });
1111
1111
  throw new Error("Unexpected empty nodes");
1112
1112
  } else {
1113
- if (Dn(e))
1114
- return hr(We(e, { lvl: n - 1 }));
1113
+ if (Wn(e))
1114
+ return hr(De(e, { lvl: n - 1 }));
1115
1115
  if (!Te(r) && !Te(r.l)) {
1116
- const o = r.l, i = Dn(o) ? r.lvl - 1 : r.lvl;
1117
- return We(o, {
1118
- l: We(e, {
1116
+ const o = r.l, i = Wn(o) ? r.lvl - 1 : r.lvl;
1117
+ return De(o, {
1118
+ l: De(e, {
1119
1119
  lvl: n - 1,
1120
1120
  r: o.l
1121
1121
  }),
1122
1122
  lvl: o.lvl + 1,
1123
- r: hr(We(r, { l: o.r, lvl: i }))
1123
+ r: hr(De(r, { l: o.r, lvl: i }))
1124
1124
  });
1125
1125
  } else
1126
1126
  throw new Error("Unexpected empty nodes");
1127
1127
  }
1128
1128
  }
1129
- function We(e, t) {
1129
+ function De(e, t) {
1130
1130
  return oi(
1131
1131
  t.k !== void 0 ? t.k : e.k,
1132
1132
  t.v !== void 0 ? t.v : e.v,
@@ -1136,9 +1136,9 @@ function We(e, t) {
1136
1136
  );
1137
1137
  }
1138
1138
  function ni(e) {
1139
- return Te(e.r) ? e.l : mn(We(e, { r: ni(e.r) }));
1139
+ return Te(e.r) ? e.l : mn(De(e, { r: ni(e.r) }));
1140
1140
  }
1141
- function Dn(e) {
1141
+ function Wn(e) {
1142
1142
  return Te(e) || e.lvl > e.r.lvl;
1143
1143
  }
1144
1144
  function ri(e) {
@@ -1152,11 +1152,11 @@ function Yr(e) {
1152
1152
  }
1153
1153
  function ii(e) {
1154
1154
  const { l: t } = e;
1155
- return !Te(t) && t.lvl === e.lvl ? We(t, { r: We(e, { l: t.r }) }) : e;
1155
+ return !Te(t) && t.lvl === e.lvl ? De(t, { r: De(e, { l: t.r }) }) : e;
1156
1156
  }
1157
1157
  function hr(e) {
1158
1158
  const { lvl: t, r: n } = e;
1159
- return !Te(n) && !Te(n.r) && n.lvl === t && n.r.lvl === t ? We(n, { l: We(e, { r: n.l }), lvl: t + 1 }) : e;
1159
+ return !Te(n) && !Te(n.r) && n.lvl === t && n.r.lvl === t ? De(n, { l: De(e, { r: n.l }), lvl: t + 1 }) : e;
1160
1160
  }
1161
1161
  function Is(e) {
1162
1162
  return ti(e, ({ k: t, v: n }) => ({ index: t, value: n }));
@@ -1168,7 +1168,7 @@ function Qt(e, t) {
1168
1168
  return !!(e && e[0] === t[0] && e[1] === t[1]);
1169
1169
  }
1170
1170
  const Tr = ye(
1171
- () => ({ recalcInProgress: D(!1) }),
1171
+ () => ({ recalcInProgress: W(!1) }),
1172
1172
  [],
1173
1173
  { singleton: !0 }
1174
1174
  );
@@ -1336,7 +1336,7 @@ const As = {
1336
1336
  offsetWidth: "width"
1337
1337
  }, ht = ye(
1338
1338
  ([{ log: e }, { recalcInProgress: t }]) => {
1339
- const n = ve(), r = ve(), o = je(r, 0), i = ve(), s = ve(), u = D(0), a = D([]), l = D(void 0), d = D(void 0), h = D(void 0), f = D(void 0), m = D((b, S) => xt(b, As[S])), v = D(void 0), y = D(0), c = Ts(), p = je(
1339
+ const n = ve(), r = ve(), o = je(r, 0), i = ve(), s = ve(), u = W(0), a = W([]), l = W(void 0), d = W(void 0), h = W(void 0), f = W(void 0), m = W((b, S) => xt(b, As[S])), v = W(void 0), y = W(0), c = Ts(), p = je(
1340
1340
  H(n, he(a, e, y), gt(Es, c), Me()),
1341
1341
  c
1342
1342
  ), g = je(
@@ -1662,7 +1662,7 @@ const ui = ye(
1662
1662
  Ee(ht, Ke)
1663
1663
  ), kt = ye(
1664
1664
  ([{ log: e }]) => {
1665
- const t = D(!1), n = tt(
1665
+ const t = W(!1), n = tt(
1666
1666
  H(
1667
1667
  t,
1668
1668
  ae((r) => r),
@@ -1695,7 +1695,7 @@ const on = ye(
1695
1695
  },
1696
1696
  { log: f }
1697
1697
  ]) => {
1698
- const m = ve(), v = ve(), y = D(0);
1698
+ const m = ve(), v = ve(), y = W(0);
1699
1699
  let c = null, p = null, g = null;
1700
1700
  function w() {
1701
1701
  c && (c(), c = null), g && (g(), g = null), p && (clearTimeout(p), p = null), fe(a, !1);
@@ -1764,7 +1764,7 @@ function _r(e, t) {
1764
1764
  }
1765
1765
  const sn = ye(
1766
1766
  ([{ defaultItemSize: e, listRefresh: t, sizes: n }, { scrollTop: r }, { scrollTargetReached: o, scrollToIndex: i }, { didMount: s }]) => {
1767
- const u = D(!0), a = D(0), l = D(!0);
1767
+ const u = W(!0), a = W(0), l = W(!0);
1768
1768
  return oe(
1769
1769
  H(
1770
1770
  s,
@@ -1819,7 +1819,7 @@ const Jt = "up", Ut = "down", Hs = "none", Ns = {
1819
1819
  viewportHeight: 0
1820
1820
  }
1821
1821
  }, Fs = 0, ln = ye(([{ footerHeight: e, headerHeight: t, scrollBy: n, scrollContainerState: r, scrollTop: o, viewportHeight: i }]) => {
1822
- const s = D(!1), u = D(!0), a = ve(), l = ve(), d = D(4), h = D(Fs), f = je(
1822
+ const s = W(!1), u = W(!0), a = ve(), l = ve(), d = W(4), h = W(Fs), f = je(
1823
1823
  H(
1824
1824
  fr(H(le(o), Et(1), ft(!0)), H(le(o), Et(1), ft(!1), Kr(100))),
1825
1825
  Me()
@@ -1905,7 +1905,7 @@ const Jt = "up", Ut = "down", Hs = "none", Ns = {
1905
1905
  ),
1906
1906
  s
1907
1907
  ), oe(H(s, mt(50)), a);
1908
- const c = D(Ut);
1908
+ const c = W(Ut);
1909
1909
  oe(
1910
1910
  H(
1911
1911
  r,
@@ -1919,7 +1919,7 @@ const Jt = "up", Ut = "down", Hs = "none", Ns = {
1919
1919
  ),
1920
1920
  c
1921
1921
  ), oe(H(r, mt(50), ft(Hs)), c);
1922
- const p = D(0);
1922
+ const p = W(0);
1923
1923
  return oe(
1924
1924
  H(
1925
1925
  f,
@@ -1960,7 +1960,7 @@ function eo(e, t) {
1960
1960
  }
1961
1961
  const Mr = ye(
1962
1962
  ([{ deviation: e, fixedHeaderHeight: t, headerHeight: n, scrollTop: r, viewportHeight: o }]) => {
1963
- const i = ve(), s = D(0), u = D(0), a = D(0), l = je(
1963
+ const i = ve(), s = W(0), u = W(0), a = W(0), l = je(
1964
1964
  H(
1965
1965
  Ne(
1966
1966
  le(r),
@@ -2012,7 +2012,7 @@ const Mr = ye(
2012
2012
  Ee(Ke),
2013
2013
  { singleton: !0 }
2014
2014
  );
2015
- function Ds(e, t, n) {
2015
+ function Ws(e, t, n) {
2016
2016
  if (En(t)) {
2017
2017
  const r = ai(e, t);
2018
2018
  return [
@@ -2022,7 +2022,7 @@ function Ds(e, t, n) {
2022
2022
  }
2023
2023
  return [{ data: n == null ? void 0 : n[0], index: e, offset: 0, size: 0 }];
2024
2024
  }
2025
- const Wn = {
2025
+ const Dn = {
2026
2026
  bottom: 0,
2027
2027
  firstItemIndex: 0,
2028
2028
  items: [],
@@ -2111,7 +2111,7 @@ const Pt = ye(
2111
2111
  { didMount: m },
2112
2112
  { recalcInProgress: v }
2113
2113
  ]) => {
2114
- const y = D([]), c = D(0), p = ve(), g = D(0);
2114
+ const y = W([]), c = W(0), p = ve(), g = W(0);
2115
2115
  oe(i.topItemsIndexes, y);
2116
2116
  const w = je(
2117
2117
  H(
@@ -2151,12 +2151,12 @@ const Pt = ye(
2151
2151
  var V, re, be, Se;
2152
2152
  const Ce = C, { offsetTree: xe, sizeTree: Fe } = Ce, K = Pe(c);
2153
2153
  if (_ === 0)
2154
- return { ...Wn, totalCount: _ };
2154
+ return { ...Dn, totalCount: _ };
2155
2155
  if (b === 0 && S === 0)
2156
- return K === 0 ? { ...Wn, totalCount: _ } : pi(K, O, C, R, z, A || []);
2156
+ return K === 0 ? { ...Dn, totalCount: _ } : pi(K, O, C, R, z, A || []);
2157
2157
  if (Te(Fe))
2158
2158
  return K > 0 ? null : bn(
2159
- Ds(_r(O, _), Ce, A),
2159
+ Ws(_r(O, _), Ce, A),
2160
2160
  [],
2161
2161
  _,
2162
2162
  z,
@@ -2221,7 +2221,7 @@ const Pt = ye(
2221
2221
  ae((b) => b !== null),
2222
2222
  Me()
2223
2223
  ),
2224
- Wn
2224
+ Dn
2225
2225
  );
2226
2226
  oe(
2227
2227
  H(
@@ -2321,9 +2321,9 @@ const Pt = ye(
2321
2321
  },
2322
2322
  Ee(Ke, Pt),
2323
2323
  { singleton: !0 }
2324
- ), Ws = ye(
2324
+ ), Ds = ye(
2325
2325
  ([{ viewportHeight: e }, { totalListHeight: t }]) => {
2326
- const n = D(!1), r = je(
2326
+ const n = W(!1), r = je(
2327
2327
  H(
2328
2328
  Ne(n, e, t),
2329
2329
  ae(([o]) => o),
@@ -2338,7 +2338,7 @@ const Pt = ye(
2338
2338
  Ee(Ke, gi),
2339
2339
  { singleton: !0 }
2340
2340
  ), hi = ye(() => ({
2341
- context: D(null)
2341
+ context: W(null)
2342
2342
  })), $s = ({
2343
2343
  itemBottom: e,
2344
2344
  itemTop: t,
@@ -2401,7 +2401,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2401
2401
  { context: f },
2402
2402
  { scrollIntoView: m }
2403
2403
  ]) => {
2404
- const v = D(!1), y = ve();
2404
+ const v = W(!1), y = ve();
2405
2405
  let c = null;
2406
2406
  function p(k) {
2407
2407
  fe(s, {
@@ -2453,7 +2453,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2453
2453
  }), Ie(Ne(le(v), o), ([k, M]) => {
2454
2454
  k && !M.atBottom && M.notAtBottomBecause === "VIEWPORT_HEIGHT_DECREASING" && p("auto");
2455
2455
  });
2456
- const w = D(null), T = ve();
2456
+ const w = W(null), T = ve();
2457
2457
  return oe(
2458
2458
  fr(
2459
2459
  H(
@@ -2509,7 +2509,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2509
2509
  { singleton: !0 }
2510
2510
  ), Us = ye(
2511
2511
  ([{ didMount: e }, { scrollTo: t }, { listState: n }]) => {
2512
- const r = D(0);
2512
+ const r = W(0);
2513
2513
  return Ie(
2514
2514
  H(
2515
2515
  e,
@@ -2539,7 +2539,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2539
2539
  { singleton: !0 }
2540
2540
  ), bi = ye(
2541
2541
  ([{ scrollVelocity: e }]) => {
2542
- const t = D(!1), n = ve(), r = D(!1);
2542
+ const t = W(!1), n = ve(), r = W(!1);
2543
2543
  return oe(
2544
2544
  H(
2545
2545
  e,
@@ -2567,7 +2567,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2567
2567
  Ee(ln),
2568
2568
  { singleton: !0 }
2569
2569
  ), Er = ye(([{ scrollContainerState: e, scrollTo: t }]) => {
2570
- const n = ve(), r = ve(), o = ve(), i = D(!1), s = D(void 0);
2570
+ const n = ve(), r = ve(), o = ve(), i = W(!1), s = W(void 0);
2571
2571
  return oe(
2572
2572
  H(
2573
2573
  Ne(n, r),
@@ -2606,7 +2606,7 @@ const Vs = (e, t) => typeof e == "function" ? ro(e(t)) : t && ro(e), qs = ye(
2606
2606
  { didMount: i },
2607
2607
  { useWindowScroll: s, windowScrollContainerState: u, windowViewportRect: a }
2608
2608
  ]) => {
2609
- const l = ve(), d = D(void 0), h = D(null), f = D(null);
2609
+ const l = ve(), d = W(void 0), h = W(null), f = W(null);
2610
2610
  return oe(u, h), oe(a, f), Ie(
2611
2611
  H(
2612
2612
  l,
@@ -2636,7 +2636,7 @@ function Xs(e) {
2636
2636
  return { align: "start", index: 0, offset: e.scrollTop };
2637
2637
  }
2638
2638
  const Ys = ye(([{ topItemsIndexes: e }]) => {
2639
- const t = D(0);
2639
+ const t = W(0);
2640
2640
  return oe(
2641
2641
  H(
2642
2642
  t,
@@ -2762,7 +2762,7 @@ const Qs = vi(() => /iP(ad|od|hone)/i.test(navigator.userAgent) && /WebKit/i.tes
2762
2762
  bi,
2763
2763
  gi,
2764
2764
  Us,
2765
- Ws,
2765
+ Ds,
2766
2766
  Er,
2767
2767
  mi,
2768
2768
  Tt,
@@ -2864,9 +2864,9 @@ function el(e, t) {
2864
2864
  Object.hasOwn(r, s) || (n[s] = t[s]);
2865
2865
  return n;
2866
2866
  }
2867
- const dn = typeof document < "u" ? W.useLayoutEffect : W.useEffect;
2867
+ const dn = typeof document < "u" ? D.useLayoutEffect : D.useEffect;
2868
2868
  function yi(e, t, n) {
2869
- const r = Object.keys(t.required || {}), o = Object.keys(t.optional || {}), i = Object.keys(t.methods || {}), s = Object.keys(t.events || {}), u = W.createContext({});
2869
+ const r = Object.keys(t.required || {}), o = Object.keys(t.optional || {}), i = Object.keys(t.methods || {}), s = Object.keys(t.events || {}), u = D.createContext({});
2870
2870
  function a(c, p) {
2871
2871
  c.propsReady && fe(c.propsReady, !1);
2872
2872
  for (const g of r) {
@@ -2889,10 +2889,10 @@ function yi(e, t, n) {
2889
2889
  function d(c) {
2890
2890
  return s.reduce((p, g) => (p[g] = ms(c[t.events[g]]), p), {});
2891
2891
  }
2892
- const h = W.forwardRef((c, p) => {
2893
- const { children: g, ...w } = c, [T] = W.useState(() => Mn(vs(e), (b) => {
2892
+ const h = D.forwardRef((c, p) => {
2893
+ const { children: g, ...w } = c, [T] = D.useState(() => Mn(vs(e), (b) => {
2894
2894
  a(b, w);
2895
- })), [k] = W.useState(Ur(d, T));
2895
+ })), [k] = D.useState(Ur(d, T));
2896
2896
  dn(() => {
2897
2897
  for (const b of s)
2898
2898
  b in w && Ie(k[b], w[b]);
@@ -2901,47 +2901,47 @@ function yi(e, t, n) {
2901
2901
  };
2902
2902
  }, [w, k, T]), dn(() => {
2903
2903
  a(T, w);
2904
- }), W.useImperativeHandle(p, jr(l(T)));
2904
+ }), D.useImperativeHandle(p, jr(l(T)));
2905
2905
  const M = n;
2906
2906
  return /* @__PURE__ */ x(u.Provider, { value: T, children: n ? /* @__PURE__ */ x(M, { ...el([...r, ...o, ...s], w), children: g }) : g });
2907
2907
  }), f = (c) => {
2908
- const p = W.useContext(u);
2909
- return W.useCallback(
2908
+ const p = D.useContext(u);
2909
+ return D.useCallback(
2910
2910
  (g) => {
2911
2911
  fe(p[c], g);
2912
2912
  },
2913
2913
  [p, c]
2914
2914
  );
2915
2915
  }, m = (c) => {
2916
- const p = W.useContext(u)[c], g = W.useCallback(
2916
+ const p = D.useContext(u)[c], g = D.useCallback(
2917
2917
  (w) => Ie(p, w),
2918
2918
  [p]
2919
2919
  );
2920
- return W.useSyncExternalStore(
2920
+ return D.useSyncExternalStore(
2921
2921
  g,
2922
2922
  () => Pe(p),
2923
2923
  () => Pe(p)
2924
2924
  );
2925
2925
  }, v = (c) => {
2926
- const p = W.useContext(u)[c], [g, w] = W.useState(Ur(Pe, p));
2926
+ const p = D.useContext(u)[c], [g, w] = D.useState(Ur(Pe, p));
2927
2927
  return dn(
2928
2928
  () => Ie(p, (T) => {
2929
2929
  T !== g && w(jr(T));
2930
2930
  }),
2931
2931
  [p, g]
2932
2932
  ), g;
2933
- }, y = W.version.startsWith("18") ? m : v;
2933
+ }, y = D.version.startsWith("18") ? m : v;
2934
2934
  return {
2935
2935
  Component: h,
2936
2936
  useEmitter: (c, p) => {
2937
- const g = W.useContext(u)[c];
2937
+ const g = D.useContext(u)[c];
2938
2938
  dn(() => Ie(g, p), [p, g]);
2939
2939
  },
2940
2940
  useEmitterValue: y,
2941
2941
  usePublisher: f
2942
2942
  };
2943
2943
  }
2944
- const xi = W.createContext(void 0), wi = W.createContext(void 0), Ii = typeof document < "u" ? W.useLayoutEffect : W.useEffect;
2944
+ const xi = D.createContext(void 0), wi = D.createContext(void 0), Ii = typeof document < "u" ? D.useLayoutEffect : D.useEffect;
2945
2945
  function $n(e) {
2946
2946
  return "self" in e;
2947
2947
  }
@@ -2949,7 +2949,7 @@ function tl(e) {
2949
2949
  return "body" in e;
2950
2950
  }
2951
2951
  function Ci(e, t, n, r = $t, o, i) {
2952
- const s = W.useRef(null), u = W.useRef(null), a = W.useRef(null), l = W.useCallback(
2952
+ const s = D.useRef(null), u = D.useRef(null), a = D.useRef(null), l = D.useCallback(
2953
2953
  (f) => {
2954
2954
  let m, v, y;
2955
2955
  const c = f.target;
@@ -2969,7 +2969,7 @@ function Ci(e, t, n, r = $t, o, i) {
2969
2969
  },
2970
2970
  [e, t, i]
2971
2971
  );
2972
- W.useEffect(() => {
2972
+ D.useEffect(() => {
2973
2973
  const f = o || s.current;
2974
2974
  return r(o || s.current), l({ suppressFlushSync: !0, target: f }), f.addEventListener("scroll", l, { passive: !0 }), () => {
2975
2975
  r(null), f.removeEventListener("scroll", l);
@@ -3009,7 +3009,7 @@ function zr(e) {
3009
3009
  return e;
3010
3010
  }
3011
3011
  const nl = /* @__PURE__ */ ye(() => {
3012
- const e = D((u) => `Item ${u}`), t = D((u) => `Group ${u}`), n = D({}), r = D(zr), o = D("div"), i = D($t), s = (u, a = null) => je(
3012
+ const e = W((u) => `Item ${u}`), t = W((u) => `Group ${u}`), n = W({}), r = W(zr), o = W("div"), i = W($t), s = (u, a = null) => je(
3013
3013
  H(
3014
3014
  n,
3015
3015
  Q((l) => l[u]),
@@ -3037,7 +3037,7 @@ const nl = /* @__PURE__ */ ye(() => {
3037
3037
  }), rl = /* @__PURE__ */ ye(
3038
3038
  ([e, t]) => ({ ...e, ...t }),
3039
3039
  Ee(Si, nl)
3040
- ), ol = ({ height: e }) => /* @__PURE__ */ x("div", { style: { height: e } }), il = { overflowAnchor: "none", position: Or(), zIndex: 1 }, Ti = { overflowAnchor: "none" }, sl = { ...Ti, display: "inline-block", height: "100%" }, io = /* @__PURE__ */ W.memo(function({ showTopList: e = !1 }) {
3040
+ ), ol = ({ height: e }) => /* @__PURE__ */ x("div", { style: { height: e } }), il = { overflowAnchor: "none", position: Or(), zIndex: 1 }, Ti = { overflowAnchor: "none" }, sl = { ...Ti, display: "inline-block", height: "100%" }, io = /* @__PURE__ */ D.memo(function({ showTopList: e = !1 }) {
3041
3041
  const t = ue("listState"), n = ot("sizeRanges"), r = ue("useWindowScroll"), o = ue("customScrollParent"), i = ot("windowScrollContainerState"), s = ot("scrollContainerState"), u = o || r ? i : s, a = ue("itemContent"), l = ue("context"), d = ue("groupContent"), h = ue("trackItemSizes"), f = ue("itemSize"), m = ue("log"), v = ot("gap"), y = ue("horizontalDirection"), { callbackRef: c } = xs(
3042
3042
  n,
3043
3043
  f,
@@ -3048,7 +3048,7 @@ const nl = /* @__PURE__ */ ye(() => {
3048
3048
  o,
3049
3049
  y,
3050
3050
  ue("skipAnimationFrameInResizeObserver")
3051
- ), [p, g] = W.useState(0);
3051
+ ), [p, g] = D.useState(0);
3052
3052
  Pr("deviation", (R) => {
3053
3053
  p !== R && g(R);
3054
3054
  });
@@ -3144,9 +3144,9 @@ function qe(e, t) {
3144
3144
  function ul(e, t) {
3145
3145
  return { item: typeof e == "string" ? void 0 : t };
3146
3146
  }
3147
- const dl = /* @__PURE__ */ W.memo(function() {
3147
+ const dl = /* @__PURE__ */ D.memo(function() {
3148
3148
  const e = ue("HeaderComponent"), t = ot("headerHeight"), n = ue("HeaderFooterTag"), r = zt(
3149
- W.useMemo(
3149
+ D.useMemo(
3150
3150
  () => (i) => {
3151
3151
  t(xt(i, "height"));
3152
3152
  },
@@ -3156,9 +3156,9 @@ const dl = /* @__PURE__ */ W.memo(function() {
3156
3156
  ue("skipAnimationFrameInResizeObserver")
3157
3157
  ), o = ue("context");
3158
3158
  return e ? /* @__PURE__ */ x(n, { ref: r, children: /* @__PURE__ */ x(e, { ...qe(e, o) }) }) : null;
3159
- }), fl = /* @__PURE__ */ W.memo(function() {
3159
+ }), fl = /* @__PURE__ */ D.memo(function() {
3160
3160
  const e = ue("FooterComponent"), t = ot("footerHeight"), n = ue("HeaderFooterTag"), r = zt(
3161
- W.useMemo(
3161
+ D.useMemo(
3162
3162
  () => (i) => {
3163
3163
  t(xt(i, "height"));
3164
3164
  },
@@ -3170,7 +3170,7 @@ const dl = /* @__PURE__ */ W.memo(function() {
3170
3170
  return e ? /* @__PURE__ */ x(n, { ref: r, children: /* @__PURE__ */ x(e, { ...qe(e, o) }) }) : null;
3171
3171
  });
3172
3172
  function ki({ useEmitter: e, useEmitterValue: t, usePublisher: n }) {
3173
- return W.memo(function({ children: r, style: o, context: i, ...s }) {
3173
+ return D.memo(function({ children: r, style: o, context: i, ...s }) {
3174
3174
  const u = n("scrollContainerState"), a = t("ScrollerComponent"), l = n("smoothScrollTargetReached"), d = t("scrollerRef"), h = t("horizontalDirection") || !1, { scrollByCallback: f, scrollerRef: m, scrollToCallback: v } = Ci(
3175
3175
  u,
3176
3176
  l,
@@ -3195,8 +3195,8 @@ function ki({ useEmitter: e, useEmitterValue: t, usePublisher: n }) {
3195
3195
  });
3196
3196
  }
3197
3197
  function Ri({ useEmitter: e, useEmitterValue: t, usePublisher: n }) {
3198
- return W.memo(function({ children: r, style: o, context: i, ...s }) {
3199
- const u = n("windowScrollContainerState"), a = t("ScrollerComponent"), l = n("smoothScrollTargetReached"), d = t("totalListHeight"), h = t("deviation"), f = t("customScrollParent"), m = W.useRef(null), v = t("scrollerRef"), { scrollByCallback: y, scrollerRef: c, scrollToCallback: p } = Ci(
3198
+ return D.memo(function({ children: r, style: o, context: i, ...s }) {
3199
+ const u = n("windowScrollContainerState"), a = t("ScrollerComponent"), l = n("smoothScrollTargetReached"), d = t("totalListHeight"), h = t("deviation"), f = t("customScrollParent"), m = D.useRef(null), v = t("scrollerRef"), { scrollByCallback: y, scrollerRef: c, scrollToCallback: p } = Ci(
3200
3200
  u,
3201
3201
  l,
3202
3202
  a,
@@ -3222,26 +3222,26 @@ function Ri({ useEmitter: e, useEmitterValue: t, usePublisher: n }) {
3222
3222
  });
3223
3223
  }
3224
3224
  const pl = ({ children: e }) => {
3225
- const t = W.useContext(xi), n = ot("viewportHeight"), r = ot("fixedItemHeight"), o = ue("alignToBottom"), i = ue("horizontalDirection"), s = W.useMemo(
3225
+ const t = D.useContext(xi), n = ot("viewportHeight"), r = ot("fixedItemHeight"), o = ue("alignToBottom"), i = ue("horizontalDirection"), s = D.useMemo(
3226
3226
  () => Zo(n, (a) => xt(a, i ? "width" : "height")),
3227
3227
  [n, i]
3228
3228
  ), u = zt(s, !0, ue("skipAnimationFrameInResizeObserver"));
3229
- return W.useEffect(() => {
3229
+ return D.useEffect(() => {
3230
3230
  t && (n(t.viewportHeight), r(t.itemHeight));
3231
3231
  }, [t, n, r]), /* @__PURE__ */ x("div", { "data-viewport-type": "element", ref: u, style: On(o), children: e });
3232
3232
  }, gl = ({ children: e }) => {
3233
- const t = W.useContext(xi), n = ot("windowViewportRect"), r = ot("fixedItemHeight"), o = ue("customScrollParent"), i = ei(
3233
+ const t = D.useContext(xi), n = ot("windowViewportRect"), r = ot("fixedItemHeight"), o = ue("customScrollParent"), i = ei(
3234
3234
  n,
3235
3235
  o,
3236
3236
  ue("skipAnimationFrameInResizeObserver")
3237
3237
  ), s = ue("alignToBottom");
3238
- return W.useEffect(() => {
3238
+ return D.useEffect(() => {
3239
3239
  t && (r(t.itemHeight), n({ offsetTop: 0, visibleHeight: t.viewportHeight, visibleWidth: 100 }));
3240
3240
  }, [t, n, r]), /* @__PURE__ */ x("div", { "data-viewport-type": "window", ref: i, style: On(s), children: e });
3241
3241
  }, hl = ({ children: e }) => {
3242
3242
  const t = ue("TopItemListComponent") || "div", n = ue("headerHeight"), r = { ...cl, marginTop: `${n}px` }, o = ue("context");
3243
3243
  return /* @__PURE__ */ x(t, { style: r, ...qe(t, o), children: e });
3244
- }, ml = /* @__PURE__ */ W.memo(function(e) {
3244
+ }, ml = /* @__PURE__ */ D.memo(function(e) {
3245
3245
  const t = ue("useWindowScroll"), n = ue("topItemsIndexes").length > 0, r = ue("customScrollParent"), o = ue("context");
3246
3246
  return /* @__PURE__ */ ee(r || t ? Sl : vl, { ...e, context: o, children: [
3247
3247
  n && /* @__PURE__ */ x(hl, { children: /* @__PURE__ */ x(io, { showTopList: !0 }) }),
@@ -3320,13 +3320,13 @@ const pl = ({ children: e }) => {
3320
3320
  },
3321
3321
  ml
3322
3322
  ), vl = /* @__PURE__ */ ki({ useEmitter: Pr, useEmitterValue: ue, usePublisher: ot }), Sl = /* @__PURE__ */ Ri({ useEmitter: Pr, useEmitterValue: ue, usePublisher: ot }), yl = bl, xl = /* @__PURE__ */ ye(() => {
3323
- const e = D((l) => /* @__PURE__ */ ee("td", { children: [
3323
+ const e = W((l) => /* @__PURE__ */ ee("td", { children: [
3324
3324
  "Item $",
3325
3325
  l
3326
- ] })), t = D(null), n = D((l) => /* @__PURE__ */ ee("td", { colSpan: 1e3, children: [
3326
+ ] })), t = W(null), n = W((l) => /* @__PURE__ */ ee("td", { colSpan: 1e3, children: [
3327
3327
  "Group ",
3328
3328
  l
3329
- ] })), r = D(null), o = D(null), i = D({}), s = D(zr), u = D($t), a = (l, d = null) => je(
3329
+ ] })), r = W(null), o = W(null), i = W({}), s = W(zr), u = W($t), a = (l, d = null) => je(
3330
3330
  H(
3331
3331
  i,
3332
3332
  Q((h) => h[l]),
@@ -3399,7 +3399,7 @@ const Tl = /* @__PURE__ */ ye(
3399
3399
  { customScrollParent: c, useWindowScroll: p, windowScrollContainerState: g, windowScrollTo: w, windowViewportRect: T },
3400
3400
  k
3401
3401
  ]) => {
3402
- const M = D(0), b = D(0), S = D(so), _ = D({ height: 0, width: 0 }), C = D({ height: 0, width: 0 }), O = ve(), P = ve(), I = D(0), R = D(null), z = D({ column: 0, row: 0 }), N = ve(), A = ve(), V = D(!1), re = D(0), be = D(!0), Se = D(!1), Ce = D(!1);
3402
+ const M = W(0), b = W(0), S = W(so), _ = W({ height: 0, width: 0 }), C = W({ height: 0, width: 0 }), O = ve(), P = ve(), I = W(0), R = W(null), z = W({ column: 0, row: 0 }), N = ve(), A = ve(), V = W(!1), re = W(0), be = W(!0), Se = W(!1), Ce = W(!1);
3403
3403
  Ie(
3404
3404
  H(
3405
3405
  v,
@@ -3524,7 +3524,7 @@ const Tl = /* @__PURE__ */ ye(
3524
3524
  ),
3525
3525
  t
3526
3526
  );
3527
- const xe = D(!1);
3527
+ const xe = W(!1);
3528
3528
  oe(
3529
3529
  H(
3530
3530
  l,
@@ -3651,14 +3651,14 @@ function br(e, t, n, r) {
3651
3651
  return s > 0 ? s + t.row : s;
3652
3652
  }
3653
3653
  const kl = /* @__PURE__ */ ye(() => {
3654
- const e = D((h) => `Item ${h}`), t = D({}), n = D(null), r = D("virtuoso-grid-item"), o = D("virtuoso-grid-list"), i = D(zr), s = D("div"), u = D($t), a = (h, f = null) => je(
3654
+ const e = W((h) => `Item ${h}`), t = W({}), n = W(null), r = W("virtuoso-grid-item"), o = W("virtuoso-grid-list"), i = W(zr), s = W("div"), u = W($t), a = (h, f = null) => je(
3655
3655
  H(
3656
3656
  t,
3657
3657
  Q((m) => m[h]),
3658
3658
  Me()
3659
3659
  ),
3660
3660
  f
3661
- ), l = D(!1), d = D(!1);
3661
+ ), l = W(!1), d = W(!1);
3662
3662
  return oe(le(d), l), {
3663
3663
  components: t,
3664
3664
  computeItemKey: i,
@@ -3680,9 +3680,9 @@ const kl = /* @__PURE__ */ ye(() => {
3680
3680
  }), Rl = /* @__PURE__ */ ye(
3681
3681
  ([e, t]) => ({ ...e, ...t }),
3682
3682
  Ee(Tl, kl)
3683
- ), _l = /* @__PURE__ */ W.memo(function() {
3683
+ ), _l = /* @__PURE__ */ D.memo(function() {
3684
3684
  const e = ze("gridState"), t = ze("listClassName"), n = ze("itemClassName"), r = ze("itemContent"), o = ze("computeItemKey"), i = ze("isSeeking"), s = it("scrollHeight"), u = ze("ItemComponent"), a = ze("ListComponent"), l = ze("ScrollSeekPlaceholder"), d = ze("context"), h = it("itemDimensions"), f = it("gap"), m = ze("log"), v = ze("stateRestoreInProgress"), y = it("reportReadyState"), c = zt(
3685
- W.useMemo(
3685
+ D.useMemo(
3686
3686
  () => (p) => {
3687
3687
  const g = p.parentElement.parentElement.scrollHeight;
3688
3688
  s(g);
@@ -3735,9 +3735,9 @@ const kl = /* @__PURE__ */ ye(() => {
3735
3735
  })
3736
3736
  }
3737
3737
  );
3738
- }), Ml = W.memo(function() {
3738
+ }), Ml = D.memo(function() {
3739
3739
  const e = ze("HeaderComponent"), t = it("headerHeight"), n = ze("headerFooterTag"), r = zt(
3740
- W.useMemo(
3740
+ D.useMemo(
3741
3741
  () => (i) => {
3742
3742
  t(xt(i, "height"));
3743
3743
  },
@@ -3747,9 +3747,9 @@ const kl = /* @__PURE__ */ ye(() => {
3747
3747
  !1
3748
3748
  ), o = ze("context");
3749
3749
  return e ? /* @__PURE__ */ x(n, { ref: r, children: /* @__PURE__ */ x(e, { ...qe(e, o) }) }) : null;
3750
- }), El = W.memo(function() {
3750
+ }), El = D.memo(function() {
3751
3751
  const e = ze("FooterComponent"), t = it("footerHeight"), n = ze("headerFooterTag"), r = zt(
3752
- W.useMemo(
3752
+ D.useMemo(
3753
3753
  () => (i) => {
3754
3754
  t(xt(i, "height"));
3755
3755
  },
@@ -3760,8 +3760,8 @@ const kl = /* @__PURE__ */ ye(() => {
3760
3760
  ), o = ze("context");
3761
3761
  return e ? /* @__PURE__ */ x(n, { ref: r, children: /* @__PURE__ */ x(e, { ...qe(e, o) }) }) : null;
3762
3762
  }), Ol = ({ children: e }) => {
3763
- const t = W.useContext(wi), n = it("itemDimensions"), r = it("viewportDimensions"), o = zt(
3764
- W.useMemo(
3763
+ const t = D.useContext(wi), n = it("itemDimensions"), r = it("viewportDimensions"), o = zt(
3764
+ D.useMemo(
3765
3765
  () => (i) => {
3766
3766
  r(i.getBoundingClientRect());
3767
3767
  },
@@ -3770,15 +3770,15 @@ const kl = /* @__PURE__ */ ye(() => {
3770
3770
  !0,
3771
3771
  !1
3772
3772
  );
3773
- return W.useEffect(() => {
3773
+ return D.useEffect(() => {
3774
3774
  t && (r({ height: t.viewportHeight, width: t.viewportWidth }), n({ height: t.itemHeight, width: t.itemWidth }));
3775
3775
  }, [t, r, n]), /* @__PURE__ */ x("div", { ref: o, style: On(!1), children: e });
3776
3776
  }, zl = ({ children: e }) => {
3777
- const t = W.useContext(wi), n = it("windowViewportRect"), r = it("itemDimensions"), o = ze("customScrollParent"), i = ei(n, o, !1);
3778
- return W.useEffect(() => {
3777
+ const t = D.useContext(wi), n = it("windowViewportRect"), r = it("itemDimensions"), o = ze("customScrollParent"), i = ei(n, o, !1);
3778
+ return D.useEffect(() => {
3779
3779
  t && (r({ height: t.itemHeight, width: t.itemWidth }), n({ offsetTop: 0, visibleHeight: t.viewportHeight, visibleWidth: t.viewportWidth }));
3780
3780
  }, [t, n, r]), /* @__PURE__ */ x("div", { ref: i, style: On(!1), children: e });
3781
- }, Pl = /* @__PURE__ */ W.memo(function({ ...e }) {
3781
+ }, Pl = /* @__PURE__ */ D.memo(function({ ...e }) {
3782
3782
  const t = ze("useWindowScroll"), n = ze("customScrollParent"), r = n || t ? Bl : Al, o = n || t ? zl : Ol, i = ze("context");
3783
3783
  return /* @__PURE__ */ x(r, { ...e, ...qe(r, i), children: /* @__PURE__ */ ee(o, { children: [
3784
3784
  /* @__PURE__ */ x(Ml, {}),
@@ -3948,11 +3948,11 @@ const Hl = ({ containerRef: e }) => {
3948
3948
  }
3949
3949
  )
3950
3950
  ] }) : null;
3951
- }, Nl = "_run_zzb61_3", Fl = "_runWrap_zzb61_7", Dl = "_highlight_zzb61_13", Wl = "_highlightleft_zzb61_14", $l = "_highlightright_zzb61_15", Vl = "_highlightcenter_zzb61_16", ql = "_underline_zzb61_48", jl = "_underlineleft_zzb61_49", Ul = "_underlineright_zzb61_50", Kl = "_underlinecenter_zzb61_51", dt = {
3951
+ }, Nl = "_run_zzb61_3", Fl = "_runWrap_zzb61_7", Wl = "_highlight_zzb61_13", Dl = "_highlightleft_zzb61_14", $l = "_highlightright_zzb61_15", Vl = "_highlightcenter_zzb61_16", ql = "_underline_zzb61_48", jl = "_underlineleft_zzb61_49", Ul = "_underlineright_zzb61_50", Kl = "_underlinecenter_zzb61_51", dt = {
3952
3952
  run: Nl,
3953
3953
  runWrap: Fl,
3954
- highlight: Dl,
3955
- highlightleft: Wl,
3954
+ highlight: Wl,
3955
+ highlightleft: Dl,
3956
3956
  highlightright: $l,
3957
3957
  highlightcenter: Vl,
3958
3958
  underline: ql,
@@ -3987,7 +3987,7 @@ function Yl(e, t) {
3987
3987
  );
3988
3988
  }
3989
3989
  function nn(e) {
3990
- const t = W.useRef(void 0);
3990
+ const t = D.useRef(void 0);
3991
3991
  return (n) => {
3992
3992
  const r = e(n);
3993
3993
  return Yl(t.current, r) ? t.current : t.current = r;
@@ -4005,7 +4005,7 @@ const Jl = Object.freeze({
4005
4005
  showPointer: void 0,
4006
4006
  pointerStyle: void 0,
4007
4007
  pointerColor: void 0
4008
- }), Oi = W.memo(
4008
+ }), Oi = D.memo(
4009
4009
  function({ runs: t, ns: n, baseIndex: r, preGroups: o }) {
4010
4010
  const i = _e((O) => O.setClipIndex), s = _e((O) => O.seek), u = j((O) => O.setCurrentGlobalRunIndex), a = xn(), l = j((O) => O.rangeStartGI), d = j((O) => O.rangeEndGI), h = j((O) => O.setRange), f = l != null && d != null, m = ne(
4011
4011
  (O) => {
@@ -4084,7 +4084,7 @@ const Jl = Object.freeze({
4084
4084
  );
4085
4085
  },
4086
4086
  (e, t) => e.ns === t.ns && e.baseIndex === t.baseIndex && e.runs === t.runs && e.sectionId === t.sectionId
4087
- ), ea = W.memo(function() {
4087
+ ), ea = D.memo(function() {
4088
4088
  const t = ne((r) => ({
4089
4089
  showSplit: r.showSplit,
4090
4090
  slash: r.breakMarks.slash,
@@ -4095,7 +4095,7 @@ const Jl = Object.freeze({
4095
4095
  n.slash && /* @__PURE__ */ x("span", { children: " / " }),
4096
4096
  /* @__PURE__ */ x("span", { style: { display: "inline-block", width: n.breakGapPx / 2 } })
4097
4097
  ] }) : null;
4098
- }), ta = W.memo(
4098
+ }), ta = D.memo(
4099
4099
  function({
4100
4100
  ns: t,
4101
4101
  group: n,
@@ -4128,7 +4128,7 @@ const Jl = Object.freeze({
4128
4128
  return /* @__PURE__ */ x(wt, { children: Array.from({ length: f }).map((c, p) => {
4129
4129
  const w = r[h + p], T = n.startG + p, k = `${t}/run:${T}`, M = !!w.split && T !== o;
4130
4130
  let b = `${dt.runWrap}`;
4131
- return m && (f === 1 ? b += ` ${dt.highlight}` : p === 0 ? b += ` ${dt.highlightleft}` : p + 1 === f ? b += ` ${dt.highlightright}` : b += ` ${dt.highlightcenter}`), v && (f === 1 ? b += ` ${dt.underline}` : p === 0 ? b += ` ${dt.underlineleft}` : p + 1 === f ? b += ` ${dt.underlineright}` : b += ` ${dt.underlinecenter}`), /* @__PURE__ */ ee(W.Fragment, { children: [
4131
+ return m && (f === 1 ? b += ` ${dt.highlight}` : p === 0 ? b += ` ${dt.highlightleft}` : p + 1 === f ? b += ` ${dt.highlightright}` : b += ` ${dt.highlightcenter}`), v && (f === 1 ? b += ` ${dt.underline}` : p === 0 ? b += ` ${dt.underlineleft}` : p + 1 === f ? b += ` ${dt.underlineright}` : b += ` ${dt.underlinecenter}`), /* @__PURE__ */ ee(D.Fragment, { children: [
4132
4132
  /* @__PURE__ */ x("span", { className: b, style: y, children: /* @__PURE__ */ x(
4133
4133
  na,
4134
4134
  {
@@ -4147,7 +4147,7 @@ const Jl = Object.freeze({
4147
4147
  (e, t) => e.group === t.group && // 그룹 메타 참조 동일
4148
4148
  e.runs === t.runs && // 원본 runs 참조 동일
4149
4149
  e.ns === t.ns && e.rangeStartGI === t.rangeStartGI && e.rangeEndGI === t.rangeEndGI
4150
- ), na = W.memo(
4150
+ ), na = D.memo(
4151
4151
  function({
4152
4152
  gi: t,
4153
4153
  g: n,
@@ -4233,7 +4233,7 @@ function ra({
4233
4233
  }
4234
4234
  );
4235
4235
  }
4236
- const oa = W.memo(ra, (e, t) => e.block === t.block && // block 참조 안정화 중요
4236
+ const oa = D.memo(ra, (e, t) => e.block === t.block && // block 참조 안정화 중요
4237
4237
  e.computedMarker === t.computedMarker && e.baseIndex === t.baseIndex && e.ns === t.ns);
4238
4238
  function ia(e, t) {
4239
4239
  switch ((t || "decimal").toLowerCase().replace(/[\s_-]+/g, "")) {
@@ -4340,7 +4340,7 @@ function ca(e, t) {
4340
4340
  }
4341
4341
  const ua = "_scroller_kqkmq_3", da = {
4342
4342
  scroller: ua
4343
- }, fa = W.forwardRef(function({ className: t, style: n, ...r }, o) {
4343
+ }, fa = D.forwardRef(function({ className: t, style: n, ...r }, o) {
4344
4344
  return /* @__PURE__ */ x(
4345
4345
  "div",
4346
4346
  {
@@ -4480,7 +4480,7 @@ var Bi = {
4480
4480
  className: void 0,
4481
4481
  style: void 0,
4482
4482
  attr: void 0
4483
- }, yo = W.createContext && /* @__PURE__ */ W.createContext(Bi), ya = ["attr", "size", "title"];
4483
+ }, yo = D.createContext && /* @__PURE__ */ D.createContext(Bi), ya = ["attr", "size", "title"];
4484
4484
  function xa(e, t) {
4485
4485
  if (e == null) return {};
4486
4486
  var n = wa(e, t), r, o;
@@ -4550,12 +4550,12 @@ function Ta(e, t) {
4550
4550
  return (t === "string" ? String : Number)(e);
4551
4551
  }
4552
4552
  function Gi(e) {
4553
- return e && e.map((t, n) => /* @__PURE__ */ W.createElement(t.tag, Cn({
4553
+ return e && e.map((t, n) => /* @__PURE__ */ D.createElement(t.tag, Cn({
4554
4554
  key: n
4555
4555
  }, t.attr), Gi(t.child)));
4556
4556
  }
4557
4557
  function Ze(e) {
4558
- return (t) => /* @__PURE__ */ W.createElement(ka, In({
4558
+ return (t) => /* @__PURE__ */ D.createElement(ka, In({
4559
4559
  attr: Cn({}, e.attr)
4560
4560
  }, t), Gi(e.child));
4561
4561
  }
@@ -4566,7 +4566,7 @@ function ka(e) {
4566
4566
  size: o,
4567
4567
  title: i
4568
4568
  } = e, s = xa(e, ya), u = o || n.size || "1em", a;
4569
- return n.className && (a = n.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ W.createElement("svg", In({
4569
+ return n.className && (a = n.className), e.className && (a = (a ? a + " " : "") + e.className), /* @__PURE__ */ D.createElement("svg", In({
4570
4570
  stroke: "currentColor",
4571
4571
  fill: "currentColor",
4572
4572
  strokeWidth: "0"
@@ -4578,9 +4578,9 @@ function ka(e) {
4578
4578
  height: u,
4579
4579
  width: u,
4580
4580
  xmlns: "http://www.w3.org/2000/svg"
4581
- }), i && /* @__PURE__ */ W.createElement("title", null, i), e.children);
4581
+ }), i && /* @__PURE__ */ D.createElement("title", null, i), e.children);
4582
4582
  };
4583
- return yo !== void 0 ? /* @__PURE__ */ W.createElement(yo.Consumer, null, (n) => t(n)) : t(Bi);
4583
+ return yo !== void 0 ? /* @__PURE__ */ D.createElement(yo.Consumer, null, (n) => t(n)) : t(Bi);
4584
4584
  }
4585
4585
  function wo(e) {
4586
4586
  return Ze({ attr: { viewBox: "0 0 24 24" }, child: [{ tag: "path", attr: { d: "M18.464 2.114a.998.998 0 0 0-1.033.063l-13 9a1.003 1.003 0 0 0 0 1.645l13 9A1 1 0 0 0 19 21V3a1 1 0 0 0-.536-.886zM17 19.091 6.757 12 17 4.909v14.182z" }, child: [] }] })(e);
@@ -4808,7 +4808,7 @@ function _a({
4808
4808
  ), d = ie(null), h = ne((_) => {
4809
4809
  d.current = _;
4810
4810
  }, []), f = me(
4811
- () => Dt((_) => {
4811
+ () => Wt((_) => {
4812
4812
  const { style: C, children: O, ...P } = _;
4813
4813
  return /* @__PURE__ */ x("div", { ...P, style: C, children: /* @__PURE__ */ x(
4814
4814
  "div",
@@ -5203,11 +5203,11 @@ function La(e) {
5203
5203
  function Ha(e) {
5204
5204
  return Ze({ attr: { viewBox: "0 0 24 24", fill: "none", stroke: "currentColor", strokeWidth: "2", strokeLinecap: "round", strokeLinejoin: "round" }, child: [{ tag: "path", attr: { d: "M12 12m-1 0a1 1 0 1 0 2 0a1 1 0 1 0 -2 0" }, child: [] }, { tag: "path", attr: { d: "M4 8v-2a2 2 0 0 1 2 -2h2" }, child: [] }, { tag: "path", attr: { d: "M4 16v2a2 2 0 0 0 2 2h2" }, child: [] }, { tag: "path", attr: { d: "M16 4h2a2 2 0 0 1 2 2v2" }, child: [] }, { tag: "path", attr: { d: "M16 20h2a2 2 0 0 0 2 -2v-2" }, child: [] }] })(e);
5205
5205
  }
5206
- const Na = "_wrap_1hfub_4", Fa = "_visible_1hfub_25", Da = "_compact_1hfub_31", Wa = "_row2_1hfub_34", $a = "_controls_1hfub_44", Va = "_row1_1hfub_52", qa = "_groupExpand_1hfub_80", ja = "_groupPlayback_1hfub_81", Ua = "_groupSpeed_1hfub_82", Ka = "_groupFeatures_1hfub_83", Xa = "_groupNav_1hfub_84", Ya = "_btn_1hfub_116", Qa = "_btnForbidden_1hfub_141", Za = "_btnActive_1hfub_147", Ja = "_label_1hfub_158", ec = "_compactBtn_1hfub_168", Re = {
5206
+ const Na = "_wrap_1hfub_4", Fa = "_visible_1hfub_25", Wa = "_compact_1hfub_31", Da = "_row2_1hfub_34", $a = "_controls_1hfub_44", Va = "_row1_1hfub_52", qa = "_groupExpand_1hfub_80", ja = "_groupPlayback_1hfub_81", Ua = "_groupSpeed_1hfub_82", Ka = "_groupFeatures_1hfub_83", Xa = "_groupNav_1hfub_84", Ya = "_btn_1hfub_116", Qa = "_btnForbidden_1hfub_141", Za = "_btnActive_1hfub_147", Ja = "_label_1hfub_158", ec = "_compactBtn_1hfub_168", Re = {
5207
5207
  wrap: Na,
5208
5208
  visible: Fa,
5209
- compact: Da,
5210
- row2: Wa,
5209
+ compact: Wa,
5210
+ row2: Da,
5211
5211
  controls: $a,
5212
5212
  row1: Va,
5213
5213
  groupExpand: qa,
@@ -5220,7 +5220,7 @@ const Na = "_wrap_1hfub_4", Fa = "_visible_1hfub_25", Da = "_compact_1hfub_31",
5220
5220
  btnActive: Za,
5221
5221
  label: Ja,
5222
5222
  compactBtn: ec
5223
- }, tc = Dt(function() {
5223
+ }, tc = Wt(function() {
5224
5224
  const t = ie(null), n = Ue(Ot), r = (n == null ? void 0 : n.getState().isPlaybackMode) ?? !1, o = _e((S) => S.status), i = _e((S) => S.currentTimeMs), s = _e((S) => S.currentClip), u = _e((S) => S.playbackKind), a = X((S) => S.muteAudio), l = X((S) => S.audioSpeed), d = _e((S) => S.getClipSrc), h = _e((S) => S._onTime), f = _e((S) => S._onEnded), m = _e((S) => S._onError), v = j((S) => S.setCurrentGlobalRunIndex), y = j((S) => S.getSectionScrollApi), c = j((S) => S.snapToReadable), p = j((S) => S.edgeReadable), g = ie(null), w = ie(null), T = ie(!1), k = ie(null);
5225
5225
  pe(() => {
5226
5226
  u === "real" && (T.current = !0);
@@ -5426,7 +5426,7 @@ function cc() {
5426
5426
  ] })
5427
5427
  ] });
5428
5428
  }
5429
- const uc = W.memo(cc), dc = Dt(function() {
5429
+ const uc = D.memo(cc), dc = Wt(function() {
5430
5430
  const t = Ue(Ot), n = (t == null ? void 0 : t.getState().isPlaybackMode) ?? !1, r = _e((S) => S.playbackKind), o = _e((S) => S.status), i = _e((S) => S.fake), s = X((S) => S.audioSpeed), u = _e((S) => S.pause), a = j((S) => S.totalRuns), l = j((S) => S.currentGlobalRunIndex), d = j((S) => S.setCurrentGlobalRunIndex), h = j((S) => S.getSectionScrollApi), f = j((S) => S.nextReadableFrom), m = j((S) => S.edgeReadable), v = ie(null), y = ie(null), c = ie(0), p = ie(-1), g = !n && r === "fake" && o === "playing", w = Math.max(1, (i == null ? void 0 : i.totalWords) ?? 1), T = me(() => {
5431
5431
  const S = 200 * s;
5432
5432
  return w / S * 6e4;
@@ -5476,14 +5476,14 @@ const uc = W.memo(cc), dc = Dt(function() {
5476
5476
  return pe(() => (g ? v.current == null && (v.current = requestAnimationFrame(b)) : (v.current && (cancelAnimationFrame(v.current), v.current = null), y.current = null), () => {
5477
5477
  v.current && (cancelAnimationFrame(v.current), v.current = null);
5478
5478
  }), [g, b]), null;
5479
- }), fc = Dt(function() {
5479
+ }), fc = Wt(function() {
5480
5480
  return /* @__PURE__ */ x(dc, {});
5481
5481
  }), pc = "data:image/svg+xml,%3csvg%20width='111'%20height='111'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20overflow='hidden'%3e%3cg%20transform='translate(-435%2011)'%3e%3cpath%20d='M532.723%2046.8125C530.242%2046.8292%20527.8%2047.4292%20525.593%2048.5642%20523.298%2049.7713%20520.952%2050.8767%20518.608%2051.8815%20517.451%2031.9953%20500.391%2016.8128%20480.505%2017.9704%20462.359%2019.0268%20447.834%2033.4215%20446.615%2051.5578L438.476%2048.1353%20438.476%2049.9344C438.473%2054.7251%20441.432%2059.0185%20445.91%2060.721%20446.509%2060.9604%20447.138%2061.1708%20447.767%2061.3801%20448.053%2061.4761%20448.339%2061.5709%20448.622%2061.6692L447.745%2066.7254C447.463%2068.2415%20447.818%2069.8071%20448.728%2071.0521%20449.635%2072.2874%20450.984%2073.1242%20452.493%2073.3877L452.768%2073.4282C453.011%2073.488%20453.259%2073.5198%20453.509%2073.523%20456.31%2073.5182%20458.699%2071.4953%20459.166%2068.7338L459.781%2064.8673C468.886%2066.8727%20478.184%2067.875%20487.508%2067.8562%20493.267%2067.8674%20499.021%2067.5125%20504.736%2066.7937%20504.893%2066.7613%20505.041%2066.7405%20505.184%2066.7231L505.562%2068.8379C505.986%2071.6231%20508.396%2073.6706%20511.213%2073.6375%20511.583%2073.648%20511.953%2073.5977%20512.307%2073.4883%20515.422%2072.958%20517.518%2070.0024%20516.988%2066.8869%20516.984%2066.8688%20516.981%2066.8509%20516.978%2066.833L516.758%2065.6767C522.066%2065.3125%20527.42%2065.3125%20532.607%2065.3125L532.723%2065.3125C537.831%2065.6255%20542.226%2061.7378%20542.539%2056.6292%20542.852%2051.5205%20538.965%2047.1255%20533.856%2046.8125%20533.479%2046.7894%20533.1%2046.7894%20532.723%2046.8125ZM516.326%2052.7256C511.914%2054.5082%20507.352%2055.8913%20502.693%2056.858L492.697%2041.007%20501.916%2026.3469C510.579%2032.4029%20515.911%2042.1631%20516.326%2052.7256ZM500.254%2057.3217C497.133%2057.8531%20493.977%2058.1542%20490.811%2058.2224L487.449%2058.2224C480.061%2058.2766%20472.682%2057.6921%20465.394%2056.4753L474.504%2042.1644%20490.692%2042.1644ZM482.602%2020.2188C488.73%2020.2155%20494.742%2021.8953%20499.981%2025.075L490.693%2039.8507%20474.491%2039.8195%20465.194%2025.0415C470.449%2021.8782%20476.468%2020.2107%20482.602%2020.2188ZM463.254%2026.2995%20472.504%2041.0023%20462.938%2056.0267C458.169%2055.1133%20453.47%2053.8672%20448.875%2052.2977%20449.378%2041.8709%20454.689%2032.2672%20463.254%2026.2995ZM456.876%2068.3719C456.595%2070.0115%20455.173%2071.2097%20453.509%2071.2094%20453.431%2071.2042%20453.354%2071.191%20453.278%2071.1701%20453.133%2071.1343%20452.984%2071.1101%20452.835%2071.0972%20451.94%2070.9264%20451.142%2070.4243%20450.601%2069.6912%20450.063%2068.9533%20449.853%2068.0254%20450.023%2067.1278L450.844%2062.3872%20457.525%2064.2962ZM514.123%2069.8103C513.566%2070.5637%20512.74%2071.0728%20511.817%2071.2313L511.657%2071.2718C511.514%2071.32%20511.363%2071.3392%20511.213%2071.3285%20509.525%2071.3698%20508.075%2070.1378%20507.844%2068.4656L507.486%2066.4688%20514.501%2065.8548%20514.701%2067.2527C514.87%2068.1485%20514.661%2069.0742%20514.123%2069.8103ZM532.723%2063%20532.607%2063C526.955%2063%20521.113%2063%20515.284%2063.4625L515.276%2063.4625%20515.276%2063.4625%20505.9%2064.2904%20504.36%2064.5078C498.77%2065.2064%20493.141%2065.5509%20487.508%2065.5391%20477.952%2065.5601%20468.425%2064.4858%20459.114%2062.3375L450.263%2059.8168%20446.738%2058.5658C443.792%2057.4525%20441.62%2054.9086%20440.982%2051.8237%20454.33%2057.5309%20470.023%2060.5383%20486.577%2060.5383%20486.868%2060.5383%20487.161%2060.5383%20487.452%2060.5383L490.828%2060.5383C500.421%2060.2575%20509.874%2058.1665%20518.689%2054.3755L518.797%2054.3304C521.437%2053.2216%20524.086%2051.9728%20526.649%2050.6235%20528.526%2049.6491%20530.608%2049.1354%20532.723%2049.125%20536.554%2048.8199%20539.908%2051.6785%20540.213%2055.5099%20540.518%2059.3414%20537.659%2062.6949%20533.828%2063%20533.46%2063.0293%20533.091%2063.0293%20532.723%2063Z'/%3e%3cpath%20d='M534.442%2053.75C534.442%2055.0272%20533.407%2056.0625%20532.13%2056.0625%20530.852%2056.0625%20529.817%2055.0272%20529.817%2053.75%20529.817%2052.4728%20530.852%2051.4375%20532.13%2051.4375%20533.407%2051.4375%20534.442%2052.4728%20534.442%2053.75Z'/%3e%3c/g%3e%3c/svg%3e", gc = "data:image/svg+xml,%3csvg%20width='159'%20height='159'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20overflow='hidden'%3e%3cg%20transform='translate(-392%20-84)'%3e%3cpath%20d='M496.776%20189.601C496.122%20189.934%20495.77%20190.663%20495.916%20191.383L499.911%20210.219C500.074%20210.985%20500.75%20211.532%20501.533%20211.531L501.929%20211.531C503.729%20211.515%20505.222%20212.919%20505.319%20214.716%20505.389%20216.544%20503.964%20218.083%20502.136%20218.154%20502.093%20218.155%20502.05%20218.156%20502.006%20218.156L497.503%20218.156C495.941%20218.15%20494.594%20217.058%20494.263%20215.531L490.363%20197.147C490.174%20196.252%20489.294%20195.68%20488.4%20195.87%20488.399%20195.87%20488.399%20195.87%20488.399%20195.87%20488.174%20195.918%20487.962%20196.014%20487.776%20196.15L481.184%20200.898C479.925%20201.758%20478.809%20202.45%20477.776%20203.015%20476.998%20203.429%20476.669%20204.372%20477.022%20205.18%20477.402%20206.011%20478.385%20206.378%20479.217%20205.998%20479.253%20205.981%20479.288%20205.964%20479.322%20205.945%20480.618%20205.229%20481.877%20204.447%20483.094%20203.604L487.657%20200.313%20491.031%20216.213C491.677%20219.273%20494.376%20221.464%20497.503%20221.469L501.882%20221.469C505.577%20221.473%20508.587%20218.502%20508.631%20214.807%20508.608%20211.503%20506.158%20208.719%20502.883%20208.277L499.416%20191.93C502.051%20190.581%20506.719%20188.344%20509.619%20188.344%20515.225%20188.346%20520.812%20187.662%20526.252%20186.307%20530.081%20185.36%20533.152%20182.51%20534.381%20178.762L534.535%20178.295C535.676%20175.09%20535.323%20171.542%20533.573%20168.624L525.126%20154.2C522.254%20149.369%20517.625%20145.835%20512.207%20144.337%20512.364%20138.624%20511.516%20132.927%20509.7%20127.508%20504.714%20113.244%20488.452%20105.977%20487.761%20105.669%20487.336%20105.48%20486.851%20105.48%20486.426%20105.669%20485.959%20105.876%20484.987%20106.308%20483.1%20111.962%20482.811%20112.832%20483.281%20113.77%20484.15%20114.059%20485.019%20114.348%20485.958%20113.878%20486.247%20113.009%20486.649%20111.744%20487.129%20110.505%20487.685%20109.299%20491.474%20111.245%20502.818%20117.831%20506.566%20128.543%20508.418%20133.972%20509.183%20139.713%20508.815%20145.437%20508.734%20146.277%20509.297%20147.043%20510.122%20147.217%20515.212%20148.269%20519.626%20151.41%20522.287%20155.875L530.744%20170.299C532.007%20172.379%20532.256%20174.921%20531.42%20177.207L531.254%20177.727C530.378%20180.388%20528.194%20182.41%20525.474%20183.079%20520.288%20184.375%20514.964%20185.031%20509.619%20185.031%20505.93%20185.031%20501.061%20187.35%20496.776%20189.601Z'/%3e%3cpath%20d='M422.439%20192.966C421.946%20190.791%20421.681%20188.571%20421.649%20186.341%20421.7%20185.427%20421.001%20184.643%20420.086%20184.592%20419.171%20184.54%20418.388%20185.239%20418.336%20186.154%20418.324%20187.879%20418.47%20189.602%20418.772%20191.3%20412.577%20189.633%20408.907%20183.26%20410.574%20177.065%20411.942%20171.981%20416.559%20168.453%20421.824%20168.469%20422.661%20168.473%20423.491%20168.611%20424.284%20168.88%20425.056%20169.133%20425.898%20168.787%20426.271%20168.065%20435.26%20150.783%20455.639%20142.806%20473.971%20149.392%20474.837%20150.636%20475.5%20151.557%20475.559%20151.638%20476.094%20152.38%20477.129%20152.549%20477.872%20152.014%20478.614%20151.479%20478.782%20150.444%20478.248%20149.702%20478.216%20149.657%20475.101%20145.338%20473.444%20142.62%20467.845%20132.798%20470.283%20120.115%20471.358%20115.817%20475.617%20117.014%20487.816%20121.194%20493.442%20131.039%20496.082%20135.531%20497.921%20140.449%20498.876%20145.571%20499.017%20146.361%20499.705%20146.936%20500.508%20146.936L503.929%20146.936C504.816%20146.948%20505.561%20146.274%20505.639%20145.391%20505.7%20144.478%20505.01%20143.688%20504.097%20143.627%20504.059%20143.624%20504.021%20143.623%20503.982%20143.623L501.871%20143.623C500.778%20138.613%20498.902%20133.806%20496.312%20129.38%20488.742%20116.13%20471.271%20112.337%20470.533%20112.183%20469.704%20112.01%20468.879%20112.489%20468.618%20113.294%20468.385%20114.011%20463.013%20131.036%20470.568%20144.256%20470.579%20144.276%20470.745%20144.576%20470.978%20144.973%20470.99%20144.991%20470.978%20145.003%20470.96%20144.998%20452.498%20140.481%20433.287%20148.811%20423.966%20165.375%20423.261%20165.231%20422.543%20165.158%20421.824%20165.156%20413.582%20165.183%20406.923%20171.886%20406.95%20180.128%20406.974%20187.414%20412.256%20193.618%20419.446%20194.803L419.446%20194.803C419.532%20195.194%20419.611%20195.585%20419.706%20195.972L419.8%20196.329C422.428%20206.56%20428.796%20215.436%20437.646%20221.204%20437.917%20221.379%20438.232%20221.473%20438.554%20221.474L473.068%20221.474C476.748%20221.495%20479.756%20218.542%20479.801%20214.862%20479.847%20211.242%20476.95%20208.27%20473.329%20208.224%20473.278%20208.223%20473.227%20208.223%20473.176%20208.224L465.158%20208.224C474.765%20201.216%20476.873%20187.747%20469.866%20178.14%20465.812%20172.583%20459.348%20169.297%20452.47%20169.297%20450.573%20169.261%20448.682%20169.507%20446.858%20170.029%20445.981%20170.293%20445.484%20171.219%20445.749%20172.096%20446.013%20172.973%20446.938%20173.47%20447.816%20173.206%20449.328%20172.775%20450.897%20172.574%20452.47%20172.609%20462.532%20172.632%20470.67%20180.807%20470.648%20190.869%20470.63%20198.914%20465.337%20205.995%20457.626%20208.29%20456.784%20208.543%20456.286%20209.408%20456.491%20210.263%20456.686%20211.016%20457.369%20211.54%20458.147%20211.533L473.107%20211.533C474.951%20211.521%20476.458%20213.001%20476.48%20214.845%20476.52%20216.635%20475.102%20218.118%20473.312%20218.158%20473.264%20218.159%20473.216%20218.159%20473.168%20218.158L439.054%20218.158C431.004%20212.776%20425.251%20204.584%20422.922%20195.184%20422.853%20194.889%20422.795%20194.619%20422.733%20194.339Z'/%3e%3cpath%20d='M519.521%20163.831C519.708%20162.011%20518.383%20160.385%20516.563%20160.199%20514.743%20160.012%20513.117%20161.337%20512.931%20163.157%20512.744%20164.977%20514.069%20166.603%20515.889%20166.789%20516.113%20166.812%20516.339%20166.812%20516.563%20166.789%20518.126%20166.629%20519.361%20165.394%20519.521%20163.831Z'/%3e%3c/g%3e%3c/svg%3e", hc = "_WPMSpeedButtonsWrap_r3byt_1", mc = "_btnWrap_r3byt_7", bc = "_label_r3byt_14", vc = "_iconBtn_r3byt_22", qt = {
5482
5482
  WPMSpeedButtonsWrap: hc,
5483
5483
  btnWrap: mc,
5484
5484
  label: bc,
5485
5485
  iconBtn: vc
5486
- }, Co = 350, Sc = 40, yc = 0.85, xc = Dt(function() {
5486
+ }, Co = 350, Sc = 40, yc = 0.85, xc = Wt(function() {
5487
5487
  const t = X((f) => f.audioSpeed), n = X((f) => f.incAudioSpeed), r = X((f) => f.decAudioSpeed), o = ie(null), i = ie(Co), s = ie(null), u = ne(
5488
5488
  (f) => {
5489
5489
  const m = t;
@@ -5781,11 +5781,11 @@ function Oc() {
5781
5781
  }
5782
5782
  );
5783
5783
  }
5784
- const zc = W.memo(Oc);
5784
+ const zc = D.memo(Oc);
5785
5785
  function Pc(e) {
5786
5786
  return Ze({ attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { fill: "none", strokeLinecap: "round", strokeLinejoin: "round", strokeWidth: "32", d: "M262.29 192.31a64 64 0 1 0 57.4 57.4 64.13 64.13 0 0 0-57.4-57.4zM416.39 256a154.34 154.34 0 0 1-1.53 20.79l45.21 35.46a10.81 10.81 0 0 1 2.45 13.75l-42.77 74a10.81 10.81 0 0 1-13.14 4.59l-44.9-18.08a16.11 16.11 0 0 0-15.17 1.75A164.48 164.48 0 0 1 325 400.8a15.94 15.94 0 0 0-8.82 12.14l-6.73 47.89a11.08 11.08 0 0 1-10.68 9.17h-85.54a11.11 11.11 0 0 1-10.69-8.87l-6.72-47.82a16.07 16.07 0 0 0-9-12.22 155.3 155.3 0 0 1-21.46-12.57 16 16 0 0 0-15.11-1.71l-44.89 18.07a10.81 10.81 0 0 1-13.14-4.58l-42.77-74a10.8 10.8 0 0 1 2.45-13.75l38.21-30a16.05 16.05 0 0 0 6-14.08c-.36-4.17-.58-8.33-.58-12.5s.21-8.27.58-12.35a16 16 0 0 0-6.07-13.94l-38.19-30A10.81 10.81 0 0 1 49.48 186l42.77-74a10.81 10.81 0 0 1 13.14-4.59l44.9 18.08a16.11 16.11 0 0 0 15.17-1.75A164.48 164.48 0 0 1 187 111.2a15.94 15.94 0 0 0 8.82-12.14l6.73-47.89A11.08 11.08 0 0 1 213.23 42h85.54a11.11 11.11 0 0 1 10.69 8.87l6.72 47.82a16.07 16.07 0 0 0 9 12.22 155.3 155.3 0 0 1 21.46 12.57 16 16 0 0 0 15.11 1.71l44.89-18.07a10.81 10.81 0 0 1 13.14 4.58l42.77 74a10.8 10.8 0 0 1-2.45 13.75l-38.21 30a16.05 16.05 0 0 0-6.05 14.08c.33 4.14.55 8.3.55 12.47z" }, child: [] }] })(e);
5787
5787
  }
5788
- const Ac = "_host_gafql_3", Bc = "_topbar_gafql_11", Gc = "_visible_gafql_32", Lc = "_backBtn_gafql_37", Hc = "_title_gafql_58", Nc = "_calibrationBtn_gafql_67", Fc = "_disabled_gafql_87", Dc = "_settingsBtn_gafql_95", vt = {
5788
+ const Ac = "_host_gafql_3", Bc = "_topbar_gafql_11", Gc = "_visible_gafql_32", Lc = "_backBtn_gafql_37", Hc = "_title_gafql_58", Nc = "_calibrationBtn_gafql_67", Fc = "_disabled_gafql_87", Wc = "_settingsBtn_gafql_95", vt = {
5789
5789
  host: Ac,
5790
5790
  topbar: Bc,
5791
5791
  visible: Gc,
@@ -5793,9 +5793,9 @@ const Ac = "_host_gafql_3", Bc = "_topbar_gafql_11", Gc = "_visible_gafql_32", L
5793
5793
  title: Hc,
5794
5794
  calibrationBtn: Nc,
5795
5795
  disabled: Fc,
5796
- settingsBtn: Dc
5796
+ settingsBtn: Wc
5797
5797
  };
5798
- function Wc() {
5798
+ function Dc() {
5799
5799
  const e = X((h) => h.showOverlays), t = X((h) => h.overlayCompactMode), n = j((h) => h.onViewerClose), o = j((h) => h.section).ast.title, i = j((h) => h.canTracking), s = j((h) => h.handleAskCalibration), u = X((h) => h.setSettingsOpen), a = X((h) => h.setShowOverlays), l = ne(() => {
5800
5800
  n == null || n();
5801
5801
  }, [n]), d = ne(() => {
@@ -5828,7 +5828,7 @@ function Wc() {
5828
5828
  )
5829
5829
  ] }) });
5830
5830
  }
5831
- const $c = W.memo(Wc), Vc = "_wrap_62su0_7", qc = "_wrapHidden_62su0_29", jc = "_wrapVisible_62su0_35", Uc = "_scrollArea_62su0_71", Kc = "_row_62su0_81", Xc = "_label_62su0_89", Yc = "_btn_62su0_95", Qc = "_btnActive_62su0_106", Zc = "_btnSmall_62su0_110", Jc = "_pill_62su0_122", eu = "_themeCircle_62su0_133", tu = "_themeCircleActive_62su0_146", nu = "_stepRow_62su0_151", ru = "_stepLabel_62su0_159", ou = "_levelBox_62su0_172", iu = "_inlineFlex_62su0_177", Ae = {
5831
+ const $c = D.memo(Dc), Vc = "_wrap_62su0_7", qc = "_wrapHidden_62su0_29", jc = "_wrapVisible_62su0_35", Uc = "_scrollArea_62su0_71", Kc = "_row_62su0_81", Xc = "_label_62su0_89", Yc = "_btn_62su0_95", Qc = "_btnActive_62su0_106", Zc = "_btnSmall_62su0_110", Jc = "_pill_62su0_122", eu = "_themeCircle_62su0_133", tu = "_themeCircleActive_62su0_146", nu = "_stepRow_62su0_151", ru = "_stepLabel_62su0_159", ou = "_levelBox_62su0_172", iu = "_inlineFlex_62su0_177", Ae = {
5832
5832
  wrap: Vc,
5833
5833
  wrapHidden: qc,
5834
5834
  wrapVisible: jc,
@@ -6010,7 +6010,7 @@ function pn({
6010
6010
  ] })
6011
6011
  ] });
6012
6012
  }
6013
- const lu = W.memo(function() {
6013
+ const lu = D.memo(function() {
6014
6014
  const t = X((s) => s.showOverlays), n = X((s) => s.isSettingsOpen), r = j((s) => s.rangeStartGI), o = j((s) => s.rangeEndGI);
6015
6015
  return r != null && o != null ? null : /* @__PURE__ */ ee(
6016
6016
  "div",
@@ -6942,7 +6942,7 @@ function Iu(e, t) {
6942
6942
  var l;
6943
6943
  const a = (l = e[0]) == null ? void 0 : l.current;
6944
6944
  if (a && r.current) {
6945
- const { width: d, height: h } = a.getBoundingClientRect();
6945
+ const d = a.offsetWidth, h = a.offsetHeight;
6946
6946
  if (Math.abs(r.current.w - d) < gn && Math.abs(r.current.h - h) < gn)
6947
6947
  return;
6948
6948
  r.current = { w: d, h };
@@ -7351,9 +7351,9 @@ function Fu() {
7351
7351
  const t = document.createElement("link");
7352
7352
  t.rel = "stylesheet", t.href = Nu, document.head.appendChild(t), lr = !0;
7353
7353
  }
7354
- const Di = /* @__PURE__ */ new Map(), Wi = (e) => Di.get(e) ?? 0, Du = (e) => {
7355
- const t = Wi(e) + 1;
7356
- return Di.set(e, t), t;
7354
+ const Wi = /* @__PURE__ */ new Map(), Di = (e) => Wi.get(e) ?? 0, Wu = (e) => {
7355
+ const t = Di(e) + 1;
7356
+ return Wi.set(e, t), t;
7357
7357
  };
7358
7358
  class $i extends Error {
7359
7359
  constructor() {
@@ -7363,17 +7363,17 @@ class $i extends Error {
7363
7363
  }
7364
7364
  }
7365
7365
  const rt = (e, t) => {
7366
- if (e !== Wi(t)) throw new $i();
7366
+ if (e !== Di(t)) throw new $i();
7367
7367
  }, ar = (e) => {
7368
7368
  const t = getComputedStyle(e), n = parseFloat(t.marginTop || "0") || 0, r = parseFloat(t.marginBottom || "0") || 0;
7369
7369
  return { mt: n, mb: r };
7370
- }, Do = (e) => {
7370
+ }, Wo = (e) => {
7371
7371
  const t = e.getClientRects(), n = t.length ? t[0].top : e.getBoundingClientRect().top, r = e.querySelectorAll("[data-runbox]"), o = [];
7372
7372
  return r.forEach((i, s) => {
7373
7373
  const u = i.getClientRects(), a = u.length ? u[u.length - 1].bottom : n;
7374
7374
  o[s] = Math.max(0, a - n);
7375
7375
  }), o;
7376
- }, Wu = (e, t, n) => {
7376
+ }, Du = (e, t, n) => {
7377
7377
  if (n < 16)
7378
7378
  return async (o = 24) => {
7379
7379
  rt(e, t);
@@ -7402,7 +7402,7 @@ async function $u({
7402
7402
  instanceId: y = "default"
7403
7403
  }) {
7404
7404
  var p, g, w;
7405
- const c = Du(y);
7405
+ const c = Wu(y);
7406
7406
  if (rt(c, y), s && typeof document < "u" && document.fonts) {
7407
7407
  Fu();
7408
7408
  try {
@@ -7441,7 +7441,7 @@ async function $u({
7441
7441
  N.style.boxSizing = "border-box", N.style.width = `${R}px`, N.style.maxWidth = `${R}px`, N.style.margin = "0 auto", N.style.display = "flex", n.appendChild(N);
7442
7442
  const A = document.createElement("div");
7443
7443
  A.style.boxSizing = "border-box", A.style.paddingRight = `${i}px`, A.style.paddingLeft = `${i}px`, A.style.width = `${R}px`, A.style.maxWidth = `${R}px`, A.style.margin = "0 auto", A.style.display = "flex", A.style.justifyContent = "center", A.style.height = "auto", N.appendChild(A);
7444
- const V = /* @__PURE__ */ new Map(), re = {}, be = Wu(c, y, r.length), Se = (B, Z) => {
7444
+ const V = /* @__PURE__ */ new Map(), re = {}, be = Du(c, y, r.length), Se = (B, Z) => {
7445
7445
  const F = document.createElement("p");
7446
7446
  return F.style.margin = "8px 0", F.style.paddingLeft = Z ? `${Z}px` : "0", F.style.textAlign = B.textAlign ?? "start", F.style.whiteSpace = "pre-wrap", F.style.lineHeight = String(a), F.style.fontSize = `${u}px`, F.style.boxSizing = "border-box", F.style.fontFamily = s ?? "", F.style.width = "100%", I(F), F;
7447
7447
  }, Ce = (B, Z) => {
@@ -7501,7 +7501,7 @@ async function $u({
7501
7501
  }
7502
7502
  const se = A.querySelector('p[data-variant="with"]'), we = A.querySelector('p[data-variant="no"]'), ge = we ?? se;
7503
7503
  if (se && ge) {
7504
- const ke = Do(se), Oe = Do(ge), { mt: He, mb: Be } = ar(se), { mt: $e, mb: ut } = ar(ge), Xe = ((w = F.runs) == null ? void 0 : w.length) ?? 0, Ge = we ? Oe : ke, st = we ? $e : He, nt = we ? ut : Be;
7504
+ const ke = Wo(se), Oe = Wo(ge), { mt: He, mb: Be } = ar(se), { mt: $e, mb: ut } = ar(ge), Xe = ((w = F.runs) == null ? void 0 : w.length) ?? 0, Ge = we ? Oe : ke, st = we ? $e : He, nt = we ? ut : Be;
7505
7505
  if (B < 3) {
7506
7506
  const bt = se.getBoundingClientRect().height;
7507
7507
  console.log(
@@ -7607,7 +7607,7 @@ async function $u({
7607
7607
  throw console.error(T), T;
7608
7608
  }
7609
7609
  }
7610
- function Wo(e, t, n) {
7610
+ function Do(e, t, n) {
7611
7611
  var r;
7612
7612
  if (!e) return null;
7613
7613
  for (let o = e.startBlock; o <= e.endBlock; o++) {
@@ -7672,10 +7672,10 @@ function Ku() {
7672
7672
  return Uu(((U = t == null ? void 0 : t.ast) == null ? void 0 : U.blocks) ?? []);
7673
7673
  }, [t]), p = me(() => {
7674
7674
  const U = [], Le = Ar();
7675
- return c.forEach((De) => {
7676
- if (De.kind === "paragraph") {
7677
- const Rt = De.paraIndex;
7678
- U[Rt] = Br(De.block, Le);
7675
+ return c.forEach((We) => {
7676
+ if (We.kind === "paragraph") {
7677
+ const Rt = We.paraIndex;
7678
+ U[Rt] = Br(We.block, Le);
7679
7679
  }
7680
7680
  }), U;
7681
7681
  }, [c]), [g, w] = pt({
@@ -7721,8 +7721,8 @@ function Ku() {
7721
7721
  }, [g, V]);
7722
7722
  const re = ne(() => {
7723
7723
  console.log("@@@@@@recalc호출");
7724
- const U = y.current, Le = se.current, De = we.current;
7725
- if (console.log("showSplit", z), !U || !Le || !De || c.length === 0) {
7724
+ const U = y.current, Le = se.current, We = we.current;
7725
+ if (console.log("showSplit", z), !U || !Le || !We || c.length === 0) {
7726
7726
  w({ pages: [], pageByRunIndex: null }), k(0), V.getState().progress.setTotalPages(0);
7727
7727
  return;
7728
7728
  }
@@ -7732,7 +7732,7 @@ function Ku() {
7732
7732
  const lt = s.getState().playbackScale, { pages: At, pageByRunIndex: qi } = await $u({
7733
7733
  viewHost: U,
7734
7734
  measureRoot: Le,
7735
- contentArea: De,
7735
+ contentArea: We,
7736
7736
  items: c,
7737
7737
  cfgMaxWidth: v,
7738
7738
  marginX: f,
@@ -7778,20 +7778,20 @@ function Ku() {
7778
7778
  return ((Le = U.layout) == null ? void 0 : Le.prefix) ?? [];
7779
7779
  }), Ce = _e((U) => U.syncToGI), xe = ne(
7780
7780
  (U) => {
7781
- const Le = g.pages.length + 1, De = T + U;
7782
- if (De < 0 || De >= Le) return;
7781
+ const Le = g.pages.length + 1, We = T + U;
7782
+ if (We < 0 || We >= Le) return;
7783
7783
  const Rt = T === g.pages.length;
7784
- if (De === g.pages.length) {
7785
- k(De);
7784
+ if (We === g.pages.length) {
7785
+ k(We);
7786
7786
  return;
7787
7787
  }
7788
7788
  if (Rt && U === -1) {
7789
- const At = Wo(g.pages[De], c, Se);
7790
- At != null && (be(At, "scrubber-step"), Ce(At)), k(De);
7789
+ const At = Do(g.pages[We], c, Se);
7790
+ At != null && (be(At, "scrubber-step"), Ce(At)), k(We);
7791
7791
  return;
7792
7792
  }
7793
- const lt = Wo(g.pages[De], c, Se);
7794
- lt != null ? (be(lt, "scrubber-step"), Ce(lt)) : k(De);
7793
+ const lt = Do(g.pages[We], c, Se);
7794
+ lt != null ? (be(lt, "scrubber-step"), Ce(lt)) : k(We);
7795
7795
  },
7796
7796
  [T, g.pages, c, Se, be, k, Ce]
7797
7797
  ), Fe = ne(() => {
@@ -7799,13 +7799,13 @@ function Ku() {
7799
7799
  }, [S, xe]), K = ne(() => {
7800
7800
  S || M.current !== 0 ? (O("next"), _(!1)) : xe(1);
7801
7801
  }, [S, xe]), $ = Rn(), G = ne(() => {
7802
- const { isSettingsOpen: U, setSettingsOpen: Le, toggleOverlays: De } = $.getState();
7803
- U ? Le(!1) : De();
7802
+ const { isSettingsOpen: U, setSettingsOpen: Le, toggleOverlays: We } = $.getState();
7803
+ U ? Le(!1) : We();
7804
7804
  }, [$]), E = g.pages.length + 1, L = ((Lr = y.current) == null ? void 0 : Lr.clientWidth) || 400, q = ne((U) => {
7805
7805
  var lt;
7806
7806
  const Le = b.current;
7807
7807
  if (!Le) return;
7808
- const De = ((lt = y.current) == null ? void 0 : lt.clientWidth) || 1, Rt = U / De * 33.333;
7808
+ const We = ((lt = y.current) == null ? void 0 : lt.clientWidth) || 1, Rt = U / We * 33.333;
7809
7809
  Le.style.transform = `translate3d(${-33.333 + Rt}%, 0, 0)`;
7810
7810
  }, []), B = ne(
7811
7811
  (U) => {
@@ -8028,7 +8028,7 @@ const Xu = ({ pages: e, items: t, onGotoPage: n, currentPageIndex: r, isOnExtraP
8028
8028
  const i = j((l) => l.currentGlobalRunIndex), s = j((l) => l.lastUpdateBy), u = j((l) => {
8029
8029
  var d;
8030
8030
  return ((d = l.layout) == null ? void 0 : d.prefix) ?? [];
8031
- }), a = W.useRef(null);
8031
+ }), a = D.useRef(null);
8032
8032
  return pe(() => {
8033
8033
  if (i == null || e.length === 0 || o && !(s === "scrubber-live" || s === "scrubber-commit") || a.current === i) return;
8034
8034
  a.current = i;
@@ -8101,7 +8101,7 @@ function Md(e) {
8101
8101
  o >= 0 && n.push(o);
8102
8102
  }), n.sort((r, o) => r - o);
8103
8103
  }
8104
- const Ed = Dt(function() {
8104
+ const Ed = Wt(function() {
8105
8105
  const t = Je((c) => c.phase), n = Je((c) => c.quizzes), r = Je((c) => c.order), o = Je((c) => c.currentIndex), i = Je((c) => c.answers), s = Je((c) => c.correctCount), u = Je((c) => c.remainingSec), a = Je((c) => c.uiReveal), l = Je((c) => c.startedAt), d = Je((c) => c.finishedAt), h = Je((c) => c.perQ), f = Pi();
8106
8106
  pe(() => {
8107
8107
  if (t === "idle" || t !== "doing" || u == null) return;
@@ -8892,7 +8892,7 @@ function Fd({
8892
8892
  a
8893
8893
  ]), null;
8894
8894
  }
8895
- const Dd = ({
8895
+ const Wd = ({
8896
8896
  containerRef: e,
8897
8897
  onTranslate: t
8898
8898
  }) => {
@@ -9006,7 +9006,7 @@ const Dd = ({
9006
9006
  }
9007
9007
  );
9008
9008
  };
9009
- function Wd() {
9009
+ function Dd() {
9010
9010
  const e = j((o) => o.rangeStartGI), t = j((o) => o.rangeEndGI), n = j((o) => o.clearRange), r = e != null && t != null;
9011
9011
  return pe(() => {
9012
9012
  if (!r) return;
@@ -9334,12 +9334,12 @@ function qd({
9334
9334
  },
9335
9335
  children: [
9336
9336
  t === "scroll" ? /* @__PURE__ */ x(Oa, {}) : /* @__PURE__ */ x(Ku, {}),
9337
- /* @__PURE__ */ x(Dd, { containerRef: n, onTranslate: d }),
9337
+ /* @__PURE__ */ x(Wd, { containerRef: n, onTranslate: d }),
9338
9338
  /* @__PURE__ */ x(Hl, { containerRef: n }),
9339
9339
  /* @__PURE__ */ x(lu, {}),
9340
9340
  /* @__PURE__ */ x(Ed, {}),
9341
9341
  /* @__PURE__ */ x(Ju, {}),
9342
- /* @__PURE__ */ x(Wd, {}),
9342
+ /* @__PURE__ */ x(Dd, {}),
9343
9343
  /* @__PURE__ */ x(
9344
9344
  $d,
9345
9345
  {