@gardenfi/garden-book 0.2.14 → 0.2.15

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/ui.es.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { jsx as a, Fragment as be, jsxs as E } from "react/jsx-runtime";
2
2
  import * as M from "react";
3
- import B, { useState as S1, useEffect as M1, forwardRef as p3, useMemo as ae, useLayoutEffect as j6, useRef as D1, createContext as Ue, useContext as x1, useId as g3, useCallback as U6, Component as S9, useInsertionEffect as $6, Fragment as W6, createElement as T9, Children as P9, isValidElement as E9, useImperativeHandle as k9 } from "react";
3
+ import B, { useState as S1, useEffect as H1, forwardRef as p3, useMemo as ae, useLayoutEffect as j6, useRef as D1, createContext as Ue, useContext as x1, useId as g3, useCallback as U6, Component as S9, useInsertionEffect as $6, Fragment as W6, createElement as T9, Children as P9, isValidElement as E9, useImperativeHandle as k9 } from "react";
4
4
  import * as Z9 from "react-dom";
5
5
  import A9 from "react-dom";
6
6
  function z6(e) {
@@ -2386,9 +2386,9 @@ function f0() {
2386
2386
  }
2387
2387
  };
2388
2388
  }
2389
- const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
2389
+ const h0 = /* @__PURE__ */ K9(f0), L1 = (...e) => h0(R9(e)), J6 = () => {
2390
2390
  const [e, t] = S1(!1);
2391
- return M1(() => {
2391
+ return H1(() => {
2392
2392
  t(!0);
2393
2393
  }, []), e;
2394
2394
  }, i2 = ({ children: e, fallback: t = null }) => J6() ? /* @__PURE__ */ a(be, { children: e }) : /* @__PURE__ */ a(be, { children: t }), C0 = ({
@@ -2398,7 +2398,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
2398
2398
  style: r
2399
2399
  }) => {
2400
2400
  const [i, o] = S1(null);
2401
- return M1(() => {
2401
+ return H1(() => {
2402
2402
  import("./index.es-BsweaPuE.js").then((s) => {
2403
2403
  o(() => s.default);
2404
2404
  });
@@ -2841,7 +2841,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
2841
2841
  "button",
2842
2842
  {
2843
2843
  ref: c,
2844
- className: H1(
2844
+ className: L1(
2845
2845
  "gf-transition-colors gf-duration-300",
2846
2846
  i,
2847
2847
  o5({
@@ -2940,7 +2940,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
2940
2940
  return /* @__PURE__ */ a(
2941
2941
  e,
2942
2942
  {
2943
- className: H1(
2943
+ className: L1(
2944
2944
  s5({
2945
2945
  size: t,
2946
2946
  weight: n,
@@ -2969,7 +2969,7 @@ const h0 = /* @__PURE__ */ K9(f0), H1 = (...e) => h0(R9(e)), J6 = () => {
2969
2969
  className: t,
2970
2970
  children: n,
2971
2971
  ...r
2972
- }) => /* @__PURE__ */ a("div", { ...r, className: H1(S0({ level: e }), t), children: n });
2972
+ }) => /* @__PURE__ */ a("div", { ...r, className: L1(S0({ level: e }), t), children: n });
2973
2973
  var oe = function() {
2974
2974
  return oe = Object.assign || function(t) {
2975
2975
  for (var n, r = 1, i = arguments.length; r < i; r++) {
@@ -3482,7 +3482,7 @@ const f7 = $e(
3482
3482
  o2,
3483
3483
  {
3484
3484
  level: "medium",
3485
- className: H1(f7({ open: e, size: t, className: r })),
3485
+ className: L1(f7({ open: e, size: t, className: r })),
3486
3486
  ...i,
3487
3487
  children: n
3488
3488
  }
@@ -3503,7 +3503,7 @@ const f7 = $e(
3503
3503
  }
3504
3504
  ), C7 = ({ open: e, onClose: t, disableScrollLock: n, children: r }) => {
3505
3505
  const [i, o] = S1(!1);
3506
- M1(() => {
3506
+ H1(() => {
3507
3507
  e && o(!0);
3508
3508
  }, [e]);
3509
3509
  const s = (l) => {
@@ -4475,7 +4475,7 @@ function Zn() {
4475
4475
  function b3(e) {
4476
4476
  return typeof window < "u" && window.navigator != null ? e.test(window.navigator.platform) : void 0;
4477
4477
  }
4478
- const Mr = 24, Hr = typeof window < "u" ? j6 : M1;
4478
+ const Mr = 24, Hr = typeof window < "u" ? j6 : H1;
4479
4479
  function b5(...e) {
4480
4480
  return (...t) => {
4481
4481
  for (let n of e)
@@ -5452,7 +5452,7 @@ const It = {
5452
5452
  /* @__PURE__ */ a("div", { className: "gf-mx-auto gf-mb-3 gf-h-1 gf-w-[60px] gf-rounded-full gf-bg-white/30" }),
5453
5453
  /* @__PURE__ */ a("div", { className: "gf-scrollbar-hide gf-flex gf-max-h-[90vh] gf-flex-col gf-gap-5 gf-overflow-y-scroll", children: e })
5454
5454
  ] }) })
5455
- ] }) }), al = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a("div", { ...n, className: H1("gf-p-6 gf-rounded-2xl gf-w-fit", t), children: e }), ll = (e) => /* @__PURE__ */ a(
5455
+ ] }) }), al = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a("div", { ...n, className: L1("gf-p-6 gf-rounded-2xl gf-w-fit", t), children: e }), ll = (e) => /* @__PURE__ */ a(
5456
5456
  "svg",
5457
5457
  {
5458
5458
  width: "12",
@@ -9173,7 +9173,7 @@ const It = {
9173
9173
  ), du = ({ checked: e, color: t, ...n }) => /* @__PURE__ */ a("div", { ...n, children: e ? /* @__PURE__ */ a(Qr, { className: "gf-cursor-pointer", color: t }) : /* @__PURE__ */ a(Jr, { className: "gf-cursor-pointer" }) }), Y1 = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9174
9174
  "div",
9175
9175
  {
9176
- className: H1(
9176
+ className: L1(
9177
9177
  "gf-flex gf-items-center gf-rounded-full gf-text-dark-grey gf-font-medium gf-w-max gf-bg-white gf-gap-x-2",
9178
9178
  t
9179
9179
  ),
@@ -9187,7 +9187,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9187
9187
  o2,
9188
9188
  {
9189
9189
  level: "medium",
9190
- className: H1("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max", t),
9190
+ className: L1("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max", t),
9191
9191
  ...n,
9192
9192
  children: /* @__PURE__ */ a(E1, { size: "h3", weight: "bold", children: e })
9193
9193
  }
@@ -9199,26 +9199,28 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9199
9199
  iconSize: i = 20,
9200
9200
  ...o
9201
9201
  }) => {
9202
- const l = t && t !== e ? Math.round(i * 1.9) : i;
9202
+ const l = t && t !== e ? Math.round(i * 1.9) : i, c = n ? void 0 : { width: l }, u = r ? void 0 : { width: i, height: i };
9203
9203
  return /* @__PURE__ */ E(
9204
9204
  "div",
9205
9205
  {
9206
- className: `gf-relative gf-flex gf-items-center ${n}`,
9207
- style: { width: l },
9206
+ className: L1("gf-relative gf-flex gf-items-center gf-h-5 gf-w-[38px]", n),
9207
+ style: c,
9208
9208
  ...o,
9209
9209
  children: [
9210
9210
  /* @__PURE__ */ a(
9211
9211
  "img",
9212
9212
  {
9213
9213
  src: e,
9214
- className: H1(`gf-absolute gf-left-0 gf-z-30 !gf-h-[${i}px] !gf-w-[${i}px]`, r)
9214
+ className: L1("gf-absolute gf-left-0 gf-z-30 gf-h-5", r),
9215
+ style: u
9215
9216
  }
9216
9217
  ),
9217
9218
  t && t !== e && /* @__PURE__ */ a(
9218
9219
  "img",
9219
9220
  {
9220
9221
  src: t,
9221
- className: H1(`gf-absolute gf-right-0 gf-z-20 !gf-h-[${i}px] !gf-w-[${i}px]`, r)
9222
+ className: L1("gf-absolute gf-right-0 gf-z-20 gf-h-5", r),
9223
+ style: u
9222
9224
  }
9223
9225
  )
9224
9226
  ]
@@ -9234,7 +9236,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9234
9236
  }) => /* @__PURE__ */ a(
9235
9237
  "div",
9236
9238
  {
9237
- className: H1(
9239
+ className: L1(
9238
9240
  "gf-flex gf-text-left gf-cursor-pointer gf-w-max",
9239
9241
  r
9240
9242
  ),
@@ -9273,9 +9275,9 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9273
9275
  l(g + C < w), u(g > 0);
9274
9276
  }
9275
9277
  };
9276
- return M1(() => {
9278
+ return H1(() => {
9277
9279
  i && d.current && (d.current.scrollTop = 0);
9278
- }, [i]), M1(() => {
9280
+ }, [i]), H1(() => {
9279
9281
  const g = d.current, w = f.current;
9280
9282
  if (!g || !w) return;
9281
9283
  h();
@@ -9288,7 +9290,7 @@ const fu = ({ children: e, className: t, ...n }) => /* @__PURE__ */ a(
9288
9290
  }, []), /* @__PURE__ */ E(
9289
9291
  "div",
9290
9292
  {
9291
- className: H1(
9293
+ className: L1(
9292
9294
  "gf-w-full gf-bg-white gf-relative gf-overflow-hidden",
9293
9295
  t
9294
9296
  ),
@@ -9439,7 +9441,7 @@ function f2(e, { repeat: t, repeatType: n = "loop" }, r) {
9439
9441
  const i = e.filter(g8), o = t && n !== "loop" && t % 2 === 1 ? 0 : i.length - 1;
9440
9442
  return !o || r === void 0 ? i[o] : r;
9441
9443
  }
9442
- const L1 = (e) => e;
9444
+ const V1 = (e) => e;
9443
9445
  function m8(e) {
9444
9446
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), r = !1, i = !1;
9445
9447
  const o = /* @__PURE__ */ new WeakSet();
@@ -9512,11 +9514,11 @@ function Wn(e, t) {
9512
9514
  s[Nt[H]].cancel(m);
9513
9515
  }, state: i, steps: s };
9514
9516
  }
9515
- const { schedule: r1, cancel: z1, state: b1, steps: D2 } = Wn(typeof requestAnimationFrame < "u" ? requestAnimationFrame : L1, !0), zn = (e) => /^0[^.\s]+$/u.test(e);
9517
+ const { schedule: r1, cancel: z1, state: b1, steps: D2 } = Wn(typeof requestAnimationFrame < "u" ? requestAnimationFrame : V1, !0), zn = (e) => /^0[^.\s]+$/u.test(e);
9516
9518
  function y8(e) {
9517
9519
  return typeof e == "number" ? e === 0 : e !== null ? e === "none" || e === "0" || zn(e) : !0;
9518
9520
  }
9519
- let Ge = L1, B1 = L1;
9521
+ let Ge = V1, B1 = V1;
9520
9522
  process.env.NODE_ENV !== "production" && (Ge = (e, t) => {
9521
9523
  !e && typeof console < "u" && console.warn(t);
9522
9524
  }, B1 = (e, t) => {
@@ -9723,7 +9725,7 @@ const n3 = {
9723
9725
  test: /* @__PURE__ */ P3("hsl", "hue"),
9724
9726
  parse: /* @__PURE__ */ t4("hue", "saturation", "lightness"),
9725
9727
  transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + $1.transform(ut(t)) + ", " + $1.transform(ut(n)) + ", " + ut(ct.transform(r)) + ")"
9726
- }, V1 = {
9728
+ }, M1 = {
9727
9729
  test: (e) => ye.test(e) || n3.test(e) || Ae.test(e),
9728
9730
  parse: (e) => ye.test(e) ? ye.parse(e) : Ae.test(e) ? Ae.parse(e) : n3.parse(e),
9729
9731
  transform: (e) => bt(e) ? e : e.hasOwnProperty("red") ? ye.transform(e) : Ae.transform(e)
@@ -9740,7 +9742,7 @@ function vt(e) {
9740
9742
  var: []
9741
9743
  }, i = [];
9742
9744
  let o = 0;
9743
- const l = t.replace(F8, (c) => (V1.test(c) ? (r.color.push(o), i.push(r4), n.push(V1.parse(c))) : c.startsWith(N8) ? (r.var.push(o), i.push(I8), n.push(c)) : (r.number.push(o), i.push(n4), n.push(parseFloat(c))), ++o, k5)).split(k5);
9745
+ const l = t.replace(F8, (c) => (M1.test(c) ? (r.color.push(o), i.push(r4), n.push(M1.parse(c))) : c.startsWith(N8) ? (r.var.push(o), i.push(I8), n.push(c)) : (r.number.push(o), i.push(n4), n.push(parseFloat(c))), ++o, k5)).split(k5);
9744
9746
  return { values: n, split: l, indexes: r, types: i };
9745
9747
  }
9746
9748
  function i4(e) {
@@ -9753,7 +9755,7 @@ function o4(e) {
9753
9755
  for (let s = 0; s < r; s++)
9754
9756
  if (o += t[s], i[s] !== void 0) {
9755
9757
  const l = n[s];
9756
- l === n4 ? o += ut(i[s]) : l === r4 ? o += V1.transform(i[s]) : o += i[s];
9758
+ l === n4 ? o += ut(i[s]) : l === r4 ? o += M1.transform(i[s]) : o += i[s];
9757
9759
  }
9758
9760
  return o;
9759
9761
  };
@@ -9859,17 +9861,17 @@ const z8 = /\b([a-z-]*)\(.*?\)/gu, r3 = {
9859
9861
  }, G8 = {
9860
9862
  ...E3,
9861
9863
  // Color props
9862
- color: V1,
9863
- backgroundColor: V1,
9864
- outlineColor: V1,
9865
- fill: V1,
9866
- stroke: V1,
9864
+ color: M1,
9865
+ backgroundColor: M1,
9866
+ outlineColor: M1,
9867
+ fill: M1,
9868
+ stroke: M1,
9867
9869
  // Border props
9868
- borderColor: V1,
9869
- borderTopColor: V1,
9870
- borderRightColor: V1,
9871
- borderBottomColor: V1,
9872
- borderLeftColor: V1,
9870
+ borderColor: M1,
9871
+ borderTopColor: M1,
9872
+ borderRightColor: M1,
9873
+ borderBottomColor: M1,
9874
+ borderLeftColor: M1,
9873
9875
  filter: r3,
9874
9876
  WebkitFilter: r3
9875
9877
  }, k3 = (e) => G8[e];
@@ -10203,12 +10205,12 @@ function fi(e, t, n, r, i) {
10203
10205
  }
10204
10206
  function Ye(e, t, n, r) {
10205
10207
  if (e === t && n === r)
10206
- return L1;
10208
+ return V1;
10207
10209
  const i = (o) => fi(o, 0, 1, e, n);
10208
10210
  return (o) => o === 0 || o === 1 ? o : f4(i(o), t, r);
10209
10211
  }
10210
10212
  const hi = /* @__PURE__ */ Ye(0.42, 0, 1, 1), Ci = /* @__PURE__ */ Ye(0, 0, 0.58, 1), h4 = /* @__PURE__ */ Ye(0.42, 0, 0.58, 1), C4 = (e) => Array.isArray(e) && typeof e[0] != "number", p4 = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, g4 = (e) => (t) => 1 - e(1 - t), A3 = (e) => 1 - Math.sin(Math.acos(e)), m4 = g4(A3), pi = p4(A3), v4 = /* @__PURE__ */ Ye(0.33, 1.53, 0.69, 0.99), D3 = /* @__PURE__ */ g4(v4), gi = /* @__PURE__ */ p4(D3), mi = (e) => (e *= 2) < 1 ? 0.5 * D3(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), _5 = {
10211
- linear: L1,
10213
+ linear: V1,
10212
10214
  easeIn: hi,
10213
10215
  easeInOut: h4,
10214
10216
  easeOut: Ci,
@@ -10278,7 +10280,7 @@ function Li(e, t) {
10278
10280
  return (n) => u1(e, t, n);
10279
10281
  }
10280
10282
  function R3(e) {
10281
- return typeof e == "number" ? Li : typeof e == "string" ? H3(e) ? Qt : V1.test(e) ? I5 : Hi : Array.isArray(e) ? y4 : typeof e == "object" ? V1.test(e) ? I5 : Vi : Qt;
10283
+ return typeof e == "number" ? Li : typeof e == "string" ? H3(e) ? Qt : M1.test(e) ? I5 : Hi : Array.isArray(e) ? y4 : typeof e == "object" ? M1.test(e) ? I5 : Vi : Qt;
10282
10284
  }
10283
10285
  function y4(e, t) {
10284
10286
  const n = [...e], r = n.length, i = e.map((o, s) => R3(o)(o, t[s]));
@@ -10319,7 +10321,7 @@ function Si(e, t, n) {
10319
10321
  for (let s = 0; s < o; s++) {
10320
10322
  let l = i(e[s], e[s + 1]);
10321
10323
  if (t) {
10322
- const c = Array.isArray(t) ? t[s] || L1 : t;
10324
+ const c = Array.isArray(t) ? t[s] || V1 : t;
10323
10325
  l = q1(c, l);
10324
10326
  }
10325
10327
  r.push(l);
@@ -10678,11 +10680,11 @@ class N5 extends c4 {
10678
10680
  else {
10679
10681
  const { resolved: n } = this;
10680
10682
  if (!n)
10681
- return L1;
10683
+ return V1;
10682
10684
  const { animation: r } = n;
10683
10685
  r.timeline = t, r.onfinish = null;
10684
10686
  }
10685
- return L1;
10687
+ return V1;
10686
10688
  }
10687
10689
  play() {
10688
10690
  if (this.isStopped)
@@ -11948,11 +11950,11 @@ function Zo(e, t = 10) {
11948
11950
  }
11949
11951
  class Ao extends fe {
11950
11952
  constructor(t) {
11951
- super(t), this.removeGroupControls = L1, this.removeListeners = L1, this.controls = new ko(t);
11953
+ super(t), this.removeGroupControls = V1, this.removeListeners = V1, this.controls = new ko(t);
11952
11954
  }
11953
11955
  mount() {
11954
11956
  const { dragControls: t } = this.node.getProps();
11955
- t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || L1;
11957
+ t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || V1;
11956
11958
  }
11957
11959
  unmount() {
11958
11960
  this.removeGroupControls(), this.removeListeners();
@@ -11963,7 +11965,7 @@ const a6 = (e) => (t, n) => {
11963
11965
  };
11964
11966
  class Do extends fe {
11965
11967
  constructor() {
11966
- super(...arguments), this.removePointerDownListener = L1;
11968
+ super(...arguments), this.removePointerDownListener = V1;
11967
11969
  }
11968
11970
  onPointerDown(t) {
11969
11971
  this.session = new R4(t, this.createPanHandlers(), {
@@ -11998,7 +12000,7 @@ function Ro() {
11998
12000
  if (e === null)
11999
12001
  return [!0, null];
12000
12002
  const { isPresent: t, onExitComplete: n, register: r } = e, i = g3();
12001
- M1(() => r(i), []);
12003
+ H1(() => r(i), []);
12002
12004
  const o = U6(() => n && n(i), [i, n]);
12003
12005
  return !t && n ? [!1, o] : [!0];
12004
12006
  }
@@ -12123,7 +12125,7 @@ function Fo(e, t, n, r, i, o) {
12123
12125
  function d6(e, t) {
12124
12126
  return e[t] !== void 0 ? e[t] : e.borderRadius;
12125
12127
  }
12126
- const jo = /* @__PURE__ */ X4(0, 0.5, m4), Uo = /* @__PURE__ */ X4(0.5, 0.95, L1);
12128
+ const jo = /* @__PURE__ */ X4(0, 0.5, m4), Uo = /* @__PURE__ */ X4(0.5, 0.95, V1);
12127
12129
  function X4(e, t, n) {
12128
12130
  return (r) => r < e ? 0 : r > t ? 1 : n(Ne(e, t, r));
12129
12131
  }
@@ -12837,7 +12839,7 @@ function hs(e) {
12837
12839
  const Cs = {
12838
12840
  duration: 0.45,
12839
12841
  ease: [0.4, 0, 0.1, 1]
12840
- }, S6 = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), T6 = S6("applewebkit/") && !S6("chrome/") ? Math.round : L1;
12842
+ }, S6 = (e) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(e), T6 = S6("applewebkit/") && !S6("chrome/") ? Math.round : V1;
12841
12843
  function P6(e) {
12842
12844
  e.min = T6(e.min), e.max = T6(e.max);
12843
12845
  }
@@ -12937,7 +12939,7 @@ function W2(e, t) {
12937
12939
  }
12938
12940
  class bs extends fe {
12939
12941
  constructor() {
12940
- super(...arguments), this.removeStartListeners = L1, this.removeEndListeners = L1, this.removeAccessibleListeners = L1, this.startPointerPress = (t, n) => {
12942
+ super(...arguments), this.removeStartListeners = V1, this.removeEndListeners = V1, this.removeAccessibleListeners = V1, this.startPointerPress = (t, n) => {
12941
12943
  if (this.isPressing)
12942
12944
  return;
12943
12945
  this.removeEndListeners();
@@ -13074,7 +13076,7 @@ const Ps = {
13074
13076
  transformPagePoint: (e) => e,
13075
13077
  isStatic: !1,
13076
13078
  reducedMotion: "never"
13077
- }), v2 = Ue({}), W3 = typeof window < "u", z3 = W3 ? j6 : M1, o9 = Ue({ strict: !1 });
13079
+ }), v2 = Ue({}), W3 = typeof window < "u", z3 = W3 ? j6 : H1, o9 = Ue({ strict: !1 });
13078
13080
  let k6 = !1;
13079
13081
  function ks(e, t, n, r, i) {
13080
13082
  var o;
@@ -13094,7 +13096,7 @@ function ks(e, t, n, r, i) {
13094
13096
  const g = n[E4], w = D1(!!g && !window.MotionHandoffIsComplete && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, g)));
13095
13097
  return z3(() => {
13096
13098
  f && (f.updateFeatures(), U3.render(f.render), w.current && f.animationState && f.animationState.animateChanges());
13097
- }), M1(() => {
13099
+ }), H1(() => {
13098
13100
  f && (!w.current && f.animationState && f.animationState.animateChanges(), w.current = !1, k6 || (k6 = !0, queueMicrotask(Zs)));
13099
13101
  }), f;
13100
13102
  }
@@ -13645,7 +13647,7 @@ function fa(e, t, n) {
13645
13647
  t[r] === void 0 && e.removeValue(r);
13646
13648
  return t;
13647
13649
  }
13648
- const yt = /* @__PURE__ */ new WeakMap(), ha = [...Qn, V1, ce], Ca = (e) => ha.find(qn(e)), O6 = [
13650
+ const yt = /* @__PURE__ */ new WeakMap(), ha = [...Qn, M1, ce], Ca = (e) => ha.find(qn(e)), O6 = [
13649
13651
  "AnimationStart",
13650
13652
  "AnimationComplete",
13651
13653
  "Update",
@@ -14052,7 +14054,7 @@ function x9(e) {
14052
14054
  const t = Le(() => Fe(e)), { isStatic: n } = x1(m2);
14053
14055
  if (n) {
14054
14056
  const [, r] = S1(e);
14055
- M1(() => t.on("change", r), []);
14057
+ H1(() => t.on("change", r), []);
14056
14058
  }
14057
14059
  return t;
14058
14060
  }
@@ -14103,7 +14105,7 @@ function V9(e, t, n) {
14103
14105
  return Array.from(e || []);
14104
14106
  }
14105
14107
  function Pa(e) {
14106
- return M1(() => () => e(), []);
14108
+ return H1(() => () => e(), []);
14107
14109
  }
14108
14110
  function Ea(e) {
14109
14111
  return typeof e == "object" && !Array.isArray(e);
@@ -14317,7 +14319,7 @@ const Ya = ({
14317
14319
  const [r] = S1(
14318
14320
  "https://garden-bucket-cdn.s3.eu-central-1.amazonaws.com/flowers_bg.mp4"
14319
14321
  ), [i, o] = S1("initial"), s = D1(null), l = D1(null), c = x9(45), u = Ta(c, (d) => `${d}% center`);
14320
- return M1(() => {
14322
+ return H1(() => {
14321
14323
  if (t)
14322
14324
  o("visible");
14323
14325
  else {
@@ -14458,9 +14460,9 @@ const Ya = ({
14458
14460
  return k9(i, () => ({
14459
14461
  startAnimation: c,
14460
14462
  stopAnimation: u
14461
- })), M1(() => {
14463
+ })), H1(() => {
14462
14464
  t ? c() : u();
14463
- }, [t]), M1(() => {
14465
+ }, [t]), H1(() => {
14464
14466
  const d = () => {
14465
14467
  t || c();
14466
14468
  }, f = () => {
@@ -14473,7 +14475,7 @@ const Ya = ({
14473
14475
  }, [s, t]), /* @__PURE__ */ a("div", { ref: s, children: /* @__PURE__ */ a(
14474
14476
  "span",
14475
14477
  {
14476
- className: H1(
14478
+ className: L1(
14477
14479
  "gf-flex gf-h-5 gf-items-center gf-justify-start gf-overflow-hidden gf-pr-0.5",
14478
14480
  n
14479
14481
  ),
@@ -14579,7 +14581,7 @@ const ot = ({
14579
14581
  const [i, o] = S1(!1), [s, l] = S1(
14580
14582
  null
14581
14583
  ), c = J6(), u = D1(null);
14582
- M1(() => () => {
14584
+ H1(() => () => {
14583
14585
  u.current && clearTimeout(u.current);
14584
14586
  }, []);
14585
14587
  const d = t && t === "testnet" ? "https://testnet.garden.finance" : "https://app.garden.finance", f = "https://garden.finance", h = {
@@ -14676,7 +14678,7 @@ const ot = ({
14676
14678
  isExternal: !0
14677
14679
  },
14678
14680
  btcTocbBtc: {
14679
- title: "BTC to cbBtc",
14681
+ title: "BTC to cbBTC",
14680
14682
  link: f + "/routes/bridge-btc-to-cbbtc-base",
14681
14683
  chain: "Base",
14682
14684
  isExternal: !0
@@ -14706,9 +14708,9 @@ const ot = ({
14706
14708
  isExternal: !0
14707
14709
  },
14708
14710
  cbBtcBaseTocbBtcSolana: {
14709
- title: " to cbBtc",
14711
+ title: " to cbBTC",
14710
14712
  link: f + "/routes/bridge-cbbtc-base-to-cbbtc-solana",
14711
- inputAsset: "cbBtc",
14713
+ inputAsset: "cbBTC",
14712
14714
  inputChain: "Base",
14713
14715
  chain: "Solana",
14714
14716
  isExternal: !0
@@ -14763,7 +14765,7 @@ const ot = ({
14763
14765
  return /* @__PURE__ */ E(
14764
14766
  "footer",
14765
14767
  {
14766
- className: H1(
14768
+ className: L1(
14767
14769
  "gf-z-10 gf-relative gf-mx-auto gf-flex gf-w-full gf-flex-col gf-items-center gf-justify-center gf-bg-white gf-px-6 gf-pb-10 gf-pt-20 md:gf-px-10",
14768
14770
  e,
14769
14771
  i ? "gf-text-white" : "gf-text-dark-grey"
@@ -15682,17 +15684,17 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
15682
15684
  thumbnailClassName: o
15683
15685
  }) => {
15684
15686
  const [s, l] = S1(!1), [c, u] = S1(e ?? G2);
15685
- M1(() => {
15687
+ H1(() => {
15686
15688
  u(e ?? G2);
15687
15689
  }, [e]);
15688
15690
  const d = () => {
15689
15691
  u(G2);
15690
15692
  };
15691
- return /* @__PURE__ */ a(o2, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ E("div", { className: H1(i, "gf-overflow-hidden gf-rounded-2xl"), children: [
15693
+ return /* @__PURE__ */ a(o2, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ E("div", { className: L1(i, "gf-overflow-hidden gf-rounded-2xl"), children: [
15692
15694
  /* @__PURE__ */ a(
15693
15695
  "div",
15694
15696
  {
15695
- className: H1(o, `${s ? "" : "gf-filter gf-blur-md"}`),
15697
+ className: L1(o, `${s ? "" : "gf-filter gf-blur-md"}`),
15696
15698
  children: /* @__PURE__ */ a(
15697
15699
  qa.LazyLoadImage,
15698
15700
  {
@@ -15740,7 +15742,7 @@ const G2 = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%20viewBox='0%
15740
15742
  description: n,
15741
15743
  chipContent: r,
15742
15744
  logo: i
15743
- }) => /* @__PURE__ */ E("div", { className: H1(Qa({ variant: e })), children: [
15745
+ }) => /* @__PURE__ */ E("div", { className: L1(Qa({ variant: e })), children: [
15744
15746
  /* @__PURE__ */ E("div", { className: "gf-flex gf-justify-between gf-items-center gf-mb-4", children: [
15745
15747
  /* @__PURE__ */ E(Y1, { className: "gf-cursor-pointer gf-px-2 gf-py-1", children: [
15746
15748
  /* @__PURE__ */ a(Y1.Logo, { children: i }),