@fluid-app/fluid-cli-theme-dev 0.1.857 → 0.1.859

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.
@@ -1486,8 +1486,8 @@
1486
1486
  "../../profile/core/src/locale/zh_TW.json"
1487
1487
  ]
1488
1488
  },
1489
- "_MemberShareablesScreen-CSIzbzek.js": {
1490
- "file": "chunks/MemberShareablesScreen-CSIzbzek.js",
1489
+ "_MemberShareablesScreen-PJ9jwyvw.js": {
1490
+ "file": "chunks/MemberShareablesScreen-PJ9jwyvw.js",
1491
1491
  "name": "MemberShareablesScreen",
1492
1492
  "imports": [
1493
1493
  "_account-screen-runtime-B9i-9CLs.js",
@@ -1511,7 +1511,7 @@
1511
1511
  "_member-permissions-ndhNmlOk.js",
1512
1512
  "_use-store-CXu_fhao.js",
1513
1513
  "_client.gen-CG8-mDod.js",
1514
- "_navigate-account-screen-CzhKxkUa.js"
1514
+ "_navigate-account-screen-BlVQfjX9.js"
1515
1515
  ],
1516
1516
  "dynamicImports": [
1517
1517
  "../../shareables/core/src/locale/ar.json",
@@ -1652,8 +1652,8 @@
1652
1652
  "_account-screen-runtime-B9i-9CLs.js"
1653
1653
  ]
1654
1654
  },
1655
- "_cli-preview-C9cCdhnf.js": {
1656
- "file": "chunks/cli-preview-C9cCdhnf.js",
1655
+ "_cli-preview-CDRDu_i4.js": {
1656
+ "file": "chunks/cli-preview-CDRDu_i4.js",
1657
1657
  "name": "cli-preview",
1658
1658
  "dynamicImports": [
1659
1659
  "src/screens/SubscriptionsScreen.tsx",
@@ -1798,11 +1798,11 @@
1798
1798
  "file": "chunks/member-permissions-ndhNmlOk.js",
1799
1799
  "name": "member-permissions"
1800
1800
  },
1801
- "_navigate-account-screen-CzhKxkUa.js": {
1802
- "file": "chunks/navigate-account-screen-CzhKxkUa.js",
1801
+ "_navigate-account-screen-BlVQfjX9.js": {
1802
+ "file": "chunks/navigate-account-screen-BlVQfjX9.js",
1803
1803
  "name": "navigate-account-screen",
1804
1804
  "imports": [
1805
- "_cli-preview-C9cCdhnf.js"
1805
+ "_cli-preview-CDRDu_i4.js"
1806
1806
  ]
1807
1807
  },
1808
1808
  "_schemas-CZvv_5iX.js": {
@@ -1908,11 +1908,11 @@
1908
1908
  "src": "src/browser/cli-preview.ts",
1909
1909
  "isEntry": true,
1910
1910
  "imports": [
1911
- "_cli-preview-C9cCdhnf.js"
1911
+ "_cli-preview-CDRDu_i4.js"
1912
1912
  ]
1913
1913
  },
1914
1914
  "src/runtime/mount-account-screen.tsx": {
1915
- "file": "chunks/mount-account-screen-CcYNiCEy.js",
1915
+ "file": "chunks/mount-account-screen-BwJJMdmu.js",
1916
1916
  "name": "mount-account-screen",
1917
1917
  "src": "src/runtime/mount-account-screen.tsx",
1918
1918
  "isDynamicEntry": true,
@@ -1922,8 +1922,8 @@
1922
1922
  "_store-api-context-TW7uud2C.js",
1923
1923
  "_hey-api-client-EAWr0fT_.js",
1924
1924
  "_use-mobile-BChC77Fq.js",
1925
- "_navigate-account-screen-CzhKxkUa.js",
1926
- "_cli-preview-C9cCdhnf.js",
1925
+ "_navigate-account-screen-BlVQfjX9.js",
1926
+ "_cli-preview-CDRDu_i4.js",
1927
1927
  "_arrow-left-Ds5JkG8w.js"
1928
1928
  ]
1929
1929
  },
@@ -1992,13 +1992,13 @@
1992
1992
  ]
1993
1993
  },
1994
1994
  "src/screens/MediaScreen.tsx": {
1995
- "file": "chunks/MediaScreen-CeQr5sOj.js",
1995
+ "file": "chunks/MediaScreen-BS3OrepW.js",
1996
1996
  "name": "MediaScreen",
1997
1997
  "src": "src/screens/MediaScreen.tsx",
1998
1998
  "isDynamicEntry": true,
1999
1999
  "imports": [
2000
2000
  "_account-screen-runtime-B9i-9CLs.js",
2001
- "_MemberShareablesScreen-CSIzbzek.js"
2001
+ "_MemberShareablesScreen-PJ9jwyvw.js"
2002
2002
  ]
2003
2003
  },
2004
2004
  "src/screens/MessagingScreen.tsx": {
@@ -2056,7 +2056,7 @@
2056
2056
  ]
2057
2057
  },
2058
2058
  "src/screens/MySiteScreen.tsx": {
2059
- "file": "chunks/MySiteScreen-DXGS0LFN.js",
2059
+ "file": "chunks/MySiteScreen-CdV3cRZT.js",
2060
2060
  "name": "MySiteScreen",
2061
2061
  "src": "src/screens/MySiteScreen.tsx",
2062
2062
  "isDynamicEntry": true,
@@ -2122,13 +2122,13 @@
2122
2122
  ]
2123
2123
  },
2124
2124
  "src/screens/PlaylistsScreen.tsx": {
2125
- "file": "chunks/PlaylistsScreen-A2eZN-uN.js",
2125
+ "file": "chunks/PlaylistsScreen-Bjn4PQ9h.js",
2126
2126
  "name": "PlaylistsScreen",
2127
2127
  "src": "src/screens/PlaylistsScreen.tsx",
2128
2128
  "isDynamicEntry": true,
2129
2129
  "imports": [
2130
2130
  "_account-screen-runtime-B9i-9CLs.js",
2131
- "_MemberShareablesScreen-CSIzbzek.js"
2131
+ "_MemberShareablesScreen-PJ9jwyvw.js"
2132
2132
  ]
2133
2133
  },
2134
2134
  "src/screens/ProfileScreen.tsx": {
@@ -1 +1 @@
1
- import "./chunks/cli-preview-C9cCdhnf.js";
1
+ import "./chunks/cli-preview-CDRDu_i4.js";
@@ -1,5 +1,5 @@
1
1
  import { j as e } from "./account-screen-runtime-B9i-9CLs.js";
2
- import { M as r } from "./MemberShareablesScreen-CSIzbzek.js";
2
+ import { M as r } from "./MemberShareablesScreen-PJ9jwyvw.js";
3
3
  function t() {
4
4
  return /* @__PURE__ */ e.jsx(r, { curation: "when-served" });
5
5
  }
@@ -19,7 +19,7 @@ import { u as ec } from "./index-BNk_peyi.js";
19
19
  import { d as tc } from "./member-permissions-ndhNmlOk.js";
20
20
  import { u as sc } from "./use-store-CXu_fhao.js";
21
21
  import { c as ac, a as rc } from "./client.gen-CG8-mDod.js";
22
- import { i as nc } from "./navigate-account-screen-CzhKxkUa.js";
22
+ import { i as nc } from "./navigate-account-screen-BlVQfjX9.js";
23
23
  /**
24
24
  * @license lucide-react v0.575.0 - ISC
25
25
  *
@@ -1,14 +1,14 @@
1
- import { c as ae, aj as Ie, l as i, j as t, a4 as Be, $ as b, L as Re, X as oe, a7 as de, B as Oe, _ as Ue, a3 as ce, bG as Ke, E as $e, a1 as He, ak as Ve, z as qe } from "./account-screen-runtime-B9i-9CLs.js";
2
- import { C as B, h as ne, i as be, a as W, j as Ge, k as Ye, l as We, m as Qe, n as Xe, o as Ze, c as ge, d as Y, f as ye, D as _e, e as ve, S as je, v as Ne, s as ke, K as Ce, P as Se, u as we, b as Le, G as Ee, p as Je, q as et, r as tt, t as De, w as st, x as at, U as nt, L as rt, M as it } from "./sortable.esm-CibJ9yWj.js";
1
+ import { c as ae, aj as Ie, l as i, j as t, a4 as Be, $ as g, L as Re, X as oe, a7 as de, B as Oe, _ as Ue, a3 as ce, bG as Ke, E as $e, a1 as He, ak as Ve, z as qe } from "./account-screen-runtime-B9i-9CLs.js";
2
+ import { C as B, h as ne, i as ge, a as W, j as Ge, k as Ye, l as We, m as Qe, n as Xe, o as Ze, c as be, d as Y, f as ye, D as _e, e as ve, S as je, v as Ne, s as ke, K as Ce, P as Se, u as we, b as Le, G as Ee, p as Je, q as et, r as tt, t as De, w as st, x as at, U as nt, L as rt, M as it } from "./sortable.esm-CibJ9yWj.js";
3
3
  import { c as lt, a as ot } from "./client.gen-CG8-mDod.js";
4
4
  import { S as E, I as ue, B as dt, a as ct, b as me, d as ut, c as he, e as mt } from "./sheet-haptics-context-COwdGTra.js";
5
5
  import { a as ht, c as pt, b as ft, u as xt } from "./translation-api-context-factory-BEO-iYLb.js";
6
- import { U as bt } from "./users-BwLXeQJs.js";
7
- import { C as gt } from "./copy-CwTnpnmt.js";
6
+ import { U as gt } from "./users-BwLXeQJs.js";
7
+ import { C as bt } from "./copy-CwTnpnmt.js";
8
8
  import { A as re } from "./arrow-left-Ds5JkG8w.js";
9
9
  import { C as yt, o as w, n as _, s as c, d as ee, f as _t } from "./schemas-CZvv_5iX.js";
10
10
  import { P as pe, R as te, e as se, T as ie, f as vt } from "./ResponsiveDialog-CRjYPJDy.js";
11
- import { u as Me } from "./sidebar-SmEnwFoV.js";
11
+ import { u as Pe } from "./sidebar-SmEnwFoV.js";
12
12
  /**
13
13
  * @license lucide-react v0.575.0 - ISC
14
14
  *
@@ -54,7 +54,7 @@ const St = [
54
54
  ["circle", { cx: "17.5", cy: "10.5", r: ".5", fill: "currentColor", key: "f64h9f" }],
55
55
  ["circle", { cx: "6.5", cy: "12.5", r: ".5", fill: "currentColor", key: "qy21gx" }],
56
56
  ["circle", { cx: "8.5", cy: "7.5", r: ".5", fill: "currentColor", key: "fotxhn" }]
57
- ], Pe = ae("palette", St);
57
+ ], Me = ae("palette", St);
58
58
  function wt(e) {
59
59
  return e instanceof DOMException && e.name === "AbortError" || e instanceof Error && e.name === "AbortError";
60
60
  }
@@ -103,7 +103,7 @@ const Et = (e) => e.client.get({
103
103
  responseStyle: "data",
104
104
  url: "/api/mysite/themes",
105
105
  ...e
106
- }), Mt = (e) => e.client.put({
106
+ }), Pt = (e) => e.client.put({
107
107
  responseStyle: "data",
108
108
  url: "/api/mysite/settings",
109
109
  ...e,
@@ -111,7 +111,7 @@ const Et = (e) => e.client.get({
111
111
  "Content-Type": "application/json",
112
112
  ...e.headers
113
113
  }
114
- }), Pt = (e) => e.client.get({
114
+ }), Mt = (e) => e.client.get({
115
115
  responseStyle: "data",
116
116
  url: "/api/mysite/links",
117
117
  ...e
@@ -231,7 +231,7 @@ function Kt(e) {
231
231
  },
232
232
  updateSettings: async (s) => {
233
233
  await Promise.all([
234
- s.theme_id !== void 0 ? Mt({
234
+ s.theme_id !== void 0 ? Pt({
235
235
  client: e,
236
236
  body: { settings: { theme_id: s.theme_id } }
237
237
  }) : Promise.resolve(),
@@ -241,7 +241,7 @@ function Kt(e) {
241
241
  }) : Promise.resolve()
242
242
  ]);
243
243
  },
244
- listLinks: async () => ((await Pt({ client: e })).links ?? []).map(q),
244
+ listLinks: async () => ((await Mt({ client: e })).links ?? []).map(q),
245
245
  createLink: async (s) => {
246
246
  const n = await Ft({
247
247
  client: e,
@@ -538,7 +538,7 @@ function Zt({
538
538
  }) {
539
539
  const { t: n } = D();
540
540
  return /* @__PURE__ */ t.jsxs(B, { className: "h-auto gap-0 py-0 shadow-none", children: [
541
- /* @__PURE__ */ t.jsx(ne, { className: "p-4 pb-3", children: /* @__PURE__ */ t.jsx(be, { className: "text-sm", children: n("visitor_details") }) }),
541
+ /* @__PURE__ */ t.jsx(ne, { className: "p-4 pb-3", children: /* @__PURE__ */ t.jsx(ge, { className: "text-sm", children: n("visitor_details") }) }),
542
542
  /* @__PURE__ */ t.jsxs(W, { className: "flex px-4 pb-4", children: [
543
543
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
544
544
  /* @__PURE__ */ t.jsxs("div", { className: "mb-2 flex items-center gap-1.5", children: [
@@ -550,7 +550,7 @@ function Zt({
550
550
  /* @__PURE__ */ t.jsx(Be, { orientation: "vertical", className: "bg-border mx-4 h-auto" }),
551
551
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1", children: [
552
552
  /* @__PURE__ */ t.jsxs("div", { className: "mb-2 flex items-center gap-1.5", children: [
553
- /* @__PURE__ */ t.jsx(bt, { className: "text-muted-foreground size-3.5" }),
553
+ /* @__PURE__ */ t.jsx(gt, { className: "text-muted-foreground size-3.5" }),
554
554
  /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground text-sm", children: n("leads") })
555
555
  ] }),
556
556
  /* @__PURE__ */ t.jsx("p", { className: "text-foreground text-2xl font-bold", children: s.toLocaleString() })
@@ -564,24 +564,24 @@ function Jt({
564
564
  onUpdateSlug: n,
565
565
  onToast: a
566
566
  }) {
567
- const { t: l } = D(), r = s.lastIndexOf("/"), o = r >= 0 ? s.slice(0, r + 1) : "", d = r >= 0 ? s.slice(r + 1) : s, [u, p] = i.useState(!1), [m, h] = i.useState(d), [y, j] = i.useState(!1), v = i.useCallback(() => {
568
- h(d), p(!0);
567
+ const { t: l } = D(), r = s.lastIndexOf("/"), o = r >= 0 ? s.slice(0, r + 1) : "", d = r >= 0 ? s.slice(r + 1) : s, [u, f] = i.useState(!1), [m, h] = i.useState(d), [y, j] = i.useState(!1), v = i.useCallback(() => {
568
+ h(d), f(!0);
569
569
  }, [d]), N = i.useCallback(() => {
570
- p(!1), h(d);
571
- }, [d]), M = i.useCallback(async () => {
572
- const f = m.trim();
573
- if (!f) {
570
+ f(!1), h(d);
571
+ }, [d]), P = i.useCallback(async () => {
572
+ const x = m.trim();
573
+ if (!x) {
574
574
  a?.(l("slug_empty_error"), "error");
575
575
  return;
576
576
  }
577
- if (f === d) {
578
- p(!1);
577
+ if (x === d) {
578
+ f(!1);
579
579
  return;
580
580
  }
581
581
  if (n) {
582
582
  j(!0);
583
583
  try {
584
- await n(f), a?.(l("link_updated"), "success"), p(!1);
584
+ await n(x), a?.(l("link_updated"), "success"), f(!1);
585
585
  } catch {
586
586
  a?.(l("link_update_failed"), "error");
587
587
  } finally {
@@ -598,8 +598,8 @@ function Jt({
598
598
  }, [e, a, l]);
599
599
  return /* @__PURE__ */ t.jsxs(B, { className: "h-auto gap-0 py-0 shadow-none", children: [
600
600
  /* @__PURE__ */ t.jsxs(ne, { className: "items-center p-4", children: [
601
- /* @__PURE__ */ t.jsx(be, { className: "text-sm", children: l("your_mysite_link") }),
602
- !u && n && /* @__PURE__ */ t.jsx(Ge, { children: /* @__PURE__ */ t.jsx(b, { variant: "link", size: "sm", onClick: v, children: l("edit_link") }) })
601
+ /* @__PURE__ */ t.jsx(ge, { className: "text-sm", children: l("your_mysite_link") }),
602
+ !u && n && /* @__PURE__ */ t.jsx(Ge, { children: /* @__PURE__ */ t.jsx(g, { variant: "link", size: "sm", onClick: v, children: l("edit_link") }) })
603
603
  ] }),
604
604
  /* @__PURE__ */ t.jsxs(W, { className: "px-4 pb-4", children: [
605
605
  /* @__PURE__ */ t.jsxs("div", { className: "text-foreground flex items-center gap-2 rounded-lg border bg-gradient-to-r from-[rgba(72,187,120,0.2)] via-[rgba(236,72,153,0.15)] to-[rgba(251,146,60,0.15)] px-3 py-2.5", children: [
@@ -610,9 +610,9 @@ function Jt({
610
610
  {
611
611
  type: "text",
612
612
  value: m,
613
- onChange: (f) => h(f.target.value),
614
- onKeyDown: (f) => {
615
- f.key === "Enter" && !y && M(), f.key === "Escape" && N();
613
+ onChange: (x) => h(x.target.value),
614
+ onKeyDown: (x) => {
615
+ x.key === "Enter" && !y && P(), x.key === "Escape" && N();
616
616
  },
617
617
  className: "border-input text-foreground focus:ring-primary bg-background/60 min-w-0 flex-1 rounded-md border px-2 py-1 text-sm font-medium outline-none focus:ring-1",
618
618
  autoFocus: !0
@@ -620,13 +620,13 @@ function Jt({
620
620
  )
621
621
  ] }) : /* @__PURE__ */ t.jsx("span", { className: "min-w-0 flex-1 truncate text-sm", children: s || l("not_configured") }),
622
622
  /* @__PURE__ */ t.jsx(
623
- b,
623
+ g,
624
624
  {
625
625
  variant: "ghost",
626
626
  size: "icon",
627
627
  onClick: C,
628
628
  disabled: !e,
629
- children: /* @__PURE__ */ t.jsx(gt, { className: "size-4" })
629
+ children: /* @__PURE__ */ t.jsx(bt, { className: "size-4" })
630
630
  }
631
631
  )
632
632
  ] }),
@@ -641,7 +641,7 @@ function Jt({
641
641
  },
642
642
  children: /* @__PURE__ */ t.jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ t.jsxs("div", { className: "flex justify-end gap-2", children: [
643
643
  /* @__PURE__ */ t.jsx(
644
- b,
644
+ g,
645
645
  {
646
646
  variant: "secondary",
647
647
  size: "sm",
@@ -649,7 +649,7 @@ function Jt({
649
649
  children: l("cancel")
650
650
  }
651
651
  ),
652
- /* @__PURE__ */ t.jsx(b, { size: "sm", onClick: M, disabled: y, children: l(y ? "saving" : "save") })
652
+ /* @__PURE__ */ t.jsx(g, { size: "sm", onClick: P, disabled: y, children: l(y ? "saving" : "save") })
653
653
  ] }) })
654
654
  }
655
655
  )
@@ -667,7 +667,7 @@ function es({
667
667
  i.useEffect(() => {
668
668
  u.current = !0;
669
669
  }, [n]);
670
- const p = () => {
670
+ const f = () => {
671
671
  if (u.current) {
672
672
  u.current = !1;
673
673
  return;
@@ -682,7 +682,7 @@ function es({
682
682
  /* @__PURE__ */ t.jsx("p", { className: "text-foreground text-sm font-semibold", children: s })
683
683
  ] }),
684
684
  /* @__PURE__ */ t.jsx(
685
- b,
685
+ g,
686
686
  {
687
687
  className: "col-start-2 row-span-2 row-start-1 cursor-pointer self-center justify-self-end",
688
688
  variant: "secondary",
@@ -718,7 +718,7 @@ function es({
718
718
  title: r("mysite_preview"),
719
719
  tabIndex: -1,
720
720
  sandbox: "allow-scripts allow-same-origin",
721
- onLoad: p
721
+ onLoad: f
722
722
  },
723
723
  n
724
724
  ),
@@ -747,7 +747,7 @@ function as({
747
747
  const { t: r } = D();
748
748
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
749
749
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-3", children: [
750
- /* @__PURE__ */ t.jsx(b, { variant: "ghost", size: "icon", onClick: l, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
750
+ /* @__PURE__ */ t.jsx(g, { variant: "ghost", size: "icon", onClick: l, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
751
751
  /* @__PURE__ */ t.jsx("h1", { className: "text-foreground text-xl font-bold", children: r("choose_a_theme") })
752
752
  ] }),
753
753
  e.length === 0 ? /* @__PURE__ */ t.jsx(B, { children: /* @__PURE__ */ t.jsx(W, { className: "py-8 text-center", children: /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground", children: r("no_themes_available") }) }) }) : /* @__PURE__ */ t.jsx("div", { className: "grid grid-cols-2 gap-4 sm:grid-cols-3", children: e.map((o) => {
@@ -778,7 +778,7 @@ function as({
778
778
  {
779
779
  className: "text-muted-foreground/50 flex h-full w-full items-center justify-center",
780
780
  style: { backgroundColor: ss(o.name) },
781
- children: /* @__PURE__ */ t.jsx(Pe, { className: "size-8" })
781
+ children: /* @__PURE__ */ t.jsx(Me, { className: "size-8" })
782
782
  }
783
783
  ),
784
784
  d && /* @__PURE__ */ t.jsx("div", { className: "bg-primary/20 absolute inset-0 flex items-center justify-center", children: /* @__PURE__ */ t.jsx("div", { className: "bg-primary text-primary-foreground flex size-8 items-center justify-center rounded-full", children: /* @__PURE__ */ t.jsx(yt, { className: "size-5" }) }) }),
@@ -905,7 +905,7 @@ function os({
905
905
  setNodeRef: o,
906
906
  transform: d,
907
907
  transition: u,
908
- isDragging: p
908
+ isDragging: f
909
909
  } = we({ id: e.id }), m = {
910
910
  transform: Le.Transform.toString(d),
911
911
  transition: u
@@ -915,7 +915,7 @@ function os({
915
915
  {
916
916
  ref: o,
917
917
  style: m,
918
- className: `border-border bg-card flex items-center gap-3 rounded-lg border p-3 sm:p-4 ${p ? "opacity-50 shadow-lg" : ""}`,
918
+ className: `border-border bg-card flex items-center gap-3 rounded-lg border p-3 sm:p-4 ${f ? "opacity-50 shadow-lg" : ""}`,
919
919
  children: [
920
920
  /* @__PURE__ */ t.jsx(
921
921
  "button",
@@ -934,7 +934,7 @@ function os({
934
934
  ] }),
935
935
  /* @__PURE__ */ t.jsxs("div", { className: "flex shrink-0 items-center gap-1", children: [
936
936
  /* @__PURE__ */ t.jsx(
937
- b,
937
+ g,
938
938
  {
939
939
  variant: "ghost",
940
940
  size: "sm",
@@ -945,7 +945,7 @@ function os({
945
945
  }
946
946
  ),
947
947
  /* @__PURE__ */ t.jsx(
948
- b,
948
+ g,
949
949
  {
950
950
  variant: "ghost",
951
951
  size: "sm",
@@ -966,14 +966,14 @@ function ds({
966
966
  onToast: n
967
967
  }) {
968
968
  "use no memo";
969
- const { t: a } = D(), { isMobile: l } = Me(), r = i.useMemo(() => ls(a), [a]), { data: o = [], isLoading: d } = Ye(), u = We(), p = Qe(), m = Xe(), h = Ze(), [y, j] = i.useState(!1), [v, N] = i.useState(null), [M, C] = i.useState(!1), [f, P] = i.useState(null), {
969
+ const { t: a } = D(), { isMobile: l } = Pe(), r = i.useMemo(() => ls(a), [a]), { data: o = [], isLoading: d } = Ye(), u = We(), f = Qe(), m = Xe(), h = Ze(), [y, j] = i.useState(!1), [v, N] = i.useState(null), [P, C] = i.useState(!1), [x, M] = i.useState(null), {
970
970
  register: k,
971
971
  handleSubmit: R,
972
972
  reset: L,
973
973
  formState: { errors: S, isSubmitting: I }
974
974
  } = _t(r, {
975
975
  defaultValues: { title: "", url: "" }
976
- }), F = ge(
976
+ }), F = be(
977
977
  Y(Se),
978
978
  Y(Ce, {
979
979
  coordinateGetter: ke
@@ -981,21 +981,21 @@ function ds({
981
981
  ), $ = i.useCallback(() => {
982
982
  N(null), L({ title: "", url: "" }), j(!0);
983
983
  }, [L]), H = i.useCallback(
984
- (g) => {
985
- N(g), L({
986
- title: g.title,
987
- url: Fe(g.url)
984
+ (b) => {
985
+ N(b), L({
986
+ title: b.title,
987
+ url: Fe(b.url)
988
988
  }), j(!0);
989
989
  },
990
990
  [L]
991
991
  ), A = i.useCallback(() => {
992
992
  j(!1), N(null), L({ title: "", url: "" });
993
993
  }, [L]), Q = i.useCallback(
994
- (g) => {
995
- v ? p.mutate(
994
+ (b) => {
995
+ v ? f.mutate(
996
996
  {
997
997
  linkId: v.id,
998
- body: { title: g.title, url: g.url }
998
+ body: { title: b.title, url: b.url }
999
999
  },
1000
1000
  {
1001
1001
  onSuccess: () => {
@@ -1006,7 +1006,7 @@ function ds({
1006
1006
  }
1007
1007
  }
1008
1008
  ) : u.mutate(
1009
- { title: g.title, url: g.url },
1009
+ { title: b.title, url: b.url },
1010
1010
  {
1011
1011
  onSuccess: () => {
1012
1012
  n?.(a("button_created"), "success"), A(), s?.();
@@ -1020,18 +1020,18 @@ function ds({
1020
1020
  [
1021
1021
  v,
1022
1022
  u,
1023
- p,
1023
+ f,
1024
1024
  A,
1025
1025
  s,
1026
1026
  n,
1027
1027
  a
1028
1028
  ]
1029
- ), x = i.useCallback((g) => {
1030
- P(g), C(!0);
1029
+ ), p = i.useCallback((b) => {
1030
+ M(b), C(!0);
1031
1031
  }, []), z = i.useCallback(() => {
1032
- C(!1), P(null);
1032
+ C(!1), M(null);
1033
1033
  }, []), O = i.useCallback(() => {
1034
- f && m.mutate(f.id, {
1034
+ x && m.mutate(x.id, {
1035
1035
  onSuccess: () => {
1036
1036
  n?.(a("button_deleted"), "success"), z(), s?.();
1037
1037
  },
@@ -1040,15 +1040,15 @@ function ds({
1040
1040
  }
1041
1041
  });
1042
1042
  }, [
1043
- f,
1043
+ x,
1044
1044
  m,
1045
1045
  z,
1046
1046
  s,
1047
1047
  n,
1048
1048
  a
1049
1049
  ]), X = i.useCallback(
1050
- (g) => {
1051
- const { active: V, over: Z } = g;
1050
+ (b) => {
1051
+ const { active: V, over: Z } = b;
1052
1052
  if (Z && V.id !== Z.id) {
1053
1053
  const ze = o.findIndex((U) => U.id === V.id), Te = o.findIndex((U) => U.id === Z.id), le = ye(o, ze, Te), Ae = le.map((U) => U.id);
1054
1054
  h.mutate(
@@ -1069,15 +1069,15 @@ function ds({
1069
1069
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1070
1070
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center justify-between", children: [
1071
1071
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-3", children: [
1072
- /* @__PURE__ */ t.jsx(b, { variant: "ghost", size: "icon", onClick: e, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
1072
+ /* @__PURE__ */ t.jsx(g, { variant: "ghost", size: "icon", onClick: e, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
1073
1073
  /* @__PURE__ */ t.jsx("h1", { className: "text-foreground text-xl font-bold", children: a("buttons_heading") })
1074
1074
  ] }),
1075
- /* @__PURE__ */ t.jsxs(b, { size: "sm", onClick: $, children: [
1075
+ /* @__PURE__ */ t.jsxs(g, { size: "sm", onClick: $, children: [
1076
1076
  /* @__PURE__ */ t.jsx(pe, { className: "mr-1 size-4" }),
1077
1077
  a("add_button")
1078
1078
  ] })
1079
1079
  ] }),
1080
- d ? /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((g, V) => /* @__PURE__ */ t.jsxs(
1080
+ d ? /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((b, V) => /* @__PURE__ */ t.jsxs(
1081
1081
  "div",
1082
1082
  {
1083
1083
  className: "border-border bg-card flex items-center gap-3 rounded-lg border p-3 sm:p-4",
@@ -1096,7 +1096,7 @@ function ds({
1096
1096
  V
1097
1097
  )) }) : o.length === 0 ? /* @__PURE__ */ t.jsxs(B, { className: "p-6 text-center sm:p-8", children: [
1098
1098
  /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground mb-4", children: a("no_buttons_empty") }),
1099
- /* @__PURE__ */ t.jsxs(b, { size: "sm", onClick: $, children: [
1099
+ /* @__PURE__ */ t.jsxs(g, { size: "sm", onClick: $, children: [
1100
1100
  /* @__PURE__ */ t.jsx(pe, { className: "mr-1 size-4" }),
1101
1101
  a("add_button")
1102
1102
  ] })
@@ -1109,16 +1109,16 @@ function ds({
1109
1109
  children: /* @__PURE__ */ t.jsx(
1110
1110
  je,
1111
1111
  {
1112
- items: o.map((g) => g.id),
1112
+ items: o.map((b) => b.id),
1113
1113
  strategy: Ne,
1114
- children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: o.map((g) => /* @__PURE__ */ t.jsx(
1114
+ children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: o.map((b) => /* @__PURE__ */ t.jsx(
1115
1115
  os,
1116
1116
  {
1117
- link: g,
1117
+ link: b,
1118
1118
  onEdit: H,
1119
- onDelete: x
1119
+ onDelete: p
1120
1120
  },
1121
- g.id
1121
+ b.id
1122
1122
  )) })
1123
1123
  }
1124
1124
  )
@@ -1165,12 +1165,12 @@ function ds({
1165
1165
  ] }),
1166
1166
  /* @__PURE__ */ t.jsxs(se, { className: "flex justify-between", children: [
1167
1167
  v ? /* @__PURE__ */ t.jsxs(
1168
- b,
1168
+ g,
1169
1169
  {
1170
1170
  type: "button",
1171
1171
  variant: "destructive",
1172
1172
  onClick: () => {
1173
- A(), x(v);
1173
+ A(), p(v);
1174
1174
  },
1175
1175
  children: [
1176
1176
  /* @__PURE__ */ t.jsx(ie, { className: "mr-1 size-4" }),
@@ -1180,7 +1180,7 @@ function ds({
1180
1180
  ) : /* @__PURE__ */ t.jsx("div", {}),
1181
1181
  /* @__PURE__ */ t.jsxs("div", { className: "flex gap-2", children: [
1182
1182
  /* @__PURE__ */ t.jsx(
1183
- b,
1183
+ g,
1184
1184
  {
1185
1185
  type: "button",
1186
1186
  variant: "outline",
@@ -1189,11 +1189,11 @@ function ds({
1189
1189
  }
1190
1190
  ),
1191
1191
  /* @__PURE__ */ t.jsx(
1192
- b,
1192
+ g,
1193
1193
  {
1194
1194
  type: "submit",
1195
- disabled: I || u.isPending || p.isPending,
1196
- children: I || u.isPending || p.isPending ? a("saving") : a("save")
1195
+ disabled: I || u.isPending || f.isPending,
1196
+ children: I || u.isPending || f.isPending ? a("saving") : a("save")
1197
1197
  }
1198
1198
  )
1199
1199
  ] })
@@ -1206,18 +1206,18 @@ function ds({
1206
1206
  /* @__PURE__ */ t.jsxs(
1207
1207
  te,
1208
1208
  {
1209
- open: M,
1209
+ open: P,
1210
1210
  onOpenChange: C,
1211
1211
  title: a("delete_button_dialog"),
1212
1212
  presentation: l ? "bottom-sheet" : "dialog",
1213
1213
  size: "compact",
1214
1214
  children: [
1215
1215
  /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground", children: a("delete_button_confirm", {
1216
- name: f?.title ?? ""
1216
+ name: x?.title ?? ""
1217
1217
  }) }),
1218
1218
  /* @__PURE__ */ t.jsxs(se, { children: [
1219
1219
  /* @__PURE__ */ t.jsx(
1220
- b,
1220
+ g,
1221
1221
  {
1222
1222
  type: "button",
1223
1223
  variant: "outline",
@@ -1226,7 +1226,7 @@ function ds({
1226
1226
  }
1227
1227
  ),
1228
1228
  /* @__PURE__ */ t.jsx(
1229
- b,
1229
+ g,
1230
1230
  {
1231
1231
  type: "button",
1232
1232
  variant: "destructive",
@@ -1258,7 +1258,7 @@ function us({
1258
1258
  transform: o,
1259
1259
  transition: d,
1260
1260
  isDragging: u
1261
- } = we({ id: e.id }), p = {
1261
+ } = we({ id: e.id }), f = {
1262
1262
  transform: Le.Transform.toString(o),
1263
1263
  transition: d
1264
1264
  }, m = e.name ?? n("untitled"), h = e.image_url, y = cs[e.favoriteable_type], j = e.favoriteable_type !== "Product" ? y ? n(y) : e.favoriteable_type : null;
@@ -1266,7 +1266,7 @@ function us({
1266
1266
  "div",
1267
1267
  {
1268
1268
  ref: r,
1269
- style: p,
1269
+ style: f,
1270
1270
  className: `border-border bg-card flex items-center gap-3 rounded-lg border p-3 sm:p-4 ${u ? "opacity-50 shadow-lg" : ""}`,
1271
1271
  children: [
1272
1272
  /* @__PURE__ */ t.jsx(
@@ -1296,7 +1296,7 @@ function us({
1296
1296
  j ? /* @__PURE__ */ t.jsx("span", { className: "text-muted-foreground text-xs", children: j }) : null
1297
1297
  ] }),
1298
1298
  /* @__PURE__ */ t.jsx("div", { className: "flex shrink-0 items-center gap-1", children: /* @__PURE__ */ t.jsx(
1299
- b,
1299
+ g,
1300
1300
  {
1301
1301
  variant: "ghost",
1302
1302
  size: "sm",
@@ -1315,19 +1315,19 @@ function ms({
1315
1315
  onRefreshPreview: s,
1316
1316
  onToast: n
1317
1317
  }) {
1318
- const { t: a } = D(), { isMobile: l } = Me(), { data: r = [], isLoading: o } = Je(), d = et(), u = tt(), [p, m] = i.useState(!1), [h, y] = i.useState(null), j = ge(
1318
+ const { t: a } = D(), { isMobile: l } = Pe(), { data: r = [], isLoading: o } = Je(), d = et(), u = tt(), [f, m] = i.useState(!1), [h, y] = i.useState(null), j = be(
1319
1319
  Y(Se),
1320
1320
  Y(Ce, {
1321
1321
  coordinateGetter: ke
1322
1322
  })
1323
1323
  ), v = i.useCallback(
1324
- (f) => {
1325
- y(f), m(!0);
1324
+ (x) => {
1325
+ y(x), m(!0);
1326
1326
  },
1327
1327
  []
1328
1328
  ), N = i.useCallback(() => {
1329
1329
  m(!1), y(null);
1330
- }, []), M = i.useCallback(() => {
1330
+ }, []), P = i.useCallback(() => {
1331
1331
  h && d.mutate(h.id, {
1332
1332
  onSuccess: () => {
1333
1333
  n?.(a("content_removed"), "success"), N(), s?.();
@@ -1344,10 +1344,10 @@ function ms({
1344
1344
  n,
1345
1345
  a
1346
1346
  ]), C = i.useCallback(
1347
- (f) => {
1348
- const { active: P, over: k } = f;
1349
- if (k && P.id !== k.id) {
1350
- const R = r.findIndex((F) => F.id === P.id), L = r.findIndex((F) => F.id === k.id), S = ye(r, R, L), I = S.map((F) => F.id);
1347
+ (x) => {
1348
+ const { active: M, over: k } = x;
1349
+ if (k && M.id !== k.id) {
1350
+ const R = r.findIndex((F) => F.id === M.id), L = r.findIndex((F) => F.id === k.id), S = ye(r, R, L), I = S.map((F) => F.id);
1351
1351
  u.mutate(
1352
1352
  { orderedIds: I, optimisticItems: S },
1353
1353
  {
@@ -1365,10 +1365,10 @@ function ms({
1365
1365
  );
1366
1366
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1367
1367
  /* @__PURE__ */ t.jsxs("div", { className: "flex items-center gap-3", children: [
1368
- /* @__PURE__ */ t.jsx(b, { variant: "ghost", size: "icon", onClick: e, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
1368
+ /* @__PURE__ */ t.jsx(g, { variant: "ghost", size: "icon", onClick: e, children: /* @__PURE__ */ t.jsx(re, { className: "size-4" }) }),
1369
1369
  /* @__PURE__ */ t.jsx("h1", { className: "text-foreground text-xl font-bold", children: a("content_heading") })
1370
1370
  ] }),
1371
- o ? /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((f, P) => /* @__PURE__ */ t.jsxs(
1371
+ o ? /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: Array.from({ length: 3 }).map((x, M) => /* @__PURE__ */ t.jsxs(
1372
1372
  "div",
1373
1373
  {
1374
1374
  className: "border-border bg-card flex items-center gap-3 rounded-lg border p-3 sm:p-4",
@@ -1382,7 +1382,7 @@ function ms({
1382
1382
  /* @__PURE__ */ t.jsx(E, { className: "size-8" })
1383
1383
  ]
1384
1384
  },
1385
- P
1385
+ M
1386
1386
  )) }) : r.length === 0 ? /* @__PURE__ */ t.jsx(B, { className: "p-6 text-center sm:p-8", children: /* @__PURE__ */ t.jsx("p", { className: "text-muted-foreground", children: a("no_content_empty") }) }) : /* @__PURE__ */ t.jsx(
1387
1387
  _e,
1388
1388
  {
@@ -1392,15 +1392,15 @@ function ms({
1392
1392
  children: /* @__PURE__ */ t.jsx(
1393
1393
  je,
1394
1394
  {
1395
- items: r.map((f) => f.id),
1395
+ items: r.map((x) => x.id),
1396
1396
  strategy: Ne,
1397
- children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: r.map((f) => /* @__PURE__ */ t.jsx(
1397
+ children: /* @__PURE__ */ t.jsx("div", { className: "space-y-2", children: r.map((x) => /* @__PURE__ */ t.jsx(
1398
1398
  us,
1399
1399
  {
1400
- favorite: f,
1400
+ favorite: x,
1401
1401
  onDelete: v
1402
1402
  },
1403
- f.id
1403
+ x.id
1404
1404
  )) })
1405
1405
  }
1406
1406
  )
@@ -1409,7 +1409,7 @@ function ms({
1409
1409
  /* @__PURE__ */ t.jsxs(
1410
1410
  te,
1411
1411
  {
1412
- open: p,
1412
+ open: f,
1413
1413
  onOpenChange: m,
1414
1414
  title: a("remove_content_dialog"),
1415
1415
  presentation: l ? "bottom-sheet" : "dialog",
@@ -1420,7 +1420,7 @@ function ms({
1420
1420
  }) }),
1421
1421
  /* @__PURE__ */ t.jsxs(se, { children: [
1422
1422
  /* @__PURE__ */ t.jsx(
1423
- b,
1423
+ g,
1424
1424
  {
1425
1425
  type: "button",
1426
1426
  variant: "outline",
@@ -1429,11 +1429,11 @@ function ms({
1429
1429
  }
1430
1430
  ),
1431
1431
  /* @__PURE__ */ t.jsx(
1432
- b,
1432
+ g,
1433
1433
  {
1434
1434
  type: "button",
1435
1435
  variant: "destructive",
1436
- onClick: M,
1436
+ onClick: P,
1437
1437
  disabled: d.isPending,
1438
1438
  children: d.isPending ? a("removing") : a("remove")
1439
1439
  }
@@ -1446,7 +1446,7 @@ function ms({
1446
1446
  }
1447
1447
  const hs = [
1448
1448
  { labelKey: "nav_profile", slug: "profile", icon: nt },
1449
- { labelKey: "nav_theme", key: "theme", icon: Pe },
1449
+ { labelKey: "nav_theme", key: "theme", icon: Me },
1450
1450
  { labelKey: "nav_content", key: "content", icon: rt },
1451
1451
  { labelKey: "nav_buttons", key: "buttons", icon: Ct }
1452
1452
  ];
@@ -1460,21 +1460,21 @@ function ps({
1460
1460
  onEditSection: a,
1461
1461
  onBackClick: l
1462
1462
  }) {
1463
- const { t: r } = D(), { navigate: o } = Oe(), { data: d, isLoading: u } = De(), { data: p = [] } = st(), m = Ue(), h = at({
1463
+ const { t: r } = D(), { navigate: o } = Oe(), { data: d, isLoading: u } = De(), { data: f = [] } = st(), m = Ue(), h = at({
1464
1464
  // The theme saves through here too, and only a slug write moves the URL.
1465
- onSuccess: (x) => x.slug === void 0 ? void 0 : Ke(m)
1466
- }), [y, j] = i.useState(0), v = i.useCallback(() => j((x) => x + 1), []), [N, M] = i.useState(null), C = N ?? d?.theme_id ?? p.find((x) => x.name === "Default")?.id ?? p[0]?.id ?? null, P = p.find((x) => x.id === C)?.name ?? "Default", k = d?.mysite_url ?? "", R = k ? k.replace(/^https?:\/\//, "") : "", L = d?.mysite_views ?? 0, S = d?.mysite_leads ?? 0, I = i.useCallback(
1467
- (x) => {
1468
- if (x.id === C) return;
1465
+ onSuccess: (p) => p.slug === void 0 ? void 0 : Ke(m)
1466
+ }), [y, j] = i.useState(0), v = i.useCallback(() => j((p) => p + 1), []), [N, P] = i.useState(null), C = N ?? d?.theme_id ?? f.find((p) => p.name === "Default")?.id ?? f[0]?.id ?? null, M = f.find((p) => p.id === C)?.name ?? "Default", k = d?.mysite_url ?? "", R = k ? k.replace(/^https?:\/\//, "") : "", L = d?.mysite_views ?? 0, S = d?.mysite_leads ?? 0, I = i.useCallback(
1467
+ (p) => {
1468
+ if (p.id === C) return;
1469
1469
  const z = N;
1470
- M(x.id), h.mutate(
1471
- { theme_id: x.id },
1470
+ P(p.id), h.mutate(
1471
+ { theme_id: p.id },
1472
1472
  {
1473
1473
  onSuccess: () => {
1474
- K(r("theme_changed", { name: x.name }), "success"), v();
1474
+ K(r("theme_changed", { name: p.name }), "success"), v();
1475
1475
  },
1476
1476
  onError: () => {
1477
- M(z), K(r("theme_update_failed"), "error");
1477
+ P(z), K(r("theme_update_failed"), "error");
1478
1478
  }
1479
1479
  }
1480
1480
  );
@@ -1487,10 +1487,10 @@ function ps({
1487
1487
  r
1488
1488
  ]
1489
1489
  ), F = i.useCallback(
1490
- async (x) => {
1490
+ async (p) => {
1491
1491
  await new Promise((z, O) => {
1492
1492
  h.mutate(
1493
- { slug: x },
1493
+ { slug: p },
1494
1494
  {
1495
1495
  onSuccess: () => z(),
1496
1496
  onError: () => O(new Error("Failed"))
@@ -1500,7 +1500,9 @@ function ps({
1500
1500
  },
1501
1501
  [h]
1502
1502
  ), $ = i.useCallback(() => {
1503
- k && window.open(k, "_blank");
1503
+ if (!k) return;
1504
+ const p = new URL(k);
1505
+ p.searchParams.set("rep_view", "true"), window.open(p.toString(), "_blank");
1504
1506
  }, [k]), H = i.useMemo(() => e === "theme" ? r("nav_theme") : e === "buttons" ? r("nav_buttons") : e === "content" ? r("nav_content") : "", [e, r]);
1505
1507
  if (u)
1506
1508
  return /* @__PURE__ */ t.jsxs("div", { className: "flex h-full flex-col overflow-y-auto px-2 py-6 2xl:flex-row 2xl:overflow-hidden", children: [
@@ -1530,7 +1532,7 @@ function ps({
1530
1532
  children: /* @__PURE__ */ t.jsx("div", { className: "flex min-w-0 flex-col gap-5 2xl:h-full 2xl:overflow-y-auto", children: n && e === "theme" ? /* @__PURE__ */ t.jsx(
1531
1533
  as,
1532
1534
  {
1533
- themes: p,
1535
+ themes: f,
1534
1536
  selectedThemeId: C,
1535
1537
  onSelectTheme: I,
1536
1538
  isPending: h.isPending,
@@ -1568,8 +1570,8 @@ function ps({
1568
1570
  onToast: K
1569
1571
  }
1570
1572
  ),
1571
- /* @__PURE__ */ t.jsx("div", { className: "border-border bg-card divide-border divide-y overflow-hidden rounded-lg border", children: hs.map((x) => {
1572
- const z = x.icon, O = "group hover:bg-muted flex w-full items-center gap-2.5 px-3 py-2.5 transition-colors text-left cursor-pointer", X = "slug" in x ? () => o(x.slug) : () => a(x.key);
1573
+ /* @__PURE__ */ t.jsx("div", { className: "border-border bg-card divide-border divide-y overflow-hidden rounded-lg border", children: hs.map((p) => {
1574
+ const z = p.icon, O = "group hover:bg-muted flex w-full items-center gap-2.5 px-3 py-2.5 transition-colors text-left cursor-pointer", X = "slug" in p ? () => o(p.slug) : () => a(p.key);
1573
1575
  return /* @__PURE__ */ t.jsxs(
1574
1576
  "button",
1575
1577
  {
@@ -1578,11 +1580,11 @@ function ps({
1578
1580
  className: O,
1579
1581
  children: [
1580
1582
  /* @__PURE__ */ t.jsx("div", { className: "bg-muted text-foreground flex size-7 shrink-0 items-center justify-center rounded-full", children: /* @__PURE__ */ t.jsx(z, { className: "size-3.5" }) }),
1581
- /* @__PURE__ */ t.jsx("span", { className: "text-foreground flex-1 text-sm font-medium", children: r(x.labelKey) }),
1583
+ /* @__PURE__ */ t.jsx("span", { className: "text-foreground flex-1 text-sm font-medium", children: r(p.labelKey) }),
1582
1584
  /* @__PURE__ */ t.jsx(ce, { className: "text-muted-foreground size-3 shrink-0 transition-transform group-hover:translate-x-0.5" })
1583
1585
  ]
1584
1586
  },
1585
- x.labelKey
1587
+ p.labelKey
1586
1588
  );
1587
1589
  }) })
1588
1590
  ] }) })
@@ -1596,7 +1598,7 @@ function ps({
1596
1598
  es,
1597
1599
  {
1598
1600
  mysiteUrl: k,
1599
- themeName: P,
1601
+ themeName: M,
1600
1602
  previewKey: y,
1601
1603
  isUpdating: h.isPending,
1602
1604
  onView: $
@@ -1628,7 +1630,7 @@ function fs() {
1628
1630
  r(), a(m), s("fade-out"), o("slide", T), o("fade-in", T + G), o("editing", T + G + T);
1629
1631
  },
1630
1632
  [r, o]
1631
- ), p = i.useCallback(() => {
1633
+ ), f = i.useCallback(() => {
1632
1634
  r(), s("exit-fade-out"), o("exit-slide", T), o("exit-fade-in", T + G);
1633
1635
  const m = setTimeout(
1634
1636
  () => {
@@ -1643,7 +1645,7 @@ function fs() {
1643
1645
  animPhase: e,
1644
1646
  showEditContent: d,
1645
1647
  handleEditSection: u,
1646
- handleBackClick: p
1648
+ handleBackClick: f
1647
1649
  };
1648
1650
  }
1649
1651
  function xs({
@@ -1656,9 +1658,9 @@ function xs({
1656
1658
  /* eslint-enable @typescript-eslint/no-unused-vars */
1657
1659
  ...r
1658
1660
  }) {
1659
- return /* @__PURE__ */ t.jsx(Wt, { children: /* @__PURE__ */ t.jsx(bs, { ...r }) });
1661
+ return /* @__PURE__ */ t.jsx(Wt, { children: /* @__PURE__ */ t.jsx(gs, { ...r }) });
1660
1662
  }
1661
- function bs(e) {
1663
+ function gs(e) {
1662
1664
  const { t: s } = D(), {
1663
1665
  editingSection: n,
1664
1666
  animPhase: a,
@@ -1666,8 +1668,8 @@ function bs(e) {
1666
1668
  handleEditSection: r,
1667
1669
  handleBackClick: o
1668
1670
  } = fs(), d = i.useMemo(() => n === "theme" ? s("nav_theme") : n === "buttons" ? s("nav_buttons") : n === "content" ? s("nav_content") : null, [n, s]), u = i.useCallback(
1669
- (p) => {
1670
- p.preventDefault(), n !== null && o();
1671
+ (f) => {
1672
+ f.preventDefault(), n !== null && o();
1671
1673
  },
1672
1674
  [n, o]
1673
1675
  );
@@ -1710,9 +1712,9 @@ function Ds() {
1710
1712
  ),
1711
1713
  [n, a, l, s]
1712
1714
  );
1713
- return /* @__PURE__ */ t.jsx(it, { value: r, children: /* @__PURE__ */ t.jsx(gs, {}) });
1715
+ return /* @__PURE__ */ t.jsx(it, { value: r, children: /* @__PURE__ */ t.jsx(bs, {}) });
1714
1716
  }
1715
- function gs() {
1717
+ function bs() {
1716
1718
  const { error: e } = De();
1717
1719
  if (e) throw e;
1718
1720
  return /* @__PURE__ */ t.jsx(xs, {});
@@ -1,5 +1,5 @@
1
1
  import { j as r } from "./account-screen-runtime-B9i-9CLs.js";
2
- import { M as e } from "./MemberShareablesScreen-CSIzbzek.js";
2
+ import { M as e } from "./MemberShareablesScreen-PJ9jwyvw.js";
3
3
  function a() {
4
4
  return /* @__PURE__ */ r.jsx(e, { curation: "always" });
5
5
  }
@@ -18,14 +18,14 @@ const p = {
18
18
  },
19
19
  media: async () => {
20
20
  const [t, e] = await Promise.all([
21
- import("./MediaScreen-CeQr5sOj.js"),
21
+ import("./MediaScreen-BS3OrepW.js"),
22
22
  import("./media-7vUjJ3C6.js")
23
23
  ]);
24
24
  return { Component: t.MediaScreen, styles: e.default };
25
25
  },
26
26
  playlists: async () => {
27
27
  const [t, e] = await Promise.all([
28
- import("./PlaylistsScreen-A2eZN-uN.js"),
28
+ import("./PlaylistsScreen-Bjn4PQ9h.js"),
29
29
  import("./playlists-7vUjJ3C6.js")
30
30
  ]);
31
31
  return { Component: t.PlaylistsScreen, styles: e.default };
@@ -53,7 +53,7 @@ const p = {
53
53
  },
54
54
  "my-site": async () => {
55
55
  const [t, e] = await Promise.all([
56
- import("./MySiteScreen-DXGS0LFN.js"),
56
+ import("./MySiteScreen-CdV3cRZT.js"),
57
57
  import("./mysite-BsaDPWEO.js")
58
58
  ]);
59
59
  return { Component: t.default, styles: e.default };
@@ -132,7 +132,7 @@ function h(t = "fluid-account-screen", e, s = !1) {
132
132
  this.status(!1);
133
133
  try {
134
134
  const [a, i] = await Promise.all([
135
- import("./mount-account-screen-CcYNiCEy.js"),
135
+ import("./mount-account-screen-BwJJMdmu.js"),
136
136
  w(r)
137
137
  ]);
138
138
  if (!this.isConnected || this.generation !== n) return;
@@ -18,8 +18,8 @@ import { u as cr, S as sr } from "./sidebar-SmEnwFoV.js";
18
18
  import { S as or } from "./store-api-context-TW7uud2C.js";
19
19
  import { s as dr, a as mr, b as vr, c as hr } from "./hey-api-client-EAWr0fT_.js";
20
20
  import { M as yr } from "./use-mobile-BChC77Fq.js";
21
- import { i as zv, n as rr } from "./navigate-account-screen-CzhKxkUa.js";
22
- import { a as gr } from "./cli-preview-C9cCdhnf.js";
21
+ import { i as zv, n as rr } from "./navigate-account-screen-BlVQfjX9.js";
22
+ import { a as gr } from "./cli-preview-CDRDu_i4.js";
23
23
  import { A as Sr } from "./arrow-left-Ds5JkG8w.js";
24
24
  /**
25
25
  * @license lucide-react v0.575.0 - ISC
@@ -1,4 +1,4 @@
1
- import { i as o } from "./cli-preview-C9cCdhnf.js";
1
+ import { i as o } from "./cli-preview-CDRDu_i4.js";
2
2
  function i(n) {
3
3
  if (!s(n)) return;
4
4
  const e = new URL(`/${n}`, window.location.origin), r = new URL(window.location.href);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fluid-app/fluid-cli-theme-dev",
3
- "version": "0.1.857",
3
+ "version": "0.1.859",
4
4
  "description": "Fluid CLI plugin for theme developer workflows — dev server, push, pull, init, crawl, compare",
5
5
  "files": [
6
6
  "dist",
@@ -21,7 +21,7 @@
21
21
  "access": "public"
22
22
  },
23
23
  "dependencies": {
24
- "@fluid-app/fluid-cli": "0.1.518",
24
+ "@fluid-app/fluid-cli": "0.1.520",
25
25
  "chalk": "^5.6.2",
26
26
  "chokidar": "^4.0.0",
27
27
  "commander": "^12.0.0",