etudes 16.0.1 → 16.0.2

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/build/etudes.js CHANGED
@@ -73,19 +73,19 @@ function Ss() {
73
73
  ), T.$$typeof) {
74
74
  case M:
75
75
  return "Portal";
76
- case F:
76
+ case B:
77
77
  return (T.displayName || "Context") + ".Provider";
78
78
  case W:
79
79
  return (T._context.displayName || "Context") + ".Consumer";
80
80
  case Y:
81
- var V = T.render;
82
- return T = T.displayName, T || (T = V.displayName || V.name || "", T = T !== "" ? "ForwardRef(" + T + ")" : "ForwardRef"), T;
81
+ var D = T.render;
82
+ return T = T.displayName, T || (T = D.displayName || D.name || "", T = T !== "" ? "ForwardRef(" + T + ")" : "ForwardRef"), T;
83
83
  case E:
84
- return V = T.displayName || null, V !== null ? V : e(T.type) || "Memo";
84
+ return D = T.displayName || null, D !== null ? D : e(T.type) || "Memo";
85
85
  case R:
86
- V = T._payload, T = T._init;
86
+ D = T._payload, T = T._init;
87
87
  try {
88
- return e(T(V));
88
+ return e(T(D));
89
89
  } catch {
90
90
  }
91
91
  }
@@ -96,15 +96,15 @@ function Ss() {
96
96
  }
97
97
  function s(T) {
98
98
  try {
99
- var V = !1;
99
+ var D = !1;
100
100
  } catch {
101
- V = !0;
101
+ D = !0;
102
102
  }
103
- if (V) {
104
- V = console;
105
- var ne = V.error, re = typeof Symbol == "function" && Symbol.toStringTag && T[Symbol.toStringTag] || T.constructor.name || "Object";
103
+ if (D) {
104
+ D = console;
105
+ var ne = D.error, re = typeof Symbol == "function" && Symbol.toStringTag && T[Symbol.toStringTag] || T.constructor.name || "Object";
106
106
  return ne.call(
107
- V,
107
+ D,
108
108
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
109
109
  re
110
110
  ), r(T);
@@ -115,8 +115,8 @@ function Ss() {
115
115
  if (typeof T == "object" && T !== null && T.$$typeof === R)
116
116
  return "<...>";
117
117
  try {
118
- var V = e(T);
119
- return V ? "<" + V + ">" : "<...>";
118
+ var D = e(T);
119
+ return D ? "<" + D + ">" : "<...>";
120
120
  } catch {
121
121
  return "<...>";
122
122
  }
@@ -130,16 +130,16 @@ function Ss() {
130
130
  }
131
131
  function p(T) {
132
132
  if (J.call(T, "key")) {
133
- var V = Object.getOwnPropertyDescriptor(T, "key").get;
134
- if (V && V.isReactWarning) return !1;
133
+ var D = Object.getOwnPropertyDescriptor(T, "key").get;
134
+ if (D && D.isReactWarning) return !1;
135
135
  }
136
136
  return T.key !== void 0;
137
137
  }
138
- function g(T, V) {
138
+ function g(T, D) {
139
139
  function ne() {
140
140
  A || (A = !0, console.error(
141
141
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
142
- V
142
+ D
143
143
  ));
144
144
  }
145
145
  ne.isReactWarning = !0, Object.defineProperty(T, "key", {
@@ -153,11 +153,11 @@ function Ss() {
153
153
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
154
154
  )), T = this.props.ref, T !== void 0 ? T : null;
155
155
  }
156
- function N(T, V, ne, re, le, pe, Ne, Te) {
156
+ function N(T, D, ne, re, le, pe, Ne, Te) {
157
157
  return ne = pe.ref, T = {
158
- $$typeof: $,
158
+ $$typeof: I,
159
159
  type: T,
160
- key: V,
160
+ key: D,
161
161
  props: pe,
162
162
  _owner: le
163
163
  }, (ne !== void 0 ? ne : null) !== null ? Object.defineProperty(T, "ref", {
@@ -185,8 +185,8 @@ function Ss() {
185
185
  value: Te
186
186
  }), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
187
187
  }
188
- function _(T, V, ne, re, le, pe, Ne, Te) {
189
- var xe = V.children;
188
+ function _(T, D, ne, re, le, pe, Ne, Te) {
189
+ var xe = D.children;
190
190
  if (xe !== void 0)
191
191
  if (re)
192
192
  if (H(xe)) {
@@ -198,12 +198,12 @@ function Ss() {
198
198
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
199
199
  );
200
200
  else P(xe);
201
- if (J.call(V, "key")) {
201
+ if (J.call(D, "key")) {
202
202
  xe = e(T);
203
- var q = Object.keys(V).filter(function(je) {
203
+ var q = Object.keys(D).filter(function(je) {
204
204
  return je !== "key";
205
205
  });
206
- re = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", D[xe + re] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
206
+ re = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", F[xe + re] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
207
207
  `A props object containing a "key" prop is being spread into JSX:
208
208
  let props = %s;
209
209
  <%s {...props} />
@@ -214,13 +214,13 @@ React keys must be passed directly to JSX without using spread:
214
214
  xe,
215
215
  q,
216
216
  xe
217
- ), D[xe + re] = !0);
217
+ ), F[xe + re] = !0);
218
218
  }
219
- if (xe = null, ne !== void 0 && (s(ne), xe = "" + ne), p(V) && (s(V.key), xe = "" + V.key), "key" in V) {
219
+ if (xe = null, ne !== void 0 && (s(ne), xe = "" + ne), p(D) && (s(D.key), xe = "" + D.key), "key" in D) {
220
220
  ne = {};
221
- for (var Fe in V)
222
- Fe !== "key" && (ne[Fe] = V[Fe]);
223
- } else ne = V;
221
+ for (var Fe in D)
222
+ Fe !== "key" && (ne[Fe] = D[Fe]);
223
+ } else ne = D;
224
224
  return xe && g(
225
225
  ne,
226
226
  typeof T == "function" ? T.displayName || T.name || "Unknown" : T
@@ -236,9 +236,9 @@ React keys must be passed directly to JSX without using spread:
236
236
  );
237
237
  }
238
238
  function P(T) {
239
- typeof T == "object" && T !== null && T.$$typeof === $ && T._store && (T._store.validated = 1);
239
+ typeof T == "object" && T !== null && T.$$typeof === I && T._store && (T._store.validated = 1);
240
240
  }
241
- var k = ys, $ = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), F = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), te = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, H = Array.isArray, z = console.createTask ? console.createTask : function() {
241
+ var k = ys, I = Symbol.for("react.transitional.element"), M = Symbol.for("react.portal"), b = Symbol.for("react.fragment"), j = Symbol.for("react.strict_mode"), K = Symbol.for("react.profiler"), W = Symbol.for("react.consumer"), B = Symbol.for("react.context"), Y = Symbol.for("react.forward_ref"), S = Symbol.for("react.suspense"), C = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), R = Symbol.for("react.lazy"), U = Symbol.for("react.activity"), G = Symbol.for("react.client.reference"), te = k.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, J = Object.prototype.hasOwnProperty, H = Array.isArray, z = console.createTask ? console.createTask : function() {
242
242
  return null;
243
243
  };
244
244
  k = {
@@ -249,12 +249,12 @@ React keys must be passed directly to JSX without using spread:
249
249
  var A, Q = {}, Z = k["react-stack-bottom-frame"].bind(
250
250
  k,
251
251
  u
252
- )(), se = z(a(u)), D = {};
253
- St.Fragment = b, St.jsx = function(T, V, ne, re, le) {
252
+ )(), se = z(a(u)), F = {};
253
+ St.Fragment = b, St.jsx = function(T, D, ne, re, le) {
254
254
  var pe = 1e4 > te.recentlyCreatedOwnerStacks++;
255
255
  return _(
256
256
  T,
257
- V,
257
+ D,
258
258
  ne,
259
259
  !1,
260
260
  re,
@@ -262,11 +262,11 @@ React keys must be passed directly to JSX without using spread:
262
262
  pe ? Error("react-stack-top-frame") : Z,
263
263
  pe ? z(a(T)) : se
264
264
  );
265
- }, St.jsxs = function(T, V, ne, re, le) {
265
+ }, St.jsxs = function(T, D, ne, re, le) {
266
266
  var pe = 1e4 > te.recentlyCreatedOwnerStacks++;
267
267
  return _(
268
268
  T,
269
- V,
269
+ D,
270
270
  ne,
271
271
  !0,
272
272
  re,
@@ -295,9 +295,9 @@ function ie() {
295
295
  for (var e, r, s = 0, a = "", l = arguments.length; s < l; s++) (e = arguments[s]) && (r = Co(e)) && (a && (a += " "), a += r);
296
296
  return a;
297
297
  }
298
- var $n, uo;
298
+ var In, uo;
299
299
  function _s() {
300
- return uo || (uo = 1, $n = function e(r, s) {
300
+ return uo || (uo = 1, In = function e(r, s) {
301
301
  if (r === s) return !0;
302
302
  if (r && s && typeof r == "object" && typeof s == "object") {
303
303
  if (r.constructor !== s.constructor) return !1;
@@ -322,7 +322,7 @@ function _s() {
322
322
  return !0;
323
323
  }
324
324
  return r !== r && s !== s;
325
- }), $n;
325
+ }), In;
326
326
  }
327
327
  var Os = /* @__PURE__ */ _s();
328
328
  const Ge = /* @__PURE__ */ ko(Os);
@@ -407,10 +407,10 @@ var de;
407
407
  return b instanceof Array ? !(b.length !== 2 || typeof b[0] != "number" || typeof b[1] != "number") : typeof b == "object" ? !(typeof b.x != "number" || typeof b.y != "number") : !1;
408
408
  }
409
409
  e.isValidDescriptor = k;
410
- function $(b) {
410
+ function I(b) {
411
411
  return typeof b == "object" && typeof b.x == "number" && typeof b.y == "number";
412
412
  }
413
- e.isPoint = $;
413
+ e.isPoint = I;
414
414
  function M(b) {
415
415
  return b.x === 0 && b.y === 0;
416
416
  }
@@ -533,10 +533,10 @@ var Me;
533
533
  return b instanceof Array ? !(b.length !== 2 || typeof b[0] != "number" || typeof b[1] != "number") : typeof b == "object" ? !(typeof b.width != "number" || typeof b.height != "number") : !1;
534
534
  }
535
535
  e.isValidDescriptor = k;
536
- function $(b) {
536
+ function I(b) {
537
537
  return typeof b == "object" && typeof b.width == "number" && typeof b.height == "number";
538
538
  }
539
- e.isSize = $;
539
+ e.isSize = I;
540
540
  function M(b) {
541
541
  return b.width === 0 && b.height === 0;
542
542
  }
@@ -597,7 +597,7 @@ var ge;
597
597
  function l(S, C = {}) {
598
598
  try {
599
599
  if (S == null) return;
600
- if (F(S)) return S;
600
+ if (B(S)) return S;
601
601
  if (Tt(S)) return l(document.documentElement || document.body.parentNode || document.body, C);
602
602
  const E = S instanceof Array ? S : [S], R = E.length, U = C.reference || window, G = u(), te = Tt(U) ? G : l(C.reference);
603
603
  if (!G || !te) return;
@@ -690,7 +690,7 @@ var ge;
690
690
  });
691
691
  }
692
692
  e.concat = k;
693
- function $(S) {
693
+ function I(S) {
694
694
  return r({
695
695
  x: S.left,
696
696
  y: S.top,
@@ -698,7 +698,7 @@ var ge;
698
698
  height: S.width
699
699
  });
700
700
  }
701
- e.invert = $;
701
+ e.invert = I;
702
702
  function M(S, C) {
703
703
  return !(S.top !== C.top || S.right !== C.right || S.bottom !== C.bottom || S.left !== C.left || S.width !== C.width || S.height !== C.height);
704
704
  }
@@ -726,10 +726,10 @@ var ge;
726
726
  return !(typeof S.x != "number" || typeof S.y != "number" || typeof S.width != "number" || typeof S.height != "number");
727
727
  }
728
728
  e.isValidDescriptor = W;
729
- function F(S) {
729
+ function B(S) {
730
730
  return typeof S == "object" && typeof S.top == "number" && typeof S.right == "number" && typeof S.bottom == "number" && typeof S.left == "number" && typeof S.width == "number" && typeof S.height == "number";
731
731
  }
732
- e.isRect = F;
732
+ e.isRect = B;
733
733
  function Y(S) {
734
734
  return S.top === 0 && S.right === 0 && S.bottom === 0 && S.left === 0 && S.width === 0 && S.height === 0;
735
735
  }
@@ -843,13 +843,13 @@ const hr = /* @__PURE__ */ Oe(({
843
843
  selection: _,
844
844
  selectionMode: P = "none",
845
845
  onActivateAt: k,
846
- onDeselectAt: $,
846
+ onDeselectAt: I,
847
847
  onCustomEvent: M,
848
848
  onSelectAt: b,
849
849
  onSelectionChange: j,
850
850
  ItemComponent: K,
851
851
  ...W
852
- }, F) => {
852
+ }, B) => {
853
853
  const Y = Cs(_ ?? [], p), S = js({ itemLength: l, itemPadding: u, layout: g, numSegments: m, orientation: N }), C = (H) => Y.indexOf(H) >= 0, E = (H) => {
854
854
  C(H) ? U(H) : R(H);
855
855
  }, R = (H) => {
@@ -857,7 +857,7 @@ const hr = /* @__PURE__ */ Oe(({
857
857
  let z;
858
858
  switch (P) {
859
859
  case "multiple": {
860
- z = (Z) => $o([...Z.filter((se) => se !== H), H]);
860
+ z = (Z) => Io([...Z.filter((se) => se !== H), H]);
861
861
  break;
862
862
  }
863
863
  case "single": {
@@ -878,7 +878,7 @@ const hr = /* @__PURE__ */ Oe(({
878
878
  }, te = (H, z) => {
879
879
  if (Ge(H, z)) return;
880
880
  const A = H?.filter((Z) => z.indexOf(Z) === -1) ?? [], Q = z.filter((Z) => H?.indexOf(Z) === -1);
881
- A.forEach((Z) => $?.(Z)), Q.forEach((Z) => b?.(Z)), j?.(z);
881
+ A.forEach((Z) => I?.(Z)), Q.forEach((Z) => b?.(Z)), j?.(z);
882
882
  };
883
883
  be(() => {
884
884
  const H = Y;
@@ -903,7 +903,7 @@ const hr = /* @__PURE__ */ Oe(({
903
903
  "div",
904
904
  {
905
905
  ...W,
906
- ref: F,
906
+ ref: B,
907
907
  "aria-multiselectable": P === "multiple",
908
908
  className: ie(e),
909
909
  role: g === "grid" ? "grid" : P === "none" ? "list" : "listbox",
@@ -933,7 +933,7 @@ const hr = /* @__PURE__ */ Oe(({
933
933
  role: A,
934
934
  style: Z,
935
935
  onClick: () => G(z),
936
- onCustomEvent: (se, D) => M?.(z, se, D)
936
+ onCustomEvent: (se, F) => M?.(z, se, F)
937
937
  }
938
938
  ) : /* @__PURE__ */ x.jsx(
939
939
  he,
@@ -957,9 +957,9 @@ function ks(e, r) {
957
957
  return !!(isNaN(e) || e >= r.length || e < 0);
958
958
  }
959
959
  function Cs(e, r) {
960
- return $o(e).filter((s) => !ks(s, r));
960
+ return Io(e).filter((s) => !ks(s, r));
961
961
  }
962
- function $o(e) {
962
+ function Io(e) {
963
963
  return e.sort((r, s) => r - s);
964
964
  }
965
965
  function js({ itemLength: e = NaN, itemPadding: r = 0, layout: s = "collection", numSegments: a = 1, orientation: l = "vertical" }) {
@@ -1003,7 +1003,7 @@ function js({ itemLength: e = NaN, itemPadding: r = 0, layout: s = "collection",
1003
1003
  };
1004
1004
  }
1005
1005
  process.env.NODE_ENV !== "production" && (hr.displayName = "Collection", kt.displayName = "CollectionItem");
1006
- const $s = /* @__PURE__ */ Oe(({
1006
+ const Is = /* @__PURE__ */ Oe(({
1007
1007
  children: e,
1008
1008
  style: r,
1009
1009
  autoCollapseSections: s = !1,
@@ -1017,67 +1017,67 @@ const $s = /* @__PURE__ */ Oe(({
1017
1017
  onCollapseSectionAt: _,
1018
1018
  onDeselectAt: P,
1019
1019
  onExpandedSectionsChange: k,
1020
- onExpandSectionAt: $,
1020
+ onExpandSectionAt: I,
1021
1021
  onHeaderCustomEvent: M,
1022
1022
  onItemCustomEvent: b,
1023
1023
  onSelectAt: j,
1024
1024
  onSelectionChange: K,
1025
1025
  HeaderComponent: W,
1026
- ItemComponent: F,
1026
+ ItemComponent: B,
1027
1027
  ...Y
1028
1028
  }, S) => {
1029
- const C = Ms(g ?? {}, p), E = As(a ?? [], p), R = Rs({ orientation: l }), U = p.map(() => Ee(null)), G = U.map((D) => jo(D)), te = (D, T) => (C[T]?.indexOf(D) ?? -1) >= 0, J = (D) => E.indexOf(D) >= 0, H = (D) => {
1029
+ const C = Ms(g ?? {}, p), E = As(a ?? [], p), R = Rs({ orientation: l }), U = p.map(() => Ee(null)), G = U.map((F) => jo(F)), te = (F, T) => (C[T]?.indexOf(F) ?? -1) >= 0, J = (F) => E.indexOf(F) >= 0, H = (F) => {
1030
1030
  let T;
1031
- J(D) ? T = (V) => V.filter((ne) => ne !== D) : s ? T = (V) => [D] : T = (V) => [...V.filter((ne) => ne !== D), D], Q(E, T(E));
1032
- }, z = (D, T) => {
1033
- if (te(D, T)) return;
1034
- let V;
1031
+ J(F) ? T = (D) => D.filter((ne) => ne !== F) : s ? T = (D) => [F] : T = (D) => [...D.filter((ne) => ne !== F), F], Q(E, T(E));
1032
+ }, z = (F, T) => {
1033
+ if (te(F, T)) return;
1034
+ let D;
1035
1035
  switch (m) {
1036
1036
  case "multiple":
1037
- V = (re) => ({
1037
+ D = (re) => ({
1038
1038
  ...re,
1039
- [T]: nn([...(re[T] ?? []).filter((le) => le !== D), D])
1039
+ [T]: nn([...(re[T] ?? []).filter((le) => le !== F), F])
1040
1040
  });
1041
1041
  break;
1042
1042
  case "single":
1043
- V = (re) => ({
1044
- [T]: [D]
1043
+ D = (re) => ({
1044
+ [T]: [F]
1045
1045
  });
1046
1046
  break;
1047
1047
  default:
1048
1048
  return;
1049
1049
  }
1050
- const ne = V(C);
1050
+ const ne = D(C);
1051
1051
  Z(C, ne);
1052
- }, A = (D, T) => {
1053
- if (!te(D, T)) return;
1052
+ }, A = (F, T) => {
1053
+ if (!te(F, T)) return;
1054
1054
  const ne = ((re) => ({
1055
1055
  ...re,
1056
- [T]: (re[T] ?? []).filter((le) => le !== D)
1056
+ [T]: (re[T] ?? []).filter((le) => le !== F)
1057
1057
  }))(C);
1058
1058
  Z(C, ne);
1059
- }, Q = (D, T) => {
1060
- if (Ge(D, T)) return;
1061
- const V = D?.filter((re) => T.indexOf(re) === -1) ?? [], ne = T.filter((re) => D?.indexOf(re) === -1);
1062
- V.forEach((re) => _?.(re)), ne.forEach((re) => $?.(re)), k?.(T);
1063
- }, Z = (D, T) => {
1064
- if (Ge(D, T)) return;
1065
- const V = p.length;
1059
+ }, Q = (F, T) => {
1060
+ if (Ge(F, T)) return;
1061
+ const D = F?.filter((re) => T.indexOf(re) === -1) ?? [], ne = T.filter((re) => F?.indexOf(re) === -1);
1062
+ D.forEach((re) => _?.(re)), ne.forEach((re) => I?.(re)), k?.(T);
1063
+ }, Z = (F, T) => {
1064
+ if (Ge(F, T)) return;
1065
+ const D = p.length;
1066
1066
  let ne = [], re = [];
1067
- for (let le = 0; le < V; le++) {
1068
- const pe = D?.[le] ?? [], Ne = T[le] ?? [], Te = pe.filter((q) => Ne.indexOf(q) === -1), xe = Ne.filter((q) => pe?.indexOf(q) === -1);
1067
+ for (let le = 0; le < D; le++) {
1068
+ const pe = F?.[le] ?? [], Ne = T[le] ?? [], Te = pe.filter((q) => Ne.indexOf(q) === -1), xe = Ne.filter((q) => pe?.indexOf(q) === -1);
1069
1069
  ne = [...ne, ...Te.map((q) => [q, le])], re = [...re, ...xe.map((q) => [q, le])];
1070
1070
  }
1071
1071
  ne.forEach((le) => P?.(le[0], le[1])), re.forEach((le) => j?.(le[0], le[1])), K?.(T);
1072
1072
  }, se = ze(e, {
1073
1073
  collapseIcon: Ao,
1074
- expandIcon: Io,
1074
+ expandIcon: $o,
1075
1075
  header: Fn,
1076
1076
  item: Dn,
1077
1077
  section: fo
1078
1078
  });
1079
- return /* @__PURE__ */ x.jsx("div", { ...Y, ref: S, style: ce(r, R.root), children: /* @__PURE__ */ x.jsx(ln, { in: p, children: (D, T) => {
1080
- const { collectionPadding: V = 0, items: ne = [], itemLength: re = 50, itemPadding: le = 0, isSelectionTogglable: pe, layout: Ne = "list", maxVisible: Te = -1, numSegments: xe = 1 } = D, q = Ne === "list" ? ne.length : Math.ceil(ne.length / xe), Fe = Te < 0 ? q : Math.min(q, Te), je = re * Fe + le * (Fe - 1), ke = !J(T), Ve = G[T];
1079
+ return /* @__PURE__ */ x.jsx("div", { ...Y, ref: S, style: ce(r, R.root), children: /* @__PURE__ */ x.jsx(ln, { in: p, children: (F, T) => {
1080
+ const { collectionPadding: D = 0, items: ne = [], itemLength: re = 50, itemPadding: le = 0, isSelectionTogglable: pe, layout: Ne = "list", maxVisible: Te = -1, numSegments: xe = 1 } = F, q = Ne === "list" ? ne.length : Math.ceil(ne.length / xe), Fe = Te < 0 ? q : Math.min(q, Te), je = re * Fe + le * (Fe - 1), ke = !J(T), Ve = G[T];
1081
1081
  return /* @__PURE__ */ x.jsxs(
1082
1082
  he,
1083
1083
  {
@@ -1085,14 +1085,14 @@ const $s = /* @__PURE__ */ Oe(({
1085
1085
  style: ce(R.section, l === "vertical" ? {
1086
1086
  marginTop: T === 0 ? "0px" : `${u}px`,
1087
1087
  ...Ve.height > 0 ? {
1088
- height: ke ? `${Ve.height}px` : `${je + Ve.height + V}px`
1088
+ height: ke ? `${Ve.height}px` : `${je + Ve.height + D}px`
1089
1089
  } : {
1090
1090
  visibility: "hidden"
1091
1091
  }
1092
1092
  } : {
1093
1093
  marginLeft: T === 0 ? "0px" : `${u}px`,
1094
1094
  ...Ve.width > 0 ? {
1095
- width: ke ? `${Ve.width}px` : `${je + Ve.width + V}px`
1095
+ width: ke ? `${Ve.width}px` : `${je + Ve.width + D}px`
1096
1096
  } : {
1097
1097
  visibility: "hidden"
1098
1098
  }
@@ -1111,7 +1111,7 @@ const $s = /* @__PURE__ */ Oe(({
1111
1111
  index: T,
1112
1112
  isCollapsed: ke,
1113
1113
  role: "button",
1114
- section: D,
1114
+ section: F,
1115
1115
  style: ce(R.header),
1116
1116
  onClick: () => H(T),
1117
1117
  onCustomEvent: (Re, He) => M?.(T, Re, He)
@@ -1126,7 +1126,7 @@ const $s = /* @__PURE__ */ Oe(({
1126
1126
  style: ce(R.header),
1127
1127
  onClick: () => H(T),
1128
1128
  children: [
1129
- /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: D.label } }),
1129
+ /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: F.label } }),
1130
1130
  se.expandIcon && /* @__PURE__ */ x.jsx(
1131
1131
  he,
1132
1132
  {
@@ -1149,10 +1149,10 @@ const $s = /* @__PURE__ */ Oe(({
1149
1149
  }, l === "vertical" ? {
1150
1150
  width: "100%",
1151
1151
  height: `${je}px`,
1152
- marginTop: `${V}px`,
1152
+ marginTop: `${D}px`,
1153
1153
  overflowY: Te < 0 || Te >= q ? "hidden" : "scroll"
1154
1154
  } : {
1155
- marginLeft: `${V}px`,
1155
+ marginLeft: `${D}px`,
1156
1156
  overflowX: Te < 0 || Te >= q ? "hidden" : "scroll",
1157
1157
  width: `${je}px`,
1158
1158
  height: "100%"
@@ -1162,7 +1162,7 @@ const $s = /* @__PURE__ */ Oe(({
1162
1162
  {
1163
1163
  className: ie({ collapsed: ke, expanded: !ke }),
1164
1164
  isSelectionTogglable: pe,
1165
- ItemComponent: F,
1165
+ ItemComponent: B,
1166
1166
  itemLength: re,
1167
1167
  itemPadding: le,
1168
1168
  items: ne,
@@ -1176,7 +1176,7 @@ const $s = /* @__PURE__ */ Oe(({
1176
1176
  onCustomEvent: (Re, He, Ye) => b?.(Re, T, He, Ye),
1177
1177
  onDeselectAt: (Re) => A(Re, T),
1178
1178
  onSelectAt: (Re) => z(Re, T),
1179
- children: !F && (se.item ?? /* @__PURE__ */ x.jsx(Dn, {}))
1179
+ children: !B && (se.item ?? /* @__PURE__ */ x.jsx(Dn, {}))
1180
1180
  }
1181
1181
  )
1182
1182
  }
@@ -1185,11 +1185,11 @@ const $s = /* @__PURE__ */ Oe(({
1185
1185
  }
1186
1186
  );
1187
1187
  } }) });
1188
- }), Fn = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("button", { ...r, children: e }), Io = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), Ao = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), fo = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), Dn = kt;
1188
+ }), Fn = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("button", { ...r, children: e }), $o = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), Ao = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("figure", { ...r, children: e }), fo = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), Dn = kt;
1189
1189
  function Mo(e, r) {
1190
1190
  return e >= r.length || e < 0;
1191
1191
  }
1192
- function Is(e, r, s) {
1192
+ function $s(e, r, s) {
1193
1193
  if (Mo(r, s)) return !0;
1194
1194
  const a = s[r].items ?? [];
1195
1195
  return e >= a.length || e < 0;
@@ -1202,7 +1202,7 @@ function Ms(e, r) {
1202
1202
  for (const a in r) {
1203
1203
  if (!Object.hasOwn(r, a)) continue;
1204
1204
  const l = nn([...e[a] ?? []]);
1205
- s[Number(a)] = nn(l).filter((u) => !Is(u, Number(a), r));
1205
+ s[Number(a)] = nn(l).filter((u) => !$s(u, Number(a), r));
1206
1206
  }
1207
1207
  return s;
1208
1208
  }
@@ -1269,7 +1269,7 @@ function Rs({ orientation: e = "vertical" }) {
1269
1269
  }
1270
1270
  };
1271
1271
  }
1272
- process.env.NODE_ENV !== "production" && ($s.displayName = "Accordion", Fn.displayName = "AccordionHeader", Io.displayName = "AccordionExpandIcon", Ao.displayName = "AccordionCollapseIcon", Dn.displayName = "AccordionItem");
1272
+ process.env.NODE_ENV !== "production" && (Is.displayName = "Accordion", Fn.displayName = "AccordionHeader", $o.displayName = "AccordionExpandIcon", Ao.displayName = "AccordionCollapseIcon", Dn.displayName = "AccordionItem");
1273
1273
  function Vn({
1274
1274
  count: e = 1,
1275
1275
  children: r,
@@ -1404,7 +1404,7 @@ const Ls = /* @__PURE__ */ Oe(({
1404
1404
  const k = () => {
1405
1405
  const b = !a;
1406
1406
  N?.(b), b ? g?.() : m?.();
1407
- }, $ = {
1407
+ }, I = {
1408
1408
  root: ie({
1409
1409
  active: a
1410
1410
  })
@@ -1415,7 +1415,7 @@ const Ls = /* @__PURE__ */ Oe(({
1415
1415
  ..._,
1416
1416
  ref: P,
1417
1417
  "aria-expanded": a,
1418
- className: ie(r, $.root),
1418
+ className: ie(r, I.root),
1419
1419
  style: ce(s, M.root),
1420
1420
  onClick: k,
1421
1421
  children: /* @__PURE__ */ x.jsx(
@@ -1537,7 +1537,7 @@ function Us(e, {
1537
1537
  if (!b || !p.current) return;
1538
1538
  const j = de.make(M.clientX, M.clientY), K = de.subtract(g.current ?? p.current, j);
1539
1539
  _.current?.(j, K, p.current), p.current = void 0, g.current = void 0, b.removeEventListener("mousemove", P), b.removeEventListener("mouseup", k, { capture: !0 }), b.removeEventListener("mouseleave", k), s && (b.style.cursor = "grab");
1540
- }, [s, P]), $ = me((M) => {
1540
+ }, [s, P]), I = me((M) => {
1541
1541
  const b = e.current;
1542
1542
  if (!b) return;
1543
1543
  M.preventDefault();
@@ -1554,10 +1554,10 @@ function Us(e, {
1554
1554
  }, [r, s]), Be(() => {
1555
1555
  const M = e.current;
1556
1556
  if (!(!M || !r))
1557
- return M.addEventListener("mousedown", $), () => {
1558
- M.removeEventListener("mousedown", $), M.removeEventListener("mousemove", P), M.removeEventListener("mouseup", k, { capture: !0 }), M.removeEventListener("mouseleave", k);
1557
+ return M.addEventListener("mousedown", I), () => {
1558
+ M.removeEventListener("mousedown", I), M.removeEventListener("mousemove", P), M.removeEventListener("mouseup", k, { capture: !0 }), M.removeEventListener("mouseleave", k);
1559
1559
  };
1560
- }, [r, P, k, $]);
1560
+ }, [r, P, k, I]);
1561
1561
  }
1562
1562
  function qs(e, {
1563
1563
  autoStarts: r = !0,
@@ -1586,26 +1586,26 @@ const Gs = /* @__PURE__ */ Oe(({
1586
1586
  ItemComponent: N,
1587
1587
  ..._
1588
1588
  }, P) => {
1589
- const k = Ee(void 0), $ = Ee(null), M = Ee(void 0), b = Ee(void 0), j = Ee(void 0), K = 1e3, [W, F] = Se(In($, l)), [Y, S] = Se(!1), C = Js({ scrollSnapEnabled: !Y, orientation: l }), E = e > 0, R = me((A) => {
1589
+ const k = Ee(void 0), I = Ee(null), M = Ee(void 0), b = Ee(void 0), j = Ee(void 0), K = 1e3, [W, B] = Se($n(I, l)), [Y, S] = Se(!1), C = Js({ scrollSnapEnabled: !Y, orientation: l }), E = e > 0, R = me((A) => {
1590
1590
  m?.(A);
1591
1591
  }, [m]), U = me((A) => {
1592
1592
  M.current = de.make(A.clientX, A.clientY), S(!0);
1593
1593
  }, []), G = me((A) => {
1594
1594
  const Q = M.current, Z = b.current;
1595
1595
  if (!Q || !Z) return;
1596
- const se = 5, D = de.subtract(Q, Z);
1597
- (Math.abs(D.x) > se || Math.abs(D.y) > se) && A.stopPropagation(), M.current = void 0, b.current = void 0;
1596
+ const se = 5, F = de.subtract(Q, Z);
1597
+ (Math.abs(F.x) > se || Math.abs(F.y) > se) && A.stopPropagation(), M.current = void 0, b.current = void 0;
1598
1598
  }, []), te = me((A) => {
1599
1599
  b.current = de.make(A.clientX, A.clientY), Y && S(!1);
1600
1600
  }, [Y]), J = me(() => {
1601
- Ws($, r, l), clearTimeout(j.current), j.current = setTimeout(() => {
1601
+ Ws(I, r, l), clearTimeout(j.current), j.current = setTimeout(() => {
1602
1602
  clearTimeout(j.current), j.current = void 0;
1603
1603
  }, K);
1604
- }, [$.current, r, l, K]), H = me(() => {
1604
+ }, [I.current, r, l, K]), H = me(() => {
1605
1605
  const A = (r + a.length + 1) % a.length;
1606
1606
  R(A);
1607
1607
  }, [Y, r, a.length, R]), z = me(({ x: A, y: Q }) => {
1608
- const Z = $.current;
1608
+ const Z = I.current;
1609
1609
  switch (l) {
1610
1610
  case "horizontal":
1611
1611
  requestAnimationFrame(() => {
@@ -1620,21 +1620,21 @@ const Gs = /* @__PURE__ */ Oe(({
1620
1620
  default:
1621
1621
  console.error(`[etudes::Carousel] Unsupported orientation: ${l}`);
1622
1622
  }
1623
- }, [l, $.current]);
1623
+ }, [l, I.current]);
1624
1624
  return be(() => {
1625
- const A = $.current;
1625
+ const A = I.current;
1626
1626
  if (!A) return;
1627
- const Q = k.current === void 0, Z = k.current === r, se = (D) => {
1628
- if (u && F(In($, l)), j.current !== void 0) return;
1629
- const T = Math.round(l === "horizontal" ? A.scrollLeft / A.clientWidth : A.scrollTop / A.clientHeight), V = Math.max(0, Math.min(a.length - 1, T));
1630
- V !== r && (k.current = V, R(V));
1627
+ const Q = k.current === void 0, Z = k.current === r, se = (F) => {
1628
+ if (u && B($n(I, l)), j.current !== void 0) return;
1629
+ const T = Math.round(l === "horizontal" ? A.scrollLeft / A.clientWidth : A.scrollTop / A.clientHeight), D = Math.max(0, Math.min(a.length - 1, T));
1630
+ D !== r && (k.current = D, R(D));
1631
1631
  };
1632
- return A.addEventListener("scroll", se), u && F(In($, l)), Z || (k.current = r, Q || (R(r), J())), () => {
1632
+ return A.addEventListener("scroll", se), u && B($n(I, l)), Z || (k.current = r, Q || (R(r), J())), () => {
1633
1633
  A.removeEventListener("scroll", se);
1634
1634
  };
1635
1635
  }, [r, l, u]), be(() => {
1636
1636
  E && (Y ? p?.() : g?.());
1637
- }, [Y, E]), Us($, {
1637
+ }, [Y, E]), Us(I, {
1638
1638
  isEnabled: s && a.length > 1,
1639
1639
  onDragMove: z
1640
1640
  }), qs(Y || !E ? -1 : e, {
@@ -1650,7 +1650,7 @@ const Gs = /* @__PURE__ */ Oe(({
1650
1650
  onPointerDown: (A) => U(A),
1651
1651
  onPointerLeave: (A) => te(A),
1652
1652
  onPointerUp: (A) => te(A),
1653
- children: /* @__PURE__ */ x.jsx("div", { ref: $, style: ce(C.viewport), children: /* @__PURE__ */ x.jsx(ln, { in: a, children: ({ style: A, ...Q }, Z) => /* @__PURE__ */ x.jsx("div", { style: ce(C.itemContainer), children: /* @__PURE__ */ x.jsx(
1653
+ children: /* @__PURE__ */ x.jsx("div", { ref: I, style: ce(C.viewport), children: /* @__PURE__ */ x.jsx(ln, { in: a, children: ({ style: A, ...Q }, Z) => /* @__PURE__ */ x.jsx("div", { style: ce(C.itemContainer), children: /* @__PURE__ */ x.jsx(
1654
1654
  N,
1655
1655
  {
1656
1656
  "aria-hidden": Z !== r,
@@ -1668,7 +1668,7 @@ function Ws(e, r, s) {
1668
1668
  const l = s === "horizontal" ? 0 : a.clientHeight * r, u = s === "horizontal" ? a.clientWidth * r : 0;
1669
1669
  a.scrollTop === l && a.scrollLeft === u || a.scrollTo({ top: l, left: u, behavior: "smooth" });
1670
1670
  }
1671
- function In(e, r) {
1671
+ function $n(e, r) {
1672
1672
  const s = e?.current;
1673
1673
  if (!s) return;
1674
1674
  const a = [];
@@ -1747,8 +1747,8 @@ const zo = /* @__PURE__ */ Oe(({
1747
1747
  onChange: N,
1748
1748
  ..._
1749
1749
  }, P) => {
1750
- const k = me(($) => {
1751
- const M = (p?.($) ?? $) || r;
1750
+ const k = me((I) => {
1751
+ const M = (p?.(I) ?? I) || r;
1752
1752
  N?.(M);
1753
1753
  }, [N, p]);
1754
1754
  return /* @__PURE__ */ x.jsx(
@@ -1765,9 +1765,9 @@ const zo = /* @__PURE__ */ Oe(({
1765
1765
  required: a,
1766
1766
  type: "text",
1767
1767
  value: u || r,
1768
- onBlur: ({ target: $ }) => m?.($.value),
1769
- onChange: ({ target: $ }) => k($.value),
1770
- onFocus: ({ target: $ }) => g?.($.value)
1768
+ onBlur: ({ target: I }) => m?.(I.value),
1769
+ onChange: ({ target: I }) => k(I.value),
1770
+ onFocus: ({ target: I }) => g?.(I.value)
1771
1771
  }
1772
1772
  );
1773
1773
  });
@@ -1790,18 +1790,18 @@ const Qs = /* @__PURE__ */ Oe(({
1790
1790
  K(C);
1791
1791
  }, k = (C) => {
1792
1792
  const E = M(C);
1793
- E !== u ? p?.(E) : K($(E));
1794
- }, $ = (C) => C.toLocaleString(), M = (C) => {
1793
+ E !== u ? p?.(E) : K(I(E));
1794
+ }, I = (C) => C.toLocaleString(), M = (C) => {
1795
1795
  const E = parseInt(C, 10);
1796
1796
  return E.toString() !== C.replace(/^0+/, "") ? u : b(E);
1797
1797
  }, b = (C) => {
1798
1798
  let E = C;
1799
1799
  return isNaN(l) || (E = Math.max(l, E)), isNaN(a) || (E = Math.min(a, E)), E;
1800
- }, [j, K] = Se($(u)), W = Zs(u), F = !isNaN(a) && u + 1 > a, Y = !isNaN(l) && u - 1 < l;
1800
+ }, [j, K] = Se(I(u)), W = Zs(u), B = !isNaN(a) && u + 1 > a, Y = !isNaN(l) && u - 1 < l;
1801
1801
  be(() => {
1802
1802
  if (W === void 0 || W === u) return;
1803
1803
  const C = b(u);
1804
- K($(C));
1804
+ K(I(C));
1805
1805
  }, [u, l, a]);
1806
1806
  const S = ze(e, {
1807
1807
  textField: Bn,
@@ -1832,7 +1832,7 @@ const Qs = /* @__PURE__ */ Oe(({
1832
1832
  /* @__PURE__ */ x.jsx(
1833
1833
  he,
1834
1834
  {
1835
- className: ie({ disabled: F }),
1835
+ className: ie({ disabled: B }),
1836
1836
  element: S.addButton ?? /* @__PURE__ */ x.jsx(Hn, {}),
1837
1837
  style: ce(Ut.add),
1838
1838
  onClick: () => _()
@@ -1893,11 +1893,11 @@ function ta({
1893
1893
  const p = Ee(void 0), g = _e(a), m = _e(l), N = _e(u);
1894
1894
  Be(() => {
1895
1895
  const _ = (k) => {
1896
- const $ = k.currentTarget;
1897
- m.current?.($);
1896
+ const I = k.currentTarget;
1897
+ m.current?.(I);
1898
1898
  }, P = (k) => {
1899
- const $ = k.currentTarget;
1900
- N.current?.($);
1899
+ const I = k.currentTarget;
1900
+ N.current?.(I);
1901
1901
  };
1902
1902
  return p.current = new Image(), e && (p.current.src = e), r && (p.current.srcset = r), s && (p.current.sizes = s), g.current?.(p.current), p.current.addEventListener("load", _), p.current.addEventListener("error", P), () => {
1903
1903
  p.current?.removeEventListener("load", _), p.current?.removeEventListener("error", P), p.current = void 0;
@@ -1916,14 +1916,14 @@ function Lo({
1916
1916
  } = {}) {
1917
1917
  const [g, m] = Se(), N = _e(l), _ = _e(u), P = _e(p), k = me((b) => {
1918
1918
  a || m(void 0), N.current?.(b);
1919
- }, [a]), $ = me((b) => {
1919
+ }, [a]), I = me((b) => {
1920
1920
  m(na(b)), _.current?.(b);
1921
1921
  }, []), M = me((b) => {
1922
1922
  a || m(void 0), P.current?.(b);
1923
1923
  }, [a]);
1924
1924
  return ta({ src: e, srcSet: r, sizes: s }, {
1925
1925
  onLoadStart: k,
1926
- onLoadComplete: $,
1926
+ onLoadComplete: I,
1927
1927
  onLoadError: M
1928
1928
  }), g;
1929
1929
  }
@@ -1976,7 +1976,7 @@ const Fo = /* @__PURE__ */ Oe(({
1976
1976
  return;
1977
1977
  }
1978
1978
  return M && (W = `${M} ${W}`), W;
1979
- }).filter(Boolean).join(", "), $ = Lo({
1979
+ }).filter(Boolean).join(", "), I = Lo({
1980
1980
  src: a,
1981
1981
  srcSet: P,
1982
1982
  sizes: k
@@ -1986,8 +1986,8 @@ const Fo = /* @__PURE__ */ Oe(({
1986
1986
  onLoadError: g
1987
1987
  });
1988
1988
  return be(() => {
1989
- m?.($);
1990
- }, [$?.width, $?.height]), /* @__PURE__ */ x.jsx(
1989
+ m?.(I);
1990
+ }, [I?.width, I?.height]), /* @__PURE__ */ x.jsx(
1991
1991
  "img",
1992
1992
  {
1993
1993
  ...N,
@@ -2015,11 +2015,11 @@ const ra = /* @__PURE__ */ Oe(({
2015
2015
  onLoadError: _,
2016
2016
  ...P
2017
2017
  }, k) => {
2018
- const $ = (E) => {
2018
+ const I = (E) => {
2019
2019
  K(E ? E.width / E.height : NaN);
2020
- }, M = Ee(null), b = k ?? M, [j, K] = Se(NaN), W = isNaN(a) ? j : a, F = nt(b), Y = F.width / F.height, S = Me.make(
2021
- Y > 1 ? Math.max(F.width, F.height * W) : Math.max(F.width, Math.max(F.height, F.width / W) * W),
2022
- Y > 1 ? Math.max(F.height, Math.max(F.width, F.height * W) / W) : Math.max(F.height, F.width / W)
2020
+ }, M = Ee(null), b = k ?? M, [j, K] = Se(NaN), W = isNaN(a) ? j : a, B = nt(b), Y = B.width / B.height, S = Me.make(
2021
+ Y > 1 ? Math.max(B.width, B.height * W) : Math.max(B.width, Math.max(B.height, B.width / W) * W),
2022
+ Y > 1 ? Math.max(B.height, Math.max(B.width, B.height * W) / W) : Math.max(B.height, B.width / W)
2023
2023
  ), C = ze(e, {
2024
2024
  content: Do,
2025
2025
  viewport: Vo
@@ -2046,7 +2046,7 @@ const ra = /* @__PURE__ */ Oe(({
2046
2046
  onLoadComplete: N,
2047
2047
  onLoadError: _,
2048
2048
  onLoadStart: m,
2049
- onSizeChange: (E) => $(E)
2049
+ onSizeChange: (E) => I(E)
2050
2050
  }
2051
2051
  ),
2052
2052
  C.viewport && /* @__PURE__ */ x.jsx(
@@ -2097,12 +2097,12 @@ function ia(e, {
2097
2097
  onLoadComplete: a,
2098
2098
  onLoadError: l
2099
2099
  } = {}) {
2100
- const [u, p] = Se(), g = _e(s), m = _e(a), N = _e(l), _ = me(($) => {
2101
- r || p(void 0), g.current?.($);
2102
- }, [r]), P = me(($) => {
2103
- p(sa($)), m.current?.($);
2104
- }, []), k = me(($) => {
2105
- r || p(void 0), N.current?.($);
2100
+ const [u, p] = Se(), g = _e(s), m = _e(a), N = _e(l), _ = me((I) => {
2101
+ r || p(void 0), g.current?.(I);
2102
+ }, [r]), P = me((I) => {
2103
+ p(sa(I)), m.current?.(I);
2104
+ }, []), k = me((I) => {
2105
+ r || p(void 0), N.current?.(I);
2106
2106
  }, [r]);
2107
2107
  return oa(e, {
2108
2108
  onLoadStart: _,
@@ -2128,13 +2128,13 @@ const Bo = /* @__PURE__ */ Oe(({
2128
2128
  onLoadMetadata: _,
2129
2129
  onLoadMetadataComplete: P,
2130
2130
  onLoadMetadataError: k,
2131
- onPause: $,
2131
+ onPause: I,
2132
2132
  onPlay: M,
2133
2133
  onSizeChange: b,
2134
2134
  onTimeUpdate: j,
2135
2135
  ...K
2136
2136
  }, W) => {
2137
- const F = Ee(null), Y = W ?? F, S = ia(p, {
2137
+ const B = Ee(null), Y = W ?? B, S = ia(p, {
2138
2138
  onLoadStart: _,
2139
2139
  onLoadComplete: P,
2140
2140
  onLoadError: k
@@ -2164,7 +2164,7 @@ const Bo = /* @__PURE__ */ Oe(({
2164
2164
  }, E = (H) => {
2165
2165
  M?.();
2166
2166
  }, R = (H) => {
2167
- $?.();
2167
+ I?.();
2168
2168
  }, U = (H) => {
2169
2169
  m?.();
2170
2170
  }, G = (H) => {
@@ -2210,17 +2210,17 @@ const aa = /* @__PURE__ */ Oe(({
2210
2210
  src: _,
2211
2211
  onCanPlay: P,
2212
2212
  onEnd: k,
2213
- onFullscreenChange: $,
2213
+ onFullscreenChange: I,
2214
2214
  onLoadMetadata: M,
2215
2215
  onLoadMetadataComplete: b,
2216
2216
  onLoadMetadataError: j,
2217
2217
  onPause: K,
2218
2218
  onPlay: W,
2219
- onSizeChange: F,
2219
+ onSizeChange: B,
2220
2220
  ...Y
2221
2221
  }, S) => {
2222
2222
  const C = (A) => {
2223
- G(A ? A.width / A.height : NaN), F?.(A);
2223
+ G(A ? A.width / A.height : NaN), B?.(A);
2224
2224
  }, E = S ?? Ee(null), R = nt(E), [U, G] = Se(NaN), te = isNaN(a) ? U : a, J = R.width / R.height, H = Me.make(
2225
2225
  J > 1 ? Math.max(R.width, R.height * te) : Math.max(R.width, Math.max(R.height, R.width / te) * te),
2226
2226
  J > 1 ? Math.max(R.height, Math.max(R.width, R.height * te) / te) : Math.max(R.height, R.width / te)
@@ -2253,7 +2253,7 @@ const aa = /* @__PURE__ */ Oe(({
2253
2253
  }),
2254
2254
  onCanPlay: P,
2255
2255
  onEnd: k,
2256
- onFullscreenChange: $,
2256
+ onFullscreenChange: I,
2257
2257
  onLoadMetadata: M,
2258
2258
  onLoadMetadataComplete: b,
2259
2259
  onLoadMetadataError: j,
@@ -2304,9 +2304,9 @@ const ca = /* @__PURE__ */ Oe(({
2304
2304
  const _ = u * 2, P = Math.max(0, Math.min(360, a)), k = ze(e, {
2305
2305
  track: Xn,
2306
2306
  knob: Un
2307
- }), $ = ua({ angle: s, diameter: _ });
2308
- return /* @__PURE__ */ x.jsxs("div", { ...m, ref: N, style: ce(r, $.root), children: [
2309
- /* @__PURE__ */ x.jsx("div", { style: $.trackContainer, children: /* @__PURE__ */ x.jsx("svg", { height: _, style: $.svgContainer, viewBox: `0 0 ${_} ${_}`, width: _, children: /* @__PURE__ */ x.jsx(
2307
+ }), I = ua({ angle: s, diameter: _ });
2308
+ return /* @__PURE__ */ x.jsxs("div", { ...m, ref: N, style: ce(r, I.root), children: [
2309
+ /* @__PURE__ */ x.jsx("div", { style: I.trackContainer, children: /* @__PURE__ */ x.jsx("svg", { height: _, style: I.svgContainer, viewBox: `0 0 ${_} ${_}`, width: _, children: /* @__PURE__ */ x.jsx(
2310
2310
  he,
2311
2311
  {
2312
2312
  cx: u,
@@ -2318,7 +2318,7 @@ const ca = /* @__PURE__ */ Oe(({
2318
2318
  strokeWidth: g
2319
2319
  }
2320
2320
  ) }) }),
2321
- /* @__PURE__ */ x.jsx("div", { style: ce($.knobContainer), children: /* @__PURE__ */ x.jsx("svg", { style: $.svgContainer, viewBox: `0 0 ${_} ${_}`, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx(
2321
+ /* @__PURE__ */ x.jsx("div", { style: ce(I.knobContainer), children: /* @__PURE__ */ x.jsx("svg", { style: I.svgContainer, viewBox: `0 0 ${_} ${_}`, xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ x.jsx(
2322
2322
  he,
2323
2323
  {
2324
2324
  d: la(u, u, u - l / 2 - (g - l) / 2, -P / 2, P / 2),
@@ -2401,13 +2401,13 @@ const fa = /* @__PURE__ */ Oe(({
2401
2401
  itemLength: _,
2402
2402
  itemPadding: P = 0,
2403
2403
  items: k = [],
2404
- maxVisibleItems: $ = -1,
2404
+ maxVisibleItems: I = -1,
2405
2405
  numSegments: M = 1,
2406
2406
  orientation: b = "vertical",
2407
2407
  selection: j = [],
2408
2408
  selectionMode: K = "single",
2409
2409
  onActivateAt: W,
2410
- onCollapse: F,
2410
+ onCollapse: B,
2411
2411
  onDeselectAt: Y,
2412
2412
  onExpand: S,
2413
2413
  onSelectAt: C,
@@ -2417,23 +2417,23 @@ const fa = /* @__PURE__ */ Oe(({
2417
2417
  ToggleComponent: G,
2418
2418
  ...te
2419
2419
  }, J) => {
2420
- const H = Ee(null), z = nt(H), A = k.length, Q = ga(k, $, M, m), Z = _ ?? (b === "vertical" ? z.height : z.width), se = Z * Q + P * (Q - 1), D = pa(j, k), [T, V] = Se(u ?? !0), ne = ma({ isCollapsed: T, collectionPadding: l, isInverted: p, maxVisibleItems: $, menuLength: se, numItems: A, orientation: b }), re = ze(e, {
2420
+ const H = Ee(null), z = nt(H), A = k.length, Q = ga(k, I, M, m), Z = _ ?? (b === "vertical" ? z.height : z.width), se = Z * Q + P * (Q - 1), F = pa(j, k), [T, D] = Se(u ?? !0), ne = ma({ isCollapsed: T, collectionPadding: l, isInverted: p, maxVisibleItems: I, menuLength: se, numItems: A, orientation: b }), re = ze(e, {
2421
2421
  collapseIcon: Xo,
2422
2422
  collection: qn,
2423
2423
  expandIcon: Uo,
2424
2424
  item: Gn,
2425
2425
  toggle: Wn
2426
2426
  }), le = () => {
2427
- T && (V(!1), S?.());
2427
+ T && (D(!1), S?.());
2428
2428
  }, pe = () => {
2429
- T || (V(!0), F?.());
2429
+ T || (D(!0), B?.());
2430
2430
  }, Ne = () => {
2431
2431
  T ? le() : pe();
2432
2432
  }, Te = (xe) => {
2433
2433
  C?.(xe), K === "single" && a && pe();
2434
2434
  };
2435
2435
  return be(() => {
2436
- u !== void 0 && V(u);
2436
+ u !== void 0 && D(u);
2437
2437
  }, [u]), be(() => {
2438
2438
  const xe = (q) => {
2439
2439
  if (T || !(q.target instanceof Node)) return;
@@ -2479,7 +2479,7 @@ const fa = /* @__PURE__ */ Oe(({
2479
2479
  style: ce(ne.toggle),
2480
2480
  onClick: Ne,
2481
2481
  children: [
2482
- /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: g?.(D) ?? (D.length > 0 ? D.map((xe) => k[xe]).join(", ") : "") } }),
2482
+ /* @__PURE__ */ x.jsx("span", { dangerouslySetInnerHTML: { __html: g?.(F) ?? (F.length > 0 ? F.map((xe) => k[xe]).join(", ") : "") } }),
2483
2483
  re.expandIcon && /* @__PURE__ */ x.jsx(
2484
2484
  he,
2485
2485
  {
@@ -2503,7 +2503,7 @@ const fa = /* @__PURE__ */ Oe(({
2503
2503
  layout: m,
2504
2504
  numSegments: M,
2505
2505
  orientation: b,
2506
- selection: D,
2506
+ selection: F,
2507
2507
  selectionMode: K,
2508
2508
  style: ce(ne.collection),
2509
2509
  onActivateAt: W,
@@ -2896,7 +2896,7 @@ const ja = {
2896
2896
  },
2897
2897
  // skipEmptyListItem: false
2898
2898
  captureMetaData: !1
2899
- }, $a = function(e) {
2899
+ }, Ia = function(e) {
2900
2900
  return Object.assign({}, ja, e);
2901
2901
  };
2902
2902
  let on;
@@ -2916,7 +2916,7 @@ class at {
2916
2916
  return on;
2917
2917
  }
2918
2918
  }
2919
- function Ia(e, r) {
2919
+ function $a(e, r) {
2920
2920
  const s = {};
2921
2921
  if (e[r + 3] === "O" && e[r + 4] === "C" && e[r + 5] === "T" && e[r + 6] === "Y" && e[r + 7] === "P" && e[r + 8] === "E") {
2922
2922
  r = r + 9;
@@ -3221,7 +3221,7 @@ const Ja = function(e) {
3221
3221
  }
3222
3222
  u = g;
3223
3223
  } else if (e.substr(u + 1, 2) === "!D") {
3224
- const g = Ia(e, u);
3224
+ const g = $a(e, u);
3225
3225
  this.docTypeEntities = g.entities, u = g.i;
3226
3226
  } else if (e.substr(u + 1, 2) === "![") {
3227
3227
  const g = lt(e, "]]>", u, "CDATA is not closed.") - 2, m = e.substring(u + 9, g);
@@ -3233,8 +3233,8 @@ const Ja = function(e) {
3233
3233
  const N = g.rawTagName;
3234
3234
  let _ = g.tagExp, P = g.attrExpPresent, k = g.closeIndex;
3235
3235
  this.options.transformTagName && (m = this.options.transformTagName(m)), s && a && s.tagname !== "!xml" && (a = this.saveTextToParentTag(a, s, l, !1));
3236
- const $ = s;
3237
- $ && this.options.unpairedTags.indexOf($.tagname) !== -1 && (s = this.tagsNodeStack.pop(), l = l.substring(0, l.lastIndexOf("."))), m !== r.tagname && (l += l ? "." + m : m);
3236
+ const I = s;
3237
+ I && this.options.unpairedTags.indexOf(I.tagname) !== -1 && (s = this.tagsNodeStack.pop(), l = l.substring(0, l.lastIndexOf("."))), m !== r.tagname && (l += l ? "." + m : m);
3238
3238
  const M = u;
3239
3239
  if (this.isItStopNode(this.options.stopNodes, l, m)) {
3240
3240
  let b = "";
@@ -3434,7 +3434,7 @@ function ac(e, r) {
3434
3434
  }
3435
3435
  class cc {
3436
3436
  constructor(r) {
3437
- this.externalEntities = {}, this.options = $a(r);
3437
+ this.externalEntities = {}, this.options = Ia(r);
3438
3438
  }
3439
3439
  /**
3440
3440
  * Parse XML dats to JS object
@@ -3515,8 +3515,8 @@ function Jo(e, r, s, a) {
3515
3515
  }
3516
3516
  let _ = a;
3517
3517
  _ !== "" && (_ += r.indentBy);
3518
- const P = yo(g[":@"], r), k = a + `<${m}${P}`, $ = Jo(g[m], r, N, _);
3519
- r.unpairedTags.indexOf(m) !== -1 ? r.suppressUnpairedNode ? l += k + ">" : l += k + "/>" : (!$ || $.length === 0) && r.suppressEmptyNode ? l += k + "/>" : $ && $.endsWith(">") ? l += k + `>${$}${a}</${m}>` : (l += k + ">", $ && a !== "" && ($.includes("/>") || $.includes("</")) ? l += a + r.indentBy + $ + a : l += $, l += `</${m}>`), u = !0;
3518
+ const P = yo(g[":@"], r), k = a + `<${m}${P}`, I = Jo(g[m], r, N, _);
3519
+ r.unpairedTags.indexOf(m) !== -1 ? r.suppressUnpairedNode ? l += k + ">" : l += k + "/>" : (!I || I.length === 0) && r.suppressEmptyNode ? l += k + "/>" : I && I.endsWith(">") ? l += k + `>${I}${a}</${m}>` : (l += k + ">", I && a !== "" && (I.includes("/>") || I.includes("</")) ? l += a + r.indentBy + I + a : l += I, l += `</${m}>`), u = !0;
3520
3520
  }
3521
3521
  return l;
3522
3522
  }
@@ -3704,7 +3704,7 @@ const vc = /* @__PURE__ */ Oe(({
3704
3704
  shouldStripStyles: u = !0,
3705
3705
  ...p
3706
3706
  }, g) => {
3707
- const m = "@_", N = ["id"].map((M) => `${m}${M}`), _ = ["class"].map((M) => `${m}${M}`), P = ["fill", "stroke", "style"].map((M) => `${m}${M}`), k = ["x", "y"].map((M) => `${m}${M}`), $ = () => {
3707
+ const m = "@_", N = ["id"].map((M) => `${m}${M}`), _ = ["class"].map((M) => `${m}${M}`), P = ["fill", "stroke", "style"].map((M) => `${m}${M}`), k = ["x", "y"].map((M) => `${m}${M}`), I = () => {
3708
3708
  const M = new cc({
3709
3709
  attributeNamePrefix: m,
3710
3710
  ignoreAttributes: !1,
@@ -3712,21 +3712,21 @@ const vc = /* @__PURE__ */ Oe(({
3712
3712
  ignorePiTags: !0,
3713
3713
  removeNSPrefix: !0,
3714
3714
  trimValues: !0,
3715
- updateTag: (K, W, F) => {
3715
+ updateTag: (K, W, B) => {
3716
3716
  if (u && K.toLowerCase() === "style") return !1;
3717
- const Y = Object.keys(F);
3717
+ const Y = Object.keys(B);
3718
3718
  for (const S of Y)
3719
- K.toLowerCase() === "svg" && (l && k.includes(S.toLowerCase()) && delete F[S], e !== "preserve" && (S.toLowerCase() === `${m}width` && delete F[S], S.toLowerCase() === `${m}height` && delete F[S])), a && N.includes(S.toLowerCase()) && delete F[S], s && _.includes(S.toLowerCase()) && delete F[S], u && P.includes(S.toLowerCase()) && delete F[S];
3719
+ K.toLowerCase() === "svg" && (l && k.includes(S.toLowerCase()) && delete B[S], e !== "preserve" && (S.toLowerCase() === `${m}width` && delete B[S], S.toLowerCase() === `${m}height` && delete B[S])), a && N.includes(S.toLowerCase()) && delete B[S], s && _.includes(S.toLowerCase()) && delete B[S], u && P.includes(S.toLowerCase()) && delete B[S];
3720
3720
  if (K.toLowerCase() === "svg")
3721
3721
  switch (e) {
3722
3722
  case "fill":
3723
- F[`${m}width`] = "100%", F[`${m}height`] = "100%";
3723
+ B[`${m}width`] = "100%", B[`${m}height`] = "100%";
3724
3724
  break;
3725
3725
  case "width":
3726
- F[`${m}width`] = "100%", F[`${m}height`] = "auto";
3726
+ B[`${m}width`] = "100%";
3727
3727
  break;
3728
3728
  case "height":
3729
- F[`${m}width`] = "auto", F[`${m}height`] = "100%";
3729
+ B[`${m}height`] = "100%";
3730
3730
  break;
3731
3731
  }
3732
3732
  return K;
@@ -3743,7 +3743,7 @@ const vc = /* @__PURE__ */ Oe(({
3743
3743
  {
3744
3744
  ...p,
3745
3745
  ref: g,
3746
- dangerouslySetInnerHTML: { __html: $() },
3746
+ dangerouslySetInnerHTML: { __html: I() },
3747
3747
  role: "img"
3748
3748
  }
3749
3749
  );
@@ -3760,7 +3760,7 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3760
3760
  verticalSpacing: g = 0,
3761
3761
  ...m
3762
3762
  }, N) => {
3763
- const _ = Ee(null), [P, k] = Se(NaN), [$, M] = Se(NaN), [b, j] = Se(NaN), [K, W] = Se(NaN), F = () => ge.from(_.current)?.width ?? 0, Y = () => ge.from(_.current)?.height ?? 0, S = () => {
3763
+ const _ = Ee(null), [P, k] = Se(NaN), [I, M] = Se(NaN), [b, j] = Se(NaN), [K, W] = Se(NaN), B = () => ge.from(_.current)?.width ?? 0, Y = () => ge.from(_.current)?.height ?? 0, S = () => {
3764
3764
  const U = _.current;
3765
3765
  if (!U) return;
3766
3766
  const G = U.children, te = p;
@@ -3774,15 +3774,15 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3774
3774
  if (!(A instanceof HTMLElement)) continue;
3775
3775
  const Q = wo(A, p), [Z, se] = bo(J, Q);
3776
3776
  A.role = "gridcell", A.style.position = "absolute", A.style.width = `calc(${100 / te * Q}% - ${a * (te - 1) / te * Q}px + ${a * (Q - 1)}px)`, A.style.height = "", A.style.left = `calc(${100 / te * Z}% - ${a * (te - 1) / te * Z}px + ${a * Z}px)`, A.style.top = `${se + (se === 0 ? 0 : g)}px`;
3777
- for (let D = 0; D < Q; D++)
3778
- J[Z + D] = se + (se === 0 ? 0 : g) + (ge.from(A)?.height ?? 0);
3777
+ for (let F = 0; F < Q; F++)
3778
+ J[Z + F] = se + (se === 0 ? 0 : g) + (ge.from(A)?.height ?? 0);
3779
3779
  if (e && Z + Q === te) {
3780
- const D = Pt(J);
3780
+ const F = Pt(J);
3781
3781
  for (let T = 0; T < te; T++)
3782
- J[T] = D;
3782
+ J[T] = F;
3783
3783
  }
3784
3784
  }
3785
- const H = F(), z = Pt(J, te);
3785
+ const H = B(), z = Pt(J, te);
3786
3786
  if (k(H), M(z), isNaN(z) || (U.style.height = `${z}px`), l)
3787
3787
  for (const A of Array.from(G))
3788
3788
  A instanceof HTMLElement && (A.style.left = `calc(${H}px - ${A.style.left} - ${A.getBoundingClientRect().width}px)`);
@@ -3792,12 +3792,12 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3792
3792
  if (!(A instanceof HTMLElement)) continue;
3793
3793
  const Q = wo(A, p), [Z, se] = bo(J, Q);
3794
3794
  A.style.position = "absolute", A.style.width = "", A.style.height = `calc(${100 / te * Q}% - ${g * (te - 1) / te * Q}px + ${g * (Q - 1)}px)`, A.style.top = `calc(${100 / te * Z}% - ${g * (te - 1) / te * Z}px + ${g * Z}px)`, A.style.left = `${se + (se === 0 ? 0 : a)}px`;
3795
- for (let D = 0; D < Q; D++)
3796
- J[Z + D] = se + (se === 0 ? 0 : a) + (ge.from(A)?.width ?? 0);
3795
+ for (let F = 0; F < Q; F++)
3796
+ J[Z + F] = se + (se === 0 ? 0 : a) + (ge.from(A)?.width ?? 0);
3797
3797
  if (e && Z + Q === te) {
3798
- const D = Pt(J);
3798
+ const F = Pt(J);
3799
3799
  for (let T = 0; T < te; T++)
3800
- J[T] = D;
3800
+ J[T] = F;
3801
3801
  }
3802
3802
  }
3803
3803
  const H = Y(), z = Pt(J, te);
@@ -3806,8 +3806,8 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3806
3806
  A instanceof HTMLElement && (A.style.top = `calc(${H}px - ${A.style.top} - ${A.getBoundingClientRect().height}px)`);
3807
3807
  }
3808
3808
  }, C = me((U) => {
3809
- const G = ge.size(ge.from(U) ?? ge.zero), te = F(), J = Y();
3810
- (P !== te || $ !== J || G.width !== b || G.height !== K) && (S(), j(G.width), W(G.height));
3809
+ const G = ge.size(ge.from(U) ?? ge.zero), te = B(), J = Y();
3810
+ (P !== te || I !== J || G.width !== b || G.height !== K) && (S(), j(G.width), W(G.height));
3811
3811
  }, [e, a, l, p, g, u]);
3812
3812
  dr(_, {
3813
3813
  onResize: C
@@ -3820,7 +3820,7 @@ const xo = "base-", yc = /* @__PURE__ */ Oe(({
3820
3820
  H.src = J, H.onload = () => S();
3821
3821
  }
3822
3822
  }, [r]);
3823
- const E = xc({ orientation: u }), R = bc({ orientation: u, minHeight: $, minWidth: P });
3823
+ const E = xc({ orientation: u }), R = bc({ orientation: u, minHeight: I, minWidth: P });
3824
3824
  return /* @__PURE__ */ x.jsx(
3825
3825
  "div",
3826
3826
  {
@@ -3976,7 +3976,7 @@ function Sc() {
3976
3976
  if (n === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
3977
3977
  return n;
3978
3978
  }
3979
- function $(n) {
3979
+ function I(n) {
3980
3980
  var t = function() {
3981
3981
  if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
3982
3982
  if (typeof Proxy == "function") return !0;
@@ -4028,7 +4028,7 @@ function Sc() {
4028
4028
  var j = function(n) {
4029
4029
  return !(!n || !n.Window) && n instanceof n.Window;
4030
4030
  }, K = void 0, W = void 0;
4031
- function F(n) {
4031
+ function B(n) {
4032
4032
  K = n;
4033
4033
  var t = n.document.createTextNode("");
4034
4034
  t.ownerDocument !== n.document && typeof n.wrap == "function" && n.wrap(t) === t && (n = n.wrap(n)), W = n;
@@ -4036,7 +4036,7 @@ function Sc() {
4036
4036
  function Y(n) {
4037
4037
  return j(n) ? n : (n.ownerDocument || n).defaultView || W.window;
4038
4038
  }
4039
- typeof window < "u" && window && F(window);
4039
+ typeof window < "u" && window && B(window);
4040
4040
  var S = function(n) {
4041
4041
  return !!n && l(n) === "object";
4042
4042
  }, C = function(n) {
@@ -4110,11 +4110,11 @@ function Sc() {
4110
4110
  function se(n, t) {
4111
4111
  for (; E.element(n); ) {
4112
4112
  if (T(n, t)) return n;
4113
- n = D(n);
4113
+ n = F(n);
4114
4114
  }
4115
4115
  return null;
4116
4116
  }
4117
- function D(n) {
4117
+ function F(n) {
4118
4118
  var t = n.parentNode;
4119
4119
  if (E.docFrag(t)) {
4120
4120
  for (; (t = t.host) && E.docFrag(t); ) ;
@@ -4125,17 +4125,17 @@ function Sc() {
4125
4125
  function T(n, t) {
4126
4126
  return W !== K && (t = t.replace(/\/deep\//g, " ")), n[Q.prefixedMatchesSelector](t);
4127
4127
  }
4128
- var V = function(n) {
4128
+ var D = function(n) {
4129
4129
  return n.parentNode || n.host;
4130
4130
  };
4131
4131
  function ne(n, t) {
4132
- for (var o, i = [], c = n; (o = V(c)) && c !== t && o !== c.ownerDocument; ) i.unshift(c), c = o;
4132
+ for (var o, i = [], c = n; (o = D(c)) && c !== t && o !== c.ownerDocument; ) i.unshift(c), c = o;
4133
4133
  return i;
4134
4134
  }
4135
4135
  function re(n, t, o) {
4136
4136
  for (; E.element(n); ) {
4137
4137
  if (T(n, t)) return !0;
4138
- if ((n = D(n)) === o) return T(n, t);
4138
+ if ((n = F(n)) === o) return T(n, t);
4139
4139
  }
4140
4140
  return !1;
4141
4141
  }
@@ -4155,7 +4155,7 @@ function Sc() {
4155
4155
  return o;
4156
4156
  }
4157
4157
  function Te(n) {
4158
- for (var t = []; n; ) t.push(n), n = D(n);
4158
+ for (var t = []; n; ) t.push(n), n = F(n);
4159
4159
  return t;
4160
4160
  }
4161
4161
  function xe(n) {
@@ -4166,7 +4166,7 @@ function Sc() {
4166
4166
  return n;
4167
4167
  }
4168
4168
  function Fe(n, t, o) {
4169
- return n === "parent" ? D(o) : n === "self" ? t.getRect(o) : se(o, n);
4169
+ return n === "parent" ? F(o) : n === "self" ? t.getRect(o) : se(o, n);
4170
4170
  }
4171
4171
  function je(n, t, o, i) {
4172
4172
  var c = n;
@@ -4209,7 +4209,7 @@ function Sc() {
4209
4209
  var pt = function(n, t) {
4210
4210
  return Math.sqrt(n * n + t * t);
4211
4211
  }, ii = ["webkit", "moz"];
4212
- function $t(n, t) {
4212
+ function It(n, t) {
4213
4213
  n.__set || (n.__set = {});
4214
4214
  var o = function(c) {
4215
4215
  if (ii.some(function(f) {
@@ -4224,7 +4224,7 @@ function Sc() {
4224
4224
  for (var i in t) o(i);
4225
4225
  return n;
4226
4226
  }
4227
- function It(n, t) {
4227
+ function $t(n, t) {
4228
4228
  n.page = n.page || {}, n.page.x = t.page.x, n.page.y = t.page.y, n.client = n.client || {}, n.client.x = t.client.x, n.client.y = t.client.y, n.timeStamp = t.timeStamp;
4229
4229
  }
4230
4230
  function yr(n) {
@@ -4310,7 +4310,7 @@ function Sc() {
4310
4310
  return n[gt(n, t)];
4311
4311
  }, ut = function(n) {
4312
4312
  N(o, n);
4313
- var t = $(o);
4313
+ var t = I(o);
4314
4314
  function o(i, c, f) {
4315
4315
  var d;
4316
4316
  u(this, o), (d = t.call(this, c._interaction)).dropzone = void 0, d.dragEvent = void 0, d.relatedTarget = void 0, d.draggable = void 0, d.propagationStopped = !1, d.immediatePropagationStopped = !1;
@@ -4347,8 +4347,8 @@ function Sc() {
4347
4347
  var y = w[v];
4348
4348
  if (y.options.drop.enabled) {
4349
4349
  var O = y.options.drop.accept;
4350
- if (!(E.element(O) && O !== d || E.string(O) && !T(d, O) || E.func(O) && !O({ dropzone: y, draggableElement: d }))) for (var I = 0, B = y.getAllElements(); I < B.length; I++) {
4351
- var L = B[I];
4350
+ if (!(E.element(O) && O !== d || E.string(O) && !T(d, O) || E.func(O) && !O({ dropzone: y, draggableElement: d }))) for (var $ = 0, V = y.getAllElements(); $ < V.length; $++) {
4351
+ var L = V[$];
4352
4352
  L !== d && h.push({ dropzone: y, element: L, rect: y.getRect(L) });
4353
4353
  }
4354
4354
  }
@@ -4362,15 +4362,15 @@ function Sc() {
4362
4362
  }
4363
4363
  function Or(n, t, o) {
4364
4364
  for (var i = n.dropState, c = n.interactable, f = n.element, d = [], h = 0, v = i.activeDrops; h < v.length; h++) {
4365
- var w = v[h], y = w.dropzone, O = w.element, I = w.rect, B = y.dropCheck(t, o, c, f, O, I);
4366
- d.push(B ? O : null);
4365
+ var w = v[h], y = w.dropzone, O = w.element, $ = w.rect, V = y.dropCheck(t, o, c, f, O, $);
4366
+ d.push(V ? O : null);
4367
4367
  }
4368
4368
  var L = function(X) {
4369
4369
  for (var oe, ee, ae, ve = [], we = 0; we < X.length; we++) {
4370
4370
  var ue = X[we], ye = X[oe];
4371
4371
  if (ue && we !== oe) if (ye) {
4372
- var Ie = V(ue), Pe = V(ye);
4373
- if (Ie !== ue.ownerDocument) if (Pe !== ue.ownerDocument) if (Ie !== Pe) {
4372
+ var $e = D(ue), Pe = D(ye);
4373
+ if ($e !== ue.ownerDocument) if (Pe !== ue.ownerDocument) if ($e !== Pe) {
4374
4374
  ve = ve.length ? ve : ne(ye);
4375
4375
  var Le = void 0;
4376
4376
  if (ye instanceof z.HTMLElement && ue instanceof z.SVGElement && !(ue instanceof z.SVGSVGElement)) {
@@ -4418,8 +4418,8 @@ function Sc() {
4418
4418
  return function(d, h) {
4419
4419
  if (E.object(h)) {
4420
4420
  if (d.options.drop.enabled = h.enabled !== !1, h.listeners) {
4421
- var v = Ye(h.listeners), w = Object.keys(v).reduce(function(O, I) {
4422
- return O[/^(enter|leave)/.test(I) ? "drag".concat(I) : /^(activate|deactivate|move)/.test(I) ? "drop".concat(I) : I] = v[I], O;
4421
+ var v = Ye(h.listeners), w = Object.keys(v).reduce(function(O, $) {
4422
+ return O[/^(enter|leave)/.test($) ? "drag".concat($) : /^(activate|deactivate|move)/.test($) ? "drop".concat($) : $] = v[$], O;
4423
4423
  }, {}), y = d.options.drop.listeners;
4424
4424
  y && d.off(y), d.on(w), d.options.drop.listeners = w;
4425
4425
  }
@@ -4428,22 +4428,22 @@ function Sc() {
4428
4428
  return E.bool(h) ? (d.options.drop.enabled = h, d) : d.options.drop;
4429
4429
  }(this, f);
4430
4430
  }, i.prototype.dropCheck = function(f, d, h, v, w, y) {
4431
- return function(O, I, B, L, X, oe, ee) {
4431
+ return function(O, $, V, L, X, oe, ee) {
4432
4432
  var ae = !1;
4433
- if (!(ee = ee || O.getRect(oe))) return !!O.options.drop.checker && O.options.drop.checker(I, B, ae, O, oe, L, X);
4433
+ if (!(ee = ee || O.getRect(oe))) return !!O.options.drop.checker && O.options.drop.checker($, V, ae, O, oe, L, X);
4434
4434
  var ve = O.options.drop.overlap;
4435
4435
  if (ve === "pointer") {
4436
- var we = He(L, X, "drag"), ue = br(I);
4436
+ var we = He(L, X, "drag"), ue = br($);
4437
4437
  ue.x += we.x, ue.y += we.y;
4438
- var ye = ue.x > ee.left && ue.x < ee.right, Ie = ue.y > ee.top && ue.y < ee.bottom;
4439
- ae = ye && Ie;
4438
+ var ye = ue.x > ee.left && ue.x < ee.right, $e = ue.y > ee.top && ue.y < ee.bottom;
4439
+ ae = ye && $e;
4440
4440
  }
4441
4441
  var Pe = L.getRect(X);
4442
4442
  if (Pe && ve === "center") {
4443
4443
  var Le = Pe.left + Pe.width / 2, De = Pe.top + Pe.height / 2;
4444
4444
  ae = Le >= ee.left && Le <= ee.right && De >= ee.top && De <= ee.bottom;
4445
4445
  }
4446
- return Pe && E.number(ve) && (ae = Math.max(0, Math.min(ee.right, Pe.right) - Math.max(ee.left, Pe.left)) * Math.max(0, Math.min(ee.bottom, Pe.bottom) - Math.max(ee.top, Pe.top)) / (Pe.width * Pe.height) >= ve), O.options.drop.checker && (ae = O.options.drop.checker(I, B, ae, O, oe, L, X)), ae;
4446
+ return Pe && E.number(ve) && (ae = Math.max(0, Math.min(ee.right, Pe.right) - Math.max(ee.left, Pe.left)) * Math.max(0, Math.min(ee.bottom, Pe.bottom) - Math.max(ee.top, Pe.top)) / (Pe.width * Pe.height) >= ve), O.options.drop.checker && (ae = O.options.drop.checker($, V, ae, O, oe, L, X)), ae;
4447
4447
  }(this, f, d, h, v, w, y);
4448
4448
  }, o.dynamicDrop = function(f) {
4449
4449
  return E.bool(f) ? (n.dynamicDrop = f, o) : n.dynamicDrop;
@@ -4555,12 +4555,12 @@ function Sc() {
4555
4555
  (function(t) {
4556
4556
  var o = t.iEvent, i = t.interaction;
4557
4557
  if (i.prepared.name === "resize" && i.prepared.edges) {
4558
- var c = o, f = i.interactable.options.resize.invert, d = f === "reposition" || f === "negate", h = i.rect, v = i._rects, w = v.start, y = v.corrected, O = v.delta, I = v.previous;
4559
- if (q(I, y), d) {
4558
+ var c = o, f = i.interactable.options.resize.invert, d = f === "reposition" || f === "negate", h = i.rect, v = i._rects, w = v.start, y = v.corrected, O = v.delta, $ = v.previous;
4559
+ if (q($, y), d) {
4560
4560
  if (q(y, h), f === "reposition") {
4561
4561
  if (y.top > y.bottom) {
4562
- var B = y.top;
4563
- y.top = y.bottom, y.bottom = B;
4562
+ var V = y.top;
4563
+ y.top = y.bottom, y.bottom = V;
4564
4564
  }
4565
4565
  if (y.left > y.right) {
4566
4566
  var L = y.left;
@@ -4568,7 +4568,7 @@ function Sc() {
4568
4568
  }
4569
4569
  }
4570
4570
  } else y.top = Math.min(h.top, w.bottom), y.bottom = Math.max(h.bottom, w.top), y.left = Math.min(h.left, w.right), y.right = Math.max(h.right, w.left);
4571
- for (var X in y.width = y.right - y.left, y.height = y.bottom - y.top, y) O[X] = y[X] - I[X];
4571
+ for (var X in y.width = y.right - y.left, y.height = y.bottom - y.top, y) O[X] = y[X] - $[X];
4572
4572
  c.edges = i.prepared.edges, c.rect = y, c.deltaRect = O;
4573
4573
  }
4574
4574
  })(n), Cr(n);
@@ -4631,14 +4631,14 @@ function Sc() {
4631
4631
  }, stop: function() {
4632
4632
  fe.isScrolling = !1, fe.interaction && (fe.interaction.autoScroll = null), Ke.cancel(fe.i);
4633
4633
  }, scroll: function() {
4634
- var n = fe.interaction, t = n.interactable, o = n.element, i = n.prepared.name, c = t.options[i].autoScroll, f = $r(c.container, t, o), d = fe.now(), h = (d - fe.prevTime) / 1e3, v = c.speed * h;
4634
+ var n = fe.interaction, t = n.interactable, o = n.element, i = n.prepared.name, c = t.options[i].autoScroll, f = Ir(c.container, t, o), d = fe.now(), h = (d - fe.prevTime) / 1e3, v = c.speed * h;
4635
4635
  if (v >= 1) {
4636
4636
  var w = { x: fe.x * v, y: fe.y * v };
4637
4637
  if (w.x || w.y) {
4638
- var y = Ir(f);
4638
+ var y = $r(f);
4639
4639
  E.window(f) ? f.scrollBy(w.x, w.y) : f && (f.scrollLeft += w.x, f.scrollTop += w.y);
4640
- var O = Ir(f), I = { x: O.x - y.x, y: O.y - y.y };
4641
- (I.x || I.y) && t.fire({ type: "autoscroll", target: o, interactable: t, delta: I, interaction: n, container: f });
4640
+ var O = $r(f), $ = { x: O.x - y.x, y: O.y - y.y };
4641
+ ($.x || $.y) && t.fire({ type: "autoscroll", target: o, interactable: t, delta: $, interaction: n, container: f });
4642
4642
  }
4643
4643
  fe.prevTime = d;
4644
4644
  }
@@ -4650,19 +4650,19 @@ function Sc() {
4650
4650
  var t = n.interaction, o = n.pointer;
4651
4651
  if (t.interacting() && fe.check(t.interactable, t.prepared.name)) if (t.simulation) fe.x = fe.y = 0;
4652
4652
  else {
4653
- var i, c, f, d, h = t.interactable, v = t.element, w = t.prepared.name, y = h.options[w].autoScroll, O = $r(y.container, h, v);
4653
+ var i, c, f, d, h = t.interactable, v = t.element, w = t.prepared.name, y = h.options[w].autoScroll, O = Ir(y.container, h, v);
4654
4654
  if (E.window(O)) d = o.clientX < fe.margin, i = o.clientY < fe.margin, c = o.clientX > O.innerWidth - fe.margin, f = o.clientY > O.innerHeight - fe.margin;
4655
4655
  else {
4656
- var I = pe(O);
4657
- d = o.clientX < I.left + fe.margin, i = o.clientY < I.top + fe.margin, c = o.clientX > I.right - fe.margin, f = o.clientY > I.bottom - fe.margin;
4656
+ var $ = pe(O);
4657
+ d = o.clientX < $.left + fe.margin, i = o.clientY < $.top + fe.margin, c = o.clientX > $.right - fe.margin, f = o.clientY > $.bottom - fe.margin;
4658
4658
  }
4659
4659
  fe.x = c ? 1 : d ? -1 : 0, fe.y = f ? 1 : i ? -1 : 0, fe.isScrolling || (fe.margin = y.margin, fe.speed = y.speed, fe.start(t));
4660
4660
  }
4661
4661
  } };
4662
- function $r(n, t, o) {
4662
+ function Ir(n, t, o) {
4663
4663
  return (E.string(n) ? Fe(n, t, o) : n) || Y(o);
4664
4664
  }
4665
- function Ir(n) {
4665
+ function $r(n) {
4666
4666
  return E.window(n) && (n = window.document.body), { x: n.scrollLeft, y: n.scrollTop };
4667
4667
  }
4668
4668
  var di = { id: "auto-scroll", install: function(n) {
@@ -4696,7 +4696,7 @@ function Sc() {
4696
4696
  var t = n.Interactable;
4697
4697
  t.prototype.getAction = function(o, i, c, f) {
4698
4698
  var d = function(h, v, w, y, O) {
4699
- var I = h.getRect(y), B = v.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[v.button], L = { action: null, interactable: h, interaction: w, element: y, rect: I, buttons: B };
4699
+ var $ = h.getRect(y), V = v.buttons || { 0: 1, 1: 4, 3: 8, 4: 16 }[v.button], L = { action: null, interactable: h, interaction: w, element: y, rect: $, buttons: V };
4700
4700
  return O.fire("auto-start:check", L), L.action;
4701
4701
  }(this, i, c, f, n);
4702
4702
  return this.options.actionChecker ? this.options.actionChecker(o, i, d, this, f, c) : d;
@@ -4713,8 +4713,8 @@ function Sc() {
4713
4713
  for (var h = 0, v = i.length; h < v; h++) {
4714
4714
  var w = i[h], y = c[h], O = w.getAction(t, o, n, y);
4715
4715
  if (O) {
4716
- var I = Ar(O, w, y, f, d);
4717
- if (I) return { action: I, interactable: w, element: y };
4716
+ var $ = Ar(O, w, y, f, d);
4717
+ if ($) return { action: $, interactable: w, element: y };
4718
4718
  }
4719
4719
  }
4720
4720
  return { action: null, interactable: null, element: null };
@@ -4728,7 +4728,7 @@ function Sc() {
4728
4728
  f = [], d = [], c.interactables.forEachMatch(h, v);
4729
4729
  var w = vi(n, t, o, f, d, i, c);
4730
4730
  if (w.action && !w.interactable.options[w.action.name].manualStart) return w;
4731
- h = D(h);
4731
+ h = F(h);
4732
4732
  }
4733
4733
  return { action: null, interactable: null, element: null };
4734
4734
  }
@@ -4739,9 +4739,9 @@ function Sc() {
4739
4739
  function Rt(n, t, o, i) {
4740
4740
  var c = n.options, f = c[o.name].max, d = c[o.name].maxPerElement, h = i.autoStart.maxInteractions, v = 0, w = 0, y = 0;
4741
4741
  if (!(f && d && h)) return !1;
4742
- for (var O = 0, I = i.interactions.list; O < I.length; O++) {
4743
- var B = I[O], L = B.prepared.name;
4744
- if (B.interacting() && (++v >= h || B.interactable === n && ((w += L === o.name ? 1 : 0) >= f || B.element === t && (y++, L === o.name && y >= d))))
4742
+ for (var O = 0, $ = i.interactions.list; O < $.length; O++) {
4743
+ var V = $[O], L = V.prepared.name;
4744
+ if (V.interacting() && (++v >= h || V.interactable === n && ((w += L === o.name ? 1 : 0) >= f || V.element === t && (y++, L === o.name && y >= d))))
4745
4745
  return !1;
4746
4746
  }
4747
4747
  return h > 0;
@@ -4793,7 +4793,7 @@ function Sc() {
4793
4793
  var d = Math.abs(c), h = Math.abs(f), v = o.interactable.options.drag, w = v.startAxis, y = d > h ? "x" : d < h ? "y" : "xy";
4794
4794
  if (o.prepared.axis = v.lockAxis === "start" ? y[0] : v.lockAxis, y !== "xy" && w !== "xy" && w !== y) {
4795
4795
  o.prepared.name = null;
4796
- for (var O = i, I = function(L) {
4796
+ for (var O = i, $ = function(L) {
4797
4797
  if (L !== o.interactable) {
4798
4798
  var X = o.interactable.options.drag;
4799
4799
  if (!X.manualStart && L.testIgnoreAllow(X, O, i)) {
@@ -4806,12 +4806,12 @@ function Sc() {
4806
4806
  }
4807
4807
  }
4808
4808
  }; E.element(O); ) {
4809
- var B = t.interactables.forEachMatch(O, I);
4810
- if (B) {
4811
- o.prepared.name = "drag", o.interactable = B, o.element = O;
4809
+ var V = t.interactables.forEachMatch(O, $);
4810
+ if (V) {
4811
+ o.prepared.name = "drag", o.interactable = V, o.element = O;
4812
4812
  break;
4813
4813
  }
4814
- O = D(O);
4814
+ O = F(O);
4815
4815
  }
4816
4816
  }
4817
4817
  }
@@ -4889,11 +4889,11 @@ function Sc() {
4889
4889
  return g(n, [{ key: "start", value: function(t, o) {
4890
4890
  var i, c, f = t.phase, d = this.interaction, h = function(w) {
4891
4891
  var y = w.interactable.options[w.prepared.name], O = y.modifiers;
4892
- return O && O.length ? O : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function(I) {
4893
- var B = y[I];
4894
- return B && B.enabled && { options: B, methods: B._methods };
4895
- }).filter(function(I) {
4896
- return !!I;
4892
+ return O && O.length ? O : ["snap", "snapSize", "snapEdges", "restrict", "restrictEdges", "restrictSize"].map(function($) {
4893
+ var V = y[$];
4894
+ return V && V.enabled && { options: V, methods: V._methods };
4895
+ }).filter(function($) {
4896
+ return !!$;
4897
4897
  });
4898
4898
  }(d);
4899
4899
  this.prepareStates(h), this.startEdges = q({}, d.edges), this.edges = q({}, this.startEdges), this.startOffset = (i = d.rect, c = o, i ? { left: c.x - i.left, top: c.y - i.top, right: i.right - c.x, bottom: i.bottom - c.y } : { left: 0, top: 0, right: 0, bottom: 0 }), this.startDelta = { x: 0, y: 0 };
@@ -4911,8 +4911,8 @@ function Sc() {
4911
4911
  var o = t.phase, i = t.preEnd, c = t.skipModifiers, f = t.rect, d = t.edges;
4912
4912
  t.coords = q({}, t.pageCoords), t.rect = q({}, f), t.edges = q({}, d);
4913
4913
  for (var h = c ? this.states.slice(c) : this.states, v = Lt(t.coords, t.rect), w = 0; w < h.length; w++) {
4914
- var y, O = h[w], I = O.options, B = q({}, t.coords), L = null;
4915
- (y = O.methods) != null && y.set && this.shouldDo(I, i, o) && (t.state = O, L = O.methods.set(t), Re(t.edges, t.rect, { x: t.coords.x - B.x, y: t.coords.y - B.y })), v.eventProps.push(L);
4914
+ var y, O = h[w], $ = O.options, V = q({}, t.coords), L = null;
4915
+ (y = O.methods) != null && y.set && this.shouldDo($, i, o) && (t.state = O, L = O.methods.set(t), Re(t.edges, t.rect, { x: t.coords.x - V.x, y: t.coords.y - V.y })), v.eventProps.push(L);
4916
4916
  }
4917
4917
  q(this.edges, t.edges), v.delta.x = t.coords.x - t.pageCoords.x, v.delta.y = t.coords.y - t.pageCoords.y, v.rectDelta.left = t.rect.left - f.left, v.rectDelta.right = t.rect.right - f.right, v.rectDelta.top = t.rect.top - f.top, v.rectDelta.bottom = t.rect.bottom - f.bottom;
4918
4918
  var X = this.result.coords, oe = this.result.rect;
@@ -4925,8 +4925,8 @@ function Sc() {
4925
4925
  var o = this.interaction, i = t.phase, c = o.coords.cur, f = o.coords.start, d = this.result, h = this.startDelta, v = d.delta;
4926
4926
  i === "start" && q(this.startDelta, d.delta);
4927
4927
  for (var w = 0, y = [[f, h], [c, v]]; w < y.length; w++) {
4928
- var O = y[w], I = O[0], B = O[1];
4929
- I.page.x += B.x, I.page.y += B.y, I.client.x += B.x, I.client.y += B.y;
4928
+ var O = y[w], $ = O[0], V = O[1];
4929
+ $.page.x += V.x, $.page.y += V.y, $.client.x += V.x, $.client.y += V.y;
4930
4930
  }
4931
4931
  var L = this.result.rectDelta, X = t.rect || o.rect;
4932
4932
  X.left += L.left, X.right += L.right, X.top += L.top, X.bottom += L.bottom, X.width = X.right - X.left, X.height = X.bottom - X.top;
@@ -4972,8 +4972,8 @@ function Sc() {
4972
4972
  var o = t.interaction, i = o.coords, c = o.rect, f = o.modification;
4973
4973
  if (f.result) {
4974
4974
  for (var d = f.startDelta, h = f.result, v = h.delta, w = h.rectDelta, y = 0, O = [[i.start, d], [i.cur, v]]; y < O.length; y++) {
4975
- var I = O[y], B = I[0], L = I[1];
4976
- B.page.x -= L.x, B.page.y -= L.y, B.client.x -= L.x, B.client.y -= L.y;
4975
+ var $ = O[y], V = $[0], L = $[1];
4976
+ V.page.x -= L.x, V.page.y -= L.y, V.client.x -= L.x, V.client.y -= L.y;
4977
4977
  }
4978
4978
  c.left -= w.left, c.right -= w.right, c.top -= w.top, c.bottom -= w.bottom;
4979
4979
  }
@@ -5029,12 +5029,12 @@ function Sc() {
5029
5029
  return n.interaction.modification.stop(n);
5030
5030
  } } }, Dr = Ti, Vr = { base: { preventDefault: "auto", deltaSource: "page" }, perAction: { enabled: !1, origin: { x: 0, y: 0 } }, actions: {} }, Sn = function(n) {
5031
5031
  N(o, n);
5032
- var t = $(o);
5032
+ var t = I(o);
5033
5033
  function o(i, c, f, d, h, v, w) {
5034
5034
  var y;
5035
5035
  u(this, o), (y = t.call(this, i)).relatedTarget = null, y.screenX = void 0, y.screenY = void 0, y.button = void 0, y.buttons = void 0, y.ctrlKey = void 0, y.shiftKey = void 0, y.altKey = void 0, y.metaKey = void 0, y.page = void 0, y.client = void 0, y.delta = void 0, y.rect = void 0, y.x0 = void 0, y.y0 = void 0, y.t0 = void 0, y.dt = void 0, y.duration = void 0, y.clientX0 = void 0, y.clientY0 = void 0, y.velocity = void 0, y.speed = void 0, y.swipe = void 0, y.axes = void 0, y.preEnd = void 0, h = h || i.element;
5036
- var O = i.interactable, I = (O && O.options || Vr).deltaSource, B = He(O, h, f), L = d === "start", X = d === "end", oe = L ? k(y) : i.prevEvent, ee = L ? i.coords.start : X ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5037
- return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, X || (y.page.x -= B.x, y.page.y -= B.y, y.client.x -= B.x, y.client.y -= B.y), y.ctrlKey = c.ctrlKey, y.altKey = c.altKey, y.shiftKey = c.shiftKey, y.metaKey = c.metaKey, y.button = c.button, y.buttons = c.buttons, y.target = h, y.currentTarget = h, y.preEnd = v, y.type = w || f + (d || ""), y.interactable = O, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - B.x, y.y0 = i.coords.start.page.y - B.y, y.clientX0 = i.coords.start.client.x - B.x, y.clientY0 = i.coords.start.client.y - B.y, y.delta = L || X ? { x: 0, y: 0 } : { x: y[I].x - oe[I].x, y: y[I].y - oe[I].y }, y.dt = i.coords.delta.timeStamp, y.duration = y.timeStamp - y.t0, y.velocity = q({}, i.coords.velocity[I]), y.speed = pt(y.velocity.x, y.velocity.y), y.swipe = X || d === "inertiastart" ? y.getSwipe() : null, y;
5036
+ var O = i.interactable, $ = (O && O.options || Vr).deltaSource, V = He(O, h, f), L = d === "start", X = d === "end", oe = L ? k(y) : i.prevEvent, ee = L ? i.coords.start : X ? { page: oe.page, client: oe.client, timeStamp: i.coords.cur.timeStamp } : i.coords.cur;
5037
+ return y.page = q({}, ee.page), y.client = q({}, ee.client), y.rect = q({}, i.rect), y.timeStamp = ee.timeStamp, X || (y.page.x -= V.x, y.page.y -= V.y, y.client.x -= V.x, y.client.y -= V.y), y.ctrlKey = c.ctrlKey, y.altKey = c.altKey, y.shiftKey = c.shiftKey, y.metaKey = c.metaKey, y.button = c.button, y.buttons = c.buttons, y.target = h, y.currentTarget = h, y.preEnd = v, y.type = w || f + (d || ""), y.interactable = O, y.t0 = L ? i.pointers[i.pointers.length - 1].downTime : oe.t0, y.x0 = i.coords.start.page.x - V.x, y.y0 = i.coords.start.page.y - V.y, y.clientX0 = i.coords.start.client.x - V.x, y.clientY0 = i.coords.start.client.y - V.y, y.delta = L || X ? { x: 0, y: 0 } : { x: y[$].x - oe[$].x, y: y[$].y - oe[$].y }, y.dt = i.coords.delta.timeStamp, y.duration = y.timeStamp - y.t0, y.velocity = q({}, i.coords.velocity[$]), y.speed = pt(y.velocity.x, y.velocity.y), y.swipe = X || d === "inertiastart" ? y.getSwipe() : null, y;
5038
5038
  }
5039
5039
  return g(o, [{ key: "getSwipe", value: function() {
5040
5040
  var i = this._interaction;
@@ -5123,7 +5123,7 @@ function Sc() {
5123
5123
  var c, f, d = this.coords.cur.page.x === this.coords.prev.page.x && this.coords.cur.page.y === this.coords.prev.page.y && this.coords.cur.client.x === this.coords.prev.client.x && this.coords.cur.client.y === this.coords.prev.client.y;
5124
5124
  this.pointerIsDown && !this.pointerWasMoved && (c = this.coords.cur.client.x - this.coords.start.client.x, f = this.coords.cur.client.y - this.coords.start.client.y, this.pointerWasMoved = pt(c, f) > this.pointerMoveTolerance);
5125
5125
  var h, v, w, y = this.getPointerIndex(t), O = { pointer: t, pointerIndex: y, pointerInfo: this.pointers[y], event: o, type: "move", eventTarget: i, dx: c, dy: f, duplicate: d, interaction: this };
5126
- d || (h = this.coords.velocity, v = this.coords.delta, w = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / w, h.page.y = v.page.y / w, h.client.x = v.client.x / w, h.client.y = v.client.y / w, h.timeStamp = w), this._scopeFire("interactions:move", O), d || this.simulation || (this.interacting() && (O.type = null, this.move(O)), this.pointerWasMoved && It(this.coords.prev, this.coords.cur));
5126
+ d || (h = this.coords.velocity, v = this.coords.delta, w = Math.max(v.timeStamp / 1e3, 1e-3), h.page.x = v.page.x / w, h.page.y = v.page.y / w, h.client.x = v.client.x / w, h.client.y = v.client.y / w, h.timeStamp = w), this._scopeFire("interactions:move", O), d || this.simulation || (this.interacting() && (O.type = null, this.move(O)), this.pointerWasMoved && $t(this.coords.prev, this.coords.cur));
5127
5127
  } }, { key: "move", value: function(t) {
5128
5128
  t && t.event || yr(this.coords.delta), (t = q({ pointer: this._latestPointer.pointer, event: this._latestPointer.event, eventTarget: this._latestPointer.eventTarget, interaction: this }, t || {})).phase = "move", this._doPhase(t);
5129
5129
  } }, { key: "pointerUp", value: function(t, o, i, c) {
@@ -5153,7 +5153,7 @@ function Sc() {
5153
5153
  var f, d, h, v = ht(t), w = this.getPointerIndex(t), y = this.pointers[w];
5154
5154
  return c = c !== !1 && (c || /(down|start)$/i.test(o.type)), y ? y.pointer = t : (y = new _i(v, t, o, null, null), w = this.pointers.length, this.pointers.push(y)), si(this.coords.cur, this.pointers.map(function(O) {
5155
5155
  return O.pointer;
5156
- }), this._now()), f = this.coords.delta, d = this.coords.prev, h = this.coords.cur, f.page.x = h.page.x - d.page.x, f.page.y = h.page.y - d.page.y, f.client.x = h.client.x - d.client.x, f.client.y = h.client.y - d.client.y, f.timeStamp = h.timeStamp - d.timeStamp, c && (this.pointerIsDown = !0, y.downTime = this.coords.cur.timeStamp, y.downTarget = i, $t(this.downPointer, t), this.interacting() || (It(this.coords.start, this.coords.cur), It(this.coords.prev, this.coords.cur), this.downEvent = o, this.pointerWasMoved = !1)), this._updateLatestPointer(t, o, i), this._scopeFire("interactions:update-pointer", { pointer: t, event: o, eventTarget: i, down: c, pointerInfo: y, pointerIndex: w, interaction: this }), w;
5156
+ }), this._now()), f = this.coords.delta, d = this.coords.prev, h = this.coords.cur, f.page.x = h.page.x - d.page.x, f.page.y = h.page.y - d.page.y, f.client.x = h.client.x - d.client.x, f.client.y = h.client.y - d.client.y, f.timeStamp = h.timeStamp - d.timeStamp, c && (this.pointerIsDown = !0, y.downTime = this.coords.cur.timeStamp, y.downTarget = i, It(this.downPointer, t), this.interacting() || ($t(this.coords.start, this.coords.cur), $t(this.coords.prev, this.coords.cur), this.downEvent = o, this.pointerWasMoved = !1)), this._updateLatestPointer(t, o, i), this._scopeFire("interactions:update-pointer", { pointer: t, event: o, eventTarget: i, down: c, pointerInfo: y, pointerIndex: w, interaction: this }), w;
5157
5157
  } }, { key: "removePointer", value: function(t, o) {
5158
5158
  var i = this.getPointerIndex(t);
5159
5159
  if (i !== -1) {
@@ -5211,7 +5211,7 @@ function Sc() {
5211
5211
  }, "interactions:stop": function(n) {
5212
5212
  var t = n.interaction;
5213
5213
  t.offset.total.x = 0, t.offset.total.y = 0, t.offset.pending.x = 0, t.offset.pending.y = 0;
5214
- } } }, Xr = ji, $i = function() {
5214
+ } } }, Xr = ji, Ii = function() {
5215
5215
  function n(t) {
5216
5216
  u(this, n), this.active = !1, this.isModified = !1, this.smoothEnd = !1, this.allowResume = !1, this.modification = void 0, this.modifierCount = 0, this.modifierArg = void 0, this.startCoords = void 0, this.t0 = 0, this.v0 = 0, this.te = 0, this.targetOffset = void 0, this.modifiedOffset = void 0, this.currentOffset = void 0, this.lambda_v0 = 0, this.one_ve_v0 = 0, this.timeout = void 0, this.interaction = void 0, this.interaction = t;
5217
5217
  }
@@ -5245,9 +5245,9 @@ function Sc() {
5245
5245
  } }, { key: "inertiaTick", value: function() {
5246
5246
  var t, o, i, c, f, d, h, v = this, w = this.interaction, y = Ft(w).resistance, O = (w._now() - this.t0) / 1e3;
5247
5247
  if (O < this.te) {
5248
- var I, B = 1 - (Math.exp(-y * O) - this.lambda_v0) / this.one_ve_v0;
5249
- this.isModified ? (t = 0, o = 0, i = this.targetOffset.x, c = this.targetOffset.y, f = this.modifiedOffset.x, d = this.modifiedOffset.y, I = { x: Ur(h = B, t, i, f), y: Ur(h, o, c, d) }) : I = { x: this.targetOffset.x * B, y: this.targetOffset.y * B };
5250
- var L = { x: I.x - this.currentOffset.x, y: I.y - this.currentOffset.y };
5248
+ var $, V = 1 - (Math.exp(-y * O) - this.lambda_v0) / this.one_ve_v0;
5249
+ this.isModified ? (t = 0, o = 0, i = this.targetOffset.x, c = this.targetOffset.y, f = this.modifiedOffset.x, d = this.modifiedOffset.y, $ = { x: Ur(h = V, t, i, f), y: Ur(h, o, c, d) }) : $ = { x: this.targetOffset.x * V, y: this.targetOffset.y * V };
5250
+ var L = { x: $.x - this.currentOffset.x, y: $.y - this.currentOffset.y };
5251
5251
  this.currentOffset.x += L.x, this.currentOffset.y += L.y, w.offsetBy(L), w.move(), this.onNextFrame(function() {
5252
5252
  return v.inertiaTick();
5253
5253
  });
@@ -5262,7 +5262,7 @@ function Sc() {
5262
5262
  } else o.offsetBy({ x: this.targetOffset.x - this.currentOffset.x, y: this.targetOffset.y - this.currentOffset.y }), this.end();
5263
5263
  } }, { key: "resume", value: function(t) {
5264
5264
  var o = t.pointer, i = t.event, c = t.eventTarget, f = this.interaction;
5265
- f.offsetBy({ x: -this.currentOffset.x, y: -this.currentOffset.y }), f.updatePointer(o, i, c, !0), f._doPhase({ interaction: f, event: i, phase: "resume" }), It(f.coords.prev, f.coords.cur), this.stop();
5265
+ f.offsetBy({ x: -this.currentOffset.x, y: -this.currentOffset.y }), f.updatePointer(o, i, c, !0), f._doPhase({ interaction: f, event: i, phase: "resume" }), $t(f.coords.prev, f.coords.cur), this.stop();
5266
5266
  } }, { key: "end", value: function() {
5267
5267
  this.interaction.move(), this.interaction.end(), this.stop();
5268
5268
  } }, { key: "stop", value: function() {
@@ -5273,12 +5273,12 @@ function Sc() {
5273
5273
  var t = n.interactable, o = n.prepared;
5274
5274
  return t && t.options && o.name && t.options[o.name].inertia;
5275
5275
  }
5276
- var Ii = { id: "inertia", before: ["modifiers", "actions"], install: function(n) {
5276
+ var $i = { id: "inertia", before: ["modifiers", "actions"], install: function(n) {
5277
5277
  var t = n.defaults;
5278
5278
  n.usePlugin(Xr), n.usePlugin(Dr), n.actions.phases.inertiastart = !0, n.actions.phases.resume = !0, t.perAction.inertia = { enabled: !1, resistance: 10, minSpeed: 100, endSpeed: 10, allowResume: !0, smoothEndDuration: 300 };
5279
5279
  }, listeners: { "interactions:new": function(n) {
5280
5280
  var t = n.interaction;
5281
- t.inertia = new $i(t);
5281
+ t.inertia = new Ii(t);
5282
5282
  }, "interactions:before-action-end": function(n) {
5283
5283
  var t = n.interaction, o = n.event;
5284
5284
  return (!t._interacting || t.simulation || !t.inertia.start(o)) && null;
@@ -5289,7 +5289,7 @@ function Sc() {
5289
5289
  i.resume(n);
5290
5290
  break;
5291
5291
  }
5292
- c = D(c);
5292
+ c = F(c);
5293
5293
  }
5294
5294
  }, "interactions:stop": function(n) {
5295
5295
  var t = n.interaction.inertia;
@@ -5311,7 +5311,7 @@ function Sc() {
5311
5311
  function qr(n, t, o, i) {
5312
5312
  return -o * (n /= i) * (n - 2) + t;
5313
5313
  }
5314
- var Ai = Ii;
5314
+ var Ai = $i;
5315
5315
  function Gr(n, t) {
5316
5316
  for (var o = 0; o < t.length; o++) {
5317
5317
  var i = t[o];
@@ -5343,7 +5343,7 @@ function Sc() {
5343
5343
  } }]), n;
5344
5344
  }(), Mi = function() {
5345
5345
  function n(t) {
5346
- u(this, n), this.currentTarget = void 0, this.originalEvent = void 0, this.type = void 0, this.originalEvent = t, $t(this, t);
5346
+ u(this, n), this.currentTarget = void 0, this.originalEvent = void 0, this.type = void 0, this.originalEvent = t, It(this, t);
5347
5347
  }
5348
5348
  return g(n, [{ key: "preventOriginalDefault", value: function() {
5349
5349
  this.originalEvent.preventDefault();
@@ -5360,29 +5360,29 @@ function Sc() {
5360
5360
  return n === t || (typeof n == "boolean" ? !!t.capture === n && !t.passive : !!n.capture == !!t.capture && !!n.passive == !!t.passive);
5361
5361
  }
5362
5362
  var Ri = { id: "events", install: function(n) {
5363
- var t, o = [], i = {}, c = [], f = { add: d, remove: h, addDelegate: function(y, O, I, B, L) {
5363
+ var t, o = [], i = {}, c = [], f = { add: d, remove: h, addDelegate: function(y, O, $, V, L) {
5364
5364
  var X = xt(L);
5365
- if (!i[I]) {
5366
- i[I] = [];
5365
+ if (!i[$]) {
5366
+ i[$] = [];
5367
5367
  for (var oe = 0; oe < c.length; oe++) {
5368
5368
  var ee = c[oe];
5369
- d(ee, I, v), d(ee, I, w, !0);
5369
+ d(ee, $, v), d(ee, $, w, !0);
5370
5370
  }
5371
5371
  }
5372
- var ae = i[I], ve = mt(ae, function(we) {
5372
+ var ae = i[$], ve = mt(ae, function(we) {
5373
5373
  return we.selector === y && we.context === O;
5374
5374
  });
5375
- ve || (ve = { selector: y, context: O, listeners: [] }, ae.push(ve)), ve.listeners.push({ func: B, options: X });
5376
- }, removeDelegate: function(y, O, I, B, L) {
5377
- var X, oe = xt(L), ee = i[I], ae = !1;
5375
+ ve || (ve = { selector: y, context: O, listeners: [] }, ae.push(ve)), ve.listeners.push({ func: V, options: X });
5376
+ }, removeDelegate: function(y, O, $, V, L) {
5377
+ var X, oe = xt(L), ee = i[$], ae = !1;
5378
5378
  if (ee)
5379
5379
  for (X = ee.length - 1; X >= 0; X--) {
5380
5380
  var ve = ee[X];
5381
5381
  if (ve.selector === y && ve.context === O) {
5382
5382
  for (var we = ve.listeners, ue = we.length - 1; ue >= 0; ue--) {
5383
5383
  var ye = we[ue];
5384
- if (ye.func === B && Dt(ye.options, oe)) {
5385
- we.splice(ue, 1), we.length || (ee.splice(X, 1), h(O, I, v), h(O, I, w, !0)), ae = !0;
5384
+ if (ye.func === V && Dt(ye.options, oe)) {
5385
+ we.splice(ue, 1), we.length || (ee.splice(X, 1), h(O, $, v), h(O, $, w, !0)), ae = !0;
5386
5386
  break;
5387
5387
  }
5388
5388
  }
@@ -5390,35 +5390,35 @@ function Sc() {
5390
5390
  }
5391
5391
  }
5392
5392
  }, delegateListener: v, delegateUseCapture: w, delegatedEvents: i, documents: c, targets: o, supportsOptions: !1, supportsPassive: !1 };
5393
- function d(y, O, I, B) {
5393
+ function d(y, O, $, V) {
5394
5394
  if (y.addEventListener) {
5395
- var L = xt(B), X = mt(o, function(oe) {
5395
+ var L = xt(V), X = mt(o, function(oe) {
5396
5396
  return oe.eventTarget === y;
5397
5397
  });
5398
5398
  X || (X = { eventTarget: y, events: {} }, o.push(X)), X.events[O] || (X.events[O] = []), mt(X.events[O], function(oe) {
5399
- return oe.func === I && Dt(oe.options, L);
5400
- }) || (y.addEventListener(O, I, f.supportsOptions ? L : L.capture), X.events[O].push({ func: I, options: L }));
5399
+ return oe.func === $ && Dt(oe.options, L);
5400
+ }) || (y.addEventListener(O, $, f.supportsOptions ? L : L.capture), X.events[O].push({ func: $, options: L }));
5401
5401
  }
5402
5402
  }
5403
- function h(y, O, I, B) {
5403
+ function h(y, O, $, V) {
5404
5404
  if (y.addEventListener && y.removeEventListener) {
5405
- var L = gt(o, function(Ie) {
5406
- return Ie.eventTarget === y;
5405
+ var L = gt(o, function($e) {
5406
+ return $e.eventTarget === y;
5407
5407
  }), X = o[L];
5408
5408
  if (X && X.events) if (O !== "all") {
5409
5409
  var oe = !1, ee = X.events[O];
5410
5410
  if (ee) {
5411
- if (I === "all") {
5411
+ if ($ === "all") {
5412
5412
  for (var ae = ee.length - 1; ae >= 0; ae--) {
5413
5413
  var ve = ee[ae];
5414
5414
  h(y, O, ve.func, ve.options);
5415
5415
  }
5416
5416
  return;
5417
5417
  }
5418
- for (var we = xt(B), ue = 0; ue < ee.length; ue++) {
5418
+ for (var we = xt(V), ue = 0; ue < ee.length; ue++) {
5419
5419
  var ye = ee[ue];
5420
- if (ye.func === I && Dt(ye.options, we)) {
5421
- y.removeEventListener(O, I, f.supportsOptions ? we : we.capture), ee.splice(ue, 1), ee.length === 0 && (delete X.events[O], oe = !0);
5420
+ if (ye.func === $ && Dt(ye.options, we)) {
5421
+ y.removeEventListener(O, $, f.supportsOptions ? we : we.capture), ee.splice(ue, 1), ee.length === 0 && (delete X.events[O], oe = !0);
5422
5422
  break;
5423
5423
  }
5424
5424
  }
@@ -5428,19 +5428,19 @@ function Sc() {
5428
5428
  }
5429
5429
  }
5430
5430
  function v(y, O) {
5431
- for (var I = xt(O), B = new Mi(y), L = i[y.type], X = Nr(y)[0], oe = X; E.element(oe); ) {
5431
+ for (var $ = xt(O), V = new Mi(y), L = i[y.type], X = Nr(y)[0], oe = X; E.element(oe); ) {
5432
5432
  for (var ee = 0; ee < L.length; ee++) {
5433
5433
  var ae = L[ee], ve = ae.selector, we = ae.context;
5434
5434
  if (T(oe, ve) && Z(we, X) && Z(we, oe)) {
5435
5435
  var ue = ae.listeners;
5436
- B.currentTarget = oe;
5436
+ V.currentTarget = oe;
5437
5437
  for (var ye = 0; ye < ue.length; ye++) {
5438
- var Ie = ue[ye];
5439
- Dt(Ie.options, I) && Ie.func(B);
5438
+ var $e = ue[ye];
5439
+ Dt($e.options, $) && $e.func(V);
5440
5440
  }
5441
5441
  }
5442
5442
  }
5443
- oe = D(oe);
5443
+ oe = F(oe);
5444
5444
  }
5445
5445
  }
5446
5446
  function w(y) {
@@ -5464,7 +5464,7 @@ function Sc() {
5464
5464
  var h = d[f], v = i;
5465
5465
  if (h.simulation && h.simulation.allowResume && h.pointerType === t) for (; v; ) {
5466
5466
  if (v === h.element) return h;
5467
- v = D(v);
5467
+ v = F(v);
5468
5468
  }
5469
5469
  }
5470
5470
  return null;
@@ -5514,8 +5514,8 @@ function Sc() {
5514
5514
  if (/^touch/.test(o.type)) {
5515
5515
  t.prevTouchTime = t.now();
5516
5516
  for (var w = 0, y = o.changedTouches; w < y.length; w++) {
5517
- var O = y[w], I = { pointer: O, pointerId: ht(O), pointerType: c, eventType: o.type, eventTarget: d, curEventTarget: h, scope: t }, B = Zr(I);
5518
- v.push([I.pointer, I.eventTarget, I.curEventTarget, B]);
5517
+ var O = y[w], $ = { pointer: O, pointerId: ht(O), pointerType: c, eventType: o.type, eventTarget: d, curEventTarget: h, scope: t }, V = Zr($);
5518
+ v.push([$.pointer, $.eventTarget, $.curEventTarget, V]);
5519
5519
  }
5520
5520
  } else {
5521
5521
  var L = !1;
@@ -5556,11 +5556,11 @@ function Sc() {
5556
5556
  for (var h = 0, v = n.interactions.list; h < v.length; h++) {
5557
5557
  var w = v[h];
5558
5558
  if (w.pointerIsDown && w.pointerType === "touch" && !w._interacting) for (var y = function() {
5559
- var B = I[O];
5559
+ var V = $[O];
5560
5560
  n.documents.some(function(L) {
5561
- return Z(L.doc, B.downTarget);
5562
- }) || w.removePointer(B.pointer, B.event);
5563
- }, O = 0, I = w.pointers; O < I.length; O++) y();
5561
+ return Z(L.doc, V.downTarget);
5562
+ }) || w.removePointer(V.pointer, V.event);
5563
+ }, O = 0, $ = w.pointers; O < $.length; O++) y();
5564
5564
  }
5565
5565
  }
5566
5566
  (c = z.PointerEvent ? [{ type: f.down, listener: d }, { type: f.down, listener: t.pointerDown }, { type: f.move, listener: t.pointerMove }, { type: f.up, listener: t.pointerUp }, { type: f.cancel, listener: t.pointerUp }] : [{ type: "mousedown", listener: t.pointerDown }, { type: "mousemove", listener: t.pointerMove }, { type: "mouseup", listener: t.pointerUp }, { type: "touchstart", listener: d }, { type: "touchstart", listener: t.pointerDown }, { type: "touchmove", listener: t.pointerMove }, { type: "touchend", listener: t.pointerUp }, { type: "touchcancel", listener: t.pointerUp }]).push({ type: "blur", listener: function(h) {
@@ -5568,7 +5568,7 @@ function Sc() {
5568
5568
  w[v].documentBlur(h);
5569
5569
  } }), n.prevTouchTime = 0, n.Interaction = function(h) {
5570
5570
  N(w, h);
5571
- var v = $(w);
5571
+ var v = I(w);
5572
5572
  function w() {
5573
5573
  return u(this, w), v.apply(this, arguments);
5574
5574
  }
@@ -5742,8 +5742,8 @@ function Sc() {
5742
5742
  for (var O in f) this.off(O, f[O], d);
5743
5743
  return this;
5744
5744
  }
5745
- var I;
5746
- return zt(f, this.scope.actions) ? f in this.globalEvents && (I = this.globalEvents[f].indexOf(d)) !== -1 && this.globalEvents[f].splice(I, 1) : this.scope.events.remove(this.scope.document, f, d, h), this;
5745
+ var $;
5746
+ return zt(f, this.scope.actions) ? f in this.globalEvents && ($ = this.globalEvents[f].indexOf(d)) !== -1 && this.globalEvents[f].splice($, 1) : this.scope.events.remove(this.scope.document, f, d, h), this;
5747
5747
  }, "The interact.off() method is being deprecated"), c.debug = function() {
5748
5748
  return this.scope;
5749
5749
  }, c.supportsTouch = function() {
@@ -5766,7 +5766,7 @@ function Sc() {
5766
5766
  var o = this;
5767
5767
  this.Interactable = function(i) {
5768
5768
  N(f, i);
5769
- var c = $(f);
5769
+ var c = I(f);
5770
5770
  function f() {
5771
5771
  return u(this, f), c.apply(this, arguments);
5772
5772
  }
@@ -5790,7 +5790,7 @@ function Sc() {
5790
5790
  }
5791
5791
  } }, { key: "init", value: function(t) {
5792
5792
  return this.isInitialized ? this : function(o, i) {
5793
- return o.isInitialized = !0, E.window(i) && F(i), z.init(i), Q.init(i), Ke.init(i), o.window = i, o.document = i.document, o.usePlugin(Fi), o.usePlugin(Ri), o;
5793
+ return o.isInitialized = !0, E.window(i) && B(i), z.init(i), Q.init(i), Ke.init(i), o.window = i, o.document = i.document, o.usePlugin(Fi), o.usePlugin(Ri), o;
5794
5794
  }(this, t);
5795
5795
  } }, { key: "pluginIsInstalled", value: function(t) {
5796
5796
  var o = t.id;
@@ -5828,7 +5828,7 @@ function Sc() {
5828
5828
  function Qr(n) {
5829
5829
  return n && n.replace(/\/.*$/, "");
5830
5830
  }
5831
- var eo = new Bi(), $e = eo.interactStatic, Hi = typeof globalThis < "u" ? globalThis : window;
5831
+ var eo = new Bi(), Ie = eo.interactStatic, Hi = typeof globalThis < "u" ? globalThis : window;
5832
5832
  eo.init(Hi);
5833
5833
  var Yi = Object.freeze({ __proto__: null, edgeTarget: function() {
5834
5834
  }, elements: function() {
@@ -5838,8 +5838,8 @@ function Sc() {
5838
5838
  return c in n || f in n;
5839
5839
  }), o = function(i, c) {
5840
5840
  for (var f = n.range, d = n.limits, h = d === void 0 ? { left: -1 / 0, right: 1 / 0, top: -1 / 0, bottom: 1 / 0 } : d, v = n.offset, w = v === void 0 ? { x: 0, y: 0 } : v, y = { range: f, grid: n, x: null, y: null }, O = 0; O < t.length; O++) {
5841
- var I = t[O], B = I[0], L = I[1], X = Math.round((i - w.x) / n[B]), oe = Math.round((c - w.y) / n[L]);
5842
- y[B] = Math.max(h.left, Math.min(h.right, X * n[B] + w.x)), y[L] = Math.max(h.top, Math.min(h.bottom, oe * n[L] + w.y));
5841
+ var $ = t[O], V = $[0], L = $[1], X = Math.round((i - w.x) / n[V]), oe = Math.round((c - w.y) / n[L]);
5842
+ y[V] = Math.max(h.left, Math.min(h.right, X * n[V] + w.x)), y[L] = Math.max(h.top, Math.min(h.bottom, oe * n[L] + w.y));
5843
5843
  }
5844
5844
  return y;
5845
5845
  };
@@ -5852,12 +5852,12 @@ function Sc() {
5852
5852
  d === "preserve" && (d = o.width / o.height), t.startCoords = q({}, c), t.startRect = q({}, o), t.ratio = d, t.equalDelta = w;
5853
5853
  var O = t.linkedEdges = { top: i.top || i.left && !i.bottom, left: i.left || i.top && !i.right, bottom: i.bottom || i.right && !i.top, right: i.right || i.bottom && !i.left };
5854
5854
  if (t.xIsPrimaryAxis = !(!i.left && !i.right), t.equalDelta) {
5855
- var I = (O.left ? 1 : -1) * (O.top ? 1 : -1);
5856
- t.edgeSign = { x: I, y: I };
5855
+ var $ = (O.left ? 1 : -1) * (O.top ? 1 : -1);
5856
+ t.edgeSign = { x: $, y: $ };
5857
5857
  } else t.edgeSign = { x: O.left ? -1 : 1, y: O.top ? -1 : 1 };
5858
5858
  if (h !== !1 && q(i, O), y != null && y.length) {
5859
- var B = new Nn(n.interaction);
5860
- B.copyFrom(n.interaction.modification), B.prepareStates(y), t.subModification = B, B.startAll(a({}, n));
5859
+ var V = new Nn(n.interaction);
5860
+ V.copyFrom(n.interaction.modification), V.prepareStates(y), t.subModification = V, V.startAll(a({}, n));
5861
5861
  }
5862
5862
  }, set: function(n) {
5863
5863
  var t = n.state, o = n.rect, i = n.coords, c = t.linkedEdges, f = q({}, i), d = t.equalDelta ? Gi : Wi;
@@ -5936,8 +5936,8 @@ function Sc() {
5936
5936
  o.options = { endOnly: f.endOnly, inner: q({}, bt.noInner), outer: q({}, bt.noOuter) }, c.top ? (o.options.inner.top = i.bottom - d.height, o.options.outer.top = i.bottom - h.height) : c.bottom && (o.options.inner.bottom = i.top + d.height, o.options.outer.bottom = i.top + h.height), c.left ? (o.options.inner.left = i.right - d.width, o.options.outer.left = i.right - h.width) : c.right && (o.options.inner.right = i.left + d.width, o.options.outer.right = i.left + h.width), bt.set(n), o.options = f;
5937
5937
  }
5938
5938
  }, defaults: { min: null, max: null, endOnly: !1, enabled: !1 } }, "restrictSize"), kn = { start: function(n) {
5939
- var t, o = n.interaction, i = n.interactable, c = n.element, f = n.rect, d = n.state, h = n.startOffset, v = d.options, w = v.offsetWithOrigin ? function(I) {
5940
- var B = I.interaction.element, L = ke(je(I.state.options.origin, null, null, [B])), X = L || He(I.interactable, B, I.interaction.prepared.name);
5939
+ var t, o = n.interaction, i = n.interactable, c = n.element, f = n.rect, d = n.state, h = n.startOffset, v = d.options, w = v.offsetWithOrigin ? function($) {
5940
+ var V = $.interaction.element, L = ke(je($.state.options.origin, null, null, [V])), X = L || He($.interactable, V, $.interaction.prepared.name);
5941
5941
  return X;
5942
5942
  }(n) : { x: 0, y: 0 };
5943
5943
  if (v.offset === "startCoords") t = { x: o.coords.start.page.x, y: o.coords.start.page.y };
@@ -5946,19 +5946,19 @@ function Sc() {
5946
5946
  (t = ke(y) || { x: 0, y: 0 }).x += w.x, t.y += w.y;
5947
5947
  }
5948
5948
  var O = v.relativePoints;
5949
- d.offsets = f && O && O.length ? O.map(function(I, B) {
5950
- return { index: B, relativePoint: I, x: h.left - f.width * I.x + t.x, y: h.top - f.height * I.y + t.y };
5949
+ d.offsets = f && O && O.length ? O.map(function($, V) {
5950
+ return { index: V, relativePoint: $, x: h.left - f.width * $.x + t.x, y: h.top - f.height * $.y + t.y };
5951
5951
  }) : [{ index: 0, relativePoint: null, x: t.x, y: t.y }];
5952
5952
  }, set: function(n) {
5953
5953
  var t = n.interaction, o = n.coords, i = n.state, c = i.options, f = i.offsets, d = He(t.interactable, t.element, t.prepared.name), h = q({}, o), v = [];
5954
5954
  c.offsetWithOrigin || (h.x -= d.x, h.y -= d.y);
5955
- for (var w = 0, y = f; w < y.length; w++) for (var O = y[w], I = h.x - O.x, B = h.y - O.y, L = 0, X = c.targets.length; L < X; L++) {
5955
+ for (var w = 0, y = f; w < y.length; w++) for (var O = y[w], $ = h.x - O.x, V = h.y - O.y, L = 0, X = c.targets.length; L < X; L++) {
5956
5956
  var oe = c.targets[L], ee = void 0;
5957
- (ee = E.func(oe) ? oe(I, B, t._proxy, O, L) : oe) && v.push({ x: (E.number(ee.x) ? ee.x : I) + O.x, y: (E.number(ee.y) ? ee.y : B) + O.y, range: E.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: O });
5957
+ (ee = E.func(oe) ? oe($, V, t._proxy, O, L) : oe) && v.push({ x: (E.number(ee.x) ? ee.x : $) + O.x, y: (E.number(ee.y) ? ee.y : V) + O.y, range: E.number(ee.range) ? ee.range : c.range, source: oe, index: L, offset: O });
5958
5958
  }
5959
5959
  for (var ae = { target: null, inRange: !1, distance: 0, range: 0, delta: { x: 0, y: 0 } }, ve = 0; ve < v.length; ve++) {
5960
- var we = v[ve], ue = we.range, ye = we.x - h.x, Ie = we.y - h.y, Pe = pt(ye, Ie), Le = Pe <= ue;
5961
- ue === 1 / 0 && ae.inRange && ae.range !== 1 / 0 && (Le = !1), ae.target && !(Le ? ae.inRange && ue !== 1 / 0 ? Pe / ue < ae.distance / ae.range : ue === 1 / 0 && ae.range !== 1 / 0 || Pe < ae.distance : !ae.inRange && Pe < ae.distance) || (ae.target = we, ae.distance = Pe, ae.range = ue, ae.inRange = Le, ae.delta.x = ye, ae.delta.y = Ie);
5960
+ var we = v[ve], ue = we.range, ye = we.x - h.x, $e = we.y - h.y, Pe = pt(ye, $e), Le = Pe <= ue;
5961
+ ue === 1 / 0 && ae.inRange && ae.range !== 1 / 0 && (Le = !1), ae.target && !(Le ? ae.inRange && ue !== 1 / 0 ? Pe / ue < ae.distance / ae.range : ue === 1 / 0 && ae.range !== 1 / 0 || Pe < ae.distance : !ae.inRange && Pe < ae.distance) || (ae.target = we, ae.distance = Pe, ae.range = ue, ae.inRange = Le, ae.delta.x = ye, ae.delta.y = $e);
5962
5962
  }
5963
5963
  return ae.inRange && (o.x = ae.target.x, o.y = ae.target.y), i.closest = ae, ae;
5964
5964
  }, defaults: { range: 1 / 0, targets: null, offset: null, offsetWithOrigin: !0, origin: null, relativePoints: null, endOnly: !1, enabled: !1 } }, os = Je(kn, "snap"), Ht = { start: function(n) {
@@ -5971,8 +5971,8 @@ function Sc() {
5971
5971
  for (var h = 0, v = c.targets || []; h < v.length; h++) {
5972
5972
  var w = v[h], y = void 0;
5973
5973
  if (y = E.func(w) ? w(d.x, d.y, t) : w) {
5974
- for (var O = 0, I = o.targetFields; O < I.length; O++) {
5975
- var B = I[O], L = B[0], X = B[1];
5974
+ for (var O = 0, $ = o.targetFields; O < $.length; O++) {
5975
+ var V = $[O], L = V[0], X = V[1];
5976
5976
  if (L in y || X in y) {
5977
5977
  y.x = y[L], y.y = y[X];
5978
5978
  break;
@@ -5994,10 +5994,10 @@ function Sc() {
5994
5994
  }
5995
5995
  } }, as = ss, io = function(n) {
5996
5996
  N(o, n);
5997
- var t = $(o);
5997
+ var t = I(o);
5998
5998
  function o(i, c, f, d, h, v) {
5999
5999
  var w;
6000
- if (u(this, o), $t(k(w = t.call(this, h)), f), f !== c && $t(k(w), c), w.timeStamp = v, w.originalEvent = f, w.type = i, w.pointerId = ht(c), w.pointerType = Er(c), w.target = d, w.currentTarget = null, i === "tap") {
6000
+ if (u(this, o), It(k(w = t.call(this, h)), f), f !== c && It(k(w), c), w.timeStamp = v, w.originalEvent = f, w.type = i, w.pointerId = ht(c), w.pointerType = Er(c), w.target = d, w.currentTarget = null, i === "tap") {
6001
6001
  var y = h.getPointerIndex(c);
6002
6002
  w.dt = w.timeStamp - h.pointers[y].downTime;
6003
6003
  var O = w.timeStamp - h.tapTime;
@@ -6027,9 +6027,9 @@ function Sc() {
6027
6027
  n.duplicate || o.pointerIsDown && !o.pointerWasMoved || (o.pointerIsDown && jn(n), Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "move" }, t));
6028
6028
  }, "interactions:down": function(n, t) {
6029
6029
  (function(o, i) {
6030
- for (var c = o.interaction, f = o.pointer, d = o.event, h = o.eventTarget, v = o.pointerIndex, w = c.pointers[v].hold, y = Te(h), O = { interaction: c, pointer: f, event: d, eventTarget: h, type: "hold", targets: [], path: y, node: null }, I = 0; I < y.length; I++) {
6031
- var B = y[I];
6032
- O.node = B, i.fire("pointerEvents:collect-targets", O);
6030
+ for (var c = o.interaction, f = o.pointer, d = o.event, h = o.eventTarget, v = o.pointerIndex, w = c.pointers[v].hold, y = Te(h), O = { interaction: c, pointer: f, event: d, eventTarget: h, type: "hold", targets: [], path: y, node: null }, $ = 0; $ < y.length; $++) {
6031
+ var V = y[$];
6032
+ O.node = V, i.fire("pointerEvents:collect-targets", O);
6033
6033
  }
6034
6034
  if (O.targets.length) {
6035
6035
  for (var L = 1 / 0, X = 0, oe = O.targets; X < oe.length; X++) {
@@ -6053,10 +6053,10 @@ function Sc() {
6053
6053
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, d = n.type, h = n.targets, v = h === void 0 ? so(n, t) : h, w = new io(d, i, c, f, o, t.now());
6054
6054
  t.fire("pointerEvents:new", { pointerEvent: w });
6055
6055
  for (var y = { interaction: o, pointer: i, event: c, eventTarget: f, targets: v, type: d, pointerEvent: w }, O = 0; O < v.length; O++) {
6056
- var I = v[O];
6057
- for (var B in I.props || {}) w[B] = I.props[B];
6058
- var L = He(I.eventable, I.node);
6059
- if (w._subtractOrigin(L), w.eventable = I.eventable, w.currentTarget = I.node, I.eventable.fire(w), w._addOrigin(L), w.immediatePropagationStopped || w.propagationStopped && O + 1 < v.length && v[O + 1].node !== w.currentTarget) break;
6056
+ var $ = v[O];
6057
+ for (var V in $.props || {}) w[V] = $.props[V];
6058
+ var L = He($.eventable, $.node);
6059
+ if (w._subtractOrigin(L), w.eventable = $.eventable, w.currentTarget = $.node, $.eventable.fire(w), w._addOrigin(L), w.immediatePropagationStopped || w.propagationStopped && O + 1 < v.length && v[O + 1].node !== w.currentTarget) break;
6060
6060
  }
6061
6061
  if (t.fire("pointerEvents:fired", y), d === "tap") {
6062
6062
  var X = w.double ? Qe({ interaction: o, pointer: i, event: c, eventTarget: f, type: "doubletap" }, t) : w;
@@ -6068,12 +6068,12 @@ function Sc() {
6068
6068
  var o = n.interaction, i = n.pointer, c = n.event, f = n.eventTarget, d = n.type, h = o.getPointerIndex(i), v = o.pointers[h];
6069
6069
  if (d === "tap" && (o.pointerWasMoved || !v || v.downTarget !== f)) return [];
6070
6070
  for (var w = Te(f), y = { interaction: o, pointer: i, event: c, eventTarget: f, type: d, path: w, targets: [], node: null }, O = 0; O < w.length; O++) {
6071
- var I = w[O];
6072
- y.node = I, t.fire("pointerEvents:collect-targets", y);
6071
+ var $ = w[O];
6072
+ y.node = $, t.fire("pointerEvents:collect-targets", y);
6073
6073
  }
6074
- return d === "hold" && (y.targets = y.targets.filter(function(B) {
6074
+ return d === "hold" && (y.targets = y.targets.filter(function(V) {
6075
6075
  var L, X;
6076
- return B.eventable.options.holdDuration === ((L = o.pointers[h]) == null || (X = L.hold) == null ? void 0 : X.duration);
6076
+ return V.eventable.options.holdDuration === ((L = o.pointers[h]) == null || (X = L.hold) == null ? void 0 : X.duration);
6077
6077
  })), y.targets;
6078
6078
  }
6079
6079
  function jn(n) {
@@ -6133,16 +6133,16 @@ function Sc() {
6133
6133
  n.actions.phases.reflow = !0, t.prototype.reflow = function(o) {
6134
6134
  return function(i, c, f) {
6135
6135
  for (var d = i.getAllElements(), h = f.window.Promise, v = h ? [] : null, w = function() {
6136
- var O = d[y], I = i.getRect(O);
6137
- if (!I) return 1;
6138
- var B, L = mt(f.interactions.list, function(ee) {
6136
+ var O = d[y], $ = i.getRect(O);
6137
+ if (!$) return 1;
6138
+ var V, L = mt(f.interactions.list, function(ee) {
6139
6139
  return ee.interacting() && ee.interactable === i && ee.element === O && ee.prepared.name === c.name;
6140
6140
  });
6141
- if (L) L.move(), v && (B = L._reflowPromise || new h(function(ee) {
6141
+ if (L) L.move(), v && (V = L._reflowPromise || new h(function(ee) {
6142
6142
  L._reflowResolve = ee;
6143
6143
  }));
6144
6144
  else {
6145
- var X = Ve(I), oe = /* @__PURE__ */ function(ee) {
6145
+ var X = Ve($), oe = /* @__PURE__ */ function(ee) {
6146
6146
  return { coords: ee, get page() {
6147
6147
  return this.coords.page;
6148
6148
  }, get client() {
@@ -6170,16 +6170,16 @@ function Sc() {
6170
6170
  }, preventDefault: function() {
6171
6171
  } };
6172
6172
  }({ page: { x: X.x, y: X.y }, client: { x: X.x, y: X.y }, timeStamp: f.now() });
6173
- B = function(ee, ae, ve, we, ue) {
6174
- var ye = ee.interactions.new({ pointerType: "reflow" }), Ie = { interaction: ye, event: ue, pointer: ue, eventTarget: ve, phase: "reflow" };
6175
- ye.interactable = ae, ye.element = ve, ye.prevEvent = ue, ye.updatePointer(ue, ue, ve, !0), yr(ye.coords.delta), xn(ye.prepared, we), ye._doPhase(Ie);
6173
+ V = function(ee, ae, ve, we, ue) {
6174
+ var ye = ee.interactions.new({ pointerType: "reflow" }), $e = { interaction: ye, event: ue, pointer: ue, eventTarget: ve, phase: "reflow" };
6175
+ ye.interactable = ae, ye.element = ve, ye.prevEvent = ue, ye.updatePointer(ue, ue, ve, !0), yr(ye.coords.delta), xn(ye.prepared, we), ye._doPhase($e);
6176
6176
  var Pe = ee.window, Le = Pe.Promise, De = Le ? new Le(function(qe) {
6177
6177
  ye._reflowResolve = qe;
6178
6178
  }) : void 0;
6179
- return ye._reflowPromise = De, ye.start(we, ae, ve), ye._interacting ? (ye.move(Ie), ye.end(ue)) : (ye.stop(), ye._reflowResolve()), ye.removePointer(ue, ue), De;
6179
+ return ye._reflowPromise = De, ye.start(we, ae, ve), ye._interacting ? (ye.move($e), ye.end(ue)) : (ye.stop(), ye._reflowResolve()), ye.removePointer(ue, ue), De;
6180
6180
  }(f, i, O, c, oe);
6181
6181
  }
6182
- v && v.push(B);
6182
+ v && v.push(V);
6183
6183
  }, y = 0; y < d.length && !w(); y++) ;
6184
6184
  return v && h.all(v).then(function() {
6185
6185
  return i;
@@ -6192,11 +6192,11 @@ function Sc() {
6192
6192
  i.splice(i.indexOf(c), 1);
6193
6193
  }(t.interactions.list, o));
6194
6194
  } } }, vs = ms;
6195
- if ($e.use(Fr), $e.use(Xr), $e.use(gs), $e.use(Ai), $e.use(as), $e.use(Ei), $e.use(fi), $e.use(pi), $e.use(vs), $e.default = $e, l(e) === "object" && e) try {
6196
- e.exports = $e;
6195
+ if (Ie.use(Fr), Ie.use(Xr), Ie.use(gs), Ie.use(Ai), Ie.use(as), Ie.use(Ei), Ie.use(fi), Ie.use(pi), Ie.use(vs), Ie.default = Ie, l(e) === "object" && e) try {
6196
+ e.exports = Ie;
6197
6197
  } catch {
6198
6198
  }
6199
- return $e.default = $e, $e;
6199
+ return Ie.default = Ie, Ie;
6200
6200
  });
6201
6201
  }(Wt)), Wt.exports;
6202
6202
  }
@@ -6224,12 +6224,12 @@ function Oc(e, {
6224
6224
  const k = de.make(P);
6225
6225
  p.current?.(k);
6226
6226
  },
6227
- onmove: ({ client: P, clientX0: k, clientY0: $, dx: M, dy: b }) => {
6228
- const j = de.make(k, $), K = de.make(P), W = de.make(M, b);
6227
+ onmove: ({ client: P, clientX0: k, clientY0: I, dx: M, dy: b }) => {
6228
+ const j = de.make(k, I), K = de.make(P), W = de.make(M, b);
6229
6229
  g.current?.(W, K, j);
6230
6230
  },
6231
- onend: ({ client: P, clientX0: k, clientY0: $ }) => {
6232
- const M = de.make(k, $), b = de.make(P);
6231
+ onend: ({ client: P, clientX0: k, clientY0: I }) => {
6232
+ const M = de.make(k, I), b = de.make(P);
6233
6233
  m.current?.(b, M);
6234
6234
  }
6235
6235
  });
@@ -6246,14 +6246,14 @@ function Ct(e, {
6246
6246
  onDragEnd: u,
6247
6247
  ...p
6248
6248
  }) {
6249
- const g = Ee(r), [m, N] = Se(!1), [_, P] = Se(!1), [k, $] = Se(r), M = _e(a), b = _e(l), j = _e(u), K = _e(s);
6249
+ const g = Ee(r), [m, N] = Se(!1), [_, P] = Se(!1), [k, I] = Se(r), M = _e(a), b = _e(l), j = _e(u), K = _e(s);
6250
6250
  return Oc(e, {
6251
6251
  onDragStart: (S) => {
6252
6252
  N(!0), P(!1), M.current?.(S);
6253
6253
  },
6254
6254
  onDragMove: (S, C, E) => {
6255
6255
  const R = K.current(g.current, S.x, S.y);
6256
- No(g, R) && $(R), N(!0), P(!1), b.current?.(S, C, E);
6256
+ No(g, R) && I(R), N(!0), P(!1), b.current?.(S, C, E);
6257
6257
  },
6258
6258
  onDragEnd: (S, C) => {
6259
6259
  N(!1), P(!0), j.current?.(S, C);
@@ -6265,7 +6265,7 @@ function Ct(e, {
6265
6265
  isDragging: m,
6266
6266
  isReleasing: _,
6267
6267
  value: k,
6268
- setValue: $
6268
+ setValue: I
6269
6269
  };
6270
6270
  }
6271
6271
  function No(e, r) {
@@ -6285,12 +6285,12 @@ const Qo = /* @__PURE__ */ Oe(({
6285
6285
  onLoadImageError: _,
6286
6286
  onImageSizeChange: P,
6287
6287
  ...k
6288
- }, $) => {
6288
+ }, I) => {
6289
6289
  const M = me((R, U, G) => R - U * r, [r]), b = Ee(null), j = nt(b), K = Lo({ src: s }, {
6290
6290
  onLoadStart: m,
6291
6291
  onLoadComplete: N,
6292
6292
  onLoadError: _
6293
- }), [W, F] = Se(e), { isDragging: Y, value: S, setValue: C } = Ct(b, {
6293
+ }), [W, B] = Se(e), { isDragging: Y, value: S, setValue: C } = Ct(b, {
6294
6294
  initialValue: 0,
6295
6295
  transform: M,
6296
6296
  onDragStart: p,
@@ -6299,11 +6299,11 @@ const Qo = /* @__PURE__ */ Oe(({
6299
6299
  be(() => {
6300
6300
  if (Y || !K) return;
6301
6301
  const R = kc(e, K, ge.size(j), a);
6302
- R !== S && C(R), e !== W && F(e);
6302
+ R !== S && C(R), e !== W && B(e);
6303
6303
  }, [e, K, j.width, j.height, a]), be(() => {
6304
6304
  if (!Y || !K) return;
6305
6305
  const R = Cc(S, K, ge.size(j), a);
6306
- W !== R && F(R);
6306
+ W !== R && B(R);
6307
6307
  }, [S, K, j.width, j.height, a]), be(() => {
6308
6308
  l?.(W, Y), u?.(W / 360, Y);
6309
6309
  }, [W]), be(() => {
@@ -6314,7 +6314,7 @@ const Qo = /* @__PURE__ */ Oe(({
6314
6314
  "div",
6315
6315
  {
6316
6316
  ...k,
6317
- ref: $,
6317
+ ref: I,
6318
6318
  "aria-valuenow": W,
6319
6319
  role: "slider",
6320
6320
  children: /* @__PURE__ */ x.jsx("div", { ref: b, style: E.body })
@@ -6365,17 +6365,17 @@ const jc = /* @__PURE__ */ Oe(({
6365
6365
  onAngleChange: _,
6366
6366
  onDragEnd: P,
6367
6367
  onDragStart: k,
6368
- onLoadImageComplete: $,
6368
+ onLoadImageComplete: I,
6369
6369
  onLoadImageError: M,
6370
6370
  onLoadImageStart: b,
6371
6371
  onImageSizeChange: j,
6372
6372
  onPositionChange: K,
6373
6373
  ...W
6374
- }, F) => {
6374
+ }, B) => {
6375
6375
  const Y = Ee(null), S = nt(Y), [C, E] = Se(), [R, U] = Se(!1), te = me(() => {
6376
6376
  if (!C) return 0;
6377
- const { width: T, height: V } = C;
6378
- return V === 0 ? 0 : T / V;
6377
+ const { width: T, height: D } = C;
6378
+ return D === 0 ? 0 : T / D;
6379
6379
  }, [C?.width, C?.height])(), H = me(() => {
6380
6380
  const T = Math.min(360, Math.max(0, u ?? (m ? m.width / (m.height * te) * 360 : 0)));
6381
6381
  return S.width * (T / 360);
@@ -6387,14 +6387,14 @@ const jc = /* @__PURE__ */ Oe(({
6387
6387
  track: Kt,
6388
6388
  reticle: Qn,
6389
6389
  indicator: Zn
6390
- }), D = $c({ autoDimension: a, panoramaRect: S, aspectRatio: te, reticleWidth: H });
6390
+ }), F = Ic({ autoDimension: a, panoramaRect: S, aspectRatio: te, reticleWidth: H });
6391
6391
  return /* @__PURE__ */ x.jsxs(
6392
6392
  "div",
6393
6393
  {
6394
6394
  ...W,
6395
- ref: F,
6395
+ ref: B,
6396
6396
  className: ie(e, { dragging: R }),
6397
- style: ce(r, D.root),
6397
+ style: ce(r, F.root),
6398
6398
  children: [
6399
6399
  /* @__PURE__ */ x.jsx(
6400
6400
  Qo,
@@ -6403,29 +6403,29 @@ const jc = /* @__PURE__ */ Oe(({
6403
6403
  angle: s,
6404
6404
  speed: p,
6405
6405
  src: g,
6406
- style: D.panorama,
6406
+ style: F.panorama,
6407
6407
  zeroAnchor: A,
6408
6408
  onAngleChange: _,
6409
6409
  onDragEnd: Z,
6410
6410
  onDragStart: Q,
6411
6411
  onImageSizeChange: E,
6412
- onLoadImageComplete: $,
6412
+ onLoadImageComplete: I,
6413
6413
  onLoadImageError: M,
6414
6414
  onLoadImageStart: b,
6415
6415
  onPositionChange: K
6416
6416
  }
6417
6417
  ),
6418
- /* @__PURE__ */ x.jsx("div", { style: D.body, children: /* @__PURE__ */ x.jsxs("div", { style: D.controls, children: [
6419
- /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track }),
6420
- /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.reticle ?? /* @__PURE__ */ x.jsx(Qn, {}), style: D.reticle }),
6421
- /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: D.track })
6418
+ /* @__PURE__ */ x.jsx("div", { style: F.body, children: /* @__PURE__ */ x.jsxs("div", { style: F.controls, children: [
6419
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: F.track }),
6420
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.reticle ?? /* @__PURE__ */ x.jsx(Qn, {}), style: F.reticle }),
6421
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.track ?? /* @__PURE__ */ x.jsx(Kt, {}), style: F.track })
6422
6422
  ] }) }),
6423
- /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.indicator ?? /* @__PURE__ */ x.jsx(Zn, {}), style: D.indicator })
6423
+ /* @__PURE__ */ x.jsx(he, { className: ie({ dragging: R }), element: se.indicator ?? /* @__PURE__ */ x.jsx(Zn, {}), style: F.indicator })
6424
6424
  ]
6425
6425
  }
6426
6426
  );
6427
6427
  }), Zn = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Qn = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e }), Kt = ({ ...e }) => /* @__PURE__ */ x.jsx("div", { ...e });
6428
- function $c({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio: s = 0, reticleWidth: a = 0 }) {
6428
+ function Ic({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio: s = 0, reticleWidth: a = 0 }) {
6429
6429
  return {
6430
6430
  root: {
6431
6431
  ...e === "width" ? {
@@ -6470,7 +6470,7 @@ function $c({ autoDimension: e = "width", panoramaRect: r = ge.zero, aspectRatio
6470
6470
  };
6471
6471
  }
6472
6472
  process.env.NODE_ENV !== "production" && (jc.displayName = "PanoramaSlider", Zn.displayName = "PanoramaSliderIndicator", Qn.displayName = "PanoramaSliderReticle", Kt.displayName = "PanoramaSliderTrack");
6473
- const Ic = /* @__PURE__ */ Oe(({
6473
+ const $c = /* @__PURE__ */ Oe(({
6474
6474
  children: e,
6475
6475
  className: r,
6476
6476
  decimalPlaces: s = 2,
@@ -6484,49 +6484,49 @@ const Ic = /* @__PURE__ */ Oe(({
6484
6484
  range: _,
6485
6485
  steps: P = -1,
6486
6486
  onChange: k,
6487
- ...$
6487
+ ...I
6488
6488
  }, M) => {
6489
- const b = Ee(null), j = nt(b), K = Ee(null), W = Ee(null), [F, Y] = Se(_ ?? [m, g]), S = Dc(m, g, P), [C, E] = F.map((ne) => st(ne, m, g, N, j, p, l, a)), R = E - C, U = ze(e, {
6489
+ const b = Ee(null), j = nt(b), K = Ee(null), W = Ee(null), [B, Y] = Se(_ ?? [m, g]), S = Dc(m, g, P), [C, E] = B.map((ne) => st(ne, m, g, N, j, p, l, a)), R = E - C, U = ze(e, {
6490
6490
  gutter: er,
6491
6491
  highlight: tr,
6492
6492
  knob: Zt,
6493
6493
  knobContainer: zn,
6494
6494
  label: Jt
6495
6495
  }), G = me((ne, re, le) => {
6496
- const pe = N === "horizontal" ? re : le, Ne = st(m, m, g, N, j, p, l, a), Te = st(F[1], m, g, N, j, p, l, a), xe = st(ne, m, g, N, j, p, l, a) + pe;
6496
+ const pe = N === "horizontal" ? re : le, Ne = st(m, m, g, N, j, p, l, a), Te = st(B[1], m, g, N, j, p, l, a), xe = st(ne, m, g, N, j, p, l, a) + pe;
6497
6497
  return So(Math.max(Ne, Math.min(Te, xe)), m, g, N, j, p, l, a);
6498
- }, [p, l, a, m, g, N, F[1], ge.toString(j)]), te = me((ne, re, le) => {
6499
- const pe = N === "horizontal" ? re : le, Ne = st(F[0], m, g, N, j, p, l, a), Te = st(g, m, g, N, j, p, l, a), xe = st(ne, m, g, N, j, p, l, a) + pe;
6498
+ }, [p, l, a, m, g, N, B[1], ge.toString(j)]), te = me((ne, re, le) => {
6499
+ const pe = N === "horizontal" ? re : le, Ne = st(B[0], m, g, N, j, p, l, a), Te = st(g, m, g, N, j, p, l, a), xe = st(ne, m, g, N, j, p, l, a) + pe;
6500
6500
  return So(Math.max(Ne, Math.min(Te, xe)), m, g, N, j, p, l, a);
6501
- }, [p, l, a, m, g, N, F[0], ge.toString(j)]), { isDragging: J, isReleasing: H, value: z, setValue: A } = Ct(K, {
6501
+ }, [p, l, a, m, g, N, B[0], ge.toString(j)]), { isDragging: J, isReleasing: H, value: z, setValue: A } = Ct(K, {
6502
6502
  initialValue: _?.[0] ?? m,
6503
6503
  transform: G
6504
- }), { isDragging: Q, isReleasing: Z, value: se, setValue: D } = Ct(W, {
6504
+ }), { isDragging: Q, isReleasing: Z, value: se, setValue: F } = Ct(W, {
6505
6505
  initialValue: _?.[1] ?? g,
6506
6506
  transform: te
6507
- }), T = Ac({ isDraggingEndKnob: Q, isDraggingStartKnob: J, isReleasingEndKnob: Z, isReleasingStartKnob: H }), V = Mc({ orientation: N, highlightLength: R, start: C, knobPadding: u, knobWidth: p, knobHeight: l });
6507
+ }), T = Ac({ isDraggingEndKnob: Q, isDraggingStartKnob: J, isReleasingEndKnob: Z, isReleasingStartKnob: H }), D = Mc({ orientation: N, highlightLength: R, start: C, knobPadding: u, knobWidth: p, knobHeight: l });
6508
6508
  return be(() => {
6509
6509
  Y([z, se]);
6510
6510
  }, [z, se]), be(() => {
6511
- k?.(F);
6512
- }, [F[0], F[1]]), be(() => {
6513
- J || Q || Z || Ge(_, F) || (Y(_ ?? [m, g]), A(_?.[0] ?? m), D(_?.[1] ?? g));
6511
+ k?.(B);
6512
+ }, [B[0], B[1]]), be(() => {
6513
+ J || Q || Z || Ge(_, B) || (Y(_ ?? [m, g]), A(_?.[0] ?? m), F(_?.[1] ?? g));
6514
6514
  }, [_?.[0], _?.[1], J, Q, Z]), be(() => {
6515
6515
  S && A(To(z, S));
6516
6516
  }, [H, We(S)]), be(() => {
6517
- !S || !Z || D(To(se, S));
6517
+ !S || !Z || F(To(se, S));
6518
6518
  }, [Z, We(S)]), /* @__PURE__ */ x.jsx(
6519
6519
  "div",
6520
6520
  {
6521
- ...$,
6521
+ ...I,
6522
6522
  ref: M,
6523
6523
  "aria-valuemax": g,
6524
6524
  "aria-valuemin": m,
6525
6525
  className: ie(r, N),
6526
6526
  role: "slider",
6527
- children: /* @__PURE__ */ x.jsxs("div", { ref: b, style: V.body, children: [
6528
- /* @__PURE__ */ x.jsx(he, { element: U.gutter ?? /* @__PURE__ */ x.jsx(er, {}), style: ce(V.gutter) }),
6529
- /* @__PURE__ */ x.jsx(he, { element: U.highlight ?? /* @__PURE__ */ x.jsx(tr, {}), style: ce(V.highlight) }),
6527
+ children: /* @__PURE__ */ x.jsxs("div", { ref: b, style: D.body, children: [
6528
+ /* @__PURE__ */ x.jsx(he, { element: U.gutter ?? /* @__PURE__ */ x.jsx(er, {}), style: ce(D.gutter) }),
6529
+ /* @__PURE__ */ x.jsx(he, { element: U.highlight ?? /* @__PURE__ */ x.jsx(tr, {}), style: ce(D.highlight) }),
6530
6530
  /* @__PURE__ */ x.jsx(
6531
6531
  he,
6532
6532
  {
@@ -6534,7 +6534,7 @@ const Ic = /* @__PURE__ */ Oe(({
6534
6534
  className: T.startKnobContainer,
6535
6535
  disabled: Ge([z, se], [m, m]),
6536
6536
  element: U.knobContainer ?? /* @__PURE__ */ x.jsx(zn, {}),
6537
- style: ce(V.knobContainer, {
6537
+ style: ce(D.knobContainer, {
6538
6538
  pointerEvents: Ge([z, se], [m, m]) ? "none" : "auto"
6539
6539
  }, N === "horizontal" ? {
6540
6540
  left: `${C}px`,
@@ -6543,9 +6543,9 @@ const Ic = /* @__PURE__ */ Oe(({
6543
6543
  left: `${j.width * 0.5}px`,
6544
6544
  top: `${C}px`
6545
6545
  }),
6546
- children: /* @__PURE__ */ x.jsxs(he, { className: T.startKnob, element: U.knob ?? /* @__PURE__ */ x.jsx(Zt, {}), style: ce(V.knob), children: [
6547
- /* @__PURE__ */ x.jsx("div", { style: V.knobHitBox }),
6548
- U.label && /* @__PURE__ */ x.jsx(he, { className: T.startLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(V.label), children: Number(z.toFixed(s)).toLocaleString() })
6546
+ children: /* @__PURE__ */ x.jsxs(he, { className: T.startKnob, element: U.knob ?? /* @__PURE__ */ x.jsx(Zt, {}), style: ce(D.knob), children: [
6547
+ /* @__PURE__ */ x.jsx("div", { style: D.knobHitBox }),
6548
+ U.label && /* @__PURE__ */ x.jsx(he, { className: T.startLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(D.label), children: Number(z.toFixed(s)).toLocaleString() })
6549
6549
  ] })
6550
6550
  }
6551
6551
  ),
@@ -6556,7 +6556,7 @@ const Ic = /* @__PURE__ */ Oe(({
6556
6556
  className: T.endKnobContainer,
6557
6557
  disabled: Ge([z, se], [g, g]),
6558
6558
  element: U.knobContainer ?? /* @__PURE__ */ x.jsx(zn, {}),
6559
- style: ce(V.knobContainer, {
6559
+ style: ce(D.knobContainer, {
6560
6560
  pointerEvents: Ge([z, se], [g, g]) ? "none" : "auto"
6561
6561
  }, N === "horizontal" ? {
6562
6562
  left: `${E}px`,
@@ -6565,9 +6565,9 @@ const Ic = /* @__PURE__ */ Oe(({
6565
6565
  left: `${j.width * 0.5}px`,
6566
6566
  top: `${E}px`
6567
6567
  }),
6568
- children: /* @__PURE__ */ x.jsxs(he, { className: T.endKnob, element: U.knob ?? /* @__PURE__ */ x.jsx(Zt, {}), style: ce(V.knob), children: [
6569
- /* @__PURE__ */ x.jsx("div", { style: V.knobHitBox }),
6570
- U.label && /* @__PURE__ */ x.jsx(he, { className: T.endLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(V.label), children: Number(se.toFixed(s)).toLocaleString() })
6568
+ children: /* @__PURE__ */ x.jsxs(he, { className: T.endKnob, element: U.knob ?? /* @__PURE__ */ x.jsx(Zt, {}), style: ce(D.knob), children: [
6569
+ /* @__PURE__ */ x.jsx("div", { style: D.knobHitBox }),
6570
+ U.label && /* @__PURE__ */ x.jsx(he, { className: T.endLabel, element: U.label ?? /* @__PURE__ */ x.jsx(Jt, {}), style: ce(D.label), children: Number(se.toFixed(s)).toLocaleString() })
6571
6571
  ] })
6572
6572
  }
6573
6573
  )
@@ -6719,7 +6719,7 @@ function Dc(e, r, s) {
6719
6719
  r
6720
6720
  ];
6721
6721
  }
6722
- process.env.NODE_ENV !== "production" && (Ic.displayName = "RangeSlider", er.displayName = "RangeSliderGutter", Jt.displayName = "RangeSliderLabel", tr.displayName = "RangeSliderHighlight", Zt.displayName = "RangeSliderKnob");
6722
+ process.env.NODE_ENV !== "production" && ($c.displayName = "RangeSlider", er.displayName = "RangeSliderGutter", Jt.displayName = "RangeSliderLabel", tr.displayName = "RangeSliderHighlight", Zt.displayName = "RangeSliderKnob");
6723
6723
  const Vc = Oe(({
6724
6724
  children: e,
6725
6725
  id: r,
@@ -6828,20 +6828,20 @@ const Hc = /* @__PURE__ */ Oe(({
6828
6828
  position: _ = 0,
6829
6829
  trackPadding: P = 0,
6830
6830
  labelProvider: k,
6831
- onDragEnd: $,
6831
+ onDragEnd: I,
6832
6832
  onDragStart: M,
6833
6833
  onChange: b,
6834
6834
  ...j
6835
6835
  }, K) => {
6836
- const W = Ee(null), F = Ee(null), Y = me((Q, Z, se) => {
6837
- const D = ge.from(W.current) ?? ge.zero, T = a ? 1 - Q : Q;
6836
+ const W = Ee(null), B = Ee(null), Y = me((Q, Z, se) => {
6837
+ const F = ge.from(W.current) ?? ge.zero, T = a ? 1 - Q : Q;
6838
6838
  switch (N) {
6839
6839
  case "horizontal": {
6840
- const V = s ? D.width - g : D.width, ne = T * V + Z, re = Math.max(0, Math.min(1, ne / V));
6840
+ const D = s ? F.width - g : F.width, ne = T * D + Z, re = Math.max(0, Math.min(1, ne / D));
6841
6841
  return a ? 1 - re : re;
6842
6842
  }
6843
6843
  case "vertical": {
6844
- const V = s ? D.height - u : D.height, ne = T * V + se, re = Math.max(0, Math.min(1, ne / V));
6844
+ const D = s ? F.height - u : F.height, ne = T * D + se, re = Math.max(0, Math.min(1, ne / D));
6845
6845
  return a ? 1 - re : re;
6846
6846
  }
6847
6847
  default:
@@ -6852,23 +6852,23 @@ const Hc = /* @__PURE__ */ Oe(({
6852
6852
  const Z = ge.from(W.current) ?? ge.zero, se = ge.fromViewport();
6853
6853
  switch (N) {
6854
6854
  case "horizontal": {
6855
- const D = (Q.clientX + se.left - Z.left) / Z.width, T = a ? 1 - D : D;
6855
+ const F = (Q.clientX + se.left - Z.left) / Z.width, T = a ? 1 - F : F;
6856
6856
  U(T);
6857
6857
  break;
6858
6858
  }
6859
6859
  case "vertical": {
6860
- const D = (Q.clientY + se.top - Z.top) / Z.height, T = a ? 1 - D : D;
6860
+ const F = (Q.clientY + se.top - Z.top) / Z.height, T = a ? 1 - F : F;
6861
6861
  U(T);
6862
6862
  break;
6863
6863
  }
6864
6864
  default:
6865
6865
  console.error(`[etudes::Slider] Invalid orientation: ${N}`);
6866
6866
  }
6867
- }, [W.current, a, l, N]), { isDragging: C, isReleasing: E, value: R, setValue: U } = Ct(F, {
6867
+ }, [W.current, a, l, N]), { isDragging: C, isReleasing: E, value: R, setValue: U } = Ct(B, {
6868
6868
  initialValue: _,
6869
6869
  transform: Y,
6870
6870
  onDragStart: M,
6871
- onDragEnd: $
6871
+ onDragEnd: I
6872
6872
  }), G = a ? 1 - R : R, H = Yc({ orientation: N, isAtEnd: a ? R === 0 : R === 1, isAtStart: a ? R === 1 : R === 0, isDragging: C, isReleasing: E }), z = Xc({ orientation: N, isClipped: s, naturalPosition: G, knobPadding: p, knobHeight: u, knobWidth: g, isTrackInteractive: l });
6873
6873
  be(() => {
6874
6874
  C || _ === R || U(_);
@@ -6928,7 +6928,7 @@ const Hc = /* @__PURE__ */ Oe(({
6928
6928
  /* @__PURE__ */ x.jsx(
6929
6929
  he,
6930
6930
  {
6931
- ref: F,
6931
+ ref: B,
6932
6932
  className: ie(H.knobContainer),
6933
6933
  element: A.knobContainer ?? /* @__PURE__ */ x.jsx(or, {}),
6934
6934
  style: z.knobContainer,
@@ -7056,15 +7056,15 @@ const Uc = /* @__PURE__ */ Oe(({
7056
7056
  onlyDispatchesOnDragEnd: _ = !1,
7057
7057
  orientation: P = "vertical",
7058
7058
  steps: k = qc(10),
7059
- trackPadding: $ = 0,
7059
+ trackPadding: I = 0,
7060
7060
  onDragEnd: M,
7061
7061
  onDragStart: b,
7062
7062
  onIndexChange: j,
7063
7063
  onPositionChange: K,
7064
7064
  ...W
7065
- }, F) => {
7066
- const Y = Ee(null), S = Ee(null), C = nt(Y), [E, R] = Se(s), U = me((V, ne, re) => {
7067
- const le = l ? et(V) : V;
7065
+ }, B) => {
7066
+ const Y = Ee(null), S = Ee(null), C = nt(Y), [E, R] = Se(s), U = me((D, ne, re) => {
7067
+ const le = l ? et(D) : D;
7068
7068
  switch (P) {
7069
7069
  case "horizontal": {
7070
7070
  const pe = a ? C.width - m : C.width, Ne = le * pe + ne, Te = qt(Ne / pe);
@@ -7082,12 +7082,12 @@ const Uc = /* @__PURE__ */ Oe(({
7082
7082
  transform: U,
7083
7083
  onDragStart: b,
7084
7084
  onDragEnd: M
7085
- }), z = me((V) => {
7085
+ }), z = me((D) => {
7086
7086
  if (!u) return;
7087
7087
  const ne = ge.fromViewport();
7088
7088
  switch (P) {
7089
7089
  case "horizontal": {
7090
- const re = (V.clientX + ne.left - C.left) / C.width, le = l ? et(re) : re, pe = Ot(le, k);
7090
+ const re = (D.clientX + ne.left - C.left) / C.width, le = l ? et(re) : re, pe = Ot(le, k);
7091
7091
  if (pe === E) {
7092
7092
  const Ne = le > J ? pe + 1 : pe - 1;
7093
7093
  R(qt(Ne, k.length - 1));
@@ -7096,7 +7096,7 @@ const Uc = /* @__PURE__ */ Oe(({
7096
7096
  break;
7097
7097
  }
7098
7098
  case "vertical": {
7099
- const re = (V.clientY + ne.top - C.top) / C.height, le = l ? et(re) : re, pe = Ot(le, k);
7099
+ const re = (D.clientY + ne.top - C.top) / C.height, le = l ? et(re) : re, pe = Ot(le, k);
7100
7100
  if (pe === E) {
7101
7101
  const Ne = le > J ? pe + 1 : pe - 1, Te = dt(Ne, k);
7102
7102
  H(Te), R(qt(Ne, k.length - 1));
@@ -7109,7 +7109,7 @@ const Uc = /* @__PURE__ */ Oe(({
7109
7109
  default:
7110
7110
  console.error(`[etudes::StepSlider] Invalid orientation: ${P}`);
7111
7111
  }
7112
- }, [C.width, C.left, C.top, C.height, E, J, l, u, P, We(k)]), A = l ? et(J) : J, se = Gc({ orientation: P, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), D = Wc({ orientation: P, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: p, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7112
+ }, [C.width, C.left, C.top, C.height, E, J, l, u, P, We(k)]), A = l ? et(J) : J, se = Gc({ orientation: P, isAtEnd: l ? J === 0 : J === 1, isAtStart: l ? J === 1 : J === 0, isDragging: G, isReleasing: te }), F = Wc({ orientation: P, naturalPosition: A, isClipped: a, knobPadding: g, knobHeight: p, knobWidth: m, isTrackInteractive: u }), T = ze(e, {
7113
7113
  knob: sr,
7114
7114
  knobContainer: ar,
7115
7115
  label: cr,
@@ -7122,8 +7122,8 @@ const Uc = /* @__PURE__ */ Oe(({
7122
7122
  if (_) return;
7123
7123
  R(Ot(J, k));
7124
7124
  } else {
7125
- const V = Ot(J, k), ne = dt(V, k);
7126
- H(ne), R(V);
7125
+ const D = Ot(J, k), ne = dt(D, k);
7126
+ H(ne), R(D);
7127
7127
  }
7128
7128
  }, [J, G, _, We(k)]), be(() => {
7129
7129
  K?.(J, G);
@@ -7133,25 +7133,25 @@ const Uc = /* @__PURE__ */ Oe(({
7133
7133
  "div",
7134
7134
  {
7135
7135
  ...W,
7136
- ref: F,
7136
+ ref: B,
7137
7137
  "aria-valuenow": E,
7138
7138
  className: ie(r, se.root),
7139
7139
  role: "slider",
7140
- children: /* @__PURE__ */ x.jsxs("div", { ref: Y, style: D.body, children: [
7140
+ children: /* @__PURE__ */ x.jsxs("div", { ref: Y, style: F.body, children: [
7141
7141
  /* @__PURE__ */ x.jsx(
7142
7142
  he,
7143
7143
  {
7144
7144
  className: ie(l ? "end" : "start", se.track),
7145
7145
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7146
- style: ce(D.track, P === "vertical" ? {
7147
- height: `calc(${A * 100}% - ${$ <= 0 ? 0 : p * 0.5}px - ${$}px)`,
7146
+ style: ce(F.track, P === "vertical" ? {
7147
+ height: `calc(${A * 100}% - ${I <= 0 ? 0 : p * 0.5}px - ${I}px)`,
7148
7148
  top: "0"
7149
7149
  } : {
7150
7150
  left: "0",
7151
- width: `calc(${A * 100}% - ${$ <= 0 ? 0 : m * 0.5}px - ${$}px)`
7151
+ width: `calc(${A * 100}% - ${I <= 0 ? 0 : m * 0.5}px - ${I}px)`
7152
7152
  }),
7153
7153
  onClick: z,
7154
- children: /* @__PURE__ */ x.jsx("div", { style: D.trackHitBox })
7154
+ children: /* @__PURE__ */ x.jsx("div", { style: F.trackHitBox })
7155
7155
  }
7156
7156
  ),
7157
7157
  /* @__PURE__ */ x.jsx(
@@ -7159,15 +7159,15 @@ const Uc = /* @__PURE__ */ Oe(({
7159
7159
  {
7160
7160
  className: ie(l ? "start" : "end", se.track),
7161
7161
  element: T.track ?? /* @__PURE__ */ x.jsx(tn, {}),
7162
- style: ce(D.track, P === "vertical" ? {
7162
+ style: ce(F.track, P === "vertical" ? {
7163
7163
  bottom: "0",
7164
- height: `calc(${et(A) * 100}% - ${$ <= 0 ? 0 : p * 0.5}px - ${$}px)`
7164
+ height: `calc(${et(A) * 100}% - ${I <= 0 ? 0 : p * 0.5}px - ${I}px)`
7165
7165
  } : {
7166
7166
  right: "0",
7167
- width: `calc(${et(A) * 100}% - ${$ <= 0 ? 0 : m * 0.5}px - ${$}px)`
7167
+ width: `calc(${et(A) * 100}% - ${I <= 0 ? 0 : m * 0.5}px - ${I}px)`
7168
7168
  }),
7169
7169
  onClick: z,
7170
- children: /* @__PURE__ */ x.jsx("div", { style: D.trackHitBox })
7170
+ children: /* @__PURE__ */ x.jsx("div", { style: F.trackHitBox })
7171
7171
  }
7172
7172
  ),
7173
7173
  /* @__PURE__ */ x.jsx(
@@ -7176,10 +7176,10 @@ const Uc = /* @__PURE__ */ Oe(({
7176
7176
  ref: S,
7177
7177
  className: ie(se.knobContainer),
7178
7178
  element: T.knobContainer ?? /* @__PURE__ */ x.jsx(ar, {}),
7179
- style: ce(D.knobContainer),
7180
- children: /* @__PURE__ */ x.jsxs(he, { className: ie(se.knob), element: T.knob ?? /* @__PURE__ */ x.jsx(sr, {}), style: ce(D.knob), children: [
7181
- /* @__PURE__ */ x.jsx("div", { style: D.knobHitBox }),
7182
- k && N && /* @__PURE__ */ x.jsx(he, { className: ie(se.label), element: T.label ?? /* @__PURE__ */ x.jsx(cr, {}), style: ce(D.label), children: N(J, Ot(J, k)) })
7179
+ style: ce(F.knobContainer),
7180
+ children: /* @__PURE__ */ x.jsxs(he, { className: ie(se.knob), element: T.knob ?? /* @__PURE__ */ x.jsx(sr, {}), style: ce(F.knob), children: [
7181
+ /* @__PURE__ */ x.jsx("div", { style: F.knobHitBox }),
7182
+ k && N && /* @__PURE__ */ x.jsx(he, { className: ie(se.label), element: T.label ?? /* @__PURE__ */ x.jsx(cr, {}), style: ce(F.label), children: N(J, Ot(J, k)) })
7183
7183
  ] })
7184
7184
  }
7185
7185
  )
@@ -7324,18 +7324,18 @@ const Kc = /* @__PURE__ */ Oe(({
7324
7324
  onSwipeUp: p,
7325
7325
  ...g
7326
7326
  }, m) => {
7327
- const [N, _] = Se(void 0), [P, k] = Se(void 0), [$, M] = Se(NaN), b = (F, Y) => {
7328
- if (isNaN(F) || isNaN(Y)) return W();
7329
- _(de.make(F, Y));
7330
- }, j = (F, Y) => {
7327
+ const [N, _] = Se(void 0), [P, k] = Se(void 0), [I, M] = Se(NaN), b = (B, Y) => {
7328
+ if (isNaN(B) || isNaN(Y)) return W();
7329
+ _(de.make(B, Y));
7330
+ }, j = (B, Y) => {
7331
7331
  const S = N;
7332
7332
  if (S === void 0) return;
7333
- const C = S.x !== F || S.y !== Y, E = !isNaN($);
7334
- C && (E || M(Date.now()), k(de.make(F, Y)));
7333
+ const C = S.x !== B || S.y !== Y, E = !isNaN(I);
7334
+ C && (E || M(Date.now()), k(de.make(B, Y)));
7335
7335
  }, K = () => {
7336
- const F = $, Y = N, S = P;
7337
- if (isNaN(F) || Y === void 0 || S === void 0) return;
7338
- const C = Date.now() - F, E = S.x - Y.x, R = S.y - Y.y, U = E / C, G = R / C;
7336
+ const B = I, Y = N, S = P;
7337
+ if (isNaN(B) || Y === void 0 || S === void 0) return;
7338
+ const C = Date.now() - B, E = S.x - Y.x, R = S.y - Y.y, U = E / C, G = R / C;
7339
7339
  r && (Math.abs(U) >= s && Math.abs(U) > Math.abs(G) ? U > 0 ? u?.() : l?.() : Math.abs(G) >= s && Math.abs(G) > Math.abs(U) && (G > 0 ? a?.() : p?.())), W();
7340
7340
  }, W = () => {
7341
7341
  _(void 0), k(void 0), M(NaN);
@@ -7345,13 +7345,13 @@ const Kc = /* @__PURE__ */ Oe(({
7345
7345
  {
7346
7346
  ...g,
7347
7347
  ref: m,
7348
- onMouseDown: (F) => b(F.clientX, F.clientY),
7348
+ onMouseDown: (B) => b(B.clientX, B.clientY),
7349
7349
  onMouseLeave: () => W(),
7350
- onMouseMove: (F) => j(F.clientX, F.clientY),
7350
+ onMouseMove: (B) => j(B.clientX, B.clientY),
7351
7351
  onMouseUp: () => K(),
7352
7352
  onTouchEnd: () => K(),
7353
- onTouchMove: (F) => j(F.targetTouches[0].clientX, F.targetTouches[0].clientY),
7354
- onTouchStart: (F) => b(F.targetTouches[0].clientX, F.targetTouches[0].clientY),
7353
+ onTouchMove: (B) => j(B.targetTouches[0].clientX, B.targetTouches[0].clientY),
7354
+ onTouchStart: (B) => b(B.targetTouches[0].clientX, B.targetTouches[0].clientY),
7355
7355
  children: e
7356
7356
  }
7357
7357
  );
@@ -7382,10 +7382,10 @@ const Zc = Oe(({
7382
7382
  const N = Ee(null), _ = jo(N), P = ze(r, {
7383
7383
  knob: ur,
7384
7384
  track: lr
7385
- }), k = Qc({ isOn: a }), $ = el({ isOn: a, isInverted: s, orientation: l, knobSize: _ });
7386
- return /* @__PURE__ */ x.jsxs("label", { ...g, ref: m, className: ie(e, k.root), style: ce(u, $.root), children: [
7387
- /* @__PURE__ */ x.jsx("input", { checked: a, style: $.input, type: "checkbox", onChange: (M) => p?.(M.target.checked) }),
7388
- /* @__PURE__ */ x.jsx(he, { className: k.track, element: P.track ?? /* @__PURE__ */ x.jsx(lr, {}), style: $.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: N, className: k.knob, element: P.knob ?? /* @__PURE__ */ x.jsx(ur, {}), style: $.knob }) }) })
7385
+ }), k = Qc({ isOn: a }), I = el({ isOn: a, isInverted: s, orientation: l, knobSize: _ });
7386
+ return /* @__PURE__ */ x.jsxs("label", { ...g, ref: m, className: ie(e, k.root), style: ce(u, I.root), children: [
7387
+ /* @__PURE__ */ x.jsx("input", { checked: a, style: I.input, type: "checkbox", onChange: (M) => p?.(M.target.checked) }),
7388
+ /* @__PURE__ */ x.jsx(he, { className: k.track, element: P.track ?? /* @__PURE__ */ x.jsx(lr, {}), style: I.track, children: /* @__PURE__ */ x.jsx("div", { style: { position: "relative", width: "100%", height: "100%" }, children: /* @__PURE__ */ x.jsx(he, { ref: N, className: k.knob, element: P.knob ?? /* @__PURE__ */ x.jsx(ur, {}), style: I.knob }) }) })
7389
7389
  ] });
7390
7390
  }), lr = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e }), ur = ({ children: e, ...r }) => /* @__PURE__ */ x.jsx("div", { ...r, children: e });
7391
7391
  function Qc({ isOn: e = !1 }) {
@@ -7476,24 +7476,24 @@ function tl({
7476
7476
  maxWidth: m = 200,
7477
7477
  threshold: N = 100
7478
7478
  }) {
7479
- const _ = Ee(null), P = Ee(void 0), k = nt(_), $ = me(() => {
7479
+ const _ = Ee(null), P = Ee(void 0), k = nt(_), I = me(() => {
7480
7480
  const j = document.createElement("span");
7481
7481
  j.className = ie(r), j.innerHTML = g, j.role = "tooltip";
7482
- const K = a ?? (_.current ? rl(_.current, N) : "tl"), W = nl(j), F = sl({ alignment: K, arrowSize: Me.make(u, l), gap: p, maxDialogWidth: m, fullDialogWidth: W.width, targetWidth: k.width }), Y = ce(s, F.dialog);
7482
+ const K = a ?? (_.current ? rl(_.current, N) : "tl"), W = nl(j), B = sl({ alignment: K, arrowSize: Me.make(u, l), gap: p, maxDialogWidth: m, fullDialogWidth: W.width, targetWidth: k.width }), Y = ce(s, B.dialog);
7483
7483
  Object.keys(Y).forEach((C) => j.style[C] = Y[C]);
7484
7484
  const S = document.createElement("span");
7485
- return Object.keys(F.arrow).forEach((C) => S.style[C] = F.arrow[C]), j.appendChild(S), j;
7485
+ return Object.keys(B.arrow).forEach((C) => S.style[C] = B.arrow[C]), j.appendChild(S), j;
7486
7486
  }, [r, a, g, m, We(s), k.width, N, l, u, p]), M = me(() => {
7487
7487
  P.current && (P.current.style.opacity = "1", P.current.ariaHidden = "false");
7488
7488
  }, []), b = me(() => {
7489
7489
  P.current && (P.current.style.opacity = "0", P.current.ariaHidden = "true");
7490
7490
  }, []);
7491
7491
  return be(() => {
7492
- const j = $();
7492
+ const j = I();
7493
7493
  return _.current?.appendChild(j), P.current = j, () => {
7494
7494
  _.current?.removeChild(j), P.current = void 0;
7495
7495
  };
7496
- }, [$]), /* @__PURE__ */ x.jsx(
7496
+ }, [I]), /* @__PURE__ */ x.jsx(
7497
7497
  ni,
7498
7498
  {
7499
7499
  ref: _,
@@ -7774,10 +7774,10 @@ function El(e, r, {
7774
7774
  mapStateToSearchParam: a,
7775
7775
  shouldPopulateDefaultState: l = !1
7776
7776
  } = {}) {
7777
- const u = me((k, $) => s ? s(k) : k || $, [s]), p = me((k) => a ? a(k) : !l && k === r ? void 0 : `${k}`, [r, l, a]), [g, m] = Es(), N = u(g.get(e) ?? void 0, r), [_, P] = Se(N);
7777
+ const u = me((k, I) => s ? s(k) : k || I, [s]), p = me((k) => a ? a(k) : !l && k === r ? void 0 : `${k}`, [r, l, a]), [g, m] = Es(), N = u(g.get(e) ?? void 0, r), [_, P] = Se(N);
7778
7778
  return be(() => {
7779
- const k = g.get(e), $ = p(_);
7780
- $ !== k && ($ ? g.set(e, $) : g.delete(e), m(g));
7779
+ const k = g.get(e), I = p(_);
7780
+ I !== k && (I ? g.set(e, I) : g.delete(e), m(g));
7781
7781
  }, [_, p]), [_, P];
7782
7782
  }
7783
7783
  function Nl(e, {
@@ -7932,9 +7932,9 @@ function _o(e) {
7932
7932
  return e == null ? "" : Array.isArray(e) ? JSON.stringify(e.map(_o)) : typeof e == "object" ? JSON.stringify(Object.entries(e).sort(([r], [s]) => r.localeCompare(s)).map(([r, s]) => [r, _o(s)])) : We(e);
7933
7933
  }
7934
7934
  export {
7935
- $s as Accordion,
7935
+ Is as Accordion,
7936
7936
  Ao as AccordionCollapseIcon,
7937
- Io as AccordionExpandIcon,
7937
+ $o as AccordionExpandIcon,
7938
7938
  Fn as AccordionHeader,
7939
7939
  Dn as AccordionItem,
7940
7940
  fo as AccordionSection,
@@ -7983,7 +7983,7 @@ export {
7983
7983
  Zn as PanoramaSliderIndicator,
7984
7984
  Qn as PanoramaSliderReticle,
7985
7985
  Kt as PanoramaSliderTrack,
7986
- Ic as RangeSlider,
7986
+ $c as RangeSlider,
7987
7987
  er as RangeSliderGutter,
7988
7988
  tr as RangeSliderHighlight,
7989
7989
  Zt as RangeSliderKnob,