bonprix-design-system 0.50.2 → 0.50.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1,6 +1,6 @@
1
- import { jsx as v, Fragment as Ve, jsxs as Z } from "react/jsx-runtime";
1
+ import { jsx as v, Fragment as Fe, jsxs as Z } from "react/jsx-runtime";
2
2
  import * as b from "react";
3
- import re, { createContext as yt, useRef as ye, useLayoutEffect as Ns, useEffect as te, useId as ke, useContext as Ae, useInsertionEffect as mh, useMemo as Ye, useCallback as Be, Children as nr, isValidElement as _a, useState as J, Fragment as gh, createElement as Lb, forwardRef as Nn, Component as Vb, useImperativeHandle as Fb, cloneElement as Bb } from "react";
3
+ import re, { createContext as yt, useRef as ye, useLayoutEffect as Ns, useEffect as te, useId as Re, useContext as ke, useInsertionEffect as mh, useMemo as Ae, useCallback as $e, Children as nr, isValidElement as _a, useState as J, Fragment as gh, createElement as Lb, forwardRef as Nn, Component as Vb, useImperativeHandle as Fb, cloneElement as Bb } from "react";
4
4
  import * as Os from "react-dom";
5
5
  import $b, { createPortal as _l } from "react-dom";
6
6
  function Wb(t, e) {
@@ -116,7 +116,7 @@ function Ub(t) {
116
116
  var vh = Symbol("radix.slottable");
117
117
  // @__NO_SIDE_EFFECTS__
118
118
  function zb(t) {
119
- const e = ({ children: n }) => /* @__PURE__ */ v(Ve, { children: n });
119
+ const e = ({ children: n }) => /* @__PURE__ */ v(Fe, { children: n });
120
120
  return e.displayName = `${t}.Slottable`, e.__radixId = vh, e;
121
121
  }
122
122
  function Hb(t) {
@@ -183,8 +183,8 @@ function ne(t, e, { checkForDefaultPrevented: n = !0 } = {}) {
183
183
  return e?.(o);
184
184
  };
185
185
  }
186
- var Me = globalThis?.document ? b.useLayoutEffect : () => {
187
- }, Yb = b[" useInsertionEffect ".trim().toString()] || Me;
186
+ var De = globalThis?.document ? b.useLayoutEffect : () => {
187
+ }, Yb = b[" useInsertionEffect ".trim().toString()] || De;
188
188
  function mt({
189
189
  prop: t,
190
190
  defaultProp: e,
@@ -284,13 +284,13 @@ function e0(t) {
284
284
  return b.useEffect(() => {
285
285
  const c = Do(r.current);
286
286
  s.current = a === "mounted" ? c : "none";
287
- }, [a]), Me(() => {
287
+ }, [a]), De(() => {
288
288
  const c = r.current, u = o.current;
289
289
  if (u !== t) {
290
290
  const f = s.current, h = Do(c);
291
291
  t ? l("MOUNT") : h === "none" || c?.display === "none" ? l("UNMOUNT") : l(u && f !== h ? "ANIMATION_OUT" : "UNMOUNT"), o.current = t;
292
292
  }
293
- }, [t, l]), Me(() => {
293
+ }, [t, l]), De(() => {
294
294
  if (e) {
295
295
  let c;
296
296
  const u = e.ownerDocument.defaultView ?? window, d = (h) => {
@@ -327,7 +327,7 @@ var n0 = b[" useId ".trim().toString()] || (() => {
327
327
  }), r0 = 0;
328
328
  function ht(t) {
329
329
  const [e, n] = b.useState(n0());
330
- return Me(() => {
330
+ return De(() => {
331
331
  n((r) => r ?? String(r0++));
332
332
  }, [t]), e ? `radix-${e}` : "";
333
333
  }
@@ -400,7 +400,7 @@ var i0 = b.forwardRef((t, e) => {
400
400
  return b.useEffect(() => {
401
401
  const y = requestAnimationFrame(() => g.current = !1);
402
402
  return () => cancelAnimationFrame(y);
403
- }, []), Me(() => {
403
+ }, []), De(() => {
404
404
  const y = c.current;
405
405
  if (y) {
406
406
  x.current = x.current || {
@@ -839,13 +839,13 @@ function Gh(t, e) {
839
839
  i[No[S]].cancel(w);
840
840
  }, state: o, steps: i };
841
841
  }
842
- const { schedule: xe, cancel: zt, state: De, steps: Ni } = /* @__PURE__ */ Gh(typeof requestAnimationFrame < "u" ? requestAnimationFrame : rt, !0);
842
+ const { schedule: xe, cancel: zt, state: Ne, steps: Ni } = /* @__PURE__ */ Gh(typeof requestAnimationFrame < "u" ? requestAnimationFrame : rt, !0);
843
843
  let Xo;
844
844
  function O0() {
845
845
  Xo = void 0;
846
846
  }
847
- const ze = {
848
- now: () => (Xo === void 0 && ze.set(De.isProcessing || Ut.useManualTiming ? De.timestamp : performance.now()), Xo),
847
+ const He = {
848
+ now: () => (Xo === void 0 && He.set(Ne.isProcessing || Ut.useManualTiming ? Ne.timestamp : performance.now()), Xo),
849
849
  set: (t) => {
850
850
  Xo = t, queueMicrotask(O0);
851
851
  }
@@ -906,13 +906,13 @@ const Ma = {
906
906
  test: /* @__PURE__ */ ql("hsl", "hue"),
907
907
  parse: /* @__PURE__ */ Yh("hue", "saturation", "lightness"),
908
908
  transform: ({ hue: t, saturation: e, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(t) + ", " + Tt.transform(Br(e)) + ", " + Tt.transform(Br(n)) + ", " + Br(qr.transform(r)) + ")"
909
- }, Re = {
909
+ }, _e = {
910
910
  test: (t) => bn.test(t) || Ma.test(t) || Un.test(t),
911
911
  parse: (t) => bn.test(t) ? bn.parse(t) : Un.test(t) ? Un.parse(t) : Ma.parse(t),
912
912
  transform: (t) => typeof t == "string" ? t : t.hasOwnProperty("red") ? bn.transform(t) : Un.transform(t),
913
913
  getAnimatableNone: (t) => {
914
- const e = Re.parse(t);
915
- return e.alpha = 0, Re.transform(e);
914
+ const e = _e.parse(t);
915
+ return e.alpha = 0, _e.transform(e);
916
916
  }
917
917
  }, z0 = /(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;
918
918
  function H0(t) {
@@ -926,7 +926,7 @@ function Xr(t) {
926
926
  var: []
927
927
  }, o = [];
928
928
  let s = 0;
929
- const a = e.replace(Y0, (l) => (Re.test(l) ? (r.color.push(s), o.push(Xh), n.push(Re.parse(l))) : l.startsWith(K0) ? (r.var.push(s), o.push(G0), n.push(l)) : (r.number.push(s), o.push(qh), n.push(parseFloat(l))), ++s, _u)).split(_u);
929
+ const a = e.replace(Y0, (l) => (_e.test(l) ? (r.color.push(s), o.push(Xh), n.push(_e.parse(l))) : l.startsWith(K0) ? (r.var.push(s), o.push(G0), n.push(l)) : (r.number.push(s), o.push(qh), n.push(parseFloat(l))), ++s, _u)).split(_u);
930
930
  return { values: n, split: a, indexes: r, types: o };
931
931
  }
932
932
  function Zh(t) {
@@ -939,12 +939,12 @@ function Qh(t) {
939
939
  for (let i = 0; i < r; i++)
940
940
  if (s += e[i], o[i] !== void 0) {
941
941
  const a = n[i];
942
- a === qh ? s += Br(o[i]) : a === Xh ? s += Re.transform(o[i]) : s += o[i];
942
+ a === qh ? s += Br(o[i]) : a === Xh ? s += _e.transform(o[i]) : s += o[i];
943
943
  }
944
944
  return s;
945
945
  };
946
946
  }
947
- const q0 = (t) => typeof t == "number" ? 0 : Re.test(t) ? Re.getAnimatableNone(t) : t;
947
+ const q0 = (t) => typeof t == "number" ? 0 : _e.test(t) ? _e.getAnimatableNone(t) : t;
948
948
  function X0(t) {
949
949
  const e = Zh(t);
950
950
  return Qh(t)(e.map(q0));
@@ -1002,7 +1002,7 @@ function tx(t, e) {
1002
1002
  return (n) => we(t, e, n);
1003
1003
  }
1004
1004
  function Xl(t) {
1005
- return typeof t == "number" ? tx : typeof t == "string" ? Kl(t) ? us : Re.test(t) ? Iu : ox : Array.isArray(t) ? Jh : typeof t == "object" ? Re.test(t) ? Iu : nx : us;
1005
+ return typeof t == "number" ? tx : typeof t == "string" ? Kl(t) ? us : _e.test(t) ? Iu : ox : Array.isArray(t) ? Jh : typeof t == "object" ? _e.test(t) ? Iu : nx : us;
1006
1006
  }
1007
1007
  function Jh(t, e) {
1008
1008
  const n = [...t], r = n.length, o = t.map((s, i) => Xl(s)(s, e[i]));
@@ -1046,7 +1046,7 @@ const sx = (t) => {
1046
1046
  * If we're processing this frame we can use the
1047
1047
  * framelocked timestamp to keep things in sync.
1048
1048
  */
1049
- now: () => De.isProcessing ? De.timestamp : ze.now()
1049
+ now: () => Ne.isProcessing ? Ne.timestamp : He.now()
1050
1050
  };
1051
1051
  }, tp = (t, e, n = 10) => {
1052
1052
  let r = "";
@@ -1377,7 +1377,7 @@ class ec extends Jl {
1377
1377
  constructor(e) {
1378
1378
  super(), this.state = "idle", this.startTime = null, this.isStopped = !1, this.currentTime = 0, this.holdTime = null, this.playbackSpeed = 1, this.stop = () => {
1379
1379
  const { motionValue: n } = this.options;
1380
- n && n.updatedAt !== ze.now() && this.tick(ze.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
1380
+ n && n.updatedAt !== He.now() && this.tick(He.now()), this.isStopped = !0, this.state !== "idle" && (this.teardown(), this.options.onStop?.());
1381
1381
  }, this.options = e, this.initAnimation(), this.play(), e.autoplay === !1 && this.pause();
1382
1382
  }
1383
1383
  initAnimation() {
@@ -1446,7 +1446,7 @@ class ec extends Jl {
1446
1446
  return this.playbackSpeed;
1447
1447
  }
1448
1448
  set speed(e) {
1449
- this.updateTime(ze.now());
1449
+ this.updateTime(He.now());
1450
1450
  const n = this.playbackSpeed !== e;
1451
1451
  this.playbackSpeed = e, n && (this.time = /* @__PURE__ */ tt(this.currentTime));
1452
1452
  }
@@ -1459,7 +1459,7 @@ class ec extends Jl {
1459
1459
  this.state === "finished" ? (this.updateFinished(), this.startTime = r) : this.holdTime !== null ? this.startTime = r - this.holdTime : this.startTime || (this.startTime = n ?? r), this.state === "finished" && this.speed < 0 && (this.startTime += this.calculatedDuration), this.holdTime = null, this.state = "running", this.driver.start();
1460
1460
  }
1461
1461
  pause() {
1462
- this.state = "paused", this.updateTime(ze.now()), this.holdTime = this.currentTime;
1462
+ this.state = "paused", this.updateTime(He.now()), this.holdTime = this.currentTime;
1463
1463
  }
1464
1464
  complete() {
1465
1465
  this.state !== "running" && this.play(), this.state = "finished", this.holdTime = null;
@@ -1886,7 +1886,7 @@ class Hx extends Jl {
1886
1886
  constructor({ autoplay: e = !0, delay: n = 0, type: r = "keyframes", repeat: o = 0, repeatDelay: s = 0, repeatType: i = "loop", keyframes: a, name: l, motionValue: c, element: u, ...d }) {
1887
1887
  super(), this.stop = () => {
1888
1888
  this._animation && (this._animation.stop(), this.stopTimeline?.()), this.keyframeResolver?.cancel();
1889
- }, this.createdAt = ze.now();
1889
+ }, this.createdAt = He.now();
1890
1890
  const f = {
1891
1891
  autoplay: e,
1892
1892
  delay: n,
@@ -1904,7 +1904,7 @@ class Hx extends Jl {
1904
1904
  onKeyframesResolved(e, n, r, o) {
1905
1905
  this.keyframeResolver = void 0;
1906
1906
  const { name: s, type: i, velocity: a, delay: l, isHandoff: c, onUpdate: u } = r;
1907
- this.resolvedAt = ze.now(), $x(e, s, i, a) || ((Ut.instantAnimations || !l) && u?.(Ql(e, r, n)), e[0] = e[e.length - 1], Ua(r), r.repeat = 0);
1907
+ this.resolvedAt = He.now(), $x(e, s, i, a) || ((Ut.instantAnimations || !l) && u?.(Ql(e, r, n)), e[0] = e[e.length - 1], Ua(r), r.repeat = 0);
1908
1908
  const f = {
1909
1909
  startTime: o ? this.resolvedAt ? this.resolvedAt - this.createdAt > zx ? this.resolvedAt : this.createdAt : this.createdAt : void 0,
1910
1910
  finalKeyframe: n,
@@ -2178,17 +2178,17 @@ const tw = /\b([a-z-]*)\(.*?\)/gu, za = {
2178
2178
  }, rw = {
2179
2179
  ...oc,
2180
2180
  // Color props
2181
- color: Re,
2182
- backgroundColor: Re,
2183
- outlineColor: Re,
2184
- fill: Re,
2185
- stroke: Re,
2181
+ color: _e,
2182
+ backgroundColor: _e,
2183
+ outlineColor: _e,
2184
+ fill: _e,
2185
+ stroke: _e,
2186
2186
  // Border props
2187
- borderColor: Re,
2188
- borderTopColor: Re,
2189
- borderRightColor: Re,
2190
- borderBottomColor: Re,
2191
- borderLeftColor: Re,
2187
+ borderColor: _e,
2188
+ borderTopColor: _e,
2189
+ borderRightColor: _e,
2190
+ borderBottomColor: _e,
2191
+ borderLeftColor: _e,
2192
2192
  filter: za,
2193
2193
  WebkitFilter: za
2194
2194
  }, vp = (t) => rw[t];
@@ -2286,14 +2286,14 @@ class lw {
2286
2286
  */
2287
2287
  constructor(e, n = {}) {
2288
2288
  this.canTrackVelocity = null, this.events = {}, this.updateAndNotify = (r) => {
2289
- const o = ze.now();
2289
+ const o = He.now();
2290
2290
  if (this.updatedAt !== o && this.setPrevFrameValue(), this.prev = this.current, this.setCurrent(r), this.current !== this.prev && (this.events.change?.notify(this.current), this.dependents))
2291
2291
  for (const s of this.dependents)
2292
2292
  s.dirty();
2293
2293
  }, this.hasAnimated = !1, this.setCurrent(e), this.owner = n.owner;
2294
2294
  }
2295
2295
  setCurrent(e) {
2296
- this.current = e, this.updatedAt = ze.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = aw(this.current));
2296
+ this.current = e, this.updatedAt = He.now(), this.canTrackVelocity === null && e !== void 0 && (this.canTrackVelocity = aw(this.current));
2297
2297
  }
2298
2298
  setPrevFrameValue(e = this.current) {
2299
2299
  this.prevFrameValue = e, this.prevUpdatedAt = this.updatedAt;
@@ -2421,7 +2421,7 @@ class lw {
2421
2421
  * @public
2422
2422
  */
2423
2423
  getVelocity() {
2424
- const e = ze.now();
2424
+ const e = He.now();
2425
2425
  if (!this.canTrackVelocity || this.prevFrameValue === void 0 || e - this.updatedAt > Uu)
2426
2426
  return 0;
2427
2427
  const n = Math.min(this.updatedAt - this.prevUpdatedAt, Uu);
@@ -2586,7 +2586,7 @@ function Qo(...t) {
2586
2586
  const e = !Array.isArray(t[0]), n = e ? 0 : -1, r = t[0 + n], o = t[1 + n], s = t[2 + n], i = t[3 + n], a = op(o, s, i);
2587
2587
  return e ? a(r) : a;
2588
2588
  }
2589
- const Ie = (t) => !!(t && t.getVelocity), mw = [...gp, Re, rn], gw = (t) => mw.find(mp(t)), js = yt({
2589
+ const Me = (t) => !!(t && t.getVelocity), mw = [...gp, _e, rn], gw = (t) => mw.find(mp(t)), js = yt({
2590
2590
  transformPagePoint: (t) => t,
2591
2591
  isStatic: !1,
2592
2592
  reducedMotion: "never"
@@ -2634,13 +2634,13 @@ class bw extends b.Component {
2634
2634
  }
2635
2635
  }
2636
2636
  function xw({ children: t, isPresent: e, anchorX: n, root: r }) {
2637
- const o = ke(), s = ye(null), i = ye({
2637
+ const o = Re(), s = ye(null), i = ye({
2638
2638
  width: 0,
2639
2639
  height: 0,
2640
2640
  top: 0,
2641
2641
  left: 0,
2642
2642
  right: 0
2643
- }), { nonce: a } = Ae(js), l = yw(s, t?.ref);
2643
+ }), { nonce: a } = ke(js), l = yw(s, t?.ref);
2644
2644
  return mh(() => {
2645
2645
  const { width: c, height: u, top: d, left: f, right: h } = i.current;
2646
2646
  if (e || !s.current || !c || !u)
@@ -2664,8 +2664,8 @@ function xw({ children: t, isPresent: e, anchorX: n, root: r }) {
2664
2664
  }, [e]), v(bw, { isPresent: e, childRef: s, sizeRef: i, children: b.cloneElement(t, { ref: l }) });
2665
2665
  }
2666
2666
  const ww = ({ children: t, initial: e, isPresent: n, onExitComplete: r, custom: o, presenceAffectsLayout: s, mode: i, anchorX: a, root: l }) => {
2667
- const c = mo(Cw), u = ke();
2668
- let d = !0, f = Ye(() => (d = !1, {
2667
+ const c = mo(Cw), u = Re();
2668
+ let d = !0, f = Ae(() => (d = !1, {
2669
2669
  id: u,
2670
2670
  initial: e,
2671
2671
  isPresent: n,
@@ -2679,7 +2679,7 @@ const ww = ({ children: t, initial: e, isPresent: n, onExitComplete: r, custom:
2679
2679
  },
2680
2680
  register: (h) => (c.set(h, !1), () => c.delete(h))
2681
2681
  }), [n, c, r]);
2682
- return s && d && (f = { ...f }), Ye(() => {
2682
+ return s && d && (f = { ...f }), Ae(() => {
2683
2683
  c.forEach((h, m) => c.set(m, !1));
2684
2684
  }, [n]), b.useEffect(() => {
2685
2685
  !n && !c.size && r && r();
@@ -2689,15 +2689,15 @@ function Cw() {
2689
2689
  return /* @__PURE__ */ new Map();
2690
2690
  }
2691
2691
  function Tp(t = !0) {
2692
- const e = Ae(Bs);
2692
+ const e = ke(Bs);
2693
2693
  if (e === null)
2694
2694
  return [!0, null];
2695
- const { isPresent: n, onExitComplete: r, register: o } = e, s = ke();
2695
+ const { isPresent: n, onExitComplete: r, register: o } = e, s = Re();
2696
2696
  te(() => {
2697
2697
  if (t)
2698
2698
  return o(s);
2699
2699
  }, [t]);
2700
- const i = Be(() => t && r && r(s), [s, r, t]);
2700
+ const i = $e(() => t && r && r(s), [s, r, t]);
2701
2701
  return !n && r ? [!1, i] : [!0];
2702
2702
  }
2703
2703
  const Lo = (t) => t.key || "";
@@ -2708,7 +2708,7 @@ function Yu(t) {
2708
2708
  }), e;
2709
2709
  }
2710
2710
  const Sw = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presenceAffectsLayout: o = !0, mode: s = "sync", propagate: i = !1, anchorX: a = "left", root: l }) => {
2711
- const [c, u] = Tp(i), d = Ye(() => Yu(t), [t]), f = i && !c ? [] : d.map(Lo), h = ye(!0), m = ye(d), p = mo(() => /* @__PURE__ */ new Map()), [g, x] = J(d), [y, w] = J(d);
2711
+ const [c, u] = Tp(i), d = Ae(() => Yu(t), [t]), f = i && !c ? [] : d.map(Lo), h = ye(!0), m = ye(d), p = mo(() => /* @__PURE__ */ new Map()), [g, x] = J(d), [y, w] = J(d);
2712
2712
  $l(() => {
2713
2713
  h.current = !1, m.current = d;
2714
2714
  for (let T = 0; T < y.length; T++) {
@@ -2726,8 +2726,8 @@ const Sw = ({ children: t, custom: e, initial: n = !0, onExitComplete: r, presen
2726
2726
  return s === "wait" && S.length && (T = S), w(Yu(T)), x(d), null;
2727
2727
  }
2728
2728
  process.env.NODE_ENV !== "production" && s === "wait" && y.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
2729
- const { forceRender: C } = Ae(Fl);
2730
- return v(Ve, { children: y.map((T) => {
2729
+ const { forceRender: C } = ke(Fl);
2730
+ return v(Fe, { children: y.map((T) => {
2731
2731
  const E = Lo(T), A = i && !c ? !1 : d === y || f.includes(E), _ = () => {
2732
2732
  if (p.has(E))
2733
2733
  p.set(E, !0);
@@ -2854,8 +2854,8 @@ function Rw(t, e) {
2854
2854
  return t.inherit !== !1 ? e : {};
2855
2855
  }
2856
2856
  function _w(t) {
2857
- const { initial: e, animate: n } = Rw(t, Ae(Us));
2858
- return Ye(() => ({ initial: e, animate: n }), [Xu(e), Xu(n)]);
2857
+ const { initial: e, animate: n } = Rw(t, ke(Us));
2858
+ return Ae(() => ({ initial: e, animate: n }), [Xu(e), Xu(n)]);
2859
2859
  }
2860
2860
  function Xu(t) {
2861
2861
  return Array.isArray(t) ? t.join(" ") : t;
@@ -2922,10 +2922,10 @@ const fc = () => ({
2922
2922
  });
2923
2923
  function Pp(t, e, n) {
2924
2924
  for (const r in e)
2925
- !Ie(e[r]) && !_p(r, n) && (t[r] = e[r]);
2925
+ !Me(e[r]) && !_p(r, n) && (t[r] = e[r]);
2926
2926
  }
2927
2927
  function Nw({ transformTemplate: t }, e) {
2928
- return Ye(() => {
2928
+ return Ae(() => {
2929
2929
  const n = fc();
2930
2930
  return dc(n, e, t), Object.assign({}, n.vars, n.style);
2931
2931
  }, [e]);
@@ -2975,7 +2975,7 @@ const Mp = () => ({
2975
2975
  attrs: {}
2976
2976
  }), Dp = (t) => typeof t == "string" && t.toLowerCase() === "svg";
2977
2977
  function $w(t, e, n, r) {
2978
- const o = Ye(() => {
2978
+ const o = Ae(() => {
2979
2979
  const s = Mp();
2980
2980
  return Ip(s, e, Dp(r), t.transformTemplate, t.style), {
2981
2981
  ...s.attrs,
@@ -3036,7 +3036,7 @@ function hc(t) {
3036
3036
  );
3037
3037
  }
3038
3038
  function jw(t, e, n, { latestValues: r }, o, s = !1) {
3039
- const a = (hc(t) ? $w : Lw)(e, r, o, t), l = kw(e, typeof t == "string", s), c = t !== gh ? { ...l, ...a, ref: n } : {}, { children: u } = e, d = Ye(() => Ie(u) ? u.get() : u, [u]);
3039
+ const a = (hc(t) ? $w : Lw)(e, r, o, t), l = kw(e, typeof t == "string", s), c = t !== gh ? { ...l, ...a, ref: n } : {}, { children: u } = e, d = Ae(() => Me(u) ? u.get() : u, [u]);
3040
3040
  return Lb(t, {
3041
3041
  ...c,
3042
3042
  children: d
@@ -3060,7 +3060,7 @@ function pc(t, e, n, r) {
3060
3060
  return e;
3061
3061
  }
3062
3062
  function Jo(t) {
3063
- return Ie(t) ? t.get() : t;
3063
+ return Me(t) ? t.get() : t;
3064
3064
  }
3065
3065
  function Uw({ scrapeMotionValuesFromProps: t, createRenderState: e }, n, r, o) {
3066
3066
  return {
@@ -3100,13 +3100,13 @@ function zw(t, e, n, r) {
3100
3100
  return o;
3101
3101
  }
3102
3102
  const Np = (t) => (e, n) => {
3103
- const r = Ae(Us), o = Ae(Bs), s = () => Uw(t, e, r, o);
3103
+ const r = ke(Us), o = ke(Bs), s = () => Uw(t, e, r, o);
3104
3104
  return n ? s() : mo(s);
3105
3105
  };
3106
3106
  function mc(t, e, n) {
3107
3107
  const { style: r } = t, o = {};
3108
3108
  for (const s in r)
3109
- (Ie(r[s]) || e.style && Ie(e.style[s]) || _p(s, t) || n?.getValue(s)?.liveStyle !== void 0) && (o[s] = r[s]);
3109
+ (Me(r[s]) || e.style && Me(e.style[s]) || _p(s, t) || n?.getValue(s)?.liveStyle !== void 0) && (o[s] = r[s]);
3110
3110
  return o;
3111
3111
  }
3112
3112
  const Hw = /* @__PURE__ */ Np({
@@ -3116,7 +3116,7 @@ const Hw = /* @__PURE__ */ Np({
3116
3116
  function Op(t, e, n) {
3117
3117
  const r = mc(t, e, n);
3118
3118
  for (const o in t)
3119
- if (Ie(t[o]) || Ie(e[o])) {
3119
+ if (Me(t[o]) || Me(e[o])) {
3120
3120
  const s = yr.indexOf(o) !== -1 ? "attr" + o.charAt(0).toUpperCase() + o.substring(1) : o;
3121
3121
  r[s] = t[o];
3122
3122
  }
@@ -3130,7 +3130,7 @@ function Hn(t) {
3130
3130
  return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
3131
3131
  }
3132
3132
  function Yw(t, e, n) {
3133
- return Be(
3133
+ return $e(
3134
3134
  (r) => {
3135
3135
  r && t.onMount && t.onMount(r), e && (r ? e.mount(r) : e.unmount()), n && (typeof n == "function" ? n(r) : Hn(n) && (n.current = r));
3136
3136
  },
@@ -3143,7 +3143,7 @@ function Yw(t, e, n) {
3143
3143
  }
3144
3144
  const gc = (t) => t.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase(), qw = "framerAppearId", Lp = "data-" + gc(qw), Vp = yt({});
3145
3145
  function Xw(t, e, n, r, o) {
3146
- const { visualElement: s } = Ae(Us), i = Ae(Ap), a = Ae(Bs), l = Ae(js).reducedMotion, c = ye(null);
3146
+ const { visualElement: s } = ke(Us), i = ke(Ap), a = ke(Bs), l = ke(js).reducedMotion, c = ye(null);
3147
3147
  r = r || i.renderer, !c.current && r && (c.current = r(t, {
3148
3148
  visualState: e,
3149
3149
  parent: s,
@@ -3152,7 +3152,7 @@ function Xw(t, e, n, r, o) {
3152
3152
  blockInitialAnimation: a ? a.initial === !1 : !1,
3153
3153
  reducedMotionConfig: l
3154
3154
  }));
3155
- const u = c.current, d = Ae(Vp);
3155
+ const u = c.current, d = ke(Vp);
3156
3156
  u && !u.projection && o && (u.type === "html" || u.type === "svg") && Zw(c.current, n, o, d);
3157
3157
  const f = ye(!1);
3158
3158
  mh(() => {
@@ -3198,7 +3198,7 @@ function $i(t, { forwardMotionProps: e = !1 } = {}, n, r) {
3198
3198
  function s(a, l) {
3199
3199
  let c;
3200
3200
  const u = {
3201
- ...Ae(js),
3201
+ ...ke(js),
3202
3202
  ...a,
3203
3203
  layoutId: Qw(a)
3204
3204
  }, { isStatic: d } = u, f = _w(a), h = o(a, d);
@@ -3214,11 +3214,11 @@ function $i(t, { forwardMotionProps: e = !1 } = {}, n, r) {
3214
3214
  return i[Kw] = t, i;
3215
3215
  }
3216
3216
  function Qw({ layoutId: t }) {
3217
- const e = Ae(Fl).id;
3217
+ const e = ke(Fl).id;
3218
3218
  return e && t !== void 0 ? e + "-" + t : t;
3219
3219
  }
3220
3220
  function Jw(t, e) {
3221
- const n = Ae(Ap).strict;
3221
+ const n = ke(Ap).strict;
3222
3222
  if (process.env.NODE_ENV !== "production" && e && n) {
3223
3223
  const r = "You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";
3224
3224
  t.ignoreStrict ? gr(!1, r, "lazy-strict-mode") : st(!1, r, "lazy-strict-mode");
@@ -3353,9 +3353,9 @@ const eo = /* @__PURE__ */ new WeakMap();
3353
3353
  function iC(t, e, n) {
3354
3354
  for (const r in e) {
3355
3355
  const o = e[r], s = n[r];
3356
- if (Ie(o))
3356
+ if (Me(o))
3357
3357
  t.addValue(r, o);
3358
- else if (Ie(s))
3358
+ else if (Me(s))
3359
3359
  t.addValue(r, Tn(o, { owner: t }));
3360
3360
  else if (s !== o)
3361
3361
  if (t.hasValue(r)) {
@@ -3394,7 +3394,7 @@ class zp {
3394
3394
  this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.KeyframeResolver = tc, this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
3395
3395
  this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
3396
3396
  }, this.renderScheduledAt = 0, this.scheduleRender = () => {
3397
- const f = ze.now();
3397
+ const f = He.now();
3398
3398
  this.renderScheduledAt < f && (this.renderScheduledAt = f, xe.render(this.render, !1, !0));
3399
3399
  };
3400
3400
  const { latestValues: l, renderState: c } = i;
@@ -3402,7 +3402,7 @@ class zp {
3402
3402
  const { willChange: u, ...d } = this.scrapeMotionValuesFromProps(n, {}, this);
3403
3403
  for (const f in d) {
3404
3404
  const h = d[f];
3405
- l[f] !== void 0 && Ie(h) && h.set(l[f]);
3405
+ l[f] !== void 0 && Me(h) && h.set(l[f]);
3406
3406
  }
3407
3407
  }
3408
3408
  mount(e) {
@@ -3546,7 +3546,7 @@ class zp {
3546
3546
  */
3547
3547
  readValue(e, n) {
3548
3548
  let r = this.latestValues[e] !== void 0 || !this.current ? this.latestValues[e] : this.getBaseTargetFromProps(this.props, e) ?? this.readValueFromInstance(this.current, e, this.options);
3549
- return r != null && (typeof r == "string" && (Ph(r) || Mh(r)) ? r = parseFloat(r) : !gw(r) && rn.test(n) && (r = yp(e, n)), this.setBaseTarget(e, Ie(r) ? r.get() : r)), Ie(r) ? r.get() : r;
3549
+ return r != null && (typeof r == "string" && (Ph(r) || Mh(r)) ? r = parseFloat(r) : !gw(r) && rn.test(n) && (r = yp(e, n)), this.setBaseTarget(e, Me(r) ? r.get() : r)), Me(r) ? r.get() : r;
3550
3550
  }
3551
3551
  /**
3552
3552
  * Set the base target to later animate back to. This is currently
@@ -3569,7 +3569,7 @@ class zp {
3569
3569
  if (n && r !== void 0)
3570
3570
  return r;
3571
3571
  const o = this.getBaseTargetFromProps(this.props, e);
3572
- return o !== void 0 && !Ie(o) ? o : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e];
3572
+ return o !== void 0 && !Me(o) ? o : this.initialValues[e] !== void 0 && r === void 0 ? void 0 : this.baseTarget[e];
3573
3573
  }
3574
3574
  on(e, n) {
3575
3575
  return this.events[e] || (this.events[e] = new Ul()), this.events[e].add(n);
@@ -3597,7 +3597,7 @@ class Hp extends zp {
3597
3597
  handleChildMotionValue() {
3598
3598
  this.childSubscription && (this.childSubscription(), delete this.childSubscription);
3599
3599
  const { children: e } = this.props;
3600
- Ie(e) && (this.childSubscription = e.on("change", (n) => {
3600
+ Me(e) && (this.childSubscription = e.on("change", (n) => {
3601
3601
  this.current && (this.current.textContent = `${n}`);
3602
3602
  }));
3603
3603
  }
@@ -3717,7 +3717,7 @@ function fC(t, e) {
3717
3717
  }
3718
3718
  }
3719
3719
  function hC(t) {
3720
- return !!(Ie(t) && t.add);
3720
+ return !!(Me(t) && t.add);
3721
3721
  }
3722
3722
  function Ya(t, e) {
3723
3723
  const n = t.getValue("willChange");
@@ -4099,26 +4099,26 @@ function Wr(t, e, n, r) {
4099
4099
  return to(t, e, OC(n), r);
4100
4100
  }
4101
4101
  const em = 1e-4, LC = 1 - em, VC = 1 + em, tm = 0.01, FC = 0 - tm, BC = 0 + tm;
4102
- function $e(t) {
4102
+ function We(t) {
4103
4103
  return t.max - t.min;
4104
4104
  }
4105
4105
  function $C(t, e, n) {
4106
4106
  return Math.abs(t - e) <= n;
4107
4107
  }
4108
4108
  function ad(t, e, n, r = 0.5) {
4109
- t.origin = r, t.originPoint = we(e.min, e.max, t.origin), t.scale = $e(n) / $e(e), t.translate = we(n.min, n.max, t.origin) - t.originPoint, (t.scale >= LC && t.scale <= VC || isNaN(t.scale)) && (t.scale = 1), (t.translate >= FC && t.translate <= BC || isNaN(t.translate)) && (t.translate = 0);
4109
+ t.origin = r, t.originPoint = we(e.min, e.max, t.origin), t.scale = We(n) / We(e), t.translate = we(n.min, n.max, t.origin) - t.originPoint, (t.scale >= LC && t.scale <= VC || isNaN(t.scale)) && (t.scale = 1), (t.translate >= FC && t.translate <= BC || isNaN(t.translate)) && (t.translate = 0);
4110
4110
  }
4111
4111
  function jr(t, e, n, r) {
4112
4112
  ad(t.x, e.x, n.x, r ? r.originX : void 0), ad(t.y, e.y, n.y, r ? r.originY : void 0);
4113
4113
  }
4114
4114
  function ld(t, e, n) {
4115
- t.min = n.min + e.min, t.max = t.min + $e(e);
4115
+ t.min = n.min + e.min, t.max = t.min + We(e);
4116
4116
  }
4117
4117
  function WC(t, e, n) {
4118
4118
  ld(t.x, e.x, n.x), ld(t.y, e.y, n.y);
4119
4119
  }
4120
4120
  function cd(t, e, n) {
4121
- t.min = e.min - n.min, t.max = t.min + $e(e);
4121
+ t.min = e.min - n.min, t.max = t.min + We(e);
4122
4122
  }
4123
4123
  function Ur(t, e, n) {
4124
4124
  cd(t.x, e.x, n.x), cd(t.y, e.y, n.y);
@@ -4139,7 +4139,7 @@ class rm {
4139
4139
  const f = Ui(this.lastMoveEventInfo, this.history), h = this.startEvent !== null, m = jC(f.offset, { x: 0, y: 0 }) >= this.distanceThreshold;
4140
4140
  if (!h && !m)
4141
4141
  return;
4142
- const { point: p } = f, { timestamp: g } = De;
4142
+ const { point: p } = f, { timestamp: g } = Ne;
4143
4143
  this.history.push({ ...p, timestamp: g });
4144
4144
  const { onStart: x, onMove: y } = this.handlers;
4145
4145
  h || (x && x(this.lastMoveEvent, f), this.startEvent = this.lastMoveEvent), y && y(this.lastMoveEvent, f);
@@ -4155,7 +4155,7 @@ class rm {
4155
4155
  }, !ac(e))
4156
4156
  return;
4157
4157
  this.dragSnapToOrigin = s, this.handlers = n, this.transformPagePoint = r, this.distanceThreshold = i, this.contextWindow = o || window;
4158
- const a = bo(e), l = ji(a, this.transformPagePoint), { point: c } = l, { timestamp: u } = De;
4158
+ const a = bo(e), l = ji(a, this.transformPagePoint), { point: c } = l, { timestamp: u } = Ne;
4159
4159
  this.history = [{ ...c, timestamp: u }];
4160
4160
  const { onSessionStart: d } = n;
4161
4161
  d && d(e, Ui(l, this.history)), this.removeListeners = go(Wr(this.contextWindow, "pointermove", this.handlePointerMove), Wr(this.contextWindow, "pointerup", this.handlePointerUp), Wr(this.contextWindow, "pointercancel", this.handlePointerUp));
@@ -4232,7 +4232,7 @@ function KC(t, e) {
4232
4232
  }
4233
4233
  function YC(t, e) {
4234
4234
  let n = 0.5;
4235
- const r = $e(t), o = $e(e);
4235
+ const r = We(t), o = We(e);
4236
4236
  return o > r ? n = /* @__PURE__ */ rr(e.min, e.max - r, t.min) : r > o && (n = /* @__PURE__ */ rr(t.min, t.max - o, e.min)), jt(0, 1, n);
4237
4237
  }
4238
4238
  function qC(t, e) {
@@ -4277,7 +4277,7 @@ class QC {
4277
4277
  const { projection: w } = this.visualElement;
4278
4278
  if (w && w.layout) {
4279
4279
  const S = w.layout.layoutBox[x];
4280
- S && (y = $e(S) * (parseFloat(y) / 100));
4280
+ S && (y = We(S) * (parseFloat(y) / 100));
4281
4281
  }
4282
4282
  }
4283
4283
  this.originPoint[x] = y;
@@ -4616,8 +4616,8 @@ class rS extends Vb {
4616
4616
  }
4617
4617
  }
4618
4618
  function sm(t) {
4619
- const [e, n] = Tp(), r = Ae(Fl);
4620
- return v(rS, { ...t, layoutGroup: r, switchLayoutGroup: Ae(Vp), isPresent: e, safeToRemove: n });
4619
+ const [e, n] = Tp(), r = ke(Fl);
4620
+ return v(rS, { ...t, layoutGroup: r, switchLayoutGroup: ke(Vp), isPresent: e, safeToRemove: n });
4621
4621
  }
4622
4622
  const oS = {
4623
4623
  borderRadius: {
@@ -4636,7 +4636,7 @@ const oS = {
4636
4636
  boxShadow: nS
4637
4637
  };
4638
4638
  function im(t, e, n) {
4639
- const r = Ie(t) ? t : Tn(t);
4639
+ const r = Me(t) ? t : Tn(t);
4640
4640
  return r.start(yc("", r, e, n)), r.animation;
4641
4641
  }
4642
4642
  const sS = (t, e) => t.depth - e.depth;
@@ -4655,7 +4655,7 @@ class iS {
4655
4655
  }
4656
4656
  }
4657
4657
  function aS(t, e) {
4658
- const n = ze.now(), r = ({ timestamp: o }) => {
4658
+ const n = He.now(), r = ({ timestamp: o }) => {
4659
4659
  const s = o - n;
4660
4660
  s >= e && (zt(r), t(s - e));
4661
4661
  };
@@ -4724,7 +4724,7 @@ function um(t, e) {
4724
4724
  return Rd(t.x, e.x) && Rd(t.y, e.y);
4725
4725
  }
4726
4726
  function _d(t) {
4727
- return $e(t.x) / $e(t.y);
4727
+ return We(t.x) / We(t.y);
4728
4728
  }
4729
4729
  function Pd(t, e) {
4730
4730
  return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
@@ -4926,8 +4926,8 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4926
4926
  return;
4927
4927
  }
4928
4928
  this.animationCommitId = this.animationId, this.isUpdating ? (this.isUpdating = !1, this.nodes.forEach(TS), this.nodes.forEach(xS), this.nodes.forEach(wS)) : this.nodes.forEach(Md), this.clearAllSnapshots();
4929
- const a = ze.now();
4930
- De.delta = jt(0, 1e3 / 60, a - De.timestamp), De.timestamp = a, De.isProcessing = !0, Ni.update.process(De), Ni.preRender.process(De), Ni.render.process(De), De.isProcessing = !1;
4929
+ const a = He.now();
4930
+ Ne.delta = jt(0, 1e3 / 60, a - Ne.timestamp), Ne.timestamp = a, Ne.isProcessing = !0, Ni.update.process(Ne), Ni.preRender.process(Ne), Ni.render.process(Ne), Ne.isProcessing = !1;
4931
4931
  }
4932
4932
  didUpdate() {
4933
4933
  this.updateScheduled || (this.updateScheduled = !0, ic.read(this.scheduleUpdate));
@@ -4947,7 +4947,7 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
4947
4947
  * Update measurements
4948
4948
  */
4949
4949
  updateSnapshot() {
4950
- this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !$e(this.snapshot.measuredBox.x) && !$e(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
4950
+ this.snapshot || !this.instance || (this.snapshot = this.measure(), this.snapshot && !We(this.snapshot.measuredBox.x) && !We(this.snapshot.measuredBox.y) && (this.snapshot = void 0));
4951
4951
  }
4952
4952
  updateLayout() {
4953
4953
  if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))
@@ -5050,7 +5050,7 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
5050
5050
  this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
5051
5051
  }
5052
5052
  forceRelativeParentToResolveTarget() {
5053
- this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== De.timestamp && this.relativeParent.resolveTargetDelta(!0);
5053
+ this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== Ne.timestamp && this.relativeParent.resolveTargetDelta(!0);
5054
5054
  }
5055
5055
  resolveTargetDelta(i = !1) {
5056
5056
  const a = this.getLead();
@@ -5060,7 +5060,7 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
5060
5060
  return;
5061
5061
  const { layout: u, layoutId: d } = this.options;
5062
5062
  if (!(!this.layout || !(u || d))) {
5063
- if (this.resolvedRelativeTargetAt = De.timestamp, !this.targetDelta && !this.relativeTarget) {
5063
+ if (this.resolvedRelativeTargetAt = Ne.timestamp, !this.targetDelta && !this.relativeTarget) {
5064
5064
  const f = this.getClosestProjectingParent();
5065
5065
  f && f.layout && this.animationProgress !== 1 ? (this.relativeParent = f, this.forceRelativeParentToResolveTarget(), this.relativeTarget = Ee(), this.relativeTargetOrigin = Ee(), Ur(this.relativeTargetOrigin, this.layout.layoutBox, f.layout.layoutBox), Qe(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
5066
5066
  }
@@ -5081,7 +5081,7 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
5081
5081
  calcProjection() {
5082
5082
  const i = this.getLead(), a = !!this.resumingFrom || this !== i;
5083
5083
  let l = !0;
5084
- if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), a && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === De.timestamp && (l = !1), l)
5084
+ if ((this.isProjectionDirty || this.parent?.isProjectionDirty) && (l = !1), a && (this.isSharedProjectionDirty || this.isTransformDirty) && (l = !1), this.resolvedRelativeTargetAt === Ne.timestamp && (l = !1), l)
5085
5085
  return;
5086
5086
  const { layout: c, layoutId: u } = this.options;
5087
5087
  if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(c || u))
@@ -5154,9 +5154,9 @@ function fm({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
5154
5154
  if (!(!a || !l || !c)) {
5155
5155
  if (this !== i && this.layout && c && hm(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
5156
5156
  l = this.target || Ee();
5157
- const d = $e(this.layout.layoutBox.x);
5157
+ const d = We(this.layout.layoutBox.x);
5158
5158
  l.x.min = i.target.x.min, l.x.max = l.x.min + d;
5159
- const f = $e(this.layout.layoutBox.y);
5159
+ const f = We(this.layout.layoutBox.y);
5160
5160
  l.y.min = i.target.y.min, l.y.max = l.y.min + f;
5161
5161
  }
5162
5162
  Qe(a, l), Kn(a, u), jr(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
@@ -5266,10 +5266,10 @@ function wS(t) {
5266
5266
  if (t.isLead() && t.layout && e && t.hasListeners("didUpdate")) {
5267
5267
  const { layoutBox: n, measuredBox: r } = t.layout, { animationType: o } = t.options, s = e.source !== t.layout.source;
5268
5268
  o === "size" ? Je((u) => {
5269
- const d = s ? e.measuredBox[u] : e.layoutBox[u], f = $e(d);
5269
+ const d = s ? e.measuredBox[u] : e.layoutBox[u], f = We(d);
5270
5270
  d.min = n[u].min, d.max = d.min + f;
5271
5271
  }) : hm(o, e.layoutBox, n) && Je((u) => {
5272
- const d = s ? e.measuredBox[u] : e.layoutBox[u], f = $e(n[u]);
5272
+ const d = s ? e.measuredBox[u] : e.layoutBox[u], f = We(n[u]);
5273
5273
  d.max = d.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[u].max = t.relativeTarget[u].min + f);
5274
5274
  });
5275
5275
  const i = Yn();
@@ -5535,7 +5535,7 @@ const KS = {
5535
5535
  ...YS
5536
5536
  }, pt = /* @__PURE__ */ tC(qS, cC);
5537
5537
  function Qa(t) {
5538
- const e = mo(() => Tn(t)), { isStatic: n } = Ae(js);
5538
+ const e = mo(() => Tn(t)), { isStatic: n } = ke(js);
5539
5539
  if (n) {
5540
5540
  const [, r] = J(t);
5541
5541
  te(() => e.on("change", r), []);
@@ -5661,7 +5661,7 @@ function sE(t, { defaultTransition: e = {}, ...n } = {}, r, o) {
5661
5661
  const j = z + M;
5662
5662
  eE(T, _, F, I, z, j), y = Math.max(B + M, y), f = Math.max(j, f);
5663
5663
  };
5664
- if (Ie(p)) {
5664
+ if (Me(p)) {
5665
5665
  const S = Ud(p, a);
5666
5666
  w(g, x, zd("default", S));
5667
5667
  } else {
@@ -5778,7 +5778,7 @@ function hE(t) {
5778
5778
  n.mount(t), eo.set(t, n);
5779
5779
  }
5780
5780
  function pE(t, e) {
5781
- return Ie(t) || typeof t == "number" || typeof t == "string" && !xc(e);
5781
+ return Me(t) || typeof t == "number" || typeof t == "string" && !xc(e);
5782
5782
  }
5783
5783
  function vm(t, e, n, r) {
5784
5784
  const o = [];
@@ -5855,7 +5855,7 @@ function xE(t, { root: e, margin: n, amount: r, once: o = !1, initial: s = !1 }
5855
5855
  return bE(t.current, l, c);
5856
5856
  }, [e, t, n, o, r]), i;
5857
5857
  }
5858
- var Hd = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, Ue = (t) => !t || typeof t != "object" || Object.keys(t).length === 0, wE = (t, e) => JSON.stringify(t) === JSON.stringify(e);
5858
+ var Hd = (t) => typeof t == "boolean" ? `${t}` : t === 0 ? "0" : t, ze = (t) => !t || typeof t != "object" || Object.keys(t).length === 0, wE = (t, e) => JSON.stringify(t) === JSON.stringify(e);
5859
5859
  function ym(t, e) {
5860
5860
  t.forEach(function(n) {
5861
5861
  Array.isArray(n) ? ym(n, e) : e.push(n);
@@ -8157,14 +8157,14 @@ const be = (t) => {
8157
8157
  r !== void 0 && (t[n] = (t[n] || []).concat(r));
8158
8158
  }
8159
8159
  }, eT = (t, ...e) => typeof t == "function" ? el(tl, t, ...e) : el(() => ZE(tl(), t), ...e), An = /* @__PURE__ */ el(tl);
8160
- var tT = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, km = (t) => t || void 0, no = (...t) => km(bm(t).filter(Boolean).join(" ")), Zi = null, Ot = {}, nl = !1, Mr = (...t) => (e) => e.twMerge ? ((!Zi || nl) && (nl = !1, Zi = Ue(Ot) ? An : eT({ ...Ot, extend: { theme: Ot.theme, classGroups: Ot.classGroups, conflictingClassGroupModifiers: Ot.conflictingClassGroupModifiers, conflictingClassGroups: Ot.conflictingClassGroups, ...Ot.extend } })), km(Zi(no(t)))) : no(t), qd = (t, e) => {
8160
+ var tT = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, km = (t) => t || void 0, no = (...t) => km(bm(t).filter(Boolean).join(" ")), Zi = null, Ot = {}, nl = !1, Mr = (...t) => (e) => e.twMerge ? ((!Zi || nl) && (nl = !1, Zi = ze(Ot) ? An : eT({ ...Ot, extend: { theme: Ot.theme, classGroups: Ot.classGroups, conflictingClassGroupModifiers: Ot.conflictingClassGroupModifiers, conflictingClassGroups: Ot.conflictingClassGroups, ...Ot.extend } })), km(Zi(no(t)))) : no(t), qd = (t, e) => {
8161
8161
  for (let n in e) t.hasOwnProperty(n) ? t[n] = no(t[n], e[n]) : t[n] = e[n];
8162
8162
  return t;
8163
8163
  }, ae = (t, e) => {
8164
- let { extend: n = null, slots: r = {}, variants: o = {}, compoundVariants: s = [], compoundSlots: i = [], defaultVariants: a = {} } = t, l = { ...tT, ...e }, c = n != null && n.base ? no(n.base, t?.base) : t?.base, u = n != null && n.variants && !Ue(n.variants) ? wm(o, n.variants) : o, d = n != null && n.defaultVariants && !Ue(n.defaultVariants) ? { ...n.defaultVariants, ...a } : a;
8165
- !Ue(l.twMergeConfig) && !wE(l.twMergeConfig, Ot) && (nl = !0, Ot = l.twMergeConfig);
8166
- let f = Ue(n?.slots), h = Ue(r) ? {} : { base: no(t?.base, f && n?.base), ...r }, m = f ? h : qd({ ...n?.slots }, Ue(h) ? { base: t?.base } : h), p = Ue(n?.compoundVariants) ? s : xm(n?.compoundVariants, s), g = (y) => {
8167
- if (Ue(u) && Ue(r) && f) return Mr(c, y?.class, y?.className)(l);
8164
+ let { extend: n = null, slots: r = {}, variants: o = {}, compoundVariants: s = [], compoundSlots: i = [], defaultVariants: a = {} } = t, l = { ...tT, ...e }, c = n != null && n.base ? no(n.base, t?.base) : t?.base, u = n != null && n.variants && !ze(n.variants) ? wm(o, n.variants) : o, d = n != null && n.defaultVariants && !ze(n.defaultVariants) ? { ...n.defaultVariants, ...a } : a;
8165
+ !ze(l.twMergeConfig) && !wE(l.twMergeConfig, Ot) && (nl = !0, Ot = l.twMergeConfig);
8166
+ let f = ze(n?.slots), h = ze(r) ? {} : { base: no(t?.base, f && n?.base), ...r }, m = f ? h : qd({ ...n?.slots }, ze(h) ? { base: t?.base } : h), p = ze(n?.compoundVariants) ? s : xm(n?.compoundVariants, s), g = (y) => {
8167
+ if (ze(u) && ze(r) && f) return Mr(c, y?.class, y?.className)(l);
8168
8168
  if (p && !Array.isArray(p)) throw new TypeError(`The "compoundVariants" prop must be an array. Received: ${typeof p}`);
8169
8169
  if (i && !Array.isArray(i)) throw new TypeError(`The "compoundSlots" prop must be an array. Received: ${typeof i}`);
8170
8170
  let w = (R, P, N = [], W) => {
@@ -8184,7 +8184,7 @@ var tT = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, km = (t) =>
8184
8184
  }, S = (R, P = u, N = null, W = null) => {
8185
8185
  var $;
8186
8186
  let F = P[R];
8187
- if (!F || Ue(F)) return null;
8187
+ if (!F || ze(F)) return null;
8188
8188
  let M = ($ = W?.[R]) != null ? $ : y?.[R];
8189
8189
  if (M === null) return null;
8190
8190
  let B = Hd(M), k = Array.isArray(l.responsiveVariants) && l.responsiveVariants.length > 0 || l.responsiveVariants === !0, D = d?.[R], z = [];
@@ -8245,7 +8245,7 @@ var tT = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, km = (t) =>
8245
8245
  if (i.length < 1) return null;
8246
8246
  let P = {};
8247
8247
  for (let { slots: N = [], class: W, className: $, ...F } of i) {
8248
- if (!Ue(F)) {
8248
+ if (!ze(F)) {
8249
8249
  let M = !0;
8250
8250
  for (let B of Object.keys(F)) {
8251
8251
  let k = A(B, R)[B];
@@ -8260,9 +8260,9 @@ var tT = { twMerge: !0, twMergeConfig: {}, responsiveVariants: !1 }, km = (t) =>
8260
8260
  }
8261
8261
  return P;
8262
8262
  };
8263
- if (!Ue(r) || !f) {
8263
+ if (!ze(r) || !f) {
8264
8264
  let R = {};
8265
- if (typeof m == "object" && !Ue(m)) for (let P of Object.keys(m)) R[P] = (N) => {
8265
+ if (typeof m == "object" && !ze(m)) for (let P of Object.keys(m)) R[P] = (N) => {
8266
8266
  var W, $;
8267
8267
  return Mr(m[P], T(P, N), ((W = O(N)) != null ? W : [])[P], (($ = I(N)) != null ? $ : [])[P], N?.class, N?.className)(l);
8268
8268
  };
@@ -8328,7 +8328,7 @@ const On = (t) => {
8328
8328
  return te(() => {
8329
8329
  e && r && e();
8330
8330
  }, [r, e]), t ?? n;
8331
- }, Gs = yt(0), oT = () => Ae(Gs);
8331
+ }, Gs = yt(0), oT = () => ke(Gs);
8332
8332
  var Fo = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
8333
8333
  function Ks(t) {
8334
8334
  return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
@@ -8366,7 +8366,7 @@ function iT() {
8366
8366
  return Ji = r, Ji;
8367
8367
  }
8368
8368
  var aT = iT();
8369
- const Pe = /* @__PURE__ */ Ks(aT), fe = {
8369
+ const Ie = /* @__PURE__ */ Ks(aT), fe = {
8370
8370
  s: 0,
8371
8371
  m: 480,
8372
8372
  l: 768,
@@ -8374,7 +8374,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8374
8374
  xxl: 1280,
8375
8375
  xxxl: 1600
8376
8376
  }, GM = () => {
8377
- const t = window.matchMedia(Pe({ maxWidth: fe.m - 1 })), e = window.matchMedia(Pe({ minWidth: fe.m, maxWidth: fe.l - 1 })), n = window.matchMedia(Pe({ minWidth: fe.l, maxWidth: fe.xl - 1 })), r = window.matchMedia(Pe({ minWidth: fe.xl, maxWidth: fe.xxl - 1 })), o = window.matchMedia(Pe({ minWidth: fe.xxl, maxWidth: fe.xxxl - 1 })), s = window.matchMedia(Pe({ minWidth: fe.xxxl }));
8377
+ const t = Ae(() => window.matchMedia(Ie({ maxWidth: fe.m - 1 })), []), e = Ae(() => window.matchMedia(Ie({ minWidth: fe.m, maxWidth: fe.l - 1 })), []), n = Ae(() => window.matchMedia(Ie({ minWidth: fe.l, maxWidth: fe.xl - 1 })), []), r = Ae(() => window.matchMedia(Ie({ minWidth: fe.xl, maxWidth: fe.xxl - 1 })), []), o = Ae(() => window.matchMedia(Ie({ minWidth: fe.xxl, maxWidth: fe.xxxl - 1 })), []), s = Ae(() => window.matchMedia(Ie({ minWidth: fe.xxxl })), []);
8378
8378
  let i = "xxxl";
8379
8379
  t.matches ? i = "s" : e.matches ? i = "m" : n.matches ? i = "l" : r.matches ? i = "xl" : o.matches && (i = "xxl");
8380
8380
  const [a, l] = J(i);
@@ -8410,19 +8410,19 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8410
8410
  return s?.addEventListener("change", c), () => s?.removeEventListener("change", c);
8411
8411
  }, [s]), a;
8412
8412
  }, _m = (t) => {
8413
- const e = window.matchMedia(Pe({ minWidth: fe[t] })), [n, r] = J(e.matches);
8413
+ const e = Ae(() => window.matchMedia(Ie({ minWidth: fe[t] })), [t]), [n, r] = J(e.matches);
8414
8414
  return te(() => {
8415
8415
  const o = (s) => r(s.matches);
8416
8416
  return e.addEventListener("change", o), () => e.removeEventListener("change", o);
8417
8417
  }, [t, e]), n;
8418
8418
  }, lT = (t) => {
8419
- const e = window.matchMedia(Pe({ maxWidth: fe[t] - 1 })), [n, r] = J(e.matches);
8419
+ const e = Ae(() => window.matchMedia(Ie({ maxWidth: fe[t] - 1 })), [t]), [n, r] = J(e.matches);
8420
8420
  return te(() => {
8421
8421
  const o = (s) => r(s.matches);
8422
8422
  return e.addEventListener("change", o), () => e.removeEventListener("change", o);
8423
8423
  }, [t, e]), n;
8424
8424
  }, cT = (t, e) => {
8425
- const n = window.matchMedia(Pe({ minWidth: fe[t], maxWidth: fe[e] - 1 })), [r, o] = J(n.matches);
8425
+ const n = Ae(() => window.matchMedia(Ie({ minWidth: fe[t], maxWidth: fe[e] - 1 })), [t, e]), [r, o] = J(n.matches);
8426
8426
  return te(() => {
8427
8427
  const s = (i) => o(i.matches);
8428
8428
  return n.addEventListener("change", s), () => n.removeEventListener("change", s);
@@ -8444,7 +8444,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8444
8444
  transitionAfterInitialRender: e
8445
8445
  };
8446
8446
  }, KM = (t) => {
8447
- const e = window.matchMedia(Pe({ minWidth: fe[t] })), [n, r] = J(e.matches);
8447
+ const e = window.matchMedia(Ie({ minWidth: fe[t] })), [n, r] = J(e.matches);
8448
8448
  return te(() => {
8449
8449
  const o = (s) => r(s.matches);
8450
8450
  return e.addEventListener("change", o), () => e.removeEventListener("change", o);
@@ -8452,7 +8452,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8452
8452
  }, YM = (t) => {
8453
8453
  const [e, n] = J(), [r, o] = J();
8454
8454
  return te(() => {
8455
- const s = window.matchMedia(Pe({ minWidth: fe[t] }));
8455
+ const s = window.matchMedia(Ie({ minWidth: fe[t] }));
8456
8456
  n(s);
8457
8457
  }, [t]), te(() => {
8458
8458
  const s = (i) => o(i.matches);
@@ -8461,7 +8461,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8461
8461
  }, qM = (t, e) => {
8462
8462
  const [n, r] = J(), [o, s] = J();
8463
8463
  return te(() => {
8464
- const i = window.matchMedia(Pe({ minWidth: fe[t], maxWidth: fe[e] }));
8464
+ const i = window.matchMedia(Ie({ minWidth: fe[t], maxWidth: fe[e] }));
8465
8465
  r(i);
8466
8466
  }, [t, e]), te(() => {
8467
8467
  const i = (a) => s(a.matches);
@@ -8470,7 +8470,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8470
8470
  }, XM = () => {
8471
8471
  const [t, e] = J(void 0), [n, r] = J(), [o, s] = J(), [i, a] = J(), [l, c] = J(), [u, d] = J(), [f, h] = J();
8472
8472
  return te(() => {
8473
- const m = window.matchMedia(Pe({ maxWidth: fe.m - 1 })), p = window.matchMedia(Pe({ minWidth: fe.m, maxWidth: fe.l - 1 })), g = window.matchMedia(Pe({ minWidth: fe.l, maxWidth: fe.xl - 1 })), x = window.matchMedia(Pe({ minWidth: fe.xl, maxWidth: fe.xxl - 1 })), y = window.matchMedia(Pe({ minWidth: fe.xxl, maxWidth: fe.xxxl - 1 })), w = window.matchMedia(Pe({ minWidth: fe.xxxl }));
8473
+ const m = window.matchMedia(Ie({ maxWidth: fe.m - 1 })), p = window.matchMedia(Ie({ minWidth: fe.m, maxWidth: fe.l - 1 })), g = window.matchMedia(Ie({ minWidth: fe.l, maxWidth: fe.xl - 1 })), x = window.matchMedia(Ie({ minWidth: fe.xl, maxWidth: fe.xxl - 1 })), y = window.matchMedia(Ie({ minWidth: fe.xxl, maxWidth: fe.xxxl - 1 })), w = window.matchMedia(Ie({ minWidth: fe.xxxl }));
8474
8474
  r(m), s(p), a(g), c(x), d(y), h(w);
8475
8475
  }, []), te(() => {
8476
8476
  const m = (p) => {
@@ -8542,7 +8542,7 @@ const Pe = /* @__PURE__ */ Ks(aT), fe = {
8542
8542
  onClose: a,
8543
8543
  onInitialInView: l
8544
8544
  }) => {
8545
- const [c, u] = J(r), d = n ? !1 : c, { root: f, trigger: h, icon: m, content: p } = uT({ disabled: n, isOpen: d }), g = rT(o, l), x = ke(), y = s ?? x, w = () => {
8545
+ const [c, u] = J(r), d = n ? !1 : c, { root: f, trigger: h, icon: m, content: p } = uT({ disabled: n, isOpen: d }), g = rT(o, l), x = Re(), y = s ?? x, w = () => {
8546
8546
  c ? a && a() : i && i(), u(!c);
8547
8547
  }, S = Pm(), { transitionAfterInitialRender: C } = Im(), T = S ? { duration: 0 } : C;
8548
8548
  return /* @__PURE__ */ Z("div", { className: f(), ref: g, "data-bpds": "collapsible", children: [
@@ -8581,7 +8581,7 @@ const Dm = ({ children: t }) => {
8581
8581
  const e = nr.count(t);
8582
8582
  return /* @__PURE__ */ v(E0, { type: "multiple", "data-bpds": "accordion", children: nr.map(t, (n, r) => {
8583
8583
  const o = r + 1 < e;
8584
- return /* @__PURE__ */ Z(Ve, { children: [
8584
+ return /* @__PURE__ */ Z(Fe, { children: [
8585
8585
  n,
8586
8586
  o && /* @__PURE__ */ v(dT, {})
8587
8587
  ] });
@@ -8912,12 +8912,12 @@ const dT = () => /* @__PURE__ */ v("div", { className: "h-0.25 w-full bg-clr-on-
8912
8912
  iconButton: d,
8913
8913
  link: f,
8914
8914
  inverted: S
8915
- }), O = /* @__PURE__ */ Z(Ve, { children: [
8915
+ }), O = /* @__PURE__ */ Z(Fe, { children: [
8916
8916
  c && /* @__PURE__ */ v(Te, { variant: c, className: E() }),
8917
8917
  d ? void 0 : e
8918
8918
  ] });
8919
8919
  let I = O;
8920
- a && (I = /* @__PURE__ */ Z(Ve, { children: [
8920
+ a && (I = /* @__PURE__ */ Z(Fe, { children: [
8921
8921
  /* @__PURE__ */ v("span", { className: A(), children: O }),
8922
8922
  /* @__PURE__ */ v("span", { className: _(), children: /* @__PURE__ */ v(fT, { edgeLength: d ? "20px" : "16px" }) })
8923
8923
  ] }));
@@ -9366,7 +9366,7 @@ var kT = qs(function() {
9366
9366
  void 0
9367
9367
  );
9368
9368
  function xo() {
9369
- const t = Ae(Om);
9369
+ const t = ke(Om);
9370
9370
  if (!t) throw new Error("Sheet context error");
9371
9371
  return t;
9372
9372
  }
@@ -9390,7 +9390,7 @@ function IT({
9390
9390
  );
9391
9391
  }
9392
9392
  function Vm() {
9393
- const t = Ae(Lm);
9393
+ const t = ke(Lm);
9394
9394
  if (!t) throw new Error("Sheet scroller context error");
9395
9395
  return t;
9396
9396
  }
@@ -9548,7 +9548,7 @@ function ea(t) {
9548
9548
  const e = ye(void 0);
9549
9549
  return ar(() => {
9550
9550
  e.current = t;
9551
- }), Be((...n) => {
9551
+ }), $e((...n) => {
9552
9552
  const r = e.current;
9553
9553
  return r?.(...n);
9554
9554
  }, []);
@@ -9811,7 +9811,7 @@ var Bm = Nn(
9811
9811
  }), FT({
9812
9812
  isDisabled: a || !l
9813
9813
  });
9814
- const D = Ye(() => g ? void 0 : {
9814
+ const D = Ae(() => g ? void 0 : {
9815
9815
  drag: "y",
9816
9816
  dragElastic: 0,
9817
9817
  dragMomentum: !1,
@@ -9849,7 +9849,7 @@ var Bm = Nn(
9849
9849
  );
9850
9850
  Bm.displayName = "Sheet";
9851
9851
  function WT(t, e) {
9852
- const n = jT(t), r = ye(!1), o = Be(() => {
9852
+ const n = jT(t), r = ye(!1), o = $e(() => {
9853
9853
  var s, i, a, l;
9854
9854
  r.current ? ((l = (a = e.current).onCloseEnd) == null || l.call(a), r.current = !1) : ((i = (s = e.current).onOpenEnd) == null || i.call(s), r.current = !0);
9855
9855
  }, [t, n]);
@@ -9893,7 +9893,7 @@ var $m = Nn(
9893
9893
  $m.displayName = "SheetContainer";
9894
9894
  var UT = { bottom: 0, top: 0, left: 0, right: 0 };
9895
9895
  function Wm() {
9896
- const t = ye(null), e = Be(() => UT, []);
9896
+ const t = ye(null), e = $e(() => UT, []);
9897
9897
  return { constraintsRef: t, onMeasureDragConstraints: e };
9898
9898
  }
9899
9899
  var jm = Nn(
@@ -10299,9 +10299,9 @@ function Hr(t, e) {
10299
10299
  if (!t)
10300
10300
  throw new Error("[" + Ao + "] " + (e || ""));
10301
10301
  }
10302
- var sn = Math.min, vs = Math.max, ys = Math.floor, lo = Math.ceil, He = Math.abs;
10302
+ var sn = Math.min, vs = Math.max, ys = Math.floor, lo = Math.ceil, Ge = Math.abs;
10303
10303
  function eg(t, e, n) {
10304
- return He(t - e) < n;
10304
+ return Ge(t - e) < n;
10305
10305
  }
10306
10306
  function rs(t, e, n, r) {
10307
10307
  var o = sn(e, n), s = vs(e, n);
@@ -10370,7 +10370,7 @@ function tg() {
10370
10370
  destroy: s
10371
10371
  };
10372
10372
  }
10373
- var dn = "mounted", ll = "ready", Kt = "move", Cr = "moved", Ic = "click", ng = "active", rg = "inactive", og = "visible", sg = "hidden", _e = "refresh", We = "updated", cr = "resize", Qs = "resized", ig = "drag", ag = "dragging", lg = "dragged", Js = "scroll", Ln = "scrolled", QT = "overflow", Mc = "destroy", cg = "arrows:mounted", ug = "arrows:updated", dg = "pagination:mounted", fg = "pagination:updated", Dc = "navigation:mounted", Nc = "autoplay:play", hg = "autoplay:playing", Oc = "autoplay:pause", Lc = "lazyload:loaded", pg = "sk", mg = "sh", bs = "ei";
10373
+ var dn = "mounted", ll = "ready", Kt = "move", Cr = "moved", Ic = "click", ng = "active", rg = "inactive", og = "visible", sg = "hidden", Pe = "refresh", je = "updated", cr = "resize", Qs = "resized", ig = "drag", ag = "dragging", lg = "dragged", Js = "scroll", Ln = "scrolled", QT = "overflow", Mc = "destroy", cg = "arrows:mounted", ug = "arrows:updated", dg = "pagination:mounted", fg = "pagination:updated", Dc = "navigation:mounted", Nc = "autoplay:play", hg = "autoplay:playing", Oc = "autoplay:pause", Lc = "lazyload:loaded", pg = "sk", mg = "sh", bs = "ei";
10374
10374
  function Se(t) {
10375
10375
  var e = t ? t.event.bus : document.createDocumentFragment(), n = tg();
10376
10376
  function r(s, i) {
@@ -10470,7 +10470,7 @@ function tA(t, e, n) {
10470
10470
  matchMedia(lf).matches && (m ? tn(n, s) : uf(n, so(s)));
10471
10471
  }
10472
10472
  function h(m, p, g) {
10473
- tn(n, m), p && tn(Object.getPrototypeOf(n), m), (g || !r.is(qn)) && t.emit(We, n);
10473
+ tn(n, m), p && tn(Object.getPrototypeOf(n), m), (g || !r.is(qn)) && t.emit(je, n);
10474
10474
  }
10475
10475
  return {
10476
10476
  setup: l,
@@ -10531,7 +10531,7 @@ function gA(t, e, n) {
10531
10531
  w(), S(), y();
10532
10532
  }
10533
10533
  function g() {
10534
- o(_e, x), o(_e, p), o(We, y), s(document, Rg + " keydown", function(E) {
10534
+ o(Pe, x), o(Pe, p), o(je, y), s(document, Rg + " keydown", function(E) {
10535
10535
  m = E.type === "keydown";
10536
10536
  }, {
10537
10537
  capture: !0
@@ -10633,7 +10633,7 @@ function vA(t, e, n, r) {
10633
10633
  return ys(B[D]) <= lo(k[D]) && ys(k[z]) <= lo(B[z]);
10634
10634
  }
10635
10635
  function F(B, k) {
10636
- var D = He(B - e);
10636
+ var D = Ge(B - e);
10637
10637
  return !w && (u.rewind || t.is(Sr)) && (D = sn(D, t.length - D)), D <= k;
10638
10638
  }
10639
10639
  var M = {
@@ -10653,7 +10653,7 @@ function vA(t, e, n, r) {
10653
10653
  function yA(t, e, n) {
10654
10654
  var r = Se(t), o = r.on, s = r.emit, i = r.bind, a = e.Elements, l = a.slides, c = a.list, u = [];
10655
10655
  function d() {
10656
- f(), o(_e, h), o(_e, f);
10656
+ f(), o(Pe, h), o(Pe, f);
10657
10657
  }
10658
10658
  function f() {
10659
10659
  l.forEach(function(I, R) {
@@ -10696,12 +10696,12 @@ function yA(t, e, n) {
10696
10696
  var N = l[R];
10697
10697
  N ? kc(P, N) : Eo(c, P), kt(P, n.classes.slide), A(P, ve(s, cr));
10698
10698
  }
10699
- }), s(_e);
10699
+ }), s(Pe);
10700
10700
  }
10701
10701
  function S(I) {
10702
10702
  Rn(T(I).map(function(R) {
10703
10703
  return R.slide;
10704
- })), s(_e);
10704
+ })), s(Pe);
10705
10705
  }
10706
10706
  function C(I, R) {
10707
10707
  g(R).forEach(I);
@@ -10750,7 +10750,7 @@ function yA(t, e, n) {
10750
10750
  function bA(t, e, n) {
10751
10751
  var r = Se(t), o = r.on, s = r.bind, i = r.emit, a = e.Slides, l = e.Direction.resolve, c = e.Elements, u = c.root, d = c.track, f = c.list, h = a.getAt, m = a.style, p, g, x;
10752
10752
  function y() {
10753
- w(), s(window, "resize load", eA(ve(i, cr))), o([We, _e], w), o(cr, S);
10753
+ w(), s(window, "resize load", eA(ve(i, cr))), o([je, Pe], w), o(cr, S);
10754
10754
  }
10755
10755
  function w() {
10756
10756
  p = n.direction === oi, dt(u, "maxWidth", vn(n.width)), dt(d, l("paddingLeft"), C(!1)), dt(d, l("paddingRight"), C(!0)), S(!0);
@@ -10791,7 +10791,7 @@ function bA(t, e, n) {
10791
10791
  var k = h(M);
10792
10792
  if (k) {
10793
10793
  var D = et(k.slide)[l("right")], z = et(f)[l("left")];
10794
- return He(D - z) + (B ? 0 : W());
10794
+ return Ge(D - z) + (B ? 0 : W());
10795
10795
  }
10796
10796
  return 0;
10797
10797
  }
@@ -10823,7 +10823,7 @@ var xA = 2;
10823
10823
  function wA(t, e, n) {
10824
10824
  var r = Se(t), o = r.on, s = e.Elements, i = e.Slides, a = e.Direction.resolve, l = [], c;
10825
10825
  function u() {
10826
- o(_e, d), o([We, cr], h), (c = g()) && (m(c), e.Layout.resize(!0));
10826
+ o(Pe, d), o([je, cr], h), (c = g()) && (m(c), e.Layout.resize(!0));
10827
10827
  }
10828
10828
  function d() {
10829
10829
  f(), u();
@@ -10833,7 +10833,7 @@ function wA(t, e, n) {
10833
10833
  }
10834
10834
  function h() {
10835
10835
  var x = g();
10836
- c !== x && (c < x || !x) && r.emit(_e);
10836
+ c !== x && (c < x || !x) && r.emit(Pe);
10837
10837
  }
10838
10838
  function m(x) {
10839
10839
  var y = i.get().slice(), w = y.length;
@@ -10868,7 +10868,7 @@ function wA(t, e, n) {
10868
10868
  function CA(t, e, n) {
10869
10869
  var r = Se(t), o = r.on, s = r.emit, i = t.state.set, a = e.Layout, l = a.slideSize, c = a.getPadding, u = a.totalSize, d = a.listSize, f = a.sliderSize, h = e.Direction, m = h.resolve, p = h.orient, g = e.Elements, x = g.list, y = g.track, w;
10870
10870
  function S() {
10871
- w = e.Transition, o([dn, Qs, We, _e], C);
10871
+ w = e.Transition, o([dn, Qs, je, Pe], C);
10872
10872
  }
10873
10873
  function C() {
10874
10874
  e.Controller.isBusy() || (e.Scroll.cancel(), E(t.index), e.Slides.update());
@@ -10896,14 +10896,14 @@ function CA(t, e, n) {
10896
10896
  }
10897
10897
  function O(k, D) {
10898
10898
  var z = k - F(D), G = f();
10899
- return k -= p(G * (lo(He(z) / G) || 1)) * (D ? 1 : -1), k;
10899
+ return k -= p(G * (lo(Ge(z) / G) || 1)) * (D ? 1 : -1), k;
10900
10900
  }
10901
10901
  function I() {
10902
10902
  A(N(), !0), w.cancel();
10903
10903
  }
10904
10904
  function R(k) {
10905
10905
  for (var D = e.Slides.get(), z = 0, G = 1 / 0, j = 0; j < D.length; j++) {
10906
- var K = D[j].index, V = He(P(K, !0) - k);
10906
+ var K = D[j].index, V = Ge(P(K, !0) - k);
10907
10907
  if (V <= G)
10908
10908
  G = V, z = K;
10909
10909
  else
@@ -10956,7 +10956,7 @@ function CA(t, e, n) {
10956
10956
  function SA(t, e, n) {
10957
10957
  var r = Se(t), o = r.on, s = r.emit, i = e.Move, a = i.getPosition, l = i.getLimit, c = i.toPosition, u = e.Slides, d = u.isEnough, f = u.getLength, h = n.omitEnd, m = t.is(Sr), p = t.is(ur), g = ve(N, !1), x = ve(N, !0), y = n.start || 0, w, S = y, C, T, E;
10958
10958
  function A() {
10959
- _(), o([We, _e, bs], _), o(Qs, O);
10959
+ _(), o([je, Pe, bs], _), o(Qs, O);
10960
10960
  }
10961
10961
  function _() {
10962
10962
  C = f(!0), T = n.perMove, E = n.perPage, w = M();
@@ -11059,7 +11059,7 @@ var EA = "http://www.w3.org/2000/svg", TA = "m15.5 0.932-4.3 4.38 14.5 14.6-14.5
11059
11059
  function AA(t, e, n) {
11060
11060
  var r = Se(t), o = r.on, s = r.bind, i = r.emit, a = n.classes, l = n.i18n, c = e.Elements, u = e.Controller, d = c.arrows, f = c.track, h = d, m = c.prev, p = c.next, g, x, y = {};
11061
11061
  function w() {
11062
- C(), o(We, S);
11062
+ C(), o(je, S);
11063
11063
  }
11064
11064
  function S() {
11065
11065
  T(), w();
@@ -11075,7 +11075,7 @@ function AA(t, e, n) {
11075
11075
  r.destroy(), $t(h, x), g ? (Rn(d ? [m, p] : h), m = p = null) : Rt([m, p], Bc);
11076
11076
  }
11077
11077
  function E() {
11078
- o([dn, Cr, _e, Ln, bs], I), s(p, "click", ve(A, ">")), s(m, "click", ve(A, "<"));
11078
+ o([dn, Cr, Pe, Ln, bs], I), s(p, "click", ve(A, ">")), s(m, "click", ve(A, "<"));
11079
11079
  }
11080
11080
  function A(R) {
11081
11081
  u.go(R, !0);
@@ -11113,7 +11113,7 @@ function RA(t, e, n) {
11113
11113
  p = _.type === "focusin", C();
11114
11114
  }), f && s(f, "click", function() {
11115
11115
  g ? w() : S(!0);
11116
- }), o([Kt, Js, _e], a.rewind), o(Kt, A);
11116
+ }), o([Kt, Js, Pe], a.rewind), o(Kt, A);
11117
11117
  }
11118
11118
  function w() {
11119
11119
  l() && e.Slides.isEnough() && (a.start(!n.resetProgress), p = m = g = !1, T(), i(Nc));
@@ -11146,7 +11146,7 @@ function RA(t, e, n) {
11146
11146
  function _A(t, e, n) {
11147
11147
  var r = Se(t), o = r.on;
11148
11148
  function s() {
11149
- n.cover && (o(Lc, ve(a, !0)), o([dn, We, _e], ve(i, !0)));
11149
+ n.cover && (o(Lc, ve(a, !0)), o([dn, je, Pe], ve(i, !0)));
11150
11150
  }
11151
11151
  function i(l) {
11152
11152
  e.Slides.forEach(function(c) {
@@ -11166,23 +11166,23 @@ var PA = 10, IA = 600, MA = 0.6, DA = 1.5, NA = 800;
11166
11166
  function OA(t, e, n) {
11167
11167
  var r = Se(t), o = r.on, s = r.emit, i = t.state.set, a = e.Move, l = a.getPosition, c = a.getLimit, u = a.exceededLimit, d = a.translate, f = t.is(ur), h, m, p = 1;
11168
11168
  function g() {
11169
- o(Kt, S), o([We, _e], C);
11169
+ o(Kt, S), o([je, Pe], C);
11170
11170
  }
11171
11171
  function x(E, A, _, O, I) {
11172
11172
  var R = l();
11173
11173
  if (S(), _ && (!f || !u())) {
11174
- var P = e.Layout.sliderSize(), N = il(E) * P * ys(He(E) / P) || 0;
11174
+ var P = e.Layout.sliderSize(), N = il(E) * P * ys(Ge(E) / P) || 0;
11175
11175
  E = a.toPosition(e.Controller.toDest(E % P)) + N;
11176
11176
  }
11177
11177
  var W = eg(R, E, 1);
11178
- p = 1, A = W ? 0 : A || vs(He(E - R) / DA, NA), m = O, h = ei(A, y, ve(w, R, E, I), 1), i(wo), s(Js), h.start();
11178
+ p = 1, A = W ? 0 : A || vs(Ge(E - R) / DA, NA), m = O, h = ei(A, y, ve(w, R, E, I), 1), i(wo), s(Js), h.start();
11179
11179
  }
11180
11180
  function y() {
11181
11181
  i(lr), m && m(), s(Ln);
11182
11182
  }
11183
11183
  function w(E, A, _, O) {
11184
11184
  var I = l(), R = E + (A - E) * T(O), P = (R - I) * p;
11185
- d(I + P), f && !_ && u() && (p *= MA, He(P) < PA && x(c(u(!0)), IA, !1, m, !0));
11185
+ d(I + P), f && !_ && u() && (p *= MA, Ge(P) < PA && x(c(u(!0)), IA, !1, m, !0));
11186
11186
  }
11187
11187
  function S() {
11188
11188
  h && h.cancel();
@@ -11210,7 +11210,7 @@ function LA(t, e, n) {
11210
11210
  function R() {
11211
11211
  i(f, oa, ol, jn), i(f, sa, ol, jn), i(f, Rg, N, jn), i(f, "click", F, {
11212
11212
  capture: !0
11213
- }), i(f, "dragstart", Lt), o([dn, We], P);
11213
+ }), i(f, "dragstart", Lt), o([dn, je], P);
11214
11214
  }
11215
11215
  function P() {
11216
11216
  var X = n.drag;
@@ -11226,8 +11226,8 @@ function LA(t, e, n) {
11226
11226
  if (l.is(ts) || (l.set(ts), s(ig)), X.cancelable)
11227
11227
  if (E) {
11228
11228
  c.translate(w + U(j(X)));
11229
- var ce = K(X) > bf, Ne = A !== (A = y());
11230
- (ce || Ne) && M(X), _ = !0, s(ag), Lt(X);
11229
+ var ce = K(X) > bf, Oe = A !== (A = y());
11230
+ (ce || Oe) && M(X), _ = !0, s(ag), Lt(X);
11231
11231
  } else D(X) && (E = k(X), Lt(X));
11232
11232
  }
11233
11233
  function $(X) {
@@ -11240,15 +11240,15 @@ function LA(t, e, n) {
11240
11240
  C = S, S = X, w = x();
11241
11241
  }
11242
11242
  function B(X) {
11243
- var ce = z(X), Ne = G(ce), lt = n.rewind && n.rewindByDrag;
11244
- h(!1), T ? d.scroll(Ne, 0, n.snap) : t.is(Ro) ? d.go(g(il(ce)) < 0 ? lt ? "<" : "-" : lt ? ">" : "+") : t.is(ur) && A && lt ? d.go(y(!0) ? ">" : "<") : d.go(d.toDest(Ne), !0), h(!0);
11243
+ var ce = z(X), Oe = G(ce), lt = n.rewind && n.rewindByDrag;
11244
+ h(!1), T ? d.scroll(Oe, 0, n.snap) : t.is(Ro) ? d.go(g(il(ce)) < 0 ? lt ? "<" : "-" : lt ? ">" : "+") : t.is(ur) && A && lt ? d.go(y(!0) ? ">" : "<") : d.go(d.toDest(Oe), !0), h(!0);
11245
11245
  }
11246
11246
  function k(X) {
11247
- var ce = n.dragMinThreshold, Ne = ro(ce), lt = Ne && ce.mouse || 0, je = (Ne ? ce.touch : +ce) || 10;
11248
- return He(j(X)) > (q(X) ? je : lt);
11247
+ var ce = n.dragMinThreshold, Oe = ro(ce), lt = Oe && ce.mouse || 0, Ue = (Oe ? ce.touch : +ce) || 10;
11248
+ return Ge(j(X)) > (q(X) ? Ue : lt);
11249
11249
  }
11250
11250
  function D(X) {
11251
- return He(j(X)) > He(j(X, !0));
11251
+ return Ge(j(X)) > Ge(j(X, !0));
11252
11252
  }
11253
11253
  function z(X) {
11254
11254
  if (t.is(Sr) || !A) {
@@ -11259,7 +11259,7 @@ function LA(t, e, n) {
11259
11259
  return 0;
11260
11260
  }
11261
11261
  function G(X) {
11262
- return x() + il(X) * sn(He(X) * (n.flickPower || 600), T ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
11262
+ return x() + il(X) * sn(Ge(X) * (n.flickPower || 600), T ? 1 / 0 : e.Layout.listSize() * (n.flickMaxPages || 1));
11263
11263
  }
11264
11264
  function j(X, ce) {
11265
11265
  return L(X, ce) - L(V(X), ce);
@@ -11309,7 +11309,7 @@ var xf = "keydown";
11309
11309
  function FA(t, e, n) {
11310
11310
  var r = Se(t), o = r.on, s = r.bind, i = r.unbind, a = t.root, l = e.Direction.resolve, c, u;
11311
11311
  function d() {
11312
- f(), o(We, h), o(We, f), o(Kt, p);
11312
+ f(), o(je, h), o(je, f), o(Kt, p);
11313
11313
  }
11314
11314
  function f() {
11315
11315
  var x = n.keyboard;
@@ -11343,7 +11343,7 @@ var Gr = _c + "-lazy", os = Gr + "-srcset", BA = "[" + Gr + "], [" + os + "]";
11343
11343
  function $A(t, e, n) {
11344
11344
  var r = Se(t), o = r.on, s = r.off, i = r.bind, a = r.emit, l = n.lazyLoad === "sequential", c = [Cr, Ln], u = [];
11345
11345
  function d() {
11346
- n.lazyLoad && (f(), o(_e, f));
11346
+ n.lazyLoad && (f(), o(Pe, f));
11347
11347
  }
11348
11348
  function f() {
11349
11349
  Gt(u), h(), l ? x() : (s(c), o(c, m), m());
@@ -11385,7 +11385,7 @@ function $A(t, e, n) {
11385
11385
  function WA(t, e, n) {
11386
11386
  var r = Se(t), o = r.on, s = r.emit, i = r.bind, a = e.Slides, l = e.Elements, c = e.Controller, u = c.hasFocus, d = c.getIndex, f = c.go, h = e.Direction.resolve, m = l.pagination, p = [], g, x;
11387
11387
  function y() {
11388
- w(), o([We, _e, bs], y);
11388
+ w(), o([je, Pe, bs], y);
11389
11389
  var O = n.pagination;
11390
11390
  m && ao(m, O ? "" : "none"), O && (o([Kt, Js, Ln], _), S(), _(), s(dg, {
11391
11391
  list: g,
@@ -11474,7 +11474,7 @@ function UA(t, e, n) {
11474
11474
  }
11475
11475
  function u() {
11476
11476
  var m = Se(t), p = m.on;
11477
- p(Ic, f), p(pg, h), p([dn, We], d), s.push(m), m.emit(Dc, t.splides);
11477
+ p(Ic, f), p(pg, h), p([dn, je], d), s.push(m), m.emit(Dc, t.splides);
11478
11478
  }
11479
11479
  function d() {
11480
11480
  de(e.Elements.list, Fc, n.direction === oi ? "vertical" : "");
@@ -11502,7 +11502,7 @@ function zA(t, e, n) {
11502
11502
  function a(c) {
11503
11503
  if (c.cancelable) {
11504
11504
  var u = c.deltaY, d = u < 0, f = sl(c), h = n.wheelMinThreshold || 0, m = n.wheelSleep || 0;
11505
- He(u) > h && f - s > m && (t.go(d ? "<" : ">"), s = f), l(d) && Lt(c);
11505
+ Ge(u) > h && f - s > m && (t.go(d ? "<" : ">"), s = f), l(d) && Lt(c);
11506
11506
  }
11507
11507
  }
11508
11508
  function l(c) {
@@ -11597,7 +11597,7 @@ var KA = /* @__PURE__ */ Object.freeze({
11597
11597
  function XA(t, e, n) {
11598
11598
  var r = e.Slides;
11599
11599
  function o() {
11600
- Se(t).on([dn, _e], s);
11600
+ Se(t).on([dn, Pe], s);
11601
11601
  }
11602
11602
  function s() {
11603
11603
  r.forEach(function(a) {
@@ -11622,7 +11622,7 @@ function ZA(t, e, n) {
11622
11622
  }
11623
11623
  function u(h, m) {
11624
11624
  var p = r.toPosition(h, !0), g = r.getPosition(), x = f(h);
11625
- He(p - g) >= 1 && x >= 1 ? n.useScroll ? s.scroll(p, x, !1, m) : (a("transform " + x + "ms " + n.easing), r.translate(p, !0), l = m) : (r.jump(h), m());
11625
+ Ge(p - g) >= 1 && x >= 1 ? n.useScroll ? s.scroll(p, x, !1, m) : (a("transform " + x + "ms " + n.easing), r.translate(p, !0), l = m) : (r.jump(h), m());
11626
11626
  }
11627
11627
  function d() {
11628
11628
  a(""), s.cancel();
@@ -11693,7 +11693,7 @@ var QA = /* @__PURE__ */ function() {
11693
11693
  }, e.is = function(r) {
11694
11694
  return this._o.type === r;
11695
11695
  }, e.refresh = function() {
11696
- return this.emit(_e), this;
11696
+ return this.emit(Pe), this;
11697
11697
  }, e.destroy = function(r) {
11698
11698
  r === void 0 && (r = !0);
11699
11699
  var o = this.event, s = this.state;
@@ -11732,8 +11732,8 @@ var wf = [
11732
11732
  [rg, "onInactive"],
11733
11733
  [og, "onVisible"],
11734
11734
  [sg, "onHidden"],
11735
- [_e, "onRefresh"],
11736
- [We, "onUpdated"],
11735
+ [Pe, "onRefresh"],
11736
+ [je, "onUpdated"],
11737
11737
  [cr, "onResize"],
11738
11738
  [Qs, "onResized"],
11739
11739
  [ig, "onDrag"],
@@ -12086,7 +12086,7 @@ const Pg = ({ children: t, theme: e, className: n, inline: r = !1 }) => /* @__PU
12086
12086
  slideWidth: "",
12087
12087
  setIntersectionObserver: () => null,
12088
12088
  getIntersectionObserver: () => null
12089
- }), Hc = () => Ae(Ig), ik = () => {
12089
+ }), Hc = () => ke(Ig), ik = () => {
12090
12090
  const { activePage: t, pages: e } = Hc(), n = (o) => t === o ? "bg-clr-primary w-3 h-1" : "bg-clr-on-bg-low w-3 h-0.25", r = [];
12091
12091
  for (let o = 1; o <= e; o++)
12092
12092
  r.push(/* @__PURE__ */ v("div", { className: n(o) }, o));
@@ -12314,9 +12314,9 @@ const Af = /* @__PURE__ */ Ks(dk), dr = (t, e, n = 10) => Math.abs(t - e) <= n,
12314
12314
  }, Sk = ({ perPage: t = 1, perMove: e = t, rewind: n = !1, padding: r = 0, gap: o = 0, moveToPage: s }) => {
12315
12315
  const i = ye(null), a = document.documentElement.clientWidth, [l, c] = J(a), [u, d] = J(0), [f, h] = J(0), [m, p] = J(0), [g, x] = J(!1), [y, w] = J(!0), [S, C] = J(!1), [T, E] = J(!1), [A, _] = J(null), [O, I] = J(0), R = () => {
12316
12316
  E(!1), _(null);
12317
- }, P = ye(null), N = Be(() => P.current, []), W = Be((L) => {
12317
+ }, P = ye(null), N = $e(() => P.current, []), W = $e((L) => {
12318
12318
  P.current = L;
12319
- }, []), $ = pk({ scrollContainerWidth: u, scrollPortWidth: f }), F = Ye(
12319
+ }, []), $ = pk({ scrollContainerWidth: u, scrollPortWidth: f }), F = Ae(
12320
12320
  () => hk({ scrollPosition: m, scrollPortWidth: f, scrollContainerWidth: u, padding: r }),
12321
12321
  [m, f, u, r]
12322
12322
  ), M = xk({ viewportWidth: l }), B = wk({ perPage: t, breakpoint: M }), D = Ck({ perMove: e, breakpoint: M }) / B, z = mk({ perPage: B, padding: r, gap: o }), G = yk({ scrollPosition: m, scrollPortWidth: f, scrollContainerWidth: u, rewind: n, distanceMultiplier: D }), j = bk({
@@ -12365,9 +12365,9 @@ const Af = /* @__PURE__ */ Ks(dk), dr = (t, e, n = 10) => Math.abs(t - e) <= n,
12365
12365
  const L = (s - 1) * f;
12366
12366
  i.current && s >= 1 && s <= $ && i.current.scrollTo({ left: L, behavior: "instant" });
12367
12367
  }, [s, f, $]);
12368
- const K = Be(() => {
12368
+ const K = $e(() => {
12369
12369
  !i.current || !g || S || (i.current.scrollBy({ left: -G, behavior: "smooth" }), E(!0), _("left"));
12370
- }, [g, G, S]), V = Be(() => {
12370
+ }, [g, G, S]), V = $e(() => {
12371
12371
  !i.current || !y || S || (i.current.scrollBy({ left: j, behavior: "smooth" }), E(!0), _("right"));
12372
12372
  }, [y, j, S]);
12373
12373
  return {
@@ -12411,7 +12411,7 @@ const Af = /* @__PURE__ */ Ks(dk), dr = (t, e, n = 10) => Math.abs(t - e) <= n,
12411
12411
  moveToPage: h,
12412
12412
  ...m
12413
12413
  }) => {
12414
- const p = Sk({ rewind: s, perPage: r, perMove: o, padding: a, gap: u, moveToPage: h }), g = ke(), x = ye(null), {
12414
+ const p = Sk({ rewind: s, perPage: r, perMove: o, padding: a, gap: u, moveToPage: h }), g = Re(), x = ye(null), {
12415
12415
  listRef: y,
12416
12416
  pages: w,
12417
12417
  activePage: S,
@@ -12609,7 +12609,7 @@ const Tk = ae({
12609
12609
  ] })
12610
12610
  );
12611
12611
  }, rD = (t) => {
12612
- const e = ke(), n = ke(), { helperText: r = "", error: o = !1, errorText: s = "", ...i } = t;
12612
+ const e = Re(), n = Re(), { helperText: r = "", error: o = !1, errorText: s = "", ...i } = t;
12613
12613
  return /* @__PURE__ */ Z("div", { "data-bpds": "checkbox", children: [
12614
12614
  /* @__PURE__ */ v(
12615
12615
  Mg,
@@ -12653,7 +12653,7 @@ const Tk = ae({
12653
12653
  required: a = !1,
12654
12654
  componentName: l
12655
12655
  }) => {
12656
- const { base: c, label: u } = Rk(), d = ke(), f = ke();
12656
+ const { base: c, label: u } = Rk(), d = Re(), f = Re();
12657
12657
  let h;
12658
12658
  return i && (h = d), r && o && (h = h ? h + " " + f : f), /* @__PURE__ */ Z(
12659
12659
  "fieldset",
@@ -12701,7 +12701,7 @@ const Tk = ae({
12701
12701
  helperText: l,
12702
12702
  required: c = !1
12703
12703
  }) => {
12704
- const { getChildrenFromSubcomponent: u, printBadConstructionMessage: d } = On(r), h = e !== void 0 ? e : n, m = ke(), p = ke(), g = { values: h, onChange: o, disabled: a, error: s, required: c, helperTextId: m, errorTextId: p };
12704
+ const { getChildrenFromSubcomponent: u, printBadConstructionMessage: d } = On(r), h = e !== void 0 ? e : n, m = Re(), p = Re(), g = { values: h, onChange: o, disabled: a, error: s, required: c, helperTextId: m, errorTextId: p };
12705
12705
  return r ? /* @__PURE__ */ v(
12706
12706
  Dg,
12707
12707
  {
@@ -12719,14 +12719,14 @@ const Tk = ae({
12719
12719
  Og.Item = Ng;
12720
12720
  Og.Item.displayName = "CheckboxGroup.Item";
12721
12721
  const oD = ({ children: t, disableFullScreen: e = !1 }) => /* @__PURE__ */ v("div", { className: `px-[var(--size-container-horizontal-padding)] ${e ? "max-w-[1600px] xxxl:mx-auto" : ""}`, "data-bpds": "container", children: t });
12722
- function Fe(t) {
12722
+ function Be(t) {
12723
12723
  const e = b.useRef(t);
12724
12724
  return b.useEffect(() => {
12725
12725
  e.current = t;
12726
12726
  }), b.useMemo(() => (...n) => e.current?.(...n), []);
12727
12727
  }
12728
12728
  function _k(t, e = globalThis?.document) {
12729
- const n = Fe(t);
12729
+ const n = Be(t);
12730
12730
  b.useEffect(() => {
12731
12731
  const r = (o) => {
12732
12732
  o.key === "Escape" && n(o);
@@ -12799,7 +12799,7 @@ var Dk = "DismissableLayerBranch", Nk = b.forwardRef((t, e) => {
12799
12799
  });
12800
12800
  Nk.displayName = Dk;
12801
12801
  function Ok(t, e = globalThis?.document) {
12802
- const n = Fe(t), r = b.useRef(!1), o = b.useRef(() => {
12802
+ const n = Be(t), r = b.useRef(!1), o = b.useRef(() => {
12803
12803
  });
12804
12804
  return b.useEffect(() => {
12805
12805
  const s = (a) => {
@@ -12829,7 +12829,7 @@ function Ok(t, e = globalThis?.document) {
12829
12829
  };
12830
12830
  }
12831
12831
  function Lk(t, e = globalThis?.document) {
12832
- const n = Fe(t), r = b.useRef(!1);
12832
+ const n = Be(t), r = b.useRef(!1);
12833
12833
  return b.useEffect(() => {
12834
12834
  const o = (s) => {
12835
12835
  s.target && !r.current && Vg(Mk, n, { originalEvent: s }, {
@@ -12857,7 +12857,7 @@ var la = "focusScope.autoFocusOnMount", ca = "focusScope.autoFocusOnUnmount", Pf
12857
12857
  onMountAutoFocus: o,
12858
12858
  onUnmountAutoFocus: s,
12859
12859
  ...i
12860
- } = t, [a, l] = b.useState(null), c = Fe(o), u = Fe(s), d = b.useRef(null), f = pe(e, (p) => l(p)), h = b.useRef({
12860
+ } = t, [a, l] = b.useState(null), c = Be(o), u = Be(s), d = b.useRef(null), f = pe(e, (p) => l(p)), h = b.useRef({
12861
12861
  paused: !1,
12862
12862
  pause() {
12863
12863
  this.paused = !0;
@@ -12980,7 +12980,7 @@ function Uk(t) {
12980
12980
  }
12981
12981
  var zk = "Portal", ci = b.forwardRef((t, e) => {
12982
12982
  const { container: n, ...r } = t, [o, s] = b.useState(!1);
12983
- Me(() => s(!0), []);
12983
+ De(() => s(!0), []);
12984
12984
  const i = n || o && globalThis?.document?.body;
12985
12985
  return i ? $b.createPortal(/* @__PURE__ */ v(se.div, { ...r, ref: e }), i) : null;
12986
12986
  });
@@ -13658,7 +13658,7 @@ var O1 = b.forwardRef(
13658
13658
  ), nv = b.forwardRef(
13659
13659
  (t, e) => {
13660
13660
  const { __scopeDialog: n, trapFocus: r, onOpenAutoFocus: o, onCloseAutoFocus: s, ...i } = t, a = wt(Pn, n), l = b.useRef(null), c = pe(e, l);
13661
- return Bg(), /* @__PURE__ */ Z(Ve, { children: [
13661
+ return Bg(), /* @__PURE__ */ Z(Fe, { children: [
13662
13662
  /* @__PURE__ */ v(
13663
13663
  Kc,
13664
13664
  {
@@ -13682,7 +13682,7 @@ var O1 = b.forwardRef(
13682
13682
  )
13683
13683
  }
13684
13684
  ),
13685
- /* @__PURE__ */ Z(Ve, { children: [
13685
+ /* @__PURE__ */ Z(Fe, { children: [
13686
13686
  /* @__PURE__ */ v(V1, { titleId: a.titleId }),
13687
13687
  /* @__PURE__ */ v(B1, { contentRef: l, descriptionId: a.descriptionId })
13688
13688
  ] })
@@ -13835,7 +13835,7 @@ gv.displayName = Jc;
13835
13835
  var vv = "ScrollAreaViewport", yv = b.forwardRef(
13836
13836
  (t, e) => {
13837
13837
  const { __scopeScrollArea: n, children: r, nonce: o, ...s } = t, i = at(vv, n), a = b.useRef(null), l = pe(e, a, i.onViewportChange);
13838
- return /* @__PURE__ */ Z(Ve, { children: [
13838
+ return /* @__PURE__ */ Z(Fe, { children: [
13839
13839
  /* @__PURE__ */ v(
13840
13840
  "style",
13841
13841
  {
@@ -14111,7 +14111,7 @@ var H1 = b.forwardRef((t, e) => {
14111
14111
  onWheelScroll: u,
14112
14112
  onResize: d,
14113
14113
  ...f
14114
- } = t, h = at(It, n), [m, p] = b.useState(null), g = pe(e, (_) => p(_)), x = b.useRef(null), y = b.useRef(""), w = h.viewport, S = r.content - r.viewport, C = Fe(u), T = Fe(l), E = hi(d, 10);
14114
+ } = t, h = at(It, n), [m, p] = b.useState(null), g = pe(e, (_) => p(_)), x = b.useRef(null), y = b.useRef(""), w = h.viewport, S = r.content - r.viewport, C = Be(u), T = Be(l), E = hi(d, 10);
14115
14115
  function A(_) {
14116
14116
  if (x.current) {
14117
14117
  const O = _.clientX - x.current.left, I = _.clientY - x.current.top;
@@ -14130,10 +14130,10 @@ var H1 = b.forwardRef((t, e) => {
14130
14130
  scope: n,
14131
14131
  scrollbar: m,
14132
14132
  hasThumb: o,
14133
- onThumbChange: Fe(s),
14134
- onThumbPointerUp: Fe(i),
14133
+ onThumbChange: Be(s),
14134
+ onThumbPointerUp: Be(i),
14135
14135
  onThumbPositionChange: T,
14136
- onThumbPointerDown: Fe(a),
14136
+ onThumbPointerDown: Be(a),
14137
14137
  children: /* @__PURE__ */ v(
14138
14138
  se.div,
14139
14139
  {
@@ -14267,14 +14267,14 @@ var J1 = (t, e = () => {
14267
14267
  }(), () => window.cancelAnimationFrame(r);
14268
14268
  };
14269
14269
  function hi(t, e) {
14270
- const n = Fe(t), r = b.useRef(0);
14270
+ const n = Be(t), r = b.useRef(0);
14271
14271
  return b.useEffect(() => () => window.clearTimeout(r.current), []), b.useCallback(() => {
14272
14272
  window.clearTimeout(r.current), r.current = window.setTimeout(n, e);
14273
14273
  }, [n, e]);
14274
14274
  }
14275
14275
  function fr(t, e) {
14276
- const n = Fe(e);
14277
- Me(() => {
14276
+ const n = Be(e);
14277
+ De(() => {
14278
14278
  let r = 0;
14279
14279
  if (t) {
14280
14280
  const o = new ResizeObserver(() => {
@@ -14662,7 +14662,7 @@ const RR = ae({
14662
14662
  }) => {
14663
14663
  const { root: h, inputWrapper: m, inputLabel: p } = RR({ placeholderShown: r, disabled: o, error: c, componentName: i });
14664
14664
  return /* @__PURE__ */ Z("div", { className: h(), "data-bpds": i, children: [
14665
- /* @__PURE__ */ v("div", { className: m(), children: t }),
14665
+ /* @__PURE__ */ v("div", { className: m(), "aria-disabled": o, children: t }),
14666
14666
  /* @__PURE__ */ Z(kR, { htmlFor: e, className: `${p()} ${f}`, children: [
14667
14667
  n,
14668
14668
  s && /* @__PURE__ */ v("span", { "aria-hidden": "true", children: "*" })
@@ -14744,7 +14744,7 @@ const RR = ae({
14744
14744
  componentName: O,
14745
14745
  ...I
14746
14746
  }) => {
14747
- const R = ke(), P = l ?? R, N = ke(), W = ke();
14747
+ const R = Re(), P = l ?? R, N = Re(), W = Re();
14748
14748
  let $;
14749
14749
  I.value !== void 0 ? $ = !!I.value : $ = !!I.defaultValue;
14750
14750
  const [F, M] = J(!1), [B, k] = J($), D = !B && !F, z = ye(null), G = s ?? z, { root: j, container: K, input: V, buttonSection: L, clearButton: U, iconSeparator: Y } = _R({
@@ -14760,11 +14760,11 @@ const RR = ae({
14760
14760
  }, X = (Di) => {
14761
14761
  const Mo = Di.currentTarget.value;
14762
14762
  I.onChange?.(Mo), B !== !!Mo && k(!!Mo);
14763
- }, ce = "Eingabe löschen", Ne = () => {
14763
+ }, ce = "Eingabe löschen", Oe = () => {
14764
14764
  I.value ? I.onChange("") : G.current && (G.current.value = ""), k(!1), G.current?.focus();
14765
14765
  }, lt = T && !S;
14766
- let je;
14767
- return c && (je = N), h && u && (je = je ? je + " " + W : W), C && (je = je ? je + " " + C : C), /* @__PURE__ */ v("div", { className: j(), children: /* @__PURE__ */ v(
14766
+ let Ue;
14767
+ return c && (Ue = N), h && u && (Ue = Ue ? Ue + " " + W : W), C && (Ue = Ue ? Ue + " " + C : C), /* @__PURE__ */ v("div", { className: j(), children: /* @__PURE__ */ v(
14768
14768
  Ts,
14769
14769
  {
14770
14770
  label: i,
@@ -14801,13 +14801,13 @@ const RR = ae({
14801
14801
  maxLength: w,
14802
14802
  required: f,
14803
14803
  onAnimationEnd: q,
14804
- "aria-describedby": je,
14804
+ "aria-describedby": Ue,
14805
14805
  "aria-invalid": h ? "true" : void 0,
14806
14806
  disabled: d
14807
14807
  }
14808
14808
  ),
14809
14809
  /* @__PURE__ */ Z("div", { className: L(), children: [
14810
- !S && /* @__PURE__ */ v("div", { className: U(), children: /* @__PURE__ */ v(Ht, { variant: "tertiary", small: !0, type: "button", icon: "closer", onClick: Ne, label: ce }) }),
14810
+ !S && /* @__PURE__ */ v("div", { className: U(), children: /* @__PURE__ */ v(Ht, { variant: "tertiary", small: !0, type: "button", icon: "closer", onClick: Oe, label: ce }) }),
14811
14811
  lt && /* @__PURE__ */ v("span", { className: Y() }),
14812
14812
  T && /* @__PURE__ */ v(
14813
14813
  Ht,
@@ -15430,7 +15430,7 @@ class St {
15430
15430
  return this.value = this.value.slice(0, -1), e;
15431
15431
  }
15432
15432
  }
15433
- class Oe {
15433
+ class Le {
15434
15434
  /** */
15435
15435
  /** */
15436
15436
  /** Transforms value before mask processing */
@@ -15446,7 +15446,7 @@ class Oe {
15446
15446
  /** */
15447
15447
  constructor(e) {
15448
15448
  this._value = "", this._update({
15449
- ...Oe.DEFAULTS,
15449
+ ...Le.DEFAULTS,
15450
15450
  ...e
15451
15451
  }), this._initialized = !0;
15452
15452
  }
@@ -15664,17 +15664,17 @@ class Oe {
15664
15664
  }
15665
15665
  typedValueEquals(e) {
15666
15666
  const n = this.typedValue;
15667
- return e === n || Oe.EMPTY_VALUES.includes(e) && Oe.EMPTY_VALUES.includes(n) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
15667
+ return e === n || Le.EMPTY_VALUES.includes(e) && Le.EMPTY_VALUES.includes(n) || (this.format ? this.format(e, this) === this.format(this.typedValue, this) : !1);
15668
15668
  }
15669
15669
  pad(e) {
15670
15670
  return new he();
15671
15671
  }
15672
15672
  }
15673
- Oe.DEFAULTS = {
15673
+ Le.DEFAULTS = {
15674
15674
  skipInvalid: !0
15675
15675
  };
15676
- Oe.EMPTY_VALUES = [void 0, null, ""];
15677
- le.Masked = Oe;
15676
+ Le.EMPTY_VALUES = [void 0, null, ""];
15677
+ le.Masked = Le;
15678
15678
  class wn {
15679
15679
  /** */
15680
15680
  constructor(e, n) {
@@ -16090,7 +16090,7 @@ ks.DEFAULT_DEFINITIONS = {
16090
16090
  // http://stackoverflow.com/a/22075070
16091
16091
  "*": /./
16092
16092
  };
16093
- class LR extends Oe {
16093
+ class LR extends Le {
16094
16094
  /** */
16095
16095
  /** Enable characters overwriting */
16096
16096
  /** */
@@ -16105,7 +16105,7 @@ class LR extends Oe {
16105
16105
  }
16106
16106
  }
16107
16107
  le.MaskedRegExp = LR;
16108
- class Le extends Oe {
16108
+ class Ve extends Le {
16109
16109
  /** */
16110
16110
  /** */
16111
16111
  /** Single char for empty input */
@@ -16117,7 +16117,7 @@ class Le extends Oe {
16117
16117
  /** */
16118
16118
  constructor(e) {
16119
16119
  super({
16120
- ...Le.DEFAULTS,
16120
+ ...Ve.DEFAULTS,
16121
16121
  ...e,
16122
16122
  definitions: Object.assign({}, ks.DEFAULT_DEFINITIONS, e?.definitions)
16123
16123
  });
@@ -16163,7 +16163,7 @@ class Le extends Oe {
16163
16163
  }
16164
16164
  }
16165
16165
  let i = n[s], a = i in e;
16166
- if (i === Le.STOP_CHAR) {
16166
+ if (i === Ve.STOP_CHAR) {
16167
16167
  this._stops.push(this._blocks.length);
16168
16168
  continue;
16169
16169
  }
@@ -16175,7 +16175,7 @@ class Le extends Oe {
16175
16175
  o = !o;
16176
16176
  continue;
16177
16177
  }
16178
- if (i === Le.ESCAPE_CHAR) {
16178
+ if (i === Ve.ESCAPE_CHAR) {
16179
16179
  if (++s, i = n[s], !i) break;
16180
16180
  a = !1;
16181
16181
  }
@@ -16404,17 +16404,17 @@ class Le extends Oe {
16404
16404
  return this._forEachBlocksInRange(0, this.displayValue.length, (r) => n.aggregate(r.pad(e))), n;
16405
16405
  }
16406
16406
  }
16407
- Le.DEFAULTS = {
16408
- ...Oe.DEFAULTS,
16407
+ Ve.DEFAULTS = {
16408
+ ...Le.DEFAULTS,
16409
16409
  lazy: !0,
16410
16410
  placeholderChar: "_"
16411
16411
  };
16412
- Le.STOP_CHAR = "`";
16413
- Le.ESCAPE_CHAR = "\\";
16414
- Le.InputDefinition = ks;
16415
- Le.FixedDefinition = Vv;
16416
- le.MaskedPattern = Le;
16417
- class as extends Le {
16412
+ Ve.STOP_CHAR = "`";
16413
+ Ve.ESCAPE_CHAR = "\\";
16414
+ Ve.InputDefinition = ks;
16415
+ Ve.FixedDefinition = Vv;
16416
+ le.MaskedPattern = Ve;
16417
+ class as extends Ve {
16418
16418
  /**
16419
16419
  Optionally sets max length of pattern.
16420
16420
  Used when pattern length is longer then `to` param length. Pads zeros at start in this case.
@@ -16483,7 +16483,7 @@ class as extends Le {
16483
16483
  }
16484
16484
  le.MaskedRange = as;
16485
16485
  const VR = "d{.}`m{.}`Y";
16486
- class Vt extends Le {
16486
+ class Vt extends Ve {
16487
16487
  static extractPatternOptions(e) {
16488
16488
  const {
16489
16489
  mask: n,
@@ -16573,7 +16573,7 @@ Vt.GET_DEFAULT_BLOCKS = () => ({
16573
16573
  }
16574
16574
  });
16575
16575
  Vt.DEFAULTS = {
16576
- ...Le.DEFAULTS,
16576
+ ...Ve.DEFAULTS,
16577
16577
  mask: Date,
16578
16578
  pattern: VR,
16579
16579
  format: (t, e) => {
@@ -16587,7 +16587,7 @@ Vt.DEFAULTS = {
16587
16587
  }
16588
16588
  };
16589
16589
  le.MaskedDate = Vt;
16590
- class yi extends Oe {
16590
+ class yi extends Le {
16591
16591
  constructor(e) {
16592
16592
  super({
16593
16593
  ...yi.DEFAULTS,
@@ -16784,7 +16784,7 @@ class yi extends Oe {
16784
16784
  }
16785
16785
  }
16786
16786
  yi.DEFAULTS = {
16787
- ...Oe.DEFAULTS,
16787
+ ...Le.DEFAULTS,
16788
16788
  dispatch: (t, e, n, r) => {
16789
16789
  if (!e.compiledMasks.length) return;
16790
16790
  const o = e.rawInputValue, s = e.compiledMasks.map((i, a) => {
@@ -16801,7 +16801,7 @@ yi.DEFAULTS = {
16801
16801
  }
16802
16802
  };
16803
16803
  le.MaskedDynamic = yi;
16804
- class bi extends Le {
16804
+ class bi extends Ve {
16805
16805
  constructor(e) {
16806
16806
  super({
16807
16807
  ...bi.DEFAULTS,
@@ -16854,11 +16854,11 @@ class bi extends Le {
16854
16854
  }
16855
16855
  }
16856
16856
  bi.DEFAULTS = {
16857
- ...Le.DEFAULTS,
16857
+ ...Ve.DEFAULTS,
16858
16858
  matchValue: (t, e, n) => t.indexOf(e, n) === n
16859
16859
  };
16860
16860
  le.MaskedEnum = bi;
16861
- class FR extends Oe {
16861
+ class FR extends Le {
16862
16862
  /** */
16863
16863
  /** Enable characters overwriting */
16864
16864
  /** */
@@ -16876,7 +16876,7 @@ class FR extends Oe {
16876
16876
  }
16877
16877
  le.MaskedFunction = FR;
16878
16878
  var Fv;
16879
- class Ge extends Oe {
16879
+ class Ke extends Le {
16880
16880
  /** Single char */
16881
16881
  /** Single char */
16882
16882
  /** Array of single chars */
@@ -16893,7 +16893,7 @@ class Ge extends Oe {
16893
16893
  /** Parse string to get typed value */
16894
16894
  constructor(e) {
16895
16895
  super({
16896
- ...Ge.DEFAULTS,
16896
+ ...Ke.DEFAULTS,
16897
16897
  ...e
16898
16898
  });
16899
16899
  }
@@ -16950,7 +16950,7 @@ class Ge extends Oe {
16950
16950
  let a = !isNaN(i), l = !1;
16951
16951
  if (a) {
16952
16952
  let f;
16953
- this.min != null && this.min < 0 && this.number < this.min && (f = this.min), this.max != null && this.max > 0 && this.number > this.max && (f = this.max), f != null && (this.autofix ? (this._value = this.format(f, this).replace(Ge.UNMASKED_RADIX, this.radix), l || (l = s === this._value && !n.tail)) : a = !1), a && (a = !!this._value.match(this._numberRegExp));
16953
+ this.min != null && this.min < 0 && this.number < this.min && (f = this.min), this.max != null && this.max > 0 && this.number > this.max && (f = this.max), f != null && (this.autofix ? (this._value = this.format(f, this).replace(Ke.UNMASKED_RADIX, this.radix), l || (l = s === this._value && !n.tail)) : a = !1), a && (a = !!this._value.match(this._numberRegExp));
16954
16954
  }
16955
16955
  let c;
16956
16956
  a ? c = new he({
@@ -17027,11 +17027,11 @@ class Ge extends Oe {
17027
17027
  }
17028
17028
  doSkipInvalid(e, n, r) {
17029
17029
  n === void 0 && (n = {});
17030
- const o = this.scale === 0 && e !== this.thousandsSeparator && (e === this.radix || e === Ge.UNMASKED_RADIX || this.mapToRadix.includes(e));
17030
+ const o = this.scale === 0 && e !== this.thousandsSeparator && (e === this.radix || e === Ke.UNMASKED_RADIX || this.mapToRadix.includes(e));
17031
17031
  return super.doSkipInvalid(e, n, r) && !o;
17032
17032
  }
17033
17033
  get unmaskedValue() {
17034
- return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, Ge.UNMASKED_RADIX);
17034
+ return this._removeThousandsSeparators(this._normalizeZeros(this.value)).replace(this.radix, Ke.UNMASKED_RADIX);
17035
17035
  }
17036
17036
  set unmaskedValue(e) {
17037
17037
  super.unmaskedValue = e;
@@ -17040,7 +17040,7 @@ class Ge extends Oe {
17040
17040
  return this.parse(this.unmaskedValue, this);
17041
17041
  }
17042
17042
  set typedValue(e) {
17043
- this.rawInputValue = this.format(e, this).replace(Ge.UNMASKED_RADIX, this.radix);
17043
+ this.rawInputValue = this.format(e, this).replace(Ke.UNMASKED_RADIX, this.radix);
17044
17044
  }
17045
17045
  /** Parsed Number */
17046
17046
  get number() {
@@ -17056,14 +17056,14 @@ class Ge extends Oe {
17056
17056
  return this.min != null && this.min > 0 || this.max != null && this.max > 0;
17057
17057
  }
17058
17058
  typedValueEquals(e) {
17059
- return (super.typedValueEquals(e) || Ge.EMPTY_VALUES.includes(e) && Ge.EMPTY_VALUES.includes(this.typedValue)) && !(e === 0 && this.value === "");
17059
+ return (super.typedValueEquals(e) || Ke.EMPTY_VALUES.includes(e) && Ke.EMPTY_VALUES.includes(this.typedValue)) && !(e === 0 && this.value === "");
17060
17060
  }
17061
17061
  }
17062
- Fv = Ge;
17063
- Ge.UNMASKED_RADIX = ".";
17064
- Ge.EMPTY_VALUES = [...Oe.EMPTY_VALUES, 0];
17065
- Ge.DEFAULTS = {
17066
- ...Oe.DEFAULTS,
17062
+ Fv = Ke;
17063
+ Ke.UNMASKED_RADIX = ".";
17064
+ Ke.EMPTY_VALUES = [...Le.EMPTY_VALUES, 0];
17065
+ Ke.DEFAULTS = {
17066
+ ...Le.DEFAULTS,
17067
17067
  mask: Number,
17068
17068
  radix: ",",
17069
17069
  thousandsSeparator: "",
@@ -17079,7 +17079,7 @@ Ge.DEFAULTS = {
17079
17079
  maximumFractionDigits: 20
17080
17080
  })
17081
17081
  };
17082
- le.MaskedNumber = Ge;
17082
+ le.MaskedNumber = Ke;
17083
17083
  const gl = {
17084
17084
  MASKED: "value",
17085
17085
  UNMASKED: "unmaskedValue",
@@ -17096,7 +17096,7 @@ function BR(t, e, n, r) {
17096
17096
  le.PIPE_TYPE = gl;
17097
17097
  le.createPipe = Bv;
17098
17098
  le.pipe = BR;
17099
- class $R extends Le {
17099
+ class $R extends Ve {
17100
17100
  get repeatFrom() {
17101
17101
  var e;
17102
17102
  return (e = Array.isArray(this.repeat) ? this.repeat[0] : this.repeat === 1 / 0 ? 0 : this.repeat) != null ? e : 0;
@@ -17285,14 +17285,14 @@ function jR() {
17285
17285
  case d:
17286
17286
  return ce;
17287
17287
  default:
17288
- var Ne = ce && ce.$$typeof;
17289
- switch (Ne) {
17288
+ var Oe = ce && ce.$$typeof;
17289
+ switch (Oe) {
17290
17290
  case a:
17291
17291
  case u:
17292
17292
  case m:
17293
17293
  case h:
17294
17294
  case i:
17295
- return Ne;
17295
+ return Oe;
17296
17296
  default:
17297
17297
  return X;
17298
17298
  }
@@ -17976,20 +17976,20 @@ function e_(t, e) {
17976
17976
  defaultUnmaskedValue: i,
17977
17977
  defaultTypedValue: a
17978
17978
  } = {};
17979
- const l = ye(null), [c, u] = J({}), [d, f] = J(""), [h, m] = J(""), [p, g] = J(), x = Be(() => {
17979
+ const l = ye(null), [c, u] = J({}), [d, f] = J(""), [h, m] = J(""), [p, g] = J(), x = $e(() => {
17980
17980
  var C;
17981
17981
  (C = l.current) == null || C.destroy(), l.current = null;
17982
- }, []), y = Be(() => {
17982
+ }, []), y = $e(() => {
17983
17983
  const C = l.current;
17984
17984
  C && (u({
17985
17985
  value: C.value,
17986
17986
  unmaskedValue: C.unmaskedValue,
17987
17987
  typedValue: C.typedValue
17988
17988
  }), g(C.typedValue), m(C.unmaskedValue), f(C.value));
17989
- }, []), w = Be((C) => {
17989
+ }, []), w = $e((C) => {
17990
17990
  const T = l.current;
17991
17991
  T && (y(), n?.(T.value, T, C));
17992
- }, [n]), S = Be((C) => l.current && r?.(l.current.value, l.current, C), [r]);
17992
+ }, [n]), S = $e((C) => l.current && r?.(l.current.value, l.current, C), [r]);
17993
17993
  return te(() => {
17994
17994
  const {
17995
17995
  value: C,
@@ -18100,7 +18100,7 @@ const dD = (t) => t.mask ? /* @__PURE__ */ v(n_, { ...t }) : /* @__PURE__ */ v(t
18100
18100
  srLabel: l,
18101
18101
  ...c
18102
18102
  }) => {
18103
- const { base: u, icon: d, label: f } = r_({ small: e, hideUnderline: n, arrowPosition: o }), h = /* @__PURE__ */ Z(Ve, { children: [
18103
+ const { base: u, icon: d, label: f } = r_({ small: e, hideUnderline: n, arrowPosition: o }), h = /* @__PURE__ */ Z(Fe, { children: [
18104
18104
  r && /* @__PURE__ */ v(Te, { variant: o === "left" ? "arrow-left" : "arrow-right", className: d() }),
18105
18105
  l && /* @__PURE__ */ v("span", { className: "sr-only", children: l }),
18106
18106
  /* @__PURE__ */ v("span", { "aria-hidden": l ? "true" : void 0, className: f(), children: t })
@@ -18151,7 +18151,7 @@ const dD = (t) => t.mask ? /* @__PURE__ */ v(n_, { ...t }) : /* @__PURE__ */ v(t
18151
18151
  content: h,
18152
18152
  textWrapper: m,
18153
18153
  iconWrapper: p
18154
- } = o_(a), g = /* @__PURE__ */ Z(Ve, { children: [
18154
+ } = o_(a), g = /* @__PURE__ */ Z(Fe, { children: [
18155
18155
  /* @__PURE__ */ Z("span", { className: h(), children: [
18156
18156
  e ? /* @__PURE__ */ v("span", { className: p(), children: /* @__PURE__ */ v(Te, { variant: e, className: d() }) }) : null,
18157
18157
  /* @__PURE__ */ v("span", { className: m(), children: /* @__PURE__ */ v("span", { className: u(), children: t }) })
@@ -18200,7 +18200,7 @@ const pD = ({ variant: t, label: e, className: n, ...r }) => {
18200
18200
  return /* @__PURE__ */ v(o, { className: i, "aria-label": e, "aria-hidden": a, "data-bpds": "logo" });
18201
18201
  }, mD = ({ children: t, isOpen: e, onClose: n = () => null, zIndex: r = 1 }) => {
18202
18202
  const { shouldRender: o, handleAnimationEnd: s } = nT(e);
18203
- return /* @__PURE__ */ v(Ve, { children: _l(
18203
+ return /* @__PURE__ */ v(Fe, { children: _l(
18204
18204
  o ? /* @__PURE__ */ v(
18205
18205
  "div",
18206
18206
  {
@@ -18441,7 +18441,7 @@ const pD = ({ variant: t, label: e, className: n, ...r }) => {
18441
18441
  if (t.variant === "sale" || t.variant === "best-price") {
18442
18442
  const { oldPrice: y, discountInPercent: w } = t, S = Kr(y), T = `-${w || Math.floor((y - l) / y * 100)}%`;
18443
18443
  if (t.variant === "sale")
18444
- g = /* @__PURE__ */ Z(Ve, { children: [
18444
+ g = /* @__PURE__ */ Z(Fe, { children: [
18445
18445
  u && /* @__PURE__ */ v("span", { className: e(), children: "ab" }),
18446
18446
  /* @__PURE__ */ v("span", { className: n(), children: S }),
18447
18447
  /* @__PURE__ */ v("span", { className: r(), children: T })
@@ -18493,7 +18493,7 @@ var w_ = b.forwardRef((t, e) => {
18493
18493
  defaultProp: a ?? null,
18494
18494
  onChange: l,
18495
18495
  caller: _o
18496
- }), [x, y] = b.useState(!1), w = Fe(c), S = Hv(n), C = b.useRef(!1), [T, E] = b.useState(0);
18496
+ }), [x, y] = b.useState(!1), w = Be(c), S = Hv(n), C = b.useRef(!1), [T, E] = b.useState(0);
18497
18497
  return b.useEffect(() => {
18498
18498
  const A = f.current;
18499
18499
  if (A)
@@ -18636,7 +18636,7 @@ function T_(t, e) {
18636
18636
  var Xv = Gv, Zv = Yv;
18637
18637
  function au(t) {
18638
18638
  const [e, n] = b.useState(void 0);
18639
- return Me(() => {
18639
+ return De(() => {
18640
18640
  if (t) {
18641
18641
  n({ width: t.offsetWidth, height: t.offsetHeight });
18642
18642
  const r = new ResizeObserver((o) => {
@@ -19003,7 +19003,7 @@ const B_ = ae({
19003
19003
  /* @__PURE__ */ v("div", { className: o(), children: t }),
19004
19004
  /* @__PURE__ */ v(Ys, { type: "button", variant: "secondary", onClick: n, contentWidth: !0, children: e })
19005
19005
  ] });
19006
- }, W_ = ["top", "right", "bottom", "left"], an = Math.min, Ke = Math.max, _s = Math.round, qo = Math.floor, At = (t) => ({
19006
+ }, W_ = ["top", "right", "bottom", "left"], an = Math.min, Ye = Math.max, _s = Math.round, qo = Math.floor, At = (t) => ({
19007
19007
  x: t,
19008
19008
  y: t
19009
19009
  }), j_ = {
@@ -19016,7 +19016,7 @@ const B_ = ae({
19016
19016
  end: "start"
19017
19017
  };
19018
19018
  function bl(t, e, n) {
19019
- return Ke(t, an(e, n));
19019
+ return Ye(t, an(e, n));
19020
19020
  }
19021
19021
  function qt(t, e) {
19022
19022
  return typeof t == "function" ? t(e) : t;
@@ -19605,8 +19605,8 @@ const eP = function(t) {
19605
19605
  const y = p - u.top - u.bottom, w = m - u.left - u.right, S = an(p - u[g], y), C = an(m - u[x], w), T = !e.middlewareData.shift;
19606
19606
  let E = S, A = C;
19607
19607
  if ((n = e.middlewareData.shift) != null && n.enabled.x && (A = w), (r = e.middlewareData.shift) != null && r.enabled.y && (E = y), T && !f) {
19608
- const O = Ke(u.left, 0), I = Ke(u.right, 0), R = Ke(u.top, 0), P = Ke(u.bottom, 0);
19609
- h ? A = m - 2 * (O !== 0 || I !== 0 ? O + I : Ke(u.left, u.right)) : E = p - 2 * (R !== 0 || P !== 0 ? R + P : Ke(u.top, u.bottom));
19608
+ const O = Ye(u.left, 0), I = Ye(u.right, 0), R = Ye(u.top, 0), P = Ye(u.bottom, 0);
19609
+ h ? A = m - 2 * (O !== 0 || I !== 0 ? O + I : Ye(u.left, u.right)) : E = p - 2 * (R !== 0 || P !== 0 ? R + P : Ye(u.top, u.bottom));
19610
19610
  }
19611
19611
  await l({
19612
19612
  ...e,
@@ -19838,10 +19838,10 @@ function cP(t) {
19838
19838
  return Array.from(t.getClientRects());
19839
19839
  }
19840
19840
  function uP(t) {
19841
- const e = Mt(t), n = Ei(t), r = t.ownerDocument.body, o = Ke(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), s = Ke(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
19841
+ const e = Mt(t), n = Ei(t), r = t.ownerDocument.body, o = Ye(e.scrollWidth, e.clientWidth, r.scrollWidth, r.clientWidth), s = Ye(e.scrollHeight, e.clientHeight, r.scrollHeight, r.clientHeight);
19842
19842
  let i = -n.scrollLeft + gu(t);
19843
19843
  const a = -n.scrollTop;
19844
- return vt(r).direction === "rtl" && (i += Ke(e.clientWidth, r.clientWidth) - o), {
19844
+ return vt(r).direction === "rtl" && (i += Ye(e.clientWidth, r.clientWidth) - o), {
19845
19845
  width: o,
19846
19846
  height: s,
19847
19847
  x: i,
@@ -19917,7 +19917,7 @@ function pP(t) {
19917
19917
  } = t;
19918
19918
  const i = [...n === "clippingAncestors" ? Si(e) ? [] : hP(e, this._c) : [].concat(n), r], a = i[0], l = i.reduce((c, u) => {
19919
19919
  const d = ah(e, u, o);
19920
- return c.top = Ke(d.top, c.top), c.right = an(d.right, c.right), c.bottom = an(d.bottom, c.bottom), c.left = Ke(d.left, c.left), c;
19920
+ return c.top = Ye(d.top, c.top), c.right = an(d.right, c.right), c.bottom = an(d.bottom, c.bottom), c.left = Ye(d.left, c.left), c;
19921
19921
  }, ah(e, a, o));
19922
19922
  return {
19923
19923
  width: l.right - l.left,
@@ -20038,7 +20038,7 @@ function xP(t, e) {
20038
20038
  return;
20039
20039
  const m = qo(d), p = qo(o.clientWidth - (u + f)), g = qo(o.clientHeight - (d + h)), x = qo(u), w = {
20040
20040
  rootMargin: -m + "px " + -p + "px " + -g + "px " + -x + "px",
20041
- threshold: Ke(0, an(1, l)) || 1
20041
+ threshold: Ye(0, an(1, l)) || 1
20042
20042
  };
20043
20043
  let S = !0;
20044
20044
  function C(T) {
@@ -20387,12 +20387,12 @@ var yu = "PopperContent", [UP, zP] = Cy(yu), ky = b.forwardRef(
20387
20387
  KP({ arrowWidth: E, arrowHeight: A }),
20388
20388
  f && FP({ strategy: "referenceHidden", ...P })
20389
20389
  ]
20390
- }), [B, k] = Py($), D = Fe(m);
20391
- Me(() => {
20390
+ }), [B, k] = Py($), D = Be(m);
20391
+ De(() => {
20392
20392
  F && D?.();
20393
20393
  }, [F, D]);
20394
20394
  const z = M.arrow?.x, G = M.arrow?.y, j = M.arrow?.centerOffset !== 0, [K, V] = b.useState();
20395
- return Me(() => {
20395
+ return De(() => {
20396
20396
  x && V(window.getComputedStyle(x).zIndex);
20397
20397
  }, [x]), /* @__PURE__ */ v(
20398
20398
  "div",
@@ -20676,7 +20676,7 @@ By.displayName = Fy;
20676
20676
  var $y = "SelectValue", Wy = b.forwardRef(
20677
20677
  (t, e) => {
20678
20678
  const { __scopeSelect: n, className: r, style: o, children: s, placeholder: i = "", ...a } = t, l = hn($y, n), { onValueNodeHasChildrenChange: c } = l, u = s !== void 0, d = pe(e, l.onValueNodeChange);
20679
- return Me(() => {
20679
+ return De(() => {
20680
20680
  c(u);
20681
20681
  }, [c, u]), /* @__PURE__ */ v(
20682
20682
  se.span,
@@ -20684,7 +20684,7 @@ var $y = "SelectValue", Wy = b.forwardRef(
20684
20684
  ...a,
20685
20685
  ref: d,
20686
20686
  style: { pointerEvents: "none" },
20687
- children: rb(l.value) ? /* @__PURE__ */ v(Ve, { children: i }) : s
20687
+ children: rb(l.value) ? /* @__PURE__ */ v(Fe, { children: i }) : s
20688
20688
  }
20689
20689
  );
20690
20690
  }
@@ -20702,7 +20702,7 @@ Uy.displayName = rI;
20702
20702
  var Dn = "SelectContent", zy = b.forwardRef(
20703
20703
  (t, e) => {
20704
20704
  const n = hn(Dn, t.__scopeSelect), [r, o] = b.useState();
20705
- if (Me(() => {
20705
+ if (De(() => {
20706
20706
  o(new DocumentFragment());
20707
20707
  }, []), !n.open) {
20708
20708
  const s = r;
@@ -20889,22 +20889,22 @@ var iI = "SelectItemAlignedPosition", Ky = b.forwardRef((t, e) => {
20889
20889
  if (s.trigger && s.valueNode && a && c && p && g && x) {
20890
20890
  const E = s.trigger.getBoundingClientRect(), A = c.getBoundingClientRect(), _ = s.valueNode.getBoundingClientRect(), O = x.getBoundingClientRect();
20891
20891
  if (s.dir !== "rtl") {
20892
- const oe = O.left - A.left, H = _.left - oe, X = E.left - H, ce = E.width + X, Ne = Math.max(ce, A.width), lt = window.innerWidth - ut, je = ml(H, [
20892
+ const oe = O.left - A.left, H = _.left - oe, X = E.left - H, ce = E.width + X, Oe = Math.max(ce, A.width), lt = window.innerWidth - ut, Ue = ml(H, [
20893
20893
  ut,
20894
20894
  // Prevents the content from going off the starting edge of the
20895
20895
  // viewport. It may still go off the ending edge, but this can be
20896
20896
  // controlled by the user since they may want to manage overflow in a
20897
20897
  // specific way.
20898
20898
  // https://github.com/radix-ui/primitives/issues/2049
20899
- Math.max(ut, lt - Ne)
20899
+ Math.max(ut, lt - Oe)
20900
20900
  ]);
20901
- a.style.minWidth = ce + "px", a.style.left = je + "px";
20901
+ a.style.minWidth = ce + "px", a.style.left = Ue + "px";
20902
20902
  } else {
20903
- const oe = A.right - O.right, H = window.innerWidth - _.right - oe, X = window.innerWidth - E.right - H, ce = E.width + X, Ne = Math.max(ce, A.width), lt = window.innerWidth - ut, je = ml(H, [
20903
+ const oe = A.right - O.right, H = window.innerWidth - _.right - oe, X = window.innerWidth - E.right - H, ce = E.width + X, Oe = Math.max(ce, A.width), lt = window.innerWidth - ut, Ue = ml(H, [
20904
20904
  ut,
20905
- Math.max(ut, lt - Ne)
20905
+ Math.max(ut, lt - Oe)
20906
20906
  ]);
20907
- a.style.minWidth = ce + "px", a.style.right = je + "px";
20907
+ a.style.minWidth = ce + "px", a.style.right = Ue + "px";
20908
20908
  }
20909
20909
  const I = f(), R = window.innerHeight - ut * 2, P = p.scrollHeight, N = window.getComputedStyle(c), W = parseInt(N.borderTopWidth, 10), $ = parseInt(N.paddingTop, 10), F = parseInt(N.borderBottomWidth, 10), M = parseInt(N.paddingBottom, 10), B = W + $ + P + M + F, k = Math.min(g.offsetHeight * 5, B), D = window.getComputedStyle(p), z = parseInt(D.paddingTop, 10), G = parseInt(D.paddingBottom, 10), j = E.top + E.height / 2 - ut, K = R - j, V = g.offsetHeight / 2, L = g.offsetTop + V, U = W + $ + L, Y = B - U;
20910
20910
  if (U <= j) {
@@ -20940,9 +20940,9 @@ var iI = "SelectItemAlignedPosition", Ky = b.forwardRef((t, e) => {
20940
20940
  s.dir,
20941
20941
  r
20942
20942
  ]);
20943
- Me(() => w(), [w]);
20943
+ De(() => w(), [w]);
20944
20944
  const [S, C] = b.useState();
20945
- Me(() => {
20945
+ De(() => {
20946
20946
  c && C(window.getComputedStyle(c).zIndex);
20947
20947
  }, [c]);
20948
20948
  const T = b.useCallback(
@@ -21021,7 +21021,7 @@ Cl.displayName = aI;
21021
21021
  var [lI, bu] = kr(Dn, {}), Sl = "SelectViewport", Yy = b.forwardRef(
21022
21022
  (t, e) => {
21023
21023
  const { __scopeSelect: n, nonce: r, ...o } = t, s = pn(Sl, n), i = bu(Sl, n), a = pe(e, s.onViewportChange), l = b.useRef(0);
21024
- return /* @__PURE__ */ Z(Ve, { children: [
21024
+ return /* @__PURE__ */ Z(Fe, { children: [
21025
21025
  /* @__PURE__ */ v(
21026
21026
  "style",
21027
21027
  {
@@ -21174,7 +21174,7 @@ var Fr = "SelectItemText", Jy = b.forwardRef(
21174
21174
  () => /* @__PURE__ */ v("option", { value: l.value, disabled: l.disabled, children: h }, l.value),
21175
21175
  [l.disabled, l.value, h]
21176
21176
  ), { onNativeOptionAdd: p, onNativeOptionRemove: g } = c;
21177
- return Me(() => (p(m), () => g(m)), [p, g, m]), /* @__PURE__ */ Z(Ve, { children: [
21177
+ return De(() => (p(m), () => g(m)), [p, g, m]), /* @__PURE__ */ Z(Fe, { children: [
21178
21178
  /* @__PURE__ */ v(se.span, { id: l.textId, ...s, ref: f }),
21179
21179
  l.isSelected && i.valueNode && !i.valueNodeHasChildren ? Os.createPortal(s.children, i.valueNode) : null
21180
21180
  ] });
@@ -21190,7 +21190,7 @@ var eb = "SelectItemIndicator", pI = b.forwardRef(
21190
21190
  pI.displayName = eb;
21191
21191
  var El = "SelectScrollUpButton", mI = b.forwardRef((t, e) => {
21192
21192
  const n = pn(El, t.__scopeSelect), r = bu(El, t.__scopeSelect), [o, s] = b.useState(!1), i = pe(e, r.onScrollButtonChange);
21193
- return Me(() => {
21193
+ return De(() => {
21194
21194
  if (n.viewport && n.isPositioned) {
21195
21195
  let a = function() {
21196
21196
  const c = l.scrollTop > 0;
@@ -21214,7 +21214,7 @@ var El = "SelectScrollUpButton", mI = b.forwardRef((t, e) => {
21214
21214
  mI.displayName = El;
21215
21215
  var Tl = "SelectScrollDownButton", gI = b.forwardRef((t, e) => {
21216
21216
  const n = pn(Tl, t.__scopeSelect), r = bu(Tl, t.__scopeSelect), [o, s] = b.useState(!1), i = pe(e, r.onScrollButtonChange);
21217
- return Me(() => {
21217
+ return De(() => {
21218
21218
  if (n.viewport && n.isPositioned) {
21219
21219
  let a = function() {
21220
21220
  const c = l.scrollHeight - l.clientHeight, u = Math.ceil(l.scrollTop) < c;
@@ -21240,7 +21240,7 @@ var tb = b.forwardRef((t, e) => {
21240
21240
  const { __scopeSelect: n, onAutoScroll: r, ...o } = t, s = pn("SelectScrollButton", n), i = b.useRef(null), a = ki(n), l = b.useCallback(() => {
21241
21241
  i.current !== null && (window.clearInterval(i.current), i.current = null);
21242
21242
  }, []);
21243
- return b.useEffect(() => () => l(), [l]), Me(() => {
21243
+ return b.useEffect(() => () => l(), [l]), De(() => {
21244
21244
  a().find((u) => u.ref.current === document.activeElement)?.ref.current?.scrollIntoView({ block: "nearest" });
21245
21245
  }, [a]), /* @__PURE__ */ v(
21246
21246
  se.div,
@@ -21304,7 +21304,7 @@ function rb(t) {
21304
21304
  return t === "" || t === void 0;
21305
21305
  }
21306
21306
  function ob(t) {
21307
- const e = Fe(t), n = b.useRef(""), r = b.useRef(0), o = b.useCallback(
21307
+ const e = Be(t), n = b.useRef(""), r = b.useRef(0), o = b.useCallback(
21308
21308
  (i) => {
21309
21309
  const a = n.current + i;
21310
21310
  e(a), function l(c) {
@@ -21385,13 +21385,13 @@ const MI = ae({
21385
21385
  ref: u,
21386
21386
  ...d
21387
21387
  }) => {
21388
- const f = ke(), h = t ?? f, m = ke(), p = ke(), g = d.value !== void 0, x = g ? d.value : void 0, y = g ? void 0 : d.defaultValue, w = g ? !d.value : !y, [S, C] = J(w), T = { error: i, placeholderShown: S }, { trigger: E, icon: A, menu: _, text: O, inputWrapperLabel: I } = MI(T), R = oT();
21388
+ const f = Re(), h = t ?? f, m = Re(), p = Re(), g = d.value !== void 0, x = g ? d.value : void 0, y = g ? void 0 : d.defaultValue, w = g ? !d.value : !y, [S, C] = J(w), T = { error: i, placeholderShown: S }, { trigger: E, icon: A, menu: _, text: O, inputWrapperLabel: I } = MI(T), R = oT();
21389
21389
  let P;
21390
21390
  l && (P = m), i && c && (P = P ? P + " " + p : p);
21391
21391
  const N = (W) => {
21392
21392
  S && C(!1), r && r(W);
21393
21393
  };
21394
- return /* @__PURE__ */ v(Ve, { children: /* @__PURE__ */ v(
21394
+ return /* @__PURE__ */ v(Fe, { children: /* @__PURE__ */ v(
21395
21395
  Ts,
21396
21396
  {
21397
21397
  label: n,
@@ -21447,7 +21447,7 @@ const DI = (t, e) => typeof t == "number" ? t : t?.includes("px") ? parseInt(t)
21447
21447
  shownItems: n,
21448
21448
  previewHeight: r
21449
21449
  }) => {
21450
- const o = ye(0), [s, i] = J("auto"), a = Be(() => {
21450
+ const o = ye(0), [s, i] = J("auto"), a = $e(() => {
21451
21451
  if (!t.current) return i("auto");
21452
21452
  const l = e?.[n];
21453
21453
  if (!l) return i("auto");
@@ -21467,7 +21467,7 @@ const DI = (t, e) => typeof t == "number" ? t : t?.includes("px") ? parseInt(t)
21467
21467
  height: s
21468
21468
  };
21469
21469
  }, lb = "bpds-show-more-list-item", OI = ({ children: t }) => /* @__PURE__ */ v("li", { "data-id": lb, children: t }), LI = ({ listRef: t, children: e }) => {
21470
- const [n, r] = J(), o = Ye(() => n?.length ?? 0, [n]);
21470
+ const [n, r] = J(), o = Ae(() => n?.length ?? 0, [n]);
21471
21471
  return te(() => {
21472
21472
  t.current && r(t.current.querySelectorAll(`[data-id=${lb}]`));
21473
21473
  }, [e, t]), {
@@ -21484,7 +21484,7 @@ const DI = (t, e) => typeof t == "number" ? t : t?.includes("px") ? parseInt(t)
21484
21484
  totalItems: n,
21485
21485
  onChange: r
21486
21486
  }) => {
21487
- const o = Ye(() => VI({ initiallyShownItems: e, totalItems: n }), [e, n]), [s, i] = J(0), a = Ye(() => o.length > 1, [o]), l = Ye(() => o[s] ?? n, [o, s, n]), c = Be(() => {
21487
+ const o = Ae(() => VI({ initiallyShownItems: e, totalItems: n }), [e, n]), [s, i] = J(0), a = Ae(() => o.length > 1, [o]), l = Ae(() => o[s] ?? n, [o, s, n]), c = $e(() => {
21488
21488
  const u = s >= o.length - 1 ? 0 : s + 1;
21489
21489
  r && r(l, o[u]), i(u);
21490
21490
  }, [s, o, r, l]);
@@ -21959,7 +21959,7 @@ const ZI = ae({
21959
21959
  }
21960
21960
  ]
21961
21961
  }), ED = ({ checked: t, onChange: e, label: n, smallLabel: r = !1, disabled: o = !1, inverted: s = !1, ...i }) => {
21962
- const a = ke(), { wrapper: l, root: c, label: u, icon: d, thumb: f } = ZI({ checked: t, smallLabel: r, disabled: o, inverted: s }), h = "defaultChecked" in i ? i.defaultChecked : void 0;
21962
+ const a = Re(), { wrapper: l, root: c, label: u, icon: d, thumb: f } = ZI({ checked: t, smallLabel: r, disabled: o, inverted: s }), h = "defaultChecked" in i ? i.defaultChecked : void 0;
21963
21963
  return /* @__PURE__ */ Z("div", { className: l(), "data-bpds": "switch", children: [
21964
21964
  /* @__PURE__ */ v("label", { htmlFor: a, className: u(), children: n }),
21965
21965
  /* @__PURE__ */ Z(
@@ -22122,7 +22122,7 @@ function Ab(t, e) {
22122
22122
  return `${t}-content-${e}`;
22123
22123
  }
22124
22124
  var eM = yb, tM = xb, nM = Cb, rM = Eb;
22125
- const oM = ({ children: t, value: e }) => /* @__PURE__ */ v(rM, { value: e, children: t }), kb = () => Ae(gb), sM = ae({
22125
+ const oM = ({ children: t, value: e }) => /* @__PURE__ */ v(rM, { value: e, children: t }), kb = () => ke(gb), sM = ae({
22126
22126
  slots: {
22127
22127
  container: [
22128
22128
  "preflight group flex flex-col relative cursor-pointer rounded",
@@ -22234,7 +22234,7 @@ const cM = ae({
22234
22234
  }, P = (V) => {
22235
22235
  const L = V.currentTarget.value;
22236
22236
  m.onChange?.(L), w !== !!L && S(!!L), T(L.length);
22237
- }, N = !!t && E, { root: W, textareaClass: $, container: F, wordCounter: M } = cM({ labelInside: N }), B = ke(), k = r ?? B, D = ke(), z = ke(), G = {
22237
+ }, N = !!t && E, { root: W, textareaClass: $, container: F, wordCounter: M } = cM({ labelInside: N }), B = Re(), k = r ?? B, D = Re(), z = Re(), G = {
22238
22238
  label: t,
22239
22239
  id: k,
22240
22240
  placeholderShown: E,