@chaibuilder/sdk 1.0.19 → 1.0.21
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/{AddBlocks-eoo1CzaK.js → AddBlocks-0-e393Fn.js} +29 -27
- package/dist/AddBlocks-p68Cz79o.cjs +3 -0
- package/dist/BrandingOptions-HtNCJO9_.cjs +1 -0
- package/dist/{BrandingOptions-1zbCs5bl.js → BrandingOptions-QqqJ-YRb.js} +15 -22
- package/dist/{CanvasArea-Mpb5yTgf.js → CanvasArea-0hMAhzxn.js} +15 -14
- package/dist/{CanvasArea-AsL1cGRZ.cjs → CanvasArea-pZz5czrV.cjs} +4 -4
- package/dist/{CurrentPage-ddbm_deC.js → CurrentPage-UOkxZISs.js} +16 -15
- package/dist/CurrentPage-phMDH1Ub.cjs +1 -0
- package/dist/Layers-NKZXi2LV.cjs +1 -0
- package/dist/{Layers-3UtlSah_.js → Layers-TB-Lriju.js} +18 -17
- package/dist/MODIFIERS-MLfpKQY1.js +73 -0
- package/dist/MODIFIERS-WFzDQfiT.cjs +1 -0
- package/dist/MarkAsGlobalBlock-5h3wP4zj.cjs +1 -0
- package/dist/{MarkAsGlobalBlock-ySc-D4SB.js → MarkAsGlobalBlock-Pa8po8qP.js} +11 -10
- package/dist/PagesPanel-ffrNyFyp.cjs +1 -0
- package/dist/{PagesPanel-nLcJD9CK.js → PagesPanel-mAMSbYPt.js} +20 -19
- package/dist/ProjectPanel-1ywILLme.cjs +1 -0
- package/dist/{ProjectPanel-sFE2KDi-.js → ProjectPanel-XvsYajju.js} +17 -16
- package/dist/{Settings-UOB68lg0.js → Settings-8AbHXcDP.js} +98 -96
- package/dist/Settings-hdmnT_mI.cjs +1 -0
- package/dist/{SidePanels-IFF2nXXZ.js → SidePanels-LQg3mdC4.js} +28 -27
- package/dist/SidePanels-xaNrI3oK.cjs +1 -0
- package/dist/Topbar-A3WZDrK4.cjs +1 -0
- package/dist/{Topbar-lX9OMPwj.js → Topbar-wA6jhMj9.js} +27 -26
- package/dist/UnsplashImages-E8zPMgJf.cjs +1 -0
- package/dist/{UnsplashImages-u_QTABzi.js → UnsplashImages-mzIO1QeT.js} +9 -8
- package/dist/UploadImages-qEuDUEMn.cjs +1 -0
- package/dist/{UploadImages-gV5xDHIu.js → UploadImages-qMeaY4sk.js} +9 -8
- package/dist/add-page-modal-9deiA1W9.cjs +1 -0
- package/dist/{add-page-modal-1z_f7PxL.js → add-page-modal-oER3yE4F.js} +21 -19
- package/dist/{confirm-alert-ZQ-sxX0X.js → confirm-alert-rDSai_jQ.js} +10 -9
- package/dist/confirm-alert-tH8UCCSF.cjs +1 -0
- package/dist/controls-G0puEH71.js +120 -0
- package/dist/controls-aHZq-q4b.cjs +1 -0
- package/dist/core.cjs +1 -1
- package/dist/core.js +72 -71
- package/dist/{delete-page-modal-OnKk3P5L.js → delete-page-modal-QzQdrLYI.js} +22 -21
- package/dist/delete-page-modal-ShTRkqkB.cjs +1 -0
- package/dist/{form-Osm1AmO5.cjs → form-MlgUSEy_.cjs} +1 -1
- package/dist/{form-zZJyZuNH.js → form-vWeEsG9Y.js} +2 -2
- package/dist/functions-eu6BbvqO.cjs +2 -0
- package/dist/functions-hmbWDcnW.js +1108 -0
- package/dist/{index-2EHcmZqL.js → index-G55KtqnU.js} +191 -190
- package/dist/index-T5MFAHA0.cjs +1 -0
- package/dist/{index-2-Cf7p7w.js → index-mLIwGF5W.js} +5439 -5429
- package/dist/{index-vKSUqeQx.cjs → index-pCHSFoQO.cjs} +44 -44
- package/dist/{jsx-runtime-qAwJ85SY.js → jsx-runtime-NV737rRe.js} +1 -1
- package/dist/{jsx-runtime-WKRPbKtm.cjs → jsx-runtime-WUGKV8jN.cjs} +6 -6
- package/dist/lib.cjs +1 -2
- package/dist/lib.js +116 -1208
- package/dist/page-viewer-GPNN1H92.cjs +1 -0
- package/dist/{page-viewer-d2r9KEIw.js → page-viewer-X3IEOrUC.js} +18 -17
- package/dist/project-general-setting-HZeYf9A1.cjs +1 -0
- package/dist/{project-general-setting--Qu-QJlM.js → project-general-setting-oujmeWOG.js} +22 -20
- package/dist/project-seo-setting-3FZQXaTn.cjs +1 -0
- package/dist/{project-seo-setting-v6l-AbZS.js → project-seo-setting-_X6ckVa4.js} +17 -24
- package/dist/render.cjs +1 -1
- package/dist/render.js +39 -43
- package/dist/server.cjs +1 -1
- package/dist/server.js +1 -1
- package/dist/single-page-detail-ILshOKys.cjs +1 -0
- package/dist/{single-page-detail-olLc2XXk.js → single-page-detail-SxboE7TI.js} +47 -45
- package/dist/studio.cjs +1 -1
- package/dist/studio.js +20 -19
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +4 -4
- package/dist/ui.js +145 -144
- package/dist/utils-It2K33fU.cjs +1 -0
- package/dist/{Class-nQk08vqd.js → utils-PPBbw5bk.js} +115 -183
- package/package.json +2 -7
- package/dist/AddBlocks-jU0NwP_s.cjs +0 -3
- package/dist/BrandingOptions-DXAH3zCN.cjs +0 -1
- package/dist/Class-RZuPYbUS.cjs +0 -1
- package/dist/CurrentPage-VYXjpKJ-.cjs +0 -1
- package/dist/Layers-cUeI3Uhq.cjs +0 -1
- package/dist/MarkAsGlobalBlock-lYL8cO9x.cjs +0 -1
- package/dist/PagesPanel-iFpq7X9a.cjs +0 -1
- package/dist/ProjectPanel-Nq_fot83.cjs +0 -1
- package/dist/Settings-jiWn1Oof.cjs +0 -1
- package/dist/SidePanels-JhPtKGnL.cjs +0 -1
- package/dist/Topbar-qi5ab8rR.cjs +0 -1
- package/dist/UnsplashImages-a2r7b3kB.cjs +0 -1
- package/dist/UploadImages-jLQgLujd.cjs +0 -1
- package/dist/add-page-modal-iRSIjkvI.cjs +0 -1
- package/dist/blocks.cjs +0 -1
- package/dist/blocks.d.ts +0 -4
- package/dist/blocks.js +0 -20
- package/dist/confirm-alert-z74-fGOT.cjs +0 -1
- package/dist/delete-page-modal-a3Tb8T6e.cjs +0 -1
- package/dist/index-XvLiA8z7.js +0 -1191
- package/dist/index-c8zW_D2V.cjs +0 -1
- package/dist/index-fwo4wa7u.cjs +0 -1
- package/dist/index-gmZcUXyn.js +0 -25
- package/dist/index-l9moYwFE.cjs +0 -9
- package/dist/page-viewer-9OzvKHZd.cjs +0 -1
- package/dist/project-general-setting-15WMnfLc.cjs +0 -1
- package/dist/project-seo-setting-PvLLVhvk.cjs +0 -1
- package/dist/single-page-detail-jIi5lRLh.cjs +0 -1
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as a } from "./jsx-runtime-
|
|
1
|
+
import { j as a } from "./jsx-runtime-NV737rRe.js";
|
|
2
2
|
import * as p from "react";
|
|
3
3
|
import et, { createContext as Ls, useContext as zs, useRef as Pr, createElement as Tr, useReducer as $s, useEffect as je, useDebugValue as Vs, useCallback as A, useMemo as Fs, useState as De, Suspense as vt } from "react";
|
|
4
4
|
import * as zt from "@radix-ui/react-toggle";
|
|
5
5
|
import { cva as be } from "class-variance-authority";
|
|
6
|
-
import {
|
|
7
|
-
import * as
|
|
6
|
+
import { g as le, a as Pe, b as Gs, c } from "./utils-PPBbw5bk.js";
|
|
7
|
+
import * as He from "@radix-ui/react-switch";
|
|
8
8
|
import { Slot as Ws } from "@radix-ui/react-slot";
|
|
9
|
-
import * as
|
|
9
|
+
import * as pe from "@radix-ui/react-accordion";
|
|
10
10
|
import { ChevronDownIcon as Us, Cross2Icon as tt, ChevronRightIcon as st, CheckIcon as Ee, DotFilledIcon as ot, CaretSortIcon as Hs, MagnifyingGlassIcon as qs } from "@radix-ui/react-icons";
|
|
11
11
|
import * as V from "@radix-ui/react-alert-dialog";
|
|
12
12
|
import * as R from "@radix-ui/react-dialog";
|
|
13
|
-
import * as
|
|
13
|
+
import * as $t from "@radix-ui/react-label";
|
|
14
14
|
import * as me from "@radix-ui/react-scroll-area";
|
|
15
15
|
import * as xe from "@radix-ui/react-tabs";
|
|
16
16
|
import * as we from "@radix-ui/react-tooltip";
|
|
@@ -19,18 +19,19 @@ import * as _ from "@radix-ui/react-menubar";
|
|
|
19
19
|
import * as Oe from "@radix-ui/react-hover-card";
|
|
20
20
|
import * as L from "@radix-ui/react-select";
|
|
21
21
|
import * as T from "@radix-ui/react-dropdown-menu";
|
|
22
|
-
import * as
|
|
22
|
+
import * as Vt from "@radix-ui/react-separator";
|
|
23
23
|
import * as H from "@radix-ui/react-toast";
|
|
24
24
|
import { Command as W } from "cmdk";
|
|
25
25
|
import * as I from "@radix-ui/react-context-menu";
|
|
26
26
|
import Ks, { IconPickerItem as Js } from "react-icons-picker";
|
|
27
27
|
import Ys from "react-dom";
|
|
28
|
-
import { flatten as Y, filter as M, omit as at, isEmpty as oe, isString as Qs, find as te, map as $, each as ce, get as P, set as
|
|
28
|
+
import { flatten as Y, filter as M, omit as at, isEmpty as oe, isString as Qs, find as te, map as $, each as ce, get as P, set as fe, has as nt, includes as G, isUndefined as Vr, without as Ft, forIn as Gt, findIndex as Be, last as Xs, first as se, startsWith as Wt, isNull as qe, pick as wt, sortBy as Nt, isObject as Zs } from "lodash";
|
|
29
29
|
import eo from "react-quill";
|
|
30
30
|
import { atom as y, useAtom as C, useAtomValue as O, useSetAtom as de } from "jotai";
|
|
31
|
-
import
|
|
31
|
+
import Ut from "flat-to-nested";
|
|
32
32
|
import to, { excludeAction as so, ActionCreators as $e } from "redux-undo";
|
|
33
|
-
import {
|
|
33
|
+
import { a as ge, I as Ht, S as Ke, B as Je } from "./MODIFIERS-MLfpKQY1.js";
|
|
34
|
+
import { useChaiBlocks as oo } from "@chaibuilder/runtime";
|
|
34
35
|
import { useThrottledCallback as ao } from "@react-hookz/web";
|
|
35
36
|
import "react-i18next";
|
|
36
37
|
var z = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
@@ -391,7 +392,7 @@ function xo(e, t) {
|
|
|
391
392
|
[s, e]
|
|
392
393
|
);
|
|
393
394
|
}
|
|
394
|
-
function
|
|
395
|
+
function Yr(e, t) {
|
|
395
396
|
return [
|
|
396
397
|
bo(e, t),
|
|
397
398
|
// We do wrong type assertion here, which results in throwing an error.
|
|
@@ -508,7 +509,7 @@ function ko(e, t) {
|
|
|
508
509
|
t || wo
|
|
509
510
|
);
|
|
510
511
|
}
|
|
511
|
-
function
|
|
512
|
+
function Qr(e) {
|
|
512
513
|
const t = Symbol(), s = Z(t);
|
|
513
514
|
(rt ? "production" : void 0) !== "production" && (s.debugPrivate = !0);
|
|
514
515
|
const o = Z(
|
|
@@ -599,11 +600,11 @@ const it = y(null);
|
|
|
599
600
|
it.debugLabel = "chaiBuilderPropsAtom";
|
|
600
601
|
const Co = y({});
|
|
601
602
|
Co.debugLabel = "chaiExternalDataAtom";
|
|
602
|
-
const
|
|
603
|
-
const t = e.replace(
|
|
603
|
+
const Xr = () => !1, _o = (e) => {
|
|
604
|
+
const t = e.replace(ge, "").split(",");
|
|
604
605
|
return { baseClasses: t[0], classes: t[1] };
|
|
605
606
|
};
|
|
606
|
-
const Bo = new
|
|
607
|
+
const Bo = new Ut({ children: "blockNodes" }), Jt = (e, t = null) => Y(
|
|
607
608
|
e.map((s) => {
|
|
608
609
|
if (s = t !== null ? { ...s, parent: t } : s, s.children && s.children.length) {
|
|
609
610
|
const o = [...s.children];
|
|
@@ -670,7 +671,7 @@ const To = to(
|
|
|
670
671
|
case "update_props_realtime":
|
|
671
672
|
const { payload: s } = t;
|
|
672
673
|
return e.map((o) => (s.ids.includes(o._id) && !oe(t.payload.props) && Object.keys(t.payload.props).forEach((n) => {
|
|
673
|
-
|
|
674
|
+
fe(o, n, t.payload.props[n]);
|
|
674
675
|
}), o));
|
|
675
676
|
default:
|
|
676
677
|
return e;
|
|
@@ -716,7 +717,7 @@ es.debugLabel = "globalBlocksAtom";
|
|
|
716
717
|
const q = () => {
|
|
717
718
|
const [, e] = C(Le);
|
|
718
719
|
return e;
|
|
719
|
-
},
|
|
720
|
+
}, Zr = () => {
|
|
720
721
|
const e = q(), t = O(Xt), s = A(
|
|
721
722
|
(o) => {
|
|
722
723
|
const n = Jt(o);
|
|
@@ -725,7 +726,7 @@ const q = () => {
|
|
|
725
726
|
[e]
|
|
726
727
|
);
|
|
727
728
|
return [t, s];
|
|
728
|
-
},
|
|
729
|
+
}, ei = () => {
|
|
729
730
|
const e = q();
|
|
730
731
|
return [A(
|
|
731
732
|
(s) => {
|
|
@@ -735,11 +736,11 @@ const q = () => {
|
|
|
735
736
|
)];
|
|
736
737
|
}, Ye = (e) => ["Box", "Slot", "Form", "DataProvider", "Link", "List", "ListItem", "Row", "Column", "Table", "TableCell"].includes(
|
|
737
738
|
e
|
|
738
|
-
),
|
|
739
|
+
), ti = (e) => !["Slot"].includes(e), si = (e) => !["Slot"].includes(e);
|
|
739
740
|
function Eo(e, t) {
|
|
740
741
|
return e === "Slot" || t === "List" && e !== "ListItem" || t === "Row" && e !== "Column" ? !1 : Ye(t);
|
|
741
742
|
}
|
|
742
|
-
const
|
|
743
|
+
const oi = (e, { dragSource: t, dropTarget: s }) => {
|
|
743
744
|
const o = P(t, "data._type", ""), n = P(s, "data._type", "");
|
|
744
745
|
return o === "Slot" || P(t, "id") && P(t, "id") === P(s, "id") ? !1 : oe(n) ? !0 : Eo(o, n);
|
|
745
746
|
}, ct = y([]);
|
|
@@ -773,14 +774,14 @@ const mt = y("");
|
|
|
773
774
|
mt.debugLabel = "styleStateAtom";
|
|
774
775
|
const os = Ae("styleBreakpoint", "xs");
|
|
775
776
|
os.debugLabel = "styleBreakpointAtom";
|
|
776
|
-
const
|
|
777
|
+
const ai = () => ({
|
|
777
778
|
flexChild: O(ts),
|
|
778
779
|
gridChild: O(ss)
|
|
779
|
-
}),
|
|
780
|
+
}), ni = () => O(ut);
|
|
780
781
|
const Ce = () => {
|
|
781
782
|
const [e, t] = C(ct), s = A(
|
|
782
783
|
(o) => {
|
|
783
|
-
t((n) => G(n, o) ?
|
|
784
|
+
t((n) => G(n, o) ? Ft(n, o) : [...n, o]);
|
|
784
785
|
},
|
|
785
786
|
[t]
|
|
786
787
|
);
|
|
@@ -843,7 +844,7 @@ const Ce = () => {
|
|
|
843
844
|
if (G(["slot", "styles"], l.type))
|
|
844
845
|
return;
|
|
845
846
|
const f = P(l, "i18n", !1) ? `${m}-${t}` : m;
|
|
846
|
-
u.items.properties[f] = Rt(l, t),
|
|
847
|
+
u.items.properties[f] = Rt(l, t), fe(u.items, "title", P(l, "itemTitle", `${i} item`));
|
|
847
848
|
}), u;
|
|
848
849
|
default:
|
|
849
850
|
return {};
|
|
@@ -859,8 +860,8 @@ const Ce = () => {
|
|
|
859
860
|
const { itemProperties: t } = e;
|
|
860
861
|
return $(e.default, (s) => {
|
|
861
862
|
const o = { ...s };
|
|
862
|
-
return
|
|
863
|
-
nt(t, r) && P(t[r], "i18n", !1) && (o[r] =
|
|
863
|
+
return Gt(s, (n, r) => {
|
|
864
|
+
nt(t, r) && P(t[r], "i18n", !1) && (o[r] = Ht);
|
|
864
865
|
}), o;
|
|
865
866
|
});
|
|
866
867
|
}, $o = (e) => {
|
|
@@ -868,10 +869,10 @@ const Ce = () => {
|
|
|
868
869
|
case "styles":
|
|
869
870
|
return e.default;
|
|
870
871
|
case "slot":
|
|
871
|
-
return `${
|
|
872
|
+
return `${Ke}${le()}`;
|
|
872
873
|
case "singular":
|
|
873
874
|
const { i18n: t, schema: s } = e;
|
|
874
|
-
return t ?
|
|
875
|
+
return t ? Ht : P(s, "default", "");
|
|
875
876
|
case "model":
|
|
876
877
|
return as(e.properties);
|
|
877
878
|
case "list":
|
|
@@ -898,7 +899,7 @@ function Pt(e, t, s, o, n) {
|
|
|
898
899
|
const u = r + 1;
|
|
899
900
|
return e.splice(u, 0, ...o), e;
|
|
900
901
|
}
|
|
901
|
-
const
|
|
902
|
+
const ri = () => {
|
|
902
903
|
const e = q(), t = Vo(), [, s] = Ce(), o = A(
|
|
903
904
|
(r, i, u) => {
|
|
904
905
|
var f;
|
|
@@ -926,9 +927,9 @@ const ni = () => {
|
|
|
926
927
|
return o(K, i, u);
|
|
927
928
|
}
|
|
928
929
|
const m = le(), l = as(r.props), f = [];
|
|
929
|
-
|
|
930
|
-
if (
|
|
931
|
-
const he = K.replace(
|
|
930
|
+
Gt(l, (K, ae) => {
|
|
931
|
+
if (Wt(K, Ke)) {
|
|
932
|
+
const he = K.replace(Ke, "");
|
|
932
933
|
f.push({
|
|
933
934
|
_id: he,
|
|
934
935
|
_type: "Slot",
|
|
@@ -989,8 +990,8 @@ function Go(e = "", t = "", s = []) {
|
|
|
989
990
|
e = e.trim().replace(/ +/g, "");
|
|
990
991
|
let o = M(
|
|
991
992
|
$(e.split(" "), Pe),
|
|
992
|
-
(l) => !
|
|
993
|
-
), n = M($(t.split(" "), Pe), (l) => !
|
|
993
|
+
(l) => !qe(l)
|
|
994
|
+
), n = M($(t.split(" "), Pe), (l) => !qe(l));
|
|
994
995
|
n = M(
|
|
995
996
|
n,
|
|
996
997
|
(l) => !G(Mt, l.property)
|
|
@@ -1025,7 +1026,7 @@ function Go(e = "", t = "", s = []) {
|
|
|
1025
1026
|
const _e = y([]);
|
|
1026
1027
|
_e.debugLabel = "selectedStylingBlocksAtom";
|
|
1027
1028
|
const ns = () => C(_e), Wo = (e) => {
|
|
1028
|
-
const t = e.replace(
|
|
1029
|
+
const t = e.replace(ge, "").split(",");
|
|
1029
1030
|
return { baseClasses: t[0], classes: t[1] };
|
|
1030
1031
|
}, Uo = y(null, (e, t, { blockIds: s, newClasses: o, dispatch: n }) => {
|
|
1031
1032
|
const r = M(
|
|
@@ -1036,16 +1037,16 @@ const ns = () => C(_e), Wo = (e) => {
|
|
|
1036
1037
|
)
|
|
1037
1038
|
), i = se(e(_e));
|
|
1038
1039
|
ce(r, (u) => {
|
|
1039
|
-
const m = e(u), l = P(m, i.prop, `${
|
|
1040
|
+
const m = e(u), l = P(m, i.prop, `${ge},`), { baseClasses: f, classes: w } = Wo(l);
|
|
1040
1041
|
n({
|
|
1041
1042
|
type: "update_props_realtime",
|
|
1042
1043
|
payload: {
|
|
1043
1044
|
ids: [m._id],
|
|
1044
|
-
props: { [i.prop]: `${
|
|
1045
|
+
props: { [i.prop]: `${ge}${Go(w, f, o)}` }
|
|
1045
1046
|
}
|
|
1046
1047
|
});
|
|
1047
1048
|
});
|
|
1048
|
-
}),
|
|
1049
|
+
}), ii = () => {
|
|
1049
1050
|
const e = q(), t = de(Uo);
|
|
1050
1051
|
return A(
|
|
1051
1052
|
(s, o, n) => {
|
|
@@ -1062,13 +1063,13 @@ const ns = () => C(_e), Wo = (e) => {
|
|
|
1062
1063
|
}, qo = y(!1), Ko = () => {
|
|
1063
1064
|
const [e, t] = C(qo);
|
|
1064
1065
|
return [e, t];
|
|
1065
|
-
}, Jo = y(
|
|
1066
|
+
}, Jo = y(Je), Yo = () => {
|
|
1066
1067
|
const [e, t] = C(Jo);
|
|
1067
1068
|
return [
|
|
1068
|
-
Zs(e) ? { ...
|
|
1069
|
+
Zs(e) ? { ...Je, ...e } : Je,
|
|
1069
1070
|
t
|
|
1070
1071
|
];
|
|
1071
|
-
}, Qo = y(null), Xo = () => ({ currentPage: O(Qo) }), rs = new
|
|
1072
|
+
}, Qo = y(null), Xo = () => ({ currentPage: O(Qo) }), rs = new Ut({});
|
|
1072
1073
|
function Zo(e) {
|
|
1073
1074
|
let t = rs.convert(e);
|
|
1074
1075
|
return t = !t.type && t.children && t.children.length ? t.children : oe(t) ? [] : [t], t;
|
|
@@ -1102,11 +1103,11 @@ function is(e) {
|
|
|
1102
1103
|
function ea(e) {
|
|
1103
1104
|
let t = [];
|
|
1104
1105
|
const s = P(se(e), "parent", null);
|
|
1105
|
-
|
|
1106
|
+
fe(se(e), "parent", null);
|
|
1106
1107
|
const o = [rs.convert(cs(e))];
|
|
1107
1108
|
ft(o, !0);
|
|
1108
1109
|
let n = pt(o, e[0]._id);
|
|
1109
|
-
return n =
|
|
1110
|
+
return n = fe(n, "0.parent", s), t = [...t, n, ...is(n)], t;
|
|
1110
1111
|
}
|
|
1111
1112
|
function ls(e) {
|
|
1112
1113
|
const t = te(Qe, { _id: e._id });
|
|
@@ -1122,7 +1123,7 @@ function ta(e) {
|
|
|
1122
1123
|
const t = Zo(cs(e));
|
|
1123
1124
|
ft(t);
|
|
1124
1125
|
const s = pt(t, null), o = is(s), n = {};
|
|
1125
|
-
return ce(o, (r) =>
|
|
1126
|
+
return ce(o, (r) => fe(n, se(r).blockId, r)), [s, n];
|
|
1126
1127
|
}
|
|
1127
1128
|
const ds = () => {
|
|
1128
1129
|
const [e] = Yo(), { currentPage: t } = Xo(), s = O(Q);
|
|
@@ -1170,7 +1171,7 @@ const ms = y([]);
|
|
|
1170
1171
|
ms.debugLabel = "dataProvidersAtom";
|
|
1171
1172
|
const pa = () => C(ms), gt = y("SAVED");
|
|
1172
1173
|
gt.debugLabel = "pageSyncStateAtom";
|
|
1173
|
-
const
|
|
1174
|
+
const li = () => {
|
|
1174
1175
|
const [e, t] = C(gt), s = ve("onSaveBlocks", async () => {
|
|
1175
1176
|
}), o = ve("onSavePage", async () => {
|
|
1176
1177
|
}), n = ve("onSyncStatusChange", () => {
|
|
@@ -1215,12 +1216,12 @@ const ii = () => {
|
|
|
1215
1216
|
}, fa = () => C(os), ps = Ae("canvasWidth", 800), fs = y((e) => {
|
|
1216
1217
|
const t = e(ps);
|
|
1217
1218
|
return Gs(t).toLowerCase();
|
|
1218
|
-
}),
|
|
1219
|
+
}), ci = () => {
|
|
1219
1220
|
const [e, t] = C(ps), s = O(fs), [o, n] = fa();
|
|
1220
1221
|
return je(() => {
|
|
1221
1222
|
o !== "xs" && n(s);
|
|
1222
1223
|
}, [s, o, n]), [e, s, t];
|
|
1223
|
-
}, ga = Ae("canvasZoom", 100),
|
|
1224
|
+
}, ga = Ae("canvasZoom", 100), di = () => C(ga), gs = y([]), ba = () => {
|
|
1224
1225
|
const [e, t] = C(gs), s = de(xt), o = A(
|
|
1225
1226
|
(n) => {
|
|
1226
1227
|
t(n), s([]);
|
|
@@ -1228,7 +1229,7 @@ const ii = () => {
|
|
|
1228
1229
|
[t, s]
|
|
1229
1230
|
);
|
|
1230
1231
|
return [e, o];
|
|
1231
|
-
}, xt = y([]),
|
|
1232
|
+
}, xt = y([]), ui = () => {
|
|
1232
1233
|
const [e, t] = C(xt), s = de(gs), o = A(
|
|
1233
1234
|
(n) => {
|
|
1234
1235
|
t(n), s([]);
|
|
@@ -1236,10 +1237,10 @@ const ii = () => {
|
|
|
1236
1237
|
[t, s]
|
|
1237
1238
|
);
|
|
1238
1239
|
return [e, o];
|
|
1239
|
-
}, bs = Ae("darkMode", !1),
|
|
1240
|
+
}, bs = Ae("darkMode", !1), mi = () => {
|
|
1240
1241
|
const [e, t] = C(bs);
|
|
1241
1242
|
return [e, t];
|
|
1242
|
-
}, xa = y(!1),
|
|
1243
|
+
}, xa = y(!1), pi = () => {
|
|
1243
1244
|
const [e, t] = C(xa);
|
|
1244
1245
|
return [e, t];
|
|
1245
1246
|
}, ha = () => {
|
|
@@ -1254,15 +1255,15 @@ const ii = () => {
|
|
|
1254
1255
|
},
|
|
1255
1256
|
[t, s, e]
|
|
1256
1257
|
);
|
|
1257
|
-
}, ya = y([]),
|
|
1258
|
+
}, ya = y([]), fi = () => {
|
|
1258
1259
|
const [e, t] = C(ya), s = A(
|
|
1259
1260
|
(o) => {
|
|
1260
|
-
t((n) => G(n, o) ?
|
|
1261
|
+
t((n) => G(n, o) ? Ft(n, o) : [...n, o]);
|
|
1261
1262
|
},
|
|
1262
1263
|
[t]
|
|
1263
1264
|
);
|
|
1264
1265
|
return [e, t, s];
|
|
1265
|
-
}, va = y(""), wa = () => C(va),
|
|
1266
|
+
}, va = y(""), wa = () => C(va), gi = () => {
|
|
1266
1267
|
const e = O(Q), t = q(), s = ds(), [, , o] = Ho();
|
|
1267
1268
|
return A(
|
|
1268
1269
|
async (n, r) => {
|
|
@@ -1271,16 +1272,16 @@ const ii = () => {
|
|
|
1271
1272
|
},
|
|
1272
1273
|
[e, t, s, o]
|
|
1273
1274
|
);
|
|
1274
|
-
},
|
|
1275
|
+
}, bi = () => ({}), Na = () => {
|
|
1275
1276
|
const e = O(Q), t = q();
|
|
1276
1277
|
return A(
|
|
1277
1278
|
(s, o) => {
|
|
1278
|
-
const n = $(e, (r) => (G(s, P(r, "_id")) &&
|
|
1279
|
+
const n = $(e, (r) => (G(s, P(r, "_id")) && fe(r, "_parent", o), r));
|
|
1279
1280
|
t({ type: "set_blocks", payload: n });
|
|
1280
1281
|
},
|
|
1281
1282
|
[e, t]
|
|
1282
1283
|
);
|
|
1283
|
-
},
|
|
1284
|
+
}, xi = () => {
|
|
1284
1285
|
const e = O(xt), [t, s] = ba(), o = ha(), n = Na();
|
|
1285
1286
|
return {
|
|
1286
1287
|
canPaste: Fs(
|
|
@@ -1294,7 +1295,7 @@ const ii = () => {
|
|
|
1294
1295
|
[t, e, o, n, s]
|
|
1295
1296
|
)
|
|
1296
1297
|
};
|
|
1297
|
-
}, ka = y(""),
|
|
1298
|
+
}, ka = y(""), hi = () => {
|
|
1298
1299
|
const e = O(ka), t = A(() => {
|
|
1299
1300
|
}, []), s = A(() => {
|
|
1300
1301
|
}, []), o = A(() => {
|
|
@@ -1303,7 +1304,7 @@ const ii = () => {
|
|
|
1303
1304
|
}, xs = (e, t) => {
|
|
1304
1305
|
const s = [], o = M(e, (n) => G(t, n._id) || G(t, n._parent) ? (s.push(n._id), !1) : !0);
|
|
1305
1306
|
return oe(s) ? o : xs(o, s);
|
|
1306
|
-
},
|
|
1307
|
+
}, yi = () => {
|
|
1307
1308
|
const e = q(), t = O(Q), [s, o] = Ce();
|
|
1308
1309
|
return A(
|
|
1309
1310
|
(n) => {
|
|
@@ -1337,12 +1338,12 @@ const ii = () => {
|
|
|
1337
1338
|
payload: {
|
|
1338
1339
|
ids: [m._id],
|
|
1339
1340
|
props: {
|
|
1340
|
-
[r.prop]: `${
|
|
1341
|
+
[r.prop]: `${ge}${w},${f}`
|
|
1341
1342
|
}
|
|
1342
1343
|
}
|
|
1343
1344
|
});
|
|
1344
1345
|
});
|
|
1345
|
-
}),
|
|
1346
|
+
}), vi = () => {
|
|
1346
1347
|
const e = q(), t = de(Sa);
|
|
1347
1348
|
return A(
|
|
1348
1349
|
(s, o) => {
|
|
@@ -1354,12 +1355,12 @@ const ii = () => {
|
|
|
1354
1355
|
const t = se(e(_e)), s = e(ut);
|
|
1355
1356
|
if (!t || t.blockId !== P(s, "_id", null))
|
|
1356
1357
|
return [];
|
|
1357
|
-
const n = P(s, t.prop, `${
|
|
1358
|
-
return M($(n.trim().split(" "), Pe), (r) => !
|
|
1359
|
-
}),
|
|
1358
|
+
const n = P(s, t.prop, `${ge},`).replace(ge, "").split(",").join(" ");
|
|
1359
|
+
return M($(n.trim().split(" "), Pe), (r) => !qe(r));
|
|
1360
|
+
}), wi = () => O(hs), Et = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, ja = y((e) => {
|
|
1360
1361
|
const t = e(fs), s = e(mt), o = e(bs), n = Aa(t);
|
|
1361
1362
|
let r = M(e(hs), { mod: s });
|
|
1362
|
-
return
|
|
1363
|
+
return Wt(s, "_") || (r = M(r, (i) => n.includes(i.mq))), r = r.sort((i, u) => Et[i.mq] - Et[u.mq]), o || (r = M(r, { dark: !1 })), r;
|
|
1363
1364
|
}), Aa = (e) => {
|
|
1364
1365
|
let t = [];
|
|
1365
1366
|
switch (e) {
|
|
@@ -1386,12 +1387,12 @@ const ii = () => {
|
|
|
1386
1387
|
break;
|
|
1387
1388
|
}
|
|
1388
1389
|
return t;
|
|
1389
|
-
},
|
|
1390
|
+
}, Ni = () => O(ja), ki = () => C(mt), ys = y(null, (e, t, { blockIds: s, props: o, dispatch: n }) => {
|
|
1390
1391
|
n({
|
|
1391
1392
|
type: "update_props_realtime",
|
|
1392
1393
|
payload: { ids: s, props: o }
|
|
1393
1394
|
});
|
|
1394
|
-
}),
|
|
1395
|
+
}), Si = () => {
|
|
1395
1396
|
const { createSnapshot: e } = bt(), t = q(), s = de(ys);
|
|
1396
1397
|
return A(
|
|
1397
1398
|
(o, n) => {
|
|
@@ -1399,7 +1400,7 @@ const ii = () => {
|
|
|
1399
1400
|
},
|
|
1400
1401
|
[e, t, s]
|
|
1401
1402
|
);
|
|
1402
|
-
},
|
|
1403
|
+
}, ji = () => {
|
|
1403
1404
|
const e = q(), t = de(ys);
|
|
1404
1405
|
return A(
|
|
1405
1406
|
(s, o) => {
|
|
@@ -1412,7 +1413,7 @@ const ii = () => {
|
|
|
1412
1413
|
props: {},
|
|
1413
1414
|
modalProps: {},
|
|
1414
1415
|
backdropClose: !0
|
|
1415
|
-
}, Ca = y(vs),
|
|
1416
|
+
}, Ca = y(vs), Ai = () => {
|
|
1416
1417
|
const [e, t] = C(Ca), s = A(
|
|
1417
1418
|
(n, r = {}, i = {}) => {
|
|
1418
1419
|
t({ name: n, props: r, modalProps: i });
|
|
@@ -1430,31 +1431,31 @@ const ii = () => {
|
|
|
1430
1431
|
openModal: s,
|
|
1431
1432
|
closeModal: o
|
|
1432
1433
|
};
|
|
1433
|
-
},
|
|
1434
|
+
}, Ci = () => O(us), _a = y(""), Ba = y(null), _i = () => C(_a), Bi = () => C(Ba), Ra = Ae("selectedBreakpoints", ["XS", "MD", "XL"]), Ri = () => {
|
|
1434
1435
|
const [e, t] = C(Ra);
|
|
1435
1436
|
return [e, t];
|
|
1436
|
-
},
|
|
1437
|
+
}, Pi = () => {
|
|
1437
1438
|
const e = de(ze), { clear: t } = bt(), [, s] = Ce(), [, o] = wa(), [, n] = ns();
|
|
1438
1439
|
return () => {
|
|
1439
1440
|
s([]), n([]), o(""), t(), e({ undoCount: 0, redoCount: 0 });
|
|
1440
1441
|
};
|
|
1441
|
-
}, Pa = y({ en: {} }),
|
|
1442
|
+
}, Pa = y({ en: {} }), Ti = () => {
|
|
1442
1443
|
const [e, t] = C(Pa), s = A(
|
|
1443
1444
|
(o, n, r) => {
|
|
1444
|
-
|
|
1445
|
+
fe(e, `${o}.${n}`, r), t(e);
|
|
1445
1446
|
},
|
|
1446
1447
|
[e, t]
|
|
1447
1448
|
);
|
|
1448
1449
|
return [e, s];
|
|
1449
|
-
},
|
|
1450
|
+
}, Ii = (e, t) => {
|
|
1450
1451
|
const [s] = C(it);
|
|
1451
1452
|
return P(s, e, t);
|
|
1452
|
-
}, Ta = y([]),
|
|
1453
|
+
}, Ta = y([]), Mi = () => {
|
|
1453
1454
|
const [e, t] = De(!1), [s, o] = C(Ta), n = ve("getUILibraryBlocks", () => []);
|
|
1454
1455
|
return je(() => {
|
|
1455
1456
|
(async () => s.length > 0 || (t(!0), o(await n()), t(!1)))();
|
|
1456
1457
|
}, []), { data: s, isLoading: e };
|
|
1457
|
-
}, Ia = y("en"), Ma = y("en"), Da = y(["en"]), Ea = () => C(Ia),
|
|
1458
|
+
}, Ia = y("en"), Ma = y("en"), Da = y(["en"]), Ea = () => C(Ia), Di = () => C(Ma), Ei = () => C(Da), Oi = (e, t) => {
|
|
1458
1459
|
const [s] = Ea(), o = `${e}${s ? `-${s}` : ""}`;
|
|
1459
1460
|
return { content: P(t, o, P(t, e, "")), propKey: e };
|
|
1460
1461
|
}, Oa = be(
|
|
@@ -1479,7 +1480,7 @@ const ii = () => {
|
|
|
1479
1480
|
), La = p.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(zt.Root, { ref: n, className: c(Oa({ variant: t, size: s, className: e })), ...o }));
|
|
1480
1481
|
La.displayName = zt.Root.displayName;
|
|
1481
1482
|
const za = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1482
|
-
|
|
1483
|
+
He.Root,
|
|
1483
1484
|
{
|
|
1484
1485
|
className: c(
|
|
1485
1486
|
"peer inline-flex h-[24px] w-[44px] shrink-0 cursor-pointer items-center rounded-full border-2 border-transparent transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-slate-400 focus-visible:ring-offset-2 focus-visible:ring-offset-white disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-slate-900 data-[state=unchecked]:bg-slate-200 dark:focus-visible:ring-slate-800 dark:focus-visible:ring-offset-slate-950 dark:data-[state=checked]:bg-slate-50 dark:data-[state=unchecked]:bg-slate-800",
|
|
@@ -1488,7 +1489,7 @@ const za = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1488
1489
|
...t,
|
|
1489
1490
|
ref: s,
|
|
1490
1491
|
children: /* @__PURE__ */ a.jsx(
|
|
1491
|
-
|
|
1492
|
+
He.Thumb,
|
|
1492
1493
|
{
|
|
1493
1494
|
className: c(
|
|
1494
1495
|
"pointer-events-none block h-5 w-5 rounded-full bg-white shadow-lg ring-0 transition-transform data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 dark:bg-slate-950"
|
|
@@ -1497,7 +1498,7 @@ const za = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1497
1498
|
)
|
|
1498
1499
|
}
|
|
1499
1500
|
));
|
|
1500
|
-
za.displayName =
|
|
1501
|
+
za.displayName = He.Root.displayName;
|
|
1501
1502
|
const ht = be(
|
|
1502
1503
|
"inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50",
|
|
1503
1504
|
{
|
|
@@ -1529,10 +1530,10 @@ const ht = be(
|
|
|
1529
1530
|
}
|
|
1530
1531
|
);
|
|
1531
1532
|
$a.displayName = "Button";
|
|
1532
|
-
const
|
|
1533
|
+
const Li = pe.Root, Va = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(pe.Item, { ref: s, className: c("border-b", e), ...t }));
|
|
1533
1534
|
Va.displayName = "AccordionItem";
|
|
1534
|
-
const Fa = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1535
|
-
|
|
1535
|
+
const Fa = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(pe.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
|
|
1536
|
+
pe.Trigger,
|
|
1536
1537
|
{
|
|
1537
1538
|
ref: o,
|
|
1538
1539
|
className: c(
|
|
@@ -1546,9 +1547,9 @@ const Fa = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1546
1547
|
]
|
|
1547
1548
|
}
|
|
1548
1549
|
) }));
|
|
1549
|
-
Fa.displayName =
|
|
1550
|
+
Fa.displayName = pe.Trigger.displayName;
|
|
1550
1551
|
const Ga = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1551
|
-
|
|
1552
|
+
pe.Content,
|
|
1552
1553
|
{
|
|
1553
1554
|
ref: o,
|
|
1554
1555
|
className: c(
|
|
@@ -1559,7 +1560,7 @@ const Ga = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1559
1560
|
children: /* @__PURE__ */ a.jsx("div", { className: "pb-4 pt-0", children: t })
|
|
1560
1561
|
}
|
|
1561
1562
|
));
|
|
1562
|
-
Ga.displayName =
|
|
1563
|
+
Ga.displayName = pe.Content.displayName;
|
|
1563
1564
|
const Wa = be(
|
|
1564
1565
|
"relative w-full rounded-lg border px-4 py-3 text-sm [&:has(svg)]:pl-11 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground",
|
|
1565
1566
|
{
|
|
@@ -1598,7 +1599,7 @@ const Ka = be(
|
|
|
1598
1599
|
variant: "default"
|
|
1599
1600
|
}
|
|
1600
1601
|
}
|
|
1601
|
-
),
|
|
1602
|
+
), zi = ({ className: e, variant: t, ...s }) => /* @__PURE__ */ a.jsx("div", { className: c(Ka({ variant: t }), e), ...s }), $i = V.Root, Vi = V.Trigger, ws = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(V.Portal, { className: c(e), ...t });
|
|
1602
1603
|
ws.displayName = V.Portal.displayName;
|
|
1603
1604
|
const Ns = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1604
1605
|
V.Overlay,
|
|
@@ -1732,8 +1733,8 @@ const fn = p.forwardRef(({ className: e, type: t, ...s }, o) => /* @__PURE__ */
|
|
|
1732
1733
|
}
|
|
1733
1734
|
));
|
|
1734
1735
|
fn.displayName = "Input";
|
|
1735
|
-
const gn = be("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), bn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1736
|
-
bn.displayName =
|
|
1736
|
+
const gn = be("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"), bn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx($t.Root, { ref: s, className: c(gn(), e), ...t }));
|
|
1737
|
+
bn.displayName = $t.Root.displayName;
|
|
1737
1738
|
const xn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1738
1739
|
"textarea",
|
|
1739
1740
|
{
|
|
@@ -1804,7 +1805,7 @@ const Ze = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1804
1805
|
}
|
|
1805
1806
|
));
|
|
1806
1807
|
Ze.displayName = xe.Content.displayName;
|
|
1807
|
-
const
|
|
1808
|
+
const Fi = we.Portal, Gi = we.Provider, Wi = we.Root, Ui = we.Trigger, vn = p.forwardRef(({ className: e, sideOffset: t = 4, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1808
1809
|
we.Content,
|
|
1809
1810
|
{
|
|
1810
1811
|
ref: o,
|
|
@@ -1817,7 +1818,7 @@ const Vi = we.Portal, Fi = we.Provider, Gi = we.Root, Wi = we.Trigger, vn = p.fo
|
|
|
1817
1818
|
}
|
|
1818
1819
|
));
|
|
1819
1820
|
vn.displayName = we.Content.displayName;
|
|
1820
|
-
const
|
|
1821
|
+
const Hi = Se.Root, qi = Se.Trigger, wn = p.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(Se.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
1821
1822
|
Se.Content,
|
|
1822
1823
|
{
|
|
1823
1824
|
ref: n,
|
|
@@ -1831,7 +1832,7 @@ const Ui = Se.Root, Hi = Se.Trigger, wn = p.forwardRef(({ className: e, align: t
|
|
|
1831
1832
|
}
|
|
1832
1833
|
) }));
|
|
1833
1834
|
wn.displayName = Se.Content.displayName;
|
|
1834
|
-
const
|
|
1835
|
+
const Ki = _.Menu, Ji = _.Group, Yi = _.Portal, Qi = _.Sub, Xi = _.RadioGroup, Nn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1835
1836
|
_.Root,
|
|
1836
1837
|
{
|
|
1837
1838
|
ref: s,
|
|
@@ -1955,7 +1956,7 @@ const Pn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(_.S
|
|
|
1955
1956
|
Pn.displayName = _.Separator.displayName;
|
|
1956
1957
|
const Tn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
1957
1958
|
Tn.displayname = "MenubarShortcut";
|
|
1958
|
-
const
|
|
1959
|
+
const Zi = Oe.Root, el = Oe.Trigger, In = p.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
1959
1960
|
Oe.Content,
|
|
1960
1961
|
{
|
|
1961
1962
|
ref: n,
|
|
@@ -1969,7 +1970,7 @@ const Xi = Oe.Root, Zi = Oe.Trigger, In = p.forwardRef(({ className: e, align: t
|
|
|
1969
1970
|
}
|
|
1970
1971
|
));
|
|
1971
1972
|
In.displayName = Oe.Content.displayName;
|
|
1972
|
-
const
|
|
1973
|
+
const tl = L.Root, sl = L.Group, ol = L.Value, Mn = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
1973
1974
|
L.Trigger,
|
|
1974
1975
|
{
|
|
1975
1976
|
ref: o,
|
|
@@ -2029,7 +2030,7 @@ const On = p.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
2029
2030
|
On.displayName = L.Item.displayName;
|
|
2030
2031
|
const Ln = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(L.Separator, { ref: s, className: c("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
2031
2032
|
Ln.displayName = L.Separator.displayName;
|
|
2032
|
-
const
|
|
2033
|
+
const al = R.Root, nl = R.Trigger, rl = R.Close, _s = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(R.Portal, { className: c(e), ...t });
|
|
2033
2034
|
_s.displayName = R.Portal.displayName;
|
|
2034
2035
|
const Bs = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2035
2036
|
R.Overlay,
|
|
@@ -2079,7 +2080,7 @@ const Gn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(R.T
|
|
|
2079
2080
|
Gn.displayName = R.Title.displayName;
|
|
2080
2081
|
const Wn = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(R.Description, { ref: s, className: c("text-sm text-muted-foreground", e), ...t }));
|
|
2081
2082
|
Wn.displayName = R.Description.displayName;
|
|
2082
|
-
const
|
|
2083
|
+
const il = T.Root, ll = T.Trigger, cl = T.Group, dl = T.Portal, ul = T.Sub, ml = T.RadioGroup, Un = p.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2083
2084
|
T.SubTrigger,
|
|
2084
2085
|
{
|
|
2085
2086
|
ref: n,
|
|
@@ -2182,7 +2183,7 @@ Xn.displayName = T.Separator.displayName;
|
|
|
2182
2183
|
const Zn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest opacity-60", e), ...t });
|
|
2183
2184
|
Zn.displayName = "DropdownMenuShortcut";
|
|
2184
2185
|
const er = p.forwardRef(({ className: e, orientation: t = "horizontal", decorative: s = !0, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
2185
|
-
|
|
2186
|
+
Vt.Root,
|
|
2186
2187
|
{
|
|
2187
2188
|
ref: n,
|
|
2188
2189
|
decorative: s,
|
|
@@ -2191,7 +2192,7 @@ const er = p.forwardRef(({ className: e, orientation: t = "horizontal", decorati
|
|
|
2191
2192
|
...o
|
|
2192
2193
|
}
|
|
2193
2194
|
));
|
|
2194
|
-
er.displayName =
|
|
2195
|
+
er.displayName = Vt.Root.displayName;
|
|
2195
2196
|
const tr = 1, sr = 1e6;
|
|
2196
2197
|
let We = 0;
|
|
2197
2198
|
function or() {
|
|
@@ -2338,7 +2339,7 @@ const Is = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(H.T
|
|
|
2338
2339
|
Is.displayName = H.Title.displayName;
|
|
2339
2340
|
const Ms = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(H.Description, { ref: s, className: c("text-sm opacity-90", e), ...t }));
|
|
2340
2341
|
Ms.displayName = H.Description.displayName;
|
|
2341
|
-
function
|
|
2342
|
+
function pl() {
|
|
2342
2343
|
const { toasts: e } = rr();
|
|
2343
2344
|
return /* @__PURE__ */ a.jsxs(ir, { children: [
|
|
2344
2345
|
e.map(({ id: t, title: s, description: o, action: n, ...r }) => /* @__PURE__ */ a.jsxs(Ps, { ...r, children: [
|
|
@@ -2352,7 +2353,7 @@ function ml() {
|
|
|
2352
2353
|
/* @__PURE__ */ a.jsx(Rs, {})
|
|
2353
2354
|
] });
|
|
2354
2355
|
}
|
|
2355
|
-
const
|
|
2356
|
+
const fl = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: c("animate-pulse rounded-md bg-primary/10", e), ...t }), Ds = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2356
2357
|
W,
|
|
2357
2358
|
{
|
|
2358
2359
|
ref: s,
|
|
@@ -2364,7 +2365,7 @@ const pl = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className:
|
|
|
2364
2365
|
}
|
|
2365
2366
|
));
|
|
2366
2367
|
Ds.displayName = W.displayName;
|
|
2367
|
-
const
|
|
2368
|
+
const gl = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ks, { ...t, children: /* @__PURE__ */ a.jsx(yt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Ds, { className: "[&_[cmdk-group-heading]]:px-2 [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground [&_[cmdk-group]:not([hidden])_~[cmdk-group]]:pt-0 [&_[cmdk-group]]:px-2 [&_[cmdk-input-wrapper]_svg]:h-5 [&_[cmdk-input-wrapper]_svg]:w-5 [&_[cmdk-input]]:h-12 [&_[cmdk-item]]:px-2 [&_[cmdk-item]]:py-3 [&_[cmdk-item]_svg]:h-5 [&_[cmdk-item]_svg]:w-5", children: e }) }) }), dr = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2368
2369
|
/* @__PURE__ */ a.jsx(qs, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2369
2370
|
/* @__PURE__ */ a.jsx(
|
|
2370
2371
|
W.Input,
|
|
@@ -2418,7 +2419,7 @@ const gr = p.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2418
2419
|
gr.displayName = W.Item.displayName;
|
|
2419
2420
|
const br = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: c("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
2420
2421
|
br.displayName = "CommandShortcut";
|
|
2421
|
-
const
|
|
2422
|
+
const bl = I.Root, xl = I.Trigger, hl = I.Group, yl = I.Portal, vl = I.Sub, wl = I.RadioGroup, xr = p.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2422
2423
|
I.SubTrigger,
|
|
2423
2424
|
{
|
|
2424
2425
|
ref: n,
|
|
@@ -2529,7 +2530,7 @@ const Ar = (e) => {
|
|
|
2529
2530
|
} catch {
|
|
2530
2531
|
return "";
|
|
2531
2532
|
}
|
|
2532
|
-
},
|
|
2533
|
+
}, Nl = ({ value: e, onChange: t, onBlur: s, id: o }) => {
|
|
2533
2534
|
const n = (r) => {
|
|
2534
2535
|
t("<svg />");
|
|
2535
2536
|
const i = Ar(r);
|
|
@@ -2581,7 +2582,7 @@ const Ar = (e) => {
|
|
|
2581
2582
|
}
|
|
2582
2583
|
)
|
|
2583
2584
|
] });
|
|
2584
|
-
}, Cr = et.lazy(() => import("./UnsplashImages-
|
|
2585
|
+
}, Cr = et.lazy(() => import("./UnsplashImages-mzIO1QeT.js")), _r = et.lazy(() => import("./UploadImages-qMeaY4sk.js")), Es = ({
|
|
2585
2586
|
isModalView: e = !1,
|
|
2586
2587
|
onSelect: t = () => {
|
|
2587
2588
|
}
|
|
@@ -2597,7 +2598,7 @@ const Ar = (e) => {
|
|
|
2597
2598
|
s === "unsplash" ? /* @__PURE__ */ a.jsx(Ze, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(Cr, { isModalView: e, onSelect: t }) }) }) : /* @__PURE__ */ a.jsx(Ze, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ a.jsx(vt, { fallback: /* @__PURE__ */ a.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ a.jsx(_r, { isModalView: e, onSelect: t }) }) })
|
|
2598
2599
|
] })
|
|
2599
2600
|
] });
|
|
2600
|
-
},
|
|
2601
|
+
}, kl = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2601
2602
|
__proto__: null,
|
|
2602
2603
|
default: Es
|
|
2603
2604
|
}, Symbol.toStringTag, { value: "Module" })), Lt = ({ children: e, onSelect: t }) => {
|
|
@@ -2608,7 +2609,7 @@ const Ar = (e) => {
|
|
|
2608
2609
|
/* @__PURE__ */ a.jsx(sn, { asChild: !0, children: e }),
|
|
2609
2610
|
/* @__PURE__ */ a.jsx(yt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(Es, { isModalView: !0, onSelect: n }) }) })
|
|
2610
2611
|
] });
|
|
2611
|
-
},
|
|
2612
|
+
}, Sl = ({ value: e, onChange: t, id: s, onBlur: o }) => /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
|
|
2612
2613
|
e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(Lt, { onSelect: t, children: /* @__PURE__ */ a.jsx("div", { className: "h-20 w-20 cursor-pointer rounded-md border bg-[radial-gradient(#AAA,transparent_1px)] duration-300 [background-size:10px_10px] hover:border-gray-400" }) }),
|
|
2613
2614
|
/* @__PURE__ */ a.jsxs("div", { className: "flex w-3/5 flex-col", children: [
|
|
2614
2615
|
/* @__PURE__ */ a.jsx(Lt, { onSelect: t, children: /* @__PURE__ */ a.jsx("small", { className: "cursor-pointer rounded-full bg-gray-600 px-2 py-1 text-center text-xs text-white hover:bg-gray-500 dark:bg-gray-700", children: e || !oe(e) ? "Replace Image" : "Choose Image" }) }),
|
|
@@ -2625,7 +2626,7 @@ const Ar = (e) => {
|
|
|
2625
2626
|
}
|
|
2626
2627
|
)
|
|
2627
2628
|
] })
|
|
2628
|
-
] }),
|
|
2629
|
+
] }), jl = ({ id: e, placeholder: t, value: s, onChange: o, onBlur: n }) => {
|
|
2629
2630
|
const r = {
|
|
2630
2631
|
toolbar: [
|
|
2631
2632
|
["bold", "italic", "underline", "strike", "blockquote"],
|
|
@@ -2661,7 +2662,7 @@ const Ar = (e) => {
|
|
|
2661
2662
|
className: "mt-1 rounded-md"
|
|
2662
2663
|
}
|
|
2663
2664
|
);
|
|
2664
|
-
},
|
|
2665
|
+
}, Al = ({ schema: e, formData: t, onChange: s }) => {
|
|
2665
2666
|
const [o, n] = De([]), r = ve("getPages", () => []), { type: i = "page", href: u = "", target: m = "self" } = t;
|
|
2666
2667
|
return je(() => {
|
|
2667
2668
|
(async () => {
|
|
@@ -2726,104 +2727,104 @@ const Ar = (e) => {
|
|
|
2726
2727
|
] });
|
|
2727
2728
|
};
|
|
2728
2729
|
export {
|
|
2729
|
-
|
|
2730
|
+
gi as $,
|
|
2730
2731
|
ms as A,
|
|
2731
2732
|
$a as B,
|
|
2732
|
-
|
|
2733
|
-
|
|
2734
|
-
|
|
2733
|
+
pl as C,
|
|
2734
|
+
$i as D,
|
|
2735
|
+
Vi as E,
|
|
2735
2736
|
Ja as F,
|
|
2736
2737
|
Ya as G,
|
|
2737
2738
|
Xa as H,
|
|
2738
2739
|
Za as I,
|
|
2739
2740
|
Qa as J,
|
|
2740
2741
|
tn as K,
|
|
2741
|
-
|
|
2742
|
-
|
|
2743
|
-
|
|
2744
|
-
|
|
2745
|
-
|
|
2742
|
+
Ii as L,
|
|
2743
|
+
Ci as M,
|
|
2744
|
+
Ai as N,
|
|
2745
|
+
ri as O,
|
|
2746
|
+
ii as P,
|
|
2746
2747
|
Ho as Q,
|
|
2747
|
-
|
|
2748
|
-
|
|
2749
|
-
|
|
2750
|
-
|
|
2748
|
+
ci as R,
|
|
2749
|
+
fl as S,
|
|
2750
|
+
Gi as T,
|
|
2751
|
+
di as U,
|
|
2751
2752
|
Xo as V,
|
|
2752
|
-
|
|
2753
|
-
|
|
2753
|
+
mi as W,
|
|
2754
|
+
pi as X,
|
|
2754
2755
|
ds as Y,
|
|
2755
|
-
|
|
2756
|
+
fi as Z,
|
|
2756
2757
|
wa as _,
|
|
2757
|
-
|
|
2758
|
+
Yr as a,
|
|
2758
2759
|
aa as a$,
|
|
2759
|
-
|
|
2760
|
-
|
|
2761
|
-
|
|
2762
|
-
|
|
2763
|
-
|
|
2764
|
-
|
|
2765
|
-
|
|
2760
|
+
bi as a0,
|
|
2761
|
+
hi as a1,
|
|
2762
|
+
Ti as a2,
|
|
2763
|
+
vi as a3,
|
|
2764
|
+
Ni as a4,
|
|
2765
|
+
wi as a5,
|
|
2766
|
+
ni as a6,
|
|
2766
2767
|
fa as a7,
|
|
2767
|
-
|
|
2768
|
-
|
|
2768
|
+
Mi as a8,
|
|
2769
|
+
ki as a9,
|
|
2769
2770
|
Do as aA,
|
|
2770
2771
|
yn as aB,
|
|
2771
2772
|
Cs as aC,
|
|
2772
2773
|
Xe as aD,
|
|
2773
2774
|
Ze as aE,
|
|
2774
|
-
|
|
2775
|
+
sl as aF,
|
|
2775
2776
|
En as aG,
|
|
2776
|
-
|
|
2777
|
-
|
|
2777
|
+
Wi as aH,
|
|
2778
|
+
Ui as aI,
|
|
2778
2779
|
La as aJ,
|
|
2779
2780
|
vn as aK,
|
|
2780
2781
|
er as aL,
|
|
2781
2782
|
bn as aM,
|
|
2782
2783
|
za as aN,
|
|
2783
|
-
|
|
2784
|
-
|
|
2784
|
+
Zi as aO,
|
|
2785
|
+
el as aP,
|
|
2785
2786
|
In as aQ,
|
|
2786
|
-
|
|
2787
|
-
|
|
2787
|
+
il as aR,
|
|
2788
|
+
ll as aS,
|
|
2788
2789
|
qn as aT,
|
|
2789
2790
|
Qn as aU,
|
|
2790
2791
|
Xn as aV,
|
|
2791
2792
|
Jn as aW,
|
|
2792
2793
|
sa as aX,
|
|
2793
2794
|
ra as aY,
|
|
2794
|
-
|
|
2795
|
-
|
|
2796
|
-
|
|
2797
|
-
|
|
2798
|
-
|
|
2799
|
-
|
|
2795
|
+
ti as aZ,
|
|
2796
|
+
si as a_,
|
|
2797
|
+
Zr as aa,
|
|
2798
|
+
Si as ab,
|
|
2799
|
+
ji as ac,
|
|
2800
|
+
ai as ad,
|
|
2800
2801
|
Vo as ae,
|
|
2801
|
-
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2802
|
+
_i as af,
|
|
2803
|
+
li as ag,
|
|
2804
|
+
Bi as ah,
|
|
2805
|
+
Ri as ai,
|
|
2805
2806
|
ns as aj,
|
|
2806
2807
|
Ea as ak,
|
|
2807
|
-
|
|
2808
|
-
|
|
2809
|
-
|
|
2808
|
+
Di as al,
|
|
2809
|
+
Ei as am,
|
|
2810
|
+
Oi as an,
|
|
2810
2811
|
ks as ao,
|
|
2811
2812
|
yt as ap,
|
|
2812
2813
|
on as aq,
|
|
2813
2814
|
nn as ar,
|
|
2814
2815
|
rn as as,
|
|
2815
2816
|
en as at,
|
|
2816
|
-
|
|
2817
|
+
tl as au,
|
|
2817
2818
|
Mn as av,
|
|
2818
|
-
|
|
2819
|
+
ol as aw,
|
|
2819
2820
|
Dn as ax,
|
|
2820
2821
|
On as ay,
|
|
2821
2822
|
da as az,
|
|
2822
2823
|
Z as b,
|
|
2823
2824
|
Tn as b$,
|
|
2824
2825
|
ca as b0,
|
|
2825
|
-
|
|
2826
|
-
|
|
2826
|
+
Hi as b1,
|
|
2827
|
+
qi as b2,
|
|
2827
2828
|
wn as b3,
|
|
2828
2829
|
Ds as b4,
|
|
2829
2830
|
dr as b5,
|
|
@@ -2840,45 +2841,45 @@ export {
|
|
|
2840
2841
|
Oa as bG,
|
|
2841
2842
|
ht as bH,
|
|
2842
2843
|
qa as bI,
|
|
2843
|
-
|
|
2844
|
+
zi as bJ,
|
|
2844
2845
|
Ka as bK,
|
|
2845
2846
|
As as bL,
|
|
2846
2847
|
Nn as bM,
|
|
2847
|
-
|
|
2848
|
+
Ki as bN,
|
|
2848
2849
|
kn as bO,
|
|
2849
2850
|
An as bP,
|
|
2850
2851
|
Cn as bQ,
|
|
2851
2852
|
Pn as bR,
|
|
2852
2853
|
Rn as bS,
|
|
2853
2854
|
_n as bT,
|
|
2854
|
-
|
|
2855
|
+
Xi as bU,
|
|
2855
2856
|
Bn as bV,
|
|
2856
|
-
|
|
2857
|
+
Yi as bW,
|
|
2857
2858
|
jn as bX,
|
|
2858
2859
|
Sn as bY,
|
|
2859
|
-
|
|
2860
|
-
|
|
2860
|
+
Ji as bZ,
|
|
2861
|
+
Qi as b_,
|
|
2861
2862
|
an as ba,
|
|
2862
2863
|
sn as bb,
|
|
2863
2864
|
Rt as bc,
|
|
2864
2865
|
Bt as bd,
|
|
2865
|
-
|
|
2866
|
-
|
|
2867
|
-
|
|
2868
|
-
|
|
2869
|
-
|
|
2866
|
+
jl as be,
|
|
2867
|
+
Nl as bf,
|
|
2868
|
+
Sl as bg,
|
|
2869
|
+
Al as bh,
|
|
2870
|
+
Li as bi,
|
|
2870
2871
|
Va as bj,
|
|
2871
2872
|
Fa as bk,
|
|
2872
2873
|
Ga as bl,
|
|
2873
2874
|
fn as bm,
|
|
2874
|
-
|
|
2875
|
+
Fi as bn,
|
|
2875
2876
|
oa as bo,
|
|
2876
2877
|
hn as bp,
|
|
2877
2878
|
vr as bq,
|
|
2878
2879
|
yr as br,
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2880
|
+
bl as bs,
|
|
2881
|
+
xl as bt,
|
|
2882
|
+
oi as bu,
|
|
2882
2883
|
ua as bv,
|
|
2883
2884
|
ln as bw,
|
|
2884
2885
|
cn as bx,
|
|
@@ -2886,9 +2887,9 @@ export {
|
|
|
2886
2887
|
un as bz,
|
|
2887
2888
|
co as c,
|
|
2888
2889
|
Ln as c0,
|
|
2889
|
-
|
|
2890
|
-
|
|
2891
|
-
|
|
2890
|
+
al as c1,
|
|
2891
|
+
nl as c2,
|
|
2892
|
+
rl as c3,
|
|
2892
2893
|
$n as c4,
|
|
2893
2894
|
Vn as c5,
|
|
2894
2895
|
Fn as c6,
|
|
@@ -2897,16 +2898,16 @@ export {
|
|
|
2897
2898
|
Kn as c9,
|
|
2898
2899
|
Yn as ca,
|
|
2899
2900
|
Zn as cb,
|
|
2900
|
-
|
|
2901
|
-
|
|
2902
|
-
|
|
2901
|
+
cl as cc,
|
|
2902
|
+
dl as cd,
|
|
2903
|
+
ul as ce,
|
|
2903
2904
|
Hn as cf,
|
|
2904
2905
|
Un as cg,
|
|
2905
|
-
|
|
2906
|
+
ml as ch,
|
|
2906
2907
|
ar as ci,
|
|
2907
2908
|
rr as cj,
|
|
2908
2909
|
nr as ck,
|
|
2909
|
-
|
|
2910
|
+
gl as cl,
|
|
2910
2911
|
br as cm,
|
|
2911
2912
|
fr as cn,
|
|
2912
2913
|
wr as co,
|
|
@@ -2914,34 +2915,34 @@ export {
|
|
|
2914
2915
|
kr as cq,
|
|
2915
2916
|
Sr as cr,
|
|
2916
2917
|
jr as cs,
|
|
2917
|
-
|
|
2918
|
-
|
|
2919
|
-
|
|
2918
|
+
hl as ct,
|
|
2919
|
+
yl as cu,
|
|
2920
|
+
vl as cv,
|
|
2920
2921
|
hr as cw,
|
|
2921
2922
|
xr as cx,
|
|
2922
|
-
|
|
2923
|
-
|
|
2923
|
+
wl as cy,
|
|
2924
|
+
kl as cz,
|
|
2924
2925
|
xo as d,
|
|
2925
2926
|
bo as e,
|
|
2926
2927
|
Ae as f,
|
|
2927
|
-
|
|
2928
|
+
Qr as g,
|
|
2928
2929
|
Ko as h,
|
|
2929
2930
|
ve as i,
|
|
2930
2931
|
Ce as j,
|
|
2931
|
-
|
|
2932
|
-
|
|
2932
|
+
ui as k,
|
|
2933
|
+
yi as l,
|
|
2933
2934
|
ha as m,
|
|
2934
2935
|
ba as n,
|
|
2935
|
-
|
|
2936
|
+
xi as o,
|
|
2936
2937
|
bt as p,
|
|
2937
2938
|
Q as q,
|
|
2938
2939
|
Co as r,
|
|
2939
2940
|
pa as s,
|
|
2940
2941
|
gt as t,
|
|
2941
2942
|
qt as u,
|
|
2942
|
-
|
|
2943
|
-
|
|
2943
|
+
Xr as v,
|
|
2944
|
+
ei as w,
|
|
2944
2945
|
Yo as x,
|
|
2945
|
-
|
|
2946
|
+
Pi as y,
|
|
2946
2947
|
it as z
|
|
2947
2948
|
};
|