@chaibuilder/sdk 1.2.39 → 1.2.40
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-2_dpKDpp.js → AddBlocks-Q--k4QYI.js} +1 -1
- package/dist/{AddBlocks-p4Hrxjdf.cjs → AddBlocks-a20tIXfX.cjs} +1 -1
- package/dist/{CanvasArea-sbec3R-f.cjs → CanvasArea-QQn0aXpj.cjs} +1 -1
- package/dist/{CanvasArea-iN0LxF74.js → CanvasArea-ahsds4rc.js} +2 -2
- package/dist/{ChaiBuilderEditor-qxbkVVLu.cjs → ChaiBuilderEditor-hcoLrtq8.cjs} +10 -10
- package/dist/{ChaiBuilderEditor-JnZFji5_.js → ChaiBuilderEditor-wfEkvtJ0.js} +291 -296
- package/dist/{CurrentPage-Lr3ztuMx.js → CurrentPage-f_5eIFbX.js} +2 -2
- package/dist/{CurrentPage-m7_GkZ8a.cjs → CurrentPage-zo2GKFUx.cjs} +1 -1
- package/dist/{ListTree-uJFhqUk9.js → ListTree-3riQsfip.js} +1 -1
- package/dist/{ListTree-piETqoz9.cjs → ListTree-FWHoDfbO.cjs} +1 -1
- package/dist/{PagesPanel-lShO3SmJ.cjs → PagesPanel-0Wi0ezNZ.cjs} +1 -1
- package/dist/{PagesPanel-R8FWg5Xg.js → PagesPanel-3KIZEXOS.js} +3 -3
- package/dist/{ProjectPanel-2dX4bM5q.js → ProjectPanel-0W6XTu0Y.js} +3 -3
- package/dist/{ProjectPanel-_4546hym.cjs → ProjectPanel-fEYrObPB.cjs} +1 -1
- package/dist/{Settings-J785mqWv.js → Settings-ifUbqcam.js} +2 -2
- package/dist/{Settings-e2AZkjqY.cjs → Settings-kDwumlBm.cjs} +1 -1
- package/dist/{SidePanels-cN9er64h.js → SidePanels-0P4IaIVn.js} +135 -135
- package/dist/SidePanels-JIuL8NLu.cjs +1 -0
- package/dist/{ThemeConfiguration-m_jkR2zi.js → ThemeConfiguration-7Hef-UKR.js} +1 -1
- package/dist/{ThemeConfiguration-nler1cz3.cjs → ThemeConfiguration-CcUA1_9A.cjs} +1 -1
- package/dist/{Topbar-gaBycI3a.js → Topbar-0hOp8tE7.js} +1 -1
- package/dist/{Topbar-DmIPkF8D.cjs → Topbar-Wte9Jbw7.cjs} +1 -1
- package/dist/UILibrariesPanel-qgwFZYvn.js +145 -0
- package/dist/UILibrariesPanel-vXOD3qRz.cjs +1 -0
- package/dist/{UnsplashImages-mC2ewX9D.cjs → UnsplashImages-Cfq1lKeC.cjs} +1 -1
- package/dist/{UnsplashImages-6HmGnetM.js → UnsplashImages-qUDa1vAS.js} +1 -1
- package/dist/{UploadImages-qRW8zhKj.js → UploadImages-Xh-lPuZy.js} +1 -1
- package/dist/{UploadImages-fo9ufcCE.cjs → UploadImages-Zle03BGi.cjs} +1 -1
- package/dist/{add-page-modal-mP9aTfG9.cjs → add-page-modal-0jmyeD0x.cjs} +1 -1
- package/dist/{add-page-modal-0OuVNgx3.js → add-page-modal-ued8fkUY.js} +3 -3
- package/dist/{confirm-alert-Mv-Iofef.js → confirm-alert-4kucBgrO.js} +1 -1
- package/dist/{confirm-alert-3cDnni4v.cjs → confirm-alert-rucvO9GC.cjs} +1 -1
- package/dist/core.cjs +1 -1
- package/dist/core.d.ts +19 -3
- package/dist/core.js +1 -1
- package/dist/{delete-page-modal-PTwcrTET.cjs → delete-page-modal-Eym3aZzC.cjs} +1 -1
- package/dist/{delete-page-modal-BVz9nreM.js → delete-page-modal-kxeOpfNd.js} +2 -2
- package/dist/email.cjs +1 -1
- package/dist/email.d.ts +19 -3
- package/dist/email.js +1 -1
- package/dist/{form-e8l4xtI9.js → form-2Veryr30.js} +1 -1
- package/dist/{form-o7e6NNTk.cjs → form-pdF1XhvW.cjs} +1 -1
- package/dist/{index-CdnwVCXv.js → index-OdzdznTv.js} +2 -2
- package/dist/{index--XTVdy1h.cjs → index-SQ1sNajH.cjs} +1 -1
- package/dist/{page-viewer-OopsJHBE.js → page-viewer-6qv40Sm2.js} +3 -3
- package/dist/{page-viewer-cjvx3lg7.cjs → page-viewer-qr3NscoT.cjs} +1 -1
- package/dist/{project-general-setting-n8KKf8qD.js → project-general-setting-GVzAsfrk.js} +3 -3
- package/dist/{project-general-setting-3sdmeYrS.cjs → project-general-setting-fm1YfS_2.cjs} +1 -1
- package/dist/{project-seo-setting-E554FQ3V.cjs → project-seo-setting-06jt9oDD.cjs} +1 -1
- package/dist/{project-seo-setting-pu3qUSE0.js → project-seo-setting-iPqsGKuc.js} +2 -2
- package/dist/{single-page-detail-hcTkta3X.js → single-page-detail-GVtRl8Pt.js} +4 -4
- package/dist/{single-page-detail-KdxEu4WS.cjs → single-page-detail-KQVwWJ-J.cjs} +1 -1
- package/dist/studio.cjs +1 -1
- package/dist/studio.d.ts +19 -3
- package/dist/studio.js +2 -2
- package/dist/ui.cjs +1 -1
- package/dist/ui.d.ts +1 -1
- package/dist/ui.js +1 -1
- package/dist/{useCanvasSettings-6lwRwexD.js → useCanvasSettings-E5uIyvUR.js} +1 -1
- package/dist/{useCanvasSettings-oERGzYXb.cjs → useCanvasSettings-yYU51FJ3.cjs} +1 -1
- package/package.json +1 -1
- package/dist/SidePanels-Vfw9Ir6p.cjs +0 -1
- package/dist/UILibrariesPanel-Igx0R4zc.js +0 -138
- package/dist/UILibrariesPanel-N144UO0E.cjs +0 -1
|
@@ -5,8 +5,8 @@ import { g as q0, c as S6 } from "./_commonjsHelpers-UyOWmZb0.js";
|
|
|
5
5
|
import Sf from "clsx";
|
|
6
6
|
import NS, { flushSync as TS, createPortal as jS } from "react-dom";
|
|
7
7
|
import * as $2 from "@radix-ui/react-scroll-area";
|
|
8
|
-
import { getOverflowAncestors as Q8, offset as Ff, detectOverflow as
|
|
9
|
-
import { useAtom as
|
|
8
|
+
import { getOverflowAncestors as Q8, offset as Ff, detectOverflow as cv1, useFloating as DS, autoUpdate as qS, shift as Za, limitShift as ZS, flip as Af, inline as Bf, arrow as Of, size as WS } from "@floating-ui/react-dom";
|
|
9
|
+
import { useAtom as X1, atom as x1, useAtomValue as a4, useSetAtom as Z0, getDefaultStore as US } from "jotai";
|
|
10
10
|
import Ef from "i18next";
|
|
11
11
|
import { initReactI18next as KS, useTranslation as Wa } from "react-i18next";
|
|
12
12
|
import { FlagsProvider as GS } from "flagged";
|
|
@@ -767,7 +767,7 @@ Ef.use(KS).init({
|
|
|
767
767
|
});
|
|
768
768
|
var E2 = { VITE_OPENAI_API_KEY: "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", VITE_UNSPASH_ACCESS_KEY: "XgYBCm-XCHecRMsbfhw6oZWGkltco1U5TYMEd0LXZeA", BASE_URL: "/", MODE: "production", DEV: !1, PROD: !0, SSR: !1 };
|
|
769
769
|
let KO = 0;
|
|
770
|
-
function
|
|
770
|
+
function J1(t, e) {
|
|
771
771
|
const c = `atom${++KO}`, a = {
|
|
772
772
|
toString: () => c
|
|
773
773
|
};
|
|
@@ -2041,7 +2041,7 @@ function UE() {
|
|
|
2041
2041
|
W1.AsyncMode = C, W1.ConcurrentMode = H, W1.ContextConsumer = S, W1.ContextProvider = A, W1.Element = y, W1.ForwardRef = B, W1.Fragment = F, W1.Lazy = O, W1.Memo = P, W1.Portal = E, W1.Profiler = N, W1.StrictMode = Y, W1.Suspense = j, W1.isAsyncMode = W, W1.isConcurrentMode = q, W1.isContextConsumer = J, W1.isContextProvider = I, W1.isElement = U, W1.isForwardRef = c1, W1.isFragment = $, W1.isLazy = _, W1.isMemo = d1, W1.isPortal = o1, W1.isProfiler = l1, W1.isStrictMode = t1, W1.isSuspense = u1, W1.isValidElementType = w, W1.typeOf = V;
|
|
2042
2042
|
}()), W1;
|
|
2043
2043
|
}
|
|
2044
|
-
var
|
|
2044
|
+
var Cv1 = M5.exports;
|
|
2045
2045
|
process.env.NODE_ENV === "production" ? M5.exports = WE() : M5.exports = UE();
|
|
2046
2046
|
var KE = M5.exports;
|
|
2047
2047
|
var Xf = KE;
|
|
@@ -2061,7 +2061,7 @@ var GE = {
|
|
|
2061
2061
|
}, Qf = {};
|
|
2062
2062
|
Qf[Xf.ForwardRef] = GE;
|
|
2063
2063
|
Qf[Xf.Memo] = JE;
|
|
2064
|
-
var
|
|
2064
|
+
var Vv1 = Object.prototype;
|
|
2065
2065
|
var YE = !0;
|
|
2066
2066
|
function $a(t, e, c) {
|
|
2067
2067
|
var a = "";
|
|
@@ -2332,7 +2332,7 @@ var O4, k6 = function(e, c, a) {
|
|
|
2332
2332
|
}) : null
|
|
2333
2333
|
);
|
|
2334
2334
|
process.env.NODE_ENV !== "production" && (P0.displayName = "EmotionCacheContext");
|
|
2335
|
-
var
|
|
2335
|
+
var Hv1 = P0.Provider;
|
|
2336
2336
|
var se = function(e) {
|
|
2337
2337
|
return /* @__PURE__ */ Q(function(c, a) {
|
|
2338
2338
|
var r = O2(P0);
|
|
@@ -3711,7 +3711,7 @@ function mp(t) {
|
|
|
3711
3711
|
}
|
|
3712
3712
|
});
|
|
3713
3713
|
}
|
|
3714
|
-
const
|
|
3714
|
+
const yv1 = Object.keys(vp), zp = ["xs", "sm", "md", "lg", "xl"], kk = {
|
|
3715
3715
|
dir: "ltr",
|
|
3716
3716
|
primaryShade: {
|
|
3717
3717
|
light: 6,
|
|
@@ -4353,7 +4353,7 @@ const r0 = {
|
|
|
4353
4353
|
"pop-top-right": a0(c0({}, r0), {
|
|
4354
4354
|
common: { transformOrigin: "top right" }
|
|
4355
4355
|
})
|
|
4356
|
-
},
|
|
4356
|
+
}, xv1 = Object.keys(m0), Po = ["mousedown", "touchstart"];
|
|
4357
4357
|
function HI(t, e, c) {
|
|
4358
4358
|
const a = g1();
|
|
4359
4359
|
return C1(() => {
|
|
@@ -7795,8 +7795,8 @@ var KD = e1(() => ({
|
|
|
7795
7795
|
* tabbable 6.2.0
|
|
7796
7796
|
* @license MIT, https://github.com/focus-trap/tabbable/blob/master/LICENSE
|
|
7797
7797
|
*/
|
|
7798
|
-
var fz = typeof Element > "u",
|
|
7799
|
-
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector,
|
|
7798
|
+
var fz = typeof Element > "u", Lv1 = fz ? function() {
|
|
7799
|
+
} : Element.prototype.matches || Element.prototype.msMatchesSelector || Element.prototype.webkitMatchesSelector, Sv1 = !fz && Element.prototype.getRootNode ? function(t) {
|
|
7800
7800
|
var e;
|
|
7801
7801
|
return t == null || (e = t.getRootNode) === null || e === void 0 ? void 0 : e.call(t);
|
|
7802
7802
|
} : function(t) {
|
|
@@ -9968,7 +9968,7 @@ s6.Label = br;
|
|
|
9968
9968
|
s6.Description = wr;
|
|
9969
9969
|
s6.Error = Mr;
|
|
9970
9970
|
s6.Placeholder = Xz;
|
|
9971
|
-
const
|
|
9971
|
+
const Y1 = s6;
|
|
9972
9972
|
var oW = Object.defineProperty, sW = Object.defineProperties, lW = Object.getOwnPropertyDescriptors, f7 = Object.getOwnPropertySymbols, $z = Object.prototype.hasOwnProperty, tb = Object.prototype.propertyIsEnumerable, Jl = (t, e, c) => e in t ? oW(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c, lc = (t, e) => {
|
|
9973
9973
|
for (var c in e || (e = {}))
|
|
9974
9974
|
$z.call(e, c) && Jl(t, c, e[c]);
|
|
@@ -10118,7 +10118,7 @@ const dW = {
|
|
|
10118
10118
|
}, l2 = (L1) => {
|
|
10119
10119
|
typeof z == "function" && z(L1), G(!0);
|
|
10120
10120
|
}, O1 = J && (V1.length > 0 || V1.length === 0 && !!S);
|
|
10121
|
-
return /* @__PURE__ */ p.createElement(
|
|
10121
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, Yl(lc({}, r), {
|
|
10122
10122
|
__staticSelector: "Autocomplete"
|
|
10123
10123
|
}), /* @__PURE__ */ p.createElement(I4, {
|
|
10124
10124
|
opened: O1,
|
|
@@ -10141,7 +10141,7 @@ const dW = {
|
|
|
10141
10141
|
"aria-controls": a.id,
|
|
10142
10142
|
onMouseLeave: () => c1(-1),
|
|
10143
10143
|
tabIndex: -1
|
|
10144
|
-
}, /* @__PURE__ */ p.createElement(
|
|
10144
|
+
}, /* @__PURE__ */ p.createElement(Y1, Yl(lc(lc({
|
|
10145
10145
|
type: "search",
|
|
10146
10146
|
autoComplete: "off"
|
|
10147
10147
|
}, a), W), {
|
|
@@ -10430,7 +10430,7 @@ const UW = {
|
|
|
10430
10430
|
});
|
|
10431
10431
|
Cr.displayName = "@mantine/core/Avatar";
|
|
10432
10432
|
Cr.Group = ob;
|
|
10433
|
-
const
|
|
10433
|
+
const Fv1 = Cr;
|
|
10434
10434
|
var KW = Object.defineProperty, GW = Object.defineProperties, JW = Object.getOwnPropertyDescriptors, ni = Object.getOwnPropertySymbols, YW = Object.prototype.hasOwnProperty, XW = Object.prototype.propertyIsEnumerable, oi = (t, e, c) => e in t ? KW(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c, QW = (t, e) => {
|
|
10435
10435
|
for (var c in e || (e = {}))
|
|
10436
10436
|
YW.call(e, c) && oi(t, c, e[c]);
|
|
@@ -10476,7 +10476,7 @@ const oU = {
|
|
|
10476
10476
|
}));
|
|
10477
10477
|
});
|
|
10478
10478
|
db.displayName = "@mantine/core/BackgroundImage";
|
|
10479
|
-
const
|
|
10479
|
+
const Av1 = db;
|
|
10480
10480
|
var sU = Object.defineProperty, lU = Object.defineProperties, iU = Object.getOwnPropertyDescriptors, li = Object.getOwnPropertySymbols, uU = Object.prototype.hasOwnProperty, dU = Object.prototype.propertyIsEnumerable, ii = (t, e, c) => e in t ? sU(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c, ic = (t, e) => {
|
|
10481
10481
|
for (var c in e || (e = {}))
|
|
10482
10482
|
uU.call(e, c) && ii(t, c, e[c]);
|
|
@@ -11332,7 +11332,7 @@ const OK = {
|
|
|
11332
11332
|
});
|
|
11333
11333
|
yr.Section = kb;
|
|
11334
11334
|
yr.displayName = "@mantine/core/Card";
|
|
11335
|
-
const
|
|
11335
|
+
const Bv1 = yr;
|
|
11336
11336
|
var EK = e1((t, { inline: e }) => ({
|
|
11337
11337
|
root: {
|
|
11338
11338
|
display: e ? "inline-flex" : "flex",
|
|
@@ -11363,7 +11363,7 @@ const jb = Q((t, e) => {
|
|
|
11363
11363
|
}, s));
|
|
11364
11364
|
});
|
|
11365
11365
|
jb.displayName = "@mantine/core/Center";
|
|
11366
|
-
const
|
|
11366
|
+
const Ov1 = jb, Db = Y2(null), RK = Db.Provider, NK = () => O2(Db);
|
|
11367
11367
|
var TK = Object.defineProperty, B7 = Object.getOwnPropertySymbols, qb = Object.prototype.hasOwnProperty, Zb = Object.prototype.propertyIsEnumerable, Si = (t, e, c) => e in t ? TK(t, e, { enumerable: !0, configurable: !0, writable: !0, value: c }) : t[e] = c, Fi = (t, e) => {
|
|
11368
11368
|
for (var c in e || (e = {}))
|
|
11369
11369
|
qb.call(e, c) && Si(t, c, e[c]);
|
|
@@ -11394,7 +11394,7 @@ const DK = {
|
|
|
11394
11394
|
};
|
|
11395
11395
|
return /* @__PURE__ */ p.createElement(RK, {
|
|
11396
11396
|
value: { value: i, onChange: h, size: s }
|
|
11397
|
-
}, /* @__PURE__ */ p.createElement(
|
|
11397
|
+
}, /* @__PURE__ */ p.createElement(Y1.Wrapper, Fi(Fi({
|
|
11398
11398
|
labelElement: "div",
|
|
11399
11399
|
size: s,
|
|
11400
11400
|
__staticSelector: "CheckboxGroup",
|
|
@@ -11633,9 +11633,9 @@ const me = Q((t, e) => {
|
|
|
11633
11633
|
className: b.label,
|
|
11634
11634
|
"data-disabled": h || void 0,
|
|
11635
11635
|
htmlFor: d
|
|
11636
|
-
}, u), i && /* @__PURE__ */ p.createElement(
|
|
11636
|
+
}, u), i && /* @__PURE__ */ p.createElement(Y1.Description, {
|
|
11637
11637
|
className: b.description
|
|
11638
|
-
}, i), v && v !== "boolean" && /* @__PURE__ */ p.createElement(
|
|
11638
|
+
}, i), v && v !== "boolean" && /* @__PURE__ */ p.createElement(Y1.Error, {
|
|
11639
11639
|
className: b.error
|
|
11640
11640
|
}, v))));
|
|
11641
11641
|
});
|
|
@@ -13186,7 +13186,7 @@ const cY = {
|
|
|
13186
13186
|
(b0($) || $.trim() === "") && c1($);
|
|
13187
13187
|
}, [$]), z2(() => {
|
|
13188
13188
|
b0($) && _(B4(n, I3($)));
|
|
13189
|
-
}, [n]), /* @__PURE__ */ p.createElement(
|
|
13189
|
+
}, [n]), /* @__PURE__ */ p.createElement(Y1.Wrapper, Cu(fc({}, a), {
|
|
13190
13190
|
__staticSelector: "ColorInput"
|
|
13191
13191
|
}), /* @__PURE__ */ p.createElement(J2, {
|
|
13192
13192
|
__staticSelector: "ColorInput",
|
|
@@ -13202,7 +13202,7 @@ const cY = {
|
|
|
13202
13202
|
styles: B,
|
|
13203
13203
|
unstyled: F,
|
|
13204
13204
|
disabled: O || z === !1 && (!Array.isArray(S) || S.length === 0)
|
|
13205
|
-
}, /* @__PURE__ */ p.createElement(J2.Target, null, /* @__PURE__ */ p.createElement("div", null, /* @__PURE__ */ p.createElement(
|
|
13205
|
+
}, /* @__PURE__ */ p.createElement(J2.Target, null, /* @__PURE__ */ p.createElement("div", null, /* @__PURE__ */ p.createElement(Y1, Cu(fc(fc({
|
|
13206
13206
|
autoComplete: "off"
|
|
13207
13207
|
}, W), r), {
|
|
13208
13208
|
disabled: j,
|
|
@@ -14177,7 +14177,7 @@ const sQ = ({ value: t }) => /* @__PURE__ */ p.createElement(E1, {
|
|
|
14177
14177
|
})) : null);
|
|
14178
14178
|
return C1(() => {
|
|
14179
14179
|
(Array.isArray(F) && F.length === 0 || F === null) && A.current();
|
|
14180
|
-
}, [F]), /* @__PURE__ */ p.createElement(
|
|
14180
|
+
}, [F]), /* @__PURE__ */ p.createElement(Y1.Wrapper, P8(z6({}, r), {
|
|
14181
14181
|
__staticSelector: "FileInput"
|
|
14182
14182
|
}), /* @__PURE__ */ p.createElement(gw, {
|
|
14183
14183
|
onChange: O,
|
|
@@ -14189,7 +14189,7 @@ const sQ = ({ value: t }) => /* @__PURE__ */ p.createElement(E1, {
|
|
|
14189
14189
|
disabled: V,
|
|
14190
14190
|
capture: C,
|
|
14191
14191
|
inputProps: H
|
|
14192
|
-
}, (N) => /* @__PURE__ */ p.createElement(
|
|
14192
|
+
}, (N) => /* @__PURE__ */ p.createElement(Y1, P8(z6(z6(z6({
|
|
14193
14193
|
multiline: !0
|
|
14194
14194
|
}, N), a), S), {
|
|
14195
14195
|
component: "button",
|
|
@@ -14200,7 +14200,7 @@ const sQ = ({ value: t }) => /* @__PURE__ */ p.createElement(E1, {
|
|
|
14200
14200
|
classNames: P8(z6({}, v), { input: B(y.input, v == null ? void 0 : v.input) })
|
|
14201
14201
|
}), P ? /* @__PURE__ */ p.createElement(m, {
|
|
14202
14202
|
value: F
|
|
14203
|
-
}) : /* @__PURE__ */ p.createElement(
|
|
14203
|
+
}) : /* @__PURE__ */ p.createElement(Y1.Placeholder, {
|
|
14204
14204
|
className: y.placeholder
|
|
14205
14205
|
}, n))));
|
|
14206
14206
|
});
|
|
@@ -14663,7 +14663,7 @@ const c_ = {
|
|
|
14663
14663
|
}, i)));
|
|
14664
14664
|
});
|
|
14665
14665
|
Rw.displayName = "@mantine/core/Highlight";
|
|
14666
|
-
const
|
|
14666
|
+
const Ev1 = Rw, Nw = {
|
|
14667
14667
|
context: "HoverCard component was not found in the tree",
|
|
14668
14668
|
children: "HoverCard.Target component children should be an element or a component that accepts ref. Fragments, strings, numbers and other primitive values are not supported"
|
|
14669
14669
|
}, [a_, Tw] = y4(Nw.context);
|
|
@@ -15094,12 +15094,12 @@ const J_ = {
|
|
|
15094
15094
|
__staticSelector: "InputBase"
|
|
15095
15095
|
}, rC = Q((t, e) => {
|
|
15096
15096
|
const c = o6("InputBase", J_, t), { inputProps: a, wrapperProps: r } = c, n = G_(c, ["inputProps", "wrapperProps"]);
|
|
15097
|
-
return /* @__PURE__ */ p.createElement(
|
|
15097
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, mc({}, r), /* @__PURE__ */ p.createElement(Y1, K_(mc(mc({}, a), n), {
|
|
15098
15098
|
ref: e
|
|
15099
15099
|
})));
|
|
15100
15100
|
});
|
|
15101
15101
|
rC.displayName = "@mantine/core/InputBase";
|
|
15102
|
-
const
|
|
15102
|
+
const Pv1 = rC;
|
|
15103
15103
|
function Md(t, e) {
|
|
15104
15104
|
if (typeof t == "string" && t.trim().length === 0)
|
|
15105
15105
|
return !0;
|
|
@@ -15351,7 +15351,7 @@ const g$ = {
|
|
|
15351
15351
|
unstyled: A,
|
|
15352
15352
|
variant: B
|
|
15353
15353
|
}, Y);
|
|
15354
|
-
return /* @__PURE__ */ p.createElement(
|
|
15354
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, b6(b6({
|
|
15355
15355
|
label: o,
|
|
15356
15356
|
error: s,
|
|
15357
15357
|
id: O,
|
|
@@ -15372,11 +15372,11 @@ const g$ = {
|
|
|
15372
15372
|
unstyled: A,
|
|
15373
15373
|
withAsterisk: y,
|
|
15374
15374
|
variant: B
|
|
15375
|
-
}, N), v), a ? /* @__PURE__ */ p.createElement(
|
|
15375
|
+
}, N), v), a ? /* @__PURE__ */ p.createElement(Y1, zc(b6({}, j), {
|
|
15376
15376
|
component: l$,
|
|
15377
15377
|
maxRows: r,
|
|
15378
15378
|
minRows: n
|
|
15379
|
-
})) : /* @__PURE__ */ p.createElement(
|
|
15379
|
+
})) : /* @__PURE__ */ p.createElement(Y1, zc(b6({}, j), {
|
|
15380
15380
|
component: "textarea",
|
|
15381
15381
|
rows: n
|
|
15382
15382
|
})));
|
|
@@ -16720,7 +16720,7 @@ const Q21 = {
|
|
|
16720
16720
|
labelProps: p1,
|
|
16721
16721
|
descriptionProps: A1,
|
|
16722
16722
|
form: t2,
|
|
16723
|
-
positionDependencies:
|
|
16723
|
+
positionDependencies: K1,
|
|
16724
16724
|
onKeyDown: L4,
|
|
16725
16725
|
unstyled: i2,
|
|
16726
16726
|
inputContainer: S4,
|
|
@@ -16800,7 +16800,7 @@ const Q21 = {
|
|
|
16800
16800
|
"clearButtonProps",
|
|
16801
16801
|
"hoverOnSearchChange",
|
|
16802
16802
|
"disableSelectedItemFiltering"
|
|
16803
|
-
]), { classes: L2, cx: f2, theme: M4 } = W21({ invalid: !!u }, { name: "MultiSelect", classNames: i, styles: d, unstyled: i2, size: l, variant: j }), { systemStyles: d6, rest: Q2 } = R4(A4), K2 = g1(), L3 = g1({}), S2 = y2(w), [F2,
|
|
16803
|
+
]), { classes: L2, cx: f2, theme: M4 } = W21({ invalid: !!u }, { name: "MultiSelect", classNames: i, styles: d, unstyled: i2, size: l, variant: j }), { systemStyles: d6, rest: Q2 } = R4(A4), K2 = g1(), L3 = g1({}), S2 = y2(w), [F2, G1] = v1(J), [u2, d4] = v1(-1), [T4, T2] = v1("column"), [G2, Y4] = _1({
|
|
16804
16804
|
value: W,
|
|
16805
16805
|
defaultValue: "",
|
|
16806
16806
|
finalValue: void 0,
|
|
@@ -16823,9 +16823,9 @@ const Q21 = {
|
|
|
16823
16823
|
U1(e2), a1 && e2.length < a1 && (P1.current = !1);
|
|
16824
16824
|
}
|
|
16825
16825
|
}, p2 = (H1) => {
|
|
16826
|
-
Y4(H1.currentTarget.value), !q && !P1.current && B &&
|
|
16826
|
+
Y4(H1.currentTarget.value), !q && !P1.current && B && G1(!0);
|
|
16827
16827
|
}, j2 = (H1) => {
|
|
16828
|
-
typeof A == "function" && A(H1), !q && !P1.current && B &&
|
|
16828
|
+
typeof A == "function" && A(H1), !q && !P1.current && B && G1(!0);
|
|
16829
16829
|
}, h2 = w21({
|
|
16830
16830
|
data: B1,
|
|
16831
16831
|
searchable: B,
|
|
@@ -16846,7 +16846,7 @@ const Q21 = {
|
|
|
16846
16846
|
z2(() => {
|
|
16847
16847
|
d4(z1 && G2 ? 0 : -1);
|
|
16848
16848
|
}, [G2, z1]), z2(() => {
|
|
16849
|
-
!q && w1.length > g.length &&
|
|
16849
|
+
!q && w1.length > g.length && G1(!1), a1 && w1.length < a1 && (P1.current = !1), a1 && w1.length >= a1 && (P1.current = !0, G1(!1));
|
|
16850
16850
|
}, [w1]);
|
|
16851
16851
|
const h4 = (H1) => {
|
|
16852
16852
|
if (!u4)
|
|
@@ -16858,10 +16858,10 @@ const Q21 = {
|
|
|
16858
16858
|
typeof e2 < "u" && e2 !== null && U1(typeof e2 == "string" ? [...w1, e2] : [...w1, e2.value]);
|
|
16859
16859
|
} else
|
|
16860
16860
|
U1([...w1, H1.value]);
|
|
16861
|
-
w1.length === a1 - 1 && (P1.current = !0,
|
|
16861
|
+
w1.length === a1 - 1 && (P1.current = !0, G1(!1)), h2.length === 1 && G1(!1);
|
|
16862
16862
|
}
|
|
16863
16863
|
}, D2 = (H1) => {
|
|
16864
|
-
typeof y == "function" && y(H1), l2 && h2[w4] && F2 && h4(h2[w4]), Y && Y4(""),
|
|
16864
|
+
typeof y == "function" && y(H1), l2 && h2[w4] && F2 && h4(h2[w4]), Y && Y4(""), G1(!1);
|
|
16865
16865
|
}, X6 = (H1) => {
|
|
16866
16866
|
if (i3 || (L4 == null || L4(H1), u4) || H1.key !== "Backspace" && a1 && P1.current)
|
|
16867
16867
|
return;
|
|
@@ -16884,28 +16884,28 @@ const Q21 = {
|
|
|
16884
16884
|
};
|
|
16885
16885
|
switch (H1.key) {
|
|
16886
16886
|
case "ArrowUp": {
|
|
16887
|
-
H1.preventDefault(),
|
|
16887
|
+
H1.preventDefault(), G1(!0), e2 ? u3() : C4();
|
|
16888
16888
|
break;
|
|
16889
16889
|
}
|
|
16890
16890
|
case "ArrowDown": {
|
|
16891
|
-
H1.preventDefault(),
|
|
16891
|
+
H1.preventDefault(), G1(!0), e2 ? C4() : u3();
|
|
16892
16892
|
break;
|
|
16893
16893
|
}
|
|
16894
16894
|
case "Enter": {
|
|
16895
|
-
H1.preventDefault(), h2[w4] && F2 ? h4(h2[w4]) :
|
|
16895
|
+
H1.preventDefault(), h2[w4] && F2 ? h4(h2[w4]) : G1(!0);
|
|
16896
16896
|
break;
|
|
16897
16897
|
}
|
|
16898
16898
|
case " ": {
|
|
16899
|
-
B || (H1.preventDefault(), h2[w4] && F2 ? h4(h2[w4]) :
|
|
16899
|
+
B || (H1.preventDefault(), h2[w4] && F2 ? h4(h2[w4]) : G1(!0));
|
|
16900
16900
|
break;
|
|
16901
16901
|
}
|
|
16902
16902
|
case "Backspace": {
|
|
16903
|
-
w1.length > 0 && G2.length === 0 && (U1(w1.slice(0, -1)),
|
|
16903
|
+
w1.length > 0 && G2.length === 0 && (U1(w1.slice(0, -1)), G1(!0), a1 && (P1.current = !1));
|
|
16904
16904
|
break;
|
|
16905
16905
|
}
|
|
16906
16906
|
case "Home": {
|
|
16907
16907
|
if (!B) {
|
|
16908
|
-
H1.preventDefault(), F2 ||
|
|
16908
|
+
H1.preventDefault(), F2 || G1(!0);
|
|
16909
16909
|
const A3 = h2.findIndex((X4) => !X4.disabled);
|
|
16910
16910
|
d4(A3), K({
|
|
16911
16911
|
alignment: e2 ? "end" : "start"
|
|
@@ -16915,7 +16915,7 @@ const Q21 = {
|
|
|
16915
16915
|
}
|
|
16916
16916
|
case "End": {
|
|
16917
16917
|
if (!B) {
|
|
16918
|
-
H1.preventDefault(), F2 ||
|
|
16918
|
+
H1.preventDefault(), F2 || G1(!0);
|
|
16919
16919
|
const A3 = h2.map((X4) => !!X4.disabled).lastIndexOf(!1);
|
|
16920
16920
|
d4(A3), K({
|
|
16921
16921
|
alignment: e2 ? "end" : "start"
|
|
@@ -16924,7 +16924,7 @@ const Q21 = {
|
|
|
16924
16924
|
break;
|
|
16925
16925
|
}
|
|
16926
16926
|
case "Escape":
|
|
16927
|
-
|
|
16927
|
+
G1(!1);
|
|
16928
16928
|
}
|
|
16929
16929
|
}, u8 = w1.map((H1) => {
|
|
16930
16930
|
let e2 = B1.find((C4) => C4.value === H1 && !C4.disabled);
|
|
@@ -16953,7 +16953,7 @@ const Q21 = {
|
|
|
16953
16953
|
return z2(() => {
|
|
16954
16954
|
const H1 = F3 ? D : G;
|
|
16955
16955
|
typeof H1 == "function" && H1();
|
|
16956
|
-
}, [F3]), /* @__PURE__ */ p.createElement(
|
|
16956
|
+
}, [F3]), /* @__PURE__ */ p.createElement(Y1.Wrapper, M6(M6({
|
|
16957
16957
|
required: n,
|
|
16958
16958
|
id: S2,
|
|
16959
16959
|
label: o,
|
|
@@ -16985,7 +16985,7 @@ const Q21 = {
|
|
|
16985
16985
|
switchDirectionOnFlip: R1,
|
|
16986
16986
|
zIndex: g2,
|
|
16987
16987
|
dropdownPosition: L1,
|
|
16988
|
-
positionDependencies: [...
|
|
16988
|
+
positionDependencies: [...K1, G2],
|
|
16989
16989
|
classNames: i,
|
|
16990
16990
|
styles: d,
|
|
16991
16991
|
unstyled: i2,
|
|
@@ -17005,7 +17005,7 @@ const Q21 = {
|
|
|
17005
17005
|
value: w1.join(","),
|
|
17006
17006
|
form: t2,
|
|
17007
17007
|
disabled: q
|
|
17008
|
-
}), /* @__PURE__ */ p.createElement(
|
|
17008
|
+
}), /* @__PURE__ */ p.createElement(Y1, M6({
|
|
17009
17009
|
__staticSelector: "MultiSelect",
|
|
17010
17010
|
style: { overflow: "hidden" },
|
|
17011
17011
|
component: "div",
|
|
@@ -17020,7 +17020,7 @@ const Q21 = {
|
|
|
17020
17020
|
unstyled: i2,
|
|
17021
17021
|
onMouseDown: (H1) => {
|
|
17022
17022
|
var e2;
|
|
17023
|
-
H1.preventDefault(), !q && !P1.current &&
|
|
17023
|
+
H1.preventDefault(), !q && !P1.current && G1(!F2), (e2 = K2.current) == null || e2.focus();
|
|
17024
17024
|
},
|
|
17025
17025
|
classNames: nh(M6({}, i), {
|
|
17026
17026
|
input: f2({ [L2.input]: !B }, i == null ? void 0 : i.input)
|
|
@@ -17135,9 +17135,9 @@ const a41 = {
|
|
|
17135
17135
|
value: m.value,
|
|
17136
17136
|
disabled: m.disabled
|
|
17137
17137
|
}, m.label));
|
|
17138
|
-
return /* @__PURE__ */ p.createElement(
|
|
17138
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, lh(I8({}, r), {
|
|
17139
17139
|
__staticSelector: "NativeSelect"
|
|
17140
|
-
}), /* @__PURE__ */ p.createElement(
|
|
17140
|
+
}), /* @__PURE__ */ p.createElement(Y1, I8(lh(I8(I8({}, a), h), {
|
|
17141
17141
|
onChange: o,
|
|
17142
17142
|
component: "select",
|
|
17143
17143
|
ref: e,
|
|
@@ -17577,7 +17577,7 @@ const P41 = {
|
|
|
17577
17577
|
__staticSelector: "TextInput"
|
|
17578
17578
|
}, $0 = Q((t, e) => {
|
|
17579
17579
|
const c = o6("TextInput", P41, t), { inputProps: a, wrapperProps: r } = c, n = E41(c, ["inputProps", "wrapperProps"]);
|
|
17580
|
-
return /* @__PURE__ */ p.createElement(
|
|
17580
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, wc({}, r), /* @__PURE__ */ p.createElement(Y1, O41(wc(wc({}, a), n), {
|
|
17581
17581
|
ref: e
|
|
17582
17582
|
})));
|
|
17583
17583
|
});
|
|
@@ -17733,7 +17733,7 @@ const D41 = (t) => t || "", q41 = (t) => {
|
|
|
17733
17733
|
const S1 = typeof v == "number" ? v : v(N1.current);
|
|
17734
17734
|
L1.current = window.setTimeout(() => t2(z1), S1);
|
|
17735
17735
|
}
|
|
17736
|
-
},
|
|
17736
|
+
}, K1 = (z1, S1) => {
|
|
17737
17737
|
z1.preventDefault(), G.current.focus(), A1(S1), O1 && (L1.current = window.setTimeout(() => t2(S1), f));
|
|
17738
17738
|
};
|
|
17739
17739
|
C1(() => (p1(), p1), []);
|
|
@@ -17746,7 +17746,7 @@ const D41 = (t) => t || "", q41 = (t) => {
|
|
|
17746
17746
|
disabled: o1 >= i,
|
|
17747
17747
|
className: U(I.control, I.controlUp),
|
|
17748
17748
|
onPointerDown: (z1) => {
|
|
17749
|
-
|
|
17749
|
+
K1(z1, !0);
|
|
17750
17750
|
},
|
|
17751
17751
|
onPointerUp: p1,
|
|
17752
17752
|
onPointerLeave: p1
|
|
@@ -17760,7 +17760,7 @@ const D41 = (t) => t || "", q41 = (t) => {
|
|
|
17760
17760
|
disabled: o1 <= u,
|
|
17761
17761
|
className: U(I.control, I.controlDown),
|
|
17762
17762
|
onPointerDown: (z1) => {
|
|
17763
|
-
|
|
17763
|
+
K1(z1, !1);
|
|
17764
17764
|
},
|
|
17765
17765
|
onPointerUp: p1,
|
|
17766
17766
|
onPointerLeave: p1
|
|
@@ -17783,7 +17783,7 @@ const D41 = (t) => t || "", q41 = (t) => {
|
|
|
17783
17783
|
z1.preventDefault();
|
|
17784
17784
|
return;
|
|
17785
17785
|
}
|
|
17786
|
-
a || (z1.key === "ArrowUp" ?
|
|
17786
|
+
a || (z1.key === "ArrowUp" ? K1(z1, !0) : z1.key === "ArrowDown" && K1(z1, !1));
|
|
17787
17787
|
}, x2 = (z1) => {
|
|
17788
17788
|
typeof b == "function" && b(z1), (z1.key === "ArrowUp" || z1.key === "ArrowDown") && p1();
|
|
17789
17789
|
};
|
|
@@ -18432,7 +18432,7 @@ const P31 = {
|
|
|
18432
18432
|
reveal: c1,
|
|
18433
18433
|
size: k({ size: n, sizes: k31 })
|
|
18434
18434
|
}));
|
|
18435
|
-
return /* @__PURE__ */ p.createElement(
|
|
18435
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, R8(R8({
|
|
18436
18436
|
required: d,
|
|
18437
18437
|
id: J,
|
|
18438
18438
|
label: u,
|
|
@@ -18453,7 +18453,7 @@ const P31 = {
|
|
|
18453
18453
|
inputWrapperOrder: E,
|
|
18454
18454
|
inputContainer: O,
|
|
18455
18455
|
variant: b
|
|
18456
|
-
}, I), g), /* @__PURE__ */ p.createElement(
|
|
18456
|
+
}, I), g), /* @__PURE__ */ p.createElement(Y1, {
|
|
18457
18457
|
component: "div",
|
|
18458
18458
|
error: i,
|
|
18459
18459
|
icon: v,
|
|
@@ -18651,7 +18651,7 @@ const Oh = {
|
|
|
18651
18651
|
unstyled: v,
|
|
18652
18652
|
id: Y,
|
|
18653
18653
|
noWrap: !0
|
|
18654
|
-
}, N), Fh(g, J).map((G, D) => /* @__PURE__ */ p.createElement(
|
|
18654
|
+
}, N), Fh(g, J).map((G, D) => /* @__PURE__ */ p.createElement(Y1, {
|
|
18655
18655
|
__staticSelector: "PinInput",
|
|
18656
18656
|
id: `${Y}-${D + 1}`,
|
|
18657
18657
|
key: `${Y}-${D}`,
|
|
@@ -19347,7 +19347,7 @@ const F61 = {
|
|
|
19347
19347
|
}), g = (m) => f(m.currentTarget.value);
|
|
19348
19348
|
return /* @__PURE__ */ p.createElement(y61, {
|
|
19349
19349
|
value: { value: v, onChange: g, size: s, name: h }
|
|
19350
|
-
}, /* @__PURE__ */ p.createElement(
|
|
19350
|
+
}, /* @__PURE__ */ p.createElement(Y1.Wrapper, Wh(Wh({
|
|
19351
19351
|
labelElement: "div",
|
|
19352
19352
|
size: s,
|
|
19353
19353
|
__staticSelector: "RadioGroup",
|
|
@@ -20490,7 +20490,7 @@ const j01 = {
|
|
|
20490
20490
|
"readOnly",
|
|
20491
20491
|
"clearButtonProps",
|
|
20492
20492
|
"hoverOnSearchChange"
|
|
20493
|
-
]), { classes: R1, cx: g2, theme: l2 } = E01(), [O1, L1] = v1(g), [N1, p1] = v1(-1), A1 = g1(), t2 = g1({}), [
|
|
20493
|
+
]), { classes: R1, cx: g2, theme: l2 } = E01(), [O1, L1] = v1(g), [N1, p1] = v1(-1), A1 = g1(), t2 = g1({}), [K1, L4] = v1("column"), i2 = K1 === "column", { scrollIntoView: S4, targetRef: F4, scrollableRef: u4 } = de({
|
|
20494
20494
|
duration: 0,
|
|
20495
20495
|
offset: 5,
|
|
20496
20496
|
cancelable: !1,
|
|
@@ -20525,7 +20525,7 @@ const j01 = {
|
|
|
20525
20525
|
}, [f2]), C1(() => {
|
|
20526
20526
|
Q2 && (!C || !O1) && S2(Q2.label);
|
|
20527
20527
|
}, [Q2 == null ? void 0 : Q2.label]);
|
|
20528
|
-
const
|
|
20528
|
+
const G1 = (i1) => {
|
|
20529
20529
|
if (!D)
|
|
20530
20530
|
if (l3 && (Q2 == null ? void 0 : Q2.value) === i1.value)
|
|
20531
20531
|
M4(null), x2(!1);
|
|
@@ -20607,16 +20607,16 @@ const j01 = {
|
|
|
20607
20607
|
break;
|
|
20608
20608
|
}
|
|
20609
20609
|
case " ": {
|
|
20610
|
-
C || (i1.preventDefault(), u2[N1] && O1 ?
|
|
20610
|
+
C || (i1.preventDefault(), u2[N1] && O1 ? G1(u2[N1]) : (x2(!0), p1(T4), i3()));
|
|
20611
20611
|
break;
|
|
20612
20612
|
}
|
|
20613
20613
|
case "Enter":
|
|
20614
|
-
C || i1.preventDefault(), u2[N1] && O1 && (i1.preventDefault(),
|
|
20614
|
+
C || i1.preventDefault(), u2[N1] && O1 && (i1.preventDefault(), G1(u2[N1]));
|
|
20615
20615
|
}
|
|
20616
20616
|
}, K = (i1) => {
|
|
20617
20617
|
typeof h == "function" && h(i1);
|
|
20618
20618
|
const M1 = L2.find((B1) => B1.value === f2);
|
|
20619
|
-
j && u2[N1] && O1 &&
|
|
20619
|
+
j && u2[N1] && O1 && G1(u2[N1]), S2((M1 == null ? void 0 : M1.label) || ""), x2(!1);
|
|
20620
20620
|
}, h1 = (i1) => {
|
|
20621
20621
|
typeof v == "function" && v(i1), C && x2(!0);
|
|
20622
20622
|
}, m1 = (i1) => {
|
|
@@ -20624,7 +20624,7 @@ const j01 = {
|
|
|
20624
20624
|
}, F1 = () => {
|
|
20625
20625
|
D || (x2(!O1), f2 && !O1 && p1(T4));
|
|
20626
20626
|
};
|
|
20627
|
-
return /* @__PURE__ */ p.createElement(
|
|
20627
|
+
return /* @__PURE__ */ p.createElement(Y1.Wrapper, Sc(v0({}, r), {
|
|
20628
20628
|
__staticSelector: "Select"
|
|
20629
20629
|
}), /* @__PURE__ */ p.createElement(I4, {
|
|
20630
20630
|
opened: T2,
|
|
@@ -20656,7 +20656,7 @@ const j01 = {
|
|
|
20656
20656
|
value: f2 || "",
|
|
20657
20657
|
form: u1,
|
|
20658
20658
|
disabled: y
|
|
20659
|
-
}), /* @__PURE__ */ p.createElement(
|
|
20659
|
+
}), /* @__PURE__ */ p.createElement(Y1, v0(Sc(v0(v0({
|
|
20660
20660
|
autoComplete: "off",
|
|
20661
20661
|
type: "search"
|
|
20662
20662
|
}, a), T1), {
|
|
@@ -20694,7 +20694,7 @@ const j01 = {
|
|
|
20694
20694
|
}))))), /* @__PURE__ */ p.createElement(I4.Dropdown, {
|
|
20695
20695
|
component: W || n6,
|
|
20696
20696
|
maxHeight: V,
|
|
20697
|
-
direction:
|
|
20697
|
+
direction: K1,
|
|
20698
20698
|
id: a.id,
|
|
20699
20699
|
innerRef: u4,
|
|
20700
20700
|
__staticSelector: "Select",
|
|
@@ -20709,7 +20709,7 @@ const j01 = {
|
|
|
20709
20709
|
uuid: a.id,
|
|
20710
20710
|
__staticSelector: "Select",
|
|
20711
20711
|
onItemHover: p1,
|
|
20712
|
-
onItemSelect:
|
|
20712
|
+
onItemSelect: G1,
|
|
20713
20713
|
itemsRefs: t2,
|
|
20714
20714
|
itemComponent: i,
|
|
20715
20715
|
size: a.size,
|
|
@@ -21629,8 +21629,8 @@ const Q81 = {
|
|
|
21629
21629
|
Array.isArray(o) && (o1.current = o);
|
|
21630
21630
|
}, Array.isArray(o) ? [o[0], o[1]] : [null, null]);
|
|
21631
21631
|
const D = (p1, A1, t2) => {
|
|
21632
|
-
const
|
|
21633
|
-
|
|
21632
|
+
const K1 = [...o1.current];
|
|
21633
|
+
K1[A1] = p1, A1 === 0 && (p1 > K1[1] - (v - 1e-9) && (K1[1] = Math.min(p1 + v, h)), p1 > (h - (v - 1e-9) || d) && (K1[A1] = o1.current[A1]), K1[1] - p1 > f && (K1[1] = p1 + f)), A1 === 1 && (p1 < K1[0] + v && (K1[0] = Math.max(p1 - v, d)), p1 < K1[0] + v && (K1[A1] = o1.current[A1]), p1 - K1[0] > f && (K1[0] = p1 - f)), G(K1), t2 && (l == null || l(o1.current));
|
|
21634
21634
|
}, a1 = (p1) => {
|
|
21635
21635
|
if (!P) {
|
|
21636
21636
|
const A1 = Ca({ value: p1, min: d, max: h, step: g, precision: q });
|
|
@@ -21642,13 +21642,13 @@ const Q81 = {
|
|
|
21642
21642
|
}
|
|
21643
21643
|
const g2 = (p1) => {
|
|
21644
21644
|
V1.current.focus();
|
|
21645
|
-
const A1 = V1.current.getBoundingClientRect(), t2 = K81(p1.nativeEvent),
|
|
21645
|
+
const A1 = V1.current.getBoundingClientRect(), t2 = K81(p1.nativeEvent), K1 = Ca({
|
|
21646
21646
|
value: t2 - A1.left,
|
|
21647
21647
|
max: h,
|
|
21648
21648
|
min: d,
|
|
21649
21649
|
step: g,
|
|
21650
21650
|
containerWidth: A1.width
|
|
21651
|
-
}), L4 = Math.abs(_[0] -
|
|
21651
|
+
}), L4 = Math.abs(_[0] - K1) > Math.abs(_[1] - K1) ? 1 : 0, i2 = J.dir === "ltr" ? L4 : L4 === 1 ? 0 : 1;
|
|
21652
21652
|
t1.current = i2;
|
|
21653
21653
|
}, l2 = () => I !== 1 && I !== 0 ? (U(0), 0) : I, O1 = (p1) => {
|
|
21654
21654
|
if (!P)
|
|
@@ -22357,7 +22357,7 @@ const D51 = {
|
|
|
22357
22357
|
};
|
|
22358
22358
|
return /* @__PURE__ */ p.createElement(R51, {
|
|
22359
22359
|
value: { value: i, onChange: h, size: s }
|
|
22360
|
-
}, /* @__PURE__ */ p.createElement(
|
|
22360
|
+
}, /* @__PURE__ */ p.createElement(Y1.Wrapper, Iv(Iv({
|
|
22361
22361
|
labelElement: "div",
|
|
22362
22362
|
size: s,
|
|
22363
22363
|
__staticSelector: "SwitchGroup",
|
|
@@ -24159,14 +24159,14 @@ function Ht1(t, e) {
|
|
|
24159
24159
|
...H.slice(A + 1)
|
|
24160
24160
|
]);
|
|
24161
24161
|
};
|
|
24162
|
-
i[v] = vg(t) ?
|
|
24162
|
+
i[v] = vg(t) ? J1(m, z) : J1(m);
|
|
24163
24163
|
}), u && u.keyList.length === d.length && u.keyList.every((h, v) => h === d[v]) ? l = u : l = { arr: o, atomList: i, keyList: d }, c.set(o, l), l;
|
|
24164
|
-
}, r =
|
|
24164
|
+
}, r = J1((o) => {
|
|
24165
24165
|
const s = o(r), l = o(t);
|
|
24166
24166
|
return a(l, s == null ? void 0 : s.arr);
|
|
24167
24167
|
});
|
|
24168
24168
|
(Wr ? "production" : void 0) !== "production" && (r.debugPrivate = !0), r.init = void 0;
|
|
24169
|
-
const n = vg(t) ?
|
|
24169
|
+
const n = vg(t) ? J1(
|
|
24170
24170
|
(o) => o(r).atomList,
|
|
24171
24171
|
(o, s, l) => {
|
|
24172
24172
|
switch (l.type) {
|
|
@@ -24213,7 +24213,7 @@ function Ht1(t, e) {
|
|
|
24213
24213
|
}
|
|
24214
24214
|
}
|
|
24215
24215
|
}
|
|
24216
|
-
) :
|
|
24216
|
+
) : J1((o) => o(r).atomList);
|
|
24217
24217
|
return n;
|
|
24218
24218
|
},
|
|
24219
24219
|
t,
|
|
@@ -24221,9 +24221,9 @@ function Ht1(t, e) {
|
|
|
24221
24221
|
);
|
|
24222
24222
|
}
|
|
24223
24223
|
function Ay(t) {
|
|
24224
|
-
const e = Symbol(), c =
|
|
24224
|
+
const e = Symbol(), c = J1(e);
|
|
24225
24225
|
(Wr ? "production" : void 0) !== "production" && (c.debugPrivate = !0);
|
|
24226
|
-
const a =
|
|
24226
|
+
const a = J1(
|
|
24227
24227
|
(r, n) => {
|
|
24228
24228
|
const o = r(c);
|
|
24229
24229
|
return o !== e ? o : t(r, n);
|
|
@@ -24292,14 +24292,14 @@ const Lt1 = xt1(
|
|
|
24292
24292
|
() => typeof window < "u" ? window.localStorage : void 0
|
|
24293
24293
|
);
|
|
24294
24294
|
function x4(t, e, c = Lt1, a) {
|
|
24295
|
-
const r = a == null ? void 0 : a.unstable_getOnInit, n =
|
|
24295
|
+
const r = a == null ? void 0 : a.unstable_getOnInit, n = J1(
|
|
24296
24296
|
r ? c.getItem(t, e) : e
|
|
24297
24297
|
);
|
|
24298
24298
|
return (Wr ? "production" : void 0) !== "production" && (n.debugPrivate = !0), n.onMount = (s) => {
|
|
24299
24299
|
r || s(c.getItem(t, e));
|
|
24300
24300
|
let l;
|
|
24301
24301
|
return c.subscribe && (l = c.subscribe(t, s, e)), l;
|
|
24302
|
-
},
|
|
24302
|
+
}, J1(
|
|
24303
24303
|
(s) => s(n),
|
|
24304
24304
|
(s, l, u) => {
|
|
24305
24305
|
const i = typeof u == "function" ? u(s(n)) : u;
|
|
@@ -26843,7 +26843,7 @@ var _r = { exports: {} }, Qy = {
|
|
|
26843
26843
|
var $r = { exports: {} }, uc1 = function(e) {
|
|
26844
26844
|
return !e || typeof e == "string" ? !1 : e instanceof Array || Array.isArray(e) || e.length >= 0 && (e.splice instanceof Function || Object.getOwnPropertyDescriptor(e, e.length - 1) && e.constructor.name !== "String");
|
|
26845
26845
|
};
|
|
26846
|
-
var
|
|
26846
|
+
var kv1 = $r.exports, dc1 = uc1, hc1 = Array.prototype.concat, vc1 = Array.prototype.slice, Cg = $r.exports = function(e) {
|
|
26847
26847
|
for (var c = [], a = 0, r = e.length; a < r; a++) {
|
|
26848
26848
|
var n = e[a];
|
|
26849
26849
|
dc1(n) ? c = hc1.call(c, vc1.call(n)) : c.push(n);
|
|
@@ -26856,7 +26856,7 @@ Cg.wrap = function(t) {
|
|
|
26856
26856
|
};
|
|
26857
26857
|
};
|
|
26858
26858
|
var gc1 = $r.exports;
|
|
26859
|
-
var
|
|
26859
|
+
var Iv1 = _r.exports, x0 = Qy, a8 = gc1, _y = Object.hasOwnProperty, $y = /* @__PURE__ */ Object.create(null);
|
|
26860
26860
|
for (var Tc in x0)
|
|
26861
26861
|
_y.call(x0, Tc) && ($y[x0[Tc]] = Tc);
|
|
26862
26862
|
var p4 = _r.exports = {
|
|
@@ -27107,7 +27107,7 @@ var tn = { exports: {} }, pc1 = {
|
|
|
27107
27107
|
yellow: [255, 255, 0],
|
|
27108
27108
|
yellowgreen: [154, 205, 50]
|
|
27109
27109
|
};
|
|
27110
|
-
var
|
|
27110
|
+
var Rv1 = tn.exports, j3 = pc1, tx = {};
|
|
27111
27111
|
for (var jc in j3)
|
|
27112
27112
|
j3.hasOwnProperty(jc) && (tx[j3[jc]] = jc);
|
|
27113
27113
|
var b1 = tn.exports = {
|
|
@@ -32269,7 +32269,7 @@ function Fr1() {
|
|
|
32269
32269
|
let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : [], e = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : [];
|
|
32270
32270
|
return t.length !== e.length || t.some((c, a) => !Object.is(c, e[a]));
|
|
32271
32271
|
}
|
|
32272
|
-
var nn = { exports: {} },
|
|
32272
|
+
var nn = { exports: {} }, Tv1 = nn.exports;
|
|
32273
32273
|
(function(t) {
|
|
32274
32274
|
var e = function() {
|
|
32275
32275
|
this.Diff_Timeout = 1, this.Diff_EditCost = 4, this.Match_Threshold = 0.5, this.Match_Distance = 1e3, this.Patch_DeleteThreshold = 0.5, this.Patch_Margin = 4, this.Match_MaxBits = 32;
|
|
@@ -33301,7 +33301,7 @@ function Or1() {
|
|
|
33301
33301
|
});
|
|
33302
33302
|
}), Kc = c, Kc;
|
|
33303
33303
|
}
|
|
33304
|
-
var
|
|
33304
|
+
var jv1 = on.exports;
|
|
33305
33305
|
(function(t) {
|
|
33306
33306
|
"use strict";
|
|
33307
33307
|
const e = (i, d) => (...h) => `\x1B[${i(...h) + d}m`, c = (i, d) => (...h) => {
|
|
@@ -34515,7 +34515,7 @@ function P3(t) {
|
|
|
34515
34515
|
return c;
|
|
34516
34516
|
};
|
|
34517
34517
|
}
|
|
34518
|
-
const
|
|
34518
|
+
const Dv1 = {
|
|
34519
34519
|
added: P3("green"),
|
|
34520
34520
|
deleted: P3("red"),
|
|
34521
34521
|
movedestination: P3("gray"),
|
|
@@ -37398,10 +37398,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37398
37398
|
return K && K.length > 2 ? T : void 0;
|
|
37399
37399
|
}();
|
|
37400
37400
|
function N1(T) {
|
|
37401
|
-
return
|
|
37401
|
+
return G1(T) ? g2(T) : {};
|
|
37402
37402
|
}
|
|
37403
37403
|
function p1(T) {
|
|
37404
|
-
if (!
|
|
37404
|
+
if (!G1(T) || M4(T))
|
|
37405
37405
|
return !1;
|
|
37406
37406
|
var K = F2(T) || o1(T) ? R1 : P;
|
|
37407
37407
|
return K.test(K2(T));
|
|
@@ -37424,7 +37424,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37424
37424
|
(p2 || F1 < i1) && (M2[j2 + h1[M1]] = T[F1++]);
|
|
37425
37425
|
return M2;
|
|
37426
37426
|
}
|
|
37427
|
-
function
|
|
37427
|
+
function K1(T, K) {
|
|
37428
37428
|
var h1 = -1, m1 = T.length;
|
|
37429
37429
|
for (K || (K = Array(m1)); ++h1 < m1; )
|
|
37430
37430
|
K[h1] = T[h1];
|
|
@@ -37460,7 +37460,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37460
37460
|
return new T(K[0], K[1], K[2], K[3], K[4], K[5], K[6]);
|
|
37461
37461
|
}
|
|
37462
37462
|
var h1 = N1(T.prototype), m1 = T.apply(h1, K);
|
|
37463
|
-
return
|
|
37463
|
+
return G1(m1) ? m1 : h1;
|
|
37464
37464
|
};
|
|
37465
37465
|
}
|
|
37466
37466
|
function S4(T, K, h1) {
|
|
@@ -37583,7 +37583,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37583
37583
|
return !!D && D in T;
|
|
37584
37584
|
}
|
|
37585
37585
|
function d6(T, K) {
|
|
37586
|
-
for (var h1 = T.length, m1 = O1(K.length, h1), F1 =
|
|
37586
|
+
for (var h1 = T.length, m1 = O1(K.length, h1), F1 = K1(T); m1--; ) {
|
|
37587
37587
|
var i1 = K[m1];
|
|
37588
37588
|
T[m1] = f2(i1, h1) ? F1[i1] : void 0;
|
|
37589
37589
|
}
|
|
@@ -37622,10 +37622,10 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37622
37622
|
return m1.placeholder = S2.placeholder, m1;
|
|
37623
37623
|
}
|
|
37624
37624
|
function F2(T) {
|
|
37625
|
-
var K =
|
|
37625
|
+
var K = G1(T) ? T1.call(T) : "";
|
|
37626
37626
|
return K == w || K == V;
|
|
37627
37627
|
}
|
|
37628
|
-
function
|
|
37628
|
+
function G1(T) {
|
|
37629
37629
|
var K = typeof T;
|
|
37630
37630
|
return !!T && (K == "object" || K == "function");
|
|
37631
37631
|
}
|
|
@@ -37653,9 +37653,9 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
37653
37653
|
return T;
|
|
37654
37654
|
if (d4(T))
|
|
37655
37655
|
return z;
|
|
37656
|
-
if (
|
|
37656
|
+
if (G1(T)) {
|
|
37657
37657
|
var K = typeof T.valueOf == "function" ? T.valueOf() : T;
|
|
37658
|
-
T =
|
|
37658
|
+
T = G1(K) ? K + "" : K;
|
|
37659
37659
|
}
|
|
37660
37660
|
if (typeof T != "string")
|
|
37661
37661
|
return T === 0 ? T : +T;
|
|
@@ -37678,7 +37678,7 @@ Z();
|
|
|
37678
37678
|
Z();
|
|
37679
37679
|
Z();
|
|
37680
37680
|
Z();
|
|
37681
|
-
var
|
|
37681
|
+
var qv1 = Ga(), Yx = Y2(
|
|
37682
37682
|
void 0
|
|
37683
37683
|
), vn = () => {
|
|
37684
37684
|
const t = O2(Yx);
|
|
@@ -37694,9 +37694,9 @@ var Zv1 = Ga(), Yx = Y2(
|
|
|
37694
37694
|
shouldExpandJsonTreeViewInitially: !1,
|
|
37695
37695
|
timeTravelPlaybackInterval: 750,
|
|
37696
37696
|
snapshotHistoryLimit: 1 / 0
|
|
37697
|
-
}, Yg =
|
|
37697
|
+
}, Yg = J1(
|
|
37698
37698
|
Xx
|
|
37699
|
-
), Qx =
|
|
37699
|
+
), Qx = J1(
|
|
37700
37700
|
(t) => t(Yg),
|
|
37701
37701
|
(t, e, c) => {
|
|
37702
37702
|
const a = {
|
|
@@ -37711,7 +37711,7 @@ Z();
|
|
|
37711
37711
|
Z();
|
|
37712
37712
|
var Mo1 = "jotai-devtools", i6 = (t, e) => `${Mo1}-${t}-V${e}`, wo1 = i6("is-shell-open", 0), gn = x4(wo1, null);
|
|
37713
37713
|
Z();
|
|
37714
|
-
var _x =
|
|
37714
|
+
var _x = J1(void 0), Co1 = () => l4(_x, I1()), Vo1 = () => a3(_x, I1());
|
|
37715
37715
|
Z();
|
|
37716
37716
|
var c4 = (t, e) => {
|
|
37717
37717
|
const { colorScheme: c } = Vp();
|
|
@@ -37798,17 +37798,17 @@ var Eo1 = {
|
|
|
37798
37798
|
Z();
|
|
37799
37799
|
Z();
|
|
37800
37800
|
Z();
|
|
37801
|
-
var eL =
|
|
37801
|
+
var eL = J1([]), ko1 = () => b4(eL, I1());
|
|
37802
37802
|
Z();
|
|
37803
37803
|
var Io1 = (t, e) => {
|
|
37804
37804
|
const c = t.trim().toLocaleLowerCase();
|
|
37805
37805
|
return c ? e.filter(([a]) => t3(a).toLocaleLowerCase().includes(c)) : e;
|
|
37806
|
-
}, Yt =
|
|
37806
|
+
}, Yt = J1(
|
|
37807
37807
|
void 0
|
|
37808
|
-
), Ia =
|
|
37808
|
+
), Ia = J1(""), Ro1 = Ay((t) => Io1(
|
|
37809
37809
|
t(Ia),
|
|
37810
37810
|
t(eL)
|
|
37811
|
-
)), No1 =
|
|
37811
|
+
)), No1 = J1(
|
|
37812
37812
|
(t) => t(Ia),
|
|
37813
37813
|
(t, e, c) => {
|
|
37814
37814
|
e(Ia, c);
|
|
@@ -38896,13 +38896,13 @@ var al1 = (t, e) => {
|
|
|
38896
38896
|
return c ? e.filter(({ label: a }) => String(a).includes(c)) : e;
|
|
38897
38897
|
};
|
|
38898
38898
|
Z();
|
|
38899
|
-
var rl1 = (t, e) => t.find((c) => c.id === e), Re =
|
|
38899
|
+
var rl1 = (t, e) => t.find((c) => c.id === e), Re = J1([]), pL = () => a3(Re, I1()), nl1 = i6(
|
|
38900
38900
|
"should-record-snapshot-history",
|
|
38901
38901
|
0
|
|
38902
38902
|
), mL = x4(
|
|
38903
38903
|
nl1,
|
|
38904
38904
|
!1
|
|
38905
|
-
), zL = () => l4(mL, I1()), ol1 = () => b4(mL, I1()), uf =
|
|
38905
|
+
), zL = () => l4(mL, I1()), ol1 = () => b4(mL, I1()), uf = J1(void 0), Y3 = J1(
|
|
38906
38906
|
(t) => {
|
|
38907
38907
|
const e = t(Re), c = t(uf);
|
|
38908
38908
|
if (e && c) {
|
|
@@ -38916,22 +38916,22 @@ var rl1 = (t, e) => t.find((c) => c.id === e), Re = Y1([]), pL = () => a3(Re, I1
|
|
|
38916
38916
|
(t, e, c) => {
|
|
38917
38917
|
e(uf, c);
|
|
38918
38918
|
}
|
|
38919
|
-
), sl1 = () => l4(Y3, I1()), bL = () => a3(Y3, I1()), Mn =
|
|
38919
|
+
), sl1 = () => l4(Y3, I1()), bL = () => a3(Y3, I1()), Mn = J1(""), Ne = Ay(
|
|
38920
38920
|
(t) => al1(
|
|
38921
38921
|
t(Mn),
|
|
38922
38922
|
t(Re)
|
|
38923
38923
|
).filter(
|
|
38924
38924
|
(a) => !a.isHidden
|
|
38925
38925
|
)
|
|
38926
|
-
), ll1 = () => b4(Mn, I1()), il1 = () => l4(Mn, I1()), ML = () => l4(Ne, I1()), wn =
|
|
38926
|
+
), ll1 = () => b4(Mn, I1()), il1 = () => l4(Mn, I1()), ML = () => l4(Ne, I1()), wn = J1(
|
|
38927
38927
|
!1
|
|
38928
|
-
), ul1 = () => b4(wn, I1()), O6 =
|
|
38928
|
+
), ul1 = () => b4(wn, I1()), O6 = J1(!1), dl1 = () => l4(O6, I1()), hl1 = () => b4(O6, I1()), vl1 = (t) => t ? t === 1 ? 100 : 100 / (t - 1) : 0, df = J1(0), hf = J1(
|
|
38929
38929
|
(t) => t(df),
|
|
38930
38930
|
(t, e, c, a) => {
|
|
38931
38931
|
const r = Math.round(c / t(Qt).step - 1), o = t(Ne)[r];
|
|
38932
38932
|
o ? (e(Y3, o.id), e(wn, "center"), t(O6) ? a(o.value) : (e(O6, !0), a(o.value), e(O6, !1))) : e(Y3, void 0), e(df, c);
|
|
38933
38933
|
}
|
|
38934
|
-
), Qt =
|
|
38934
|
+
), Qt = J1(
|
|
38935
38935
|
(t) => {
|
|
38936
38936
|
const e = t(Ne), c = vl1(e.length), a = e.length * c;
|
|
38937
38937
|
return {
|
|
@@ -38943,7 +38943,7 @@ var rl1 = (t, e) => t.find((c) => c.id === e), Re = Y1([]), pL = () => a3(Re, I1
|
|
|
38943
38943
|
};
|
|
38944
38944
|
},
|
|
38945
38945
|
(t, e, ...c) => e(hf, ...c)
|
|
38946
|
-
), Cn = () => l4(Qt, I1()), gl1 =
|
|
38946
|
+
), Cn = () => l4(Qt, I1()), gl1 = J1(
|
|
38947
38947
|
(t) => {
|
|
38948
38948
|
const { value: e, min: c, max: a, step: r } = t(Qt);
|
|
38949
38949
|
return {
|
|
@@ -39164,7 +39164,7 @@ function Sl1(t, e) {
|
|
|
39164
39164
|
propertyFilter: e || LL
|
|
39165
39165
|
});
|
|
39166
39166
|
}
|
|
39167
|
-
var Na = Symbol("STATES_EQUAL_SYMBOL"), Fl1 =
|
|
39167
|
+
var Na = Symbol("STATES_EQUAL_SYMBOL"), Fl1 = J1((t) => {
|
|
39168
39168
|
const e = t(Y3), c = t(Re);
|
|
39169
39169
|
if (c.length) {
|
|
39170
39170
|
const a = e ? c.findIndex(
|
|
@@ -39230,7 +39230,7 @@ Z();
|
|
|
39230
39230
|
var Pl1 = i6("snapshot-value-viewer", 0), kl1 = x4(
|
|
39231
39231
|
Pl1,
|
|
39232
39232
|
"diff"
|
|
39233
|
-
), Il1 = () =>
|
|
39233
|
+
), Il1 = () => X1(kl1, I1());
|
|
39234
39234
|
Z();
|
|
39235
39235
|
function X8(t) {
|
|
39236
39236
|
if (t === null)
|
|
@@ -39392,7 +39392,7 @@ var Wl1 = () => {
|
|
|
39392
39392
|
};
|
|
39393
39393
|
Z();
|
|
39394
39394
|
Z();
|
|
39395
|
-
var Ul1 =
|
|
39395
|
+
var Ul1 = J1(
|
|
39396
39396
|
(t) => {
|
|
39397
39397
|
var a, r;
|
|
39398
39398
|
const e = t(Ne), c = t(Y3);
|
|
@@ -39962,10 +39962,10 @@ const Ai1 = () => !1, Bi1 = (t) => {
|
|
|
39962
39962
|
}), Oi1 = $t((t, e) => {
|
|
39963
39963
|
const c = q6(e);
|
|
39964
39964
|
return c && X3(c, "canBeNested") ? c.canBeNested(t) : !0;
|
|
39965
|
-
}),
|
|
39965
|
+
}), Zv1 = $t((t) => {
|
|
39966
39966
|
const e = q6(t);
|
|
39967
39967
|
return e && X3(e, "canDuplicate") ? e.canDuplicate() : !0;
|
|
39968
|
-
}),
|
|
39968
|
+
}), Wv1 = $t((t) => {
|
|
39969
39969
|
const e = q6(t);
|
|
39970
39970
|
return e && X3(e, "canDelete") ? e.canDelete() : !0;
|
|
39971
39971
|
});
|
|
@@ -40073,10 +40073,10 @@ const Ln = x1("");
|
|
|
40073
40073
|
Ln.debugLabel = "styleStateAtom";
|
|
40074
40074
|
const RL = x4("styleBreakpoint", "xs");
|
|
40075
40075
|
RL.debugLabel = "styleBreakpointAtom";
|
|
40076
|
-
const
|
|
40076
|
+
const Uv1 = () => ({
|
|
40077
40077
|
flexChild: a4(kL),
|
|
40078
40078
|
gridChild: a4(IL)
|
|
40079
|
-
}),
|
|
40079
|
+
}), Kv1 = () => a4(Te), ji1 = x1((t) => {
|
|
40080
40080
|
const e = t(Te), c = t(N4);
|
|
40081
40081
|
let a = e;
|
|
40082
40082
|
const r = [e];
|
|
@@ -40085,7 +40085,7 @@ const Kv1 = () => ({
|
|
|
40085
40085
|
a = n, n && r.push(n);
|
|
40086
40086
|
} while (a != null && a._parent);
|
|
40087
40087
|
return r;
|
|
40088
|
-
}), NL = () => a4(ji1),
|
|
40088
|
+
}), NL = () => a4(ji1), Gv1 = () => {
|
|
40089
40089
|
const t = NL();
|
|
40090
40090
|
return c3(() => {
|
|
40091
40091
|
for (let e = 0; e < t.length; e++) {
|
|
@@ -40095,7 +40095,7 @@ const Kv1 = () => ({
|
|
|
40095
40095
|
}
|
|
40096
40096
|
return {};
|
|
40097
40097
|
}, [t]);
|
|
40098
|
-
},
|
|
40098
|
+
}, Jv1 = () => {
|
|
40099
40099
|
const t = NL();
|
|
40100
40100
|
return c3(() => {
|
|
40101
40101
|
let e = {};
|
|
@@ -40106,7 +40106,7 @@ const Kv1 = () => ({
|
|
|
40106
40106
|
return e;
|
|
40107
40107
|
}, [t]);
|
|
40108
40108
|
}, u6 = () => {
|
|
40109
|
-
const [t, e] =
|
|
40109
|
+
const [t, e] = X1(yn), c = y1(
|
|
40110
40110
|
(a) => {
|
|
40111
40111
|
e((r) => n4(r, a) ? kf(r, a) : [...r, a]);
|
|
40112
40112
|
},
|
|
@@ -40210,7 +40210,7 @@ const Kv1 = () => ({
|
|
|
40210
40210
|
return "";
|
|
40211
40211
|
}
|
|
40212
40212
|
};
|
|
40213
|
-
var Sn = { exports: {} },
|
|
40213
|
+
var Sn = { exports: {} }, Yv1 = Sn.exports;
|
|
40214
40214
|
(function(t) {
|
|
40215
40215
|
(function() {
|
|
40216
40216
|
"use strict";
|
|
@@ -40317,12 +40317,12 @@ var Sn = { exports: {} }, Xv1 = Sn.exports;
|
|
|
40317
40317
|
})(Sn);
|
|
40318
40318
|
var Zi1 = Sn.exports;
|
|
40319
40319
|
const Wi1 = /* @__PURE__ */ q0(Zi1), Ui1 = x1(ca), Ki1 = x1(null), Fn = () => {
|
|
40320
|
-
const [t, e] =
|
|
40320
|
+
const [t, e] = X1(Ui1);
|
|
40321
40321
|
return [
|
|
40322
40322
|
JS(t) ? { ...ca, ...t } : ca,
|
|
40323
40323
|
e
|
|
40324
40324
|
];
|
|
40325
|
-
},
|
|
40325
|
+
}, Xv1 = () => X1(Ki1), Gi1 = x1(null), Ji1 = () => ({ currentPage: a4(Gi1) });
|
|
40326
40326
|
function Yi1(t) {
|
|
40327
40327
|
return OL(t);
|
|
40328
40328
|
}
|
|
@@ -40394,10 +40394,10 @@ const _i1 = () => {
|
|
|
40394
40394
|
return R2(c, t, e);
|
|
40395
40395
|
}, On = x1([]);
|
|
40396
40396
|
On.debugLabel = "dataProvidersAtom";
|
|
40397
|
-
const ZL = () =>
|
|
40397
|
+
const ZL = () => X1(On), je = x1("SAVED");
|
|
40398
40398
|
je.debugLabel = "builderSaveStateAtom";
|
|
40399
40399
|
const $i1 = () => {
|
|
40400
|
-
const [t, e] =
|
|
40400
|
+
const [t, e] = X1(je), c = B2("onSavePage", async (u) => {
|
|
40401
40401
|
}), a = B2("onSave", async (u) => {
|
|
40402
40402
|
}), r = B2("onSaveStateChange", m5), n = _i1(), [o] = ZL(), [s] = Fn();
|
|
40403
40403
|
return { savePage: cF(
|
|
@@ -40415,7 +40415,7 @@ const $i1 = () => {
|
|
|
40415
40415
|
}, _4 = new Wi1();
|
|
40416
40416
|
_4.setLimit(50);
|
|
40417
40417
|
const En = () => {
|
|
40418
|
-
const [, t] =
|
|
40418
|
+
const [, t] = X1(je), e = B2("onSaveStateChange", m5);
|
|
40419
40419
|
return C1(() => (_4.setCallback(() => {
|
|
40420
40420
|
t("UNSAVED"), e("UNSAVED");
|
|
40421
40421
|
}), () => {
|
|
@@ -40536,7 +40536,7 @@ const cu1 = (t, e, c, a) => {
|
|
|
40536
40536
|
});
|
|
40537
40537
|
}
|
|
40538
40538
|
};
|
|
40539
|
-
}, x3 = () =>
|
|
40539
|
+
}, x3 = () => X1(N4), s3 = () => {
|
|
40540
40540
|
const { add: t } = En(), [e] = x3(), {
|
|
40541
40541
|
setNewBlocks: c,
|
|
40542
40542
|
addBlocks: a,
|
|
@@ -40748,7 +40748,7 @@ const hu1 = _3(
|
|
|
40748
40748
|
variant: "default"
|
|
40749
40749
|
}
|
|
40750
40750
|
}
|
|
40751
|
-
),
|
|
40751
|
+
), Qv1 = ({ className: t, variant: e, ...c }) => /* @__PURE__ */ L.jsx("div", { className: s1(hu1({ variant: e }), t), ...c }), vu1 = U2.Root, gu1 = U2.Trigger, GL = ({ className: t, ...e }) => /* @__PURE__ */ L.jsx(U2.Portal, { className: s1(t), ...e });
|
|
40752
40752
|
GL.displayName = U2.Portal.displayName;
|
|
40753
40753
|
const JL = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(
|
|
40754
40754
|
U2.Overlay,
|
|
@@ -40954,7 +40954,7 @@ const qa = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(
|
|
|
40954
40954
|
}
|
|
40955
40955
|
));
|
|
40956
40956
|
qa.displayName = $3.Content.displayName;
|
|
40957
|
-
const
|
|
40957
|
+
const _v1 = Z6.Portal, Bu1 = Z6.Provider, $v1 = Z6.Root, tg1 = Z6.Trigger, Ou1 = x.forwardRef(({ className: t, sideOffset: e = 4, ...c }, a) => /* @__PURE__ */ L.jsx(
|
|
40958
40958
|
Z6.Content,
|
|
40959
40959
|
{
|
|
40960
40960
|
ref: a,
|
|
@@ -40967,7 +40967,7 @@ const $v1 = Z6.Portal, Bu1 = Z6.Provider, tg1 = Z6.Root, eg1 = Z6.Trigger, Ou1 =
|
|
|
40967
40967
|
}
|
|
40968
40968
|
));
|
|
40969
40969
|
Ou1.displayName = Z6.Content.displayName;
|
|
40970
|
-
const
|
|
40970
|
+
const eg1 = A0.Root, cg1 = A0.Trigger, Eu1 = x.forwardRef(({ className: t, align: e = "center", sideOffset: c = 4, ...a }, r) => /* @__PURE__ */ L.jsx(A0.Portal, { children: /* @__PURE__ */ L.jsx(
|
|
40971
40971
|
A0.Content,
|
|
40972
40972
|
{
|
|
40973
40973
|
ref: r,
|
|
@@ -40981,7 +40981,7 @@ const cg1 = A0.Root, ag1 = A0.Trigger, Eu1 = x.forwardRef(({ className: t, align
|
|
|
40981
40981
|
}
|
|
40982
40982
|
) }));
|
|
40983
40983
|
Eu1.displayName = A0.Content.displayName;
|
|
40984
|
-
const
|
|
40984
|
+
const ag1 = Q1.Menu, rg1 = Q1.Group, ng1 = Q1.Portal, og1 = Q1.Sub, sg1 = Q1.RadioGroup, Pu1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(
|
|
40985
40985
|
Q1.Root,
|
|
40986
40986
|
{
|
|
40987
40987
|
ref: c,
|
|
@@ -41105,7 +41105,7 @@ const Zu1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(Q1
|
|
|
41105
41105
|
Zu1.displayName = Q1.Separator.displayName;
|
|
41106
41106
|
const Wu1 = ({ className: t, ...e }) => /* @__PURE__ */ L.jsx("span", { className: s1("ml-auto text-xs tracking-widest text-muted-foreground", t), ...e });
|
|
41107
41107
|
Wu1.displayname = "MenubarShortcut";
|
|
41108
|
-
const
|
|
41108
|
+
const lg1 = ee.Root, ig1 = ee.Trigger, Uu1 = x.forwardRef(({ className: t, align: e = "center", sideOffset: c = 4, ...a }, r) => /* @__PURE__ */ L.jsx(
|
|
41109
41109
|
ee.Content,
|
|
41110
41110
|
{
|
|
41111
41111
|
ref: r,
|
|
@@ -41119,7 +41119,7 @@ const ig1 = ee.Root, ug1 = ee.Trigger, Uu1 = x.forwardRef(({ className: t, align
|
|
|
41119
41119
|
}
|
|
41120
41120
|
));
|
|
41121
41121
|
Uu1.displayName = ee.Content.displayName;
|
|
41122
|
-
const
|
|
41122
|
+
const ug1 = A2.Root, dg1 = A2.Group, hg1 = A2.Value, Ku1 = x.forwardRef(({ className: t, children: e, ...c }, a) => /* @__PURE__ */ L.jsxs(
|
|
41123
41123
|
A2.Trigger,
|
|
41124
41124
|
{
|
|
41125
41125
|
ref: a,
|
|
@@ -41179,7 +41179,7 @@ const Yu1 = x.forwardRef(({ className: t, children: e, ...c }, a) => /* @__PURE_
|
|
|
41179
41179
|
Yu1.displayName = A2.Item.displayName;
|
|
41180
41180
|
const Xu1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(A2.Separator, { ref: c, className: s1("-mx-1 my-1 h-px bg-muted", t), ...e }));
|
|
41181
41181
|
Xu1.displayName = A2.Separator.displayName;
|
|
41182
|
-
const
|
|
41182
|
+
const vg1 = $1.Root, gg1 = $1.Trigger, fg1 = $1.Close, sS = ({ className: t, ...e }) => /* @__PURE__ */ L.jsx($1.Portal, { className: s1(t), ...e });
|
|
41183
41183
|
sS.displayName = $1.Portal.displayName;
|
|
41184
41184
|
const lS = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(
|
|
41185
41185
|
$1.Overlay,
|
|
@@ -41229,7 +41229,7 @@ const ed1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx($1
|
|
|
41229
41229
|
ed1.displayName = $1.Title.displayName;
|
|
41230
41230
|
const cd1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx($1.Description, { ref: c, className: s1("text-sm text-muted-foreground", t), ...e }));
|
|
41231
41231
|
cd1.displayName = $1.Description.displayName;
|
|
41232
|
-
const ad1 = r2.Root, rd1 = r2.Trigger,
|
|
41232
|
+
const ad1 = r2.Root, rd1 = r2.Trigger, pg1 = r2.Group, mg1 = r2.Portal, zg1 = r2.Sub, bg1 = r2.RadioGroup, nd1 = x.forwardRef(({ className: t, inset: e, children: c, ...a }, r) => /* @__PURE__ */ L.jsxs(
|
|
41233
41233
|
r2.SubTrigger,
|
|
41234
41234
|
{
|
|
41235
41235
|
ref: r,
|
|
@@ -41514,7 +41514,7 @@ const mS = ({ className: t, ...e }) => /* @__PURE__ */ L.jsx("div", { className:
|
|
|
41514
41514
|
}
|
|
41515
41515
|
));
|
|
41516
41516
|
zS.displayName = s4.displayName;
|
|
41517
|
-
const
|
|
41517
|
+
const Mg1 = ({ children: t, ...e }) => /* @__PURE__ */ L.jsx(cS, { ...e, children: /* @__PURE__ */ L.jsx(In, { className: "overflow-hidden p-0", children: /* @__PURE__ */ L.jsx(zS, { 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: t }) }) }), Md1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsxs("div", { className: "flex items-center border-b px-3", "cmdk-input-wrapper": "", children: [
|
|
41518
41518
|
/* @__PURE__ */ L.jsx(sF, { className: "mr-2 h-4 w-4 shrink-0 opacity-50" }),
|
|
41519
41519
|
/* @__PURE__ */ L.jsx(
|
|
41520
41520
|
s4.Input,
|
|
@@ -41568,7 +41568,7 @@ const yd1 = x.forwardRef(({ className: t, ...e }, c) => /* @__PURE__ */ L.jsx(
|
|
|
41568
41568
|
yd1.displayName = s4.Item.displayName;
|
|
41569
41569
|
const xd1 = ({ className: t, ...e }) => /* @__PURE__ */ L.jsx("span", { className: s1("ml-auto text-xs tracking-widest text-muted-foreground", t), ...e });
|
|
41570
41570
|
xd1.displayName = "CommandShortcut";
|
|
41571
|
-
const
|
|
41571
|
+
const wg1 = n2.Root, Cg1 = n2.Trigger, Vg1 = n2.Group, Hg1 = n2.Portal, yg1 = n2.Sub, xg1 = n2.RadioGroup, Ld1 = x.forwardRef(({ className: t, inset: e, children: c, ...a }, r) => /* @__PURE__ */ L.jsxs(
|
|
41572
41572
|
n2.SubTrigger,
|
|
41573
41573
|
{
|
|
41574
41574
|
ref: r,
|
|
@@ -41679,7 +41679,7 @@ const Id1 = (t) => {
|
|
|
41679
41679
|
} catch (e) {
|
|
41680
41680
|
return console.error(e), "";
|
|
41681
41681
|
}
|
|
41682
|
-
},
|
|
41682
|
+
}, Lg1 = ({ value: t, onChange: e }) => {
|
|
41683
41683
|
const c = (a) => {
|
|
41684
41684
|
e("<svg />");
|
|
41685
41685
|
const r = Id1(a);
|
|
@@ -41733,7 +41733,7 @@ const Id1 = (t) => {
|
|
|
41733
41733
|
}
|
|
41734
41734
|
)
|
|
41735
41735
|
] });
|
|
41736
|
-
}, Rd1 = p.lazy(() => import("./UnsplashImages-
|
|
41736
|
+
}, Rd1 = p.lazy(() => import("./UnsplashImages-qUDa1vAS.js")), Nd1 = p.lazy(() => import("./UploadImages-Xh-lPuZy.js")), bS = ({
|
|
41737
41737
|
isModalView: t = !1,
|
|
41738
41738
|
onSelect: e = () => {
|
|
41739
41739
|
}
|
|
@@ -41751,7 +41751,7 @@ const Id1 = (t) => {
|
|
|
41751
41751
|
o === "unsplash" ? /* @__PURE__ */ L.jsx(qa, { value: "unsplash", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ L.jsx(f3, { fallback: /* @__PURE__ */ L.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ L.jsx(Rd1, { isModalView: t, onSelect: e }) }) }) : /* @__PURE__ */ L.jsx(qa, { value: "upload", className: "flex h-full flex-col overflow-hidden", children: /* @__PURE__ */ L.jsx(f3, { fallback: /* @__PURE__ */ L.jsx("div", { className: "h-64 w-full animate-pulse bg-gray-100" }), children: /* @__PURE__ */ L.jsx(Nd1, { isModalView: t, onSelect: e }) }) })
|
|
41752
41752
|
] })
|
|
41753
41753
|
] });
|
|
41754
|
-
},
|
|
41754
|
+
}, Sg1 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
41755
41755
|
__proto__: null,
|
|
41756
41756
|
default: bS
|
|
41757
41757
|
}, Symbol.toStringTag, { value: "Module" })), bf = ({ children: t, onSelect: e }) => {
|
|
@@ -41762,7 +41762,7 @@ const Id1 = (t) => {
|
|
|
41762
41762
|
/* @__PURE__ */ L.jsx(fu1, { asChild: !0, children: t }),
|
|
41763
41763
|
/* @__PURE__ */ L.jsx(In, { className: "flex h-3/4 max-w-5xl", children: /* @__PURE__ */ L.jsx("div", { className: "h-full w-full", children: /* @__PURE__ */ L.jsx(bS, { isModalView: !0, onSelect: r }) }) })
|
|
41764
41764
|
] });
|
|
41765
|
-
},
|
|
41765
|
+
}, Fg1 = ({ value: t, onChange: e, id: c, onBlur: a }) => {
|
|
41766
41766
|
const r = B2("uploadMediaCallback"), n = B2("unsplashAccessKey"), o = r === void 0, s = n === void 0;
|
|
41767
41767
|
return /* @__PURE__ */ L.jsxs("div", { className: "mt-1.5 flex items-center gap-x-3", children: [
|
|
41768
41768
|
t ? /* @__PURE__ */ L.jsx("img", { src: t, className: "h-20 w-20 overflow-hidden rounded-md border object-cover", alt: "" }) : /* @__PURE__ */ L.jsx(bf, { onSelect: e, children: /* @__PURE__ */ L.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" }) }),
|
|
@@ -41784,7 +41784,7 @@ const Id1 = (t) => {
|
|
|
41784
41784
|
)
|
|
41785
41785
|
] })
|
|
41786
41786
|
] });
|
|
41787
|
-
},
|
|
41787
|
+
}, Ag1 = ({ id: t, placeholder: e, value: c, onChange: a, onBlur: r }) => {
|
|
41788
41788
|
const n = {
|
|
41789
41789
|
toolbar: [
|
|
41790
41790
|
["bold", "italic", "underline", "strike", "blockquote"],
|
|
@@ -41820,7 +41820,7 @@ const Id1 = (t) => {
|
|
|
41820
41820
|
className: "mt-1 rounded-md"
|
|
41821
41821
|
}
|
|
41822
41822
|
);
|
|
41823
|
-
},
|
|
41823
|
+
}, Bg1 = ({ schema: t, formData: e, onChange: c }) => {
|
|
41824
41824
|
const [a, r] = v1([]), n = B2("getPages", () => []), { type: o = "page", href: s = "", target: l = "self" } = e;
|
|
41825
41825
|
return C1(() => {
|
|
41826
41826
|
(async () => {
|
|
@@ -41873,7 +41873,7 @@ const Id1 = (t) => {
|
|
|
41873
41873
|
] })
|
|
41874
41874
|
] })
|
|
41875
41875
|
] });
|
|
41876
|
-
},
|
|
41876
|
+
}, Og1 = () => {
|
|
41877
41877
|
const [t] = x3(), [, e] = u6(), { addBlocks: c } = s3(), { toast: a } = Nn(), r = y1(
|
|
41878
41878
|
(o, s, l) => {
|
|
41879
41879
|
var v;
|
|
@@ -41998,7 +41998,7 @@ function jd1(t = "", e = "", c = []) {
|
|
|
41998
41998
|
}
|
|
41999
41999
|
const i8 = x1([]);
|
|
42000
42000
|
i8.debugLabel = "selectedStylingBlocksAtom";
|
|
42001
|
-
const Dd1 = () =>
|
|
42001
|
+
const Dd1 = () => X1(i8), qd1 = (t) => {
|
|
42002
42002
|
const e = t.replace(Z3, "").split(",");
|
|
42003
42003
|
return { baseClasses: e[0], classes: e[1] };
|
|
42004
42004
|
}, Zd1 = x1(null, (t, e, { blockIds: c, newClasses: a }) => {
|
|
@@ -42016,7 +42016,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42016
42016
|
props: { [n.prop]: `${Z3}${jd1(i, u, a)}` }
|
|
42017
42017
|
};
|
|
42018
42018
|
});
|
|
42019
|
-
}),
|
|
42019
|
+
}), Eg1 = () => {
|
|
42020
42020
|
const t = Z0(Zd1), { updateBlocks: e, updateBlocksRuntime: c } = s3();
|
|
42021
42021
|
return y1(
|
|
42022
42022
|
(a, r, n = !1) => {
|
|
@@ -42029,32 +42029,32 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42029
42029
|
},
|
|
42030
42030
|
[t]
|
|
42031
42031
|
);
|
|
42032
|
-
}, Wd1 = () =>
|
|
42032
|
+
}, Wd1 = () => X1(RL), MS = x4("canvasWidth", 800), wS = x1((t) => {
|
|
42033
42033
|
const e = t(MS);
|
|
42034
42034
|
return _S(e).toLowerCase();
|
|
42035
|
-
}),
|
|
42036
|
-
const [t, e] =
|
|
42035
|
+
}), Pg1 = () => {
|
|
42036
|
+
const [t, e] = X1(MS), c = a4(wS), [a, r] = Wd1();
|
|
42037
42037
|
return C1(() => {
|
|
42038
42038
|
a !== "xs" && r(c);
|
|
42039
42039
|
}, [c, a, r]), [t, c, e];
|
|
42040
|
-
}, Ud1 = x4("canvasZoom", 100),
|
|
42041
|
-
const [t, e] =
|
|
42040
|
+
}, Ud1 = x4("canvasZoom", 100), kg1 = () => X1(Ud1), CS = x1([]), Kd1 = () => {
|
|
42041
|
+
const [t, e] = X1(CS), c = Z0(Tn), a = y1(
|
|
42042
42042
|
(r) => {
|
|
42043
42043
|
e(r), c([]);
|
|
42044
42044
|
},
|
|
42045
42045
|
[e, c]
|
|
42046
42046
|
);
|
|
42047
42047
|
return [t, a];
|
|
42048
|
-
}, Tn = x1([]),
|
|
42049
|
-
const [t, e] =
|
|
42048
|
+
}, Tn = x1([]), Ig1 = () => {
|
|
42049
|
+
const [t, e] = X1(Tn), c = Z0(CS), a = y1(
|
|
42050
42050
|
(r) => {
|
|
42051
42051
|
e(r), c([]);
|
|
42052
42052
|
},
|
|
42053
42053
|
[e, c]
|
|
42054
42054
|
);
|
|
42055
42055
|
return [t, a];
|
|
42056
|
-
}, VS = x4("darkMode", !1),
|
|
42057
|
-
const [t, e] =
|
|
42056
|
+
}, VS = x4("darkMode", !1), Rg1 = () => {
|
|
42057
|
+
const [t, e] = X1(VS);
|
|
42058
42058
|
return [t, e];
|
|
42059
42059
|
}, HS = () => {
|
|
42060
42060
|
const [t] = x3(), [, e] = u6(), { addBlocks: c } = s3();
|
|
@@ -42073,15 +42073,15 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42073
42073
|
},
|
|
42074
42074
|
[t, e]
|
|
42075
42075
|
);
|
|
42076
|
-
}, Gd1 = x1([]),
|
|
42077
|
-
const [t, e] =
|
|
42076
|
+
}, Gd1 = x1([]), Ng1 = () => {
|
|
42077
|
+
const [t, e] = X1(Gd1), c = y1(
|
|
42078
42078
|
(a) => {
|
|
42079
42079
|
e((r) => n4(r, a) ? kf(r, a) : [...r, a]);
|
|
42080
42080
|
},
|
|
42081
42081
|
[e]
|
|
42082
42082
|
);
|
|
42083
42083
|
return [t, e, c];
|
|
42084
|
-
}, Jd1 = x1(""), Yd1 = () =>
|
|
42084
|
+
}, Jd1 = x1(""), Yd1 = () => X1(Jd1), Xd1 = () => {
|
|
42085
42085
|
const t = a4(N4);
|
|
42086
42086
|
return y1(
|
|
42087
42087
|
(e, c) => {
|
|
@@ -42090,7 +42090,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42090
42090
|
},
|
|
42091
42091
|
[t]
|
|
42092
42092
|
);
|
|
42093
|
-
},
|
|
42093
|
+
}, Tg1 = () => {
|
|
42094
42094
|
console.warn("usePasteBlocks is not implemented");
|
|
42095
42095
|
const t = a4(Tn), [e, c] = Kd1(), a = HS(), r = Xd1();
|
|
42096
42096
|
return {
|
|
@@ -42106,7 +42106,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42106
42106
|
)
|
|
42107
42107
|
};
|
|
42108
42108
|
}, Qd1 = x1(!1), _d1 = () => {
|
|
42109
|
-
const [t, e] =
|
|
42109
|
+
const [t, e] = X1(Qd1);
|
|
42110
42110
|
return [t, e];
|
|
42111
42111
|
}, $d1 = x1(null, (t, e, { blockIds: c, fullClasses: a }) => {
|
|
42112
42112
|
const r = e4(t(i8)), n = o2(
|
|
@@ -42134,7 +42134,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42134
42134
|
}
|
|
42135
42135
|
};
|
|
42136
42136
|
});
|
|
42137
|
-
}),
|
|
42137
|
+
}), jg1 = () => {
|
|
42138
42138
|
const { updateBlocks: t } = s3(), e = Z0($d1);
|
|
42139
42139
|
return y1(
|
|
42140
42140
|
(c, a) => {
|
|
@@ -42149,7 +42149,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42149
42149
|
return [];
|
|
42150
42150
|
const r = R2(c, e.prop, `${Z3},`).replace(Z3, "").split(",").join(" ");
|
|
42151
42151
|
return o2(c2(r.trim().split(" "), _8), (n) => !ta(n));
|
|
42152
|
-
}),
|
|
42152
|
+
}), Dg1 = () => a4(yS), Vf = { xs: 0, sm: 1, md: 2, lg: 3, xl: 4, "2xl": 5 }, th1 = x1((t) => {
|
|
42153
42153
|
const e = t(wS), c = t(Ln), a = t(VS), r = eh1(e);
|
|
42154
42154
|
let n = o2(t(yS), { mod: c });
|
|
42155
42155
|
return Rf(c, "_") || (n = o2(n, (o) => r.includes(o.mq))), n = n.sort((o, s) => Vf[o.mq] - Vf[s.mq]), a || (n = o2(n, { dark: !1 })), n;
|
|
@@ -42179,7 +42179,7 @@ const Dd1 = () => K1(i8), qd1 = (t) => {
|
|
|
42179
42179
|
break;
|
|
42180
42180
|
}
|
|
42181
42181
|
return e;
|
|
42182
|
-
},
|
|
42182
|
+
}, qg1 = () => a4(th1), Zg1 = () => X1(Ln), Wg1 = () => {
|
|
42183
42183
|
const { updateBlocks: t } = s3();
|
|
42184
42184
|
return y1(
|
|
42185
42185
|
(e, c, a) => {
|
|
@@ -42216,7 +42216,7 @@ const ch1 = () => {
|
|
|
42216
42216
|
},
|
|
42217
42217
|
[t]
|
|
42218
42218
|
);
|
|
42219
|
-
},
|
|
42219
|
+
}, Ug1 = () => {
|
|
42220
42220
|
const { updateBlocksRuntime: t } = s3();
|
|
42221
42221
|
return y1(
|
|
42222
42222
|
(e, c) => {
|
|
@@ -42229,8 +42229,8 @@ const ch1 = () => {
|
|
|
42229
42229
|
props: {},
|
|
42230
42230
|
modalProps: {},
|
|
42231
42231
|
backdropClose: !0
|
|
42232
|
-
}, rh1 = x1(xS),
|
|
42233
|
-
const [t, e] =
|
|
42232
|
+
}, rh1 = x1(xS), Kg1 = () => {
|
|
42233
|
+
const [t, e] = X1(rh1), c = y1(
|
|
42234
42234
|
(r, n = {}, o = {}) => {
|
|
42235
42235
|
e({ name: r, props: n, modalProps: o });
|
|
42236
42236
|
},
|
|
@@ -42247,7 +42247,7 @@ const ch1 = () => {
|
|
|
42247
42247
|
openModal: c,
|
|
42248
42248
|
closeModal: a
|
|
42249
42249
|
};
|
|
42250
|
-
},
|
|
42250
|
+
}, Gg1 = () => (console.warn("useAllBlocks is deprecated, use useBlocksStore() instead"), a4(N4)), LS = x1(!1);
|
|
42251
42251
|
LS.debugLabel = "readOnlyModeAtom";
|
|
42252
42252
|
const nh1 = x1("online");
|
|
42253
42253
|
nh1.debugLabel = "networkModeAtom";
|
|
@@ -42279,20 +42279,15 @@ const mh1 = x1({});
|
|
|
42279
42279
|
mh1.debugLabel = "canvasSettingsAtom";
|
|
42280
42280
|
const FS = x1(!1);
|
|
42281
42281
|
FS.debugLabel = "askAiActiveBlockAtom";
|
|
42282
|
-
const
|
|
42283
|
-
const [t, e] =
|
|
42282
|
+
const Jg1 = () => a4(LS), zh1 = x1(""), bh1 = x1(null), Yg1 = () => X1(zh1), Xg1 = () => X1(bh1), Mh1 = x4("selectedBreakpoints", ["XS", "MD", "XL"]), Qg1 = () => {
|
|
42283
|
+
const [t, e] = X1(Mh1);
|
|
42284
42284
|
return [t, e];
|
|
42285
42285
|
}, wh1 = () => {
|
|
42286
42286
|
const t = Z0(SS), { clear: e } = En(), [, c] = u6(), [, a] = Yd1(), [, r] = Dd1();
|
|
42287
42287
|
return () => {
|
|
42288
42288
|
c([]), r([]), a(""), e(), t({ undoCount: 0, redoCount: 0 });
|
|
42289
42289
|
};
|
|
42290
|
-
},
|
|
42291
|
-
const [t, e] = v1(!1), [c, a] = K1(Ch1), r = B2("getUILibraryBlocks", () => []);
|
|
42292
|
-
return C1(() => {
|
|
42293
|
-
(async () => c.length > 0 || (e(!0), a(await r()), e(!1)))();
|
|
42294
|
-
}, []), { data: c, isLoading: t };
|
|
42295
|
-
}, tf1 = () => {
|
|
42290
|
+
}, _g1 = () => ({ data: B2("uiLibraries", []), isLoading: !1 }), $g1 = () => {
|
|
42296
42291
|
const [t, e] = v1(null), c = y1(async (a) => {
|
|
42297
42292
|
if (!(navigator != null && navigator.clipboard))
|
|
42298
42293
|
return console.warn("Clipboard not supported"), !1;
|
|
@@ -42303,7 +42298,7 @@ const Yg1 = () => a4(LS), zh1 = x1(""), bh1 = x1(null), Xg1 = () => K1(zh1), Qg1
|
|
|
42303
42298
|
}
|
|
42304
42299
|
}, []);
|
|
42305
42300
|
return [t, c];
|
|
42306
|
-
},
|
|
42301
|
+
}, Ch1 = () => {
|
|
42307
42302
|
const [t, e] = _d1(), { t: c } = Wa(), a = B2("previewComponent", null);
|
|
42308
42303
|
return t ? /* @__PURE__ */ L.jsxs("div", { className: $S("fixed inset-0 z-[999] bg-background", t ? "block" : "hidden"), children: [
|
|
42309
42304
|
/* @__PURE__ */ L.jsxs(q3, { size: "sm", className: "absolute right-0 top-0 m-4 space-x-2", onClick: () => e(!1), children: [
|
|
@@ -42312,7 +42307,7 @@ const Yg1 = () => a4(LS), zh1 = x1(""), bh1 = x1(null), Xg1 = () => K1(zh1), Qg1
|
|
|
42312
42307
|
] }),
|
|
42313
42308
|
/* @__PURE__ */ L.jsx("div", { children: a ? /* @__PURE__ */ L.jsx(f3, { fallback: /* @__PURE__ */ L.jsx(mS, { className: "h-96 w-full" }), children: p.createElement(a) }) : null })
|
|
42314
42309
|
] }) : null;
|
|
42315
|
-
},
|
|
42310
|
+
}, Vh1 = () => {
|
|
42316
42311
|
const [t, e] = u6(), c = tu1(), a = HS(), { undo: r, redo: n } = En();
|
|
42317
42312
|
_6("esc", () => e([]), {}, [e]), _6("ctrl+d,command+d", () => a(t), { preventDefault: !0 }, [t, a]), _6("ctrl+z,command+z", () => r(), {}, [r]), _6("ctrl+y,command+y", () => n(), {}, [n]), _6(
|
|
42318
42313
|
"del, backspace",
|
|
@@ -42322,22 +42317,22 @@ const Yg1 = () => a4(LS), zh1 = x1(""), bh1 = x1(null), Xg1 = () => K1(zh1), Qg1
|
|
|
42322
42317
|
{},
|
|
42323
42318
|
[t, c]
|
|
42324
42319
|
);
|
|
42325
|
-
},
|
|
42320
|
+
}, Hh1 = (t, e) => {
|
|
42326
42321
|
const c = [];
|
|
42327
42322
|
let a = r4(t, { _id: e }), r = R2(a, "_parent", "");
|
|
42328
42323
|
for (; W0(r) && !Q3(r); )
|
|
42329
42324
|
c.push(a == null ? void 0 : a._parent), a = r4(t, { _id: r }), r = a == null ? void 0 : a._parent;
|
|
42330
42325
|
return K4(c);
|
|
42331
|
-
},
|
|
42332
|
-
const [t] = u6(), e = a4(N4), [, c] =
|
|
42326
|
+
}, yh1 = x1([]), xh1 = () => {
|
|
42327
|
+
const [t] = u6(), e = a4(N4), [, c] = X1(yh1);
|
|
42333
42328
|
C1(() => {
|
|
42334
42329
|
let a = [];
|
|
42335
42330
|
const r = e4(t);
|
|
42336
|
-
W0(r) && (a = [r, ...
|
|
42331
|
+
W0(r) && (a = [r, ...Hh1(e, r)]), c(a);
|
|
42337
42332
|
}, [t, e, c]);
|
|
42338
42333
|
};
|
|
42339
|
-
const
|
|
42340
|
-
const [, e] =
|
|
42334
|
+
const Lh1 = () => X1(AL), Sh1 = () => c3(() => tF(), []), tf1 = ({ children: t }) => {
|
|
42335
|
+
const [, e] = Lh1(), [c] = ZL(), a = Sh1();
|
|
42341
42336
|
return C1(() => (e({}), P4(c, (r) => {
|
|
42342
42337
|
const n = r4(a, { providerKey: r.providerKey });
|
|
42343
42338
|
if (n) {
|
|
@@ -42352,7 +42347,7 @@ const Sh1 = () => K1(AL), Fh1 = () => c3(() => tF(), []), ef1 = ({ children: t }
|
|
|
42352
42347
|
});
|
|
42353
42348
|
}), [a, c, e]), /* @__PURE__ */ L.jsx(L.Fragment, { children: t });
|
|
42354
42349
|
};
|
|
42355
|
-
function
|
|
42350
|
+
function Fh1(t, e, c) {
|
|
42356
42351
|
c.push(r4(t, { _id: e }));
|
|
42357
42352
|
const a = o2(t, { _parent: e });
|
|
42358
42353
|
for (const r of a)
|
|
@@ -42361,9 +42356,9 @@ function Ah1(t, e, c) {
|
|
|
42361
42356
|
}
|
|
42362
42357
|
const AS = (t, e) => {
|
|
42363
42358
|
let c = [];
|
|
42364
|
-
return c = XS([...c, ...
|
|
42365
|
-
},
|
|
42366
|
-
const [t, e] =
|
|
42359
|
+
return c = XS([...c, ...Fh1(e, t, c)]), c;
|
|
42360
|
+
}, Ah1 = x1(!1), BS = () => {
|
|
42361
|
+
const [t, e] = X1(Ah1), [c, a] = v1(null), r = B2("askAiCallBack", null), n = ah1(), [o] = x3();
|
|
42367
42362
|
return {
|
|
42368
42363
|
askAi: y1(
|
|
42369
42364
|
async (s, l, u) => {
|
|
@@ -42406,7 +42401,7 @@ var OS = {
|
|
|
42406
42401
|
}
|
|
42407
42402
|
return t;
|
|
42408
42403
|
}, M3.apply(this, arguments);
|
|
42409
|
-
},
|
|
42404
|
+
}, Bh1 = function(t, e) {
|
|
42410
42405
|
var c = {};
|
|
42411
42406
|
for (var a in t)
|
|
42412
42407
|
Object.prototype.hasOwnProperty.call(t, a) && e.indexOf(a) < 0 && (c[a] = t[a]);
|
|
@@ -42424,14 +42419,14 @@ function ES(t) {
|
|
|
42424
42419
|
}
|
|
42425
42420
|
function jn(t) {
|
|
42426
42421
|
return function(e) {
|
|
42427
|
-
return p.createElement(
|
|
42422
|
+
return p.createElement(Oh1, M3({
|
|
42428
42423
|
attr: M3({}, t.attr)
|
|
42429
42424
|
}, e), ES(t.child));
|
|
42430
42425
|
};
|
|
42431
42426
|
}
|
|
42432
|
-
function
|
|
42427
|
+
function Oh1(t) {
|
|
42433
42428
|
var e = function(c) {
|
|
42434
|
-
var a = t.attr, r = t.size, n = t.title, o =
|
|
42429
|
+
var a = t.attr, r = t.size, n = t.title, o = Bh1(t, ["attr", "size", "title"]), s = r || c.size || "1em", l;
|
|
42435
42430
|
return c.className && (l = c.className), t.className && (l = (l ? l + " " : "") + t.className), p.createElement("svg", M3({
|
|
42436
42431
|
stroke: "currentColor",
|
|
42437
42432
|
fill: "currentColor",
|
|
@@ -42450,19 +42445,19 @@ function Eh1(t) {
|
|
|
42450
42445
|
return e(c);
|
|
42451
42446
|
}) : e(OS);
|
|
42452
42447
|
}
|
|
42453
|
-
function
|
|
42448
|
+
function Eh1(t) {
|
|
42454
42449
|
return jn({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M304 48c0 26.51-21.49 48-48 48s-48-21.49-48-48 21.49-48 48-48 48 21.49 48 48zm-48 368c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zm208-208c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.49-48-48-48zM96 256c0-26.51-21.49-48-48-48S0 229.49 0 256s21.49 48 48 48 48-21.49 48-48zm12.922 99.078c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.491-48-48-48zm294.156 0c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48c0-26.509-21.49-48-48-48zM108.922 60.922c-26.51 0-48 21.49-48 48s21.49 48 48 48 48-21.49 48-48-21.491-48-48-48z" } }] })(t);
|
|
42455
42450
|
}
|
|
42456
|
-
function
|
|
42451
|
+
function ef1(t) {
|
|
42457
42452
|
return jn({ tag: "svg", attr: { viewBox: "0 0 512 512" }, child: [{ tag: "path", attr: { d: "M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z" } }] })(t);
|
|
42458
42453
|
}
|
|
42459
|
-
function
|
|
42454
|
+
function Ph1(t) {
|
|
42460
42455
|
return jn({ tag: "svg", attr: { viewBox: "0 0 576 512" }, child: [{ tag: "path", attr: { d: "M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V285.7l-86.8 86.8c-10.3 10.3-17.5 23.1-21 37.2l-18.7 74.9c-2.3 9.2-1.8 18.8 1.3 27.5H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128zM549.8 235.7l14.4 14.4c15.6 15.6 15.6 40.9 0 56.6l-29.4 29.4-71-71 29.4-29.4c15.6-15.6 40.9-15.6 56.6 0zM311.9 417L441.1 287.8l71 71L382.9 487.9c-4.1 4.1-9.2 7-14.9 8.4l-60.1 15c-5.5 1.4-11.2-.2-15.2-4.2s-5.6-9.7-4.2-15.2l15-60.1c1.4-5.6 4.3-10.8 8.4-14.9z" } }] })(t);
|
|
42461
42456
|
}
|
|
42462
|
-
const
|
|
42457
|
+
const kh1 = [
|
|
42463
42458
|
{
|
|
42464
42459
|
name: "Improve writing",
|
|
42465
|
-
icon:
|
|
42460
|
+
icon: Ph1,
|
|
42466
42461
|
prompt: "Improving writing in all text elements. Replacing placeholder content with meaningful relevant content."
|
|
42467
42462
|
},
|
|
42468
42463
|
// {
|
|
@@ -42503,9 +42498,9 @@ const Ih1 = [
|
|
|
42503
42498
|
prompt: "Randomize all text elements."
|
|
42504
42499
|
}
|
|
42505
42500
|
];
|
|
42506
|
-
function
|
|
42501
|
+
function Ih1({ onClick: t }) {
|
|
42507
42502
|
const { loading: e } = BS();
|
|
42508
|
-
return /* @__PURE__ */ L.jsx("div", { className: e ? "pointer-events-none opacity-50" : "", children: /* @__PURE__ */ L.jsx("ul", { className: "space-y-2", children:
|
|
42503
|
+
return /* @__PURE__ */ L.jsx("div", { className: e ? "pointer-events-none opacity-50" : "", children: /* @__PURE__ */ L.jsx("ul", { className: "space-y-2", children: kh1.map(
|
|
42509
42504
|
({ name: c, icon: a, subMenus: r, prompt: n }) => r ? /* @__PURE__ */ L.jsxs(ad1, { children: [
|
|
42510
42505
|
/* @__PURE__ */ L.jsx(rd1, { asChild: !0, children: /* @__PURE__ */ L.jsxs("li", { className: "flex cursor-pointer items-center space-x-2 hover:bg-gray-100", children: [
|
|
42511
42506
|
/* @__PURE__ */ L.jsx(a, { className: "h-4 w-4" }),
|
|
@@ -42533,7 +42528,7 @@ function Rh1({ onClick: t }) {
|
|
|
42533
42528
|
)
|
|
42534
42529
|
) }) });
|
|
42535
42530
|
}
|
|
42536
|
-
const
|
|
42531
|
+
const Rh1 = ({ blockId: t }) => {
|
|
42537
42532
|
const { t: e } = Wa(), { askAi: c, loading: a, error: r } = BS(), [n, o] = v1(""), s = g1(null);
|
|
42538
42533
|
C1(() => {
|
|
42539
42534
|
var u;
|
|
@@ -42578,19 +42573,19 @@ const Nh1 = ({ blockId: t }) => {
|
|
|
42578
42573
|
),
|
|
42579
42574
|
a ? /* @__PURE__ */ L.jsxs("div", { className: "flex flex-col gap-2", children: [
|
|
42580
42575
|
/* @__PURE__ */ L.jsxs(mS, { className: "flex w-full items-center space-x-1 px-4 py-1 pl-2", children: [
|
|
42581
|
-
/* @__PURE__ */ L.jsx(
|
|
42576
|
+
/* @__PURE__ */ L.jsx(Eh1, { className: "h-4 w-4 animate-spin text-gray-500" }),
|
|
42582
42577
|
/* @__PURE__ */ L.jsx("p", { className: "text-xs", children: e("Generating... Please wait") })
|
|
42583
42578
|
] }),
|
|
42584
42579
|
/* @__PURE__ */ L.jsx(q3, { variant: "destructive", onClick: () => stop(), className: "hidden w-fit", size: "sm", children: e("Stop") })
|
|
42585
42580
|
] }) : null
|
|
42586
42581
|
] }),
|
|
42587
42582
|
/* @__PURE__ */ L.jsx("div", { className: "max-w-full", children: r && /* @__PURE__ */ L.jsx("p", { className: "break-words rounded border border-red-500 bg-red-100 p-1 text-xs text-red-500", children: r.message }) }),
|
|
42588
|
-
/* @__PURE__ */ L.jsx(
|
|
42583
|
+
/* @__PURE__ */ L.jsx(Ih1, { onClick: (u) => c(t, u, l) })
|
|
42589
42584
|
] }) : /* @__PURE__ */ L.jsx("div", { className: "p-4 text-center", children: /* @__PURE__ */ L.jsxs("div", { className: "space-y-4 rounded-xl p-4", children: [
|
|
42590
42585
|
/* @__PURE__ */ L.jsx(pF, { className: "mx-auto text-3xl" }),
|
|
42591
42586
|
/* @__PURE__ */ L.jsx("h1", { children: e("no_block_selected_for_ask_ai") })
|
|
42592
42587
|
] }) });
|
|
42593
|
-
},
|
|
42588
|
+
}, Nh1 = ({ onOpen: t }) => {
|
|
42594
42589
|
const { t: e } = Wa(), c = B2("aiContext", ""), [a, r] = v1(c), n = g1(null), o = B2("saveAiContextCallback", m5), [s, l] = v1(!1), [u, i] = v1(null), [d, h] = v1(!1), { toast: v } = Nn(), f = g1(null);
|
|
42595
42590
|
C1(() => {
|
|
42596
42591
|
c && r(c);
|
|
@@ -42689,22 +42684,22 @@ const Nh1 = ({ blockId: t }) => {
|
|
|
42689
42684
|
] })
|
|
42690
42685
|
}
|
|
42691
42686
|
);
|
|
42692
|
-
},
|
|
42687
|
+
}, Th1 = () => {
|
|
42693
42688
|
const [t] = u6(), [e, c] = v1(!1);
|
|
42694
42689
|
return /* @__PURE__ */ L.jsxs("div", { className: "absolute inset-0 z-50 h-full w-full bg-background p-2", children: [
|
|
42695
|
-
/* @__PURE__ */ L.jsx(
|
|
42696
|
-
e ? null : /* @__PURE__ */ L.jsx(
|
|
42690
|
+
/* @__PURE__ */ L.jsx(Nh1, { onOpen: (a) => c(a) }),
|
|
42691
|
+
e ? null : /* @__PURE__ */ L.jsx(Rh1, { blockId: e4(t) })
|
|
42697
42692
|
] });
|
|
42698
|
-
},
|
|
42693
|
+
}, jh1 = _t(() => import("./SidePanels-0P4IaIVn.js")), Dh1 = _t(() => import("./Topbar-0hOp8tE7.js")), qh1 = _t(() => import("./CanvasArea-ahsds4rc.js")), Zh1 = _t(() => import("./Settings-ifUbqcam.js")), Wh1 = () => {
|
|
42699
42694
|
const { savePage: t } = $i1(), e = B2("autoSaveSupport", !0), c = B2("autoSaveInterval", 60);
|
|
42700
42695
|
aF(() => {
|
|
42701
42696
|
e && t();
|
|
42702
42697
|
}, c * 1e3);
|
|
42703
|
-
},
|
|
42704
|
-
const [t] =
|
|
42698
|
+
}, Uh1 = () => {
|
|
42699
|
+
const [t] = X1(je), [e] = X1(FS), c = (n) => {
|
|
42705
42700
|
Ai1() || n.preventDefault();
|
|
42706
42701
|
};
|
|
42707
|
-
|
|
42702
|
+
Vh1(), xh1(), Wh1(), C1(() => (t !== "SAVED" ? window.onbeforeunload = () => "" : window.onbeforeunload = null, () => {
|
|
42708
42703
|
window.onbeforeunload = null;
|
|
42709
42704
|
}), [t]);
|
|
42710
42705
|
const a = B2("editable", !0), r = B2("nonEditableComponent", null);
|
|
@@ -42715,22 +42710,22 @@ const Nh1 = ({ blockId: t }) => {
|
|
|
42715
42710
|
onContextMenu: c,
|
|
42716
42711
|
className: "flex h-screen flex-col overflow-hidden bg-background text-foreground",
|
|
42717
42712
|
children: [
|
|
42718
|
-
/* @__PURE__ */ L.jsx("div", { className: "h-14 w-screen shrink-0 border-b border-border", children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(
|
|
42713
|
+
/* @__PURE__ */ L.jsx("div", { className: "h-14 w-screen shrink-0 border-b border-border", children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(Dh1, {}) }) }),
|
|
42719
42714
|
/* @__PURE__ */ L.jsxs("main", { className: "relative flex h-full flex-1 flex-row", children: [
|
|
42720
42715
|
a ? null : /* @__PURE__ */ L.jsx("div", { className: "absolute inset-0 z-[500] flex h-full w-full items-center justify-center backdrop-blur-[2px]", children: /* @__PURE__ */ L.jsx(f3, { children: p.createElement(r) }) }),
|
|
42721
|
-
/* @__PURE__ */ L.jsx("div", { className: "flex h-full max-h-full w-fit border-border", style: { maxHeight: "calc(100vh - 56px)" }, children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(
|
|
42722
|
-
/* @__PURE__ */ L.jsx("div", { className: "h-full flex-1 bg-slate-800/20", children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(
|
|
42716
|
+
/* @__PURE__ */ L.jsx("div", { className: "flex h-full max-h-full w-fit border-border", style: { maxHeight: "calc(100vh - 56px)" }, children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(jh1, {}) }) }),
|
|
42717
|
+
/* @__PURE__ */ L.jsx("div", { className: "h-full flex-1 bg-slate-800/20", children: /* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(qh1, {}) }) }),
|
|
42723
42718
|
/* @__PURE__ */ L.jsxs("div", { className: "relative flex h-[100%] w-[280px] min-w-[280px] border-l border-border pb-10", children: [
|
|
42724
|
-
/* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(
|
|
42725
|
-
e ? /* @__PURE__ */ L.jsx(
|
|
42719
|
+
/* @__PURE__ */ L.jsx(f3, { children: /* @__PURE__ */ L.jsx(Zh1, {}) }),
|
|
42720
|
+
e ? /* @__PURE__ */ L.jsx(Th1, {}) : null
|
|
42726
42721
|
] })
|
|
42727
42722
|
] })
|
|
42728
42723
|
]
|
|
42729
42724
|
}
|
|
42730
42725
|
),
|
|
42731
|
-
/* @__PURE__ */ L.jsx(
|
|
42726
|
+
/* @__PURE__ */ L.jsx(Ch1, {})
|
|
42732
42727
|
] }) });
|
|
42733
|
-
}, yf = US(),
|
|
42728
|
+
}, yf = US(), Kh1 = () => /* @__PURE__ */ L.jsx("section", { className: "h-screen w-screen bg-gray-900 py-12 sm:py-16 lg:py-20 xl:hidden", children: /* @__PURE__ */ L.jsx("div", { className: "mx-auto max-w-7xl px-4 sm:px-6 lg:px-8", children: /* @__PURE__ */ L.jsxs("div", { className: "mx-auto max-w-md text-center", children: [
|
|
42734
42729
|
/* @__PURE__ */ L.jsx(
|
|
42735
42730
|
"img",
|
|
42736
42731
|
{
|
|
@@ -42743,11 +42738,11 @@ const Nh1 = ({ blockId: t }) => {
|
|
|
42743
42738
|
/* @__PURE__ */ L.jsx("h2", { className: "text-4xl font-bold text-white", children: "Screen too small" }),
|
|
42744
42739
|
/* @__PURE__ */ L.jsx("p", { className: "mt-6 text-sm font-medium leading-6 text-white text-opacity-70", children: "Please view this page on greater than 1280px screen width." })
|
|
42745
42740
|
] }) }) });
|
|
42746
|
-
let
|
|
42747
|
-
const
|
|
42748
|
-
|
|
42741
|
+
let Gh1 = !1;
|
|
42742
|
+
const Jh1 = (t) => {
|
|
42743
|
+
Gh1 = t;
|
|
42749
42744
|
};
|
|
42750
|
-
const
|
|
42745
|
+
const Yh1 = (t) => {
|
|
42751
42746
|
const [, e] = x3(), [, c] = Fn(), a = wh1();
|
|
42752
42747
|
return C1(() => {
|
|
42753
42748
|
yf.set(
|
|
@@ -42762,17 +42757,17 @@ const Xh1 = (t) => {
|
|
|
42762
42757
|
}, [t.blocks]), C1(() => {
|
|
42763
42758
|
Ef.changeLanguage(t.locale || "en");
|
|
42764
42759
|
}, [t.locale]), C1(() => {
|
|
42765
|
-
|
|
42760
|
+
Jh1(t.showDebugLogs);
|
|
42766
42761
|
}, [t.showDebugLogs]), C1(() => {
|
|
42767
42762
|
c(t.brandingOptions);
|
|
42768
|
-
}, [t.brandingOptions, c]), /* @__PURE__ */ L.jsx(
|
|
42769
|
-
},
|
|
42763
|
+
}, [t.brandingOptions, c]), /* @__PURE__ */ L.jsx(Uh1, {});
|
|
42764
|
+
}, cf1 = (t) => {
|
|
42770
42765
|
const e = t._flags || {};
|
|
42771
42766
|
return /* @__PURE__ */ L.jsxs(Fi1, { children: [
|
|
42772
42767
|
/* @__PURE__ */ L.jsxs(GS, { features: { ...Si1, ...e }, children: [
|
|
42773
42768
|
/* @__PURE__ */ L.jsx(yi1, {}),
|
|
42774
|
-
/* @__PURE__ */ L.jsx(
|
|
42775
|
-
/* @__PURE__ */ L.jsx(
|
|
42769
|
+
/* @__PURE__ */ L.jsx(Kh1, {}),
|
|
42770
|
+
/* @__PURE__ */ L.jsx(Yh1, { ...t })
|
|
42776
42771
|
] }),
|
|
42777
42772
|
/* @__PURE__ */ L.jsx(bd1, {})
|
|
42778
42773
|
] });
|
|
@@ -42781,42 +42776,42 @@ export {
|
|
|
42781
42776
|
pu1 as $,
|
|
42782
42777
|
vu1 as A,
|
|
42783
42778
|
q3 as B,
|
|
42784
|
-
|
|
42785
|
-
|
|
42779
|
+
cf1 as C,
|
|
42780
|
+
Tg1 as D,
|
|
42786
42781
|
_d1 as E,
|
|
42787
42782
|
Fn as F,
|
|
42788
42783
|
jn as G,
|
|
42789
42784
|
tu1 as H,
|
|
42790
|
-
|
|
42791
|
-
|
|
42792
|
-
|
|
42785
|
+
jg1 as I,
|
|
42786
|
+
qg1 as J,
|
|
42787
|
+
Dg1 as K,
|
|
42793
42788
|
u6 as L,
|
|
42794
|
-
|
|
42789
|
+
Kv1 as M,
|
|
42795
42790
|
Wd1 as N,
|
|
42796
|
-
|
|
42797
|
-
|
|
42798
|
-
|
|
42799
|
-
|
|
42800
|
-
|
|
42801
|
-
|
|
42802
|
-
|
|
42791
|
+
_g1 as O,
|
|
42792
|
+
Zg1 as P,
|
|
42793
|
+
Wg1 as Q,
|
|
42794
|
+
Ug1 as R,
|
|
42795
|
+
Uv1 as S,
|
|
42796
|
+
Gg1 as T,
|
|
42797
|
+
Yg1 as U,
|
|
42803
42798
|
$i1 as V,
|
|
42804
|
-
|
|
42805
|
-
|
|
42799
|
+
Xg1 as W,
|
|
42800
|
+
Qg1 as X,
|
|
42806
42801
|
Dd1 as Y,
|
|
42807
42802
|
cS as Z,
|
|
42808
42803
|
In as _,
|
|
42809
42804
|
gu1 as a,
|
|
42810
|
-
|
|
42805
|
+
Lg1 as a$,
|
|
42811
42806
|
zu1 as a0,
|
|
42812
42807
|
bu1 as a1,
|
|
42813
42808
|
Fi1 as a2,
|
|
42814
42809
|
tS as a3,
|
|
42815
42810
|
ZL as a4,
|
|
42816
42811
|
je as a5,
|
|
42817
|
-
|
|
42812
|
+
ug1 as a6,
|
|
42818
42813
|
Ku1 as a7,
|
|
42819
|
-
|
|
42814
|
+
hg1 as a8,
|
|
42820
42815
|
Gu1 as a9,
|
|
42821
42816
|
sd1 as aA,
|
|
42822
42817
|
s3 as aB,
|
|
@@ -42826,14 +42821,14 @@ export {
|
|
|
42826
42821
|
ph1 as aF,
|
|
42827
42822
|
sh1 as aG,
|
|
42828
42823
|
fh1 as aH,
|
|
42829
|
-
|
|
42830
|
-
|
|
42831
|
-
|
|
42832
|
-
|
|
42824
|
+
Zv1 as aI,
|
|
42825
|
+
Wv1 as aJ,
|
|
42826
|
+
Lh1 as aK,
|
|
42827
|
+
tf1 as aL,
|
|
42833
42828
|
nh1 as aM,
|
|
42834
42829
|
uh1 as aN,
|
|
42835
|
-
|
|
42836
|
-
|
|
42830
|
+
eg1 as aO,
|
|
42831
|
+
cg1 as aP,
|
|
42837
42832
|
Eu1 as aQ,
|
|
42838
42833
|
zS as aR,
|
|
42839
42834
|
Md1 as aS,
|
|
@@ -42844,27 +42839,27 @@ export {
|
|
|
42844
42839
|
mu1 as aX,
|
|
42845
42840
|
pf as aY,
|
|
42846
42841
|
ff as aZ,
|
|
42847
|
-
|
|
42842
|
+
Ag1 as a_,
|
|
42848
42843
|
Yu1 as aa,
|
|
42849
42844
|
fu1 as ab,
|
|
42850
|
-
|
|
42851
|
-
|
|
42845
|
+
$v1 as ac,
|
|
42846
|
+
tg1 as ad,
|
|
42852
42847
|
Ou1 as ae,
|
|
42853
|
-
|
|
42848
|
+
Qv1 as af,
|
|
42854
42849
|
dh1 as ag,
|
|
42855
42850
|
mS as ah,
|
|
42856
42851
|
Au1 as ai,
|
|
42857
42852
|
oS as aj,
|
|
42858
42853
|
Da as ak,
|
|
42859
42854
|
qa as al,
|
|
42860
|
-
|
|
42855
|
+
dg1 as am,
|
|
42861
42856
|
Ju1 as an,
|
|
42862
|
-
|
|
42857
|
+
ef1 as ao,
|
|
42863
42858
|
ud1 as ap,
|
|
42864
42859
|
Su1 as aq,
|
|
42865
42860
|
ou1 as ar,
|
|
42866
|
-
|
|
42867
|
-
|
|
42861
|
+
lg1 as as,
|
|
42862
|
+
ig1 as at,
|
|
42868
42863
|
Uu1 as au,
|
|
42869
42864
|
ad1 as av,
|
|
42870
42865
|
rd1 as aw,
|
|
@@ -42873,48 +42868,48 @@ export {
|
|
|
42873
42868
|
dS as az,
|
|
42874
42869
|
YL as b,
|
|
42875
42870
|
ed1 as b$,
|
|
42876
|
-
|
|
42877
|
-
|
|
42878
|
-
|
|
42871
|
+
Fg1 as b0,
|
|
42872
|
+
Bg1 as b1,
|
|
42873
|
+
Gv1 as b2,
|
|
42879
42874
|
su1 as b3,
|
|
42880
42875
|
WL as b4,
|
|
42881
42876
|
UL as b5,
|
|
42882
42877
|
KL as b6,
|
|
42883
42878
|
Nn as b7,
|
|
42884
42879
|
xu1 as b8,
|
|
42885
|
-
|
|
42880
|
+
_v1 as b9,
|
|
42886
42881
|
hu1 as bA,
|
|
42887
42882
|
Cu1 as bB,
|
|
42888
42883
|
nS as bC,
|
|
42889
42884
|
Bu1 as bD,
|
|
42890
42885
|
Pu1 as bE,
|
|
42891
|
-
|
|
42886
|
+
ag1 as bF,
|
|
42892
42887
|
ku1 as bG,
|
|
42893
42888
|
Nu1 as bH,
|
|
42894
42889
|
Tu1 as bI,
|
|
42895
42890
|
Zu1 as bJ,
|
|
42896
42891
|
qu1 as bK,
|
|
42897
42892
|
ju1 as bL,
|
|
42898
|
-
|
|
42893
|
+
sg1 as bM,
|
|
42899
42894
|
Du1 as bN,
|
|
42900
|
-
|
|
42895
|
+
ng1 as bO,
|
|
42901
42896
|
Ru1 as bP,
|
|
42902
42897
|
Iu1 as bQ,
|
|
42903
|
-
|
|
42904
|
-
|
|
42898
|
+
rg1 as bR,
|
|
42899
|
+
og1 as bS,
|
|
42905
42900
|
Wu1 as bT,
|
|
42906
42901
|
Xu1 as bU,
|
|
42907
|
-
|
|
42908
|
-
|
|
42909
|
-
|
|
42902
|
+
vg1 as bV,
|
|
42903
|
+
gg1 as bW,
|
|
42904
|
+
fg1 as bX,
|
|
42910
42905
|
_u1 as bY,
|
|
42911
42906
|
$u1 as bZ,
|
|
42912
42907
|
td1 as b_,
|
|
42913
42908
|
Fu1 as ba,
|
|
42914
|
-
|
|
42909
|
+
pg1 as bb,
|
|
42915
42910
|
V0 as bc,
|
|
42916
42911
|
id1 as bd,
|
|
42917
|
-
|
|
42912
|
+
Jv1 as be,
|
|
42918
42913
|
mh1 as bf,
|
|
42919
42914
|
Mu1 as bg,
|
|
42920
42915
|
wu1 as bh,
|
|
@@ -42927,11 +42922,11 @@ export {
|
|
|
42927
42922
|
hh1 as bo,
|
|
42928
42923
|
Ad1 as bp,
|
|
42929
42924
|
Fd1 as bq,
|
|
42930
|
-
|
|
42931
|
-
|
|
42925
|
+
wg1 as br,
|
|
42926
|
+
Cg1 as bs,
|
|
42932
42927
|
gf as bt,
|
|
42933
42928
|
Pi1 as bu,
|
|
42934
|
-
|
|
42929
|
+
Xv1 as bv,
|
|
42935
42930
|
nu1 as bw,
|
|
42936
42931
|
ru1 as bx,
|
|
42937
42932
|
kn as by,
|
|
@@ -42939,15 +42934,15 @@ export {
|
|
|
42939
42934
|
XL as c,
|
|
42940
42935
|
cd1 as c0,
|
|
42941
42936
|
ld1 as c1,
|
|
42942
|
-
|
|
42943
|
-
|
|
42937
|
+
mg1 as c2,
|
|
42938
|
+
zg1 as c3,
|
|
42944
42939
|
od1 as c4,
|
|
42945
42940
|
nd1 as c5,
|
|
42946
|
-
|
|
42941
|
+
bg1 as c6,
|
|
42947
42942
|
gd1 as c7,
|
|
42948
42943
|
fd1 as c8,
|
|
42949
42944
|
bd1 as c9,
|
|
42950
|
-
|
|
42945
|
+
Mg1 as ca,
|
|
42951
42946
|
xd1 as cb,
|
|
42952
42947
|
Hd1 as cc,
|
|
42953
42948
|
Bd1 as cd,
|
|
@@ -42955,13 +42950,13 @@ export {
|
|
|
42955
42950
|
Ed1 as cf,
|
|
42956
42951
|
Pd1 as cg,
|
|
42957
42952
|
kd1 as ch,
|
|
42958
|
-
|
|
42959
|
-
|
|
42960
|
-
|
|
42953
|
+
Vg1 as ci,
|
|
42954
|
+
Hg1 as cj,
|
|
42955
|
+
yg1 as ck,
|
|
42961
42956
|
Sd1 as cl,
|
|
42962
42957
|
Ld1 as cm,
|
|
42963
|
-
|
|
42964
|
-
|
|
42958
|
+
xg1 as cn,
|
|
42959
|
+
Sg1 as co,
|
|
42965
42960
|
_L as d,
|
|
42966
42961
|
$L as e,
|
|
42967
42962
|
QL as f,
|
|
@@ -42969,20 +42964,20 @@ export {
|
|
|
42969
42964
|
B2 as h,
|
|
42970
42965
|
x3 as i,
|
|
42971
42966
|
En as j,
|
|
42972
|
-
|
|
42973
|
-
|
|
42974
|
-
|
|
42975
|
-
|
|
42976
|
-
|
|
42977
|
-
|
|
42978
|
-
|
|
42979
|
-
|
|
42967
|
+
Jg1 as k,
|
|
42968
|
+
Kg1 as l,
|
|
42969
|
+
Og1 as m,
|
|
42970
|
+
Eg1 as n,
|
|
42971
|
+
Pg1 as o,
|
|
42972
|
+
kg1 as p,
|
|
42973
|
+
Ig1 as q,
|
|
42974
|
+
$g1 as r,
|
|
42980
42975
|
Ji1 as s,
|
|
42981
42976
|
Kd1 as t,
|
|
42982
42977
|
wh1 as u,
|
|
42983
|
-
|
|
42978
|
+
Rg1 as v,
|
|
42984
42979
|
HS as w,
|
|
42985
42980
|
_i1 as x,
|
|
42986
|
-
|
|
42981
|
+
Ng1 as y,
|
|
42987
42982
|
Yd1 as z
|
|
42988
42983
|
};
|