@chaibuilder/sdk 1.2.31 → 1.2.32
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-u1FkSHNj.js → AddBlocks-0eVRNr1d.js} +1 -1
- package/dist/{AddBlocks-UxJOFB9M.cjs → AddBlocks-t0hKDSud.cjs} +1 -1
- package/dist/{BrandingOptions-RDn_Nhcq.cjs → BrandingOptions-NVmCxZfD.cjs} +1 -1
- package/dist/{BrandingOptions-A3_c_sd7.js → BrandingOptions-yYAznnw2.js} +1 -1
- package/dist/{CanvasArea-AgZG60eK.js → CanvasArea-2b4oSjRx.js} +11 -13
- package/dist/{CanvasArea-AP2VxTme.cjs → CanvasArea-OzyCq6UU.cjs} +2 -2
- package/dist/{CurrentPage-urEDcMfR.js → CurrentPage-1v40uk8K.js} +3 -3
- package/dist/{CurrentPage-lBwqlXua.cjs → CurrentPage-YBMhEBZG.cjs} +1 -1
- package/dist/{ListTree-c9Z0kWbN.js → ListTree-0ZrRreCs.js} +1 -1
- package/dist/{ListTree-pdQ14QJC.cjs → ListTree-jPwxgI6R.cjs} +1 -1
- package/dist/{PagesPanel-C3yfpE0O.js → PagesPanel-AxQX-BX2.js} +4 -4
- package/dist/{PagesPanel-QAb3JjVO.cjs → PagesPanel-ivEL9tIQ.cjs} +1 -1
- package/dist/{ProjectPanel--8xzmpgT.js → ProjectPanel-GYdge5v9.js} +4 -4
- package/dist/{ProjectPanel-DJHfHFni.cjs → ProjectPanel-shgvg_yT.cjs} +1 -1
- package/dist/{Settings-oMxnykls.js → Settings-9JAzGHau.js} +5 -5
- package/dist/Settings-MMwEBADN.cjs +1 -0
- package/dist/{SidePanels-TuKVMKxP.js → SidePanels-bLwsW29O.js} +3 -3
- package/dist/{SidePanels-znlH133C.cjs → SidePanels-iaaRCUeQ.cjs} +1 -1
- package/dist/{Topbar-VCFW9uNI.js → Topbar-0Ql8pHVc.js} +1 -1
- package/dist/{Topbar-J2tb4SA1.cjs → Topbar-CkUhCnSW.cjs} +1 -1
- package/dist/{UnsplashImages-N9h0avWO.js → UnsplashImages-NYwOOgYa.js} +1 -1
- package/dist/{UnsplashImages-XwjKheek.cjs → UnsplashImages-juwtWvXe.cjs} +1 -1
- package/dist/{UploadImages-y7LAQVrT.cjs → UploadImages-4_jmnoVi.cjs} +1 -1
- package/dist/{UploadImages-e70AeNGX.js → UploadImages-vpZeW-YW.js} +1 -1
- package/dist/{add-page-modal-PhWtC-ZY.cjs → add-page-modal-2ZPjc54F.cjs} +1 -1
- package/dist/{add-page-modal-Q3c1EOw1.js → add-page-modal-hDyzsEU7.js} +4 -4
- package/dist/{confirm-alert-EDOFRmH8.js → confirm-alert-FGQKKQJU.js} +1 -1
- package/dist/{confirm-alert-4OQlXZTJ.cjs → confirm-alert-QRxOc76t.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.js +2 -2
- package/dist/{delete-page-modal-eh0Afqbu.cjs → delete-page-modal--N1nPPIL.cjs} +1 -1
- package/dist/{delete-page-modal-9B7603s-.js → delete-page-modal-KxeyBri2.js} +3 -3
- package/dist/email.cjs +1 -1
- package/dist/email.js +2 -2
- package/dist/{form-yw3Uuk6v.js → form-77dY98bF.js} +1 -1
- package/dist/{form-jQj7E-hS.cjs → form-hT5dGoJH.cjs} +1 -1
- package/dist/functions-I6BoMqqb.js +21 -0
- package/dist/functions-r3ExvGGf.cjs +1 -0
- package/dist/{index-TXu6kBv9.js → index-5zkCTSAM.js} +3 -3
- package/dist/{index-FVtnWx9d.js → index-AJalHhkO.js} +2 -2
- package/dist/index-FPBudsRF.cjs +1 -0
- package/dist/{index-B1EMostm.cjs → index-JIcsKKoG.cjs} +1 -1
- package/dist/{index-HiiWSXkE.js → index-hH5SIZ29.js} +358 -358
- package/dist/{index-tFX6mX_R.cjs → index-sJ9Uc9UY.cjs} +2 -2
- package/dist/lib.cjs +3 -3
- package/dist/lib.d.ts +0 -2
- package/dist/lib.js +1125 -97
- package/dist/{page-viewer-wVQGkDJd.cjs → page-viewer-k-g15j8B.cjs} +1 -1
- package/dist/{page-viewer-3UIfb9p1.js → page-viewer-umQaut1j.js} +4 -4
- package/dist/{project-general-setting-LrABWutT.cjs → project-general-setting-1leAiCJQ.cjs} +1 -1
- package/dist/{project-general-setting-8vqXfr75.js → project-general-setting-uuCemMCU.js} +4 -4
- package/dist/{project-seo-setting-x3peNgla.js → project-seo-setting-asvbPQiI.js} +2 -2
- package/dist/{project-seo-setting-q2953ybQ.cjs → project-seo-setting-kDBSOzgX.cjs} +1 -1
- package/dist/render.cjs +1 -1
- package/dist/render.d.ts +0 -4
- package/dist/render.js +125 -168
- package/dist/{single-page-detail-py5_WxGu.js → single-page-detail-F6pKWyq1.js} +5 -5
- package/dist/{single-page-detail-76C_iDiS.cjs → single-page-detail-IFtVxwl5.cjs} +1 -1
- package/dist/studio.cjs +1 -1
- package/dist/studio.js +3 -3
- package/dist/tailwind.cjs +1 -1
- package/dist/tailwind.d.ts +0 -37
- package/dist/tailwind.js +11 -102
- package/dist/ui.cjs +1 -1
- package/dist/ui.js +1 -1
- package/dist/useCanvasSettings-Am2o80hW.cjs +1 -0
- package/dist/{useCanvasSettings-unTQUdlP.js → useCanvasSettings-ikt217kv.js} +1 -1
- package/package.json +1 -1
- package/dist/Settings-alHeC0FS.cjs +0 -1
- package/dist/defaultTheme-9e2np_iI.cjs +0 -1
- package/dist/defaultTheme-ocvEtKQ3.js +0 -1062
- package/dist/index-12HbDLon.cjs +0 -1
- package/dist/useCanvasSettings-MR0Glu1b.cjs +0 -1
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import * as f from "react";
|
|
2
|
-
import st, { createContext as
|
|
3
|
-
import { memoize as
|
|
2
|
+
import st, { createContext as Os, useContext as zs, useRef as kr, createElement as Sr, useReducer as Vs, useEffect as Be, useDebugValue as $s, useCallback as $, useMemo as ot, useState as _e, Suspense as wt } from "react";
|
|
3
|
+
import { memoize as Oe, has as pe, get as H, flatten as ie, filter as D, isString as Vt, find as oe, map as I, omit as nt, each as ce, set as Ae, includes as Y, cloneDeep as Fs, isEmpty as ye, without as $t, forIn as Ft, isObject as Us, first as te, noop as Ke, keys as Ws, startsWith as Ut, isNull as Je, pick as Nt, sortBy as kt } from "lodash-es";
|
|
4
4
|
import { g as de, a as Gs } from "./Functions-7jnEwJyw.js";
|
|
5
5
|
import { getBlockComponent as we } from "@chaibuilder/runtime";
|
|
6
|
-
import { atom as y, useAtomValue as
|
|
6
|
+
import { atom as y, useAtomValue as X, useAtom as L, useSetAtom as Re } from "jotai";
|
|
7
7
|
import { a as fe, I as Wt, S as Ye } from "./STRINGS--j49GZJP.js";
|
|
8
8
|
import { g as Hs } from "./_commonjsHelpers-UyOWmZb0.js";
|
|
9
9
|
import { useThrottledCallback as qs } from "@react-hookz/web";
|
|
10
|
-
import { B as
|
|
10
|
+
import { B as Ze } from "./MODIFIERS-cBT31iqE.js";
|
|
11
11
|
import { a as d, c as Me } from "./Class-6Hz2KzYb.js";
|
|
12
12
|
import "react-i18next";
|
|
13
13
|
import { j as a } from "./jsx-runtime-WbnYoNE9.js";
|
|
14
14
|
import * as Gt from "@radix-ui/react-toggle";
|
|
15
15
|
import { cva as ge } from "class-variance-authority";
|
|
16
|
-
import * as
|
|
16
|
+
import * as Qe from "@radix-ui/react-switch";
|
|
17
17
|
import { Slot as Ks } from "@radix-ui/react-slot";
|
|
18
18
|
import * as me from "@radix-ui/react-accordion";
|
|
19
|
-
import { ChevronDownIcon as Js, Cross2Icon as at, ChevronRightIcon as rt, CheckIcon as ze, DotFilledIcon as it, CaretSortIcon as Ys, MagnifyingGlassIcon as
|
|
19
|
+
import { ChevronDownIcon as Js, Cross2Icon as at, ChevronRightIcon as rt, CheckIcon as ze, DotFilledIcon as it, CaretSortIcon as Ys, MagnifyingGlassIcon as Zs } from "@radix-ui/react-icons";
|
|
20
20
|
import * as q from "@radix-ui/react-alert-dialog";
|
|
21
21
|
import * as P from "@radix-ui/react-dialog";
|
|
22
22
|
import * as Ht from "@radix-ui/react-label";
|
|
@@ -30,12 +30,12 @@ import * as U from "@radix-ui/react-select";
|
|
|
30
30
|
import * as M from "@radix-ui/react-dropdown-menu";
|
|
31
31
|
import * as qt from "@radix-ui/react-separator";
|
|
32
32
|
import * as ee from "@radix-ui/react-toast";
|
|
33
|
-
import { Command as
|
|
34
|
-
import * as
|
|
35
|
-
import
|
|
33
|
+
import { Command as Z } from "cmdk";
|
|
34
|
+
import * as E from "@radix-ui/react-context-menu";
|
|
35
|
+
import Qs, { IconPickerItem as Xs } from "react-icons-picker";
|
|
36
36
|
import eo from "react-dom";
|
|
37
37
|
import to from "react-quill";
|
|
38
|
-
var W = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
38
|
+
var W = { VITE_OPENAI_API_KEY: "sk-None-vlUxLCqDnujVr1tvP6Z9T3BlbkFJt9Cap8RkiIWik0ZL4gkM", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
39
39
|
let so = 0;
|
|
40
40
|
function re(e, t) {
|
|
41
41
|
const s = `atom${++so}`, o = {
|
|
@@ -46,17 +46,17 @@ function re(e, t) {
|
|
|
46
46
|
typeof r == "function" ? r(n(o)) : r
|
|
47
47
|
)), t && (o.write = t), o;
|
|
48
48
|
}
|
|
49
|
-
const Ue = (e) => "init" in e, We = (e) => !!e.write,
|
|
50
|
-
|
|
51
|
-
}).finally(() =>
|
|
49
|
+
const Ue = (e) => "init" in e, We = (e) => !!e.write, Le = /* @__PURE__ */ new WeakMap(), oo = (e, t) => {
|
|
50
|
+
Le.set(e, t), e.catch(() => {
|
|
51
|
+
}).finally(() => Le.delete(e));
|
|
52
52
|
}, St = (e, t) => {
|
|
53
|
-
const s =
|
|
54
|
-
s && (
|
|
53
|
+
const s = Le.get(e);
|
|
54
|
+
s && (Le.delete(e), s(t));
|
|
55
55
|
}, jt = (e, t) => {
|
|
56
56
|
e.status = "fulfilled", e.value = t;
|
|
57
57
|
}, At = (e, t) => {
|
|
58
58
|
e.status = "rejected", e.reason = t;
|
|
59
|
-
}, no = (e) => typeof (e == null ? void 0 : e.then) == "function", Se = (e, t) => "v" in e && "v" in t && Object.is(e.v, t.v), Ct = (e, t) => "e" in e && "e" in t && Object.is(e.e, t.e),
|
|
59
|
+
}, no = (e) => typeof (e == null ? void 0 : e.then) == "function", Se = (e, t) => "v" in e && "v" in t && Object.is(e.v, t.v), Ct = (e, t) => "e" in e && "e" in t && Object.is(e.e, t.e), he = (e) => "v" in e && e.v instanceof Promise, ao = (e, t) => "v" in e && "v" in t && e.v.orig && e.v.orig === t.v.orig, Ie = (e) => {
|
|
60
60
|
if ("e" in e)
|
|
61
61
|
throw e.e;
|
|
62
62
|
return e.v;
|
|
@@ -66,34 +66,34 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
66
66
|
(W ? "production" : void 0) !== "production" && (o = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set());
|
|
67
67
|
const r = (u) => e.get(u), c = (u, g) => {
|
|
68
68
|
(W ? "production" : void 0) !== "production" && Object.freeze(g);
|
|
69
|
-
const
|
|
70
|
-
if (e.set(u, g), s.has(u) || s.set(u,
|
|
69
|
+
const h = e.get(u);
|
|
70
|
+
if (e.set(u, g), s.has(u) || s.set(u, h), h && he(h)) {
|
|
71
71
|
const b = "v" in g ? g.v instanceof Promise ? g.v : Promise.resolve(g.v) : Promise.reject(g.e);
|
|
72
|
-
St(
|
|
72
|
+
St(h.v, b);
|
|
73
73
|
}
|
|
74
|
-
}, p = (u, g,
|
|
74
|
+
}, p = (u, g, h) => {
|
|
75
75
|
const b = /* @__PURE__ */ new Map();
|
|
76
76
|
let w = !1;
|
|
77
|
-
|
|
78
|
-
!
|
|
77
|
+
h.forEach((x, k) => {
|
|
78
|
+
!x && k === u && (x = g), x ? (b.set(k, x), g.d.get(k) !== x && (w = !0)) : (W ? "production" : void 0) !== "production" && console.warn("[Bug] atom state not found");
|
|
79
79
|
}), (w || g.d.size !== b.size) && (g.d = b);
|
|
80
|
-
}, l = (u, g,
|
|
80
|
+
}, l = (u, g, h) => {
|
|
81
81
|
const b = r(u), w = {
|
|
82
82
|
d: (b == null ? void 0 : b.d) || /* @__PURE__ */ new Map(),
|
|
83
83
|
v: g
|
|
84
84
|
};
|
|
85
|
-
if (
|
|
85
|
+
if (h && p(u, w, h), b && Se(b, w) && b.d === w.d)
|
|
86
86
|
return b;
|
|
87
|
-
if (b &&
|
|
87
|
+
if (b && he(b) && he(w) && ao(b, w)) {
|
|
88
88
|
if (b.d === w.d)
|
|
89
89
|
return b;
|
|
90
90
|
w.v = b.v;
|
|
91
91
|
}
|
|
92
92
|
return c(u, w), w;
|
|
93
|
-
}, m = (u, g,
|
|
93
|
+
}, m = (u, g, h, b) => {
|
|
94
94
|
if (no(g)) {
|
|
95
95
|
let w;
|
|
96
|
-
const
|
|
96
|
+
const x = new Promise((k, z) => {
|
|
97
97
|
let A = !1;
|
|
98
98
|
g.then(
|
|
99
99
|
(R) => {
|
|
@@ -101,10 +101,10 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
101
101
|
A = !0;
|
|
102
102
|
const C = r(u), se = l(
|
|
103
103
|
u,
|
|
104
|
-
|
|
105
|
-
|
|
104
|
+
x,
|
|
105
|
+
h
|
|
106
106
|
);
|
|
107
|
-
jt(
|
|
107
|
+
jt(x, R), k(R), (C == null ? void 0 : C.d) !== se.d && K(u, se, C == null ? void 0 : C.d);
|
|
108
108
|
}
|
|
109
109
|
},
|
|
110
110
|
(R) => {
|
|
@@ -112,30 +112,30 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
112
112
|
A = !0;
|
|
113
113
|
const C = r(u), se = l(
|
|
114
114
|
u,
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
x,
|
|
116
|
+
h
|
|
117
117
|
);
|
|
118
|
-
At(
|
|
118
|
+
At(x, R), z(R), (C == null ? void 0 : C.d) !== se.d && K(u, se, C == null ? void 0 : C.d);
|
|
119
119
|
}
|
|
120
120
|
}
|
|
121
121
|
), w = (R) => {
|
|
122
122
|
A || (A = !0, R.then(
|
|
123
|
-
(C) => jt(
|
|
124
|
-
(C) => At(
|
|
123
|
+
(C) => jt(x, C),
|
|
124
|
+
(C) => At(x, C)
|
|
125
125
|
), k(R));
|
|
126
126
|
};
|
|
127
127
|
});
|
|
128
|
-
return
|
|
128
|
+
return x.orig = g, x.status = "pending", oo(x, (k) => {
|
|
129
129
|
k && w(k), b == null || b();
|
|
130
|
-
}), l(u,
|
|
130
|
+
}), l(u, x, h);
|
|
131
131
|
}
|
|
132
|
-
return l(u, g,
|
|
133
|
-
}, N = (u, g,
|
|
132
|
+
return l(u, g, h);
|
|
133
|
+
}, N = (u, g, h) => {
|
|
134
134
|
const b = r(u), w = {
|
|
135
135
|
d: (b == null ? void 0 : b.d) || /* @__PURE__ */ new Map(),
|
|
136
136
|
e: g
|
|
137
137
|
};
|
|
138
|
-
return
|
|
138
|
+
return h && p(u, w, h), b && Ct(b, w) && b.d === w.d ? b : (c(u, w), w);
|
|
139
139
|
}, S = (u) => {
|
|
140
140
|
const g = r(u);
|
|
141
141
|
if (g && (g.d.forEach((A, R) => {
|
|
@@ -143,27 +143,27 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
143
143
|
}), Array.from(g.d).every(([A, R]) => {
|
|
144
144
|
const C = r(A);
|
|
145
145
|
return A === u || C === R || // TODO This is a hack, we should find a better solution.
|
|
146
|
-
C && !
|
|
146
|
+
C && !he(C) && Se(C, R);
|
|
147
147
|
})))
|
|
148
148
|
return g;
|
|
149
|
-
const
|
|
149
|
+
const h = /* @__PURE__ */ new Map();
|
|
150
150
|
let b = !0;
|
|
151
151
|
const w = (A) => {
|
|
152
152
|
if (A === u) {
|
|
153
153
|
const C = r(A);
|
|
154
154
|
if (C)
|
|
155
|
-
return
|
|
155
|
+
return h.set(A, C), Ie(C);
|
|
156
156
|
if (Ue(A))
|
|
157
|
-
return
|
|
157
|
+
return h.set(A, void 0), A.init;
|
|
158
158
|
throw new Error("no atom init");
|
|
159
159
|
}
|
|
160
160
|
const R = S(A);
|
|
161
|
-
return
|
|
161
|
+
return h.set(A, R), Ie(R);
|
|
162
162
|
};
|
|
163
|
-
let
|
|
163
|
+
let x, k;
|
|
164
164
|
const z = {
|
|
165
165
|
get signal() {
|
|
166
|
-
return
|
|
166
|
+
return x || (x = new AbortController()), x.signal;
|
|
167
167
|
},
|
|
168
168
|
get setSelf() {
|
|
169
169
|
return (W ? "production" : void 0) !== "production" && !We(u) && console.warn("setSelf function cannot be used with read-only atom"), !k && We(u) && (k = (...A) => {
|
|
@@ -177,42 +177,42 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
177
177
|
return m(
|
|
178
178
|
u,
|
|
179
179
|
A,
|
|
180
|
-
|
|
181
|
-
() =>
|
|
180
|
+
h,
|
|
181
|
+
() => x == null ? void 0 : x.abort()
|
|
182
182
|
);
|
|
183
183
|
} catch (A) {
|
|
184
|
-
return N(u, A,
|
|
184
|
+
return N(u, A, h);
|
|
185
185
|
} finally {
|
|
186
186
|
b = !1;
|
|
187
187
|
}
|
|
188
188
|
}, v = (u) => Ie(S(u)), j = (u) => {
|
|
189
189
|
let g = t.get(u);
|
|
190
190
|
return g || (g = V(u)), g;
|
|
191
|
-
},
|
|
191
|
+
}, O = (u, g) => !g.l.size && (!g.t.size || g.t.size === 1 && g.t.has(u)), F = (u) => {
|
|
192
192
|
const g = t.get(u);
|
|
193
|
-
g &&
|
|
193
|
+
g && O(u, g) && Q(u);
|
|
194
194
|
}, B = (u) => {
|
|
195
|
-
const g = /* @__PURE__ */ new Map(),
|
|
196
|
-
const k = t.get(
|
|
195
|
+
const g = /* @__PURE__ */ new Map(), h = /* @__PURE__ */ new WeakMap(), b = (x) => {
|
|
196
|
+
const k = t.get(x);
|
|
197
197
|
k == null || k.t.forEach((z) => {
|
|
198
|
-
z !==
|
|
198
|
+
z !== x && (g.set(
|
|
199
199
|
z,
|
|
200
|
-
(g.get(z) || /* @__PURE__ */ new Set()).add(
|
|
201
|
-
),
|
|
200
|
+
(g.get(z) || /* @__PURE__ */ new Set()).add(x)
|
|
201
|
+
), h.set(z, (h.get(z) || 0) + 1), b(z));
|
|
202
202
|
});
|
|
203
203
|
};
|
|
204
204
|
b(u);
|
|
205
|
-
const w = (
|
|
206
|
-
const k = t.get(
|
|
205
|
+
const w = (x) => {
|
|
206
|
+
const k = t.get(x);
|
|
207
207
|
k == null || k.t.forEach((z) => {
|
|
208
208
|
var A;
|
|
209
|
-
if (z !==
|
|
210
|
-
let R =
|
|
211
|
-
if (R &&
|
|
209
|
+
if (z !== x) {
|
|
210
|
+
let R = h.get(z);
|
|
211
|
+
if (R && h.set(z, --R), !R) {
|
|
212
212
|
let C = !!((A = g.get(z)) != null && A.size);
|
|
213
213
|
if (C) {
|
|
214
|
-
const se = r(z),
|
|
215
|
-
C = !se || !Se(se,
|
|
214
|
+
const se = r(z), Ls = S(z);
|
|
215
|
+
C = !se || !Se(se, Ls);
|
|
216
216
|
}
|
|
217
217
|
C || g.forEach((se) => se.delete(z));
|
|
218
218
|
}
|
|
@@ -222,7 +222,7 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
222
222
|
};
|
|
223
223
|
w(u);
|
|
224
224
|
}, T = (u, ...g) => {
|
|
225
|
-
let
|
|
225
|
+
let h = !0;
|
|
226
226
|
const b = (k) => Ie(S(k)), w = (k, ...z) => {
|
|
227
227
|
let A;
|
|
228
228
|
if (k === u) {
|
|
@@ -232,69 +232,69 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
232
232
|
(!R || !Se(R, C)) && B(k);
|
|
233
233
|
} else
|
|
234
234
|
A = T(k, ...z);
|
|
235
|
-
if (!
|
|
235
|
+
if (!h) {
|
|
236
236
|
const R = J();
|
|
237
237
|
(W ? "production" : void 0) !== "production" && n.forEach(
|
|
238
238
|
(C) => C({ type: "async-write", flushed: R })
|
|
239
239
|
);
|
|
240
240
|
}
|
|
241
241
|
return A;
|
|
242
|
-
},
|
|
243
|
-
return
|
|
242
|
+
}, x = u.write(b, w, ...g);
|
|
243
|
+
return h = !1, x;
|
|
244
244
|
}, G = (u, ...g) => {
|
|
245
|
-
const
|
|
245
|
+
const h = T(u, ...g), b = J();
|
|
246
246
|
return (W ? "production" : void 0) !== "production" && n.forEach(
|
|
247
247
|
(w) => w({ type: "write", flushed: b })
|
|
248
|
-
),
|
|
248
|
+
), h;
|
|
249
249
|
}, V = (u, g) => {
|
|
250
|
-
const
|
|
250
|
+
const h = {
|
|
251
251
|
t: new Set(g && [g]),
|
|
252
252
|
l: /* @__PURE__ */ new Set()
|
|
253
253
|
};
|
|
254
|
-
if (t.set(u,
|
|
255
|
-
const
|
|
256
|
-
|
|
254
|
+
if (t.set(u, h), (W ? "production" : void 0) !== "production" && i.add(u), S(u).d.forEach((b, w) => {
|
|
255
|
+
const x = t.get(w);
|
|
256
|
+
x ? x.t.add(u) : w !== u && V(w, u);
|
|
257
257
|
}), S(u), We(u) && u.onMount) {
|
|
258
258
|
const b = u.onMount((...w) => G(u, ...w));
|
|
259
|
-
b && (
|
|
259
|
+
b && (h.u = b);
|
|
260
260
|
}
|
|
261
|
-
return
|
|
262
|
-
},
|
|
261
|
+
return h;
|
|
262
|
+
}, Q = (u) => {
|
|
263
263
|
var g;
|
|
264
|
-
const
|
|
265
|
-
|
|
264
|
+
const h = (g = t.get(u)) == null ? void 0 : g.u;
|
|
265
|
+
h && h(), t.delete(u), (W ? "production" : void 0) !== "production" && i.delete(u);
|
|
266
266
|
const b = r(u);
|
|
267
|
-
b ? (
|
|
268
|
-
if (
|
|
269
|
-
const k = t.get(
|
|
270
|
-
k && (k.t.delete(u),
|
|
267
|
+
b ? (he(b) && St(b.v), b.d.forEach((w, x) => {
|
|
268
|
+
if (x !== u) {
|
|
269
|
+
const k = t.get(x);
|
|
270
|
+
k && (k.t.delete(u), O(x, k) && Q(x));
|
|
271
271
|
}
|
|
272
272
|
})) : (W ? "production" : void 0) !== "production" && console.warn("[Bug] could not find atom state to unmount", u);
|
|
273
|
-
}, K = (u, g,
|
|
273
|
+
}, K = (u, g, h) => {
|
|
274
274
|
const b = new Set(g.d.keys());
|
|
275
|
-
|
|
276
|
-
if (b.has(
|
|
277
|
-
b.delete(
|
|
275
|
+
h == null || h.forEach((w, x) => {
|
|
276
|
+
if (b.has(x)) {
|
|
277
|
+
b.delete(x);
|
|
278
278
|
return;
|
|
279
279
|
}
|
|
280
|
-
const k = t.get(
|
|
281
|
-
k && (k.t.delete(u),
|
|
280
|
+
const k = t.get(x);
|
|
281
|
+
k && (k.t.delete(u), O(x, k) && Q(x));
|
|
282
282
|
}), b.forEach((w) => {
|
|
283
|
-
const
|
|
284
|
-
|
|
283
|
+
const x = t.get(w);
|
|
284
|
+
x ? x.t.add(u) : t.has(u) && V(w, u);
|
|
285
285
|
});
|
|
286
286
|
}, J = () => {
|
|
287
287
|
let u;
|
|
288
288
|
for ((W ? "production" : void 0) !== "production" && (u = /* @__PURE__ */ new Set()); s.size; ) {
|
|
289
289
|
const g = Array.from(s);
|
|
290
|
-
s.clear(), g.forEach(([
|
|
291
|
-
const w = r(
|
|
290
|
+
s.clear(), g.forEach(([h, b]) => {
|
|
291
|
+
const w = r(h);
|
|
292
292
|
if (w) {
|
|
293
|
-
w.d !== (b == null ? void 0 : b.d) && K(
|
|
294
|
-
const
|
|
295
|
-
|
|
293
|
+
w.d !== (b == null ? void 0 : b.d) && K(h, w, b == null ? void 0 : b.d);
|
|
294
|
+
const x = t.get(h);
|
|
295
|
+
x && !// TODO This seems pretty hacky. Hope to fix it.
|
|
296
296
|
// Maybe we could `mountDependencies` in `setAtomState`?
|
|
297
|
-
(b && !
|
|
297
|
+
(b && !he(b) && (Se(b, w) || Ct(b, w))) && (x.l.forEach((k) => k()), (W ? "production" : void 0) !== "production" && u.add(h));
|
|
298
298
|
} else
|
|
299
299
|
(W ? "production" : void 0) !== "production" && console.warn("[Bug] no atom state to flush");
|
|
300
300
|
});
|
|
@@ -302,11 +302,11 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
302
302
|
if ((W ? "production" : void 0) !== "production")
|
|
303
303
|
return o.forEach((g) => g("state")), u;
|
|
304
304
|
}, le = (u, g) => {
|
|
305
|
-
const
|
|
306
|
-
return w.add(g), (W ? "production" : void 0) !== "production" && (o.forEach((
|
|
307
|
-
(
|
|
305
|
+
const h = j(u), b = J(), w = h.l;
|
|
306
|
+
return w.add(g), (W ? "production" : void 0) !== "production" && (o.forEach((x) => x("sub")), n.forEach(
|
|
307
|
+
(x) => x({ type: "sub", flushed: b })
|
|
308
308
|
)), () => {
|
|
309
|
-
w.delete(g), F(u), (W ? "production" : void 0) !== "production" && (o.forEach((
|
|
309
|
+
w.delete(g), F(u), (W ? "production" : void 0) !== "production" && (o.forEach((x) => x("unsub")), n.forEach((x) => x({ type: "unsub" })));
|
|
310
310
|
};
|
|
311
311
|
};
|
|
312
312
|
return (W ? "production" : void 0) !== "production" ? {
|
|
@@ -325,11 +325,11 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
325
325
|
dev_get_atom_state: (u) => e.get(u),
|
|
326
326
|
dev_get_mounted: (u) => t.get(u),
|
|
327
327
|
dev_restore_atoms: (u) => {
|
|
328
|
-
for (const [
|
|
329
|
-
Ue(
|
|
328
|
+
for (const [h, b] of u)
|
|
329
|
+
Ue(h) && (m(h, b), B(h));
|
|
330
330
|
const g = J();
|
|
331
331
|
n.forEach(
|
|
332
|
-
(
|
|
332
|
+
(h) => h({ type: "restore", flushed: g })
|
|
333
333
|
);
|
|
334
334
|
}
|
|
335
335
|
} : {
|
|
@@ -340,8 +340,8 @@ const Ue = (e) => "init" in e, We = (e) => !!e.write, Oe = /* @__PURE__ */ new W
|
|
|
340
340
|
};
|
|
341
341
|
let Ge;
|
|
342
342
|
const io = () => (Ge || (Ge = ro()), Ge);
|
|
343
|
-
var lo = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
344
|
-
const co =
|
|
343
|
+
var lo = { VITE_OPENAI_API_KEY: "sk-None-vlUxLCqDnujVr1tvP6Z9T3BlbkFJt9Cap8RkiIWik0ZL4gkM", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
344
|
+
const co = Os(void 0), Kt = (e) => {
|
|
345
345
|
const t = zs(co);
|
|
346
346
|
return (e == null ? void 0 : e.store) || t || io();
|
|
347
347
|
};
|
|
@@ -400,12 +400,12 @@ function Ur(e, t) {
|
|
|
400
400
|
po(e, t)
|
|
401
401
|
];
|
|
402
402
|
}
|
|
403
|
-
var lt = { BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
403
|
+
var lt = { VITE_OPENAI_API_KEY: "sk-None-vlUxLCqDnujVr1tvP6Z9T3BlbkFJt9Cap8RkiIWik0ZL4gkM", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
404
404
|
const Jt = Symbol();
|
|
405
405
|
const Bt = (e, t, s) => (t.has(s) ? t : t.set(s, e())).get(s), go = /* @__PURE__ */ new WeakMap(), bo = (e, t, s) => {
|
|
406
406
|
const o = Bt(() => /* @__PURE__ */ new WeakMap(), go, t);
|
|
407
407
|
return Bt(e, o, s);
|
|
408
|
-
},
|
|
408
|
+
}, xo = {}, _t = (e) => !!e.write, ho = (e) => typeof e == "function";
|
|
409
409
|
function vo(e, t) {
|
|
410
410
|
return bo(
|
|
411
411
|
() => {
|
|
@@ -417,9 +417,9 @@ function vo(e, t) {
|
|
|
417
417
|
return r.forEach((S, v) => {
|
|
418
418
|
const j = t ? t(S) : v;
|
|
419
419
|
N[v] = j;
|
|
420
|
-
const
|
|
421
|
-
if (
|
|
422
|
-
m[v] =
|
|
420
|
+
const O = l && l.atomList[l.keyList.indexOf(j)];
|
|
421
|
+
if (O) {
|
|
422
|
+
m[v] = O;
|
|
423
423
|
return;
|
|
424
424
|
}
|
|
425
425
|
const F = (T) => {
|
|
@@ -432,10 +432,10 @@ function vo(e, t) {
|
|
|
432
432
|
}
|
|
433
433
|
return V[K];
|
|
434
434
|
}, B = (T, G, V) => {
|
|
435
|
-
const
|
|
435
|
+
const Q = T(n), K = T(e), le = o(K, Q == null ? void 0 : Q.arr).keyList.indexOf(j);
|
|
436
436
|
if (le < 0 || le >= K.length)
|
|
437
437
|
throw new Error("splitAtom: index out of bounds for write");
|
|
438
|
-
const u =
|
|
438
|
+
const u = ho(V) ? V(K[le]) : V;
|
|
439
439
|
G(e, [
|
|
440
440
|
...K.slice(0, le),
|
|
441
441
|
u,
|
|
@@ -500,7 +500,7 @@ function vo(e, t) {
|
|
|
500
500
|
return i;
|
|
501
501
|
},
|
|
502
502
|
e,
|
|
503
|
-
t ||
|
|
503
|
+
t || xo
|
|
504
504
|
);
|
|
505
505
|
}
|
|
506
506
|
function Wr(e) {
|
|
@@ -597,30 +597,30 @@ ko.debugLabel = "chaiExternalDataAtom";
|
|
|
597
597
|
const Gr = () => !1, So = (e) => {
|
|
598
598
|
const t = e.replace(fe, "").split(",");
|
|
599
599
|
return { baseClasses: t[0], classes: t[1] };
|
|
600
|
-
}, Rt =
|
|
600
|
+
}, Rt = Oe((e, t) => {
|
|
601
601
|
if (!e)
|
|
602
602
|
return !0;
|
|
603
603
|
const s = we(e);
|
|
604
604
|
return s && pe(s, "canAcceptBlock") ? s.canAcceptBlock(t) : !1;
|
|
605
|
-
}), jo =
|
|
605
|
+
}), jo = Oe((e, t) => {
|
|
606
606
|
const s = we(t);
|
|
607
607
|
return s && pe(s, "canBeNested") ? s.canBeNested(e) : !0;
|
|
608
|
-
}), Hr =
|
|
608
|
+
}), Hr = Oe((e) => {
|
|
609
609
|
const t = we(e);
|
|
610
610
|
return t && pe(t, "canDuplicate") ? t.canDuplicate() : !0;
|
|
611
|
-
}), qr =
|
|
611
|
+
}), qr = Oe((e) => {
|
|
612
612
|
const t = we(e);
|
|
613
613
|
return t && pe(t, "canDelete") ? t.canDelete() : !0;
|
|
614
614
|
});
|
|
615
|
-
function
|
|
616
|
-
const o =
|
|
615
|
+
function Zt(e, t, s) {
|
|
616
|
+
const o = D(e, (i) => i._parent === t), n = [];
|
|
617
617
|
for (let i = 0; i < o.length; i++) {
|
|
618
|
-
const r =
|
|
618
|
+
const r = Xt(o[i]);
|
|
619
619
|
if (Object.keys(r).length > 0 && Object.keys(r).forEach((c) => {
|
|
620
620
|
o[i][c] = `slot:${de()}`;
|
|
621
|
-
}),
|
|
621
|
+
}), D(e, { _parent: o[i]._id }).length > 0) {
|
|
622
622
|
const c = de();
|
|
623
|
-
n.push({ ...o[i], oldId: o[i]._id, _id: c, _parent: s }), n.push(ie(
|
|
623
|
+
n.push({ ...o[i], oldId: o[i]._id, _id: c, _parent: s }), n.push(ie(Zt(e, o[i]._id, c)));
|
|
624
624
|
} else
|
|
625
625
|
n.push({
|
|
626
626
|
...o[i],
|
|
@@ -631,7 +631,7 @@ function Qt(e, t, s) {
|
|
|
631
631
|
}
|
|
632
632
|
return ie(n);
|
|
633
633
|
}
|
|
634
|
-
function
|
|
634
|
+
function Qt(e) {
|
|
635
635
|
const t = {};
|
|
636
636
|
e.forEach((o) => {
|
|
637
637
|
t[o._id] = { ...o, children: [] };
|
|
@@ -645,7 +645,7 @@ function Xt(e) {
|
|
|
645
645
|
s.push(t[o._id]);
|
|
646
646
|
}), s;
|
|
647
647
|
}
|
|
648
|
-
const
|
|
648
|
+
const Xt = (e) => {
|
|
649
649
|
const t = {};
|
|
650
650
|
return Object.keys(e).forEach((s) => {
|
|
651
651
|
Vt(e[s]) && e[s].startsWith("slot") && (t[s] = e[s].replace("slot:", ""));
|
|
@@ -654,10 +654,10 @@ const Zt = (e) => {
|
|
|
654
654
|
let o = oe(e, { _id: t });
|
|
655
655
|
o = { ...o, oldId: o._id, _id: de() }, s && (o = { ...o, _parent: s });
|
|
656
656
|
const n = [o];
|
|
657
|
-
|
|
657
|
+
D(e, { _parent: t }).length > 0 && n.push(ie(Zt(e, t, o._id)));
|
|
658
658
|
const i = ie(n);
|
|
659
659
|
return I(i, (r) => {
|
|
660
|
-
const c = r, p =
|
|
660
|
+
const c = r, p = Xt(c);
|
|
661
661
|
return Object.keys(p).length > 0 && Object.keys(p).forEach((l) => {
|
|
662
662
|
const m = oe(i, { oldId: p[l].replace("slot:", "") });
|
|
663
663
|
c[l] = `slot:${m._id}`;
|
|
@@ -668,7 +668,7 @@ const ne = y([]);
|
|
|
668
668
|
ne.debugLabel = "presentBlocksAtom";
|
|
669
669
|
const Co = y((e) => {
|
|
670
670
|
const t = e(ne);
|
|
671
|
-
return
|
|
671
|
+
return Qt([...t]);
|
|
672
672
|
});
|
|
673
673
|
Co.debugLabel = "treeDSBlocks";
|
|
674
674
|
ne.debugLabel = "presentBlocksAtom";
|
|
@@ -682,7 +682,7 @@ const es = y([]);
|
|
|
682
682
|
es.debugLabel = "buildingBlocksAtom";
|
|
683
683
|
const Ro = y((e) => {
|
|
684
684
|
const t = e(es);
|
|
685
|
-
return
|
|
685
|
+
return D(t, (s) => pe(s, "blockId"));
|
|
686
686
|
});
|
|
687
687
|
Ro.debugLabel = "globalBlocksAtom";
|
|
688
688
|
const dt = y([]);
|
|
@@ -690,7 +690,7 @@ dt.debugLabel = "selectedBlockIdsAtom";
|
|
|
690
690
|
const ut = y((e) => {
|
|
691
691
|
const t = e(ne), s = e(dt);
|
|
692
692
|
return I(
|
|
693
|
-
|
|
693
|
+
D(t, ({ _id: o }) => Y(s, o)),
|
|
694
694
|
(o) => ({ ...o })
|
|
695
695
|
);
|
|
696
696
|
});
|
|
@@ -705,7 +705,7 @@ const $e = y((e) => {
|
|
|
705
705
|
$e.debugLabel = "selectedBlockAtom";
|
|
706
706
|
const Po = (e) => H(e, "parent", null), To = y((e) => {
|
|
707
707
|
const t = e(ut), s = I(t, Po);
|
|
708
|
-
return
|
|
708
|
+
return D(e(ne), (o) => Y(s, o._id));
|
|
709
709
|
});
|
|
710
710
|
To.debugLabel = "selectedBlocksParentsAtom";
|
|
711
711
|
const ts = y(() => !1);
|
|
@@ -717,9 +717,9 @@ ft.debugLabel = "styleStateAtom";
|
|
|
717
717
|
const os = Pe("styleBreakpoint", "xs");
|
|
718
718
|
os.debugLabel = "styleBreakpointAtom";
|
|
719
719
|
const Kr = () => ({
|
|
720
|
-
flexChild:
|
|
721
|
-
gridChild:
|
|
722
|
-
}), Jr = () =>
|
|
720
|
+
flexChild: X(ts),
|
|
721
|
+
gridChild: X(ss)
|
|
722
|
+
}), Jr = () => X($e), Io = y((e) => {
|
|
723
723
|
const t = e($e), s = e(ne);
|
|
724
724
|
let o = t;
|
|
725
725
|
const n = [t];
|
|
@@ -728,7 +728,7 @@ const Kr = () => ({
|
|
|
728
728
|
o = i, i && n.push(i);
|
|
729
729
|
} while (o != null && o._parent);
|
|
730
730
|
return n;
|
|
731
|
-
}), ns = () =>
|
|
731
|
+
}), ns = () => X(Io), Yr = () => {
|
|
732
732
|
const e = ns();
|
|
733
733
|
return ot(() => {
|
|
734
734
|
for (let t = 0; t < e.length; t++) {
|
|
@@ -738,7 +738,7 @@ const Kr = () => ({
|
|
|
738
738
|
}
|
|
739
739
|
return {};
|
|
740
740
|
}, [e]);
|
|
741
|
-
},
|
|
741
|
+
}, Zr = () => {
|
|
742
742
|
const e = ns();
|
|
743
743
|
return ot(() => {
|
|
744
744
|
let t = {};
|
|
@@ -749,7 +749,7 @@ const Kr = () => ({
|
|
|
749
749
|
return t;
|
|
750
750
|
}, [e]);
|
|
751
751
|
}, Fe = () => {
|
|
752
|
-
const [e, t] =
|
|
752
|
+
const [e, t] = L(dt), s = $(
|
|
753
753
|
(o) => {
|
|
754
754
|
t((n) => Y(n, o) ? $t(n, o) : [...n, o]);
|
|
755
755
|
},
|
|
@@ -824,7 +824,7 @@ const Kr = () => ({
|
|
|
824
824
|
return {};
|
|
825
825
|
const t = {};
|
|
826
826
|
return Object.keys(e).forEach((s) => {
|
|
827
|
-
t[s] =
|
|
827
|
+
t[s] = Eo(e[s]);
|
|
828
828
|
}), t;
|
|
829
829
|
}, Mo = (e) => {
|
|
830
830
|
if (ye(e.default))
|
|
@@ -836,7 +836,7 @@ const Kr = () => ({
|
|
|
836
836
|
pe(t, i) && H(t[i], "i18n", !1) && (o[i] = Wt);
|
|
837
837
|
}), o;
|
|
838
838
|
});
|
|
839
|
-
},
|
|
839
|
+
}, Eo = (e) => {
|
|
840
840
|
switch (e.type) {
|
|
841
841
|
case "styles":
|
|
842
842
|
return e.default;
|
|
@@ -853,7 +853,7 @@ const Kr = () => ({
|
|
|
853
853
|
return "";
|
|
854
854
|
}
|
|
855
855
|
};
|
|
856
|
-
var mt = { exports: {} },
|
|
856
|
+
var mt = { exports: {} }, Qr = mt.exports;
|
|
857
857
|
(function(e) {
|
|
858
858
|
(function() {
|
|
859
859
|
"use strict";
|
|
@@ -958,16 +958,16 @@ var mt = { exports: {} }, Xr = mt.exports;
|
|
|
958
958
|
e.exports ? e.exports = s : window.UndoManager = s;
|
|
959
959
|
})();
|
|
960
960
|
})(mt);
|
|
961
|
-
var
|
|
962
|
-
const
|
|
963
|
-
const [e, t] =
|
|
961
|
+
var Do = mt.exports;
|
|
962
|
+
const Lo = /* @__PURE__ */ Hs(Do), Oo = y(Ze), zo = y(null), rs = () => {
|
|
963
|
+
const [e, t] = L(Oo);
|
|
964
964
|
return [
|
|
965
|
-
Us(e) ? { ...
|
|
965
|
+
Us(e) ? { ...Ze, ...e } : Ze,
|
|
966
966
|
t
|
|
967
967
|
];
|
|
968
|
-
},
|
|
968
|
+
}, Xr = () => L(zo), Vo = y(null), $o = () => ({ currentPage: X(Vo) });
|
|
969
969
|
function Fo(e) {
|
|
970
|
-
return
|
|
970
|
+
return Qt(e);
|
|
971
971
|
}
|
|
972
972
|
const pt = (e, t) => ie(
|
|
973
973
|
e.map((s) => {
|
|
@@ -990,7 +990,7 @@ function gt(e, t = !1) {
|
|
|
990
990
|
}
|
|
991
991
|
}
|
|
992
992
|
function is(e) {
|
|
993
|
-
let t = [], s =
|
|
993
|
+
let t = [], s = D(e, { type: "GlobalBlock" });
|
|
994
994
|
return s.length > 0 && (s = I(s, ls), ce(s, (o) => {
|
|
995
995
|
t = [...t, ...Uo(o)];
|
|
996
996
|
})), t;
|
|
@@ -1005,16 +1005,16 @@ function Uo(e) {
|
|
|
1005
1005
|
return n = Ae(n, "0.parent", s), t = [...t, n, ...is(n)], t;
|
|
1006
1006
|
}
|
|
1007
1007
|
function ls(e) {
|
|
1008
|
-
const t = oe(
|
|
1008
|
+
const t = oe(Xe, { _id: e._id });
|
|
1009
1009
|
if (!t)
|
|
1010
1010
|
return [];
|
|
1011
|
-
const s = [t], o =
|
|
1011
|
+
const s = [t], o = D(Xe, { _parent: e._id });
|
|
1012
1012
|
return o.length ? ie([...s, ...ie(I(o, ls))]) : ie(s);
|
|
1013
1013
|
}
|
|
1014
1014
|
const cs = (e) => JSON.parse(JSON.stringify(e));
|
|
1015
|
-
let
|
|
1015
|
+
let Xe = [];
|
|
1016
1016
|
function Wo(e) {
|
|
1017
|
-
|
|
1017
|
+
Xe = e;
|
|
1018
1018
|
const t = Fo(cs(e));
|
|
1019
1019
|
gt(t);
|
|
1020
1020
|
const s = pt(t, null), o = is(s), n = {};
|
|
@@ -1033,14 +1033,14 @@ const Go = () => {
|
|
|
1033
1033
|
};
|
|
1034
1034
|
}, [e, t, s]);
|
|
1035
1035
|
}, ve = (e, t = void 0) => {
|
|
1036
|
-
const s =
|
|
1036
|
+
const s = X(Yt);
|
|
1037
1037
|
return H(s, e, t);
|
|
1038
1038
|
}, ds = y([]);
|
|
1039
1039
|
ds.debugLabel = "dataProvidersAtom";
|
|
1040
|
-
const Ho = () =>
|
|
1040
|
+
const Ho = () => L(ds), bt = y("SAVED");
|
|
1041
1041
|
bt.debugLabel = "builderSaveStateAtom";
|
|
1042
1042
|
const ei = () => {
|
|
1043
|
-
const [e, t] =
|
|
1043
|
+
const [e, t] = L(bt), s = ve("onSavePage", async (l) => {
|
|
1044
1044
|
}), o = ve("onSave", async (l) => {
|
|
1045
1045
|
}), n = ve("onSaveStateChange", Ke), i = Go(), [r] = Ho(), [c] = rs();
|
|
1046
1046
|
return { savePage: qs(
|
|
@@ -1055,10 +1055,10 @@ const ei = () => {
|
|
|
1055
1055
|
3e3
|
|
1056
1056
|
// save only every 5 seconds
|
|
1057
1057
|
), saveState: e, setSaveState: t };
|
|
1058
|
-
}, ae = new
|
|
1058
|
+
}, ae = new Lo();
|
|
1059
1059
|
ae.setLimit(50);
|
|
1060
1060
|
const us = () => {
|
|
1061
|
-
const [, e] =
|
|
1061
|
+
const [, e] = L(bt), t = ve("onSaveStateChange", Ke);
|
|
1062
1062
|
return Be(() => (ae.setCallback(() => {
|
|
1063
1063
|
e("UNSAVED"), t("UNSAVED");
|
|
1064
1064
|
}), () => {
|
|
@@ -1071,16 +1071,16 @@ const us = () => {
|
|
|
1071
1071
|
hasUndo: ae.hasUndo,
|
|
1072
1072
|
clear: ae.clear
|
|
1073
1073
|
};
|
|
1074
|
-
},
|
|
1075
|
-
const s = [], o =
|
|
1076
|
-
return ye(s) ? o :
|
|
1074
|
+
}, xt = (e, t) => {
|
|
1075
|
+
const s = [], o = D(e, (n) => Y(t, n._id) || Y(t, n._parent) ? (s.push(n._id), !1) : !0);
|
|
1076
|
+
return ye(s) ? o : xt(o, s);
|
|
1077
1077
|
}, ti = () => {
|
|
1078
|
-
const [e] = ke(), [t, s] = Fe(), { setNewBlocks: o } =
|
|
1078
|
+
const [e] = ke(), [t, s] = Fe(), { setNewBlocks: o } = xe();
|
|
1079
1079
|
return $(
|
|
1080
1080
|
(n) => {
|
|
1081
1081
|
var r;
|
|
1082
1082
|
const i = ((r = oe(e, { _id: n[0] })) == null ? void 0 : r._parent) || null;
|
|
1083
|
-
o(
|
|
1083
|
+
o(xt(e, n)), setTimeout(() => s(i ? [i] : []), 200);
|
|
1084
1084
|
},
|
|
1085
1085
|
[e, s, t]
|
|
1086
1086
|
);
|
|
@@ -1161,7 +1161,7 @@ const Ko = (e, t, s, o) => {
|
|
|
1161
1161
|
e((n) => qo(n, t, s, o));
|
|
1162
1162
|
},
|
|
1163
1163
|
removeBlocks: (t) => {
|
|
1164
|
-
e((s) =>
|
|
1164
|
+
e((s) => xt(s, t));
|
|
1165
1165
|
},
|
|
1166
1166
|
moveBlocks: (t, s, o) => {
|
|
1167
1167
|
e((n) => Ko(n, t, s, o));
|
|
@@ -1179,7 +1179,7 @@ const Ko = (e, t, s, o) => {
|
|
|
1179
1179
|
});
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
|
-
}, ke = () =>
|
|
1182
|
+
}, ke = () => L(ne), xe = () => {
|
|
1183
1183
|
const { add: e } = us(), [t] = ke(), {
|
|
1184
1184
|
setNewBlocks: s,
|
|
1185
1185
|
addBlocks: o,
|
|
@@ -1188,22 +1188,22 @@ const Ko = (e, t, s, o) => {
|
|
|
1188
1188
|
updateBlocksProps: r
|
|
1189
1189
|
} = Jo();
|
|
1190
1190
|
return {
|
|
1191
|
-
moveBlocks: (v, j,
|
|
1191
|
+
moveBlocks: (v, j, O) => {
|
|
1192
1192
|
const F = I(v, (T) => {
|
|
1193
1193
|
const V = t.find((J) => J._id === T)._parent || null, K = t.filter((J) => V ? J._parent === V : !J._parent).map((J) => J._id).indexOf(T);
|
|
1194
1194
|
return { _id: T, oldParent: V, oldPosition: K };
|
|
1195
1195
|
}), B = F.find(({ _id: T }) => T === v[0]);
|
|
1196
|
-
B && B.oldParent === j && B.oldPosition ===
|
|
1196
|
+
B && B.oldParent === j && B.oldPosition === O || (i(v, j, O), e({
|
|
1197
1197
|
undo: () => ce(F, ({ _id: T, oldParent: G, oldPosition: V }) => {
|
|
1198
1198
|
i([T], G, V);
|
|
1199
1199
|
}),
|
|
1200
|
-
redo: () => i(v, j,
|
|
1200
|
+
redo: () => i(v, j, O)
|
|
1201
1201
|
}));
|
|
1202
1202
|
},
|
|
1203
|
-
addBlocks: (v, j,
|
|
1204
|
-
o(v, j,
|
|
1203
|
+
addBlocks: (v, j, O) => {
|
|
1204
|
+
o(v, j, O), e({
|
|
1205
1205
|
undo: () => n(I(v, "_id")),
|
|
1206
|
-
redo: () => o(v, j,
|
|
1206
|
+
redo: () => o(v, j, O)
|
|
1207
1207
|
});
|
|
1208
1208
|
},
|
|
1209
1209
|
removeBlocks: (v) => {
|
|
@@ -1214,15 +1214,15 @@ const Ko = (e, t, s, o) => {
|
|
|
1214
1214
|
redo: () => n(I(v, "_id"))
|
|
1215
1215
|
});
|
|
1216
1216
|
},
|
|
1217
|
-
updateBlocks: (v, j,
|
|
1217
|
+
updateBlocks: (v, j, O) => {
|
|
1218
1218
|
let F = [];
|
|
1219
|
-
if (
|
|
1220
|
-
F = I(v, (B) => ({ _id: B, ...
|
|
1219
|
+
if (O)
|
|
1220
|
+
F = I(v, (B) => ({ _id: B, ...O }));
|
|
1221
1221
|
else {
|
|
1222
1222
|
const B = Ws(j);
|
|
1223
1223
|
F = I(v, (T) => {
|
|
1224
|
-
const G = t.find((
|
|
1225
|
-
return ce(B, (
|
|
1224
|
+
const G = t.find((Q) => Q._id === T), V = { _id: T };
|
|
1225
|
+
return ce(B, (Q) => V[Q] = G[Q]), V;
|
|
1226
1226
|
});
|
|
1227
1227
|
}
|
|
1228
1228
|
r(I(v, (B) => ({ _id: B, ...j }))), e({
|
|
@@ -1231,7 +1231,7 @@ const Ko = (e, t, s, o) => {
|
|
|
1231
1231
|
});
|
|
1232
1232
|
},
|
|
1233
1233
|
updateBlocksRuntime: (v, j) => {
|
|
1234
|
-
r(I(v, (
|
|
1234
|
+
r(I(v, (O) => ({ _id: O, ...j })));
|
|
1235
1235
|
},
|
|
1236
1236
|
setNewBlocks: (v) => {
|
|
1237
1237
|
s(v), e({
|
|
@@ -1259,10 +1259,10 @@ const Ko = (e, t, s, o) => {
|
|
|
1259
1259
|
size: "default"
|
|
1260
1260
|
}
|
|
1261
1261
|
}
|
|
1262
|
-
),
|
|
1263
|
-
|
|
1264
|
-
const
|
|
1265
|
-
|
|
1262
|
+
), Zo = f.forwardRef(({ className: e, variant: t, size: s, ...o }, n) => /* @__PURE__ */ a.jsx(Gt.Root, { ref: n, className: d(Yo({ variant: t, size: s, className: e })), ...o }));
|
|
1263
|
+
Zo.displayName = Gt.Root.displayName;
|
|
1264
|
+
const Qo = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1265
|
+
Qe.Root,
|
|
1266
1266
|
{
|
|
1267
1267
|
className: d(
|
|
1268
1268
|
"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",
|
|
@@ -1271,7 +1271,7 @@ const Xo = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1271
1271
|
...t,
|
|
1272
1272
|
ref: s,
|
|
1273
1273
|
children: /* @__PURE__ */ a.jsx(
|
|
1274
|
-
|
|
1274
|
+
Qe.Thumb,
|
|
1275
1275
|
{
|
|
1276
1276
|
className: d(
|
|
1277
1277
|
"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"
|
|
@@ -1280,8 +1280,8 @@ const Xo = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1280
1280
|
)
|
|
1281
1281
|
}
|
|
1282
1282
|
));
|
|
1283
|
-
|
|
1284
|
-
const
|
|
1283
|
+
Qo.displayName = Qe.Root.displayName;
|
|
1284
|
+
const ht = ge(
|
|
1285
1285
|
"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",
|
|
1286
1286
|
{
|
|
1287
1287
|
variants: {
|
|
@@ -1305,13 +1305,13 @@ const xt = ge(
|
|
|
1305
1305
|
size: "default"
|
|
1306
1306
|
}
|
|
1307
1307
|
}
|
|
1308
|
-
),
|
|
1308
|
+
), Xo = f.forwardRef(
|
|
1309
1309
|
({ className: e, variant: t, size: s, asChild: o = !1, ...n }, i) => {
|
|
1310
1310
|
const r = o ? Ks : "button";
|
|
1311
|
-
return /* @__PURE__ */ a.jsx(r, { className: d(
|
|
1311
|
+
return /* @__PURE__ */ a.jsx(r, { className: d(ht({ variant: t, size: s, className: e })), ref: i, ...n });
|
|
1312
1312
|
}
|
|
1313
1313
|
);
|
|
1314
|
-
|
|
1314
|
+
Xo.displayName = "Button";
|
|
1315
1315
|
const si = me.Root, en = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(me.Item, { ref: s, className: d("border-b", e), ...t }));
|
|
1316
1316
|
en.displayName = "AccordionItem";
|
|
1317
1317
|
const tn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsx(me.Header, { className: "flex", children: /* @__PURE__ */ a.jsxs(
|
|
@@ -1418,13 +1418,13 @@ const fn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.T
|
|
|
1418
1418
|
fn.displayName = q.Title.displayName;
|
|
1419
1419
|
const mn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.Description, { ref: s, className: d("text-sm text-muted-foreground", e), ...t }));
|
|
1420
1420
|
mn.displayName = q.Description.displayName;
|
|
1421
|
-
const pn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.Action, { ref: s, className: d(
|
|
1421
|
+
const pn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(q.Action, { ref: s, className: d(ht(), e), ...t }));
|
|
1422
1422
|
pn.displayName = q.Action.displayName;
|
|
1423
1423
|
const gn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1424
1424
|
q.Cancel,
|
|
1425
1425
|
{
|
|
1426
1426
|
ref: s,
|
|
1427
|
-
className: d(
|
|
1427
|
+
className: d(ht({ variant: "outline" }), "mt-2 sm:mt-0", e),
|
|
1428
1428
|
...t
|
|
1429
1429
|
}
|
|
1430
1430
|
));
|
|
@@ -1465,10 +1465,10 @@ const vt = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1465
1465
|
)
|
|
1466
1466
|
] }));
|
|
1467
1467
|
vt.displayName = P.Content.displayName;
|
|
1468
|
-
const
|
|
1469
|
-
|
|
1470
|
-
const
|
|
1471
|
-
|
|
1468
|
+
const xn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-1.5 text-center sm:text-left", e), ...t });
|
|
1469
|
+
xn.displayName = "DialogHeader";
|
|
1470
|
+
const hn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
1471
|
+
hn.displayName = "DialogFooter";
|
|
1472
1472
|
const vn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1473
1473
|
P.Title,
|
|
1474
1474
|
{
|
|
@@ -1531,11 +1531,11 @@ const Rn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1531
1531
|
Rn.displayName = "Textarea";
|
|
1532
1532
|
const Pn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(ue.Root, { ref: o, className: d("relative overflow-hidden", e), ...s, children: [
|
|
1533
1533
|
/* @__PURE__ */ a.jsx(ue.Viewport, { className: "h-full w-full rounded-[inherit]", children: t }),
|
|
1534
|
-
/* @__PURE__ */ a.jsx(
|
|
1534
|
+
/* @__PURE__ */ a.jsx(xs, {}),
|
|
1535
1535
|
/* @__PURE__ */ a.jsx(ue.Corner, {})
|
|
1536
1536
|
] }));
|
|
1537
1537
|
Pn.displayName = ue.Root.displayName;
|
|
1538
|
-
const
|
|
1538
|
+
const xs = f.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
1539
1539
|
ue.ScrollAreaScrollbar,
|
|
1540
1540
|
{
|
|
1541
1541
|
ref: o,
|
|
@@ -1550,8 +1550,8 @@ const hs = f.forwardRef(({ className: e, orientation: t = "vertical", ...s }, o)
|
|
|
1550
1550
|
children: /* @__PURE__ */ a.jsx(ue.ScrollAreaThumb, { className: "relative flex-1 rounded-full bg-border" })
|
|
1551
1551
|
}
|
|
1552
1552
|
));
|
|
1553
|
-
|
|
1554
|
-
const Tn = be.Root,
|
|
1553
|
+
xs.displayName = ue.ScrollAreaScrollbar.displayName;
|
|
1554
|
+
const Tn = be.Root, hs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1555
1555
|
be.List,
|
|
1556
1556
|
{
|
|
1557
1557
|
ref: s,
|
|
@@ -1562,7 +1562,7 @@ const Tn = be.Root, xs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE_
|
|
|
1562
1562
|
...t
|
|
1563
1563
|
}
|
|
1564
1564
|
));
|
|
1565
|
-
|
|
1565
|
+
hs.displayName = be.List.displayName;
|
|
1566
1566
|
const et = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1567
1567
|
be.Trigger,
|
|
1568
1568
|
{
|
|
@@ -1614,7 +1614,7 @@ const di = Ce.Root, ui = Ce.Trigger, Mn = f.forwardRef(({ className: e, align: t
|
|
|
1614
1614
|
}
|
|
1615
1615
|
) }));
|
|
1616
1616
|
Mn.displayName = Ce.Content.displayName;
|
|
1617
|
-
const fi = _.Menu, mi = _.Group, pi = _.Portal, gi = _.Sub, bi = _.RadioGroup,
|
|
1617
|
+
const fi = _.Menu, mi = _.Group, pi = _.Portal, gi = _.Sub, bi = _.RadioGroup, En = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1618
1618
|
_.Root,
|
|
1619
1619
|
{
|
|
1620
1620
|
ref: s,
|
|
@@ -1622,8 +1622,8 @@ const fi = _.Menu, mi = _.Group, pi = _.Portal, gi = _.Sub, bi = _.RadioGroup, D
|
|
|
1622
1622
|
...t
|
|
1623
1623
|
}
|
|
1624
1624
|
));
|
|
1625
|
-
|
|
1626
|
-
const
|
|
1625
|
+
En.displayName = _.Root.displayName;
|
|
1626
|
+
const Dn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1627
1627
|
_.Trigger,
|
|
1628
1628
|
{
|
|
1629
1629
|
ref: s,
|
|
@@ -1634,8 +1634,8 @@ const En = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1634
1634
|
...t
|
|
1635
1635
|
}
|
|
1636
1636
|
));
|
|
1637
|
-
|
|
1638
|
-
const
|
|
1637
|
+
Dn.displayName = _.Trigger.displayName;
|
|
1638
|
+
const Ln = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
1639
1639
|
_.SubTrigger,
|
|
1640
1640
|
{
|
|
1641
1641
|
ref: n,
|
|
@@ -1651,8 +1651,8 @@ const On = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /*
|
|
|
1651
1651
|
]
|
|
1652
1652
|
}
|
|
1653
1653
|
));
|
|
1654
|
-
|
|
1655
|
-
const
|
|
1654
|
+
Ln.displayName = _.SubTrigger.displayName;
|
|
1655
|
+
const On = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
1656
1656
|
_.SubContent,
|
|
1657
1657
|
{
|
|
1658
1658
|
ref: s,
|
|
@@ -1663,7 +1663,7 @@ const Ln = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1663
1663
|
...t
|
|
1664
1664
|
}
|
|
1665
1665
|
));
|
|
1666
|
-
|
|
1666
|
+
On.displayName = _.SubContent.displayName;
|
|
1667
1667
|
const zn = f.forwardRef(({ className: e, align: t = "start", alignOffset: s = -4, sideOffset: o = 8, ...n }, i) => /* @__PURE__ */ a.jsx(_.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
1668
1668
|
_.Content,
|
|
1669
1669
|
{
|
|
@@ -1738,7 +1738,7 @@ const Wn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(_.S
|
|
|
1738
1738
|
Wn.displayName = _.Separator.displayName;
|
|
1739
1739
|
const Gn = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
1740
1740
|
Gn.displayname = "MenubarShortcut";
|
|
1741
|
-
const
|
|
1741
|
+
const xi = Ve.Root, hi = Ve.Trigger, Hn = f.forwardRef(({ className: e, align: t = "center", sideOffset: s = 4, ...o }, n) => /* @__PURE__ */ a.jsx(
|
|
1742
1742
|
Ve.Content,
|
|
1743
1743
|
{
|
|
1744
1744
|
ref: n,
|
|
@@ -1810,8 +1810,8 @@ const Yn = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
1810
1810
|
}
|
|
1811
1811
|
));
|
|
1812
1812
|
Yn.displayName = U.Item.displayName;
|
|
1813
|
-
const
|
|
1814
|
-
|
|
1813
|
+
const Zn = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(U.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-muted", e), ...t }));
|
|
1814
|
+
Zn.displayName = U.Separator.displayName;
|
|
1815
1815
|
const Ni = P.Root, ki = P.Trigger, Si = P.Close, vs = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx(P.Portal, { className: d(e), ...t });
|
|
1816
1816
|
vs.displayName = P.Portal.displayName;
|
|
1817
1817
|
const ys = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
@@ -1826,7 +1826,7 @@ const ys = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
1826
1826
|
}
|
|
1827
1827
|
));
|
|
1828
1828
|
ys.displayName = P.Overlay.displayName;
|
|
1829
|
-
const
|
|
1829
|
+
const Qn = ge(
|
|
1830
1830
|
"fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:duration-300 data-[state=open]:duration-500",
|
|
1831
1831
|
{
|
|
1832
1832
|
variants: {
|
|
@@ -1841,10 +1841,10 @@ const Xn = ge(
|
|
|
1841
1841
|
side: "right"
|
|
1842
1842
|
}
|
|
1843
1843
|
}
|
|
1844
|
-
),
|
|
1844
|
+
), Xn = f.forwardRef(
|
|
1845
1845
|
({ side: e = "right", className: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(vs, { children: [
|
|
1846
1846
|
/* @__PURE__ */ a.jsx(ys, {}),
|
|
1847
|
-
/* @__PURE__ */ a.jsxs(P.Content, { ref: n, className: d(
|
|
1847
|
+
/* @__PURE__ */ a.jsxs(P.Content, { ref: n, className: d(Qn({ side: e }), t), ...o, children: [
|
|
1848
1848
|
s,
|
|
1849
1849
|
/* @__PURE__ */ a.jsxs(P.Close, { className: "absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none data-[state=open]:bg-secondary", children: [
|
|
1850
1850
|
/* @__PURE__ */ a.jsx(at, { className: "h-4 w-4" }),
|
|
@@ -1853,7 +1853,7 @@ const Xn = ge(
|
|
|
1853
1853
|
] })
|
|
1854
1854
|
] })
|
|
1855
1855
|
);
|
|
1856
|
-
|
|
1856
|
+
Xn.displayName = P.Content.displayName;
|
|
1857
1857
|
const ea = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col space-y-2 text-center sm:text-left", e), ...t });
|
|
1858
1858
|
ea.displayName = "SheetHeader";
|
|
1859
1859
|
const ta = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2", e), ...t });
|
|
@@ -1990,7 +1990,7 @@ const qe = /* @__PURE__ */ new Map(), Mt = (e) => {
|
|
|
1990
1990
|
});
|
|
1991
1991
|
}, ga);
|
|
1992
1992
|
qe.set(e, t);
|
|
1993
|
-
},
|
|
1993
|
+
}, xa = (e, t) => {
|
|
1994
1994
|
switch (t.type) {
|
|
1995
1995
|
case "ADD_TOAST":
|
|
1996
1996
|
return {
|
|
@@ -2025,14 +2025,14 @@ const qe = /* @__PURE__ */ new Map(), Mt = (e) => {
|
|
|
2025
2025
|
toasts: e.toasts.filter((s) => s.id !== t.toastId)
|
|
2026
2026
|
};
|
|
2027
2027
|
}
|
|
2028
|
-
},
|
|
2029
|
-
let
|
|
2028
|
+
}, Ee = [];
|
|
2029
|
+
let De = { toasts: [] };
|
|
2030
2030
|
function je(e) {
|
|
2031
|
-
|
|
2032
|
-
t(
|
|
2031
|
+
De = xa(De, e), Ee.forEach((t) => {
|
|
2032
|
+
t(De);
|
|
2033
2033
|
});
|
|
2034
2034
|
}
|
|
2035
|
-
function
|
|
2035
|
+
function ha({ ...e }) {
|
|
2036
2036
|
const t = ba(), s = (n) => je({
|
|
2037
2037
|
type: "UPDATE_TOAST",
|
|
2038
2038
|
toast: { ...n, id: t }
|
|
@@ -2054,13 +2054,13 @@ function xa({ ...e }) {
|
|
|
2054
2054
|
};
|
|
2055
2055
|
}
|
|
2056
2056
|
function ws() {
|
|
2057
|
-
const [e, t] = f.useState(
|
|
2058
|
-
return f.useEffect(() => (
|
|
2059
|
-
const s =
|
|
2060
|
-
s > -1 &&
|
|
2057
|
+
const [e, t] = f.useState(De);
|
|
2058
|
+
return f.useEffect(() => (Ee.push(t), () => {
|
|
2059
|
+
const s = Ee.indexOf(t);
|
|
2060
|
+
s > -1 && Ee.splice(s, 1);
|
|
2061
2061
|
}), [e]), {
|
|
2062
2062
|
...e,
|
|
2063
|
-
toast:
|
|
2063
|
+
toast: ha,
|
|
2064
2064
|
dismiss: (s) => je({ type: "DISMISS_TOAST", toastId: s })
|
|
2065
2065
|
};
|
|
2066
2066
|
}
|
|
@@ -2136,7 +2136,7 @@ function Pi() {
|
|
|
2136
2136
|
] });
|
|
2137
2137
|
}
|
|
2138
2138
|
const Ti = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className: d("animate-pulse rounded-md bg-primary/10", e), ...t }), Cs = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2139
|
-
|
|
2139
|
+
Z,
|
|
2140
2140
|
{
|
|
2141
2141
|
ref: s,
|
|
2142
2142
|
className: d(
|
|
@@ -2146,11 +2146,11 @@ const Ti = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("div", { className:
|
|
|
2146
2146
|
...t
|
|
2147
2147
|
}
|
|
2148
2148
|
));
|
|
2149
|
-
Cs.displayName =
|
|
2149
|
+
Cs.displayName = Z.displayName;
|
|
2150
2150
|
const Ii = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ps, { ...t, children: /* @__PURE__ */ a.jsx(vt, { className: "overflow-hidden p-0", children: /* @__PURE__ */ a.jsx(Cs, { 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 }) }) }), Na = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
2151
|
-
/* @__PURE__ */ a.jsx(
|
|
2151
|
+
/* @__PURE__ */ a.jsx(Zs, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
2152
2152
|
/* @__PURE__ */ a.jsx(
|
|
2153
|
-
|
|
2153
|
+
Z.Input,
|
|
2154
2154
|
{
|
|
2155
2155
|
ref: s,
|
|
2156
2156
|
className: d(
|
|
@@ -2161,20 +2161,20 @@ const Ii = ({ children: e, ...t }) => /* @__PURE__ */ a.jsx(ps, { ...t, children
|
|
|
2161
2161
|
}
|
|
2162
2162
|
)
|
|
2163
2163
|
] }));
|
|
2164
|
-
Na.displayName =
|
|
2164
|
+
Na.displayName = Z.Input.displayName;
|
|
2165
2165
|
const ka = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2166
|
-
|
|
2166
|
+
Z.List,
|
|
2167
2167
|
{
|
|
2168
2168
|
ref: s,
|
|
2169
2169
|
className: d("max-h-[300px] overflow-y-auto overflow-x-hidden", e),
|
|
2170
2170
|
...t
|
|
2171
2171
|
}
|
|
2172
2172
|
));
|
|
2173
|
-
ka.displayName =
|
|
2174
|
-
const Sa = f.forwardRef((e, t) => /* @__PURE__ */ a.jsx(
|
|
2175
|
-
Sa.displayName =
|
|
2173
|
+
ka.displayName = Z.List.displayName;
|
|
2174
|
+
const Sa = f.forwardRef((e, t) => /* @__PURE__ */ a.jsx(Z.Empty, { ref: t, className: "py-6 text-center text-sm", ...e }));
|
|
2175
|
+
Sa.displayName = Z.Empty.displayName;
|
|
2176
2176
|
const ja = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2177
|
-
|
|
2177
|
+
Z.Group,
|
|
2178
2178
|
{
|
|
2179
2179
|
ref: s,
|
|
2180
2180
|
className: d(
|
|
@@ -2184,11 +2184,11 @@ const ja = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2184
2184
|
...t
|
|
2185
2185
|
}
|
|
2186
2186
|
));
|
|
2187
|
-
ja.displayName =
|
|
2188
|
-
const Aa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2189
|
-
Aa.displayName =
|
|
2187
|
+
ja.displayName = Z.Group.displayName;
|
|
2188
|
+
const Aa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(Z.Separator, { ref: s, className: d("-mx-1 h-px bg-border", e), ...t }));
|
|
2189
|
+
Aa.displayName = Z.Separator.displayName;
|
|
2190
2190
|
const Ca = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2191
|
-
|
|
2191
|
+
Z.Item,
|
|
2192
2192
|
{
|
|
2193
2193
|
ref: s,
|
|
2194
2194
|
className: d(
|
|
@@ -2198,11 +2198,11 @@ const Ca = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2198
2198
|
...t
|
|
2199
2199
|
}
|
|
2200
2200
|
));
|
|
2201
|
-
Ca.displayName =
|
|
2201
|
+
Ca.displayName = Z.Item.displayName;
|
|
2202
2202
|
const Ba = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
2203
2203
|
Ba.displayName = "CommandShortcut";
|
|
2204
|
-
const Mi =
|
|
2205
|
-
|
|
2204
|
+
const Mi = E.Root, Ei = E.Trigger, Di = E.Group, Li = E.Portal, Oi = E.Sub, zi = E.RadioGroup, _a = f.forwardRef(({ className: e, inset: t, children: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2205
|
+
E.SubTrigger,
|
|
2206
2206
|
{
|
|
2207
2207
|
ref: n,
|
|
2208
2208
|
className: d(
|
|
@@ -2217,9 +2217,9 @@ const Mi = D.Root, Di = D.Trigger, Ei = D.Group, Oi = D.Portal, Li = D.Sub, zi =
|
|
|
2217
2217
|
]
|
|
2218
2218
|
}
|
|
2219
2219
|
));
|
|
2220
|
-
_a.displayName =
|
|
2220
|
+
_a.displayName = E.SubTrigger.displayName;
|
|
2221
2221
|
const Ra = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2222
|
-
|
|
2222
|
+
E.SubContent,
|
|
2223
2223
|
{
|
|
2224
2224
|
ref: s,
|
|
2225
2225
|
className: d(
|
|
@@ -2229,9 +2229,9 @@ const Ra = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
|
2229
2229
|
...t
|
|
2230
2230
|
}
|
|
2231
2231
|
));
|
|
2232
|
-
Ra.displayName =
|
|
2233
|
-
const Pa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(
|
|
2234
|
-
|
|
2232
|
+
Ra.displayName = E.SubContent.displayName;
|
|
2233
|
+
const Pa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(E.Portal, { children: /* @__PURE__ */ a.jsx(
|
|
2234
|
+
E.Content,
|
|
2235
2235
|
{
|
|
2236
2236
|
ref: s,
|
|
2237
2237
|
className: d(
|
|
@@ -2241,9 +2241,9 @@ const Pa = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(D.P
|
|
|
2241
2241
|
...t
|
|
2242
2242
|
}
|
|
2243
2243
|
) }));
|
|
2244
|
-
Pa.displayName =
|
|
2244
|
+
Pa.displayName = E.Content.displayName;
|
|
2245
2245
|
const Ta = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2246
|
-
|
|
2246
|
+
E.Item,
|
|
2247
2247
|
{
|
|
2248
2248
|
ref: o,
|
|
2249
2249
|
className: d(
|
|
@@ -2254,9 +2254,9 @@ const Ta = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */
|
|
|
2254
2254
|
...s
|
|
2255
2255
|
}
|
|
2256
2256
|
));
|
|
2257
|
-
Ta.displayName =
|
|
2257
|
+
Ta.displayName = E.Item.displayName;
|
|
2258
2258
|
const Ia = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) => /* @__PURE__ */ a.jsxs(
|
|
2259
|
-
|
|
2259
|
+
E.CheckboxItem,
|
|
2260
2260
|
{
|
|
2261
2261
|
ref: n,
|
|
2262
2262
|
className: d(
|
|
@@ -2266,14 +2266,14 @@ const Ia = f.forwardRef(({ className: e, children: t, checked: s, ...o }, n) =>
|
|
|
2266
2266
|
checked: s,
|
|
2267
2267
|
...o,
|
|
2268
2268
|
children: [
|
|
2269
|
-
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(
|
|
2269
|
+
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(E.ItemIndicator, { children: /* @__PURE__ */ a.jsx(ze, { className: "h-4 w-4" }) }) }),
|
|
2270
2270
|
t
|
|
2271
2271
|
]
|
|
2272
2272
|
}
|
|
2273
2273
|
));
|
|
2274
|
-
Ia.displayName =
|
|
2274
|
+
Ia.displayName = E.CheckboxItem.displayName;
|
|
2275
2275
|
const Ma = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__ */ a.jsxs(
|
|
2276
|
-
|
|
2276
|
+
E.RadioItem,
|
|
2277
2277
|
{
|
|
2278
2278
|
ref: o,
|
|
2279
2279
|
className: d(
|
|
@@ -2282,29 +2282,29 @@ const Ma = f.forwardRef(({ className: e, children: t, ...s }, o) => /* @__PURE__
|
|
|
2282
2282
|
),
|
|
2283
2283
|
...s,
|
|
2284
2284
|
children: [
|
|
2285
|
-
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(
|
|
2285
|
+
/* @__PURE__ */ a.jsx("span", { className: "absolute left-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ a.jsx(E.ItemIndicator, { children: /* @__PURE__ */ a.jsx(it, { className: "h-4 w-4 fill-current" }) }) }),
|
|
2286
2286
|
t
|
|
2287
2287
|
]
|
|
2288
2288
|
}
|
|
2289
2289
|
));
|
|
2290
|
-
Ma.displayName =
|
|
2291
|
-
const
|
|
2292
|
-
|
|
2290
|
+
Ma.displayName = E.RadioItem.displayName;
|
|
2291
|
+
const Ea = f.forwardRef(({ className: e, inset: t, ...s }, o) => /* @__PURE__ */ a.jsx(
|
|
2292
|
+
E.Label,
|
|
2293
2293
|
{
|
|
2294
2294
|
ref: o,
|
|
2295
2295
|
className: d("px-2 py-1.5 text-sm font-semibold text-foreground", t && "pl-8", e),
|
|
2296
2296
|
...s
|
|
2297
2297
|
}
|
|
2298
2298
|
));
|
|
2299
|
-
|
|
2300
|
-
const
|
|
2301
|
-
|
|
2302
|
-
const
|
|
2303
|
-
|
|
2304
|
-
const
|
|
2299
|
+
Ea.displayName = E.Label.displayName;
|
|
2300
|
+
const Da = f.forwardRef(({ className: e, ...t }, s) => /* @__PURE__ */ a.jsx(E.Separator, { ref: s, className: d("-mx-1 my-1 h-px bg-border", e), ...t }));
|
|
2301
|
+
Da.displayName = E.Separator.displayName;
|
|
2302
|
+
const La = ({ className: e, ...t }) => /* @__PURE__ */ a.jsx("span", { className: d("ml-auto text-xs tracking-widest text-muted-foreground", e), ...t });
|
|
2303
|
+
La.displayName = "ContextMenuShortcut";
|
|
2304
|
+
const Oa = (e) => {
|
|
2305
2305
|
try {
|
|
2306
2306
|
const t = document.getElementById("icon-picker-field"), s = document.createElement("div");
|
|
2307
|
-
eo.render(/* @__PURE__ */ a.jsx(
|
|
2307
|
+
eo.render(/* @__PURE__ */ a.jsx(Xs, { value: e }), s), t.appendChild(s), s.hidden = !0;
|
|
2308
2308
|
let o = s.innerHTML;
|
|
2309
2309
|
setTimeout(() => t.removeChild(s), 100);
|
|
2310
2310
|
const i = new DOMParser().parseFromString(o, "image/svg+xml"), r = i.querySelector("svg");
|
|
@@ -2315,7 +2315,7 @@ const La = (e) => {
|
|
|
2315
2315
|
}, Vi = ({ value: e, onChange: t }) => {
|
|
2316
2316
|
const s = (o) => {
|
|
2317
2317
|
t("<svg />");
|
|
2318
|
-
const n =
|
|
2318
|
+
const n = Oa(o);
|
|
2319
2319
|
t(n);
|
|
2320
2320
|
};
|
|
2321
2321
|
return /* @__PURE__ */ a.jsxs("div", { className: "mt-1 flex h-20 items-center gap-x-2", id: "icon-picker-field", children: [
|
|
@@ -2330,7 +2330,7 @@ const La = (e) => {
|
|
|
2330
2330
|
}
|
|
2331
2331
|
),
|
|
2332
2332
|
/* @__PURE__ */ a.jsx(
|
|
2333
|
-
|
|
2333
|
+
Qs,
|
|
2334
2334
|
{
|
|
2335
2335
|
value: e ? "BiSolidGrid" : null,
|
|
2336
2336
|
onChange: s,
|
|
@@ -2366,7 +2366,7 @@ const La = (e) => {
|
|
|
2366
2366
|
}
|
|
2367
2367
|
)
|
|
2368
2368
|
] });
|
|
2369
|
-
}, za = st.lazy(() => import("./UnsplashImages-
|
|
2369
|
+
}, za = st.lazy(() => import("./UnsplashImages-NYwOOgYa.js")), Va = st.lazy(() => import("./UploadImages-vpZeW-YW.js")), Bs = ({
|
|
2370
2370
|
isModalView: e = !1,
|
|
2371
2371
|
onSelect: t = () => {
|
|
2372
2372
|
}
|
|
@@ -2375,7 +2375,7 @@ const La = (e) => {
|
|
|
2375
2375
|
return /* @__PURE__ */ a.jsxs("div", { className: "flex h-full flex-col", children: [
|
|
2376
2376
|
/* @__PURE__ */ a.jsx("div", { className: "flex items-center justify-between rounded-md bg-background/30 p-1", children: /* @__PURE__ */ a.jsx("h1", { className: "px-1 font-semibold", children: e ? "Select or upload images" : "Images" }) }),
|
|
2377
2377
|
/* @__PURE__ */ a.jsxs(Tn, { value: s, onValueChange: (n) => o(n), className: "flex h-full w-full flex-col py-2", children: [
|
|
2378
|
-
/* @__PURE__ */ a.jsxs(
|
|
2378
|
+
/* @__PURE__ */ a.jsxs(hs, { className: "w-full", children: [
|
|
2379
2379
|
/* @__PURE__ */ a.jsx(et, { value: "upload", className: "w-1/2", children: "Upload" }),
|
|
2380
2380
|
/* @__PURE__ */ a.jsx(et, { value: "unsplash", className: "w-1/2", children: "Unsplash" })
|
|
2381
2381
|
] }),
|
|
@@ -2385,7 +2385,7 @@ const La = (e) => {
|
|
|
2385
2385
|
}, $i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
2386
2386
|
__proto__: null,
|
|
2387
2387
|
default: Bs
|
|
2388
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
2388
|
+
}, Symbol.toStringTag, { value: "Module" })), Et = ({ children: e, onSelect: t }) => {
|
|
2389
2389
|
const [s, o] = _e(!1), n = (...i) => {
|
|
2390
2390
|
t.call(void 0, ...i), o(!1);
|
|
2391
2391
|
};
|
|
@@ -2394,9 +2394,9 @@ const La = (e) => {
|
|
|
2394
2394
|
/* @__PURE__ */ a.jsx(vt, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ a.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ a.jsx(Bs, { isModalView: !0, onSelect: n }) }) })
|
|
2395
2395
|
] });
|
|
2396
2396
|
}, Fi = ({ value: e, onChange: t, id: s, onBlur: o }) => /* @__PURE__ */ a.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
|
|
2397
|
-
e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(
|
|
2397
|
+
e ? /* @__PURE__ */ a.jsx("img", { src: e, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ a.jsx(Et, { 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" }) }),
|
|
2398
2398
|
/* @__PURE__ */ a.jsxs("div", { className: "flex w-3/5 flex-col", children: [
|
|
2399
|
-
/* @__PURE__ */ a.jsx(
|
|
2399
|
+
/* @__PURE__ */ a.jsx(Et, { 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 || !ye(e) ? "Replace Image" : "Choose Image" }) }),
|
|
2400
2400
|
/* @__PURE__ */ a.jsx("small", { className: "-pl-4 pt-2 text-center text-xs text-gray-600", children: "OR" }),
|
|
2401
2401
|
/* @__PURE__ */ a.jsx(
|
|
2402
2402
|
"input",
|
|
@@ -2500,13 +2500,13 @@ const La = (e) => {
|
|
|
2500
2500
|
] })
|
|
2501
2501
|
] });
|
|
2502
2502
|
}, Gi = () => {
|
|
2503
|
-
const [e] = ke(), [, t] = Fe(), { addBlocks: s } =
|
|
2503
|
+
const [e] = ke(), [, t] = Fe(), { addBlocks: s } = xe(), { toast: o } = ws(), n = $(
|
|
2504
2504
|
(r, c, p) => {
|
|
2505
2505
|
var v;
|
|
2506
2506
|
for (let j = 0; j < r.length; j++) {
|
|
2507
|
-
const { _id:
|
|
2507
|
+
const { _id: O } = r[j];
|
|
2508
2508
|
r[j]._id = de();
|
|
2509
|
-
const F =
|
|
2509
|
+
const F = D(r, { _parent: O });
|
|
2510
2510
|
for (let B = 0; B < F.length; B++)
|
|
2511
2511
|
F[B]._parent = r[j]._id;
|
|
2512
2512
|
}
|
|
@@ -2556,23 +2556,23 @@ const La = (e) => {
|
|
|
2556
2556
|
},
|
|
2557
2557
|
[n, e, t]
|
|
2558
2558
|
), addPredefinedBlock: n };
|
|
2559
|
-
},
|
|
2559
|
+
}, Dt = {
|
|
2560
2560
|
xs: 420,
|
|
2561
2561
|
sm: 620,
|
|
2562
2562
|
md: 768,
|
|
2563
2563
|
lg: 1024,
|
|
2564
2564
|
xl: 1280,
|
|
2565
2565
|
"2xl": 1536
|
|
2566
|
-
},
|
|
2566
|
+
}, Lt = ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
2567
2567
|
function $a(e, t) {
|
|
2568
2568
|
if (t === null)
|
|
2569
2569
|
return "baseClasses";
|
|
2570
2570
|
const s = t.mq;
|
|
2571
2571
|
if (s === "xs" || t.dark || t.mod !== "")
|
|
2572
2572
|
return "classes";
|
|
2573
|
-
let o = "baseClasses", n =
|
|
2573
|
+
let o = "baseClasses", n = Lt.indexOf(s);
|
|
2574
2574
|
for (; n > 0; ) {
|
|
2575
|
-
const i =
|
|
2575
|
+
const i = Lt[n - 1];
|
|
2576
2576
|
if (oe(e, {
|
|
2577
2577
|
mq: i,
|
|
2578
2578
|
property: t.property
|
|
@@ -2584,26 +2584,26 @@ function $a(e, t) {
|
|
|
2584
2584
|
}
|
|
2585
2585
|
return o;
|
|
2586
2586
|
}
|
|
2587
|
-
const
|
|
2587
|
+
const Ot = [];
|
|
2588
2588
|
function Fa(e = "", t = "", s = []) {
|
|
2589
2589
|
e = e.trim().replace(/ +/g, "");
|
|
2590
|
-
let o =
|
|
2590
|
+
let o = D(
|
|
2591
2591
|
I(e.split(" "), Me),
|
|
2592
2592
|
(l) => !Je(l)
|
|
2593
|
-
), n =
|
|
2594
|
-
n =
|
|
2593
|
+
), n = D(I(t.split(" "), Me), (l) => !Je(l));
|
|
2594
|
+
n = D(
|
|
2595
2595
|
n,
|
|
2596
|
-
(l) => !Y(
|
|
2596
|
+
(l) => !Y(Ot, l.property)
|
|
2597
2597
|
);
|
|
2598
2598
|
const i = [], r = [];
|
|
2599
2599
|
ce(s, (l) => {
|
|
2600
2600
|
const m = Me(l), N = oe(o, Nt(m, ["dark", "mq", "mod", "property"]));
|
|
2601
|
-
if (N && (o =
|
|
2601
|
+
if (N && (o = D(
|
|
2602
2602
|
o,
|
|
2603
2603
|
(S) => S.fullCls !== (N == null ? void 0 : N.fullCls)
|
|
2604
|
-
)), i.push(m), m.mq === "xs" && !m.dark && m.mod === "" && (n =
|
|
2604
|
+
)), i.push(m), m.mq === "xs" && !m.dark && m.mod === "" && (n = D(n, (S) => S.property !== m.property)), $a(o, m) === "baseClasses" && !Y(Ot, m.property)) {
|
|
2605
2605
|
const S = oe(n, Nt(m, ["property"]));
|
|
2606
|
-
N && (n =
|
|
2606
|
+
N && (n = D(
|
|
2607
2607
|
n,
|
|
2608
2608
|
(v) => v.fullCls !== (S == null ? void 0 : S.fullCls)
|
|
2609
2609
|
)), r.push({
|
|
@@ -2614,21 +2614,21 @@ function Fa(e = "", t = "", s = []) {
|
|
|
2614
2614
|
}
|
|
2615
2615
|
});
|
|
2616
2616
|
const c = I(
|
|
2617
|
-
kt([...o, ...i], (l) =>
|
|
2617
|
+
kt([...o, ...i], (l) => Dt[l.mq]),
|
|
2618
2618
|
"fullCls"
|
|
2619
2619
|
).join(" ");
|
|
2620
2620
|
return `${I(
|
|
2621
|
-
kt([...n, ...r], (l) =>
|
|
2621
|
+
kt([...n, ...r], (l) => Dt[l.mq]),
|
|
2622
2622
|
"fullCls"
|
|
2623
2623
|
).join(" ").trim()},${c.trim()}`.trim().replace(/ +/g, "");
|
|
2624
2624
|
}
|
|
2625
2625
|
const Te = y([]);
|
|
2626
2626
|
Te.debugLabel = "selectedStylingBlocksAtom";
|
|
2627
|
-
const Ua = () =>
|
|
2627
|
+
const Ua = () => L(Te), Wa = (e) => {
|
|
2628
2628
|
const t = e.replace(fe, "").split(",");
|
|
2629
2629
|
return { baseClasses: t[0], classes: t[1] };
|
|
2630
2630
|
}, Ga = y(null, (e, t, { blockIds: s, newClasses: o }) => {
|
|
2631
|
-
const n =
|
|
2631
|
+
const n = D(
|
|
2632
2632
|
e(ct),
|
|
2633
2633
|
(r) => (
|
|
2634
2634
|
// @ts-ignore
|
|
@@ -2643,7 +2643,7 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2643
2643
|
};
|
|
2644
2644
|
});
|
|
2645
2645
|
}), Hi = () => {
|
|
2646
|
-
const e = Re(Ga), { updateBlocks: t, updateBlocksRuntime: s } =
|
|
2646
|
+
const e = Re(Ga), { updateBlocks: t, updateBlocksRuntime: s } = xe();
|
|
2647
2647
|
return $(
|
|
2648
2648
|
(o, n, i = !1) => {
|
|
2649
2649
|
const r = e({ blockIds: o, newClasses: n });
|
|
@@ -2655,16 +2655,16 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2655
2655
|
},
|
|
2656
2656
|
[e]
|
|
2657
2657
|
);
|
|
2658
|
-
}, Ha = () =>
|
|
2658
|
+
}, Ha = () => L(os), _s = Pe("canvasWidth", 800), Rs = y((e) => {
|
|
2659
2659
|
const t = e(_s);
|
|
2660
2660
|
return Gs(t).toLowerCase();
|
|
2661
2661
|
}), qi = () => {
|
|
2662
|
-
const [e, t] =
|
|
2662
|
+
const [e, t] = L(_s), s = X(Rs), [o, n] = Ha();
|
|
2663
2663
|
return Be(() => {
|
|
2664
2664
|
o !== "xs" && n(s);
|
|
2665
2665
|
}, [s, o, n]), [e, s, t];
|
|
2666
|
-
}, qa = Pe("canvasZoom", 100), Ki = () =>
|
|
2667
|
-
const [e, t] =
|
|
2666
|
+
}, qa = Pe("canvasZoom", 100), Ki = () => L(qa), Ps = y([]), Ka = () => {
|
|
2667
|
+
const [e, t] = L(Ps), s = Re(yt), o = $(
|
|
2668
2668
|
(n) => {
|
|
2669
2669
|
t(n), s([]);
|
|
2670
2670
|
},
|
|
@@ -2672,7 +2672,7 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2672
2672
|
);
|
|
2673
2673
|
return [e, o];
|
|
2674
2674
|
}, yt = y([]), Ji = () => {
|
|
2675
|
-
const [e, t] =
|
|
2675
|
+
const [e, t] = L(yt), s = Re(Ps), o = $(
|
|
2676
2676
|
(n) => {
|
|
2677
2677
|
t(n), s([]);
|
|
2678
2678
|
},
|
|
@@ -2680,17 +2680,17 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2680
2680
|
);
|
|
2681
2681
|
return [e, o];
|
|
2682
2682
|
}, Ts = Pe("darkMode", !1), Yi = () => {
|
|
2683
|
-
const [e, t] =
|
|
2683
|
+
const [e, t] = L(Ts);
|
|
2684
2684
|
return [e, t];
|
|
2685
2685
|
}, Ja = () => {
|
|
2686
|
-
const [e] = ke(), [, t] = Fe(), { addBlocks: s } =
|
|
2686
|
+
const [e] = ke(), [, t] = Fe(), { addBlocks: s } = xe();
|
|
2687
2687
|
return $(
|
|
2688
2688
|
(o, n = null) => {
|
|
2689
2689
|
const i = [];
|
|
2690
2690
|
ce(o, (r) => {
|
|
2691
2691
|
const c = e.find((S) => S._id === r);
|
|
2692
2692
|
n || (n = c._parent);
|
|
2693
|
-
const m =
|
|
2693
|
+
const m = D(
|
|
2694
2694
|
e,
|
|
2695
2695
|
(S) => Vt(n) ? S._parent === n : !c._parent
|
|
2696
2696
|
).indexOf(c) + 1, N = Ao(e, r, n);
|
|
@@ -2699,16 +2699,16 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2699
2699
|
},
|
|
2700
2700
|
[e, t]
|
|
2701
2701
|
);
|
|
2702
|
-
}, Ya = y([]),
|
|
2703
|
-
const [e, t] =
|
|
2702
|
+
}, Ya = y([]), Zi = () => {
|
|
2703
|
+
const [e, t] = L(Ya), s = $(
|
|
2704
2704
|
(o) => {
|
|
2705
2705
|
t((n) => Y(n, o) ? $t(n, o) : [...n, o]);
|
|
2706
2706
|
},
|
|
2707
2707
|
[t]
|
|
2708
2708
|
);
|
|
2709
2709
|
return [e, t, s];
|
|
2710
|
-
},
|
|
2711
|
-
const e =
|
|
2710
|
+
}, Za = y(""), Qa = () => L(Za), Xa = () => {
|
|
2711
|
+
const e = X(ne);
|
|
2712
2712
|
return $(
|
|
2713
2713
|
(t, s) => {
|
|
2714
2714
|
const o = I(e, (n) => (Y(t, H(n, "_id")) && Ae(n, "_parent", s), n));
|
|
@@ -2716,9 +2716,9 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2716
2716
|
},
|
|
2717
2717
|
[e]
|
|
2718
2718
|
);
|
|
2719
|
-
},
|
|
2719
|
+
}, Qi = () => {
|
|
2720
2720
|
console.warn("usePasteBlocks is not implemented");
|
|
2721
|
-
const e =
|
|
2721
|
+
const e = X(yt), [t, s] = Ka(), o = Ja(), n = Xa();
|
|
2722
2722
|
return {
|
|
2723
2723
|
canPaste: ot(
|
|
2724
2724
|
() => t.length > 0 || e.length > 0,
|
|
@@ -2731,11 +2731,11 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2731
2731
|
[t, e, o, n, s]
|
|
2732
2732
|
)
|
|
2733
2733
|
};
|
|
2734
|
-
}, er = y(!1),
|
|
2735
|
-
const [e, t] =
|
|
2734
|
+
}, er = y(!1), Xi = () => {
|
|
2735
|
+
const [e, t] = L(er);
|
|
2736
2736
|
return [e, t];
|
|
2737
2737
|
}, tr = y(null, (e, t, { blockIds: s, fullClasses: o }) => {
|
|
2738
|
-
const n = te(e(Te)), i =
|
|
2738
|
+
const n = te(e(Te)), i = D(
|
|
2739
2739
|
e(ct),
|
|
2740
2740
|
(r) => (
|
|
2741
2741
|
// @ts-ignore
|
|
@@ -2761,7 +2761,7 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2761
2761
|
};
|
|
2762
2762
|
});
|
|
2763
2763
|
}), el = () => {
|
|
2764
|
-
const { updateBlocks: e } =
|
|
2764
|
+
const { updateBlocks: e } = xe(), t = Re(tr);
|
|
2765
2765
|
return $(
|
|
2766
2766
|
(s, o) => {
|
|
2767
2767
|
const n = t({ blockIds: s, fullClasses: o });
|
|
@@ -2774,11 +2774,11 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2774
2774
|
if (!t || t.blockId !== H(s, "_id", null))
|
|
2775
2775
|
return [];
|
|
2776
2776
|
const n = H(s, t.prop, `${fe},`).replace(fe, "").split(",").join(" ");
|
|
2777
|
-
return
|
|
2778
|
-
}), tl = () =>
|
|
2777
|
+
return D(I(n.trim().split(" "), Me), (i) => !Je(i));
|
|
2778
|
+
}), tl = () => X(Is), zt = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, sr = y((e) => {
|
|
2779
2779
|
const t = e(Rs), s = e(ft), o = e(Ts), n = or(t);
|
|
2780
|
-
let i =
|
|
2781
|
-
return Ut(s, "_") || (i =
|
|
2780
|
+
let i = D(e(Is), { mod: s });
|
|
2781
|
+
return Ut(s, "_") || (i = D(i, (r) => n.includes(r.mq))), i = i.sort((r, c) => zt[r.mq] - zt[c.mq]), o || (i = D(i, { dark: !1 })), i;
|
|
2782
2782
|
}), or = (e) => {
|
|
2783
2783
|
let t = [];
|
|
2784
2784
|
switch (e) {
|
|
@@ -2805,8 +2805,8 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2805
2805
|
break;
|
|
2806
2806
|
}
|
|
2807
2807
|
return t;
|
|
2808
|
-
}, sl = () =>
|
|
2809
|
-
const { updateBlocks: e } =
|
|
2808
|
+
}, sl = () => X(sr), ol = () => L(ft), nl = () => {
|
|
2809
|
+
const { updateBlocks: e } = xe();
|
|
2810
2810
|
return $(
|
|
2811
2811
|
(t, s, o) => {
|
|
2812
2812
|
e(t, s, o);
|
|
@@ -2814,7 +2814,7 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2814
2814
|
[e]
|
|
2815
2815
|
);
|
|
2816
2816
|
}, al = () => {
|
|
2817
|
-
const { updateBlocksRuntime: e } =
|
|
2817
|
+
const { updateBlocksRuntime: e } = xe();
|
|
2818
2818
|
return $(
|
|
2819
2819
|
(t, s) => {
|
|
2820
2820
|
e(t, s);
|
|
@@ -2827,7 +2827,7 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2827
2827
|
modalProps: {},
|
|
2828
2828
|
backdropClose: !0
|
|
2829
2829
|
}, nr = y(Ms), rl = () => {
|
|
2830
|
-
const [e, t] =
|
|
2830
|
+
const [e, t] = L(nr), s = $(
|
|
2831
2831
|
(n, i = {}, r = {}) => {
|
|
2832
2832
|
t({ name: n, props: i, modalProps: r });
|
|
2833
2833
|
},
|
|
@@ -2844,8 +2844,8 @@ const Ua = () => O(Te), Wa = (e) => {
|
|
|
2844
2844
|
openModal: s,
|
|
2845
2845
|
closeModal: o
|
|
2846
2846
|
};
|
|
2847
|
-
}, il = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"),
|
|
2848
|
-
|
|
2847
|
+
}, il = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), X(ne)), Es = y(!1);
|
|
2848
|
+
Es.debugLabel = "readOnlyModeAtom";
|
|
2849
2849
|
const ar = y("online");
|
|
2850
2850
|
ar.debugLabel = "networkModeAtom";
|
|
2851
2851
|
const rr = y(!1);
|
|
@@ -2862,8 +2862,8 @@ const ur = y("outline");
|
|
|
2862
2862
|
ur.debugLabel = "activePanelAtom";
|
|
2863
2863
|
const fr = y("");
|
|
2864
2864
|
fr.debugLabel = "showPredefinedBlockCategoryAtom";
|
|
2865
|
-
const
|
|
2866
|
-
|
|
2865
|
+
const Ds = y({ undoCount: 0, redoCount: 0 });
|
|
2866
|
+
Ds.debugLabel = "historyStatesAtom";
|
|
2867
2867
|
const mr = y("");
|
|
2868
2868
|
mr.debugLabel = "inlineEditingActiveAtom";
|
|
2869
2869
|
const pr = y(!1);
|
|
@@ -2872,18 +2872,18 @@ const gr = y("");
|
|
|
2872
2872
|
gr.debugLabel = "draggedBlockIdAtom";
|
|
2873
2873
|
const br = y(null);
|
|
2874
2874
|
br.debugLabel = "treeRefAtom";
|
|
2875
|
-
const
|
|
2876
|
-
|
|
2877
|
-
const ll = () =>
|
|
2878
|
-
const [e, t] =
|
|
2875
|
+
const xr = y({});
|
|
2876
|
+
xr.debugLabel = "canvasSettingsAtom";
|
|
2877
|
+
const ll = () => X(Es), hr = y(""), vr = y(null), cl = () => L(hr), dl = () => L(vr), yr = Pe("selectedBreakpoints", ["XS", "MD", "XL"]), ul = () => {
|
|
2878
|
+
const [e, t] = L(yr);
|
|
2879
2879
|
return [e, t];
|
|
2880
2880
|
}, fl = () => {
|
|
2881
|
-
const e = Re(
|
|
2881
|
+
const e = Re(Ds), { clear: t } = us(), [, s] = Fe(), [, o] = Qa(), [, n] = Ua();
|
|
2882
2882
|
return () => {
|
|
2883
2883
|
s([]), n([]), o(""), t(), e({ undoCount: 0, redoCount: 0 });
|
|
2884
2884
|
};
|
|
2885
2885
|
}, wr = y([]), ml = () => {
|
|
2886
|
-
const [e, t] = _e(!1), [s, o] =
|
|
2886
|
+
const [e, t] = _e(!1), [s, o] = L(wr), n = ve("getUILibraryBlocks", () => []);
|
|
2887
2887
|
return Be(() => {
|
|
2888
2888
|
(async () => s.length > 0 || (t(!0), o(await n()), t(!1)))();
|
|
2889
2889
|
}, []), { data: s, isLoading: e };
|
|
@@ -2902,7 +2902,7 @@ const ll = () => Z(Ds), xr = y(""), vr = y(null), cl = () => O(xr), dl = () => O
|
|
|
2902
2902
|
export {
|
|
2903
2903
|
sl as $,
|
|
2904
2904
|
ni as A,
|
|
2905
|
-
|
|
2905
|
+
Xo as B,
|
|
2906
2906
|
bt as C,
|
|
2907
2907
|
Gr as D,
|
|
2908
2908
|
ke as E,
|
|
@@ -2924,9 +2924,9 @@ export {
|
|
|
2924
2924
|
Ka as U,
|
|
2925
2925
|
Yi as V,
|
|
2926
2926
|
Go as W,
|
|
2927
|
-
|
|
2928
|
-
|
|
2929
|
-
|
|
2927
|
+
Zi as X,
|
|
2928
|
+
Qa as Y,
|
|
2929
|
+
Qi as Z,
|
|
2930
2930
|
el as _,
|
|
2931
2931
|
ai as a,
|
|
2932
2932
|
ka as a$,
|
|
@@ -2942,9 +2942,9 @@ export {
|
|
|
2942
2942
|
cl as a9,
|
|
2943
2943
|
ma as aA,
|
|
2944
2944
|
_n as aB,
|
|
2945
|
-
|
|
2946
|
-
|
|
2947
|
-
|
|
2945
|
+
Qo as aC,
|
|
2946
|
+
xi as aD,
|
|
2947
|
+
hi as aE,
|
|
2948
2948
|
Hn as aF,
|
|
2949
2949
|
ji as aG,
|
|
2950
2950
|
Ai as aH,
|
|
@@ -2952,7 +2952,7 @@ export {
|
|
|
2952
2952
|
da as aJ,
|
|
2953
2953
|
ua as aK,
|
|
2954
2954
|
la as aL,
|
|
2955
|
-
|
|
2955
|
+
xe as aM,
|
|
2956
2956
|
pr as aN,
|
|
2957
2957
|
mr as aO,
|
|
2958
2958
|
br as aP,
|
|
@@ -2972,7 +2972,7 @@ export {
|
|
|
2972
2972
|
Ua as ac,
|
|
2973
2973
|
ps as ad,
|
|
2974
2974
|
vt as ae,
|
|
2975
|
-
|
|
2975
|
+
xn as af,
|
|
2976
2976
|
vn as ag,
|
|
2977
2977
|
yn as ah,
|
|
2978
2978
|
pn as ai,
|
|
@@ -2988,37 +2988,37 @@ export {
|
|
|
2988
2988
|
oi as as,
|
|
2989
2989
|
ur as at,
|
|
2990
2990
|
Tn as au,
|
|
2991
|
-
|
|
2991
|
+
hs as av,
|
|
2992
2992
|
et as aw,
|
|
2993
2993
|
tt as ax,
|
|
2994
2994
|
yi as ay,
|
|
2995
2995
|
Jn as az,
|
|
2996
2996
|
cn as b,
|
|
2997
|
-
|
|
2997
|
+
Zn as b$,
|
|
2998
2998
|
Sa as b0,
|
|
2999
2999
|
ja as b1,
|
|
3000
3000
|
Ca as b2,
|
|
3001
|
-
|
|
3001
|
+
hn as b3,
|
|
3002
3002
|
Tt as b4,
|
|
3003
3003
|
Pt as b5,
|
|
3004
3004
|
Ui as b6,
|
|
3005
3005
|
Vi as b7,
|
|
3006
3006
|
Fi as b8,
|
|
3007
3007
|
Wi as b9,
|
|
3008
|
-
|
|
3008
|
+
Ei as bA,
|
|
3009
3009
|
Rt as bB,
|
|
3010
3010
|
Co as bC,
|
|
3011
|
-
|
|
3012
|
-
|
|
3011
|
+
Xr as bD,
|
|
3012
|
+
Zo as bE,
|
|
3013
3013
|
Yo as bF,
|
|
3014
|
-
|
|
3014
|
+
ht as bG,
|
|
3015
3015
|
rn as bH,
|
|
3016
3016
|
ln as bI,
|
|
3017
3017
|
kn as bJ,
|
|
3018
|
-
|
|
3019
|
-
|
|
3018
|
+
xs as bK,
|
|
3019
|
+
En as bL,
|
|
3020
3020
|
fi as bM,
|
|
3021
|
-
|
|
3021
|
+
Dn as bN,
|
|
3022
3022
|
zn as bO,
|
|
3023
3023
|
Vn as bP,
|
|
3024
3024
|
Wn as bQ,
|
|
@@ -3027,8 +3027,8 @@ export {
|
|
|
3027
3027
|
bi as bT,
|
|
3028
3028
|
Fn as bU,
|
|
3029
3029
|
pi as bV,
|
|
3030
|
-
|
|
3031
|
-
|
|
3030
|
+
On as bW,
|
|
3031
|
+
Ln as bX,
|
|
3032
3032
|
mi as bY,
|
|
3033
3033
|
gi as bZ,
|
|
3034
3034
|
Gn as b_,
|
|
@@ -3044,8 +3044,8 @@ export {
|
|
|
3044
3044
|
Ci as bj,
|
|
3045
3045
|
ia as bk,
|
|
3046
3046
|
fa as bl,
|
|
3047
|
-
|
|
3048
|
-
|
|
3047
|
+
Zr as bm,
|
|
3048
|
+
xr as bn,
|
|
3049
3049
|
wn as bo,
|
|
3050
3050
|
Nn as bp,
|
|
3051
3051
|
Sn as bq,
|
|
@@ -3062,7 +3062,7 @@ export {
|
|
|
3062
3062
|
Ni as c0,
|
|
3063
3063
|
ki as c1,
|
|
3064
3064
|
Si as c2,
|
|
3065
|
-
|
|
3065
|
+
Xn as c3,
|
|
3066
3066
|
ea as c4,
|
|
3067
3067
|
ta as c5,
|
|
3068
3068
|
sa as c6,
|
|
@@ -3073,19 +3073,19 @@ export {
|
|
|
3073
3073
|
aa as cb,
|
|
3074
3074
|
na as cc,
|
|
3075
3075
|
Ri as cd,
|
|
3076
|
-
|
|
3077
|
-
|
|
3076
|
+
xa as ce,
|
|
3077
|
+
ha as cf,
|
|
3078
3078
|
Ii as cg,
|
|
3079
3079
|
Ba as ch,
|
|
3080
3080
|
Aa as ci,
|
|
3081
3081
|
Ia as cj,
|
|
3082
3082
|
Ma as ck,
|
|
3083
|
-
|
|
3084
|
-
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
|
|
3088
|
-
|
|
3083
|
+
Ea as cl,
|
|
3084
|
+
Da as cm,
|
|
3085
|
+
La as cn,
|
|
3086
|
+
Di as co,
|
|
3087
|
+
Li as cp,
|
|
3088
|
+
Oi as cq,
|
|
3089
3089
|
Ra as cr,
|
|
3090
3090
|
_a as cs,
|
|
3091
3091
|
zi as ct,
|
|
@@ -3103,7 +3103,7 @@ export {
|
|
|
3103
3103
|
mo as n,
|
|
3104
3104
|
Pe as o,
|
|
3105
3105
|
Wr as p,
|
|
3106
|
-
|
|
3106
|
+
Xi as q,
|
|
3107
3107
|
Fe as r,
|
|
3108
3108
|
ti as s,
|
|
3109
3109
|
Ja as t,
|